@djb25/digit-ui-module-commonpt 1.0.17 → 1.0.18

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.
@@ -30,9 +30,10 @@ const newConfig = [{
30
30
  type: "component",
31
31
  route: "property-type",
32
32
  isMandatory: true,
33
- component: "CPTPropertyLocationDetails",
33
+ component: "PropertyLocationDetails",
34
34
  texts: {
35
35
  headerCaption: "",
36
+ header: "PT_LOCATION_DETAILS",
36
37
  cardText: "",
37
38
  submitBarLabel: "PT_COMMONS_NEXT"
38
39
  },
@@ -6759,385 +6760,394 @@ const config = [{
6759
6760
  }]
6760
6761
  }];
6761
6762
 
6762
- /** @license React v16.13.1
6763
- * react-is.production.min.js
6764
- *
6765
- * Copyright (c) Facebook, Inc. and its affiliates.
6766
- *
6767
- * This source code is licensed under the MIT license found in the
6768
- * LICENSE file in the root directory of this source tree.
6769
- */
6770
- 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?
6771
- 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;
6772
- 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}var AsyncMode=l;var ConcurrentMode=m;var ContextConsumer=k;var ContextProvider=h;var Element=c;var ForwardRef=n;var Fragment=e;var Lazy=t;var Memo=r;var Portal=d;
6773
- var Profiler=g;var StrictMode=f;var Suspense=p;var isAsyncMode=function(a){return A(a)||z(a)===l};var isConcurrentMode=A;var isContextConsumer=function(a){return z(a)===k};var isContextProvider=function(a){return z(a)===h};var isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};var isForwardRef=function(a){return z(a)===n};var isFragment=function(a){return z(a)===e};var isLazy=function(a){return z(a)===t};
6774
- var isMemo=function(a){return z(a)===r};var isPortal=function(a){return z(a)===d};var isProfiler=function(a){return z(a)===g};var isStrictMode=function(a){return z(a)===f};var isSuspense=function(a){return z(a)===p};
6775
- var 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)};var typeOf=z;
6776
-
6777
- var reactIs_production_min = {
6778
- AsyncMode: AsyncMode,
6779
- ConcurrentMode: ConcurrentMode,
6780
- ContextConsumer: ContextConsumer,
6781
- ContextProvider: ContextProvider,
6782
- Element: Element,
6783
- ForwardRef: ForwardRef,
6784
- Fragment: Fragment,
6785
- Lazy: Lazy,
6786
- Memo: Memo,
6787
- Portal: Portal,
6788
- Profiler: Profiler,
6789
- StrictMode: StrictMode,
6790
- Suspense: Suspense,
6791
- isAsyncMode: isAsyncMode,
6792
- isConcurrentMode: isConcurrentMode,
6793
- isContextConsumer: isContextConsumer,
6794
- isContextProvider: isContextProvider,
6795
- isElement: isElement,
6796
- isForwardRef: isForwardRef,
6797
- isFragment: isFragment,
6798
- isLazy: isLazy,
6799
- isMemo: isMemo,
6800
- isPortal: isPortal,
6801
- isProfiler: isProfiler,
6802
- isStrictMode: isStrictMode,
6803
- isSuspense: isSuspense,
6804
- isValidElementType: isValidElementType,
6805
- typeOf: typeOf
6806
- };
6807
-
6808
- var reactIs_development = createCommonjsModule(function (module, exports) {
6809
-
6810
-
6811
-
6812
- if (process.env.NODE_ENV !== "production") {
6813
- (function() {
6814
-
6815
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
6816
- // nor polyfill, then a plain number is used for performance.
6817
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
6818
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
6819
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
6820
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
6821
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
6822
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
6823
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
6824
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
6825
- // (unstable) APIs that have been removed. Can we remove the symbols?
6826
-
6827
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
6828
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
6829
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
6830
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
6831
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
6832
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
6833
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
6834
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
6835
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
6836
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
6837
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
6838
-
6839
- function isValidElementType(type) {
6840
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
6841
- 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);
6842
- }
6843
-
6844
- function typeOf(object) {
6845
- if (typeof object === 'object' && object !== null) {
6846
- var $$typeof = object.$$typeof;
6847
-
6848
- switch ($$typeof) {
6849
- case REACT_ELEMENT_TYPE:
6850
- var type = object.type;
6851
-
6852
- switch (type) {
6853
- case REACT_ASYNC_MODE_TYPE:
6854
- case REACT_CONCURRENT_MODE_TYPE:
6855
- case REACT_FRAGMENT_TYPE:
6856
- case REACT_PROFILER_TYPE:
6857
- case REACT_STRICT_MODE_TYPE:
6858
- case REACT_SUSPENSE_TYPE:
6859
- return type;
6860
-
6763
+ var b = "function" === typeof Symbol && Symbol.for,
6764
+ c = b ? Symbol.for("react.element") : 60103,
6765
+ d = b ? Symbol.for("react.portal") : 60106,
6766
+ e = b ? Symbol.for("react.fragment") : 60107,
6767
+ f = b ? Symbol.for("react.strict_mode") : 60108,
6768
+ g = b ? Symbol.for("react.profiler") : 60114,
6769
+ h = b ? Symbol.for("react.provider") : 60109,
6770
+ k = b ? Symbol.for("react.context") : 60110,
6771
+ l = b ? Symbol.for("react.async_mode") : 60111,
6772
+ m = b ? Symbol.for("react.concurrent_mode") : 60111,
6773
+ n = b ? Symbol.for("react.forward_ref") : 60112,
6774
+ p = b ? Symbol.for("react.suspense") : 60113,
6775
+ q = b ? Symbol.for("react.suspense_list") : 60120,
6776
+ r = b ? Symbol.for("react.memo") : 60115,
6777
+ t = b ? Symbol.for("react.lazy") : 60116,
6778
+ v = b ? Symbol.for("react.block") : 60121,
6779
+ w = b ? Symbol.for("react.fundamental") : 60117,
6780
+ x = b ? Symbol.for("react.responder") : 60118,
6781
+ y = b ? Symbol.for("react.scope") : 60119;
6782
+ function z(a) {
6783
+ if ("object" === typeof a && null !== a) {
6784
+ var u = a.$$typeof;
6785
+ switch (u) {
6786
+ case c:
6787
+ switch (a = a.type, a) {
6788
+ case l:
6789
+ case m:
6790
+ case e:
6791
+ case g:
6792
+ case f:
6793
+ case p:
6794
+ return a;
6861
6795
  default:
6862
- var $$typeofType = type && type.$$typeof;
6863
-
6864
- switch ($$typeofType) {
6865
- case REACT_CONTEXT_TYPE:
6866
- case REACT_FORWARD_REF_TYPE:
6867
- case REACT_LAZY_TYPE:
6868
- case REACT_MEMO_TYPE:
6869
- case REACT_PROVIDER_TYPE:
6870
- return $$typeofType;
6871
-
6796
+ switch (a = a && a.$$typeof, a) {
6797
+ case k:
6798
+ case n:
6799
+ case t:
6800
+ case r:
6801
+ case h:
6802
+ return a;
6872
6803
  default:
6873
- return $$typeof;
6804
+ return u;
6874
6805
  }
6875
-
6876
6806
  }
6877
-
6878
- case REACT_PORTAL_TYPE:
6879
- return $$typeof;
6880
- }
6881
- }
6882
-
6883
- return undefined;
6884
- } // AsyncMode is deprecated along with isAsyncMode
6885
-
6886
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
6887
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
6888
- var ContextConsumer = REACT_CONTEXT_TYPE;
6889
- var ContextProvider = REACT_PROVIDER_TYPE;
6890
- var Element = REACT_ELEMENT_TYPE;
6891
- var ForwardRef = REACT_FORWARD_REF_TYPE;
6892
- var Fragment = REACT_FRAGMENT_TYPE;
6893
- var Lazy = REACT_LAZY_TYPE;
6894
- var Memo = REACT_MEMO_TYPE;
6895
- var Portal = REACT_PORTAL_TYPE;
6896
- var Profiler = REACT_PROFILER_TYPE;
6897
- var StrictMode = REACT_STRICT_MODE_TYPE;
6898
- var Suspense = REACT_SUSPENSE_TYPE;
6899
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
6900
-
6901
- function isAsyncMode(object) {
6902
- {
6903
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
6904
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
6905
-
6906
- 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.');
6807
+ case d:
6808
+ return u;
6907
6809
  }
6908
6810
  }
6909
-
6910
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
6911
- }
6912
- function isConcurrentMode(object) {
6913
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
6914
6811
  }
6915
- function isContextConsumer(object) {
6916
- return typeOf(object) === REACT_CONTEXT_TYPE;
6917
- }
6918
- function isContextProvider(object) {
6919
- return typeOf(object) === REACT_PROVIDER_TYPE;
6920
- }
6921
- function isElement(object) {
6922
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
6923
- }
6924
- function isForwardRef(object) {
6925
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
6926
- }
6927
- function isFragment(object) {
6928
- return typeOf(object) === REACT_FRAGMENT_TYPE;
6929
- }
6930
- function isLazy(object) {
6931
- return typeOf(object) === REACT_LAZY_TYPE;
6932
- }
6933
- function isMemo(object) {
6934
- return typeOf(object) === REACT_MEMO_TYPE;
6935
- }
6936
- function isPortal(object) {
6937
- return typeOf(object) === REACT_PORTAL_TYPE;
6938
- }
6939
- function isProfiler(object) {
6940
- return typeOf(object) === REACT_PROFILER_TYPE;
6941
- }
6942
- function isStrictMode(object) {
6943
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
6944
- }
6945
- function isSuspense(object) {
6946
- return typeOf(object) === REACT_SUSPENSE_TYPE;
6812
+ function A(a) {
6813
+ return z(a) === m;
6947
6814
  }
6815
+ var AsyncMode = l;
6816
+ var ConcurrentMode = m;
6817
+ var ContextConsumer = k;
6818
+ var ContextProvider = h;
6819
+ var Element = c;
6820
+ var ForwardRef = n;
6821
+ var Fragment = e;
6822
+ var Lazy = t;
6823
+ var Memo = r;
6824
+ var Portal = d;
6825
+ var Profiler = g;
6826
+ var StrictMode = f;
6827
+ var Suspense = p;
6828
+ var isAsyncMode = function (a) {
6829
+ return A(a) || z(a) === l;
6830
+ };
6831
+ var isConcurrentMode = A;
6832
+ var isContextConsumer = function (a) {
6833
+ return z(a) === k;
6834
+ };
6835
+ var isContextProvider = function (a) {
6836
+ return z(a) === h;
6837
+ };
6838
+ var isElement = function (a) {
6839
+ return "object" === typeof a && null !== a && a.$$typeof === c;
6840
+ };
6841
+ var isForwardRef = function (a) {
6842
+ return z(a) === n;
6843
+ };
6844
+ var isFragment = function (a) {
6845
+ return z(a) === e;
6846
+ };
6847
+ var isLazy = function (a) {
6848
+ return z(a) === t;
6849
+ };
6850
+ var isMemo = function (a) {
6851
+ return z(a) === r;
6852
+ };
6853
+ var isPortal = function (a) {
6854
+ return z(a) === d;
6855
+ };
6856
+ var isProfiler = function (a) {
6857
+ return z(a) === g;
6858
+ };
6859
+ var isStrictMode = function (a) {
6860
+ return z(a) === f;
6861
+ };
6862
+ var isSuspense = function (a) {
6863
+ return z(a) === p;
6864
+ };
6865
+ var isValidElementType = function (a) {
6866
+ 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);
6867
+ };
6868
+ var typeOf = z;
6869
+ var reactIs_production_min = {
6870
+ AsyncMode: AsyncMode,
6871
+ ConcurrentMode: ConcurrentMode,
6872
+ ContextConsumer: ContextConsumer,
6873
+ ContextProvider: ContextProvider,
6874
+ Element: Element,
6875
+ ForwardRef: ForwardRef,
6876
+ Fragment: Fragment,
6877
+ Lazy: Lazy,
6878
+ Memo: Memo,
6879
+ Portal: Portal,
6880
+ Profiler: Profiler,
6881
+ StrictMode: StrictMode,
6882
+ Suspense: Suspense,
6883
+ isAsyncMode: isAsyncMode,
6884
+ isConcurrentMode: isConcurrentMode,
6885
+ isContextConsumer: isContextConsumer,
6886
+ isContextProvider: isContextProvider,
6887
+ isElement: isElement,
6888
+ isForwardRef: isForwardRef,
6889
+ isFragment: isFragment,
6890
+ isLazy: isLazy,
6891
+ isMemo: isMemo,
6892
+ isPortal: isPortal,
6893
+ isProfiler: isProfiler,
6894
+ isStrictMode: isStrictMode,
6895
+ isSuspense: isSuspense,
6896
+ isValidElementType: isValidElementType,
6897
+ typeOf: typeOf
6898
+ };
6948
6899
 
6949
- exports.AsyncMode = AsyncMode;
6950
- exports.ConcurrentMode = ConcurrentMode;
6951
- exports.ContextConsumer = ContextConsumer;
6952
- exports.ContextProvider = ContextProvider;
6953
- exports.Element = Element;
6954
- exports.ForwardRef = ForwardRef;
6955
- exports.Fragment = Fragment;
6956
- exports.Lazy = Lazy;
6957
- exports.Memo = Memo;
6958
- exports.Portal = Portal;
6959
- exports.Profiler = Profiler;
6960
- exports.StrictMode = StrictMode;
6961
- exports.Suspense = Suspense;
6962
- exports.isAsyncMode = isAsyncMode;
6963
- exports.isConcurrentMode = isConcurrentMode;
6964
- exports.isContextConsumer = isContextConsumer;
6965
- exports.isContextProvider = isContextProvider;
6966
- exports.isElement = isElement;
6967
- exports.isForwardRef = isForwardRef;
6968
- exports.isFragment = isFragment;
6969
- exports.isLazy = isLazy;
6970
- exports.isMemo = isMemo;
6971
- exports.isPortal = isPortal;
6972
- exports.isProfiler = isProfiler;
6973
- exports.isStrictMode = isStrictMode;
6974
- exports.isSuspense = isSuspense;
6975
- exports.isValidElementType = isValidElementType;
6976
- exports.typeOf = typeOf;
6977
- })();
6978
- }
6900
+ var reactIs_development = createCommonjsModule(function (module, exports) {
6901
+
6902
+ if (process.env.NODE_ENV !== "production") {
6903
+ (function () {
6904
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
6905
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
6906
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
6907
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
6908
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
6909
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
6910
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
6911
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
6912
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
6913
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
6914
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
6915
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
6916
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
6917
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
6918
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
6919
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
6920
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
6921
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
6922
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
6923
+ function isValidElementType(type) {
6924
+ return typeof type === 'string' || typeof type === 'function' || 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);
6925
+ }
6926
+ function typeOf(object) {
6927
+ if (typeof object === 'object' && object !== null) {
6928
+ var $$typeof = object.$$typeof;
6929
+ switch ($$typeof) {
6930
+ case REACT_ELEMENT_TYPE:
6931
+ var type = object.type;
6932
+ switch (type) {
6933
+ case REACT_ASYNC_MODE_TYPE:
6934
+ case REACT_CONCURRENT_MODE_TYPE:
6935
+ case REACT_FRAGMENT_TYPE:
6936
+ case REACT_PROFILER_TYPE:
6937
+ case REACT_STRICT_MODE_TYPE:
6938
+ case REACT_SUSPENSE_TYPE:
6939
+ return type;
6940
+ default:
6941
+ var $$typeofType = type && type.$$typeof;
6942
+ switch ($$typeofType) {
6943
+ case REACT_CONTEXT_TYPE:
6944
+ case REACT_FORWARD_REF_TYPE:
6945
+ case REACT_LAZY_TYPE:
6946
+ case REACT_MEMO_TYPE:
6947
+ case REACT_PROVIDER_TYPE:
6948
+ return $$typeofType;
6949
+ default:
6950
+ return $$typeof;
6951
+ }
6952
+ }
6953
+ case REACT_PORTAL_TYPE:
6954
+ return $$typeof;
6955
+ }
6956
+ }
6957
+ return undefined;
6958
+ }
6959
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
6960
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
6961
+ var ContextConsumer = REACT_CONTEXT_TYPE;
6962
+ var ContextProvider = REACT_PROVIDER_TYPE;
6963
+ var Element = REACT_ELEMENT_TYPE;
6964
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
6965
+ var Fragment = REACT_FRAGMENT_TYPE;
6966
+ var Lazy = REACT_LAZY_TYPE;
6967
+ var Memo = REACT_MEMO_TYPE;
6968
+ var Portal = REACT_PORTAL_TYPE;
6969
+ var Profiler = REACT_PROFILER_TYPE;
6970
+ var StrictMode = REACT_STRICT_MODE_TYPE;
6971
+ var Suspense = REACT_SUSPENSE_TYPE;
6972
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
6973
+ function isAsyncMode(object) {
6974
+ {
6975
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
6976
+ hasWarnedAboutDeprecatedIsAsyncMode = true;
6977
+ 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.');
6978
+ }
6979
+ }
6980
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
6981
+ }
6982
+ function isConcurrentMode(object) {
6983
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
6984
+ }
6985
+ function isContextConsumer(object) {
6986
+ return typeOf(object) === REACT_CONTEXT_TYPE;
6987
+ }
6988
+ function isContextProvider(object) {
6989
+ return typeOf(object) === REACT_PROVIDER_TYPE;
6990
+ }
6991
+ function isElement(object) {
6992
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
6993
+ }
6994
+ function isForwardRef(object) {
6995
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
6996
+ }
6997
+ function isFragment(object) {
6998
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
6999
+ }
7000
+ function isLazy(object) {
7001
+ return typeOf(object) === REACT_LAZY_TYPE;
7002
+ }
7003
+ function isMemo(object) {
7004
+ return typeOf(object) === REACT_MEMO_TYPE;
7005
+ }
7006
+ function isPortal(object) {
7007
+ return typeOf(object) === REACT_PORTAL_TYPE;
7008
+ }
7009
+ function isProfiler(object) {
7010
+ return typeOf(object) === REACT_PROFILER_TYPE;
7011
+ }
7012
+ function isStrictMode(object) {
7013
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
7014
+ }
7015
+ function isSuspense(object) {
7016
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
7017
+ }
7018
+ exports.AsyncMode = AsyncMode;
7019
+ exports.ConcurrentMode = ConcurrentMode;
7020
+ exports.ContextConsumer = ContextConsumer;
7021
+ exports.ContextProvider = ContextProvider;
7022
+ exports.Element = Element;
7023
+ exports.ForwardRef = ForwardRef;
7024
+ exports.Fragment = Fragment;
7025
+ exports.Lazy = Lazy;
7026
+ exports.Memo = Memo;
7027
+ exports.Portal = Portal;
7028
+ exports.Profiler = Profiler;
7029
+ exports.StrictMode = StrictMode;
7030
+ exports.Suspense = Suspense;
7031
+ exports.isAsyncMode = isAsyncMode;
7032
+ exports.isConcurrentMode = isConcurrentMode;
7033
+ exports.isContextConsumer = isContextConsumer;
7034
+ exports.isContextProvider = isContextProvider;
7035
+ exports.isElement = isElement;
7036
+ exports.isForwardRef = isForwardRef;
7037
+ exports.isFragment = isFragment;
7038
+ exports.isLazy = isLazy;
7039
+ exports.isMemo = isMemo;
7040
+ exports.isPortal = isPortal;
7041
+ exports.isProfiler = isProfiler;
7042
+ exports.isStrictMode = isStrictMode;
7043
+ exports.isSuspense = isSuspense;
7044
+ exports.isValidElementType = isValidElementType;
7045
+ exports.typeOf = typeOf;
7046
+ })();
7047
+ }
6979
7048
  });
6980
7049
 
6981
7050
  var reactIs = createCommonjsModule(function (module) {
6982
7051
 
6983
- if (process.env.NODE_ENV === 'production') {
6984
- module.exports = reactIs_production_min;
6985
- } else {
6986
- module.exports = reactIs_development;
6987
- }
7052
+ if (process.env.NODE_ENV === 'production') {
7053
+ module.exports = reactIs_production_min;
7054
+ } else {
7055
+ module.exports = reactIs_development;
7056
+ }
6988
7057
  });
6989
7058
 
6990
- /*
6991
- object-assign
6992
- (c) Sindre Sorhus
6993
- @license MIT
6994
- */
6995
- /* eslint-disable no-unused-vars */
6996
7059
  var getOwnPropertySymbols = Object.getOwnPropertySymbols;
6997
7060
  var hasOwnProperty = Object.prototype.hasOwnProperty;
6998
7061
  var propIsEnumerable = Object.prototype.propertyIsEnumerable;
6999
-
7000
7062
  function toObject(val) {
7001
- if (val === null || val === undefined) {
7002
- throw new TypeError('Object.assign cannot be called with null or undefined');
7003
- }
7004
-
7005
- return Object(val);
7063
+ if (val === null || val === undefined) {
7064
+ throw new TypeError('Object.assign cannot be called with null or undefined');
7065
+ }
7066
+ return Object(val);
7006
7067
  }
7007
-
7008
7068
  function shouldUseNative() {
7009
- try {
7010
- if (!Object.assign) {
7011
- return false;
7012
- }
7013
-
7014
- // Detect buggy property enumeration order in older V8 versions.
7015
-
7016
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
7017
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
7018
- test1[5] = 'de';
7019
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
7020
- return false;
7021
- }
7022
-
7023
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
7024
- var test2 = {};
7025
- for (var i = 0; i < 10; i++) {
7026
- test2['_' + String.fromCharCode(i)] = i;
7027
- }
7028
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
7029
- return test2[n];
7030
- });
7031
- if (order2.join('') !== '0123456789') {
7032
- return false;
7033
- }
7034
-
7035
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
7036
- var test3 = {};
7037
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
7038
- test3[letter] = letter;
7039
- });
7040
- if (Object.keys(Object.assign({}, test3)).join('') !==
7041
- 'abcdefghijklmnopqrst') {
7042
- return false;
7043
- }
7044
-
7045
- return true;
7046
- } catch (err) {
7047
- // We don't expect any of the above to throw, but better to be safe.
7048
- return false;
7049
- }
7069
+ try {
7070
+ if (!Object.assign) {
7071
+ return false;
7072
+ }
7073
+ var test1 = new String('abc');
7074
+ test1[5] = 'de';
7075
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
7076
+ return false;
7077
+ }
7078
+ var test2 = {};
7079
+ for (var i = 0; i < 10; i++) {
7080
+ test2['_' + String.fromCharCode(i)] = i;
7081
+ }
7082
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
7083
+ return test2[n];
7084
+ });
7085
+ if (order2.join('') !== '0123456789') {
7086
+ return false;
7087
+ }
7088
+ var test3 = {};
7089
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
7090
+ test3[letter] = letter;
7091
+ });
7092
+ if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') {
7093
+ return false;
7094
+ }
7095
+ return true;
7096
+ } catch (err) {
7097
+ return false;
7098
+ }
7050
7099
  }
