mario-core 2.9.138-level → 2.9.139-up

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/components/Alerts/ReactNotification.d.ts +2 -2
  2. package/dist/components/Image/UploadImage.d.ts +2 -2
  3. package/dist/components/Modals/NotificationLogoutModal.d.ts +2 -2
  4. package/dist/components/Modals/NotificationModal.d.ts +2 -2
  5. package/dist/components/Others/QuitPrompt.d.ts +2 -2
  6. package/dist/components/Pagination/CustomPagination.d.ts +2 -2
  7. package/dist/components/Selectors/AcademicClassSelector.d.ts +2 -2
  8. package/dist/components/Selectors/CategorySelector.d.ts +2 -2
  9. package/dist/components/Selectors/CreatableSelector.d.ts +2 -2
  10. package/dist/components/Selectors/CustomSelector.d.ts +2 -2
  11. package/dist/components/Selectors/MailCategorySelectors.d.ts +2 -2
  12. package/dist/components/Selectors/QuestionCategorySelector.d.ts +2 -2
  13. package/dist/components/Selectors/QuestionTypeSelector.d.ts +2 -2
  14. package/dist/components/Selectors/StarRatingSelector.d.ts +2 -2
  15. package/dist/components/Selectors/SuggestionCategorySelector.d.ts +2 -2
  16. package/dist/components/Tabs/CustomTab.d.ts +2 -2
  17. package/dist/containers/Login/views/Dashboard.d.ts +2 -2
  18. package/dist/containers/Login/views/Login.d.ts +2 -2
  19. package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +2 -2
  20. package/dist/containers/Login/views/block/BlockResetPassword.d.ts +2 -2
  21. package/dist/containers/Login/views/block/BlockTwoFactorLogin.d.ts +2 -2
  22. package/dist/containers/Login/views/block/QuoteContent.d.ts +2 -2
  23. package/dist/containers/Notifications/views/NotificationList.d.ts +2 -2
  24. package/dist/containers/Skill/components/SkillSelector.d.ts +2 -2
  25. package/dist/containers/User/views/UserDetail.d.ts +2 -2
  26. package/dist/containers/User/views/UserList.d.ts +2 -2
  27. package/dist/index.css +3 -3
  28. package/dist/index.js +107 -51
  29. package/dist/index.js.map +1 -1
  30. package/dist/index.modern.js +107 -51
  31. package/dist/index.modern.js.map +1 -1
  32. package/dist/layouts/TheContent.d.ts +1 -1
  33. package/dist/layouts/TheFooter.d.ts +1 -1
  34. package/dist/layouts/TheHeader.d.ts +2 -2
  35. package/dist/layouts/TheHeaderDropdown.d.ts +2 -2
  36. package/dist/layouts/TheLanguageDropdown.d.ts +2 -2
  37. package/dist/layouts/TheLayout.d.ts +2 -2
  38. package/dist/layouts/TheSidebar.d.ts +2 -2
  39. package/dist/redux/assessments/reducer.d.ts +2 -2
  40. package/dist/redux/assignment/reducer.d.ts +1 -1
  41. package/dist/redux/assistants/reducer.d.ts +1 -1
  42. package/dist/redux/badges/reducer.d.ts +1 -1
  43. package/dist/redux/bandScores/reducer.d.ts +1 -1
  44. package/dist/redux/certificate/reducer.d.ts +1 -1
  45. package/dist/redux/classes/reducer.d.ts +1 -1
  46. package/dist/redux/commons/reducer.d.ts +1 -1
  47. package/dist/redux/conferenceRubrics/reducer.d.ts +1 -1
  48. package/dist/redux/customAlert/reducer.d.ts +1 -1
  49. package/dist/redux/dashboard/reducer.d.ts +1 -1
  50. package/dist/redux/dataPlayer/reducer.d.ts +1 -1
  51. package/dist/redux/emailTemplates/reducer.d.ts +1 -1
  52. package/dist/redux/faqs/reducer.d.ts +1 -1
  53. package/dist/redux/feedback/reducer.d.ts +1 -1
  54. package/dist/redux/gallery/reducer.d.ts +1 -1
  55. package/dist/redux/goalExamples/reducer.d.ts +1 -1
  56. package/dist/redux/improveMyClass/reducer.d.ts +1 -1
  57. package/dist/redux/learningStrategies/reducer.d.ts +1 -1
  58. package/dist/redux/learningSupportCategories/reducer.d.ts +1 -1
  59. package/dist/redux/mailCategories/reducer.d.ts +1 -1
  60. package/dist/redux/navMobile/reducer.d.ts +1 -1
  61. package/dist/redux/notifications/reducer.d.ts +1 -1
  62. package/dist/redux/questionBanks/reducer.d.ts +1 -1
  63. package/dist/redux/questionByCategory/reducer.d.ts +1 -1
  64. package/dist/redux/questionCategory/reducer.d.ts +1 -1
  65. package/dist/redux/reflectionForms/reducer.d.ts +1 -1
  66. package/dist/redux/reflectionResults/reducer.d.ts +1 -1
  67. package/dist/redux/schoolBlankDays/reducer.d.ts +1 -1
  68. package/dist/redux/semester/reducer.d.ts +1 -1
  69. package/dist/redux/sessionPlayers/reducer.d.ts +1 -1
  70. package/dist/redux/sessionTemplateGeneralClasses/reducer.d.ts +1 -1
  71. package/dist/redux/sessionTemplates/reducer.d.ts +1 -1
  72. package/dist/redux/skills/reducer.d.ts +1 -1
  73. package/dist/redux/subjects/reducer.d.ts +1 -1
  74. package/dist/redux/suggestionBanks/reducer.d.ts +1 -1
  75. package/dist/redux/teacher/myStudent/reducer.d.ts +1 -1
  76. package/dist/redux/tutorialScreen/reducer.d.ts +2 -2
  77. package/dist/redux/users/reducer.d.ts +1 -1
  78. package/dist/redux/widget/reducer.d.ts +1 -1
  79. package/package.json +2 -2
  80. package/dist/containers/Login/constant/type.d.ts +0 -5
  81. package/dist/containers/Login/views/ModelSelectRole.d.ts +0 -4
  82. package/dist/utils/amplitude.d.ts +0 -1
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import "react-notifications-component/dist/theme.css";
3
- declare const _default: () => JSX.Element;
3
+ declare const _default: () => React.JSX.Element;
4
4
  export default _default;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const UploadImage: () => JSX.Element;
