tamagui 1.125.0 → 1.125.1

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.
@@ -2545,75 +2545,6 @@ var require_insertStyleRule_native = __commonJS({
2545
2545
  }
2546
2546
  });
2547
2547
 
2548
- // ../../core/use-did-finish-ssr/dist/cjs/index.native.js
2549
- var require_index_native11 = __commonJS({
2550
- "../../core/use-did-finish-ssr/dist/cjs/index.native.js"(exports2, module2) {
2551
- "use strict";
2552
- var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
2553
- for (var name in all) __defProp2(target, name, {
2554
- get: all[name],
2555
- enumerable: !0
2556
- });
2557
- }, __copyProps2 = function(to, from, except, desc) {
2558
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
2559
- if (from && typeof from == "object" || typeof from == "function") try {
2560
- for (var _loop = function() {
2561
- var key = _step.value;
2562
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
2563
- get: function() {
2564
- return from[key];
2565
- },
2566
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
2567
- });
2568
- }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
2569
- } catch (err) {
2570
- _didIteratorError = !0, _iteratorError = err;
2571
- } finally {
2572
- try {
2573
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
2574
- } finally {
2575
- if (_didIteratorError)
2576
- throw _iteratorError;
2577
- }
2578
- }
2579
- return to;
2580
- }, __toESM2 = function(mod, isNodeMode, target) {
2581
- return target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
2582
- // If the importer is in node compatibility mode or this is not an ESM
2583
- // file that has been converted to a CommonJS file using a Babel-
2584
- // compatible transform (i.e. "__esModule" has not been set), then set
2585
- // "default" to the CommonJS "module.exports" for node compatibility.
2586
- isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
2587
- value: mod,
2588
- enumerable: !0
2589
- }) : target,
2590
- mod
2591
- );
2592
- }, __toCommonJS2 = function(mod) {
2593
- return __copyProps2(__defProp2({}, "__esModule", {
2594
- value: !0
2595
- }), mod);
2596
- }, index_exports2 = {};
2597
- __export2(index_exports2, {
2598
- useClientValue: function() {
2599
- return useClientValue;
2600
- },
2601
- useDidFinishSSR: function() {
2602
- return useDidFinishSSR2;
2603
- }
2604
- });
2605
- module2.exports = __toCommonJS2(index_exports2);
2606
- var React4 = __toESM2(require("react"));
2607
- function useDidFinishSSR2(value) {
2608
- return value ?? !0;
2609
- }
2610
- function useClientValue(value) {
2611
- var done = useDidFinishSSR2();
2612
- return done ? typeof value == "function" ? value() : value : void 0;
2613
- }
2614
- }
2615
- });
2616
-
2617
2548
  // ../../core/web/dist/cjs/helpers/matchMedia.native.js
2618
2549
  var require_matchMedia_native = __commonJS({
2619
2550
  "../../core/web/dist/cjs/helpers/matchMedia.native.js"(exports2, module2) {
@@ -2783,62 +2714,11 @@ var require_pseudoDescriptors_native = __commonJS({
2783
2714
  }
2784
2715
  });
2785
2716
 
2786
- // ../../core/web/dist/cjs/hooks/useDisableSSR.native.js
2787
- var require_useDisableSSR_native = __commonJS({
2788
- "../../core/web/dist/cjs/hooks/useDisableSSR.native.js"(exports2, module2) {
2789
- "use strict";
2790
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
2791
- for (var name in all) __defProp2(target, name, {
2792
- get: all[name],
2793
- enumerable: !0
2794
- });
2795
- }, __copyProps2 = function(to, from, except, desc) {
2796
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
2797
- if (from && typeof from == "object" || typeof from == "function") try {
2798
- for (var _loop = function() {
2799
- var key = _step.value;
2800
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
2801
- get: function() {
2802
- return from[key];
2803
- },
2804
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
2805
- });
2806
- }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
2807
- } catch (err) {
2808
- _didIteratorError = !0, _iteratorError = err;
2809
- } finally {
2810
- try {
2811
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
2812
- } finally {
2813
- if (_didIteratorError)
2814
- throw _iteratorError;
2815
- }
2816
- }
2817
- return to;
2818
- }, __toCommonJS2 = function(mod) {
2819
- return __copyProps2(__defProp2({}, "__esModule", {
2820
- value: !0
2821
- }), mod);
2822
- }, useDisableSSR_exports = {};
2823
- __export2(useDisableSSR_exports, {
2824
- getDisableSSR: function() {
2825
- return getDisableSSR;
2826
- }
2827
- });
2828
- module2.exports = __toCommonJS2(useDisableSSR_exports);
2829
- var import_config = require_config_native();
2830
- function getDisableSSR(componentContext) {
2831
- var _componentContext_disableSSR;
2832
- return (_componentContext_disableSSR = componentContext == null ? void 0 : componentContext.disableSSR) !== null && _componentContext_disableSSR !== void 0 ? _componentContext_disableSSR : (0, import_config.getSetting)("disableSSR");
2833
- }
2834
- }
2835
- });
2836
-
2837
2717
  // ../../core/web/dist/cjs/hooks/useMedia.native.js
