1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17663,2841,e=>{"use strict";let t;var r=e.i(39299),s=e.i(51067);let i=s.createContext(!1);i.Provider,e.i(73491);let n=s.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}));var u=e.i(32186),a=e.i(33461);e.s(["useBaseQuery",0,function(e,t,o){let c,l=s.useContext(i),h=s.useContext(n),d=(0,r.useQueryClient)(o),f=d.defaultQueryOptions(e),p=d.getQueryCache().get(f.queryHash),y=!1!==e.subscribed;if(f._optimisticResults=l?"isRestoring":y?"optimistic":void 0,f.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=f.staleTime;f.staleTime="function"==typeof t?(...r)=>e(t(...r)):e(t),"number"==typeof f.gcTime&&(f.gcTime=Math.max(f.gcTime,1e3))}c=p?.state.error&&"function"==typeof f.throwOnError?(0,u.shouldThrowError)(f.throwOnError,[p.state.error,p]):f.throwOnError,(f.suspense||c)&&!h.isReset()&&(f.retryOnMount=!1),s.useEffect(()=>{h.clearReset()},[h]);let[v]=s.useState(()=>new t(d,f)),R=v.getOptimisticResult(f),b=!l&&y;if(s.useSyncExternalStore(s.useCallback(e=>{let t=b?v.subscribe(a.notifyManager.batchCalls(e)):u.noop;return v.updateResult(),t},[v,b]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),s.useEffect(()=>{v.setOptions(f)},[f,v]),f?.suspense&&R.isPending)throw v.fetchOptimistic(f).catch(()=>{h.clearReset()});if((({result:e,errorResetBoundary:t,throwOnError:r,query:s,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(i&&void 0===e.data||(0,u.shouldThrowError)(r,[e.error,s])))({result:R,errorResetBoundary:h,throwOnError:f.throwOnError,query:p,suspense:f.suspense}))throw R.error;return f.notifyOnChangeProps?R:v.trackResult(R)}],17663);var o=e.i(5169),c=e.i(52363),l=e.i(54891),h=e.i(62239),d=e.i(58171),f=class extends l.Subscribable{#e;#t=void 0;#r=void 0;#s=void 0;#i;#n;#u;#a;#o;#c;#l;#h;#d;#f=new Set;constructor(e,t){super(),this.options=t,this.#e=e,this.#u=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#t.addObserver(this),p(this.#t,this.options)?this.#p():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return y(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return y(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#v(),this.#R(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,r=this.#t;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,u.resolveQueryValue)(this.options.enabled,this.#t))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#b(),this.#t.setOptions(this.options),t._defaulted&&!(0,u.shallowEqualObjects)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});let s=this.hasListeners();s&&v(this.#t,r,this.options,t)&&this.#p(),this.updateResult(),s&&(this.#t!==r||(0,u.resolveQueryValue)(this.options.enabled,this.#t)!==(0,u.resolveQueryValue)(t.enabled,this.#t)||(0,u.resolveQueryValue)(this.options.staleTime,this.#t)!==(0,u.resolveQueryValue)(t.staleTime,this.#t))&&this.#Q();let i=this.#g();s&&(this.#t!==r||(0,u.resolveQueryValue)(this.options.enabled,this.#t)!==(0,u.resolveQueryValue)(t.enabled,this.#t)||i!==this.#d)&&this.#m(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),r=this.createResult(t,e);return(0,u.shallowEqualObjects)(this.getCurrentResult(),r)||(this.#s=r,this.#n=this.options,this.#i=this.#t.state),r}getCurrentResult(){return this.#s}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),Reflect.get(e,r))})}trackProp(e){this.#f.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t,r=this.#e.defaultQueryOptions(e),s=this.#e.getQueryCache().build(this.#e,r),i=()=>{},n=new Promise(e=>{t=e,i=this.#e.getQueryCache().subscribe(t=>{"updated"===t.type&&t.query.queryHash===s.queryHash&&void 0!==s.state.data&&(i(),e(this.createResult(s,r)))})});return Promise.race([s.fetch().then(()=>{let e=this.createResult(s,r);return t?.(e),e}).finally(()=>{i()}),n])}fetch(e){return this.#p({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#s))}#p(e){this.#b();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(u.noop)),t}#O(e){return!(0,c.isServer)()&&!1!==(0,u.resolveQueryValue)(this.options.enabled,this.#t)&&(0,u.isValidTimeout)(e)}#Q(){this.#v();let e=(0,u.resolveQueryValue)(this.options.staleTime,this.#t);if(this.#s.isStale||!this.#O(e))return;let t=(0,u.timeUntilStale)(this.#s.dataUpdatedAt,e)+1;this.#l=o.timeoutManager.setTimeout(()=>{this.#s.isStale||this.updateResult()},t)}#g(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#m(e){this.#R(),this.#d=e,0!==this.#d&&this.#O(this.#d)&&(this.#h=o.timeoutManager.setInterval(()=>
1{(this.options.refetchIntervalInBackground||h.focusManager.isFocused())&&this.#p()},this.#d))}#y(){this.#Q(),this.#m(this.#g())}#v(){void 0!==this.#l&&(o.timeoutManager.clearTimeout(this.#l),this.#l=void 0)}#R(){void 0!==this.#h&&(o.timeoutManager.clearInterval(this.#h),this.#h=void 0)}createResult(e,t){let r,s=this.#t,i=this.options,n=this.#s,a=this.#i,o=this.#n,c=e!==s?e.state:this.#r,{state:l}=e,h={...l},f=!1;if(t._optimisticResults){let r=this.hasListeners(),n=!r&&p(e,t),u=r&&v(e,s,t,i);(n||u)&&(h={...h,...(0,d.fetchState)(l.data,e.options)}),"isRestoring"===t._optimisticResults&&(h.fetchStatus="idle")}let{error:y,errorUpdatedAt:b,status:Q}=h;r=h.data;let g=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===Q){let e;n?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=n.data,g=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#c?.state.data,this.#c):t.placeholderData,void 0!==e&&(Q="success",r=(0,u.replaceData)(n?.data,e,t),f=!0)}if(t.select&&void 0!==r&&!g)if(n&&r===a?.data&&t.select===this.#a)r=this.#o;else try{this.#a=t.select,r=t.select(r),r=(0,u.replaceData)(n?.data,r,t),this.#o=r,this.#u=null}catch(e){this.#u=e}else void 0===r&&(this.#u=null);this.#u&&(y=this.#u,r=this.#o,b=Date.now(),Q="error",f=!1);let m="fetching"===h.fetchStatus,O="pending"===Q,I="error"===Q,S=O&&m,T=void 0!==r;return{status:Q,fetchStatus:h.fetchStatus,isPending:O,isSuccess:"success"===Q,isError:I,isInitialLoading:S,isLoading:S,data:r,dataUpdatedAt:h.dataUpdatedAt,error:y,errorUpdatedAt:b,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:h.dataUpdateCount>c.dataUpdateCount||h.errorUpdateCount>c.errorUpdateCount,isFetching:m,isRefetching:m&&!O,isLoadingError:I&&!T,isPaused:"paused"===h.fetchStatus,isPlaceholderData:f,isRefetchError:I&&T,isStale:R(e,t),refetch:this.refetch,isEnabled:!1!==(0,u.resolveQueryValue)(t.enabled,e)}}updateResult(){let e=this.#s,t=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#n=this.options,void 0!==this.#i.data&&(this.#c=this.#t),(0,u.shallowEqualObjects)(t,e))return;this.#s=t;let r=(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#f.size)return!0;let s=new Set(r??this.#f);return this.options.throwOnError&&s.add("error"),Object.keys(this.#s).some(t=>this.#s[t]!==e[t]&&s.has(t))})();a.notifyManager.batch(()=>{r&&this.listeners.forEach(e=>{e(this.#s)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}#b(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#r=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}};function p(e,t){return!1!==(0,u.resolveQueryValue)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==(0,u.resolveQueryValue)(t.retryOnMount,e))||void 0!==e.state.data&&y(e,t,t.refetchOnMount)}function y(e,t,r){if(!1!==(0,u.resolveQueryValue)(t.enabled,e)&&"static"!==(0,u.resolveQueryValue)(t.staleTime,e)){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&R(e,t)}return!1}function v(e,t,r,s){return(e!==t||!1===(0,u.resolveQueryValue)(s.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&R(e,r)}function R(e,t){return!1!==(0,u.resolveQueryValue)(t.enabled,e)&&e.isStaleByTime((0,u.resolveQueryValue)(t.staleTime,e))}e.s(["QueryObserver",0,f],2841)},63741,e=>{"use strict";var t=e.i(17663),r=e.i(40138),s=e.i(2841),i=class extends s.QueryObserver{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){let{state:s}=e,i=super.createResult(e,t),{isFetching:n,isRefetching:u,isError:a,isRefetchError:o}
1=i,c=s.fetchMeta?.fetchMore?.direction,l=a&&"forward"===c,h=n&&"forward"===c,d=a&&"backward"===c,f=n&&"backward"===c;return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,r.hasNextPage)(t,s.data),hasPreviousPage:(0,r.hasPreviousPage)(t,s.data),isFetchNextPageError:l,isFetchingNextPage:h,isFetchPreviousPageError:d,isFetchingPreviousPage:f,isRefetchError:o&&!l&&!d,isRefetching:u&&!h&&!f}}};e.s(["useInfiniteQuery",0,function(e,r){return(0,t.useBaseQuery)(e,i,r)}],63741)},51853,(e,t,r)=>{var s=0/0,i=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,a=/^0o[0-7]+$/i,o=parseInt,c=e.g&&e.g.Object===Object&&e.g,l="object"==typeof self&&self&&self.Object===Object&&self,h=c||l||Function("return this")(),d=Object.prototype.toString,f=Math.max,p=Math.min,y=function(){return h.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function R(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==d.call(t))return s;if(v(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=v(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var c=u.test(e);return c||a.test(e)?o(e.slice(2),c?2:8):n.test(e)?s:+e}t.exports=function(e,t,r){var s,i,n,u,a,o,c=0,l=!1,h=!1,d=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var r=s,n=i;return s=i=void 0,c=t,u=e.apply(n,r)}function Q(e){var r=e-o,s=e-c;return void 0===o||r>=t||r<0||h&&s>=n}function g(){var e,r,s,i=y();if(Q(i))return m(i);a=setTimeout(g,(e=i-o,r=i-c,s=t-e,h?p(s,n-r):s))}function m(e){return(a=void 0,d&&s)?b(e):(s=i=void 0,u)}function O(){var e,r=y(),n=Q(r);if(s=arguments,i=this,o=r,n){if(void 0===a)return c=e=o,a=setTimeout(g,t),l?b(e):u;if(h)return a=setTimeout(g,t),b(o)}return void 0===a&&(a=setTimeout(g,t)),u}return t=R(t)||0,v(r)&&(l=!!r.leading,n=(h="maxWait"in r)?f(R(r.maxWait)||0,t):n,d="trailing"in r?!!r.trailing:d),O.cancel=function(){void 0!==a&&clearTimeout(a),c=0,s=o=i=a=void 0},O.flush=function(){return void 0===a?u:m(y())},O}},52937,e=>{"use strict";var t=e.i(51067);e.i(51853),"u">typeof window?t.useLayoutEffect:t.useEffect,e.s(["useIntersectionObserver",0,function({threshold:e=0,root:r=null,rootMargin:s="0%",freezeOnceVisible:i=!1,initialIsIntersecting:n=!1,onChange:u}={}){var a;let[o,c]=(0,t.useState)(null),[l,h]=(0,t.useState)(()=>({isIntersecting:n,entry:void 0})),d=(0,t.useRef)();d.current=u;let f=(null==(a=l.entry)?void 0:a.isIntersecting)&&i;(0,t.useEffect)(()=>{let t;if(!o||!("IntersectionObserver"in window)||f)return;let n=new IntersectionObserver(e=>{let r=Array.isArray(n.thresholds)?n.thresholds:[n.thresholds];e.forEach(e=>{let s=e.isIntersecting&&r.some(t=>e.intersectionRatio>=t);h({isIntersecting:s,entry:e}),d.current&&d.current(s,e),s&&i&&t&&(t(),t=void 0)})},{threshold:e,root:r,rootMargin:s});return n.observe(o),()=>{n.disconnect()}},[o,JSON.stringify(e),r,s,f,i]);let p=(0,t.useRef)(null);(0,t.useEffect)(()=>{var e;o||null==(e=l.entry)||!e.target||i||f||p.current===l.entry.target||(p.current=l.entry.target,h({isIntersecting:n,entry:void 0}))},[o,l.entry,i,f,n]);let y=[c,!!l.isIntersecting,l.entry];return y.ref=y[0],y.isIntersecting=y[1],y.entry=y[2],y}])},95568,e=>{"use strict";var t=e.i(49572);let r=(0,t.createServerReference)("40659403404da6074634f639f1d8e887766aa016df",t.callServer,void 0,t.findSourceMapURL,"fetchRepositories");e.s(["fetchRepositories",0,r])}]);
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.