7051
-
7052
7100
  var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
7053
- var from;
7054
- var to = toObject(target);
7055
- var symbols;
7056
-
7057
- for (var s = 1; s < arguments.length; s++) {
7058
- from = Object(arguments[s]);
7059
-
7060
- for (var key in from) {
7061
- if (hasOwnProperty.call(from, key)) {
7062
- to[key] = from[key];
7063
- }
7064
- }
7065
-
7066
- if (getOwnPropertySymbols) {
7067
- symbols = getOwnPropertySymbols(from);
7068
- for (var i = 0; i < symbols.length; i++) {
7069
- if (propIsEnumerable.call(from, symbols[i])) {
7070
- to[symbols[i]] = from[symbols[i]];
7071
- }
7072
- }
7073
- }
7074
- }
7075
-
7076
- return to;
7101
+ var from;
7102
+ var to = toObject(target);
7103
+ var symbols;
7104
+ for (var s = 1; s < arguments.length; s++) {
7105
+ from = Object(arguments[s]);
7106
+ for (var key in from) {
7107
+ if (hasOwnProperty.call(from, key)) {
7108
+ to[key] = from[key];
7109
+ }
7110
+ }
7111
+ if (getOwnPropertySymbols) {
7112
+ symbols = getOwnPropertySymbols(from);
7113
+ for (var i = 0; i < symbols.length; i++) {
7114
+ if (propIsEnumerable.call(from, symbols[i])) {
7115
+ to[symbols[i]] = from[symbols[i]];
7116
+ }
7117
+ }
7118
+ }
7119
+ }
7120
+ return to;
7077
7121
  };
