@thecb/components 11.1.1 → 11.1.2

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/index.esm.js CHANGED
@@ -228,6 +228,58 @@ function __rest(s, e) {
228
228
  t[p[i]] = s[p[i]];
229
229
  }
230
230
  return t;
231
+ }
232
+
233
+ /*! *****************************************************************************
234
+ Copyright (c) Microsoft Corporation.
235
+
236
+ Permission to use, copy, modify, and/or distribute this software for any
237
+ purpose with or without fee is hereby granted.
238
+
239
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
240
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
241
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
242
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
243
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
244
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
245
+ PERFORMANCE OF THIS SOFTWARE.
246
+ ***************************************************************************** */
247
+ /* global Reflect, Promise */
248
+
249
+ var extendStatics$1 = function(d, b) {
250
+ extendStatics$1 = Object.setPrototypeOf ||
251
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
252
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
253
+ return extendStatics$1(d, b);
254
+ };
255
+
256
+ function __extends$1(d, b) {
257
+ extendStatics$1(d, b);
258
+ function __() { this.constructor = d; }
259
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
260
+ }
261
+
262
+ var __assign$1 = function() {
263
+ __assign$1 = Object.assign || function __assign(t) {
264
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
265
+ s = arguments[i];
266
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
267
+ }
268
+ return t;
269
+ };
270
+ return __assign$1.apply(this, arguments);
271
+ };
272
+
273
+ function __rest$1(s, e) {
274
+ var t = {};
275
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
276
+ t[p] = s[p];
277
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
278
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
279
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
280
+ t[p[i]] = s[p[i]];
281
+ }
282
+ return t;
231
283
  }
232
284
 
233
285
  function __spreadArrays() {
@@ -238,6 +290,32 @@ function __spreadArrays() {
238
290
  return r;
239
291
  }
240
292
 
293
+ /*! *****************************************************************************
294
+ Copyright (c) Microsoft Corporation.
295
+
296
+ Permission to use, copy, modify, and/or distribute this software for any
297
+ purpose with or without fee is hereby granted.
298
+
299
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
300
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
301
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
302
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
303
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
304
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
305
+ PERFORMANCE OF THIS SOFTWARE.
306
+ ***************************************************************************** */
307
+
308
+ var __assign$2 = function() {
309
+ __assign$2 = Object.assign || function __assign(t) {
310
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
311
+ s = arguments[i];
312
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
313
+ }
314
+ return t;
315
+ };
316
+ return __assign$2.apply(this, arguments);
317
+ };
318
+
241
319
  var clamp = function (min, max) { return function (v) {
242
320
  return Math.max(Math.min(v, max), min);
243
321
  }; };
@@ -251,8 +329,8 @@ var number = {
251
329
  parse: parseFloat,
252
330
  transform: function (v) { return v; }
253
331
  };
254
- var alpha = __assign(__assign({}, number), { transform: clamp(0, 1) });
255
- var scale = __assign(__assign({}, number), { default: 1 });
332
+ var alpha = __assign$2(__assign$2({}, number), { transform: clamp(0, 1) });
333
+ var scale = __assign$2(__assign$2({}, number), { default: 1 });
256
334
 
