PageSourceSearch

https://www.jhordyess.com/_next/static/immutable/chunks/18toyyj_sjzzf.js

js jhordyess.com collected 2026-10-08 06:59:40 UTC 9,470 bytes, 1 lines download raw bytes

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 u=s.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}));var a=e.i(32186),n=e.i(33461);e.s(["useBaseQuery",0,function(e,t,l){let o,h=s.useContext(i),c=s.useContext(u),d=(0,r.useQueryClient)(l),p=d.defaultQueryOptions(e),f=d.getQueryCache().get(p.queryHash),y=!1!==e.subscribed;if(p._optimisticResults=h?"isRestoring":y?"optimistic":void 0,p.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=p.staleTime;p.staleTime="function"==typeof t?(...r)=>e(t(...r)):e(t),"number"==typeof p.gcTime&&(p.gcTime=Math.max(p.gcTime,1e3))}o=f?.state.error&&"function"==typeof p.throwOnError?(0,a.shouldThrowError)(p.throwOnError,[f.state.error,f]):p.throwOnError,(p.suspense||o)&&!c.isReset()&&(p.retryOnMount=!1),s.useEffect(()=>{c.clearReset()},[c]);let[R]=s.useState(()=>new t(d,p)),v=R.getOptimisticResult(p),Q=!h&&y;if(s.useSyncExternalStore(s.useCallback(e=>{let t=Q?R.subscribe(n.notifyManager.batchCalls(e)):a.noop;return R.updateResult(),t},[R,Q]),()=>R.getCurrentResult(),()=>R.getCurrentResult()),s.useEffect(()=>{R.setOptions(p)},[p,R]),p?.suspense&&v.isPending)throw R.fetchOptimistic(p).catch(()=>{c.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,a.shouldThrowError)(r,[e.error,s])))({result:v,errorResetBoundary:c,throwOnError:p.throwOnError,query:f,suspense:p.suspense}))throw v.error;return p.notifyOnChangeProps?v:R.trackResult(v)}],17663);var l=e.i(5169),o=e.i(52363),h=e.i(54891),c=e.i(62239),d=e.i(58171),p=class extends h.Subscribable{#e;#t=void 0;#r=void 0;#s=void 0;#i;#u;#a;#n;#l;#o;#h;#c;#d;#p=new Set;constructor(e,t){super(),this.options=t,this.#e=e,this.#a=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#t.addObserver(this),f(this.#t,this.options)?this.#f():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.#R(),this.#v(),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,a.resolveQueryValue)(this.options.enabled,this.#t))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#Q(),this.#t.setOptions(this.options),t._defaulted&&!(0,a.shallowEqualObjects)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});let s=this.hasListeners();s&&R(this.#t,r,this.options,t)&&this.#f(),this.updateResult(),s&&(this.#t!==r||(0,a.resolveQueryValue)(this.options.enabled,this.#t)!==(0,a.resolveQueryValue)(t.enabled,this.#t)||(0,a.resolveQueryValue)(this.options.staleTime,this.#t)!==(0,a.resolveQueryValue)(t.staleTime,this.#t))&&this.#m();let i=this.#b();s&&(this.#t!==r||(0,a.resolveQueryValue)(this.options.enabled,this.#t)!==(0,a.resolveQueryValue)(t.enabled,this.#t)||i!==this.#d)&&this.#g(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),r=this.createResult(t,e);return(0,a.shallowEqualObjects)(this.getCurrentResult(),r)||(this.#s=r,this.#u=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.#p.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=()=>{},u=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()}),u])}fetch(e){return this.#f({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#s))}#f(e){this.#Q();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(a.noop)),t}#O(e){return!(0,o.isServer)()&&!1!==(0,a.resolveQueryValue)(this.options.enabled,this.#t)&&(0,a.isValidTimeout)(e)}#m(){this.#R();let e=(0,a.resolveQueryValue)(this.options.staleTime,this.#t);if(this.#s.isStale||!this.#O(e))return;let t=(0,a.timeUntilStale)(this.#s.dataUpdatedAt,e)+1;this.#h=l.timeoutManager.setTimeout(()=>{this.#s.isStale||this.updateResult()},t)}#b(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#g(e){this.#v(),this.#d=e,0!==this.#d&&this.#O(this.#d)&&(this.#c=l.timeoutManager.setInterval(()=>
1{(this.options.refetchIntervalInBackground||c.focusManager.isFocused())&&this.#f()},this.#d))}#y(){this.#m(),this.#g(this.#b())}#R(){void 0!==this.#h&&(l.timeoutManager.clearTimeout(this.#h),this.#h=void 0)}#v(){void 0!==this.#c&&(l.timeoutManager.clearInterval(this.#c),this.#c=void 0)}createResult(e,t){let r,s=this.#t,i=this.options,u=this.#s,n=this.#i,l=this.#u,o=e!==s?e.state:this.#r,{state:h}=e,c={...h},p=!1;if(t._optimisticResults){let r=this.hasListeners(),u=!r&&f(e,t),a=r&&R(e,s,t,i);(u||a)&&(c={...c,...(0,d.fetchState)(h.data,e.options)}),"isRestoring"===t._optimisticResults&&(c.fetchStatus="idle")}let{error:y,errorUpdatedAt:Q,status:m}=c;r=c.data;let b=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===m){let e;u?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(e=u.data,b=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#o?.state.data,this.#o):t.placeholderData,void 0!==e&&(m="success",r=(0,a.replaceData)(u?.data,e,t),p=!0)}if(t.select&&void 0!==r&&!b)if(u&&r===n?.data&&t.select===this.#n)r=this.#l;else try{this.#n=t.select,r=t.select(r),r=(0,a.replaceData)(u?.data,r,t),this.#l=r,this.#a=null}catch(e){this.#a=e}else void 0===r&&(this.#a=null);this.#a&&(y=this.#a,r=this.#l,Q=Date.now(),m="error",p=!1);let g="fetching"===c.fetchStatus,O="pending"===m,S="error"===m,I=O&&g,T=void 0!==r;return{status:m,fetchStatus:c.fetchStatus,isPending:O,isSuccess:"success"===m,isError:S,isInitialLoading:I,isLoading:I,data:r,dataUpdatedAt:c.dataUpdatedAt,error:y,errorUpdatedAt:Q,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:c.dataUpdateCount>o.dataUpdateCount||c.errorUpdateCount>o.errorUpdateCount,isFetching:g,isRefetching:g&&!O,isLoadingError:S&&!T,isPaused:"paused"===c.fetchStatus,isPlaceholderData:p,isRefetchError:S&&T,isStale:v(e,t),refetch:this.refetch,isEnabled:!1!==(0,a.resolveQueryValue)(t.enabled,e)}}updateResult(){let e=this.#s,t=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#u=this.options,void 0!==this.#i.data&&(this.#o=this.#t),(0,a.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.#p.size)return!0;let s=new Set(r??this.#p);return this.options.throwOnError&&s.add("error"),Object.keys(this.#s).some(t=>this.#s[t]!==e[t]&&s.has(t))})();n.notifyManager.batch(()=>{r&&this.listeners.forEach(e=>{e(this.#s)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}#Q(){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 f(e,t){return!1!==(0,a.resolveQueryValue)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==(0,a.resolveQueryValue)(t.retryOnMount,e))||void 0!==e.state.data&&y(e,t,t.refetchOnMount)}function y(e,t,r){if(!1!==(0,a.resolveQueryValue)(t.enabled,e)&&"static"!==(0,a.resolveQueryValue)(t.staleTime,e)){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&v(e,t)}return!1}function R(e,t,r,s){return(e!==t||!1===(0,a.resolveQueryValue)(s.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&v(e,r)}function v(e,t){return!1!==(0,a.resolveQueryValue)(t.enabled,e)&&e.isStaleByTime((0,a.resolveQueryValue)(t.staleTime,e))}e.s(["QueryObserver",0,p],2841)},2729,e=>{"use strict";var t=e.i(73491),r=e.i(93214);e.s(["default",0,({className:e="",image:s,name:i,description:u,url:a})=>(0,t.jsxs)("div",{className:"flex w-80 flex-col gap-y-4 rounded-sm px-4 py-4 shadow-lg "+e,children:[s&&(0,t.jsx)(r.default,{className:"max-h-[180px] object-cover object-top",src:s,alt:i,width:320,height:180}),(0,t.jsx)("h2",{className:"text-lg font-bold",children:i}),(0,t.jsx)("p",{className:"h-20 overflow-hidden text-sm text-ellipsis",children:u}),(0,t.jsx)("a",{className:"btn-medium mx-auto",href:a,target:"_blank",children:"View"})]})])},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.