1
+ import React from "react";
2
+ declare const UploadImage: () => React.JSX.Element;
3
3
  export default UploadImage;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const NotificationLogoutModal: () => JSX.Element;
1
+ import React from "react";
2
+ declare const NotificationLogoutModal: () => React.JSX.Element;
3
3
  export default NotificationLogoutModal;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const NotificationModal: () => JSX.Element;
1
+ import React from "react";
2
+ declare const NotificationModal: () => React.JSX.Element;
3
3
  export default NotificationModal;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export default function QuitPrompt(props: any): JSX.Element;
1
+ import React from "react";
2
+ export default function QuitPrompt(props: any): React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const CustomPagination: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const CustomPagination: (props: any) => React.JSX.Element;
3
3
  export default CustomPagination;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const AcademicClassSelector: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const AcademicClassSelector: (props: any) => React.JSX.Element;
3
3
  export default AcademicClassSelector;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const CategorySelector: ({ value, ...rest }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const CategorySelector: ({ value, ...rest }: any) => React.JSX.Element;
3
3
  export default CategorySelector;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const CreatableSelector: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const CreatableSelector: (props: any) => React.JSX.Element;
3
3
  export default CreatableSelector;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const CustomSelector: ({ defaultValue, options, isDisabled, scrollBottom, ...rest }: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const CustomSelector: ({ defaultValue, options, isDisabled, scrollBottom, ...rest }: any) => React.JSX.Element;
3
3
  export default CustomSelector;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const MailCategorySelector: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const MailCategorySelector: (props: any) => React.JSX.Element;
3
3
  export default MailCategorySelector;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const QuestionCategorySelector: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const QuestionCategorySelector: (props: any) => React.JSX.Element;
3
3
  export default QuestionCategorySelector;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const QuestionTypeSelector: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const QuestionTypeSelector: (props: any) => React.JSX.Element;
3
3
  export default QuestionTypeSelector;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const StarRatingSelector: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const StarRatingSelector: (props: any) => React.JSX.Element;
3
3
  export default StarRatingSelector;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const SuggestionCategorySelector: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const SuggestionCategorySelector: (props: any) => React.JSX.Element;
3
3
  export default SuggestionCategorySelector;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const CustomTabs: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const CustomTabs: (props: any) => React.JSX.Element;
3
3
  export default CustomTabs;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const Dashboard: () => JSX.Element;
1
+ import React from "react";
2
+ declare const Dashboard: () => React.JSX.Element;
3
3
  export default Dashboard;
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  interface loginProps {
3
3
  isLogin?: boolean;
4
4
  isForgotPassword?: boolean;
5
5
  isResetPassword?: boolean;
6
6
  isLoginTwoFactor?: boolean;
7
7
  }
8
- declare const Login: (props: loginProps) => JSX.Element;
8
+ declare const Login: (props: loginProps) => React.JSX.Element;
9
9
  export default Login;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const BlockForgetPassword: () => JSX.Element;
1
+ import React from "react";
2
+ declare const BlockForgetPassword: () => React.JSX.Element;
3
3
  export default BlockForgetPassword;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const BlockResetPassword: () => JSX.Element;
1
+ import React from "react";
2
+ declare const BlockResetPassword: () => React.JSX.Element;
3
3
  export default BlockResetPassword;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const BlockTwoFactorLogin: () => JSX.Element;
1
+ import React from "react";
2
+ declare const BlockTwoFactorLogin: () => React.JSX.Element;
3
3
  export default BlockTwoFactorLogin;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const QuoteContent: () => JSX.Element;
1
+ import React from "react";
2
+ declare const QuoteContent: () => React.JSX.Element;
3
3
  export default QuoteContent;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const NotificationList: () => JSX.Element;
1
+ import React from "react";
2
+ declare const NotificationList: () => React.JSX.Element;
3
3
  export default NotificationList;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const SkillSelector: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const SkillSelector: (props: any) => React.JSX.Element;
3
3
  export default SkillSelector;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const UserDetail: () => JSX.Element;
1
+ import React from "react";
2
+ declare const UserDetail: () => React.JSX.Element;
3
3
  export default UserDetail;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const UserList: () => JSX.Element;
1
+ import React from "react";
2
+ declare const UserList: () => React.JSX.Element;
3
3
  export default UserList;
package/dist/index.css CHANGED
@@ -299,13 +299,13 @@
299
299
  @keyframes _wnn2_ {
300
300
  0% {
301
301
  opacity: 0;
302
- background-image: url("/images/landing-page.jpg"); }
302
+ background-image: url("~/public/images/landing-page.jpg"); }
303
303
  50% {
304
304
  opacity: 1;
305
- background-image: url("/images/landing-page2.jpg"); }
305
+ background-image: url("~/public/images/landing-page2.jpg"); }
306
306
  100% {
307
307
  opacity: 2;
308
- background-image: url("/images/landing-page3.jpg"); } }
308
+ background-image: url("~/public/images/landing-page3.jpg"); } }
309
309
 