7078
7122
 
7079
- /**
7080
- * Copyright (c) 2013-present, Facebook, Inc.
7081
- *
7082
- * This source code is licensed under the MIT license found in the
7083
- * LICENSE file in the root directory of this source tree.
7084
- */
7085
-
7086
7123
  var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
7087
-
7088
7124
  var ReactPropTypesSecret_1 = ReactPropTypesSecret;
7089
7125
 
7090
7126
  var has = Function.call.bind(Object.prototype.hasOwnProperty);
7091
7127
 
7092
- var printWarning = function() {};
7093
-
7128
+ var printWarning = function () {};
7094
7129
  if (process.env.NODE_ENV !== 'production') {
7095
7130
  var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
7096
7131
  var loggedTypeFailures = {};
7097
7132
  var has$1 = has;
7098
-
7099
- printWarning = function(text) {
7133
+ printWarning = function (text) {
7100
7134
  var message = 'Warning: ' + text;
7101
7135
  if (typeof console !== 'undefined') {
7102
7136
  console.error(message);
7103
7137
  }
7104
7138
  try {
7105
- // --- Welcome to debugging React ---
7106
- // This error was thrown as a convenience so that you can use this stack
7107
- // to find the callsite that caused this warning to fire.
7108
7139
  throw new Error(message);
7109
- } catch (x) { /**/ }
7140
+ } catch (x) {}
7110
7141
  };
7111
7142
  }
