PageSourceSearch

https://app.mybasecommunity.com/_next/static/chunks/0iuqhp3w2.vru.js

js mybasecommunity.com collected 2026-10-02 16:03:26 UTC 37,457 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"warnOnce",{enumerable:!0,get:function(){return s}});let s=e=>{}},18967,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s={DecodeError:function(){return v},MiddlewareNotFoundError:function(){return S},MissingStaticPage:function(){return C},NormalizeError:function(){return g},PageNotFoundError:function(){return b},SP:function(){return y},ST:function(){return m},WEB_VITALS:function(){return n},execOnce:function(){return a},getDisplayName:function(){return h},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return u},isResSent:function(){return d},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return w}};for(var r in s)Object.defineProperty(i,r,{enumerable:!0,get:s[r]});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,i=!1;return(...s)=>(i||(i=!0,t=e(...s)),t)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>o.test(e);function l(){let{protocol:e,hostname:t,port:i}=window.location;return`${e}//${t}${i?":"+i:""}`}function c(){let{href:e}=window.location,t=l();return e.substring(t.length)}function h(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function f(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let i=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let s=await e.getInitialProps(t);if(i&&d(i))return s;if(!s)throw Object.defineProperty(Error(`"${h(e)}.getInitialProps()" should resolve to an object. But found "${s}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return s}let y="u">typeof performance,m=y&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class v extends Error{}class g extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class C extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class S extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}},98183,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s={assign:function(){return u},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}};for(var r in s)Object.defineProperty(i,r,{enumerable:!0,get:s[r]});function n(e){let t={};for(let[i,s]of e.entries()){let e=t[i];void 0===e?t[i]=s:Array.isArray(e)?e.push(s):t[i]=[e,s]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[i,s]of Object.entries(e))if(Array.isArray(s))for(let e of s)t.append(i,a(e));else t.set(i,a(s));return t}function u(e,...t){for(let i of t){for(let t of i.keys())e.delete(t);for(let[t,s]of i.entries())e.append(t,s)}return e}},91918,20783,e=>{"use strict";var t=e.i(71645);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){return t=>{let s=!1,r=e.map(e=>{let r=i(e,t);return s||"function"!=typeof r||(s=!0),r});if(s)return()=>{for(let t=0;t<r.length;t++){let s=r[t];"function"==typeof s?s():i(e[t],null)}}}}e.s(["composeRefs",0,s,"useComposedRefs",0,function(...e){return t.useCallback(s(...e),e)}],20783);var r=e.i(18050);function n(e){var i;let n,a=(i=e,(n=t.forwardRef((e,i)=>{let{children:r,...n}=e;if(t.isValidElement(r)){var a;let e,o,u=(a=r,(o=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.
1isReactWarning)?a.props.ref:a.props.ref||a.ref),l=function(e,t){let i={...t};for(let s in t){let r=e[s],n=t[s];/^on[A-Z]/.test(s)?r&&n?i[s]=(...e)=>{let t=n(...e);return r(...e),t}:r&&(i[s]=r):"style"===s?i[s]={...r,...n}:"className"===s&&(i[s]=[r,n].filter(Boolean).join(" "))}return{...e,...i}}(n,r.props);return r.type!==t.Fragment&&(l.ref=i?s(i,u):u),t.cloneElement(r,l)}return t.Children.count(r)>1?t.Children.only(null):null})).displayName=`${i}.SlotClone`,n),o=t.forwardRef((e,i)=>{let{children:s,...n}=e,o=t.Children.toArray(s),u=o.find(c);if(u){let e=u.props.children,s=o.map(i=>i!==u?i:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,r.jsx)(a,{...n,ref:i,children:t.isValidElement(e)?t.cloneElement(e,void 0,s):null})}return(0,r.jsx)(a,{...n,ref:i,children:s})});return o.displayName=`${e}.Slot`,o}var a=n("Slot"),o=Symbol("radix.slottable");function u(e){let t=({children:e})=>(0,r.jsx)(r.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=o,t}var l=u("Slottable");function c(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}e.s(["Root",0,a,"Slot",0,a,"Slottable",0,l,"createSlot",0,n,"createSlottable",0,u],91918)},48425,e=>{"use strict";var t=e.i(71645),i=e.i(74080),s=e.i(91918),r=e.i(18050),n=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,i)=>{let n=(0,s.createSlot)(`Primitive.${i}`),a=t.forwardRef((e,t)=>{let{asChild:s,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(s?n:i,{...a,ref:t})});return a.displayName=`Primitive.${i}`,{...e,[i]:a}},{});e.s(["Primitive",0,n,"dispatchDiscreteCustomEvent",0,function(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}])},19273,80166,e=>{"use strict";e.i(47167);var t={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},i=new class{#e=t;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};e.s(["systemSetTimeoutZero",0,function(e){setTimeout(e,0)},"timeoutManager",0,i],80166);var s="u"<typeof window||"Deno"in globalThis;function r(e,t){return(t?.queryKeyHashFn||n)(e)}function n(e){return JSON.stringify(e,(e,t)=>l(t)?Object.keys(t).sort().reduce((e,i)=>(e[i]=t[i],e),{}):t)}function a(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(i=>a(e[i],t[i]))}var o=Object.prototype.hasOwnProperty;function u(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function l(e){if(!c(e))return!1;let t=e.constructor;if(void 0===t)return!0;let i=t.prototype;return!!c(i)&&!!i.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}var h=Symbol();e.s(["addConsumeAwareSignal",0,function(e,t,i){let s,r=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=t(),r||(r=!0,s.aborted?i():s.addEventListener("abort",i,{once:!0})),s)}),e},"addToEnd",0,function(e,t,i=0){let s=[...e,t];return i&&s.length>i?s.slice(1):s},"addToStart",0,function(e,t,i=0){let s=[t,...e];return i&&s.length>i?s.slice(0,-1):s},"ensureQueryFn",0,function(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==h?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))},"functionalUpdate",0,function(e,t){return"function"==typeof e?e(t):e},"hashKey",0,n,"hashQueryKeyByOptions",0,r,"isServer",0,s,"isValidTimeout",0,function(e){return"number"==typeof e&&e>=0&&e!==1/0},"matchMutation",0,function(e,t){let{exact:i,status:s,predicate:r,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(i){if(n(t.options.mutationKey)!==n(o))return!1}else if(!a(t.options.mutationKey,o))return!1}return(!s||t.state.status===s)&&(!r||!!r(t))},"matchQuery",0,function(e,t){let{type:i="all",exact:s,fetchStatus:n,predicate:o,queryKey:u,stale:l}=e;if(u){if(s){if(t.queryHash!==r(u,t.options))return!1}else if(!a(t.queryKey,u))return!1}if("all"!==i){let e=t.isActive();if("active"===i&&!e||"inactive"===i&&e)return!1}return("boolean"!=typeof l||t.isStale()===l)&&(!n||n===t.state.fetchStatus)&&(!o||!!o(t))},"noop",0,function(){},"partialMatchKey",0,a,"replaceData",0,function(e,t,i){return"function"==typeof i.structuralSharing?i.structuralSharing(e,t):!1!==i.structuralSharing?function e(t,i,s=0){if(t===i)return t;if(s>500)return i;let r=u(t)&&u(i);if(!r&&!(l(t)&&l(i)))return i;let n=(r?t:Object.keys(t)).length,a=r?i:Object.keys(i),c=a.length,h=r?Array(c):{},d=0;for(let u=0;u<c;u++){let l=r?u:a[u],c=t[l],f=i[l];if(c===f){h[l]=c,(r?u<n:o.call(t,l))&&d++;continue}if(null===c||null===f||"object"!=typeof c||"object"!=typeof f){h[l]=f;continue}let p=e(c,f,s+1);h[l]=p,p===c&&d++}return n===c&&d===n?t:h}(e,t):t},"resolveEnabled",0,function(e,t){return"function"==typeof e?e(t):e},"resolveStaleTime",0,function(e,t){return"function"==typeof e?e(t):e},"shallowEqualObjects",0,function(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let i in e)if(e[i]!==t[i])return!1;return!0},"shouldThrowError",0,function(e,t){return"function"==typeof e?e(...t):!!e},"skipToken",0,h,"sleep",0,function(e){return new Promise(t=>{i.setTimeout(t,e)})},"timeUntilStale",0,function(e,t){return Math.max(e+(t||0)-Date.now(),0)}],19273)},40143,e=>{"use strict";let t,i,s,r,n,a;var o=e.i(80166).systemSetTimeoutZero,u=(t=[],i=0,s=e=>{e()},r=e=>{e()},n=o,{batch:e=>{let a;i++;try{a=e()}finally{let e;--i||(e=t,t=[],e.length&&n(()=>{r(()=>
1{e.forEach(e=>{s(e)})})}))}return a},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a=e=>{i?t.push(e):n(()=>{s(e)})},setNotifyFunction:e=>{s=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{n=e}});e.s(["notifyManager",0,u])},75555,15823,e=>{"use strict";var t=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};e.s(["Subscribable",0,t],15823);var i=new class extends t{#i;#s;#r;constructor(){super(),this.#r=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#s||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#s?.(),this.#s=void 0)}setEventListener(e){this.#r=e,this.#s?.(),this.#s=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#i!==e&&(this.#i=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#i?this.#i:globalThis.document?.visibilityState!=="hidden"}};e.s(["focusManager",0,i],75555)},14448,93803,e=>{"use strict";var t=e.i(15823),i=new class extends t.Subscribable{#n=!0;#s;#r;constructor(){super(),this.#r=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e(!0),i=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",i)}}}}onSubscribe(){this.#s||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#s?.(),this.#s=void 0)}setEventListener(e){this.#r=e,this.#s?.(),this.#s=e(this.setOnline.bind(this))}setOnline(e){this.#n!==e&&(this.#n=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#n}};e.s(["onlineManager",0,i],14448),e.i(19273),e.s(["pendingThenable",0,function(){let e,t,i=new Promise((i,s)=>{e=i,t=s});function s(e){Object.assign(i,e),delete i.resolve,delete i.reject}return i.status="pending",i.catch(()=>{}),i.resolve=t=>{s({status:"fulfilled",value:t}),e(t)},i.reject=e=>{s({status:"rejected",reason:e}),t(e)},i}],93803)},73911,e=>{"use strict";let t;var i=e.i(19273),s=(t=()=>i.isServer,{isServer:()=>t(),setIsServer(e){t=e}});e.s(["environmentManager",0,s])},86491,36553,88587,e=>{"use strict";e.i(47167);var t=e.i(19273),i=e.i(40143),s=e.i(75555),r=e.i(14448),n=e.i(93803),a=e.i(73911);function o(e){return Math.min(1e3*2**e,3e4)}function u(e){return(e??"online")!=="online"||r.onlineManager.isOnline()}var l=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function c(e){let i,c=!1,h=0,d=(0,n.pendingThenable)(),f=()=>s.focusManager.isFocused()&&("always"===e.networkMode||r.onlineManager.isOnline())&&e.canRun(),p=()=>u(e.networkMode)&&e.canRun(),y=e=>{"pending"===d.status&&(i?.(),d.resolve(e))},m=e=>{"pending"===d.status&&(i?.(),d.reject(e))},v=()=>new Promise(t=>{i=e=>{("pending"!==d.status||f())&&t(e)},e.onPause?.()}).then(()=>{i=void 0,"pending"===d.status&&e.onContinue?.()}),g=()=>{let i;if("pending"!==d.status)return;let s=0===h?e.initialPromise:void 0;try{i=s??e.fn()}catch(e){i=Promise.reject(e)}Promise.resolve(i).then(y).catch(i=>{if("pending"!==d.status)return;let s=e.retry??3*!a.environmentManager.isServer(),r=e.retryDelay??o,n="function"==typeof r?r(h,i):r,u=!0===s||"number"==typeof s&&h<s||"function"==typeof s&&s(h,i);c||!u?m(i):(h++,e.onFail?.(h,i),(0,t.sleep)(n).then(()=>f()?void 0:v()).then(()=>{c?m(i):g()}))})};return{promise:d,status:()=>d.status,cancel:t=>{if("pending"===d.status){let i=new l(t);m(i),e.onCancel?.(i)}},continue:()=>(i?.(),d),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1},canStart:p,start:()=>(p()?g():v().then(g),d)}}e.s(["CancelledError",0,l,"canFetch",0,u,"createRetryer",0,c],36553);var h=e.i(80166),d=class{#a;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,t.isValidTimeout)(this.gcTime)&&(this.#a=h.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(a.environmentManager.isServer()?1/0:3e5))}clearGcTimeout(){this.#a&&(h.timeoutManager.clearTimeout(this.#a),this.#a=void 0)}};e.s(["Removable",0,d],88587);var f=class extends d{#o;#u;#l;#c;#h;#d;#f;constructor(e){super(),this.#f=!1,this.#d=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#c=e.client,this.#l=this.#c.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#o=m(this.options),this.state=e.state??this.#o,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#h?.promise}setOptions(e){if(this.options={...this.#d,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=m(this.options);void 0!==e.data&&(this.setState(y(e.data,e.dataUpdatedAt)),this.#o=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#l.remove(this)}setData(e,i){let s=(0,t.replaceData)(this.state.data,e,this.options);return this.#p({data:s,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),s}setState(e,t){this.#p({type:"setState",state:e,setStateOptions:t})}cancel(e){let i=this.#h?.promise;return this.#h?.cancel(e),i?i.then(t.noop).catch(t.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#o}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,t.resolveEnabled)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===t.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
1Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,t.resolveStaleTime)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,t.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#h?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#h?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#l.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#h&&(this.#f||this.#y()?this.#h.cancel({revert:!0}):this.#h.cancelRetry()),this.scheduleGc()),this.#l.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#y(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#p({type:"invalidate"})}async fetch(e,i){let s;if("idle"!==this.state.fetchStatus&&this.#h?.status()!=="rejected"){if(void 0!==this.state.data&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#h)return this.#h.continueRetry(),this.#h.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let r=new AbortController,n=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#f=!0,r.signal)})},a=()=>{let e,s=(0,t.ensureQueryFn)(this.options,i),r=(n(e={client:this.#c,queryKey:this.queryKey,meta:this.meta}),e);return(this.#f=!1,this.options.persister)?this.options.persister(s,r,this):s(r)},o=(n(s={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:this.#c,state:this.state,fetchFn:a}),s);this.options.behavior?.onFetch(o,this),this.#u=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#p({type:"fetch",meta:o.fetchOptions?.meta}),this.#h=c({initialPromise:i?.initialPromise,fn:o.fetchFn,onCancel:e=>{e instanceof l&&e.revert&&this.setState({...this.#u,fetchStatus:"idle"}),r.abort()},onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:()=>{this.#p({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{let e=await this.#h.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#l.config.onSuccess?.(e,this),this.#l.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof l){if(e.silent)return this.#h.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#p({type:"error",error:e}),this.#l.config.onError?.(e,this),this.#l.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#p(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...p(t.data,this.options),fetchMeta:e.meta??null};case"success":let i={...t,...y(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#u=e.manual?i:void 0,i;case"error":let s=e.error;return{...t,error:s,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),i.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#l.notify({query:this,type:"updated",action:e})})}};function p(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:u(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function y(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function m(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,i=void 0!==t,
1s=i?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:i?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}e.s(["Query",0,f,"fetchState",0,p],86491)},12598,e=>{"use strict";var t=e.i(71645),i=e.i(18050),s=t.createContext(void 0);e.s(["QueryClientProvider",0,({client:e,children:r})=>(t.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,i.jsx)(s.Provider,{value:e,children:r})),"useQueryClient",0,e=>{let i=t.useContext(s);if(e)return e;if(!i)throw Error("No QueryClient set, use QueryClientProvider to set one");return i}])},57778,17521,e=>{"use strict";let t=(0,e.i(75254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t],17521),e.s(["Loader2Icon",0,t],57778)},63178,e=>{"use strict";var t=e.i(71645),i=(e,t,i,s,r,n,a,o)=>{let u=document.documentElement,l=["light","dark"];function c(t){var i;(Array.isArray(e)?e:[e]).forEach(e=>{let i="class"===e,s=i&&n?r.map(e=>n[e]||e):r;i?(u.classList.remove(...s),u.classList.add(n&&n[t]?n[t]:t)):u.setAttribute(e,t)}),i=t,o&&l.includes(i)&&(u.style.colorScheme=i)}if(s)c(s);else try{let e=localStorage.getItem(t)||i,s=a&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(s)}catch(e){}},s=["light","dark"],r="(prefers-color-scheme: dark)",n="u"<typeof window,a=t.createContext(void 0),o={setTheme:e=>{},themes:[]},u=["light","dark"],l=({forcedTheme:e,disableTransitionOnChange:i=!1,enableSystem:n=!0,enableColorScheme:o=!0,storageKey:l="theme",themes:p=u,defaultTheme:y=n?"system":"light",attribute:m="data-theme",value:v,children:g,nonce:b,scriptProps:C})=>{let[S,w]=t.useState(()=>h(l,y)),[O,P]=t.useState(()=>"system"===S?f():S),T=v?Object.values(v):p,E=t.useCallback(e=>{let t=e;if(!t)return;"system"===e&&n&&(t=f());let r=v?v[t]:t,a=i?d(b):null,u=document.documentElement,l=e=>{"class"===e?(u.classList.remove(...T),r&&u.classList.add(r)):e.startsWith("data-")&&(r?u.setAttribute(e,r):u.removeAttribute(e))};if(Array.isArray(m)?m.forEach(l):l(m),o){let e=s.includes(y)?y:null,i=s.includes(t)?t:e;u.style.colorScheme=i}null==a||a()},[b]),M=t.useCallback(e=>{let t="function"==typeof e?e(S):e;w(t);try{localStorage.setItem(l,t)}catch(e){}},[S]),q=t.useCallback(t=>{P(f(t)),"system"===S&&n&&!e&&E("system")},[S,e]);t.useEffect(()=>{let e=window.matchMedia(r);return e.addListener(q),q(e),()=>e.removeListener(q)},[q]),t.useEffect(()=>{let e=e=>{e.key===l&&(e.newValue?w(e.newValue):M(y))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[M]),t.useEffect(()=>{E(null!=e?e:S)},[e,S]);let x=t.useMemo(()=>({theme:S,setTheme:M,forcedTheme:e,resolvedTheme:"system"===S?O:S,themes:n?[...p,"system"]:p,systemTheme:n?O:void 0}),[S,M,e,O,n,p]);return t.createElement(a.Provider,{value:x},t.createElement(c,{forcedTheme:e,storageKey:l,attribute:m,enableSystem:n,enableColorScheme:o,defaultTheme:y,value:v,themes:p,nonce:b,scriptProps:C}),g)},c=t.memo(({forcedTheme:e,storageKey:s,attribute:r,enableSystem:n,enableColorScheme:a,defaultTheme:o,value:u,themes:l,nonce:c,scriptProps:h})=>{let d=JSON.stringify([r,s,o,e,l,u,n,a]).slice(1,-1);return t.createElement("script",{...h,suppressHydrationWarning:!0,nonce:"u"<typeof window?c:"",dangerouslySetInnerHTML:{__html:`(${i.toString()})(${d})`}})}),h=(e,t)=>{let i;if(!n){try{i=localStorage.getItem(e)||void 0}catch(e){}return i||t}},d=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},f=e=>(e||(e=window.matchMedia(r)),e.matches?"dark":"light");e.s(["ThemeProvider",0,e=>t.useContext(a)?t.createElement(t.Fragment,null,e.children):t.createElement(l,{...e}),"useTheme",0,()=>{var e;return null!=(e=t.useContext(a))?e:o}])},79664,e=>{"use strict";
1let t=(0,e.i(75254).default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["default",0,t])},23287,e=>{"use strict";let t=(0,e.i(75254).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["default",0,t])},14272,e=>{"use strict";var t=e.i(40143),i=e.i(88587),s=e.i(36553),r=class extends i.Removable{#c;#m;#v;#h;constructor(e){super(),this.#c=e.client,this.mutationId=e.mutationId,this.#v=e.mutationCache,this.#m=[],this.state=e.state||n(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#m.includes(e)||(this.#m.push(e),this.clearGcTimeout(),this.#v.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#m=this.#m.filter(t=>t!==e),this.scheduleGc(),this.#v.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#m.length||("pending"===this.state.status?this.scheduleGc():this.#v.remove(this))}continue(){return this.#h?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#p({type:"continue"})},i={client:this.#c,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#h=(0,s.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,i):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#v.canRun(this)});let r="pending"===this.state.status,n=!this.#h.canStart();try{if(r)t();else{this.#p({type:"pending",variables:e,isPaused:n}),this.#v.config.onMutate&&await this.#v.config.onMutate(e,this,i);let t=await this.options.onMutate?.(e,i);t!==this.state.context&&this.#p({type:"pending",context:t,variables:e,isPaused:n})}let s=await this.#h.start();return await this.#v.config.onSuccess?.(s,e,this.state.context,this,i),await this.options.onSuccess?.(s,e,this.state.context,i),await this.#v.config.onSettled?.(s,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(s,null,e,this.state.context,i),this.#p({type:"success",data:s}),s}catch(t){try{await this.#v.config.onError?.(t,e,this.state.context,this,i)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,i)}catch(e){Promise.reject(e)}try{await this.#v.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,i)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,i)}catch(e){Promise.reject(e)}throw this.#p({type:"error",error:t}),t}finally{this.#v.runNext(this)}}#p(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),t.notifyManager.batch(()=>{this.#m.forEach(t=>{t.onMutationUpdate(e)}),this.#v.notify({mutation:this,type:"updated",action:e})})}};function n(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}e.s(["Mutation",0,r,"getDefaultState",0,n])},71007,e=>{"use strict";var t=e.i(18050),i=e.i(66347),s=e.i(19273),r=e.i(86491),n=e.i(40143),a=e.i(15823),o=class extends a.Subscribable{constructor(e={}){super(),this.config=e,this.#g=new Map}#g;build(e,t,i){let n=t.queryKey,a=t.queryHash??(0,s.hashQueryKeyByOptions)(n,t),o=this.get(a);return o||(o=new r.Query({client:e,queryKey:n,queryHash:a,options:e.defaultQueryOptions(t),state:i,defaultOptions:e.getQueryDefaults(n)}),this.add(o)),o}add(e){this.#g.has(e.queryHash)||(this.#g.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#g.get(e.queryHash);t&&(e.destroy(),t===e&&this.#g.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){n.notifyManager.batch(()=>
1{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#g.get(e)}getAll(){return[...this.#g.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,s.matchQuery)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,s.matchQuery)(e,t)):t}notify(e){n.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){n.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){n.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},u=e.i(14272),l=a,c=class extends l.Subscribable{constructor(e={}){super(),this.config=e,this.#b=new Set,this.#C=new Map,this.#S=0}#b;#C;#S;build(e,t,i){let s=new u.Mutation({client:e,mutationCache:this,mutationId:++this.#S,options:e.defaultMutationOptions(t),state:i});return this.add(s),s}add(e){this.#b.add(e);let t=h(e);if("string"==typeof t){let i=this.#C.get(t);i?i.push(e):this.#C.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#b.delete(e)){let t=h(e);if("string"==typeof t){let i=this.#C.get(t);if(i)if(i.length>1){let t=i.indexOf(e);-1!==t&&i.splice(t,1)}else i[0]===e&&this.#C.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=h(e);if("string"!=typeof t)return!0;{let i=this.#C.get(t),s=i?.find(e=>"pending"===e.state.status);return!s||s===e}}runNext(e){let t=h(e);if("string"!=typeof t)return Promise.resolve();{let i=this.#C.get(t)?.find(t=>
1t!==e&&t.state.isPaused);return i?.continue()??Promise.resolve()}}clear(){n.notifyManager.batch(()=>{this.#b.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#b.clear(),this.#C.clear()})}getAll(){return Array.from(this.#b)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,s.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,s.matchMutation)(e,t))}notify(e){n.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return n.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(s.noop))))}};function h(e){return e.options.scope?.id}var d=e.i(75555),f=e.i(14448),p=e.i(92571),y=class{#w;#v;#d;#O;#P;#T;#E;#M;constructor(e={}){this.#w=e.queryCache||new o,this.#v=e.mutationCache||new c,this.#d=e.defaultOptions||{},this.#O=new Map,this.#P=new Map,this.#T=0}mount(){this.#T++,1===this.#T&&(this.#E=d.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#w.onFocus())}),this.#M=f.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#w.onOnline())}))}unmount(){this.#T--,0===this.#T&&(this.#E?.(),this.#E=void 0,this.#M?.(),this.#M=void 0)}isFetching(e){return this.#w.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#v.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#w.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),i=this.#w.build(this,t),r=i.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&i.isStaleByTime((0,s.resolveStaleTime)(t.staleTime,i))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#w.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,i){let r=this.defaultQueryOptions({queryKey:e}),n=this.#w.get(r.queryHash),a=n?.state.data,o=(0,s.functionalUpdate)(t,a);if(void 0!==o)return this.#w.build(this,r).setData(o,{...i,manual:!0})}setQueriesData(e,t,i){return n.notifyManager.batch(()=>this.#w.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,i)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#w.get(t.queryHash)?.state}removeQueries(e){let t=this.#w;n.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let i=this.#w;return n.notifyManager.batch(()=>(i.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let i={revert:!0,...t};return Promise.all(n.notifyManager.batch(()=>this.#w.findAll(e).map(e=>e.cancel(i)))).then(s.noop).catch(s.noop)}invalidateQueries(e,t={}){return n.notifyManager.batch(()=>(this.#w.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let i={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(n.notifyManager.batch(()=>this.#w.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,i);return i.throwOnError||(t=t.catch(s.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(s.noop)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let i=this.#w.build(this,t);return i.isStaleByTime((0,s.resolveStaleTime)(t.staleTime,i))?i.fetch(t):Promise.resolve(i.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(s.noop).catch(s.noop)}fetchInfiniteQuery(e){return e.behavior=(0,p.infiniteQueryBehavior)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(s.noop).catch(s.noop)}ensureInfiniteQueryData(e){return e.behavior=(0,p.infiniteQueryBehavior)(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return f.onlineManager.isOnline()?this.#v.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#w}getMutationCache(){return this.#v}getDefaultOptions(){return this.#d}setDefaultOptions(e){this.#d=e}setQueryDefaults(e,t){this.#O.set((0,s.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#O.values()],i={};return t.forEach(t=>{(0,s.partialMatchKey)(e,t.queryKey)&&Object.assign(i,t.defaultOptions)}),i}setMutationDefaults(e,t){this.#P.set((0,s.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#P.values()],i={};return t.forEach(t=>{(0,s.partialMatchKey)(e,t.mutationKey)&&Object.assign(i,t.defaultOptions)}),i}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#d.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,s.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===s.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#d.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#w.clear(),this.#v.clear()}},m=e.i(12598),v=e.i(71645);function g({children:e}){let[i]=(0,v.useState)(()=>new y({defaultOptions:{queries:{staleTime:3e4,gcTime:3e5,refetchOnWindowFocus:!1}}}));return(0,t.jsx)(m.QueryClientProvider,{client:i,children:e})}var b=e.i(43270),C=e.i(63178);function S({children:e}){return(0,t.jsx)(C.ThemeProvider,{attribute:"class",defaultTheme:"system",enableSystem:!0,disableTransitionOnChange:!0,children:e})}var w=e.i(46696),O=e.i(23287),O=O,P=e.i(79664),P=P,T=e.i(75254);let E=(0,T.default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),M=(0,T.default)("octagon-x",[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var q=e.i(57778);let x=({...e})=>{let{theme:i="system"}=(0,C.useTheme)();return(0,t.jsx)(w.Toaster,{theme:i,className:"toaster group",icons:{success:(0,t.jsx)(O.default,{className:"size-4"}),info:(0,t.jsx)(P.default,{className:"size-4"}),warning:(0,t.jsx)(E,{className:"size-4"}),error:(0,t.jsx)(M,{className:"size-4"}),loading:(0,t.jsx)(q.Loader2Icon,{className:"size-4 animate-spin"})},style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)","--border-radius":"var(--radius)"},toastOptions:{classNames:{toast:"cn-toast"}},...e})};var A=e.i(28231);e.s(["AppProviders",0,function({children:e}){return(0,t.jsx)(S,{children:(0,t.jsx)(A.TooltipProvider,{children:(0,t.jsx)(g,{children:(0,t.jsx)(i.AuthProvider,{children:(0,t.jsxs)(b.StreamChatProvider,{children:[e,(0,t.jsx)(x,{position:"top-right",richColors:!0})]})})})})})}],71007)}]);

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.