Enhance SvelteKit project by adding new API routes for dark mode toggling, updating existing route parameters, and improving type definitions. Refactor component imports and optimize asset handling for better performance and maintainability.
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m29s

This commit is contained in:
eewing
2026-02-18 14:16:38 -06:00
parent a3db68e8fc
commit cfff9de0e6
574 changed files with 21605 additions and 1702 deletions
+28 -1
View File
@@ -1,4 +1,4 @@
import { H as HYDRATION_ERROR, C as COMMENT_NODE, m as HYDRATION_END, o as HYDRATION_START, p as HYDRATION_START_ELSE, q as get_next_sibling, r as effect_tracking, t as get, v as render_effect, w as source, x as untrack, y as increment, z as queue_micro_task, A as active_effect, B as BOUNDARY_EFFECT, D as block, E as branch, F as create_text, G as Batch, I as pause_effect, J as move_effect, K as defer_effect, L as set_active_effect, M as set_active_reaction, N as set_component_context, O as handle_error, P as active_reaction, Q as component_context, R as set_signal_status, S as DIRTY, T as schedule_effect, U as MAYBE_DIRTY, V as internal_set, W as destroy_effect, X as invoke_error_boundary, Y as svelte_boundary_reset_onerror, Z as EFFECT_TRANSPARENT, _ as EFFECT_PRESERVED, $ as define_property, a0 as init_operations, a1 as get_first_child, a2 as hydration_failed, a3 as clear_text_content, a4 as component_root, a5 as array_from, a6 as is_passive_event, a7 as push, a8 as pop, a9 as set, aa as LEGACY_PROPS, ab as flushSync, ac as mutable_source, ad as render, ae as setContext } from "./index2.js";
import { H as HYDRATION_ERROR, C as COMMENT_NODE, l as HYDRATION_END, m as HYDRATION_START, o as HYDRATION_START_ELSE, p as get_next_sibling, q as effect_tracking, r as get, t as render_effect, v as source, w as untrack, x as increment, y as queue_micro_task, z as active_effect, B as BOUNDARY_EFFECT, A as block, D as branch, E as create_text, F as Batch, G as pause_effect, I as move_effect, J as defer_effect, K as set_active_effect, L as set_active_reaction, M as set_component_context, N as handle_error, O as active_reaction, P as component_context, Q as set_signal_status, R as DIRTY, S as schedule_effect, T as MAYBE_DIRTY, U as internal_set, V as destroy_effect, W as invoke_error_boundary, X as svelte_boundary_reset_onerror, Y as EFFECT_TRANSPARENT, Z as EFFECT_PRESERVED, _ as without_reactive_context, $ as define_property, a0 as init_operations, a1 as get_first_child, a2 as hydration_failed, a3 as clear_text_content, a4 as component_root, a5 as array_from, a6 as is_passive_event, a7 as push, a8 as pop, a9 as set, aa as LEGACY_PROPS, ab as flushSync, ac as mutable_source, ad as render, ae as setContext } from "./index2.js";
import "clsx";
function hydration_mismatch(location) {
{
@@ -419,6 +419,32 @@ class Boundary {
const event_symbol = Symbol("events");
const all_registered_events = /* @__PURE__ */ new Set();
const root_event_handles = /* @__PURE__ */ new Set();
function create_event(event_name, dom, handler, options = {}) {
function target_handler(event) {
if (!options.capture) {
handle_event_propagation.call(dom, event);
}
if (!event.cancelBubble) {
return without_reactive_context(() => {
return handler?.call(this, event);
});
}
}
if (event_name.startsWith("pointer") || event_name.startsWith("touch") || event_name === "wheel") {
queue_micro_task(() => {
dom.addEventListener(event_name, target_handler, options);
});
} else {
dom.addEventListener(event_name, target_handler, options);
}
return target_handler;
}
function on(element, type, handler, options = {}) {
var target_handler = create_event(type, element, handler, options);
return () => {
element.removeEventListener(type, target_handler, options);
};
}
let last_propagated_event = null;
function handle_event_propagation(event) {
var handler_element = this;
@@ -864,5 +890,6 @@ function Root($$renderer, $$props) {
}
const root = asClassComponent(Root);
export {
on as o,
root as r
};