2838
2718
  var require_useMedia_native = __commonJS({
2839
2719
  "../../core/web/dist/cjs/hooks/useMedia.native.js"(exports2, module2) {
2840
2720
  "use strict";
2841
- var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
2721
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
2842
2722
  for (var name in all) __defProp2(target, name, {
2843
2723
  get: all[name],
2844
2724
  enumerable: !0
@@ -2866,18 +2746,6 @@ var require_useMedia_native = __commonJS({
2866
2746
  }
2867
2747
  }
2868
2748
  return to;
2869
- }, __toESM2 = function(mod, isNodeMode, target) {
2870
- return target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
2871
- // If the importer is in node compatibility mode or this is not an ESM
2872
- // file that has been converted to a CommonJS file using a Babel-
2873
- // compatible transform (i.e. "__esModule" has not been set), then set
2874
- // "default" to the CommonJS "module.exports" for node compatibility.
2875
- isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
2876
- value: mod,
2877
- enumerable: !0
2878
- }) : target,
2879
- mod
2880
- );
2881
2749
  }, __toCommonJS2 = function(mod) {
2882
2750
  return __copyProps2(__defProp2({}, "__esModule", {
2883
2751
  value: !0
@@ -2929,12 +2797,15 @@ var require_useMedia_native = __commonJS({
2929
2797
  setupMediaListeners: function() {
2930
2798
  return setupMediaListeners;
2931
2799
  },
2800
+ updateMediaListeners: function() {
2801
+ return updateMediaListeners;
2802
+ },
2932
2803
  useMedia: function() {
2933
2804
  return useMedia3;
2934
2805
  }
2935
2806
  });
2936
2807
  module2.exports = __toCommonJS2(useMedia_exports);
2937
- var import_constants4 = require_index_native6(), import_use_did_finish_ssr = require_index_native11(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_matchMedia = require_matchMedia_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_useDisableSSR = require_useDisableSSR_native(), mediaState3 = {}, mediaQueryConfig3 = {}, getMedia3 = function() {
2808
+ var import_constants4 = require_index_native6(), import_react3 = require("react"), import_config = require_config_native(), import_matchMedia = require_matchMedia_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), mediaState3 = {}, mediaQueryConfig3 = {}, getMedia3 = function() {
2938
2809
  return mediaState3;
2939
2810
  }, mediaKeys = /* @__PURE__ */ new Set(), mediaKeyRegex = /\$(platform|theme|group)-/, isMediaKey = function(key) {
2940
2811
  if (mediaKeys.has(key)) return !0;
@@ -2970,27 +2841,26 @@ var require_useMedia_native = __commonJS({
2970
2841
  if (!match) throw new Error("\u26A0\uFE0F No match");
2971
2842
  match.addListener(update), dispose.add(function() {
2972
2843
  match.removeListener(update);
2973
- }), update();
2844
+ });
2974
2845
  function update() {
2975
2846
  var next = !!getMatch().matches;
2976
2847
  next !== mediaState3[key2] && (mediaState3 = {
2977
2848
  ...mediaState3,
2978
2849
  [key2]: next
2979
- }, updateCurrentState());
2850
+ }, updateMediaListeners());
2980
2851
  }
2852
+ update();
2981
2853
  };
2982
2854
  if (!(import_constants4.isWeb && import_constants4.isServer) && !process.env.IS_STATIC && setupVersion !== mediaVersion) {
2983
2855
  setupVersion = mediaVersion, unlisten();
2984
2856
  for (var key in mediaQueryConfig3) _loop(key);
2985
2857
  }
2986
2858
  }
2987
- var listeners = /* @__PURE__ */ new Set(), flushing = !1, flushVersion = -1;
2988
- function updateCurrentState() {
2989
- flushing && flushVersion === mediaVersion || (flushVersion = mediaVersion, flushing = !0, Promise.resolve().then(function() {
2990
- flushing = !1, listeners.forEach(function(cb) {
2991
- return cb(mediaState3);
2992
- });
2993
- }));
2859
+ var listeners = /* @__PURE__ */ new Set();
2860
+ function updateMediaListeners() {
2861
+ listeners.forEach(function(cb) {
2862
+ return cb(mediaState3);
2863
+ });
2994
2864
  }
2995
2865
  var States = /* @__PURE__ */ new WeakMap();
2996
2866
  function setMediaShouldUpdate(ref, enabled, keys) {
@@ -3006,18 +2876,22 @@ var require_useMedia_native = __commonJS({
3006
2876
  listeners.delete(subscriber);
3007
2877
  };
3008
2878
  }
3009
- var CurrentKeysMap = /* @__PURE__ */ new WeakMap();
3010
2879
  function useMedia3(cc, debug) {
3011
- var disableSSR = (0, import_config.getSetting)("disableSSR") || (0, import_useDisableSSR.getDisableSSR)(cc), isHydrated = (0, import_use_did_finish_ssr.useDidFinishSSR)(), initialState = isHydrated || disableSSR || !import_constants4.isWeb ? mediaState3 : initState, [state, setState] = import_react3.default.useState(initialState);
3012
- CurrentKeysMap.get(setState) || CurrentKeysMap.set(setState, /* @__PURE__ */ new Set());
3013
- var currentKeys = CurrentKeysMap.get(setState);
3014
- function getSnapshot(cur) {
3015
- if (!currentKeys) return cur;
2880
+ var componentState = cc ? States.get(cc) : null, internalRef = (0, import_react3.useRef)();
2881
+ internalRef.current || (internalRef.current = {
2882
+ keys: /* @__PURE__ */ new Set()
2883
+ });
2884
+ var { keys, lastState = (0, import_config.getSetting)("disableSSR") ? mediaState3 : initState } = internalRef.current;
2885
+ keys.size && keys.clear();
2886
+ var state = (0, import_react3.useSyncExternalStore)(subscribe, function() {
2887
+ if (componentState != null && componentState.enabled) return internalRef.current.lastState = mediaState3, mediaState3;
2888
+ var curKeys = (componentState == null ? void 0 : componentState.keys) || keys;
2889
+ if (!curKeys.size) return lastState;
3016
2890
  var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
3017
2891
  try {
3018
- for (var _iterator = currentKeys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
2892
+ for (var _iterator = curKeys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
3019
2893
  var key = _step.value;
3020
- if (mediaState3[key] !== cur[key]) return mediaState3;
2894
+ if (mediaState3[key] !== lastState[key]) return internalRef.current.lastState = mediaState3, mediaState3;
3021
2895
  }
3022
2896
  } catch (err) {
3023
2897
  _didIteratorError = !0, _iteratorError = err;
@@ -3028,42 +2902,17 @@ var require_useMedia_native = __commonJS({
3028
2902
  if (_didIteratorError) throw _iteratorError;
3029
2903
  }
3030
2904
  }
3031
- return cur;
3032
- }
3033
- var isRendering = !0, isInitialState = state === initialState;
3034
- return (0, import_constants4.useIsomorphicLayoutEffect)(function() {
3035
- isRendering = !1;
3036
- }), (0, import_constants4.useIsomorphicLayoutEffect)(function() {
3037
- var update = function() {
3038
- return setState(function(prev) {
3039
- var next = getSnapshot(prev);
3040
- return next;
3041
- });
3042
- };
3043
- update();
3044
- var tm = setTimeout(function() {
3045
- currentKeys.size && update();
3046
- }), dispose2 = subscribe(update);
3047
- return function() {
3048
- dispose2(), clearTimeout(tm);
3049
- };
3050
- }, [
3051
- setState
3052
- ]), new Proxy(state, {
2905
+ return lastState;
2906
+ }, getServerSnapshot);
2907
+ return new Proxy(state, {
3053
2908
  get(_, key) {
3054
- if (isRendering && !disableMediaTouch && typeof key == "string") {
3055
- currentKeys.add(key);
3056
- var shouldUpdate = state[key] !== mediaState3[key];
3057
- if (shouldUpdate && !isInitialState) {
3058
- var next = getSnapshot(state);
3059
- next !== state && setState(next);
3060
- }
3061
- }
3062
- return Reflect.get(state, key);
2909
+ return !disableMediaTouch && typeof key == "string" && keys.add(key), Reflect.get(state, key);
3063
2910
  }
3064
2911
  });
3065
2912
  }
3066
- var disableMediaTouch = !1;
2913
+ var getServerSnapshot = function() {
2914
+ return initState;
2915
+ }, disableMediaTouch = !1;
3067
2916
  function _disableMediaTouch2(val) {
3068
2917
  disableMediaTouch = val;
3069
2918
  }
@@ -3269,7 +3118,7 @@ var require_compose_refs_native = __commonJS({
3269
3118
  });
3270
3119
 
3271
3120
  // ../../core/compose-refs/dist/cjs/index.native.js
3272
- var require_index_native12 = __commonJS({
3121
+ var require_index_native11 = __commonJS({
3273
3122
  "../../core/compose-refs/dist/cjs/index.native.js"(exports2, module2) {
3274
3123
  "use strict";
3275
3124
  var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __copyProps2 = function(to, from, except, desc) {
@@ -4467,7 +4316,7 @@ var require_normalize_color = __commonJS({
4467
4316
  });
4468
4317
 
4469
4318
  // ../../core/normalize-css-color/dist/cjs/index.native.js
4470
- var require_index_native13 = __commonJS({
4319
+ var require_index_native12 = __commonJS({
4471
4320
  "../../core/normalize-css-color/dist/cjs/index.native.js"(exports2, module2) {
4472
4321
  "use strict";
4473
4322
  var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
@@ -4590,7 +4439,7 @@ var require_normalizeColor_native = __commonJS({
4590
4439
  }
4591
4440
  });
4592
4441
  module2.exports = __toCommonJS2(normalizeColor_exports);
4593
- var import_normalize_css_color = require_index_native13(), import_normalize_css_color2 = require_index_native13(), normalizeColor = function(color, opacity) {
4442
+ var import_normalize_css_color = require_index_native12(), import_normalize_css_color2 = require_index_native12(), normalizeColor = function(color, opacity) {
4594
4443
  if (color) {
4595
4444
  if (color[0] === "$") return color;
4596
4445
  if (color.startsWith("var(")) {
@@ -6292,7 +6141,7 @@ var require_getSplitStyles_native = __commonJS({
6292
6141
  if (isMedia) {
6293
6142
  if (!val2) return;
6294
6143
  var hasSpace = val2.space, mediaKeyShort = key4.slice(isMedia == "theme" ? 7 : 1);
6295
- if (hasMedia || (hasMedia = !0), (hasSpace || !shouldDoClasses || styleProps.willBeAnimated) && (typeof hasMedia != "object" && (hasMedia = {}), hasMedia[mediaKeyShort] = !0), isMedia === "platform" && !(0, import_isActivePlatform.isActivePlatform)(key4)) return;
6144
+ if (hasMedia || (hasMedia = !0), (hasSpace || !shouldDoClasses || styleProps.willBeAnimated) && ((!hasMedia || typeof hasMedia == "boolean") && (hasMedia = /* @__PURE__ */ new Set()), hasMedia.add(mediaKeyShort)), isMedia === "platform" && !(0, import_isActivePlatform.isActivePlatform)(key4)) return;
6296
6145
  if (shouldDoClasses) {
6297
6146
  var mediaStyle = getSubStyle(styleState, key4, val2, !1);
6298
6147
  if (hasSpace && (delete mediaStyle.space, mediaState3[mediaKeyShort])) {
@@ -7655,6 +7504,75 @@ var require_wrapStyleTags_native = __commonJS({
7655
7504
  }
7656
7505
  });
7657
7506
 
7507
+ // ../../core/use-did-finish-ssr/dist/cjs/index.native.js
7508
+ var require_index_native13 = __commonJS({
7509
+ "../../core/use-did-finish-ssr/dist/cjs/index.native.js"(exports2, module2) {
7510
+ "use strict";
7511
+ var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
7512
+ for (var name in all) __defProp2(target, name, {
7513
+ get: all[name],
7514
+ enumerable: !0
7515
+ });
7516
+ }, __copyProps2 = function(to, from, except, desc) {
7517
+ var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
7518
+ if (from && typeof from == "object" || typeof from == "function") try {
7519
+ for (var _loop = function() {
7520
+ var key = _step.value;
7521
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
7522
+ get: function() {
7523
+ return from[key];
7524
+ },
7525
+ enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
7526
+ });
7527
+ }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
7528
+ } catch (err) {
7529
+ _didIteratorError = !0, _iteratorError = err;
7530
+ } finally {
7531
+ try {
7532
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
7533
+ } finally {
7534
+ if (_didIteratorError)
7535
+ throw _iteratorError;
7536
+ }
7537
+ }
7538
+ return to;
7539
+ }, __toESM2 = function(mod, isNodeMode, target) {
7540
+ return target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
7541
+ // If the importer is in node compatibility mode or this is not an ESM
7542
+ // file that has been converted to a CommonJS file using a Babel-
7543
+ // compatible transform (i.e. "__esModule" has not been set), then set
7544
+ // "default" to the CommonJS "module.exports" for node compatibility.
7545
+ isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
7546
+ value: mod,
7547
+ enumerable: !0
7548
+ }) : target,
7549
+ mod
7550
+ );
7551
+ }, __toCommonJS2 = function(mod) {
7552
+ return __copyProps2(__defProp2({}, "__esModule", {
7553
+ value: !0
7554
+ }), mod);
7555
+ }, index_exports2 = {};
7556
+ __export2(index_exports2, {
7557
+ useClientValue: function() {
7558
+ return useClientValue;
7559
+ },
7560
+ useDidFinishSSR: function() {
7561
+ return useDidFinishSSR2;
7562
+ }
7563
+ });
7564
+ module2.exports = __toCommonJS2(index_exports2);
7565
+ var React4 = __toESM2(require("react"));
7566
+ function useDidFinishSSR2(value) {
7567
+ return value ?? !0;
7568
+ }
7569
+ function useClientValue(value) {
7570
+ var done = useDidFinishSSR2();
7571
+ return done ? typeof value == "function" ? value() : value : void 0;
7572
+ }
7573
+ }
7574
+ });
7575
+
7658
7576
  // ../../core/web/dist/cjs/hooks/useComponentState.native.js
7659
7577
  var require_useComponentState_native = __commonJS({
7660
7578
  "../../core/web/dist/cjs/hooks/useComponentState.native.js"(exports2, module2) {
@@ -7698,7 +7616,7 @@ var require_useComponentState_native = __commonJS({
7698
7616
  }
7699
7617
  });
7700
7618
  module2.exports = __toCommonJS2(useComponentState_exports);
7701
- var import_constants4 = require_index_native6(), import_use_did_finish_ssr = require_index_native11(), import_react3 = require("react"), import_defaultComponentState = require_defaultComponentState_native(), import_createShallowSetState = require_createShallowSetState_native(), import_isObj = require_isObj_native(), import_log = require_log_native(), useComponentState = function(props, param, staticConfig, config) {
7619
+ var import_constants4 = require_index_native6(), import_use_did_finish_ssr = require_index_native13(), import_react3 = require("react"), import_defaultComponentState = require_defaultComponentState_native(), import_createShallowSetState = require_createShallowSetState_native(), import_isObj = require_isObj_native(), import_log = require_log_native(), useComponentState = function(props, param, staticConfig, config) {
7702
7620
  var { animationDriver, groups } = param, _animationDriver_usePresence, isHydrated = (0, import_use_did_finish_ssr.useDidFinishSSR)(), useAnimations = animationDriver == null ? void 0 : animationDriver.useAnimations, stateRef = (0, import_react3.useRef)(void 0);
7703
7621
  stateRef.current || (stateRef.current = {});
7704
7622
  var hasAnimationProp = !!("animation" in props || props.style && hasAnimatedStyleValue(props.style)), supportsCSSVars = animationDriver == null ? void 0 : animationDriver.supportsCSSVars, curStateRef = stateRef.current, willBeAnimatedClient = function() {
@@ -7901,7 +7819,7 @@ var require_Slot_native = __commonJS({
7901
7819
  }
7902
7820
  });
7903
7821
  module2.exports = __toCommonJS2(Slot_exports);
7904
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_react3 = require("react"), is19 = import_react3.version.startsWith("19."), Slot = /* @__PURE__ */ (0, import_react3.memo)(/* @__PURE__ */ (0, import_react3.forwardRef)(function(props, forwardedRef) {
7822
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_react3 = require("react"), is19 = import_react3.version.startsWith("19."), Slot = /* @__PURE__ */ (0, import_react3.memo)(/* @__PURE__ */ (0, import_react3.forwardRef)(function(props, forwardedRef) {
7905
7823
  var { children, ...slotProps } = props;
7906
7824
  if (/* @__PURE__ */ (0, import_react3.isValidElement)(children)) {
7907
7825
  var mergedProps = mergeSlotProps(children, slotProps);
@@ -8016,7 +7934,7 @@ var require_createComponent_native = __commonJS({
8016
7934
  }
8017
7935
  });
8018
7936
  module2.exports = __toCommonJS2(createComponent_exports);
8019
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_constants22 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_ComponentContext = require_ComponentContext_native(), import_createVariable = require_createVariable_native(), import_defaultComponentState = require_defaultComponentState_native(), import_getShorthandValue = require_getShorthandValue_native(), import_getSplitStyles = require_getSplitStyles_native(), import_log = require_log_native(), import_mergeProps = require_mergeProps_native(), import_setElementProps = require_setElementProps_native(), import_subscribeToContextGroup = require_subscribeToContextGroup_native(), import_themeable = require_themeable_native(), import_wrapStyleTags = require_wrapStyleTags_native(), import_useComponentState = require_useComponentState_native(), import_useMedia = require_useMedia_native(), import_useTheme = require_useTheme_native(), import_setupHooks = require_setupHooks_native(), import_Slot = require_Slot_native(), import_Theme = require_Theme_native(), componentSetStates = /* @__PURE__ */ new Set();
7937
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_constants22 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_ComponentContext = require_ComponentContext_native(), import_createVariable = require_createVariable_native(), import_defaultComponentState = require_defaultComponentState_native(), import_getShorthandValue = require_getShorthandValue_native(), import_getSplitStyles = require_getSplitStyles_native(), import_log = require_log_native(), import_mergeProps = require_mergeProps_native(), import_setElementProps = require_setElementProps_native(), import_subscribeToContextGroup = require_subscribeToContextGroup_native(), import_themeable = require_themeable_native(), import_wrapStyleTags = require_wrapStyleTags_native(), import_useComponentState = require_useComponentState_native(), import_useMedia = require_useMedia_native(), import_useTheme = require_useTheme_native(), import_setupHooks = require_setupHooks_native(), import_Slot = require_Slot_native(), import_Theme = require_Theme_native(), componentSetStates = /* @__PURE__ */ new Set();
8020
7938
  typeof document < "u" && (cancelTouches = function() {
8021
7939
  componentSetStates.forEach(function(setState) {
8022
7940
  return setState(function(prev) {
@@ -8118,7 +8036,7 @@ var require_createComponent_native = __commonJS({
8118
8036
  }
8119
8037
  curStateRef.isListeningToTheme = splitStyles.dynamicThemeAccess;
8120
8038
  var hasRuntimeMediaKeys = splitStyles.hasMedia && splitStyles.hasMedia !== !0, shouldListenForMedia = (0, import_createVariable.didGetVariableValue)() || hasRuntimeMediaKeys || noClass && splitStyles.hasMedia === !0, mediaListeningKeys = hasRuntimeMediaKeys ? splitStyles.hasMedia : null;
8121
- (0, import_useMedia.setMediaShouldUpdate)(stateRef, shouldListenForMedia, mediaListeningKeys);
8039
+ (0, import_useMedia.setMediaShouldUpdate)(componentContext, shouldListenForMedia, mediaListeningKeys);
8122
8040
  var { viewProps: viewPropsIn, pseudos, style: splitStylesStyle, classNames, space } = splitStyles, propsWithAnimation = props, {
8123
8041
  asChild,
8124
8042
  children,
@@ -10150,7 +10068,7 @@ var require_useIsTouchDevice_native = __commonJS({
10150
10068
  }
10151
10069
  });
10152
10070
  module2.exports = __toCommonJS2(useIsTouchDevice_exports);
10153
- var import_constants4 = require_index_native6(), import_use_did_finish_ssr = require_index_native11(), useIsTouchDevice2 = function() {
10071
+ var import_constants4 = require_index_native6(), import_use_did_finish_ssr = require_index_native13(), useIsTouchDevice2 = function() {
10154
10072
  return import_constants4.isWeb ? (0, import_use_did_finish_ssr.useDidFinishSSR)() ? import_constants4.isTouchable : !1 : !0;
10155
10073
  };
10156
10074
  }
@@ -10661,7 +10579,7 @@ var require_TamaguiProvider_native = __commonJS({
10661
10579
  }
10662
10580
  });
10663
10581
  module2.exports = __toCommonJS2(TamaguiProvider_exports);
10664
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_ComponentContext = require_ComponentContext_native(), import_ThemeProvider = require_ThemeProvider_native();
10582
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_ComponentContext = require_ComponentContext_native(), import_ThemeProvider = require_ThemeProvider_native(), import_useMedia = require_useMedia_native();
10665
10583
  function TamaguiProvider2(param) {
10666
10584
  var { children, disableInjectCSS, config, className, defaultTheme, disableRootThemeClass, reset, themeClassNameOnRoot } = param;
10667
10585
  return process.env.TAMAGUI_REACT_19 || import_constants4.isClient && (0, import_constants4.useIsomorphicLayoutEffect)(function() {
@@ -10674,7 +10592,9 @@ var require_TamaguiProvider_native = __commonJS({
10674
10592
  }, [
10675
10593
  config,
10676
10594
  disableInjectCSS
10677
- ]), /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, {
10595
+ ]), (0, import_constants4.useIsomorphicLayoutEffect)(function() {
10596
+ (0, import_useMedia.updateMediaListeners)();
10597
+ }, []), /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, {
10678
10598
  children: [
10679
10599
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(UnmountedClassName, {
10680
10600
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_ComponentContext.ComponentContext.Provider, {
@@ -10934,9 +10854,9 @@ var require_index_native14 = __commonJS({
10934
10854
  __reExport2(index_exports2, require_FontLanguage_native(), module2.exports);
10935
10855
  __reExport2(index_exports2, require_TamaguiProvider_native(), module2.exports);
10936
10856
  __reExport2(index_exports2, require_Configuration_native(), module2.exports);
10937
- __reExport2(index_exports2, require_index_native11(), module2.exports);
10857
+ __reExport2(index_exports2, require_index_native13(), module2.exports);
10938
10858
  __reExport2(index_exports2, require_index_native8(), module2.exports);
10939
- __reExport2(index_exports2, require_index_native12(), module2.exports);
10859
+ __reExport2(index_exports2, require_index_native11(), module2.exports);
10940
10860
  __reExport2(index_exports2, require_index_native7(), module2.exports);
10941
10861
  __reExport2(index_exports2, require_index_native6(), module2.exports);
10942
10862
  __reExport2(index_exports2, require_setupHooks_native(), module2.exports);
@@ -13467,7 +13387,7 @@ var require_Collection_native = __commonJS({
13467
13387
  }
13468
13388
  });
13469
13389
  module2.exports = __toCommonJS2(Collection_exports);
13470
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_react3 = __toESM2(require("react"));
13390
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_react3 = __toESM2(require("react"));
13471
13391
  function createCollection(name) {
13472
13392
  var { Provider: CollectionProviderImpl, useStyledContext: useCollectionContext } = (0, import_core12.createStyledContext)({
13473
13393
  collectionRef: {
@@ -14995,7 +14915,7 @@ var require_Accordion_native = __commonJS({
14995
14915
  }
14996
14916
  });
14997
14917
  module2.exports = __toCommonJS2(Accordion_exports);
14998
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_collapsible = require_index_native15(), import_collection = require_index_native19(), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_stacks3 = require_index_native22(), import_text2 = require_index_native24(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native25(), import_web = require_index_native14(), React4 = __toESM2(require("react")), ACCORDION_NAME = "Accordion", ACCORDION_KEYS = [
14918
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_collapsible = require_index_native15(), import_collection = require_index_native19(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_stacks3 = require_index_native22(), import_text2 = require_index_native24(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native25(), import_web = require_index_native14(), React4 = __toESM2(require("react")), ACCORDION_NAME = "Accordion", ACCORDION_KEYS = [
14999
14919
  "Home",
15000
14920
  "End",
15001
14921
  "ArrowDown",
@@ -17596,7 +17516,7 @@ var require_SheetImplementationCustom_native = __commonJS({
17596
17516
  }
17597
17517
  });
17598
17518
  module2.exports = __toCommonJS2(SheetImplementationCustom_exports);
17599
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_adapt = require_index_native29(), import_animate_presence = require_index_native4(), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_portal2 = require_index_native28(), import_react3 = __toESM2(require("react")), import_react_native4 = require("react-native"), import_contexts = require_contexts_native(), import_helpers = require_helpers_native2(), import_SheetContext = require_SheetContext_native(), import_useSheetOpenState = require_useSheetOpenState_native(), import_useSheetProviderProps = require_useSheetProviderProps_native(), hiddenSize = 10000.1, sheetHiddenStyleSheet = null, relativeDimensionTo = import_constants4.isWeb ? "window" : "screen", SheetImplementationCustom = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
17519
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_adapt = require_index_native29(), import_animate_presence = require_index_native4(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_portal2 = require_index_native28(), import_react3 = __toESM2(require("react")), import_react_native4 = require("react-native"), import_contexts = require_contexts_native(), import_helpers = require_helpers_native2(), import_SheetContext = require_SheetContext_native(), import_useSheetOpenState = require_useSheetOpenState_native(), import_useSheetProviderProps = require_useSheetProviderProps_native(), hiddenSize = 10000.1, sheetHiddenStyleSheet = null, relativeDimensionTo = import_constants4.isWeb ? "window" : "screen", SheetImplementationCustom = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
17600
17520
  var parentSheet = import_react3.default.useContext(import_contexts.ParentSheetContext), { animation, animationConfig: animationConfigProp, modal = !1, zIndex = parentSheet.zIndex + 1, moveOnKeyboardChange = !1, unmountChildrenWhenHidden = !1, portalProps, containerComponent: ContainerComponent = import_react3.default.Fragment } = props, state = (0, import_useSheetOpenState.useSheetOpenState)(props), [overlayComponent, setOverlayComponent] = import_react3.default.useState(null), providerProps = (0, import_useSheetProviderProps.useSheetProviderProps)(props, state, {
17601
17521
  onOverlayComponent: setOverlayComponent
17602
17522
  }), { frameSize, setFrameSize, snapPoints, snapPointsMode, hasFit, position, setPosition, scrollBridge, screenSize, setMaxContentSize, maxSnapPoint } = providerProps, { open, controller, isHidden } = state, sheetRef = import_react3.default.useRef(null), ref = (0, import_compose_refs.useComposedRefs)(forwardedRef, sheetRef, providerProps.contentRef), { animationDriver } = (0, import_core12.useConfiguration)(), animationConfig = function() {
@@ -18045,7 +17965,7 @@ var require_SheetScrollView_native = __commonJS({
18045
17965
  }
18046
17966
  });
18047
17967
  module2.exports = __toCommonJS2(SheetScrollView_exports);
18048
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_react3 = __toESM2(require("react")), import_compose_refs = require_index_native12(), import_scroll_view = require_index_native35(), import_SheetContext = require_SheetContext_native(), SHEET_SCROLL_VIEW_NAME = "SheetScrollView", SheetScrollView = /* @__PURE__ */ import_react3.default.forwardRef(function(param, ref) {
17968
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_react3 = __toESM2(require("react")), import_compose_refs = require_index_native11(), import_scroll_view = require_index_native35(), import_SheetContext = require_SheetContext_native(), SHEET_SCROLL_VIEW_NAME = "SheetScrollView", SheetScrollView = /* @__PURE__ */ import_react3.default.forwardRef(function(param, ref) {
18049
17969
  var { __scopeSheet, children, onScroll, ...props } = param, context = (0, import_SheetContext.useSheetContext)(SHEET_SCROLL_VIEW_NAME, __scopeSheet), { scrollBridge } = context, scrollRef = import_react3.default.useRef(null), state = import_react3.default.useRef({
18050
17970
  lastPageY: 0,
18051
17971
  dragAt: 0,
@@ -18234,7 +18154,7 @@ var require_createSheet_native = __commonJS({
18234
18154
  }
18235
18155
  });
18236
18156
  module2.exports = __toCommonJS2(createSheet_exports);
18237
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_helpers = require_index_native7(), import_portal2 = require_index_native28(), import_remove_scroll = require_index_native34(), import_use_did_finish_ssr = require_index_native11(), import_z_index_stack2 = require_index_native27(), import_react3 = require("react"), import_react_native4 = require("react-native"), import_constants22 = require_constants_native4(), import_nativeSheet = require_nativeSheet_native(), import_SheetContext = require_SheetContext_native(), import_SheetImplementationCustom = require_SheetImplementationCustom_native(), import_SheetScrollView = require_SheetScrollView_native(), import_useSheetController = require_useSheetController_native(), import_useSheetOffscreenSize = require_useSheetOffscreenSize_native();
18157
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_helpers = require_index_native7(), import_portal2 = require_index_native28(), import_remove_scroll = require_index_native34(), import_use_did_finish_ssr = require_index_native13(), import_z_index_stack2 = require_index_native27(), import_react3 = require("react"), import_react_native4 = require("react-native"), import_constants22 = require_constants_native4(), import_nativeSheet = require_nativeSheet_native(), import_SheetContext = require_SheetContext_native(), import_SheetImplementationCustom = require_SheetImplementationCustom_native(), import_SheetScrollView = require_SheetScrollView_native(), import_useSheetController = require_useSheetController_native(), import_useSheetOffscreenSize = require_useSheetOffscreenSize_native();
18238
18158
  function createSheet(param) {
18239
18159
  var { Handle, Frame, Overlay } = param, SheetHandle = Handle.styleable(function(param2, forwardedRef) {
18240
18160
  var { __scopeSheet, ...props } = param2, context = (0, import_SheetContext.useSheetContext)(import_constants22.SHEET_HANDLE_NAME, __scopeSheet), composedRef = (0, import_compose_refs.useComposedRefs)(context.handleRef, forwardedRef);
@@ -18804,7 +18724,7 @@ var require_Dialog_native = __commonJS({
18804
18724
  }
18805
18725
  });
18806
18726
  module2.exports = __toCommonJS2(Dialog_exports);
18807
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_adapt = require_index_native29(), import_animate_presence = require_index_native4(), import_aria_hidden = require_index_native31(), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_create_context = require_index_native30(), import_dismissable = require_index_native32(), import_focus_scope = require_index_native33(), import_helpers = require_index_native7(), import_portal2 = require_index_native28(), import_remove_scroll = require_index_native34(), import_sheet = require_index_native36(), import_stacks3 = require_index_native22(), import_text2 = require_index_native24(), import_use_controllable_state = require_index_native10(), import_z_index_stack2 = require_index_native27(), React4 = __toESM2(require("react")), DIALOG_NAME = "Dialog", [createDialogContext, createDialogScope] = (0, import_create_context.createContextScope)(DIALOG_NAME), [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME), TRIGGER_NAME = "DialogTrigger", DialogTriggerFrame = (0, import_core12.styled)(import_core12.View, {
18727
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_adapt = require_index_native29(), import_animate_presence = require_index_native4(), import_aria_hidden = require_index_native31(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_create_context = require_index_native30(), import_dismissable = require_index_native32(), import_focus_scope = require_index_native33(), import_helpers = require_index_native7(), import_portal2 = require_index_native28(), import_remove_scroll = require_index_native34(), import_sheet = require_index_native36(), import_stacks3 = require_index_native22(), import_text2 = require_index_native24(), import_use_controllable_state = require_index_native10(), import_z_index_stack2 = require_index_native27(), React4 = __toESM2(require("react")), DIALOG_NAME = "Dialog", [createDialogContext, createDialogScope] = (0, import_create_context.createContextScope)(DIALOG_NAME), [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME), TRIGGER_NAME = "DialogTrigger", DialogTriggerFrame = (0, import_core12.styled)(import_core12.View, {
18808
18728
  name: TRIGGER_NAME
18809
18729
  }), DialogTrigger = DialogTriggerFrame.styleable(function(props, forwardedRef) {
18810
18730
  var { __scopeDialog, ...triggerProps } = props, isInsideButton = React4.useContext(import_stacks3.ButtonNestingContext), context = useDialogContext(TRIGGER_NAME, __scopeDialog), composedTriggerRef = (0, import_compose_refs.useComposedRefs)(forwardedRef, context.triggerRef);
@@ -19307,7 +19227,7 @@ var require_AlertDialog_native = __commonJS({
19307
19227
  }
19308
19228
  });
19309
19229
  module2.exports = __toCommonJS2(AlertDialog_exports);
19310
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_create_context = require_index_native30(), import_dialog = require_index_native37(), import_helpers = require_index_native7(), import_use_controllable_state = require_index_native10(), React4 = __toESM2(require("react")), import_react_native4 = require("react-native"), ROOT_NAME = "AlertDialog", [createAlertDialogContext, createAlertDialogScope] = (0, import_create_context.createContextScope)(ROOT_NAME, [
19230
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_create_context = require_index_native30(), import_dialog = require_index_native37(), import_helpers = require_index_native7(), import_use_controllable_state = require_index_native10(), React4 = __toESM2(require("react")), import_react_native4 = require("react-native"), ROOT_NAME = "AlertDialog", [createAlertDialogContext, createAlertDialogScope] = (0, import_create_context.createContextScope)(ROOT_NAME, [
19311
19231
  import_dialog.createDialogScope
19312
19232
  ]), useDialogScope = (0, import_dialog.createDialogScope)(), TRIGGER_NAME = "AlertDialogTrigger", NativeAlertDialogTriggerFrame = (0, import_core12.styled)(import_core12.View, {
19313
19233
  name: TRIGGER_NAME
@@ -21162,7 +21082,7 @@ var require_focusableInputHOC_native = __commonJS({
21162
21082
  }
21163
21083
  });
21164
21084
  module2.exports = __toCommonJS2(focusableInputHOC_exports);
21165
- var import_compose_refs = require_index_native12(), import_web = require_index_native14(), import_react3 = __toESM2(require("react")), import_registerFocusable = require_registerFocusable_native();
21085
+ var import_compose_refs = require_index_native11(), import_web = require_index_native14(), import_react3 = __toESM2(require("react")), import_registerFocusable = require_registerFocusable_native();
21166
21086
  function useFocusable2(param) {
21167
21087
  var { isInput, props, ref } = param, { id, onChangeText, value, defaultValue } = props, inputValue = import_react3.default.useRef(value || defaultValue || ""), unregisterFocusable = import_react3.default.useRef(), inputRef = import_react3.default.useCallback(function(input) {
21168
21088
  var _unregisterFocusable_current;
@@ -21332,7 +21252,7 @@ var require_Label_native = __commonJS({
21332
21252
  }
21333
21253
  });
21334
21254
  module2.exports = __toCommonJS2(Label_exports);
21335
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_create_context = require_index_native30(), import_focusable2 = require_index_native46(), import_get_button_sized2 = require_index_native21(), import_get_font_sized2 = require_index_native23(), import_text2 = require_index_native24(), import_web = require_index_native14(), React4 = __toESM2(require("react")), NAME = "Label", [LabelProvider, useLabelContextImpl] = (0, import_create_context.createContext)(NAME, {
21255
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_create_context = require_index_native30(), import_focusable2 = require_index_native46(), import_get_button_sized2 = require_index_native21(), import_get_font_sized2 = require_index_native23(), import_text2 = require_index_native24(), import_web = require_index_native14(), React4 = __toESM2(require("react")), NAME = "Label", [LabelProvider, useLabelContextImpl] = (0, import_create_context.createContext)(NAME, {
21336
21256
  id: void 0,
21337
21257
  controlRef: {
21338
21258
  current: null
@@ -21744,7 +21664,7 @@ var require_useCheckbox_native = __commonJS({
21744
21664
  }
21745
21665
  });
21746
21666
  module2.exports = __toCommonJS2(useCheckbox_exports);
21747
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_label = require_index_native47(), import_react3 = __toESM2(require("react")), import_BubbleInput = require_BubbleInput_native(), import_utils3 = require_utils_native2();
21667
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_label = require_index_native47(), import_react3 = __toESM2(require("react")), import_BubbleInput = require_BubbleInput_native(), import_utils3 = require_utils_native2();
21748
21668
  function useCheckbox(props, param, ref) {
21749
21669
  var [checked, setChecked] = param, { labelledBy: ariaLabelledby, name, required, disabled, value = "on", onCheckedChange, ...checkboxProps } = props, [button, setButton] = import_react3.default.useState(null), composedRefs = (0, import_compose_refs.useComposedRefs)(ref, setButton), hasConsumerStoppedPropagationRef = import_react3.default.useRef(!1), isFormControl = import_constants4.isWeb ? button ? !!button.closest("form") : !0 : !1, labelId = (0, import_label.useLabelContext)(button), labelledBy = ariaLabelledby || labelId, parentKeyDown = props.onKeyDown, handleKeyDown = (0, import_react3.useMemo)(function() {
21750
21670
  return (0, import_helpers.composeEventHandlers)(parentKeyDown, function(event) {
@@ -24462,7 +24382,7 @@ var require_Popper_native = __commonJS({
24462
24382
  }
24463
24383
  });
24464
24384
  module2.exports = __toCommonJS2(Popper_exports);
24465
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_floating = require_index_native56(), import_get_token2 = require_index_native20(), import_stacks3 = require_index_native22(), import_start_transition = require_index_native9(), React4 = __toESM2(require("react")), import_react_native4 = require("react-native"), PopperContext = (0, import_core12.createStyledContext)({}), { useStyledContext: usePopperContext, Provider: PopperProvider } = PopperContext, checkFloating = {
24385
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_floating = require_index_native56(), import_get_token2 = require_index_native20(), import_stacks3 = require_index_native22(), import_start_transition = require_index_native9(), React4 = __toESM2(require("react")), import_react_native4 = require("react-native"), PopperContext = (0, import_core12.createStyledContext)({}), { useStyledContext: usePopperContext, Provider: PopperProvider } = PopperContext, checkFloating = {
24466
24386
  name: "checkFloating",
24467
24387
  fn(data) {
24468
24388
  return {
@@ -24874,7 +24794,7 @@ var require_Popover_native = __commonJS({
24874
24794
  }
24875
24795
  });
24876
24796
  module2.exports = __toCommonJS2(Popover_exports);
24877
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_polyfill_dev = require_polyfill_dev(), import_adapt = require_index_native29(), import_animate = require_index_native55(), import_animate_presence = require_index_native4(), import_aria_hidden = require_index_native31(), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_floating = require_index_native56(), import_focus_scope = require_index_native33(), import_helpers = require_index_native7(), import_popper = require_index_native57(), import_portal2 = require_index_native28(), import_remove_scroll = require_index_native34(), import_sheet = require_index_native36(), import_stacks3 = require_index_native22(), import_use_controllable_state = require_index_native10(), import_z_index_stack2 = require_index_native27(), React4 = __toESM2(require("react")), import_react_native4 = require("react-native"), import_useFloatingContext = require_useFloatingContext_native(), POPOVER_SCOPE = "PopoverScope", PopoverContext = (0, import_core12.createStyledContext)({}), usePopoverContext = PopoverContext.useStyledContext, PopoverAnchor = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
24797
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_polyfill_dev = require_polyfill_dev(), import_adapt = require_index_native29(), import_animate = require_index_native55(), import_animate_presence = require_index_native4(), import_aria_hidden = require_index_native31(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_floating = require_index_native56(), import_focus_scope = require_index_native33(), import_helpers = require_index_native7(), import_popper = require_index_native57(), import_portal2 = require_index_native28(), import_remove_scroll = require_index_native34(), import_sheet = require_index_native36(), import_stacks3 = require_index_native22(), import_use_controllable_state = require_index_native10(), import_z_index_stack2 = require_index_native27(), React4 = __toESM2(require("react")), import_react_native4 = require("react-native"), import_useFloatingContext = require_useFloatingContext_native(), POPOVER_SCOPE = "PopoverScope", PopoverContext = (0, import_core12.createStyledContext)({}), usePopoverContext = PopoverContext.useStyledContext, PopoverAnchor = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
24878
24798
  var { __scopePopover, ...rest } = props, context = usePopoverContext(__scopePopover), { onCustomAnchorAdd, onCustomAnchorRemove } = context || {};
24879
24799
  return React4.useEffect(function() {
24880
24800
  return onCustomAnchorAdd(), function() {
@@ -25786,7 +25706,7 @@ var require_useRadioGroup_native = __commonJS({
25786
25706
  }
25787
25707
  });
25788
25708
  module2.exports = __toCommonJS2(useRadioGroup_exports);
25789
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_focusable2 = require_index_native46(), import_helpers = require_index_native7(), import_label = require_index_native47(), import_use_controllable_state = require_index_native10(), import_react3 = require("react"), import_BubbleInput = require_BubbleInput_native2(), import_utils3 = require_utils_native3();
25709
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_focusable2 = require_index_native46(), import_helpers = require_index_native7(), import_label = require_index_native47(), import_use_controllable_state = require_index_native10(), import_react3 = require("react"), import_BubbleInput = require_BubbleInput_native2(), import_utils3 = require_utils_native3();
25790
25710
  function useRadioGroup(params) {
25791
25711
  var { value: valueProp, onValueChange, defaultValue, required, disabled, name, native, accentColor, orientation, ref } = params, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
25792
25712
  prop: valueProp,
@@ -26868,7 +26788,7 @@ var require_SelectItem_native = __commonJS({
26868
26788
  }
26869
26789
  });
26870
26790
  module2.exports = __toCommonJS2(SelectItem_exports);
26871
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_list_item = require_index_native54(), React4 = __toESM2(require("react")), import_context = require_context_native2(), ITEM_NAME = "SelectItem", [SelectItemContextProvider, useSelectItemContext] = (0, import_context.createSelectContext)(ITEM_NAME), SelectItem = import_list_item.ListItemFrame.styleable(function(props, forwardedRef) {
26791
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_list_item = require_index_native54(), React4 = __toESM2(require("react")), import_context = require_context_native2(), ITEM_NAME = "SelectItem", [SelectItemContextProvider, useSelectItemContext] = (0, import_context.createSelectContext)(ITEM_NAME), SelectItem = import_list_item.ListItemFrame.styleable(function(props, forwardedRef) {
26872
26792
  var { __scopeSelect, value, disabled = !1, textValue: textValueProp, index, ...restProps } = props, { props: listItemProps } = (0, import_list_item.useListItem)({
26873
26793
  ...!props.unstyled && {
26874
26794
  ellipse: !0
@@ -27033,7 +26953,7 @@ var require_SelectItemText_native = __commonJS({
27033
26953
  }
27034
26954
  });
27035
26955
  module2.exports = __toCommonJS2(SelectItemText_exports);
27036
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_core12 = require_index_native18(), import_text2 = require_index_native24(), React4 = __toESM2(require("react")), import_context = require_context_native2(), import_SelectItem = require_SelectItem_native(), ITEM_TEXT_NAME = "SelectItemText", SelectItemTextFrame = (0, import_core12.styled)(import_text2.SizableText, {
26956
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_core12 = require_index_native18(), import_text2 = require_index_native24(), React4 = __toESM2(require("react")), import_context = require_context_native2(), import_SelectItem = require_SelectItem_native(), ITEM_TEXT_NAME = "SelectItemText", SelectItemTextFrame = (0, import_core12.styled)(import_text2.SizableText, {
27037
26957
  name: ITEM_TEXT_NAME,
27038
26958
  variants: {
27039
26959
  unstyled: {
@@ -27181,7 +27101,7 @@ var require_SelectTrigger_native = __commonJS({
27181
27101
  }
27182
27102
  });
27183
27103
  module2.exports = __toCommonJS2(SelectTrigger_exports);
27184
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_core12 = require_index_native18(), import_list_item = require_index_native54(), React4 = __toESM2(require("react")), import_context = require_context_native2(), TRIGGER_NAME = "SelectTrigger", isPointerCoarse = import_core12.isWeb && import_core12.isClient ? window.matchMedia("(pointer:coarse)").matches : !0, SelectTrigger = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
27104
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_core12 = require_index_native18(), import_list_item = require_index_native54(), React4 = __toESM2(require("react")), import_context = require_context_native2(), TRIGGER_NAME = "SelectTrigger", isPointerCoarse = import_core12.isWeb && import_core12.isClient ? window.matchMedia("(pointer:coarse)").matches : !0, SelectTrigger = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
27185
27105
  var _context_floatingContext, { __scopeSelect, disabled = !1, unstyled = !1, ...triggerProps } = props, context = (0, import_context.useSelectContext)(TRIGGER_NAME, __scopeSelect), itemParentContext = (0, import_context.useSelectItemParentContext)(TRIGGER_NAME, __scopeSelect), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, (_context_floatingContext = context.floatingContext) === null || _context_floatingContext === void 0 ? void 0 : _context_floatingContext.refs.setReference);
27186
27106
  return itemParentContext.shouldRenderWebNative ? null : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_list_item.ListItem, {
27187
27107
  componentName: TRIGGER_NAME,
@@ -27397,7 +27317,7 @@ var require_Select_native = __commonJS({
27397
27317
  }
27398
27318
  });
27399
27319
  module2.exports = __toCommonJS2(Select_exports);
27400
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_adapt = require_index_native29(), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_focusable2 = require_index_native46(), import_get_token2 = require_index_native20(), import_helpers = require_index_native7(), import_list_item = require_index_native54(), import_separator = require_index_native63(), import_sheet = require_index_native36(), import_stacks3 = require_index_native22(), import_text2 = require_index_native24(), import_use_controllable_state = require_index_native10(), import_use_debounce = require_index_native64(), React4 = __toESM2(require("react")), import_context = require_context_native2(), import_SelectContent = require_SelectContent_native(), import_SelectImpl = require_SelectImpl_native(), import_SelectItem = require_SelectItem_native(), import_SelectItemText = require_SelectItemText_native(), import_SelectScrollButton = require_SelectScrollButton_native(), import_SelectTrigger = require_SelectTrigger_native(), import_SelectViewport = require_SelectViewport_native(), import_useSelectBreakpointActive = require_useSelectBreakpointActive_native(), VALUE_NAME = "SelectValue", SelectValueFrame = (0, import_core12.styled)(import_text2.SizableText, {
27320
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_adapt = require_index_native29(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_focusable2 = require_index_native46(), import_get_token2 = require_index_native20(), import_helpers = require_index_native7(), import_list_item = require_index_native54(), import_separator = require_index_native63(), import_sheet = require_index_native36(), import_stacks3 = require_index_native22(), import_text2 = require_index_native24(), import_use_controllable_state = require_index_native10(), import_use_debounce = require_index_native64(), React4 = __toESM2(require("react")), import_context = require_context_native2(), import_SelectContent = require_SelectContent_native(), import_SelectImpl = require_SelectImpl_native(), import_SelectItem = require_SelectItem_native(), import_SelectItemText = require_SelectItemText_native(), import_SelectScrollButton = require_SelectScrollButton_native(), import_SelectTrigger = require_SelectTrigger_native(), import_SelectViewport = require_SelectViewport_native(), import_useSelectBreakpointActive = require_useSelectBreakpointActive_native(), VALUE_NAME = "SelectValue", SelectValueFrame = (0, import_core12.styled)(import_text2.SizableText, {
27401
27321
  name: VALUE_NAME,
27402
27322
  userSelect: "none"
27403
27323
  }), SelectValue = SelectValueFrame.styleable(function(param, forwardedRef) {
@@ -28172,7 +28092,7 @@ var require_Slider_native = __commonJS({
28172
28092
  }
28173
28093
  });
28174
28094
  module2.exports = __toCommonJS2(Slider_exports);
28175
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_get_token2 = require_index_native20(), import_helpers = require_index_native7(), import_helpers2 = require_index_native7(), import_stacks3 = require_index_native22(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native25(), React4 = __toESM2(require("react")), import_constants22 = require_constants_native6(), import_helpers3 = require_helpers_native3(), import_SliderImpl = require_SliderImpl_native(), activeSliderMeasureListeners = /* @__PURE__ */ new Set();
28095
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native18(), import_get_token2 = require_index_native20(), import_helpers = require_index_native7(), import_helpers2 = require_index_native7(), import_stacks3 = require_index_native22(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native25(), React4 = __toESM2(require("react")), import_constants22 = require_constants_native6(), import_helpers3 = require_helpers_native3(), import_SliderImpl = require_SliderImpl_native(), activeSliderMeasureListeners = /* @__PURE__ */ new Set();
28176
28096
  import_constants4.isWeb && import_constants4.isClient && !process.env.TAMAGUI_DISABLE_SLIDER_INTERVAL && ((_setInterval = setInterval) === null || _setInterval === void 0 || _setInterval(
28177
28097
  function() {
28178
28098
  activeSliderMeasureListeners.forEach(function(cb) {
@@ -28713,7 +28633,7 @@ var require_useSwitch_native = __commonJS({
28713
28633
  }
28714
28634
  });
28715
28635
  module2.exports = __toCommonJS2(useSwitch_exports);
28716
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_label = require_index_native47(), import_use_previous = require_index_native48(), React4 = __toESM2(require("react"));
28636
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_label = require_index_native47(), import_use_previous = require_index_native48(), React4 = __toESM2(require("react"));
28717
28637
  function useSwitch(props, param, ref) {
28718
28638
  var [checked, setChecked] = param;
28719
28639
  return {
@@ -29236,7 +29156,7 @@ var require_Tabs_native = __commonJS({
29236
29156
  }
29237
29157
  });
29238
29158
  module2.exports = __toCommonJS2(Tabs_exports);
29239
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native12(), import_constants4 = require_index_native6(), import_get_button_sized2 = require_index_native21(), import_group = require_index_native52(), import_helpers = require_index_native7(), import_roving_focus = require_index_native61(), import_stacks3 = require_index_native22(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native25(), import_web = require_index_native14(), React4 = __toESM2(require("react")), TABS_CONTEXT = "TabsContext", TAB_LIST_NAME = "TabsList", TabsList = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
29159
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_get_button_sized2 = require_index_native21(), import_group = require_index_native52(), import_helpers = require_index_native7(), import_roving_focus = require_index_native61(), import_stacks3 = require_index_native22(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native25(), import_web = require_index_native14(), React4 = __toESM2(require("react")), TABS_CONTEXT = "TabsContext", TAB_LIST_NAME = "TabsList", TabsList = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
29240
29160
  var { __scopeTabs, loop = !0, children, ...listProps } = props, context = useTabsContext(__scopeTabs);
29241
29161
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_roving_focus.RovingFocusGroup, {
29242
29162
  __scopeRovingFocusGroup: __scopeTabs || TABS_CONTEXT,
@@ -30767,7 +30687,7 @@ __reExport(index_exports, __toESM(require_index_native41()), module.exports);
30767
30687
  __reExport(index_exports, __toESM(require_index_native44()), module.exports);
30768
30688
  __reExport(index_exports, __toESM(require_index_native45()), module.exports);
30769
30689
  __reExport(index_exports, __toESM(require_index_native50()), module.exports);
30770
- __reExport(index_exports, __toESM(require_index_native12()), module.exports);
30690
+ __reExport(index_exports, __toESM(require_index_native11()), module.exports);
30771
30691
  __reExport(index_exports, __toESM(require_index_native30()), module.exports);
30772
30692
  __reExport(index_exports, __toESM(require_index_native37()), module.exports);
30773
30693
  __reExport(index_exports, __toESM(require_index_native42()), module.exports);