lt-ppt 1.0.0
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/LICENSE +661 -0
- package/README.md +31 -0
- package/dist/InnerApp-Cw-WNV5d.js +96942 -0
- package/dist/favicon.ico +0 -0
- package/dist/imgs/template_1.webp +0 -0
- package/dist/imgs/template_2.webp +0 -0
- package/dist/imgs/template_3.webp +0 -0
- package/dist/imgs/template_4.webp +0 -0
- package/dist/imgs/template_5.webp +0 -0
- package/dist/imgs/template_6.webp +0 -0
- package/dist/imgs/template_7.webp +0 -0
- package/dist/imgs/template_8.webp +0 -0
- package/dist/index-Bp6Exf0_.js +166 -0
- package/dist/index-lXMdfvq4.js +8 -0
- package/dist/lib-CcU3sBPZ.js +1907 -0
- package/dist/logo.png +0 -0
- package/dist/lt-ppt.css +7 -0
- package/dist/lt-ppt.es.js +5 -0
- package/dist/lt-ppt.umd.js +461 -0
- package/dist/mocks/AIPPT.json +475 -0
- package/dist/mocks/AIPPT_Outline.md +69 -0
- package/dist/mocks/imgs.json +482 -0
- package/dist/mocks/slides.json +184 -0
- package/dist/mocks/template_1.json +1 -0
- package/dist/mocks/template_2.json +1 -0
- package/dist/mocks/template_3.json +1 -0
- package/dist/mocks/template_4.json +1 -0
- package/dist/mocks/template_5.json +1 -0
- package/dist/mocks/template_6.json +1 -0
- package/dist/mocks/template_7.json +1 -0
- package/dist/mocks/template_8.json +1 -0
- package/dist/pinia-CVat9nJz.js +4417 -0
- package/dist/screen-B0Lx73x7.js +12797 -0
- package/dist/tippy.esm-Dos-q4Dz.js +1711 -0
- package/dist/types/lib.d.ts +2 -0
- package/dist/types/src/InnerApp.vue.d.ts +10 -0
- package/dist/types/src/LtPPT.vue.d.ts +22 -0
- package/dist/types/src/components/Button.vue.d.ts +28 -0
- package/dist/types/src/components/ButtonGroup.vue.d.ts +16 -0
- package/dist/types/src/components/Checkbox.vue.d.ts +19 -0
- package/dist/types/src/components/CheckboxButton.vue.d.ts +16 -0
- package/dist/types/src/components/ColorButton.vue.d.ts +5 -0
- package/dist/types/src/components/ColorListButton.vue.d.ts +5 -0
- package/dist/types/src/components/ColorPicker/Alpha.vue.d.ts +12 -0
- package/dist/types/src/components/ColorPicker/Checkboard.vue.d.ts +11 -0
- package/dist/types/src/components/ColorPicker/EditableInput.vue.d.ts +10 -0
- package/dist/types/src/components/ColorPicker/Hue.vue.d.ts +13 -0
- package/dist/types/src/components/ColorPicker/Saturation.vue.d.ts +13 -0
- package/dist/types/src/components/ColorPicker/index.vue.d.ts +11 -0
- package/dist/types/src/components/Contextmenu/MenuContent.vue.d.ts +7 -0
- package/dist/types/src/components/Contextmenu/index.vue.d.ts +9 -0
- package/dist/types/src/components/Contextmenu/types.d.ts +13 -0
- package/dist/types/src/components/Divider.vue.d.ts +9 -0
- package/dist/types/src/components/Drawer.vue.d.ts +24 -0
- package/dist/types/src/components/FileInput.vue.d.ts +20 -0
- package/dist/types/src/components/FullscreenSpin.vue.d.ts +11 -0
- package/dist/types/src/components/GradientBar.vue.d.ts +15 -0
- package/dist/types/src/components/ImageWaterfallViewer.vue.d.ts +35 -0
- package/dist/types/src/components/Input.vue.d.ts +41 -0
- package/dist/types/src/components/LaTeXEditor/FormulaContent.vue.d.ts +7 -0
- package/dist/types/src/components/LaTeXEditor/SymbolContent.vue.d.ts +5 -0
- package/dist/types/src/components/LaTeXEditor/hfmath.d.ts +2 -0
- package/dist/types/src/components/LaTeXEditor/index.vue.d.ts +73 -0
- package/dist/types/src/components/LanguageSwitch.vue.d.ts +2 -0
- package/dist/types/src/components/Message.vue.d.ts +23 -0
- package/dist/types/src/components/Modal.vue.d.ts +32 -0
- package/dist/types/src/components/MoveablePanel.vue.d.ts +41 -0
- package/dist/types/src/components/NumberInput.vue.d.ts +38 -0
- package/dist/types/src/components/OutlineEditor.vue.d.ts +9 -0
- package/dist/types/src/components/Popover.vue.d.ts +38 -0
- package/dist/types/src/components/PopoverMenuItem.vue.d.ts +18 -0
- package/dist/types/src/components/RadioButton.vue.d.ts +15 -0
- package/dist/types/src/components/RadioGroup.vue.d.ts +19 -0
- package/dist/types/src/components/Select.vue.d.ts +143 -0
- package/dist/types/src/components/SelectCustom.vue.d.ts +20 -0
- package/dist/types/src/components/SelectGroup.vue.d.ts +9 -0
- package/dist/types/src/components/Slider.vue.d.ts +22 -0
- package/dist/types/src/components/Switch.vue.d.ts +12 -0
- package/dist/types/src/components/Tabs.vue.d.ts +26 -0
- package/dist/types/src/components/TextArea.vue.d.ts +29 -0
- package/dist/types/src/components/TextColorButton.vue.d.ts +12 -0
- package/dist/types/src/components/WritingBoard.vue.d.ts +32 -0
- package/dist/types/src/configs/animation.d.ts +34 -0
- package/dist/types/src/configs/chart.d.ts +4 -0
- package/dist/types/src/configs/element.d.ts +2 -0
- package/dist/types/src/configs/font.d.ts +4 -0
- package/dist/types/src/configs/hotkey.d.ts +41 -0
- package/dist/types/src/configs/imageClip.d.ts +25 -0
- package/dist/types/src/configs/latex.d.ts +11 -0
- package/dist/types/src/configs/lines.d.ts +16 -0
- package/dist/types/src/configs/mime.d.ts +1 -0
- package/dist/types/src/configs/shapes.d.ts +26 -0
- package/dist/types/src/configs/storage.d.ts +1 -0
- package/dist/types/src/configs/symbol.d.ts +5 -0
- package/dist/types/src/configs/theme.d.ts +11 -0
- package/dist/types/src/directive/clickOutside.d.ts +3 -0
- package/dist/types/src/directive/contextmenu.d.ts +3 -0
- package/dist/types/src/directive/index.d.ts +5 -0
- package/dist/types/src/directive/loading.d.ts +3 -0
- package/dist/types/src/directive/tooltip.d.ts +3 -0
- package/dist/types/src/hooks/useAIPPT.d.ts +14 -0
- package/dist/types/src/hooks/useAddSlidesOrElements.d.ts +6 -0
- package/dist/types/src/hooks/useAlignActiveElement.d.ts +5 -0
- package/dist/types/src/hooks/useAlignElementToCanvas.d.ts +5 -0
- package/dist/types/src/hooks/useCombineElement.d.ts +6 -0
- package/dist/types/src/hooks/useCopyAndPasteElement.d.ts +7 -0
- package/dist/types/src/hooks/useCreateElement.d.ts +36 -0
- package/dist/types/src/hooks/useDeleteElement.d.ts +5 -0
- package/dist/types/src/hooks/useExport.d.ts +11 -0
- package/dist/types/src/hooks/useGlobalHotkey.d.ts +2 -0
- package/dist/types/src/hooks/useHideElement.d.ts +6 -0
- package/dist/types/src/hooks/useHistorySnapshot.d.ts +6 -0
- package/dist/types/src/hooks/useImport.d.ts +15 -0
- package/dist/types/src/hooks/useLink.d.ts +6 -0
- package/dist/types/src/hooks/useLoadSlides.d.ts +4 -0
- package/dist/types/src/hooks/useLockElement.d.ts +6 -0
- package/dist/types/src/hooks/useMoveElement.d.ts +4 -0
- package/dist/types/src/hooks/useOrderElement.d.ts +6 -0
- package/dist/types/src/hooks/usePasteDataTransfer.d.ts +7 -0
- package/dist/types/src/hooks/usePasteEvent.d.ts +2 -0
- package/dist/types/src/hooks/usePasteTextClipboardData.d.ts +8 -0
- package/dist/types/src/hooks/useScaleCanvas.d.ts +7 -0
- package/dist/types/src/hooks/useScreening.d.ts +6 -0
- package/dist/types/src/hooks/useSearch.d.ts +44 -0
- package/dist/types/src/hooks/useSectionHandler.d.ts +8 -0
- package/dist/types/src/hooks/useSelectElement.d.ts +5 -0
- package/dist/types/src/hooks/useShapeFormatPainter.d.ts +4 -0
- package/dist/types/src/hooks/useSlideBackgroundStyle.d.ts +21 -0
- package/dist/types/src/hooks/useSlideHandler.d.ts +16 -0
- package/dist/types/src/hooks/useSlideTheme.d.ts +14 -0
- package/dist/types/src/hooks/useTextFormatPainter.d.ts +4 -0
- package/dist/types/src/hooks/useUniformDisplayElement.d.ts +6 -0
- package/dist/types/src/lib.d.ts +5 -0
- package/dist/types/src/locales/en.d.ts +859 -0
- package/dist/types/src/locales/index.d.ts +1753 -0
- package/dist/types/src/locales/zh-CN.d.ts +887 -0
- package/dist/types/src/services/axios.d.ts +2 -0
- package/dist/types/src/services/fetch.d.ts +2 -0
- package/dist/types/src/services/index.d.ts +36 -0
- package/dist/types/src/store/index.d.ts +6 -0
- package/dist/types/src/store/keyboard.d.ts +16 -0
- package/dist/types/src/store/main.d.ts +915 -0
- package/dist/types/src/store/screen.d.ts +6 -0
- package/dist/types/src/store/slides.d.ts +1559 -0
- package/dist/types/src/store/snapshot.d.ts +21 -0
- package/dist/types/src/types/AIPPT.d.ts +36 -0
- package/dist/types/src/types/edit.d.ts +111 -0
- package/dist/types/src/types/export.d.ts +1 -0
- package/dist/types/src/types/injectKey.d.ts +10 -0
- package/dist/types/src/types/lt-ppt.d.ts +30 -0
- package/dist/types/src/types/mobile.d.ts +1 -0
- package/dist/types/src/types/slides.d.ts +732 -0
- package/dist/types/src/types/toolbar.d.ts +9 -0
- package/dist/types/src/utils/clipboard.d.ts +9 -0
- package/dist/types/src/utils/common.d.ts +18 -0
- package/dist/types/src/utils/crypto.d.ts +10 -0
- package/dist/types/src/utils/database.d.ts +17 -0
- package/dist/types/src/utils/element.d.ts +94 -0
- package/dist/types/src/utils/emitter.d.ts +23 -0
- package/dist/types/src/utils/font.d.ts +1 -0
- package/dist/types/src/utils/fonts.d.ts +5 -0
- package/dist/types/src/utils/fullscreen.d.ts +3 -0
- package/dist/types/src/utils/htmlParser/format.d.ts +3 -0
- package/dist/types/src/utils/htmlParser/index.d.ts +4 -0
- package/dist/types/src/utils/htmlParser/lexer.d.ts +2 -0
- package/dist/types/src/utils/htmlParser/parser.d.ts +15 -0
- package/dist/types/src/utils/htmlParser/stringify.d.ts +3 -0
- package/dist/types/src/utils/htmlParser/tags.d.ts +4 -0
- package/dist/types/src/utils/htmlParser/types.d.ts +55 -0
- package/dist/types/src/utils/iframe-sdk/index.d.ts +52 -0
- package/dist/types/src/utils/iframe-sdk/types.d.ts +30 -0
- package/dist/types/src/utils/image.d.ts +32 -0
- package/dist/types/src/utils/message.d.ts +28 -0
- package/dist/types/src/utils/print.d.ts +7 -0
- package/dist/types/src/utils/prosemirror/commands/replaceText.d.ts +2 -0
- package/dist/types/src/utils/prosemirror/commands/setListStyle.d.ts +4 -0
- package/dist/types/src/utils/prosemirror/commands/setTextAlign.d.ts +5 -0
- package/dist/types/src/utils/prosemirror/commands/setTextIndent.d.ts +3 -0
- package/dist/types/src/utils/prosemirror/commands/toggleList.d.ts +8 -0
- package/dist/types/src/utils/prosemirror/index.d.ts +4 -0
- package/dist/types/src/utils/prosemirror/plugins/index.d.ts +10 -0
- package/dist/types/src/utils/prosemirror/plugins/inputrules.d.ts +7 -0
- package/dist/types/src/utils/prosemirror/plugins/keymap.d.ts +3 -0
- package/dist/types/src/utils/prosemirror/plugins/placeholder.d.ts +2 -0
- package/dist/types/src/utils/prosemirror/schema/index.d.ts +24 -0
- package/dist/types/src/utils/prosemirror/schema/marks.d.ts +17 -0
- package/dist/types/src/utils/prosemirror/schema/nodes.d.ts +11 -0
- package/dist/types/src/utils/prosemirror/utils.d.ts +69 -0
- package/dist/types/src/utils/selection.d.ts +1 -0
- package/dist/types/src/utils/svg2Base64.d.ts +1 -0
- package/dist/types/src/utils/svgPathParser.d.ts +120 -0
- package/dist/types/src/utils/textParser.d.ts +5 -0
- package/dist/types/src/views/Editor/AIPPTDialog.vue.d.ts +111 -0
- package/dist/types/src/views/Editor/Canvas/AlignmentLine.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Canvas/EditableElement.vue.d.ts +12 -0
- package/dist/types/src/views/Editor/Canvas/ElementCreateSelection.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Canvas/GridLines.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Canvas/LinkDialog.vue.d.ts +115 -0
- package/dist/types/src/views/Editor/Canvas/MouseSelection.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Canvas/Operate/BorderLine.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Canvas/Operate/CommonElementOperate.vue.d.ts +14 -0
- package/dist/types/src/views/Editor/Canvas/Operate/ImageElementOperate.vue.d.ts +14 -0
- package/dist/types/src/views/Editor/Canvas/Operate/LineElementOperate.vue.d.ts +12 -0
- package/dist/types/src/views/Editor/Canvas/Operate/LinkHandler.vue.d.ts +8 -0
- package/dist/types/src/views/Editor/Canvas/Operate/MultiSelectOperate.vue.d.ts +8 -0
- package/dist/types/src/views/Editor/Canvas/Operate/ResizeHandler.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Canvas/Operate/RotateHandler.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Canvas/Operate/ShapeElementOperate.vue.d.ts +16 -0
- package/dist/types/src/views/Editor/Canvas/Operate/TableElementOperate.vue.d.ts +14 -0
- package/dist/types/src/views/Editor/Canvas/Operate/TextElementOperate.vue.d.ts +14 -0
- package/dist/types/src/views/Editor/Canvas/Operate/index.vue.d.ts +16 -0
- package/dist/types/src/views/Editor/Canvas/Ruler.vue.d.ts +13 -0
- package/dist/types/src/views/Editor/Canvas/ShapeCreateCanvas.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Canvas/ViewportBackground.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useCommonOperate.d.ts +89 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useDragElement.d.ts +7 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useDragLineElement.d.ts +7 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useDrop.d.ts +3 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useInsertFromCreateSelection.d.ts +12 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useMouseSelection.d.ts +24 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useMoveShapeKeypoint.d.ts +6 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useRotateElement.d.ts +6 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useScaleElement.d.ts +8 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useSelectElement.d.ts +6 -0
- package/dist/types/src/views/Editor/Canvas/hooks/useViewportSize.d.ts +11 -0
- package/dist/types/src/views/Editor/Canvas/index.vue.d.ts +5 -0
- package/dist/types/src/views/Editor/CanvasTool/ChartPool.vue.d.ts +7 -0
- package/dist/types/src/views/Editor/CanvasTool/LinePool.vue.d.ts +7 -0
- package/dist/types/src/views/Editor/CanvasTool/MediaInput.vue.d.ts +22 -0
- package/dist/types/src/views/Editor/CanvasTool/ShapeItemThumbnail.vue.d.ts +6 -0
- package/dist/types/src/views/Editor/CanvasTool/ShapePool.vue.d.ts +7 -0
- package/dist/types/src/views/Editor/CanvasTool/TableGenerator.vue.d.ts +12 -0
- package/dist/types/src/views/Editor/CanvasTool/index.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/EditorHeader/HotkeyDoc.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/EditorHeader/index.vue.d.ts +4 -0
- package/dist/types/src/views/Editor/ExportDialog/ExportImage.vue.d.ts +8 -0
- package/dist/types/src/views/Editor/ExportDialog/ExportJSON.vue.d.ts +6 -0
- package/dist/types/src/views/Editor/ExportDialog/ExportPDF.vue.d.ts +8 -0
- package/dist/types/src/views/Editor/ExportDialog/ExportPDF2.vue.d.ts +8 -0
- package/dist/types/src/views/Editor/ExportDialog/ExportPPTX.vue.d.ts +8 -0
- package/dist/types/src/views/Editor/ExportDialog/ExportSpecificFile.vue.d.ts +6 -0
- package/dist/types/src/views/Editor/ExportDialog/index.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/ImageLibPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/MarkupPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/NotesPanel.vue.d.ts +57 -0
- package/dist/types/src/views/Editor/Remark/Editor.vue.d.ts +14 -0
- package/dist/types/src/views/Editor/Remark/index.vue.d.ts +35 -0
- package/dist/types/src/views/Editor/SearchPanel.vue.d.ts +111 -0
- package/dist/types/src/views/Editor/SelectPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/SymbolPanel.vue.d.ts +4 -0
- package/dist/types/src/views/Editor/Thumbnails/Templates.vue.d.ts +17 -0
- package/dist/types/src/views/Editor/Thumbnails/index.vue.d.ts +91 -0
- package/dist/types/src/views/Editor/Toolbar/ElementAnimationPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementPositionPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/AudioStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/ChartDataEditor.vue.d.ts +19 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/ThemeColorsSetting.vue.d.ts +9 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/index.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/LatexStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/LineStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/TableStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/TextStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/VideoStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/ElementStylePanel/index.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/MultiPositionPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/MultiStylePanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/SlideAnimationPanel.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/SlideDesignPanel/ThemeColorsSetting.vue.d.ts +6 -0
- package/dist/types/src/views/Editor/Toolbar/SlideDesignPanel/ThemeStylesExtract.vue.d.ts +6 -0
- package/dist/types/src/views/Editor/Toolbar/SlideDesignPanel/index.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/ElementColorMask.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/ElementFilter.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/ElementFlip.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/ElementOpacity.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/ElementOutline.vue.d.ts +7 -0
- package/dist/types/src/views/Editor/Toolbar/common/ElementShadow.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/RichTextBase.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/Toolbar/common/SVGLine.vue.d.ts +14 -0
- package/dist/types/src/views/Editor/Toolbar/index.vue.d.ts +2 -0
- package/dist/types/src/views/Editor/index.vue.d.ts +2 -0
- package/dist/types/src/views/Mobile/MobileEditor/ElementToolbar.vue.d.ts +2 -0
- package/dist/types/src/views/Mobile/MobileEditor/Header.vue.d.ts +6 -0
- package/dist/types/src/views/Mobile/MobileEditor/MobileEditableElement.vue.d.ts +8 -0
- package/dist/types/src/views/Mobile/MobileEditor/MobileOperate.vue.d.ts +12 -0
- package/dist/types/src/views/Mobile/MobileEditor/SlideToolbar.vue.d.ts +2 -0
- package/dist/types/src/views/Mobile/MobileEditor/index.vue.d.ts +9 -0
- package/dist/types/src/views/Mobile/MobilePlayer.vue.d.ts +6 -0
- package/dist/types/src/views/Mobile/MobilePreview.vue.d.ts +8 -0
- package/dist/types/src/views/Mobile/MobileThumbnails.vue.d.ts +2 -0
- package/dist/types/src/views/Mobile/index.vue.d.ts +2 -0
- package/dist/types/src/views/Screen/BaseView.vue.d.ts +5 -0
- package/dist/types/src/views/Screen/BottomThumbnails.vue.d.ts +4 -0
- package/dist/types/src/views/Screen/CountdownTimer.vue.d.ts +13 -0
- package/dist/types/src/views/Screen/PresenterView.vue.d.ts +8 -0
- package/dist/types/src/views/Screen/ScreenElement.vue.d.ts +10 -0
- package/dist/types/src/views/Screen/ScreenSlide.vue.d.ts +10 -0
- package/dist/types/src/views/Screen/ScreenSlideList.vue.d.ts +9 -0
- package/dist/types/src/views/Screen/SlideThumbnails.vue.d.ts +9 -0
- package/dist/types/src/views/Screen/WritingBoardTool.vue.d.ts +77 -0
- package/dist/types/src/views/Screen/hooks/useExecPlay.d.ts +20 -0
- package/dist/types/src/views/Screen/hooks/useFullscreen.d.ts +5 -0
- package/dist/types/src/views/Screen/hooks/useSlideSize.d.ts +6 -0
- package/dist/types/src/views/Screen/hooks/useSlidesWithTurningMode.d.ts +14 -0
- package/dist/types/src/views/Screen/index.vue.d.ts +2 -0
- package/dist/types/src/views/components/ThumbnailSlide/ThumbnailElement.vue.d.ts +7 -0
- package/dist/types/src/views/components/ThumbnailSlide/index.vue.d.ts +10 -0
- package/dist/types/src/views/components/element/AudioElement/AudioPlayer.vue.d.ts +17 -0
- package/dist/types/src/views/components/element/AudioElement/BaseAudioElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/AudioElement/ScreenAudioElement.vue.d.ts +39 -0
- package/dist/types/src/views/components/element/AudioElement/index.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/ChartElement/BaseChartElement.vue.d.ts +7 -0
- package/dist/types/src/views/components/element/ChartElement/Chart.vue.d.ts +15 -0
- package/dist/types/src/views/components/element/ChartElement/chartOption.d.ts +15 -0
- package/dist/types/src/views/components/element/ChartElement/index.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/ElementOutline.vue.d.ts +8 -0
- package/dist/types/src/views/components/element/ImageElement/BaseImageElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/ImageElement/ImageClipHandler.vue.d.ts +18 -0
- package/dist/types/src/views/components/element/ImageElement/ImageOutline/ImageEllipseOutline.vue.d.ts +8 -0
- package/dist/types/src/views/components/element/ImageElement/ImageOutline/ImagePolygonOutline.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/ImageElement/ImageOutline/ImageRectOutline.vue.d.ts +11 -0
- package/dist/types/src/views/components/element/ImageElement/ImageOutline/index.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/ImageElement/index.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/ImageElement/useClipImage.d.ts +19 -0
- package/dist/types/src/views/components/element/ImageElement/useFilter.d.ts +6 -0
- package/dist/types/src/views/components/element/LatexElement/BaseLatexElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/LatexElement/index.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/LineElement/BaseLineElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/LineElement/LinePointMarker.vue.d.ts +11 -0
- package/dist/types/src/views/components/element/LineElement/index.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/ProsemirrorEditor.vue.d.ts +33 -0
- package/dist/types/src/views/components/element/ShapeElement/BaseShapeElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/ShapeElement/GradientDefs.vue.d.ts +11 -0
- package/dist/types/src/views/components/element/ShapeElement/PatternDefs.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/ShapeElement/index.vue.d.ts +68 -0
- package/dist/types/src/views/components/element/TableElement/BaseTableElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/TableElement/CustomTextarea.vue.d.ts +15 -0
- package/dist/types/src/views/components/element/TableElement/EditableTable.vue.d.ts +22 -0
- package/dist/types/src/views/components/element/TableElement/StaticTable.vue.d.ts +14 -0
- package/dist/types/src/views/components/element/TableElement/index.vue.d.ts +11 -0
- package/dist/types/src/views/components/element/TableElement/useHideCells.d.ts +6 -0
- package/dist/types/src/views/components/element/TableElement/useSubThemeColor.d.ts +6 -0
- package/dist/types/src/views/components/element/TableElement/utils.d.ts +8 -0
- package/dist/types/src/views/components/element/TextElement/BaseTextElement.vue.d.ts +7 -0
- package/dist/types/src/views/components/element/TextElement/index.vue.d.ts +11 -0
- package/dist/types/src/views/components/element/VideoElement/BaseVideoElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/VideoElement/ScreenVideoElement.vue.d.ts +6 -0
- package/dist/types/src/views/components/element/VideoElement/VideoPlayer/index.vue.d.ts +19 -0
- package/dist/types/src/views/components/element/VideoElement/VideoPlayer/useMSE.d.ts +3 -0
- package/dist/types/src/views/components/element/VideoElement/index.vue.d.ts +9 -0
- package/dist/types/src/views/components/element/hooks/useElementFill.d.ts +6 -0
- package/dist/types/src/views/components/element/hooks/useElementFlip.d.ts +5 -0
- package/dist/types/src/views/components/element/hooks/useElementOutline.d.ts +9 -0
- package/dist/types/src/views/components/element/hooks/useElementShadow.d.ts +6 -0
- package/dist/vue-i18n-R6dI71u7.js +3595 -0
- package/package.json +109 -0
|
@@ -0,0 +1,1711 @@
|
|
|
1
|
+
var I = "top", Y = "bottom", X = "right", W = "left", bt = "auto", Ue = [I, Y, X, W], Ae = "start", $e = "end", wr = "clippingParents", Yt = "viewport", Re = "popper", Or = "reference", Lt = /* @__PURE__ */ Ue.reduce(function(e, t) {
|
|
2
|
+
return e.concat([t + "-" + Ae, t + "-" + $e]);
|
|
3
|
+
}, []), Xt = /* @__PURE__ */ [].concat(Ue, [bt]).reduce(function(e, t) {
|
|
4
|
+
return e.concat([t, t + "-" + Ae, t + "-" + $e]);
|
|
5
|
+
}, []), xr = "beforeRead", Er = "read", Tr = "afterRead", Ar = "beforeMain", Dr = "main", Cr = "afterMain", Lr = "beforeWrite", Sr = "write", jr = "afterWrite", Pr = [xr, Er, Tr, Ar, Dr, Cr, Lr, Sr, jr];
|
|
6
|
+
function te(e) {
|
|
7
|
+
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
8
|
+
}
|
|
9
|
+
function q(e) {
|
|
10
|
+
if (e == null)
|
|
11
|
+
return window;
|
|
12
|
+
if (e.toString() !== "[object Window]") {
|
|
13
|
+
var t = e.ownerDocument;
|
|
14
|
+
return t && t.defaultView || window;
|
|
15
|
+
}
|
|
16
|
+
return e;
|
|
17
|
+
}
|
|
18
|
+
function ge(e) {
|
|
19
|
+
var t = q(e).Element;
|
|
20
|
+
return e instanceof t || e instanceof Element;
|
|
21
|
+
}
|
|
22
|
+
function z(e) {
|
|
23
|
+
var t = q(e).HTMLElement;
|
|
24
|
+
return e instanceof t || e instanceof HTMLElement;
|
|
25
|
+
}
|
|
26
|
+
function wt(e) {
|
|
27
|
+
if (typeof ShadowRoot > "u")
|
|
28
|
+
return !1;
|
|
29
|
+
var t = q(e).ShadowRoot;
|
|
30
|
+
return e instanceof t || e instanceof ShadowRoot;
|
|
31
|
+
}
|
|
32
|
+
function Mr(e) {
|
|
33
|
+
var t = e.state;
|
|
34
|
+
Object.keys(t.elements).forEach(function(r) {
|
|
35
|
+
var i = t.styles[r] || {}, o = t.attributes[r] || {}, s = t.elements[r];
|
|
36
|
+
!z(s) || !te(s) || (Object.assign(s.style, i), Object.keys(o).forEach(function(c) {
|
|
37
|
+
var f = o[c];
|
|
38
|
+
f === !1 ? s.removeAttribute(c) : s.setAttribute(c, f === !0 ? "" : f);
|
|
39
|
+
}));
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
function Nr(e) {
|
|
43
|
+
var t = e.state, r = {
|
|
44
|
+
popper: {
|
|
45
|
+
position: t.options.strategy,
|
|
46
|
+
left: "0",
|
|
47
|
+
top: "0",
|
|
48
|
+
margin: "0"
|
|
49
|
+
},
|
|
50
|
+
arrow: {
|
|
51
|
+
position: "absolute"
|
|
52
|
+
},
|
|
53
|
+
reference: {}
|
|
54
|
+
};
|
|
55
|
+
return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
|
|
56
|
+
Object.keys(t.elements).forEach(function(i) {
|
|
57
|
+
var o = t.elements[i], s = t.attributes[i] || {}, c = Object.keys(t.styles.hasOwnProperty(i) ? t.styles[i] : r[i]), f = c.reduce(function(u, l) {
|
|
58
|
+
return u[l] = "", u;
|
|
59
|
+
}, {});
|
|
60
|
+
!z(o) || !te(o) || (Object.assign(o.style, f), Object.keys(s).forEach(function(u) {
|
|
61
|
+
o.removeAttribute(u);
|
|
62
|
+
}));
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
const Gt = {
|
|
67
|
+
name: "applyStyles",
|
|
68
|
+
enabled: !0,
|
|
69
|
+
phase: "write",
|
|
70
|
+
fn: Mr,
|
|
71
|
+
effect: Nr,
|
|
72
|
+
requires: ["computeStyles"]
|
|
73
|
+
};
|
|
74
|
+
function ee(e) {
|
|
75
|
+
return e.split("-")[0];
|
|
76
|
+
}
|
|
77
|
+
var he = Math.max, it = Math.min, De = Math.round;
|
|
78
|
+
function vt() {
|
|
79
|
+
var e = navigator.userAgentData;
|
|
80
|
+
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
|
|
81
|
+
return t.brand + "/" + t.version;
|
|
82
|
+
}).join(" ") : navigator.userAgent;
|
|
83
|
+
}
|
|
84
|
+
function Kt() {
|
|
85
|
+
return !/^((?!chrome|android).)*safari/i.test(vt());
|
|
86
|
+
}
|
|
87
|
+
function Ce(e, t, r) {
|
|
88
|
+
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
89
|
+
var i = e.getBoundingClientRect(), o = 1, s = 1;
|
|
90
|
+
t && z(e) && (o = e.offsetWidth > 0 && De(i.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && De(i.height) / e.offsetHeight || 1);
|
|
91
|
+
var c = ge(e) ? q(e) : window, f = c.visualViewport, u = !Kt() && r, l = (i.left + (u && f ? f.offsetLeft : 0)) / o, p = (i.top + (u && f ? f.offsetTop : 0)) / s, b = i.width / o, x = i.height / s;
|
|
92
|
+
return {
|
|
93
|
+
width: b,
|
|
94
|
+
height: x,
|
|
95
|
+
top: p,
|
|
96
|
+
right: l + b,
|
|
97
|
+
bottom: p + x,
|
|
98
|
+
left: l,
|
|
99
|
+
x: l,
|
|
100
|
+
y: p
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function Ot(e) {
|
|
104
|
+
var t = Ce(e), r = e.offsetWidth, i = e.offsetHeight;
|
|
105
|
+
return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - i) <= 1 && (i = t.height), {
|
|
106
|
+
x: e.offsetLeft,
|
|
107
|
+
y: e.offsetTop,
|
|
108
|
+
width: r,
|
|
109
|
+
height: i
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
function Jt(e, t) {
|
|
113
|
+
var r = t.getRootNode && t.getRootNode();
|
|
114
|
+
if (e.contains(t))
|
|
115
|
+
return !0;
|
|
116
|
+
if (r && wt(r)) {
|
|
117
|
+
var i = t;
|
|
118
|
+
do {
|
|
119
|
+
if (i && e.isSameNode(i))
|
|
120
|
+
return !0;
|
|
121
|
+
i = i.parentNode || i.host;
|
|
122
|
+
} while (i);
|
|
123
|
+
}
|
|
124
|
+
return !1;
|
|
125
|
+
}
|
|
126
|
+
function se(e) {
|
|
127
|
+
return q(e).getComputedStyle(e);
|
|
128
|
+
}
|
|
129
|
+
function Rr(e) {
|
|
130
|
+
return ["table", "td", "th"].indexOf(te(e)) >= 0;
|
|
131
|
+
}
|
|
132
|
+
function fe(e) {
|
|
133
|
+
return ((ge(e) ? e.ownerDocument : (
|
|
134
|
+
// $FlowFixMe[prop-missing]
|
|
135
|
+
e.document
|
|
136
|
+
)) || window.document).documentElement;
|
|
137
|
+
}
|
|
138
|
+
function at(e) {
|
|
139
|
+
return te(e) === "html" ? e : (
|
|
140
|
+
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
141
|
+
// $FlowFixMe[incompatible-return]
|
|
142
|
+
// $FlowFixMe[prop-missing]
|
|
143
|
+
e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
144
|
+
e.parentNode || // DOM Element detected
|
|
145
|
+
(wt(e) ? e.host : null) || // ShadowRoot detected
|
|
146
|
+
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
147
|
+
fe(e)
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
function St(e) {
|
|
151
|
+
return !z(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
152
|
+
se(e).position === "fixed" ? null : e.offsetParent;
|
|
153
|
+
}
|
|
154
|
+
function Br(e) {
|
|
155
|
+
var t = /firefox/i.test(vt()), r = /Trident/i.test(vt());
|
|
156
|
+
if (r && z(e)) {
|
|
157
|
+
var i = se(e);
|
|
158
|
+
if (i.position === "fixed")
|
|
159
|
+
return null;
|
|
160
|
+
}
|
|
161
|
+
var o = at(e);
|
|
162
|
+
for (wt(o) && (o = o.host); z(o) && ["html", "body"].indexOf(te(o)) < 0; ) {
|
|
163
|
+
var s = se(o);
|
|
164
|
+
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
|
|
165
|
+
return o;
|
|
166
|
+
o = o.parentNode;
|
|
167
|
+
}
|
|
168
|
+
return null;
|
|
169
|
+
}
|
|
170
|
+
function Fe(e) {
|
|
171
|
+
for (var t = q(e), r = St(e); r && Rr(r) && se(r).position === "static"; )
|
|
172
|
+
r = St(r);
|
|
173
|
+
return r && (te(r) === "html" || te(r) === "body" && se(r).position === "static") ? t : r || Br(e) || t;
|
|
174
|
+
}
|
|
175
|
+
function xt(e) {
|
|
176
|
+
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
177
|
+
}
|
|
178
|
+
function Be(e, t, r) {
|
|
179
|
+
return he(e, it(t, r));
|
|
180
|
+
}
|
|
181
|
+
function Vr(e, t, r) {
|
|
182
|
+
var i = Be(e, t, r);
|
|
183
|
+
return i > r ? r : i;
|
|
184
|
+
}
|
|
185
|
+
function Qt() {
|
|
186
|
+
return {
|
|
187
|
+
top: 0,
|
|
188
|
+
right: 0,
|
|
189
|
+
bottom: 0,
|
|
190
|
+
left: 0
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
function Zt(e) {
|
|
194
|
+
return Object.assign({}, Qt(), e);
|
|
195
|
+
}
|
|
196
|
+
function er(e, t) {
|
|
197
|
+
return t.reduce(function(r, i) {
|
|
198
|
+
return r[i] = e, r;
|
|
199
|
+
}, {});
|
|
200
|
+
}
|
|
201
|
+
var kr = function(t, r) {
|
|
202
|
+
return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
|
|
203
|
+
placement: r.placement
|
|
204
|
+
})) : t, Zt(typeof t != "number" ? t : er(t, Ue));
|
|
205
|
+
};
|
|
206
|
+
function $r(e) {
|
|
207
|
+
var t, r = e.state, i = e.name, o = e.options, s = r.elements.arrow, c = r.modifiersData.popperOffsets, f = ee(r.placement), u = xt(f), l = [W, X].indexOf(f) >= 0, p = l ? "height" : "width";
|
|
208
|
+
if (!(!s || !c)) {
|
|
209
|
+
var b = kr(o.padding, r), x = Ot(s), h = u === "y" ? I : W, w = u === "y" ? Y : X, g = r.rects.reference[p] + r.rects.reference[u] - c[u] - r.rects.popper[p], y = c[u] - r.rects.reference[u], T = Fe(s), D = T ? u === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, L = g / 2 - y / 2, n = b[h], E = D - x[p] - b[w], d = D / 2 - x[p] / 2 + L, C = Be(n, d, E), N = u;
|
|
210
|
+
r.modifiersData[i] = (t = {}, t[N] = C, t.centerOffset = C - d, t);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
function Ir(e) {
|
|
214
|
+
var t = e.state, r = e.options, i = r.element, o = i === void 0 ? "[data-popper-arrow]" : i;
|
|
215
|
+
o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || Jt(t.elements.popper, o) && (t.elements.arrow = o));
|
|
216
|
+
}
|
|
217
|
+
const Wr = {
|
|
218
|
+
name: "arrow",
|
|
219
|
+
enabled: !0,
|
|
220
|
+
phase: "main",
|
|
221
|
+
fn: $r,
|
|
222
|
+
effect: Ir,
|
|
223
|
+
requires: ["popperOffsets"],
|
|
224
|
+
requiresIfExists: ["preventOverflow"]
|
|
225
|
+
};
|
|
226
|
+
function Le(e) {
|
|
227
|
+
return e.split("-")[1];
|
|
228
|
+
}
|
|
229
|
+
var Hr = {
|
|
230
|
+
top: "auto",
|
|
231
|
+
right: "auto",
|
|
232
|
+
bottom: "auto",
|
|
233
|
+
left: "auto"
|
|
234
|
+
};
|
|
235
|
+
function Ur(e, t) {
|
|
236
|
+
var r = e.x, i = e.y, o = t.devicePixelRatio || 1;
|
|
237
|
+
return {
|
|
238
|
+
x: De(r * o) / o || 0,
|
|
239
|
+
y: De(i * o) / o || 0
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
function jt(e) {
|
|
243
|
+
var t, r = e.popper, i = e.popperRect, o = e.placement, s = e.variation, c = e.offsets, f = e.position, u = e.gpuAcceleration, l = e.adaptive, p = e.roundOffsets, b = e.isFixed, x = c.x, h = x === void 0 ? 0 : x, w = c.y, g = w === void 0 ? 0 : w, y = typeof p == "function" ? p({
|
|
244
|
+
x: h,
|
|
245
|
+
y: g
|
|
246
|
+
}) : {
|
|
247
|
+
x: h,
|
|
248
|
+
y: g
|
|
249
|
+
};
|
|
250
|
+
h = y.x, g = y.y;
|
|
251
|
+
var T = c.hasOwnProperty("x"), D = c.hasOwnProperty("y"), L = W, n = I, E = window;
|
|
252
|
+
if (l) {
|
|
253
|
+
var d = Fe(r), C = "clientHeight", N = "clientWidth";
|
|
254
|
+
if (d === q(r) && (d = fe(r), se(d).position !== "static" && f === "absolute" && (C = "scrollHeight", N = "scrollWidth")), d = d, o === I || (o === W || o === X) && s === $e) {
|
|
255
|
+
n = Y;
|
|
256
|
+
var M = b && d === E && E.visualViewport ? E.visualViewport.height : (
|
|
257
|
+
// $FlowFixMe[prop-missing]
|
|
258
|
+
d[C]
|
|
259
|
+
);
|
|
260
|
+
g -= M - i.height, g *= u ? 1 : -1;
|
|
261
|
+
}
|
|
262
|
+
if (o === W || (o === I || o === Y) && s === $e) {
|
|
263
|
+
L = X;
|
|
264
|
+
var j = b && d === E && E.visualViewport ? E.visualViewport.width : (
|
|
265
|
+
// $FlowFixMe[prop-missing]
|
|
266
|
+
d[N]
|
|
267
|
+
);
|
|
268
|
+
h -= j - i.width, h *= u ? 1 : -1;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
var R = Object.assign({
|
|
272
|
+
position: f
|
|
273
|
+
}, l && Hr), P = p === !0 ? Ur({
|
|
274
|
+
x: h,
|
|
275
|
+
y: g
|
|
276
|
+
}, q(r)) : {
|
|
277
|
+
x: h,
|
|
278
|
+
y: g
|
|
279
|
+
};
|
|
280
|
+
if (h = P.x, g = P.y, u) {
|
|
281
|
+
var S;
|
|
282
|
+
return Object.assign({}, R, (S = {}, S[n] = D ? "0" : "", S[L] = T ? "0" : "", S.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + g + "px)" : "translate3d(" + h + "px, " + g + "px, 0)", S));
|
|
283
|
+
}
|
|
284
|
+
return Object.assign({}, R, (t = {}, t[n] = D ? g + "px" : "", t[L] = T ? h + "px" : "", t.transform = "", t));
|
|
285
|
+
}
|
|
286
|
+
function Fr(e) {
|
|
287
|
+
var t = e.state, r = e.options, i = r.gpuAcceleration, o = i === void 0 ? !0 : i, s = r.adaptive, c = s === void 0 ? !0 : s, f = r.roundOffsets, u = f === void 0 ? !0 : f, l = {
|
|
288
|
+
placement: ee(t.placement),
|
|
289
|
+
variation: Le(t.placement),
|
|
290
|
+
popper: t.elements.popper,
|
|
291
|
+
popperRect: t.rects.popper,
|
|
292
|
+
gpuAcceleration: o,
|
|
293
|
+
isFixed: t.options.strategy === "fixed"
|
|
294
|
+
};
|
|
295
|
+
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, jt(Object.assign({}, l, {
|
|
296
|
+
offsets: t.modifiersData.popperOffsets,
|
|
297
|
+
position: t.options.strategy,
|
|
298
|
+
adaptive: c,
|
|
299
|
+
roundOffsets: u
|
|
300
|
+
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, jt(Object.assign({}, l, {
|
|
301
|
+
offsets: t.modifiersData.arrow,
|
|
302
|
+
position: "absolute",
|
|
303
|
+
adaptive: !1,
|
|
304
|
+
roundOffsets: u
|
|
305
|
+
})))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
306
|
+
"data-popper-placement": t.placement
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
const qr = {
|
|
310
|
+
name: "computeStyles",
|
|
311
|
+
enabled: !0,
|
|
312
|
+
phase: "beforeWrite",
|
|
313
|
+
fn: Fr,
|
|
314
|
+
data: {}
|
|
315
|
+
};
|
|
316
|
+
var tt = {
|
|
317
|
+
passive: !0
|
|
318
|
+
};
|
|
319
|
+
function _r(e) {
|
|
320
|
+
var t = e.state, r = e.instance, i = e.options, o = i.scroll, s = o === void 0 ? !0 : o, c = i.resize, f = c === void 0 ? !0 : c, u = q(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
321
|
+
return s && l.forEach(function(p) {
|
|
322
|
+
p.addEventListener("scroll", r.update, tt);
|
|
323
|
+
}), f && u.addEventListener("resize", r.update, tt), function() {
|
|
324
|
+
s && l.forEach(function(p) {
|
|
325
|
+
p.removeEventListener("scroll", r.update, tt);
|
|
326
|
+
}), f && u.removeEventListener("resize", r.update, tt);
|
|
327
|
+
};
|
|
328
|
+
}
|
|
329
|
+
const zr = {
|
|
330
|
+
name: "eventListeners",
|
|
331
|
+
enabled: !0,
|
|
332
|
+
phase: "write",
|
|
333
|
+
fn: function() {
|
|
334
|
+
},
|
|
335
|
+
effect: _r,
|
|
336
|
+
data: {}
|
|
337
|
+
};
|
|
338
|
+
var Yr = {
|
|
339
|
+
left: "right",
|
|
340
|
+
right: "left",
|
|
341
|
+
bottom: "top",
|
|
342
|
+
top: "bottom"
|
|
343
|
+
};
|
|
344
|
+
function nt(e) {
|
|
345
|
+
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
346
|
+
return Yr[t];
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
var Xr = {
|
|
350
|
+
start: "end",
|
|
351
|
+
end: "start"
|
|
352
|
+
};
|
|
353
|
+
function Pt(e) {
|
|
354
|
+
return e.replace(/start|end/g, function(t) {
|
|
355
|
+
return Xr[t];
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
function Et(e) {
|
|
359
|
+
var t = q(e), r = t.pageXOffset, i = t.pageYOffset;
|
|
360
|
+
return {
|
|
361
|
+
scrollLeft: r,
|
|
362
|
+
scrollTop: i
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
function Tt(e) {
|
|
366
|
+
return Ce(fe(e)).left + Et(e).scrollLeft;
|
|
367
|
+
}
|
|
368
|
+
function Gr(e, t) {
|
|
369
|
+
var r = q(e), i = fe(e), o = r.visualViewport, s = i.clientWidth, c = i.clientHeight, f = 0, u = 0;
|
|
370
|
+
if (o) {
|
|
371
|
+
s = o.width, c = o.height;
|
|
372
|
+
var l = Kt();
|
|
373
|
+
(l || !l && t === "fixed") && (f = o.offsetLeft, u = o.offsetTop);
|
|
374
|
+
}
|
|
375
|
+
return {
|
|
376
|
+
width: s,
|
|
377
|
+
height: c,
|
|
378
|
+
x: f + Tt(e),
|
|
379
|
+
y: u
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
function Kr(e) {
|
|
383
|
+
var t, r = fe(e), i = Et(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, s = he(r.scrollWidth, r.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), c = he(r.scrollHeight, r.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), f = -i.scrollLeft + Tt(e), u = -i.scrollTop;
|
|
384
|
+
return se(o || r).direction === "rtl" && (f += he(r.clientWidth, o ? o.clientWidth : 0) - s), {
|
|
385
|
+
width: s,
|
|
386
|
+
height: c,
|
|
387
|
+
x: f,
|
|
388
|
+
y: u
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
function At(e) {
|
|
392
|
+
var t = se(e), r = t.overflow, i = t.overflowX, o = t.overflowY;
|
|
393
|
+
return /auto|scroll|overlay|hidden/.test(r + o + i);
|
|
394
|
+
}
|
|
395
|
+
function tr(e) {
|
|
396
|
+
return ["html", "body", "#document"].indexOf(te(e)) >= 0 ? e.ownerDocument.body : z(e) && At(e) ? e : tr(at(e));
|
|
397
|
+
}
|
|
398
|
+
function Ve(e, t) {
|
|
399
|
+
var r;
|
|
400
|
+
t === void 0 && (t = []);
|
|
401
|
+
var i = tr(e), o = i === ((r = e.ownerDocument) == null ? void 0 : r.body), s = q(i), c = o ? [s].concat(s.visualViewport || [], At(i) ? i : []) : i, f = t.concat(c);
|
|
402
|
+
return o ? f : (
|
|
403
|
+
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
404
|
+
f.concat(Ve(at(c)))
|
|
405
|
+
);
|
|
406
|
+
}
|
|
407
|
+
function mt(e) {
|
|
408
|
+
return Object.assign({}, e, {
|
|
409
|
+
left: e.x,
|
|
410
|
+
top: e.y,
|
|
411
|
+
right: e.x + e.width,
|
|
412
|
+
bottom: e.y + e.height
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
function Jr(e, t) {
|
|
416
|
+
var r = Ce(e, !1, t === "fixed");
|
|
417
|
+
return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
|
|
418
|
+
}
|
|
419
|
+
function Mt(e, t, r) {
|
|
420
|
+
return t === Yt ? mt(Gr(e, r)) : ge(t) ? Jr(t, r) : mt(Kr(fe(e)));
|
|
421
|
+
}
|
|
422
|
+
function Qr(e) {
|
|
423
|
+
var t = Ve(at(e)), r = ["absolute", "fixed"].indexOf(se(e).position) >= 0, i = r && z(e) ? Fe(e) : e;
|
|
424
|
+
return ge(i) ? t.filter(function(o) {
|
|
425
|
+
return ge(o) && Jt(o, i) && te(o) !== "body";
|
|
426
|
+
}) : [];
|
|
427
|
+
}
|
|
428
|
+
function Zr(e, t, r, i) {
|
|
429
|
+
var o = t === "clippingParents" ? Qr(e) : [].concat(t), s = [].concat(o, [r]), c = s[0], f = s.reduce(function(u, l) {
|
|
430
|
+
var p = Mt(e, l, i);
|
|
431
|
+
return u.top = he(p.top, u.top), u.right = it(p.right, u.right), u.bottom = it(p.bottom, u.bottom), u.left = he(p.left, u.left), u;
|
|
432
|
+
}, Mt(e, c, i));
|
|
433
|
+
return f.width = f.right - f.left, f.height = f.bottom - f.top, f.x = f.left, f.y = f.top, f;
|
|
434
|
+
}
|
|
435
|
+
function rr(e) {
|
|
436
|
+
var t = e.reference, r = e.element, i = e.placement, o = i ? ee(i) : null, s = i ? Le(i) : null, c = t.x + t.width / 2 - r.width / 2, f = t.y + t.height / 2 - r.height / 2, u;
|
|
437
|
+
switch (o) {
|
|
438
|
+
case I:
|
|
439
|
+
u = {
|
|
440
|
+
x: c,
|
|
441
|
+
y: t.y - r.height
|
|
442
|
+
};
|
|
443
|
+
break;
|
|
444
|
+
case Y:
|
|
445
|
+
u = {
|
|
446
|
+
x: c,
|
|
447
|
+
y: t.y + t.height
|
|
448
|
+
};
|
|
449
|
+
break;
|
|
450
|
+
case X:
|
|
451
|
+
u = {
|
|
452
|
+
x: t.x + t.width,
|
|
453
|
+
y: f
|
|
454
|
+
};
|
|
455
|
+
break;
|
|
456
|
+
case W:
|
|
457
|
+
u = {
|
|
458
|
+
x: t.x - r.width,
|
|
459
|
+
y: f
|
|
460
|
+
};
|
|
461
|
+
break;
|
|
462
|
+
default:
|
|
463
|
+
u = {
|
|
464
|
+
x: t.x,
|
|
465
|
+
y: t.y
|
|
466
|
+
};
|
|
467
|
+
}
|
|
468
|
+
var l = o ? xt(o) : null;
|
|
469
|
+
if (l != null) {
|
|
470
|
+
var p = l === "y" ? "height" : "width";
|
|
471
|
+
switch (s) {
|
|
472
|
+
case Ae:
|
|
473
|
+
u[l] = u[l] - (t[p] / 2 - r[p] / 2);
|
|
474
|
+
break;
|
|
475
|
+
case $e:
|
|
476
|
+
u[l] = u[l] + (t[p] / 2 - r[p] / 2);
|
|
477
|
+
break;
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
return u;
|
|
481
|
+
}
|
|
482
|
+
function Ie(e, t) {
|
|
483
|
+
t === void 0 && (t = {});
|
|
484
|
+
var r = t, i = r.placement, o = i === void 0 ? e.placement : i, s = r.strategy, c = s === void 0 ? e.strategy : s, f = r.boundary, u = f === void 0 ? wr : f, l = r.rootBoundary, p = l === void 0 ? Yt : l, b = r.elementContext, x = b === void 0 ? Re : b, h = r.altBoundary, w = h === void 0 ? !1 : h, g = r.padding, y = g === void 0 ? 0 : g, T = Zt(typeof y != "number" ? y : er(y, Ue)), D = x === Re ? Or : Re, L = e.rects.popper, n = e.elements[w ? D : x], E = Zr(ge(n) ? n : n.contextElement || fe(e.elements.popper), u, p, c), d = Ce(e.elements.reference), C = rr({
|
|
485
|
+
reference: d,
|
|
486
|
+
element: L,
|
|
487
|
+
placement: o
|
|
488
|
+
}), N = mt(Object.assign({}, L, C)), M = x === Re ? N : d, j = {
|
|
489
|
+
top: E.top - M.top + T.top,
|
|
490
|
+
bottom: M.bottom - E.bottom + T.bottom,
|
|
491
|
+
left: E.left - M.left + T.left,
|
|
492
|
+
right: M.right - E.right + T.right
|
|
493
|
+
}, R = e.modifiersData.offset;
|
|
494
|
+
if (x === Re && R) {
|
|
495
|
+
var P = R[o];
|
|
496
|
+
Object.keys(j).forEach(function(S) {
|
|
497
|
+
var H = [X, Y].indexOf(S) >= 0 ? 1 : -1, U = [I, Y].indexOf(S) >= 0 ? "y" : "x";
|
|
498
|
+
j[S] += P[U] * H;
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
return j;
|
|
502
|
+
}
|
|
503
|
+
function en(e, t) {
|
|
504
|
+
t === void 0 && (t = {});
|
|
505
|
+
var r = t, i = r.placement, o = r.boundary, s = r.rootBoundary, c = r.padding, f = r.flipVariations, u = r.allowedAutoPlacements, l = u === void 0 ? Xt : u, p = Le(i), b = p ? f ? Lt : Lt.filter(function(w) {
|
|
506
|
+
return Le(w) === p;
|
|
507
|
+
}) : Ue, x = b.filter(function(w) {
|
|
508
|
+
return l.indexOf(w) >= 0;
|
|
509
|
+
});
|
|
510
|
+
x.length === 0 && (x = b);
|
|
511
|
+
var h = x.reduce(function(w, g) {
|
|
512
|
+
return w[g] = Ie(e, {
|
|
513
|
+
placement: g,
|
|
514
|
+
boundary: o,
|
|
515
|
+
rootBoundary: s,
|
|
516
|
+
padding: c
|
|
517
|
+
})[ee(g)], w;
|
|
518
|
+
}, {});
|
|
519
|
+
return Object.keys(h).sort(function(w, g) {
|
|
520
|
+
return h[w] - h[g];
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
function tn(e) {
|
|
524
|
+
if (ee(e) === bt)
|
|
525
|
+
return [];
|
|
526
|
+
var t = nt(e);
|
|
527
|
+
return [Pt(e), t, Pt(t)];
|
|
528
|
+
}
|
|
529
|
+
function rn(e) {
|
|
530
|
+
var t = e.state, r = e.options, i = e.name;
|
|
531
|
+
if (!t.modifiersData[i]._skip) {
|
|
532
|
+
for (var o = r.mainAxis, s = o === void 0 ? !0 : o, c = r.altAxis, f = c === void 0 ? !0 : c, u = r.fallbackPlacements, l = r.padding, p = r.boundary, b = r.rootBoundary, x = r.altBoundary, h = r.flipVariations, w = h === void 0 ? !0 : h, g = r.allowedAutoPlacements, y = t.options.placement, T = ee(y), D = T === y, L = u || (D || !w ? [nt(y)] : tn(y)), n = [y].concat(L).reduce(function(re, G) {
|
|
533
|
+
return re.concat(ee(G) === bt ? en(t, {
|
|
534
|
+
placement: G,
|
|
535
|
+
boundary: p,
|
|
536
|
+
rootBoundary: b,
|
|
537
|
+
padding: l,
|
|
538
|
+
flipVariations: w,
|
|
539
|
+
allowedAutoPlacements: g
|
|
540
|
+
}) : G);
|
|
541
|
+
}, []), E = t.rects.reference, d = t.rects.popper, C = /* @__PURE__ */ new Map(), N = !0, M = n[0], j = 0; j < n.length; j++) {
|
|
542
|
+
var R = n[j], P = ee(R), S = Le(R) === Ae, H = [I, Y].indexOf(P) >= 0, U = H ? "width" : "height", V = Ie(t, {
|
|
543
|
+
placement: R,
|
|
544
|
+
boundary: p,
|
|
545
|
+
rootBoundary: b,
|
|
546
|
+
altBoundary: x,
|
|
547
|
+
padding: l
|
|
548
|
+
}), k = H ? S ? X : W : S ? Y : I;
|
|
549
|
+
E[U] > d[U] && (k = nt(k));
|
|
550
|
+
var B = nt(k), K = [];
|
|
551
|
+
if (s && K.push(V[P] <= 0), f && K.push(V[k] <= 0, V[B] <= 0), K.every(function(re) {
|
|
552
|
+
return re;
|
|
553
|
+
})) {
|
|
554
|
+
M = R, N = !1;
|
|
555
|
+
break;
|
|
556
|
+
}
|
|
557
|
+
C.set(R, K);
|
|
558
|
+
}
|
|
559
|
+
if (N)
|
|
560
|
+
for (var J = w ? 3 : 1, pe = function(G) {
|
|
561
|
+
var ne = n.find(function(ye) {
|
|
562
|
+
var ie = C.get(ye);
|
|
563
|
+
if (ie)
|
|
564
|
+
return ie.slice(0, G).every(function(be) {
|
|
565
|
+
return be;
|
|
566
|
+
});
|
|
567
|
+
});
|
|
568
|
+
if (ne)
|
|
569
|
+
return M = ne, "break";
|
|
570
|
+
}, Q = J; Q > 0; Q--) {
|
|
571
|
+
var le = pe(Q);
|
|
572
|
+
if (le === "break") break;
|
|
573
|
+
}
|
|
574
|
+
t.placement !== M && (t.modifiersData[i]._skip = !0, t.placement = M, t.reset = !0);
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
const nn = {
|
|
578
|
+
name: "flip",
|
|
579
|
+
enabled: !0,
|
|
580
|
+
phase: "main",
|
|
581
|
+
fn: rn,
|
|
582
|
+
requiresIfExists: ["offset"],
|
|
583
|
+
data: {
|
|
584
|
+
_skip: !1
|
|
585
|
+
}
|
|
586
|
+
};
|
|
587
|
+
function Nt(e, t, r) {
|
|
588
|
+
return r === void 0 && (r = {
|
|
589
|
+
x: 0,
|
|
590
|
+
y: 0
|
|
591
|
+
}), {
|
|
592
|
+
top: e.top - t.height - r.y,
|
|
593
|
+
right: e.right - t.width + r.x,
|
|
594
|
+
bottom: e.bottom - t.height + r.y,
|
|
595
|
+
left: e.left - t.width - r.x
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
function Rt(e) {
|
|
599
|
+
return [I, X, Y, W].some(function(t) {
|
|
600
|
+
return e[t] >= 0;
|
|
601
|
+
});
|
|
602
|
+
}
|
|
603
|
+
function on(e) {
|
|
604
|
+
var t = e.state, r = e.name, i = t.rects.reference, o = t.rects.popper, s = t.modifiersData.preventOverflow, c = Ie(t, {
|
|
605
|
+
elementContext: "reference"
|
|
606
|
+
}), f = Ie(t, {
|
|
607
|
+
altBoundary: !0
|
|
608
|
+
}), u = Nt(c, i), l = Nt(f, o, s), p = Rt(u), b = Rt(l);
|
|
609
|
+
t.modifiersData[r] = {
|
|
610
|
+
referenceClippingOffsets: u,
|
|
611
|
+
popperEscapeOffsets: l,
|
|
612
|
+
isReferenceHidden: p,
|
|
613
|
+
hasPopperEscaped: b
|
|
614
|
+
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
615
|
+
"data-popper-reference-hidden": p,
|
|
616
|
+
"data-popper-escaped": b
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
const an = {
|
|
620
|
+
name: "hide",
|
|
621
|
+
enabled: !0,
|
|
622
|
+
phase: "main",
|
|
623
|
+
requiresIfExists: ["preventOverflow"],
|
|
624
|
+
fn: on
|
|
625
|
+
};
|
|
626
|
+
function sn(e, t, r) {
|
|
627
|
+
var i = ee(e), o = [W, I].indexOf(i) >= 0 ? -1 : 1, s = typeof r == "function" ? r(Object.assign({}, t, {
|
|
628
|
+
placement: e
|
|
629
|
+
})) : r, c = s[0], f = s[1];
|
|
630
|
+
return c = c || 0, f = (f || 0) * o, [W, X].indexOf(i) >= 0 ? {
|
|
631
|
+
x: f,
|
|
632
|
+
y: c
|
|
633
|
+
} : {
|
|
634
|
+
x: c,
|
|
635
|
+
y: f
|
|
636
|
+
};
|
|
637
|
+
}
|
|
638
|
+
function un(e) {
|
|
639
|
+
var t = e.state, r = e.options, i = e.name, o = r.offset, s = o === void 0 ? [0, 0] : o, c = Xt.reduce(function(p, b) {
|
|
640
|
+
return p[b] = sn(b, t.rects, s), p;
|
|
641
|
+
}, {}), f = c[t.placement], u = f.x, l = f.y;
|
|
642
|
+
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += l), t.modifiersData[i] = c;
|
|
643
|
+
}
|
|
644
|
+
const cn = {
|
|
645
|
+
name: "offset",
|
|
646
|
+
enabled: !0,
|
|
647
|
+
phase: "main",
|
|
648
|
+
requires: ["popperOffsets"],
|
|
649
|
+
fn: un
|
|
650
|
+
};
|
|
651
|
+
function fn(e) {
|
|
652
|
+
var t = e.state, r = e.name;
|
|
653
|
+
t.modifiersData[r] = rr({
|
|
654
|
+
reference: t.rects.reference,
|
|
655
|
+
element: t.rects.popper,
|
|
656
|
+
placement: t.placement
|
|
657
|
+
});
|
|
658
|
+
}
|
|
659
|
+
const pn = {
|
|
660
|
+
name: "popperOffsets",
|
|
661
|
+
enabled: !0,
|
|
662
|
+
phase: "read",
|
|
663
|
+
fn,
|
|
664
|
+
data: {}
|
|
665
|
+
};
|
|
666
|
+
function ln(e) {
|
|
667
|
+
return e === "x" ? "y" : "x";
|
|
668
|
+
}
|
|
669
|
+
function dn(e) {
|
|
670
|
+
var t = e.state, r = e.options, i = e.name, o = r.mainAxis, s = o === void 0 ? !0 : o, c = r.altAxis, f = c === void 0 ? !1 : c, u = r.boundary, l = r.rootBoundary, p = r.altBoundary, b = r.padding, x = r.tether, h = x === void 0 ? !0 : x, w = r.tetherOffset, g = w === void 0 ? 0 : w, y = Ie(t, {
|
|
671
|
+
boundary: u,
|
|
672
|
+
rootBoundary: l,
|
|
673
|
+
padding: b,
|
|
674
|
+
altBoundary: p
|
|
675
|
+
}), T = ee(t.placement), D = Le(t.placement), L = !D, n = xt(T), E = ln(n), d = t.modifiersData.popperOffsets, C = t.rects.reference, N = t.rects.popper, M = typeof g == "function" ? g(Object.assign({}, t.rects, {
|
|
676
|
+
placement: t.placement
|
|
677
|
+
})) : g, j = typeof M == "number" ? {
|
|
678
|
+
mainAxis: M,
|
|
679
|
+
altAxis: M
|
|
680
|
+
} : Object.assign({
|
|
681
|
+
mainAxis: 0,
|
|
682
|
+
altAxis: 0
|
|
683
|
+
}, M), R = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, P = {
|
|
684
|
+
x: 0,
|
|
685
|
+
y: 0
|
|
686
|
+
};
|
|
687
|
+
if (d) {
|
|
688
|
+
if (s) {
|
|
689
|
+
var S, H = n === "y" ? I : W, U = n === "y" ? Y : X, V = n === "y" ? "height" : "width", k = d[n], B = k + y[H], K = k - y[U], J = h ? -N[V] / 2 : 0, pe = D === Ae ? C[V] : N[V], Q = D === Ae ? -N[V] : -C[V], le = t.elements.arrow, re = h && le ? Ot(le) : {
|
|
690
|
+
width: 0,
|
|
691
|
+
height: 0
|
|
692
|
+
}, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Qt(), ne = G[H], ye = G[U], ie = Be(0, C[V], re[V]), be = L ? C[V] / 2 - J - ie - ne - j.mainAxis : pe - ie - ne - j.mainAxis, ue = L ? -C[V] / 2 + J + ie + ye + j.mainAxis : Q + ie + ye + j.mainAxis, we = t.elements.arrow && Fe(t.elements.arrow), qe = we ? n === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, Se = (S = R == null ? void 0 : R[n]) != null ? S : 0, _e = k + be - Se - qe, ze = k + ue - Se, je = Be(h ? it(B, _e) : B, k, h ? he(K, ze) : K);
|
|
693
|
+
d[n] = je, P[n] = je - k;
|
|
694
|
+
}
|
|
695
|
+
if (f) {
|
|
696
|
+
var Pe, Ye = n === "x" ? I : W, Xe = n === "x" ? Y : X, oe = d[E], ce = E === "y" ? "height" : "width", Me = oe + y[Ye], de = oe - y[Xe], Ne = [I, W].indexOf(T) !== -1, Ge = (Pe = R == null ? void 0 : R[E]) != null ? Pe : 0, Ke = Ne ? Me : oe - C[ce] - N[ce] - Ge + j.altAxis, Je = Ne ? oe + C[ce] + N[ce] - Ge - j.altAxis : de, Qe = h && Ne ? Vr(Ke, oe, Je) : Be(h ? Ke : Me, oe, h ? Je : de);
|
|
697
|
+
d[E] = Qe, P[E] = Qe - oe;
|
|
698
|
+
}
|
|
699
|
+
t.modifiersData[i] = P;
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
const vn = {
|
|
703
|
+
name: "preventOverflow",
|
|
704
|
+
enabled: !0,
|
|
705
|
+
phase: "main",
|
|
706
|
+
fn: dn,
|
|
707
|
+
requiresIfExists: ["offset"]
|
|
708
|
+
};
|
|
709
|
+
function mn(e) {
|
|
710
|
+
return {
|
|
711
|
+
scrollLeft: e.scrollLeft,
|
|
712
|
+
scrollTop: e.scrollTop
|
|
713
|
+
};
|
|
714
|
+
}
|
|
715
|
+
function hn(e) {
|
|
716
|
+
return e === q(e) || !z(e) ? Et(e) : mn(e);
|
|
717
|
+
}
|
|
718
|
+
function gn(e) {
|
|
719
|
+
var t = e.getBoundingClientRect(), r = De(t.width) / e.offsetWidth || 1, i = De(t.height) / e.offsetHeight || 1;
|
|
720
|
+
return r !== 1 || i !== 1;
|
|
721
|
+
}
|
|
722
|
+
function yn(e, t, r) {
|
|
723
|
+
r === void 0 && (r = !1);
|
|
724
|
+
var i = z(t), o = z(t) && gn(t), s = fe(t), c = Ce(e, o, r), f = {
|
|
725
|
+
scrollLeft: 0,
|
|
726
|
+
scrollTop: 0
|
|
727
|
+
}, u = {
|
|
728
|
+
x: 0,
|
|
729
|
+
y: 0
|
|
730
|
+
};
|
|
731
|
+
return (i || !i && !r) && ((te(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
732
|
+
At(s)) && (f = hn(t)), z(t) ? (u = Ce(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : s && (u.x = Tt(s))), {
|
|
733
|
+
x: c.left + f.scrollLeft - u.x,
|
|
734
|
+
y: c.top + f.scrollTop - u.y,
|
|
735
|
+
width: c.width,
|
|
736
|
+
height: c.height
|
|
737
|
+
};
|
|
738
|
+
}
|
|
739
|
+
function bn(e) {
|
|
740
|
+
var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), i = [];
|
|
741
|
+
e.forEach(function(s) {
|
|
742
|
+
t.set(s.name, s);
|
|
743
|
+
});
|
|
744
|
+
function o(s) {
|
|
745
|
+
r.add(s.name);
|
|
746
|
+
var c = [].concat(s.requires || [], s.requiresIfExists || []);
|
|
747
|
+
c.forEach(function(f) {
|
|
748
|
+
if (!r.has(f)) {
|
|
749
|
+
var u = t.get(f);
|
|
750
|
+
u && o(u);
|
|
751
|
+
}
|
|
752
|
+
}), i.push(s);
|
|
753
|
+
}
|
|
754
|
+
return e.forEach(function(s) {
|
|
755
|
+
r.has(s.name) || o(s);
|
|
756
|
+
}), i;
|
|
757
|
+
}
|
|
758
|
+
function wn(e) {
|
|
759
|
+
var t = bn(e);
|
|
760
|
+
return Pr.reduce(function(r, i) {
|
|
761
|
+
return r.concat(t.filter(function(o) {
|
|
762
|
+
return o.phase === i;
|
|
763
|
+
}));
|
|
764
|
+
}, []);
|
|
765
|
+
}
|
|
766
|
+
function On(e) {
|
|
767
|
+
var t;
|
|
768
|
+
return function() {
|
|
769
|
+
return t || (t = new Promise(function(r) {
|
|
770
|
+
Promise.resolve().then(function() {
|
|
771
|
+
t = void 0, r(e());
|
|
772
|
+
});
|
|
773
|
+
})), t;
|
|
774
|
+
};
|
|
775
|
+
}
|
|
776
|
+
function xn(e) {
|
|
777
|
+
var t = e.reduce(function(r, i) {
|
|
778
|
+
var o = r[i.name];
|
|
779
|
+
return r[i.name] = o ? Object.assign({}, o, i, {
|
|
780
|
+
options: Object.assign({}, o.options, i.options),
|
|
781
|
+
data: Object.assign({}, o.data, i.data)
|
|
782
|
+
}) : i, r;
|
|
783
|
+
}, {});
|
|
784
|
+
return Object.keys(t).map(function(r) {
|
|
785
|
+
return t[r];
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
var Bt = {
|
|
789
|
+
placement: "bottom",
|
|
790
|
+
modifiers: [],
|
|
791
|
+
strategy: "absolute"
|
|
792
|
+
};
|
|
793
|
+
function Vt() {
|
|
794
|
+
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
795
|
+
t[r] = arguments[r];
|
|
796
|
+
return !t.some(function(i) {
|
|
797
|
+
return !(i && typeof i.getBoundingClientRect == "function");
|
|
798
|
+
});
|
|
799
|
+
}
|
|
800
|
+
function En(e) {
|
|
801
|
+
e === void 0 && (e = {});
|
|
802
|
+
var t = e, r = t.defaultModifiers, i = r === void 0 ? [] : r, o = t.defaultOptions, s = o === void 0 ? Bt : o;
|
|
803
|
+
return function(f, u, l) {
|
|
804
|
+
l === void 0 && (l = s);
|
|
805
|
+
var p = {
|
|
806
|
+
placement: "bottom",
|
|
807
|
+
orderedModifiers: [],
|
|
808
|
+
options: Object.assign({}, Bt, s),
|
|
809
|
+
modifiersData: {},
|
|
810
|
+
elements: {
|
|
811
|
+
reference: f,
|
|
812
|
+
popper: u
|
|
813
|
+
},
|
|
814
|
+
attributes: {},
|
|
815
|
+
styles: {}
|
|
816
|
+
}, b = [], x = !1, h = {
|
|
817
|
+
state: p,
|
|
818
|
+
setOptions: function(T) {
|
|
819
|
+
var D = typeof T == "function" ? T(p.options) : T;
|
|
820
|
+
g(), p.options = Object.assign({}, s, p.options, D), p.scrollParents = {
|
|
821
|
+
reference: ge(f) ? Ve(f) : f.contextElement ? Ve(f.contextElement) : [],
|
|
822
|
+
popper: Ve(u)
|
|
823
|
+
};
|
|
824
|
+
var L = wn(xn([].concat(i, p.options.modifiers)));
|
|
825
|
+
return p.orderedModifiers = L.filter(function(n) {
|
|
826
|
+
return n.enabled;
|
|
827
|
+
}), w(), h.update();
|
|
828
|
+
},
|
|
829
|
+
// Sync update – it will always be executed, even if not necessary. This
|
|
830
|
+
// is useful for low frequency updates where sync behavior simplifies the
|
|
831
|
+
// logic.
|
|
832
|
+
// For high frequency updates (e.g. `resize` and `scroll` events), always
|
|
833
|
+
// prefer the async Popper#update method
|
|
834
|
+
forceUpdate: function() {
|
|
835
|
+
if (!x) {
|
|
836
|
+
var T = p.elements, D = T.reference, L = T.popper;
|
|
837
|
+
if (Vt(D, L)) {
|
|
838
|
+
p.rects = {
|
|
839
|
+
reference: yn(D, Fe(L), p.options.strategy === "fixed"),
|
|
840
|
+
popper: Ot(L)
|
|
841
|
+
}, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(j) {
|
|
842
|
+
return p.modifiersData[j.name] = Object.assign({}, j.data);
|
|
843
|
+
});
|
|
844
|
+
for (var n = 0; n < p.orderedModifiers.length; n++) {
|
|
845
|
+
if (p.reset === !0) {
|
|
846
|
+
p.reset = !1, n = -1;
|
|
847
|
+
continue;
|
|
848
|
+
}
|
|
849
|
+
var E = p.orderedModifiers[n], d = E.fn, C = E.options, N = C === void 0 ? {} : C, M = E.name;
|
|
850
|
+
typeof d == "function" && (p = d({
|
|
851
|
+
state: p,
|
|
852
|
+
options: N,
|
|
853
|
+
name: M,
|
|
854
|
+
instance: h
|
|
855
|
+
}) || p);
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
// Async and optimistically optimized update – it will not be executed if
|
|
861
|
+
// not necessary (debounced to run at most once-per-tick)
|
|
862
|
+
update: On(function() {
|
|
863
|
+
return new Promise(function(y) {
|
|
864
|
+
h.forceUpdate(), y(p);
|
|
865
|
+
});
|
|
866
|
+
}),
|
|
867
|
+
destroy: function() {
|
|
868
|
+
g(), x = !0;
|
|
869
|
+
}
|
|
870
|
+
};
|
|
871
|
+
if (!Vt(f, u))
|
|
872
|
+
return h;
|
|
873
|
+
h.setOptions(l).then(function(y) {
|
|
874
|
+
!x && l.onFirstUpdate && l.onFirstUpdate(y);
|
|
875
|
+
});
|
|
876
|
+
function w() {
|
|
877
|
+
p.orderedModifiers.forEach(function(y) {
|
|
878
|
+
var T = y.name, D = y.options, L = D === void 0 ? {} : D, n = y.effect;
|
|
879
|
+
if (typeof n == "function") {
|
|
880
|
+
var E = n({
|
|
881
|
+
state: p,
|
|
882
|
+
name: T,
|
|
883
|
+
instance: h,
|
|
884
|
+
options: L
|
|
885
|
+
}), d = function() {
|
|
886
|
+
};
|
|
887
|
+
b.push(E || d);
|
|
888
|
+
}
|
|
889
|
+
});
|
|
890
|
+
}
|
|
891
|
+
function g() {
|
|
892
|
+
b.forEach(function(y) {
|
|
893
|
+
return y();
|
|
894
|
+
}), b = [];
|
|
895
|
+
}
|
|
896
|
+
return h;
|
|
897
|
+
};
|
|
898
|
+
}
|
|
899
|
+
var Tn = [zr, pn, qr, Gt, cn, nn, vn, Wr, an], An = /* @__PURE__ */ En({
|
|
900
|
+
defaultModifiers: Tn
|
|
901
|
+
}), Dn = "tippy-box", nr = "tippy-content", Cn = "tippy-backdrop", ir = "tippy-arrow", or = "tippy-svg-arrow", me = {
|
|
902
|
+
passive: !0,
|
|
903
|
+
capture: !0
|
|
904
|
+
}, ar = function() {
|
|
905
|
+
return document.body;
|
|
906
|
+
};
|
|
907
|
+
function Ln(e, t) {
|
|
908
|
+
return {}.hasOwnProperty.call(e, t);
|
|
909
|
+
}
|
|
910
|
+
function ft(e, t, r) {
|
|
911
|
+
if (Array.isArray(e)) {
|
|
912
|
+
var i = e[t];
|
|
913
|
+
return i ?? (Array.isArray(r) ? r[t] : r);
|
|
914
|
+
}
|
|
915
|
+
return e;
|
|
916
|
+
}
|
|
917
|
+
function Dt(e, t) {
|
|
918
|
+
var r = {}.toString.call(e);
|
|
919
|
+
return r.indexOf("[object") === 0 && r.indexOf(t + "]") > -1;
|
|
920
|
+
}
|
|
921
|
+
function sr(e, t) {
|
|
922
|
+
return typeof e == "function" ? e.apply(void 0, t) : e;
|
|
923
|
+
}
|
|
924
|
+
function kt(e, t) {
|
|
925
|
+
if (t === 0)
|
|
926
|
+
return e;
|
|
927
|
+
var r;
|
|
928
|
+
return function(i) {
|
|
929
|
+
clearTimeout(r), r = setTimeout(function() {
|
|
930
|
+
e(i);
|
|
931
|
+
}, t);
|
|
932
|
+
};
|
|
933
|
+
}
|
|
934
|
+
function Sn(e, t) {
|
|
935
|
+
var r = Object.assign({}, e);
|
|
936
|
+
return t.forEach(function(i) {
|
|
937
|
+
delete r[i];
|
|
938
|
+
}), r;
|
|
939
|
+
}
|
|
940
|
+
function jn(e) {
|
|
941
|
+
return e.split(/\s+/).filter(Boolean);
|
|
942
|
+
}
|
|
943
|
+
function Te(e) {
|
|
944
|
+
return [].concat(e);
|
|
945
|
+
}
|
|
946
|
+
function $t(e, t) {
|
|
947
|
+
e.indexOf(t) === -1 && e.push(t);
|
|
948
|
+
}
|
|
949
|
+
function Pn(e) {
|
|
950
|
+
return e.filter(function(t, r) {
|
|
951
|
+
return e.indexOf(t) === r;
|
|
952
|
+
});
|
|
953
|
+
}
|
|
954
|
+
function Mn(e) {
|
|
955
|
+
return e.split("-")[0];
|
|
956
|
+
}
|
|
957
|
+
function ot(e) {
|
|
958
|
+
return [].slice.call(e);
|
|
959
|
+
}
|
|
960
|
+
function It(e) {
|
|
961
|
+
return Object.keys(e).reduce(function(t, r) {
|
|
962
|
+
return e[r] !== void 0 && (t[r] = e[r]), t;
|
|
963
|
+
}, {});
|
|
964
|
+
}
|
|
965
|
+
function ke() {
|
|
966
|
+
return document.createElement("div");
|
|
967
|
+
}
|
|
968
|
+
function We(e) {
|
|
969
|
+
return ["Element", "Fragment"].some(function(t) {
|
|
970
|
+
return Dt(e, t);
|
|
971
|
+
});
|
|
972
|
+
}
|
|
973
|
+
function Nn(e) {
|
|
974
|
+
return Dt(e, "NodeList");
|
|
975
|
+
}
|
|
976
|
+
function Rn(e) {
|
|
977
|
+
return Dt(e, "MouseEvent");
|
|
978
|
+
}
|
|
979
|
+
function Bn(e) {
|
|
980
|
+
return !!(e && e._tippy && e._tippy.reference === e);
|
|
981
|
+
}
|
|
982
|
+
function Vn(e) {
|
|
983
|
+
return We(e) ? [e] : Nn(e) ? ot(e) : Array.isArray(e) ? e : ot(document.querySelectorAll(e));
|
|
984
|
+
}
|
|
985
|
+
function pt(e, t) {
|
|
986
|
+
e.forEach(function(r) {
|
|
987
|
+
r && (r.style.transitionDuration = t + "ms");
|
|
988
|
+
});
|
|
989
|
+
}
|
|
990
|
+
function Wt(e, t) {
|
|
991
|
+
e.forEach(function(r) {
|
|
992
|
+
r && r.setAttribute("data-state", t);
|
|
993
|
+
});
|
|
994
|
+
}
|
|
995
|
+
function kn(e) {
|
|
996
|
+
var t, r = Te(e), i = r[0];
|
|
997
|
+
return i != null && (t = i.ownerDocument) != null && t.body ? i.ownerDocument : document;
|
|
998
|
+
}
|
|
999
|
+
function $n(e, t) {
|
|
1000
|
+
var r = t.clientX, i = t.clientY;
|
|
1001
|
+
return e.every(function(o) {
|
|
1002
|
+
var s = o.popperRect, c = o.popperState, f = o.props, u = f.interactiveBorder, l = Mn(c.placement), p = c.modifiersData.offset;
|
|
1003
|
+
if (!p)
|
|
1004
|
+
return !0;
|
|
1005
|
+
var b = l === "bottom" ? p.top.y : 0, x = l === "top" ? p.bottom.y : 0, h = l === "right" ? p.left.x : 0, w = l === "left" ? p.right.x : 0, g = s.top - i + b > u, y = i - s.bottom - x > u, T = s.left - r + h > u, D = r - s.right - w > u;
|
|
1006
|
+
return g || y || T || D;
|
|
1007
|
+
});
|
|
1008
|
+
}
|
|
1009
|
+
function lt(e, t, r) {
|
|
1010
|
+
var i = t + "EventListener";
|
|
1011
|
+
["transitionend", "webkitTransitionEnd"].forEach(function(o) {
|
|
1012
|
+
e[i](o, r);
|
|
1013
|
+
});
|
|
1014
|
+
}
|
|
1015
|
+
function Ht(e, t) {
|
|
1016
|
+
for (var r = t; r; ) {
|
|
1017
|
+
var i;
|
|
1018
|
+
if (e.contains(r))
|
|
1019
|
+
return !0;
|
|
1020
|
+
r = r.getRootNode == null || (i = r.getRootNode()) == null ? void 0 : i.host;
|
|
1021
|
+
}
|
|
1022
|
+
return !1;
|
|
1023
|
+
}
|
|
1024
|
+
var Z = {
|
|
1025
|
+
isTouch: !1
|
|
1026
|
+
}, Ut = 0;
|
|
1027
|
+
function In() {
|
|
1028
|
+
Z.isTouch || (Z.isTouch = !0, window.performance && document.addEventListener("mousemove", ur));
|
|
1029
|
+
}
|
|
1030
|
+
function ur() {
|
|
1031
|
+
var e = performance.now();
|
|
1032
|
+
e - Ut < 20 && (Z.isTouch = !1, document.removeEventListener("mousemove", ur)), Ut = e;
|
|
1033
|
+
}
|
|
1034
|
+
function Wn() {
|
|
1035
|
+
var e = document.activeElement;
|
|
1036
|
+
if (Bn(e)) {
|
|
1037
|
+
var t = e._tippy;
|
|
1038
|
+
e.blur && !t.state.isVisible && e.blur();
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
function Hn() {
|
|
1042
|
+
document.addEventListener("touchstart", In, me), window.addEventListener("blur", Wn);
|
|
1043
|
+
}
|
|
1044
|
+
var Un = typeof window < "u" && typeof document < "u", Fn = Un ? (
|
|
1045
|
+
// @ts-ignore
|
|
1046
|
+
!!window.msCrypto
|
|
1047
|
+
) : !1;
|
|
1048
|
+
function Ee(e) {
|
|
1049
|
+
var t = e === "destroy" ? "n already-" : " ";
|
|
1050
|
+
return [e + "() was called on a" + t + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
|
|
1051
|
+
}
|
|
1052
|
+
function Ft(e) {
|
|
1053
|
+
var t = /[ \t]{2,}/g, r = /^[ \t]*/gm;
|
|
1054
|
+
return e.replace(t, " ").replace(r, "").trim();
|
|
1055
|
+
}
|
|
1056
|
+
function qn(e) {
|
|
1057
|
+
return Ft(`
|
|
1058
|
+
%ctippy.js
|
|
1059
|
+
|
|
1060
|
+
%c` + Ft(e) + `
|
|
1061
|
+
|
|
1062
|
+
%c👷 This is a development-only message. It will be removed in production.
|
|
1063
|
+
`);
|
|
1064
|
+
}
|
|
1065
|
+
function cr(e) {
|
|
1066
|
+
return [
|
|
1067
|
+
qn(e),
|
|
1068
|
+
// title
|
|
1069
|
+
"color: #00C584; font-size: 1.3em; font-weight: bold;",
|
|
1070
|
+
// message
|
|
1071
|
+
"line-height: 1.5",
|
|
1072
|
+
// footer
|
|
1073
|
+
"color: #a6a095;"
|
|
1074
|
+
];
|
|
1075
|
+
}
|
|
1076
|
+
var He;
|
|
1077
|
+
process.env.NODE_ENV !== "production" && _n();
|
|
1078
|
+
function _n() {
|
|
1079
|
+
He = /* @__PURE__ */ new Set();
|
|
1080
|
+
}
|
|
1081
|
+
function ae(e, t) {
|
|
1082
|
+
if (e && !He.has(t)) {
|
|
1083
|
+
var r;
|
|
1084
|
+
He.add(t), (r = console).warn.apply(r, cr(t));
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
function ht(e, t) {
|
|
1088
|
+
if (e && !He.has(t)) {
|
|
1089
|
+
var r;
|
|
1090
|
+
He.add(t), (r = console).error.apply(r, cr(t));
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
function zn(e) {
|
|
1094
|
+
var t = !e, r = Object.prototype.toString.call(e) === "[object Object]" && !e.addEventListener;
|
|
1095
|
+
ht(t, ["tippy() was passed", "`" + String(e) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), ht(r, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
|
|
1096
|
+
}
|
|
1097
|
+
var fr = {
|
|
1098
|
+
animateFill: !1,
|
|
1099
|
+
followCursor: !1,
|
|
1100
|
+
inlinePositioning: !1,
|
|
1101
|
+
sticky: !1
|
|
1102
|
+
}, Yn = {
|
|
1103
|
+
allowHTML: !1,
|
|
1104
|
+
animation: "fade",
|
|
1105
|
+
arrow: !0,
|
|
1106
|
+
content: "",
|
|
1107
|
+
inertia: !1,
|
|
1108
|
+
maxWidth: 350,
|
|
1109
|
+
role: "tooltip",
|
|
1110
|
+
theme: "",
|
|
1111
|
+
zIndex: 9999
|
|
1112
|
+
}, F = Object.assign({
|
|
1113
|
+
appendTo: ar,
|
|
1114
|
+
aria: {
|
|
1115
|
+
content: "auto",
|
|
1116
|
+
expanded: "auto"
|
|
1117
|
+
},
|
|
1118
|
+
delay: 0,
|
|
1119
|
+
duration: [300, 250],
|
|
1120
|
+
getReferenceClientRect: null,
|
|
1121
|
+
hideOnClick: !0,
|
|
1122
|
+
ignoreAttributes: !1,
|
|
1123
|
+
interactive: !1,
|
|
1124
|
+
interactiveBorder: 2,
|
|
1125
|
+
interactiveDebounce: 0,
|
|
1126
|
+
moveTransition: "",
|
|
1127
|
+
offset: [0, 10],
|
|
1128
|
+
onAfterUpdate: function() {
|
|
1129
|
+
},
|
|
1130
|
+
onBeforeUpdate: function() {
|
|
1131
|
+
},
|
|
1132
|
+
onCreate: function() {
|
|
1133
|
+
},
|
|
1134
|
+
onDestroy: function() {
|
|
1135
|
+
},
|
|
1136
|
+
onHidden: function() {
|
|
1137
|
+
},
|
|
1138
|
+
onHide: function() {
|
|
1139
|
+
},
|
|
1140
|
+
onMount: function() {
|
|
1141
|
+
},
|
|
1142
|
+
onShow: function() {
|
|
1143
|
+
},
|
|
1144
|
+
onShown: function() {
|
|
1145
|
+
},
|
|
1146
|
+
onTrigger: function() {
|
|
1147
|
+
},
|
|
1148
|
+
onUntrigger: function() {
|
|
1149
|
+
},
|
|
1150
|
+
onClickOutside: function() {
|
|
1151
|
+
},
|
|
1152
|
+
placement: "top",
|
|
1153
|
+
plugins: [],
|
|
1154
|
+
popperOptions: {},
|
|
1155
|
+
render: null,
|
|
1156
|
+
showOnCreate: !1,
|
|
1157
|
+
touch: !0,
|
|
1158
|
+
trigger: "mouseenter focus",
|
|
1159
|
+
triggerTarget: null
|
|
1160
|
+
}, fr, Yn), Xn = Object.keys(F), Gn = function(t) {
|
|
1161
|
+
process.env.NODE_ENV !== "production" && lr(t, []);
|
|
1162
|
+
var r = Object.keys(t);
|
|
1163
|
+
r.forEach(function(i) {
|
|
1164
|
+
F[i] = t[i];
|
|
1165
|
+
});
|
|
1166
|
+
};
|
|
1167
|
+
function pr(e) {
|
|
1168
|
+
var t = e.plugins || [], r = t.reduce(function(i, o) {
|
|
1169
|
+
var s = o.name, c = o.defaultValue;
|
|
1170
|
+
if (s) {
|
|
1171
|
+
var f;
|
|
1172
|
+
i[s] = e[s] !== void 0 ? e[s] : (f = F[s]) != null ? f : c;
|
|
1173
|
+
}
|
|
1174
|
+
return i;
|
|
1175
|
+
}, {});
|
|
1176
|
+
return Object.assign({}, e, r);
|
|
1177
|
+
}
|
|
1178
|
+
function Kn(e, t) {
|
|
1179
|
+
var r = t ? Object.keys(pr(Object.assign({}, F, {
|
|
1180
|
+
plugins: t
|
|
1181
|
+
}))) : Xn, i = r.reduce(function(o, s) {
|
|
1182
|
+
var c = (e.getAttribute("data-tippy-" + s) || "").trim();
|
|
1183
|
+
if (!c)
|
|
1184
|
+
return o;
|
|
1185
|
+
if (s === "content")
|
|
1186
|
+
o[s] = c;
|
|
1187
|
+
else
|
|
1188
|
+
try {
|
|
1189
|
+
o[s] = JSON.parse(c);
|
|
1190
|
+
} catch {
|
|
1191
|
+
o[s] = c;
|
|
1192
|
+
}
|
|
1193
|
+
return o;
|
|
1194
|
+
}, {});
|
|
1195
|
+
return i;
|
|
1196
|
+
}
|
|
1197
|
+
function qt(e, t) {
|
|
1198
|
+
var r = Object.assign({}, t, {
|
|
1199
|
+
content: sr(t.content, [e])
|
|
1200
|
+
}, t.ignoreAttributes ? {} : Kn(e, t.plugins));
|
|
1201
|
+
return r.aria = Object.assign({}, F.aria, r.aria), r.aria = {
|
|
1202
|
+
expanded: r.aria.expanded === "auto" ? t.interactive : r.aria.expanded,
|
|
1203
|
+
content: r.aria.content === "auto" ? t.interactive ? null : "describedby" : r.aria.content
|
|
1204
|
+
}, r;
|
|
1205
|
+
}
|
|
1206
|
+
function lr(e, t) {
|
|
1207
|
+
e === void 0 && (e = {}), t === void 0 && (t = []);
|
|
1208
|
+
var r = Object.keys(e);
|
|
1209
|
+
r.forEach(function(i) {
|
|
1210
|
+
var o = Sn(F, Object.keys(fr)), s = !Ln(o, i);
|
|
1211
|
+
s && (s = t.filter(function(c) {
|
|
1212
|
+
return c.name === i;
|
|
1213
|
+
}).length === 0), ae(s, ["`" + i + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
|
|
1214
|
+
|
|
1215
|
+
`, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
1216
|
+
`, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
|
|
1217
|
+
});
|
|
1218
|
+
}
|
|
1219
|
+
var Jn = function() {
|
|
1220
|
+
return "innerHTML";
|
|
1221
|
+
};
|
|
1222
|
+
function gt(e, t) {
|
|
1223
|
+
e[Jn()] = t;
|
|
1224
|
+
}
|
|
1225
|
+
function _t(e) {
|
|
1226
|
+
var t = ke();
|
|
1227
|
+
return e === !0 ? t.className = ir : (t.className = or, We(e) ? t.appendChild(e) : gt(t, e)), t;
|
|
1228
|
+
}
|
|
1229
|
+
function zt(e, t) {
|
|
1230
|
+
We(t.content) ? (gt(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? gt(e, t.content) : e.textContent = t.content);
|
|
1231
|
+
}
|
|
1232
|
+
function yt(e) {
|
|
1233
|
+
var t = e.firstElementChild, r = ot(t.children);
|
|
1234
|
+
return {
|
|
1235
|
+
box: t,
|
|
1236
|
+
content: r.find(function(i) {
|
|
1237
|
+
return i.classList.contains(nr);
|
|
1238
|
+
}),
|
|
1239
|
+
arrow: r.find(function(i) {
|
|
1240
|
+
return i.classList.contains(ir) || i.classList.contains(or);
|
|
1241
|
+
}),
|
|
1242
|
+
backdrop: r.find(function(i) {
|
|
1243
|
+
return i.classList.contains(Cn);
|
|
1244
|
+
})
|
|
1245
|
+
};
|
|
1246
|
+
}
|
|
1247
|
+
function dr(e) {
|
|
1248
|
+
var t = ke(), r = ke();
|
|
1249
|
+
r.className = Dn, r.setAttribute("data-state", "hidden"), r.setAttribute("tabindex", "-1");
|
|
1250
|
+
var i = ke();
|
|
1251
|
+
i.className = nr, i.setAttribute("data-state", "hidden"), zt(i, e.props), t.appendChild(r), r.appendChild(i), o(e.props, e.props);
|
|
1252
|
+
function o(s, c) {
|
|
1253
|
+
var f = yt(t), u = f.box, l = f.content, p = f.arrow;
|
|
1254
|
+
c.theme ? u.setAttribute("data-theme", c.theme) : u.removeAttribute("data-theme"), typeof c.animation == "string" ? u.setAttribute("data-animation", c.animation) : u.removeAttribute("data-animation"), c.inertia ? u.setAttribute("data-inertia", "") : u.removeAttribute("data-inertia"), u.style.maxWidth = typeof c.maxWidth == "number" ? c.maxWidth + "px" : c.maxWidth, c.role ? u.setAttribute("role", c.role) : u.removeAttribute("role"), (s.content !== c.content || s.allowHTML !== c.allowHTML) && zt(l, e.props), c.arrow ? p ? s.arrow !== c.arrow && (u.removeChild(p), u.appendChild(_t(c.arrow))) : u.appendChild(_t(c.arrow)) : p && u.removeChild(p);
|
|
1255
|
+
}
|
|
1256
|
+
return {
|
|
1257
|
+
popper: t,
|
|
1258
|
+
onUpdate: o
|
|
1259
|
+
};
|
|
1260
|
+
}
|
|
1261
|
+
dr.$$tippy = !0;
|
|
1262
|
+
var Qn = 1, rt = [], dt = [];
|
|
1263
|
+
function Zn(e, t) {
|
|
1264
|
+
var r = qt(e, Object.assign({}, F, pr(It(t)))), i, o, s, c = !1, f = !1, u = !1, l = !1, p, b, x, h = [], w = kt(_e, r.interactiveDebounce), g, y = Qn++, T = null, D = Pn(r.plugins), L = {
|
|
1265
|
+
// Is the instance currently enabled?
|
|
1266
|
+
isEnabled: !0,
|
|
1267
|
+
// Is the tippy currently showing and not transitioning out?
|
|
1268
|
+
isVisible: !1,
|
|
1269
|
+
// Has the instance been destroyed?
|
|
1270
|
+
isDestroyed: !1,
|
|
1271
|
+
// Is the tippy currently mounted to the DOM?
|
|
1272
|
+
isMounted: !1,
|
|
1273
|
+
// Has the tippy finished transitioning in?
|
|
1274
|
+
isShown: !1
|
|
1275
|
+
}, n = {
|
|
1276
|
+
// properties
|
|
1277
|
+
id: y,
|
|
1278
|
+
reference: e,
|
|
1279
|
+
popper: ke(),
|
|
1280
|
+
popperInstance: T,
|
|
1281
|
+
props: r,
|
|
1282
|
+
state: L,
|
|
1283
|
+
plugins: D,
|
|
1284
|
+
// methods
|
|
1285
|
+
clearDelayTimeouts: Ke,
|
|
1286
|
+
setProps: Je,
|
|
1287
|
+
setContent: Qe,
|
|
1288
|
+
show: vr,
|
|
1289
|
+
hide: mr,
|
|
1290
|
+
hideWithInteractivity: hr,
|
|
1291
|
+
enable: Ne,
|
|
1292
|
+
disable: Ge,
|
|
1293
|
+
unmount: gr,
|
|
1294
|
+
destroy: yr
|
|
1295
|
+
};
|
|
1296
|
+
if (!r.render)
|
|
1297
|
+
return process.env.NODE_ENV !== "production" && ht(!0, "render() function has not been supplied."), n;
|
|
1298
|
+
var E = r.render(n), d = E.popper, C = E.onUpdate;
|
|
1299
|
+
d.setAttribute("data-tippy-root", ""), d.id = "tippy-" + n.id, n.popper = d, e._tippy = n, d._tippy = n;
|
|
1300
|
+
var N = D.map(function(a) {
|
|
1301
|
+
return a.fn(n);
|
|
1302
|
+
}), M = e.hasAttribute("aria-expanded");
|
|
1303
|
+
return we(), J(), k(), B("onCreate", [n]), r.showOnCreate && Me(), d.addEventListener("mouseenter", function() {
|
|
1304
|
+
n.props.interactive && n.state.isVisible && n.clearDelayTimeouts();
|
|
1305
|
+
}), d.addEventListener("mouseleave", function() {
|
|
1306
|
+
n.props.interactive && n.props.trigger.indexOf("mouseenter") >= 0 && H().addEventListener("mousemove", w);
|
|
1307
|
+
}), n;
|
|
1308
|
+
function j() {
|
|
1309
|
+
var a = n.props.touch;
|
|
1310
|
+
return Array.isArray(a) ? a : [a, 0];
|
|
1311
|
+
}
|
|
1312
|
+
function R() {
|
|
1313
|
+
return j()[0] === "hold";
|
|
1314
|
+
}
|
|
1315
|
+
function P() {
|
|
1316
|
+
var a;
|
|
1317
|
+
return !!((a = n.props.render) != null && a.$$tippy);
|
|
1318
|
+
}
|
|
1319
|
+
function S() {
|
|
1320
|
+
return g || e;
|
|
1321
|
+
}
|
|
1322
|
+
function H() {
|
|
1323
|
+
var a = S().parentNode;
|
|
1324
|
+
return a ? kn(a) : document;
|
|
1325
|
+
}
|
|
1326
|
+
function U() {
|
|
1327
|
+
return yt(d);
|
|
1328
|
+
}
|
|
1329
|
+
function V(a) {
|
|
1330
|
+
return n.state.isMounted && !n.state.isVisible || Z.isTouch || p && p.type === "focus" ? 0 : ft(n.props.delay, a ? 0 : 1, F.delay);
|
|
1331
|
+
}
|
|
1332
|
+
function k(a) {
|
|
1333
|
+
a === void 0 && (a = !1), d.style.pointerEvents = n.props.interactive && !a ? "" : "none", d.style.zIndex = "" + n.props.zIndex;
|
|
1334
|
+
}
|
|
1335
|
+
function B(a, v, m) {
|
|
1336
|
+
if (m === void 0 && (m = !0), N.forEach(function(O) {
|
|
1337
|
+
O[a] && O[a].apply(O, v);
|
|
1338
|
+
}), m) {
|
|
1339
|
+
var A;
|
|
1340
|
+
(A = n.props)[a].apply(A, v);
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
function K() {
|
|
1344
|
+
var a = n.props.aria;
|
|
1345
|
+
if (a.content) {
|
|
1346
|
+
var v = "aria-" + a.content, m = d.id, A = Te(n.props.triggerTarget || e);
|
|
1347
|
+
A.forEach(function(O) {
|
|
1348
|
+
var $ = O.getAttribute(v);
|
|
1349
|
+
if (n.state.isVisible)
|
|
1350
|
+
O.setAttribute(v, $ ? $ + " " + m : m);
|
|
1351
|
+
else {
|
|
1352
|
+
var _ = $ && $.replace(m, "").trim();
|
|
1353
|
+
_ ? O.setAttribute(v, _) : O.removeAttribute(v);
|
|
1354
|
+
}
|
|
1355
|
+
});
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
function J() {
|
|
1359
|
+
if (!(M || !n.props.aria.expanded)) {
|
|
1360
|
+
var a = Te(n.props.triggerTarget || e);
|
|
1361
|
+
a.forEach(function(v) {
|
|
1362
|
+
n.props.interactive ? v.setAttribute("aria-expanded", n.state.isVisible && v === S() ? "true" : "false") : v.removeAttribute("aria-expanded");
|
|
1363
|
+
});
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
function pe() {
|
|
1367
|
+
H().removeEventListener("mousemove", w), rt = rt.filter(function(a) {
|
|
1368
|
+
return a !== w;
|
|
1369
|
+
});
|
|
1370
|
+
}
|
|
1371
|
+
function Q(a) {
|
|
1372
|
+
if (!(Z.isTouch && (u || a.type === "mousedown"))) {
|
|
1373
|
+
var v = a.composedPath && a.composedPath()[0] || a.target;
|
|
1374
|
+
if (!(n.props.interactive && Ht(d, v))) {
|
|
1375
|
+
if (Te(n.props.triggerTarget || e).some(function(m) {
|
|
1376
|
+
return Ht(m, v);
|
|
1377
|
+
})) {
|
|
1378
|
+
if (Z.isTouch || n.state.isVisible && n.props.trigger.indexOf("click") >= 0)
|
|
1379
|
+
return;
|
|
1380
|
+
} else
|
|
1381
|
+
B("onClickOutside", [n, a]);
|
|
1382
|
+
n.props.hideOnClick === !0 && (n.clearDelayTimeouts(), n.hide(), f = !0, setTimeout(function() {
|
|
1383
|
+
f = !1;
|
|
1384
|
+
}), n.state.isMounted || ne());
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
function le() {
|
|
1389
|
+
u = !0;
|
|
1390
|
+
}
|
|
1391
|
+
function re() {
|
|
1392
|
+
u = !1;
|
|
1393
|
+
}
|
|
1394
|
+
function G() {
|
|
1395
|
+
var a = H();
|
|
1396
|
+
a.addEventListener("mousedown", Q, !0), a.addEventListener("touchend", Q, me), a.addEventListener("touchstart", re, me), a.addEventListener("touchmove", le, me);
|
|
1397
|
+
}
|
|
1398
|
+
function ne() {
|
|
1399
|
+
var a = H();
|
|
1400
|
+
a.removeEventListener("mousedown", Q, !0), a.removeEventListener("touchend", Q, me), a.removeEventListener("touchstart", re, me), a.removeEventListener("touchmove", le, me);
|
|
1401
|
+
}
|
|
1402
|
+
function ye(a, v) {
|
|
1403
|
+
be(a, function() {
|
|
1404
|
+
!n.state.isVisible && d.parentNode && d.parentNode.contains(d) && v();
|
|
1405
|
+
});
|
|
1406
|
+
}
|
|
1407
|
+
function ie(a, v) {
|
|
1408
|
+
be(a, v);
|
|
1409
|
+
}
|
|
1410
|
+
function be(a, v) {
|
|
1411
|
+
var m = U().box;
|
|
1412
|
+
function A(O) {
|
|
1413
|
+
O.target === m && (lt(m, "remove", A), v());
|
|
1414
|
+
}
|
|
1415
|
+
if (a === 0)
|
|
1416
|
+
return v();
|
|
1417
|
+
lt(m, "remove", b), lt(m, "add", A), b = A;
|
|
1418
|
+
}
|
|
1419
|
+
function ue(a, v, m) {
|
|
1420
|
+
m === void 0 && (m = !1);
|
|
1421
|
+
var A = Te(n.props.triggerTarget || e);
|
|
1422
|
+
A.forEach(function(O) {
|
|
1423
|
+
O.addEventListener(a, v, m), h.push({
|
|
1424
|
+
node: O,
|
|
1425
|
+
eventType: a,
|
|
1426
|
+
handler: v,
|
|
1427
|
+
options: m
|
|
1428
|
+
});
|
|
1429
|
+
});
|
|
1430
|
+
}
|
|
1431
|
+
function we() {
|
|
1432
|
+
R() && (ue("touchstart", Se, {
|
|
1433
|
+
passive: !0
|
|
1434
|
+
}), ue("touchend", ze, {
|
|
1435
|
+
passive: !0
|
|
1436
|
+
})), jn(n.props.trigger).forEach(function(a) {
|
|
1437
|
+
if (a !== "manual")
|
|
1438
|
+
switch (ue(a, Se), a) {
|
|
1439
|
+
case "mouseenter":
|
|
1440
|
+
ue("mouseleave", ze);
|
|
1441
|
+
break;
|
|
1442
|
+
case "focus":
|
|
1443
|
+
ue(Fn ? "focusout" : "blur", je);
|
|
1444
|
+
break;
|
|
1445
|
+
case "focusin":
|
|
1446
|
+
ue("focusout", je);
|
|
1447
|
+
break;
|
|
1448
|
+
}
|
|
1449
|
+
});
|
|
1450
|
+
}
|
|
1451
|
+
function qe() {
|
|
1452
|
+
h.forEach(function(a) {
|
|
1453
|
+
var v = a.node, m = a.eventType, A = a.handler, O = a.options;
|
|
1454
|
+
v.removeEventListener(m, A, O);
|
|
1455
|
+
}), h = [];
|
|
1456
|
+
}
|
|
1457
|
+
function Se(a) {
|
|
1458
|
+
var v, m = !1;
|
|
1459
|
+
if (!(!n.state.isEnabled || Pe(a) || f)) {
|
|
1460
|
+
var A = ((v = p) == null ? void 0 : v.type) === "focus";
|
|
1461
|
+
p = a, g = a.currentTarget, J(), !n.state.isVisible && Rn(a) && rt.forEach(function(O) {
|
|
1462
|
+
return O(a);
|
|
1463
|
+
}), a.type === "click" && (n.props.trigger.indexOf("mouseenter") < 0 || c) && n.props.hideOnClick !== !1 && n.state.isVisible ? m = !0 : Me(a), a.type === "click" && (c = !m), m && !A && de(a);
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
function _e(a) {
|
|
1467
|
+
var v = a.target, m = S().contains(v) || d.contains(v);
|
|
1468
|
+
if (!(a.type === "mousemove" && m)) {
|
|
1469
|
+
var A = ce().concat(d).map(function(O) {
|
|
1470
|
+
var $, _ = O._tippy, Oe = ($ = _.popperInstance) == null ? void 0 : $.state;
|
|
1471
|
+
return Oe ? {
|
|
1472
|
+
popperRect: O.getBoundingClientRect(),
|
|
1473
|
+
popperState: Oe,
|
|
1474
|
+
props: r
|
|
1475
|
+
} : null;
|
|
1476
|
+
}).filter(Boolean);
|
|
1477
|
+
$n(A, a) && (pe(), de(a));
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
function ze(a) {
|
|
1481
|
+
var v = Pe(a) || n.props.trigger.indexOf("click") >= 0 && c;
|
|
1482
|
+
if (!v) {
|
|
1483
|
+
if (n.props.interactive) {
|
|
1484
|
+
n.hideWithInteractivity(a);
|
|
1485
|
+
return;
|
|
1486
|
+
}
|
|
1487
|
+
de(a);
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
function je(a) {
|
|
1491
|
+
n.props.trigger.indexOf("focusin") < 0 && a.target !== S() || n.props.interactive && a.relatedTarget && d.contains(a.relatedTarget) || de(a);
|
|
1492
|
+
}
|
|
1493
|
+
function Pe(a) {
|
|
1494
|
+
return Z.isTouch ? R() !== a.type.indexOf("touch") >= 0 : !1;
|
|
1495
|
+
}
|
|
1496
|
+
function Ye() {
|
|
1497
|
+
Xe();
|
|
1498
|
+
var a = n.props, v = a.popperOptions, m = a.placement, A = a.offset, O = a.getReferenceClientRect, $ = a.moveTransition, _ = P() ? yt(d).arrow : null, Oe = O ? {
|
|
1499
|
+
getBoundingClientRect: O,
|
|
1500
|
+
contextElement: O.contextElement || S()
|
|
1501
|
+
} : e, Ct = {
|
|
1502
|
+
name: "$$tippy",
|
|
1503
|
+
enabled: !0,
|
|
1504
|
+
phase: "beforeWrite",
|
|
1505
|
+
requires: ["computeStyles"],
|
|
1506
|
+
fn: function(Ze) {
|
|
1507
|
+
var xe = Ze.state;
|
|
1508
|
+
if (P()) {
|
|
1509
|
+
var br = U(), ct = br.box;
|
|
1510
|
+
["placement", "reference-hidden", "escaped"].forEach(function(et) {
|
|
1511
|
+
et === "placement" ? ct.setAttribute("data-placement", xe.placement) : xe.attributes.popper["data-popper-" + et] ? ct.setAttribute("data-" + et, "") : ct.removeAttribute("data-" + et);
|
|
1512
|
+
}), xe.attributes.popper = {};
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
}, ve = [{
|
|
1516
|
+
name: "offset",
|
|
1517
|
+
options: {
|
|
1518
|
+
offset: A
|
|
1519
|
+
}
|
|
1520
|
+
}, {
|
|
1521
|
+
name: "preventOverflow",
|
|
1522
|
+
options: {
|
|
1523
|
+
padding: {
|
|
1524
|
+
top: 2,
|
|
1525
|
+
bottom: 2,
|
|
1526
|
+
left: 5,
|
|
1527
|
+
right: 5
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1530
|
+
}, {
|
|
1531
|
+
name: "flip",
|
|
1532
|
+
options: {
|
|
1533
|
+
padding: 5
|
|
1534
|
+
}
|
|
1535
|
+
}, {
|
|
1536
|
+
name: "computeStyles",
|
|
1537
|
+
options: {
|
|
1538
|
+
adaptive: !$
|
|
1539
|
+
}
|
|
1540
|
+
}, Ct];
|
|
1541
|
+
P() && _ && ve.push({
|
|
1542
|
+
name: "arrow",
|
|
1543
|
+
options: {
|
|
1544
|
+
element: _,
|
|
1545
|
+
padding: 3
|
|
1546
|
+
}
|
|
1547
|
+
}), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), n.popperInstance = An(Oe, d, Object.assign({}, v, {
|
|
1548
|
+
placement: m,
|
|
1549
|
+
onFirstUpdate: x,
|
|
1550
|
+
modifiers: ve
|
|
1551
|
+
}));
|
|
1552
|
+
}
|
|
1553
|
+
function Xe() {
|
|
1554
|
+
n.popperInstance && (n.popperInstance.destroy(), n.popperInstance = null);
|
|
1555
|
+
}
|
|
1556
|
+
function oe() {
|
|
1557
|
+
var a = n.props.appendTo, v, m = S();
|
|
1558
|
+
n.props.interactive && a === ar || a === "parent" ? v = m.parentNode : v = sr(a, [m]), v.contains(d) || v.appendChild(d), n.state.isMounted = !0, Ye(), process.env.NODE_ENV !== "production" && ae(n.props.interactive && a === F.appendTo && m.nextElementSibling !== d, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
|
1559
|
+
|
|
1560
|
+
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
1561
|
+
|
|
1562
|
+
`, "Specifying `appendTo: document.body` silences this warning, but it", "assumes you are using a focus management solution to handle", "keyboard navigation.", `
|
|
1563
|
+
|
|
1564
|
+
`, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
|
|
1565
|
+
}
|
|
1566
|
+
function ce() {
|
|
1567
|
+
return ot(d.querySelectorAll("[data-tippy-root]"));
|
|
1568
|
+
}
|
|
1569
|
+
function Me(a) {
|
|
1570
|
+
n.clearDelayTimeouts(), a && B("onTrigger", [n, a]), G();
|
|
1571
|
+
var v = V(!0), m = j(), A = m[0], O = m[1];
|
|
1572
|
+
Z.isTouch && A === "hold" && O && (v = O), v ? i = setTimeout(function() {
|
|
1573
|
+
n.show();
|
|
1574
|
+
}, v) : n.show();
|
|
1575
|
+
}
|
|
1576
|
+
function de(a) {
|
|
1577
|
+
if (n.clearDelayTimeouts(), B("onUntrigger", [n, a]), !n.state.isVisible) {
|
|
1578
|
+
ne();
|
|
1579
|
+
return;
|
|
1580
|
+
}
|
|
1581
|
+
if (!(n.props.trigger.indexOf("mouseenter") >= 0 && n.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(a.type) >= 0 && c)) {
|
|
1582
|
+
var v = V(!1);
|
|
1583
|
+
v ? o = setTimeout(function() {
|
|
1584
|
+
n.state.isVisible && n.hide();
|
|
1585
|
+
}, v) : s = requestAnimationFrame(function() {
|
|
1586
|
+
n.hide();
|
|
1587
|
+
});
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
function Ne() {
|
|
1591
|
+
n.state.isEnabled = !0;
|
|
1592
|
+
}
|
|
1593
|
+
function Ge() {
|
|
1594
|
+
n.hide(), n.state.isEnabled = !1;
|
|
1595
|
+
}
|
|
1596
|
+
function Ke() {
|
|
1597
|
+
clearTimeout(i), clearTimeout(o), cancelAnimationFrame(s);
|
|
1598
|
+
}
|
|
1599
|
+
function Je(a) {
|
|
1600
|
+
if (process.env.NODE_ENV !== "production" && ae(n.state.isDestroyed, Ee("setProps")), !n.state.isDestroyed) {
|
|
1601
|
+
B("onBeforeUpdate", [n, a]), qe();
|
|
1602
|
+
var v = n.props, m = qt(e, Object.assign({}, v, It(a), {
|
|
1603
|
+
ignoreAttributes: !0
|
|
1604
|
+
}));
|
|
1605
|
+
n.props = m, we(), v.interactiveDebounce !== m.interactiveDebounce && (pe(), w = kt(_e, m.interactiveDebounce)), v.triggerTarget && !m.triggerTarget ? Te(v.triggerTarget).forEach(function(A) {
|
|
1606
|
+
A.removeAttribute("aria-expanded");
|
|
1607
|
+
}) : m.triggerTarget && e.removeAttribute("aria-expanded"), J(), k(), C && C(v, m), n.popperInstance && (Ye(), ce().forEach(function(A) {
|
|
1608
|
+
requestAnimationFrame(A._tippy.popperInstance.forceUpdate);
|
|
1609
|
+
})), B("onAfterUpdate", [n, a]);
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
function Qe(a) {
|
|
1613
|
+
n.setProps({
|
|
1614
|
+
content: a
|
|
1615
|
+
});
|
|
1616
|
+
}
|
|
1617
|
+
function vr() {
|
|
1618
|
+
process.env.NODE_ENV !== "production" && ae(n.state.isDestroyed, Ee("show"));
|
|
1619
|
+
var a = n.state.isVisible, v = n.state.isDestroyed, m = !n.state.isEnabled, A = Z.isTouch && !n.props.touch, O = ft(n.props.duration, 0, F.duration);
|
|
1620
|
+
if (!(a || v || m || A) && !S().hasAttribute("disabled") && (B("onShow", [n], !1), n.props.onShow(n) !== !1)) {
|
|
1621
|
+
if (n.state.isVisible = !0, P() && (d.style.visibility = "visible"), k(), G(), n.state.isMounted || (d.style.transition = "none"), P()) {
|
|
1622
|
+
var $ = U(), _ = $.box, Oe = $.content;
|
|
1623
|
+
pt([_, Oe], 0);
|
|
1624
|
+
}
|
|
1625
|
+
x = function() {
|
|
1626
|
+
var ve;
|
|
1627
|
+
if (!(!n.state.isVisible || l)) {
|
|
1628
|
+
if (l = !0, d.offsetHeight, d.style.transition = n.props.moveTransition, P() && n.props.animation) {
|
|
1629
|
+
var ut = U(), Ze = ut.box, xe = ut.content;
|
|
1630
|
+
pt([Ze, xe], O), Wt([Ze, xe], "visible");
|
|
1631
|
+
}
|
|
1632
|
+
K(), J(), $t(dt, n), (ve = n.popperInstance) == null || ve.forceUpdate(), B("onMount", [n]), n.props.animation && P() && ie(O, function() {
|
|
1633
|
+
n.state.isShown = !0, B("onShown", [n]);
|
|
1634
|
+
});
|
|
1635
|
+
}
|
|
1636
|
+
}, oe();
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
function mr() {
|
|
1640
|
+
process.env.NODE_ENV !== "production" && ae(n.state.isDestroyed, Ee("hide"));
|
|
1641
|
+
var a = !n.state.isVisible, v = n.state.isDestroyed, m = !n.state.isEnabled, A = ft(n.props.duration, 1, F.duration);
|
|
1642
|
+
if (!(a || v || m) && (B("onHide", [n], !1), n.props.onHide(n) !== !1)) {
|
|
1643
|
+
if (n.state.isVisible = !1, n.state.isShown = !1, l = !1, c = !1, P() && (d.style.visibility = "hidden"), pe(), ne(), k(!0), P()) {
|
|
1644
|
+
var O = U(), $ = O.box, _ = O.content;
|
|
1645
|
+
n.props.animation && (pt([$, _], A), Wt([$, _], "hidden"));
|
|
1646
|
+
}
|
|
1647
|
+
K(), J(), n.props.animation ? P() && ye(A, n.unmount) : n.unmount();
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
function hr(a) {
|
|
1651
|
+
process.env.NODE_ENV !== "production" && ae(n.state.isDestroyed, Ee("hideWithInteractivity")), H().addEventListener("mousemove", w), $t(rt, w), w(a);
|
|
1652
|
+
}
|
|
1653
|
+
function gr() {
|
|
1654
|
+
process.env.NODE_ENV !== "production" && ae(n.state.isDestroyed, Ee("unmount")), n.state.isVisible && n.hide(), n.state.isMounted && (Xe(), ce().forEach(function(a) {
|
|
1655
|
+
a._tippy.unmount();
|
|
1656
|
+
}), d.parentNode && d.parentNode.removeChild(d), dt = dt.filter(function(a) {
|
|
1657
|
+
return a !== n;
|
|
1658
|
+
}), n.state.isMounted = !1, B("onHidden", [n]));
|
|
1659
|
+
}
|
|
1660
|
+
function yr() {
|
|
1661
|
+
process.env.NODE_ENV !== "production" && ae(n.state.isDestroyed, Ee("destroy")), !n.state.isDestroyed && (n.clearDelayTimeouts(), n.unmount(), qe(), delete e._tippy, n.state.isDestroyed = !0, B("onDestroy", [n]));
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
function st(e, t) {
|
|
1665
|
+
t === void 0 && (t = {});
|
|
1666
|
+
var r = F.plugins.concat(t.plugins || []);
|
|
1667
|
+
process.env.NODE_ENV !== "production" && (zn(e), lr(t, r)), Hn();
|
|
1668
|
+
var i = Object.assign({}, t, {
|
|
1669
|
+
plugins: r
|
|
1670
|
+
}), o = Vn(e);
|
|
1671
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1672
|
+
var s = We(i.content), c = o.length > 1;
|
|
1673
|
+
ae(s && c, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
|
|
1674
|
+
|
|
1675
|
+
`, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
|
|
1676
|
+
|
|
1677
|
+
`, `1) content: element.innerHTML
|
|
1678
|
+
`, "2) content: () => element.cloneNode(true)"].join(" "));
|
|
1679
|
+
}
|
|
1680
|
+
var f = o.reduce(function(u, l) {
|
|
1681
|
+
var p = l && Zn(l, i);
|
|
1682
|
+
return p && u.push(p), u;
|
|
1683
|
+
}, []);
|
|
1684
|
+
return We(e) ? f[0] : f;
|
|
1685
|
+
}
|
|
1686
|
+
st.defaultProps = F;
|
|
1687
|
+
st.setDefaultProps = Gn;
|
|
1688
|
+
st.currentInput = Z;
|
|
1689
|
+
Object.assign({}, Gt, {
|
|
1690
|
+
effect: function(t) {
|
|
1691
|
+
var r = t.state, i = {
|
|
1692
|
+
popper: {
|
|
1693
|
+
position: r.options.strategy,
|
|
1694
|
+
left: "0",
|
|
1695
|
+
top: "0",
|
|
1696
|
+
margin: "0"
|
|
1697
|
+
},
|
|
1698
|
+
arrow: {
|
|
1699
|
+
position: "absolute"
|
|
1700
|
+
},
|
|
1701
|
+
reference: {}
|
|
1702
|
+
};
|
|
1703
|
+
Object.assign(r.elements.popper.style, i.popper), r.styles = i, r.elements.arrow && Object.assign(r.elements.arrow.style, i.arrow);
|
|
1704
|
+
}
|
|
1705
|
+
});
|
|
1706
|
+
st.setDefaultProps({
|
|
1707
|
+
render: dr
|
|
1708
|
+
});
|
|
1709
|
+
export {
|
|
1710
|
+
st as t
|
|
1711
|
+
};
|