@emeraldemperaur/vector-sigma 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/lib/index.cjs +268 -504
  2. package/lib/index.esm.js +232 -468
  3. package/package.json +4 -4
package/lib/index.esm.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
- import React__default, { useState, useLayoutEffect, useContext, useEffect, useMemo, createContext, forwardRef, createElement, useRef, useCallback } from 'react';
2
+ import React__default, { useState, useLayoutEffect, forwardRef, createElement, useRef, useEffect, createContext, useContext, useCallback, useMemo } from 'react';
3
3
  import * as ReactDOM from 'react-dom';
4
4
  import ReactDOM__default from 'react-dom';
5
+ import { useField, useFormikContext } from 'formik';
5
6
 
6
7
  const primeMatrix = (name) => {
7
8
  return `Test ${name}`;
@@ -9228,473 +9229,6 @@ const vectorSigma = (name) => {
9228
9229
  name)));
9229
9230
  };
9230
9231
 
9231
- var isProduction = process.env.NODE_ENV === 'production';
9232
- function warning(condition, message) {
9233
- if (!isProduction) {
9234
-
9235
- var text = "Warning: " + message;
9236
-
9237
- if (typeof console !== 'undefined') {
9238
- console.warn(text);
9239
- }
9240
-
9241
- try {
9242
- throw Error(text);
9243
- } catch (x) {}
9244
- }
9245
- }
9246
-
9247
- var reactIs = {exports: {}};
9248
-
9249
- var reactIs_production_min = {};
9250
-
9251
- /** @license React v16.13.1
9252
- * react-is.production.min.js
9253
- *
9254
- * Copyright (c) Facebook, Inc. and its affiliates.
9255
- *
9256
- * This source code is licensed under the MIT license found in the
9257
- * LICENSE file in the root directory of this source tree.
9258
- */
9259
-
9260
- var hasRequiredReactIs_production_min;
9261
-
9262
- function requireReactIs_production_min () {
9263
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
9264
- hasRequiredReactIs_production_min = 1;
9265
- var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
9266
- Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
9267
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
9268
- reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
9269
- reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
9270
- reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
9271
- return reactIs_production_min;
9272
- }
9273
-
9274
- var reactIs_development = {};
9275
-
9276
- /** @license React v16.13.1
9277
- * react-is.development.js
9278
- *
9279
- * Copyright (c) Facebook, Inc. and its affiliates.
9280
- *
9281
- * This source code is licensed under the MIT license found in the
9282
- * LICENSE file in the root directory of this source tree.
9283
- */
9284
-
9285
- var hasRequiredReactIs_development;
9286
-
9287
- function requireReactIs_development () {
9288
- if (hasRequiredReactIs_development) return reactIs_development;
9289
- hasRequiredReactIs_development = 1;
9290
-
9291
-
9292
-
9293
- if (process.env.NODE_ENV !== "production") {
9294
- (function() {
9295
-
9296
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
9297
- // nor polyfill, then a plain number is used for performance.
9298
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
9299
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
9300
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
9301
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
9302
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
9303
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
9304
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
9305
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
9306
- // (unstable) APIs that have been removed. Can we remove the symbols?
9307
-
9308
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
9309
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
9310
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
9311
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
9312
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
9313
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
9314
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
9315
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
9316
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
9317
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
9318
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
9319
-
9320
- function isValidElementType(type) {
9321
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
9322
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
9323
- }
9324
-
9325
- function typeOf(object) {
9326
- if (typeof object === 'object' && object !== null) {
9327
- var $$typeof = object.$$typeof;
9328
-
9329
- switch ($$typeof) {
9330
- case REACT_ELEMENT_TYPE:
9331
- var type = object.type;
9332
-
9333
- switch (type) {
9334
- case REACT_ASYNC_MODE_TYPE:
9335
- case REACT_CONCURRENT_MODE_TYPE:
9336
- case REACT_FRAGMENT_TYPE:
9337
- case REACT_PROFILER_TYPE:
9338
- case REACT_STRICT_MODE_TYPE:
9339
- case REACT_SUSPENSE_TYPE:
9340
- return type;
9341
-
9342
- default:
9343
- var $$typeofType = type && type.$$typeof;
9344
-
9345
- switch ($$typeofType) {
9346
- case REACT_CONTEXT_TYPE:
9347
- case REACT_FORWARD_REF_TYPE:
9348
- case REACT_LAZY_TYPE:
9349
- case REACT_MEMO_TYPE:
9350
- case REACT_PROVIDER_TYPE:
9351
- return $$typeofType;
9352
-
9353
- default:
9354
- return $$typeof;
9355
- }
9356
-
9357
- }
9358
-
9359
- case REACT_PORTAL_TYPE:
9360
- return $$typeof;
9361
- }
9362
- }
9363
-
9364
- return undefined;
9365
- } // AsyncMode is deprecated along with isAsyncMode
9366
-
9367
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
9368
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
9369
- var ContextConsumer = REACT_CONTEXT_TYPE;
9370
- var ContextProvider = REACT_PROVIDER_TYPE;
9371
- var Element = REACT_ELEMENT_TYPE;
9372
- var ForwardRef = REACT_FORWARD_REF_TYPE;
9373
- var Fragment = REACT_FRAGMENT_TYPE;
9374
- var Lazy = REACT_LAZY_TYPE;
9375
- var Memo = REACT_MEMO_TYPE;
9376
- var Portal = REACT_PORTAL_TYPE;
9377
- var Profiler = REACT_PROFILER_TYPE;
9378
- var StrictMode = REACT_STRICT_MODE_TYPE;
9379
- var Suspense = REACT_SUSPENSE_TYPE;
9380
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
9381
-
9382
- function isAsyncMode(object) {
9383
- {
9384
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
9385
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
9386
-
9387
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
9388
- }
9389
- }
9390
-
9391
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
9392
- }
9393
- function isConcurrentMode(object) {
9394
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
9395
- }
9396
- function isContextConsumer(object) {
9397
- return typeOf(object) === REACT_CONTEXT_TYPE;
9398
- }
9399
- function isContextProvider(object) {
9400
- return typeOf(object) === REACT_PROVIDER_TYPE;
9401
- }
9402
- function isElement(object) {
9403
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
9404
- }
9405
- function isForwardRef(object) {
9406
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
9407
- }
9408
- function isFragment(object) {
9409
- return typeOf(object) === REACT_FRAGMENT_TYPE;
9410
- }
9411
- function isLazy(object) {
9412
- return typeOf(object) === REACT_LAZY_TYPE;
9413
- }
9414
- function isMemo(object) {
9415
- return typeOf(object) === REACT_MEMO_TYPE;
9416
- }
9417
- function isPortal(object) {
9418
- return typeOf(object) === REACT_PORTAL_TYPE;
9419
- }
9420
- function isProfiler(object) {
9421
- return typeOf(object) === REACT_PROFILER_TYPE;
9422
- }
9423
- function isStrictMode(object) {
9424
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
9425
- }
9426
- function isSuspense(object) {
9427
- return typeOf(object) === REACT_SUSPENSE_TYPE;
9428
- }
9429
-
9430
- reactIs_development.AsyncMode = AsyncMode;
9431
- reactIs_development.ConcurrentMode = ConcurrentMode;
9432
- reactIs_development.ContextConsumer = ContextConsumer;
9433
- reactIs_development.ContextProvider = ContextProvider;
9434
- reactIs_development.Element = Element;
9435
- reactIs_development.ForwardRef = ForwardRef;
9436
- reactIs_development.Fragment = Fragment;
9437
- reactIs_development.Lazy = Lazy;
9438
- reactIs_development.Memo = Memo;
9439
- reactIs_development.Portal = Portal;
9440
- reactIs_development.Profiler = Profiler;
9441
- reactIs_development.StrictMode = StrictMode;
9442
- reactIs_development.Suspense = Suspense;
9443
- reactIs_development.isAsyncMode = isAsyncMode;
9444
- reactIs_development.isConcurrentMode = isConcurrentMode;
9445
- reactIs_development.isContextConsumer = isContextConsumer;
9446
- reactIs_development.isContextProvider = isContextProvider;
9447
- reactIs_development.isElement = isElement;
9448
- reactIs_development.isForwardRef = isForwardRef;
9449
- reactIs_development.isFragment = isFragment;
9450
- reactIs_development.isLazy = isLazy;
9451
- reactIs_development.isMemo = isMemo;
9452
- reactIs_development.isPortal = isPortal;
9453
- reactIs_development.isProfiler = isProfiler;
9454
- reactIs_development.isStrictMode = isStrictMode;
9455
- reactIs_development.isSuspense = isSuspense;
9456
- reactIs_development.isValidElementType = isValidElementType;
9457
- reactIs_development.typeOf = typeOf;
9458
- })();
9459
- }
9460
- return reactIs_development;
9461
- }
9462
-
9463
- var hasRequiredReactIs;
9464
-
9465
- function requireReactIs () {
9466
- if (hasRequiredReactIs) return reactIs.exports;
9467
- hasRequiredReactIs = 1;
9468
-
9469
- if (process.env.NODE_ENV === 'production') {
9470
- reactIs.exports = requireReactIs_production_min();
9471
- } else {
9472
- reactIs.exports = requireReactIs_development();
9473
- }
9474
- return reactIs.exports;
9475
- }
9476
-
9477
- var hoistNonReactStatics_cjs;
9478
- var hasRequiredHoistNonReactStatics_cjs;
9479
-
9480
- function requireHoistNonReactStatics_cjs () {
9481
- if (hasRequiredHoistNonReactStatics_cjs) return hoistNonReactStatics_cjs;
9482
- hasRequiredHoistNonReactStatics_cjs = 1;
9483
-
9484
- var reactIs = requireReactIs();
9485
-
9486
- /**
9487
- * Copyright 2015, Yahoo! Inc.
9488
- * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
9489
- */
9490
- var REACT_STATICS = {
9491
- childContextTypes: true,
9492
- contextType: true,
9493
- contextTypes: true,
9494
- defaultProps: true,
9495
- displayName: true,
9496
- getDefaultProps: true,
9497
- getDerivedStateFromError: true,
9498
- getDerivedStateFromProps: true,
9499
- mixins: true,
9500
- propTypes: true,
9501
- type: true
9502
- };
9503
- var KNOWN_STATICS = {
9504
- name: true,
9505
- length: true,
9506
- prototype: true,
9507
- caller: true,
9508
- callee: true,
9509
- arguments: true,
9510
- arity: true
9511
- };
9512
- var FORWARD_REF_STATICS = {
9513
- '$$typeof': true,
9514
- render: true,
9515
- defaultProps: true,
9516
- displayName: true,
9517
- propTypes: true
9518
- };
9519
- var MEMO_STATICS = {
9520
- '$$typeof': true,
9521
- compare: true,
9522
- defaultProps: true,
9523
- displayName: true,
9524
- propTypes: true,
9525
- type: true
9526
- };
9527
- var TYPE_STATICS = {};
9528
- TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
9529
- TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
9530
-
9531
- function getStatics(component) {
9532
- // React v16.11 and below
9533
- if (reactIs.isMemo(component)) {
9534
- return MEMO_STATICS;
9535
- } // React v16.12 and above
9536
-
9537
-
9538
- return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
9539
- }
9540
-
9541
- var defineProperty = Object.defineProperty;
9542
- var getOwnPropertyNames = Object.getOwnPropertyNames;
9543
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
9544
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
9545
- var getPrototypeOf = Object.getPrototypeOf;
9546
- var objectPrototype = Object.prototype;
9547
- function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
9548
- if (typeof sourceComponent !== 'string') {
9549
- // don't hoist over string (html) components
9550
- if (objectPrototype) {
9551
- var inheritedComponent = getPrototypeOf(sourceComponent);
9552
-
9553
- if (inheritedComponent && inheritedComponent !== objectPrototype) {
9554
- hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
9555
- }
9556
- }
9557
-
9558
- var keys = getOwnPropertyNames(sourceComponent);
9559
-
9560
- if (getOwnPropertySymbols) {
9561
- keys = keys.concat(getOwnPropertySymbols(sourceComponent));
9562
- }
9563
-
9564
- var targetStatics = getStatics(targetComponent);
9565
- var sourceStatics = getStatics(sourceComponent);
9566
-
9567
- for (var i = 0; i < keys.length; ++i) {
9568
- var key = keys[i];
9569
-
9570
- if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
9571
- var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
9572
-
9573
- try {
9574
- // Avoid failures from read-only properties
9575
- defineProperty(targetComponent, key, descriptor);
9576
- } catch (e) {}
9577
- }
9578
- }
9579
- }
9580
-
9581
- return targetComponent;
9582
- }
9583
-
9584
- hoistNonReactStatics_cjs = hoistNonReactStatics;
9585
- return hoistNonReactStatics_cjs;
9586
- }
9587
-
9588
- requireHoistNonReactStatics_cjs();
9589
-
9590
- function _extends$5() {
9591
- _extends$5 = Object.assign || function (target) {
9592
- for (var i = 1; i < arguments.length; i++) {
9593
- var source = arguments[i];
9594
-
9595
- for (var key in source) {
9596
- if (Object.prototype.hasOwnProperty.call(source, key)) {
9597
- target[key] = source[key];
9598
- }
9599
- }
9600
- }
9601
-
9602
- return target;
9603
- };
9604
-
9605
- return _extends$5.apply(this, arguments);
9606
- }
9607
-
9608
- function _objectWithoutPropertiesLoose$8(source, excluded) {
9609
- if (source == null) return {};
9610
- var target = {};
9611
- var sourceKeys = Object.keys(source);
9612
- var key, i;
9613
-
9614
- for (i = 0; i < sourceKeys.length; i++) {
9615
- key = sourceKeys[i];
9616
- if (excluded.indexOf(key) >= 0) continue;
9617
- target[key] = source[key];
9618
- }
9619
-
9620
- return target;
9621
- }
9622
-
9623
- var FormikContext = /*#__PURE__*/createContext(undefined);
9624
- FormikContext.displayName = 'FormikContext';
9625
- FormikContext.Provider;
9626
- FormikContext.Consumer;
9627
- function useFormikContext() {
9628
- var formik = useContext(FormikContext);
9629
- !!!formik ? process.env.NODE_ENV !== "production" ? warning(false, "Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component.") : warning() : void 0;
9630
- return formik;
9631
- }
9632
- /** @private is the given object an Object? */
9633
-
9634
- var isObject$3 = function isObject(obj) {
9635
- return obj !== null && typeof obj === 'object';
9636
- };
9637
-
9638
- function useField(propsOrFieldName) {
9639
- var formik = useFormikContext();
9640
- var getFieldProps = formik.getFieldProps,
9641
- getFieldMeta = formik.getFieldMeta,
9642
- getFieldHelpers = formik.getFieldHelpers,
9643
- registerField = formik.registerField,
9644
- unregisterField = formik.unregisterField;
9645
- var isAnObject = isObject$3(propsOrFieldName); // Normalize propsOrFieldName to FieldHookConfig<Val>
9646
-
9647
- var props = isAnObject ? propsOrFieldName : {
9648
- name: propsOrFieldName
9649
- };
9650
- var fieldName = props.name,
9651
- validateFn = props.validate;
9652
- useEffect(function () {
9653
- if (fieldName) {
9654
- registerField(fieldName, {
9655
- validate: validateFn
9656
- });
9657
- }
9658
-
9659
- return function () {
9660
- if (fieldName) {
9661
- unregisterField(fieldName);
9662
- }
9663
- };
9664
- }, [registerField, unregisterField, fieldName, validateFn]);
9665
-
9666
- if (process.env.NODE_ENV !== "production") {
9667
- !formik ? process.env.NODE_ENV !== "production" ? warning(false, 'useField() / <Field /> must be used underneath a <Formik> component or withFormik() higher order component') : warning() : void 0;
9668
- }
9669
-
9670
- !fieldName ? process.env.NODE_ENV !== "production" ? warning(false, 'Invalid field name. Either pass `useField` a string or an object containing a `name` key.') : warning() : void 0;
9671
- var fieldHelpers = useMemo(function () {
9672
- return getFieldHelpers(fieldName);
9673
- }, [getFieldHelpers, fieldName]);
9674
- return [getFieldProps(props), getFieldMeta(fieldName), fieldHelpers];
9675
- }
9676
-
9677
- var Form = /*#__PURE__*/forwardRef(function (props, ref) {
9678
- // iOS needs an "action" attribute for nice input: https://stackoverflow.com/a/39485162/406725
9679
- // We default the action to "#" in case the preventDefault fails (just updates the URL hash)
9680
- var action = props.action,
9681
- rest = _objectWithoutPropertiesLoose$8(props, ["action"]);
9682
-
9683
- var _action = action != null ? action : '#';
9684
-
9685
- var _useFormikContext = useFormikContext(),
9686
- handleReset = _useFormikContext.handleReset,
9687
- handleSubmit = _useFormikContext.handleSubmit;
9688
-
9689
- return createElement("form", _extends$5({
9690
- onSubmit: handleSubmit,
9691
- ref: ref,
9692
- onReset: handleReset,
9693
- action: _action
9694
- }, rest));
9695
- });
9696
- Form.displayName = 'Form';
9697
-
9698
9232
  function _objectWithoutPropertiesLoose$7(source, excluded) {
9699
9233
  if (source == null) return {};
9700
9234
  var target = {};
@@ -29174,6 +28708,236 @@ var metadata$1 = {"version":4,"country_calling_codes":{"1":["US","AG","AI","AS",
29174
28708
 
29175
28709
  var propTypes = {exports: {}};
29176
28710
 
28711
+ var reactIs = {exports: {}};
28712
+
28713
+ var reactIs_production_min = {};
28714
+
28715
+ /** @license React v16.13.1
28716
+ * react-is.production.min.js
28717
+ *
28718
+ * Copyright (c) Facebook, Inc. and its affiliates.
28719
+ *
28720
+ * This source code is licensed under the MIT license found in the
28721
+ * LICENSE file in the root directory of this source tree.
28722
+ */
28723
+
28724
+ var hasRequiredReactIs_production_min;
28725
+
28726
+ function requireReactIs_production_min () {
28727
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
28728
+ hasRequiredReactIs_production_min = 1;
28729
+ var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
28730
+ Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
28731
+ function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
28732
+ reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
28733
+ reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
28734
+ reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
28735
+ return reactIs_production_min;
28736
+ }
28737
+
28738
+ var reactIs_development = {};
28739
+
28740
+ /** @license React v16.13.1
28741
+ * react-is.development.js
28742
+ *
28743
+ * Copyright (c) Facebook, Inc. and its affiliates.
28744
+ *
28745
+ * This source code is licensed under the MIT license found in the
28746
+ * LICENSE file in the root directory of this source tree.
28747
+ */
28748
+
28749
+ var hasRequiredReactIs_development;
28750
+
28751
+ function requireReactIs_development () {
28752
+ if (hasRequiredReactIs_development) return reactIs_development;
28753
+ hasRequiredReactIs_development = 1;
28754
+
28755
+
28756
+
28757
+ if (process.env.NODE_ENV !== "production") {
28758
+ (function() {
28759
+
28760
+ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
28761
+ // nor polyfill, then a plain number is used for performance.
28762
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
28763
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
28764
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
28765
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
28766
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
28767
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
28768
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
28769
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
28770
+ // (unstable) APIs that have been removed. Can we remove the symbols?
28771
+
28772
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
28773
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
28774
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
28775
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
28776
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
28777
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
28778
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
28779
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
28780
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
28781
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
28782
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
28783
+
28784
+ function isValidElementType(type) {
28785
+ return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
28786
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
28787
+ }
28788
+
28789
+ function typeOf(object) {
28790
+ if (typeof object === 'object' && object !== null) {
28791
+ var $$typeof = object.$$typeof;
28792
+
28793
+ switch ($$typeof) {
28794
+ case REACT_ELEMENT_TYPE:
28795
+ var type = object.type;
28796
+
28797
+ switch (type) {
28798
+ case REACT_ASYNC_MODE_TYPE:
28799
+ case REACT_CONCURRENT_MODE_TYPE:
28800
+ case REACT_FRAGMENT_TYPE:
28801
+ case REACT_PROFILER_TYPE:
28802
+ case REACT_STRICT_MODE_TYPE:
28803
+ case REACT_SUSPENSE_TYPE:
28804
+ return type;
28805
+
28806
+ default:
28807
+ var $$typeofType = type && type.$$typeof;
28808
+
28809
+ switch ($$typeofType) {
28810
+ case REACT_CONTEXT_TYPE:
28811
+ case REACT_FORWARD_REF_TYPE:
28812
+ case REACT_LAZY_TYPE:
28813
+ case REACT_MEMO_TYPE:
28814
+ case REACT_PROVIDER_TYPE:
28815
+ return $$typeofType;
28816
+
28817
+ default:
28818
+ return $$typeof;
28819
+ }
28820
+
28821
+ }
28822
+
28823
+ case REACT_PORTAL_TYPE:
28824
+ return $$typeof;
28825
+ }
28826
+ }
28827
+
28828
+ return undefined;
28829
+ } // AsyncMode is deprecated along with isAsyncMode
28830
+
28831
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
28832
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
28833
+ var ContextConsumer = REACT_CONTEXT_TYPE;
28834
+ var ContextProvider = REACT_PROVIDER_TYPE;
28835
+ var Element = REACT_ELEMENT_TYPE;
28836
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
28837
+ var Fragment = REACT_FRAGMENT_TYPE;
28838
+ var Lazy = REACT_LAZY_TYPE;
28839
+ var Memo = REACT_MEMO_TYPE;
28840
+ var Portal = REACT_PORTAL_TYPE;
28841
+ var Profiler = REACT_PROFILER_TYPE;
28842
+ var StrictMode = REACT_STRICT_MODE_TYPE;
28843
+ var Suspense = REACT_SUSPENSE_TYPE;
28844
+ var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
28845
+
28846
+ function isAsyncMode(object) {
28847
+ {
28848
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
28849
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
28850
+
28851
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
28852
+ }
28853
+ }
28854
+
28855
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
28856
+ }
28857
+ function isConcurrentMode(object) {
28858
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
28859
+ }
28860
+ function isContextConsumer(object) {
28861
+ return typeOf(object) === REACT_CONTEXT_TYPE;
28862
+ }
28863
+ function isContextProvider(object) {
28864
+ return typeOf(object) === REACT_PROVIDER_TYPE;
28865
+ }
28866
+ function isElement(object) {
28867
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
28868
+ }
28869
+ function isForwardRef(object) {
28870
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
28871
+ }
28872
+ function isFragment(object) {
28873
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
28874
+ }
28875
+ function isLazy(object) {
28876
+ return typeOf(object) === REACT_LAZY_TYPE;
28877
+ }
28878
+ function isMemo(object) {
28879
+ return typeOf(object) === REACT_MEMO_TYPE;
28880
+ }
28881
+ function isPortal(object) {
28882
+ return typeOf(object) === REACT_PORTAL_TYPE;
28883
+ }
28884
+ function isProfiler(object) {
28885
+ return typeOf(object) === REACT_PROFILER_TYPE;
28886
+ }
28887
+ function isStrictMode(object) {
28888
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
28889
+ }
28890
+ function isSuspense(object) {
28891
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
28892
+ }
28893
+
28894
+ reactIs_development.AsyncMode = AsyncMode;
28895
+ reactIs_development.ConcurrentMode = ConcurrentMode;
28896
+ reactIs_development.ContextConsumer = ContextConsumer;
28897
+ reactIs_development.ContextProvider = ContextProvider;
28898
+ reactIs_development.Element = Element;
28899
+ reactIs_development.ForwardRef = ForwardRef;
28900
+ reactIs_development.Fragment = Fragment;
28901
+ reactIs_development.Lazy = Lazy;
28902
+ reactIs_development.Memo = Memo;
28903
+ reactIs_development.Portal = Portal;
28904
+ reactIs_development.Profiler = Profiler;
28905
+ reactIs_development.StrictMode = StrictMode;
28906
+ reactIs_development.Suspense = Suspense;
28907
+ reactIs_development.isAsyncMode = isAsyncMode;
28908
+ reactIs_development.isConcurrentMode = isConcurrentMode;
28909
+ reactIs_development.isContextConsumer = isContextConsumer;
28910
+ reactIs_development.isContextProvider = isContextProvider;
28911
+ reactIs_development.isElement = isElement;
28912
+ reactIs_development.isForwardRef = isForwardRef;
28913
+ reactIs_development.isFragment = isFragment;
28914
+ reactIs_development.isLazy = isLazy;
28915
+ reactIs_development.isMemo = isMemo;
28916
+ reactIs_development.isPortal = isPortal;
28917
+ reactIs_development.isProfiler = isProfiler;
28918
+ reactIs_development.isStrictMode = isStrictMode;
28919
+ reactIs_development.isSuspense = isSuspense;
28920
+ reactIs_development.isValidElementType = isValidElementType;
28921
+ reactIs_development.typeOf = typeOf;
28922
+ })();
28923
+ }
28924
+ return reactIs_development;
28925
+ }
28926
+
28927
+ var hasRequiredReactIs;
28928
+
28929
+ function requireReactIs () {
28930
+ if (hasRequiredReactIs) return reactIs.exports;
28931
+ hasRequiredReactIs = 1;
28932
+
28933
+ if (process.env.NODE_ENV === 'production') {
28934
+ reactIs.exports = requireReactIs_production_min();
28935
+ } else {
28936
+ reactIs.exports = requireReactIs_development();
28937
+ }
28938
+ return reactIs.exports;
28939
+ }
28940
+
29177
28941
  /*
29178
28942
  object-assign
29179
28943
  (c) Sindre Sorhus