@akashjs/runtime 0.2.2 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/{chunk-NVZLEJXB.cjs → chunk-2Q6SYE5O.cjs} +2 -2
  2. package/dist/{chunk-NVZLEJXB.cjs.map → chunk-2Q6SYE5O.cjs.map} +1 -1
  3. package/dist/chunk-2U643GJZ.cjs +2 -0
  4. package/dist/chunk-2U643GJZ.cjs.map +1 -0
  5. package/dist/chunk-35DJOBEO.cjs +2 -0
  6. package/dist/chunk-35DJOBEO.cjs.map +1 -0
  7. package/dist/{chunk-POLTPHUA.js → chunk-3GRR4VW2.js} +3 -3
  8. package/dist/{chunk-3AL2DVPZ.cjs.map → chunk-3GRR4VW2.js.map} +1 -1
  9. package/dist/{chunk-Z5LQV5ND.js → chunk-5A7KDBDU.js} +2 -2
  10. package/dist/{chunk-Z5LQV5ND.js.map → chunk-5A7KDBDU.js.map} +1 -1
  11. package/dist/{chunk-D6QQYZIC.js → chunk-5NHDEY2C.js} +2 -2
  12. package/dist/chunk-5NHDEY2C.js.map +1 -0
  13. package/dist/{chunk-NQVWTQ2I.cjs → chunk-6GGYM5SF.cjs} +3 -3
  14. package/dist/{chunk-NQVWTQ2I.cjs.map → chunk-6GGYM5SF.cjs.map} +1 -1
  15. package/dist/chunk-AVVJKYT3.cjs +2 -0
  16. package/dist/chunk-AVVJKYT3.cjs.map +1 -0
  17. package/dist/{chunk-3AL2DVPZ.cjs → chunk-EEILP4OL.cjs} +3 -3
  18. package/dist/chunk-EEILP4OL.cjs.map +1 -0
  19. package/dist/{chunk-BT6HNBE7.js → chunk-FTTNKDZQ.js} +3 -3
  20. package/dist/{chunk-BT6HNBE7.js.map → chunk-FTTNKDZQ.js.map} +1 -1
  21. package/dist/chunk-H2HNKYN2.js +2 -0
  22. package/dist/chunk-H2HNKYN2.js.map +1 -0
  23. package/dist/chunk-TKFJGLUO.js +2 -0
  24. package/dist/chunk-TKFJGLUO.js.map +1 -0
  25. package/dist/chunk-U53YRJNV.js +36 -0
  26. package/dist/chunk-U53YRJNV.js.map +1 -0
  27. package/dist/chunk-ZYVQQ5VR.cjs +36 -0
  28. package/dist/chunk-ZYVQQ5VR.cjs.map +1 -0
  29. package/dist/{context-2uQ6fuxu.d.ts → context-CB1mCq2h.d.cts} +1 -1
  30. package/dist/{context-2uQ6fuxu.d.cts → context-CB1mCq2h.d.ts} +1 -1
  31. package/dist/core.cjs +1 -1
  32. package/dist/core.d.cts +1 -1
  33. package/dist/core.d.ts +1 -1
  34. package/dist/core.js +1 -1
  35. package/dist/devtools-overlay-CJWKBTP4.js +57 -0
  36. package/dist/devtools-overlay-CJWKBTP4.js.map +1 -0
  37. package/dist/devtools-overlay-EQ3G755P.cjs +57 -0
  38. package/dist/devtools-overlay-EQ3G755P.cjs.map +1 -0
  39. package/dist/index.cjs +18 -18
  40. package/dist/index.cjs.map +1 -1
  41. package/dist/index.d.cts +11 -7
  42. package/dist/index.d.ts +11 -7
  43. package/dist/index.js +18 -18
  44. package/dist/index.js.map +1 -1
  45. package/dist/machine.cjs +1 -1
  46. package/dist/machine.js +1 -1
  47. package/dist/offline.cjs +1 -1
  48. package/dist/offline.d.cts +2 -0
  49. package/dist/offline.d.ts +2 -0
  50. package/dist/offline.js +1 -1
  51. package/dist/pwa.cjs +1 -1
  52. package/dist/pwa.d.cts +5 -1
  53. package/dist/pwa.d.ts +5 -1
  54. package/dist/pwa.js +1 -1
  55. package/dist/ssr.cjs +1 -1
  56. package/dist/ssr.js +1 -1
  57. package/dist/store.cjs +1 -1
  58. package/dist/store.d.cts +32 -29
  59. package/dist/store.d.ts +32 -29
  60. package/dist/store.js +1 -1
  61. package/dist/sync.cjs +1 -1
  62. package/dist/sync.d.cts +59 -4
  63. package/dist/sync.d.ts +59 -4
  64. package/dist/sync.js +1 -1
  65. package/dist/test.cjs +4 -4
  66. package/dist/test.cjs.map +1 -1
  67. package/dist/test.d.cts +71 -3
  68. package/dist/test.d.ts +71 -3
  69. package/dist/test.js +4 -4
  70. package/dist/test.js.map +1 -1
  71. package/package.json +1 -1
  72. package/dist/chunk-6NX6JRSV.cjs +0 -32
  73. package/dist/chunk-6NX6JRSV.cjs.map +0 -1
  74. package/dist/chunk-D6QQYZIC.js.map +0 -1
  75. package/dist/chunk-H4SAK7A5.cjs +0 -2
  76. package/dist/chunk-H4SAK7A5.cjs.map +0 -1
  77. package/dist/chunk-IKZMC3T6.js +0 -2
  78. package/dist/chunk-IKZMC3T6.js.map +0 -1
  79. package/dist/chunk-IM2VW4TK.js +0 -32
  80. package/dist/chunk-IM2VW4TK.js.map +0 -1
  81. package/dist/chunk-ODDXU5DO.js +0 -2
  82. package/dist/chunk-ODDXU5DO.js.map +0 -1
  83. package/dist/chunk-POLTPHUA.js.map +0 -1
  84. package/dist/chunk-YIB4EKVI.cjs +0 -2
  85. package/dist/chunk-YIB4EKVI.cjs.map +0 -1
  86. package/dist/chunk-YJQLXUTN.cjs +0 -2
  87. package/dist/chunk-YJQLXUTN.cjs.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { R as ReadonlySignal, S as Signal } from './signals-C7XfOHHR.cjs';
2
2
  export { c as computed, e as effect, o as on, s as signal, u as untrack } from './signals-C7XfOHHR.cjs';
3
- import { I as InjectionKey } from './context-2uQ6fuxu.cjs';
4
- export { b as batch, c as createContext, f as flushSync, g as getCurrentScope, i as inject, p as provide, r as runInScope } from './context-2uQ6fuxu.cjs';
3
+ import { I as InjectionKey } from './context-CB1mCq2h.cjs';
4
+ export { b as batch, c as createContext, f as flushSync, g as getCurrentScope, i as inject, p as provide, r as runInScope } from './context-CB1mCq2h.cjs';
5
5
  import { A as AkashNode, C as Component } from './component-C1WnFcRp.cjs';
6
6
  export { a as ComponentContext, R as Ref, _ as __getter, d as defineComponent, o as onError, b as onMount, c as onUnmount, r as ref } from './component-C1WnFcRp.cjs';
7
7
  export { For, Show, bindProperty, bindText, bindVisible, cloneTemplate, createElement, createText, insert, nodeToDOM, renderConditional, renderList, setProperty } from './core.cjs';
8
8
  export { SSRElement, SSRNode, SSRRaw, SSRText, isServerRendering, nodeToHtml, renderNodes, renderToStream, renderToString, renderToStringSync, ssrElement, ssrRaw, ssrText } from './ssr.cjs';
9
9
  export { Store, StoreDefinition, StorePlugin, __getStoreInstances, clearStores, configureStores, defineStore } from './store.cjs';
10
- export { LWWEntry, LWWRegister, PeerInfo, SyncDoc, SyncOp, SyncOptions, SyncTransport, createLocalTransport, createSync, createWebSocketTransport } from './sync.cjs';
10
+ export { LWWEntry, LWWRegister, PeerInfo, SyncConflict, SyncDoc, SyncOp, SyncOptions, SyncTransport, createLocalTransport, createSync, createWebSocketTransport, useCursor, useTypingIndicator } from './sync.cjs';
11
11
  export { ConflictStrategy, OfflineStore, OfflineStoreOptions, createOfflineStore } from './offline.cjs';
12
12
  export { CacheRoute, CacheStrategy, SWOptions, SWRegistration, generateSWScript, registerServiceWorker, subscribePush } from './pwa.cjs';
13
13
  export { AnimationControl, AnimationOptions, AnimationState, SpringOptions, StaggerOptions, animate, animateGroup, animateSequence, animateSpring, animateStagger, defineStates, keyframes } from './animate.cjs';
