@coreui/react 2.5.7 → 2.5.8
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/CHANGELOG.md +18 -0
- package/es/Aside.js +29 -37
- package/es/AsideToggler.js +36 -44
- package/es/Breadcrumb.js +51 -58
- package/es/Breadcrumb2.js +52 -60
- package/es/Footer.js +24 -32
- package/es/Header.js +23 -35
- package/es/HeaderDropdown.js +23 -27
- package/es/NavbarBrand.js +32 -39
- package/es/Shared/classes.js +0 -3
- package/es/Shared/element-closest.js +2 -0
- package/es/Shared/index.js +0 -1
- package/es/Shared/layout/layout.js +24 -16
- package/es/Shared/toggle-classes.js +2 -0
- package/es/Sidebar.js +43 -53
- package/es/SidebarFooter.js +19 -29
- package/es/SidebarForm.js +19 -29
- package/es/SidebarHeader.js +19 -29
- package/es/SidebarMinimizer.js +30 -35
- package/es/SidebarNav.js +128 -162
- package/es/SidebarNav2.js +178 -202
- package/es/SidebarToggler.js +35 -36
- package/es/Switch.js +59 -62
- package/lib/Aside.js +51 -60
- package/lib/AsideToggler.js +58 -67
- package/lib/Breadcrumb.js +71 -77
- package/lib/Breadcrumb2.js +72 -79
- package/lib/Footer.js +40 -47
- package/lib/Header.js +39 -50
- package/lib/HeaderDropdown.js +36 -37
- package/lib/NavbarBrand.js +50 -56
- package/lib/Shared/classes.js +8 -6
- package/lib/Shared/element-closest.js +3 -1
- package/lib/Shared/index.js +2 -3
- package/lib/Shared/layout/layout.js +31 -19
- package/lib/Shared/toggle-classes.js +6 -2
- package/lib/Sidebar.js +69 -81
- package/lib/SidebarFooter.js +33 -42
- package/lib/SidebarForm.js +33 -42
- package/lib/SidebarHeader.js +33 -42
- package/lib/SidebarMinimizer.js +51 -55
- package/lib/SidebarNav.js +154 -187
- package/lib/SidebarNav2.js +211 -236
- package/lib/SidebarToggler.js +56 -58
- package/lib/Switch.js +90 -92
- package/lib/index.js +36 -55
- package/package.json +14 -14
- package/umd/main.d0f057e5.css +5 -0
- package/umd/main.d0f057e5.css.map +1 -0
- package/umd/{@coreui/react.js → react.js} +918 -1076
- package/umd/react.min.js +38 -0
- package/umd/react.min.js.map +1 -0
- package/umd/@coreui/react.min.js +0 -44
- package/umd/@coreui/react.min.js.map +0 -1
- package/umd/main.a93373b7.css +0 -148
- package/umd/main.a93373b7.css.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @coreui/react v2.5.
|
|
2
|
+
* @coreui/react v2.5.8 - https://coreui.io
|
|
3
3
|
* MIT Licensed
|
|
4
4
|
*/
|
|
5
5
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -166,7 +166,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
|
166
166
|
return classes.join(' ');
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
if (
|
|
169
|
+
if ( true && module.exports) {
|
|
170
170
|
classNames.default = classNames;
|
|
171
171
|
module.exports = classNames;
|
|
172
172
|
} else if (true) {
|
|
@@ -401,7 +401,7 @@ module.exports = ClickOutComponent;
|
|
|
401
401
|
/* 12 */
|
|
402
402
|
/***/ (function(module, exports, __webpack_require__) {
|
|
403
403
|
|
|
404
|
-
module.exports = __webpack_require__(
|
|
404
|
+
module.exports = __webpack_require__(28);
|
|
405
405
|
|
|
406
406
|
|
|
407
407
|
/***/ }),
|
|
@@ -714,26 +714,26 @@ module.exports = function() {
|
|
|
714
714
|
/* 17 */
|
|
715
715
|
/***/ (function(module, exports) {
|
|
716
716
|
|
|
717
|
-
var g;
|
|
718
|
-
|
|
719
|
-
// This works in non-strict mode
|
|
720
|
-
g = (function() {
|
|
721
|
-
return this;
|
|
722
|
-
})();
|
|
723
|
-
|
|
724
|
-
try {
|
|
725
|
-
// This works if eval is allowed (see CSP)
|
|
726
|
-
g = g || Function("return this")()
|
|
727
|
-
} catch (e) {
|
|
728
|
-
// This works if the window reference is available
|
|
729
|
-
if (typeof window === "object") g = window;
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
// g can still be undefined, but nothing to do about it...
|
|
733
|
-
// We return undefined, instead of nothing here, so it's
|
|
734
|
-
// easier to handle this case. if(!global) { ...}
|
|
735
|
-
|
|
736
|
-
module.exports = g;
|
|
717
|
+
var g;
|
|
718
|
+
|
|
719
|
+
// This works in non-strict mode
|
|
720
|
+
g = (function() {
|
|
721
|
+
return this;
|
|
722
|
+
})();
|
|
723
|
+
|
|
724
|
+
try {
|
|
725
|
+
// This works if eval is allowed (see CSP)
|
|
726
|
+
g = g || new Function("return this")();
|
|
727
|
+
} catch (e) {
|
|
728
|
+
// This works if the window reference is available
|
|
729
|
+
if (typeof window === "object") g = window;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
// g can still be undefined, but nothing to do about it...
|
|
733
|
+
// We return undefined, instead of nothing here, so it's
|
|
734
|
+
// easier to handle this case. if(!global) { ...}
|
|
735
|
+
|
|
736
|
+
module.exports = g;
|
|
737
737
|
|
|
738
738
|
|
|
739
739
|
/***/ }),
|
|
@@ -844,7 +844,7 @@ if (true) {
|
|
|
844
844
|
/***/ (function(module, exports, __webpack_require__) {
|
|
845
845
|
|
|
846
846
|
"use strict";
|
|
847
|
-
/** @license React v16.13.
|
|
847
|
+
/** @license React v16.13.1
|
|
848
848
|
* react-dom.production.min.js
|
|
849
849
|
*
|
|
850
850
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -858,28 +858,28 @@ if (true) {
|
|
|
858
858
|
*/
|
|
859
859
|
var aa=__webpack_require__(1),n=__webpack_require__(21),r=__webpack_require__(22);function u(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!aa)throw Error(u(227));
|
|
860
860
|
function ba(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(m){this.onError(m)}}var da=!1,ea=null,fa=!1,ha=null,ia={onError:function(a){da=!0;ea=a}};function ja(a,b,c,d,e,f,g,h,k){da=!1;ea=null;ba.apply(ia,arguments)}function ka(a,b,c,d,e,f,g,h,k){ja.apply(this,arguments);if(da){if(da){var l=ea;da=!1;ea=null}else throw Error(u(198));fa||(fa=!0,ha=l)}}var la=null,ma=null,na=null;
|
|
861
|
-
function oa(a,b,c){var d=a.type||"unknown-event";a.currentTarget=na(c);ka(d,b,void 0,a);a.currentTarget=null}var pa=
|
|
862
|
-
var qa
|
|
863
|
-
|
|
864
|
-
function
|
|
865
|
-
|
|
866
|
-
function
|
|
867
|
-
function
|
|
868
|
-
|
|
869
|
-
function
|
|
870
|
-
function
|
|
871
|
-
|
|
872
|
-
"
|
|
873
|
-
["
|
|
874
|
-
|
|
875
|
-
"
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
function qb(a
|
|
861
|
+
function oa(a,b,c){var d=a.type||"unknown-event";a.currentTarget=na(c);ka(d,b,void 0,a);a.currentTarget=null}var pa=null,qa={};
|
|
862
|
+
function ra(){if(pa)for(var a in qa){var b=qa[a],c=pa.indexOf(a);if(!(-1<c))throw Error(u(96,a));if(!sa[c]){if(!b.extractEvents)throw Error(u(97,a));sa[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;if(ta.hasOwnProperty(h))throw Error(u(99,h));ta[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&ua(k[e],g,h);e=!0}else f.registrationName?(ua(f.registrationName,g,h),e=!0):e=!1;if(!e)throw Error(u(98,d,a));}}}}
|
|
863
|
+
function ua(a,b,c){if(va[a])throw Error(u(100,a));va[a]=b;wa[a]=b.eventTypes[c].dependencies}var sa=[],ta={},va={},wa={};function xa(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(!qa.hasOwnProperty(c)||qa[c]!==d){if(qa[c])throw Error(u(102,c));qa[c]=d;b=!0}}b&&ra()}var ya=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),za=null,Aa=null,Ba=null;
|
|
864
|
+
function Ca(a){if(a=ma(a)){if("function"!==typeof za)throw Error(u(280));var b=a.stateNode;b&&(b=la(b),za(a.stateNode,a.type,b))}}function Da(a){Aa?Ba?Ba.push(a):Ba=[a]:Aa=a}function Ea(){if(Aa){var a=Aa,b=Ba;Ba=Aa=null;Ca(a);if(b)for(a=0;a<b.length;a++)Ca(b[a])}}function Fa(a,b){return a(b)}function Ga(a,b,c,d,e){return a(b,c,d,e)}function Ha(){}var Ia=Fa,Ja=!1,Ka=!1;function La(){if(null!==Aa||null!==Ba)Ha(),Ea()}
|
|
865
|
+
function Ma(a,b,c){if(Ka)return a(b,c);Ka=!0;try{return Ia(a,b,c)}finally{Ka=!1,La()}}var Na=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Oa=Object.prototype.hasOwnProperty,Pa={},Qa={};
|
|
866
|
+
function Ra(a){if(Oa.call(Qa,a))return!0;if(Oa.call(Pa,a))return!1;if(Na.test(a))return Qa[a]=!0;Pa[a]=!0;return!1}function Sa(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}
|
|
867
|
+
function Ta(a,b,c,d){if(null===b||"undefined"===typeof b||Sa(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function v(a,b,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f}var C={};
|
|
868
|
+
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){C[a]=new v(a,0,!1,a,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];C[b]=new v(b,1,!1,a[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){C[a]=new v(a,2,!1,a.toLowerCase(),null,!1)});
|
|
869
|
+
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){C[a]=new v(a,2,!1,a,null,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){C[a]=new v(a,3,!1,a.toLowerCase(),null,!1)});
|
|
870
|
+
["checked","multiple","muted","selected"].forEach(function(a){C[a]=new v(a,3,!0,a,null,!1)});["capture","download"].forEach(function(a){C[a]=new v(a,4,!1,a,null,!1)});["cols","rows","size","span"].forEach(function(a){C[a]=new v(a,6,!1,a,null,!1)});["rowSpan","start"].forEach(function(a){C[a]=new v(a,5,!1,a.toLowerCase(),null,!1)});var Ua=/[\-:]([a-z])/g;function Va(a){return a[1].toUpperCase()}
|
|
871
|
+
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(Ua,
|
|
872
|
+
Va);C[b]=new v(b,1,!1,a,null,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,"http://www.w3.org/1999/xlink",!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1)});["tabIndex","crossOrigin"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!1)});
|
|
873
|
+
C.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!0)});var Wa=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Wa.hasOwnProperty("ReactCurrentDispatcher")||(Wa.ReactCurrentDispatcher={current:null});Wa.hasOwnProperty("ReactCurrentBatchConfig")||(Wa.ReactCurrentBatchConfig={suspense:null});
|
|
874
|
+
function Xa(a,b,c,d){var e=C.hasOwnProperty(b)?C[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1]?!1:!0;f||(Ta(b,c,e,d)&&(c=null),d||null===e?Ra(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}
|
|
875
|
+
var Ya=/^(.*)[\\\/]/,E="function"===typeof Symbol&&Symbol.for,Za=E?Symbol.for("react.element"):60103,$a=E?Symbol.for("react.portal"):60106,ab=E?Symbol.for("react.fragment"):60107,bb=E?Symbol.for("react.strict_mode"):60108,cb=E?Symbol.for("react.profiler"):60114,db=E?Symbol.for("react.provider"):60109,eb=E?Symbol.for("react.context"):60110,fb=E?Symbol.for("react.concurrent_mode"):60111,gb=E?Symbol.for("react.forward_ref"):60112,hb=E?Symbol.for("react.suspense"):60113,ib=E?Symbol.for("react.suspense_list"):
|
|
876
|
+
60120,jb=E?Symbol.for("react.memo"):60115,kb=E?Symbol.for("react.lazy"):60116,lb=E?Symbol.for("react.block"):60121,mb="function"===typeof Symbol&&Symbol.iterator;function nb(a){if(null===a||"object"!==typeof a)return null;a=mb&&a[mb]||a["@@iterator"];return"function"===typeof a?a:null}function ob(a){if(-1===a._status){a._status=0;var b=a._ctor;b=b();a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}}
|
|
877
|
+
function pb(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 ab:return"Fragment";case $a:return"Portal";case cb:return"Profiler";case bb:return"StrictMode";case hb:return"Suspense";case ib:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case eb:return"Context.Consumer";case db:return"Context.Provider";case gb:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":
|
|
878
|
+
"ForwardRef");case jb:return pb(a.type);case lb:return pb(a.render);case kb:if(a=1===a._status?a._result:null)return pb(a)}return null}function qb(a){var b="";do{a:switch(a.tag){case 3:case 4:case 6:case 7:case 10:case 9:var c="";break a;default:var d=a._debugOwner,e=a._debugSource,f=pb(a.type);c=null;d&&(c=pb(d.type));d=f;f="";e?f=" (at "+e.fileName.replace(Ya,"")+":"+e.lineNumber+")":c&&(f=" (created by "+c+")");c="\n in "+(d||"Unknown")+f}b+=c;a=a.return}while(a);return b}
|
|
879
879
|
function rb(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a;default:return""}}function sb(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}
|
|
880
880
|
function tb(a){var b=sb(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:!0,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=
|
|
881
881
|
null;delete a[b]}}}}function xb(a){a._valueTracker||(a._valueTracker=tb(a))}function yb(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=sb(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function zb(a,b){var c=b.checked;return n({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}
|
|
882
|
-
function Ab(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=rb(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 Bb(a,b){b=b.checked;null!=b&&
|
|
882
|
+
function Ab(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=rb(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 Bb(a,b){b=b.checked;null!=b&&Xa(a,"checked",b,!1)}
|
|
883
883
|
function Cb(a,b){Bb(a,b);var c=rb(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")?Db(a,b.type,c):b.hasOwnProperty("defaultValue")&&Db(a,b.type,rb(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}
|
|
884
884
|
function Eb(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)}
|
|
885
885
|
function Db(a,b,c){if("number"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c)}function Fb(a){var b="";aa.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function Gb(a,b){a=n({children:void 0},b);if(b=Fb(b.children))a.children=b;return a}
|
|
@@ -889,16 +889,16 @@ function Kb(a,b){var c=rb(b.value),d=rb(b.defaultValue);null!=c&&(c=""+c,c!==a.v
|
|
|
889
889
|
function Nb(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"}}function Ob(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Nb(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}
|
|
890
890
|
var Pb,Qb=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(a.namespaceURI!==Mb.svg||"innerHTML"in a)a.innerHTML=b;else{Pb=Pb||document.createElement("div");Pb.innerHTML="<svg>"+b.valueOf().toString()+"</svg>";for(b=Pb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});
|
|
891
891
|
function Rb(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}function Sb(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var Tb={animationend:Sb("Animation","AnimationEnd"),animationiteration:Sb("Animation","AnimationIteration"),animationstart:Sb("Animation","AnimationStart"),transitionend:Sb("Transition","TransitionEnd")},Ub={},Vb={};
|
|
892
|
-
|
|
892
|
+
ya&&(Vb=document.createElement("div").style,"AnimationEvent"in window||(delete Tb.animationend.animation,delete Tb.animationiteration.animation,delete Tb.animationstart.animation),"TransitionEvent"in window||delete Tb.transitionend.transition);function Wb(a){if(Ub[a])return Ub[a];if(!Tb[a])return a;var b=Tb[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Vb)return Ub[a]=b[c];return a}
|
|
893
893
|
var Xb=Wb("animationend"),Yb=Wb("animationiteration"),Zb=Wb("animationstart"),$b=Wb("transitionend"),ac="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),bc=new ("function"===typeof WeakMap?WeakMap:Map);function cc(a){var b=bc.get(a);void 0===b&&(b=new Map,bc.set(a,b));return b}
|
|
894
894
|
function dc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function ec(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function fc(a){if(dc(a)!==a)throw Error(u(188));}
|
|
895
895
|
function gc(a){var b=a.alternate;if(!b){b=dc(a);if(null===b)throw Error(u(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return fc(e),a;if(f===d)return fc(e),b;f=f.sibling}throw Error(u(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===
|
|
896
896
|
c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(u(189));}}if(c.alternate!==d)throw Error(u(190));}if(3!==c.tag)throw Error(u(188));return c.stateNode.current===c?a:b}function hc(a){a=gc(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}
|
|
897
897
|
function ic(a,b){if(null==b)throw Error(u(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function jc(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}var kc=null;
|
|
898
898
|
function lc(a){if(a){var b=a._dispatchListeners,c=a._dispatchInstances;if(Array.isArray(b))for(var d=0;d<b.length&&!a.isPropagationStopped();d++)oa(a,b[d],c[d]);else b&&oa(a,b,c);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}}function mc(a){null!==a&&(kc=ic(kc,a));a=kc;kc=null;if(a){jc(a,lc);if(kc)throw Error(u(95));if(fa)throw a=ha,fa=!1,ha=null,a;}}
|
|
899
|
-
function nc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function oc(a){if(!
|
|
899
|
+
function nc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function oc(a){if(!ya)return!1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}var pc=[];function qc(a){a.topLevelType=null;a.nativeEvent=null;a.targetInst=null;a.ancestors.length=0;10>pc.length&&pc.push(a)}
|
|
900
900
|
function rc(a,b,c,d){if(pc.length){var e=pc.pop();e.topLevelType=a;e.eventSystemFlags=d;e.nativeEvent=b;e.targetInst=c;return e}return{topLevelType:a,eventSystemFlags:d,nativeEvent:b,targetInst:c,ancestors:[]}}
|
|
901
|
-
function sc(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d=c;if(3===d.tag)d=d.stateNode.containerInfo;else{for(;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo}if(!d)break;b=c.tag;5!==b&&6!==b||a.ancestors.push(c);c=tc(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=nc(a.nativeEvent);d=a.topLevelType;var f=a.nativeEvent,g=a.eventSystemFlags;0===c&&(g|=64);for(var h=null,k=0;k<
|
|
901
|
+
function sc(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d=c;if(3===d.tag)d=d.stateNode.containerInfo;else{for(;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo}if(!d)break;b=c.tag;5!==b&&6!==b||a.ancestors.push(c);c=tc(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=nc(a.nativeEvent);d=a.topLevelType;var f=a.nativeEvent,g=a.eventSystemFlags;0===c&&(g|=64);for(var h=null,k=0;k<sa.length;k++){var l=sa[k];l&&(l=l.extractEvents(d,b,f,e,g))&&(h=
|
|
902
902
|
ic(h,l))}mc(h)}}function uc(a,b,c){if(!c.has(a)){switch(a){case "scroll":vc(b,"scroll",!0);break;case "focus":case "blur":vc(b,"focus",!0);vc(b,"blur",!0);c.set("blur",null);c.set("focus",null);break;case "cancel":case "close":oc(a)&&vc(b,a,!0);break;case "invalid":case "submit":case "reset":break;default:-1===ac.indexOf(a)&&F(a,b)}c.set(a,null)}}
|
|
903
903
|
var wc,xc,yc,zc=!1,Ac=[],Bc=null,Cc=null,Dc=null,Ec=new Map,Fc=new Map,Gc=[],Hc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Ic="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");
|
|
904
904
|
function Jc(a,b){var c=cc(b);Hc.forEach(function(a){uc(a,b,c)});Ic.forEach(function(a){uc(a,b,c)})}function Kc(a,b,c,d,e){return{blockedOn:a,topLevelType:b,eventSystemFlags:c|32,nativeEvent:e,container:d}}
|
|
@@ -911,14 +911,14 @@ var Wc={},Yc=new Map,Zc=new Map,$c=["abort","abort",Xb,"animationEnd",Yb,"animat
|
|
|
911
911
|
"seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",$b,"transitionEnd","waiting","waiting"];function ad(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1],f="on"+(e[0].toUpperCase()+e.slice(1));f={phasedRegistrationNames:{bubbled:f,captured:f+"Capture"},dependencies:[d],eventPriority:b};Zc.set(d,b);Yc.set(d,f);Wc[e]=f}}
|
|
912
912
|
ad("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);
|
|
913
913
|
ad("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);ad($c,2);for(var bd="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),cd=0;cd<bd.length;cd++)Zc.set(bd[cd],0);
|
|
914
|
-
var dd=r.unstable_UserBlockingPriority,ed=r.unstable_runWithPriority,fd=!0;function F(a,b){vc(b,a,!1)}function vc(a,b,c){var d=Zc.get(b);switch(void 0===d?2:d){case 0:d=gd.bind(null,b,1,a);break;case 1:d=hd.bind(null,b,1,a);break;default:d=id.bind(null,b,1,a)}c?a.addEventListener(b,d,!0):a.addEventListener(b,d,!1)}function gd(a,b,c,d){
|
|
915
|
-
function id(a,b,c,d){if(fd)if(0<Ac.length&&-1<Hc.indexOf(a))a=Kc(null,a,b,c,d),Ac.push(a);else{var e=Rc(a,b,c,d);if(null===e)Lc(a,d);else if(-1<Hc.indexOf(a))a=Kc(e,a,b,c,d),Ac.push(a);else if(!Oc(e,a,b,c,d)){Lc(a,d);a=rc(a,d,null,b);try{
|
|
916
|
-
function Rc(a,b,c,d){c=nc(d);c=tc(c);if(null!==c){var e=dc(c);if(null===e)c=null;else{var f=e.tag;if(13===f){c=ec(e);if(null!==c)return c;c=null}else if(3===f){if(e.stateNode.hydrate)return 3===e.tag?e.stateNode.containerInfo:null;c=null}else e!==c&&(c=null)}}a=rc(a,d,c,b);try{
|
|
914
|
+
var dd=r.unstable_UserBlockingPriority,ed=r.unstable_runWithPriority,fd=!0;function F(a,b){vc(b,a,!1)}function vc(a,b,c){var d=Zc.get(b);switch(void 0===d?2:d){case 0:d=gd.bind(null,b,1,a);break;case 1:d=hd.bind(null,b,1,a);break;default:d=id.bind(null,b,1,a)}c?a.addEventListener(b,d,!0):a.addEventListener(b,d,!1)}function gd(a,b,c,d){Ja||Ha();var e=id,f=Ja;Ja=!0;try{Ga(e,a,b,c,d)}finally{(Ja=f)||La()}}function hd(a,b,c,d){ed(dd,id.bind(null,a,b,c,d))}
|
|
915
|
+
function id(a,b,c,d){if(fd)if(0<Ac.length&&-1<Hc.indexOf(a))a=Kc(null,a,b,c,d),Ac.push(a);else{var e=Rc(a,b,c,d);if(null===e)Lc(a,d);else if(-1<Hc.indexOf(a))a=Kc(e,a,b,c,d),Ac.push(a);else if(!Oc(e,a,b,c,d)){Lc(a,d);a=rc(a,d,null,b);try{Ma(sc,a)}finally{qc(a)}}}}
|
|
916
|
+
function Rc(a,b,c,d){c=nc(d);c=tc(c);if(null!==c){var e=dc(c);if(null===e)c=null;else{var f=e.tag;if(13===f){c=ec(e);if(null!==c)return c;c=null}else if(3===f){if(e.stateNode.hydrate)return 3===e.tag?e.stateNode.containerInfo:null;c=null}else e!==c&&(c=null)}}a=rc(a,d,c,b);try{Ma(sc,a)}finally{qc(a)}return null}
|
|
917
917
|
var jd={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,
|
|
918
918
|
floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},kd=["Webkit","ms","Moz","O"];Object.keys(jd).forEach(function(a){kd.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);jd[b]=jd[a]})});function ld(a,b,c){return null==b||"boolean"===typeof b||""===b?"":c||"number"!==typeof b||0===b||jd.hasOwnProperty(a)&&jd[a]?(""+b).trim():b+"px"}
|
|
919
919
|
function md(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--"),e=ld(c,b[c],d);"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}var nd=n({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});
|
|
920
920
|
function od(a,b){if(b){if(nd[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(u(137,a,""));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(u(60));if(!("object"===typeof b.dangerouslySetInnerHTML&&"__html"in b.dangerouslySetInnerHTML))throw Error(u(61));}if(null!=b.style&&"object"!==typeof b.style)throw Error(u(62,""));}}
|
|
921
|
-
function pd(a,b){if(-1===a.indexOf("-"))return"string"===typeof b.is;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}}var qd=Mb.html;function rd(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=cc(a);b=
|
|
921
|
+
function pd(a,b){if(-1===a.indexOf("-"))return"string"===typeof b.is;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}}var qd=Mb.html;function rd(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=cc(a);b=wa[b];for(var d=0;d<b.length;d++)uc(b[d],a,c)}function sd(){}
|
|
922
922
|
function td(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}}function ud(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function vd(a,b){var c=ud(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=ud(c)}}
|
|
923
923
|
function wd(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?wd(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function xd(){for(var a=window,b=td();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=td(a.document)}return b}
|
|
924
924
|
function yd(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)}var zd="$",Ad="/$",Bd="$?",Cd="$!",Dd=null,Ed=null;function Fd(a,b){switch(a){case "button":case "input":case "select":case "textarea":return!!b.autoFocus}return!1}
|
|
@@ -934,15 +934,15 @@ function G(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;
|
|
|
934
934
|
n(G.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=be)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=be)},persist:function(){this.isPersistent=be},isPersistent:ce,destructor:function(){var a=this.constructor.Interface,
|
|
935
935
|
b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=ce;this._dispatchInstances=this._dispatchListeners=null}});G.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};
|
|
936
936
|
G.extend=function(a){function b(){}function c(){return d.apply(this,arguments)}var d=this;b.prototype=d.prototype;var e=new b;n(e,c.prototype);c.prototype=e;c.prototype.constructor=c;c.Interface=n({},d.Interface,a);c.extend=d.extend;de(c);return c};de(G);function ee(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);return e}return new this(a,b,c,d)}
|
|
937
|
-
function fe(a){if(!(a instanceof this))throw Error(u(279));a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function de(a){a.eventPool=[];a.getPooled=ee;a.release=fe}var ge=G.extend({data:null}),he=G.extend({data:null}),ie=[9,13,27,32],je=
|
|
938
|
-
var le=
|
|
937
|
+
function fe(a){if(!(a instanceof this))throw Error(u(279));a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function de(a){a.eventPool=[];a.getPooled=ee;a.release=fe}var ge=G.extend({data:null}),he=G.extend({data:null}),ie=[9,13,27,32],je=ya&&"CompositionEvent"in window,ke=null;ya&&"documentMode"in document&&(ke=document.documentMode);
|
|
938
|
+
var le=ya&&"TextEvent"in window&&!ke,me=ya&&(!je||ke&&8<ke&&11>=ke),ne=String.fromCharCode(32),oe={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",
|
|
939
939
|
captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},pe=!1;
|
|
940
940
|
function qe(a,b){switch(a){case "keyup":return-1!==ie.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function re(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var se=!1;function te(a,b){switch(a){case "compositionend":return re(b);case "keypress":if(32!==b.which)return null;pe=!0;return ne;case "textInput":return a=b.data,a===ne&&pe?null:a;default:return null}}
|
|
941
941
|
function ue(a,b){if(se)return"compositionend"===a||!je&&qe(a,b)?(a=ae(),$d=Zd=Yd=null,se=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return me&&"ko"!==b.locale?null:b.data;default:return null}}
|
|
942
942
|
var ve={eventTypes:oe,extractEvents:function(a,b,c,d){var e;if(je)b:{switch(a){case "compositionstart":var f=oe.compositionStart;break b;case "compositionend":f=oe.compositionEnd;break b;case "compositionupdate":f=oe.compositionUpdate;break b}f=void 0}else se?qe(a,c)&&(f=oe.compositionEnd):"keydown"===a&&229===c.keyCode&&(f=oe.compositionStart);f?(me&&"ko"!==c.locale&&(se||f!==oe.compositionStart?f===oe.compositionEnd&&se&&(e=ae()):(Yd=d,Zd="value"in Yd?Yd.value:Yd.textContent,se=!0)),f=ge.getPooled(f,
|
|
943
943
|
b,c,d),e?f.data=e:(e=re(c),null!==e&&(f.data=e)),Xd(f),e=f):e=null;(a=le?te(a,c):ue(a,c))?(b=he.getPooled(oe.beforeInput,b,c,d),b.data=a,Xd(b)):b=null;return null===e?b:null===b?e:[e,b]}},we={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function xe(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!we[a.type]:"textarea"===b?!0:!1}
|
|
944
|
-
var ye={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function ze(a,b,c){a=G.getPooled(ye.change,a,b,c);a.type="change";
|
|
945
|
-
function Ge(){Ae&&(Ae.detachEvent("onpropertychange",He),Be=Ae=null)}function He(a){if("value"===a.propertyName&&De(Be))if(a=ze(Be,a,nc(a)),
|
|
944
|
+
var ye={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function ze(a,b,c){a=G.getPooled(ye.change,a,b,c);a.type="change";Da(c);Xd(a);return a}var Ae=null,Be=null;function Ce(a){mc(a)}function De(a){var b=Pd(a);if(yb(b))return a}function Ee(a,b){if("change"===a)return b}var Fe=!1;ya&&(Fe=oc("input")&&(!document.documentMode||9<document.documentMode));
|
|
945
|
+
function Ge(){Ae&&(Ae.detachEvent("onpropertychange",He),Be=Ae=null)}function He(a){if("value"===a.propertyName&&De(Be))if(a=ze(Be,a,nc(a)),Ja)mc(a);else{Ja=!0;try{Fa(Ce,a)}finally{Ja=!1,La()}}}function Ie(a,b,c){"focus"===a?(Ge(),Ae=b,Be=c,Ae.attachEvent("onpropertychange",He)):"blur"===a&&Ge()}function Je(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return De(Be)}function Ke(a,b){if("click"===a)return De(b)}function Le(a,b){if("input"===a||"change"===a)return De(b)}
|
|
946
946
|
var Me={eventTypes:ye,_isInputEventSupported:Fe,extractEvents:function(a,b,c,d){var e=b?Pd(b):window,f=e.nodeName&&e.nodeName.toLowerCase();if("select"===f||"input"===f&&"file"===e.type)var g=Ee;else if(xe(e))if(Fe)g=Le;else{g=Je;var h=Ie}else(f=e.nodeName)&&"input"===f.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)&&(g=Ke);if(g&&(g=g(a,b)))return ze(g,c,d);h&&h(a,e,b);"blur"===a&&(a=e._wrapperState)&&a.controlled&&"number"===e.type&&Db(e,"number",e.value)}},Ne=G.extend({view:null,detail:null}),
|
|
947
947
|
Oe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pe(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Oe[a])?!!b[a]:!1}function Qe(){return Pe}
|
|
948
948
|
var Re=0,Se=0,Te=!1,Ue=!1,Ve=Ne.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Qe,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if("movementX"in a)return a.movementX;var b=Re;Re=a.screenX;return Te?"mousemove"===a.type?a.screenX-b:0:(Te=!0,0)},movementY:function(a){if("movementY"in a)return a.movementY;
|
|
@@ -951,18 +951,18 @@ dependencies:["pointerout","pointerover"]}},Ye={eventTypes:Xe,extractEvents:func
|
|
|
951
951
|
a){var k=Ve;var l=Xe.mouseLeave;var m=Xe.mouseEnter;var p="mouse"}else if("pointerout"===a||"pointerover"===a)k=We,l=Xe.pointerLeave,m=Xe.pointerEnter,p="pointer";a=null==g?f:Pd(g);f=null==b?f:Pd(b);l=k.getPooled(l,g,c,d);l.type=p+"leave";l.target=a;l.relatedTarget=f;c=k.getPooled(m,b,c,d);c.type=p+"enter";c.target=f;c.relatedTarget=a;d=g;p=b;if(d&&p)a:{k=d;m=p;g=0;for(a=k;a;a=Rd(a))g++;a=0;for(b=m;b;b=Rd(b))a++;for(;0<g-a;)k=Rd(k),g--;for(;0<a-g;)m=Rd(m),a--;for(;g--;){if(k===m||k===m.alternate)break a;
|
|
952
952
|
k=Rd(k);m=Rd(m)}k=null}else k=null;m=k;for(k=[];d&&d!==m;){g=d.alternate;if(null!==g&&g===m)break;k.push(d);d=Rd(d)}for(d=[];p&&p!==m;){g=p.alternate;if(null!==g&&g===m)break;d.push(p);p=Rd(p)}for(p=0;p<k.length;p++)Vd(k[p],"bubbled",l);for(p=d.length;0<p--;)Vd(d[p],"captured",c);return 0===(e&64)?[l]:[l,c]}};function Ze(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var $e="function"===typeof Object.is?Object.is:Ze,af=Object.prototype.hasOwnProperty;
|
|
953
953
|
function bf(a,b){if($e(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!af.call(b,c[d])||!$e(a[c[d]],b[c[d]]))return!1;return!0}
|
|
954
|
-
var cf=
|
|
954
|
+
var cf=ya&&"documentMode"in document&&11>=document.documentMode,df={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ef=null,ff=null,gf=null,hf=!1;
|
|
955
955
|
function jf(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(hf||null==ef||ef!==td(c))return null;c=ef;"selectionStart"in c&&yd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return gf&&bf(gf,c)?null:(gf=c,a=G.getPooled(df.select,ff,a,b),a.type="select",a.target=ef,Xd(a),a)}
|
|
956
|
-
var kf={eventTypes:df,extractEvents:function(a,b,c,d,e,f){e=f||(d.window===d?d.document:9===d.nodeType?d:d.ownerDocument);if(!(f=!e)){a:{e=cc(e);f=
|
|
956
|
+
var kf={eventTypes:df,extractEvents:function(a,b,c,d,e,f){e=f||(d.window===d?d.document:9===d.nodeType?d:d.ownerDocument);if(!(f=!e)){a:{e=cc(e);f=wa.onSelect;for(var g=0;g<f.length;g++)if(!e.has(f[g])){e=!1;break a}e=!0}f=!e}if(f)return null;e=b?Pd(b):window;switch(a){case "focus":if(xe(e)||"true"===e.contentEditable)ef=e,ff=b,gf=null;break;case "blur":gf=ff=ef=null;break;case "mousedown":hf=!0;break;case "contextmenu":case "mouseup":case "dragend":return hf=!1,jf(c,d);case "selectionchange":if(cf)break;
|
|
957
957
|
case "keydown":case "keyup":return jf(c,d)}return null}},lf=G.extend({animationName:null,elapsedTime:null,pseudoElement:null}),mf=G.extend({clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),nf=Ne.extend({relatedTarget:null});function of(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}
|
|
958
958
|
var pf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qf={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",
|
|
959
959
|
116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rf=Ne.extend({key:function(a){if(a.key){var b=pf[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=of(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?qf[a.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Qe,charCode:function(a){return"keypress"===
|
|
960
960
|
a.type?of(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===a.type?of(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),sf=Ve.extend({dataTransfer:null}),tf=Ne.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Qe}),uf=G.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),vf=Ve.extend({deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in
|
|
961
961
|
a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null}),wf={eventTypes:Wc,extractEvents:function(a,b,c,d){var e=Yc.get(a);if(!e)return null;switch(a){case "keypress":if(0===of(c))return null;case "keydown":case "keyup":a=rf;break;case "blur":case "focus":a=nf;break;case "click":if(2===c.button)return null;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":a=
|
|
962
962
|
Ve;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":a=sf;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":a=tf;break;case Xb:case Yb:case Zb:a=lf;break;case $b:a=uf;break;case "scroll":a=Ne;break;case "wheel":a=vf;break;case "copy":case "cut":case "paste":a=mf;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":a=
|
|
963
|
-
We;break;default:a=G}b=a.getPooled(e,b,c,d);Xd(b);return b}};if(
|
|
963
|
+
We;break;default:a=G}b=a.getPooled(e,b,c,d);Xd(b);return b}};if(pa)throw Error(u(101));pa=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));ra();var xf=Nc;la=Qd;ma=xf;na=Pd;xa({SimpleEventPlugin:wf,EnterLeaveEventPlugin:Ye,ChangeEventPlugin:Me,SelectEventPlugin:kf,BeforeInputEventPlugin:ve});var yf=[],zf=-1;function H(a){0>zf||(a.current=yf[zf],yf[zf]=null,zf--)}
|
|
964
964
|
function I(a,b){zf++;yf[zf]=a.current;a.current=b}var Af={},J={current:Af},K={current:!1},Bf=Af;function Cf(a,b){var c=a.type.contextTypes;if(!c)return Af;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}function L(a){a=a.childContextTypes;return null!==a&&void 0!==a}
|
|
965
|
-
function Df(){H(K);H(J)}function Ef(a,b,c){if(J.current!==Af)throw Error(u(168));I(J,b);I(K,c)}function Ff(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(u(108,
|
|
965
|
+
function Df(){H(K);H(J)}function Ef(a,b,c){if(J.current!==Af)throw Error(u(168));I(J,b);I(K,c)}function Ff(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(u(108,pb(b)||"Unknown",e));return n({},c,{},d)}function Gf(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Af;Bf=J.current;I(J,a);I(K,K.current);return!0}
|
|
966
966
|
function Hf(a,b,c){var d=a.stateNode;if(!d)throw Error(u(169));c?(a=Ff(a,b,Bf),d.__reactInternalMemoizedMergedChildContext=a,H(K),H(J),I(J,a)):H(K);I(K,c)}
|
|
967
967
|
var If=r.unstable_runWithPriority,Jf=r.unstable_scheduleCallback,Kf=r.unstable_cancelCallback,Lf=r.unstable_requestPaint,Mf=r.unstable_now,Nf=r.unstable_getCurrentPriorityLevel,Of=r.unstable_ImmediatePriority,Pf=r.unstable_UserBlockingPriority,Qf=r.unstable_NormalPriority,Rf=r.unstable_LowPriority,Sf=r.unstable_IdlePriority,Tf={},Uf=r.unstable_shouldYield,Vf=void 0!==Lf?Lf:function(){},Wf=null,Xf=null,Yf=!1,Zf=Mf(),$f=1E4>Zf?Mf:function(){return Mf()-Zf};
|
|
968
968
|
function ag(){switch(Nf()){case Of:return 99;case Pf:return 98;case Qf:return 97;case Rf:return 96;case Sf:return 95;default:throw Error(u(332));}}function bg(a){switch(a){case 99:return Of;case 98:return Pf;case 97:return Qf;case 96:return Rf;case 95:return Sf;default:throw Error(u(332));}}function cg(a,b){a=bg(a);return If(a,b)}function dg(a,b,c){a=bg(a);return Jf(a,b,c)}function eg(a){null===Wf?(Wf=[a],Xf=Jf(Of,fg)):Wf.push(a);return Tf}function gg(){if(null!==Xf){var a=Xf;Xf=null;Kf(a)}fg()}
|
|
@@ -974,7 +974,7 @@ function yg(a,b){var c=a.alternate;null!==c&&vg(c,a);a=a.updateQueue;c=a.baseQue
|
|
|
974
974
|
function zg(a,b,c,d){var e=a.updateQueue;tg=!1;var f=e.baseQueue,g=e.shared.pending;if(null!==g){if(null!==f){var h=f.next;f.next=g.next;g.next=h}f=g;e.shared.pending=null;h=a.alternate;null!==h&&(h=h.updateQueue,null!==h&&(h.baseQueue=g))}if(null!==f){h=f.next;var k=e.baseState,l=0,m=null,p=null,x=null;if(null!==h){var z=h;do{g=z.expirationTime;if(g<d){var ca={expirationTime:z.expirationTime,suspenseConfig:z.suspenseConfig,tag:z.tag,payload:z.payload,callback:z.callback,next:null};null===x?(p=x=
|
|
975
975
|
ca,m=k):x=x.next=ca;g>l&&(l=g)}else{null!==x&&(x=x.next={expirationTime:1073741823,suspenseConfig:z.suspenseConfig,tag:z.tag,payload:z.payload,callback:z.callback,next:null});Ag(g,z.suspenseConfig);a:{var D=a,t=z;g=b;ca=c;switch(t.tag){case 1:D=t.payload;if("function"===typeof D){k=D.call(ca,k,g);break a}k=D;break a;case 3:D.effectTag=D.effectTag&-4097|64;case 0:D=t.payload;g="function"===typeof D?D.call(ca,k,g):D;if(null===g||void 0===g)break a;k=n({},k,g);break a;case 2:tg=!0}}null!==z.callback&&
|
|
976
976
|
(a.effectTag|=32,g=e.effects,null===g?e.effects=[z]:g.push(z))}z=z.next;if(null===z||z===h)if(g=e.shared.pending,null===g)break;else z=f.next=g.next,g.next=h,e.baseQueue=f=g,e.shared.pending=null}while(1)}null===x?m=k:x.next=p;e.baseState=m;e.baseQueue=x;Bg(l);a.expirationTime=l;a.memoizedState=k}}
|
|
977
|
-
function Cg(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=e;e=c;if("function"!==typeof d)throw Error(u(191,d));d.call(e)}}}var Dg=
|
|
977
|
+
function Cg(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=e;e=c;if("function"!==typeof d)throw Error(u(191,d));d.call(e)}}}var Dg=Wa.ReactCurrentBatchConfig,Eg=(new aa.Component).refs;function Fg(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:n({},b,c);a.memoizedState=c;0===a.expirationTime&&(a.updateQueue.baseState=c)}
|
|
978
978
|
var Jg={isMounted:function(a){return(a=a._reactInternalFiber)?dc(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=Gg(),e=Dg.suspense;d=Hg(d,a,e);e=wg(d,e);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);xg(a,e);Ig(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=Gg(),e=Dg.suspense;d=Hg(d,a,e);e=wg(d,e);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);xg(a,e);Ig(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=Gg(),d=Dg.suspense;
|
|
979
979
|
c=Hg(c,a,d);d=wg(c,d);d.tag=2;void 0!==b&&null!==b&&(d.callback=b);xg(a,d);Ig(a,c)}};function Kg(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?!bf(c,d)||!bf(e,f):!0}
|
|
980
980
|
function Lg(a,b,c){var d=!1,e=Af;var f=b.contextType;"object"===typeof f&&null!==f?f=sg(f):(e=L(b)?Bf:J.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Cf(a,e):Af);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Jg;a.stateNode=b;b._reactInternalFiber=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}
|
|
@@ -985,17 +985,17 @@ function Pg(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof
|
|
|
985
985
|
function Qg(a,b){if("textarea"!==a.type)throw Error(u(31,"[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,""));}
|
|
986
986
|
function Rg(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b){a=Sg(a,b);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=
|
|
987
987
|
2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=Tg(c,a.mode,d),b.return=a,b;b=e(b,c);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props),d.ref=Pg(a,b,c),d.return=a,d;d=Ug(c.type,c.key,c.props,null,a.mode,d);d.ref=Pg(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==
|
|
988
|
-
c.implementation)return b=Vg(c,a.mode,d),b.return=a,b;b=e(b,c.children||[]);b.return=a;return b}function m(a,b,c,d,f){if(null===b||7!==b.tag)return b=Wg(c,a.mode,d,f),b.return=a,b;b=e(b,c);b.return=a;return b}function p(a,b,c){if("string"===typeof b||"number"===typeof b)return b=Tg(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case
|
|
989
|
-
|
|
990
|
-
a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case
|
|
991
|
-
m&&null===q.alternate&&b(e,m);g=f(q,g,y);null===t?l=q:t.sibling=q;t=q;m=A}if(y===h.length)return c(e,m),l;if(null===m){for(;y<h.length;y++)m=p(e,h[y],k),null!==m&&(g=f(m,g,y),null===t?l=m:t.sibling=m,t=m);return l}for(m=d(e,m);y<h.length;y++)A=z(m,e,y,h[y],k),null!==A&&(a&&null!==A.alternate&&m.delete(null===A.key?y:A.key),g=f(A,g,y),null===t?l=A:t.sibling=A,t=A);a&&m.forEach(function(a){return b(e,a)});return l}function D(e,g,h,l){var k=
|
|
988
|
+
c.implementation)return b=Vg(c,a.mode,d),b.return=a,b;b=e(b,c.children||[]);b.return=a;return b}function m(a,b,c,d,f){if(null===b||7!==b.tag)return b=Wg(c,a.mode,d,f),b.return=a,b;b=e(b,c);b.return=a;return b}function p(a,b,c){if("string"===typeof b||"number"===typeof b)return b=Tg(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case Za:return c=Ug(b.type,b.key,b.props,null,a.mode,c),c.ref=Pg(a,null,b),c.return=a,c;case $a:return b=Vg(b,a.mode,c),b.return=a,b}if(Og(b)||
|
|
989
|
+
nb(b))return b=Wg(b,a.mode,c,null),b.return=a,b;Qg(a,b)}return null}function x(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case Za:return c.key===e?c.type===ab?m(a,b,c.props.children,d,e):k(a,b,c,d):null;case $a:return c.key===e?l(a,b,c,d):null}if(Og(c)||nb(c))return null!==e?null:m(a,b,c,d,null);Qg(a,c)}return null}function z(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=
|
|
990
|
+
a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case Za:return a=a.get(null===d.key?c:d.key)||null,d.type===ab?m(b,a,d.props.children,e,d.key):k(b,a,d,e);case $a:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(Og(d)||nb(d))return a=a.get(c)||null,m(b,a,d,e,null);Qg(b,d)}return null}function ca(e,g,h,k){for(var l=null,t=null,m=g,y=g=0,A=null;null!==m&&y<h.length;y++){m.index>y?(A=m,m=null):A=m.sibling;var q=x(e,m,h[y],k);if(null===q){null===m&&(m=A);break}a&&
|
|
991
|
+
m&&null===q.alternate&&b(e,m);g=f(q,g,y);null===t?l=q:t.sibling=q;t=q;m=A}if(y===h.length)return c(e,m),l;if(null===m){for(;y<h.length;y++)m=p(e,h[y],k),null!==m&&(g=f(m,g,y),null===t?l=m:t.sibling=m,t=m);return l}for(m=d(e,m);y<h.length;y++)A=z(m,e,y,h[y],k),null!==A&&(a&&null!==A.alternate&&m.delete(null===A.key?y:A.key),g=f(A,g,y),null===t?l=A:t.sibling=A,t=A);a&&m.forEach(function(a){return b(e,a)});return l}function D(e,g,h,l){var k=nb(h);if("function"!==typeof k)throw Error(u(150));h=k.call(h);
|
|
992
992
|
if(null==h)throw Error(u(151));for(var m=k=null,t=g,y=g=0,A=null,q=h.next();null!==t&&!q.done;y++,q=h.next()){t.index>y?(A=t,t=null):A=t.sibling;var D=x(e,t,q.value,l);if(null===D){null===t&&(t=A);break}a&&t&&null===D.alternate&&b(e,t);g=f(D,g,y);null===m?k=D:m.sibling=D;m=D;t=A}if(q.done)return c(e,t),k;if(null===t){for(;!q.done;y++,q=h.next())q=p(e,q.value,l),null!==q&&(g=f(q,g,y),null===m?k=q:m.sibling=q,m=q);return k}for(t=d(e,t);!q.done;y++,q=h.next())q=z(t,e,y,q.value,l),null!==q&&(a&&null!==
|
|
993
|
-
q.alternate&&t.delete(null===q.key?y:q.key),g=f(q,g,y),null===m?k=q:m.sibling=q,m=q);a&&t.forEach(function(a){return b(e,a)});return k}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===
|
|
994
|
-
k.sibling);d=e(k,f.props);d.ref=Pg(a,k,f);d.return=a;a=d;break a}}c(a,k);break}else b(a,k);k=k.sibling}f.type===
|
|
995
|
-
d.sibling}d=Vg(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=Tg(f,a.mode,h),d.return=a,a=d),g(a);if(Og(f))return ca(a,d,f,h);if(
|
|
993
|
+
q.alternate&&t.delete(null===q.key?y:q.key),g=f(q,g,y),null===m?k=q:m.sibling=q,m=q);a&&t.forEach(function(a){return b(e,a)});return k}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===ab&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case Za:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){switch(k.tag){case 7:if(f.type===ab){c(a,k.sibling);d=e(k,f.props.children);d.return=a;a=d;break a}break;default:if(k.elementType===f.type){c(a,
|
|
994
|
+
k.sibling);d=e(k,f.props);d.ref=Pg(a,k,f);d.return=a;a=d;break a}}c(a,k);break}else b(a,k);k=k.sibling}f.type===ab?(d=Wg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Ug(f.type,f.key,f.props,null,a.mode,h),h.ref=Pg(a,d,f),h.return=a,a=h)}return g(a);case $a:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=
|
|
995
|
+
d.sibling}d=Vg(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=Tg(f,a.mode,h),d.return=a,a=d),g(a);if(Og(f))return ca(a,d,f,h);if(nb(f))return D(a,d,f,h);l&&Qg(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 0:throw a=a.type,Error(u(152,a.displayName||a.name||"Component"));}return c(a,d)}}var Xg=Rg(!0),Yg=Rg(!1),Zg={},$g={current:Zg},ah={current:Zg},bh={current:Zg};
|
|
996
996
|
function ch(a){if(a===Zg)throw Error(u(174));return a}function dh(a,b){I(bh,b);I(ah,a);I($g,Zg);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Ob(null,"");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=Ob(b,a)}H($g);I($g,b)}function eh(){H($g);H(ah);H(bh)}function fh(a){ch(bh.current);var b=ch($g.current);var c=Ob(b,a.type);b!==c&&(I(ah,a),I($g,c))}function gh(a){ah.current===a&&(H($g),H(ah))}var M={current:0};
|
|
997
997
|
function hh(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===Bd||c.data===Cd))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))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}function ih(a,b){return{responder:a,props:b}}
|
|
998
|
-
var jh=
|
|
998
|
+
var jh=Wa.ReactCurrentDispatcher,kh=Wa.ReactCurrentBatchConfig,lh=0,N=null,O=null,P=null,mh=!1;function Q(){throw Error(u(321));}function nh(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!$e(a[c],b[c]))return!1;return!0}
|
|
999
999
|
function oh(a,b,c,d,e,f){lh=f;N=b;b.memoizedState=null;b.updateQueue=null;b.expirationTime=0;jh.current=null===a||null===a.memoizedState?ph:qh;a=c(d,e);if(b.expirationTime===lh){f=0;do{b.expirationTime=0;if(!(25>f))throw Error(u(301));f+=1;P=O=null;b.updateQueue=null;jh.current=rh;a=c(d,e)}while(b.expirationTime===lh)}jh.current=sh;b=null!==O&&null!==O.next;lh=0;P=O=N=null;mh=!1;if(b)throw Error(u(300));return a}
|
|
1000
1000
|
function th(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===P?N.memoizedState=P=a:P=P.next=a;return P}function uh(){if(null===O){var a=N.alternate;a=null!==a?a.memoizedState:null}else a=O.next;var b=null===P?N.memoizedState:P.next;if(null!==b)P=b,O=a;else{if(null===a)throw Error(u(310));O=a;a={memoizedState:O.memoizedState,baseState:O.baseState,baseQueue:O.baseQueue,queue:O.queue,next:null};null===P?N.memoizedState=P=a:P=P.next=a}return P}
|
|
1001
1001
|
function vh(a,b){return"function"===typeof b?b(a):b}
|
|
@@ -1016,7 +1016,7 @@ b,a),[b,a]),c]}},Oh=null,Ph=null,Qh=!1;function Rh(a,b){var c=Sh(5,null,null,0);
|
|
|
1016
1016
|
function Th(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}
|
|
1017
1017
|
function Uh(a){if(Qh){var b=Ph;if(b){var c=b;if(!Th(a,b)){b=Jd(c.nextSibling);if(!b||!Th(a,b)){a.effectTag=a.effectTag&-1025|2;Qh=!1;Oh=a;return}Rh(Oh,c)}Oh=a;Ph=Jd(b.firstChild)}else a.effectTag=a.effectTag&-1025|2,Qh=!1,Oh=a}}function Vh(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;Oh=a}
|
|
1018
1018
|
function Wh(a){if(a!==Oh)return!1;if(!Qh)return Vh(a),Qh=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!Gd(b,a.memoizedProps))for(b=Ph;b;)Rh(a,b),b=Jd(b.nextSibling);Vh(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(u(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if(c===Ad){if(0===b){Ph=Jd(a.nextSibling);break a}b--}else c!==zd&&c!==Cd&&c!==Bd||b++}a=a.nextSibling}Ph=null}}else Ph=Oh?Jd(a.stateNode.nextSibling):null;return!0}
|
|
1019
|
-
function Xh(){Ph=Oh=null;Qh=!1}var Yh=
|
|
1019
|
+
function Xh(){Ph=Oh=null;Qh=!1}var Yh=Wa.ReactCurrentOwner,rg=!1;function R(a,b,c,d){b.child=null===a?Yg(b,null,c,d):Xg(b,a.child,c,d)}function Zh(a,b,c,d,e){c=c.render;var f=b.ref;qg(b,e);d=oh(a,b,c,d,f,e);if(null!==a&&!rg)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),$h(a,b,e);b.effectTag|=1;R(a,b,d,e);return b.child}
|
|
1020
1020
|
function ai(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"===typeof g&&!bi(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,ci(a,b,g,d,e,f);a=Ug(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(e<f&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:bf,c(e,d)&&a.ref===b.ref))return $h(a,b,f);b.effectTag|=1;a=Sg(g,d);a.ref=b.ref;a.return=b;return b.child=a}
|
|
1021
1021
|
function ci(a,b,c,d,e,f){return null!==a&&bf(a.memoizedProps,d)&&a.ref===b.ref&&(rg=!1,e<f)?(b.expirationTime=a.expirationTime,$h(a,b,f)):di(a,b,c,d,f)}function ei(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.effectTag|=128}function di(a,b,c,d,e){var f=L(c)?Bf:J.current;f=Cf(b,f);qg(b,e);c=oh(a,b,c,d,f,e);if(null!==a&&!rg)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),$h(a,b,e);b.effectTag|=1;R(a,b,c,e);return b.child}
|
|
1022
1022
|
function fi(a,b,c,d,e){if(L(c)){var f=!0;Gf(b)}else f=!1;qg(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),Lg(b,c,d),Ng(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;"object"===typeof l&&null!==l?l=sg(l):(l=L(c)?Bf:J.current,l=Cf(b,l));var m=c.getDerivedStateFromProps,p="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate;p||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&
|
|
@@ -1036,23 +1036,23 @@ null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate
|
|
|
1036
1036
|
function $h(a,b,c){null!==a&&(b.dependencies=a.dependencies);var d=b.expirationTime;0!==d&&Bg(d);if(b.childExpirationTime<c)return null;if(null!==a&&b.child!==a.child)throw Error(u(153));if(null!==b.child){a=b.child;c=Sg(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Sg(a,a.pendingProps),c.return=b;c.sibling=null}return b.child}var ni,oi,pi,qi;
|
|
1037
1037
|
ni=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}};oi=function(){};
|
|
1038
1038
|
pi=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;ch($g.current);a=null;switch(c){case "input":f=zb(g,f);d=zb(g,d);a=[];break;case "option":f=Gb(g,f);d=Gb(g,d);a=[];break;case "select":f=n({},f,{value:void 0});d=n({},d,{value:void 0});a=[];break;case "textarea":f=Ib(g,f);d=Ib(g,d);a=[];break;default:"function"!==typeof f.onClick&&"function"===typeof d.onClick&&(g.onclick=sd)}od(c,d);var h,k;c=null;for(h in f)if(!d.hasOwnProperty(h)&&f.hasOwnProperty(h)&&null!=f[h])if("style"===
|
|
1039
|
-
h)for(k in g=f[h],g)g.hasOwnProperty(k)&&(c||(c={}),c[k]="");else"dangerouslySetInnerHTML"!==h&&"children"!==h&&"suppressContentEditableWarning"!==h&&"suppressHydrationWarning"!==h&&"autoFocus"!==h&&(
|
|
1040
|
-
c[k]=l[k])}else c||(a||(a=[]),a.push(h,c)),c=l;else"dangerouslySetInnerHTML"===h?(l=l?l.__html:void 0,g=g?g.__html:void 0,null!=l&&g!==l&&(a=a||[]).push(h,l)):"children"===h?g===l||"string"!==typeof l&&"number"!==typeof l||(a=a||[]).push(h,""+l):"suppressContentEditableWarning"!==h&&"suppressHydrationWarning"!==h&&(
|
|
1039
|
+
h)for(k in g=f[h],g)g.hasOwnProperty(k)&&(c||(c={}),c[k]="");else"dangerouslySetInnerHTML"!==h&&"children"!==h&&"suppressContentEditableWarning"!==h&&"suppressHydrationWarning"!==h&&"autoFocus"!==h&&(va.hasOwnProperty(h)?a||(a=[]):(a=a||[]).push(h,null));for(h in d){var l=d[h];g=null!=f?f[h]:void 0;if(d.hasOwnProperty(h)&&l!==g&&(null!=l||null!=g))if("style"===h)if(g){for(k in g)!g.hasOwnProperty(k)||l&&l.hasOwnProperty(k)||(c||(c={}),c[k]="");for(k in l)l.hasOwnProperty(k)&&g[k]!==l[k]&&(c||(c={}),
|
|
1040
|
+
c[k]=l[k])}else c||(a||(a=[]),a.push(h,c)),c=l;else"dangerouslySetInnerHTML"===h?(l=l?l.__html:void 0,g=g?g.__html:void 0,null!=l&&g!==l&&(a=a||[]).push(h,l)):"children"===h?g===l||"string"!==typeof l&&"number"!==typeof l||(a=a||[]).push(h,""+l):"suppressContentEditableWarning"!==h&&"suppressHydrationWarning"!==h&&(va.hasOwnProperty(h)?(null!=l&&rd(e,h),a||g===l||(a=[])):(a=a||[]).push(h,l))}c&&(a=a||[]).push("style",c);e=a;if(b.updateQueue=e)b.effectTag|=4}};
|
|
1041
1041
|
qi=function(a,b,c,d){c!==d&&(b.effectTag|=4)};function ri(a,b){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}}
|
|
1042
1042
|
function si(a,b,c){var d=b.pendingProps;switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return L(b.type)&&Df(),null;case 3:return eh(),H(K),H(J),c=b.stateNode,c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),null!==a&&null!==a.child||!Wh(b)||(b.effectTag|=4),oi(b),null;case 5:gh(b);c=ch(bh.current);var e=b.type;if(null!==a&&null!=b.stateNode)pi(a,b,e,d,c),a.ref!==b.ref&&(b.effectTag|=128);else{if(!d){if(null===b.stateNode)throw Error(u(166));
|
|
1043
1043
|
return null}a=ch($g.current);if(Wh(b)){d=b.stateNode;e=b.type;var f=b.memoizedProps;d[Md]=b;d[Nd]=f;switch(e){case "iframe":case "object":case "embed":F("load",d);break;case "video":case "audio":for(a=0;a<ac.length;a++)F(ac[a],d);break;case "source":F("error",d);break;case "img":case "image":case "link":F("error",d);F("load",d);break;case "form":F("reset",d);F("submit",d);break;case "details":F("toggle",d);break;case "input":Ab(d,f);F("invalid",d);rd(c,"onChange");break;case "select":d._wrapperState=
|
|
1044
|
-
{wasMultiple:!!f.multiple};F("invalid",d);rd(c,"onChange");break;case "textarea":Jb(d,f),F("invalid",d),rd(c,"onChange")}od(e,f);a=null;for(var g in f)if(f.hasOwnProperty(g)){var h=f[g];"children"===g?"string"===typeof h?d.textContent!==h&&(a=["children",h]):"number"===typeof h&&d.textContent!==""+h&&(a=["children",""+h]):
|
|
1044
|
+
{wasMultiple:!!f.multiple};F("invalid",d);rd(c,"onChange");break;case "textarea":Jb(d,f),F("invalid",d),rd(c,"onChange")}od(e,f);a=null;for(var g in f)if(f.hasOwnProperty(g)){var h=f[g];"children"===g?"string"===typeof h?d.textContent!==h&&(a=["children",h]):"number"===typeof h&&d.textContent!==""+h&&(a=["children",""+h]):va.hasOwnProperty(g)&&null!=h&&rd(c,g)}switch(e){case "input":xb(d);Eb(d,f,!0);break;case "textarea":xb(d);Lb(d);break;case "select":case "option":break;default:"function"===typeof f.onClick&&
|
|
1045
1045
|
(d.onclick=sd)}c=a;b.updateQueue=c;null!==c&&(b.effectTag|=4)}else{g=9===c.nodeType?c:c.ownerDocument;a===qd&&(a=Nb(e));a===qd?"script"===e?(a=g.createElement("div"),a.innerHTML="<script>\x3c/script>",a=a.removeChild(a.firstChild)):"string"===typeof d.is?a=g.createElement(e,{is:d.is}):(a=g.createElement(e),"select"===e&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,e);a[Md]=b;a[Nd]=d;ni(a,b,!1,!1);b.stateNode=a;g=pd(e,d);switch(e){case "iframe":case "object":case "embed":F("load",
|
|
1046
1046
|
a);h=d;break;case "video":case "audio":for(h=0;h<ac.length;h++)F(ac[h],a);h=d;break;case "source":F("error",a);h=d;break;case "img":case "image":case "link":F("error",a);F("load",a);h=d;break;case "form":F("reset",a);F("submit",a);h=d;break;case "details":F("toggle",a);h=d;break;case "input":Ab(a,d);h=zb(a,d);F("invalid",a);rd(c,"onChange");break;case "option":h=Gb(a,d);break;case "select":a._wrapperState={wasMultiple:!!d.multiple};h=n({},d,{value:void 0});F("invalid",a);rd(c,"onChange");break;case "textarea":Jb(a,
|
|
1047
|
-
d);h=Ib(a,d);F("invalid",a);rd(c,"onChange");break;default:h=d}od(e,h);var k=h;for(f in k)if(k.hasOwnProperty(f)){var l=k[f];"style"===f?md(a,l):"dangerouslySetInnerHTML"===f?(l=l?l.__html:void 0,null!=l&&Qb(a,l)):"children"===f?"string"===typeof l?("textarea"!==e||""!==l)&&Rb(a,l):"number"===typeof l&&Rb(a,""+l):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(
|
|
1047
|
+
d);h=Ib(a,d);F("invalid",a);rd(c,"onChange");break;default:h=d}od(e,h);var k=h;for(f in k)if(k.hasOwnProperty(f)){var l=k[f];"style"===f?md(a,l):"dangerouslySetInnerHTML"===f?(l=l?l.__html:void 0,null!=l&&Qb(a,l)):"children"===f?"string"===typeof l?("textarea"!==e||""!==l)&&Rb(a,l):"number"===typeof l&&Rb(a,""+l):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(va.hasOwnProperty(f)?null!=l&&rd(c,f):null!=l&&Xa(a,f,l,g))}switch(e){case "input":xb(a);Eb(a,d,!1);
|
|
1048
1048
|
break;case "textarea":xb(a);Lb(a);break;case "option":null!=d.value&&a.setAttribute("value",""+rb(d.value));break;case "select":a.multiple=!!d.multiple;c=d.value;null!=c?Hb(a,!!d.multiple,c,!1):null!=d.defaultValue&&Hb(a,!!d.multiple,d.defaultValue,!0);break;default:"function"===typeof h.onClick&&(a.onclick=sd)}Fd(e,d)&&(b.effectTag|=4)}null!==b.ref&&(b.effectTag|=128)}return null;case 6:if(a&&null!=b.stateNode)qi(a,b,a.memoizedProps,d);else{if("string"!==typeof d&&null===b.stateNode)throw Error(u(166));
|
|
1049
1049
|
c=ch(bh.current);ch($g.current);Wh(b)?(c=b.stateNode,d=b.memoizedProps,c[Md]=b,c.nodeValue!==d&&(b.effectTag|=4)):(c=(9===c.nodeType?c:c.ownerDocument).createTextNode(d),c[Md]=b,b.stateNode=c)}return null;case 13:H(M);d=b.memoizedState;if(0!==(b.effectTag&64))return b.expirationTime=c,b;c=null!==d;d=!1;null===a?void 0!==b.memoizedProps.fallback&&Wh(b):(e=a.memoizedState,d=null!==e,c||null===e||(e=a.child.sibling,null!==e&&(f=b.firstEffect,null!==f?(b.firstEffect=e,e.nextEffect=f):(b.firstEffect=b.lastEffect=
|
|
1050
1050
|
e,e.nextEffect=null),e.effectTag=8)));if(c&&!d&&0!==(b.mode&2))if(null===a&&!0!==b.memoizedProps.unstable_avoidThisFallback||0!==(M.current&1))S===ti&&(S=ui);else{if(S===ti||S===ui)S=vi;0!==wi&&null!==T&&(xi(T,U),yi(T,wi))}if(c||d)b.effectTag|=4;return null;case 4:return eh(),oi(b),null;case 10:return og(b),null;case 17:return L(b.type)&&Df(),null;case 19:H(M);d=b.memoizedState;if(null===d)return null;e=0!==(b.effectTag&64);f=d.rendering;if(null===f)if(e)ri(d,!1);else{if(S!==ti||null!==a&&0!==(a.effectTag&
|
|
1051
1051
|
64))for(f=b.child;null!==f;){a=hh(f);if(null!==a){b.effectTag|=64;ri(d,!1);e=a.updateQueue;null!==e&&(b.updateQueue=e,b.effectTag|=4);null===d.lastEffect&&(b.firstEffect=null);b.lastEffect=d.lastEffect;for(d=b.child;null!==d;)e=d,f=c,e.effectTag&=2,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null,a=e.alternate,null===a?(e.childExpirationTime=0,e.expirationTime=f,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null):(e.childExpirationTime=a.childExpirationTime,
|
|
1052
1052
|
e.expirationTime=a.expirationTime,e.child=a.child,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,f=a.dependencies,e.dependencies=null===f?null:{expirationTime:f.expirationTime,firstContext:f.firstContext,responders:f.responders}),d=d.sibling;I(M,M.current&1|2);return b.child}f=f.sibling}}else{if(!e)if(a=hh(f),null!==a){if(b.effectTag|=64,e=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.effectTag|=4),ri(d,!0),null===d.tail&&"hidden"===d.tailMode&&!f.alternate)return b=
|
|
1053
1053
|
b.lastEffect=d.lastEffect,null!==b&&(b.nextEffect=null),null}else 2*$f()-d.renderingStartTime>d.tailExpiration&&1<c&&(b.effectTag|=64,e=!0,ri(d,!1),b.expirationTime=b.childExpirationTime=c-1);d.isBackwards?(f.sibling=b.child,b.child=f):(c=d.last,null!==c?c.sibling=f:b.child=f,d.last=f)}return null!==d.tail?(0===d.tailExpiration&&(d.tailExpiration=$f()+500),c=d.tail,d.rendering=c,d.tail=c.sibling,d.lastEffect=b.lastEffect,d.renderingStartTime=$f(),c.sibling=null,b=M.current,I(M,e?b&1|2:b&1),c):null}throw Error(u(156,
|
|
1054
|
-
b.tag));}function zi(a){switch(a.tag){case 1:L(a.type)&&Df();var b=a.effectTag;return b&4096?(a.effectTag=b&-4097|64,a):null;case 3:eh();H(K);H(J);b=a.effectTag;if(0!==(b&64))throw Error(u(285));a.effectTag=b&-4097|64;return a;case 5:return gh(a),null;case 13:return H(M),b=a.effectTag,b&4096?(a.effectTag=b&-4097|64,a):null;case 19:return H(M),null;case 4:return eh(),null;case 10:return og(a),null;default:return null}}function Ai(a,b){return{value:a,source:b,stack:
|
|
1055
|
-
var Bi="function"===typeof WeakSet?WeakSet:Set;function Ci(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=
|
|
1054
|
+
b.tag));}function zi(a){switch(a.tag){case 1:L(a.type)&&Df();var b=a.effectTag;return b&4096?(a.effectTag=b&-4097|64,a):null;case 3:eh();H(K);H(J);b=a.effectTag;if(0!==(b&64))throw Error(u(285));a.effectTag=b&-4097|64;return a;case 5:return gh(a),null;case 13:return H(M),b=a.effectTag,b&4096?(a.effectTag=b&-4097|64,a):null;case 19:return H(M),null;case 4:return eh(),null;case 10:return og(a),null;default:return null}}function Ai(a,b){return{value:a,source:b,stack:qb(b)}}
|
|
1055
|
+
var Bi="function"===typeof WeakSet?WeakSet:Set;function Ci(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=qb(c));null!==c&&pb(c.type);b=b.value;null!==a&&1===a.tag&&pb(a.type);try{console.error(b)}catch(e){setTimeout(function(){throw e;})}}function Di(a,b){try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount()}catch(c){Ei(a,c)}}function Fi(a){var b=a.ref;if(null!==b)if("function"===typeof b)try{b(null)}catch(c){Ei(a,c)}else b.current=null}
|
|
1056
1056
|
function Gi(a,b){switch(b.tag){case 0:case 11:case 15:case 22:return;case 1:if(b.effectTag&256&&null!==a){var c=a.memoizedProps,d=a.memoizedState;a=b.stateNode;b=a.getSnapshotBeforeUpdate(b.elementType===b.type?c:ig(b.type,c),d);a.__reactInternalSnapshotBeforeUpdate=b}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(u(163));}
|
|
1057
1057
|
function Hi(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.destroy;c.destroy=void 0;void 0!==d&&d()}c=c.next}while(c!==b)}}function Ii(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)}}
|
|
1058
1058
|
function Ji(a,b,c){switch(c.tag){case 0:case 11:case 15:case 22:Ii(3,c);return;case 1:a=c.stateNode;if(c.effectTag&4)if(null===b)a.componentDidMount();else{var d=c.elementType===c.type?b.memoizedProps:ig(c.type,b.memoizedProps);a.componentDidUpdate(d,b.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}b=c.updateQueue;null!==b&&Cg(c,b,a);return;case 3:b=c.updateQueue;if(null!==b){a=null;if(null!==c.child)switch(c.child.tag){case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}Cg(c,b,a)}return;
|
|
@@ -1065,13 +1065,13 @@ function Qi(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.i
|
|
|
1065
1065
|
function Ri(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Ri(a,b,c),a=a.sibling;null!==a;)Ri(a,b,c),a=a.sibling}
|
|
1066
1066
|
function Mi(a,b,c){for(var d=b,e=!1,f,g;;){if(!e){e=d.return;a:for(;;){if(null===e)throw Error(u(160));f=e.stateNode;switch(e.tag){case 5:g=!1;break a;case 3:f=f.containerInfo;g=!0;break a;case 4:f=f.containerInfo;g=!0;break a}e=e.return}e=!0}if(5===d.tag||6===d.tag){a:for(var h=a,k=d,l=c,m=k;;)if(Ki(h,m,l),null!==m.child&&4!==m.tag)m.child.return=m,m=m.child;else{if(m===k)break a;for(;null===m.sibling;){if(null===m.return||m.return===k)break a;m=m.return}m.sibling.return=m.return;m=m.sibling}g?(h=
|
|
1067
1067
|
f,k=d.stateNode,8===h.nodeType?h.parentNode.removeChild(k):h.removeChild(k)):f.removeChild(d.stateNode)}else if(4===d.tag){if(null!==d.child){f=d.stateNode.containerInfo;g=!0;d.child.return=d;d=d.child;continue}}else if(Ki(a,d,c),null!==d.child){d.child.return=d;d=d.child;continue}if(d===b)break;for(;null===d.sibling;){if(null===d.return||d.return===b)return;d=d.return;4===d.tag&&(e=!1)}d.sibling.return=d.return;d=d.sibling}}
|
|
1068
|
-
function Si(a,b){switch(b.tag){case 0:case 11:case 14:case 15:case 22:Hi(3,b);return;case 1:return;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[Nd]=d;"input"===a&&"radio"===d.type&&null!=d.name&&Bb(c,d);pd(a,e);b=pd(a,d);for(e=0;e<f.length;e+=2){var g=f[e],h=f[e+1];"style"===g?md(c,h):"dangerouslySetInnerHTML"===g?Qb(c,h):"children"===g?Rb(c,h):
|
|
1068
|
+
function Si(a,b){switch(b.tag){case 0:case 11:case 14:case 15:case 22:Hi(3,b);return;case 1:return;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[Nd]=d;"input"===a&&"radio"===d.type&&null!=d.name&&Bb(c,d);pd(a,e);b=pd(a,d);for(e=0;e<f.length;e+=2){var g=f[e],h=f[e+1];"style"===g?md(c,h):"dangerouslySetInnerHTML"===g?Qb(c,h):"children"===g?Rb(c,h):Xa(c,g,h,b)}switch(a){case "input":Cb(c,d);break;
|
|
1069
1069
|
case "textarea":Kb(c,d);break;case "select":b=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,a=d.value,null!=a?Hb(c,!!d.multiple,a,!1):b!==!!d.multiple&&(null!=d.defaultValue?Hb(c,!!d.multiple,d.defaultValue,!0):Hb(c,!!d.multiple,d.multiple?[]:"",!1))}}}return;case 6:if(null===b.stateNode)throw Error(u(162));b.stateNode.nodeValue=b.memoizedProps;return;case 3:b=b.stateNode;b.hydrate&&(b.hydrate=!1,Vc(b.containerInfo));return;case 12:return;case 13:c=b;null===b.memoizedState?
|
|
1070
1070
|
d=!1:(d=!0,c=b.child,Ti=$f());if(null!==c)a:for(a=c;;){if(5===a.tag)f=a.stateNode,d?(f=f.style,"function"===typeof f.setProperty?f.setProperty("display","none","important"):f.display="none"):(f=a.stateNode,e=a.memoizedProps.style,e=void 0!==e&&null!==e&&e.hasOwnProperty("display")?e.display:null,f.style.display=ld("display",e));else if(6===a.tag)a.stateNode.nodeValue=d?"":a.memoizedProps;else if(13===a.tag&&null!==a.memoizedState&&null===a.memoizedState.dehydrated){f=a.child.sibling;f.return=a;a=
|
|
1071
1071
|
f;continue}else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===c)break;for(;null===a.sibling;){if(null===a.return||a.return===c)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}Ui(b);return;case 19:Ui(b);return;case 17:return}throw Error(u(163));}function Ui(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Bi);b.forEach(function(b){var d=Vi.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}
|
|
1072
1072
|
var Wi="function"===typeof WeakMap?WeakMap:Map;function Xi(a,b,c){c=wg(c,null);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Yi||(Yi=!0,Zi=d);Ci(a,b)};return c}
|
|
1073
1073
|
function $i(a,b,c){c=wg(c,null);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){Ci(a,b);return d(e)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){"function"!==typeof d&&(null===aj?aj=new Set([this]):aj.add(this),Ci(a,b));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:""})});return c}
|
|
1074
|
-
var bj=Math.ceil,cj=
|
|
1074
|
+
var bj=Math.ceil,cj=Wa.ReactCurrentDispatcher,dj=Wa.ReactCurrentOwner,V=0,ej=8,fj=16,gj=32,ti=0,hj=1,ij=2,ui=3,vi=4,jj=5,W=V,T=null,X=null,U=0,S=ti,kj=null,lj=1073741823,mj=1073741823,nj=null,wi=0,oj=!1,Ti=0,pj=500,Y=null,Yi=!1,Zi=null,aj=null,qj=!1,rj=null,sj=90,tj=null,uj=0,vj=null,wj=0;function Gg(){return(W&(fj|gj))!==V?1073741821-($f()/10|0):0!==wj?wj:wj=1073741821-($f()/10|0)}
|
|
1075
1075
|
function Hg(a,b,c){b=b.mode;if(0===(b&2))return 1073741823;var d=ag();if(0===(b&4))return 99===d?1073741823:1073741822;if((W&fj)!==V)return U;if(null!==c)a=hg(a,c.timeoutMs|0||5E3,250);else switch(d){case 99:a=1073741823;break;case 98:a=hg(a,150,100);break;case 97:case 96:a=hg(a,5E3,250);break;case 95:a=2;break;default:throw Error(u(326));}null!==T&&a===U&&--a;return a}
|
|
1076
1076
|
function Ig(a,b){if(50<uj)throw uj=0,vj=null,Error(u(185));a=xj(a,b);if(null!==a){var c=ag();1073741823===b?(W&ej)!==V&&(W&(fj|gj))===V?yj(a):(Z(a),W===V&&gg()):Z(a);(W&4)===V||98!==c&&99!==c||(null===tj?tj=new Map([[a,b]]):(c=tj.get(a),(void 0===c||c>b)&&tj.set(a,b)))}}
|
|
1077
1077
|
function xj(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);var d=a.return,e=null;if(null===d&&3===a.tag)e=a.stateNode;else for(;null!==d;){c=d.alternate;d.childExpirationTime<b&&(d.childExpirationTime=b);null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}null!==e&&(T===e&&(Bg(b),S===vi&&xi(e,U)),yi(e,b));return e}
|
|
@@ -1085,11 +1085,11 @@ Hd(Jj.bind(null,a),d);break}}Jj(a);break;default:throw Error(u(329));}Z(a);if(a.
|
|
|
1085
1085
|
function yj(a){var b=a.lastExpiredTime;b=0!==b?b:1073741823;if((W&(fj|gj))!==V)throw Error(u(327));Dj();a===T&&b===U||Ej(a,b);if(null!==X){var c=W;W|=fj;var d=Fj();do try{Kj();break}catch(e){Hj(a,e)}while(1);ng();W=c;cj.current=d;if(S===hj)throw c=kj,Ej(a,b),xi(a,b),Z(a),c;if(null!==X)throw Error(u(261));a.finishedWork=a.current.alternate;a.finishedExpirationTime=b;T=null;Jj(a);Z(a)}return null}function Lj(){if(null!==tj){var a=tj;tj=null;a.forEach(function(a,c){Cj(c,a);Z(c)});gg()}}
|
|
1086
1086
|
function Mj(a,b){var c=W;W|=1;try{return a(b)}finally{W=c,W===V&&gg()}}function Nj(a,b){var c=W;W&=-2;W|=ej;try{return a(b)}finally{W=c,W===V&&gg()}}
|
|
1087
1087
|
function Ej(a,b){a.finishedWork=null;a.finishedExpirationTime=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Id(c));if(null!==X)for(c=X.return;null!==c;){var d=c;switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&Df();break;case 3:eh();H(K);H(J);break;case 5:gh(d);break;case 4:eh();break;case 13:H(M);break;case 19:H(M);break;case 10:og(d)}c=c.return}T=a;X=Sg(a.current,null);U=b;S=ti;kj=null;mj=lj=1073741823;nj=null;wi=0;oj=!1}
|
|
1088
|
-
function Hj(a,b){do{try{ng();jh.current=sh;if(mh)for(var c=N.memoizedState;null!==c;){var d=c.queue;null!==d&&(d.pending=null);c=c.next}lh=0;P=O=N=null;mh=!1;if(null===X||null===X.return)return S=hj,kj=b,X=null;a:{var e=a,f=X.return,g=X,h=b;b=U;g.effectTag|=2048;g.firstEffect=g.lastEffect=null;if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var k=h;if(0===(g.mode&2)){var l=g.alternate;l?(g.memoizedState=l.memoizedState,g.expirationTime=l.expirationTime):g.
|
|
1089
|
-
(M.current&1),p=f;do{var x;if(x=13===p.tag){var z=p.memoizedState;if(null!==z)x=null!==z.dehydrated?!0:!1;else{var ca=p.memoizedProps;x=void 0===ca.fallback?!1:!0!==ca.unstable_avoidThisFallback?!0:m?!1:!0}}if(x){var D=p.updateQueue;if(null===D){var t=new Set;t.add(k);p.updateQueue=t}else D.add(k);if(0===(p.mode&2)){p.effectTag|=64;g.effectTag&=-2981;if(1===g.tag)if(null===g.alternate)g.tag=17;else{var y=wg(1073741823,null);y.tag=2;xg(g,y)}g.expirationTime=1073741823;
|
|
1090
|
-
null===A?(A=e.pingCache=new Wi,h=new Set,A.set(k,h)):(h=A.get(k),void 0===h&&(h=new Set,A.set(k,h)));if(!h.has(g)){h.add(g);var q=Oj.bind(null,e,k,g);k.then(q,q)}p.effectTag|=4096;p.expirationTime=b;break a}p=p.return}while(null!==p);h=Error((
|
|
1091
|
-
h;p.effectTag|=4096;p.expirationTime=b;var B=Xi(p,k,b);yg(p,B);break a;case 1:k=h;var w=p.type,ub=p.stateNode;if(0===(p.effectTag&64)&&("function"===typeof w.getDerivedStateFromError||null!==ub&&"function"===typeof ub.componentDidCatch&&(null===aj||!aj.has(ub)))){p.effectTag|=4096;p.expirationTime=b;var vb=$i(p,k,b);yg(p,vb);break a}}p=p.return}while(null!==p)}X=Pj(X)}catch(Xc){b=Xc;continue}break}while(1)}
|
|
1092
|
-
function Ag(a,b){a<lj&&2<a&&(lj=a);null!==b&&a<mj&&2<a&&(mj=a,nj=b)}function Bg(a){a>wi&&(wi=a)}function Kj(){for(;null!==X;)X=Qj(X)}function Gj(){for(;null!==X&&!Uf();)X=Qj(X)}function Qj(a){var b=Rj(a.alternate,a,U);a.memoizedProps=a.pendingProps;null===b&&(b=Pj(a));dj.current=null;return b}
|
|
1088
|
+
function Hj(a,b){do{try{ng();jh.current=sh;if(mh)for(var c=N.memoizedState;null!==c;){var d=c.queue;null!==d&&(d.pending=null);c=c.next}lh=0;P=O=N=null;mh=!1;if(null===X||null===X.return)return S=hj,kj=b,X=null;a:{var e=a,f=X.return,g=X,h=b;b=U;g.effectTag|=2048;g.firstEffect=g.lastEffect=null;if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var k=h;if(0===(g.mode&2)){var l=g.alternate;l?(g.updateQueue=l.updateQueue,g.memoizedState=l.memoizedState,g.expirationTime=l.expirationTime):(g.updateQueue=
|
|
1089
|
+
null,g.memoizedState=null)}var m=0!==(M.current&1),p=f;do{var x;if(x=13===p.tag){var z=p.memoizedState;if(null!==z)x=null!==z.dehydrated?!0:!1;else{var ca=p.memoizedProps;x=void 0===ca.fallback?!1:!0!==ca.unstable_avoidThisFallback?!0:m?!1:!0}}if(x){var D=p.updateQueue;if(null===D){var t=new Set;t.add(k);p.updateQueue=t}else D.add(k);if(0===(p.mode&2)){p.effectTag|=64;g.effectTag&=-2981;if(1===g.tag)if(null===g.alternate)g.tag=17;else{var y=wg(1073741823,null);y.tag=2;xg(g,y)}g.expirationTime=1073741823;
|
|
1090
|
+
break a}h=void 0;g=b;var A=e.pingCache;null===A?(A=e.pingCache=new Wi,h=new Set,A.set(k,h)):(h=A.get(k),void 0===h&&(h=new Set,A.set(k,h)));if(!h.has(g)){h.add(g);var q=Oj.bind(null,e,k,g);k.then(q,q)}p.effectTag|=4096;p.expirationTime=b;break a}p=p.return}while(null!==p);h=Error((pb(g.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+qb(g))}S!==
|
|
1091
|
+
jj&&(S=ij);h=Ai(h,g);p=f;do{switch(p.tag){case 3:k=h;p.effectTag|=4096;p.expirationTime=b;var B=Xi(p,k,b);yg(p,B);break a;case 1:k=h;var w=p.type,ub=p.stateNode;if(0===(p.effectTag&64)&&("function"===typeof w.getDerivedStateFromError||null!==ub&&"function"===typeof ub.componentDidCatch&&(null===aj||!aj.has(ub)))){p.effectTag|=4096;p.expirationTime=b;var vb=$i(p,k,b);yg(p,vb);break a}}p=p.return}while(null!==p)}X=Pj(X)}catch(Xc){b=Xc;continue}break}while(1)}
|
|
1092
|
+
function Fj(){var a=cj.current;cj.current=sh;return null===a?sh:a}function Ag(a,b){a<lj&&2<a&&(lj=a);null!==b&&a<mj&&2<a&&(mj=a,nj=b)}function Bg(a){a>wi&&(wi=a)}function Kj(){for(;null!==X;)X=Qj(X)}function Gj(){for(;null!==X&&!Uf();)X=Qj(X)}function Qj(a){var b=Rj(a.alternate,a,U);a.memoizedProps=a.pendingProps;null===b&&(b=Pj(a));dj.current=null;return b}
|
|
1093
1093
|
function Pj(a){X=a;do{var b=X.alternate;a=X.return;if(0===(X.effectTag&2048)){b=si(b,X,U);if(1===U||1!==X.childExpirationTime){for(var c=0,d=X.child;null!==d;){var e=d.expirationTime,f=d.childExpirationTime;e>c&&(c=e);f>c&&(c=f);d=d.sibling}X.childExpirationTime=c}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=X.firstEffect),null!==X.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=X.firstEffect),a.lastEffect=X.lastEffect),1<X.effectTag&&(null!==
|
|
1094
1094
|
a.lastEffect?a.lastEffect.nextEffect=X:a.firstEffect=X,a.lastEffect=X))}else{b=zi(X);if(null!==b)return b.effectTag&=2047,b;null!==a&&(a.firstEffect=a.lastEffect=null,a.effectTag|=2048)}b=X.sibling;if(null!==b)return b;X=a}while(null!==X);S===ti&&(S=jj);return null}function Ij(a){var b=a.expirationTime;a=a.childExpirationTime;return b>a?b:a}function Jj(a){var b=ag();cg(99,Sj.bind(null,a,b));return null}
|
|
1095
1095
|
function Sj(a,b){do Dj();while(null!==rj);if((W&(fj|gj))!==V)throw Error(u(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(u(177));a.callbackNode=null;a.callbackExpirationTime=0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=Ij(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=
|
|
@@ -1106,7 +1106,7 @@ function Oj(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);T===a&&U===c?S===vi||
|
|
|
1106
1106
|
Rj=function(a,b,c){var d=b.expirationTime;if(null!==a){var e=b.pendingProps;if(a.memoizedProps!==e||K.current)rg=!0;else{if(d<c){rg=!1;switch(b.tag){case 3:hi(b);Xh();break;case 5:fh(b);if(b.mode&4&&1!==c&&e.hidden)return b.expirationTime=b.childExpirationTime=1,null;break;case 1:L(b.type)&&Gf(b);break;case 4:dh(b,b.stateNode.containerInfo);break;case 10:d=b.memoizedProps.value;e=b.type._context;I(jg,e._currentValue);e._currentValue=d;break;case 13:if(null!==b.memoizedState){d=b.child.childExpirationTime;
|
|
1107
1107
|
if(0!==d&&d>=c)return ji(a,b,c);I(M,M.current&1);b=$h(a,b,c);return null!==b?b.sibling:null}I(M,M.current&1);break;case 19:d=b.childExpirationTime>=c;if(0!==(a.effectTag&64)){if(d)return mi(a,b,c);b.effectTag|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null);I(M,M.current);if(!d)return null}return $h(a,b,c)}rg=!1}}else rg=!1;b.expirationTime=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;e=Cf(b,J.current);qg(b,c);e=oh(null,
|
|
1108
1108
|
b,d,a,e,c);b.effectTag|=1;if("object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;b.memoizedState=null;b.updateQueue=null;if(L(d)){var f=!0;Gf(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;ug(b);var g=d.getDerivedStateFromProps;"function"===typeof g&&Fg(b,d,g,a);e.updater=Jg;b.stateNode=e;e._reactInternalFiber=b;Ng(b,d,a,c);b=gi(null,b,d,!0,f,c)}else b.tag=0,R(null,b,e,c),b=b.child;return b;case 16:a:{e=b.elementType;null!==a&&(a.alternate=
|
|
1109
|
-
null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;
|
|
1109
|
+
null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;ob(e);if(1!==e._status)throw e._result;e=e._result;b.type=e;f=b.tag=Xj(e);a=ig(e,a);switch(f){case 0:b=di(null,b,e,a,c);break a;case 1:b=fi(null,b,e,a,c);break a;case 11:b=Zh(null,b,e,a,c);break a;case 14:b=ai(null,b,e,ig(e.type,a),d,c);break a}throw Error(u(306,e,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),di(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),fi(a,b,d,e,c);
|
|
1110
1110
|
case 3:hi(b);d=b.updateQueue;if(null===a||null===d)throw Error(u(282));d=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;vg(a,b);zg(b,d,null,c);d=b.memoizedState.element;if(d===e)Xh(),b=$h(a,b,c);else{if(e=b.stateNode.hydrate)Ph=Jd(b.stateNode.containerInfo.firstChild),Oh=b,e=Qh=!0;if(e)for(c=Yg(b,null,d,c),b.child=c;c;)c.effectTag=c.effectTag&-3|1024,c=c.sibling;else R(a,b,d,c),Xh();b=b.child}return b;case 5:return fh(b),null===a&&Uh(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:
|
|
1111
1111
|
null,g=e.children,Gd(d,e)?g=null:null!==f&&Gd(d,f)&&(b.effectTag|=16),ei(a,b),b.mode&4&&1!==c&&e.hidden?(b.expirationTime=b.childExpirationTime=1,b=null):(R(a,b,g,c),b=b.child),b;case 6:return null===a&&Uh(b),null;case 13:return ji(a,b,c);case 4:return dh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Xg(b,null,d,c):R(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),Zh(a,b,d,e,c);case 7:return R(a,b,b.pendingProps,c),b.child;case 8:return R(a,
|
|
1112
1112
|
b,b.pendingProps.children,c),b.child;case 12:return R(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;var h=b.type._context;I(jg,h._currentValue);h._currentValue=f;if(null!==g)if(h=g.value,f=$e(h,f)?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0,0===f){if(g.children===e.children&&!K.current){b=$h(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var k=h.dependencies;if(null!==
|
|
@@ -1114,11 +1114,11 @@ k){g=h.child;for(var l=k.firstContext;null!==l;){if(l.context===d&&0!==(l.observ
|
|
|
1114
1114
|
g}R(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,qg(b,c),e=sg(e,f.unstable_observedBits),d=d(e),b.effectTag|=1,R(a,b,d,c),b.child;case 14:return e=b.type,f=ig(e,b.pendingProps),f=ig(e.type,f),ai(a,b,e,f,d,c);case 15:return ci(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),b.tag=1,L(d)?(a=!0,Gf(b)):a=!1,qg(b,c),Lg(b,d,e),Ng(b,d,e,c),gi(null,
|
|
1115
1115
|
b,d,!0,a,c);case 19:return mi(a,b,c)}throw Error(u(156,b.tag));};var Uj=null,Li=null;function Yj(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var c=b.inject(a);Uj=function(a){try{b.onCommitFiberRoot(c,a,void 0,64===(a.current.effectTag&64))}catch(e){}};Li=function(a){try{b.onCommitFiberUnmount(c,a)}catch(e){}}}catch(d){}return!0}
|
|
1116
1116
|
function Zj(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.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function Sh(a,b,c,d){return new Zj(a,b,c,d)}
|
|
1117
|
-
function bi(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Xj(a){if("function"===typeof a)return bi(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===
|
|
1117
|
+
function bi(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Xj(a){if("function"===typeof a)return bi(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===gb)return 11;if(a===jb)return 14}return 2}
|
|
1118
1118
|
function Sg(a,b){var c=a.alternate;null===c?(c=Sh(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.effectTag=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{expirationTime:b.expirationTime,
|
|
1119
1119
|
firstContext:b.firstContext,responders:b.responders};c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}
|
|
1120
|
-
function Ug(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)bi(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case
|
|
1121
|
-
10;break a;case
|
|
1120
|
+
function Ug(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)bi(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case ab:return Wg(c.children,e,f,b);case fb:g=8;e|=7;break;case bb:g=8;e|=1;break;case cb:return a=Sh(12,c,b,e|8),a.elementType=cb,a.type=cb,a.expirationTime=f,a;case hb:return a=Sh(13,c,b,e),a.type=hb,a.elementType=hb,a.expirationTime=f,a;case ib:return a=Sh(19,c,b,e),a.elementType=ib,a.expirationTime=f,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case db:g=
|
|
1121
|
+
10;break a;case eb:g=9;break a;case gb:g=11;break a;case jb:g=14;break a;case kb:g=16;d=null;break a;case lb:g=22;break a}throw Error(u(130,null==a?a:typeof a,""));}b=Sh(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function Wg(a,b,c,d){a=Sh(7,a,d,b);a.expirationTime=c;return a}function Tg(a,b,c){a=Sh(6,a,null,b);a.expirationTime=c;return a}
|
|
1122
1122
|
function Vg(a,b,c){b=Sh(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}
|
|
1123
1123
|
function ak(a,b,c){this.tag=b;this.current=null;this.containerInfo=a;this.pingCache=this.pendingChildren=null;this.finishedExpirationTime=0;this.finishedWork=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=null;this.callbackPriority=90;this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}
|
|
1124
1124
|
function Aj(a,b){var c=a.firstSuspendedTime;a=a.lastSuspendedTime;return 0!==c&&c>=b&&a<=b}function xi(a,b){var c=a.firstSuspendedTime,d=a.lastSuspendedTime;c<b&&(a.firstSuspendedTime=b);if(d>b||0===c)a.lastSuspendedTime=b;b<=a.lastPingedTime&&(a.lastPingedTime=0);b<=a.lastExpiredTime&&(a.lastExpiredTime=0)}
|
|
@@ -1127,15 +1127,15 @@ function bk(a,b,c,d){var e=b.current,f=Gg(),g=Dg.suspense;f=Hg(f,e,g);a:if(c){c=
|
|
|
1127
1127
|
d?null:d;null!==d&&(b.callback=d);xg(e,b);Ig(e,f);return f}function ck(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 dk(a,b){a=a.memoizedState;null!==a&&null!==a.dehydrated&&a.retryTime<b&&(a.retryTime=b)}function ek(a,b){dk(a,b);(a=a.alternate)&&dk(a,b)}
|
|
1128
1128
|
function fk(a,b,c){c=null!=c&&!0===c.hydrate;var d=new ak(a,b,c),e=Sh(3,null,null,2===b?7:1===b?3:0);d.current=e;e.stateNode=d;ug(e);a[Od]=d.current;c&&0!==b&&Jc(a,9===a.nodeType?a:a.ownerDocument);this._internalRoot=d}fk.prototype.render=function(a){bk(a,this._internalRoot,null,null)};fk.prototype.unmount=function(){var a=this._internalRoot,b=a.containerInfo;bk(null,a,null,function(){b[Od]=null})};
|
|
1129
1129
|
function gk(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function hk(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute("data-reactroot")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new fk(a,0,b?{hydrate:!0}:void 0)}
|
|
1130
|
-
function ik(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f._internalRoot;if("function"===typeof e){var h=e;e=function(){var a=ck(g);h.call(a)}}bk(b,g,a,e)}else{f=c._reactRootContainer=hk(c,d);g=f._internalRoot;if("function"===typeof e){var k=e;e=function(){var a=ck(g);k.call(a)}}Nj(function(){bk(b,g,a,e)})}return ck(g)}function jk(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof
|
|
1130
|
+
function ik(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f._internalRoot;if("function"===typeof e){var h=e;e=function(){var a=ck(g);h.call(a)}}bk(b,g,a,e)}else{f=c._reactRootContainer=hk(c,d);g=f._internalRoot;if("function"===typeof e){var k=e;e=function(){var a=ck(g);k.call(a)}}Nj(function(){bk(b,g,a,e)})}return ck(g)}function jk(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:$a,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}
|
|
1131
1131
|
wc=function(a){if(13===a.tag){var b=hg(Gg(),150,100);Ig(a,b);ek(a,b)}};xc=function(a){13===a.tag&&(Ig(a,3),ek(a,3))};yc=function(a){if(13===a.tag){var b=Gg();b=Hg(b,a,null);Ig(a,b);ek(a,b)}};
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
(function(a){var b=a.findFiberByHostInstance;return Yj(n({},a,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:
|
|
1132
|
+
za=function(a,b,c){switch(b){case "input":Cb(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=Qd(d);if(!e)throw Error(u(90));yb(d);Cb(d,e)}}}break;case "textarea":Kb(a,c);break;case "select":b=c.value,null!=b&&Hb(a,!!c.multiple,b,!1)}};Fa=Mj;
|
|
1133
|
+
Ga=function(a,b,c,d,e){var f=W;W|=4;try{return cg(98,a.bind(null,b,c,d,e))}finally{W=f,W===V&&gg()}};Ha=function(){(W&(1|fj|gj))===V&&(Lj(),Dj())};Ia=function(a,b){var c=W;W|=2;try{return a(b)}finally{W=c,W===V&&gg()}};function kk(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!gk(b))throw Error(u(200));return jk(a,b,null,c)}var lk={Events:[Nc,Pd,Qd,xa,ta,Xd,function(a){jc(a,Wd)},Da,Ea,id,mc,Dj,{current:!1}]};
|
|
1134
|
+
(function(a){var b=a.findFiberByHostInstance;return Yj(n({},a,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Wa.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=hc(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:tc,bundleType:0,version:"16.13.1",
|
|
1135
1135
|
rendererPackageName:"react-dom"});exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lk;exports.createPortal=kk;exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;if(void 0===b){if("function"===typeof a.render)throw Error(u(188));throw Error(u(268,Object.keys(a)));}a=hc(b);a=null===a?null:a.stateNode;return a};
|
|
1136
1136
|
exports.flushSync=function(a,b){if((W&(fj|gj))!==V)throw Error(u(187));var c=W;W|=1;try{return cg(99,a.bind(null,b))}finally{W=c,gg()}};exports.hydrate=function(a,b,c){if(!gk(b))throw Error(u(200));return ik(null,a,b,!0,c)};exports.render=function(a,b,c){if(!gk(b))throw Error(u(200));return ik(null,a,b,!1,c)};
|
|
1137
1137
|
exports.unmountComponentAtNode=function(a){if(!gk(a))throw Error(u(40));return a._reactRootContainer?(Nj(function(){ik(null,null,a,!1,function(){a._reactRootContainer=null;a[Od]=null})}),!0):!1};exports.unstable_batchedUpdates=Mj;exports.unstable_createPortal=function(a,b){return kk(a,b,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)};
|
|
1138
|
-
exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!gk(c))throw Error(u(200));if(null==a||void 0===a._reactInternalFiber)throw Error(u(38));return ik(a,b,c,!1,d)};exports.version="16.13.
|
|
1138
|
+
exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!gk(c))throw Error(u(200));if(null==a||void 0===a._reactInternalFiber)throw Error(u(38));return ik(a,b,c,!1,d)};exports.version="16.13.1";
|
|
1139
1139
|
|
|
1140
1140
|
|
|
1141
1141
|
/***/ }),
|
|
@@ -1252,7 +1252,7 @@ if (true) {
|
|
|
1252
1252
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1253
1253
|
|
|
1254
1254
|
"use strict";
|
|
1255
|
-
/** @license React v0.19.
|
|
1255
|
+
/** @license React v0.19.1
|
|
1256
1256
|
* scheduler.production.min.js
|
|
1257
1257
|
*
|
|
1258
1258
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -1283,6 +1283,7 @@ exports.unstable_shouldYield=function(){var a=exports.unstable_now();V(a);var b=
|
|
|
1283
1283
|
if (!ElementProto) {
|
|
1284
1284
|
return;
|
|
1285
1285
|
}
|
|
1286
|
+
|
|
1286
1287
|
if (typeof ElementProto.matches !== 'function') {
|
|
1287
1288
|
ElementProto.matches = ElementProto.msMatchesSelector || ElementProto.mozMatchesSelector || ElementProto.webkitMatchesSelector || function matches(selector) {
|
|
1288
1289
|
var element = this;
|
|
@@ -1305,6 +1306,7 @@ exports.unstable_shouldYield=function(){var a=exports.unstable_now();V(a);var b=
|
|
|
1305
1306
|
if (element.matches(selector)) {
|
|
1306
1307
|
return element;
|
|
1307
1308
|
}
|
|
1309
|
+
|
|
1308
1310
|
element = element.parentNode;
|
|
1309
1311
|
}
|
|
1310
1312
|
|
|
@@ -2901,20 +2903,38 @@ PerfectScrollbar.prototype.removePsClasses = function removePsClasses () {
|
|
|
2901
2903
|
|
|
2902
2904
|
|
|
2903
2905
|
/***/ }),
|
|
2904
|
-
/* 27
|
|
2905
|
-
/* 28 */
|
|
2906
|
+
/* 27 */
|
|
2906
2907
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2907
2908
|
|
|
2908
2909
|
// extracted by mini-css-extract-plugin
|
|
2909
2910
|
|
|
2910
2911
|
/***/ }),
|
|
2911
|
-
/*
|
|
2912
|
-
/* 30 */
|
|
2912
|
+
/* 28 */
|
|
2913
2913
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2914
2914
|
|
|
2915
2915
|
"use strict";
|
|
2916
|
+
// ESM COMPAT FLAG
|
|
2916
2917
|
__webpack_require__.r(__webpack_exports__);
|
|
2917
2918
|
|
|
2919
|
+
// EXPORTS
|
|
2920
|
+
__webpack_require__.d(__webpack_exports__, "AppAside", function() { return /* reexport */ Aside; });
|
|
2921
|
+
__webpack_require__.d(__webpack_exports__, "AppAsideToggler", function() { return /* reexport */ AsideToggler; });
|
|
2922
|
+
__webpack_require__.d(__webpack_exports__, "AppBreadcrumb", function() { return /* reexport */ src_Breadcrumb; });
|
|
2923
|
+
__webpack_require__.d(__webpack_exports__, "AppBreadcrumb2", function() { return /* reexport */ Breadcrumb2; });
|
|
2924
|
+
__webpack_require__.d(__webpack_exports__, "AppFooter", function() { return /* reexport */ Footer; });
|
|
2925
|
+
__webpack_require__.d(__webpack_exports__, "AppHeader", function() { return /* reexport */ Header; });
|
|
2926
|
+
__webpack_require__.d(__webpack_exports__, "AppHeaderDropdown", function() { return /* reexport */ HeaderDropdown; });
|
|
2927
|
+
__webpack_require__.d(__webpack_exports__, "AppNavbarBrand", function() { return /* reexport */ NavbarBrand; });
|
|
2928
|
+
__webpack_require__.d(__webpack_exports__, "AppSidebar", function() { return /* reexport */ Sidebar; });
|
|
2929
|
+
__webpack_require__.d(__webpack_exports__, "AppSidebarFooter", function() { return /* reexport */ SidebarFooter; });
|
|
2930
|
+
__webpack_require__.d(__webpack_exports__, "AppSidebarForm", function() { return /* reexport */ SidebarForm; });
|
|
2931
|
+
__webpack_require__.d(__webpack_exports__, "AppSidebarHeader", function() { return /* reexport */ SidebarHeader; });
|
|
2932
|
+
__webpack_require__.d(__webpack_exports__, "AppSidebarMinimizer", function() { return /* reexport */ SidebarMinimizer; });
|
|
2933
|
+
__webpack_require__.d(__webpack_exports__, "AppSidebarNav", function() { return /* reexport */ SidebarNav; });
|
|
2934
|
+
__webpack_require__.d(__webpack_exports__, "AppSidebarNav2", function() { return /* reexport */ SidebarNav2; });
|
|
2935
|
+
__webpack_require__.d(__webpack_exports__, "AppSidebarToggler", function() { return /* reexport */ SidebarToggler; });
|
|
2936
|
+
__webpack_require__.d(__webpack_exports__, "AppSwitch", function() { return /* reexport */ Switch; });
|
|
2937
|
+
|
|
2918
2938
|
// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"}
|
|
2919
2939
|
var external_root_React_commonjs2_react_commonjs_react_amd_react_ = __webpack_require__(1);
|
|
2920
2940
|
var external_root_React_commonjs2_react_commonjs_react_amd_react_default = /*#__PURE__*/__webpack_require__.n(external_root_React_commonjs2_react_commonjs_react_amd_react_);
|
|
@@ -2929,18 +2949,14 @@ var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
|
|
2929
2949
|
|
|
2930
2950
|
// CONCATENATED MODULE: ./src/Shared/classes.js
|
|
2931
2951
|
var sidebarCssClasses = ['sidebar-show', 'sidebar-sm-show', 'sidebar-md-show', 'sidebar-lg-show', 'sidebar-xl-show'];
|
|
2932
|
-
|
|
2933
2952
|
var asideMenuCssClasses = ['aside-menu-show', 'aside-menu-sm-show', 'aside-menu-md-show', 'aside-menu-lg-show', 'aside-menu-xl-show'];
|
|
2934
|
-
|
|
2935
2953
|
var validBreakpoints = ['sm', 'md', 'lg', 'xl'];
|
|
2936
|
-
|
|
2937
2954
|
function checkBreakpoint(breakpoint, list) {
|
|
2938
2955
|
return list.indexOf(breakpoint) > -1;
|
|
2939
2956
|
}
|
|
2940
2957
|
// CONCATENATED MODULE: ./src/Shared/index.js
|
|
2941
2958
|
|
|
2942
2959
|
|
|
2943
|
-
|
|
2944
2960
|
// CONCATENATED MODULE: ./src/Shared/toggle-classes.js
|
|
2945
2961
|
function toggleClasses(toggleClass, classList, force) {
|
|
2946
2962
|
var level = classList.indexOf(toggleClass);
|
|
@@ -2948,6 +2964,7 @@ function toggleClasses(toggleClass, classList, force) {
|
|
|
2948
2964
|
removeClassList.map(function (className) {
|
|
2949
2965
|
return document.body.classList.remove(className);
|
|
2950
2966
|
});
|
|
2967
|
+
|
|
2951
2968
|
if (force === true) {
|
|
2952
2969
|
document.body.classList.add(toggleClass);
|
|
2953
2970
|
} else if (force === false) {
|
|
@@ -2955,19 +2972,17 @@ function toggleClasses(toggleClass, classList, force) {
|
|
|
2955
2972
|
} else {
|
|
2956
2973
|
document.body.classList.toggle(toggleClass);
|
|
2957
2974
|
}
|
|
2975
|
+
|
|
2958
2976
|
return document.body.classList.contains(toggleClass);
|
|
2959
2977
|
}
|
|
2960
2978
|
// CONCATENATED MODULE: ./src/Aside.js
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
2964
|
-
|
|
2965
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
2979
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2966
2980
|
|
|
2967
|
-
function
|
|
2981
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2968
2982
|
|
|
2969
|
-
function
|
|
2983
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
2970
2984
|
|
|
2985
|
+
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2971
2986
|
|
|
2972
2987
|
|
|
2973
2988
|
|
|
@@ -2983,7 +2998,6 @@ var propTypes = {
|
|
|
2983
2998
|
offCanvas: prop_types_default.a.bool,
|
|
2984
2999
|
tag: prop_types_default.a.oneOfType([prop_types_default.a.func, prop_types_default.a.string])
|
|
2985
3000
|
};
|
|
2986
|
-
|
|
2987
3001
|
var defaultProps = {
|
|
2988
3002
|
tag: 'aside',
|
|
2989
3003
|
display: '',
|
|
@@ -2992,64 +3006,61 @@ var defaultProps = {
|
|
|
2992
3006
|
offCanvas: true
|
|
2993
3007
|
};
|
|
2994
3008
|
|
|
2995
|
-
var Aside_AppAside = function (_Component) {
|
|
2996
|
-
|
|
3009
|
+
var Aside_AppAside = /*#__PURE__*/function (_Component) {
|
|
3010
|
+
_inheritsLoose(AppAside, _Component);
|
|
2997
3011
|
|
|
2998
3012
|
function AppAside(props) {
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
var _this = _possibleConstructorReturn(this, _Component.call(this, props));
|
|
3013
|
+
var _this;
|
|
3002
3014
|
|
|
3003
|
-
_this
|
|
3004
|
-
_this.
|
|
3005
|
-
_this.
|
|
3015
|
+
_this = _Component.call(this, props) || this;
|
|
3016
|
+
_this.isFixed = _this.isFixed.bind(_assertThisInitialized(_this));
|
|
3017
|
+
_this.isOffCanvas = _this.isOffCanvas.bind(_assertThisInitialized(_this));
|
|
3018
|
+
_this.displayBreakpoint = _this.displayBreakpoint.bind(_assertThisInitialized(_this));
|
|
3006
3019
|
return _this;
|
|
3007
3020
|
}
|
|
3008
3021
|
|
|
3009
|
-
AppAside.prototype
|
|
3022
|
+
var _proto = AppAside.prototype;
|
|
3023
|
+
|
|
3024
|
+
_proto.componentDidMount = function componentDidMount() {
|
|
3010
3025
|
this.isFixed(this.props.fixed);
|
|
3011
3026
|
this.isOffCanvas(this.props.offCanvas);
|
|
3012
3027
|
this.displayBreakpoint(this.props.display);
|
|
3013
3028
|
};
|
|
3014
3029
|
|
|
3015
|
-
|
|
3030
|
+
_proto.isFixed = function isFixed(fixed) {
|
|
3016
3031
|
if (fixed) {
|
|
3017
3032
|
document.body.classList.add('aside-menu-fixed');
|
|
3018
3033
|
}
|
|
3019
3034
|
};
|
|
3020
3035
|
|
|
3021
|
-
|
|
3036
|
+
_proto.isOffCanvas = function isOffCanvas(offCanvas) {
|
|
3022
3037
|
if (offCanvas) {
|
|
3023
3038
|
document.body.classList.add('aside-menu-off-canvas');
|
|
3024
3039
|
}
|
|
3025
3040
|
};
|
|
3026
3041
|
|
|
3027
|
-
|
|
3042
|
+
_proto.displayBreakpoint = function displayBreakpoint(display) {
|
|
3028
3043
|
if (display && checkBreakpoint(display, validBreakpoints)) {
|
|
3029
|
-
var cssClass =
|
|
3044
|
+
var cssClass = "aside-menu-" + display + "-show";
|
|
3030
3045
|
toggleClasses(cssClass, asideMenuCssClasses, true);
|
|
3031
3046
|
}
|
|
3032
3047
|
};
|
|
3033
3048
|
|
|
3034
|
-
|
|
3035
|
-
var
|
|
3036
|
-
className =
|
|
3037
|
-
children =
|
|
3038
|
-
Tag =
|
|
3039
|
-
attributes =
|
|
3049
|
+
_proto.render = function render() {
|
|
3050
|
+
var _this$props = this.props,
|
|
3051
|
+
className = _this$props.className,
|
|
3052
|
+
children = _this$props.children,
|
|
3053
|
+
Tag = _this$props.tag,
|
|
3054
|
+
attributes = _objectWithoutPropertiesLoose(_this$props, ["className", "children", "tag"]);
|
|
3040
3055
|
|
|
3041
3056
|
delete attributes.display;
|
|
3042
3057
|
delete attributes.fixed;
|
|
3043
3058
|
delete attributes.offCanvas;
|
|
3044
3059
|
delete attributes.isOpen;
|
|
3045
|
-
|
|
3046
3060
|
var classes = classnames_default()(className, 'aside-menu');
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
_extends({}, attributes, { className: classes }),
|
|
3051
|
-
children
|
|
3052
|
-
);
|
|
3061
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, _extends({}, attributes, {
|
|
3062
|
+
className: classes
|
|
3063
|
+
}), children);
|
|
3053
3064
|
};
|
|
3054
3065
|
|
|
3055
3066
|
return AppAside;
|
|
@@ -3057,19 +3068,15 @@ var Aside_AppAside = function (_Component) {
|
|
|
3057
3068
|
|
|
3058
3069
|
Aside_AppAside.propTypes = propTypes;
|
|
3059
3070
|
Aside_AppAside.defaultProps = defaultProps;
|
|
3060
|
-
|
|
3061
3071
|
/* harmony default export */ var Aside = (Aside_AppAside);
|
|
3062
3072
|
// CONCATENATED MODULE: ./src/AsideToggler.js
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
function AsideToggler_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
3066
|
-
|
|
3067
|
-
function AsideToggler_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
3073
|
+
function AsideToggler_extends() { AsideToggler_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return AsideToggler_extends.apply(this, arguments); }
|
|
3068
3074
|
|
|
3069
|
-
function
|
|
3075
|
+
function AsideToggler_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
3070
3076
|
|
|
3071
|
-
function
|
|
3077
|
+
function AsideToggler_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
3072
3078
|
|
|
3079
|
+
function AsideToggler_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
3073
3080
|
|
|
3074
3081
|
|
|
3075
3082
|
|
|
@@ -3085,7 +3092,6 @@ var AsideToggler_propTypes = {
|
|
|
3085
3092
|
tag: prop_types_default.a.oneOfType([prop_types_default.a.func, prop_types_default.a.string]),
|
|
3086
3093
|
type: prop_types_default.a.string
|
|
3087
3094
|
};
|
|
3088
|
-
|
|
3089
3095
|
var AsideToggler_defaultProps = {
|
|
3090
3096
|
defaultOpen: false,
|
|
3091
3097
|
display: 'lg',
|
|
@@ -3094,69 +3100,66 @@ var AsideToggler_defaultProps = {
|
|
|
3094
3100
|
type: 'button'
|
|
3095
3101
|
};
|
|
3096
3102
|
|
|
3097
|
-
var AsideToggler_AppAsideToggler = function (_Component) {
|
|
3098
|
-
|
|
3103
|
+
var AsideToggler_AppAsideToggler = /*#__PURE__*/function (_Component) {
|
|
3104
|
+
AsideToggler_inheritsLoose(AppAsideToggler, _Component);
|
|
3099
3105
|
|
|
3100
3106
|
function AppAsideToggler(props) {
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
var _this = AsideToggler_possibleConstructorReturn(this, _Component.call(this, props));
|
|
3104
|
-
|
|
3105
|
-
_this.asideToggle = _this.asideToggle.bind(_this);
|
|
3107
|
+
var _this;
|
|
3106
3108
|
|
|
3109
|
+
_this = _Component.call(this, props) || this;
|
|
3110
|
+
_this.asideToggle = _this.asideToggle.bind(AsideToggler_assertThisInitialized(_this));
|
|
3107
3111
|
_this.state = {};
|
|
3108
3112
|
return _this;
|
|
3109
3113
|
}
|
|
3110
3114
|
|
|
3111
|
-
AppAsideToggler.prototype
|
|
3115
|
+
var _proto = AppAsideToggler.prototype;
|
|
3116
|
+
|
|
3117
|
+
_proto.componentDidMount = function componentDidMount() {
|
|
3112
3118
|
this.toggle(this.props.defaultOpen);
|
|
3113
3119
|
};
|
|
3114
3120
|
|
|
3115
|
-
|
|
3121
|
+
_proto.toggle = function toggle(force) {
|
|
3116
3122
|
var _ref = [this.props.display, this.props.mobile],
|
|
3117
3123
|
display = _ref[0],
|
|
3118
3124
|
mobile = _ref[1];
|
|
3119
|
-
|
|
3120
3125
|
var cssClass = asideMenuCssClasses[0];
|
|
3126
|
+
|
|
3121
3127
|
if (!mobile && display && checkBreakpoint(display, validBreakpoints)) {
|
|
3122
|
-
cssClass =
|
|
3128
|
+
cssClass = "aside-menu-" + display + "-show";
|
|
3123
3129
|
}
|
|
3130
|
+
|
|
3124
3131
|
toggleClasses(cssClass, asideMenuCssClasses, force);
|
|
3125
3132
|
};
|
|
3126
3133
|
|
|
3127
|
-
|
|
3134
|
+
_proto.asideToggle = function asideToggle(e) {
|
|
3128
3135
|
e.preventDefault();
|
|
3129
3136
|
this.toggle();
|
|
3130
3137
|
};
|
|
3131
3138
|
|
|
3132
|
-
|
|
3139
|
+
_proto.render = function render() {
|
|
3133
3140
|
var _this2 = this;
|
|
3134
3141
|
|
|
3135
|
-
var
|
|
3136
|
-
className =
|
|
3137
|
-
children =
|
|
3138
|
-
type =
|
|
3139
|
-
Tag =
|
|
3140
|
-
attributes =
|
|
3142
|
+
var _this$props = this.props,
|
|
3143
|
+
className = _this$props.className,
|
|
3144
|
+
children = _this$props.children,
|
|
3145
|
+
type = _this$props.type,
|
|
3146
|
+
Tag = _this$props.tag,
|
|
3147
|
+
attributes = AsideToggler_objectWithoutPropertiesLoose(_this$props, ["className", "children", "type", "tag"]);
|
|
3141
3148
|
|
|
3142
3149
|
delete attributes.defaultOpen;
|
|
3143
3150
|
delete attributes.display;
|
|
3144
3151
|
delete attributes.mobile;
|
|
3145
|
-
|
|
3146
3152
|
var classes = classnames_default()(className, 'navbar-toggler');
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
}
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
}),
|
|
3158
|
-
children || external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement('span', { className: 'navbar-toggler-icon' })
|
|
3159
|
-
);
|
|
3153
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, AsideToggler_extends({
|
|
3154
|
+
type: type,
|
|
3155
|
+
className: classes
|
|
3156
|
+
}, attributes, {
|
|
3157
|
+
onClick: function onClick(event) {
|
|
3158
|
+
return _this2.asideToggle(event);
|
|
3159
|
+
}
|
|
3160
|
+
}), children || /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("span", {
|
|
3161
|
+
className: "navbar-toggler-icon"
|
|
3162
|
+
}));
|
|
3160
3163
|
};
|
|
3161
3164
|
|
|
3162
3165
|
return AppAsideToggler;
|
|
@@ -3164,7 +3167,6 @@ var AsideToggler_AppAsideToggler = function (_Component) {
|
|
|
3164
3167
|
|
|
3165
3168
|
AsideToggler_AppAsideToggler.propTypes = AsideToggler_propTypes;
|
|
3166
3169
|
AsideToggler_AppAsideToggler.defaultProps = AsideToggler_defaultProps;
|
|
3167
|
-
|
|
3168
3170
|
/* harmony default export */ var AsideToggler = (AsideToggler_AppAsideToggler);
|
|
3169
3171
|
// EXTERNAL MODULE: external {"root":"ReactRouterDom","commonjs2":"react-router-dom","commonjs":"react-router-dom","amd":"react-router-dom"}
|
|
3170
3172
|
var external_root_ReactRouterDom_commonjs2_react_router_dom_commonjs_react_router_dom_amd_react_router_dom_ = __webpack_require__(3);
|
|
@@ -3188,7 +3190,7 @@ function extends_extends() {
|
|
|
3188
3190
|
return extends_extends.apply(this, arguments);
|
|
3189
3191
|
}
|
|
3190
3192
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
3191
|
-
function
|
|
3193
|
+
function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
|
|
3192
3194
|
if (source == null) return {};
|
|
3193
3195
|
var target = {};
|
|
3194
3196
|
var sourceKeys = Object.keys(source);
|
|
@@ -3527,7 +3529,7 @@ var BreadcrumbItem_BreadcrumbItem = function BreadcrumbItem(props) {
|
|
|
3527
3529
|
cssModule = props.cssModule,
|
|
3528
3530
|
active = props.active,
|
|
3529
3531
|
Tag = props.tag,
|
|
3530
|
-
attributes =
|
|
3532
|
+
attributes = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(props, ["className", "cssModule", "active", "tag"]);
|
|
3531
3533
|
|
|
3532
3534
|
var classes = mapToCssModules(classnames_default()(className, active ? 'active' : false, 'breadcrumb-item'), cssModule);
|
|
3533
3535
|
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, extends_extends({}, attributes, {
|
|
@@ -3569,7 +3571,7 @@ var Breadcrumb_Breadcrumb = function Breadcrumb(props) {
|
|
|
3569
3571
|
Tag = props.tag,
|
|
3570
3572
|
ListTag = props.listTag,
|
|
3571
3573
|
label = props['aria-label'],
|
|
3572
|
-
attributes =
|
|
3574
|
+
attributes = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(props, ["className", "listClassName", "cssModule", "children", "tag", "listTag", "aria-label"]);
|
|
3573
3575
|
|
|
3574
3576
|
var classes = mapToCssModules(classnames_default()(className), cssModule);
|
|
3575
3577
|
var listClasses = mapToCssModules(classnames_default()('breadcrumb', listClassName), cssModule);
|
|
@@ -3585,31 +3587,24 @@ Breadcrumb_Breadcrumb.propTypes = Breadcrumb_propTypes;
|
|
|
3585
3587
|
Breadcrumb_Breadcrumb.defaultProps = Breadcrumb_defaultProps;
|
|
3586
3588
|
/* harmony default export */ var es_Breadcrumb = (Breadcrumb_Breadcrumb);
|
|
3587
3589
|
// CONCATENATED MODULE: ./src/Breadcrumb.js
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
function Breadcrumb_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
3591
|
-
|
|
3592
|
-
function Breadcrumb_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
3590
|
+
function Breadcrumb_extends() { Breadcrumb_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return Breadcrumb_extends.apply(this, arguments); }
|
|
3593
3591
|
|
|
3594
|
-
function
|
|
3592
|
+
function Breadcrumb_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
3595
3593
|
|
|
3596
|
-
function
|
|
3594
|
+
function Breadcrumb_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
3597
3595
|
|
|
3598
3596
|
|
|
3599
3597
|
|
|
3600
3598
|
|
|
3601
3599
|
|
|
3602
3600
|
|
|
3603
|
-
|
|
3604
|
-
var routes = void 0;
|
|
3601
|
+
var routes;
|
|
3605
3602
|
|
|
3606
3603
|
var getPaths = function getPaths(pathname) {
|
|
3607
3604
|
var paths = ['/'];
|
|
3608
|
-
|
|
3609
3605
|
if (pathname === '/') return paths;
|
|
3610
|
-
|
|
3611
3606
|
pathname.split('/').reduce(function (prev, curr) {
|
|
3612
|
-
var currPath = prev +
|
|
3607
|
+
var currPath = prev + "/" + curr;
|
|
3613
3608
|
paths.push(currPath);
|
|
3614
3609
|
return currPath;
|
|
3615
3610
|
});
|
|
@@ -3618,33 +3613,28 @@ var getPaths = function getPaths(pathname) {
|
|
|
3618
3613
|
|
|
3619
3614
|
var Breadcrumb_findRouteName = function findRouteName(url) {
|
|
3620
3615
|
var aroute = routes.find(function (route) {
|
|
3621
|
-
return Object(external_root_ReactRouterDom_commonjs2_react_router_dom_commonjs_react_router_dom_amd_react_router_dom_["matchPath"])(url, {
|
|
3616
|
+
return Object(external_root_ReactRouterDom_commonjs2_react_router_dom_commonjs_react_router_dom_amd_react_router_dom_["matchPath"])(url, {
|
|
3617
|
+
path: route.path,
|
|
3618
|
+
exact: route.exact
|
|
3619
|
+
});
|
|
3622
3620
|
});
|
|
3623
3621
|
return aroute && aroute.name ? aroute.name : null;
|
|
3624
3622
|
};
|
|
3625
3623
|
|
|
3626
3624
|
var Breadcrumb_BreadcrumbsItem = function BreadcrumbsItem(_ref) {
|
|
3627
3625
|
var match = _ref.match;
|
|
3628
|
-
|
|
3629
3626
|
var routeName = Breadcrumb_findRouteName(match.url);
|
|
3627
|
+
|
|
3630
3628
|
if (routeName) {
|
|
3631
|
-
return (
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
) : external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
3638
|
-
es_BreadcrumbItem,
|
|
3639
|
-
null,
|
|
3640
|
-
external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
3641
|
-
external_root_ReactRouterDom_commonjs2_react_router_dom_commonjs_react_router_dom_amd_react_router_dom_["Link"],
|
|
3642
|
-
{ to: match.url || '' },
|
|
3643
|
-
routeName
|
|
3644
|
-
)
|
|
3645
|
-
)
|
|
3629
|
+
return (// eslint-disable-next-line react/prop-types
|
|
3630
|
+
match.isExact ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_BreadcrumbItem, {
|
|
3631
|
+
active: true
|
|
3632
|
+
}, routeName) : /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_BreadcrumbItem, null, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(external_root_ReactRouterDom_commonjs2_react_router_dom_commonjs_react_router_dom_amd_react_router_dom_["Link"], {
|
|
3633
|
+
to: match.url || ''
|
|
3634
|
+
}, routeName))
|
|
3646
3635
|
);
|
|
3647
3636
|
}
|
|
3637
|
+
|
|
3648
3638
|
return null;
|
|
3649
3639
|
};
|
|
3650
3640
|
|
|
@@ -3657,13 +3647,13 @@ Breadcrumb_BreadcrumbsItem.propTypes = {
|
|
|
3657
3647
|
var Breadcrumb_Breadcrumbs = function Breadcrumbs(args) {
|
|
3658
3648
|
var paths = getPaths(args.location.pathname);
|
|
3659
3649
|
var items = paths.map(function (path, i) {
|
|
3660
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(external_root_ReactRouterDom_commonjs2_react_router_dom_commonjs_react_router_dom_amd_react_router_dom_["Route"], {
|
|
3650
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(external_root_ReactRouterDom_commonjs2_react_router_dom_commonjs_react_router_dom_amd_react_router_dom_["Route"], {
|
|
3651
|
+
key: i.toString(),
|
|
3652
|
+
path: path,
|
|
3653
|
+
component: Breadcrumb_BreadcrumbsItem
|
|
3654
|
+
});
|
|
3661
3655
|
});
|
|
3662
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
3663
|
-
es_Breadcrumb,
|
|
3664
|
-
null,
|
|
3665
|
-
items
|
|
3666
|
-
);
|
|
3656
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_Breadcrumb, null, items);
|
|
3667
3657
|
};
|
|
3668
3658
|
|
|
3669
3659
|
var src_Breadcrumb_propTypes = {
|
|
@@ -3672,42 +3662,48 @@ var src_Breadcrumb_propTypes = {
|
|
|
3672
3662
|
appRoutes: prop_types_default.a.any,
|
|
3673
3663
|
tag: prop_types_default.a.oneOfType([prop_types_default.a.func, prop_types_default.a.string])
|
|
3674
3664
|
};
|
|
3675
|
-
|
|
3676
3665
|
var src_Breadcrumb_defaultProps = {
|
|
3677
3666
|
tag: 'div',
|
|
3678
3667
|
className: '',
|
|
3679
|
-
appRoutes: [{
|
|
3668
|
+
appRoutes: [{
|
|
3669
|
+
path: '/',
|
|
3670
|
+
exact: true,
|
|
3671
|
+
name: 'Home',
|
|
3672
|
+
component: null
|
|
3673
|
+
}]
|
|
3680
3674
|
};
|
|
3681
3675
|
|
|
3682
|
-
var Breadcrumb_AppBreadcrumb = function (_Component) {
|
|
3683
|
-
|
|
3676
|
+
var Breadcrumb_AppBreadcrumb = /*#__PURE__*/function (_Component) {
|
|
3677
|
+
Breadcrumb_inheritsLoose(AppBreadcrumb, _Component);
|
|
3684
3678
|
|
|
3685
3679
|
function AppBreadcrumb(props) {
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
var _this = Breadcrumb_possibleConstructorReturn(this, _Component.call(this, props));
|
|
3680
|
+
var _this;
|
|
3689
3681
|
|
|
3690
|
-
_this
|
|
3682
|
+
_this = _Component.call(this, props) || this;
|
|
3683
|
+
_this.state = {
|
|
3684
|
+
routes: props.appRoutes
|
|
3685
|
+
};
|
|
3691
3686
|
routes = _this.state.routes;
|
|
3692
3687
|
return _this;
|
|
3693
3688
|
}
|
|
3694
3689
|
|
|
3695
|
-
AppBreadcrumb.prototype
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3690
|
+
var _proto = AppBreadcrumb.prototype;
|
|
3691
|
+
|
|
3692
|
+
_proto.render = function render() {
|
|
3693
|
+
var _this$props = this.props,
|
|
3694
|
+
className = _this$props.className,
|
|
3695
|
+
Tag = _this$props.tag,
|
|
3696
|
+
attributes = Breadcrumb_objectWithoutPropertiesLoose(_this$props, ["className", "tag"]);
|
|
3700
3697
|
|
|
3701
3698
|
delete attributes.children;
|
|
3702
3699
|
delete attributes.appRoutes;
|
|
3703
|
-
|
|
3704
3700
|
var classes = classnames_default()(className);
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
);
|
|
3701
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, {
|
|
3702
|
+
className: classes
|
|
3703
|
+
}, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(external_root_ReactRouterDom_commonjs2_react_router_dom_commonjs_react_router_dom_amd_react_router_dom_["Route"], Breadcrumb_extends({
|
|
3704
|
+
path: "/:path",
|
|
3705
|
+
component: Breadcrumb_Breadcrumbs
|
|
3706
|
+
}, attributes)));
|
|
3711
3707
|
};
|
|
3712
3708
|
|
|
3713
3709
|
return AppBreadcrumb;
|
|
@@ -3715,34 +3711,26 @@ var Breadcrumb_AppBreadcrumb = function (_Component) {
|
|
|
3715
3711
|
|
|
3716
3712
|
Breadcrumb_AppBreadcrumb.propTypes = src_Breadcrumb_propTypes;
|
|
3717
3713
|
Breadcrumb_AppBreadcrumb.defaultProps = src_Breadcrumb_defaultProps;
|
|
3718
|
-
|
|
3719
3714
|
/* harmony default export */ var src_Breadcrumb = (Breadcrumb_AppBreadcrumb);
|
|
3720
3715
|
// CONCATENATED MODULE: ./src/Breadcrumb2.js
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
function Breadcrumb2_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
3724
|
-
|
|
3725
|
-
function Breadcrumb2_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
3716
|
+
function Breadcrumb2_extends() { Breadcrumb2_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return Breadcrumb2_extends.apply(this, arguments); }
|
|
3726
3717
|
|
|
3727
|
-
function
|
|
3718
|
+
function Breadcrumb2_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
3728
3719
|
|
|
3729
|
-
function
|
|
3720
|
+
function Breadcrumb2_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
3730
3721
|
|
|
3731
3722
|
|
|
3732
3723
|
|
|
3733
3724
|
|
|
3734
3725
|
|
|
3735
|
-
|
|
3736
|
-
var
|
|
3737
|
-
var router = void 0;
|
|
3726
|
+
var Breadcrumb2_routes;
|
|
3727
|
+
var router;
|
|
3738
3728
|
|
|
3739
3729
|
var Breadcrumb2_getPaths = function getPaths(pathname) {
|
|
3740
3730
|
var paths = ['/'];
|
|
3741
|
-
|
|
3742
3731
|
if (pathname === '/') return paths;
|
|
3743
|
-
|
|
3744
3732
|
pathname.split('/').reduce(function (prev, curr) {
|
|
3745
|
-
var currPath = prev +
|
|
3733
|
+
var currPath = prev + "/" + curr;
|
|
3746
3734
|
paths.push(currPath);
|
|
3747
3735
|
return currPath;
|
|
3748
3736
|
});
|
|
@@ -3752,34 +3740,29 @@ var Breadcrumb2_getPaths = function getPaths(pathname) {
|
|
|
3752
3740
|
var findRouteName2 = function findRouteName2(url) {
|
|
3753
3741
|
var matchPath = router.matchPath;
|
|
3754
3742
|
var aroute = Breadcrumb2_routes.find(function (route) {
|
|
3755
|
-
return matchPath(url, {
|
|
3743
|
+
return matchPath(url, {
|
|
3744
|
+
path: route.path,
|
|
3745
|
+
exact: route.exact
|
|
3746
|
+
});
|
|
3756
3747
|
});
|
|
3757
3748
|
return aroute && aroute.name ? aroute.name : null;
|
|
3758
3749
|
};
|
|
3759
3750
|
|
|
3760
3751
|
var Breadcrumb2_BreadcrumbsItem2 = function BreadcrumbsItem2(_ref) {
|
|
3761
3752
|
var match = _ref.match;
|
|
3762
|
-
|
|
3763
3753
|
var routeName = findRouteName2(match.url);
|
|
3764
3754
|
var Link = router.Link;
|
|
3755
|
+
|
|
3765
3756
|
if (routeName) {
|
|
3766
|
-
return (
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
) : external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
3773
|
-
es_BreadcrumbItem,
|
|
3774
|
-
null,
|
|
3775
|
-
external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
3776
|
-
Link,
|
|
3777
|
-
{ to: match.url || '' },
|
|
3778
|
-
routeName
|
|
3779
|
-
)
|
|
3780
|
-
)
|
|
3757
|
+
return (// eslint-disable-next-line react/prop-types
|
|
3758
|
+
match.isExact ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_BreadcrumbItem, {
|
|
3759
|
+
active: true
|
|
3760
|
+
}, routeName) : /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_BreadcrumbItem, null, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Link, {
|
|
3761
|
+
to: match.url || ''
|
|
3762
|
+
}, routeName))
|
|
3781
3763
|
);
|
|
3782
3764
|
}
|
|
3765
|
+
|
|
3783
3766
|
return null;
|
|
3784
3767
|
};
|
|
3785
3768
|
|
|
@@ -3793,13 +3776,13 @@ var Breadcrumb2_Breadcrumbs2 = function Breadcrumbs2(args) {
|
|
|
3793
3776
|
var Route = router.Route;
|
|
3794
3777
|
var paths = Breadcrumb2_getPaths(args.location.pathname);
|
|
3795
3778
|
var items = paths.map(function (path, i) {
|
|
3796
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Route, {
|
|
3779
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Route, {
|
|
3780
|
+
key: i.toString(),
|
|
3781
|
+
path: path,
|
|
3782
|
+
component: Breadcrumb2_BreadcrumbsItem2
|
|
3783
|
+
});
|
|
3797
3784
|
});
|
|
3798
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
3799
|
-
es_Breadcrumb,
|
|
3800
|
-
null,
|
|
3801
|
-
items
|
|
3802
|
-
);
|
|
3785
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_Breadcrumb, null, items);
|
|
3803
3786
|
};
|
|
3804
3787
|
|
|
3805
3788
|
var Breadcrumb2_propTypes = {
|
|
@@ -3809,46 +3792,51 @@ var Breadcrumb2_propTypes = {
|
|
|
3809
3792
|
tag: prop_types_default.a.oneOfType([prop_types_default.a.func, prop_types_default.a.string]),
|
|
3810
3793
|
router: prop_types_default.a.any
|
|
3811
3794
|
};
|
|
3812
|
-
|
|
3813
3795
|
var Breadcrumb2_defaultProps = {
|
|
3814
3796
|
tag: 'div',
|
|
3815
3797
|
className: '',
|
|
3816
|
-
appRoutes: [{
|
|
3798
|
+
appRoutes: [{
|
|
3799
|
+
path: '/',
|
|
3800
|
+
exact: true,
|
|
3801
|
+
name: 'Home',
|
|
3802
|
+
component: null
|
|
3803
|
+
}]
|
|
3817
3804
|
};
|
|
3818
3805
|
|
|
3819
|
-
var Breadcrumb2_AppBreadcrumb2 = function (_Component) {
|
|
3820
|
-
|
|
3806
|
+
var Breadcrumb2_AppBreadcrumb2 = /*#__PURE__*/function (_Component) {
|
|
3807
|
+
Breadcrumb2_inheritsLoose(AppBreadcrumb2, _Component);
|
|
3821
3808
|
|
|
3822
3809
|
function AppBreadcrumb2(props) {
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
var _this = Breadcrumb2_possibleConstructorReturn(this, _Component.call(this, props));
|
|
3810
|
+
var _this;
|
|
3826
3811
|
|
|
3827
|
-
_this
|
|
3812
|
+
_this = _Component.call(this, props) || this;
|
|
3813
|
+
_this.state = {
|
|
3814
|
+
routes: props.appRoutes
|
|
3815
|
+
};
|
|
3828
3816
|
Breadcrumb2_routes = _this.state.routes;
|
|
3829
3817
|
router = props.router;
|
|
3830
3818
|
return _this;
|
|
3831
3819
|
}
|
|
3832
3820
|
|
|
3833
|
-
AppBreadcrumb2.prototype
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3821
|
+
var _proto = AppBreadcrumb2.prototype;
|
|
3822
|
+
|
|
3823
|
+
_proto.render = function render() {
|
|
3824
|
+
var _this$props = this.props,
|
|
3825
|
+
className = _this$props.className,
|
|
3826
|
+
Tag = _this$props.tag,
|
|
3827
|
+
attributes = Breadcrumb2_objectWithoutPropertiesLoose(_this$props, ["className", "tag"]);
|
|
3838
3828
|
|
|
3839
3829
|
delete attributes.children;
|
|
3840
3830
|
delete attributes.appRoutes;
|
|
3841
3831
|
delete attributes.router;
|
|
3842
|
-
|
|
3843
3832
|
var classes = classnames_default()(className);
|
|
3844
|
-
|
|
3845
3833
|
var Route = router.Route;
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
);
|
|
3834
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, {
|
|
3835
|
+
className: classes
|
|
3836
|
+
}, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Route, Breadcrumb2_extends({
|
|
3837
|
+
path: "/:path",
|
|
3838
|
+
component: Breadcrumb2_Breadcrumbs2
|
|
3839
|
+
}, attributes)));
|
|
3852
3840
|
};
|
|
3853
3841
|
|
|
3854
3842
|
return AppBreadcrumb2;
|
|
@@ -3856,19 +3844,15 @@ var Breadcrumb2_AppBreadcrumb2 = function (_Component) {
|
|
|
3856
3844
|
|
|
3857
3845
|
Breadcrumb2_AppBreadcrumb2.propTypes = Breadcrumb2_propTypes;
|
|
3858
3846
|
Breadcrumb2_AppBreadcrumb2.defaultProps = Breadcrumb2_defaultProps;
|
|
3859
|
-
|
|
3860
3847
|
/* harmony default export */ var Breadcrumb2 = (Breadcrumb2_AppBreadcrumb2);
|
|
3861
3848
|
// CONCATENATED MODULE: ./src/Footer.js
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
function Footer_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
3849
|
+
function Footer_extends() { Footer_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return Footer_extends.apply(this, arguments); }
|
|
3865
3850
|
|
|
3866
|
-
function
|
|
3851
|
+
function Footer_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
3867
3852
|
|
|
3868
|
-
function
|
|
3869
|
-
|
|
3870
|
-
function Footer_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
3853
|
+
function Footer_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
3871
3854
|
|
|
3855
|
+
function Footer_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
3872
3856
|
|
|
3873
3857
|
|
|
3874
3858
|
|
|
@@ -3879,50 +3863,46 @@ var Footer_propTypes = {
|
|
|
3879
3863
|
fixed: prop_types_default.a.bool,
|
|
3880
3864
|
tag: prop_types_default.a.oneOfType([prop_types_default.a.func, prop_types_default.a.string])
|
|
3881
3865
|
};
|
|
3882
|
-
|
|
3883
3866
|
var Footer_defaultProps = {
|
|
3884
3867
|
tag: 'footer',
|
|
3885
3868
|
fixed: false
|
|
3886
3869
|
};
|
|
3887
3870
|
|
|
3888
|
-
var Footer_AppFooter = function (_Component) {
|
|
3889
|
-
|
|
3871
|
+
var Footer_AppFooter = /*#__PURE__*/function (_Component) {
|
|
3872
|
+
Footer_inheritsLoose(AppFooter, _Component);
|
|
3890
3873
|
|
|
3891
3874
|
function AppFooter(props) {
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
var _this = Footer_possibleConstructorReturn(this, _Component.call(this, props));
|
|
3875
|
+
var _this;
|
|
3895
3876
|
|
|
3896
|
-
_this
|
|
3877
|
+
_this = _Component.call(this, props) || this;
|
|
3878
|
+
_this.isFixed = _this.isFixed.bind(Footer_assertThisInitialized(_this));
|
|
3897
3879
|
return _this;
|
|
3898
3880
|
}
|
|
3899
3881
|
|
|
3900
|
-
AppFooter.prototype
|
|
3882
|
+
var _proto = AppFooter.prototype;
|
|
3883
|
+
|
|
3884
|
+
_proto.componentDidMount = function componentDidMount() {
|
|
3901
3885
|
this.isFixed(this.props.fixed);
|
|
3902
3886
|
};
|
|
3903
3887
|
|
|
3904
|
-
|
|
3888
|
+
_proto.isFixed = function isFixed(fixed) {
|
|
3905
3889
|
if (fixed) {
|
|
3906
3890
|
document.body.classList.add('footer-fixed');
|
|
3907
3891
|
}
|
|
3908
3892
|
};
|
|
3909
3893
|
|
|
3910
|
-
|
|
3911
|
-
var
|
|
3912
|
-
className =
|
|
3913
|
-
children =
|
|
3914
|
-
Tag =
|
|
3915
|
-
attributes =
|
|
3894
|
+
_proto.render = function render() {
|
|
3895
|
+
var _this$props = this.props,
|
|
3896
|
+
className = _this$props.className,
|
|
3897
|
+
children = _this$props.children,
|
|
3898
|
+
Tag = _this$props.tag,
|
|
3899
|
+
attributes = Footer_objectWithoutPropertiesLoose(_this$props, ["className", "children", "tag"]);
|
|
3916
3900
|
|
|
3917
3901
|
delete attributes.fixed;
|
|
3918
|
-
|
|
3919
3902
|
var classes = classnames_default()(className, 'app-footer');
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
Footer_extends({ className: classes }, attributes),
|
|
3924
|
-
children
|
|
3925
|
-
);
|
|
3903
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, Footer_extends({
|
|
3904
|
+
className: classes
|
|
3905
|
+
}, attributes), children);
|
|
3926
3906
|
};
|
|
3927
3907
|
|
|
3928
3908
|
return AppFooter;
|
|
@@ -3930,19 +3910,13 @@ var Footer_AppFooter = function (_Component) {
|
|
|
3930
3910
|
|
|
3931
3911
|
Footer_AppFooter.propTypes = Footer_propTypes;
|
|
3932
3912
|
Footer_AppFooter.defaultProps = Footer_defaultProps;
|
|
3933
|
-
|
|
3934
3913
|
/* harmony default export */ var Footer = (Footer_AppFooter);
|
|
3935
3914
|
// CONCATENATED MODULE: ./src/Header.js
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
function Header_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
3939
|
-
|
|
3940
|
-
function Header_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
3941
|
-
|
|
3942
|
-
function Header_possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
3915
|
+
function Header_extends() { Header_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return Header_extends.apply(this, arguments); }
|
|
3943
3916
|
|
|
3944
|
-
function
|
|
3917
|
+
function Header_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
3945
3918
|
|
|
3919
|
+
function Header_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
3946
3920
|
|
|
3947
3921
|
|
|
3948
3922
|
|
|
@@ -3953,51 +3927,45 @@ var Header_propTypes = {
|
|
|
3953
3927
|
fixed: prop_types_default.a.bool,
|
|
3954
3928
|
tag: prop_types_default.a.oneOfType([prop_types_default.a.func, prop_types_default.a.string])
|
|
3955
3929
|
};
|
|
3956
|
-
|
|
3957
3930
|
var Header_defaultProps = {
|
|
3958
3931
|
tag: 'header',
|
|
3959
3932
|
fixed: false
|
|
3960
3933
|
};
|
|
3961
3934
|
|
|
3962
|
-
var Header_AppHeader = function (_Component) {
|
|
3963
|
-
|
|
3935
|
+
var Header_AppHeader = /*#__PURE__*/function (_Component) {
|
|
3936
|
+
Header_inheritsLoose(AppHeader, _Component);
|
|
3964
3937
|
|
|
3965
3938
|
function AppHeader() {
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
return Header_possibleConstructorReturn(this, _Component.apply(this, arguments));
|
|
3939
|
+
return _Component.apply(this, arguments) || this;
|
|
3969
3940
|
}
|
|
3970
3941
|
|
|
3971
|
-
AppHeader.prototype
|
|
3942
|
+
var _proto = AppHeader.prototype;
|
|
3943
|
+
|
|
3944
|
+
_proto.componentDidMount = function componentDidMount() {
|
|
3972
3945
|
this.isFixed(this.props.fixed);
|
|
3973
3946
|
};
|
|
3974
3947
|
|
|
3975
|
-
|
|
3948
|
+
_proto.isFixed = function isFixed(fixed) {
|
|
3976
3949
|
if (fixed) {
|
|
3977
3950
|
document.body.classList.add('header-fixed');
|
|
3978
3951
|
}
|
|
3979
|
-
}
|
|
3980
|
-
|
|
3981
|
-
// breakpoint(breakpoint) {
|
|
3952
|
+
} // breakpoint(breakpoint) {
|
|
3982
3953
|
// return breakpoint || '';
|
|
3983
3954
|
// }
|
|
3955
|
+
;
|
|
3984
3956
|
|
|
3985
|
-
|
|
3986
|
-
var
|
|
3987
|
-
className =
|
|
3988
|
-
children =
|
|
3989
|
-
Tag =
|
|
3990
|
-
attributes =
|
|
3957
|
+
_proto.render = function render() {
|
|
3958
|
+
var _this$props = this.props,
|
|
3959
|
+
className = _this$props.className,
|
|
3960
|
+
children = _this$props.children,
|
|
3961
|
+
Tag = _this$props.tag,
|
|
3962
|
+
attributes = Header_objectWithoutPropertiesLoose(_this$props, ["className", "children", "tag"]);
|
|
3991
3963
|
|
|
3992
3964
|
delete attributes.fixed;
|
|
3993
|
-
|
|
3994
3965
|
var classes = classnames_default()(className, 'app-header', 'navbar');
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
Header_extends({ className: classes }, attributes),
|
|
3999
|
-
children
|
|
4000
|
-
);
|
|
3966
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, Header_extends({
|
|
3967
|
+
className: classes
|
|
3968
|
+
}, attributes), children);
|
|
4001
3969
|
};
|
|
4002
3970
|
|
|
4003
3971
|
return AppHeader;
|
|
@@ -4005,10 +3973,9 @@ var Header_AppHeader = function (_Component) {
|
|
|
4005
3973
|
|
|
4006
3974
|
Header_AppHeader.propTypes = Header_propTypes;
|
|
4007
3975
|
Header_AppHeader.defaultProps = Header_defaultProps;
|
|
4008
|
-
|
|
4009
3976
|
/* harmony default export */ var Header = (Header_AppHeader);
|
|
4010
3977
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
4011
|
-
function
|
|
3978
|
+
function assertThisInitialized_assertThisInitialized(self) {
|
|
4012
3979
|
if (self === void 0) {
|
|
4013
3980
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4014
3981
|
}
|
|
@@ -4016,7 +3983,7 @@ function _assertThisInitialized(self) {
|
|
|
4016
3983
|
return self;
|
|
4017
3984
|
}
|
|
4018
3985
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
|
|
4019
|
-
function
|
|
3986
|
+
function inheritsLoose_inheritsLoose(subClass, superClass) {
|
|
4020
3987
|
subClass.prototype = Object.create(superClass.prototype);
|
|
4021
3988
|
subClass.prototype.constructor = subClass;
|
|
4022
3989
|
subClass.__proto__ = superClass;
|
|
@@ -4152,17 +4119,17 @@ var preventDefaultKeys = [keyCodes.space, keyCodes.enter, keyCodes.up, keyCodes.
|
|
|
4152
4119
|
var Dropdown_Dropdown =
|
|
4153
4120
|
/*#__PURE__*/
|
|
4154
4121
|
function (_React$Component) {
|
|
4155
|
-
|
|
4122
|
+
inheritsLoose_inheritsLoose(Dropdown, _React$Component);
|
|
4156
4123
|
|
|
4157
4124
|
function Dropdown(props) {
|
|
4158
4125
|
var _this;
|
|
4159
4126
|
|
|
4160
4127
|
_this = _React$Component.call(this, props) || this;
|
|
4161
|
-
_this.addEvents = _this.addEvents.bind(
|
|
4162
|
-
_this.handleDocumentClick = _this.handleDocumentClick.bind(
|
|
4163
|
-
_this.handleKeyDown = _this.handleKeyDown.bind(
|
|
4164
|
-
_this.removeEvents = _this.removeEvents.bind(
|
|
4165
|
-
_this.toggle = _this.toggle.bind(
|
|
4128
|
+
_this.addEvents = _this.addEvents.bind(assertThisInitialized_assertThisInitialized(_this));
|
|
4129
|
+
_this.handleDocumentClick = _this.handleDocumentClick.bind(assertThisInitialized_assertThisInitialized(_this));
|
|
4130
|
+
_this.handleKeyDown = _this.handleKeyDown.bind(assertThisInitialized_assertThisInitialized(_this));
|
|
4131
|
+
_this.removeEvents = _this.removeEvents.bind(assertThisInitialized_assertThisInitialized(_this));
|
|
4132
|
+
_this.toggle = _this.toggle.bind(assertThisInitialized_assertThisInitialized(_this));
|
|
4166
4133
|
_this.containerRef = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createRef();
|
|
4167
4134
|
return _this;
|
|
4168
4135
|
}
|
|
@@ -4333,7 +4300,7 @@ function (_React$Component) {
|
|
|
4333
4300
|
active = _omit.active,
|
|
4334
4301
|
addonType = _omit.addonType,
|
|
4335
4302
|
tag = _omit.tag,
|
|
4336
|
-
attrs =
|
|
4303
|
+
attrs = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_omit, ["className", "cssModule", "direction", "isOpen", "group", "size", "nav", "setActiveFromChild", "active", "addonType", "tag"]);
|
|
4337
4304
|
|
|
4338
4305
|
var Tag = tag || (nav ? 'li' : 'div');
|
|
4339
4306
|
var subItemIsActive = false;
|
|
@@ -4360,15 +4327,13 @@ Dropdown_Dropdown.propTypes = Dropdown_propTypes;
|
|
|
4360
4327
|
Dropdown_Dropdown.defaultProps = Dropdown_defaultProps;
|
|
4361
4328
|
/* harmony default export */ var es_Dropdown = (Dropdown_Dropdown);
|
|
4362
4329
|
// CONCATENATED MODULE: ./src/HeaderDropdown.js
|
|
4363
|
-
var
|
|
4330
|
+
function HeaderDropdown_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4364
4331
|
|
|
4365
|
-
function
|
|
4332
|
+
function HeaderDropdown_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
4366
4333
|
|
|
4367
|
-
function
|
|
4334
|
+
function HeaderDropdown_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
4368
4335
|
|
|
4369
|
-
function
|
|
4370
|
-
|
|
4371
|
-
function HeaderDropdown_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
4336
|
+
function HeaderDropdown_extends() { HeaderDropdown_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return HeaderDropdown_extends.apply(this, arguments); }
|
|
4372
4337
|
|
|
4373
4338
|
|
|
4374
4339
|
|
|
@@ -4383,37 +4348,38 @@ var HeaderDropdown_defaultProps = {
|
|
|
4383
4348
|
direction: 'down'
|
|
4384
4349
|
};
|
|
4385
4350
|
|
|
4386
|
-
var HeaderDropdown_AppHeaderDropdown = function (_Component) {
|
|
4387
|
-
|
|
4351
|
+
var HeaderDropdown_AppHeaderDropdown = /*#__PURE__*/function (_Component) {
|
|
4352
|
+
HeaderDropdown_inheritsLoose(AppHeaderDropdown, _Component);
|
|
4388
4353
|
|
|
4389
4354
|
function AppHeaderDropdown(props) {
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
var _this = HeaderDropdown_possibleConstructorReturn(this, _Component.call(this, props));
|
|
4355
|
+
var _this;
|
|
4393
4356
|
|
|
4394
|
-
_this
|
|
4357
|
+
_this = _Component.call(this, props) || this;
|
|
4358
|
+
_this.toggle = _this.toggle.bind(HeaderDropdown_assertThisInitialized(_this));
|
|
4395
4359
|
_this.state = {
|
|
4396
4360
|
dropdownOpen: false
|
|
4397
4361
|
};
|
|
4398
4362
|
return _this;
|
|
4399
4363
|
}
|
|
4400
4364
|
|
|
4401
|
-
AppHeaderDropdown.prototype
|
|
4365
|
+
var _proto = AppHeaderDropdown.prototype;
|
|
4366
|
+
|
|
4367
|
+
_proto.toggle = function toggle() {
|
|
4402
4368
|
this.setState({
|
|
4403
4369
|
dropdownOpen: !this.state.dropdownOpen
|
|
4404
4370
|
});
|
|
4405
4371
|
};
|
|
4406
4372
|
|
|
4407
|
-
|
|
4408
|
-
var
|
|
4409
|
-
children =
|
|
4410
|
-
attributes =
|
|
4411
|
-
|
|
4412
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
);
|
|
4373
|
+
_proto.render = function render() {
|
|
4374
|
+
var _this$props = this.props,
|
|
4375
|
+
children = _this$props.children,
|
|
4376
|
+
attributes = HeaderDropdown_objectWithoutPropertiesLoose(_this$props, ["children"]);
|
|
4377
|
+
|
|
4378
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_Dropdown, HeaderDropdown_extends({
|
|
4379
|
+
nav: true,
|
|
4380
|
+
isOpen: this.state.dropdownOpen,
|
|
4381
|
+
toggle: this.toggle
|
|
4382
|
+
}, attributes), children);
|
|
4417
4383
|
};
|
|
4418
4384
|
|
|
4419
4385
|
return AppHeaderDropdown;
|
|
@@ -4421,19 +4387,13 @@ var HeaderDropdown_AppHeaderDropdown = function (_Component) {
|
|
|
4421
4387
|
|
|
4422
4388
|
HeaderDropdown_AppHeaderDropdown.propTypes = HeaderDropdown_propTypes;
|
|
4423
4389
|
HeaderDropdown_AppHeaderDropdown.defaultProps = HeaderDropdown_defaultProps;
|
|
4424
|
-
|
|
4425
4390
|
/* harmony default export */ var HeaderDropdown = (HeaderDropdown_AppHeaderDropdown);
|
|
4426
4391
|
// CONCATENATED MODULE: ./src/NavbarBrand.js
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
function NavbarBrand_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
4392
|
+
function NavbarBrand_extends() { NavbarBrand_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return NavbarBrand_extends.apply(this, arguments); }
|
|
4430
4393
|
|
|
4431
|
-
function
|
|
4432
|
-
|
|
4433
|
-
function NavbarBrand_possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
4434
|
-
|
|
4435
|
-
function NavbarBrand_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
4394
|
+
function NavbarBrand_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4436
4395
|
|
|
4396
|
+
function NavbarBrand_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
4437
4397
|
|
|
4438
4398
|
|
|
4439
4399
|
|
|
@@ -4446,38 +4406,37 @@ var NavbarBrand_propTypes = {
|
|
|
4446
4406
|
full: prop_types_default.a.any,
|
|
4447
4407
|
minimized: prop_types_default.a.any
|
|
4448
4408
|
};
|
|
4449
|
-
|
|
4450
4409
|
var NavbarBrand_defaultProps = {
|
|
4451
4410
|
tag: 'a'
|
|
4452
4411
|
};
|
|
4453
4412
|
|
|
4454
|
-
var NavbarBrand_AppNavbarBrand = function (_Component) {
|
|
4455
|
-
|
|
4413
|
+
var NavbarBrand_AppNavbarBrand = /*#__PURE__*/function (_Component) {
|
|
4414
|
+
NavbarBrand_inheritsLoose(AppNavbarBrand, _Component);
|
|
4456
4415
|
|
|
4457
4416
|
function AppNavbarBrand() {
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
return NavbarBrand_possibleConstructorReturn(this, _Component.apply(this, arguments));
|
|
4417
|
+
return _Component.apply(this, arguments) || this;
|
|
4461
4418
|
}
|
|
4462
4419
|
|
|
4463
|
-
AppNavbarBrand.prototype
|
|
4420
|
+
var _proto = AppNavbarBrand.prototype;
|
|
4421
|
+
|
|
4422
|
+
_proto.imgSrc = function imgSrc(brand) {
|
|
4464
4423
|
return brand.src ? brand.src : '';
|
|
4465
4424
|
};
|
|
4466
4425
|
|
|
4467
|
-
|
|
4426
|
+
_proto.imgWidth = function imgWidth(brand) {
|
|
4468
4427
|
return brand.width ? brand.width : 'auto';
|
|
4469
4428
|
};
|
|
4470
4429
|
|
|
4471
|
-
|
|
4430
|
+
_proto.imgHeight = function imgHeight(brand) {
|
|
4472
4431
|
return brand.height ? brand.height : 'auto';
|
|
4473
4432
|
};
|
|
4474
4433
|
|
|
4475
|
-
|
|
4434
|
+
_proto.imgAlt = function imgAlt(brand) {
|
|
4476
4435
|
return brand.alt ? brand.alt : '';
|
|
4477
4436
|
};
|
|
4478
4437
|
|
|
4479
|
-
|
|
4480
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
4438
|
+
_proto.navbarBrandImg = function navbarBrandImg(props, classBrand, key) {
|
|
4439
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("img", {
|
|
4481
4440
|
src: this.imgSrc(props),
|
|
4482
4441
|
width: this.imgWidth(props),
|
|
4483
4442
|
height: this.imgHeight(props),
|
|
@@ -4487,37 +4446,37 @@ var NavbarBrand_AppNavbarBrand = function (_Component) {
|
|
|
4487
4446
|
});
|
|
4488
4447
|
};
|
|
4489
4448
|
|
|
4490
|
-
|
|
4491
|
-
var
|
|
4492
|
-
className =
|
|
4493
|
-
children =
|
|
4494
|
-
Tag =
|
|
4495
|
-
attributes =
|
|
4449
|
+
_proto.render = function render() {
|
|
4450
|
+
var _this$props = this.props,
|
|
4451
|
+
className = _this$props.className,
|
|
4452
|
+
children = _this$props.children,
|
|
4453
|
+
Tag = _this$props.tag,
|
|
4454
|
+
attributes = NavbarBrand_objectWithoutPropertiesLoose(_this$props, ["className", "children", "tag"]);
|
|
4496
4455
|
|
|
4497
4456
|
var classes = classnames_default()(className, 'navbar-brand');
|
|
4498
|
-
|
|
4499
4457
|
var img = [];
|
|
4458
|
+
|
|
4500
4459
|
if (this.props.brand) {
|
|
4501
4460
|
var props = this.props.brand;
|
|
4502
4461
|
var classBrand = 'navbar-brand';
|
|
4503
4462
|
img.push(this.navbarBrandImg(props, classBrand, img.length + 1));
|
|
4504
4463
|
}
|
|
4464
|
+
|
|
4505
4465
|
if (this.props.full) {
|
|
4506
|
-
var
|
|
4466
|
+
var _props = this.props.full;
|
|
4507
4467
|
var _classBrand = 'navbar-brand-full';
|
|
4508
|
-
img.push(this.navbarBrandImg(
|
|
4468
|
+
img.push(this.navbarBrandImg(_props, _classBrand, img.length + 1));
|
|
4509
4469
|
}
|
|
4470
|
+
|
|
4510
4471
|
if (this.props.minimized) {
|
|
4511
|
-
var
|
|
4472
|
+
var _props2 = this.props.minimized;
|
|
4512
4473
|
var _classBrand2 = 'navbar-brand-minimized';
|
|
4513
|
-
img.push(this.navbarBrandImg(
|
|
4474
|
+
img.push(this.navbarBrandImg(_props2, _classBrand2, img.length + 1));
|
|
4514
4475
|
}
|
|
4515
4476
|
|
|
4516
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
children || img
|
|
4520
|
-
);
|
|
4477
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, NavbarBrand_extends({}, attributes, {
|
|
4478
|
+
className: classes
|
|
4479
|
+
}), children || img);
|
|
4521
4480
|
};
|
|
4522
4481
|
|
|
4523
4482
|
return AppNavbarBrand;
|
|
@@ -4525,7 +4484,6 @@ var NavbarBrand_AppNavbarBrand = function (_Component) {
|
|
|
4525
4484
|
|
|
4526
4485
|
NavbarBrand_AppNavbarBrand.propTypes = NavbarBrand_propTypes;
|
|
4527
4486
|
NavbarBrand_AppNavbarBrand.defaultProps = NavbarBrand_defaultProps;
|
|
4528
|
-
|
|
4529
4487
|
/* harmony default export */ var NavbarBrand = (NavbarBrand_AppNavbarBrand);
|
|
4530
4488
|
// EXTERNAL MODULE: ./node_modules/react-onclickout/index.js
|
|
4531
4489
|
var react_onclickout = __webpack_require__(11);
|
|
@@ -4535,20 +4493,17 @@ var react_onclickout_default = /*#__PURE__*/__webpack_require__.n(react_onclicko
|
|
|
4535
4493
|
var element_closest = __webpack_require__(24);
|
|
4536
4494
|
|
|
4537
4495
|
// CONCATENATED MODULE: ./src/Shared/layout/layout.js
|
|
4538
|
-
|
|
4496
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4539
4497
|
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
var LayoutHelper = (_temp = _class = function () {
|
|
4543
|
-
function LayoutHelper() {
|
|
4544
|
-
layout_classCallCheck(this, LayoutHelper);
|
|
4545
|
-
}
|
|
4498
|
+
var LayoutHelper = /*#__PURE__*/function () {
|
|
4499
|
+
function LayoutHelper() {}
|
|
4546
4500
|
|
|
4547
4501
|
LayoutHelper.sidebarToggle = function sidebarToggle(toggle) {
|
|
4548
4502
|
var minimize = arguments.length ? toggle : !this.elClassList.contains('sidebar-minimized');
|
|
4549
4503
|
this.sidebarMinimize(minimize);
|
|
4550
4504
|
this.brandMinimize(minimize);
|
|
4551
|
-
this.sidebarPSToggle(!minimize);
|
|
4505
|
+
this.sidebarPSToggle(!minimize);
|
|
4506
|
+
/*remove PS on sidebar minimized*/
|
|
4552
4507
|
};
|
|
4553
4508
|
|
|
4554
4509
|
LayoutHelper.sidebarMinimize = function sidebarMinimize(force) {
|
|
@@ -4557,13 +4512,10 @@ var LayoutHelper = (_temp = _class = function () {
|
|
|
4557
4512
|
|
|
4558
4513
|
LayoutHelper.brandMinimize = function brandMinimize(force) {
|
|
4559
4514
|
this.toggleClass('brand-minimized', force);
|
|
4560
|
-
}
|
|
4561
|
-
|
|
4562
|
-
// sidebar perfect scrollbar ugly hack
|
|
4563
|
-
|
|
4515
|
+
} // sidebar perfect scrollbar ugly hack
|
|
4516
|
+
;
|
|
4564
4517
|
|
|
4565
4518
|
LayoutHelper.sidebarPSToggle = function sidebarPSToggle(toggle) {
|
|
4566
|
-
|
|
4567
4519
|
if (this.isOnMobile()) {
|
|
4568
4520
|
toggle = true;
|
|
4569
4521
|
} else {
|
|
@@ -4571,18 +4523,25 @@ var LayoutHelper = (_temp = _class = function () {
|
|
|
4571
4523
|
toggle = !isSidebarMinimized;
|
|
4572
4524
|
}
|
|
4573
4525
|
|
|
4574
|
-
var ps = {
|
|
4526
|
+
var ps = {
|
|
4527
|
+
y: {
|
|
4528
|
+
rail: {},
|
|
4529
|
+
thumb: {}
|
|
4530
|
+
}
|
|
4531
|
+
};
|
|
4575
4532
|
var isRtl = getComputedStyle(document.documentElement).direction === 'rtl';
|
|
4576
4533
|
var sidebar = document.querySelector('.sidebar-nav');
|
|
4577
4534
|
ps.y.rail.on = document.querySelector('.sidebar-nav .ps__rail-y');
|
|
4578
4535
|
ps.y.rail.off = document.querySelector('.sidebar-nav .ps__rail-y-off');
|
|
4579
4536
|
ps.y.thumb.on = document.querySelector('.sidebar-nav .ps__thumb-y');
|
|
4580
4537
|
ps.y.thumb.off = document.querySelector('.sidebar-nav .ps__thumb-y-off');
|
|
4538
|
+
|
|
4581
4539
|
if (sidebar) {
|
|
4582
4540
|
if (toggle) {
|
|
4583
4541
|
sidebar.classList.add('ps');
|
|
4584
4542
|
sidebar.classList.add('ps-container');
|
|
4585
4543
|
sidebar.classList.add('ps--active-y');
|
|
4544
|
+
|
|
4586
4545
|
if (ps.y.rail.off) {
|
|
4587
4546
|
ps.y.rail.off.classList.add('ps__rail-y');
|
|
4588
4547
|
ps.y.rail.off.removeAttribute('style');
|
|
@@ -4590,6 +4549,7 @@ var LayoutHelper = (_temp = _class = function () {
|
|
|
4590
4549
|
ps.y.rail.off.style.right = isRtl ? 'unset' : '0px';
|
|
4591
4550
|
ps.y.rail.off.classList.remove('ps__rail-y-off');
|
|
4592
4551
|
}
|
|
4552
|
+
|
|
4593
4553
|
if (ps.y.thumb.off) {
|
|
4594
4554
|
ps.y.thumb.off.removeAttribute('style');
|
|
4595
4555
|
ps.y.thumb.off.classList.add('ps__thumb-y');
|
|
@@ -4601,11 +4561,13 @@ var LayoutHelper = (_temp = _class = function () {
|
|
|
4601
4561
|
ps.y.rail.on.removeAttribute('style');
|
|
4602
4562
|
ps.y.rail.on.classList.remove('ps__rail-y');
|
|
4603
4563
|
}
|
|
4564
|
+
|
|
4604
4565
|
if (ps.y.thumb.on) {
|
|
4605
4566
|
ps.y.thumb.on.classList.add('ps__thumb-y-off');
|
|
4606
4567
|
ps.y.thumb.on.removeAttribute('style');
|
|
4607
4568
|
ps.y.thumb.on.classList.remove('ps__thumb-y');
|
|
4608
4569
|
}
|
|
4570
|
+
|
|
4609
4571
|
sidebar.classList.remove('ps');
|
|
4610
4572
|
sidebar.classList.remove('ps-container');
|
|
4611
4573
|
sidebar.classList.remove('ps--active-y');
|
|
@@ -4614,7 +4576,6 @@ var LayoutHelper = (_temp = _class = function () {
|
|
|
4614
4576
|
};
|
|
4615
4577
|
|
|
4616
4578
|
LayoutHelper.toggleClass = function toggleClass(className, force) {
|
|
4617
|
-
|
|
4618
4579
|
if (force === true) {
|
|
4619
4580
|
this.elClassList.add(className);
|
|
4620
4581
|
} else if (force === false) {
|
|
@@ -4622,13 +4583,16 @@ var LayoutHelper = (_temp = _class = function () {
|
|
|
4622
4583
|
} else {
|
|
4623
4584
|
this.elClassList.toggle(className);
|
|
4624
4585
|
}
|
|
4586
|
+
|
|
4625
4587
|
return this.elClassList.contains(className);
|
|
4626
4588
|
};
|
|
4627
4589
|
|
|
4628
4590
|
LayoutHelper.isOnMobile = function isOnMobile() {
|
|
4629
4591
|
var onMobile = false;
|
|
4592
|
+
|
|
4630
4593
|
try {
|
|
4631
4594
|
var minimizerElement = document.querySelector('.sidebar-minimizer');
|
|
4595
|
+
|
|
4632
4596
|
if (minimizerElement) {
|
|
4633
4597
|
onMobile = getComputedStyle(minimizerElement).getPropertyValue('display') === 'none';
|
|
4634
4598
|
} else {
|
|
@@ -4639,26 +4603,24 @@ var LayoutHelper = (_temp = _class = function () {
|
|
|
4639
4603
|
// eslint-disable-next-line
|
|
4640
4604
|
console.warn('CoreUI isOnMobile failed to getComputedStyle', ignore);
|
|
4641
4605
|
}
|
|
4606
|
+
|
|
4642
4607
|
return onMobile;
|
|
4643
4608
|
};
|
|
4644
4609
|
|
|
4645
4610
|
return LayoutHelper;
|
|
4646
|
-
}()
|
|
4611
|
+
}();
|
|
4647
4612
|
|
|
4613
|
+
_defineProperty(LayoutHelper, "elClassList", document.body.classList);
|
|
4648
4614
|
|
|
4649
4615
|
/* harmony default export */ var layout = (LayoutHelper);
|
|
4650
4616
|
// CONCATENATED MODULE: ./src/Sidebar.js
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
function Sidebar_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
4654
|
-
|
|
4655
|
-
function Sidebar_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
4656
|
-
|
|
4657
|
-
function Sidebar_possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
4617
|
+
function Sidebar_extends() { Sidebar_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return Sidebar_extends.apply(this, arguments); }
|
|
4658
4618
|
|
|
4659
|
-
function
|
|
4619
|
+
function Sidebar_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4660
4620
|
|
|
4621
|
+
function Sidebar_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
4661
4622
|
|
|
4623
|
+
function Sidebar_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
4662
4624
|
|
|
4663
4625
|
|
|
4664
4626
|
|
|
@@ -4679,7 +4641,6 @@ var Sidebar_propTypes = {
|
|
|
4679
4641
|
staticContext: prop_types_default.a.any,
|
|
4680
4642
|
tag: prop_types_default.a.oneOfType([prop_types_default.a.func, prop_types_default.a.string])
|
|
4681
4643
|
};
|
|
4682
|
-
|
|
4683
4644
|
var Sidebar_defaultProps = {
|
|
4684
4645
|
tag: 'div',
|
|
4685
4646
|
compact: false,
|
|
@@ -4690,24 +4651,25 @@ var Sidebar_defaultProps = {
|
|
|
4690
4651
|
offCanvas: false
|
|
4691
4652
|
};
|
|
4692
4653
|
|
|
4693
|
-
var Sidebar_AppSidebar = function (_Component) {
|
|
4694
|
-
|
|
4654
|
+
var Sidebar_AppSidebar = /*#__PURE__*/function (_Component) {
|
|
4655
|
+
Sidebar_inheritsLoose(AppSidebar, _Component);
|
|
4695
4656
|
|
|
4696
4657
|
function AppSidebar(props) {
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
var _this = Sidebar_possibleConstructorReturn(this, _Component.call(this, props));
|
|
4658
|
+
var _this;
|
|
4700
4659
|
|
|
4701
|
-
_this
|
|
4702
|
-
_this.
|
|
4703
|
-
_this.
|
|
4704
|
-
_this.
|
|
4705
|
-
_this.
|
|
4706
|
-
_this.
|
|
4660
|
+
_this = _Component.call(this, props) || this;
|
|
4661
|
+
_this.isCompact = _this.isCompact.bind(Sidebar_assertThisInitialized(_this));
|
|
4662
|
+
_this.isFixed = _this.isFixed.bind(Sidebar_assertThisInitialized(_this));
|
|
4663
|
+
_this.isMinimized = _this.isMinimized.bind(Sidebar_assertThisInitialized(_this));
|
|
4664
|
+
_this.isOffCanvas = _this.isOffCanvas.bind(Sidebar_assertThisInitialized(_this));
|
|
4665
|
+
_this.displayBreakpoint = _this.displayBreakpoint.bind(Sidebar_assertThisInitialized(_this));
|
|
4666
|
+
_this.hideMobile = _this.hideMobile.bind(Sidebar_assertThisInitialized(_this));
|
|
4707
4667
|
return _this;
|
|
4708
4668
|
}
|
|
4709
4669
|
|
|
4710
|
-
AppSidebar.prototype
|
|
4670
|
+
var _proto = AppSidebar.prototype;
|
|
4671
|
+
|
|
4672
|
+
_proto.componentDidMount = function componentDidMount() {
|
|
4711
4673
|
this.displayBreakpoint(this.props.display);
|
|
4712
4674
|
this.isCompact(this.props.compact);
|
|
4713
4675
|
this.isFixed(this.props.fixed);
|
|
@@ -4715,46 +4677,47 @@ var Sidebar_AppSidebar = function (_Component) {
|
|
|
4715
4677
|
this.isOffCanvas(this.props.offCanvas);
|
|
4716
4678
|
};
|
|
4717
4679
|
|
|
4718
|
-
|
|
4680
|
+
_proto.isCompact = function isCompact(compact) {
|
|
4719
4681
|
if (compact) {
|
|
4720
4682
|
document.body.classList.add('sidebar-compact');
|
|
4721
4683
|
}
|
|
4722
4684
|
};
|
|
4723
4685
|
|
|
4724
|
-
|
|
4686
|
+
_proto.isFixed = function isFixed(fixed) {
|
|
4725
4687
|
if (fixed) {
|
|
4726
4688
|
document.body.classList.add('sidebar-fixed');
|
|
4727
4689
|
}
|
|
4728
4690
|
};
|
|
4729
4691
|
|
|
4730
|
-
|
|
4692
|
+
_proto.isMinimized = function isMinimized(minimized) {
|
|
4731
4693
|
layout.sidebarToggle(minimized);
|
|
4732
4694
|
};
|
|
4733
4695
|
|
|
4734
|
-
|
|
4696
|
+
_proto.isOffCanvas = function isOffCanvas(offCanvas) {
|
|
4735
4697
|
if (offCanvas) {
|
|
4736
4698
|
document.body.classList.add('sidebar-off-canvas');
|
|
4737
4699
|
}
|
|
4738
4700
|
};
|
|
4739
4701
|
|
|
4740
|
-
|
|
4741
|
-
var cssTemplate =
|
|
4702
|
+
_proto.displayBreakpoint = function displayBreakpoint(display) {
|
|
4703
|
+
var cssTemplate = "sidebar-" + display + "-show";
|
|
4742
4704
|
var _sidebarCssClasses$ = sidebarCssClasses[0],
|
|
4743
4705
|
cssClass = _sidebarCssClasses$[0];
|
|
4744
4706
|
|
|
4745
4707
|
if (display && sidebarCssClasses.indexOf(cssTemplate) > -1) {
|
|
4746
4708
|
cssClass = cssTemplate;
|
|
4747
4709
|
}
|
|
4710
|
+
|
|
4748
4711
|
document.body.classList.add(cssClass);
|
|
4749
4712
|
};
|
|
4750
4713
|
|
|
4751
|
-
|
|
4714
|
+
_proto.hideMobile = function hideMobile() {
|
|
4752
4715
|
if (document.body.classList.contains('sidebar-show')) {
|
|
4753
4716
|
document.body.classList.remove('sidebar-show');
|
|
4754
4717
|
}
|
|
4755
4718
|
};
|
|
4756
4719
|
|
|
4757
|
-
|
|
4720
|
+
_proto.onClickOut = function onClickOut(e) {
|
|
4758
4721
|
if (typeof window !== 'undefined' && document.body.classList.contains('sidebar-show')) {
|
|
4759
4722
|
if (!e.target.closest('[data-sidebar-toggler]')) {
|
|
4760
4723
|
this.hideMobile();
|
|
@@ -4762,14 +4725,14 @@ var Sidebar_AppSidebar = function (_Component) {
|
|
|
4762
4725
|
}
|
|
4763
4726
|
};
|
|
4764
4727
|
|
|
4765
|
-
|
|
4728
|
+
_proto.render = function render() {
|
|
4766
4729
|
var _this2 = this;
|
|
4767
4730
|
|
|
4768
|
-
var
|
|
4769
|
-
className =
|
|
4770
|
-
children =
|
|
4771
|
-
Tag =
|
|
4772
|
-
attributes =
|
|
4731
|
+
var _this$props = this.props,
|
|
4732
|
+
className = _this$props.className,
|
|
4733
|
+
children = _this$props.children,
|
|
4734
|
+
Tag = _this$props.tag,
|
|
4735
|
+
attributes = Sidebar_objectWithoutPropertiesLoose(_this$props, ["className", "children", "tag"]);
|
|
4773
4736
|
|
|
4774
4737
|
delete attributes.compact;
|
|
4775
4738
|
delete attributes.display;
|
|
@@ -4778,21 +4741,15 @@ var Sidebar_AppSidebar = function (_Component) {
|
|
|
4778
4741
|
delete attributes.offCanvas;
|
|
4779
4742
|
delete attributes.isOpen;
|
|
4780
4743
|
delete attributes.staticContext;
|
|
4744
|
+
var classes = classnames_default()(className, 'sidebar'); // sidebar-nav root
|
|
4781
4745
|
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
} },
|
|
4790
|
-
external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
4791
|
-
Tag,
|
|
4792
|
-
Sidebar_extends({ className: classes }, attributes),
|
|
4793
|
-
children
|
|
4794
|
-
)
|
|
4795
|
-
);
|
|
4746
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(react_onclickout_default.a, {
|
|
4747
|
+
onClickOut: function onClickOut(e) {
|
|
4748
|
+
_this2.onClickOut(e);
|
|
4749
|
+
}
|
|
4750
|
+
}, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, Sidebar_extends({
|
|
4751
|
+
className: classes
|
|
4752
|
+
}, attributes), children));
|
|
4796
4753
|
};
|
|
4797
4754
|
|
|
4798
4755
|
return AppSidebar;
|
|
@@ -4800,19 +4757,13 @@ var Sidebar_AppSidebar = function (_Component) {
|
|
|
4800
4757
|
|
|
4801
4758
|
Sidebar_AppSidebar.propTypes = Sidebar_propTypes;
|
|
4802
4759
|
Sidebar_AppSidebar.defaultProps = Sidebar_defaultProps;
|
|
4803
|
-
|
|
4804
4760
|
/* harmony default export */ var Sidebar = (Sidebar_AppSidebar);
|
|
4805
4761
|
// CONCATENATED MODULE: ./src/SidebarFooter.js
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
function SidebarFooter_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
4809
|
-
|
|
4810
|
-
function SidebarFooter_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
4762
|
+
function SidebarFooter_extends() { SidebarFooter_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return SidebarFooter_extends.apply(this, arguments); }
|
|
4811
4763
|
|
|
4812
|
-
function
|
|
4813
|
-
|
|
4814
|
-
function SidebarFooter_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
4764
|
+
function SidebarFooter_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4815
4765
|
|
|
4766
|
+
function SidebarFooter_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
4816
4767
|
|
|
4817
4768
|
|
|
4818
4769
|
|
|
@@ -4822,34 +4773,30 @@ var SidebarFooter_propTypes = {
|
|
|
4822
4773
|
className: prop_types_default.a.string,
|
|
4823
4774
|
tag: prop_types_default.a.oneOfType([prop_types_default.a.func, prop_types_default.a.string])
|
|
4824
4775
|
};
|
|
4825
|
-
|
|
4826
4776
|
var SidebarFooter_defaultProps = {
|
|
4827
4777
|
tag: 'div'
|
|
4828
4778
|
};
|
|
4829
4779
|
|
|
4830
|
-
var SidebarFooter_AppSidebarFooter = function (_Component) {
|
|
4831
|
-
|
|
4780
|
+
var SidebarFooter_AppSidebarFooter = /*#__PURE__*/function (_Component) {
|
|
4781
|
+
SidebarFooter_inheritsLoose(AppSidebarFooter, _Component);
|
|
4832
4782
|
|
|
4833
4783
|
function AppSidebarFooter() {
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
return SidebarFooter_possibleConstructorReturn(this, _Component.apply(this, arguments));
|
|
4784
|
+
return _Component.apply(this, arguments) || this;
|
|
4837
4785
|
}
|
|
4838
4786
|
|
|
4839
|
-
AppSidebarFooter.prototype
|
|
4840
|
-
var _props = this.props,
|
|
4841
|
-
className = _props.className,
|
|
4842
|
-
children = _props.children,
|
|
4843
|
-
Tag = _props.tag,
|
|
4844
|
-
attributes = SidebarFooter_objectWithoutProperties(_props, ['className', 'children', 'tag']);
|
|
4787
|
+
var _proto = AppSidebarFooter.prototype;
|
|
4845
4788
|
|
|
4846
|
-
|
|
4847
|
-
var
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4789
|
+
_proto.render = function render() {
|
|
4790
|
+
var _this$props = this.props,
|
|
4791
|
+
className = _this$props.className,
|
|
4792
|
+
children = _this$props.children,
|
|
4793
|
+
Tag = _this$props.tag,
|
|
4794
|
+
attributes = SidebarFooter_objectWithoutPropertiesLoose(_this$props, ["className", "children", "tag"]);
|
|
4852
4795
|
|
|
4796
|
+
var classes = classnames_default()(className, 'sidebar-footer');
|
|
4797
|
+
var footer = children ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, SidebarFooter_extends({
|
|
4798
|
+
className: classes
|
|
4799
|
+
}, attributes), children) : null;
|
|
4853
4800
|
return footer;
|
|
4854
4801
|
};
|
|
4855
4802
|
|
|
@@ -4858,19 +4805,13 @@ var SidebarFooter_AppSidebarFooter = function (_Component) {
|
|
|
4858
4805
|
|
|
4859
4806
|
SidebarFooter_AppSidebarFooter.propTypes = SidebarFooter_propTypes;
|
|
4860
4807
|
SidebarFooter_AppSidebarFooter.defaultProps = SidebarFooter_defaultProps;
|
|
4861
|
-
|
|
4862
4808
|
/* harmony default export */ var SidebarFooter = (SidebarFooter_AppSidebarFooter);
|
|
4863
4809
|
// CONCATENATED MODULE: ./src/SidebarForm.js
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
function SidebarForm_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
4867
|
-
|
|
4868
|
-
function SidebarForm_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
4869
|
-
|
|
4870
|
-
function SidebarForm_possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
4810
|
+
function SidebarForm_extends() { SidebarForm_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return SidebarForm_extends.apply(this, arguments); }
|
|
4871
4811
|
|
|
4872
|
-
function
|
|
4812
|
+
function SidebarForm_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4873
4813
|
|
|
4814
|
+
function SidebarForm_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
4874
4815
|
|
|
4875
4816
|
|
|
4876
4817
|
|
|
@@ -4880,34 +4821,30 @@ var SidebarForm_propTypes = {
|
|
|
4880
4821
|
className: prop_types_default.a.string,
|
|
4881
4822
|
tag: prop_types_default.a.oneOfType([prop_types_default.a.func, prop_types_default.a.string])
|
|
4882
4823
|
};
|
|
4883
|
-
|
|
4884
4824
|
var SidebarForm_defaultProps = {
|
|
4885
4825
|
tag: 'div'
|
|
4886
4826
|
};
|
|
4887
4827
|
|
|
4888
|
-
var SidebarForm_AppSidebarForm = function (_Component) {
|
|
4889
|
-
|
|
4828
|
+
var SidebarForm_AppSidebarForm = /*#__PURE__*/function (_Component) {
|
|
4829
|
+
SidebarForm_inheritsLoose(AppSidebarForm, _Component);
|
|
4890
4830
|
|
|
4891
4831
|
function AppSidebarForm() {
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
return SidebarForm_possibleConstructorReturn(this, _Component.apply(this, arguments));
|
|
4832
|
+
return _Component.apply(this, arguments) || this;
|
|
4895
4833
|
}
|
|
4896
4834
|
|
|
4897
|
-
AppSidebarForm.prototype
|
|
4898
|
-
var _props = this.props,
|
|
4899
|
-
className = _props.className,
|
|
4900
|
-
children = _props.children,
|
|
4901
|
-
Tag = _props.tag,
|
|
4902
|
-
attributes = SidebarForm_objectWithoutProperties(_props, ['className', 'children', 'tag']);
|
|
4835
|
+
var _proto = AppSidebarForm.prototype;
|
|
4903
4836
|
|
|
4904
|
-
|
|
4905
|
-
var
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4837
|
+
_proto.render = function render() {
|
|
4838
|
+
var _this$props = this.props,
|
|
4839
|
+
className = _this$props.className,
|
|
4840
|
+
children = _this$props.children,
|
|
4841
|
+
Tag = _this$props.tag,
|
|
4842
|
+
attributes = SidebarForm_objectWithoutPropertiesLoose(_this$props, ["className", "children", "tag"]);
|
|
4910
4843
|
|
|
4844
|
+
var classes = classnames_default()(className, 'sidebar-form');
|
|
4845
|
+
var form = children ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, SidebarForm_extends({
|
|
4846
|
+
className: classes
|
|
4847
|
+
}, attributes), children) : null;
|
|
4911
4848
|
return form;
|
|
4912
4849
|
};
|
|
4913
4850
|
|
|
@@ -4916,19 +4853,13 @@ var SidebarForm_AppSidebarForm = function (_Component) {
|
|
|
4916
4853
|
|
|
4917
4854
|
SidebarForm_AppSidebarForm.propTypes = SidebarForm_propTypes;
|
|
4918
4855
|
SidebarForm_AppSidebarForm.defaultProps = SidebarForm_defaultProps;
|
|
4919
|
-
|
|
4920
4856
|
/* harmony default export */ var SidebarForm = (SidebarForm_AppSidebarForm);
|
|
4921
4857
|
// CONCATENATED MODULE: ./src/SidebarHeader.js
|
|
4922
|
-
|
|
4858
|
+
function SidebarHeader_extends() { SidebarHeader_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return SidebarHeader_extends.apply(this, arguments); }
|
|
4923
4859
|
|
|
4924
|
-
function
|
|
4925
|
-
|
|
4926
|
-
function SidebarHeader_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
4927
|
-
|
|
4928
|
-
function SidebarHeader_possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
4929
|
-
|
|
4930
|
-
function SidebarHeader_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
4860
|
+
function SidebarHeader_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4931
4861
|
|
|
4862
|
+
function SidebarHeader_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
4932
4863
|
|
|
4933
4864
|
|
|
4934
4865
|
|
|
@@ -4938,34 +4869,30 @@ var SidebarHeader_propTypes = {
|
|
|
4938
4869
|
className: prop_types_default.a.string,
|
|
4939
4870
|
tag: prop_types_default.a.oneOfType([prop_types_default.a.func, prop_types_default.a.string])
|
|
4940
4871
|
};
|
|
4941
|
-
|
|
4942
4872
|
var SidebarHeader_defaultProps = {
|
|
4943
4873
|
tag: 'div'
|
|
4944
4874
|
};
|
|
4945
4875
|
|
|
4946
|
-
var SidebarHeader_AppSidebarHeader = function (_Component) {
|
|
4947
|
-
|
|
4876
|
+
var SidebarHeader_AppSidebarHeader = /*#__PURE__*/function (_Component) {
|
|
4877
|
+
SidebarHeader_inheritsLoose(AppSidebarHeader, _Component);
|
|
4948
4878
|
|
|
4949
4879
|
function AppSidebarHeader() {
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
return SidebarHeader_possibleConstructorReturn(this, _Component.apply(this, arguments));
|
|
4880
|
+
return _Component.apply(this, arguments) || this;
|
|
4953
4881
|
}
|
|
4954
4882
|
|
|
4955
|
-
AppSidebarHeader.prototype
|
|
4956
|
-
var _props = this.props,
|
|
4957
|
-
className = _props.className,
|
|
4958
|
-
children = _props.children,
|
|
4959
|
-
Tag = _props.tag,
|
|
4960
|
-
attributes = SidebarHeader_objectWithoutProperties(_props, ['className', 'children', 'tag']);
|
|
4883
|
+
var _proto = AppSidebarHeader.prototype;
|
|
4961
4884
|
|
|
4962
|
-
|
|
4963
|
-
var
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4885
|
+
_proto.render = function render() {
|
|
4886
|
+
var _this$props = this.props,
|
|
4887
|
+
className = _this$props.className,
|
|
4888
|
+
children = _this$props.children,
|
|
4889
|
+
Tag = _this$props.tag,
|
|
4890
|
+
attributes = SidebarHeader_objectWithoutPropertiesLoose(_this$props, ["className", "children", "tag"]);
|
|
4968
4891
|
|
|
4892
|
+
var classes = classnames_default()(className, 'sidebar-header');
|
|
4893
|
+
var header = children ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, SidebarHeader_extends({
|
|
4894
|
+
className: classes
|
|
4895
|
+
}, attributes), children) : null;
|
|
4969
4896
|
return header;
|
|
4970
4897
|
};
|
|
4971
4898
|
|
|
@@ -4974,20 +4901,15 @@ var SidebarHeader_AppSidebarHeader = function (_Component) {
|
|
|
4974
4901
|
|
|
4975
4902
|
SidebarHeader_AppSidebarHeader.propTypes = SidebarHeader_propTypes;
|
|
4976
4903
|
SidebarHeader_AppSidebarHeader.defaultProps = SidebarHeader_defaultProps;
|
|
4977
|
-
|
|
4978
4904
|
/* harmony default export */ var SidebarHeader = (SidebarHeader_AppSidebarHeader);
|
|
4979
4905
|
// CONCATENATED MODULE: ./src/SidebarMinimizer.js
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
function SidebarMinimizer_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
4906
|
+
function SidebarMinimizer_extends() { SidebarMinimizer_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return SidebarMinimizer_extends.apply(this, arguments); }
|
|
4983
4907
|
|
|
4984
|
-
function
|
|
4985
|
-
|
|
4986
|
-
function SidebarMinimizer_possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
4987
|
-
|
|
4988
|
-
function SidebarMinimizer_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
4908
|
+
function SidebarMinimizer_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4989
4909
|
|
|
4910
|
+
function SidebarMinimizer_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
4990
4911
|
|
|
4912
|
+
function SidebarMinimizer_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
4991
4913
|
|
|
4992
4914
|
|
|
4993
4915
|
|
|
@@ -4999,52 +4921,52 @@ var SidebarMinimizer_propTypes = {
|
|
|
4999
4921
|
tag: prop_types_default.a.oneOfType([prop_types_default.a.func, prop_types_default.a.string]),
|
|
5000
4922
|
type: prop_types_default.a.string
|
|
5001
4923
|
};
|
|
5002
|
-
|
|
5003
4924
|
var SidebarMinimizer_defaultProps = {
|
|
5004
4925
|
tag: 'button',
|
|
5005
4926
|
type: 'button'
|
|
5006
4927
|
};
|
|
5007
4928
|
|
|
5008
|
-
var SidebarMinimizer_AppSidebarMinimizer = function (_Component) {
|
|
5009
|
-
|
|
4929
|
+
var SidebarMinimizer_AppSidebarMinimizer = /*#__PURE__*/function (_Component) {
|
|
4930
|
+
SidebarMinimizer_inheritsLoose(AppSidebarMinimizer, _Component);
|
|
5010
4931
|
|
|
5011
4932
|
function AppSidebarMinimizer(props) {
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
var _this = SidebarMinimizer_possibleConstructorReturn(this, _Component.call(this, props));
|
|
4933
|
+
var _this;
|
|
5015
4934
|
|
|
5016
|
-
_this
|
|
4935
|
+
_this = _Component.call(this, props) || this;
|
|
4936
|
+
_this.handleClick = _this.handleClick.bind(SidebarMinimizer_assertThisInitialized(_this));
|
|
5017
4937
|
return _this;
|
|
5018
4938
|
}
|
|
5019
4939
|
|
|
5020
|
-
AppSidebarMinimizer.prototype
|
|
4940
|
+
var _proto = AppSidebarMinimizer.prototype;
|
|
4941
|
+
|
|
4942
|
+
_proto.componentDidMount = function componentDidMount() {
|
|
5021
4943
|
var isMinimized = document.body.classList.contains('sidebar-minimized');
|
|
5022
4944
|
layout.sidebarPSToggle(!isMinimized);
|
|
5023
4945
|
};
|
|
5024
4946
|
|
|
5025
|
-
|
|
4947
|
+
_proto.handleClick = function handleClick() {
|
|
5026
4948
|
layout.sidebarToggle();
|
|
5027
4949
|
};
|
|
5028
4950
|
|
|
5029
|
-
|
|
4951
|
+
_proto.render = function render() {
|
|
5030
4952
|
var _this2 = this;
|
|
5031
4953
|
|
|
5032
|
-
var
|
|
5033
|
-
className =
|
|
5034
|
-
children =
|
|
5035
|
-
Tag =
|
|
5036
|
-
type =
|
|
5037
|
-
attributes =
|
|
4954
|
+
var _this$props = this.props,
|
|
4955
|
+
className = _this$props.className,
|
|
4956
|
+
children = _this$props.children,
|
|
4957
|
+
Tag = _this$props.tag,
|
|
4958
|
+
type = _this$props.type,
|
|
4959
|
+
attributes = SidebarMinimizer_objectWithoutPropertiesLoose(_this$props, ["className", "children", "tag", "type"]);
|
|
5038
4960
|
|
|
5039
4961
|
var classes = classnames_default()(className, 'sidebar-minimizer', 'mt-auto');
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
);
|
|
4962
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, SidebarMinimizer_extends({
|
|
4963
|
+
className: classes,
|
|
4964
|
+
type: type
|
|
4965
|
+
}, attributes, {
|
|
4966
|
+
onClick: function onClick(event) {
|
|
4967
|
+
return _this2.handleClick(event);
|
|
4968
|
+
}
|
|
4969
|
+
}), children);
|
|
5048
4970
|
};
|
|
5049
4971
|
|
|
5050
4972
|
return AppSidebarMinimizer;
|
|
@@ -5052,7 +4974,6 @@ var SidebarMinimizer_AppSidebarMinimizer = function (_Component) {
|
|
|
5052
4974
|
|
|
5053
4975
|
SidebarMinimizer_AppSidebarMinimizer.propTypes = SidebarMinimizer_propTypes;
|
|
5054
4976
|
SidebarMinimizer_AppSidebarMinimizer.defaultProps = SidebarMinimizer_defaultProps;
|
|
5055
|
-
|
|
5056
4977
|
/* harmony default export */ var SidebarMinimizer = (SidebarMinimizer_AppSidebarMinimizer);
|
|
5057
4978
|
// CONCATENATED MODULE: ./node_modules/reactstrap/es/NavItem.js
|
|
5058
4979
|
|
|
@@ -5076,7 +4997,7 @@ var NavItem_NavItem = function NavItem(props) {
|
|
|
5076
4997
|
cssModule = props.cssModule,
|
|
5077
4998
|
active = props.active,
|
|
5078
4999
|
Tag = props.tag,
|
|
5079
|
-
attributes =
|
|
5000
|
+
attributes = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(props, ["className", "cssModule", "active", "tag"]);
|
|
5080
5001
|
|
|
5081
5002
|
var classes = mapToCssModules(classnames_default()(className, 'nav-item', active ? 'active' : false), cssModule);
|
|
5082
5003
|
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, extends_extends({}, attributes, {
|
|
@@ -5113,13 +5034,13 @@ var NavLink_defaultProps = {
|
|
|
5113
5034
|
var NavLink_NavLink =
|
|
5114
5035
|
/*#__PURE__*/
|
|
5115
5036
|
function (_React$Component) {
|
|
5116
|
-
|
|
5037
|
+
inheritsLoose_inheritsLoose(NavLink, _React$Component);
|
|
5117
5038
|
|
|
5118
5039
|
function NavLink(props) {
|
|
5119
5040
|
var _this;
|
|
5120
5041
|
|
|
5121
5042
|
_this = _React$Component.call(this, props) || this;
|
|
5122
|
-
_this.onClick = _this.onClick.bind(
|
|
5043
|
+
_this.onClick = _this.onClick.bind(assertThisInitialized_assertThisInitialized(_this));
|
|
5123
5044
|
return _this;
|
|
5124
5045
|
}
|
|
5125
5046
|
|
|
@@ -5147,7 +5068,7 @@ function (_React$Component) {
|
|
|
5147
5068
|
active = _this$props.active,
|
|
5148
5069
|
Tag = _this$props.tag,
|
|
5149
5070
|
innerRef = _this$props.innerRef,
|
|
5150
|
-
attributes =
|
|
5071
|
+
attributes = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_this$props, ["className", "cssModule", "active", "tag", "innerRef"]);
|
|
5151
5072
|
|
|
5152
5073
|
var classes = mapToCssModules(classnames_default()(className, 'nav-link', {
|
|
5153
5074
|
disabled: attributes.disabled,
|
|
@@ -5195,7 +5116,7 @@ var Badge_Badge = function Badge(props) {
|
|
|
5195
5116
|
innerRef = props.innerRef,
|
|
5196
5117
|
pill = props.pill,
|
|
5197
5118
|
Tag = props.tag,
|
|
5198
|
-
attributes =
|
|
5119
|
+
attributes = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(props, ["className", "cssModule", "color", "innerRef", "pill", "tag"]);
|
|
5199
5120
|
|
|
5200
5121
|
var classes = mapToCssModules(classnames_default()(className, 'badge', 'badge-' + color, pill ? 'badge-pill' : false), cssModule);
|
|
5201
5122
|
|
|
@@ -5259,7 +5180,7 @@ var Nav_Nav = function Nav(props) {
|
|
|
5259
5180
|
navbar = props.navbar,
|
|
5260
5181
|
card = props.card,
|
|
5261
5182
|
Tag = props.tag,
|
|
5262
|
-
attributes =
|
|
5183
|
+
attributes = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(props, ["className", "cssModule", "tabs", "pills", "vertical", "horizontal", "justified", "fill", "navbar", "card", "tag"]);
|
|
5263
5184
|
|
|
5264
5185
|
var classes = mapToCssModules(classnames_default()(className, navbar ? 'navbar-nav' : 'nav', horizontal ? "justify-content-" + horizontal : false, getVerticalClass(vertical), {
|
|
5265
5186
|
'nav-tabs': tabs,
|
|
@@ -5285,16 +5206,13 @@ var react_perfect_scrollbar_lib_default = /*#__PURE__*/__webpack_require__.n(rea
|
|
|
5285
5206
|
var styles = __webpack_require__(9);
|
|
5286
5207
|
|
|
5287
5208
|
// CONCATENATED MODULE: ./src/SidebarNav.js
|
|
5288
|
-
var
|
|
5289
|
-
|
|
5290
|
-
function SidebarNav_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
5291
|
-
|
|
5292
|
-
function SidebarNav_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
5209
|
+
function SidebarNav_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5293
5210
|
|
|
5294
|
-
function
|
|
5211
|
+
function SidebarNav_extends() { SidebarNav_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return SidebarNav_extends.apply(this, arguments); }
|
|
5295
5212
|
|
|
5296
|
-
function
|
|
5213
|
+
function SidebarNav_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
5297
5214
|
|
|
5215
|
+
function SidebarNav_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
5298
5216
|
|
|
5299
5217
|
|
|
5300
5218
|
|
|
@@ -5312,7 +5230,6 @@ var SidebarNav_propTypes = {
|
|
|
5312
5230
|
staticContext: prop_types_default.a.any,
|
|
5313
5231
|
tag: prop_types_default.a.oneOfType([prop_types_default.a.func, prop_types_default.a.string])
|
|
5314
5232
|
};
|
|
5315
|
-
|
|
5316
5233
|
var SidebarNav_defaultProps = {
|
|
5317
5234
|
tag: 'nav',
|
|
5318
5235
|
navConfig: {
|
|
@@ -5320,216 +5237,187 @@ var SidebarNav_defaultProps = {
|
|
|
5320
5237
|
name: 'Dashboard',
|
|
5321
5238
|
url: '/dashboard',
|
|
5322
5239
|
icon: 'icon-speedometer',
|
|
5323
|
-
badge: {
|
|
5240
|
+
badge: {
|
|
5241
|
+
variant: 'info',
|
|
5242
|
+
text: 'NEW'
|
|
5243
|
+
}
|
|
5324
5244
|
}]
|
|
5325
5245
|
},
|
|
5326
5246
|
isOpen: false
|
|
5327
5247
|
};
|
|
5328
5248
|
|
|
5329
|
-
var SidebarNav_AppSidebarNav = function (_Component) {
|
|
5330
|
-
|
|
5249
|
+
var SidebarNav_AppSidebarNav = /*#__PURE__*/function (_Component) {
|
|
5250
|
+
SidebarNav_inheritsLoose(AppSidebarNav, _Component);
|
|
5331
5251
|
|
|
5332
5252
|
function AppSidebarNav(props) {
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
var _this = SidebarNav_possibleConstructorReturn(this, _Component.call(this, props));
|
|
5253
|
+
var _this;
|
|
5336
5254
|
|
|
5337
|
-
_this
|
|
5338
|
-
_this.
|
|
5339
|
-
_this.
|
|
5255
|
+
_this = _Component.call(this, props) || this;
|
|
5256
|
+
_this.handleClick = _this.handleClick.bind(SidebarNav_assertThisInitialized(_this));
|
|
5257
|
+
_this.activeRoute = _this.activeRoute.bind(SidebarNav_assertThisInitialized(_this));
|
|
5258
|
+
_this.hideMobile = _this.hideMobile.bind(SidebarNav_assertThisInitialized(_this));
|
|
5340
5259
|
return _this;
|
|
5341
5260
|
}
|
|
5342
5261
|
|
|
5343
|
-
AppSidebarNav.prototype
|
|
5262
|
+
var _proto = AppSidebarNav.prototype;
|
|
5263
|
+
|
|
5264
|
+
_proto.handleClick = function handleClick(e) {
|
|
5344
5265
|
e.preventDefault();
|
|
5345
5266
|
e.currentTarget.parentElement.classList.toggle('open');
|
|
5346
5267
|
};
|
|
5347
5268
|
|
|
5348
|
-
|
|
5269
|
+
_proto.activeRoute = function activeRoute(routeName, props) {
|
|
5349
5270
|
return props.location.pathname.indexOf(routeName) > -1 ? 'nav-item nav-dropdown open' : 'nav-item nav-dropdown';
|
|
5350
5271
|
};
|
|
5351
5272
|
|
|
5352
|
-
|
|
5273
|
+
_proto.hideMobile = function hideMobile() {
|
|
5353
5274
|
if (document.body.classList.contains('sidebar-show')) {
|
|
5354
5275
|
document.body.classList.toggle('sidebar-show');
|
|
5355
5276
|
}
|
|
5356
|
-
}
|
|
5357
|
-
|
|
5358
|
-
// nav list
|
|
5277
|
+
} // nav list
|
|
5278
|
+
;
|
|
5359
5279
|
|
|
5360
|
-
|
|
5361
|
-
AppSidebarNav.prototype.navList = function navList(items) {
|
|
5280
|
+
_proto.navList = function navList(items) {
|
|
5362
5281
|
var _this2 = this;
|
|
5363
5282
|
|
|
5364
5283
|
return items.map(function (item, index) {
|
|
5365
5284
|
return _this2.navType(item, index);
|
|
5366
5285
|
});
|
|
5367
|
-
}
|
|
5368
|
-
|
|
5369
|
-
// nav type
|
|
5286
|
+
} // nav type
|
|
5287
|
+
;
|
|
5370
5288
|
|
|
5371
|
-
|
|
5372
|
-
AppSidebarNav.prototype.navType = function navType(item, idx) {
|
|
5289
|
+
_proto.navType = function navType(item, idx) {
|
|
5373
5290
|
return item.title ? this.navTitle(item, idx) : item.divider ? this.navDivider(item, idx) : item.label ? this.navLabel(item, idx) : item.children ? this.navDropdown(item, idx) : this.navItem(item, idx);
|
|
5374
|
-
}
|
|
5375
|
-
|
|
5376
|
-
// nav list section title
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
AppSidebarNav.prototype.navTitle = function navTitle(title, key) {
|
|
5380
|
-
var classes = classnames_default()('nav-title', title.class);
|
|
5381
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
5382
|
-
'li',
|
|
5383
|
-
{ key: key, className: classes },
|
|
5384
|
-
this.navWrapper(title),
|
|
5385
|
-
' '
|
|
5386
|
-
);
|
|
5387
|
-
};
|
|
5388
|
-
|
|
5389
|
-
// simple wrapper for nav-title item
|
|
5291
|
+
} // nav list section title
|
|
5292
|
+
;
|
|
5390
5293
|
|
|
5294
|
+
_proto.navTitle = function navTitle(title, key) {
|
|
5295
|
+
var classes = classnames_default()('nav-title', title["class"]);
|
|
5296
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("li", {
|
|
5297
|
+
key: key,
|
|
5298
|
+
className: classes
|
|
5299
|
+
}, this.navWrapper(title), " ");
|
|
5300
|
+
} // simple wrapper for nav-title item
|
|
5301
|
+
;
|
|
5391
5302
|
|
|
5392
|
-
|
|
5303
|
+
_proto.navWrapper = function navWrapper(item) {
|
|
5393
5304
|
return item.wrapper && item.wrapper.element ? external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(item.wrapper.element, item.wrapper.attributes, item.name) : item.name;
|
|
5394
|
-
}
|
|
5395
|
-
|
|
5396
|
-
// nav list divider
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
AppSidebarNav.prototype.navDivider = function navDivider(divider, key) {
|
|
5400
|
-
var classes = classnames_default()('divider', divider.class);
|
|
5401
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement('li', { key: key, className: classes });
|
|
5402
|
-
};
|
|
5403
|
-
|
|
5404
|
-
// nav label with nav link
|
|
5305
|
+
} // nav list divider
|
|
5306
|
+
;
|
|
5405
5307
|
|
|
5308
|
+
_proto.navDivider = function navDivider(divider, key) {
|
|
5309
|
+
var classes = classnames_default()('divider', divider["class"]);
|
|
5310
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("li", {
|
|
5311
|
+
key: key,
|
|
5312
|
+
className: classes
|
|
5313
|
+
});
|
|
5314
|
+
} // nav label with nav link
|
|
5315
|
+
;
|
|
5406
5316
|
|
|
5407
|
-
|
|
5317
|
+
_proto.navLabel = function navLabel(item, key) {
|
|
5408
5318
|
var classes = {
|
|
5409
|
-
item: classnames_default()('hidden-cn', item
|
|
5410
|
-
link: classnames_default()('nav-label', item
|
|
5411
|
-
icon: classnames_default()('nav-icon', !item.icon ? 'fa fa-circle' : item.icon, item.label.variant ?
|
|
5319
|
+
item: classnames_default()('hidden-cn', item["class"]),
|
|
5320
|
+
link: classnames_default()('nav-label', item["class"] ? item["class"] : ''),
|
|
5321
|
+
icon: classnames_default()('nav-icon', !item.icon ? 'fa fa-circle' : item.icon, item.label.variant ? "text-" + item.label.variant : '', item.label["class"] ? item.label["class"] : '')
|
|
5412
5322
|
};
|
|
5413
5323
|
return this.navLink(item, key, classes);
|
|
5414
|
-
}
|
|
5415
|
-
|
|
5416
|
-
// nav dropdown
|
|
5417
|
-
|
|
5324
|
+
} // nav dropdown
|
|
5325
|
+
;
|
|
5418
5326
|
|
|
5419
|
-
|
|
5327
|
+
_proto.navDropdown = function navDropdown(item, key) {
|
|
5420
5328
|
var classIcon = classnames_default()('nav-icon', item.icon);
|
|
5421
5329
|
var attributes = JSON.parse(JSON.stringify(item.attributes || {}));
|
|
5422
|
-
var classes = classnames_default()('nav-link', 'nav-dropdown-toggle', item
|
|
5423
|
-
delete attributes
|
|
5424
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
};
|
|
5441
|
-
|
|
5442
|
-
// nav item with nav link
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
AppSidebarNav.prototype.navItem = function navItem(item, key) {
|
|
5330
|
+
var classes = classnames_default()('nav-link', 'nav-dropdown-toggle', item["class"], attributes["class"]);
|
|
5331
|
+
delete attributes["class"];
|
|
5332
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("li", {
|
|
5333
|
+
key: key,
|
|
5334
|
+
className: this.activeRoute(item.url, this.props)
|
|
5335
|
+
}, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("a", SidebarNav_extends({
|
|
5336
|
+
className: classes,
|
|
5337
|
+
href: "#",
|
|
5338
|
+
onClick: this.handleClick
|
|
5339
|
+
}, attributes), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("i", {
|
|
5340
|
+
className: classIcon
|
|
5341
|
+
}), item.name, this.navBadge(item.badge)), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("ul", {
|
|
5342
|
+
className: "nav-dropdown-items"
|
|
5343
|
+
}, this.navList(item.children)));
|
|
5344
|
+
} // nav item with nav link
|
|
5345
|
+
;
|
|
5346
|
+
|
|
5347
|
+
_proto.navItem = function navItem(item, key) {
|
|
5446
5348
|
var classes = {
|
|
5447
|
-
item: classnames_default()(item
|
|
5448
|
-
link: classnames_default()('nav-link', item.variant ?
|
|
5349
|
+
item: classnames_default()(item["class"]),
|
|
5350
|
+
link: classnames_default()('nav-link', item.variant ? "nav-link-" + item.variant : ''),
|
|
5449
5351
|
icon: classnames_default()('nav-icon', item.icon)
|
|
5450
5352
|
};
|
|
5451
5353
|
return this.navLink(item, key, classes);
|
|
5452
|
-
}
|
|
5453
|
-
|
|
5454
|
-
// nav link
|
|
5354
|
+
} // nav link
|
|
5355
|
+
;
|
|
5455
5356
|
|
|
5456
|
-
|
|
5457
|
-
AppSidebarNav.prototype.navLink = function navLink(item, key, classes) {
|
|
5357
|
+
_proto.navLink = function navLink(item, key, classes) {
|
|
5458
5358
|
var url = item.url || '';
|
|
5459
|
-
var itemIcon = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
5359
|
+
var itemIcon = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("i", {
|
|
5360
|
+
className: classes.icon
|
|
5361
|
+
});
|
|
5460
5362
|
var itemBadge = this.navBadge(item.badge);
|
|
5461
5363
|
var attributes = item.attributes || {};
|
|
5462
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
itemBadge
|
|
5483
|
-
)
|
|
5484
|
-
);
|
|
5485
|
-
};
|
|
5486
|
-
|
|
5487
|
-
// badge addon to NavItem
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
AppSidebarNav.prototype.navBadge = function navBadge(badge) {
|
|
5364
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_NavItem, {
|
|
5365
|
+
key: key,
|
|
5366
|
+
className: classes.item
|
|
5367
|
+
}, attributes.disabled ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_NavLink, SidebarNav_extends({
|
|
5368
|
+
href: '',
|
|
5369
|
+
className: classes.link
|
|
5370
|
+
}, attributes), itemIcon, item.name, itemBadge) : this.isExternal(url) ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_NavLink, SidebarNav_extends({
|
|
5371
|
+
href: url,
|
|
5372
|
+
className: classes.link,
|
|
5373
|
+
active: true
|
|
5374
|
+
}, attributes), itemIcon, item.name, itemBadge) : /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(external_root_ReactRouterDom_commonjs2_react_router_dom_commonjs_react_router_dom_amd_react_router_dom_["NavLink"], SidebarNav_extends({
|
|
5375
|
+
to: url,
|
|
5376
|
+
className: classes.link,
|
|
5377
|
+
activeClassName: "active",
|
|
5378
|
+
onClick: this.hideMobile
|
|
5379
|
+
}, attributes), itemIcon, item.name, itemBadge));
|
|
5380
|
+
} // badge addon to NavItem
|
|
5381
|
+
;
|
|
5382
|
+
|
|
5383
|
+
_proto.navBadge = function navBadge(badge) {
|
|
5491
5384
|
if (badge) {
|
|
5492
|
-
var classes = classnames_default()(badge
|
|
5493
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
);
|
|
5385
|
+
var classes = classnames_default()(badge["class"]);
|
|
5386
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_Badge, {
|
|
5387
|
+
className: classes,
|
|
5388
|
+
color: badge.variant
|
|
5389
|
+
}, badge.text);
|
|
5498
5390
|
}
|
|
5391
|
+
|
|
5499
5392
|
return null;
|
|
5500
5393
|
};
|
|
5501
5394
|
|
|
5502
|
-
|
|
5395
|
+
_proto.isExternal = function isExternal(url) {
|
|
5503
5396
|
var link = url ? url.substring(0, 4) : '';
|
|
5504
5397
|
return link === 'http';
|
|
5505
5398
|
};
|
|
5506
5399
|
|
|
5507
|
-
|
|
5508
|
-
var
|
|
5509
|
-
className =
|
|
5510
|
-
children =
|
|
5511
|
-
navConfig =
|
|
5512
|
-
attributes =
|
|
5400
|
+
_proto.render = function render() {
|
|
5401
|
+
var _this$props = this.props,
|
|
5402
|
+
className = _this$props.className,
|
|
5403
|
+
children = _this$props.children,
|
|
5404
|
+
navConfig = _this$props.navConfig,
|
|
5405
|
+
attributes = SidebarNav_objectWithoutPropertiesLoose(_this$props, ["className", "children", "navConfig"]);
|
|
5513
5406
|
|
|
5514
5407
|
delete attributes.isOpen;
|
|
5515
5408
|
delete attributes.staticContext;
|
|
5516
5409
|
delete attributes.Tag;
|
|
5410
|
+
var navClasses = classnames_default()(className, 'sidebar-nav'); // ToDo: find better rtl fix
|
|
5517
5411
|
|
|
5518
|
-
var
|
|
5412
|
+
var isRtl = getComputedStyle(document.documentElement).direction === 'rtl'; // sidebar-nav root
|
|
5519
5413
|
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
5528
|
-
es_Nav,
|
|
5529
|
-
null,
|
|
5530
|
-
children || this.navList(navConfig.items)
|
|
5531
|
-
)
|
|
5532
|
-
);
|
|
5414
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(react_perfect_scrollbar_lib_default.a, SidebarNav_extends({
|
|
5415
|
+
className: navClasses
|
|
5416
|
+
}, attributes, {
|
|
5417
|
+
options: {
|
|
5418
|
+
suppressScrollX: !isRtl
|
|
5419
|
+
}
|
|
5420
|
+
}), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_Nav, null, children || this.navList(navConfig.items)));
|
|
5533
5421
|
};
|
|
5534
5422
|
|
|
5535
5423
|
return AppSidebarNav;
|
|
@@ -5537,25 +5425,20 @@ var SidebarNav_AppSidebarNav = function (_Component) {
|
|
|
5537
5425
|
|
|
5538
5426
|
SidebarNav_AppSidebarNav.propTypes = SidebarNav_propTypes;
|
|
5539
5427
|
SidebarNav_AppSidebarNav.defaultProps = SidebarNav_defaultProps;
|
|
5540
|
-
|
|
5541
5428
|
/* harmony default export */ var SidebarNav = (SidebarNav_AppSidebarNav);
|
|
5542
5429
|
// EXTERNAL MODULE: ./css/scrollbar.css
|
|
5543
|
-
var scrollbar = __webpack_require__(
|
|
5430
|
+
var scrollbar = __webpack_require__(27);
|
|
5544
5431
|
|
|
5545
5432
|
// CONCATENATED MODULE: ./src/SidebarNav2.js
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
var SidebarNav2_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
5433
|
+
function SidebarNav2_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5549
5434
|
|
|
5550
|
-
function
|
|
5435
|
+
function SidebarNav2_extends() { SidebarNav2_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return SidebarNav2_extends.apply(this, arguments); }
|
|
5551
5436
|
|
|
5552
|
-
function
|
|
5553
|
-
|
|
5554
|
-
function SidebarNav2_possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
5555
|
-
|
|
5556
|
-
function SidebarNav2_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
5437
|
+
function SidebarNav2_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
5557
5438
|
|
|
5439
|
+
function SidebarNav2_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
5558
5440
|
|
|
5441
|
+
function SidebarNav2_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5559
5442
|
|
|
5560
5443
|
|
|
5561
5444
|
|
|
@@ -5576,7 +5459,6 @@ var SidebarNav2_propTypes = {
|
|
|
5576
5459
|
router: prop_types_default.a.any,
|
|
5577
5460
|
props: prop_types_default.a.any
|
|
5578
5461
|
};
|
|
5579
|
-
|
|
5580
5462
|
var SidebarNav2_defaultProps = {
|
|
5581
5463
|
tag: 'nav',
|
|
5582
5464
|
navConfig: {
|
|
@@ -5584,174 +5466,165 @@ var SidebarNav2_defaultProps = {
|
|
|
5584
5466
|
name: 'Dashboard',
|
|
5585
5467
|
url: '/dashboard',
|
|
5586
5468
|
icon: 'icon-speedometer',
|
|
5587
|
-
badge: {
|
|
5469
|
+
badge: {
|
|
5470
|
+
variant: 'info',
|
|
5471
|
+
text: 'NEW'
|
|
5472
|
+
}
|
|
5588
5473
|
}]
|
|
5589
5474
|
},
|
|
5590
5475
|
isOpen: false,
|
|
5591
|
-
router: {
|
|
5476
|
+
router: {
|
|
5477
|
+
RsNavLink: es_NavLink
|
|
5478
|
+
}
|
|
5592
5479
|
};
|
|
5593
5480
|
|
|
5594
|
-
var SidebarNav2_AppSidebarNav2 = function (_Component) {
|
|
5595
|
-
|
|
5481
|
+
var SidebarNav2_AppSidebarNav2 = /*#__PURE__*/function (_Component) {
|
|
5482
|
+
SidebarNav2_inheritsLoose(AppSidebarNav2, _Component);
|
|
5596
5483
|
|
|
5597
5484
|
function AppSidebarNav2(props) {
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
var _this = SidebarNav2_possibleConstructorReturn(this, _Component.call(this, props));
|
|
5601
|
-
|
|
5602
|
-
_this._scrollBarRef = null;
|
|
5485
|
+
var _this;
|
|
5603
5486
|
|
|
5487
|
+
_this = _Component.call(this, props) || this;
|
|
5604
5488
|
|
|
5605
|
-
_this
|
|
5606
|
-
_this.activeRoute = _this.activeRoute.bind(_this);
|
|
5607
|
-
_this.hideMobile = _this.hideMobile.bind(_this);
|
|
5489
|
+
SidebarNav2_defineProperty(SidebarNav2_assertThisInitialized(_this), "_scrollBarRef", null);
|
|
5608
5490
|
|
|
5491
|
+
_this.handleClick = _this.handleClick.bind(SidebarNav2_assertThisInitialized(_this));
|
|
5492
|
+
_this.activeRoute = _this.activeRoute.bind(SidebarNav2_assertThisInitialized(_this));
|
|
5493
|
+
_this.hideMobile = _this.hideMobile.bind(SidebarNav2_assertThisInitialized(_this));
|
|
5609
5494
|
_this.changes = null;
|
|
5610
|
-
_this.state = {
|
|
5495
|
+
_this.state = {
|
|
5496
|
+
sidebarMinimized: false
|
|
5497
|
+
};
|
|
5611
5498
|
return _this;
|
|
5612
5499
|
}
|
|
5613
5500
|
|
|
5614
|
-
AppSidebarNav2.prototype
|
|
5501
|
+
var _proto = AppSidebarNav2.prototype;
|
|
5502
|
+
|
|
5503
|
+
_proto.handleClick = function handleClick(e, item) {
|
|
5615
5504
|
if (item.attributes && typeof item.attributes.onClick === 'function' && !this.isActiveRoute(item.url, this.props)) {
|
|
5616
5505
|
item.attributes.onClick(e, item);
|
|
5617
5506
|
} else {
|
|
5618
5507
|
e.preventDefault();
|
|
5619
5508
|
}
|
|
5509
|
+
|
|
5620
5510
|
e.currentTarget.parentElement.classList.toggle('open');
|
|
5621
5511
|
};
|
|
5622
5512
|
|
|
5623
|
-
|
|
5513
|
+
_proto.isActiveRoute = function isActiveRoute(routeName, props) {
|
|
5624
5514
|
return props.location.pathname.indexOf(routeName) > -1;
|
|
5625
5515
|
};
|
|
5626
5516
|
|
|
5627
|
-
|
|
5517
|
+
_proto.activeRoute = function activeRoute(routeName, props) {
|
|
5628
5518
|
return this.isActiveRoute(routeName, props) ? 'nav-item nav-dropdown open' : 'nav-item nav-dropdown';
|
|
5629
5519
|
};
|
|
5630
5520
|
|
|
5631
|
-
|
|
5521
|
+
_proto.hideMobile = function hideMobile() {
|
|
5632
5522
|
if (document.body.classList.contains('sidebar-show')) {
|
|
5633
5523
|
document.body.classList.toggle('sidebar-show');
|
|
5634
5524
|
}
|
|
5635
5525
|
};
|
|
5636
5526
|
|
|
5637
|
-
|
|
5527
|
+
_proto.getAttribs = function getAttribs(attributes) {
|
|
5638
5528
|
return SidebarNav2_extends({}, attributes);
|
|
5639
|
-
}
|
|
5640
|
-
|
|
5641
|
-
// nav list
|
|
5529
|
+
} // nav list
|
|
5530
|
+
;
|
|
5642
5531
|
|
|
5643
|
-
|
|
5644
|
-
AppSidebarNav2.prototype.navList = function navList(items) {
|
|
5532
|
+
_proto.navList = function navList(items) {
|
|
5645
5533
|
var _this2 = this;
|
|
5646
5534
|
|
|
5647
5535
|
return items.map(function (item, index) {
|
|
5648
5536
|
return _this2.navType(item, index);
|
|
5649
5537
|
});
|
|
5650
|
-
}
|
|
5651
|
-
|
|
5652
|
-
// nav type
|
|
5653
|
-
|
|
5538
|
+
} // nav type
|
|
5539
|
+
;
|
|
5654
5540
|
|
|
5655
|
-
|
|
5541
|
+
_proto.navType = function navType(item, idx) {
|
|
5656
5542
|
return item.title ? this.navTitle(item, idx) : item.divider ? this.navDivider(item, idx) : item.label ? this.navLabel(item, idx) : item.children ? this.navDropdown(item, idx) : this.navItem(item, idx);
|
|
5657
|
-
}
|
|
5658
|
-
|
|
5659
|
-
// nav list section title
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
AppSidebarNav2.prototype.navTitle = function navTitle(title, key) {
|
|
5663
|
-
var classes = classnames_default()('nav-title', title.class, title.className);
|
|
5664
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
5665
|
-
'li',
|
|
5666
|
-
{ key: key, className: classes },
|
|
5667
|
-
this.navWrapper(title),
|
|
5668
|
-
' '
|
|
5669
|
-
);
|
|
5670
|
-
};
|
|
5671
|
-
|
|
5672
|
-
// simple wrapper for nav-title item
|
|
5543
|
+
} // nav list section title
|
|
5544
|
+
;
|
|
5673
5545
|
|
|
5546
|
+
_proto.navTitle = function navTitle(title, key) {
|
|
5547
|
+
var classes = classnames_default()('nav-title', title["class"], title.className);
|
|
5548
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("li", {
|
|
5549
|
+
key: key,
|
|
5550
|
+
className: classes
|
|
5551
|
+
}, this.navWrapper(title), " ");
|
|
5552
|
+
} // simple wrapper for nav-title item
|
|
5553
|
+
;
|
|
5674
5554
|
|
|
5675
|
-
|
|
5555
|
+
_proto.navWrapper = function navWrapper(item) {
|
|
5676
5556
|
return item.wrapper && item.wrapper.element ? external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(item.wrapper.element, item.wrapper.attributes, item.name) : item.name;
|
|
5677
|
-
}
|
|
5678
|
-
|
|
5679
|
-
// nav list divider
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
AppSidebarNav2.prototype.navDivider = function navDivider(divider, key) {
|
|
5683
|
-
var classes = classnames_default()('divider', divider.class, divider.className);
|
|
5684
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement('li', { key: key, className: classes });
|
|
5685
|
-
};
|
|
5686
|
-
|
|
5687
|
-
// nav label with nav link
|
|
5557
|
+
} // nav list divider
|
|
5558
|
+
;
|
|
5688
5559
|
|
|
5560
|
+
_proto.navDivider = function navDivider(divider, key) {
|
|
5561
|
+
var classes = classnames_default()('divider', divider["class"], divider.className);
|
|
5562
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("li", {
|
|
5563
|
+
key: key,
|
|
5564
|
+
className: classes
|
|
5565
|
+
});
|
|
5566
|
+
} // nav label with nav link
|
|
5567
|
+
;
|
|
5689
5568
|
|
|
5690
|
-
|
|
5569
|
+
_proto.navLabel = function navLabel(item, key) {
|
|
5691
5570
|
var classes = {
|
|
5692
|
-
item: classnames_default()('hidden-cn', item
|
|
5693
|
-
link: classnames_default()('nav-label', item
|
|
5694
|
-
icon: classnames_default()('nav-icon', !item.icon ? 'fa fa-circle' : item.icon, item.label.variant ?
|
|
5571
|
+
item: classnames_default()('hidden-cn', item["class"]),
|
|
5572
|
+
link: classnames_default()('nav-label', item["class"] ? item["class"] : ''),
|
|
5573
|
+
icon: classnames_default()('nav-icon', !item.icon ? 'fa fa-circle' : item.icon, item.label.variant ? "text-" + item.label.variant : '', item.label["class"] ? item.label["class"] : '')
|
|
5695
5574
|
};
|
|
5696
5575
|
return this.navLink(item, key, classes);
|
|
5697
|
-
}
|
|
5576
|
+
} // nav dropdown
|
|
5577
|
+
;
|
|
5698
5578
|
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
AppSidebarNav2.prototype.navDropdown = function navDropdown(item, key) {
|
|
5579
|
+
_proto.navDropdown = function navDropdown(item, key) {
|
|
5703
5580
|
var _this3 = this;
|
|
5704
5581
|
|
|
5705
5582
|
var itemIcon = this.navIcon(item);
|
|
5706
5583
|
var attributes = this.getAttribs(item.attributes);
|
|
5707
|
-
var classes = classnames_default()('nav-link', 'nav-dropdown-toggle', item
|
|
5708
|
-
delete attributes
|
|
5584
|
+
var classes = classnames_default()('nav-link', 'nav-dropdown-toggle', item["class"], attributes["class"], attributes.className);
|
|
5585
|
+
delete attributes["class"];
|
|
5709
5586
|
delete attributes.className;
|
|
5710
5587
|
var itemAttr = this.getAttribs(item.itemAttr);
|
|
5711
|
-
var liClasses = classnames_default()('nav-item', 'nav-dropdown', itemAttr
|
|
5712
|
-
delete itemAttr
|
|
5588
|
+
var liClasses = classnames_default()('nav-item', 'nav-dropdown', itemAttr["class"], itemAttr.className);
|
|
5589
|
+
delete itemAttr["class"];
|
|
5713
5590
|
delete itemAttr.className;
|
|
5714
5591
|
var NavLink = this.props.router.NavLink || es_NavLink;
|
|
5592
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("li", SidebarNav2_extends({
|
|
5593
|
+
key: key,
|
|
5594
|
+
className: classnames_default()(liClasses, {
|
|
5595
|
+
'open': this.isActiveRoute(item.url, this.props)
|
|
5596
|
+
})
|
|
5597
|
+
}, itemAttr), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(NavLink, SidebarNav2_extends({
|
|
5598
|
+
activeClassName: "open",
|
|
5599
|
+
className: classes,
|
|
5600
|
+
to: item.url || ''
|
|
5601
|
+
}, attributes, {
|
|
5602
|
+
onClick: function onClick(e) {
|
|
5603
|
+
return _this3.handleClick(e, item);
|
|
5604
|
+
}
|
|
5605
|
+
}), itemIcon, item.name, this.navBadge(item.badge)), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("ul", {
|
|
5606
|
+
className: "nav-dropdown-items"
|
|
5607
|
+
}, this.navList(item.children)));
|
|
5608
|
+
} // nav item with nav link
|
|
5609
|
+
;
|
|
5715
5610
|
|
|
5716
|
-
|
|
5717
|
-
'li',
|
|
5718
|
-
SidebarNav2_extends({ key: key, className: classnames_default()(liClasses, { 'open': this.isActiveRoute(item.url, this.props) }) }, itemAttr),
|
|
5719
|
-
external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
5720
|
-
NavLink,
|
|
5721
|
-
SidebarNav2_extends({ activeClassName: 'open',
|
|
5722
|
-
className: classes,
|
|
5723
|
-
to: item.url || ''
|
|
5724
|
-
}, attributes, {
|
|
5725
|
-
onClick: function onClick(e) {
|
|
5726
|
-
return _this3.handleClick(e, item);
|
|
5727
|
-
} }),
|
|
5728
|
-
itemIcon,
|
|
5729
|
-
item.name,
|
|
5730
|
-
this.navBadge(item.badge)
|
|
5731
|
-
),
|
|
5732
|
-
external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
5733
|
-
'ul',
|
|
5734
|
-
{ className: 'nav-dropdown-items' },
|
|
5735
|
-
this.navList(item.children)
|
|
5736
|
-
)
|
|
5737
|
-
);
|
|
5738
|
-
};
|
|
5739
|
-
|
|
5740
|
-
// nav item with nav link
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
AppSidebarNav2.prototype.navItem = function navItem(item, key) {
|
|
5611
|
+
_proto.navItem = function navItem(item, key) {
|
|
5744
5612
|
var classes = {
|
|
5745
|
-
item: classnames_default()(item
|
|
5746
|
-
link: classnames_default()('nav-link', item.variant ?
|
|
5613
|
+
item: classnames_default()(item["class"]),
|
|
5614
|
+
link: classnames_default()('nav-link', item.variant ? "nav-link-" + item.variant : ''),
|
|
5747
5615
|
icon: classnames_default()('nav-icon', item.icon)
|
|
5748
5616
|
};
|
|
5749
5617
|
return this.navLink(item, key, classes);
|
|
5750
5618
|
};
|
|
5751
5619
|
|
|
5752
|
-
|
|
5620
|
+
_proto.navIcon = function navIcon(item) {
|
|
5753
5621
|
var icon = item.icon;
|
|
5754
|
-
var iconObject =
|
|
5622
|
+
var iconObject = typeof icon === 'object' && icon !== null ? SidebarNav2_extends({
|
|
5623
|
+
iconClass: icon["class"],
|
|
5624
|
+
iconClassName: icon.className
|
|
5625
|
+
}, icon) : {
|
|
5626
|
+
iconClass: icon
|
|
5627
|
+
};
|
|
5755
5628
|
var iconClass = iconObject.iconClass,
|
|
5756
5629
|
iconClassName = iconObject.iconClassName,
|
|
5757
5630
|
innerText = iconObject.innerText,
|
|
@@ -5759,24 +5632,24 @@ var SidebarNav2_AppSidebarNav2 = function (_Component) {
|
|
|
5759
5632
|
attributes = iconObject.attributes;
|
|
5760
5633
|
|
|
5761
5634
|
var iconAttr = SidebarNav2_extends({}, attributes);
|
|
5762
|
-
|
|
5635
|
+
|
|
5636
|
+
delete iconAttr["class"];
|
|
5763
5637
|
delete iconAttr.className;
|
|
5764
5638
|
delete iconAttr.img;
|
|
5765
5639
|
var iconImg = img && img.src ? img : null;
|
|
5766
5640
|
var iconInner = innerText || null;
|
|
5767
5641
|
var classIcon = classnames_default()('nav-icon', iconClass, iconClassName);
|
|
5768
|
-
var iconComponent = iconImg ? external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5642
|
+
var iconComponent = iconImg ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("img", SidebarNav2_extends({}, iconAttr, {
|
|
5643
|
+
className: classIcon,
|
|
5644
|
+
src: iconImg.src
|
|
5645
|
+
})) : /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("i", SidebarNav2_extends({}, iconAttr, {
|
|
5646
|
+
className: classIcon
|
|
5647
|
+
}), iconInner);
|
|
5773
5648
|
return iconComponent;
|
|
5774
|
-
}
|
|
5775
|
-
|
|
5776
|
-
// nav link
|
|
5777
|
-
|
|
5649
|
+
} // nav link
|
|
5650
|
+
;
|
|
5778
5651
|
|
|
5779
|
-
|
|
5652
|
+
_proto.navLink = function navLink(item, key, classes) {
|
|
5780
5653
|
var _this4 = this;
|
|
5781
5654
|
|
|
5782
5655
|
var ref = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createRef();
|
|
@@ -5784,72 +5657,65 @@ var SidebarNav2_AppSidebarNav2 = function (_Component) {
|
|
|
5784
5657
|
var itemIcon = this.navIcon(item);
|
|
5785
5658
|
var itemBadge = this.navBadge(item.badge);
|
|
5786
5659
|
var attributes = this.getAttribs(item.attributes);
|
|
5787
|
-
classes.link = classnames_default()(classes.link, attributes
|
|
5788
|
-
delete attributes
|
|
5660
|
+
classes.link = classnames_default()(classes.link, attributes["class"], attributes.className);
|
|
5661
|
+
delete attributes["class"];
|
|
5789
5662
|
delete attributes.className;
|
|
5790
5663
|
var itemAttr = this.getAttribs(item.itemAttr);
|
|
5791
|
-
classes.item = classnames_default()(classes.item, itemAttr
|
|
5792
|
-
delete itemAttr
|
|
5664
|
+
classes.item = classnames_default()(classes.item, itemAttr["class"], itemAttr.className);
|
|
5665
|
+
delete itemAttr["class"];
|
|
5793
5666
|
delete itemAttr.className;
|
|
5794
5667
|
var NavLink = this.props.router.NavLink || es_NavLink;
|
|
5795
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
)
|
|
5819
|
-
);
|
|
5820
|
-
};
|
|
5821
|
-
|
|
5822
|
-
// badge addon to NavItem
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
AppSidebarNav2.prototype.navBadge = function navBadge(badge) {
|
|
5668
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_NavItem, SidebarNav2_extends({
|
|
5669
|
+
key: key,
|
|
5670
|
+
className: classes.item
|
|
5671
|
+
}, itemAttr), attributes.disabled ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_NavLink, SidebarNav2_extends({
|
|
5672
|
+
href: '',
|
|
5673
|
+
className: classes.link
|
|
5674
|
+
}, attributes), itemIcon, item.name, itemBadge) : this.isExternal(url, this.props) || NavLink === es_NavLink ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_NavLink, SidebarNav2_extends({
|
|
5675
|
+
href: url,
|
|
5676
|
+
className: classes.link,
|
|
5677
|
+
active: true
|
|
5678
|
+
}, attributes), itemIcon, item.name, itemBadge) : /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(NavLink, SidebarNav2_extends({
|
|
5679
|
+
to: url,
|
|
5680
|
+
className: classes.link,
|
|
5681
|
+
activeClassName: "active",
|
|
5682
|
+
onClick: function onClick() {
|
|
5683
|
+
return _this4.hideMobile(ref);
|
|
5684
|
+
},
|
|
5685
|
+
ref: ref
|
|
5686
|
+
}, attributes), itemIcon, item.name, itemBadge));
|
|
5687
|
+
} // badge addon to NavItem
|
|
5688
|
+
;
|
|
5689
|
+
|
|
5690
|
+
_proto.navBadge = function navBadge(badge) {
|
|
5826
5691
|
if (badge) {
|
|
5827
|
-
var classes = classnames_default()(badge
|
|
5828
|
-
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
);
|
|
5692
|
+
var classes = classnames_default()(badge["class"], badge.className);
|
|
5693
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_Badge, {
|
|
5694
|
+
className: classes,
|
|
5695
|
+
color: badge.variant
|
|
5696
|
+
}, badge.text);
|
|
5833
5697
|
}
|
|
5698
|
+
|
|
5834
5699
|
return null;
|
|
5835
5700
|
};
|
|
5836
5701
|
|
|
5837
|
-
|
|
5838
|
-
var linkType = typeof url
|
|
5839
|
-
var link = linkType === 'string' ? url : linkType === 'object' && url.pathname ? url.pathname : linkType === 'function' && typeof url(props.location) === 'string' ? url(props.location) : linkType === 'function' &&
|
|
5702
|
+
_proto.isExternal = function isExternal(url, props) {
|
|
5703
|
+
var linkType = typeof url;
|
|
5704
|
+
var link = linkType === 'string' ? url : linkType === 'object' && url.pathname ? url.pathname : linkType === 'function' && typeof url(props.location) === 'string' ? url(props.location) : linkType === 'function' && typeof url(props.location) === 'object' ? url(props.location).pathname : '';
|
|
5840
5705
|
return link.substring(0, 4) === 'http';
|
|
5841
5706
|
};
|
|
5842
5707
|
|
|
5843
|
-
|
|
5708
|
+
_proto.observeDomMutations = function observeDomMutations() {
|
|
5844
5709
|
var _this5 = this;
|
|
5845
5710
|
|
|
5846
5711
|
if (window.MutationObserver) {
|
|
5847
|
-
|
|
5848
5712
|
// eslint-disable-next-line
|
|
5849
5713
|
this.changes = new MutationObserver(function (mutations) {
|
|
5850
|
-
|
|
5851
5714
|
var isSidebarMinimized = document.body.classList.contains('sidebar-minimized') || false;
|
|
5852
|
-
|
|
5715
|
+
|
|
5716
|
+
_this5.setState({
|
|
5717
|
+
sidebarMinimized: isSidebarMinimized
|
|
5718
|
+
});
|
|
5853
5719
|
|
|
5854
5720
|
layout.sidebarPSToggle(!isSidebarMinimized);
|
|
5855
5721
|
});
|
|
@@ -5859,18 +5725,19 @@ var SidebarNav2_AppSidebarNav2 = function (_Component) {
|
|
|
5859
5725
|
attributeFilter: ['class']
|
|
5860
5726
|
});
|
|
5861
5727
|
}
|
|
5728
|
+
|
|
5862
5729
|
window.addEventListener('resize', this.onResize);
|
|
5863
5730
|
};
|
|
5864
5731
|
|
|
5865
|
-
|
|
5732
|
+
_proto.onResize = function onResize() {
|
|
5866
5733
|
layout.sidebarPSToggle(true);
|
|
5867
5734
|
};
|
|
5868
5735
|
|
|
5869
|
-
|
|
5736
|
+
_proto.componentDidMount = function componentDidMount() {
|
|
5870
5737
|
this.observeDomMutations();
|
|
5871
5738
|
};
|
|
5872
5739
|
|
|
5873
|
-
|
|
5740
|
+
_proto.componentWillUnmount = function componentWillUnmount() {
|
|
5874
5741
|
try {
|
|
5875
5742
|
this.changes.disconnect();
|
|
5876
5743
|
window.removeEventListener('resize', this.onResize);
|
|
@@ -5880,36 +5747,33 @@ var SidebarNav2_AppSidebarNav2 = function (_Component) {
|
|
|
5880
5747
|
}
|
|
5881
5748
|
};
|
|
5882
5749
|
|
|
5883
|
-
|
|
5750
|
+
_proto.render = function render() {
|
|
5884
5751
|
var _this6 = this;
|
|
5885
5752
|
|
|
5886
|
-
var
|
|
5887
|
-
className =
|
|
5888
|
-
children =
|
|
5889
|
-
navConfig =
|
|
5890
|
-
attributes =
|
|
5753
|
+
var _this$props = this.props,
|
|
5754
|
+
className = _this$props.className,
|
|
5755
|
+
children = _this$props.children,
|
|
5756
|
+
navConfig = _this$props.navConfig,
|
|
5757
|
+
attributes = SidebarNav2_objectWithoutPropertiesLoose(_this$props, ["className", "children", "navConfig"]);
|
|
5891
5758
|
|
|
5892
5759
|
delete attributes.isOpen;
|
|
5893
5760
|
delete attributes.staticContext;
|
|
5894
5761
|
delete attributes.Tag;
|
|
5895
5762
|
delete attributes.router;
|
|
5896
|
-
|
|
5897
5763
|
var navClasses = classnames_default()(className, 'sidebar-nav');
|
|
5898
|
-
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
// sidebar-nav root
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
)
|
|
5912
|
-
);
|
|
5764
|
+
var options = Object.assign({}, {
|
|
5765
|
+
suppressScrollX: true,
|
|
5766
|
+
suppressScrollY: this.state.sidebarMinimized
|
|
5767
|
+
}); // sidebar-nav root
|
|
5768
|
+
|
|
5769
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(react_perfect_scrollbar_lib_default.a, SidebarNav2_extends({
|
|
5770
|
+
className: navClasses
|
|
5771
|
+
}, attributes, {
|
|
5772
|
+
options: options,
|
|
5773
|
+
ref: function ref(_ref) {
|
|
5774
|
+
_this6._scrollBarRef = _ref;
|
|
5775
|
+
}
|
|
5776
|
+
}), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(es_Nav, null, children || this.navList(navConfig.items)));
|
|
5913
5777
|
};
|
|
5914
5778
|
|
|
5915
5779
|
return AppSidebarNav2;
|
|
@@ -5917,19 +5781,15 @@ var SidebarNav2_AppSidebarNav2 = function (_Component) {
|
|
|
5917
5781
|
|
|
5918
5782
|
SidebarNav2_AppSidebarNav2.propTypes = SidebarNav2_propTypes;
|
|
5919
5783
|
SidebarNav2_AppSidebarNav2.defaultProps = SidebarNav2_defaultProps;
|
|
5920
|
-
|
|
5921
5784
|
/* harmony default export */ var SidebarNav2 = (SidebarNav2_AppSidebarNav2);
|
|
5922
5785
|
// CONCATENATED MODULE: ./src/SidebarToggler.js
|
|
5923
|
-
|
|
5786
|
+
function SidebarToggler_extends() { SidebarToggler_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return SidebarToggler_extends.apply(this, arguments); }
|
|
5924
5787
|
|
|
5925
|
-
function
|
|
5788
|
+
function SidebarToggler_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5926
5789
|
|
|
5927
|
-
function
|
|
5928
|
-
|
|
5929
|
-
function SidebarToggler_possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
5930
|
-
|
|
5931
|
-
function SidebarToggler_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
5790
|
+
function SidebarToggler_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
5932
5791
|
|
|
5792
|
+
function SidebarToggler_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
5933
5793
|
|
|
5934
5794
|
|
|
5935
5795
|
|
|
@@ -5944,7 +5804,6 @@ var SidebarToggler_propTypes = {
|
|
|
5944
5804
|
tag: prop_types_default.a.oneOfType([prop_types_default.a.func, prop_types_default.a.string]),
|
|
5945
5805
|
type: prop_types_default.a.string
|
|
5946
5806
|
};
|
|
5947
|
-
|
|
5948
5807
|
var SidebarToggler_defaultProps = {
|
|
5949
5808
|
display: 'lg',
|
|
5950
5809
|
mobile: false,
|
|
@@ -5952,56 +5811,60 @@ var SidebarToggler_defaultProps = {
|
|
|
5952
5811
|
type: 'button'
|
|
5953
5812
|
};
|
|
5954
5813
|
|
|
5955
|
-
var SidebarToggler_AppSidebarToggler = function (_Component) {
|
|
5956
|
-
|
|
5814
|
+
var SidebarToggler_AppSidebarToggler = /*#__PURE__*/function (_Component) {
|
|
5815
|
+
SidebarToggler_inheritsLoose(AppSidebarToggler, _Component);
|
|
5957
5816
|
|
|
5958
5817
|
function AppSidebarToggler(props) {
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
var _this = SidebarToggler_possibleConstructorReturn(this, _Component.call(this, props));
|
|
5818
|
+
var _this;
|
|
5962
5819
|
|
|
5963
|
-
_this
|
|
5820
|
+
_this = _Component.call(this, props) || this;
|
|
5821
|
+
_this.sidebarToggle = _this.sidebarToggle.bind(SidebarToggler_assertThisInitialized(_this));
|
|
5964
5822
|
return _this;
|
|
5965
5823
|
}
|
|
5966
5824
|
|
|
5967
|
-
AppSidebarToggler.prototype
|
|
5825
|
+
var _proto = AppSidebarToggler.prototype;
|
|
5826
|
+
|
|
5827
|
+
_proto.sidebarToggle = function sidebarToggle(e) {
|
|
5968
5828
|
e.preventDefault();
|
|
5969
5829
|
this.toggle();
|
|
5970
5830
|
};
|
|
5971
5831
|
|
|
5972
|
-
|
|
5832
|
+
_proto.toggle = function toggle(force) {
|
|
5973
5833
|
var _ref = [this.props.display, this.props.mobile],
|
|
5974
5834
|
display = _ref[0],
|
|
5975
5835
|
mobile = _ref[1];
|
|
5976
|
-
|
|
5977
5836
|
var cssClass = sidebarCssClasses[0];
|
|
5837
|
+
|
|
5978
5838
|
if (!mobile && display && checkBreakpoint(display, validBreakpoints)) {
|
|
5979
|
-
cssClass =
|
|
5839
|
+
cssClass = "sidebar-" + display + "-show";
|
|
5980
5840
|
}
|
|
5841
|
+
|
|
5981
5842
|
toggleClasses(cssClass, sidebarCssClasses, force);
|
|
5982
5843
|
};
|
|
5983
5844
|
|
|
5984
|
-
|
|
5845
|
+
_proto.render = function render() {
|
|
5985
5846
|
var _this2 = this;
|
|
5986
5847
|
|
|
5987
|
-
var
|
|
5988
|
-
className =
|
|
5989
|
-
children =
|
|
5990
|
-
Tag =
|
|
5991
|
-
attributes =
|
|
5848
|
+
var _this$props = this.props,
|
|
5849
|
+
className = _this$props.className,
|
|
5850
|
+
children = _this$props.children,
|
|
5851
|
+
Tag = _this$props.tag,
|
|
5852
|
+
attributes = SidebarToggler_objectWithoutPropertiesLoose(_this$props, ["className", "children", "tag"]);
|
|
5992
5853
|
|
|
5993
5854
|
delete attributes.mobile;
|
|
5994
5855
|
delete attributes.display;
|
|
5995
|
-
|
|
5996
5856
|
var classes = classnames_default()(className, 'navbar-toggler');
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
|
|
5857
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Tag, SidebarToggler_extends({
|
|
5858
|
+
type: "button",
|
|
5859
|
+
className: classes
|
|
5860
|
+
}, attributes, {
|
|
5861
|
+
onClick: function onClick(event) {
|
|
5862
|
+
return _this2.sidebarToggle(event);
|
|
5863
|
+
},
|
|
5864
|
+
"data-sidebar-toggler": true
|
|
5865
|
+
}), children || /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("span", {
|
|
5866
|
+
className: "navbar-toggler-icon"
|
|
5867
|
+
}));
|
|
6005
5868
|
};
|
|
6006
5869
|
|
|
6007
5870
|
return AppSidebarToggler;
|
|
@@ -6009,19 +5872,15 @@ var SidebarToggler_AppSidebarToggler = function (_Component) {
|
|
|
6009
5872
|
|
|
6010
5873
|
SidebarToggler_AppSidebarToggler.propTypes = SidebarToggler_propTypes;
|
|
6011
5874
|
SidebarToggler_AppSidebarToggler.defaultProps = SidebarToggler_defaultProps;
|
|
6012
|
-
|
|
6013
5875
|
/* harmony default export */ var SidebarToggler = (SidebarToggler_AppSidebarToggler);
|
|
6014
5876
|
// CONCATENATED MODULE: ./src/Switch.js
|
|
6015
|
-
|
|
6016
|
-
|
|
6017
|
-
function Switch_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
5877
|
+
function Switch_extends() { Switch_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return Switch_extends.apply(this, arguments); }
|
|
6018
5878
|
|
|
6019
|
-
function
|
|
5879
|
+
function Switch_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6020
5880
|
|
|
6021
|
-
function
|
|
6022
|
-
|
|
6023
|
-
function Switch_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
5881
|
+
function Switch_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6024
5882
|
|
|
5883
|
+
function Switch_inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
6025
5884
|
|
|
6026
5885
|
|
|
6027
5886
|
|
|
@@ -6046,7 +5905,6 @@ var Switch_propTypes = {
|
|
|
6046
5905
|
dataOn: prop_types_default.a.string,
|
|
6047
5906
|
dataOff: prop_types_default.a.string
|
|
6048
5907
|
};
|
|
6049
|
-
|
|
6050
5908
|
var Switch_defaultProps = {
|
|
6051
5909
|
color: 'secondary',
|
|
6052
5910
|
label: false,
|
|
@@ -6062,17 +5920,16 @@ var Switch_defaultProps = {
|
|
|
6062
5920
|
dataOff: 'Off'
|
|
6063
5921
|
};
|
|
6064
5922
|
|
|
6065
|
-
var Switch_AppSwitch = function (_Component) {
|
|
6066
|
-
|
|
5923
|
+
var Switch_AppSwitch = /*#__PURE__*/function (_Component) {
|
|
5924
|
+
Switch_inheritsLoose(AppSwitch, _Component);
|
|
6067
5925
|
|
|
6068
5926
|
function AppSwitch(props) {
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
var _this = Switch_possibleConstructorReturn(this, _Component.call(this, props));
|
|
5927
|
+
var _this;
|
|
6072
5928
|
|
|
6073
|
-
_this
|
|
6074
|
-
_this.
|
|
6075
|
-
_this.
|
|
5929
|
+
_this = _Component.call(this, props) || this;
|
|
5930
|
+
_this.handleChange = _this.handleChange.bind(Switch_assertThisInitialized(_this));
|
|
5931
|
+
_this.handleKeyDown = _this.handleKeyDown.bind(Switch_assertThisInitialized(_this));
|
|
5932
|
+
_this.handleKeyUp = _this.handleKeyUp.bind(Switch_assertThisInitialized(_this));
|
|
6076
5933
|
_this.state = {
|
|
6077
5934
|
uncontrolled: !!_this.props.defaultChecked,
|
|
6078
5935
|
checked: _this.props.defaultChecked || _this.props.checked,
|
|
@@ -6081,13 +5938,15 @@ var Switch_AppSwitch = function (_Component) {
|
|
|
6081
5938
|
return _this;
|
|
6082
5939
|
}
|
|
6083
5940
|
|
|
6084
|
-
AppSwitch.prototype
|
|
5941
|
+
var _proto = AppSwitch.prototype;
|
|
5942
|
+
|
|
5943
|
+
_proto.toggleState = function toggleState(check) {
|
|
6085
5944
|
this.setState({
|
|
6086
5945
|
checked: check
|
|
6087
5946
|
});
|
|
6088
5947
|
};
|
|
6089
5948
|
|
|
6090
|
-
|
|
5949
|
+
_proto.handleChange = function handleChange(event) {
|
|
6091
5950
|
var target = event.target;
|
|
6092
5951
|
this.toggleState(target.checked);
|
|
6093
5952
|
|
|
@@ -6096,70 +5955,71 @@ var Switch_AppSwitch = function (_Component) {
|
|
|
6096
5955
|
}
|
|
6097
5956
|
};
|
|
6098
5957
|
|
|
6099
|
-
|
|
5958
|
+
_proto.handleKeyDown = function handleKeyDown(event) {
|
|
6100
5959
|
if (event.key === ' ') {
|
|
6101
5960
|
event.preventDefault();
|
|
6102
5961
|
}
|
|
6103
5962
|
};
|
|
6104
5963
|
|
|
6105
|
-
|
|
5964
|
+
_proto.handleKeyUp = function handleKeyUp(event) {
|
|
6106
5965
|
if (event.key === 'Enter' || event.key === ' ') {
|
|
6107
5966
|
this.toggleState(!this.state.checked);
|
|
6108
5967
|
}
|
|
6109
5968
|
};
|
|
6110
5969
|
|
|
6111
|
-
|
|
5970
|
+
_proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {
|
|
6112
5971
|
if (!this.state.uncontrolled && this.props.checked !== prevState.checked) {
|
|
6113
5972
|
this.toggleState(this.props.checked);
|
|
6114
5973
|
}
|
|
6115
5974
|
};
|
|
6116
5975
|
|
|
6117
|
-
|
|
6118
|
-
var
|
|
6119
|
-
className =
|
|
6120
|
-
disabled =
|
|
6121
|
-
color =
|
|
6122
|
-
name =
|
|
6123
|
-
label =
|
|
6124
|
-
outline =
|
|
6125
|
-
size =
|
|
6126
|
-
required =
|
|
6127
|
-
type =
|
|
6128
|
-
value =
|
|
6129
|
-
dataOn =
|
|
6130
|
-
dataOff =
|
|
6131
|
-
variant =
|
|
6132
|
-
attributes =
|
|
5976
|
+
_proto.render = function render() {
|
|
5977
|
+
var _this$props = this.props,
|
|
5978
|
+
className = _this$props.className,
|
|
5979
|
+
disabled = _this$props.disabled,
|
|
5980
|
+
color = _this$props.color,
|
|
5981
|
+
name = _this$props.name,
|
|
5982
|
+
label = _this$props.label,
|
|
5983
|
+
outline = _this$props.outline,
|
|
5984
|
+
size = _this$props.size,
|
|
5985
|
+
required = _this$props.required,
|
|
5986
|
+
type = _this$props.type,
|
|
5987
|
+
value = _this$props.value,
|
|
5988
|
+
dataOn = _this$props.dataOn,
|
|
5989
|
+
dataOff = _this$props.dataOff,
|
|
5990
|
+
variant = _this$props.variant,
|
|
5991
|
+
attributes = Switch_objectWithoutPropertiesLoose(_this$props, ["className", "disabled", "color", "name", "label", "outline", "size", "required", "type", "value", "dataOn", "dataOff", "variant"]);
|
|
6133
5992
|
|
|
6134
5993
|
var tabindex = attributes.tabIndex;
|
|
6135
5994
|
delete attributes.tabIndex;
|
|
6136
5995
|
delete attributes.checked;
|
|
6137
5996
|
delete attributes.defaultChecked;
|
|
6138
5997
|
delete attributes.onChange;
|
|
6139
|
-
|
|
6140
|
-
var classes = classnames_default()(className, 'switch', label ? 'switch-label' : false, size ? 'switch-' + size : false, variant ? 'switch-' + variant : false, 'switch' + (outline ? '-outline' : '') + '-' + color + (outline === 'alt' ? '-alt' : ''), 'form-check-label');
|
|
6141
|
-
|
|
5998
|
+
var classes = classnames_default()(className, 'switch', label ? 'switch-label' : false, size ? "switch-" + size : false, variant ? "switch-" + variant : false, "switch" + (outline ? '-outline' : '') + "-" + color + (outline === 'alt' ? '-alt' : ''), 'form-check-label');
|
|
6142
5999
|
var inputClasses = classnames_default()('switch-input', 'form-check-input');
|
|
6143
|
-
|
|
6144
6000
|
var sliderClasses = classnames_default()('switch-slider');
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
|
|
6162
|
-
)
|
|
6001
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("label", {
|
|
6002
|
+
className: classes,
|
|
6003
|
+
tabIndex: tabindex,
|
|
6004
|
+
onKeyUp: this.handleKeyUp,
|
|
6005
|
+
onKeyDown: this.handleKeyDown
|
|
6006
|
+
}, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("input", Switch_extends({
|
|
6007
|
+
type: type,
|
|
6008
|
+
className: inputClasses,
|
|
6009
|
+
onChange: this.handleChange,
|
|
6010
|
+
checked: this.state.checked,
|
|
6011
|
+
name: name,
|
|
6012
|
+
required: required,
|
|
6013
|
+
disabled: disabled,
|
|
6014
|
+
value: value,
|
|
6015
|
+
"aria-checked": this.state.checked,
|
|
6016
|
+
"aria-disabled": disabled,
|
|
6017
|
+
"aria-readonly": disabled
|
|
6018
|
+
}, attributes)), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("span", {
|
|
6019
|
+
className: sliderClasses,
|
|
6020
|
+
"data-checked": dataOn,
|
|
6021
|
+
"data-unchecked": dataOff
|
|
6022
|
+
}));
|
|
6163
6023
|
};
|
|
6164
6024
|
|
|
6165
6025
|
return AppSwitch;
|
|
@@ -6167,26 +6027,8 @@ var Switch_AppSwitch = function (_Component) {
|
|
|
6167
6027
|
|
|
6168
6028
|
Switch_AppSwitch.propTypes = Switch_propTypes;
|
|
6169
6029
|
Switch_AppSwitch.defaultProps = Switch_defaultProps;
|
|
6170
|
-
|
|
6171
6030
|
/* harmony default export */ var Switch = (Switch_AppSwitch);
|
|
6172
6031
|
// CONCATENATED MODULE: ./src/index.js
|
|
6173
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppAside", function() { return Aside; });
|
|
6174
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppAsideToggler", function() { return AsideToggler; });
|
|
6175
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppBreadcrumb", function() { return src_Breadcrumb; });
|
|
6176
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppBreadcrumb2", function() { return Breadcrumb2; });
|
|
6177
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppFooter", function() { return Footer; });
|
|
6178
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppHeader", function() { return Header; });
|
|
6179
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppHeaderDropdown", function() { return HeaderDropdown; });
|
|
6180
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppNavbarBrand", function() { return NavbarBrand; });
|
|
6181
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppSidebar", function() { return Sidebar; });
|
|
6182
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppSidebarFooter", function() { return SidebarFooter; });
|
|
6183
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppSidebarForm", function() { return SidebarForm; });
|
|
6184
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppSidebarHeader", function() { return SidebarHeader; });
|
|
6185
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppSidebarMinimizer", function() { return SidebarMinimizer; });
|
|
6186
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppSidebarNav", function() { return SidebarNav; });
|
|
6187
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppSidebarNav2", function() { return SidebarNav2; });
|
|
6188
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppSidebarToggler", function() { return SidebarToggler; });
|
|
6189
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AppSwitch", function() { return Switch; });
|
|
6190
6032
|
|
|
6191
6033
|
|
|
6192
6034
|
|