1"use strict";(globalThis.webpackChunknapoleon=globalThis.webpackChunknapoleon||[]).push([[2846],{2745:(pt,Ze,Te)=>{Te.d(Ze,{xP:()=>Z});var o=Te(27083),Qe=Te(3976),Oe=Te(62598),_e=Te(9549),k=Te(81924);function Ae(d){return d.replace(d[0],d[0].toUpperCase())}function Ke(d){let Q=0;for(const $ in d)Q++;return Q}function Le(d){return d.type==="query"}function Je(d){return d.type==="mutation"}function Ye(d){return d.type==="infinitequery"}function xe(d,...Q){return Object.assign(d,...Q)}var Ue=Symbol();function $e(d,Q,$,V){const te=(0,k.useMemo)(()=>({queryArgs:d,serialized:typeof d=="object"?Q({queryArgs:d,endpointDefinition:$,endpointName:V}):d}),[d,Q,$,V]),he=(0,k.useRef)(te);return(0,k.useEffect)(()=>{he.current.serialized!==te.serialized&&(he.current=te)},[te]),he.current.serialized===te.serialized?he.current.queryArgs:d}function We(d){const Q=(0,k.useRef)(d);return(0,k.useEffect)(()=>{(0,Oe.shallowEqual)(Q.current,d)||(Q.current=d)},[d]),(0,Oe.shallowEqual)(Q.current,d)?Q.current:d}var it=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ot=it(),Xe=()=>typeof navigator<"u"&&navigator.product==="ReactNative",et=Xe(),Ge=()=>ot||et?k.useLayoutEffect:k.useEffect,st=Ge(),v=d=>d.isUninitialized?{...d,isUninitialized:!1,isFetching:!0,isLoading:d.data===void 0,status:o.RE.pending}:d;function U(d,...Q){const $={};return Q.forEach(V=>{$[V]=d[V]}),$}var L=["data","status","isLoading","isSuccess","isError","error"];function f({api:d,moduleOptions:{batch:Q,hooks:{useDispatch:$,useSelector:V,useStore:te},unstable__sideEffectsInRender:he,createSelector:Se},serializeQueryArgs:J,context:ae}){const pe=he?C=>C():k.useEffect;return{buildQueryHooks:Be,buildInfiniteQueryHooks:ut,buildMutationHook:tt,usePrefetch:Pe};function ve(C,X,ue){if(X?.endpointName&&C.isUninitialized){const{endpointName:re}=X,se=ae.endpointDefinitions[re];ue!==o.hT&&J({queryArgs:X.originalArgs,endpointDefinition:se,endpointName:re})===J({queryArgs:ue,endpointDefinition:se,endpointName:re})&&(X=void 0)}let Y=C.isSuccess?C.data:X?.data;Y===void 0&&(Y=C.data);const ne=Y!==void 0,K=C.isLoading,H=(!X||X.isLoading||X.isUninitialized)&&!ne&&K,oe=C.isSuccess||ne&&(K&&!X?.isError||C.isUninitialized);return{...C,data:Y,currentData:C.data,isFetching:K,isLoading:H,isSuccess:oe}}function fe(C,X,ue){if(X?.endpointName&&C.isUninitialized){const{endpointName:re}=X,se=ae.endpointDefinitions[re];J({queryArgs:X.originalArgs,endpointDefinition:se,endpointName:re})===J({queryArgs:ue,endpointDefinition:se,endpointName:re})&&(X=void 0)}let Y=C.isSuccess?C.data:X?.data;Y===void 0&&(Y=C.data);const ne=Y!==void 0,K=C.isLoading,H=(!X||X.isLoading||X.isUninitialized)&&!ne&&K,oe=C.isSuccess||K&≠return{...C,data:Y,currentData:C.data,isFetching:K,isLoading:H,isSuccess:oe}}function Pe(C,X){const ue=$(),Y=We(X);return(0,k.useCallback)((ne,K)=>ue(d.util.prefetch(C,ne,{...Y,...K})),[C,ue,Y])}function le(C,X,{refetchOnReconnect:ue,refetchOnFocus:Y,refetchOnMountOrArgChange:ne,skip:K=!1,pollingInterval:H=0,skipPollingIfUnfocused:oe=!1,...re}={}){const{initiate:se}=d.endpoints[C],me=$(),Ce=(0,k.useRef)(void 0);if(!Ce.current){const Ve=me(d.internalActions.internal_getRTKQSubscriptions());Ce.current=Ve}const ge=$e(K?o.hT:X,o.lE,ae.endpointDefinitions[C],C),be=We({refetchOnReconnect:ue,refetchOnFocus:Y,pollingInterval:H,skipPollingIfUnfocused:oe}),De=(0,k.useRef)(!1),Fe=re.initialPageParam,He=We(Fe),qe=(0,k.useRef)(void 0);let{queryCacheKey:Re,requestId:nt}=qe.current||{},ct=!1;Re&&nt&&(ct=Ce.current.isRequestSubscribed(Re,nt));const at=!ct&&De.current;return pe(()=>{De.current=ct}),pe(()=>{at&&(qe.current=void 0)},[at]),pe(()=>{const Ve=qe.current;if(typeof process<"u",ge===o.hT){Ve?.unsubscribe(),qe.current=void 0;return}const ft=qe.current?.subscriptionOptions;if(!Ve||Ve.arg!==ge){Ve?.unsubscribe();const yt=me(se(ge,{subscriptionOptions:be,forceRefetch:ne,...Ye(ae.endpointDefinitions[C])?{initialPageParam:He}:{}}));qe.current=yt}else be!==ft&&Ve.updateSubscriptionOptions(be)},[me,se,ne,ge,be,at,He,C]),[qe,me,se,be]}function Ne(C,X){return(Y,{skip:ne=!1,selectFromResult:K}={})=>{const{select:H}=d.endpoints[C],oe=$e(ne?o.hT:Y,J,ae.endpointDefinitions[C],C),re=(0,k.useRef)(void 0),se=(0,k.useMemo)(()=>Se([H(oe),(De,Fe)=>Fe,De=>oe],X,{memoizeOptions:{resultEqualityCheck:Oe.shallowEqual}}),[H,oe]),me=(0,k.useMemo)(()=>K?Se([se],K,{devModeChecks:{identityFunctionCheck:"never"}}):se,[se,K]),Ce=V(De=>me(De,re.current),Oe.shallowEqual),ge=te(),be=se(ge.getState(),re.current);return st(()=>{re.current=be},[be]),Ce}}function Ie(C){(0,k.useEffect)(()=>()=>{C.current?.unsubscribe?.(),C.current=void 0},[C])}function ze(C){if(!C.current)throw new Error((0,Qe.formatProdErrorMessage)(38));return C.current.refetch()}function Be(C){const X=(ne,K={})=>{const[H]=le(C,ne,K);return Ie(H),(0,k.useMemo)(()=>({refetch:()=>ze(H)}),[H])},ue=({refetchOnReconnect:ne,refetchOnFocus:K,pollingInterval:H=0,skipPollingIfUnfocused:oe=!1}={})=>{const{initiate:re}=d.endpoints[C],se=$(),[me,Ce]=(0,k.useState)(Ue),ge=(0,k.useRef)(void 0),be=We({refetchOnReconnect:ne,refetchOnFocus:K,pollingInterval:H,skipPollingIfUnfocused:oe});pe(()=>{const qe=ge.current?.subscriptionOptions;be!==qe&&ge.current?.updateSubscriptionOptions(be)},[be]);const De=(0,k.useRef)(be);pe(()=>{De.current=be},[be]);const Fe=(0,k.useCallback)(function(qe,Re=!1){let nt;return Q(()=>{ge.current?.unsubscribe(),ge.current=nt=se(re(qe,{subscriptionOptions:De.current,forceRefetch:!Re})),Ce(qe)}),nt},[se,re]),He=(0,k.useCallback)(()=>{ge.current?.queryCacheKey&&se(d.internalActions.removeQueryResult({queryCacheKey:ge.current?.queryCacheKey}
1))},[se]);return(0,k.useEffect)(()=>()=>{ge?.current?.unsubscribe()},[]),(0,k.useEffect)(()=>{me!==Ue&&!ge.current&&Fe(me,!0)},[me,Fe]),(0,k.useMemo)(()=>[Fe,me,{reset:He}],[Fe,me,He])},Y=Ne(C,ve);return{useQueryState:Y,useQuerySubscription:X,useLazyQuerySubscription:ue,useLazyQuery(ne){const[K,H,{reset:oe}]=ue(ne),re=Y(H,{...ne,skip:H===Ue}),se=(0,k.useMemo)(()=>({lastArg:H}),[H]);return(0,k.useMemo)(()=>[K,{...re,reset:oe},se],[K,re,oe,se])},useQuery(ne,K){const H=X(ne,K),oe=Y(ne,{selectFromResult:ne===o.hT||K?.skip?void 0:v,...K}),re=U(oe,...L);return(0,k.useDebugValue)(re),(0,k.useMemo)(()=>({...oe,...H}),[oe,H])}}}function ut(C){const X=(Y,ne={})=>{const[K,H,oe,re]=le(C,Y,ne),se=(0,k.useRef)(re);pe(()=>{se.current=re},[re]);const me=(0,k.useCallback)(function(Ce,ge){let be;return Q(()=>{K.current?.unsubscribe(),K.current=be=H(oe(Ce,{subscriptionOptions:se.current,direction:ge}))}),be},[K,H,oe]);return Ie(K),(0,k.useMemo)(()=>({trigger:me,refetch:()=>ze(K),fetchNextPage:()=>me(Y,"forward"),fetchPreviousPage:()=>me(Y,"backward")}),[K,me,Y])},ue=Ne(C,fe);return{useInfiniteQueryState:ue,useInfiniteQuerySubscription:X,useInfiniteQuery(Y,ne){const{refetch:K,fetchNextPage:H,fetchPreviousPage:oe}=X(Y,ne),re=ue(Y,{selectFromResult:Y===o.hT||ne?.skip?void 0:v,...ne}),se=U(re,...L,"hasNextPage","hasPreviousPage");return(0,k.useDebugValue)(se),(0,k.useMemo)(()=>({...re,fetchNextPage:H,fetchPreviousPage:oe,refetch:K}),[re,H,oe,K])}}}function tt(C){return({selectFromResult:X,fixedCacheKey:ue}={})=>{const{select:Y,initiate:ne}=d.endpoints[C],K=$(),[H,oe]=(0,k.useState)();(0,k.useEffect)(()=>()=>{H?.arg.fixedCacheKey||H?.reset()},[H]);const re=(0,k.useCallback)(function(qe){const Re=K(ne(qe,{fixedCacheKey:ue}));return oe(Re),Re},[K,ne,ue]),{requestId:se}=H||{},me=(0,k.useMemo)(()=>Y({fixedCacheKey:ue,requestId:H?.requestId}),[ue,H,Y]),Ce=(0,k.useMemo)(()=>X?Se([me],X):me,[X,me]),ge=V(Ce,Oe.shallowEqual),be=ue==null?H?.arg.originalArgs:void 0,De=(0,k.useCallback)(()=>{Q(()=>{H&&oe(void 0),ue&&K(d.internalActions.removeMutationResult({requestId:se,fixedCacheKey:ue}))})},[K,ue,H,se]),Fe=U(ge,...L,"endpointName");(0,k.useDebugValue)(Fe);const He=(0,k.useMemo)(()=>({...ge,originalArgs:be,reset:De}),[ge,be,De]);return(0,k.useMemo)(()=>[re,He],[re,He])}}}var M=Symbol(),D=({batch:d=Oe.batch,hooks:Q={useDispatch:Oe.useDispatch,useSelector:Oe.useSelector,useStore:Oe.useStore},createSelector:$=_e.Mz,unstable__sideEffectsInRender:V=!1,...te}={})=>({name:M,init(he,{serializeQueryArgs:Se},J){const ae=he,{buildQueryHooks:pe,buildInfiniteQueryHooks:ve,buildMutationHook:fe,usePrefetch:Pe}=f({api:he,moduleOptions:{batch:d,hooks:Q,unstable__sideEffectsInRender:V,createSelector:$},serializeQueryArgs:Se,context:J});return xe(ae,{usePrefetch:Pe}),xe(J,{batch:d}),{injectEndpoint(le,Ne){if(Le(Ne)){const{useQuery:Ie,useLazyQuery:ze,useLazyQuerySubscription:Be,useQueryState:ut,useQuerySubscription:tt}=pe(le);xe(ae.endpoints[le],{useQuery:Ie,useLazyQuery:ze,useLazyQuerySubscription:Be,useQueryState:ut,useQuerySubscription:tt}),he[`use${Ae(le)}Query`]=Ie,he[`useLazy${Ae(le)}Query`]=ze}if(Je(Ne)){const Ie=fe(le);xe(ae.endpoints[le],{useMutation:Ie}),he[`use${Ae(le)}Mutation`]=Ie}else if(Ye(Ne)){const{useInfiniteQuery:Ie,useInfiniteQuerySubscription:ze,useInfiniteQueryState:Be}=ve(le);xe(ae.endpoints[le],{useInfiniteQuery:Ie,useInfiniteQuerySubscription:ze,useInfiniteQueryState:Be}),he[`use${Ae(le)}InfiniteQuery`]=Ie}}}}});function ie(d){const Q=d.context||ReactReduxContext;if(useContext(Q))throw new Error(_formatProdErrorMessage4(35));const[V]=React.useState(()=>configureStore({reducer:{[d.api.reducerPath]:d.api.reducer},middleware:te=>te().concat(d.api.middleware)}));return useEffect4(()=>d.setupListeners===!1?void 0:setupListeners(V.dispatch,d.setupListeners),[d.setupListeners,V.dispatch]),React.createElement(Provider,{store:V,context:Q},d.children)}var Z=(0,o.l0)((0,o.m7)(),D())},27083:(pt,Ze,Te)=>{Te.d(Ze,{RE:()=>_e,cw:()=>U,hT:()=>oe,l0:()=>De,lE:()=>be,m7:()=>mt});var o=Te(3976),Qe=Te(36726),Oe=Te(9549),_e=(t=>(t.uninitialized="uninitialized",t.pending="pending",t.fulfilled="fulfilled",t.rejected="rejected",t))(_e||{});function k(t){return{status:t,isUninitialized:t==="uninitialized",isLoading:t==="pending",isSuccess:t==="fulfilled",isError:t==="rejected"}}var Ae=o.isPlainObject;function Ke(t,n){if(t===n||!(Ae(t)&&Ae(n)||Array.isArray(t)&&Array.isArray(n)))return n;const y=Object.keys(n),E=Object.keys(t);let g=y.length===E.length;const I=Array.isArray(n)?[]:{};for(const O of y)I[O]=Ke(t[O],n[O]),g&&(g=t[O]===I[O]);return g?t:I}function Le(t){let n=0;for(const y in t)n++;return n}var Je=t=>[].concat(...t);function Ye(t){return new RegExp("(^|:)//").test(t)}function xe(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}function Ue(t){return t!=null}function $e(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}var We=t=>t.replace(/\/$/,""),it=t=>t.replace(/^\//,"");function ot(t,n){if(!t)return n;if(!n)return t;if(Ye(n))return n;const y=t.endsWith("/")||!n.startsWith("?")?"/":"";return t=We(t),n=it(n),`${t}${y}${n}`}function Xe(t,n,y){return t.has(n)?t.get(n):t.set(n,y).get(n)}var et=(...t)=>fetch(...t),Ge=t=>t.status>=200&&t.status<=299,st=t=>
1/ion\/(vnd\.api\+)?json/.test(t.get("content-type")||"");function v(t){if(!(0,o.isPlainObject)(t))return t;const n={...t};for(const[y,E]of Object.entries(n))E===void 0&&delete n[y];return n}function U({baseUrl:t,prepareHeaders:n=w=>w,fetchFn:y=et,paramsSerializer:E,isJsonContentType:g=st,jsonContentType:I="application/json",jsonReplacer:O,timeout:x,responseHandler:B,validateStatus:A,..._}={}){return typeof fetch>"u"&&y===et&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(R,r,m)=>{const{getState:N,extra:S,endpoint:p,forced:P,type:u}=r;let s,{url:b,headers:T=new Headers(_.headers),params:a=void 0,responseHandler:e=B??"json",validateStatus:i=A??Ge,timeout:l=x,...c}=typeof R=="string"?{url:R}:R,h,j=r.signal;l&&(h=new AbortController,r.signal.addEventListener("abort",h.abort),j=h.signal);let F={..._,signal:j,...c};T=new Headers(v(T)),F.headers=await n(T,{getState:N,arg:R,extra:S,endpoint:p,forced:P,type:u,extraOptions:m})||T;const q=G=>typeof G=="object"&&((0,o.isPlainObject)(G)||Array.isArray(G)||typeof G.toJSON=="function");if(!F.headers.has("content-type")&&q(F.body)&&F.headers.set("content-type",I),q(F.body)&&g(F.headers)&&(F.body=JSON.stringify(F.body,O)),a){const G=~b.indexOf("?")?"&":"?",ce=E?E(a):new URLSearchParams(v(a));b+=G+ce}b=ot(t,b);const W=new Request(b,F);s={request:new Request(b,F)};let z,we=!1,Me=h&&setTimeout(()=>{we=!0,h.abort()},l);try{z=await y(W)}catch(G){return{error:{status:we?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(G)},meta:s}}finally{Me&&clearTimeout(Me),h?.signal.removeEventListener("abort",h.abort)}const ke=z.clone();s.response=ke;let ye,de="";try{let G;if(await Promise.all([w(z,e).then(ce=>ye=ce,ce=>G=ce),ke.text().then(ce=>de=ce,()=>{})]),G)throw G}catch(G){return{error:{status:"PARSING_ERROR",originalStatus:z.status,data:de,error:String(G)},meta:s}}return i(z,ye)?{data:ye,meta:s}:{error:{status:z.status,data:ye},meta:s}};async function w(R,r){if(typeof r=="function")return r(R);if(r==="content-type"&&(r=g(R.headers)?"json":"text"),r==="json"){const m=await R.text();return m.length?JSON.parse(m):null}return R.text()}}var L=class{constructor(t,n=void 0){this.value=t,this.meta=n}};async function f(t=0,n=5){const y=Math.min(t,n),E=~~((Math.random()+.4)*(300<<y));await new Promise(g=>setTimeout(I=>g(I),E))}function M(t,n){throw Object.assign(new L({error:t,meta:n}),{throwImmediately:!0})}var D={},ie=(t,n)=>async(y,E,g)=>{const I=[5,(n||D).maxRetries,(g||D).maxRetries].filter(_=>_!==void 0),[O]=I.slice(-1),B={maxRetries:O,backoff:f,retryCondition:(_,w,{attempt:R})=>R<=O,...n,...g};let A=0;for(;;)try{const _=await t(y,E,g);if(_.error)throw new L(_);return _}catch(_){if(A++,_.throwImmediately){if(_ instanceof L)return _.value;throw _}if(_ instanceof L&&!B.retryCondition(_.value.error,y,{attempt:A,baseQueryApi:E,extraOptions:g}))return _.value;await B.backoff(A,B.maxRetries)}},Z=Object.assign(ie,{fail:M}),d=(0,o.createAction)("__rtkq/focused"),Q=(0,o.createAction)("__rtkq/unfocused"),$=(0,o.createAction)("__rtkq/online"),V=(0,o.createAction)("__rtkq/offline"),te=!1;function he(t,n){function y(){const E=()=>t(d()),g=()=>t(Q()),I=()=>t($()),O=()=>t(V()),x=()=>{window.document.visibilityState==="visible"?E():g()};return te||typeof window<"u"&&window.addEventListener&&(window.addEventListener("visibilitychange",x,!1),window.addEventListener("focus",E,!1),window.addEventListener("online",I,!1),window.addEventListener("offline",O,!1),te=!0),()=>{window.removeEventListener("focus",E),window.removeEventListener("visibilitychange",x),window.removeEventListener("online",I),window.removeEventListener("offline",O),te=!1}}return n?n(t,{onFocus:d,onFocusLost:Q,onOffline:V,onOnline:$}):y()}function Se(t){return t.type==="query"}function J(t){return t.type==="mutation"}function ae(t){return t.type==="infinitequery"}function pe(t,n,y,E,g,I){return ve(t)?t(n,y,E,g).filter(Ue).map(fe).map(I):Array.isArray(t)?t.map(fe).map(I):[]}function ve(t){return typeof t=="function"}function fe(t){return typeof t=="string"?{type:t}:t}function Pe(t,n){return t.catch(n)}var le=Symbol("forceQueryFn"),Ne=t=>typeof t[le]=="function";function Ie({serializeQueryArgs:t,queryThunk:n,infiniteQueryThunk:y,mutationThunk:E,api:g,context:I}){const O=new Map,x=new Map,{unsubscribeQueryResult:B,removeMutationResult:A,updateSubscriptionOptions:_}=g.internalActions;return{buildInitiateQuery:p,buildInitiateInfiniteQuery:P,buildInitiateMutation:u,getRunningQueryThunk:w,getRunningMutationThunk:R,getRunningQueriesThunk:r,getRunningMutationsThunk:m};function w(s,b){return T=>{const a=I.endpointDefinitions[s],e=t({queryArgs:b,endpointDefinition:a,endpointName:s});return O.get(T)?.[e]}}function R(s,b){return T=>x.get(T)?.[b]}function r(){return s=>Object.values(O.get(s)||{}).filter(Ue)}function m(){return s=>Object.values(x.get(s)||{}).filter(Ue)}function N(s){}function S(s,b){const T=(a,{subscribe:e=!0,forceRefetch:i,subscriptionOptions:l,[le]:c,...h}={})=>(j,F)=>{const q=t({queryArgs:a,endpointDefinition:b,endpointName:s});let W;const ee={...h,type:"query",subscribe:e,forceRefetch:i,subscriptionOptions:l,endpointName:s,originalArgs:a,queryCacheKey:q,[le]:c};if(Se(b))W=n(ee);else{const{direction:Ee,initialPageParam:lt}=h;W=y({...ee,direction:Ee,initialPageParam:lt})}const z=g.endpoints[s].select(a),we=j(W),Me=z(F());const{requestId:ke,abort:ye}=we,de=Me.requestId!==ke,G=O.get(j)?.[q],ce=()=>z(F()),je=Object.assign(c?we.then(ce):de&&!G?Promise.resolve(Me):Promise.all([G,we]).then(ce),{arg:a,requestId:ke,subscriptionOptions:l,queryCacheKey:q,abort:ye,async unwrap(){const Ee=await je;if(Ee.isError)throw Ee.error;return Ee.data},refetch:()=>j(T(a,{subscribe:!1,forceRefetch:!0})),unsubscribe(){e&&j(B({queryCacheKey:q,requestId:ke}))},updateSubscriptionOptions(Ee){je.subscriptionOptions=Ee,j(_({endpointName:s,requestId:ke,queryCacheKey:q,options:Ee}))}});if(!G&&!de&&!c){const Ee=Xe(O,j,{});Ee[q]=je,je.then(()=>{delete Ee[q],Le(Ee)||O.delete(j)})}return je};return T}function p(s,b){return S(s,b)}function P(s,b){return S(s,b)}function u(s){return(b,{track:T=!0,fixedCacheKey:a}={})=>(e,i)=>{const l=E({type:"mutation",endpointName:s,originalArgs:b,track:T,fixedCacheKey:a}),c=e(l);const{requestId:h,abort:j,unwrap:F}=c,q=Pe(c.unwrap().then(we=>({data:we})),we=>({error:we})),W=()=>{e(A({requestId:h,fixedCacheKey:a}))},ee=Object.assign(q,{arg:c.arg,requestId:h,abort:j,unwrap:F,reset:W}),z=x.get(e)||{};return x.set(e,z),z[h]=ee,ee.then(()=>{delete z[h],Le(z)||x.delete(e)}),a&&(z[a]=ee,ee.then(()=>{z[a]===ee&&(delete z[a],Le(z)||x.delete(e))})),ee}}}function ze(t){return t}var Be=(t={})=>({...t,[o.SHOULD_AUTOBATCH]:!0});function ut({reducerPath:t,baseQuery:n,context:{endpointDefinitions:y},serializeQueryArgs:E,api:g,assertTagType:I,selectors:O}){const x=(e,i,l,c)=>(h,j)=>{const F=y[e],q=E({queryArgs:i,endpointDefinition:F,endpointName:e});if(h(g.internalActions.queryResultPatched({queryCacheKey:q,patches:l})),!c)return;const W=g.endpoints[e].select(i)(j()),ee=pe(F.providesTags,W.data,void 0,i,{},I);h(g.internalActions.updateProvidedBy({queryCacheKey:q,providedTags:ee}))};function B(e,i,l=0){const c=[i,...e];return l&&c.length>l?c.slice(0,-1):c}function A(e,i,l=0){const c=[...e,i];return l&&c.length>l?c.slice(1):c}const _=(e,i,l,c=!0)=>(h,j)=>{const q=g.endpoints[e].select(i)(j()),W={patches:[],inversePatches:[],undo:()=>h(g.util.patchQueryData(e,i,W.inversePatches,c))};if(q.status==="uninitialized")return W;let ee;if("data"in q)if((0,Qe.a6)(q.data)){const[z,we,Me]=(0,Qe.vI)(q.data,l);W.patches.push(...we),W.inversePatches.push(...Me),ee=z}else ee=l(q.data),W.patches.push({op:"replace",path:[],value:ee}),W.inversePatches.push({op:"replace",path:[],value:q.data});return W.patches.length===0||h(g.util.patchQueryData(e,i,W.patches,c)),W},w=(e,i,l)=>c=>
1c(g.endpoints[e].initiate(i,{subscribe:!1,forceRefetch:!0,[le]:()=>({data:l})})),R=(e,i)=>e.query&&e[i]?e[i]:ze,r=async(e,{signal:i,abort:l,rejectWithValue:c,fulfillWithValue:h,dispatch:j,getState:F,extra:q})=>{const W=y[e.endpointName];try{let ee=R(W,"transformResponse");const z={signal:i,abort:l,dispatch:j,getState:F,extra:q,endpoint:e.endpointName,type:e.type,forced:e.type==="query"?m(e,F()):void 0,queryCacheKey:e.type==="query"?e.queryCacheKey:void 0},we=e.type==="query"?e[le]:void 0;let Me;const ke=async(de,G,ce,je)=>{if(G==null&&de.pages.length)return Promise.resolve({data:de});const Ee={queryArg:e.originalArgs,pageParam:G},lt=await ye(Ee),rt=je?B:A;return{data:{pages:rt(de.pages,lt.data,ce),pageParams:rt(de.pageParams,G,ce)}}};async function ye(de){let G;const{extraOptions:ce}=W;if(we?G=we():W.query?G=await n(W.query(de),z,ce):G=await W.queryFn(de,z,ce,Ee=>n(Ee,z,ce)),typeof process<"u",G.error)throw new L(G.error,G.meta);const je=await ee(G.data,G.meta,de);return{...G,data:je}}if(e.type==="query"&&"infiniteQueryOptions"in W){const{infiniteQueryOptions:de}=W,{maxPages:G=1/0}=de;let ce;const je={pages:[],pageParams:[]},Ee=O.selectQueryEntry(F(),e.queryCacheKey)?.data,rt=m(e,F())&&!e.direction||!Ee?je:Ee;if("direction"in e&&e.direction&&rt.pages.length){const dt=e.direction==="backward",gt=(dt?C:tt)(de,rt);ce=await ke(rt,gt,G,dt)}else{const{initialPageParam:dt=de.initialPageParam}=e,ht=Ee?.pageParams??[],gt=ht[0]??dt,At=ht.length;ce=await ke(rt,gt,G),we&&(ce={data:ce.data.pages[0]});for(let vt=1;vt<At;vt++){const It=tt(de,ce.data);ce=await ke(ce.data,It,G)}}Me=ce}else Me=await ye(e.originalArgs);return h(Me.data,Be({fulfilledTimeStamp:Date.now(),baseQueryMeta:Me.meta}))}catch(ee){let z=ee;if(z instanceof L){let we=R(W,"transformErrorResponse");try{return c(await we(z.value,z.meta,e.originalArgs),Be({baseQueryMeta:z.meta}))}catch(Me){z=Me}}throw typeof process<"u",console.error(z),z}};function m(e,i){const l=O.selectQueryEntry(i,e.queryCacheKey),c=O.selectConfig(i).refetchOnMountOrArgChange,h=l?.fulfilledTimeStamp,j=e.forceRefetch??(e.subscribe&&c);return j?j===!0||(Number(new Date)-Number(h))/1e3>=j:!1}const N=()=>(0,o.createAsyncThunk)(`${t}/executeQuery`,r,{getPendingMeta({arg:i}){const l=y[i.endpointName];return Be({startedTimeStamp:Date.now(),...ae(l)?{direction:i.direction}:{}})},condition(i,{getState:l}){const c=l(),h=O.selectQueryEntry(c,i.queryCacheKey),j=h?.fulfilledTimeStamp,F=i.originalArgs,q=h?.originalArgs,W=y[i.endpointName],ee=i.direction;return Ne(i)?!0:h?.status==="pending"?!1:m(i,c)||Se(W)&&W?.forceRefetch?.({currentArg:F,previousArg:q,endpointState:h,state:c})?!0:!(j&&!ee)},dispatchConditionRejection:!0}),S=N(),p=N(),P=(0,o.createAsyncThunk)(`${t}/executeMutation`,r,{getPendingMeta(){return Be({startedTimeStamp:Date.now()})}}),u=e=>"force"in e,s=e=>"ifOlderThan"in e,b=(e,i,l)=>(c,h)=>{const j=u(l)&&l.force,F=s(l)&&l.ifOlderThan,q=(ee=!0)=>{const z={forceRefetch:ee,isPrefetch:!0};return g.endpoints[e].initiate(i,z)},W=g.endpoints[e].select(i)(h());if(j)c(q());else if(F){const ee=W?.fulfilledTimeStamp;if(!ee){c(q());return}(Number(new Date)-Number(new Date(ee)))/1e3>=F&&c(q())}else c(q(!1))};function T(e){return i=>i?.meta?.arg?.endpointName===e}function a(e,i){return{matchPending:(0,o.isAllOf)((0,o.isPending)(e),T(i)),matchFulfilled:(0,o.isAllOf)((0,o.isFulfilled)(e),T(i)),matchRejected:(0,o.isAllOf)((0,o.isRejected)(e),T(i))}}return{queryThunk:S,mutationThunk:P,infiniteQueryThunk:p,prefetch:b,updateQueryData:_,upsertQueryData:w,patchQueryData:x,buildMatchThunkActions:a}}function tt(t,{pages:n,pageParams:y}){const E=n.length-1;return t.getNextPageParam(n[E],n,y[E],y)}function C(t,{pages:n,pageParams:y}){return t.getPreviousPageParam?.(n[0],n,y[0],y)}function X(t,n,y,E){return pe(y[t.meta.arg.endpointName][n],(0,o.isFulfilled)(t)?t.payload:void 0,(0,o.isRejectedWithValue)(t)?t.payload:void 0,t.meta.arg.originalArgs,"baseQueryMeta"in t.meta?t.meta.baseQueryMeta:void 0,E)}function ue(t,n,y){const E=t[n];E&&y(E)}function Y(t){return("arg"in t?t.arg.fixedCacheKey:t.fixedCacheKey)??t.requestId}function ne(t,n,y){const E=t[Y(n)];E&&y(E)}var K={};
1function H({reducerPath:t,queryThunk:n,mutationThunk:y,serializeQueryArgs:E,context:{endpointDefinitions:g,apiUid:I,extractRehydrationInfo:O,hasRehydrationInfo:x},assertTagType:B,config:A}){const _=(0,o.createAction)(`${t}/resetApiState`);function w(a,e,i,l){var c;a[c=e.queryCacheKey]??(a[c]={status:"uninitialized",endpointName:e.endpointName}),ue(a,e.queryCacheKey,h=>{h.status="pending",h.requestId=i&&h.requestId?h.requestId:l.requestId,e.originalArgs!==void 0&&(h.originalArgs=e.originalArgs),h.startedTimeStamp=l.startedTimeStamp;const j=g[l.arg.endpointName];ae(j)&&"direction"in e&&(h.direction=e.direction)})}function R(a,e,i,l){ue(a,e.arg.queryCacheKey,c=>{if(c.requestId!==e.requestId&&!l)return;const{merge:h}=g[e.arg.endpointName];if(c.status="fulfilled",h)if(c.data!==void 0){const{fulfilledTimeStamp:j,arg:F,baseQueryMeta:q,requestId:W}=e;let ee=(0,o.createNextState)(c.data,z=>h(z,i,{arg:F.originalArgs,baseQueryMeta:q,fulfilledTimeStamp:j,requestId:W}));c.data=ee}else c.data=i;else c.data=g[e.arg.endpointName].structuralSharing??!0?Ke((0,Qe.Qx)(c.data)?(0,Qe.c2)(c.data):c.data,i):i;delete c.error,c.fulfilledTimeStamp=e.fulfilledTimeStamp})}const r=(0,o.createSlice)({name:`${t}/queries`,initialState:K,reducers:{removeQueryResult:{reducer(a,{payload:{queryCacheKey:e}}){delete a[e]},prepare:(0,o.prepareAutoBatched)()},cacheEntriesUpserted:{reducer(a,e){for(const i of e.payload){const{queryDescription:l,value:c}=i;w(a,l,!0,{arg:l,requestId:e.meta.requestId,startedTimeStamp:e.meta.timestamp}),R(a,{arg:l,requestId:e.meta.requestId,fulfilledTimeStamp:e.meta.timestamp,baseQueryMeta:{}},c,!0)}},prepare:a=>({payload:a.map(l=>{const{endpointName:c,arg:h,value:j}=l,F=g[c];return{queryDescription:{type:"query",endpointName:c,originalArgs:l.arg,queryCacheKey:E({queryArgs:h,endpointDefinition:F,endpointName:c})},value:j}}),meta:{[o.SHOULD_AUTOBATCH]:!0,requestId:(0,o.nanoid)(),timestamp:Date.now()}})},queryResultPatched:{reducer(a,{payload:{queryCacheKey:e,patches:i}}){ue(a,e,l=>{l.data=(0,Qe.$i)(l.data,i.concat())})},prepare:(0,o.prepareAutoBatched)()}},extraReducers(a){a.addCase(n.pending,(e,{meta:i,meta:{arg:l}})=>{const c=Ne(l);w(e,l,c,i)}).addCase(n.fulfilled,(e,{meta:i,payload:l})=>{const c=Ne(i.arg);R(e,i,l,c)}).addCase(n.rejected,(e,{meta:{condition:i,arg:l,requestId:c},error:h,payload:j})=>{ue(e,l.queryCacheKey,F=>{if(!i){if(F.requestId!==c)return;F.status="rejected",F.error=j??h}})}).addMatcher(x,(e,i)=>{const{queries:l}=O(i);for(const[c,h]of Object.entries(l))(h?.status==="fulfilled"||h?.status==="rejected")&&(e[c]=h)})}}),m=(0,o.createSlice)({name:`${t}/mutations`,initialState:K,reducers:{removeMutationResult:{reducer(a,{payload:e}){const i=Y(e);i in a&&delete a[i]},prepare:(0,o.prepareAutoBatched)()}},extraReducers(a){a.addCase(y.pending,(e,{meta:i,meta:{requestId:l,arg:c,startedTimeStamp:h}})=>{c.track&&(e[Y(i)]={requestId:l,status:"pending",endpointName:c.endpointName,startedTimeStamp:h})}).addCase(y.fulfilled,(e,{payload:i,meta:l})=>{l.arg.track&&ne(e,l,c=>{c.requestId===l.requestId&&(c.status="fulfilled",c.data=i,c.fulfilledTimeStamp=l.fulfilledTimeStamp)})}).addCase(y.rejected,(e,{payload:i,error:l,meta:c})=>{c.arg.track&&ne(e,c,h=>{h.requestId===c.requestId&&(h.status="rejected",h.error=i??l)})}).addMatcher(x,(e,i)=>{const{mutations:l}=O(i);for(const[c,h]of Object.entries(l))(h?.status==="fulfilled"||h?.status==="rejected")&&c!==h?.requestId&&(e[c]=h)})}}),N=(0,o.createSlice)({name:`${t}/invalidation`,initialState:K,reducers:{updateProvidedBy:{reducer(a,e){var c,h;const{queryCacheKey:i,providedTags:l}=e.payload;for(const j of Object.values(a))for(const F of Object.values(j)){const q=F.indexOf(i);q!==-1&&F.splice(q,1)}for(const{type:j,id:F}of l){const q=(c=a[j]??(a[j]={}))[h=F||"__internal_without_id"]??(c[h]=[]);q.includes(i)||q.push(i)}},prepare:(0,o.prepareAutoBatched)()}},extraReducers(a){a.addCase(r.actions.removeQueryResult,(e,{payload:{queryCacheKey:i}})=>{for(const l of Object.values(e))for(const c of Object.values(l)){const h=c.indexOf(i);h!==-1&&c.splice(h,1)}}).addMatcher(x,(e,i)=>{var c,h;const{provided:l}=O(i);for(const[j,F]of Object.entries(l))for(const[q,W]of Object.entries(F)){const ee=(c=e[j]??(e[j]={}))[h=q||"__internal_without_id"]??(c[h]=[]);for(const z of W)ee.includes(z)||ee.push(z)}}).addMatcher((0,o.isAnyOf)((0,o.isFulfilled)(n),(0,o.isRejectedWithValue)(n)),(e,i)=>{S(e,i)}).addMatcher(r.actions.cacheEntriesUpserted.match,(e,i)=>{for(const{queryDescription:l,value:c}of i.payload)S(e,{type:"UNKNOWN",payload:c,meta:{requestStatus:"fulfilled",requestId:"UNKNOWN",arg:l}})})}});function S(a,e){const i=X(e,"providesTags",g,B),{queryCacheKey:l}=e.meta.arg;N.caseReducers.updateProvidedBy(a,N.actions.updateProvidedBy({queryCacheKey:l,providedTags:i}))}const p=(0,o.createSlice)({name:`${t}/subscriptions`,initialState:K,reducers:{updateSubscriptionOptions(a,e){},unsubscribeQueryResult(a,e){},internal_getRTKQSubscriptions(){}}}),P=(0,o.createSlice)({name:`${t}/internalSubscriptions`,initialState:K,reducers:{subscriptionsUpdated:{reducer(a,e){return(0,Qe.$i)(a,e.payload)},prepare:(0,o.prepareAutoBatched)()}}}),u=(0,o.createSlice)({name:`${t}/config`,initialState:{online:$e(),focused:xe(),middlewareRegistered:!1,...A},reducers:{middlewareRegistered(a,{payload:e}){a.middlewareRegistered=a.middlewareRegistered==="conflict"||I!==e?"conflict":!0}},extraReducers:a=>{a.addCase($,e=>{e.online=!0}).addCase(V,e=>{e.online=!1}).addCase(d,e=>{e.focused=!0}).addCase(Q,e=>{e.focused=!1}).addMatcher(x,e=>({...e}))}}),s=(0,o.combineReducers)({queries:r.reducer,mutations:m.reducer,provided:N.reducer,subscriptions:P.reducer,config:u.reducer}),b=(a,e)=>s(_.match(e)?void 0:a,e),T={...u.actions,...r.actions,...p.actions,...P.actions,...m.actions,...N.actions,resetApiState:_};return{reducer:b,actions:T}}var oe=Symbol.for("RTKQ/skipToken"),re={status:"uninitialized"},se=(0,o.createNextState)(re,()=>{}),me=(0,o.createNextState)(re,()=>{});function Ce({serializeQueryArgs:t,reducerPath:n,createSelector:y}){const E=u=>se,g=u=>me;return{buildQuerySelector:R,buildInfiniteQuerySelector:r,buildMutationSelector:m,selectInvalidatedBy:N,selectCachedArgsForQuery:S,selectApiState:O,selectQueries:x,selectMutations:A,selectQueryEntry:B,selectConfig:_};function I(u){return{...u,...k(u.status)}}function O(u){return u[n]}function x(u){return O(u)?.queries}function B(u,s){return x(u)?.[s]}function A(u){return O(u)?.mutations}function _(u){return O(u)?.config}function w(u,s,b){return T=>{if(T===oe)return y(E,b);const a=t({queryArgs:T,endpointDefinition:s,endpointName:u});return y(i=>B(i,a)??se,b)}}function R(u,s){return w(u,s,I)}function r(u,s){const{infiniteQueryOptions:b}=s;function T(a){const e={...a,...k(a.status)},{isLoading:i,isError:l,direction:c}=e,h=c==="forward",j=c==="backward";return{...e,hasNextPage:p(b,e.data),hasPreviousPage:P(b,e.data),isFetchingNextPage:i&&h,isFetchingPreviousPage:i&&j,isFetchNextPageError:l&&h,isFetchPreviousPageError:l&&j}}return w(u,s,T)}function m(){return u=>{let s;return typeof u=="object"?s=Y(u)??oe:s=u,y(s===oe?g:a=>
1O(a)?.mutations?.[s]??me,I)}}function N(u,s){const b=u[n],T=new Set;for(const a of s.filter(Ue).map(fe)){const e=b.provided[a.type];if(!e)continue;let i=(a.id!==void 0?e[a.id]:Je(Object.values(e)))??[];for(const l of i)T.add(l)}return Je(Array.from(T.values()).map(a=>{const e=b.queries[a];return e?[{queryCacheKey:a,endpointName:e.endpointName,originalArgs:e.originalArgs}]:[]}))}function S(u,s){return Object.values(x(u)).filter(b=>b?.endpointName===s&&b.status!=="uninitialized").map(b=>b.originalArgs)}function p(u,s){return s?tt(u,s)!=null:!1}function P(u,s){return!s||!u.getPreviousPageParam?!1:C(u,s)!=null}}var ge=WeakMap?new WeakMap:void 0,be=({endpointName:t,queryArgs:n})=>{let y="";const E=ge?.get(n);if(typeof E=="string")y=E;else{const g=JSON.stringify(n,(I,O)=>(O=typeof O=="bigint"?{$bigint:O.toString()}:O,O=(0,o.isPlainObject)(O)?Object.keys(O).sort().reduce((x,B)=>(x[B]=O[B],x),{}):O,O));(0,o.isPlainObject)(n)&&ge?.set(n,g),y=g}return`${t}(${y})`};function De(...t){return function(y){const E=(0,Oe.X4)(A=>y.extractRehydrationInfo?.(A,{reducerPath:y.reducerPath??"api"})),g={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...y,extractRehydrationInfo:E,serializeQueryArgs(A){let _=be;if("serializeQueryArgs"in A.endpointDefinition){const w=A.endpointDefinition.serializeQueryArgs;_=R=>{const r=w(R);return typeof r=="string"?r:be({...R,queryArgs:r})}}else y.serializeQueryArgs&&(_=y.serializeQueryArgs);return _(A)},tagTypes:[...y.tagTypes||[]]},I={endpointDefinitions:{},batch(A){A()},apiUid:(0,o.nanoid)(),extractRehydrationInfo:E,hasRehydrationInfo:(0,Oe.X4)(A=>E(A)!=null)},O={injectEndpoints:B,enhanceEndpoints({addTagTypes:A,endpoints:_}){if(A)for(const w of A)g.tagTypes.includes(w)||g.tagTypes.push(w);if(_)for(const[w,R]of Object.entries(_))typeof R=="function"?R(I.endpointDefinitions[w]):Object.assign(I.endpointDefinitions[w]||{},R);return O}},x=t.map(A=>A.init(O,g,I));function B(A){const _=A.endpoints({query:w=>({...w,type:"query"}),mutation:w=>({...w,type:"mutation"}),infiniteQuery:w=>({...w,type:"infinitequery"})});for(const[w,R]of Object.entries(_)){if(A.overrideExisting!==!0&&w in I.endpointDefinitions){if(A.overrideExisting==="throw")throw new Error((0,o.formatProdErrorMessage)(39));typeof process<"u";continue}typeof process<"u",I.endpointDefinitions[w]=R;for(const r of x)r.injectEndpoint(w,R)}return O}return O.injectEndpoints({endpoints:y.endpoints})}}var Fe=null;function He(){return function(){throw new Error(_formatProdErrorMessage4(33))}}function qe(t){}function Re(t,...n){return Object.assign(t,...n)}var nt=({api:t,queryThunk:n,internalState:y})=>{const E=`${t.reducerPath}/subscriptions`;let g=null,I=null;const{updateSubscriptionOptions:O,unsubscribeQueryResult:x}=t.internalActions,B=(r,m)=>{var S,p;if(O.match(m)){const{queryCacheKey:P,requestId:u,options:s}=m.payload;return r?.[P]?.[u]&&(r[P][u]=s),!0}if(x.match(m)){const{queryCacheKey:P,requestId:u}=m.payload;return r[P]&&delete r[P][u],!0}if(t.internalActions.removeQueryResult.match(m))return delete r[m.payload.queryCacheKey],!0;if(n.pending.match(m)){const{meta:{arg:P,requestId:u}}=m,s=r[S=P.queryCacheKey]??(r[S]={});return s[`${u}_running`]={},P.subscribe&&(s[u]=P.subscriptionOptions??s[u]??{}),!0}let N=!1;if(n.fulfilled.match(m)||n.rejected.match(m)){const P=r[m.meta.arg.queryCacheKey]||{},u=`${m.meta.requestId}_running`;N||(N=!!P[u]),delete P[u]}if(n.rejected.match(m)){const{meta:{condition:P,arg:u,requestId:s}}=m;if(P&&u.subscribe){const b=r[p=u.queryCacheKey]??(r[p]={});b[s]=u.subscriptionOptions??b[s]??{},N=!0}}return N},A=()=>y.currentSubscriptions,R={getSubscriptions:A,getSubscriptionCount:r=>{const N=A()[r]??{};return Le(N)},isRequestSubscribed:(r,m)=>!!A()?.[r]?.[m]};return(r,m)=>{if(g||(g=JSON.parse(JSON.stringify(y.currentSubscriptions))),t.util.resetApiState.match(r))return g=y.currentSubscriptions={},I=null,[!0,!1];if(t.internalActions.internal_getRTKQSubscriptions.match(r))return[!1,R];const N=B(y.currentSubscriptions,r);let S=!0;if(N){I||(I=setTimeout(()=>{const u=JSON.parse(JSON.stringify(y.currentSubscriptions)),[,s]=(0,Qe.vI)(g,()=>u);m.next(t.internalActions.subscriptionsUpdated(s)),g=u,I=null},500));const p=typeof r.type=="string"&&!!r.type.startsWith(E),P=n.rejected.match(r)&&r.meta.condition&&!!r.meta.arg.subscribe;S=!p&&!P}return[S,!1]}};function ct(t){for(const n in t)return!1;return!0}var at=2147483647/1e3-1,Ve=({reducerPath:t,api:n,queryThunk:y,context:E,internalState:g,selectors:{selectQueryEntry:I,selectConfig:O}})=>{const{removeQueryResult:x,unsubscribeQueryResult:B,cacheEntriesUpserted:A}=n.internalActions,_=(0,o.isAnyOf)(B.match,y.fulfilled,y.rejected,A.match);function w(S){const p=g.currentSubscriptions[S];return!!p&&!ct(p)}const R={},r=(S,p,P)=>{const u=p.getState(),s=O(u);if(_(S)){let b;if(A.match(S))b=S.payload.map(T=>T.queryDescription.queryCacheKey);else{const{queryCacheKey:T}=B.match(S)?S.payload:S.meta.arg;b=[T]}m(b,p,s)}if(n.util.resetApiState.match(S))for(const[b,T]of Object.entries(R))T&&clearTimeout(T),delete R[b];if(E.hasRehydrationInfo(S)){const{queries:b}=E.extractRehydrationInfo(S);m(Object.keys(b),p,s)}};function m(S,p,P){const u=p.getState();for(const s of S){const b=I(u,s);N(s,b?.endpointName,p,P)}}function N(S,p,P,u){const b=E.endpointDefinitions[p]?.keepUnusedData
1For??u.keepUnusedDataFor;if(b===1/0)return;const T=Math.max(0,Math.min(b,at));if(!w(S)){const a=R[S];a&&clearTimeout(a),R[S]=setTimeout(()=>{w(S)||P.dispatch(x({queryCacheKey:S})),delete R[S]},T*1e3)}}return r},ft=new Error("Promise never resolved before cacheEntryRemoved."),yt=({api:t,reducerPath:n,context:y,queryThunk:E,mutationThunk:g,internalState:I,selectors:{selectQueryEntry:O,selectApiState:x}})=>{const B=(0,o.isAsyncThunkAction)(E),A=(0,o.isAsyncThunkAction)(g),_=(0,o.isFulfilled)(E,g),w={};function R(p,P,u){const s=w[p];s?.valueResolved&&(s.valueResolved({data:P,meta:u}),delete s.valueResolved)}function r(p){const P=w[p];P&&(delete w[p],P.cacheEntryRemoved())}const m=(p,P,u)=>{const s=N(p);function b(T,a,e,i){const l=O(u,a),c=O(P.getState(),a);!l&&c&&S(T,i,a,P,e)}if(E.pending.match(p))b(p.meta.arg.endpointName,s,p.meta.requestId,p.meta.arg.originalArgs);else if(t.internalActions.cacheEntriesUpserted.match(p))for(const{queryDescription:T,value:a}of p.payload){const{endpointName:e,originalArgs:i,queryCacheKey:l}=T;b(e,l,p.meta.requestId,i),R(l,a,{})}else if(g.pending.match(p))P.getState()[n].mutations[s]&&S(p.meta.arg.endpointName,p.meta.arg.originalArgs,s,P,p.meta.requestId);else if(_(p))R(s,p.payload,p.meta.baseQueryMeta);else if(t.internalActions.removeQueryResult.match(p)||t.internalActions.removeMutationResult.match(p))r(s);else if(t.util.resetApiState.match(p))for(const T of Object.keys(w))r(T)};function N(p){return B(p)?p.meta.arg.queryCacheKey:A(p)?p.meta.arg.fixedCacheKey??p.meta.requestId:t.internalActions.removeQueryResult.match(p)?p.payload.queryCacheKey:t.internalActions.removeMutationResult.match(p)?Y(p.payload):""}function S(p,P,u,s,b){const T=y.endpointDefinitions[p],a=T?.onCacheEntryAdded;if(!a)return;const e={},i=new Promise(q=>{e.cacheEntryRemoved=q}),l=Promise.race([new Promise(q=>{e.valueResolved=q}),i.then(()=>{throw ft})]);l.catch(()=>{}),w[u]=e;const c=t.endpoints[p].select(T.type==="query"?P:u),h=s.dispatch((q,W,ee)=>ee),j={...s,getCacheEntry:()=>c(s.getState()),requestId:b,extra:h,updateCachedData:T.type==="query"?q=>s.dispatch(t.util.updateQueryData(p,P,q)):void 0,cacheDataLoaded:l,cacheEntryRemoved:i},F=a(P,j);Promise.resolve(F).catch(q=>{if(q!==ft)throw q})}return m},St=({api:t,context:{apiUid:n},reducerPath:y})=>(E,g)=>{t.util.resetApiState.match(E)&&g.dispatch(t.internalActions.middlewareRegistered(n)),typeof process<"u"},wt=({reducerPath:t,context:n,context:{endpointDefinitions:y},mutationThunk:E,queryThunk:g,api:I,assertTagType:O,refetchQuery:x,internalState:B})=>{const{removeQueryResult:A}=I.internalActions,_=(0,o.isAnyOf)((0,o.isFulfilled)(E),(0,o.isRejectedWithValue)(E)),w=(0,o.isAnyOf)((0,o.isFulfilled)(E,g),(0,o.isRejected)(E,g));let R=[];const r=(S,p)=>{_(S)?N(X(S,"invalidatesTags",y,O),p):w(S)?N([],p):I.util.invalidateTags.match(S)&&N(pe(S.payload,void 0,void 0,void 0,void 0,O),p)};function m(S){const{queries:p,mutations:P}=S;for(const u of[p,P])for(const s in u)if(u[s]?.status==="pending")return!0;return!1}function N(S,p){const P=p.getState(),u=P[t];if(R.push(...S),u.config.invalidationBehavior==="delayed"&&m(u))return;const s=R;if(R=[],s.length===0)return;const b=I.util.selectInvalidatedBy(P,s);n.batch(()=>{const T=Array.from(b.values());for(const{queryCacheKey:a}of T){const e=u.queries[a],i=B.currentSubscriptions[a]??{};e&&(Le(i)===0?p.dispatch(A({queryCacheKey:a})):e.status!=="uninitialized"&&p.dispatch(x(e)))}})}return r},Et=({reducerPath:t,queryThunk:n,api:y,refetchQuery:E,internalState:g})=>{const I={},O=(r,m)=>{(y.internalActions.updateSubscriptionOptions.match(r)||y.internalActions.unsubscribeQueryResult.match(r))&&A(r.payload,m),(n.pending.match(r)||n.rejected.match(r)&&r.meta.condition)&&A(r.meta.arg,m),(n.fulfilled.match(r)||n.rejected.match(r)&&!r.meta.condition)&&B(r.meta.arg,m),y.util.resetApiState.match(r)&&w()};function x(r,m){const S=m.getState()[t].queries[r],p=g.currentSubscriptions[r];if(!(!S||S.status==="uninitialized"))return p}function B({queryCacheKey:r},m){const N=m.getState()[t],S=N.queries[r],p=g.currentSubscriptions[r];if(!S||S.status==="uninitialized")return;const{lowestPollingInterval:P,skipPollingIfUnfocused:u}=R(p);if(!Number.isFinite(P))return;const s=I[r];s?.timeout&&(clearTimeout(s.timeout),s.timeout=void 0);const b=Date.now()+P;I[r]={nextPollTimestamp:b,pollingInterval:P,timeout:setTimeout(()=>{(N.config.focused||!u)&&m.dispatch(E(S)),B({queryCacheKey:r},m)},P)}}function A({queryCacheKey:r},m){const S=m.getState()[t].queries[r],p=g.currentSubscriptions[r];if(!S||S.status==="uninitialized")return;const{lowestPollingInterval:P}=R(p);if(!Number.isFinite(P)){_(r);return}const u=I[r],s=Date.now()+P;(!u||s<u.nextPollTimestamp)&&B({queryCacheKey:r},m)}function _(r){const m=I[r];m?.timeout&&clearTimeout(m.timeout),delete I[r]}function w(){for(const r of Object.keys(I))_(r)}function R(r={}){let m=!1,N=Number.POSITIVE_INFINITY;for(let S in r)r[S].pollingInterval&&(N=Math.min(r[S].pollingInterval,N),m=r[S].skipPollingIfUnfocused||m);return{lowestPollingInterval:N,skipPollingIfUnfocused:m}}return O},Ot=({api:t,context:n,queryThunk:y,mutationThunk:E})=>{const g=(0,o.isPending)(y,E),I=(0,o.isRejected)(y,E),O=(0,o.isFulfilled)(y,E),x={};return(A,_)=>{if(g(A)){const{requestId:w,arg:{endpointName:R,originalArgs:r}}=A.meta,m=n.endpointDefinitions[R],N=m?.onQueryStarted;if(N){const S={},p=new Promise((b,T)=>{S.resolve=b,S.reject=T});
1p.catch(()=>{}),x[w]=S;const P=t.endpoints[R].select(m.type==="query"?r:w),u=_.dispatch((b,T,a)=>a),s={..._,getCacheEntry:()=>P(_.getState()),requestId:w,extra:u,updateCachedData:m.type==="query"?b=>_.dispatch(t.util.updateQueryData(R,r,b)):void 0,queryFulfilled:p};N(r,s)}}else if(O(A)){const{requestId:w,baseQueryMeta:R}=A.meta;x[w]?.resolve({data:A.payload,meta:R}),delete x[w]}else if(I(A)){const{requestId:w,rejectedWithValue:R,baseQueryMeta:r}=A.meta;x[w]?.reject({error:A.payload??A.error,isUnhandledError:!R,meta:r}),delete x[w]}}},Pt=({reducerPath:t,context:n,api:y,refetchQuery:E,internalState:g})=>{const{removeQueryResult:I}=y.internalActions,O=(B,A)=>{d.match(B)&&x(A,"refetchOnFocus"),$.match(B)&&x(A,"refetchOnReconnect")};function x(B,A){const _=B.getState()[t],w=_.queries,R=g.currentSubscriptions;n.batch(()=>{for(const r of Object.keys(R)){const m=w[r],N=R[r];if(!N||!m)continue;(Object.values(N).some(p=>p[A]===!0)||Object.values(N).every(p=>p[A]===void 0)&&_.config[A])&&(Le(N)===0?B.dispatch(I({queryCacheKey:r})):m.status!=="uninitialized"&&B.dispatch(E(m)))}})}return O};function Rt(t){const{reducerPath:n,queryThunk:y,api:E,context:g}=t,{apiUid:I}=g,O={invalidateTags:(0,o.createAction)(`${n}/invalidateTags`)},x=w=>w.type.startsWith(`${n}/`),B=[St,Ve,wt,Et,yt,Ot];return{middleware:w=>{let R=!1;const m={...t,internalState:{currentSubscriptions:{}},refetchQuery:_,isThisApiSliceAction:x},N=B.map(P=>P(m)),S=nt(m),p=Pt(m);return P=>u=>{if(!(0,o.isAction)(u))return P(u);R||(R=!0,w.dispatch(E.internalActions.middlewareRegistered(I)));const s={...w,next:P},b=w.getState(),[T,a]=S(u,s,b);let e;if(T?e=P(u):e=a,w.getState()[n]&&(p(u,s,b),x(u)||g.hasRehydrationInfo(u)))for(const i of N)i(u,s,b);return e}},actions:O};function _(w){return t.api.endpoints[w.endpointName].initiate(w.originalArgs,{subscribe:!1,forceRefetch:!0})}}var bt=Symbol(),mt=({createSelector:t=o.createSelector}={})=>({name:bt,init(n,{baseQuery:y,tagTypes:E,reducerPath:g,serializeQueryArgs:I,keepUnusedDataFor:O,refetchOnMountOrArgChange:x,refetchOnFocus:B,refetchOnReconnect:A,invalidationBehavior:_},w){(0,Qe.YT)();const R=ye=>(typeof process<"u",ye);Object.assign(n,{reducerPath:g,endpoints:{},internalActions:{onOnline:$,onOffline:V,onFocus:d,onFocusLost:Q},util:{}});const r=Ce({serializeQueryArgs:I,reducerPath:g,createSelector:t}),{selectInvalidatedBy:m,selectCachedArgsForQuery:N,buildQuerySelector:S,buildInfiniteQuerySelector:p,buildMutationSelector:P}=r;Re(n.util,{selectInvalidatedBy:m,selectCachedArgsForQuery:N});const{queryThunk:u,infiniteQueryThunk:s,mutationThunk:b,patchQueryData:T,updateQueryData:a,upsertQueryData:e,prefetch:i,buildMatchThunkActions:l}=ut({baseQuery:y,reducerPath:g,context:w,api:n,serializeQueryArgs:I,assertTagType:R,selectors:r}),{reducer:c,actions:h}=H({context:w,queryThunk:u,infiniteQueryThunk:s,mutationThunk:b,serializeQueryArgs:I,reducerPath:g,assertTagType:R,config:{refetchOnFocus:B,refetchOnReconnect:A,refetchOnMountOrArgChange:x,keepUnusedDataFor:O,reducerPath:g,invalidationBehavior:_}});Re(n.util,{patchQueryData:T,updateQueryData:a,upsertQueryData:e,prefetch:i,resetApiState:h.resetApiState,upsertQueryEntries:h.cacheEntriesUpserted}),Re(n.internalActions,h);const{middleware:j,actions:F}=Rt({reducerPath:g,context:w,queryThunk:u,mutationThunk:b,infiniteQueryThunk:s,api:n,assertTagType:R,selectors:r});Re(n.util,F),Re(n,{reducer:c,middleware:j});const{buildInitiateQuery:q,buildInitiateInfiniteQuery:W,buildInitiateMutation:ee,getRunningMutationThunk:z,getRunningMutationsThunk:we,getRunningQueriesThunk:Me,getRunningQueryThunk:ke}=Ie({queryThunk:u,mutationThunk:b,infiniteQueryThunk:s,api:n,serializeQueryArgs:I,context:w});return Re(n.util,{getRunningMutationThunk:z,getRunningMutationsThunk:we,getRunningQueryThunk:ke,getRunningQueriesThunk:Me}),{name:bt,injectEndpoint(ye,de){var je;const ce=(je=n.endpoints)[ye]??(je[ye]={});Se(de)&&Re(ce,{name:ye,select:S(ye,de),initiate:q(ye,de)},l(u,ye)),J(de)&&Re(ce,{name:ye,select:P(),initiate:ee(ye)},l(b,ye)),ae(de)&&Re(ce,{name:ye,select:p(ye,de),initiate:W(ye,de)},l(u,ye))}}}}),Mt=De(mt())},80652:(pt,Ze,Te)=>{Te.d(Ze,{y$:()=>xe});function o(v){return"Minified Redux error #"+v+"; visit https://redux.js.org/Errors?code="+v+" for the full message or use the non-minified dev environment for full errors. "}var Qe=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Oe=function(){return Math.random().toString(36).substring(7).split("").join(".")},_e={INIT:"@@redux/INIT"+Oe(),REPLACE:"@@redux/REPLACE"+Oe(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Oe()}};function k(v){if(typeof v!="object"||v===null)return!1;for(var U=v;Object.getPrototypeOf(U)!==null;)U=Object.getPrototypeOf(U);return Object.getPrototypeOf(v)===U}function Ae(v){if(v===void 0)return"undefined";if(v===null)return"null";var U=typeof v;switch(U){case"boolean":case"string":case"number":case"symbol":case"function":return U}if(Array.isArray(v))return"array";if(Je(v))return"date";if(Le(v))return"error";var L=Ke(v);switch(L){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return L}return U.slice(8,-1).toLowerCase().replace(/\s/g,"")}function Ke(v){return typeof v.constructor=="function"?v.constructor.name:null}function Le(v){return v instanceof Error||typeof v.message=="string"&&v.constructor&&typeof v.constructor.stackTraceLimit=="number"}function Je(v){return v instanceof Date?!0:typeof v.toDateString=="function"&&typeof v.getDate=="function"&&typeof v.setDate=="function"}function Ye(v){var U=typeof v;return U}function xe(v,U,L){var f;if(typeof U=="function"&&typeof L=="function"||typeof L=="function"&&typeof arguments[3]=="function")throw new Error(o(0));if(typeof U=="function"&&typeof L>"u"&&(L=U,U=void 0),typeof L<"u"){if(typeof L!="function")throw new Error(o(1));return L(xe)(v,U)}if(typeof v!="function")throw new Error(o(2));var M=v,D=U,ie=[],Z=ie,d=!1;function Q(){Z===ie&&(Z=ie.slice())}function $(){if(d)throw new Error(o(3));return D}function V(J){if(typeof J!="function")throw new Error(o(4));if(d)throw new Error(o(5));var ae=!0;return Q(),Z.push(J),function(){if(ae){if(d)throw new Error(o(6));ae=!1,Q();var ve=Z.indexOf(J);Z.splice(ve,1),ie=null}}}function te(J){if(!k(J))throw new Error(o(7));if(typeof J.type>"u")throw new Error(o(8));if(d)throw new Error(o(9));try{d=!0,D=M(D,J)}finally{d=!1}for(var ae=ie=Z,pe=0;pe<ae.length;pe++){var ve=ae[pe];ve()}return J}function he(J){if(typeof J!="function")throw new Error(o(10));M=J,te({type:_e.REPLACE})}function Se(){var J,ae=V;return J={subscribe:function(ve){if(typeof ve!="object"||ve===null)throw new Error(o(11));function fe(){ve.next&&ve.next($())}
1fe();var Pe=ae(fe);return{unsubscribe:Pe}}},J[Qe]=function(){return this},J}return te({type:_e.INIT}),f={dispatch:te,subscribe:V,getState:$,replaceReducer:he},f[Qe]=Se,f}var Ue=null;function $e(v){typeof console<"u"&&typeof console.error=="function"&&console.error(v);try{throw new Error(v)}catch{}}function We(v,U,L,f){var M=Object.keys(U),D=L&&L.type===_e.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(M.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!k(v))return"The "+D+' has unexpected type of "'+Ye(v)+'". Expected argument to be an object with the following '+('keys: "'+M.join('", "')+'"');var ie=Object.keys(v).filter(function(Z){return!U.hasOwnProperty(Z)&&!f[Z]});if(ie.forEach(function(Z){f[Z]=!0}),!(L&&L.type===_e.REPLACE)&&ie.length>0)return"Unexpected "+(ie.length>1?"keys":"key")+" "+('"'+ie.join('", "')+'" found in '+D+". ")+"Expected to find one of the known reducer keys instead: "+('"'+M.join('", "')+'". Unexpected keys will be ignored.')}function it(v){Object.keys(v).forEach(function(U){var L=v[U],f=L(void 0,{type:_e.INIT});if(typeof f>"u")throw new Error(o(12));if(typeof L(void 0,{type:_e.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(o(13))})}function ot(v){for(var U=Object.keys(v),L={},f=0;f<U.length;f++){var M=U[f];typeof v[M]=="function"&&(L[M]=v[M])}var D=Object.keys(L),ie,Z;try{it(L)}catch(d){Z=d}return function(Q,$){if(Q===void 0&&(Q={}),Z)throw Z;if(0)var V;for(var te=!1,he={},Se=0;Se<D.length;Se++){var J=D[Se],ae=L[J],pe=Q[J],ve=ae(pe,$);if(typeof ve>"u"){var fe=$&&$.type;throw new Error(o(14))}he[J]=ve,te=te||ve!==pe}return te=te||D.length!==Object.keys(Q).length,te?he:Q}}function Xe(v,U){return function(){return U(v.apply(this,arguments))}}function et(v,U){if(typeof v=="function")return Xe(v,U);if(typeof v!="object"||v===null)throw new Error(o(16));var L={};for(var f in v){var M=v[f];typeof M=="function"&&(L[f]=Xe(M,U))}return L}function Ge(){for(var v=arguments.length,U=new Array(v),L=0;L<v;L++)U[L]=arguments[L];return U.length===0?function(f){return f}:U.length===1?U[0]:U.reduce(function(f,M){return function(){return f(M.apply(void 0,arguments))}})}function st(){for(var v=arguments.length,U=new Array(v),L=0;L<v;L++)U[L]=arguments[L];return function(f){return function(){var M=f.apply(void 0,arguments),D=function(){throw new Error(o(15))},ie={getState:M.getState,dispatch:function(){return D.apply(void 0,arguments)}},Z=U.map(function(d){return d(ie)});return D=Ge.apply(void 0,Z)(M.dispatch),_objectSpread(_objectSpread({},M),{},{dispatch:D})}}}},90805:(pt,Ze,Te)=>{Te.d(Ze,{$d:()=>Ae,HY:()=>et,Qd:()=>Ke,Tw:()=>U,Yl:()=>We,Zz:()=>v,ve:()=>L,y$:()=>$e,zH:()=>st});function o(f){return`Minified Redux error #${f}; visit https://redux.js.org/Errors?code=${f} for the full message or use the non-minified dev environment for full errors. `}var Qe=typeof Symbol=="function"&&Symbol.observable||"@@observable",Oe=Qe,_e=()=>Math.random().toString(36).substring(7).split("").join("."),k={INIT:`@@redux/INIT${_e()}`,REPLACE:`@@redux/REPLACE${_e()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${_e()}`},Ae=k;function Ke(f){if(typeof f!="object"||f===null)return!1;let M=f;for(;Object.getPrototypeOf(M)!==null;)M=Object.getPrototypeOf(M);return Object.getPrototypeOf(f)===M||Object.getPrototypeOf(f)===null}function Le(f){if(f===void 0)return"undefined";if(f===null)return"null";const M=typeof f;switch(M){case"boolean":case"string":case"number":case"symbol":case"function":return M}if(Array.isArray(f))return"array";if(xe(f))return"date";if(Ye(f))return"error";const D=Je(f);switch(D){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return D}return Object.prototype.toString.call(f).slice(8,-1).toLowerCase().replace(/\s/g,"")}function Je(f){return typeof f.constructor=="function"?f.constructor.name:null}function Ye(f){return f instanceof Error||typeof f.message=="string"&&f.constructor&&typeof f.constructor.stackTraceLimit=="number"}function xe(f){return f instanceof Date?!0:typeof f.toDateString=="function"&&typeof f.getDate=="function"&&typeof f.setDate=="function"}function Ue(f){return typeof f}function $e(f,M,D){if(typeof f!="function")throw new Error(o(2));if(typeof M=="function"&&typeof D=="function"||typeof D=="function"&&typeof arguments[3]=="function")throw new Error(o(0));if(typeof M=="function"&&typeof D>"u"&&(D=M,M=void 0),typeof D<"u"){if(typeof D!="function")throw new Error(o(1));return D($e)(f,M)}let ie=f,Z=M,d=new Map,Q=d,$=0,V=!1;function te(){Q===d&&(Q=new Map,d.forEach((fe,Pe)=>{Q.set(Pe,fe)}))}function he(){if(V)throw new Error(o(3));return Z}function Se(fe){if(typeof fe!="function")throw new Error(o(4));if(V)throw new Error(o(5));let Pe=!0;te();const le=$++;return Q.set(le,fe),function(){if(Pe){if(V)throw new Error(o(6));Pe=!1,te(),Q.delete(le),d=null}}}function J(fe){if(!Ke(fe))throw new Error(o(7));if(typeof fe.type>"u")throw new Error(o(8));if(typeof fe.type!="string")throw new Error(o(17));if(V)throw new Error(o(9));try{V=!0,Z=ie(Z,fe)}finally{V=!1}
1return(d=Q).forEach(le=>{le()}),fe}function ae(fe){if(typeof fe!="function")throw new Error(o(10));ie=fe,J({type:Ae.REPLACE})}function pe(){const fe=Se;return{subscribe(Pe){if(typeof Pe!="object"||Pe===null)throw new Error(o(11));function le(){const Ie=Pe;Ie.next&&Ie.next(he())}return le(),{unsubscribe:fe(le)}},[Oe](){return this}}}return J({type:Ae.INIT}),{dispatch:J,subscribe:Se,getState:he,replaceReducer:ae,[Oe]:pe}}function We(f,M,D){return $e(f,M,D)}function it(f){typeof console<"u"&&typeof console.error=="function"&&console.error(f);try{throw new Error(f)}catch{}}function ot(f,M,D,ie){const Z=Object.keys(M),d=D&&D.type===Ae.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(Z.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!Ke(f))return`The ${d} has unexpected type of "${Ue(f)}". Expected argument to be an object with the following keys: "${Z.join('", "')}"`;const Q=Object.keys(f).filter($=>!M.hasOwnProperty($)&&!ie[$]);
1if(Q.forEach($=>{ie[$]=!0}),!(D&&D.type===Ae.REPLACE)&&Q.length>0)return`Unexpected ${Q.length>1?"keys":"key"} "${Q.join('", "')}" found in ${d}. Expected to find one of the known reducer keys instead: "${Z.join('", "')}". Unexpected keys will be ignored.`}function Xe(f){Object.keys(f).forEach(M=>{const D=f[M];if(typeof D(void 0,{type:Ae.INIT})>"u")throw new Error(o(12));if(typeof D(void 0,{type:Ae.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(o(13))})}function et(f){const M=Object.keys(f),D={};for(let Q=0;Q<M.length;Q++){const $=M[Q];typeof f[$]=="function"&&(D[$]=f[$])}const ie=Object.keys(D);let Z,d;try{Xe(D)}catch(Q){d=Q}return function($={},V){if(d)throw d;let te=!1;const he={};for(let Se=0;Se<ie.length;Se++){const J=ie[Se],ae=D[J],pe=$[J],ve=ae(pe,V);if(typeof ve>"u"){const fe=V&&V.type;throw new Error(o(14))}he[J]=ve,te=te||ve!==pe}return te=te||ie.length!==Object.keys($).length,te?he:$}}function Ge(f,M){return function(...D){return M(f.apply(this,D))}}function st(f,M){if(typeof f=="function")return Ge(f,M);if(typeof f!="object"||f===null)throw new Error(o(16));const D={};for(const ie in f){const Z=f[ie];typeof Z=="function"&&(D[ie]=Ge(Z,M))}return D}function v(...f){return f.length===0?M=>M:f.length===1?f[0]:f.reduce((M,D)=>(...ie)=>M(D(...ie)))}function U(...f){return M=>(D,ie)=>{const Z=M(D,ie);let d=()=>{throw new Error(o(15))};const Q={getState:Z.getState,dispatch:(V,...te)=>d(V,...te)},$=f.map(V=>V(Q));return d=v(...$)(Z.dispatch),{...Z,dispatch:d}}}function L(f){return Ke(f)&&"type"in f&&typeof f.type=="string"}}}]);
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.