@rool-dev/extension 0.3.11-dev.aacdc3a → 0.3.11-dev.ba48548
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.
- package/dist/dev/host-shell.js +65 -135
- package/dist/dev/host-shell.js.map +1 -1
- package/package.json +5 -5
package/dist/dev/host-shell.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
1
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/shared/utils.js
|
|
2
2
|
var is_array = Array.isArray;
|
|
3
3
|
var index_of = Array.prototype.indexOf;
|
|
4
4
|
var includes = Array.prototype.includes;
|
|
@@ -97,7 +97,7 @@ function lifecycle_outside_component(name) {
|
|
|
97
97
|
throw new Error(`https://svelte.dev/e/lifecycle_outside_component`);
|
|
98
98
|
}
|
|
99
99
|
//#endregion
|
|
100
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
100
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/errors.js
|
|
101
101
|
/**
|
|
102
102
|
* Cannot create a `$derived(...)` with an `await` expression outside of an effect tree
|
|
103
103
|
* @returns {never}
|
|
@@ -182,7 +182,7 @@ function svelte_boundary_reset_onerror() {
|
|
|
182
182
|
throw new Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`);
|
|
183
183
|
}
|
|
184
184
|
//#endregion
|
|
185
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
185
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/constants.js
|
|
186
186
|
var HYDRATION_ERROR = {};
|
|
187
187
|
var UNINITIALIZED = Symbol();
|
|
188
188
|
var NAMESPACE_HTML = "http://www.w3.org/1999/xhtml";
|
|
@@ -200,7 +200,7 @@ function svelte_boundary_reset_noop() {
|
|
|
200
200
|
console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`);
|
|
201
201
|
}
|
|
202
202
|
//#endregion
|
|
203
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
203
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/hydration.js
|
|
204
204
|
/** @import { TemplateNode } from '#client' */
|
|
205
205
|
/**
|
|
206
206
|
* Use this variable to guard everything related to hydration code so it can be treeshaken out
|
|
@@ -279,7 +279,7 @@ function read_hydration_instruction(node) {
|
|
|
279
279
|
return node.data;
|
|
280
280
|
}
|
|
281
281
|
//#endregion
|
|
282
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
282
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/reactivity/equality.js
|
|
283
283
|
/** @import { Equals } from '#client' */
|
|
284
284
|
/** @type {Equals} */
|
|
285
285
|
function equals(value) {
|
|
@@ -298,13 +298,13 @@ function safe_equals(value) {
|
|
|
298
298
|
return !safe_not_equal(value, this.v);
|
|
299
299
|
}
|
|
300
300
|
//#endregion
|
|
301
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
301
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/flags/index.js
|
|
302
302
|
/** True if experimental.async=true */
|
|
303
303
|
var async_mode_flag = false;
|
|
304
304
|
/** True if we're not certain that we only have Svelte 5 code in the compilation */
|
|
305
305
|
var legacy_mode_flag = false;
|
|
306
306
|
//#endregion
|
|
307
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
307
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/context.js
|
|
308
308
|
/** @import { ComponentContext, DevStackEntry, Effect } from '#client' */
|
|
309
309
|
/** @type {ComponentContext | null} */
|
|
310
310
|
var component_context = null;
|
|
@@ -390,7 +390,7 @@ function get_parent_context(component_context) {
|
|
|
390
390
|
return null;
|
|
391
391
|
}
|
|
392
392
|
//#endregion
|
|
393
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
393
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/task.js
|
|
394
394
|
/** @type {Array<() => void>} */
|
|
395
395
|
var micro_tasks = [];
|
|
396
396
|
function run_micro_tasks() {
|
|
@@ -448,7 +448,7 @@ function invoke_error_boundary(error, effect) {
|
|
|
448
448
|
throw error;
|
|
449
449
|
}
|
|
450
450
|
//#endregion
|
|
451
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
451
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/reactivity/status.js
|
|
452
452
|
/** @import { Derived, Signal } from '#client' */
|
|
453
453
|
var STATUS_MASK = ~(DIRTY | MAYBE_DIRTY | CLEAN);
|
|
454
454
|
/**
|
|
@@ -467,7 +467,7 @@ function update_derived_status(derived) {
|
|
|
467
467
|
else set_signal_status(derived, MAYBE_DIRTY);
|
|
468
468
|
}
|
|
469
469
|
//#endregion
|
|
470
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
470
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/reactivity/utils.js
|
|
471
471
|
/** @import { Derived, Effect, Value } from '#client' */
|
|
472
472
|
/**
|
|
473
473
|
* @param {Value[] | null} deps
|
|
@@ -495,7 +495,7 @@ function defer_effect(effect, dirty_effects, maybe_dirty_effects) {
|
|
|
495
495
|
set_signal_status(effect, CLEAN);
|
|
496
496
|
}
|
|
497
497
|
//#endregion
|
|
498
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
498
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/reactivity/store.js
|
|
499
499
|
/**
|
|
500
500
|
* We set this to `true` when updating a store so that we correctly
|
|
501
501
|
* schedule effects if the update takes place inside a `$:` effect
|
|
@@ -525,7 +525,7 @@ function capture_store_binding(fn) {
|
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
527
|
//#endregion
|
|
528
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
528
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/reactivity/batch.js
|
|
529
529
|
/** @import { Fork } from 'svelte' */
|
|
530
530
|
/** @import { Derived, Effect, Reaction, Source, Value } from '#client' */
|
|
531
531
|
/** @type {Set<Batch>} */
|
|
@@ -563,16 +563,15 @@ var uid = 1;
|
|
|
563
563
|
var Batch = class Batch {
|
|
564
564
|
id = uid++;
|
|
565
565
|
/**
|
|
566
|
-
* The current values of any
|
|
567
|
-
* Tuple format: [value, is_derived] (note: is_derived is false for deriveds, too, if they were overridden via assignment)
|
|
566
|
+
* The current values of any sources that are updated in this batch
|
|
568
567
|
* They keys of this map are identical to `this.#previous`
|
|
569
|
-
* @type {Map<
|
|
568
|
+
* @type {Map<Source, any>}
|
|
570
569
|
*/
|
|
571
570
|
current = /* @__PURE__ */ new Map();
|
|
572
571
|
/**
|
|
573
|
-
* The values of any
|
|
572
|
+
* The values of any sources that are updated in this batch _before_ those updates took place.
|
|
574
573
|
* They keys of this map are identical to `this.#current`
|
|
575
|
-
* @type {Map<
|
|
574
|
+
* @type {Map<Source, any>}
|
|
576
575
|
*/
|
|
577
576
|
previous = /* @__PURE__ */ new Map();
|
|
578
577
|
/**
|
|
@@ -587,15 +586,13 @@ var Batch = class Batch {
|
|
|
587
586
|
*/
|
|
588
587
|
#discard_callbacks = /* @__PURE__ */ new Set();
|
|
589
588
|
/**
|
|
590
|
-
*
|
|
591
|
-
* @type {Map<Effect, number>}
|
|
589
|
+
* The number of async effects that are currently in flight
|
|
592
590
|
*/
|
|
593
|
-
#pending =
|
|
591
|
+
#pending = 0;
|
|
594
592
|
/**
|
|
595
|
-
*
|
|
596
|
-
* @type {Map<Effect, number>}
|
|
593
|
+
* The number of async effects that are currently in flight, _not_ inside a pending boundary
|
|
597
594
|
*/
|
|
598
|
-
#blocking_pending =
|
|
595
|
+
#blocking_pending = 0;
|
|
599
596
|
/**
|
|
600
597
|
* A deferred that resolves when the batch is committed, used with `settled()`
|
|
601
598
|
* TODO replace with Promise.withResolvers once supported widely enough
|
|
@@ -608,11 +605,6 @@ var Batch = class Batch {
|
|
|
608
605
|
*/
|
|
609
606
|
#roots = [];
|
|
610
607
|
/**
|
|
611
|
-
* Effects created while this batch was active.
|
|
612
|
-
* @type {Effect[]}
|
|
613
|
-
*/
|
|
614
|
-
#new_effects = [];
|
|
615
|
-
/**
|
|
616
608
|
* Deferred effects (which run after async work has completed) that are DIRTY
|
|
617
609
|
* @type {Set<Effect>}
|
|
618
610
|
*/
|
|
@@ -632,25 +624,8 @@ var Batch = class Batch {
|
|
|
632
624
|
#skipped_branches = /* @__PURE__ */ new Map();
|
|
633
625
|
is_fork = false;
|
|
634
626
|
#decrement_queued = false;
|
|
635
|
-
/** @type {Set<Batch>} */
|
|
636
|
-
#blockers = /* @__PURE__ */ new Set();
|
|
637
627
|
#is_deferred() {
|
|
638
|
-
return this.is_fork || this.#blocking_pending
|
|
639
|
-
}
|
|
640
|
-
#is_blocked() {
|
|
641
|
-
for (const batch of this.#blockers) for (const effect of batch.#blocking_pending.keys()) {
|
|
642
|
-
var skipped = false;
|
|
643
|
-
var e = effect;
|
|
644
|
-
while (e.parent !== null) {
|
|
645
|
-
if (this.#skipped_branches.has(e)) {
|
|
646
|
-
skipped = true;
|
|
647
|
-
break;
|
|
648
|
-
}
|
|
649
|
-
e = e.parent;
|
|
650
|
-
}
|
|
651
|
-
if (!skipped) return true;
|
|
652
|
-
}
|
|
653
|
-
return false;
|
|
628
|
+
return this.is_fork || this.#blocking_pending > 0;
|
|
654
629
|
}
|
|
655
630
|
/**
|
|
656
631
|
* Add an effect to the #skipped_branches map and reset its children
|
|
@@ -722,12 +697,12 @@ var Batch = class Batch {
|
|
|
722
697
|
}
|
|
723
698
|
collected_effects = null;
|
|
724
699
|
legacy_updates = null;
|
|
725
|
-
if (this.#is_deferred()
|
|
700
|
+
if (this.#is_deferred()) {
|
|
726
701
|
this.#defer_effects(render_effects);
|
|
727
702
|
this.#defer_effects(effects);
|
|
728
703
|
for (const [e, t] of this.#skipped_branches) reset_branch(e, t);
|
|
729
704
|
} else {
|
|
730
|
-
if (this.#pending
|
|
705
|
+
if (this.#pending === 0) batches.delete(this);
|
|
731
706
|
this.#dirty_effects.clear();
|
|
732
707
|
this.#maybe_dirty_effects.clear();
|
|
733
708
|
for (const fn of this.#commit_callbacks) fn(this);
|
|
@@ -793,14 +768,13 @@ var Batch = class Batch {
|
|
|
793
768
|
/**
|
|
794
769
|
* Associate a change to a given source with the current
|
|
795
770
|
* batch, noting its previous and current values
|
|
796
|
-
* @param {
|
|
771
|
+
* @param {Source} source
|
|
797
772
|
* @param {any} old_value
|
|
798
|
-
* @param {boolean} [is_derived]
|
|
799
773
|
*/
|
|
800
|
-
capture(source, old_value
|
|
774
|
+
capture(source, old_value) {
|
|
801
775
|
if (old_value !== UNINITIALIZED && !this.previous.has(source)) this.previous.set(source, old_value);
|
|
802
776
|
if ((source.f & 8388608) === 0) {
|
|
803
|
-
this.current.set(source,
|
|
777
|
+
this.current.set(source, source.v);
|
|
804
778
|
batch_values?.set(source, source.v);
|
|
805
779
|
}
|
|
806
780
|
}
|
|
@@ -832,23 +806,14 @@ var Batch = class Batch {
|
|
|
832
806
|
this.#discard_callbacks.clear();
|
|
833
807
|
batches.delete(this);
|
|
834
808
|
}
|
|
835
|
-
/**
|
|
836
|
-
* @param {Effect} effect
|
|
837
|
-
*/
|
|
838
|
-
register_created_effect(effect) {
|
|
839
|
-
this.#new_effects.push(effect);
|
|
840
|
-
}
|
|
841
809
|
#commit() {
|
|
842
810
|
for (const batch of batches) {
|
|
843
811
|
var is_earlier = batch.id < this.id;
|
|
844
812
|
/** @type {Source[]} */
|
|
845
813
|
var sources = [];
|
|
846
|
-
for (const [source,
|
|
847
|
-
if (batch.current.has(source))
|
|
848
|
-
|
|
849
|
-
if (is_earlier && value !== batch_value) batch.current.set(source, [value, is_derived]);
|
|
850
|
-
else continue;
|
|
851
|
-
}
|
|
814
|
+
for (const [source, value] of this.current) {
|
|
815
|
+
if (batch.current.has(source)) if (is_earlier && value !== batch.current.get(source)) batch.current.set(source, value);
|
|
816
|
+
else continue;
|
|
852
817
|
sources.push(source);
|
|
853
818
|
}
|
|
854
819
|
var others = [...batch.current.keys()].filter((s) => !this.current.has(s));
|
|
@@ -861,12 +826,6 @@ var Batch = class Batch {
|
|
|
861
826
|
/** @type {Map<Reaction, boolean>} */
|
|
862
827
|
var checked = /* @__PURE__ */ new Map();
|
|
863
828
|
for (var source of sources) mark_effects(source, others, marked, checked);
|
|
864
|
-
checked = /* @__PURE__ */ new Map();
|
|
865
|
-
var current_unequal = [...batch.current.keys()].filter((c) => this.current.has(c) ? this.current.get(c)[0] !== c : true);
|
|
866
|
-
for (const effect of this.#new_effects) if ((effect.f & 155648) === 0 && depends_on(effect, current_unequal, checked)) if ((effect.f & 4194320) !== 0) {
|
|
867
|
-
set_signal_status(effect, DIRTY);
|
|
868
|
-
batch.schedule(effect);
|
|
869
|
-
} else batch.#dirty_effects.add(effect);
|
|
870
829
|
if (batch.#roots.length > 0) {
|
|
871
830
|
batch.apply();
|
|
872
831
|
for (var root of batch.#roots) batch.#traverse(root, [], []);
|
|
@@ -875,40 +834,22 @@ var Batch = class Batch {
|
|
|
875
834
|
batch.deactivate();
|
|
876
835
|
}
|
|
877
836
|
}
|
|
878
|
-
for (const batch of batches) if (batch.#blockers.has(this)) {
|
|
879
|
-
batch.#blockers.delete(this);
|
|
880
|
-
if (batch.#blockers.size === 0 && !batch.#is_deferred()) {
|
|
881
|
-
batch.activate();
|
|
882
|
-
batch.#process();
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
837
|
}
|
|
886
838
|
/**
|
|
839
|
+
*
|
|
887
840
|
* @param {boolean} blocking
|
|
888
|
-
* @param {Effect} effect
|
|
889
841
|
*/
|
|
890
|
-
increment(blocking
|
|
891
|
-
|
|
892
|
-
this.#
|
|
893
|
-
if (blocking) {
|
|
894
|
-
let blocking_pending_count = this.#blocking_pending.get(effect) ?? 0;
|
|
895
|
-
this.#blocking_pending.set(effect, blocking_pending_count + 1);
|
|
896
|
-
}
|
|
842
|
+
increment(blocking) {
|
|
843
|
+
this.#pending += 1;
|
|
844
|
+
if (blocking) this.#blocking_pending += 1;
|
|
897
845
|
}
|
|
898
846
|
/**
|
|
899
847
|
* @param {boolean} blocking
|
|
900
|
-
* @param {Effect} effect
|
|
901
848
|
* @param {boolean} skip - whether to skip updates (because this is triggered by a stale reaction)
|
|
902
849
|
*/
|
|
903
|
-
decrement(blocking,
|
|
904
|
-
|
|
905
|
-
if (
|
|
906
|
-
else this.#pending.set(effect, pending_count - 1);
|
|
907
|
-
if (blocking) {
|
|
908
|
-
let blocking_pending_count = this.#blocking_pending.get(effect) ?? 0;
|
|
909
|
-
if (blocking_pending_count === 1) this.#blocking_pending.delete(effect);
|
|
910
|
-
else this.#blocking_pending.set(effect, blocking_pending_count - 1);
|
|
911
|
-
}
|
|
850
|
+
decrement(blocking, skip) {
|
|
851
|
+
this.#pending -= 1;
|
|
852
|
+
if (blocking) this.#blocking_pending -= 1;
|
|
912
853
|
if (this.#decrement_queued || skip) return;
|
|
913
854
|
this.#decrement_queued = true;
|
|
914
855
|
queue_micro_task(() => {
|
|
@@ -955,19 +896,10 @@ var Batch = class Batch {
|
|
|
955
896
|
batch_values = null;
|
|
956
897
|
return;
|
|
957
898
|
}
|
|
958
|
-
batch_values =
|
|
959
|
-
for (const [source, [value]] of this.current) batch_values.set(source, value);
|
|
899
|
+
batch_values = new Map(this.current);
|
|
960
900
|
for (const batch of batches) {
|
|
961
901
|
if (batch === this || batch.is_fork) continue;
|
|
962
|
-
|
|
963
|
-
var differs = false;
|
|
964
|
-
if (batch.id < this.id) for (const [source, [, is_derived]] of batch.current) {
|
|
965
|
-
if (is_derived) continue;
|
|
966
|
-
intersects ||= this.current.has(source);
|
|
967
|
-
differs ||= !this.current.has(source);
|
|
968
|
-
}
|
|
969
|
-
if (intersects && differs) this.#blockers.add(batch);
|
|
970
|
-
else for (const [source, previous] of batch.previous) if (!batch_values.has(source)) batch_values.set(source, previous);
|
|
902
|
+
for (const [source, previous] of batch.previous) if (!batch_values.has(source)) batch_values.set(source, previous);
|
|
971
903
|
}
|
|
972
904
|
}
|
|
973
905
|
/**
|
|
@@ -1147,7 +1079,7 @@ function reset_all(effect) {
|
|
|
1147
1079
|
}
|
|
1148
1080
|
}
|
|
1149
1081
|
//#endregion
|
|
1150
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
1082
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/reactivity/create-subscriber.js
|
|
1151
1083
|
/**
|
|
1152
1084
|
* Returns a `subscribe` function that integrates external event-based systems with Svelte's reactivity.
|
|
1153
1085
|
* It's particularly useful for integrating with web APIs like `MediaQuery`, `IntersectionObserver`, or `WebSocket`.
|
|
@@ -1220,7 +1152,7 @@ function createSubscriber(start) {
|
|
|
1220
1152
|
};
|
|
1221
1153
|
}
|
|
1222
1154
|
//#endregion
|
|
1223
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
1155
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/blocks/boundary.js
|
|
1224
1156
|
/** @import { Effect, Source, TemplateNode, } from '#client' */
|
|
1225
1157
|
/**
|
|
1226
1158
|
* @typedef {{
|
|
@@ -1549,7 +1481,7 @@ var Boundary = class {
|
|
|
1549
1481
|
}
|
|
1550
1482
|
};
|
|
1551
1483
|
//#endregion
|
|
1552
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
1484
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/reactivity/async.js
|
|
1553
1485
|
/** @import { Blocker, Effect, Value } from '#client' */
|
|
1554
1486
|
/**
|
|
1555
1487
|
* @param {Blocker[]} blockers
|
|
@@ -1622,15 +1554,14 @@ function unset_context(deactivate_batch = true) {
|
|
|
1622
1554
|
* @returns {(skip?: boolean) => void}
|
|
1623
1555
|
*/
|
|
1624
1556
|
function increment_pending() {
|
|
1625
|
-
var
|
|
1626
|
-
var boundary = effect.b;
|
|
1557
|
+
var boundary = active_effect.b;
|
|
1627
1558
|
var batch = current_batch;
|
|
1628
1559
|
var blocking = boundary.is_rendered();
|
|
1629
1560
|
boundary.update_pending_count(1, batch);
|
|
1630
|
-
batch.increment(blocking
|
|
1561
|
+
batch.increment(blocking);
|
|
1631
1562
|
return (skip = false) => {
|
|
1632
1563
|
boundary.update_pending_count(-1, batch);
|
|
1633
|
-
batch.decrement(blocking,
|
|
1564
|
+
batch.decrement(blocking, skip);
|
|
1634
1565
|
};
|
|
1635
1566
|
}
|
|
1636
1567
|
/**
|
|
@@ -1810,7 +1741,7 @@ function update_derived(derived) {
|
|
|
1810
1741
|
derived.wv = increment_write_version();
|
|
1811
1742
|
if (!current_batch?.is_fork || derived.deps === null) {
|
|
1812
1743
|
derived.v = value;
|
|
1813
|
-
current_batch?.capture(derived, old_value
|
|
1744
|
+
current_batch?.capture(derived, old_value);
|
|
1814
1745
|
if (derived.deps === null) {
|
|
1815
1746
|
set_signal_status(derived, CLEAN);
|
|
1816
1747
|
return;
|
|
@@ -1844,7 +1775,7 @@ function unfreeze_derived_effects(derived) {
|
|
|
1844
1775
|
for (const e of derived.effects) if (e.teardown) update_effect(e);
|
|
1845
1776
|
}
|
|
1846
1777
|
//#endregion
|
|
1847
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
1778
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/reactivity/sources.js
|
|
1848
1779
|
/** @import { Derived, Effect, Source, Value } from '#client' */
|
|
1849
1780
|
/** @type {Set<any>} */
|
|
1850
1781
|
var eager_effects = /* @__PURE__ */ new Set();
|
|
@@ -2136,7 +2067,7 @@ function proxy(value) {
|
|
|
2136
2067
|
});
|
|
2137
2068
|
}
|
|
2138
2069
|
//#endregion
|
|
2139
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
2070
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/operations.js
|
|
2140
2071
|
/** @import { Effect, TemplateNode } from '#client' */
|
|
2141
2072
|
/** @type {Window} */
|
|
2142
2073
|
var $window;
|
|
@@ -2311,7 +2242,7 @@ function merge_text_nodes(text) {
|
|
|
2311
2242
|
}
|
|
2312
2243
|
}
|
|
2313
2244
|
//#endregion
|
|
2314
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
2245
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/elements/bindings/shared.js
|
|
2315
2246
|
/**
|
|
2316
2247
|
* @template T
|
|
2317
2248
|
* @param {() => T} fn
|
|
@@ -2329,7 +2260,7 @@ function without_reactive_context(fn) {
|
|
|
2329
2260
|
}
|
|
2330
2261
|
}
|
|
2331
2262
|
//#endregion
|
|
2332
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
2263
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/reactivity/effects.js
|
|
2333
2264
|
/** @import { Blocker, ComponentContext, ComponentContextLegacy, Derived, Effect, TemplateNode, TransitionManager } from '#client' */
|
|
2334
2265
|
/**
|
|
2335
2266
|
* @param {'$effect' | '$effect.pre' | '$inspect'} rune
|
|
@@ -2379,7 +2310,6 @@ function create_effect(type, fn) {
|
|
|
2379
2310
|
wv: 0,
|
|
2380
2311
|
ac: null
|
|
2381
2312
|
};
|
|
2382
|
-
current_batch?.register_created_effect(effect);
|
|
2383
2313
|
/** @type {Effect | null} */
|
|
2384
2314
|
var e = effect;
|
|
2385
2315
|
if ((type & 4) !== 0) if (collected_effects !== null) collected_effects.push(effect);
|
|
@@ -2576,7 +2506,7 @@ function destroy_effect(effect, remove_dom = true) {
|
|
|
2576
2506
|
effect.f |= DESTROYED;
|
|
2577
2507
|
var parent = effect.parent;
|
|
2578
2508
|
if (parent !== null && parent.first !== null) unlink_effect(effect);
|
|
2579
|
-
effect.next = effect.prev = effect.teardown = effect.ctx = effect.deps = effect.fn = effect.nodes = effect.ac =
|
|
2509
|
+
effect.next = effect.prev = effect.teardown = effect.ctx = effect.deps = effect.fn = effect.nodes = effect.ac = null;
|
|
2580
2510
|
}
|
|
2581
2511
|
/**
|
|
2582
2512
|
*
|
|
@@ -2699,14 +2629,14 @@ function move_effect(effect, fragment) {
|
|
|
2699
2629
|
}
|
|
2700
2630
|
}
|
|
2701
2631
|
//#endregion
|
|
2702
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
2632
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/legacy.js
|
|
2703
2633
|
/**
|
|
2704
2634
|
* @type {Set<Value> | null}
|
|
2705
2635
|
* @deprecated
|
|
2706
2636
|
*/
|
|
2707
2637
|
var captured_signals = null;
|
|
2708
2638
|
//#endregion
|
|
2709
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
2639
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/runtime.js
|
|
2710
2640
|
/** @import { Derived, Effect, Reaction, Source, Value } from '#client' */
|
|
2711
2641
|
var is_updating_effect = false;
|
|
2712
2642
|
var is_destroying_effect = false;
|
|
@@ -3075,7 +3005,7 @@ function is_passive_event(name) {
|
|
|
3075
3005
|
return PASSIVE_EVENTS.includes(name);
|
|
3076
3006
|
}
|
|
3077
3007
|
//#endregion
|
|
3078
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
3008
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/elements/events.js
|
|
3079
3009
|
/**
|
|
3080
3010
|
* Used on elements, as a map of event type -> event handler,
|
|
3081
3011
|
* and on events themselves to track which element handled an event
|
|
@@ -3215,7 +3145,7 @@ function handle_event_propagation(event) {
|
|
|
3215
3145
|
}
|
|
3216
3146
|
}
|
|
3217
3147
|
//#endregion
|
|
3218
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
3148
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/reconciler.js
|
|
3219
3149
|
var policy = globalThis?.window?.trustedTypes && /* @__PURE__ */ globalThis.window.trustedTypes.createPolicy("svelte-trusted-html", { createHTML: (html) => {
|
|
3220
3150
|
return html;
|
|
3221
3151
|
} });
|
|
@@ -3232,7 +3162,7 @@ function create_fragment_from_html(html) {
|
|
|
3232
3162
|
return elem.content;
|
|
3233
3163
|
}
|
|
3234
3164
|
//#endregion
|
|
3235
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
3165
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/template.js
|
|
3236
3166
|
/** @import { Effect, EffectNodes, TemplateNode } from '#client' */
|
|
3237
3167
|
/** @import { TemplateStructure } from './types' */
|
|
3238
3168
|
/**
|
|
@@ -3481,7 +3411,7 @@ function _mount(Component, { target, anchor, props = {}, events, context, intro
|
|
|
3481
3411
|
*/
|
|
3482
3412
|
var mounted_components = /* @__PURE__ */ new WeakMap();
|
|
3483
3413
|
//#endregion
|
|
3484
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
3414
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/blocks/branches.js
|
|
3485
3415
|
/** @import { Effect, TemplateNode } from '#client' */
|
|
3486
3416
|
/**
|
|
3487
3417
|
* @typedef {{ effect: Effect, fragment: DocumentFragment }} Branch
|
|
@@ -3626,7 +3556,7 @@ var BranchManager = class {
|
|
|
3626
3556
|
}
|
|
3627
3557
|
};
|
|
3628
3558
|
//#endregion
|
|
3629
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
3559
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/blocks/if.js
|
|
3630
3560
|
/** @import { TemplateNode } from '#client' */
|
|
3631
3561
|
/**
|
|
3632
3562
|
* @param {TemplateNode} node
|
|
@@ -3672,7 +3602,7 @@ function if_block(node, fn, elseif = false) {
|
|
|
3672
3602
|
}, flags);
|
|
3673
3603
|
}
|
|
3674
3604
|
//#endregion
|
|
3675
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
3605
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/blocks/each.js
|
|
3676
3606
|
/** @import { EachItem, EachOutroGroup, EachState, Effect, EffectNodes, MaybeSource, Source, TemplateNode, TransitionManager, Value } from '#client' */
|
|
3677
3607
|
/** @import { Batch } from '../../reactivity/batch.js'; */
|
|
3678
3608
|
/**
|
|
@@ -4084,7 +4014,7 @@ function link(state, prev, next) {
|
|
|
4084
4014
|
else next.prev = prev;
|
|
4085
4015
|
}
|
|
4086
4016
|
//#endregion
|
|
4087
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
4017
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/css.js
|
|
4088
4018
|
/**
|
|
4089
4019
|
* @param {Node} anchor
|
|
4090
4020
|
* @param {{ hash: string, code: string }} css
|
|
@@ -4102,7 +4032,7 @@ function append_styles(anchor, css) {
|
|
|
4102
4032
|
});
|
|
4103
4033
|
}
|
|
4104
4034
|
//#endregion
|
|
4105
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
4035
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/shared/attributes.js
|
|
4106
4036
|
var whitespace = [..." \n\r\f\xA0\v"];
|
|
4107
4037
|
/**
|
|
4108
4038
|
* @param {any} value
|
|
@@ -4128,7 +4058,7 @@ function to_class(value, hash, directives) {
|
|
|
4128
4058
|
return classname === "" ? null : classname;
|
|
4129
4059
|
}
|
|
4130
4060
|
//#endregion
|
|
4131
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
4061
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/elements/class.js
|
|
4132
4062
|
/**
|
|
4133
4063
|
* @param {Element} dom
|
|
4134
4064
|
* @param {boolean | number} is_html
|
|
@@ -4153,7 +4083,7 @@ function set_class(dom, is_html, value, hash, prev_classes, next_classes) {
|
|
|
4153
4083
|
return next_classes;
|
|
4154
4084
|
}
|
|
4155
4085
|
//#endregion
|
|
4156
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
4086
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/elements/attributes.js
|
|
4157
4087
|
/** @import { Blocker, Effect } from '#client' */
|
|
4158
4088
|
var IS_CUSTOM_ELEMENT = Symbol("is custom element");
|
|
4159
4089
|
var IS_HTML = Symbol("is html");
|
|
@@ -4214,7 +4144,7 @@ function get_setters(element) {
|
|
|
4214
4144
|
*/
|
|
4215
4145
|
function check_src_in_dev_hydration(element, attribute, value) {}
|
|
4216
4146
|
//#endregion
|
|
4217
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
4147
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/dom/elements/bindings/this.js
|
|
4218
4148
|
/** @import { ComponentContext, Effect } from '#client' */
|
|
4219
4149
|
/**
|
|
4220
4150
|
* @param {any} bound_value
|
|
@@ -4266,7 +4196,7 @@ function bind_this(element_or_component = {}, update, get_value, get_parts) {
|
|
|
4266
4196
|
return element_or_component;
|
|
4267
4197
|
}
|
|
4268
4198
|
//#endregion
|
|
4269
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
4199
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/client/reactivity/props.js
|
|
4270
4200
|
/** @import { Effect, Source } from './types.js' */
|
|
4271
4201
|
/**
|
|
4272
4202
|
* This function is responsible for synchronizing a possibly bound prop with the inner component state.
|
|
@@ -4389,7 +4319,7 @@ function init_update_callbacks(context) {
|
|
|
4389
4319
|
};
|
|
4390
4320
|
}
|
|
4391
4321
|
//#endregion
|
|
4392
|
-
//#region ../../node_modules/.pnpm/svelte@5.
|
|
4322
|
+
//#region ../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/src/internal/disclose-version.js
|
|
4393
4323
|
if (typeof window !== "undefined") ((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add("5");
|
|
4394
4324
|
//#endregion
|
|
4395
4325
|
//#region ../sdk/src/event-emitter.ts
|