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.
package/dist/native.js CHANGED
@@ -2729,75 +2729,6 @@ var require_insertStyleRule_native = __commonJS({
2729
2729
  }
2730
2730
  });
2731
2731
 
2732
- // ../../core/use-did-finish-ssr/dist/cjs/index.native.js
2733
- var require_index_native11 = __commonJS({
2734
- "../../core/use-did-finish-ssr/dist/cjs/index.native.js"(exports2, module2) {
2735
- "use strict";
2736
- var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
2737
- for (var name in all) __defProp2(target, name, {
2738
- get: all[name],
2739
- enumerable: !0
2740
- });
2741
- }, __copyProps2 = function(to, from, except, desc) {
2742
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
2743
- if (from && typeof from == "object" || typeof from == "function") try {
2744
- for (var _loop = function() {
2745
- var key = _step.value;
2746
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
2747
- get: function() {
2748
- return from[key];
2749
- },
2750
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
2751
- });
2752
- }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
2753
- } catch (err) {
2754
- _didIteratorError = !0, _iteratorError = err;
2755
- } finally {
2756
- try {
2757
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
2758
- } finally {
2759
- if (_didIteratorError)
2760
- throw _iteratorError;
2761
- }
2762
- }
2763
- return to;
2764
- }, __toESM2 = function(mod, isNodeMode, target) {
2765
- return target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
2766
- // If the importer is in node compatibility mode or this is not an ESM
2767
- // file that has been converted to a CommonJS file using a Babel-
2768
- // compatible transform (i.e. "__esModule" has not been set), then set
2769
- // "default" to the CommonJS "module.exports" for node compatibility.
2770
- isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
2771
- value: mod,
2772
- enumerable: !0
2773
- }) : target,
2774
- mod
2775
- );
2776
- }, __toCommonJS2 = function(mod) {
2777
- return __copyProps2(__defProp2({}, "__esModule", {
2778
- value: !0
2779
- }), mod);
2780
- }, index_exports2 = {};
2781
- __export2(index_exports2, {
2782
- useClientValue: function() {
2783
- return useClientValue;
2784
- },
2785
- useDidFinishSSR: function() {
2786
- return useDidFinishSSR2;
2787
- }
2788
- });
2789
- module2.exports = __toCommonJS2(index_exports2);
2790
- var React4 = __toESM2(require("react"));
2791
- function useDidFinishSSR2(value) {
2792
- return value ?? !0;
2793
- }
2794
- function useClientValue(value) {
2795
- var done = useDidFinishSSR2();
2796
- return done ? typeof value == "function" ? value() : value : void 0;
2797
- }
2798
- }
2799
- });
2800
-
2801
2732
  // ../../core/web/dist/cjs/helpers/matchMedia.native.js
2802
2733
  var require_matchMedia_native = __commonJS({
2803
2734
  "../../core/web/dist/cjs/helpers/matchMedia.native.js"(exports2, module2) {
@@ -2967,62 +2898,11 @@ var require_pseudoDescriptors_native = __commonJS({
2967
2898
  }
2968
2899
  });
2969
2900
 
2970
- // ../../core/web/dist/cjs/hooks/useDisableSSR.native.js
2971
- var require_useDisableSSR_native = __commonJS({
2972
- "../../core/web/dist/cjs/hooks/useDisableSSR.native.js"(exports2, module2) {
2973
- "use strict";
2974
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
2975
- for (var name in all) __defProp2(target, name, {
2976
- get: all[name],
2977
- enumerable: !0
2978
- });
2979
- }, __copyProps2 = function(to, from, except, desc) {
2980
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
2981
- if (from && typeof from == "object" || typeof from == "function") try {
2982
- for (var _loop = function() {
2983
- var key = _step.value;
2984
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
2985
- get: function() {
2986
- return from[key];
2987
- },
2988
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
2989
- });
2990
- }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
2991
- } catch (err) {
2992
- _didIteratorError = !0, _iteratorError = err;
2993
- } finally {
2994
- try {
2995
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
2996
- } finally {
2997
- if (_didIteratorError)
2998
- throw _iteratorError;
2999
- }
3000
- }
3001
- return to;
3002
- }, __toCommonJS2 = function(mod) {
3003
- return __copyProps2(__defProp2({}, "__esModule", {
3004
- value: !0
3005
- }), mod);
3006
- }, useDisableSSR_exports = {};
3007
- __export2(useDisableSSR_exports, {
3008
- getDisableSSR: function() {
3009
- return getDisableSSR;
3010
- }
3011
- });
3012
- module2.exports = __toCommonJS2(useDisableSSR_exports);
3013
- var import_config = require_config_native();
3014
- function getDisableSSR(componentContext) {
3015
- var _componentContext_disableSSR;
3016
- return (_componentContext_disableSSR = componentContext == null ? void 0 : componentContext.disableSSR) !== null && _componentContext_disableSSR !== void 0 ? _componentContext_disableSSR : (0, import_config.getSetting)("disableSSR");
3017
- }
3018
- }
3019
- });
3020
-
3021
2901
  // ../../core/web/dist/cjs/hooks/useMedia.native.js