257
335
  var createUnitType = function (unit) { return ({
258
336
  test: function (v) {
@@ -266,7 +344,7 @@ var percent = createUnitType('%');
266
344
  var px = createUnitType('px');
267
345
  var vh = createUnitType('vh');
268
346
  var vw = createUnitType('vw');
269
- var progressPercentage = __assign(__assign({}, percent), { parse: function (v) { return percent.parse(v) / 100; }, transform: function (v) { return percent.transform(v * 100); } });
347
+ var progressPercentage = __assign$2(__assign$2({}, percent), { parse: function (v) { return percent.parse(v) / 100; }, transform: function (v) { return percent.transform(v * 100); } });
270
348
 
271
349
  var getValueFromFunctionString = function (value) {
272
350
  return value.substring(value.indexOf('(') + 1, value.lastIndexOf(')'));
@@ -300,7 +378,7 @@ var hslaTemplate = function (_a) {
300
378
  var hue = _a.hue, saturation = _a.saturation, lightness = _a.lightness, _b = _a.alpha, alpha = _b === void 0 ? 1 : _b;
301
379
  return "hsla(" + hue + ", " + saturation + ", " + lightness + ", " + alpha + ")";
302
380
  };
303
- var rgbUnit = __assign(__assign({}, number), { transform: function (v) { return Math.round(clampRgbUnit(v)); } });
381
+ var rgbUnit = __assign$2(__assign$2({}, number), { transform: function (v) { return Math.round(clampRgbUnit(v)); } });
304
382
  function isColorString(color, colorType) {
305
383
  return color.startsWith(colorType) && singleColorRegex.test(color);
306
384
  }
@@ -330,7 +408,7 @@ var hsla = {
330
408
  });
331
409
  }
332
410
  };
333
- var hex = __assign(__assign({}, rgba), { test: function (v) { return typeof v === 'string' && isColorString(v, '#'); }, parse: function (v) {
411
+ var hex = __assign$2(__assign$2({}, rgba), { test: function (v) { return typeof v === 'string' && isColorString(v, '#'); }, parse: function (v) {
334
412
  var r = '';
335
413
  var g = '';
336
414
  var b = '';
@@ -866,15 +944,15 @@ See the Apache Version 2.0 License for specific language governing permissions
866
944
  and limitations under the License.
867
945
  ***************************************************************************** */
868
946
 
869
- var __assign$1 = function() {
870
- __assign$1 = Object.assign || function __assign(t) {
947
+ var __assign$3 = function() {
948
+ __assign$3 = Object.assign || function __assign(t) {
871
949
  for (var s, i = 1, n = arguments.length; i < n; i++) {
872
950
  s = arguments[i];
873
951
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
874
952
  }
875
953
  return t;
876
954
  };
877
- return __assign$1.apply(this, arguments);
955
+ return __assign$3.apply(this, arguments);
878
956
  };
879
957
 
880
958
  var mixLinearColor = function (from, to, v) {
@@ -897,7 +975,7 @@ var mixColor = (function (from, to) {
897
975
  invariant(fromColorType.transform === toColorType.transform, 'Both colors must be hex/RGBA, OR both must be HSLA.');
898
976
  var fromColor = fromColorType.parse(from);
899
977
  var toColor = toColorType.parse(to);
900
- var blended = __assign$1({}, fromColor);
978
+ var blended = __assign$3({}, fromColor);
901
979
  var mixFunc = fromColorType === hsla ? mix : mixLinearColor;
902
980
  return function (v) {
903
981
  for (var key in blended) {
@@ -942,7 +1020,7 @@ var mixArray = function (from, to) {
942
1020
  };
943
1021
  };
944
1022
  var mixObject = function (origin, target) {
945
- var output = __assign$1({}, origin, target);
1023
+ var output = __assign$3({}, origin, target);
946
1024
  var blendValue = {};
947
1025
  for (var key in output) {
948
1026
  if (origin[key] !== undefined && target[key] !== undefined) {
@@ -1154,6 +1232,44 @@ var wrap$1 = curryRange(wrap);
1154
1232
 
1155
1233
  var clampProgress = clamp$1$1(0, 1);
1156
1234
 
1235
+ /*! *****************************************************************************
1236
+ Copyright (c) Microsoft Corporation.
1237
+
1238
+ Permission to use, copy, modify, and/or distribute this software for any
1239
+ purpose with or without fee is hereby granted.
1240
+
1241
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1242
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1243
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1244
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1245
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1246
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1247
+ PERFORMANCE OF THIS SOFTWARE.
1248
+ ***************************************************************************** */
1249
+
1250
+ var __assign$4 = function() {
1251
+ __assign$4 = Object.assign || function __assign(t) {
1252
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
1253
+ s = arguments[i];
1254
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
1255
+ }
1256
+ return t;
1257
+ };
1258
+ return __assign$4.apply(this, arguments);
1259
+ };
1260
+
1261
+ function __rest$2(s, e) {
1262
+ var t = {};
1263
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1264
+ t[p] = s[p];
1265
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
1266
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1267
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1268
+ t[p[i]] = s[p[i]];
1269
+ }
1270
+ return t;
1271
+ }
1272
+
1157
1273
  var createStyler = function (_a) {
1158
1274
  var onRead = _a.onRead,
1159
1275
  onRender = _a.onRender,
@@ -1165,7 +1281,7 @@ var createStyler = function (_a) {
1165
1281
  if (_a === void 0) {
1166
1282
  _a = {};
1167
1283
  }
1168
- var props = __rest(_a, []);
1284
+ var props = __rest$2(_a, []);
1169
1285
  var state = {};
1170
1286
  var changedValues = [];
1171
1287
  var hasChanged = false;
@@ -1285,7 +1401,7 @@ function isTransformOriginProp(key) {
1285
1401
  return transformOriginProps.has(key);
1286
1402
  }
1287
1403
 
1288
- var int = /*#__PURE__*/__assign( /*#__PURE__*/__assign({}, number), { transform: Math.round });
1404
+ var int = /*#__PURE__*/__assign$4( /*#__PURE__*/__assign$4({}, number), { transform: Math.round });
1289
1405
  var valueTypes = {
1290
1406
  color: color,
1291
1407
  backgroundColor: color,
@@ -1517,8 +1633,8 @@ function createCssStyler(element, _a) {
1517
1633
  }
1518
1634
  var enableHardwareAcceleration = _a.enableHardwareAcceleration,
1519
1635
  allowTransformNone = _a.allowTransformNone,
1520
- props = __rest(_a, ["enableHardwareAcceleration", "allowTransformNone"]);
1521
- return cssStyler(__assign({ element: element, buildStyles: createStyleBuilder({
1636
+ props = __rest$2(_a, ["enableHardwareAcceleration", "allowTransformNone"]);
1637
+ return cssStyler(__assign$4({ element: element, buildStyles: createStyleBuilder({
1522
1638
  enableHardwareAcceleration: enableHardwareAcceleration,
1523
1639
  allowTransformNone: allowTransformNone
1524
1640
  }), preparseOutput: true }, props));
@@ -1568,7 +1684,7 @@ function buildSVGAttrs(_a, dimensions, totalPathLength, cssBuilder, attrs, isDas
1568
1684
  pathSpacing = _b === void 0 ? 1 : _b,
1569
1685
  _c = _a.pathOffset,
1570
1686
  pathOffset = _c === void 0 ? 0 : _c,
1571
- state = __rest(_a, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]);
1687
+ state = __rest$2(_a, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]);
1572
1688
  var style = cssBuilder(state);
1573
1689
  for (var key in style) {
1574
1690
  if (key === 'transform') {
@@ -1697,7 +1813,7 @@ var Chainable = /*#__PURE__*/function () {
1697
1813
  this.props = props;
1698
1814
  }
1699
1815
  Chainable.prototype.applyMiddleware = function (middleware) {
1700
- return this.create(__assign(__assign({}, this.props), { middleware: this.props.middleware ? __spreadArrays([middleware], this.props.middleware) : [middleware] }));
1816
+ return this.create(__assign$1(__assign$1({}, this.props), { middleware: this.props.middleware ? __spreadArrays([middleware], this.props.middleware) : [middleware] }));
1701
1817
  };
1702
1818
  Chainable.prototype.pipe = function () {
1703
1819
  var funcs = [];
@@ -1769,7 +1885,7 @@ var createObserver = function (observerCandidate, _a, onComplete) {
1769
1885
  };
1770
1886
 
1771
1887
  var Action = /*#__PURE__*/function (_super) {
1772
- __extends(Action, _super);
1888
+ __extends$1(Action, _super);
1773
1889
  function Action() {
1774
1890
  return _super !== null && _super.apply(this, arguments) || this;
1775
1891
  }
@@ -1788,13 +1904,13 @@ var Action = /*#__PURE__*/function (_super) {
1788
1904
  };
1789
1905
  var _a = this.props,
1790
1906
  init = _a.init,
1791
- observerProps = __rest(_a, ["init"]);
1907
+ observerProps = __rest$1(_a, ["init"]);
1792
1908
  var observer = createObserver(observerCandidate, observerProps, function () {
1793
1909
  isComplete = true;
1794
1910
  subscription.stop();
1795
1911
  });
1796
1912
  var api = init(observer);
1797
- subscription = api ? __assign(__assign({}, subscription), api) : subscription;
1913
+ subscription = api ? __assign$1(__assign$1({}, subscription), api) : subscription;
1798
1914
  if (observerCandidate.registerParent) {
1799
1915
  observerCandidate.registerParent(subscription);
1800
1916
  }
@@ -1808,7 +1924,7 @@ var action = function (init) {
1808
1924
  };
1809
1925
 
1810
1926
  var BaseMulticast = /*#__PURE__*/function (_super) {
1811
- __extends(BaseMulticast, _super);
1927
+ __extends$1(BaseMulticast, _super);
1812
1928
  function BaseMulticast() {
1813
1929
  var _this = _super !== null && _super.apply(this, arguments) || this;
1814
1930
  _this.subscribers = [];
@@ -1868,7 +1984,7 @@ var isSingleValue = function (v) {
1868
1984
  return typeOfV === 'string' || typeOfV === 'number';
1869
1985
  };
1870
1986
  var ValueReaction = /*#__PURE__*/function (_super) {
1871
- __extends(ValueReaction, _super);
1987
+ __extends$1(ValueReaction, _super);
1872
1988
  function ValueReaction(props) {
1873
1989
  var _this = _super.call(this, props) || this;
1874
1990
  _this.scheduleVelocityCheck = function () {
@@ -2118,7 +2234,7 @@ var reduceArrayValue = function (i) {
2118
2234
  var createArrayAction = function (action, props, vectorKeys) {
2119
2235
  var firstVectorKey = vectorKeys[0];
2120
2236
  var actionList = props[firstVectorKey].map(function (v, i) {
2121
- var childActionProps = vectorKeys.reduce(reduceArrayValue(i), __assign({}, props));
2237
+ var childActionProps = vectorKeys.reduce(reduceArrayValue(i), __assign$1({}, props));
2122
2238
  return getActionCreator(v)(action, childActionProps);
2123
2239
  });
2124
2240
  return parallel$1.apply(void 0, actionList);
@@ -2132,7 +2248,7 @@ var reduceObjectValue = function (key) {
2132
2248
  var createObjectAction = function (action, props, vectorKeys) {
2133
2249
  var firstVectorKey = vectorKeys[0];
2134
2250
  var actionMap = Object.keys(props[firstVectorKey]).reduce(function (map, key) {
2135
- var childActionProps = vectorKeys.reduce(reduceObjectValue(key), __assign({}, props));
2251
+ var childActionProps = vectorKeys.reduce(reduceObjectValue(key), __assign$1({}, props));
2136
2252
  map[key] = getActionCreator(props[firstVectorKey][key])(action, childActionProps);
2137
2253
  return map;
2138
2254
  }, {});
@@ -2141,18 +2257,18 @@ var createObjectAction = function (action, props, vectorKeys) {
2141
2257
  var createUnitAction = function (action, _a) {
2142
2258
  var from = _a.from,
2143
2259
  to = _a.to,
2144
- props = __rest(_a, ["from", "to"]);
2260
+ props = __rest$1(_a, ["from", "to"]);
2145
2261
  var unitType = findUnitType(from) || findUnitType(to);
2146
2262
  var transform = unitType.transform,
2147
2263
  parse = unitType.parse;
2148
- return action(__assign(__assign({}, props), { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
2264
+ return action(__assign$1(__assign$1({}, props), { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
2149
2265
  };
2150
2266
  var createMixerAction = function (mixer) {
2151
2267
  return function (action, _a) {
2152
2268
  var from = _a.from,
2153
2269
  to = _a.to,
2154
- props = __rest(_a, ["from", "to"]);
2155
- return action(__assign(__assign({}, props), { from: 0, to: 1 })).pipe(mixer(from, to));
2270
+ props = __rest$1(_a, ["from", "to"]);
2271
+ return action(__assign$1(__assign$1({}, props), { from: 0, to: 1 })).pipe(mixer(from, to));
2156
2272
  };
2157
2273
  };
2158
2274
  var createColorAction = /*#__PURE__*/createMixerAction(mixColor);
@@ -2498,7 +2614,7 @@ var keyframes = function (_a) {
2498
2614
  ease = _b === void 0 ? linear : _b,
2499
2615
  times = _a.times,
2500
2616
  values = _a.values,
2501
- tweenProps = __rest(_a, ["easings", "ease", "times", "values"]);
2617
+ tweenProps = __rest$1(_a, ["easings", "ease", "times", "values"]);
2502
2618
  easings = Array.isArray(easings) ? easings : defaultEasings(values, easings);
2503
2619
  times = times || defaultTimings(values);
2504
2620
  var scrubbers = easings.map(function (easing, i) {
@@ -2508,7 +2624,7 @@ var keyframes = function (_a) {
2508
2624
  ease: easing
2509
2625
  });
2510
2626
  });
2511
- return tween(__assign(__assign({}, tweenProps), { ease: ease })).applyMiddleware(function (update) {
2627
+ return tween(__assign$1(__assign$1({}, tweenProps), { ease: ease })).applyMiddleware(function (update) {
2512
2628
  return interpolateScrubbers(times, scrubbers, update);
2513
2629
  });
2514
2630
  };
@@ -2752,7 +2868,7 @@ var index$1 = function (_a) {
2752
2868
  }
2753
2869
  var x = _a.x,
2754
2870
  y = _a.y,
2755
- props = __rest(_a, ["x", "y"]);
2871
+ props = __rest$1(_a, ["x", "y"]);
2756
2872
  if (x !== undefined || y !== undefined) {
2757
2873
  var applyXOffset_1 = applyOffset(x || 0);
2758
2874
  var applyYOffset_1 = applyOffset(y || 0);
@@ -2826,7 +2942,7 @@ var steps$1 = function (st, min, max) {
2826
2942
  };
2827
2943
  var transformMap = function (childTransformers) {
2828
2944
  return function (v) {
2829
- var output = __assign({}, v);
2945
+ var output = __assign$1({}, v);
2830
2946
  for (var key in childTransformers) {
2831
2947
  if (childTransformers.hasOwnProperty(key)) {
2832
2948
  var childTransformer = childTransformers[key];
@@ -2857,6 +2973,52 @@ var transformers = /*#__PURE__*/Object.freeze({
2857
2973
  transformMap: transformMap
2858
2974
  });
2859
2975
 
2976
+ /*! *****************************************************************************
2977
+ Copyright (c) Microsoft Corporation.
2978
+
2979
+ Permission to use, copy, modify, and/or distribute this software for any
2980
+ purpose with or without fee is hereby granted.
2981
+
2982
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2983
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2984
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2985
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2986
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2987
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2988
+ PERFORMANCE OF THIS SOFTWARE.
2989
+ ***************************************************************************** */
2990
+
2991
+ var __assign$5 = function() {
2992
+ __assign$5 = Object.assign || function __assign(t) {
2993
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
2994
+ s = arguments[i];
2995
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
2996
+ }
2997
+ return t;
2998
+ };
2999
+ return __assign$5.apply(this, arguments);
3000
+ };
3001
+
3002
+ function __rest$3(s, e) {
3003
+ var t = {};
3004
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3005
+ t[p] = s[p];
3006
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
3007
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
3008
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
3009
+ t[p[i]] = s[p[i]];
3010
+ }
3011
+ return t;
3012
+ }
3013
+
3014
+ function __spreadArrays$1() {
3015
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
3016
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
3017
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
3018
+ r[k] = a[j];
3019
+ return r;
3020
+ }
3021
+
2860
3022
  var getPoseValues = function (_a) {
2861
3023
  var transition = _a.transition,
2862
3024
  flip = _a.flip,
@@ -2869,7 +3031,7 @@ var getPoseValues = function (_a) {
2869
3031
  preTransition = _a.preTransition,
2870
3032
  applyAtStart = _a.applyAtStart,
2871
3033
  applyAtEnd = _a.applyAtEnd,
2872
- props = __rest(_a, ["transition", "flip", "delay", "delayChildren", "staggerChildren", "staggerDirection", "afterChildren", "beforeChildren", "preTransition", "applyAtStart", "applyAtEnd"]);
3034
+ props = __rest$3(_a, ["transition", "flip", "delay", "delayChildren", "staggerChildren", "staggerDirection", "afterChildren", "beforeChildren", "preTransition", "applyAtStart", "applyAtEnd"]);
2873
3035
  return props;
2874
3036
  };
2875
3037
  var selectPoses = function (_a) {
@@ -2881,7 +3043,7 @@ var selectPoses = function (_a) {
2881
3043
  onChange = _a.onChange,
2882
3044
  passive = _a.passive,
2883
3045
  initialPose = _a.initialPose,
2884
- poses = __rest(_a, ["label", "props", "values", "parentValues", "ancestorValues", "onChange", "passive", "initialPose"]);
3046
+ poses = __rest$3(_a, ["label", "props", "values", "parentValues", "ancestorValues", "onChange", "passive", "initialPose"]);
2885
3047
  return poses;
2886
3048
  };
2887
3049
  var selectAllValues = function (values, selectValue) {
@@ -2981,7 +3143,7 @@ var createPoseSetter = function (setterProps) {
2981
3143
  var _a = nextProps.delay,
2982
3144
  delay = _a === void 0 ? 0 : _a;
2983
3145
  var hasChildren = children.size;
2984
- var baseTransitionProps = __assign(__assign({}, props), nextProps);
3146
+ var baseTransitionProps = __assign$5(__assign$5({}, props), nextProps);
2985
3147
  var nextPose = poses[next];
2986
3148
  var getChildAnimations = function () {
2987
3149
  return hasChildren && propagate ? startChildAnimations(children, next, nextPose, baseTransitionProps) : [];
@@ -3007,11 +3169,11 @@ var createPoseSetter = function (setterProps) {
3007
3169
  valuePoses.splice(insertionIndex, 0, next);
3008
3170
  return insertionIndex === 0 ? new Promise(function (complete) {
3009
3171
  var value = values.get(key);
3010
- var transitionProps = __assign(__assign({}, baseTransitionProps), { key: key,
3172
+ var transitionProps = __assign$5(__assign$5({}, baseTransitionProps), { key: key,
3011
3173
  value: value });
3012
3174
  var target = resolveTarget(value, resolveProp(nextPose[key], transitionProps));
3013
3175
  if (activeActions.has(key)) stopAction(activeActions.get(key));
3014
- var resolveTransitionProps = __assign(__assign({ to: target }, transitionProps), getTransitionProps(value, target, transitionProps));
3176
+ var resolveTransitionProps = __assign$5(__assign$5({ to: target }, transitionProps), getTransitionProps(value, target, transitionProps));
3015
3177
  var transition = resolveTransition(getTransition, key, value, resolveTransitionProps, convertTransitionDefinition, getInstantTransition);
3016
3178
  var poseDelay = delay || resolveProp(nextPose.delay, transitionProps);
3017
3179
  if (poseDelay) {
@@ -3035,7 +3197,7 @@ var createPoseSetter = function (setterProps) {
3035
3197
  });
3036
3198
  }
3037
3199
  }
3038
- return Promise.all(__spreadArrays(getParentAnimations(), getChildAnimations()));
3200
+ return Promise.all(__spreadArrays$1(getParentAnimations(), getChildAnimations()));
3039
3201
  };
3040
3202
  };
3041
3203
 
@@ -3161,7 +3323,7 @@ var createValueMap = function (props) {
3161
3323
  };
3162
3324
 
3163
3325
  var applyDefaultTransition = function (pose, key, defaultTransitions) {
3164
- return __assign(__assign({}, pose), { transition: defaultTransitions.has(key) ? defaultTransitions.get(key) : defaultTransitions.get('default') });
3326
+ return __assign$5(__assign$5({}, pose), { transition: defaultTransitions.has(key) ? defaultTransitions.get(key) : defaultTransitions.get('default') });
3165
3327
  };
3166
3328
  var generateTransitions = function (poses, defaultTransitions) {
3167
3329
  Object.keys(poses).forEach(function (key) {
@@ -3215,7 +3377,7 @@ var poseFactory = function (_a) {
3215
3377
  var poses = generateTransitions(selectPoses(config), defaultTransitions);
3216
3378
  var _b = config.props,
3217
3379
  props = _b === void 0 ? {} : _b;
3218
- if (getDefaultProps) props = __assign(__assign({}, getDefaultProps(config)), props);
3380
+ if (getDefaultProps) props = __assign$5(__assign$5({}, getDefaultProps(config)), props);
3219
3381
  var passive = config.passive,
3220
3382
  userSetValues = config.values,
3221
3383
  _c = config.initialPose,
@@ -3290,10 +3452,10 @@ var poseFactory = function (_a) {
3290
3452
  },
3291
3453
  has: has,
3292
3454
  setProps: function (newProps) {
3293
- return state.props = __assign(__assign({}, state.props), newProps);
3455
+ return state.props = __assign$5(__assign$5({}, state.props), newProps);
3294
3456
  },
3295
3457
  _addChild: function (childConfig, factory) {
3296
- var child = factory(__assign(__assign({ initialPose: initialPose }, childConfig), { ancestorValues: __spreadArrays([{ label: config.label, values: values }], ancestorValues) }));
3458
+ var child = factory(__assign$5(__assign$5({ initialPose: initialPose }, childConfig), { ancestorValues: __spreadArrays$1([{ label: config.label, values: values }], ancestorValues) }));
3297
3459
  children.add(child);
3298
3460
  return child;
3299
3461
  },
@@ -3332,18 +3494,18 @@ See the Apache Version 2.0 License for specific language governing permissions
3332
3494
  and limitations under the License.
3333
3495
  ***************************************************************************** */
3334
3496
 
3335
- var __assign$2 = function () {
3336
- __assign$2 = Object.assign || function __assign(t) {
3497
+ var __assign$6 = function () {
3498
+ __assign$6 = Object.assign || function __assign(t) {
3337
3499
  for (var s, i = 1, n = arguments.length; i < n; i++) {
3338
3500
  s = arguments[i];
3339
3501
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
3340
3502
  }
3341
3503
  return t;
3342
3504
  };
3343
- return __assign$2.apply(this, arguments);
3505
+ return __assign$6.apply(this, arguments);
3344
3506
  };
3345
3507
 
3346
- function __rest$1(s, e) {
3508
+ function __rest$4(s, e) {
3347
3509
  var t = {};
3348
3510
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
3349
3511
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -3460,12 +3622,12 @@ var intelligentTransition = {
3460
3622
  opacity: linearTween,
3461
3623
  default: tween
3462
3624
  };
3463
- var dragAction = /*#__PURE__*/__assign$2( /*#__PURE__*/__assign$2({}, intelligentTransition), { x: /*#__PURE__*/createPointer(pointerX, 'left', 'right', BoundingBoxDimension.width), y: /*#__PURE__*/createPointer(pointerY, 'top', 'bottom', BoundingBoxDimension.height) });
3625
+ var dragAction = /*#__PURE__*/__assign$6( /*#__PURE__*/__assign$6({}, intelligentTransition), { x: /*#__PURE__*/createPointer(pointerX, 'left', 'right', BoundingBoxDimension.width), y: /*#__PURE__*/createPointer(pointerY, 'top', 'bottom', BoundingBoxDimension.height) });
3464
3626
  var justAxis = function (_a) {
3465
3627
  var from = _a.from;
3466
3628
  return just(from);
3467
3629
  };
3468
- var intelligentDragEnd = /*#__PURE__*/__assign$2( /*#__PURE__*/__assign$2({}, intelligentTransition), { x: justAxis, y: justAxis });
3630
+ var intelligentDragEnd = /*#__PURE__*/__assign$6( /*#__PURE__*/__assign$6({}, intelligentTransition), { x: justAxis, y: justAxis });
3469
3631
  var defaultTransitions = /*#__PURE__*/new Map([['default', intelligentTransition], ['drag', dragAction], ['dragEnd', intelligentDragEnd]]);
3470
3632
 
3471
3633
  var animationLookup = {
@@ -3535,7 +3697,7 @@ var getAction = function (v, _a, _b) {
3535
3697
  var _c = _a.type,
3536
3698
  type = _c === void 0 ? 'tween' : _c,
3537
3699
  definedEase = _a.ease,
3538
- def = __rest$1(_a, ["type", "ease"]);
3700
+ def = __rest$4(_a, ["type", "ease"]);
3539
3701
  invariant(animationLookup[type] !== undefined, "Invalid transition type '" + type + "'. Valid transition types are: tween, spring, decay, physics and keyframes.");
3540
3702
  var ease;
3541
3703
  if (type === 'tween') {
@@ -3560,7 +3722,7 @@ var getAction = function (v, _a, _b) {
3560
3722
  velocity: velocity,
3561
3723
  ease: ease
3562
3724
  } : { ease: ease };
3563
- return animationLookup[type](__assign$2(__assign$2({}, baseProps), def));
3725
+ return animationLookup[type](__assign$6(__assign$6({}, baseProps), def));
3564
3726
  };
3565
3727
  var isAction = function (action$$1) {
3566
3728
  return typeof action$$1.start !== 'undefined';
@@ -3645,7 +3807,7 @@ var pose = function (_a) {
3645
3807
  min = def.min,
3646
3808
  max = def.max,
3647
3809
  round = def.round,
3648
- remainingDef = __rest$1(def, ["delay", "min", "max", "round"]);
3810
+ remainingDef = __rest$4(def, ["delay", "min", "max", "round"]);
3649
3811
  var action$$1 = getAction(val, remainingDef, props);
3650
3812
  var outputPipe = [];
3651
3813
  if (delay$$1) action$$1 = addActionDelay(delay$$1, action$$1);
@@ -3827,7 +3989,7 @@ var explicitlyFlipPose = function (state, nextPose) {
3827
3989
  bottom = nextPose.bottom,
3828
3990
  right = nextPose.right,
3829
3991
  position = nextPose.position,
3830
- remainingPose = __rest$1(nextPose, ["width", "height", "top", "left", "bottom", "right", "position"]);
3992
+ remainingPose = __rest$4(nextPose, ["width", "height", "top", "left", "bottom", "right", "position"]);
3831
3993
  var propsToSet = positionalProps.concat('position').reduce(function (acc, key) {
3832
3994
  if (nextPose[key] !== undefined) {
3833
3995
  acc[key] = resolveProp$1(nextPose[key], state.props);
@@ -3939,7 +4101,7 @@ var convertPositionalUnits = function (state, nextPose) {
3939
4101
  changedPositionalKeys.push(key);
3940
4102
  if (!applyAtEndHasBeenCopied) {
3941
4103
  applyAtEndHasBeenCopied = true;
3942
- nextPose.applyAtEnd = nextPose.applyAtEnd ? __assign$2({}, nextPose.applyAtEnd) : {};
4104
+ nextPose.applyAtEnd = nextPose.applyAtEnd ? __assign$6({}, nextPose.applyAtEnd) : {};
3943
4105
  }
3944
4106
  nextPose.applyAtEnd[key] = nextPose.applyAtEnd[key] || nextPose[key];
3945
4107
  setValue(state, key, to);
@@ -3995,8 +4157,8 @@ var createPoseConfig = function (element, _a) {
3995
4157
  focusable = _a.focusable,
3996
4158
  pressable = _a.pressable,
3997
4159
  dragBounds = _a.dragBounds,
3998
- config = __rest$1(_a, ["onDragStart", "onDragEnd", "onPressStart", "onPressEnd", "draggable", "hoverable", "focusable", "pressable", "dragBounds"]);
3999
- var poseConfig = __assign$2(__assign$2({ flip: {} }, config), { props: __assign$2(__assign$2({}, config.props), { onDragStart: onDragStart,
4160
+ config = __rest$4(_a, ["onDragStart", "onDragEnd", "onPressStart", "onPressEnd", "draggable", "hoverable", "focusable", "pressable", "dragBounds"]);
4161
+ var poseConfig = __assign$6(__assign$6({ flip: {} }, config), { props: __assign$6(__assign$6({}, config.props), { onDragStart: onDragStart,
4000
4162
  onDragEnd: onDragEnd,
4001
4163
  onPressStart: onPressStart,
4002
4164
  onPressEnd: onPressEnd,
@@ -4010,8 +4172,8 @@ var createPoseConfig = function (element, _a) {
4010
4172
  var _b = dragPoses(draggable),
4011
4173
  drag = _b.drag,
4012
4174
  dragEnd = _b.dragEnd;
4013
- poseConfig.drag = __assign$2(__assign$2({}, drag), poseConfig.drag);
4014
- poseConfig.dragEnd = __assign$2(__assign$2({}, dragEnd), poseConfig.dragEnd);
4175
+ poseConfig.drag = __assign$6(__assign$6({}, drag), poseConfig.drag);
4176
+ poseConfig.dragEnd = __assign$6(__assign$6({}, dragEnd), poseConfig.dragEnd);
4015
4177
  }
4016
4178
  return poseConfig;
4017
4179
  };
@@ -4019,7 +4181,7 @@ var domPose = /*#__PURE__*/pose({
4019
4181
  posePriority: ['drag', 'press', 'focus', 'hover'],
4020
4182
  transformPose: function (_a, name, state) {
4021
4183
  var flip = _a.flip,
4022
- pose$$1 = __rest$1(_a, ["flip"]);
4184
+ pose$$1 = __rest$4(_a, ["flip"]);
4023
4185
  if (isFlipPose(flip, name, state)) {
4024
4186
  return flipPose(state, pose$$1);
4025
4187
  } else if (isPositional(pose$$1)) {
@@ -4057,7 +4219,7 @@ var domPose = /*#__PURE__*/pose({
4057
4219
  var props = _a.props,
4058
4220
  activeActions = _a.activeActions;
4059
4221
  var measure = props.dimensions.measure;
4060
- var poserApi = __assign$2(__assign$2({}, api), { addChild: function (element, childConfig) {
4222
+ var poserApi = __assign$6(__assign$6({}, api), { addChild: function (element, childConfig) {
4061
4223
  return api._addChild(createPoseConfig(element, childConfig), domPose);
4062
4224
  }, measure: measure, flip: function (op) {
4063
4225
  if (op) {
@@ -7123,6 +7285,104 @@ var Imposter = function Imposter(_ref) {
7123
7285
  }, rest), safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null)));
7124
7286
  };
7125
7287
 
7288
+ /*! *****************************************************************************
7289
+ Copyright (c) Microsoft Corporation.
7290
+
7291
+ Permission to use, copy, modify, and/or distribute this software for any
7292
+ purpose with or without fee is hereby granted.
7293
+
7294
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
7295
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
7296
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
7297
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
7298
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
7299
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
7300
+ PERFORMANCE OF THIS SOFTWARE.
7301
+ ***************************************************************************** */
7302
+ /* global Reflect, Promise */
7303
+
7304
+ var extendStatics$2 = function(d, b) {
7305
+ extendStatics$2 = Object.setPrototypeOf ||
7306
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7307
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7308
+ return extendStatics$2(d, b);
7309
+ };
7310
+
7311
+ function __extends$2(d, b) {
7312
+ extendStatics$2(d, b);
7313
+ function __() { this.constructor = d; }
7314
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7315
+ }
7316
+
7317
+ var __assign$7 = function() {
7318
+ __assign$7 = Object.assign || function __assign(t) {
7319
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
7320
+ s = arguments[i];
7321
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
7322
+ }
7323
+ return t;
7324
+ };
7325
+ return __assign$7.apply(this, arguments);
7326
+ };
7327
+
7328
+ function __rest$5(s, e) {
7329
+ var t = {};
7330
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
7331
+ t[p] = s[p];
7332
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7333
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7334
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
7335
+ t[p[i]] = s[p[i]];
7336
+ }
7337
+ return t;
7338
+ }
7339
+
7340
+ function __spreadArrays$2() {
7341
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
7342
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
7343
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
7344
+ r[k] = a[j];
7345
+ return r;
7346
+ }
7347
+
7348
+ /*! *****************************************************************************
7349
+ Copyright (c) Microsoft Corporation.
7350
+
7351
+ Permission to use, copy, modify, and/or distribute this software for any
7352
+ purpose with or without fee is hereby granted.
7353
+
7354
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
7355
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
7356
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
7357
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
7358
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
7359
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
7360
+ PERFORMANCE OF THIS SOFTWARE.
7361
+ ***************************************************************************** */
7362
+
7363
+ var __assign$8 = function() {
7364
+ __assign$8 = Object.assign || function __assign(t) {
7365
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
7366
+ s = arguments[i];
7367
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
7368
+ }
7369
+ return t;
7370
+ };
7371
+ return __assign$8.apply(this, arguments);
7372
+ };
7373
+
7374
+ function __rest$6(s, e) {
7375
+ var t = {};
7376
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
7377
+ t[p] = s[p];
7378
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7379
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7380
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
7381
+ t[p[i]] = s[p[i]];
7382
+ }
7383
+ return t;
7384
+ }
7385
+
7126
7386
  var Observer$1 = /*#__PURE__*/function () {
7127
7387
  function Observer(_a, observer) {
7128
7388
  var _this = this;
@@ -7185,18 +7445,18 @@ var Action$1 = /*#__PURE__*/function () {
7185
7445
  };
7186
7446
  var _a = this.props,
7187
7447
  init = _a.init,
7188
- observerProps = __rest(_a, ["init"]);
7448
+ observerProps = __rest$6(_a, ["init"]);
7189
7449
  var observer = createObserver$1(observerCandidate, observerProps, function () {
7190
7450
  isComplete = true;
7191
7451
  subscription.stop();
7192
7452
  });
7193
7453
  var api = init(observer);
7194
- subscription = api ? __assign({}, subscription, api) : subscription;
7454
+ subscription = api ? __assign$8({}, subscription, api) : subscription;
7195
7455
  if (isComplete) subscription.stop();
7196
7456
  return subscription;
7197
7457
  };
7198
7458
  Action.prototype.applyMiddleware = function (middleware) {
7199
- return this.create(__assign({}, this.props, { middleware: this.props.middleware ? [middleware].concat(this.props.middleware) : [middleware] }));
7459
+ return this.create(__assign$8({}, this.props, { middleware: this.props.middleware ? [middleware].concat(this.props.middleware) : [middleware] }));
7200
7460
  };
7201
7461
  Action.prototype.pipe = function () {
7202
7462
  var funcs = [];
@@ -7249,18 +7509,18 @@ var createAction$1 = function (action, props) {
7249
7509
  var createUnitAction$1 = function (action, _a) {
7250
7510
  var from = _a.from,
7251
7511
  to = _a.to,
7252
- props = __rest(_a, ["from", "to"]);
7512
+ props = __rest$6(_a, ["from", "to"]);
7253
7513
  var unitType = findUnitType$1(from) || findUnitType$1(to);
7254
7514
  var transform = unitType.transform,
7255
7515
  parse = unitType.parse;
7256
- return action(__assign({}, props, { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
7516
+ return action(__assign$8({}, props, { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
7257
7517
  };
7258
7518
  var createMixerAction$1 = function (mixer) {
7259
7519
  return function (action, _a) {
7260
7520
  var from = _a.from,
7261
7521
  to = _a.to,
7262
- props = __rest(_a, ["from", "to"]);
7263
- return action(__assign({}, props, { from: 0, to: 1 })).pipe(mixer(from, to));
7522
+ props = __rest$6(_a, ["from", "to"]);
7523
+ return action(__assign$8({}, props, { from: 0, to: 1 })).pipe(mixer(from, to));
7264
7524
  };
7265
7525
  };
7266
7526
  var createColorAction$1 = /*#__PURE__*/createMixerAction$1(mixColor);
@@ -7473,7 +7733,7 @@ var inertia = function (_a) {
7473
7733
  };
7474
7734
  var startSpring = function (props) {
7475
7735
  isSpring = true;
7476
- startAnimation(vectorSpring$1(__assign({}, props, { to: isLessThanMin(props.from) ? min : max, stiffness: bounceStiffness, damping: bounceDamping, restDelta: restDelta })));
7736
+ startAnimation(vectorSpring$1(__assign$8({}, props, { to: isLessThanMin(props.from) ? min : max, stiffness: bounceStiffness, damping: bounceDamping, restDelta: restDelta })));
7477
7737
  };
7478
7738
  if (isOutOfBounds(from)) {
7479
7739
  startSpring({ from: from, velocity: velocity });
@@ -7705,7 +7965,7 @@ var keyframes$1 = function (_a) {
7705
7965
  ease = _b === void 0 ? linear : _b,
7706
7966
  times = _a.times,
7707
7967
  values = _a.values,
7708
- tweenProps = __rest(_a, ["easings", "ease", "times", "values"]);
7968
+ tweenProps = __rest$6(_a, ["easings", "ease", "times", "values"]);
7709
7969
  easings = Array.isArray(easings) ? easings : defaultEasings$1(values, easings);
7710
7970
  times = times || defaultTimings$1(values);
7711
7971
  var scrubbers = easings.map(function (easing, i) {
@@ -7715,7 +7975,7 @@ var keyframes$1 = function (_a) {
7715
7975
  ease: easing
7716
7976
  });
7717
7977
  });
7718
- return tween$1(__assign({}, tweenProps, { ease: ease })).applyMiddleware(function (update) {
7978
+ return tween$1(__assign$8({}, tweenProps, { ease: ease })).applyMiddleware(function (update) {
7719
7979
  return interpolateScrubbers$1(times, scrubbers, update);
7720
7980
  });
7721
7981
  };
@@ -7917,7 +8177,7 @@ var MotionValue = /** @class */ (function () {
7917
8177
  */
7918
8178
  MotionValue.prototype.addChild = function (config) {
7919
8179
  if (config === void 0) { config = {}; }
7920
- var child = new MotionValue(this.current, __assign({ parent: this }, config));
8180
+ var child = new MotionValue(this.current, __assign$7({ parent: this }, config));
7921
8181
  if (!this.children)
7922
8182
  this.children = new Set();
7923
8183
  this.children.add(child);
@@ -8359,7 +8619,7 @@ var buildStyleAttr = function (values, styleProp, isStatic) {
8359
8619
  ? transformTemplate({}, styleProp.transform)
8360
8620
  : transformTemplate;
8361
8621
  }
8362
- return buildStyleProperty(__assign(__assign({}, styleProp), motionValueStyles), !isStatic);
8622
+ return buildStyleProperty(__assign$7(__assign$7({}, styleProp), motionValueStyles), !isStatic);
8363
8623
  };
8364
8624
  var useMotionStyles = function (values, styleProp, isStatic, transformValues) {
8365
8625
  if (styleProp === void 0) { styleProp = {}; }
@@ -8413,7 +8673,7 @@ var auto$1 = {
8413
8673
  parse: function (v) { return v; },
8414
8674
  };
8415
8675
  var dimensionTypes = [number, px, percent, degrees, vw, vh, auto$1];
8416
- var valueTypes$1 = __spreadArrays(dimensionTypes, [color, complex]);
8676
+ var valueTypes$1 = __spreadArrays$2(dimensionTypes, [color, complex]);
8417
8677
  var testValueType$1 = function (v) { return function (type) { return type.test(v); }; };
8418
8678
  var getDimensionValueType = function (v) {
8419
8679
  return dimensionTypes.find(testValueType$1(v));
@@ -8466,7 +8726,7 @@ var getDefaultTransition = function (valueKey, to) {
8466
8726
  transitionFactory =
8467
8727
  defaultTransitions$1[valueKey] || defaultTransitions$1.default;
8468
8728
  }
8469
- return __assign({ to: to }, transitionFactory(to));
8729
+ return __assign$7({ to: to }, transitionFactory(to));
8470
8730
  };
8471
8731
 
8472
8732
  /**
@@ -8562,9 +8822,9 @@ var transitionOptionParser = {
8562
8822
  return opts;
8563
8823
  },
8564
8824
  keyframes: function (_a) {
8565
- var from = _a.from, to = _a.to, velocity = _a.velocity, opts = __rest(_a, ["from", "to", "velocity"]);
8825
+ var from = _a.from, to = _a.to, velocity = _a.velocity, opts = __rest$5(_a, ["from", "to", "velocity"]);
8566
8826
  if (opts.values && opts.values[0] === null) {
8567
- var values = __spreadArrays(opts.values);
8827
+ var values = __spreadArrays$2(opts.values);
8568
8828
  values[0] = from;
8569
8829
  opts.values = values;
8570
8830
  }
@@ -8578,7 +8838,7 @@ var transitionOptionParser = {
8578
8838
  },
8579
8839
  };
8580
8840
  var isTransitionDefined = function (_a) {
8581
- var when = _a.when, delay = _a.delay, delayChildren = _a.delayChildren, staggerChildren = _a.staggerChildren, staggerDirection = _a.staggerDirection, transition = __rest(_a, ["when", "delay", "delayChildren", "staggerChildren", "staggerDirection"]);
8841
+ var when = _a.when, delay = _a.delay, delayChildren = _a.delayChildren, staggerChildren = _a.staggerChildren, staggerDirection = _a.staggerDirection, transition = __rest$5(_a, ["when", "delay", "delayChildren", "staggerChildren", "staggerDirection"]);
8582
8842
  return Object.keys(transition).length;
8583
8843
  };
8584
8844
  var getTransitionDefinition = function (key, to, transitionDefinition) {
@@ -8588,7 +8848,7 @@ var getTransitionDefinition = function (key, to, transitionDefinition) {
8588
8848
  // and see if there's any props remaining
8589
8849
  if (transitionDefinition === undefined ||
8590
8850
  !isTransitionDefined(transitionDefinition)) {
8591
- return __assign({ delay: delay }, getDefaultTransition(key, to));
8851
+ return __assign$7({ delay: delay }, getDefaultTransition(key, to));
8592
8852
  }
8593
8853
  var valueTransitionDefinition = transitionDefinition[key] ||
8594
8854
  transitionDefinition.default ||
@@ -8605,12 +8865,12 @@ var getTransitionDefinition = function (key, to, transitionDefinition) {
8605
8865
  };
8606
8866
  }
8607
8867
  else if (isKeyframesTarget(to)) {
8608
- return __assign(__assign({ values: to, duration: 0.8, delay: delay, ease: "linear" }, valueTransitionDefinition), {
8868
+ return __assign$7(__assign$7({ values: to, duration: 0.8, delay: delay, ease: "linear" }, valueTransitionDefinition), {
8609
8869
  // This animation must be keyframes if we're animating through an array
8610
8870
  type: "keyframes" });
8611
8871
  }
8612
8872
  else {
8613
- return __assign({ type: "tween", to: to,
8873
+ return __assign$7({ type: "tween", to: to,
8614
8874
  delay: delay }, valueTransitionDefinition);
8615
8875
  }
8616
8876
  };
@@ -8627,12 +8887,12 @@ var getAnimation = function (key, value, target, transition) {
8627
8887
  // for instance 100 to #fff. This might live better in Popmotion.
8628
8888
  warning(isOriginAnimatable === isTargetAnimatable, "You are trying to animate " + key + " from \"" + origin + "\" to " + target + ". \"" + origin + "\" is not an animatable value - to enable this animation set " + origin + " to a value animatable to " + target + " via the `style` property.");
8629
8889
  // Parse the `transition` prop and return options for the Popmotion animation
8630
- var _a = getTransitionDefinition(key, target, transition), _b = _a.type, type = _b === void 0 ? "tween" : _b, transitionDefinition = __rest(_a, ["type"]);
8890
+ var _a = getTransitionDefinition(key, target, transition), _b = _a.type, type = _b === void 0 ? "tween" : _b, transitionDefinition = __rest$5(_a, ["type"]);
8631
8891
  // If this is an animatable pair of values, return an animation, otherwise use `just`
8632
8892
  var actionFactory = isOriginAnimatable && isTargetAnimatable
8633
8893
  ? transitions[type]
8634
8894
  : just$1;
8635
- var opts = preprocessOptions(type, __assign({ from: origin, velocity: value.getVelocity() }, transitionDefinition));
8895
+ var opts = preprocessOptions(type, __assign$7({ from: origin, velocity: value.getVelocity() }, transitionDefinition));
8636
8896
  // Convert duration from Framer Motion's seconds into Popmotion's milliseconds
8637
8897
  if (isDurationAnimation(opts)) {
8638
8898
  if (opts.duration) {
@@ -8650,10 +8910,10 @@ var getAnimation = function (key, value, target, transition) {
8650
8910
  * @internal
8651
8911
  */
8652
8912
  function startAnimation(key, value, target, _a) {
8653
- var _b = _a.delay, delay$1$1 = _b === void 0 ? 0 : _b, transition = __rest(_a, ["delay"]);
8913
+ var _b = _a.delay, delay$1$1 = _b === void 0 ? 0 : _b, transition = __rest$5(_a, ["delay"]);
8654
8914
  return value.start(function (complete) {
8655
8915
  var activeAnimation;
8656
- var _a = getAnimation(key, value, target, transition), animationFactory = _a[0], _b = _a[1], valueDelay = _b.delay, options = __rest(_b, ["delay"]);
8916
+ var _a = getAnimation(key, value, target, transition), animationFactory = _a[0], _b = _a[1], valueDelay = _b.delay, options = __rest$5(_b, ["delay"]);
8657
8917
  if (valueDelay !== undefined) {
8658
8918
  delay$1$1 = valueDelay;
8659
8919
  }
@@ -8799,7 +9059,7 @@ var ValueAnimationControls = /** @class */ (function () {
8799
9059
  var _this = this;
8800
9060
  var _b = _a === void 0 ? {} : _a, _c = _b.isActive, isActive = _c === void 0 ? new Set() : _c, priority = _b.priority;
8801
9061
  var _d = this.resolveVariant(definition), target = _d.target, transitionEnd = _d.transitionEnd;
8802
- target = this.transformValues(__assign(__assign({}, target), transitionEnd));
9062
+ target = this.transformValues(__assign$7(__assign$7({}, target), transitionEnd));
8803
9063
  return Object.keys(target).forEach(function (key) {
8804
9064
  if (isActive.has(key))
8805
9065
  return;
@@ -8889,7 +9149,7 @@ var ValueAnimationControls = /** @class */ (function () {
8889
9149
  // resolve current and velocity
8890
9150
  variant = variant(this.props.custom, getCurrent$1(this.values), getVelocity(this.values));
8891
9151
  }
8892
- var _a = variant.transition, transition = _a === void 0 ? this.defaultTransition : _a, transitionEnd = variant.transitionEnd, target = __rest(variant, ["transition", "transitionEnd"]);
9152
+ var _a = variant.transition, transition = _a === void 0 ? this.defaultTransition : _a, transitionEnd = variant.transitionEnd, target = __rest$5(variant, ["transition", "transitionEnd"]);
8893
9153
  return { transition: transition, transitionEnd: transitionEnd, target: target };
8894
9154
  };
8895
9155
  /**
@@ -8980,7 +9240,7 @@ var ValueAnimationControls = /** @class */ (function () {
8980
9240
  ValueAnimationControls.prototype.applyVariantLabels = function (variantLabelList) {
8981
9241
  var _this = this;
8982
9242
  var isActive = new Set();
8983
- var reversedList = __spreadArrays(variantLabelList).reverse();
9243
+ var reversedList = __spreadArrays$2(variantLabelList).reverse();
8984
9244
  reversedList.forEach(function (key) {
8985
9245
  var _a = _this.resolveVariant(_this.variants[key]), target = _a.target, transitionEnd = _a.transitionEnd;
8986
9246
  if (transitionEnd) {
@@ -9051,7 +9311,7 @@ var ValueAnimationControls = /** @class */ (function () {
9051
9311
  if (this.isAnimating.has(key))
9052
9312
  continue;
9053
9313
  this.isAnimating.add(key);
9054
- animations.push(startAnimation(key, value, valueTarget, __assign({ delay: delay }, transition)));
9314
+ animations.push(startAnimation(key, value, valueTarget, __assign$7({ delay: delay }, transition)));
9055
9315
  }
9056
9316
  var allAnimations = Promise.all(animations);
9057
9317
  return transitionEnd
@@ -9062,7 +9322,7 @@ var ValueAnimationControls = /** @class */ (function () {
9062
9322
  };
9063
9323
  ValueAnimationControls.prototype.animateVariantLabels = function (variantLabels, opts) {
9064
9324
  var _this = this;
9065
- var animations = __spreadArrays(variantLabels).reverse()
9325
+ var animations = __spreadArrays$2(variantLabels).reverse()
9066
9326
  .map(function (label) { return _this.animateVariant(label, opts); });
9067
9327
  return Promise.all(animations);
9068
9328
  };
@@ -9506,7 +9766,7 @@ function useValueAnimationControls(config, props, subscribeToParentControls) {
9506
9766
  // Remove reference to onAnimationComplete from controls. All the MotionValues
9507
9767
  // are unsubscribed from this component separately. We let animations run out
9508
9768
  // as they might be animating other components.
9509
- var onAnimationComplete = props.onAnimationComplete, unmountProps = __rest(props, ["onAnimationComplete"]);
9769
+ var onAnimationComplete = props.onAnimationComplete, unmountProps = __rest$5(props, ["onAnimationComplete"]);
9510
9770
  controls.setProps(unmountProps);
9511
9771
  parentControls && parentControls.removeChild(controls);
9512
9772
  };
@@ -9991,7 +10251,7 @@ var PanSession = /** @class */ (function () {
9991
10251
  return;
9992
10252
  var point = info.point;
9993
10253
  var timestamp = getFrameData().timestamp;
9994
- _this.history.push(__assign(__assign({}, point), { timestamp: timestamp }));
10254
+ _this.history.push(__assign$7(__assign$7({}, point), { timestamp: timestamp }));
9995
10255
  var _a = _this.handlers, onStart = _a.onStart, onMove = _a.onMove;
9996
10256
  if (!isPanStarted) {
9997
10257
  onStart && onStart(_this.lastMoveEvent, info);
@@ -10008,7 +10268,7 @@ var PanSession = /** @class */ (function () {
10008
10268
  var initialInfo = transformPoint(info, this.transformPagePoint);
10009
10269
  var point = initialInfo.point;
10010
10270
  var timestamp = getFrameData().timestamp;
10011
- this.history = [__assign(__assign({}, point), { timestamp: timestamp })];
10271
+ this.history = [__assign$7(__assign$7({}, point), { timestamp: timestamp })];
10012
10272
  var onSessionStart = handlers.onSessionStart;
10013
10273
  onSessionStart &&
10014
10274
  onSessionStart(event, getPanInfo(initialInfo, this.history));
@@ -10336,7 +10596,7 @@ var Gestures = {
10336
10596
  return gestureProps.some(function (key) { return props.hasOwnProperty(key); });
10337
10597
  },
10338
10598
  Component: makeRenderlessComponent(function (_a) {
10339
- var innerRef = _a.innerRef, props = __rest(_a, ["innerRef"]);
10599
+ var innerRef = _a.innerRef, props = __rest$5(_a, ["innerRef"]);
10340
10600
  useGestures(props, innerRef);
10341
10601
  }),
10342
10602
  };
@@ -10576,8 +10836,8 @@ var ComponentDragControls = /** @class */ (function () {
10576
10836
  };
10577
10837
  ComponentDragControls.prototype.updateProps = function (_a) {
10578
10838
  var _this = this;
10579
- var _b = _a.drag, drag = _b === void 0 ? false : _b, _c = _a.dragDirectionLock, dragDirectionLock = _c === void 0 ? false : _c, _d = _a.dragPropagation, dragPropagation = _d === void 0 ? false : _d, _e = _a.dragConstraints, dragConstraints = _e === void 0 ? false : _e, _f = _a.dragElastic, dragElastic = _f === void 0 ? true : _f, _g = _a.dragMomentum, dragMomentum = _g === void 0 ? true : _g, remainingProps = __rest(_a, ["drag", "dragDirectionLock", "dragPropagation", "dragConstraints", "dragElastic", "dragMomentum"]);
10580
- this.props = __assign({ drag: drag,
10839
+ var _b = _a.drag, drag = _b === void 0 ? false : _b, _c = _a.dragDirectionLock, dragDirectionLock = _c === void 0 ? false : _c, _d = _a.dragPropagation, dragPropagation = _d === void 0 ? false : _d, _e = _a.dragConstraints, dragConstraints = _e === void 0 ? false : _e, _f = _a.dragElastic, dragElastic = _f === void 0 ? true : _f, _g = _a.dragMomentum, dragMomentum = _g === void 0 ? true : _g, remainingProps = __rest$5(_a, ["drag", "dragDirectionLock", "dragPropagation", "dragConstraints", "dragElastic", "dragMomentum"]);
10840
+ this.props = __assign$7({ drag: drag,
10581
10841
  dragDirectionLock: dragDirectionLock,
10582
10842
  dragPropagation: dragPropagation,
10583
10843
  dragConstraints: dragConstraints,
@@ -10633,7 +10893,7 @@ var ComponentDragControls = /** @class */ (function () {
10633
10893
  var bounceStiffness = dragElastic ? 200 : 1000000;
10634
10894
  var bounceDamping = dragElastic ? 40 : 10000000;
10635
10895
  var animationControls = _dragTransitionControls || _this.controls;
10636
- var inertia = __assign(__assign({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness: bounceStiffness,
10896
+ var inertia = __assign$7(__assign$7({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness: bounceStiffness,
10637
10897
  bounceDamping: bounceDamping, timeConstant: 750, restDelta: 1 }, dragTransition), transition);
10638
10898
  var externalAxisMotionValue = axis === "x" ? _dragValueX : _dragValueY;
10639
10899
  // If we're not animating on an externally-provided `MotionValue` we can use the
@@ -10714,7 +10974,7 @@ function bothAxis(handler) {
10714
10974
  return [handler("x"), handler("y")];
10715
10975
  }
10716
10976
  function convertPanToDrag(info, point) {
10717
- return __assign(__assign({}, info), { point: {
10977
+ return __assign$7(__assign$7({}, info), { point: {
10718
10978
  x: point.x ? point.x.get() : 0,
10719
10979
  y: point.y ? point.y.get() : 0,
10720
10980
  } });
@@ -10825,7 +11085,7 @@ function useDrag(props, ref, values, controls) {
10825
11085
  var groupDragControls = props.dragControls;
10826
11086
  var transformPagePoint = useContext(MotionPluginContext).transformPagePoint;
10827
11087
  var dragControls = useConstant(function () { return new ComponentDragControls({ ref: ref, values: values, controls: controls }); });
10828
- dragControls.updateProps(__assign(__assign({}, props), { transformPagePoint: transformPagePoint }));
11088
+ dragControls.updateProps(__assign$7(__assign$7({}, props), { transformPagePoint: transformPagePoint }));
10829
11089
  useEffect$1(function () { return groupDragControls && groupDragControls.subscribe(dragControls); }, [dragControls]);
10830
11090
  useEffect$1(function () { return dragControls.mount(ref.current); }, []);
10831
11091
  }
@@ -10834,7 +11094,7 @@ var Drag = {
10834
11094
  key: "drag",
10835
11095
  shouldRender: function (props) { return !!props.drag; },
10836
11096
  Component: makeRenderlessComponent(function (_a) {
10837
- var innerRef = _a.innerRef, values = _a.values, controls = _a.controls, props = __rest(_a, ["innerRef", "values", "controls"]);
11097
+ var innerRef = _a.innerRef, values = _a.values, controls = _a.controls, props = __rest$5(_a, ["innerRef", "values", "controls"]);
10838
11098
  return useDrag(props, innerRef, values, controls);
10839
11099
  }),
10840
11100
  };
@@ -10886,14 +11146,14 @@ function getVariableValue(current, element, depth) {
10886
11146
  * @internal
10887
11147
  */
10888
11148
  function resolveCSSVariables(values, ref, _a, transitionEnd) {
10889
- var target = __rest(_a, []);
11149
+ var target = __rest$5(_a, []);
10890
11150
  var element = ref.current;
10891
11151
  if (!(element instanceof HTMLElement))
10892
11152
  return { target: target, transitionEnd: transitionEnd };
10893
11153
  // If `transitionEnd` isn't `undefined`, clone it. We could clone `target` and `transitionEnd`
10894
11154
  // only if they change but I think this reads clearer and this isn't a performance-critical path.
10895
11155
  if (transitionEnd) {
10896
- transitionEnd = __assign({}, transitionEnd);
11156
+ transitionEnd = __assign$7({}, transitionEnd);
10897
11157
  }
10898
11158
  // Go through existing `MotionValue`s and ensure any existing CSS variables are resolved
10899
11159
  values.forEach(function (value) {
@@ -11050,8 +11310,8 @@ var convertChangedValueTypes = function (target, values, element, elementStyler,
11050
11310
  };
11051
11311
  var checkAndConvertChangedValueTypes = function (values, ref, target, transitionEnd) {
11052
11312
  if (transitionEnd === void 0) { transitionEnd = {}; }
11053
- target = __assign({}, target);
11054
- transitionEnd = __assign({}, transitionEnd);
11313
+ target = __assign$7({}, target);
11314
+ transitionEnd = __assign$7({}, transitionEnd);
11055
11315
  var element = ref.current;
11056
11316
  var elementStyler = index(element);
11057
11317
  var targetPositionalKeys = Object.keys(target).filter(isPositionalKey$1);
@@ -11279,7 +11539,7 @@ function calcAxisDelta(prev, next, names) {
11279
11539
  return delta;
11280
11540
  }
11281
11541
  function calcDelta(prev, next) {
11282
- var delta = __assign(__assign({}, calcAxisDelta(prev, next, axisLabels.x)), calcAxisDelta(prev, next, axisLabels.y));
11542
+ var delta = __assign$7(__assign$7({}, calcAxisDelta(prev, next, axisLabels.x)), calcAxisDelta(prev, next, axisLabels.y));
11283
11543
  return delta;
11284
11544
  }
11285
11545
  var offset = {
@@ -11323,7 +11583,7 @@ function getTransition(_a) {
11323
11583
  return layoutTransition || positionTransition;
11324
11584
  }
11325
11585
  var LayoutAnimation = /** @class */ (function (_super) {
11326
- __extends(LayoutAnimation, _super);
11586
+ __extends$2(LayoutAnimation, _super);
11327
11587
  function LayoutAnimation() {
11328
11588
  return _super !== null && _super.apply(this, arguments) || this;
11329
11589
  }
@@ -11390,11 +11650,11 @@ var LayoutAnimation = /** @class */ (function (_super) {
11390
11650
  if (!delta[deltaKey])
11391
11651
  return;
11392
11652
  var baseTransition = typeof transitionDefinition === "boolean"
11393
- ? __assign({}, getDefaultLayoutTransition(isPositionOnly)) : transitionDefinition;
11653
+ ? __assign$7({}, getDefaultLayoutTransition(isPositionOnly)) : transitionDefinition;
11394
11654
  var value = values.get(transformKey, targetValue);
11395
11655
  var velocity = value.getVelocity();
11396
11656
  transition[transformKey] = baseTransition[transformKey]
11397
- ? __assign({}, baseTransition[transformKey]) : __assign({}, baseTransition);
11657
+ ? __assign$7({}, baseTransition[transformKey]) : __assign$7({}, baseTransition);
11398
11658
  if (transition[transformKey].velocity === undefined) {
11399
11659
  transition[transformKey].velocity = velocity || 0;
11400
11660
  }
@@ -11535,9 +11795,9 @@ var hasUpdated = function (prev, next) {
11535
11795
  };
11536
11796
  function targetWithoutTransition(_a, mergeTransitionEnd) {
11537
11797
  if (mergeTransitionEnd === void 0) { mergeTransitionEnd = false; }
11538
- var transition = _a.transition, transitionEnd = _a.transitionEnd, target = __rest(_a, ["transition", "transitionEnd"]);
11798
+ var transition = _a.transition, transitionEnd = _a.transitionEnd, target = __rest$5(_a, ["transition", "transitionEnd"]);
11539
11799
  return mergeTransitionEnd
11540
- ? __assign(__assign({}, target), transitionEnd)
11800
+ ? __assign$7(__assign$7({}, target), transitionEnd)
11541
11801
  : target;
11542
11802
  }
11543
11803
  /**
@@ -11589,9 +11849,9 @@ function useAnimateProp(targetAndTransition, controls, values, defaultTransition
11589
11849
  }
11590
11850
  }
11591
11851
  isInitialRender.current = false;
11592
- prevValues.current = __assign(__assign({}, prevValues.current), finalTarget);
11852
+ prevValues.current = __assign$7(__assign$7({}, prevValues.current), finalTarget);
11593
11853
  if (Object.keys(targetToAnimate).length) {
11594
- controls.start(__assign(__assign({}, targetToAnimate), { transition: targetAndTransition.transition || defaultTransition, transitionEnd: targetAndTransition.transitionEnd }));
11854
+ controls.start(__assign$7(__assign$7({}, targetToAnimate), { transition: targetAndTransition.transition || defaultTransition, transitionEnd: targetAndTransition.transitionEnd }));
11595
11855
  }
11596
11856
  }, [targetAndTransition]);
11597
11857
  }
@@ -11765,7 +12025,7 @@ var Exit = {
11765
12025
  useEffect$1(function () {
11766
12026
  if (!isPresent) {
11767
12027
  if (!isPlayingExitAnimation.current && exit) {
11768
- controls.setProps(__assign(__assign({}, props), { custom: custom }));
12028
+ controls.setProps(__assign$7(__assign$7({}, props), { custom: custom }));
11769
12029
  controls.start(exit).then(onExitComplete);
11770
12030
  }
11771
12031
  isPlayingExitAnimation.current = true;
@@ -11836,7 +12096,7 @@ var buildHTMLProps = function (values, style, isStatic, isDrag) {
11836
12096
  var buildSVGProps = function (values, style) {
11837
12097
  var motionValueStyles = resolveCurrent(values);
11838
12098
  var props = buildSVGAttrs(motionValueStyles, undefined, undefined, undefined, undefined, false);
11839
- props.style = __assign(__assign({}, style), props.style);
12099
+ props.style = __assign$7(__assign$7({}, style), props.style);
11840
12100
  return props;
11841
12101
  };
11842
12102
  var functionalityComponents = [Layout, Drag, Gestures, Exit];
@@ -11855,7 +12115,7 @@ function createDomMotionConfig(Component) {
11855
12115
  var staticVisualStyles = isSVG
11856
12116
  ? buildSVGProps(values, style)
11857
12117
  : buildHTMLProps(values, style, isStatic, !!props.drag);
11858
- return createElement(Component, __assign(__assign(__assign({}, forwardedProps), { ref: ref }), staticVisualStyles));
12118
+ return createElement(Component, __assign$7(__assign$7(__assign$7({}, forwardedProps), { ref: ref }), staticVisualStyles));
11859
12119
  },
11860
12120
  /**
11861
12121
  * loadFunctionalityComponents gets used by the `motion` component
@@ -11886,7 +12146,7 @@ function createDomMotionConfig(Component) {
11886
12146
  for (var i = 0; i < numFunctionalityComponents; i++) {
11887
12147
  var _a = functionalityComponents[i], shouldRender = _a.shouldRender, key = _a.key, Component_1 = _a.Component;
11888
12148
  if (shouldRender(props, context)) {
11889
- activeComponents.push(createElement(Component_1, __assign({ key: key }, props, { parentContext: context, values: values, controls: controls, innerRef: ref })));
12149
+ activeComponents.push(createElement(Component_1, __assign$7({ key: key }, props, { parentContext: context, values: values, controls: controls, innerRef: ref })));
11890
12150
  }
11891
12151
  }
11892
12152
  return activeComponents;
@@ -11938,7 +12198,7 @@ var svgMotionComponents = svgElements.reduce(function (acc, Component) {
11938
12198
  *
11939
12199
  * @public
11940
12200
  */
11941
- var motion = __assign(__assign({
12201
+ var motion = __assign$7(__assign$7({
11942
12202
  /**
11943
12203
  * Convert a custom React component into a `motion` component.
11944
12204
  *
@@ -11990,7 +12250,7 @@ var PresenceChild = function (_a) {
11990
12250
  return function () { return numPresenceChildren.current--; };
11991
12251
  };
11992
12252
  }, [isPresent]);
11993
- return (createElement(PresenceContext.Provider, { value: __assign(__assign({}, context), { register: register }) }, children));
12253
+ return (createElement(PresenceContext.Provider, { value: __assign$7(__assign$7({}, context), { register: register }) }, children));
11994
12254
  };
11995
12255
 
11996
12256
  function getChildKey(child) {
@@ -12106,7 +12366,7 @@ var AnimatePresence = function (_a) {
12106
12366
  return (createElement(Fragment$1, null, filteredChildren.map(function (child) { return (createElement(PresenceChild, { key: getChildKey(child), isPresent: true, initial: initial ? undefined : false }, child)); })));
12107
12367
  }
12108
12368
  // If this is a subsequent render, deal with entering and exiting children
12109
- var childrenToRender = __spreadArrays(filteredChildren);
12369
+ var childrenToRender = __spreadArrays$2(filteredChildren);
12110
12370
  // Diff the keys of the currently-present and target children to update our
12111
12371
  // exiting list.
12112
12372
  var presentKeys = presentChildren.current.map(getChildKey);
@@ -39924,20 +40184,36 @@ var NavTabs = function NavTabs(_ref) {
39924
40184
  };
39925
40185
 
39926
40186
  var shineFrames = keyframes$3(["{0{background-position:0 0;}20%{background-position:100% 100%;}100%{background-position:100% 100%;}}"]);
39927
- var LoadingPill = styled.div.withConfig({
40187
+ var LoadingPill = styled.span.withConfig({
39928
40188
  displayName: "LoadingPillstyled__LoadingPill",
39929
40189
  componentId: "sc-kn9rtt-0"
39930
- })(["width:", "px;background-color:", ";margin:", ";height:", ";border-radius:16px;background-image:linear-gradient( 135deg,", " 0%,", " 40%,", " 60%,", " 100% );background-size:400%;animation:", " 2s infinite ease-in-out;animation-direction:reverse;"], function (_ref) {
40190
+ })(["display:block;width:", "px;background-color:", ";margin:", ";height:", ";border-radius:16px;background-image:linear-gradient( 135deg,", " 0%,", " 40%,", " 60%,", " 100% );background-size:400%;animation:", " 2s infinite ease-in-out;animation-direction:reverse;"], function (_ref) {
39931
40191
  var width = _ref.width;
39932
40192
  return width;
39933
- }, SEASHELL_WHITE, function (_ref2) {
39934
- var margin = _ref2.margin;
39935
- return margin;
40193
+ }, function (_ref2) {
40194
+ var backgroundColor = _ref2.backgroundColor;
40195
+ return backgroundColor;
39936
40196
  }, function (_ref3) {
39937
- var height = _ref3.height;
40197
+ var margin = _ref3.margin;
40198
+ return margin;
40199
+ }, function (_ref4) {
40200
+ var height = _ref4.height;
39938
40201
  return height;
39939
- }, SEASHELL_WHITE, ALABASTER_WHITE, SEASHELL_WHITE, SEASHELL_WHITE, shineFrames);
40202
+ }, function (_ref5) {
40203
+ var backgroundColor = _ref5.backgroundColor;
40204
+ return backgroundColor;
40205
+ }, function (_ref6) {
40206
+ var foregroundColor = _ref6.foregroundColor;
40207
+ return foregroundColor;
40208
+ }, function (_ref7) {
40209
+ var backgroundColor = _ref7.backgroundColor;
40210
+ return backgroundColor;
40211
+ }, function (_ref8) {
40212
+ var backgroundColor = _ref8.backgroundColor;
40213
+ return backgroundColor;
40214
+ }, shineFrames);
39940
40215
 
40216
+ var _excluded$G = ["minWidth", "maxWidth", "exactWidth", "height", "margin", "backgroundColor", "foregroundColor"];
39941
40217
  var LoadingLine = function LoadingLine(_ref) {
39942
40218
  var minWidth = _ref.minWidth,
39943
40219
  maxWidth = _ref.maxWidth,
@@ -39946,13 +40222,21 @@ var LoadingLine = function LoadingLine(_ref) {
39946
40222
  _ref$height = _ref.height,
39947
40223
  height = _ref$height === void 0 ? "16px" : _ref$height,
39948
40224
  _ref$margin = _ref.margin,
39949
- margin = _ref$margin === void 0 ? "0px" : _ref$margin;
40225
+ margin = _ref$margin === void 0 ? "0px" : _ref$margin,
40226
+ _ref$backgroundColor = _ref.backgroundColor,
40227
+ backgroundColor = _ref$backgroundColor === void 0 ? SEASHELL_WHITE : _ref$backgroundColor,
40228
+ _ref$foregroundColor = _ref.foregroundColor,
40229
+ foregroundColor = _ref$foregroundColor === void 0 ? ALABASTER_WHITE : _ref$foregroundColor,
40230
+ props = _objectWithoutProperties(_ref, _excluded$G);
39950
40231
  var calculatedWidth = Math.floor(Math.random() * (parseInt(maxWidth) - parseInt(minWidth) + 1) + parseInt(minWidth));
39951
- return /*#__PURE__*/React.createElement(LoadingPill, {
40232
+ return /*#__PURE__*/React.createElement(LoadingPill, _extends({
40233
+ "aria-label": "loading",
39952
40234
  margin: margin,
39953
40235
  height: height,
39954
- width: exactWidth || calculatedWidth
39955
- });
40236
+ width: exactWidth || calculatedWidth,
40237
+ backgroundColor: backgroundColor,
40238
+ foregroundColor: foregroundColor
40239
+ }, props));
39956
40240
  };
39957
40241
 
39958
40242
  var fontSize$9 = {
@@ -45921,11 +46205,11 @@ var Modal$2 = function Modal(_ref) {
45921
46205
  };
45922
46206
  var ModalControlV2 = withWindowSize(Modal$2);
45923
46207
 
45924
- var _excluded$G = ["version"];
46208
+ var _excluded$H = ["version"];
45925
46209
  var Modal$3 = function Modal(_ref) {
45926
46210
  var _ref$version = _ref.version,
45927
46211
  version = _ref$version === void 0 ? "v1" : _ref$version,
45928
- rest = _objectWithoutProperties(_ref, _excluded$G);
46212
+ rest = _objectWithoutProperties(_ref, _excluded$H);
45929
46213
  var ModalControl = version === "v1" ? Modal$1 : ModalControlV2;
45930
46214
  return /*#__PURE__*/React.createElement(ModalControl, rest);
45931
46215
  };
@@ -47965,7 +48249,7 @@ var fallbackValues$P = {
47965
48249
  labeledAmountTotal: labeledAmountTotal
47966
48250
  };
47967
48251
 
47968
- var _excluded$H = ["amount"],
48252
+ var _excluded$I = ["amount"],
47969
48253
  _excluded2$1 = ["amount"];
47970
48254
  var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
47971
48255
  var lineItemElems = _ref.lineItemElems,
@@ -48208,7 +48492,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
48208
48492
  return fee.amount > 0;
48209
48493
  }).map(function (_ref5) {
48210
48494
  var amount = _ref5.amount,
48211
- rest = _objectWithoutProperties(_ref5, _excluded$H);
48495
+ rest = _objectWithoutProperties(_ref5, _excluded$I);
48212
48496
  return _objectSpread2(_objectSpread2({}, rest), {}, {
48213
48497
  amount: displayCurrency(amount)
48214
48498
  });
@@ -48645,11 +48929,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
48645
48929
  }, errorMessage))))));
48646
48930
  };
48647
48931
 
48648
- var _excluded$I = ["version"];
48932
+ var _excluded$J = ["version"];
48649
48933
  var TermsAndConditions = function TermsAndConditions(_ref) {
48650
48934
  var _ref$version = _ref.version,
48651
48935
  version = _ref$version === void 0 ? "v1" : _ref$version,
48652
- rest = _objectWithoutProperties(_ref, _excluded$I);
48936
+ rest = _objectWithoutProperties(_ref, _excluded$J);
48653
48937
  var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
48654
48938
  return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
48655
48939
  };
@@ -49457,7 +49741,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
49457
49741
  }, section.content))));
49458
49742
  };
49459
49743
 
49460
- var _excluded$J = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "borderOverride"];
49744
+ var _excluded$K = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "borderOverride"];
49461
49745
 
49462
49746
  /**
49463
49747
  - The RadioSection component takes either a flat array (via the 'sections'
@@ -49506,7 +49790,7 @@ var RadioSection = function RadioSection(_ref) {
49506
49790
  isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
49507
49791
  groupedSections = _ref.groupedSections,
49508
49792
  borderOverride = _ref.borderOverride,
49509
- rest = _objectWithoutProperties(_ref, _excluded$J);
49793
+ rest = _objectWithoutProperties(_ref, _excluded$K);
49510
49794
  var _useState = useState(null),
49511
49795
  _useState2 = _slicedToArray(_useState, 2),
49512
49796
  focused = _useState2[0],
@@ -50053,7 +50337,7 @@ var Timeout = function Timeout(_ref) {
50053
50337
  };
50054
50338
  var Timeout$1 = withWindowSize(Timeout);
50055
50339
 
50056
- var _excluded$K = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
50340
+ var _excluded$L = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
50057
50341
  var VARIANTS = {
50058
50342
  SUCCESS: "success",
50059
50343
  ERROR: "error"
@@ -50082,7 +50366,7 @@ var ToastNotification = function ToastNotification(_ref) {
50082
50366
  screenReaderMessage = _ref.screenReaderMessage,
50083
50367
  _ref$showScreenReader = _ref.showScreenReaderMessage,
50084
50368
  showScreenReaderMessage = _ref$showScreenReader === void 0 ? true : _ref$showScreenReader,
50085
- rest = _objectWithoutProperties(_ref, _excluded$K);
50369
+ rest = _objectWithoutProperties(_ref, _excluded$L);
50086
50370
  var screenReaderMessageRef = useRef();
50087
50371
  var LIVEREGION_TRANSITION_DELAY = 1000;
50088
50372
  useEffect$1(function () {
@@ -50265,7 +50549,7 @@ var PopupMenuItemContainer = styled(ButtonWithAction).withConfig({
50265
50549
  return "\n background-color: ".concat(isDeleteAction ? theme.menuItemHoverBackgroundColorDelete : theme.menuItemHoverBackgroundColor, ";\n ");
50266
50550
  });
50267
50551
 
50268
- var _excluded$L = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
50552
+ var _excluded$M = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
50269
50553
  var PopupMenuItem = function PopupMenuItem(_ref) {
50270
50554
  var id = _ref.id,
50271
50555
  closeMenuCallback = _ref.closeMenuCallback,
@@ -50281,7 +50565,7 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
50281
50565
  hoverStyles = _ref.hoverStyles,
50282
50566
  activeStyles = _ref.activeStyles,
50283
50567
  extraStyles = _ref.extraStyles,
50284
- rest = _objectWithoutProperties(_ref, _excluded$L);
50568
+ rest = _objectWithoutProperties(_ref, _excluded$M);
50285
50569
  return /*#__PURE__*/React.createElement(PopupMenuItemContainer, _extends({
50286
50570
  id: id,
50287
50571
  role: "menuItem",
@@ -50520,7 +50804,7 @@ var ActionLinkButton = /*#__PURE__*/forwardRef(function (_ref, ref) {
50520
50804
  });
50521
50805
  });
50522
50806
 
50523
- var _excluded$M = ["width", "height", "color"];
50807
+ var _excluded$N = ["width", "height", "color"];
50524
50808
  var DropdownIconV2 = function DropdownIconV2(_ref) {
50525
50809
  var _ref$width = _ref.width,
50526
50810
  width = _ref$width === void 0 ? "18" : _ref$width,
@@ -50528,7 +50812,7 @@ var DropdownIconV2 = function DropdownIconV2(_ref) {
50528
50812
  height = _ref$height === void 0 ? "19" : _ref$height,
50529
50813
  _ref$color = _ref.color,
50530
50814
  color = _ref$color === void 0 ? "#292A33" : _ref$color,
50531
- props = _objectWithoutProperties(_ref, _excluded$M);
50815
+ props = _objectWithoutProperties(_ref, _excluded$N);
50532
50816
  return /*#__PURE__*/React.createElement("svg", _extends({
50533
50817
  width: width,
50534
50818
  height: height,
@@ -50673,7 +50957,7 @@ var SearchBox = function SearchBox(_ref) {
50673
50957
  }));
50674
50958
  };
50675
50959
 
50676
- var _excluded$N = ["width", "height", "color"];
50960
+ var _excluded$O = ["width", "height", "color"];
50677
50961
  var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
50678
50962
  var _ref$width = _ref.width,
50679
50963
  width = _ref$width === void 0 ? "18" : _ref$width,
@@ -50681,7 +50965,7 @@ var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
50681
50965
  height = _ref$height === void 0 ? "18" : _ref$height,
50682
50966
  _ref$color = _ref.color,
50683
50967
  color = _ref$color === void 0 ? "#FEFEFE" : _ref$color,
50684
- props = _objectWithoutProperties(_ref, _excluded$N);
50968
+ props = _objectWithoutProperties(_ref, _excluded$O);
50685
50969
  return /*#__PURE__*/React.createElement("svg", _extends({
50686
50970
  xmlns: "http://www.w3.org/2000/svg",
50687
50971
  width: width,