@teselagen/ove 0.5.10 → 0.5.12

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 (317) hide show
  1. package/AlignmentTool/index.d.ts +6 -0
  2. package/AlignmentView/AlignmentVisibilityTool.d.ts +2 -0
  3. package/AlignmentView/EditTrackNameDialog.d.ts +1 -0
  4. package/AlignmentView/HorizontalPanelDragHandle.d.ts +3 -0
  5. package/AlignmentView/Minimap.d.ts +63 -0
  6. package/AlignmentView/Mismatches.d.ts +20 -0
  7. package/AlignmentView/PairwiseAlignmentView.d.ts +9 -0
  8. package/AlignmentView/PerformantSelectionLayer.d.ts +1 -0
  9. package/AlignmentView/coerceInitialValue.d.ts +4 -0
  10. package/AlignmentView/getGapMap.d.ts +1 -0
  11. package/AlignmentView/getGaps.d.ts +4 -0
  12. package/AlignmentView/getPairwiseOverviewLinearViewOptions.d.ts +22 -0
  13. package/AlignmentView/getTrackFromEvent.d.ts +1 -0
  14. package/AlignmentView/index.d.ts +107 -0
  15. package/AlignmentView/isTargetWithinEl.d.ts +1 -0
  16. package/AlignmentView/updateTrackHelper.d.ts +10 -0
  17. package/AutoAnnotate.d.ts +4 -0
  18. package/AutoAnnotateBpMatchingDialog.d.ts +1 -0
  19. package/CircularView/Axis.d.ts +12 -0
  20. package/CircularView/AxisNumbers.d.ts +7 -0
  21. package/CircularView/Caret.d.ts +2 -0
  22. package/CircularView/CircularDnaSequence.d.ts +10 -0
  23. package/CircularView/CircularZoomMinimap.d.ts +4 -0
  24. package/CircularView/Cutsite.d.ts +4 -0
  25. package/CircularView/Cutsites.d.ts +18 -0
  26. package/CircularView/DeletionLayer.d.ts +8 -0
  27. package/CircularView/Feature.d.ts +1 -0
  28. package/CircularView/Labels/index.d.ts +22 -0
  29. package/CircularView/Labels/relaxLabelAngles.d.ts +2 -0
  30. package/CircularView/Labels/relaxLabels_DEPRECATED.d.ts +1 -0
  31. package/CircularView/Orf.d.ts +6 -0
  32. package/CircularView/Part.d.ts +9 -0
  33. package/CircularView/PositionAnnotationOnCircle.d.ts +12 -0
  34. package/CircularView/Primer.d.ts +1 -0
  35. package/CircularView/RotateCircularViewSlider.d.ts +7 -0
  36. package/CircularView/SelectionLayer.d.ts +2 -0
  37. package/CircularView/VeTopRightContainer.d.ts +4 -0
  38. package/CircularView/ZoomCircularViewSlider.d.ts +8 -0
  39. package/CircularView/drawAnnotations.d.ts +10 -0
  40. package/CircularView/drawDirectedPiePiece.d.ts +11 -0
  41. package/CircularView/getAngleForPositionMidpoint.d.ts +1 -0
  42. package/CircularView/getInternalLabel.d.ts +11 -0
  43. package/CircularView/getRangeAnglesSpecial.d.ts +7 -0
  44. package/CircularView/getYOffset.d.ts +1 -0
  45. package/CircularView/index.d.ts +20 -0
  46. package/CircularView/normalizeAngle.d.ts +1 -0
  47. package/CircularView/normalizeAngleRange.d.ts +1 -0
  48. package/CircularView/positionCutsites.d.ts +4 -0
  49. package/CircularView/shouldFlipText.d.ts +1 -0
  50. package/CircularView/utils/polarToSpecialCartesian.d.ts +4 -0
  51. package/CreateAnnotationsPage.d.ts +10 -0
  52. package/CreateCustomEnzyme/index.d.ts +2 -0
  53. package/CutsiteFilter/AdditionalCutsiteInfoDialog.d.ts +29 -0
  54. package/CutsiteFilter/index.d.ts +3 -0
  55. package/CutsiteFilter/withRestrictionEnzymes.d.ts +1 -0
  56. package/DigestTool/AddLaddersDialog.d.ts +1 -0
  57. package/DigestTool/DigestTool.d.ts +11 -0
  58. package/DigestTool/Ladder.d.ts +11 -0
  59. package/DigestTool/createFragmentLines.d.ts +0 -0
  60. package/DigestTool/ladderDefaults.d.ts +5 -0
  61. package/Editor/CommandHotkeyHandler.d.ts +2 -0
  62. package/Editor/DropHandler.d.ts +7 -0
  63. package/Editor/FillWindow.d.ts +9 -0
  64. package/Editor/index.d.ts +41 -0
  65. package/Editor/userDefinedHandlersAndOpts.d.ts +1 -0
  66. package/EnzymeViewer/index.d.ts +11 -0
  67. package/FindBar/index.d.ts +12 -0
  68. package/GlobalDialog.d.ts +1 -0
  69. package/GlobalDialogUtils.d.ts +12 -0
  70. package/LinearView/SequenceName.d.ts +5 -0
  71. package/LinearView/ZoomLinearView.d.ts +7 -0
  72. package/LinearView/index.d.ts +5 -0
  73. package/ManageEnzymes/index.d.ts +2 -0
  74. package/MenuBar/defaultConfig.d.ts +225 -0
  75. package/MenuBar/index.d.ts +2 -0
  76. package/MenuBar/viewSubmenu.d.ts +146 -0
  77. package/PCRTool/PCRTool.d.ts +2 -0
  78. package/Reflex/Browser.d.ts +19 -0
  79. package/Reflex/ReflexContainer.d.ts +63 -0
  80. package/Reflex/ReflexElement.d.ts +33 -0
  81. package/Reflex/ReflexEvents.d.ts +7 -0
  82. package/Reflex/ReflexSplitter.d.ts +33 -0
  83. package/Reflex/index.d.ts +4 -0
  84. package/RowItem/AnnotationContainerHolder.d.ts +2 -0
  85. package/RowItem/AnnotationPositioner.d.ts +7 -0
  86. package/RowItem/Axis.d.ts +2 -0
  87. package/RowItem/Caret/index.d.ts +2 -0
  88. package/RowItem/Chromatograms/Chromatogram.d.ts +1 -0
  89. package/RowItem/CutsiteSelectionLayers.d.ts +4 -0
  90. package/RowItem/Cutsites.d.ts +2 -0
  91. package/RowItem/DeletionLayers/index.d.ts +2 -0
  92. package/RowItem/Labels.d.ts +2 -0
  93. package/RowItem/Orf.d.ts +2 -0
  94. package/RowItem/Orfs.d.ts +2 -0
  95. package/RowItem/SelectionLayer/index.d.ts +2 -0
  96. package/RowItem/Sequence.d.ts +8 -0
  97. package/RowItem/StackedAnnotations/PointedAnnotation.d.ts +2 -0
  98. package/RowItem/StackedAnnotations/getStructuredBases.d.ts +17 -0
  99. package/RowItem/StackedAnnotations/index.d.ts +2 -0
  100. package/RowItem/StackedAnnotations/primerBases.d.ts +10 -0
  101. package/RowItem/Translations/AASliver.d.ts +2 -0
  102. package/RowItem/Translations/Translation.d.ts +2 -0
  103. package/RowItem/Translations/index.d.ts +2 -0
  104. package/RowItem/constants.d.ts +3 -0
  105. package/RowItem/getCutsiteLabelHeights.d.ts +8 -0
  106. package/RowItem/getXStartAndWidthFromNonCircularRange.d.ts +4 -0
  107. package/RowItem/getXStartAndWidthOfRangeWrtRow.d.ts +11 -0
  108. package/RowItem/getXStartAndWidthOfRowAnnotation.d.ts +6 -0
  109. package/RowItem/index.d.ts +1 -0
  110. package/RowItem/partOverhangs.d.ts +1 -0
  111. package/RowItem/utils.d.ts +4 -0
  112. package/RowView/estimateRowHeight.d.ts +6 -0
  113. package/RowView/index.d.ts +10 -0
  114. package/SimpleCircularOrLinearView.d.ts +2 -0
  115. package/SimpleOligoPreview.d.ts +7 -0
  116. package/StatusBar/MeltingTemp.d.ts +5 -0
  117. package/StatusBar/index.d.ts +15 -0
  118. package/ToolBar/ToolbarItem.d.ts +14 -0
  119. package/ToolBar/alignmentTool.d.ts +6 -0
  120. package/ToolBar/array_move.d.ts +1 -0
  121. package/ToolBar/cutsiteTool.d.ts +5 -0
  122. package/ToolBar/downloadTool.d.ts +5 -0
  123. package/ToolBar/editTool.d.ts +10 -0
  124. package/ToolBar/featureTool.d.ts +5 -0
  125. package/ToolBar/findTool.d.ts +2 -0
  126. package/ToolBar/importTool.d.ts +2 -0
  127. package/ToolBar/index.d.ts +2 -0
  128. package/ToolBar/inlineFindTool.d.ts +5 -0
  129. package/ToolBar/oligoTool.d.ts +5 -0
  130. package/ToolBar/orfTool.d.ts +5 -0
  131. package/ToolBar/partTool.d.ts +5 -0
  132. package/ToolBar/printTool.d.ts +6 -0
  133. package/ToolBar/redoTool.d.ts +5 -0
  134. package/ToolBar/saveTool.d.ts +5 -0
  135. package/ToolBar/undoTool.d.ts +5 -0
  136. package/ToolBar/versionHistoryTool.d.ts +5 -0
  137. package/ToolBar/visibilityTool.d.ts +5 -0
  138. package/VersionHistoryView/index.d.ts +23 -0
  139. package/addAlignment.d.ts +1 -0
  140. package/commands/getOveHotkeyDefs.d.ts +4 -0
  141. package/commands/index.d.ts +648 -0
  142. package/constants/constants.d.ts +2 -0
  143. package/constants/dnaToColor.d.ts +8 -0
  144. package/constants/draggableClassnames.d.ts +6 -0
  145. package/constants/findToolConstants.d.ts +1 -0
  146. package/constants/orfFrameToColorMap.d.ts +7 -0
  147. package/constants/rowviewContants.d.ts +3 -0
  148. package/constants/specialCutsiteFilterOptions.d.ts +31 -0
  149. package/constants.d.ts +1 -0
  150. package/createVectorEditor/index.d.ts +21 -0
  151. package/createVectorEditor/makeStore.d.ts +2 -0
  152. package/fileUtils.d.ts +12 -0
  153. package/helperComponents/AddOrEditAnnotationDialog/index.d.ts +6 -0
  154. package/helperComponents/AddOrEditFeatureDialog/index.d.ts +2 -0
  155. package/helperComponents/AddOrEditPartDialog/index.d.ts +2 -0
  156. package/helperComponents/AddOrEditPrimerDialog/EditCaretPosition.d.ts +15 -0
  157. package/helperComponents/AddOrEditPrimerDialog/index.d.ts +2 -0
  158. package/helperComponents/EnzymesDialog/index.d.ts +2 -0
  159. package/helperComponents/GoToDialog.d.ts +2 -0
  160. package/helperComponents/MergeFeaturesDialog/index.d.ts +2 -0
  161. package/helperComponents/MultipleSeqsDetectedOnImportDialog.d.ts +1 -0
  162. package/helperComponents/PinchHelper/PinchHelper.d.ts +6 -0
  163. package/helperComponents/PrintDialog/index.d.ts +2 -0
  164. package/helperComponents/PropertiesDialog/ColorPicker.d.ts +6 -0
  165. package/helperComponents/PropertiesDialog/CutsiteProperties.d.ts +2 -0
  166. package/helperComponents/PropertiesDialog/FeatureProperties.d.ts +2 -0
  167. package/helperComponents/PropertiesDialog/GenbankView.d.ts +2 -0
  168. package/helperComponents/PropertiesDialog/GeneralProperties.d.ts +2 -0
  169. package/helperComponents/PropertiesDialog/GenericAnnotationProperties.d.ts +10 -0
  170. package/helperComponents/PropertiesDialog/OrfProperties.d.ts +2 -0
  171. package/helperComponents/PropertiesDialog/PartProperties.d.ts +2 -0
  172. package/helperComponents/PropertiesDialog/PrimerProperties.d.ts +2 -0
  173. package/helperComponents/PropertiesDialog/SingleEnzymeCutsiteInfo.d.ts +12 -0
  174. package/helperComponents/PropertiesDialog/TranslationProperties.d.ts +2 -0
  175. package/helperComponents/PropertiesDialog/index.d.ts +10 -0
  176. package/helperComponents/PropertiesDialog/typeField.d.ts +7 -0
  177. package/helperComponents/PropertiesDialog/utils.d.ts +5 -0
  178. package/helperComponents/RemoveDuplicates/index.d.ts +2 -0
  179. package/helperComponents/RenameSequenceDialog.d.ts +2 -0
  180. package/helperComponents/SelectDialog.d.ts +2 -0
  181. package/helperComponents/UncontrolledSliderWithPlusMinusBtns.d.ts +13 -0
  182. package/helperComponents/VeWarning/index.d.ts +2 -0
  183. package/helperComponents/createSimpleDialog.d.ts +1 -0
  184. package/helperComponents/partTagSearch.d.ts +1 -0
  185. package/helperComponents/withHover.d.ts +11 -0
  186. package/html2canvas.esm-GLpiTZLt.cjs +7891 -0
  187. package/html2canvas.esm-nFNn58sx.js +7891 -0
  188. package/index.cjs.js +508 -398
  189. package/index.d.ts +25 -0
  190. package/index.es.js +510 -400
  191. package/index.umd.js +1304 -326
  192. package/package.json +2 -2
  193. package/redux/alignments.d.ts +9 -0
  194. package/redux/annotationLabelVisibility.d.ts +8 -0
  195. package/redux/annotationVisibility.d.ts +45 -0
  196. package/redux/annotationsToSupport.d.ts +8 -0
  197. package/redux/caretPosition.d.ts +4 -0
  198. package/redux/charWidth.d.ts +3 -0
  199. package/redux/copyOptions.d.ts +14 -0
  200. package/redux/createYourOwnEnzyme.d.ts +11 -0
  201. package/redux/deletionLayers.d.ts +5 -0
  202. package/redux/digestTool.d.ts +7 -0
  203. package/redux/featureLengthsToHide.d.ts +7 -0
  204. package/redux/findTool.d.ts +12 -0
  205. package/redux/frameTranslations.d.ts +13 -0
  206. package/redux/hoveredAnnotation.d.ts +4 -0
  207. package/redux/index.d.ts +20 -0
  208. package/redux/labelLineIntensity.d.ts +3 -0
  209. package/redux/labelSize.d.ts +3 -0
  210. package/redux/lastSavedId.d.ts +3 -0
  211. package/redux/middleware.d.ts +2 -0
  212. package/redux/minimumOrfSize.d.ts +4 -0
  213. package/redux/modalActions.d.ts +0 -0
  214. package/redux/panelsShown.d.ts +21 -0
  215. package/redux/partLengthsToHide.d.ts +7 -0
  216. package/redux/primerLengthsToHide.d.ts +7 -0
  217. package/redux/propertiesTool.d.ts +6 -0
  218. package/redux/readOnly.d.ts +4 -0
  219. package/redux/replacementLayers.d.ts +5 -0
  220. package/redux/restrictionEnzymes.d.ts +13 -0
  221. package/redux/selectedAnnotations.d.ts +13 -0
  222. package/redux/selectedPartTags.d.ts +3 -0
  223. package/redux/selectionLayer.d.ts +7 -0
  224. package/redux/sequenceData/circular.d.ts +3 -0
  225. package/redux/sequenceData/description.d.ts +3 -0
  226. package/redux/sequenceData/features.d.ts +4 -0
  227. package/redux/sequenceData/index.d.ts +10 -0
  228. package/redux/sequenceData/lineageLines.d.ts +2 -0
  229. package/redux/sequenceData/materiallyAvailable.d.ts +3 -0
  230. package/redux/sequenceData/name.d.ts +3 -0
  231. package/redux/sequenceData/parts.d.ts +4 -0
  232. package/redux/sequenceData/primers.d.ts +4 -0
  233. package/redux/sequenceData/sequence.d.ts +3 -0
  234. package/redux/sequenceData/sharedActionCreators.d.ts +0 -0
  235. package/redux/sequenceData/translations.d.ts +4 -0
  236. package/redux/sequenceData/upsertDeleteActionGenerator.d.ts +3 -0
  237. package/redux/sequenceDataHistory.d.ts +8 -0
  238. package/redux/showGCContent.d.ts +3 -0
  239. package/redux/toolBar.d.ts +6 -0
  240. package/redux/uppercaseSequenceMapFont.d.ts +3 -0
  241. package/redux/useAdditionalOrfStartCodons.d.ts +3 -0
  242. package/redux/utils/addDashesForMatchStartAndEndForTracks/index.d.ts +1 -0
  243. package/redux/utils/addMetaToActionCreators.d.ts +1 -0
  244. package/redux/utils/createMergedDefaultStateReducer.d.ts +4 -0
  245. package/redux/utils/createMetaAction.d.ts +1 -0
  246. package/redux/versionHistory.d.ts +5 -0
  247. package/selectors/annotationLabelVisibility.d.ts +2 -0
  248. package/selectors/annotationSearchSelector.d.ts +7 -0
  249. package/selectors/cdsFeaturesSelector.d.ts +6 -0
  250. package/selectors/circularSelector.d.ts +1 -0
  251. package/selectors/cutsiteLabelColorSelector.d.ts +6 -0
  252. package/selectors/cutsitesByRangeSelector.d.ts +0 -0
  253. package/selectors/cutsitesSelector.d.ts +14 -0
  254. package/selectors/editorSelector.d.ts +2 -0
  255. package/selectors/featuresSelector.d.ts +6 -0
  256. package/selectors/filteredCutsitesSelector.d.ts +6 -0
  257. package/selectors/filteredFeaturesSelector.d.ts +6 -0
  258. package/selectors/filteredPartsSelector.d.ts +6 -0
  259. package/selectors/filteredPrimersSelector.d.ts +6 -0
  260. package/selectors/filteredRestrictionEnzymesSelector.d.ts +2 -0
  261. package/selectors/getAdditionalEnzymesSelector.d.ts +6 -0
  262. package/selectors/index.d.ts +41 -0
  263. package/selectors/isEnzymeFilterAndSelector.d.ts +2 -0
  264. package/selectors/minimumOrfSizeSelector.d.ts +2 -0
  265. package/selectors/orfsSelector.d.ts +26 -0
  266. package/selectors/partsSelector.d.ts +6 -0
  267. package/selectors/primersSelector.d.ts +6 -0
  268. package/selectors/restrictionEnzymesSelector.d.ts +6 -0
  269. package/selectors/searchLayersSelector.d.ts +6 -0
  270. package/selectors/selectedAnnotationsSelector.d.ts +2 -0
  271. package/selectors/selectedCutsitesSelector.d.ts +12 -0
  272. package/selectors/sequenceDataSelector.d.ts +2 -0
  273. package/selectors/sequenceLengthSelector.d.ts +1 -0
  274. package/selectors/sequenceSelector.d.ts +1 -0
  275. package/selectors/tagsToBoldSelector.d.ts +2 -0
  276. package/selectors/translationSearchMatchesSelector.d.ts +6 -0
  277. package/selectors/translationsRawSelector.d.ts +6 -0
  278. package/selectors/translationsSelector.d.ts +16 -0
  279. package/src/ToolBar/index.js +12 -12
  280. package/style.css +34 -0
  281. package/updateEditor.d.ts +3 -0
  282. package/utils/PassThrough.d.ts +3 -0
  283. package/utils/addWrappedAddons.d.ts +1 -0
  284. package/utils/annotationTypes.d.ts +6 -0
  285. package/utils/arrayUtils.d.ts +3 -0
  286. package/utils/calculateTickMarkPositionsForGivenRange.d.ts +7 -0
  287. package/utils/cleanSequenceData_DEPRECATED/arrayToObjWithIds.d.ts +1 -0
  288. package/utils/combineReducersDontIgnoreKeys.d.ts +1 -0
  289. package/utils/commandUtils.d.ts +1 -0
  290. package/utils/editorUtils.d.ts +36 -0
  291. package/utils/getAnnotationClassnames.d.ts +6 -0
  292. package/utils/getAnnotationNameAndStartStopString.d.ts +14 -0
  293. package/utils/getVisibleStartEnd.d.ts +7 -0
  294. package/utils/massageTickSpacing.d.ts +1 -0
  295. package/utils/onlyUpdateForKeysDeep.d.ts +2 -0
  296. package/utils/prepareRowData.d.ts +6 -0
  297. package/utils/proteinUtils.d.ts +1 -0
  298. package/utils/pureNoFunc.d.ts +2 -0
  299. package/utils/selectionLayer.d.ts +5 -0
  300. package/utils/shouldRerender.d.ts +2 -0
  301. package/utils/showFileDialog.d.ts +4 -0
  302. package/utils/updateLabelsForInViewFeatures.d.ts +3 -0
  303. package/utils/updateLabelsForInViewFeaturesCircView.d.ts +0 -0
  304. package/utils/useAAColorType.d.ts +2 -0
  305. package/utils/useAnnotationLimits.d.ts +14 -0
  306. package/utils/useChromatogramPrefs.d.ts +7 -0
  307. package/utils/useLadders.d.ts +2 -0
  308. package/utils/useMeltingTemp.d.ts +2 -0
  309. package/utils/useTmType.d.ts +2 -0
  310. package/withEditorInteractions/Keyboard.d.ts +16 -0
  311. package/withEditorInteractions/clickAndDragUtils.d.ts +67 -0
  312. package/withEditorInteractions/createSequenceInputPopup.d.ts +1 -0
  313. package/withEditorInteractions/getBpsPerRow.d.ts +9 -0
  314. package/withEditorInteractions/index.d.ts +2 -0
  315. package/withEditorInteractions/isElementInViewport.d.ts +2 -0
  316. package/withEditorInteractions/moveCaret.d.ts +10 -0
  317. package/withEditorProps/index.d.ts +17 -0
package/index.es.js CHANGED
@@ -2817,7 +2817,7 @@ var followCursor = {
2817
2817
  }
2818
2818
  }
2819
2819
  __name(onMouseMove, "onMouseMove");