3022
2902
  var require_useMedia_native = __commonJS({
3023
2903
  "../../core/web/dist/cjs/hooks/useMedia.native.js"(exports2, module2) {
3024
2904
  "use strict";
3025
- var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
2905
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
3026
2906
  for (var name in all) __defProp2(target, name, {
3027
2907
  get: all[name],
3028
2908
  enumerable: !0
@@ -3050,18 +2930,6 @@ var require_useMedia_native = __commonJS({
3050
2930
  }
3051
2931
  }
3052
2932
  return to;
3053
- }, __toESM2 = function(mod, isNodeMode, target) {
3054
- return target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
3055
- // If the importer is in node compatibility mode or this is not an ESM
3056
- // file that has been converted to a CommonJS file using a Babel-
3057
- // compatible transform (i.e. "__esModule" has not been set), then set
3058
- // "default" to the CommonJS "module.exports" for node compatibility.
3059
- isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
3060
- value: mod,
3061
- enumerable: !0
3062
- }) : target,
3063
- mod
3064
- );
3065
2933
  }, __toCommonJS2 = function(mod) {
3066
2934
  return __copyProps2(__defProp2({}, "__esModule", {
3067
2935
  value: !0
@@ -3113,12 +2981,15 @@ var require_useMedia_native = __commonJS({
3113
2981
  setupMediaListeners: function() {
3114
2982
  return setupMediaListeners;
3115
2983
  },
2984
+ updateMediaListeners: function() {
2985
+ return updateMediaListeners;
2986
+ },
3116
2987
  useMedia: function() {
3117
2988
  return useMedia3;
3118
2989
  }
3119
2990
  });
3120
2991
  module2.exports = __toCommonJS2(useMedia_exports);
3121
- 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 = (
2992
+ 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 = (
3122
2993
  // development only safeguard
3123
2994
  process.env.NODE_ENV === "development" ? new Proxy({}, {
3124
2995
  get(target, key) {
@@ -3164,27 +3035,26 @@ var require_useMedia_native = __commonJS({
3164
3035
  if (!match) throw new Error("\u26A0\uFE0F No match");
3165
3036
  match.addListener(update), dispose.add(function() {
3166
3037
  match.removeListener(update);
3167
- }), update();
3038
+ });
3168
3039
  function update() {
3169
3040
  var next = !!getMatch().matches;
3170
3041
  next !== mediaState3[key2] && (mediaState3 = {
3171
3042
  ...mediaState3,
3172
3043
  [key2]: next
3173
- }, updateCurrentState());
3044
+ }, updateMediaListeners());
3174
3045
  }
3046
+ update();
3175
3047
  };
3176
3048
  if (!(import_constants4.isWeb && import_constants4.isServer) && !process.env.IS_STATIC && setupVersion !== mediaVersion) {
3177
3049
  setupVersion = mediaVersion, unlisten();
3178
3050
  for (var key in mediaQueryConfig3) _loop(key);
3179
3051
  }
3180
3052
  }
3181
- var listeners = /* @__PURE__ */ new Set(), flushing = !1, flushVersion = -1;
3182
- function updateCurrentState() {
3183
- flushing && flushVersion === mediaVersion || (flushVersion = mediaVersion, flushing = !0, Promise.resolve().then(function() {
3184
- flushing = !1, listeners.forEach(function(cb) {
3185
- return cb(mediaState3);
3186
- });
3187
- }));
3053
+ var listeners = /* @__PURE__ */ new Set();
3054
+ function updateMediaListeners() {
3055
+ listeners.forEach(function(cb) {
3056
+ return cb(mediaState3);
3057
+ });
3188
3058
  }
3189
3059
  var States = /* @__PURE__ */ new WeakMap();
3190
3060
  function setMediaShouldUpdate(ref, enabled, keys) {
@@ -3200,18 +3070,22 @@ var require_useMedia_native = __commonJS({
3200
3070
  listeners.delete(subscriber);
3201
3071
  };
3202
3072
  }
3203
- var CurrentKeysMap = /* @__PURE__ */ new WeakMap();
3204
3073
  function useMedia3(cc, debug) {
3205
- 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);
3206
- CurrentKeysMap.get(setState) || CurrentKeysMap.set(setState, /* @__PURE__ */ new Set());
3207
- var currentKeys = CurrentKeysMap.get(setState);
3208
- function getSnapshot(cur) {
3209
- if (!currentKeys) return cur;
3074
+ var componentState = cc ? States.get(cc) : null, internalRef = (0, import_react3.useRef)();
3075
+ internalRef.current || (internalRef.current = {
3076
+ keys: /* @__PURE__ */ new Set()
3077
+ });
3078
+ var { keys, lastState = (0, import_config.getSetting)("disableSSR") ? mediaState3 : initState } = internalRef.current;
3079
+ keys.size && keys.clear();
3080
+ var state = (0, import_react3.useSyncExternalStore)(subscribe, function() {
3081
+ if (componentState != null && componentState.enabled) return internalRef.current.lastState = mediaState3, mediaState3;
3082
+ var curKeys = (componentState == null ? void 0 : componentState.keys) || keys;
3083
+ if (!curKeys.size) return lastState;
3210
3084
  var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
3211
3085
  try {
3212
- for (var _iterator = currentKeys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
3086
+ for (var _iterator = curKeys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
3213
3087
  var key = _step.value;
3214
- if (mediaState3[key] !== cur[key]) return process.env.NODE_ENV === "development" && debug && console.warn("useMedia()\u270D\uFE0F", key, cur[key], ">", mediaState3[key]), mediaState3;
3088
+ if (mediaState3[key] !== lastState[key]) return process.env.NODE_ENV === "development" && debug && console.warn("useMedia() \u270D\uFE0F", key, lastState[key], "=>", mediaState3[key]), internalRef.current.lastState = mediaState3, mediaState3;
3215
3089
  }
3216
3090
  } catch (err) {
3217
3091
  _didIteratorError = !0, _iteratorError = err;
@@ -3222,42 +3096,17 @@ var require_useMedia_native = __commonJS({
3222
3096
  if (_didIteratorError) throw _iteratorError;
3223
3097
  }
3224
3098
  }
3225
- return cur;
3226
- }
3227
- var isRendering = !0, isInitialState = state === initialState;
3228
- return (0, import_constants4.useIsomorphicLayoutEffect)(function() {
3229
- isRendering = !1;
3230
- }), (0, import_constants4.useIsomorphicLayoutEffect)(function() {
3231
- var update = function() {
3232
- return setState(function(prev) {
3233
- var next = getSnapshot(prev);
3234
- return next;
3235
- });
3236
- };
3237
- update();
3238
- var tm = setTimeout(function() {
3239
- currentKeys.size && update();
3240
- }), dispose2 = subscribe(update);
3241
- return function() {
3242
- dispose2(), clearTimeout(tm);
3243
- };
3244
- }, [
3245
- setState
3246
- ]), new Proxy(state, {
3099
+ return lastState;
3100
+ }, getServerSnapshot);
3101
+ return new Proxy(state, {
3247
3102
  get(_, key) {
3248
- if (isRendering && !disableMediaTouch && typeof key == "string") {
3249
- currentKeys.add(key);
3250
- var shouldUpdate = state[key] !== mediaState3[key];
3251
- if (shouldUpdate && (process.env.NODE_ENV === "development" && debug && console.info("useMedia() TOUCH", key), !isInitialState)) {
3252
- var next = getSnapshot(state);
3253
- next !== state && setState(next);
3254
- }
3255
- }
3256
- return Reflect.get(state, key);
3103
+ return !disableMediaTouch && typeof key == "string" && keys.add(key), Reflect.get(state, key);
3257
3104
  }
3258
3105
  });
3259
3106
  }
3260
- var disableMediaTouch = !1;
3107
+ var getServerSnapshot = function() {
3108
+ return initState;
3109
+ }, disableMediaTouch = !1;
3261
3110
  function _disableMediaTouch2(val) {
3262
3111
  disableMediaTouch = val;
3263
3112
  }
@@ -3531,7 +3380,7 @@ var require_compose_refs_native = __commonJS({
3531
3380
  });
3532
3381
 
3533
3382
  // ../../core/compose-refs/dist/cjs/index.native.js
3534
- var require_index_native12 = __commonJS({
3383
+ var require_index_native11 = __commonJS({
3535
3384
  "../../core/compose-refs/dist/cjs/index.native.js"(exports2, module2) {
3536
3385
  "use strict";
3537
3386
  var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __copyProps2 = function(to, from, except, desc) {
@@ -4733,7 +4582,7 @@ var require_normalize_color = __commonJS({
4733
4582
  });
4734
4583
 
4735
4584
  // ../../core/normalize-css-color/dist/cjs/index.native.js
4736
- var require_index_native13 = __commonJS({
4585
+ var require_index_native12 = __commonJS({
4737
4586
  "../../core/normalize-css-color/dist/cjs/index.native.js"(exports2, module2) {
4738
4587
  "use strict";
4739
4588
  var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
@@ -4856,7 +4705,7 @@ var require_normalizeColor_native = __commonJS({
4856
4705
  }
4857
4706
  });
4858
4707
  module2.exports = __toCommonJS2(normalizeColor_exports);
4859
- var import_normalize_css_color = require_index_native13(), import_normalize_css_color2 = require_index_native13(), normalizeColor = function(color, opacity) {
4708
+ var import_normalize_css_color = require_index_native12(), import_normalize_css_color2 = require_index_native12(), normalizeColor = function(color, opacity) {
4860
4709
  if (color) {
4861
4710
  if (color[0] === "$") return color;
4862
4711
  if (color.startsWith("var(")) {
@@ -6614,7 +6463,7 @@ var require_getSplitStyles_native = __commonJS({
6614
6463
  if (isMedia) {
6615
6464
  if (!val2) return;
6616
6465
  var hasSpace = val2.space, mediaKeyShort = key4.slice(isMedia == "theme" ? 7 : 1);
6617
- if (hasMedia || (hasMedia = !0), (hasSpace || !shouldDoClasses || styleProps.willBeAnimated) && (typeof hasMedia != "object" && (hasMedia = {}), hasMedia[mediaKeyShort] = !0), isMedia === "platform" && !(0, import_isActivePlatform.isActivePlatform)(key4)) return;
6466
+ 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;
6618
6467
  if (process.env.NODE_ENV === "development" && debug === "verbose" && (0, import_log.log)(` \u{1F4FA} ${key4}`, {
6619
6468
  key: key4,
6620
6469
  val: val2,
@@ -8099,6 +7948,75 @@ var require_wrapStyleTags_native = __commonJS({
8099
7948
  }
8100
7949
  });
8101
7950
 
7951
+ // ../../core/use-did-finish-ssr/dist/cjs/index.native.js
7952
+ var require_index_native13 = __commonJS({
7953
+ "../../core/use-did-finish-ssr/dist/cjs/index.native.js"(exports2, module2) {
7954
+ "use strict";
7955
+ var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
7956
+ for (var name in all) __defProp2(target, name, {
7957
+ get: all[name],
7958
+ enumerable: !0
7959
+ });
7960
+ }, __copyProps2 = function(to, from, except, desc) {
7961
+ var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
7962
+ if (from && typeof from == "object" || typeof from == "function") try {
7963
+ for (var _loop = function() {
7964
+ var key = _step.value;
7965
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
7966
+ get: function() {
7967
+ return from[key];
7968
+ },
7969
+ enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
7970
+ });
7971
+ }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
7972
+ } catch (err) {
7973
+ _didIteratorError = !0, _iteratorError = err;
7974
+ } finally {
7975
+ try {
7976
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
7977
+ } finally {
7978
+ if (_didIteratorError)
7979
+ throw _iteratorError;
7980
+ }
7981
+ }
7982
+ return to;
7983
+ }, __toESM2 = function(mod, isNodeMode, target) {
7984
+ return target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
7985
+ // If the importer is in node compatibility mode or this is not an ESM
7986
+ // file that has been converted to a CommonJS file using a Babel-
7987
+ // compatible transform (i.e. "__esModule" has not been set), then set
7988
+ // "default" to the CommonJS "module.exports" for node compatibility.
7989
+ isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
7990
+ value: mod,
7991
+ enumerable: !0
7992
+ }) : target,
7993
+ mod
7994
+ );
7995
+ }, __toCommonJS2 = function(mod) {
7996
+ return __copyProps2(__defProp2({}, "__esModule", {
7997
+ value: !0
7998
+ }), mod);
7999
+ }, index_exports2 = {};
8000
+ __export2(index_exports2, {
8001
+ useClientValue: function() {
8002
+ return useClientValue;
8003
+ },
8004
+ useDidFinishSSR: function() {
8005
+ return useDidFinishSSR2;
8006
+ }
8007
+ });
8008
+ module2.exports = __toCommonJS2(index_exports2);
8009
+ var React4 = __toESM2(require("react"));
8010
+ function useDidFinishSSR2(value) {
8011
+ return value ?? !0;
8012
+ }
8013
+ function useClientValue(value) {
8014
+ var done = useDidFinishSSR2();
8015
+ return done ? typeof value == "function" ? value() : value : void 0;
8016
+ }
8017
+ }
8018
+ });
8019
+
8102
8020
  // ../../core/web/dist/cjs/hooks/useComponentState.native.js
8103
8021
  var require_useComponentState_native = __commonJS({
8104
8022
  "../../core/web/dist/cjs/hooks/useComponentState.native.js"(exports2, module2) {
@@ -8142,7 +8060,7 @@ var require_useComponentState_native = __commonJS({
8142
8060
  }
8143
8061
  });
8144
8062
  module2.exports = __toCommonJS2(useComponentState_exports);
8145
- 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) {
8063
+ 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) {
8146
8064
  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);
8147
8065
  stateRef.current || (stateRef.current = {});
8148
8066
  var hasAnimationProp = !!("animation" in props || props.style && hasAnimatedStyleValue(props.style)), supportsCSSVars = animationDriver == null ? void 0 : animationDriver.supportsCSSVars, curStateRef = stateRef.current, willBeAnimatedClient = function() {
@@ -8350,7 +8268,7 @@ var require_Slot_native = __commonJS({
8350
8268
  }
8351
8269
  });
8352
8270
  module2.exports = __toCommonJS2(Slot_exports);
8353
- 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) {
8271
+ 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) {
8354
8272
  var { children, ...slotProps } = props;
8355
8273
  if (/* @__PURE__ */ (0, import_react3.isValidElement)(children)) {
8356
8274
  var mergedProps = mergeSlotProps(children, slotProps);
@@ -8465,7 +8383,7 @@ var require_createComponent_native = __commonJS({
8465
8383
  }
8466
8384
  });
8467
8385
  module2.exports = __toCommonJS2(createComponent_exports);
8468
- 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(), time2, debugKeyListeners, startVisualizer, componentSetStates = /* @__PURE__ */ new Set();
8386
+ 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(), time2, debugKeyListeners, startVisualizer, componentSetStates = /* @__PURE__ */ new Set();
8469
8387
  typeof document < "u" && (cancelTouches = function() {
8470
8388
  componentSetStates.forEach(function(setState) {
8471
8389
  return setState(function(prev) {
@@ -8646,7 +8564,7 @@ var require_createComponent_native = __commonJS({
8646
8564
  }
8647
8565
  curStateRef.isListeningToTheme = splitStyles.dynamicThemeAccess;
8648
8566
  var hasRuntimeMediaKeys = splitStyles.hasMedia && splitStyles.hasMedia !== !0, shouldListenForMedia = (0, import_createVariable.didGetVariableValue)() || hasRuntimeMediaKeys || noClass && splitStyles.hasMedia === !0, mediaListeningKeys = hasRuntimeMediaKeys ? splitStyles.hasMedia : null;
8649
- process.env.NODE_ENV === "development" && debugProp === "verbose" && console.info("useMedia() createComponent", shouldListenForMedia, mediaListeningKeys), (0, import_useMedia.setMediaShouldUpdate)(stateRef, shouldListenForMedia, mediaListeningKeys);
8567
+ process.env.NODE_ENV === "development" && debugProp === "verbose" && console.info("useMedia() createComponent", shouldListenForMedia, mediaListeningKeys), (0, import_useMedia.setMediaShouldUpdate)(componentContext, shouldListenForMedia, mediaListeningKeys);
8650
8568
  var { viewProps: viewPropsIn, pseudos, style: splitStylesStyle, classNames, space } = splitStyles, propsWithAnimation = props, {
8651
8569
  asChild,
8652
8570
  children,
@@ -10757,7 +10675,7 @@ var require_useIsTouchDevice_native = __commonJS({
10757
10675
  }
10758
10676
  });
10759
10677
  module2.exports = __toCommonJS2(useIsTouchDevice_exports);
10760
- var import_constants4 = require_index_native6(), import_use_did_finish_ssr = require_index_native11(), useIsTouchDevice2 = function() {
10678
+ var import_constants4 = require_index_native6(), import_use_did_finish_ssr = require_index_native13(), useIsTouchDevice2 = function() {
10761
10679
  return import_constants4.isWeb ? (0, import_use_did_finish_ssr.useDidFinishSSR)() ? import_constants4.isTouchable : !1 : !0;
10762
10680
  };
10763
10681
  }
@@ -11268,7 +11186,7 @@ var require_TamaguiProvider_native = __commonJS({
11268
11186
  }
11269
11187
  });
11270
11188
  module2.exports = __toCommonJS2(TamaguiProvider_exports);
11271
- 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();
11189
+ 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();
11272
11190
  function TamaguiProvider2(param) {
11273
11191
  var { children, disableInjectCSS, config, className, defaultTheme, disableRootThemeClass, reset, themeClassNameOnRoot } = param;
11274
11192
  return process.env.TAMAGUI_REACT_19 || import_constants4.isClient && (0, import_constants4.useIsomorphicLayoutEffect)(function() {
@@ -11281,7 +11199,9 @@ var require_TamaguiProvider_native = __commonJS({
11281
11199
  }, [
11282
11200
  config,
11283
11201
  disableInjectCSS
11284
- ]), /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, {
11202
+ ]), (0, import_constants4.useIsomorphicLayoutEffect)(function() {
11203
+ (0, import_useMedia.updateMediaListeners)();
11204
+ }, []), /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, {
11285
11205
  children: [
11286
11206
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(UnmountedClassName, {
11287
11207
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_ComponentContext.ComponentContext.Provider, {
@@ -11541,9 +11461,9 @@ var require_index_native14 = __commonJS({
11541
11461
  __reExport2(index_exports2, require_FontLanguage_native(), module2.exports);
11542
11462
  __reExport2(index_exports2, require_TamaguiProvider_native(), module2.exports);
11543
11463
  __reExport2(index_exports2, require_Configuration_native(), module2.exports);
11544
- __reExport2(index_exports2, require_index_native11(), module2.exports);
11464
+ __reExport2(index_exports2, require_index_native13(), module2.exports);
11545
11465
  __reExport2(index_exports2, require_index_native8(), module2.exports);
11546
- __reExport2(index_exports2, require_index_native12(), module2.exports);
11466
+ __reExport2(index_exports2, require_index_native11(), module2.exports);
11547
11467
  __reExport2(index_exports2, require_index_native7(), module2.exports);
11548
11468
  __reExport2(index_exports2, require_index_native6(), module2.exports);
11549
11469
  __reExport2(index_exports2, require_setupHooks_native(), module2.exports);
@@ -14082,7 +14002,7 @@ var require_Collection_native = __commonJS({
14082
14002
  }
14083
14003
  });
14084
14004
  module2.exports = __toCommonJS2(Collection_exports);
14085
- 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"));
14005
+ 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"));
14086
14006
  function createCollection(name) {
14087
14007
  var { Provider: CollectionProviderImpl, useStyledContext: useCollectionContext } = (0, import_core12.createStyledContext)({
14088
14008
  collectionRef: {
@@ -15617,7 +15537,7 @@ var require_Accordion_native = __commonJS({
15617
15537
  }
15618
15538
  });
15619
15539
  module2.exports = __toCommonJS2(Accordion_exports);
15620
- 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 = [
15540
+ 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 = [
15621
15541
  "Home",
15622
15542
  "End",
15623
15543
  "ArrowDown",
@@ -18232,7 +18152,7 @@ var require_SheetImplementationCustom_native = __commonJS({
18232
18152
  }
18233
18153
  });
18234
18154
  module2.exports = __toCommonJS2(SheetImplementationCustom_exports);
18235
- 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) {
18155
+ 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) {
18236
18156
  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, {
18237
18157
  onOverlayComponent: setOverlayComponent
18238
18158
  }), { 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() {
@@ -18681,7 +18601,7 @@ var require_SheetScrollView_native = __commonJS({
18681
18601
  }
18682
18602
  });
18683
18603
  module2.exports = __toCommonJS2(SheetScrollView_exports);
18684
- 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) {
18604
+ 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) {
18685
18605
  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({
18686
18606
  lastPageY: 0,
18687
18607
  dragAt: 0,
@@ -18870,7 +18790,7 @@ var require_createSheet_native = __commonJS({
18870
18790
  }
18871
18791
  });
18872
18792
  module2.exports = __toCommonJS2(createSheet_exports);
18873
- 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();
18793
+ 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();
18874
18794
  function createSheet(param) {
18875
18795
  var { Handle, Frame, Overlay } = param, SheetHandle = Handle.styleable(function(param2, forwardedRef) {
18876
18796
  var { __scopeSheet, ...props } = param2, context = (0, import_SheetContext.useSheetContext)(import_constants22.SHEET_HANDLE_NAME, __scopeSheet), composedRef = (0, import_compose_refs.useComposedRefs)(context.handleRef, forwardedRef);
@@ -19440,7 +19360,7 @@ var require_Dialog_native = __commonJS({
19440
19360
  }
19441
19361
  });
19442
19362
  module2.exports = __toCommonJS2(Dialog_exports);
19443
- 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, {
19363
+ 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, {
19444
19364
  name: TRIGGER_NAME
19445
19365
  }), DialogTrigger = DialogTriggerFrame.styleable(function(props, forwardedRef) {
19446
19366
  var { __scopeDialog, ...triggerProps } = props, isInsideButton = React4.useContext(import_stacks3.ButtonNestingContext), context = useDialogContext(TRIGGER_NAME, __scopeDialog), composedTriggerRef = (0, import_compose_refs.useComposedRefs)(forwardedRef, context.triggerRef);
@@ -19992,7 +19912,7 @@ var require_AlertDialog_native = __commonJS({
19992
19912
  }
19993
19913
  });
19994
19914
  module2.exports = __toCommonJS2(AlertDialog_exports);
19995
- 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, [
19915
+ 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, [
19996
19916
  import_dialog.createDialogScope
19997
19917
  ]), useDialogScope = (0, import_dialog.createDialogScope)(), TRIGGER_NAME = "AlertDialogTrigger", NativeAlertDialogTriggerFrame = (0, import_core12.styled)(import_core12.View, {
19998
19918
  name: TRIGGER_NAME
@@ -21887,7 +21807,7 @@ var require_focusableInputHOC_native = __commonJS({
21887
21807
  }
21888
21808
  });
21889
21809
  module2.exports = __toCommonJS2(focusableInputHOC_exports);
21890
- var import_compose_refs = require_index_native12(), import_web = require_index_native14(), import_react3 = __toESM2(require("react")), import_registerFocusable = require_registerFocusable_native();
21810
+ var import_compose_refs = require_index_native11(), import_web = require_index_native14(), import_react3 = __toESM2(require("react")), import_registerFocusable = require_registerFocusable_native();
21891
21811
  function useFocusable2(param) {
21892
21812
  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) {
21893
21813
  var _unregisterFocusable_current;
@@ -22057,7 +21977,7 @@ var require_Label_native = __commonJS({
22057
21977
  }
22058
21978
  });
22059
21979
  module2.exports = __toCommonJS2(Label_exports);
22060
- 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, {
21980
+ 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, {
22061
21981
  id: void 0,
22062
21982
  controlRef: {
22063
21983
  current: null
@@ -22469,7 +22389,7 @@ var require_useCheckbox_native = __commonJS({
22469
22389
  }
22470
22390
  });
22471
22391
  module2.exports = __toCommonJS2(useCheckbox_exports);
22472
- 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();
22392
+ 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();
22473
22393
  function useCheckbox(props, param, ref) {
22474
22394
  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() {
22475
22395
  return (0, import_helpers.composeEventHandlers)(parentKeyDown, function(event) {
@@ -25187,7 +25107,7 @@ var require_Popper_native = __commonJS({
25187
25107
  }
25188
25108
  });
25189
25109
  module2.exports = __toCommonJS2(Popper_exports);
25190
- 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 = {
25110
+ 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 = {
25191
25111
  name: "checkFloating",
25192
25112
  fn(data) {
25193
25113
  return {
@@ -25599,7 +25519,7 @@ var require_Popover_native = __commonJS({
25599
25519
  }
25600
25520
  });
25601
25521
  module2.exports = __toCommonJS2(Popover_exports);
25602
- 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) {
25522
+ 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) {
25603
25523
  var { __scopePopover, ...rest } = props, context = usePopoverContext(__scopePopover), { onCustomAnchorAdd, onCustomAnchorRemove } = context || {};
25604
25524
  return React4.useEffect(function() {
25605
25525
  return onCustomAnchorAdd(), function() {
@@ -26511,7 +26431,7 @@ var require_useRadioGroup_native = __commonJS({
26511
26431
  }
26512
26432
  });
26513
26433
  module2.exports = __toCommonJS2(useRadioGroup_exports);
26514
- 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();
26434
+ 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();
26515
26435
  function useRadioGroup(params) {
26516
26436
  var { value: valueProp, onValueChange, defaultValue, required, disabled, name, native, accentColor, orientation, ref } = params, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
26517
26437
  prop: valueProp,
@@ -27593,7 +27513,7 @@ var require_SelectItem_native = __commonJS({
27593
27513
  }
27594
27514
  });
27595
27515
  module2.exports = __toCommonJS2(SelectItem_exports);
27596
- 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) {
27516
+ 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) {
27597
27517
  var { __scopeSelect, value, disabled = !1, textValue: textValueProp, index, ...restProps } = props, { props: listItemProps } = (0, import_list_item.useListItem)({
27598
27518
  ...!props.unstyled && {
27599
27519
  ellipse: !0
@@ -27758,7 +27678,7 @@ var require_SelectItemText_native = __commonJS({
27758
27678
  }
27759
27679
  });
27760
27680
  module2.exports = __toCommonJS2(SelectItemText_exports);
27761
- 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, {
27681
+ 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, {
27762
27682
  name: ITEM_TEXT_NAME,
27763
27683
  variants: {
27764
27684
  unstyled: {
@@ -27906,7 +27826,7 @@ var require_SelectTrigger_native = __commonJS({
27906
27826
  }
27907
27827
  });
27908
27828
  module2.exports = __toCommonJS2(SelectTrigger_exports);
27909
- 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) {
27829
+ 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) {
27910
27830
  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);
27911
27831
  return itemParentContext.shouldRenderWebNative ? null : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_list_item.ListItem, {
27912
27832
  componentName: TRIGGER_NAME,
@@ -28122,7 +28042,7 @@ var require_Select_native = __commonJS({
28122
28042
  }
28123
28043
  });
28124
28044
  module2.exports = __toCommonJS2(Select_exports);
28125
- 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, {
28045
+ 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, {
28126
28046
  name: VALUE_NAME,
28127
28047
  userSelect: "none"
28128
28048
  }), SelectValue = SelectValueFrame.styleable(function(param, forwardedRef) {
@@ -28897,7 +28817,7 @@ var require_Slider_native = __commonJS({
28897
28817
  }
28898
28818
  });
28899
28819
  module2.exports = __toCommonJS2(Slider_exports);
28900
- 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();
28820
+ 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();
28901
28821
  import_constants4.isWeb && import_constants4.isClient && !process.env.TAMAGUI_DISABLE_SLIDER_INTERVAL && ((_setInterval = setInterval) === null || _setInterval === void 0 || _setInterval(
28902
28822
  function() {
28903
28823
  activeSliderMeasureListeners.forEach(function(cb) {
@@ -29438,7 +29358,7 @@ var require_useSwitch_native = __commonJS({
29438
29358
  }
29439
29359
  });
29440
29360
  module2.exports = __toCommonJS2(useSwitch_exports);
29441
- 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"));
29361
+ 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"));
29442
29362
  function useSwitch(props, param, ref) {
29443
29363
  var [checked, setChecked] = param;
29444
29364
  return {
@@ -29961,7 +29881,7 @@ var require_Tabs_native = __commonJS({
29961
29881
  }
29962
29882
  });
29963
29883
  module2.exports = __toCommonJS2(Tabs_exports);
29964
- 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) {
29884
+ 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) {
29965
29885
  var { __scopeTabs, loop = !0, children, ...listProps } = props, context = useTabsContext(__scopeTabs);
29966
29886
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_roving_focus.RovingFocusGroup, {
29967
29887
  __scopeRovingFocusGroup: __scopeTabs || TABS_CONTEXT,
@@ -31497,7 +31417,7 @@ __reExport(index_exports, __toESM(require_index_native41()), module.exports);
31497
31417
  __reExport(index_exports, __toESM(require_index_native44()), module.exports);
31498
31418
  __reExport(index_exports, __toESM(require_index_native45()), module.exports);
31499
31419
  __reExport(index_exports, __toESM(require_index_native50()), module.exports);
31500
- __reExport(index_exports, __toESM(require_index_native12()), module.exports);
31420
+ __reExport(index_exports, __toESM(require_index_native11()), module.exports);
31501
31421
  __reExport(index_exports, __toESM(require_index_native30()), module.exports);
31502
31422
  __reExport(index_exports, __toESM(require_index_native37()), module.exports);
31503
31423
  __reExport(index_exports, __toESM(require_index_native42()), module.exports);