@@ -341,7 +341,7 @@ interface ScriptTag {
341
341
  /** @internal — collect head tags during SSR */
342
342
  declare function collectSSRHead(): HeadConfig[];
343
343
  /** Render collected head tags to HTML string (for SSR) */
344
- declare function renderHeadToString(configs: HeadConfig[]): string;
344
+ declare function renderHeadToString(configs?: HeadConfig[] | null): string;
345
345
  /**
346
346
  * Declaratively manage document head tags.
347
347
  * Call inside defineComponent() setup.
@@ -349,7 +349,7 @@ declare function renderHeadToString(configs: HeadConfig[]): string;
349
349
  * Tags are automatically cleaned up when the component unmounts.
350
350
  * Reactive values (signals) in the config trigger updates.
351
351
  */
352
- declare function useHead(config: HeadConfig | (() => HeadConfig)): void;
352
+ declare function useHead(config: HeadConfig | (() => HeadConfig)): () => void;
353
353
 
354
354
  /**
355
355
  * Plugin system.
@@ -3197,7 +3197,11 @@ interface DevToolsAPI {
3197
3197
  * if (import.meta.env.DEV) installDevtools();
3198
3198
  * ```
3199
3199
  */
3200
- declare function installDevtools(): void;
3200
+ interface DevToolsOptions {
3201
+ /** Enable the visual overlay panel (toggle with Ctrl+Shift+D) */
3202
+ overlay?: boolean;
3203
+ }
3204
+ declare function installDevtools(options?: DevToolsOptions): void;
3201
3205
 
3202
3206
  /**
3203
3207
  * Developer-friendly error hints.
@@ -3215,4 +3219,4 @@ declare function enhanceError(error: Error): Error;
3215
3219
  */
3216
3220
  declare function installErrorHints(): void;
3217
3221
 
3218
- export { type APIInfo, type APIStability, AkashNode, type AppInstance, type AriaLive, type AsyncComponentLoader, type AsyncComponentOptions, Await, type AwaitProps, type Breakpoints, type CSPConfig, type ColumnDef, type CompatibilityResult, Component, type CustomElementOptions, type DataTable, type DataTableOptions, type DeepSignal, type DeferOptions, type DeferTrigger, type DeprecationInfo, type DevToolsAPI, type Directive, type DirectiveBinding, type DirectiveHooks, type EasingFn, ErrorBoundary, type ErrorBoundaryProps, type ErrorDef, type EventBus, type EventHandler, type EventMap, type EventModifiers, type FlipController, type FlipOptions, type FocusTrap, type FocusTrapOptions, type FormAction, type GeolocationState, HYDRATE_ATTR, type HeadConfig, type HydrateOptions, Image, type ImageProps, type InfiniteScroll, type InfiniteScrollOptions, InjectionKey, type Injector, type InspectOptions, type Interpolator, type KeyBinding, type KeyboardManager, type LeakWarning, type LinkTag, type MetaTag, type OpenGraphData, type PerfEntry, type PerfProfile, type PerfSummary, type PipeFn, type Plugin, type PluginContext, Portal, type PortalProps, type PrerenderOptions, type PrerenderResult, type ProgressiveHydrateOptions, type ProviderDef, type ProviderRegistration, type QueryStateOptions, ReadonlySignal, type ReconcileOp, type SEOConfig, type SanitizeOptions, type ScriptTag, type SecurityHeadersConfig, Signal, type SitemapEntry, type SlotFn, type Slots, type SnapshotConfig, type Snippet, type SortDirection, type SortState, type StructuredData, Suspense, type SuspenseProps, Switch, type SwitchProps, type Theme, type ThemeConfig, type ThemeVariables, type Toast, type ToastOptions, type ToastPosition, type ToastType, type Toaster, type ToasterOptions, Transition, type TransitionClasses, type TransitionProps, type TweenedOptions, type TweenedSignal, type TwitterCardData, type ViewTransition, type ViewTransitionOptions, VirtualFor, type VirtualForProps, type VirtualRange, type WatchCallback, type WatchOptions, type WatchSource, akashError, applyDirective, applyStyles, assignTransitionName, awaitSignal, bindClass, bindClasses, bindDimensions, bindElement, bindGroup, bindGroupItem, bindScroll, bindStyle, bindStyles, calculateRange, capitalize, chain, checkCompatibility, checkForLeaks, claimElement, claimText, clearProviders, clearQueryState, collectSSRHead, countOps, createApp, createCSRFInterceptor, createDataTable, createEventBus, createFlip, createInjector, createRateLimiter, createSafeHTML, createSlots, createTimer, createToaster, css, currency, cx, date, deepFreeze, deepSignal, defer, defineAsyncComponent, defineCustomElement, defineDirective, defineFormAction, definePipe, definePlugin, defineProvider, defineSnippet, deprecated, deprecatedValue, directiveFromFn, disableLeakDetection, discoverStaticRoutes, easings, enableLeakDetection, enableSnapshots, enhanceError, enterTransition, escapeHtml, exitTransition, findHydrationBoundaries, flip, formatError, formatProfile, generateCSP, generateCSRFToken, generatePaths, generateSRI, generateSecurityHeaders, generateSitemap, generateTransitionCSS, getAPIsByStability, getActiveEffects, getAllErrorCodes, getCSPHeaderName, getDeprecationInfo, getErrorDef, getLeakDetectionStats, getProfileSummary, getQueryParams, getRegisteredAPIs, getSuspenseContext, getTransitionClasses, globalEventBus, hasSlot, hydrate, injectProvider, inspect, installDevtools, installErrorHints, isDeepSignal, isDeprecated, isHydrationActive, isLeakDetectionEnabled, isProfiling, json, longestIncreasingSubsequence, lowercase, match, measureAsync, measureSync, number, onEvent, percent, pipe, plural, prerender, progressiveHydrate, reconcileKeys, recordPerfEntry, registerAPI, registerPending, relativeTime, removeDirectives, removeQueryState, renderHeadToString, renderSlot, renderSwitch, reportLeaks, resetDeprecationWarnings, resetQueryState, safeMerge, sanitize, sanitizeURL, setDeprecationWarnings, setWarningHandler, sitemapFromResults, startProfiling, startViewTransition, stopProfiling, supportsViewTransitions, titleCase, toCustomElement, toRaw, trackEffect, trim, truncate, tweened, untrackEffect, updateDirective, uppercase, urlToFilePath, useAnnounce, useBreakpoint, useClickOutside, useClipboard, useCounter, useDebounce, useFocusTrap, useGeolocation, useHead, useInfiniteScroll, useInterval, useKeyboard, useMediaQuery, useOnline, useOpenGraph, usePrevious, useQueryState, useQueryStates, useSEO, useStorage, useStructuredData, useTheme, useThrottle, useTimeout, useToggle, useTwitterCard, useVirtualList, useWindowSize, vAutoFocus, vClickOutside, vIntersect, vLongPress, vResize, viewTransitionCSS, watch, watchDebounced, watchOnce, withModifiers };
3222
+ export { type APIInfo, type APIStability, AkashNode, type AppInstance, type AriaLive, type AsyncComponentLoader, type AsyncComponentOptions, Await, type AwaitProps, type Breakpoints, type CSPConfig, type ColumnDef, type CompatibilityResult, Component, type CustomElementOptions, type DataTable, type DataTableOptions, type DeepSignal, type DeferOptions, type DeferTrigger, type DeprecationInfo, type DevToolsAPI, type DevToolsOptions, type Directive, type DirectiveBinding, type DirectiveHooks, type EasingFn, ErrorBoundary, type ErrorBoundaryProps, type ErrorDef, type EventBus, type EventHandler, type EventMap, type EventModifiers, type FlipController, type FlipOptions, type FocusTrap, type FocusTrapOptions, type FormAction, type GeolocationState, HYDRATE_ATTR, type HeadConfig, type HydrateOptions, Image, type ImageProps, type InfiniteScroll, type InfiniteScrollOptions, InjectionKey, type Injector, type InspectOptions, type Interpolator, type KeyBinding, type KeyboardManager, type LeakWarning, type LinkTag, type MetaTag, type OpenGraphData, type PerfEntry, type PerfProfile, type PerfSummary, type PipeFn, type Plugin, type PluginContext, Portal, type PortalProps, type PrerenderOptions, type PrerenderResult, type ProgressiveHydrateOptions, type ProviderDef, type ProviderRegistration, type QueryStateOptions, ReadonlySignal, type ReconcileOp, type SEOConfig, type SanitizeOptions, type ScriptTag, type SecurityHeadersConfig, Signal, type SitemapEntry, type SlotFn, type Slots, type SnapshotConfig, type Snippet, type SortDirection, type SortState, type StructuredData, Suspense, type SuspenseProps, Switch, type SwitchProps, type Theme, type ThemeConfig, type ThemeVariables, type Toast, type ToastOptions, type ToastPosition, type ToastType, type Toaster, type ToasterOptions, Transition, type TransitionClasses, type TransitionProps, type TweenedOptions, type TweenedSignal, type TwitterCardData, type ViewTransition, type ViewTransitionOptions, VirtualFor, type VirtualForProps, type VirtualRange, type WatchCallback, type WatchOptions, type WatchSource, akashError, applyDirective, applyStyles, assignTransitionName, awaitSignal, bindClass, bindClasses, bindDimensions, bindElement, bindGroup, bindGroupItem, bindScroll, bindStyle, bindStyles, calculateRange, capitalize, chain, checkCompatibility, checkForLeaks, claimElement, claimText, clearProviders, clearQueryState, collectSSRHead, countOps, createApp, createCSRFInterceptor, createDataTable, createEventBus, createFlip, createInjector, createRateLimiter, createSafeHTML, createSlots, createTimer, createToaster, css, currency, cx, date, deepFreeze, deepSignal, defer, defineAsyncComponent, defineCustomElement, defineDirective, defineFormAction, definePipe, definePlugin, defineProvider, defineSnippet, deprecated, deprecatedValue, directiveFromFn, disableLeakDetection, discoverStaticRoutes, easings, enableLeakDetection, enableSnapshots, enhanceError, enterTransition, escapeHtml, exitTransition, findHydrationBoundaries, flip, formatError, formatProfile, generateCSP, generateCSRFToken, generatePaths, generateSRI, generateSecurityHeaders, generateSitemap, generateTransitionCSS, getAPIsByStability, getActiveEffects, getAllErrorCodes, getCSPHeaderName, getDeprecationInfo, getErrorDef, getLeakDetectionStats, getProfileSummary, getQueryParams, getRegisteredAPIs, getSuspenseContext, getTransitionClasses, globalEventBus, hasSlot, hydrate, injectProvider, inspect, installDevtools, installErrorHints, isDeepSignal, isDeprecated, isHydrationActive, isLeakDetectionEnabled, isProfiling, json, longestIncreasingSubsequence, lowercase, match, measureAsync, measureSync, number, onEvent, percent, pipe, plural, prerender, progressiveHydrate, reconcileKeys, recordPerfEntry, registerAPI, registerPending, relativeTime, removeDirectives, removeQueryState, renderHeadToString, renderSlot, renderSwitch, reportLeaks, resetDeprecationWarnings, resetQueryState, safeMerge, sanitize, sanitizeURL, setDeprecationWarnings, setWarningHandler, sitemapFromResults, startProfiling, startViewTransition, stopProfiling, supportsViewTransitions, titleCase, toCustomElement, toRaw, trackEffect, trim, truncate, tweened, untrackEffect, updateDirective, uppercase, urlToFilePath, useAnnounce, useBreakpoint, useClickOutside, useClipboard, useCounter, useDebounce, useFocusTrap, useGeolocation, useHead, useInfiniteScroll, useInterval, useKeyboard, useMediaQuery, useOnline, useOpenGraph, usePrevious, useQueryState, useQueryStates, useSEO, useStorage, useStructuredData, useTheme, useThrottle, useTimeout, useToggle, useTwitterCard, useVirtualList, useWindowSize, vAutoFocus, vClickOutside, vIntersect, vLongPress, vResize, viewTransitionCSS, watch, watchDebounced, watchOnce, withModifiers };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { R as ReadonlySignal, S as Signal } from './signals-C7XfOHHR.js';
2
2
  export { c as computed, e as effect, o as on, s as signal, u as untrack } from './signals-C7XfOHHR.js';
3
- import { I as InjectionKey } from './context-2uQ6fuxu.js';
4
- export { b as batch, c as createContext, f as flushSync, g as getCurrentScope, i as inject, p as provide, r as runInScope } from './context-2uQ6fuxu.js';
3
+ import { I as InjectionKey } from './context-CB1mCq2h.js';
4
+ export { b as batch, c as createContext, f as flushSync, g as getCurrentScope, i as inject, p as provide, r as runInScope } from './context-CB1mCq2h.js';
5
5
  import { A as AkashNode, C as Component } from './component-C1WnFcRp.js';
6
6
  export { a as ComponentContext, R as Ref, _ as __getter, d as defineComponent, o as onError, b as onMount, c as onUnmount, r as ref } from './component-C1WnFcRp.js';
7
7
  export { For, Show, bindProperty, bindText, bindVisible, cloneTemplate, createElement, createText, insert, nodeToDOM, renderConditional, renderList, setProperty } from './core.js';
8
8
  export { SSRElement, SSRNode, SSRRaw, SSRText, isServerRendering, nodeToHtml, renderNodes, renderToStream, renderToString, renderToStringSync, ssrElement, ssrRaw, ssrText } from './ssr.js';
9
9
  export { Store, StoreDefinition, StorePlugin, __getStoreInstances, clearStores, configureStores, defineStore } from './store.js';
10
- export { LWWEntry, LWWRegister, PeerInfo, SyncDoc, SyncOp, SyncOptions, SyncTransport, createLocalTransport, createSync, createWebSocketTransport } from './sync.js';
10
+ export { LWWEntry, LWWRegister, PeerInfo, SyncConflict, SyncDoc, SyncOp, SyncOptions, SyncTransport, createLocalTransport, createSync, createWebSocketTransport, useCursor, useTypingIndicator } from './sync.js';
11
11
  export { ConflictStrategy, OfflineStore, OfflineStoreOptions, createOfflineStore } from './offline.js';
12
12
  export { CacheRoute, CacheStrategy, SWOptions, SWRegistration, generateSWScript, registerServiceWorker, subscribePush } from './pwa.js';
13
13
  export { AnimationControl, AnimationOptions, AnimationState, SpringOptions, StaggerOptions, animate, animateGroup, animateSequence, animateSpring, animateStagger, defineStates, keyframes } from './animate.js';
@@ -341,7 +341,7 @@ interface ScriptTag {
341
341
  /** @internal — collect head tags during SSR */
342
342
  declare function collectSSRHead(): HeadConfig[];
343
343
  /** Render collected head tags to HTML string (for SSR) */
344
- declare function renderHeadToString(configs: HeadConfig[]): string;
344
+ declare function renderHeadToString(configs?: HeadConfig[] | null): string;
345
345
  /**
346
346
  * Declaratively manage document head tags.
347
347
  * Call inside defineComponent() setup.
@@ -349,7 +349,7 @@ declare function renderHeadToString(configs: HeadConfig[]): string;
349
349
  * Tags are automatically cleaned up when the component unmounts.
350
350
  * Reactive values (signals) in the config trigger updates.
351
351
  */
352
- declare function useHead(config: HeadConfig | (() => HeadConfig)): void;
352
+ declare function useHead(config: HeadConfig | (() => HeadConfig)): () => void;
353
353
 
354
354
  /**
355
355
  * Plugin system.
@@ -3197,7 +3197,11 @@ interface DevToolsAPI {
3197
3197
  * if (import.meta.env.DEV) installDevtools();
3198
3198
  * ```
3199
3199
  */
3200
- declare function installDevtools(): void;
3200
+ interface DevToolsOptions {
3201
+ /** Enable the visual overlay panel (toggle with Ctrl+Shift+D) */
3202
+ overlay?: boolean;
3203
+ }
3204
+ declare function installDevtools(options?: DevToolsOptions): void;
3201
3205
 
3202
3206
  /**
3203
3207
  * Developer-friendly error hints.
@@ -3215,4 +3219,4 @@ declare function enhanceError(error: Error): Error;
3215
3219
  */
3216
3220
  declare function installErrorHints(): void;
3217
3221
 
3218
- export { type APIInfo, type APIStability, AkashNode, type AppInstance, type AriaLive, type AsyncComponentLoader, type AsyncComponentOptions, Await, type AwaitProps, type Breakpoints, type CSPConfig, type ColumnDef, type CompatibilityResult, Component, type CustomElementOptions, type DataTable, type DataTableOptions, type DeepSignal, type DeferOptions, type DeferTrigger, type DeprecationInfo, type DevToolsAPI, type Directive, type DirectiveBinding, type DirectiveHooks, type EasingFn, ErrorBoundary, type ErrorBoundaryProps, type ErrorDef, type EventBus, type EventHandler, type EventMap, type EventModifiers, type FlipController, type FlipOptions, type FocusTrap, type FocusTrapOptions, type FormAction, type GeolocationState, HYDRATE_ATTR, type HeadConfig, type HydrateOptions, Image, type ImageProps, type InfiniteScroll, type InfiniteScrollOptions, InjectionKey, type Injector, type InspectOptions, type Interpolator, type KeyBinding, type KeyboardManager, type LeakWarning, type LinkTag, type MetaTag, type OpenGraphData, type PerfEntry, type PerfProfile, type PerfSummary, type PipeFn, type Plugin, type PluginContext, Portal, type PortalProps, type PrerenderOptions, type PrerenderResult, type ProgressiveHydrateOptions, type ProviderDef, type ProviderRegistration, type QueryStateOptions, ReadonlySignal, type ReconcileOp, type SEOConfig, type SanitizeOptions, type ScriptTag, type SecurityHeadersConfig, Signal, type SitemapEntry, type SlotFn, type Slots, type SnapshotConfig, type Snippet, type SortDirection, type SortState, type StructuredData, Suspense, type SuspenseProps, Switch, type SwitchProps, type Theme, type ThemeConfig, type ThemeVariables, type Toast, type ToastOptions, type ToastPosition, type ToastType, type Toaster, type ToasterOptions, Transition, type TransitionClasses, type TransitionProps, type TweenedOptions, type TweenedSignal, type TwitterCardData, type ViewTransition, type ViewTransitionOptions, VirtualFor, type VirtualForProps, type VirtualRange, type WatchCallback, type WatchOptions, type WatchSource, akashError, applyDirective, applyStyles, assignTransitionName, awaitSignal, bindClass, bindClasses, bindDimensions, bindElement, bindGroup, bindGroupItem, bindScroll, bindStyle, bindStyles, calculateRange, capitalize, chain, checkCompatibility, checkForLeaks, claimElement, claimText, clearProviders, clearQueryState, collectSSRHead, countOps, createApp, createCSRFInterceptor, createDataTable, createEventBus, createFlip, createInjector, createRateLimiter, createSafeHTML, createSlots, createTimer, createToaster, css, currency, cx, date, deepFreeze, deepSignal, defer, defineAsyncComponent, defineCustomElement, defineDirective, defineFormAction, definePipe, definePlugin, defineProvider, defineSnippet, deprecated, deprecatedValue, directiveFromFn, disableLeakDetection, discoverStaticRoutes, easings, enableLeakDetection, enableSnapshots, enhanceError, enterTransition, escapeHtml, exitTransition, findHydrationBoundaries, flip, formatError, formatProfile, generateCSP, generateCSRFToken, generatePaths, generateSRI, generateSecurityHeaders, generateSitemap, generateTransitionCSS, getAPIsByStability, getActiveEffects, getAllErrorCodes, getCSPHeaderName, getDeprecationInfo, getErrorDef, getLeakDetectionStats, getProfileSummary, getQueryParams, getRegisteredAPIs, getSuspenseContext, getTransitionClasses, globalEventBus, hasSlot, hydrate, injectProvider, inspect, installDevtools, installErrorHints, isDeepSignal, isDeprecated, isHydrationActive, isLeakDetectionEnabled, isProfiling, json, longestIncreasingSubsequence, lowercase, match, measureAsync, measureSync, number, onEvent, percent, pipe, plural, prerender, progressiveHydrate, reconcileKeys, recordPerfEntry, registerAPI, registerPending, relativeTime, removeDirectives, removeQueryState, renderHeadToString, renderSlot, renderSwitch, reportLeaks, resetDeprecationWarnings, resetQueryState, safeMerge, sanitize, sanitizeURL, setDeprecationWarnings, setWarningHandler, sitemapFromResults, startProfiling, startViewTransition, stopProfiling, supportsViewTransitions, titleCase, toCustomElement, toRaw, trackEffect, trim, truncate, tweened, untrackEffect, updateDirective, uppercase, urlToFilePath, useAnnounce, useBreakpoint, useClickOutside, useClipboard, useCounter, useDebounce, useFocusTrap, useGeolocation, useHead, useInfiniteScroll, useInterval, useKeyboard, useMediaQuery, useOnline, useOpenGraph, usePrevious, useQueryState, useQueryStates, useSEO, useStorage, useStructuredData, useTheme, useThrottle, useTimeout, useToggle, useTwitterCard, useVirtualList, useWindowSize, vAutoFocus, vClickOutside, vIntersect, vLongPress, vResize, viewTransitionCSS, watch, watchDebounced, watchOnce, withModifiers };
3222
+ export { type APIInfo, type APIStability, AkashNode, type AppInstance, type AriaLive, type AsyncComponentLoader, type AsyncComponentOptions, Await, type AwaitProps, type Breakpoints, type CSPConfig, type ColumnDef, type CompatibilityResult, Component, type CustomElementOptions, type DataTable, type DataTableOptions, type DeepSignal, type DeferOptions, type DeferTrigger, type DeprecationInfo, type DevToolsAPI, type DevToolsOptions, type Directive, type DirectiveBinding, type DirectiveHooks, type EasingFn, ErrorBoundary, type ErrorBoundaryProps, type ErrorDef, type EventBus, type EventHandler, type EventMap, type EventModifiers, type FlipController, type FlipOptions, type FocusTrap, type FocusTrapOptions, type FormAction, type GeolocationState, HYDRATE_ATTR, type HeadConfig, type HydrateOptions, Image, type ImageProps, type InfiniteScroll, type InfiniteScrollOptions, InjectionKey, type Injector, type InspectOptions, type Interpolator, type KeyBinding, type KeyboardManager, type LeakWarning, type LinkTag, type MetaTag, type OpenGraphData, type PerfEntry, type PerfProfile, type PerfSummary, type PipeFn, type Plugin, type PluginContext, Portal, type PortalProps, type PrerenderOptions, type PrerenderResult, type ProgressiveHydrateOptions, type ProviderDef, type ProviderRegistration, type QueryStateOptions, ReadonlySignal, type ReconcileOp, type SEOConfig, type SanitizeOptions, type ScriptTag, type SecurityHeadersConfig, Signal, type SitemapEntry, type SlotFn, type Slots, type SnapshotConfig, type Snippet, type SortDirection, type SortState, type StructuredData, Suspense, type SuspenseProps, Switch, type SwitchProps, type Theme, type ThemeConfig, type ThemeVariables, type Toast, type ToastOptions, type ToastPosition, type ToastType, type Toaster, type ToasterOptions, Transition, type TransitionClasses, type TransitionProps, type TweenedOptions, type TweenedSignal, type TwitterCardData, type ViewTransition, type ViewTransitionOptions, VirtualFor, type VirtualForProps, type VirtualRange, type WatchCallback, type WatchOptions, type WatchSource, akashError, applyDirective, applyStyles, assignTransitionName, awaitSignal, bindClass, bindClasses, bindDimensions, bindElement, bindGroup, bindGroupItem, bindScroll, bindStyle, bindStyles, calculateRange, capitalize, chain, checkCompatibility, checkForLeaks, claimElement, claimText, clearProviders, clearQueryState, collectSSRHead, countOps, createApp, createCSRFInterceptor, createDataTable, createEventBus, createFlip, createInjector, createRateLimiter, createSafeHTML, createSlots, createTimer, createToaster, css, currency, cx, date, deepFreeze, deepSignal, defer, defineAsyncComponent, defineCustomElement, defineDirective, defineFormAction, definePipe, definePlugin, defineProvider, defineSnippet, deprecated, deprecatedValue, directiveFromFn, disableLeakDetection, discoverStaticRoutes, easings, enableLeakDetection, enableSnapshots, enhanceError, enterTransition, escapeHtml, exitTransition, findHydrationBoundaries, flip, formatError, formatProfile, generateCSP, generateCSRFToken, generatePaths, generateSRI, generateSecurityHeaders, generateSitemap, generateTransitionCSS, getAPIsByStability, getActiveEffects, getAllErrorCodes, getCSPHeaderName, getDeprecationInfo, getErrorDef, getLeakDetectionStats, getProfileSummary, getQueryParams, getRegisteredAPIs, getSuspenseContext, getTransitionClasses, globalEventBus, hasSlot, hydrate, injectProvider, inspect, installDevtools, installErrorHints, isDeepSignal, isDeprecated, isHydrationActive, isLeakDetectionEnabled, isProfiling, json, longestIncreasingSubsequence, lowercase, match, measureAsync, measureSync, number, onEvent, percent, pipe, plural, prerender, progressiveHydrate, reconcileKeys, recordPerfEntry, registerAPI, registerPending, relativeTime, removeDirectives, removeQueryState, renderHeadToString, renderSlot, renderSwitch, reportLeaks, resetDeprecationWarnings, resetQueryState, safeMerge, sanitize, sanitizeURL, setDeprecationWarnings, setWarningHandler, sitemapFromResults, startProfiling, startViewTransition, stopProfiling, supportsViewTransitions, titleCase, toCustomElement, toRaw, trackEffect, trim, truncate, tweened, untrackEffect, updateDirective, uppercase, urlToFilePath, useAnnounce, useBreakpoint, useClickOutside, useClipboard, useCounter, useDebounce, useFocusTrap, useGeolocation, useHead, useInfiniteScroll, useInterval, useKeyboard, useMediaQuery, useOnline, useOpenGraph, usePrevious, useQueryState, useQueryStates, useSEO, useStorage, useStructuredData, useTheme, useThrottle, useTimeout, useToggle, useTwitterCard, useVirtualList, useWindowSize, vAutoFocus, vClickOutside, vIntersect, vLongPress, vResize, viewTransitionCSS, watch, watchDebounced, watchOnce, withModifiers };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export{a as createMachine}from'./chunk-Z5LQV5ND.js';export{b as generateSWScript,a as registerServiceWorker,c as subscribePush}from'./chunk-IM2VW4TK.js';import {B as B$1,z as z$1,u,y,e,f,h}from'./chunk-BT6HNBE7.js';export{t as For,s as Show,w as __getter,b as akashError,o as bindProperty,n as bindText,p as bindVisible,l as cloneTemplate,g as createContext,j as createElement,k as createText,B as defineComponent,a as formatError,d as getAllErrorCodes,e as getCurrentScope,c as getErrorDef,i as inject,v as insert,u as nodeToDOM,z as onError,x as onMount,y as onUnmount,h as provide,A as ref,q as renderConditional,r as renderList,f as runInScope,m as setProperty}from'./chunk-BT6HNBE7.js';import {d}from'./chunk-IKZMC3T6.js';export{d as __getStoreInstances,c as clearStores,a as configureStores,b as defineStore}from'./chunk-IKZMC3T6.js';export{b as isServerRendering,i as nodeToHtml,j as renderNodes,e as renderToStream,c as renderToString,d as renderToStringSync,f as ssrElement,h as ssrRaw,g as ssrText}from'./chunk-QTPP343X.js';export{a as LWWRegister,c as createLocalTransport,d as createSync,b as createWebSocketTransport}from'./chunk-ODDXU5DO.js';export{a as createOfflineStore}from'./chunk-D6QQYZIC.js';import {l,n,m,a}from'./chunk-POLTPHUA.js';export{a as batch,m as computed,j as createTimer,n as effect,b as flushSync,k as formatProfile,g as getProfileSummary,e as isProfiling,i as measureAsync,h as measureSync,p as on,f as recordPerfEntry,l as signal,c as startProfiling,d as stopProfiling,o as untrack}from'./chunk-POLTPHUA.js';export{a as animate,d as animateGroup,c as animateSequence,e as animateSpring,b as animateStagger,g as defineStates,f as keyframes}from'./chunk-Q3E2UVUK.js';function pn(e,t){if(e&&typeof e=="function"){let n=e();return u(n)}return t?u(t()):document.createComment("empty slot")}function fn(e,t){if(!e)return false;let n=t&&typeof e=="object"?e[t]:e;if(!n||typeof n!="function")return false;let r=n();return !(r==null||r===false||typeof r=="string"&&r.trim()==="")}function mn(e,t){let n={},r=t??Object.keys(e);for(let o of r){let i=e[o];typeof i=="function"&&(n[o]=i);}return n}var gn=B$1(e=>{let t=l(null);z$1(r=>{t.set(r);});function n(){t.set(null);}return ()=>{let r=t();return r?u(e.props.fallback(r,n)):u(e.children())}});var j=null;function yn(){return j}function hn(e){j&&j.addPending(e);}var vn=B$1(e=>{let t=l(false),n$1=[],r={addPending(s){n$1.push(s);},isResolved:()=>t()},o=j;j=r;let i;try{i=e.children();}finally{j=o;}return n$1.length>0?Promise.all(n$1).then(()=>{t.set(true);}):t.set(true),()=>{let s=document.createElement("div");return s.setAttribute("data-akash-suspense",""),s.style.display="contents",t()?s.appendChild(u(i)):s.appendChild(u(e.props.fallback())),n(()=>{if(t()){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(u(i));}}),s}});var N=false,L=null;function Tn(){return N}function ee(e){let{container:t,component:n,props:r={}}=e;N=true,L=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT);try{n(r);}finally{N=false,L=null;}return ()=>{}}function bn(e){if(!N||!L)return null;let t=L.nextNode();for(;t;){if(t instanceof HTMLElement&&t.tagName.toLowerCase()===e.toLowerCase())return t;t=L.nextNode();}return null}function wn(){if(!N||!L)return null;let e=L.nextNode();for(;e;){if(e instanceof Text)return e;e=L.nextNode();}return null}function xn(e){let{target:t,component:n,props:r,rootMargin:o="200px"}=e;if(typeof IntersectionObserver>"u")return ee({container:t,component:n,props:r});let i=false,s=new IntersectionObserver(a=>{for(let c of a)c.isIntersecting&&!i&&(s.disconnect(),ee({container:t,component:n,props:r}));},{rootMargin:o});return s.observe(t),()=>{i=true,s.disconnect();}}var ye="data-akash-hydrate";function Sn(e=document.body){return Array.from(e.querySelectorAll(`[${ye}]`))}function he(e){return {enterFrom:`${e}-enter-from`,enterActive:`${e}-enter-active`,enterTo:`${e}-enter-to`,exitFrom:`${e}-exit-from`,exitActive:`${e}-exit-active`,exitTo:`${e}-exit-to`}}function ve(e,t,n){return new Promise(r=>{e.classList.add(t.enterFrom,t.enterActive),e.offsetHeight,e.classList.remove(t.enterFrom),e.classList.add(t.enterTo);let o=()=>{e.classList.remove(t.enterActive,t.enterTo),e.removeEventListener("transitionend",o),r();};n!==void 0?setTimeout(o,n):(e.addEventListener("transitionend",o,{once:true}),setTimeout(o,5e3));})}function En(e,t,n){return new Promise(r=>{e.classList.add(t.exitFrom,t.exitActive),e.offsetHeight,e.classList.remove(t.exitFrom),e.classList.add(t.exitTo);let o=()=>{e.classList.remove(t.exitActive,t.exitTo),e.removeEventListener("transitionend",o),r();};n!==void 0?setTimeout(o,n):(e.addEventListener("transitionend",o,{once:true}),setTimeout(o,5e3));})}var kn=B$1(e=>{let t=e.props.name??"akash",n=he(t);return ()=>{let r=document.createElement("div");if(r.style.display="contents",e.props.when){let o=u(e.children());r.appendChild(o),o instanceof HTMLElement&&(e.props.onEnter?.(o),ve(o,n,e.props.duration).then(()=>{e.props.onAfterEnter?.(o);}));}return r}});function Cn(e,t={}){let{property:n="all",duration:r="0.3s",easing:o="ease"}=t;return `
1
+ export{a as createMachine}from'./chunk-5A7KDBDU.js';export{b as generateSWScript,a as registerServiceWorker,c as subscribePush}from'./chunk-U53YRJNV.js';import {B as B$1,z,u,y,e,f,h}from'./chunk-FTTNKDZQ.js';export{t as For,s as Show,w as __getter,b as akashError,o as bindProperty,n as bindText,p as bindVisible,l as cloneTemplate,g as createContext,j as createElement,k as createText,B as defineComponent,a as formatError,d as getAllErrorCodes,e as getCurrentScope,c as getErrorDef,i as inject,v as insert,u as nodeToDOM,z as onError,x as onMount,y as onUnmount,h as provide,A as ref,q as renderConditional,r as renderList,f as runInScope,m as setProperty}from'./chunk-FTTNKDZQ.js';import {d}from'./chunk-TKFJGLUO.js';export{d as __getStoreInstances,c as clearStores,a as configureStores,b as defineStore}from'./chunk-TKFJGLUO.js';export{b as isServerRendering,i as nodeToHtml,j as renderNodes,e as renderToStream,c as renderToString,d as renderToStringSync,f as ssrElement,h as ssrRaw,g as ssrText}from'./chunk-QTPP343X.js';export{a as LWWRegister,c as createLocalTransport,d as createSync,b as createWebSocketTransport,e as useCursor,f as useTypingIndicator}from'./chunk-H2HNKYN2.js';export{a as createOfflineStore}from'./chunk-5NHDEY2C.js';import {l,n,m,a}from'./chunk-3GRR4VW2.js';export{a as batch,m as computed,j as createTimer,n as effect,b as flushSync,k as formatProfile,g as getProfileSummary,e as isProfiling,i as measureAsync,h as measureSync,p as on,f as recordPerfEntry,l as signal,c as startProfiling,d as stopProfiling,o as untrack}from'./chunk-3GRR4VW2.js';export{a as animate,d as animateGroup,c as animateSequence,e as animateSpring,b as animateStagger,g as defineStates,f as keyframes}from'./chunk-Q3E2UVUK.js';function mn(e,t){if(e&&typeof e=="function"){let n=e();return u(n)}return t?u(t()):document.createComment("empty slot")}function gn(e,t){if(!e)return false;let n=t&&typeof e=="object"?e[t]:e;if(!n||typeof n!="function")return false;let r=n();return !(r==null||r===false||typeof r=="string"&&r.trim()==="")}function yn(e,t){let n={},r=t??Object.keys(e);for(let o of r){let s=e[o];typeof s=="function"&&(n[o]=s);}return n}var hn=B$1(e=>{let t=l(null);z(r=>{t.set(r);});function n(){t.set(null);}return ()=>{let r=t();return r?u(e.props.fallback(r,n)):u(e.children())}});var j=null;function vn(){return j}function Tn(e){j&&j.addPending(e);}var bn=B$1(e=>{let t=l(false),n$1=[],r={addPending(i){n$1.push(i);},isResolved:()=>t()},o=j;j=r;let s;try{s=e.children();}finally{j=o;}return n$1.length>0?Promise.all(n$1).then(()=>{t.set(true);}):t.set(true),()=>{let i=document.createElement("div");return i.setAttribute("data-akash-suspense",""),i.style.display="contents",t()?i.appendChild(u(s)):i.appendChild(u(e.props.fallback())),n(()=>{if(t()){for(;i.firstChild;)i.removeChild(i.firstChild);i.appendChild(u(s));}}),i}});var N=false,D=null;function wn(){return N}function ee(e){let{container:t,component:n,props:r={}}=e;N=true,D=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT);try{n(r);}finally{N=false,D=null;}return ()=>{}}function xn(e){if(!N||!D)return null;let t=D.nextNode();for(;t;){if(t instanceof HTMLElement&&t.tagName.toLowerCase()===e.toLowerCase())return t;t=D.nextNode();}return null}function Sn(){if(!N||!D)return null;let e=D.nextNode();for(;e;){if(e instanceof Text)return e;e=D.nextNode();}return null}function En(e){let{target:t,component:n,props:r,rootMargin:o="200px"}=e;if(typeof IntersectionObserver>"u")return ee({container:t,component:n,props:r});let s=false,i=new IntersectionObserver(a=>{for(let c of a)c.isIntersecting&&!s&&(i.disconnect(),ee({container:t,component:n,props:r}));},{rootMargin:o});return i.observe(t),()=>{s=true,i.disconnect();}}var ye="data-akash-hydrate";function kn(e=document.body){return Array.from(e.querySelectorAll(`[${ye}]`))}function he(e){return {enterFrom:`${e}-enter-from`,enterActive:`${e}-enter-active`,enterTo:`${e}-enter-to`,exitFrom:`${e}-exit-from`,exitActive:`${e}-exit-active`,exitTo:`${e}-exit-to`}}function ve(e,t,n){return new Promise(r=>{e.classList.add(t.enterFrom,t.enterActive),e.offsetHeight,e.classList.remove(t.enterFrom),e.classList.add(t.enterTo);let o=()=>{e.classList.remove(t.enterActive,t.enterTo),e.removeEventListener("transitionend",o),r();};n!==void 0?setTimeout(o,n):(e.addEventListener("transitionend",o,{once:true}),setTimeout(o,5e3));})}function Cn(e,t,n){return new Promise(r=>{e.classList.add(t.exitFrom,t.exitActive),e.offsetHeight,e.classList.remove(t.exitFrom),e.classList.add(t.exitTo);let o=()=>{e.classList.remove(t.exitActive,t.exitTo),e.removeEventListener("transitionend",o),r();};n!==void 0?setTimeout(o,n):(e.addEventListener("transitionend",o,{once:true}),setTimeout(o,5e3));})}var Pn=B$1(e=>{let t=e.props.name??"akash",n=he(t);return ()=>{let r=document.createElement("div");if(r.style.display="contents",e.props.when){let o=u(e.children());r.appendChild(o),o instanceof HTMLElement&&(e.props.onEnter?.(o),ve(o,n,e.props.duration).then(()=>{e.props.onAfterEnter?.(o);}));}return r}});function An(e,t={}){let{property:n="all",duration:r="0.3s",easing:o="ease"}=t;return `
2
2
  .${e}-enter-active,
3
3
  .${e}-exit-active {
4
4
  transition: ${n} ${r} ${o};
@@ -13,13 +13,13 @@ export{a as createMachine}from'./chunk-Z5LQV5ND.js';export{b as generateSWScript
13
13
  .${e}-exit-from {
14
14
  opacity: 1;
15
15
  }
16
- `.trim()}var ne=[];function Pn(){let e=ne;return ne=[],e}function An(e){let t="",n=e.reduce((o,i)=>i.title??o,""),r=e.reduce((o,i)=>i.titleTemplate??o,"");if(n){let o=r?r.replace("%s",n):n;t+=`<title>${o}</title>
17
- `;}for(let o of e)for(let i of o.meta??[])t+=" <meta",i.name&&(t+=` name="${i.name}"`),i.property&&(t+=` property="${i.property}"`),i.httpEquiv&&(t+=` http-equiv="${i.httpEquiv}"`),t+=` content="${i.content}"`,t+=` />
18
- `;for(let o of e)for(let i of o.link??[])t+=` <link rel="${i.rel}" href="${i.href}"`,i.type&&(t+=` type="${i.type}"`),t+=` />
19
- `;return t}var te="data-akash-head";function F(e){let t=typeof e=="function"?e:()=>e;if(typeof document>"u"){ne.push(t());return}let n$1=[],r=n(()=>{let o=t();for(let i of n$1)i.remove();if(n$1.length=0,o.title){let i=o.titleTemplate?o.titleTemplate.replace("%s",o.title):o.title;document.title=i;}for(let i of o.meta??[]){let s=document.createElement("meta");s.setAttribute(te,""),i.name&&s.setAttribute("name",i.name),i.property&&s.setAttribute("property",i.property),i.httpEquiv&&s.setAttribute("http-equiv",i.httpEquiv),s.setAttribute("content",i.content),document.head.appendChild(s),n$1.push(s);}for(let i of o.link??[]){let s=document.createElement("link");s.setAttribute(te,""),s.setAttribute("rel",i.rel),s.setAttribute("href",i.href),i.type&&s.setAttribute("type",i.type),document.head.appendChild(s),n$1.push(s);}for(let i of o.script??[]){let s=document.createElement("script");s.setAttribute(te,""),i.src&&s.setAttribute("src",i.src),i.type&&s.setAttribute("type",i.type),i.async&&s.setAttribute("async",""),i.defer&&s.setAttribute("defer",""),i.innerHTML&&(s.textContent=i.innerHTML),document.head.appendChild(s),n$1.push(s);}if(o.htmlAttrs)for(let[i,s]of Object.entries(o.htmlAttrs))document.documentElement.setAttribute(i,s);if(o.bodyAttrs)for(let[i,s]of Object.entries(o.bodyAttrs))document.body.setAttribute(i,s);});try{y(()=>{r();for(let o of n$1)o.remove();});}catch{}}function Rn(e){return e}function Dn(e,t){let n=[],r=[],o=[],i={},s=null,a=null,c={provide(d,u){h(d,u);},onError(d){r.push(d);},onBeforeMount(d){o.push(d);},config:i},l={use(d){return n.push(d),l},config(d,u){return i[d]=u,l},mount(d){if(a=typeof d=="string"?document.querySelector(d):d,!a)throw new Error(`[AkashJS] Mount target not found: ${d}`);for(let u of n)u.setup(c);for(let u of o)u();try{s=e(t??{}),a.appendChild(s);}catch(u){let p=u instanceof Error?u:new Error(String(u));if(r.length>0)for(let f of r)f(p);else throw p}},unmount(){s&&a&&(a.removeChild(s),s=null);}};return l}function Ln(e,t){let n=l(0),r=l(t?.immediate!==false),o=null;function i(){s(),o=setInterval(()=>n.update(a=>a+1),e);}function s(){o&&(clearInterval(o),o=null);}return r()&&i(),{count:(()=>n()),isActive:(()=>r()),pause(){r.set(false),s();},resume(){r.set(true),i();},reset(){n.set(0);},dispose(){s();}}}function On(e){let t=l(false),n=null;function r(){o(),t.set(false),n=setTimeout(()=>t.set(true),e);}function o(){n&&(clearTimeout(n),n=null);}return r(),{ready:(()=>t()),restart(){r();},dispose(){o();}}}function Mn(e,t){let n$1=l(e()),r=null;return n(()=>{let o=e();return r&&clearTimeout(r),r=setTimeout(()=>n$1.set(o),t),()=>{r&&clearTimeout(r);}}),(()=>n$1())}function In(e,t){let n$1=l(e()),r=0,o=null;return n(()=>{let i=e(),s=Date.now(),a=s-r;return a>=t?(n$1.set(i),r=s):(o&&clearTimeout(o),o=setTimeout(()=>{n$1.set(i),r=Date.now();},t-a)),()=>{o&&clearTimeout(o);}}),(()=>n$1())}function Hn(e=0,t){let n=t?.min??-1/0,r=t?.max??1/0,o=s=>Math.min(r,Math.max(n,s)),i=l(o(e));return {count:(()=>i()),inc(s=1){i.update(a=>o(a+s));},dec(s=1){i.update(a=>o(a-s));},set(s){i.set(o(s));},reset(){i.set(o(e));}}}function jn(e=false){let t=l(e);return {value:(()=>t()),toggle(){t.update(n=>!n);},setTrue(){t.set(true);},setFalse(){t.set(false);}}}function Fn(e){let t,n$1=l(void 0);return n(()=>{let r=e();n$1.set(t),t=r;}),(()=>n$1())}function _n(e){if(typeof window>"u")return(()=>false);let t=window.matchMedia(e),n=l(t.matches),r=o=>n.set(o.matches);return t.addEventListener("change",r),(()=>n())}var Nn={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function $n(e=Nn){let t=Object.entries(e).sort((s,a)=>s[1]-a[1]),n=l(typeof window<"u"?window.innerWidth:1024);if(typeof window<"u"){let s=()=>n.set(window.innerWidth);window.addEventListener("resize",s,{passive:true});}function r(){let s=n(),a="";for(let[c,l]of t)s>=l&&(a=c);return a||t[0]?.[0]||""}function o(s){let a=e[s];return a!==void 0&&n()>=a}function i(s){let a=e[s];return a!==void 0&&n()<a}return {current:r,gte:o,lt:i,width:(()=>n())}}function Kn(e,t,n$1="local"){let r=typeof window<"u"?n$1==="local"?localStorage:sessionStorage:null,o=t;if(r)try{let s=r.getItem(e);s!==null&&(o=JSON.parse(s));}catch{}let i=l(o);return r&&(n(()=>{let s=i();try{r.setItem(e,JSON.stringify(s));}catch{}}),typeof window<"u"&&window.addEventListener("storage",s=>{if(s.key===e&&s.newValue!==null)try{i.set(JSON.parse(s.newValue));}catch{}})),i}function Vn(e){let t=l(""),n=l(false),r=e?.timeout??2e3,o=null;async function i(s){typeof navigator>"u"||!navigator.clipboard||(await navigator.clipboard.writeText(s),t.set(s),n.set(true),o&&clearTimeout(o),o=setTimeout(()=>n.set(false),r));}return {text:(()=>t()),copied:(()=>n()),copy:i}}function Wn(){if(typeof window>"u")return(()=>true);let e=l(navigator.onLine);return window.addEventListener("online",()=>e.set(true)),window.addEventListener("offline",()=>e.set(false)),(()=>e())}function zn(e){let t=l({latitude:null,longitude:null,accuracy:null,error:null,loading:true});return typeof navigator<"u"&&navigator.geolocation?navigator.geolocation.watchPosition(n=>{t.set({latitude:n.coords.latitude,longitude:n.coords.longitude,accuracy:n.coords.accuracy,error:null,loading:false});},n=>{t.set({latitude:null,longitude:null,accuracy:null,error:n,loading:false});},e):t.set({...t(),loading:false}),(()=>t())}function qn(){let e=l(typeof window<"u"?window.innerWidth:0),t=l(typeof window<"u"?window.innerHeight:0);return typeof window<"u"&&window.addEventListener("resize",()=>{e.set(window.innerWidth),t.set(window.innerHeight);},{passive:true}),{width:(()=>e()),height:(()=>t())}}function Bn(e,t,n={}){if(typeof document>"u")return ()=>{};let{events:r=["pointerdown"],ignore:o=[],active:i=true}=n,s=i;function a(){return typeof e=="function"?e():e}function c(u){let p=u.target;if(!p)return false;for(let f of o)if(typeof f=="string"){if(p.closest(f))return true}else if(f===p||f.contains(p))return true;return false}function l(u){if(!s)return;let p=a();if(!p)return;let f=u.target;p===f||p.contains(f)||c(u)||t(u);}for(let u of r)document.addEventListener(u,l,{passive:true,capture:true});let d=()=>{for(let u of r)document.removeEventListener(u,l,{capture:true});};return d.enable=()=>{s=true;},d.disable=()=>{s=false;},d}var Un=B$1(e=>{let t=null,n=null;function r(){let o=e.props.target;return o?typeof o=="string"?document.querySelector(o)??document.body:o:document.body}return y(()=>{n&&t&&t.removeChild(n);}),()=>{t=r();let o=e.children();return n=u(o),t.appendChild(n),document.createComment("portal")}});var Gn=0;function Jn(e={}){let{maxVisible:t=5,defaultDuration:n=3e3,position:r="top-right"}=e,o=l([]),i=new Map;function s(d,u,p){let f=`toast-${++Gn}`,y=p?.duration??n,h=p?.dismissible??true,m={id:f,type:d,message:u,duration:y,dismissible:h,createdAt:Date.now()};if(o.update(v=>{let b=[...v,m];if(b.length>t){let k=b.shift();l$1(k.id);}return b}),y>0){let v=setTimeout(()=>a(f),y);i.set(f,v);}return f}function a(d){l$1(d),o.update(u=>u.filter(p=>p.id!==d));}function c(){for(let[d]of i)l$1(d);o.set([]);}function l$1(d){let u=i.get(d);u&&(clearTimeout(u),i.delete(d));}return {toasts:(()=>o()),position:r,success:(d,u)=>s("success",d,u),error:(d,u)=>s("error",d,u),info:(d,u)=>s("info",d,u),warning:(d,u)=>s("warning",d,u),add:s,dismiss:a,dismissAll:c}}function Qn(e={}){let{themes:t={light:{},dark:{}},storageKey:n$1="akash-theme",attribute:r="data-theme",syncSystem:o=true}=e,i=Object.keys(t);function s(){return typeof window>"u"?e.defaultTheme??"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function a(){if(typeof window<"u"&&n$1){let u=localStorage.getItem(n$1);if(u&&i.includes(u))return u}return e.defaultTheme??s()}let c=l(a()),l$1=m(()=>c()==="dark");function d(u){if(typeof document>"u")return;document.documentElement.setAttribute(r,u);let p=t[u];if(p)for(let[f,y]of Object.entries(p))document.documentElement.style.setProperty(f,y);document.documentElement.classList.remove(...i),document.documentElement.classList.add(u);}return n(()=>{let u=c();d(u),typeof window<"u"&&n$1&&localStorage.setItem(n$1,u);}),o&&typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",p=>{localStorage.getItem(n$1)||c.set(p.matches?"dark":"light");}),{current:()=>c(),isDark:l$1,set(u){i.includes(u)&&c.set(u);},toggle(){c.set(l$1()?"light":"dark");},setSystem(){typeof window<"u"&&n$1&&localStorage.removeItem(n$1),c.set(s());},themes:i}}function re(e,t,n,r,o=3){let i,s,a,c,l;typeof e=="object"?(i=e.scrollTop,s=e.containerHeight,a=e.itemHeight,c=e.totalItems,l=e.overscan??3):(i=e,s=t,a=n,c=r,l=o);let d=Math.floor(i/a),u=Math.ceil(s/a),p=Math.max(0,d-l),f=Math.min(c,d+u+l);return {start:p,end:f,totalHeight:c*a,offsetTop:p*a}}function Yn(e){let t=l(0),n=l(e.containerHeight??400),r=e.overscan??3,o=m(()=>re(t(),n(),e.itemHeight,e.items().length,r)),i=m(()=>{let c=o();return e.items().slice(c.start,c.end).map((l,d)=>({item:l,index:c.start+d}))});function s(c){let l=c.target;t.set(l.scrollTop);}function a(c){n.set(c);}return {range:o,visibleItems:i,onScroll:s,setContainerHeight:a,scrollTop:(()=>t())}}var Xn=B$1(e=>{let{itemHeight:t,containerHeight:n,overscan:r=3}=e.props,o=l(0);return ()=>{let i=e.props.each,s=n??400,a=re(o(),s,t,i.length,r),c=document.createElement("div");c.style.height=`${s}px`,c.style.overflow="auto",c.style.position="relative",c.addEventListener("scroll",()=>{o.set(c.scrollTop);},{passive:true});let l=document.createElement("div");l.style.height=`${a.totalHeight}px`,l.style.position="relative";let d=document.createElement("div");d.style.position="absolute",d.style.top=`${a.offsetTop}px`,d.style.left="0",d.style.right="0";for(let u$1=a.start;u$1<a.end;u$1++){let p=i[u$1];if(!p)continue;let f=u(e.props.children(p,u$1));f instanceof HTMLElement&&(f.style.height=`${t}px`),d.appendChild(f);}return l.appendChild(d),c.appendChild(l),c}});function Zn(e){let t=typeof e=="function"?{loader:e}:e,{loader:n,loading:r,error:o,timeout:i,delay:s=200}=t,a=null,c=null,l$1=null;function d(){return c||(c=n().then(u=>{a=u.default;}).catch(u=>{l$1=u instanceof Error?u:new Error(String(u));}),c)}return B$1(u$1=>{let p=l("loading"),f=l(false);d().then(()=>{l$1?p.set("error"):p.set("ready");});let y=null;s>0?y=setTimeout(()=>f.set(true),s):f.set(true);let h=null;return i&&(h=setTimeout(()=>{p()==="loading"&&(l$1=new Error(`Async component timed out after ${i}ms`),p.set("error"));},i)),()=>{let m=p();return m!=="loading"&&(y&&clearTimeout(y),h&&clearTimeout(h)),m==="ready"&&a?a(u$1.props):m==="error"&&o&&l$1?u(o(l$1)):m==="loading"&&f()&&r?u(r()):document.createComment("async-loading")}})}function Te(e){let t=e.length;if(t===0)return [];let n=[],r=new Array(t).fill(-1),o=[];for(let a=0;a<t;a++){let c=e[a];if(c===-1)continue;let l=0,d=n.length;for(;l<d;){let u=l+d>>1;n[u]<c?l=u+1:d=u;}n[l]=c,o[l]=a,l>0&&(r[a]=o[l-1]);}let i=new Array(n.length),s=o[n.length-1];for(let a=n.length-1;a>=0;a--)i[a]=s,s=r[s];return i}function be(e,t){let n=[],r=new Map;for(let a=0;a<e.length;a++)r.set(e[a],a);let o=new Array(t.length);for(let a=0;a<t.length;a++)o[a]=r.get(t[a])??-1;let i=new Set(t);for(let a=0;a<e.length;a++)i.has(e[a])||n.push({type:"remove",oldIndex:a});let s=new Set(Te(o));for(let a=0;a<t.length;a++)o[a]===-1?n.push({type:"insert",newIndex:a}):s.has(a)||n.push({type:"move",newIndex:a,oldIndex:o[a]});return n}function er(e,t){let n=be(e,t),r=0,o=0,i=0;for(let s of n)s.type==="insert"?r++:s.type==="move"?o++:i++;return {inserts:r,moves:o,removes:i}}var I=false,M=new Map,we=0;function tr(){I=true;}function nr(){I=false,M.clear();}function rr(){return I}function or(e){if(!I)return -1;let t=++we;return M.set(t,{id:t,createdAt:Date.now(),stackTrace:lr(),componentName:e??null,disposed:false}),t}function ir(e){if(!I||e===-1)return;let t=M.get(e);t&&(t.disposed=true,M.delete(e));}function sr(){return Array.from(M.values())}function xe(e=3e4){if(!I)return [];let t=Date.now(),n=[];for(let r of M.values())!r.disposed&&t-r.createdAt>e&&n.push({effectId:r.id,age:t-r.createdAt,componentName:r.componentName,stackTrace:r.stackTrace});return n}function ar(e=3e4){let t=xe(e);if(t.length!==0){console.warn(`[AkashJS] ${t.length} potential effect leak(s) detected:`);for(let n of t){let r=n.componentName?` in ${n.componentName}`:"";console.warn(` Effect #${n.effectId}${r} \u2014 active for ${(n.age/1e3).toFixed(1)}s`),n.stackTrace&&console.warn(` Created at:
20
- ${n.stackTrace}`);}}}function cr(){return {enabled:I,activeCount:M.size,totalTracked:we}}function lr(){try{let t=new Error().stack;return t?t.split(`
16
+ `.trim()}var ne=[];function Rn(){let e=ne;return ne=[],e}function On(e){if(!e||e.length===0)return "";let t="",n=e.reduce((o,s)=>s.title??o,""),r=e.reduce((o,s)=>s.titleTemplate??o,"");if(n){let o=r?r.replace("%s",n):n;t+=`<title>${o}</title>
17
+ `;}for(let o of e)for(let s of o.meta??[])t+=" <meta",s.name&&(t+=` name="${s.name}"`),s.property&&(t+=` property="${s.property}"`),s.httpEquiv&&(t+=` http-equiv="${s.httpEquiv}"`),t+=` content="${s.content}"`,t+=` />
18
+ `;for(let o of e)for(let s of o.link??[])t+=` <link rel="${s.rel}" href="${s.href}"`,s.type&&(t+=` type="${s.type}"`),t+=` />
19
+ `;return t}var te="data-akash-head";function _(e){let t=typeof e=="function"?e:()=>e;if(typeof document>"u")return ne.push(t()),()=>{};let n$1=[],r=n(()=>{let s=t();for(let i of n$1)i.remove();if(n$1.length=0,s.title){let i=s.titleTemplate?s.titleTemplate.replace("%s",s.title):s.title;document.title=i;}for(let i of s.meta??[]){let a=document.createElement("meta");a.setAttribute(te,""),i.name&&a.setAttribute("name",i.name),i.property&&a.setAttribute("property",i.property),i.httpEquiv&&a.setAttribute("http-equiv",i.httpEquiv),a.setAttribute("content",i.content),document.head.appendChild(a),n$1.push(a);}for(let i of s.link??[]){let a=document.createElement("link");a.setAttribute(te,""),a.setAttribute("rel",i.rel),a.setAttribute("href",i.href),i.type&&a.setAttribute("type",i.type),document.head.appendChild(a),n$1.push(a);}for(let i of s.script??[]){let a=document.createElement("script");a.setAttribute(te,""),i.src&&a.setAttribute("src",i.src),i.type&&a.setAttribute("type",i.type),i.async&&a.setAttribute("async",""),i.defer&&a.setAttribute("defer",""),i.innerHTML&&(a.textContent=i.innerHTML),document.head.appendChild(a),n$1.push(a);}if(s.htmlAttrs)for(let[i,a]of Object.entries(s.htmlAttrs))document.documentElement.setAttribute(i,a);if(s.bodyAttrs)for(let[i,a]of Object.entries(s.bodyAttrs))document.body.setAttribute(i,a);}),o=()=>{r();for(let s of n$1)s.remove();n$1.length=0;};try{y(o);}catch{}return o}function Dn(e){return e}function Ln(e,t){let n=[],r=[],o=[],s={},i=null,a=null,c={provide(u,l){h(u,l);},onError(u){r.push(u);},onBeforeMount(u){o.push(u);},config:s},d={use(u){return n.push(u),d},config(u,l){return s[u]=l,d},mount(u){if(a=typeof u=="string"?document.querySelector(u):u,!a)throw new Error(`[AkashJS] Mount target not found: ${u}`);for(let l of n)l.setup(c);for(let l of o)l();try{i=e(t??{}),a.appendChild(i);}catch(l){let p=l instanceof Error?l:new Error(String(l));if(r.length>0)for(let f of r)f(p);else throw p}},unmount(){i&&a&&(a.removeChild(i),i=null);}};return d}function Mn(e,t){let n=l(0),r=l(t?.immediate!==false),o=null;function s(){i(),o=setInterval(()=>n.update(a=>a+1),e);}function i(){o&&(clearInterval(o),o=null);}return r()&&s(),{count:(()=>n()),isActive:(()=>r()),pause(){r.set(false),i();},resume(){r.set(true),s();},reset(){n.set(0);},dispose(){i();}}}function In(e){let t=l(false),n=null;function r(){o(),t.set(false),n=setTimeout(()=>t.set(true),e);}function o(){n&&(clearTimeout(n),n=null);}return r(),{ready:(()=>t()),restart(){r();},dispose(){o();}}}function Hn(e,t){let n$1=l(e()),r=null;return n(()=>{let o=e();return r&&clearTimeout(r),r=setTimeout(()=>n$1.set(o),t),()=>{r&&clearTimeout(r);}}),(()=>n$1())}function jn(e,t){let n$1=l(e()),r=0,o=null;return n(()=>{let s=e(),i=Date.now(),a=i-r;return a>=t?(n$1.set(s),r=i):(o&&clearTimeout(o),o=setTimeout(()=>{n$1.set(s),r=Date.now();},t-a)),()=>{o&&clearTimeout(o);}}),(()=>n$1())}function _n(e=0,t){let n=t?.min??-1/0,r=t?.max??1/0,o=i=>Math.min(r,Math.max(n,i)),s=l(o(e));return {count:(()=>s()),inc(i=1){s.update(a=>o(a+i));},dec(i=1){s.update(a=>o(a-i));},set(i){s.set(o(i));},reset(){s.set(o(e));}}}function Fn(e=false){let t=l(e);return {value:(()=>t()),toggle(){t.update(n=>!n);},setTrue(){t.set(true);},setFalse(){t.set(false);}}}function Nn(e){let t,n$1=l(void 0);return n(()=>{let r=e();n$1.set(t),t=r;}),(()=>n$1())}function $n(e){if(typeof window>"u")return(()=>false);let t=window.matchMedia(e),n=l(t.matches),r=o=>n.set(o.matches);return t.addEventListener("change",r),(()=>n())}var Kn={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function Vn(e=Kn){let t=Object.entries(e).sort((i,a)=>i[1]-a[1]),n=l(typeof window<"u"?window.innerWidth:1024);if(typeof window<"u"){let i=()=>n.set(window.innerWidth);window.addEventListener("resize",i,{passive:true});}function r(){let i=n(),a="";for(let[c,d]of t)i>=d&&(a=c);return a||t[0]?.[0]||""}function o(i){let a=e[i];return a!==void 0&&n()>=a}function s(i){let a=e[i];return a!==void 0&&n()<a}return {current:r,gte:o,lt:s,width:(()=>n())}}function zn(e,t,n$1="local"){let r=typeof window<"u"?n$1==="local"?localStorage:sessionStorage:null,o=t;if(r)try{let i=r.getItem(e);i!==null&&(o=JSON.parse(i));}catch{}let s=l(o);return r&&(n(()=>{let i=s();try{r.setItem(e,JSON.stringify(i));}catch{}}),typeof window<"u"&&window.addEventListener("storage",i=>{if(i.key===e&&i.newValue!==null)try{s.set(JSON.parse(i.newValue));}catch{}})),s}function Wn(e){let t=l(""),n=l(false),r=e?.timeout??2e3,o=null;async function s(i){typeof navigator>"u"||!navigator.clipboard||(await navigator.clipboard.writeText(i),t.set(i),n.set(true),o&&clearTimeout(o),o=setTimeout(()=>n.set(false),r));}return {text:(()=>t()),copied:(()=>n()),copy:s}}function qn(){if(typeof window>"u")return(()=>true);let e=l(navigator.onLine);return window.addEventListener("online",()=>e.set(true)),window.addEventListener("offline",()=>e.set(false)),(()=>e())}function Bn(e){let t=l({latitude:null,longitude:null,accuracy:null,error:null,loading:true});return typeof navigator<"u"&&navigator.geolocation?navigator.geolocation.watchPosition(n=>{t.set({latitude:n.coords.latitude,longitude:n.coords.longitude,accuracy:n.coords.accuracy,error:null,loading:false});},n=>{t.set({latitude:null,longitude:null,accuracy:null,error:n,loading:false});},e):t.set({...t(),loading:false}),(()=>t())}function Un(){let e=l(typeof window<"u"?window.innerWidth:0),t=l(typeof window<"u"?window.innerHeight:0);return typeof window<"u"&&window.addEventListener("resize",()=>{e.set(window.innerWidth),t.set(window.innerHeight);},{passive:true}),{width:(()=>e()),height:(()=>t())}}function Gn(e,t,n={}){if(typeof document>"u")return ()=>{};let{events:r=["pointerdown"],ignore:o=[],active:s=true}=n,i=s;function a(){return typeof e=="function"?e():e}function c(l){let p=l.target;if(!p)return false;for(let f of o)if(typeof f=="string"){if(p.closest(f))return true}else if(f===p||f.contains(p))return true;return false}function d(l){if(!i)return;let p=a();if(!p)return;let f=l.target;p===f||p.contains(f)||c(l)||t(l);}for(let l of r)document.addEventListener(l,d,{passive:true,capture:true});let u=()=>{for(let l of r)document.removeEventListener(l,d,{capture:true});};return u.enable=()=>{i=true;},u.disable=()=>{i=false;},u}var Jn=B$1(e=>{let t=null,n=null;function r(){let o=e.props.target;return o?typeof o=="string"?document.querySelector(o)??document.body:o:document.body}return y(()=>{n&&t&&t.removeChild(n);}),()=>{t=r();let o=e.children();return n=u(o),t.appendChild(n),document.createComment("portal")}});var Qn=0;function Yn(e={}){let{maxVisible:t=5,defaultDuration:n=3e3,position:r="top-right"}=e,o=l([]),s=new Map;function i(u,l,p){let f=`toast-${++Qn}`,y=p?.duration??n,h=p?.dismissible??true,m={id:f,type:u,message:l,duration:y,dismissible:h,createdAt:Date.now()};if(o.update(v=>{let b=[...v,m];if(b.length>t){let k=b.shift();d(k.id);}return b}),y>0){let v=setTimeout(()=>a(f),y);s.set(f,v);}return f}function a(u){d(u),o.update(l=>l.filter(p=>p.id!==u));}function c(){for(let[u]of s)d(u);o.set([]);}function d(u){let l=s.get(u);l&&(clearTimeout(l),s.delete(u));}return {toasts:(()=>o()),position:r,success:(u,l)=>i("success",u,l),error:(u,l)=>i("error",u,l),info:(u,l)=>i("info",u,l),warning:(u,l)=>i("warning",u,l),add:i,dismiss:a,dismissAll:c}}function Xn(e={}){let{themes:t={light:{},dark:{}},storageKey:n$1="akash-theme",attribute:r="data-theme",syncSystem:o=true}=e,s=Object.keys(t);function i(){return typeof window>"u"?e.defaultTheme??"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function a(){if(typeof window<"u"&&n$1){let l=localStorage.getItem(n$1);if(l&&s.includes(l))return l}return e.defaultTheme??i()}let c=l(a()),d=m(()=>c()==="dark");function u(l){if(typeof document>"u")return;document.documentElement.setAttribute(r,l);let p=t[l];if(p)for(let[f,y]of Object.entries(p))document.documentElement.style.setProperty(f,y);document.documentElement.classList.remove(...s),document.documentElement.classList.add(l);}return n(()=>{let l=c();u(l),typeof window<"u"&&n$1&&localStorage.setItem(n$1,l);}),o&&typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",p=>{localStorage.getItem(n$1)||c.set(p.matches?"dark":"light");}),{current:()=>c(),isDark:d,set(l){s.includes(l)&&c.set(l);},toggle(){c.set(d()?"light":"dark");},setSystem(){typeof window<"u"&&n$1&&localStorage.removeItem(n$1),c.set(i());},themes:s}}function re(e,t,n,r,o=3){let s,i,a,c,d;typeof e=="object"?(s=e.scrollTop,i=e.containerHeight,a=e.itemHeight,c=e.totalItems,d=e.overscan??3):(s=e,i=t,a=n,c=r,d=o);let u=Math.floor(s/a),l=Math.ceil(i/a),p=Math.max(0,u-d),f=Math.min(c,u+l+d);return {start:p,end:f,totalHeight:c*a,offsetTop:p*a}}function Zn(e){let t=l(0),n=l(e.containerHeight??400),r=e.overscan??3,o=m(()=>re(t(),n(),e.itemHeight,e.items().length,r)),s=m(()=>{let c=o();return e.items().slice(c.start,c.end).map((d,u)=>({item:d,index:c.start+u}))});function i(c){let d=c.target;t.set(d.scrollTop);}function a(c){n.set(c);}return {range:o,visibleItems:s,onScroll:i,setContainerHeight:a,scrollTop:(()=>t())}}var er=B$1(e=>{let{itemHeight:t,containerHeight:n,overscan:r=3}=e.props,o=l(0);return ()=>{let s=e.props.each,i=n??400,a=re(o(),i,t,s.length,r),c=document.createElement("div");c.style.height=`${i}px`,c.style.overflow="auto",c.style.position="relative",c.addEventListener("scroll",()=>{o.set(c.scrollTop);},{passive:true});let d=document.createElement("div");d.style.height=`${a.totalHeight}px`,d.style.position="relative";let u$1=document.createElement("div");u$1.style.position="absolute",u$1.style.top=`${a.offsetTop}px`,u$1.style.left="0",u$1.style.right="0";for(let l=a.start;l<a.end;l++){let p=s[l];if(!p)continue;let f=u(e.props.children(p,l));f instanceof HTMLElement&&(f.style.height=`${t}px`),u$1.appendChild(f);}return d.appendChild(u$1),c.appendChild(d),c}});function tr(e){let t=typeof e=="function"?{loader:e}:e,{loader:n,loading:r,error:o,timeout:s,delay:i=200}=t,a=null,c=null,d=null;function u$1(){return c||(c=n().then(l=>{a=l.default;}).catch(l=>{d=l instanceof Error?l:new Error(String(l));}),c)}return B$1(l$1=>{let p=l("loading"),f=l(false);u$1().then(()=>{d?p.set("error"):p.set("ready");});let y=null;i>0?y=setTimeout(()=>f.set(true),i):f.set(true);let h=null;return s&&(h=setTimeout(()=>{p()==="loading"&&(d=new Error(`Async component timed out after ${s}ms`),p.set("error"));},s)),()=>{let m=p();return m!=="loading"&&(y&&clearTimeout(y),h&&clearTimeout(h)),m==="ready"&&a?a(l$1.props):m==="error"&&o&&d?u(o(d)):m==="loading"&&f()&&r?u(r()):document.createComment("async-loading")}})}function Te(e){let t=e.length;if(t===0)return [];let n=[],r=new Array(t).fill(-1),o=[];for(let a=0;a<t;a++){let c=e[a];if(c===-1)continue;let d=0,u=n.length;for(;d<u;){let l=d+u>>1;n[l]<c?d=l+1:u=l;}n[d]=c,o[d]=a,d>0&&(r[a]=o[d-1]);}let s=new Array(n.length),i=o[n.length-1];for(let a=n.length-1;a>=0;a--)s[a]=i,i=r[i];return s}function be(e,t){let n=[],r=new Map;for(let a=0;a<e.length;a++)r.set(e[a],a);let o=new Array(t.length);for(let a=0;a<t.length;a++)o[a]=r.get(t[a])??-1;let s=new Set(t);for(let a=0;a<e.length;a++)s.has(e[a])||n.push({type:"remove",oldIndex:a});let i=new Set(Te(o));for(let a=0;a<t.length;a++)o[a]===-1?n.push({type:"insert",newIndex:a}):i.has(a)||n.push({type:"move",newIndex:a,oldIndex:o[a]});return n}function nr(e,t){let n=be(e,t),r=0,o=0,s=0;for(let i of n)i.type==="insert"?r++:i.type==="move"?o++:s++;return {inserts:r,moves:o,removes:s}}var I=false,M=new Map,we=0;function rr(){I=true;}function or(){I=false,M.clear();}function ir(){return I}function sr(e){if(!I)return -1;let t=++we;return M.set(t,{id:t,createdAt:Date.now(),stackTrace:dr(),componentName:e??null,disposed:false}),t}function ar(e){if(!I||e===-1)return;let t=M.get(e);t&&(t.disposed=true,M.delete(e));}function cr(){return Array.from(M.values())}function xe(e=3e4){if(!I)return [];let t=Date.now(),n=[];for(let r of M.values())!r.disposed&&t-r.createdAt>e&&n.push({effectId:r.id,age:t-r.createdAt,componentName:r.componentName,stackTrace:r.stackTrace});return n}function lr(e=3e4){let t=xe(e);if(t.length!==0){console.warn(`[AkashJS] ${t.length} potential effect leak(s) detected:`);for(let n of t){let r=n.componentName?` in ${n.componentName}`:"";console.warn(` Effect #${n.effectId}${r} \u2014 active for ${(n.age/1e3).toFixed(1)}s`),n.stackTrace&&console.warn(` Created at:
20
+ ${n.stackTrace}`);}}}function ur(){return {enabled:I,activeCount:M.size,totalTracked:we}}function dr(){try{let t=new Error().stack;return t?t.split(`
21
21
  `).slice(3,8).join(`
22
- `):null}catch{return null}}var ur=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])',"[contenteditable]"].join(", ");function dr(e,t={}){let{initialFocus:n,returnFocus:r=true,escapeDeactivates:o=true,allowOutsideClick:i=false,onDeactivate:s}=t,a=l(false),c=null;function l$1(){return typeof e=="function"?e():e}function d(){let h=l$1();return h?Array.from(h.querySelectorAll(ur)):[]}function u(h){if(h.key==="Escape"&&o){h.preventDefault(),y(),s?.();return}if(h.key!=="Tab")return;let m=d();if(m.length===0)return;let v=m[0],b=m[m.length-1];h.shiftKey?document.activeElement===v&&(h.preventDefault(),b.focus()):document.activeElement===b&&(h.preventDefault(),v.focus());}function p(h){if(!a()||i)return;let m=l$1();if(!m)return;let v=h.relatedTarget;if(v&&!m.contains(v)){let b=d();b.length>0&&b[0].focus();}}function f(){if(a())return;a.set(true),c=document.activeElement,document.addEventListener("keydown",u,true);let h=l$1();h&&h.addEventListener("focusout",p),requestAnimationFrame(()=>{if(n)(typeof n=="string"?l$1()?.querySelector(n):n)?.focus();else {let m=d();m.length>0&&m[0].focus();}});}function y(){if(!a())return;a.set(false),document.removeEventListener("keydown",u,true);let h=l$1();h&&h.removeEventListener("focusout",p),r&&c&&(c.focus(),c=null);}return {activate:f,deactivate:y,active:()=>a()}}var z=null;function pr(){if(z&&document.body.contains(z))return z;let e=document.createElement("div");return e.setAttribute("role","status"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),e.style.cssText=["position: absolute","width: 1px","height: 1px","padding: 0","margin: -1px","overflow: hidden","clip: rect(0,0,0,0)","white-space: nowrap","border: 0"].join("; "),document.body.appendChild(e),z=e,e}function fr(){return (e,t="polite")=>{if(typeof document>"u")return;let n=pr();n.setAttribute("aria-live",t),n.textContent="",requestAnimationFrame(()=>{n.textContent=e;});}}function mr(){let e=[],t=new Set,n=false;function r(s){for(let a of e)if(!(a.scope&&!t.has(a.scope))&&gr(s,a.key)){a.preventDefault!==false&&s.preventDefault(),a.handler(s);return}}function o(){n||typeof document>"u"||(document.addEventListener("keydown",r),n=true);}function i(s,a,c){let l={key:s,handler:a,scope:c?.scope,description:c?.description??"",preventDefault:c?.preventDefault};return e.push(l),o(),()=>{let d=e.indexOf(l);d!==-1&&e.splice(d,1);}}return {bind:i,enableScope(s){t.add(s);},disableScope(s){t.delete(s);},getBindings(){return e.map(s=>({key:yr(s.key),description:s.description??"",scope:s.scope}))},dispose(){e.length=0,typeof document<"u"&&document.removeEventListener("keydown",r),n=false;}}}function gr(e,t){let n=t.toLowerCase().split("+"),r=n.pop(),o=n.includes("mod"),i=n.includes("ctrl"),s=n.includes("shift"),a=n.includes("alt"),l=typeof navigator<"u"&&navigator.platform?.includes("Mac")?e.metaKey:e.ctrlKey;return o&&!l||i&&!e.ctrlKey||s&&!e.shiftKey||a&&!e.altKey?false:e.key.toLowerCase()===r||e.code.toLowerCase()===r}function yr(e){let t=typeof navigator<"u"&&navigator.platform?.includes("Mac");return e.replace(/mod/gi,t?"\u2318":"Ctrl").replace(/shift/gi,t?"\u21E7":"Shift").replace(/alt/gi,t?"\u2325":"Alt").replace(/\+/g,t?"":"+")}var hr=B$1(e=>{let t=l(false),n=l(false);return ()=>{let{src:r,alt:o,width:i,height:s,loading:a="lazy",srcset:c,sizes:l,placeholder:d,blurDataUrl:u,class:p,fallbackSrc:f,onLoad:y,onError:h}=e.props,m=document.createElement("div");if(m.style.position="relative",m.style.display="inline-block",m.style.overflow="hidden",i&&(m.style.width=`${i}px`),s&&(m.style.height=`${s}px`),d==="blur"&&u&&!t()){let b=document.createElement("img");b.src=u,b.alt="",b.setAttribute("aria-hidden","true"),b.style.cssText="position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(20px);transform:scale(1.1);",m.appendChild(b);}let v=document.createElement("img");if(v.alt=o,v.loading=a,n()&&f?v.src=f:v.src=r,c&&(v.srcset=c),l&&(v.sizes=l),i&&(v.width=i),s&&(v.height=s),p&&(v.className=p),v.style.display="block",v.style.width="100%",v.style.height="auto",v.addEventListener("load",()=>{t.set(true),y?.();}),v.addEventListener("error",b=>{n.set(true),h?.(b);}),a==="lazy"&&typeof IntersectionObserver<"u"){v.setAttribute("data-src",v.src);let b=v.src;v.removeAttribute("src");let k=new IntersectionObserver(T=>{T[0].isIntersecting&&(v.src=b,k.disconnect());},{rootMargin:"200px"});requestAnimationFrame(()=>{v.parentElement?k.observe(v):v.src=b;});}return m.appendChild(v),m}});function vr(e){let{onLoadMore:t,hasMore:n,rootMargin:r="200px",threshold:o=0}=e,i=l(false),s=l(false),a=null,c=null,l$1=false;async function d(){if(!(i()||s()||l$1)){if(!n()){s.set(true);return}i.set(true);try{await t(),n()||s.set(!0);}finally{i.set(false);}}}function u(f){typeof IntersectionObserver>"u"||(a=new IntersectionObserver(y=>{y[0]?.isIntersecting&&d();},{rootMargin:r,threshold:o}),a.observe(f));}function p(){return c||(c=document.createElement("div"),c.setAttribute("data-akash-sentinel",""),c.style.height="1px",c.setAttribute("aria-hidden","true"),requestAnimationFrame(()=>{c&&!l$1&&u(c);}),c)}return {sentinel:p,loading:()=>i(),done:()=>s(),reset(){s.set(false),i.set(false);},dispose(){l$1=true,a?.disconnect(),a=null;}}}function Se(...e){let t=[];for(let n of e)if(n){if(typeof n=="string")t.push(n);else if(Array.isArray(n)){let r=Se(...n);r&&t.push(r);}else if(typeof n=="object")for(let[r,o]of Object.entries(n))o&&t.push(r);}return t.join(" ")}function Tr(e){let t=[];for(let[n,r]of Object.entries(e)){if(r==null)continue;let o=oe(n),i=typeof r=="number"&&!Ee.has(n)?`${r}px`:String(r);t.push(`${o}: ${i}`);}return t.join("; ")}function br(e,t){for(let[n,r]of Object.entries(t))if(r==null)e.style.removeProperty(oe(n));else {let o=typeof r=="number"&&!Ee.has(n)?`${r}px`:String(r);e.style.setProperty(oe(n),o);}}function oe(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var Ee=new Set(["animationIterationCount","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","fillOpacity","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","fontWeight","gridColumn","gridRow","lineClamp","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom"]);function wr(e){let{data:t,columns:n,pageSize:r=0,initialSort:o}=e,i=l(o??{column:null,direction:null}),s=l(""),a=l(1),c=l(Object.fromEntries(n.map(T=>[T.key,T.visible!==false]))),l$1=m(()=>{let T=c();return n.filter(x=>T[x.key])}),d=m(()=>{let T=s().toLowerCase().trim();if(!T)return t();let x=n.filter(C=>C.filterable),A=x.length>0?x:n;return t().filter(C=>A.some(R=>{let V=ie(C,R.key);return String(V).toLowerCase().includes(T)}))}),u=m(()=>{let{column:T,direction:x}=i(),A=[...d()];if(!T||!x)return A;let C=n.find(R=>R.key===T);return C?A.sort((R,V)=>{if(C.compare){let me=C.compare(R,V);return x==="desc"?-me:me}let nt=ie(R,T),rt=ie(V,T),fe=xr(nt,rt);return x==="desc"?-fe:fe}):A}),p=m(()=>d().length),f=m(()=>r<=0?1:Math.max(1,Math.ceil(p()/r))),y=m(()=>{let T=u();if(r<=0)return T;let x=(a()-1)*r;return T.slice(x,x+r)});function h(T){let x=i();x.column===T?x.direction==="asc"?i.set({column:T,direction:"desc"}):x.direction==="desc"?i.set({column:null,direction:null}):i.set({column:T,direction:"asc"}):i.set({column:T,direction:"asc"}),a.set(1);}function m$1(T){s.set(T),a.set(1);}function v(T){c.update(x=>({...x,[T]:!x[T]}));}function b(T){c.update(x=>({...x,[T]:true}));}function k(T){c.update(x=>({...x,[T]:false}));}return {rows:y,allRows:u,totalRows:p,visibleColumns:l$1,sortState:()=>i(),filterText:()=>s(),page:()=>a(),totalPages:f,sort:h,filter:m$1,toggleColumn:v,showColumn:b,hideColumn:k,nextPage(){a()<f()&&a.update(T=>T+1);},prevPage(){a()>1&&a.update(T=>T-1);},goToPage(T){a.set(Math.max(1,Math.min(T,f())));},reset(){i.set({column:null,direction:null}),s.set(""),a.set(1);}}}function ie(e,t){return t.split(".").reduce((n,r)=>n?.[r],e)}function xr(e,t){return e==null&&t==null?0:e==null?-1:t==null?1:typeof e=="number"&&typeof t=="number"?e-t:String(e).localeCompare(String(t))}function ke(e){let t=Array.isArray(e)?e:[e];for(let n of t){let r={"@context":"https://schema.org",...n};F({script:[{type:"application/ld+json",innerHTML:JSON.stringify(r)}]});}}function Ce(e){let t=[{property:"og:title",content:e.title}];e.description&&t.push({property:"og:description",content:e.description}),e.image&&t.push({property:"og:image",content:e.image}),e.url&&t.push({property:"og:url",content:e.url}),e.type&&t.push({property:"og:type",content:e.type}),e.siteName&&t.push({property:"og:site_name",content:e.siteName}),e.locale&&t.push({property:"og:locale",content:e.locale}),F({meta:t});}function Pe(e){let t=[{name:"twitter:title",content:e.title}];e.card&&t.push({name:"twitter:card",content:e.card}),e.description&&t.push({name:"twitter:description",content:e.description}),e.image&&t.push({name:"twitter:image",content:e.image}),e.site&&t.push({name:"twitter:site",content:e.site}),e.creator&&t.push({name:"twitter:creator",content:e.creator}),F({meta:t});}function Sr(e){let t=[];e.description&&t.push({name:"description",content:e.description}),e.robots&&t.push({name:"robots",content:e.robots});let n=[];e.canonical&&n.push({rel:"canonical",href:e.canonical}),F({title:e.title,meta:t,link:n}),e.openGraph&&Ce(e.openGraph),e.twitter&&Pe(e.twitter),e.structuredData&&ke(e.structuredData);}function Er(e,t){let n=`<?xml version="1.0" encoding="UTF-8"?>
22
+ `):null}catch{return null}}var pr=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])',"[contenteditable]"].join(", ");function fr(e,t={}){let{initialFocus:n,returnFocus:r=true,escapeDeactivates:o=true,allowOutsideClick:s=false,onDeactivate:i}=t,a=l(false),c=null;function d(){return typeof e=="function"?e():e}function u(){let h=d();return h?Array.from(h.querySelectorAll(pr)):[]}function l$1(h){if(h.key==="Escape"&&o){h.preventDefault(),y(),i?.();return}if(h.key!=="Tab")return;let m=u();if(m.length===0)return;let v=m[0],b=m[m.length-1];h.shiftKey?document.activeElement===v&&(h.preventDefault(),b.focus()):document.activeElement===b&&(h.preventDefault(),v.focus());}function p(h){if(!a()||s)return;let m=d();if(!m)return;let v=h.relatedTarget;if(v&&!m.contains(v)){let b=u();b.length>0&&b[0].focus();}}function f(){if(a())return;a.set(true),c=document.activeElement,document.addEventListener("keydown",l$1,true);let h=d();h&&h.addEventListener("focusout",p),requestAnimationFrame(()=>{if(n)(typeof n=="string"?d()?.querySelector(n):n)?.focus();else {let m=u();m.length>0&&m[0].focus();}});}function y(){if(!a())return;a.set(false),document.removeEventListener("keydown",l$1,true);let h=d();h&&h.removeEventListener("focusout",p),r&&c&&(c.focus(),c=null);}return {activate:f,deactivate:y,active:()=>a()}}var W=null;function mr(){if(W&&document.body.contains(W))return W;let e=document.createElement("div");return e.setAttribute("role","status"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),e.style.cssText=["position: absolute","width: 1px","height: 1px","padding: 0","margin: -1px","overflow: hidden","clip: rect(0,0,0,0)","white-space: nowrap","border: 0"].join("; "),document.body.appendChild(e),W=e,e}function gr(){return (e,t="polite")=>{if(typeof document>"u")return;let n=mr();n.setAttribute("aria-live",t),n.textContent="",requestAnimationFrame(()=>{n.textContent=e;});}}function yr(){let e=[],t=new Set,n=false;function r(i){for(let a of e)if(!(a.scope&&!t.has(a.scope))&&hr(i,a.key)){a.preventDefault!==false&&i.preventDefault(),a.handler(i);return}}function o(){n||typeof document>"u"||(document.addEventListener("keydown",r),n=true);}function s(i,a,c){let d={key:i,handler:a,scope:c?.scope,description:c?.description??"",preventDefault:c?.preventDefault};return e.push(d),o(),()=>{let u=e.indexOf(d);u!==-1&&e.splice(u,1);}}return {bind:s,enableScope(i){t.add(i);},disableScope(i){t.delete(i);},getBindings(){return e.map(i=>({key:vr(i.key),description:i.description??"",scope:i.scope}))},dispose(){e.length=0,typeof document<"u"&&document.removeEventListener("keydown",r),n=false;}}}function hr(e,t){let n=t.toLowerCase().split("+"),r=n.pop(),o=n.includes("mod"),s=n.includes("ctrl"),i=n.includes("shift"),a=n.includes("alt"),d=typeof navigator<"u"&&navigator.platform?.includes("Mac")?e.metaKey:e.ctrlKey;return o&&!d||s&&!e.ctrlKey||i&&!e.shiftKey||a&&!e.altKey?false:e.key.toLowerCase()===r||e.code.toLowerCase()===r}function vr(e){let t=typeof navigator<"u"&&navigator.platform?.includes("Mac");return e.replace(/mod/gi,t?"\u2318":"Ctrl").replace(/shift/gi,t?"\u21E7":"Shift").replace(/alt/gi,t?"\u2325":"Alt").replace(/\+/g,t?"":"+")}var Tr=B$1(e=>{let t=l(false),n=l(false);return ()=>{let{src:r,alt:o,width:s,height:i,loading:a="lazy",srcset:c,sizes:d,placeholder:u,blurDataUrl:l,class:p,fallbackSrc:f,onLoad:y,onError:h}=e.props,m=document.createElement("div");if(m.style.position="relative",m.style.display="inline-block",m.style.overflow="hidden",s&&(m.style.width=`${s}px`),i&&(m.style.height=`${i}px`),u==="blur"&&l&&!t()){let b=document.createElement("img");b.src=l,b.alt="",b.setAttribute("aria-hidden","true"),b.style.cssText="position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(20px);transform:scale(1.1);",m.appendChild(b);}let v=document.createElement("img");if(v.alt=o,v.loading=a,n()&&f?v.src=f:v.src=r,c&&(v.srcset=c),d&&(v.sizes=d),s&&(v.width=s),i&&(v.height=i),p&&(v.className=p),v.style.display="block",v.style.width="100%",v.style.height="auto",v.addEventListener("load",()=>{t.set(true),y?.();}),v.addEventListener("error",b=>{n.set(true),h?.(b);}),a==="lazy"&&typeof IntersectionObserver<"u"){v.setAttribute("data-src",v.src);let b=v.src;v.removeAttribute("src");let k=new IntersectionObserver(T=>{T[0].isIntersecting&&(v.src=b,k.disconnect());},{rootMargin:"200px"});requestAnimationFrame(()=>{v.parentElement?k.observe(v):v.src=b;});}return m.appendChild(v),m}});function br(e){let{onLoadMore:t,hasMore:n,rootMargin:r="200px",threshold:o=0}=e,s=l(false),i=l(false),a=null,c=null,d=false;async function u(){if(!(s()||i()||d)){if(!n()){i.set(true);return}s.set(true);try{await t(),n()||i.set(!0);}finally{s.set(false);}}}function l$1(f){typeof IntersectionObserver>"u"||(a=new IntersectionObserver(y=>{y[0]?.isIntersecting&&u();},{rootMargin:r,threshold:o}),a.observe(f));}function p(){return c||(c=document.createElement("div"),c.setAttribute("data-akash-sentinel",""),c.style.height="1px",c.setAttribute("aria-hidden","true"),requestAnimationFrame(()=>{c&&!d&&l$1(c);}),c)}return {sentinel:p,loading:()=>s(),done:()=>i(),reset(){i.set(false),s.set(false);},dispose(){d=true,a?.disconnect(),a=null;}}}function Se(...e){let t=[];for(let n of e)if(n){if(typeof n=="string")t.push(n);else if(Array.isArray(n)){let r=Se(...n);r&&t.push(r);}else if(typeof n=="object")for(let[r,o]of Object.entries(n))o&&t.push(r);}return t.join(" ")}function wr(e){let t=[];for(let[n,r]of Object.entries(e)){if(r==null)continue;let o=oe(n),s=typeof r=="number"&&!Ee.has(n)?`${r}px`:String(r);t.push(`${o}: ${s}`);}return t.join("; ")}function xr(e,t){for(let[n,r]of Object.entries(t))if(r==null)e.style.removeProperty(oe(n));else {let o=typeof r=="number"&&!Ee.has(n)?`${r}px`:String(r);e.style.setProperty(oe(n),o);}}function oe(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var Ee=new Set(["animationIterationCount","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","fillOpacity","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","fontWeight","gridColumn","gridRow","lineClamp","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom"]);function Sr(e){let{data:t,columns:n,pageSize:r=0,initialSort:o}=e,s=l(o??{column:null,direction:null}),i=l(""),a=l(1),c=l(Object.fromEntries(n.map(T=>[T.key,T.visible!==false]))),d=m(()=>{let T=c();return n.filter(x=>T[x.key])}),u=m(()=>{let T=i().toLowerCase().trim();if(!T)return t();let x=n.filter(C=>C.filterable),A=x.length>0?x:n;return t().filter(C=>A.some(R=>{let V=ie(C,R.key);return String(V).toLowerCase().includes(T)}))}),l$1=m(()=>{let{column:T,direction:x}=s(),A=[...u()];if(!T||!x)return A;let C=n.find(R=>R.key===T);return C?A.sort((R,V)=>{if(C.compare){let me=C.compare(R,V);return x==="desc"?-me:me}let nt=ie(R,T),rt=ie(V,T),fe=Er(nt,rt);return x==="desc"?-fe:fe}):A}),p=m(()=>u().length),f=m(()=>r<=0?1:Math.max(1,Math.ceil(p()/r))),y=m(()=>{let T=l$1();if(r<=0)return T;let x=(a()-1)*r;return T.slice(x,x+r)});function h(T){let x=s();x.column===T?x.direction==="asc"?s.set({column:T,direction:"desc"}):x.direction==="desc"?s.set({column:null,direction:null}):s.set({column:T,direction:"asc"}):s.set({column:T,direction:"asc"}),a.set(1);}function m$1(T){i.set(T),a.set(1);}function v(T){c.update(x=>({...x,[T]:!x[T]}));}function b(T){c.update(x=>({...x,[T]:true}));}function k(T){c.update(x=>({...x,[T]:false}));}return {rows:y,allRows:l$1,totalRows:p,visibleColumns:d,sortState:()=>s(),filterText:()=>i(),page:()=>a(),totalPages:f,sort:h,filter:m$1,toggleColumn:v,showColumn:b,hideColumn:k,nextPage(){a()<f()&&a.update(T=>T+1);},prevPage(){a()>1&&a.update(T=>T-1);},goToPage(T){a.set(Math.max(1,Math.min(T,f())));},reset(){s.set({column:null,direction:null}),i.set(""),a.set(1);}}}function ie(e,t){return t.split(".").reduce((n,r)=>n?.[r],e)}function Er(e,t){return e==null&&t==null?0:e==null?-1:t==null?1:typeof e=="number"&&typeof t=="number"?e-t:String(e).localeCompare(String(t))}function ke(e){let t=Array.isArray(e)?e:[e];for(let n of t){let r={"@context":"https://schema.org",...n};_({script:[{type:"application/ld+json",innerHTML:JSON.stringify(r)}]});}}function Ce(e){let t=[{property:"og:title",content:e.title}];e.description&&t.push({property:"og:description",content:e.description}),e.image&&t.push({property:"og:image",content:e.image}),e.url&&t.push({property:"og:url",content:e.url}),e.type&&t.push({property:"og:type",content:e.type}),e.siteName&&t.push({property:"og:site_name",content:e.siteName}),e.locale&&t.push({property:"og:locale",content:e.locale}),_({meta:t});}function Pe(e){let t=[{name:"twitter:title",content:e.title}];e.card&&t.push({name:"twitter:card",content:e.card}),e.description&&t.push({name:"twitter:description",content:e.description}),e.image&&t.push({name:"twitter:image",content:e.image}),e.site&&t.push({name:"twitter:site",content:e.site}),e.creator&&t.push({name:"twitter:creator",content:e.creator}),_({meta:t});}function kr(e){let t=[];e.description&&t.push({name:"description",content:e.description}),e.robots&&t.push({name:"robots",content:e.robots});let n=[];e.canonical&&n.push({rel:"canonical",href:e.canonical}),_({title:e.title,meta:t,link:n}),e.openGraph&&Ce(e.openGraph),e.twitter&&Pe(e.twitter),e.structuredData&&ke(e.structuredData);}function Cr(e,t){let n=`<?xml version="1.0" encoding="UTF-8"?>
23
23
  `;n+=`<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
24
24
  `;for(let r of t)n+=` <url>
25
25
  `,n+=` <loc>${e}${r.url}</loc>
@@ -28,7 +28,7 @@ ${n.stackTrace}`);}}}function cr(){return {enabled:I,activeCount:M.size,totalTra
28
28
  `),r.priority!=null&&(n+=` <priority>${r.priority}</priority>
29
29
  `),n+=` </url>
30
30
  `;return n+=`</urlset>
31
- `,n}function kr(e,t,...n){if(n.length>0&&n.every(r=>typeof r=="function")){let r=t(e);for(let o of n)r=o(r);return r}return t(e,...n)}function Cr(...e){return (t,...n)=>{let r=t;for(let o of e)r=o(r,...n);return r}}function Pr(e){return e}var Ar=e=>String(e).toUpperCase(),Rr=e=>String(e).toLowerCase(),Dr=e=>{let t=String(e);return t.charAt(0).toUpperCase()+t.slice(1)},Lr=e=>String(e).replace(/\b\w/g,t=>t.toUpperCase()),Or=e=>String(e).trim(),Mr=(e,t=50,n="...")=>{let r=String(e);return r.length<=t?r:r.slice(0,t-n.length)+n},Ir=(e,t="medium",n)=>{let r=e instanceof Date?e:new Date(e);if(isNaN(r.getTime()))return String(e);if(t==="iso")return r.toISOString();let o=n??"en-US",i={short:{year:"2-digit",month:"numeric",day:"numeric"},medium:{year:"numeric",month:"numeric",day:"numeric"},long:{year:"numeric",month:"long",day:"numeric"},full:{weekday:"long",year:"numeric",month:"long",day:"numeric"},time:{hour:"numeric",minute:"2-digit"}};return new Intl.DateTimeFormat(o,i[t]).format(r)},Hr=(e,t="USD",n)=>new Intl.NumberFormat(n??"en-US",{style:"currency",currency:t}).format(Number(e)),jr=(e,t,n)=>{let r={};if(t){let[o,i]=t.split("-").map(Number);r.minimumFractionDigits=o,r.maximumFractionDigits=i??o;}return new Intl.NumberFormat(n??"en-US",r).format(Number(e))},Fr=(e,t=0,n)=>new Intl.NumberFormat(n??"en-US",{style:"percent",minimumFractionDigits:t,maximumFractionDigits:t}).format(Number(e)),_r=(e,t=2)=>JSON.stringify(e,null,t),Nr=(e,t,n)=>{let r=n??`${t}s`;return `${e} ${e===1?t:r}`},$r=(e,t)=>{let r=(e instanceof Date?e.getTime():Number(e))-Date.now(),o=Math.abs(r),i=[[6e4,"second"],[36e5,"minute"],[864e5,"hour"],[2592e6,"day"],[31536e6,"month"],[1/0,"year"]],s={second:1e3,minute:6e4,hour:36e5,day:864e5,month:2592e6,year:31536e6},a="second";for(let[u,p]of i)if(o<u){a=p;break}let c=Math.round(r/s[a]);if(typeof Intl<"u"&&Intl.RelativeTimeFormat)return new Intl.RelativeTimeFormat(t??"en",{numeric:"auto"}).format(c,a);let l=Math.abs(c),d=c<0?"ago":"from now";return `${l} ${a}${l!==1?"s":""} ${d}`};function H(e){return {_type:"directive",hooks:e}}function Kr(e){return H({mounted(t,n){let r=e(t,n);typeof r=="function"&&(t.__directiveCleanup=r);},unmounted(t){t.__directiveCleanup?.();}})}var $=Symbol("akash.directives");function Vr(e,t,n,r){let o={value:n,arg:r?.arg,modifiers:r?.modifiers},i=e[$]??[];i.push({directive:t,binding:o}),e[$]=i,t.hooks.mounted?.(e,o);}function Wr(e,t,n){let o=(e[$]??[]).find(i=>i.directive===t);if(o){let i=o.binding.value;o.binding={...o.binding,value:n,oldValue:i},t.hooks.updated?.(e,o.binding);}}function zr(e){let t=e[$]??[];for(let n of t)n.directive.hooks.unmounted?.(e,n.binding);delete e[$];}var qr=H({mounted(e){requestAnimationFrame(()=>e.focus());}}),Br=H({mounted(e,{value:t}){let n=r=>{e.contains(r.target)||t();};document.addEventListener("click",n,true),e.__vClickOutside=n;},unmounted(e){document.removeEventListener("click",e.__vClickOutside,true),delete e.__vClickOutside;}}),Ur=H({mounted(e,{value:t}){let n=null,r=t.duration??500,o=()=>{n=setTimeout(t.handler,r);},i=()=>{n&&(clearTimeout(n),n=null);};e.addEventListener("pointerdown",o),e.addEventListener("pointerup",i),e.addEventListener("pointerleave",i),e.__vLongPress={start:o,cancel:i};},unmounted(e){let t=e.__vLongPress;t&&(e.removeEventListener("pointerdown",t.start),e.removeEventListener("pointerup",t.cancel),e.removeEventListener("pointerleave",t.cancel));}}),Gr=H({mounted(e,{value:t}){let n=new IntersectionObserver(r=>{t(r[0].isIntersecting);});n.observe(e),e.__vIntersect=n;},unmounted(e){e.__vIntersect?.disconnect();}}),Jr=H({mounted(e,{value:t}){let n=new ResizeObserver(r=>{t(r[0]);});n.observe(e),e.__vResize=n;},unmounted(e){e.__vResize?.disconnect();}});function Qr(e,t,n={}){let{props:r=[],shadow:o=true,styles:i}=n;class s extends HTMLElement{static get observedAttributes(){return r}_root;_mounted=false;_props={};constructor(){super(),this._root=o?this.attachShadow({mode:"open"}):this;}connectedCallback(){for(let c of r){let l=this.getAttribute(c);l!==null&&(this._props[c]=q(l));}this._render(),this._mounted=true;}disconnectedCallback(){for(;this._root.firstChild;)this._root.removeChild(this._root.firstChild);this._mounted=false;}attributeChangedCallback(c,l,d){this._props[c]=d!==null?q(d):void 0,this._mounted&&this._render();}_render(){for(;this._root.firstChild;)this._root.removeChild(this._root.firstChild);if(o&&i){let l=document.createElement("style");l.textContent=i,this._root.appendChild(l);}let c=t(this._props);this._root.appendChild(c);}setProps(c){Object.assign(this._props,c),this._mounted&&this._render();}}return typeof customElements<"u"&&!customElements.get(e)&&(n.extends?customElements.define(e,s,{extends:n.extends}):customElements.define(e,s)),s}function Yr(e,t={}){let{props:n=[],shadow:r=true,styles:o}=t;return class extends HTMLElement{static get observedAttributes(){return n}_root;_mounted=false;_props={};constructor(){super(),this._root=r?this.attachShadow({mode:"open"}):this;}connectedCallback(){for(let i of n){let s=this.getAttribute(i);s!==null&&(this._props[i]=q(s));}this._render(),this._mounted=true;}disconnectedCallback(){for(;this._root.firstChild;)this._root.removeChild(this._root.firstChild);this._mounted=false;}attributeChangedCallback(i,s,a){this._props[i]=a!==null?q(a):void 0,this._mounted&&this._render();}_render(){for(;this._root.firstChild;)this._root.removeChild(this._root.firstChild);if(r&&o){let i=document.createElement("style");i.textContent=o,this._root.appendChild(i);}this._root.appendChild(e(this._props));}}}function q(e){try{return JSON.parse(e)}catch{return e}}var Xr=`<!DOCTYPE html>
31
+ `,n}function Pr(e,t,...n){if(n.length>0&&n.every(r=>typeof r=="function")){let r=t(e);for(let o of n)r=o(r);return r}return t(e,...n)}function Ar(...e){return (t,...n)=>{let r=t;for(let o of e)r=o(r,...n);return r}}function Rr(e){return e}var Or=e=>String(e).toUpperCase(),Dr=e=>String(e).toLowerCase(),Lr=e=>{let t=String(e);return t.charAt(0).toUpperCase()+t.slice(1)},Mr=e=>String(e).replace(/\b\w/g,t=>t.toUpperCase()),Ir=e=>String(e).trim(),Hr=(e,t=50,n="...")=>{let r=String(e);return r.length<=t?r:r.slice(0,t-n.length)+n},jr=(e,t="medium",n)=>{let r=e instanceof Date?e:new Date(e);if(isNaN(r.getTime()))return String(e);if(t==="iso")return r.toISOString();let o=n??"en-US",s={short:{year:"2-digit",month:"numeric",day:"numeric"},medium:{year:"numeric",month:"numeric",day:"numeric"},long:{year:"numeric",month:"long",day:"numeric"},full:{weekday:"long",year:"numeric",month:"long",day:"numeric"},time:{hour:"numeric",minute:"2-digit"}};return new Intl.DateTimeFormat(o,s[t]).format(r)},_r=(e,t="USD",n)=>new Intl.NumberFormat(n??"en-US",{style:"currency",currency:t}).format(Number(e)),Fr=(e,t,n)=>{let r={};if(t){let[o,s]=t.split("-").map(Number);r.minimumFractionDigits=o,r.maximumFractionDigits=s??o;}return new Intl.NumberFormat(n??"en-US",r).format(Number(e))},Nr=(e,t=0,n)=>new Intl.NumberFormat(n??"en-US",{style:"percent",minimumFractionDigits:t,maximumFractionDigits:t}).format(Number(e)),$r=(e,t=2)=>JSON.stringify(e,null,t),Kr=(e,t,n)=>{let r=n??`${t}s`;return `${e} ${e===1?t:r}`},Vr=(e,t)=>{let r=(e instanceof Date?e.getTime():Number(e))-Date.now(),o=Math.abs(r),s=[[6e4,"second"],[36e5,"minute"],[864e5,"hour"],[2592e6,"day"],[31536e6,"month"],[1/0,"year"]],i={second:1e3,minute:6e4,hour:36e5,day:864e5,month:2592e6,year:31536e6},a="second";for(let[l,p]of s)if(o<l){a=p;break}let c=Math.round(r/i[a]);if(typeof Intl<"u"&&Intl.RelativeTimeFormat)return new Intl.RelativeTimeFormat(t??"en",{numeric:"auto"}).format(c,a);let d=Math.abs(c),u=c<0?"ago":"from now";return `${d} ${a}${d!==1?"s":""} ${u}`};function H(e){return {_type:"directive",hooks:e}}function zr(e){return H({mounted(t,n){let r=e(t,n);typeof r=="function"&&(t.__directiveCleanup=r);},unmounted(t){t.__directiveCleanup?.();}})}var $=Symbol("akash.directives");function Wr(e,t,n,r){let o={value:n,arg:r?.arg,modifiers:r?.modifiers},s=e[$]??[];s.push({directive:t,binding:o}),e[$]=s,t.hooks.mounted?.(e,o);}function qr(e,t,n){let o=(e[$]??[]).find(s=>s.directive===t);if(o){let s=o.binding.value;o.binding={...o.binding,value:n,oldValue:s},t.hooks.updated?.(e,o.binding);}}function Br(e){let t=e[$]??[];for(let n of t)n.directive.hooks.unmounted?.(e,n.binding);delete e[$];}var Ur=H({mounted(e){requestAnimationFrame(()=>e.focus());}}),Gr=H({mounted(e,{value:t}){let n=r=>{e.contains(r.target)||t();};document.addEventListener("click",n,true),e.__vClickOutside=n;},unmounted(e){document.removeEventListener("click",e.__vClickOutside,true),delete e.__vClickOutside;}}),Jr=H({mounted(e,{value:t}){let n=null,r=t.duration??500,o=()=>{n=setTimeout(t.handler,r);},s=()=>{n&&(clearTimeout(n),n=null);};e.addEventListener("pointerdown",o),e.addEventListener("pointerup",s),e.addEventListener("pointerleave",s),e.__vLongPress={start:o,cancel:s};},unmounted(e){let t=e.__vLongPress;t&&(e.removeEventListener("pointerdown",t.start),e.removeEventListener("pointerup",t.cancel),e.removeEventListener("pointerleave",t.cancel));}}),Qr=H({mounted(e,{value:t}){let n=new IntersectionObserver(r=>{t(r[0].isIntersecting);});n.observe(e),e.__vIntersect=n;},unmounted(e){e.__vIntersect?.disconnect();}}),Yr=H({mounted(e,{value:t}){let n=new ResizeObserver(r=>{t(r[0]);});n.observe(e),e.__vResize=n;},unmounted(e){e.__vResize?.disconnect();}});function Xr(e,t,n={}){let{props:r=[],shadow:o=true,styles:s}=n;class i extends HTMLElement{static get observedAttributes(){return r}_root;_mounted=false;_props={};constructor(){super(),this._root=o?this.attachShadow({mode:"open"}):this;}connectedCallback(){for(let c of r){let d=this.getAttribute(c);d!==null&&(this._props[c]=q(d));}this._render(),this._mounted=true;}disconnectedCallback(){for(;this._root.firstChild;)this._root.removeChild(this._root.firstChild);this._mounted=false;}attributeChangedCallback(c,d,u){this._props[c]=u!==null?q(u):void 0,this._mounted&&this._render();}_render(){for(;this._root.firstChild;)this._root.removeChild(this._root.firstChild);if(o&&s){let d=document.createElement("style");d.textContent=s,this._root.appendChild(d);}let c=t(this._props);this._root.appendChild(c);}setProps(c){Object.assign(this._props,c),this._mounted&&this._render();}}return typeof customElements<"u"&&!customElements.get(e)&&(n.extends?customElements.define(e,i,{extends:n.extends}):customElements.define(e,i)),i}function Zr(e,t={}){let{props:n=[],shadow:r=true,styles:o}=t;return class extends HTMLElement{static get observedAttributes(){return n}_root;_mounted=false;_props={};constructor(){super(),this._root=r?this.attachShadow({mode:"open"}):this;}connectedCallback(){for(let s of n){let i=this.getAttribute(s);i!==null&&(this._props[s]=q(i));}this._render(),this._mounted=true;}disconnectedCallback(){for(;this._root.firstChild;)this._root.removeChild(this._root.firstChild);this._mounted=false;}attributeChangedCallback(s,i,a){this._props[s]=a!==null?q(a):void 0,this._mounted&&this._render();}_render(){for(;this._root.firstChild;)this._root.removeChild(this._root.firstChild);if(r&&o){let s=document.createElement("style");s.textContent=o,this._root.appendChild(s);}this._root.appendChild(e(this._props));}}}function q(e){try{return JSON.parse(e)}catch{return e}}var eo=`<!DOCTYPE html>
32
32
  <html lang="en">
33
33
  <head>
34
34
  <meta charset="UTF-8">
@@ -39,26 +39,26 @@ ${n.stackTrace}`);}}}function cr(){return {enabled:I,activeCount:M.size,totalTra
39
39
  <div id="app">{{content}}</div>
40
40
  {{scripts}}
41
41
  </body>
42
- </html>`;async function Zr(e){let{routes:t,render:n,outDir:r="dist",template:o=Xr,onPage:i,onError:s,concurrency:a=5}=e,c=Date.now(),l=typeof t=="function"?await t():t,d={rendered:[],errors:[],duration:0};for(let u=0;u<l.length;u+=a){let p=l.slice(u,u+a);await Promise.all(p.map(async f=>{try{let y=await n(f),h=o.replace("{{content}}",y).replace("{{head}}","").replace("{{scripts}}",""),m=Ae(f);d.rendered.push({url:f,file:`${r}/${m}`,size:new Blob([h]).size}),i?.(f,h);}catch(y){let h=y instanceof Error?y:new Error(String(y));d.errors.push({url:f,error:h.message}),s?.(f,h);}}));}return d.duration=Date.now()-c,d}function eo(e){return e.filter(t=>!t.path.includes(":")&&!t.path.includes("*")).map(t=>t.path)}function to(e,t){return t.map(n=>{let r=e;for(let[o,i]of Object.entries(n))r=r.replace(`:${o}`,i);return r})}function Ae(e){let t=e.replace(/^\//,"").replace(/\/$/,"");return t?`${t}/index.html`:"index.html"}function no(e,t){let n=`<?xml version="1.0" encoding="UTF-8"?>
42
+ </html>`;async function to(e){let{routes:t,render:n,outDir:r="dist",template:o=eo,onPage:s,onError:i,concurrency:a=5}=e,c=Date.now(),d=typeof t=="function"?await t():t,u={rendered:[],errors:[],duration:0};for(let l=0;l<d.length;l+=a){let p=d.slice(l,l+a);await Promise.all(p.map(async f=>{try{let y=await n(f),h=o.replace("{{content}}",y).replace("{{head}}","").replace("{{scripts}}",""),m=Ae(f);u.rendered.push({url:f,file:`${r}/${m}`,size:new Blob([h]).size}),s?.(f,h);}catch(y){let h=y instanceof Error?y:new Error(String(y));u.errors.push({url:f,error:h.message}),i?.(f,h);}}));}return u.duration=Date.now()-c,u}function no(e){return e.filter(t=>!t.path.includes(":")&&!t.path.includes("*")).map(t=>t.path)}function ro(e,t){return t.map(n=>{let r=e;for(let[o,s]of Object.entries(n))r=r.replace(`:${o}`,s);return r})}function Ae(e){let t=e.replace(/^\//,"").replace(/\/$/,"");return t?`${t}/index.html`:"index.html"}function oo(e,t){let n=`<?xml version="1.0" encoding="UTF-8"?>
43
43
  `;n+=`<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
44
44
  `;for(let r of t.rendered)n+=` <url>
45
45
  `,n+=` <loc>${e}${r.url}</loc>
46
46
  `,n+=` <lastmod>${new Date().toISOString().split("T")[0]}</lastmod>
47
47
  `,n+=` </url>
48
48
  `;return n+=`</urlset>
49
- `,n}function Re(e$1,t,n$1,r){let o=[],i=e(),s=n(()=>{let a=String(n$1());for(let d of o)d.parentNode&&d.parentNode.removeChild(d);o=[];let c=r[a]??r._default,l=t.parentNode;if(c&&l){let d=i?f(i,c):c(),u=d instanceof DocumentFragment?Array.from(d.childNodes):[d];for(let p of u)l.insertBefore(p,t);o=u;}},{render:true});return ()=>{s();for(let a of o)a.parentNode&&a.parentNode.removeChild(a);}}var ro=B$1(e=>()=>{let t=document.createElement("div");t.style.display="contents";let n=document.createComment("switch");t.appendChild(n);let r={...e.props.cases};return e.props.fallback&&(r._default=()=>u(e.props.fallback())),Re(t,n,()=>e.props.on,Object.fromEntries(Object.entries(r).map(([o,i])=>[o,()=>u(i())]))),t});function oo(e,t){let n=String(e),r=t[n]??t._;return r?r(e):void 0}var io=0;function so(e){return {_type:"provider",factory:e.factory,providedIn:e.providedIn,multi:e.multi,_id:Symbol(`provider-${++io}`)}}var O=new Map;function Le(e=[],t){let n=new Map,r=new Map,o=new Map;for(let s of e)o.set(s.provide._id,s);let i={get(s){let a=s._id;if(s.multi){if(r.has(a))return r.get(a);let d=[],u=o.get(a);if(u?.useFactory?d.push(u.useFactory()):u?.useValue!==void 0&&d.push(u.useValue),t?.has(s)){let p=t.get(s);Array.isArray(p)&&d.push(...p);}return r.set(a,d),d}if(n.has(a))return n.get(a);if(s.providedIn==="root"&&O.has(a))return O.get(a);let c=o.get(a);if(c){let d=ao(c,i);return n.set(a,d),d}if(t)return t.get(s);let l=s.factory();return s.providedIn==="root"?O.set(a,l):n.set(a,l),l},has(s){return n.has(s._id)||o.has(s._id)||s.providedIn==="root"&&O.has(s._id)?true:t?t.has(s):false},createChild(s){return Le(s??[],i)},dispose(){n.clear(),r.clear();}};return i}function ao(e,t){return e.useValue!==void 0?e.useValue:e.useFactory?e.useFactory():e.useExisting?t.get(e.useExisting):e.provide.factory()}function co(e){{if(e.providedIn==="root"){if(O.has(e._id))return O.get(e._id);let t=e.factory();return O.set(e._id,t),t}return e.factory()}}function lo(){O.clear();}function uo(e,t={}){let{trigger:n="viewport",loading:r,error:o,prefetch:i=false,minLoadTime:s=0,rootMargin:a="200px"}=t,c=null,l$1=null,d=null;function u$1(){if(l$1)return l$1;let p=Date.now();return l$1=e().then(async f=>{let y=Date.now()-p;s>0&&y<s&&await new Promise(h=>setTimeout(h,s-y)),c=f.default;}).catch(f=>{d=f instanceof Error?f:new Error(String(f));}),l$1}return i&&u$1(),B$1(p=>{let f=l("idle");async function h(){f()==="idle"&&(f.set("loading"),await u$1(),f.set(d?"error":"ready"));}return ()=>{let m=document.createElement("div");m.style.display="contents";let v=f();return v==="ready"&&c?(m.appendChild(c(p.props)),m):v==="error"&&o&&d?(m.appendChild(u(o(d))),m):(r&&v==="loading"&&m.appendChild(u(r())),v==="idle"&&po(m,n,h,a).then(b=>{}),m)}})}async function po(e,t,n,r){return t==="immediate"?(n(),()=>{}):t==="viewport"?fo(e,n,r):t==="interaction"||t==="hover"?mo(e,n,t):t==="idle"?go(n):typeof t=="object"&&t.type==="timer"?yo(n,t.delay):typeof t=="object"&&t.type==="custom"?ho(n,t.condition):(n(),()=>{})}function fo(e,t,n){if(typeof IntersectionObserver>"u")return t(),()=>{};let r=new IntersectionObserver(o=>{o[0]?.isIntersecting&&(r.disconnect(),t());},{rootMargin:n});return requestAnimationFrame(()=>r.observe(e)),()=>r.disconnect()}function mo(e,t,n){let r=n==="hover"?["mouseenter","focusin"]:["click","mouseenter","focusin","touchstart"],o=()=>{for(let i of r)e.removeEventListener(i,o);t();};for(let i of r)e.addEventListener(i,o,{once:true,passive:true});return ()=>{for(let i of r)e.removeEventListener(i,o);}}function go(e){if(typeof requestIdleCallback<"u"){let n=requestIdleCallback(()=>e());return ()=>cancelIdleCallback(n)}let t=setTimeout(e,200);return ()=>clearTimeout(t)}function yo(e,t){let n=setTimeout(e,t);return ()=>clearTimeout(n)}function ho(e,t){let n=()=>{t()?e():requestAnimationFrame(n);};return requestAnimationFrame(n),()=>{}}function Oe(){return typeof document<"u"&&"startViewTransition"in document}function vo(e,t={}){let{className:n,onBefore:r,onAfter:o,fallback:i="instant"}=t;if(r?.(),Oe()){n&&document.documentElement.classList.add(n);let c=document.startViewTransition(async()=>{await e();});return {finished:c.finished.then(()=>{n&&document.documentElement.classList.remove(n),o?.();}),updateCallbackDone:c.updateCallbackDone,ready:c.ready,skipTransition:()=>c.skipTransition()}}if(i==="fade")return wo(e,t);let s=e(),a=s instanceof Promise?s:Promise.resolve();return o?.(),{finished:a,updateCallbackDone:a,ready:Promise.resolve(),skipTransition:()=>{}}}function To(e={}){let{duration:t="0.25s",easing:n="ease",oldAnimation:r,newAnimation:o}=e,i=`::view-transition-old(root),
49
+ `,n}function Re(e$1,t,n$1,r){let o=[],s=e(),i=n(()=>{let a=String(n$1());for(let u of o)u.parentNode&&u.parentNode.removeChild(u);o=[];let c=r[a]??r._default,d=t.parentNode;if(c&&d){let u=s?f(s,c):c(),l=u instanceof DocumentFragment?Array.from(u.childNodes):[u];for(let p of l)d.insertBefore(p,t);o=l;}},{render:true});return ()=>{i();for(let a of o)a.parentNode&&a.parentNode.removeChild(a);}}var io=B$1(e=>()=>{let t=document.createElement("div");t.style.display="contents";let n=document.createComment("switch");t.appendChild(n);let r={...e.props.cases};return e.props.fallback&&(r._default=()=>u(e.props.fallback())),Re(t,n,()=>e.props.on,Object.fromEntries(Object.entries(r).map(([o,s])=>[o,()=>u(s())]))),t});function so(e,t){let n=String(e),r=t[n]??t._;return r?r(e):void 0}var ao=0;function co(e){return {_type:"provider",factory:e.factory,providedIn:e.providedIn,multi:e.multi,_id:Symbol(`provider-${++ao}`)}}var L=new Map;function De(e=[],t){let n=new Map,r=new Map,o=new Map;for(let i of e)o.set(i.provide._id,i);let s={get(i){let a=i._id;if(i.multi){if(r.has(a))return r.get(a);let u=[],l=o.get(a);if(l?.useFactory?u.push(l.useFactory()):l?.useValue!==void 0&&u.push(l.useValue),t?.has(i)){let p=t.get(i);Array.isArray(p)&&u.push(...p);}return r.set(a,u),u}if(n.has(a))return n.get(a);if(i.providedIn==="root"&&L.has(a))return L.get(a);let c=o.get(a);if(c){let u=lo(c,s);return n.set(a,u),u}if(t)return t.get(i);let d=i.factory();return i.providedIn==="root"?L.set(a,d):n.set(a,d),d},has(i){return n.has(i._id)||o.has(i._id)||i.providedIn==="root"&&L.has(i._id)?true:t?t.has(i):false},createChild(i){return De(i??[],s)},dispose(){n.clear(),r.clear();}};return s}function lo(e,t){return e.useValue!==void 0?e.useValue:e.useFactory?e.useFactory():e.useExisting?t.get(e.useExisting):e.provide.factory()}function uo(e){{if(e.providedIn==="root"){if(L.has(e._id))return L.get(e._id);let t=e.factory();return L.set(e._id,t),t}return e.factory()}}function po(){L.clear();}function fo(e,t={}){let{trigger:n="viewport",loading:r,error:o,prefetch:s=false,minLoadTime:i=0,rootMargin:a="200px"}=t,c=null,d=null,u$1=null;function l$1(){if(d)return d;let p=Date.now();return d=e().then(async f=>{let y=Date.now()-p;i>0&&y<i&&await new Promise(h=>setTimeout(h,i-y)),c=f.default;}).catch(f=>{u$1=f instanceof Error?f:new Error(String(f));}),d}return s&&l$1(),B$1(p=>{let f=l("idle");async function h(){f()==="idle"&&(f.set("loading"),await l$1(),f.set(u$1?"error":"ready"));}return ()=>{let m=document.createElement("div");m.style.display="contents";let v=f();return v==="ready"&&c?(m.appendChild(c(p.props)),m):v==="error"&&o&&u$1?(m.appendChild(u(o(u$1))),m):(r&&v==="loading"&&m.appendChild(u(r())),v==="idle"&&mo(m,n,h,a).then(b=>{}),m)}})}async function mo(e,t,n,r){return t==="immediate"?(n(),()=>{}):t==="viewport"?go(e,n,r):t==="interaction"||t==="hover"?yo(e,n,t):t==="idle"?ho(n):typeof t=="object"&&t.type==="timer"?vo(n,t.delay):typeof t=="object"&&t.type==="custom"?To(n,t.condition):(n(),()=>{})}function go(e,t,n){if(typeof IntersectionObserver>"u")return t(),()=>{};let r=new IntersectionObserver(o=>{o[0]?.isIntersecting&&(r.disconnect(),t());},{rootMargin:n});return requestAnimationFrame(()=>r.observe(e)),()=>r.disconnect()}function yo(e,t,n){let r=n==="hover"?["mouseenter","focusin"]:["click","mouseenter","focusin","touchstart"],o=()=>{for(let s of r)e.removeEventListener(s,o);t();};for(let s of r)e.addEventListener(s,o,{once:true,passive:true});return ()=>{for(let s of r)e.removeEventListener(s,o);}}function ho(e){if(typeof requestIdleCallback<"u"){let n=requestIdleCallback(()=>e());return ()=>cancelIdleCallback(n)}let t=setTimeout(e,200);return ()=>clearTimeout(t)}function vo(e,t){let n=setTimeout(e,t);return ()=>clearTimeout(n)}function To(e,t){let n=()=>{t()?e():requestAnimationFrame(n);};return requestAnimationFrame(n),()=>{}}function Le(){return typeof document<"u"&&"startViewTransition"in document}function bo(e,t={}){let{className:n,onBefore:r,onAfter:o,fallback:s="instant"}=t;if(r?.(),Le()){n&&document.documentElement.classList.add(n);let c=document.startViewTransition(async()=>{await e();});return {finished:c.finished.then(()=>{n&&document.documentElement.classList.remove(n),o?.();}),updateCallbackDone:c.updateCallbackDone,ready:c.ready,skipTransition:()=>c.skipTransition()}}if(s==="fade")return So(e,t);let i=e(),a=i instanceof Promise?i:Promise.resolve();return o?.(),{finished:a,updateCallbackDone:a,ready:Promise.resolve(),skipTransition:()=>{}}}function wo(e={}){let{duration:t="0.25s",easing:n="ease",oldAnimation:r,newAnimation:o}=e,s=`::view-transition-old(root),
50
50
  ::view-transition-new(root) {
51
- `;return i+=` animation-duration: ${t};
52
- `,i+=` animation-timing-function: ${n};
53
- `,i+=`}
54
- `,r&&(i+=`::view-transition-old(root) {
51
+ `;return s+=` animation-duration: ${t};
52
+ `,s+=` animation-timing-function: ${n};
53
+ `,s+=`}
54
+ `,r&&(s+=`::view-transition-old(root) {
55
55
  animation-name: ${r};
56
56
  }
57
- `),o&&(i+=`::view-transition-new(root) {
57
+ `),o&&(s+=`::view-transition-new(root) {
58
58
  animation-name: ${o};
59
59
  }
60
- `),i}function bo(e,t){e.style.viewTransitionName=t;}function wo(e,t){let n=document.documentElement,r=new Promise(async o=>{n.style.transition="opacity 0.15s ease",n.style.opacity="0",await new Promise(i=>setTimeout(i,150)),await e(),n.style.opacity="1",await new Promise(i=>setTimeout(i,150)),n.style.transition="",n.style.opacity="",t.onAfter?.(),o();});return {finished:r,updateCallbackDone:r,ready:Promise.resolve(),skipTransition:()=>{n.style.transition="",n.style.opacity="";}}}function xo(e){return Array.isArray(e)?e.join(","):typeof e=="boolean"?e?"true":"false":String(e)}function So(e,t){return typeof t=="number"?Number(e):typeof t=="boolean"?e==="true"||e==="1":Array.isArray(t)?e?e.split(","):[]:e}function B(){return typeof window>"u"?new URLSearchParams:new URLSearchParams(window.location.search)}function Eo(e,t){if(typeof window>"u")return;let n=e.toString(),r=n?`${window.location.pathname}?${n}${window.location.hash}`:`${window.location.pathname}${window.location.hash}`;t==="push"?window.history.pushState(null,"",r):window.history.replaceState(null,"",r);}var K=new Map,Me=false;function ko(){Me||typeof window>"u"||(Me=true,window.addEventListener("popstate",()=>{let e=B();a(()=>{for(let[t,n]of K){let r=e.get(t),o=r!==null?n.deserialize(r):n.defaultValue;n.signal.set(o);}});}));}function Ie(e,t,n={}){let{serialize:r=m=>xo(m),deserialize:o=m=>So(m,t),history:i="replace",debounce:s=0,removeDefault:a=true}=n,l$1=B().get(e),d=l$1!==null?o(l$1):t,u=l(d);K.set(e,{signal:u,deserialize:o,defaultValue:t}),ko();let p=null,f=false,y=u.set;u.set=m=>{if(y(m),f);let v=()=>{let b=B();a&&m===t?b.delete(e):b.set(e,r(m)),Eo(b,i);};s>0?(p&&clearTimeout(p),p=setTimeout(v,s)):v();};u.update;return u.update=m=>{u.set(m(u()));},u}function Co(e,t){let n={};for(let[r,o]of Object.entries(e))n[r]=Ie(r,o.default,{serialize:o.serialize,deserialize:o.deserialize,history:t?.history});return n}function Po(){if(typeof window>"u")return;let e=`${window.location.pathname}${window.location.hash}`;window.history.replaceState(null,"",e),a(()=>{for(let[,t]of K)t.signal.set(t.defaultValue);});}function Ao(){let e=B(),t={};return e.forEach((n,r)=>{t[r]=n;}),t}function Ro(e){K.delete(e);}function Do(){K.clear();}var se=typeof requestAnimationFrame=="function"?requestAnimationFrame:e=>setTimeout(()=>e(Date.now()),16),He=typeof cancelAnimationFrame=="function"?cancelAnimationFrame:e=>clearTimeout(e),je={linear:e=>e,cubicIn:e=>e*e*e,cubicOut:e=>1-Math.pow(1-e,3),cubicInOut:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,quadIn:e=>e*e,quadOut:e=>1-(1-e)*(1-e),quintOut:e=>1-Math.pow(1-e,5),bounceOut:e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,elasticOut:e=>e===0||e===1?e:Math.pow(2,-10*e)*Math.sin((e-.1)*5*Math.PI)+1};function Lo(e,t,n){return typeof e=="number"&&typeof t=="number"?e+(t-e)*n:n<.5?e:t}function Oo(e,t={}){let{duration:n=400,easing:r=je.cubicOut,interpolate:o=Lo,delay:i=0}=t,s=l(e),a=l(e),c=0,l$1=false,d=(()=>s());return d.set=(u,p)=>{let f=p?.duration??n,y=p?.easing??r,h=p?.interpolate??o,m=p?.delay??i,v=s();return a.set(u),f===0?(s.set(u),Promise.resolve()):(l$1&&(He(c),l$1=false),new Promise(b=>{let k=performance.now()+m;l$1=true;function T(x){if(!l$1){b();return}let A=x-k;if(A<0){c=se(T);return}let C=Math.min(A/f,1),R=y(C);s.set(h(v,u,R)),C<1?c=se(T):(l$1=false,b());}c=se(T);}))},d.setImmediate=u=>{l$1&&(He(c),l$1=false),s.set(u),a.set(u);},d.target=()=>a(),d}function Fe(e,t={}){let{duration:n=300,easing:r="cubic-bezier(0.2, 0, 0, 1)",delay:o=0,selector:i,keyAttribute:s="data-key",onComplete:a}=t,c=new Map;function l(){return Array.from(i?e.querySelectorAll(i):e.children)}function d(f){return f.getAttribute(s)??f.id??""}function u(){c=new Map;for(let f of l()){let y=d(f);if(y){let h=f.getBoundingClientRect();c.set(y,{left:h.left,top:h.top,width:h.width,height:h.height});}}}function p(){let f=l(),y=[];for(let m of f){let v=d(m),b=c.get(v);if(!b)continue;let k=m.getBoundingClientRect(),T=b.left-k.left,x=b.top-k.top,A=b.width/(k.width||1),C=b.height/(k.height||1);if(Math.abs(T)<.5&&Math.abs(x)<.5&&Math.abs(A-1)<.01&&Math.abs(C-1)<.01)continue;let R=m.animate([{transform:`translate(${T}px, ${x}px) scale(${A}, ${C})`},{transform:"translate(0, 0) scale(1, 1)"}],{duration:n,easing:r,delay:o,fill:"both"});y.push(R);}let h=new Set(f.map(d));for(let[m,v]of c)h.has(m);return c.clear(),new Promise(m=>{if(y.length===0){a?.(),m();return}Promise.all(y.map(v=>v.finished)).then(()=>{for(let v of y)v.cancel();a?.(),m();});})}return {measure:u,animate:p,async flip(f){return u(),f(),await new Promise(y=>requestAnimationFrame(y)),p()}}}async function Mo(e,t,n){return Fe(e,n).flip(t)}var Io=B$1(e=>{let t=l({status:"pending"}),n=e.props.promise;return e.props.promise.then(r=>{e.props.promise===n&&t.set({status:"resolved",value:r});}).catch(r=>{e.props.promise===n&&t.set({status:"rejected",error:r instanceof Error?r:new Error(String(r))});}),()=>{let r=t();switch(r.status){case "pending":return e.props.pending?u(e.props.pending()):document.createComment("await-pending");case "resolved":return u(e.props.then(r.value));case "rejected":return e.props.catch?u(e.props.catch(r.error)):document.createComment("await-error")}}});function Ho(e){let t=l({status:"pending"});return e.then(n=>t.set({status:"resolved",value:n})).catch(n=>t.set({status:"rejected",error:n instanceof Error?n:new Error(String(n))})),()=>t()}function _e(e,t){return n=>{t.self&&n.target!==n.currentTarget||(t.preventDefault&&n.preventDefault(),t.stopPropagation&&n.stopPropagation(),t.stopImmediatePropagation&&n.stopImmediatePropagation?.(),e(n));}}function jo(e,t,n,r={}){let o=_e(n,r),i={once:r.once,capture:r.capture,passive:r.passive};return e.addEventListener(t,o,i),()=>e.removeEventListener(t,o,i)}function Fo(e){let t=l(e.clientWidth),n=l(e.clientHeight);return typeof ResizeObserver<"u"&&new ResizeObserver(o=>{let i=o[0];i&&(t.set(i.contentRect.width),n.set(i.contentRect.height));}).observe(e),{width:()=>t(),height:()=>n()}}function _o(e){let t=e??(typeof window<"u"?window:null),n=l(e?e.scrollLeft:window?.scrollX??0),r=l(e?e.scrollTop:window?.scrollY??0);if(t){let s=()=>{e?(n.set(e.scrollLeft),r.set(e.scrollTop)):(n.set(window.scrollX),r.set(window.scrollY));};t.addEventListener("scroll",s,{passive:true});}let o=r.set;r.set=s=>{o(s),e?e.scrollTop=s:window?.scrollTo(window.scrollX,s);};let i=n.set;return n.set=s=>{i(s),e?e.scrollLeft=s:window?.scrollTo(s,window.scrollY);},{scrollX:n,scrollY:r}}function No(){return l(null)}function $o(e){return l(null)}function Ko(e,t,n$1){e.name=typeof n$1=="string"?n$1:"",e.addEventListener("change",()=>{e.checked&&t.set(n$1);}),n(()=>{e.checked=t()===n$1;});}function Ne(e,t,n$1){return n(()=>{n$1()?e.classList.add(t):e.classList.remove(t);})}function Vo(e,t){let n=Object.entries(t).map(([r,o])=>Ne(e,r,o));return ()=>n.forEach(r=>r())}function $e(e,t,n$1){let r=t.replace(/[A-Z]/g,o=>`-${o.toLowerCase()}`);return n(()=>{let o=n$1();o==null?e.style.removeProperty(r):e.style.setProperty(r,typeof o=="number"?`${o}px`:String(o));})}function Wo(e,t){let n=Object.entries(t).map(([r,o])=>$e(e,r,o));return ()=>n.forEach(r=>r())}function zo(e){return e}function qo(...e){let t={},n$1=[];for(let c of e)typeof c=="function"?n$1.push(c):typeof c=="object"&&c!==null&&(t=c);let{label:r="inspect",level:o="log",logger:i,when:s}=t,a={dispose:null,get values(){return n$1.map(c=>c())},get value(){return n$1.length===1?n$1[0]():n$1.map(c=>c())},label:r,sources:n$1.length};return a.dispose=n(()=>{if(s&&!s())return;let c=n$1.map(l=>l());i?i(r,...c):console[o](`[${r}]`,...c);}),a}function Bo(e,t={}){let{method:n="POST",headers:r={},onSuccess:o,onError:i,fetch:s=globalThis.fetch.bind(globalThis)}=t,a=l(false),c=l(null),l$1=l(null);async function d(u){a.set(true),l$1.set(null);try{let p=await s(e,{method:n,headers:{"Content-Type":"application/json",...r},body:JSON.stringify(u)});if(!p.ok)throw new Error(`Form action failed: ${p.status}`);let f=await p.json();return c.set(f),a.set(!1),o?.(f),f}catch(p){let f=p instanceof Error?p:new Error(String(p));throw l$1.set(f),a.set(false),i?.(f),f}}return {url:e,method:n,submitting:()=>a(),result:()=>c(),error:()=>l$1(),handle(u){return p=>{p.preventDefault();let f=p.target,y=new FormData(f),h={...u};y.forEach((m,v)=>{h[v]=m;}),d(h);}},submit:d}}function Uo(e={}){if(typeof window>"u")return ()=>{};let{keyPrefix:t="akash-snapshot",capture:n=["scroll","forms"]}=e;function r(){let c={scrollX:window.scrollX,scrollY:window.scrollY,forms:{},timestamp:Date.now()};return n.includes("forms")&&document.querySelectorAll("form[id]").forEach(l=>{let d=l,u={};new FormData(d).forEach((p,f)=>{u[f]=String(p);}),c.forms[d.id]=u;}),c}function o(c){if(n.includes("scroll")&&requestAnimationFrame(()=>{window.scrollTo(c.scrollX,c.scrollY);}),n.includes("forms"))for(let[l,d]of Object.entries(c.forms)){let u=document.getElementById(l);if(u)for(let[p,f]of Object.entries(d)){let y=u.elements.namedItem(p);y&&(y.value=f);}}}let i=()=>`${t}-${window.location.pathname}`;function s(){try{let c=r();sessionStorage.setItem(i(),JSON.stringify(c));}catch{}}function a(){try{let c=sessionStorage.getItem(i());if(c){let l=JSON.parse(c);Date.now()-l.timestamp<1800*1e3&&o(l);}}catch{}}return window.addEventListener("beforeunload",s),window.addEventListener("popstate",()=>{requestAnimationFrame(a);}),performance.getEntriesByType("navigation")[0]?.type==="back_forward"&&requestAnimationFrame(a),()=>{window.removeEventListener("beforeunload",s);}}function ae(e,t,n$1={}){let{immediate:r=false,once:o=false,debounce:i,deep:s=false}=n$1,a=Array.isArray(e),c=a?e:[e],l=c.map(()=>{}),d=true,u=null,p=false,f=null,y=()=>{p=true,u&&clearTimeout(u),f?.();};f=n(()=>{let m=c.map(k=>k());if(d){d=false,l=s?m.map(Ke):[...m],r&&h(m,c.map(()=>{}));return}if(!(s?m.some((k,T)=>!Qo(k,l[T])):m.some((k,T)=>!Object.is(k,l[T]))))return;let b=[...l];l=s?m.map(Ke):[...m],h(m,b);});function h(m,v){if(p)return;let b=()=>{o&&(p=true,queueMicrotask(y)),a?t(m,v):t(m[0],v[0]);};i&&i>0?(u&&clearTimeout(u),u=setTimeout(b,i)):b();}return y}function Go(e,t){return ae(e,t,{once:true})}function Jo(e,t,n){return ae(e,t,{debounce:n})}function Ke(e){if(e===null||typeof e!="object")return e;try{return JSON.parse(JSON.stringify(e))}catch{return e}}function Qo(e,t){if(Object.is(e,t))return true;if(e===null||t===null||typeof e!="object"||typeof t!="object")return false;try{return JSON.stringify(e)===JSON.stringify(t)}catch{return false}}var Ve=Symbol("deepSignal"),Yo=Symbol("deepRaw");function Xo(e){let t=l(0),n=JSON.parse(JSON.stringify(e)),r=new Map;function o(l$1){let d=r.get(l$1);return d||(d=l(0),r.set(l$1,d)),d}let i=false;function s(l){if(i)return;let d=r.get(l);d&&d.update(u=>u+1);}function a(l,d){i=true;try{return l()}finally{i=false,s(d);}}function c(l,d=[]){return new Proxy(l,{get(u,p,f){if(p==="$raw")return JSON.parse(JSON.stringify(n));if(p==="$signal")return ()=>(t(),JSON.parse(JSON.stringify(n)));if(p===Ve)return t;if(p===Yo)return n;let y=Reflect.get(u,p,f),h=[...d,String(p)].join(".");if(o(h)(),Array.isArray(u)&&typeof y=="function"&&new Set(["push","pop","shift","unshift","splice","sort","reverse","fill","copyWithin"]).has(String(p))){let v=d.join(".")||"__root";return (...b)=>a(()=>y.apply(u,b),v)}return y!==null&&typeof y=="object"?c(y,[...d,String(p)]):y},set(u,p,f){let y=Reflect.set(u,p,f);return s([...d,String(p)].join(".")),t.update(h=>h+1),y},deleteProperty(u,p){let f=Reflect.deleteProperty(u,p);return s([...d,String(p)].join(".")),t.update(y=>y+1),f}})}return c(n)}function Zo(e){return e.$raw??e}function ei(e){if(e===null||typeof e!="object")return false;try{return e[Ve]!==void 0}catch{return false}}function We(){let e=new Map;function t(n){let r=e.get(n);return r||(r=new Set,e.set(n,r)),r}return {on(n,r){return t(n).add(r),()=>t(n).delete(r)},once(n,r){let o=i=>{t(n).delete(o),r(i);};return t(n).add(o),()=>t(n).delete(o)},emit(n,r){let o=e.get(n);if(o)for(let i of Array.from(o))i(r);},off(n,r){t(n).delete(r);},clear(n){n?e.delete(n):e.clear();},listenerCount(n){return e.get(n)?.size??0},hasListeners(n){return (e.get(n)?.size??0)>0}}}var ce=null;function ti(){return ce||(ce=We()),ce}var ni=new Set(["a","abbr","address","article","aside","b","bdi","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","footer","h1","h2","h3","h4","h5","h6","header","hr","i","img","ins","kbd","li","main","mark","nav","ol","p","pre","q","rp","rt","ruby","s","samp","section","small","span","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","u","ul","var","wbr"]),ri=new Set(["alt","class","dir","href","id","lang","name","rel","src","style","tabindex","target","title","type","width","height","colspan","rowspan","scope","loading","decoding"]),oi=/^(javascript|data|vbscript):/i,ii=/^on/i;function qe(e,t={}){if(typeof document>"u")return e.replace(/<[^>]*>/g,"");let{allowTags:n=[],allowAttrs:r=[],allowDataAttrs:o=true,allowAriaAttrs:i=true,allowStyle:s=false,tagFilter:a,attrFilter:c}=t,l=new Set([...ni,...n]),d=new Set([...ri,...r]);s||d.delete("style");let u=new DOMParser().parseFromString(e,"text/html");return Be(u.body,l,d,o,i,a,c),u.body.innerHTML}function Be(e,t,n,r,o,i,s){let a=Array.from(e.childNodes);for(let c of a)if(c.nodeType===Node.ELEMENT_NODE){let l=c,d=l.tagName.toLowerCase();if(!(i?i(d):t.has(d))){let f=document.createTextNode(l.textContent??"");e.replaceChild(f,c);continue}let p=Array.from(l.attributes);for(let f of p){let y=f.name.toLowerCase(),h=f.value;if(ii.test(y)){l.removeAttribute(f.name);continue}if(!(y.startsWith("data-")&&r)&&!(y.startsWith("aria-")&&o)){if(s&&!s(y,h,d)){l.removeAttribute(f.name);continue}if(!n.has(y)){l.removeAttribute(f.name);continue}if((y==="href"||y==="src")&&oi.test(h)){l.removeAttribute(f.name);continue}}}Be(l,t,n,r,o,i,s);}}function si(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function ai(e,t){return n=>{e.innerHTML=qe(n,t);}}function Ue(e={}){let n={...{"default-src":["'self'"],"script-src":["'self'"],"style-src":["'self'","'unsafe-inline'"],"img-src":["'self'","data:","https:"],"font-src":["'self'","https:"],"connect-src":["'self'"],"frame-ancestors":["'none'"],"base-uri":["'self'"],"form-action":["'self'"],"object-src":["'none'"]},...e.directives};if(e.nonce){let r=`'nonce-${e.nonce}'`;n["script-src"]&&n["script-src"].push(r),n["style-src"]&&n["style-src"].push(r);}return e.reportUri&&(n["report-uri"]=[e.reportUri]),Object.entries(n).map(([r,o])=>`${r} ${o.join(" ")}`).join("; ")}function Ge(e={}){return e.reportOnly?"Content-Security-Policy-Report-Only":"Content-Security-Policy"}function ci(e={}){let t={};if(e.csp!==false){let n=e.csp??{};t[Ge(n)]=Ue(n);}if(e.frameOptions!==false&&(t["X-Frame-Options"]=e.frameOptions??"DENY"),e.contentTypeOptions!==false&&(t["X-Content-Type-Options"]="nosniff"),t["X-XSS-Protection"]=e.xssProtection?"1; mode=block":"0",e.hsts!==false){let n=e.hsts??{maxAge:31536e3,includeSubDomains:true},r=`max-age=${n.maxAge}`;n.includeSubDomains&&(r+="; includeSubDomains"),n.preload&&(r+="; preload"),t["Strict-Transport-Security"]=r;}if(e.referrerPolicy!==false&&(t["Referrer-Policy"]=e.referrerPolicy??"strict-origin-when-cross-origin"),e.permissionsPolicy!==false){let n=e.permissionsPolicy??{camera:[],microphone:[],geolocation:[],payment:[]};t["Permissions-Policy"]=Object.entries(n).map(([r,o])=>`${r}=(${o.join(" ")})`).join(", ");}return e.coop!==false&&(t["Cross-Origin-Opener-Policy"]=e.coop??"same-origin"),e.coep!==false&&(t["Cross-Origin-Embedder-Policy"]=e.coep??"require-corp"),t}function Je(e,...t){let n=new Set(["__proto__","constructor","prototype"]);for(let r of t)if(!(!r||typeof r!="object"))for(let o of Object.keys(r)){if(n.has(o))continue;let i=e[o],s=r[o];ze(s)&&ze(i)?e[o]=Je({...i},s):e[o]=s;}return e}function Qe(e){if(e===null||typeof e!="object")return e;Object.freeze(e);for(let t of Object.values(e))typeof t=="object"&&t!==null&&Qe(t);return e}function ze(e){return e!==null&&typeof e=="object"&&Object.getPrototypeOf(e)===Object.prototype}async function li(e,t="sha384"){let r=new TextEncoder().encode(e),o=t==="sha256"?"SHA-256":t==="sha384"?"SHA-384":"SHA-512",i=await crypto.subtle.digest(o,r),s=new Uint8Array(i),a=btoa(String.fromCharCode(...s));return `${t}-${a}`}function Ye(){let e=new Uint8Array(32);return crypto.getRandomValues(e),Array.from(e,t=>t.toString(16).padStart(2,"0")).join("")}function ui(e={}){let{headerName:t="X-CSRF-Token",cookieName:n="csrf-token",tokenGenerator:r=Ye}=e,o=null;function i(){if(!o){if(typeof document<"u"){let a=document.cookie.match(new RegExp(`${n}=([^;]+)`));if(a)return o=a[1],o}o=r();}return o}return {interceptor:async(a,c)=>{let l=a.method.toUpperCase();return ["POST","PUT","PATCH","DELETE"].includes(l)&&a.headers.set(t,i()),c(a)},token:i,refresh(){o=r();}}}function di(e,t={}){if(e==null)return null;let{allowedHosts:n,allowedProtocols:r=["http:","https:"],allowRelative:o=true}=t;if(e.startsWith("/")&&!e.startsWith("//"))return o?e:null;try{let i=new URL(e);return !r.includes(i.protocol)||n&&!n.includes(i.hostname)?null:i.toString()}catch{return null}}function pi(e){let{maxAttempts:t,windowMs:n}=e,r=[];return {check(){let o=Date.now();for(;r.length>0&&r[0]<o-n;)r.shift();return r.length>=t?false:(r.push(o),true)},remaining(){let o=Date.now();for(;r.length>0&&r[0]<o-n;)r.shift();return Math.max(0,t-r.length)},reset(){r.length=0;}}}var le=new Set,Xe=true,ue=null;function fi(e){Xe=e;}function mi(e){ue=e;}function gi(){le.clear();}function yi(e,t){let n=((...r)=>(Ze(t),e(...r)));return Object.keys(e).forEach(r=>{n[r]=e[r];}),n.__deprecated=t,n}function hi(e,t){return Ze(t),e}function Ze(e){if(!Xe||le.has(e.name))return;le.add(e.name);let t=[`[AkashJS] DEPRECATED: ${e.name}() is deprecated since v${e.since}`];e.removeIn?t[0]+=` and will be removed in v${e.removeIn}.`:t[0]+=".",e.replacement&&t.push(` Migrate to: ${e.replacement}()`),e.message&&t.push(` ${e.message}`),t.push(` See: ${e.link??"https://akash.js.org/migration"}`);let n=t.join(`
61
- `);ue?ue(n):typeof console<"u"&&console.warn(n);}var U=new Map;function vi(e){U.set(e.name,e);}function et(){return Array.from(U.values())}function Ti(e){return et().filter(t=>t.stability===e)}function bi(e){return U.get(e)?.stability==="deprecated"}function wi(e){return U.get(e)?.deprecation??null}function xi(e){let t=[],n=[],r=Object.entries(e);if(r.length===0)return {compatible:true,warnings:t,errors:n};let o=r.filter(([i])=>i.startsWith("@akashjs/"));if(o.length>1){let i=new Set(o.map(([,a])=>a.split(".")[0])),s=new Set(o.map(([,a])=>a.split(".").slice(0,2).join(".")));i.size>1?n.push(`Major version mismatch: ${o.map(([a,c])=>`${a}@${c}`).join(", ")}. All @akashjs packages should be on the same major version.`):s.size>1&&t.push(`Minor version mismatch: ${o.map(([a,c])=>`${a}@${c}`).join(", ")}. Consider updating all packages to the same version with \`akash update\`.`);}return {compatible:n.length===0,warnings:t,errors:n}}var Si=new Map,Ei=new Map;function G(e){let n=d()[e];if(!n)return null;let r=n.$snapshot(),i={},s=[];for(let[a,c]of Object.entries(n))if(!a.startsWith("$")){if(typeof c=="function"&&"set"in c&&"update"in c)c();else if(typeof c=="function"&&!("set"in c)&&!a.startsWith("$"))try{let l=c();typeof l<"u"?i[a]=l:s.push(a);}catch{s.push(a);}}return {$id:e,state:r,getters:i,actions:s,subscriberCount:0}}var de=new Map,pe=new Map;function ki(){return {stores(){return Object.keys(d())},store(e){return G(e)},storeSnapshots(){let e={};for(let t of Object.keys(d())){let n=G(t);n&&(e[t]=n);}return e},signals(){return [...Si.values()].map(e=>({name:e.name,value:e.read(),subscribers:e.subscriberCount}))},effects(){return [...Ei.values()].map(e=>({name:e.name,runs:e.runCount,isRender:e.isRender,sources:e.sourceCount}))},version(){return {runtime:"0.1.26"}},log(e){if(e){let t=G(e);t?(console.group(`\u{1F50D} Store: ${e}`),console.log("State:",t.state),console.log("Getters:",t.getters),console.log("Actions:",t.actions),console.groupEnd()):console.warn(`Store "${e}" not found. Available:`,Object.keys(d()));}else {let t=Object.keys(d());console.group("\u{1F50D} AkashJS Stores");for(let n of t){let r=G(n);r&&(console.group(n),console.log("State:",r.state),console.log("Getters:",r.getters),console.groupEnd());}console.groupEnd();}},startRecording(e){let t=d()[e];if(!t){console.warn(`Store "${e}" not found.`);return}let n=[];n.push({timestamp:Date.now(),state:t.$snapshot()});let r=t.$subscribe(o=>{n.push({timestamp:Date.now(),state:{...o}});});de.set(e,n),pe.set(e,r),console.log(`\u23FA Recording store "${e}". Call __AKASH_DEVTOOLS__.stopRecording("${e}") to view history.`);},stopRecording(e){let t=pe.get(e);t&&t(),pe.delete(e);let n=de.get(e)??[];return de.delete(e),console.log(`\u23F9 Stopped recording "${e}". ${n.length} snapshots captured.`),console.table(n.map((r,o)=>({"#":o,time:new Date(r.timestamp).toISOString().slice(11,23),state:JSON.stringify(r.state)}))),n}}}function Ci(){let e=ki();typeof globalThis<"u"&&(globalThis.__AKASH_DEVTOOLS__=e,console.log("%c\u{1F527} AkashJS DevTools installed. Access via __AKASH_DEVTOOLS__ in console.","color: #7c3aed; font-weight: bold;"),console.log(" .stores() \u2014 list stores"),console.log(' .store("id") \u2014 inspect store'),console.log(" .log() \u2014 pretty-print all stores"),console.log(' .log("id") \u2014 pretty-print one store'),console.log(' .startRecording("id") \u2014 record state changes'),console.log(' .stopRecording("id") \u2014 view recorded history'),console.log(" .signals() \u2014 list tracked signals"),console.log(" .effects() \u2014 list tracked effects"));}var tt=typeof process>"u"||process.env?.NODE_ENV!=="production",Pi=[{pattern:/Cannot set property '?(\w+)'? of/,hint:e=>`Did you try to reassign a signal? Use ${e[1]}.set(value) instead of ${e[1]} = value.`},{pattern:/(\w+) is not a function/,hint:e=>`"${e[1]}" may be a signal. Read it with ${e[1]}(), set it with ${e[1]}.set(value).`},{pattern:/Cannot read propert(?:y|ies) of (null|undefined)/,hint:()=>"A value is null/undefined. Use optional chaining (?.) or wrap in <Show when={value()}>."},{pattern:/(\w+)\.(?:forEach|map|filter|reduce) is not a function/,hint:e=>`"${e[1]}" might be a signal containing an array. Call ${e[1]}() first to get the value: ${e[1]}().map(...)`},{pattern:/(\w+)\.set is not a function/,hint:e=>`"${e[1]}" is not a writable signal. Only signal() values have .set(). Computed values are read-only.`},{pattern:/Maximum call stack size exceeded/,hint:()=>"Possible circular dependency. Check if two computed values or effects read and write to each other."}];function J(e){if(!tt)return e;for(let{pattern:t,hint:n}of Pi){let r=t.exec(e.message);if(r){e.message+=`
60
+ `),s}function xo(e,t){e.style.viewTransitionName=t;}function So(e,t){let n=document.documentElement,r=new Promise(async o=>{n.style.transition="opacity 0.15s ease",n.style.opacity="0",await new Promise(s=>setTimeout(s,150)),await e(),n.style.opacity="1",await new Promise(s=>setTimeout(s,150)),n.style.transition="",n.style.opacity="",t.onAfter?.(),o();});return {finished:r,updateCallbackDone:r,ready:Promise.resolve(),skipTransition:()=>{n.style.transition="",n.style.opacity="";}}}function Eo(e){return Array.isArray(e)?e.join(","):typeof e=="boolean"?e?"true":"false":String(e)}function ko(e,t){return typeof t=="number"?Number(e):typeof t=="boolean"?e==="true"||e==="1":Array.isArray(t)?e?e.split(","):[]:e}function B(){return typeof window>"u"?new URLSearchParams:new URLSearchParams(window.location.search)}function Co(e,t){if(typeof window>"u")return;let n=e.toString(),r=n?`${window.location.pathname}?${n}${window.location.hash}`:`${window.location.pathname}${window.location.hash}`;t==="push"?window.history.pushState(null,"",r):window.history.replaceState(null,"",r);}var K=new Map,Me=false;function Po(){Me||typeof window>"u"||(Me=true,window.addEventListener("popstate",()=>{let e=B();a(()=>{for(let[t,n]of K){let r=e.get(t),o=r!==null?n.deserialize(r):n.defaultValue;n.signal.set(o);}});}));}function Ie(e,t,n={}){let{serialize:r=m=>Eo(m),deserialize:o=m=>ko(m,t),history:s="replace",debounce:i=0,removeDefault:a=true}=n,d=B().get(e),u=d!==null?o(d):t,l$1=l(u);K.set(e,{signal:l$1,deserialize:o,defaultValue:t}),Po();let p=null,f=false,y=l$1.set;l$1.set=m=>{if(y(m),f);let v=()=>{let b=B();a&&m===t?b.delete(e):b.set(e,r(m)),Co(b,s);};i>0?(p&&clearTimeout(p),p=setTimeout(v,i)):v();};l$1.update;return l$1.update=m=>{l$1.set(m(l$1()));},l$1}function Ao(e,t){let n={};for(let[r,o]of Object.entries(e))n[r]=Ie(r,o.default,{serialize:o.serialize,deserialize:o.deserialize,history:t?.history});return n}function Ro(){if(typeof window>"u")return;let e=`${window.location.pathname}${window.location.hash}`;window.history.replaceState(null,"",e),a(()=>{for(let[,t]of K)t.signal.set(t.defaultValue);});}function Oo(){let e=B(),t={};return e.forEach((n,r)=>{t[r]=n;}),t}function Do(e){K.delete(e);}function Lo(){K.clear();}var se=typeof requestAnimationFrame=="function"?requestAnimationFrame:e=>setTimeout(()=>e(Date.now()),16),He=typeof cancelAnimationFrame=="function"?cancelAnimationFrame:e=>clearTimeout(e),je={linear:e=>e,cubicIn:e=>e*e*e,cubicOut:e=>1-Math.pow(1-e,3),cubicInOut:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,quadIn:e=>e*e,quadOut:e=>1-(1-e)*(1-e),quintOut:e=>1-Math.pow(1-e,5),bounceOut:e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,elasticOut:e=>e===0||e===1?e:Math.pow(2,-10*e)*Math.sin((e-.1)*5*Math.PI)+1};function Mo(e,t,n){return typeof e=="number"&&typeof t=="number"?e+(t-e)*n:n<.5?e:t}function Io(e,t={}){let{duration:n=400,easing:r=je.cubicOut,interpolate:o=Mo,delay:s=0}=t,i=l(e),a=l(e),c=0,d=false,u=(()=>i());return u.set=(l,p)=>{let f=p?.duration??n,y=p?.easing??r,h=p?.interpolate??o,m=p?.delay??s,v=i();return a.set(l),f===0?(i.set(l),Promise.resolve()):(d&&(He(c),d=false),new Promise(b=>{let k=performance.now()+m;d=true;function T(x){if(!d){b();return}let A=x-k;if(A<0){c=se(T);return}let C=Math.min(A/f,1),R=y(C);i.set(h(v,l,R)),C<1?c=se(T):(d=false,b());}c=se(T);}))},u.setImmediate=l=>{d&&(He(c),d=false),i.set(l),a.set(l);},u.target=()=>a(),u}function _e(e,t={}){let{duration:n=300,easing:r="cubic-bezier(0.2, 0, 0, 1)",delay:o=0,selector:s,keyAttribute:i="data-key",onComplete:a}=t,c=new Map;function d(){return Array.from(s?e.querySelectorAll(s):e.children)}function u(f){return f.getAttribute(i)??f.id??""}function l(){c=new Map;for(let f of d()){let y=u(f);if(y){let h=f.getBoundingClientRect();c.set(y,{left:h.left,top:h.top,width:h.width,height:h.height});}}}function p(){let f=d(),y=[];for(let m of f){let v=u(m),b=c.get(v);if(!b)continue;let k=m.getBoundingClientRect(),T=b.left-k.left,x=b.top-k.top,A=b.width/(k.width||1),C=b.height/(k.height||1);if(Math.abs(T)<.5&&Math.abs(x)<.5&&Math.abs(A-1)<.01&&Math.abs(C-1)<.01)continue;let R=m.animate([{transform:`translate(${T}px, ${x}px) scale(${A}, ${C})`},{transform:"translate(0, 0) scale(1, 1)"}],{duration:n,easing:r,delay:o,fill:"both"});y.push(R);}let h=new Set(f.map(u));for(let[m,v]of c)h.has(m);return c.clear(),new Promise(m=>{if(y.length===0){a?.(),m();return}Promise.all(y.map(v=>v.finished)).then(()=>{for(let v of y)v.cancel();a?.(),m();});})}return {measure:l,animate:p,async flip(f){return l(),f(),await new Promise(y=>requestAnimationFrame(y)),p()}}}async function Ho(e,t,n){return _e(e,n).flip(t)}var jo=B$1(e=>{let t=l({status:"pending"}),n=e.props.promise;return e.props.promise.then(r=>{e.props.promise===n&&t.set({status:"resolved",value:r});}).catch(r=>{e.props.promise===n&&t.set({status:"rejected",error:r instanceof Error?r:new Error(String(r))});}),()=>{let r=t();switch(r.status){case "pending":return e.props.pending?u(e.props.pending()):document.createComment("await-pending");case "resolved":return u(e.props.then(r.value));case "rejected":return e.props.catch?u(e.props.catch(r.error)):document.createComment("await-error")}}});function _o(e){let t=l({status:"pending"});return e.then(n=>t.set({status:"resolved",value:n})).catch(n=>t.set({status:"rejected",error:n instanceof Error?n:new Error(String(n))})),()=>t()}function Fe(e,t){return n=>{t.self&&n.target!==n.currentTarget||(t.preventDefault&&n.preventDefault(),t.stopPropagation&&n.stopPropagation(),t.stopImmediatePropagation&&n.stopImmediatePropagation?.(),e(n));}}function Fo(e,t,n,r={}){let o=Fe(n,r),s={once:r.once,capture:r.capture,passive:r.passive};return e.addEventListener(t,o,s),()=>e.removeEventListener(t,o,s)}function No(e){let t=l(e.clientWidth),n=l(e.clientHeight);return typeof ResizeObserver<"u"&&new ResizeObserver(o=>{let s=o[0];s&&(t.set(s.contentRect.width),n.set(s.contentRect.height));}).observe(e),{width:()=>t(),height:()=>n()}}function $o(e){let t=e??(typeof window<"u"?window:null),n=l(e?e.scrollLeft:window?.scrollX??0),r=l(e?e.scrollTop:window?.scrollY??0);if(t){let i=()=>{e?(n.set(e.scrollLeft),r.set(e.scrollTop)):(n.set(window.scrollX),r.set(window.scrollY));};t.addEventListener("scroll",i,{passive:true});}let o=r.set;r.set=i=>{o(i),e?e.scrollTop=i:window?.scrollTo(window.scrollX,i);};let s=n.set;return n.set=i=>{s(i),e?e.scrollLeft=i:window?.scrollTo(i,window.scrollY);},{scrollX:n,scrollY:r}}function Ko(){return l(null)}function Vo(e){return l(null)}function zo(e,t,n$1){e.name=typeof n$1=="string"?n$1:"",e.addEventListener("change",()=>{e.checked&&t.set(n$1);}),n(()=>{e.checked=t()===n$1;});}function Ne(e,t,n$1){return n(()=>{n$1()?e.classList.add(t):e.classList.remove(t);})}function Wo(e,t){let n=Object.entries(t).map(([r,o])=>Ne(e,r,o));return ()=>n.forEach(r=>r())}function $e(e,t,n$1){let r=t.replace(/[A-Z]/g,o=>`-${o.toLowerCase()}`);return n(()=>{let o=n$1();o==null?e.style.removeProperty(r):e.style.setProperty(r,typeof o=="number"?`${o}px`:String(o));})}function qo(e,t){let n=Object.entries(t).map(([r,o])=>$e(e,r,o));return ()=>n.forEach(r=>r())}function Bo(e){return e}function Uo(...e){let t={},n$1=[];for(let c of e)typeof c=="function"?n$1.push(c):typeof c=="object"&&c!==null&&(t=c);let{label:r="inspect",level:o="log",logger:s,when:i}=t,a={dispose:null,get values(){return n$1.map(c=>c())},get value(){return n$1.length===1?n$1[0]():n$1.map(c=>c())},label:r,sources:n$1.length};return a.dispose=n(()=>{if(i&&!i())return;let c=n$1.map(d=>d());s?s(r,...c):console[o](`[${r}]`,...c);}),a}function Go(e,t={}){let{method:n="POST",headers:r={},onSuccess:o,onError:s,fetch:i=globalThis.fetch.bind(globalThis)}=t,a=l(false),c=l(null),d=l(null);async function u(l){a.set(true),d.set(null);try{let p=await i(e,{method:n,headers:{"Content-Type":"application/json",...r},body:JSON.stringify(l)});if(!p.ok)throw new Error(`Form action failed: ${p.status}`);let f=await p.json();return c.set(f),a.set(!1),o?.(f),f}catch(p){let f=p instanceof Error?p:new Error(String(p));throw d.set(f),a.set(false),s?.(f),f}}return {url:e,method:n,submitting:()=>a(),result:()=>c(),error:()=>d(),handle(l){return p=>{p.preventDefault();let f=p.target,y=new FormData(f),h={...l};y.forEach((m,v)=>{h[v]=m;}),u(h);}},submit:u}}function Jo(e={}){if(typeof window>"u")return ()=>{};let{keyPrefix:t="akash-snapshot",capture:n=["scroll","forms"]}=e;function r(){let c={scrollX:window.scrollX,scrollY:window.scrollY,forms:{},timestamp:Date.now()};return n.includes("forms")&&document.querySelectorAll("form[id]").forEach(d=>{let u=d,l={};new FormData(u).forEach((p,f)=>{l[f]=String(p);}),c.forms[u.id]=l;}),c}function o(c){if(n.includes("scroll")&&requestAnimationFrame(()=>{window.scrollTo(c.scrollX,c.scrollY);}),n.includes("forms"))for(let[d,u]of Object.entries(c.forms)){let l=document.getElementById(d);if(l)for(let[p,f]of Object.entries(u)){let y=l.elements.namedItem(p);y&&(y.value=f);}}}let s=()=>`${t}-${window.location.pathname}`;function i(){try{let c=r();sessionStorage.setItem(s(),JSON.stringify(c));}catch{}}function a(){try{let c=sessionStorage.getItem(s());if(c){let d=JSON.parse(c);Date.now()-d.timestamp<1800*1e3&&o(d);}}catch{}}return window.addEventListener("beforeunload",i),window.addEventListener("popstate",()=>{requestAnimationFrame(a);}),performance.getEntriesByType("navigation")[0]?.type==="back_forward"&&requestAnimationFrame(a),()=>{window.removeEventListener("beforeunload",i);}}function ae(e,t,n$1={}){let{immediate:r=false,once:o=false,debounce:s,deep:i=false}=n$1,a=Array.isArray(e),c=a?e:[e],d=c.map(()=>{}),u=true,l=null,p=false,f=null,y=()=>{p=true,l&&clearTimeout(l),f?.();};f=n(()=>{let m=c.map(k=>k());if(u){u=false,d=i?m.map(Ke):[...m],r&&h(m,c.map(()=>{}));return}if(!(i?m.some((k,T)=>!Xo(k,d[T])):m.some((k,T)=>!Object.is(k,d[T]))))return;let b=[...d];d=i?m.map(Ke):[...m],h(m,b);});function h(m,v){if(p)return;let b=()=>{o&&(p=true,queueMicrotask(y)),a?t(m,v):t(m[0],v[0]);};s&&s>0?(l&&clearTimeout(l),l=setTimeout(b,s)):b();}return y}function Qo(e,t){return ae(e,t,{once:true})}function Yo(e,t,n){return ae(e,t,{debounce:n})}function Ke(e){if(e===null||typeof e!="object")return e;try{return JSON.parse(JSON.stringify(e))}catch{return e}}function Xo(e,t){if(Object.is(e,t))return true;if(e===null||t===null||typeof e!="object"||typeof t!="object")return false;try{return JSON.stringify(e)===JSON.stringify(t)}catch{return false}}var Ve=Symbol("deepSignal"),Zo=Symbol("deepRaw");function ei(e){let t=l(0),n=JSON.parse(JSON.stringify(e)),r=new Map;function o(d){let u=r.get(d);return u||(u=l(0),r.set(d,u)),u}let s=false;function i(d){if(s)return;let u=r.get(d);u&&u.update(l=>l+1);}function a(d,u){s=true;try{return d()}finally{s=false,i(u);}}function c(d,u=[]){return new Proxy(d,{get(l,p,f){if(p==="$raw")return JSON.parse(JSON.stringify(n));if(p==="$signal")return ()=>(t(),JSON.parse(JSON.stringify(n)));if(p===Ve)return t;if(p===Zo)return n;let y=Reflect.get(l,p,f),h=[...u,String(p)].join(".");if(o(h)(),Array.isArray(l)&&typeof y=="function"&&new Set(["push","pop","shift","unshift","splice","sort","reverse","fill","copyWithin"]).has(String(p))){let v=u.join(".")||"__root";return (...b)=>a(()=>y.apply(l,b),v)}return y!==null&&typeof y=="object"?c(y,[...u,String(p)]):y},set(l,p,f){let y=Reflect.set(l,p,f);return i([...u,String(p)].join(".")),t.update(h=>h+1),y},deleteProperty(l,p){let f=Reflect.deleteProperty(l,p);return i([...u,String(p)].join(".")),t.update(y=>y+1),f}})}return c(n)}function ti(e){return e.$raw??e}function ni(e){if(e===null||typeof e!="object")return false;try{return e[Ve]!==void 0}catch{return false}}function ze(){let e=new Map;function t(n){let r=e.get(n);return r||(r=new Set,e.set(n,r)),r}return {on(n,r){return t(n).add(r),()=>t(n).delete(r)},once(n,r){let o=s=>{t(n).delete(o),r(s);};return t(n).add(o),()=>t(n).delete(o)},emit(n,r){let o=e.get(n);if(o)for(let s of Array.from(o))s(r);},off(n,r){t(n).delete(r);},clear(n){n?e.delete(n):e.clear();},listenerCount(n){return e.get(n)?.size??0},hasListeners(n){return (e.get(n)?.size??0)>0}}}var ce=null;function ri(){return ce||(ce=ze()),ce}var oi=new Set(["a","abbr","address","article","aside","b","bdi","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","footer","h1","h2","h3","h4","h5","h6","header","hr","i","img","ins","kbd","li","main","mark","nav","ol","p","pre","q","rp","rt","ruby","s","samp","section","small","span","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","u","ul","var","wbr"]),ii=new Set(["alt","class","dir","href","id","lang","name","rel","src","style","tabindex","target","title","type","width","height","colspan","rowspan","scope","loading","decoding"]),si=/^(javascript|data|vbscript):/i,ai=/^on/i;function qe(e,t={}){if(typeof document>"u")return e.replace(/<[^>]*>/g,"");let{allowTags:n=[],allowAttrs:r=[],allowDataAttrs:o=true,allowAriaAttrs:s=true,allowStyle:i=false,tagFilter:a,attrFilter:c}=t,d=new Set([...oi,...n]),u=new Set([...ii,...r]);i||u.delete("style");let l=new DOMParser().parseFromString(e,"text/html");return Be(l.body,d,u,o,s,a,c),l.body.innerHTML}function Be(e,t,n,r,o,s,i){let a=Array.from(e.childNodes);for(let c of a)if(c.nodeType===Node.ELEMENT_NODE){let d=c,u=d.tagName.toLowerCase();if(!(s?s(u):t.has(u))){let f=document.createTextNode(d.textContent??"");e.replaceChild(f,c);continue}let p=Array.from(d.attributes);for(let f of p){let y=f.name.toLowerCase(),h=f.value;if(ai.test(y)){d.removeAttribute(f.name);continue}if(!(y.startsWith("data-")&&r)&&!(y.startsWith("aria-")&&o)){if(i&&!i(y,h,u)){d.removeAttribute(f.name);continue}if(!n.has(y)){d.removeAttribute(f.name);continue}if((y==="href"||y==="src")&&si.test(h)){d.removeAttribute(f.name);continue}}}Be(d,t,n,r,o,s,i);}}function ci(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function li(e,t){return n=>{e.innerHTML=qe(n,t);}}function Ue(e={}){let n={...{"default-src":["'self'"],"script-src":["'self'"],"style-src":["'self'","'unsafe-inline'"],"img-src":["'self'","data:","https:"],"font-src":["'self'","https:"],"connect-src":["'self'"],"frame-ancestors":["'none'"],"base-uri":["'self'"],"form-action":["'self'"],"object-src":["'none'"]},...e.directives};if(e.nonce){let r=`'nonce-${e.nonce}'`;n["script-src"]&&n["script-src"].push(r),n["style-src"]&&n["style-src"].push(r);}return e.reportUri&&(n["report-uri"]=[e.reportUri]),Object.entries(n).map(([r,o])=>`${r} ${o.join(" ")}`).join("; ")}function Ge(e={}){return e.reportOnly?"Content-Security-Policy-Report-Only":"Content-Security-Policy"}function ui(e={}){let t={};if(e.csp!==false){let n=e.csp??{};t[Ge(n)]=Ue(n);}if(e.frameOptions!==false&&(t["X-Frame-Options"]=e.frameOptions??"DENY"),e.contentTypeOptions!==false&&(t["X-Content-Type-Options"]="nosniff"),t["X-XSS-Protection"]=e.xssProtection?"1; mode=block":"0",e.hsts!==false){let n=e.hsts??{maxAge:31536e3,includeSubDomains:true},r=`max-age=${n.maxAge}`;n.includeSubDomains&&(r+="; includeSubDomains"),n.preload&&(r+="; preload"),t["Strict-Transport-Security"]=r;}if(e.referrerPolicy!==false&&(t["Referrer-Policy"]=e.referrerPolicy??"strict-origin-when-cross-origin"),e.permissionsPolicy!==false){let n=e.permissionsPolicy??{camera:[],microphone:[],geolocation:[],payment:[]};t["Permissions-Policy"]=Object.entries(n).map(([r,o])=>`${r}=(${o.join(" ")})`).join(", ");}return e.coop!==false&&(t["Cross-Origin-Opener-Policy"]=e.coop??"same-origin"),e.coep!==false&&(t["Cross-Origin-Embedder-Policy"]=e.coep??"require-corp"),t}function Je(e,...t){let n=new Set(["__proto__","constructor","prototype"]);for(let r of t)if(!(!r||typeof r!="object"))for(let o of Object.keys(r)){if(n.has(o))continue;let s=e[o],i=r[o];We(i)&&We(s)?e[o]=Je({...s},i):e[o]=i;}return e}function Qe(e){if(e===null||typeof e!="object")return e;Object.freeze(e);for(let t of Object.values(e))typeof t=="object"&&t!==null&&Qe(t);return e}function We(e){return e!==null&&typeof e=="object"&&Object.getPrototypeOf(e)===Object.prototype}async function di(e,t="sha384"){let r=new TextEncoder().encode(e),o=t==="sha256"?"SHA-256":t==="sha384"?"SHA-384":"SHA-512",s=await crypto.subtle.digest(o,r),i=new Uint8Array(s),a=btoa(String.fromCharCode(...i));return `${t}-${a}`}function Ye(){let e=new Uint8Array(32);return crypto.getRandomValues(e),Array.from(e,t=>t.toString(16).padStart(2,"0")).join("")}function pi(e={}){let{headerName:t="X-CSRF-Token",cookieName:n="csrf-token",tokenGenerator:r=Ye}=e,o=null;function s(){if(!o){if(typeof document<"u"){let a=document.cookie.match(new RegExp(`${n}=([^;]+)`));if(a)return o=a[1],o}o=r();}return o}return {interceptor:async(a,c)=>{let d=a.method.toUpperCase();return ["POST","PUT","PATCH","DELETE"].includes(d)&&a.headers.set(t,s()),c(a)},token:s,refresh(){o=r();}}}function fi(e,t={}){if(e==null)return null;let{allowedHosts:n,allowedProtocols:r=["http:","https:"],allowRelative:o=true}=t;if(e.startsWith("/")&&!e.startsWith("//"))return o?e:null;try{let s=new URL(e);return !r.includes(s.protocol)||n&&!n.includes(s.hostname)?null:s.toString()}catch{return null}}function mi(e){let{maxAttempts:t,windowMs:n}=e,r=[];return {check(){let o=Date.now();for(;r.length>0&&r[0]<o-n;)r.shift();return r.length>=t?false:(r.push(o),true)},remaining(){let o=Date.now();for(;r.length>0&&r[0]<o-n;)r.shift();return Math.max(0,t-r.length)},reset(){r.length=0;}}}var le=new Set,Xe=true,ue=null;function gi(e){Xe=e;}function yi(e){ue=e;}function hi(){le.clear();}function vi(e,t){let n=((...r)=>(Ze(t),e(...r)));return Object.keys(e).forEach(r=>{n[r]=e[r];}),n.__deprecated=t,n}function Ti(e,t){return Ze(t),e}function Ze(e){if(!Xe||le.has(e.name))return;le.add(e.name);let t=[`[AkashJS] DEPRECATED: ${e.name}() is deprecated since v${e.since}`];e.removeIn?t[0]+=` and will be removed in v${e.removeIn}.`:t[0]+=".",e.replacement&&t.push(` Migrate to: ${e.replacement}()`),e.message&&t.push(` ${e.message}`),t.push(` See: ${e.link??"https://akash.js.org/migration"}`);let n=t.join(`
61
+ `);ue?ue(n):typeof console<"u"&&console.warn(n);}var U=new Map;function bi(e){U.set(e.name,e);}function et(){return Array.from(U.values())}function wi(e){return et().filter(t=>t.stability===e)}function xi(e){return U.get(e)?.stability==="deprecated"}function Si(e){return U.get(e)?.deprecation??null}function Ei(e){let t=[],n=[],r=Object.entries(e);if(r.length===0)return {compatible:true,warnings:t,errors:n};let o=r.filter(([s])=>s.startsWith("@akashjs/"));if(o.length>1){let s=new Set(o.map(([,a])=>a.split(".")[0])),i=new Set(o.map(([,a])=>a.split(".").slice(0,2).join(".")));s.size>1?n.push(`Major version mismatch: ${o.map(([a,c])=>`${a}@${c}`).join(", ")}. All @akashjs packages should be on the same major version.`):i.size>1&&t.push(`Minor version mismatch: ${o.map(([a,c])=>`${a}@${c}`).join(", ")}. Consider updating all packages to the same version with \`akash update\`.`);}return {compatible:n.length===0,warnings:t,errors:n}}var ki=new Map,Ci=new Map;function G(e){let n=d()[e];if(!n)return null;let r=n.$snapshot(),o=n.$__meta,s={},i=[];if(o){for(let a of o.getterKeys)try{s[a]=n[a]();}catch{s[a]="<error>";}i.push(...o.actionKeys);}else for(let[a,c]of Object.entries(n))a.startsWith("$")||a in r||typeof c=="function"&&i.push(a);return {$id:e,state:r,getters:s,actions:i,subscriberCount:0}}var de=new Map,pe=new Map;function Pi(){return {stores(){return Object.keys(d())},store(e){return G(e)},storeSnapshots(){let e={};for(let t of Object.keys(d())){let n=G(t);n&&(e[t]=n);}return e},signals(){return [...ki.values()].map(e=>({name:e.name,value:e.read(),subscribers:e.subscriberCount}))},effects(){return [...Ci.values()].map(e=>({name:e.name,runs:e.runCount,isRender:e.isRender,sources:e.sourceCount}))},version(){return {runtime:"0.2.6"}},log(e){if(e){let t=G(e);t?(console.group(`\u{1F50D} Store: ${e}`),console.log("State:",t.state),console.log("Getters:",t.getters),console.log("Actions:",t.actions),console.groupEnd()):console.warn(`Store "${e}" not found. Available:`,Object.keys(d()));}else {let t=Object.keys(d());console.group("\u{1F50D} AkashJS Stores");for(let n of t){let r=G(n);r&&(console.group(n),console.log("State:",r.state),console.log("Getters:",r.getters),console.groupEnd());}console.groupEnd();}},startRecording(e){let t=d()[e];if(!t){console.warn(`Store "${e}" not found.`);return}let n=[];n.push({timestamp:Date.now(),state:t.$snapshot()});let r=t.$subscribe(o=>{n.push({timestamp:Date.now(),state:{...o}});});de.set(e,n),pe.set(e,r),console.log(`\u23FA Recording store "${e}". Call __AKASH_DEVTOOLS__.stopRecording("${e}") to view history.`);},stopRecording(e){let t=pe.get(e);t&&t(),pe.delete(e);let n=de.get(e)??[];return de.delete(e),console.log(`\u23F9 Stopped recording "${e}". ${n.length} snapshots captured.`),console.table(n.map((r,o)=>({"#":o,time:new Date(r.timestamp).toISOString().slice(11,23),state:JSON.stringify(r.state)}))),n}}}function Ai(e){let t=Pi();typeof globalThis<"u"&&(globalThis.__AKASH_DEVTOOLS__=t,console.log("%c\u{1F527} AkashJS DevTools installed. Access via __AKASH_DEVTOOLS__ in console.","color: #7c3aed; font-weight: bold;"),console.log(" .stores() \u2014 list stores"),console.log(' .store("id") \u2014 inspect store'),console.log(" .log() \u2014 pretty-print all stores"),console.log(' .log("id") \u2014 pretty-print one store'),console.log(' .startRecording("id") \u2014 record state changes'),console.log(' .stopRecording("id") \u2014 view recorded history'),console.log(" .signals() \u2014 list tracked signals"),console.log(" .effects() \u2014 list tracked effects")),e?.overlay&&import('./devtools-overlay-CJWKBTP4.js').then(n=>n.mountDevtoolsOverlay());}var tt=typeof process>"u"||process.env?.NODE_ENV!=="production",Ri=[{pattern:/Cannot set property '?(\w+)'? of/,hint:e=>`Did you try to reassign a signal? Use ${e[1]}.set(value) instead of ${e[1]} = value.`},{pattern:/(\w+) is not a function/,hint:e=>`"${e[1]}" may be a signal. Read it with ${e[1]}(), set it with ${e[1]}.set(value).`},{pattern:/Cannot read propert(?:y|ies) of (null|undefined)/,hint:()=>"A value is null/undefined. Use optional chaining (?.) or wrap in <Show when={value()}>."},{pattern:/(\w+)\.(?:forEach|map|filter|reduce) is not a function/,hint:e=>`"${e[1]}" might be a signal containing an array. Call ${e[1]}() first to get the value: ${e[1]}().map(...)`},{pattern:/(\w+)\.set is not a function/,hint:e=>`"${e[1]}" is not a writable signal. Only signal() values have .set(). Computed values are read-only.`},{pattern:/Maximum call stack size exceeded/,hint:()=>"Possible circular dependency. Check if two computed values or effects read and write to each other."}];function J(e){if(!tt)return e;for(let{pattern:t,hint:n}of Ri){let r=t.exec(e.message);if(r){e.message+=`
62
62
 
63
- \u{1F4A1} Hint: ${n(r)}`;break}}return e}function Ai(){tt&&(typeof window<"u"&&(window.addEventListener("error",e=>{e.error instanceof Error&&J(e.error);}),window.addEventListener("unhandledrejection",e=>{e.reason instanceof Error&&J(e.reason);})),typeof process<"u"&&process.on&&process.on("uncaughtException",e=>{J(e),console.error(e),process.exit(1);}));}export{Io as Await,gn as ErrorBoundary,ye as HYDRATE_ATTR,hr as Image,Un as Portal,vn as Suspense,ro as Switch,kn as Transition,Xn as VirtualFor,Vr as applyDirective,br as applyStyles,bo as assignTransitionName,Ho as awaitSignal,Ne as bindClass,Vo as bindClasses,Fo as bindDimensions,No as bindElement,$o as bindGroup,Ko as bindGroupItem,_o as bindScroll,$e as bindStyle,Wo as bindStyles,re as calculateRange,Dr as capitalize,Cr as chain,xi as checkCompatibility,xe as checkForLeaks,bn as claimElement,wn as claimText,lo as clearProviders,Po as clearQueryState,Pn as collectSSRHead,er as countOps,Dn as createApp,ui as createCSRFInterceptor,wr as createDataTable,We as createEventBus,Fe as createFlip,Le as createInjector,pi as createRateLimiter,ai as createSafeHTML,mn as createSlots,Jn as createToaster,Tr as css,Hr as currency,Se as cx,Ir as date,Qe as deepFreeze,Xo as deepSignal,uo as defer,Zn as defineAsyncComponent,Qr as defineCustomElement,H as defineDirective,Bo as defineFormAction,Pr as definePipe,Rn as definePlugin,so as defineProvider,zo as defineSnippet,yi as deprecated,hi as deprecatedValue,Kr as directiveFromFn,nr as disableLeakDetection,eo as discoverStaticRoutes,je as easings,tr as enableLeakDetection,Uo as enableSnapshots,J as enhanceError,ve as enterTransition,si as escapeHtml,En as exitTransition,Sn as findHydrationBoundaries,Mo as flip,Ue as generateCSP,Ye as generateCSRFToken,to as generatePaths,li as generateSRI,ci as generateSecurityHeaders,Er as generateSitemap,Cn as generateTransitionCSS,Ti as getAPIsByStability,sr as getActiveEffects,Ge as getCSPHeaderName,wi as getDeprecationInfo,cr as getLeakDetectionStats,Ao as getQueryParams,et as getRegisteredAPIs,yn as getSuspenseContext,he as getTransitionClasses,ti as globalEventBus,fn as hasSlot,ee as hydrate,co as injectProvider,qo as inspect,Ci as installDevtools,Ai as installErrorHints,ei as isDeepSignal,bi as isDeprecated,Tn as isHydrationActive,rr as isLeakDetectionEnabled,_r as json,Te as longestIncreasingSubsequence,Rr as lowercase,oo as match,jr as number,jo as onEvent,Fr as percent,kr as pipe,Nr as plural,Zr as prerender,xn as progressiveHydrate,be as reconcileKeys,vi as registerAPI,hn as registerPending,$r as relativeTime,zr as removeDirectives,Ro as removeQueryState,An as renderHeadToString,pn as renderSlot,Re as renderSwitch,ar as reportLeaks,gi as resetDeprecationWarnings,Do as resetQueryState,Je as safeMerge,qe as sanitize,di as sanitizeURL,fi as setDeprecationWarnings,mi as setWarningHandler,no as sitemapFromResults,vo as startViewTransition,Oe as supportsViewTransitions,Lr as titleCase,Yr as toCustomElement,Zo as toRaw,or as trackEffect,Or as trim,Mr as truncate,Oo as tweened,ir as untrackEffect,Wr as updateDirective,Ar as uppercase,Ae as urlToFilePath,fr as useAnnounce,$n as useBreakpoint,Bn as useClickOutside,Vn as useClipboard,Hn as useCounter,Mn as useDebounce,dr as useFocusTrap,zn as useGeolocation,F as useHead,vr as useInfiniteScroll,Ln as useInterval,mr as useKeyboard,_n as useMediaQuery,Wn as useOnline,Ce as useOpenGraph,Fn as usePrevious,Ie as useQueryState,Co as useQueryStates,Sr as useSEO,Kn as useStorage,ke as useStructuredData,Qn as useTheme,In as useThrottle,On as useTimeout,jn as useToggle,Pe as useTwitterCard,Yn as useVirtualList,qn as useWindowSize,qr as vAutoFocus,Br as vClickOutside,Gr as vIntersect,Ur as vLongPress,Jr as vResize,To as viewTransitionCSS,ae as watch,Jo as watchDebounced,Go as watchOnce,_e as withModifiers};//# sourceMappingURL=index.js.map
63
+ \u{1F4A1} Hint: ${n(r)}`;break}}return e}function Oi(){tt&&(typeof window<"u"&&(window.addEventListener("error",e=>{e.error instanceof Error&&J(e.error);}),window.addEventListener("unhandledrejection",e=>{e.reason instanceof Error&&J(e.reason);})),typeof process<"u"&&process.on&&process.on("uncaughtException",e=>{J(e),console.error(e),process.exit(1);}));}export{jo as Await,hn as ErrorBoundary,ye as HYDRATE_ATTR,Tr as Image,Jn as Portal,bn as Suspense,io as Switch,Pn as Transition,er as VirtualFor,Wr as applyDirective,xr as applyStyles,xo as assignTransitionName,_o as awaitSignal,Ne as bindClass,Wo as bindClasses,No as bindDimensions,Ko as bindElement,Vo as bindGroup,zo as bindGroupItem,$o as bindScroll,$e as bindStyle,qo as bindStyles,re as calculateRange,Lr as capitalize,Ar as chain,Ei as checkCompatibility,xe as checkForLeaks,xn as claimElement,Sn as claimText,po as clearProviders,Ro as clearQueryState,Rn as collectSSRHead,nr as countOps,Ln as createApp,pi as createCSRFInterceptor,Sr as createDataTable,ze as createEventBus,_e as createFlip,De as createInjector,mi as createRateLimiter,li as createSafeHTML,yn as createSlots,Yn as createToaster,wr as css,_r as currency,Se as cx,jr as date,Qe as deepFreeze,ei as deepSignal,fo as defer,tr as defineAsyncComponent,Xr as defineCustomElement,H as defineDirective,Go as defineFormAction,Rr as definePipe,Dn as definePlugin,co as defineProvider,Bo as defineSnippet,vi as deprecated,Ti as deprecatedValue,zr as directiveFromFn,or as disableLeakDetection,no as discoverStaticRoutes,je as easings,rr as enableLeakDetection,Jo as enableSnapshots,J as enhanceError,ve as enterTransition,ci as escapeHtml,Cn as exitTransition,kn as findHydrationBoundaries,Ho as flip,Ue as generateCSP,Ye as generateCSRFToken,ro as generatePaths,di as generateSRI,ui as generateSecurityHeaders,Cr as generateSitemap,An as generateTransitionCSS,wi as getAPIsByStability,cr as getActiveEffects,Ge as getCSPHeaderName,Si as getDeprecationInfo,ur as getLeakDetectionStats,Oo as getQueryParams,et as getRegisteredAPIs,vn as getSuspenseContext,he as getTransitionClasses,ri as globalEventBus,gn as hasSlot,ee as hydrate,uo as injectProvider,Uo as inspect,Ai as installDevtools,Oi as installErrorHints,ni as isDeepSignal,xi as isDeprecated,wn as isHydrationActive,ir as isLeakDetectionEnabled,$r as json,Te as longestIncreasingSubsequence,Dr as lowercase,so as match,Fr as number,Fo as onEvent,Nr as percent,Pr as pipe,Kr as plural,to as prerender,En as progressiveHydrate,be as reconcileKeys,bi as registerAPI,Tn as registerPending,Vr as relativeTime,Br as removeDirectives,Do as removeQueryState,On as renderHeadToString,mn as renderSlot,Re as renderSwitch,lr as reportLeaks,hi as resetDeprecationWarnings,Lo as resetQueryState,Je as safeMerge,qe as sanitize,fi as sanitizeURL,gi as setDeprecationWarnings,yi as setWarningHandler,oo as sitemapFromResults,bo as startViewTransition,Le as supportsViewTransitions,Mr as titleCase,Zr as toCustomElement,ti as toRaw,sr as trackEffect,Ir as trim,Hr as truncate,Io as tweened,ar as untrackEffect,qr as updateDirective,Or as uppercase,Ae as urlToFilePath,gr as useAnnounce,Vn as useBreakpoint,Gn as useClickOutside,Wn as useClipboard,_n as useCounter,Hn as useDebounce,fr as useFocusTrap,Bn as useGeolocation,_ as useHead,br as useInfiniteScroll,Mn as useInterval,yr as useKeyboard,$n as useMediaQuery,qn as useOnline,Ce as useOpenGraph,Nn as usePrevious,Ie as useQueryState,Ao as useQueryStates,kr as useSEO,zn as useStorage,ke as useStructuredData,Xn as useTheme,jn as useThrottle,In as useTimeout,Fn as useToggle,Pe as useTwitterCard,Zn as useVirtualList,Un as useWindowSize,Ur as vAutoFocus,Gr as vClickOutside,Qr as vIntersect,Jr as vLongPress,Yr as vResize,wo as viewTransitionCSS,ae as watch,Yo as watchDebounced,Qo as watchOnce,Fe as withModifiers};//# sourceMappingURL=index.js.map
64
64
  //# sourceMappingURL=index.js.map