7112
-
7113
- /**
7114
- * Assert that the values match with the type specs.
7115
- * Error messages are memorized and will only be shown once.
7116
- *
7117
- * @param {object} typeSpecs Map of name to a ReactPropType
7118
- * @param {object} values Runtime values that need to be type-checked
7119
- * @param {string} location e.g. "prop", "context", "child context"
7120
- * @param {string} componentName Name of the component for error messages.
7121
- * @param {?Function} getStack Returns the component stack.
7122
- * @private
7123
- */
7124
7143
  function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
7125
7144
  if (process.env.NODE_ENV !== 'production') {
7126
7145
  for (var typeSpecName in typeSpecs) {
7127
7146
  if (has$1(typeSpecs, typeSpecName)) {
7128
7147
  var error;
7129
- // Prop type validation may throw. In case they do, we don't want to
7130
- // fail the render phase where it didn't fail before. So we log it.
7131
- // After these have been cleaned up, we'll let them throw.
7132
7148
  try {
7133
- // This is intentionally an invariant that gets caught. It's the same
7134
- // behavior as without this statement except with a better message.
7135
7149
  if (typeof typeSpecs[typeSpecName] !== 'function') {
7136
- var err = Error(
7137
- (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
7138
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
7139
- 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
7140
- );
7150
+ var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
7141
7151
  err.name = 'Invariant Violation';
7142
7152
  throw err;
7143
7153
  }
@@ -7146,142 +7156,49 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
7146
7156
  error = ex;
7147
7157
  }
7148
7158
  if (error && !(error instanceof Error)) {
7149
- printWarning(
7150
- (componentName || 'React class') + ': type specification of ' +
7151
- location + ' `' + typeSpecName + '` is invalid; the type checker ' +
7152
- 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
7153
- 'You may have forgotten to pass an argument to the type checker ' +
7154
- 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
7155
- 'shape all require an argument).'
7156
- );
7159
+ printWarning((componentName || 'React class') + ': type specification of ' + location + ' `' + typeSpecName + '` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).');
7157
7160
  }
7158
7161
  if (error instanceof Error && !(error.message in loggedTypeFailures)) {
7159
- // Only monitor this failure once because there tends to be a lot of the
7160
- // same error.
7161
7162
  loggedTypeFailures[error.message] = true;
7162
-
7163
7163
  var stack = getStack ? getStack() : '';
7164
-
7165
- printWarning(
7166
- 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
7167
- );
7164
+ printWarning('Failed ' + location + ' type: ' + error.message + (stack != null ? stack : ''));
7168
7165
  }
7169
7166
  }
7170
7167
  }
7171
7168
  }
7172
7169
  }
