@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.umd.js
CHANGED
|
@@ -59,7 +59,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
59
59
|
});
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
var
|
|
62
|
+
var _s, _t, _u, _v, _w, _x, _A, _D, _K;
|
|
63
63
|
function _mergeNamespaces(n2, m2) {
|
|
64
64
|
for (var i2 = 0; i2 < m2.length; i2++) {
|
|
65
65
|
const e2 = m2[i2];
|
|
@@ -951,8 +951,857 @@ var __async = (__this, __arguments, generator) => {
|
|
|
951
951
|
return typeof reactExports.createRef !== "undefined" ? reactExports.createRef() : { current: null };
|
|
952
952
|
}
|
|
953
953
|
__name(createReactRef, "createReactRef");
|
|
954
|
-
|
|
955
|
-
require
|
|
954
|
+
function commonjsRequire(path2) {
|
|
955
|
+
throw new Error('Could not dynamically require "' + path2 + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
956
|
+
}
|
|
957
|
+
__name(commonjsRequire, "commonjsRequire");
|
|
958
|
+
var dom4_max = {};
|
|
959
|
+
/*!
|
|
960
|
+
Copyright (C) 2013-2015 by Andrea Giammarchi - @WebReflection
|
|
961
|
+
|
|
962
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
963
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
964
|
+
in the Software without restriction, including without limitation the rights
|
|
965
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
966
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
967
|
+
furnished to do so, subject to the following conditions:
|
|
968
|
+
|
|
969
|
+
The above copyright notice and this permission notice shall be included in
|
|
970
|
+
all copies or substantial portions of the Software.
|
|
971
|
+
|
|
972
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
973
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
974
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
975
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
976
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
977
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
978
|
+
THE SOFTWARE.
|
|
979
|
+
|
|
980
|
+
*/
|
|
981
|
+
var hasRequiredDom4_max;
|
|
982
|
+
function requireDom4_max() {
|
|
983
|
+
if (hasRequiredDom4_max)
|
|
984
|
+
return dom4_max;
|
|
985
|
+
hasRequiredDom4_max = 1;
|
|
986
|
+
(function(window2) {
|
|
987
|
+
function createDocumentFragment() {
|
|
988
|
+
return document2.createDocumentFragment();
|
|
989
|
+
}
|
|
990
|
+
__name(createDocumentFragment, "createDocumentFragment");
|
|
991
|
+
function createElement(nodeName) {
|
|
992
|
+
return document2.createElement(nodeName);
|
|
993
|
+
}
|
|
994
|
+
__name(createElement, "createElement");
|
|
995
|
+
function enoughArguments(length, name2) {
|
|
996
|
+
if (!length)
|
|
997
|
+
throw new Error(
|
|
998
|
+
"Failed to construct " + name2 + ": 1 argument required, but only 0 present."
|
|
999
|
+
);
|
|
1000
|
+
}
|
|
1001
|
+
__name(enoughArguments, "enoughArguments");
|
|
1002
|
+
function mutationMacro(nodes) {
|
|
1003
|
+
if (nodes.length === 1) {
|
|
1004
|
+
return textNodeIfPrimitive(nodes[0]);
|
|
1005
|
+
}
|
|
1006
|
+
for (var fragment = createDocumentFragment(), list2 = slice2.call(nodes), i3 = 0; i3 < nodes.length; i3++) {
|
|
1007
|
+
fragment.appendChild(textNodeIfPrimitive(list2[i3]));
|
|
1008
|
+
}
|
|
1009
|
+
return fragment;
|
|
1010
|
+
}
|
|
1011
|
+
__name(mutationMacro, "mutationMacro");
|
|
1012
|
+
function textNodeIfPrimitive(node2) {
|
|
1013
|
+
return typeof node2 === "object" ? node2 : document2.createTextNode(node2);
|
|
1014
|
+
}
|
|
1015
|
+
__name(textNodeIfPrimitive, "textNodeIfPrimitive");
|
|
1016
|
+
for (var head, property2, TemporaryPrototype, TemporaryTokenList, wrapVerifyToken, document2 = window2.document, hOP = Object.prototype.hasOwnProperty, defineProperty2 = Object.defineProperty || function(object2, property3, descriptor2) {
|
|
1017
|
+
if (hOP.call(descriptor2, "value")) {
|
|
1018
|
+
object2[property3] = descriptor2.value;
|
|
1019
|
+
} else {
|
|
1020
|
+
if (hOP.call(descriptor2, "get"))
|
|
1021
|
+
object2.__defineGetter__(property3, descriptor2.get);
|
|
1022
|
+
if (hOP.call(descriptor2, "set"))
|
|
1023
|
+
object2.__defineSetter__(property3, descriptor2.set);
|
|
1024
|
+
}
|
|
1025
|
+
return object2;
|
|
1026
|
+
}, indexOf2 = [].indexOf || /* @__PURE__ */ __name(function indexOf3(value) {
|
|
1027
|
+
var length = this.length;
|
|
1028
|
+
while (length--) {
|
|
1029
|
+
if (this[length] === value) {
|
|
1030
|
+
break;
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
return length;
|
|
1034
|
+
}, "indexOf"), verifyToken = function(token) {
|
|
1035
|
+
if (!token) {
|
|
1036
|
+
throw "SyntaxError";
|
|
1037
|
+
} else if (spaces.test(token)) {
|
|
1038
|
+
throw "InvalidCharacterError";
|
|
1039
|
+
}
|
|
1040
|
+
return token;
|
|
1041
|
+
}, DOMTokenList = function(node2) {
|
|
1042
|
+
var noClassName = typeof node2.className === "undefined", className = noClassName ? node2.getAttribute("class") || "" : node2.className, isSVG2 = noClassName || typeof className === "object", value = (isSVG2 ? noClassName ? className : className.baseVal : className).replace(trim2, "");
|
|
1043
|
+
if (value.length) {
|
|
1044
|
+
properties.push.apply(
|
|
1045
|
+
this,
|
|
1046
|
+
value.split(spaces)
|
|
1047
|
+
);
|
|
1048
|
+
}
|
|
1049
|
+
this._isSVG = isSVG2;
|
|
1050
|
+
this._ = node2;
|
|
1051
|
+
}, classListDescriptor = {
|
|
1052
|
+
get: /* @__PURE__ */ __name(function get2() {
|
|
1053
|
+
return new DOMTokenList(this);
|
|
1054
|
+
}, "get"),
|
|
1055
|
+
set: function() {
|
|
1056
|
+
}
|
|
1057
|
+
}, trim2 = /^\s+|\s+$/g, spaces = /\s+/, SPACE2 = " ", CLASS_LIST = "classList", toggle = /* @__PURE__ */ __name(function toggle2(token, force) {
|
|
1058
|
+
if (this.contains(token)) {
|
|
1059
|
+
if (!force) {
|
|
1060
|
+
this.remove(token);
|
|
1061
|
+
}
|
|
1062
|
+
} else if (force === void 0 || force) {
|
|
1063
|
+
force = true;
|
|
1064
|
+
this.add(token);
|
|
1065
|
+
}
|
|
1066
|
+
return !!force;
|
|
1067
|
+
}, "toggle"), DocumentFragmentPrototype = window2.DocumentFragment && DocumentFragment.prototype, Node2 = window2.Node, NodePrototype = (Node2 || Element).prototype, CharacterData = window2.CharacterData || Node2, CharacterDataPrototype = CharacterData && CharacterData.prototype, DocumentType = window2.DocumentType, DocumentTypePrototype = DocumentType && DocumentType.prototype, ElementPrototype = (window2.Element || Node2 || window2.HTMLElement).prototype, HTMLSelectElement = window2.HTMLSelectElement || createElement("select").constructor, selectRemove = HTMLSelectElement.prototype.remove, SVGElement2 = window2.SVGElement, properties = [
|
|
1068
|
+
"matches",
|
|
1069
|
+
ElementPrototype.matchesSelector || ElementPrototype.webkitMatchesSelector || ElementPrototype.khtmlMatchesSelector || ElementPrototype.mozMatchesSelector || ElementPrototype.msMatchesSelector || ElementPrototype.oMatchesSelector || /* @__PURE__ */ __name(function matches(selector) {
|
|
1070
|
+
var parentNode = this.parentNode;
|
|
1071
|
+
return !!parentNode && -1 < indexOf2.call(
|
|
1072
|
+
parentNode.querySelectorAll(selector),
|
|
1073
|
+
this
|
|
1074
|
+
);
|
|
1075
|
+
}, "matches"),
|
|
1076
|
+
"closest",
|
|
1077
|
+
/* @__PURE__ */ __name(function closest2(selector) {
|
|
1078
|
+
var parentNode = this, matches;
|
|
1079
|
+
while (
|
|
1080
|
+
// document has no .matches
|
|
1081
|
+
(matches = parentNode && parentNode.matches) && !parentNode.matches(selector)
|
|
1082
|
+
) {
|
|
1083
|
+
parentNode = parentNode.parentNode;
|
|
1084
|
+
}
|
|
1085
|
+
return matches ? parentNode : null;
|
|
1086
|
+
}, "closest"),
|
|
1087
|
+
"prepend",
|
|
1088
|
+
/* @__PURE__ */ __name(function prepend() {
|
|
1089
|
+
var firstChild = this.firstChild, node2 = mutationMacro(arguments);
|
|
1090
|
+
if (firstChild) {
|
|
1091
|
+
this.insertBefore(node2, firstChild);
|
|
1092
|
+
} else {
|
|
1093
|
+
this.appendChild(node2);
|
|
1094
|
+
}
|
|
1095
|
+
}, "prepend"),
|
|
1096
|
+
"append",
|
|
1097
|
+
/* @__PURE__ */ __name(function append() {
|
|
1098
|
+
this.appendChild(mutationMacro(arguments));
|
|
1099
|
+
}, "append"),
|
|
1100
|
+
"before",
|
|
1101
|
+
/* @__PURE__ */ __name(function before() {
|
|
1102
|
+
var parentNode = this.parentNode;
|
|
1103
|
+
if (parentNode) {
|
|
1104
|
+
parentNode.insertBefore(
|
|
1105
|
+
mutationMacro(arguments),
|
|
1106
|
+
this
|
|
1107
|
+
);
|
|
1108
|
+
}
|
|
1109
|
+
}, "before"),
|
|
1110
|
+
"after",
|
|
1111
|
+
/* @__PURE__ */ __name(function after() {
|
|
1112
|
+
var parentNode = this.parentNode, nextSibling = this.nextSibling, node2 = mutationMacro(arguments);
|
|
1113
|
+
if (parentNode) {
|
|
1114
|
+
if (nextSibling) {
|
|
1115
|
+
parentNode.insertBefore(node2, nextSibling);
|
|
1116
|
+
} else {
|
|
1117
|
+
parentNode.appendChild(node2);
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
}, "after"),
|
|
1121
|
+
// https://dom.spec.whatwg.org/#dom-element-toggleattribute
|
|
1122
|
+
"toggleAttribute",
|
|
1123
|
+
/* @__PURE__ */ __name(function toggleAttribute(name2, force) {
|
|
1124
|
+
var had = this.hasAttribute(name2);
|
|
1125
|
+
if (1 < arguments.length) {
|
|
1126
|
+
if (had && !force)
|
|
1127
|
+
this.removeAttribute(name2);
|
|
1128
|
+
else if (force && !had)
|
|
1129
|
+
this.setAttribute(name2, "");
|
|
1130
|
+
} else if (had)
|
|
1131
|
+
this.removeAttribute(name2);
|
|
1132
|
+
else
|
|
1133
|
+
this.setAttribute(name2, "");
|
|
1134
|
+
return this.hasAttribute(name2);
|
|
1135
|
+
}, "toggleAttribute"),
|
|
1136
|
+
// WARNING - DEPRECATED - use .replaceWith() instead
|
|
1137
|
+
"replace",
|
|
1138
|
+
/* @__PURE__ */ __name(function replace2() {
|
|
1139
|
+
this.replaceWith.apply(this, arguments);
|
|
1140
|
+
}, "replace"),
|
|
1141
|
+
"replaceWith",
|
|
1142
|
+
/* @__PURE__ */ __name(function replaceWith() {
|
|
1143
|
+
var parentNode = this.parentNode;
|
|
1144
|
+
if (parentNode) {
|
|
1145
|
+
parentNode.replaceChild(
|
|
1146
|
+
mutationMacro(arguments),
|
|
1147
|
+
this
|
|
1148
|
+
);
|
|
1149
|
+
}
|
|
1150
|
+
}, "replaceWith"),
|
|
1151
|
+
"remove",
|
|
1152
|
+
/* @__PURE__ */ __name(function remove2() {
|
|
1153
|
+
var parentNode = this.parentNode;
|
|
1154
|
+
if (parentNode) {
|
|
1155
|
+
parentNode.removeChild(this);
|
|
1156
|
+
}
|
|
1157
|
+
}, "remove")
|
|
1158
|
+
], slice2 = properties.slice, i2 = properties.length; i2; i2 -= 2) {
|
|
1159
|
+
property2 = properties[i2 - 2];
|
|
1160
|
+
if (!(property2 in ElementPrototype)) {
|
|
1161
|
+
ElementPrototype[property2] = properties[i2 - 1];
|
|
1162
|
+
}
|
|
1163
|
+
if (property2 === "remove" && !selectRemove._dom4) {
|
|
1164
|
+
(HTMLSelectElement.prototype[property2] = function() {
|
|
1165
|
+
return 0 < arguments.length ? selectRemove.apply(this, arguments) : ElementPrototype.remove.call(this);
|
|
1166
|
+
})._dom4 = true;
|
|
1167
|
+
}
|
|
1168
|
+
if (/^(?:before|after|replace|replaceWith|remove)$/.test(property2)) {
|
|
1169
|
+
if (CharacterData && !(property2 in CharacterDataPrototype)) {
|
|
1170
|
+
CharacterDataPrototype[property2] = properties[i2 - 1];
|
|
1171
|
+
}
|
|
1172
|
+
if (DocumentType && !(property2 in DocumentTypePrototype)) {
|
|
1173
|
+
DocumentTypePrototype[property2] = properties[i2 - 1];
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
if (/^(?:append|prepend)$/.test(property2)) {
|
|
1177
|
+
if (DocumentFragmentPrototype) {
|
|
1178
|
+
if (!(property2 in DocumentFragmentPrototype)) {
|
|
1179
|
+
DocumentFragmentPrototype[property2] = properties[i2 - 1];
|
|
1180
|
+
}
|
|
1181
|
+
} else {
|
|
1182
|
+
try {
|
|
1183
|
+
createDocumentFragment().constructor.prototype[property2] = properties[i2 - 1];
|
|
1184
|
+
} catch (o_O) {
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
if (!createElement("a").matches("a")) {
|
|
1190
|
+
ElementPrototype[property2] = /* @__PURE__ */ function(matches) {
|
|
1191
|
+
return function(selector) {
|
|
1192
|
+
return matches.call(
|
|
1193
|
+
this.parentNode ? this : createDocumentFragment().appendChild(this),
|
|
1194
|
+
selector
|
|
1195
|
+
);
|
|
1196
|
+
};
|
|
1197
|
+
}(ElementPrototype[property2]);
|
|
1198
|
+
}
|
|
1199
|
+
DOMTokenList.prototype = {
|
|
1200
|
+
length: 0,
|
|
1201
|
+
add: /* @__PURE__ */ __name(function add2() {
|
|
1202
|
+
for (var j2 = 0, token; j2 < arguments.length; j2++) {
|
|
1203
|
+
token = arguments[j2];
|
|
1204
|
+
if (!this.contains(token)) {
|
|
1205
|
+
properties.push.call(this, property2);
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
if (this._isSVG) {
|
|
1209
|
+
this._.setAttribute("class", "" + this);
|
|
1210
|
+
} else {
|
|
1211
|
+
this._.className = "" + this;
|
|
1212
|
+
}
|
|
1213
|
+
}, "add"),
|
|
1214
|
+
contains: /* @__PURE__ */ function(indexOf3) {
|
|
1215
|
+
return /* @__PURE__ */ __name(function contains2(token) {
|
|
1216
|
+
i2 = indexOf3.call(this, property2 = verifyToken(token));
|
|
1217
|
+
return -1 < i2;
|
|
1218
|
+
}, "contains");
|
|
1219
|
+
}([].indexOf || function(token) {
|
|
1220
|
+
i2 = this.length;
|
|
1221
|
+
while (i2-- && this[i2] !== token) {
|
|
1222
|
+
}
|
|
1223
|
+
return i2;
|
|
1224
|
+
}),
|
|
1225
|
+
item: /* @__PURE__ */ __name(function item(i3) {
|
|
1226
|
+
return this[i3] || null;
|
|
1227
|
+
}, "item"),
|
|
1228
|
+
remove: /* @__PURE__ */ __name(function remove2() {
|
|
1229
|
+
for (var j2 = 0, token; j2 < arguments.length; j2++) {
|
|
1230
|
+
token = arguments[j2];
|
|
1231
|
+
if (this.contains(token)) {
|
|
1232
|
+
properties.splice.call(this, i2, 1);
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
if (this._isSVG) {
|
|
1236
|
+
this._.setAttribute("class", "" + this);
|
|
1237
|
+
} else {
|
|
1238
|
+
this._.className = "" + this;
|
|
1239
|
+
}
|
|
1240
|
+
}, "remove"),
|
|
1241
|
+
toggle,
|
|
1242
|
+
toString: /* @__PURE__ */ __name(function toString2() {
|
|
1243
|
+
return properties.join.call(this, SPACE2);
|
|
1244
|
+
}, "toString")
|
|
1245
|
+
};
|
|
1246
|
+
if (SVGElement2 && !(CLASS_LIST in SVGElement2.prototype)) {
|
|
1247
|
+
defineProperty2(SVGElement2.prototype, CLASS_LIST, classListDescriptor);
|
|
1248
|
+
}
|
|
1249
|
+
if (!(CLASS_LIST in document2.documentElement)) {
|
|
1250
|
+
defineProperty2(ElementPrototype, CLASS_LIST, classListDescriptor);
|
|
1251
|
+
} else {
|
|
1252
|
+
TemporaryTokenList = createElement("div")[CLASS_LIST];
|
|
1253
|
+
TemporaryTokenList.add("a", "b", "a");
|
|
1254
|
+
if ("a b" != TemporaryTokenList) {
|
|
1255
|
+
TemporaryPrototype = TemporaryTokenList.constructor.prototype;
|
|
1256
|
+
if (!("add" in TemporaryPrototype)) {
|
|
1257
|
+
TemporaryPrototype = window2.TemporaryTokenList.prototype;
|
|
1258
|
+
}
|
|
1259
|
+
wrapVerifyToken = /* @__PURE__ */ __name(function(original) {
|
|
1260
|
+
return function() {
|
|
1261
|
+
var i3 = 0;
|
|
1262
|
+
while (i3 < arguments.length) {
|
|
1263
|
+
original.call(this, arguments[i3++]);
|
|
1264
|
+
}
|
|
1265
|
+
};
|
|
1266
|
+
}, "wrapVerifyToken");
|
|
1267
|
+
TemporaryPrototype.add = wrapVerifyToken(TemporaryPrototype.add);
|
|
1268
|
+
TemporaryPrototype.remove = wrapVerifyToken(TemporaryPrototype.remove);
|
|
1269
|
+
TemporaryPrototype.toggle = toggle;
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
if (!("contains" in NodePrototype)) {
|
|
1273
|
+
defineProperty2(NodePrototype, "contains", {
|
|
1274
|
+
value: function(el2) {
|
|
1275
|
+
while (el2 && el2 !== this)
|
|
1276
|
+
el2 = el2.parentNode;
|
|
1277
|
+
return this === el2;
|
|
1278
|
+
}
|
|
1279
|
+
});
|
|
1280
|
+
}
|
|
1281
|
+
if (!("head" in document2)) {
|
|
1282
|
+
defineProperty2(document2, "head", {
|
|
1283
|
+
get: function() {
|
|
1284
|
+
return head || (head = document2.getElementsByTagName("head")[0]);
|
|
1285
|
+
}
|
|
1286
|
+
});
|
|
1287
|
+
}
|
|
1288
|
+
(function() {
|
|
1289
|
+
for (var raf, rAF = window2.requestAnimationFrame, cAF = window2.cancelAnimationFrame, prefixes2 = ["o", "ms", "moz", "webkit"], i3 = prefixes2.length; !cAF && i3--; ) {
|
|
1290
|
+
rAF = rAF || window2[prefixes2[i3] + "RequestAnimationFrame"];
|
|
1291
|
+
cAF = window2[prefixes2[i3] + "CancelAnimationFrame"] || window2[prefixes2[i3] + "CancelRequestAnimationFrame"];
|
|
1292
|
+
}
|
|
1293
|
+
if (!cAF) {
|
|
1294
|
+
if (rAF) {
|
|
1295
|
+
raf = rAF;
|
|
1296
|
+
rAF = /* @__PURE__ */ __name(function(callback2) {
|
|
1297
|
+
var goOn = true;
|
|
1298
|
+
raf(function() {
|
|
1299
|
+
if (goOn)
|
|
1300
|
+
callback2.apply(this, arguments);
|
|
1301
|
+
});
|
|
1302
|
+
return function() {
|
|
1303
|
+
goOn = false;
|
|
1304
|
+
};
|
|
1305
|
+
}, "rAF");
|
|
1306
|
+
cAF = /* @__PURE__ */ __name(function(id2) {
|
|
1307
|
+
id2();
|
|
1308
|
+
}, "cAF");
|
|
1309
|
+
} else {
|
|
1310
|
+
rAF = /* @__PURE__ */ __name(function(callback2) {
|
|
1311
|
+
return setTimeout(callback2, 15, 15);
|
|
1312
|
+
}, "rAF");
|
|
1313
|
+
cAF = /* @__PURE__ */ __name(function(id2) {
|
|
1314
|
+
clearTimeout(id2);
|
|
1315
|
+
}, "cAF");
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
window2.requestAnimationFrame = rAF;
|
|
1319
|
+
window2.cancelAnimationFrame = cAF;
|
|
1320
|
+
})();
|
|
1321
|
+
try {
|
|
1322
|
+
new window2.CustomEvent("?");
|
|
1323
|
+
} catch (o_O) {
|
|
1324
|
+
window2.CustomEvent = /* @__PURE__ */ function(eventName, defaultInitDict) {
|
|
1325
|
+
function CustomEvent2(type2, eventInitDict) {
|
|
1326
|
+
var event = document2.createEvent(eventName);
|
|
1327
|
+
if (typeof type2 != "string") {
|
|
1328
|
+
throw new Error("An event name must be provided");
|
|
1329
|
+
}
|
|
1330
|
+
if (eventName == "Event") {
|
|
1331
|
+
event.initCustomEvent = initCustomEvent;
|
|
1332
|
+
}
|
|
1333
|
+
if (eventInitDict == null) {
|
|
1334
|
+
eventInitDict = defaultInitDict;
|
|
1335
|
+
}
|
|
1336
|
+
event.initCustomEvent(
|
|
1337
|
+
type2,
|
|
1338
|
+
eventInitDict.bubbles,
|
|
1339
|
+
eventInitDict.cancelable,
|
|
1340
|
+
eventInitDict.detail
|
|
1341
|
+
);
|
|
1342
|
+
return event;
|
|
1343
|
+
}
|
|
1344
|
+
__name(CustomEvent2, "CustomEvent");
|
|
1345
|
+
function initCustomEvent(type2, bubbles, cancelable, detail) {
|
|
1346
|
+
this.initEvent(type2, bubbles, cancelable);
|
|
1347
|
+
this.detail = detail;
|
|
1348
|
+
}
|
|
1349
|
+
__name(initCustomEvent, "initCustomEvent");
|
|
1350
|
+
return CustomEvent2;
|
|
1351
|
+
}(
|
|
1352
|
+
// is this IE9 or IE10 ?
|
|
1353
|
+
// where CustomEvent is there
|
|
1354
|
+
// but not usable as construtor ?
|
|
1355
|
+
window2.CustomEvent ? (
|
|
1356
|
+
// use the CustomEvent interface in such case
|
|
1357
|
+
"CustomEvent"
|
|
1358
|
+
) : "Event",
|
|
1359
|
+
// otherwise the common compatible one
|
|
1360
|
+
{
|
|
1361
|
+
bubbles: false,
|
|
1362
|
+
cancelable: false,
|
|
1363
|
+
detail: null
|
|
1364
|
+
}
|
|
1365
|
+
);
|
|
1366
|
+
}
|
|
1367
|
+
try {
|
|
1368
|
+
new Event("_");
|
|
1369
|
+
} catch (o_O) {
|
|
1370
|
+
o_O = function($Event) {
|
|
1371
|
+
function Event2(type2, init) {
|
|
1372
|
+
enoughArguments(arguments.length, "Event");
|
|
1373
|
+
var out = document2.createEvent("Event");
|
|
1374
|
+
if (!init)
|
|
1375
|
+
init = {};
|
|
1376
|
+
out.initEvent(
|
|
1377
|
+
type2,
|
|
1378
|
+
!!init.bubbles,
|
|
1379
|
+
!!init.cancelable
|
|
1380
|
+
);
|
|
1381
|
+
return out;
|
|
1382
|
+
}
|
|
1383
|
+
__name(Event2, "Event");
|
|
1384
|
+
Event2.prototype = $Event.prototype;
|
|
1385
|
+
return Event2;
|
|
1386
|
+
}(window2.Event || /* @__PURE__ */ __name(function Event2() {
|
|
1387
|
+
}, "Event"));
|
|
1388
|
+
defineProperty2(window2, "Event", { value: o_O });
|
|
1389
|
+
if (Event !== o_O)
|
|
1390
|
+
Event = o_O;
|
|
1391
|
+
}
|
|
1392
|
+
try {
|
|
1393
|
+
new KeyboardEvent("_", {});
|
|
1394
|
+
} catch (o_O) {
|
|
1395
|
+
o_O = function($KeyboardEvent) {
|
|
1396
|
+
var initType = 0, defaults2 = {
|
|
1397
|
+
char: "",
|
|
1398
|
+
key: "",
|
|
1399
|
+
location: 0,
|
|
1400
|
+
ctrlKey: false,
|
|
1401
|
+
shiftKey: false,
|
|
1402
|
+
altKey: false,
|
|
1403
|
+
metaKey: false,
|
|
1404
|
+
altGraphKey: false,
|
|
1405
|
+
repeat: false,
|
|
1406
|
+
locale: navigator.language,
|
|
1407
|
+
detail: 0,
|
|
1408
|
+
bubbles: false,
|
|
1409
|
+
cancelable: false,
|
|
1410
|
+
keyCode: 0,
|
|
1411
|
+
charCode: 0,
|
|
1412
|
+
which: 0
|
|
1413
|
+
}, eventType;
|
|
1414
|
+
try {
|
|
1415
|
+
var e2 = document2.createEvent("KeyboardEvent");
|
|
1416
|
+
e2.initKeyboardEvent(
|
|
1417
|
+
"keyup",
|
|
1418
|
+
false,
|
|
1419
|
+
false,
|
|
1420
|
+
window2,
|
|
1421
|
+
"+",
|
|
1422
|
+
3,
|
|
1423
|
+
true,
|
|
1424
|
+
false,
|
|
1425
|
+
true,
|
|
1426
|
+
false,
|
|
1427
|
+
false
|
|
1428
|
+
);
|
|
1429
|
+
initType = (e2.keyIdentifier || e2.key) == "+" && (e2.keyLocation || e2.location) == 3 && (e2.ctrlKey ? e2.altKey ? 1 : 3 : e2.shiftKey ? 2 : 4) || 9;
|
|
1430
|
+
} catch (o_O2) {
|
|
1431
|
+
}
|
|
1432
|
+
eventType = 0 < initType ? "KeyboardEvent" : "Event";
|
|
1433
|
+
function getModifier(init) {
|
|
1434
|
+
for (var out = [], keys2 = [
|
|
1435
|
+
"ctrlKey",
|
|
1436
|
+
"Control",
|
|
1437
|
+
"shiftKey",
|
|
1438
|
+
"Shift",
|
|
1439
|
+
"altKey",
|
|
1440
|
+
"Alt",
|
|
1441
|
+
"metaKey",
|
|
1442
|
+
"Meta",
|
|
1443
|
+
"altGraphKey",
|
|
1444
|
+
"AltGraph"
|
|
1445
|
+
], i3 = 0; i3 < keys2.length; i3 += 2) {
|
|
1446
|
+
if (init[keys2[i3]])
|
|
1447
|
+
out.push(keys2[i3 + 1]);
|
|
1448
|
+
}
|
|
1449
|
+
return out.join(" ");
|
|
1450
|
+
}
|
|
1451
|
+
__name(getModifier, "getModifier");
|
|
1452
|
+
function withDefaults(target, source) {
|
|
1453
|
+
for (var key2 in source) {
|
|
1454
|
+
if (source.hasOwnProperty(key2) && !source.hasOwnProperty.call(target, key2))
|
|
1455
|
+
target[key2] = source[key2];
|
|
1456
|
+
}
|
|
1457
|
+
return target;
|
|
1458
|
+
}
|
|
1459
|
+
__name(withDefaults, "withDefaults");
|
|
1460
|
+
function withInitValues(key2, out, init) {
|
|
1461
|
+
try {
|
|
1462
|
+
out[key2] = init[key2];
|
|
1463
|
+
} catch (o_O2) {
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
__name(withInitValues, "withInitValues");
|
|
1467
|
+
function KeyboardEvent2(type2, init) {
|
|
1468
|
+
enoughArguments(arguments.length, "KeyboardEvent");
|
|
1469
|
+
init = withDefaults(init || {}, defaults2);
|
|
1470
|
+
var out = document2.createEvent(eventType), ctrlKey = init.ctrlKey, shiftKey = init.shiftKey, altKey = init.altKey, metaKey = init.metaKey, altGraphKey = init.altGraphKey, modifiers2 = initType > 3 ? getModifier(init) : null, key2 = String(init.key), chr = String(init.char), location2 = init.location, keyCode = init.keyCode || (init.keyCode = key2) && key2.charCodeAt(0) || 0, charCode = init.charCode || (init.charCode = chr) && chr.charCodeAt(0) || 0, bubbles = init.bubbles, cancelable = init.cancelable, repeat = init.repeat, locale = init.locale, view2 = init.view || window2, args;
|
|
1471
|
+
if (!init.which)
|
|
1472
|
+
init.which = init.keyCode;
|
|
1473
|
+
if ("initKeyEvent" in out) {
|
|
1474
|
+
out.initKeyEvent(
|
|
1475
|
+
type2,
|
|
1476
|
+
bubbles,
|
|
1477
|
+
cancelable,
|
|
1478
|
+
view2,
|
|
1479
|
+
ctrlKey,
|
|
1480
|
+
altKey,
|
|
1481
|
+
shiftKey,
|
|
1482
|
+
metaKey,
|
|
1483
|
+
keyCode,
|
|
1484
|
+
charCode
|
|
1485
|
+
);
|
|
1486
|
+
} else if (0 < initType && "initKeyboardEvent" in out) {
|
|
1487
|
+
args = [type2, bubbles, cancelable, view2];
|
|
1488
|
+
switch (initType) {
|
|
1489
|
+
case 1:
|
|
1490
|
+
args.push(key2, location2, ctrlKey, shiftKey, altKey, metaKey, altGraphKey);
|
|
1491
|
+
break;
|
|
1492
|
+
case 2:
|
|
1493
|
+
args.push(ctrlKey, altKey, shiftKey, metaKey, keyCode, charCode);
|
|
1494
|
+
break;
|
|
1495
|
+
case 3:
|
|
1496
|
+
args.push(key2, location2, ctrlKey, altKey, shiftKey, metaKey, altGraphKey);
|
|
1497
|
+
break;
|
|
1498
|
+
case 4:
|
|
1499
|
+
args.push(key2, location2, modifiers2, repeat, locale);
|
|
1500
|
+
break;
|
|
1501
|
+
default:
|
|
1502
|
+
args.push(char, key2, location2, modifiers2, repeat, locale);
|
|
1503
|
+
}
|
|
1504
|
+
out.initKeyboardEvent.apply(out, args);
|
|
1505
|
+
} else {
|
|
1506
|
+
out.initEvent(type2, bubbles, cancelable);
|
|
1507
|
+
}
|
|
1508
|
+
for (key2 in out) {
|
|
1509
|
+
if (defaults2.hasOwnProperty(key2) && out[key2] !== init[key2]) {
|
|
1510
|
+
withInitValues(key2, out, init);
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
return out;
|
|
1514
|
+
}
|
|
1515
|
+
__name(KeyboardEvent2, "KeyboardEvent");
|
|
1516
|
+
KeyboardEvent2.prototype = $KeyboardEvent.prototype;
|
|
1517
|
+
return KeyboardEvent2;
|
|
1518
|
+
}(window2.KeyboardEvent || /* @__PURE__ */ __name(function KeyboardEvent2() {
|
|
1519
|
+
}, "KeyboardEvent"));
|
|
1520
|
+
defineProperty2(window2, "KeyboardEvent", { value: o_O });
|
|
1521
|
+
if (KeyboardEvent !== o_O)
|
|
1522
|
+
KeyboardEvent = o_O;
|
|
1523
|
+
}
|
|
1524
|
+
try {
|
|
1525
|
+
new MouseEvent("_", {});
|
|
1526
|
+
} catch (o_O) {
|
|
1527
|
+
o_O = function($MouseEvent) {
|
|
1528
|
+
function MouseEvent2(type2, init) {
|
|
1529
|
+
enoughArguments(arguments.length, "MouseEvent");
|
|
1530
|
+
var out = document2.createEvent("MouseEvent");
|
|
1531
|
+
if (!init)
|
|
1532
|
+
init = {};
|
|
1533
|
+
out.initMouseEvent(
|
|
1534
|
+
type2,
|
|
1535
|
+
!!init.bubbles,
|
|
1536
|
+
!!init.cancelable,
|
|
1537
|
+
init.view || window2,
|
|
1538
|
+
init.detail || 1,
|
|
1539
|
+
init.screenX || 0,
|
|
1540
|
+
init.screenY || 0,
|
|
1541
|
+
init.clientX || 0,
|
|
1542
|
+
init.clientY || 0,
|
|
1543
|
+
!!init.ctrlKey,
|
|
1544
|
+
!!init.altKey,
|
|
1545
|
+
!!init.shiftKey,
|
|
1546
|
+
!!init.metaKey,
|
|
1547
|
+
init.button || 0,
|
|
1548
|
+
init.relatedTarget || null
|
|
1549
|
+
);
|
|
1550
|
+
return out;
|
|
1551
|
+
}
|
|
1552
|
+
__name(MouseEvent2, "MouseEvent");
|
|
1553
|
+
MouseEvent2.prototype = $MouseEvent.prototype;
|
|
1554
|
+
return MouseEvent2;
|
|
1555
|
+
}(window2.MouseEvent || /* @__PURE__ */ __name(function MouseEvent2() {
|
|
1556
|
+
}, "MouseEvent"));
|
|
1557
|
+
defineProperty2(window2, "MouseEvent", { value: o_O });
|
|
1558
|
+
if (MouseEvent !== o_O)
|
|
1559
|
+
MouseEvent = o_O;
|
|
1560
|
+
}
|
|
1561
|
+
if (!document2.querySelectorAll("*").forEach) {
|
|
1562
|
+
(function() {
|
|
1563
|
+
function patch2(what) {
|
|
1564
|
+
var querySelectorAll2 = what.querySelectorAll;
|
|
1565
|
+
what.querySelectorAll = /* @__PURE__ */ __name(function qSA(css2) {
|
|
1566
|
+
var result = querySelectorAll2.call(this, css2);
|
|
1567
|
+
result.forEach = Array.prototype.forEach;
|
|
1568
|
+
return result;
|
|
1569
|
+
}, "qSA");
|
|
1570
|
+
}
|
|
1571
|
+
__name(patch2, "patch");
|
|
1572
|
+
patch2(document2);
|
|
1573
|
+
patch2(Element.prototype);
|
|
1574
|
+
})();
|
|
1575
|
+
}
|
|
1576
|
+
try {
|
|
1577
|
+
document2.querySelector(":scope *");
|
|
1578
|
+
} catch (o_O) {
|
|
1579
|
+
(function() {
|
|
1580
|
+
var dataScope = "data-scope-" + (Math.random() * 1e9 >>> 0);
|
|
1581
|
+
var proto2 = Element.prototype;
|
|
1582
|
+
var querySelector = proto2.querySelector;
|
|
1583
|
+
var querySelectorAll2 = proto2.querySelectorAll;
|
|
1584
|
+
proto2.querySelector = /* @__PURE__ */ __name(function qS(css2) {
|
|
1585
|
+
return find2(this, querySelector, css2);
|
|
1586
|
+
}, "qS");
|
|
1587
|
+
proto2.querySelectorAll = /* @__PURE__ */ __name(function qSA(css2) {
|
|
1588
|
+
return find2(this, querySelectorAll2, css2);
|
|
1589
|
+
}, "qSA");
|
|
1590
|
+
function find2(node2, method, css2) {
|
|
1591
|
+
if (node2.type != document2.ELEMENT_NODE)
|
|
1592
|
+
return method.call(node2, css2);
|
|
1593
|
+
node2.setAttribute(dataScope, null);
|
|
1594
|
+
var result = method.call(
|
|
1595
|
+
node2,
|
|
1596
|
+
String(css2).replace(
|
|
1597
|
+
/(^|,\s*)(:scope([ >]|$))/g,
|
|
1598
|
+
function($0, $1, $2, $3) {
|
|
1599
|
+
return $1 + "[" + dataScope + "]" + ($3 || " ");
|
|
1600
|
+
}
|
|
1601
|
+
)
|
|
1602
|
+
);
|
|
1603
|
+
node2.removeAttribute(dataScope);
|
|
1604
|
+
return result;
|
|
1605
|
+
}
|
|
1606
|
+
__name(find2, "find");
|
|
1607
|
+
})();
|
|
1608
|
+
}
|
|
1609
|
+
})(window);
|
|
1610
|
+
(function(global2) {
|
|
1611
|
+
var DOMMap = global2.WeakMap || function() {
|
|
1612
|
+
var counter3 = 0, dispatched = false, drop2 = false, value;
|
|
1613
|
+
function dispatch(key2, ce2, shouldDrop) {
|
|
1614
|
+
drop2 = shouldDrop;
|
|
1615
|
+
dispatched = false;
|
|
1616
|
+
value = void 0;
|
|
1617
|
+
key2.dispatchEvent(ce2);
|
|
1618
|
+
}
|
|
1619
|
+
__name(dispatch, "dispatch");
|
|
1620
|
+
function Handler(value2) {
|
|
1621
|
+
this.value = value2;
|
|
1622
|
+
}
|
|
1623
|
+
__name(Handler, "Handler");
|
|
1624
|
+
Handler.prototype.handleEvent = /* @__PURE__ */ __name(function handleEvent2(e2) {
|
|
1625
|
+
dispatched = true;
|
|
1626
|
+
if (drop2) {
|
|
1627
|
+
e2.currentTarget.removeEventListener(e2.type, this, false);
|
|
1628
|
+
} else {
|
|
1629
|
+
value = this.value;
|
|
1630
|
+
}
|
|
1631
|
+
}, "handleEvent");
|
|
1632
|
+
function DOMMap2() {
|
|
1633
|
+
counter3++;
|
|
1634
|
+
this.__ce__ = new Event2("@DOMMap:" + counter3 + Math.random());
|
|
1635
|
+
}
|
|
1636
|
+
__name(DOMMap2, "DOMMap");
|
|
1637
|
+
DOMMap2.prototype = {
|
|
1638
|
+
"constructor": DOMMap2,
|
|
1639
|
+
"delete": /* @__PURE__ */ __name(function del(key2) {
|
|
1640
|
+
return dispatch(key2, this.__ce__, true), dispatched;
|
|
1641
|
+
}, "del"),
|
|
1642
|
+
"get": /* @__PURE__ */ __name(function get2(key2) {
|
|
1643
|
+
dispatch(key2, this.__ce__, false);
|
|
1644
|
+
var v2 = value;
|
|
1645
|
+
value = void 0;
|
|
1646
|
+
return v2;
|
|
1647
|
+
}, "get"),
|
|
1648
|
+
"has": /* @__PURE__ */ __name(function has2(key2) {
|
|
1649
|
+
return dispatch(key2, this.__ce__, false), dispatched;
|
|
1650
|
+
}, "has"),
|
|
1651
|
+
"set": /* @__PURE__ */ __name(function set2(key2, value2) {
|
|
1652
|
+
dispatch(key2, this.__ce__, true);
|
|
1653
|
+
key2.addEventListener(this.__ce__.type, new Handler(value2), false);
|
|
1654
|
+
return this;
|
|
1655
|
+
}, "set")
|
|
1656
|
+
};
|
|
1657
|
+
return DOMMap2;
|
|
1658
|
+
}();
|
|
1659
|
+
function Dict() {
|
|
1660
|
+
}
|
|
1661
|
+
__name(Dict, "Dict");
|
|
1662
|
+
Dict.prototype = (Object.create || Object)(null);
|
|
1663
|
+
function createEventListener(type2, callback2, options) {
|
|
1664
|
+
function eventListener(e2) {
|
|
1665
|
+
if (eventListener.once) {
|
|
1666
|
+
e2.currentTarget.removeEventListener(
|
|
1667
|
+
e2.type,
|
|
1668
|
+
callback2,
|
|
1669
|
+
eventListener
|
|
1670
|
+
);
|
|
1671
|
+
eventListener.removed = true;
|
|
1672
|
+
}
|
|
1673
|
+
if (eventListener.passive) {
|
|
1674
|
+
e2.preventDefault = createEventListener.preventDefault;
|
|
1675
|
+
}
|
|
1676
|
+
if (typeof eventListener.callback === "function") {
|
|
1677
|
+
eventListener.callback.call(this, e2);
|
|
1678
|
+
} else if (eventListener.callback) {
|
|
1679
|
+
eventListener.callback.handleEvent(e2);
|
|
1680
|
+
}
|
|
1681
|
+
if (eventListener.passive) {
|
|
1682
|
+
delete e2.preventDefault;
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
__name(eventListener, "eventListener");
|
|
1686
|
+
eventListener.type = type2;
|
|
1687
|
+
eventListener.callback = callback2;
|
|
1688
|
+
eventListener.capture = !!options.capture;
|
|
1689
|
+
eventListener.passive = !!options.passive;
|
|
1690
|
+
eventListener.once = !!options.once;
|
|
1691
|
+
eventListener.removed = false;
|
|
1692
|
+
return eventListener;
|
|
1693
|
+
}
|
|
1694
|
+
__name(createEventListener, "createEventListener");
|
|
1695
|
+
createEventListener.preventDefault = /* @__PURE__ */ __name(function preventDefault2() {
|
|
1696
|
+
}, "preventDefault");
|
|
1697
|
+
var Event2 = global2.CustomEvent, dE = global2.dispatchEvent, aEL = global2.addEventListener, rEL = global2.removeEventListener, counter2 = 0, increment2 = /* @__PURE__ */ __name(function() {
|
|
1698
|
+
counter2++;
|
|
1699
|
+
}, "increment"), indexOf2 = [].indexOf || /* @__PURE__ */ __name(function indexOf3(value) {
|
|
1700
|
+
var length = this.length;
|
|
1701
|
+
while (length--) {
|
|
1702
|
+
if (this[length] === value) {
|
|
1703
|
+
break;
|
|
1704
|
+
}
|
|
1705
|
+
}
|
|
1706
|
+
return length;
|
|
1707
|
+
}, "indexOf"), getListenerKey = /* @__PURE__ */ __name(function(options) {
|
|
1708
|
+
return "".concat(
|
|
1709
|
+
options.capture ? "1" : "0",
|
|
1710
|
+
options.passive ? "1" : "0",
|
|
1711
|
+
options.once ? "1" : "0"
|
|
1712
|
+
);
|
|
1713
|
+
}, "getListenerKey"), augment;
|
|
1714
|
+
try {
|
|
1715
|
+
aEL("_", increment2, { once: true });
|
|
1716
|
+
dE(new Event2("_"));
|
|
1717
|
+
dE(new Event2("_"));
|
|
1718
|
+
rEL("_", increment2, { once: true });
|
|
1719
|
+
} catch (o_O) {
|
|
1720
|
+
}
|
|
1721
|
+
if (counter2 !== 1) {
|
|
1722
|
+
(function() {
|
|
1723
|
+
var dm = new DOMMap();
|
|
1724
|
+
function createAEL(aEL2) {
|
|
1725
|
+
return /* @__PURE__ */ __name(function addEventListener(type2, handler, options) {
|
|
1726
|
+
if (options && typeof options !== "boolean") {
|
|
1727
|
+
var info = dm.get(this), key2 = getListenerKey(options), i2, tmp, wrap2;
|
|
1728
|
+
if (!info)
|
|
1729
|
+
dm.set(this, info = new Dict());
|
|
1730
|
+
if (!(type2 in info))
|
|
1731
|
+
info[type2] = {
|
|
1732
|
+
handler: [],
|
|
1733
|
+
wrap: []
|
|
1734
|
+
};
|
|
1735
|
+
tmp = info[type2];
|
|
1736
|
+
i2 = indexOf2.call(tmp.handler, handler);
|
|
1737
|
+
if (i2 < 0) {
|
|
1738
|
+
i2 = tmp.handler.push(handler) - 1;
|
|
1739
|
+
tmp.wrap[i2] = wrap2 = new Dict();
|
|
1740
|
+
} else {
|
|
1741
|
+
wrap2 = tmp.wrap[i2];
|
|
1742
|
+
}
|
|
1743
|
+
if (!(key2 in wrap2)) {
|
|
1744
|
+
wrap2[key2] = createEventListener(type2, handler, options);
|
|
1745
|
+
aEL2.call(this, type2, wrap2[key2], wrap2[key2].capture);
|
|
1746
|
+
}
|
|
1747
|
+
} else {
|
|
1748
|
+
aEL2.call(this, type2, handler, options);
|
|
1749
|
+
}
|
|
1750
|
+
}, "addEventListener");
|
|
1751
|
+
}
|
|
1752
|
+
__name(createAEL, "createAEL");
|
|
1753
|
+
function createREL(rEL2) {
|
|
1754
|
+
return /* @__PURE__ */ __name(function removeEventListener(type2, handler, options) {
|
|
1755
|
+
if (options && typeof options !== "boolean") {
|
|
1756
|
+
var info = dm.get(this), key2, i2, tmp, wrap2;
|
|
1757
|
+
if (info && type2 in info) {
|
|
1758
|
+
tmp = info[type2];
|
|
1759
|
+
i2 = indexOf2.call(tmp.handler, handler);
|
|
1760
|
+
if (-1 < i2) {
|
|
1761
|
+
key2 = getListenerKey(options);
|
|
1762
|
+
wrap2 = tmp.wrap[i2];
|
|
1763
|
+
if (key2 in wrap2) {
|
|
1764
|
+
rEL2.call(this, type2, wrap2[key2], wrap2[key2].capture);
|
|
1765
|
+
delete wrap2[key2];
|
|
1766
|
+
for (key2 in wrap2)
|
|
1767
|
+
return;
|
|
1768
|
+
tmp.handler.splice(i2, 1);
|
|
1769
|
+
tmp.wrap.splice(i2, 1);
|
|
1770
|
+
if (tmp.handler.length === 0)
|
|
1771
|
+
delete info[type2];
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
} else {
|
|
1776
|
+
rEL2.call(this, type2, handler, options);
|
|
1777
|
+
}
|
|
1778
|
+
}, "removeEventListener");
|
|
1779
|
+
}
|
|
1780
|
+
__name(createREL, "createREL");
|
|
1781
|
+
augment = /* @__PURE__ */ __name(function(Constructor) {
|
|
1782
|
+
if (!Constructor)
|
|
1783
|
+
return;
|
|
1784
|
+
var proto2 = Constructor.prototype;
|
|
1785
|
+
proto2.addEventListener = createAEL(proto2.addEventListener);
|
|
1786
|
+
proto2.removeEventListener = createREL(proto2.removeEventListener);
|
|
1787
|
+
}, "augment");
|
|
1788
|
+
if (global2.EventTarget) {
|
|
1789
|
+
augment(EventTarget);
|
|
1790
|
+
} else {
|
|
1791
|
+
augment(global2.Text);
|
|
1792
|
+
augment(global2.Element || global2.HTMLElement);
|
|
1793
|
+
augment(global2.HTMLDocument);
|
|
1794
|
+
augment(global2.Window || { prototype: global2 });
|
|
1795
|
+
augment(global2.XMLHttpRequest);
|
|
1796
|
+
}
|
|
1797
|
+
})();
|
|
1798
|
+
}
|
|
1799
|
+
})(self);
|
|
1800
|
+
return dom4_max;
|
|
1801
|
+
}
|
|
1802
|
+
__name(requireDom4_max, "requireDom4_max");
|
|
1803
|
+
if (typeof commonjsRequire !== "undefined" && typeof window !== "undefined" && typeof document !== "undefined") {
|
|
1804
|
+
requireDom4_max();
|
|
956
1805
|
}
|
|
957
1806
|
function isRefObject(value) {
|
|
958
1807
|
return value != null && typeof value !== "function";
|
|
@@ -9203,12 +10052,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
9203
10052
|
return t2;
|
|
9204
10053
|
var e2 = t2[Symbol.toPrimitive];
|
|
9205
10054
|
if (void 0 !== e2) {
|
|
9206
|
-
var i2 = e2.call(t2, r2);
|
|
10055
|
+
var i2 = e2.call(t2, r2 || "default");
|
|
9207
10056
|
if ("object" != _typeof$7(i2))
|
|
9208
10057
|
return i2;
|
|
9209
10058
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
9210
10059
|
}
|
|
9211
|
-
return String(t2);
|
|
10060
|
+
return ("string" === r2 ? String : Number)(t2);
|
|
9212
10061
|
}
|
|
9213
10062
|
__name(toPrimitive$3, "toPrimitive$3");
|
|
9214
10063
|
function toPropertyKey(t2) {
|
|
@@ -9232,7 +10081,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
9232
10081
|
}
|
|
9233
10082
|
__name(_defineProperty$d, "_defineProperty$d");
|
|
9234
10083
|
var toStr$5 = Object.prototype.toString;
|
|
9235
|
-
var isArguments$
|
|
10084
|
+
var isArguments$9 = /* @__PURE__ */ __name(function isArguments2(value) {
|
|
9236
10085
|
var str = toStr$5.call(value);
|
|
9237
10086
|
var isArgs2 = str === "[object Arguments]";
|
|
9238
10087
|
if (!isArgs2) {
|
|
@@ -9250,7 +10099,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
9250
10099
|
if (!Object.keys) {
|
|
9251
10100
|
var has2 = Object.prototype.hasOwnProperty;
|
|
9252
10101
|
var toStr2 = Object.prototype.toString;
|
|
9253
|
-
var isArgs2 = isArguments$
|
|
10102
|
+
var isArgs2 = isArguments$9;
|
|
9254
10103
|
var isEnumerable2 = Object.prototype.propertyIsEnumerable;
|
|
9255
10104
|
var hasDontEnumBug = !isEnumerable2.call({ toString: null }, "toString");
|
|
9256
10105
|
var hasProtoEnumBug = isEnumerable2.call(function() {
|
|
@@ -9364,7 +10213,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
9364
10213
|
}
|
|
9365
10214
|
__name(requireImplementation, "requireImplementation");
|
|
9366
10215
|
var slice$1 = Array.prototype.slice;
|
|
9367
|
-
var isArgs = isArguments$
|
|
10216
|
+
var isArgs = isArguments$9;
|
|
9368
10217
|
var origKeys = Object.keys;
|
|
9369
10218
|
var keysShim = origKeys ? /* @__PURE__ */ __name(function keys2(o2) {
|
|
9370
10219
|
return origKeys(o2);
|
|
@@ -9487,7 +10336,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
9487
10336
|
}, "concatty");
|
|
9488
10337
|
var slicy = /* @__PURE__ */ __name(function slicy2(arrLike, offset2) {
|
|
9489
10338
|
var arr = [];
|
|
9490
|
-
for (var i2 = offset2, j2 = 0; i2 < arrLike.length; i2 += 1, j2 += 1) {
|
|
10339
|
+
for (var i2 = offset2 || 0, j2 = 0; i2 < arrLike.length; i2 += 1, j2 += 1) {
|
|
9491
10340
|
arr[j2] = arrLike[i2];
|
|
9492
10341
|
}
|
|
9493
10342
|
return arr;
|
|
@@ -10035,7 +10884,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10035
10884
|
return isStandardArguments(arguments);
|
|
10036
10885
|
}();
|
|
10037
10886
|
isStandardArguments.isLegacyArguments = isLegacyArguments;
|
|
10038
|
-
var isArguments$
|
|
10887
|
+
var isArguments$8 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
10039
10888
|
var keys$e = objectKeys$1;
|
|
10040
10889
|
var hasSymbols = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
|
|
10041
10890
|
var toStr$3 = Object.prototype.toString;
|
|
@@ -10329,7 +11178,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10329
11178
|
return hasToStringTag ? tryDateObject(value) : toStr$2.call(value) === dateClass;
|
|
10330
11179
|
}, "isDateObject");
|
|
10331
11180
|
var objectKeys = objectKeys$1;
|
|
10332
|
-
var isArguments$
|
|
11181
|
+
var isArguments$7 = isArguments$8;
|
|
10333
11182
|
var is$3 = objectIs;
|
|
10334
11183
|
var isRegex = isRegex$1;
|
|
10335
11184
|
var flags$1 = regexp_prototype_flags;
|
|
@@ -10350,7 +11199,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10350
11199
|
return value === null || value === void 0;
|
|
10351
11200
|
}
|
|
10352
11201
|
__name(isUndefinedOrNull, "isUndefinedOrNull");
|
|
10353
|
-
function isBuffer$
|
|
11202
|
+
function isBuffer$a(x2) {
|
|
10354
11203
|
if (!x2 || typeof x2 !== "object" || typeof x2.length !== "number") {
|
|
10355
11204
|
return false;
|
|
10356
11205
|
}
|
|
@@ -10362,7 +11211,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10362
11211
|
}
|
|
10363
11212
|
return true;
|
|
10364
11213
|
}
|
|
10365
|
-
__name(isBuffer$
|
|
11214
|
+
__name(isBuffer$a, "isBuffer$a");
|
|
10366
11215
|
function objEquiv(a2, b3, opts2) {
|
|
10367
11216
|
var i2, key2;
|
|
10368
11217
|
if (typeof a2 !== typeof b3) {
|
|
@@ -10374,7 +11223,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10374
11223
|
if (a2.prototype !== b3.prototype) {
|
|
10375
11224
|
return false;
|
|
10376
11225
|
}
|
|
10377
|
-
if (isArguments$
|
|
11226
|
+
if (isArguments$7(a2) !== isArguments$7(b3)) {
|
|
10378
11227
|
return false;
|
|
10379
11228
|
}
|
|
10380
11229
|
var aIsRegex = isRegex(a2);
|
|
@@ -10388,8 +11237,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10388
11237
|
if (isDate$2(a2) && isDate$2(b3)) {
|
|
10389
11238
|
return getTime.call(a2) === getTime.call(b3);
|
|
10390
11239
|
}
|
|
10391
|
-
var aIsBuffer = isBuffer$
|
|
10392
|
-
var bIsBuffer = isBuffer$
|
|
11240
|
+
var aIsBuffer = isBuffer$a(a2);
|
|
11241
|
+
var bIsBuffer = isBuffer$a(b3);
|
|
10393
11242
|
if (aIsBuffer !== bIsBuffer) {
|
|
10394
11243
|
return false;
|
|
10395
11244
|
}
|
|
@@ -12039,6 +12888,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
12039
12888
|
Popper$1.Utils = (typeof window !== "undefined" ? window : global).PopperUtils;
|
|
12040
12889
|
Popper$1.placements = placements$1;
|
|
12041
12890
|
Popper$1.Defaults = Defaults;
|
|
12891
|
+
const Popper$2 = Popper$1;
|
|
12042
12892
|
var lib$a = { exports: {} };
|
|
12043
12893
|
var implementation = { exports: {} };
|
|
12044
12894
|
var propTypes$1 = { exports: {} };
|
|
@@ -12431,7 +13281,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
12431
13281
|
var referenceElement = _this.props.referenceElement;
|
|
12432
13282
|
if (!referenceElement || !popperNode)
|
|
12433
13283
|
return;
|
|
12434
|
-
_this.popperInstance = new Popper$
|
|
13284
|
+
_this.popperInstance = new Popper$2(referenceElement, popperNode, _this.getOptions());
|
|
12435
13285
|
});
|
|
12436
13286
|
_defineProperty$d(_assertThisInitialized$3(_assertThisInitialized$3(_this)), "scheduleUpdate", function() {
|
|
12437
13287
|
if (_this.popperInstance) {
|
|
@@ -12479,7 +13329,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
12479
13329
|
referenceElement: void 0,
|
|
12480
13330
|
positionFixed: false
|
|
12481
13331
|
});
|
|
12482
|
-
Popper$
|
|
13332
|
+
Popper$2.placements;
|
|
12483
13333
|
function Popper(_ref) {
|
|
12484
13334
|
var referenceElement = _ref.referenceElement, props = _objectWithoutPropertiesLoose$5(_ref, ["referenceElement"]);
|
|
12485
13335
|
return reactExports.createElement(ManagerReferenceNodeContext.Consumer, null, function(referenceNode) {
|
|
@@ -18341,11 +19191,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18341
19191
|
var keys2 = combo.replace(/\s/g, "").split("+");
|
|
18342
19192
|
return keys2.map(function(key2) {
|
|
18343
19193
|
var keyName = Aliases[key2] != null ? Aliases[key2] : key2;
|
|
18344
|
-
return keyName === "meta" ? isMac$1() ? "cmd" : "ctrl" : keyName;
|
|
19194
|
+
return keyName === "meta" ? isMac$1(platformOverride) ? "cmd" : "ctrl" : keyName;
|
|
18345
19195
|
});
|
|
18346
19196
|
}, "normalizeKeyCombo");
|
|
18347
19197
|
function isMac$1(platformOverride) {
|
|
18348
|
-
var platform = typeof navigator !== "undefined" ? navigator.platform : void 0;
|
|
19198
|
+
var platform = platformOverride != null ? platformOverride : typeof navigator !== "undefined" ? navigator.platform : void 0;
|
|
18349
19199
|
return platform == null ? false : /Mac|iPod|iPhone|iPad/.test(platform);
|
|
18350
19200
|
}
|
|
18351
19201
|
__name(isMac$1, "isMac$1");
|
|
@@ -23897,6 +24747,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
23897
24747
|
*/
|
|
23898
24748
|
validator: PropTypes$1.func
|
|
23899
24749
|
};
|
|
24750
|
+
const Dropzone$1 = Dropzone;
|
|
23900
24751
|
var initialState = {
|
|
23901
24752
|
isFocused: false,
|
|
23902
24753
|
isFileDialogActive: false,
|
|
@@ -25175,6 +26026,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
25175
26026
|
function _createClass$m(Constructor, protoProps, staticProps) {
|
|
25176
26027
|
if (protoProps)
|
|
25177
26028
|
_defineProperties$3(Constructor.prototype, protoProps);
|
|
26029
|
+
if (staticProps)
|
|
26030
|
+
_defineProperties$3(Constructor, staticProps);
|
|
25178
26031
|
Object.defineProperty(Constructor, "prototype", {
|
|
25179
26032
|
writable: false
|
|
25180
26033
|
});
|
|
@@ -25243,7 +26096,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
25243
26096
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
25244
26097
|
if (it)
|
|
25245
26098
|
return (it = it.call(o2)).next.bind(it);
|
|
25246
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$8(o2)) || allowArrayLike) {
|
|
26099
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$8(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
25247
26100
|
if (it)
|
|
25248
26101
|
o2 = it;
|
|
25249
26102
|
var i2 = 0;
|
|
@@ -25266,12 +26119,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
25266
26119
|
return input;
|
|
25267
26120
|
var prim = input[Symbol.toPrimitive];
|
|
25268
26121
|
if (prim !== void 0) {
|
|
25269
|
-
var res = prim.call(input, hint);
|
|
26122
|
+
var res = prim.call(input, hint || "default");
|
|
25270
26123
|
if (typeof res !== "object")
|
|
25271
26124
|
return res;
|
|
25272
26125
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25273
26126
|
}
|
|
25274
|
-
return String(input);
|
|
26127
|
+
return (hint === "string" ? String : Number)(input);
|
|
25275
26128
|
}
|
|
25276
26129
|
__name(_toPrimitive$2, "_toPrimitive$2");
|
|
25277
26130
|
function _toPropertyKey$1(arg) {
|
|
@@ -27014,7 +27867,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
27014
27867
|
}
|
|
27015
27868
|
__name(onBecomeUnobserved, "onBecomeUnobserved");
|
|
27016
27869
|
function interceptHook(hook, thing, arg2, arg3) {
|
|
27017
|
-
var atom = getAtom(thing);
|
|
27870
|
+
var atom = typeof arg3 === "function" ? getAtom(thing, arg2) : getAtom(thing);
|
|
27018
27871
|
var cb2 = isFunction$7(arg3) ? arg3 : arg2;
|
|
27019
27872
|
var listenersKey = hook + "L";
|
|
27020
27873
|
if (atom[listenersKey]) {
|
|
@@ -27196,6 +28049,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
27196
28049
|
if (!value) {
|
|
27197
28050
|
return false;
|
|
27198
28051
|
}
|
|
28052
|
+
if (property2 !== void 0) {
|
|
28053
|
+
if (isObservableObject(value)) {
|
|
28054
|
+
return value[$mobx].values_.has(property2);
|
|
28055
|
+
}
|
|
28056
|
+
return false;
|
|
28057
|
+
}
|
|
27199
28058
|
return isObservableObject(value) || !!value[$mobx] || isAtom(value) || isReaction(value) || isComputedValue(value);
|
|
27200
28059
|
}
|
|
27201
28060
|
__name(_isObservable, "_isObservable");
|
|
@@ -28955,6 +29814,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
28955
29814
|
if (!thing) {
|
|
28956
29815
|
die(29);
|
|
28957
29816
|
}
|
|
29817
|
+
if (property2 !== void 0) {
|
|
29818
|
+
return getAdministration$1(getAtom(thing, property2));
|
|
29819
|
+
}
|
|
28958
29820
|
if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {
|
|
28959
29821
|
return thing;
|
|
28960
29822
|
}
|
|
@@ -29387,7 +30249,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
29387
30249
|
if (ReactMemoSymbol && baseComponent["$$typeof"] === ReactMemoSymbol) {
|
|
29388
30250
|
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.");
|
|
29389
30251
|
}
|
|
29390
|
-
var useForwardRef = (_a2 = void 0) !== null && _a2 !== void 0 ? _a2 : false;
|
|
30252
|
+
var useForwardRef = (_a2 = options === null || options === void 0 ? void 0 : options.forwardRef) !== null && _a2 !== void 0 ? _a2 : false;
|
|
29391
30253
|
var render2 = baseComponent;
|
|
29392
30254
|
var baseComponentName = baseComponent.displayName || baseComponent.name;
|
|
29393
30255
|
if (ReactForwardRefSymbol && baseComponent["$$typeof"] === ReactForwardRefSymbol) {
|
|
@@ -30204,6 +31066,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
30204
31066
|
return false;
|
|
30205
31067
|
}
|
|
30206
31068
|
}, "defaultShouldAsyncValidate");
|
|
31069
|
+
const defaultShouldAsyncValidate$1 = defaultShouldAsyncValidate;
|
|
30207
31070
|
var defaultShouldValidate = /* @__PURE__ */ __name(function defaultShouldValidate2(_ref) {
|
|
30208
31071
|
var values2 = _ref.values, nextProps = _ref.nextProps, initialRender = _ref.initialRender, lastFieldValidatorKeys = _ref.lastFieldValidatorKeys, fieldValidatorKeys = _ref.fieldValidatorKeys, structure2 = _ref.structure;
|
|
30209
31072
|
if (initialRender) {
|
|
@@ -30211,6 +31074,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
30211
31074
|
}
|
|
30212
31075
|
return !structure2.deepEqual(values2, nextProps && nextProps.values) || !structure2.deepEqual(lastFieldValidatorKeys, fieldValidatorKeys);
|
|
30213
31076
|
}, "defaultShouldValidate");
|
|
31077
|
+
const defaultShouldValidate$1 = defaultShouldValidate;
|
|
30214
31078
|
var defaultShouldError = /* @__PURE__ */ __name(function defaultShouldError2(_ref) {
|
|
30215
31079
|
var values2 = _ref.values, nextProps = _ref.nextProps, initialRender = _ref.initialRender, lastFieldValidatorKeys = _ref.lastFieldValidatorKeys, fieldValidatorKeys = _ref.fieldValidatorKeys, structure2 = _ref.structure;
|
|
30216
31080
|
if (initialRender) {
|
|
@@ -30218,6 +31082,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
30218
31082
|
}
|
|
30219
31083
|
return !structure2.deepEqual(values2, nextProps && nextProps.values) || !structure2.deepEqual(lastFieldValidatorKeys, fieldValidatorKeys);
|
|
30220
31084
|
}, "defaultShouldError");
|
|
31085
|
+
const defaultShouldError$1 = defaultShouldError;
|
|
30221
31086
|
var defaultShouldWarn = /* @__PURE__ */ __name(function defaultShouldWarn2(_ref) {
|
|
30222
31087
|
var values2 = _ref.values, nextProps = _ref.nextProps, initialRender = _ref.initialRender, lastFieldValidatorKeys = _ref.lastFieldValidatorKeys, fieldValidatorKeys = _ref.fieldValidatorKeys, structure2 = _ref.structure;
|
|
30223
31088
|
if (initialRender) {
|
|
@@ -30225,6 +31090,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
30225
31090
|
}
|
|
30226
31091
|
return !structure2.deepEqual(values2, nextProps && nextProps.values) || !structure2.deepEqual(lastFieldValidatorKeys, fieldValidatorKeys);
|
|
30227
31092
|
}, "defaultShouldWarn");
|
|
31093
|
+
const defaultShouldWarn$1 = defaultShouldWarn;
|
|
30228
31094
|
var FormName = /* @__PURE__ */ __name(function FormName2(_ref) {
|
|
30229
31095
|
var children = _ref.children, _reduxForm = _ref._reduxForm;
|
|
30230
31096
|
return children({
|
|
@@ -30237,6 +31103,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
30237
31103
|
var sectionPrefix = _ref._reduxForm.sectionPrefix;
|
|
30238
31104
|
return sectionPrefix ? sectionPrefix + "." + name2 : name2;
|
|
30239
31105
|
}, "formatName");
|
|
31106
|
+
const prefixName = formatName;
|
|
30240
31107
|
var reactIs$3 = { exports: {} };
|
|
30241
31108
|
var reactIs_production_min$2 = {};
|
|
30242
31109
|
/** @license React v16.13.1
|
|
@@ -30347,6 +31214,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
30347
31214
|
}
|
|
30348
31215
|
return null;
|
|
30349
31216
|
}, "validateComponentProp");
|
|
31217
|
+
const validateComponentProp$1 = validateComponentProp;
|
|
30350
31218
|
function _classCallCheck$p(instance, Constructor) {
|
|
30351
31219
|
if (!(instance instanceof Constructor)) {
|
|
30352
31220
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -30454,6 +31322,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
30454
31322
|
function _createClass$l(Constructor, protoProps, staticProps) {
|
|
30455
31323
|
if (protoProps)
|
|
30456
31324
|
_defineProperties$2(Constructor.prototype, protoProps);
|
|
31325
|
+
if (staticProps)
|
|
31326
|
+
_defineProperties$2(Constructor, staticProps);
|
|
30457
31327
|
Object.defineProperty(Constructor, "prototype", {
|
|
30458
31328
|
writable: false
|
|
30459
31329
|
});
|
|
@@ -31580,6 +32450,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
31580
32450
|
copy2[index2] = value;
|
|
31581
32451
|
return copy2;
|
|
31582
32452
|
}, "splice");
|
|
32453
|
+
const splice$5 = splice$4;
|
|
31583
32454
|
function arrayMap$7(array, iteratee) {
|
|
31584
32455
|
var index2 = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
31585
32456
|
while (++index2 < length) {
|
|
@@ -32073,6 +32944,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
32073
32944
|
}
|
|
32074
32945
|
return result;
|
|
32075
32946
|
}, "getIn");
|
|
32947
|
+
const getIn$1 = getIn;
|
|
32076
32948
|
var setInWithPath = /* @__PURE__ */ __name(function setInWithPath2(state2, value, path2, pathIndex) {
|
|
32077
32949
|
var _extends2;
|
|
32078
32950
|
if (pathIndex >= path2.length) {
|
|
@@ -32100,6 +32972,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
32100
32972
|
var setIn = /* @__PURE__ */ __name(function setIn2(state2, field, value) {
|
|
32101
32973
|
return setInWithPath(state2, value, _toPath(field), 0);
|
|
32102
32974
|
}, "setIn");
|
|
32975
|
+
const setIn$1 = setIn;
|
|
32103
32976
|
function isNil$1(value) {
|
|
32104
32977
|
return value == null;
|
|
32105
32978
|
}
|
|
@@ -32389,19 +33262,19 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
32389
33262
|
var objectProto$u = Object.prototype;
|
|
32390
33263
|
var hasOwnProperty$u = objectProto$u.hasOwnProperty;
|
|
32391
33264
|
var propertyIsEnumerable$2 = objectProto$u.propertyIsEnumerable;
|
|
32392
|
-
var isArguments$
|
|
33265
|
+
var isArguments$6 = baseIsArguments$1(/* @__PURE__ */ function() {
|
|
32393
33266
|
return arguments;
|
|
32394
33267
|
}()) ? baseIsArguments$1 : function(value) {
|
|
32395
33268
|
return isObjectLike$a(value) && hasOwnProperty$u.call(value, "callee") && !propertyIsEnumerable$2.call(value, "callee");
|
|
32396
33269
|
};
|
|
32397
|
-
var isArguments_1 = isArguments$
|
|
32398
|
-
var isBuffer$
|
|
33270
|
+
var isArguments_1 = isArguments$6;
|
|
33271
|
+
var isBuffer$9 = { exports: {} };
|
|
32399
33272
|
function stubFalse$1() {
|
|
32400
33273
|
return false;
|
|
32401
33274
|
}
|
|
32402
33275
|
__name(stubFalse$1, "stubFalse$1");
|
|
32403
33276
|
var stubFalse_1 = stubFalse$1;
|
|
32404
|
-
isBuffer$
|
|
33277
|
+
isBuffer$9.exports;
|
|
32405
33278
|
(function(module2, exports3) {
|
|
32406
33279
|
var root2 = _root, stubFalse2 = stubFalse_1;
|
|
32407
33280
|
var freeExports2 = exports3 && !exports3.nodeType && exports3;
|
|
@@ -32411,8 +33284,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
32411
33284
|
var nativeIsBuffer2 = Buffer2 ? Buffer2.isBuffer : void 0;
|
|
32412
33285
|
var isBuffer2 = nativeIsBuffer2 || stubFalse2;
|
|
32413
33286
|
module2.exports = isBuffer2;
|
|
32414
|
-
})(isBuffer$
|
|
32415
|
-
var isBufferExports = isBuffer$
|
|
33287
|
+
})(isBuffer$9, isBuffer$9.exports);
|
|
33288
|
+
var isBufferExports = isBuffer$9.exports;
|
|
32416
33289
|
var MAX_SAFE_INTEGER$5 = 9007199254740991;
|
|
32417
33290
|
var reIsUint$1 = /^(?:0|[1-9]\d*)$/;
|
|
32418
33291
|
function isIndex$4(value, length) {
|
|
@@ -32469,13 +33342,13 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
32469
33342
|
var _nodeUtilExports = _nodeUtil.exports;
|
|
32470
33343
|
var baseIsTypedArray$1 = _baseIsTypedArray, baseUnary$5 = _baseUnary, nodeUtil$3 = _nodeUtilExports;
|
|
32471
33344
|
var nodeIsTypedArray$1 = nodeUtil$3 && nodeUtil$3.isTypedArray;
|
|
32472
|
-
var isTypedArray$
|
|
32473
|
-
var isTypedArray_1 = isTypedArray$
|
|
32474
|
-
var baseTimes$1 = _baseTimes, isArguments$
|
|
33345
|
+
var isTypedArray$5 = nodeIsTypedArray$1 ? baseUnary$5(nodeIsTypedArray$1) : baseIsTypedArray$1;
|
|
33346
|
+
var isTypedArray_1 = isTypedArray$5;
|
|
33347
|
+
var baseTimes$1 = _baseTimes, isArguments$5 = isArguments_1, isArray$n = isArray_1, isBuffer$8 = isBufferExports, isIndex$3 = _isIndex, isTypedArray$4 = isTypedArray_1;
|
|
32475
33348
|
var objectProto$t = Object.prototype;
|
|
32476
33349
|
var hasOwnProperty$t = objectProto$t.hasOwnProperty;
|
|
32477
33350
|
function arrayLikeKeys$3(value, inherited) {
|
|
32478
|
-
var isArr = isArray$n(value), isArg = !isArr && isArguments$
|
|
33351
|
+
var isArr = isArray$n(value), isArg = !isArr && isArguments$5(value), isBuff = !isArr && !isArg && isBuffer$8(value), isType2 = !isArr && !isArg && !isBuff && isTypedArray$4(value), skipIndexes = isArr || isArg || isBuff || isType2, result = skipIndexes ? baseTimes$1(value.length, String) : [], length = result.length;
|
|
32479
33352
|
for (var key2 in value) {
|
|
32480
33353
|
if ((inherited || hasOwnProperty$t.call(value, key2)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
32481
33354
|
(key2 == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -32606,9 +33479,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
32606
33479
|
var mapTag$b = "[object Map]", objectTag$8 = "[object Object]", promiseTag$1 = "[object Promise]", setTag$b = "[object Set]", weakMapTag$4 = "[object WeakMap]";
|
|
32607
33480
|
var dataViewTag$7 = "[object DataView]";
|
|
32608
33481
|
var dataViewCtorString$1 = toSource$1(DataView$2), mapCtorString$1 = toSource$1(Map$2), promiseCtorString$1 = toSource$1(Promise$3), setCtorString$1 = toSource$1(Set$2), weakMapCtorString$1 = toSource$1(WeakMap$2);
|
|
32609
|
-
var getTag$
|
|
32610
|
-
if (DataView$2 && getTag$
|
|
32611
|
-
getTag$
|
|
33482
|
+
var getTag$7 = baseGetTag$4;
|
|
33483
|
+
if (DataView$2 && getTag$7(new DataView$2(new ArrayBuffer(1))) != dataViewTag$7 || Map$2 && getTag$7(new Map$2()) != mapTag$b || Promise$3 && getTag$7(Promise$3.resolve()) != promiseTag$1 || Set$2 && getTag$7(new Set$2()) != setTag$b || WeakMap$2 && getTag$7(new WeakMap$2()) != weakMapTag$4) {
|
|
33484
|
+
getTag$7 = /* @__PURE__ */ __name(function(value) {
|
|
32612
33485
|
var result = baseGetTag$4(value), Ctor = result == objectTag$8 ? value.constructor : void 0, ctorString = Ctor ? toSource$1(Ctor) : "";
|
|
32613
33486
|
if (ctorString) {
|
|
32614
33487
|
switch (ctorString) {
|
|
@@ -32625,21 +33498,21 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
32625
33498
|
}
|
|
32626
33499
|
}
|
|
32627
33500
|
return result;
|
|
32628
|
-
}, "getTag$
|
|
33501
|
+
}, "getTag$7");
|
|
32629
33502
|
}
|
|
32630
|
-
var _getTag = getTag$
|
|
32631
|
-
var Stack$4 = _Stack, equalArrays$1 = _equalArrays, equalByTag$1 = _equalByTag, equalObjects$1 = _equalObjects, getTag$
|
|
33503
|
+
var _getTag = getTag$7;
|
|
33504
|
+
var Stack$4 = _Stack, equalArrays$1 = _equalArrays, equalByTag$1 = _equalByTag, equalObjects$1 = _equalObjects, getTag$6 = _getTag, isArray$m = isArray_1, isBuffer$7 = isBufferExports, isTypedArray$3 = isTypedArray_1;
|
|
32632
33505
|
var COMPARE_PARTIAL_FLAG$8 = 1;
|
|
32633
33506
|
var argsTag$5 = "[object Arguments]", arrayTag$4 = "[object Array]", objectTag$7 = "[object Object]";
|
|
32634
33507
|
var objectProto$p = Object.prototype;
|
|
32635
33508
|
var hasOwnProperty$q = objectProto$p.hasOwnProperty;
|
|
32636
33509
|
function baseIsEqualDeep$2(object2, other, bitmask, customizer2, equalFunc, stack) {
|
|
32637
|
-
var objIsArr = isArray$m(object2), othIsArr = isArray$m(other), objTag = objIsArr ? arrayTag$4 : getTag$
|
|
33510
|
+
var objIsArr = isArray$m(object2), othIsArr = isArray$m(other), objTag = objIsArr ? arrayTag$4 : getTag$6(object2), othTag = othIsArr ? arrayTag$4 : getTag$6(other);
|
|
32638
33511
|
objTag = objTag == argsTag$5 ? objectTag$7 : objTag;
|
|
32639
33512
|
othTag = othTag == argsTag$5 ? objectTag$7 : othTag;
|
|
32640
33513
|
var objIsObj = objTag == objectTag$7, othIsObj = othTag == objectTag$7, isSameTag = objTag == othTag;
|
|
32641
|
-
if (isSameTag && isBuffer$
|
|
32642
|
-
if (!isBuffer$
|
|
33514
|
+
if (isSameTag && isBuffer$7(object2)) {
|
|
33515
|
+
if (!isBuffer$7(other)) {
|
|
32643
33516
|
return false;
|
|
32644
33517
|
}
|
|
32645
33518
|
objIsArr = true;
|
|
@@ -32647,7 +33520,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
32647
33520
|
}
|
|
32648
33521
|
if (isSameTag && !objIsObj) {
|
|
32649
33522
|
stack || (stack = new Stack$4());
|
|
32650
|
-
return objIsArr || isTypedArray$
|
|
33523
|
+
return objIsArr || isTypedArray$3(object2) ? equalArrays$1(object2, other, bitmask, customizer2, equalFunc, stack) : equalByTag$1(object2, other, objTag, bitmask, customizer2, equalFunc, stack);
|
|
32651
33524
|
}
|
|
32652
33525
|
if (!(bitmask & COMPARE_PARTIAL_FLAG$8)) {
|
|
32653
33526
|
var objIsWrapped = objIsObj && hasOwnProperty$q.call(object2, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$q.call(other, "__wrapped__");
|
|
@@ -32758,6 +33631,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
32758
33631
|
var deleteIn = /* @__PURE__ */ __name(function deleteIn2(state2, field) {
|
|
32759
33632
|
return deleteInWithPath.apply(void 0, [state2].concat(_toPath(field)));
|
|
32760
33633
|
}, "deleteIn");
|
|
33634
|
+
const deleteIn$1 = deleteIn;
|
|
32761
33635
|
function keys$b(value) {
|
|
32762
33636
|
if (!value) {
|
|
32763
33637
|
return [];
|
|
@@ -32774,10 +33648,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
32774
33648
|
allowsArrayErrors: true,
|
|
32775
33649
|
empty: {},
|
|
32776
33650
|
emptyList: [],
|
|
32777
|
-
getIn,
|
|
32778
|
-
setIn,
|
|
33651
|
+
getIn: getIn$1,
|
|
33652
|
+
setIn: setIn$1,
|
|
32779
33653
|
deepEqual,
|
|
32780
|
-
deleteIn,
|
|
33654
|
+
deleteIn: deleteIn$1,
|
|
32781
33655
|
forEach: /* @__PURE__ */ __name(function forEach2(items, callback2) {
|
|
32782
33656
|
return items.forEach(callback2);
|
|
32783
33657
|
}, "forEach"),
|
|
@@ -32791,7 +33665,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
32791
33665
|
some: /* @__PURE__ */ __name(function some2(items, callback2) {
|
|
32792
33666
|
return items.some(callback2);
|
|
32793
33667
|
}, "some"),
|
|
32794
|
-
splice: splice$
|
|
33668
|
+
splice: splice$5,
|
|
32795
33669
|
equals: /* @__PURE__ */ __name(function equals(a2, b3) {
|
|
32796
33670
|
return b3.every(function(val2) {
|
|
32797
33671
|
return ~a2.indexOf(val2);
|
|
@@ -33006,7 +33880,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
33006
33880
|
return ConnectedField2;
|
|
33007
33881
|
}(reactExports.Component);
|
|
33008
33882
|
ConnectedField.propTypes = {
|
|
33009
|
-
component: validateComponentProp,
|
|
33883
|
+
component: validateComponentProp$1,
|
|
33010
33884
|
props: PropTypes$1.object
|
|
33011
33885
|
};
|
|
33012
33886
|
var connector = connect(function(state2, ownProps) {
|
|
@@ -33090,8 +33964,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
33090
33964
|
}, "shouldComponentUpdate");
|
|
33091
33965
|
_proto.componentDidUpdate = /* @__PURE__ */ __name(function componentDidUpdate(prevProps) {
|
|
33092
33966
|
var _this3 = this;
|
|
33093
|
-
var oldName =
|
|
33094
|
-
var newName =
|
|
33967
|
+
var oldName = prefixName(prevProps, prevProps.name);
|
|
33968
|
+
var newName = prefixName(this.props, this.props.name);
|
|
33095
33969
|
if (oldName !== newName || // use deepEqual here because they could be a function or an array of functions
|
|
33096
33970
|
!structure.deepEqual(prevProps.validate, this.props.validate) || !structure.deepEqual(prevProps.warn, this.props.warn)) {
|
|
33097
33971
|
this.props._reduxForm.unregister(oldName);
|
|
@@ -33119,7 +33993,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
33119
33993
|
_createClass$l(Field3, [{
|
|
33120
33994
|
key: "name",
|
|
33121
33995
|
get: /* @__PURE__ */ __name(function get2() {
|
|
33122
|
-
return
|
|
33996
|
+
return prefixName(this.props, this.props.name);
|
|
33123
33997
|
}, "get")
|
|
33124
33998
|
}, {
|
|
33125
33999
|
key: "dirty",
|
|
@@ -33141,7 +34015,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
33141
34015
|
}(reactExports.Component);
|
|
33142
34016
|
Field2.propTypes = {
|
|
33143
34017
|
name: PropTypes$1.string.isRequired,
|
|
33144
|
-
component: validateComponentProp,
|
|
34018
|
+
component: validateComponentProp$1,
|
|
33145
34019
|
format: PropTypes$1.func,
|
|
33146
34020
|
normalize: PropTypes$1.func,
|
|
33147
34021
|
onBlur: PropTypes$1.func,
|
|
@@ -33329,7 +34203,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
33329
34203
|
}
|
|
33330
34204
|
__name(baseHasIn$2, "baseHasIn$2");
|
|
33331
34205
|
var _baseHasIn = baseHasIn$2;
|
|
33332
|
-
var castPath$3 = _castPath, isArguments$
|
|
34206
|
+
var castPath$3 = _castPath, isArguments$4 = isArguments_1, isArray$j = isArray_1, isIndex$2 = _isIndex, isLength$2 = isLength_1, toKey$4 = _toKey;
|
|
33333
34207
|
function hasPath$2(object2, path2, hasFunc) {
|
|
33334
34208
|
path2 = castPath$3(path2, object2);
|
|
33335
34209
|
var index2 = -1, length = path2.length, result = false;
|
|
@@ -33344,7 +34218,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
33344
34218
|
return result;
|
|
33345
34219
|
}
|
|
33346
34220
|
length = object2 == null ? 0 : object2.length;
|
|
33347
|
-
return !!length && isLength$2(length) && isIndex$2(key2, length) && (isArray$j(object2) || isArguments$
|
|
34221
|
+
return !!length && isLength$2(length) && isIndex$2(key2, length) && (isArray$j(object2) || isArguments$4(object2));
|
|
33348
34222
|
}
|
|
33349
34223
|
__name(hasPath$2, "hasPath$2");
|
|
33350
34224
|
var _hasPath = hasPath$2;
|
|
@@ -33881,7 +34755,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
33881
34755
|
return ConnectedFieldArray2;
|
|
33882
34756
|
}(reactExports.Component);
|
|
33883
34757
|
ConnectedFieldArray.propTypes = {
|
|
33884
|
-
component: validateComponentProp,
|
|
34758
|
+
component: validateComponentProp$1,
|
|
33885
34759
|
props: PropTypes$1.object,
|
|
33886
34760
|
rerenderOnEveryChange: PropTypes$1.bool
|
|
33887
34761
|
};
|
|
@@ -33972,8 +34846,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
33972
34846
|
});
|
|
33973
34847
|
}, "componentDidMount");
|
|
33974
34848
|
_proto.componentDidUpdate = /* @__PURE__ */ __name(function componentDidUpdate(prevProps) {
|
|
33975
|
-
var oldName =
|
|
33976
|
-
var newName =
|
|
34849
|
+
var oldName = prefixName(prevProps, prevProps.name);
|
|
34850
|
+
var newName = prefixName(this.props, this.props.name);
|
|
33977
34851
|
if (oldName !== newName) {
|
|
33978
34852
|
this.props._reduxForm.unregister(oldName);
|
|
33979
34853
|
this.props._reduxForm.register(newName, "FieldArray");
|
|
@@ -33995,7 +34869,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
33995
34869
|
_createClass$l(FieldArray3, [{
|
|
33996
34870
|
key: "name",
|
|
33997
34871
|
get: /* @__PURE__ */ __name(function get2() {
|
|
33998
|
-
return
|
|
34872
|
+
return prefixName(this.props, this.props.name);
|
|
33999
34873
|
}, "get")
|
|
34000
34874
|
}, {
|
|
34001
34875
|
key: "dirty",
|
|
@@ -34017,7 +34891,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
34017
34891
|
}(reactExports.Component);
|
|
34018
34892
|
FieldArray2.propTypes = {
|
|
34019
34893
|
name: PropTypes$1.string.isRequired,
|
|
34020
|
-
component: validateComponentProp,
|
|
34894
|
+
component: validateComponentProp$1,
|
|
34021
34895
|
props: PropTypes$1.object,
|
|
34022
34896
|
validate: PropTypes$1.oneOfType([PropTypes$1.func, PropTypes$1.arrayOf(PropTypes$1.func)]),
|
|
34023
34897
|
warn: PropTypes$1.oneOfType([PropTypes$1.func, PropTypes$1.arrayOf(PropTypes$1.func)]),
|
|
@@ -34313,7 +35187,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
34313
35187
|
}
|
|
34314
35188
|
__name(toPlainObject$2, "toPlainObject$2");
|
|
34315
35189
|
var toPlainObject_1 = toPlainObject$2;
|
|
34316
|
-
var assignMergeValue$2 = _assignMergeValue, cloneBuffer$2 = _cloneBufferExports, cloneTypedArray$2 = _cloneTypedArray, copyArray$2 = _copyArray, initCloneObject$2 = _initCloneObject, isArguments$
|
|
35190
|
+
var assignMergeValue$2 = _assignMergeValue, cloneBuffer$2 = _cloneBufferExports, cloneTypedArray$2 = _cloneTypedArray, copyArray$2 = _copyArray, initCloneObject$2 = _initCloneObject, isArguments$3 = isArguments_1, isArray$h = isArray_1, isArrayLikeObject$2 = isArrayLikeObject_1, isBuffer$6 = isBufferExports, isFunction$2 = isFunction_1, isObject$a = isObject_1, isPlainObject$4 = isPlainObject_1, isTypedArray$2 = isTypedArray_1, safeGet$2 = _safeGet, toPlainObject$1 = toPlainObject_1;
|
|
34317
35191
|
function baseMergeDeep$2(object2, source, key2, srcIndex, mergeFunc, customizer2, stack) {
|
|
34318
35192
|
var objValue = safeGet$2(object2, key2), srcValue = safeGet$2(source, key2), stacked = stack.get(srcValue);
|
|
34319
35193
|
if (stacked) {
|
|
@@ -34323,7 +35197,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
34323
35197
|
var newValue = customizer2 ? customizer2(objValue, srcValue, key2 + "", object2, source, stack) : void 0;
|
|
34324
35198
|
var isCommon = newValue === void 0;
|
|
34325
35199
|
if (isCommon) {
|
|
34326
|
-
var isArr = isArray$h(srcValue), isBuff = !isArr && isBuffer$
|
|
35200
|
+
var isArr = isArray$h(srcValue), isBuff = !isArr && isBuffer$6(srcValue), isTyped = !isArr && !isBuff && isTypedArray$2(srcValue);
|
|
34327
35201
|
newValue = srcValue;
|
|
34328
35202
|
if (isArr || isBuff || isTyped) {
|
|
34329
35203
|
if (isArray$h(objValue)) {
|
|
@@ -34339,9 +35213,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
34339
35213
|
} else {
|
|
34340
35214
|
newValue = [];
|
|
34341
35215
|
}
|
|
34342
|
-
} else if (isPlainObject$4(srcValue) || isArguments$
|
|
35216
|
+
} else if (isPlainObject$4(srcValue) || isArguments$3(srcValue)) {
|
|
34343
35217
|
newValue = objValue;
|
|
34344
|
-
if (isArguments$
|
|
35218
|
+
if (isArguments$3(objValue)) {
|
|
34345
35219
|
newValue = toPlainObject$1(objValue);
|
|
34346
35220
|
} else if (!isObject$a(objValue) || isFunction$2(objValue)) {
|
|
34347
35221
|
newValue = initCloneObject$2(srcValue);
|
|
@@ -34422,7 +35296,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
34422
35296
|
__name(constant$2, "constant$2");
|
|
34423
35297
|
var constant_1 = constant$2;
|
|
34424
35298
|
var constant$1 = constant_1, defineProperty$6 = _defineProperty$a, identity$7 = identity_1;
|
|
34425
|
-
var baseSetToString$
|
|
35299
|
+
var baseSetToString$3 = !defineProperty$6 ? identity$7 : function(func, string2) {
|
|
34426
35300
|
return defineProperty$6(func, "toString", {
|
|
34427
35301
|
"configurable": true,
|
|
34428
35302
|
"enumerable": false,
|
|
@@ -34430,7 +35304,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
34430
35304
|
"writable": true
|
|
34431
35305
|
});
|
|
34432
35306
|
};
|
|
34433
|
-
var _baseSetToString = baseSetToString$
|
|
35307
|
+
var _baseSetToString = baseSetToString$3;
|
|
34434
35308
|
var HOT_COUNT$1 = 800, HOT_SPAN$1 = 16;
|
|
34435
35309
|
var nativeNow$1 = Date.now;
|
|
34436
35310
|
function shortOut$2(func) {
|
|
@@ -34450,8 +35324,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
34450
35324
|
}
|
|
34451
35325
|
__name(shortOut$2, "shortOut$2");
|
|
34452
35326
|
var _shortOut = shortOut$2;
|
|
34453
|
-
var baseSetToString$
|
|
34454
|
-
var setToString$3 = shortOut$1(baseSetToString$
|
|
35327
|
+
var baseSetToString$2 = _baseSetToString, shortOut$1 = _shortOut;
|
|
35328
|
+
var setToString$3 = shortOut$1(baseSetToString$2);
|
|
34455
35329
|
var _setToString = setToString$3;
|
|
34456
35330
|
var identity$6 = identity_1, overRest$2 = _overRest, setToString$2 = _setToString;
|
|
34457
35331
|
function baseRest$4(func, start2) {
|
|
@@ -34703,10 +35577,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
34703
35577
|
touchOnChange: false,
|
|
34704
35578
|
persistentSubmitErrors: false,
|
|
34705
35579
|
destroyOnUnmount: true,
|
|
34706
|
-
shouldAsyncValidate: defaultShouldAsyncValidate,
|
|
34707
|
-
shouldValidate: defaultShouldValidate,
|
|
34708
|
-
shouldError: defaultShouldError,
|
|
34709
|
-
shouldWarn: defaultShouldWarn,
|
|
35580
|
+
shouldAsyncValidate: defaultShouldAsyncValidate$1,
|
|
35581
|
+
shouldValidate: defaultShouldValidate$1,
|
|
35582
|
+
shouldError: defaultShouldError$1,
|
|
35583
|
+
shouldWarn: defaultShouldWarn$1,
|
|
34710
35584
|
enableReinitialize: false,
|
|
34711
35585
|
keepDirtyOnReinitialize: false,
|
|
34712
35586
|
updateUnregisteredFields: false,
|
|
@@ -34780,8 +35654,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
34780
35654
|
};
|
|
34781
35655
|
_this.shouldErrorFunction = function() {
|
|
34782
35656
|
var _this$props3 = _this.props, shouldValidate = _this$props3.shouldValidate, shouldError = _this$props3.shouldError;
|
|
34783
|
-
var shouldValidateOverridden = shouldValidate !== defaultShouldValidate;
|
|
34784
|
-
var shouldErrorOverridden = shouldError !== defaultShouldError;
|
|
35657
|
+
var shouldValidateOverridden = shouldValidate !== defaultShouldValidate$1;
|
|
35658
|
+
var shouldErrorOverridden = shouldError !== defaultShouldError$1;
|
|
34785
35659
|
return shouldValidateOverridden && !shouldErrorOverridden ? shouldValidate : shouldError;
|
|
34786
35660
|
};
|
|
34787
35661
|
_this.validateIfNeeded = function(nextProps) {
|
|
@@ -34820,8 +35694,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
34820
35694
|
};
|
|
34821
35695
|
_this.shouldWarnFunction = function() {
|
|
34822
35696
|
var _this$props6 = _this.props, shouldValidate = _this$props6.shouldValidate, shouldWarn = _this$props6.shouldWarn;
|
|
34823
|
-
var shouldValidateOverridden = shouldValidate !== defaultShouldValidate;
|
|
34824
|
-
var shouldWarnOverridden = shouldWarn !== defaultShouldWarn;
|
|
35697
|
+
var shouldValidateOverridden = shouldValidate !== defaultShouldValidate$1;
|
|
35698
|
+
var shouldWarnOverridden = shouldWarn !== defaultShouldWarn$1;
|
|
34825
35699
|
return shouldValidateOverridden && !shouldWarnOverridden ? shouldValidate : shouldWarn;
|
|
34826
35700
|
};
|
|
34827
35701
|
_this.warnIfNeeded = function(nextProps) {
|
|
@@ -36474,6 +37348,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
36474
37348
|
var pn = an.applyPatches.bind(an);
|
|
36475
37349
|
an.createDraft.bind(an);
|
|
36476
37350
|
an.finishDraft.bind(an);
|
|
37351
|
+
const immer = fn;
|
|
36477
37352
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
36478
37353
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
36479
37354
|
var root$2 = freeGlobal || freeSelf || Function("return this")();
|
|
@@ -36757,7 +37632,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
36757
37632
|
"writable": true
|
|
36758
37633
|
});
|
|
36759
37634
|
};
|
|
36760
|
-
|
|
37635
|
+
const baseSetToString$1 = baseSetToString;
|
|
37636
|
+
var setToString$1 = shortOut(baseSetToString$1);
|
|
36761
37637
|
function arrayEach$3(array, iteratee) {
|
|
36762
37638
|
var index2 = -1, length = array == null ? 0 : array.length;
|
|
36763
37639
|
while (++index2 < length) {
|
|
@@ -36769,8 +37645,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
36769
37645
|
}
|
|
36770
37646
|
__name(arrayEach$3, "arrayEach$3");
|
|
36771
37647
|
function baseFindIndex$3(array, predicate, fromIndex, fromRight) {
|
|
36772
|
-
var length = array.length, index2 = fromIndex + -1;
|
|
36773
|
-
while (++index2 < length) {
|
|
37648
|
+
var length = array.length, index2 = fromIndex + (fromRight ? 1 : -1);
|
|
37649
|
+
while (fromRight ? index2-- : ++index2 < length) {
|
|
36774
37650
|
if (predicate(array[index2], index2, array)) {
|
|
36775
37651
|
return index2;
|
|
36776
37652
|
}
|
|
@@ -36841,7 +37717,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
36841
37717
|
var index2 = -1, length = props.length;
|
|
36842
37718
|
while (++index2 < length) {
|
|
36843
37719
|
var key2 = props[index2];
|
|
36844
|
-
var newValue = void 0;
|
|
37720
|
+
var newValue = customizer2 ? customizer2(object2[key2], source[key2], key2, object2, source) : void 0;
|
|
36845
37721
|
if (newValue === void 0) {
|
|
36846
37722
|
newValue = source[key2];
|
|
36847
37723
|
}
|
|
@@ -36942,6 +37818,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
36942
37818
|
}()) ? baseIsArguments : function(value) {
|
|
36943
37819
|
return isObjectLike$5(value) && hasOwnProperty$j.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
|
|
36944
37820
|
};
|
|
37821
|
+
const isArguments$2 = isArguments$1;
|
|
36945
37822
|
function stubFalse() {
|
|
36946
37823
|
return false;
|
|
36947
37824
|
}
|
|
@@ -36952,6 +37829,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
36952
37829
|
var Buffer$4 = moduleExports$2 ? root$2.Buffer : void 0;
|
|
36953
37830
|
var nativeIsBuffer = Buffer$4 ? Buffer$4.isBuffer : void 0;
|
|
36954
37831
|
var isBuffer$4 = nativeIsBuffer || stubFalse;
|
|
37832
|
+
const isBuffer$5 = isBuffer$4;
|
|
36955
37833
|
var argsTag$3 = "[object Arguments]", arrayTag$3 = "[object Array]", boolTag$5 = "[object Boolean]", dateTag$5 = "[object Date]", errorTag$3 = "[object Error]", funcTag$2 = "[object Function]", mapTag$a = "[object Map]", numberTag$7 = "[object Number]", objectTag$5 = "[object Object]", regexpTag$5 = "[object RegExp]", setTag$a = "[object Set]", stringTag$7 = "[object String]", weakMapTag$3 = "[object WeakMap]";
|
|
36956
37834
|
var arrayBufferTag$5 = "[object ArrayBuffer]", dataViewTag$6 = "[object DataView]", float32Tag$4 = "[object Float32Array]", float64Tag$4 = "[object Float64Array]", int8Tag$4 = "[object Int8Array]", int16Tag$4 = "[object Int16Array]", int32Tag$4 = "[object Int32Array]", uint8Tag$4 = "[object Uint8Array]", uint8ClampedTag$4 = "[object Uint8ClampedArray]", uint16Tag$4 = "[object Uint16Array]", uint32Tag$4 = "[object Uint32Array]";
|
|
36957
37835
|
var typedArrayTags = {};
|
|
@@ -36983,10 +37861,11 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
36983
37861
|
}();
|
|
36984
37862
|
var nodeIsTypedArray = nodeUtil$2 && nodeUtil$2.isTypedArray;
|
|
36985
37863
|
var isTypedArray = nodeIsTypedArray ? baseUnary$4(nodeIsTypedArray) : baseIsTypedArray;
|
|
37864
|
+
const isTypedArray$1 = isTypedArray;
|
|
36986
37865
|
var objectProto$f = Object.prototype;
|
|
36987
37866
|
var hasOwnProperty$i = objectProto$f.hasOwnProperty;
|
|
36988
37867
|
function arrayLikeKeys(value, inherited) {
|
|
36989
|
-
var isArr = isArray$g(value), isArg = !isArr && isArguments$
|
|
37868
|
+
var isArr = isArray$g(value), isArg = !isArr && isArguments$2(value), isBuff = !isArr && !isArg && isBuffer$5(value), isType2 = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType2, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
|
|
36990
37869
|
for (var key2 in value) {
|
|
36991
37870
|
if ((inherited || hasOwnProperty$i.call(value, key2)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
36992
37871
|
(key2 == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -37070,6 +37949,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
37070
37949
|
var assignIn = createAssigner$1(function(object2, source) {
|
|
37071
37950
|
copyObject$6(source, keysIn$3(source), object2);
|
|
37072
37951
|
});
|
|
37952
|
+
const extend$2 = assignIn;
|
|
37073
37953
|
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
|
|
37074
37954
|
function isKey(value, object2) {
|
|
37075
37955
|
if (isArray$g(value)) {
|
|
@@ -37343,7 +38223,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
37343
38223
|
__name(arrayPush$2, "arrayPush$2");
|
|
37344
38224
|
var spreadableSymbol$1 = Symbol$4 ? Symbol$4.isConcatSpreadable : void 0;
|
|
37345
38225
|
function isFlattenable$2(value) {
|
|
37346
|
-
return isArray$g(value) || isArguments$
|
|
38226
|
+
return isArray$g(value) || isArguments$2(value) || !!(spreadableSymbol$1 && value && value[spreadableSymbol$1]);
|
|
37347
38227
|
}
|
|
37348
38228
|
__name(isFlattenable$2, "isFlattenable$2");
|
|
37349
38229
|
function baseFlatten$4(array, depth, predicate, isStrict, result) {
|
|
@@ -37352,8 +38232,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
37352
38232
|
result || (result = []);
|
|
37353
38233
|
while (++index2 < length) {
|
|
37354
38234
|
var value = array[index2];
|
|
37355
|
-
if (predicate(value)) {
|
|
37356
|
-
{
|
|
38235
|
+
if (depth > 0 && predicate(value)) {
|
|
38236
|
+
if (depth > 1) {
|
|
38237
|
+
baseFlatten$4(value, depth - 1, predicate, isStrict, result);
|
|
38238
|
+
} else {
|
|
37357
38239
|
arrayPush$2(result, value);
|
|
37358
38240
|
}
|
|
37359
38241
|
} else if (!isStrict) {
|
|
@@ -37365,7 +38247,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
37365
38247
|
__name(baseFlatten$4, "baseFlatten$4");
|
|
37366
38248
|
function flatten$2(array) {
|
|
37367
38249
|
var length = array == null ? 0 : array.length;
|
|
37368
|
-
return length ? baseFlatten$4(array) : [];
|
|
38250
|
+
return length ? baseFlatten$4(array, 1) : [];
|
|
37369
38251
|
}
|
|
37370
38252
|
__name(flatten$2, "flatten$2");
|
|
37371
38253
|
function flatRest$2(func) {
|
|
@@ -37664,13 +38546,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
37664
38546
|
"ſ": "s"
|
|
37665
38547
|
};
|
|
37666
38548
|
var deburrLetter = basePropertyOf(deburredLetters);
|
|
38549
|
+
const deburrLetter$1 = deburrLetter;
|
|
37667
38550
|
var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
|
|
37668
38551
|
var rsComboMarksRange$2 = "\\u0300-\\u036f", reComboHalfMarksRange$2 = "\\ufe20-\\ufe2f", rsComboSymbolsRange$2 = "\\u20d0-\\u20ff", rsComboRange$2 = rsComboMarksRange$2 + reComboHalfMarksRange$2 + rsComboSymbolsRange$2;
|
|
37669
38552
|
var rsCombo$2 = "[" + rsComboRange$2 + "]";
|
|
37670
38553
|
var reComboMark = RegExp(rsCombo$2, "g");
|
|
37671
38554
|
function deburr(string2) {
|
|
37672
38555
|
string2 = toString$4(string2);
|
|
37673
|
-
return string2 && string2.replace(reLatin, deburrLetter).replace(reComboMark, "");
|
|
38556
|
+
return string2 && string2.replace(reLatin, deburrLetter$1).replace(reComboMark, "");
|
|
37674
38557
|
}
|
|
37675
38558
|
__name(deburr, "deburr");
|
|
37676
38559
|
var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
@@ -37702,7 +38585,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
37702
38585
|
__name(unicodeWords, "unicodeWords");
|
|
37703
38586
|
function words(string2, pattern, guard) {
|
|
37704
38587
|
string2 = toString$4(string2);
|
|
37705
|
-
pattern = pattern;
|
|
38588
|
+
pattern = guard ? void 0 : pattern;
|
|
37706
38589
|
if (pattern === void 0) {
|
|
37707
38590
|
return hasUnicodeWord(string2) ? unicodeWords(string2) : asciiWords(string2);
|
|
37708
38591
|
}
|
|
@@ -37915,6 +38798,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
37915
38798
|
return result;
|
|
37916
38799
|
}, "getTag$4");
|
|
37917
38800
|
}
|
|
38801
|
+
const getTag$5 = getTag$4;
|
|
37918
38802
|
var objectProto$7 = Object.prototype;
|
|
37919
38803
|
var hasOwnProperty$b = objectProto$7.hasOwnProperty;
|
|
37920
38804
|
function initCloneArray$2(array) {
|
|
@@ -37997,14 +38881,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
37997
38881
|
__name(initCloneObject$1, "initCloneObject$1");
|
|
37998
38882
|
var mapTag$7 = "[object Map]";
|
|
37999
38883
|
function baseIsMap$2(value) {
|
|
38000
|
-
return isObjectLike$5(value) && getTag$
|
|
38884
|
+
return isObjectLike$5(value) && getTag$5(value) == mapTag$7;
|
|
38001
38885
|
}
|
|
38002
38886
|
__name(baseIsMap$2, "baseIsMap$2");
|
|
38003
38887
|
var nodeIsMap$1 = nodeUtil$2 && nodeUtil$2.isMap;
|
|
38004
38888
|
var isMap$3 = nodeIsMap$1 ? baseUnary$4(nodeIsMap$1) : baseIsMap$2;
|
|
38005
38889
|
var setTag$7 = "[object Set]";
|
|
38006
38890
|
function baseIsSet$2(value) {
|
|
38007
|
-
return isObjectLike$5(value) && getTag$
|
|
38891
|
+
return isObjectLike$5(value) && getTag$5(value) == setTag$7;
|
|
38008
38892
|
}
|
|
38009
38893
|
__name(baseIsSet$2, "baseIsSet$2");
|
|
38010
38894
|
var nodeIsSet$1 = nodeUtil$2 && nodeUtil$2.isSet;
|
|
@@ -38033,8 +38917,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38033
38917
|
return copyArray$1(value, result);
|
|
38034
38918
|
}
|
|
38035
38919
|
} else {
|
|
38036
|
-
var tag = getTag$
|
|
38037
|
-
if (isBuffer$
|
|
38920
|
+
var tag = getTag$5(value), isFunc = tag == funcTag$1 || tag == genTag$1;
|
|
38921
|
+
if (isBuffer$5(value)) {
|
|
38038
38922
|
return cloneBuffer$1(value, isDeep);
|
|
38039
38923
|
}
|
|
38040
38924
|
if (tag == objectTag$2 || tag == argsTag$2 || isFunc && !object2) {
|
|
@@ -38284,12 +39168,12 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38284
39168
|
var objectProto$5 = Object.prototype;
|
|
38285
39169
|
var hasOwnProperty$9 = objectProto$5.hasOwnProperty;
|
|
38286
39170
|
function baseIsEqualDeep(object2, other, bitmask, customizer2, equalFunc, stack) {
|
|
38287
|
-
var objIsArr = isArray$g(object2), othIsArr = isArray$g(other), objTag = objIsArr ? arrayTag$1 : getTag$
|
|
39171
|
+
var objIsArr = isArray$g(object2), othIsArr = isArray$g(other), objTag = objIsArr ? arrayTag$1 : getTag$5(object2), othTag = othIsArr ? arrayTag$1 : getTag$5(other);
|
|
38288
39172
|
objTag = objTag == argsTag$1 ? objectTag$1 : objTag;
|
|
38289
39173
|
othTag = othTag == argsTag$1 ? objectTag$1 : othTag;
|
|
38290
39174
|
var objIsObj = objTag == objectTag$1, othIsObj = othTag == objectTag$1, isSameTag = objTag == othTag;
|
|
38291
|
-
if (isSameTag && isBuffer$
|
|
38292
|
-
if (!isBuffer$
|
|
39175
|
+
if (isSameTag && isBuffer$5(object2)) {
|
|
39176
|
+
if (!isBuffer$5(other)) {
|
|
38293
39177
|
return false;
|
|
38294
39178
|
}
|
|
38295
39179
|
objIsArr = true;
|
|
@@ -38297,7 +39181,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38297
39181
|
}
|
|
38298
39182
|
if (isSameTag && !objIsObj) {
|
|
38299
39183
|
stack || (stack = new Stack$1());
|
|
38300
|
-
return objIsArr || isTypedArray(object2) ? equalArrays(object2, other, bitmask, customizer2, equalFunc, stack) : equalByTag(object2, other, objTag, bitmask, customizer2, equalFunc, stack);
|
|
39184
|
+
return objIsArr || isTypedArray$1(object2) ? equalArrays(object2, other, bitmask, customizer2, equalFunc, stack) : equalByTag(object2, other, objTag, bitmask, customizer2, equalFunc, stack);
|
|
38301
39185
|
}
|
|
38302
39186
|
if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
|
|
38303
39187
|
var objIsWrapped = objIsObj && hasOwnProperty$9.call(object2, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$9.call(other, "__wrapped__");
|
|
@@ -38326,27 +39210,29 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38326
39210
|
__name(baseIsEqual, "baseIsEqual");
|
|
38327
39211
|
var COMPARE_PARTIAL_FLAG$1 = 1, COMPARE_UNORDERED_FLAG$1 = 2;
|
|
38328
39212
|
function baseIsMatch(object2, source, matchData, customizer2) {
|
|
38329
|
-
var index2 = matchData.length, length = index2;
|
|
39213
|
+
var index2 = matchData.length, length = index2, noCustomizer = !customizer2;
|
|
38330
39214
|
if (object2 == null) {
|
|
38331
39215
|
return !length;
|
|
38332
39216
|
}
|
|
38333
39217
|
object2 = Object(object2);
|
|
38334
39218
|
while (index2--) {
|
|
38335
39219
|
var data = matchData[index2];
|
|
38336
|
-
if (data[2] ? data[1] !== object2[data[0]] : !(data[0] in object2)) {
|
|
39220
|
+
if (noCustomizer && data[2] ? data[1] !== object2[data[0]] : !(data[0] in object2)) {
|
|
38337
39221
|
return false;
|
|
38338
39222
|
}
|
|
38339
39223
|
}
|
|
38340
39224
|
while (++index2 < length) {
|
|
38341
39225
|
data = matchData[index2];
|
|
38342
39226
|
var key2 = data[0], objValue = object2[key2], srcValue = data[1];
|
|
38343
|
-
if (data[2]) {
|
|
39227
|
+
if (noCustomizer && data[2]) {
|
|
38344
39228
|
if (objValue === void 0 && !(key2 in object2)) {
|
|
38345
39229
|
return false;
|
|
38346
39230
|
}
|
|
38347
39231
|
} else {
|
|
38348
39232
|
var stack = new Stack$1();
|
|
38349
|
-
|
|
39233
|
+
if (customizer2) {
|
|
39234
|
+
var result = customizer2(objValue, srcValue, key2, object2, source, stack);
|
|
39235
|
+
}
|
|
38350
39236
|
if (!(result === void 0 ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer2, stack) : result)) {
|
|
38351
39237
|
return false;
|
|
38352
39238
|
}
|
|
@@ -38405,7 +39291,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38405
39291
|
return result;
|
|
38406
39292
|
}
|
|
38407
39293
|
length = object2 == null ? 0 : object2.length;
|
|
38408
|
-
return !!length && isLength$1(length) && isIndex(key2, length) && (isArray$g(object2) || isArguments$
|
|
39294
|
+
return !!length && isLength$1(length) && isIndex(key2, length) && (isArray$g(object2) || isArguments$2(object2));
|
|
38409
39295
|
}
|
|
38410
39296
|
__name(hasPath, "hasPath");
|
|
38411
39297
|
function hasIn(object2, path2) {
|
|
@@ -38465,7 +39351,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38465
39351
|
return function(object2, iteratee, keysFunc) {
|
|
38466
39352
|
var index2 = -1, iterable = Object(object2), props = keysFunc(object2), length = props.length;
|
|
38467
39353
|
while (length--) {
|
|
38468
|
-
var key2 = props[++index2];
|
|
39354
|
+
var key2 = props[fromRight ? length : ++index2];
|
|
38469
39355
|
if (iteratee(iterable[key2], key2, iterable) === false) {
|
|
38470
39356
|
break;
|
|
38471
39357
|
}
|
|
@@ -38487,8 +39373,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38487
39373
|
if (!isArrayLike$4(collection)) {
|
|
38488
39374
|
return eachFunc(collection, iteratee);
|
|
38489
39375
|
}
|
|
38490
|
-
var length = collection.length, index2 = -1, iterable = Object(collection);
|
|
38491
|
-
while (++index2 < length) {
|
|
39376
|
+
var length = collection.length, index2 = fromRight ? length : -1, iterable = Object(collection);
|
|
39377
|
+
while (fromRight ? index2-- : ++index2 < length) {
|
|
38492
39378
|
if (iteratee(iterable[index2], index2, iterable) === false) {
|
|
38493
39379
|
break;
|
|
38494
39380
|
}
|
|
@@ -38498,8 +39384,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38498
39384
|
}
|
|
38499
39385
|
__name(createBaseEach$2, "createBaseEach$2");
|
|
38500
39386
|
var baseEach$3 = createBaseEach$2(baseForOwn$2);
|
|
39387
|
+
const baseEach$4 = baseEach$3;
|
|
38501
39388
|
function baseAggregator(collection, setter2, iteratee, accumulator) {
|
|
38502
|
-
baseEach$
|
|
39389
|
+
baseEach$4(collection, function(value, key2, collection2) {
|
|
38503
39390
|
setter2(accumulator, value, iteratee(value), collection2);
|
|
38504
39391
|
});
|
|
38505
39392
|
return accumulator;
|
|
@@ -38650,7 +39537,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38650
39537
|
var newValue = customizer2 ? customizer2(objValue, srcValue, key2 + "", object2, source, stack) : void 0;
|
|
38651
39538
|
var isCommon = newValue === void 0;
|
|
38652
39539
|
if (isCommon) {
|
|
38653
|
-
var isArr = isArray$g(srcValue), isBuff = !isArr && isBuffer$
|
|
39540
|
+
var isArr = isArray$g(srcValue), isBuff = !isArr && isBuffer$5(srcValue), isTyped = !isArr && !isBuff && isTypedArray$1(srcValue);
|
|
38654
39541
|
newValue = srcValue;
|
|
38655
39542
|
if (isArr || isBuff || isTyped) {
|
|
38656
39543
|
if (isArray$g(objValue)) {
|
|
@@ -38666,9 +39553,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38666
39553
|
} else {
|
|
38667
39554
|
newValue = [];
|
|
38668
39555
|
}
|
|
38669
|
-
} else if (isPlainObject$3(srcValue) || isArguments$
|
|
39556
|
+
} else if (isPlainObject$3(srcValue) || isArguments$2(srcValue)) {
|
|
38670
39557
|
newValue = objValue;
|
|
38671
|
-
if (isArguments$
|
|
39558
|
+
if (isArguments$2(objValue)) {
|
|
38672
39559
|
newValue = toPlainObject(objValue);
|
|
38673
39560
|
} else if (!isObject$7(objValue) || isFunction$1(objValue)) {
|
|
38674
39561
|
newValue = initCloneObject$1(srcValue);
|
|
@@ -38703,6 +39590,16 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38703
39590
|
}, keysIn$3);
|
|
38704
39591
|
}
|
|
38705
39592
|
__name(baseMerge, "baseMerge");
|
|
39593
|
+
function arrayIncludesWith$2(array, value, comparator) {
|
|
39594
|
+
var index2 = -1, length = array == null ? 0 : array.length;
|
|
39595
|
+
while (++index2 < length) {
|
|
39596
|
+
if (comparator(value, array[index2])) {
|
|
39597
|
+
return true;
|
|
39598
|
+
}
|
|
39599
|
+
}
|
|
39600
|
+
return false;
|
|
39601
|
+
}
|
|
39602
|
+
__name(arrayIncludesWith$2, "arrayIncludesWith$2");
|
|
38706
39603
|
var LARGE_ARRAY_SIZE$2 = 200;
|
|
38707
39604
|
function baseDifference$2(array, values2, iteratee, comparator) {
|
|
38708
39605
|
var index2 = -1, includes2 = arrayIncludes$2, isCommon = true, length = array.length, result = [], valuesLength = values2.length;
|
|
@@ -38712,7 +39609,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38712
39609
|
if (iteratee) {
|
|
38713
39610
|
values2 = arrayMap$4(values2, baseUnary$4(iteratee));
|
|
38714
39611
|
}
|
|
38715
|
-
if (
|
|
39612
|
+
if (comparator) {
|
|
39613
|
+
includes2 = arrayIncludesWith$2;
|
|
39614
|
+
isCommon = false;
|
|
39615
|
+
} else if (values2.length >= LARGE_ARRAY_SIZE$2) {
|
|
38716
39616
|
includes2 = cacheHas$1;
|
|
38717
39617
|
isCommon = false;
|
|
38718
39618
|
values2 = new SetCache$1(values2);
|
|
@@ -38720,7 +39620,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38720
39620
|
outer:
|
|
38721
39621
|
while (++index2 < length) {
|
|
38722
39622
|
var value = array[index2], computed2 = iteratee == null ? value : iteratee(value);
|
|
38723
|
-
value = value !== 0 ? value : 0;
|
|
39623
|
+
value = comparator || value !== 0 ? value : 0;
|
|
38724
39624
|
if (isCommon && computed2 === computed2) {
|
|
38725
39625
|
var valuesIndex = valuesLength;
|
|
38726
39626
|
while (valuesIndex--) {
|
|
@@ -38751,12 +39651,13 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38751
39651
|
}
|
|
38752
39652
|
return isArrayLikeObject$1(array) ? baseDifference$2(array, baseFlatten$4(values2, 1, isArrayLikeObject$1, true), baseIteratee$4(iteratee)) : [];
|
|
38753
39653
|
});
|
|
39654
|
+
const differenceBy$1 = differenceBy;
|
|
38754
39655
|
function drop$2(array, n2, guard) {
|
|
38755
39656
|
var length = array == null ? 0 : array.length;
|
|
38756
39657
|
if (!length) {
|
|
38757
39658
|
return [];
|
|
38758
39659
|
}
|
|
38759
|
-
n2 = n2 === void 0 ? 1 : toInteger$5(n2);
|
|
39660
|
+
n2 = guard || n2 === void 0 ? 1 : toInteger$5(n2);
|
|
38760
39661
|
return baseSlice$2(array, n2 < 0 ? 0 : n2, length);
|
|
38761
39662
|
}
|
|
38762
39663
|
__name(drop$2, "drop$2");
|
|
@@ -38765,7 +39666,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38765
39666
|
}
|
|
38766
39667
|
__name(castFunction$3, "castFunction$3");
|
|
38767
39668
|
function forEach$4(collection, iteratee) {
|
|
38768
|
-
var func = isArray$g(collection) ? arrayEach$3 : baseEach$
|
|
39669
|
+
var func = isArray$g(collection) ? arrayEach$3 : baseEach$4;
|
|
38769
39670
|
return func(collection, castFunction$3(iteratee));
|
|
38770
39671
|
}
|
|
38771
39672
|
__name(forEach$4, "forEach$4");
|
|
@@ -38791,7 +39692,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38791
39692
|
__name(arrayEvery, "arrayEvery");
|
|
38792
39693
|
function baseEvery(collection, predicate) {
|
|
38793
39694
|
var result = true;
|
|
38794
|
-
baseEach$
|
|
39695
|
+
baseEach$4(collection, function(value, index2, collection2) {
|
|
38795
39696
|
result = !!predicate(value, index2, collection2);
|
|
38796
39697
|
return result;
|
|
38797
39698
|
});
|
|
@@ -38800,12 +39701,15 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38800
39701
|
__name(baseEvery, "baseEvery");
|
|
38801
39702
|
function every(collection, predicate, guard) {
|
|
38802
39703
|
var func = isArray$g(collection) ? arrayEvery : baseEvery;
|
|
39704
|
+
if (guard && isIterateeCall$1(collection, predicate, guard)) {
|
|
39705
|
+
predicate = void 0;
|
|
39706
|
+
}
|
|
38803
39707
|
return func(collection, baseIteratee$4(predicate));
|
|
38804
39708
|
}
|
|
38805
39709
|
__name(every, "every");
|
|
38806
39710
|
function baseFilter(collection, predicate) {
|
|
38807
39711
|
var result = [];
|
|
38808
|
-
baseEach$
|
|
39712
|
+
baseEach$4(collection, function(value, index2, collection2) {
|
|
38809
39713
|
if (predicate(value, index2, collection2)) {
|
|
38810
39714
|
result.push(value);
|
|
38811
39715
|
}
|
|
@@ -38849,7 +39753,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38849
39753
|
var find$4 = createFind$2(findIndex$2);
|
|
38850
39754
|
function baseMap$3(collection, iteratee) {
|
|
38851
39755
|
var index2 = -1, result = isArrayLike$4(collection) ? Array(collection.length) : [];
|
|
38852
|
-
baseEach$
|
|
39756
|
+
baseEach$4(collection, function(value, key2, collection2) {
|
|
38853
39757
|
result[++index2] = iteratee(value, key2, collection2);
|
|
38854
39758
|
});
|
|
38855
39759
|
return result;
|
|
@@ -38861,7 +39765,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38861
39765
|
}
|
|
38862
39766
|
__name(map$3, "map$3");
|
|
38863
39767
|
function flatMap$1(collection, iteratee) {
|
|
38864
|
-
return baseFlatten$4(map$3(collection, iteratee));
|
|
39768
|
+
return baseFlatten$4(map$3(collection, iteratee), 1);
|
|
38865
39769
|
}
|
|
38866
39770
|
__name(flatMap$1, "flatMap$1");
|
|
38867
39771
|
function baseGt(value, other) {
|
|
@@ -38896,26 +39800,26 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38896
39800
|
__name(includes, "includes");
|
|
38897
39801
|
var nativeMin$1 = Math.min;
|
|
38898
39802
|
function baseIntersection(arrays, iteratee, comparator) {
|
|
38899
|
-
var includes2 = arrayIncludes$2, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array(othLength), maxLength = Infinity, result = [];
|
|
39803
|
+
var includes2 = comparator ? arrayIncludesWith$2 : arrayIncludes$2, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array(othLength), maxLength = Infinity, result = [];
|
|
38900
39804
|
while (othIndex--) {
|
|
38901
39805
|
var array = arrays[othIndex];
|
|
38902
39806
|
if (othIndex && iteratee) {
|
|
38903
39807
|
array = arrayMap$4(array, baseUnary$4(iteratee));
|
|
38904
39808
|
}
|
|
38905
39809
|
maxLength = nativeMin$1(array.length, maxLength);
|
|
38906
|
-
caches[othIndex] = iteratee || length >= 120 && array.length >= 120 ? new SetCache$1(othIndex && array) : void 0;
|
|
39810
|
+
caches[othIndex] = !comparator && (iteratee || length >= 120 && array.length >= 120) ? new SetCache$1(othIndex && array) : void 0;
|
|
38907
39811
|
}
|
|
38908
39812
|
array = arrays[0];
|
|
38909
39813
|
var index2 = -1, seen = caches[0];
|
|
38910
39814
|
outer:
|
|
38911
39815
|
while (++index2 < length && result.length < maxLength) {
|
|
38912
39816
|
var value = array[index2], computed2 = iteratee ? iteratee(value) : value;
|
|
38913
|
-
value = value !== 0 ? value : 0;
|
|
38914
|
-
if (!(seen ? cacheHas$1(seen, computed2) : includes2(result, computed2))) {
|
|
39817
|
+
value = comparator || value !== 0 ? value : 0;
|
|
39818
|
+
if (!(seen ? cacheHas$1(seen, computed2) : includes2(result, computed2, comparator))) {
|
|
38915
39819
|
othIndex = othLength;
|
|
38916
39820
|
while (--othIndex) {
|
|
38917
39821
|
var cache2 = caches[othIndex];
|
|
38918
|
-
if (!(cache2 ? cacheHas$1(cache2, computed2) : includes2(arrays[othIndex], computed2))) {
|
|
39822
|
+
if (!(cache2 ? cacheHas$1(cache2, computed2) : includes2(arrays[othIndex], computed2, comparator))) {
|
|
38919
39823
|
continue outer;
|
|
38920
39824
|
}
|
|
38921
39825
|
}
|
|
@@ -38941,6 +39845,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38941
39845
|
}
|
|
38942
39846
|
return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, baseIteratee$4(iteratee)) : [];
|
|
38943
39847
|
});
|
|
39848
|
+
const intersectionBy$1 = intersectionBy;
|
|
38944
39849
|
function baseInverter(object2, setter2, iteratee, accumulator) {
|
|
38945
39850
|
baseForOwn$2(object2, function(value, key2, object3) {
|
|
38946
39851
|
setter2(accumulator, iteratee(value), key2, object3);
|
|
@@ -38973,10 +39878,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
38973
39878
|
if (value == null) {
|
|
38974
39879
|
return true;
|
|
38975
39880
|
}
|
|
38976
|
-
if (isArrayLike$4(value) && (isArray$g(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer$
|
|
39881
|
+
if (isArrayLike$4(value) && (isArray$g(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer$5(value) || isTypedArray$1(value) || isArguments$2(value))) {
|
|
38977
39882
|
return !value.length;
|
|
38978
39883
|
}
|
|
38979
|
-
var tag = getTag$
|
|
39884
|
+
var tag = getTag$5(value);
|
|
38980
39885
|
if (tag == mapTag$4 || tag == setTag$4) {
|
|
38981
39886
|
return !value.size;
|
|
38982
39887
|
}
|
|
@@ -39094,7 +39999,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
39094
39999
|
if (symIterator && value[symIterator]) {
|
|
39095
40000
|
return iteratorToArray(value[symIterator]());
|
|
39096
40001
|
}
|
|
39097
|
-
var tag = getTag$
|
|
40002
|
+
var tag = getTag$5(value), func = tag == mapTag$3 ? mapToArray : tag == setTag$3 ? setToArray : values;
|
|
39098
40003
|
return func(value);
|
|
39099
40004
|
}
|
|
39100
40005
|
__name(toArray$1, "toArray$1");
|
|
@@ -39143,7 +40048,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
39143
40048
|
}
|
|
39144
40049
|
if (index2 != lastIndex) {
|
|
39145
40050
|
var objValue = nested[key2];
|
|
39146
|
-
newValue = void 0;
|
|
40051
|
+
newValue = customizer2 ? customizer2(objValue, key2, nested) : void 0;
|
|
39147
40052
|
if (newValue === void 0) {
|
|
39148
40053
|
newValue = isObject$7(objValue) ? objValue : isIndex(path2[index2 + 1]) ? [] : {};
|
|
39149
40054
|
}
|
|
@@ -39253,7 +40158,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
39253
40158
|
if (!isArray$g(iteratees)) {
|
|
39254
40159
|
iteratees = iteratees == null ? [] : [iteratees];
|
|
39255
40160
|
}
|
|
39256
|
-
orders = orders;
|
|
40161
|
+
orders = guard ? void 0 : orders;
|
|
39257
40162
|
if (!isArray$g(orders)) {
|
|
39258
40163
|
orders = orders == null ? [] : [orders];
|
|
39259
40164
|
}
|
|
@@ -39345,7 +40250,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
39345
40250
|
function baseRange(start2, end2, step2, fromRight) {
|
|
39346
40251
|
var index2 = -1, length = nativeMax$1(nativeCeil((end2 - start2) / (step2 || 1)), 0), result = Array(length);
|
|
39347
40252
|
while (length--) {
|
|
39348
|
-
result[++index2] = start2;
|
|
40253
|
+
result[fromRight ? length : ++index2] = start2;
|
|
39349
40254
|
start2 += step2;
|
|
39350
40255
|
}
|
|
39351
40256
|
return result;
|
|
@@ -39364,7 +40269,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
39364
40269
|
end2 = toFinite$2(end2);
|
|
39365
40270
|
}
|
|
39366
40271
|
step2 = step2 === void 0 ? start2 < end2 ? 1 : -1 : toFinite$2(step2);
|
|
39367
|
-
return baseRange(start2, end2, step2);
|
|
40272
|
+
return baseRange(start2, end2, step2, fromRight);
|
|
39368
40273
|
};
|
|
39369
40274
|
}
|
|
39370
40275
|
__name(createRange$1, "createRange$1");
|
|
@@ -39378,7 +40283,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
39378
40283
|
__name(baseReduce, "baseReduce");
|
|
39379
40284
|
function reduce(collection, iteratee, accumulator) {
|
|
39380
40285
|
var func = isArray$g(collection) ? arrayReduce : baseReduce, initAccum = arguments.length < 3;
|
|
39381
|
-
return func(collection, baseIteratee$4(iteratee), accumulator, initAccum, baseEach$
|
|
40286
|
+
return func(collection, baseIteratee$4(iteratee), accumulator, initAccum, baseEach$4);
|
|
39382
40287
|
}
|
|
39383
40288
|
__name(reduce, "reduce");
|
|
39384
40289
|
function remove$1(array, predicate) {
|
|
@@ -39409,7 +40314,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
39409
40314
|
});
|
|
39410
40315
|
function baseSome(collection, predicate) {
|
|
39411
40316
|
var result;
|
|
39412
|
-
baseEach$
|
|
40317
|
+
baseEach$4(collection, function(value, index2, collection2) {
|
|
39413
40318
|
result = predicate(value, index2, collection2);
|
|
39414
40319
|
return !result;
|
|
39415
40320
|
});
|
|
@@ -39418,6 +40323,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
39418
40323
|
__name(baseSome, "baseSome");
|
|
39419
40324
|
function some(collection, predicate, guard) {
|
|
39420
40325
|
var func = isArray$g(collection) ? arraySome : baseSome;
|
|
40326
|
+
if (guard && isIterateeCall$1(collection, predicate, guard)) {
|
|
40327
|
+
predicate = void 0;
|
|
40328
|
+
}
|
|
39421
40329
|
return func(collection, baseIteratee$4(predicate));
|
|
39422
40330
|
}
|
|
39423
40331
|
__name(some, "some");
|
|
@@ -39431,7 +40339,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
39431
40339
|
} else if (length > 2 && isIterateeCall$1(iteratees[0], iteratees[1], iteratees[2])) {
|
|
39432
40340
|
iteratees = [iteratees[0]];
|
|
39433
40341
|
}
|
|
39434
|
-
return baseOrderBy$2(collection, baseFlatten$4(iteratees), []);
|
|
40342
|
+
return baseOrderBy$2(collection, baseFlatten$4(iteratees, 1), []);
|
|
39435
40343
|
});
|
|
39436
40344
|
var startCase = createCompounder(function(result, word, index2) {
|
|
39437
40345
|
return result + (index2 ? " " : "") + upperFirst(word);
|
|
@@ -39447,7 +40355,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
39447
40355
|
if (!(array && array.length)) {
|
|
39448
40356
|
return [];
|
|
39449
40357
|
}
|
|
39450
|
-
n2 = n2 === void 0 ? 1 : toInteger$5(n2);
|
|
40358
|
+
n2 = guard || n2 === void 0 ? 1 : toInteger$5(n2);
|
|
39451
40359
|
return baseSlice$2(array, 0, n2 < 0 ? 0 : n2);
|
|
39452
40360
|
}
|
|
39453
40361
|
__name(take, "take");
|
|
@@ -39493,7 +40401,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
39493
40401
|
var LARGE_ARRAY_SIZE$1 = 200;
|
|
39494
40402
|
function baseUniq(array, iteratee, comparator) {
|
|
39495
40403
|
var index2 = -1, includes2 = arrayIncludes$2, length = array.length, isCommon = true, result = [], seen = result;
|
|
39496
|
-
if (
|
|
40404
|
+
if (comparator) {
|
|
40405
|
+
isCommon = false;
|
|
40406
|
+
includes2 = arrayIncludesWith$2;
|
|
40407
|
+
} else if (length >= LARGE_ARRAY_SIZE$1) {
|
|
39497
40408
|
var set2 = iteratee ? null : createSet(array);
|
|
39498
40409
|
if (set2) {
|
|
39499
40410
|
return setToArray(set2);
|
|
@@ -39507,7 +40418,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
39507
40418
|
outer:
|
|
39508
40419
|
while (++index2 < length) {
|
|
39509
40420
|
var value = array[index2], computed2 = iteratee ? iteratee(value) : value;
|
|
39510
|
-
value = value !== 0 ? value : 0;
|
|
40421
|
+
value = comparator || value !== 0 ? value : 0;
|
|
39511
40422
|
if (isCommon && computed2 === computed2) {
|
|
39512
40423
|
var seenIndex = seen.length;
|
|
39513
40424
|
while (seenIndex--) {
|
|
@@ -39720,7 +40631,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
39720
40631
|
}
|
|
39721
40632
|
_this = _Component.call.apply(_Component, [this].concat(args)) || this;
|
|
39722
40633
|
_this.state = {
|
|
39723
|
-
stateValue: initialState2
|
|
40634
|
+
stateValue: typeof initialState2 === "function" ? initialState2(_this.props) : initialState2
|
|
39724
40635
|
};
|
|
39725
40636
|
_this.updateStateValue = function(updateFn, callback2) {
|
|
39726
40637
|
return _this.setState(function(_ref) {
|
|
@@ -43146,6 +44057,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43146
44057
|
function _createClass2(Constructor, protoProps, staticProps) {
|
|
43147
44058
|
if (protoProps)
|
|
43148
44059
|
_defineProperties2(Constructor.prototype, protoProps);
|
|
44060
|
+
if (staticProps)
|
|
44061
|
+
_defineProperties2(Constructor, staticProps);
|
|
43149
44062
|
return Constructor;
|
|
43150
44063
|
}
|
|
43151
44064
|
__name(_createClass2, "_createClass");
|
|
@@ -47808,7 +48721,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
47808
48721
|
__name(looksLikeAVFileValue, "looksLikeAVFileValue");
|
|
47809
48722
|
const emptyOptions = {};
|
|
47810
48723
|
function toString$1(value, options) {
|
|
47811
|
-
const settings = emptyOptions;
|
|
48724
|
+
const settings = options || emptyOptions;
|
|
47812
48725
|
const includeImageAlt = typeof settings.includeImageAlt === "boolean" ? settings.includeImageAlt : true;
|
|
47813
48726
|
const includeHtml = typeof settings.includeHtml === "boolean" ? settings.includeHtml : true;
|
|
47814
48727
|
return one$1(value, includeImageAlt, includeHtml);
|
|
@@ -48641,11 +49554,11 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
48641
49554
|
function decodeNamedCharacterReference(value) {
|
|
48642
49555
|
const characterReference2 = "&" + value + ";";
|
|
48643
49556
|
element.innerHTML = characterReference2;
|
|
48644
|
-
const
|
|
48645
|
-
if (
|
|
49557
|
+
const char2 = element.textContent;
|
|
49558
|
+
if (char2.charCodeAt(char2.length - 1) === 59 && value !== "semi") {
|
|
48646
49559
|
return false;
|
|
48647
49560
|
}
|
|
48648
|
-
return
|
|
49561
|
+
return char2 === characterReference2 ? false : char2;
|
|
48649
49562
|
}
|
|
48650
49563
|
__name(decodeNamedCharacterReference, "decodeNamedCharacterReference");
|
|
48651
49564
|
const characterReference = {
|
|
@@ -54004,6 +54917,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
54004
54917
|
return destination && "run" in destination ? bridge(destination, options) : mutate(destination || options);
|
|
54005
54918
|
}, "remarkRehype")
|
|
54006
54919
|
);
|
|
54920
|
+
const remarkRehype$1 = remarkRehype;
|
|
54007
54921
|
function bridge(destination, options) {
|
|
54008
54922
|
return (node2, file, next) => {
|
|
54009
54923
|
destination.run(toHast(node2, options), file, (error) => {
|
|
@@ -55380,7 +56294,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
55380
56294
|
}
|
|
55381
56295
|
__name(stringify$3, "stringify$3");
|
|
55382
56296
|
function stringify$2(values2, options) {
|
|
55383
|
-
const settings = {};
|
|
56297
|
+
const settings = options || {};
|
|
55384
56298
|
const input = values2[values2.length - 1] === "" ? [...values2, ""] : values2;
|
|
55385
56299
|
return input.join(
|
|
55386
56300
|
(settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")
|
|
@@ -55801,7 +56715,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
55801
56715
|
delete deprecated[key2];
|
|
55802
56716
|
}
|
|
55803
56717
|
}
|
|
55804
|
-
const processor = unified().use(remarkParse).use(options.remarkPlugins || []).use(remarkRehype, __spreadProps(__spreadValues({}, options.remarkRehypeOptions), {
|
|
56718
|
+
const processor = unified().use(remarkParse).use(options.remarkPlugins || []).use(remarkRehype$1, __spreadProps(__spreadValues({}, options.remarkRehypeOptions), {
|
|
55805
56719
|
allowDangerousHtml: true
|
|
55806
56720
|
})).use(options.rehypePlugins || []).use(rehypeFilter, options);
|
|
55807
56721
|
const file = new VFile();
|
|
@@ -60490,8 +61404,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
60490
61404
|
}
|
|
60491
61405
|
var colorString2 = match2[0];
|
|
60492
61406
|
if (match2[0].length === 3) {
|
|
60493
|
-
colorString2 = colorString2.split("").map(function(
|
|
60494
|
-
return
|
|
61407
|
+
colorString2 = colorString2.split("").map(function(char2) {
|
|
61408
|
+
return char2 + char2;
|
|
60495
61409
|
}).join("");
|
|
60496
61410
|
}
|
|
60497
61411
|
var integer = parseInt(colorString2, 16);
|
|
@@ -61395,8 +62309,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
61395
62309
|
}
|
|
61396
62310
|
render() {
|
|
61397
62311
|
var _b2;
|
|
61398
|
-
|
|
62312
|
+
let _a2 = this.props, {
|
|
61399
62313
|
multi,
|
|
62314
|
+
asTag,
|
|
61400
62315
|
options,
|
|
61401
62316
|
unfilteredOptions,
|
|
61402
62317
|
value,
|
|
@@ -61409,6 +62324,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
61409
62324
|
noResultsText,
|
|
61410
62325
|
noResults: _noResults,
|
|
61411
62326
|
inputProps,
|
|
62327
|
+
backgroundColor: backgroundColor2,
|
|
62328
|
+
doNotFillWidth,
|
|
62329
|
+
noToggle,
|
|
62330
|
+
small,
|
|
61412
62331
|
placeholder,
|
|
61413
62332
|
isLoading,
|
|
61414
62333
|
disallowClear,
|
|
@@ -61420,6 +62339,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
61420
62339
|
renderCreateNewOption: _renderCreateNewOption = renderCreateNewOption$1
|
|
61421
62340
|
} = _a2, rest = __objRest(_a2, [
|
|
61422
62341
|
"multi",
|
|
62342
|
+
"asTag",
|
|
61423
62343
|
"options",
|
|
61424
62344
|
"unfilteredOptions",
|
|
61425
62345
|
"value",
|
|
@@ -61433,6 +62353,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
61433
62353
|
"noResultsText",
|
|
61434
62354
|
"noResults",
|
|
61435
62355
|
"inputProps",
|
|
62356
|
+
"backgroundColor",
|
|
62357
|
+
"doNotFillWidth",
|
|
62358
|
+
"noToggle",
|
|
62359
|
+
"small",
|
|
61436
62360
|
"placeholder",
|
|
61437
62361
|
"isLoading",
|
|
61438
62362
|
"disallowClear",
|
|
@@ -61443,6 +62367,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
61443
62367
|
"resetOnSelect",
|
|
61444
62368
|
"renderCreateNewOption"
|
|
61445
62369
|
]);
|
|
62370
|
+
if (asTag) {
|
|
62371
|
+
small = true;
|
|
62372
|
+
placeholder = " ";
|
|
62373
|
+
backgroundColor2 = "red";
|
|
62374
|
+
disallowClear = true;
|
|
62375
|
+
doNotFillWidth = true;
|
|
62376
|
+
noToggle = true;
|
|
62377
|
+
}
|
|
61446
62378
|
let noResults = _noResults;
|
|
61447
62379
|
if (noResults === void 0)
|
|
61448
62380
|
noResults = noResultsDefault;
|
|
@@ -61456,7 +62388,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
61456
62388
|
minimal: true,
|
|
61457
62389
|
onClick: this.handleClear
|
|
61458
62390
|
}
|
|
61459
|
-
), noResults !== null && /* @__PURE__ */ React$2.createElement(
|
|
62391
|
+
), noResults !== null && !noToggle && /* @__PURE__ */ React$2.createElement(
|
|
61460
62392
|
Button,
|
|
61461
62393
|
{
|
|
61462
62394
|
onClick: (e2) => {
|
|
@@ -61480,7 +62412,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
61480
62412
|
(opt) => opt && opt.value === (value2 && value2.value || value2)
|
|
61481
62413
|
);
|
|
61482
62414
|
});
|
|
61483
|
-
|
|
62415
|
+
const toRet = /* @__PURE__ */ React$2.createElement(
|
|
61484
62416
|
MultiSelect,
|
|
61485
62417
|
__spreadValues(__spreadValues({
|
|
61486
62418
|
onActiveItemChange: this.handleActiveItemChange,
|
|
@@ -61494,7 +62426,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
61494
62426
|
captureDismiss: true,
|
|
61495
62427
|
minimal: true,
|
|
61496
62428
|
className: classNames$1("tg-select", "tg-stop-dialog-form-enter", {
|
|
61497
|
-
"tg-single-select": !multi
|
|
62429
|
+
"tg-single-select": !multi,
|
|
62430
|
+
"tg-select-as-tag": asTag,
|
|
62431
|
+
"do-not-fill-width": doNotFillWidth,
|
|
62432
|
+
"tg-small": small
|
|
61498
62433
|
}),
|
|
61499
62434
|
wrapperTagName: "div",
|
|
61500
62435
|
canEscapeKeyClose: true,
|
|
@@ -61549,6 +62484,23 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
61549
62484
|
})
|
|
61550
62485
|
}), rest)
|
|
61551
62486
|
);
|
|
62487
|
+
if (backgroundColor2) {
|
|
62488
|
+
return /* @__PURE__ */ React$2.createElement(
|
|
62489
|
+
"div",
|
|
62490
|
+
{
|
|
62491
|
+
style: {
|
|
62492
|
+
backgroundColor: backgroundColor2,
|
|
62493
|
+
borderRadius: "4px 4px 4px 4px",
|
|
62494
|
+
overflow: "hidden",
|
|
62495
|
+
width: "fit-content",
|
|
62496
|
+
color: "white",
|
|
62497
|
+
border: "2px solid white"
|
|
62498
|
+
}
|
|
62499
|
+
},
|
|
62500
|
+
toRet
|
|
62501
|
+
);
|
|
62502
|
+
}
|
|
62503
|
+
return toRet;
|
|
61552
62504
|
}
|
|
61553
62505
|
};
|
|
61554
62506
|
__name(_TgSelect, "TgSelect");
|
|
@@ -61745,84 +62697,80 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
61745
62697
|
down: "↓"
|
|
61746
62698
|
};
|
|
61747
62699
|
symbols.mod = symbols[isMac ? "meta" : "ctrl"];
|
|
61748
|
-
const
|
|
61749
|
-
|
|
61750
|
-
|
|
61751
|
-
|
|
61752
|
-
|
|
61753
|
-
|
|
61754
|
-
|
|
61755
|
-
|
|
61756
|
-
|
|
61757
|
-
|
|
61758
|
-
|
|
61759
|
-
|
|
61760
|
-
|
|
61761
|
-
|
|
61762
|
-
|
|
61763
|
-
|
|
61764
|
-
|
|
61765
|
-
|
|
61766
|
-
|
|
61767
|
-
|
|
61768
|
-
|
|
61769
|
-
|
|
61770
|
-
|
|
61771
|
-
|
|
61772
|
-
|
|
61773
|
-
|
|
61774
|
-
|
|
61775
|
-
|
|
61776
|
-
|
|
61777
|
-
|
|
61778
|
-
|
|
61779
|
-
|
|
61780
|
-
|
|
61781
|
-
|
|
61782
|
-
|
|
61783
|
-
|
|
61784
|
-
|
|
61785
|
-
|
|
61786
|
-
|
|
61787
|
-
|
|
61788
|
-
|
|
61789
|
-
|
|
61790
|
-
|
|
61791
|
-
|
|
61792
|
-
|
|
61793
|
-
|
|
61794
|
-
|
|
61795
|
-
|
|
61796
|
-
|
|
61797
|
-
|
|
61798
|
-
|
|
61799
|
-
|
|
61800
|
-
|
|
61801
|
-
|
|
61802
|
-
|
|
61803
|
-
}
|
|
61804
|
-
toReturn = /* @__PURE__ */ React$2.createElement(Tooltip, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
61805
|
-
}
|
|
61806
|
-
const El = isInline ? "span" : "div";
|
|
61807
|
-
return /* @__PURE__ */ React$2.createElement(
|
|
61808
|
-
El,
|
|
61809
|
-
{
|
|
61810
|
-
style: __spreadValues(__spreadValues(__spreadValues({}, clickable ? { cursor: "pointer" } : {}), isInline ? {} : { display: "flex" }), style2),
|
|
61811
|
-
className: classNames$1(
|
|
61812
|
-
"info-helper-wrapper",
|
|
61813
|
-
{
|
|
61814
|
-
"info-helper-wrapper-noMarginTop": noMarginTop,
|
|
61815
|
-
"info-helper-clickable": isPopover
|
|
61816
|
-
},
|
|
61817
|
-
className
|
|
61818
|
-
)
|
|
61819
|
-
},
|
|
61820
|
-
toReturn
|
|
61821
|
-
);
|
|
62700
|
+
const InfoHelper = /* @__PURE__ */ __name((_c2) => {
|
|
62701
|
+
var _d2 = _c2, {
|
|
62702
|
+
className,
|
|
62703
|
+
content: content2,
|
|
62704
|
+
children,
|
|
62705
|
+
icon = "info-sign",
|
|
62706
|
+
isPopover,
|
|
62707
|
+
isButton,
|
|
62708
|
+
size,
|
|
62709
|
+
isInline,
|
|
62710
|
+
clickable,
|
|
62711
|
+
color: color2,
|
|
62712
|
+
noMarginTop,
|
|
62713
|
+
popoverProps = {},
|
|
62714
|
+
disabled,
|
|
62715
|
+
displayToSide,
|
|
62716
|
+
style: style2
|
|
62717
|
+
} = _d2, rest = __objRest(_d2, [
|
|
62718
|
+
"className",
|
|
62719
|
+
"content",
|
|
62720
|
+
"children",
|
|
62721
|
+
"icon",
|
|
62722
|
+
"isPopover",
|
|
62723
|
+
"isButton",
|
|
62724
|
+
"size",
|
|
62725
|
+
"isInline",
|
|
62726
|
+
"clickable",
|
|
62727
|
+
"color",
|
|
62728
|
+
"noMarginTop",
|
|
62729
|
+
"popoverProps",
|
|
62730
|
+
"disabled",
|
|
62731
|
+
"displayToSide",
|
|
62732
|
+
"style"
|
|
62733
|
+
]);
|
|
62734
|
+
const IconToUse = isButton ? Button : Icon;
|
|
62735
|
+
const iconProps = {
|
|
62736
|
+
icon,
|
|
62737
|
+
color: color2,
|
|
62738
|
+
disabled
|
|
62739
|
+
};
|
|
62740
|
+
if (!isButton)
|
|
62741
|
+
iconProps.iconSize = size;
|
|
62742
|
+
const IconInner = /* @__PURE__ */ React$2.createElement(IconToUse, __spreadValues(__spreadValues({}, iconProps), rest));
|
|
62743
|
+
let toReturn;
|
|
62744
|
+
const toolTipOrPopoverProps = __spreadValues({
|
|
62745
|
+
disabled: disabled || !isPopover && window.Cypress && !window.Cypress.allowInfoHelperTooltips,
|
|
62746
|
+
popoverClassName: "tg-info-helper-popover bp3-tooltip",
|
|
62747
|
+
content: content2 || children,
|
|
62748
|
+
modifiers: popoverOverflowModifiers
|
|
62749
|
+
}, popoverProps);
|
|
62750
|
+
if (displayToSide) {
|
|
62751
|
+
toReturn = /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, IconInner, /* @__PURE__ */ React$2.createElement("span", { style: { paddingLeft: 5, fontStyle: "italic" } }, content2 || children));
|
|
62752
|
+
} else if (isPopover) {
|
|
62753
|
+
toReturn = /* @__PURE__ */ React$2.createElement(Popover, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
62754
|
+
} else {
|
|
62755
|
+
toReturn = /* @__PURE__ */ React$2.createElement(Tooltip, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
61822
62756
|
}
|
|
61823
|
-
|
|
61824
|
-
|
|
61825
|
-
|
|
62757
|
+
const El = isInline ? "span" : "div";
|
|
62758
|
+
return /* @__PURE__ */ React$2.createElement(
|
|
62759
|
+
El,
|
|
62760
|
+
{
|
|
62761
|
+
style: __spreadValues(__spreadValues(__spreadValues({}, clickable ? { cursor: "pointer" } : {}), isInline ? {} : { display: "flex" }), style2),
|
|
62762
|
+
className: classNames$1(
|
|
62763
|
+
"info-helper-wrapper",
|
|
62764
|
+
{
|
|
62765
|
+
"info-helper-wrapper-noMarginTop": noMarginTop,
|
|
62766
|
+
"info-helper-clickable": isPopover
|
|
62767
|
+
},
|
|
62768
|
+
className
|
|
62769
|
+
)
|
|
62770
|
+
},
|
|
62771
|
+
toReturn
|
|
62772
|
+
);
|
|
62773
|
+
}, "InfoHelper");
|
|
61826
62774
|
const getIdOrCodeOrIndex = /* @__PURE__ */ __name((record, rowIndex) => {
|
|
61827
62775
|
if (record.id || record.id === 0) {
|
|
61828
62776
|
return record.id;
|
|
@@ -63749,12 +64697,20 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
63749
64697
|
__name(getSubFilter, "getSubFilter");
|
|
63750
64698
|
function getCurrentParamsFromUrl(location2, isSimple) {
|
|
63751
64699
|
let { search: search2 } = location2;
|
|
64700
|
+
if (isSimple) {
|
|
64701
|
+
search2 = window.location.href.split("?")[1] || "";
|
|
64702
|
+
}
|
|
63752
64703
|
return parseFilters(queryString.parse(search2, { ignoreQueryPrefix: true }));
|
|
63753
64704
|
}
|
|
63754
64705
|
__name(getCurrentParamsFromUrl, "getCurrentParamsFromUrl");
|
|
63755
64706
|
function setCurrentParamsOnUrl(newParams, replace2, isSimple) {
|
|
63756
64707
|
const stringifiedFilters = stringifyFilters(newParams);
|
|
63757
64708
|
const search2 = `?${queryString.stringify(stringifiedFilters)}`;
|
|
64709
|
+
if (isSimple) {
|
|
64710
|
+
return window.location.replace(
|
|
64711
|
+
`${window.location.href.split("?")[0]}${search2}`
|
|
64712
|
+
);
|
|
64713
|
+
}
|
|
63758
64714
|
replace2({
|
|
63759
64715
|
search: search2
|
|
63760
64716
|
});
|
|
@@ -68828,9 +69784,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
68828
69784
|
};
|
|
68829
69785
|
};
|
|
68830
69786
|
DateRangeInput2.prototype.componentDidUpdate = function(prevProps, prevState) {
|
|
68831
|
-
var _a2, _b2, _c2, _d2, _f, _g, _h, _j, _k, _l, _m, _o, _p,
|
|
69787
|
+
var _a2, _b2, _c2, _d2, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
68832
69788
|
_super.prototype.componentDidUpdate.call(this, prevProps, prevState);
|
|
68833
|
-
var
|
|
69789
|
+
var _r = this.state, isStartInputFocused = _r.isStartInputFocused, isEndInputFocused = _r.isEndInputFocused, shouldSelectAfterUpdate = _r.shouldSelectAfterUpdate;
|
|
68834
69790
|
if (((_a2 = prevProps.startInputProps) === null || _a2 === void 0 ? void 0 : _a2.inputRef) !== ((_b2 = this.props.startInputProps) === null || _b2 === void 0 ? void 0 : _b2.inputRef)) {
|
|
68835
69791
|
setRef$1((_c2 = prevProps.startInputProps) === null || _c2 === void 0 ? void 0 : _c2.inputRef, null);
|
|
68836
69792
|
this.handleStartInputRef = refHandler(this, "startInputElement", (_d2 = this.props.startInputProps) === null || _d2 === void 0 ? void 0 : _d2.inputRef);
|
|
@@ -68851,7 +69807,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
68851
69807
|
if (isStartInputFocused && shouldSelectAfterUpdate) {
|
|
68852
69808
|
(_p = this.startInputElement) === null || _p === void 0 ? void 0 : _p.select();
|
|
68853
69809
|
} else if (isEndInputFocused && shouldSelectAfterUpdate) {
|
|
68854
|
-
(
|
|
69810
|
+
(_q = this.endInputElement) === null || _q === void 0 ? void 0 : _q.select();
|
|
68855
69811
|
}
|
|
68856
69812
|
var nextState = {};
|
|
68857
69813
|
if (this.props.value !== prevProps.value) {
|
|
@@ -77357,8 +78313,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
77357
78313
|
});
|
|
77358
78314
|
return /* @__PURE__ */ React$2.createElement(TgSelect$1, __spreadValues({}, propsToUse));
|
|
77359
78315
|
}, "renderReactSelect");
|
|
77360
|
-
const BPSelect = /* @__PURE__ */ __name((
|
|
77361
|
-
var
|
|
78316
|
+
const BPSelect = /* @__PURE__ */ __name((_e) => {
|
|
78317
|
+
var _f = _e, { value, onChange } = _f, rest = __objRest(_f, ["value", "onChange"]);
|
|
77362
78318
|
return renderSelect(__spreadProps(__spreadValues({}, rest), { input: { onChange, value } }));
|
|
77363
78319
|
}, "BPSelect");
|
|
77364
78320
|
const renderSelect = /* @__PURE__ */ __name((props) => {
|
|
@@ -77493,12 +78449,12 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
77493
78449
|
})
|
|
77494
78450
|
);
|
|
77495
78451
|
}, "renderBlueprintNumericInput");
|
|
77496
|
-
const renderBlueprintRadioGroup = /* @__PURE__ */ __name((
|
|
77497
|
-
var
|
|
78452
|
+
const renderBlueprintRadioGroup = /* @__PURE__ */ __name((_g) => {
|
|
78453
|
+
var _h = _g, {
|
|
77498
78454
|
input,
|
|
77499
78455
|
options,
|
|
77500
78456
|
onFieldSubmit
|
|
77501
|
-
} =
|
|
78457
|
+
} = _h, rest = __objRest(_h, [
|
|
77502
78458
|
"input",
|
|
77503
78459
|
"options",
|
|
77504
78460
|
"onFieldSubmit"
|
|
@@ -78180,6 +79136,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
78180
79136
|
__name(resolvePathname, "resolvePathname");
|
|
78181
79137
|
var prefix$2 = "Invariant failed";
|
|
78182
79138
|
function invariant$2(condition, message) {
|
|
79139
|
+
if (condition) {
|
|
79140
|
+
return;
|
|
79141
|
+
}
|
|
78183
79142
|
{
|
|
78184
79143
|
throw new Error(prefix$2);
|
|
78185
79144
|
}
|
|
@@ -78227,7 +79186,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
78227
79186
|
} else {
|
|
78228
79187
|
location2.hash = "";
|
|
78229
79188
|
}
|
|
78230
|
-
if (location2.state === void 0)
|
|
79189
|
+
if (state2 !== void 0 && location2.state === void 0)
|
|
78231
79190
|
location2.state = state2;
|
|
78232
79191
|
}
|
|
78233
79192
|
try {
|
|
@@ -78239,6 +79198,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
78239
79198
|
throw e2;
|
|
78240
79199
|
}
|
|
78241
79200
|
}
|
|
79201
|
+
if (key2)
|
|
79202
|
+
location2.key = key2;
|
|
78242
79203
|
if (currentLocation) {
|
|
78243
79204
|
if (!location2.pathname) {
|
|
78244
79205
|
location2.pathname = currentLocation.pathname;
|
|
@@ -78360,6 +79321,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
78360
79321
|
}).isRequired
|
|
78361
79322
|
}).isRequired
|
|
78362
79323
|
};
|
|
79324
|
+
const Link$1 = Link;
|
|
78363
79325
|
var pathToRegexp$2 = { exports: {} };
|
|
78364
79326
|
var isarray$1 = Array.isArray || function(arr) {
|
|
78365
79327
|
return Object.prototype.toString.call(arr) == "[object Array]";
|
|
@@ -78806,6 +79768,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
78806
79768
|
Route.childContextTypes = {
|
|
78807
79769
|
router: PropTypes$1.object.isRequired
|
|
78808
79770
|
};
|
|
79771
|
+
const Route$1 = Route;
|
|
78809
79772
|
var REACT_STATICS = {
|
|
78810
79773
|
childContextTypes: true,
|
|
78811
79774
|
contextTypes: true,
|
|
@@ -78887,7 +79850,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
78887
79850
|
var withRouter = /* @__PURE__ */ __name(function withRouter2(Component) {
|
|
78888
79851
|
var C2 = /* @__PURE__ */ __name(function C3(props) {
|
|
78889
79852
|
var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutProperties$3(props, ["wrappedComponentRef"]);
|
|
78890
|
-
return React$2.createElement(Route, {
|
|
79853
|
+
return React$2.createElement(Route$1, {
|
|
78891
79854
|
children: /* @__PURE__ */ __name(function children(routeComponentProps) {
|
|
78892
79855
|
return React$2.createElement(Component, _extends$2({}, remainingProps, routeComponentProps, {
|
|
78893
79856
|
ref: wrappedComponentRef
|
|
@@ -78902,6 +79865,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
78902
79865
|
};
|
|
78903
79866
|
return hoistStatics(C2, Component);
|
|
78904
79867
|
}, "withRouter");
|
|
79868
|
+
const withRouter$1 = withRouter;
|
|
78905
79869
|
const isEq$1 = /* @__PURE__ */ __name((o1, o2) => {
|
|
78906
79870
|
const isEq2 = isEqualWith(o1, o2, function(val1, val2) {
|
|
78907
79871
|
if (isFunction$1(val1) && isFunction$1(val2)) {
|
|
@@ -78969,8 +79933,12 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
78969
79933
|
__name(getTableConfigFromStorage, "getTableConfigFromStorage");
|
|
78970
79934
|
function withTableParams(compOrOpts, pTopLevelOpts) {
|
|
78971
79935
|
let topLevelOptions;
|
|
78972
|
-
|
|
79936
|
+
let Component;
|
|
79937
|
+
if (!pTopLevelOpts) {
|
|
78973
79938
|
topLevelOptions = compOrOpts;
|
|
79939
|
+
} else {
|
|
79940
|
+
topLevelOptions = pTopLevelOpts;
|
|
79941
|
+
Component = compOrOpts;
|
|
78974
79942
|
}
|
|
78975
79943
|
const { isLocalCall } = topLevelOptions;
|
|
78976
79944
|
const mapStateToProps2 = /* @__PURE__ */ __name((state2, ownProps) => {
|
|
@@ -79192,11 +80160,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
79192
80160
|
}),
|
|
79193
80161
|
branch((props) => {
|
|
79194
80162
|
return !props.noRouter;
|
|
79195
|
-
}, withRouter),
|
|
80163
|
+
}, withRouter$1),
|
|
79196
80164
|
connect(mapStateToProps2, mapDispatchToProps2, mergeProps),
|
|
79197
80165
|
pure$1,
|
|
79198
80166
|
addFormTracking
|
|
79199
80167
|
);
|
|
80168
|
+
if (Component) {
|
|
80169
|
+
return toReturn(Component);
|
|
80170
|
+
}
|
|
79200
80171
|
return toReturn;
|
|
79201
80172
|
}
|
|
79202
80173
|
__name(withTableParams, "withTableParams");
|
|
@@ -80107,7 +81078,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
80107
81078
|
const { schema: schema2 } = this.props;
|
|
80108
81079
|
const editableFields = schema2.fields.filter((f2) => !f2.isNotEditable);
|
|
80109
81080
|
const validationErrors = {};
|
|
80110
|
-
const newEnts =
|
|
81081
|
+
const newEnts = immer(entities, (entities2) => {
|
|
80111
81082
|
entities2.forEach((e2, index2) => {
|
|
80112
81083
|
editableFields.forEach((columnSchema) => {
|
|
80113
81084
|
if (useDefaultValues) {
|
|
@@ -80723,8 +81694,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
80723
81694
|
};
|
|
80724
81695
|
}),
|
|
80725
81696
|
branch(({ immovable }) => "true" !== immovable, sortableElement)
|
|
80726
|
-
)((
|
|
80727
|
-
var
|
|
81697
|
+
)((_i) => {
|
|
81698
|
+
var _j = _i, { toggleSort, className, children } = _j, rest = __objRest(_j, ["toggleSort", "className", "children"]);
|
|
80728
81699
|
return /* @__PURE__ */ React$2.createElement(
|
|
80729
81700
|
"div",
|
|
80730
81701
|
__spreadValues({
|
|
@@ -82983,13 +83954,13 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
82983
83954
|
};
|
|
82984
83955
|
}
|
|
82985
83956
|
__name(getCellInfo, "getCellInfo");
|
|
82986
|
-
function ColumnFilterMenu(
|
|
82987
|
-
var
|
|
83957
|
+
function ColumnFilterMenu(_k) {
|
|
83958
|
+
var _l = _k, {
|
|
82988
83959
|
FilterMenu,
|
|
82989
83960
|
filterActiveForColumn,
|
|
82990
83961
|
compact: compact2,
|
|
82991
83962
|
extraCompact
|
|
82992
|
-
} =
|
|
83963
|
+
} = _l, rest = __objRest(_l, [
|
|
82993
83964
|
"FilterMenu",
|
|
82994
83965
|
"filterActiveForColumn",
|
|
82995
83966
|
"compact",
|
|
@@ -83661,7 +84632,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
83661
84632
|
}),
|
|
83662
84633
|
onChange: (val2) => {
|
|
83663
84634
|
setFilesWIssues(
|
|
83664
|
-
|
|
84635
|
+
immer(filesWIssues, (files) => {
|
|
83665
84636
|
files.forEach((f2, i22) => {
|
|
83666
84637
|
const isCurrentFile = fileIndex === i22;
|
|
83667
84638
|
if (isCurrentFile || doAllFilesHaveSameHeaders) {
|
|
@@ -84245,8 +85216,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
84245
85216
|
function createPatternAlphabet(pattern) {
|
|
84246
85217
|
let mask = {};
|
|
84247
85218
|
for (let i2 = 0, len2 = pattern.length; i2 < len2; i2 += 1) {
|
|
84248
|
-
const
|
|
84249
|
-
mask[
|
|
85219
|
+
const char2 = pattern.charAt(i2);
|
|
85220
|
+
mask[char2] = (mask[char2] || 0) | 1 << len2 - i2 - 1;
|
|
84250
85221
|
}
|
|
84251
85222
|
return mask;
|
|
84252
85223
|
}
|
|
@@ -85621,7 +86592,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
85621
86592
|
}, hasSubmitted && {
|
|
85622
86593
|
onBackClick: onBackClick || (() => {
|
|
85623
86594
|
setSteps(
|
|
85624
|
-
|
|
86595
|
+
immer(steps, (draft) => {
|
|
85625
86596
|
draft[0].active = true;
|
|
85626
86597
|
draft[0].completed = false;
|
|
85627
86598
|
draft[1].active = false;
|
|
@@ -85634,7 +86605,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
85634
86605
|
return __async(this, null, function* () {
|
|
85635
86606
|
if (!hasSubmitted) {
|
|
85636
86607
|
setSteps(
|
|
85637
|
-
|
|
86608
|
+
immer(steps, (draft) => {
|
|
85638
86609
|
draft[0].active = false;
|
|
85639
86610
|
draft[0].completed = true;
|
|
85640
86611
|
draft[1].active = true;
|
|
@@ -85846,8 +86817,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
85846
86817
|
return toRet == null ? void 0 : toRet.map((e2) => omit$3(e2, ["_isClean"]));
|
|
85847
86818
|
}
|
|
85848
86819
|
__name(maybeStripIdFromEntities, "maybeStripIdFromEntities");
|
|
85849
|
-
const useDialog = /* @__PURE__ */ __name((
|
|
85850
|
-
var
|
|
86820
|
+
const useDialog = /* @__PURE__ */ __name((_m) => {
|
|
86821
|
+
var _n = _m, { ModalComponent } = _n, rest = __objRest(_n, ["ModalComponent"]);
|
|
85851
86822
|
const [isOpen2, setOpen] = reactExports.useState(false);
|
|
85852
86823
|
const [additionalProps, setAdditionalProps] = reactExports.useState(false);
|
|
85853
86824
|
const comp = /* @__PURE__ */ React$2.createElement(
|
|
@@ -85892,10 +86863,6 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
85892
86863
|
__name(showDialogPromise, "showDialogPromise");
|
|
85893
86864
|
return { comp, showDialogPromise, toggleDialog, setAdditionalProps };
|
|
85894
86865
|
}, "useDialog");
|
|
85895
|
-
function commonjsRequire(path2) {
|
|
85896
|
-
throw new Error('Could not dynamically require "' + path2 + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
85897
|
-
}
|
|
85898
|
-
__name(commonjsRequire, "commonjsRequire");
|
|
85899
86866
|
var jszip_min = { exports: {} };
|
|
85900
86867
|
/*!
|
|
85901
86868
|
|
|
@@ -88486,8 +89453,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
88486
89453
|
var q2 = false;
|
|
88487
89454
|
function J2(e3, t3, r3, n3) {
|
|
88488
89455
|
P2(e3, (s2 << 1) + (n3 ? 1 : 0), 3), function(e4, t4, r4, n4) {
|
|
88489
|
-
M2(e4), U2(e4, r4), U2(e4, ~r4), i2.arraySet(e4.pending_buf, e4.window, t4, r4, e4.pending), e4.pending += r4;
|
|
88490
|
-
}(e3, t3, r3);
|
|
89456
|
+
M2(e4), n4 && (U2(e4, r4), U2(e4, ~r4)), i2.arraySet(e4.pending_buf, e4.window, t4, r4, e4.pending), e4.pending += r4;
|
|
89457
|
+
}(e3, t3, r3, true);
|
|
88491
89458
|
}
|
|
88492
89459
|
__name(J2, "J");
|
|
88493
89460
|
r2._tr_init = function(e3) {
|
|
@@ -94389,7 +95356,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
94389
95356
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
94390
95357
|
if (it)
|
|
94391
95358
|
return (it = it.call(o2)).next.bind(it);
|
|
94392
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike) {
|
|
95359
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
94393
95360
|
if (it)
|
|
94394
95361
|
o2 = it;
|
|
94395
95362
|
var i2 = 0;
|
|
@@ -94742,7 +95709,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
94742
95709
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
94743
95710
|
if (it)
|
|
94744
95711
|
return (it = it.call(o2)).next.bind(it);
|
|
94745
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike) {
|
|
95712
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
94746
95713
|
if (it)
|
|
94747
95714
|
o2 = it;
|
|
94748
95715
|
var i2 = 0;
|
|
@@ -95038,7 +96005,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
95038
96005
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
95039
96006
|
if (it)
|
|
95040
96007
|
return (it = it.call(o2)).next.bind(it);
|
|
95041
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike) {
|
|
96008
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
95042
96009
|
if (it)
|
|
95043
96010
|
o2 = it;
|
|
95044
96011
|
var i2 = 0;
|
|
@@ -95124,7 +96091,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
95124
96091
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
95125
96092
|
if (it)
|
|
95126
96093
|
return (it = it.call(o2)).next.bind(it);
|
|
95127
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike) {
|
|
96094
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
95128
96095
|
if (it)
|
|
95129
96096
|
o2 = it;
|
|
95130
96097
|
var i2 = 0;
|
|
@@ -95225,7 +96192,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
95225
96192
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
95226
96193
|
if (it)
|
|
95227
96194
|
return (it = it.call(o2)).next.bind(it);
|
|
95228
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike) {
|
|
96195
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
95229
96196
|
if (it)
|
|
95230
96197
|
o2 = it;
|
|
95231
96198
|
var i2 = 0;
|
|
@@ -95862,7 +96829,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
95862
96829
|
) : /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, "Accepts ", simpleAccept)
|
|
95863
96830
|
),
|
|
95864
96831
|
/* @__PURE__ */ React$2.createElement(
|
|
95865
|
-
Dropzone,
|
|
96832
|
+
Dropzone$1,
|
|
95866
96833
|
__spreadValues(__spreadValues({
|
|
95867
96834
|
disabled: dropzoneDisabled,
|
|
95868
96835
|
onClick: (evt) => evt.preventDefault(),
|
|
@@ -96376,68 +97343,55 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
96376
97343
|
);
|
|
96377
97344
|
}
|
|
96378
97345
|
__name(BounceLoader, "BounceLoader");
|
|
96379
|
-
const
|
|
96380
|
-
|
|
96381
|
-
|
|
96382
|
-
|
|
96383
|
-
|
|
96384
|
-
|
|
96385
|
-
|
|
96386
|
-
|
|
96387
|
-
|
|
96388
|
-
|
|
96389
|
-
|
|
96390
|
-
|
|
97346
|
+
const Loading = /* @__PURE__ */ __name(({
|
|
97347
|
+
loading,
|
|
97348
|
+
style: userStyle,
|
|
97349
|
+
className,
|
|
97350
|
+
containerStyle = {},
|
|
97351
|
+
children,
|
|
97352
|
+
displayInstantly = false,
|
|
97353
|
+
bounce = false,
|
|
97354
|
+
withTimeout,
|
|
97355
|
+
inDialog,
|
|
97356
|
+
centeredInPage
|
|
97357
|
+
}) => {
|
|
97358
|
+
const [longerThan200MS, setLongerThan200MS] = reactExports.useState(false);
|
|
97359
|
+
reactExports.useEffect(() => {
|
|
97360
|
+
const timeoutId = setTimeout(() => {
|
|
97361
|
+
setLongerThan200MS(true);
|
|
96391
97362
|
}, 200);
|
|
96392
|
-
|
|
96393
|
-
|
|
96394
|
-
|
|
96395
|
-
}
|
|
96396
|
-
|
|
96397
|
-
|
|
96398
|
-
|
|
96399
|
-
|
|
96400
|
-
|
|
96401
|
-
containerStyle = {},
|
|
96402
|
-
children,
|
|
96403
|
-
displayInstantly = false,
|
|
96404
|
-
bounce = false,
|
|
96405
|
-
withTimeout,
|
|
96406
|
-
inDialog,
|
|
96407
|
-
centeredInPage
|
|
96408
|
-
} = this.props;
|
|
96409
|
-
const { longerThan200MS } = this.state;
|
|
96410
|
-
const style2 = __spreadValues(__spreadValues({}, userStyle), inDialog && { minHeight: 120 });
|
|
96411
|
-
const LoaderComp = bounce || inDialog ? BounceLoader : DNALoader;
|
|
96412
|
-
if (loading || !children) {
|
|
96413
|
-
if (!displayInstantly && !longerThan200MS && (!bounce && !inDialog || withTimeout)) {
|
|
96414
|
-
return /* @__PURE__ */ React$2.createElement("div", null);
|
|
96415
|
-
}
|
|
96416
|
-
return /* @__PURE__ */ React$2.createElement(
|
|
96417
|
-
"div",
|
|
96418
|
-
{
|
|
96419
|
-
className: "tg-loader-container tg-flex justify-center align-center",
|
|
96420
|
-
style: __spreadValues(__spreadValues({
|
|
96421
|
-
width: "100%"
|
|
96422
|
-
}, containerStyle), centeredInPage && {
|
|
96423
|
-
width: void 0,
|
|
96424
|
-
zIndex: 20,
|
|
96425
|
-
height: 10,
|
|
96426
|
-
position: "fixed",
|
|
96427
|
-
top: "50%",
|
|
96428
|
-
left: "50%",
|
|
96429
|
-
transform: "translate(-50%, 0)"
|
|
96430
|
-
})
|
|
96431
|
-
},
|
|
96432
|
-
/* @__PURE__ */ React$2.createElement(LoaderComp, { style: style2, className })
|
|
96433
|
-
);
|
|
96434
|
-
} else {
|
|
96435
|
-
return children || null;
|
|
97363
|
+
return () => {
|
|
97364
|
+
clearTimeout(timeoutId);
|
|
97365
|
+
};
|
|
97366
|
+
}, []);
|
|
97367
|
+
const style2 = __spreadValues(__spreadValues({}, userStyle), inDialog && { minHeight: 120 });
|
|
97368
|
+
const LoaderComp = bounce || inDialog ? BounceLoader : DNALoader;
|
|
97369
|
+
if (loading || !children) {
|
|
97370
|
+
if (!displayInstantly && !longerThan200MS && (!bounce && !inDialog || withTimeout)) {
|
|
97371
|
+
return /* @__PURE__ */ React$2.createElement("div", null);
|
|
96436
97372
|
}
|
|
97373
|
+
return /* @__PURE__ */ React$2.createElement(
|
|
97374
|
+
"div",
|
|
97375
|
+
{
|
|
97376
|
+
className: "tg-loader-container tg-flex justify-center align-center",
|
|
97377
|
+
style: __spreadValues(__spreadValues({
|
|
97378
|
+
width: "100%"
|
|
97379
|
+
}, containerStyle), centeredInPage && {
|
|
97380
|
+
width: void 0,
|
|
97381
|
+
zIndex: 20,
|
|
97382
|
+
height: 10,
|
|
97383
|
+
position: "fixed",
|
|
97384
|
+
top: "50%",
|
|
97385
|
+
left: "50%",
|
|
97386
|
+
transform: "translate(-50%, 0)"
|
|
97387
|
+
})
|
|
97388
|
+
},
|
|
97389
|
+
/* @__PURE__ */ React$2.createElement(LoaderComp, { style: style2, className })
|
|
97390
|
+
);
|
|
97391
|
+
} else {
|
|
97392
|
+
return children || null;
|
|
96437
97393
|
}
|
|
96438
|
-
};
|
|
96439
|
-
__name(_Loading, "Loading");
|
|
96440
|
-
let Loading = _Loading;
|
|
97394
|
+
}, "Loading");
|
|
96441
97395
|
function AdvancedOptions({
|
|
96442
97396
|
children,
|
|
96443
97397
|
content: content2,
|
|
@@ -96470,14 +97424,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
96470
97424
|
), isOpen2 && /* @__PURE__ */ React$2.createElement("div", { style: { marginTop: 10 } }, content2 || children));
|
|
96471
97425
|
}
|
|
96472
97426
|
__name(AdvancedOptions, "AdvancedOptions");
|
|
96473
|
-
function DropdownButton(
|
|
96474
|
-
var
|
|
97427
|
+
function DropdownButton(_o) {
|
|
97428
|
+
var _p = _o, {
|
|
96475
97429
|
disabled,
|
|
96476
97430
|
menu,
|
|
96477
97431
|
noRightIcon,
|
|
96478
97432
|
popoverProps,
|
|
96479
97433
|
className
|
|
96480
|
-
} =
|
|
97434
|
+
} = _p, rest = __objRest(_p, [
|
|
96481
97435
|
"disabled",
|
|
96482
97436
|
"menu",
|
|
96483
97437
|
"noRightIcon",
|
|
@@ -96669,7 +97623,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
96669
97623
|
}
|
|
96670
97624
|
__name(_getRequireWildcardCache$1, "_getRequireWildcardCache$1");
|
|
96671
97625
|
function _interopRequireWildcard$1(obj, nodeInterop) {
|
|
96672
|
-
if (obj && obj.__esModule) {
|
|
97626
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
96673
97627
|
return obj;
|
|
96674
97628
|
}
|
|
96675
97629
|
if (obj === null || _typeof$1(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -97094,7 +98048,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
97094
98048
|
}
|
|
97095
98049
|
__name(_getRequireWildcardCache, "_getRequireWildcardCache");
|
|
97096
98050
|
function _interopRequireWildcard(obj, nodeInterop) {
|
|
97097
|
-
if (obj && obj.__esModule) {
|
|
98051
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
97098
98052
|
return obj;
|
|
97099
98053
|
}
|
|
97100
98054
|
if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -97208,6 +98162,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
97208
98162
|
function _createClass$1(Constructor, protoProps, staticProps) {
|
|
97209
98163
|
if (protoProps)
|
|
97210
98164
|
_defineProperties$1(Constructor.prototype, protoProps);
|
|
98165
|
+
if (staticProps)
|
|
98166
|
+
_defineProperties$1(Constructor, staticProps);
|
|
97211
98167
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
97212
98168
|
return Constructor;
|
|
97213
98169
|
}
|
|
@@ -97689,7 +98645,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
97689
98645
|
}
|
|
97690
98646
|
__name(_getRequireWildcardCache2, "_getRequireWildcardCache");
|
|
97691
98647
|
function _interopRequireWildcard2(obj, nodeInterop) {
|
|
97692
|
-
if (obj && obj.__esModule) {
|
|
98648
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
97693
98649
|
return obj;
|
|
97694
98650
|
}
|
|
97695
98651
|
if (obj === null || _typeof4(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -99803,7 +100759,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
99803
100759
|
e2.target.closest(`.${POPOVER_DISMISS}`).click();
|
|
99804
100760
|
}, "handleLinkClick");
|
|
99805
100761
|
return /* @__PURE__ */ React$2.createElement("li", { className: POPOVER_DISMISS, onClick }, /* @__PURE__ */ React$2.createElement(
|
|
99806
|
-
Link,
|
|
100762
|
+
Link$1,
|
|
99807
100763
|
{
|
|
99808
100764
|
onClick: handleLinkClick,
|
|
99809
100765
|
to: navTo,
|
|
@@ -99827,15 +100783,15 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
99827
100783
|
willUnmount({ className });
|
|
99828
100784
|
}
|
|
99829
100785
|
}),
|
|
99830
|
-
branch(({ navTo }) => navTo, withRouter)
|
|
99831
|
-
)(function(
|
|
99832
|
-
var
|
|
100786
|
+
branch(({ navTo }) => navTo, withRouter$1)
|
|
100787
|
+
)(function(_q) {
|
|
100788
|
+
var _r = _q, {
|
|
99833
100789
|
navTo,
|
|
99834
100790
|
context,
|
|
99835
100791
|
staticContext,
|
|
99836
100792
|
didMount,
|
|
99837
100793
|
willUnmount
|
|
99838
|
-
} =
|
|
100794
|
+
} = _r, props = __objRest(_r, [
|
|
99839
100795
|
"navTo",
|
|
99840
100796
|
"context",
|
|
99841
100797
|
"staticContext",
|
|
@@ -100029,7 +100985,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
100029
100985
|
);
|
|
100030
100986
|
}
|
|
100031
100987
|
__name(doesSearchValMatchText, "doesSearchValMatchText");
|
|
100032
|
-
let MenuBar$1 = (
|
|
100988
|
+
let MenuBar$1 = (_s = class extends React$2.Component {
|
|
100033
100989
|
constructor(props) {
|
|
100034
100990
|
super(props);
|
|
100035
100991
|
__publicField(this, "state", {
|
|
@@ -100274,10 +101230,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
100274
101230
|
);
|
|
100275
101231
|
}), extraContent);
|
|
100276
101232
|
}
|
|
100277
|
-
}, __name(
|
|
101233
|
+
}, __name(_s, "MenuBar"), __publicField(_s, "defaultProps", {
|
|
100278
101234
|
className: "",
|
|
100279
101235
|
style: {}
|
|
100280
|
-
}),
|
|
101236
|
+
}), _s);
|
|
100281
101237
|
const isDivider = /* @__PURE__ */ __name((item) => item.divider !== void 0, "isDivider");
|
|
100282
101238
|
function getAllMenuTextsAndHandlers(menu, enhancers, context, path2 = []) {
|
|
100283
101239
|
if (!menu)
|
|
@@ -100425,7 +101381,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
100425
101381
|
);
|
|
100426
101382
|
}
|
|
100427
101383
|
__name(HotkeysDialog, "HotkeysDialog");
|
|
100428
|
-
let FillWindow$1 = (
|
|
101384
|
+
let FillWindow$1 = (_t = class extends React$2.Component {
|
|
100429
101385
|
constructor(props) {
|
|
100430
101386
|
super(props);
|
|
100431
101387
|
rerenderOnWindowResize(this);
|
|
@@ -100473,7 +101429,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
100473
101429
|
return ReactDOM$1.createPortal(inner2, window.document.body);
|
|
100474
101430
|
return inner2;
|
|
100475
101431
|
}
|
|
100476
|
-
}, __name(
|
|
101432
|
+
}, __name(_t, "FillWindow"), _t);
|
|
100477
101433
|
var relativeTime$1 = { exports: {} };
|
|
100478
101434
|
(function(module2, exports3) {
|
|
100479
101435
|
!function(r2, e2) {
|
|
@@ -100521,16 +101477,6 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
100521
101477
|
var relativeTimeExports = relativeTime$1.exports;
|
|
100522
101478
|
const relativeTime = /* @__PURE__ */ getDefaultExportFromCjs(relativeTimeExports);
|
|
100523
101479
|
dayjs.extend(relativeTime);
|
|
100524
|
-
const _Timeline = class _Timeline extends reactExports.Component {
|
|
100525
|
-
render() {
|
|
100526
|
-
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);
|
|
100527
|
-
}
|
|
100528
|
-
};
|
|
100529
|
-
__name(_Timeline, "Timeline");
|
|
100530
|
-
__publicField(_Timeline, "propTypes", {
|
|
100531
|
-
children: PropTypes$1.arrayOf(PropTypes$1.element)
|
|
100532
|
-
});
|
|
100533
|
-
let Timeline = _Timeline;
|
|
100534
101480
|
const ptIconWrapper = /* @__PURE__ */ __name((path2, viewboxDefault = 24, rest) => {
|
|
100535
101481
|
return /* @__PURE__ */ React$2.createElement("span", { className: "bp3-icon" }, /* @__PURE__ */ React$2.createElement(
|
|
100536
101482
|
"svg",
|
|
@@ -102221,7 +103167,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
102221
103167
|
}
|
|
102222
103168
|
}
|
|
102223
103169
|
if (outputTrimmedRange) {
|
|
102224
|
-
return
|
|
103170
|
+
return extend$2({}, rangeToBeTrimmed, {
|
|
102225
103171
|
start: outputTrimmedRange.start,
|
|
102226
103172
|
end: outputTrimmedRange.end
|
|
102227
103173
|
});
|
|
@@ -102806,6 +103752,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
102806
103752
|
);
|
|
102807
103753
|
if (!rangeBlocked) {
|
|
102808
103754
|
yOffset = index2;
|
|
103755
|
+
if (assignYOffsetToRange)
|
|
103756
|
+
range2.yOffset = index2;
|
|
102809
103757
|
rangesAlreadyAddedToYOffset.push(range2);
|
|
102810
103758
|
return true;
|
|
102811
103759
|
}
|
|
@@ -102814,6 +103762,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
102814
103762
|
);
|
|
102815
103763
|
if (!openYOffsetFound) {
|
|
102816
103764
|
yOffset = YOffsetLevelsWithRanges.length;
|
|
103765
|
+
if (assignYOffsetToRange)
|
|
103766
|
+
range2.yOffset = YOffsetLevelsWithRanges.length;
|
|
102817
103767
|
}
|
|
102818
103768
|
return yOffset;
|
|
102819
103769
|
}
|
|
@@ -108211,7 +109161,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
108211
109161
|
}
|
|
108212
109162
|
__name(coerceLocation, "coerceLocation");
|
|
108213
109163
|
function getDegenerateDnaStringFromAAString(aaString) {
|
|
108214
|
-
return aaString.split("").map((
|
|
109164
|
+
return aaString.split("").map((char2) => aminoAcidToDegenerateDnaMap[char2.toLowerCase()] || "nnn").join("");
|
|
108215
109165
|
}
|
|
108216
109166
|
__name(getDegenerateDnaStringFromAAString, "getDegenerateDnaStringFromAAString");
|
|
108217
109167
|
function getAminoAcidStringFromSequenceString(sequenceString, { doNotExcludeAsterisk } = {}) {
|
|
@@ -116882,8 +117832,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
116882
117832
|
function convertAmbiguousStringToRegex(string2, isProtein2) {
|
|
116883
117833
|
return reduce(
|
|
116884
117834
|
string2,
|
|
116885
|
-
(acc,
|
|
116886
|
-
const value = isProtein2 ? extended_protein_values[
|
|
117835
|
+
(acc, char2) => {
|
|
117836
|
+
const value = isProtein2 ? extended_protein_values[char2.toUpperCase()] : ambiguous_dna_values$1[char2.toUpperCase()];
|
|
116887
117837
|
if (!value)
|
|
116888
117838
|
return acc;
|
|
116889
117839
|
if (value.length === 1) {
|
|
@@ -116925,7 +117875,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
116925
117875
|
annotationTypes.forEach((type2) => {
|
|
116926
117876
|
delete seqDataToUse[`filtered${startCase(type2)}`];
|
|
116927
117877
|
});
|
|
116928
|
-
const seqDataToReturn =
|
|
117878
|
+
const seqDataToReturn = extend$2(
|
|
116929
117879
|
{},
|
|
116930
117880
|
seqDataToUse,
|
|
116931
117881
|
{
|
|
@@ -116993,7 +117943,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
116993
117943
|
}
|
|
116994
117944
|
const overlaps = getZeroedRangeOverlaps(annotation, range2, maxLength).map(
|
|
116995
117945
|
(overlap) => {
|
|
116996
|
-
return
|
|
117946
|
+
return extend$2({}, annotation, overlap);
|
|
116997
117947
|
}
|
|
116998
117948
|
);
|
|
116999
117949
|
if (shouldExcludePartial) {
|
|
@@ -118897,8 +119847,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
118897
119847
|
}
|
|
118898
119848
|
return true;
|
|
118899
119849
|
};
|
|
118900
|
-
function isWhiteSpace$1(
|
|
118901
|
-
return
|
|
119850
|
+
function isWhiteSpace$1(char2) {
|
|
119851
|
+
return char2 === " " || char2 === " " || char2 === "\n" || char2 === "\r";
|
|
118902
119852
|
}
|
|
118903
119853
|
__name(isWhiteSpace$1, "isWhiteSpace$1");
|
|
118904
119854
|
function readPI(xmlData, i2) {
|
|
@@ -119356,7 +120306,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
119356
120306
|
const xmlNode = xmlNode$1;
|
|
119357
120307
|
const readDocType = DocTypeReader;
|
|
119358
120308
|
const toNumber = strnum;
|
|
119359
|
-
let OrderedObjParser$1 = (
|
|
120309
|
+
let OrderedObjParser$1 = (_u = class {
|
|
119360
120310
|
constructor(options) {
|
|
119361
120311
|
this.options = options;
|
|
119362
120312
|
this.currentNode = null;
|
|
@@ -119395,7 +120345,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
119395
120345
|
this.saveTextToParentTag = saveTextToParentTag;
|
|
119396
120346
|
this.addChild = addChild;
|
|
119397
120347
|
}
|
|
119398
|
-
}, __name(
|
|
120348
|
+
}, __name(_u, "OrderedObjParser"), _u);
|
|
119399
120349
|
function addExternalEntities(externalEntities) {
|
|
119400
120350
|
const entKeys = Object.keys(externalEntities);
|
|
119401
120351
|
for (let i2 = 0; i2 < entKeys.length; i2++) {
|
|
@@ -119951,7 +120901,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
119951
120901
|
const OrderedObjParser = OrderedObjParser_1;
|
|
119952
120902
|
const { prettify } = node2json;
|
|
119953
120903
|
const validator$1 = validator$2;
|
|
119954
|
-
let XMLParser$1 = (
|
|
120904
|
+
let XMLParser$1 = (_v = class {
|
|
119955
120905
|
constructor(options) {
|
|
119956
120906
|
this.externalEntities = {};
|
|
119957
120907
|
this.options = buildOptions(options);
|
|
@@ -120001,7 +120951,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
120001
120951
|
this.externalEntities[key2] = value;
|
|
120002
120952
|
}
|
|
120003
120953
|
}
|
|
120004
|
-
}, __name(
|
|
120954
|
+
}, __name(_v, "XMLParser"), _v);
|
|
120005
120955
|
var XMLParser_1 = XMLParser$1;
|
|
120006
120956
|
const EOL = "\n";
|
|
120007
120957
|
function toXml(jArray, options) {
|
|
@@ -124380,12 +125330,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
124380
125330
|
if (value > max2 || value < min2) {
|
|
124381
125331
|
const n2 = typeof min2 === "bigint" ? "n" : "";
|
|
124382
125332
|
let range2;
|
|
124383
|
-
{
|
|
125333
|
+
if (byteLength3 > 3) {
|
|
124384
125334
|
if (min2 === 0 || min2 === BigInt(0)) {
|
|
124385
125335
|
range2 = `>= 0${n2} and < 2${n2} ** ${(byteLength3 + 1) * 8}${n2}`;
|
|
124386
125336
|
} else {
|
|
124387
125337
|
range2 = `>= -(2${n2} ** ${(byteLength3 + 1) * 8 - 1}${n2}) and < 2 ** ${(byteLength3 + 1) * 8 - 1}${n2}`;
|
|
124388
125338
|
}
|
|
125339
|
+
} else {
|
|
125340
|
+
range2 = `>= ${min2}${n2} and <= ${max2}${n2}`;
|
|
124389
125341
|
}
|
|
124390
125342
|
throw new errors.ERR_OUT_OF_RANGE("value", range2, value);
|
|
124391
125343
|
}
|
|
@@ -124401,14 +125353,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
124401
125353
|
function boundsError(value, length, type2) {
|
|
124402
125354
|
if (Math.floor(value) !== value) {
|
|
124403
125355
|
validateNumber(value, type2);
|
|
124404
|
-
throw new errors.ERR_OUT_OF_RANGE("offset", "an integer", value);
|
|
125356
|
+
throw new errors.ERR_OUT_OF_RANGE(type2 || "offset", "an integer", value);
|
|
124405
125357
|
}
|
|
124406
125358
|
if (length < 0) {
|
|
124407
125359
|
throw new errors.ERR_BUFFER_OUT_OF_BOUNDS();
|
|
124408
125360
|
}
|
|
124409
125361
|
throw new errors.ERR_OUT_OF_RANGE(
|
|
124410
|
-
"offset",
|
|
124411
|
-
`>= ${0} and <= ${length}`,
|
|
125362
|
+
type2 || "offset",
|
|
125363
|
+
`>= ${type2 ? 1 : 0} and <= ${length}`,
|
|
124412
125364
|
value
|
|
124413
125365
|
);
|
|
124414
125366
|
}
|
|
@@ -125013,6 +125965,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
125013
125965
|
function _createClass2(Constructor, protoProps, staticProps) {
|
|
125014
125966
|
if (protoProps)
|
|
125015
125967
|
_defineProperties2(Constructor.prototype, protoProps);
|
|
125968
|
+
if (staticProps)
|
|
125969
|
+
_defineProperties2(Constructor, staticProps);
|
|
125016
125970
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
125017
125971
|
return Constructor;
|
|
125018
125972
|
}
|
|
@@ -125382,7 +126336,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
125382
126336
|
}
|
|
125383
126337
|
__name(oneOf, "oneOf");
|
|
125384
126338
|
function startsWith2(str, search2, pos) {
|
|
125385
|
-
return str.substr(0, search2.length) === search2;
|
|
126339
|
+
return str.substr(!pos || pos < 0 ? 0 : +pos, search2.length) === search2;
|
|
125386
126340
|
}
|
|
125387
126341
|
__name(startsWith2, "startsWith");
|
|
125388
126342
|
function endsWith2(str, search2, this_len) {
|
|
@@ -127818,7 +128772,7 @@ ${seq.sequence}
|
|
|
127818
128772
|
};
|
|
127819
128773
|
__name(_FASTAParser, "FASTAParser");
|
|
127820
128774
|
let FASTAParser = _FASTAParser;
|
|
127821
|
-
let Parser$1 = (
|
|
128775
|
+
let Parser$1 = (_w = class {
|
|
127822
128776
|
constructor(args) {
|
|
127823
128777
|
this.fastaParser = void 0;
|
|
127824
128778
|
this.eof = false;
|
|
@@ -128042,7 +128996,7 @@ ${seq.sequence}
|
|
|
128042
128996
|
}
|
|
128043
128997
|
});
|
|
128044
128998
|
}
|
|
128045
|
-
}, __name(
|
|
128999
|
+
}, __name(_w, "Parser"), _w);
|
|
128046
129000
|
function _callback(callback2) {
|
|
128047
129001
|
if (process && process.nextTick)
|
|
128048
129002
|
process.nextTick(callback2);
|
|
@@ -128895,10 +129849,16 @@ ${seq.sequence}
|
|
|
128895
129849
|
o2 = b4(data, ze2 + 48);
|
|
128896
129850
|
}
|
|
128897
129851
|
}
|
|
129852
|
+
var fltr = opts2 && opts2.filter;
|
|
128898
129853
|
for (var i2 = 0; i2 < c2; ++i2) {
|
|
128899
129854
|
var _a2 = zh(data, o2, z2), c_2 = _a2[0], sc2 = _a2[1], su = _a2[2], fn2 = _a2[3], no = _a2[4], off2 = _a2[5], b3 = slzh(data, off2);
|
|
128900
129855
|
o2 = no;
|
|
128901
|
-
{
|
|
129856
|
+
if (!fltr || fltr({
|
|
129857
|
+
name: fn2,
|
|
129858
|
+
size: sc2,
|
|
129859
|
+
originalSize: su,
|
|
129860
|
+
compression: c_2
|
|
129861
|
+
})) {
|
|
128902
129862
|
if (!c_2)
|
|
128903
129863
|
files[fn2] = slc(data, b3, b3 + sc2);
|
|
128904
129864
|
else if (c_2 == 8)
|
|
@@ -129558,8 +130518,8 @@ ${seq.sequence}
|
|
|
129558
130518
|
}
|
|
129559
130519
|
let colorString2 = match2[0];
|
|
129560
130520
|
if (match2[0].length === 3) {
|
|
129561
|
-
colorString2 = colorString2.split("").map((
|
|
129562
|
-
return
|
|
130521
|
+
colorString2 = colorString2.split("").map((char2) => {
|
|
130522
|
+
return char2 + char2;
|
|
129563
130523
|
}).join("");
|
|
129564
130524
|
}
|
|
129565
130525
|
const integer = parseInt(colorString2, 16);
|
|
@@ -131099,7 +132059,7 @@ ${seq.sequence}
|
|
|
131099
132059
|
return payload.filter((group) => group.length);
|
|
131100
132060
|
},
|
|
131101
132061
|
[flipActiveTabFromLinearOrCircularIfNecessary]: (state2, setCircActive) => {
|
|
131102
|
-
const newState =
|
|
132062
|
+
const newState = immer(state2, (s2) => {
|
|
131103
132063
|
s2.forEach((g2) => {
|
|
131104
132064
|
flipActiveForGroup(g2, setCircActive);
|
|
131105
132065
|
});
|
|
@@ -132183,6 +133143,7 @@ ${seq.sequence}
|
|
|
132183
133143
|
__name(createThunkMiddleware, "createThunkMiddleware");
|
|
132184
133144
|
var thunk = createThunkMiddleware();
|
|
132185
133145
|
thunk.withExtraArgument = createThunkMiddleware;
|
|
133146
|
+
const thunk$1 = thunk;
|
|
132186
133147
|
const makeStore = /* @__PURE__ */ __name(() => {
|
|
132187
133148
|
const composeEnhancer = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
|
|
132188
133149
|
name: "createVectorEditor",
|
|
@@ -132200,7 +133161,7 @@ ${seq.sequence}
|
|
|
132200
133161
|
}),
|
|
132201
133162
|
void 0,
|
|
132202
133163
|
composeEnhancer(
|
|
132203
|
-
applyMiddleware(thunk, vectorEditorMiddleware)
|
|
133164
|
+
applyMiddleware(thunk$1, vectorEditorMiddleware)
|
|
132204
133165
|
//your store should be redux-thunk connected for the VectorEditor component to work
|
|
132205
133166
|
)
|
|
132206
133167
|
);
|
|
@@ -135302,7 +136263,7 @@ ${seq.sequence}
|
|
|
135302
136263
|
return 0;
|
|
135303
136264
|
}
|
|
135304
136265
|
var result = Number(value);
|
|
135305
|
-
!!isNaN(result) ? invariant$2() : void 0;
|
|
136266
|
+
!!isNaN(result) ? invariant$2(false) : void 0;
|
|
135306
136267
|
return result;
|
|
135307
136268
|
}, "parse2");
|
|
135308
136269
|
var getWindowScroll$1 = /* @__PURE__ */ __name(function getWindowScroll2() {
|
|
@@ -135475,6 +136436,9 @@ ${seq.sequence}
|
|
|
135475
136436
|
return this.message;
|
|
135476
136437
|
}, "toString");
|
|
135477
136438
|
function invariant$1(condition, message) {
|
|
136439
|
+
if (condition) {
|
|
136440
|
+
return;
|
|
136441
|
+
}
|
|
135478
136442
|
{
|
|
135479
136443
|
throw new RbdInvariant(prefix$1);
|
|
135480
136444
|
}
|
|
@@ -135727,7 +136691,7 @@ ${seq.sequence}
|
|
|
135727
136691
|
};
|
|
135728
136692
|
}, "getSubject");
|
|
135729
136693
|
var scrollDroppable = /* @__PURE__ */ __name((droppable2, newScroll) => {
|
|
135730
|
-
!droppable2.frame ? invariant$1() : void 0;
|
|
136694
|
+
!droppable2.frame ? invariant$1(false) : void 0;
|
|
135731
136695
|
const scrollable = droppable2.frame;
|
|
135732
136696
|
const scrollDiff = subtract(newScroll, scrollable.scroll.initial);
|
|
135733
136697
|
const scrollDisplacement = negate(scrollDiff);
|
|
@@ -135825,7 +136789,7 @@ ${seq.sequence}
|
|
|
135825
136789
|
return getImpact(last2.descriptor.id);
|
|
135826
136790
|
}
|
|
135827
136791
|
const indexOfClosest = withoutDraggable.findIndex((d2) => d2.descriptor.id === closestId);
|
|
135828
|
-
!(indexOfClosest !== -1) ? invariant$1() : void 0;
|
|
136792
|
+
!(indexOfClosest !== -1) ? invariant$1(false) : void 0;
|
|
135829
136793
|
const proposedIndex = indexOfClosest - 1;
|
|
135830
136794
|
if (proposedIndex < 0) {
|
|
135831
136795
|
return null;
|
|
@@ -136160,7 +137124,7 @@ ${seq.sequence}
|
|
|
136160
137124
|
afterCritical
|
|
136161
137125
|
} = _ref;
|
|
136162
137126
|
const wasAt = previousImpact.at;
|
|
136163
|
-
!wasAt ? invariant$1() : void 0;
|
|
137127
|
+
!wasAt ? invariant$1(false) : void 0;
|
|
136164
137128
|
if (wasAt.type === "REORDER") {
|
|
136165
137129
|
const newIndex2 = fromReorder({
|
|
136166
137130
|
isMovingForward,
|
|
@@ -136222,7 +137186,7 @@ ${seq.sequence}
|
|
|
136222
137186
|
draggables
|
|
136223
137187
|
} = _ref;
|
|
136224
137188
|
const combine2 = tryGetCombine(impact);
|
|
136225
|
-
!combine2 ? invariant$1() : void 0;
|
|
137189
|
+
!combine2 ? invariant$1(false) : void 0;
|
|
136226
137190
|
const combineWith = combine2.draggableId;
|
|
136227
137191
|
const center = draggables[combineWith].page.borderBox.center;
|
|
136228
137192
|
const displaceBy = getCombinedItemDisplacement({
|
|
@@ -136567,7 +137531,7 @@ ${seq.sequence}
|
|
|
136567
137531
|
}, "moveToNextPlace");
|
|
136568
137532
|
const getKnownActive = /* @__PURE__ */ __name((droppable2) => {
|
|
136569
137533
|
const rect = droppable2.subject.active;
|
|
136570
|
-
!rect ? invariant$1() : void 0;
|
|
137534
|
+
!rect ? invariant$1(false) : void 0;
|
|
136571
137535
|
return rect;
|
|
136572
137536
|
}, "getKnownActive");
|
|
136573
137537
|
var getBestCrossAxisDroppable = /* @__PURE__ */ __name((_ref) => {
|
|
@@ -136690,8 +137654,8 @@ ${seq.sequence}
|
|
|
136690
137654
|
}), "withMaxScroll");
|
|
136691
137655
|
const addPlaceholder = /* @__PURE__ */ __name((droppable2, draggable2, draggables) => {
|
|
136692
137656
|
const frame = droppable2.frame;
|
|
136693
|
-
!!isHomeOf(draggable2, droppable2) ? invariant$1() : void 0;
|
|
136694
|
-
!!droppable2.subject.withPlaceholder ? invariant$1() : void 0;
|
|
137657
|
+
!!isHomeOf(draggable2, droppable2) ? invariant$1(false) : void 0;
|
|
137658
|
+
!!droppable2.subject.withPlaceholder ? invariant$1(false) : void 0;
|
|
136695
137659
|
const placeholderSize = getDisplacedBy(droppable2.axis, draggable2.displaceBy).point;
|
|
136696
137660
|
const requiredGrowth = getRequiredGrowthForPlaceholder(droppable2, placeholderSize, draggables);
|
|
136697
137661
|
const added = {
|
|
@@ -136725,7 +137689,7 @@ ${seq.sequence}
|
|
|
136725
137689
|
}, "addPlaceholder");
|
|
136726
137690
|
const removePlaceholder = /* @__PURE__ */ __name((droppable2) => {
|
|
136727
137691
|
const added = droppable2.subject.withPlaceholder;
|
|
136728
|
-
!added ? invariant$1() : void 0;
|
|
137692
|
+
!added ? invariant$1(false) : void 0;
|
|
136729
137693
|
const frame = droppable2.frame;
|
|
136730
137694
|
if (!frame) {
|
|
136731
137695
|
const subject2 = getSubject({
|
|
@@ -136739,7 +137703,7 @@ ${seq.sequence}
|
|
|
136739
137703
|
});
|
|
136740
137704
|
}
|
|
136741
137705
|
const oldMaxScroll = added.oldFrameMaxScroll;
|
|
136742
|
-
!oldMaxScroll ? invariant$1() : void 0;
|
|
137706
|
+
!oldMaxScroll ? invariant$1(false) : void 0;
|
|
136743
137707
|
const newFrame = withMaxScroll(frame, oldMaxScroll);
|
|
136744
137708
|
const subject = getSubject({
|
|
136745
137709
|
page: droppable2.subject.page,
|
|
@@ -137370,7 +138334,7 @@ ${seq.sequence}
|
|
|
137370
138334
|
dimensions: forcedDimensions,
|
|
137371
138335
|
viewport: forcedViewport
|
|
137372
138336
|
} = _ref;
|
|
137373
|
-
!(state2.movementMode === "SNAP") ? invariant$1() : void 0;
|
|
138337
|
+
!(state2.movementMode === "SNAP") ? invariant$1(false) : void 0;
|
|
137374
138338
|
const needsVisibilityCheck = state2.impact;
|
|
137375
138339
|
const viewport2 = forcedViewport || state2.viewport;
|
|
137376
138340
|
const dimensions = forcedDimensions || state2.dimensions;
|
|
@@ -137380,7 +138344,7 @@ ${seq.sequence}
|
|
|
137380
138344
|
} = dimensions;
|
|
137381
138345
|
const draggable2 = draggables[state2.critical.draggable.id];
|
|
137382
138346
|
const isOver = whatIsDraggedOver(needsVisibilityCheck);
|
|
137383
|
-
!isOver ? invariant$1() : void 0;
|
|
138347
|
+
!isOver ? invariant$1(false) : void 0;
|
|
137384
138348
|
const destination = droppables[isOver];
|
|
137385
138349
|
const impact = recompute({
|
|
137386
138350
|
impact: needsVisibilityCheck,
|
|
@@ -137418,7 +138382,7 @@ ${seq.sequence}
|
|
|
137418
138382
|
const displacedBy = getDisplacedBy(home2.axis, draggable2.displaceBy);
|
|
137419
138383
|
const insideHome = getDraggablesInsideDroppable(home2.descriptor.id, draggables);
|
|
137420
138384
|
const rawIndex = insideHome.indexOf(draggable2);
|
|
137421
|
-
!(rawIndex !== -1) ? invariant$1() : void 0;
|
|
138385
|
+
!(rawIndex !== -1) ? invariant$1(false) : void 0;
|
|
137422
138386
|
const afterDragging = insideHome.slice(rawIndex + 1);
|
|
137423
138387
|
const effected = afterDragging.reduce((previous2, item) => {
|
|
137424
138388
|
previous2[item.descriptor.id] = true;
|
|
@@ -137473,7 +138437,7 @@ ${seq.sequence}
|
|
|
137473
138437
|
}, "offsetDraggable");
|
|
137474
138438
|
var getFrame = /* @__PURE__ */ __name((droppable2) => {
|
|
137475
138439
|
const frame = droppable2.frame;
|
|
137476
|
-
!frame ? invariant$1() : void 0;
|
|
138440
|
+
!frame ? invariant$1(false) : void 0;
|
|
137477
138441
|
return frame;
|
|
137478
138442
|
}, "getFrame");
|
|
137479
138443
|
var adjustAdditionsForScrollChanges = /* @__PURE__ */ __name((_ref) => {
|
|
@@ -137600,7 +138564,7 @@ ${seq.sequence}
|
|
|
137600
138564
|
});
|
|
137601
138565
|
}
|
|
137602
138566
|
if (action2.type === "INITIAL_PUBLISH") {
|
|
137603
|
-
!(state2.phase === "IDLE") ? invariant$1() : void 0;
|
|
138567
|
+
!(state2.phase === "IDLE") ? invariant$1(false) : void 0;
|
|
137604
138568
|
const {
|
|
137605
138569
|
critical,
|
|
137606
138570
|
clientSelection,
|
|
@@ -137655,14 +138619,14 @@ ${seq.sequence}
|
|
|
137655
138619
|
if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
|
|
137656
138620
|
return state2;
|
|
137657
138621
|
}
|
|
137658
|
-
!(state2.phase === "DRAGGING") ? invariant$1() : void 0;
|
|
138622
|
+
!(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
|
|
137659
138623
|
const result = __spreadProps(__spreadValues({}, state2), {
|
|
137660
138624
|
phase: "COLLECTING"
|
|
137661
138625
|
});
|
|
137662
138626
|
return result;
|
|
137663
138627
|
}
|
|
137664
138628
|
if (action2.type === "PUBLISH_WHILE_DRAGGING") {
|
|
137665
|
-
!(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
|
|
138629
|
+
!(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
|
|
137666
138630
|
return publishWhileDraggingInVirtual({
|
|
137667
138631
|
state: state2,
|
|
137668
138632
|
published: action2.payload
|
|
@@ -137672,7 +138636,7 @@ ${seq.sequence}
|
|
|
137672
138636
|
if (state2.phase === "DROP_PENDING") {
|
|
137673
138637
|
return state2;
|
|
137674
138638
|
}
|
|
137675
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
138639
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
137676
138640
|
const {
|
|
137677
138641
|
client: clientSelection
|
|
137678
138642
|
} = action2.payload;
|
|
@@ -137692,7 +138656,7 @@ ${seq.sequence}
|
|
|
137692
138656
|
if (state2.phase === "COLLECTING") {
|
|
137693
138657
|
return removeScrollJumpRequest(state2);
|
|
137694
138658
|
}
|
|
137695
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
138659
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
137696
138660
|
const {
|
|
137697
138661
|
id: id2,
|
|
137698
138662
|
newScroll
|
|
@@ -137708,14 +138672,14 @@ ${seq.sequence}
|
|
|
137708
138672
|
if (state2.phase === "DROP_PENDING") {
|
|
137709
138673
|
return state2;
|
|
137710
138674
|
}
|
|
137711
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
138675
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
137712
138676
|
const {
|
|
137713
138677
|
id: id2,
|
|
137714
138678
|
isEnabled
|
|
137715
138679
|
} = action2.payload;
|
|
137716
138680
|
const target = state2.dimensions.droppables[id2];
|
|
137717
|
-
!target ? invariant$1() : void 0;
|
|
137718
|
-
!(target.isEnabled !== isEnabled) ? invariant$1() : void 0;
|
|
138681
|
+
!target ? invariant$1(false) : void 0;
|
|
138682
|
+
!(target.isEnabled !== isEnabled) ? invariant$1(false) : void 0;
|
|
137719
138683
|
const updated = __spreadProps(__spreadValues({}, target), {
|
|
137720
138684
|
isEnabled
|
|
137721
138685
|
});
|
|
@@ -137725,14 +138689,14 @@ ${seq.sequence}
|
|
|
137725
138689
|
if (state2.phase === "DROP_PENDING") {
|
|
137726
138690
|
return state2;
|
|
137727
138691
|
}
|
|
137728
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
138692
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
137729
138693
|
const {
|
|
137730
138694
|
id: id2,
|
|
137731
138695
|
isCombineEnabled
|
|
137732
138696
|
} = action2.payload;
|
|
137733
138697
|
const target = state2.dimensions.droppables[id2];
|
|
137734
|
-
!target ? invariant$1() : void 0;
|
|
137735
|
-
!(target.isCombineEnabled !== isCombineEnabled) ? invariant$1() : void 0;
|
|
138698
|
+
!target ? invariant$1(false) : void 0;
|
|
138699
|
+
!(target.isCombineEnabled !== isCombineEnabled) ? invariant$1(false) : void 0;
|
|
137736
138700
|
const updated = __spreadProps(__spreadValues({}, target), {
|
|
137737
138701
|
isCombineEnabled
|
|
137738
138702
|
});
|
|
@@ -137742,8 +138706,8 @@ ${seq.sequence}
|
|
|
137742
138706
|
if (state2.phase === "DROP_PENDING" || state2.phase === "DROP_ANIMATING") {
|
|
137743
138707
|
return state2;
|
|
137744
138708
|
}
|
|
137745
|
-
!isMovementAllowed(state2) ? invariant$1() : void 0;
|
|
137746
|
-
!state2.isWindowScrollAllowed ? invariant$1() : void 0;
|
|
138709
|
+
!isMovementAllowed(state2) ? invariant$1(false) : void 0;
|
|
138710
|
+
!state2.isWindowScrollAllowed ? invariant$1(false) : void 0;
|
|
137747
138711
|
const newScroll = action2.payload.newScroll;
|
|
137748
138712
|
if (isEqual$1(state2.viewport.scroll.current, newScroll)) {
|
|
137749
138713
|
return removeScrollJumpRequest(state2);
|
|
@@ -137781,7 +138745,7 @@ ${seq.sequence}
|
|
|
137781
138745
|
if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
|
|
137782
138746
|
return state2;
|
|
137783
138747
|
}
|
|
137784
|
-
!(state2.phase === "DRAGGING") ? invariant$1() : void 0;
|
|
138748
|
+
!(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
|
|
137785
138749
|
const result = moveInDirection({
|
|
137786
138750
|
state: state2,
|
|
137787
138751
|
type: action2.type
|
|
@@ -137798,7 +138762,7 @@ ${seq.sequence}
|
|
|
137798
138762
|
}
|
|
137799
138763
|
if (action2.type === "DROP_PENDING") {
|
|
137800
138764
|
const reason = action2.payload.reason;
|
|
137801
|
-
!(state2.phase === "COLLECTING") ? invariant$1() : void 0;
|
|
138765
|
+
!(state2.phase === "COLLECTING") ? invariant$1(false) : void 0;
|
|
137802
138766
|
const newState = __spreadProps(__spreadValues({}, state2), {
|
|
137803
138767
|
phase: "DROP_PENDING",
|
|
137804
138768
|
isWaiting: true,
|
|
@@ -137812,7 +138776,7 @@ ${seq.sequence}
|
|
|
137812
138776
|
dropDuration,
|
|
137813
138777
|
newHomeClientOffset
|
|
137814
138778
|
} = action2.payload;
|
|
137815
|
-
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
|
|
138779
|
+
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
|
|
137816
138780
|
const result = {
|
|
137817
138781
|
phase: "DROP_ANIMATING",
|
|
137818
138782
|
completed,
|
|
@@ -137939,7 +138903,7 @@ ${seq.sequence}
|
|
|
137939
138903
|
completed: initial.completed
|
|
137940
138904
|
}));
|
|
137941
138905
|
}
|
|
137942
|
-
!(getState2().phase === "IDLE") ? invariant$1() : void 0;
|
|
138906
|
+
!(getState2().phase === "IDLE") ? invariant$1(false) : void 0;
|
|
137943
138907
|
dispatch(flush());
|
|
137944
138908
|
dispatch(beforeInitialCapture({
|
|
137945
138909
|
draggableId: id2,
|
|
@@ -138130,8 +139094,8 @@ ${seq.sequence}
|
|
|
138130
139094
|
return;
|
|
138131
139095
|
}
|
|
138132
139096
|
const isWaitingForDrop = state2.phase === "DROP_PENDING" && state2.isWaiting;
|
|
138133
|
-
!!isWaitingForDrop ? invariant$1() : void 0;
|
|
138134
|
-
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1() : void 0;
|
|
139097
|
+
!!isWaitingForDrop ? invariant$1(false) : void 0;
|
|
139098
|
+
!(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? invariant$1(false) : void 0;
|
|
138135
139099
|
const critical = state2.critical;
|
|
138136
139100
|
const dimensions = state2.dimensions;
|
|
138137
139101
|
const draggable2 = dimensions.draggables[state2.critical.draggable.id];
|
|
@@ -138232,12 +139196,12 @@ ${seq.sequence}
|
|
|
138232
139196
|
}
|
|
138233
139197
|
__name(isActive2, "isActive2");
|
|
138234
139198
|
function start2() {
|
|
138235
|
-
!!isActive2() ? invariant$1() : void 0;
|
|
139199
|
+
!!isActive2() ? invariant$1(false) : void 0;
|
|
138236
139200
|
unbind2 = bindEvents(window, [binding]);
|
|
138237
139201
|
}
|
|
138238
139202
|
__name(start2, "start2");
|
|
138239
139203
|
function stop() {
|
|
138240
|
-
!isActive2() ? invariant$1() : void 0;
|
|
139204
|
+
!isActive2() ? invariant$1(false) : void 0;
|
|
138241
139205
|
scheduled.cancel();
|
|
138242
139206
|
unbind2();
|
|
138243
139207
|
unbind2 = noop$2;
|
|
@@ -138294,7 +139258,7 @@ ${seq.sequence}
|
|
|
138294
139258
|
const entries = [];
|
|
138295
139259
|
const execute2 = /* @__PURE__ */ __name((timerId) => {
|
|
138296
139260
|
const index2 = entries.findIndex((item) => item.timerId === timerId);
|
|
138297
|
-
!(index2 !== -1) ? invariant$1() : void 0;
|
|
139261
|
+
!(index2 !== -1) ? invariant$1(false) : void 0;
|
|
138298
139262
|
const [entry] = entries.splice(index2, 1);
|
|
138299
139263
|
entry.callback();
|
|
138300
139264
|
}, "execute2");
|
|
@@ -138379,7 +139343,7 @@ ${seq.sequence}
|
|
|
138379
139343
|
const asyncMarshal = getAsyncMarshal();
|
|
138380
139344
|
let dragging = null;
|
|
138381
139345
|
const beforeCapture = /* @__PURE__ */ __name((draggableId, mode) => {
|
|
138382
|
-
!!dragging ? invariant$1() : void 0;
|
|
139346
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
138383
139347
|
withTimings("onBeforeCapture", () => {
|
|
138384
139348
|
const fn2 = getResponders().onBeforeCapture;
|
|
138385
139349
|
if (fn2) {
|
|
@@ -138392,7 +139356,7 @@ ${seq.sequence}
|
|
|
138392
139356
|
});
|
|
138393
139357
|
}, "beforeCapture");
|
|
138394
139358
|
const beforeStart = /* @__PURE__ */ __name((critical, mode) => {
|
|
138395
|
-
!!dragging ? invariant$1() : void 0;
|
|
139359
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
138396
139360
|
withTimings("onBeforeDragStart", () => {
|
|
138397
139361
|
const fn2 = getResponders().onBeforeDragStart;
|
|
138398
139362
|
if (fn2) {
|
|
@@ -138401,7 +139365,7 @@ ${seq.sequence}
|
|
|
138401
139365
|
});
|
|
138402
139366
|
}, "beforeStart");
|
|
138403
139367
|
const start2 = /* @__PURE__ */ __name((critical, mode) => {
|
|
138404
|
-
!!dragging ? invariant$1() : void 0;
|
|
139368
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
138405
139369
|
const data = getDragStart(critical, mode);
|
|
138406
139370
|
dragging = {
|
|
138407
139371
|
mode,
|
|
@@ -138416,7 +139380,7 @@ ${seq.sequence}
|
|
|
138416
139380
|
const update2 = /* @__PURE__ */ __name((critical, impact) => {
|
|
138417
139381
|
const location2 = tryGetDestination(impact);
|
|
138418
139382
|
const combine2 = tryGetCombine(impact);
|
|
138419
|
-
!dragging ? invariant$1() : void 0;
|
|
139383
|
+
!dragging ? invariant$1(false) : void 0;
|
|
138420
139384
|
const hasCriticalChanged = !isCriticalEqual(critical, dragging.lastCritical);
|
|
138421
139385
|
if (hasCriticalChanged) {
|
|
138422
139386
|
dragging.lastCritical = critical;
|
|
@@ -138441,11 +139405,11 @@ ${seq.sequence}
|
|
|
138441
139405
|
});
|
|
138442
139406
|
}, "update2");
|
|
138443
139407
|
const flush2 = /* @__PURE__ */ __name(() => {
|
|
138444
|
-
!dragging ? invariant$1() : void 0;
|
|
139408
|
+
!dragging ? invariant$1(false) : void 0;
|
|
138445
139409
|
asyncMarshal.flush();
|
|
138446
139410
|
}, "flush2");
|
|
138447
139411
|
const drop2 = /* @__PURE__ */ __name((result) => {
|
|
138448
|
-
!dragging ? invariant$1() : void 0;
|
|
139412
|
+
!dragging ? invariant$1(false) : void 0;
|
|
138449
139413
|
dragging = null;
|
|
138450
139414
|
withTimings("onDragEnd", () => execute(getResponders().onDragEnd, result, announce, preset$1.onDragEnd));
|
|
138451
139415
|
}, "drop2");
|
|
@@ -138508,7 +139472,7 @@ ${seq.sequence}
|
|
|
138508
139472
|
return;
|
|
138509
139473
|
}
|
|
138510
139474
|
const state2 = store2.getState();
|
|
138511
|
-
!(state2.phase === "DROP_ANIMATING") ? invariant$1() : void 0;
|
|
139475
|
+
!(state2.phase === "DROP_ANIMATING") ? invariant$1(false) : void 0;
|
|
138512
139476
|
store2.dispatch(completeDrop({
|
|
138513
139477
|
completed: state2.completed
|
|
138514
139478
|
}));
|
|
@@ -138602,7 +139566,7 @@ ${seq.sequence}
|
|
|
138602
139566
|
if (action2.type === "INITIAL_PUBLISH") {
|
|
138603
139567
|
next(action2);
|
|
138604
139568
|
const state2 = store2.getState();
|
|
138605
|
-
!(state2.phase === "DRAGGING") ? invariant$1() : void 0;
|
|
139569
|
+
!(state2.phase === "DRAGGING") ? invariant$1(false) : void 0;
|
|
138606
139570
|
autoScroller.start(state2);
|
|
138607
139571
|
return;
|
|
138608
139572
|
}
|
|
@@ -138752,7 +139716,7 @@ ${seq.sequence}
|
|
|
138752
139716
|
}, "getMaxScroll");
|
|
138753
139717
|
var getDocumentElement = /* @__PURE__ */ __name(() => {
|
|
138754
139718
|
const doc = document.documentElement;
|
|
138755
|
-
!doc ? invariant$1() : void 0;
|
|
139719
|
+
!doc ? invariant$1(false) : void 0;
|
|
138756
139720
|
return doc;
|
|
138757
139721
|
}, "getDocumentElement");
|
|
138758
139722
|
var getMaxWindowScroll = /* @__PURE__ */ __name(() => {
|
|
@@ -138841,7 +139805,7 @@ ${seq.sequence}
|
|
|
138841
139805
|
registry
|
|
138842
139806
|
});
|
|
138843
139807
|
const updateDroppableIsEnabled2 = /* @__PURE__ */ __name((id2, isEnabled) => {
|
|
138844
|
-
!registry.droppable.exists(id2) ? invariant$1() : void 0;
|
|
139808
|
+
!registry.droppable.exists(id2) ? invariant$1(false) : void 0;
|
|
138845
139809
|
if (!collection) {
|
|
138846
139810
|
return;
|
|
138847
139811
|
}
|
|
@@ -138854,7 +139818,7 @@ ${seq.sequence}
|
|
|
138854
139818
|
if (!collection) {
|
|
138855
139819
|
return;
|
|
138856
139820
|
}
|
|
138857
|
-
!registry.droppable.exists(id2) ? invariant$1() : void 0;
|
|
139821
|
+
!registry.droppable.exists(id2) ? invariant$1(false) : void 0;
|
|
138858
139822
|
callbacks.updateDroppableIsCombineEnabled({
|
|
138859
139823
|
id: id2,
|
|
138860
139824
|
isCombineEnabled
|
|
@@ -138864,7 +139828,7 @@ ${seq.sequence}
|
|
|
138864
139828
|
if (!collection) {
|
|
138865
139829
|
return;
|
|
138866
139830
|
}
|
|
138867
|
-
!registry.droppable.exists(id2) ? invariant$1() : void 0;
|
|
139831
|
+
!registry.droppable.exists(id2) ? invariant$1(false) : void 0;
|
|
138868
139832
|
callbacks.updateDroppableScroll({
|
|
138869
139833
|
id: id2,
|
|
138870
139834
|
newScroll
|
|
@@ -138887,7 +139851,7 @@ ${seq.sequence}
|
|
|
138887
139851
|
collection = null;
|
|
138888
139852
|
}, "stopPublishing");
|
|
138889
139853
|
const subscriber = /* @__PURE__ */ __name((event) => {
|
|
138890
|
-
!collection ? invariant$1() : void 0;
|
|
139854
|
+
!collection ? invariant$1(false) : void 0;
|
|
138891
139855
|
const dragging = collection.critical.draggable;
|
|
138892
139856
|
if (event.type === "ADDITION") {
|
|
138893
139857
|
if (shouldPublishUpdate(registry, dragging, event.value)) {
|
|
@@ -138901,7 +139865,7 @@ ${seq.sequence}
|
|
|
138901
139865
|
}
|
|
138902
139866
|
}, "subscriber");
|
|
138903
139867
|
const startPublishing = /* @__PURE__ */ __name((request) => {
|
|
138904
|
-
!!collection ? invariant$1() : void 0;
|
|
139868
|
+
!!collection ? invariant$1(false) : void 0;
|
|
138905
139869
|
const entry = registry.draggable.getById(request.draggableId);
|
|
138906
139870
|
const home2 = registry.droppable.getById(entry.descriptor.droppableId);
|
|
138907
139871
|
const critical = {
|
|
@@ -138955,7 +139919,7 @@ ${seq.sequence}
|
|
|
138955
139919
|
}));
|
|
138956
139920
|
const getScrollableDroppableOver = /* @__PURE__ */ __name((target, droppables) => {
|
|
138957
139921
|
const maybe = getScrollableDroppables(droppables).find((droppable2) => {
|
|
138958
|
-
!droppable2.frame ? invariant$1() : void 0;
|
|
139922
|
+
!droppable2.frame ? invariant$1(false) : void 0;
|
|
138959
139923
|
return isPositionInFrame(droppable2.frame.pageMarginBox)(target);
|
|
138960
139924
|
}) || null;
|
|
138961
139925
|
return maybe;
|
|
@@ -139374,7 +140338,7 @@ ${seq.sequence}
|
|
|
139374
140338
|
const scheduleDroppableScroll = rafSchd(scrollDroppable2);
|
|
139375
140339
|
let dragging = null;
|
|
139376
140340
|
const tryScroll = /* @__PURE__ */ __name((state2) => {
|
|
139377
|
-
!dragging ? invariant$1() : void 0;
|
|
140341
|
+
!dragging ? invariant$1(false) : void 0;
|
|
139378
140342
|
const {
|
|
139379
140343
|
shouldUseTimeDampening,
|
|
139380
140344
|
dragStartTime
|
|
@@ -139389,7 +140353,7 @@ ${seq.sequence}
|
|
|
139389
140353
|
});
|
|
139390
140354
|
}, "tryScroll");
|
|
139391
140355
|
const start$1 = /* @__PURE__ */ __name((state2) => {
|
|
139392
|
-
!!dragging ? invariant$1() : void 0;
|
|
140356
|
+
!!dragging ? invariant$1(false) : void 0;
|
|
139393
140357
|
const dragStartTime = Date.now();
|
|
139394
140358
|
let wasScrollNeeded = false;
|
|
139395
140359
|
const fakeScrollCallback = /* @__PURE__ */ __name(() => {
|
|
@@ -139474,7 +140438,7 @@ ${seq.sequence}
|
|
|
139474
140438
|
return;
|
|
139475
140439
|
}
|
|
139476
140440
|
const destination = whatIsDraggedOver(state2.impact);
|
|
139477
|
-
!destination ? invariant$1() : void 0;
|
|
140441
|
+
!destination ? invariant$1(false) : void 0;
|
|
139478
140442
|
const droppableRemainder = scrollDroppableAsMuchAsItCan(state2.dimensions.droppables[destination], request);
|
|
139479
140443
|
if (!droppableRemainder) {
|
|
139480
140444
|
return;
|
|
@@ -139630,7 +140594,7 @@ ${seq.sequence}
|
|
|
139630
140594
|
var useLayoutEffect = useIsomorphicLayoutEffect;
|
|
139631
140595
|
const getHead = /* @__PURE__ */ __name(() => {
|
|
139632
140596
|
const head = document.querySelector("head");
|
|
139633
|
-
!head ? invariant$1() : void 0;
|
|
140597
|
+
!head ? invariant$1(false) : void 0;
|
|
139634
140598
|
return head;
|
|
139635
140599
|
}, "getHead");
|
|
139636
140600
|
const createStyleEl = /* @__PURE__ */ __name((nonce) => {
|
|
@@ -139648,18 +140612,18 @@ ${seq.sequence}
|
|
|
139648
140612
|
const setDynamicStyle = useCallback(
|
|
139649
140613
|
memoizeOne((proposed) => {
|
|
139650
140614
|
const el2 = dynamicRef.current;
|
|
139651
|
-
!el2 ? invariant$1() : void 0;
|
|
140615
|
+
!el2 ? invariant$1(false) : void 0;
|
|
139652
140616
|
el2.textContent = proposed;
|
|
139653
140617
|
}),
|
|
139654
140618
|
[]
|
|
139655
140619
|
);
|
|
139656
140620
|
const setAlwaysStyle = useCallback((proposed) => {
|
|
139657
140621
|
const el2 = alwaysRef.current;
|
|
139658
|
-
!el2 ? invariant$1() : void 0;
|
|
140622
|
+
!el2 ? invariant$1(false) : void 0;
|
|
139659
140623
|
el2.textContent = proposed;
|
|
139660
140624
|
}, []);
|
|
139661
140625
|
useLayoutEffect(() => {
|
|
139662
|
-
!(!alwaysRef.current && !dynamicRef.current) ? invariant$1() : void 0;
|
|
140626
|
+
!(!alwaysRef.current && !dynamicRef.current) ? invariant$1(false) : void 0;
|
|
139663
140627
|
const always = createStyleEl(nonce);
|
|
139664
140628
|
const dynamic = createStyleEl(nonce);
|
|
139665
140629
|
alwaysRef.current = always;
|
|
@@ -139673,7 +140637,7 @@ ${seq.sequence}
|
|
|
139673
140637
|
return () => {
|
|
139674
140638
|
const remove2 = /* @__PURE__ */ __name((ref2) => {
|
|
139675
140639
|
const current = ref2.current;
|
|
139676
|
-
!current ? invariant$1() : void 0;
|
|
140640
|
+
!current ? invariant$1(false) : void 0;
|
|
139677
140641
|
getHead().removeChild(current);
|
|
139678
140642
|
ref2.current = null;
|
|
139679
140643
|
}, "remove");
|
|
@@ -139837,7 +140801,7 @@ ${seq.sequence}
|
|
|
139837
140801
|
__name(findDraggableById, "findDraggableById");
|
|
139838
140802
|
function getDraggableById(id2) {
|
|
139839
140803
|
const entry = findDraggableById(id2);
|
|
139840
|
-
!entry ? invariant$1() : void 0;
|
|
140804
|
+
!entry ? invariant$1(false) : void 0;
|
|
139841
140805
|
return entry;
|
|
139842
140806
|
}
|
|
139843
140807
|
__name(getDraggableById, "getDraggableById");
|
|
@@ -139888,7 +140852,7 @@ ${seq.sequence}
|
|
|
139888
140852
|
__name(findDroppableById, "findDroppableById");
|
|
139889
140853
|
function getDroppableById(id2) {
|
|
139890
140854
|
const entry = findDroppableById(id2);
|
|
139891
|
-
!entry ? invariant$1() : void 0;
|
|
140855
|
+
!entry ? invariant$1(false) : void 0;
|
|
139892
140856
|
return entry;
|
|
139893
140857
|
}
|
|
139894
140858
|
__name(getDroppableById, "getDroppableById");
|
|
@@ -139942,7 +140906,7 @@ ${seq.sequence}
|
|
|
139942
140906
|
var StoreContext = React$2.createContext(null);
|
|
139943
140907
|
var getBodyElement = /* @__PURE__ */ __name(() => {
|
|
139944
140908
|
const body = document.body;
|
|
139945
|
-
!body ? invariant$1() : void 0;
|
|
140909
|
+
!body ? invariant$1(false) : void 0;
|
|
139946
140910
|
return body;
|
|
139947
140911
|
}, "getBodyElement");
|
|
139948
140912
|
const visuallyHidden = {
|
|
@@ -140067,7 +141031,7 @@ ${seq.sequence}
|
|
|
140067
141031
|
}
|
|
140068
141032
|
__name(isActive2, "isActive2");
|
|
140069
141033
|
function claim(abandon) {
|
|
140070
|
-
!!lock ? invariant$1() : void 0;
|
|
141034
|
+
!!lock ? invariant$1(false) : void 0;
|
|
140071
141035
|
const newLock = {
|
|
140072
141036
|
abandon
|
|
140073
141037
|
};
|
|
@@ -140076,7 +141040,7 @@ ${seq.sequence}
|
|
|
140076
141040
|
}
|
|
140077
141041
|
__name(claim, "claim");
|
|
140078
141042
|
function release() {
|
|
140079
|
-
!lock ? invariant$1() : void 0;
|
|
141043
|
+
!lock ? invariant$1(false) : void 0;
|
|
140080
141044
|
lock = null;
|
|
140081
141045
|
}
|
|
140082
141046
|
__name(release, "release");
|
|
@@ -140172,7 +141136,7 @@ ${seq.sequence}
|
|
|
140172
141136
|
phase.actions.move(point2);
|
|
140173
141137
|
return;
|
|
140174
141138
|
}
|
|
140175
|
-
!(phase.type === "PENDING") ? invariant$1() : void 0;
|
|
141139
|
+
!(phase.type === "PENDING") ? invariant$1(false) : void 0;
|
|
140176
141140
|
const pending = phase.point;
|
|
140177
141141
|
if (!isSloppyClickThresholdExceeded(pending, point2)) {
|
|
140178
141142
|
return;
|
|
@@ -140245,7 +141209,7 @@ ${seq.sequence}
|
|
|
140245
141209
|
eventName: "webkitmouseforcedown",
|
|
140246
141210
|
fn: (event) => {
|
|
140247
141211
|
const phase = getPhase();
|
|
140248
|
-
!(phase.type !== "IDLE") ? invariant$1() : void 0;
|
|
141212
|
+
!(phase.type !== "IDLE") ? invariant$1(false) : void 0;
|
|
140249
141213
|
if (phase.actions.shouldRespectForcePress()) {
|
|
140250
141214
|
cancel();
|
|
140251
141215
|
return;
|
|
@@ -140368,7 +141332,7 @@ ${seq.sequence}
|
|
|
140368
141332
|
unbindEventsRef.current = bindEvents(window, bindings, options);
|
|
140369
141333
|
}, "bindCapturingEvents2"), [cancel, stop]);
|
|
140370
141334
|
const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
|
|
140371
|
-
!(phaseRef.current.type === "IDLE") ? invariant$1() : void 0;
|
|
141335
|
+
!(phaseRef.current.type === "IDLE") ? invariant$1(false) : void 0;
|
|
140372
141336
|
phaseRef.current = {
|
|
140373
141337
|
type: "PENDING",
|
|
140374
141338
|
point: point2,
|
|
@@ -140510,7 +141474,7 @@ ${seq.sequence}
|
|
|
140510
141474
|
const actions2 = preDrag.snapLift();
|
|
140511
141475
|
unbindEventsRef.current();
|
|
140512
141476
|
function stop() {
|
|
140513
|
-
!isCapturing ? invariant$1() : void 0;
|
|
141477
|
+
!isCapturing ? invariant$1(false) : void 0;
|
|
140514
141478
|
isCapturing = false;
|
|
140515
141479
|
unbindEventsRef.current();
|
|
140516
141480
|
listenForCapture();
|
|
@@ -140645,7 +141609,7 @@ ${seq.sequence}
|
|
|
140645
141609
|
eventName: "touchforcechange",
|
|
140646
141610
|
fn: (event) => {
|
|
140647
141611
|
const phase = getPhase();
|
|
140648
|
-
!(phase.type !== "IDLE") ? invariant$1() : void 0;
|
|
141612
|
+
!(phase.type !== "IDLE") ? invariant$1(false) : void 0;
|
|
140649
141613
|
const touch2 = event.touches[0];
|
|
140650
141614
|
if (!touch2) {
|
|
140651
141615
|
return;
|
|
@@ -140774,7 +141738,7 @@ ${seq.sequence}
|
|
|
140774
141738
|
}, "bindCapturingEvents2"), [cancel, getPhase, stop]);
|
|
140775
141739
|
const startDragging = useCallback(/* @__PURE__ */ __name(function startDragging2() {
|
|
140776
141740
|
const phase = getPhase();
|
|
140777
|
-
!(phase.type === "PENDING") ? invariant$1() : void 0;
|
|
141741
|
+
!(phase.type === "PENDING") ? invariant$1(false) : void 0;
|
|
140778
141742
|
const actions2 = phase.actions.fluidLift(phase.point);
|
|
140779
141743
|
setPhase({
|
|
140780
141744
|
type: "DRAGGING",
|
|
@@ -140783,7 +141747,7 @@ ${seq.sequence}
|
|
|
140783
141747
|
});
|
|
140784
141748
|
}, "startDragging2"), [getPhase, setPhase]);
|
|
140785
141749
|
const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
|
|
140786
|
-
!(getPhase().type === "IDLE") ? invariant$1() : void 0;
|
|
141750
|
+
!(getPhase().type === "IDLE") ? invariant$1(false) : void 0;
|
|
140787
141751
|
const longPressTimerId = setTimeout(startDragging, timeForLongPress);
|
|
140788
141752
|
setPhase({
|
|
140789
141753
|
type: "PENDING",
|
|
@@ -141019,7 +141983,7 @@ ${seq.sequence}
|
|
|
141019
141983
|
__name(completed, "completed");
|
|
141020
141984
|
if (phase !== "PRE_DRAG") {
|
|
141021
141985
|
completed();
|
|
141022
|
-
invariant$1();
|
|
141986
|
+
invariant$1(false);
|
|
141023
141987
|
}
|
|
141024
141988
|
store2.dispatch(lift$1(args.liftActionArgs));
|
|
141025
141989
|
phase = "DRAGGING";
|
|
@@ -141223,7 +142187,7 @@ ${seq.sequence}
|
|
|
141223
142187
|
durationDampening: __spreadValues(__spreadValues({}, defaultAutoScrollerOptions.durationDampening), props.autoScrollerOptions)
|
|
141224
142188
|
}), "createAutoScrollerOptions");
|
|
141225
142189
|
function getStore(lazyRef) {
|
|
141226
|
-
!lazyRef.current ? invariant$1() : void 0;
|
|
142190
|
+
!lazyRef.current ? invariant$1(false) : void 0;
|
|
141227
142191
|
return lazyRef.current;
|
|
141228
142192
|
}
|
|
141229
142193
|
__name(getStore, "getStore");
|
|
@@ -141468,7 +142432,7 @@ ${seq.sequence}
|
|
|
141468
142432
|
}), [canDragInteractiveElements, isEnabled, shouldRespectForcePress]);
|
|
141469
142433
|
const getDimension2 = useCallback((windowScroll) => {
|
|
141470
142434
|
const el2 = getDraggableRef();
|
|
141471
|
-
!el2 ? invariant$1() : void 0;
|
|
142435
|
+
!el2 ? invariant$1(false) : void 0;
|
|
141472
142436
|
return getDimension$1(descriptor2, el2, windowScroll);
|
|
141473
142437
|
}, [descriptor2, getDraggableRef]);
|
|
141474
142438
|
const entry = useMemo(() => ({
|
|
@@ -141497,7 +142461,7 @@ ${seq.sequence}
|
|
|
141497
142461
|
var DroppableContext = React$2.createContext(null);
|
|
141498
142462
|
function useRequiredContext(Context2) {
|
|
141499
142463
|
const result = reactExports.useContext(Context2);
|
|
141500
|
-
!result ? invariant$1() : void 0;
|
|
142464
|
+
!result ? invariant$1(false) : void 0;
|
|
141501
142465
|
return result;
|
|
141502
142466
|
}
|
|
141503
142467
|
__name(useRequiredContext, "useRequiredContext");
|
|
@@ -142061,7 +143025,7 @@ ${seq.sequence}
|
|
|
142061
143025
|
}), [args.droppableId, args.mode, args.type]);
|
|
142062
143026
|
const publishedDescriptorRef = reactExports.useRef(descriptor2);
|
|
142063
143027
|
const memoizedUpdateScroll = useMemo(() => memoizeOne((x2, y2) => {
|
|
142064
|
-
!whileDraggingRef.current ? invariant$1() : void 0;
|
|
143028
|
+
!whileDraggingRef.current ? invariant$1(false) : void 0;
|
|
142065
143029
|
const scroll3 = {
|
|
142066
143030
|
x: x2,
|
|
142067
143031
|
y: y2
|
|
@@ -142083,7 +143047,7 @@ ${seq.sequence}
|
|
|
142083
143047
|
const onClosestScroll = useCallback(() => {
|
|
142084
143048
|
const dragging = whileDraggingRef.current;
|
|
142085
143049
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
142086
|
-
!(dragging && closest2) ? invariant$1() : void 0;
|
|
143050
|
+
!(dragging && closest2) ? invariant$1(false) : void 0;
|
|
142087
143051
|
const options = dragging.scrollOptions;
|
|
142088
143052
|
if (options.shouldPublishImmediately) {
|
|
142089
143053
|
updateScroll();
|
|
@@ -142092,10 +143056,10 @@ ${seq.sequence}
|
|
|
142092
143056
|
scheduleScrollUpdate();
|
|
142093
143057
|
}, [scheduleScrollUpdate, updateScroll]);
|
|
142094
143058
|
const getDimensionAndWatchScroll = useCallback((windowScroll, options) => {
|
|
142095
|
-
!!whileDraggingRef.current ? invariant$1() : void 0;
|
|
143059
|
+
!!whileDraggingRef.current ? invariant$1(false) : void 0;
|
|
142096
143060
|
const previous2 = previousRef.current;
|
|
142097
143061
|
const ref2 = previous2.getDroppableRef();
|
|
142098
|
-
!ref2 ? invariant$1() : void 0;
|
|
143062
|
+
!ref2 ? invariant$1(false) : void 0;
|
|
142099
143063
|
const env = getEnv(ref2);
|
|
142100
143064
|
const dragging = {
|
|
142101
143065
|
ref: ref2,
|
|
@@ -142124,12 +143088,12 @@ ${seq.sequence}
|
|
|
142124
143088
|
const getScrollWhileDragging = useCallback(() => {
|
|
142125
143089
|
const dragging = whileDraggingRef.current;
|
|
142126
143090
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
142127
|
-
!(dragging && closest2) ? invariant$1() : void 0;
|
|
143091
|
+
!(dragging && closest2) ? invariant$1(false) : void 0;
|
|
142128
143092
|
return getScroll(closest2);
|
|
142129
143093
|
}, []);
|
|
142130
143094
|
const dragStopped = useCallback(() => {
|
|
142131
143095
|
const dragging = whileDraggingRef.current;
|
|
142132
|
-
!dragging ? invariant$1() : void 0;
|
|
143096
|
+
!dragging ? invariant$1(false) : void 0;
|
|
142133
143097
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
142134
143098
|
whileDraggingRef.current = null;
|
|
142135
143099
|
if (!closest2) {
|
|
@@ -142145,9 +143109,9 @@ ${seq.sequence}
|
|
|
142145
143109
|
}, [onClosestScroll, scheduleScrollUpdate]);
|
|
142146
143110
|
const scroll2 = useCallback((change2) => {
|
|
142147
143111
|
const dragging = whileDraggingRef.current;
|
|
142148
|
-
!dragging ? invariant$1() : void 0;
|
|
143112
|
+
!dragging ? invariant$1(false) : void 0;
|
|
142149
143113
|
const closest2 = getClosestScrollableFromDrag(dragging);
|
|
142150
|
-
!closest2 ? invariant$1() : void 0;
|
|
143114
|
+
!closest2 ? invariant$1(false) : void 0;
|
|
142151
143115
|
closest2.scrollTop += change2.y;
|
|
142152
143116
|
closest2.scrollLeft += change2.x;
|
|
142153
143117
|
}, []);
|
|
@@ -142357,7 +143321,7 @@ ${seq.sequence}
|
|
|
142357
143321
|
let AnimateInOut = _AnimateInOut;
|
|
142358
143322
|
const Droppable = /* @__PURE__ */ __name((props) => {
|
|
142359
143323
|
const appContext = reactExports.useContext(AppContext);
|
|
142360
|
-
!appContext ? invariant$1() : void 0;
|
|
143324
|
+
!appContext ? invariant$1(false) : void 0;
|
|
142361
143325
|
const {
|
|
142362
143326
|
contextId,
|
|
142363
143327
|
isMovementAllowed: isMovementAllowed2
|
|
@@ -142576,7 +143540,7 @@ ${seq.sequence}
|
|
|
142576
143540
|
updateViewportMaxScroll
|
|
142577
143541
|
};
|
|
142578
143542
|
function getBody() {
|
|
142579
|
-
!document.body ? invariant$1() : void 0;
|
|
143543
|
+
!document.body ? invariant$1(false) : void 0;
|
|
142580
143544
|
return document.body;
|
|
142581
143545
|
}
|
|
142582
143546
|
__name(getBody, "getBody");
|
|
@@ -142668,6 +143632,8 @@ ${seq.sequence}
|
|
|
142668
143632
|
function _createClass2(Constructor, protoProps, staticProps) {
|
|
142669
143633
|
if (protoProps)
|
|
142670
143634
|
_defineProperties2(Constructor.prototype, protoProps);
|
|
143635
|
+
if (staticProps)
|
|
143636
|
+
_defineProperties2(Constructor, staticProps);
|
|
142671
143637
|
return Constructor;
|
|
142672
143638
|
}
|
|
142673
143639
|
__name(_createClass2, "_createClass");
|
|
@@ -144686,8 +145652,8 @@ ${seq.sequence}
|
|
|
144686
145652
|
g: "yellow",
|
|
144687
145653
|
t: "#EE6262"
|
|
144688
145654
|
};
|
|
144689
|
-
function getDnaColor(
|
|
144690
|
-
return dnaToColor[isReverse ? DNAComplementMap[
|
|
145655
|
+
function getDnaColor(char2, isReverse) {
|
|
145656
|
+
return dnaToColor[isReverse ? DNAComplementMap[char2.toLowerCase()] : char2.toLowerCase()] || "lightgrey";
|
|
144691
145657
|
}
|
|
144692
145658
|
__name(getDnaColor, "getDnaColor");
|
|
144693
145659
|
const HoveredIdContext = React$2.createContext({
|
|
@@ -144961,9 +145927,9 @@ ${seq.sequence}
|
|
|
144961
145927
|
return acc;
|
|
144962
145928
|
}, {});
|
|
144963
145929
|
const gapsBefore = getGaps ? getGaps({ start: 0, end: 0 }).gapsBefore : 0;
|
|
144964
|
-
sequence2.split("").forEach((
|
|
145930
|
+
sequence2.split("").forEach((char2, i2) => {
|
|
144965
145931
|
const width = Number(charWidth2);
|
|
144966
|
-
const color2 = getDnaColor(
|
|
145932
|
+
const color2 = getDnaColor(char2, isReverse);
|
|
144967
145933
|
const x2 = (i2 + gapsBefore) * charWidth2;
|
|
144968
145934
|
const y2 = 0;
|
|
144969
145935
|
colorPaths[color2] = (colorPaths[color2] || "") + `M${x2},${y2} L${x2 + width},${y2} L${x2 + width},${y2 + height2} L${x2},${y2 + height2}`;
|
|
@@ -147304,7 +148270,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
147304
148270
|
"editorName"
|
|
147305
148271
|
])(Labels$1);
|
|
147306
148272
|
const DrawLabel = withHover(
|
|
147307
|
-
(
|
|
148273
|
+
(_x = class extends React$2.Component {
|
|
147308
148274
|
render() {
|
|
147309
148275
|
const {
|
|
147310
148276
|
hovered,
|
|
@@ -147408,7 +148374,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
147408
148374
|
}
|
|
147409
148375
|
));
|
|
147410
148376
|
}
|
|
147411
|
-
}, __name(
|
|
148377
|
+
}, __name(_x, "DrawLabelInner"), _x)
|
|
147412
148378
|
);
|
|
147413
148379
|
const labelClassNames = {
|
|
147414
148380
|
cutsites: "veCutsiteLabel",
|
|
@@ -148602,8 +149568,8 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
148602
149568
|
__name(RowItem, "RowItem");
|
|
148603
149569
|
function getGapMap$1(sequence2) {
|
|
148604
149570
|
const gapMap = [0];
|
|
148605
|
-
sequence2.split("").forEach((
|
|
148606
|
-
if (
|
|
149571
|
+
sequence2.split("").forEach((char2) => {
|
|
149572
|
+
if (char2 === "-") {
|
|
148607
149573
|
gapMap[Math.max(0, gapMap.length - 1)] = (gapMap[Math.max(0, gapMap.length - 1)] || 0) + 1;
|
|
148608
149574
|
} else {
|
|
148609
149575
|
gapMap.push(gapMap[gapMap.length - 1] || 0);
|
|
@@ -149285,7 +150251,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
149285
150251
|
}
|
|
149286
150252
|
__name(showFileDialog, "showFileDialog");
|
|
149287
150253
|
const name = "@teselagen/ove";
|
|
149288
|
-
const version = "0.5.
|
|
150254
|
+
const version = "0.5.12";
|
|
149289
150255
|
const main = "./src/index.js";
|
|
149290
150256
|
const type = "module";
|
|
149291
150257
|
const exports$1 = {
|
|
@@ -149365,8 +150331,8 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
149365
150331
|
cutsites: 100
|
|
149366
150332
|
}
|
|
149367
150333
|
}), "useAnnotationLimits");
|
|
149368
|
-
function LimitAnnotations(
|
|
149369
|
-
var
|
|
150334
|
+
function LimitAnnotations(_y) {
|
|
150335
|
+
var _z = _y, { type: type2 } = _z, rest = __objRest(_z, ["type"]);
|
|
149370
150336
|
const [limits = {}, setLimits] = useAnnotationLimits();
|
|
149371
150337
|
return /* @__PURE__ */ React$2.createElement(MenuItem, __spreadValues({ icon: "blank", shouldDismissPopover: false }, rest), [50, 100, 200, 400].map((n2) => /* @__PURE__ */ React$2.createElement(
|
|
149372
150338
|
MenuItem,
|
|
@@ -151560,7 +152526,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
151560
152526
|
"there must be a caret element present in order to display the insertSequence popup"
|
|
151561
152527
|
);
|
|
151562
152528
|
}
|
|
151563
|
-
new Popper$
|
|
152529
|
+
new Popper$2(caretEl, div, {
|
|
151564
152530
|
placement: "bottom",
|
|
151565
152531
|
modifiers: {
|
|
151566
152532
|
offset: { offset: "94" }
|
|
@@ -155668,7 +156634,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
155668
156634
|
__name(_Minimap, "Minimap");
|
|
155669
156635
|
let Minimap = _Minimap;
|
|
155670
156636
|
const YellowScrollHandle = view(
|
|
155671
|
-
(
|
|
156637
|
+
(_A = class extends React$2.Component {
|
|
155672
156638
|
render() {
|
|
155673
156639
|
const {
|
|
155674
156640
|
scrollHandleWidth,
|
|
@@ -155823,7 +156789,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
155823
156789
|
)
|
|
155824
156790
|
);
|
|
155825
156791
|
}
|
|
155826
|
-
}, __name(
|
|
156792
|
+
}, __name(_A, "YellowScrollHandleInner"), _A)
|
|
155827
156793
|
);
|
|
155828
156794
|
function getTrimmedRangesToDisplay({ trimmedRange, seqLen }) {
|
|
155829
156795
|
if (!trimmedRange)
|
|
@@ -156196,14 +157162,14 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
156196
157162
|
}, rest);
|
|
156197
157163
|
}
|
|
156198
157164
|
__name(getRangeAnglesSpecial, "getRangeAnglesSpecial");
|
|
156199
|
-
function PositionAnnotationOnCircle(
|
|
156200
|
-
var
|
|
157165
|
+
function PositionAnnotationOnCircle(_B) {
|
|
157166
|
+
var _C = _B, {
|
|
156201
157167
|
children,
|
|
156202
157168
|
height: height2 = 0,
|
|
156203
157169
|
sAngle = 0,
|
|
156204
157170
|
eAngle = 0,
|
|
156205
157171
|
forward = true
|
|
156206
|
-
} =
|
|
157172
|
+
} = _C, rest = __objRest(_C, [
|
|
156207
157173
|
"children",
|
|
156208
157174
|
"height",
|
|
156209
157175
|
"sAngle",
|
|
@@ -156429,7 +157395,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
156429
157395
|
var b22 = _ref32[1];
|
|
156430
157396
|
return a1 === a2 && b1 === b22;
|
|
156431
157397
|
}, "areEqualPoints");
|
|
156432
|
-
var trimZeros2 = /* @__PURE__ */ __name(function trimZeros3(string2,
|
|
157398
|
+
var trimZeros2 = /* @__PURE__ */ __name(function trimZeros3(string2, char2) {
|
|
156433
157399
|
var l2 = string2.length;
|
|
156434
157400
|
while (string2.charAt(l2 - 1) === "0") {
|
|
156435
157401
|
l2 = l2 - 1;
|
|
@@ -160722,7 +161688,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
160722
161688
|
}),
|
|
160723
161689
|
tgFormValues("from", "to")
|
|
160724
161690
|
)(
|
|
160725
|
-
(
|
|
161691
|
+
(_D = class extends React$2.Component {
|
|
160726
161692
|
constructor() {
|
|
160727
161693
|
super(...arguments);
|
|
160728
161694
|
__publicField(this, "updateTempHighlight", /* @__PURE__ */ __name(({ isStart, isEnd } = {}) => (val2) => {
|
|
@@ -160833,7 +161799,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
160833
161799
|
))
|
|
160834
161800
|
);
|
|
160835
161801
|
}
|
|
160836
|
-
}, __name(
|
|
161802
|
+
}, __name(_D, "SelectDialog"), _D)
|
|
160837
161803
|
);
|
|
160838
161804
|
const normalizeToInt = /* @__PURE__ */ __name((val2) => {
|
|
160839
161805
|
const int2 = Math.round(val2);
|
|
@@ -162144,13 +163110,13 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
162144
163110
|
cutsiteOrGroupKey: group2
|
|
162145
163111
|
}));
|
|
162146
163112
|
const byNameLower = /* @__PURE__ */ __name((n2) => n2.name.toLowerCase(), "byNameLower");
|
|
162147
|
-
const shared2 = intersectionBy(
|
|
163113
|
+
const shared2 = intersectionBy$1(
|
|
162148
163114
|
g1.allEnzymesInGroup,
|
|
162149
163115
|
g2.allEnzymesInGroup,
|
|
162150
163116
|
byNameLower
|
|
162151
163117
|
);
|
|
162152
|
-
const g1Only = differenceBy(g1.allEnzymesInGroup, shared2, byNameLower);
|
|
162153
|
-
const g2Only = differenceBy(g2.allEnzymesInGroup, shared2, byNameLower);
|
|
163118
|
+
const g1Only = differenceBy$1(g1.allEnzymesInGroup, shared2, byNameLower);
|
|
163119
|
+
const g2Only = differenceBy$1(g2.allEnzymesInGroup, shared2, byNameLower);
|
|
162154
163120
|
return /* @__PURE__ */ React$2.createElement(
|
|
162155
163121
|
"div",
|
|
162156
163122
|
{
|
|
@@ -164288,8 +165254,8 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
164288
165254
|
return track2;
|
|
164289
165255
|
}
|
|
164290
165256
|
__name(getTrackFromEvent, "getTrackFromEvent");
|
|
164291
|
-
const PerformantSelectionLayer = view((
|
|
164292
|
-
var
|
|
165257
|
+
const PerformantSelectionLayer = view((_E) => {
|
|
165258
|
+
var _F = _E, { easyStore: easyStore2 } = _F, rest = __objRest(_F, ["easyStore"]);
|
|
164293
165259
|
const seqLen = rest.sequenceLength - 1;
|
|
164294
165260
|
return /* @__PURE__ */ React$2.createElement(
|
|
164295
165261
|
SelectionLayer$3,
|
|
@@ -166129,8 +167095,8 @@ ${seqDataToCopy}\r
|
|
|
166129
167095
|
})
|
|
166130
167096
|
)
|
|
166131
167097
|
)(AlignmentView);
|
|
166132
|
-
const PerformantCaret = view((
|
|
166133
|
-
var
|
|
167098
|
+
const PerformantCaret = view((_G) => {
|
|
167099
|
+
var _H = _G, { easyStore: easyStore2 } = _H, rest = __objRest(_H, ["easyStore"]);
|
|
166134
167100
|
return /* @__PURE__ */ React$2.createElement(Caret$2, __spreadValues({ caretPosition: easyStore2.caretPosition }, rest));
|
|
166135
167101
|
});
|
|
166136
167102
|
function cleanTracks(alignmentTracks) {
|
|
@@ -167141,7 +168107,7 @@ ${seqDataToCopy}\r
|
|
|
167141
168107
|
_this._node = null;
|
|
167142
168108
|
_this._window = null;
|
|
167143
168109
|
_this.measure = function(entries) {
|
|
167144
|
-
var contentRect = getContentRect(_this._node, getTypes(_this.props));
|
|
168110
|
+
var contentRect = getContentRect(_this._node, types2 || getTypes(_this.props));
|
|
167145
168111
|
if (entries) {
|
|
167146
168112
|
contentRect.entry = entries[0].contentRect;
|
|
167147
168113
|
}
|
|
@@ -167183,7 +168149,7 @@ ${seqDataToCopy}\r
|
|
|
167183
168149
|
if (this._node !== null) {
|
|
167184
168150
|
this._resizeObserver.observe(this._node);
|
|
167185
168151
|
if (typeof this.props.onResize === "function") {
|
|
167186
|
-
this.props.onResize(getContentRect(this._node, getTypes(this.props)));
|
|
168152
|
+
this.props.onResize(getContentRect(this._node, types2 || getTypes(this.props)));
|
|
167187
168153
|
}
|
|
167188
168154
|
}
|
|
167189
168155
|
}, "componentDidMount");
|
|
@@ -167473,7 +168439,7 @@ ${seqDataToCopy}\r
|
|
|
167473
168439
|
ToolbarItem$1,
|
|
167474
168440
|
__spreadValues({}, __spreadValues({
|
|
167475
168441
|
Icon: /* @__PURE__ */ React$2.createElement(Icon, { "data-test": "veImportTool", icon: "export" }),
|
|
167476
|
-
IconWrapper: Dropzone,
|
|
168442
|
+
IconWrapper: Dropzone$1,
|
|
167477
168443
|
IconWrapperProps: {
|
|
167478
168444
|
multiple: false,
|
|
167479
168445
|
style: {},
|
|
@@ -167883,14 +168849,14 @@ ${seqDataToCopy}\r
|
|
|
167883
168849
|
}, toolbarItemProps))
|
|
167884
168850
|
);
|
|
167885
168851
|
});
|
|
167886
|
-
function CutsiteToolDropDown(
|
|
167887
|
-
var
|
|
168852
|
+
function CutsiteToolDropDown(_I) {
|
|
168853
|
+
var _J = _I, {
|
|
167888
168854
|
editorName,
|
|
167889
168855
|
toggleDropdown,
|
|
167890
168856
|
annotationVisibilityShow: annotationVisibilityShow2,
|
|
167891
168857
|
withDigestTool,
|
|
167892
168858
|
createNewDigest: createNewDigest2
|
|
167893
|
-
} =
|
|
168859
|
+
} = _J, rest = __objRest(_J, [
|
|
167894
168860
|
"editorName",
|
|
167895
168861
|
"toggleDropdown",
|
|
167896
168862
|
"annotationVisibilityShow",
|
|
@@ -168018,7 +168984,7 @@ ${seqDataToCopy}\r
|
|
|
168018
168984
|
);
|
|
168019
168985
|
});
|
|
168020
168986
|
const OrfToolDropdown = withEditorProps(
|
|
168021
|
-
(
|
|
168987
|
+
(_K = class extends React$2.Component {
|
|
168022
168988
|
constructor(props) {
|
|
168023
168989
|
super(props);
|
|
168024
168990
|
this.commands = getCommands(this);
|
|
@@ -168044,7 +169010,7 @@ ${seqDataToCopy}\r
|
|
|
168044
169010
|
}
|
|
168045
169011
|
));
|
|
168046
169012
|
}
|
|
168047
|
-
}, __name(
|
|
169013
|
+
}, __name(_K, "OrfDropdown"), _K)
|
|
168048
169014
|
);
|
|
168049
169015
|
const opts = [
|
|
168050
169016
|
{ label: "DNA", value: "DNA" },
|
|
@@ -168863,7 +169829,7 @@ ${seqDataToCopy}\r
|
|
|
168863
169829
|
render() {
|
|
168864
169830
|
const { children, style: style2, className, disabled } = this.props;
|
|
168865
169831
|
return /* @__PURE__ */ React$2.createElement(
|
|
168866
|
-
Dropzone,
|
|
169832
|
+
Dropzone$1,
|
|
168867
169833
|
{
|
|
168868
169834
|
disabled,
|
|
168869
169835
|
onClick: (evt) => evt.preventDefault(),
|
|
@@ -170558,8 +171524,8 @@ ${seqDataToCopy}\r
|
|
|
170558
171524
|
super(...arguments);
|
|
170559
171525
|
__publicField(this, "getGapMap", /* @__PURE__ */ __name((sequence2) => {
|
|
170560
171526
|
const gapMap = [0];
|
|
170561
|
-
sequence2.split("").forEach((
|
|
170562
|
-
if (
|
|
171527
|
+
sequence2.split("").forEach((char2) => {
|
|
171528
|
+
if (char2 === "-") {
|
|
170563
171529
|
gapMap[Math.max(0, gapMap.length - 1)] = (gapMap[Math.max(0, gapMap.length - 1)] || 0) + 1;
|
|
170564
171530
|
} else {
|
|
170565
171531
|
gapMap.push(gapMap[gapMap.length - 1] || 0);
|
|
@@ -172975,6 +173941,8 @@ ${seqDataToCopy}\r
|
|
|
172975
173941
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
172976
173942
|
if (protoProps)
|
|
172977
173943
|
_defineProperties(Constructor.prototype, protoProps);
|
|
173944
|
+
if (staticProps)
|
|
173945
|
+
_defineProperties(Constructor, staticProps);
|
|
172978
173946
|
return Constructor;
|
|
172979
173947
|
}
|
|
172980
173948
|
__name(_createClass, "_createClass");
|
|
@@ -173441,8 +174409,8 @@ ${seqDataToCopy}\r
|
|
|
173441
174409
|
return /* @__PURE__ */ React$2.createElement(Provider, { store }, /* @__PURE__ */ React$2.createElement(VersionHistoryView$1, __spreadValues({}, __spreadValues({}, props))));
|
|
173442
174410
|
}
|
|
173443
174411
|
__name(StandaloneVersionHistoryView, "StandaloneVersionHistoryView");
|
|
173444
|
-
function createVectorEditor(_node,
|
|
173445
|
-
var
|
|
174412
|
+
function createVectorEditor(_node, _L = {}) {
|
|
174413
|
+
var _M = _L, { editorName = "StandaloneEditor" } = _M, rest = __objRest(_M, ["editorName"]);
|
|
173446
174414
|
if (!store) {
|
|
173447
174415
|
store = makeStore();
|
|
173448
174416
|
}
|
|
@@ -173475,8 +174443,8 @@ ${seqDataToCopy}\r
|
|
|
173475
174443
|
return editor;
|
|
173476
174444
|
}
|
|
173477
174445
|
__name(createVectorEditor, "createVectorEditor");
|
|
173478
|
-
function createVersionHistoryView(node2,
|
|
173479
|
-
var
|
|
174446
|
+
function createVersionHistoryView(node2, _N = {}) {
|
|
174447
|
+
var _O = _N, { editorName = "StandaloneVersionHistoryView" } = _O, rest = __objRest(_O, ["editorName"]);
|
|
173480
174448
|
if (!store) {
|
|
173481
174449
|
store = makeStore();
|
|
173482
174450
|
}
|
|
@@ -173521,8 +174489,8 @@ ${seqDataToCopy}\r
|
|
|
173521
174489
|
window.createVersionHistoryView = createVersionHistoryView;
|
|
173522
174490
|
function getGapMap(sequence2) {
|
|
173523
174491
|
const gapMap = [0];
|
|
173524
|
-
sequence2.split("").forEach((
|
|
173525
|
-
if (
|
|
174492
|
+
sequence2.split("").forEach((char2) => {
|
|
174493
|
+
if (char2 === "-") {
|
|
173526
174494
|
gapMap[Math.max(0, gapMap.length - 1)] = (gapMap[Math.max(0, gapMap.length - 1)] || 0) + 1;
|
|
173527
174495
|
} else {
|
|
173528
174496
|
gapMap.push(gapMap[gapMap.length - 1] || 0);
|
|
@@ -173641,7 +174609,7 @@ ${seqDataToCopy}\r
|
|
|
173641
174609
|
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
173642
174610
|
}
|
|
173643
174611
|
__name(step2, "step");
|
|
173644
|
-
step2((generator = generator.apply(thisArg, [])).next());
|
|
174612
|
+
step2((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
173645
174613
|
});
|
|
173646
174614
|
}
|
|
173647
174615
|
__name(__awaiter, "__awaiter");
|
|
@@ -173725,7 +174693,7 @@ ${seqDataToCopy}\r
|
|
|
173725
174693
|
}
|
|
173726
174694
|
__name(__generator, "__generator");
|
|
173727
174695
|
function __spreadArray(to, from2, pack2) {
|
|
173728
|
-
if (arguments.length === 2)
|
|
174696
|
+
if (pack2 || arguments.length === 2)
|
|
173729
174697
|
for (var i2 = 0, l2 = from2.length, ar; i2 < l2; i2++) {
|
|
173730
174698
|
if (ar || !(i2 in from2)) {
|
|
173731
174699
|
if (!ar)
|
|
@@ -181349,7 +182317,7 @@ ${seqDataToCopy}\r
|
|
|
181349
182317
|
var renderElement = /* @__PURE__ */ __name(function(element2, opts2) {
|
|
181350
182318
|
return __awaiter(void 0, void 0, void 0, function() {
|
|
181351
182319
|
var ownerDocument, defaultView, resourceOptions, contextOptions, windowOptions, windowBounds, context, foreignObjectRendering, cloneOptions, documentCloner, clonedElement, container, _a2, width, height2, left2, top2, backgroundColor2, renderOptions, canvas, renderer, root2, renderer;
|
|
181352
|
-
var _b2, _c2, _d2, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p,
|
|
182320
|
+
var _b2, _c2, _d2, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s2, _t2;
|
|
181353
182321
|
return __generator(this, function(_u2) {
|
|
181354
182322
|
switch (_u2.label) {
|
|
181355
182323
|
case 0:
|
|
@@ -181403,8 +182371,8 @@ ${seqDataToCopy}\r
|
|
|
181403
182371
|
backgroundColor: backgroundColor2,
|
|
181404
182372
|
scale: (_o = (_m = opts2.scale) !== null && _m !== void 0 ? _m : defaultView.devicePixelRatio) !== null && _o !== void 0 ? _o : 1,
|
|
181405
182373
|
x: ((_p = opts2.x) !== null && _p !== void 0 ? _p : 0) + left2,
|
|
181406
|
-
y: ((
|
|
181407
|
-
width: (
|
|
182374
|
+
y: ((_q = opts2.y) !== null && _q !== void 0 ? _q : 0) + top2,
|
|
182375
|
+
width: (_r = opts2.width) !== null && _r !== void 0 ? _r : Math.ceil(width),
|
|
181408
182376
|
height: (_s2 = opts2.height) !== null && _s2 !== void 0 ? _s2 : Math.ceil(height2)
|
|
181409
182377
|
};
|
|
181410
182378
|
if (!foreignObjectRendering)
|