@teselagen/ove 0.5.11 → 0.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AlignmentTool/index.d.ts +4 -0
- package/AlignmentView/AlignmentVisibilityTool.d.ts +2 -0
- package/AlignmentView/EditTrackNameDialog.d.ts +1 -0
- package/AlignmentView/HorizontalPanelDragHandle.d.ts +3 -0
- package/AlignmentView/Minimap.d.ts +63 -0
- package/AlignmentView/Mismatches.d.ts +20 -0
- package/AlignmentView/PairwiseAlignmentView.d.ts +9 -0
- package/AlignmentView/PerformantSelectionLayer.d.ts +1 -0
- package/AlignmentView/coerceInitialValue.d.ts +4 -0
- package/AlignmentView/getGapMap.d.ts +1 -0
- package/AlignmentView/getGaps.d.ts +4 -0
- package/AlignmentView/getPairwiseOverviewLinearViewOptions.d.ts +22 -0
- package/AlignmentView/getTrackFromEvent.d.ts +1 -0
- package/AlignmentView/index.d.ts +107 -0
- package/AlignmentView/isTargetWithinEl.d.ts +1 -0
- package/AlignmentView/updateTrackHelper.d.ts +10 -0
- package/AutoAnnotate.d.ts +4 -0
- package/AutoAnnotateBpMatchingDialog.d.ts +1 -0
- package/CircularView/Axis.d.ts +12 -0
- package/CircularView/AxisNumbers.d.ts +7 -0
- package/CircularView/Caret.d.ts +2 -0
- package/CircularView/CircularDnaSequence.d.ts +10 -0
- package/CircularView/CircularZoomMinimap.d.ts +4 -0
- package/CircularView/Cutsite.d.ts +4 -0
- package/CircularView/Cutsites.d.ts +18 -0
- package/CircularView/DeletionLayer.d.ts +8 -0
- package/CircularView/Feature.d.ts +1 -0
- package/CircularView/Labels/index.d.ts +22 -0
- package/CircularView/Labels/relaxLabelAngles.d.ts +2 -0
- package/CircularView/Labels/relaxLabels_DEPRECATED.d.ts +1 -0
- package/CircularView/Orf.d.ts +6 -0
- package/CircularView/Part.d.ts +9 -0
- package/CircularView/PositionAnnotationOnCircle.d.ts +12 -0
- package/CircularView/Primer.d.ts +1 -0
- package/CircularView/RotateCircularViewSlider.d.ts +7 -0
- package/CircularView/SelectionLayer.d.ts +2 -0
- package/CircularView/VeTopRightContainer.d.ts +4 -0
- package/CircularView/ZoomCircularViewSlider.d.ts +8 -0
- package/CircularView/drawAnnotations.d.ts +10 -0
- package/CircularView/drawDirectedPiePiece.d.ts +11 -0
- package/CircularView/getAngleForPositionMidpoint.d.ts +1 -0
- package/CircularView/getInternalLabel.d.ts +11 -0
- package/CircularView/getRangeAnglesSpecial.d.ts +7 -0
- package/CircularView/getYOffset.d.ts +1 -0
- package/CircularView/index.d.ts +20 -0
- package/CircularView/normalizeAngle.d.ts +1 -0
- package/CircularView/normalizeAngleRange.d.ts +1 -0
- package/CircularView/positionCutsites.d.ts +4 -0
- package/CircularView/shouldFlipText.d.ts +1 -0
- package/CircularView/utils/polarToSpecialCartesian.d.ts +4 -0
- package/CreateAnnotationsPage.d.ts +10 -0
- package/CreateCustomEnzyme/index.d.ts +2 -0
- package/CutsiteFilter/AdditionalCutsiteInfoDialog.d.ts +29 -0
- package/CutsiteFilter/index.d.ts +3 -0
- package/CutsiteFilter/withRestrictionEnzymes.d.ts +1 -0
- package/DigestTool/AddLaddersDialog.d.ts +1 -0
- package/DigestTool/DigestTool.d.ts +11 -0
- package/DigestTool/Ladder.d.ts +11 -0
- package/DigestTool/createFragmentLines.d.ts +0 -0
- package/DigestTool/ladderDefaults.d.ts +5 -0
- package/Editor/CommandHotkeyHandler.d.ts +2 -0
- package/Editor/DropHandler.d.ts +7 -0
- package/Editor/FillWindow.d.ts +9 -0
- package/Editor/index.d.ts +41 -0
- package/Editor/userDefinedHandlersAndOpts.d.ts +1 -0
- package/EnzymeViewer/index.d.ts +11 -0
- package/FindBar/index.d.ts +12 -0
- package/GlobalDialog.d.ts +1 -0
- package/GlobalDialogUtils.d.ts +12 -0
- package/LinearView/SequenceName.d.ts +5 -0
- package/LinearView/ZoomLinearView.d.ts +7 -0
- package/LinearView/index.d.ts +5 -0
- package/ManageEnzymes/index.d.ts +2 -0
- package/MenuBar/defaultConfig.d.ts +225 -0
- package/MenuBar/index.d.ts +2 -0
- package/MenuBar/viewSubmenu.d.ts +146 -0
- package/PCRTool/PCRTool.d.ts +2 -0
- package/Reflex/Browser.d.ts +19 -0
- package/Reflex/ReflexContainer.d.ts +63 -0
- package/Reflex/ReflexElement.d.ts +33 -0
- package/Reflex/ReflexEvents.d.ts +7 -0
- package/Reflex/ReflexSplitter.d.ts +33 -0
- package/Reflex/index.d.ts +4 -0
- package/RowItem/AnnotationContainerHolder.d.ts +2 -0
- package/RowItem/AnnotationPositioner.d.ts +7 -0
- package/RowItem/Axis.d.ts +2 -0
- package/RowItem/Caret/index.d.ts +2 -0
- package/RowItem/Chromatograms/Chromatogram.d.ts +1 -0
- package/RowItem/CutsiteSelectionLayers.d.ts +4 -0
- package/RowItem/Cutsites.d.ts +2 -0
- package/RowItem/DeletionLayers/index.d.ts +2 -0
- package/RowItem/Labels.d.ts +2 -0
- package/RowItem/Orf.d.ts +2 -0
- package/RowItem/Orfs.d.ts +2 -0
- package/RowItem/SelectionLayer/index.d.ts +2 -0
- package/RowItem/Sequence.d.ts +8 -0
- package/RowItem/StackedAnnotations/PointedAnnotation.d.ts +2 -0
- package/RowItem/StackedAnnotations/getStructuredBases.d.ts +17 -0
- package/RowItem/StackedAnnotations/index.d.ts +2 -0
- package/RowItem/StackedAnnotations/primerBases.d.ts +10 -0
- package/RowItem/Translations/AASliver.d.ts +2 -0
- package/RowItem/Translations/Translation.d.ts +2 -0
- package/RowItem/Translations/index.d.ts +2 -0
- package/RowItem/constants.d.ts +3 -0
- package/RowItem/getCutsiteLabelHeights.d.ts +8 -0
- package/RowItem/getXStartAndWidthFromNonCircularRange.d.ts +4 -0
- package/RowItem/getXStartAndWidthOfRangeWrtRow.d.ts +11 -0
- package/RowItem/getXStartAndWidthOfRowAnnotation.d.ts +6 -0
- package/RowItem/index.d.ts +1 -0
- package/RowItem/partOverhangs.d.ts +1 -0
- package/RowItem/utils.d.ts +4 -0
- package/RowView/estimateRowHeight.d.ts +6 -0
- package/RowView/index.d.ts +10 -0
- package/SimpleCircularOrLinearView.d.ts +2 -0
- package/SimpleOligoPreview.d.ts +7 -0
- package/StatusBar/MeltingTemp.d.ts +5 -0
- package/StatusBar/index.d.ts +15 -0
- package/ToolBar/ToolbarItem.d.ts +14 -0
- package/ToolBar/alignmentTool.d.ts +6 -0
- package/ToolBar/array_move.d.ts +1 -0
- package/ToolBar/cutsiteTool.d.ts +5 -0
- package/ToolBar/downloadTool.d.ts +5 -0
- package/ToolBar/editTool.d.ts +10 -0
- package/ToolBar/featureTool.d.ts +5 -0
- package/ToolBar/findTool.d.ts +2 -0
- package/ToolBar/importTool.d.ts +2 -0
- package/ToolBar/index.d.ts +2 -0
- package/ToolBar/inlineFindTool.d.ts +5 -0
- package/ToolBar/oligoTool.d.ts +5 -0
- package/ToolBar/orfTool.d.ts +5 -0
- package/ToolBar/partTool.d.ts +5 -0
- package/ToolBar/printTool.d.ts +6 -0
- package/ToolBar/redoTool.d.ts +5 -0
- package/ToolBar/saveTool.d.ts +5 -0
- package/ToolBar/undoTool.d.ts +5 -0
- package/ToolBar/versionHistoryTool.d.ts +5 -0
- package/ToolBar/visibilityTool.d.ts +5 -0
- package/VersionHistoryView/index.d.ts +23 -0
- package/addAlignment.d.ts +1 -0
- package/commands/getOveHotkeyDefs.d.ts +4 -0
- package/commands/index.d.ts +648 -0
- package/constants/constants.d.ts +2 -0
- package/constants/dnaToColor.d.ts +8 -0
- package/constants/draggableClassnames.d.ts +6 -0
- package/constants/findToolConstants.d.ts +1 -0
- package/constants/orfFrameToColorMap.d.ts +7 -0
- package/constants/rowviewContants.d.ts +3 -0
- package/constants/specialCutsiteFilterOptions.d.ts +31 -0
- package/constants.d.ts +1 -0
- package/createVectorEditor/index.d.ts +21 -0
- package/createVectorEditor/makeStore.d.ts +2 -0
- package/fileUtils.d.ts +12 -0
- package/helperComponents/AddOrEditAnnotationDialog/index.d.ts +6 -0
- package/helperComponents/AddOrEditFeatureDialog/index.d.ts +2 -0
- package/helperComponents/AddOrEditPartDialog/index.d.ts +2 -0
- package/helperComponents/AddOrEditPrimerDialog/EditCaretPosition.d.ts +15 -0
- package/helperComponents/AddOrEditPrimerDialog/index.d.ts +2 -0
- package/helperComponents/EnzymesDialog/index.d.ts +2 -0
- package/helperComponents/GoToDialog.d.ts +2 -0
- package/helperComponents/MergeFeaturesDialog/index.d.ts +2 -0
- package/helperComponents/MultipleSeqsDetectedOnImportDialog.d.ts +1 -0
- package/helperComponents/PinchHelper/PinchHelper.d.ts +6 -0
- package/helperComponents/PrintDialog/index.d.ts +2 -0
- package/helperComponents/PropertiesDialog/ColorPicker.d.ts +6 -0
- package/helperComponents/PropertiesDialog/CutsiteProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/FeatureProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/GenbankView.d.ts +2 -0
- package/helperComponents/PropertiesDialog/GeneralProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/GenericAnnotationProperties.d.ts +10 -0
- package/helperComponents/PropertiesDialog/OrfProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/PartProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/PrimerProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/SingleEnzymeCutsiteInfo.d.ts +12 -0
- package/helperComponents/PropertiesDialog/TranslationProperties.d.ts +2 -0
- package/helperComponents/PropertiesDialog/index.d.ts +10 -0
- package/helperComponents/PropertiesDialog/typeField.d.ts +7 -0
- package/helperComponents/PropertiesDialog/utils.d.ts +5 -0
- package/helperComponents/RemoveDuplicates/index.d.ts +2 -0
- package/helperComponents/RenameSequenceDialog.d.ts +2 -0
- package/helperComponents/SelectDialog.d.ts +2 -0
- package/helperComponents/UncontrolledSliderWithPlusMinusBtns.d.ts +13 -0
- package/helperComponents/VeWarning/index.d.ts +2 -0
- package/helperComponents/createSimpleDialog.d.ts +1 -0
- package/helperComponents/partTagSearch.d.ts +1 -0
- package/helperComponents/withHover.d.ts +11 -0
- package/html2canvas.esm-GLpiTZLt.cjs +7891 -0
- package/html2canvas.esm-nFNn58sx.js +7891 -0
- package/index.cjs.js +700 -616
- package/index.d.ts +25 -0
- package/index.es.js +702 -618
- package/index.umd.js +1472 -504
- package/package.json +2 -2
- package/redux/alignments.d.ts +9 -0
- package/redux/annotationLabelVisibility.d.ts +8 -0
- package/redux/annotationVisibility.d.ts +45 -0
- package/redux/annotationsToSupport.d.ts +8 -0
- package/redux/caretPosition.d.ts +4 -0
- package/redux/charWidth.d.ts +3 -0
- package/redux/copyOptions.d.ts +14 -0
- package/redux/createYourOwnEnzyme.d.ts +11 -0
- package/redux/deletionLayers.d.ts +5 -0
- package/redux/digestTool.d.ts +7 -0
- package/redux/featureLengthsToHide.d.ts +7 -0
- package/redux/findTool.d.ts +12 -0
- package/redux/frameTranslations.d.ts +13 -0
- package/redux/hoveredAnnotation.d.ts +4 -0
- package/redux/index.d.ts +20 -0
- package/redux/labelLineIntensity.d.ts +3 -0
- package/redux/labelSize.d.ts +3 -0
- package/redux/lastSavedId.d.ts +3 -0
- package/redux/middleware.d.ts +2 -0
- package/redux/minimumOrfSize.d.ts +4 -0
- package/redux/modalActions.d.ts +0 -0
- package/redux/panelsShown.d.ts +21 -0
- package/redux/partLengthsToHide.d.ts +7 -0
- package/redux/primerLengthsToHide.d.ts +7 -0
- package/redux/propertiesTool.d.ts +6 -0
- package/redux/readOnly.d.ts +4 -0
- package/redux/replacementLayers.d.ts +5 -0
- package/redux/restrictionEnzymes.d.ts +13 -0
- package/redux/selectedAnnotations.d.ts +13 -0
- package/redux/selectedPartTags.d.ts +3 -0
- package/redux/selectionLayer.d.ts +7 -0
- package/redux/sequenceData/circular.d.ts +3 -0
- package/redux/sequenceData/description.d.ts +3 -0
- package/redux/sequenceData/features.d.ts +4 -0
- package/redux/sequenceData/index.d.ts +10 -0
- package/redux/sequenceData/lineageLines.d.ts +2 -0
- package/redux/sequenceData/materiallyAvailable.d.ts +3 -0
- package/redux/sequenceData/name.d.ts +3 -0
- package/redux/sequenceData/parts.d.ts +4 -0
- package/redux/sequenceData/primers.d.ts +4 -0
- package/redux/sequenceData/sequence.d.ts +3 -0
- package/redux/sequenceData/sharedActionCreators.d.ts +0 -0
- package/redux/sequenceData/translations.d.ts +4 -0
- package/redux/sequenceData/upsertDeleteActionGenerator.d.ts +3 -0
- package/redux/sequenceDataHistory.d.ts +8 -0
- package/redux/showGCContent.d.ts +3 -0
- package/redux/toolBar.d.ts +6 -0
- package/redux/uppercaseSequenceMapFont.d.ts +3 -0
- package/redux/useAdditionalOrfStartCodons.d.ts +3 -0
- package/redux/utils/addDashesForMatchStartAndEndForTracks/index.d.ts +1 -0
- package/redux/utils/addMetaToActionCreators.d.ts +1 -0
- package/redux/utils/createMergedDefaultStateReducer.d.ts +4 -0
- package/redux/utils/createMetaAction.d.ts +1 -0
- package/redux/versionHistory.d.ts +5 -0
- package/selectors/annotationLabelVisibility.d.ts +2 -0
- package/selectors/annotationSearchSelector.d.ts +7 -0
- package/selectors/cdsFeaturesSelector.d.ts +6 -0
- package/selectors/circularSelector.d.ts +1 -0
- package/selectors/cutsiteLabelColorSelector.d.ts +6 -0
- package/selectors/cutsitesByRangeSelector.d.ts +0 -0
- package/selectors/cutsitesSelector.d.ts +14 -0
- package/selectors/editorSelector.d.ts +2 -0
- package/selectors/featuresSelector.d.ts +6 -0
- package/selectors/filteredCutsitesSelector.d.ts +6 -0
- package/selectors/filteredFeaturesSelector.d.ts +6 -0
- package/selectors/filteredPartsSelector.d.ts +6 -0
- package/selectors/filteredPrimersSelector.d.ts +6 -0
- package/selectors/filteredRestrictionEnzymesSelector.d.ts +2 -0
- package/selectors/getAdditionalEnzymesSelector.d.ts +6 -0
- package/selectors/index.d.ts +41 -0
- package/selectors/isEnzymeFilterAndSelector.d.ts +2 -0
- package/selectors/minimumOrfSizeSelector.d.ts +2 -0
- package/selectors/orfsSelector.d.ts +26 -0
- package/selectors/partsSelector.d.ts +6 -0
- package/selectors/primersSelector.d.ts +6 -0
- package/selectors/restrictionEnzymesSelector.d.ts +6 -0
- package/selectors/searchLayersSelector.d.ts +6 -0
- package/selectors/selectedAnnotationsSelector.d.ts +2 -0
- package/selectors/selectedCutsitesSelector.d.ts +12 -0
- package/selectors/sequenceDataSelector.d.ts +2 -0
- package/selectors/sequenceLengthSelector.d.ts +1 -0
- package/selectors/sequenceSelector.d.ts +1 -0
- package/selectors/tagsToBoldSelector.d.ts +2 -0
- package/selectors/translationSearchMatchesSelector.d.ts +6 -0
- package/selectors/translationsRawSelector.d.ts +6 -0
- package/selectors/translationsSelector.d.ts +16 -0
- package/src/AlignmentTool/index.js +7 -11
- package/src/ToolBar/index.js +12 -12
- package/style.css +33 -4
- package/updateEditor.d.ts +3 -0
- package/utils/PassThrough.d.ts +3 -0
- package/utils/addWrappedAddons.d.ts +1 -0
- package/utils/annotationTypes.d.ts +6 -0
- package/utils/arrayUtils.d.ts +3 -0
- package/utils/calculateTickMarkPositionsForGivenRange.d.ts +7 -0
- package/utils/cleanSequenceData_DEPRECATED/arrayToObjWithIds.d.ts +1 -0
- package/utils/combineReducersDontIgnoreKeys.d.ts +1 -0
- package/utils/commandUtils.d.ts +1 -0
- package/utils/editorUtils.d.ts +36 -0
- package/utils/getAnnotationClassnames.d.ts +6 -0
- package/utils/getAnnotationNameAndStartStopString.d.ts +14 -0
- package/utils/getVisibleStartEnd.d.ts +7 -0
- package/utils/massageTickSpacing.d.ts +1 -0
- package/utils/onlyUpdateForKeysDeep.d.ts +2 -0
- package/utils/prepareRowData.d.ts +6 -0
- package/utils/proteinUtils.d.ts +1 -0
- package/utils/pureNoFunc.d.ts +2 -0
- package/utils/selectionLayer.d.ts +5 -0
- package/utils/shouldRerender.d.ts +2 -0
- package/utils/showFileDialog.d.ts +4 -0
- package/utils/updateLabelsForInViewFeatures.d.ts +3 -0
- package/utils/updateLabelsForInViewFeaturesCircView.d.ts +0 -0
- package/utils/useAAColorType.d.ts +2 -0
- package/utils/useAnnotationLimits.d.ts +14 -0
- package/utils/useChromatogramPrefs.d.ts +7 -0
- package/utils/useLadders.d.ts +2 -0
- package/utils/useMeltingTemp.d.ts +2 -0
- package/utils/useTmType.d.ts +2 -0
- package/withEditorInteractions/Keyboard.d.ts +16 -0
- package/withEditorInteractions/clickAndDragUtils.d.ts +67 -0
- package/withEditorInteractions/createSequenceInputPopup.d.ts +1 -0
- package/withEditorInteractions/getBpsPerRow.d.ts +9 -0
- package/withEditorInteractions/index.d.ts +2 -0
- package/withEditorInteractions/isElementInViewport.d.ts +2 -0
- package/withEditorInteractions/moveCaret.d.ts +10 -0
- package/withEditorProps/index.d.ts +17 -0
package/index.cjs.js
CHANGED
|
@@ -56,7 +56,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
56
56
|
step2((generator = generator.apply(__this, __arguments)).next());
|
|
57
57
|
});
|
|
58
58
|
};
|
|
59
|
-
var
|
|
59
|
+
var _s, _t, _u, _v, _w, _z, _C, _J;
|
|
60
60
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
61
61
|
const core$5 = require("@blueprintjs/core");
|
|
62
62
|
const React$2 = require("react");
|
|
@@ -2835,7 +2835,7 @@ var followCursor = {
|
|
|
2835
2835
|
}
|
|
2836
2836
|
}
|
|
2837
2837
|
__name(onMouseMove, "onMouseMove");
|
|
2838
|
-
function
|
|
2838
|
+
function create6() {
|
|
2839
2839
|
if (instance.props.followCursor) {
|
|
2840
2840
|
activeInstances.push({
|
|
2841
2841
|
instance,
|
|
@@ -2844,7 +2844,7 @@ var followCursor = {
|
|
|
2844
2844
|
addMouseCoordsListener(doc);
|
|
2845
2845
|
}
|
|
2846
2846
|
}
|
|
2847
|
-
__name(
|
|
2847
|
+
__name(create6, "create");
|
|
2848
2848
|
function destroy2() {
|
|
2849
2849
|
activeInstances = activeInstances.filter(function(data) {
|
|
2850
2850
|
return data.instance !== instance;
|
|
@@ -2857,7 +2857,7 @@ var followCursor = {
|
|
|
2857
2857
|
}
|
|
2858
2858
|
__name(destroy2, "destroy");
|
|
2859
2859
|
return {
|
|
2860
|
-
onCreate:
|
|
2860
|
+
onCreate: create6,
|
|
2861
2861
|
onDestroy: destroy2,
|
|
2862
2862
|
onBeforeUpdate: /* @__PURE__ */ __name(function onBeforeUpdate2() {
|
|
2863
2863
|
prevProps = instance.props;
|
|
@@ -2870,7 +2870,7 @@ var followCursor = {
|
|
|
2870
2870
|
if (followCursor2 !== void 0 && prevProps.followCursor !== followCursor2) {
|
|
2871
2871
|
destroy2();
|
|
2872
2872
|
if (followCursor2) {
|
|
2873
|
-
|
|
2873
|
+
create6();
|
|
2874
2874
|
if (instance.state.isMounted && !wasFocusEvent && !getIsInitialBehavior()) {
|
|
2875
2875
|
addListener();
|
|
2876
2876
|
}
|
|
@@ -4233,6 +4233,7 @@ Dropzone.propTypes = {
|
|
|
4233
4233
|
*/
|
|
4234
4234
|
validator: PropTypes.func
|
|
4235
4235
|
};
|
|
4236
|
+
const Dropzone$1 = Dropzone;
|
|
4236
4237
|
var initialState = {
|
|
4237
4238
|
isFocused: false,
|
|
4238
4239
|
isFileDialogActive: false,
|
|
@@ -5573,6 +5574,8 @@ __name(_defineProperties$2, "_defineProperties$2");
|
|
|
5573
5574
|
function _createClass$e(Constructor, protoProps, staticProps) {
|
|
5574
5575
|
if (protoProps)
|
|
5575
5576
|
_defineProperties$2(Constructor.prototype, protoProps);
|
|
5577
|
+
if (staticProps)
|
|
5578
|
+
_defineProperties$2(Constructor, staticProps);
|
|
5576
5579
|
Object.defineProperty(Constructor, "prototype", {
|
|
5577
5580
|
writable: false
|
|
5578
5581
|
});
|
|
@@ -5641,7 +5644,7 @@ function _createForOfIteratorHelperLoose$5(o2, allowArrayLike) {
|
|
|
5641
5644
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
5642
5645
|
if (it)
|
|
5643
5646
|
return (it = it.call(o2)).next.bind(it);
|
|
5644
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$8(o2)) || allowArrayLike) {
|
|
5647
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$8(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
5645
5648
|
if (it)
|
|
5646
5649
|
o2 = it;
|
|
5647
5650
|
var i = 0;
|
|
@@ -5664,12 +5667,12 @@ function _toPrimitive$2(input, hint) {
|
|
|
5664
5667
|
return input;
|
|
5665
5668
|
var prim = input[Symbol.toPrimitive];
|
|
5666
5669
|
if (prim !== void 0) {
|
|
5667
|
-
var res = prim.call(input, hint);
|
|
5670
|
+
var res = prim.call(input, hint || "default");
|
|
5668
5671
|
if (typeof res !== "object")
|
|
5669
5672
|
return res;
|
|
5670
5673
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
5671
5674
|
}
|
|
5672
|
-
return String(input);
|
|
5675
|
+
return (hint === "string" ? String : Number)(input);
|
|
5673
5676
|
}
|
|
5674
5677
|
__name(_toPrimitive$2, "_toPrimitive$2");
|
|
5675
5678
|
function _toPropertyKey$1(arg) {
|
|
@@ -7412,7 +7415,7 @@ function onBecomeUnobserved(thing, arg2, arg3) {
|
|
|
7412
7415
|
}
|
|
7413
7416
|
__name(onBecomeUnobserved, "onBecomeUnobserved");
|
|
7414
7417
|
function interceptHook(hook, thing, arg2, arg3) {
|
|
7415
|
-
var atom = getAtom(thing);
|
|
7418
|
+
var atom = typeof arg3 === "function" ? getAtom(thing, arg2) : getAtom(thing);
|
|
7416
7419
|
var cb = isFunction$7(arg3) ? arg3 : arg2;
|
|
7417
7420
|
var listenersKey = hook + "L";
|
|
7418
7421
|
if (atom[listenersKey]) {
|
|
@@ -7594,6 +7597,12 @@ function _isObservable(value, property2) {
|
|
|
7594
7597
|
if (!value) {
|
|
7595
7598
|
return false;
|
|
7596
7599
|
}
|
|
7600
|
+
if (property2 !== void 0) {
|
|
7601
|
+
if (isObservableObject(value)) {
|
|
7602
|
+
return value[$mobx].values_.has(property2);
|
|
7603
|
+
}
|
|
7604
|
+
return false;
|
|
7605
|
+
}
|
|
7597
7606
|
return isObservableObject(value) || !!value[$mobx] || isAtom(value) || isReaction(value) || isComputedValue(value);
|
|
7598
7607
|
}
|
|
7599
7608
|
__name(_isObservable, "_isObservable");
|
|
@@ -9353,6 +9362,9 @@ function getAdministration$1(thing, property2) {
|
|
|
9353
9362
|
if (!thing) {
|
|
9354
9363
|
die(29);
|
|
9355
9364
|
}
|
|
9365
|
+
if (property2 !== void 0) {
|
|
9366
|
+
return getAdministration$1(getAtom(thing, property2));
|
|
9367
|
+
}
|
|
9356
9368
|
if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {
|
|
9357
9369
|
return thing;
|
|
9358
9370
|
}
|
|
@@ -9785,7 +9797,7 @@ function observer$1(baseComponent, options) {
|
|
|
9785
9797
|
if (ReactMemoSymbol && baseComponent["$$typeof"] === ReactMemoSymbol) {
|
|
9786
9798
|
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.");
|
|
9787
9799
|
}
|
|
9788
|
-
var useForwardRef = (_a2 = void 0) !== null && _a2 !== void 0 ? _a2 : false;
|
|
9800
|
+
var useForwardRef = (_a2 = options === null || options === void 0 ? void 0 : options.forwardRef) !== null && _a2 !== void 0 ? _a2 : false;
|
|
9789
9801
|
var render3 = baseComponent;
|
|
9790
9802
|
var baseComponentName = baseComponent.displayName || baseComponent.name;
|
|
9791
9803
|
if (ReactForwardRefSymbol && baseComponent["$$typeof"] === ReactForwardRefSymbol) {
|
|
@@ -10596,6 +10608,7 @@ an.setUseProxies.bind(an);
|
|
|
10596
10608
|
var pn = an.applyPatches.bind(an);
|
|
10597
10609
|
an.createDraft.bind(an);
|
|
10598
10610
|
an.finishDraft.bind(an);
|
|
10611
|
+
const immer = fn3;
|
|
10599
10612
|
var freeGlobal$2 = typeof global == "object" && global && global.Object === Object && global;
|
|
10600
10613
|
var freeSelf$1 = typeof self == "object" && self && self.Object === Object && self;
|
|
10601
10614
|
var root$b = freeGlobal$2 || freeSelf$1 || Function("return this")();
|
|
@@ -10879,7 +10892,8 @@ var baseSetToString$2 = !defineProperty$b ? identity$9 : function(func, string2)
|
|
|
10879
10892
|
"writable": true
|
|
10880
10893
|
});
|
|
10881
10894
|
};
|
|
10882
|
-
|
|
10895
|
+
const baseSetToString$3 = baseSetToString$2;
|
|
10896
|
+
var setToString$3 = shortOut$2(baseSetToString$3);
|
|
10883
10897
|
function arrayEach$3(array2, iteratee) {
|
|
10884
10898
|
var index2 = -1, length = array2 == null ? 0 : array2.length;
|
|
10885
10899
|
while (++index2 < length) {
|
|
@@ -10891,8 +10905,8 @@ function arrayEach$3(array2, iteratee) {
|
|
|
10891
10905
|
}
|
|
10892
10906
|
__name(arrayEach$3, "arrayEach$3");
|
|
10893
10907
|
function baseFindIndex$3(array2, predicate, fromIndex, fromRight) {
|
|
10894
|
-
var length = array2.length, index2 = fromIndex + -1;
|
|
10895
|
-
while (++index2 < length) {
|
|
10908
|
+
var length = array2.length, index2 = fromIndex + (fromRight ? 1 : -1);
|
|
10909
|
+
while (fromRight ? index2-- : ++index2 < length) {
|
|
10896
10910
|
if (predicate(array2[index2], index2, array2)) {
|
|
10897
10911
|
return index2;
|
|
10898
10912
|
}
|
|
@@ -10963,7 +10977,7 @@ function copyObject$7(source, props, object3, customizer) {
|
|
|
10963
10977
|
var index2 = -1, length = props.length;
|
|
10964
10978
|
while (++index2 < length) {
|
|
10965
10979
|
var key = props[index2];
|
|
10966
|
-
var newValue = void 0;
|
|
10980
|
+
var newValue = customizer ? customizer(object3[key], source[key], key, object3, source) : void 0;
|
|
10967
10981
|
if (newValue === void 0) {
|
|
10968
10982
|
newValue = source[key];
|
|
10969
10983
|
}
|
|
@@ -11064,6 +11078,7 @@ var isArguments$7 = baseIsArguments$2(/* @__PURE__ */ function() {
|
|
|
11064
11078
|
}()) ? baseIsArguments$2 : function(value) {
|
|
11065
11079
|
return isObjectLike$d(value) && hasOwnProperty$v.call(value, "callee") && !propertyIsEnumerable$3.call(value, "callee");
|
|
11066
11080
|
};
|
|
11081
|
+
const isArguments$8 = isArguments$7;
|
|
11067
11082
|
function stubFalse$1() {
|
|
11068
11083
|
return false;
|
|
11069
11084
|
}
|
|
@@ -11074,6 +11089,7 @@ var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
|
|
|
11074
11089
|
var Buffer$4 = moduleExports$2 ? root$b.Buffer : void 0;
|
|
11075
11090
|
var nativeIsBuffer = Buffer$4 ? Buffer$4.isBuffer : void 0;
|
|
11076
11091
|
var isBuffer$8 = nativeIsBuffer || stubFalse$1;
|
|
11092
|
+
const isBuffer$9 = isBuffer$8;
|
|
11077
11093
|
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]";
|
|
11078
11094
|
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]";
|
|
11079
11095
|
var typedArrayTags$1 = {};
|
|
@@ -11105,10 +11121,11 @@ var nodeUtil$3 = function() {
|
|
|
11105
11121
|
}();
|
|
11106
11122
|
var nodeIsTypedArray$1 = nodeUtil$3 && nodeUtil$3.isTypedArray;
|
|
11107
11123
|
var isTypedArray$3 = nodeIsTypedArray$1 ? baseUnary$6(nodeIsTypedArray$1) : baseIsTypedArray$2;
|
|
11124
|
+
const isTypedArray$4 = isTypedArray$3;
|
|
11108
11125
|
var objectProto$u = Object.prototype;
|
|
11109
11126
|
var hasOwnProperty$u = objectProto$u.hasOwnProperty;
|
|
11110
11127
|
function arrayLikeKeys$3(value, inherited) {
|
|
11111
|
-
var isArr = isArray$p(value), isArg = !isArr && isArguments$
|
|
11128
|
+
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;
|
|
11112
11129
|
for (var key in value) {
|
|
11113
11130
|
if ((inherited || hasOwnProperty$u.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
11114
11131
|
(key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -11192,6 +11209,7 @@ __name(keysIn$4, "keysIn$4");
|
|
|
11192
11209
|
var assignIn = createAssigner$2(function(object3, source) {
|
|
11193
11210
|
copyObject$7(source, keysIn$4(source), object3);
|
|
11194
11211
|
});
|
|
11212
|
+
const extend$2 = assignIn;
|
|
11195
11213
|
var reIsDeepProp$1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp$1 = /^\w*$/;
|
|
11196
11214
|
function isKey$4(value, object3) {
|
|
11197
11215
|
if (isArray$p(value)) {
|
|
@@ -11465,7 +11483,7 @@ function arrayPush$4(array2, values3) {
|
|
|
11465
11483
|
__name(arrayPush$4, "arrayPush$4");
|
|
11466
11484
|
var spreadableSymbol$1 = Symbol$9 ? Symbol$9.isConcatSpreadable : void 0;
|
|
11467
11485
|
function isFlattenable$2(value) {
|
|
11468
|
-
return isArray$p(value) || isArguments$
|
|
11486
|
+
return isArray$p(value) || isArguments$8(value) || !!(spreadableSymbol$1 && value && value[spreadableSymbol$1]);
|
|
11469
11487
|
}
|
|
11470
11488
|
__name(isFlattenable$2, "isFlattenable$2");
|
|
11471
11489
|
function baseFlatten$4(array2, depth, predicate, isStrict, result) {
|
|
@@ -11474,8 +11492,10 @@ function baseFlatten$4(array2, depth, predicate, isStrict, result) {
|
|
|
11474
11492
|
result || (result = []);
|
|
11475
11493
|
while (++index2 < length) {
|
|
11476
11494
|
var value = array2[index2];
|
|
11477
|
-
if (predicate(value)) {
|
|
11478
|
-
{
|
|
11495
|
+
if (depth > 0 && predicate(value)) {
|
|
11496
|
+
if (depth > 1) {
|
|
11497
|
+
baseFlatten$4(value, depth - 1, predicate, isStrict, result);
|
|
11498
|
+
} else {
|
|
11479
11499
|
arrayPush$4(result, value);
|
|
11480
11500
|
}
|
|
11481
11501
|
} else if (!isStrict) {
|
|
@@ -11487,7 +11507,7 @@ function baseFlatten$4(array2, depth, predicate, isStrict, result) {
|
|
|
11487
11507
|
__name(baseFlatten$4, "baseFlatten$4");
|
|
11488
11508
|
function flatten$2(array2) {
|
|
11489
11509
|
var length = array2 == null ? 0 : array2.length;
|
|
11490
|
-
return length ? baseFlatten$4(array2) : [];
|
|
11510
|
+
return length ? baseFlatten$4(array2, 1) : [];
|
|
11491
11511
|
}
|
|
11492
11512
|
__name(flatten$2, "flatten$2");
|
|
11493
11513
|
function flatRest$2(func) {
|
|
@@ -11786,13 +11806,14 @@ var deburredLetters = {
|
|
|
11786
11806
|
"ſ": "s"
|
|
11787
11807
|
};
|
|
11788
11808
|
var deburrLetter = basePropertyOf(deburredLetters);
|
|
11809
|
+
const deburrLetter$1 = deburrLetter;
|
|
11789
11810
|
var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
|
|
11790
11811
|
var rsComboMarksRange$2 = "\\u0300-\\u036f", reComboHalfMarksRange$2 = "\\ufe20-\\ufe2f", rsComboSymbolsRange$2 = "\\u20d0-\\u20ff", rsComboRange$2 = rsComboMarksRange$2 + reComboHalfMarksRange$2 + rsComboSymbolsRange$2;
|
|
11791
11812
|
var rsCombo$2 = "[" + rsComboRange$2 + "]";
|
|
11792
11813
|
var reComboMark = RegExp(rsCombo$2, "g");
|
|
11793
11814
|
function deburr(string2) {
|
|
11794
11815
|
string2 = toString$6(string2);
|
|
11795
|
-
return string2 && string2.replace(reLatin, deburrLetter).replace(reComboMark, "");
|
|
11816
|
+
return string2 && string2.replace(reLatin, deburrLetter$1).replace(reComboMark, "");
|
|
11796
11817
|
}
|
|
11797
11818
|
__name(deburr, "deburr");
|
|
11798
11819
|
var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
@@ -11824,7 +11845,7 @@ function unicodeWords(string2) {
|
|
|
11824
11845
|
__name(unicodeWords, "unicodeWords");
|
|
11825
11846
|
function words(string2, pattern, guard) {
|
|
11826
11847
|
string2 = toString$6(string2);
|
|
11827
|
-
pattern = pattern;
|
|
11848
|
+
pattern = guard ? void 0 : pattern;
|
|
11828
11849
|
if (pattern === void 0) {
|
|
11829
11850
|
return hasUnicodeWord(string2) ? unicodeWords(string2) : asciiWords(string2);
|
|
11830
11851
|
}
|
|
@@ -12037,6 +12058,7 @@ if (DataView$3 && getTag$6(new DataView$3(new ArrayBuffer(1))) != dataViewTag$8
|
|
|
12037
12058
|
return result;
|
|
12038
12059
|
}, "getTag$6");
|
|
12039
12060
|
}
|
|
12061
|
+
const getTag$7 = getTag$6;
|
|
12040
12062
|
var objectProto$m = Object.prototype;
|
|
12041
12063
|
var hasOwnProperty$n = objectProto$m.hasOwnProperty;
|
|
12042
12064
|
function initCloneArray$2(array2) {
|
|
@@ -12119,14 +12141,14 @@ function initCloneObject$2(object3) {
|
|
|
12119
12141
|
__name(initCloneObject$2, "initCloneObject$2");
|
|
12120
12142
|
var mapTag$a = "[object Map]";
|
|
12121
12143
|
function baseIsMap$2(value) {
|
|
12122
|
-
return isObjectLike$d(value) && getTag$
|
|
12144
|
+
return isObjectLike$d(value) && getTag$7(value) == mapTag$a;
|
|
12123
12145
|
}
|
|
12124
12146
|
__name(baseIsMap$2, "baseIsMap$2");
|
|
12125
12147
|
var nodeIsMap$1 = nodeUtil$3 && nodeUtil$3.isMap;
|
|
12126
12148
|
var isMap$3 = nodeIsMap$1 ? baseUnary$6(nodeIsMap$1) : baseIsMap$2;
|
|
12127
12149
|
var setTag$a = "[object Set]";
|
|
12128
12150
|
function baseIsSet$2(value) {
|
|
12129
|
-
return isObjectLike$d(value) && getTag$
|
|
12151
|
+
return isObjectLike$d(value) && getTag$7(value) == setTag$a;
|
|
12130
12152
|
}
|
|
12131
12153
|
__name(baseIsSet$2, "baseIsSet$2");
|
|
12132
12154
|
var nodeIsSet$1 = nodeUtil$3 && nodeUtil$3.isSet;
|
|
@@ -12155,8 +12177,8 @@ function baseClone$3(value, bitmask, customizer, key, object3, stack) {
|
|
|
12155
12177
|
return copyArray$2(value, result);
|
|
12156
12178
|
}
|
|
12157
12179
|
} else {
|
|
12158
|
-
var tag = getTag$
|
|
12159
|
-
if (isBuffer$
|
|
12180
|
+
var tag = getTag$7(value), isFunc = tag == funcTag$3 || tag == genTag$2;
|
|
12181
|
+
if (isBuffer$9(value)) {
|
|
12160
12182
|
return cloneBuffer$1(value, isDeep);
|
|
12161
12183
|
}
|
|
12162
12184
|
if (tag == objectTag$6 || tag == argsTag$5 || isFunc && !object3) {
|
|
@@ -12406,12 +12428,12 @@ var argsTag$4 = "[object Arguments]", arrayTag$3 = "[object Array]", objectTag$5
|
|
|
12406
12428
|
var objectProto$k = Object.prototype;
|
|
12407
12429
|
var hasOwnProperty$l = objectProto$k.hasOwnProperty;
|
|
12408
12430
|
function baseIsEqualDeep$2(object3, other, bitmask, customizer, equalFunc, stack) {
|
|
12409
|
-
var objIsArr = isArray$p(object3), othIsArr = isArray$p(other), objTag = objIsArr ? arrayTag$3 : getTag$
|
|
12431
|
+
var objIsArr = isArray$p(object3), othIsArr = isArray$p(other), objTag = objIsArr ? arrayTag$3 : getTag$7(object3), othTag = othIsArr ? arrayTag$3 : getTag$7(other);
|
|
12410
12432
|
objTag = objTag == argsTag$4 ? objectTag$5 : objTag;
|
|
12411
12433
|
othTag = othTag == argsTag$4 ? objectTag$5 : othTag;
|
|
12412
12434
|
var objIsObj = objTag == objectTag$5, othIsObj = othTag == objectTag$5, isSameTag = objTag == othTag;
|
|
12413
|
-
if (isSameTag && isBuffer$
|
|
12414
|
-
if (!isBuffer$
|
|
12435
|
+
if (isSameTag && isBuffer$9(object3)) {
|
|
12436
|
+
if (!isBuffer$9(other)) {
|
|
12415
12437
|
return false;
|
|
12416
12438
|
}
|
|
12417
12439
|
objIsArr = true;
|
|
@@ -12419,7 +12441,7 @@ function baseIsEqualDeep$2(object3, other, bitmask, customizer, equalFunc, stack
|
|
|
12419
12441
|
}
|
|
12420
12442
|
if (isSameTag && !objIsObj) {
|
|
12421
12443
|
stack || (stack = new Stack$4());
|
|
12422
|
-
return objIsArr || isTypedArray$
|
|
12444
|
+
return objIsArr || isTypedArray$4(object3) ? equalArrays$3(object3, other, bitmask, customizer, equalFunc, stack) : equalByTag$2(object3, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
12423
12445
|
}
|
|
12424
12446
|
if (!(bitmask & COMPARE_PARTIAL_FLAG$8)) {
|
|
12425
12447
|
var objIsWrapped = objIsObj && hasOwnProperty$l.call(object3, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$l.call(other, "__wrapped__");
|
|
@@ -12448,27 +12470,29 @@ function baseIsEqual$3(value, other, bitmask, customizer, stack) {
|
|
|
12448
12470
|
__name(baseIsEqual$3, "baseIsEqual$3");
|
|
12449
12471
|
var COMPARE_PARTIAL_FLAG$7 = 1, COMPARE_UNORDERED_FLAG$5 = 2;
|
|
12450
12472
|
function baseIsMatch$2(object3, source, matchData, customizer) {
|
|
12451
|
-
var index2 = matchData.length, length = index2;
|
|
12473
|
+
var index2 = matchData.length, length = index2, noCustomizer = !customizer;
|
|
12452
12474
|
if (object3 == null) {
|
|
12453
12475
|
return !length;
|
|
12454
12476
|
}
|
|
12455
12477
|
object3 = Object(object3);
|
|
12456
12478
|
while (index2--) {
|
|
12457
12479
|
var data = matchData[index2];
|
|
12458
|
-
if (data[2] ? data[1] !== object3[data[0]] : !(data[0] in object3)) {
|
|
12480
|
+
if (noCustomizer && data[2] ? data[1] !== object3[data[0]] : !(data[0] in object3)) {
|
|
12459
12481
|
return false;
|
|
12460
12482
|
}
|
|
12461
12483
|
}
|
|
12462
12484
|
while (++index2 < length) {
|
|
12463
12485
|
data = matchData[index2];
|
|
12464
12486
|
var key = data[0], objValue = object3[key], srcValue = data[1];
|
|
12465
|
-
if (data[2]) {
|
|
12487
|
+
if (noCustomizer && data[2]) {
|
|
12466
12488
|
if (objValue === void 0 && !(key in object3)) {
|
|
12467
12489
|
return false;
|
|
12468
12490
|
}
|
|
12469
12491
|
} else {
|
|
12470
12492
|
var stack = new Stack$4();
|
|
12471
|
-
|
|
12493
|
+
if (customizer) {
|
|
12494
|
+
var result = customizer(objValue, srcValue, key, object3, source, stack);
|
|
12495
|
+
}
|
|
12472
12496
|
if (!(result === void 0 ? baseIsEqual$3(srcValue, objValue, COMPARE_PARTIAL_FLAG$7 | COMPARE_UNORDERED_FLAG$5, customizer, stack) : result)) {
|
|
12473
12497
|
return false;
|
|
12474
12498
|
}
|
|
@@ -12527,7 +12551,7 @@ function hasPath$2(object3, path2, hasFunc) {
|
|
|
12527
12551
|
return result;
|
|
12528
12552
|
}
|
|
12529
12553
|
length = object3 == null ? 0 : object3.length;
|
|
12530
|
-
return !!length && isLength$4(length) && isIndex$4(key, length) && (isArray$p(object3) || isArguments$
|
|
12554
|
+
return !!length && isLength$4(length) && isIndex$4(key, length) && (isArray$p(object3) || isArguments$8(object3));
|
|
12531
12555
|
}
|
|
12532
12556
|
__name(hasPath$2, "hasPath$2");
|
|
12533
12557
|
function hasIn$2(object3, path2) {
|
|
@@ -12587,7 +12611,7 @@ function createBaseFor$2(fromRight) {
|
|
|
12587
12611
|
return function(object3, iteratee, keysFunc) {
|
|
12588
12612
|
var index2 = -1, iterable = Object(object3), props = keysFunc(object3), length = props.length;
|
|
12589
12613
|
while (length--) {
|
|
12590
|
-
var key = props[++index2];
|
|
12614
|
+
var key = props[fromRight ? length : ++index2];
|
|
12591
12615
|
if (iteratee(iterable[key], key, iterable) === false) {
|
|
12592
12616
|
break;
|
|
12593
12617
|
}
|
|
@@ -12609,8 +12633,8 @@ function createBaseEach$2(eachFunc, fromRight) {
|
|
|
12609
12633
|
if (!isArrayLike$9(collection)) {
|
|
12610
12634
|
return eachFunc(collection, iteratee);
|
|
12611
12635
|
}
|
|
12612
|
-
var length = collection.length, index2 = -1, iterable = Object(collection);
|
|
12613
|
-
while (++index2 < length) {
|
|
12636
|
+
var length = collection.length, index2 = fromRight ? length : -1, iterable = Object(collection);
|
|
12637
|
+
while (fromRight ? index2-- : ++index2 < length) {
|
|
12614
12638
|
if (iteratee(iterable[index2], index2, iterable) === false) {
|
|
12615
12639
|
break;
|
|
12616
12640
|
}
|
|
@@ -12620,8 +12644,9 @@ function createBaseEach$2(eachFunc, fromRight) {
|
|
|
12620
12644
|
}
|
|
12621
12645
|
__name(createBaseEach$2, "createBaseEach$2");
|
|
12622
12646
|
var baseEach$3 = createBaseEach$2(baseForOwn$3);
|
|
12647
|
+
const baseEach$4 = baseEach$3;
|
|
12623
12648
|
function baseAggregator(collection, setter2, iteratee, accumulator) {
|
|
12624
|
-
baseEach$
|
|
12649
|
+
baseEach$4(collection, function(value, key, collection2) {
|
|
12625
12650
|
setter2(accumulator, value, iteratee(value), collection2);
|
|
12626
12651
|
});
|
|
12627
12652
|
return accumulator;
|
|
@@ -12772,7 +12797,7 @@ function baseMergeDeep(object3, source, key, srcIndex, mergeFunc, customizer, st
|
|
|
12772
12797
|
var newValue = customizer ? customizer(objValue, srcValue, key + "", object3, source, stack) : void 0;
|
|
12773
12798
|
var isCommon = newValue === void 0;
|
|
12774
12799
|
if (isCommon) {
|
|
12775
|
-
var isArr = isArray$p(srcValue), isBuff = !isArr && isBuffer$
|
|
12800
|
+
var isArr = isArray$p(srcValue), isBuff = !isArr && isBuffer$9(srcValue), isTyped = !isArr && !isBuff && isTypedArray$4(srcValue);
|
|
12776
12801
|
newValue = srcValue;
|
|
12777
12802
|
if (isArr || isBuff || isTyped) {
|
|
12778
12803
|
if (isArray$p(objValue)) {
|
|
@@ -12788,9 +12813,9 @@ function baseMergeDeep(object3, source, key, srcIndex, mergeFunc, customizer, st
|
|
|
12788
12813
|
} else {
|
|
12789
12814
|
newValue = [];
|
|
12790
12815
|
}
|
|
12791
|
-
} else if (isPlainObject$4(srcValue) || isArguments$
|
|
12816
|
+
} else if (isPlainObject$4(srcValue) || isArguments$8(srcValue)) {
|
|
12792
12817
|
newValue = objValue;
|
|
12793
|
-
if (isArguments$
|
|
12818
|
+
if (isArguments$8(objValue)) {
|
|
12794
12819
|
newValue = toPlainObject(objValue);
|
|
12795
12820
|
} else if (!isObject$e(objValue) || isFunction$6(objValue)) {
|
|
12796
12821
|
newValue = initCloneObject$2(srcValue);
|
|
@@ -12825,6 +12850,16 @@ function baseMerge(object3, source, srcIndex, customizer, stack) {
|
|
|
12825
12850
|
}, keysIn$4);
|
|
12826
12851
|
}
|
|
12827
12852
|
__name(baseMerge, "baseMerge");
|
|
12853
|
+
function arrayIncludesWith$2(array2, value, comparator) {
|
|
12854
|
+
var index2 = -1, length = array2 == null ? 0 : array2.length;
|
|
12855
|
+
while (++index2 < length) {
|
|
12856
|
+
if (comparator(value, array2[index2])) {
|
|
12857
|
+
return true;
|
|
12858
|
+
}
|
|
12859
|
+
}
|
|
12860
|
+
return false;
|
|
12861
|
+
}
|
|
12862
|
+
__name(arrayIncludesWith$2, "arrayIncludesWith$2");
|
|
12828
12863
|
var LARGE_ARRAY_SIZE$3 = 200;
|
|
12829
12864
|
function baseDifference$2(array2, values3, iteratee, comparator) {
|
|
12830
12865
|
var index2 = -1, includes2 = arrayIncludes$2, isCommon = true, length = array2.length, result = [], valuesLength = values3.length;
|
|
@@ -12834,7 +12869,10 @@ function baseDifference$2(array2, values3, iteratee, comparator) {
|
|
|
12834
12869
|
if (iteratee) {
|
|
12835
12870
|
values3 = arrayMap$6(values3, baseUnary$6(iteratee));
|
|
12836
12871
|
}
|
|
12837
|
-
if (
|
|
12872
|
+
if (comparator) {
|
|
12873
|
+
includes2 = arrayIncludesWith$2;
|
|
12874
|
+
isCommon = false;
|
|
12875
|
+
} else if (values3.length >= LARGE_ARRAY_SIZE$3) {
|
|
12838
12876
|
includes2 = cacheHas$3;
|
|
12839
12877
|
isCommon = false;
|
|
12840
12878
|
values3 = new SetCache$3(values3);
|
|
@@ -12842,7 +12880,7 @@ function baseDifference$2(array2, values3, iteratee, comparator) {
|
|
|
12842
12880
|
outer:
|
|
12843
12881
|
while (++index2 < length) {
|
|
12844
12882
|
var value = array2[index2], computed3 = iteratee == null ? value : iteratee(value);
|
|
12845
|
-
value = value !== 0 ? value : 0;
|
|
12883
|
+
value = comparator || value !== 0 ? value : 0;
|
|
12846
12884
|
if (isCommon && computed3 === computed3) {
|
|
12847
12885
|
var valuesIndex = valuesLength;
|
|
12848
12886
|
while (valuesIndex--) {
|
|
@@ -12873,12 +12911,13 @@ var differenceBy = baseRest$4(function(array2, values3) {
|
|
|
12873
12911
|
}
|
|
12874
12912
|
return isArrayLikeObject$2(array2) ? baseDifference$2(array2, baseFlatten$4(values3, 1, isArrayLikeObject$2, true), baseIteratee$5(iteratee)) : [];
|
|
12875
12913
|
});
|
|
12914
|
+
const differenceBy$1 = differenceBy;
|
|
12876
12915
|
function drop$2(array2, n2, guard) {
|
|
12877
12916
|
var length = array2 == null ? 0 : array2.length;
|
|
12878
12917
|
if (!length) {
|
|
12879
12918
|
return [];
|
|
12880
12919
|
}
|
|
12881
|
-
n2 = n2 === void 0 ? 1 : toInteger$5(n2);
|
|
12920
|
+
n2 = guard || n2 === void 0 ? 1 : toInteger$5(n2);
|
|
12882
12921
|
return baseSlice$2(array2, n2 < 0 ? 0 : n2, length);
|
|
12883
12922
|
}
|
|
12884
12923
|
__name(drop$2, "drop$2");
|
|
@@ -12887,7 +12926,7 @@ function castFunction$3(value) {
|
|
|
12887
12926
|
}
|
|
12888
12927
|
__name(castFunction$3, "castFunction$3");
|
|
12889
12928
|
function forEach$4(collection, iteratee) {
|
|
12890
|
-
var func = isArray$p(collection) ? arrayEach$3 : baseEach$
|
|
12929
|
+
var func = isArray$p(collection) ? arrayEach$3 : baseEach$4;
|
|
12891
12930
|
return func(collection, castFunction$3(iteratee));
|
|
12892
12931
|
}
|
|
12893
12932
|
__name(forEach$4, "forEach$4");
|
|
@@ -12913,7 +12952,7 @@ function arrayEvery(array2, predicate) {
|
|
|
12913
12952
|
__name(arrayEvery, "arrayEvery");
|
|
12914
12953
|
function baseEvery(collection, predicate) {
|
|
12915
12954
|
var result = true;
|
|
12916
|
-
baseEach$
|
|
12955
|
+
baseEach$4(collection, function(value, index2, collection2) {
|
|
12917
12956
|
result = !!predicate(value, index2, collection2);
|
|
12918
12957
|
return result;
|
|
12919
12958
|
});
|
|
@@ -12922,12 +12961,15 @@ function baseEvery(collection, predicate) {
|
|
|
12922
12961
|
__name(baseEvery, "baseEvery");
|
|
12923
12962
|
function every(collection, predicate, guard) {
|
|
12924
12963
|
var func = isArray$p(collection) ? arrayEvery : baseEvery;
|
|
12964
|
+
if (guard && isIterateeCall$3(collection, predicate, guard)) {
|
|
12965
|
+
predicate = void 0;
|
|
12966
|
+
}
|
|
12925
12967
|
return func(collection, baseIteratee$5(predicate));
|
|
12926
12968
|
}
|
|
12927
12969
|
__name(every, "every");
|
|
12928
12970
|
function baseFilter(collection, predicate) {
|
|
12929
12971
|
var result = [];
|
|
12930
|
-
baseEach$
|
|
12972
|
+
baseEach$4(collection, function(value, index2, collection2) {
|
|
12931
12973
|
if (predicate(value, index2, collection2)) {
|
|
12932
12974
|
result.push(value);
|
|
12933
12975
|
}
|
|
@@ -12971,7 +13013,7 @@ __name(findIndex$3, "findIndex$3");
|
|
|
12971
13013
|
var find$5 = createFind$2(findIndex$3);
|
|
12972
13014
|
function baseMap$3(collection, iteratee) {
|
|
12973
13015
|
var index2 = -1, result = isArrayLike$9(collection) ? Array(collection.length) : [];
|
|
12974
|
-
baseEach$
|
|
13016
|
+
baseEach$4(collection, function(value, key, collection2) {
|
|
12975
13017
|
result[++index2] = iteratee(value, key, collection2);
|
|
12976
13018
|
});
|
|
12977
13019
|
return result;
|
|
@@ -12983,7 +13025,7 @@ function map$3(collection, iteratee) {
|
|
|
12983
13025
|
}
|
|
12984
13026
|
__name(map$3, "map$3");
|
|
12985
13027
|
function flatMap$1(collection, iteratee) {
|
|
12986
|
-
return baseFlatten$4(map$3(collection, iteratee));
|
|
13028
|
+
return baseFlatten$4(map$3(collection, iteratee), 1);
|
|
12987
13029
|
}
|
|
12988
13030
|
__name(flatMap$1, "flatMap$1");
|
|
12989
13031
|
function baseGt(value, other) {
|
|
@@ -13018,26 +13060,26 @@ function includes(collection, value, fromIndex, guard) {
|
|
|
13018
13060
|
__name(includes, "includes");
|
|
13019
13061
|
var nativeMin$1 = Math.min;
|
|
13020
13062
|
function baseIntersection(arrays, iteratee, comparator) {
|
|
13021
|
-
var includes2 = arrayIncludes$2, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array(othLength), maxLength = Infinity, result = [];
|
|
13063
|
+
var includes2 = comparator ? arrayIncludesWith$2 : arrayIncludes$2, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array(othLength), maxLength = Infinity, result = [];
|
|
13022
13064
|
while (othIndex--) {
|
|
13023
13065
|
var array2 = arrays[othIndex];
|
|
13024
13066
|
if (othIndex && iteratee) {
|
|
13025
13067
|
array2 = arrayMap$6(array2, baseUnary$6(iteratee));
|
|
13026
13068
|
}
|
|
13027
13069
|
maxLength = nativeMin$1(array2.length, maxLength);
|
|
13028
|
-
caches[othIndex] = iteratee || length >= 120 && array2.length >= 120 ? new SetCache$3(othIndex && array2) : void 0;
|
|
13070
|
+
caches[othIndex] = !comparator && (iteratee || length >= 120 && array2.length >= 120) ? new SetCache$3(othIndex && array2) : void 0;
|
|
13029
13071
|
}
|
|
13030
13072
|
array2 = arrays[0];
|
|
13031
13073
|
var index2 = -1, seen = caches[0];
|
|
13032
13074
|
outer:
|
|
13033
13075
|
while (++index2 < length && result.length < maxLength) {
|
|
13034
13076
|
var value = array2[index2], computed3 = iteratee ? iteratee(value) : value;
|
|
13035
|
-
value = value !== 0 ? value : 0;
|
|
13036
|
-
if (!(seen ? cacheHas$3(seen, computed3) : includes2(result, computed3))) {
|
|
13077
|
+
value = comparator || value !== 0 ? value : 0;
|
|
13078
|
+
if (!(seen ? cacheHas$3(seen, computed3) : includes2(result, computed3, comparator))) {
|
|
13037
13079
|
othIndex = othLength;
|
|
13038
13080
|
while (--othIndex) {
|
|
13039
13081
|
var cache2 = caches[othIndex];
|
|
13040
|
-
if (!(cache2 ? cacheHas$3(cache2, computed3) : includes2(arrays[othIndex], computed3))) {
|
|
13082
|
+
if (!(cache2 ? cacheHas$3(cache2, computed3) : includes2(arrays[othIndex], computed3, comparator))) {
|
|
13041
13083
|
continue outer;
|
|
13042
13084
|
}
|
|
13043
13085
|
}
|
|
@@ -13063,6 +13105,7 @@ var intersectionBy = baseRest$4(function(arrays) {
|
|
|
13063
13105
|
}
|
|
13064
13106
|
return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, baseIteratee$5(iteratee)) : [];
|
|
13065
13107
|
});
|
|
13108
|
+
const intersectionBy$1 = intersectionBy;
|
|
13066
13109
|
function baseInverter(object3, setter2, iteratee, accumulator) {
|
|
13067
13110
|
baseForOwn$3(object3, function(value, key, object4) {
|
|
13068
13111
|
setter2(accumulator, iteratee(value), key, object4);
|
|
@@ -13095,10 +13138,10 @@ function isEmpty$1(value) {
|
|
|
13095
13138
|
if (value == null) {
|
|
13096
13139
|
return true;
|
|
13097
13140
|
}
|
|
13098
|
-
if (isArrayLike$9(value) && (isArray$p(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer$
|
|
13141
|
+
if (isArrayLike$9(value) && (isArray$p(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer$9(value) || isTypedArray$4(value) || isArguments$8(value))) {
|
|
13099
13142
|
return !value.length;
|
|
13100
13143
|
}
|
|
13101
|
-
var tag = getTag$
|
|
13144
|
+
var tag = getTag$7(value);
|
|
13102
13145
|
if (tag == mapTag$7 || tag == setTag$7) {
|
|
13103
13146
|
return !value.size;
|
|
13104
13147
|
}
|
|
@@ -13216,7 +13259,7 @@ function toArray$1(value) {
|
|
|
13216
13259
|
if (symIterator && value[symIterator]) {
|
|
13217
13260
|
return iteratorToArray(value[symIterator]());
|
|
13218
13261
|
}
|
|
13219
|
-
var tag = getTag$
|
|
13262
|
+
var tag = getTag$7(value), func = tag == mapTag$6 ? mapToArray$2 : tag == setTag$6 ? setToArray$2 : values;
|
|
13220
13263
|
return func(value);
|
|
13221
13264
|
}
|
|
13222
13265
|
__name(toArray$1, "toArray$1");
|
|
@@ -13265,7 +13308,7 @@ function baseSet(object3, path2, value, customizer) {
|
|
|
13265
13308
|
}
|
|
13266
13309
|
if (index2 != lastIndex) {
|
|
13267
13310
|
var objValue = nested[key];
|
|
13268
|
-
newValue = void 0;
|
|
13311
|
+
newValue = customizer ? customizer(objValue, key, nested) : void 0;
|
|
13269
13312
|
if (newValue === void 0) {
|
|
13270
13313
|
newValue = isObject$e(objValue) ? objValue : isIndex$4(path2[index2 + 1]) ? [] : {};
|
|
13271
13314
|
}
|
|
@@ -13375,7 +13418,7 @@ function orderBy$1(collection, iteratees, orders, guard) {
|
|
|
13375
13418
|
if (!isArray$p(iteratees)) {
|
|
13376
13419
|
iteratees = iteratees == null ? [] : [iteratees];
|
|
13377
13420
|
}
|
|
13378
|
-
orders = orders;
|
|
13421
|
+
orders = guard ? void 0 : orders;
|
|
13379
13422
|
if (!isArray$p(orders)) {
|
|
13380
13423
|
orders = orders == null ? [] : [orders];
|
|
13381
13424
|
}
|
|
@@ -13467,7 +13510,7 @@ var nativeCeil = Math.ceil, nativeMax$2 = Math.max;
|
|
|
13467
13510
|
function baseRange(start2, end2, step2, fromRight) {
|
|
13468
13511
|
var index2 = -1, length = nativeMax$2(nativeCeil((end2 - start2) / (step2 || 1)), 0), result = Array(length);
|
|
13469
13512
|
while (length--) {
|
|
13470
|
-
result[++index2] = start2;
|
|
13513
|
+
result[fromRight ? length : ++index2] = start2;
|
|
13471
13514
|
start2 += step2;
|
|
13472
13515
|
}
|
|
13473
13516
|
return result;
|
|
@@ -13486,7 +13529,7 @@ function createRange(fromRight) {
|
|
|
13486
13529
|
end2 = toFinite$2(end2);
|
|
13487
13530
|
}
|
|
13488
13531
|
step2 = step2 === void 0 ? start2 < end2 ? 1 : -1 : toFinite$2(step2);
|
|
13489
|
-
return baseRange(start2, end2, step2);
|
|
13532
|
+
return baseRange(start2, end2, step2, fromRight);
|
|
13490
13533
|
};
|
|
13491
13534
|
}
|
|
13492
13535
|
__name(createRange, "createRange");
|
|
@@ -13500,7 +13543,7 @@ function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
|
|
|
13500
13543
|
__name(baseReduce, "baseReduce");
|
|
13501
13544
|
function reduce(collection, iteratee, accumulator) {
|
|
13502
13545
|
var func = isArray$p(collection) ? arrayReduce : baseReduce, initAccum = arguments.length < 3;
|
|
13503
|
-
return func(collection, baseIteratee$5(iteratee), accumulator, initAccum, baseEach$
|
|
13546
|
+
return func(collection, baseIteratee$5(iteratee), accumulator, initAccum, baseEach$4);
|
|
13504
13547
|
}
|
|
13505
13548
|
__name(reduce, "reduce");
|
|
13506
13549
|
function remove$1(array2, predicate) {
|
|
@@ -13531,7 +13574,7 @@ var snakeCase = createCompounder(function(result, word, index2) {
|
|
|
13531
13574
|
});
|
|
13532
13575
|
function baseSome(collection, predicate) {
|
|
13533
13576
|
var result;
|
|
13534
|
-
baseEach$
|
|
13577
|
+
baseEach$4(collection, function(value, index2, collection2) {
|
|
13535
13578
|
result = predicate(value, index2, collection2);
|
|
13536
13579
|
return !result;
|
|
13537
13580
|
});
|
|
@@ -13540,6 +13583,9 @@ function baseSome(collection, predicate) {
|
|
|
13540
13583
|
__name(baseSome, "baseSome");
|
|
13541
13584
|
function some(collection, predicate, guard) {
|
|
13542
13585
|
var func = isArray$p(collection) ? arraySome$2 : baseSome;
|
|
13586
|
+
if (guard && isIterateeCall$3(collection, predicate, guard)) {
|
|
13587
|
+
predicate = void 0;
|
|
13588
|
+
}
|
|
13543
13589
|
return func(collection, baseIteratee$5(predicate));
|
|
13544
13590
|
}
|
|
13545
13591
|
__name(some, "some");
|
|
@@ -13553,7 +13599,7 @@ var sortBy$2 = baseRest$4(function(collection, iteratees) {
|
|
|
13553
13599
|
} else if (length > 2 && isIterateeCall$3(iteratees[0], iteratees[1], iteratees[2])) {
|
|
13554
13600
|
iteratees = [iteratees[0]];
|
|
13555
13601
|
}
|
|
13556
|
-
return baseOrderBy$2(collection, baseFlatten$4(iteratees), []);
|
|
13602
|
+
return baseOrderBy$2(collection, baseFlatten$4(iteratees, 1), []);
|
|
13557
13603
|
});
|
|
13558
13604
|
var startCase = createCompounder(function(result, word, index2) {
|
|
13559
13605
|
return result + (index2 ? " " : "") + upperFirst(word);
|
|
@@ -13569,7 +13615,7 @@ function take(array2, n2, guard) {
|
|
|
13569
13615
|
if (!(array2 && array2.length)) {
|
|
13570
13616
|
return [];
|
|
13571
13617
|
}
|
|
13572
|
-
n2 = n2 === void 0 ? 1 : toInteger$5(n2);
|
|
13618
|
+
n2 = guard || n2 === void 0 ? 1 : toInteger$5(n2);
|
|
13573
13619
|
return baseSlice$2(array2, 0, n2 < 0 ? 0 : n2);
|
|
13574
13620
|
}
|
|
13575
13621
|
__name(take, "take");
|
|
@@ -13615,7 +13661,10 @@ var createSet = !(Set$3 && 1 / setToArray$2(new Set$3([, -0]))[1] == INFINITY$4)
|
|
|
13615
13661
|
var LARGE_ARRAY_SIZE$2 = 200;
|
|
13616
13662
|
function baseUniq(array2, iteratee, comparator) {
|
|
13617
13663
|
var index2 = -1, includes2 = arrayIncludes$2, length = array2.length, isCommon = true, result = [], seen = result;
|
|
13618
|
-
if (
|
|
13664
|
+
if (comparator) {
|
|
13665
|
+
isCommon = false;
|
|
13666
|
+
includes2 = arrayIncludesWith$2;
|
|
13667
|
+
} else if (length >= LARGE_ARRAY_SIZE$2) {
|
|
13619
13668
|
var set6 = iteratee ? null : createSet(array2);
|
|
13620
13669
|
if (set6) {
|
|
13621
13670
|
return setToArray$2(set6);
|
|
@@ -13629,7 +13678,7 @@ function baseUniq(array2, iteratee, comparator) {
|
|
|
13629
13678
|
outer:
|
|
13630
13679
|
while (++index2 < length) {
|
|
13631
13680
|
var value = array2[index2], computed3 = iteratee ? iteratee(value) : value;
|
|
13632
|
-
value = value !== 0 ? value : 0;
|
|
13681
|
+
value = comparator || value !== 0 ? value : 0;
|
|
13633
13682
|
if (isCommon && computed3 === computed3) {
|
|
13634
13683
|
var seenIndex = seen.length;
|
|
13635
13684
|
while (seenIndex--) {
|
|
@@ -13886,7 +13935,7 @@ var withState = /* @__PURE__ */ __name(function withState2(stateName, stateUpdat
|
|
|
13886
13935
|
}
|
|
13887
13936
|
_this = _Component.call.apply(_Component, [this].concat(args)) || this;
|
|
13888
13937
|
_this.state = {
|
|
13889
|
-
stateValue: initialState2
|
|
13938
|
+
stateValue: typeof initialState2 === "function" ? initialState2(_this.props) : initialState2
|
|
13890
13939
|
};
|
|
13891
13940
|
_this.updateStateValue = function(updateFn, callback2) {
|
|
13892
13941
|
return _this.setState(function(_ref) {
|
|
@@ -14188,11 +14237,20 @@ function require_domCreate() {
|
|
|
14188
14237
|
return _domCreate;
|
|
14189
14238
|
}
|
|
14190
14239
|
__name(require_domCreate, "require_domCreate");
|
|
14191
|
-
var _ie8DomDefine
|
|
14192
|
-
|
|
14193
|
-
|
|
14194
|
-
|
|
14195
|
-
|
|
14240
|
+
var _ie8DomDefine;
|
|
14241
|
+
var hasRequired_ie8DomDefine;
|
|
14242
|
+
function require_ie8DomDefine() {
|
|
14243
|
+
if (hasRequired_ie8DomDefine)
|
|
14244
|
+
return _ie8DomDefine;
|
|
14245
|
+
hasRequired_ie8DomDefine = 1;
|
|
14246
|
+
_ie8DomDefine = !require_descriptors() && !_fails(function() {
|
|
14247
|
+
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
14248
|
+
return 7;
|
|
14249
|
+
} }).a != 7;
|
|
14250
|
+
});
|
|
14251
|
+
return _ie8DomDefine;
|
|
14252
|
+
}
|
|
14253
|
+
__name(require_ie8DomDefine, "require_ie8DomDefine");
|
|
14196
14254
|
var isObject$c = _isObject;
|
|
14197
14255
|
var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
|
|
14198
14256
|
if (!isObject$c(it))
|
|
@@ -14212,7 +14270,7 @@ function require_objectDp() {
|
|
|
14212
14270
|
return _objectDp;
|
|
14213
14271
|
hasRequired_objectDp = 1;
|
|
14214
14272
|
var anObject2 = _anObject;
|
|
14215
|
-
var IE8_DOM_DEFINE2 =
|
|
14273
|
+
var IE8_DOM_DEFINE2 = require_ie8DomDefine();
|
|
14216
14274
|
var toPrimitive2 = _toPrimitive$1;
|
|
14217
14275
|
var dP2 = Object.defineProperty;
|
|
14218
14276
|
_objectDp.f = require_descriptors() ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty5(O2, P2, Attributes) {
|
|
@@ -14241,10 +14299,10 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
|
14241
14299
|
value
|
|
14242
14300
|
};
|
|
14243
14301
|
}, "_propertyDesc");
|
|
14244
|
-
var dP$
|
|
14302
|
+
var dP$2 = require_objectDp();
|
|
14245
14303
|
var createDesc$3 = _propertyDesc;
|
|
14246
14304
|
var _hide = require_descriptors() ? function(object3, key, value) {
|
|
14247
|
-
return dP$
|
|
14305
|
+
return dP$2.f(object3, key, createDesc$3(1, value));
|
|
14248
14306
|
} : function(object3, key, value) {
|
|
14249
14307
|
object3[key] = value;
|
|
14250
14308
|
return object3;
|
|
@@ -14258,7 +14316,7 @@ var core$3 = _coreExports;
|
|
|
14258
14316
|
var ctx$1 = _ctx;
|
|
14259
14317
|
var hide$3 = _hide;
|
|
14260
14318
|
var has$e = _has;
|
|
14261
|
-
var PROTOTYPE$
|
|
14319
|
+
var PROTOTYPE$2 = "prototype";
|
|
14262
14320
|
var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
|
|
14263
14321
|
var IS_FORCED = type2 & $export$8.F;
|
|
14264
14322
|
var IS_GLOBAL = type2 & $export$8.G;
|
|
@@ -14267,8 +14325,8 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
|
|
|
14267
14325
|
var IS_BIND = type2 & $export$8.B;
|
|
14268
14326
|
var IS_WRAP = type2 & $export$8.W;
|
|
14269
14327
|
var exports2 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
|
|
14270
|
-
var expProto = exports2[PROTOTYPE$
|
|
14271
|
-
var target = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$
|
|
14328
|
+
var expProto = exports2[PROTOTYPE$2];
|
|
14329
|
+
var target = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$2];
|
|
14272
14330
|
var key, own2, out;
|
|
14273
14331
|
if (IS_GLOBAL)
|
|
14274
14332
|
source = name2;
|
|
@@ -14292,7 +14350,7 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source) {
|
|
|
14292
14350
|
}
|
|
14293
14351
|
return C.apply(this, arguments);
|
|
14294
14352
|
}, "F");
|
|
14295
|
-
F[PROTOTYPE$
|
|
14353
|
+
F[PROTOTYPE$2] = C[PROTOTYPE$2];
|
|
14296
14354
|
return F;
|
|
14297
14355
|
}(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
|
|
14298
14356
|
if (IS_PROTO) {
|
|
@@ -14315,25 +14373,16 @@ var toString$5 = {}.toString;
|
|
|
14315
14373
|
var _cof = /* @__PURE__ */ __name(function(it) {
|
|
14316
14374
|
return toString$5.call(it).slice(8, -1);
|
|
14317
14375
|
}, "_cof");
|
|
14318
|
-
var
|
|
14319
|
-
var
|
|
14320
|
-
|
|
14321
|
-
|
|
14322
|
-
return _iobject;
|
|
14323
|
-
hasRequired_iobject = 1;
|
|
14324
|
-
var cof2 = _cof;
|
|
14325
|
-
_iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
14326
|
-
return cof2(it) == "String" ? it.split("") : Object(it);
|
|
14327
|
-
};
|
|
14328
|
-
return _iobject;
|
|
14329
|
-
}
|
|
14330
|
-
__name(require_iobject, "require_iobject");
|
|
14376
|
+
var cof$2 = _cof;
|
|
14377
|
+
var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
14378
|
+
return cof$2(it) == "String" ? it.split("") : Object(it);
|
|
14379
|
+
};
|
|
14331
14380
|
var _defined = /* @__PURE__ */ __name(function(it) {
|
|
14332
14381
|
if (it == void 0)
|
|
14333
14382
|
throw TypeError("Can't call method on " + it);
|
|
14334
14383
|
return it;
|
|
14335
14384
|
}, "_defined");
|
|
14336
|
-
var IObject =
|
|
14385
|
+
var IObject = _iobject;
|
|
14337
14386
|
var defined$2 = _defined;
|
|
14338
14387
|
var _toIobject = /* @__PURE__ */ __name(function(it) {
|
|
14339
14388
|
return IObject(defined$2(it));
|
|
@@ -14406,14 +14455,14 @@ var _sharedKey = /* @__PURE__ */ __name(function(key) {
|
|
|
14406
14455
|
var has$d = _has;
|
|
14407
14456
|
var toIObject$4 = _toIobject;
|
|
14408
14457
|
var arrayIndexOf = _arrayIncludes$1(false);
|
|
14409
|
-
var IE_PROTO$
|
|
14458
|
+
var IE_PROTO$2 = _sharedKey("IE_PROTO");
|
|
14410
14459
|
var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
|
|
14411
14460
|
var O2 = toIObject$4(object3);
|
|
14412
14461
|
var i = 0;
|
|
14413
14462
|
var result = [];
|
|
14414
14463
|
var key;
|
|
14415
14464
|
for (key in O2)
|
|
14416
|
-
if (key != IE_PROTO$
|
|
14465
|
+
if (key != IE_PROTO$2)
|
|
14417
14466
|
has$d(O2, key) && result.push(key);
|
|
14418
14467
|
while (names2.length > i)
|
|
14419
14468
|
if (has$d(O2, key = names2[i++])) {
|
|
@@ -14422,10 +14471,10 @@ var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
|
|
|
14422
14471
|
return result;
|
|
14423
14472
|
}, "_objectKeysInternal");
|
|
14424
14473
|
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
|
14425
|
-
var $keys$
|
|
14426
|
-
var enumBugKeys = _enumBugKeys;
|
|
14474
|
+
var $keys$3 = _objectKeysInternal;
|
|
14475
|
+
var enumBugKeys$1 = _enumBugKeys;
|
|
14427
14476
|
var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys(O2) {
|
|
14428
|
-
return $keys$
|
|
14477
|
+
return $keys$3(O2, enumBugKeys$1);
|
|
14429
14478
|
}, "keys");
|
|
14430
14479
|
var _objectGops = {};
|
|
14431
14480
|
_objectGops.f = Object.getOwnPropertySymbols;
|
|
@@ -14454,7 +14503,7 @@ function require_objectAssign() {
|
|
|
14454
14503
|
var gOPS2 = _objectGops;
|
|
14455
14504
|
var pIE2 = require_objectPie();
|
|
14456
14505
|
var toObject2 = _toObject;
|
|
14457
|
-
var IObject2 =
|
|
14506
|
+
var IObject2 = _iobject;
|
|
14458
14507
|
var $assign = Object.assign;
|
|
14459
14508
|
_objectAssign = !$assign || _fails(function() {
|
|
14460
14509
|
var A2 = {};
|
|
@@ -14515,28 +14564,19 @@ var _iterStep = /* @__PURE__ */ __name(function(done, value) {
|
|
|
14515
14564
|
}, "_iterStep");
|
|
14516
14565
|
var _iterators = {};
|
|
14517
14566
|
var _redefine = _hide;
|
|
14518
|
-
var
|
|
14519
|
-
var
|
|
14520
|
-
|
|
14521
|
-
|
|
14522
|
-
|
|
14523
|
-
|
|
14524
|
-
var
|
|
14525
|
-
var
|
|
14526
|
-
var
|
|
14527
|
-
|
|
14528
|
-
|
|
14529
|
-
|
|
14530
|
-
|
|
14531
|
-
var i = 0;
|
|
14532
|
-
var P2;
|
|
14533
|
-
while (length > i)
|
|
14534
|
-
dP2.f(O2, P2 = keys5[i++], Properties2[P2]);
|
|
14535
|
-
return O2;
|
|
14536
|
-
}, "defineProperties");
|
|
14537
|
-
return _objectDps;
|
|
14538
|
-
}
|
|
14539
|
-
__name(require_objectDps, "require_objectDps");
|
|
14567
|
+
var dP$1 = require_objectDp();
|
|
14568
|
+
var anObject$4 = _anObject;
|
|
14569
|
+
var getKeys$1 = _objectKeys;
|
|
14570
|
+
var _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties(O2, Properties2) {
|
|
14571
|
+
anObject$4(O2);
|
|
14572
|
+
var keys5 = getKeys$1(Properties2);
|
|
14573
|
+
var length = keys5.length;
|
|
14574
|
+
var i = 0;
|
|
14575
|
+
var P2;
|
|
14576
|
+
while (length > i)
|
|
14577
|
+
dP$1.f(O2, P2 = keys5[i++], Properties2[P2]);
|
|
14578
|
+
return O2;
|
|
14579
|
+
}, "defineProperties");
|
|
14540
14580
|
var _html;
|
|
14541
14581
|
var hasRequired_html;
|
|
14542
14582
|
function require_html() {
|
|
@@ -14548,51 +14588,42 @@ function require_html() {
|
|
|
14548
14588
|
return _html;
|
|
14549
14589
|
}
|
|
14550
14590
|
__name(require_html, "require_html");
|
|
14551
|
-
var
|
|
14552
|
-
var
|
|
14553
|
-
|
|
14554
|
-
|
|
14555
|
-
|
|
14556
|
-
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
var
|
|
14560
|
-
var
|
|
14561
|
-
var
|
|
14562
|
-
|
|
14563
|
-
var
|
|
14564
|
-
|
|
14565
|
-
|
|
14566
|
-
|
|
14567
|
-
|
|
14568
|
-
|
|
14569
|
-
|
|
14570
|
-
|
|
14571
|
-
|
|
14572
|
-
|
|
14573
|
-
|
|
14574
|
-
|
|
14575
|
-
|
|
14576
|
-
|
|
14577
|
-
|
|
14578
|
-
|
|
14579
|
-
|
|
14580
|
-
|
|
14581
|
-
|
|
14582
|
-
|
|
14583
|
-
|
|
14584
|
-
|
|
14585
|
-
|
|
14586
|
-
|
|
14587
|
-
Empty[PROTOTYPE2] = null;
|
|
14588
|
-
result[IE_PROTO2] = O2;
|
|
14589
|
-
} else
|
|
14590
|
-
result = createDict();
|
|
14591
|
-
return Properties2 === void 0 ? result : dPs(result, Properties2);
|
|
14592
|
-
}, "create");
|
|
14593
|
-
return _objectCreate;
|
|
14594
|
-
}
|
|
14595
|
-
__name(require_objectCreate, "require_objectCreate");
|
|
14591
|
+
var anObject$3 = _anObject;
|
|
14592
|
+
var dPs = _objectDps;
|
|
14593
|
+
var enumBugKeys = _enumBugKeys;
|
|
14594
|
+
var IE_PROTO$1 = _sharedKey("IE_PROTO");
|
|
14595
|
+
var Empty = /* @__PURE__ */ __name(function() {
|
|
14596
|
+
}, "Empty");
|
|
14597
|
+
var PROTOTYPE$1 = "prototype";
|
|
14598
|
+
var createDict = /* @__PURE__ */ __name(function() {
|
|
14599
|
+
var iframe = require_domCreate()("iframe");
|
|
14600
|
+
var i = enumBugKeys.length;
|
|
14601
|
+
var lt = "<";
|
|
14602
|
+
var gt = ">";
|
|
14603
|
+
var iframeDocument;
|
|
14604
|
+
iframe.style.display = "none";
|
|
14605
|
+
require_html().appendChild(iframe);
|
|
14606
|
+
iframe.src = "javascript:";
|
|
14607
|
+
iframeDocument = iframe.contentWindow.document;
|
|
14608
|
+
iframeDocument.open();
|
|
14609
|
+
iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
|
|
14610
|
+
iframeDocument.close();
|
|
14611
|
+
createDict = iframeDocument.F;
|
|
14612
|
+
while (i--)
|
|
14613
|
+
delete createDict[PROTOTYPE$1][enumBugKeys[i]];
|
|
14614
|
+
return createDict();
|
|
14615
|
+
}, "createDict");
|
|
14616
|
+
var _objectCreate = Object.create || /* @__PURE__ */ __name(function create(O2, Properties2) {
|
|
14617
|
+
var result;
|
|
14618
|
+
if (O2 !== null) {
|
|
14619
|
+
Empty[PROTOTYPE$1] = anObject$3(O2);
|
|
14620
|
+
result = new Empty();
|
|
14621
|
+
Empty[PROTOTYPE$1] = null;
|
|
14622
|
+
result[IE_PROTO$1] = O2;
|
|
14623
|
+
} else
|
|
14624
|
+
result = createDict();
|
|
14625
|
+
return Properties2 === void 0 ? result : dPs(result, Properties2);
|
|
14626
|
+
}, "create");
|
|
14596
14627
|
var _wks = { exports: {} };
|
|
14597
14628
|
var store$2 = _sharedExports("wks");
|
|
14598
14629
|
var uid$1 = _uid;
|
|
@@ -14610,7 +14641,7 @@ var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
|
|
|
14610
14641
|
if (it && !has$c(it = stat ? it : it.prototype, TAG$1))
|
|
14611
14642
|
def(it, TAG$1, { configurable: true, value: tag });
|
|
14612
14643
|
}, "_setToStringTag");
|
|
14613
|
-
var create$4 =
|
|
14644
|
+
var create$4 = _objectCreate;
|
|
14614
14645
|
var descriptor = _propertyDesc;
|
|
14615
14646
|
var setToStringTag$2 = _setToStringTag;
|
|
14616
14647
|
var IteratorPrototype = {};
|
|
@@ -15018,7 +15049,7 @@ function _interopRequireDefault$c(obj) {
|
|
|
15018
15049
|
}
|
|
15019
15050
|
__name(_interopRequireDefault$c, "_interopRequireDefault$c");
|
|
15020
15051
|
var _default$7 = /* @__PURE__ */ function() {
|
|
15021
|
-
function
|
|
15052
|
+
function defineProperties4(target, props) {
|
|
15022
15053
|
for (var i = 0; i < props.length; i++) {
|
|
15023
15054
|
var descriptor2 = props[i];
|
|
15024
15055
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -15028,12 +15059,12 @@ var _default$7 = /* @__PURE__ */ function() {
|
|
|
15028
15059
|
(0, _defineProperty2.default)(target, descriptor2.key, descriptor2);
|
|
15029
15060
|
}
|
|
15030
15061
|
}
|
|
15031
|
-
__name(
|
|
15062
|
+
__name(defineProperties4, "defineProperties");
|
|
15032
15063
|
return function(Constructor, protoProps, staticProps) {
|
|
15033
15064
|
if (protoProps)
|
|
15034
|
-
|
|
15065
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
15035
15066
|
if (staticProps)
|
|
15036
|
-
|
|
15067
|
+
defineProperties4(Constructor, staticProps);
|
|
15037
15068
|
return Constructor;
|
|
15038
15069
|
};
|
|
15039
15070
|
}();
|
|
@@ -15062,23 +15093,23 @@ var setMeta = /* @__PURE__ */ __name(function(it) {
|
|
|
15062
15093
|
// weak collections IDs
|
|
15063
15094
|
} });
|
|
15064
15095
|
}, "setMeta");
|
|
15065
|
-
var fastKey = /* @__PURE__ */ __name(function(it,
|
|
15096
|
+
var fastKey = /* @__PURE__ */ __name(function(it, create6) {
|
|
15066
15097
|
if (!isObject$b(it))
|
|
15067
15098
|
return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it;
|
|
15068
15099
|
if (!has$a(it, META$1)) {
|
|
15069
15100
|
if (!isExtensible(it))
|
|
15070
15101
|
return "F";
|
|
15071
|
-
if (!
|
|
15102
|
+
if (!create6)
|
|
15072
15103
|
return "E";
|
|
15073
15104
|
setMeta(it);
|
|
15074
15105
|
}
|
|
15075
15106
|
return it[META$1].i;
|
|
15076
15107
|
}, "fastKey");
|
|
15077
|
-
var getWeak = /* @__PURE__ */ __name(function(it,
|
|
15108
|
+
var getWeak = /* @__PURE__ */ __name(function(it, create6) {
|
|
15078
15109
|
if (!has$a(it, META$1)) {
|
|
15079
15110
|
if (!isExtensible(it))
|
|
15080
15111
|
return true;
|
|
15081
|
-
if (!
|
|
15112
|
+
if (!create6)
|
|
15082
15113
|
return false;
|
|
15083
15114
|
setMeta(it);
|
|
15084
15115
|
}
|
|
@@ -15128,21 +15159,13 @@ var _isArray = Array.isArray || /* @__PURE__ */ __name(function isArray(arg) {
|
|
|
15128
15159
|
}, "isArray");
|
|
15129
15160
|
var _objectGopnExt = {};
|
|
15130
15161
|
var _objectGopn = {};
|
|
15131
|
-
var
|
|
15132
|
-
|
|
15133
|
-
|
|
15134
|
-
|
|
15135
|
-
|
|
15136
|
-
var $keys2 = _objectKeysInternal;
|
|
15137
|
-
var hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
15138
|
-
_objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames4(O2) {
|
|
15139
|
-
return $keys2(O2, hiddenKeys);
|
|
15140
|
-
}, "getOwnPropertyNames");
|
|
15141
|
-
return _objectGopn;
|
|
15142
|
-
}
|
|
15143
|
-
__name(require_objectGopn, "require_objectGopn");
|
|
15162
|
+
var $keys$2 = _objectKeysInternal;
|
|
15163
|
+
var hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
15164
|
+
_objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames(O2) {
|
|
15165
|
+
return $keys$2(O2, hiddenKeys);
|
|
15166
|
+
}, "getOwnPropertyNames");
|
|
15144
15167
|
var toIObject$2 = _toIobject;
|
|
15145
|
-
var gOPN$1 =
|
|
15168
|
+
var gOPN$1 = _objectGopn.f;
|
|
15146
15169
|
var toString$4 = {}.toString;
|
|
15147
15170
|
var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
|
|
15148
15171
|
var getWindowNames = /* @__PURE__ */ __name(function(it) {
|
|
@@ -15152,7 +15175,7 @@ var getWindowNames = /* @__PURE__ */ __name(function(it) {
|
|
|
15152
15175
|
return windowNames.slice();
|
|
15153
15176
|
}
|
|
15154
15177
|
}, "getWindowNames");
|
|
15155
|
-
_objectGopnExt.f = /* @__PURE__ */ __name(function
|
|
15178
|
+
_objectGopnExt.f = /* @__PURE__ */ __name(function getOwnPropertyNames2(it) {
|
|
15156
15179
|
return windowNames && toString$4.call(it) == "[object Window]" ? getWindowNames(it) : gOPN$1(toIObject$2(it));
|
|
15157
15180
|
}, "getOwnPropertyNames");
|
|
15158
15181
|
var _objectGopd = {};
|
|
@@ -15161,7 +15184,7 @@ var createDesc$1 = _propertyDesc;
|
|
|
15161
15184
|
var toIObject$1 = _toIobject;
|
|
15162
15185
|
var toPrimitive$1 = _toPrimitive$1;
|
|
15163
15186
|
var has$9 = _has;
|
|
15164
|
-
var IE8_DOM_DEFINE =
|
|
15187
|
+
var IE8_DOM_DEFINE = require_ie8DomDefine();
|
|
15165
15188
|
var gOPD$6 = Object.getOwnPropertyDescriptor;
|
|
15166
15189
|
_objectGopd.f = require_descriptors() ? gOPD$6 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
|
|
15167
15190
|
O2 = toIObject$1(O2);
|
|
@@ -15195,7 +15218,7 @@ var toObject$1 = _toObject;
|
|
|
15195
15218
|
var toIObject = _toIobject;
|
|
15196
15219
|
var toPrimitive = _toPrimitive$1;
|
|
15197
15220
|
var createDesc = _propertyDesc;
|
|
15198
|
-
var _create$1 =
|
|
15221
|
+
var _create$1 = _objectCreate;
|
|
15199
15222
|
var gOPNExt = _objectGopnExt;
|
|
15200
15223
|
var $GOPD = _objectGopd;
|
|
15201
15224
|
var $GOPS = _objectGops;
|
|
@@ -15262,7 +15285,7 @@ var $defineProperty$3 = /* @__PURE__ */ __name(function defineProperty3(it, key,
|
|
|
15262
15285
|
}
|
|
15263
15286
|
return dP(it, key, D2);
|
|
15264
15287
|
}, "defineProperty");
|
|
15265
|
-
var $defineProperties = /* @__PURE__ */ __name(function
|
|
15288
|
+
var $defineProperties = /* @__PURE__ */ __name(function defineProperties2(it, P2) {
|
|
15266
15289
|
anObject(it);
|
|
15267
15290
|
var keys5 = enumKeys(P2 = toIObject(P2));
|
|
15268
15291
|
var i = 0;
|
|
@@ -15272,7 +15295,7 @@ var $defineProperties = /* @__PURE__ */ __name(function defineProperties(it, P2)
|
|
|
15272
15295
|
$defineProperty$3(it, key = keys5[i++], P2[key]);
|
|
15273
15296
|
return it;
|
|
15274
15297
|
}, "defineProperties");
|
|
15275
|
-
var $create = /* @__PURE__ */ __name(function
|
|
15298
|
+
var $create = /* @__PURE__ */ __name(function create2(it, P2) {
|
|
15276
15299
|
return P2 === void 0 ? _create$1(it) : $defineProperties(_create$1(it), P2);
|
|
15277
15300
|
}, "create");
|
|
15278
15301
|
var $propertyIsEnumerable = /* @__PURE__ */ __name(function propertyIsEnumerable(key) {
|
|
@@ -15291,7 +15314,7 @@ var $getOwnPropertyDescriptor = /* @__PURE__ */ __name(function getOwnPropertyDe
|
|
|
15291
15314
|
D2.enumerable = true;
|
|
15292
15315
|
return D2;
|
|
15293
15316
|
}, "getOwnPropertyDescriptor");
|
|
15294
|
-
var $getOwnPropertyNames = /* @__PURE__ */ __name(function
|
|
15317
|
+
var $getOwnPropertyNames = /* @__PURE__ */ __name(function getOwnPropertyNames3(it) {
|
|
15295
15318
|
var names2 = gOPN(toIObject(it));
|
|
15296
15319
|
var result = [];
|
|
15297
15320
|
var i = 0;
|
|
@@ -15335,7 +15358,7 @@ if (!USE_NATIVE) {
|
|
|
15335
15358
|
}, "toString"));
|
|
15336
15359
|
$GOPD.f = $getOwnPropertyDescriptor;
|
|
15337
15360
|
$DP.f = $defineProperty$3;
|
|
15338
|
-
|
|
15361
|
+
_objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
|
|
15339
15362
|
require_objectPie().f = $propertyIsEnumerable;
|
|
15340
15363
|
$GOPS.f = $getOwnPropertySymbols;
|
|
15341
15364
|
if (DESCRIPTORS && !_library) {
|
|
@@ -15502,9 +15525,9 @@ $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
|
|
|
15502
15525
|
var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
|
|
15503
15526
|
var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
|
|
15504
15527
|
var $export = _export;
|
|
15505
|
-
$export($export.S, "Object", { create:
|
|
15528
|
+
$export($export.S, "Object", { create: _objectCreate });
|
|
15506
15529
|
var $Object$2 = _coreExports.Object;
|
|
15507
|
-
var create$3 = /* @__PURE__ */ __name(function
|
|
15530
|
+
var create$3 = /* @__PURE__ */ __name(function create3(P2, D2) {
|
|
15508
15531
|
return $Object$2.create(P2, D2);
|
|
15509
15532
|
}, "create");
|
|
15510
15533
|
var create$2 = { "default": create$3, __esModule: true };
|
|
@@ -18705,6 +18728,8 @@ var reactList = {};
|
|
|
18705
18728
|
function _createClass2(Constructor, protoProps, staticProps) {
|
|
18706
18729
|
if (protoProps)
|
|
18707
18730
|
_defineProperties2(Constructor.prototype, protoProps);
|
|
18731
|
+
if (staticProps)
|
|
18732
|
+
_defineProperties2(Constructor, staticProps);
|
|
18708
18733
|
return Constructor;
|
|
18709
18734
|
}
|
|
18710
18735
|
__name(_createClass2, "_createClass");
|
|
@@ -19589,7 +19614,7 @@ function normalizeComponent(Comp) {
|
|
|
19589
19614
|
}
|
|
19590
19615
|
__name(normalizeComponent, "normalizeComponent");
|
|
19591
19616
|
var _createClass$d = /* @__PURE__ */ function() {
|
|
19592
|
-
function
|
|
19617
|
+
function defineProperties4(target, props) {
|
|
19593
19618
|
for (var i = 0; i < props.length; i++) {
|
|
19594
19619
|
var descriptor2 = props[i];
|
|
19595
19620
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -19599,12 +19624,12 @@ var _createClass$d = /* @__PURE__ */ function() {
|
|
|
19599
19624
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
19600
19625
|
}
|
|
19601
19626
|
}
|
|
19602
|
-
__name(
|
|
19627
|
+
__name(defineProperties4, "defineProperties");
|
|
19603
19628
|
return function(Constructor, protoProps, staticProps) {
|
|
19604
19629
|
if (protoProps)
|
|
19605
|
-
|
|
19630
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
19606
19631
|
if (staticProps)
|
|
19607
|
-
|
|
19632
|
+
defineProperties4(Constructor, staticProps);
|
|
19608
19633
|
return Constructor;
|
|
19609
19634
|
};
|
|
19610
19635
|
}();
|
|
@@ -19765,7 +19790,7 @@ var _extends$o = Object.assign || function(target) {
|
|
|
19765
19790
|
return target;
|
|
19766
19791
|
};
|
|
19767
19792
|
var _createClass$c = /* @__PURE__ */ function() {
|
|
19768
|
-
function
|
|
19793
|
+
function defineProperties4(target, props) {
|
|
19769
19794
|
for (var i = 0; i < props.length; i++) {
|
|
19770
19795
|
var descriptor2 = props[i];
|
|
19771
19796
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -19775,12 +19800,12 @@ var _createClass$c = /* @__PURE__ */ function() {
|
|
|
19775
19800
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
19776
19801
|
}
|
|
19777
19802
|
}
|
|
19778
|
-
__name(
|
|
19803
|
+
__name(defineProperties4, "defineProperties");
|
|
19779
19804
|
return function(Constructor, protoProps, staticProps) {
|
|
19780
19805
|
if (protoProps)
|
|
19781
|
-
|
|
19806
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
19782
19807
|
if (staticProps)
|
|
19783
|
-
|
|
19808
|
+
defineProperties4(Constructor, staticProps);
|
|
19784
19809
|
return Constructor;
|
|
19785
19810
|
};
|
|
19786
19811
|
}();
|
|
@@ -20371,7 +20396,7 @@ const Methods = /* @__PURE__ */ __name(function(Base) {
|
|
|
20371
20396
|
}(Base);
|
|
20372
20397
|
}, "Methods");
|
|
20373
20398
|
var _createClass$b = /* @__PURE__ */ function() {
|
|
20374
|
-
function
|
|
20399
|
+
function defineProperties4(target, props) {
|
|
20375
20400
|
for (var i = 0; i < props.length; i++) {
|
|
20376
20401
|
var descriptor2 = props[i];
|
|
20377
20402
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -20381,12 +20406,12 @@ var _createClass$b = /* @__PURE__ */ function() {
|
|
|
20381
20406
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
20382
20407
|
}
|
|
20383
20408
|
}
|
|
20384
|
-
__name(
|
|
20409
|
+
__name(defineProperties4, "defineProperties");
|
|
20385
20410
|
return function(Constructor, protoProps, staticProps) {
|
|
20386
20411
|
if (protoProps)
|
|
20387
|
-
|
|
20412
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
20388
20413
|
if (staticProps)
|
|
20389
|
-
|
|
20414
|
+
defineProperties4(Constructor, staticProps);
|
|
20390
20415
|
return Constructor;
|
|
20391
20416
|
};
|
|
20392
20417
|
}();
|
|
@@ -21158,7 +21183,7 @@ var _extends$l = Object.assign || function(target) {
|
|
|
21158
21183
|
return target;
|
|
21159
21184
|
};
|
|
21160
21185
|
var _createClass$a = /* @__PURE__ */ function() {
|
|
21161
|
-
function
|
|
21186
|
+
function defineProperties4(target, props) {
|
|
21162
21187
|
for (var i = 0; i < props.length; i++) {
|
|
21163
21188
|
var descriptor2 = props[i];
|
|
21164
21189
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -21168,12 +21193,12 @@ var _createClass$a = /* @__PURE__ */ function() {
|
|
|
21168
21193
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
21169
21194
|
}
|
|
21170
21195
|
}
|
|
21171
|
-
__name(
|
|
21196
|
+
__name(defineProperties4, "defineProperties");
|
|
21172
21197
|
return function(Constructor, protoProps, staticProps) {
|
|
21173
21198
|
if (protoProps)
|
|
21174
|
-
|
|
21199
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
21175
21200
|
if (staticProps)
|
|
21176
|
-
|
|
21201
|
+
defineProperties4(Constructor, staticProps);
|
|
21177
21202
|
return Constructor;
|
|
21178
21203
|
};
|
|
21179
21204
|
}();
|
|
@@ -23367,7 +23392,7 @@ function looksLikeAVFileValue(value) {
|
|
|
23367
23392
|
__name(looksLikeAVFileValue, "looksLikeAVFileValue");
|
|
23368
23393
|
const emptyOptions = {};
|
|
23369
23394
|
function toString$1(value, options) {
|
|
23370
|
-
const settings = emptyOptions;
|
|
23395
|
+
const settings = options || emptyOptions;
|
|
23371
23396
|
const includeImageAlt = typeof settings.includeImageAlt === "boolean" ? settings.includeImageAlt : true;
|
|
23372
23397
|
const includeHtml = typeof settings.includeHtml === "boolean" ? settings.includeHtml : true;
|
|
23373
23398
|
return one$1(value, includeImageAlt, includeHtml);
|
|
@@ -27497,21 +27522,21 @@ function parse$7(options) {
|
|
|
27497
27522
|
defined: [],
|
|
27498
27523
|
lazy: {},
|
|
27499
27524
|
constructs: constructs2,
|
|
27500
|
-
content:
|
|
27501
|
-
document:
|
|
27502
|
-
flow:
|
|
27503
|
-
string:
|
|
27504
|
-
text:
|
|
27525
|
+
content: create6(content$1),
|
|
27526
|
+
document: create6(document$2),
|
|
27527
|
+
flow: create6(flow$1),
|
|
27528
|
+
string: create6(string$1),
|
|
27529
|
+
text: create6(text$3)
|
|
27505
27530
|
};
|
|
27506
27531
|
return parser;
|
|
27507
|
-
function
|
|
27532
|
+
function create6(initial) {
|
|
27508
27533
|
return creator;
|
|
27509
27534
|
function creator(from3) {
|
|
27510
27535
|
return createTokenizer(parser, initial, from3);
|
|
27511
27536
|
}
|
|
27512
27537
|
__name(creator, "creator");
|
|
27513
27538
|
}
|
|
27514
|
-
__name(
|
|
27539
|
+
__name(create6, "create");
|
|
27515
27540
|
}
|
|
27516
27541
|
__name(parse$7, "parse$7");
|
|
27517
27542
|
const search$1 = /[\0\t\n\r]/g;
|
|
@@ -27922,10 +27947,10 @@ function compiler(options) {
|
|
|
27922
27947
|
return data[key];
|
|
27923
27948
|
}
|
|
27924
27949
|
__name(getData, "getData");
|
|
27925
|
-
function opener(
|
|
27950
|
+
function opener(create6, and) {
|
|
27926
27951
|
return open2;
|
|
27927
27952
|
function open2(token) {
|
|
27928
|
-
enter2.call(this,
|
|
27953
|
+
enter2.call(this, create6(token), token);
|
|
27929
27954
|
if (and)
|
|
27930
27955
|
and.call(this, token);
|
|
27931
27956
|
}
|
|
@@ -29563,6 +29588,7 @@ const remarkRehype = (
|
|
|
29563
29588
|
return destination && "run" in destination ? bridge(destination, options) : mutate(destination || options);
|
|
29564
29589
|
}, "remarkRehype")
|
|
29565
29590
|
);
|
|
29591
|
+
const remarkRehype$1 = remarkRehype;
|
|
29566
29592
|
function bridge(destination, options) {
|
|
29567
29593
|
return (node2, file, next) => {
|
|
29568
29594
|
destination.run(toHast(node2, options), file, (error) => {
|
|
@@ -30939,7 +30965,7 @@ function stringify$3(values3) {
|
|
|
30939
30965
|
}
|
|
30940
30966
|
__name(stringify$3, "stringify$3");
|
|
30941
30967
|
function stringify$2(values3, options) {
|
|
30942
|
-
const settings = {};
|
|
30968
|
+
const settings = options || {};
|
|
30943
30969
|
const input = values3[values3.length - 1] === "" ? [...values3, ""] : values3;
|
|
30944
30970
|
return input.join(
|
|
30945
30971
|
(settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")
|
|
@@ -31360,7 +31386,7 @@ function ReactMarkdown(options) {
|
|
|
31360
31386
|
delete deprecated[key];
|
|
31361
31387
|
}
|
|
31362
31388
|
}
|
|
31363
|
-
const processor = unified().use(remarkParse).use(options.remarkPlugins || []).use(remarkRehype, __spreadProps(__spreadValues({}, options.remarkRehypeOptions), {
|
|
31389
|
+
const processor = unified().use(remarkParse).use(options.remarkPlugins || []).use(remarkRehype$1, __spreadProps(__spreadValues({}, options.remarkRehypeOptions), {
|
|
31364
31390
|
allowDangerousHtml: true
|
|
31365
31391
|
})).use(options.rehypePlugins || []).use(rehypeFilter, options);
|
|
31366
31392
|
const file = new VFile();
|
|
@@ -36124,8 +36150,9 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36124
36150
|
}
|
|
36125
36151
|
render() {
|
|
36126
36152
|
var _b2;
|
|
36127
|
-
|
|
36153
|
+
let _a2 = this.props, {
|
|
36128
36154
|
multi,
|
|
36155
|
+
asTag,
|
|
36129
36156
|
options,
|
|
36130
36157
|
unfilteredOptions,
|
|
36131
36158
|
value,
|
|
@@ -36138,6 +36165,10 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36138
36165
|
noResultsText,
|
|
36139
36166
|
noResults: _noResults,
|
|
36140
36167
|
inputProps,
|
|
36168
|
+
backgroundColor,
|
|
36169
|
+
doNotFillWidth,
|
|
36170
|
+
noToggle,
|
|
36171
|
+
small,
|
|
36141
36172
|
placeholder,
|
|
36142
36173
|
isLoading,
|
|
36143
36174
|
disallowClear,
|
|
@@ -36149,6 +36180,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36149
36180
|
renderCreateNewOption: _renderCreateNewOption = renderCreateNewOption$1
|
|
36150
36181
|
} = _a2, rest = __objRest(_a2, [
|
|
36151
36182
|
"multi",
|
|
36183
|
+
"asTag",
|
|
36152
36184
|
"options",
|
|
36153
36185
|
"unfilteredOptions",
|
|
36154
36186
|
"value",
|
|
@@ -36162,6 +36194,10 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36162
36194
|
"noResultsText",
|
|
36163
36195
|
"noResults",
|
|
36164
36196
|
"inputProps",
|
|
36197
|
+
"backgroundColor",
|
|
36198
|
+
"doNotFillWidth",
|
|
36199
|
+
"noToggle",
|
|
36200
|
+
"small",
|
|
36165
36201
|
"placeholder",
|
|
36166
36202
|
"isLoading",
|
|
36167
36203
|
"disallowClear",
|
|
@@ -36172,6 +36208,14 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36172
36208
|
"resetOnSelect",
|
|
36173
36209
|
"renderCreateNewOption"
|
|
36174
36210
|
]);
|
|
36211
|
+
if (asTag) {
|
|
36212
|
+
small = true;
|
|
36213
|
+
placeholder = " ";
|
|
36214
|
+
backgroundColor = "red";
|
|
36215
|
+
disallowClear = true;
|
|
36216
|
+
doNotFillWidth = true;
|
|
36217
|
+
noToggle = true;
|
|
36218
|
+
}
|
|
36175
36219
|
let noResults = _noResults;
|
|
36176
36220
|
if (noResults === void 0)
|
|
36177
36221
|
noResults = noResultsDefault;
|
|
@@ -36185,7 +36229,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36185
36229
|
minimal: true,
|
|
36186
36230
|
onClick: this.handleClear
|
|
36187
36231
|
}
|
|
36188
|
-
), noResults !== null && /* @__PURE__ */ React$2.createElement(
|
|
36232
|
+
), noResults !== null && !noToggle && /* @__PURE__ */ React$2.createElement(
|
|
36189
36233
|
core$5.Button,
|
|
36190
36234
|
{
|
|
36191
36235
|
onClick: (e2) => {
|
|
@@ -36209,7 +36253,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36209
36253
|
(opt) => opt && opt.value === (value2 && value2.value || value2)
|
|
36210
36254
|
);
|
|
36211
36255
|
});
|
|
36212
|
-
|
|
36256
|
+
const toRet = /* @__PURE__ */ React$2.createElement(
|
|
36213
36257
|
select.MultiSelect,
|
|
36214
36258
|
__spreadValues(__spreadValues({
|
|
36215
36259
|
onActiveItemChange: this.handleActiveItemChange,
|
|
@@ -36223,7 +36267,10 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36223
36267
|
captureDismiss: true,
|
|
36224
36268
|
minimal: true,
|
|
36225
36269
|
className: classNames("tg-select", "tg-stop-dialog-form-enter", {
|
|
36226
|
-
"tg-single-select": !multi
|
|
36270
|
+
"tg-single-select": !multi,
|
|
36271
|
+
"tg-select-as-tag": asTag,
|
|
36272
|
+
"do-not-fill-width": doNotFillWidth,
|
|
36273
|
+
"tg-small": small
|
|
36227
36274
|
}),
|
|
36228
36275
|
wrapperTagName: "div",
|
|
36229
36276
|
canEscapeKeyClose: true,
|
|
@@ -36278,6 +36325,23 @@ const _TgSelect = class _TgSelect extends React$2.Component {
|
|
|
36278
36325
|
})
|
|
36279
36326
|
}), rest)
|
|
36280
36327
|
);
|
|
36328
|
+
if (backgroundColor) {
|
|
36329
|
+
return /* @__PURE__ */ React$2.createElement(
|
|
36330
|
+
"div",
|
|
36331
|
+
{
|
|
36332
|
+
style: {
|
|
36333
|
+
backgroundColor,
|
|
36334
|
+
borderRadius: "4px 4px 4px 4px",
|
|
36335
|
+
overflow: "hidden",
|
|
36336
|
+
width: "fit-content",
|
|
36337
|
+
color: "white",
|
|
36338
|
+
border: "2px solid white"
|
|
36339
|
+
}
|
|
36340
|
+
},
|
|
36341
|
+
toRet
|
|
36342
|
+
);
|
|
36343
|
+
}
|
|
36344
|
+
return toRet;
|
|
36281
36345
|
}
|
|
36282
36346
|
};
|
|
36283
36347
|
__name(_TgSelect, "TgSelect");
|
|
@@ -36474,84 +36538,80 @@ const symbols = {
|
|
|
36474
36538
|
down: "↓"
|
|
36475
36539
|
};
|
|
36476
36540
|
symbols.mod = symbols[isMac ? "meta" : "ctrl"];
|
|
36477
|
-
const
|
|
36478
|
-
|
|
36479
|
-
|
|
36480
|
-
|
|
36481
|
-
|
|
36482
|
-
|
|
36483
|
-
|
|
36484
|
-
|
|
36485
|
-
|
|
36486
|
-
|
|
36487
|
-
|
|
36488
|
-
|
|
36489
|
-
|
|
36490
|
-
|
|
36491
|
-
|
|
36492
|
-
|
|
36493
|
-
|
|
36494
|
-
|
|
36495
|
-
|
|
36496
|
-
|
|
36497
|
-
|
|
36498
|
-
|
|
36499
|
-
|
|
36500
|
-
|
|
36501
|
-
|
|
36502
|
-
|
|
36503
|
-
|
|
36504
|
-
|
|
36505
|
-
|
|
36506
|
-
|
|
36507
|
-
|
|
36508
|
-
|
|
36509
|
-
|
|
36510
|
-
|
|
36511
|
-
|
|
36512
|
-
|
|
36513
|
-
|
|
36514
|
-
|
|
36515
|
-
|
|
36516
|
-
|
|
36517
|
-
|
|
36518
|
-
|
|
36519
|
-
|
|
36520
|
-
|
|
36521
|
-
|
|
36522
|
-
|
|
36523
|
-
|
|
36524
|
-
|
|
36525
|
-
|
|
36526
|
-
|
|
36527
|
-
|
|
36528
|
-
|
|
36529
|
-
|
|
36530
|
-
|
|
36531
|
-
|
|
36532
|
-
}
|
|
36533
|
-
toReturn = /* @__PURE__ */ React$2.createElement(core$5.Tooltip, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
36534
|
-
}
|
|
36535
|
-
const El = isInline ? "span" : "div";
|
|
36536
|
-
return /* @__PURE__ */ React$2.createElement(
|
|
36537
|
-
El,
|
|
36538
|
-
{
|
|
36539
|
-
style: __spreadValues(__spreadValues(__spreadValues({}, clickable ? { cursor: "pointer" } : {}), isInline ? {} : { display: "flex" }), style2),
|
|
36540
|
-
className: classNames(
|
|
36541
|
-
"info-helper-wrapper",
|
|
36542
|
-
{
|
|
36543
|
-
"info-helper-wrapper-noMarginTop": noMarginTop,
|
|
36544
|
-
"info-helper-clickable": isPopover
|
|
36545
|
-
},
|
|
36546
|
-
className
|
|
36547
|
-
)
|
|
36548
|
-
},
|
|
36549
|
-
toReturn
|
|
36550
|
-
);
|
|
36541
|
+
const InfoHelper = /* @__PURE__ */ __name((_c) => {
|
|
36542
|
+
var _d = _c, {
|
|
36543
|
+
className,
|
|
36544
|
+
content: content2,
|
|
36545
|
+
children,
|
|
36546
|
+
icon = "info-sign",
|
|
36547
|
+
isPopover,
|
|
36548
|
+
isButton,
|
|
36549
|
+
size,
|
|
36550
|
+
isInline,
|
|
36551
|
+
clickable,
|
|
36552
|
+
color: color2,
|
|
36553
|
+
noMarginTop,
|
|
36554
|
+
popoverProps = {},
|
|
36555
|
+
disabled,
|
|
36556
|
+
displayToSide,
|
|
36557
|
+
style: style2
|
|
36558
|
+
} = _d, rest = __objRest(_d, [
|
|
36559
|
+
"className",
|
|
36560
|
+
"content",
|
|
36561
|
+
"children",
|
|
36562
|
+
"icon",
|
|
36563
|
+
"isPopover",
|
|
36564
|
+
"isButton",
|
|
36565
|
+
"size",
|
|
36566
|
+
"isInline",
|
|
36567
|
+
"clickable",
|
|
36568
|
+
"color",
|
|
36569
|
+
"noMarginTop",
|
|
36570
|
+
"popoverProps",
|
|
36571
|
+
"disabled",
|
|
36572
|
+
"displayToSide",
|
|
36573
|
+
"style"
|
|
36574
|
+
]);
|
|
36575
|
+
const IconToUse = isButton ? core$5.Button : core$5.Icon;
|
|
36576
|
+
const iconProps = {
|
|
36577
|
+
icon,
|
|
36578
|
+
color: color2,
|
|
36579
|
+
disabled
|
|
36580
|
+
};
|
|
36581
|
+
if (!isButton)
|
|
36582
|
+
iconProps.iconSize = size;
|
|
36583
|
+
const IconInner = /* @__PURE__ */ React$2.createElement(IconToUse, __spreadValues(__spreadValues({}, iconProps), rest));
|
|
36584
|
+
let toReturn;
|
|
36585
|
+
const toolTipOrPopoverProps = __spreadValues({
|
|
36586
|
+
disabled: disabled || !isPopover && window.Cypress && !window.Cypress.allowInfoHelperTooltips,
|
|
36587
|
+
popoverClassName: "tg-info-helper-popover bp3-tooltip",
|
|
36588
|
+
content: content2 || children,
|
|
36589
|
+
modifiers: popoverOverflowModifiers
|
|
36590
|
+
}, popoverProps);
|
|
36591
|
+
if (displayToSide) {
|
|
36592
|
+
toReturn = /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, IconInner, /* @__PURE__ */ React$2.createElement("span", { style: { paddingLeft: 5, fontStyle: "italic" } }, content2 || children));
|
|
36593
|
+
} else if (isPopover) {
|
|
36594
|
+
toReturn = /* @__PURE__ */ React$2.createElement(core$5.Popover, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
36595
|
+
} else {
|
|
36596
|
+
toReturn = /* @__PURE__ */ React$2.createElement(core$5.Tooltip, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
36551
36597
|
}
|
|
36552
|
-
|
|
36553
|
-
|
|
36554
|
-
|
|
36598
|
+
const El = isInline ? "span" : "div";
|
|
36599
|
+
return /* @__PURE__ */ React$2.createElement(
|
|
36600
|
+
El,
|
|
36601
|
+
{
|
|
36602
|
+
style: __spreadValues(__spreadValues(__spreadValues({}, clickable ? { cursor: "pointer" } : {}), isInline ? {} : { display: "flex" }), style2),
|
|
36603
|
+
className: classNames(
|
|
36604
|
+
"info-helper-wrapper",
|
|
36605
|
+
{
|
|
36606
|
+
"info-helper-wrapper-noMarginTop": noMarginTop,
|
|
36607
|
+
"info-helper-clickable": isPopover
|
|
36608
|
+
},
|
|
36609
|
+
className
|
|
36610
|
+
)
|
|
36611
|
+
},
|
|
36612
|
+
toReturn
|
|
36613
|
+
);
|
|
36614
|
+
}, "InfoHelper");
|
|
36555
36615
|
const getIdOrCodeOrIndex = /* @__PURE__ */ __name((record, rowIndex) => {
|
|
36556
36616
|
if (record.id || record.id === 0) {
|
|
36557
36617
|
return record.id;
|
|
@@ -36859,7 +36919,7 @@ var concatty = /* @__PURE__ */ __name(function concatty2(a2, b3) {
|
|
|
36859
36919
|
}, "concatty");
|
|
36860
36920
|
var slicy = /* @__PURE__ */ __name(function slicy2(arrLike, offset4) {
|
|
36861
36921
|
var arr = [];
|
|
36862
|
-
for (var i = offset4, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
36922
|
+
for (var i = offset4 || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
36863
36923
|
arr[j] = arrLike[i];
|
|
36864
36924
|
}
|
|
36865
36925
|
return arr;
|
|
@@ -36904,11 +36964,11 @@ var implementation$8 = /* @__PURE__ */ __name(function bind(that) {
|
|
|
36904
36964
|
}
|
|
36905
36965
|
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
36906
36966
|
if (target.prototype) {
|
|
36907
|
-
var
|
|
36967
|
+
var Empty2 = /* @__PURE__ */ __name(function Empty3() {
|
|
36908
36968
|
}, "Empty");
|
|
36909
|
-
|
|
36910
|
-
bound.prototype = new
|
|
36911
|
-
|
|
36969
|
+
Empty2.prototype = target.prototype;
|
|
36970
|
+
bound.prototype = new Empty2();
|
|
36971
|
+
Empty2.prototype = null;
|
|
36912
36972
|
}
|
|
36913
36973
|
return bound;
|
|
36914
36974
|
}, "bind");
|
|
@@ -39100,12 +39160,20 @@ function getSubFilter(qb, selectedFilter, filterValue) {
|
|
|
39100
39160
|
__name(getSubFilter, "getSubFilter");
|
|
39101
39161
|
function getCurrentParamsFromUrl(location2, isSimple) {
|
|
39102
39162
|
let { search: search2 } = location2;
|
|
39163
|
+
if (isSimple) {
|
|
39164
|
+
search2 = window.location.href.split("?")[1] || "";
|
|
39165
|
+
}
|
|
39103
39166
|
return parseFilters(queryString.parse(search2, { ignoreQueryPrefix: true }));
|
|
39104
39167
|
}
|
|
39105
39168
|
__name(getCurrentParamsFromUrl, "getCurrentParamsFromUrl");
|
|
39106
39169
|
function setCurrentParamsOnUrl(newParams, replace3, isSimple) {
|
|
39107
39170
|
const stringifiedFilters = stringifyFilters(newParams);
|
|
39108
39171
|
const search2 = `?${queryString.stringify(stringifiedFilters)}`;
|
|
39172
|
+
if (isSimple) {
|
|
39173
|
+
return window.location.replace(
|
|
39174
|
+
`${window.location.href.split("?")[0]}${search2}`
|
|
39175
|
+
);
|
|
39176
|
+
}
|
|
39109
39177
|
replace3({
|
|
39110
39178
|
search: search2
|
|
39111
39179
|
});
|
|
@@ -41251,7 +41319,7 @@ var _extends$f = Object.assign || function(target) {
|
|
|
41251
41319
|
return target;
|
|
41252
41320
|
};
|
|
41253
41321
|
var _createClass$9 = /* @__PURE__ */ function() {
|
|
41254
|
-
function
|
|
41322
|
+
function defineProperties4(target, props) {
|
|
41255
41323
|
for (var i = 0; i < props.length; i++) {
|
|
41256
41324
|
var descriptor2 = props[i];
|
|
41257
41325
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41261,12 +41329,12 @@ var _createClass$9 = /* @__PURE__ */ function() {
|
|
|
41261
41329
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41262
41330
|
}
|
|
41263
41331
|
}
|
|
41264
|
-
__name(
|
|
41332
|
+
__name(defineProperties4, "defineProperties");
|
|
41265
41333
|
return function(Constructor, protoProps, staticProps) {
|
|
41266
41334
|
if (protoProps)
|
|
41267
|
-
|
|
41335
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
41268
41336
|
if (staticProps)
|
|
41269
|
-
|
|
41337
|
+
defineProperties4(Constructor, staticProps);
|
|
41270
41338
|
return Constructor;
|
|
41271
41339
|
};
|
|
41272
41340
|
}();
|
|
@@ -41408,7 +41476,7 @@ var Alpha = function(_ref) {
|
|
|
41408
41476
|
return Alpha2;
|
|
41409
41477
|
}(React$2.PureComponent || React$2.Component);
|
|
41410
41478
|
var _createClass$8 = /* @__PURE__ */ function() {
|
|
41411
|
-
function
|
|
41479
|
+
function defineProperties4(target, props) {
|
|
41412
41480
|
for (var i = 0; i < props.length; i++) {
|
|
41413
41481
|
var descriptor2 = props[i];
|
|
41414
41482
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41418,12 +41486,12 @@ var _createClass$8 = /* @__PURE__ */ function() {
|
|
|
41418
41486
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41419
41487
|
}
|
|
41420
41488
|
}
|
|
41421
|
-
__name(
|
|
41489
|
+
__name(defineProperties4, "defineProperties");
|
|
41422
41490
|
return function(Constructor, protoProps, staticProps) {
|
|
41423
41491
|
if (protoProps)
|
|
41424
|
-
|
|
41492
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
41425
41493
|
if (staticProps)
|
|
41426
|
-
|
|
41494
|
+
defineProperties4(Constructor, staticProps);
|
|
41427
41495
|
return Constructor;
|
|
41428
41496
|
};
|
|
41429
41497
|
}();
|
|
@@ -41656,7 +41724,7 @@ var calculateChange$1 = /* @__PURE__ */ __name(function calculateChange2(e2, dir
|
|
|
41656
41724
|
return null;
|
|
41657
41725
|
}, "calculateChange");
|
|
41658
41726
|
var _createClass$7 = /* @__PURE__ */ function() {
|
|
41659
|
-
function
|
|
41727
|
+
function defineProperties4(target, props) {
|
|
41660
41728
|
for (var i = 0; i < props.length; i++) {
|
|
41661
41729
|
var descriptor2 = props[i];
|
|
41662
41730
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41666,12 +41734,12 @@ var _createClass$7 = /* @__PURE__ */ function() {
|
|
|
41666
41734
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41667
41735
|
}
|
|
41668
41736
|
}
|
|
41669
|
-
__name(
|
|
41737
|
+
__name(defineProperties4, "defineProperties");
|
|
41670
41738
|
return function(Constructor, protoProps, staticProps) {
|
|
41671
41739
|
if (protoProps)
|
|
41672
|
-
|
|
41740
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
41673
41741
|
if (staticProps)
|
|
41674
|
-
|
|
41742
|
+
defineProperties4(Constructor, staticProps);
|
|
41675
41743
|
return Constructor;
|
|
41676
41744
|
};
|
|
41677
41745
|
}();
|
|
@@ -41908,7 +41976,7 @@ var calculateChange3 = /* @__PURE__ */ __name(function calculateChange4(e2, hsl,
|
|
|
41908
41976
|
};
|
|
41909
41977
|
}, "calculateChange");
|
|
41910
41978
|
var _createClass$6 = /* @__PURE__ */ function() {
|
|
41911
|
-
function
|
|
41979
|
+
function defineProperties4(target, props) {
|
|
41912
41980
|
for (var i = 0; i < props.length; i++) {
|
|
41913
41981
|
var descriptor2 = props[i];
|
|
41914
41982
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41918,12 +41986,12 @@ var _createClass$6 = /* @__PURE__ */ function() {
|
|
|
41918
41986
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41919
41987
|
}
|
|
41920
41988
|
}
|
|
41921
|
-
__name(
|
|
41989
|
+
__name(defineProperties4, "defineProperties");
|
|
41922
41990
|
return function(Constructor, protoProps, staticProps) {
|
|
41923
41991
|
if (protoProps)
|
|
41924
|
-
|
|
41992
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
41925
41993
|
if (staticProps)
|
|
41926
|
-
|
|
41994
|
+
defineProperties4(Constructor, staticProps);
|
|
41927
41995
|
return Constructor;
|
|
41928
41996
|
};
|
|
41929
41997
|
}();
|
|
@@ -43161,7 +43229,7 @@ var _extends$e = Object.assign || function(target) {
|
|
|
43161
43229
|
return target;
|
|
43162
43230
|
};
|
|
43163
43231
|
var _createClass$5 = /* @__PURE__ */ function() {
|
|
43164
|
-
function
|
|
43232
|
+
function defineProperties4(target, props) {
|
|
43165
43233
|
for (var i = 0; i < props.length; i++) {
|
|
43166
43234
|
var descriptor2 = props[i];
|
|
43167
43235
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43171,12 +43239,12 @@ var _createClass$5 = /* @__PURE__ */ function() {
|
|
|
43171
43239
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43172
43240
|
}
|
|
43173
43241
|
}
|
|
43174
|
-
__name(
|
|
43242
|
+
__name(defineProperties4, "defineProperties");
|
|
43175
43243
|
return function(Constructor, protoProps, staticProps) {
|
|
43176
43244
|
if (protoProps)
|
|
43177
|
-
|
|
43245
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
43178
43246
|
if (staticProps)
|
|
43179
|
-
|
|
43247
|
+
defineProperties4(Constructor, staticProps);
|
|
43180
43248
|
return Constructor;
|
|
43181
43249
|
};
|
|
43182
43250
|
}();
|
|
@@ -43273,7 +43341,7 @@ var _extends$d = Object.assign || function(target) {
|
|
|
43273
43341
|
return target;
|
|
43274
43342
|
};
|
|
43275
43343
|
var _createClass$4 = /* @__PURE__ */ function() {
|
|
43276
|
-
function
|
|
43344
|
+
function defineProperties4(target, props) {
|
|
43277
43345
|
for (var i = 0; i < props.length; i++) {
|
|
43278
43346
|
var descriptor2 = props[i];
|
|
43279
43347
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43283,12 +43351,12 @@ var _createClass$4 = /* @__PURE__ */ function() {
|
|
|
43283
43351
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43284
43352
|
}
|
|
43285
43353
|
}
|
|
43286
|
-
__name(
|
|
43354
|
+
__name(defineProperties4, "defineProperties");
|
|
43287
43355
|
return function(Constructor, protoProps, staticProps) {
|
|
43288
43356
|
if (protoProps)
|
|
43289
|
-
|
|
43357
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
43290
43358
|
if (staticProps)
|
|
43291
|
-
|
|
43359
|
+
defineProperties4(Constructor, staticProps);
|
|
43292
43360
|
return Constructor;
|
|
43293
43361
|
};
|
|
43294
43362
|
}();
|
|
@@ -43769,7 +43837,7 @@ var _default$3 = UnfoldMoreHorizontalIcon.default = function(_ref) {
|
|
|
43769
43837
|
);
|
|
43770
43838
|
};
|
|
43771
43839
|
var _createClass$3 = /* @__PURE__ */ function() {
|
|
43772
|
-
function
|
|
43840
|
+
function defineProperties4(target, props) {
|
|
43773
43841
|
for (var i = 0; i < props.length; i++) {
|
|
43774
43842
|
var descriptor2 = props[i];
|
|
43775
43843
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43779,12 +43847,12 @@ var _createClass$3 = /* @__PURE__ */ function() {
|
|
|
43779
43847
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43780
43848
|
}
|
|
43781
43849
|
}
|
|
43782
|
-
__name(
|
|
43850
|
+
__name(defineProperties4, "defineProperties");
|
|
43783
43851
|
return function(Constructor, protoProps, staticProps) {
|
|
43784
43852
|
if (protoProps)
|
|
43785
|
-
|
|
43853
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
43786
43854
|
if (staticProps)
|
|
43787
|
-
|
|
43855
|
+
defineProperties4(Constructor, staticProps);
|
|
43788
43856
|
return Constructor;
|
|
43789
43857
|
};
|
|
43790
43858
|
}();
|
|
@@ -45194,7 +45262,7 @@ var PhotoshopPreviews = /* @__PURE__ */ __name(function PhotoshopPreviews2(_ref)
|
|
|
45194
45262
|
);
|
|
45195
45263
|
}, "PhotoshopPreviews");
|
|
45196
45264
|
var _createClass$2 = /* @__PURE__ */ function() {
|
|
45197
|
-
function
|
|
45265
|
+
function defineProperties4(target, props) {
|
|
45198
45266
|
for (var i = 0; i < props.length; i++) {
|
|
45199
45267
|
var descriptor2 = props[i];
|
|
45200
45268
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -45204,12 +45272,12 @@ var _createClass$2 = /* @__PURE__ */ function() {
|
|
|
45204
45272
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
45205
45273
|
}
|
|
45206
45274
|
}
|
|
45207
|
-
__name(
|
|
45275
|
+
__name(defineProperties4, "defineProperties");
|
|
45208
45276
|
return function(Constructor, protoProps, staticProps) {
|
|
45209
45277
|
if (protoProps)
|
|
45210
|
-
|
|
45278
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
45211
45279
|
if (staticProps)
|
|
45212
|
-
|
|
45280
|
+
defineProperties4(Constructor, staticProps);
|
|
45213
45281
|
return Constructor;
|
|
45214
45282
|
};
|
|
45215
45283
|
}();
|
|
@@ -48333,8 +48401,8 @@ const renderReactSelect = /* @__PURE__ */ __name((props) => {
|
|
|
48333
48401
|
});
|
|
48334
48402
|
return /* @__PURE__ */ React$2.createElement(TgSelect$1, __spreadValues({}, propsToUse));
|
|
48335
48403
|
}, "renderReactSelect");
|
|
48336
|
-
const BPSelect = /* @__PURE__ */ __name((
|
|
48337
|
-
var
|
|
48404
|
+
const BPSelect = /* @__PURE__ */ __name((_e) => {
|
|
48405
|
+
var _f = _e, { value, onChange } = _f, rest = __objRest(_f, ["value", "onChange"]);
|
|
48338
48406
|
return renderSelect(__spreadProps(__spreadValues({}, rest), { input: { onChange, value } }));
|
|
48339
48407
|
}, "BPSelect");
|
|
48340
48408
|
const renderSelect = /* @__PURE__ */ __name((props) => {
|
|
@@ -48469,12 +48537,12 @@ const renderBlueprintNumericInput = /* @__PURE__ */ __name((props) => {
|
|
|
48469
48537
|
})
|
|
48470
48538
|
);
|
|
48471
48539
|
}, "renderBlueprintNumericInput");
|
|
48472
|
-
const renderBlueprintRadioGroup = /* @__PURE__ */ __name((
|
|
48473
|
-
var
|
|
48540
|
+
const renderBlueprintRadioGroup = /* @__PURE__ */ __name((_g) => {
|
|
48541
|
+
var _h = _g, {
|
|
48474
48542
|
input,
|
|
48475
48543
|
options,
|
|
48476
48544
|
onFieldSubmit
|
|
48477
|
-
} =
|
|
48545
|
+
} = _h, rest = __objRest(_h, [
|
|
48478
48546
|
"input",
|
|
48479
48547
|
"options",
|
|
48480
48548
|
"onFieldSubmit"
|
|
@@ -49160,6 +49228,9 @@ function resolvePathname(to, from3) {
|
|
|
49160
49228
|
__name(resolvePathname, "resolvePathname");
|
|
49161
49229
|
var prefix$2 = "Invariant failed";
|
|
49162
49230
|
function invariant$2(condition, message) {
|
|
49231
|
+
if (condition) {
|
|
49232
|
+
return;
|
|
49233
|
+
}
|
|
49163
49234
|
{
|
|
49164
49235
|
throw new Error(prefix$2);
|
|
49165
49236
|
}
|
|
@@ -49207,7 +49278,7 @@ function createLocation(path2, state2, key, currentLocation) {
|
|
|
49207
49278
|
} else {
|
|
49208
49279
|
location2.hash = "";
|
|
49209
49280
|
}
|
|
49210
|
-
if (location2.state === void 0)
|
|
49281
|
+
if (state2 !== void 0 && location2.state === void 0)
|
|
49211
49282
|
location2.state = state2;
|
|
49212
49283
|
}
|
|
49213
49284
|
try {
|
|
@@ -49219,6 +49290,8 @@ function createLocation(path2, state2, key, currentLocation) {
|
|
|
49219
49290
|
throw e2;
|
|
49220
49291
|
}
|
|
49221
49292
|
}
|
|
49293
|
+
if (key)
|
|
49294
|
+
location2.key = key;
|
|
49222
49295
|
if (currentLocation) {
|
|
49223
49296
|
if (!location2.pathname) {
|
|
49224
49297
|
location2.pathname = currentLocation.pathname;
|
|
@@ -49340,6 +49413,7 @@ Link.contextTypes = {
|
|
|
49340
49413
|
}).isRequired
|
|
49341
49414
|
}).isRequired
|
|
49342
49415
|
};
|
|
49416
|
+
const Link$1 = Link;
|
|
49343
49417
|
var pathToRegexp$2 = { exports: {} };
|
|
49344
49418
|
var isarray$1 = Array.isArray || function(arr) {
|
|
49345
49419
|
return Object.prototype.toString.call(arr) == "[object Array]";
|
|
@@ -49786,6 +49860,7 @@ Route.contextTypes = {
|
|
|
49786
49860
|
Route.childContextTypes = {
|
|
49787
49861
|
router: PropTypes.object.isRequired
|
|
49788
49862
|
};
|
|
49863
|
+
const Route$1 = Route;
|
|
49789
49864
|
var REACT_STATICS = {
|
|
49790
49865
|
childContextTypes: true,
|
|
49791
49866
|
contextTypes: true,
|
|
@@ -49807,7 +49882,7 @@ var KNOWN_STATICS = {
|
|
|
49807
49882
|
arity: true
|
|
49808
49883
|
};
|
|
49809
49884
|
var defineProperty$3 = Object.defineProperty;
|
|
49810
|
-
var
|
|
49885
|
+
var getOwnPropertyNames4 = Object.getOwnPropertyNames;
|
|
49811
49886
|
var getOwnPropertySymbols3 = Object.getOwnPropertySymbols;
|
|
49812
49887
|
var getOwnPropertyDescriptor3 = Object.getOwnPropertyDescriptor;
|
|
49813
49888
|
var getPrototypeOf = Object.getPrototypeOf;
|
|
@@ -49820,7 +49895,7 @@ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
|
49820
49895
|
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
|
49821
49896
|
}
|
|
49822
49897
|
}
|
|
49823
|
-
var keys5 =
|
|
49898
|
+
var keys5 = getOwnPropertyNames4(sourceComponent);
|
|
49824
49899
|
if (getOwnPropertySymbols3) {
|
|
49825
49900
|
keys5 = keys5.concat(getOwnPropertySymbols3(sourceComponent));
|
|
49826
49901
|
}
|
|
@@ -49867,7 +49942,7 @@ __name(_objectWithoutProperties$3, "_objectWithoutProperties$3");
|
|
|
49867
49942
|
var withRouter = /* @__PURE__ */ __name(function withRouter2(Component) {
|
|
49868
49943
|
var C = /* @__PURE__ */ __name(function C2(props) {
|
|
49869
49944
|
var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutProperties$3(props, ["wrappedComponentRef"]);
|
|
49870
|
-
return React$2.createElement(Route, {
|
|
49945
|
+
return React$2.createElement(Route$1, {
|
|
49871
49946
|
children: /* @__PURE__ */ __name(function children(routeComponentProps) {
|
|
49872
49947
|
return React$2.createElement(Component, _extends$3({}, remainingProps, routeComponentProps, {
|
|
49873
49948
|
ref: wrappedComponentRef
|
|
@@ -49882,6 +49957,7 @@ var withRouter = /* @__PURE__ */ __name(function withRouter2(Component) {
|
|
|
49882
49957
|
};
|
|
49883
49958
|
return hoistStatics(C, Component);
|
|
49884
49959
|
}, "withRouter");
|
|
49960
|
+
const withRouter$1 = withRouter;
|
|
49885
49961
|
const isEq$1 = /* @__PURE__ */ __name((o1, o2) => {
|
|
49886
49962
|
const isEq2 = isEqualWith(o1, o2, function(val1, val2) {
|
|
49887
49963
|
if (isFunction$6(val1) && isFunction$6(val2)) {
|
|
@@ -49949,8 +50025,12 @@ function getTableConfigFromStorage(formName) {
|
|
|
49949
50025
|
__name(getTableConfigFromStorage, "getTableConfigFromStorage");
|
|
49950
50026
|
function withTableParams(compOrOpts, pTopLevelOpts) {
|
|
49951
50027
|
let topLevelOptions;
|
|
49952
|
-
|
|
50028
|
+
let Component;
|
|
50029
|
+
if (!pTopLevelOpts) {
|
|
49953
50030
|
topLevelOptions = compOrOpts;
|
|
50031
|
+
} else {
|
|
50032
|
+
topLevelOptions = pTopLevelOpts;
|
|
50033
|
+
Component = compOrOpts;
|
|
49954
50034
|
}
|
|
49955
50035
|
const { isLocalCall } = topLevelOptions;
|
|
49956
50036
|
const mapStateToProps2 = /* @__PURE__ */ __name((state2, ownProps) => {
|
|
@@ -50172,11 +50252,14 @@ function withTableParams(compOrOpts, pTopLevelOpts) {
|
|
|
50172
50252
|
}),
|
|
50173
50253
|
branch((props) => {
|
|
50174
50254
|
return !props.noRouter;
|
|
50175
|
-
}, withRouter),
|
|
50255
|
+
}, withRouter$1),
|
|
50176
50256
|
reactRedux.connect(mapStateToProps2, mapDispatchToProps2, mergeProps),
|
|
50177
50257
|
pure$1,
|
|
50178
50258
|
addFormTracking
|
|
50179
50259
|
);
|
|
50260
|
+
if (Component) {
|
|
50261
|
+
return toReturn(Component);
|
|
50262
|
+
}
|
|
50180
50263
|
return toReturn;
|
|
50181
50264
|
}
|
|
50182
50265
|
__name(withTableParams, "withTableParams");
|
|
@@ -51087,7 +51170,7 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
51087
51170
|
const { schema: schema2 } = this.props;
|
|
51088
51171
|
const editableFields = schema2.fields.filter((f2) => !f2.isNotEditable);
|
|
51089
51172
|
const validationErrors = {};
|
|
51090
|
-
const newEnts =
|
|
51173
|
+
const newEnts = immer(entities, (entities2) => {
|
|
51091
51174
|
entities2.forEach((e2, index2) => {
|
|
51092
51175
|
editableFields.forEach((columnSchema) => {
|
|
51093
51176
|
if (useDefaultValues) {
|
|
@@ -51703,8 +51786,8 @@ const _DataTable = class _DataTable extends React$2.Component {
|
|
|
51703
51786
|
};
|
|
51704
51787
|
}),
|
|
51705
51788
|
branch(({ immovable }) => "true" !== immovable, sortableElement)
|
|
51706
|
-
)((
|
|
51707
|
-
var
|
|
51789
|
+
)((_i) => {
|
|
51790
|
+
var _j = _i, { toggleSort, className, children } = _j, rest = __objRest(_j, ["toggleSort", "className", "children"]);
|
|
51708
51791
|
return /* @__PURE__ */ React$2.createElement(
|
|
51709
51792
|
"div",
|
|
51710
51793
|
__spreadValues({
|
|
@@ -53963,13 +54046,13 @@ function getCellInfo({
|
|
|
53963
54046
|
};
|
|
53964
54047
|
}
|
|
53965
54048
|
__name(getCellInfo, "getCellInfo");
|
|
53966
|
-
function ColumnFilterMenu(
|
|
53967
|
-
var
|
|
54049
|
+
function ColumnFilterMenu(_k) {
|
|
54050
|
+
var _l = _k, {
|
|
53968
54051
|
FilterMenu,
|
|
53969
54052
|
filterActiveForColumn,
|
|
53970
54053
|
compact: compact3,
|
|
53971
54054
|
extraCompact
|
|
53972
|
-
} =
|
|
54055
|
+
} = _l, rest = __objRest(_l, [
|
|
53973
54056
|
"FilterMenu",
|
|
53974
54057
|
"filterActiveForColumn",
|
|
53975
54058
|
"compact",
|
|
@@ -54641,7 +54724,7 @@ function MatchHeaders({
|
|
|
54641
54724
|
}),
|
|
54642
54725
|
onChange: (val2) => {
|
|
54643
54726
|
setFilesWIssues(
|
|
54644
|
-
|
|
54727
|
+
immer(filesWIssues, (files) => {
|
|
54645
54728
|
files.forEach((f2, i2) => {
|
|
54646
54729
|
const isCurrentFile = fileIndex === i2;
|
|
54647
54730
|
if (isCurrentFile || doAllFilesHaveSameHeaders) {
|
|
@@ -56601,7 +56684,7 @@ const UploadCsvWizardDialogInner = compose(
|
|
|
56601
56684
|
}, hasSubmitted && {
|
|
56602
56685
|
onBackClick: onBackClick || (() => {
|
|
56603
56686
|
setSteps(
|
|
56604
|
-
|
|
56687
|
+
immer(steps, (draft) => {
|
|
56605
56688
|
draft[0].active = true;
|
|
56606
56689
|
draft[0].completed = false;
|
|
56607
56690
|
draft[1].active = false;
|
|
@@ -56614,7 +56697,7 @@ const UploadCsvWizardDialogInner = compose(
|
|
|
56614
56697
|
return __async(this, null, function* () {
|
|
56615
56698
|
if (!hasSubmitted) {
|
|
56616
56699
|
setSteps(
|
|
56617
|
-
|
|
56700
|
+
immer(steps, (draft) => {
|
|
56618
56701
|
draft[0].active = false;
|
|
56619
56702
|
draft[0].completed = true;
|
|
56620
56703
|
draft[1].active = true;
|
|
@@ -56826,8 +56909,8 @@ function maybeStripIdFromEntities(ents, validateAgainstSchema) {
|
|
|
56826
56909
|
return toRet == null ? void 0 : toRet.map((e2) => omit$3(e2, ["_isClean"]));
|
|
56827
56910
|
}
|
|
56828
56911
|
__name(maybeStripIdFromEntities, "maybeStripIdFromEntities");
|
|
56829
|
-
const useDialog = /* @__PURE__ */ __name((
|
|
56830
|
-
var
|
|
56912
|
+
const useDialog = /* @__PURE__ */ __name((_m) => {
|
|
56913
|
+
var _n = _m, { ModalComponent } = _n, rest = __objRest(_n, ["ModalComponent"]);
|
|
56831
56914
|
const [isOpen, setOpen] = React$2.useState(false);
|
|
56832
56915
|
const [additionalProps, setAdditionalProps] = React$2.useState(false);
|
|
56833
56916
|
const comp = /* @__PURE__ */ React$2.createElement(
|
|
@@ -59466,8 +59549,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
59466
59549
|
var q2 = false;
|
|
59467
59550
|
function J(e3, t3, r3, n3) {
|
|
59468
59551
|
P2(e3, (s2 << 1) + (n3 ? 1 : 0), 3), function(e4, t4, r4, n4) {
|
|
59469
|
-
M2(e4), U2(e4, r4), U2(e4, ~r4), i.arraySet(e4.pending_buf, e4.window, t4, r4, e4.pending), e4.pending += r4;
|
|
59470
|
-
}(e3, t3, r3);
|
|
59552
|
+
M2(e4), n4 && (U2(e4, r4), U2(e4, ~r4)), i.arraySet(e4.pending_buf, e4.window, t4, r4, e4.pending), e4.pending += r4;
|
|
59553
|
+
}(e3, t3, r3, true);
|
|
59471
59554
|
}
|
|
59472
59555
|
__name(J, "J");
|
|
59473
59556
|
r2._tr_init = function(e3) {
|
|
@@ -65369,7 +65452,7 @@ function _createForOfIteratorHelperLoose$4(o2, allowArrayLike) {
|
|
|
65369
65452
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
65370
65453
|
if (it)
|
|
65371
65454
|
return (it = it.call(o2)).next.bind(it);
|
|
65372
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike) {
|
|
65455
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
65373
65456
|
if (it)
|
|
65374
65457
|
o2 = it;
|
|
65375
65458
|
var i = 0;
|
|
@@ -65722,7 +65805,7 @@ function _createForOfIteratorHelperLoose$3(o2, allowArrayLike) {
|
|
|
65722
65805
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
65723
65806
|
if (it)
|
|
65724
65807
|
return (it = it.call(o2)).next.bind(it);
|
|
65725
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike) {
|
|
65808
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
65726
65809
|
if (it)
|
|
65727
65810
|
o2 = it;
|
|
65728
65811
|
var i = 0;
|
|
@@ -66018,7 +66101,7 @@ function _createForOfIteratorHelperLoose$2(o2, allowArrayLike) {
|
|
|
66018
66101
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
66019
66102
|
if (it)
|
|
66020
66103
|
return (it = it.call(o2)).next.bind(it);
|
|
66021
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike) {
|
|
66104
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
66022
66105
|
if (it)
|
|
66023
66106
|
o2 = it;
|
|
66024
66107
|
var i = 0;
|
|
@@ -66104,7 +66187,7 @@ function _createForOfIteratorHelperLoose$1(o2, allowArrayLike) {
|
|
|
66104
66187
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
66105
66188
|
if (it)
|
|
66106
66189
|
return (it = it.call(o2)).next.bind(it);
|
|
66107
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike) {
|
|
66190
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
66108
66191
|
if (it)
|
|
66109
66192
|
o2 = it;
|
|
66110
66193
|
var i = 0;
|
|
@@ -66205,7 +66288,7 @@ function _createForOfIteratorHelperLoose(o2, allowArrayLike) {
|
|
|
66205
66288
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
66206
66289
|
if (it)
|
|
66207
66290
|
return (it = it.call(o2)).next.bind(it);
|
|
66208
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike) {
|
|
66291
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
66209
66292
|
if (it)
|
|
66210
66293
|
o2 = it;
|
|
66211
66294
|
var i = 0;
|
|
@@ -66842,7 +66925,7 @@ function UploaderInner({
|
|
|
66842
66925
|
) : /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, "Accepts ", simpleAccept)
|
|
66843
66926
|
),
|
|
66844
66927
|
/* @__PURE__ */ React$2.createElement(
|
|
66845
|
-
Dropzone,
|
|
66928
|
+
Dropzone$1,
|
|
66846
66929
|
__spreadValues(__spreadValues({
|
|
66847
66930
|
disabled: dropzoneDisabled,
|
|
66848
66931
|
onClick: (evt) => evt.preventDefault(),
|
|
@@ -67356,68 +67439,55 @@ function BounceLoader({ style: style2, className }) {
|
|
|
67356
67439
|
);
|
|
67357
67440
|
}
|
|
67358
67441
|
__name(BounceLoader, "BounceLoader");
|
|
67359
|
-
const
|
|
67360
|
-
|
|
67361
|
-
|
|
67362
|
-
|
|
67363
|
-
|
|
67364
|
-
|
|
67365
|
-
|
|
67366
|
-
|
|
67367
|
-
|
|
67368
|
-
|
|
67369
|
-
|
|
67370
|
-
|
|
67442
|
+
const Loading = /* @__PURE__ */ __name(({
|
|
67443
|
+
loading,
|
|
67444
|
+
style: userStyle,
|
|
67445
|
+
className,
|
|
67446
|
+
containerStyle = {},
|
|
67447
|
+
children,
|
|
67448
|
+
displayInstantly = false,
|
|
67449
|
+
bounce = false,
|
|
67450
|
+
withTimeout,
|
|
67451
|
+
inDialog,
|
|
67452
|
+
centeredInPage
|
|
67453
|
+
}) => {
|
|
67454
|
+
const [longerThan200MS, setLongerThan200MS] = React$2.useState(false);
|
|
67455
|
+
React$2.useEffect(() => {
|
|
67456
|
+
const timeoutId = setTimeout(() => {
|
|
67457
|
+
setLongerThan200MS(true);
|
|
67371
67458
|
}, 200);
|
|
67372
|
-
|
|
67373
|
-
|
|
67374
|
-
|
|
67375
|
-
}
|
|
67376
|
-
|
|
67377
|
-
|
|
67378
|
-
|
|
67379
|
-
|
|
67380
|
-
|
|
67381
|
-
containerStyle = {},
|
|
67382
|
-
children,
|
|
67383
|
-
displayInstantly = false,
|
|
67384
|
-
bounce = false,
|
|
67385
|
-
withTimeout,
|
|
67386
|
-
inDialog,
|
|
67387
|
-
centeredInPage
|
|
67388
|
-
} = this.props;
|
|
67389
|
-
const { longerThan200MS } = this.state;
|
|
67390
|
-
const style2 = __spreadValues(__spreadValues({}, userStyle), inDialog && { minHeight: 120 });
|
|
67391
|
-
const LoaderComp = bounce || inDialog ? BounceLoader : DNALoader;
|
|
67392
|
-
if (loading || !children) {
|
|
67393
|
-
if (!displayInstantly && !longerThan200MS && (!bounce && !inDialog || withTimeout)) {
|
|
67394
|
-
return /* @__PURE__ */ React$2.createElement("div", null);
|
|
67395
|
-
}
|
|
67396
|
-
return /* @__PURE__ */ React$2.createElement(
|
|
67397
|
-
"div",
|
|
67398
|
-
{
|
|
67399
|
-
className: "tg-loader-container tg-flex justify-center align-center",
|
|
67400
|
-
style: __spreadValues(__spreadValues({
|
|
67401
|
-
width: "100%"
|
|
67402
|
-
}, containerStyle), centeredInPage && {
|
|
67403
|
-
width: void 0,
|
|
67404
|
-
zIndex: 20,
|
|
67405
|
-
height: 10,
|
|
67406
|
-
position: "fixed",
|
|
67407
|
-
top: "50%",
|
|
67408
|
-
left: "50%",
|
|
67409
|
-
transform: "translate(-50%, 0)"
|
|
67410
|
-
})
|
|
67411
|
-
},
|
|
67412
|
-
/* @__PURE__ */ React$2.createElement(LoaderComp, { style: style2, className })
|
|
67413
|
-
);
|
|
67414
|
-
} else {
|
|
67415
|
-
return children || null;
|
|
67459
|
+
return () => {
|
|
67460
|
+
clearTimeout(timeoutId);
|
|
67461
|
+
};
|
|
67462
|
+
}, []);
|
|
67463
|
+
const style2 = __spreadValues(__spreadValues({}, userStyle), inDialog && { minHeight: 120 });
|
|
67464
|
+
const LoaderComp = bounce || inDialog ? BounceLoader : DNALoader;
|
|
67465
|
+
if (loading || !children) {
|
|
67466
|
+
if (!displayInstantly && !longerThan200MS && (!bounce && !inDialog || withTimeout)) {
|
|
67467
|
+
return /* @__PURE__ */ React$2.createElement("div", null);
|
|
67416
67468
|
}
|
|
67469
|
+
return /* @__PURE__ */ React$2.createElement(
|
|
67470
|
+
"div",
|
|
67471
|
+
{
|
|
67472
|
+
className: "tg-loader-container tg-flex justify-center align-center",
|
|
67473
|
+
style: __spreadValues(__spreadValues({
|
|
67474
|
+
width: "100%"
|
|
67475
|
+
}, containerStyle), centeredInPage && {
|
|
67476
|
+
width: void 0,
|
|
67477
|
+
zIndex: 20,
|
|
67478
|
+
height: 10,
|
|
67479
|
+
position: "fixed",
|
|
67480
|
+
top: "50%",
|
|
67481
|
+
left: "50%",
|
|
67482
|
+
transform: "translate(-50%, 0)"
|
|
67483
|
+
})
|
|
67484
|
+
},
|
|
67485
|
+
/* @__PURE__ */ React$2.createElement(LoaderComp, { style: style2, className })
|
|
67486
|
+
);
|
|
67487
|
+
} else {
|
|
67488
|
+
return children || null;
|
|
67417
67489
|
}
|
|
67418
|
-
};
|
|
67419
|
-
__name(_Loading, "Loading");
|
|
67420
|
-
let Loading = _Loading;
|
|
67490
|
+
}, "Loading");
|
|
67421
67491
|
function AdvancedOptions({
|
|
67422
67492
|
children,
|
|
67423
67493
|
content: content2,
|
|
@@ -67450,14 +67520,14 @@ function AdvancedOptions({
|
|
|
67450
67520
|
), isOpen && /* @__PURE__ */ React$2.createElement("div", { style: { marginTop: 10 } }, content2 || children));
|
|
67451
67521
|
}
|
|
67452
67522
|
__name(AdvancedOptions, "AdvancedOptions");
|
|
67453
|
-
function DropdownButton(
|
|
67454
|
-
var
|
|
67523
|
+
function DropdownButton(_o) {
|
|
67524
|
+
var _p = _o, {
|
|
67455
67525
|
disabled,
|
|
67456
67526
|
menu,
|
|
67457
67527
|
noRightIcon,
|
|
67458
67528
|
popoverProps,
|
|
67459
67529
|
className
|
|
67460
|
-
} =
|
|
67530
|
+
} = _p, rest = __objRest(_p, [
|
|
67461
67531
|
"disabled",
|
|
67462
67532
|
"menu",
|
|
67463
67533
|
"noRightIcon",
|
|
@@ -67655,7 +67725,7 @@ function _getRequireWildcardCache$1(nodeInterop) {
|
|
|
67655
67725
|
}
|
|
67656
67726
|
__name(_getRequireWildcardCache$1, "_getRequireWildcardCache$1");
|
|
67657
67727
|
function _interopRequireWildcard$1(obj, nodeInterop) {
|
|
67658
|
-
if (obj && obj.__esModule) {
|
|
67728
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
67659
67729
|
return obj;
|
|
67660
67730
|
}
|
|
67661
67731
|
if (obj === null || _typeof$1(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -68080,7 +68150,7 @@ function _getRequireWildcardCache(nodeInterop) {
|
|
|
68080
68150
|
}
|
|
68081
68151
|
__name(_getRequireWildcardCache, "_getRequireWildcardCache");
|
|
68082
68152
|
function _interopRequireWildcard(obj, nodeInterop) {
|
|
68083
|
-
if (obj && obj.__esModule) {
|
|
68153
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
68084
68154
|
return obj;
|
|
68085
68155
|
}
|
|
68086
68156
|
if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -68194,6 +68264,8 @@ __name(_defineProperties$1, "_defineProperties$1");
|
|
|
68194
68264
|
function _createClass$1(Constructor, protoProps, staticProps) {
|
|
68195
68265
|
if (protoProps)
|
|
68196
68266
|
_defineProperties$1(Constructor.prototype, protoProps);
|
|
68267
|
+
if (staticProps)
|
|
68268
|
+
_defineProperties$1(Constructor, staticProps);
|
|
68197
68269
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
68198
68270
|
return Constructor;
|
|
68199
68271
|
}
|
|
@@ -68675,7 +68747,7 @@ _defineProperty$3(DraggableCore$1, "defaultProps", {
|
|
|
68675
68747
|
}
|
|
68676
68748
|
__name(_getRequireWildcardCache2, "_getRequireWildcardCache");
|
|
68677
68749
|
function _interopRequireWildcard2(obj, nodeInterop) {
|
|
68678
|
-
if (obj && obj.__esModule) {
|
|
68750
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
68679
68751
|
return obj;
|
|
68680
68752
|
}
|
|
68681
68753
|
if (obj === null || _typeof4(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -69457,7 +69529,7 @@ ObjectWithoutPrototypeCache.prototype.set = function(key, value) {
|
|
|
69457
69529
|
this.cache[key] = value;
|
|
69458
69530
|
};
|
|
69459
69531
|
var cacheDefault = {
|
|
69460
|
-
create: /* @__PURE__ */ __name(function
|
|
69532
|
+
create: /* @__PURE__ */ __name(function create4() {
|
|
69461
69533
|
return new ObjectWithoutPrototypeCache();
|
|
69462
69534
|
}, "create")
|
|
69463
69535
|
};
|
|
@@ -70789,7 +70861,7 @@ function MenuItemLink({ text: text2, onClick, icon, navTo, active: active3 }) {
|
|
|
70789
70861
|
e2.target.closest(`.${core$5.Classes.POPOVER_DISMISS}`).click();
|
|
70790
70862
|
}, "handleLinkClick");
|
|
70791
70863
|
return /* @__PURE__ */ React$2.createElement("li", { className: core$5.Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React$2.createElement(
|
|
70792
|
-
Link,
|
|
70864
|
+
Link$1,
|
|
70793
70865
|
{
|
|
70794
70866
|
onClick: handleLinkClick,
|
|
70795
70867
|
to: navTo,
|
|
@@ -70813,15 +70885,15 @@ const EnhancedMenuItem = compose(
|
|
|
70813
70885
|
willUnmount({ className });
|
|
70814
70886
|
}
|
|
70815
70887
|
}),
|
|
70816
|
-
branch(({ navTo }) => navTo, withRouter)
|
|
70817
|
-
)(function(
|
|
70818
|
-
var
|
|
70888
|
+
branch(({ navTo }) => navTo, withRouter$1)
|
|
70889
|
+
)(function(_q) {
|
|
70890
|
+
var _r = _q, {
|
|
70819
70891
|
navTo,
|
|
70820
70892
|
context,
|
|
70821
70893
|
staticContext,
|
|
70822
70894
|
didMount,
|
|
70823
70895
|
willUnmount
|
|
70824
|
-
} =
|
|
70896
|
+
} = _r, props = __objRest(_r, [
|
|
70825
70897
|
"navTo",
|
|
70826
70898
|
"context",
|
|
70827
70899
|
"staticContext",
|
|
@@ -71015,7 +71087,7 @@ function doesSearchValMatchText(searchVal, justText) {
|
|
|
71015
71087
|
);
|
|
71016
71088
|
}
|
|
71017
71089
|
__name(doesSearchValMatchText, "doesSearchValMatchText");
|
|
71018
|
-
let MenuBar$1 = (
|
|
71090
|
+
let MenuBar$1 = (_s = class extends React$2.Component {
|
|
71019
71091
|
constructor(props) {
|
|
71020
71092
|
super(props);
|
|
71021
71093
|
__publicField(this, "state", {
|
|
@@ -71260,10 +71332,10 @@ let MenuBar$1 = (_q = class extends React$2.Component {
|
|
|
71260
71332
|
);
|
|
71261
71333
|
}), extraContent);
|
|
71262
71334
|
}
|
|
71263
|
-
}, __name(
|
|
71335
|
+
}, __name(_s, "MenuBar"), __publicField(_s, "defaultProps", {
|
|
71264
71336
|
className: "",
|
|
71265
71337
|
style: {}
|
|
71266
|
-
}),
|
|
71338
|
+
}), _s);
|
|
71267
71339
|
const isDivider = /* @__PURE__ */ __name((item) => item.divider !== void 0, "isDivider");
|
|
71268
71340
|
function getAllMenuTextsAndHandlers(menu, enhancers, context, path2 = []) {
|
|
71269
71341
|
if (!menu)
|
|
@@ -71411,7 +71483,7 @@ function HotkeysDialog(props) {
|
|
|
71411
71483
|
);
|
|
71412
71484
|
}
|
|
71413
71485
|
__name(HotkeysDialog, "HotkeysDialog");
|
|
71414
|
-
let FillWindow$1 = (
|
|
71486
|
+
let FillWindow$1 = (_t = class extends React$2.Component {
|
|
71415
71487
|
constructor(props) {
|
|
71416
71488
|
super(props);
|
|
71417
71489
|
rerenderOnWindowResize(this);
|
|
@@ -71459,7 +71531,7 @@ let FillWindow$1 = (_r = class extends React$2.Component {
|
|
|
71459
71531
|
return ReactDOM$1.createPortal(inner2, window.document.body);
|
|
71460
71532
|
return inner2;
|
|
71461
71533
|
}
|
|
71462
|
-
}, __name(
|
|
71534
|
+
}, __name(_t, "FillWindow"), _t);
|
|
71463
71535
|
var relativeTime$1 = { exports: {} };
|
|
71464
71536
|
(function(module2, exports2) {
|
|
71465
71537
|
!function(r2, e2) {
|
|
@@ -71507,16 +71579,6 @@ var relativeTime$1 = { exports: {} };
|
|
|
71507
71579
|
var relativeTimeExports = relativeTime$1.exports;
|
|
71508
71580
|
const relativeTime = /* @__PURE__ */ getDefaultExportFromCjs(relativeTimeExports);
|
|
71509
71581
|
dayjs.extend(relativeTime);
|
|
71510
|
-
const _Timeline = class _Timeline extends React$2.Component {
|
|
71511
|
-
render() {
|
|
71512
|
-
return /* @__PURE__ */ React$2.createElement("div", { className: "tg-timeline" }, this.props.children.length > 1 && /* @__PURE__ */ React$2.createElement("div", { className: "tg-timeline-line" }), this.props.children);
|
|
71513
|
-
}
|
|
71514
|
-
};
|
|
71515
|
-
__name(_Timeline, "Timeline");
|
|
71516
|
-
__publicField(_Timeline, "propTypes", {
|
|
71517
|
-
children: PropTypes.arrayOf(PropTypes.element)
|
|
71518
|
-
});
|
|
71519
|
-
let Timeline = _Timeline;
|
|
71520
71582
|
const ptIconWrapper = /* @__PURE__ */ __name((path2, viewboxDefault = 24, rest) => {
|
|
71521
71583
|
return /* @__PURE__ */ React$2.createElement("span", { className: "bp3-icon" }, /* @__PURE__ */ React$2.createElement(
|
|
71522
71584
|
"svg",
|
|
@@ -73207,7 +73269,7 @@ function trimRangeByAnotherRange(rangeToBeTrimmed, trimmingRange, sequenceLength
|
|
|
73207
73269
|
}
|
|
73208
73270
|
}
|
|
73209
73271
|
if (outputTrimmedRange) {
|
|
73210
|
-
return
|
|
73272
|
+
return extend$2({}, rangeToBeTrimmed, {
|
|
73211
73273
|
start: outputTrimmedRange.start,
|
|
73212
73274
|
end: outputTrimmedRange.end
|
|
73213
73275
|
});
|
|
@@ -73792,6 +73854,8 @@ function getYOffsetForPotentiallyCircularRange(range2, YOffsetLevelsWithRanges,
|
|
|
73792
73854
|
);
|
|
73793
73855
|
if (!rangeBlocked) {
|
|
73794
73856
|
yOffset = index2;
|
|
73857
|
+
if (assignYOffsetToRange)
|
|
73858
|
+
range2.yOffset = index2;
|
|
73795
73859
|
rangesAlreadyAddedToYOffset.push(range2);
|
|
73796
73860
|
return true;
|
|
73797
73861
|
}
|
|
@@ -73800,6 +73864,8 @@ function getYOffsetForPotentiallyCircularRange(range2, YOffsetLevelsWithRanges,
|
|
|
73800
73864
|
);
|
|
73801
73865
|
if (!openYOffsetFound) {
|
|
73802
73866
|
yOffset = YOffsetLevelsWithRanges.length;
|
|
73867
|
+
if (assignYOffsetToRange)
|
|
73868
|
+
range2.yOffset = YOffsetLevelsWithRanges.length;
|
|
73803
73869
|
}
|
|
73804
73870
|
return yOffset;
|
|
73805
73871
|
}
|
|
@@ -74569,7 +74635,7 @@ __name(requireEmpty, "requireEmpty");
|
|
|
74569
74635
|
}
|
|
74570
74636
|
}, "classCallCheck");
|
|
74571
74637
|
var createClass2 = /* @__PURE__ */ function() {
|
|
74572
|
-
function
|
|
74638
|
+
function defineProperties4(target, props) {
|
|
74573
74639
|
for (var i = 0; i < props.length; i++) {
|
|
74574
74640
|
var descriptor2 = props[i];
|
|
74575
74641
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -74579,12 +74645,12 @@ __name(requireEmpty, "requireEmpty");
|
|
|
74579
74645
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
74580
74646
|
}
|
|
74581
74647
|
}
|
|
74582
|
-
__name(
|
|
74648
|
+
__name(defineProperties4, "defineProperties");
|
|
74583
74649
|
return function(Constructor, protoProps, staticProps) {
|
|
74584
74650
|
if (protoProps)
|
|
74585
|
-
|
|
74651
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
74586
74652
|
if (staticProps)
|
|
74587
|
-
|
|
74653
|
+
defineProperties4(Constructor, staticProps);
|
|
74588
74654
|
return Constructor;
|
|
74589
74655
|
};
|
|
74590
74656
|
}();
|
|
@@ -78399,10 +78465,10 @@ __name(requireEmpty, "requireEmpty");
|
|
|
78399
78465
|
return value;
|
|
78400
78466
|
}
|
|
78401
78467
|
__name(dateReviver, "dateReviver");
|
|
78402
|
-
function
|
|
78468
|
+
function create6(options) {
|
|
78403
78469
|
return new DiffPatcher(options);
|
|
78404
78470
|
}
|
|
78405
|
-
__name(
|
|
78471
|
+
__name(create6, "create");
|
|
78406
78472
|
var defaultInstance$4 = void 0;
|
|
78407
78473
|
function diff() {
|
|
78408
78474
|
if (!defaultInstance$4) {
|
|
@@ -78442,7 +78508,7 @@ __name(requireEmpty, "requireEmpty");
|
|
|
78442
78508
|
exports3.DiffPatcher = DiffPatcher;
|
|
78443
78509
|
exports3.formatters = index2;
|
|
78444
78510
|
exports3.console = console$1;
|
|
78445
|
-
exports3.create =
|
|
78511
|
+
exports3.create = create6;
|
|
78446
78512
|
exports3.dateReviver = dateReviver;
|
|
78447
78513
|
exports3.diff = diff;
|
|
78448
78514
|
exports3.patch = patch2;
|
|
@@ -87911,7 +87977,7 @@ function getSequenceDataBetweenRange(seqData, range2, options = {}) {
|
|
|
87911
87977
|
annotationTypes.forEach((type2) => {
|
|
87912
87978
|
delete seqDataToUse[`filtered${startCase(type2)}`];
|
|
87913
87979
|
});
|
|
87914
|
-
const seqDataToReturn =
|
|
87980
|
+
const seqDataToReturn = extend$2(
|
|
87915
87981
|
{},
|
|
87916
87982
|
seqDataToUse,
|
|
87917
87983
|
{
|
|
@@ -87979,7 +88045,7 @@ function getAnnotationsBetweenRange(annotationsToBeAdjusted, range2, maxLength,
|
|
|
87979
88045
|
}
|
|
87980
88046
|
const overlaps = getZeroedRangeOverlaps(annotation, range2, maxLength).map(
|
|
87981
88047
|
(overlap) => {
|
|
87982
|
-
return
|
|
88048
|
+
return extend$2({}, annotation, overlap);
|
|
87983
88049
|
}
|
|
87984
88050
|
);
|
|
87985
88051
|
if (shouldExcludePartial) {
|
|
@@ -90342,7 +90408,7 @@ const util$1 = util$4;
|
|
|
90342
90408
|
const xmlNode = xmlNode$1;
|
|
90343
90409
|
const readDocType = DocTypeReader;
|
|
90344
90410
|
const toNumber = strnum;
|
|
90345
|
-
let OrderedObjParser$1 = (
|
|
90411
|
+
let OrderedObjParser$1 = (_u = class {
|
|
90346
90412
|
constructor(options) {
|
|
90347
90413
|
this.options = options;
|
|
90348
90414
|
this.currentNode = null;
|
|
@@ -90381,7 +90447,7 @@ let OrderedObjParser$1 = (_s = class {
|
|
|
90381
90447
|
this.saveTextToParentTag = saveTextToParentTag;
|
|
90382
90448
|
this.addChild = addChild;
|
|
90383
90449
|
}
|
|
90384
|
-
}, __name(
|
|
90450
|
+
}, __name(_u, "OrderedObjParser"), _u);
|
|
90385
90451
|
function addExternalEntities(externalEntities) {
|
|
90386
90452
|
const entKeys = Object.keys(externalEntities);
|
|
90387
90453
|
for (let i = 0; i < entKeys.length; i++) {
|
|
@@ -90937,7 +91003,7 @@ const { buildOptions } = OptionsBuilder;
|
|
|
90937
91003
|
const OrderedObjParser = OrderedObjParser_1;
|
|
90938
91004
|
const { prettify } = node2json;
|
|
90939
91005
|
const validator$1 = validator$2;
|
|
90940
|
-
let XMLParser$1 = (
|
|
91006
|
+
let XMLParser$1 = (_v = class {
|
|
90941
91007
|
constructor(options) {
|
|
90942
91008
|
this.externalEntities = {};
|
|
90943
91009
|
this.options = buildOptions(options);
|
|
@@ -90987,7 +91053,7 @@ let XMLParser$1 = (_t = class {
|
|
|
90987
91053
|
this.externalEntities[key] = value;
|
|
90988
91054
|
}
|
|
90989
91055
|
}
|
|
90990
|
-
}, __name(
|
|
91056
|
+
}, __name(_v, "XMLParser"), _v);
|
|
90991
91057
|
var XMLParser_1 = XMLParser$1;
|
|
90992
91058
|
const EOL = "\n";
|
|
90993
91059
|
function toXml(jArray, options) {
|
|
@@ -95366,12 +95432,14 @@ var buffer$2 = {};
|
|
|
95366
95432
|
if (value > max2 || value < min2) {
|
|
95367
95433
|
const n2 = typeof min2 === "bigint" ? "n" : "";
|
|
95368
95434
|
let range2;
|
|
95369
|
-
{
|
|
95435
|
+
if (byteLength3 > 3) {
|
|
95370
95436
|
if (min2 === 0 || min2 === BigInt(0)) {
|
|
95371
95437
|
range2 = `>= 0${n2} and < 2${n2} ** ${(byteLength3 + 1) * 8}${n2}`;
|
|
95372
95438
|
} else {
|
|
95373
95439
|
range2 = `>= -(2${n2} ** ${(byteLength3 + 1) * 8 - 1}${n2}) and < 2 ** ${(byteLength3 + 1) * 8 - 1}${n2}`;
|
|
95374
95440
|
}
|
|
95441
|
+
} else {
|
|
95442
|
+
range2 = `>= ${min2}${n2} and <= ${max2}${n2}`;
|
|
95375
95443
|
}
|
|
95376
95444
|
throw new errors.ERR_OUT_OF_RANGE("value", range2, value);
|
|
95377
95445
|
}
|
|
@@ -95387,14 +95455,14 @@ var buffer$2 = {};
|
|
|
95387
95455
|
function boundsError(value, length, type2) {
|
|
95388
95456
|
if (Math.floor(value) !== value) {
|
|
95389
95457
|
validateNumber(value, type2);
|
|
95390
|
-
throw new errors.ERR_OUT_OF_RANGE("offset", "an integer", value);
|
|
95458
|
+
throw new errors.ERR_OUT_OF_RANGE(type2 || "offset", "an integer", value);
|
|
95391
95459
|
}
|
|
95392
95460
|
if (length < 0) {
|
|
95393
95461
|
throw new errors.ERR_BUFFER_OUT_OF_BOUNDS();
|
|
95394
95462
|
}
|
|
95395
95463
|
throw new errors.ERR_OUT_OF_RANGE(
|
|
95396
|
-
"offset",
|
|
95397
|
-
`>= ${0} and <= ${length}`,
|
|
95464
|
+
type2 || "offset",
|
|
95465
|
+
`>= ${type2 ? 1 : 0} and <= ${length}`,
|
|
95398
95466
|
value
|
|
95399
95467
|
);
|
|
95400
95468
|
}
|
|
@@ -95999,6 +96067,8 @@ function requireBuffer_list() {
|
|
|
95999
96067
|
function _createClass2(Constructor, protoProps, staticProps) {
|
|
96000
96068
|
if (protoProps)
|
|
96001
96069
|
_defineProperties2(Constructor.prototype, protoProps);
|
|
96070
|
+
if (staticProps)
|
|
96071
|
+
_defineProperties2(Constructor, staticProps);
|
|
96002
96072
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
96003
96073
|
return Constructor;
|
|
96004
96074
|
}
|
|
@@ -96368,7 +96438,7 @@ function requireErrorsBrowser() {
|
|
|
96368
96438
|
}
|
|
96369
96439
|
__name(oneOf, "oneOf");
|
|
96370
96440
|
function startsWith2(str, search2, pos) {
|
|
96371
|
-
return str.substr(0, search2.length) === search2;
|
|
96441
|
+
return str.substr(!pos || pos < 0 ? 0 : +pos, search2.length) === search2;
|
|
96372
96442
|
}
|
|
96373
96443
|
__name(startsWith2, "startsWith");
|
|
96374
96444
|
function endsWith2(str, search2, this_len) {
|
|
@@ -99883,10 +99953,16 @@ function unzipSync(data, opts2) {
|
|
|
99883
99953
|
o2 = b4(data, ze + 48);
|
|
99884
99954
|
}
|
|
99885
99955
|
}
|
|
99956
|
+
var fltr = opts2 && opts2.filter;
|
|
99886
99957
|
for (var i = 0; i < c2; ++i) {
|
|
99887
99958
|
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);
|
|
99888
99959
|
o2 = no;
|
|
99889
|
-
{
|
|
99960
|
+
if (!fltr || fltr({
|
|
99961
|
+
name: fn4,
|
|
99962
|
+
size: sc,
|
|
99963
|
+
originalSize: su,
|
|
99964
|
+
compression: c_2
|
|
99965
|
+
})) {
|
|
99890
99966
|
if (!c_2)
|
|
99891
99967
|
files[fn4] = slc(data, b3, b3 + sc);
|
|
99892
99968
|
else if (c_2 == 8)
|
|
@@ -102087,7 +102163,7 @@ const reducer$1 = createReducer(
|
|
|
102087
102163
|
return payload.filter((group) => group.length);
|
|
102088
102164
|
},
|
|
102089
102165
|
[flipActiveTabFromLinearOrCircularIfNecessary]: (state2, setCircActive) => {
|
|
102090
|
-
const newState =
|
|
102166
|
+
const newState = immer(state2, (s2) => {
|
|
102091
102167
|
s2.forEach((g2) => {
|
|
102092
102168
|
flipActiveForGroup(g2, setCircActive);
|
|
102093
102169
|
});
|
|
@@ -102862,7 +102938,7 @@ var defineProperty$2 = /* @__PURE__ */ __name(function(object3, name2, value, pr
|
|
|
102862
102938
|
defineDataProperty2(object3, name2, value);
|
|
102863
102939
|
}
|
|
102864
102940
|
}, "defineProperty$2");
|
|
102865
|
-
var
|
|
102941
|
+
var defineProperties3 = /* @__PURE__ */ __name(function(object3, map3) {
|
|
102866
102942
|
var predicates = arguments.length > 2 ? arguments[2] : {};
|
|
102867
102943
|
var props = keys$1(map3);
|
|
102868
102944
|
if (hasSymbols2) {
|
|
@@ -102872,8 +102948,8 @@ var defineProperties2 = /* @__PURE__ */ __name(function(object3, map3) {
|
|
|
102872
102948
|
defineProperty$2(object3, props[i], map3[props[i]], predicates[props[i]]);
|
|
102873
102949
|
}
|
|
102874
102950
|
}, "defineProperties");
|
|
102875
|
-
|
|
102876
|
-
var defineProperties_1 =
|
|
102951
|
+
defineProperties3.supportsDescriptors = !!supportsDescriptors$2;
|
|
102952
|
+
var defineProperties_1 = defineProperties3;
|
|
102877
102953
|
var numberIsNaN = /* @__PURE__ */ __name(function(value) {
|
|
102878
102954
|
return value !== value;
|
|
102879
102955
|
}, "numberIsNaN");
|
|
@@ -103758,6 +103834,7 @@ function createThunkMiddleware(extraArgument) {
|
|
|
103758
103834
|
__name(createThunkMiddleware, "createThunkMiddleware");
|
|
103759
103835
|
var thunk = createThunkMiddleware();
|
|
103760
103836
|
thunk.withExtraArgument = createThunkMiddleware;
|
|
103837
|
+
const thunk$1 = thunk;
|
|
103761
103838
|
const makeStore = /* @__PURE__ */ __name(() => {
|
|
103762
103839
|
const composeEnhancer = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
|
|
103763
103840
|
name: "createVectorEditor",
|
|
@@ -103775,7 +103852,7 @@ const makeStore = /* @__PURE__ */ __name(() => {
|
|
|
103775
103852
|
}),
|
|
103776
103853
|
void 0,
|
|
103777
103854
|
composeEnhancer(
|
|
103778
|
-
redux.applyMiddleware(thunk, vectorEditorMiddleware)
|
|
103855
|
+
redux.applyMiddleware(thunk$1, vectorEditorMiddleware)
|
|
103779
103856
|
//your store should be redux-thunk connected for the VectorEditor component to work
|
|
103780
103857
|
)
|
|
103781
103858
|
);
|
|
@@ -106877,7 +106954,7 @@ var parse$1 = /* @__PURE__ */ __name(function parse2(raw2) {
|
|
|
106877
106954
|
return 0;
|
|
106878
106955
|
}
|
|
106879
106956
|
var result = Number(value);
|
|
106880
|
-
!!isNaN(result) ? invariant$2() : void 0;
|
|
106957
|
+
!!isNaN(result) ? invariant$2(false) : void 0;
|
|
106881
106958
|
return result;
|
|
106882
106959
|
}, "parse2");
|
|
106883
106960
|
var getWindowScroll$1 = /* @__PURE__ */ __name(function getWindowScroll2() {
|
|
@@ -107050,6 +107127,9 @@ RbdInvariant.prototype.toString = /* @__PURE__ */ __name(function toString3() {
|
|
|
107050
107127
|
return this.message;
|
|
107051
107128
|
}, "toString");
|
|
107052
107129
|
function invariant$1(condition, message) {
|
|
107130
|
+
if (condition) {
|
|
107131
|
+
return;
|
|
107132
|
+
}
|
|
107053
107133
|
{
|
|
107054
107134
|
throw new RbdInvariant(prefix$1);
|
|
107055
107135
|
}
|
|
@@ -107302,7 +107382,7 @@ var getSubject = /* @__PURE__ */ __name((_ref) => {
|
|
|
107302
107382
|
};
|
|
107303
107383
|
}, "getSubject");
|
|
107304
107384
|
var scrollDroppable = /* @__PURE__ */ __name((droppable2, newScroll) => {
|
|
107305
|
-
!droppable2.frame ? invariant$1() : void 0;
|
|
107385
|
+
!droppable2.frame ? invariant$1(false) : void 0;
|
|
107306
107386
|
const scrollable = droppable2.frame;
|
|
107307
107387
|
const scrollDiff = subtract(newScroll, scrollable.scroll.initial);
|
|
107308
107388
|
const scrollDisplacement = negate(scrollDiff);
|
|
@@ -107400,7 +107480,7 @@ var moveToNextCombine = /* @__PURE__ */ __name((_ref) => {
|
|
|
107400
107480
|
return getImpact(last2.descriptor.id);
|
|
107401
107481
|
}
|
|
107402
107482
|
const indexOfClosest = withoutDraggable.findIndex((d2) => d2.descriptor.id === closestId);
|
|
107403
|
-
!(indexOfClosest !== -1) ? invariant$1() : void 0;
|
|
107483
|
+
!(indexOfClosest !== -1) ? invariant$1(false) : void 0;
|
|
107404
107484
|
const proposedIndex = indexOfClosest - 1;
|
|
107405
107485
|
if (proposedIndex < 0) {
|
|
107406
107486
|
return null;
|
|
@@ -107735,7 +107815,7 @@ var moveToNextIndex = /* @__PURE__ */ __name((_ref) => {
|
|
|
107735
107815
|
afterCritical
|
|
107736
107816
|
} = _ref;
|
|
107737
107817
|
const wasAt = previousImpact.at;
|
|
107738
|
-
!wasAt ? invariant$1() : void 0;
|
|
107818
|
+
!wasAt ? invariant$1(false) : void 0;
|
|
107739
107819
|
if (wasAt.type === "REORDER") {
|
|
107740
107820
|
const newIndex2 = fromReorder({
|
|
107741
107821
|
isMovingForward,
|
|
@@ -107797,7 +107877,7 @@ var whenCombining = /* @__PURE__ */ __name((_ref) => {
|
|
|
107797
107877
|
draggables
|
|
107798
107878
|
} = _ref;
|
|
107799
107879
|
const combine22 = tryGetCombine(impact);
|
|
107800
|
-
!combine22 ? invariant$1() : void 0;
|
|
107880
|
+
!combine22 ? invariant$1(false) : void 0;
|
|
107801
107881
|
const combineWith = combine22.draggableId;
|
|
107802
107882
|
const center = draggables[combineWith].page.borderBox.center;
|
|
107803
107883
|
const displaceBy = getCombinedItemDisplacement({
|
|
@@ -108142,7 +108222,7 @@ var moveToNextPlace = /* @__PURE__ */ __name((_ref) => {
|
|
|
108142
108222
|
}, "moveToNextPlace");
|
|
108143
108223
|
const getKnownActive = /* @__PURE__ */ __name((droppable2) => {
|
|
108144
108224
|
const rect = droppable2.subject.active;
|
|
108145
|
-
!rect ? invariant$1() : void 0;
|
|
108225
|
+
!rect ? invariant$1(false) : void 0;
|
|
108146
108226
|
return rect;
|
|
108147
108227
|
}, "getKnownActive");
|
|
108148
108228
|
var getBestCrossAxisDroppable = /* @__PURE__ */ __name((_ref) => {
|
|
@@ -108265,8 +108345,8 @@ const withMaxScroll = /* @__PURE__ */ __name((frame, max2) => __spreadProps(__sp
|
|
|
108265
108345
|
}), "withMaxScroll");
|
|
108266
108346
|
const addPlaceholder = /* @__PURE__ */ __name((droppable2, draggable2, draggables) => {
|
|
108267
108347
|
const frame = droppable2.frame;
|
|
108268
|
-
!!isHomeOf(draggable2, droppable2) ? invariant$1() : void 0;
|
|
108269
|
-
!!droppable2.subject.withPlaceholder ? invariant$1() : void 0;
|
|
108348
|
+
!!isHomeOf(draggable2, droppable2) ? invariant$1(false) : void 0;
|
|
108349
|
+
!!droppable2.subject.withPlaceholder ? invariant$1(false) : void 0;
|
|
108270
108350
|
const placeholderSize = getDisplacedBy(droppable2.axis, draggable2.displaceBy).point;
|
|
108271
108351
|
const requiredGrowth = getRequiredGrowthForPlaceholder(droppable2, placeholderSize, draggables);
|
|
108272
108352
|
const added = {
|
|
@@ -108300,7 +108380,7 @@ const addPlaceholder = /* @__PURE__ */ __name((droppable2, draggable2, draggable
|
|
|
108300
108380
|
}, "addPlaceholder");
|
|
108301
108381
|
const removePlaceholder = /* @__PURE__ */ __name((droppable2) => {
|
|
108302
108382
|
const added = droppable2.subject.withPlaceholder;
|
|
108303
|
-
!added ? invariant$1() : void 0;
|
|
108383
|
+
!added ? invariant$1(false) : void 0;
|
|
108304
108384
|
const frame = droppable2.frame;
|
|
108305
108385
|
if (!frame) {
|
|
108306
108386
|
const subject2 = getSubject({
|
|
@@ -108314,7 +108394,7 @@ const removePlaceholder = /* @__PURE__ */ __name((droppable2) => {
|
|
|
108314
108394
|
});
|
|
108315
108395
|
}
|
|
108316
108396
|
const oldMaxScroll = added.oldFrameMaxScroll;
|
|
108317
|
-
!oldMaxScroll ? invariant$1() : void 0;
|
|
108397
|
+
!oldMaxScroll ? invariant$1(false) : void 0;
|
|
108318
108398
|
const newFrame = withMaxScroll(frame, oldMaxScroll);
|
|
108319
108399
|
const subject = getSubject({
|
|
108320
108400
|
page: droppable2.subject.page,
|
|
@@ -108945,7 +109025,7 @@ var refreshSnap = /* @__PURE__ */ __name((_ref) => {
|
|
|
108945
109025
|
dimensions: forcedDimensions,
|
|
108946
109026
|
viewport: forcedViewport
|
|
108947
109027
|
} = _ref;
|
|
108948
|
-
!(state2.movementMode === "SNAP") ? invariant$1() : void 0;
|
|
109028
|
+
!(state2.movementMode === "SNAP") ? invariant$1(false) : void 0;
|
|
108949
109029
|
const needsVisibilityCheck = state2.impact;
|
|
108950
109030
|
const viewport2 = forcedViewport || state2.viewport;
|
|
108951
109031
|
const dimensions = forcedDimensions || state2.dimensions;
|
|
@@ -108955,7 +109035,7 @@ var refreshSnap = /* @__PURE__ */ __name((_ref) => {
|
|
|
108955
109035
|
} = dimensions;
|
|
108956
109036
|
const draggable2 = draggables[state2.critical.draggable.id];
|
|
108957
109037
|
const isOver = whatIsDraggedOver(needsVisibilityCheck);
|
|
108958
|
-
!isOver ? invariant$1() : void 0;
|
|
109038
|
+
!isOver ? invariant$1(false) : void 0;
|
|
108959
109039
|
const destination = droppables[isOver];
|
|
108960
109040
|
const impact = recompute({
|
|
108961
109041
|
impact: needsVisibilityCheck,
|
|
@@ -108993,7 +109073,7 @@ var getLiftEffect = /* @__PURE__ */ __name((_ref) => {
|
|
|
108993
109073
|
const displacedBy = getDisplacedBy(home2.axis, draggable2.displaceBy);
|
|
108994
109074
|
const insideHome = getDraggablesInsideDroppable(home2.descriptor.id, draggables);
|
|
108995
109075
|
const rawIndex = insideHome.indexOf(draggable2);
|
|
108996
|
-
!(rawIndex !== -1) ? invariant$1() : void 0;
|
|
109076
|
+
!(rawIndex !== -1) ? invariant$1(false) : void 0;
|
|
108997
109077
|
const afterDragging = insideHome.slice(rawIndex + 1);
|
|
108998
109078
|
const effected = afterDragging.reduce((previous2, item) => {
|
|
108999
109079
|
previous2[item.descriptor.id] = true;
|
|
@@ -109048,7 +109128,7 @@ var offsetDraggable = /* @__PURE__ */ __name((_ref) => {
|
|
|
109048
109128
|
}, "offsetDraggable");
|
|
109049
109129
|
var getFrame = /* @__PURE__ */ __name((droppable2) => {
|
|
109050
109130
|
const frame = droppable2.frame;
|
|
109051
|
-
!frame ? invariant$1() : void 0;
|
|
109131
|
+
!frame ? invariant$1(false) : void 0;
|
|
109052
109132
|
return frame;
|
|
109053
109133
|
}, "getFrame");
|
|
109054
109134
|
var adjustAdditionsForScrollChanges = /* @__PURE__ */ __name((_ref) => {
|
|
@@ -109175,7 +109255,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109175
109255
|
});
|
|
109176
109256
|
}
|
|
109177
109257
|
if (action2.type === "INITIAL_PUBLISH") {
|
|
109178
|
-
!(state2.phase === "IDLE") ? invariant$1() : void 0;
|
|
109258
|
+
!(state2.phase === "IDLE") ? invariant$1(false) : void 0;
|
|
109179
109259
|
const {
|
|
109180
109260
|
critical,
|
|
109181
109261
|
clientSelection,
|
|
@@ -109230,14 +109310,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109230
109310
|
if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
|
|
109231
109311
|
return state2;
|
|
109232
109312
|
}
|
|
109233
|
-
!(state2.phase === "DRAGGING") ? invariant$1() : void 0;
|
|
109313
|
+
!(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
|
|
109234
109314
|
const result = __spreadProps(__spreadValues({}, state2), {
|
|
109235
109315
|
phase: "COLLECTING"
|
|
109236
109316
|
});
|
|
109237
109317
|
return result;
|
|
109238
109318
|
}
|
|
109239
109319
|
if (action2.type === "PUBLISH_WHILE_DRAGGING") {
|
|
109240
|
-
!(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
|
|
109320
|
+
!(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
|
|
109241
109321
|
return publishWhileDraggingInVirtual({
|
|
109242
109322
|
state: state2,
|
|
109243
109323
|
published: action2.payload
|
|
@@ -109247,7 +109327,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109247
109327
|
if (state2.phase === "DROP_PENDING") {
|
|
109248
109328
|
return state2;
|
|
109249
109329
|
}
|
|
109250
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109330
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109251
109331
|
const {
|
|
109252
109332
|
client: clientSelection
|
|
109253
109333
|
} = action2.payload;
|
|
@@ -109267,7 +109347,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109267
109347
|
if (state2.phase === "COLLECTING") {
|
|
109268
109348
|
return removeScrollJumpRequest(state2);
|
|
109269
109349
|
}
|
|
109270
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109350
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109271
109351
|
const {
|
|
109272
109352
|
id: id2,
|
|
109273
109353
|
newScroll
|
|
@@ -109283,14 +109363,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109283
109363
|
if (state2.phase === "DROP_PENDING") {
|
|
109284
109364
|
return state2;
|
|
109285
109365
|
}
|
|
109286
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109366
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109287
109367
|
const {
|
|
109288
109368
|
id: id2,
|
|
109289
109369
|
isEnabled
|
|
109290
109370
|
} = action2.payload;
|
|
109291
109371
|
const target = state2.dimensions.droppables[id2];
|
|
109292
|
-
!target ? invariant$1() : void 0;
|
|
109293
|
-
!(target.isEnabled !== isEnabled) ? invariant$1() : void 0;
|
|
109372
|
+
!target ? invariant$1(false) : void 0;
|
|
109373
|
+
!(target.isEnabled !== isEnabled) ? invariant$1(false) : void 0;
|
|
109294
109374
|
const updated = __spreadProps(__spreadValues({}, target), {
|
|
109295
109375
|
isEnabled
|
|
109296
109376
|
});
|
|
@@ -109300,14 +109380,14 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109300
109380
|
if (state2.phase === "DROP_PENDING") {
|
|
109301
109381
|
return state2;
|
|
109302
109382
|
}
|
|
109303
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109383
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109304
109384
|
const {
|
|
109305
109385
|
id: id2,
|
|
109306
109386
|
isCombineEnabled
|
|
109307
109387
|
} = action2.payload;
|
|
109308
109388
|
const target = state2.dimensions.droppables[id2];
|
|
109309
|
-
!target ? invariant$1() : void 0;
|
|
109310
|
-
!(target.isCombineEnabled !== isCombineEnabled) ? invariant$1() : void 0;
|
|
109389
|
+
!target ? invariant$1(false) : void 0;
|
|
109390
|
+
!(target.isCombineEnabled !== isCombineEnabled) ? invariant$1(false) : void 0;
|
|
109311
109391
|
const updated = __spreadProps(__spreadValues({}, target), {
|
|
109312
109392
|
isCombineEnabled
|
|
109313
109393
|
});
|
|
@@ -109317,8 +109397,8 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109317
109397
|
if (state2.phase === "DROP_PENDING" || state2.phase === "DROP_ANIMATING") {
|
|
109318
109398
|
return state2;
|
|
109319
109399
|
}
|
|
109320
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
109321
|
-
!state2.isWindowScrollAllowed ? invariant$1() : void 0;
|
|
109400
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
109401
|
+
!state2.isWindowScrollAllowed ? invariant$1(false) : void 0;
|
|
109322
109402
|
const newScroll = action2.payload.newScroll;
|
|
109323
109403
|
if (isEqual$1(state2.viewport.scroll.current, newScroll)) {
|
|
109324
109404
|
return removeScrollJumpRequest(state2);
|
|
@@ -109356,7 +109436,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109356
109436
|
if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
|
|
109357
109437
|
return state2;
|
|
109358
109438
|
}
|
|
109359
|
-
!(state2.phase === "DRAGGING") ? invariant$1() : void 0;
|
|
109439
|
+
!(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
|
|
109360
109440
|
const result = moveInDirection({
|
|
109361
109441
|
state: state2,
|
|
109362
109442
|
type: action2.type
|
|
@@ -109373,7 +109453,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109373
109453
|
}
|
|
109374
109454
|
if (action2.type === "DROP_PENDING") {
|
|
109375
109455
|
const reason = action2.payload.reason;
|
|
109376
|
-
!(state2.phase === "COLLECTING") ? invariant$1() : void 0;
|
|
109456
|
+
!(state2.phase === "COLLECTING") ? invariant$1(false) : void 0;
|
|
109377
109457
|
const newState = __spreadProps(__spreadValues({}, state2), {
|
|
109378
109458
|
phase: "DROP_PENDING",
|
|
109379
109459
|
isWaiting: true,
|
|
@@ -109387,7 +109467,7 @@ var reducer = /* @__PURE__ */ __name(function(state2, action2) {
|
|
|
109387
109467
|
dropDuration,
|
|
109388
109468
|
newHomeClientOffset
|
|
109389
109469
|
} = action2.payload;
|
|
109390
|
-
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
|
|
109470
|
+
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
|
|
109391
109471
|
const result = {
|
|
109392
109472
|
phase: "DROP_ANIMATING",
|
|
109393
109473
|
completed,
|
|
@@ -109514,7 +109594,7 @@ var lift = /* @__PURE__ */ __name((marshal) => (_ref) => {
|
|
|
109514
109594
|
completed: initial.completed
|
|
109515
109595
|
}));
|
|
109516
109596
|
}
|
|
109517
|
-
!(getState2().phase === "IDLE") ? invariant$1() : void 0;
|
|
109597
|
+
!(getState2().phase === "IDLE") ? invariant$1(false) : void 0;
|
|
109518
109598
|
dispatch(flush());
|
|
109519
109599
|
dispatch(beforeInitialCapture({
|
|
109520
109600
|
draggableId: id2,
|
|
@@ -109705,8 +109785,8 @@ const dropMiddleware = /* @__PURE__ */ __name((_ref) => {
|
|
|
109705
109785
|
return;
|
|
109706
109786
|
}
|
|
109707
109787
|
const isWaitingForDrop = state2.phase === "DROP_PENDING" && state2.isWaiting;
|
|
109708
|
-
!!isWaitingForDrop ? invariant$1() : void 0;
|
|
109709
|
-
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
|
|
109788
|
+
!!isWaitingForDrop ? invariant$1(false) : void 0;
|
|
109789
|
+
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
|
|
109710
109790
|
const critical = state2.critical;
|
|
109711
109791
|
const dimensions = state2.dimensions;
|
|
109712
109792
|
const draggable2 = dimensions.draggables[state2.critical.draggable.id];
|
|
@@ -109807,12 +109887,12 @@ function getScrollListener(_ref) {
|
|
|
109807
109887
|
}
|
|
109808
109888
|
__name(isActive2, "isActive2");
|
|
109809
109889
|
function start2() {
|
|
109810
|
-
!!isActive2() ? invariant$1() : void 0;
|
|
109890
|
+
!!isActive2() ? invariant$1(false) : void 0;
|
|
109811
109891
|
unbind2 = bindEvents(window, [binding]);
|
|
109812
109892
|
}
|
|
109813
109893
|
__name(start2, "start2");
|
|
109814
109894
|
function stop() {
|
|
109815
|
-
!isActive2() ? invariant$1() : void 0;
|
|
109895
|
+
!isActive2() ? invariant$1(false) : void 0;
|
|
109816
109896
|
scheduled.cancel();
|
|
109817
109897
|
unbind2();
|
|
109818
109898
|
unbind2 = noop$2;
|
|
@@ -109869,7 +109949,7 @@ var getAsyncMarshal = /* @__PURE__ */ __name(() => {
|
|
|
109869
109949
|
const entries2 = [];
|
|
109870
109950
|
const execute2 = /* @__PURE__ */ __name((timerId) => {
|
|
109871
109951
|
const index2 = entries2.findIndex((item) => item.timerId === timerId);
|
|
109872
|
-
!(index2 !== -1) ? invariant$1() : void 0;
|
|
109952
|
+
!(index2 !== -1) ? invariant$1(false) : void 0;
|
|
109873
109953
|
const [entry] = entries2.splice(index2, 1);
|
|
109874
109954
|
entry.callback();
|
|
109875
109955
|
}, "execute2");
|
|
@@ -109954,7 +110034,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
109954
110034
|
const asyncMarshal = getAsyncMarshal();
|
|
109955
110035
|
let dragging = null;
|
|
109956
110036
|
const beforeCapture = /* @__PURE__ */ __name((draggableId, mode) => {
|
|
109957
|
-
!!dragging ? invariant$1() : void 0;
|
|
110037
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
109958
110038
|
withTimings("onBeforeCapture", () => {
|
|
109959
110039
|
const fn4 = getResponders().onBeforeCapture;
|
|
109960
110040
|
if (fn4) {
|
|
@@ -109967,7 +110047,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
109967
110047
|
});
|
|
109968
110048
|
}, "beforeCapture");
|
|
109969
110049
|
const beforeStart = /* @__PURE__ */ __name((critical, mode) => {
|
|
109970
|
-
!!dragging ? invariant$1() : void 0;
|
|
110050
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
109971
110051
|
withTimings("onBeforeDragStart", () => {
|
|
109972
110052
|
const fn4 = getResponders().onBeforeDragStart;
|
|
109973
110053
|
if (fn4) {
|
|
@@ -109976,7 +110056,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
109976
110056
|
});
|
|
109977
110057
|
}, "beforeStart");
|
|
109978
110058
|
const start2 = /* @__PURE__ */ __name((critical, mode) => {
|
|
109979
|
-
!!dragging ? invariant$1() : void 0;
|
|
110059
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
109980
110060
|
const data = getDragStart(critical, mode);
|
|
109981
110061
|
dragging = {
|
|
109982
110062
|
mode,
|
|
@@ -109991,7 +110071,7 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
109991
110071
|
const update2 = /* @__PURE__ */ __name((critical, impact) => {
|
|
109992
110072
|
const location2 = tryGetDestination(impact);
|
|
109993
110073
|
const combine22 = tryGetCombine(impact);
|
|
109994
|
-
!dragging ? invariant$1() : void 0;
|
|
110074
|
+
!dragging ? invariant$1(false) : void 0;
|
|
109995
110075
|
const hasCriticalChanged = !isCriticalEqual(critical, dragging.lastCritical);
|
|
109996
110076
|
if (hasCriticalChanged) {
|
|
109997
110077
|
dragging.lastCritical = critical;
|
|
@@ -110016,11 +110096,11 @@ var getPublisher = /* @__PURE__ */ __name((getResponders, announce) => {
|
|
|
110016
110096
|
});
|
|
110017
110097
|
}, "update2");
|
|
110018
110098
|
const flush2 = /* @__PURE__ */ __name(() => {
|
|
110019
|
-
!dragging ? invariant$1() : void 0;
|
|
110099
|
+
!dragging ? invariant$1(false) : void 0;
|
|
110020
110100
|
asyncMarshal.flush();
|
|
110021
110101
|
}, "flush2");
|
|
110022
110102
|
const drop2 = /* @__PURE__ */ __name((result) => {
|
|
110023
|
-
!dragging ? invariant$1() : void 0;
|
|
110103
|
+
!dragging ? invariant$1(false) : void 0;
|
|
110024
110104
|
dragging = null;
|
|
110025
110105
|
withTimings("onDragEnd", () => execute(getResponders().onDragEnd, result, announce, preset$1.onDragEnd));
|
|
110026
110106
|
}, "drop2");
|
|
@@ -110083,7 +110163,7 @@ const dropAnimationFinishMiddleware = /* @__PURE__ */ __name((store2) => (next)
|
|
|
110083
110163
|
return;
|
|
110084
110164
|
}
|
|
110085
110165
|
const state2 = store2.getState();
|
|
110086
|
-
!(state2.phase === "DROP_ANIMATING") ? invariant$1() : void 0;
|
|
110166
|
+
!(state2.phase === "DROP_ANIMATING") ? invariant$1(false) : void 0;
|
|
110087
110167
|
store2.dispatch(completeDrop({
|
|
110088
110168
|
completed: state2.completed
|
|
110089
110169
|
}));
|
|
@@ -110177,7 +110257,7 @@ var autoScroll = /* @__PURE__ */ __name((autoScroller) => (store2) => (next) =>
|
|
|
110177
110257
|
if (action2.type === "INITIAL_PUBLISH") {
|
|
110178
110258
|
next(action2);
|
|
110179
110259
|
const state2 = store2.getState();
|
|
110180
|
-
!(state2.phase === "DRAGGING") ? invariant$1() : void 0;
|
|
110260
|
+
!(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
|
|
110181
110261
|
autoScroller.start(state2);
|
|
110182
110262
|
return;
|
|
110183
110263
|
}
|
|
@@ -110327,7 +110407,7 @@ var getMaxScroll = /* @__PURE__ */ __name((_ref) => {
|
|
|
110327
110407
|
}, "getMaxScroll");
|
|
110328
110408
|
var getDocumentElement = /* @__PURE__ */ __name(() => {
|
|
110329
110409
|
const doc = document.documentElement;
|
|
110330
|
-
!doc ? invariant$1() : void 0;
|
|
110410
|
+
!doc ? invariant$1(false) : void 0;
|
|
110331
110411
|
return doc;
|
|
110332
110412
|
}, "getDocumentElement");
|
|
110333
110413
|
var getMaxWindowScroll = /* @__PURE__ */ __name(() => {
|
|
@@ -110416,7 +110496,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110416
110496
|
registry
|
|
110417
110497
|
});
|
|
110418
110498
|
const updateDroppableIsEnabled2 = /* @__PURE__ */ __name((id2, isEnabled) => {
|
|
110419
|
-
!registry.droppable.exists(id2) ? invariant$1() : void 0;
|
|
110499
|
+
!registry.droppable.exists(id2) ? invariant$1(false) : void 0;
|
|
110420
110500
|
if (!collection) {
|
|
110421
110501
|
return;
|
|
110422
110502
|
}
|
|
@@ -110429,7 +110509,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110429
110509
|
if (!collection) {
|
|
110430
110510
|
return;
|
|
110431
110511
|
}
|
|
110432
|
-
!registry.droppable.exists(id2) ? invariant$1() : void 0;
|
|
110512
|
+
!registry.droppable.exists(id2) ? invariant$1(false) : void 0;
|
|
110433
110513
|
callbacks.updateDroppableIsCombineEnabled({
|
|
110434
110514
|
id: id2,
|
|
110435
110515
|
isCombineEnabled
|
|
@@ -110439,7 +110519,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110439
110519
|
if (!collection) {
|
|
110440
110520
|
return;
|
|
110441
110521
|
}
|
|
110442
|
-
!registry.droppable.exists(id2) ? invariant$1() : void 0;
|
|
110522
|
+
!registry.droppable.exists(id2) ? invariant$1(false) : void 0;
|
|
110443
110523
|
callbacks.updateDroppableScroll({
|
|
110444
110524
|
id: id2,
|
|
110445
110525
|
newScroll
|
|
@@ -110462,7 +110542,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110462
110542
|
collection = null;
|
|
110463
110543
|
}, "stopPublishing");
|
|
110464
110544
|
const subscriber = /* @__PURE__ */ __name((event) => {
|
|
110465
|
-
!collection ? invariant$1() : void 0;
|
|
110545
|
+
!collection ? invariant$1(false) : void 0;
|
|
110466
110546
|
const dragging = collection.critical.draggable;
|
|
110467
110547
|
if (event.type === "ADDITION") {
|
|
110468
110548
|
if (shouldPublishUpdate(registry, dragging, event.value)) {
|
|
@@ -110476,7 +110556,7 @@ var createDimensionMarshal = /* @__PURE__ */ __name((registry, callbacks) => {
|
|
|
110476
110556
|
}
|
|
110477
110557
|
}, "subscriber");
|
|
110478
110558
|
const startPublishing = /* @__PURE__ */ __name((request) => {
|
|
110479
|
-
!!collection ? invariant$1() : void 0;
|
|
110559
|
+
!!collection ? invariant$1(false) : void 0;
|
|
110480
110560
|
const entry = registry.draggable.getById(request.draggableId);
|
|
110481
110561
|
const home2 = registry.droppable.getById(entry.descriptor.droppableId);
|
|
110482
110562
|
const critical = {
|
|
@@ -110530,7 +110610,7 @@ const getScrollableDroppables = memoizeOne((droppables) => toDroppableList(dropp
|
|
|
110530
110610
|
}));
|
|
110531
110611
|
const getScrollableDroppableOver = /* @__PURE__ */ __name((target, droppables) => {
|
|
110532
110612
|
const maybe = getScrollableDroppables(droppables).find((droppable2) => {
|
|
110533
|
-
!droppable2.frame ? invariant$1() : void 0;
|
|
110613
|
+
!droppable2.frame ? invariant$1(false) : void 0;
|
|
110534
110614
|
return isPositionInFrame(droppable2.frame.pageMarginBox)(target);
|
|
110535
110615
|
}) || null;
|
|
110536
110616
|
return maybe;
|
|
@@ -110949,7 +111029,7 @@ var createFluidScroller = /* @__PURE__ */ __name((_ref) => {
|
|
|
110949
111029
|
const scheduleDroppableScroll = rafSchd(scrollDroppable2);
|
|
110950
111030
|
let dragging = null;
|
|
110951
111031
|
const tryScroll = /* @__PURE__ */ __name((state2) => {
|
|
110952
|
-
!dragging ? invariant$1() : void 0;
|
|
111032
|
+
!dragging ? invariant$1(false) : void 0;
|
|
110953
111033
|
const {
|
|
110954
111034
|
shouldUseTimeDampening,
|
|
110955
111035
|
dragStartTime
|
|
@@ -110964,7 +111044,7 @@ var createFluidScroller = /* @__PURE__ */ __name((_ref) => {
|
|
|
110964
111044
|
});
|
|
110965
111045
|
}, "tryScroll");
|
|
110966
111046
|
const start$1 = /* @__PURE__ */ __name((state2) => {
|
|
110967
|
-
!!dragging ? invariant$1() : void 0;
|
|
111047
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
110968
111048
|
const dragStartTime = Date.now();
|
|
110969
111049
|
let wasScrollNeeded = false;
|
|
110970
111050
|
const fakeScrollCallback = /* @__PURE__ */ __name(() => {
|
|
@@ -111049,7 +111129,7 @@ var createJumpScroller = /* @__PURE__ */ __name((_ref) => {
|
|
|
111049
111129
|
return;
|
|
111050
111130
|
}
|
|
111051
111131
|
const destination = whatIsDraggedOver(state2.impact);
|
|
111052
|
-
!destination ? invariant$1() : void 0;
|
|
111132
|
+
!destination ? invariant$1(false) : void 0;
|
|
111053
111133
|
const droppableRemainder = scrollDroppableAsMuchAsItCan(state2.dimensions.droppables[destination], request);
|
|
111054
111134
|
if (!droppableRemainder) {
|
|
111055
111135
|
return;
|
|
@@ -111205,7 +111285,7 @@ const useIsomorphicLayoutEffect = typeof window !== "undefined" && typeof window
|
|
|
111205
111285
|
var useLayoutEffect = useIsomorphicLayoutEffect;
|
|
111206
111286
|
const getHead = /* @__PURE__ */ __name(() => {
|
|
111207
111287
|
const head = document.querySelector("head");
|
|
111208
|
-
!head ? invariant$1() : void 0;
|
|
111288
|
+
!head ? invariant$1(false) : void 0;
|
|
111209
111289
|
return head;
|
|
111210
111290
|
}, "getHead");
|
|
111211
111291
|
const createStyleEl = /* @__PURE__ */ __name((nonce) => {
|
|
@@ -111223,18 +111303,18 @@ function useStyleMarshal(contextId, nonce) {
|
|
|
111223
111303
|
const setDynamicStyle = useCallback(
|
|
111224
111304
|
memoizeOne((proposed) => {
|
|
111225
111305
|
const el = dynamicRef.current;
|
|
111226
|
-
!el ? invariant$1() : void 0;
|
|
111306
|
+
!el ? invariant$1(false) : void 0;
|
|
111227
111307
|
el.textContent = proposed;
|
|
111228
111308
|
}),
|
|
111229
111309
|
[]
|
|
111230
111310
|
);
|
|
111231
111311
|
const setAlwaysStyle = useCallback((proposed) => {
|
|
111232
111312
|
const el = alwaysRef.current;
|
|
111233
|
-
!el ? invariant$1() : void 0;
|
|
111313
|
+
!el ? invariant$1(false) : void 0;
|
|
111234
111314
|
el.textContent = proposed;
|
|
111235
111315
|
}, []);
|
|
111236
111316
|
useLayoutEffect(() => {
|
|
111237
|
-
!(!alwaysRef.current && !dynamicRef.current) ? invariant$1() : void 0;
|
|
111317
|
+
!(!alwaysRef.current && !dynamicRef.current) ? invariant$1(false) : void 0;
|
|
111238
111318
|
const always = createStyleEl(nonce);
|
|
111239
111319
|
const dynamic = createStyleEl(nonce);
|
|
111240
111320
|
alwaysRef.current = always;
|
|
@@ -111248,7 +111328,7 @@ function useStyleMarshal(contextId, nonce) {
|
|
|
111248
111328
|
return () => {
|
|
111249
111329
|
const remove3 = /* @__PURE__ */ __name((ref2) => {
|
|
111250
111330
|
const current = ref2.current;
|
|
111251
|
-
!current ? invariant$1() : void 0;
|
|
111331
|
+
!current ? invariant$1(false) : void 0;
|
|
111252
111332
|
getHead().removeChild(current);
|
|
111253
111333
|
ref2.current = null;
|
|
111254
111334
|
}, "remove");
|
|
@@ -111412,7 +111492,7 @@ function createRegistry() {
|
|
|
111412
111492
|
__name(findDraggableById, "findDraggableById");
|
|
111413
111493
|
function getDraggableById(id2) {
|
|
111414
111494
|
const entry = findDraggableById(id2);
|
|
111415
|
-
!entry ? invariant$1() : void 0;
|
|
111495
|
+
!entry ? invariant$1(false) : void 0;
|
|
111416
111496
|
return entry;
|
|
111417
111497
|
}
|
|
111418
111498
|
__name(getDraggableById, "getDraggableById");
|
|
@@ -111463,7 +111543,7 @@ function createRegistry() {
|
|
|
111463
111543
|
__name(findDroppableById, "findDroppableById");
|
|
111464
111544
|
function getDroppableById(id2) {
|
|
111465
111545
|
const entry = findDroppableById(id2);
|
|
111466
|
-
!entry ? invariant$1() : void 0;
|
|
111546
|
+
!entry ? invariant$1(false) : void 0;
|
|
111467
111547
|
return entry;
|
|
111468
111548
|
}
|
|
111469
111549
|
__name(getDroppableById, "getDroppableById");
|
|
@@ -111517,7 +111597,7 @@ __name(useRegistry, "useRegistry");
|
|
|
111517
111597
|
var StoreContext = React$2.createContext(null);
|
|
111518
111598
|
var getBodyElement = /* @__PURE__ */ __name(() => {
|
|
111519
111599
|
const body = document.body;
|
|
111520
|
-
!body ? invariant$1() : void 0;
|
|
111600
|
+
!body ? invariant$1(false) : void 0;
|
|
111521
111601
|
return body;
|
|
111522
111602
|
}, "getBodyElement");
|
|
111523
111603
|
const visuallyHidden = {
|
|
@@ -111631,7 +111711,7 @@ function usePrevious(current) {
|
|
|
111631
111711
|
return ref2;
|
|
111632
111712
|
}
|
|
111633
111713
|
__name(usePrevious, "usePrevious");
|
|
111634
|
-
function
|
|
111714
|
+
function create5() {
|
|
111635
111715
|
let lock = null;
|
|
111636
111716
|
function isClaimed() {
|
|
111637
111717
|
return Boolean(lock);
|
|
@@ -111642,7 +111722,7 @@ function create4() {
|
|
|
111642
111722
|
}
|
|
111643
111723
|
__name(isActive2, "isActive2");
|
|
111644
111724
|
function claim(abandon) {
|
|
111645
|
-
!!lock ? invariant$1() : void 0;
|
|
111725
|
+
!!lock ? invariant$1(false) : void 0;
|
|
111646
111726
|
const newLock = {
|
|
111647
111727
|
abandon
|
|
111648
111728
|
};
|
|
@@ -111651,7 +111731,7 @@ function create4() {
|
|
|
111651
111731
|
}
|
|
111652
111732
|
__name(claim, "claim");
|
|
111653
111733
|
function release() {
|
|
111654
|
-
!lock ? invariant$1() : void 0;
|
|
111734
|
+
!lock ? invariant$1(false) : void 0;
|
|
111655
111735
|
lock = null;
|
|
111656
111736
|
}
|
|
111657
111737
|
__name(release, "release");
|
|
@@ -111670,7 +111750,7 @@ function create4() {
|
|
|
111670
111750
|
tryAbandon
|
|
111671
111751
|
};
|
|
111672
111752
|
}
|
|
111673
|
-
__name(
|
|
111753
|
+
__name(create5, "create");
|
|
111674
111754
|
function isDragging(state2) {
|
|
111675
111755
|
if (state2.phase === "IDLE" || state2.phase === "DROP_ANIMATING") {
|
|
111676
111756
|
return false;
|
|
@@ -111747,7 +111827,7 @@ function getCaptureBindings(_ref) {
|
|
|
111747
111827
|
phase.actions.move(point2);
|
|
111748
111828
|
return;
|
|
111749
111829
|
}
|
|
111750
|
-
!(phase.type === "PENDING") ? invariant$1() : void 0;
|
|
111830
|
+
!(phase.type === "PENDING") ? invariant$1(false) : void 0;
|
|
111751
111831
|
const pending = phase.point;
|
|
111752
111832
|
if (!isSloppyClickThresholdExceeded(pending, point2)) {
|
|
111753
111833
|
return;
|
|
@@ -111820,7 +111900,7 @@ function getCaptureBindings(_ref) {
|
|
|
111820
111900
|
eventName: "webkitmouseforcedown",
|
|
111821
111901
|
fn: (event) => {
|
|
111822
111902
|
const phase = getPhase();
|
|
111823
|
-
!(phase.type !== "IDLE") ? invariant$1() : void 0;
|
|
111903
|
+
!(phase.type !== "IDLE") ? invariant$1(false) : void 0;
|
|
111824
111904
|
if (phase.actions.shouldRespectForcePress()) {
|
|
111825
111905
|
cancel();
|
|
111826
111906
|
return;
|
|
@@ -111943,7 +112023,7 @@ function useMouseSensor(api) {
|
|
|
111943
112023
|
unbindEventsRef.current = bindEvents(window, bindings, options);
|
|
111944
112024
|
}, "bindCapturingEvents2"), [cancel, stop]);
|
|
111945
112025
|
const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
|
|
111946
|
-
!(phaseRef.current.type === "IDLE") ? invariant$1() : void 0;
|
|
112026
|
+
!(phaseRef.current.type === "IDLE") ? invariant$1(false) : void 0;
|
|
111947
112027
|
phaseRef.current = {
|
|
111948
112028
|
type: "PENDING",
|
|
111949
112029
|
point: point2,
|
|
@@ -112085,7 +112165,7 @@ function useKeyboardSensor(api) {
|
|
|
112085
112165
|
const actions2 = preDrag.snapLift();
|
|
112086
112166
|
unbindEventsRef.current();
|
|
112087
112167
|
function stop() {
|
|
112088
|
-
!isCapturing ? invariant$1() : void 0;
|
|
112168
|
+
!isCapturing ? invariant$1(false) : void 0;
|
|
112089
112169
|
isCapturing = false;
|
|
112090
112170
|
unbindEventsRef.current();
|
|
112091
112171
|
listenForCapture();
|
|
@@ -112220,7 +112300,7 @@ function getHandleBindings(_ref2) {
|
|
|
112220
112300
|
eventName: "touchforcechange",
|
|
112221
112301
|
fn: (event) => {
|
|
112222
112302
|
const phase = getPhase();
|
|
112223
|
-
!(phase.type !== "IDLE") ? invariant$1() : void 0;
|
|
112303
|
+
!(phase.type !== "IDLE") ? invariant$1(false) : void 0;
|
|
112224
112304
|
const touch = event.touches[0];
|
|
112225
112305
|
if (!touch) {
|
|
112226
112306
|
return;
|
|
@@ -112349,7 +112429,7 @@ function useTouchSensor(api) {
|
|
|
112349
112429
|
}, "bindCapturingEvents2"), [cancel, getPhase, stop]);
|
|
112350
112430
|
const startDragging = useCallback(/* @__PURE__ */ __name(function startDragging2() {
|
|
112351
112431
|
const phase = getPhase();
|
|
112352
|
-
!(phase.type === "PENDING") ? invariant$1() : void 0;
|
|
112432
|
+
!(phase.type === "PENDING") ? invariant$1(false) : void 0;
|
|
112353
112433
|
const actions2 = phase.actions.fluidLift(phase.point);
|
|
112354
112434
|
setPhase({
|
|
112355
112435
|
type: "DRAGGING",
|
|
@@ -112358,7 +112438,7 @@ function useTouchSensor(api) {
|
|
|
112358
112438
|
});
|
|
112359
112439
|
}, "startDragging2"), [getPhase, setPhase]);
|
|
112360
112440
|
const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
|
|
112361
|
-
!(getPhase().type === "IDLE") ? invariant$1() : void 0;
|
|
112441
|
+
!(getPhase().type === "IDLE") ? invariant$1(false) : void 0;
|
|
112362
112442
|
const longPressTimerId = setTimeout(startDragging, timeForLongPress);
|
|
112363
112443
|
setPhase({
|
|
112364
112444
|
type: "PENDING",
|
|
@@ -112594,7 +112674,7 @@ function tryStart(_ref3) {
|
|
|
112594
112674
|
__name(completed, "completed");
|
|
112595
112675
|
if (phase !== "PRE_DRAG") {
|
|
112596
112676
|
completed();
|
|
112597
|
-
invariant$1();
|
|
112677
|
+
invariant$1(false);
|
|
112598
112678
|
}
|
|
112599
112679
|
store2.dispatch(lift$1(args.liftActionArgs));
|
|
112600
112680
|
phase = "DRAGGING";
|
|
@@ -112713,7 +112793,7 @@ function useSensorMarshal(_ref4) {
|
|
|
112713
112793
|
enableDefaultSensors
|
|
112714
112794
|
} = _ref4;
|
|
112715
112795
|
const useSensors = [...enableDefaultSensors ? defaultSensors : [], ...customSensors || []];
|
|
112716
|
-
const lockAPI = React$2.useState(() =>
|
|
112796
|
+
const lockAPI = React$2.useState(() => create5())[0];
|
|
112717
112797
|
const tryAbandonLock = useCallback(/* @__PURE__ */ __name(function tryAbandonLock2(previous2, current) {
|
|
112718
112798
|
if (isDragging(previous2) && !isDragging(current)) {
|
|
112719
112799
|
lockAPI.tryAbandon();
|
|
@@ -112798,7 +112878,7 @@ const createAutoScrollerOptions = /* @__PURE__ */ __name((props) => __spreadProp
|
|
|
112798
112878
|
durationDampening: __spreadValues(__spreadValues({}, defaultAutoScrollerOptions.durationDampening), props.autoScrollerOptions)
|
|
112799
112879
|
}), "createAutoScrollerOptions");
|
|
112800
112880
|
function getStore(lazyRef) {
|
|
112801
|
-
!lazyRef.current ? invariant$1() : void 0;
|
|
112881
|
+
!lazyRef.current ? invariant$1(false) : void 0;
|
|
112802
112882
|
return lazyRef.current;
|
|
112803
112883
|
}
|
|
112804
112884
|
__name(getStore, "getStore");
|
|
@@ -113043,7 +113123,7 @@ function useDraggablePublisher(args) {
|
|
|
113043
113123
|
}), [canDragInteractiveElements, isEnabled, shouldRespectForcePress]);
|
|
113044
113124
|
const getDimension2 = useCallback((windowScroll) => {
|
|
113045
113125
|
const el = getDraggableRef();
|
|
113046
|
-
!el ? invariant$1() : void 0;
|
|
113126
|
+
!el ? invariant$1(false) : void 0;
|
|
113047
113127
|
return getDimension$1(descriptor2, el, windowScroll);
|
|
113048
113128
|
}, [descriptor2, getDraggableRef]);
|
|
113049
113129
|
const entry = useMemo(() => ({
|
|
@@ -113072,7 +113152,7 @@ __name(useDraggablePublisher, "useDraggablePublisher");
|
|
|
113072
113152
|
var DroppableContext = React$2.createContext(null);
|
|
113073
113153
|
function useRequiredContext(Context) {
|
|
113074
113154
|
const result = React$2.useContext(Context);
|
|
113075
|
-
!result ? invariant$1() : void 0;
|
|
113155
|
+
!result ? invariant$1(false) : void 0;
|
|
113076
113156
|
return result;
|
|
113077
113157
|
}
|
|
113078
113158
|
__name(useRequiredContext, "useRequiredContext");
|
|
@@ -113636,7 +113716,7 @@ function useDroppablePublisher(args) {
|
|
|
113636
113716
|
}), [args.droppableId, args.mode, args.type]);
|
|
113637
113717
|
const publishedDescriptorRef = React$2.useRef(descriptor2);
|
|
113638
113718
|
const memoizedUpdateScroll = useMemo(() => memoizeOne((x, y2) => {
|
|
113639
|
-
!whileDraggingRef.current ? invariant$1() : void 0;
|
|
113719
|
+
!whileDraggingRef.current ? invariant$1(false) : void 0;
|
|
113640
113720
|
const scroll3 = {
|
|
113641
113721
|
x,
|
|
113642
113722
|
y: y2
|
|
@@ -113658,7 +113738,7 @@ function useDroppablePublisher(args) {
|
|
|
113658
113738
|
const onClosestScroll = useCallback(() => {
|
|
113659
113739
|
const dragging = whileDraggingRef.current;
|
|
113660
113740
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
113661
|
-
!(dragging && closest2) ? invariant$1() : void 0;
|
|
113741
|
+
!(dragging && closest2) ? invariant$1(false) : void 0;
|
|
113662
113742
|
const options = dragging.scrollOptions;
|
|
113663
113743
|
if (options.shouldPublishImmediately) {
|
|
113664
113744
|
updateScroll();
|
|
@@ -113667,10 +113747,10 @@ function useDroppablePublisher(args) {
|
|
|
113667
113747
|
scheduleScrollUpdate();
|
|
113668
113748
|
}, [scheduleScrollUpdate, updateScroll]);
|
|
113669
113749
|
const getDimensionAndWatchScroll = useCallback((windowScroll, options) => {
|
|
113670
|
-
!!whileDraggingRef.current ? invariant$1() : void 0;
|
|
113750
|
+
!!whileDraggingRef.current ? invariant$1(false) : void 0;
|
|
113671
113751
|
const previous2 = previousRef.current;
|
|
113672
113752
|
const ref2 = previous2.getDroppableRef();
|
|
113673
|
-
!ref2 ? invariant$1() : void 0;
|
|
113753
|
+
!ref2 ? invariant$1(false) : void 0;
|
|
113674
113754
|
const env = getEnv(ref2);
|
|
113675
113755
|
const dragging = {
|
|
113676
113756
|
ref: ref2,
|
|
@@ -113699,12 +113779,12 @@ function useDroppablePublisher(args) {
|
|
|
113699
113779
|
const getScrollWhileDragging = useCallback(() => {
|
|
113700
113780
|
const dragging = whileDraggingRef.current;
|
|
113701
113781
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
113702
|
-
!(dragging && closest2) ? invariant$1() : void 0;
|
|
113782
|
+
!(dragging && closest2) ? invariant$1(false) : void 0;
|
|
113703
113783
|
return getScroll$2(closest2);
|
|
113704
113784
|
}, []);
|
|
113705
113785
|
const dragStopped = useCallback(() => {
|
|
113706
113786
|
const dragging = whileDraggingRef.current;
|
|
113707
|
-
!dragging ? invariant$1() : void 0;
|
|
113787
|
+
!dragging ? invariant$1(false) : void 0;
|
|
113708
113788
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
113709
113789
|
whileDraggingRef.current = null;
|
|
113710
113790
|
if (!closest2) {
|
|
@@ -113720,9 +113800,9 @@ function useDroppablePublisher(args) {
|
|
|
113720
113800
|
}, [onClosestScroll, scheduleScrollUpdate]);
|
|
113721
113801
|
const scroll2 = useCallback((change) => {
|
|
113722
113802
|
const dragging = whileDraggingRef.current;
|
|
113723
|
-
!dragging ? invariant$1() : void 0;
|
|
113803
|
+
!dragging ? invariant$1(false) : void 0;
|
|
113724
113804
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
113725
|
-
!closest2 ? invariant$1() : void 0;
|
|
113805
|
+
!closest2 ? invariant$1(false) : void 0;
|
|
113726
113806
|
closest2.scrollTop += change.y;
|
|
113727
113807
|
closest2.scrollLeft += change.x;
|
|
113728
113808
|
}, []);
|
|
@@ -113932,7 +114012,7 @@ __name(_AnimateInOut, "AnimateInOut");
|
|
|
113932
114012
|
let AnimateInOut = _AnimateInOut;
|
|
113933
114013
|
const Droppable = /* @__PURE__ */ __name((props) => {
|
|
113934
114014
|
const appContext = React$2.useContext(AppContext);
|
|
113935
|
-
!appContext ? invariant$1() : void 0;
|
|
114015
|
+
!appContext ? invariant$1(false) : void 0;
|
|
113936
114016
|
const {
|
|
113937
114017
|
contextId,
|
|
113938
114018
|
isMovementAllowed: isMovementAllowed2
|
|
@@ -114151,7 +114231,7 @@ const mapDispatchToProps = {
|
|
|
114151
114231
|
updateViewportMaxScroll
|
|
114152
114232
|
};
|
|
114153
114233
|
function getBody() {
|
|
114154
|
-
!document.body ? invariant$1() : void 0;
|
|
114234
|
+
!document.body ? invariant$1(false) : void 0;
|
|
114155
114235
|
return document.body;
|
|
114156
114236
|
}
|
|
114157
114237
|
__name(getBody, "getBody");
|
|
@@ -114243,6 +114323,8 @@ var clipboard = { exports: {} };
|
|
|
114243
114323
|
function _createClass2(Constructor, protoProps, staticProps) {
|
|
114244
114324
|
if (protoProps)
|
|
114245
114325
|
_defineProperties2(Constructor.prototype, protoProps);
|
|
114326
|
+
if (staticProps)
|
|
114327
|
+
_defineProperties2(Constructor, staticProps);
|
|
114246
114328
|
return Constructor;
|
|
114247
114329
|
}
|
|
114248
114330
|
__name(_createClass2, "_createClass");
|
|
@@ -118879,7 +118961,7 @@ const Labels$2 = onlyUpdateForKeys([
|
|
|
118879
118961
|
"editorName"
|
|
118880
118962
|
])(Labels$1);
|
|
118881
118963
|
const DrawLabel = withHover(
|
|
118882
|
-
(
|
|
118964
|
+
(_w = class extends React$2.Component {
|
|
118883
118965
|
render() {
|
|
118884
118966
|
const {
|
|
118885
118967
|
hovered,
|
|
@@ -118983,7 +119065,7 @@ const DrawLabel = withHover(
|
|
|
118983
119065
|
}
|
|
118984
119066
|
));
|
|
118985
119067
|
}
|
|
118986
|
-
}, __name(
|
|
119068
|
+
}, __name(_w, "DrawLabelInner"), _w)
|
|
118987
119069
|
);
|
|
118988
119070
|
const labelClassNames = {
|
|
118989
119071
|
cutsites: "veCutsiteLabel",
|
|
@@ -120881,7 +120963,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
120881
120963
|
}
|
|
120882
120964
|
__name(showFileDialog, "showFileDialog");
|
|
120883
120965
|
const name = "@teselagen/ove";
|
|
120884
|
-
const version = "0.5.
|
|
120966
|
+
const version = "0.5.12";
|
|
120885
120967
|
const main = "./src/index.js";
|
|
120886
120968
|
const type = "module";
|
|
120887
120969
|
const exports$1 = {
|
|
@@ -120961,8 +121043,8 @@ const useAnnotationLimits = /* @__PURE__ */ __name(() => useLocalStorageState("a
|
|
|
120961
121043
|
cutsites: 100
|
|
120962
121044
|
}
|
|
120963
121045
|
}), "useAnnotationLimits");
|
|
120964
|
-
function LimitAnnotations(
|
|
120965
|
-
var
|
|
121046
|
+
function LimitAnnotations(_x) {
|
|
121047
|
+
var _y = _x, { type: type2 } = _y, rest = __objRest(_y, ["type"]);
|
|
120966
121048
|
const [limits = {}, setLimits] = useAnnotationLimits();
|
|
120967
121049
|
return /* @__PURE__ */ React$2.createElement(core$5.MenuItem, __spreadValues({ icon: "blank", shouldDismissPopover: false }, rest), [50, 100, 200, 400].map((n2) => /* @__PURE__ */ React$2.createElement(
|
|
120968
121050
|
core$5.MenuItem,
|
|
@@ -123200,7 +123282,7 @@ var classCallCheck = /* @__PURE__ */ __name(function(instance, Constructor) {
|
|
|
123200
123282
|
}
|
|
123201
123283
|
}, "classCallCheck");
|
|
123202
123284
|
var createClass = /* @__PURE__ */ function() {
|
|
123203
|
-
function
|
|
123285
|
+
function defineProperties4(target, props) {
|
|
123204
123286
|
for (var i = 0; i < props.length; i++) {
|
|
123205
123287
|
var descriptor2 = props[i];
|
|
123206
123288
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -123210,12 +123292,12 @@ var createClass = /* @__PURE__ */ function() {
|
|
|
123210
123292
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
123211
123293
|
}
|
|
123212
123294
|
}
|
|
123213
|
-
__name(
|
|
123295
|
+
__name(defineProperties4, "defineProperties");
|
|
123214
123296
|
return function(Constructor, protoProps, staticProps) {
|
|
123215
123297
|
if (protoProps)
|
|
123216
|
-
|
|
123298
|
+
defineProperties4(Constructor.prototype, protoProps);
|
|
123217
123299
|
if (staticProps)
|
|
123218
|
-
|
|
123300
|
+
defineProperties4(Constructor, staticProps);
|
|
123219
123301
|
return Constructor;
|
|
123220
123302
|
};
|
|
123221
123303
|
}();
|
|
@@ -127121,7 +127203,7 @@ const commonConfigResolver = {
|
|
|
127121
127203
|
};
|
|
127122
127204
|
const DEFAULT_AXIS_THRESHOLD = 0;
|
|
127123
127205
|
const coordinatesConfigResolver = _objectSpread2$1(_objectSpread2$1({}, commonConfigResolver), {}, {
|
|
127124
|
-
axis(
|
|
127206
|
+
axis(_v2, _k, {
|
|
127125
127207
|
axis
|
|
127126
127208
|
}) {
|
|
127127
127209
|
this.lockDirection = axis === "lock";
|
|
@@ -127195,7 +127277,7 @@ const DEFAULT_DRAG_AXIS_THRESHOLD = {
|
|
|
127195
127277
|
pen: 8
|
|
127196
127278
|
};
|
|
127197
127279
|
_objectSpread2$1(_objectSpread2$1({}, coordinatesConfigResolver), {}, {
|
|
127198
|
-
device(
|
|
127280
|
+
device(_v2, _k, {
|
|
127199
127281
|
pointer: {
|
|
127200
127282
|
touch = false,
|
|
127201
127283
|
lock = false,
|
|
@@ -127221,7 +127303,7 @@ _objectSpread2$1(_objectSpread2$1({}, coordinatesConfigResolver), {}, {
|
|
|
127221
127303
|
return void 0;
|
|
127222
127304
|
return value ? value : preventScroll !== void 0 ? "y" : void 0;
|
|
127223
127305
|
},
|
|
127224
|
-
pointerCapture(
|
|
127306
|
+
pointerCapture(_v2, _k, {
|
|
127225
127307
|
pointer: {
|
|
127226
127308
|
capture = true,
|
|
127227
127309
|
buttons = 1,
|
|
@@ -127552,7 +127634,7 @@ const _PinchEngine = class _PinchEngine extends Engine {
|
|
|
127552
127634
|
__name(_PinchEngine, "PinchEngine");
|
|
127553
127635
|
let PinchEngine = _PinchEngine;
|
|
127554
127636
|
const pinchConfigResolver = _objectSpread2$1(_objectSpread2$1({}, commonConfigResolver), {}, {
|
|
127555
|
-
device(
|
|
127637
|
+
device(_v2, _k, {
|
|
127556
127638
|
shared: shared2,
|
|
127557
127639
|
pointer: {
|
|
127558
127640
|
touch = false
|
|
@@ -127570,7 +127652,7 @@ const pinchConfigResolver = _objectSpread2$1(_objectSpread2$1({}, commonConfigRe
|
|
|
127570
127652
|
return "touch";
|
|
127571
127653
|
}
|
|
127572
127654
|
},
|
|
127573
|
-
bounds(
|
|
127655
|
+
bounds(_v2, _k, {
|
|
127574
127656
|
scaleBounds = {},
|
|
127575
127657
|
angleBounds = {}
|
|
127576
127658
|
}) {
|
|
@@ -128869,7 +128951,7 @@ const _Minimap = class _Minimap extends React$2.Component {
|
|
|
128869
128951
|
__name(_Minimap, "Minimap");
|
|
128870
128952
|
let Minimap = _Minimap;
|
|
128871
128953
|
const YellowScrollHandle = view(
|
|
128872
|
-
(
|
|
128954
|
+
(_z = class extends React$2.Component {
|
|
128873
128955
|
render() {
|
|
128874
128956
|
const {
|
|
128875
128957
|
scrollHandleWidth,
|
|
@@ -129024,7 +129106,7 @@ const YellowScrollHandle = view(
|
|
|
129024
129106
|
)
|
|
129025
129107
|
);
|
|
129026
129108
|
}
|
|
129027
|
-
}, __name(
|
|
129109
|
+
}, __name(_z, "YellowScrollHandleInner"), _z)
|
|
129028
129110
|
);
|
|
129029
129111
|
function getTrimmedRangesToDisplay({ trimmedRange, seqLen }) {
|
|
129030
129112
|
if (!trimmedRange)
|
|
@@ -129397,14 +129479,14 @@ function getRangeAnglesSpecial() {
|
|
|
129397
129479
|
}, rest);
|
|
129398
129480
|
}
|
|
129399
129481
|
__name(getRangeAnglesSpecial, "getRangeAnglesSpecial");
|
|
129400
|
-
function PositionAnnotationOnCircle(
|
|
129401
|
-
var
|
|
129482
|
+
function PositionAnnotationOnCircle(_A) {
|
|
129483
|
+
var _B = _A, {
|
|
129402
129484
|
children,
|
|
129403
129485
|
height: height2 = 0,
|
|
129404
129486
|
sAngle = 0,
|
|
129405
129487
|
eAngle = 0,
|
|
129406
129488
|
forward = true
|
|
129407
|
-
} =
|
|
129489
|
+
} = _B, rest = __objRest(_B, [
|
|
129408
129490
|
"children",
|
|
129409
129491
|
"height",
|
|
129410
129492
|
"sAngle",
|
|
@@ -133923,7 +134005,7 @@ const SelectDialog = redux.compose(
|
|
|
133923
134005
|
}),
|
|
133924
134006
|
tgFormValues("from", "to")
|
|
133925
134007
|
)(
|
|
133926
|
-
(
|
|
134008
|
+
(_C = class extends React$2.Component {
|
|
133927
134009
|
constructor() {
|
|
133928
134010
|
super(...arguments);
|
|
133929
134011
|
__publicField(this, "updateTempHighlight", /* @__PURE__ */ __name(({ isStart, isEnd } = {}) => (val2) => {
|
|
@@ -134034,7 +134116,7 @@ const SelectDialog = redux.compose(
|
|
|
134034
134116
|
))
|
|
134035
134117
|
);
|
|
134036
134118
|
}
|
|
134037
|
-
}, __name(
|
|
134119
|
+
}, __name(_C, "SelectDialog"), _C)
|
|
134038
134120
|
);
|
|
134039
134121
|
const normalizeToInt = /* @__PURE__ */ __name((val2) => {
|
|
134040
134122
|
const int2 = Math.round(val2);
|
|
@@ -135345,13 +135427,13 @@ const CompareEnzymeGroupsDialog = compose(
|
|
|
135345
135427
|
cutsiteOrGroupKey: group2
|
|
135346
135428
|
}));
|
|
135347
135429
|
const byNameLower = /* @__PURE__ */ __name((n2) => n2.name.toLowerCase(), "byNameLower");
|
|
135348
|
-
const shared2 = intersectionBy(
|
|
135430
|
+
const shared2 = intersectionBy$1(
|
|
135349
135431
|
g1.allEnzymesInGroup,
|
|
135350
135432
|
g2.allEnzymesInGroup,
|
|
135351
135433
|
byNameLower
|
|
135352
135434
|
);
|
|
135353
|
-
const g1Only = differenceBy(g1.allEnzymesInGroup, shared2, byNameLower);
|
|
135354
|
-
const g2Only = differenceBy(g2.allEnzymesInGroup, shared2, byNameLower);
|
|
135435
|
+
const g1Only = differenceBy$1(g1.allEnzymesInGroup, shared2, byNameLower);
|
|
135436
|
+
const g2Only = differenceBy$1(g2.allEnzymesInGroup, shared2, byNameLower);
|
|
135355
135437
|
return /* @__PURE__ */ React$2.createElement(
|
|
135356
135438
|
"div",
|
|
135357
135439
|
{
|
|
@@ -137489,8 +137571,8 @@ function getTrackFromEvent(event, allTracks) {
|
|
|
137489
137571
|
return track2;
|
|
137490
137572
|
}
|
|
137491
137573
|
__name(getTrackFromEvent, "getTrackFromEvent");
|
|
137492
|
-
const PerformantSelectionLayer = view((
|
|
137493
|
-
var
|
|
137574
|
+
const PerformantSelectionLayer = view((_D) => {
|
|
137575
|
+
var _E = _D, { easyStore: easyStore2 } = _E, rest = __objRest(_E, ["easyStore"]);
|
|
137494
137576
|
const seqLen = rest.sequenceLength - 1;
|
|
137495
137577
|
return /* @__PURE__ */ React$2.createElement(
|
|
137496
137578
|
SelectionLayer$3,
|
|
@@ -139330,8 +139412,8 @@ const AlignmentView$1 = compose(
|
|
|
139330
139412
|
})
|
|
139331
139413
|
)
|
|
139332
139414
|
)(AlignmentView);
|
|
139333
|
-
const PerformantCaret = view((
|
|
139334
|
-
var
|
|
139415
|
+
const PerformantCaret = view((_F) => {
|
|
139416
|
+
var _G = _F, { easyStore: easyStore2 } = _G, rest = __objRest(_G, ["easyStore"]);
|
|
139335
139417
|
return /* @__PURE__ */ React$2.createElement(Caret$2, __spreadValues({ caretPosition: easyStore2.caretPosition }, rest));
|
|
139336
139418
|
});
|
|
139337
139419
|
function cleanTracks(alignmentTracks) {
|
|
@@ -140854,7 +140936,7 @@ function withContentRect(types2) {
|
|
|
140854
140936
|
_this._node = null;
|
|
140855
140937
|
_this._window = null;
|
|
140856
140938
|
_this.measure = function(entries2) {
|
|
140857
|
-
var contentRect = getContentRect(_this._node, getTypes(_this.props));
|
|
140939
|
+
var contentRect = getContentRect(_this._node, types2 || getTypes(_this.props));
|
|
140858
140940
|
if (entries2) {
|
|
140859
140941
|
contentRect.entry = entries2[0].contentRect;
|
|
140860
140942
|
}
|
|
@@ -140896,7 +140978,7 @@ function withContentRect(types2) {
|
|
|
140896
140978
|
if (this._node !== null) {
|
|
140897
140979
|
this._resizeObserver.observe(this._node);
|
|
140898
140980
|
if (typeof this.props.onResize === "function") {
|
|
140899
|
-
this.props.onResize(getContentRect(this._node, getTypes(this.props)));
|
|
140981
|
+
this.props.onResize(getContentRect(this._node, types2 || getTypes(this.props)));
|
|
140900
140982
|
}
|
|
140901
140983
|
}
|
|
140902
140984
|
}, "componentDidMount");
|
|
@@ -141186,7 +141268,7 @@ const importTool = compose(
|
|
|
141186
141268
|
ToolbarItem$1,
|
|
141187
141269
|
__spreadValues({}, __spreadValues({
|
|
141188
141270
|
Icon: /* @__PURE__ */ React$2.createElement(core$5.Icon, { "data-test": "veImportTool", icon: "export" }),
|
|
141189
|
-
IconWrapper: Dropzone,
|
|
141271
|
+
IconWrapper: Dropzone$1,
|
|
141190
141272
|
IconWrapperProps: {
|
|
141191
141273
|
multiple: false,
|
|
141192
141274
|
style: {},
|
|
@@ -141596,14 +141678,14 @@ const cutsiteTool = connectToEditor(
|
|
|
141596
141678
|
}, toolbarItemProps))
|
|
141597
141679
|
);
|
|
141598
141680
|
});
|
|
141599
|
-
function CutsiteToolDropDown(
|
|
141600
|
-
var
|
|
141681
|
+
function CutsiteToolDropDown(_H) {
|
|
141682
|
+
var _I = _H, {
|
|
141601
141683
|
editorName,
|
|
141602
141684
|
toggleDropdown,
|
|
141603
141685
|
annotationVisibilityShow: annotationVisibilityShow2,
|
|
141604
141686
|
withDigestTool,
|
|
141605
141687
|
createNewDigest: createNewDigest2
|
|
141606
|
-
} =
|
|
141688
|
+
} = _I, rest = __objRest(_I, [
|
|
141607
141689
|
"editorName",
|
|
141608
141690
|
"toggleDropdown",
|
|
141609
141691
|
"annotationVisibilityShow",
|
|
@@ -141731,7 +141813,7 @@ const orfTool = connectToEditor(
|
|
|
141731
141813
|
);
|
|
141732
141814
|
});
|
|
141733
141815
|
const OrfToolDropdown = withEditorProps(
|
|
141734
|
-
(
|
|
141816
|
+
(_J = class extends React$2.Component {
|
|
141735
141817
|
constructor(props) {
|
|
141736
141818
|
super(props);
|
|
141737
141819
|
this.commands = getCommands(this);
|
|
@@ -141757,7 +141839,7 @@ const OrfToolDropdown = withEditorProps(
|
|
|
141757
141839
|
}
|
|
141758
141840
|
));
|
|
141759
141841
|
}
|
|
141760
|
-
}, __name(
|
|
141842
|
+
}, __name(_J, "OrfDropdown"), _J)
|
|
141761
141843
|
);
|
|
141762
141844
|
const opts = [
|
|
141763
141845
|
{ label: "DNA", value: "DNA" },
|
|
@@ -142576,7 +142658,7 @@ const _DropHandler = class _DropHandler extends React$2.Component {
|
|
|
142576
142658
|
render() {
|
|
142577
142659
|
const { children, style: style2, className, disabled } = this.props;
|
|
142578
142660
|
return /* @__PURE__ */ React$2.createElement(
|
|
142579
|
-
Dropzone,
|
|
142661
|
+
Dropzone$1,
|
|
142580
142662
|
{
|
|
142581
142663
|
disabled,
|
|
142582
142664
|
onClick: (evt) => evt.preventDefault(),
|
|
@@ -143887,7 +143969,7 @@ function Ladder({
|
|
|
143887
143969
|
style: { position: "absolute", top: 5, right: 5, color: "white" },
|
|
143888
143970
|
onClick: () => __async(this, null, function* () {
|
|
143889
143971
|
try {
|
|
143890
|
-
const canvas = yield Promise.resolve().then(() => require("./html2canvas.esm-
|
|
143972
|
+
const canvas = yield Promise.resolve().then(() => require("./html2canvas.esm-GLpiTZLt.cjs"));
|
|
143891
143973
|
canvas.default(document.querySelector(".ve-digest-container")).then((canvas2) => {
|
|
143892
143974
|
canvas2.toBlob(
|
|
143893
143975
|
(blob) => navigator.clipboard.write([
|
|
@@ -146688,6 +146770,8 @@ __name(_defineProperties, "_defineProperties");
|
|
|
146688
146770
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
146689
146771
|
if (protoProps)
|
|
146690
146772
|
_defineProperties(Constructor.prototype, protoProps);
|
|
146773
|
+
if (staticProps)
|
|
146774
|
+
_defineProperties(Constructor, staticProps);
|
|
146691
146775
|
return Constructor;
|
|
146692
146776
|
}
|
|
146693
146777
|
__name(_createClass, "_createClass");
|
|
@@ -147154,8 +147238,8 @@ function StandaloneVersionHistoryView(props) {
|
|
|
147154
147238
|
return /* @__PURE__ */ React$2.createElement(reactRedux.Provider, { store }, /* @__PURE__ */ React$2.createElement(VersionHistoryView$1, __spreadValues({}, __spreadValues({}, props))));
|
|
147155
147239
|
}
|
|
147156
147240
|
__name(StandaloneVersionHistoryView, "StandaloneVersionHistoryView");
|
|
147157
|
-
function createVectorEditor(_node,
|
|
147158
|
-
var
|
|
147241
|
+
function createVectorEditor(_node, _K = {}) {
|
|
147242
|
+
var _L = _K, { editorName = "StandaloneEditor" } = _L, rest = __objRest(_L, ["editorName"]);
|
|
147159
147243
|
if (!store) {
|
|
147160
147244
|
store = makeStore();
|
|
147161
147245
|
}
|
|
@@ -147188,8 +147272,8 @@ function createVectorEditor(_node, _I = {}) {
|
|
|
147188
147272
|
return editor;
|
|
147189
147273
|
}
|
|
147190
147274
|
__name(createVectorEditor, "createVectorEditor");
|
|
147191
|
-
function createVersionHistoryView(node2,
|
|
147192
|
-
var
|
|
147275
|
+
function createVersionHistoryView(node2, _M = {}) {
|
|
147276
|
+
var _N = _M, { editorName = "StandaloneVersionHistoryView" } = _N, rest = __objRest(_N, ["editorName"]);
|
|
147193
147277
|
if (!store) {
|
|
147194
147278
|
store = makeStore();
|
|
147195
147279
|
}
|