310
310
  ._F-hjL {
311
311
  background-color: #336dda;
package/dist/index.js CHANGED
@@ -34,7 +34,6 @@ var Creatable = _interopDefault(require('react-select/creatable'));
34
34
  var ReactNotification$1 = _interopDefault(require('react-notifications-component'));
35
35
  require('react-notifications-component/dist/theme.css');
36
36
  var ai = require('react-icons/ai');
37
- require('symbol-observable');
38
37
 
39
38
  var dashboard = "Dashboard";
40
39
  var user = "User";
@@ -609,9 +608,10 @@ var share_survey = "Share Survey";
609
608
  var new_survey = "New Survey";
610
609
  var assign_counselor = "Assign Counselor";
611
610
  var select_counselor = "Select Counselor";
612
- var select_secondary_teacher = "Select Secondary Teacher";
613
- var assign_secondary_teacher = "Assign Secondary Teacher";
614
- var secondary_teacher_name = "Secondary Teacher Name";
611
+ var select_support_teacher = "Select Support Teacher";
612
+ var assign_support_teacher = "Assign Support Teacher";
613
+ var switch_support_teacher = "Switch Support Teacher";
614
+ var support_teacher_name = "Support Teacher Name";
615
615
  var user_for_question = "User For Question";
616
616
  var requested_reflection = "Requested Reflection";
617
617
  var request_class_reflection = "Request Class Reflection";
@@ -622,10 +622,10 @@ var remove_counselor = "Remove Counselor";
622
622
  var current_counselor_email = "Current Counselor Email";
623
623
  var current_counselor_name = "Current Counselor Name";
624
624
  var select_counselor_change = "Select Counselor Change";
625
- var current_secondary_teacher_name = "Current Secondary Teacher Name";
626
- var current_secondary_teacher_email = "Current Secondary Teacher Email";
627
- var remove_secondary_teacher = "Remove Secondary Teacher";
628
- var select_secondary_teacher_change = "Select Secondary Teacher Change";
625
+ var current_support_teacher_name = "Current Support Teacher Name";
626
+ var current_support_teacher_email = "Current Support Teacher Email";
627
+ var remove_support_teacher = "Remove Support Teacher";
628
+ var select_support_teacher_change = "Select Support Teacher Change";
629
629
  var filter_calendar = "Filter calendar";
630
630
  var average_student_safety = "Average Student Safety";
631
631
  var is_active = "Is Active";
@@ -1277,9 +1277,10 @@ var lang_us = {
1277
1277
  new_survey: new_survey,
1278
1278
  assign_counselor: assign_counselor,
1279
1279
  select_counselor: select_counselor,
1280
- select_secondary_teacher: select_secondary_teacher,
1281
- assign_secondary_teacher: assign_secondary_teacher,
1282
- secondary_teacher_name: secondary_teacher_name,
1280
+ select_support_teacher: select_support_teacher,
1281
+ assign_support_teacher: assign_support_teacher,
1282
+ switch_support_teacher: switch_support_teacher,
1283
+ support_teacher_name: support_teacher_name,
1283
1284
  user_for_question: user_for_question,
1284
1285
  requested_reflection: requested_reflection,
1285
1286
  request_class_reflection: request_class_reflection,
@@ -1290,10 +1291,10 @@ var lang_us = {
1290
1291
  current_counselor_email: current_counselor_email,
1291
1292
  current_counselor_name: current_counselor_name,
1292
1293
  select_counselor_change: select_counselor_change,
1293
- current_secondary_teacher_name: current_secondary_teacher_name,
1294
- current_secondary_teacher_email: current_secondary_teacher_email,
1295
- remove_secondary_teacher: remove_secondary_teacher,
1296
- select_secondary_teacher_change: select_secondary_teacher_change,
1294
+ current_support_teacher_name: current_support_teacher_name,
1295
+ current_support_teacher_email: current_support_teacher_email,
1296
+ remove_support_teacher: remove_support_teacher,
1297
+ select_support_teacher_change: select_support_teacher_change,
1297
1298
  filter_calendar: filter_calendar,
1298
1299
  average_student_safety: average_student_safety,
1299
1300
  is_active: is_active,
@@ -1945,9 +1946,10 @@ var share_survey$1 = "Share Survey";
1945
1946
  var new_survey$1 = "New Survey";
1946
1947
  var assign_counselor$1 = "Assign Counselor";
1947
1948
  var select_counselor$1 = "Select Counselor";
1948
- var select_secondary_teacher$1 = "Select Secondary Teacher";
1949
- var assign_secondary_teacher$1 = "Assign Secondary Teacher";
1950
- var secondary_teacher_name$1 = "Secondary Teacher Name";
1949
+ var select_support_teacher$1 = "Select Support Teacher";
1950
+ var assign_support_teacher$1 = "Assign Support Teacher";
1951
+ var switch_support_teacher$1 = "Switch Support Teacher";
1952
+ var support_teacher_name$1 = "Support Teacher Name";
1951
1953
  var user_for_question$1 = "User For Question";
1952
1954
  var requested_reflection$1 = "Requested Reflection";
1953
1955
  var request_class_reflection$1 = "Request Class Reflection";
@@ -1958,10 +1960,10 @@ var remove_counselor$1 = "Remove Counselor";
1958
1960
  var current_counselor_email$1 = "Current Counselor Email";
1959
1961
  var current_counselor_name$1 = "Current Counselor Name";
1960
1962
  var select_counselor_change$1 = "Select Counselor Change";
1961
- var current_secondary_teacher_name$1 = "Current Secondary Teacher Name";
1962
- var current_secondary_teacher_email$1 = "Current Secondary Teacher Email";
1963
- var remove_secondary_teacher$1 = "Remove Secondary Teacher";
1964
- var select_secondary_teacher_change$1 = "Select Secondary Teacher Change";
1963
+ var current_support_teacher_name$1 = "Current Support Teacher Name";
1964
+ var current_support_teacher_email$1 = "Current Support Teacher Email";
1965
+ var remove_support_teacher$1 = "Remove Support Teacher";
1966
+ var select_support_teacher_change$1 = "Select Support Teacher Change";
1965
1967
  var filter_calendar$1 = "Filter calendar";
1966
1968
  var average_student_safety$1 = "Average Student Safety";
1967
1969
  var is_active$1 = "Is Active";
@@ -2613,9 +2615,10 @@ var lang_uk = {
2613
2615
  new_survey: new_survey$1,
2614
2616
  assign_counselor: assign_counselor$1,
2615
2617
  select_counselor: select_counselor$1,
2616
- select_secondary_teacher: select_secondary_teacher$1,
2617
- assign_secondary_teacher: assign_secondary_teacher$1,
2618
- secondary_teacher_name: secondary_teacher_name$1,
2618
+ select_support_teacher: select_support_teacher$1,
2619
+ assign_support_teacher: assign_support_teacher$1,
2620
+ switch_support_teacher: switch_support_teacher$1,
2621
+ support_teacher_name: support_teacher_name$1,
2619
2622
  user_for_question: user_for_question$1,
2620
2623
  requested_reflection: requested_reflection$1,
2621
2624
  request_class_reflection: request_class_reflection$1,
@@ -2626,10 +2629,10 @@ var lang_uk = {
2626
2629
  current_counselor_email: current_counselor_email$1,
2627
2630
  current_counselor_name: current_counselor_name$1,
2628
2631
  select_counselor_change: select_counselor_change$1,
2629
- current_secondary_teacher_name: current_secondary_teacher_name$1,
2630
- current_secondary_teacher_email: current_secondary_teacher_email$1,
2631
- remove_secondary_teacher: remove_secondary_teacher$1,
2632
- select_secondary_teacher_change: select_secondary_teacher_change$1,
2632
+ current_support_teacher_name: current_support_teacher_name$1,
2633
+ current_support_teacher_email: current_support_teacher_email$1,
2634
+ remove_support_teacher: remove_support_teacher$1,
2635
+ select_support_teacher_change: select_support_teacher_change$1,
2633
2636
  filter_calendar: filter_calendar$1,
2634
2637
  average_student_safety: average_student_safety$1,
2635
2638
  is_active: is_active$1,
@@ -9191,6 +9194,17 @@ var reduxLogger = createCommonjsModule(function (module, exports) {
9191
9194
 
9192
9195
  var logger = unwrapExports(reduxLogger);
9193
9196
 
9197
+ /**
9198
+ * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js
9199
+ *
9200
+ * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes
9201
+ * during build.
9202
+ * @param {number} code
9203
+ */
9204
+ function formatProdErrorMessage(code) {
9205
+ return "Minified Redux error #" + code + "; visit https://redux.js.org/Errors?code=" + code + " for the full message or " + 'use the non-minified dev environment for full errors. ';
9206
+ }
9207
+
9194
9208
  /**
9195
9209
  * These are private action types reserved by Redux.
9196
9210
  * For any unknown actions, you must return the current state.
@@ -9224,6 +9238,65 @@ function isPlainObject(obj) {
9224
9238
  return Object.getPrototypeOf(obj) === proto;
9225
9239
  }
9226
9240
 
9241
+ // Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of
9242
+ function miniKindOf(val) {
9243
+ if (val === void 0) return 'undefined';
9244
+ if (val === null) return 'null';
9245
+ var type = typeof val;
9246
+
9247
+ switch (type) {
9248
+ case 'boolean':
9249
+ case 'string':
9250
+ case 'number':
9251
+ case 'symbol':
9252
+ case 'function':
9253
+ {
9254
+ return type;
9255
+ }
9256
+ }
9257
+
9258
+ if (Array.isArray(val)) return 'array';
9259
+ if (isDate(val)) return 'date';
9260
+ if (isError(val)) return 'error';
9261
+ var constructorName = ctorName(val);
9262
+
9263
+ switch (constructorName) {
9264
+ case 'Symbol':
9265
+ case 'Promise':
9266
+ case 'WeakMap':
9267
+ case 'WeakSet':
9268
+ case 'Map':
9269
+ case 'Set':
9270
+ return constructorName;
9271
+ } // other
9272
+
9273
+
9274
+ return type.slice(8, -1).toLowerCase().replace(/\s/g, '');
9275
+ }
9276
+
9277
+ function ctorName(val) {
9278
+ return typeof val.constructor === 'function' ? val.constructor.name : null;
9279
+ }
9280
+
9281
+ function isError(val) {
9282
+ return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';
9283
+ }
9284
+
9285
+ function isDate(val) {
9286
+ if (val instanceof Date) return true;
9287
+ return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';
9288
+ }
9289
+
9290
+ function kindOf(val) {
9291
+ var typeOfVal = typeof val;
9292
+
9293
+ if (process.env.NODE_ENV !== 'production') {
9294
+ typeOfVal = miniKindOf(val);
9295
+ }
9296
+
9297
+ return typeOfVal;
9298
+ }
9299
+
9227
9300
  /**
9228
9301
  * Prints a warning in the console if it exists.
9229
9302
  *
@@ -9247,12 +9320,6 @@ function warning(message) {
9247
9320
 
9248
9321
  }
9249
9322
 
9250
- function getUndefinedStateErrorMessage(key, action) {
9251
- var actionType = action && action.type;
9252
- var actionDescription = actionType && "action \"" + String(actionType) + "\"" || 'an action';
9253
- return "Given " + actionDescription + ", reducer \"" + key + "\" returned undefined. " + "To ignore an action, you must explicitly return the previous state. " + "If you want this reducer to hold no value, you can return null instead of undefined.";
9254
- }
9255
-
9256
9323
  function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {
9257
9324
  var reducerKeys = Object.keys(reducers);
9258
9325
  var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';
@@ -9262,7 +9329,7 @@ function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, une
9262
9329
  }
9263
9330
 
9264
9331
  if (!isPlainObject(inputState)) {
9265
- return "The " + argumentName + " has unexpected type of \"" + {}.toString.call(inputState).match(/\s([a-z|A-Z]+)/)[1] + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\"");
9332
+ return "The " + argumentName + " has unexpected type of \"" + kindOf(inputState) + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\"");
9266
9333
  }
9267
9334
 
9268
9335
  var unexpectedKeys = Object.keys(inputState).filter(function (key) {
@@ -9286,13 +9353,13 @@ function assertReducerShape(reducers) {
9286
9353
  });
9287
9354
 
9288
9355
  if (typeof initialState === 'undefined') {
9289
- throw new Error("Reducer \"" + key + "\" returned undefined during initialization. " + "If the state passed to the reducer is undefined, you must " + "explicitly return the initial state. The initial state may " + "not be undefined. If you don't want to set a value for this reducer, " + "you can use null instead of undefined.");
9356
+ throw new Error(process.env.NODE_ENV === "production" ? formatProdErrorMessage(12) : "The slice reducer for key \"" + key + "\" returned undefined during initialization. " + "If the state passed to the reducer is undefined, you must " + "explicitly return the initial state. The initial state may " + "not be undefined. If you don't want to set a value for this reducer, " + "you can use null instead of undefined.");
9290
9357
  }
9291
9358
 
9292
9359
  if (typeof reducer(undefined, {
9293
9360
  type: ActionTypes.PROBE_UNKNOWN_ACTION()
9294
9361
  }) === 'undefined') {
9295
- throw new Error("Reducer \"" + key + "\" returned undefined when probed with a random type. " + ("Don't try to handle " + ActionTypes.INIT + " or other actions in \"redux/*\" ") + "namespace. They are considered private. Instead, you must return the " + "current state for any unknown actions, unless it is undefined, " + "in which case you must return the initial state, regardless of the " + "action type. The initial state may not be undefined, but can be null.");
9362
+ throw new Error(process.env.NODE_ENV === "production" ? formatProdErrorMessage(13) : "The slice reducer for key \"" + key + "\" returned undefined when probed with a random type. " + ("Don't try to handle '" + ActionTypes.INIT + "' or other actions in \"redux/*\" ") + "namespace. They are considered private. Instead, you must return the " + "current state for any unknown actions, unless it is undefined, " + "in which case you must return the initial state, regardless of the " + "action type. The initial state may not be undefined, but can be null.");
9296
9363
  }
9297
9364
  });
9298
9365
  }
@@ -9376,8 +9443,8 @@ function combineReducers(reducers) {
9376
9443
  var nextStateForKey = reducer(previousStateForKey, action);
9377
9444
 
9378
9445
  if (typeof nextStateForKey === 'undefined') {
9379
- var errorMessage = getUndefinedStateErrorMessage(_key, action);
9380
- throw new Error(errorMessage);
9446
+ var actionType = action && action.type;
9447
+ throw new Error(process.env.NODE_ENV === "production" ? formatProdErrorMessage(14) : "When called with an action of type " + (actionType ? "\"" + String(actionType) + "\"" : '(unknown type)') + ", the slice reducer for key \"" + _key + "\" returned undefined. " + "To ignore an action, you must explicitly return the previous state. " + "If you want this reducer to hold no value, you can return null instead of undefined.");
9381
9448
  }
9382
9449
 
9383
9450
  nextState[_key] = nextStateForKey;
@@ -9389,17 +9456,6 @@ function combineReducers(reducers) {
9389
9456
  };
9390
9457
  }
9391
9458
 
9392
- /*
9393
- * This is a dummy function to check if the function name has been altered by minification.
9394
- * If the function has been minified and NODE_ENV !== 'production', warn the user.
9395
- */
9396
-
9397
- function isCrushed() {}
9398
-
9399
- if (process.env.NODE_ENV !== 'production' && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {
9400
- warning('You are currently using minified code outside of NODE_ENV === "production". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.');
9401
- }
9402
-
9403
9459
  var _localStorage$getItem;
9404
9460
  var initialState = {
9405
9461
  sidebarShow: "responsive",