react-luminus-components 1.1.23 → 1.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +55 -57
- package/dist/{DataKey-BWAmmcUw.js → DataKey-BM6Hi4Og.js} +1 -1
- package/dist/DataKey-DN_Gd8yX.cjs +1 -0
- package/dist/SimpleTooltip-Bg8N9Up2.cjs +1 -0
- package/dist/SimpleTooltip-DnZSi_qT.js +5 -0
- package/dist/Typography-C0E6aQv2.cjs +1 -0
- package/dist/Typography-CsdF39gW.js +36 -0
- package/dist/UserAvatarToggle-0_jNWWSB.cjs +250 -0
- package/dist/UserAvatarToggle-xT1i6nSz.js +6444 -0
- package/dist/components/Tabs/Tabs.d.ts +3 -1
- package/dist/components/Tabs/comps/Tab/Tab.d.ts +1 -1
- package/dist/components/common/AppSearch/AppSearch.d.ts +6 -1
- package/dist/components/common/AppSearch/comps/AutocompleteWindow/AutocompleteWindow.d.ts +12 -0
- package/dist/components/common/AppSearch/comps/TypeSelector/TypeSelector.d.ts +9 -0
- package/dist/components/common/AppSearch/comps/index.d.ts +2 -0
- package/dist/components/common/AppSearch/hooks/useSearchItems.d.ts +6 -0
- package/dist/contexts/luminus-components/LuminusComponentsContext.d.ts +3 -2
- package/dist/contexts/luminus-components/LuminusComponentsProvider.d.ts +4 -3
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +103 -101
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +4 -4
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +3 -3
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +1229 -1183
- package/dist/models/index.d.ts +5 -0
- package/dist/models/texts/AppSearchTexts.d.ts +5 -0
- package/dist/models/types/SearchResultGroupKeyModel.d.ts +6 -0
- package/dist/models/types/SearchResultGroupModel.d.ts +7 -0
- package/dist/models/types/SearchResultModel.d.ts +8 -0
- package/dist/models/types/SearchType.d.ts +6 -0
- package/dist/style.css +1 -1
- package/dist/{textUtils-DW4f3rLU.js → textUtils-BLtD0zaS.js} +3 -3
- package/dist/{useConfirm-BK-FMKuK.js → useConfirm-CQp43K_n.js} +1 -1
- package/dist/useConfirm-CdQJyKxQ.cjs +1 -0
- package/dist/utils.es.js +5 -5
- package/package.json +1 -1
- package/dist/DataKey--JBhGjOn.cjs +0 -1
- package/dist/SimpleTooltip-C-IHJfQ5.cjs +0 -1
- package/dist/SimpleTooltip-CfJs3h6Q.js +0 -1622
- package/dist/hasClass-D1jUrHAX.cjs +0 -20
- package/dist/hasClass-Sn_KqIXn.js +0 -1516
- package/dist/useAxios-BZn4k8_S.js +0 -3320
- package/dist/useAxios-QCWXMOfJ.cjs +0 -231
- package/dist/useConfirm-A379uhYQ.cjs +0 -1
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";const j=require("./useAxios-QCWXMOfJ.cjs"),p=require("react"),Z=require("react-dom");function ct(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const se=ct(p),ft="_h1_1p97i_1",lt="_h3_1p97i_8",dt="_h6_1p97i_15",pt="_subtitle_1p97i_22",vt="_body_1p97i_29",yt="_body2_1p97i_36",Et="_caption_1p97i_43",mt="_form-label_1p97i_50",z={h1:ft,h3:lt,h6:dt,subtitle:pt,body:vt,body2:yt,caption:Et,"form-label":"_form-label_1p97i_50",formLabel:mt},ht=({variant:e,className:t,children:r})=>{switch(e){case"h1":return j.jsxRuntimeExports.jsx("h1",{className:j.classNames("luminus-text-primary luminus-h1",z.h1,t),children:r});case"h3":return j.jsxRuntimeExports.jsx("h3",{className:j.classNames("luminus-text luminus-h3",z.h3,t),children:r});case"h6":return j.jsxRuntimeExports.jsx("h6",{className:j.classNames("luminus-text luminus-h6",z.h6,t),children:r});case"subtitle":return j.jsxRuntimeExports.jsx("div",{className:j.classNames("luminus-text luminus-subtitle",z.subtitle,t),children:r});case"body":return j.jsxRuntimeExports.jsx("div",{className:j.classNames("luminus-text luminus-body",z.body,t),children:r});case"body2":return j.jsxRuntimeExports.jsx("div",{className:j.classNames("luminus-text luminus-body2",z.body2,t),children:r});case"caption":return j.jsxRuntimeExports.jsx("div",{className:j.classNames("luminus-text-muted luminus-caption",z.caption,t),children:r});case"form-label":return j.jsxRuntimeExports.jsx("div",{className:j.classNames("luminus-text luminus-form-label",z.formLabel,t),children:r});default:return j.jsxRuntimeExports.jsx(j.jsxRuntimeExports.Fragment,{children:r})}},bt=({variant:e,className:t,children:r})=>j.jsxRuntimeExports.jsx(ht,{variant:e,className:t,children:r});function Xe(e,t){if(e==null)return{};var r={},o=Object.keys(e),i,n;for(n=0;n<o.length;n++)i=o[n],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function _e(e,t){return _e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,i){return o.__proto__=i,o},_e(e,t)}function xt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_e(e,t)}const Tt=["xxl","xl","lg","md","sm","xs"],gt="xs",ue=se.createContext({prefixes:{},breakpoints:Tt,minBreakpoint:gt});function Rt(e,t){const{prefixes:r}=p.useContext(ue);return e||r[t]||t}function Ot(){const{breakpoints:e}=p.useContext(ue);return e}function _t(){const{minBreakpoint:e}=p.useContext(ue);return e}function St(){const{dir:e}=p.useContext(ue);return e==="rtl"}function je(e){return e&&e.ownerDocument||document}function Ct(e){var t=je(e);return t&&t.defaultView||window}function Pt(e,t){return Ct(e).getComputedStyle(e,t)}var wt=/([A-Z])/g;function jt(e){return e.replace(wt,"-$1").toLowerCase()}var Dt=/^ms-/;function oe(e){return jt(e).replace(Dt,"-ms-")}var Mt=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function kt(e){return!!(e&&Mt.test(e))}function De(e,t){var r="",o="";if(typeof t=="string")return e.style.getPropertyValue(oe(t))||Pt(e).getPropertyValue(oe(t));Object.keys(t).forEach(function(i){var n=t[i];!n&&n!==0?e.style.removeProperty(oe(i)):kt(i)?o+=i+"("+n+") ":r+=oe(i)+": "+n+";"}),o&&(r+="transform: "+o+";"),e.style.cssText+=";"+r}var Se={exports:{}},ie={exports:{}},C={};/** @license React v16.13.1
|
|
2
|
-
* react-is.production.min.js
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var Ne;function At(){if(Ne)return C;Ne=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,n=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,E=e?Symbol.for("react.suspense"):60113,S=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,A=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,N=e?Symbol.for("react.fundamental"):60117,L=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function I(c){if(typeof c=="object"&&c!==null){var $=c.$$typeof;switch($){case t:switch(c=c.type,c){case d:case v:case o:case n:case i:case E:return c;default:switch(c=c&&c.$$typeof,c){case u:case y:case A:case k:case a:return c;default:return $}}case r:return $}}}function M(c){return I(c)===v}return C.AsyncMode=d,C.ConcurrentMode=v,C.ContextConsumer=u,C.ContextProvider=a,C.Element=t,C.ForwardRef=y,C.Fragment=o,C.Lazy=A,C.Memo=k,C.Portal=r,C.Profiler=n,C.StrictMode=i,C.Suspense=E,C.isAsyncMode=function(c){return M(c)||I(c)===d},C.isConcurrentMode=M,C.isContextConsumer=function(c){return I(c)===u},C.isContextProvider=function(c){return I(c)===a},C.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},C.isForwardRef=function(c){return I(c)===y},C.isFragment=function(c){return I(c)===o},C.isLazy=function(c){return I(c)===A},C.isMemo=function(c){return I(c)===k},C.isPortal=function(c){return I(c)===r},C.isProfiler=function(c){return I(c)===n},C.isStrictMode=function(c){return I(c)===i},C.isSuspense=function(c){return I(c)===E},C.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===o||c===v||c===n||c===i||c===E||c===S||typeof c=="object"&&c!==null&&(c.$$typeof===A||c.$$typeof===k||c.$$typeof===a||c.$$typeof===u||c.$$typeof===y||c.$$typeof===N||c.$$typeof===L||c.$$typeof===U||c.$$typeof===D)},C.typeOf=I,C}var P={};/** @license React v16.13.1
|
|
9
|
-
* react-is.development.js
|
|
10
|
-
*
|
|
11
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
-
*
|
|
13
|
-
* This source code is licensed under the MIT license found in the
|
|
14
|
-
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/var Le;function It(){return Le||(Le=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,n=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,E=e?Symbol.for("react.suspense"):60113,S=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,A=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,N=e?Symbol.for("react.fundamental"):60117,L=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function I(f){return typeof f=="string"||typeof f=="function"||f===o||f===v||f===n||f===i||f===E||f===S||typeof f=="object"&&f!==null&&(f.$$typeof===A||f.$$typeof===k||f.$$typeof===a||f.$$typeof===u||f.$$typeof===y||f.$$typeof===N||f.$$typeof===L||f.$$typeof===U||f.$$typeof===D)}function M(f){if(typeof f=="object"&&f!==null){var F=f.$$typeof;switch(F){case t:var re=f.type;switch(re){case d:case v:case o:case n:case i:case E:return re;default:var Ie=re&&re.$$typeof;switch(Ie){case u:case y:case A:case k:case a:return Ie;default:return F}}case r:return F}}}var c=d,$=v,X=u,fe=a,le=t,de=y,te=o,pe=A,ve=k,H=r,ye=n,q=i,K=E,ne=!1;function Ee(f){return ne||(ne=!0,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.")),s(f)||M(f)===d}function s(f){return M(f)===v}function l(f){return M(f)===u}function g(f){return M(f)===a}function x(f){return typeof f=="object"&&f!==null&&f.$$typeof===t}function m(f){return M(f)===y}function R(f){return M(f)===o}function b(f){return M(f)===A}function T(f){return M(f)===k}function O(f){return M(f)===r}function w(f){return M(f)===n}function _(f){return M(f)===i}function W(f){return M(f)===E}P.AsyncMode=c,P.ConcurrentMode=$,P.ContextConsumer=X,P.ContextProvider=fe,P.Element=le,P.ForwardRef=de,P.Fragment=te,P.Lazy=pe,P.Memo=ve,P.Portal=H,P.Profiler=ye,P.StrictMode=q,P.Suspense=K,P.isAsyncMode=Ee,P.isConcurrentMode=s,P.isContextConsumer=l,P.isContextProvider=g,P.isElement=x,P.isForwardRef=m,P.isFragment=R,P.isLazy=b,P.isMemo=T,P.isPortal=O,P.isProfiler=w,P.isStrictMode=_,P.isSuspense=W,P.isValidElementType=I,P.typeOf=M}()),P}var $e;function Ke(){return $e||($e=1,process.env.NODE_ENV==="production"?ie.exports=At():ie.exports=It()),ie.exports}/*
|
|
16
|
-
object-assign
|
|
17
|
-
(c) Sindre Sorhus
|
|
18
|
-
@license MIT
|
|
19
|
-
*/var me,We;function Nt(){if(We)return me;We=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function i(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de",Object.getOwnPropertyNames(n)[0]==="5")return!1;for(var a={},u=0;u<10;u++)a["_"+String.fromCharCode(u)]=u;var d=Object.getOwnPropertyNames(a).map(function(y){return a[y]});if(d.join("")!=="0123456789")return!1;var v={};return"abcdefghijklmnopqrst".split("").forEach(function(y){v[y]=y}),Object.keys(Object.assign({},v)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return me=i()?Object.assign:function(n,a){for(var u,d=o(n),v,y=1;y<arguments.length;y++){u=Object(arguments[y]);for(var E in u)t.call(u,E)&&(d[E]=u[E]);if(e){v=e(u);for(var S=0;S<v.length;S++)r.call(u,v[S])&&(d[v[S]]=u[v[S]])}}return d},me}var he,qe;function Me(){if(qe)return he;qe=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return he=e,he}var be,Fe;function He(){return Fe||(Fe=1,be=Function.call.bind(Object.prototype.hasOwnProperty)),be}var xe,Ue;function Lt(){if(Ue)return xe;Ue=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Me(),r={},o=He();e=function(n){var a="Warning: "+n;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function i(n,a,u,d,v){if(process.env.NODE_ENV!=="production"){for(var y in n)if(o(n,y)){var E;try{if(typeof n[y]!="function"){var S=Error((d||"React class")+": "+u+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw S.name="Invariant Violation",S}E=n[y](a,y,d,u,null,t)}catch(A){E=A}if(E&&!(E instanceof Error)&&e((d||"React class")+": type specification of "+u+" `"+y+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof E+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),E instanceof Error&&!(E.message in r)){r[E.message]=!0;var k=v?v():"";e("Failed "+u+" type: "+E.message+(k??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},xe=i,xe}var Te,Ye;function $t(){if(Ye)return Te;Ye=1;var e=Ke(),t=Nt(),r=Me(),o=He(),i=Lt(),n=function(){};process.env.NODE_ENV!=="production"&&(n=function(u){var d="Warning: "+u;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}});function a(){return null}return Te=function(u,d){var v=typeof Symbol=="function"&&Symbol.iterator,y="@@iterator";function E(s){var l=s&&(v&&s[v]||s[y]);if(typeof l=="function")return l}var S="<<anonymous>>",k={array:L("array"),bigint:L("bigint"),bool:L("boolean"),func:L("function"),number:L("number"),object:L("object"),string:L("string"),symbol:L("symbol"),any:U(),arrayOf:I,element:M(),elementType:c(),instanceOf:$,node:de(),objectOf:fe,oneOf:X,oneOfType:le,shape:pe,exact:ve};function A(s,l){return s===l?s!==0||1/s===1/l:s!==s&&l!==l}function D(s,l){this.message=s,this.data=l&&typeof l=="object"?l:{},this.stack=""}D.prototype=Error.prototype;function N(s){if(process.env.NODE_ENV!=="production")var l={},g=0;function x(R,b,T,O,w,_,W){if(O=O||S,_=_||T,W!==r){if(d){var f=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");throw f.name="Invariant Violation",f}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var F=O+":"+T;!l[F]&&g<3&&(n("You are manually calling a React.PropTypes validation function for the `"+_+"` prop on `"+O+"`. 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."),l[F]=!0,g++)}}return b[T]==null?R?b[T]===null?new D("The "+w+" `"+_+"` is marked as required "+("in `"+O+"`, but its value is `null`.")):new D("The "+w+" `"+_+"` is marked as required in "+("`"+O+"`, but its value is `undefined`.")):null:s(b,T,O,w,_)}var m=x.bind(null,!1);return m.isRequired=x.bind(null,!0),m}function L(s){function l(g,x,m,R,b,T){var O=g[x],w=q(O);if(w!==s){var _=K(O);return new D("Invalid "+R+" `"+b+"` of type "+("`"+_+"` supplied to `"+m+"`, expected ")+("`"+s+"`."),{expectedType:s})}return null}return N(l)}function U(){return N(a)}function I(s){function l(g,x,m,R,b){if(typeof s!="function")return new D("Property `"+b+"` of component `"+m+"` has invalid PropType notation inside arrayOf.");var T=g[x];if(!Array.isArray(T)){var O=q(T);return new D("Invalid "+R+" `"+b+"` of type "+("`"+O+"` supplied to `"+m+"`, expected an array."))}for(var w=0;w<T.length;w++){var _=s(T,w,m,R,b+"["+w+"]",r);if(_ instanceof Error)return _}return null}return N(l)}function M(){function s(l,g,x,m,R){var b=l[g];if(!u(b)){var T=q(b);return new D("Invalid "+m+" `"+R+"` of type "+("`"+T+"` supplied to `"+x+"`, expected a single ReactElement."))}return null}return N(s)}function c(){function s(l,g,x,m,R){var b=l[g];if(!e.isValidElementType(b)){var T=q(b);return new D("Invalid "+m+" `"+R+"` of type "+("`"+T+"` supplied to `"+x+"`, expected a single ReactElement type."))}return null}return N(s)}function $(s){function l(g,x,m,R,b){if(!(g[x]instanceof s)){var T=s.name||S,O=Ee(g[x]);return new D("Invalid "+R+" `"+b+"` of type "+("`"+O+"` supplied to `"+m+"`, expected ")+("instance of `"+T+"`."))}return null}return N(l)}function X(s){if(!Array.isArray(s))return process.env.NODE_ENV!=="production"&&(arguments.length>1?n("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])."):n("Invalid argument supplied to oneOf, expected an array.")),a;function l(g,x,m,R,b){for(var T=g[x],O=0;O<s.length;O++)if(A(T,s[O]))return null;var w=JSON.stringify(s,function(W,f){var F=K(f);return F==="symbol"?String(f):f});return new D("Invalid "+R+" `"+b+"` of value `"+String(T)+"` "+("supplied to `"+m+"`, expected one of "+w+"."))}return N(l)}function fe(s){function l(g,x,m,R,b){if(typeof s!="function")return new D("Property `"+b+"` of component `"+m+"` has invalid PropType notation inside objectOf.");var T=g[x],O=q(T);if(O!=="object")return new D("Invalid "+R+" `"+b+"` of type "+("`"+O+"` supplied to `"+m+"`, expected an object."));for(var w in T)if(o(T,w)){var _=s(T,w,m,R,b+"."+w,r);if(_ instanceof Error)return _}return null}return N(l)}function le(s){if(!Array.isArray(s))return process.env.NODE_ENV!=="production"&&n("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var l=0;l<s.length;l++){var g=s[l];if(typeof g!="function")return n("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ne(g)+" at index "+l+"."),a}function x(m,R,b,T,O){for(var w=[],_=0;_<s.length;_++){var W=s[_],f=W(m,R,b,T,O,r);if(f==null)return null;f.data&&o(f.data,"expectedType")&&w.push(f.data.expectedType)}var F=w.length>0?", expected one of type ["+w.join(", ")+"]":"";return new D("Invalid "+T+" `"+O+"` supplied to "+("`"+b+"`"+F+"."))}return N(x)}function de(){function s(l,g,x,m,R){return H(l[g])?null:new D("Invalid "+m+" `"+R+"` supplied to "+("`"+x+"`, expected a ReactNode."))}return N(s)}function te(s,l,g,x,m){return new D((s||"React class")+": "+l+" type `"+g+"."+x+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+m+"`.")}function pe(s){function l(g,x,m,R,b){var T=g[x],O=q(T);if(O!=="object")return new D("Invalid "+R+" `"+b+"` of type `"+O+"` "+("supplied to `"+m+"`, expected `object`."));for(var w in s){var _=s[w];if(typeof _!="function")return te(m,R,b,w,K(_));var W=_(T,w,m,R,b+"."+w,r);if(W)return W}return null}return N(l)}function ve(s){function l(g,x,m,R,b){var T=g[x],O=q(T);if(O!=="object")return new D("Invalid "+R+" `"+b+"` of type `"+O+"` "+("supplied to `"+m+"`, expected `object`."));var w=t({},g[x],s);for(var _ in w){var W=s[_];if(o(s,_)&&typeof W!="function")return te(m,R,b,_,K(W));if(!W)return new D("Invalid "+R+" `"+b+"` key `"+_+"` supplied to `"+m+"`.\nBad object: "+JSON.stringify(g[x],null," ")+`
|
|
20
|
-
Valid keys: `+JSON.stringify(Object.keys(s),null," "));var f=W(T,_,m,R,b+"."+_,r);if(f)return f}return null}return N(l)}function H(s){switch(typeof s){case"number":case"string":case"undefined":return!0;case"boolean":return!s;case"object":if(Array.isArray(s))return s.every(H);if(s===null||u(s))return!0;var l=E(s);if(l){var g=l.call(s),x;if(l!==s.entries){for(;!(x=g.next()).done;)if(!H(x.value))return!1}else for(;!(x=g.next()).done;){var m=x.value;if(m&&!H(m[1]))return!1}}else return!1;return!0;default:return!1}}function ye(s,l){return s==="symbol"?!0:l?l["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&l instanceof Symbol:!1}function q(s){var l=typeof s;return Array.isArray(s)?"array":s instanceof RegExp?"object":ye(l,s)?"symbol":l}function K(s){if(typeof s>"u"||s===null)return""+s;var l=q(s);if(l==="object"){if(s instanceof Date)return"date";if(s instanceof RegExp)return"regexp"}return l}function ne(s){var l=K(s);switch(l){case"array":case"object":return"an "+l;case"boolean":case"date":case"regexp":return"a "+l;default:return l}}function Ee(s){return!s.constructor||!s.constructor.name?S:s.constructor.name}return k.checkPropTypes=i,k.resetWarningCache=i.resetWarningCache,k.PropTypes=k,k},Te}var ge,Be;function Wt(){if(Be)return ge;Be=1;var e=Me();function t(){}function r(){}return r.resetWarningCache=t,ge=function(){function o(a,u,d,v,y,E){if(E!==e){var S=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");throw S.name="Invariant Violation",S}}o.isRequired=o;function i(){return o}var n={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:i,element:o,elementType:o,instanceOf:i,node:o,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return n.PropTypes=n,n},ge}if(process.env.NODE_ENV!=="production"){var qt=Ke(),Ft=!0;Se.exports=$t()(qt.isElement,Ft)}else Se.exports=Wt()();var Ut=Se.exports;const h=j.getDefaultExportFromCjs(Ut),ze={disabled:!1};var Yt=process.env.NODE_ENV!=="production"?h.oneOfType([h.number,h.shape({enter:h.number,exit:h.number,appear:h.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&h.oneOfType([h.string,h.shape({enter:h.string,exit:h.string,active:h.string}),h.shape({enter:h.string,enterDone:h.string,enterActive:h.string,exit:h.string,exitDone:h.string,exitActive:h.string})]);const Je=p.createContext(null);var Bt=function(t){return t.scrollTop},Q="unmounted",G="exited",Y="entering",V="entered",ae="exiting",B=function(e){xt(t,e);function t(o,i){var n;n=e.call(this,o,i)||this;var a=i,u=a&&!a.isMounting?o.enter:o.appear,d;return n.appearStatus=null,o.in?u?(d=G,n.appearStatus=Y):d=V:o.unmountOnExit||o.mountOnEnter?d=Q:d=G,n.state={status:d},n.nextCallback=null,n}t.getDerivedStateFromProps=function(i,n){var a=i.in;return a&&n.status===Q?{status:G}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var n=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==Y&&a!==V&&(n=Y):(a===Y||a===V)&&(n=ae)}this.updateStatus(!1,n)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,n,a,u;return n=a=u=i,i!=null&&typeof i!="number"&&(n=i.exit,a=i.enter,u=i.appear!==void 0?i.appear:a),{exit:n,enter:a,appear:u}},r.updateStatus=function(i,n){if(i===void 0&&(i=!1),n!==null)if(this.cancelNextCallback(),n===Y){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Z.findDOMNode(this);a&&Bt(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===G&&this.setState({status:Q})},r.performEnter=function(i){var n=this,a=this.props.enter,u=this.context?this.context.isMounting:i,d=this.props.nodeRef?[u]:[Z.findDOMNode(this),u],v=d[0],y=d[1],E=this.getTimeouts(),S=u?E.appear:E.enter;if(!i&&!a||ze.disabled){this.safeSetState({status:V},function(){n.props.onEntered(v)});return}this.props.onEnter(v,y),this.safeSetState({status:Y},function(){n.props.onEntering(v,y),n.onTransitionEnd(S,function(){n.safeSetState({status:V},function(){n.props.onEntered(v,y)})})})},r.performExit=function(){var i=this,n=this.props.exit,a=this.getTimeouts(),u=this.props.nodeRef?void 0:Z.findDOMNode(this);if(!n||ze.disabled){this.safeSetState({status:G},function(){i.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:ae},function(){i.props.onExiting(u),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:G},function(){i.props.onExited(u)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,n){n=this.setNextCallback(n),this.setState(i,n)},r.setNextCallback=function(i){var n=this,a=!0;return this.nextCallback=function(u){a&&(a=!1,n.nextCallback=null,i(u))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(i,n){this.setNextCallback(n);var a=this.props.nodeRef?this.props.nodeRef.current:Z.findDOMNode(this),u=i==null&&!this.props.addEndListener;if(!a||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var d=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],v=d[0],y=d[1];this.props.addEndListener(v,y)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===Q)return null;var n=this.props,a=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var u=Xe(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return p.createElement(Je.Provider,{value:null},typeof a=="function"?a(i,u):p.cloneElement(p.Children.only(a),u))},t}(p.Component);B.contextType=Je;B.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:h.shape({current:typeof Element>"u"?h.any:function(e,t,r,o,i,n){var a=e[t];return h.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,o,i,n)}}),children:h.oneOfType([h.func.isRequired,h.element.isRequired]).isRequired,in:h.bool,mountOnEnter:h.bool,unmountOnExit:h.bool,appear:h.bool,enter:h.bool,exit:h.bool,timeout:function(t){var r=Yt;t.addEndListener||(r=r.isRequired);for(var o=arguments.length,i=new Array(o>1?o-1:0),n=1;n<o;n++)i[n-1]=arguments[n];return r.apply(void 0,[t].concat(i))},addEndListener:h.func,onEnter:h.func,onEntering:h.func,onEntered:h.func,onExit:h.func,onExiting:h.func,onExited:h.func}:{};function J(){}B.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:J,onEntering:J,onEntered:J,onExit:J,onExiting:J,onExited:J};B.UNMOUNTED=Q;B.EXITED=G;B.ENTERING=Y;B.ENTERED=V;B.EXITING=ae;const zt=B,ce=!!(typeof window<"u"&&window.document&&window.document.createElement);var Ce=!1,Pe=!1;try{var Re={get passive(){return Ce=!0},get once(){return Pe=Ce=!0}};ce&&(window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,!0))}catch{}function Ze(e,t,r,o){if(o&&typeof o!="boolean"&&!Pe){var i=o.once,n=o.capture,a=r;!Pe&&i&&(a=r.__once||function u(d){this.removeEventListener(t,u,n),r.call(this,d)},r.__once=a),e.addEventListener(t,a,Ce?o:n)}e.addEventListener(t,r,o)}function Qe(e,t,r,o){var i=o&&typeof o!="boolean"?o.capture:o;e.removeEventListener(t,r,i),r.__once&&e.removeEventListener(t,r.__once,i)}function ke(e,t,r,o){return Ze(e,t,r,o),function(){Qe(e,t,r,o)}}function Gt(e,t,r,o){if(r===void 0&&(r=!1),o===void 0&&(o=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,r,o),e.dispatchEvent(i)}}function Vt(e){var t=De(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function Xt(e,t,r){r===void 0&&(r=5);var o=!1,i=setTimeout(function(){o||Gt(e,"transitionend",!0)},t+r),n=ke(e,"transitionend",function(){o=!0},{once:!0});return function(){clearTimeout(i),n()}}function et(e,t,r,o){r==null&&(r=Vt(e)||0);var i=Xt(e,r,o),n=ke(e,"transitionend",t);return function(){i(),n()}}function Ge(e,t){const r=De(e,t)||"",o=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*o}function tt(e,t){const r=Ge(e,"transitionDuration"),o=Ge(e,"transitionDelay"),i=et(e,n=>{n.target===e&&(i(),t(n))},r+o)}function nt(e){e.offsetHeight}const Ve=e=>!e||typeof e=="function"?e:t=>{e.current=t};function Kt(e,t){const r=Ve(e),o=Ve(t);return i=>{r&&r(i),o&&o(i)}}function ee(e,t){return p.useMemo(()=>Kt(e,t),[e,t])}function rt(e){return e&&"setState"in e?Z.findDOMNode(e):e??null}const Ht=p.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:o,onExiting:i,onExited:n,addEndListener:a,children:u,childRef:d,...v},y)=>{const E=p.useRef(null),S=ee(E,d),k=$=>{S(rt($))},A=$=>X=>{$&&E.current&&$(E.current,X)},D=p.useCallback(A(e),[e]),N=p.useCallback(A(t),[t]),L=p.useCallback(A(r),[r]),U=p.useCallback(A(o),[o]),I=p.useCallback(A(i),[i]),M=p.useCallback(A(n),[n]),c=p.useCallback(A(a),[a]);return j.jsxRuntimeExports.jsx(zt,{ref:y,...v,onEnter:D,onEntered:L,onEntering:N,onExit:U,onExited:M,onExiting:I,addEndListener:c,nodeRef:E,children:typeof u=="function"?($,X)=>u($,{...X,ref:k}):p.cloneElement(u,{ref:k})})}),ot=Ht;function Jt(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e},[e]),t}function Ae(e){const t=Jt(e);return p.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function Zt(){return p.useState(null)}function Qt(){const e=p.useRef(!0),t=p.useRef(()=>e.current);return p.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}const en=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",tn=typeof document<"u",we=tn||en?p.useLayoutEffect:p.useEffect,nn={[Y]:"show",[V]:"show"},it=se.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:o,...i},n)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},u=p.useCallback((d,v)=>{nt(d),o==null||o(d,v)},[o]);return j.jsxRuntimeExports.jsx(ot,{ref:n,addEndListener:tt,...a,onEnter:u,childRef:t.ref,children:(d,v)=>se.cloneElement(t,{...v,className:j.classNames("fade",e,t.props.className,nn[d],r[d])})})});it.displayName="Fade";const rn=it;function on(e){const t=p.useRef(e);return t.current=e,t}function sn(e){const t=on(e);p.useEffect(()=>()=>t.current(),[])}function an(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}const st=p.createContext(ce?window:void 0);st.Provider;function at(){return p.useContext(st)}const Oe=(e,t)=>ce?e==null?(t||je()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function un(e,t){const r=at(),[o,i]=p.useState(()=>Oe(e,r==null?void 0:r.document));if(!o){const n=Oe(e);n&&i(n)}return p.useEffect(()=>{t&&o&&t(o)},[t,o]),p.useEffect(()=>{const n=Oe(e);n!==o&&i(n)},[e,o]),o}function ut({children:e,in:t,onExited:r,mountOnEnter:o,unmountOnExit:i}){const n=p.useRef(null),a=p.useRef(t),u=Ae(r);p.useEffect(()=>{t?a.current=!0:u(n.current)},[t,u]);const d=ee(n,e.ref),v=p.cloneElement(e,{ref:d});return t?v:i||!a.current&&o?null:v}const cn=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function fn(e,t){if(e==null)return{};var r={},o=Object.keys(e),i,n;for(n=0;n<o.length;n++)i=o[n],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ln(e){let{onEnter:t,onEntering:r,onEntered:o,onExit:i,onExiting:n,onExited:a,addEndListener:u,children:d}=e,v=fn(e,cn);const y=p.useRef(null),E=ee(y,typeof d=="function"?null:d.ref),S=M=>c=>{M&&y.current&&M(y.current,c)},k=p.useCallback(S(t),[t]),A=p.useCallback(S(r),[r]),D=p.useCallback(S(o),[o]),N=p.useCallback(S(i),[i]),L=p.useCallback(S(n),[n]),U=p.useCallback(S(a),[a]),I=p.useCallback(S(u),[u]);return Object.assign({},v,{nodeRef:y},t&&{onEnter:k},r&&{onEntering:A},o&&{onEntered:D},i&&{onExit:N},n&&{onExiting:L},a&&{onExited:U},u&&{addEndListener:I},{children:typeof d=="function"?(M,c)=>d(M,Object.assign({},c,{ref:E})):p.cloneElement(d,{ref:E})})}const dn=["component"];function pn(e,t){if(e==null)return{};var r={},o=Object.keys(e),i,n;for(n=0;n<o.length;n++)i=o[n],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}const vn=se.forwardRef((e,t)=>{let{component:r}=e,o=pn(e,dn);const i=ln(o);return j.jsxRuntimeExports.jsx(r,Object.assign({ref:t},i))}),yn=vn;function En({in:e,onTransition:t}){const r=p.useRef(null),o=p.useRef(!0),i=Ae(t);return we(()=>{if(!r.current)return;let n=!1;return i({in:e,element:r.current,initial:o.current,isStale:()=>n}),()=>{n=!0}},[e,i]),we(()=>(o.current=!1,()=>{o.current=!0}),[]),r}function mn({children:e,in:t,onExited:r,onEntered:o,transition:i}){const[n,a]=p.useState(!t);t&&n&&a(!1);const u=En({in:!!t,onTransition:v=>{const y=()=>{v.isStale()||(v.in?o==null||o(v.element,v.initial):(a(!0),r==null||r(v.element)))};Promise.resolve(i(v)).then(y,E=>{throw v.in||a(!0),E})}}),d=ee(u,e.ref);return n&&!t?null:p.cloneElement(e,{ref:d})}function hn(e,t,r){return e?j.jsxRuntimeExports.jsx(yn,Object.assign({},r,{component:e})):t?j.jsxRuntimeExports.jsx(mn,Object.assign({},r,{transition:t})):j.jsxRuntimeExports.jsx(ut,Object.assign({},r))}function bn(e){return e.code==="Escape"||e.keyCode===27}function xn(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}exports.ENTERED=V;exports.ENTERING=Y;exports.EXITED=G;exports.EXITING=ae;exports.Fade=rn;exports.NoopTransition=ut;exports.PropTypes=h;exports.TransitionWrapper=ot;exports.Typography=bt;exports._objectWithoutPropertiesLoose=Xe;exports.addEventListener=Ze;exports.canUseDOM=ce;exports.contains=an;exports.hasClass=xn;exports.isEscKey=bn;exports.listen=ke;exports.ownerDocument=je;exports.removeEventListener=Qe;exports.renderTransition=hn;exports.safeFindDOMNode=rt;exports.style=De;exports.transitionEnd=et;exports.transitionEndListener=tt;exports.triggerBrowserReflow=nt;exports.useBootstrapBreakpoints=Ot;exports.useBootstrapMinBreakpoint=_t;exports.useBootstrapPrefix=Rt;exports.useCallbackRef=Zt;exports.useEventCallback=Ae;exports.useIsRTL=St;exports.useIsomorphicEffect=we;exports.useMergedRefs=ee;exports.useMounted=Qt;exports.useWaitForDOMRef=un;exports.useWillUnmount=sn;exports.useWindow=at;
|