@credenza3/passport-sui 0.2.0 → 0.2.1-alpha.0
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/{App-BmGPvCT5.js → App-9Yt0fLo_.js} +18 -18
- package/dist/{App-BmGPvCT5.js.map → App-9Yt0fLo_.js.map} +1 -1
- package/dist/{Button-DL7sN6s8.js → Button-zK2HdlEH.js} +4 -4
- package/dist/{Button-DL7sN6s8.js.map → Button-zK2HdlEH.js.map} +1 -1
- package/dist/{ButtonBack-CNnA40BD.js → ButtonBack-CwezCDmC.js} +4 -4
- package/dist/{ButtonBack-CNnA40BD.js.map → ButtonBack-CwezCDmC.js.map} +1 -1
- package/dist/{ButtonLink-07lgAShG.js → ButtonLink-De6uI_v0.js} +3 -3
- package/dist/{ButtonLink-07lgAShG.js.map → ButtonLink-De6uI_v0.js.map} +1 -1
- package/dist/{ConfirmAccount-B6uf6Hqp.js → ConfirmAccount-yxhIaEuY.js} +9 -9
- package/dist/{ConfirmAccount-B6uf6Hqp.js.map → ConfirmAccount-yxhIaEuY.js.map} +1 -1
- package/dist/{ContentHeader-DfbK4Btn.js → ContentHeader-DEEEVdU1.js} +3 -3
- package/dist/{ContentHeader-DfbK4Btn.js.map → ContentHeader-DEEEVdU1.js.map} +1 -1
- package/dist/{Error-DAE-qsdG.js → Error-BQWTujuf.js} +5 -5
- package/dist/{Error-DAE-qsdG.js.map → Error-BQWTujuf.js.map} +1 -1
- package/dist/{Input-8F3jbTLa.js → Input-DZtVDb-g.js} +4 -4
- package/dist/{Input-8F3jbTLa.js.map → Input-DZtVDb-g.js.map} +1 -1
- package/dist/{Label-CejSbeGa.js → Label-BlXNFlEg.js} +3 -3
- package/dist/{Label-CejSbeGa.js.map → Label-BlXNFlEg.js.map} +1 -1
- package/dist/{Loader-DvRyxHzS.js → Loader-CYTyaD5Q.js} +3 -3
- package/dist/{Loader-DvRyxHzS.js.map → Loader-CYTyaD5Q.js.map} +1 -1
- package/dist/{Login-Br2qUfMi.js → Login-2EuD58pX.js} +9 -9
- package/dist/{Login-Br2qUfMi.js.map → Login-2EuD58pX.js.map} +1 -1
- package/dist/{Logout-1KCh8M-4.js → Logout-23i6x_IY.js} +6 -6
- package/dist/{Logout-1KCh8M-4.js.map → Logout-23i6x_IY.js.map} +1 -1
- package/dist/{Nav-D-ieFwGe.js → Nav-s_f45WBl.js} +5 -5
- package/dist/{Nav-D-ieFwGe.js.map → Nav-s_f45WBl.js.map} +1 -1
- package/dist/{PassportId-D3P6-8OQ.js → PassportId-D34Mpkys.js} +7 -7
- package/dist/{PassportId-D3P6-8OQ.js.map → PassportId-D34Mpkys.js.map} +1 -1
- package/dist/{Payment-43aZq5oU.js → Payment-DTUr8B6Z.js} +11 -11
- package/dist/{Payment-43aZq5oU.js.map → Payment-DTUr8B6Z.js.map} +1 -1
- package/dist/{PaymentResult-C-4l9cee.js → PaymentResult-CjVw_qMT.js} +4 -4
- package/dist/{PaymentResult-C-4l9cee.js.map → PaymentResult-CjVw_qMT.js.map} +1 -1
- package/dist/{Profile-CpUs4W-I.js → Profile-BrK8JMPe.js} +7 -7
- package/dist/{Profile-CpUs4W-I.js.map → Profile-BrK8JMPe.js.map} +1 -1
- package/dist/{ProgressVideo-x7Aiq4kE.js → ProgressVideo-BPJ0n_bS.js} +6 -6
- package/dist/{ProgressVideo-x7Aiq4kE.js.map → ProgressVideo-BPJ0n_bS.js.map} +1 -1
- package/dist/{ProgressVideo.service-4qBL2Uoj.js → ProgressVideo.service-CNFQYBrU.js} +2 -2
- package/dist/{ProgressVideo.service-4qBL2Uoj.js.map → ProgressVideo.service-CNFQYBrU.js.map} +1 -1
- package/dist/{RichAlert-B_TRkN4S.js → RichAlert-BTBvPnl-.js} +5 -5
- package/dist/{RichAlert-B_TRkN4S.js.map → RichAlert-BTBvPnl-.js.map} +1 -1
- package/dist/{Scanner-BT6M48bA.js → Scanner-Ci6WuRAH.js} +7 -7
- package/dist/{Scanner-BT6M48bA.js.map → Scanner-Ci6WuRAH.js.map} +1 -1
- package/dist/{SendTokens-rl-b6Dy_.js → SendTokens-B_P4ttKI.js} +7 -7
- package/dist/{SendTokens-rl-b6Dy_.js.map → SendTokens-B_P4ttKI.js.map} +1 -1
- package/dist/{Sign-DmOxX0k9.js → Sign-DeyX7zQV.js} +7 -7
- package/dist/{Sign-DmOxX0k9.js.map → Sign-DeyX7zQV.js.map} +1 -1
- package/dist/{Stripe.service-S_yB9iSY.js → Stripe.service-CkjagyRm.js} +3 -3
- package/dist/{Stripe.service-S_yB9iSY.js.map → Stripe.service-CkjagyRm.js.map} +1 -1
- package/dist/{UpdateProfile-B13uUv8f.js → UpdateProfile-2Rk57DEr.js} +10 -10
- package/dist/{UpdateProfile-B13uUv8f.js.map → UpdateProfile-2Rk57DEr.js.map} +1 -1
- package/dist/{UserInfo-Bkai_miq.js → UserInfo-CXbgHvBy.js} +4 -4
- package/dist/{UserInfo-Bkai_miq.js.map → UserInfo-CXbgHvBy.js.map} +1 -1
- package/dist/{Wallet-CP-oKIY0.js → Wallet-BGzcpzoe.js} +8 -8
- package/dist/{Wallet-CP-oKIY0.js.map → Wallet-BGzcpzoe.js.map} +1 -1
- package/dist/{each-91breOGe.js → each-BZ-OcbLT.js} +2 -2
- package/dist/{each-91breOGe.js.map → each-BZ-OcbLT.js.map} +1 -1
- package/dist/{html-BrZjXjPt.js → html-CTtp1KP9.js} +3 -3
- package/dist/{html-BrZjXjPt.js.map → html-CTtp1KP9.js.map} +1 -1
- package/dist/{index-DRZZK1eB.js → index-Gs5EZ6VP.js} +7926 -7926
- package/dist/index-Gs5EZ6VP.js.map +1 -0
- package/dist/{index-client-DciWmHDv.js → index-client-BAaDltqw.js} +2 -2
- package/dist/{index-client-DciWmHDv.js.map → index-client-BAaDltqw.js.map} +1 -1
- package/dist/{input-Cu8MpFOR.js → input-BkRWsbst.js} +2 -2
- package/dist/{input-Cu8MpFOR.js.map → input-BkRWsbst.js.map} +1 -1
- package/dist/{legacy-V5eP7bJA.js → legacy-CgTG0fzr.js} +2 -2
- package/dist/{legacy-V5eP7bJA.js.map → legacy-CgTG0fzr.js.map} +1 -1
- package/dist/passport.es.js +1 -1
- package/dist/passport.umd.js +82 -82
- package/dist/passport.umd.js.map +1 -1
- package/dist/{socket-io-lyXpKbjF.js → socket-io-BbfgVEmD.js} +2 -2
- package/dist/{socket-io-lyXpKbjF.js.map → socket-io-BbfgVEmD.js.map} +1 -1
- package/package.json +4 -1
- package/dist/index-DRZZK1eB.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as t, bF as e, aF as l, G as a, aV as u } from "./index-
|
|
1
|
+
import { n as t, bF as e, aF as l, G as a, aV as u } from "./index-Gs5EZ6VP.js";
|
|
2
2
|
function c(n) {
|
|
3
3
|
t === null && e(), u && t.l !== null ? s(t).m.push(n) : l(() => {
|
|
4
4
|
const o = a(n);
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
c as a,
|
|
23
23
|
i as o
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=index-client-
|
|
25
|
+
//# sourceMappingURL=index-client-BAaDltqw.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-client-
|
|
1
|
+
{"version":3,"file":"index-client-BAaDltqw.js","sources":["../../../node_modules/.pnpm/svelte@5.38.3/node_modules/svelte/src/index-client.js"],"sourcesContent":["/** @import { ComponentContext, ComponentContextLegacy } from '#client' */\n/** @import { EventDispatcher } from './index.js' */\n/** @import { NotFunction } from './internal/types.js' */\nimport { active_reaction, untrack } from './internal/client/runtime.js';\nimport { is_array } from './internal/shared/utils.js';\nimport { user_effect } from './internal/client/index.js';\nimport * as e from './internal/client/errors.js';\nimport { legacy_mode_flag } from './internal/flags/index.js';\nimport { component_context } from './internal/client/context.js';\nimport { DEV } from 'esm-env';\n\nif (DEV) {\n\t/**\n\t * @param {string} rune\n\t */\n\tfunction throw_rune_error(rune) {\n\t\tif (!(rune in globalThis)) {\n\t\t\t// TODO if people start adjusting the \"this can contain runes\" config through v-p-s more, adjust this message\n\t\t\t/** @type {any} */\n\t\t\tlet value; // let's hope noone modifies this global, but belts and braces\n\t\t\tObject.defineProperty(globalThis, rune, {\n\t\t\t\tconfigurable: true,\n\t\t\t\t// eslint-disable-next-line getter-return\n\t\t\t\tget: () => {\n\t\t\t\t\tif (value !== undefined) {\n\t\t\t\t\t\treturn value;\n\t\t\t\t\t}\n\n\t\t\t\t\te.rune_outside_svelte(rune);\n\t\t\t\t},\n\t\t\t\tset: (v) => {\n\t\t\t\t\tvalue = v;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tthrow_rune_error('$state');\n\tthrow_rune_error('$effect');\n\tthrow_rune_error('$derived');\n\tthrow_rune_error('$inspect');\n\tthrow_rune_error('$props');\n\tthrow_rune_error('$bindable');\n}\n\n/**\n * Returns an [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) that aborts when the current [derived](https://svelte.dev/docs/svelte/$derived) or [effect](https://svelte.dev/docs/svelte/$effect) re-runs or is destroyed.\n *\n * Must be called while a derived or effect is running.\n *\n * ```svelte\n * <script>\n * \timport { getAbortSignal } from 'svelte';\n *\n * \tlet { id } = $props();\n *\n * \tasync function getData(id) {\n * \t\tconst response = await fetch(`/items/${id}`, {\n * \t\t\tsignal: getAbortSignal()\n * \t\t});\n *\n * \t\treturn await response.json();\n * \t}\n *\n * \tconst data = $derived(await getData(id));\n * </script>\n * ```\n */\nexport function getAbortSignal() {\n\tif (active_reaction === null) {\n\t\te.get_abort_signal_outside_reaction();\n\t}\n\n\treturn (active_reaction.ac ??= new AbortController()).signal;\n}\n\n/**\n * `onMount`, like [`$effect`](https://svelte.dev/docs/svelte/$effect), schedules a function to run as soon as the component has been mounted to the DOM.\n * Unlike `$effect`, the provided function only runs once.\n *\n * It must be called during the component's initialisation (but doesn't need to live _inside_ the component;\n * it can be called from an external module). If a function is returned _synchronously_ from `onMount`,\n * it will be called when the component is unmounted.\n *\n * `onMount` functions do not run during [server-side rendering](https://svelte.dev/docs/svelte/svelte-server#render).\n *\n * @template T\n * @param {() => NotFunction<T> | Promise<NotFunction<T>> | (() => any)} fn\n * @returns {void}\n */\nexport function onMount(fn) {\n\tif (component_context === null) {\n\t\te.lifecycle_outside_component('onMount');\n\t}\n\n\tif (legacy_mode_flag && component_context.l !== null) {\n\t\tinit_update_callbacks(component_context).m.push(fn);\n\t} else {\n\t\tuser_effect(() => {\n\t\t\tconst cleanup = untrack(fn);\n\t\t\tif (typeof cleanup === 'function') return /** @type {() => void} */ (cleanup);\n\t\t});\n\t}\n}\n\n/**\n * Schedules a callback to run immediately before the component is unmounted.\n *\n * Out of `onMount`, `beforeUpdate`, `afterUpdate` and `onDestroy`, this is the\n * only one that runs inside a server-side component.\n *\n * @param {() => any} fn\n * @returns {void}\n */\nexport function onDestroy(fn) {\n\tif (component_context === null) {\n\t\te.lifecycle_outside_component('onDestroy');\n\t}\n\n\tonMount(() => () => untrack(fn));\n}\n\n/**\n * @template [T=any]\n * @param {string} type\n * @param {T} [detail]\n * @param {any}params_0\n * @returns {CustomEvent<T>}\n */\nfunction create_custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {\n\treturn new CustomEvent(type, { detail, bubbles, cancelable });\n}\n\n/**\n * Creates an event dispatcher that can be used to dispatch [component events](https://svelte.dev/docs/svelte/legacy-on#Component-events).\n * Event dispatchers are functions that can take two arguments: `name` and `detail`.\n *\n * Component events created with `createEventDispatcher` create a\n * [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent).\n * These events do not [bubble](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#Event_bubbling_and_capture).\n * The `detail` argument corresponds to the [CustomEvent.detail](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/detail)\n * property and can contain any type of data.\n *\n * The event dispatcher can be typed to narrow the allowed event names and the type of the `detail` argument:\n * ```ts\n * const dispatch = createEventDispatcher<{\n * loaded: null; // does not take a detail argument\n * change: string; // takes a detail argument of type string, which is required\n * optional: number | null; // takes an optional detail argument of type number\n * }>();\n * ```\n *\n * @deprecated Use callback props and/or the `$host()` rune instead — see [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Event-changes-Component-events)\n * @template {Record<string, any>} [EventMap = any]\n * @returns {EventDispatcher<EventMap>}\n */\nexport function createEventDispatcher() {\n\tconst active_component_context = component_context;\n\tif (active_component_context === null) {\n\t\te.lifecycle_outside_component('createEventDispatcher');\n\t}\n\n\t/**\n\t * @param [detail]\n\t * @param [options]\n\t */\n\treturn (type, detail, options) => {\n\t\tconst events = /** @type {Record<string, Function | Function[]>} */ (\n\t\t\tactive_component_context.s.$$events\n\t\t)?.[/** @type {string} */ (type)];\n\n\t\tif (events) {\n\t\t\tconst callbacks = is_array(events) ? events.slice() : [events];\n\t\t\t// TODO are there situations where events could be dispatched\n\t\t\t// in a server (non-DOM) environment?\n\t\t\tconst event = create_custom_event(/** @type {string} */ (type), detail, options);\n\t\t\tfor (const fn of callbacks) {\n\t\t\t\tfn.call(active_component_context.x, event);\n\t\t\t}\n\t\t\treturn !event.defaultPrevented;\n\t\t}\n\n\t\treturn true;\n\t};\n}\n\n// TODO mark beforeUpdate and afterUpdate as deprecated in Svelte 6\n\n/**\n * Schedules a callback to run immediately before the component is updated after any state change.\n *\n * The first time the callback runs will be before the initial `onMount`.\n *\n * In runes mode use `$effect.pre` instead.\n *\n * @deprecated Use [`$effect.pre`](https://svelte.dev/docs/svelte/$effect#$effect.pre) instead\n * @param {() => void} fn\n * @returns {void}\n */\nexport function beforeUpdate(fn) {\n\tif (component_context === null) {\n\t\te.lifecycle_outside_component('beforeUpdate');\n\t}\n\n\tif (component_context.l === null) {\n\t\te.lifecycle_legacy_only('beforeUpdate');\n\t}\n\n\tinit_update_callbacks(component_context).b.push(fn);\n}\n\n/**\n * Schedules a callback to run immediately after the component has been updated.\n *\n * The first time the callback runs will be after the initial `onMount`.\n *\n * In runes mode use `$effect` instead.\n *\n * @deprecated Use [`$effect`](https://svelte.dev/docs/svelte/$effect) instead\n * @param {() => void} fn\n * @returns {void}\n */\nexport function afterUpdate(fn) {\n\tif (component_context === null) {\n\t\te.lifecycle_outside_component('afterUpdate');\n\t}\n\n\tif (component_context.l === null) {\n\t\te.lifecycle_legacy_only('afterUpdate');\n\t}\n\n\tinit_update_callbacks(component_context).a.push(fn);\n}\n\n/**\n * Legacy-mode: Init callbacks object for onMount/beforeUpdate/afterUpdate\n * @param {ComponentContext} context\n */\nfunction init_update_callbacks(context) {\n\tvar l = /** @type {ComponentContextLegacy} */ (context).l;\n\treturn (l.u ??= { a: [], b: [], m: [] });\n}\n\nexport { flushSync } from './internal/client/reactivity/batch.js';\nexport { getContext, getAllContexts, hasContext, setContext } from './internal/client/context.js';\nexport { hydrate, mount, unmount } from './internal/client/render.js';\nexport { tick, untrack, settled } from './internal/client/runtime.js';\nexport { createRawSnippet } from './internal/client/dom/blocks/snippet.js';\n"],"names":["onMount","fn","component_context","e.lifecycle_outside_component","legacy_mode_flag","init_update_callbacks","user_effect","cleanup","untrack","onDestroy","context","l"],"mappings":";AA0FO,SAASA,EAAQC,GAAI;AAC3B,EAAIC,MAAsB,QACzBC,EAAuC,GAGpCC,KAAoBF,EAAkB,MAAM,OAC/CG,EAAsBH,CAAiB,EAAE,EAAE,KAAKD,CAAE,IAElDK,EAAY,MAAM;AACjB,UAAMC,IAAUC,EAAQP,CAAE;AAC1B,QAAI,OAAOM,KAAY,WAAY;AAAA;AAAA,MAAkCA;AAAA;AAAA,EACtE,CAAC;AAEH;AAWO,SAASE,EAAUR,GAAI;AAC7B,EAAIC,MAAsB,QACzBC,EAAyC,GAG1CH,EAAQ,MAAM,MAAMQ,EAAQP,CAAE,CAAC;AAChC;AAsHA,SAASI,EAAsBK,GAAS;AACvC,MAAIC;AAAA;AAAA,IAA2CD,EAAS;AAAA;AACxD,SAAQC,EAAE,MAAM,EAAE,GAAG,CAAA,GAAI,GAAG,CAAA,GAAI,GAAG,GAAC;AACrC;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as d, bh as _, ap as v, h as b, G as h, bi as i, bj as m } from "./index-
|
|
1
|
+
import { i as d, bh as _, ap as v, h as b, G as h, bi as i, bj as m } from "./index-Gs5EZ6VP.js";
|
|
2
2
|
function k(e, r, u = r) {
|
|
3
3
|
var c = d(), n = /* @__PURE__ */ new WeakSet();
|
|
4
4
|
_(e, "input", (l) => {
|
|
@@ -34,4 +34,4 @@ function t(e) {
|
|
|
34
34
|
export {
|
|
35
35
|
k as b
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=input-
|
|
37
|
+
//# sourceMappingURL=input-BkRWsbst.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-Cu8MpFOR.js","sources":["../../../node_modules/.pnpm/svelte@5.38.3/node_modules/svelte/src/internal/client/dom/elements/bindings/input.js"],"sourcesContent":["/** @import { Batch } from '../../../reactivity/batch.js' */\nimport { DEV } from 'esm-env';\nimport { render_effect, teardown } from '../../../reactivity/effects.js';\nimport { listen_to_event_and_reset_event } from './shared.js';\nimport * as e from '../../../errors.js';\nimport { is } from '../../../proxy.js';\nimport { queue_micro_task } from '../../task.js';\nimport { hydrating } from '../../hydration.js';\nimport { untrack } from '../../../runtime.js';\nimport { is_runes } from '../../../context.js';\nimport { current_batch, previous_batch } from '../../../reactivity/batch.js';\n\n/**\n * @param {HTMLInputElement} input\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_value(input, get, set = get) {\n\tvar runes = is_runes();\n\n\tvar batches = new WeakSet();\n\n\tlisten_to_event_and_reset_event(input, 'input', (is_reset) => {\n\t\tif (DEV && input.type === 'checkbox') {\n\t\t\t// TODO should this happen in prod too?\n\t\t\te.bind_invalid_checkbox_value();\n\t\t}\n\n\t\t/** @type {any} */\n\t\tvar value = is_reset ? input.defaultValue : input.value;\n\t\tvalue = is_numberlike_input(input) ? to_number(value) : value;\n\t\tset(value);\n\n\t\tif (current_batch !== null) {\n\t\t\tbatches.add(current_batch);\n\t\t}\n\n\t\t// In runes mode, respect any validation in accessors (doesn't apply in legacy mode,\n\t\t// because we use mutable state which ensures the render effect always runs)\n\t\tif (runes && value !== (value = get())) {\n\t\t\tvar start = input.selectionStart;\n\t\t\tvar end = input.selectionEnd;\n\n\t\t\t// the value is coerced on assignment\n\t\t\tinput.value = value ?? '';\n\n\t\t\t// Restore selection\n\t\t\tif (end !== null) {\n\t\t\t\tinput.selectionStart = start;\n\t\t\t\tinput.selectionEnd = Math.min(end, input.value.length);\n\t\t\t}\n\t\t}\n\t});\n\n\tif (\n\t\t// If we are hydrating and the value has since changed,\n\t\t// then use the updated value from the input instead.\n\t\t(hydrating && input.defaultValue !== input.value) ||\n\t\t// If defaultValue is set, then value == defaultValue\n\t\t// TODO Svelte 6: remove input.value check and set to empty string?\n\t\t(untrack(get) == null && input.value)\n\t) {\n\t\tset(is_numberlike_input(input) ? to_number(input.value) : input.value);\n\n\t\tif (current_batch !== null) {\n\t\t\tbatches.add(current_batch);\n\t\t}\n\t}\n\n\trender_effect(() => {\n\t\tif (DEV && input.type === 'checkbox') {\n\t\t\t// TODO should this happen in prod too?\n\t\t\te.bind_invalid_checkbox_value();\n\t\t}\n\n\t\tvar value = get();\n\n\t\tif (input === document.activeElement) {\n\t\t\t// we need both, because in non-async mode, render effects run before previous_batch is set\n\t\t\tvar batch = /** @type {Batch} */ (previous_batch ?? current_batch);\n\n\t\t\t// Never rewrite the contents of a focused input. We can get here if, for example,\n\t\t\t// an update is deferred because of async work depending on the input:\n\t\t\t//\n\t\t\t// <input bind:value={query}>\n\t\t\t// <p>{await find(query)}</p>\n\t\t\tif (batches.has(batch)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tif (is_numberlike_input(input) && value === to_number(input.value)) {\n\t\t\t// handles 0 vs 00 case (see https://github.com/sveltejs/svelte/issues/9959)\n\t\t\treturn;\n\t\t}\n\n\t\tif (input.type === 'date' && !value && !input.value) {\n\t\t\t// Handles the case where a temporarily invalid date is set (while typing, for example with a leading 0 for the day)\n\t\t\t// and prevents this state from clearing the other parts of the date input (see https://github.com/sveltejs/svelte/issues/7897)\n\t\t\treturn;\n\t\t}\n\n\t\t// don't set the value of the input if it's the same to allow\n\t\t// minlength to work properly\n\t\tif (value !== input.value) {\n\t\t\t// @ts-expect-error the value is coerced on assignment\n\t\t\tinput.value = value ?? '';\n\t\t}\n\t});\n}\n\n/** @type {Set<HTMLInputElement[]>} */\nconst pending = new Set();\n\n/**\n * @param {HTMLInputElement[]} inputs\n * @param {null | [number]} group_index\n * @param {HTMLInputElement} input\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_group(inputs, group_index, input, get, set = get) {\n\tvar is_checkbox = input.getAttribute('type') === 'checkbox';\n\tvar binding_group = inputs;\n\n\t// needs to be let or related code isn't treeshaken out if it's always false\n\tlet hydration_mismatch = false;\n\n\tif (group_index !== null) {\n\t\tfor (var index of group_index) {\n\t\t\t// @ts-expect-error\n\t\t\tbinding_group = binding_group[index] ??= [];\n\t\t}\n\t}\n\n\tbinding_group.push(input);\n\n\tlisten_to_event_and_reset_event(\n\t\tinput,\n\t\t'change',\n\t\t() => {\n\t\t\t// @ts-ignore\n\t\t\tvar value = input.__value;\n\n\t\t\tif (is_checkbox) {\n\t\t\t\tvalue = get_binding_group_value(binding_group, value, input.checked);\n\t\t\t}\n\n\t\t\tset(value);\n\t\t},\n\t\t// TODO better default value handling\n\t\t() => set(is_checkbox ? [] : null)\n\t);\n\n\trender_effect(() => {\n\t\tvar value = get();\n\n\t\t// If we are hydrating and the value has since changed, then use the update value\n\t\t// from the input instead.\n\t\tif (hydrating && input.defaultChecked !== input.checked) {\n\t\t\thydration_mismatch = true;\n\t\t\treturn;\n\t\t}\n\n\t\tif (is_checkbox) {\n\t\t\tvalue = value || [];\n\t\t\t// @ts-ignore\n\t\t\tinput.checked = value.includes(input.__value);\n\t\t} else {\n\t\t\t// @ts-ignore\n\t\t\tinput.checked = is(input.__value, value);\n\t\t}\n\t});\n\n\tteardown(() => {\n\t\tvar index = binding_group.indexOf(input);\n\n\t\tif (index !== -1) {\n\t\t\tbinding_group.splice(index, 1);\n\t\t}\n\t});\n\n\tif (!pending.has(binding_group)) {\n\t\tpending.add(binding_group);\n\n\t\tqueue_micro_task(() => {\n\t\t\t// necessary to maintain binding group order in all insertion scenarios\n\t\t\tbinding_group.sort((a, b) => (a.compareDocumentPosition(b) === 4 ? -1 : 1));\n\t\t\tpending.delete(binding_group);\n\t\t});\n\t}\n\n\tqueue_micro_task(() => {\n\t\tif (hydration_mismatch) {\n\t\t\tvar value;\n\n\t\t\tif (is_checkbox) {\n\t\t\t\tvalue = get_binding_group_value(binding_group, value, input.checked);\n\t\t\t} else {\n\t\t\t\tvar hydration_input = binding_group.find((input) => input.checked);\n\t\t\t\t// @ts-ignore\n\t\t\t\tvalue = hydration_input?.__value;\n\t\t\t}\n\n\t\t\tset(value);\n\t\t}\n\t});\n}\n\n/**\n * @param {HTMLInputElement} input\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_checked(input, get, set = get) {\n\tlisten_to_event_and_reset_event(input, 'change', (is_reset) => {\n\t\tvar value = is_reset ? input.defaultChecked : input.checked;\n\t\tset(value);\n\t});\n\n\tif (\n\t\t// If we are hydrating and the value has since changed,\n\t\t// then use the update value from the input instead.\n\t\t(hydrating && input.defaultChecked !== input.checked) ||\n\t\t// If defaultChecked is set, then checked == defaultChecked\n\t\tuntrack(get) == null\n\t) {\n\t\tset(input.checked);\n\t}\n\n\trender_effect(() => {\n\t\tvar value = get();\n\t\tinput.checked = Boolean(value);\n\t});\n}\n\n/**\n * @template V\n * @param {Array<HTMLInputElement>} group\n * @param {V} __value\n * @param {boolean} checked\n * @returns {V[]}\n */\nfunction get_binding_group_value(group, __value, checked) {\n\t/** @type {Set<V>} */\n\tvar value = new Set();\n\n\tfor (var i = 0; i < group.length; i += 1) {\n\t\tif (group[i].checked) {\n\t\t\t// @ts-ignore\n\t\t\tvalue.add(group[i].__value);\n\t\t}\n\t}\n\n\tif (!checked) {\n\t\tvalue.delete(__value);\n\t}\n\n\treturn Array.from(value);\n}\n\n/**\n * @param {HTMLInputElement} input\n */\nfunction is_numberlike_input(input) {\n\tvar type = input.type;\n\treturn type === 'number' || type === 'range';\n}\n\n/**\n * @param {string} value\n */\nfunction to_number(value) {\n\treturn value === '' ? null : +value;\n}\n\n/**\n * @param {HTMLInputElement} input\n * @param {() => FileList | null} get\n * @param {(value: FileList | null) => void} set\n */\nexport function bind_files(input, get, set = get) {\n\tlisten_to_event_and_reset_event(input, 'change', () => {\n\t\tset(input.files);\n\t});\n\n\tif (\n\t\t// If we are hydrating and the value has since changed,\n\t\t// then use the updated value from the input instead.\n\t\thydrating &&\n\t\tinput.files\n\t) {\n\t\tset(input.files);\n\t}\n\n\trender_effect(() => {\n\t\tinput.files = get();\n\t});\n}\n"],"names":["bind_value","input","get","set","runes","is_runes","batches","listen_to_event_and_reset_event","is_reset","value","is_numberlike_input","to_number","current_batch","start","end","hydrating","untrack","render_effect","batch","previous_batch","type"],"mappings":";AAkBO,SAASA,EAAWC,GAAOC,GAAKC,IAAMD,GAAK;AACjD,MAAIE,IAAQC,EAAQ,GAEhBC,IAAU,oBAAI,QAAO;AAEzB,EAAAC,EAAgCN,GAAO,SAAS,CAACO,MAAa;AAO7D,QAAIC,IAAQD,IAAWP,EAAM,eAAeA,EAAM;AAUlD,QATAQ,IAAQC,EAAoBT,CAAK,IAAIU,EAAUF,CAAK,IAAIA,GACxDN,EAAIM,CAAK,GAELG,MAAkB,QACrBN,EAAQ,IAAIM,CAAa,GAKtBR,KAASK,OAAWA,IAAQP,EAAG,IAAK;AACvC,UAAIW,IAAQZ,EAAM,gBACda,IAAMb,EAAM;AAGhB,MAAAA,EAAM,QAAQQ,KAAS,IAGnBK,MAAQ,SACXb,EAAM,iBAAiBY,GACvBZ,EAAM,eAAe,KAAK,IAAIa,GAAKb,EAAM,MAAM,MAAM;AAAA,IAEvD;AAAA,EACD,CAAC;AAAA;AAAA,GAKCc,KAAad,EAAM,iBAAiBA,EAAM;AAAA;AAAA,EAG1Ce,EAAQd,CAAG,KAAK,QAAQD,EAAM,WAE/BE,EAAIO,EAAoBT,CAAK,IAAIU,EAAUV,EAAM,KAAK,IAAIA,EAAM,KAAK,GAEjEW,MAAkB,QACrBN,EAAQ,IAAIM,CAAa,IAI3BK,EAAc,MAAM;AAMnB,QAAIR,IAAQP,EAAG;AAEf,QAAID,MAAU,SAAS,eAAe;AAErC,UAAIiB;AAAA;AAAA,QAA8BC,KAAkBP;AAAA;AAOpD,UAAIN,EAAQ,IAAIY,CAAK;AACpB;AAAA,IAEF;AAEA,IAAIR,EAAoBT,CAAK,KAAKQ,MAAUE,EAAUV,EAAM,KAAK,KAK7DA,EAAM,SAAS,UAAU,CAACQ,KAAS,CAACR,EAAM,SAQ1CQ,MAAUR,EAAM,UAEnBA,EAAM,QAAQQ,KAAS;AAAA,EAEzB,CAAC;AACF;AA6JA,SAASC,EAAoBT,GAAO;AACnC,MAAImB,IAAOnB,EAAM;AACjB,SAAOmB,MAAS,YAAYA,MAAS;AACtC;AAKA,SAAST,EAAUF,GAAO;AACzB,SAAOA,MAAU,KAAK,OAAO,CAACA;AAC/B;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"input-BkRWsbst.js","sources":["../../../node_modules/.pnpm/svelte@5.38.3/node_modules/svelte/src/internal/client/dom/elements/bindings/input.js"],"sourcesContent":["/** @import { Batch } from '../../../reactivity/batch.js' */\nimport { DEV } from 'esm-env';\nimport { render_effect, teardown } from '../../../reactivity/effects.js';\nimport { listen_to_event_and_reset_event } from './shared.js';\nimport * as e from '../../../errors.js';\nimport { is } from '../../../proxy.js';\nimport { queue_micro_task } from '../../task.js';\nimport { hydrating } from '../../hydration.js';\nimport { untrack } from '../../../runtime.js';\nimport { is_runes } from '../../../context.js';\nimport { current_batch, previous_batch } from '../../../reactivity/batch.js';\n\n/**\n * @param {HTMLInputElement} input\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_value(input, get, set = get) {\n\tvar runes = is_runes();\n\n\tvar batches = new WeakSet();\n\n\tlisten_to_event_and_reset_event(input, 'input', (is_reset) => {\n\t\tif (DEV && input.type === 'checkbox') {\n\t\t\t// TODO should this happen in prod too?\n\t\t\te.bind_invalid_checkbox_value();\n\t\t}\n\n\t\t/** @type {any} */\n\t\tvar value = is_reset ? input.defaultValue : input.value;\n\t\tvalue = is_numberlike_input(input) ? to_number(value) : value;\n\t\tset(value);\n\n\t\tif (current_batch !== null) {\n\t\t\tbatches.add(current_batch);\n\t\t}\n\n\t\t// In runes mode, respect any validation in accessors (doesn't apply in legacy mode,\n\t\t// because we use mutable state which ensures the render effect always runs)\n\t\tif (runes && value !== (value = get())) {\n\t\t\tvar start = input.selectionStart;\n\t\t\tvar end = input.selectionEnd;\n\n\t\t\t// the value is coerced on assignment\n\t\t\tinput.value = value ?? '';\n\n\t\t\t// Restore selection\n\t\t\tif (end !== null) {\n\t\t\t\tinput.selectionStart = start;\n\t\t\t\tinput.selectionEnd = Math.min(end, input.value.length);\n\t\t\t}\n\t\t}\n\t});\n\n\tif (\n\t\t// If we are hydrating and the value has since changed,\n\t\t// then use the updated value from the input instead.\n\t\t(hydrating && input.defaultValue !== input.value) ||\n\t\t// If defaultValue is set, then value == defaultValue\n\t\t// TODO Svelte 6: remove input.value check and set to empty string?\n\t\t(untrack(get) == null && input.value)\n\t) {\n\t\tset(is_numberlike_input(input) ? to_number(input.value) : input.value);\n\n\t\tif (current_batch !== null) {\n\t\t\tbatches.add(current_batch);\n\t\t}\n\t}\n\n\trender_effect(() => {\n\t\tif (DEV && input.type === 'checkbox') {\n\t\t\t// TODO should this happen in prod too?\n\t\t\te.bind_invalid_checkbox_value();\n\t\t}\n\n\t\tvar value = get();\n\n\t\tif (input === document.activeElement) {\n\t\t\t// we need both, because in non-async mode, render effects run before previous_batch is set\n\t\t\tvar batch = /** @type {Batch} */ (previous_batch ?? current_batch);\n\n\t\t\t// Never rewrite the contents of a focused input. We can get here if, for example,\n\t\t\t// an update is deferred because of async work depending on the input:\n\t\t\t//\n\t\t\t// <input bind:value={query}>\n\t\t\t// <p>{await find(query)}</p>\n\t\t\tif (batches.has(batch)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tif (is_numberlike_input(input) && value === to_number(input.value)) {\n\t\t\t// handles 0 vs 00 case (see https://github.com/sveltejs/svelte/issues/9959)\n\t\t\treturn;\n\t\t}\n\n\t\tif (input.type === 'date' && !value && !input.value) {\n\t\t\t// Handles the case where a temporarily invalid date is set (while typing, for example with a leading 0 for the day)\n\t\t\t// and prevents this state from clearing the other parts of the date input (see https://github.com/sveltejs/svelte/issues/7897)\n\t\t\treturn;\n\t\t}\n\n\t\t// don't set the value of the input if it's the same to allow\n\t\t// minlength to work properly\n\t\tif (value !== input.value) {\n\t\t\t// @ts-expect-error the value is coerced on assignment\n\t\t\tinput.value = value ?? '';\n\t\t}\n\t});\n}\n\n/** @type {Set<HTMLInputElement[]>} */\nconst pending = new Set();\n\n/**\n * @param {HTMLInputElement[]} inputs\n * @param {null | [number]} group_index\n * @param {HTMLInputElement} input\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_group(inputs, group_index, input, get, set = get) {\n\tvar is_checkbox = input.getAttribute('type') === 'checkbox';\n\tvar binding_group = inputs;\n\n\t// needs to be let or related code isn't treeshaken out if it's always false\n\tlet hydration_mismatch = false;\n\n\tif (group_index !== null) {\n\t\tfor (var index of group_index) {\n\t\t\t// @ts-expect-error\n\t\t\tbinding_group = binding_group[index] ??= [];\n\t\t}\n\t}\n\n\tbinding_group.push(input);\n\n\tlisten_to_event_and_reset_event(\n\t\tinput,\n\t\t'change',\n\t\t() => {\n\t\t\t// @ts-ignore\n\t\t\tvar value = input.__value;\n\n\t\t\tif (is_checkbox) {\n\t\t\t\tvalue = get_binding_group_value(binding_group, value, input.checked);\n\t\t\t}\n\n\t\t\tset(value);\n\t\t},\n\t\t// TODO better default value handling\n\t\t() => set(is_checkbox ? [] : null)\n\t);\n\n\trender_effect(() => {\n\t\tvar value = get();\n\n\t\t// If we are hydrating and the value has since changed, then use the update value\n\t\t// from the input instead.\n\t\tif (hydrating && input.defaultChecked !== input.checked) {\n\t\t\thydration_mismatch = true;\n\t\t\treturn;\n\t\t}\n\n\t\tif (is_checkbox) {\n\t\t\tvalue = value || [];\n\t\t\t// @ts-ignore\n\t\t\tinput.checked = value.includes(input.__value);\n\t\t} else {\n\t\t\t// @ts-ignore\n\t\t\tinput.checked = is(input.__value, value);\n\t\t}\n\t});\n\n\tteardown(() => {\n\t\tvar index = binding_group.indexOf(input);\n\n\t\tif (index !== -1) {\n\t\t\tbinding_group.splice(index, 1);\n\t\t}\n\t});\n\n\tif (!pending.has(binding_group)) {\n\t\tpending.add(binding_group);\n\n\t\tqueue_micro_task(() => {\n\t\t\t// necessary to maintain binding group order in all insertion scenarios\n\t\t\tbinding_group.sort((a, b) => (a.compareDocumentPosition(b) === 4 ? -1 : 1));\n\t\t\tpending.delete(binding_group);\n\t\t});\n\t}\n\n\tqueue_micro_task(() => {\n\t\tif (hydration_mismatch) {\n\t\t\tvar value;\n\n\t\t\tif (is_checkbox) {\n\t\t\t\tvalue = get_binding_group_value(binding_group, value, input.checked);\n\t\t\t} else {\n\t\t\t\tvar hydration_input = binding_group.find((input) => input.checked);\n\t\t\t\t// @ts-ignore\n\t\t\t\tvalue = hydration_input?.__value;\n\t\t\t}\n\n\t\t\tset(value);\n\t\t}\n\t});\n}\n\n/**\n * @param {HTMLInputElement} input\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_checked(input, get, set = get) {\n\tlisten_to_event_and_reset_event(input, 'change', (is_reset) => {\n\t\tvar value = is_reset ? input.defaultChecked : input.checked;\n\t\tset(value);\n\t});\n\n\tif (\n\t\t// If we are hydrating and the value has since changed,\n\t\t// then use the update value from the input instead.\n\t\t(hydrating && input.defaultChecked !== input.checked) ||\n\t\t// If defaultChecked is set, then checked == defaultChecked\n\t\tuntrack(get) == null\n\t) {\n\t\tset(input.checked);\n\t}\n\n\trender_effect(() => {\n\t\tvar value = get();\n\t\tinput.checked = Boolean(value);\n\t});\n}\n\n/**\n * @template V\n * @param {Array<HTMLInputElement>} group\n * @param {V} __value\n * @param {boolean} checked\n * @returns {V[]}\n */\nfunction get_binding_group_value(group, __value, checked) {\n\t/** @type {Set<V>} */\n\tvar value = new Set();\n\n\tfor (var i = 0; i < group.length; i += 1) {\n\t\tif (group[i].checked) {\n\t\t\t// @ts-ignore\n\t\t\tvalue.add(group[i].__value);\n\t\t}\n\t}\n\n\tif (!checked) {\n\t\tvalue.delete(__value);\n\t}\n\n\treturn Array.from(value);\n}\n\n/**\n * @param {HTMLInputElement} input\n */\nfunction is_numberlike_input(input) {\n\tvar type = input.type;\n\treturn type === 'number' || type === 'range';\n}\n\n/**\n * @param {string} value\n */\nfunction to_number(value) {\n\treturn value === '' ? null : +value;\n}\n\n/**\n * @param {HTMLInputElement} input\n * @param {() => FileList | null} get\n * @param {(value: FileList | null) => void} set\n */\nexport function bind_files(input, get, set = get) {\n\tlisten_to_event_and_reset_event(input, 'change', () => {\n\t\tset(input.files);\n\t});\n\n\tif (\n\t\t// If we are hydrating and the value has since changed,\n\t\t// then use the updated value from the input instead.\n\t\thydrating &&\n\t\tinput.files\n\t) {\n\t\tset(input.files);\n\t}\n\n\trender_effect(() => {\n\t\tinput.files = get();\n\t});\n}\n"],"names":["bind_value","input","get","set","runes","is_runes","batches","listen_to_event_and_reset_event","is_reset","value","is_numberlike_input","to_number","current_batch","start","end","hydrating","untrack","render_effect","batch","previous_batch","type"],"mappings":";AAkBO,SAASA,EAAWC,GAAOC,GAAKC,IAAMD,GAAK;AACjD,MAAIE,IAAQC,EAAQ,GAEhBC,IAAU,oBAAI,QAAO;AAEzB,EAAAC,EAAgCN,GAAO,SAAS,CAACO,MAAa;AAO7D,QAAIC,IAAQD,IAAWP,EAAM,eAAeA,EAAM;AAUlD,QATAQ,IAAQC,EAAoBT,CAAK,IAAIU,EAAUF,CAAK,IAAIA,GACxDN,EAAIM,CAAK,GAELG,MAAkB,QACrBN,EAAQ,IAAIM,CAAa,GAKtBR,KAASK,OAAWA,IAAQP,EAAG,IAAK;AACvC,UAAIW,IAAQZ,EAAM,gBACda,IAAMb,EAAM;AAGhB,MAAAA,EAAM,QAAQQ,KAAS,IAGnBK,MAAQ,SACXb,EAAM,iBAAiBY,GACvBZ,EAAM,eAAe,KAAK,IAAIa,GAAKb,EAAM,MAAM,MAAM;AAAA,IAEvD;AAAA,EACD,CAAC;AAAA;AAAA,GAKCc,KAAad,EAAM,iBAAiBA,EAAM;AAAA;AAAA,EAG1Ce,EAAQd,CAAG,KAAK,QAAQD,EAAM,WAE/BE,EAAIO,EAAoBT,CAAK,IAAIU,EAAUV,EAAM,KAAK,IAAIA,EAAM,KAAK,GAEjEW,MAAkB,QACrBN,EAAQ,IAAIM,CAAa,IAI3BK,EAAc,MAAM;AAMnB,QAAIR,IAAQP,EAAG;AAEf,QAAID,MAAU,SAAS,eAAe;AAErC,UAAIiB;AAAA;AAAA,QAA8BC,KAAkBP;AAAA;AAOpD,UAAIN,EAAQ,IAAIY,CAAK;AACpB;AAAA,IAEF;AAEA,IAAIR,EAAoBT,CAAK,KAAKQ,MAAUE,EAAUV,EAAM,KAAK,KAK7DA,EAAM,SAAS,UAAU,CAACQ,KAAS,CAACR,EAAM,SAQ1CQ,MAAUR,EAAM,UAEnBA,EAAM,QAAQQ,KAAS;AAAA,EAEzB,CAAC;AACF;AA6JA,SAASC,EAAoBT,GAAO;AACnC,MAAImB,IAAOnB,EAAM;AACjB,SAAOmB,MAAS,YAAYA,MAAS;AACtC;AAKA,SAAST,EAAUF,GAAO;AACzB,SAAOA,MAAU,KAAK,OAAO,CAACA;AAC/B;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a0 as x, q as Ue, a1 as Ve, a2 as ee, k as ae, j as V, a3 as he, a4 as Be, a5 as I, a6 as W, a7 as Ye, a8 as R, a9 as He, h as E, g as T, aa as ke, s as B, a as j, ab as Fe, ac as G, ad as se, ae as qe, af as We, ag as k, d as N, ah as Ge, ai as Ke, aj as ze, ak as Ze, al as Je, am as Xe, p as M, z as Qe, n as pe, y as xe, b as H, an as be, ao as er, H as rr, r as tr, ap as K, U as ge, aq as Ee, o as ar, t as ye, ar as re, as as z, at as sr, au as nr, av as ir, aw as fr, ax as ur, ay as or, az as lr, J as m, aA as cr, aB as dr, aC as vr, aD as _r, aE as hr, aF as ne, aG as ie, G as Ae, aH as pr, A as br, aI as Se, aJ as fe, m as Te, aK as gr, M as Er, I as te, aL as yr, aM as Ar, aN as Sr, K as Tr, f as wr, aO as ue, aP as we, aQ as mr, aR as Nr, aS as me, aT as Or, aU as Ir, aV as Lr, aW as Pr, aX as Rr, aY as Mr, u as $r, aZ as Cr } from "./index-
|
|
1
|
+
import { a0 as x, q as Ue, a1 as Ve, a2 as ee, k as ae, j as V, a3 as he, a4 as Be, a5 as I, a6 as W, a7 as Ye, a8 as R, a9 as He, h as E, g as T, aa as ke, s as B, a as j, ab as Fe, ac as G, ad as se, ae as qe, af as We, ag as k, d as N, ah as Ge, ai as Ke, aj as ze, ak as Ze, al as Je, am as Xe, p as M, z as Qe, n as pe, y as xe, b as H, an as be, ao as er, H as rr, r as tr, ap as K, U as ge, aq as Ee, o as ar, t as ye, ar as re, as as z, at as sr, au as nr, av as ir, aw as fr, ax as ur, ay as or, az as lr, J as m, aA as cr, aB as dr, aC as vr, aD as _r, aE as hr, aF as ne, aG as ie, G as Ae, aH as pr, A as br, aI as Se, aJ as fe, m as Te, aK as gr, M as Er, I as te, aL as yr, aM as Ar, aN as Sr, K as Tr, f as wr, aO as ue, aP as we, aQ as mr, aR as Nr, aS as me, aT as Or, aU as Ir, aV as Lr, aW as Pr, aX as Rr, aY as Mr, u as $r, aZ as Cr } from "./index-Gs5EZ6VP.js";
|
|
2
2
|
function Dr(e) {
|
|
3
3
|
return e.endsWith("capture") && e !== "gotpointercapture" && e !== "lostpointercapture";
|
|
4
4
|
}
|
|
@@ -1022,4 +1022,4 @@ export {
|
|
|
1022
1022
|
O as y,
|
|
1023
1023
|
Fr as z
|
|
1024
1024
|
};
|
|
1025
|
-
//# sourceMappingURL=legacy-
|
|
1025
|
+
//# sourceMappingURL=legacy-CgTG0fzr.js.map
|