@nebula.js/stardust 5.9.2 → 5.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/esm/dev.js +275 -326
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +4 -4
- package/core/esm/index.js.map +1 -1
- package/dist/stardust.dev.js +433 -485
- package/dist/stardust.dev.js.map +1 -1
- package/dist/stardust.js +13 -13
- package/dist/stardust.js.map +1 -1
- package/package.json +11 -11
- package/types/index.d.ts +7 -7
package/dist/stardust.dev.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust v5.
|
|
2
|
+
* @nebula.js/stardust v5.10.0
|
|
3
3
|
* Copyright (c) 2025 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
// AsyncIterator objects; they just return a Promise for the value of
|
|
283
283
|
// the final result produced by the iterator.
|
|
284
284
|
exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
285
|
-
if (PromiseImpl ===
|
|
285
|
+
if (PromiseImpl === void 0) PromiseImpl = Promise;
|
|
286
286
|
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
287
287
|
return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator.
|
|
288
288
|
: iter.next().then(function (result) {
|
|
@@ -792,8 +792,8 @@
|
|
|
792
792
|
function _toPrimitive(t, r) {
|
|
793
793
|
if ("object" != typeof t || !t) return t;
|
|
794
794
|
var e = t[Symbol.toPrimitive];
|
|
795
|
-
if (
|
|
796
|
-
var i = e.call(t, r
|
|
795
|
+
if (void 0 !== e) {
|
|
796
|
+
var i = e.call(t, r);
|
|
797
797
|
if ("object" != typeof i) return i;
|
|
798
798
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
799
799
|
}
|
|
@@ -827,7 +827,7 @@
|
|
|
827
827
|
var B={isMounted:function(){return false},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B;}E.prototype.isReactComponent={};
|
|
828
828
|
E.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,b,"setState");};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate");};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B;}var H=G.prototype=new F;
|
|
829
829
|
H.constructor=G;C(H,E.prototype);H.isPureReactComponent=true;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:true,ref:true,__self:true,__source:true};
|
|
830
|
-
function M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in
|
|
830
|
+
function M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)J.call(b,d)&&!L.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1<g){for(var f=Array(g),m=0;m<g;m++)f[m]=arguments[m+2];c.children=f;}if(a&&a.defaultProps)for(d in g=a.defaultProps,g) void 0===c[d]&&(c[d]=g[d]);return {$$typeof:l,type:a,key:k,ref:h,props:c,_owner:K.current}}
|
|
831
831
|
function N(a,b){return {$$typeof:l,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return "object"===typeof a&&null!==a&&a.$$typeof===l}function escape(a){var b={"=":"=0",":":"=2"};return "$"+a.replace(/[=:]/g,function(a){return b[a]})}var P=/\/+/g;function Q(a,b){return "object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
|
|
832
832
|
function R(a,b,e,d,c){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var h=false;if(null===a)h=true;else switch(k){case "string":case "number":h=true;break;case "object":switch(a.$$typeof){case l:case n:h=true;}}if(h)return h=a,c=c(h),a=""===d?"."+Q(h,0):d,I(c)?(e="",null!=a&&(e=a.replace(P,"$&/")+"/"),R(c,b,e,"",function(a){return a})):null!=c&&(O(c)&&(c=N(c,e+(!c.key||h&&h.key===c.key?"":(""+c.key).replace(P,"$&/")+"/")+a)),b.push(c)),1;h=0;d=""===d?".":d+":";if(I(a))for(var g=0;g<a.length;g++){k=
|
|
833
833
|
a[g];var f=d+Q(k,g);h+=R(k,b,e,f,c);}else if(f=A(a),"function"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=d+Q(k,g++),h+=R(k,b,e,f,c);else if("object"===k)throw b=String(a),Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return h}
|
|
@@ -835,9 +835,9 @@
|
|
|
835
835
|
var U={current:null},V={transition:null},W={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:V,ReactCurrentOwner:K};function X(){throw Error("act(...) is not supported in production builds of React.");}
|
|
836
836
|
react_production_min.Children={map:S,forEach:function(a,b,e){S(a,function(){b.apply(this,arguments);},e);},count:function(a){var b=0;S(a,function(){b++;});return b},toArray:function(a){return S(a,function(a){return a})||[]},only:function(a){if(!O(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};react_production_min.Component=E;react_production_min.Fragment=p;react_production_min.Profiler=r;react_production_min.PureComponent=G;react_production_min.StrictMode=q;react_production_min.Suspense=w;
|
|
837
837
|
react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W;react_production_min.act=X;
|
|
838
|
-
react_production_min.cloneElement=function(a,b,e){if(null===a||
|
|
838
|
+
react_production_min.cloneElement=function(a,b,e){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var d=C({},a.props),c=a.key,k=a.ref,h=a._owner;if(null!=b){ void 0!==b.ref&&(k=b.ref,h=K.current);void 0!==b.key&&(c=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)J.call(b,f)&&!L.hasOwnProperty(f)&&(d[f]=void 0===b[f]&&void 0!==g?g[f]:b[f]);}var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){g=Array(f);
|
|
839
839
|
for(var m=0;m<f;m++)g[m]=arguments[m+2];d.children=g;}return {$$typeof:l,type:a.type,key:c,ref:k,props:d,_owner:h}};react_production_min.createContext=function(a){a={$$typeof:u,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:t,_context:a};return a.Consumer=a};react_production_min.createElement=M;react_production_min.createFactory=function(a){var b=M.bind(null,a);b.type=a;return b};react_production_min.createRef=function(){return {current:null}};
|
|
840
|
-
react_production_min.forwardRef=function(a){return {$$typeof:v,render:a}};react_production_min.isValidElement=O;react_production_min.lazy=function(a){return {$$typeof:y,_payload:{_status:-1,_result:a},_init:T}};react_production_min.memo=function(a,b){return {$$typeof:x,type:a,compare:
|
|
840
|
+
react_production_min.forwardRef=function(a){return {$$typeof:v,render:a}};react_production_min.isValidElement=O;react_production_min.lazy=function(a){return {$$typeof:y,_payload:{_status:-1,_result:a},_init:T}};react_production_min.memo=function(a,b){return {$$typeof:x,type:a,compare:void 0===b?null:b}};react_production_min.startTransition=function(a){var b=V.transition;V.transition={};try{a();}finally{V.transition=b;}};react_production_min.unstable_act=X;react_production_min.useCallback=function(a,b){return U.current.useCallback(a,b)};react_production_min.useContext=function(a){return U.current.useContext(a)};
|
|
841
841
|
react_production_min.useDebugValue=function(){};react_production_min.useDeferredValue=function(a){return U.current.useDeferredValue(a)};react_production_min.useEffect=function(a,b){return U.current.useEffect(a,b)};react_production_min.useId=function(){return U.current.useId()};react_production_min.useImperativeHandle=function(a,b,e){return U.current.useImperativeHandle(a,b,e)};react_production_min.useInsertionEffect=function(a,b){return U.current.useInsertionEffect(a,b)};react_production_min.useLayoutEffect=function(a,b){return U.current.useLayoutEffect(a,b)};
|
|
842
842
|
react_production_min.useMemo=function(a,b){return U.current.useMemo(a,b)};react_production_min.useReducer=function(a,b,e){return U.current.useReducer(a,b,e)};react_production_min.useRef=function(a){return U.current.useRef(a)};react_production_min.useState=function(a){return U.current.useState(a)};react_production_min.useSyncExternalStore=function(a,b,e){return U.current.useSyncExternalStore(a,b,e)};react_production_min.useTransition=function(){return U.current.useTransition()};react_production_min.version="18.3.1";
|
|
843
843
|
return react_production_min;
|
|
@@ -2146,7 +2146,7 @@
|
|
|
2146
2146
|
};
|
|
2147
2147
|
|
|
2148
2148
|
util.isUndefined = function isUndefined(arg) {
|
|
2149
|
-
return arg ===
|
|
2149
|
+
return arg === void 0;
|
|
2150
2150
|
};
|
|
2151
2151
|
|
|
2152
2152
|
util.isFunction = function isFunction(arg){
|
|
@@ -2895,7 +2895,7 @@
|
|
|
2895
2895
|
var getProperty = function getProperty(obj, name) {
|
|
2896
2896
|
if (name === '__proto__') {
|
|
2897
2897
|
if (!hasOwn.call(obj, name)) {
|
|
2898
|
-
return
|
|
2898
|
+
return void 0;
|
|
2899
2899
|
} else if (gOPD) {
|
|
2900
2900
|
// In early versions of node, obj['__proto__'] is buggy when obj has
|
|
2901
2901
|
// __proto__ as an own property. Object.getOwnPropertyDescriptor() works.
|
|
@@ -4944,8 +4944,8 @@
|
|
|
4944
4944
|
};
|
|
4945
4945
|
},
|
|
4946
4946
|
uiColor(c, shift) {
|
|
4947
|
-
const indexIsValid = typeof (c === null || c ===
|
|
4948
|
-
const colorIsValid = typeof (c === null || c ===
|
|
4947
|
+
const indexIsValid = typeof (c === null || c === void 0 ? void 0 : c.index) === 'number' && !Number.isNaN(c === null || c === void 0 ? void 0 : c.index);
|
|
4948
|
+
const colorIsValid = typeof (c === null || c === void 0 ? void 0 : c.color) === 'string';
|
|
4949
4949
|
const somethingIsValid = indexIsValid || colorIsValid;
|
|
4950
4950
|
if (!somethingIsValid) {
|
|
4951
4951
|
return undefined;
|
|
@@ -4953,7 +4953,7 @@
|
|
|
4953
4953
|
const getColor = () => {
|
|
4954
4954
|
// eslint-disable-next-line no-param-reassign
|
|
4955
4955
|
shift = !!shift;
|
|
4956
|
-
if ((c === null || c ===
|
|
4956
|
+
if ((c === null || c === void 0 ? void 0 : c.index) < 0 || typeof (c === null || c === void 0 ? void 0 : c.index) === 'undefined') {
|
|
4957
4957
|
return c.color;
|
|
4958
4958
|
}
|
|
4959
4959
|
if (typeof uiPalette === 'undefined') {
|
|
@@ -5612,7 +5612,7 @@
|
|
|
5612
5612
|
(function (exports) {
|
|
5613
5613
|
function f(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,e=a[d];if(0<g(e,b))a[d]=b,a[c]=e,c=d;else break a}}function h(a){return 0===a.length?null:a[0]}function k(a){if(0===a.length)return null;var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length,w=e>>>1;d<w;){var m=2*(d+1)-1,C=a[m],n=m+1,x=a[n];if(0>g(C,c))n<e&&0>g(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(n<e&&0>g(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}
|
|
5614
5614
|
function g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()};}else {var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q};}var r=[],t=[],u=1,v=null,y=3,z=false,A=false,B=false,D="function"===typeof setTimeout?setTimeout:null,E="function"===typeof clearTimeout?clearTimeout:null,F="undefined"!==typeof setImmediate?setImmediate:null;
|
|
5615
|
-
"undefined"!==typeof navigator&&
|
|
5615
|
+
"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t);}}function H(a){B=false;G(a);if(!A)if(null!==h(r))A=true,I(J);else {var b=h(t);null!==b&&K(H,b.startTime-a);}}
|
|
5616
5616
|
function J(a,b){A=false;B&&(B=false,E(L),L=-1);z=true;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if("function"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();"function"===typeof e?v.callback=e:v===h(r)&&k(r);G(b);}else k(r);v=h(r);}if(null!==v)var w=!0;else {var m=h(t);null!==m&&K(H,m.startTime-b);w=!1;}return w}finally{v=null,y=c,z=false;}}var N=false,O=null,L=-1,P=5,Q=-1;
|
|
5617
5617
|
function M(){return exports.unstable_now()-Q<P?false:true}function R(){if(null!==O){var a=exports.unstable_now();Q=a;var b=true;try{b=O(!0,a);}finally{b?S():(N=false,O=null);}}else N=false;}var S;if("function"===typeof F)S=function(){F(R);};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,U=T.port2;T.port1.onmessage=R;S=function(){U.postMessage(null);};}else S=function(){D(R,0);};function I(a){O=a;N||(N=true,S());}function K(a,b){L=D(function(){a(exports.unstable_now());},b);}
|
|
5618
5618
|
exports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null;};exports.unstable_continueExecution=function(){A||z||(A=true,I(J));};
|
|
@@ -5663,8 +5663,8 @@
|
|
|
5663
5663
|
sa);z[b]=new v(b,1,false,a,null,false,false);});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,false,a,"http://www.w3.org/1999/xlink",false,false);});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,false,a,"http://www.w3.org/XML/1998/namespace",false,false);});["tabIndex","crossOrigin"].forEach(function(a){z[a]=new v(a,1,false,a.toLowerCase(),null,false,false);});
|
|
5664
5664
|
z.xlinkHref=new v("xlinkHref",1,false,"xlink:href","http://www.w3.org/1999/xlink",true,false);["src","href","action","formAction"].forEach(function(a){z[a]=new v(a,1,false,a.toLowerCase(),null,true,true);});
|
|
5665
5665
|
function ta(a,b,c,d){var e=z.hasOwnProperty(b)?z[b]:null;if(null!==e?0!==e.type:d||!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])qa(b,c,e,d)&&(c=null),d||null===e?oa(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?false:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&true===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c)));}
|
|
5666
|
-
var ua=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,va=Symbol.for("react.element"),wa=Symbol.for("react.portal"),ya=Symbol.for("react.fragment"),za=Symbol.for("react.strict_mode"),Aa=Symbol.for("react.profiler"),Ba=Symbol.for("react.provider"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),Ha=Symbol.for("react.lazy"); var Ia=Symbol.for("react.offscreen");var Ja=Symbol.iterator;function Ka(a){if(null===a||"object"!==typeof a)return null;a=Ja&&a[Ja]||a["@@iterator"];return "function"===typeof a?a:null}var A=Object.assign,La;function Ma(a){if(
|
|
5667
|
-
function Oa(a,b){if(!a||Na)return "";Na=true;var c=Error.prepareStackTrace;Error.prepareStackTrace=
|
|
5666
|
+
var ua=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,va=Symbol.for("react.element"),wa=Symbol.for("react.portal"),ya=Symbol.for("react.fragment"),za=Symbol.for("react.strict_mode"),Aa=Symbol.for("react.profiler"),Ba=Symbol.for("react.provider"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),Ha=Symbol.for("react.lazy"); var Ia=Symbol.for("react.offscreen");var Ja=Symbol.iterator;function Ka(a){if(null===a||"object"!==typeof a)return null;a=Ja&&a[Ja]||a["@@iterator"];return "function"===typeof a?a:null}var A=Object.assign,La;function Ma(a){if(void 0===La)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);La=b&&b[1]||"";}return "\n"+La+a}var Na=false;
|
|
5667
|
+
function Oa(a,b){if(!a||Na)return "";Na=true;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[]);}catch(l){var d=l;}Reflect.construct(a,[],b);}else {try{b.call();}catch(l){d=l;}a.call(b.prototype);}else {try{throw Error();}catch(l){d=l;}a();}}catch(l){if(l&&d&&"string"===typeof l.stack){for(var e=l.stack.split("\n"),
|
|
5668
5668
|
f=d.stack.split("\n"),g=e.length-1,h=f.length-1;1<=g&&0<=h&&e[g]!==f[h];)h--;for(;1<=g&&0<=h;g--,h--)if(e[g]!==f[h]){if(1!==g||1!==h){do if(g--,h--,0>h||e[g]!==f[h]){var k="\n"+e[g].replace(" at new "," at ");a.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",a.displayName));return k}while(1<=g&&0<=h)}break}}}finally{Na=false,Error.prepareStackTrace=c;}return (a=a?a.displayName||a.name:"")?Ma(a):""}
|
|
5669
5669
|
function Pa(a){switch(a.tag){case 5:return Ma(a.type);case 16:return Ma("Lazy");case 13:return Ma("Suspense");case 19:return Ma("SuspenseList");case 0:case 2:case 15:return a=Oa(a.type,false),a;case 11:return a=Oa(a.type.render,false),a;case 1:return a=Oa(a.type,true),a;default:return ""}}
|
|
5670
5670
|
function Qa(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case ya:return "Fragment";case wa:return "Portal";case Aa:return "Profiler";case za:return "StrictMode";case Ea:return "Suspense";case Fa:return "SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Ca:return (a.displayName||"Context")+".Consumer";case Ba:return (a._context.displayName||"Context")+".Provider";case Da:var b=a.render;a=a.displayName;a||(a=b.displayName||
|
|
@@ -5673,13 +5673,13 @@
|
|
|
5673
5673
|
case 12:return "Profiler";case 21:return "Scope";case 13:return "Suspense";case 19:return "SuspenseList";case 25:return "TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function Sa(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return ""}}
|
|
5674
5674
|
function Ta(a){var b=a.type;return (a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}
|
|
5675
5675
|
function Ua(a){var b=Ta(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:true,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a);}});Object.defineProperty(a,b,{enumerable:c.enumerable});return {getValue:function(){return d},setValue:function(a){d=""+a;},stopTracking:function(){a._valueTracker=
|
|
5676
|
-
null;delete a[b];}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a));}function Wa(a){if(!a)return false;var b=a._valueTracker;if(!b)return true;var c=b.getValue();var d="";a&&(d=Ta(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),true):false}function Xa(a){a=a||("undefined"!==typeof document?document:
|
|
5677
|
-
function Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:
|
|
5676
|
+
null;delete a[b];}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a));}function Wa(a){if(!a)return false;var b=a._valueTracker;if(!b)return true;var c=b.getValue();var d="";a&&(d=Ta(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),true):false}function Xa(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}
|
|
5677
|
+
function Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value};}function ab(a,b){b=b.checked;null!=b&&ta(a,"checked",b,false);}
|
|
5678
5678
|
function bb(a,b){ab(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c;}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?cb(a,b.type,c):b.hasOwnProperty("defaultValue")&&cb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked);}
|
|
5679
|
-
function db(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type;if(!("submit"!==d&&"reset"!==d||
|
|
5679
|
+
function db(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type;if(!("submit"!==d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b;}c=a.name;""!==c&&(a.name="");a.defaultChecked=!!a._wrapperState.initialChecked;""!==c&&(a.name=c);}
|
|
5680
5680
|
function cb(a,b,c){if("number"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c);}var eb=Array.isArray;
|
|
5681
5681
|
function fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=true;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=true);}else {c=""+Sa(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=true;d&&(a[e].defaultSelected=true);return}null!==b||a[e].disabled||(b=a[e]);}null!==b&&(b.selected=true);}}
|
|
5682
|
-
function gb(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(p(91));return A({},b,{value:
|
|
5682
|
+
function gb(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(p(91));return A({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function hb(a,b){var c=b.value;if(null==c){c=b.children;b=b.defaultValue;if(null!=c){if(null!=b)throw Error(p(92));if(eb(c)){if(1<c.length)throw Error(p(93));c=c[0];}b=c;}null==b&&(b="");c=b;}a._wrapperState={initialValue:Sa(c)};}
|
|
5683
5683
|
function ib(a,b){var c=Sa(b.value),d=Sa(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d);}function jb(a){var b=a.textContent;b===a._wrapperState.initialValue&&""!==b&&null!==b&&(a.value=b);}function kb(a){switch(a){case "svg":return "http://www.w3.org/2000/svg";case "math":return "http://www.w3.org/1998/Math/MathML";default:return "http://www.w3.org/1999/xhtml"}}
|
|
5684
5684
|
function lb(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?kb(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}
|
|
5685
5685
|
var mb,nb=function(a){return "undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)});}:a}(function(a,b){if("http://www.w3.org/2000/svg"!==a.namespaceURI||"innerHTML"in a)a.innerHTML=b;else {mb=mb||document.createElement("div");mb.innerHTML="<svg>"+b.valueOf().toString()+"</svg>";for(b=mb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild);}});
|
|
@@ -5714,11 +5714,11 @@
|
|
|
5714
5714
|
function fd(a,b,c,d){if(dd){var e=Yc(a,b,c,d);if(null===e)hd(a,b,d,id,c),Sc(a,d);else if(Uc(e,a,b,c,d))d.stopPropagation();else if(Sc(a,d),b&4&&-1<Rc.indexOf(a)){for(;null!==e;){var f=Cb(e);null!==f&&Ec(f);f=Yc(a,b,c,d);null===f&&hd(a,b,d,id,c);if(f===e)break;e=f;}null!==e&&d.stopPropagation();}else hd(a,b,d,null,c);}}var id=null;
|
|
5715
5715
|
function Yc(a,b,c,d){id=null;a=xb(d);a=Wc(a);if(null!==a)if(b=Vb(a),null===b)a=null;else if(c=b.tag,13===c){a=Wb(b);if(null!==a)return a;a=null;}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated)return 3===b.tag?b.stateNode.containerInfo:null;a=null;}else b!==a&&(a=null);id=a;return null}
|
|
5716
5716
|
function jd(a){switch(a){case "cancel":case "click":case "close":case "contextmenu":case "copy":case "cut":case "auxclick":case "dblclick":case "dragend":case "dragstart":case "drop":case "focusin":case "focusout":case "input":case "invalid":case "keydown":case "keypress":case "keyup":case "mousedown":case "mouseup":case "paste":case "pause":case "play":case "pointercancel":case "pointerdown":case "pointerup":case "ratechange":case "reset":case "resize":case "seeked":case "submit":case "touchcancel":case "touchend":case "touchstart":case "volumechange":case "change":case "selectionchange":case "textInput":case "compositionstart":case "compositionend":case "compositionupdate":case "beforeblur":case "afterblur":case "beforeinput":case "blur":case "fullscreenchange":case "focus":case "hashchange":case "popstate":case "select":case "selectstart":return 1;case "drag":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "mousemove":case "mouseout":case "mouseover":case "pointermove":case "pointerout":case "pointerover":case "scroll":case "toggle":case "touchmove":case "wheel":case "mouseenter":case "mouseleave":case "pointerenter":case "pointerleave":return 4;
|
|
5717
|
-
case "message":switch(ec()){case fc:return 1;case gc:return 4;case hc:case ic:return 16;case jc:return 536870912;default:return 16}default:return 16}}var kd=null,ld=null,md=null;function nd(){if(md)return md;var a,b=ld,c=b.length,d,e="value"in kd?kd.value:kd.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return md=e.slice(a,1<d?1-d:
|
|
5717
|
+
case "message":switch(ec()){case fc:return 1;case gc:return 4;case hc:case ic:return 16;case jc:return 536870912;default:return 16}default:return 16}}var kd=null,ld=null,md=null;function nd(){if(md)return md;var a,b=ld,c=b.length,d,e="value"in kd?kd.value:kd.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return md=e.slice(a,1<d?1-d:void 0)}
|
|
5718
5718
|
function od(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function pd(){return true}function qd(){return false}
|
|
5719
5719
|
function rd(a){function b(b,d,e,f,g){this._reactName=b;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var c in a)a.hasOwnProperty(c)&&(b=a[c],this[c]=b?b(f):f[c]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:false===f.returnValue)?pd:qd;this.isPropagationStopped=qd;return this}A(b.prototype,{preventDefault:function(){this.defaultPrevented=true;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&
|
|
5720
5720
|
(a.returnValue=false),this.isDefaultPrevented=pd);},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=true),this.isPropagationStopped=pd);},persist:function(){},isPersistent:pd});return b}
|
|
5721
|
-
var sd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=rd(sd),ud=A({},sd,{view:0,detail:0}),vd=rd(ud),wd,xd,yd,Ad=A({},ud,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zd,button:0,buttons:0,relatedTarget:function(a){return
|
|
5721
|
+
var sd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=rd(sd),ud=A({},sd,{view:0,detail:0}),vd=rd(ud),wd,xd,yd,Ad=A({},ud,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zd,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in
|
|
5722
5722
|
a)return a.movementX;a!==yd&&(yd&&"mousemove"===a.type?(wd=a.screenX-yd.screenX,xd=a.screenY-yd.screenY):xd=wd=0,yd=a);return wd},movementY:function(a){return "movementY"in a?a.movementY:xd}}),Bd=rd(Ad),Cd=A({},Ad,{dataTransfer:0}),Dd=rd(Cd),Ed=A({},ud,{relatedTarget:0}),Fd=rd(Ed),Gd=A({},sd,{animationName:0,elapsedTime:0,pseudoElement:0}),Hd=rd(Gd),Id=A({},sd,{clipboardData:function(a){return "clipboardData"in a?a.clipboardData:window.clipboardData}}),Jd=rd(Id),Kd=A({},sd,{data:0}),Ld=rd(Kd),Md={Esc:"Escape",
|
|
5723
5723
|
Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nd={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",
|
|
5724
5724
|
119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Od={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pd(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Od[a])?!!b[a]:false}function zd(){return Pd}
|
|
@@ -5731,9 +5731,9 @@
|
|
|
5731
5731
|
function ve(a,b){if("change"===a)return b}var we=false;if(ia){var xe;if(ia){var ye="oninput"in document;if(!ye){var ze=document.createElement("div");ze.setAttribute("oninput","return;");ye="function"===typeof ze.oninput;}xe=ye;}else xe=false;we=xe&&(!document.documentMode||9<document.documentMode);}function Ae(){pe&&(pe.detachEvent("onpropertychange",Be),qe=pe=null);}function Be(a){if("value"===a.propertyName&&te(qe)){var b=[];ne(b,qe,a,xb(a));Jb(re,b);}}
|
|
5732
5732
|
function Ce(a,b,c){"focusin"===a?(Ae(),pe=b,qe=c,pe.attachEvent("onpropertychange",Be)):"focusout"===a&&Ae();}function De(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return te(qe)}function Ee(a,b){if("click"===a)return te(b)}function Fe(a,b){if("input"===a||"change"===a)return te(b)}function Ge(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var He="function"===typeof Object.is?Object.is:Ge;
|
|
5733
5733
|
function Ie(a,b){if(He(a,b))return true;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return false;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return false;for(d=0;d<c.length;d++){var e=c[d];if(!ja.call(b,e)||!He(a[e],b[e]))return false}return true}function Je(a){for(;a&&a.firstChild;)a=a.firstChild;return a}
|
|
5734
|
-
function Ke(a,b){var c=Je(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return {node:c,offset:b-a};a=d;}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode;}c=
|
|
5734
|
+
function Ke(a,b){var c=Je(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return {node:c,offset:b-a};a=d;}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode;}c=void 0;}c=Je(c);}}function Le(a,b){return a&&b?a===b?true:a&&3===a.nodeType?false:b&&3===b.nodeType?Le(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):false:false}
|
|
5735
5735
|
function Me(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href;}catch(d){c=false;}if(c)a=b.contentWindow;else break;b=Xa(a.document);}return b}function Ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}
|
|
5736
|
-
function Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,
|
|
5736
|
+
function Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Ke(c,f);var g=Ke(c,
|
|
5737
5737
|
d);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)));}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"===typeof c.focus&&c.focus();for(c=0;c<b.length;c++)a=b[c],a.element.scrollLeft=a.left,a.element.scrollTop=a.top;}}
|
|
5738
5738
|
var Pe=ia&&"documentMode"in document&&11>=document.documentMode,Qe=null,Re=null,Se=null,Te=false;
|
|
5739
5739
|
function Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,"selectionStart"in d&&Ne(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Ie(Se,d)||(Se=d,d=oe(Re,"onSelect"),0<d.length&&(b=new td("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=Qe)));}
|
|
@@ -5742,27 +5742,27 @@
|
|
|
5742
5742
|
function ff(a,b){df.set(a,b);fa(b,[a]);}for(var gf=0;gf<ef.length;gf++){var hf=ef[gf],jf=hf.toLowerCase(),kf=hf[0].toUpperCase()+hf.slice(1);ff(jf,"on"+kf);}ff($e,"onAnimationEnd");ff(af,"onAnimationIteration");ff(bf,"onAnimationStart");ff("dblclick","onDoubleClick");ff("focusin","onFocus");ff("focusout","onBlur");ff(cf,"onTransitionEnd");ha("onMouseEnter",["mouseout","mouseover"]);ha("onMouseLeave",["mouseout","mouseover"]);ha("onPointerEnter",["pointerout","pointerover"]);
|
|
5743
5743
|
ha("onPointerLeave",["pointerout","pointerover"]);fa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));fa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));fa("onBeforeInput",["compositionend","keypress","textInput","paste"]);fa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));fa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));
|
|
5744
5744
|
fa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mf=new Set("cancel close invalid load scroll toggle".split(" ").concat(lf));
|
|
5745
|
-
function nf(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;Ub(d,b,
|
|
5746
|
-
function se(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=
|
|
5747
|
-
function D(a,b){var c=b[of];
|
|
5748
|
-
function pf(a,b,c,d){switch(jd(b)){case 1:var e=ed;break;case 4:e=gd;break;default:e=fd;}c=e.bind(null,b,c,a);e=
|
|
5745
|
+
function nf(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;Ub(d,b,void 0,a);a.currentTarget=null;}
|
|
5746
|
+
function se(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],k=h.instance,l=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;nf(e,h,l);f=k;}else for(g=0;g<d.length;g++){h=d[g];k=h.instance;l=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;nf(e,h,l);f=k;}}}if(Qb)throw a=Rb,Qb=false,Rb=null,a;}
|
|
5747
|
+
function D(a,b){var c=b[of];void 0===c&&(c=b[of]=new Set);var d=a+"__bubble";c.has(d)||(pf(b,a,2,false),c.add(d));}function qf(a,b,c){var d=0;b&&(d|=4);pf(c,a,d,b);}var rf="_reactListening"+Math.random().toString(36).slice(2);function sf(a){if(!a[rf]){a[rf]=true;da.forEach(function(b){"selectionchange"!==b&&(mf.has(b)||qf(b,false,a),qf(b,true,a));});var b=9===a.nodeType?a:a.ownerDocument;null===b||b[rf]||(b[rf]=true,qf("selectionchange",false,b));}}
|
|
5748
|
+
function pf(a,b,c,d){switch(jd(b)){case 1:var e=ed;break;case 4:e=gd;break;default:e=fd;}c=e.bind(null,b,c,a);e=void 0;!Lb||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=true);d?void 0!==e?a.addEventListener(b,c,{capture:true,passive:e}):a.addEventListener(b,c,true):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,false);}
|
|
5749
5749
|
function hd(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var k=g.tag;if(3===k||4===k)if(k=g.stateNode.containerInfo,k===e||8===k.nodeType&&k.parentNode===e)return;g=g.return;}for(;null!==h;){g=Wc(h);if(null===g)return;k=g.tag;if(5===k||6===k){d=f=g;continue a}h=h.parentNode;}}d=d.return;}Jb(function(){var d=f,e=xb(c),g=[];
|
|
5750
|
-
a:{var h=df.get(a);if(
|
|
5750
|
+
a:{var h=df.get(a);if(void 0!==h){var k=td,n=a;switch(a){case "keypress":if(0===od(c))break a;case "keydown":case "keyup":k=Rd;break;case "focusin":n="focus";k=Fd;break;case "focusout":n="blur";k=Fd;break;case "beforeblur":case "afterblur":k=Fd;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":k=Bd;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":k=
|
|
5751
5751
|
Dd;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":k=Vd;break;case $e:case af:case bf:k=Hd;break;case cf:k=Xd;break;case "scroll":k=vd;break;case "wheel":k=Zd;break;case "copy":case "cut":case "paste":k=Jd;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":k=Td;}var t=0!==(b&4),J=!t&&"scroll"===a,x=t?null!==h?h+"Capture":null:h;t=[];for(var w=d,u;null!==
|
|
5752
5752
|
w;){u=w;var F=u.stateNode;5===u.tag&&null!==F&&(u=F,null!==x&&(F=Kb(w,x),null!=F&&t.push(tf(w,F,u))));if(J)break;w=w.return;}0<t.length&&(h=new k(h,n,null,c,e),g.push({event:h,listeners:t}));}}if(0===(b&7)){a:{h="mouseover"===a||"pointerover"===a;k="mouseout"===a||"pointerout"===a;if(h&&c!==wb&&(n=c.relatedTarget||c.fromElement)&&(Wc(n)||n[uf]))break a;if(k||h){h=e.window===e?e:(h=e.ownerDocument)?h.defaultView||h.parentWindow:window;if(k){if(n=c.relatedTarget||c.toElement,k=d,n=n?Wc(n):null,null!==
|
|
5753
5753
|
n&&(J=Vb(n),n!==J||5!==n.tag&&6!==n.tag))n=null;}else k=null,n=d;if(k!==n){t=Bd;F="onMouseLeave";x="onMouseEnter";w="mouse";if("pointerout"===a||"pointerover"===a)t=Td,F="onPointerLeave",x="onPointerEnter",w="pointer";J=null==k?h:ue(k);u=null==n?h:ue(n);h=new t(F,w+"leave",k,c,e);h.target=J;h.relatedTarget=u;F=null;Wc(e)===d&&(t=new t(x,w+"enter",n,c,e),t.target=u,t.relatedTarget=J,F=t);J=F;if(k&&n)b:{t=k;x=n;w=0;for(u=t;u;u=vf(u))w++;u=0;for(F=x;F;F=vf(F))u++;for(;0<w-u;)t=vf(t),w--;for(;0<u-w;)x=
|
|
5754
5754
|
vf(x),u--;for(;w--;){if(t===x||null!==x&&t===x.alternate)break b;t=vf(t);x=vf(x);}t=null;}else t=null;null!==k&&wf(g,h,k,t,false);null!==n&&null!==J&&wf(g,J,n,t,true);}}}a:{h=d?ue(d):window;k=h.nodeName&&h.nodeName.toLowerCase();if("select"===k||"input"===k&&"file"===h.type)var na=ve;else if(me(h))if(we)na=Fe;else {na=De;var xa=Ce;}else (k=h.nodeName)&&"input"===k.toLowerCase()&&("checkbox"===h.type||"radio"===h.type)&&(na=Ee);if(na&&(na=na(a,d))){ne(g,na,c,e);break a}xa&&xa(a,h,d);"focusout"===a&&(xa=h._wrapperState)&&
|
|
5755
5755
|
xa.controlled&&"number"===h.type&&cb(h,"number",h.value);}xa=d?ue(d):window;switch(a){case "focusin":if(me(xa)||"true"===xa.contentEditable)Qe=xa,Re=d,Se=null;break;case "focusout":Se=Re=Qe=null;break;case "mousedown":Te=true;break;case "contextmenu":case "mouseup":case "dragend":Te=false;Ue(g,c,e);break;case "selectionchange":if(Pe)break;case "keydown":case "keyup":Ue(g,c,e);}var $a;if(ae)b:{switch(a){case "compositionstart":var ba="onCompositionStart";break b;case "compositionend":ba="onCompositionEnd";
|
|
5756
|
-
break b;case "compositionupdate":ba="onCompositionUpdate";break b}ba=
|
|
5756
|
+
break b;case "compositionupdate":ba="onCompositionUpdate";break b}ba=void 0;}else ie?ge(a,c)&&(ba="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(ba="onCompositionStart");ba&&(de&&"ko"!==c.locale&&(ie||"onCompositionStart"!==ba?"onCompositionEnd"===ba&&ie&&($a=nd()):(kd=e,ld="value"in kd?kd.value:kd.textContent,ie=true)),xa=oe(d,ba),0<xa.length&&(ba=new Ld(ba,a,null,c,e),g.push({event:ba,listeners:xa}),$a?ba.data=$a:($a=he(c),null!==$a&&(ba.data=$a))));if($a=ce?je(a,c):ke(a,c))d=oe(d,"onBeforeInput"),
|
|
5757
5757
|
0<d.length&&(e=new Ld("onBeforeInput","beforeinput",null,c,e),g.push({event:e,listeners:d}),e.data=$a);}se(g,b);});}function tf(a,b,c){return {instance:a,listener:b,currentTarget:c}}function oe(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;5===e.tag&&null!==f&&(e=f,f=Kb(a,c),null!=f&&d.unshift(tf(a,f,e)),f=Kb(a,b),null!=f&&d.push(tf(a,f,e)));a=a.return;}return d}function vf(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag);return a?a:null}
|
|
5758
5758
|
function wf(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,k=h.alternate,l=h.stateNode;if(null!==k&&k===d)break;5===h.tag&&null!==l&&(h=l,e?(k=Kb(c,f),null!=k&&g.unshift(tf(c,k,h))):e||(k=Kb(c,f),null!=k&&g.push(tf(c,k,h))));c=c.return;}0!==g.length&&a.push({event:b,listeners:g});}var xf=/\r\n?/g,yf=/\u0000|\uFFFD/g;function zf(a){return ("string"===typeof a?a:""+a).replace(xf,"\n").replace(yf,"")}function Af(a,b,c){b=zf(b);if(zf(a)!==b&&c)throw Error(p(425));}function Bf(){}
|
|
5759
5759
|
var Cf=null,Df=null;function Ef(a,b){return "textarea"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}
|
|
5760
|
-
var Ff="function"===typeof setTimeout?setTimeout:
|
|
5760
|
+
var Ff="function"===typeof setTimeout?setTimeout:void 0,Gf="function"===typeof clearTimeout?clearTimeout:void 0,Hf="function"===typeof Promise?Promise:void 0,Jf="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof Hf?function(a){return Hf.resolve(null).then(a).catch(If)}:Ff;function If(a){setTimeout(function(){throw a;});}
|
|
5761
5761
|
function Kf(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,"/$"===c){if(0===d){a.removeChild(e);bd(b);return}d--;}else "$"!==c&&"$?"!==c&&"$!"!==c||d++;c=e;}while(c);bd(b);}function Lf(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b)break;if("/$"===b)return null}}return a}
|
|
5762
5762
|
function Mf(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--;}else "/$"===c&&b++;}a=a.previousSibling;}return null}var Nf=Math.random().toString(36).slice(2),Of="__reactFiber$"+Nf,Pf="__reactProps$"+Nf,uf="__reactContainer$"+Nf,of="__reactEvents$"+Nf,Qf="__reactListeners$"+Nf,Rf="__reactHandles$"+Nf;
|
|
5763
5763
|
function Wc(a){var b=a[Of];if(b)return b;for(var c=a.parentNode;c;){if(b=c[uf]||c[Of]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Mf(a);null!==a;){if(c=a[Of])return c;a=Mf(a);}return b}a=c;c=a.parentNode;}return null}function Cb(a){a=a[Of]||a[uf];return !a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function ue(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(p(33));}function Db(a){return a[Pf]||null}var Sf=[],Tf=-1;function Uf(a){return {current:a}}
|
|
5764
5764
|
function E(a){0>Tf||(a.current=Sf[Tf],Sf[Tf]=null,Tf--);}function G(a,b){Tf++;Sf[Tf]=a.current;a.current=b;}var Vf={},H=Uf(Vf),Wf=Uf(false),Xf=Vf;function Yf(a,b){var c=a.type.contextTypes;if(!c)return Vf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}
|
|
5765
|
-
function Zf(a){a=a.childContextTypes;return null!==a&&
|
|
5765
|
+
function Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E(Wf);E(H);}function ag(a,b,c){if(H.current!==Vf)throw Error(p(168));G(H,b);G(Wf,c);}function bg(a,b,c){var d=a.stateNode;b=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(p(108,Ra(a)||"Unknown",e));return A({},c,d)}
|
|
5766
5766
|
function cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H.current;G(H,a);G(Wf,Wf.current);return true}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E(Wf),E(H),G(H,a)):E(Wf);G(Wf,c);}var eg=null,fg=false,gg=false;function hg(a){null===eg?eg=[a]:eg.push(a);}function ig(a){fg=true;hg(a);}
|
|
5767
5767
|
function jg(){if(!gg&&null!==eg){gg=true;var a=0,b=C;try{var c=eg;for(C=1;a<c.length;a++){var d=c[a];do d=d(!0);while(null!==d)}eg=null;fg=!1;}catch(e){throw null!==eg&&(eg=eg.slice(a+1)),ac(fc,jg),e;}finally{C=b,gg=false;}}return null}var kg=[],lg=0,mg=null,ng=0,og=[],pg=0,qg=null,rg=1,sg="";function tg(a,b){kg[lg++]=ng;kg[lg++]=mg;mg=a;ng=b;}
|
|
5768
5768
|
function ug(a,b,c){og[pg++]=rg;og[pg++]=sg;og[pg++]=qg;qg=a;var d=rg;a=sg;var e=32-oc(d)-1;d&=~(1<<e);c+=1;var f=32-oc(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;rg=1<<32-oc(b)+e|c<<e|d;sg=f+a;}else rg=1<<f|c<<e|d,sg=a;}function vg(a){null!==a.return&&(tg(a,1),ug(a,1,0));}function wg(a){for(;a===mg;)mg=kg[--lg],kg[lg]=null,ng=kg[--lg],kg[lg]=null;for(;a===qg;)qg=og[--pg],og[pg]=null,sg=og[--pg],og[pg]=null,rg=og[--pg],og[pg]=null;}var xg=null,yg=null,I=false,zg=null;
|
|
@@ -5791,11 +5791,11 @@
|
|
|
5791
5791
|
function ph(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};null===f?e=f=g:f=f.next=g;c=c.next;}while(null!==c);null===f?e=f=b:f=f.next=b;}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,effects:d.effects};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=
|
|
5792
5792
|
b;c.lastBaseUpdate=b;}
|
|
5793
5793
|
function qh(a,b,c,d){var e=a.updateQueue;jh=false;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var k=h,l=k.next;k.next=null;null===g?f=l:g.next=l;g=k;var m=a.alternate;null!==m&&(m=m.updateQueue,h=m.lastBaseUpdate,h!==g&&(null===h?m.firstBaseUpdate=l:h.next=l,m.lastBaseUpdate=k));}if(null!==f){var q=e.baseState;g=0;m=l=k=null;h=f;do{var r=h.lane,y=h.eventTime;if((d&r)===r){null!==m&&(m=m.next={eventTime:y,lane:0,tag:h.tag,payload:h.payload,callback:h.callback,
|
|
5794
|
-
next:null});a:{var n=a,t=h;r=b;y=c;switch(t.tag){case 1:n=t.payload;if("function"===typeof n){q=n.call(y,q,r);break a}q=n;break a;case 3:n.flags=n.flags&-65537|128;case 0:n=t.payload;r="function"===typeof n?n.call(y,q,r):n;if(null===r||
|
|
5794
|
+
next:null});a:{var n=a,t=h;r=b;y=c;switch(t.tag){case 1:n=t.payload;if("function"===typeof n){q=n.call(y,q,r);break a}q=n;break a;case 3:n.flags=n.flags&-65537|128;case 0:n=t.payload;r="function"===typeof n?n.call(y,q,r):n;if(null===r||void 0===r)break a;q=A({},q,r);break a;case 2:jh=true;}}null!==h.callback&&0!==h.lane&&(a.flags|=64,r=e.effects,null===r?e.effects=[h]:r.push(h));}else y={eventTime:y,lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===m?(l=m=y,k=q):m=m.next=y,g|=r;
|
|
5795
5795
|
h=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else r=h,h=r.next,r.next=null,e.lastBaseUpdate=r,e.shared.pending=null;}while(1);null===m&&(k=q);e.baseState=k;e.firstBaseUpdate=l;e.lastBaseUpdate=m;b=e.shared.interleaved;if(null!==b){e=b;do g|=e.lane,e=e.next;while(e!==b)}else null===f&&(e.shared.lanes=0);rh|=g;a.lanes=g;a.memoizedState=q;}}
|
|
5796
5796
|
function sh(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;b<a.length;b++){var d=a[b],e=d.callback;if(null!==e){d.callback=null;d=c;if("function"!==typeof e)throw Error(p(191,e));e.call(d);}}}var th={},uh=Uf(th),vh=Uf(th),wh=Uf(th);function xh(a){if(a===th)throw Error(p(174));return a}
|
|
5797
5797
|
function yh(a,b){G(wh,b);G(vh,a);G(uh,th);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:lb(null,"");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=lb(b,a);}E(uh);G(uh,b);}function zh(){E(uh);E(vh);E(wh);}function Ah(a){xh(wh.current);var b=xh(uh.current);var c=lb(b,a.type);b!==c&&(G(vh,a),G(uh,c));}function Bh(a){vh.current===a&&(E(uh),E(vh));}var L=Uf(0);
|
|
5798
|
-
function Ch(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&
|
|
5798
|
+
function Ch(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return;}b.sibling.return=b.return;b=b.sibling;}return null}var Dh=[];
|
|
5799
5799
|
function Eh(){for(var a=0;a<Dh.length;a++)Dh[a]._workInProgressVersionPrimary=null;Dh.length=0;}var Fh=ua.ReactCurrentDispatcher,Gh=ua.ReactCurrentBatchConfig,Hh=0,M=null,N=null,O=null,Ih=false,Jh=false,Kh=0,Lh=0;function P(){throw Error(p(321));}function Mh(a,b){if(null===b)return false;for(var c=0;c<b.length&&c<a.length;c++)if(!He(a[c],b[c]))return false;return true}
|
|
5800
5800
|
function Nh(a,b,c,d,e,f){Hh=f;M=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;Fh.current=null===a||null===a.memoizedState?Oh:Ph;a=c(d,e);if(Jh){f=0;do{Jh=false;Kh=0;if(25<=f)throw Error(p(301));f+=1;O=N=null;b.updateQueue=null;Fh.current=Qh;a=c(d,e);}while(Jh)}Fh.current=Rh;b=null!==N&&null!==N.next;Hh=0;O=N=M=null;Ih=false;if(b)throw Error(p(300));return a}function Sh(){var a=0!==Kh;Kh=0;return a}
|
|
5801
5801
|
function Th(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===O?M.memoizedState=O=a:O=O.next=a;return O}function Uh(){if(null===N){var a=M.alternate;a=null!==a?a.memoizedState:null;}else a=N.next;var b=null===O?M.memoizedState:O.next;if(null!==b)O=b,N=a;else {if(null===a)throw Error(p(310));N=a;a={memoizedState:N.memoizedState,baseState:N.baseState,baseQueue:N.baseQueue,queue:N.queue,next:null};null===O?M.memoizedState=O=a:O=O.next=a;}return O}
|
|
@@ -5803,34 +5803,34 @@
|
|
|
5803
5803
|
function Wh(a){var b=Uh(),c=b.queue;if(null===c)throw Error(p(311));c.lastRenderedReducer=a;var d=N,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g;}d.baseQueue=e=f;c.pending=null;}if(null!==e){f=e.next;d=d.baseState;var h=g=null,k=null,l=f;do{var m=l.lane;if((Hh&m)===m)null!==k&&(k=k.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),d=l.hasEagerState?l.eagerState:a(d,l.action);else {var q={lane:m,action:l.action,hasEagerState:l.hasEagerState,
|
|
5804
5804
|
eagerState:l.eagerState,next:null};null===k?(h=k=q,g=d):k=k.next=q;M.lanes|=m;rh|=m;}l=l.next;}while(null!==l&&l!==f);null===k?g=d:k.next=h;He(d,b.memoizedState)||(dh=true);b.memoizedState=d;b.baseState=g;b.baseQueue=k;c.lastRenderedState=d;}a=c.interleaved;if(null!==a){e=a;do f=e.lane,M.lanes|=f,rh|=f,e=e.next;while(e!==a)}else null===e&&(c.lanes=0);return [b.memoizedState,c.dispatch]}
|
|
5805
5805
|
function Xh(a){var b=Uh(),c=b.queue;if(null===c)throw Error(p(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);He(f,b.memoizedState)||(dh=true);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f;}return [f,d]}function Yh(){}
|
|
5806
|
-
function Zh(a,b){var c=M,d=Uh(),e=b(),f=!He(d.memoizedState,e);f&&(d.memoizedState=e,dh=true);d=d.queue;$h(ai.bind(null,c,d,a),[a]);if(d.getSnapshot!==b||f||null!==O&&O.memoizedState.tag&1){c.flags|=2048;bi(9,ci.bind(null,c,d,e,b),
|
|
5806
|
+
function Zh(a,b){var c=M,d=Uh(),e=b(),f=!He(d.memoizedState,e);f&&(d.memoizedState=e,dh=true);d=d.queue;$h(ai.bind(null,c,d,a),[a]);if(d.getSnapshot!==b||f||null!==O&&O.memoizedState.tag&1){c.flags|=2048;bi(9,ci.bind(null,c,d,e,b),void 0,null);if(null===Q)throw Error(p(349));0!==(Hh&30)||di(c,b,e);}return e}function di(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=M.updateQueue;null===b?(b={lastEffect:null,stores:null},M.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a));}
|
|
5807
5807
|
function ci(a,b,c,d){b.value=c;b.getSnapshot=d;ei(b)&&fi(a);}function ai(a,b,c){return c(function(){ei(b)&&fi(a);})}function ei(a){var b=a.getSnapshot;a=a.value;try{var c=b();return !He(a,c)}catch(d){return true}}function fi(a){var b=ih(a,1);null!==b&&gi(b,a,1,-1);}
|
|
5808
5808
|
function hi(a){var b=Th();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Vh,lastRenderedState:a};b.queue=a;a=a.dispatch=ii.bind(null,M,a);return [b.memoizedState,a]}
|
|
5809
|
-
function bi(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=M.updateQueue;null===b?(b={lastEffect:null,stores:null},M.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function ji(){return Uh().memoizedState}function ki(a,b,c,d){var e=Th();M.flags|=a;e.memoizedState=bi(1|b,c,
|
|
5810
|
-
function li(a,b,c,d){var e=Uh();d=
|
|
5811
|
-
function pi(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null);};if(null!==b&&
|
|
5812
|
-
function ti(a,b){var c=Uh();b=
|
|
5809
|
+
function bi(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=M.updateQueue;null===b?(b={lastEffect:null,stores:null},M.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function ji(){return Uh().memoizedState}function ki(a,b,c,d){var e=Th();M.flags|=a;e.memoizedState=bi(1|b,c,void 0,void 0===d?null:d);}
|
|
5810
|
+
function li(a,b,c,d){var e=Uh();d=void 0===d?null:d;var f=void 0;if(null!==N){var g=N.memoizedState;f=g.destroy;if(null!==d&&Mh(d,g.deps)){e.memoizedState=bi(b,c,f,d);return}}M.flags|=a;e.memoizedState=bi(1|b,c,f,d);}function mi(a,b){return ki(8390656,8,a,b)}function $h(a,b){return li(2048,8,a,b)}function ni(a,b){return li(4,2,a,b)}function oi(a,b){return li(4,4,a,b)}
|
|
5811
|
+
function pi(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null);};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null;}}function qi(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return li(4,4,pi.bind(null,b,a),c)}function ri(){}function si(a,b){var c=Uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Mh(b,d[1]))return d[0];c.memoizedState=[a,b];return a}
|
|
5812
|
+
function ti(a,b){var c=Uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Mh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function ui(a,b,c){if(0===(Hh&21))return a.baseState&&(a.baseState=false,dh=true),a.memoizedState=c;He(c,b)||(c=yc(),M.lanes|=c,rh|=c,a.baseState=true);return b}function vi(a,b){var c=C;C=0!==c&&4>c?c:4;a(true);var d=Gh.transition;Gh.transition={};try{a(!1),b();}finally{C=c,Gh.transition=d;}}function wi(){return Uh().memoizedState}
|
|
5813
5813
|
function xi(a,b,c){var d=yi(a);c={lane:d,action:c,hasEagerState:false,eagerState:null,next:null};if(zi(a))Ai(b,c);else if(c=hh(a,b,c,d),null!==c){var e=R();gi(c,a,d,e);Bi(c,b,d);}}
|
|
5814
5814
|
function ii(a,b,c){var d=yi(a),e={lane:d,action:c,hasEagerState:false,eagerState:null,next:null};if(zi(a))Ai(b,e);else {var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(He(h,g)){var k=b.interleaved;null===k?(e.next=e,gh(b)):(e.next=k.next,k.next=e);b.interleaved=e;return}}catch(l){}finally{}c=hh(a,b,e,d);null!==c&&(e=R(),gi(c,a,d,e),Bi(c,b,d));}}
|
|
5815
5815
|
function zi(a){var b=a.alternate;return a===M||null!==b&&b===M}function Ai(a,b){Jh=Ih=true;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b;}function Bi(a,b,c){if(0!==(c&4194240)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c);}}
|
|
5816
|
-
var Rh={readContext:eh,useCallback:P,useContext:P,useEffect:P,useImperativeHandle:P,useInsertionEffect:P,useLayoutEffect:P,useMemo:P,useReducer:P,useRef:P,useState:P,useDebugValue:P,useDeferredValue:P,useTransition:P,useMutableSource:P,useSyncExternalStore:P,useId:P,unstable_isNewReconciler:false},Oh={readContext:eh,useCallback:function(a,b){Th().memoizedState=[a,
|
|
5817
|
-
4,pi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ki(4194308,4,a,b)},useInsertionEffect:function(a,b){return ki(4,2,a,b)},useMemo:function(a,b){var c=Th();b=
|
|
5818
|
-
Th();a={current:a};return b.memoizedState=a},useState:hi,useDebugValue:ri,useDeferredValue:function(a){return Th().memoizedState=a},useTransition:function(){var a=hi(false),b=a[0];a=vi.bind(null,a[1]);Th().memoizedState=a;return [b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=M,e=Th();if(I){if(
|
|
5819
|
-
f,a),[a]);d.flags|=2048;bi(9,ci.bind(null,d,f,c,b),
|
|
5816
|
+
var Rh={readContext:eh,useCallback:P,useContext:P,useEffect:P,useImperativeHandle:P,useInsertionEffect:P,useLayoutEffect:P,useMemo:P,useReducer:P,useRef:P,useState:P,useDebugValue:P,useDeferredValue:P,useTransition:P,useMutableSource:P,useSyncExternalStore:P,useId:P,unstable_isNewReconciler:false},Oh={readContext:eh,useCallback:function(a,b){Th().memoizedState=[a,void 0===b?null:b];return a},useContext:eh,useEffect:mi,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ki(4194308,
|
|
5817
|
+
4,pi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ki(4194308,4,a,b)},useInsertionEffect:function(a,b){return ki(4,2,a,b)},useMemo:function(a,b){var c=Th();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Th();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=xi.bind(null,M,a);return [d.memoizedState,a]},useRef:function(a){var b=
|
|
5818
|
+
Th();a={current:a};return b.memoizedState=a},useState:hi,useDebugValue:ri,useDeferredValue:function(a){return Th().memoizedState=a},useTransition:function(){var a=hi(false),b=a[0];a=vi.bind(null,a[1]);Th().memoizedState=a;return [b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=M,e=Th();if(I){if(void 0===c)throw Error(p(407));c=c();}else {c=b();if(null===Q)throw Error(p(349));0!==(Hh&30)||di(d,b,c);}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;mi(ai.bind(null,d,
|
|
5819
|
+
f,a),[a]);d.flags|=2048;bi(9,ci.bind(null,d,f,c,b),void 0,null);return c},useId:function(){var a=Th(),b=Q.identifierPrefix;if(I){var c=sg;var d=rg;c=(d&~(1<<32-oc(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Kh++;0<c&&(b+="H"+c.toString(32));b+=":";}else c=Lh++,b=":"+b+"r"+c.toString(32)+":";return a.memoizedState=b},unstable_isNewReconciler:false},Ph={readContext:eh,useCallback:si,useContext:eh,useEffect:$h,useImperativeHandle:qi,useInsertionEffect:ni,useLayoutEffect:oi,useMemo:ti,useReducer:Wh,useRef:ji,useState:function(){return Wh(Vh)},
|
|
5820
5820
|
useDebugValue:ri,useDeferredValue:function(a){var b=Uh();return ui(b,N.memoizedState,a)},useTransition:function(){var a=Wh(Vh)[0],b=Uh().memoizedState;return [a,b]},useMutableSource:Yh,useSyncExternalStore:Zh,useId:wi,unstable_isNewReconciler:false},Qh={readContext:eh,useCallback:si,useContext:eh,useEffect:$h,useImperativeHandle:qi,useInsertionEffect:ni,useLayoutEffect:oi,useMemo:ti,useReducer:Xh,useRef:ji,useState:function(){return Xh(Vh)},useDebugValue:ri,useDeferredValue:function(a){var b=Uh();return null===
|
|
5821
|
-
N?b.memoizedState=a:ui(b,N.memoizedState,a)},useTransition:function(){var a=Xh(Vh)[0],b=Uh().memoizedState;return [a,b]},useMutableSource:Yh,useSyncExternalStore:Zh,useId:wi,unstable_isNewReconciler:false};function Ci(a,b){if(a&&a.defaultProps){b=A({},b);a=a.defaultProps;for(var c in a)
|
|
5822
|
-
var Ei={isMounted:function(a){return (a=a._reactInternals)?Vb(a)===a:false},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=R(),e=yi(a),f=mh(d,e);f.payload=b;
|
|
5823
|
-
yi(a),e=mh(c,d);e.tag=2;
|
|
5824
|
-
function Gi(a,b,c){var d=false,e=Vf;var f=b.contextType;"object"===typeof f&&null!==f?f=eh(f):(e=Zf(b)?Xf:H.current,d=b.contextTypes,f=(d=null!==d&&
|
|
5821
|
+
N?b.memoizedState=a:ui(b,N.memoizedState,a)},useTransition:function(){var a=Xh(Vh)[0],b=Uh().memoizedState;return [a,b]},useMutableSource:Yh,useSyncExternalStore:Zh,useId:wi,unstable_isNewReconciler:false};function Ci(a,b){if(a&&a.defaultProps){b=A({},b);a=a.defaultProps;for(var c in a) void 0===b[c]&&(b[c]=a[c]);return b}return b}function Di(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:A({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c);}
|
|
5822
|
+
var Ei={isMounted:function(a){return (a=a._reactInternals)?Vb(a)===a:false},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=R(),e=yi(a),f=mh(d,e);f.payload=b;void 0!==c&&null!==c&&(f.callback=c);b=nh(a,f,e);null!==b&&(gi(b,a,e,d),oh(b,a,e));},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=R(),e=yi(a),f=mh(d,e);f.tag=1;f.payload=b;void 0!==c&&null!==c&&(f.callback=c);b=nh(a,f,e);null!==b&&(gi(b,a,e,d),oh(b,a,e));},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=R(),d=
|
|
5823
|
+
yi(a),e=mh(c,d);e.tag=2;void 0!==b&&null!==b&&(e.callback=b);b=nh(a,e,d);null!==b&&(gi(b,a,d,c),oh(b,a,d));}};function Fi(a,b,c,d,e,f,g){a=a.stateNode;return "function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!Ie(c,d)||!Ie(e,f):true}
|
|
5824
|
+
function Gi(a,b,c){var d=false,e=Vf;var f=b.contextType;"object"===typeof f&&null!==f?f=eh(f):(e=Zf(b)?Xf:H.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Yf(a,e):Vf);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Ei;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}
|
|
5825
5825
|
function Hi(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Ei.enqueueReplaceState(b,b.state,null);}
|
|
5826
5826
|
function Ii(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};kh(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=eh(f):(f=Zf(b)?Xf:H.current,e.context=Yf(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(Di(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state,
|
|
5827
5827
|
"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Ei.enqueueReplaceState(e,e.state,null),qh(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308);}function Ji(a,b){try{var c="",d=b;do c+=Pa(d),d=d.return;while(d);var e=c;}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack;}return {value:a,source:b,stack:e,digest:null}}
|
|
5828
5828
|
function Ki(a,b,c){return {value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function Li(a,b){try{console.error(b.value);}catch(c){setTimeout(function(){throw c;});}}var Mi="function"===typeof WeakMap?WeakMap:Map;function Ni(a,b,c){c=mh(-1,c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Oi||(Oi=true,Pi=d);Li(a,b);};return c}
|
|
5829
5829
|
function Qi(a,b,c){c=mh(-1,c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){Li(a,b);};}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){Li(a,b);"function"!==typeof d&&(null===Ri?Ri=new Set([this]):Ri.add(this));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:""});});return c}
|
|
5830
|
-
function Si(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new Mi;var e=new Set;d.set(b,e);}else e=d.get(b),
|
|
5830
|
+
function Si(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new Mi;var e=new Set;d.set(b,e);}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(e.add(c),a=Ti.bind(null,a,b,c),b.then(a,a));}function Ui(a){do{var b;if(b=13===a.tag)b=a.memoizedState,b=null!==b?null!==b.dehydrated?true:false:true;if(b)return a;a=a.return;}while(null!==a);return null}
|
|
5831
5831
|
function Vi(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=mh(-1,1),b.tag=2,nh(c,b,1))),c.lanes|=1),a;a.flags|=65536;a.lanes=e;return a}var Wi=ua.ReactCurrentOwner,dh=false;function Xi(a,b,c,d){b.child=null===a?Vg(b,null,c,d):Ug(b,a.child,c,d);}
|
|
5832
5832
|
function Yi(a,b,c,d,e){c=c.render;var f=b.ref;ch(b,e);d=Nh(a,b,c,d,f,e);c=Sh();if(null!==a&&!dh)return b.updateQueue=a.updateQueue,b.flags&=-2053,a.lanes&=~e,Zi(a,b,e);I&&c&&vg(b);b.flags|=1;Xi(a,b,d,e);return b.child}
|
|
5833
|
-
function $i(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!aj(f)&&
|
|
5833
|
+
function $i(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!aj(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,bj(a,b,f,d,e);a=Rg(c.type,null,d,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:Ie;if(c(g,d)&&a.ref===b.ref)return Zi(a,b,e)}b.flags|=1;a=Pg(f,d);a.ref=b.ref;a.return=b;return b.child=a}
|
|
5834
5834
|
function bj(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(Ie(f,d)&&a.ref===b.ref)if(dh=false,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(dh=true);else return b.lanes=a.lanes,Zi(a,b,e)}return cj(a,b,c,d,e)}
|
|
5835
5835
|
function dj(a,b,c){var d=b.pendingProps,e=d.children,f=null!==a?a.memoizedState:null;if("hidden"===d.mode)if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null,transitions:null},G(ej,fj),fj|=c;else {if(0===(c&1073741824))return a=null!==f?f.baseLanes|c:c,b.lanes=b.childLanes=1073741824,b.memoizedState={baseLanes:a,cachePool:null,transitions:null},b.updateQueue=null,G(ej,fj),fj|=a,null;b.memoizedState={baseLanes:0,cachePool:null,transitions:null};d=null!==f?f.baseLanes:c;G(ej,fj);fj|=d;}else null!==
|
|
5836
5836
|
f?(d=f.baseLanes|c,b.memoizedState=null):d=c,G(ej,fj),fj|=d;Xi(a,b,e,c);return b.child}function gj(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152;}function cj(a,b,c,d,e){var f=Zf(c)?Xf:H.current;f=Yf(b,f);ch(b,e);c=Nh(a,b,c,d,f,e);d=Sh();if(null!==a&&!dh)return b.updateQueue=a.updateQueue,b.flags&=-2053,a.lanes&=~e,Zi(a,b,e);I&&d&&vg(b);b.flags|=1;Xi(a,b,c,e);return b.child}
|
|
@@ -5847,18 +5847,18 @@
|
|
|
5847
5847
|
b;d.return=b;d.sibling=f;b.child=d;d=f;f=b.child;g=a.child.memoizedState;g=null===g?nj(c):{baseLanes:g.baseLanes|c,cachePool:null,transitions:g.transitions};f.memoizedState=g;f.childLanes=a.childLanes&~c;b.memoizedState=mj;return d}f=a.child;a=f.sibling;d=Pg(f,{mode:"visible",children:d.children});0===(b.mode&1)&&(d.lanes=c);d.return=b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}
|
|
5848
5848
|
function qj(a,b){b=pj({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b}function sj(a,b,c,d){null!==d&&Jg(d);Ug(b,a.child,null,c);a=qj(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a}
|
|
5849
5849
|
function rj(a,b,c,d,e,f,g){if(c){if(b.flags&256)return b.flags&=-257,d=Ki(Error(p(422))),sj(a,b,g,d);if(null!==b.memoizedState)return b.child=a.child,b.flags|=128,null;f=d.fallback;e=b.mode;d=pj({mode:"visible",children:d.children},e,0,null);f=Tg(f,e,g,null);f.flags|=2;d.return=b;f.return=b;d.sibling=f;b.child=d;0!==(b.mode&1)&&Ug(b,a.child,null,g);b.child.memoizedState=nj(g);b.memoizedState=mj;return f}if(0===(b.mode&1))return sj(a,b,g,null);if("$!"===e.data){d=e.nextSibling&&e.nextSibling.dataset;
|
|
5850
|
-
if(d)var h=d.dgst;d=h;f=Error(p(419));d=Ki(f,d,
|
|
5850
|
+
if(d)var h=d.dgst;d=h;f=Error(p(419));d=Ki(f,d,void 0);return sj(a,b,g,d)}h=0!==(g&a.childLanes);if(dh||h){d=Q;if(null!==d){switch(g&-g){case 4:e=2;break;case 16:e=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:e=32;break;case 536870912:e=268435456;break;default:e=0;}e=0!==(e&(d.suspendedLanes|g))?0:e;
|
|
5851
5851
|
0!==e&&e!==f.retryLane&&(f.retryLane=e,ih(a,e),gi(d,a,e,-1));}tj();d=Ki(Error(p(421)));return sj(a,b,g,d)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=uj.bind(null,a),e._reactRetry=b,null;a=f.treeContext;yg=Lf(e.nextSibling);xg=b;I=true;zg=null;null!==a&&(og[pg++]=rg,og[pg++]=sg,og[pg++]=qg,rg=a.id,sg=a.overflow,qg=b);b=qj(b,d.children);b.flags|=4096;return b}function vj(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);bh(a.return,b,c);}
|
|
5852
5852
|
function wj(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e);}
|
|
5853
5853
|
function xj(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;Xi(a,b,d.children,c);d=L.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else {if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&vj(a,c,b);else if(19===a.tag)vj(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return;}a.sibling.return=a.return;a=a.sibling;}d&=1;}G(L,d);if(0===(b.mode&1))b.memoizedState=
|
|
5854
|
-
null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Ch(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);wj(b,false,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Ch(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a;}wj(b,true,c,null,f);break;case "together":wj(b,false,null,null,
|
|
5854
|
+
null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Ch(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);wj(b,false,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Ch(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a;}wj(b,true,c,null,f);break;case "together":wj(b,false,null,null,void 0);break;default:b.memoizedState=null;}return b.child}
|
|
5855
5855
|
function ij(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2);}function Zi(a,b,c){null!==a&&(b.dependencies=a.dependencies);rh|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(p(153));if(null!==b.child){a=b.child;c=Pg(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Pg(a,a.pendingProps),c.return=b;c.sibling=null;}return b.child}
|
|
5856
5856
|
function yj(a,b,c){switch(b.tag){case 3:kj(b);Ig();break;case 5:Ah(b);break;case 1:Zf(b.type)&&cg(b);break;case 4:yh(b,b.stateNode.containerInfo);break;case 10:var d=b.type._context,e=b.memoizedProps.value;G(Wg,d._currentValue);d._currentValue=e;break;case 13:d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return G(L,L.current&1),b.flags|=128,null;if(0!==(c&b.child.childLanes))return oj(a,b,c);G(L,L.current&1);a=Zi(a,b,c);return null!==a?a.sibling:null}G(L,L.current&1);break;case 19:d=0!==(c&
|
|
5857
5857
|
b.childLanes);if(0!==(a.flags&128)){if(d)return xj(a,b,c);b.flags|=128;}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);G(L,L.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,dj(a,b,c)}return Zi(a,b,c)}var zj,Aj,Bj,Cj;
|
|
5858
5858
|
zj=function(a,b){for(var c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return;}c.sibling.return=c.return;c=c.sibling;}};Aj=function(){};
|
|
5859
|
-
Bj=function(a,b,c,d){var e=a.memoizedProps;if(e!==d){a=b.stateNode;xh(uh.current);var f=null;switch(c){case "input":e=Ya(a,e);d=Ya(a,d);f=[];break;case "select":e=A({},e,{value:
|
|
5860
|
-
(c||(c={}),c[g]="");}else "dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(ea.hasOwnProperty(l)?f||(f=[]):(f=f||[]).push(l,null));for(l in d){var k=d[l];h=null!=e?e[l]:
|
|
5861
|
-
c)),c=k;else "dangerouslySetInnerHTML"===l?(k=k?k.__html:
|
|
5859
|
+
Bj=function(a,b,c,d){var e=a.memoizedProps;if(e!==d){a=b.stateNode;xh(uh.current);var f=null;switch(c){case "input":e=Ya(a,e);d=Ya(a,d);f=[];break;case "select":e=A({},e,{value:void 0});d=A({},d,{value:void 0});f=[];break;case "textarea":e=gb(a,e);d=gb(a,d);f=[];break;default:"function"!==typeof e.onClick&&"function"===typeof d.onClick&&(a.onclick=Bf);}ub(c,d);var g;c=null;for(l in e)if(!d.hasOwnProperty(l)&&e.hasOwnProperty(l)&&null!=e[l])if("style"===l){var h=e[l];for(g in h)h.hasOwnProperty(g)&&
|
|
5860
|
+
(c||(c={}),c[g]="");}else "dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(ea.hasOwnProperty(l)?f||(f=[]):(f=f||[]).push(l,null));for(l in d){var k=d[l];h=null!=e?e[l]:void 0;if(d.hasOwnProperty(l)&&k!==h&&(null!=k||null!=h))if("style"===l)if(h){for(g in h)!h.hasOwnProperty(g)||k&&k.hasOwnProperty(g)||(c||(c={}),c[g]="");for(g in k)k.hasOwnProperty(g)&&h[g]!==k[g]&&(c||(c={}),c[g]=k[g]);}else c||(f||(f=[]),f.push(l,
|
|
5861
|
+
c)),c=k;else "dangerouslySetInnerHTML"===l?(k=k?k.__html:void 0,h=h?h.__html:void 0,null!=k&&h!==k&&(f=f||[]).push(l,k)):"children"===l?"string"!==typeof k&&"number"!==typeof k||(f=f||[]).push(l,""+k):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(ea.hasOwnProperty(l)?(null!=k&&"onScroll"===l&&D("scroll",a),f||h===k||(f=[])):(f=f||[]).push(l,k));}c&&(f=f||[]).push("style",c);var l=f;if(b.updateQueue=l)b.flags|=4;}};Cj=function(a,b,c,d){c!==d&&(b.flags|=4);};
|
|
5862
5862
|
function Dj(a,b){if(!I)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null;}}
|
|
5863
5863
|
function S(a){var b=null!==a.alternate&&a.alternate.child===a.child,c=0,d=0;if(b)for(var e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags&14680064,d|=e.flags&14680064,e.return=a,e=e.sibling;else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags,d|=e.flags,e.return=a,e=e.sibling;a.subtreeFlags|=d;a.childLanes=c;return b}
|
|
5864
5864
|
function Ej(a,b,c){var d=b.pendingProps;wg(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return S(b),null;case 1:return Zf(b.type)&&$f(),S(b),null;case 3:d=b.stateNode;zh();E(Wf);E(H);Eh();d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null);if(null===a||null===a.child)Gg(b)?b.flags|=4:null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|=1024,null!==zg&&(Fj(zg),zg=null));Aj(a,b);S(b);return null;case 5:Bh(b);var e=xh(wh.current);
|
|
@@ -5866,7 +5866,7 @@
|
|
|
5866
5866
|
d);D("load",d);break;case "details":D("toggle",d);break;case "input":Za(d,f);D("invalid",d);break;case "select":d._wrapperState={wasMultiple:!!f.multiple};D("invalid",d);break;case "textarea":hb(d,f),D("invalid",d);}ub(c,f);e=null;for(var g in f)if(f.hasOwnProperty(g)){var h=f[g];"children"===g?"string"===typeof h?d.textContent!==h&&(true!==f.suppressHydrationWarning&&Af(d.textContent,h,a),e=["children",h]):"number"===typeof h&&d.textContent!==""+h&&(true!==f.suppressHydrationWarning&&Af(d.textContent,
|
|
5867
5867
|
h,a),e=["children",""+h]):ea.hasOwnProperty(g)&&null!=h&&"onScroll"===g&&D("scroll",d);}switch(c){case "input":Va(d);db(d,f,true);break;case "textarea":Va(d);jb(d);break;case "select":case "option":break;default:"function"===typeof f.onClick&&(d.onclick=Bf);}d=e;b.updateQueue=d;null!==d&&(b.flags|=4);}else {g=9===e.nodeType?e:e.ownerDocument;"http://www.w3.org/1999/xhtml"===a&&(a=kb(c));"http://www.w3.org/1999/xhtml"===a?"script"===c?(a=g.createElement("div"),a.innerHTML="<script>\x3c/script>",a=a.removeChild(a.firstChild)):
|
|
5868
5868
|
"string"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),"select"===c&&(g=a,d.multiple?g.multiple=true:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Of]=b;a[Pf]=d;zj(a,b,false,false);b.stateNode=a;a:{g=vb(c,d);switch(c){case "dialog":D("cancel",a);D("close",a);e=d;break;case "iframe":case "object":case "embed":D("load",a);e=d;break;case "video":case "audio":for(e=0;e<lf.length;e++)D(lf[e],a);e=d;break;case "source":D("error",a);e=d;break;case "img":case "image":case "link":D("error",
|
|
5869
|
-
a);D("load",a);e=d;break;case "details":D("toggle",a);e=d;break;case "input":Za(a,d);e=Ya(a,d);D("invalid",a);break;case "option":e=d;break;case "select":a._wrapperState={wasMultiple:!!d.multiple};e=A({},d,{value:
|
|
5869
|
+
a);D("load",a);e=d;break;case "details":D("toggle",a);e=d;break;case "input":Za(a,d);e=Ya(a,d);D("invalid",a);break;case "option":e=d;break;case "select":a._wrapperState={wasMultiple:!!d.multiple};e=A({},d,{value:void 0});D("invalid",a);break;case "textarea":hb(a,d);e=gb(a,d);D("invalid",a);break;default:e=d;}ub(c,e);h=e;for(f in h)if(h.hasOwnProperty(f)){var k=h[f];"style"===f?sb(a,k):"dangerouslySetInnerHTML"===f?(k=k?k.__html:void 0,null!=k&&nb(a,k)):"children"===f?"string"===typeof k?("textarea"!==
|
|
5870
5870
|
c||""!==k)&&ob(a,k):"number"===typeof k&&ob(a,""+k):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(ea.hasOwnProperty(f)?null!=k&&"onScroll"===f&&D("scroll",a):null!=k&&ta(a,f,k,g));}switch(c){case "input":Va(a);db(a,d,false);break;case "textarea":Va(a);jb(a);break;case "option":null!=d.value&&a.setAttribute("value",""+Sa(d.value));break;case "select":a.multiple=!!d.multiple;f=d.value;null!=f?fb(a,!!d.multiple,f,false):null!=d.defaultValue&&fb(a,!!d.multiple,d.defaultValue,
|
|
5871
5871
|
true);break;default:"function"===typeof e.onClick&&(a.onclick=Bf);}switch(c){case "button":case "input":case "select":case "textarea":d=!!d.autoFocus;break a;case "img":d=true;break a;default:d=false;}}d&&(b.flags|=4);}null!==b.ref&&(b.flags|=512,b.flags|=2097152);}S(b);return null;case 6:if(a&&null!=b.stateNode)Cj(a,b,a.memoizedProps,d);else {if("string"!==typeof d&&null===b.stateNode)throw Error(p(166));c=xh(wh.current);xh(uh.current);if(Gg(b)){d=b.stateNode;c=b.memoizedProps;d[Of]=b;if(f=d.nodeValue!==c)if(a=
|
|
5872
5872
|
xg,null!==a)switch(a.tag){case 3:Af(d.nodeValue,c,0!==(a.mode&1));break;case 5:true!==a.memoizedProps.suppressHydrationWarning&&Af(d.nodeValue,c,0!==(a.mode&1));}f&&(b.flags|=4);}else d=(9===c.nodeType?c:c.ownerDocument).createTextNode(d),d[Of]=b,b.stateNode=d;}S(b);return null;case 13:E(L);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(I&&null!==yg&&0!==(b.mode&1)&&0===(b.flags&128))Hg(),Ig(),b.flags|=98560,f=false;else if(f=Gg(b),null!==d&&null!==d.dehydrated){if(null===
|
|
@@ -5880,13 +5880,13 @@
|
|
|
5880
5880
|
function Oj(a,b){Cf=dd;a=Me();if(Ne(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType;}catch(F){c=null;break a}var g=0,h=-1,k=-1,l=0,m=0,q=a,r=null;b:for(;;){for(var y;;){q!==c||0!==e&&3!==q.nodeType||(h=g+e);q!==f||0!==d&&3!==q.nodeType||(k=g+d);3===q.nodeType&&(g+=
|
|
5881
5881
|
q.nodeValue.length);if(null===(y=q.firstChild))break;r=q;q=y;}for(;;){if(q===a)break b;r===c&&++l===e&&(h=g);r===f&&++m===d&&(k=g);if(null!==(y=q.nextSibling))break;q=r;r=q.parentNode;}q=y;}c=-1===h||-1===k?null:{start:h,end:k};}else c=null;}c=c||{start:0,end:0};}else c=null;Df={focusedElem:a,selectionRange:c};dd=false;for(V=b;null!==V;)if(b=V,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,V=a;else for(;null!==V;){b=V;try{var n=b.alternate;if(0!==(b.flags&1024))switch(b.tag){case 0:case 11:case 15:break;
|
|
5882
5882
|
case 1:if(null!==n){var t=n.memoizedProps,J=n.memoizedState,x=b.stateNode,w=x.getSnapshotBeforeUpdate(b.elementType===b.type?t:Ci(b.type,t),J);x.__reactInternalSnapshotBeforeUpdate=w;}break;case 3:var u=b.stateNode.containerInfo;1===u.nodeType?u.textContent="":9===u.nodeType&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163));}}catch(F){W(b,b.return,F);}a=b.sibling;if(null!==a){a.return=b.return;V=a;break}V=b.return;}n=Nj;Nj=false;return n}
|
|
5883
|
-
function Pj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=
|
|
5883
|
+
function Pj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=void 0;void 0!==f&&Mj(b,c,f);}e=e.next;}while(e!==d)}}function Qj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d();}c=c.next;}while(c!==b)}}function Rj(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:a=c;break;default:a=c;}"function"===typeof b?b(a):b.current=a;}}
|
|
5884
5884
|
function Sj(a){var b=a.alternate;null!==b&&(a.alternate=null,Sj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&(delete b[Of],delete b[Pf],delete b[of],delete b[Qf],delete b[Rf]));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null;}function Tj(a){return 5===a.tag||3===a.tag||4===a.tag}
|
|
5885
5885
|
function Uj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Tj(a.return))return null;a=a.return;}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child;}if(!(a.flags&2))return a.stateNode}}
|
|
5886
|
-
function Vj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&
|
|
5886
|
+
function Vj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Bf));else if(4!==d&&(a=a.child,null!==a))for(Vj(a,b,c),a=a.sibling;null!==a;)Vj(a,b,c),a=a.sibling;}
|
|
5887
5887
|
function Wj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Wj(a,b,c),a=a.sibling;null!==a;)Wj(a,b,c),a=a.sibling;}var X=null,Xj=false;function Yj(a,b,c){for(c=c.child;null!==c;)Zj(a,b,c),c=c.sibling;}
|
|
5888
5888
|
function Zj(a,b,c){if(lc&&"function"===typeof lc.onCommitFiberUnmount)try{lc.onCommitFiberUnmount(kc,c);}catch(h){}switch(c.tag){case 5:U||Lj(c,b);case 6:var d=X,e=Xj;X=null;Yj(a,b,c);X=d;Xj=e;null!==X&&(Xj?(a=X,c=c.stateNode,8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):X.removeChild(c.stateNode));break;case 18:null!==X&&(Xj?(a=X,c=c.stateNode,8===a.nodeType?Kf(a.parentNode,c):1===a.nodeType&&Kf(a,c),bd(a)):Kf(X,c.stateNode));break;case 4:d=X;e=Xj;X=c.stateNode.containerInfo;Xj=true;
|
|
5889
|
-
Yj(a,b,c);X=d;Xj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;
|
|
5889
|
+
Yj(a,b,c);X=d;Xj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;void 0!==g&&(0!==(f&2)?Mj(c,b,g):0!==(f&4)&&Mj(c,b,g));e=e.next;}while(e!==d)}Yj(a,b,c);break;case 1:if(!U&&(Lj(c,b),d=c.stateNode,"function"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount();}catch(h){W(c,b,h);}Yj(a,b,c);break;case 21:Yj(a,b,c);break;case 22:c.mode&1?(U=(d=U)||null!==
|
|
5890
5890
|
c.memoizedState,Yj(a,b,c),U=d):Yj(a,b,c);break;default:Yj(a,b,c);}}function ak(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Kj);b.forEach(function(b){var d=bk.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d));});}}
|
|
5891
5891
|
function ck(a,b){var c=b.deletions;if(null!==c)for(var d=0;d<c.length;d++){var e=c[d];try{var f=a,g=b,h=g;a:for(;null!==h;){switch(h.tag){case 5:X=h.stateNode;Xj=!1;break a;case 3:X=h.stateNode.containerInfo;Xj=!0;break a;case 4:X=h.stateNode.containerInfo;Xj=!0;break a}h=h.return;}if(null===X)throw Error(p(160));Zj(f,g,e);X=null;Xj=!1;var k=e.alternate;null!==k&&(k.return=null);e.return=null;}catch(l){W(e,b,l);}}if(b.subtreeFlags&12854)for(b=b.child;null!==b;)dk(b,a),b=b.sibling;}
|
|
5892
5892
|
function dk(a,b){var c=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:ck(b,a);ek(a);if(d&4){try{Pj(3,a,a.return),Qj(3,a);}catch(t){W(a,a.return,t);}try{Pj(5,a,a.return);}catch(t){W(a,a.return,t);}}break;case 1:ck(b,a);ek(a);d&512&&null!==c&&Lj(c,c.return);break;case 5:ck(b,a);ek(a);d&512&&null!==c&&Lj(c,c.return);if(a.flags&32){var e=a.stateNode;try{ob(e,"");}catch(t){W(a,a.return,t);}}if(d&4&&(e=a.stateNode,null!=e)){var f=a.memoizedProps,g=null!==c?c.memoizedProps:f,h=a.type,k=a.updateQueue;
|
|
@@ -5902,7 +5902,7 @@
|
|
|
5902
5902
|
default:throw Error(p(163));}U||b.flags&512&&Rj(b);}catch(r){W(b,b.return,r);}}if(b===a){V=null;break}c=b.sibling;if(null!==c){c.return=b.return;V=c;break}V=b.return;}}function gk(a){for(;null!==V;){var b=V;if(b===a){V=null;break}var c=b.sibling;if(null!==c){c.return=b.return;V=c;break}V=b.return;}}
|
|
5903
5903
|
function jk(a){for(;null!==V;){var b=V;try{switch(b.tag){case 0:case 11:case 15:var c=b.return;try{Qj(4,b);}catch(k){W(b,c,k);}break;case 1:var d=b.stateNode;if("function"===typeof d.componentDidMount){var e=b.return;try{d.componentDidMount();}catch(k){W(b,e,k);}}var f=b.return;try{Rj(b);}catch(k){W(b,f,k);}break;case 5:var g=b.return;try{Rj(b);}catch(k){W(b,g,k);}}}catch(k){W(b,b.return,k);}if(b===a){V=null;break}var h=b.sibling;if(null!==h){h.return=b.return;V=h;break}V=b.return;}}
|
|
5904
5904
|
var lk=Math.ceil,mk=ua.ReactCurrentDispatcher,nk=ua.ReactCurrentOwner,ok=ua.ReactCurrentBatchConfig,K=0,Q=null,Y=null,Z=0,fj=0,ej=Uf(0),T=0,pk=null,rh=0,qk=0,rk=0,sk=null,tk=null,fk=0,Gj=Infinity,uk=null,Oi=false,Pi=null,Ri=null,vk=false,wk=null,xk=0,yk=0,zk=null,Ak=-1,Bk=0;function R(){return 0!==(K&6)?B():-1!==Ak?Ak:Ak=B()}
|
|
5905
|
-
function yi(a){if(0===(a.mode&1))return 1;if(0!==(K&2)&&0!==Z)return Z&-Z;if(null!==Kg.transition)return 0===Bk&&(Bk=yc()),Bk;a=C;if(0!==a)return a;a=window.event;a=
|
|
5905
|
+
function yi(a){if(0===(a.mode&1))return 1;if(0!==(K&2)&&0!==Z)return Z&-Z;if(null!==Kg.transition)return 0===Bk&&(Bk=yc()),Bk;a=C;if(0!==a)return a;a=window.event;a=void 0===a?16:jd(a.type);return a}function gi(a,b,c,d){if(50<yk)throw yk=0,zk=null,Error(p(185));Ac(a,c,d);if(0===(K&2)||a!==Q)a===Q&&(0===(K&2)&&(qk|=c),4===T&&Ck(a,Z)),Dk(a,d),1===c&&0===K&&0===(b.mode&1)&&(Gj=B()+500,fg&&jg());}
|
|
5906
5906
|
function Dk(a,b){var c=a.callbackNode;wc(a,b);var d=uc(a,a===Q?Z:0);if(0===d)null!==c&&bc(c),a.callbackNode=null,a.callbackPriority=0;else if(b=d&-d,a.callbackPriority!==b){null!=c&&bc(c);if(1===b)0===a.tag?ig(Ek.bind(null,a)):hg(Ek.bind(null,a)),Jf(function(){0===(K&6)&&jg();}),c=null;else {switch(Dc(d)){case 1:c=fc;break;case 4:c=gc;break;case 16:c=hc;break;case 536870912:c=jc;break;default:c=hc;}c=Fk(c,Gk.bind(null,a));}a.callbackPriority=b;a.callbackNode=c;}}
|
|
5907
5907
|
function Gk(a,b){Ak=-1;Bk=0;if(0!==(K&6))throw Error(p(327));var c=a.callbackNode;if(Hk()&&a.callbackNode!==c)return null;var d=uc(a,a===Q?Z:0);if(0===d)return null;if(0!==(d&30)||0!==(d&a.expiredLanes)||b)b=Ik(a,d);else {b=d;var e=K;K|=2;var f=Jk();if(Q!==a||Z!==b)uk=null,Gj=B()+500,Kk(a,b);do try{Lk();break}catch(h){Mk(a,h);}while(1);$g();mk.current=f;K=e;null!==Y?b=0:(Q=null,Z=0,b=T);}if(0!==b){2===b&&(e=xc(a),0!==e&&(d=e,b=Nk(a,e)));if(1===b)throw c=pk,Kk(a,0),Ck(a,d),Dk(a,B()),c;if(6===b)Ck(a,d);
|
|
5908
5908
|
else {e=a.current.alternate;if(0===(d&30)&&!Ok(e)&&(b=Ik(a,d),2===b&&(f=xc(a),0!==f&&(d=f,b=Nk(a,f))),1===b))throw c=pk,Kk(a,0),Ck(a,d),Dk(a,B()),c;a.finishedWork=e;a.finishedLanes=d;switch(b){case 0:case 1:throw Error(p(345));case 2:Pk(a,tk,uk);break;case 3:Ck(a,d);if((d&130023424)===d&&(b=fk+500-B(),10<b)){if(0!==uc(a,0))break;e=a.suspendedLanes;if((e&d)!==d){R();a.pingedLanes|=a.suspendedLanes&e;break}a.timeoutHandle=Ff(Pk.bind(null,a,tk,uk),b);break}Pk(a,tk,uk);break;case 4:Ck(a,d);if((d&4194240)===
|
|
@@ -5911,7 +5911,7 @@
|
|
|
5911
5911
|
function Ok(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!He(f(),e))return !1}catch(g){return false}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else {if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return true;b=b.return;}b.sibling.return=b.return;b=b.sibling;}}return true}
|
|
5912
5912
|
function Ck(a,b){b&=~rk;b&=~qk;a.suspendedLanes|=b;a.pingedLanes&=~b;for(a=a.expirationTimes;0<b;){var c=31-oc(b),d=1<<c;a[c]=-1;b&=~d;}}function Ek(a){if(0!==(K&6))throw Error(p(327));Hk();var b=uc(a,0);if(0===(b&1))return Dk(a,B()),null;var c=Ik(a,b);if(0!==a.tag&&2===c){var d=xc(a);0!==d&&(b=d,c=Nk(a,d));}if(1===c)throw c=pk,Kk(a,0),Ck(a,b),Dk(a,B()),c;if(6===c)throw Error(p(345));a.finishedWork=a.current.alternate;a.finishedLanes=b;Pk(a,tk,uk);Dk(a,B());return null}
|
|
5913
5913
|
function Qk(a,b){var c=K;K|=1;try{return a(b)}finally{K=c,0===K&&(Gj=B()+500,fg&&jg());}}function Rk(a){null!==wk&&0===wk.tag&&0===(K&6)&&Hk();var b=K;K|=1;var c=ok.transition,d=C;try{if(ok.transition=null,C=1,a)return a()}finally{C=d,ok.transition=c,K=b,0===(K&6)&&jg();}}function Hj(){fj=ej.current;E(ej);}
|
|
5914
|
-
function Kk(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Gf(c));if(null!==Y)for(c=Y.return;null!==c;){var d=c;wg(d);switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&
|
|
5914
|
+
function Kk(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Gf(c));if(null!==Y)for(c=Y.return;null!==c;){var d=c;wg(d);switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&$f();break;case 3:zh();E(Wf);E(H);Eh();break;case 5:Bh(d);break;case 4:zh();break;case 13:E(L);break;case 19:E(L);break;case 10:ah(d.type._context);break;case 22:case 23:Hj();}c=c.return;}Q=a;Y=a=Pg(a.current,null);Z=fj=b;T=0;pk=null;rk=qk=rh=0;tk=sk=null;if(null!==fh){for(b=
|
|
5915
5915
|
0;b<fh.length;b++)if(c=fh[b],d=c.interleaved,null!==d){c.interleaved=null;var e=d.next,f=c.pending;if(null!==f){var g=f.next;f.next=e;d.next=g;}c.pending=d;}fh=null;}return a}
|
|
5916
5916
|
function Mk(a,b){do{var c=Y;try{$g();Fh.current=Rh;if(Ih){for(var d=M.memoizedState;null!==d;){var e=d.queue;null!==e&&(e.pending=null);d=d.next;}Ih=!1;}Hh=0;O=N=M=null;Jh=!1;Kh=0;nk.current=null;if(null===c||null===c.return){T=1;pk=b;Y=null;break}a:{var f=a,g=c.return,h=c,k=b;b=Z;h.flags|=32768;if(null!==k&&"object"===typeof k&&"function"===typeof k.then){var l=k,m=h,q=m.tag;if(0===(m.mode&1)&&(0===q||11===q||15===q)){var r=m.alternate;r?(m.updateQueue=r.updateQueue,m.memoizedState=r.memoizedState,
|
|
5917
5917
|
m.lanes=r.lanes):(m.updateQueue=null,m.memoizedState=null);}var y=Ui(g);if(null!==y){y.flags&=-257;Vi(y,g,h,f,b);y.mode&1&&Si(f,l,b);b=y;k=l;var n=b.updateQueue;if(null===n){var t=new Set;t.add(k);b.updateQueue=t;}else n.add(k);break a}else {if(0===(b&1)){Si(f,l,b);tj();break a}k=Error(p(426));}}else if(I&&h.mode&1){var J=Ui(g);if(null!==J){0===(J.flags&65536)&&(J.flags|=256);Vi(J,g,h,f,b);Jg(Ji(k,h));break a}}f=k=Ji(k,h);4!==T&&(T=2);null===sk?sk=[f]:sk.push(f);f=g;do{switch(f.tag){case 3:f.flags|=65536;
|
|
@@ -5926,8 +5926,8 @@
|
|
|
5926
5926
|
function W(a,b,c){if(3===a.tag)Xk(a,a,c);else for(;null!==b;){if(3===b.tag){Xk(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Ri||!Ri.has(d))){a=Ji(c,a);a=Qi(b,a,1);b=nh(b,a,1);a=R();null!==b&&(Ac(b,1,a),Dk(b,a));break}}b=b.return;}}
|
|
5927
5927
|
function Ti(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);b=R();a.pingedLanes|=a.suspendedLanes&c;Q===a&&(Z&c)===c&&(4===T||3===T&&(Z&130023424)===Z&&500>B()-fk?Kk(a,0):rk|=c);Dk(a,b);}function Yk(a,b){0===b&&(0===(a.mode&1)?b=1:(b=sc,sc<<=1,0===(sc&130023424)&&(sc=4194304)));var c=R();a=ih(a,b);null!==a&&(Ac(a,b,c),Dk(a,c));}function uj(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Yk(a,c);}
|
|
5928
5928
|
function bk(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;default:throw Error(p(314));}null!==d&&d.delete(b);Yk(a,c);}var Vk;
|
|
5929
|
-
Vk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)dh=true;else {if(0===(a.lanes&c)&&0===(b.flags&128))return dh=false,yj(a,b,c);dh=0!==(a.flags&131072)?true:false;}else dh=false,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;ij(a,b);a=b.pendingProps;var e=Yf(b,H.current);ch(b,c);e=Nh(null,b,d,a,e,c);var f=Sh();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&
|
|
5930
|
-
null,Zf(d)?(f=true,cg(b)):f=false,b.memoizedState=null!==e.state&&
|
|
5929
|
+
Vk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)dh=true;else {if(0===(a.lanes&c)&&0===(b.flags&128))return dh=false,yj(a,b,c);dh=0!==(a.flags&131072)?true:false;}else dh=false,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;ij(a,b);a=b.pendingProps;var e=Yf(b,H.current);ch(b,c);e=Nh(null,b,d,a,e,c);var f=Sh();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue=
|
|
5930
|
+
null,Zf(d)?(f=true,cg(b)):f=false,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,kh(b),e.updater=Ei,b.stateNode=e,e._reactInternals=b,Ii(b,d,a,c),b=jj(null,b,d,true,f,c)):(b.tag=0,I&&f&&vg(b),Xi(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{ij(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=Zk(d);a=Ci(d,a);switch(e){case 0:b=cj(null,b,d,a,c);break a;case 1:b=hj(null,b,d,a,c);break a;case 11:b=Yi(null,b,d,a,c);break a;case 14:b=$i(null,b,d,Ci(d.type,a),c);break a}throw Error(p(306,
|
|
5931
5931
|
d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),cj(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),hj(a,b,d,e,c);case 3:a:{kj(b);if(null===a)throw Error(p(387));d=b.pendingProps;f=b.memoizedState;e=f.element;lh(a,b);qh(b,d,null,c);var g=b.memoizedState;d=g.element;if(f.isDehydrated)if(f={element:d,isDehydrated:false,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},b.updateQueue.baseState=
|
|
5932
5932
|
f,b.memoizedState=f,b.flags&256){e=Ji(Error(p(423)),b);b=lj(a,b,d,c,e);break a}else if(d!==e){e=Ji(Error(p(424)),b);b=lj(a,b,d,c,e);break a}else for(yg=Lf(b.stateNode.containerInfo.firstChild),xg=b,I=true,zg=null,c=Vg(b,null,d,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else {Ig();if(d===e){b=Zi(a,b,c);break a}Xi(a,b,d,c);}b=b.child;}return b;case 5:return Ah(b),null===a&&Eg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ef(d,e)?g=null:null!==f&&Ef(d,f)&&(b.flags|=32),
|
|
5933
5933
|
gj(a,b),Xi(a,b,g,c),b.child;case 6:return null===a&&Eg(b),null;case 13:return oj(a,b,c);case 4:return yh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Ug(b,null,d,c):Xi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),Yi(a,b,d,e,c);case 7:return Xi(a,b,b.pendingProps,c),b.child;case 8:return Xi(a,b,b.pendingProps.children,c),b.child;case 12:return Xi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;
|
|
@@ -5935,17 +5935,17 @@
|
|
|
5935
5935
|
c,b);h.lanes|=c;break}k=k.next;}}else if(10===f.tag)g=f.type===b.type?null:f.child;else if(18===f.tag){g=f.return;if(null===g)throw Error(p(341));g.lanes|=c;h=g.alternate;null!==h&&(h.lanes|=c);bh(g,c,b);g=f.sibling;}else g=f.child;if(null!==g)g.return=f;else for(g=f;null!==g;){if(g===b){g=null;break}f=g.sibling;if(null!==f){f.return=g.return;g=f;break}g=g.return;}f=g;}Xi(a,b,e.children,c);b=b.child;}return b;case 9:return e=b.type,d=b.pendingProps.children,ch(b,c),e=eh(e),d=d(e),b.flags|=1,Xi(a,b,d,c),
|
|
5936
5936
|
b.child;case 14:return d=b.type,e=Ci(d,b.pendingProps),e=Ci(d.type,e),$i(a,b,d,e,c);case 15:return bj(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),ij(a,b),b.tag=1,Zf(d)?(a=true,cg(b)):a=false,ch(b,c),Gi(b,d,e),Ii(b,d,e,c),jj(null,b,d,true,a,c);case 19:return xj(a,b,c);case 22:return dj(a,b,c)}throw Error(p(156,b.tag));};function Fk(a,b){return ac(a,b)}
|
|
5937
5937
|
function $k(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null;}function Bg(a,b,c,d){return new $k(a,b,c,d)}function aj(a){a=a.prototype;return !(!a||!a.isReactComponent)}
|
|
5938
|
-
function Zk(a){if("function"===typeof a)return aj(a)?1:0;if(
|
|
5938
|
+
function Zk(a){if("function"===typeof a)return aj(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Da)return 11;if(a===Ga)return 14}return 2}
|
|
5939
5939
|
function Pg(a,b){var c=a.alternate;null===c?(c=Bg(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&14680064;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};
|
|
5940
5940
|
c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}
|
|
5941
5941
|
function Rg(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)aj(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case ya:return Tg(c.children,e,f,b);case za:g=8;e|=8;break;case Aa:return a=Bg(12,c,b,e|2),a.elementType=Aa,a.lanes=f,a;case Ea:return a=Bg(13,c,b,e),a.elementType=Ea,a.lanes=f,a;case Fa:return a=Bg(19,c,b,e),a.elementType=Fa,a.lanes=f,a;case Ia:return pj(c,e,f,b);default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case Ba:g=10;break a;case Ca:g=9;break a;case Da:g=11;
|
|
5942
5942
|
break a;case Ga:g=14;break a;case Ha:g=16;d=null;break a}throw Error(p(130,null==a?a:typeof a,""));}b=Bg(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Tg(a,b,c,d){a=Bg(7,a,d,b);a.lanes=c;return a}function pj(a,b,c,d){a=Bg(22,a,d,b);a.elementType=Ia;a.lanes=c;a.stateNode={isHidden:false};return a}function Qg(a,b,c){a=Bg(6,a,null,b);a.lanes=c;return a}
|
|
5943
5943
|
function Sg(a,b,c){b=Bg(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}
|
|
5944
5944
|
function al(a,b,c,d,e){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.pendingContext=this.context=null;this.callbackPriority=0;this.eventTimes=zc(0);this.expirationTimes=zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=zc(0);this.identifierPrefix=d;this.onRecoverableError=e;this.mutableSourceEagerHydrationData=
|
|
5945
|
-
null;}function bl(a,b,c,d,e,f,g,h,k){a=new al(a,b,c,h,k);1===b?(b=1,true===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};kh(f);return a}function cl(a,b,c){var d=3<arguments.length&&
|
|
5945
|
+
null;}function bl(a,b,c,d,e,f,g,h,k){a=new al(a,b,c,h,k);1===b?(b=1,true===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};kh(f);return a}function cl(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return {$$typeof:wa,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}
|
|
5946
5946
|
function dl(a){if(!a)return Vf;a=a._reactInternals;a:{if(Vb(a)!==a||1!==a.tag)throw Error(p(170));var b=a;do{switch(b.tag){case 3:b=b.stateNode.context;break a;case 1:if(Zf(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return;}while(null!==b);throw Error(p(171));}if(1===a.tag){var c=a.type;if(Zf(c))return bg(a,c,b)}return b}
|
|
5947
|
-
function el(a,b,c,d,e,f,g,h,k){a=bl(c,d,true,a,e,f,g,h,k);a.context=dl(null);c=a.current;d=R();e=yi(c);f=mh(d,e);f.callback=
|
|
5948
|
-
function gl(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function hl(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b;}}function il(a,b){hl(a,b);(a=a.alternate)&&hl(a,b);}var kl="function"===typeof reportError?reportError:function(a){console.error(a);};function ll(a){this._internalRoot=a;}
|
|
5947
|
+
function el(a,b,c,d,e,f,g,h,k){a=bl(c,d,true,a,e,f,g,h,k);a.context=dl(null);c=a.current;d=R();e=yi(c);f=mh(d,e);f.callback=void 0!==b&&null!==b?b:null;nh(c,f,e);a.current.lanes=e;Ac(a,e,d);Dk(a,d);return a}function fl(a,b,c,d){var e=b.current,f=R(),g=yi(e);c=dl(c);null===b.context?b.context=c:b.pendingContext=c;b=mh(f,g);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);a=nh(e,b,g);null!==a&&(gi(a,e,g,f),oh(a,e,g));return g}
|
|
5948
|
+
function gl(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function hl(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b;}}function il(a,b){hl(a,b);(a=a.alternate)&&hl(a,b);}function jl(){return null}var kl="function"===typeof reportError?reportError:function(a){console.error(a);};function ll(a){this._internalRoot=a;}
|
|
5949
5949
|
ml.prototype.render=ll.prototype.render=function(a){var b=this._internalRoot;if(null===b)throw Error(p(409));fl(a,b,null,null);};ml.prototype.unmount=ll.prototype.unmount=function(){var a=this._internalRoot;if(null!==a){this._internalRoot=null;var b=a.containerInfo;Rk(function(){fl(null,a,null,null);});b[uf]=null;}};function ml(a){this._internalRoot=a;}
|
|
5950
5950
|
ml.prototype.unstable_scheduleHydration=function(a){if(a){var b=Hc();a={blockedOn:null,target:a,priority:b};for(var c=0;c<Qc.length&&0!==b&&b<Qc[c].priority;c++);Qc.splice(c,0,a);0===c&&Vc(a);}};function nl(a){return !(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)}function ol(a){return !(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function pl(){}
|
|
5951
5951
|
function ql(a,b,c,d,e){if(e){if("function"===typeof d){var f=d;d=function(){var a=gl(g);f.call(a);};}var g=el(b,d,a,0,null,false,false,"",pl);a._reactRootContainer=g;a[uf]=g.current;sf(8===a.nodeType?a.parentNode:a);Rk();return g}for(;e=a.lastChild;)a.removeChild(e);if("function"===typeof d){var h=d;d=function(){var a=gl(k);h.call(a);};}var k=bl(a,0,false,null,null,false,false,"",pl);a._reactRootContainer=k;a[uf]=k.current;sf(8===a.nodeType?a.parentNode:a);Rk(function(){fl(b,k,c,d);});return k}
|
|
@@ -5953,12 +5953,13 @@
|
|
|
5953
5953
|
Fc=function(a){if(13===a.tag){var b=ih(a,134217728);if(null!==b){var c=R();gi(b,a,134217728,c);}il(a,134217728);}};Gc=function(a){if(13===a.tag){var b=yi(a),c=ih(a,b);if(null!==c){var d=R();gi(c,a,b,d);}il(a,b);}};Hc=function(){return C};Ic=function(a,b){var c=C;try{return C=a,b()}finally{C=c;}};
|
|
5954
5954
|
yb=function(a,b,c){switch(b){case "input":bb(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Db(d);if(!e)throw Error(p(90));Wa(d);bb(d,e);}}}break;case "textarea":ib(a,c);break;case "select":b=c.value,null!=b&&fb(a,!!c.multiple,b,false);}};Gb=Qk;Hb=Rk;
|
|
5955
5955
|
var sl={usingClientEntryPoint:false,Events:[Cb,ue,Db,Eb,Fb,Qk]},tl={findFiberByHostInstance:Wc,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"};
|
|
5956
|
-
var ul={bundleType:tl.bundleType,version:tl.version,rendererPackageName:tl.rendererPackageName,rendererConfig:tl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ua.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Zb(a);return null===a?null:a.stateNode},findFiberByHostInstance:tl.findFiberByHostInstance
|
|
5957
|
-
|
|
5958
|
-
reactDom_production_min.
|
|
5959
|
-
reactDom_production_min.
|
|
5956
|
+
var ul={bundleType:tl.bundleType,version:tl.version,rendererPackageName:tl.rendererPackageName,rendererConfig:tl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ua.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Zb(a);return null===a?null:a.stateNode},findFiberByHostInstance:tl.findFiberByHostInstance||
|
|
5957
|
+
jl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var vl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vl.isDisabled&&vl.supportsFiber)try{kc=vl.inject(ul),lc=vl;}catch(a){}}reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sl;
|
|
5958
|
+
reactDom_production_min.createPortal=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nl(b))throw Error(p(200));return cl(a,b,null,c)};reactDom_production_min.createRoot=function(a,b){if(!nl(a))throw Error(p(299));var c=false,d="",e=kl;null!==b&&void 0!==b&&(true===b.unstable_strictMode&&(c=true),void 0!==b.identifierPrefix&&(d=b.identifierPrefix),void 0!==b.onRecoverableError&&(e=b.onRecoverableError));b=bl(a,1,false,null,null,c,false,d,e);a[uf]=b.current;sf(8===a.nodeType?a.parentNode:a);return new ll(b)};
|
|
5959
|
+
reactDom_production_min.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(p(188));a=Object.keys(a).join(",");throw Error(p(268,a));}a=Zb(b);a=null===a?null:a.stateNode;return a};reactDom_production_min.flushSync=function(a){return Rk(a)};reactDom_production_min.hydrate=function(a,b,c){if(!ol(b))throw Error(p(200));return rl(null,a,b,true,c)};
|
|
5960
|
+
reactDom_production_min.hydrateRoot=function(a,b,c){if(!nl(a))throw Error(p(405));var d=null!=c&&c.hydratedSources||null,e=false,f="",g=kl;null!==c&&void 0!==c&&(true===c.unstable_strictMode&&(e=true),void 0!==c.identifierPrefix&&(f=c.identifierPrefix),void 0!==c.onRecoverableError&&(g=c.onRecoverableError));b=el(b,null,a,1,null!=c?c:null,e,false,f,g);a[uf]=b.current;sf(a);if(d)for(a=0;a<d.length;a++)c=d[a],e=c._getVersion,e=e(c._source),null==b.mutableSourceEagerHydrationData?b.mutableSourceEagerHydrationData=[c,e]:b.mutableSourceEagerHydrationData.push(c,
|
|
5960
5961
|
e);return new ml(b)};reactDom_production_min.render=function(a,b,c){if(!ol(b))throw Error(p(200));return rl(null,a,b,false,c)};reactDom_production_min.unmountComponentAtNode=function(a){if(!ol(a))throw Error(p(40));return a._reactRootContainer?(Rk(function(){rl(null,null,a,!1,function(){a._reactRootContainer=null;a[uf]=null;});}),true):false};reactDom_production_min.unstable_batchedUpdates=Qk;
|
|
5961
|
-
reactDom_production_min.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!ol(c))throw Error(p(200));if(null==a||
|
|
5962
|
+
reactDom_production_min.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!ol(c))throw Error(p(200));if(null==a||void 0===a._reactInternals)throw Error(p(38));return rl(a,b,c,false,d)};reactDom_production_min.version="18.3.1-next-f1338f8080-20240426";
|
|
5962
5963
|
return reactDom_production_min;
|
|
5963
5964
|
}
|
|
5964
5965
|
|
|
@@ -6212,7 +6213,7 @@
|
|
|
6212
6213
|
this.tags.forEach(function (tag) {
|
|
6213
6214
|
var _tag$parentNode;
|
|
6214
6215
|
|
|
6215
|
-
return (_tag$parentNode = tag.parentNode) == null ?
|
|
6216
|
+
return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
|
|
6216
6217
|
});
|
|
6217
6218
|
this.tags = [];
|
|
6218
6219
|
this.ctr = 0;
|
|
@@ -7353,7 +7354,7 @@
|
|
|
7353
7354
|
function v(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=g;reactIs_production_min.Element=b;reactIs_production_min.ForwardRef=l;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q;reactIs_production_min.Memo=p;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m;
|
|
7354
7355
|
reactIs_production_min.SuspenseList=n;reactIs_production_min.isAsyncMode=function(){return false};reactIs_production_min.isConcurrentMode=function(){return false};reactIs_production_min.isContextConsumer=function(a){return v(a)===h};reactIs_production_min.isContextProvider=function(a){return v(a)===g};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return v(a)===l};reactIs_production_min.isFragment=function(a){return v(a)===d};reactIs_production_min.isLazy=function(a){return v(a)===q};reactIs_production_min.isMemo=function(a){return v(a)===p};
|
|
7355
7356
|
reactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f};reactIs_production_min.isStrictMode=function(a){return v(a)===e};reactIs_production_min.isSuspense=function(a){return v(a)===m};reactIs_production_min.isSuspenseList=function(a){return v(a)===n};
|
|
7356
|
-
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||
|
|
7357
|
+
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?true:false};reactIs_production_min.typeOf=v;
|
|
7357
7358
|
return reactIs_production_min;
|
|
7358
7359
|
}
|
|
7359
7360
|
|
|
@@ -8037,7 +8038,7 @@
|
|
|
8037
8038
|
var JSX;
|
|
8038
8039
|
|
|
8039
8040
|
(function (_JSX) {})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
|
|
8040
|
-
})(jsx);
|
|
8041
|
+
})(jsx || (jsx = {}));
|
|
8041
8042
|
|
|
8042
8043
|
// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
|
|
8043
8044
|
// initial client-side render from SSR, use place of hydrating tag
|
|
@@ -8144,7 +8145,7 @@
|
|
|
8144
8145
|
}
|
|
8145
8146
|
|
|
8146
8147
|
function keyframes() {
|
|
8147
|
-
var insertable = css.apply(
|
|
8148
|
+
var insertable = css.apply(void 0, arguments);
|
|
8148
8149
|
var name = "animation-" + insertable.name;
|
|
8149
8150
|
return {
|
|
8150
8151
|
name: name,
|
|
@@ -8337,7 +8338,7 @@
|
|
|
8337
8338
|
var newStyled = createStyled(nextTag, _extends$5({}, options, nextOptions, {
|
|
8338
8339
|
shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
|
|
8339
8340
|
}));
|
|
8340
|
-
return newStyled.apply(
|
|
8341
|
+
return newStyled.apply(void 0, styles);
|
|
8341
8342
|
};
|
|
8342
8343
|
|
|
8343
8344
|
return Styled;
|
|
@@ -9080,7 +9081,7 @@
|
|
|
9080
9081
|
if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
|
|
9081
9082
|
hasRequiredReactJsxRuntime_production_min = 1;
|
|
9082
9083
|
var f=requireReact(),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:true,ref:true,__self:true,__source:true};
|
|
9083
|
-
function q(c,a,g){var b,d={},e=null,h=null;
|
|
9084
|
+
function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a) void 0===d[b]&&(d[b]=a[b]);return {$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}reactJsxRuntime_production_min.Fragment=l;reactJsxRuntime_production_min.jsx=q;reactJsxRuntime_production_min.jsxs=q;
|
|
9084
9085
|
return reactJsxRuntime_production_min;
|
|
9085
9086
|
}
|
|
9086
9087
|
|
|
@@ -9390,7 +9391,7 @@
|
|
|
9390
9391
|
}
|
|
9391
9392
|
function createEmptyBreakpointObject(breakpointsInput = {}) {
|
|
9392
9393
|
var _breakpointsInput$key;
|
|
9393
|
-
const breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ?
|
|
9394
|
+
const breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ? void 0 : _breakpointsInput$key.reduce((acc, key) => {
|
|
9394
9395
|
const breakpointStyleKey = breakpointsInput.up(key);
|
|
9395
9396
|
acc[breakpointStyleKey] = {};
|
|
9396
9397
|
return acc;
|
|
@@ -9870,13 +9871,13 @@
|
|
|
9870
9871
|
if (props.maxWidth !== undefined && props.maxWidth !== null) {
|
|
9871
9872
|
const styleFromPropValue = propValue => {
|
|
9872
9873
|
var _props$theme, _props$theme2;
|
|
9873
|
-
const breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ?
|
|
9874
|
+
const breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ? void 0 : _props$theme[propValue]) || values$1[propValue];
|
|
9874
9875
|
if (!breakpoint) {
|
|
9875
9876
|
return {
|
|
9876
9877
|
maxWidth: sizingTransform(propValue)
|
|
9877
9878
|
};
|
|
9878
9879
|
}
|
|
9879
|
-
if (((_props$theme2 = props.theme) == null || (_props$theme2 = _props$theme2.breakpoints) == null ?
|
|
9880
|
+
if (((_props$theme2 = props.theme) == null || (_props$theme2 = _props$theme2.breakpoints) == null ? void 0 : _props$theme2.unit) !== 'px') {
|
|
9880
9881
|
return {
|
|
9881
9882
|
maxWidth: `${breakpoint}${props.theme.breakpoints.unit}`
|
|
9882
9883
|
};
|
|
@@ -10428,7 +10429,7 @@
|
|
|
10428
10429
|
}, other);
|
|
10429
10430
|
muiTheme.applyStyles = applyStyles$2;
|
|
10430
10431
|
muiTheme = args.reduce((acc, argument) => deepmerge$1(acc, argument), muiTheme);
|
|
10431
|
-
muiTheme.unstable_sxConfig = _extends$4({}, defaultSxConfig, other == null ?
|
|
10432
|
+
muiTheme.unstable_sxConfig = _extends$4({}, defaultSxConfig, other == null ? void 0 : other.unstable_sxConfig);
|
|
10432
10433
|
muiTheme.unstable_sx = function sx(props) {
|
|
10433
10434
|
return styleFunctionSx$1({
|
|
10434
10435
|
sx: props,
|
|
@@ -10477,7 +10478,7 @@
|
|
|
10477
10478
|
systemProps: {},
|
|
10478
10479
|
otherProps: {}
|
|
10479
10480
|
};
|
|
10480
|
-
const config = (_props$theme$unstable = props == null || (_props$theme = props.theme) == null ?
|
|
10481
|
+
const config = (_props$theme$unstable = props == null || (_props$theme = props.theme) == null ? void 0 : _props$theme.unstable_sxConfig) != null ? _props$theme$unstable : defaultSxConfig;
|
|
10481
10482
|
Object.keys(props).forEach(prop => {
|
|
10482
10483
|
if (config[prop]) {
|
|
10483
10484
|
result.systemProps[prop] = props[prop];
|
|
@@ -10719,7 +10720,7 @@
|
|
|
10719
10720
|
}, props, ownerState));
|
|
10720
10721
|
} else {
|
|
10721
10722
|
Object.keys(variant.props).forEach(key => {
|
|
10722
|
-
if ((ownerState == null ?
|
|
10723
|
+
if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) {
|
|
10723
10724
|
isMatch = false;
|
|
10724
10725
|
}
|
|
10725
10726
|
});
|
|
@@ -10836,7 +10837,7 @@
|
|
|
10836
10837
|
defaultTheme,
|
|
10837
10838
|
themeId
|
|
10838
10839
|
}));
|
|
10839
|
-
const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ?
|
|
10840
|
+
const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants;
|
|
10840
10841
|
return processStyleArg({
|
|
10841
10842
|
variants: themeVariants
|
|
10842
10843
|
}, _extends$4({}, props, {
|
|
@@ -11013,7 +11014,7 @@
|
|
|
11013
11014
|
return /*#__PURE__*/reactExports.isValidElement(element) && muiNames.indexOf( // For server components `muiName` is avaialble in element.type._payload.value.muiName
|
|
11014
11015
|
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
11015
11016
|
// eslint-disable-next-line no-underscore-dangle
|
|
11016
|
-
(_muiName = element.type.muiName) != null ? _muiName : (_element$type = element.type) == null || (_element$type = _element$type._payload) == null || (_element$type = _element$type.value) == null ?
|
|
11017
|
+
(_muiName = element.type.muiName) != null ? _muiName : (_element$type = element.type) == null || (_element$type = _element$type._payload) == null || (_element$type = _element$type.value) == null ? void 0 : _element$type.muiName) !== -1;
|
|
11017
11018
|
}
|
|
11018
11019
|
|
|
11019
11020
|
function ownerDocument(node) {
|
|
@@ -11501,8 +11502,8 @@
|
|
|
11501
11502
|
if (!getSlotProps) {
|
|
11502
11503
|
// The simpler case - getSlotProps is not defined, so no internal event handlers are defined,
|
|
11503
11504
|
// so we can simply merge all the props without having to worry about extracting event handlers.
|
|
11504
|
-
const joinedClasses = clsx(additionalProps == null ?
|
|
11505
|
-
const mergedStyle = _extends$3({}, additionalProps == null ?
|
|
11505
|
+
const joinedClasses = clsx(additionalProps == null ? void 0 : additionalProps.className, className, externalForwardedProps == null ? void 0 : externalForwardedProps.className, externalSlotProps == null ? void 0 : externalSlotProps.className);
|
|
11506
|
+
const mergedStyle = _extends$3({}, additionalProps == null ? void 0 : additionalProps.style, externalForwardedProps == null ? void 0 : externalForwardedProps.style, externalSlotProps == null ? void 0 : externalSlotProps.style);
|
|
11506
11507
|
const props = _extends$3({}, additionalProps, externalForwardedProps, externalSlotProps);
|
|
11507
11508
|
if (joinedClasses.length > 0) {
|
|
11508
11509
|
props.className = joinedClasses;
|
|
@@ -11528,8 +11529,8 @@
|
|
|
11528
11529
|
// Emotion (that we use in libraries consuming Base UI) depends on this order
|
|
11529
11530
|
// to properly override style. It requires the most important classes to be last
|
|
11530
11531
|
// (see https://github.com/mui/material-ui/pull/33205) for the related discussion.
|
|
11531
|
-
const joinedClasses = clsx(internalSlotProps == null ?
|
|
11532
|
-
const mergedStyle = _extends$3({}, internalSlotProps == null ?
|
|
11532
|
+
const joinedClasses = clsx(internalSlotProps == null ? void 0 : internalSlotProps.className, additionalProps == null ? void 0 : additionalProps.className, className, externalForwardedProps == null ? void 0 : externalForwardedProps.className, externalSlotProps == null ? void 0 : externalSlotProps.className);
|
|
11533
|
+
const mergedStyle = _extends$3({}, internalSlotProps == null ? void 0 : internalSlotProps.style, additionalProps == null ? void 0 : additionalProps.style, externalForwardedProps == null ? void 0 : externalForwardedProps.style, externalSlotProps == null ? void 0 : externalSlotProps.style);
|
|
11533
11534
|
const props = _extends$3({}, internalSlotProps, additionalProps, otherPropsWithoutEventHandlers, componentsPropsWithoutEventHandlers);
|
|
11534
11535
|
if (joinedClasses.length > 0) {
|
|
11535
11536
|
props.className = joinedClasses;
|
|
@@ -11579,7 +11580,7 @@
|
|
|
11579
11580
|
} = mergeSlotProps(_extends$3({}, rest, {
|
|
11580
11581
|
externalSlotProps: resolvedComponentsProps
|
|
11581
11582
|
}));
|
|
11582
|
-
const ref = useForkRef(internalRef, resolvedComponentsProps == null ?
|
|
11583
|
+
const ref = useForkRef(internalRef, resolvedComponentsProps == null ? void 0 : resolvedComponentsProps.ref, (_parameters$additiona = parameters.additionalProps) == null ? void 0 : _parameters$additiona.ref);
|
|
11583
11584
|
const props = appendOwnerState(elementType, _extends$3({}, mergedProps, {
|
|
11584
11585
|
ref
|
|
11585
11586
|
}), ownerState);
|
|
@@ -11597,11 +11598,11 @@
|
|
|
11597
11598
|
// 'ref' is passed as prop in React 19, whereas 'ref' is directly attached to children in older versions
|
|
11598
11599
|
if (parseInt(reactExports.version, 10) >= 19) {
|
|
11599
11600
|
var _element$props;
|
|
11600
|
-
return (element == null || (_element$props = element.props) == null ?
|
|
11601
|
+
return (element == null || (_element$props = element.props) == null ? void 0 : _element$props.ref) || null;
|
|
11601
11602
|
}
|
|
11602
11603
|
// @ts-expect-error element.ref is not included in the ReactElement type
|
|
11603
11604
|
// https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/70189
|
|
11604
|
-
return (element == null ?
|
|
11605
|
+
return (element == null ? void 0 : element.ref) || null;
|
|
11605
11606
|
}
|
|
11606
11607
|
|
|
11607
11608
|
const ThemeContext = /*#__PURE__*/reactExports.createContext(null);
|
|
@@ -11753,7 +11754,7 @@
|
|
|
11753
11754
|
children: /*#__PURE__*/jsxRuntimeExports.jsx(RtlProvider, {
|
|
11754
11755
|
value: rtlValue,
|
|
11755
11756
|
children: /*#__PURE__*/jsxRuntimeExports.jsx(DefaultPropsProvider, {
|
|
11756
|
-
value: engineTheme == null ?
|
|
11757
|
+
value: engineTheme == null ? void 0 : engineTheme.components,
|
|
11757
11758
|
children: children
|
|
11758
11759
|
})
|
|
11759
11760
|
})
|
|
@@ -12041,7 +12042,7 @@
|
|
|
12041
12042
|
});
|
|
12042
12043
|
colorManipulator.alpha = alpha;
|
|
12043
12044
|
colorManipulator.blend = blend;
|
|
12044
|
-
colorManipulator.colorChannel =
|
|
12045
|
+
colorManipulator.colorChannel = void 0;
|
|
12045
12046
|
colorManipulator.darken = darken;
|
|
12046
12047
|
colorManipulator.decomposeColor = decomposeColor;
|
|
12047
12048
|
colorManipulator.emphasize = emphasize;
|
|
@@ -12051,7 +12052,7 @@
|
|
|
12051
12052
|
colorManipulator.hslToRgb = hslToRgb;
|
|
12052
12053
|
colorManipulator.lighten = lighten;
|
|
12053
12054
|
colorManipulator.private_safeAlpha = private_safeAlpha;
|
|
12054
|
-
colorManipulator.private_safeColorChannel =
|
|
12055
|
+
colorManipulator.private_safeColorChannel = void 0;
|
|
12055
12056
|
colorManipulator.private_safeDarken = private_safeDarken;
|
|
12056
12057
|
colorManipulator.private_safeEmphasize = private_safeEmphasize;
|
|
12057
12058
|
colorManipulator.private_safeLighten = private_safeLighten;
|
|
@@ -12412,105 +12413,47 @@
|
|
|
12412
12413
|
|
|
12413
12414
|
const purple = {
|
|
12414
12415
|
50: '#f3e5f5',
|
|
12415
|
-
100: '#e1bee7',
|
|
12416
12416
|
200: '#ce93d8',
|
|
12417
12417
|
300: '#ba68c8',
|
|
12418
12418
|
400: '#ab47bc',
|
|
12419
12419
|
500: '#9c27b0',
|
|
12420
|
-
|
|
12421
|
-
700: '#7b1fa2',
|
|
12422
|
-
800: '#6a1b9a',
|
|
12423
|
-
900: '#4a148c',
|
|
12424
|
-
A100: '#ea80fc',
|
|
12425
|
-
A200: '#e040fb',
|
|
12426
|
-
A400: '#d500f9',
|
|
12427
|
-
A700: '#aa00ff'
|
|
12428
|
-
};
|
|
12420
|
+
700: '#7b1fa2'};
|
|
12429
12421
|
|
|
12430
12422
|
const red = {
|
|
12431
|
-
50: '#ffebee',
|
|
12432
|
-
100: '#ffcdd2',
|
|
12433
|
-
200: '#ef9a9a',
|
|
12434
12423
|
300: '#e57373',
|
|
12435
12424
|
400: '#ef5350',
|
|
12436
12425
|
500: '#f44336',
|
|
12437
|
-
600: '#e53935',
|
|
12438
12426
|
700: '#d32f2f',
|
|
12439
|
-
800: '#c62828'
|
|
12440
|
-
900: '#b71c1c',
|
|
12441
|
-
A100: '#ff8a80',
|
|
12442
|
-
A200: '#ff5252',
|
|
12443
|
-
A400: '#ff1744',
|
|
12444
|
-
A700: '#d50000'
|
|
12445
|
-
};
|
|
12427
|
+
800: '#c62828'};
|
|
12446
12428
|
|
|
12447
12429
|
const orange = {
|
|
12448
|
-
50: '#fff3e0',
|
|
12449
|
-
100: '#ffe0b2',
|
|
12450
|
-
200: '#ffcc80',
|
|
12451
12430
|
300: '#ffb74d',
|
|
12452
12431
|
400: '#ffa726',
|
|
12453
12432
|
500: '#ff9800',
|
|
12454
|
-
600: '#fb8c00',
|
|
12455
12433
|
700: '#f57c00',
|
|
12456
|
-
|
|
12457
|
-
900: '#e65100',
|
|
12458
|
-
A100: '#ffd180',
|
|
12459
|
-
A200: '#ffab40',
|
|
12460
|
-
A400: '#ff9100',
|
|
12461
|
-
A700: '#ff6d00'
|
|
12462
|
-
};
|
|
12434
|
+
900: '#e65100'};
|
|
12463
12435
|
|
|
12464
12436
|
const blue = {
|
|
12465
12437
|
50: '#e3f2fd',
|
|
12466
|
-
100: '#bbdefb',
|
|
12467
12438
|
200: '#90caf9',
|
|
12468
|
-
300: '#64b5f6',
|
|
12469
12439
|
400: '#42a5f5',
|
|
12470
|
-
500: '#2196f3',
|
|
12471
|
-
600: '#1e88e5',
|
|
12472
12440
|
700: '#1976d2',
|
|
12473
|
-
800: '#1565c0'
|
|
12474
|
-
900: '#0d47a1',
|
|
12475
|
-
A100: '#82b1ff',
|
|
12476
|
-
A200: '#448aff',
|
|
12477
|
-
A400: '#2979ff',
|
|
12478
|
-
A700: '#2962ff'
|
|
12479
|
-
};
|
|
12441
|
+
800: '#1565c0'};
|
|
12480
12442
|
|
|
12481
12443
|
const lightBlue = {
|
|
12482
|
-
50: '#e1f5fe',
|
|
12483
|
-
100: '#b3e5fc',
|
|
12484
|
-
200: '#81d4fa',
|
|
12485
12444
|
300: '#4fc3f7',
|
|
12486
12445
|
400: '#29b6f6',
|
|
12487
12446
|
500: '#03a9f4',
|
|
12488
|
-
600: '#039be5',
|
|
12489
12447
|
700: '#0288d1',
|
|
12490
|
-
|
|
12491
|
-
900: '#01579b',
|
|
12492
|
-
A100: '#80d8ff',
|
|
12493
|
-
A200: '#40c4ff',
|
|
12494
|
-
A400: '#00b0ff',
|
|
12495
|
-
A700: '#0091ea'
|
|
12496
|
-
};
|
|
12448
|
+
900: '#01579b'};
|
|
12497
12449
|
|
|
12498
12450
|
const green = {
|
|
12499
|
-
50: '#e8f5e9',
|
|
12500
|
-
100: '#c8e6c9',
|
|
12501
|
-
200: '#a5d6a7',
|
|
12502
12451
|
300: '#81c784',
|
|
12503
12452
|
400: '#66bb6a',
|
|
12504
12453
|
500: '#4caf50',
|
|
12505
|
-
600: '#43a047',
|
|
12506
12454
|
700: '#388e3c',
|
|
12507
12455
|
800: '#2e7d32',
|
|
12508
|
-
900: '#1b5e20'
|
|
12509
|
-
A100: '#b9f6ca',
|
|
12510
|
-
A200: '#69f0ae',
|
|
12511
|
-
A400: '#00e676',
|
|
12512
|
-
A700: '#00c853'
|
|
12513
|
-
};
|
|
12456
|
+
900: '#1b5e20'};
|
|
12514
12457
|
|
|
12515
12458
|
const _excluded$J = ["mode", "contrastThreshold", "tonalOffset"];
|
|
12516
12459
|
const light$1 = {
|
|
@@ -12971,7 +12914,7 @@
|
|
|
12971
12914
|
});
|
|
12972
12915
|
muiTheme = deepmerge$1(muiTheme, other);
|
|
12973
12916
|
muiTheme = args.reduce((acc, argument) => deepmerge$1(acc, argument), muiTheme);
|
|
12974
|
-
muiTheme.unstable_sxConfig = _extends$6({}, defaultSxConfig, other == null ?
|
|
12917
|
+
muiTheme.unstable_sxConfig = _extends$6({}, defaultSxConfig, other == null ? void 0 : other.unstable_sxConfig);
|
|
12975
12918
|
muiTheme.unstable_sx = function sx(props) {
|
|
12976
12919
|
return styleFunctionSx$1({
|
|
12977
12920
|
sx: props,
|
|
@@ -13066,7 +13009,7 @@
|
|
|
13066
13009
|
});
|
|
13067
13010
|
createStyled$1.default = createStyled;
|
|
13068
13011
|
createStyled$1.shouldForwardProp = shouldForwardProp;
|
|
13069
|
-
createStyled$1.systemDefaultTheme =
|
|
13012
|
+
createStyled$1.systemDefaultTheme = void 0;
|
|
13070
13013
|
var _extends2 = _interopRequireDefault(require_extends());
|
|
13071
13014
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(requireObjectWithoutPropertiesLoose());
|
|
13072
13015
|
var _styledEngine = _interopRequireWildcard(require$$1);
|
|
@@ -13145,7 +13088,7 @@
|
|
|
13145
13088
|
}, props, ownerState));
|
|
13146
13089
|
} else {
|
|
13147
13090
|
Object.keys(variant.props).forEach(key => {
|
|
13148
|
-
if ((ownerState == null ?
|
|
13091
|
+
if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) {
|
|
13149
13092
|
isMatch = false;
|
|
13150
13093
|
}
|
|
13151
13094
|
});
|
|
@@ -13262,7 +13205,7 @@
|
|
|
13262
13205
|
defaultTheme,
|
|
13263
13206
|
themeId
|
|
13264
13207
|
}));
|
|
13265
|
-
const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ?
|
|
13208
|
+
const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants;
|
|
13266
13209
|
return processStyleArg({
|
|
13267
13210
|
variants: themeVariants
|
|
13268
13211
|
}, (0, _extends2.default)({}, props, {
|
|
@@ -13608,7 +13551,7 @@
|
|
|
13608
13551
|
};
|
|
13609
13552
|
|
|
13610
13553
|
_proto.updateStatus = function updateStatus(mounting, nextStatus) {
|
|
13611
|
-
if (mounting ===
|
|
13554
|
+
if (mounting === void 0) {
|
|
13612
13555
|
mounting = false;
|
|
13613
13556
|
}
|
|
13614
13557
|
|
|
@@ -13829,7 +13772,7 @@
|
|
|
13829
13772
|
Transition.EXITING = EXITING;
|
|
13830
13773
|
|
|
13831
13774
|
function _assertThisInitialized(self) {
|
|
13832
|
-
if (self ===
|
|
13775
|
+
if (self === void 0) {
|
|
13833
13776
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13834
13777
|
}
|
|
13835
13778
|
|
|
@@ -14325,11 +14268,11 @@
|
|
|
14325
14268
|
center = centerProp || options.pulsate,
|
|
14326
14269
|
fakeElement = false // For test purposes
|
|
14327
14270
|
} = options;
|
|
14328
|
-
if ((event == null ?
|
|
14271
|
+
if ((event == null ? void 0 : event.type) === 'mousedown' && ignoringMouseDown.current) {
|
|
14329
14272
|
ignoringMouseDown.current = false;
|
|
14330
14273
|
return;
|
|
14331
14274
|
}
|
|
14332
|
-
if ((event == null ?
|
|
14275
|
+
if ((event == null ? void 0 : event.type) === 'touchstart') {
|
|
14333
14276
|
ignoringMouseDown.current = true;
|
|
14334
14277
|
}
|
|
14335
14278
|
const element = fakeElement ? null : container.current;
|
|
@@ -14413,7 +14356,7 @@
|
|
|
14413
14356
|
|
|
14414
14357
|
// The touch interaction occurs too quickly.
|
|
14415
14358
|
// We still want to show ripple effect.
|
|
14416
|
-
if ((event == null ?
|
|
14359
|
+
if ((event == null ? void 0 : event.type) === 'touchend' && startTimerCommit.current) {
|
|
14417
14360
|
startTimerCommit.current();
|
|
14418
14361
|
startTimerCommit.current = null;
|
|
14419
14362
|
startTimer.start(0, () => {
|
|
@@ -14878,7 +14821,7 @@
|
|
|
14878
14821
|
}, ownerState.variant === 'contained' && {
|
|
14879
14822
|
color: theme.vars ?
|
|
14880
14823
|
// this is safe because grey does not change between default light/dark mode
|
|
14881
|
-
theme.vars.palette.text.primary : (_theme$palette$getCon = (_theme$palette = theme.palette).getContrastText) == null ?
|
|
14824
|
+
theme.vars.palette.text.primary : (_theme$palette$getCon = (_theme$palette = theme.palette).getContrastText) == null ? void 0 : _theme$palette$getCon.call(_theme$palette, theme.palette.grey[300]),
|
|
14882
14825
|
backgroundColor: theme.vars ? theme.vars.palette.Button.inheritContainedBg : inheritContainedBackgroundColor,
|
|
14883
14826
|
boxShadow: (theme.vars || theme).shadows[2]
|
|
14884
14827
|
}, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
|
|
@@ -15062,25 +15005,17 @@
|
|
|
15062
15005
|
|
|
15063
15006
|
const colors = {
|
|
15064
15007
|
green: '#00873D',
|
|
15065
|
-
greenPale: '#0AAF54',
|
|
15066
|
-
red: '#DC423F',
|
|
15067
|
-
redPale: '#F05551',
|
|
15068
15008
|
blue: '#3F8AB3',
|
|
15069
|
-
bluePale: '#469DCD',
|
|
15070
15009
|
// greyscale
|
|
15071
15010
|
grey100: '#ffffff',
|
|
15072
15011
|
grey98: '#FBFBFB',
|
|
15073
15012
|
grey95: '#F2F2F2',
|
|
15074
15013
|
grey90: '#E6E6E6',
|
|
15075
|
-
grey85: '#D9D9D9',
|
|
15076
|
-
grey55: '#8C8C8C',
|
|
15077
15014
|
grey45: '#737373',
|
|
15078
|
-
grey30: '#4D4D4D',
|
|
15079
15015
|
grey25: '#404040',
|
|
15080
15016
|
grey20: '#333333',
|
|
15081
15017
|
grey15: '#262626',
|
|
15082
15018
|
grey10: '#1A1A1A',
|
|
15083
|
-
grey5: '#0E0E0E',
|
|
15084
15019
|
grey0: '#000000'
|
|
15085
15020
|
};
|
|
15086
15021
|
|
|
@@ -15362,7 +15297,7 @@
|
|
|
15362
15297
|
return cache[key];
|
|
15363
15298
|
}
|
|
15364
15299
|
|
|
15365
|
-
const NEBULA_VERSION_HASH = "
|
|
15300
|
+
const NEBULA_VERSION_HASH = "0b93";
|
|
15366
15301
|
ClassNameGenerator.configure(componentName => {
|
|
15367
15302
|
return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
|
|
15368
15303
|
});
|
|
@@ -15594,7 +15529,7 @@
|
|
|
15594
15529
|
const appRef = React.createRef();
|
|
15595
15530
|
const element = document.createElement('div');
|
|
15596
15531
|
element.style.display = 'none';
|
|
15597
|
-
element.setAttribute('data-nebulajs-version', "5.
|
|
15532
|
+
element.setAttribute('data-nebulajs-version', "5.10.0");
|
|
15598
15533
|
element.setAttribute('data-app-id', app.id);
|
|
15599
15534
|
document.body.appendChild(element);
|
|
15600
15535
|
if (context) {
|
|
@@ -15701,19 +15636,19 @@
|
|
|
15701
15636
|
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
15702
15637
|
fill: ownerState.hasSvgAsChild ? undefined : 'currentColor',
|
|
15703
15638
|
flexShrink: 0,
|
|
15704
|
-
transition: (_theme$transitions = theme.transitions) == null || (_theme$transitions$cr = _theme$transitions.create) == null ?
|
|
15705
|
-
duration: (_theme$transitions2 = theme.transitions) == null || (_theme$transitions2 = _theme$transitions2.duration) == null ?
|
|
15639
|
+
transition: (_theme$transitions = theme.transitions) == null || (_theme$transitions$cr = _theme$transitions.create) == null ? void 0 : _theme$transitions$cr.call(_theme$transitions, 'fill', {
|
|
15640
|
+
duration: (_theme$transitions2 = theme.transitions) == null || (_theme$transitions2 = _theme$transitions2.duration) == null ? void 0 : _theme$transitions2.shorter
|
|
15706
15641
|
}),
|
|
15707
15642
|
fontSize: {
|
|
15708
15643
|
inherit: 'inherit',
|
|
15709
|
-
small: ((_theme$typography = theme.typography) == null || (_theme$typography$pxT = _theme$typography.pxToRem) == null ?
|
|
15710
|
-
medium: ((_theme$typography2 = theme.typography) == null || (_theme$typography2$px = _theme$typography2.pxToRem) == null ?
|
|
15711
|
-
large: ((_theme$typography3 = theme.typography) == null || (_theme$typography3$px = _theme$typography3.pxToRem) == null ?
|
|
15644
|
+
small: ((_theme$typography = theme.typography) == null || (_theme$typography$pxT = _theme$typography.pxToRem) == null ? void 0 : _theme$typography$pxT.call(_theme$typography, 20)) || '1.25rem',
|
|
15645
|
+
medium: ((_theme$typography2 = theme.typography) == null || (_theme$typography2$px = _theme$typography2.pxToRem) == null ? void 0 : _theme$typography2$px.call(_theme$typography2, 24)) || '1.5rem',
|
|
15646
|
+
large: ((_theme$typography3 = theme.typography) == null || (_theme$typography3$px = _theme$typography3.pxToRem) == null ? void 0 : _theme$typography3$px.call(_theme$typography3, 35)) || '2.1875rem'
|
|
15712
15647
|
}[ownerState.fontSize],
|
|
15713
15648
|
// TODO v5 deprecate, v6 remove for sx
|
|
15714
|
-
color: (_palette$ownerState$c = (_palette = (theme.vars || theme).palette) == null || (_palette = _palette[ownerState.color]) == null ?
|
|
15715
|
-
action: (_palette2 = (theme.vars || theme).palette) == null || (_palette2 = _palette2.action) == null ?
|
|
15716
|
-
disabled: (_palette3 = (theme.vars || theme).palette) == null || (_palette3 = _palette3.action) == null ?
|
|
15649
|
+
color: (_palette$ownerState$c = (_palette = (theme.vars || theme).palette) == null || (_palette = _palette[ownerState.color]) == null ? void 0 : _palette.main) != null ? _palette$ownerState$c : {
|
|
15650
|
+
action: (_palette2 = (theme.vars || theme).palette) == null || (_palette2 = _palette2.action) == null ? void 0 : _palette2.active,
|
|
15651
|
+
disabled: (_palette3 = (theme.vars || theme).palette) == null || (_palette3 = _palette3.action) == null ? void 0 : _palette3.disabled,
|
|
15717
15652
|
inherit: undefined
|
|
15718
15653
|
}[ownerState.color]
|
|
15719
15654
|
};
|
|
@@ -15870,7 +15805,7 @@
|
|
|
15870
15805
|
}, !theme.vars && theme.palette.mode === 'dark' && {
|
|
15871
15806
|
backgroundImage: `linear-gradient(${colorManipulatorExports.alpha('#fff', getOverlayAlpha(ownerState.elevation))}, ${colorManipulatorExports.alpha('#fff', getOverlayAlpha(ownerState.elevation))})`
|
|
15872
15807
|
}, theme.vars && {
|
|
15873
|
-
backgroundImage: (_theme$vars$overlays = theme.vars.overlays) == null ?
|
|
15808
|
+
backgroundImage: (_theme$vars$overlays = theme.vars.overlays) == null ? void 0 : _theme$vars$overlays[ownerState.elevation]
|
|
15874
15809
|
}));
|
|
15875
15810
|
});
|
|
15876
15811
|
const Paper = /*#__PURE__*/reactExports.forwardRef(function Paper(inProps, ref) {
|
|
@@ -15961,11 +15896,11 @@
|
|
|
15961
15896
|
ownerState
|
|
15962
15897
|
}) => {
|
|
15963
15898
|
var _palette;
|
|
15964
|
-
const palette = (_palette = (theme.vars || theme).palette) == null ?
|
|
15899
|
+
const palette = (_palette = (theme.vars || theme).palette) == null ? void 0 : _palette[ownerState.color];
|
|
15965
15900
|
return _extends$6({}, ownerState.color === 'inherit' && {
|
|
15966
15901
|
color: 'inherit'
|
|
15967
15902
|
}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && _extends$6({
|
|
15968
|
-
color: palette == null ?
|
|
15903
|
+
color: palette == null ? void 0 : palette.main
|
|
15969
15904
|
}, !ownerState.disableRipple && {
|
|
15970
15905
|
'&:hover': _extends$6({}, palette && {
|
|
15971
15906
|
backgroundColor: theme.vars ? `rgba(${palette.mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : colorManipulatorExports.alpha(palette.main, theme.palette.action.hoverOpacity)
|
|
@@ -16153,7 +16088,7 @@
|
|
|
16153
16088
|
Object.defineProperty(useThemeWithoutDefault, "__esModule", {
|
|
16154
16089
|
value: true
|
|
16155
16090
|
});
|
|
16156
|
-
useThemeWithoutDefault.default =
|
|
16091
|
+
useThemeWithoutDefault.default = void 0;
|
|
16157
16092
|
var React = _interopRequireWildcard(requireReact());
|
|
16158
16093
|
var _styledEngine = require$$1;
|
|
16159
16094
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
@@ -16349,11 +16284,11 @@
|
|
|
16349
16284
|
}
|
|
16350
16285
|
|
|
16351
16286
|
function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
|
16352
|
-
if (includeScale ===
|
|
16287
|
+
if (includeScale === void 0) {
|
|
16353
16288
|
includeScale = false;
|
|
16354
16289
|
}
|
|
16355
16290
|
|
|
16356
|
-
if (isFixedStrategy ===
|
|
16291
|
+
if (isFixedStrategy === void 0) {
|
|
16357
16292
|
isFixedStrategy = false;
|
|
16358
16293
|
}
|
|
16359
16294
|
|
|
@@ -16607,7 +16542,7 @@
|
|
|
16607
16542
|
var state = _ref2.state,
|
|
16608
16543
|
options = _ref2.options;
|
|
16609
16544
|
var _options$element = options.element,
|
|
16610
|
-
arrowElement = _options$element ===
|
|
16545
|
+
arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;
|
|
16611
16546
|
|
|
16612
16547
|
if (arrowElement == null) {
|
|
16613
16548
|
return;
|
|
@@ -16677,9 +16612,9 @@
|
|
|
16677
16612
|
roundOffsets = _ref2.roundOffsets,
|
|
16678
16613
|
isFixed = _ref2.isFixed;
|
|
16679
16614
|
var _offsets$x = offsets.x,
|
|
16680
|
-
x = _offsets$x ===
|
|
16615
|
+
x = _offsets$x === void 0 ? 0 : _offsets$x,
|
|
16681
16616
|
_offsets$y = offsets.y,
|
|
16682
|
-
y = _offsets$y ===
|
|
16617
|
+
y = _offsets$y === void 0 ? 0 : _offsets$y;
|
|
16683
16618
|
|
|
16684
16619
|
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
|
|
16685
16620
|
x: x,
|
|
@@ -16759,11 +16694,11 @@
|
|
|
16759
16694
|
var state = _ref5.state,
|
|
16760
16695
|
options = _ref5.options;
|
|
16761
16696
|
var _options$gpuAccelerat = options.gpuAcceleration,
|
|
16762
|
-
gpuAcceleration = _options$gpuAccelerat ===
|
|
16697
|
+
gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
|
|
16763
16698
|
_options$adaptive = options.adaptive,
|
|
16764
|
-
adaptive = _options$adaptive ===
|
|
16699
|
+
adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
|
|
16765
16700
|
_options$roundOffsets = options.roundOffsets,
|
|
16766
|
-
roundOffsets = _options$roundOffsets ===
|
|
16701
|
+
roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
|
|
16767
16702
|
var commonStyles = {
|
|
16768
16703
|
placement: getBasePlacement(state.placement),
|
|
16769
16704
|
variation: getVariation(state.placement),
|
|
@@ -16814,9 +16749,9 @@
|
|
|
16814
16749
|
instance = _ref.instance,
|
|
16815
16750
|
options = _ref.options;
|
|
16816
16751
|
var _options$scroll = options.scroll,
|
|
16817
|
-
scroll = _options$scroll ===
|
|
16752
|
+
scroll = _options$scroll === void 0 ? true : _options$scroll,
|
|
16818
16753
|
_options$resize = options.resize,
|
|
16819
|
-
resize = _options$resize ===
|
|
16754
|
+
resize = _options$resize === void 0 ? true : _options$resize;
|
|
16820
16755
|
var window = getWindow(state.elements.popper);
|
|
16821
16756
|
var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
|
|
16822
16757
|
|
|
@@ -16931,7 +16866,7 @@
|
|
|
16931
16866
|
|
|
16932
16867
|
var html = getDocumentElement(element);
|
|
16933
16868
|
var winScroll = getWindowScroll(element);
|
|
16934
|
-
var body = (_element$ownerDocumen = element.ownerDocument) == null ?
|
|
16869
|
+
var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
|
|
16935
16870
|
var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
16936
16871
|
var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
16937
16872
|
var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
|
|
@@ -16982,12 +16917,12 @@
|
|
|
16982
16917
|
function listScrollParents(element, list) {
|
|
16983
16918
|
var _element$ownerDocumen;
|
|
16984
16919
|
|
|
16985
|
-
if (list ===
|
|
16920
|
+
if (list === void 0) {
|
|
16986
16921
|
list = [];
|
|
16987
16922
|
}
|
|
16988
16923
|
|
|
16989
16924
|
var scrollParent = getScrollParent(element);
|
|
16990
|
-
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ?
|
|
16925
|
+
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
|
|
16991
16926
|
var win = getWindow(scrollParent);
|
|
16992
16927
|
var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
|
|
16993
16928
|
var updatedList = list.concat(target);
|
|
@@ -17126,25 +17061,25 @@
|
|
|
17126
17061
|
}
|
|
17127
17062
|
|
|
17128
17063
|
function detectOverflow(state, options) {
|
|
17129
|
-
if (options ===
|
|
17064
|
+
if (options === void 0) {
|
|
17130
17065
|
options = {};
|
|
17131
17066
|
}
|
|
17132
17067
|
|
|
17133
17068
|
var _options = options,
|
|
17134
17069
|
_options$placement = _options.placement,
|
|
17135
|
-
placement = _options$placement ===
|
|
17070
|
+
placement = _options$placement === void 0 ? state.placement : _options$placement,
|
|
17136
17071
|
_options$strategy = _options.strategy,
|
|
17137
|
-
strategy = _options$strategy ===
|
|
17072
|
+
strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,
|
|
17138
17073
|
_options$boundary = _options.boundary,
|
|
17139
|
-
boundary = _options$boundary ===
|
|
17074
|
+
boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,
|
|
17140
17075
|
_options$rootBoundary = _options.rootBoundary,
|
|
17141
|
-
rootBoundary = _options$rootBoundary ===
|
|
17076
|
+
rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,
|
|
17142
17077
|
_options$elementConte = _options.elementContext,
|
|
17143
|
-
elementContext = _options$elementConte ===
|
|
17078
|
+
elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,
|
|
17144
17079
|
_options$altBoundary = _options.altBoundary,
|
|
17145
|
-
altBoundary = _options$altBoundary ===
|
|
17080
|
+
altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,
|
|
17146
17081
|
_options$padding = _options.padding,
|
|
17147
|
-
padding = _options$padding ===
|
|
17082
|
+
padding = _options$padding === void 0 ? 0 : _options$padding;
|
|
17148
17083
|
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
17149
17084
|
var altContext = elementContext === popper ? reference : popper;
|
|
17150
17085
|
var popperRect = state.rects.popper;
|
|
@@ -17154,7 +17089,6 @@
|
|
|
17154
17089
|
var popperOffsets = computeOffsets({
|
|
17155
17090
|
reference: referenceClientRect,
|
|
17156
17091
|
element: popperRect,
|
|
17157
|
-
strategy: 'absolute',
|
|
17158
17092
|
placement: placement
|
|
17159
17093
|
});
|
|
17160
17094
|
var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
|
|
@@ -17182,7 +17116,7 @@
|
|
|
17182
17116
|
}
|
|
17183
17117
|
|
|
17184
17118
|
function computeAutoPlacement(state, options) {
|
|
17185
|
-
if (options ===
|
|
17119
|
+
if (options === void 0) {
|
|
17186
17120
|
options = {};
|
|
17187
17121
|
}
|
|
17188
17122
|
|
|
@@ -17193,7 +17127,7 @@
|
|
|
17193
17127
|
padding = _options.padding,
|
|
17194
17128
|
flipVariations = _options.flipVariations,
|
|
17195
17129
|
_options$allowedAutoP = _options.allowedAutoPlacements,
|
|
17196
|
-
allowedAutoPlacements = _options$allowedAutoP ===
|
|
17130
|
+
allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements : _options$allowedAutoP;
|
|
17197
17131
|
var variation = getVariation(placement);
|
|
17198
17132
|
var placements$1 = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {
|
|
17199
17133
|
return getVariation(placement) === variation;
|
|
@@ -17240,16 +17174,16 @@
|
|
|
17240
17174
|
}
|
|
17241
17175
|
|
|
17242
17176
|
var _options$mainAxis = options.mainAxis,
|
|
17243
|
-
checkMainAxis = _options$mainAxis ===
|
|
17177
|
+
checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
|
|
17244
17178
|
_options$altAxis = options.altAxis,
|
|
17245
|
-
checkAltAxis = _options$altAxis ===
|
|
17179
|
+
checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,
|
|
17246
17180
|
specifiedFallbackPlacements = options.fallbackPlacements,
|
|
17247
17181
|
padding = options.padding,
|
|
17248
17182
|
boundary = options.boundary,
|
|
17249
17183
|
rootBoundary = options.rootBoundary,
|
|
17250
17184
|
altBoundary = options.altBoundary,
|
|
17251
17185
|
_options$flipVariatio = options.flipVariations,
|
|
17252
|
-
flipVariations = _options$flipVariatio ===
|
|
17186
|
+
flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,
|
|
17253
17187
|
allowedAutoPlacements = options.allowedAutoPlacements;
|
|
17254
17188
|
var preferredPlacement = state.options.placement;
|
|
17255
17189
|
var basePlacement = getBasePlacement(preferredPlacement);
|
|
@@ -17362,7 +17296,7 @@
|
|
|
17362
17296
|
};
|
|
17363
17297
|
|
|
17364
17298
|
function getSideOffsets(overflow, rect, preventedOffsets) {
|
|
17365
|
-
if (preventedOffsets ===
|
|
17299
|
+
if (preventedOffsets === void 0) {
|
|
17366
17300
|
preventedOffsets = {
|
|
17367
17301
|
x: 0,
|
|
17368
17302
|
y: 0
|
|
@@ -17446,7 +17380,7 @@
|
|
|
17446
17380
|
options = _ref2.options,
|
|
17447
17381
|
name = _ref2.name;
|
|
17448
17382
|
var _options$offset = options.offset,
|
|
17449
|
-
offset = _options$offset ===
|
|
17383
|
+
offset = _options$offset === void 0 ? [0, 0] : _options$offset;
|
|
17450
17384
|
var data = placements.reduce(function (acc, placement) {
|
|
17451
17385
|
acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
|
|
17452
17386
|
return acc;
|
|
@@ -17482,7 +17416,6 @@
|
|
|
17482
17416
|
state.modifiersData[name] = computeOffsets({
|
|
17483
17417
|
reference: state.rects.reference,
|
|
17484
17418
|
element: state.rects.popper,
|
|
17485
|
-
strategy: 'absolute',
|
|
17486
17419
|
placement: state.placement
|
|
17487
17420
|
});
|
|
17488
17421
|
} // eslint-disable-next-line import/no-unused-modules
|
|
@@ -17505,17 +17438,17 @@
|
|
|
17505
17438
|
options = _ref.options,
|
|
17506
17439
|
name = _ref.name;
|
|
17507
17440
|
var _options$mainAxis = options.mainAxis,
|
|
17508
|
-
checkMainAxis = _options$mainAxis ===
|
|
17441
|
+
checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
|
|
17509
17442
|
_options$altAxis = options.altAxis,
|
|
17510
|
-
checkAltAxis = _options$altAxis ===
|
|
17443
|
+
checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,
|
|
17511
17444
|
boundary = options.boundary,
|
|
17512
17445
|
rootBoundary = options.rootBoundary,
|
|
17513
17446
|
altBoundary = options.altBoundary,
|
|
17514
17447
|
padding = options.padding,
|
|
17515
17448
|
_options$tether = options.tether,
|
|
17516
|
-
tether = _options$tether ===
|
|
17449
|
+
tether = _options$tether === void 0 ? true : _options$tether,
|
|
17517
17450
|
_options$tetherOffset = options.tetherOffset,
|
|
17518
|
-
tetherOffset = _options$tetherOffset ===
|
|
17451
|
+
tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
|
|
17519
17452
|
var overflow = detectOverflow(state, {
|
|
17520
17453
|
boundary: boundary,
|
|
17521
17454
|
rootBoundary: rootBoundary,
|
|
@@ -17582,7 +17515,7 @@
|
|
|
17582
17515
|
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
|
|
17583
17516
|
var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
|
|
17584
17517
|
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
17585
|
-
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ?
|
|
17518
|
+
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
17586
17519
|
var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
|
|
17587
17520
|
var tetherMax = offset + maxOffset - offsetModifierValue;
|
|
17588
17521
|
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
|
@@ -17607,7 +17540,7 @@
|
|
|
17607
17540
|
|
|
17608
17541
|
var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
|
|
17609
17542
|
|
|
17610
|
-
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ?
|
|
17543
|
+
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
|
|
17611
17544
|
|
|
17612
17545
|
var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
|
|
17613
17546
|
|
|
@@ -17656,7 +17589,7 @@
|
|
|
17656
17589
|
|
|
17657
17590
|
|
|
17658
17591
|
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
17659
|
-
if (isFixed ===
|
|
17592
|
+
if (isFixed === void 0) {
|
|
17660
17593
|
isFixed = false;
|
|
17661
17594
|
}
|
|
17662
17595
|
|
|
@@ -17787,17 +17720,17 @@
|
|
|
17787
17720
|
}
|
|
17788
17721
|
|
|
17789
17722
|
function popperGenerator(generatorOptions) {
|
|
17790
|
-
if (generatorOptions ===
|
|
17723
|
+
if (generatorOptions === void 0) {
|
|
17791
17724
|
generatorOptions = {};
|
|
17792
17725
|
}
|
|
17793
17726
|
|
|
17794
17727
|
var _generatorOptions = generatorOptions,
|
|
17795
17728
|
_generatorOptions$def = _generatorOptions.defaultModifiers,
|
|
17796
|
-
defaultModifiers = _generatorOptions$def ===
|
|
17729
|
+
defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,
|
|
17797
17730
|
_generatorOptions$def2 = _generatorOptions.defaultOptions,
|
|
17798
|
-
defaultOptions = _generatorOptions$def2 ===
|
|
17731
|
+
defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
|
|
17799
17732
|
return function createPopper(reference, popper, options) {
|
|
17800
|
-
if (options ===
|
|
17733
|
+
if (options === void 0) {
|
|
17801
17734
|
options = defaultOptions;
|
|
17802
17735
|
}
|
|
17803
17736
|
|
|
@@ -17884,7 +17817,7 @@
|
|
|
17884
17817
|
var _state$orderedModifie = state.orderedModifiers[index],
|
|
17885
17818
|
fn = _state$orderedModifie.fn,
|
|
17886
17819
|
_state$orderedModifie2 = _state$orderedModifie.options,
|
|
17887
|
-
_options = _state$orderedModifie2 ===
|
|
17820
|
+
_options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,
|
|
17888
17821
|
name = _state$orderedModifie.name;
|
|
17889
17822
|
|
|
17890
17823
|
if (typeof fn === 'function') {
|
|
@@ -17929,7 +17862,7 @@
|
|
|
17929
17862
|
state.orderedModifiers.forEach(function (_ref) {
|
|
17930
17863
|
var name = _ref.name,
|
|
17931
17864
|
_ref$options = _ref.options,
|
|
17932
|
-
options = _ref$options ===
|
|
17865
|
+
options = _ref$options === void 0 ? {} : _ref$options,
|
|
17933
17866
|
effect = _ref.effect;
|
|
17934
17867
|
|
|
17935
17868
|
if (typeof effect === 'function') {
|
|
@@ -18293,7 +18226,7 @@
|
|
|
18293
18226
|
slotProps
|
|
18294
18227
|
} = props,
|
|
18295
18228
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$w);
|
|
18296
|
-
const RootComponent = (_slots$root = slots == null ?
|
|
18229
|
+
const RootComponent = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components == null ? void 0 : components.Root;
|
|
18297
18230
|
const otherProps = _extends$6({
|
|
18298
18231
|
anchorEl,
|
|
18299
18232
|
container,
|
|
@@ -18308,7 +18241,7 @@
|
|
|
18308
18241
|
}, other);
|
|
18309
18242
|
return /*#__PURE__*/jsxRuntimeExports.jsx(PopperRoot, _extends$6({
|
|
18310
18243
|
as: component,
|
|
18311
|
-
direction: theme == null ?
|
|
18244
|
+
direction: theme == null ? void 0 : theme.direction,
|
|
18312
18245
|
slots: {
|
|
18313
18246
|
root: RootComponent
|
|
18314
18247
|
},
|
|
@@ -19181,8 +19114,8 @@
|
|
|
19181
19114
|
"aria-hidden": true
|
|
19182
19115
|
}, rootSlotProps, {
|
|
19183
19116
|
as: (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : component,
|
|
19184
|
-
className: clsx$1(classes.root, className, rootSlotProps == null ?
|
|
19185
|
-
ownerState: _extends$6({}, ownerState, rootSlotProps == null ?
|
|
19117
|
+
className: clsx$1(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
|
|
19118
|
+
ownerState: _extends$6({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
|
|
19186
19119
|
classes: classes,
|
|
19187
19120
|
ref: ref,
|
|
19188
19121
|
children: children
|
|
@@ -19505,10 +19438,10 @@
|
|
|
19505
19438
|
const classes = useUtilityClasses$i(ownerState);
|
|
19506
19439
|
|
|
19507
19440
|
// support both `slots` and `components` for backward compatibility
|
|
19508
|
-
const RootSlot = (_ref = (_slots$root = slots == null ?
|
|
19509
|
-
const BadgeSlot = (_ref2 = (_slots$badge = slots == null ?
|
|
19510
|
-
const rootSlotProps = (_slotProps$root = slotProps == null ?
|
|
19511
|
-
const badgeSlotProps = (_slotProps$badge = slotProps == null ?
|
|
19441
|
+
const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : BadgeRoot;
|
|
19442
|
+
const BadgeSlot = (_ref2 = (_slots$badge = slots == null ? void 0 : slots.badge) != null ? _slots$badge : components.Badge) != null ? _ref2 : BadgeBadge;
|
|
19443
|
+
const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
19444
|
+
const badgeSlotProps = (_slotProps$badge = slotProps == null ? void 0 : slotProps.badge) != null ? _slotProps$badge : componentsProps.badge;
|
|
19512
19445
|
const rootProps = useSlotProps({
|
|
19513
19446
|
elementType: RootSlot,
|
|
19514
19447
|
externalSlotProps: rootSlotProps,
|
|
@@ -19518,13 +19451,13 @@
|
|
|
19518
19451
|
as: component
|
|
19519
19452
|
},
|
|
19520
19453
|
ownerState,
|
|
19521
|
-
className: clsx$1(rootSlotProps == null ?
|
|
19454
|
+
className: clsx$1(rootSlotProps == null ? void 0 : rootSlotProps.className, classes.root, className)
|
|
19522
19455
|
});
|
|
19523
19456
|
const badgeProps = useSlotProps({
|
|
19524
19457
|
elementType: BadgeSlot,
|
|
19525
19458
|
externalSlotProps: badgeSlotProps,
|
|
19526
19459
|
ownerState,
|
|
19527
|
-
className: clsx$1(classes.badge, badgeSlotProps == null ?
|
|
19460
|
+
className: clsx$1(classes.badge, badgeSlotProps == null ? void 0 : badgeSlotProps.className)
|
|
19528
19461
|
});
|
|
19529
19462
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(RootSlot, _extends$6({}, rootProps, {
|
|
19530
19463
|
children: [children, /*#__PURE__*/jsxRuntimeExports.jsx(BadgeSlot, _extends$6({}, badgeProps, {
|
|
@@ -20066,7 +19999,7 @@
|
|
|
20066
19999
|
// https://css-tricks.com/snippets/css/force-vertical-scrollbar/
|
|
20067
20000
|
const parent = container.parentElement;
|
|
20068
20001
|
const containerWindow = ownerWindow(container);
|
|
20069
|
-
scrollContainer = (parent == null ?
|
|
20002
|
+
scrollContainer = (parent == null ? void 0 : parent.nodeName) === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container;
|
|
20070
20003
|
}
|
|
20071
20004
|
|
|
20072
20005
|
// Block the scroll even if no scrollbar is visible to account for mobile keyboard
|
|
@@ -20119,8 +20052,8 @@
|
|
|
20119
20052
|
*/
|
|
20120
20053
|
class ModalManager {
|
|
20121
20054
|
constructor() {
|
|
20122
|
-
this.containers =
|
|
20123
|
-
this.modals =
|
|
20055
|
+
this.containers = void 0;
|
|
20056
|
+
this.modals = void 0;
|
|
20124
20057
|
this.modals = [];
|
|
20125
20058
|
this.containers = [];
|
|
20126
20059
|
}
|
|
@@ -20389,7 +20322,7 @@
|
|
|
20389
20322
|
// to the first/last tabbable element inside the focus trap
|
|
20390
20323
|
if (tabbable.length > 0) {
|
|
20391
20324
|
var _lastKeydown$current, _lastKeydown$current2;
|
|
20392
|
-
const isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) == null ?
|
|
20325
|
+
const isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) == null ? void 0 : _lastKeydown$current.shiftKey) && ((_lastKeydown$current2 = lastKeydown.current) == null ? void 0 : _lastKeydown$current2.key) === 'Tab');
|
|
20393
20326
|
const focusNext = tabbable[0];
|
|
20394
20327
|
const focusPrevious = tabbable[tabbable.length - 1];
|
|
20395
20328
|
if (typeof focusNext !== 'string' && typeof focusPrevious !== 'string') {
|
|
@@ -20631,8 +20564,8 @@
|
|
|
20631
20564
|
}
|
|
20632
20565
|
};
|
|
20633
20566
|
return {
|
|
20634
|
-
onEnter: createChainedFunction(handleEnter, children == null ?
|
|
20635
|
-
onExited: createChainedFunction(handleExited, children == null ?
|
|
20567
|
+
onEnter: createChainedFunction(handleEnter, children == null ? void 0 : children.props.onEnter),
|
|
20568
|
+
onExited: createChainedFunction(handleExited, children == null ? void 0 : children.props.onExited)
|
|
20636
20569
|
};
|
|
20637
20570
|
};
|
|
20638
20571
|
return {
|
|
@@ -20781,10 +20714,10 @@
|
|
|
20781
20714
|
childProps.onEnter = onEnter;
|
|
20782
20715
|
childProps.onExited = onExited;
|
|
20783
20716
|
}
|
|
20784
|
-
const RootSlot = (_ref = (_slots$root = slots == null ?
|
|
20785
|
-
const BackdropSlot = (_ref2 = (_slots$backdrop = slots == null ?
|
|
20786
|
-
const rootSlotProps = (_slotProps$root = slotProps == null ?
|
|
20787
|
-
const backdropSlotProps = (_slotProps$backdrop = slotProps == null ?
|
|
20717
|
+
const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : ModalRoot;
|
|
20718
|
+
const BackdropSlot = (_ref2 = (_slots$backdrop = slots == null ? void 0 : slots.backdrop) != null ? _slots$backdrop : components.Backdrop) != null ? _ref2 : BackdropComponent;
|
|
20719
|
+
const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
20720
|
+
const backdropSlotProps = (_slotProps$backdrop = slotProps == null ? void 0 : slotProps.backdrop) != null ? _slotProps$backdrop : componentsProps.backdrop;
|
|
20788
20721
|
const rootProps = useSlotProps({
|
|
20789
20722
|
elementType: RootSlot,
|
|
20790
20723
|
externalSlotProps: rootSlotProps,
|
|
@@ -20795,7 +20728,7 @@
|
|
|
20795
20728
|
as: component
|
|
20796
20729
|
},
|
|
20797
20730
|
ownerState,
|
|
20798
|
-
className: clsx$1(className, rootSlotProps == null ?
|
|
20731
|
+
className: clsx$1(className, rootSlotProps == null ? void 0 : rootSlotProps.className, classes == null ? void 0 : classes.root, !ownerState.open && ownerState.exited && (classes == null ? void 0 : classes.hidden))
|
|
20799
20732
|
});
|
|
20800
20733
|
const backdropProps = useSlotProps({
|
|
20801
20734
|
elementType: BackdropSlot,
|
|
@@ -20813,7 +20746,7 @@
|
|
|
20813
20746
|
}
|
|
20814
20747
|
}));
|
|
20815
20748
|
},
|
|
20816
|
-
className: clsx$1(backdropSlotProps == null ?
|
|
20749
|
+
className: clsx$1(backdropSlotProps == null ? void 0 : backdropSlotProps.className, BackdropProps == null ? void 0 : BackdropProps.className, classes == null ? void 0 : classes.backdrop),
|
|
20817
20750
|
ownerState
|
|
20818
20751
|
});
|
|
20819
20752
|
if (!keepMounted && !open && (!hasTransition || exited)) {
|
|
@@ -21133,7 +21066,7 @@
|
|
|
21133
21066
|
} = props,
|
|
21134
21067
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$l);
|
|
21135
21068
|
const muiFormControl = useFormControl();
|
|
21136
|
-
const disabled = (_ref = disabledProp != null ? disabledProp : control.props.disabled) != null ? _ref : muiFormControl == null ?
|
|
21069
|
+
const disabled = (_ref = disabledProp != null ? disabledProp : control.props.disabled) != null ? _ref : muiFormControl == null ? void 0 : muiFormControl.disabled;
|
|
21137
21070
|
const required = requiredProp != null ? requiredProp : control.props.required;
|
|
21138
21071
|
const controlProps = {
|
|
21139
21072
|
disabled,
|
|
@@ -21162,7 +21095,7 @@
|
|
|
21162
21095
|
label = /*#__PURE__*/jsxRuntimeExports.jsx(Typography, _extends$6({
|
|
21163
21096
|
component: "span"
|
|
21164
21097
|
}, typographySlotProps, {
|
|
21165
|
-
className: clsx$1(classes.label, typographySlotProps == null ?
|
|
21098
|
+
className: clsx$1(classes.label, typographySlotProps == null ? void 0 : typographySlotProps.className),
|
|
21166
21099
|
children: label
|
|
21167
21100
|
}));
|
|
21168
21101
|
}
|
|
@@ -21941,7 +21874,7 @@
|
|
|
21941
21874
|
const muiFormControl = useFormControl() || {};
|
|
21942
21875
|
let variant = variantProp;
|
|
21943
21876
|
if (variantProp && muiFormControl.variant) ;
|
|
21944
|
-
if (!variant) {
|
|
21877
|
+
if (muiFormControl && !variant) {
|
|
21945
21878
|
variant = muiFormControl.variant;
|
|
21946
21879
|
}
|
|
21947
21880
|
const ownerState = _extends$6({}, props, {
|
|
@@ -22745,7 +22678,7 @@
|
|
|
22745
22678
|
} = props,
|
|
22746
22679
|
TransitionProps = _objectWithoutPropertiesLoose$3(props.TransitionProps, _excluded$b),
|
|
22747
22680
|
other = _objectWithoutPropertiesLoose$3(props, _excluded2$1);
|
|
22748
|
-
const externalPaperSlotProps = (_slotProps$paper = slotProps == null ?
|
|
22681
|
+
const externalPaperSlotProps = (_slotProps$paper = slotProps == null ? void 0 : slotProps.paper) != null ? _slotProps$paper : PaperPropsProp;
|
|
22749
22682
|
const paperRef = reactExports.useRef();
|
|
22750
22683
|
const handlePaperRef = useForkRef(paperRef, externalPaperSlotProps.ref);
|
|
22751
22684
|
const ownerState = _extends$6({}, props, {
|
|
@@ -22908,8 +22841,8 @@
|
|
|
22908
22841
|
// If the anchorEl prop is provided, use its parent body element as the container
|
|
22909
22842
|
// If neither are provided let the Modal take care of choosing the container
|
|
22910
22843
|
const container = containerProp || (anchorEl ? ownerDocument(resolveAnchorEl(anchorEl)).body : undefined);
|
|
22911
|
-
const RootSlot = (_slots$root = slots == null ?
|
|
22912
|
-
const PaperSlot = (_slots$paper = slots == null ?
|
|
22844
|
+
const RootSlot = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : PopoverRoot;
|
|
22845
|
+
const PaperSlot = (_slots$paper = slots == null ? void 0 : slots.paper) != null ? _slots$paper : PopoverPaper;
|
|
22913
22846
|
const paperProps = useSlotProps({
|
|
22914
22847
|
elementType: PaperSlot,
|
|
22915
22848
|
externalSlotProps: _extends$6({}, externalPaperSlotProps, {
|
|
@@ -22922,11 +22855,11 @@
|
|
|
22922
22855
|
ref: handlePaperRef
|
|
22923
22856
|
},
|
|
22924
22857
|
ownerState,
|
|
22925
|
-
className: clsx$1(classes.paper, externalPaperSlotProps == null ?
|
|
22858
|
+
className: clsx$1(classes.paper, externalPaperSlotProps == null ? void 0 : externalPaperSlotProps.className)
|
|
22926
22859
|
});
|
|
22927
22860
|
const _useSlotProps = useSlotProps({
|
|
22928
22861
|
elementType: RootSlot,
|
|
22929
|
-
externalSlotProps: (slotProps == null ?
|
|
22862
|
+
externalSlotProps: (slotProps == null ? void 0 : slotProps.root) || {},
|
|
22930
22863
|
externalForwardedProps: other,
|
|
22931
22864
|
additionalProps: {
|
|
22932
22865
|
ref,
|
|
@@ -24067,14 +24000,14 @@
|
|
|
24067
24000
|
const TooltipComponent = (_ref4 = (_slots$tooltip = slots.tooltip) != null ? _slots$tooltip : components.Tooltip) != null ? _ref4 : TooltipTooltip;
|
|
24068
24001
|
const ArrowComponent = (_ref5 = (_slots$arrow = slots.arrow) != null ? _slots$arrow : components.Arrow) != null ? _ref5 : TooltipArrow;
|
|
24069
24002
|
const popperProps = appendOwnerState(PopperComponent, _extends$6({}, PopperProps, (_slotProps$popper = slotProps.popper) != null ? _slotProps$popper : componentsProps.popper, {
|
|
24070
|
-
className: clsx$1(classes.popper, PopperProps == null ?
|
|
24003
|
+
className: clsx$1(classes.popper, PopperProps == null ? void 0 : PopperProps.className, (_ref6 = (_slotProps$popper2 = slotProps.popper) != null ? _slotProps$popper2 : componentsProps.popper) == null ? void 0 : _ref6.className)
|
|
24071
24004
|
}), ownerState);
|
|
24072
24005
|
const transitionProps = appendOwnerState(TransitionComponent, _extends$6({}, TransitionProps, (_slotProps$transition = slotProps.transition) != null ? _slotProps$transition : componentsProps.transition), ownerState);
|
|
24073
24006
|
const tooltipProps = appendOwnerState(TooltipComponent, _extends$6({}, (_slotProps$tooltip = slotProps.tooltip) != null ? _slotProps$tooltip : componentsProps.tooltip, {
|
|
24074
|
-
className: clsx$1(classes.tooltip, (_ref7 = (_slotProps$tooltip2 = slotProps.tooltip) != null ? _slotProps$tooltip2 : componentsProps.tooltip) == null ?
|
|
24007
|
+
className: clsx$1(classes.tooltip, (_ref7 = (_slotProps$tooltip2 = slotProps.tooltip) != null ? _slotProps$tooltip2 : componentsProps.tooltip) == null ? void 0 : _ref7.className)
|
|
24075
24008
|
}), ownerState);
|
|
24076
24009
|
const tooltipArrowProps = appendOwnerState(ArrowComponent, _extends$6({}, (_slotProps$arrow = slotProps.arrow) != null ? _slotProps$arrow : componentsProps.arrow, {
|
|
24077
|
-
className: clsx$1(classes.arrow, (_ref8 = (_slotProps$arrow2 = slotProps.arrow) != null ? _slotProps$arrow2 : componentsProps.arrow) == null ?
|
|
24010
|
+
className: clsx$1(classes.arrow, (_ref8 = (_slotProps$arrow2 = slotProps.arrow) != null ? _slotProps$arrow2 : componentsProps.arrow) == null ? void 0 : _ref8.className)
|
|
24078
24011
|
}), ownerState);
|
|
24079
24012
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(reactExports.Fragment, {
|
|
24080
24013
|
children: [/*#__PURE__*/reactExports.cloneElement(children, childrenProps), /*#__PURE__*/jsxRuntimeExports.jsx(PopperComponent, _extends$6({
|
|
@@ -24857,7 +24790,7 @@
|
|
|
24857
24790
|
|
|
24858
24791
|
/* eslint-disable no-underscore-dangle */
|
|
24859
24792
|
const dataItemSelector = ".".concat(rowColClasses.fieldRoot);
|
|
24860
|
-
const getKeyAsToggleSelected = event => !(event !== null && event !==
|
|
24793
|
+
const getKeyAsToggleSelected = event => !(event !== null && event !== void 0 && event.metaKey || event !== null && event !== void 0 && event.ctrlKey);
|
|
24861
24794
|
function useSelectionsInteractions(_ref) {
|
|
24862
24795
|
var _loaderRef$current2;
|
|
24863
24796
|
let {
|
|
@@ -24878,7 +24811,7 @@
|
|
|
24878
24811
|
});
|
|
24879
24812
|
reactExports.useEffect(() => {
|
|
24880
24813
|
var _loaderRef$current;
|
|
24881
|
-
if (!((_loaderRef$current = loaderRef.current) !== null && _loaderRef$current !==
|
|
24814
|
+
if (!((_loaderRef$current = loaderRef.current) !== null && _loaderRef$current !== void 0 && (_loaderRef$current = _loaderRef$current._listRef) !== null && _loaderRef$current !== void 0 && _loaderRef$current._outerRef)) {
|
|
24882
24815
|
return undefined;
|
|
24883
24816
|
}
|
|
24884
24817
|
const preventGestureStart = e => e.preventDefault();
|
|
@@ -24893,12 +24826,12 @@
|
|
|
24893
24826
|
listRef.removeEventListener('gesturechange', preventGestureChange);
|
|
24894
24827
|
listRef.removeEventListener('gestureend', preventGestureEnd);
|
|
24895
24828
|
};
|
|
24896
|
-
}, [(_loaderRef$current2 = loaderRef.current) === null || _loaderRef$current2 ===
|
|
24829
|
+
}, [(_loaderRef$current2 = loaderRef.current) === null || _loaderRef$current2 === void 0 || (_loaderRef$current2 = _loaderRef$current2._listRef) === null || _loaderRef$current2 === void 0 ? void 0 : _loaderRef$current2._outerRef]);
|
|
24897
24830
|
|
|
24898
24831
|
// eslint-disable-next-line arrow-body-style
|
|
24899
24832
|
const doSelect = async () => {
|
|
24900
24833
|
var _selectionState$selec;
|
|
24901
|
-
if ((_selectionState$selec = selectionState.selectDisabled) !== null && _selectionState$selec !==
|
|
24834
|
+
if ((_selectionState$selec = selectionState.selectDisabled) !== null && _selectionState$selec !== void 0 && _selectionState$selec.call(selectionState)) {
|
|
24902
24835
|
return false;
|
|
24903
24836
|
}
|
|
24904
24837
|
selectionState.setSelectableValuesUpdating();
|
|
@@ -24928,10 +24861,10 @@
|
|
|
24928
24861
|
let elementIds = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
24929
24862
|
let additive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
24930
24863
|
let event = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
24931
|
-
if ((_selectionState$selec2 = selectionState.selectDisabled) !== null && _selectionState$selec2 !==
|
|
24864
|
+
if ((_selectionState$selec2 = selectionState.selectDisabled) !== null && _selectionState$selec2 !== void 0 && _selectionState$selec2.call(selectionState)) {
|
|
24932
24865
|
return false;
|
|
24933
24866
|
}
|
|
24934
|
-
const toggle = !selectionState.isSingleSelect && getKeyAsToggleSelected(event === null || event ===
|
|
24867
|
+
const toggle = !selectionState.isSingleSelect && getKeyAsToggleSelected(event === null || event === void 0 ? void 0 : event.nativeEvent);
|
|
24935
24868
|
if (!toggle) {
|
|
24936
24869
|
selectionState.clearItemStates(true);
|
|
24937
24870
|
}
|
|
@@ -25030,8 +24963,8 @@
|
|
|
25030
24963
|
doSelect();
|
|
25031
24964
|
return;
|
|
25032
24965
|
}
|
|
25033
|
-
const startTouchElemNumber = Number((_event$touches$0$targ = event.touches[0].target) === null || _event$touches$0$targ ===
|
|
25034
|
-
const endTouchElemNumber = Number((_event$touches$1$targ = event.touches[1].target) === null || _event$touches$1$targ ===
|
|
24966
|
+
const startTouchElemNumber = Number((_event$touches$0$targ = event.touches[0].target) === null || _event$touches$0$targ === void 0 || (_event$touches$0$targ = _event$touches$0$targ.closest(dataItemSelector)) === null || _event$touches$0$targ === void 0 ? void 0 : _event$touches$0$targ.getAttribute('data-n'));
|
|
24967
|
+
const endTouchElemNumber = Number((_event$touches$1$targ = event.touches[1].target) === null || _event$touches$1$targ === void 0 || (_event$touches$1$targ = _event$touches$1$targ.closest(dataItemSelector)) === null || _event$touches$1$targ === void 0 ? void 0 : _event$touches$1$targ.getAttribute('data-n'));
|
|
25035
24968
|
if (Number.isNaN(startTouchElemNumber) || Number.isNaN(startTouchElemNumber)) {
|
|
25036
24969
|
doSelect();
|
|
25037
24970
|
return;
|
|
@@ -25365,6 +25298,9 @@
|
|
|
25365
25298
|
styles
|
|
25366
25299
|
} = _ref4;
|
|
25367
25300
|
const _styles$content = styles.content,
|
|
25301
|
+
{
|
|
25302
|
+
backgroundColor: _
|
|
25303
|
+
} = _styles$content,
|
|
25368
25304
|
contentFontStyles = _objectWithoutProperties(_styles$content, _excluded$5);
|
|
25369
25305
|
const rowSelectionStyle = getRowSelectionStyle({
|
|
25370
25306
|
theme,
|
|
@@ -25910,7 +25846,6 @@
|
|
|
25910
25846
|
}
|
|
25911
25847
|
const width = getBarWidth({
|
|
25912
25848
|
qFrequency,
|
|
25913
|
-
checkboxes,
|
|
25914
25849
|
frequencyMax
|
|
25915
25850
|
});
|
|
25916
25851
|
return /*#__PURE__*/React.createElement(Box, {
|
|
@@ -25928,7 +25863,7 @@
|
|
|
25928
25863
|
dense,
|
|
25929
25864
|
showGray
|
|
25930
25865
|
} = _ref;
|
|
25931
|
-
const frequencyText = getFrequencyText(cell === null || cell ===
|
|
25866
|
+
const frequencyText = getFrequencyText(cell === null || cell === void 0 ? void 0 : cell.qFrequency);
|
|
25932
25867
|
return /*#__PURE__*/React.createElement(Grid, {
|
|
25933
25868
|
item: true,
|
|
25934
25869
|
style: {
|
|
@@ -26055,17 +25990,17 @@
|
|
|
26055
25990
|
});
|
|
26056
25991
|
|
|
26057
25992
|
function removeInnnerTabStops(container) {
|
|
26058
|
-
container === null || container ===
|
|
25993
|
+
container === null || container === void 0 || container.querySelectorAll('[tabIndex="0"]').forEach(elm => {
|
|
26059
25994
|
elm.setAttribute('tabIndex', -1);
|
|
26060
25995
|
});
|
|
26061
25996
|
}
|
|
26062
25997
|
function removeLastFocused(container) {
|
|
26063
|
-
container === null || container ===
|
|
25998
|
+
container === null || container === void 0 || container.querySelectorAll('.last-focused').forEach(elm => {
|
|
26064
25999
|
elm.classList.remove('last-focused');
|
|
26065
26000
|
});
|
|
26066
26001
|
}
|
|
26067
26002
|
function getVizCell(container) {
|
|
26068
|
-
return (container === null || container ===
|
|
26003
|
+
return (container === null || container === void 0 ? void 0 : container.closest('.njs-cell')) || (container === null || container === void 0 ? void 0 : container.closest('.qv-gridcell')) || (container === null || container === void 0 ? void 0 : container.closest('.qv-gs-listbox'));
|
|
26069
26004
|
}
|
|
26070
26005
|
|
|
26071
26006
|
// Emulate the keyboard hook, until we support it in the Listbox.
|
|
@@ -26088,7 +26023,7 @@
|
|
|
26088
26023
|
return;
|
|
26089
26024
|
}
|
|
26090
26025
|
setKeyboardActive(false);
|
|
26091
|
-
const vizCell = getVizCell(containerRef.current) || ((_containerRef$current = containerRef.current) === null || _containerRef$current ===
|
|
26026
|
+
const vizCell = getVizCell(containerRef.current) || ((_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.parentElement);
|
|
26092
26027
|
removeInnnerTabStops(containerRef.current);
|
|
26093
26028
|
removeLastFocused(containerRef.current);
|
|
26094
26029
|
if (resetFocus && vizCell) {
|
|
@@ -26104,22 +26039,22 @@
|
|
|
26104
26039
|
}
|
|
26105
26040
|
setKeyboardActive(true);
|
|
26106
26041
|
const c = containerRef.current;
|
|
26107
|
-
const searchField = c === null || c ===
|
|
26108
|
-
const lastSelectedRow = c === null || c ===
|
|
26109
|
-
const firstRowElement = c === null || c ===
|
|
26110
|
-
const confirmButton = c === null || c ===
|
|
26111
|
-
const unlockCoverButton = c === null || c ===
|
|
26112
|
-
const cyclicButton = c === null || c ===
|
|
26042
|
+
const searchField = c === null || c === void 0 ? void 0 : c.querySelector('.search input');
|
|
26043
|
+
const lastSelectedRow = c === null || c === void 0 ? void 0 : c.querySelector('.value.last-focused');
|
|
26044
|
+
const firstRowElement = c === null || c === void 0 ? void 0 : c.querySelector('.value.selector, .value');
|
|
26045
|
+
const confirmButton = c === null || c === void 0 ? void 0 : c.querySelector('.actions-toolbar-default-actions .actions-toolbar-confirm');
|
|
26046
|
+
const unlockCoverButton = c === null || c === void 0 ? void 0 : c.querySelector('#listbox-unlock-button');
|
|
26047
|
+
const cyclicButton = c === null || c === void 0 ? void 0 : c.querySelector('.listbox-cyclic-button');
|
|
26113
26048
|
const elementToFocus = cyclicButton || searchField || lastSelectedRow || firstRowElement || unlockCoverButton || confirmButton;
|
|
26114
|
-
elementToFocus === null || elementToFocus ===
|
|
26115
|
-
elementToFocus === null || elementToFocus ===
|
|
26049
|
+
elementToFocus === null || elementToFocus === void 0 || elementToFocus.setAttribute('tabIndex', 0);
|
|
26050
|
+
elementToFocus === null || elementToFocus === void 0 || elementToFocus.focus();
|
|
26116
26051
|
},
|
|
26117
26052
|
focusSelection() {
|
|
26118
26053
|
const unlockCoverButton = document.querySelector('#listbox-unlock-button');
|
|
26119
26054
|
const confirmButton = document.querySelector('.actions-toolbar-default-actions .actions-toolbar-confirm:not(:disabled)');
|
|
26120
26055
|
const btnToFocus = unlockCoverButton || confirmButton;
|
|
26121
|
-
btnToFocus === null || btnToFocus ===
|
|
26122
|
-
btnToFocus === null || btnToFocus ===
|
|
26056
|
+
btnToFocus === null || btnToFocus === void 0 || btnToFocus.setAttribute('tabIndex', 0);
|
|
26057
|
+
btnToFocus === null || btnToFocus === void 0 || btnToFocus.focus();
|
|
26123
26058
|
return btnToFocus;
|
|
26124
26059
|
}
|
|
26125
26060
|
};
|
|
@@ -26128,24 +26063,24 @@
|
|
|
26128
26063
|
|
|
26129
26064
|
const getElementIndex = currentTarget => +currentTarget.getAttribute('data-n');
|
|
26130
26065
|
const focusSearch = container => {
|
|
26131
|
-
const searchField = container === null || container ===
|
|
26132
|
-
searchField === null || searchField ===
|
|
26066
|
+
const searchField = container === null || container === void 0 ? void 0 : container.querySelector('.search input');
|
|
26067
|
+
searchField === null || searchField === void 0 || searchField.focus();
|
|
26133
26068
|
return searchField;
|
|
26134
26069
|
};
|
|
26135
26070
|
const focusRow = container => {
|
|
26136
|
-
const lastFocusedRow = container === null || container ===
|
|
26137
|
-
const selectorRow = container === null || container ===
|
|
26138
|
-
const row = container === null || container ===
|
|
26071
|
+
const lastFocusedRow = container === null || container === void 0 ? void 0 : container.querySelector('.value.last-focused');
|
|
26072
|
+
const selectorRow = container === null || container === void 0 ? void 0 : container.querySelector('.value.selector');
|
|
26073
|
+
const row = container === null || container === void 0 ? void 0 : container.querySelector('.value');
|
|
26139
26074
|
const rowToFocus = lastFocusedRow || selectorRow || row;
|
|
26140
|
-
rowToFocus === null || rowToFocus ===
|
|
26141
|
-
rowToFocus === null || rowToFocus ===
|
|
26075
|
+
rowToFocus === null || rowToFocus === void 0 || rowToFocus.setAttribute('tabIndex', 0);
|
|
26076
|
+
rowToFocus === null || rowToFocus === void 0 || rowToFocus.focus();
|
|
26142
26077
|
removeLastFocused(container);
|
|
26143
26078
|
return rowToFocus;
|
|
26144
26079
|
};
|
|
26145
26080
|
const focusCyclicButton = container => {
|
|
26146
|
-
const button = container === null || container ===
|
|
26147
|
-
button === null || button ===
|
|
26148
|
-
button === null || button ===
|
|
26081
|
+
const button = container === null || container === void 0 ? void 0 : container.querySelector('.listbox-cyclic-button:not(:disabled)');
|
|
26082
|
+
button === null || button === void 0 || button.setAttribute('tabIndex', 0);
|
|
26083
|
+
button === null || button === void 0 || button.focus();
|
|
26149
26084
|
return button;
|
|
26150
26085
|
};
|
|
26151
26086
|
const blur$1 = (event, keyboard) => {
|
|
@@ -26157,7 +26092,7 @@
|
|
|
26157
26092
|
const isFocusedOnListbox = target.classList.contains('listbox-container');
|
|
26158
26093
|
const container = currentTarget.closest('.listbox-container');
|
|
26159
26094
|
const vizCell = getVizCell(container);
|
|
26160
|
-
const isSingleListbox = (vizCell === null || vizCell ===
|
|
26095
|
+
const isSingleListbox = (vizCell === null || vizCell === void 0 ? void 0 : vizCell.querySelectorAll('.listbox-container').length) === 1;
|
|
26161
26096
|
if (isFocusedOnListbox || isSingleListbox) {
|
|
26162
26097
|
// Move the focus from listbox container to the viz container.
|
|
26163
26098
|
keyboard.blur(true);
|
|
@@ -26174,7 +26109,7 @@
|
|
|
26174
26109
|
keyboard.blur();
|
|
26175
26110
|
const c = currentTarget.closest('.listbox-container');
|
|
26176
26111
|
c.setAttribute('tabIndex', -1);
|
|
26177
|
-
c === null || c ===
|
|
26112
|
+
c === null || c === void 0 || c.focus();
|
|
26178
26113
|
}
|
|
26179
26114
|
};
|
|
26180
26115
|
|
|
@@ -26247,11 +26182,11 @@
|
|
|
26247
26182
|
const getElement = function (keyCode, elm) {
|
|
26248
26183
|
let next = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
26249
26184
|
if (keyCode === KEYS.ARROW_LEFT || keyCode === KEYS.ARROW_RIGHT || !(typeof rowIndex === 'number' && typeof columnIndex === 'number')) {
|
|
26250
|
-
const parentElm = elm === null || elm ===
|
|
26251
|
-
return parentElm === null || parentElm ===
|
|
26185
|
+
const parentElm = elm === null || elm === void 0 ? void 0 : elm.parentElement[next ? 'nextElementSibling' : 'previousElementSibling'];
|
|
26186
|
+
return parentElm === null || parentElm === void 0 ? void 0 : parentElm.querySelector('[role]');
|
|
26252
26187
|
}
|
|
26253
|
-
const gridElm = elm === null || elm ===
|
|
26254
|
-
const numCells = gridElm === null || gridElm ===
|
|
26188
|
+
const gridElm = elm === null || elm === void 0 ? void 0 : elm.parentElement.parentElement;
|
|
26189
|
+
const numCells = gridElm === null || gridElm === void 0 ? void 0 : gridElm.childElementCount;
|
|
26255
26190
|
if (numCells) {
|
|
26256
26191
|
const nextIndex = findNextItemIndex({
|
|
26257
26192
|
rowIndex,
|
|
@@ -26262,8 +26197,8 @@
|
|
|
26262
26197
|
keyCode,
|
|
26263
26198
|
numCells
|
|
26264
26199
|
});
|
|
26265
|
-
const nextElm = elm === null || elm ===
|
|
26266
|
-
return nextElm === null || nextElm ===
|
|
26200
|
+
const nextElm = elm === null || elm === void 0 ? void 0 : elm.parentElement.parentElement.children[nextIndex];
|
|
26201
|
+
return nextElm === null || nextElm === void 0 ? void 0 : nextElm.querySelector('[role]');
|
|
26267
26202
|
}
|
|
26268
26203
|
return undefined;
|
|
26269
26204
|
};
|
|
@@ -26292,7 +26227,7 @@
|
|
|
26292
26227
|
// TODO: use a store to keep track of this row.
|
|
26293
26228
|
currentTarget.classList.add('last-focused'); // so that we can go back here when we tab back
|
|
26294
26229
|
|
|
26295
|
-
const useDefaultBrowserSupport = !(keyboard !== null && keyboard !==
|
|
26230
|
+
const useDefaultBrowserSupport = !(keyboard !== null && keyboard !== void 0 && keyboard.enabled);
|
|
26296
26231
|
if (useDefaultBrowserSupport) {
|
|
26297
26232
|
if (!inSelection) return;
|
|
26298
26233
|
keyboard.focusSelection();
|
|
@@ -26367,18 +26302,18 @@
|
|
|
26367
26302
|
case KEYS.HOME:
|
|
26368
26303
|
focusListItems.setFirst(true);
|
|
26369
26304
|
if (ctrlKey) {
|
|
26370
|
-
setScrollPosition === null || setScrollPosition ===
|
|
26305
|
+
setScrollPosition === null || setScrollPosition === void 0 || setScrollPosition('overflowStart');
|
|
26371
26306
|
break;
|
|
26372
26307
|
}
|
|
26373
|
-
setScrollPosition === null || setScrollPosition ===
|
|
26308
|
+
setScrollPosition === null || setScrollPosition === void 0 || setScrollPosition('start');
|
|
26374
26309
|
break;
|
|
26375
26310
|
case KEYS.END:
|
|
26376
26311
|
focusListItems.setLast(true);
|
|
26377
26312
|
if (ctrlKey) {
|
|
26378
|
-
setScrollPosition === null || setScrollPosition ===
|
|
26313
|
+
setScrollPosition === null || setScrollPosition === void 0 || setScrollPosition('overflowEnd');
|
|
26379
26314
|
break;
|
|
26380
26315
|
}
|
|
26381
|
-
setScrollPosition === null || setScrollPosition ===
|
|
26316
|
+
setScrollPosition === null || setScrollPosition === void 0 || setScrollPosition('end');
|
|
26382
26317
|
break;
|
|
26383
26318
|
case KEYS.A:
|
|
26384
26319
|
if (ctrlKey || metaKey) {
|
|
@@ -26411,7 +26346,7 @@
|
|
|
26411
26346
|
cell,
|
|
26412
26347
|
textAlign
|
|
26413
26348
|
} = _ref;
|
|
26414
|
-
const isNumeric = !['NaN', undefined].includes(cell === null || cell ===
|
|
26349
|
+
const isNumeric = !['NaN', undefined].includes(cell === null || cell === void 0 ? void 0 : cell.qNum);
|
|
26415
26350
|
let valueTextAlign;
|
|
26416
26351
|
const isAutoTextAlign = !textAlign || textAlign.auto;
|
|
26417
26352
|
const dirToTextAlignMap = {
|
|
@@ -26425,7 +26360,7 @@
|
|
|
26425
26360
|
valueTextAlign = direction === 'rtl' ? 'left' : 'right';
|
|
26426
26361
|
}
|
|
26427
26362
|
} else {
|
|
26428
|
-
valueTextAlign = (textAlign === null || textAlign ===
|
|
26363
|
+
valueTextAlign = (textAlign === null || textAlign === void 0 ? void 0 : textAlign.align) || 'left';
|
|
26429
26364
|
}
|
|
26430
26365
|
const ALLOWED_OPTIONS = ['left', 'center', 'right'];
|
|
26431
26366
|
return ALLOWED_OPTIONS.includes(valueTextAlign) ? valueTextAlign : 'left';
|
|
@@ -26571,18 +26506,18 @@
|
|
|
26571
26506
|
rowIndex,
|
|
26572
26507
|
columnIndex,
|
|
26573
26508
|
layoutOrder
|
|
26574
|
-
})), [actions, keyboard === null || keyboard ===
|
|
26509
|
+
})), [actions, keyboard === null || keyboard === void 0 ? void 0 : keyboard.innerTabStops, rowCount, columnCount, rowIndex, columnIndex, layoutOrder]);
|
|
26575
26510
|
const cell = reactExports.useMemo(() => getCellFromPages({
|
|
26576
26511
|
pages,
|
|
26577
26512
|
cellIndex
|
|
26578
26513
|
}), [pages, cellIndex]);
|
|
26579
|
-
const isSelected = (cell === null || cell ===
|
|
26514
|
+
const isSelected = (cell === null || cell === void 0 ? void 0 : cell.qState) === 'S' || (cell === null || cell === void 0 ? void 0 : cell.qState) === 'XS' || (cell === null || cell === void 0 ? void 0 : cell.qState) === 'L' || (cell === null || cell === void 0 ? void 0 : cell.qState) === 'XL';
|
|
26580
26515
|
const classArr = reactExports.useMemo(() => getValueStateClasses({
|
|
26581
26516
|
column,
|
|
26582
26517
|
histogram,
|
|
26583
26518
|
cell,
|
|
26584
26519
|
showGray
|
|
26585
|
-
}), [cell === null || cell ===
|
|
26520
|
+
}), [cell === null || cell === void 0 ? void 0 : cell.qState, histogram, dense]);
|
|
26586
26521
|
const preventContextMenu = reactExports.useCallback(event => {
|
|
26587
26522
|
event.preventDefault();
|
|
26588
26523
|
}, [checkboxes]);
|
|
@@ -26595,11 +26530,11 @@
|
|
|
26595
26530
|
return null; // prevent rendering empty rows
|
|
26596
26531
|
}
|
|
26597
26532
|
const isGridCol = dataLayout === 'grid' && layoutOrder === 'column';
|
|
26598
|
-
const label = (_cell$qText = cell === null || cell ===
|
|
26533
|
+
const label = (_cell$qText = cell === null || cell === void 0 ? void 0 : cell.qText) !== null && _cell$qText !== void 0 ? _cell$qText : '';
|
|
26599
26534
|
// Search highlights. Split up labelText span into several and add the highlighted class to matching sub-strings.
|
|
26600
26535
|
|
|
26601
26536
|
let labels;
|
|
26602
|
-
if ((_cell$qHighlightRange = cell.qHighlightRanges) !== null && _cell$qHighlightRange !==
|
|
26537
|
+
if ((_cell$qHighlightRange = cell.qHighlightRanges) !== null && _cell$qHighlightRange !== void 0 && (_cell$qHighlightRange = _cell$qHighlightRange.qRanges) !== null && _cell$qHighlightRange !== void 0 && _cell$qHighlightRange.length) {
|
|
26603
26538
|
const ranges = cell.qHighlightRanges.qRanges.sort((a, b) => a.qCharPos - b.qCharPos) || [];
|
|
26604
26539
|
labels = getSegmentsFromRanges(label, ranges);
|
|
26605
26540
|
}
|
|
@@ -26672,11 +26607,11 @@
|
|
|
26672
26607
|
onTouchEnd: onTouchEnd,
|
|
26673
26608
|
onContextMenu: preventContextMenu,
|
|
26674
26609
|
tabIndex: isFirstElement && keyboard.innerTabStops ? 0 : -1,
|
|
26675
|
-
"data-n": cell === null || cell ===
|
|
26610
|
+
"data-n": cell === null || cell === void 0 ? void 0 : cell.qElemNumber,
|
|
26676
26611
|
direction: direction,
|
|
26677
26612
|
fillHeight: fillHeight
|
|
26678
|
-
}, (cell === null || cell ===
|
|
26679
|
-
qFrequency: cell === null || cell ===
|
|
26613
|
+
}, (cell === null || cell === void 0 ? void 0 : cell.qFrequency) && /*#__PURE__*/React.createElement(Histogram, {
|
|
26614
|
+
qFrequency: cell === null || cell === void 0 ? void 0 : cell.qFrequency,
|
|
26680
26615
|
histogram: histogram,
|
|
26681
26616
|
checkboxes: checkboxes,
|
|
26682
26617
|
isSelected: isSelected,
|
|
@@ -26796,7 +26731,7 @@
|
|
|
26796
26731
|
}
|
|
26797
26732
|
|
|
26798
26733
|
function memoizeOne(resultFn, isEqual) {
|
|
26799
|
-
if (isEqual ===
|
|
26734
|
+
if (isEqual === void 0) { isEqual = areInputsEqual; }
|
|
26800
26735
|
var lastThis;
|
|
26801
26736
|
var lastArgs = [];
|
|
26802
26737
|
var lastResult;
|
|
@@ -26849,7 +26784,7 @@
|
|
|
26849
26784
|
var size = -1; // This utility copied from "dom-helpers" package.
|
|
26850
26785
|
|
|
26851
26786
|
function getScrollbarSize(recalculate) {
|
|
26852
|
-
if (recalculate ===
|
|
26787
|
+
if (recalculate === void 0) {
|
|
26853
26788
|
recalculate = false;
|
|
26854
26789
|
}
|
|
26855
26790
|
|
|
@@ -26874,7 +26809,7 @@
|
|
|
26874
26809
|
// If it does not match, then we can assume a non-standard RTL scroll implementation.
|
|
26875
26810
|
|
|
26876
26811
|
function getRTLOffsetType(recalculate) {
|
|
26877
|
-
if (recalculate ===
|
|
26812
|
+
if (recalculate === void 0) {
|
|
26878
26813
|
recalculate = false;
|
|
26879
26814
|
}
|
|
26880
26815
|
|
|
@@ -26950,7 +26885,7 @@
|
|
|
26950
26885
|
_this = _PureComponent.call(this, props) || this;
|
|
26951
26886
|
_this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized(_this));
|
|
26952
26887
|
_this._resetIsScrollingTimeoutId = null;
|
|
26953
|
-
_this._outerRef =
|
|
26888
|
+
_this._outerRef = void 0;
|
|
26954
26889
|
_this.state = {
|
|
26955
26890
|
instance: _assertThisInitialized(_this),
|
|
26956
26891
|
isScrolling: false,
|
|
@@ -26960,7 +26895,7 @@
|
|
|
26960
26895
|
scrollUpdateWasRequested: false,
|
|
26961
26896
|
verticalScrollDirection: 'forward'
|
|
26962
26897
|
};
|
|
26963
|
-
_this._callOnItemsRendered =
|
|
26898
|
+
_this._callOnItemsRendered = void 0;
|
|
26964
26899
|
_this._callOnItemsRendered = memoizeOne(function (overscanColumnStartIndex, overscanColumnStopIndex, overscanRowStartIndex, overscanRowStopIndex, visibleColumnStartIndex, visibleColumnStopIndex, visibleRowStartIndex, visibleRowStopIndex) {
|
|
26965
26900
|
return _this.props.onItemsRendered({
|
|
26966
26901
|
overscanColumnStartIndex: overscanColumnStartIndex,
|
|
@@ -26973,7 +26908,7 @@
|
|
|
26973
26908
|
visibleRowStopIndex: visibleRowStopIndex
|
|
26974
26909
|
});
|
|
26975
26910
|
});
|
|
26976
|
-
_this._callOnScroll =
|
|
26911
|
+
_this._callOnScroll = void 0;
|
|
26977
26912
|
_this._callOnScroll = memoizeOne(function (scrollLeft, scrollTop, horizontalScrollDirection, verticalScrollDirection, scrollUpdateWasRequested) {
|
|
26978
26913
|
return _this.props.onScroll({
|
|
26979
26914
|
horizontalScrollDirection: horizontalScrollDirection,
|
|
@@ -26983,7 +26918,7 @@
|
|
|
26983
26918
|
scrollUpdateWasRequested: scrollUpdateWasRequested
|
|
26984
26919
|
});
|
|
26985
26920
|
});
|
|
26986
|
-
_this._getItemStyle =
|
|
26921
|
+
_this._getItemStyle = void 0;
|
|
26987
26922
|
|
|
26988
26923
|
_this._getItemStyle = function (rowIndex, columnIndex) {
|
|
26989
26924
|
var _this$props = _this.props,
|
|
@@ -27015,7 +26950,7 @@
|
|
|
27015
26950
|
return style;
|
|
27016
26951
|
};
|
|
27017
26952
|
|
|
27018
|
-
_this._getItemStyleCache =
|
|
26953
|
+
_this._getItemStyleCache = void 0;
|
|
27019
26954
|
_this._getItemStyleCache = memoizeOne(function (_, __, ___) {
|
|
27020
26955
|
return {};
|
|
27021
26956
|
});
|
|
@@ -27149,7 +27084,7 @@
|
|
|
27149
27084
|
|
|
27150
27085
|
_proto.scrollToItem = function scrollToItem(_ref4) {
|
|
27151
27086
|
var _ref4$align = _ref4.align,
|
|
27152
|
-
align = _ref4$align ===
|
|
27087
|
+
align = _ref4$align === void 0 ? 'auto' : _ref4$align,
|
|
27153
27088
|
columnIndex = _ref4.columnIndex,
|
|
27154
27089
|
rowIndex = _ref4.rowIndex;
|
|
27155
27090
|
var _this$props2 = this.props,
|
|
@@ -27260,7 +27195,7 @@
|
|
|
27260
27195
|
innerTagName = _this$props4.innerTagName,
|
|
27261
27196
|
itemData = _this$props4.itemData,
|
|
27262
27197
|
_this$props4$itemKey = _this$props4.itemKey,
|
|
27263
|
-
itemKey = _this$props4$itemKey ===
|
|
27198
|
+
itemKey = _this$props4$itemKey === void 0 ? defaultItemKey : _this$props4$itemKey,
|
|
27264
27199
|
outerElementType = _this$props4.outerElementType,
|
|
27265
27200
|
outerTagName = _this$props4.outerTagName,
|
|
27266
27201
|
rowCount = _this$props4.rowCount,
|
|
@@ -27469,7 +27404,7 @@
|
|
|
27469
27404
|
|
|
27470
27405
|
_this = _PureComponent.call(this, props) || this;
|
|
27471
27406
|
_this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized(_this));
|
|
27472
|
-
_this._outerRef =
|
|
27407
|
+
_this._outerRef = void 0;
|
|
27473
27408
|
_this._resetIsScrollingTimeoutId = null;
|
|
27474
27409
|
_this.state = {
|
|
27475
27410
|
instance: _assertThisInitialized(_this),
|
|
@@ -27478,7 +27413,7 @@
|
|
|
27478
27413
|
scrollOffset: typeof _this.props.initialScrollOffset === 'number' ? _this.props.initialScrollOffset : 0,
|
|
27479
27414
|
scrollUpdateWasRequested: false
|
|
27480
27415
|
};
|
|
27481
|
-
_this._callOnItemsRendered =
|
|
27416
|
+
_this._callOnItemsRendered = void 0;
|
|
27482
27417
|
_this._callOnItemsRendered = memoizeOne(function (overscanStartIndex, overscanStopIndex, visibleStartIndex, visibleStopIndex) {
|
|
27483
27418
|
return _this.props.onItemsRendered({
|
|
27484
27419
|
overscanStartIndex: overscanStartIndex,
|
|
@@ -27487,7 +27422,7 @@
|
|
|
27487
27422
|
visibleStopIndex: visibleStopIndex
|
|
27488
27423
|
});
|
|
27489
27424
|
});
|
|
27490
|
-
_this._callOnScroll =
|
|
27425
|
+
_this._callOnScroll = void 0;
|
|
27491
27426
|
_this._callOnScroll = memoizeOne(function (scrollDirection, scrollOffset, scrollUpdateWasRequested) {
|
|
27492
27427
|
return _this.props.onScroll({
|
|
27493
27428
|
scrollDirection: scrollDirection,
|
|
@@ -27495,7 +27430,7 @@
|
|
|
27495
27430
|
scrollUpdateWasRequested: scrollUpdateWasRequested
|
|
27496
27431
|
});
|
|
27497
27432
|
});
|
|
27498
|
-
_this._getItemStyle =
|
|
27433
|
+
_this._getItemStyle = void 0;
|
|
27499
27434
|
|
|
27500
27435
|
_this._getItemStyle = function (index) {
|
|
27501
27436
|
var _this$props = _this.props,
|
|
@@ -27530,7 +27465,7 @@
|
|
|
27530
27465
|
return style;
|
|
27531
27466
|
};
|
|
27532
27467
|
|
|
27533
|
-
_this._getItemStyleCache =
|
|
27468
|
+
_this._getItemStyleCache = void 0;
|
|
27534
27469
|
_this._getItemStyleCache = memoizeOne(function (_, __, ___) {
|
|
27535
27470
|
return {};
|
|
27536
27471
|
});
|
|
@@ -27662,7 +27597,7 @@
|
|
|
27662
27597
|
};
|
|
27663
27598
|
|
|
27664
27599
|
_proto.scrollToItem = function scrollToItem(index, align) {
|
|
27665
|
-
if (align ===
|
|
27600
|
+
if (align === void 0) {
|
|
27666
27601
|
align = 'auto';
|
|
27667
27602
|
}
|
|
27668
27603
|
|
|
@@ -27768,7 +27703,7 @@
|
|
|
27768
27703
|
itemCount = _this$props5.itemCount,
|
|
27769
27704
|
itemData = _this$props5.itemData,
|
|
27770
27705
|
_this$props5$itemKey = _this$props5.itemKey,
|
|
27771
|
-
itemKey = _this$props5$itemKey ===
|
|
27706
|
+
itemKey = _this$props5$itemKey === void 0 ? defaultItemKey$1 : _this$props5$itemKey,
|
|
27772
27707
|
layout = _this$props5.layout,
|
|
27773
27708
|
outerElementType = _this$props5.outerElementType,
|
|
27774
27709
|
outerTagName = _this$props5.outerTagName,
|
|
@@ -28220,13 +28155,13 @@
|
|
|
28220
28155
|
}
|
|
28221
28156
|
|
|
28222
28157
|
const getIndex = (renderProps, isColumnLayout) => {
|
|
28223
|
-
if ((renderProps === null || renderProps ===
|
|
28158
|
+
if ((renderProps === null || renderProps === void 0 ? void 0 : renderProps.visibleRowStopIndex) !== undefined || renderProps.visibleColumnStopIndex !== undefined) {
|
|
28224
28159
|
return isColumnLayout ? renderProps.visibleColumnStopIndex : renderProps.visibleRowStopIndex;
|
|
28225
28160
|
}
|
|
28226
28161
|
return renderProps.visibleStopIndex;
|
|
28227
28162
|
};
|
|
28228
28163
|
const getIsScrollTop = (renderProps, isColumnLayout) => {
|
|
28229
|
-
if ((renderProps === null || renderProps ===
|
|
28164
|
+
if ((renderProps === null || renderProps === void 0 ? void 0 : renderProps.visibleRowStartIndex) !== undefined || renderProps.visibleColumnStartIndex !== undefined) {
|
|
28230
28165
|
return isColumnLayout ? renderProps.visibleColumnStartIndex === 0 : renderProps.visibleRowStartIndex === 0;
|
|
28231
28166
|
}
|
|
28232
28167
|
return renderProps.visibleStartIndex === 0;
|
|
@@ -28243,7 +28178,7 @@
|
|
|
28243
28178
|
qCardinal,
|
|
28244
28179
|
dataOffset
|
|
28245
28180
|
} = _ref;
|
|
28246
|
-
const isColumnLayout = (layoutOptions === null || layoutOptions ===
|
|
28181
|
+
const isColumnLayout = (layoutOptions === null || layoutOptions === void 0 ? void 0 : layoutOptions.layoutOrder) === 'column' && layoutOptions.dataLayout !== 'singleColumn';
|
|
28247
28182
|
const index = getIndex(renderProps, isColumnLayout);
|
|
28248
28183
|
const stopIndex = isColumnLayout ? maxCount.column : maxCount.row;
|
|
28249
28184
|
const count = isColumnLayout ? columnCount : rowCount;
|
|
@@ -28313,7 +28248,7 @@
|
|
|
28313
28248
|
useIsScrolling: true,
|
|
28314
28249
|
className: classes$9.styledScrollbars
|
|
28315
28250
|
};
|
|
28316
|
-
const isLocked = layout === null || layout ===
|
|
28251
|
+
const isLocked = layout === null || layout === void 0 ? void 0 : layout.qListObject.qDimensionInfo.qLocked;
|
|
28317
28252
|
const fillHeight = listHeight <= itemHeight;
|
|
28318
28253
|
|
|
28319
28254
|
// Item data common for List and Grid.
|
|
@@ -28331,8 +28266,8 @@
|
|
|
28331
28266
|
sizes,
|
|
28332
28267
|
actions: {
|
|
28333
28268
|
select,
|
|
28334
|
-
confirm: () => selections === null || selections ===
|
|
28335
|
-
cancel: () => selections === null || selections ===
|
|
28269
|
+
confirm: () => selections === null || selections === void 0 ? void 0 : selections.confirm.call(selections),
|
|
28270
|
+
cancel: () => selections === null || selections === void 0 ? void 0 : selections.cancel.call(selections),
|
|
28336
28271
|
setScrollPosition,
|
|
28337
28272
|
selectAll,
|
|
28338
28273
|
onCtrlF
|
|
@@ -28362,7 +28297,7 @@
|
|
|
28362
28297
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
28363
28298
|
, _extends$7({}, commonComponentOptions, {
|
|
28364
28299
|
dataTestid: "fixed-size-list",
|
|
28365
|
-
scrollDisabled: constraints === null || constraints ===
|
|
28300
|
+
scrollDisabled: constraints === null || constraints === void 0 ? void 0 : constraints.active,
|
|
28366
28301
|
height: listHeight,
|
|
28367
28302
|
width: width,
|
|
28368
28303
|
itemCount: listCount,
|
|
@@ -28386,7 +28321,7 @@
|
|
|
28386
28321
|
columnCount,
|
|
28387
28322
|
rowCount,
|
|
28388
28323
|
overflowDisclaimer,
|
|
28389
|
-
qCardinal: layout === null || layout ===
|
|
28324
|
+
qCardinal: layout === null || layout === void 0 || (_layout$qListObject = layout.qListObject) === null || _layout$qListObject === void 0 || (_layout$qListObject = _layout$qListObject.qDimensionInfo) === null || _layout$qListObject === void 0 ? void 0 : _layout$qListObject.qCardinal,
|
|
28390
28325
|
dataOffset: local.current.dataOffset
|
|
28391
28326
|
});
|
|
28392
28327
|
onItemsRendered(_objectSpread2({}, renderProps));
|
|
@@ -28430,7 +28365,7 @@
|
|
|
28430
28365
|
columnCount,
|
|
28431
28366
|
rowCount,
|
|
28432
28367
|
overflowDisclaimer,
|
|
28433
|
-
qCardinal: layout === null || layout ===
|
|
28368
|
+
qCardinal: layout === null || layout === void 0 || (_layout$qListObject2 = layout.qListObject) === null || _layout$qListObject2 === void 0 || (_layout$qListObject2 = _layout$qListObject2.qDimensionInfo) === null || _layout$qListObject2 === void 0 ? void 0 : _layout$qListObject2.qCardinal,
|
|
28434
28369
|
dataOffset: local.current.dataOffset
|
|
28435
28370
|
});
|
|
28436
28371
|
onItemsRendered(renderOptions);
|
|
@@ -28439,7 +28374,7 @@
|
|
|
28439
28374
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
28440
28375
|
, _extends$7({}, commonComponentOptions, {
|
|
28441
28376
|
dataTestid: "fixed-size-grid",
|
|
28442
|
-
scrollDisabled: constraints === null || constraints ===
|
|
28377
|
+
scrollDisabled: constraints === null || constraints === void 0 ? void 0 : constraints.active,
|
|
28443
28378
|
height: gridHeight,
|
|
28444
28379
|
width: width,
|
|
28445
28380
|
columnCount: columnCount,
|
|
@@ -28473,7 +28408,7 @@
|
|
|
28473
28408
|
itemMinWidth
|
|
28474
28409
|
} = _ref;
|
|
28475
28410
|
let rowCount;
|
|
28476
|
-
const maxRows = (maxVisibleRows === null || maxVisibleRows ===
|
|
28411
|
+
const maxRows = (maxVisibleRows === null || maxVisibleRows === void 0 ? void 0 : maxVisibleRows.maxRows) || 3;
|
|
28477
28412
|
const autoRowCount = Math.floor(listHeight / itemHeight);
|
|
28478
28413
|
if (maxVisibleRows.auto !== false) {
|
|
28479
28414
|
rowCount = autoRowCount;
|
|
@@ -28498,11 +28433,11 @@
|
|
|
28498
28433
|
columnAutoWidth,
|
|
28499
28434
|
itemMinWidth
|
|
28500
28435
|
} = _ref;
|
|
28501
|
-
const maxColumns = (maxVisibleColumns === null || maxVisibleColumns ===
|
|
28436
|
+
const maxColumns = (maxVisibleColumns === null || maxVisibleColumns === void 0 ? void 0 : maxVisibleColumns.maxColumns) || 3;
|
|
28502
28437
|
const innerWidth = containerWidth - SCROLL_BAR_WIDTH;
|
|
28503
28438
|
let columnCount;
|
|
28504
28439
|
const autoColumnCount = Math.min(listCount, Math.max(1, Math.round(innerWidth / Math.max(itemMinWidth, columnAutoWidth)))); // TODO: smarter sizing... based on glyph count + font size etc...??
|
|
28505
|
-
if ((maxVisibleColumns === null || maxVisibleColumns ===
|
|
28440
|
+
if ((maxVisibleColumns === null || maxVisibleColumns === void 0 ? void 0 : maxVisibleColumns.auto) !== false) {
|
|
28506
28441
|
columnCount = autoColumnCount;
|
|
28507
28442
|
} else {
|
|
28508
28443
|
columnCount = Math.min(listCount, maxColumns, autoColumnCount);
|
|
@@ -28585,7 +28520,7 @@
|
|
|
28585
28520
|
const {
|
|
28586
28521
|
fontSize = '12px',
|
|
28587
28522
|
fontFamily = 'Source sans pro'
|
|
28588
|
-
} = (styles === null || styles ===
|
|
28523
|
+
} = (styles === null || styles === void 0 ? void 0 : styles.content) || {};
|
|
28589
28524
|
const font = "".concat(fontSize, " ").concat(fontFamily); // font format as supported by HTML canvas
|
|
28590
28525
|
const textWidth = useTextWidth({
|
|
28591
28526
|
text: getMeasureText(layout),
|
|
@@ -28620,7 +28555,7 @@
|
|
|
28620
28555
|
isGridMode,
|
|
28621
28556
|
dense
|
|
28622
28557
|
});
|
|
28623
|
-
const listHeight = height !== null && height !==
|
|
28558
|
+
const listHeight = height !== null && height !== void 0 ? height : 8 * itemHeight;
|
|
28624
28559
|
if (layoutOrder) {
|
|
28625
28560
|
// Modify container width to achieve the exact design with 8px margins on each side (left and right).
|
|
28626
28561
|
let containerWidth = width;
|
|
@@ -28799,7 +28734,7 @@
|
|
|
28799
28734
|
count,
|
|
28800
28735
|
calculatePagesHeight = false
|
|
28801
28736
|
} = _ref2;
|
|
28802
|
-
const listCount = pages !== null && pages !==
|
|
28737
|
+
const listCount = pages !== null && pages !== void 0 && pages.length && calculatePagesHeight ? getCalculatedHeight({
|
|
28803
28738
|
pages,
|
|
28804
28739
|
minimumBatchSize,
|
|
28805
28740
|
count
|
|
@@ -28915,7 +28850,7 @@
|
|
|
28915
28850
|
Object.defineProperty(Close$1, "__esModule", {
|
|
28916
28851
|
value: true
|
|
28917
28852
|
});
|
|
28918
|
-
Close$1.default =
|
|
28853
|
+
Close$1.default = void 0;
|
|
28919
28854
|
var _createSvgIcon = _interopRequireDefault(/*@__PURE__*/ requireCreateSvgIcon());
|
|
28920
28855
|
var _jsxRuntime = requireJsxRuntime();
|
|
28921
28856
|
Close$1.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
@@ -29002,7 +28937,7 @@
|
|
|
29002
28937
|
} = _ref;
|
|
29003
28938
|
let scrollIndex;
|
|
29004
28939
|
let triggerRerender = false;
|
|
29005
|
-
let newOffset = offset !== null && offset !==
|
|
28940
|
+
let newOffset = offset !== null && offset !== void 0 ? offset : 0;
|
|
29006
28941
|
switch (position) {
|
|
29007
28942
|
case 'start':
|
|
29008
28943
|
scrollIndex = 0;
|
|
@@ -29038,7 +28973,7 @@
|
|
|
29038
28973
|
const widthPermitsFreq = itemWidth > FREQUENCY_MIN_SHOW_WIDTH;
|
|
29039
28974
|
const {
|
|
29040
28975
|
frequencyEnabled = false
|
|
29041
|
-
} = (layout === null || layout ===
|
|
28976
|
+
} = (layout === null || layout === void 0 ? void 0 : layout.qListObject) || {};
|
|
29042
28977
|
const hasValidFreqOption = !['N', undefined].includes(frequencyMode);
|
|
29043
28978
|
return !!(widthPermitsFreq && (hasValidFreqOption || frequencyEnabled));
|
|
29044
28979
|
}
|
|
@@ -29052,7 +28987,7 @@
|
|
|
29052
28987
|
}
|
|
29053
28988
|
return "[".concat(field.replace(/\]/g, ']]'), "]");
|
|
29054
28989
|
};
|
|
29055
|
-
const needToFetchFrequencyMax = layout => (layout === null || layout ===
|
|
28990
|
+
const needToFetchFrequencyMax = layout => (layout === null || layout === void 0 ? void 0 : layout.frequencyMax) === 'fetch';
|
|
29056
28991
|
const getFrequencyMaxExpression = field => {
|
|
29057
28992
|
const escapedField = escapeField(field);
|
|
29058
28993
|
return "Max(AGGR(Count(".concat(escapedField, "), ").concat(escapedField, "))");
|
|
@@ -29081,7 +29016,7 @@
|
|
|
29081
29016
|
fetch();
|
|
29082
29017
|
}, [needFetch && layout]);
|
|
29083
29018
|
return {
|
|
29084
|
-
frequencyMax: needFetch ? frequencyMax : layout === null || layout ===
|
|
29019
|
+
frequencyMax: needFetch ? frequencyMax : layout === null || layout === void 0 ? void 0 : layout.frequencyMax,
|
|
29085
29020
|
awaitingFrequencyMax
|
|
29086
29021
|
};
|
|
29087
29022
|
};
|
|
@@ -29101,7 +29036,7 @@
|
|
|
29101
29036
|
} = _ref;
|
|
29102
29037
|
const {
|
|
29103
29038
|
qStateCounts: s = {}
|
|
29104
|
-
} = (layout === null || layout ===
|
|
29039
|
+
} = (layout === null || layout === void 0 || (_layout$qListObject = layout.qListObject) === null || _layout$qListObject === void 0 ? void 0 : _layout$qListObject.qDimensionInfo) || {};
|
|
29105
29040
|
const count = s.qSelected + s.qSelectedExcluded + s.qLocked + s.qLockedExcluded;
|
|
29106
29041
|
let t;
|
|
29107
29042
|
switch (count) {
|
|
@@ -29143,7 +29078,7 @@
|
|
|
29143
29078
|
translator: translatorDynamic
|
|
29144
29079
|
} = reactExports.useContext(InstanceContext);
|
|
29145
29080
|
const finalStringArr = [];
|
|
29146
|
-
if (searchInputText !== null && searchInputText !==
|
|
29081
|
+
if (searchInputText !== null && searchInputText !== void 0 && searchInputText.length) {
|
|
29147
29082
|
// Add search result text.
|
|
29148
29083
|
const srSearchTranslationString = getSearchTranslationString(listCount);
|
|
29149
29084
|
const srSearchString = translatorDynamic.get(srSearchTranslationString, [listCount]);
|
|
@@ -29158,7 +29093,7 @@
|
|
|
29158
29093
|
finalStringArr.push(srSelectionValueText);
|
|
29159
29094
|
|
|
29160
29095
|
// Merge texts into one text string, targeting the assertive screen reader.
|
|
29161
|
-
const finalString = finalStringArr.filter(v => !!(v !== null && v !==
|
|
29096
|
+
const finalString = finalStringArr.filter(v => !!(v !== null && v !== void 0 && v.length)).join('. ');
|
|
29162
29097
|
return finalString;
|
|
29163
29098
|
}
|
|
29164
29099
|
|
|
@@ -29170,7 +29105,7 @@
|
|
|
29170
29105
|
return qMatrix.some(_ref2 => {
|
|
29171
29106
|
var _item$qFrequency;
|
|
29172
29107
|
let [item] = _ref2;
|
|
29173
|
-
return !!((_item$qFrequency = item.qFrequency) !== null && _item$qFrequency !==
|
|
29108
|
+
return !!((_item$qFrequency = item.qFrequency) !== null && _item$qFrequency !== void 0 && _item$qFrequency.match('%'));
|
|
29174
29109
|
});
|
|
29175
29110
|
});
|
|
29176
29111
|
const OTHER = '-'; // treat all other as '-' (change later if we need to identify other modes)
|
|
@@ -29229,7 +29164,7 @@
|
|
|
29229
29164
|
const {
|
|
29230
29165
|
checkboxes = checkboxOption,
|
|
29231
29166
|
histogram
|
|
29232
|
-
} = layout !== null && layout !==
|
|
29167
|
+
} = layout !== null && layout !== void 0 ? layout : {};
|
|
29233
29168
|
const loaderRef = reactExports.useRef(null);
|
|
29234
29169
|
const local = reactExports.useRef({
|
|
29235
29170
|
queue: [],
|
|
@@ -29255,6 +29190,9 @@
|
|
|
29255
29190
|
postProcessPages,
|
|
29256
29191
|
listData
|
|
29257
29192
|
}),
|
|
29193
|
+
{
|
|
29194
|
+
isLoadingData
|
|
29195
|
+
} = _useItemsLoader,
|
|
29258
29196
|
itemsLoader = _objectWithoutProperties(_useItemsLoader, _excluded$4);
|
|
29259
29197
|
const {
|
|
29260
29198
|
getStoreValue,
|
|
@@ -29269,7 +29207,7 @@
|
|
|
29269
29207
|
show
|
|
29270
29208
|
}));
|
|
29271
29209
|
const [pages, setPages] = reactExports.useState([]);
|
|
29272
|
-
if (itemsLoader !== null && itemsLoader !==
|
|
29210
|
+
if (itemsLoader !== null && itemsLoader !== void 0 && itemsLoader.pages) {
|
|
29273
29211
|
selectionState.update({
|
|
29274
29212
|
setPages,
|
|
29275
29213
|
pages: itemsLoader.pages,
|
|
@@ -29277,13 +29215,13 @@
|
|
|
29277
29215
|
layout
|
|
29278
29216
|
});
|
|
29279
29217
|
}
|
|
29280
|
-
const cardinal = layout === null || layout ===
|
|
29281
|
-
if (itemsLoader !== null && itemsLoader !==
|
|
29218
|
+
const cardinal = layout === null || layout === void 0 ? void 0 : layout.qListObject.qDimensionInfo.qCardinal;
|
|
29219
|
+
if (itemsLoader !== null && itemsLoader !== void 0 && itemsLoader.pages.length && !awaitingFrequencyMax || cardinal === 0) {
|
|
29282
29220
|
// All necessary data fetching done - signal rendering done!
|
|
29283
|
-
renderedCallback === null || renderedCallback ===
|
|
29221
|
+
renderedCallback === null || renderedCallback === void 0 || renderedCallback();
|
|
29284
29222
|
}
|
|
29285
29223
|
const isItemLoaded = reactExports.useCallback(index => {
|
|
29286
|
-
if (!(pages !== null && pages !==
|
|
29224
|
+
if (!(pages !== null && pages !== void 0 && pages.length) || !local.current.validPages) {
|
|
29287
29225
|
return false;
|
|
29288
29226
|
}
|
|
29289
29227
|
local.current.checkIdx = index;
|
|
@@ -29306,9 +29244,9 @@
|
|
|
29306
29244
|
} = layout || {};
|
|
29307
29245
|
let isRow = true;
|
|
29308
29246
|
if (layoutOptions.dataLayout) {
|
|
29309
|
-
isRow = layoutOptions.dataLayout === 'singleColumn' ? true : (layoutOptions === null || layoutOptions ===
|
|
29247
|
+
isRow = layoutOptions.dataLayout === 'singleColumn' ? true : (layoutOptions === null || layoutOptions === void 0 ? void 0 : layoutOptions.layoutOrder) === 'row';
|
|
29310
29248
|
}
|
|
29311
|
-
const isGrid = (layoutOptions === null || layoutOptions ===
|
|
29249
|
+
const isGrid = (layoutOptions === null || layoutOptions === void 0 ? void 0 : layoutOptions.dataLayout) === 'grid';
|
|
29312
29250
|
const scrollToIndex = index => {
|
|
29313
29251
|
const gridIndex = _objectSpread2({}, isRow ? {
|
|
29314
29252
|
rowIndex: index
|
|
@@ -29350,15 +29288,12 @@
|
|
|
29350
29288
|
}, [layout, local.current.dataOffset]);
|
|
29351
29289
|
let minimumBatchSize = DEFAULT_MIN_BATCH_SIZE;
|
|
29352
29290
|
const isVertical = layoutOptions.dataLayout !== 'grid';
|
|
29353
|
-
const count = layout === null || layout ===
|
|
29291
|
+
const count = layout === null || layout === void 0 || (_layout$qListObject$q = layout.qListObject.qSize) === null || _layout$qListObject$q === void 0 ? void 0 : _layout$qListObject$q.qcy;
|
|
29354
29292
|
const unlimitedListCount = getListCount({
|
|
29355
29293
|
pages,
|
|
29356
29294
|
minimumBatchSize,
|
|
29357
29295
|
count,
|
|
29358
|
-
calculatePagesHeight
|
|
29359
|
-
layoutOptions,
|
|
29360
|
-
model
|
|
29361
|
-
});
|
|
29296
|
+
calculatePagesHeight});
|
|
29362
29297
|
let freqIsAllowed = getFrequencyAllowed({
|
|
29363
29298
|
itemWidth: width,
|
|
29364
29299
|
layout,
|
|
@@ -29427,7 +29362,7 @@
|
|
|
29427
29362
|
}, [keyScroll.state.up, keyScroll.state.down, keyScroll.state.scrollPosition]);
|
|
29428
29363
|
const {
|
|
29429
29364
|
textAlign
|
|
29430
|
-
} = (layout === null || layout ===
|
|
29365
|
+
} = (layout === null || layout === void 0 ? void 0 : layout.qListObject.qDimensionInfo) || {};
|
|
29431
29366
|
const [focusListItem, setFocusListItem] = reactExports.useState({
|
|
29432
29367
|
first: false,
|
|
29433
29368
|
last: false
|
|
@@ -29452,7 +29387,6 @@
|
|
|
29452
29387
|
} = getListBoxComponents({
|
|
29453
29388
|
direction,
|
|
29454
29389
|
layout,
|
|
29455
|
-
height,
|
|
29456
29390
|
width,
|
|
29457
29391
|
checkboxes,
|
|
29458
29392
|
deducedFrequencyMode,
|
|
@@ -29492,7 +29426,7 @@
|
|
|
29492
29426
|
columnWidth,
|
|
29493
29427
|
listHeight,
|
|
29494
29428
|
itemHeight
|
|
29495
|
-
} = sizes;
|
|
29429
|
+
} = sizes || {};
|
|
29496
29430
|
if (!isVertical) {
|
|
29497
29431
|
minimumBatchSize = getHorizontalMinBatchSize({
|
|
29498
29432
|
width,
|
|
@@ -29523,8 +29457,8 @@
|
|
|
29523
29457
|
dismiss: () => setOverflowDisclaimer(state => _objectSpread2(_objectSpread2({}, state), {}, {
|
|
29524
29458
|
dismissed: true
|
|
29525
29459
|
})),
|
|
29526
|
-
parentWidth: loaderRef === null || loaderRef ===
|
|
29527
|
-
dense: layoutOptions === null || layoutOptions ===
|
|
29460
|
+
parentWidth: loaderRef === null || loaderRef === void 0 || (_loaderRef$current = loaderRef.current) === null || _loaderRef$current === void 0 || (_loaderRef$current = _loaderRef$current._listRef) === null || _loaderRef$current === void 0 || (_loaderRef$current = _loaderRef$current.props) === null || _loaderRef$current === void 0 ? void 0 : _loaderRef$current.width,
|
|
29461
|
+
dense: layoutOptions === null || layoutOptions === void 0 ? void 0 : layoutOptions.dense
|
|
29528
29462
|
}));
|
|
29529
29463
|
}
|
|
29530
29464
|
|
|
@@ -29885,12 +29819,12 @@
|
|
|
29885
29819
|
|
|
29886
29820
|
const getActionButtonIndex = btn => {
|
|
29887
29821
|
const toolbar = btn.closest('#actions-toolbar');
|
|
29888
|
-
const nodeList = toolbar === null || toolbar ===
|
|
29822
|
+
const nodeList = toolbar === null || toolbar === void 0 ? void 0 : toolbar.querySelectorAll('.njs-cell-action');
|
|
29889
29823
|
return Array.from(nodeList).indexOf(btn);
|
|
29890
29824
|
};
|
|
29891
29825
|
const focusButton = index => {
|
|
29892
29826
|
const toolbar = document.querySelector('#actions-toolbar');
|
|
29893
|
-
const nodeList = toolbar === null || toolbar ===
|
|
29827
|
+
const nodeList = toolbar === null || toolbar === void 0 ? void 0 : toolbar.querySelectorAll('.njs-cell-action');
|
|
29894
29828
|
if (!nodeList.length) {
|
|
29895
29829
|
return;
|
|
29896
29830
|
}
|
|
@@ -29935,7 +29869,7 @@
|
|
|
29935
29869
|
evt.preventDefault(); // prevent scrolling in listbox
|
|
29936
29870
|
break;
|
|
29937
29871
|
case KEYS.TAB:
|
|
29938
|
-
if (keyboardNavigation && focusHandler !== null && focusHandler !==
|
|
29872
|
+
if (keyboardNavigation && focusHandler !== null && focusHandler !== void 0 && focusHandler.refocusContent) {
|
|
29939
29873
|
const isTabbingOut = evt.shiftKey && getEnabledButton(false) === evt.target || !evt.shiftKey && getEnabledButton(true) === evt.target;
|
|
29940
29874
|
if (isTabbingOut) {
|
|
29941
29875
|
evt.preventDefault();
|
|
@@ -30059,7 +29993,7 @@
|
|
|
30059
29993
|
const [showMoreItems, setShowMoreItems] = reactExports.useState(false);
|
|
30060
29994
|
const popoverAnchorOrigin = {
|
|
30061
29995
|
vertical: 12,
|
|
30062
|
-
horizontal: ((_popover$anchorEl$cli = (_popover$anchorEl = popover.anchorEl) === null || _popover$anchorEl ===
|
|
29996
|
+
horizontal: ((_popover$anchorEl$cli = (_popover$anchorEl = popover.anchorEl) === null || _popover$anchorEl === void 0 ? void 0 : _popover$anchorEl.clientWidth) !== null && _popover$anchorEl$cli !== void 0 ? _popover$anchorEl$cli : 0) - 7
|
|
30063
29997
|
};
|
|
30064
29998
|
const actionsRef = reactExports.useRef();
|
|
30065
29999
|
const moreRef = reactExports.useRef();
|
|
@@ -30087,11 +30021,11 @@
|
|
|
30087
30021
|
if (!focusHandler) return;
|
|
30088
30022
|
const focusFirst = () => {
|
|
30089
30023
|
const enabledButton = getEnabledButton(false);
|
|
30090
|
-
enabledButton === null || enabledButton ===
|
|
30024
|
+
enabledButton === null || enabledButton === void 0 || enabledButton.focus();
|
|
30091
30025
|
};
|
|
30092
30026
|
const focusLast = () => {
|
|
30093
30027
|
const enabledButton = getEnabledButton(true);
|
|
30094
|
-
enabledButton === null || enabledButton ===
|
|
30028
|
+
enabledButton === null || enabledButton === void 0 || enabledButton.focus();
|
|
30095
30029
|
};
|
|
30096
30030
|
focusHandler.on('focus_toolbar_first', focusFirst);
|
|
30097
30031
|
focusHandler.on('focus_toolbar_last', focusLast);
|
|
@@ -30136,7 +30070,7 @@
|
|
|
30136
30070
|
sx: {
|
|
30137
30071
|
flexDirection: isRtl ? 'row-reverse' : 'row'
|
|
30138
30072
|
}
|
|
30139
|
-
}, (extraItems === null || extraItems ===
|
|
30073
|
+
}, (extraItems === null || extraItems === void 0 ? void 0 : extraItems.length) && /*#__PURE__*/React.createElement(ActionsGroup, {
|
|
30140
30074
|
className: "actions-toolbar-extra-actions",
|
|
30141
30075
|
actions: extraItems,
|
|
30142
30076
|
isRtl: isRtl
|
|
@@ -30208,7 +30142,7 @@
|
|
|
30208
30142
|
const MAX_SEARCH_LENGTH = 64000;
|
|
30209
30143
|
const TREE_PATH = '/qListObjectDef';
|
|
30210
30144
|
const WILDCARD = '**';
|
|
30211
|
-
const limitSearchLength = val => val === null || val ===
|
|
30145
|
+
const limitSearchLength = val => val === null || val === void 0 ? void 0 : val.substring(0, MAX_SEARCH_LENGTH);
|
|
30212
30146
|
const StyledOutlinedInput = styled(OutlinedInput, {
|
|
30213
30147
|
shouldForwardProp: p => !['styles', 'dense', 'isRtl'].includes(p)
|
|
30214
30148
|
})(_ref => {
|
|
@@ -30426,7 +30360,7 @@
|
|
|
30426
30360
|
};
|
|
30427
30361
|
const focusOnInput = () => {
|
|
30428
30362
|
var _inputRef$current;
|
|
30429
|
-
(_inputRef$current = inputRef.current) === null || _inputRef$current ===
|
|
30363
|
+
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
|
|
30430
30364
|
};
|
|
30431
30365
|
const onClearSearch = () => {
|
|
30432
30366
|
abortSearch();
|
|
@@ -30541,7 +30475,7 @@
|
|
|
30541
30475
|
objectSelections
|
|
30542
30476
|
} = _ref2;
|
|
30543
30477
|
// Quick return if it's already in modal
|
|
30544
|
-
if (objectSelections === ((_modalObjectStore$get = modalObjectStore.get(key)) === null || _modalObjectStore$get ===
|
|
30478
|
+
if (objectSelections === ((_modalObjectStore$get = modalObjectStore.get(key)) === null || _modalObjectStore$get === void 0 ? void 0 : _modalObjectStore$get.objectSelections)) {
|
|
30545
30479
|
return;
|
|
30546
30480
|
}
|
|
30547
30481
|
|
|
@@ -30590,7 +30524,7 @@
|
|
|
30590
30524
|
isModal(objectSelections) {
|
|
30591
30525
|
var _modalObjectStore$get2;
|
|
30592
30526
|
// TODO check model state
|
|
30593
|
-
return objectSelections ? ((_modalObjectStore$get2 = modalObjectStore.get(key)) === null || _modalObjectStore$get2 ===
|
|
30527
|
+
return objectSelections ? ((_modalObjectStore$get2 = modalObjectStore.get(key)) === null || _modalObjectStore$get2 === void 0 ? void 0 : _modalObjectStore$get2.objectSelections) === objectSelections : !!modalObjectStore.get(key);
|
|
30594
30528
|
},
|
|
30595
30529
|
forward() {
|
|
30596
30530
|
return appModal.end().then(() => app.forward());
|
|
@@ -30663,7 +30597,7 @@
|
|
|
30663
30597
|
|
|
30664
30598
|
// Resolve elements and filter out containers which do not exist.
|
|
30665
30599
|
const containers = elements.map(item => {
|
|
30666
|
-
const elm = typeof item === 'string' ? document.querySelector(item) : item === null || item ===
|
|
30600
|
+
const elm = typeof item === 'string' ? document.querySelector(item) : item === null || item === void 0 ? void 0 : item.current;
|
|
30667
30601
|
return elm;
|
|
30668
30602
|
}).filter(elm => !!elm && !!document.contains(elm));
|
|
30669
30603
|
if (!containers.length) {
|
|
@@ -30861,12 +30795,12 @@
|
|
|
30861
30795
|
activateClickOut() {
|
|
30862
30796
|
var _options$onSelectionA;
|
|
30863
30797
|
document.addEventListener('mousedown', handler);
|
|
30864
|
-
options === null || options ===
|
|
30798
|
+
options === null || options === void 0 || (_options$onSelectionA = options.onSelectionActivated) === null || _options$onSelectionA === void 0 || _options$onSelectionA.call(options);
|
|
30865
30799
|
},
|
|
30866
30800
|
deactivateClickOut() {
|
|
30867
30801
|
var _options$onSelectionD;
|
|
30868
30802
|
document.removeEventListener('mousedown', handler);
|
|
30869
|
-
options === null || options ===
|
|
30803
|
+
options === null || options === void 0 || (_options$onSelectionD = options.onSelectionDeactivated) === null || _options$onSelectionD === void 0 || _options$onSelectionD.call(options);
|
|
30870
30804
|
}
|
|
30871
30805
|
};
|
|
30872
30806
|
};
|
|
@@ -30950,14 +30884,14 @@
|
|
|
30950
30884
|
this.clearItemStates(false);
|
|
30951
30885
|
}
|
|
30952
30886
|
if (state.enginePages !== pages && pages !== undefined) {
|
|
30953
|
-
state.enginePages = pages !== null && pages !==
|
|
30887
|
+
state.enginePages = pages !== null && pages !== void 0 ? pages : [];
|
|
30954
30888
|
state.selectedInEngine = getSelectedValues(pages);
|
|
30955
30889
|
state.selectableValuesUpdating = false;
|
|
30956
30890
|
state.triggerStateChanged();
|
|
30957
30891
|
}
|
|
30958
30892
|
state.isSingleSelect = isSingleSelect;
|
|
30959
30893
|
state.selectDisabled = selectDisabled || state.selectDisabled;
|
|
30960
|
-
state.isDimCalculated = (_layout$qListObject$q = layout === null || layout ===
|
|
30894
|
+
state.isDimCalculated = (_layout$qListObject$q = layout === null || layout === void 0 || (_layout$qListObject = layout.qListObject) === null || _layout$qListObject === void 0 || (_layout$qListObject = _layout$qListObject.qDimensionInfo) === null || _layout$qListObject === void 0 ? void 0 : _layout$qListObject.qIsCalculated) !== null && _layout$qListObject$q !== void 0 ? _layout$qListObject$q : false;
|
|
30961
30895
|
},
|
|
30962
30896
|
allowedToSelect() {
|
|
30963
30897
|
if (state.selectDisabled()) {
|
|
@@ -30996,7 +30930,7 @@
|
|
|
30996
30930
|
if (selected && !additive) {
|
|
30997
30931
|
state.itemStates[elementNumber] = false;
|
|
30998
30932
|
} else if (!selected) {
|
|
30999
|
-
selectedValues === null || selectedValues ===
|
|
30933
|
+
selectedValues === null || selectedValues === void 0 || selectedValues.push(elementNumber);
|
|
31000
30934
|
state.itemStates[elementNumber] = true;
|
|
31001
30935
|
}
|
|
31002
30936
|
},
|
|
@@ -31042,10 +30976,10 @@
|
|
|
31042
30976
|
const getValue$1 = function (obj, prop) {
|
|
31043
30977
|
var _obj$prop;
|
|
31044
30978
|
let defaultValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
31045
|
-
return (_obj$prop = obj === null || obj ===
|
|
30979
|
+
return (_obj$prop = obj === null || obj === void 0 ? void 0 : obj[prop]) !== null && _obj$prop !== void 0 ? _obj$prop : defaultValue;
|
|
31046
30980
|
};
|
|
31047
30981
|
function hasSelections(layout) {
|
|
31048
|
-
const counts = (layout === null || layout ===
|
|
30982
|
+
const counts = (layout === null || layout === void 0 ? void 0 : layout.qListObject.qDimensionInfo.qStateCounts) || {};
|
|
31049
30983
|
const totalCounts = getValue$1(counts, 'qSelected', 0) + getValue$1(counts, 'qSelectedExcluded', 0) + getValue$1(counts, 'qLocked', 0) + getValue$1(counts, 'qLockedExcluded', 0);
|
|
31050
30984
|
return totalCounts > 0;
|
|
31051
30985
|
}
|
|
@@ -31056,7 +30990,7 @@
|
|
|
31056
30990
|
* Released under the MIT license.
|
|
31057
30991
|
*/
|
|
31058
30992
|
|
|
31059
|
-
function e(e){return "number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b&&"number"==typeof e.a}function t(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(1===n.length&&e(n[0]))return (n[0].r<<16)+(n[0].g<<8)+n[0].b;var i=0,o=0,a=0;if(1===n.length&&"string"==typeof n[0]){var l,s=n[0];(l=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(s))?(i=parseInt(l[1],10),o=parseInt(l[2],10),a=parseInt(l[3],10)):(l=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(s))?(i=parseInt(l[1],16),o=parseInt(l[2],16),a=parseInt(l[3],16)):(l=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(s))&&(i=parseInt(l[1]+l[1],16),o=parseInt(l[2]+l[2],16),a=parseInt(l[3]+l[3],16));}return (i<<16)+(o<<8)+a}function o(e,t,n){return (t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(undefined!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return ("string"===t?String:Number)(e)}(e,"string");return "symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r);}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),true).forEach((function(t){o(e,t,n[t]);})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));}));}return e}var h={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},m="qcm-color";function v(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i,o,a,s,c,u,f,d,p,v={type:m,r:0,g:0,b:0,a:1,l:undefined,invalid:false,spaces:{}},g=0,y=0,b=0,x=1;if((null===(e=n[0])||undefined===e?undefined:e.type)===m){var q=n[0];g=q.r,y=q.g,b=q.b,x=q.a,v.invalid=n[0].invalid,v.spaces=l({},n[0].spaces);}else if(n.length<3)if("string"==typeof n[0]){var w,k=n[0];if(w=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(k))g=parseInt(w[1],10),y=parseInt(w[2],10),b=parseInt(w[3],10);else if(w=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(k))g=parseInt(w[1],10),y=parseInt(w[2],10),b=parseInt(w[3],10),x=parseFloat(w[4]);else if(w=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(k))x=parseInt(w[1],10)/255,g=parseInt(w[2],10),y=parseInt(w[3],10),b=parseInt(w[4],10);else if(w=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(k))g=parseInt(w[1],16),y=parseInt(w[2],16),b=parseInt(w[3],16),x=1;else if(w=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(k))g=parseInt(w[1]+w[1],16),y=parseInt(w[2]+w[2],16),b=parseInt(w[3]+w[3],16),x=1;else if(w=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(k)){i=parseFloat(w[1]),o=parseFloat(w[3]),s=parseFloat(w[5]),o=(o/=100)<0?0:o>1?1:o,f=(i=(i%=360)<0?0:i>360?360:i)/60,d=(u=(s=(s/=100)<0?0:s>1?1:s)<=.5?2*s*o:(2-2*s)*o)*(1-Math.abs(f%2-1));var C=[];switch(f=Math.floor(f)){case 0:C=[u,d,0];break;case 1:C=[d,u,0];break;case 2:C=[0,u,d];break;case 3:C=[0,d,u];break;case 4:C=[d,0,u];break;case 5:C=[u,0,d];break;default:C=[0,0,0];}p=s-.5*u,g=C[0]+p,y=C[1]+p,b=C[2]+p,g=Math.round(255*g),y=Math.round(255*y),b=Math.round(255*b),x=1;}else if(w=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(k)){i=parseFloat(w[1]),o=parseFloat(w[3]),s=parseFloat(w[5]),x=parseFloat(w[7]),o=(o/=100)<0?0:o>1?1:o,f=(i=(i%=360)<0?0:i>360?360:i)/60,d=(u=(s=(s/=100)<0?0:s>1?1:s)<=.5?2*s*o:(2-2*s)*o)*(1-Math.abs(f%2-1));var M=[];switch(f=Math.floor(f)){case 0:M=[u,d,0];break;case 1:M=[d,u,0];break;case 2:M=[0,u,d];break;case 3:M=[0,d,u];break;case 4:M=[d,0,u];break;case 5:M=[u,0,d];break;default:M=[0,0,0];}p=s-.5*u,g=M[0]+p,y=M[1]+p,b=M[2]+p,g=Math.round(255*g),y=Math.round(255*y),b=Math.round(255*b);}else if(w=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(k)){i=parseFloat(w[1]),o=parseFloat(w[3]),c=parseFloat(w[5]),f=(i=(i%=360)<0?0:i>360?360:i)/60,d=(u=(c=(c/=100)<0?0:c>1?1:c)*(o=(o/=100)<0?0:o>1?1:o))*(1-Math.abs(f%2-1));var S=[];switch(f=Math.floor(f)){case 0:S=[u,d,0];break;case 1:S=[d,u,0];break;case 2:S=[0,u,d];break;case 3:S=[0,d,u];break;case 4:S=[d,0,u];break;case 5:S=[u,0,d];break;default:S=[0,0,0];}p=c-u,g=S[0]+p,y=S[1]+p,b=S[2]+p,g=Math.round(255*g),y=Math.round(255*y),b=Math.round(255*b),x=1;}else if(h[k.toLowerCase()]){a=k.toLowerCase();var D=h[a];g=D.r,y=D.g,b=D.b,x="number"==typeof h[a].a?h[a].a:1;}else v.invalid=true;}else "number"==typeof n[0]&&n[0]>=0&&"argb"===n[1]?(x=(4278190080&n[0])>>>24,x/=255,g=(16711680&n[0])>>16,y=(65280&n[0])>>8,b=255&n[0]):"number"==typeof n[0]&&n[0]>=0?(g=(16711680&n[0])>>16,y=(65280&n[0])>>8,b=255&n[0]):v.invalid=true;else n.length>=3&&n.length<=4?(g=n[0],y=n[1],b=n[2],x=arguments.length>=4?n[3]:1):v.invalid=true;return Number.isNaN(+g+y+b+x)&&(v.invalid=true),v.r=Math.floor(g),v.g=Math.floor(y),v.b=Math.floor(b),v.a=x,v.l=s,v}function g(n){var r,i,o;if(e(n))return r=n.r.toString(16),i=n.g.toString(16),o=n.b.toString(16),1===r.length&&(r="0".concat(r)),1===i.length&&(i="0".concat(i)),1===o.length&&(o="0".concat(o)),"#".concat([r,i,o].join(""));var a="string"==typeof n?t(n):n;return r=((16711680&a)>>16).toString(16),i=((65280&a)>>8).toString(16),o=(255&a).toString(16),1===r.length&&(r="0".concat(r)),1===i.length&&(i="0".concat(i)),1===o.length&&(o="0".concat(o)),"#".concat(r).concat(i).concat(o)}function y(e){var t,n,r=0,i="string"==typeof e?v(e):e,o=i.r/255,a=i.g/255,l=i.b/255,s=Math.max(o,a,l),c=Math.min(o,a,l),u=(s+c)/2;if(s===c)t=0,r=0;else {switch(n=s-c,t=u>.5?n/(2-s-c):n/(s+c),s){case o:r=(a-l)/n+(a<l?6:0);break;case a:r=(l-o)/n+2;break;case l:r=(o-a)/n+4;}r/=6;}return "hsl(".concat(360*r,", ").concat(100*t,", ").concat(100*u,")")}function b(e){var t,n,r=0,i="string"==typeof e?v(e):e,o=i.r/255,a=i.g/255,l=i.b/255,s=i.a,c=Math.max(o,a,l),u=Math.min(o,a,l),f=(c+u)/2;if(c===u)t=0,r=0;else {switch(n=c-u,t=f>.5?n/(2-c-u):n/(c+u),c){case o:r=(a-l)/n+(a<l?6:0);break;case a:r=(l-o)/n+2;break;case l:r=(o-a)/n+4;}r/=6;}return "hsla(".concat(360*r,", ").concat(100*t,", ").concat(100*f,", ").concat(s,")")}function x(e){var t,n,r=0,i="string"==typeof e?v(e):e,o=i.r/255,a=i.g/255,l=i.b/255,s=Math.max(o,a,l),c=Math.min(o,a,l),u=s;if(s===c)t=0,r=0;else {switch(t=0===(n=s-c)?0:n/u,s){case o:r=(a-l)/n+(a<l?6:0);break;case a:r=(l-o)/n+2;break;case l:r=(o-a)/n+4;}r/=6;}return {h:360*r%360,s:100*t,v:100*u}}function q(e){var t=x(e),n=t.h,r=t.s,i=t.v;return "hsv(".concat(n,", ").concat(r,", ").concat(i,")")}function w(n){if(e(n))return "rgb(".concat([n.r,n.g,n.b].join(", "),")");var r="string"==typeof n?t(n):n,i=(65280&r)>>8,o=255&r;return "rgb(".concat((16711680&r)>>16,", ").concat(i,", ").concat(o,")")}function k(t,n){return e(t)?"rgba(".concat([t.r,t.g,t.b,t.a].join(", "),")"):k(v(t))}function C(t){return e(t)?1===t.a?w(t):k(t):C(v(t))}var M=function(e){var t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)};function S(e){return .2126*M(e.r)+.7152*M(e.g)+.0722*M(e.b)}function D(){var e=v.apply(undefined,arguments);return e.invalid||S(e)<.4}function O(){var e=v.apply(undefined,arguments),t={type:e.type,r:e.r,g:e.g,b:e.b,a:e.a,invalid:e.invalid,spaces:e.spaces},n=function(){return t.spaces.hsla||(t.spaces.hsla=b(t)),t.spaces.hsla},r=function(e){var t=n(),r=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(t),i=parseFloat(r[1]),o=parseFloat(r[3]),a=parseFloat(r[7]),l=parseFloat(r[5]),s=Math.max(0,Math.min(l+e,100));return "hsla(".concat(i,", ").concat(o,", ").concat(s,", ").concat(a,")")};return {get type(){return t.type},isInvalid:function(){return t.invalid},get r(){return t.r},get g(){return t.g},get b(){return t.b},get a(){return t.a},getR:function(){return t.r},getG:function(){return t.g},getB:function(){return t.b},getAlpha:function(){return t.a},setAlpha:function(e){t.a=e,t.spaces={};},isEqualTo:function(e){var n=e.type===t.type?e:v(e);return n.r===t.r&&n.g===t.g&&n.b===t.b&&n.a===t.a},isDark:function(){return D(t)},getRGB:function(){return t.spaces.rgb||(t.spaces.rgb=w(t)),t.spaces.rgb},getRGBA:function(){return t.spaces.rgba||(t.spaces.rgba=k(t)),t.spaces.rgba},getString:function(){return t.spaces.string||(t.spaces.string=C(t)),t.spaces.string},getHex:function(){return t.spaces.hex||(t.spaces.hex=g(t)),t.spaces.hex},getHSL:function(){return t.spaces.hsl||(t.spaces.hsl=y(t)),t.spaces.hsl},getHSLA:n,getShiftedHSLA:r,getHSV:function(){return t.spaces.hsv||(t.spaces.hsv=q(t)),t.spaces.hsv},getHSVObject:function(){return t.spaces.hsvObject||(t.spaces.hsvObject=x(t)),t.spaces.hsvObject},blend:function(e,n){var r=Math.floor(t.r+(e.r-t.r)*n),i=Math.floor(t.g+(e.g-t.g)*n),o=Math.floor(t.b+(e.b-t.b)*n),a=Math.floor(t.a+(e.getAlpha()-t.a)*n);return "rgba(".concat([r,i,o,a].join(", "),")")},getBrightenedColor:function(){var e=arguments.length>0&&undefined!==arguments[0]?arguments[0]:1;return O(r(18*e))},getDarkenedColor:function(){var e=arguments.length>0&&undefined!==arguments[0]?arguments[0]:1;return O(r(18*-e))}}}function I(e,t){if(e&&t){var n=S(e),r=S(t);return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}}function A(e,t){var n=O("#FFFFFF"),r=O(e),i=O(t);if(r.isInvalid()||i.isInvalid()||r.getAlpha()<1||i.getAlpha()<1)return t;var o=I(n,r),a=I(i,r),l=o>a||o>4.5;return !l&&a>3?t:l?"#FFFFFF":"#000000"}var K,$;function ie(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oe=function(){if($)return K;$=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(e){return "function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},o=function(n){if(!n||"[object Object]"!==t.call(n))return false;var r,i=e.call(n,"constructor"),o=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!i&&!o)return false;for(r in n);return undefined===r||e.call(n,r)},a=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:true,configurable:true,value:t.newValue,writable:true}):e[t.name]=t.newValue;},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return K=function e(){var t,n,r,s,c,u,f=arguments[0],d=1,p=arguments.length,h=false;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<p;++d)if(null!=(t=arguments[d]))for(n in t)r=l(f,n),f!==(s=l(t,n))&&(h&&s&&(o(s)||(c=i(s)))?(c?(c=false,u=r&&i(r)?r:[]):u=r&&o(r)?r:{},a(f,{name:n,newValue:e(h,u,s)})):undefined!==s&&a(f,{name:n,newValue:s}));return f},K}();ie(oe);function de(e,t,n){e.prototype=t.prototype=n,n.constructor=e;}function pe(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function he(){}var me=1/.7,ve="\\s*([+-]?\\d+)\\s*",ge="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ye="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",be=/^#([0-9a-f]{3,8})$/,xe=new RegExp(`^rgb\\(${ve},${ve},${ve}\\)$`),qe=new RegExp(`^rgb\\(${ye},${ye},${ye}\\)$`),we=new RegExp(`^rgba\\(${ve},${ve},${ve},${ge}\\)$`),ke=new RegExp(`^rgba\\(${ye},${ye},${ye},${ge}\\)$`),Ce=new RegExp(`^hsl\\(${ge},${ye},${ye}\\)$`),Me=new RegExp(`^hsla\\(${ge},${ye},${ye},${ge}\\)$`),Se={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function De(){return this.rgb().formatHex()}function Oe(){return this.rgb().formatRgb()}function Ie(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=be.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Ee(t):3===n?new Ne(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Ae(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Ae(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=xe.exec(e))?new Ne(t[1],t[2],t[3],1):(t=qe.exec(e))?new Ne(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=we.exec(e))?Ae(t[1],t[2],t[3],t[4]):(t=ke.exec(e))?Ae(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ce.exec(e))?Re(t[1],t[2]/100,t[3]/100,1):(t=Me.exec(e))?Re(t[1],t[2]/100,t[3]/100,t[4]):Se.hasOwnProperty(e)?Ee(Se[e]):"transparent"===e?new Ne(NaN,NaN,NaN,0):null}function Ee(e){return new Ne(e>>16&255,e>>8&255,255&e,1)}function Ae(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ne(e,t,n,r)}function Te(e){return e instanceof he||(e=Ie(e)),e?new Ne((e=e.rgb()).r,e.g,e.b,e.opacity):new Ne}function Le(e,t,n,r){return 1===arguments.length?Te(e):new Ne(e,t,n,null==r?1:r)}function Ne(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r;}function Pe(){return `#${ze(this.r)}${ze(this.g)}${ze(this.b)}`}function je(){const e=Fe(this.opacity);return `${1===e?"rgb(":"rgba("}${He(this.r)}, ${He(this.g)}, ${He(this.b)}${1===e?")":`, ${e})`}`}function Fe(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function He(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ze(e){return ((e=He(e))<16?"0":"")+e.toString(16)}function Re(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new _e(e,t,n,r)}function Ve(e){if(e instanceof _e)return new _e(e.h,e.s,e.l,e.opacity);if(e instanceof he||(e=Ie(e)),!e)return new _e;if(e instanceof _e)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(a=t===o?(n-r)/l+6*(n<r):n===o?(r-t)/l+2:(t-n)/l+4,l/=s<.5?o+i:2-o-i,a*=60):l=s>0&&s<1?0:a,new _e(a,l,s,e.opacity)}function _e(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r;}function Be(e){return (e=(e||0)%360)<0?e+360:e}function Ke(e){return Math.max(0,Math.min(1,e||0))}function $e(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}de(he,Ie,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:De,formatHex:De,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ve(this).formatHsl()},formatRgb:Oe,toString:Oe}),de(Ne,Le,pe(he,{brighter(e){return e=null==e?me:Math.pow(me,e),new Ne(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Ne(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ne(He(this.r),He(this.g),He(this.b),Fe(this.opacity))},displayable(){return -0.5<=this.r&&this.r<255.5&&-0.5<=this.g&&this.g<255.5&&-0.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Pe,formatHex:Pe,formatHex8:function(){return `#${ze(this.r)}${ze(this.g)}${ze(this.b)}${ze(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:je,toString:je})),de(_e,(function(e,t,n,r){return 1===arguments.length?Ve(e):new _e(e,t,n,null==r?1:r)}),pe(he,{brighter(e){return e=null==e?me:Math.pow(me,e),new _e(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new _e(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Ne($e(e>=240?e-240:e+120,i,r),$e(e,i,r),$e(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new _e(Be(this.h),Ke(this.s),Ke(this.l),Fe(this.opacity))},displayable(){return (0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Fe(this.opacity);return `${1===e?"hsl(":"hsla("}${Be(this.h)}, ${100*Ke(this.s)}%, ${100*Ke(this.l)}%${1===e?")":`, ${e})`}`}}));const Ye=Math.PI/180,Ue=180/Math.PI,Ge=4/29,We=6/29,Xe=3*We*We;function Ze(e){if(e instanceof Je)return new Je(e.l,e.a,e.b,e.opacity);if(e instanceof ot)return at(e);e instanceof Ne||(e=Te(e));var t,n,r=nt(e.r),i=nt(e.g),o=nt(e.b),a=Qe((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?t=n=a:(t=Qe((.4360747*r+.3850649*i+.1430804*o)/.96422),n=Qe((.0139322*r+.0971045*i+.7141733*o)/.82521)),new Je(116*a-16,500*(t-a),200*(a-n),e.opacity)}function Je(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r;}function Qe(e){return e>.008856451679035631?Math.pow(e,1/3):e/Xe+Ge}function et(e){return e>We?e*e*e:Xe*(e-Ge)}function tt(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function nt(e){return (e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function rt(e){if(e instanceof ot)return new ot(e.h,e.c,e.l,e.opacity);if(e instanceof Je||(e=Ze(e)),0===e.a&&0===e.b)return new ot(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Ue;return new ot(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function it(e,t,n,r){return 1===arguments.length?rt(e):new ot(e,t,n,null==r?1:r)}function ot(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r;}function at(e){if(isNaN(e.h))return new Je(e.l,0,0,e.opacity);var t=e.h*Ye;return new Je(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}de(Je,(function(e,t,n,r){return 1===arguments.length?Ze(e):new Je(e,t,n,null==r?1:r)}),pe(he,{brighter(e){return new Je(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Je(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Ne(tt(3.1338561*(t=.96422*et(t))-1.6168667*(e=1*et(e))-.4906146*(n=.82521*et(n))),tt(-0.9787684*t+1.9161415*e+.033454*n),tt(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),de(ot,it,pe(he,{brighter(e){return new ot(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new ot(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return at(this).rgb()}}));var lt=e=>()=>e;function st(e){return 1==(e=+e)?ct:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):lt(isNaN(t)?n:t)}}function ct(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):lt(isNaN(e)?t:e)}(function e(t){var n=st(t);function r(e,t){var r=n((e=Le(e)).r,(t=Le(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=ct(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r})(1);var Ut="center",Gt="bottom";[{key:"NoDataExist",alignment:Ut,condition:function(e){var t=e.layoutService;if(!t)return false;var n=t.meta.size;return n.x*n.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:Ut,condition:function(e){var t=e.layoutService;return !!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return "NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:Ut,condition:function(e){var t=e.layoutService;if(!t)return false;if(!t.meta.isContinuous)return false;var n=t.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:Ut},{key:"DataRangeIncludingZero",alignment:Gt},{key:"LimitedData",alignment:Gt},{key:"NegativeOrZeroValues",alignment:Gt}].reduce((function(e,t){return e[t.key]=t,e}),{});function Vn(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t;}function _n(e,t){e instanceof Map?(e=[undefined,e],undefined===t&&(t=Kn)):undefined===t&&(t=Bn);for(var n,r,i,o,a,l=new Un(e),s=[l];n=s.pop();)if((i=t(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)s.push(r=i[o]=new Un(i[o])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(Yn)}function Bn(e){return e.children}function Kn(e){return Array.isArray(e)?e[1]:null}function $n(e){ undefined!==e.data.value&&(e.value=e.data.value),e.data=e.data.data;}function Yn(e){var t=0;do{e.height=t;}while((e=e.parent)&&e.height<++t)}function Un(e){this.data=e,this.depth=this.height=0,this.parent=null;}Un.prototype=_n.prototype={constructor:Un,count:function(){return this.eachAfter(Vn)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,i,o=this,a=[o],l=[],s=-1;o=a.pop();)if(l.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=l.pop();)e.call(t,o,++s,this);return this},eachBefore:function(e,t){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(e.call(t,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n;}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e);}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t);})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n});})),t},copy:function(){return _n(this).eachBefore($n)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,o=[i];do{for(e=o.reverse(),o=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)o.push(t[n]);}while(o.length)}};var qr,wr;(qr=function(e){
|
|
30993
|
+
function e(e){return "number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b&&"number"==typeof e.a}function t(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(1===n.length&&e(n[0]))return (n[0].r<<16)+(n[0].g<<8)+n[0].b;var i=0,o=0,a=0;if(1===n.length&&"string"==typeof n[0]){var l,s=n[0];(l=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(s))?(i=parseInt(l[1],10),o=parseInt(l[2],10),a=parseInt(l[3],10)):(l=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(s))?(i=parseInt(l[1],16),o=parseInt(l[2],16),a=parseInt(l[3],16)):(l=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(s))&&(i=parseInt(l[1]+l[1],16),o=parseInt(l[2]+l[2],16),a=parseInt(l[3]+l[3],16));}return (i<<16)+(o<<8)+a}function o(e,t,n){return (t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return ("string"===t?String:Number)(e)}(e,"string");return "symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r);}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),true).forEach((function(t){o(e,t,n[t]);})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));}));}return e}var h={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},m="qcm-color";function v(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i,o,a,s,c,u,f,d,p,v={type:m,r:0,g:0,b:0,a:1,l:void 0,invalid:false,spaces:{}},g=0,y=0,b=0,x=1;if((null===(e=n[0])||void 0===e?void 0:e.type)===m){var q=n[0];g=q.r,y=q.g,b=q.b,x=q.a,v.invalid=n[0].invalid,v.spaces=l({},n[0].spaces);}else if(n.length<3)if("string"==typeof n[0]){var w,k=n[0];if(w=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(k))g=parseInt(w[1],10),y=parseInt(w[2],10),b=parseInt(w[3],10);else if(w=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(k))g=parseInt(w[1],10),y=parseInt(w[2],10),b=parseInt(w[3],10),x=parseFloat(w[4]);else if(w=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(k))x=parseInt(w[1],10)/255,g=parseInt(w[2],10),y=parseInt(w[3],10),b=parseInt(w[4],10);else if(w=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(k))g=parseInt(w[1],16),y=parseInt(w[2],16),b=parseInt(w[3],16),x=1;else if(w=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(k))g=parseInt(w[1]+w[1],16),y=parseInt(w[2]+w[2],16),b=parseInt(w[3]+w[3],16),x=1;else if(w=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(k)){i=parseFloat(w[1]),o=parseFloat(w[3]),s=parseFloat(w[5]),o=(o/=100)<0?0:o>1?1:o,f=(i=(i%=360)<0?0:i>360?360:i)/60,d=(u=(s=(s/=100)<0?0:s>1?1:s)<=.5?2*s*o:(2-2*s)*o)*(1-Math.abs(f%2-1));var C=[];switch(f=Math.floor(f)){case 0:C=[u,d,0];break;case 1:C=[d,u,0];break;case 2:C=[0,u,d];break;case 3:C=[0,d,u];break;case 4:C=[d,0,u];break;case 5:C=[u,0,d];break;default:C=[0,0,0];}p=s-.5*u,g=C[0]+p,y=C[1]+p,b=C[2]+p,g=Math.round(255*g),y=Math.round(255*y),b=Math.round(255*b),x=1;}else if(w=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(k)){i=parseFloat(w[1]),o=parseFloat(w[3]),s=parseFloat(w[5]),x=parseFloat(w[7]),o=(o/=100)<0?0:o>1?1:o,f=(i=(i%=360)<0?0:i>360?360:i)/60,d=(u=(s=(s/=100)<0?0:s>1?1:s)<=.5?2*s*o:(2-2*s)*o)*(1-Math.abs(f%2-1));var M=[];switch(f=Math.floor(f)){case 0:M=[u,d,0];break;case 1:M=[d,u,0];break;case 2:M=[0,u,d];break;case 3:M=[0,d,u];break;case 4:M=[d,0,u];break;case 5:M=[u,0,d];break;default:M=[0,0,0];}p=s-.5*u,g=M[0]+p,y=M[1]+p,b=M[2]+p,g=Math.round(255*g),y=Math.round(255*y),b=Math.round(255*b);}else if(w=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(k)){i=parseFloat(w[1]),o=parseFloat(w[3]),c=parseFloat(w[5]),f=(i=(i%=360)<0?0:i>360?360:i)/60,d=(u=(c=(c/=100)<0?0:c>1?1:c)*(o=(o/=100)<0?0:o>1?1:o))*(1-Math.abs(f%2-1));var S=[];switch(f=Math.floor(f)){case 0:S=[u,d,0];break;case 1:S=[d,u,0];break;case 2:S=[0,u,d];break;case 3:S=[0,d,u];break;case 4:S=[d,0,u];break;case 5:S=[u,0,d];break;default:S=[0,0,0];}p=c-u,g=S[0]+p,y=S[1]+p,b=S[2]+p,g=Math.round(255*g),y=Math.round(255*y),b=Math.round(255*b),x=1;}else if(h[k.toLowerCase()]){a=k.toLowerCase();var D=h[a];g=D.r,y=D.g,b=D.b,x="number"==typeof h[a].a?h[a].a:1;}else v.invalid=true;}else "number"==typeof n[0]&&n[0]>=0&&"argb"===n[1]?(x=(4278190080&n[0])>>>24,x/=255,g=(16711680&n[0])>>16,y=(65280&n[0])>>8,b=255&n[0]):"number"==typeof n[0]&&n[0]>=0?(g=(16711680&n[0])>>16,y=(65280&n[0])>>8,b=255&n[0]):v.invalid=true;else n.length>=3&&n.length<=4?(g=n[0],y=n[1],b=n[2],x=arguments.length>=4?n[3]:1):v.invalid=true;return Number.isNaN(+g+y+b+x)&&(v.invalid=true),v.r=Math.floor(g),v.g=Math.floor(y),v.b=Math.floor(b),v.a=x,v.l=s,v}function g(n){var r,i,o;if(e(n))return r=n.r.toString(16),i=n.g.toString(16),o=n.b.toString(16),1===r.length&&(r="0".concat(r)),1===i.length&&(i="0".concat(i)),1===o.length&&(o="0".concat(o)),"#".concat([r,i,o].join(""));var a="string"==typeof n?t(n):n;return r=((16711680&a)>>16).toString(16),i=((65280&a)>>8).toString(16),o=(255&a).toString(16),1===r.length&&(r="0".concat(r)),1===i.length&&(i="0".concat(i)),1===o.length&&(o="0".concat(o)),"#".concat(r).concat(i).concat(o)}function y(e){var t,n,r=0,i="string"==typeof e?v(e):e,o=i.r/255,a=i.g/255,l=i.b/255,s=Math.max(o,a,l),c=Math.min(o,a,l),u=(s+c)/2;if(s===c)t=0,r=0;else {switch(n=s-c,t=u>.5?n/(2-s-c):n/(s+c),s){case o:r=(a-l)/n+(a<l?6:0);break;case a:r=(l-o)/n+2;break;case l:r=(o-a)/n+4;}r/=6;}return "hsl(".concat(360*r,", ").concat(100*t,", ").concat(100*u,")")}function b(e){var t,n,r=0,i="string"==typeof e?v(e):e,o=i.r/255,a=i.g/255,l=i.b/255,s=i.a,c=Math.max(o,a,l),u=Math.min(o,a,l),f=(c+u)/2;if(c===u)t=0,r=0;else {switch(n=c-u,t=f>.5?n/(2-c-u):n/(c+u),c){case o:r=(a-l)/n+(a<l?6:0);break;case a:r=(l-o)/n+2;break;case l:r=(o-a)/n+4;}r/=6;}return "hsla(".concat(360*r,", ").concat(100*t,", ").concat(100*f,", ").concat(s,")")}function x(e){var t,n,r=0,i="string"==typeof e?v(e):e,o=i.r/255,a=i.g/255,l=i.b/255,s=Math.max(o,a,l),c=Math.min(o,a,l),u=s;if(s===c)t=0,r=0;else {switch(t=0===(n=s-c)?0:n/u,s){case o:r=(a-l)/n+(a<l?6:0);break;case a:r=(l-o)/n+2;break;case l:r=(o-a)/n+4;}r/=6;}return {h:360*r%360,s:100*t,v:100*u}}function q(e){var t=x(e),n=t.h,r=t.s,i=t.v;return "hsv(".concat(n,", ").concat(r,", ").concat(i,")")}function w(n){if(e(n))return "rgb(".concat([n.r,n.g,n.b].join(", "),")");var r="string"==typeof n?t(n):n,i=(65280&r)>>8,o=255&r;return "rgb(".concat((16711680&r)>>16,", ").concat(i,", ").concat(o,")")}function k(t,n){return e(t)?"rgba(".concat([t.r,t.g,t.b,t.a].join(", "),")"):k(v(t))}function C(t){return e(t)?1===t.a?w(t):k(t):C(v(t))}var M=function(e){var t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)};function S(e){return .2126*M(e.r)+.7152*M(e.g)+.0722*M(e.b)}function D(){var e=v.apply(void 0,arguments);return e.invalid||S(e)<.4}function O(){var e=v.apply(void 0,arguments),t={type:e.type,r:e.r,g:e.g,b:e.b,a:e.a,invalid:e.invalid,spaces:e.spaces},n=function(){return t.spaces.hsla||(t.spaces.hsla=b(t)),t.spaces.hsla},r=function(e){var t=n(),r=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(t),i=parseFloat(r[1]),o=parseFloat(r[3]),a=parseFloat(r[7]),l=parseFloat(r[5]),s=Math.max(0,Math.min(l+e,100));return "hsla(".concat(i,", ").concat(o,", ").concat(s,", ").concat(a,")")};return {get type(){return t.type},isInvalid:function(){return t.invalid},get r(){return t.r},get g(){return t.g},get b(){return t.b},get a(){return t.a},getR:function(){return t.r},getG:function(){return t.g},getB:function(){return t.b},getAlpha:function(){return t.a},setAlpha:function(e){t.a=e,t.spaces={};},isEqualTo:function(e){var n=e.type===t.type?e:v(e);return n.r===t.r&&n.g===t.g&&n.b===t.b&&n.a===t.a},isDark:function(){return D(t)},getRGB:function(){return t.spaces.rgb||(t.spaces.rgb=w(t)),t.spaces.rgb},getRGBA:function(){return t.spaces.rgba||(t.spaces.rgba=k(t)),t.spaces.rgba},getString:function(){return t.spaces.string||(t.spaces.string=C(t)),t.spaces.string},getHex:function(){return t.spaces.hex||(t.spaces.hex=g(t)),t.spaces.hex},getHSL:function(){return t.spaces.hsl||(t.spaces.hsl=y(t)),t.spaces.hsl},getHSLA:n,getShiftedHSLA:r,getHSV:function(){return t.spaces.hsv||(t.spaces.hsv=q(t)),t.spaces.hsv},getHSVObject:function(){return t.spaces.hsvObject||(t.spaces.hsvObject=x(t)),t.spaces.hsvObject},blend:function(e,n){var r=Math.floor(t.r+(e.r-t.r)*n),i=Math.floor(t.g+(e.g-t.g)*n),o=Math.floor(t.b+(e.b-t.b)*n),a=Math.floor(t.a+(e.getAlpha()-t.a)*n);return "rgba(".concat([r,i,o,a].join(", "),")")},getBrightenedColor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return O(r(18*e))},getDarkenedColor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return O(r(18*-e))}}}function I(e,t){if(e&&t){var n=S(e),r=S(t);return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}}function A(e,t){var n=O("#FFFFFF"),r=O(e),i=O(t);if(r.isInvalid()||i.isInvalid()||r.getAlpha()<1||i.getAlpha()<1)return t;var o=I(n,r),a=I(i,r),l=o>a||o>4.5;return !l&&a>3?t:l?"#FFFFFF":"#000000"}var K,$;function ie(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oe=function(){if($)return K;$=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(e){return "function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},o=function(n){if(!n||"[object Object]"!==t.call(n))return false;var r,i=e.call(n,"constructor"),o=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!i&&!o)return false;for(r in n);return void 0===r||e.call(n,r)},a=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:true,configurable:true,value:t.newValue,writable:true}):e[t.name]=t.newValue;},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return K=function e(){var t,n,r,s,c,u,f=arguments[0],d=1,p=arguments.length,h=false;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<p;++d)if(null!=(t=arguments[d]))for(n in t)r=l(f,n),f!==(s=l(t,n))&&(h&&s&&(o(s)||(c=i(s)))?(c?(c=false,u=r&&i(r)?r:[]):u=r&&o(r)?r:{},a(f,{name:n,newValue:e(h,u,s)})):void 0!==s&&a(f,{name:n,newValue:s}));return f},K}();ie(oe);function de(e,t,n){e.prototype=t.prototype=n,n.constructor=e;}function pe(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function he(){}var me=1/.7,ve="\\s*([+-]?\\d+)\\s*",ge="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ye="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",be=/^#([0-9a-f]{3,8})$/,xe=new RegExp(`^rgb\\(${ve},${ve},${ve}\\)$`),qe=new RegExp(`^rgb\\(${ye},${ye},${ye}\\)$`),we=new RegExp(`^rgba\\(${ve},${ve},${ve},${ge}\\)$`),ke=new RegExp(`^rgba\\(${ye},${ye},${ye},${ge}\\)$`),Ce=new RegExp(`^hsl\\(${ge},${ye},${ye}\\)$`),Me=new RegExp(`^hsla\\(${ge},${ye},${ye},${ge}\\)$`),Se={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function De(){return this.rgb().formatHex()}function Oe(){return this.rgb().formatRgb()}function Ie(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=be.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Ee(t):3===n?new Ne(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Ae(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Ae(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=xe.exec(e))?new Ne(t[1],t[2],t[3],1):(t=qe.exec(e))?new Ne(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=we.exec(e))?Ae(t[1],t[2],t[3],t[4]):(t=ke.exec(e))?Ae(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ce.exec(e))?Re(t[1],t[2]/100,t[3]/100,1):(t=Me.exec(e))?Re(t[1],t[2]/100,t[3]/100,t[4]):Se.hasOwnProperty(e)?Ee(Se[e]):"transparent"===e?new Ne(NaN,NaN,NaN,0):null}function Ee(e){return new Ne(e>>16&255,e>>8&255,255&e,1)}function Ae(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ne(e,t,n,r)}function Te(e){return e instanceof he||(e=Ie(e)),e?new Ne((e=e.rgb()).r,e.g,e.b,e.opacity):new Ne}function Le(e,t,n,r){return 1===arguments.length?Te(e):new Ne(e,t,n,null==r?1:r)}function Ne(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r;}function Pe(){return `#${ze(this.r)}${ze(this.g)}${ze(this.b)}`}function je(){const e=Fe(this.opacity);return `${1===e?"rgb(":"rgba("}${He(this.r)}, ${He(this.g)}, ${He(this.b)}${1===e?")":`, ${e})`}`}function Fe(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function He(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ze(e){return ((e=He(e))<16?"0":"")+e.toString(16)}function Re(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new _e(e,t,n,r)}function Ve(e){if(e instanceof _e)return new _e(e.h,e.s,e.l,e.opacity);if(e instanceof he||(e=Ie(e)),!e)return new _e;if(e instanceof _e)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(a=t===o?(n-r)/l+6*(n<r):n===o?(r-t)/l+2:(t-n)/l+4,l/=s<.5?o+i:2-o-i,a*=60):l=s>0&&s<1?0:a,new _e(a,l,s,e.opacity)}function _e(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r;}function Be(e){return (e=(e||0)%360)<0?e+360:e}function Ke(e){return Math.max(0,Math.min(1,e||0))}function $e(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}de(he,Ie,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:De,formatHex:De,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ve(this).formatHsl()},formatRgb:Oe,toString:Oe}),de(Ne,Le,pe(he,{brighter(e){return e=null==e?me:Math.pow(me,e),new Ne(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Ne(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ne(He(this.r),He(this.g),He(this.b),Fe(this.opacity))},displayable(){return -0.5<=this.r&&this.r<255.5&&-0.5<=this.g&&this.g<255.5&&-0.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Pe,formatHex:Pe,formatHex8:function(){return `#${ze(this.r)}${ze(this.g)}${ze(this.b)}${ze(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:je,toString:je})),de(_e,(function(e,t,n,r){return 1===arguments.length?Ve(e):new _e(e,t,n,null==r?1:r)}),pe(he,{brighter(e){return e=null==e?me:Math.pow(me,e),new _e(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new _e(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Ne($e(e>=240?e-240:e+120,i,r),$e(e,i,r),$e(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new _e(Be(this.h),Ke(this.s),Ke(this.l),Fe(this.opacity))},displayable(){return (0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Fe(this.opacity);return `${1===e?"hsl(":"hsla("}${Be(this.h)}, ${100*Ke(this.s)}%, ${100*Ke(this.l)}%${1===e?")":`, ${e})`}`}}));const Ye=Math.PI/180,Ue=180/Math.PI,Ge=4/29,We=6/29,Xe=3*We*We;function Ze(e){if(e instanceof Je)return new Je(e.l,e.a,e.b,e.opacity);if(e instanceof ot)return at(e);e instanceof Ne||(e=Te(e));var t,n,r=nt(e.r),i=nt(e.g),o=nt(e.b),a=Qe((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?t=n=a:(t=Qe((.4360747*r+.3850649*i+.1430804*o)/.96422),n=Qe((.0139322*r+.0971045*i+.7141733*o)/.82521)),new Je(116*a-16,500*(t-a),200*(a-n),e.opacity)}function Je(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r;}function Qe(e){return e>.008856451679035631?Math.pow(e,1/3):e/Xe+Ge}function et(e){return e>We?e*e*e:Xe*(e-Ge)}function tt(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function nt(e){return (e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function rt(e){if(e instanceof ot)return new ot(e.h,e.c,e.l,e.opacity);if(e instanceof Je||(e=Ze(e)),0===e.a&&0===e.b)return new ot(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Ue;return new ot(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function it(e,t,n,r){return 1===arguments.length?rt(e):new ot(e,t,n,null==r?1:r)}function ot(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r;}function at(e){if(isNaN(e.h))return new Je(e.l,0,0,e.opacity);var t=e.h*Ye;return new Je(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}de(Je,(function(e,t,n,r){return 1===arguments.length?Ze(e):new Je(e,t,n,null==r?1:r)}),pe(he,{brighter(e){return new Je(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Je(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Ne(tt(3.1338561*(t=.96422*et(t))-1.6168667*(e=1*et(e))-.4906146*(n=.82521*et(n))),tt(-0.9787684*t+1.9161415*e+.033454*n),tt(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),de(ot,it,pe(he,{brighter(e){return new ot(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new ot(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return at(this).rgb()}}));var lt=e=>()=>e;function st(e){return 1==(e=+e)?ct:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):lt(isNaN(t)?n:t)}}function ct(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):lt(isNaN(e)?t:e)}(function e(t){var n=st(t);function r(e,t){var r=n((e=Le(e)).r,(t=Le(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=ct(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r})(1);var Ut="center",Gt="bottom";[{key:"NoDataExist",alignment:Ut,condition:function(e){var t=e.layoutService;if(!t)return false;var n=t.meta.size;return n.x*n.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:Ut,condition:function(e){var t=e.layoutService;return !!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return "NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:Ut,condition:function(e){var t=e.layoutService;if(!t)return false;if(!t.meta.isContinuous)return false;var n=t.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:Ut},{key:"DataRangeIncludingZero",alignment:Gt},{key:"LimitedData",alignment:Gt},{key:"NegativeOrZeroValues",alignment:Gt}].reduce((function(e,t){return e[t.key]=t,e}),{});function Vn(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t;}function _n(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=Kn)):void 0===t&&(t=Bn);for(var n,r,i,o,a,l=new Un(e),s=[l];n=s.pop();)if((i=t(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)s.push(r=i[o]=new Un(i[o])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(Yn)}function Bn(e){return e.children}function Kn(e){return Array.isArray(e)?e[1]:null}function $n(e){ void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data;}function Yn(e){var t=0;do{e.height=t;}while((e=e.parent)&&e.height<++t)}function Un(e){this.data=e,this.depth=this.height=0,this.parent=null;}Un.prototype=_n.prototype={constructor:Un,count:function(){return this.eachAfter(Vn)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,i,o=this,a=[o],l=[],s=-1;o=a.pop();)if(l.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=l.pop();)e.call(t,o,++s,this);return this},eachBefore:function(e,t){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(e.call(t,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n;}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e);}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t);})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n});})),t},copy:function(){return _n(this).eachBefore($n)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,o=[i];do{for(e=o.reverse(),o=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)o.push(t[n]);}while(o.length)}};var qr,wr;(qr=function(e){
|
|
31060
30994
|
/*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
|
|
31061
30995
|
e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,i,o,a,l,s,c,u,f,d=e.length,p=e.search(/[0-9\-\+#]/),h=p>0?e.substring(0,p):"",m=e.split("").reverse().join(""),v=m.search(/[0-9\-\+#]/),g=d-v,y=e.substring(g,g+1),b=g+("."===y||","===y?1:0),x=v>0?e.substring(b,d):"";if(n=(t="-"===(e=e.substring(p,b)).charAt(0)?-t:+t)<0?t=-t:0,i=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",o=r&&r[1]&&r[0]||",",e=e.split(i),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(c=t.split("."))[1]||c[1]&&c[1].length<=l)&&(t=(+t).toFixed(l+1)),u=e[0].split(o),e[0]=u.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;c[0].length<e[0].length-a;)c[0]="0"+c[0];else 0==+c[0]&&(c[0]="");if((t=t.split("."))[0]=c[0],s=u[1]&&u[u.length-1].length){for(m="",g=(f=t[0]).length%s,d=f.length,b=0;b<d;b++)m+=f.charAt(b),!((b-g+1)%s)&&b<d-s&&(m+=o);t[0]=m;}return t[1]=e[1]&&t[1]?i+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=false),h+(n?"-":"")+r+x};},qr(wr={exports:{}},wr.exports),wr.exports);
|
|
31062
30996
|
|
|
@@ -31168,7 +31102,7 @@
|
|
|
31168
31102
|
let wsUrl;
|
|
31169
31103
|
let protocol;
|
|
31170
31104
|
let isSecure;
|
|
31171
|
-
if (app !== null && app !==
|
|
31105
|
+
if (app !== null && app !== void 0 && (_app$session = app.session) !== null && _app$session !== void 0 && _app$session.config) {
|
|
31172
31106
|
config = app.session.config;
|
|
31173
31107
|
wsUrl = new URL(config.url);
|
|
31174
31108
|
isSecure = wsUrl.protocol === 'wss:';
|
|
@@ -31180,7 +31114,7 @@
|
|
|
31180
31114
|
function getBackgroundPosition(bgComp) {
|
|
31181
31115
|
var _bgComp$bgImage;
|
|
31182
31116
|
let bkgImagePosition = 'center center';
|
|
31183
|
-
if (bgComp !== null && bgComp !==
|
|
31117
|
+
if (bgComp !== null && bgComp !== void 0 && (_bgComp$bgImage = bgComp.bgImage) !== null && _bgComp$bgImage !== void 0 && _bgComp$bgImage.position) {
|
|
31184
31118
|
bkgImagePosition = positionToCss[bgComp.bgImage.position];
|
|
31185
31119
|
}
|
|
31186
31120
|
return bkgImagePosition;
|
|
@@ -31188,7 +31122,7 @@
|
|
|
31188
31122
|
function getBackgroundSize(bgComp) {
|
|
31189
31123
|
var _bgComp$bgImage2;
|
|
31190
31124
|
let bkgImageSize = imageSizingToCssProperty.originalSize;
|
|
31191
|
-
const size = bgComp === null || bgComp ===
|
|
31125
|
+
const size = bgComp === null || bgComp === void 0 || (_bgComp$bgImage2 = bgComp.bgImage) === null || _bgComp$bgImage2 === void 0 ? void 0 : _bgComp$bgImage2.sizing;
|
|
31192
31126
|
if (size) {
|
|
31193
31127
|
bkgImageSize = imageSizingToCssProperty[size];
|
|
31194
31128
|
}
|
|
@@ -31198,14 +31132,14 @@
|
|
|
31198
31132
|
return relativeUrl ? getSenseServerUrl(app) + relativeUrl : undefined;
|
|
31199
31133
|
}
|
|
31200
31134
|
function resolveBgImage(bgComp, app) {
|
|
31201
|
-
const bgImageDef = bgComp === null || bgComp ===
|
|
31135
|
+
const bgImageDef = bgComp === null || bgComp === void 0 ? void 0 : bgComp.bgImage;
|
|
31202
31136
|
if (bgImageDef) {
|
|
31203
31137
|
let url = '';
|
|
31204
31138
|
if (bgImageDef.mode === 'media' || bgComp.useImage === 'media') {
|
|
31205
|
-
const urlObj = bgImageDef === null || bgImageDef ===
|
|
31139
|
+
const urlObj = bgImageDef === null || bgImageDef === void 0 ? void 0 : bgImageDef.mediaUrl;
|
|
31206
31140
|
const {
|
|
31207
31141
|
qUrl
|
|
31208
|
-
} = (urlObj === null || urlObj ===
|
|
31142
|
+
} = (urlObj === null || urlObj === void 0 ? void 0 : urlObj.qStaticContentUrl) || {};
|
|
31209
31143
|
url = qUrl ? decodeURIComponent(qUrl) : undefined;
|
|
31210
31144
|
url = resolveImageUrl(app, url);
|
|
31211
31145
|
}
|
|
@@ -31223,27 +31157,27 @@
|
|
|
31223
31157
|
return undefined;
|
|
31224
31158
|
}
|
|
31225
31159
|
function resolveBgColor(comp, theme, objectType) {
|
|
31226
|
-
const bgColor = comp === null || comp ===
|
|
31160
|
+
const bgColor = comp === null || comp === void 0 ? void 0 : comp.bgColor;
|
|
31227
31161
|
if (bgColor && theme) {
|
|
31228
31162
|
if (bgColor.useExpression || bgColor.useColorExpression) {
|
|
31229
31163
|
return theme.validateColor(bgColor.colorExpression);
|
|
31230
31164
|
}
|
|
31231
31165
|
}
|
|
31232
|
-
return resolveColor(bgColor === null || bgColor ===
|
|
31166
|
+
return resolveColor(bgColor === null || bgColor === void 0 ? void 0 : bgColor.color, '', 'backgroundColor', theme, objectType);
|
|
31233
31167
|
}
|
|
31234
31168
|
function resolveBorder(comp, theme, objectType) {
|
|
31235
|
-
const borderColor = resolveColor(comp === null || comp ===
|
|
31236
|
-
const borderWidth = (comp === null || comp ===
|
|
31169
|
+
const borderColor = resolveColor(comp === null || comp === void 0 ? void 0 : comp.borderColor, '', 'borderColor', theme, objectType);
|
|
31170
|
+
const borderWidth = (comp === null || comp === void 0 ? void 0 : comp.borderWidth) || resolveProperty('', 'borderWidth', theme, objectType);
|
|
31237
31171
|
return borderWidth && borderColor ? "".concat(borderWidth, " solid ").concat(borderColor) : undefined;
|
|
31238
31172
|
}
|
|
31239
31173
|
function resolveBorderRadius(comp, theme, objectType) {
|
|
31240
|
-
return (comp === null || comp ===
|
|
31174
|
+
return (comp === null || comp === void 0 ? void 0 : comp.borderRadius) || resolveProperty('', 'borderRadius', theme, objectType);
|
|
31241
31175
|
}
|
|
31242
31176
|
function resolveBoxShadow(comp, theme, objectType) {
|
|
31243
31177
|
var _comp$shadow, _comp$shadow2;
|
|
31244
31178
|
const themeBoxShadow = resolveProperty('shadow', 'boxShadow', theme, objectType);
|
|
31245
|
-
const boxShadow = (comp === null || comp ===
|
|
31246
|
-
const boxShadowColor = resolveColor(comp === null || comp ===
|
|
31179
|
+
const boxShadow = (comp === null || comp === void 0 || (_comp$shadow = comp.shadow) === null || _comp$shadow === void 0 ? void 0 : _comp$shadow.boxShadow) || themeBoxShadow;
|
|
31180
|
+
const boxShadowColor = resolveColor(comp === null || comp === void 0 || (_comp$shadow2 = comp.shadow) === null || _comp$shadow2 === void 0 ? void 0 : _comp$shadow2.boxShadowColor, 'shadow', 'boxShadowColor', theme, objectType);
|
|
31247
31181
|
return getFullBoxShadow(boxShadow, themeBoxShadow, boxShadowColor);
|
|
31248
31182
|
}
|
|
31249
31183
|
function unfurlFontStyle(fontStyle, target) {
|
|
@@ -31254,7 +31188,7 @@
|
|
|
31254
31188
|
}
|
|
31255
31189
|
function resolveTextStyle(textComp, target, theme, objectType) {
|
|
31256
31190
|
var _textComp$title;
|
|
31257
|
-
const textProps = (textComp === null || textComp ===
|
|
31191
|
+
const textProps = (textComp === null || textComp === void 0 || (_textComp$title = textComp.title) === null || _textComp$title === void 0 ? void 0 : _textComp$title[target]) || {};
|
|
31258
31192
|
const fontStyle = unfurlFontStyle(textProps.fontStyle, target);
|
|
31259
31193
|
return {
|
|
31260
31194
|
fontFamily: textProps.fontFamily || theme.getStyle("object.".concat(objectType), "title.".concat(target), 'fontFamily'),
|
|
@@ -31279,7 +31213,7 @@
|
|
|
31279
31213
|
// Currently supporting components "theme" and "selections".
|
|
31280
31214
|
const overrides = {};
|
|
31281
31215
|
components.forEach(c => {
|
|
31282
|
-
const k = c === null || c ===
|
|
31216
|
+
const k = c === null || c === void 0 ? void 0 : c.key;
|
|
31283
31217
|
if (SUPPORTED_COMPONENTS.includes(k)) {
|
|
31284
31218
|
overrides[k] = c;
|
|
31285
31219
|
}
|
|
@@ -31295,19 +31229,19 @@
|
|
|
31295
31229
|
overrides,
|
|
31296
31230
|
checkboxes
|
|
31297
31231
|
} = _ref;
|
|
31298
|
-
const componentContentTextColor = (_overrides$theme = overrides.theme) === null || _overrides$theme ===
|
|
31232
|
+
const componentContentTextColor = (_overrides$theme = overrides.theme) === null || _overrides$theme === void 0 || (_overrides$theme = _overrides$theme.content) === null || _overrides$theme === void 0 ? void 0 : _overrides$theme.fontColor;
|
|
31299
31233
|
|
|
31300
31234
|
// color priority: layout.component > theme content color > MUI theme
|
|
31301
|
-
const desiredTextColor = getColorPickerColor(componentContentTextColor) || getListboxStyle('content', 'color') || ((_theme$palette = theme.palette) === null || _theme$palette ===
|
|
31302
|
-
const useContrastTextColor = !checkboxes && ((_overrides$theme$cont = (_overrides$theme2 = overrides.theme) === null || _overrides$theme2 ===
|
|
31303
|
-
const componentSelectionColors = ((_overrides$selections = overrides.selections) === null || _overrides$selections ===
|
|
31235
|
+
const desiredTextColor = getColorPickerColor(componentContentTextColor) || getListboxStyle('content', 'color') || ((_theme$palette = theme.palette) === null || _theme$palette === void 0 ? void 0 : _theme$palette.text.primary);
|
|
31236
|
+
const useContrastTextColor = !checkboxes && ((_overrides$theme$cont = (_overrides$theme2 = overrides.theme) === null || _overrides$theme2 === void 0 || (_overrides$theme2 = _overrides$theme2.content) === null || _overrides$theme2 === void 0 ? void 0 : _overrides$theme2.useContrastColor) !== null && _overrides$theme$cont !== void 0 ? _overrides$theme$cont : true);
|
|
31237
|
+
const componentSelectionColors = ((_overrides$selections = overrides.selections) === null || _overrides$selections === void 0 ? void 0 : _overrides$selections.colors) || {};
|
|
31304
31238
|
const getSelectionStateColors = state => {
|
|
31305
31239
|
var _theme$palette2, _theme$palette3;
|
|
31306
31240
|
const paletteState = state === 'selected' ? 'main' : state;
|
|
31307
31241
|
const contrastState = "".concat(state, "Contrast");
|
|
31308
31242
|
// color priority: layout.component > theme dataColors > theme background (only for 'possible') > MUI theme > hardcoded default
|
|
31309
|
-
const color = getColorPickerColor(componentSelectionColors[state]) || getListboxStyle('', "dataColors.".concat(state)) || state === 'possible' && getListboxStyle('', 'backgroundColor') || ((_theme$palette2 = theme.palette) === null || _theme$palette2 ===
|
|
31310
|
-
const contrastColor = useContrastTextColor ? A(color, desiredTextColor) : desiredTextColor || ((_theme$palette3 = theme.palette) === null || _theme$palette3 ===
|
|
31243
|
+
const color = getColorPickerColor(componentSelectionColors[state]) || getListboxStyle('', "dataColors.".concat(state)) || state === 'possible' && getListboxStyle('', 'backgroundColor') || ((_theme$palette2 = theme.palette) === null || _theme$palette2 === void 0 || (_theme$palette2 = _theme$palette2.selected) === null || _theme$palette2 === void 0 ? void 0 : _theme$palette2[paletteState]) || DEFAULT_SELECTION_COLORS[state];
|
|
31244
|
+
const contrastColor = useContrastTextColor ? A(color, desiredTextColor) : desiredTextColor || ((_theme$palette3 = theme.palette) === null || _theme$palette3 === void 0 ? void 0 : _theme$palette3.selected["".concat(contrastState, "Text}")]);
|
|
31311
31245
|
return {
|
|
31312
31246
|
[state]: color,
|
|
31313
31247
|
[contrastState]: contrastColor
|
|
@@ -31321,16 +31255,16 @@
|
|
|
31321
31255
|
themeOverrides
|
|
31322
31256
|
} = _ref2;
|
|
31323
31257
|
let color;
|
|
31324
|
-
const bgColor = themeOverrides === null || themeOverrides ===
|
|
31258
|
+
const bgColor = themeOverrides === null || themeOverrides === void 0 ? void 0 : themeOverrides.background;
|
|
31325
31259
|
if (!bgColor) {
|
|
31326
31260
|
return color;
|
|
31327
31261
|
}
|
|
31328
|
-
if (bgColor !== null && bgColor !==
|
|
31262
|
+
if (bgColor !== null && bgColor !== void 0 && bgColor.useExpression) {
|
|
31329
31263
|
color = resolveBgColor({
|
|
31330
31264
|
bgColor
|
|
31331
31265
|
}, themeApi, 'listBox');
|
|
31332
31266
|
} else {
|
|
31333
|
-
color = themeApi.getColorPickerColor(bgColor === null || bgColor ===
|
|
31267
|
+
color = themeApi.getColorPickerColor(bgColor === null || bgColor === void 0 ? void 0 : bgColor.color, false);
|
|
31334
31268
|
}
|
|
31335
31269
|
return color;
|
|
31336
31270
|
}
|
|
@@ -31355,7 +31289,7 @@
|
|
|
31355
31289
|
} = _ref3;
|
|
31356
31290
|
const overrides = getOverridesAsObject(components);
|
|
31357
31291
|
const getListboxStyle = (path, prop) => themeApi.getStyle('object.listBox', path, prop);
|
|
31358
|
-
const getColorPickerColor = c => (c === null || c ===
|
|
31292
|
+
const getColorPickerColor = c => (c === null || c === void 0 ? void 0 : c.index) > 0 || c !== null && c !== void 0 && c.color ? themeApi.getColorPickerColor(c, false) : undefined;
|
|
31359
31293
|
const selections = getSelectionColors({
|
|
31360
31294
|
getColorPickerColor,
|
|
31361
31295
|
theme,
|
|
@@ -31364,34 +31298,34 @@
|
|
|
31364
31298
|
checkboxes
|
|
31365
31299
|
});
|
|
31366
31300
|
const themeOverrides = overrides.theme || {};
|
|
31367
|
-
const headerColor = getColorPickerColor((_themeOverrides$heade = themeOverrides.header) === null || _themeOverrides$heade ===
|
|
31301
|
+
const headerColor = getColorPickerColor((_themeOverrides$heade = themeOverrides.header) === null || _themeOverrides$heade === void 0 ? void 0 : _themeOverrides$heade.fontColor) || getListboxStyle('title.main', 'color');
|
|
31368
31302
|
const bgComponentColor = getBackgroundColor({
|
|
31369
31303
|
themeApi,
|
|
31370
31304
|
themeOverrides
|
|
31371
31305
|
});
|
|
31372
|
-
const bgImage = (_themeOverrides$backg = themeOverrides.background) !== null && _themeOverrides$backg !==
|
|
31306
|
+
const bgImage = (_themeOverrides$backg = themeOverrides.background) !== null && _themeOverrides$backg !== void 0 && _themeOverrides$backg.image ? resolveBgImage({
|
|
31373
31307
|
bgImage: themeOverrides.background.image
|
|
31374
31308
|
}, app) : undefined;
|
|
31375
31309
|
const bgColor = bgComponentColor || getListboxStyle('', 'backgroundColor') || theme.palette.background.default;
|
|
31376
31310
|
const searchBgColor = getSearchBGColor(bgColor, getListboxStyle);
|
|
31377
31311
|
const searchColor = getSearchColor(getListboxStyle);
|
|
31378
|
-
const headerFontStyle = ((_themeOverrides$heade2 = themeOverrides.header) === null || _themeOverrides$heade2 ===
|
|
31379
|
-
const contentFontStyle = ((_themeOverrides$conte = themeOverrides.content) === null || _themeOverrides$conte ===
|
|
31312
|
+
const headerFontStyle = ((_themeOverrides$heade2 = themeOverrides.header) === null || _themeOverrides$heade2 === void 0 ? void 0 : _themeOverrides$heade2.fontStyle) || {};
|
|
31313
|
+
const contentFontStyle = ((_themeOverrides$conte = themeOverrides.content) === null || _themeOverrides$conte === void 0 ? void 0 : _themeOverrides$conte.fontStyle) || {};
|
|
31380
31314
|
|
|
31381
31315
|
// Ensure we only return falseValue when the component is used, and thus has a false value.
|
|
31382
31316
|
const getWithFallback = (value, trueValue, falseValue) => value === true && trueValue || value === false && falseValue || undefined;
|
|
31383
31317
|
return {
|
|
31384
31318
|
background: {
|
|
31385
31319
|
backgroundColor: bgColor,
|
|
31386
|
-
backgroundImage: bgImage !== null && bgImage !==
|
|
31320
|
+
backgroundImage: bgImage !== null && bgImage !== void 0 && bgImage.url && !(bgImage !== null && bgImage !== void 0 && bgImage.url.startsWith('url(')) ? "url('".concat(bgImage.url, "')") : undefined,
|
|
31387
31321
|
backgroundRepeat: 'no-repeat',
|
|
31388
|
-
backgroundSize: bgImage === null || bgImage ===
|
|
31389
|
-
backgroundPosition: bgImage === null || bgImage ===
|
|
31322
|
+
backgroundSize: bgImage === null || bgImage === void 0 ? void 0 : bgImage.size,
|
|
31323
|
+
backgroundPosition: bgImage === null || bgImage === void 0 ? void 0 : bgImage.pos
|
|
31390
31324
|
},
|
|
31391
31325
|
header: {
|
|
31392
31326
|
color: headerColor,
|
|
31393
|
-
fontSize: ((_themeOverrides$heade3 = themeOverrides.header) === null || _themeOverrides$heade3 ===
|
|
31394
|
-
fontFamily: ((_themeOverrides$heade4 = themeOverrides.header) === null || _themeOverrides$heade4 ===
|
|
31327
|
+
fontSize: ((_themeOverrides$heade3 = themeOverrides.header) === null || _themeOverrides$heade3 === void 0 ? void 0 : _themeOverrides$heade3.fontSize) || getListboxStyle('title.main', 'fontSize'),
|
|
31328
|
+
fontFamily: ((_themeOverrides$heade4 = themeOverrides.header) === null || _themeOverrides$heade4 === void 0 ? void 0 : _themeOverrides$heade4.fontFamily) || getListboxStyle('title.main', 'fontFamily'),
|
|
31395
31329
|
fontWeight: getWithFallback(headerFontStyle.bold, 'bold', 'normal') || getListboxStyle('title.main', 'fontWeight') || 'bold',
|
|
31396
31330
|
textDecoration: headerFontStyle.underline ? 'underline' : 'initial',
|
|
31397
31331
|
fontStyle: getWithFallback(headerFontStyle.italic, 'italic', 'normal') || getListboxStyle('title.main', 'fontStyle') || 'initial'
|
|
@@ -31399,8 +31333,8 @@
|
|
|
31399
31333
|
content: {
|
|
31400
31334
|
backgroundColor: checkboxes ? undefined : selections.possible,
|
|
31401
31335
|
color: selections.possibleContrast || getListboxStyle('content', 'color'),
|
|
31402
|
-
fontSize: ((_themeOverrides$conte2 = themeOverrides.content) === null || _themeOverrides$conte2 ===
|
|
31403
|
-
fontFamily: ((_themeOverrides$conte3 = themeOverrides.content) === null || _themeOverrides$conte3 ===
|
|
31336
|
+
fontSize: ((_themeOverrides$conte2 = themeOverrides.content) === null || _themeOverrides$conte2 === void 0 ? void 0 : _themeOverrides$conte2.fontSize) || getListboxStyle('content', 'fontSize'),
|
|
31337
|
+
fontFamily: ((_themeOverrides$conte3 = themeOverrides.content) === null || _themeOverrides$conte3 === void 0 ? void 0 : _themeOverrides$conte3.fontFamily) || getListboxStyle('content', 'fontFamily'),
|
|
31404
31338
|
fontWeight: getWithFallback(contentFontStyle.bold, 'bold', 'normal') || getListboxStyle('content', 'fontWeight') || 'normal',
|
|
31405
31339
|
textDecoration: contentFontStyle.underline ? 'underline' : 'initial',
|
|
31406
31340
|
fontStyle: getWithFallback(contentFontStyle.italic, 'italic', 'normal') || getListboxStyle('content', 'fontStyle') || 'initial'
|
|
@@ -31444,7 +31378,7 @@
|
|
|
31444
31378
|
}],
|
|
31445
31379
|
direction = 'ltr'
|
|
31446
31380
|
} = _ref;
|
|
31447
|
-
const isMasterDim = Boolean(fieldName === null || fieldName ===
|
|
31381
|
+
const isMasterDim = Boolean(fieldName === null || fieldName === void 0 ? void 0 : fieldName.qLibraryId);
|
|
31448
31382
|
const open = show && Boolean(alignTo.current);
|
|
31449
31383
|
const [listCount, setListCount] = reactExports.useState(0);
|
|
31450
31384
|
const theme = useTheme$2();
|
|
@@ -31615,7 +31549,7 @@
|
|
|
31615
31549
|
innerTabStops: true,
|
|
31616
31550
|
focusSelection: keyboard.focusSelection
|
|
31617
31551
|
},
|
|
31618
|
-
autoFocus: autoFocus !== null && autoFocus !==
|
|
31552
|
+
autoFocus: autoFocus !== null && autoFocus !== void 0 ? autoFocus : true,
|
|
31619
31553
|
direction: direction
|
|
31620
31554
|
})), /*#__PURE__*/React.createElement(ListBox, {
|
|
31621
31555
|
model: model,
|
|
@@ -32126,7 +32060,7 @@
|
|
|
32126
32060
|
var _selection$qDimension;
|
|
32127
32061
|
currentField = {
|
|
32128
32062
|
name,
|
|
32129
|
-
label: ((_selection$qDimension = selection.qDimensionReferences) === null || _selection$qDimension ===
|
|
32063
|
+
label: ((_selection$qDimension = selection.qDimensionReferences) === null || _selection$qDimension === void 0 || (_selection$qDimension = _selection$qDimension.find(element => element.qLabel)) === null || _selection$qDimension === void 0 ? void 0 : _selection$qDimension.qLabel) || selection.qReadableName || name,
|
|
32130
32064
|
states: [],
|
|
32131
32065
|
selections: []
|
|
32132
32066
|
};
|
|
@@ -32165,7 +32099,7 @@
|
|
|
32165
32099
|
const {
|
|
32166
32100
|
model
|
|
32167
32101
|
} = modalObjectStore.get(app.id) || {};
|
|
32168
|
-
return (model === null || model ===
|
|
32102
|
+
return (model === null || model === void 0 ? void 0 : model.genericType) === 'njsListbox';
|
|
32169
32103
|
};
|
|
32170
32104
|
reactExports.useEffect(() => {
|
|
32171
32105
|
if (!containerRect) return;
|
|
@@ -32850,7 +32784,7 @@
|
|
|
32850
32784
|
}
|
|
32851
32785
|
};
|
|
32852
32786
|
const focusOnHoverDisabled = () => {
|
|
32853
|
-
const selectNotAllowed = (constraints === null || constraints ===
|
|
32787
|
+
const selectNotAllowed = (constraints === null || constraints === void 0 ? void 0 : constraints.select) || (constraints === null || constraints === void 0 ? void 0 : constraints.active);
|
|
32854
32788
|
const appInModal = isModal();
|
|
32855
32789
|
return selectNotAllowed || appInModal;
|
|
32856
32790
|
};
|
|
@@ -32936,7 +32870,7 @@
|
|
|
32936
32870
|
let {
|
|
32937
32871
|
appLayout
|
|
32938
32872
|
} = _ref;
|
|
32939
|
-
const isDQ = !!(appLayout !== null && appLayout !==
|
|
32873
|
+
const isDQ = !!(appLayout !== null && appLayout !== void 0 && appLayout.qIsDirectQueryMode);
|
|
32940
32874
|
return isDQ;
|
|
32941
32875
|
}
|
|
32942
32876
|
|
|
@@ -32978,10 +32912,10 @@
|
|
|
32978
32912
|
const containerWidth = containerRect.width;
|
|
32979
32913
|
const preventTruncation = 2;
|
|
32980
32914
|
const padding = paddingLeft + paddingRight;
|
|
32981
|
-
const contentWidth = ((_titleRef$current$cli = titleRef === null || titleRef ===
|
|
32915
|
+
const contentWidth = ((_titleRef$current$cli = titleRef === null || titleRef === void 0 || (_titleRef$current = titleRef.current) === null || _titleRef$current === void 0 ? void 0 : _titleRef$current.clientWidth) !== null && _titleRef$current$cli !== void 0 ? _titleRef$current$cli : 0) + iconsWidth + padding + preventTruncation;
|
|
32982
32916
|
const actionToolbarWidth = 128;
|
|
32983
32917
|
const notSufficientSpace = containerWidth < contentWidth + actionToolbarWidth;
|
|
32984
|
-
const isTruncated = (titleRef === null || titleRef ===
|
|
32918
|
+
const isTruncated = (titleRef === null || titleRef === void 0 || (_titleRef$current2 = titleRef.current) === null || _titleRef$current2 === void 0 ? void 0 : _titleRef$current2.scrollWidth) > (titleRef === null || titleRef === void 0 || (_titleRef$current3 = titleRef.current) === null || _titleRef$current3 === void 0 ? void 0 : _titleRef$current3.offsetWidth);
|
|
32985
32919
|
const isDetached = !!(notSufficientSpace || isTruncated);
|
|
32986
32920
|
return isDetached;
|
|
32987
32921
|
}
|
|
@@ -33024,10 +32958,10 @@
|
|
|
33024
32958
|
show: showToolbar,
|
|
33025
32959
|
api: selections,
|
|
33026
32960
|
onConfirm: () => {
|
|
33027
|
-
keyboard === null || keyboard ===
|
|
32961
|
+
keyboard === null || keyboard === void 0 || keyboard.focus();
|
|
33028
32962
|
},
|
|
33029
32963
|
onCancel: () => {
|
|
33030
|
-
keyboard === null || keyboard ===
|
|
32964
|
+
keyboard === null || keyboard === void 0 || keyboard.focus();
|
|
33031
32965
|
}
|
|
33032
32966
|
}
|
|
33033
32967
|
};
|
|
@@ -33154,7 +33088,6 @@
|
|
|
33154
33088
|
var ReloadIcon = props => SvgIcon(reload(props));
|
|
33155
33089
|
|
|
33156
33090
|
const dimensionTypes = {
|
|
33157
|
-
single: 'N',
|
|
33158
33091
|
drillDown: 'H',
|
|
33159
33092
|
cyclic: 'C'
|
|
33160
33093
|
};
|
|
@@ -33341,19 +33274,19 @@
|
|
|
33341
33274
|
disablePortal
|
|
33342
33275
|
} = _ref2;
|
|
33343
33276
|
const [isToolbarDetached, setIsToolbarDetached] = reactExports.useState(showDetachedToolbarOnly);
|
|
33344
|
-
const [isLocked, setLocked] = reactExports.useState(layout === null || layout ===
|
|
33277
|
+
const [isLocked, setLocked] = reactExports.useState(layout === null || layout === void 0 || (_layout$qListObject = layout.qListObject) === null || _layout$qListObject === void 0 || (_layout$qListObject = _layout$qListObject.qDimensionInfo) === null || _layout$qListObject === void 0 ? void 0 : _layout$qListObject.qLocked);
|
|
33345
33278
|
const [settingLockedState, setSettingLockedState] = reactExports.useState(false);
|
|
33346
33279
|
reactExports.useEffect(() => {
|
|
33347
33280
|
var _layout$qListObject2;
|
|
33348
|
-
setLocked(layout === null || layout ===
|
|
33349
|
-
}, [layout === null || layout ===
|
|
33281
|
+
setLocked(layout === null || layout === void 0 || (_layout$qListObject2 = layout.qListObject) === null || _layout$qListObject2 === void 0 || (_layout$qListObject2 = _layout$qListObject2.qDimensionInfo) === null || _layout$qListObject2 === void 0 ? void 0 : _layout$qListObject2.qLocked);
|
|
33282
|
+
}, [layout === null || layout === void 0 || (_layout$qListObject3 = layout.qListObject) === null || _layout$qListObject3 === void 0 || (_layout$qListObject3 = _layout$qListObject3.qDimensionInfo) === null || _layout$qListObject3 === void 0 ? void 0 : _layout$qListObject3.qLocked]);
|
|
33350
33283
|
const titleRef = reactExports.useRef(null);
|
|
33351
33284
|
const iconData = iconUtils.createDimensionIconData({
|
|
33352
|
-
dimInfo: layout === null || layout ===
|
|
33285
|
+
dimInfo: layout === null || layout === void 0 || (_layout$qListObject4 = layout.qListObject) === null || _layout$qListObject4 === void 0 ? void 0 : _layout$qListObject4.qDimensionInfo,
|
|
33353
33286
|
app,
|
|
33354
33287
|
selections,
|
|
33355
33288
|
isPopover,
|
|
33356
|
-
active: !(constraints !== null && constraints !==
|
|
33289
|
+
active: !(constraints !== null && constraints !== void 0 && constraints.active),
|
|
33357
33290
|
keyboard
|
|
33358
33291
|
});
|
|
33359
33292
|
const showUnlock = showLock && isLocked;
|
|
@@ -33388,7 +33321,7 @@
|
|
|
33388
33321
|
enabled: () => !settingLockedState && !selectionState.selectDisabled() && hasSelections(layout),
|
|
33389
33322
|
action: toggleLock
|
|
33390
33323
|
}];
|
|
33391
|
-
const searchIconComp = constraints !== null && constraints !==
|
|
33324
|
+
const searchIconComp = constraints !== null && constraints !== void 0 && constraints.active ? /*#__PURE__*/React.createElement(SearchIcon, {
|
|
33392
33325
|
title: translator.get('Listbox.Search'),
|
|
33393
33326
|
size: "large",
|
|
33394
33327
|
style: _objectSpread2(_objectSpread2({}, iconStyle), {}, {
|
|
@@ -33422,7 +33355,6 @@
|
|
|
33422
33355
|
isDetached: isPopover ? false : isToolbarDetached,
|
|
33423
33356
|
showToolbar,
|
|
33424
33357
|
containerRef,
|
|
33425
|
-
isPopover,
|
|
33426
33358
|
isLocked,
|
|
33427
33359
|
extraItems,
|
|
33428
33360
|
listboxSelectionToolbarItems,
|
|
@@ -33538,7 +33470,7 @@
|
|
|
33538
33470
|
app,
|
|
33539
33471
|
appSelections
|
|
33540
33472
|
} = _ref2;
|
|
33541
|
-
return (_app$isInModalSelecti = (_app$isInModalSelecti2 = app.isInModalSelection) === null || _app$isInModalSelecti2 ===
|
|
33473
|
+
return (_app$isInModalSelecti = (_app$isInModalSelecti2 = app.isInModalSelection) === null || _app$isInModalSelecti2 === void 0 ? void 0 : _app$isInModalSelecti2.call(app)) !== null && _app$isInModalSelecti !== void 0 ? _app$isInModalSelecti : appSelections.isInModal();
|
|
33542
33474
|
};
|
|
33543
33475
|
function ListBoxInline(_ref3) {
|
|
33544
33476
|
var _layout$qListObject, _layout$title, _layoutOptions$dense, _containerRef$current;
|
|
@@ -33588,7 +33520,7 @@
|
|
|
33588
33520
|
checkboxes
|
|
33589
33521
|
});
|
|
33590
33522
|
const isDirectQuery = isDirectQueryEnabled({
|
|
33591
|
-
appLayout: app === null || app ===
|
|
33523
|
+
appLayout: app === null || app === void 0 ? void 0 : app.layout
|
|
33592
33524
|
});
|
|
33593
33525
|
const containerRef = reactExports.useRef();
|
|
33594
33526
|
const searchInputRef = reactExports.useRef();
|
|
@@ -33618,7 +33550,7 @@
|
|
|
33618
33550
|
app,
|
|
33619
33551
|
appSelections
|
|
33620
33552
|
}), [app, appSelections]);
|
|
33621
|
-
const isInvalid = layout === null || layout ===
|
|
33553
|
+
const isInvalid = layout === null || layout === void 0 ? void 0 : layout.qListObject.qDimensionInfo.qError;
|
|
33622
33554
|
const errorText = isInvalid && constraints.active ? 'Visualization.Invalid.Dimension' : 'Visualization.Incomplete';
|
|
33623
33555
|
const {
|
|
33624
33556
|
handleKeyDown,
|
|
@@ -33629,10 +33561,7 @@
|
|
|
33629
33561
|
keyboard,
|
|
33630
33562
|
hovering,
|
|
33631
33563
|
updateKeyScroll,
|
|
33632
|
-
containerRef,
|
|
33633
33564
|
currentScrollIndex,
|
|
33634
|
-
app,
|
|
33635
|
-
appSelections,
|
|
33636
33565
|
constraints,
|
|
33637
33566
|
isModal: isModalMode,
|
|
33638
33567
|
selections
|
|
@@ -33683,10 +33612,10 @@
|
|
|
33683
33612
|
searchEnabled,
|
|
33684
33613
|
autoConfirm = false,
|
|
33685
33614
|
layoutOptions = {}
|
|
33686
|
-
} = layout !== null && layout !==
|
|
33687
|
-
const isLocked = layout === null || layout ===
|
|
33615
|
+
} = layout !== null && layout !== void 0 ? layout : {};
|
|
33616
|
+
const isLocked = layout === null || layout === void 0 || (_layout$qListObject = layout.qListObject) === null || _layout$qListObject === void 0 || (_layout$qListObject = _layout$qListObject.qDimensionInfo) === null || _layout$qListObject === void 0 ? void 0 : _layout$qListObject.qLocked;
|
|
33688
33617
|
const showSearchIcon = searchEnabled !== false && search === 'toggle' && !isLocked;
|
|
33689
|
-
const canShowTitle = (layout === null || layout ===
|
|
33618
|
+
const canShowTitle = (layout === null || layout === void 0 || (_layout$title = layout.title) === null || _layout$title === void 0 ? void 0 : _layout$title.length) && (layout === null || layout === void 0 ? void 0 : layout.showTitle) !== false;
|
|
33690
33619
|
const showDetachedToolbarOnly = toolbar && !canShowTitle && !isPopover;
|
|
33691
33620
|
const showAttachedToolbar = toolbar && canShowTitle || isPopover;
|
|
33692
33621
|
const isRtl = direction === 'rtl';
|
|
@@ -33695,7 +33624,7 @@
|
|
|
33695
33624
|
}
|
|
33696
33625
|
const showSearchToggle = search === 'toggle' && showSearch;
|
|
33697
33626
|
const searchVisible = search === true || showSearchToggle && searchEnabled !== false;
|
|
33698
|
-
const dense = (_layoutOptions$dense = layoutOptions.dense) !== null && _layoutOptions$dense !==
|
|
33627
|
+
const dense = (_layoutOptions$dense = layoutOptions.dense) !== null && _layoutOptions$dense !== void 0 ? _layoutOptions$dense : false;
|
|
33699
33628
|
const handleShowSearch = () => {
|
|
33700
33629
|
const newValue = !showSearch;
|
|
33701
33630
|
setShowSearch(newValue);
|
|
@@ -33710,15 +33639,15 @@
|
|
|
33710
33639
|
const shouldAutoFocus = searchVisible && (search === 'toggle' || focusSearch);
|
|
33711
33640
|
|
|
33712
33641
|
// Add a container padding for grid mode to harmonize with the grid item margins (should sum to 8px).
|
|
33713
|
-
const isGridMode = (layoutOptions === null || layoutOptions ===
|
|
33642
|
+
const isGridMode = (layoutOptions === null || layoutOptions === void 0 ? void 0 : layoutOptions.dataLayout) === 'grid';
|
|
33714
33643
|
const containerPadding = getContainerPadding({
|
|
33715
33644
|
isGridMode,
|
|
33716
33645
|
dense,
|
|
33717
|
-
height: (_containerRef$current = containerRef.current) === null || _containerRef$current ===
|
|
33646
|
+
height: (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.clientHeight,
|
|
33718
33647
|
layoutOrder: layoutOptions.layoutOrder
|
|
33719
33648
|
});
|
|
33720
33649
|
if (isInvalid) {
|
|
33721
|
-
renderedCallback === null || renderedCallback ===
|
|
33650
|
+
renderedCallback === null || renderedCallback === void 0 || renderedCallback();
|
|
33722
33651
|
}
|
|
33723
33652
|
const listBoxMinHeight = showAttachedToolbar ? DENSE_ROW_HEIGHT + SCROLL_BAR_WIDTH : 0;
|
|
33724
33653
|
const listBoxHeader = /*#__PURE__*/React.createElement(ListBoxHeader, {
|
|
@@ -34088,7 +34017,7 @@
|
|
|
34088
34017
|
const [isFetching, setIsFetching] = reactExports.useState(true);
|
|
34089
34018
|
const [model, setModel] = reactExports.useState();
|
|
34090
34019
|
const [fallbackTitle, setFallbackTitle] = reactExports.useState();
|
|
34091
|
-
const title = (_options$title = options.title) !== null && _options$title !==
|
|
34020
|
+
const title = (_options$title = options.title) !== null && _options$title !== void 0 ? _options$title : fallbackTitle;
|
|
34092
34021
|
let {
|
|
34093
34022
|
histogram = false,
|
|
34094
34023
|
frequencyMode = 'N'
|
|
@@ -34178,7 +34107,7 @@
|
|
|
34178
34107
|
fieldName = fieldIdentifier;
|
|
34179
34108
|
}
|
|
34180
34109
|
if (frequencyMode !== 'P' && histogram) {
|
|
34181
|
-
if (fieldDef !== null && fieldDef !==
|
|
34110
|
+
if (fieldDef !== null && fieldDef !== void 0 && fieldDef.multiFieldDim) {
|
|
34182
34111
|
listdef$1.frequencyMax = 'fetch';
|
|
34183
34112
|
// maybe for all lib dimension to handle if it properties change
|
|
34184
34113
|
} else {
|
|
@@ -34653,7 +34582,7 @@
|
|
|
34653
34582
|
}
|
|
34654
34583
|
} else {
|
|
34655
34584
|
var _dimension$qDef$qFiel, _dimension$qDef$qFiel2;
|
|
34656
|
-
listboxProps.title = dimension.qDef.title || ((_dimension$qDef$qFiel = dimension.qDef.qFieldLabels) === null || _dimension$qDef$qFiel ===
|
|
34585
|
+
listboxProps.title = dimension.qDef.title || ((_dimension$qDef$qFiel = dimension.qDef.qFieldLabels) === null || _dimension$qDef$qFiel === void 0 ? void 0 : _dimension$qDef$qFiel[0]) || ((_dimension$qDef$qFiel2 = dimension.qDef.qFieldDefs) === null || _dimension$qDef$qFiel2 === void 0 ? void 0 : _dimension$qDef$qFiel2[0]);
|
|
34657
34586
|
}
|
|
34658
34587
|
}
|
|
34659
34588
|
// def.dimensions.added(dimension, properties, listboxProps);
|
|
@@ -36796,7 +36725,7 @@
|
|
|
36796
36725
|
setModel,
|
|
36797
36726
|
getImperativeHandle() {
|
|
36798
36727
|
var _state$sn;
|
|
36799
|
-
if ((_state$sn = state.sn) !== null && _state$sn !==
|
|
36728
|
+
if ((_state$sn = state.sn) !== null && _state$sn !== void 0 && _state$sn.component && typeof state.sn.component.getImperativeHandle === 'function') {
|
|
36800
36729
|
return state.sn.component.getImperativeHandle();
|
|
36801
36730
|
}
|
|
36802
36731
|
return {};
|
|
@@ -37034,7 +36963,7 @@
|
|
|
37034
36963
|
|
|
37035
36964
|
const canSetProperties = layout => {
|
|
37036
36965
|
var _layout$qMeta;
|
|
37037
|
-
return !!(layout && !layout.qHasSoftPatches && !layout.qExtendsId && (((_layout$qMeta = layout.qMeta) === null || _layout$qMeta ===
|
|
36966
|
+
return !!(layout && !layout.qHasSoftPatches && !layout.qExtendsId && (((_layout$qMeta = layout.qMeta) === null || _layout$qMeta === void 0 ? void 0 : _layout$qMeta.privileges) || []).indexOf('update') > -1);
|
|
37038
36967
|
};
|
|
37039
36968
|
|
|
37040
36969
|
/* eslint-disable no-underscore-dangle */
|
|
@@ -39381,7 +39310,7 @@
|
|
|
39381
39310
|
onRenderResolve = resolve;
|
|
39382
39311
|
});
|
|
39383
39312
|
const createOnInitialRender = override => () => {
|
|
39384
|
-
override === null || override ===
|
|
39313
|
+
override === null || override === void 0 || override(); // from options.onInitialRender
|
|
39385
39314
|
onRenderResolve(); // internal promise in viz to wait for render
|
|
39386
39315
|
onRender(); // from RenderConfig
|
|
39387
39316
|
};
|
|
@@ -40018,7 +39947,7 @@
|
|
|
40018
39947
|
const [bgColor, setBgColor] = reactExports.useState(undefined);
|
|
40019
39948
|
const [bgImage, setBgImage] = reactExports.useState(undefined);
|
|
40020
39949
|
const [deepHash, setDeepHash] = reactExports.useState('');
|
|
40021
|
-
navigation === null || navigation ===
|
|
39950
|
+
navigation === null || navigation === void 0 || (_navigation$setCurren = navigation.setCurrentSheetId) === null || _navigation$setCurren === void 0 || _navigation$setCurren.call(navigation, model.id);
|
|
40022
39951
|
/// For each object
|
|
40023
39952
|
reactExports.useEffect(() => {
|
|
40024
39953
|
if (layout) {
|
|
@@ -40084,7 +40013,7 @@
|
|
|
40084
40013
|
}, [model]);
|
|
40085
40014
|
const cellRenderers = reactExports.useMemo(() => cells ? cells.map(c => getCellRenderer(c, halo, initialSnOptions, initialSnPlugins, initialError, c.mounted, navigation)) : [], [cells]);
|
|
40086
40015
|
reactExports.useEffect(() => {
|
|
40087
|
-
const bgComp = layout !== null && layout !==
|
|
40016
|
+
const bgComp = layout !== null && layout !== void 0 && layout.components ? layout.components.find(comp => comp.key === 'general') : null;
|
|
40088
40017
|
setBgColor(resolveBgColor(bgComp, halo.public.theme));
|
|
40089
40018
|
setBgImage(resolveBgImage(bgComp, halo.app));
|
|
40090
40019
|
}, [layout, halo.public.theme, halo.app, themeName]);
|
|
@@ -40322,9 +40251,9 @@
|
|
|
40322
40251
|
const {
|
|
40323
40252
|
galaxy
|
|
40324
40253
|
} = halo.public;
|
|
40325
|
-
if ((_galaxy$anything = galaxy.anything) !== null && _galaxy$anything !==
|
|
40254
|
+
if ((_galaxy$anything = galaxy.anything) !== null && _galaxy$anything !== void 0 && (_galaxy$anything = _galaxy$anything.sense) !== null && _galaxy$anything !== void 0 && _galaxy$anything.navigation) {
|
|
40326
40255
|
var _galaxy$anything2;
|
|
40327
|
-
return (_galaxy$anything2 = galaxy.anything) === null || _galaxy$anything2 ===
|
|
40256
|
+
return (_galaxy$anything2 = galaxy.anything) === null || _galaxy$anything2 === void 0 || (_galaxy$anything2 = _galaxy$anything2.sense) === null || _galaxy$anything2 === void 0 ? void 0 : _galaxy$anything2.navigation;
|
|
40328
40257
|
}
|
|
40329
40258
|
const State = {
|
|
40330
40259
|
model
|
|
@@ -40390,7 +40319,7 @@
|
|
|
40390
40319
|
return;
|
|
40391
40320
|
}
|
|
40392
40321
|
modelStore.set(key, newModel);
|
|
40393
|
-
(_State$sheetRef = State.sheetRef) === null || _State$sheetRef ===
|
|
40322
|
+
(_State$sheetRef = State.sheetRef) === null || _State$sheetRef === void 0 || (_State$sheetRef = _State$sheetRef.current) === null || _State$sheetRef === void 0 || (_State$sheetRef$setMo = _State$sheetRef.setModel) === null || _State$sheetRef$setMo === void 0 || _State$sheetRef$setMo.call(_State$sheetRef, newModel);
|
|
40394
40323
|
State.model = newModel;
|
|
40395
40324
|
navigationAPI.emit('sheetChanged');
|
|
40396
40325
|
},
|
|
@@ -40603,6 +40532,7 @@
|
|
|
40603
40532
|
const re = exports.re = [];
|
|
40604
40533
|
const safeRe = exports.safeRe = [];
|
|
40605
40534
|
const src = exports.src = [];
|
|
40535
|
+
const safeSrc = exports.safeSrc = [];
|
|
40606
40536
|
const t = exports.t = {};
|
|
40607
40537
|
let R = 0;
|
|
40608
40538
|
const LETTERDASHNUMBER = '[a-zA-Z0-9-]';
|
|
@@ -40626,6 +40556,7 @@
|
|
|
40626
40556
|
debug(name, index, value);
|
|
40627
40557
|
t[name] = index;
|
|
40628
40558
|
src[index] = value;
|
|
40559
|
+
safeSrc[index] = safe;
|
|
40629
40560
|
re[index] = new RegExp(value, isGlobal ? 'g' : undefined);
|
|
40630
40561
|
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined);
|
|
40631
40562
|
};
|
|
@@ -40788,6 +40719,7 @@
|
|
|
40788
40719
|
} = requireConstants();
|
|
40789
40720
|
const {
|
|
40790
40721
|
safeRe: re,
|
|
40722
|
+
safeSrc: src,
|
|
40791
40723
|
t
|
|
40792
40724
|
} = requireRe();
|
|
40793
40725
|
const parseOptions = requireParseOptions();
|
|
@@ -40938,6 +40870,19 @@
|
|
|
40938
40870
|
// preminor will bump the version up to the next minor release, and immediately
|
|
40939
40871
|
// down to pre-release. premajor and prepatch work the same way.
|
|
40940
40872
|
inc(release, identifier, identifierBase) {
|
|
40873
|
+
if (release.startsWith('pre')) {
|
|
40874
|
+
if (!identifier && identifierBase === false) {
|
|
40875
|
+
throw new Error('invalid increment argument: identifier is empty');
|
|
40876
|
+
}
|
|
40877
|
+
// Avoid an invalid semver results
|
|
40878
|
+
if (identifier) {
|
|
40879
|
+
const r = new RegExp("^".concat(this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE], "$"));
|
|
40880
|
+
const match = "-".concat(identifier).match(r);
|
|
40881
|
+
if (!match || match[1] !== identifier) {
|
|
40882
|
+
throw new Error("invalid identifier: ".concat(identifier));
|
|
40883
|
+
}
|
|
40884
|
+
}
|
|
40885
|
+
}
|
|
40941
40886
|
switch (release) {
|
|
40942
40887
|
case 'premajor':
|
|
40943
40888
|
this.prerelease.length = 0;
|
|
@@ -40968,6 +40913,12 @@
|
|
|
40968
40913
|
}
|
|
40969
40914
|
this.inc('pre', identifier, identifierBase);
|
|
40970
40915
|
break;
|
|
40916
|
+
case 'release':
|
|
40917
|
+
if (this.prerelease.length === 0) {
|
|
40918
|
+
throw new Error("version ".concat(this.raw, " is not a prerelease"));
|
|
40919
|
+
}
|
|
40920
|
+
this.prerelease.length = 0;
|
|
40921
|
+
break;
|
|
40971
40922
|
case 'major':
|
|
40972
40923
|
// If this is a pre-major version, bump up to the same major version.
|
|
40973
40924
|
// Otherwise increment major.
|
|
@@ -41006,9 +40957,6 @@
|
|
|
41006
40957
|
case 'pre':
|
|
41007
40958
|
{
|
|
41008
40959
|
const base = Number(identifierBase) ? 1 : 0;
|
|
41009
|
-
if (!identifier && identifierBase === false) {
|
|
41010
|
-
throw new Error('invalid increment argument: identifier is empty');
|
|
41011
|
-
}
|
|
41012
40960
|
if (this.prerelease.length === 0) {
|
|
41013
40961
|
this.prerelease = [base];
|
|
41014
40962
|
} else {
|
|
@@ -42556,7 +42504,7 @@
|
|
|
42556
42504
|
var _fieldSels$_ref;
|
|
42557
42505
|
const onSelectionActivated = () => fieldSels.emit('selectionActivated');
|
|
42558
42506
|
const onSelectionDeactivated = () => fieldSels.emit('selectionDeactivated');
|
|
42559
|
-
if ((_fieldSels$_ref = fieldSels._ref) !== null && _fieldSels$_ref !==
|
|
42507
|
+
if ((_fieldSels$_ref = fieldSels._ref) !== null && _fieldSels$_ref !== void 0 && _fieldSels$_ref.current) {
|
|
42560
42508
|
const options = getOptions$1(_objectSpread2({
|
|
42561
42509
|
onSelectionActivated,
|
|
42562
42510
|
onSelectionDeactivated
|