7173
-
7174
- /**
7175
- * Resets warning cache when testing.
7176
- *
7177
- * @private
7178
- */
7179
- checkPropTypes.resetWarningCache = function() {
7170
+ checkPropTypes.resetWarningCache = function () {
7180
7171
  if (process.env.NODE_ENV !== 'production') {
7181
7172
  loggedTypeFailures = {};
7182
7173
  }
7183
7174
  };
7184
-
7185
7175
  var checkPropTypes_1 = checkPropTypes;
7186
7176
 
7187
- var printWarning$1 = function() {};
7188
-
7177
+ var printWarning$1 = function () {};
7189
7178
  if (process.env.NODE_ENV !== 'production') {
7190
- printWarning$1 = function(text) {
7179
+ printWarning$1 = function (text) {
7191
7180
  var message = 'Warning: ' + text;
7192
7181
  if (typeof console !== 'undefined') {
7193
7182
  console.error(message);
7194
7183
  }
7195
7184
  try {
7196
- // --- Welcome to debugging React ---
7197
- // This error was thrown as a convenience so that you can use this stack
7198
- // to find the callsite that caused this warning to fire.
7199
7185
  throw new Error(message);
7200
7186
  } catch (x) {}
7201
7187
  };
7202
7188
  }
7203
-
7204
7189
  function emptyFunctionThatReturnsNull() {
7205
7190
  return null;
7206
7191
  }
7207
-
7208
- var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7209
- /* global Symbol */
7192
+ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
7210
7193
  var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
7211
- var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
7212
-
7213
- /**
7214
- * Returns the iterator method function contained on the iterable object.
7215
- *
7216
- * Be sure to invoke the function with the iterable as context:
7217
- *
7218
- * var iteratorFn = getIteratorFn(myIterable);
7219
- * if (iteratorFn) {
7220
- * var iterator = iteratorFn.call(myIterable);
7221
- * ...
7222
- * }
7223
- *
7224
- * @param {?object} maybeIterable
7225
- * @return {?function}
7226
- */
7194
+ var FAUX_ITERATOR_SYMBOL = '@@iterator';
7227
7195
  function getIteratorFn(maybeIterable) {
7228
7196
  var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
7229
7197
  if (typeof iteratorFn === 'function') {
7230
7198
  return iteratorFn;
7231
7199
  }
7232
7200
  }
7233
-
7234
- /**
7235
- * Collection of methods that allow declaration and validation of props that are
7236
- * supplied to React components. Example usage:
7237
- *
7238
- * var Props = require('ReactPropTypes');
7239
- * var MyArticle = React.createClass({
7240
- * propTypes: {
7241
- * // An optional string prop named "description".
7242
- * description: Props.string,
7243
- *
7244
- * // A required enum prop named "category".
7245
- * category: Props.oneOf(['News','Photos']).isRequired,
7246
- *
7247
- * // A prop named "dialog" that requires an instance of Dialog.
7248
- * dialog: Props.instanceOf(Dialog).isRequired
7249
- * },
7250
- * render: function() { ... }
7251
- * });
7252
- *
7253
- * A more formal specification of how these methods are used:
7254
- *
7255
- * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
7256
- * decl := ReactPropTypes.{type}(.isRequired)?
7257
- *
7258
- * Each and every declaration produces a function with the same signature. This
7259
- * allows the creation of custom validation functions. For example:
7260
- *
7261
- * var MyLink = React.createClass({
7262
- * propTypes: {
7263
- * // An optional string or URI prop named "href".
7264
- * href: function(props, propName, componentName) {
7265
- * var propValue = props[propName];
7266
- * if (propValue != null && typeof propValue !== 'string' &&
7267
- * !(propValue instanceof URI)) {
7268
- * return new Error(
7269
- * 'Expected a string or an URI for ' + propName + ' in ' +
7270
- * componentName
7271
- * );
7272
- * }
7273
- * }
7274
- * },
7275
- * render: function() {...}
7276
- * });
7277
- *
7278
- * @internal
7279
- */
7280
-
7281
7201
  var ANONYMOUS = '<<anonymous>>';
7282
-
7283
- // Important!
7284
- // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
7285
7202
  var ReactPropTypes = {
7286
7203
  array: createPrimitiveTypeChecker('array'),
7287
7204
  bigint: createPrimitiveTypeChecker('bigint'),
@@ -7291,7 +7208,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7291
7208
  object: createPrimitiveTypeChecker('object'),
7292
7209
  string: createPrimitiveTypeChecker('string'),
7293
7210
  symbol: createPrimitiveTypeChecker('symbol'),
7294
-
7295
7211
  any: createAnyTypeChecker(),
7296
7212
  arrayOf: createArrayOfTypeChecker,
7297
7213
  element: createElementTypeChecker(),
@@ -7302,42 +7218,21 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7302
7218
  oneOf: createEnumTypeChecker,
7303
7219
  oneOfType: createUnionTypeChecker,
7304
7220
  shape: createShapeTypeChecker,
7305
- exact: createStrictShapeTypeChecker,
7221
+ exact: createStrictShapeTypeChecker
7306
7222
  };
7307
-
7308
- /**
7309
- * inlined Object.is polyfill to avoid requiring consumers ship their own
7310
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
7311
- */
7312
- /*eslint-disable no-self-compare*/
7313
7223
  function is(x, y) {
7314
- // SameValue algorithm
7315
7224
  if (x === y) {
7316
- // Steps 1-5, 7-10
7317
- // Steps 6.b-6.e: +0 != -0
7318
7225
  return x !== 0 || 1 / x === 1 / y;
7319
7226
  } else {
7320
- // Step 6.a: NaN == NaN
7321
7227
  return x !== x && y !== y;
7322
7228
  }
7323
7229
  }
7324
- /*eslint-enable no-self-compare*/
7325
-
7326
- /**
7327
- * We use an Error-like object for backward compatibility as people may call
7328
- * PropTypes directly and inspect their output. However, we don't use real
7329
- * Errors anymore. We don't inspect their stack anyway, and creating them
7330
- * is prohibitively expensive if they are created too often, such as what
7331
- * happens in oneOfType() for any type before the one that matched.
7332
- */
7333
7230
  function PropTypeError(message, data) {
7334
7231
  this.message = message;
7335
- this.data = data && typeof data === 'object' ? data: {};
7232
+ this.data = data && typeof data === 'object' ? data : {};
7336
7233
  this.stack = '';
7337
7234
  }
7338
- // Make `instanceof Error` still work for returned errors.
7339
7235
  PropTypeError.prototype = Error.prototype;
7340
-
7341
7236
  function createChainableTypeChecker(validate) {
7342
7237
  if (process.env.NODE_ENV !== 'production') {
7343
7238
  var manualPropTypeCallCache = {};
@@ -7346,32 +7241,15 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7346
7241
  function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
7347
7242
  componentName = componentName || ANONYMOUS;
7348
7243
  propFullName = propFullName || propName;
7349
-
7350
7244
  if (secret !== ReactPropTypesSecret_1) {
7351
7245
  if (throwOnDirectAccess) {
7352
- // New behavior only for users of `prop-types` package
7353
- var err = new Error(
7354
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
7355
- 'Use `PropTypes.checkPropTypes()` to call them. ' +
7356
- 'Read more at http://fb.me/use-check-prop-types'
7357
- );
7246
+ var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use `PropTypes.checkPropTypes()` to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
7358
7247
  err.name = 'Invariant Violation';
7359
7248
  throw err;
7360
7249
  } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
7361
- // Old behavior for people using React.PropTypes
7362
7250
  var cacheKey = componentName + ':' + propName;
7363
- if (
7364
- !manualPropTypeCallCache[cacheKey] &&
7365
- // Avoid spamming the console because they are often not actionable except for lib authors
7366
- manualPropTypeWarningCount < 3
7367
- ) {
7368
- printWarning$1(
7369
- 'You are manually calling a React.PropTypes validation ' +
7370
- 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
7371
- 'and will throw in the standalone `prop-types` package. ' +
7372
- 'You may be seeing this warning due to a third-party PropTypes ' +
7373
- 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
7374
- );
7251
+ if (!manualPropTypeCallCache[cacheKey] && manualPropTypeWarningCount < 3) {
7252
+ printWarning$1('You are manually calling a React.PropTypes validation ' + 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' + 'and will throw in the standalone `prop-types` package. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.');
7375
7253
  manualPropTypeCallCache[cacheKey] = true;
7376
7254
  manualPropTypeWarningCount++;
7377
7255
  }
@@ -7389,37 +7267,27 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7389
7267
  return validate(props, propName, componentName, location, propFullName);
7390
7268
  }
7391
7269
  }
7392
-
7393
7270
  var chainedCheckType = checkType.bind(null, false);
7394
7271
  chainedCheckType.isRequired = checkType.bind(null, true);
7395
-
7396
7272
  return chainedCheckType;
7397
7273
  }
7398
-
7399
7274
  function createPrimitiveTypeChecker(expectedType) {
7400
7275
  function validate(props, propName, componentName, location, propFullName, secret) {
7401
7276
  var propValue = props[propName];
7402
7277
  var propType = getPropType(propValue);
7403
7278
  if (propType !== expectedType) {
7404
- // `propValue` being instance of, say, date/regexp, pass the 'object'
7405
- // check, but we can offer a more precise error message here rather than
7406
- // 'of type `object`'.
7407
7279
  var preciseType = getPreciseType(propValue);
7408
-
7409
- return new PropTypeError(
7410
- 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
7411
- {expectedType: expectedType}
7412
- );
7280
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'), {
7281
+ expectedType: expectedType
7282
+ });
7413
7283
  }
7414
7284
  return null;
7415
7285
  }
7416
7286
  return createChainableTypeChecker(validate);
7417
7287
  }
7418
-
7419
7288
  function createAnyTypeChecker() {
7420
7289
  return createChainableTypeChecker(emptyFunctionThatReturnsNull);
7421
7290
  }
7422
-
7423
7291
  function createArrayOfTypeChecker(typeChecker) {
7424
7292
  function validate(props, propName, componentName, location, propFullName) {
7425
7293
  if (typeof typeChecker !== 'function') {
@@ -7440,7 +7308,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7440
7308
  }
7441
7309
  return createChainableTypeChecker(validate);
7442
7310
  }
7443
-
7444
7311
  function createElementTypeChecker() {
7445
7312
  function validate(props, propName, componentName, location, propFullName) {
7446
7313
  var propValue = props[propName];
@@ -7452,7 +7319,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7452
7319
  }
7453
7320
  return createChainableTypeChecker(validate);
7454
7321
  }
7455
-
7456
7322
  function createElementTypeTypeChecker() {
7457
7323
  function validate(props, propName, componentName, location, propFullName) {
7458
7324
  var propValue = props[propName];
@@ -7464,7 +7330,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7464
7330
  }
7465
7331
  return createChainableTypeChecker(validate);
7466
7332
  }
7467
-
7468
7333
  function createInstanceTypeChecker(expectedClass) {
7469
7334
  function validate(props, propName, componentName, location, propFullName) {
7470
7335
  if (!(props[propName] instanceof expectedClass)) {
@@ -7476,22 +7341,17 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7476
7341
  }
7477
7342
  return createChainableTypeChecker(validate);
7478
7343
  }
7479
-
7480
7344
  function createEnumTypeChecker(expectedValues) {
7481
7345
  if (!Array.isArray(expectedValues)) {
7482
7346
  if (process.env.NODE_ENV !== 'production') {
7483
7347
  if (arguments.length > 1) {
7484
- printWarning$1(
7485
- 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
7486
- 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
7487
- );
7348
+ printWarning$1('Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' + 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).');
7488
7349
  } else {
7489
7350
  printWarning$1('Invalid argument supplied to oneOf, expected an array.');
7490
7351
  }
7491
7352
  }
7492
7353
  return emptyFunctionThatReturnsNull;
7493
7354
  }
7494
-
7495
7355
  function validate(props, propName, componentName, location, propFullName) {
7496
7356
  var propValue = props[propName];
7497
7357
  for (var i = 0; i < expectedValues.length; i++) {
@@ -7499,7 +7359,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7499
7359
  return null;
7500
7360
  }
7501
7361
  }
7502
-
7503
7362
  var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
7504
7363
  var type = getPreciseType(value);
7505
7364
  if (type === 'symbol') {
@@ -7511,7 +7370,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7511
7370
  }
7512
7371
  return createChainableTypeChecker(validate);
7513
7372
  }
7514
-
7515
7373
  function createObjectOfTypeChecker(typeChecker) {
7516
7374
  function validate(props, propName, componentName, location, propFullName) {
7517
7375
  if (typeof typeChecker !== 'function') {
@@ -7534,24 +7392,18 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7534
7392
  }
7535
7393
  return createChainableTypeChecker(validate);
7536
7394
  }
7537
-
7538
7395
  function createUnionTypeChecker(arrayOfTypeCheckers) {
7539
7396
  if (!Array.isArray(arrayOfTypeCheckers)) {
7540
7397
  process.env.NODE_ENV !== 'production' ? printWarning$1('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
7541
7398
  return emptyFunctionThatReturnsNull;
7542
7399
  }
7543
-
7544
7400
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
7545
7401
  var checker = arrayOfTypeCheckers[i];
7546
7402
  if (typeof checker !== 'function') {
7547
- printWarning$1(
7548
- 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
7549
- 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
7550
- );
7403
+ printWarning$1('Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.');
7551
7404
  return emptyFunctionThatReturnsNull;
7552
7405
  }
7553
7406
  }
7554
-
7555
7407
  function validate(props, propName, componentName, location, propFullName) {
7556
7408
  var expectedTypes = [];
7557
7409
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
@@ -7564,12 +7416,11 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7564
7416
  expectedTypes.push(checkerResult.data.expectedType);
7565
7417
  }
7566
7418
  }
7567
- var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
7419
+ var expectedTypesMessage = expectedTypes.length > 0 ? ', expected one of type [' + expectedTypes.join(', ') + ']' : '';
7568
7420
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
7569
7421
  }
7570
7422
  return createChainableTypeChecker(validate);
7571
7423
  }
7572
-
7573
7424
  function createNodeChecker() {
7574
7425
  function validate(props, propName, componentName, location, propFullName) {
7575
7426
  if (!isNode(props[propName])) {
@@ -7579,14 +7430,9 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7579
7430
  }
7580
7431
  return createChainableTypeChecker(validate);
7581
7432
  }
7582
-
7583
7433
  function invalidValidatorError(componentName, location, propFullName, key, type) {
7584
- return new PropTypeError(
7585
- (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
7586
- 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
7587
- );
7434
+ return new PropTypeError((componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.');
7588
7435
  }
7589
-
7590
7436
  function createShapeTypeChecker(shapeTypes) {
7591
7437
  function validate(props, propName, componentName, location, propFullName) {
7592
7438
  var propValue = props[propName];
@@ -7608,7 +7454,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7608
7454
  }
7609
7455
  return createChainableTypeChecker(validate);
7610
7456
  }
7611
-
7612
7457
  function createStrictShapeTypeChecker(shapeTypes) {
7613
7458
  function validate(props, propName, componentName, location, propFullName) {
7614
7459
  var propValue = props[propName];
@@ -7616,7 +7461,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7616
7461
  if (propType !== 'object') {
7617
7462
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
7618
7463
  }
7619
- // We need to check all keys in case some are required but missing from props.
7620
7464
  var allKeys = objectAssign({}, props[propName], shapeTypes);
7621
7465
  for (var key in allKeys) {
7622
7466
  var checker = shapeTypes[key];
@@ -7624,11 +7468,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7624
7468
  return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
7625
7469
  }
7626
7470
  if (!checker) {
7627
- return new PropTypeError(
7628
- 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
7629
- '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
7630
- '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
7631
- );
7471
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' + '\nBad object: ' + JSON.stringify(props[propName], null, ' ') + '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' '));
7632
7472
  }
7633
7473
  var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
7634
7474
  if (error) {
@@ -7637,10 +7477,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7637
7477
  }
7638
7478
  return null;
7639
7479
  }
7640
-
7641
7480
  return createChainableTypeChecker(validate);
7642
7481
  }
7643
-
7644
7482
  function isNode(propValue) {
7645
7483
  switch (typeof propValue) {
7646
7484
  case 'number':
@@ -7656,7 +7494,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7656
7494
  if (propValue === null || isValidElement(propValue)) {
7657
7495
  return true;
7658
7496
  }
7659
-
7660
7497
  var iteratorFn = getIteratorFn(propValue);
7661
7498
  if (iteratorFn) {
7662
7499
  var iterator = iteratorFn.call(propValue);
@@ -7668,7 +7505,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7668
7505
  }
7669
7506
  }
7670
7507
  } else {
7671
- // Iterator will provide entry [k,v] tuples rather than values.
7672
7508
  while (!(step = iterator.next()).done) {
7673
7509
  var entry = step.value;
7674
7510
  if (entry) {
@@ -7681,47 +7517,32 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7681
7517
  } else {
7682
7518
  return false;
7683
7519
  }
7684
-
7685
7520
  return true;
7686
7521
  default:
7687
7522
  return false;
7688
7523
  }
7689
7524
  }
7690
-
7691
7525
  function isSymbol(propType, propValue) {
7692
- // Native Symbol.
7693
7526
  if (propType === 'symbol') {
7694
7527
  return true;
7695
7528
  }
7696
-
7697
- // falsy value can't be a Symbol
7698
7529
  if (!propValue) {
7699
7530
  return false;
7700
7531
  }
7701
-
7702
- // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
7703
7532
  if (propValue['@@toStringTag'] === 'Symbol') {
7704
7533
  return true;
7705
7534
  }
7706
-
7707
- // Fallback for non-spec compliant Symbols which are polyfilled.
7708
7535
  if (typeof Symbol === 'function' && propValue instanceof Symbol) {
7709
7536
  return true;
7710
7537
  }
7711
-
7712
7538
  return false;
7713
7539
  }
7714
-
7715
- // Equivalent of `typeof` but with special handling for array and regexp.
7716
7540
  function getPropType(propValue) {
7717
7541
  var propType = typeof propValue;
7718
7542
  if (Array.isArray(propValue)) {
7719
7543
  return 'array';
7720
7544
  }
7721
7545
  if (propValue instanceof RegExp) {
7722
- // Old webkits (at least until Android 4.0) return 'function' rather than
7723
- // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
7724
- // passes PropTypes.object.
7725
7546
  return 'object';
7726
7547
  }
7727
7548
  if (isSymbol(propType, propValue)) {
@@ -7729,9 +7550,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7729
7550
  }
7730
7551
  return propType;
7731
7552
  }
7732
-
7733
- // This handles more types than `getPropType`. Only used for error messages.
7734
- // See `createPrimitiveTypeChecker`.
7735
7553
  function getPreciseType(propValue) {
7736
7554
  if (typeof propValue === 'undefined' || propValue === null) {
7737
7555
  return '' + propValue;
@@ -7746,9 +7564,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7746
7564
  }
7747
7565
  return propType;
7748
7566
  }
7749
-
7750
- // Returns a string that is postfixed to a warning about an invalid type.
7751
- // For example, "undefined" or "of type array"
7752
7567
  function getPostfixForTypeWarning(value) {
7753
7568
  var type = getPreciseType(value);
7754
7569
  switch (type) {
@@ -7763,44 +7578,34 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
7763
7578
  return type;
7764
7579
  }
7765
7580
  }
7766
-
7767
- // Returns class name of the object, if any.
7768
7581
  function getClassName(propValue) {
7769
7582
  if (!propValue.constructor || !propValue.constructor.name) {
7770
7583
  return ANONYMOUS;
7771
7584
  }
7772
7585
  return propValue.constructor.name;
7773
7586
  }
7774
-
7775
7587
  ReactPropTypes.checkPropTypes = checkPropTypes_1;
7776
7588
  ReactPropTypes.resetWarningCache = checkPropTypes_1.resetWarningCache;
7777
7589
  ReactPropTypes.PropTypes = ReactPropTypes;
7778
-
7779
7590
  return ReactPropTypes;
7780
7591
  };
7781
7592
 
7782
7593
  function emptyFunction() {}
7783
7594
  function emptyFunctionWithReset() {}
7784
7595
  emptyFunctionWithReset.resetWarningCache = emptyFunction;
7785
-
7786
- var factoryWithThrowingShims = function() {
7596
+ var factoryWithThrowingShims = function () {
7787
7597
  function shim(props, propName, componentName, location, propFullName, secret) {
7788
7598
  if (secret === ReactPropTypesSecret_1) {
7789
- // It is still safe when called from React.
7790
7599
  return;
7791
7600
  }
7792
- var err = new Error(
7793
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
7794
- 'Use PropTypes.checkPropTypes() to call them. ' +
7795
- 'Read more at http://fb.me/use-check-prop-types'
7796
- );
7601
+ var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
7797
7602
  err.name = 'Invariant Violation';
7798
7603
  throw err;
7799
- } shim.isRequired = shim;
7604
+ }
7605
+ shim.isRequired = shim;
7800
7606
  function getShim() {
7801
7607
  return shim;
7802
- } // Important!
7803
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
7608
+ }
7804
7609
  var ReactPropTypes = {
7805
7610
  array: shim,
7806
7611
  bigint: shim,
@@ -7810,7 +7615,6 @@ var factoryWithThrowingShims = function() {
7810
7615
  object: shim,
7811
7616
  string: shim,
7812
7617
  symbol: shim,
7813
-
7814
7618
  any: shim,
7815
7619
  arrayOf: getShim,
7816
7620
  element: shim,
@@ -7822,55 +7626,46 @@ var factoryWithThrowingShims = function() {
7822
7626
  oneOfType: getShim,
7823
7627
  shape: getShim,
7824
7628
  exact: getShim,
7825
-
7826
7629
  checkPropTypes: emptyFunctionWithReset,
7827
7630
  resetWarningCache: emptyFunction
7828
7631
  };
7829
-
7830
7632
  ReactPropTypes.PropTypes = ReactPropTypes;
7831
-
7832
7633
  return ReactPropTypes;
7833
7634
  };
7834
7635
 
7835
7636
  var propTypes = createCommonjsModule(function (module) {
7836
- /**
7837
- * Copyright (c) 2013-present, Facebook, Inc.
7838
- *
7839
- * This source code is licensed under the MIT license found in the
7840
- * LICENSE file in the root directory of this source tree.
7841
- */
7842
-
7843
- if (process.env.NODE_ENV !== 'production') {
7844
- var ReactIs = reactIs;
7845
-
7846
- // By explicitly using `prop-types` you are opting into new development behavior.
7847
- // http://fb.me/prop-types-in-prod
7848
- var throwOnDirectAccess = true;
7849
- module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
7850
- } else {
7851
- // By explicitly using `prop-types` you are opting into new production behavior.
7852
- // http://fb.me/prop-types-in-prod
7853
- module.exports = factoryWithThrowingShims();
7854
- }
7637
+ if (process.env.NODE_ENV !== 'production') {
7638
+ var ReactIs = reactIs;
7639
+ var throwOnDirectAccess = true;
7640
+ module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
7641
+ } else {
7642
+ module.exports = factoryWithThrowingShims();
7643
+ }
7855
7644
  });
7856
7645
 
7857
- // A type of promise-like that resolves synchronously and supports only one observer
7858
-
7859
- const _iteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator"))) : "@@iterator";
7860
-
7861
- const _asyncIteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator"))) : "@@asyncIterator";
7862
-
7863
- // Asynchronously call a function and send errors to recovery continuation
7646
+ const _iteratorSymbol = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator")) : "@@iterator";
7647
+ const _asyncIteratorSymbol = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator")) : "@@asyncIterator";
7864
7648
  function _catch(body, recover) {
7865
- try {
7866
- var result = body();
7867
- } catch(e) {
7868
- return recover(e);
7869
- }
7870
- if (result && result.then) {
7871
- return result.then(void 0, recover);
7872
- }
7873
- return result;
7649
+ try {
7650
+ var result = body();
7651
+ } catch (e) {
7652
+ return recover(e);
7653
+ }
7654
+ if (result && result.then) {
7655
+ return result.then(void 0, recover);
7656
+ }
7657
+ return result;
7658
+ }
7659
+ function _finallyRethrows(body, finalizer) {
7660
+ try {
7661
+ var result = body();
7662
+ } catch (e) {
7663
+ return finalizer(true, e);
7664
+ }
7665
+ if (result && result.then) {
7666
+ return result.then(finalizer.bind(null, false), finalizer.bind(null, true));
7667
+ }
7668
+ return finalizer(false, result);
7874
7669
  }
7875
7670
 
7876
7671
  const TYPE_LOGIN$1 = {
@@ -9259,31 +9054,6 @@ const CitizenOtp = props => {
9259
9054
  });
9260
9055
  };
9261
9056
 
9262
- const _iteratorSymbol$1 = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator")) : "@@iterator";
9263
- const _asyncIteratorSymbol$1 = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator")) : "@@asyncIterator";
9264
- function _catch$1(body, recover) {
9265
- try {
9266
- var result = body();
9267
- } catch (e) {
9268
- return recover(e);
9269
- }
9270
- if (result && result.then) {
9271
- return result.then(void 0, recover);
9272
- }
9273
- return result;
9274
- }
9275
- function _finallyRethrows(body, finalizer) {
9276
- try {
9277
- var result = body();
9278
- } catch (e) {
9279
- return finalizer(true, e);
9280
- }
9281
- if (result && result.then) {
9282
- return result.then(finalizer.bind(null, false), finalizer.bind(null, true));
9283
- }
9284
- return finalizer(false, result);
9285
- }
9286
-
9287
9057
  const configPTApproverApplication = _ref => {
9288
9058
  var _action$assigneeRoles;
9289
9059
  let t = _ref.t,
@@ -10032,7 +9802,7 @@ const ActionModal = _ref => {
10032
9802
  if (file.size >= 5242880) {
10033
9803
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
10034
9804
  } else {
10035
- const _temp = _catch$1(function () {
9805
+ const _temp = _catch(function () {
10036
9806
  return Promise.resolve(Digit.UploadServices.Filestorage("PT", file, Digit.ULBService.getStateId())).then(function (response) {
10037
9807
  var _response$data, _response$data$files;
10038
9808
  if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$files = _response$data.files) === null || _response$data$files === void 0 ? void 0 : _response$data$files.length) > 0) {
@@ -10259,7 +10029,7 @@ const ActionModal$1 = _ref => {
10259
10029
  if (file.size >= 5242880) {
10260
10030
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
10261
10031
  } else {
10262
- const _temp = _catch$1(function () {
10032
+ const _temp = _catch(function () {
10263
10033
  return Promise.resolve(Digit.UploadServices.Filestorage("PT", file, Digit.ULBService.getStateId())).then(function (response) {
10264
10034
  var _response$data, _response$data$files;
10265
10035
  if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$files = _response$data.files) === null || _response$data$files === void 0 ? void 0 : _response$data$files.length) > 0) {
@@ -10429,7 +10199,7 @@ const ActionModal$2 = _ref => {
10429
10199
  if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
10430
10200
  setError(t("NOT_SUPPORTED_FILE_TYPE"));
10431
10201
  } else {
10432
- const _temp = _catch$1(function () {
10202
+ const _temp = _catch(function () {
10433
10203
  return Promise.resolve(Digit.UploadServices.Filestorage("OBPS", file, Digit.ULBService.getStateId() || (tenantId === null || tenantId === void 0 ? void 0 : tenantId.split(".")[0]))).then(function (response) {
10434
10204
  var _response$data, _response$data$files;
10435
10205
  if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$files = _response$data.files) === null || _response$data$files === void 0 ? void 0 : _response$data$files.length) > 0) {
@@ -10712,7 +10482,7 @@ const ActionModal$3 = _ref => {
10712
10482
  if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
10713
10483
  setError(t("NOT_SUPPORTED_FILE_TYPE"));
10714
10484
  } else {
10715
- const _temp = _catch$1(function () {
10485
+ const _temp = _catch(function () {
10716
10486
  return Promise.resolve(Digit.UploadServices.Filestorage("OBPS", file, Digit.ULBService.getStateId() || (tenantId === null || tenantId === void 0 ? void 0 : tenantId.split(".")[0]))).then(function (response) {
10717
10487
  var _response$data, _response$data$files;
10718
10488
  if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$files = _response$data.files) === null || _response$data$files === void 0 ? void 0 : _response$data$files.length) > 0) {
@@ -10970,7 +10740,7 @@ const ActionModal$4 = _ref => {
10970
10740
  if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
10971
10741
  setError(t("NOT_SUPPORTED_FILE_TYPE"));
10972
10742
  } else {
10973
- const _temp = _catch$1(function () {
10743
+ const _temp = _catch(function () {
10974
10744
  return Promise.resolve(Digit.UploadServices.Filestorage("NOC", file, Digit.ULBService.getStateId() || (tenantId === null || tenantId === void 0 ? void 0 : tenantId.split(".")[0]))).then(function (response) {
10975
10745
  var _response$data, _response$data$files;
10976
10746
  if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$files = _response$data.files) === null || _response$data$files === void 0 ? void 0 : _response$data$files.length) > 0) {
@@ -12295,7 +12065,7 @@ const ActionModal$5 = _ref => {
12295
12065
  if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
12296
12066
  setError(t("NOT_SUPPORTED_FILE_TYPE"));
12297
12067
  } else {
12298
- const _temp = _catch$1(function () {
12068
+ const _temp = _catch(function () {
12299
12069
  return Promise.resolve(Digit.UploadServices.Filestorage("WS", file, Digit.ULBService.getCurrentTenantId())).then(function (response) {
12300
12070
  var _response$data, _response$data$files;
12301
12071
  if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$files = _response$data.files) === null || _response$data$files === void 0 ? void 0 : _response$data$files.length) > 0) {
@@ -12605,7 +12375,7 @@ const ActionModal$6 = _ref => {
12605
12375
  if (file.size >= 5242880) {
12606
12376
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
12607
12377
  } else {
12608
- const _temp = _catch$1(function () {
12378
+ const _temp = _catch(function () {
12609
12379
  return Promise.resolve(Digit.UploadServices.Filestorage("PTR", file, Digit.ULBService.getStateId())).then(function (response) {
12610
12380
  var _response$data, _response$data$files;
12611
12381
  if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$files = _response$data.files) === null || _response$data$files === void 0 ? void 0 : _response$data$files.length) > 0) {
@@ -12895,7 +12665,7 @@ const ActionModal$8 = _ref => {
12895
12665
  if (file.size >= 5242880) {
12896
12666
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
12897
12667
  } else {
12898
- const _temp = _catch$1(function () {
12668
+ const _temp = _catch(function () {
12899
12669
  return Promise.resolve(Digit.UploadServices.Filestorage("CHB", file, tenantId)).then(function (response) {
12900
12670
  var _response$data, _response$data$files;
12901
12671
  if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$files = _response$data.files) === null || _response$data$files === void 0 ? void 0 : _response$data$files.length) > 0) {
@@ -13061,7 +12831,7 @@ const ActionModal$9 = _ref => {
13061
12831
  if (file.size >= 5242880) {
13062
12832
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
13063
12833
  } else {
13064
- const _temp = _catch$1(function () {
12834
+ const _temp = _catch(function () {
13065
12835
  return Promise.resolve(Digit.UploadServices.Filestorage("PTR", file, Digit.ULBService.getStateId())).then(function (response) {
13066
12836
  var _response$data, _response$data$files;
13067
12837
  if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$files = _response$data.files) === null || _response$data$files === void 0 ? void 0 : _response$data$files.length) > 0) {
@@ -13234,7 +13004,7 @@ const ActionModal$a = _ref => {
13234
13004
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
13235
13005
  } else {
13236
13006
  const _temp = _finallyRethrows(function () {
13237
- return _catch$1(function () {
13007
+ return _catch(function () {
13238
13008
  return Promise.resolve(Digit.UploadServices.Filestorage("StreetVending", file, tenantId)).then(function (response) {
13239
13009
  var _response$data, _response$data$files;
13240
13010
  if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$files = _response$data.files) === null || _response$data$files === void 0 ? void 0 : _response$data$files.length) > 0) {
@@ -13520,7 +13290,7 @@ const ActionModal$b = _ref => {
13520
13290
  if (file.size >= 5242880) {
13521
13291
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
13522
13292
  } else {
13523
- const _temp = _catch$1(function () {
13293
+ const _temp = _catch(function () {
13524
13294
  return Promise.resolve(Digit.UploadServices.Filestorage("WT", file, tenantId)).then(function (response) {
13525
13295
  var _response$data, _response$data$files;
13526
13296
  if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$files = _response$data.files) === null || _response$data$files === void 0 ? void 0 : _response$data$files.length) > 0) {
@@ -14208,7 +13978,7 @@ function SelectDocument$1(_ref) {
14208
13978
  if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
14209
13979
  setError(t("NOT_SUPPORTED_FILE_TYPE"));
14210
13980
  } else {
14211
- const _temp = _catch$1(function () {
13981
+ const _temp = _catch(function () {
14212
13982
  setUploadedFile(null);
14213
13983
  return Promise.resolve(Digit.UploadServices.Filestorage("PT", file, Digit.ULBService.getStateId())).then(function (response) {
14214
13984
  var _response$data, _response$data$files;
@@ -14598,7 +14368,7 @@ function PropertyDocuments(_ref) {
14598
14368
  };
14599
14369
  const forceDownload = function (url, fileName) {
14600
14370
  try {
14601
- return Promise.resolve(_catch$1(function () {
14371
+ return Promise.resolve(_catch(function () {
14602
14372
  return Promise.resolve(fetch(url)).then(function (response) {
14603
14373
  if (!response.ok) {
14604
14374
  throw new Error("HTTP error! status: " + response.status);
@@ -14828,7 +14598,7 @@ function PropertyDocuments(_ref) {
14828
14598
  y1: "15",
14829
14599
  x2: "12",
14830
14600
  y2: "3"
14831
- }))), /*#__PURE__*/React.createElement("label", {
14601
+ }))), applicationStatus !== "PENDING_FOR_PAYMENT" && applicationStatus !== "WF_PENDING_FOR_PAYMENT" && /*#__PURE__*/React.createElement("label", {
14832
14602
  style: {
14833
14603
  display: "flex",
14834
14604
  alignItems: "center",
@@ -14861,7 +14631,7 @@ function PropertyDocuments(_ref) {
14861
14631
  }));
14862
14632
  }
14863
14633
  }
14864
- }), "Check Verified"));
14634
+ }), t("Check Verified")));
14865
14635
  })())
14866
14636
  })));
14867
14637
  };
@@ -17818,7 +17588,7 @@ const ApplicationDetails = props => {
17818
17588
  const nocPrmomises = (_nocData = nocData) === null || _nocData === void 0 ? void 0 : _nocData.map(noc => {
17819
17589
  return nocMutation === null || nocMutation === void 0 ? void 0 : nocMutation.mutateAsync(noc);
17820
17590
  });
17821
- const _temp = _catch$1(function () {
17591
+ const _temp = _catch(function () {
17822
17592
  setIsEnableLoader(true);
17823
17593
  return Promise.resolve(Promise.all(nocPrmomises)).then(function (values) {
17824
17594
  values && values.map(ob => {
@@ -18674,7 +18444,7 @@ const PropertyLocationDetails = _ref => {
18674
18444
  onSelect(key, data);
18675
18445
  },
18676
18446
  config: _extends({
18677
- isCollapsible: false
18447
+ isCollapsible: true
18678
18448
  }, config),
18679
18449
  isEdit: isEdit,
18680
18450
  showZRO: hideZRO ? false : true,
@@ -20362,7 +20132,7 @@ const componentsToRegister = {
20362
20132
  CPTPropertySearchResults: SearchPTID$1,
20363
20133
  CPTSearchProperty: SearchProperty$1,
20364
20134
  CPTPropertyAssemblyDetails: PropertyAssemblyDetails,
20365
- CPTPropertyLocationDetails: PropertyLocationDetails,
20135
+ PropertyLocationDetails,
20366
20136
  CPTPropertyOwnerDetails: PropertyOwnerDetails,
20367
20137
  PropertyWaterConnection,
20368
20138
  CPTKnowYourProperty: KnowYourProperty,