2820
- function create5() {
2820
+ function create6() {
2821
2821
  if (instance.props.followCursor) {
2822
2822
  activeInstances.push({
2823
2823
  instance,
@@ -2826,7 +2826,7 @@ var followCursor = {
2826
2826
  addMouseCoordsListener(doc);
2827
2827
  }
2828
2828
  }
2829
- __name(create5, "create");
2829
+ __name(create6, "create");
2830
2830
  function destroy2() {
2831
2831
  activeInstances = activeInstances.filter(function(data) {
2832
2832
  return data.instance !== instance;
@@ -2839,7 +2839,7 @@ var followCursor = {
2839
2839
  }
2840
2840
  __name(destroy2, "destroy");
2841
2841
  return {
2842
- onCreate: create5,
2842
+ onCreate: create6,
2843
2843
  onDestroy: destroy2,
2844
2844
  onBeforeUpdate: /* @__PURE__ */ __name(function onBeforeUpdate2() {
2845
2845
  prevProps = instance.props;
@@ -2852,7 +2852,7 @@ var followCursor = {
2852
2852
  if (followCursor2 !== void 0 && prevProps.followCursor !== followCursor2) {
2853
2853
  destroy2();
2854
2854
  if (followCursor2) {
2855
- create5();
2855
+ create6();
2856
2856
  if (instance.state.isMounted && !wasFocusEvent && !getIsInitialBehavior()) {
2857
2857
  addListener();
2858
2858
  }
@@ -4215,6 +4215,7 @@ Dropzone.propTypes = {
4215
4215
  */
4216
4216
  validator: PropTypes.func
4217
4217
  };
4218
+ const Dropzone$1 = Dropzone;
4218
4219
  var initialState = {
4219
4220
  isFocused: false,
4220
4221
  isFileDialogActive: false,
@@ -5555,6 +5556,8 @@ __name(_defineProperties$2, "_defineProperties$2");
5555
5556
  function _createClass$e(Constructor, protoProps, staticProps) {
5556
5557
  if (protoProps)
5557
5558
  _defineProperties$2(Constructor.prototype, protoProps);
5559
+ if (staticProps)
5560
+ _defineProperties$2(Constructor, staticProps);
5558
5561
  Object.defineProperty(Constructor, "prototype", {
5559
5562
  writable: false
5560
5563
  });
@@ -5623,7 +5626,7 @@ function _createForOfIteratorHelperLoose$5(o2, allowArrayLike) {
5623
5626
  var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
5624
5627
  if (it)
5625
5628
  return (it = it.call(o2)).next.bind(it);
5626
- if (Array.isArray(o2) || (it = _unsupportedIterableToArray$8(o2)) || allowArrayLike) {
5629
+ if (Array.isArray(o2) || (it = _unsupportedIterableToArray$8(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
5627
5630
  if (it)
5628
5631
  o2 = it;
5629
5632
  var i = 0;
@@ -5646,12 +5649,12 @@ function _toPrimitive$2(input, hint) {
5646
5649
  return input;
5647
5650
  var prim = input[Symbol.toPrimitive];
5648
5651
  if (prim !== void 0) {
5649
- var res = prim.call(input, hint);
5652
+ var res = prim.call(input, hint || "default");
5650
5653
  if (typeof res !== "object")
5651
5654
  return res;
5652
5655
  throw new TypeError("@@toPrimitive must return a primitive value.");
5653
5656
  }
5654
- return String(input);
5657
+ return (hint === "string" ? String : Number)(input);
5655
5658
  }
5656
5659
  __name(_toPrimitive$2, "_toPrimitive$2");
5657
5660
  function _toPropertyKey$1(arg) {
@@ -7394,7 +7397,7 @@ function onBecomeUnobserved(thing, arg2, arg3) {
7394
7397
  }
7395
7398
  __name(onBecomeUnobserved, "onBecomeUnobserved");
7396
7399
  function interceptHook(hook, thing, arg2, arg3) {
7397
- var atom = getAtom(thing);
7400
+ var atom = typeof arg3 === "function" ? getAtom(thing, arg2) : getAtom(thing);
7398
7401
  var cb = isFunction$7(arg3) ? arg3 : arg2;
7399
7402
  var listenersKey = hook + "L";
7400
7403
  if (atom[listenersKey]) {
@@ -7576,6 +7579,12 @@ function _isObservable(value, property2) {
7576
7579
  if (!value) {
7577
7580
  return false;
7578
7581
  }
7582
+ if (property2 !== void 0) {
7583
+ if (isObservableObject(value)) {
7584
+ return value[$mobx].values_.has(property2);
7585
+ }
7586
+ return false;
7587
+ }
7579
7588
  return isObservableObject(value) || !!value[$mobx] || isAtom(value) || isReaction(value) || isComputedValue(value);
7580
7589
  }
7581
7590
  __name(_isObservable, "_isObservable");
@@ -9335,6 +9344,9 @@ function getAdministration$1(thing, property2) {
9335
9344
  if (!thing) {
9336
9345
  die(29);
9337
9346
  }
9347
+ if (property2 !== void 0) {
9348
+ return getAdministration$1(getAtom(thing, property2));
9349
+ }
9338
9350
  if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {
9339
9351
  return thing;
9340
9352
  }
@@ -9767,7 +9779,7 @@ function observer$1(baseComponent, options) {
9767
9779
  if (ReactMemoSymbol && baseComponent["$$typeof"] === ReactMemoSymbol) {
9768
9780
  throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");
9769
9781
  }
9770
- var useForwardRef = (_a2 = void 0) !== null && _a2 !== void 0 ? _a2 : false;
9782
+ var useForwardRef = (_a2 = options === null || options === void 0 ? void 0 : options.forwardRef) !== null && _a2 !== void 0 ? _a2 : false;
9771
9783
  var render3 = baseComponent;
9772
9784
  var baseComponentName = baseComponent.displayName || baseComponent.name;
9773
9785
  if (ReactForwardRefSymbol && baseComponent["$$typeof"] === ReactForwardRefSymbol) {
@@ -10578,6 +10590,7 @@ an.setUseProxies.bind(an);
10578
10590
  var pn = an.applyPatches.bind(an);
10579
10591
  an.createDraft.bind(an);
10580
10592
  an.finishDraft.bind(an);
10593
+ const immer = fn3;
10581
10594
  var freeGlobal$2 = typeof global == "object" && global && global.Object === Object && global;
10582
10595
  var freeSelf$1 = typeof self == "object" && self && self.Object === Object && self;
10583
10596
  var root$b = freeGlobal$2 || freeSelf$1 || Function("return this")();
@@ -10861,7 +10874,8 @@ var baseSetToString$2 = !defineProperty$b ? identity$9 : function(func, string2)
10861
10874
  "writable": true
10862
10875
  });
10863
10876
  };
10864
- var setToString$3 = shortOut$2(baseSetToString$2);
10877
+ const baseSetToString$3 = baseSetToString$2;
10878
+ var setToString$3 = shortOut$2(baseSetToString$3);
10865
10879
  function arrayEach$3(array2, iteratee) {
10866
10880
  var index2 = -1, length = array2 == null ? 0 : array2.length;
10867
10881
  while (++index2 < length) {
@@ -10873,8 +10887,8 @@ function arrayEach$3(array2, iteratee) {
10873
10887
  }
10874
10888
  __name(arrayEach$3, "arrayEach$3");
10875
10889
  function baseFindIndex$3(array2, predicate, fromIndex, fromRight) {
10876
- var length = array2.length, index2 = fromIndex + -1;
10877
- while (++index2 < length) {
10890
+ var length = array2.length, index2 = fromIndex + (fromRight ? 1 : -1);
10891
+ while (fromRight ? index2-- : ++index2 < length) {
10878
10892
  if (predicate(array2[index2], index2, array2)) {
10879
10893
  return index2;
10880
10894
  }
@@ -10945,7 +10959,7 @@ function copyObject$7(source, props, object3, customizer) {
10945
10959
  var index2 = -1, length = props.length;
10946
10960
  while (++index2 < length) {
10947
10961
  var key = props[index2];
10948
- var newValue = void 0;
10962
+ var newValue = customizer ? customizer(object3[key], source[key], key, object3, source) : void 0;
10949
10963
  if (newValue === void 0) {
10950
10964
  newValue = source[key];
10951
10965
  }
@@ -11046,6 +11060,7 @@ var isArguments$7 = baseIsArguments$2(/* @__PURE__ */ function() {
11046
11060
  }()) ? baseIsArguments$2 : function(value) {
11047
11061
  return isObjectLike$d(value) && hasOwnProperty$v.call(value, "callee") && !propertyIsEnumerable$3.call(value, "callee");
11048
11062
  };
11063
+ const isArguments$8 = isArguments$7;
11049
11064
  function stubFalse$1() {
11050
11065
  return false;
11051
11066
  }
@@ -11056,6 +11071,7 @@ var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
11056
11071
  var Buffer$4 = moduleExports$2 ? root$b.Buffer : void 0;
11057
11072
  var nativeIsBuffer = Buffer$4 ? Buffer$4.isBuffer : void 0;
11058
11073
  var isBuffer$8 = nativeIsBuffer || stubFalse$1;
11074
+ const isBuffer$9 = isBuffer$8;
11059
11075
  var argsTag$6 = "[object Arguments]", arrayTag$5 = "[object Array]", boolTag$7 = "[object Boolean]", dateTag$7 = "[object Date]", errorTag$5 = "[object Error]", funcTag$4 = "[object Function]", mapTag$d = "[object Map]", numberTag$9 = "[object Number]", objectTag$9 = "[object Object]", regexpTag$7 = "[object RegExp]", setTag$d = "[object Set]", stringTag$9 = "[object String]", weakMapTag$5 = "[object WeakMap]";
11060
11076
  var arrayBufferTag$7 = "[object ArrayBuffer]", dataViewTag$9 = "[object DataView]", float32Tag$5 = "[object Float32Array]", float64Tag$5 = "[object Float64Array]", int8Tag$5 = "[object Int8Array]", int16Tag$5 = "[object Int16Array]", int32Tag$5 = "[object Int32Array]", uint8Tag$5 = "[object Uint8Array]", uint8ClampedTag$5 = "[object Uint8ClampedArray]", uint16Tag$5 = "[object Uint16Array]", uint32Tag$5 = "[object Uint32Array]";
11061
11077
  var typedArrayTags$1 = {};
@@ -11087,10 +11103,11 @@ var nodeUtil$3 = function() {
11087
11103
  }();
11088
11104
  var nodeIsTypedArray$1 = nodeUtil$3 && nodeUtil$3.isTypedArray;
11089
11105
  var isTypedArray$3 = nodeIsTypedArray$1 ? baseUnary$6(nodeIsTypedArray$1) : baseIsTypedArray$2;
11106
+ const isTypedArray$4 = isTypedArray$3;
11090
11107
  var objectProto$u = Object.prototype;
11091
11108
  var hasOwnProperty$u = objectProto$u.hasOwnProperty;
11092
11109
  function arrayLikeKeys$3(value, inherited) {
11093
- var isArr = isArray$p(value), isArg = !isArr && isArguments$7(value), isBuff = !isArr && !isArg && isBuffer$8(value), isType2 = !isArr && !isArg && !isBuff && isTypedArray$3(value), skipIndexes = isArr || isArg || isBuff || isType2, result = skipIndexes ? baseTimes$2(value.length, String) : [], length = result.length;
11110
+ var isArr = isArray$p(value), isArg = !isArr && isArguments$8(value), isBuff = !isArr && !isArg && isBuffer$9(value), isType2 = !isArr && !isArg && !isBuff && isTypedArray$4(value), skipIndexes = isArr || isArg || isBuff || isType2, result = skipIndexes ? baseTimes$2(value.length, String) : [], length = result.length;
11094
11111
  for (var key in value) {
11095
11112
  if ((inherited || hasOwnProperty$u.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
11096
11113
  (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -11174,6 +11191,7 @@ __name(keysIn$4, "keysIn$4");
11174
11191
  var assignIn = createAssigner$2(function(object3, source) {
11175
11192
  copyObject$7(source, keysIn$4(source), object3);
11176
11193
  });
11194
+ const extend$2 = assignIn;
11177
11195
  var reIsDeepProp$1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp$1 = /^\w*$/;
11178
11196
  function isKey$4(value, object3) {
11179
11197
  if (isArray$p(value)) {
@@ -11447,7 +11465,7 @@ function arrayPush$4(array2, values3) {
11447
11465
  __name(arrayPush$4, "arrayPush$4");
11448
11466
  var spreadableSymbol$1 = Symbol$9 ? Symbol$9.isConcatSpreadable : void 0;
11449
11467
  function isFlattenable$2(value) {
11450
- return isArray$p(value) || isArguments$7(value) || !!(spreadableSymbol$1 && value && value[spreadableSymbol$1]);
11468
+ return isArray$p(value) || isArguments$8(value) || !!(spreadableSymbol$1 && value && value[spreadableSymbol$1]);
11451
11469
  }
11452
11470
  __name(isFlattenable$2, "isFlattenable$2");
11453
11471
  function baseFlatten$4(array2, depth, predicate, isStrict, result) {
@@ -11456,8 +11474,10 @@ function baseFlatten$4(array2, depth, predicate, isStrict, result) {
11456
11474
  result || (result = []);
11457
11475
  while (++index2 < length) {
11458
11476
  var value = array2[index2];
11459
- if (predicate(value)) {
11460
- {
11477
+ if (depth > 0 && predicate(value)) {
11478
+ if (depth > 1) {
11479
+ baseFlatten$4(value, depth - 1, predicate, isStrict, result);
11480
+ } else {
11461
11481
  arrayPush$4(result, value);
11462
11482
  }
11463
11483
  } else if (!isStrict) {
@@ -11469,7 +11489,7 @@ function baseFlatten$4(array2, depth, predicate, isStrict, result) {
11469
11489
  __name(baseFlatten$4, "baseFlatten$4");
11470
11490
  function flatten$2(array2) {
11471
11491
  var length = array2 == null ? 0 : array2.length;
11472
- return length ? baseFlatten$4(array2) : [];
11492
+ return length ? baseFlatten$4(array2, 1) : [];
11473
11493
  }
11474
11494
  __name(flatten$2, "flatten$2");
11475
11495
  function flatRest$2(func) {
@@ -11768,13 +11788,14 @@ var deburredLetters = {
11768
11788
  "ſ": "s"
11769
11789
  };
11770
11790
  var deburrLetter = basePropertyOf(deburredLetters);
11791
+ const deburrLetter$1 = deburrLetter;
11771
11792
  var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
11772
11793
  var rsComboMarksRange$2 = "\\u0300-\\u036f", reComboHalfMarksRange$2 = "\\ufe20-\\ufe2f", rsComboSymbolsRange$2 = "\\u20d0-\\u20ff", rsComboRange$2 = rsComboMarksRange$2 + reComboHalfMarksRange$2 + rsComboSymbolsRange$2;
11773
11794
  var rsCombo$2 = "[" + rsComboRange$2 + "]";
11774
11795
  var reComboMark = RegExp(rsCombo$2, "g");
11775
11796
  function deburr(string2) {
11776
11797
  string2 = toString$6(string2);
11777
- return string2 && string2.replace(reLatin, deburrLetter).replace(reComboMark, "");
11798
+ return string2 && string2.replace(reLatin, deburrLetter$1).replace(reComboMark, "");
11778
11799
  }
11779
11800
  __name(deburr, "deburr");
11780
11801
  var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
@@ -11806,7 +11827,7 @@ function unicodeWords(string2) {
11806
11827
  __name(unicodeWords, "unicodeWords");
11807
11828
  function words(string2, pattern, guard) {
11808
11829
  string2 = toString$6(string2);
11809
- pattern = pattern;
11830
+ pattern = guard ? void 0 : pattern;
11810
11831
  if (pattern === void 0) {
11811
11832
  return hasUnicodeWord(string2) ? unicodeWords(string2) : asciiWords(string2);
11812
11833
  }
@@ -12019,6 +12040,7 @@ if (DataView$3 && getTag$6(new DataView$3(new ArrayBuffer(1))) != dataViewTag$8
12019
12040
  return result;
12020
12041
  }, "getTag$6");
12021
12042
  }
12043
+ const getTag$7 = getTag$6;
12022
12044
  var objectProto$m = Object.prototype;
12023
12045
  var hasOwnProperty$n = objectProto$m.hasOwnProperty;
12024
12046
  function initCloneArray$2(array2) {
@@ -12101,14 +12123,14 @@ function initCloneObject$2(object3) {
12101
12123
  __name(initCloneObject$2, "initCloneObject$2");
12102
12124
  var mapTag$a = "[object Map]";
12103
12125
  function baseIsMap$2(value) {
12104
- return isObjectLike$d(value) && getTag$6(value) == mapTag$a;
12126
+ return isObjectLike$d(value) && getTag$7(value) == mapTag$a;
12105
12127
  }
12106
12128
  __name(baseIsMap$2, "baseIsMap$2");
12107
12129
  var nodeIsMap$1 = nodeUtil$3 && nodeUtil$3.isMap;
12108
12130
  var isMap$3 = nodeIsMap$1 ? baseUnary$6(nodeIsMap$1) : baseIsMap$2;
12109
12131
  var setTag$a = "[object Set]";
12110
12132
  function baseIsSet$2(value) {
12111
- return isObjectLike$d(value) && getTag$6(value) == setTag$a;
12133
+ return isObjectLike$d(value) && getTag$7(value) == setTag$a;
12112
12134
  }
12113
12135
  __name(baseIsSet$2, "baseIsSet$2");
12114
12136
  var nodeIsSet$1 = nodeUtil$3 && nodeUtil$3.isSet;
@@ -12137,8 +12159,8 @@ function baseClone$3(value, bitmask, customizer, key, object3, stack) {
12137
12159
  return copyArray$2(value, result);
12138
12160
  }
12139
12161
  } else {
12140
- var tag = getTag$6(value), isFunc = tag == funcTag$3 || tag == genTag$2;
12141
- if (isBuffer$8(value)) {
12162
+ var tag = getTag$7(value), isFunc = tag == funcTag$3 || tag == genTag$2;
12163
+ if (isBuffer$9(value)) {
12142
12164
  return cloneBuffer$1(value, isDeep);
12143
12165
  }
12144
12166
  if (tag == objectTag$6 || tag == argsTag$5 || isFunc && !object3) {
@@ -12388,12 +12410,12 @@ var argsTag$4 = "[object Arguments]", arrayTag$3 = "[object Array]", objectTag$5
12388
12410
  var objectProto$k = Object.prototype;
12389
12411
  var hasOwnProperty$l = objectProto$k.hasOwnProperty;
12390
12412
  function baseIsEqualDeep$2(object3, other, bitmask, customizer, equalFunc, stack) {
12391
- var objIsArr = isArray$p(object3), othIsArr = isArray$p(other), objTag = objIsArr ? arrayTag$3 : getTag$6(object3), othTag = othIsArr ? arrayTag$3 : getTag$6(other);
12413
+ var objIsArr = isArray$p(object3), othIsArr = isArray$p(other), objTag = objIsArr ? arrayTag$3 : getTag$7(object3), othTag = othIsArr ? arrayTag$3 : getTag$7(other);
12392
12414
  objTag = objTag == argsTag$4 ? objectTag$5 : objTag;
12393
12415
  othTag = othTag == argsTag$4 ? objectTag$5 : othTag;
12394
12416
  var objIsObj = objTag == objectTag$5, othIsObj = othTag == objectTag$5, isSameTag = objTag == othTag;
12395
- if (isSameTag && isBuffer$8(object3)) {
12396
- if (!isBuffer$8(other)) {
12417
+ if (isSameTag && isBuffer$9(object3)) {
12418
+ if (!isBuffer$9(other)) {
12397
12419
  return false;
12398
12420
  }
12399
12421
  objIsArr = true;
@@ -12401,7 +12423,7 @@ function baseIsEqualDeep$2(object3, other, bitmask, customizer, equalFunc, stack
12401
12423
  }
12402
12424
  if (isSameTag && !objIsObj) {
12403
12425
  stack || (stack = new Stack$4());
12404
- return objIsArr || isTypedArray$3(object3) ? equalArrays$3(object3, other, bitmask, customizer, equalFunc, stack) : equalByTag$2(object3, other, objTag, bitmask, customizer, equalFunc, stack);
12426
+ return objIsArr || isTypedArray$4(object3) ? equalArrays$3(object3, other, bitmask, customizer, equalFunc, stack) : equalByTag$2(object3, other, objTag, bitmask, customizer, equalFunc, stack);
12405
12427
  }
12406
12428
  if (!(bitmask & COMPARE_PARTIAL_FLAG$8)) {
12407
12429
  var objIsWrapped = objIsObj && hasOwnProperty$l.call(object3, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$l.call(other, "__wrapped__");
@@ -12430,27 +12452,29 @@ function baseIsEqual$3(value, other, bitmask, customizer, stack) {
12430
12452
  __name(baseIsEqual$3, "baseIsEqual$3");
12431
12453
  var COMPARE_PARTIAL_FLAG$7 = 1, COMPARE_UNORDERED_FLAG$5 = 2;
12432
12454
  function baseIsMatch$2(object3, source, matchData, customizer) {
12433
- var index2 = matchData.length, length = index2;
12455
+ var index2 = matchData.length, length = index2, noCustomizer = !customizer;
12434
12456
  if (object3 == null) {
12435
12457
  return !length;
12436
12458
  }
12437
12459
  object3 = Object(object3);
12438
12460
  while (index2--) {
12439
12461
  var data = matchData[index2];
12440
- if (data[2] ? data[1] !== object3[data[0]] : !(data[0] in object3)) {
12462
+ if (noCustomizer && data[2] ? data[1] !== object3[data[0]] : !(data[0] in object3)) {
12441
12463
  return false;
12442
12464
  }
12443
12465
  }
12444
12466
  while (++index2 < length) {
12445
12467
  data = matchData[index2];
12446
12468
  var key = data[0], objValue = object3[key], srcValue = data[1];
12447
- if (data[2]) {
12469
+ if (noCustomizer && data[2]) {
12448
12470
  if (objValue === void 0 && !(key in object3)) {
12449
12471
  return false;
12450
12472
  }
12451
12473
  } else {
12452
12474
  var stack = new Stack$4();
12453
- var result;
12475
+ if (customizer) {
12476
+ var result = customizer(objValue, srcValue, key, object3, source, stack);
12477
+ }
12454
12478
  if (!(result === void 0 ? baseIsEqual$3(srcValue, objValue, COMPARE_PARTIAL_FLAG$7 | COMPARE_UNORDERED_FLAG$5, customizer, stack) : result)) {
12455
12479
  return false;
12456
12480
  }
@@ -12509,7 +12533,7 @@ function hasPath$2(object3, path2, hasFunc) {
12509
12533
  return result;
12510
12534
  }
12511
12535
  length = object3 == null ? 0 : object3.length;
12512
- return !!length && isLength$4(length) && isIndex$4(key, length) && (isArray$p(object3) || isArguments$7(object3));
12536
+ return !!length && isLength$4(length) && isIndex$4(key, length) && (isArray$p(object3) || isArguments$8(object3));
12513
12537
  }
12514
12538
  __name(hasPath$2, "hasPath$2");
12515
12539
  function hasIn$2(object3, path2) {
@@ -12569,7 +12593,7 @@ function createBaseFor$2(fromRight) {
12569
12593
  return function(object3, iteratee, keysFunc) {
12570
12594
  var index2 = -1, iterable = Object(object3), props = keysFunc(object3), length = props.length;
12571
12595
  while (length--) {
12572
- var key = props[++index2];
12596
+ var key = props[fromRight ? length : ++index2];
12573
12597
  if (iteratee(iterable[key], key, iterable) === false) {
12574
12598
  break;
12575
12599
  }
@@ -12591,8 +12615,8 @@ function createBaseEach$2(eachFunc, fromRight) {
12591
12615
  if (!isArrayLike$9(collection)) {
12592
12616
  return eachFunc(collection, iteratee);
12593
12617
  }
12594
- var length = collection.length, index2 = -1, iterable = Object(collection);
12595
- while (++index2 < length) {
12618
+ var length = collection.length, index2 = fromRight ? length : -1, iterable = Object(collection);
12619
+ while (fromRight ? index2-- : ++index2 < length) {
12596
12620
  if (iteratee(iterable[index2], index2, iterable) === false) {
12597
12621
  break;
12598
12622
  }
@@ -12602,8 +12626,9 @@ function createBaseEach$2(eachFunc, fromRight) {
12602
12626
  }
12603
12627
  __name(createBaseEach$2, "createBaseEach$2");
12604
12628
  var baseEach$3 = createBaseEach$2(baseForOwn$3);
12629
+ const baseEach$4 = baseEach$3;
12605
12630
  function baseAggregator(collection, setter2, iteratee, accumulator) {
12606
- baseEach$3(collection, function(value, key, collection2) {
12631
+ baseEach$4(collection, function(value, key, collection2) {
12607
12632
  setter2(accumulator, value, iteratee(value), collection2);
12608
12633
  });
12609
12634
  return accumulator;
@@ -12754,7 +12779,7 @@ function baseMergeDeep(object3, source, key, srcIndex, mergeFunc, customizer, st
12754
12779
  var newValue = customizer ? customizer(objValue, srcValue, key + "", object3, source, stack) : void 0;
12755
12780
  var isCommon = newValue === void 0;
12756
12781
  if (isCommon) {
12757
- var isArr = isArray$p(srcValue), isBuff = !isArr && isBuffer$8(srcValue), isTyped = !isArr && !isBuff && isTypedArray$3(srcValue);
12782
+ var isArr = isArray$p(srcValue), isBuff = !isArr && isBuffer$9(srcValue), isTyped = !isArr && !isBuff && isTypedArray$4(srcValue);
12758
12783
  newValue = srcValue;
12759
12784
  if (isArr || isBuff || isTyped) {
12760
12785
  if (isArray$p(objValue)) {
@@ -12770,9 +12795,9 @@ function baseMergeDeep(object3, source, key, srcIndex, mergeFunc, customizer, st
12770
12795
  } else {
12771
12796
  newValue = [];
12772
12797
  }
12773
- } else if (isPlainObject$4(srcValue) || isArguments$7(srcValue)) {
12798
+ } else if (isPlainObject$4(srcValue) || isArguments$8(srcValue)) {
12774
12799
  newValue = objValue;
12775
- if (isArguments$7(objValue)) {
12800
+ if (isArguments$8(objValue)) {
12776
12801
  newValue = toPlainObject(objValue);
12777
12802
  } else if (!isObject$e(objValue) || isFunction$6(objValue)) {
12778
12803
  newValue = initCloneObject$2(srcValue);
@@ -12807,6 +12832,16 @@ function baseMerge(object3, source, srcIndex, customizer, stack) {
12807
12832
  }, keysIn$4);
12808
12833
  }
12809
12834
  __name(baseMerge, "baseMerge");
12835
+ function arrayIncludesWith$2(array2, value, comparator) {
12836
+ var index2 = -1, length = array2 == null ? 0 : array2.length;
12837
+ while (++index2 < length) {
12838
+ if (comparator(value, array2[index2])) {
12839
+ return true;
12840
+ }
12841
+ }
12842
+ return false;
12843
+ }
12844
+ __name(arrayIncludesWith$2, "arrayIncludesWith$2");
12810
12845
  var LARGE_ARRAY_SIZE$3 = 200;
12811
12846
  function baseDifference$2(array2, values3, iteratee, comparator) {
12812
12847
  var index2 = -1, includes2 = arrayIncludes$2, isCommon = true, length = array2.length, result = [], valuesLength = values3.length;
@@ -12816,7 +12851,10 @@ function baseDifference$2(array2, values3, iteratee, comparator) {
12816
12851
  if (iteratee) {
12817
12852
  values3 = arrayMap$6(values3, baseUnary$6(iteratee));
12818
12853
  }
12819
- if (values3.length >= LARGE_ARRAY_SIZE$3) {
12854
+ if (comparator) {
12855
+ includes2 = arrayIncludesWith$2;
12856
+ isCommon = false;
12857
+ } else if (values3.length >= LARGE_ARRAY_SIZE$3) {
12820
12858
  includes2 = cacheHas$3;
12821
12859
  isCommon = false;
12822
12860
  values3 = new SetCache$3(values3);
@@ -12824,7 +12862,7 @@ function baseDifference$2(array2, values3, iteratee, comparator) {
12824
12862
  outer:
12825
12863
  while (++index2 < length) {
12826
12864
  var value = array2[index2], computed3 = iteratee == null ? value : iteratee(value);
12827
- value = value !== 0 ? value : 0;
12865
+ value = comparator || value !== 0 ? value : 0;
12828
12866
  if (isCommon && computed3 === computed3) {
12829
12867
  var valuesIndex = valuesLength;
12830
12868
  while (valuesIndex--) {
@@ -12855,12 +12893,13 @@ var differenceBy = baseRest$4(function(array2, values3) {
12855
12893
  }
12856
12894
  return isArrayLikeObject$2(array2) ? baseDifference$2(array2, baseFlatten$4(values3, 1, isArrayLikeObject$2, true), baseIteratee$5(iteratee)) : [];
12857
12895
  });
12896
+ const differenceBy$1 = differenceBy;
12858
12897
  function drop$2(array2, n2, guard) {
12859
12898
  var length = array2 == null ? 0 : array2.length;
12860
12899
  if (!length) {
12861
12900
  return [];
12862
12901
  }
12863
- n2 = n2 === void 0 ? 1 : toInteger$5(n2);
12902
+ n2 = guard || n2 === void 0 ? 1 : toInteger$5(n2);
12864
12903
  return baseSlice$2(array2, n2 < 0 ? 0 : n2, length);
12865
12904
  }
12866
12905
  __name(drop$2, "drop$2");
@@ -12869,7 +12908,7 @@ function castFunction$3(value) {
12869
12908
  }
12870
12909
  __name(castFunction$3, "castFunction$3");
12871
12910
  function forEach$4(collection, iteratee) {
12872
- var func = isArray$p(collection) ? arrayEach$3 : baseEach$3;
12911
+ var func = isArray$p(collection) ? arrayEach$3 : baseEach$4;
12873
12912
  return func(collection, castFunction$3(iteratee));
12874
12913
  }
12875
12914
  __name(forEach$4, "forEach$4");
@@ -12895,7 +12934,7 @@ function arrayEvery(array2, predicate) {
12895
12934
  __name(arrayEvery, "arrayEvery");
12896
12935
  function baseEvery(collection, predicate) {
12897
12936
  var result = true;
12898
- baseEach$3(collection, function(value, index2, collection2) {
12937
+ baseEach$4(collection, function(value, index2, collection2) {
12899
12938
  result = !!predicate(value, index2, collection2);
12900
12939
  return result;
12901
12940
  });
@@ -12904,12 +12943,15 @@ function baseEvery(collection, predicate) {
12904
12943
  __name(baseEvery, "baseEvery");
12905
12944
  function every(collection, predicate, guard) {
12906
12945
  var func = isArray$p(collection) ? arrayEvery : baseEvery;
12946
+ if (guard && isIterateeCall$3(collection, predicate, guard)) {
12947
+ predicate = void 0;
12948
+ }
12907
12949
  return func(collection, baseIteratee$5(predicate));
12908
12950
  }
12909
12951
  __name(every, "every");
12910
12952
  function baseFilter(collection, predicate) {
12911
12953
  var result = [];
12912
- baseEach$3(collection, function(value, index2, collection2) {
12954
+ baseEach$4(collection, function(value, index2, collection2) {
12913
12955
  if (predicate(value, index2, collection2)) {
12914
12956
  result.push(value);
12915
12957
  }
@@ -12953,7 +12995,7 @@ __name(findIndex$3, "findIndex$3");
12953
12995
  var find$5 = createFind$2(findIndex$3);
12954
12996
  function baseMap$3(collection, iteratee) {
12955
12997
  var index2 = -1, result = isArrayLike$9(collection) ? Array(collection.length) : [];
12956
- baseEach$3(collection, function(value, key, collection2) {
12998
+ baseEach$4(collection, function(value, key, collection2) {
12957
12999
  result[++index2] = iteratee(value, key, collection2);
12958
13000
  });
12959
13001
  return result;
@@ -12965,7 +13007,7 @@ function map$3(collection, iteratee) {
12965
13007
  }
12966
13008
  __name(map$3, "map$3");
12967
13009
  function flatMap$1(collection, iteratee) {
12968
- return baseFlatten$4(map$3(collection, iteratee));
13010
+ return baseFlatten$4(map$3(collection, iteratee), 1);
12969
13011
  }
12970
13012
  __name(flatMap$1, "flatMap$1");
12971
13013
  function baseGt(value, other) {
@@ -13000,26 +13042,26 @@ function includes(collection, value, fromIndex, guard) {
13000
13042
  __name(includes, "includes");
13001
13043
  var nativeMin$1 = Math.min;
13002
13044
  function baseIntersection(arrays, iteratee, comparator) {
13003
- var includes2 = arrayIncludes$2, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array(othLength), maxLength = Infinity, result = [];
13045
+ var includes2 = comparator ? arrayIncludesWith$2 : arrayIncludes$2, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array(othLength), maxLength = Infinity, result = [];
13004
13046
  while (othIndex--) {
13005
13047
  var array2 = arrays[othIndex];
13006
13048
  if (othIndex && iteratee) {
13007
13049
  array2 = arrayMap$6(array2, baseUnary$6(iteratee));
13008
13050
  }
13009
13051
  maxLength = nativeMin$1(array2.length, maxLength);
13010
- caches[othIndex] = iteratee || length >= 120 && array2.length >= 120 ? new SetCache$3(othIndex && array2) : void 0;
13052
+ caches[othIndex] = !comparator && (iteratee || length >= 120 && array2.length >= 120) ? new SetCache$3(othIndex && array2) : void 0;
13011
13053
  }
13012
13054
  array2 = arrays[0];
13013
13055
  var index2 = -1, seen = caches[0];
13014
13056
  outer:
13015
13057
  while (++index2 < length && result.length < maxLength) {
13016
13058
  var value = array2[index2], computed3 = iteratee ? iteratee(value) : value;
13017
- value = value !== 0 ? value : 0;
13018
- if (!(seen ? cacheHas$3(seen, computed3) : includes2(result, computed3))) {
13059
+ value = comparator || value !== 0 ? value : 0;
13060
+ if (!(seen ? cacheHas$3(seen, computed3) : includes2(result, computed3, comparator))) {
13019
13061
  othIndex = othLength;
13020
13062
  while (--othIndex) {
13021
13063
  var cache2 = caches[othIndex];
13022
- if (!(cache2 ? cacheHas$3(cache2, computed3) : includes2(arrays[othIndex], computed3))) {
13064
+ if (!(cache2 ? cacheHas$3(cache2, computed3) : includes2(arrays[othIndex], computed3, comparator))) {
13023
13065
  continue outer;
13024
13066
  }
13025
13067
  }
@@ -13045,6 +13087,7 @@ var intersectionBy = baseRest$4(function(arrays) {
13045
13087
  }
13046
13088
  return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, baseIteratee$5(iteratee)) : [];
13047
13089
  });
13090
+ const intersectionBy$1 = intersectionBy;
13048
13091
  function baseInverter(object3, setter2, iteratee, accumulator) {
13049
13092
  baseForOwn$3(object3, function(value, key, object4) {
13050
13093
  setter2(accumulator, iteratee(value), key, object4);
@@ -13077,10 +13120,10 @@ function isEmpty$1(value) {
13077
13120
  if (value == null) {
13078
13121
  return true;
13079
13122
  }
13080
- if (isArrayLike$9(value) && (isArray$p(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer$8(value) || isTypedArray$3(value) || isArguments$7(value))) {
13123
+ if (isArrayLike$9(value) && (isArray$p(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer$9(value) || isTypedArray$4(value) || isArguments$8(value))) {
13081
13124
  return !value.length;
13082
13125
  }
13083
- var tag = getTag$6(value);
13126
+ var tag = getTag$7(value);
13084
13127
  if (tag == mapTag$7 || tag == setTag$7) {
13085
13128
  return !value.size;
13086
13129
  }
@@ -13198,7 +13241,7 @@ function toArray$1(value) {
13198
13241
  if (symIterator && value[symIterator]) {
13199
13242
  return iteratorToArray(value[symIterator]());
13200
13243
  }
13201
- var tag = getTag$6(value), func = tag == mapTag$6 ? mapToArray$2 : tag == setTag$6 ? setToArray$2 : values;
13244
+ var tag = getTag$7(value), func = tag == mapTag$6 ? mapToArray$2 : tag == setTag$6 ? setToArray$2 : values;
13202
13245
  return func(value);
13203
13246
  }
13204
13247
  __name(toArray$1, "toArray$1");
@@ -13247,7 +13290,7 @@ function baseSet(object3, path2, value, customizer) {
13247
13290
  }
13248
13291
  if (index2 != lastIndex) {
13249
13292
  var objValue = nested[key];
13250
- newValue = void 0;
13293
+ newValue = customizer ? customizer(objValue, key, nested) : void 0;
13251
13294
  if (newValue === void 0) {
13252
13295
  newValue = isObject$e(objValue) ? objValue : isIndex$4(path2[index2 + 1]) ? [] : {};
13253
13296
  }
@@ -13357,7 +13400,7 @@ function orderBy$1(collection, iteratees, orders, guard) {
13357
13400
  if (!isArray$p(iteratees)) {
13358
13401
  iteratees = iteratees == null ? [] : [iteratees];
13359
13402
  }
13360
- orders = orders;
13403
+ orders = guard ? void 0 : orders;
13361
13404
  if (!isArray$p(orders)) {
13362
13405
  orders = orders == null ? [] : [orders];
13363
13406
  }
@@ -13449,7 +13492,7 @@ var nativeCeil = Math.ceil, nativeMax$2 = Math.max;
13449
13492
  function baseRange(start2, end2, step2, fromRight) {
13450
13493
  var index2 = -1, length = nativeMax$2(nativeCeil((end2 - start2) / (step2 || 1)), 0), result = Array(length);
13451
13494
  while (length--) {
13452
- result[++index2] = start2;
13495
+ result[fromRight ? length : ++index2] = start2;
13453
13496
  start2 += step2;
13454
13497
  }
13455
13498
  return result;
@@ -13468,7 +13511,7 @@ function createRange(fromRight) {
13468
13511
  end2 = toFinite$2(end2);
13469
13512
  }
13470
13513
  step2 = step2 === void 0 ? start2 < end2 ? 1 : -1 : toFinite$2(step2);
13471
- return baseRange(start2, end2, step2);
13514
+ return baseRange(start2, end2, step2, fromRight);
13472
13515
  };
13473
13516
  }
13474
13517
  __name(createRange, "createRange");
@@ -13482,7 +13525,7 @@ function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
13482
13525
  __name(baseReduce, "baseReduce");
13483
13526
  function reduce(collection, iteratee, accumulator) {
13484
13527
  var func = isArray$p(collection) ? arrayReduce : baseReduce, initAccum = arguments.length < 3;
13485
- return func(collection, baseIteratee$5(iteratee), accumulator, initAccum, baseEach$3);
13528
+ return func(collection, baseIteratee$5(iteratee), accumulator, initAccum, baseEach$4);
13486
13529
  }
13487
13530
  __name(reduce, "reduce");
13488
13531
  function remove$1(array2, predicate) {
@@ -13513,7 +13556,7 @@ var snakeCase = createCompounder(function(result, word, index2) {
13513
13556
  });
13514
13557
  function baseSome(collection, predicate) {
13515
13558
  var result;
13516
- baseEach$3(collection, function(value, index2, collection2) {
13559
+ baseEach$4(collection, function(value, index2, collection2) {
13517
13560
  result = predicate(value, index2, collection2);
13518
13561
  return !result;
13519
13562
  });
@@ -13522,6 +13565,9 @@ function baseSome(collection, predicate) {
13522
13565
  __name(baseSome, "baseSome");
13523
13566
  function some(collection, predicate, guard) {
13524
13567
  var func = isArray$p(collection) ? arraySome$2 : baseSome;
13568
+ if (guard && isIterateeCall$3(collection, predicate, guard)) {
13569
+ predicate = void 0;
13570
+ }
13525
13571
  return func(collection, baseIteratee$5(predicate));
13526
13572
  }
13527
13573
  __name(some, "some");
@@ -13535,7 +13581,7 @@ var sortBy$2 = baseRest$4(function(collection, iteratees) {
13535
13581
  } else if (length > 2 && isIterateeCall$3(iteratees[0], iteratees[1], iteratees[2])) {
13536
13582
  iteratees = [iteratees[0]];
13537
13583
  }
13538
- return baseOrderBy$2(collection, baseFlatten$4(iteratees), []);
13584
+ return baseOrderBy$2(collection, baseFlatten$4(iteratees, 1), []);
13539
13585
  });
13540
13586
  var startCase = createCompounder(function(result, word, index2) {
13541
13587
  return result + (index2 ? " " : "") + upperFirst(word);
@@ -13551,7 +13597,7 @@ function take(array2, n2, guard) {
13551
13597
  if (!(array2 && array2.length)) {
13552
13598
  return [];
13553
13599
  }
13554
- n2 = n2 === void 0 ? 1 : toInteger$5(n2);
13600
+ n2 = guard || n2 === void 0 ? 1 : toInteger$5(n2);
13555
13601
  return baseSlice$2(array2, 0, n2 < 0 ? 0 : n2);
13556
13602
  }
13557
13603
  __name(take, "take");
@@ -13597,7 +13643,10 @@ var createSet = !(Set$3 && 1 / setToArray$2(new Set$3([, -0]))[1] == INFINITY$4)
13597
13643
  var LARGE_ARRAY_SIZE$2 = 200;
13598
13644
  function baseUniq(array2, iteratee, comparator) {
13599
13645
  var index2 = -1, includes2 = arrayIncludes$2, length = array2.length, isCommon = true, result = [], seen = result;
13600
- if (length >= LARGE_ARRAY_SIZE$2) {
13646
+ if (comparator) {
13647
+ isCommon = false;
13648
+ includes2 = arrayIncludesWith$2;
13649
+ } else if (length >= LARGE_ARRAY_SIZE$2) {
13601
13650
  var set6 = iteratee ? null : createSet(array2);
13602
13651
  if (set6) {
13603
13652
  return setToArray$2(set6);
@@ -13611,7 +13660,7 @@ function baseUniq(array2, iteratee, comparator) {
13611
13660
  outer:
13612
13661
  while (++index2 < length) {
13613
13662
  var value = array2[index2], computed3 = iteratee ? iteratee(value) : value;
13614
- value = value !== 0 ? value : 0;
13663
+ value = comparator || value !== 0 ? value : 0;
13615
13664
  if (isCommon && computed3 === computed3) {
13616
13665
  var seenIndex = seen.length;
13617
13666
  while (seenIndex--) {
@@ -13868,7 +13917,7 @@ var withState = /* @__PURE__ */ __name(function withState2(stateName, stateUpdat
13868
13917
  }
13869
13918
  _this = _Component.call.apply(_Component, [this].concat(args)) || this;
13870
13919
  _this.state = {
13871
- stateValue: initialState2
13920
+ stateValue: typeof initialState2 === "function" ? initialState2(_this.props) : initialState2
13872
13921
  };
13873
13922
  _this.updateStateValue = function(updateFn, callback2) {
13874
13923
  return _this.setState(function(_ref) {
@@ -14232,10 +14281,10 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
14232
14281
  value
14233
14282
  };
14234
14283
  }, "_propertyDesc");
14235
- var dP$1 = require_objectDp();
14284
+ var dP$2 = require_objectDp();
14236
14285
  var createDesc$3 = _propertyDesc;
14237
14286
  var _hide = require_descriptors() ? function(object3, key, value) {
14238
- return dP$1.f(object3, key, createDesc$3(1, value));
14287
+ return dP$2.f(object3, key, createDesc$3(1, value));
14239
14288
  } : function(object3, key, value) {
14240
14289
  object3[key] = value;
14241
14290
  return object3;
@@ -14249,7 +14298,7 @@ var core$3 = _coreExports;
14249
14298
  var ctx$1 = _ctx;
14250
14299
  var hide$3 = _hide;
14251
14300
  var has$e = _has;
14252
- var PROTOTYPE$1 = "prototype";
14301
+ var PROTOTYPE$2 = "prototype";
14253
14302
  var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
14254
14303
  var IS_FORCED = type2 & $export$8.F;
14255
14304
  var IS_GLOBAL = type2 & $export$8.G;
@@ -14258,8 +14307,8 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
14258
14307
  var IS_BIND = type2 & $export$8.B;
14259
14308
  var IS_WRAP = type2 & $export$8.W;
14260
14309
  var exports2 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
14261
- var expProto = exports2[PROTOTYPE$1];
14262
- var target = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$1];
14310
+ var expProto = exports2[PROTOTYPE$2];
14311
+ var target = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$2];
14263
14312
  var key, own2, out;
14264
14313
  if (IS_GLOBAL)
14265
14314
  source = name2;
@@ -14283,7 +14332,7 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
14283
14332
  }
14284
14333
  return C.apply(this, arguments);
14285
14334
  }, "F");
14286
- F[PROTOTYPE$1] = C[PROTOTYPE$1];
14335
+ F[PROTOTYPE$2] = C[PROTOTYPE$2];
14287
14336
  return F;
14288
14337
  }(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
14289
14338
  if (IS_PROTO) {
@@ -14397,14 +14446,14 @@ var _sharedKey = /* @__PURE__ */ __name(function(key) {
14397
14446
  var has$d = _has;
14398
14447
  var toIObject$4 = _toIobject;
14399
14448
  var arrayIndexOf = _arrayIncludes$1(false);
14400
- var IE_PROTO$1 = _sharedKey("IE_PROTO");
14449
+ var IE_PROTO$2 = _sharedKey("IE_PROTO");
14401
14450
  var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
14402
14451
  var O2 = toIObject$4(object3);
14403
14452
  var i = 0;
14404
14453
  var result = [];
14405
14454
  var key;
14406
14455
  for (key in O2)
14407
- if (key != IE_PROTO$1)
14456
+ if (key != IE_PROTO$2)
14408
14457
  has$d(O2, key) && result.push(key);
14409
14458
  while (names2.length > i)
14410
14459
  if (has$d(O2, key = names2[i++])) {
@@ -14414,9 +14463,9 @@ var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
14414
14463
  }, "_objectKeysInternal");
14415
14464
  var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
14416
14465
  var $keys$3 = _objectKeysInternal;
14417
- var enumBugKeys = _enumBugKeys;
14466
+ var enumBugKeys$1 = _enumBugKeys;
14418
14467
  var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys(O2) {
14419
- return $keys$3(O2, enumBugKeys);
14468
+ return $keys$3(O2, enumBugKeys$1);
14420
14469
  }, "keys");
14421
14470
  var _objectGops = {};
14422
14471
  _objectGops.f = Object.getOwnPropertySymbols;
@@ -14506,28 +14555,19 @@ var _iterStep = /* @__PURE__ */ __name(function(done, value) {
14506
14555
  }, "_iterStep");
14507
14556
  var _iterators = {};
14508
14557
  var _redefine = _hide;
14509
- var _objectDps;
14510
- var hasRequired_objectDps;
14511
- function require_objectDps() {
14512
- if (hasRequired_objectDps)
14513
- return _objectDps;
14514
- hasRequired_objectDps = 1;
14515
- var dP2 = require_objectDp();
14516
- var anObject2 = _anObject;
14517
- var getKeys2 = _objectKeys;
14518
- _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties3(O2, Properties2) {
14519
- anObject2(O2);
14520
- var keys5 = getKeys2(Properties2);
14521
- var length = keys5.length;
14522
- var i = 0;
14523
- var P2;
14524
- while (length > i)
14525
- dP2.f(O2, P2 = keys5[i++], Properties2[P2]);
14526
- return O2;
14527
- }, "defineProperties");
14528
- return _objectDps;
14529
- }
14530
- __name(require_objectDps, "require_objectDps");
14558
+ var dP$1 = require_objectDp();
14559
+ var anObject$4 = _anObject;
14560
+ var getKeys$1 = _objectKeys;
14561
+ var _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties(O2, Properties2) {
14562
+ anObject$4(O2);
14563
+ var keys5 = getKeys$1(Properties2);
14564
+ var length = keys5.length;
14565
+ var i = 0;
14566
+ var P2;
14567
+ while (length > i)
14568
+ dP$1.f(O2, P2 = keys5[i++], Properties2[P2]);
14569
+ return O2;
14570
+ }, "defineProperties");
14531
14571
  var _html;
14532
14572
  var hasRequired_html;
14533
14573
  function require_html() {
@@ -14539,51 +14579,42 @@ function require_html() {
14539
14579
  return _html;
14540
14580
  }
14541
14581
  __name(require_html, "require_html");
14542
- var _objectCreate;
14543
- var hasRequired_objectCreate;
14544
- function require_objectCreate() {
14545
- if (hasRequired_objectCreate)
14546
- return _objectCreate;
14547
- hasRequired_objectCreate = 1;
14548
- var anObject2 = _anObject;
14549
- var dPs = require_objectDps();
14550
- var enumBugKeys2 = _enumBugKeys;
14551
- var IE_PROTO2 = _sharedKey("IE_PROTO");
14552
- var Empty = /* @__PURE__ */ __name(function() {
14553
- }, "Empty");
14554
- var PROTOTYPE2 = "prototype";
14555
- var createDict = /* @__PURE__ */ __name(function() {
14556
- var iframe = require_domCreate()("iframe");
14557
- var i = enumBugKeys2.length;
14558
- var lt = "<";
14559
- var gt = ">";
14560
- var iframeDocument;
14561
- iframe.style.display = "none";
14562
- require_html().appendChild(iframe);
14563
- iframe.src = "javascript:";
14564
- iframeDocument = iframe.contentWindow.document;
14565
- iframeDocument.open();
14566
- iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
14567
- iframeDocument.close();
14568
- createDict = iframeDocument.F;
14569
- while (i--)
14570
- delete createDict[PROTOTYPE2][enumBugKeys2[i]];
14571
- return createDict();
14572
- }, "createDict");
14573
- _objectCreate = Object.create || /* @__PURE__ */ __name(function create5(O2, Properties2) {
14574
- var result;
14575
- if (O2 !== null) {
14576
- Empty[PROTOTYPE2] = anObject2(O2);
14577
- result = new Empty();
14578
- Empty[PROTOTYPE2] = null;
14579
- result[IE_PROTO2] = O2;
14580
- } else
14581
- result = createDict();
14582
- return Properties2 === void 0 ? result : dPs(result, Properties2);
14583
- }, "create");
14584
- return _objectCreate;
14585
- }
14586
- __name(require_objectCreate, "require_objectCreate");
14582
+ var anObject$3 = _anObject;
14583
+ var dPs = _objectDps;
14584
+ var enumBugKeys = _enumBugKeys;
14585
+ var IE_PROTO$1 = _sharedKey("IE_PROTO");
14586
+ var Empty = /* @__PURE__ */ __name(function() {
14587
+ }, "Empty");
14588
+ var PROTOTYPE$1 = "prototype";
14589
+ var createDict = /* @__PURE__ */ __name(function() {
14590
+ var iframe = require_domCreate()("iframe");
14591
+ var i = enumBugKeys.length;
14592
+ var lt = "<";
14593
+ var gt = ">";
14594
+ var iframeDocument;
14595
+ iframe.style.display = "none";
14596
+ require_html().appendChild(iframe);
14597
+ iframe.src = "javascript:";
14598
+ iframeDocument = iframe.contentWindow.document;
14599
+ iframeDocument.open();
14600
+ iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
14601
+ iframeDocument.close();
14602
+ createDict = iframeDocument.F;
14603
+ while (i--)
14604
+ delete createDict[PROTOTYPE$1][enumBugKeys[i]];
14605
+ return createDict();
14606
+ }, "createDict");
14607
+ var _objectCreate = Object.create || /* @__PURE__ */ __name(function create(O2, Properties2) {
14608
+ var result;
14609
+ if (O2 !== null) {
14610
+ Empty[PROTOTYPE$1] = anObject$3(O2);
14611
+ result = new Empty();
14612
+ Empty[PROTOTYPE$1] = null;
14613
+ result[IE_PROTO$1] = O2;
14614
+ } else
14615
+ result = createDict();
14616
+ return Properties2 === void 0 ? result : dPs(result, Properties2);
14617
+ }, "create");
14587
14618
  var _wks = { exports: {} };
14588
14619
  var store$2 = _sharedExports("wks");
14589
14620
  var uid$1 = _uid;
@@ -14601,7 +14632,7 @@ var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
14601
14632
  if (it && !has$c(it = stat ? it : it.prototype, TAG$1))
14602
14633
  def(it, TAG$1, { configurable: true, value: tag });
14603
14634
  }, "_setToStringTag");
14604
- var create$4 = require_objectCreate();
14635
+ var create$4 = _objectCreate;
14605
14636
  var descriptor = _propertyDesc;
14606
14637
  var setToStringTag$2 = _setToStringTag;
14607
14638
  var IteratorPrototype = {};
@@ -14867,11 +14898,11 @@ var ArrayProto = Array.prototype;
14867
14898
  var _isArrayIter = /* @__PURE__ */ __name(function(it) {
14868
14899
  return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
14869
14900
  }, "_isArrayIter");
14870
- var $defineProperty$3 = require_objectDp();
14901
+ var $defineProperty$4 = require_objectDp();
14871
14902
  var createDesc$2 = _propertyDesc;
14872
14903
  var _createProperty = /* @__PURE__ */ __name(function(object3, index2, value) {
14873
14904
  if (index2 in object3)
14874
- $defineProperty$3.f(object3, index2, createDesc$2(0, value));
14905
+ $defineProperty$4.f(object3, index2, createDesc$2(0, value));
14875
14906
  else
14876
14907
  object3[index2] = value;
14877
14908
  }, "_createProperty");
@@ -15009,7 +15040,7 @@ function _interopRequireDefault$c(obj) {
15009
15040
  }
15010
15041
  __name(_interopRequireDefault$c, "_interopRequireDefault$c");
15011
15042
  var _default$7 = /* @__PURE__ */ function() {
15012
- function defineProperties3(target, props) {
15043
+ function defineProperties4(target, props) {
15013
15044
  for (var i = 0; i < props.length; i++) {
15014
15045
  var descriptor2 = props[i];
15015
15046
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -15019,12 +15050,12 @@ var _default$7 = /* @__PURE__ */ function() {
15019
15050
  (0, _defineProperty2.default)(target, descriptor2.key, descriptor2);
15020
15051
  }
15021
15052
  }
15022
- __name(defineProperties3, "defineProperties");
15053
+ __name(defineProperties4, "defineProperties");
15023
15054
  return function(Constructor, protoProps, staticProps) {
15024
15055
  if (protoProps)
15025
- defineProperties3(Constructor.prototype, protoProps);
15056
+ defineProperties4(Constructor.prototype, protoProps);
15026
15057
  if (staticProps)
15027
- defineProperties3(Constructor, staticProps);
15058
+ defineProperties4(Constructor, staticProps);
15028
15059
  return Constructor;
15029
15060
  };
15030
15061
  }();
@@ -15053,23 +15084,23 @@ var setMeta = /* @__PURE__ */ __name(function(it) {
15053
15084
  // weak collections IDs
15054
15085
  } });
15055
15086
  }, "setMeta");
15056
- var fastKey = /* @__PURE__ */ __name(function(it, create5) {
15087
+ var fastKey = /* @__PURE__ */ __name(function(it, create6) {
15057
15088
  if (!isObject$b(it))
15058
15089
  return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it;
15059
15090
  if (!has$a(it, META$1)) {
15060
15091
  if (!isExtensible(it))
15061
15092
  return "F";
15062
- if (!create5)
15093
+ if (!create6)
15063
15094
  return "E";
15064
15095
  setMeta(it);
15065
15096
  }
15066
15097
  return it[META$1].i;
15067
15098
  }, "fastKey");
15068
- var getWeak = /* @__PURE__ */ __name(function(it, create5) {
15099
+ var getWeak = /* @__PURE__ */ __name(function(it, create6) {
15069
15100
  if (!has$a(it, META$1)) {
15070
15101
  if (!isExtensible(it))
15071
15102
  return true;
15072
- if (!create5)
15103
+ if (!create6)
15073
15104
  return false;
15074
15105
  setMeta(it);
15075
15106
  }
@@ -15178,7 +15209,7 @@ var toObject$1 = _toObject;
15178
15209
  var toIObject = _toIobject;
15179
15210
  var toPrimitive = _toPrimitive$1;
15180
15211
  var createDesc = _propertyDesc;
15181
- var _create$1 = require_objectCreate();
15212
+ var _create$1 = _objectCreate;
15182
15213
  var gOPNExt = _objectGopnExt;
15183
15214
  var $GOPD = _objectGopd;
15184
15215
  var $GOPS = _objectGops;
@@ -15225,9 +15256,9 @@ var isSymbol$7 = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it
15225
15256
  } : function(it) {
15226
15257
  return it instanceof $Symbol;
15227
15258
  };
15228
- var $defineProperty$2 = /* @__PURE__ */ __name(function defineProperty3(it, key, D2) {
15259
+ var $defineProperty$3 = /* @__PURE__ */ __name(function defineProperty3(it, key, D2) {
15229
15260
  if (it === ObjectProto)
15230
- $defineProperty$2(OPSymbols, key, D2);
15261
+ $defineProperty$3(OPSymbols, key, D2);
15231
15262
  anObject(it);
15232
15263
  key = toPrimitive(key, true);
15233
15264
  anObject(D2);
@@ -15245,17 +15276,17 @@ var $defineProperty$2 = /* @__PURE__ */ __name(function defineProperty3(it, key,
15245
15276
  }
15246
15277
  return dP(it, key, D2);
15247
15278
  }, "defineProperty");
15248
- var $defineProperties = /* @__PURE__ */ __name(function defineProperties(it, P2) {
15279
+ var $defineProperties = /* @__PURE__ */ __name(function defineProperties2(it, P2) {
15249
15280
  anObject(it);
15250
15281
  var keys5 = enumKeys(P2 = toIObject(P2));
15251
15282
  var i = 0;
15252
15283
  var l2 = keys5.length;
15253
15284
  var key;
15254
15285
  while (l2 > i)
15255
- $defineProperty$2(it, key = keys5[i++], P2[key]);
15286
+ $defineProperty$3(it, key = keys5[i++], P2[key]);
15256
15287
  return it;
15257
15288
  }, "defineProperties");
15258
- var $create = /* @__PURE__ */ __name(function create(it, P2) {
15289
+ var $create = /* @__PURE__ */ __name(function create2(it, P2) {
15259
15290
  return P2 === void 0 ? _create$1(it) : $defineProperties(_create$1(it), P2);
15260
15291
  }, "create");
15261
15292
  var $propertyIsEnumerable = /* @__PURE__ */ __name(function propertyIsEnumerable(key) {
@@ -15317,7 +15348,7 @@ if (!USE_NATIVE) {
15317
15348
  return this._k;
15318
15349
  }, "toString"));
15319
15350
  $GOPD.f = $getOwnPropertyDescriptor;
15320
- $DP.f = $defineProperty$2;
15351
+ $DP.f = $defineProperty$3;
15321
15352
  _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
15322
15353
  require_objectPie().f = $propertyIsEnumerable;
15323
15354
  $GOPS.f = $getOwnPropertySymbols;
@@ -15360,7 +15391,7 @@ $export$2($export$2.S + $export$2.F * !USE_NATIVE, "Object", {
15360
15391
  // 19.1.2.2 Object.create(O [, Properties])
15361
15392
  create: $create,
15362
15393
  // 19.1.2.4 Object.defineProperty(O, P, Attributes)
15363
- defineProperty: $defineProperty$2,
15394
+ defineProperty: $defineProperty$3,
15364
15395
  // 19.1.2.3 Object.defineProperties(O, Properties)
15365
15396
  defineProperties: $defineProperties,
15366
15397
  // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
@@ -15485,9 +15516,9 @@ $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
15485
15516
  var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
15486
15517
  var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
15487
15518
  var $export = _export;
15488
- $export($export.S, "Object", { create: require_objectCreate() });
15519
+ $export($export.S, "Object", { create: _objectCreate });
15489
15520
  var $Object$2 = _coreExports.Object;
15490
- var create$3 = /* @__PURE__ */ __name(function create2(P2, D2) {
15521
+ var create$3 = /* @__PURE__ */ __name(function create3(P2, D2) {
15491
15522
  return $Object$2.create(P2, D2);
15492
15523
  }, "create");
15493
15524
  var create$2 = { "default": create$3, __esModule: true };
@@ -18688,6 +18719,8 @@ var reactList = {};
18688
18719
  function _createClass2(Constructor, protoProps, staticProps) {
18689
18720
  if (protoProps)
18690
18721
  _defineProperties2(Constructor.prototype, protoProps);
18722
+ if (staticProps)
18723
+ _defineProperties2(Constructor, staticProps);
18691
18724
  return Constructor;
18692
18725
  }
18693
18726
  __name(_createClass2, "_createClass");
@@ -19572,7 +19605,7 @@ function normalizeComponent(Comp) {
19572
19605
  }
19573
19606
  __name(normalizeComponent, "normalizeComponent");
19574
19607
  var _createClass$d = /* @__PURE__ */ function() {
19575
- function defineProperties3(target, props) {
19608
+ function defineProperties4(target, props) {
19576
19609
  for (var i = 0; i < props.length; i++) {
19577
19610
  var descriptor2 = props[i];
19578
19611
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -19582,12 +19615,12 @@ var _createClass$d = /* @__PURE__ */ function() {
19582
19615
  Object.defineProperty(target, descriptor2.key, descriptor2);
19583
19616
  }
19584
19617
  }
19585
- __name(defineProperties3, "defineProperties");
19618
+ __name(defineProperties4, "defineProperties");
19586
19619
  return function(Constructor, protoProps, staticProps) {
19587
19620
  if (protoProps)
19588
- defineProperties3(Constructor.prototype, protoProps);
19621
+ defineProperties4(Constructor.prototype, protoProps);
19589
19622
  if (staticProps)
19590
- defineProperties3(Constructor, staticProps);
19623
+ defineProperties4(Constructor, staticProps);
19591
19624
  return Constructor;
19592
19625
  };
19593
19626
  }();
@@ -19748,7 +19781,7 @@ var _extends$o = Object.assign || function(target) {
19748
19781
  return target;
19749
19782
  };
19750
19783
  var _createClass$c = /* @__PURE__ */ function() {
19751
- function defineProperties3(target, props) {
19784
+ function defineProperties4(target, props) {
19752
19785
  for (var i = 0; i < props.length; i++) {
19753
19786
  var descriptor2 = props[i];
19754
19787
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -19758,12 +19791,12 @@ var _createClass$c = /* @__PURE__ */ function() {
19758
19791
  Object.defineProperty(target, descriptor2.key, descriptor2);
19759
19792
  }
19760
19793
  }
19761
- __name(defineProperties3, "defineProperties");
19794
+ __name(defineProperties4, "defineProperties");
19762
19795
  return function(Constructor, protoProps, staticProps) {
19763
19796
  if (protoProps)
19764
- defineProperties3(Constructor.prototype, protoProps);
19797
+ defineProperties4(Constructor.prototype, protoProps);
19765
19798
  if (staticProps)
19766
- defineProperties3(Constructor, staticProps);
19799
+ defineProperties4(Constructor, staticProps);
19767
19800
  return Constructor;
19768
19801
  };
19769
19802
  }();
@@ -20354,7 +20387,7 @@ const Methods = /* @__PURE__ */ __name(function(Base) {
20354
20387
  }(Base);
20355
20388
  }, "Methods");
20356
20389
  var _createClass$b = /* @__PURE__ */ function() {
20357
- function defineProperties3(target, props) {
20390
+ function defineProperties4(target, props) {
20358
20391
  for (var i = 0; i < props.length; i++) {
20359
20392
  var descriptor2 = props[i];
20360
20393
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -20364,12 +20397,12 @@ var _createClass$b = /* @__PURE__ */ function() {
20364
20397
  Object.defineProperty(target, descriptor2.key, descriptor2);
20365
20398
  }
20366
20399
  }
20367
- __name(defineProperties3, "defineProperties");
20400
+ __name(defineProperties4, "defineProperties");
20368
20401
  return function(Constructor, protoProps, staticProps) {
20369
20402
  if (protoProps)
20370
- defineProperties3(Constructor.prototype, protoProps);
20403
+ defineProperties4(Constructor.prototype, protoProps);
20371
20404
  if (staticProps)
20372
- defineProperties3(Constructor, staticProps);
20405
+ defineProperties4(Constructor, staticProps);
20373
20406
  return Constructor;
20374
20407
  };
20375
20408
  }();
@@ -21141,7 +21174,7 @@ var _extends$l = Object.assign || function(target) {
21141
21174
  return target;
21142
21175
  };
21143
21176
  var _createClass$a = /* @__PURE__ */ function() {
21144
- function defineProperties3(target, props) {
21177
+ function defineProperties4(target, props) {
21145
21178
  for (var i = 0; i < props.length; i++) {
21146
21179
  var descriptor2 = props[i];
21147
21180
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -21151,12 +21184,12 @@ var _createClass$a = /* @__PURE__ */ function() {
21151
21184
  Object.defineProperty(target, descriptor2.key, descriptor2);
21152
21185
  }
21153
21186
  }
21154
- __name(defineProperties3, "defineProperties");
21187
+ __name(defineProperties4, "defineProperties");
21155
21188
  return function(Constructor, protoProps, staticProps) {
21156
21189
  if (protoProps)
21157
- defineProperties3(Constructor.prototype, protoProps);
21190
+ defineProperties4(Constructor.prototype, protoProps);
21158
21191
  if (staticProps)
21159
- defineProperties3(Constructor, staticProps);
21192
+ defineProperties4(Constructor, staticProps);
21160
21193
  return Constructor;
21161
21194
  };
21162
21195
  }();
@@ -23350,7 +23383,7 @@ function looksLikeAVFileValue(value) {
23350
23383
  __name(looksLikeAVFileValue, "looksLikeAVFileValue");
23351
23384
  const emptyOptions = {};
23352
23385
  function toString$1(value, options) {
23353
- const settings = emptyOptions;
23386
+ const settings = options || emptyOptions;
23354
23387
  const includeImageAlt = typeof settings.includeImageAlt === "boolean" ? settings.includeImageAlt : true;
23355
23388
  const includeHtml = typeof settings.includeHtml === "boolean" ? settings.includeHtml : true;
23356
23389
  return one$1(value, includeImageAlt, includeHtml);
@@ -27480,21 +27513,21 @@ function parse$7(options) {
27480
27513
  defined: [],
27481
27514
  lazy: {},
27482
27515
  constructs: constructs2,
27483
- content: create5(content$1),
27484
- document: create5(document$2),
27485
- flow: create5(flow$1),
27486
- string: create5(string$1),
27487
- text: create5(text$3)
27516
+ content: create6(content$1),
27517
+ document: create6(document$2),
27518
+ flow: create6(flow$1),
27519
+ string: create6(string$1),
27520
+ text: create6(text$3)
27488
27521
  };
27489
27522
  return parser;
27490
- function create5(initial) {
27523
+ function create6(initial) {
27491
27524
  return creator;
27492
27525
  function creator(from3) {
27493
27526
  return createTokenizer(parser, initial, from3);
27494
27527
  }
27495
27528
  __name(creator, "creator");
27496
27529
  }
27497
- __name(create5, "create");
27530
+ __name(create6, "create");
27498
27531
  }
27499
27532
  __name(parse$7, "parse$7");
27500
27533
  const search$1 = /[\0\t\n\r]/g;
@@ -27905,10 +27938,10 @@ function compiler(options) {
27905
27938
  return data[key];
27906
27939
  }
27907
27940
  __name(getData, "getData");
27908
- function opener(create5, and) {
27941
+ function opener(create6, and) {
27909
27942
  return open2;
27910
27943
  function open2(token) {
27911
- enter2.call(this, create5(token), token);
27944
+ enter2.call(this, create6(token), token);
27912
27945
  if (and)
27913
27946
  and.call(this, token);
27914
27947
  }
@@ -29546,6 +29579,7 @@ const remarkRehype = (
29546
29579
  return destination && "run" in destination ? bridge(destination, options) : mutate(destination || options);
29547
29580
  }, "remarkRehype")
29548
29581
  );
29582
+ const remarkRehype$1 = remarkRehype;
29549
29583
  function bridge(destination, options) {
29550
29584
  return (node2, file, next) => {
29551
29585
  destination.run(toHast(node2, options), file, (error) => {
@@ -30922,7 +30956,7 @@ function stringify$3(values3) {
30922
30956
  }
30923
30957
  __name(stringify$3, "stringify$3");
30924
30958
  function stringify$2(values3, options) {
30925
- const settings = {};
30959
+ const settings = options || {};
30926
30960
  const input = values3[values3.length - 1] === "" ? [...values3, ""] : values3;
30927
30961
  return input.join(
30928
30962
  (settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")
@@ -31343,7 +31377,7 @@ function ReactMarkdown(options) {
31343
31377
  delete deprecated[key];
31344
31378
  }
31345
31379
  }
31346
- const processor = unified().use(remarkParse).use(options.remarkPlugins || []).use(remarkRehype, __spreadProps(__spreadValues({}, options.remarkRehypeOptions), {
31380
+ const processor = unified().use(remarkParse).use(options.remarkPlugins || []).use(remarkRehype$1, __spreadProps(__spreadValues({}, options.remarkRehypeOptions), {
31347
31381
  allowDangerousHtml: true
31348
31382
  })).use(options.rehypePlugins || []).use(rehypeFilter, options);
31349
31383
  const file = new VFile();
@@ -36107,8 +36141,9 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36107
36141
  }
36108
36142
  render() {
36109
36143
  var _b2;
36110
- const _a2 = this.props, {
36144
+ let _a2 = this.props, {
36111
36145
  multi,
36146
+ asTag,
36112
36147
  options,
36113
36148
  unfilteredOptions,
36114
36149
  value,
@@ -36121,6 +36156,10 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36121
36156
  noResultsText,
36122
36157
  noResults: _noResults,
36123
36158
  inputProps,
36159
+ backgroundColor,
36160
+ doNotFillWidth,
36161
+ noToggle,
36162
+ small,
36124
36163
  placeholder,
36125
36164
  isLoading,
36126
36165
  disallowClear,
@@ -36132,6 +36171,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36132
36171
  renderCreateNewOption: _renderCreateNewOption = renderCreateNewOption$1
36133
36172
  } = _a2, rest = __objRest(_a2, [
36134
36173
  "multi",
36174
+ "asTag",
36135
36175
  "options",
36136
36176
  "unfilteredOptions",
36137
36177
  "value",
@@ -36145,6 +36185,10 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36145
36185
  "noResultsText",
36146
36186
  "noResults",
36147
36187
  "inputProps",
36188
+ "backgroundColor",
36189
+ "doNotFillWidth",
36190
+ "noToggle",
36191
+ "small",
36148
36192
  "placeholder",
36149
36193
  "isLoading",
36150
36194
  "disallowClear",
@@ -36155,6 +36199,14 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36155
36199
  "resetOnSelect",
36156
36200
  "renderCreateNewOption"
36157
36201
  ]);
36202
+ if (asTag) {
36203
+ small = true;
36204
+ placeholder = " ";
36205
+ backgroundColor = "red";
36206
+ disallowClear = true;
36207
+ doNotFillWidth = true;
36208
+ noToggle = true;
36209
+ }
36158
36210
  let noResults = _noResults;
36159
36211
  if (noResults === void 0)
36160
36212
  noResults = noResultsDefault;
@@ -36168,7 +36220,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36168
36220
  minimal: true,
36169
36221
  onClick: this.handleClear
36170
36222
  }
36171
- ), noResults !== null && /* @__PURE__ */ React__default$1.createElement(
36223
+ ), noResults !== null && !noToggle && /* @__PURE__ */ React__default$1.createElement(
36172
36224
  Button,
36173
36225
  {
36174
36226
  onClick: (e2) => {
@@ -36192,7 +36244,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36192
36244
  (opt) => opt && opt.value === (value2 && value2.value || value2)
36193
36245
  );
36194
36246
  });
36195
- return /* @__PURE__ */ React__default$1.createElement(
36247
+ const toRet = /* @__PURE__ */ React__default$1.createElement(
36196
36248
  MultiSelect,
36197
36249
  __spreadValues(__spreadValues({
36198
36250
  onActiveItemChange: this.handleActiveItemChange,
@@ -36206,7 +36258,10 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36206
36258
  captureDismiss: true,
36207
36259
  minimal: true,
36208
36260
  className: classNames("tg-select", "tg-stop-dialog-form-enter", {
36209
- "tg-single-select": !multi
36261
+ "tg-single-select": !multi,
36262
+ "tg-select-as-tag": asTag,
36263
+ "do-not-fill-width": doNotFillWidth,
36264
+ "tg-small": small
36210
36265
  }),
36211
36266
  wrapperTagName: "div",
36212
36267
  canEscapeKeyClose: true,
@@ -36261,6 +36316,23 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36261
36316
  })
36262
36317
  }), rest)
36263
36318
  );
36319
+ if (backgroundColor) {
36320
+ return /* @__PURE__ */ React__default$1.createElement(
36321
+ "div",
36322
+ {
36323
+ style: {
36324
+ backgroundColor,
36325
+ borderRadius: "4px 4px 4px 4px",
36326
+ overflow: "hidden",
36327
+ width: "fit-content",
36328
+ color: "white",
36329
+ border: "2px solid white"
36330
+ }
36331
+ },
36332
+ toRet
36333
+ );
36334
+ }
36335
+ return toRet;
36264
36336
  }
36265
36337
  };
36266
36338
  __name(_TgSelect, "TgSelect");
@@ -36842,7 +36914,7 @@ var concatty = /* @__PURE__ */ __name(function concatty2(a2, b3) {
36842
36914
  }, "concatty");
36843
36915
  var slicy = /* @__PURE__ */ __name(function slicy2(arrLike, offset4) {
36844
36916
  var arr = [];
36845
- for (var i = offset4, j = 0; i < arrLike.length; i += 1, j += 1) {
36917
+ for (var i = offset4 || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
36846
36918
  arr[j] = arrLike[i];
36847
36919
  }
36848
36920
  return arr;
@@ -36887,11 +36959,11 @@ var implementation$8 = /* @__PURE__ */ __name(function bind(that) {
36887
36959
  }
36888
36960
  bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
36889
36961
  if (target.prototype) {
36890
- var Empty = /* @__PURE__ */ __name(function Empty2() {
36962
+ var Empty2 = /* @__PURE__ */ __name(function Empty3() {
36891
36963
  }, "Empty");
36892
- Empty.prototype = target.prototype;
36893
- bound.prototype = new Empty();
36894
- Empty.prototype = null;
36964
+ Empty2.prototype = target.prototype;
36965
+ bound.prototype = new Empty2();
36966
+ Empty2.prototype = null;
36895
36967
  }
36896
36968
  return bound;
36897
36969
  }, "bind");
@@ -37208,25 +37280,16 @@ var getIntrinsic = /* @__PURE__ */ __name(function GetIntrinsic(name2, allowMiss
37208
37280
  return value;
37209
37281
  }, "GetIntrinsic");
37210
37282
  var callBind$3 = { exports: {} };
37211
- var esDefineProperty;
37212
- var hasRequiredEsDefineProperty;
37213
- function requireEsDefineProperty() {
37214
- if (hasRequiredEsDefineProperty)
37215
- return esDefineProperty;
37216
- hasRequiredEsDefineProperty = 1;
37217
- var GetIntrinsic3 = getIntrinsic;
37218
- var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
37219
- if ($defineProperty2) {
37220
- try {
37221
- $defineProperty2({}, "a", { value: 1 });
37222
- } catch (e2) {
37223
- $defineProperty2 = false;
37224
- }
37283
+ var GetIntrinsic$4 = getIntrinsic;
37284
+ var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
37285
+ if ($defineProperty$2) {
37286
+ try {
37287
+ $defineProperty$2({}, "a", { value: 1 });
37288
+ } catch (e2) {
37289
+ $defineProperty$2 = false;
37225
37290
  }
37226
- esDefineProperty = $defineProperty2;
37227
- return esDefineProperty;
37228
37291
  }
37229
- __name(requireEsDefineProperty, "requireEsDefineProperty");
37292
+ var esDefineProperty = $defineProperty$2;
37230
37293
  var GetIntrinsic$3 = getIntrinsic;
37231
37294
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
37232
37295
  if ($gOPD$1) {
@@ -37237,7 +37300,7 @@ if ($gOPD$1) {
37237
37300
  }
37238
37301
  }
37239
37302
  var gopd$1 = $gOPD$1;
37240
- var $defineProperty$1 = requireEsDefineProperty();
37303
+ var $defineProperty$1 = esDefineProperty;
37241
37304
  var $SyntaxError = syntax;
37242
37305
  var $TypeError$4 = type$1;
37243
37306
  var gopd = gopd$1;
@@ -37278,7 +37341,7 @@ var defineDataProperty$1 = /* @__PURE__ */ __name(function defineDataProperty(ob
37278
37341
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
37279
37342
  }
37280
37343
  }, "defineDataProperty");
37281
- var $defineProperty = requireEsDefineProperty();
37344
+ var $defineProperty = esDefineProperty;
37282
37345
  var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
37283
37346
  return !!$defineProperty;
37284
37347
  }, "hasPropertyDescriptors");
@@ -37347,7 +37410,7 @@ var setFunctionLength = /* @__PURE__ */ __name(function setFunctionLength2(fn4,
37347
37410
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
37348
37411
  var $call = GetIntrinsic3("%Function.prototype.call%");
37349
37412
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
37350
- var $defineProperty2 = requireEsDefineProperty();
37413
+ var $defineProperty2 = esDefineProperty;
37351
37414
  var $max = GetIntrinsic3("%Math.max%");
37352
37415
  module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
37353
37416
  if (typeof originalFunction !== "function") {
@@ -39092,12 +39155,20 @@ function getSubFilter(qb, selectedFilter, filterValue) {
39092
39155
  __name(getSubFilter, "getSubFilter");
39093
39156
  function getCurrentParamsFromUrl(location2, isSimple) {
39094
39157
  let { search: search2 } = location2;
39158
+ if (isSimple) {
39159
+ search2 = window.location.href.split("?")[1] || "";
39160
+ }
39095
39161
  return parseFilters(queryString.parse(search2, { ignoreQueryPrefix: true }));
39096
39162
  }
39097
39163
  __name(getCurrentParamsFromUrl, "getCurrentParamsFromUrl");
39098
39164
  function setCurrentParamsOnUrl(newParams, replace3, isSimple) {
39099
39165
  const stringifiedFilters = stringifyFilters(newParams);
39100
39166
  const search2 = `?${queryString.stringify(stringifiedFilters)}`;
39167
+ if (isSimple) {
39168
+ return window.location.replace(
39169
+ `${window.location.href.split("?")[0]}${search2}`
39170
+ );
39171
+ }
39101
39172
  replace3({
39102
39173
  search: search2
39103
39174
  });
@@ -41243,7 +41314,7 @@ var _extends$f = Object.assign || function(target) {
41243
41314
  return target;
41244
41315
  };
41245
41316
  var _createClass$9 = /* @__PURE__ */ function() {
41246
- function defineProperties3(target, props) {
41317
+ function defineProperties4(target, props) {
41247
41318
  for (var i = 0; i < props.length; i++) {
41248
41319
  var descriptor2 = props[i];
41249
41320
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -41253,12 +41324,12 @@ var _createClass$9 = /* @__PURE__ */ function() {
41253
41324
  Object.defineProperty(target, descriptor2.key, descriptor2);
41254
41325
  }
41255
41326
  }
41256
- __name(defineProperties3, "defineProperties");
41327
+ __name(defineProperties4, "defineProperties");
41257
41328
  return function(Constructor, protoProps, staticProps) {
41258
41329
  if (protoProps)
41259
- defineProperties3(Constructor.prototype, protoProps);
41330
+ defineProperties4(Constructor.prototype, protoProps);
41260
41331
  if (staticProps)
41261
- defineProperties3(Constructor, staticProps);
41332
+ defineProperties4(Constructor, staticProps);
41262
41333
  return Constructor;
41263
41334
  };
41264
41335
  }();
@@ -41400,7 +41471,7 @@ var Alpha = function(_ref) {
41400
41471
  return Alpha2;
41401
41472
  }(PureComponent || Component);
41402
41473
  var _createClass$8 = /* @__PURE__ */ function() {
41403
- function defineProperties3(target, props) {
41474
+ function defineProperties4(target, props) {
41404
41475
  for (var i = 0; i < props.length; i++) {
41405
41476
  var descriptor2 = props[i];
41406
41477
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -41410,12 +41481,12 @@ var _createClass$8 = /* @__PURE__ */ function() {
41410
41481
  Object.defineProperty(target, descriptor2.key, descriptor2);
41411
41482
  }
41412
41483
  }
41413
- __name(defineProperties3, "defineProperties");
41484
+ __name(defineProperties4, "defineProperties");
41414
41485
  return function(Constructor, protoProps, staticProps) {
41415
41486
  if (protoProps)
41416
- defineProperties3(Constructor.prototype, protoProps);
41487
+ defineProperties4(Constructor.prototype, protoProps);
41417
41488
  if (staticProps)
41418
- defineProperties3(Constructor, staticProps);
41489
+ defineProperties4(Constructor, staticProps);
41419
41490
  return Constructor;
41420
41491
  };
41421
41492
  }();
@@ -41648,7 +41719,7 @@ var calculateChange$1 = /* @__PURE__ */ __name(function calculateChange2(e2, dir
41648
41719
  return null;
41649
41720
  }, "calculateChange");
41650
41721
  var _createClass$7 = /* @__PURE__ */ function() {
41651
- function defineProperties3(target, props) {
41722
+ function defineProperties4(target, props) {
41652
41723
  for (var i = 0; i < props.length; i++) {
41653
41724
  var descriptor2 = props[i];
41654
41725
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -41658,12 +41729,12 @@ var _createClass$7 = /* @__PURE__ */ function() {
41658
41729
  Object.defineProperty(target, descriptor2.key, descriptor2);
41659
41730
  }
41660
41731
  }
41661
- __name(defineProperties3, "defineProperties");
41732
+ __name(defineProperties4, "defineProperties");
41662
41733
  return function(Constructor, protoProps, staticProps) {
41663
41734
  if (protoProps)
41664
- defineProperties3(Constructor.prototype, protoProps);
41735
+ defineProperties4(Constructor.prototype, protoProps);
41665
41736
  if (staticProps)
41666
- defineProperties3(Constructor, staticProps);
41737
+ defineProperties4(Constructor, staticProps);
41667
41738
  return Constructor;
41668
41739
  };
41669
41740
  }();
@@ -41900,7 +41971,7 @@ var calculateChange3 = /* @__PURE__ */ __name(function calculateChange4(e2, hsl,
41900
41971
  };
41901
41972
  }, "calculateChange");
41902
41973
  var _createClass$6 = /* @__PURE__ */ function() {
41903
- function defineProperties3(target, props) {
41974
+ function defineProperties4(target, props) {
41904
41975
  for (var i = 0; i < props.length; i++) {
41905
41976
  var descriptor2 = props[i];
41906
41977
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -41910,12 +41981,12 @@ var _createClass$6 = /* @__PURE__ */ function() {
41910
41981
  Object.defineProperty(target, descriptor2.key, descriptor2);
41911
41982
  }
41912
41983
  }
41913
- __name(defineProperties3, "defineProperties");
41984
+ __name(defineProperties4, "defineProperties");
41914
41985
  return function(Constructor, protoProps, staticProps) {
41915
41986
  if (protoProps)
41916
- defineProperties3(Constructor.prototype, protoProps);
41987
+ defineProperties4(Constructor.prototype, protoProps);
41917
41988
  if (staticProps)
41918
- defineProperties3(Constructor, staticProps);
41989
+ defineProperties4(Constructor, staticProps);
41919
41990
  return Constructor;
41920
41991
  };
41921
41992
  }();
@@ -43153,7 +43224,7 @@ var _extends$e = Object.assign || function(target) {
43153
43224
  return target;
43154
43225
  };
43155
43226
  var _createClass$5 = /* @__PURE__ */ function() {
43156
- function defineProperties3(target, props) {
43227
+ function defineProperties4(target, props) {
43157
43228
  for (var i = 0; i < props.length; i++) {
43158
43229
  var descriptor2 = props[i];
43159
43230
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -43163,12 +43234,12 @@ var _createClass$5 = /* @__PURE__ */ function() {
43163
43234
  Object.defineProperty(target, descriptor2.key, descriptor2);
43164
43235
  }
43165
43236
  }
43166
- __name(defineProperties3, "defineProperties");
43237
+ __name(defineProperties4, "defineProperties");
43167
43238
  return function(Constructor, protoProps, staticProps) {
43168
43239
  if (protoProps)
43169
- defineProperties3(Constructor.prototype, protoProps);
43240
+ defineProperties4(Constructor.prototype, protoProps);
43170
43241
  if (staticProps)
43171
- defineProperties3(Constructor, staticProps);
43242
+ defineProperties4(Constructor, staticProps);
43172
43243
  return Constructor;
43173
43244
  };
43174
43245
  }();
@@ -43265,7 +43336,7 @@ var _extends$d = Object.assign || function(target) {
43265
43336
  return target;
43266
43337
  };
43267
43338
  var _createClass$4 = /* @__PURE__ */ function() {
43268
- function defineProperties3(target, props) {
43339
+ function defineProperties4(target, props) {
43269
43340
  for (var i = 0; i < props.length; i++) {
43270
43341
  var descriptor2 = props[i];
43271
43342
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -43275,12 +43346,12 @@ var _createClass$4 = /* @__PURE__ */ function() {
43275
43346
  Object.defineProperty(target, descriptor2.key, descriptor2);
43276
43347
  }
43277
43348
  }
43278
- __name(defineProperties3, "defineProperties");
43349
+ __name(defineProperties4, "defineProperties");
43279
43350
  return function(Constructor, protoProps, staticProps) {
43280
43351
  if (protoProps)
43281
- defineProperties3(Constructor.prototype, protoProps);
43352
+ defineProperties4(Constructor.prototype, protoProps);
43282
43353
  if (staticProps)
43283
- defineProperties3(Constructor, staticProps);
43354
+ defineProperties4(Constructor, staticProps);
43284
43355
  return Constructor;
43285
43356
  };
43286
43357
  }();
@@ -43761,7 +43832,7 @@ var _default$3 = UnfoldMoreHorizontalIcon.default = function(_ref) {
43761
43832
  );
43762
43833
  };
43763
43834
  var _createClass$3 = /* @__PURE__ */ function() {
43764
- function defineProperties3(target, props) {
43835
+ function defineProperties4(target, props) {
43765
43836
  for (var i = 0; i < props.length; i++) {
43766
43837
  var descriptor2 = props[i];
43767
43838
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -43771,12 +43842,12 @@ var _createClass$3 = /* @__PURE__ */ function() {
43771
43842
  Object.defineProperty(target, descriptor2.key, descriptor2);
43772
43843
  }
43773
43844
  }
43774
- __name(defineProperties3, "defineProperties");
43845
+ __name(defineProperties4, "defineProperties");
43775
43846
  return function(Constructor, protoProps, staticProps) {
43776
43847
  if (protoProps)
43777
- defineProperties3(Constructor.prototype, protoProps);
43848
+ defineProperties4(Constructor.prototype, protoProps);
43778
43849
  if (staticProps)
43779
- defineProperties3(Constructor, staticProps);
43850
+ defineProperties4(Constructor, staticProps);
43780
43851
  return Constructor;
43781
43852
  };
43782
43853
  }();
@@ -45186,7 +45257,7 @@ var PhotoshopPreviews = /* @__PURE__ */ __name(function PhotoshopPreviews2(_ref)
45186
45257
  );
45187
45258
  }, "PhotoshopPreviews");
45188
45259
  var _createClass$2 = /* @__PURE__ */ function() {
45189
- function defineProperties3(target, props) {
45260
+ function defineProperties4(target, props) {
45190
45261
  for (var i = 0; i < props.length; i++) {
45191
45262
  var descriptor2 = props[i];
45192
45263
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -45196,12 +45267,12 @@ var _createClass$2 = /* @__PURE__ */ function() {
45196
45267
  Object.defineProperty(target, descriptor2.key, descriptor2);
45197
45268
  }
45198
45269
  }
45199
- __name(defineProperties3, "defineProperties");
45270
+ __name(defineProperties4, "defineProperties");
45200
45271
  return function(Constructor, protoProps, staticProps) {
45201
45272
  if (protoProps)
45202
- defineProperties3(Constructor.prototype, protoProps);
45273
+ defineProperties4(Constructor.prototype, protoProps);
45203
45274
  if (staticProps)
45204
- defineProperties3(Constructor, staticProps);
45275
+ defineProperties4(Constructor, staticProps);
45205
45276
  return Constructor;
45206
45277
  };
45207
45278
  }();
@@ -49152,6 +49223,9 @@ function resolvePathname(to, from3) {
49152
49223
  __name(resolvePathname, "resolvePathname");
49153
49224
  var prefix$2 = "Invariant failed";
49154
49225
  function invariant$2(condition, message) {
49226
+ if (condition) {
49227
+ return;
49228
+ }
49155
49229
  {
49156
49230
  throw new Error(prefix$2);
49157
49231
  }
@@ -49199,7 +49273,7 @@ function createLocation(path2, state2, key, currentLocation) {
49199
49273
  } else {
49200
49274
  location2.hash = "";
49201
49275
  }
49202
- if (location2.state === void 0)
49276
+ if (state2 !== void 0 && location2.state === void 0)
49203
49277
  location2.state = state2;
49204
49278
  }
49205
49279
  try {
@@ -49211,6 +49285,8 @@ function createLocation(path2, state2, key, currentLocation) {
49211
49285
  throw e2;
49212
49286
  }
49213
49287
  }
49288
+ if (key)
49289
+ location2.key = key;
49214
49290
  if (currentLocation) {
49215
49291
  if (!location2.pathname) {
49216
49292
  location2.pathname = currentLocation.pathname;
@@ -49332,6 +49408,7 @@ Link.contextTypes = {
49332
49408
  }).isRequired
49333
49409
  }).isRequired
49334
49410
  };
49411
+ const Link$1 = Link;
49335
49412
  var pathToRegexp$2 = { exports: {} };
49336
49413
  var isarray$1 = Array.isArray || function(arr) {
49337
49414
  return Object.prototype.toString.call(arr) == "[object Array]";
@@ -49778,6 +49855,7 @@ Route.contextTypes = {
49778
49855
  Route.childContextTypes = {
49779
49856
  router: PropTypes.object.isRequired
49780
49857
  };
49858
+ const Route$1 = Route;
49781
49859
  var REACT_STATICS = {
49782
49860
  childContextTypes: true,
49783
49861
  contextTypes: true,
@@ -49859,7 +49937,7 @@ __name(_objectWithoutProperties$3, "_objectWithoutProperties$3");
49859
49937
  var withRouter = /* @__PURE__ */ __name(function withRouter2(Component2) {
49860
49938
  var C = /* @__PURE__ */ __name(function C2(props) {
49861
49939
  var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutProperties$3(props, ["wrappedComponentRef"]);
49862
- return React__default$1.createElement(Route, {
49940
+ return React__default$1.createElement(Route$1, {
49863
49941
  children: /* @__PURE__ */ __name(function children(routeComponentProps) {
49864
49942
  return React__default$1.createElement(Component2, _extends$3({}, remainingProps, routeComponentProps, {
49865
49943
  ref: wrappedComponentRef
@@ -49874,6 +49952,7 @@ var withRouter = /* @__PURE__ */ __name(function withRouter2(Component2) {
49874
49952
  };
49875
49953
  return hoistStatics(C, Component2);
49876
49954
  }, "withRouter");
49955
+ const withRouter$1 = withRouter;
49877
49956
  const isEq$1 = /* @__PURE__ */ __name((o1, o2) => {
49878
49957
  const isEq2 = isEqualWith(o1, o2, function(val1, val2) {
49879
49958
  if (isFunction$6(val1) && isFunction$6(val2)) {
@@ -49941,8 +50020,12 @@ function getTableConfigFromStorage(formName) {
49941
50020
  __name(getTableConfigFromStorage, "getTableConfigFromStorage");
49942
50021
  function withTableParams(compOrOpts, pTopLevelOpts) {
49943
50022
  let topLevelOptions;
49944
- {
50023
+ let Component2;
50024
+ if (!pTopLevelOpts) {
49945
50025
  topLevelOptions = compOrOpts;
50026
+ } else {
50027
+ topLevelOptions = pTopLevelOpts;
50028
+ Component2 = compOrOpts;
49946
50029
  }
49947
50030
  const { isLocalCall } = topLevelOptions;
49948
50031
  const mapStateToProps2 = /* @__PURE__ */ __name((state2, ownProps) => {
@@ -50138,7 +50221,7 @@ function withTableParams(compOrOpts, pTopLevelOpts) {
50138
50221
  return allMergedProps;
50139
50222
  }
50140
50223
  __name(mergeProps, "mergeProps");
50141
- function addFormTracking(Component2) {
50224
+ function addFormTracking(Component22) {
50142
50225
  return (props) => {
50143
50226
  const formTracker = useContext(TableFormTrackerContext);
50144
50227
  const { formName } = props;
@@ -50147,7 +50230,7 @@ function withTableParams(compOrOpts, pTopLevelOpts) {
50147
50230
  formTracker.pushFormName(formName);
50148
50231
  }
50149
50232
  }, [formTracker, formName]);
50150
- return /* @__PURE__ */ React__default$1.createElement(Component2, __spreadValues({}, props));
50233
+ return /* @__PURE__ */ React__default$1.createElement(Component22, __spreadValues({}, props));
50151
50234
  };
50152
50235
  }
50153
50236
  __name(addFormTracking, "addFormTracking");
@@ -50164,11 +50247,14 @@ function withTableParams(compOrOpts, pTopLevelOpts) {
50164
50247
  }),
50165
50248
  branch((props) => {
50166
50249
  return !props.noRouter;
50167
- }, withRouter),
50250
+ }, withRouter$1),
50168
50251
  connect(mapStateToProps2, mapDispatchToProps2, mergeProps),
50169
50252
  pure$1,
50170
50253
  addFormTracking
50171
50254
  );
50255
+ if (Component2) {
50256
+ return toReturn(Component2);
50257
+ }
50172
50258
  return toReturn;
50173
50259
  }
50174
50260
  __name(withTableParams, "withTableParams");
@@ -51079,7 +51165,7 @@ const _DataTable = class _DataTable extends React__default$1.Component {
51079
51165
  const { schema: schema2 } = this.props;
51080
51166
  const editableFields = schema2.fields.filter((f2) => !f2.isNotEditable);
51081
51167
  const validationErrors = {};
51082
- const newEnts = fn3(entities, (entities2) => {
51168
+ const newEnts = immer(entities, (entities2) => {
51083
51169
  entities2.forEach((e2, index2) => {
51084
51170
  editableFields.forEach((columnSchema) => {
51085
51171
  if (useDefaultValues) {
@@ -54633,7 +54719,7 @@ function MatchHeaders({
54633
54719
  }),
54634
54720
  onChange: (val2) => {
54635
54721
  setFilesWIssues(
54636
- fn3(filesWIssues, (files) => {
54722
+ immer(filesWIssues, (files) => {
54637
54723
  files.forEach((f2, i2) => {
54638
54724
  const isCurrentFile = fileIndex === i2;
54639
54725
  if (isCurrentFile || doAllFilesHaveSameHeaders) {
@@ -56593,7 +56679,7 @@ const UploadCsvWizardDialogInner = compose(
56593
56679
  }, hasSubmitted && {
56594
56680
  onBackClick: onBackClick || (() => {
56595
56681
  setSteps(
56596
- fn3(steps, (draft) => {
56682
+ immer(steps, (draft) => {
56597
56683
  draft[0].active = true;
56598
56684
  draft[0].completed = false;
56599
56685
  draft[1].active = false;
@@ -56606,7 +56692,7 @@ const UploadCsvWizardDialogInner = compose(
56606
56692
  return __async(this, null, function* () {
56607
56693
  if (!hasSubmitted) {
56608
56694
  setSteps(
56609
- fn3(steps, (draft) => {
56695
+ immer(steps, (draft) => {
56610
56696
  draft[0].active = false;
56611
56697
  draft[0].completed = true;
56612
56698
  draft[1].active = true;
@@ -59458,8 +59544,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
59458
59544
  var q2 = false;
59459
59545
  function J(e3, t3, r3, n3) {
59460
59546
  P2(e3, (s2 << 1) + (n3 ? 1 : 0), 3), function(e4, t4, r4, n4) {
59461
- M2(e4), U2(e4, r4), U2(e4, ~r4), i.arraySet(e4.pending_buf, e4.window, t4, r4, e4.pending), e4.pending += r4;
59462
- }(e3, t3, r3);
59547
+ M2(e4), n4 && (U2(e4, r4), U2(e4, ~r4)), i.arraySet(e4.pending_buf, e4.window, t4, r4, e4.pending), e4.pending += r4;
59548
+ }(e3, t3, r3, true);
59463
59549
  }
59464
59550
  __name(J, "J");
59465
59551
  r2._tr_init = function(e3) {
@@ -65361,7 +65447,7 @@ function _createForOfIteratorHelperLoose$4(o2, allowArrayLike) {
65361
65447
  var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
65362
65448
  if (it)
65363
65449
  return (it = it.call(o2)).next.bind(it);
65364
- if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike) {
65450
+ if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
65365
65451
  if (it)
65366
65452
  o2 = it;
65367
65453
  var i = 0;
@@ -65714,7 +65800,7 @@ function _createForOfIteratorHelperLoose$3(o2, allowArrayLike) {
65714
65800
  var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
65715
65801
  if (it)
65716
65802
  return (it = it.call(o2)).next.bind(it);
65717
- if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike) {
65803
+ if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
65718
65804
  if (it)
65719
65805
  o2 = it;
65720
65806
  var i = 0;
@@ -66010,7 +66096,7 @@ function _createForOfIteratorHelperLoose$2(o2, allowArrayLike) {
66010
66096
  var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
66011
66097
  if (it)
66012
66098
  return (it = it.call(o2)).next.bind(it);
66013
- if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike) {
66099
+ if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
66014
66100
  if (it)
66015
66101
  o2 = it;
66016
66102
  var i = 0;
@@ -66096,7 +66182,7 @@ function _createForOfIteratorHelperLoose$1(o2, allowArrayLike) {
66096
66182
  var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
66097
66183
  if (it)
66098
66184
  return (it = it.call(o2)).next.bind(it);
66099
- if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike) {
66185
+ if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
66100
66186
  if (it)
66101
66187
  o2 = it;
66102
66188
  var i = 0;
@@ -66197,7 +66283,7 @@ function _createForOfIteratorHelperLoose(o2, allowArrayLike) {
66197
66283
  var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
66198
66284
  if (it)
66199
66285
  return (it = it.call(o2)).next.bind(it);
66200
- if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike) {
66286
+ if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
66201
66287
  if (it)
66202
66288
  o2 = it;
66203
66289
  var i = 0;
@@ -66834,7 +66920,7 @@ function UploaderInner({
66834
66920
  ) : /* @__PURE__ */ React__default$1.createElement(React__default$1.Fragment, null, "Accepts ", simpleAccept)
66835
66921
  ),
66836
66922
  /* @__PURE__ */ React__default$1.createElement(
66837
- Dropzone,
66923
+ Dropzone$1,
66838
66924
  __spreadValues(__spreadValues({
66839
66925
  disabled: dropzoneDisabled,
66840
66926
  onClick: (evt) => evt.preventDefault(),
@@ -67647,7 +67733,7 @@ function _getRequireWildcardCache$1(nodeInterop) {
67647
67733
  }
67648
67734
  __name(_getRequireWildcardCache$1, "_getRequireWildcardCache$1");
67649
67735
  function _interopRequireWildcard$1(obj, nodeInterop) {
67650
- if (obj && obj.__esModule) {
67736
+ if (!nodeInterop && obj && obj.__esModule) {
67651
67737
  return obj;
67652
67738
  }
67653
67739
  if (obj === null || _typeof$1(obj) !== "object" && typeof obj !== "function") {
@@ -68072,7 +68158,7 @@ function _getRequireWildcardCache(nodeInterop) {
68072
68158
  }
68073
68159
  __name(_getRequireWildcardCache, "_getRequireWildcardCache");
68074
68160
  function _interopRequireWildcard(obj, nodeInterop) {
68075
- if (obj && obj.__esModule) {
68161
+ if (!nodeInterop && obj && obj.__esModule) {
68076
68162
  return obj;
68077
68163
  }
68078
68164
  if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
@@ -68186,6 +68272,8 @@ __name(_defineProperties$1, "_defineProperties$1");
68186
68272
  function _createClass$1(Constructor, protoProps, staticProps) {
68187
68273
  if (protoProps)
68188
68274
  _defineProperties$1(Constructor.prototype, protoProps);
68275
+ if (staticProps)
68276
+ _defineProperties$1(Constructor, staticProps);
68189
68277
  Object.defineProperty(Constructor, "prototype", { writable: false });
68190
68278
  return Constructor;
68191
68279
  }
@@ -68667,7 +68755,7 @@ _defineProperty$3(DraggableCore$1, "defaultProps", {
68667
68755
  }
68668
68756
  __name(_getRequireWildcardCache2, "_getRequireWildcardCache");
68669
68757
  function _interopRequireWildcard2(obj, nodeInterop) {
68670
- if (obj && obj.__esModule) {
68758
+ if (!nodeInterop && obj && obj.__esModule) {
68671
68759
  return obj;
68672
68760
  }
68673
68761
  if (obj === null || _typeof4(obj) !== "object" && typeof obj !== "function") {
@@ -69449,7 +69537,7 @@ ObjectWithoutPrototypeCache.prototype.set = function(key, value) {
69449
69537
  this.cache[key] = value;
69450
69538
  };
69451
69539
  var cacheDefault = {
69452
- create: /* @__PURE__ */ __name(function create3() {
69540
+ create: /* @__PURE__ */ __name(function create4() {
69453
69541
  return new ObjectWithoutPrototypeCache();
69454
69542
  }, "create")
69455
69543
  };
@@ -70781,7 +70869,7 @@ function MenuItemLink({ text: text2, onClick, icon, navTo, active: active3 }) {
70781
70869
  e2.target.closest(`.${Classes.POPOVER_DISMISS}`).click();
70782
70870
  }, "handleLinkClick");
70783
70871
  return /* @__PURE__ */ React__default$1.createElement("li", { className: Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React__default$1.createElement(
70784
- Link,
70872
+ Link$1,
70785
70873
  {
70786
70874
  onClick: handleLinkClick,
70787
70875
  to: navTo,
@@ -70805,7 +70893,7 @@ const EnhancedMenuItem = compose(
70805
70893
  willUnmount({ className });
70806
70894
  }
70807
70895
  }),
70808
- branch(({ navTo }) => navTo, withRouter)
70896
+ branch(({ navTo }) => navTo, withRouter$1)
70809
70897
  )(function(_o) {
70810
70898
  var _p = _o, {
70811
70899
  navTo,
@@ -73199,7 +73287,7 @@ function trimRangeByAnotherRange(rangeToBeTrimmed, trimmingRange, sequenceLength
73199
73287
  }
73200
73288
  }
73201
73289
  if (outputTrimmedRange) {
73202
- return assignIn({}, rangeToBeTrimmed, {
73290
+ return extend$2({}, rangeToBeTrimmed, {
73203
73291
  start: outputTrimmedRange.start,
73204
73292
  end: outputTrimmedRange.end
73205
73293
  });
@@ -73784,6 +73872,8 @@ function getYOffsetForPotentiallyCircularRange(range2, YOffsetLevelsWithRanges,
73784
73872
  );
73785
73873
  if (!rangeBlocked) {
73786
73874
  yOffset = index2;
73875
+ if (assignYOffsetToRange)
73876
+ range2.yOffset = index2;
73787
73877
  rangesAlreadyAddedToYOffset.push(range2);
73788
73878
  return true;
73789
73879
  }
@@ -73792,6 +73882,8 @@ function getYOffsetForPotentiallyCircularRange(range2, YOffsetLevelsWithRanges,
73792
73882
  );
73793
73883
  if (!openYOffsetFound) {
73794
73884
  yOffset = YOffsetLevelsWithRanges.length;
73885
+ if (assignYOffsetToRange)
73886
+ range2.yOffset = YOffsetLevelsWithRanges.length;
73795
73887
  }
73796
73888
  return yOffset;
73797
73889
  }
@@ -74561,7 +74653,7 @@ __name(requireEmpty, "requireEmpty");
74561
74653
  }
74562
74654
  }, "classCallCheck");
74563
74655
  var createClass2 = /* @__PURE__ */ function() {
74564
- function defineProperties3(target, props) {
74656
+ function defineProperties4(target, props) {
74565
74657
  for (var i = 0; i < props.length; i++) {
74566
74658
  var descriptor2 = props[i];
74567
74659
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -74571,12 +74663,12 @@ __name(requireEmpty, "requireEmpty");
74571
74663
  Object.defineProperty(target, descriptor2.key, descriptor2);
74572
74664
  }
74573
74665
  }
74574
- __name(defineProperties3, "defineProperties");
74666
+ __name(defineProperties4, "defineProperties");
74575
74667
  return function(Constructor, protoProps, staticProps) {
74576
74668
  if (protoProps)
74577
- defineProperties3(Constructor.prototype, protoProps);
74669
+ defineProperties4(Constructor.prototype, protoProps);
74578
74670
  if (staticProps)
74579
- defineProperties3(Constructor, staticProps);
74671
+ defineProperties4(Constructor, staticProps);
74580
74672
  return Constructor;
74581
74673
  };
74582
74674
  }();
@@ -78391,10 +78483,10 @@ __name(requireEmpty, "requireEmpty");
78391
78483
  return value;
78392
78484
  }
78393
78485
  __name(dateReviver, "dateReviver");
78394
- function create5(options) {
78486
+ function create6(options) {
78395
78487
  return new DiffPatcher(options);
78396
78488
  }
78397
- __name(create5, "create");
78489
+ __name(create6, "create");
78398
78490
  var defaultInstance$4 = void 0;
78399
78491
  function diff() {
78400
78492
  if (!defaultInstance$4) {
@@ -78434,7 +78526,7 @@ __name(requireEmpty, "requireEmpty");
78434
78526
  exports3.DiffPatcher = DiffPatcher;
78435
78527
  exports3.formatters = index2;
78436
78528
  exports3.console = console$1;
78437
- exports3.create = create5;
78529
+ exports3.create = create6;
78438
78530
  exports3.dateReviver = dateReviver;
78439
78531
  exports3.diff = diff;
78440
78532
  exports3.patch = patch2;
@@ -87903,7 +87995,7 @@ function getSequenceDataBetweenRange(seqData, range2, options = {}) {
87903
87995
  annotationTypes.forEach((type2) => {
87904
87996
  delete seqDataToUse[`filtered${startCase(type2)}`];
87905
87997
  });
87906
- const seqDataToReturn = assignIn(
87998
+ const seqDataToReturn = extend$2(
87907
87999
  {},
87908
88000
  seqDataToUse,
87909
88001
  {
@@ -87971,7 +88063,7 @@ function getAnnotationsBetweenRange(annotationsToBeAdjusted, range2, maxLength,
87971
88063
  }
87972
88064
  const overlaps = getZeroedRangeOverlaps(annotation, range2, maxLength).map(
87973
88065
  (overlap) => {
87974
- return assignIn({}, annotation, overlap);
88066
+ return extend$2({}, annotation, overlap);
87975
88067
  }
87976
88068
  );
87977
88069
  if (shouldExcludePartial) {
@@ -95358,12 +95450,14 @@ var buffer$2 = {};
95358
95450
  if (value > max2 || value < min2) {
95359
95451
  const n2 = typeof min2 === "bigint" ? "n" : "";
95360
95452
  let range2;
95361
- {
95453
+ if (byteLength3 > 3) {
95362
95454
  if (min2 === 0 || min2 === BigInt(0)) {
95363
95455
  range2 = `>= 0${n2} and < 2${n2} ** ${(byteLength3 + 1) * 8}${n2}`;
95364
95456
  } else {
95365
95457
  range2 = `>= -(2${n2} ** ${(byteLength3 + 1) * 8 - 1}${n2}) and < 2 ** ${(byteLength3 + 1) * 8 - 1}${n2}`;
95366
95458
  }
95459
+ } else {
95460
+ range2 = `>= ${min2}${n2} and <= ${max2}${n2}`;
95367
95461
  }
95368
95462
  throw new errors.ERR_OUT_OF_RANGE("value", range2, value);
95369
95463
  }
@@ -95379,14 +95473,14 @@ var buffer$2 = {};
95379
95473
  function boundsError(value, length, type2) {
95380
95474
  if (Math.floor(value) !== value) {
95381
95475
  validateNumber(value, type2);
95382
- throw new errors.ERR_OUT_OF_RANGE("offset", "an integer", value);
95476
+ throw new errors.ERR_OUT_OF_RANGE(type2 || "offset", "an integer", value);
95383
95477
  }
95384
95478
  if (length < 0) {
95385
95479
  throw new errors.ERR_BUFFER_OUT_OF_BOUNDS();
95386
95480
  }
95387
95481
  throw new errors.ERR_OUT_OF_RANGE(
95388
- "offset",
95389
- `>= ${0} and <= ${length}`,
95482
+ type2 || "offset",
95483
+ `>= ${type2 ? 1 : 0} and <= ${length}`,
95390
95484
  value
95391
95485
  );
95392
95486
  }
@@ -95991,6 +96085,8 @@ function requireBuffer_list() {
95991
96085
  function _createClass2(Constructor, protoProps, staticProps) {
95992
96086
  if (protoProps)
95993
96087
  _defineProperties2(Constructor.prototype, protoProps);
96088
+ if (staticProps)
96089
+ _defineProperties2(Constructor, staticProps);
95994
96090
  Object.defineProperty(Constructor, "prototype", { writable: false });
95995
96091
  return Constructor;
95996
96092
  }
@@ -96360,7 +96456,7 @@ function requireErrorsBrowser() {
96360
96456
  }
96361
96457
  __name(oneOf, "oneOf");
96362
96458
  function startsWith2(str, search2, pos) {
96363
- return str.substr(0, search2.length) === search2;
96459
+ return str.substr(!pos || pos < 0 ? 0 : +pos, search2.length) === search2;
96364
96460
  }
96365
96461
  __name(startsWith2, "startsWith");
96366
96462
  function endsWith2(str, search2, this_len) {
@@ -99875,10 +99971,16 @@ function unzipSync(data, opts2) {
99875
99971
  o2 = b4(data, ze + 48);
99876
99972
  }
99877
99973
  }
99974
+ var fltr = opts2 && opts2.filter;
99878
99975
  for (var i = 0; i < c2; ++i) {
99879
99976
  var _a2 = zh(data, o2, z2), c_2 = _a2[0], sc = _a2[1], su = _a2[2], fn4 = _a2[3], no = _a2[4], off2 = _a2[5], b3 = slzh(data, off2);
99880
99977
  o2 = no;
99881
- {
99978
+ if (!fltr || fltr({
99979
+ name: fn4,
99980
+ size: sc,
99981
+ originalSize: su,
99982
+ compression: c_2
99983
+ })) {
99882
99984
  if (!c_2)
99883
99985
  files[fn4] = slc(data, b3, b3 + sc);
99884
99986
  else if (c_2 == 8)
@@ -102079,7 +102181,7 @@ const reducer$1 = createReducer(
102079
102181
  return payload.filter((group) => group.length);
102080
102182
  },
102081
102183
  [flipActiveTabFromLinearOrCircularIfNecessary]: (state2, setCircActive) => {
102082
- const newState = fn3(state2, (s2) => {
102184
+ const newState = immer(state2, (s2) => {
102083
102185
  s2.forEach((g2) => {
102084
102186
  flipActiveForGroup(g2, setCircActive);
102085
102187
  });
@@ -102854,7 +102956,7 @@ var defineProperty$2 = /* @__PURE__ */ __name(function(object3, name2, value, pr
102854
102956
  defineDataProperty2(object3, name2, value);
102855
102957
  }
102856
102958
  }, "defineProperty$2");
102857
- var defineProperties2 = /* @__PURE__ */ __name(function(object3, map3) {
102959
+ var defineProperties3 = /* @__PURE__ */ __name(function(object3, map3) {
102858
102960
  var predicates = arguments.length > 2 ? arguments[2] : {};
102859
102961
  var props = keys$1(map3);
102860
102962
  if (hasSymbols2) {
@@ -102864,8 +102966,8 @@ var defineProperties2 = /* @__PURE__ */ __name(function(object3, map3) {
102864
102966
  defineProperty$2(object3, props[i], map3[props[i]], predicates[props[i]]);
102865
102967
  }
102866
102968
  }, "defineProperties");
102867
- defineProperties2.supportsDescriptors = !!supportsDescriptors$2;
102868
- var defineProperties_1 = defineProperties2;
102969
+ defineProperties3.supportsDescriptors = !!supportsDescriptors$2;
102970
+ var defineProperties_1 = defineProperties3;
102869
102971
  var numberIsNaN = /* @__PURE__ */ __name(function(value) {
102870
102972
  return value !== value;
102871
102973
  }, "numberIsNaN");
@@ -103750,6 +103852,7 @@ function createThunkMiddleware(extraArgument) {
103750
103852
  __name(createThunkMiddleware, "createThunkMiddleware");
103751
103853
  var thunk = createThunkMiddleware();
103752
103854
  thunk.withExtraArgument = createThunkMiddleware;
103855
+ const thunk$1 = thunk;
103753
103856
  const makeStore = /* @__PURE__ */ __name(() => {
103754
103857
  const composeEnhancer = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
103755
103858
  name: "createVectorEditor",
@@ -103767,7 +103870,7 @@ const makeStore = /* @__PURE__ */ __name(() => {
103767
103870
  }),
103768
103871
  void 0,
103769
103872
  composeEnhancer(
103770
- applyMiddleware(thunk, vectorEditorMiddleware)
103873
+ applyMiddleware(thunk$1, vectorEditorMiddleware)
103771
103874
  //your store should be redux-thunk connected for the VectorEditor component to work
103772
103875
  )
103773
103876
  );
@@ -106869,7 +106972,7 @@ var parse$1 = /* @__PURE__ */ __name(function parse2(raw2) {
106869
106972
  return 0;
106870
106973
  }
106871
106974
  var result = Number(value);
106872
- !!isNaN(result) ? invariant$2() : void 0;
106975
+ !!isNaN(result) ? invariant$2(false) : void 0;
106873
106976
  return result;
106874
106977
  }, "parse2");
106875
106978
  var getWindowScroll$1 = /* @__PURE__ */ __name(function getWindowScroll2() {
@@ -107042,6 +107145,9 @@ RbdInvariant.prototype.toString = /* @__PURE__ */ __name(function toString3() {
107042
107145
  return this.message;
107043
107146
  }, "toString");
107044
107147
  function invariant$1(condition, message) {
107148
+ if (condition) {
107149
+ return;
107150
+ }
107045
107151
  {
107046
107152
  throw new RbdInvariant(prefix$1);
107047
107153
  }
@@ -107294,7 +107400,7 @@ var getSubject = /* @__PURE__ */ __name((_ref) => {
107294
107400
  };
107295
107401
  }, "getSubject");
107296
107402
  var scrollDroppable = /* @__PURE__ */ __name((droppable2, newScroll) => {
107297
- !droppable2.frame ? invariant$1() : void 0;
107403
+ !droppable2.frame ? invariant$1(false) : void 0;
107298
107404
  const scrollable = droppable2.frame;
107299
107405
  const scrollDiff = subtract(newScroll, scrollable.scroll.initial);
107300
107406
  const scrollDisplacement = negate(scrollDiff);
@@ -107392,7 +107498,7 @@ var moveToNextCombine = /* @__PURE__ */ __name((_ref) => {
107392
107498
  return getImpact(last2.descriptor.id);
107393
107499
  }
107394
107500
  const indexOfClosest = withoutDraggable.findIndex((d2) => d2.descriptor.id === closestId);
107395
- !(indexOfClosest !== -1) ? invariant$1() : void 0;
107501
+ !(indexOfClosest !== -1) ? invariant$1(false) : void 0;
107396
107502
  const proposedIndex = indexOfClosest - 1;
107397
107503
  if (proposedIndex < 0) {
107398
107504
  return null;
@@ -107727,7 +107833,7 @@ var moveToNextIndex = /* @__PURE__ */ __name((_ref) => {
107727
107833
  afterCritical
107728
107834
  } = _ref;
107729
107835
  const wasAt = previousImpact.at;
107730
- !wasAt ? invariant$1() : void 0;
107836
+ !wasAt ? invariant$1(false) : void 0;
107731
107837
  if (wasAt.type === "REORDER") {
107732
107838
  const newIndex2 = fromReorder({
107733
107839
  isMovingForward,
@@ -107789,7 +107895,7 @@ var whenCombining = /* @__PURE__ */ __name((_ref) => {
107789
107895
  draggables
107790
107896
  } = _ref;
107791
107897
  const combine22 = tryGetCombine(impact);
107792
- !combine22 ? invariant$1() : void 0;
107898
+ !combine22 ? invariant$1(false) : void 0;
107793
107899
  const combineWith = combine22.draggableId;
107794
107900
  const center = draggables[combineWith].page.borderBox.center;
107795
107901
  const displaceBy = getCombinedItemDisplacement({
@@ -108134,7 +108240,7 @@ var moveToNextPlace = /* @__PURE__ */ __name((_ref) => {
108134
108240
  }, "moveToNextPlace");
108135
108241
  const getKnownActive = /* @__PURE__ */ __name((droppable2) => {
108136
108242
  const rect = droppable2.subject.active;
108137
- !rect ? invariant$1() : void 0;
108243
+ !rect ? invariant$1(false) : void 0;
108138
108244
  return rect;
108139
108245
  }, "getKnownActive");
108140
108246
  var getBestCrossAxisDroppable = /* @__PURE__ */ __name((_ref) => {
@@ -108257,8 +108363,8 @@ const withMaxScroll = /* @__PURE__ */ __name((frame, max2) => __spreadProps(__sp
108257
108363
  }), "withMaxScroll");
108258
108364
  const addPlaceholder = /* @__PURE__ */ __name((droppable2, draggable2, draggables) => {
108259
108365
  const frame = droppable2.frame;
108260
- !!isHomeOf(draggable2, droppable2) ? invariant$1() : void 0;
108261
- !!droppable2.subject.withPlaceholder ? invariant$1() : void 0;
108366
+ !!isHomeOf(draggable2, droppable2) ? invariant$1(false) : void 0;
108367
+ !!droppable2.subject.withPlaceholder ? invariant$1(false) : void 0;
108262
108368
  const placeholderSize = getDisplacedBy(droppable2.axis, draggable2.displaceBy).point;
108263
108369
  const requiredGrowth = getRequiredGrowthForPlaceholder(droppable2, placeholderSize, draggables);
108264
108370
  const added = {
@@ -108292,7 +108398,7 @@ const addPlaceholder = /* @__PURE__ */ __name((droppable2, draggable2, draggable
108292
108398
  }, "addPlaceholder");
108293
108399
  const removePlaceholder = /* @__PURE__ */ __name((droppable2) => {
108294
108400
  const added = droppable2.subject.withPlaceholder;
108295
- !added ? invariant$1() : void 0;
108401
+ !added ? invariant$1(false) : void 0;
108296
108402
  const frame = droppable2.frame;
108297
108403
  if (!frame) {
108298
108404
  const subject2 = getSubject({
@@ -108306,7 +108412,7 @@ const removePlaceholder = /* @__PURE__ */ __name((droppable2) => {
108306
108412
  });
108307
108413
  }
108308
108414
  const oldMaxScroll = added.oldFrameMaxScroll;
108309
- !oldMaxScroll ? invariant$1() : void 0;
108415
+ !oldMaxScroll ? invariant$1(false) : void 0;
108310
108416
  const newFrame = withMaxScroll(frame, oldMaxScroll);
108311
108417
  const subject = getSubject({
108312
108418
  page: droppable2.subject.page,
@@ -108937,7 +109043,7 @@ var refreshSnap = /* @__PURE__ */ __name((_ref) => {
108937
109043
  dimensions: forcedDimensions,
108938
109044
  viewport: forcedViewport
108939
109045
  } = _ref;
108940
- !(state2.movementMode === "SNAP") ? invariant$1() : void 0;
109046
+ !(state2.movementMode === "SNAP") ? invariant$1(false) : void 0;
108941
109047
  const needsVisibilityCheck = state2.impact;
108942
109048
  const viewport2 = forcedViewport || state2.viewport;
108943
109049
  const dimensions = forcedDimensions || state2.dimensions;
@@ -108947,7 +109053,7 @@ var refreshSnap = /* @__PURE__ */ __name((_ref) => {
108947
109053
  } = dimensions;
108948
109054
  const draggable2 = draggables[state2.critical.draggable.id];
108949
109055
  const isOver = whatIsDraggedOver(needsVisibilityCheck);
108950
- !isOver ? invariant$1() : void 0;
109056
+ !isOver ? invariant$1(false) : void 0;
108951
109057
  const destination = droppables[isOver];
108952
109058
  const impact = recompute({
108953
109059
  impact: needsVisibilityCheck,
@@ -108985,7 +109091,7 @@ var getLiftEffect = /* @__PURE__ */ __name((_ref) => {
108985
109091
  const displacedBy = getDisplacedBy(home2.axis, draggable2.displaceBy);
108986
109092
  const insideHome = getDraggablesInsideDroppable(home2.descriptor.id, draggables);
108987
109093
  const rawIndex = insideHome.indexOf(draggable2);
108988
- !(rawIndex !== -1) ? invariant$1() : void 0;
109094
+ !(rawIndex !== -1) ? invariant$1(false) : void 0;
108989
109095
  const afterDragging = insideHome.slice(rawIndex + 1);
108990
109096
  const effected = afterDragging.reduce((previous2, item) => {
108991
109097
  previous2[item.descriptor.id] = true;
@@ -109040,7 +109146,7 @@ var offsetDraggable = /* @__PURE__ */ __name((_ref) => {
109040
109146
  }, "offsetDraggable");
109041
109147
  var getFrame = /* @__PURE__ */ __name((droppable2) => {
109042
109148
  const frame = droppable2.frame;
109043
- !frame ? invariant$1() : void 0;
109149
+ !frame ? invariant$1(false) : void 0;
109044
109150
  return frame;
109045
109151
  }, "getFrame");
109046
109152
  var adjustAdditionsForScrollChanges = /* @__PURE__ */ __name((_ref) => {
@@ -109167,7 +109273,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109167
109273
  });
109168
109274
  }
109169
109275
  if (action2.type === "INITIAL_PUBLISH") {
109170
- !(state2.phase === "IDLE") ? invariant$1() : void 0;
109276
+ !(state2.phase === "IDLE") ? invariant$1(false) : void 0;
109171
109277
  const {
109172
109278
  critical,
109173
109279
  clientSelection,
@@ -109222,14 +109328,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109222
109328
  if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
109223
109329
  return state2;
109224
109330
  }
109225
- !(state2.phase === "DRAGGING") ? invariant$1() : void 0;
109331
+ !(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
109226
109332
  const result = __spreadProps(__spreadValues({}, state2), {
109227
109333
  phase: "COLLECTING"
109228
109334
  });
109229
109335
  return result;
109230
109336
  }
109231
109337
  if (action2.type === "PUBLISH_WHILE_DRAGGING") {
109232
- !(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
109338
+ !(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
109233
109339
  return publishWhileDraggingInVirtual({
109234
109340
  state: state2,
109235
109341
  published: action2.payload
@@ -109239,7 +109345,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109239
109345
  if (state2.phase === "DROP_PENDING") {
109240
109346
  return state2;
109241
109347
  }
109242
- !isMovementAllowed(state2) ? invariant$1() : void 0;
109348
+ !isMovementAllowed(state2) ? invariant$1(false) : void 0;
109243
109349
  const {
109244
109350
  client: clientSelection
109245
109351
  } = action2.payload;
@@ -109259,7 +109365,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109259
109365
  if (state2.phase === "COLLECTING") {
109260
109366
  return removeScrollJumpRequest(state2);
109261
109367
  }
109262
- !isMovementAllowed(state2) ? invariant$1() : void 0;
109368
+ !isMovementAllowed(state2) ? invariant$1(false) : void 0;
109263
109369
  const {
109264
109370
  id: id2,
109265
109371
  newScroll
@@ -109275,14 +109381,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109275
109381
  if (state2.phase === "DROP_PENDING") {
109276
109382
  return state2;
109277
109383
  }
109278
- !isMovementAllowed(state2) ? invariant$1() : void 0;
109384
+ !isMovementAllowed(state2) ? invariant$1(false) : void 0;
109279
109385
  const {
109280
109386
  id: id2,
109281
109387
  isEnabled
109282
109388
  } = action2.payload;
109283
109389
  const target = state2.dimensions.droppables[id2];
109284
- !target ? invariant$1() : void 0;
109285
- !(target.isEnabled !== isEnabled) ? invariant$1() : void 0;
109390
+ !target ? invariant$1(false) : void 0;
109391
+ !(target.isEnabled !== isEnabled) ? invariant$1(false) : void 0;
109286
109392
  const updated = __spreadProps(__spreadValues({}, target), {
109287
109393
  isEnabled
109288
109394
  });
@@ -109292,14 +109398,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109292
109398
  if (state2.phase === "DROP_PENDING") {
109293
109399
  return state2;
109294
109400
  }
109295
- !isMovementAllowed(state2) ? invariant$1() : void 0;
109401
+ !isMovementAllowed(state2) ? invariant$1(false) : void 0;
109296
109402
  const {
109297
109403
  id: id2,
109298
109404
  isCombineEnabled
109299
109405
  } = action2.payload;
109300
109406
  const target = state2.dimensions.droppables[id2];
109301
- !target ? invariant$1() : void 0;
109302
- !(target.isCombineEnabled !== isCombineEnabled) ? invariant$1() : void 0;
109407
+ !target ? invariant$1(false) : void 0;
109408
+ !(target.isCombineEnabled !== isCombineEnabled) ? invariant$1(false) : void 0;
109303
109409
  const updated = __spreadProps(__spreadValues({}, target), {
109304
109410
  isCombineEnabled
109305
109411
  });
@@ -109309,8 +109415,8 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109309
109415
  if (state2.phase === "DROP_PENDING" || state2.phase === "DROP_ANIMATING") {
109310
109416
  return state2;
109311
109417
  }
109312
- !isMovementAllowed(state2) ? invariant$1() : void 0;
109313
- !state2.isWindowScrollAllowed ? invariant$1() : void 0;
109418
+ !isMovementAllowed(state2) ? invariant$1(false) : void 0;
109419
+ !state2.isWindowScrollAllowed ? invariant$1(false) : void 0;
109314
109420
  const newScroll = action2.payload.newScroll;
109315
109421
  if (isEqual$1(state2.viewport.scroll.current, newScroll)) {
109316
109422
  return removeScrollJumpRequest(state2);
@@ -109348,7 +109454,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109348
109454
  if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
109349
109455
  return state2;
109350
109456
  }
109351
- !(state2.phase === "DRAGGING") ? invariant$1() : void 0;
109457
+ !(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
109352
109458
  const result = moveInDirection({
109353
109459
  state: state2,
109354
109460
  type: action2.type
@@ -109365,7 +109471,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109365
109471
  }
109366
109472
  if (action2.type === "DROP_PENDING") {
109367
109473
  const reason = action2.payload.reason;
109368
- !(state2.phase === "COLLECTING") ? invariant$1() : void 0;
109474
+ !(state2.phase === "COLLECTING") ? invariant$1(false) : void 0;
109369
109475
  const newState = __spreadProps(__spreadValues({}, state2), {
109370
109476
  phase: "DROP_PENDING",
109371
109477
  isWaiting: true,
@@ -109379,7 +109485,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
109379
109485
  dropDuration,
109380
109486
  newHomeClientOffset
109381
109487
  } = action2.payload;
109382
- !(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
109488
+ !(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
109383
109489
  const result = {
109384
109490
  phase: "DROP_ANIMATING",
109385
109491
  completed,
@@ -109506,7 +109612,7 @@ var lift = /* @__PURE__ */ __name((marshal) => (_ref) => {
109506
109612
  completed: initial.completed
109507
109613
  }));
109508
109614
  }
109509
- !(getState2().phase === "IDLE") ? invariant$1() : void 0;
109615
+ !(getState2().phase === "IDLE") ? invariant$1(false) : void 0;
109510
109616
  dispatch(flush());
109511
109617
  dispatch(beforeInitialCapture({
109512
109618
  draggableId: id2,
@@ -109697,8 +109803,8 @@ const dropMiddleware = /* @__PURE__ */ __name((_ref) => {
109697
109803
  return;
109698
109804
  }
109699
109805
  const isWaitingForDrop = state2.phase === "DROP_PENDING" && state2.isWaiting;
109700
- !!isWaitingForDrop ? invariant$1() : void 0;
109701
- !(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
109806
+ !!isWaitingForDrop ? invariant$1(false) : void 0;
109807
+ !(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
109702
109808
  const critical = state2.critical;
109703
109809
  const dimensions = state2.dimensions;
109704
109810
  const draggable2 = dimensions.draggables[state2.critical.draggable.id];
@@ -109799,12 +109905,12 @@ function getScrollListener(_ref) {
109799
109905
  }
109800
109906
  __name(isActive2, "isActive2");
109801
109907
  function start2() {
109802
- !!isActive2() ? invariant$1() : void 0;
109908
+ !!isActive2() ? invariant$1(false) : void 0;
109803
109909
  unbind2 = bindEvents(window, [binding]);
109804
109910
  }
109805
109911
  __name(start2, "start2");
109806
109912
  function stop() {
109807
- !isActive2() ? invariant$1() : void 0;
109913
+ !isActive2() ? invariant$1(false) : void 0;
109808
109914
  scheduled.cancel();
109809
109915
  unbind2();
109810
109916
  unbind2 = noop$2;
@@ -109861,7 +109967,7 @@ var getAsyncMarshal = /* @__PURE__ */ __name(() => {
109861
109967
  const entries2 = [];
109862
109968
  const execute2 = /* @__PURE__ */ __name((timerId) => {
109863
109969
  const index2 = entries2.findIndex((item) => item.timerId === timerId);
109864
- !(index2 !== -1) ? invariant$1() : void 0;
109970
+ !(index2 !== -1) ? invariant$1(false) : void 0;
109865
109971
  const [entry] = entries2.splice(index2, 1);
109866
109972
  entry.callback();
109867
109973
  }, "execute2");
@@ -109946,7 +110052,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
109946
110052
  const asyncMarshal = getAsyncMarshal();
109947
110053
  let dragging = null;
109948
110054
  const beforeCapture = /* @__PURE__ */ __name((draggableId, mode) => {
109949
- !!dragging ? invariant$1() : void 0;
110055
+ !!dragging ? invariant$1(false) : void 0;
109950
110056
  withTimings("onBeforeCapture", () => {
109951
110057
  const fn4 = getResponders().onBeforeCapture;
109952
110058
  if (fn4) {
@@ -109959,7 +110065,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
109959
110065
  });
109960
110066
  }, "beforeCapture");
109961
110067
  const beforeStart = /* @__PURE__ */ __name((critical, mode) => {
109962
- !!dragging ? invariant$1() : void 0;
110068
+ !!dragging ? invariant$1(false) : void 0;
109963
110069
  withTimings("onBeforeDragStart", () => {
109964
110070
  const fn4 = getResponders().onBeforeDragStart;
109965
110071
  if (fn4) {
@@ -109968,7 +110074,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
109968
110074
  });
109969
110075
  }, "beforeStart");
109970
110076
  const start2 = /* @__PURE__ */ __name((critical, mode) => {
109971
- !!dragging ? invariant$1() : void 0;
110077
+ !!dragging ? invariant$1(false) : void 0;
109972
110078
  const data = getDragStart(critical, mode);
109973
110079
  dragging = {
109974
110080
  mode,
@@ -109983,7 +110089,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
109983
110089
  const update2 = /* @__PURE__ */ __name((critical, impact) => {
109984
110090
  const location2 = tryGetDestination(impact);
109985
110091
  const combine22 = tryGetCombine(impact);
109986
- !dragging ? invariant$1() : void 0;
110092
+ !dragging ? invariant$1(false) : void 0;
109987
110093
  const hasCriticalChanged = !isCriticalEqual(critical, dragging.lastCritical);
109988
110094
  if (hasCriticalChanged) {
109989
110095
  dragging.lastCritical = critical;
@@ -110008,11 +110114,11 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
110008
110114
  });
110009
110115
  }, "update2");
110010
110116
  const flush2 = /* @__PURE__ */ __name(() => {
110011
- !dragging ? invariant$1() : void 0;
110117
+ !dragging ? invariant$1(false) : void 0;
110012
110118
  asyncMarshal.flush();
110013
110119
  }, "flush2");
110014
110120
  const drop2 = /* @__PURE__ */ __name((result) => {
110015
- !dragging ? invariant$1() : void 0;
110121
+ !dragging ? invariant$1(false) : void 0;
110016
110122
  dragging = null;
110017
110123
  withTimings("onDragEnd", () => execute(getResponders().onDragEnd, result, announce, preset$1.onDragEnd));
110018
110124
  }, "drop2");
@@ -110075,7 +110181,7 @@ const dropAnimationFinishMiddleware = /* @__PURE__ */ __name((store2) => (next)
110075
110181
  return;
110076
110182
  }
110077
110183
  const state2 = store2.getState();
110078
- !(state2.phase === "DROP_ANIMATING") ? invariant$1() : void 0;
110184
+ !(state2.phase === "DROP_ANIMATING") ? invariant$1(false) : void 0;
110079
110185
  store2.dispatch(completeDrop({
110080
110186
  completed: state2.completed
110081
110187
  }));
@@ -110169,7 +110275,7 @@ var autoScroll = /* @__PURE__ */ __name((autoScroller) => (store2) => (next) =>
110169
110275
  if (action2.type === "INITIAL_PUBLISH") {
110170
110276
  next(action2);
110171
110277
  const state2 = store2.getState();
110172
- !(state2.phase === "DRAGGING") ? invariant$1() : void 0;
110278
+ !(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
110173
110279
  autoScroller.start(state2);
110174
110280
  return;
110175
110281
  }
@@ -110319,7 +110425,7 @@ var getMaxScroll = /* @__PURE__ */ __name((_ref) => {
110319
110425
  }, "getMaxScroll");
110320
110426
  var getDocumentElement = /* @__PURE__ */ __name(() => {
110321
110427
  const doc = document.documentElement;
110322
- !doc ? invariant$1() : void 0;
110428
+ !doc ? invariant$1(false) : void 0;
110323
110429
  return doc;
110324
110430
  }, "getDocumentElement");
110325
110431
  var getMaxWindowScroll = /* @__PURE__ */ __name(() => {
@@ -110408,7 +110514,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
110408
110514
  registry
110409
110515
  });
110410
110516
  const updateDroppableIsEnabled2 = /* @__PURE__ */ __name((id2, isEnabled) => {
110411
- !registry.droppable.exists(id2) ? invariant$1() : void 0;
110517
+ !registry.droppable.exists(id2) ? invariant$1(false) : void 0;
110412
110518
  if (!collection) {
110413
110519
  return;
110414
110520
  }
@@ -110421,7 +110527,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
110421
110527
  if (!collection) {
110422
110528
  return;
110423
110529
  }
110424
- !registry.droppable.exists(id2) ? invariant$1() : void 0;
110530
+ !registry.droppable.exists(id2) ? invariant$1(false) : void 0;
110425
110531
  callbacks.updateDroppableIsCombineEnabled({
110426
110532
  id: id2,
110427
110533
  isCombineEnabled
@@ -110431,7 +110537,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
110431
110537
  if (!collection) {
110432
110538
  return;
110433
110539
  }
110434
- !registry.droppable.exists(id2) ? invariant$1() : void 0;
110540
+ !registry.droppable.exists(id2) ? invariant$1(false) : void 0;
110435
110541
  callbacks.updateDroppableScroll({
110436
110542
  id: id2,
110437
110543
  newScroll
@@ -110454,7 +110560,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
110454
110560
  collection = null;
110455
110561
  }, "stopPublishing");
110456
110562
  const subscriber = /* @__PURE__ */ __name((event) => {
110457
- !collection ? invariant$1() : void 0;
110563
+ !collection ? invariant$1(false) : void 0;
110458
110564
  const dragging = collection.critical.draggable;
110459
110565
  if (event.type === "ADDITION") {
110460
110566
  if (shouldPublishUpdate(registry, dragging, event.value)) {
@@ -110468,7 +110574,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
110468
110574
  }
110469
110575
  }, "subscriber");
110470
110576
  const startPublishing = /* @__PURE__ */ __name((request) => {
110471
- !!collection ? invariant$1() : void 0;
110577
+ !!collection ? invariant$1(false) : void 0;
110472
110578
  const entry = registry.draggable.getById(request.draggableId);
110473
110579
  const home2 = registry.droppable.getById(entry.descriptor.droppableId);
110474
110580
  const critical = {
@@ -110522,7 +110628,7 @@ const getScrollableDroppables = memoizeOne((droppables) => toDroppableList(dropp
110522
110628
  }));
110523
110629
  const getScrollableDroppableOver = /* @__PURE__ */ __name((target, droppables) => {
110524
110630
  const maybe = getScrollableDroppables(droppables).find((droppable2) => {
110525
- !droppable2.frame ? invariant$1() : void 0;
110631
+ !droppable2.frame ? invariant$1(false) : void 0;
110526
110632
  return isPositionInFrame(droppable2.frame.pageMarginBox)(target);
110527
110633
  }) || null;
110528
110634
  return maybe;
@@ -110941,7 +111047,7 @@ var createFluidScroller = /* @__PURE__ */ __name((_ref) => {
110941
111047
  const scheduleDroppableScroll = rafSchd(scrollDroppable2);
110942
111048
  let dragging = null;
110943
111049
  const tryScroll = /* @__PURE__ */ __name((state2) => {
110944
- !dragging ? invariant$1() : void 0;
111050
+ !dragging ? invariant$1(false) : void 0;
110945
111051
  const {
110946
111052
  shouldUseTimeDampening,
110947
111053
  dragStartTime
@@ -110956,7 +111062,7 @@ var createFluidScroller = /* @__PURE__ */ __name((_ref) => {
110956
111062
  });
110957
111063
  }, "tryScroll");
110958
111064
  const start$1 = /* @__PURE__ */ __name((state2) => {
110959
- !!dragging ? invariant$1() : void 0;
111065
+ !!dragging ? invariant$1(false) : void 0;
110960
111066
  const dragStartTime = Date.now();
110961
111067
  let wasScrollNeeded = false;
110962
111068
  const fakeScrollCallback = /* @__PURE__ */ __name(() => {
@@ -111041,7 +111147,7 @@ var createJumpScroller = /* @__PURE__ */ __name((_ref) => {
111041
111147
  return;
111042
111148
  }
111043
111149
  const destination = whatIsDraggedOver(state2.impact);
111044
- !destination ? invariant$1() : void 0;
111150
+ !destination ? invariant$1(false) : void 0;
111045
111151
  const droppableRemainder = scrollDroppableAsMuchAsItCan(state2.dimensions.droppables[destination], request);
111046
111152
  if (!droppableRemainder) {
111047
111153
  return;
@@ -111197,7 +111303,7 @@ const useIsomorphicLayoutEffect = typeof window !== "undefined" && typeof window
111197
111303
  var useLayoutEffect = useIsomorphicLayoutEffect;
111198
111304
  const getHead = /* @__PURE__ */ __name(() => {
111199
111305
  const head = document.querySelector("head");
111200
- !head ? invariant$1() : void 0;
111306
+ !head ? invariant$1(false) : void 0;
111201
111307
  return head;
111202
111308
  }, "getHead");
111203
111309
  const createStyleEl = /* @__PURE__ */ __name((nonce) => {
@@ -111215,18 +111321,18 @@ function useStyleMarshal(contextId, nonce) {
111215
111321
  const setDynamicStyle = useCallback(
111216
111322
  memoizeOne((proposed) => {
111217
111323
  const el = dynamicRef.current;
111218
- !el ? invariant$1() : void 0;
111324
+ !el ? invariant$1(false) : void 0;
111219
111325
  el.textContent = proposed;
111220
111326
  }),
111221
111327
  []
111222
111328
  );
111223
111329
  const setAlwaysStyle = useCallback((proposed) => {
111224
111330
  const el = alwaysRef.current;
111225
- !el ? invariant$1() : void 0;
111331
+ !el ? invariant$1(false) : void 0;
111226
111332
  el.textContent = proposed;
111227
111333
  }, []);
111228
111334
  useLayoutEffect(() => {
111229
- !(!alwaysRef.current && !dynamicRef.current) ? invariant$1() : void 0;
111335
+ !(!alwaysRef.current && !dynamicRef.current) ? invariant$1(false) : void 0;
111230
111336
  const always = createStyleEl(nonce);
111231
111337
  const dynamic = createStyleEl(nonce);
111232
111338
  alwaysRef.current = always;
@@ -111240,7 +111346,7 @@ function useStyleMarshal(contextId, nonce) {
111240
111346
  return () => {
111241
111347
  const remove3 = /* @__PURE__ */ __name((ref2) => {
111242
111348
  const current = ref2.current;
111243
- !current ? invariant$1() : void 0;
111349
+ !current ? invariant$1(false) : void 0;
111244
111350
  getHead().removeChild(current);
111245
111351
  ref2.current = null;
111246
111352
  }, "remove");
@@ -111404,7 +111510,7 @@ function createRegistry() {
111404
111510
  __name(findDraggableById, "findDraggableById");
111405
111511
  function getDraggableById(id2) {
111406
111512
  const entry = findDraggableById(id2);
111407
- !entry ? invariant$1() : void 0;
111513
+ !entry ? invariant$1(false) : void 0;
111408
111514
  return entry;
111409
111515
  }
111410
111516
  __name(getDraggableById, "getDraggableById");
@@ -111455,7 +111561,7 @@ function createRegistry() {
111455
111561
  __name(findDroppableById, "findDroppableById");
111456
111562
  function getDroppableById(id2) {
111457
111563
  const entry = findDroppableById(id2);
111458
- !entry ? invariant$1() : void 0;
111564
+ !entry ? invariant$1(false) : void 0;
111459
111565
  return entry;
111460
111566
  }
111461
111567
  __name(getDroppableById, "getDroppableById");
@@ -111509,7 +111615,7 @@ __name(useRegistry, "useRegistry");
111509
111615
  var StoreContext = React__default$1.createContext(null);
111510
111616
  var getBodyElement = /* @__PURE__ */ __name(() => {
111511
111617
  const body = document.body;
111512
- !body ? invariant$1() : void 0;
111618
+ !body ? invariant$1(false) : void 0;
111513
111619
  return body;
111514
111620
  }, "getBodyElement");
111515
111621
  const visuallyHidden = {
@@ -111623,7 +111729,7 @@ function usePrevious(current) {
111623
111729
  return ref2;
111624
111730
  }
111625
111731
  __name(usePrevious, "usePrevious");
111626
- function create4() {
111732
+ function create5() {
111627
111733
  let lock = null;
111628
111734
  function isClaimed() {
111629
111735
  return Boolean(lock);
@@ -111634,7 +111740,7 @@ function create4() {
111634
111740
  }
111635
111741
  __name(isActive2, "isActive2");
111636
111742
  function claim(abandon) {
111637
- !!lock ? invariant$1() : void 0;
111743
+ !!lock ? invariant$1(false) : void 0;
111638
111744
  const newLock = {
111639
111745
  abandon
111640
111746
  };
@@ -111643,7 +111749,7 @@ function create4() {
111643
111749
  }
111644
111750
  __name(claim, "claim");
111645
111751
  function release() {
111646
- !lock ? invariant$1() : void 0;
111752
+ !lock ? invariant$1(false) : void 0;
111647
111753
  lock = null;
111648
111754
  }
111649
111755
  __name(release, "release");
@@ -111662,7 +111768,7 @@ function create4() {
111662
111768
  tryAbandon
111663
111769
  };
111664
111770
  }
111665
- __name(create4, "create");
111771
+ __name(create5, "create");
111666
111772
  function isDragging(state2) {
111667
111773
  if (state2.phase === "IDLE" || state2.phase === "DROP_ANIMATING") {
111668
111774
  return false;
@@ -111739,7 +111845,7 @@ function getCaptureBindings(_ref) {
111739
111845
  phase.actions.move(point2);
111740
111846
  return;
111741
111847
  }
111742
- !(phase.type === "PENDING") ? invariant$1() : void 0;
111848
+ !(phase.type === "PENDING") ? invariant$1(false) : void 0;
111743
111849
  const pending = phase.point;
111744
111850
  if (!isSloppyClickThresholdExceeded(pending, point2)) {
111745
111851
  return;
@@ -111812,7 +111918,7 @@ function getCaptureBindings(_ref) {
111812
111918
  eventName: "webkitmouseforcedown",
111813
111919
  fn: (event) => {
111814
111920
  const phase = getPhase();
111815
- !(phase.type !== "IDLE") ? invariant$1() : void 0;
111921
+ !(phase.type !== "IDLE") ? invariant$1(false) : void 0;
111816
111922
  if (phase.actions.shouldRespectForcePress()) {
111817
111923
  cancel();
111818
111924
  return;
@@ -111935,7 +112041,7 @@ function useMouseSensor(api) {
111935
112041
  unbindEventsRef.current = bindEvents(window, bindings, options);
111936
112042
  }, "bindCapturingEvents2"), [cancel, stop]);
111937
112043
  const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
111938
- !(phaseRef.current.type === "IDLE") ? invariant$1() : void 0;
112044
+ !(phaseRef.current.type === "IDLE") ? invariant$1(false) : void 0;
111939
112045
  phaseRef.current = {
111940
112046
  type: "PENDING",
111941
112047
  point: point2,
@@ -112077,7 +112183,7 @@ function useKeyboardSensor(api) {
112077
112183
  const actions2 = preDrag.snapLift();
112078
112184
  unbindEventsRef.current();
112079
112185
  function stop() {
112080
- !isCapturing ? invariant$1() : void 0;
112186
+ !isCapturing ? invariant$1(false) : void 0;
112081
112187
  isCapturing = false;
112082
112188
  unbindEventsRef.current();
112083
112189
  listenForCapture();
@@ -112212,7 +112318,7 @@ function getHandleBindings(_ref2) {
112212
112318
  eventName: "touchforcechange",
112213
112319
  fn: (event) => {
112214
112320
  const phase = getPhase();
112215
- !(phase.type !== "IDLE") ? invariant$1() : void 0;
112321
+ !(phase.type !== "IDLE") ? invariant$1(false) : void 0;
112216
112322
  const touch = event.touches[0];
112217
112323
  if (!touch) {
112218
112324
  return;
@@ -112341,7 +112447,7 @@ function useTouchSensor(api) {
112341
112447
  }, "bindCapturingEvents2"), [cancel, getPhase, stop]);
112342
112448
  const startDragging = useCallback(/* @__PURE__ */ __name(function startDragging2() {
112343
112449
  const phase = getPhase();
112344
- !(phase.type === "PENDING") ? invariant$1() : void 0;
112450
+ !(phase.type === "PENDING") ? invariant$1(false) : void 0;
112345
112451
  const actions2 = phase.actions.fluidLift(phase.point);
112346
112452
  setPhase({
112347
112453
  type: "DRAGGING",
@@ -112350,7 +112456,7 @@ function useTouchSensor(api) {
112350
112456
  });
112351
112457
  }, "startDragging2"), [getPhase, setPhase]);
112352
112458
  const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
112353
- !(getPhase().type === "IDLE") ? invariant$1() : void 0;
112459
+ !(getPhase().type === "IDLE") ? invariant$1(false) : void 0;
112354
112460
  const longPressTimerId = setTimeout(startDragging, timeForLongPress);
112355
112461
  setPhase({
112356
112462
  type: "PENDING",
@@ -112586,7 +112692,7 @@ function tryStart(_ref3) {
112586
112692
  __name(completed, "completed");
112587
112693
  if (phase !== "PRE_DRAG") {
112588
112694
  completed();
112589
- invariant$1();
112695
+ invariant$1(false);
112590
112696
  }
112591
112697
  store2.dispatch(lift$1(args.liftActionArgs));
112592
112698
  phase = "DRAGGING";
@@ -112705,7 +112811,7 @@ function useSensorMarshal(_ref4) {
112705
112811
  enableDefaultSensors
112706
112812
  } = _ref4;
112707
112813
  const useSensors = [...enableDefaultSensors ? defaultSensors : [], ...customSensors || []];
112708
- const lockAPI = useState(() => create4())[0];
112814
+ const lockAPI = useState(() => create5())[0];
112709
112815
  const tryAbandonLock = useCallback(/* @__PURE__ */ __name(function tryAbandonLock2(previous2, current) {
112710
112816
  if (isDragging(previous2) && !isDragging(current)) {
112711
112817
  lockAPI.tryAbandon();
@@ -112790,7 +112896,7 @@ const createAutoScrollerOptions = /* @__PURE__ */ __name((props) => __spreadProp
112790
112896
  durationDampening: __spreadValues(__spreadValues({}, defaultAutoScrollerOptions.durationDampening), props.autoScrollerOptions)
112791
112897
  }), "createAutoScrollerOptions");
112792
112898
  function getStore(lazyRef) {
112793
- !lazyRef.current ? invariant$1() : void 0;
112899
+ !lazyRef.current ? invariant$1(false) : void 0;
112794
112900
  return lazyRef.current;
112795
112901
  }
112796
112902
  __name(getStore, "getStore");
@@ -113035,7 +113141,7 @@ function useDraggablePublisher(args) {
113035
113141
  }), [canDragInteractiveElements, isEnabled, shouldRespectForcePress]);
113036
113142
  const getDimension2 = useCallback((windowScroll) => {
113037
113143
  const el = getDraggableRef();
113038
- !el ? invariant$1() : void 0;
113144
+ !el ? invariant$1(false) : void 0;
113039
113145
  return getDimension$1(descriptor2, el, windowScroll);
113040
113146
  }, [descriptor2, getDraggableRef]);
113041
113147
  const entry = useMemo(() => ({
@@ -113064,7 +113170,7 @@ __name(useDraggablePublisher, "useDraggablePublisher");
113064
113170
  var DroppableContext = React__default$1.createContext(null);
113065
113171
  function useRequiredContext(Context) {
113066
113172
  const result = useContext(Context);
113067
- !result ? invariant$1() : void 0;
113173
+ !result ? invariant$1(false) : void 0;
113068
113174
  return result;
113069
113175
  }
113070
113176
  __name(useRequiredContext, "useRequiredContext");
@@ -113628,7 +113734,7 @@ function useDroppablePublisher(args) {
113628
113734
  }), [args.droppableId, args.mode, args.type]);
113629
113735
  const publishedDescriptorRef = useRef(descriptor2);
113630
113736
  const memoizedUpdateScroll = useMemo(() => memoizeOne((x, y2) => {
113631
- !whileDraggingRef.current ? invariant$1() : void 0;
113737
+ !whileDraggingRef.current ? invariant$1(false) : void 0;
113632
113738
  const scroll3 = {
113633
113739
  x,
113634
113740
  y: y2
@@ -113650,7 +113756,7 @@ function useDroppablePublisher(args) {
113650
113756
  const onClosestScroll = useCallback(() => {
113651
113757
  const dragging = whileDraggingRef.current;
113652
113758
  const closest2 = getClosestScrollableFromDrag(dragging);
113653
- !(dragging && closest2) ? invariant$1() : void 0;
113759
+ !(dragging && closest2) ? invariant$1(false) : void 0;
113654
113760
  const options = dragging.scrollOptions;
113655
113761
  if (options.shouldPublishImmediately) {
113656
113762
  updateScroll();
@@ -113659,10 +113765,10 @@ function useDroppablePublisher(args) {
113659
113765
  scheduleScrollUpdate();
113660
113766
  }, [scheduleScrollUpdate, updateScroll]);
113661
113767
  const getDimensionAndWatchScroll = useCallback((windowScroll, options) => {
113662
- !!whileDraggingRef.current ? invariant$1() : void 0;
113768
+ !!whileDraggingRef.current ? invariant$1(false) : void 0;
113663
113769
  const previous2 = previousRef.current;
113664
113770
  const ref2 = previous2.getDroppableRef();
113665
- !ref2 ? invariant$1() : void 0;
113771
+ !ref2 ? invariant$1(false) : void 0;
113666
113772
  const env = getEnv(ref2);
113667
113773
  const dragging = {
113668
113774
  ref: ref2,
@@ -113691,12 +113797,12 @@ function useDroppablePublisher(args) {
113691
113797
  const getScrollWhileDragging = useCallback(() => {
113692
113798
  const dragging = whileDraggingRef.current;
113693
113799
  const closest2 = getClosestScrollableFromDrag(dragging);
113694
- !(dragging && closest2) ? invariant$1() : void 0;
113800
+ !(dragging && closest2) ? invariant$1(false) : void 0;
113695
113801
  return getScroll$2(closest2);
113696
113802
  }, []);
113697
113803
  const dragStopped = useCallback(() => {
113698
113804
  const dragging = whileDraggingRef.current;
113699
- !dragging ? invariant$1() : void 0;
113805
+ !dragging ? invariant$1(false) : void 0;
113700
113806
  const closest2 = getClosestScrollableFromDrag(dragging);
113701
113807
  whileDraggingRef.current = null;
113702
113808
  if (!closest2) {
@@ -113712,9 +113818,9 @@ function useDroppablePublisher(args) {
113712
113818
  }, [onClosestScroll, scheduleScrollUpdate]);
113713
113819
  const scroll2 = useCallback((change2) => {
113714
113820
  const dragging = whileDraggingRef.current;
113715
- !dragging ? invariant$1() : void 0;
113821
+ !dragging ? invariant$1(false) : void 0;
113716
113822
  const closest2 = getClosestScrollableFromDrag(dragging);
113717
- !closest2 ? invariant$1() : void 0;
113823
+ !closest2 ? invariant$1(false) : void 0;
113718
113824
  closest2.scrollTop += change2.y;
113719
113825
  closest2.scrollLeft += change2.x;
113720
113826
  }, []);
@@ -113924,7 +114030,7 @@ __name(_AnimateInOut, "AnimateInOut");
113924
114030
  let AnimateInOut = _AnimateInOut;
113925
114031
  const Droppable = /* @__PURE__ */ __name((props) => {
113926
114032
  const appContext = useContext(AppContext);
113927
- !appContext ? invariant$1() : void 0;
114033
+ !appContext ? invariant$1(false) : void 0;
113928
114034
  const {
113929
114035
  contextId,
113930
114036
  isMovementAllowed: isMovementAllowed2
@@ -114143,7 +114249,7 @@ const mapDispatchToProps = {
114143
114249
  updateViewportMaxScroll
114144
114250
  };
114145
114251
  function getBody() {
114146
- !document.body ? invariant$1() : void 0;
114252
+ !document.body ? invariant$1(false) : void 0;
114147
114253
  return document.body;
114148
114254
  }
114149
114255
  __name(getBody, "getBody");
@@ -114235,6 +114341,8 @@ var clipboard = { exports: {} };
114235
114341
  function _createClass2(Constructor, protoProps, staticProps) {
114236
114342
  if (protoProps)
114237
114343
  _defineProperties2(Constructor.prototype, protoProps);
114344
+ if (staticProps)
114345
+ _defineProperties2(Constructor, staticProps);
114238
114346
  return Constructor;
114239
114347
  }
114240
114348
  __name(_createClass2, "_createClass");
@@ -120873,7 +120981,7 @@ function showFileDialog({ multiple = false, onSelect }) {
120873
120981
  }
120874
120982
  __name(showFileDialog, "showFileDialog");
120875
120983
  const name = "@teselagen/ove";
120876
- const version = "0.5.9";
120984
+ const version = "0.5.11";
120877
120985
  const main = "./src/index.js";
120878
120986
  const type = "module";
120879
120987
  const exports$1 = {
@@ -123192,7 +123300,7 @@ var classCallCheck = /* @__PURE__ */ __name(function(instance, Constructor) {
123192
123300
  }
123193
123301
  }, "classCallCheck");
123194
123302
  var createClass = /* @__PURE__ */ function() {
123195
- function defineProperties3(target, props) {
123303
+ function defineProperties4(target, props) {
123196
123304
  for (var i = 0; i < props.length; i++) {
123197
123305
  var descriptor2 = props[i];
123198
123306
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -123202,12 +123310,12 @@ var createClass = /* @__PURE__ */ function() {
123202
123310
  Object.defineProperty(target, descriptor2.key, descriptor2);
123203
123311
  }
123204
123312
  }
123205
- __name(defineProperties3, "defineProperties");
123313
+ __name(defineProperties4, "defineProperties");
123206
123314
  return function(Constructor, protoProps, staticProps) {
123207
123315
  if (protoProps)
123208
- defineProperties3(Constructor.prototype, protoProps);
123316
+ defineProperties4(Constructor.prototype, protoProps);
123209
123317
  if (staticProps)
123210
- defineProperties3(Constructor, staticProps);
123318
+ defineProperties4(Constructor, staticProps);
123211
123319
  return Constructor;
123212
123320
  };
123213
123321
  }();
@@ -135337,13 +135445,13 @@ const CompareEnzymeGroupsDialog = compose(
135337
135445
  cutsiteOrGroupKey: group2
135338
135446
  }));
135339
135447
  const byNameLower = /* @__PURE__ */ __name((n2) => n2.name.toLowerCase(), "byNameLower");
135340
- const shared2 = intersectionBy(
135448
+ const shared2 = intersectionBy$1(
135341
135449
  g1.allEnzymesInGroup,
135342
135450
  g2.allEnzymesInGroup,
135343
135451
  byNameLower
135344
135452
  );
135345
- const g1Only = differenceBy(g1.allEnzymesInGroup, shared2, byNameLower);
135346
- const g2Only = differenceBy(g2.allEnzymesInGroup, shared2, byNameLower);
135453
+ const g1Only = differenceBy$1(g1.allEnzymesInGroup, shared2, byNameLower);
135454
+ const g2Only = differenceBy$1(g2.allEnzymesInGroup, shared2, byNameLower);
135347
135455
  return /* @__PURE__ */ React__default$1.createElement(
135348
135456
  "div",
135349
135457
  {
@@ -140846,7 +140954,7 @@ function withContentRect(types2) {
140846
140954
  _this._node = null;
140847
140955
  _this._window = null;
140848
140956
  _this.measure = function(entries2) {
140849
- var contentRect = getContentRect(_this._node, getTypes(_this.props));
140957
+ var contentRect = getContentRect(_this._node, types2 || getTypes(_this.props));
140850
140958
  if (entries2) {
140851
140959
  contentRect.entry = entries2[0].contentRect;
140852
140960
  }
@@ -140888,7 +140996,7 @@ function withContentRect(types2) {
140888
140996
  if (this._node !== null) {
140889
140997
  this._resizeObserver.observe(this._node);
140890
140998
  if (typeof this.props.onResize === "function") {
140891
- this.props.onResize(getContentRect(this._node, getTypes(this.props)));
140999
+ this.props.onResize(getContentRect(this._node, types2 || getTypes(this.props)));
140892
141000
  }
140893
141001
  }
140894
141002
  }, "componentDidMount");
@@ -141178,7 +141286,7 @@ const importTool = compose(
141178
141286
  ToolbarItem$1,
141179
141287
  __spreadValues({}, __spreadValues({
141180
141288
  Icon: /* @__PURE__ */ React__default$1.createElement(Icon, { "data-test": "veImportTool", icon: "export" }),
141181
- IconWrapper: Dropzone,
141289
+ IconWrapper: Dropzone$1,
141182
141290
  IconWrapperProps: {
141183
141291
  multiple: false,
141184
141292
  style: {},
@@ -142568,7 +142676,7 @@ const _DropHandler = class _DropHandler extends React__default$1.Component {
142568
142676
  render() {
142569
142677
  const { children, style: style2, className, disabled } = this.props;
142570
142678
  return /* @__PURE__ */ React__default$1.createElement(
142571
- Dropzone,
142679
+ Dropzone$1,
142572
142680
  {
142573
142681
  disabled,
142574
142682
  onClick: (evt) => evt.preventDefault(),
@@ -143879,7 +143987,7 @@ function Ladder({
143879
143987
  style: { position: "absolute", top: 5, right: 5, color: "white" },
143880
143988
  onClick: () => __async(this, null, function* () {
143881
143989
  try {
143882
- const canvas = yield import("./html2canvas.esm--JN4fLQL.js");
143990
+ const canvas = yield import("./html2canvas.esm-nFNn58sx.js");
143883
143991
  canvas.default(document.querySelector(".ve-digest-container")).then((canvas2) => {
143884
143992
  canvas2.toBlob(
143885
143993
  (blob) => navigator.clipboard.write([
@@ -146680,6 +146788,8 @@ __name(_defineProperties, "_defineProperties");
146680
146788
  function _createClass(Constructor, protoProps, staticProps) {
146681
146789
  if (protoProps)
146682
146790
  _defineProperties(Constructor.prototype, protoProps);
146791
+ if (staticProps)
146792
+ _defineProperties(Constructor, staticProps);
146683
146793
  return Constructor;
146684
146794
  }
146685
146795
  __name(_createClass, "_createClass");