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,4417 @@
|
|
|
1
|
+
import { effectScope as Nn, ref as ut, markRaw as Q, hasInjectionContext as Ge, inject as We, toRaw as le, computed as st, isRef as ce, isReactive as Ue, toRef as De, getCurrentInstance as wo, watch as Vn, unref as ko, reactive as Po, nextTick as At, getCurrentScope as Ro, onScopeDispose as No, toRefs as Ot } from "vue";
|
|
2
|
+
var Vo = Object.create, xn = Object.defineProperty, xo = Object.getOwnPropertyDescriptor, it = Object.getOwnPropertyNames, Fo = Object.getPrototypeOf, Uo = Object.prototype.hasOwnProperty, Lo = (e, t) => function() {
|
|
3
|
+
return e && (t = (0, e[it(e)[0]])(e = 0)), t;
|
|
4
|
+
}, Bo = (e, t) => function() {
|
|
5
|
+
return t || (0, e[it(e)[0]])((t = { exports: {} }).exports, t), t.exports;
|
|
6
|
+
}, $o = (e, t, n, o) => {
|
|
7
|
+
if (t && typeof t == "object" || typeof t == "function")
|
|
8
|
+
for (let r of it(t))
|
|
9
|
+
!Uo.call(e, r) && r !== n && xn(e, r, { get: () => t[r], enumerable: !(o = xo(t, r)) || o.enumerable });
|
|
10
|
+
return e;
|
|
11
|
+
}, Mo = (e, t, n) => (n = e != null ? Vo(Fo(e)) : {}, $o(
|
|
12
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
13
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
14
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
15
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
16
|
+
xn(n, "default", { value: e, enumerable: !0 }),
|
|
17
|
+
e
|
|
18
|
+
)), Te = Lo({
|
|
19
|
+
"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
|
|
20
|
+
}
|
|
21
|
+
}), jo = Bo({
|
|
22
|
+
"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e, t) {
|
|
23
|
+
Te(), t.exports = o;
|
|
24
|
+
function n(u) {
|
|
25
|
+
return u instanceof Buffer ? Buffer.from(u) : new u.constructor(u.buffer.slice(), u.byteOffset, u.length);
|
|
26
|
+
}
|
|
27
|
+
function o(u) {
|
|
28
|
+
if (u = u || {}, u.circles) return r(u);
|
|
29
|
+
const s = /* @__PURE__ */ new Map();
|
|
30
|
+
if (s.set(Date, (c) => new Date(c)), s.set(Map, (c, y) => new Map(l(Array.from(c), y))), s.set(Set, (c, y) => new Set(l(Array.from(c), y))), u.constructorHandlers)
|
|
31
|
+
for (const c of u.constructorHandlers)
|
|
32
|
+
s.set(c[0], c[1]);
|
|
33
|
+
let i = null;
|
|
34
|
+
return u.proto ? v : f;
|
|
35
|
+
function l(c, y) {
|
|
36
|
+
const d = Object.keys(c), _ = new Array(d.length);
|
|
37
|
+
for (let A = 0; A < d.length; A++) {
|
|
38
|
+
const h = d[A], g = c[h];
|
|
39
|
+
typeof g != "object" || g === null ? _[h] = g : g.constructor !== Object && (i = s.get(g.constructor)) ? _[h] = i(g, y) : ArrayBuffer.isView(g) ? _[h] = n(g) : _[h] = y(g);
|
|
40
|
+
}
|
|
41
|
+
return _;
|
|
42
|
+
}
|
|
43
|
+
function f(c) {
|
|
44
|
+
if (typeof c != "object" || c === null) return c;
|
|
45
|
+
if (Array.isArray(c)) return l(c, f);
|
|
46
|
+
if (c.constructor !== Object && (i = s.get(c.constructor)))
|
|
47
|
+
return i(c, f);
|
|
48
|
+
const y = {};
|
|
49
|
+
for (const d in c) {
|
|
50
|
+
if (Object.hasOwnProperty.call(c, d) === !1) continue;
|
|
51
|
+
const _ = c[d];
|
|
52
|
+
typeof _ != "object" || _ === null ? y[d] = _ : _.constructor !== Object && (i = s.get(_.constructor)) ? y[d] = i(_, f) : ArrayBuffer.isView(_) ? y[d] = n(_) : y[d] = f(_);
|
|
53
|
+
}
|
|
54
|
+
return y;
|
|
55
|
+
}
|
|
56
|
+
function v(c) {
|
|
57
|
+
if (typeof c != "object" || c === null) return c;
|
|
58
|
+
if (Array.isArray(c)) return l(c, v);
|
|
59
|
+
if (c.constructor !== Object && (i = s.get(c.constructor)))
|
|
60
|
+
return i(c, v);
|
|
61
|
+
const y = {};
|
|
62
|
+
for (const d in c) {
|
|
63
|
+
const _ = c[d];
|
|
64
|
+
typeof _ != "object" || _ === null ? y[d] = _ : _.constructor !== Object && (i = s.get(_.constructor)) ? y[d] = i(_, v) : ArrayBuffer.isView(_) ? y[d] = n(_) : y[d] = v(_);
|
|
65
|
+
}
|
|
66
|
+
return y;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function r(u) {
|
|
70
|
+
const s = [], i = [], l = /* @__PURE__ */ new Map();
|
|
71
|
+
if (l.set(Date, (d) => new Date(d)), l.set(Map, (d, _) => new Map(v(Array.from(d), _))), l.set(Set, (d, _) => new Set(v(Array.from(d), _))), u.constructorHandlers)
|
|
72
|
+
for (const d of u.constructorHandlers)
|
|
73
|
+
l.set(d[0], d[1]);
|
|
74
|
+
let f = null;
|
|
75
|
+
return u.proto ? y : c;
|
|
76
|
+
function v(d, _) {
|
|
77
|
+
const A = Object.keys(d), h = new Array(A.length);
|
|
78
|
+
for (let g = 0; g < A.length; g++) {
|
|
79
|
+
const T = A[g], b = d[T];
|
|
80
|
+
if (typeof b != "object" || b === null)
|
|
81
|
+
h[T] = b;
|
|
82
|
+
else if (b.constructor !== Object && (f = l.get(b.constructor)))
|
|
83
|
+
h[T] = f(b, _);
|
|
84
|
+
else if (ArrayBuffer.isView(b))
|
|
85
|
+
h[T] = n(b);
|
|
86
|
+
else {
|
|
87
|
+
const V = s.indexOf(b);
|
|
88
|
+
V !== -1 ? h[T] = i[V] : h[T] = _(b);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return h;
|
|
92
|
+
}
|
|
93
|
+
function c(d) {
|
|
94
|
+
if (typeof d != "object" || d === null) return d;
|
|
95
|
+
if (Array.isArray(d)) return v(d, c);
|
|
96
|
+
if (d.constructor !== Object && (f = l.get(d.constructor)))
|
|
97
|
+
return f(d, c);
|
|
98
|
+
const _ = {};
|
|
99
|
+
s.push(d), i.push(_);
|
|
100
|
+
for (const A in d) {
|
|
101
|
+
if (Object.hasOwnProperty.call(d, A) === !1) continue;
|
|
102
|
+
const h = d[A];
|
|
103
|
+
if (typeof h != "object" || h === null)
|
|
104
|
+
_[A] = h;
|
|
105
|
+
else if (h.constructor !== Object && (f = l.get(h.constructor)))
|
|
106
|
+
_[A] = f(h, c);
|
|
107
|
+
else if (ArrayBuffer.isView(h))
|
|
108
|
+
_[A] = n(h);
|
|
109
|
+
else {
|
|
110
|
+
const g = s.indexOf(h);
|
|
111
|
+
g !== -1 ? _[A] = i[g] : _[A] = c(h);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return s.pop(), i.pop(), _;
|
|
115
|
+
}
|
|
116
|
+
function y(d) {
|
|
117
|
+
if (typeof d != "object" || d === null) return d;
|
|
118
|
+
if (Array.isArray(d)) return v(d, y);
|
|
119
|
+
if (d.constructor !== Object && (f = l.get(d.constructor)))
|
|
120
|
+
return f(d, y);
|
|
121
|
+
const _ = {};
|
|
122
|
+
s.push(d), i.push(_);
|
|
123
|
+
for (const A in d) {
|
|
124
|
+
const h = d[A];
|
|
125
|
+
if (typeof h != "object" || h === null)
|
|
126
|
+
_[A] = h;
|
|
127
|
+
else if (h.constructor !== Object && (f = l.get(h.constructor)))
|
|
128
|
+
_[A] = f(h, y);
|
|
129
|
+
else if (ArrayBuffer.isView(h))
|
|
130
|
+
_[A] = n(h);
|
|
131
|
+
else {
|
|
132
|
+
const g = s.indexOf(h);
|
|
133
|
+
g !== -1 ? _[A] = i[g] : _[A] = y(h);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
return s.pop(), i.pop(), _;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
Te();
|
|
142
|
+
Te();
|
|
143
|
+
Te();
|
|
144
|
+
var Fn = typeof navigator < "u", p = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
|
|
145
|
+
typeof p.chrome < "u" && p.chrome.devtools;
|
|
146
|
+
Fn && (p.self, p.top);
|
|
147
|
+
var St;
|
|
148
|
+
typeof navigator < "u" && ((St = navigator.userAgent) == null || St.toLowerCase().includes("electron"));
|
|
149
|
+
Te();
|
|
150
|
+
var Ho = Mo(jo()), Ko = /(?:^|[-_/])(\w)/g;
|
|
151
|
+
function zo(e, t) {
|
|
152
|
+
return t ? t.toUpperCase() : "";
|
|
153
|
+
}
|
|
154
|
+
function Go(e) {
|
|
155
|
+
return e && `${e}`.replace(Ko, zo);
|
|
156
|
+
}
|
|
157
|
+
function Wo(e, t) {
|
|
158
|
+
let n = e.replace(/^[a-z]:/i, "").replace(/\\/g, "/");
|
|
159
|
+
n.endsWith(`index${t}`) && (n = n.replace(`/index${t}`, t));
|
|
160
|
+
const o = n.lastIndexOf("/"), r = n.substring(o + 1);
|
|
161
|
+
{
|
|
162
|
+
const u = r.lastIndexOf(t);
|
|
163
|
+
return r.substring(0, u);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
var bt = (0, Ho.default)({ circles: !0 });
|
|
167
|
+
const Yo = {
|
|
168
|
+
trailing: !0
|
|
169
|
+
};
|
|
170
|
+
function fe(e, t = 25, n = {}) {
|
|
171
|
+
if (n = { ...Yo, ...n }, !Number.isFinite(t))
|
|
172
|
+
throw new TypeError("Expected `wait` to be a finite number");
|
|
173
|
+
let o, r, u = [], s, i;
|
|
174
|
+
const l = (f, v) => (s = qo(e, f, v), s.finally(() => {
|
|
175
|
+
if (s = null, n.trailing && i && !r) {
|
|
176
|
+
const c = l(f, i);
|
|
177
|
+
return i = null, c;
|
|
178
|
+
}
|
|
179
|
+
}), s);
|
|
180
|
+
return function(...f) {
|
|
181
|
+
return s ? (n.trailing && (i = f), s) : new Promise((v) => {
|
|
182
|
+
const c = !r && n.leading;
|
|
183
|
+
clearTimeout(r), r = setTimeout(() => {
|
|
184
|
+
r = null;
|
|
185
|
+
const y = n.leading ? o : l(this, f);
|
|
186
|
+
for (const d of u)
|
|
187
|
+
d(y);
|
|
188
|
+
u = [];
|
|
189
|
+
}, t), c ? (o = l(this, f), v(o)) : u.push(v);
|
|
190
|
+
});
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
async function qo(e, t, n) {
|
|
194
|
+
return await e.apply(t, n);
|
|
195
|
+
}
|
|
196
|
+
function Ye(e, t = {}, n) {
|
|
197
|
+
for (const o in e) {
|
|
198
|
+
const r = e[o], u = n ? `${n}:${o}` : o;
|
|
199
|
+
typeof r == "object" && r !== null ? Ye(r, t, u) : typeof r == "function" && (t[u] = r);
|
|
200
|
+
}
|
|
201
|
+
return t;
|
|
202
|
+
}
|
|
203
|
+
const Zo = { run: (e) => e() }, Xo = () => Zo, Un = typeof console.createTask < "u" ? console.createTask : Xo;
|
|
204
|
+
function Jo(e, t) {
|
|
205
|
+
const n = t.shift(), o = Un(n);
|
|
206
|
+
return e.reduce(
|
|
207
|
+
(r, u) => r.then(() => o.run(() => u(...t))),
|
|
208
|
+
Promise.resolve()
|
|
209
|
+
);
|
|
210
|
+
}
|
|
211
|
+
function Qo(e, t) {
|
|
212
|
+
const n = t.shift(), o = Un(n);
|
|
213
|
+
return Promise.all(e.map((r) => o.run(() => r(...t))));
|
|
214
|
+
}
|
|
215
|
+
function je(e, t) {
|
|
216
|
+
for (const n of [...e])
|
|
217
|
+
n(t);
|
|
218
|
+
}
|
|
219
|
+
class er {
|
|
220
|
+
constructor() {
|
|
221
|
+
this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
|
|
222
|
+
}
|
|
223
|
+
hook(t, n, o = {}) {
|
|
224
|
+
if (!t || typeof n != "function")
|
|
225
|
+
return () => {
|
|
226
|
+
};
|
|
227
|
+
const r = t;
|
|
228
|
+
let u;
|
|
229
|
+
for (; this._deprecatedHooks[t]; )
|
|
230
|
+
u = this._deprecatedHooks[t], t = u.to;
|
|
231
|
+
if (u && !o.allowDeprecated) {
|
|
232
|
+
let s = u.message;
|
|
233
|
+
s || (s = `${r} hook has been deprecated` + (u.to ? `, please use ${u.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(s) || (console.warn(s), this._deprecatedMessages.add(s));
|
|
234
|
+
}
|
|
235
|
+
if (!n.name)
|
|
236
|
+
try {
|
|
237
|
+
Object.defineProperty(n, "name", {
|
|
238
|
+
get: () => "_" + t.replace(/\W+/g, "_") + "_hook_cb",
|
|
239
|
+
configurable: !0
|
|
240
|
+
});
|
|
241
|
+
} catch {
|
|
242
|
+
}
|
|
243
|
+
return this._hooks[t] = this._hooks[t] || [], this._hooks[t].push(n), () => {
|
|
244
|
+
n && (this.removeHook(t, n), n = void 0);
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
hookOnce(t, n) {
|
|
248
|
+
let o, r = (...u) => (typeof o == "function" && o(), o = void 0, r = void 0, n(...u));
|
|
249
|
+
return o = this.hook(t, r), o;
|
|
250
|
+
}
|
|
251
|
+
removeHook(t, n) {
|
|
252
|
+
if (this._hooks[t]) {
|
|
253
|
+
const o = this._hooks[t].indexOf(n);
|
|
254
|
+
o !== -1 && this._hooks[t].splice(o, 1), this._hooks[t].length === 0 && delete this._hooks[t];
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
deprecateHook(t, n) {
|
|
258
|
+
this._deprecatedHooks[t] = typeof n == "string" ? { to: n } : n;
|
|
259
|
+
const o = this._hooks[t] || [];
|
|
260
|
+
delete this._hooks[t];
|
|
261
|
+
for (const r of o)
|
|
262
|
+
this.hook(t, r);
|
|
263
|
+
}
|
|
264
|
+
deprecateHooks(t) {
|
|
265
|
+
Object.assign(this._deprecatedHooks, t);
|
|
266
|
+
for (const n in t)
|
|
267
|
+
this.deprecateHook(n, t[n]);
|
|
268
|
+
}
|
|
269
|
+
addHooks(t) {
|
|
270
|
+
const n = Ye(t), o = Object.keys(n).map(
|
|
271
|
+
(r) => this.hook(r, n[r])
|
|
272
|
+
);
|
|
273
|
+
return () => {
|
|
274
|
+
for (const r of o.splice(0, o.length))
|
|
275
|
+
r();
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
removeHooks(t) {
|
|
279
|
+
const n = Ye(t);
|
|
280
|
+
for (const o in n)
|
|
281
|
+
this.removeHook(o, n[o]);
|
|
282
|
+
}
|
|
283
|
+
removeAllHooks() {
|
|
284
|
+
for (const t in this._hooks)
|
|
285
|
+
delete this._hooks[t];
|
|
286
|
+
}
|
|
287
|
+
callHook(t, ...n) {
|
|
288
|
+
return n.unshift(t), this.callHookWith(Jo, t, ...n);
|
|
289
|
+
}
|
|
290
|
+
callHookParallel(t, ...n) {
|
|
291
|
+
return n.unshift(t), this.callHookWith(Qo, t, ...n);
|
|
292
|
+
}
|
|
293
|
+
callHookWith(t, n, ...o) {
|
|
294
|
+
const r = this._before || this._after ? { name: n, args: o, context: {} } : void 0;
|
|
295
|
+
this._before && je(this._before, r);
|
|
296
|
+
const u = t(
|
|
297
|
+
n in this._hooks ? [...this._hooks[n]] : [],
|
|
298
|
+
o
|
|
299
|
+
);
|
|
300
|
+
return u instanceof Promise ? u.finally(() => {
|
|
301
|
+
this._after && r && je(this._after, r);
|
|
302
|
+
}) : (this._after && r && je(this._after, r), u);
|
|
303
|
+
}
|
|
304
|
+
beforeEach(t) {
|
|
305
|
+
return this._before = this._before || [], this._before.push(t), () => {
|
|
306
|
+
if (this._before !== void 0) {
|
|
307
|
+
const n = this._before.indexOf(t);
|
|
308
|
+
n !== -1 && this._before.splice(n, 1);
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
afterEach(t) {
|
|
313
|
+
return this._after = this._after || [], this._after.push(t), () => {
|
|
314
|
+
if (this._after !== void 0) {
|
|
315
|
+
const n = this._after.indexOf(t);
|
|
316
|
+
n !== -1 && this._after.splice(n, 1);
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
function Ln() {
|
|
322
|
+
return new er();
|
|
323
|
+
}
|
|
324
|
+
var tr = Object.create, Bn = Object.defineProperty, nr = Object.getOwnPropertyDescriptor, at = Object.getOwnPropertyNames, or = Object.getPrototypeOf, rr = Object.prototype.hasOwnProperty, ur = (e, t) => function() {
|
|
325
|
+
return e && (t = (0, e[at(e)[0]])(e = 0)), t;
|
|
326
|
+
}, $n = (e, t) => function() {
|
|
327
|
+
return t || (0, e[at(e)[0]])((t = { exports: {} }).exports, t), t.exports;
|
|
328
|
+
}, sr = (e, t, n, o) => {
|
|
329
|
+
if (t && typeof t == "object" || typeof t == "function")
|
|
330
|
+
for (let r of at(t))
|
|
331
|
+
!rr.call(e, r) && r !== n && Bn(e, r, { get: () => t[r], enumerable: !(o = nr(t, r)) || o.enumerable });
|
|
332
|
+
return e;
|
|
333
|
+
}, ir = (e, t, n) => (n = e != null ? tr(or(e)) : {}, sr(
|
|
334
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
335
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
336
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
337
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
338
|
+
Bn(n, "default", { value: e, enumerable: !0 }),
|
|
339
|
+
e
|
|
340
|
+
)), a = ur({
|
|
341
|
+
"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
|
|
342
|
+
}
|
|
343
|
+
}), ar = $n({
|
|
344
|
+
"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e, t) {
|
|
345
|
+
a(), function(n) {
|
|
346
|
+
var o = {
|
|
347
|
+
// latin
|
|
348
|
+
À: "A",
|
|
349
|
+
Á: "A",
|
|
350
|
+
Â: "A",
|
|
351
|
+
Ã: "A",
|
|
352
|
+
Ä: "Ae",
|
|
353
|
+
Å: "A",
|
|
354
|
+
Æ: "AE",
|
|
355
|
+
Ç: "C",
|
|
356
|
+
È: "E",
|
|
357
|
+
É: "E",
|
|
358
|
+
Ê: "E",
|
|
359
|
+
Ë: "E",
|
|
360
|
+
Ì: "I",
|
|
361
|
+
Í: "I",
|
|
362
|
+
Î: "I",
|
|
363
|
+
Ï: "I",
|
|
364
|
+
Ð: "D",
|
|
365
|
+
Ñ: "N",
|
|
366
|
+
Ò: "O",
|
|
367
|
+
Ó: "O",
|
|
368
|
+
Ô: "O",
|
|
369
|
+
Õ: "O",
|
|
370
|
+
Ö: "Oe",
|
|
371
|
+
Ő: "O",
|
|
372
|
+
Ø: "O",
|
|
373
|
+
Ù: "U",
|
|
374
|
+
Ú: "U",
|
|
375
|
+
Û: "U",
|
|
376
|
+
Ü: "Ue",
|
|
377
|
+
Ű: "U",
|
|
378
|
+
Ý: "Y",
|
|
379
|
+
Þ: "TH",
|
|
380
|
+
ß: "ss",
|
|
381
|
+
à: "a",
|
|
382
|
+
á: "a",
|
|
383
|
+
â: "a",
|
|
384
|
+
ã: "a",
|
|
385
|
+
ä: "ae",
|
|
386
|
+
å: "a",
|
|
387
|
+
æ: "ae",
|
|
388
|
+
ç: "c",
|
|
389
|
+
è: "e",
|
|
390
|
+
é: "e",
|
|
391
|
+
ê: "e",
|
|
392
|
+
ë: "e",
|
|
393
|
+
ì: "i",
|
|
394
|
+
í: "i",
|
|
395
|
+
î: "i",
|
|
396
|
+
ï: "i",
|
|
397
|
+
ð: "d",
|
|
398
|
+
ñ: "n",
|
|
399
|
+
ò: "o",
|
|
400
|
+
ó: "o",
|
|
401
|
+
ô: "o",
|
|
402
|
+
õ: "o",
|
|
403
|
+
ö: "oe",
|
|
404
|
+
ő: "o",
|
|
405
|
+
ø: "o",
|
|
406
|
+
ù: "u",
|
|
407
|
+
ú: "u",
|
|
408
|
+
û: "u",
|
|
409
|
+
ü: "ue",
|
|
410
|
+
ű: "u",
|
|
411
|
+
ý: "y",
|
|
412
|
+
þ: "th",
|
|
413
|
+
ÿ: "y",
|
|
414
|
+
"ẞ": "SS",
|
|
415
|
+
// language specific
|
|
416
|
+
// Arabic
|
|
417
|
+
ا: "a",
|
|
418
|
+
أ: "a",
|
|
419
|
+
إ: "i",
|
|
420
|
+
آ: "aa",
|
|
421
|
+
ؤ: "u",
|
|
422
|
+
ئ: "e",
|
|
423
|
+
ء: "a",
|
|
424
|
+
ب: "b",
|
|
425
|
+
ت: "t",
|
|
426
|
+
ث: "th",
|
|
427
|
+
ج: "j",
|
|
428
|
+
ح: "h",
|
|
429
|
+
خ: "kh",
|
|
430
|
+
د: "d",
|
|
431
|
+
ذ: "th",
|
|
432
|
+
ر: "r",
|
|
433
|
+
ز: "z",
|
|
434
|
+
س: "s",
|
|
435
|
+
ش: "sh",
|
|
436
|
+
ص: "s",
|
|
437
|
+
ض: "dh",
|
|
438
|
+
ط: "t",
|
|
439
|
+
ظ: "z",
|
|
440
|
+
ع: "a",
|
|
441
|
+
غ: "gh",
|
|
442
|
+
ف: "f",
|
|
443
|
+
ق: "q",
|
|
444
|
+
ك: "k",
|
|
445
|
+
ل: "l",
|
|
446
|
+
م: "m",
|
|
447
|
+
ن: "n",
|
|
448
|
+
ه: "h",
|
|
449
|
+
و: "w",
|
|
450
|
+
ي: "y",
|
|
451
|
+
ى: "a",
|
|
452
|
+
ة: "h",
|
|
453
|
+
ﻻ: "la",
|
|
454
|
+
ﻷ: "laa",
|
|
455
|
+
ﻹ: "lai",
|
|
456
|
+
ﻵ: "laa",
|
|
457
|
+
// Persian additional characters than Arabic
|
|
458
|
+
گ: "g",
|
|
459
|
+
چ: "ch",
|
|
460
|
+
پ: "p",
|
|
461
|
+
ژ: "zh",
|
|
462
|
+
ک: "k",
|
|
463
|
+
ی: "y",
|
|
464
|
+
// Arabic diactrics
|
|
465
|
+
"َ": "a",
|
|
466
|
+
"ً": "an",
|
|
467
|
+
"ِ": "e",
|
|
468
|
+
"ٍ": "en",
|
|
469
|
+
"ُ": "u",
|
|
470
|
+
"ٌ": "on",
|
|
471
|
+
"ْ": "",
|
|
472
|
+
// Arabic numbers
|
|
473
|
+
"٠": "0",
|
|
474
|
+
"١": "1",
|
|
475
|
+
"٢": "2",
|
|
476
|
+
"٣": "3",
|
|
477
|
+
"٤": "4",
|
|
478
|
+
"٥": "5",
|
|
479
|
+
"٦": "6",
|
|
480
|
+
"٧": "7",
|
|
481
|
+
"٨": "8",
|
|
482
|
+
"٩": "9",
|
|
483
|
+
// Persian numbers
|
|
484
|
+
"۰": "0",
|
|
485
|
+
"۱": "1",
|
|
486
|
+
"۲": "2",
|
|
487
|
+
"۳": "3",
|
|
488
|
+
"۴": "4",
|
|
489
|
+
"۵": "5",
|
|
490
|
+
"۶": "6",
|
|
491
|
+
"۷": "7",
|
|
492
|
+
"۸": "8",
|
|
493
|
+
"۹": "9",
|
|
494
|
+
// Burmese consonants
|
|
495
|
+
က: "k",
|
|
496
|
+
ခ: "kh",
|
|
497
|
+
ဂ: "g",
|
|
498
|
+
ဃ: "ga",
|
|
499
|
+
င: "ng",
|
|
500
|
+
စ: "s",
|
|
501
|
+
ဆ: "sa",
|
|
502
|
+
ဇ: "z",
|
|
503
|
+
"စျ": "za",
|
|
504
|
+
ည: "ny",
|
|
505
|
+
ဋ: "t",
|
|
506
|
+
ဌ: "ta",
|
|
507
|
+
ဍ: "d",
|
|
508
|
+
ဎ: "da",
|
|
509
|
+
ဏ: "na",
|
|
510
|
+
တ: "t",
|
|
511
|
+
ထ: "ta",
|
|
512
|
+
ဒ: "d",
|
|
513
|
+
ဓ: "da",
|
|
514
|
+
န: "n",
|
|
515
|
+
ပ: "p",
|
|
516
|
+
ဖ: "pa",
|
|
517
|
+
ဗ: "b",
|
|
518
|
+
ဘ: "ba",
|
|
519
|
+
မ: "m",
|
|
520
|
+
ယ: "y",
|
|
521
|
+
ရ: "ya",
|
|
522
|
+
လ: "l",
|
|
523
|
+
ဝ: "w",
|
|
524
|
+
သ: "th",
|
|
525
|
+
ဟ: "h",
|
|
526
|
+
ဠ: "la",
|
|
527
|
+
အ: "a",
|
|
528
|
+
// consonant character combos
|
|
529
|
+
"ြ": "y",
|
|
530
|
+
"ျ": "ya",
|
|
531
|
+
"ွ": "w",
|
|
532
|
+
"ြွ": "yw",
|
|
533
|
+
"ျွ": "ywa",
|
|
534
|
+
"ှ": "h",
|
|
535
|
+
// independent vowels
|
|
536
|
+
ဧ: "e",
|
|
537
|
+
"၏": "-e",
|
|
538
|
+
ဣ: "i",
|
|
539
|
+
ဤ: "-i",
|
|
540
|
+
ဉ: "u",
|
|
541
|
+
ဦ: "-u",
|
|
542
|
+
ဩ: "aw",
|
|
543
|
+
"သြော": "aw",
|
|
544
|
+
ဪ: "aw",
|
|
545
|
+
// numbers
|
|
546
|
+
"၀": "0",
|
|
547
|
+
"၁": "1",
|
|
548
|
+
"၂": "2",
|
|
549
|
+
"၃": "3",
|
|
550
|
+
"၄": "4",
|
|
551
|
+
"၅": "5",
|
|
552
|
+
"၆": "6",
|
|
553
|
+
"၇": "7",
|
|
554
|
+
"၈": "8",
|
|
555
|
+
"၉": "9",
|
|
556
|
+
// virama and tone marks which are silent in transliteration
|
|
557
|
+
"္": "",
|
|
558
|
+
"့": "",
|
|
559
|
+
"း": "",
|
|
560
|
+
// Czech
|
|
561
|
+
č: "c",
|
|
562
|
+
ď: "d",
|
|
563
|
+
ě: "e",
|
|
564
|
+
ň: "n",
|
|
565
|
+
ř: "r",
|
|
566
|
+
š: "s",
|
|
567
|
+
ť: "t",
|
|
568
|
+
ů: "u",
|
|
569
|
+
ž: "z",
|
|
570
|
+
Č: "C",
|
|
571
|
+
Ď: "D",
|
|
572
|
+
Ě: "E",
|
|
573
|
+
Ň: "N",
|
|
574
|
+
Ř: "R",
|
|
575
|
+
Š: "S",
|
|
576
|
+
Ť: "T",
|
|
577
|
+
Ů: "U",
|
|
578
|
+
Ž: "Z",
|
|
579
|
+
// Dhivehi
|
|
580
|
+
ހ: "h",
|
|
581
|
+
ށ: "sh",
|
|
582
|
+
ނ: "n",
|
|
583
|
+
ރ: "r",
|
|
584
|
+
ބ: "b",
|
|
585
|
+
ޅ: "lh",
|
|
586
|
+
ކ: "k",
|
|
587
|
+
އ: "a",
|
|
588
|
+
ވ: "v",
|
|
589
|
+
މ: "m",
|
|
590
|
+
ފ: "f",
|
|
591
|
+
ދ: "dh",
|
|
592
|
+
ތ: "th",
|
|
593
|
+
ލ: "l",
|
|
594
|
+
ގ: "g",
|
|
595
|
+
ޏ: "gn",
|
|
596
|
+
ސ: "s",
|
|
597
|
+
ޑ: "d",
|
|
598
|
+
ޒ: "z",
|
|
599
|
+
ޓ: "t",
|
|
600
|
+
ޔ: "y",
|
|
601
|
+
ޕ: "p",
|
|
602
|
+
ޖ: "j",
|
|
603
|
+
ޗ: "ch",
|
|
604
|
+
ޘ: "tt",
|
|
605
|
+
ޙ: "hh",
|
|
606
|
+
ޚ: "kh",
|
|
607
|
+
ޛ: "th",
|
|
608
|
+
ޜ: "z",
|
|
609
|
+
ޝ: "sh",
|
|
610
|
+
ޞ: "s",
|
|
611
|
+
ޟ: "d",
|
|
612
|
+
ޠ: "t",
|
|
613
|
+
ޡ: "z",
|
|
614
|
+
ޢ: "a",
|
|
615
|
+
ޣ: "gh",
|
|
616
|
+
ޤ: "q",
|
|
617
|
+
ޥ: "w",
|
|
618
|
+
"ަ": "a",
|
|
619
|
+
"ާ": "aa",
|
|
620
|
+
"ި": "i",
|
|
621
|
+
"ީ": "ee",
|
|
622
|
+
"ު": "u",
|
|
623
|
+
"ޫ": "oo",
|
|
624
|
+
"ެ": "e",
|
|
625
|
+
"ޭ": "ey",
|
|
626
|
+
"ޮ": "o",
|
|
627
|
+
"ޯ": "oa",
|
|
628
|
+
"ް": "",
|
|
629
|
+
// Georgian https://en.wikipedia.org/wiki/Romanization_of_Georgian
|
|
630
|
+
// National system (2002)
|
|
631
|
+
ა: "a",
|
|
632
|
+
ბ: "b",
|
|
633
|
+
გ: "g",
|
|
634
|
+
დ: "d",
|
|
635
|
+
ე: "e",
|
|
636
|
+
ვ: "v",
|
|
637
|
+
ზ: "z",
|
|
638
|
+
თ: "t",
|
|
639
|
+
ი: "i",
|
|
640
|
+
კ: "k",
|
|
641
|
+
ლ: "l",
|
|
642
|
+
მ: "m",
|
|
643
|
+
ნ: "n",
|
|
644
|
+
ო: "o",
|
|
645
|
+
პ: "p",
|
|
646
|
+
ჟ: "zh",
|
|
647
|
+
რ: "r",
|
|
648
|
+
ს: "s",
|
|
649
|
+
ტ: "t",
|
|
650
|
+
უ: "u",
|
|
651
|
+
ფ: "p",
|
|
652
|
+
ქ: "k",
|
|
653
|
+
ღ: "gh",
|
|
654
|
+
ყ: "q",
|
|
655
|
+
შ: "sh",
|
|
656
|
+
ჩ: "ch",
|
|
657
|
+
ც: "ts",
|
|
658
|
+
ძ: "dz",
|
|
659
|
+
წ: "ts",
|
|
660
|
+
ჭ: "ch",
|
|
661
|
+
ხ: "kh",
|
|
662
|
+
ჯ: "j",
|
|
663
|
+
ჰ: "h",
|
|
664
|
+
// Greek
|
|
665
|
+
α: "a",
|
|
666
|
+
β: "v",
|
|
667
|
+
γ: "g",
|
|
668
|
+
δ: "d",
|
|
669
|
+
ε: "e",
|
|
670
|
+
ζ: "z",
|
|
671
|
+
η: "i",
|
|
672
|
+
θ: "th",
|
|
673
|
+
ι: "i",
|
|
674
|
+
κ: "k",
|
|
675
|
+
λ: "l",
|
|
676
|
+
μ: "m",
|
|
677
|
+
ν: "n",
|
|
678
|
+
ξ: "ks",
|
|
679
|
+
ο: "o",
|
|
680
|
+
π: "p",
|
|
681
|
+
ρ: "r",
|
|
682
|
+
σ: "s",
|
|
683
|
+
τ: "t",
|
|
684
|
+
υ: "y",
|
|
685
|
+
φ: "f",
|
|
686
|
+
χ: "x",
|
|
687
|
+
ψ: "ps",
|
|
688
|
+
ω: "o",
|
|
689
|
+
ά: "a",
|
|
690
|
+
έ: "e",
|
|
691
|
+
ί: "i",
|
|
692
|
+
ό: "o",
|
|
693
|
+
ύ: "y",
|
|
694
|
+
ή: "i",
|
|
695
|
+
ώ: "o",
|
|
696
|
+
ς: "s",
|
|
697
|
+
ϊ: "i",
|
|
698
|
+
ΰ: "y",
|
|
699
|
+
ϋ: "y",
|
|
700
|
+
ΐ: "i",
|
|
701
|
+
Α: "A",
|
|
702
|
+
Β: "B",
|
|
703
|
+
Γ: "G",
|
|
704
|
+
Δ: "D",
|
|
705
|
+
Ε: "E",
|
|
706
|
+
Ζ: "Z",
|
|
707
|
+
Η: "I",
|
|
708
|
+
Θ: "TH",
|
|
709
|
+
Ι: "I",
|
|
710
|
+
Κ: "K",
|
|
711
|
+
Λ: "L",
|
|
712
|
+
Μ: "M",
|
|
713
|
+
Ν: "N",
|
|
714
|
+
Ξ: "KS",
|
|
715
|
+
Ο: "O",
|
|
716
|
+
Π: "P",
|
|
717
|
+
Ρ: "R",
|
|
718
|
+
Σ: "S",
|
|
719
|
+
Τ: "T",
|
|
720
|
+
Υ: "Y",
|
|
721
|
+
Φ: "F",
|
|
722
|
+
Χ: "X",
|
|
723
|
+
Ψ: "PS",
|
|
724
|
+
Ω: "O",
|
|
725
|
+
Ά: "A",
|
|
726
|
+
Έ: "E",
|
|
727
|
+
Ί: "I",
|
|
728
|
+
Ό: "O",
|
|
729
|
+
Ύ: "Y",
|
|
730
|
+
Ή: "I",
|
|
731
|
+
Ώ: "O",
|
|
732
|
+
Ϊ: "I",
|
|
733
|
+
Ϋ: "Y",
|
|
734
|
+
// Latvian
|
|
735
|
+
ā: "a",
|
|
736
|
+
// 'č': 'c', // duplicate
|
|
737
|
+
ē: "e",
|
|
738
|
+
ģ: "g",
|
|
739
|
+
ī: "i",
|
|
740
|
+
ķ: "k",
|
|
741
|
+
ļ: "l",
|
|
742
|
+
ņ: "n",
|
|
743
|
+
// 'š': 's', // duplicate
|
|
744
|
+
ū: "u",
|
|
745
|
+
// 'ž': 'z', // duplicate
|
|
746
|
+
Ā: "A",
|
|
747
|
+
// 'Č': 'C', // duplicate
|
|
748
|
+
Ē: "E",
|
|
749
|
+
Ģ: "G",
|
|
750
|
+
Ī: "I",
|
|
751
|
+
Ķ: "k",
|
|
752
|
+
Ļ: "L",
|
|
753
|
+
Ņ: "N",
|
|
754
|
+
// 'Š': 'S', // duplicate
|
|
755
|
+
Ū: "U",
|
|
756
|
+
// 'Ž': 'Z', // duplicate
|
|
757
|
+
// Macedonian
|
|
758
|
+
Ќ: "Kj",
|
|
759
|
+
ќ: "kj",
|
|
760
|
+
Љ: "Lj",
|
|
761
|
+
љ: "lj",
|
|
762
|
+
Њ: "Nj",
|
|
763
|
+
њ: "nj",
|
|
764
|
+
Тс: "Ts",
|
|
765
|
+
тс: "ts",
|
|
766
|
+
// Polish
|
|
767
|
+
ą: "a",
|
|
768
|
+
ć: "c",
|
|
769
|
+
ę: "e",
|
|
770
|
+
ł: "l",
|
|
771
|
+
ń: "n",
|
|
772
|
+
// 'ó': 'o', // duplicate
|
|
773
|
+
ś: "s",
|
|
774
|
+
ź: "z",
|
|
775
|
+
ż: "z",
|
|
776
|
+
Ą: "A",
|
|
777
|
+
Ć: "C",
|
|
778
|
+
Ę: "E",
|
|
779
|
+
Ł: "L",
|
|
780
|
+
Ń: "N",
|
|
781
|
+
Ś: "S",
|
|
782
|
+
Ź: "Z",
|
|
783
|
+
Ż: "Z",
|
|
784
|
+
// Ukranian
|
|
785
|
+
Є: "Ye",
|
|
786
|
+
І: "I",
|
|
787
|
+
Ї: "Yi",
|
|
788
|
+
Ґ: "G",
|
|
789
|
+
є: "ye",
|
|
790
|
+
і: "i",
|
|
791
|
+
ї: "yi",
|
|
792
|
+
ґ: "g",
|
|
793
|
+
// Romanian
|
|
794
|
+
ă: "a",
|
|
795
|
+
Ă: "A",
|
|
796
|
+
ș: "s",
|
|
797
|
+
Ș: "S",
|
|
798
|
+
// 'ş': 's', // duplicate
|
|
799
|
+
// 'Ş': 'S', // duplicate
|
|
800
|
+
ț: "t",
|
|
801
|
+
Ț: "T",
|
|
802
|
+
ţ: "t",
|
|
803
|
+
Ţ: "T",
|
|
804
|
+
// Russian https://en.wikipedia.org/wiki/Romanization_of_Russian
|
|
805
|
+
// ICAO
|
|
806
|
+
а: "a",
|
|
807
|
+
б: "b",
|
|
808
|
+
в: "v",
|
|
809
|
+
г: "g",
|
|
810
|
+
д: "d",
|
|
811
|
+
е: "e",
|
|
812
|
+
ё: "yo",
|
|
813
|
+
ж: "zh",
|
|
814
|
+
з: "z",
|
|
815
|
+
и: "i",
|
|
816
|
+
й: "i",
|
|
817
|
+
к: "k",
|
|
818
|
+
л: "l",
|
|
819
|
+
м: "m",
|
|
820
|
+
н: "n",
|
|
821
|
+
о: "o",
|
|
822
|
+
п: "p",
|
|
823
|
+
р: "r",
|
|
824
|
+
с: "s",
|
|
825
|
+
т: "t",
|
|
826
|
+
у: "u",
|
|
827
|
+
ф: "f",
|
|
828
|
+
х: "kh",
|
|
829
|
+
ц: "c",
|
|
830
|
+
ч: "ch",
|
|
831
|
+
ш: "sh",
|
|
832
|
+
щ: "sh",
|
|
833
|
+
ъ: "",
|
|
834
|
+
ы: "y",
|
|
835
|
+
ь: "",
|
|
836
|
+
э: "e",
|
|
837
|
+
ю: "yu",
|
|
838
|
+
я: "ya",
|
|
839
|
+
А: "A",
|
|
840
|
+
Б: "B",
|
|
841
|
+
В: "V",
|
|
842
|
+
Г: "G",
|
|
843
|
+
Д: "D",
|
|
844
|
+
Е: "E",
|
|
845
|
+
Ё: "Yo",
|
|
846
|
+
Ж: "Zh",
|
|
847
|
+
З: "Z",
|
|
848
|
+
И: "I",
|
|
849
|
+
Й: "I",
|
|
850
|
+
К: "K",
|
|
851
|
+
Л: "L",
|
|
852
|
+
М: "M",
|
|
853
|
+
Н: "N",
|
|
854
|
+
О: "O",
|
|
855
|
+
П: "P",
|
|
856
|
+
Р: "R",
|
|
857
|
+
С: "S",
|
|
858
|
+
Т: "T",
|
|
859
|
+
У: "U",
|
|
860
|
+
Ф: "F",
|
|
861
|
+
Х: "Kh",
|
|
862
|
+
Ц: "C",
|
|
863
|
+
Ч: "Ch",
|
|
864
|
+
Ш: "Sh",
|
|
865
|
+
Щ: "Sh",
|
|
866
|
+
Ъ: "",
|
|
867
|
+
Ы: "Y",
|
|
868
|
+
Ь: "",
|
|
869
|
+
Э: "E",
|
|
870
|
+
Ю: "Yu",
|
|
871
|
+
Я: "Ya",
|
|
872
|
+
// Serbian
|
|
873
|
+
ђ: "dj",
|
|
874
|
+
ј: "j",
|
|
875
|
+
// 'љ': 'lj', // duplicate
|
|
876
|
+
// 'њ': 'nj', // duplicate
|
|
877
|
+
ћ: "c",
|
|
878
|
+
џ: "dz",
|
|
879
|
+
Ђ: "Dj",
|
|
880
|
+
Ј: "j",
|
|
881
|
+
// 'Љ': 'Lj', // duplicate
|
|
882
|
+
// 'Њ': 'Nj', // duplicate
|
|
883
|
+
Ћ: "C",
|
|
884
|
+
Џ: "Dz",
|
|
885
|
+
// Slovak
|
|
886
|
+
ľ: "l",
|
|
887
|
+
ĺ: "l",
|
|
888
|
+
ŕ: "r",
|
|
889
|
+
Ľ: "L",
|
|
890
|
+
Ĺ: "L",
|
|
891
|
+
Ŕ: "R",
|
|
892
|
+
// Turkish
|
|
893
|
+
ş: "s",
|
|
894
|
+
Ş: "S",
|
|
895
|
+
ı: "i",
|
|
896
|
+
İ: "I",
|
|
897
|
+
// 'ç': 'c', // duplicate
|
|
898
|
+
// 'Ç': 'C', // duplicate
|
|
899
|
+
// 'ü': 'u', // duplicate, see langCharMap
|
|
900
|
+
// 'Ü': 'U', // duplicate, see langCharMap
|
|
901
|
+
// 'ö': 'o', // duplicate, see langCharMap
|
|
902
|
+
// 'Ö': 'O', // duplicate, see langCharMap
|
|
903
|
+
ğ: "g",
|
|
904
|
+
Ğ: "G",
|
|
905
|
+
// Vietnamese
|
|
906
|
+
ả: "a",
|
|
907
|
+
Ả: "A",
|
|
908
|
+
ẳ: "a",
|
|
909
|
+
Ẳ: "A",
|
|
910
|
+
ẩ: "a",
|
|
911
|
+
Ẩ: "A",
|
|
912
|
+
đ: "d",
|
|
913
|
+
Đ: "D",
|
|
914
|
+
ẹ: "e",
|
|
915
|
+
Ẹ: "E",
|
|
916
|
+
ẽ: "e",
|
|
917
|
+
Ẽ: "E",
|
|
918
|
+
ẻ: "e",
|
|
919
|
+
Ẻ: "E",
|
|
920
|
+
ế: "e",
|
|
921
|
+
Ế: "E",
|
|
922
|
+
ề: "e",
|
|
923
|
+
Ề: "E",
|
|
924
|
+
ệ: "e",
|
|
925
|
+
Ệ: "E",
|
|
926
|
+
ễ: "e",
|
|
927
|
+
Ễ: "E",
|
|
928
|
+
ể: "e",
|
|
929
|
+
Ể: "E",
|
|
930
|
+
ỏ: "o",
|
|
931
|
+
ọ: "o",
|
|
932
|
+
Ọ: "o",
|
|
933
|
+
ố: "o",
|
|
934
|
+
Ố: "O",
|
|
935
|
+
ồ: "o",
|
|
936
|
+
Ồ: "O",
|
|
937
|
+
ổ: "o",
|
|
938
|
+
Ổ: "O",
|
|
939
|
+
ộ: "o",
|
|
940
|
+
Ộ: "O",
|
|
941
|
+
ỗ: "o",
|
|
942
|
+
Ỗ: "O",
|
|
943
|
+
ơ: "o",
|
|
944
|
+
Ơ: "O",
|
|
945
|
+
ớ: "o",
|
|
946
|
+
Ớ: "O",
|
|
947
|
+
ờ: "o",
|
|
948
|
+
Ờ: "O",
|
|
949
|
+
ợ: "o",
|
|
950
|
+
Ợ: "O",
|
|
951
|
+
ỡ: "o",
|
|
952
|
+
Ỡ: "O",
|
|
953
|
+
Ở: "o",
|
|
954
|
+
ở: "o",
|
|
955
|
+
ị: "i",
|
|
956
|
+
Ị: "I",
|
|
957
|
+
ĩ: "i",
|
|
958
|
+
Ĩ: "I",
|
|
959
|
+
ỉ: "i",
|
|
960
|
+
Ỉ: "i",
|
|
961
|
+
ủ: "u",
|
|
962
|
+
Ủ: "U",
|
|
963
|
+
ụ: "u",
|
|
964
|
+
Ụ: "U",
|
|
965
|
+
ũ: "u",
|
|
966
|
+
Ũ: "U",
|
|
967
|
+
ư: "u",
|
|
968
|
+
Ư: "U",
|
|
969
|
+
ứ: "u",
|
|
970
|
+
Ứ: "U",
|
|
971
|
+
ừ: "u",
|
|
972
|
+
Ừ: "U",
|
|
973
|
+
ự: "u",
|
|
974
|
+
Ự: "U",
|
|
975
|
+
ữ: "u",
|
|
976
|
+
Ữ: "U",
|
|
977
|
+
ử: "u",
|
|
978
|
+
Ử: "ư",
|
|
979
|
+
ỷ: "y",
|
|
980
|
+
Ỷ: "y",
|
|
981
|
+
ỳ: "y",
|
|
982
|
+
Ỳ: "Y",
|
|
983
|
+
ỵ: "y",
|
|
984
|
+
Ỵ: "Y",
|
|
985
|
+
ỹ: "y",
|
|
986
|
+
Ỹ: "Y",
|
|
987
|
+
ạ: "a",
|
|
988
|
+
Ạ: "A",
|
|
989
|
+
ấ: "a",
|
|
990
|
+
Ấ: "A",
|
|
991
|
+
ầ: "a",
|
|
992
|
+
Ầ: "A",
|
|
993
|
+
ậ: "a",
|
|
994
|
+
Ậ: "A",
|
|
995
|
+
ẫ: "a",
|
|
996
|
+
Ẫ: "A",
|
|
997
|
+
// 'ă': 'a', // duplicate
|
|
998
|
+
// 'Ă': 'A', // duplicate
|
|
999
|
+
ắ: "a",
|
|
1000
|
+
Ắ: "A",
|
|
1001
|
+
ằ: "a",
|
|
1002
|
+
Ằ: "A",
|
|
1003
|
+
ặ: "a",
|
|
1004
|
+
Ặ: "A",
|
|
1005
|
+
ẵ: "a",
|
|
1006
|
+
Ẵ: "A",
|
|
1007
|
+
"⓪": "0",
|
|
1008
|
+
"①": "1",
|
|
1009
|
+
"②": "2",
|
|
1010
|
+
"③": "3",
|
|
1011
|
+
"④": "4",
|
|
1012
|
+
"⑤": "5",
|
|
1013
|
+
"⑥": "6",
|
|
1014
|
+
"⑦": "7",
|
|
1015
|
+
"⑧": "8",
|
|
1016
|
+
"⑨": "9",
|
|
1017
|
+
"⑩": "10",
|
|
1018
|
+
"⑪": "11",
|
|
1019
|
+
"⑫": "12",
|
|
1020
|
+
"⑬": "13",
|
|
1021
|
+
"⑭": "14",
|
|
1022
|
+
"⑮": "15",
|
|
1023
|
+
"⑯": "16",
|
|
1024
|
+
"⑰": "17",
|
|
1025
|
+
"⑱": "18",
|
|
1026
|
+
"⑲": "18",
|
|
1027
|
+
"⑳": "18",
|
|
1028
|
+
"⓵": "1",
|
|
1029
|
+
"⓶": "2",
|
|
1030
|
+
"⓷": "3",
|
|
1031
|
+
"⓸": "4",
|
|
1032
|
+
"⓹": "5",
|
|
1033
|
+
"⓺": "6",
|
|
1034
|
+
"⓻": "7",
|
|
1035
|
+
"⓼": "8",
|
|
1036
|
+
"⓽": "9",
|
|
1037
|
+
"⓾": "10",
|
|
1038
|
+
"⓿": "0",
|
|
1039
|
+
"⓫": "11",
|
|
1040
|
+
"⓬": "12",
|
|
1041
|
+
"⓭": "13",
|
|
1042
|
+
"⓮": "14",
|
|
1043
|
+
"⓯": "15",
|
|
1044
|
+
"⓰": "16",
|
|
1045
|
+
"⓱": "17",
|
|
1046
|
+
"⓲": "18",
|
|
1047
|
+
"⓳": "19",
|
|
1048
|
+
"⓴": "20",
|
|
1049
|
+
"Ⓐ": "A",
|
|
1050
|
+
"Ⓑ": "B",
|
|
1051
|
+
"Ⓒ": "C",
|
|
1052
|
+
"Ⓓ": "D",
|
|
1053
|
+
"Ⓔ": "E",
|
|
1054
|
+
"Ⓕ": "F",
|
|
1055
|
+
"Ⓖ": "G",
|
|
1056
|
+
"Ⓗ": "H",
|
|
1057
|
+
"Ⓘ": "I",
|
|
1058
|
+
"Ⓙ": "J",
|
|
1059
|
+
"Ⓚ": "K",
|
|
1060
|
+
"Ⓛ": "L",
|
|
1061
|
+
"Ⓜ": "M",
|
|
1062
|
+
"Ⓝ": "N",
|
|
1063
|
+
"Ⓞ": "O",
|
|
1064
|
+
"Ⓟ": "P",
|
|
1065
|
+
"Ⓠ": "Q",
|
|
1066
|
+
"Ⓡ": "R",
|
|
1067
|
+
"Ⓢ": "S",
|
|
1068
|
+
"Ⓣ": "T",
|
|
1069
|
+
"Ⓤ": "U",
|
|
1070
|
+
"Ⓥ": "V",
|
|
1071
|
+
"Ⓦ": "W",
|
|
1072
|
+
"Ⓧ": "X",
|
|
1073
|
+
"Ⓨ": "Y",
|
|
1074
|
+
"Ⓩ": "Z",
|
|
1075
|
+
"ⓐ": "a",
|
|
1076
|
+
"ⓑ": "b",
|
|
1077
|
+
"ⓒ": "c",
|
|
1078
|
+
"ⓓ": "d",
|
|
1079
|
+
"ⓔ": "e",
|
|
1080
|
+
"ⓕ": "f",
|
|
1081
|
+
"ⓖ": "g",
|
|
1082
|
+
"ⓗ": "h",
|
|
1083
|
+
"ⓘ": "i",
|
|
1084
|
+
"ⓙ": "j",
|
|
1085
|
+
"ⓚ": "k",
|
|
1086
|
+
"ⓛ": "l",
|
|
1087
|
+
"ⓜ": "m",
|
|
1088
|
+
"ⓝ": "n",
|
|
1089
|
+
"ⓞ": "o",
|
|
1090
|
+
"ⓟ": "p",
|
|
1091
|
+
"ⓠ": "q",
|
|
1092
|
+
"ⓡ": "r",
|
|
1093
|
+
"ⓢ": "s",
|
|
1094
|
+
"ⓣ": "t",
|
|
1095
|
+
"ⓤ": "u",
|
|
1096
|
+
"ⓦ": "v",
|
|
1097
|
+
"ⓥ": "w",
|
|
1098
|
+
"ⓧ": "x",
|
|
1099
|
+
"ⓨ": "y",
|
|
1100
|
+
"ⓩ": "z",
|
|
1101
|
+
// symbols
|
|
1102
|
+
"“": '"',
|
|
1103
|
+
"”": '"',
|
|
1104
|
+
"‘": "'",
|
|
1105
|
+
"’": "'",
|
|
1106
|
+
"∂": "d",
|
|
1107
|
+
ƒ: "f",
|
|
1108
|
+
"™": "(TM)",
|
|
1109
|
+
"©": "(C)",
|
|
1110
|
+
œ: "oe",
|
|
1111
|
+
Œ: "OE",
|
|
1112
|
+
"®": "(R)",
|
|
1113
|
+
"†": "+",
|
|
1114
|
+
"℠": "(SM)",
|
|
1115
|
+
"…": "...",
|
|
1116
|
+
"˚": "o",
|
|
1117
|
+
º: "o",
|
|
1118
|
+
ª: "a",
|
|
1119
|
+
"•": "*",
|
|
1120
|
+
"၊": ",",
|
|
1121
|
+
"။": ".",
|
|
1122
|
+
// currency
|
|
1123
|
+
$: "USD",
|
|
1124
|
+
"€": "EUR",
|
|
1125
|
+
"₢": "BRN",
|
|
1126
|
+
"₣": "FRF",
|
|
1127
|
+
"£": "GBP",
|
|
1128
|
+
"₤": "ITL",
|
|
1129
|
+
"₦": "NGN",
|
|
1130
|
+
"₧": "ESP",
|
|
1131
|
+
"₩": "KRW",
|
|
1132
|
+
"₪": "ILS",
|
|
1133
|
+
"₫": "VND",
|
|
1134
|
+
"₭": "LAK",
|
|
1135
|
+
"₮": "MNT",
|
|
1136
|
+
"₯": "GRD",
|
|
1137
|
+
"₱": "ARS",
|
|
1138
|
+
"₲": "PYG",
|
|
1139
|
+
"₳": "ARA",
|
|
1140
|
+
"₴": "UAH",
|
|
1141
|
+
"₵": "GHS",
|
|
1142
|
+
"¢": "cent",
|
|
1143
|
+
"¥": "CNY",
|
|
1144
|
+
元: "CNY",
|
|
1145
|
+
円: "YEN",
|
|
1146
|
+
"﷼": "IRR",
|
|
1147
|
+
"₠": "EWE",
|
|
1148
|
+
"฿": "THB",
|
|
1149
|
+
"₨": "INR",
|
|
1150
|
+
"₹": "INR",
|
|
1151
|
+
"₰": "PF",
|
|
1152
|
+
"₺": "TRY",
|
|
1153
|
+
"؋": "AFN",
|
|
1154
|
+
"₼": "AZN",
|
|
1155
|
+
лв: "BGN",
|
|
1156
|
+
"៛": "KHR",
|
|
1157
|
+
"₡": "CRC",
|
|
1158
|
+
"₸": "KZT",
|
|
1159
|
+
ден: "MKD",
|
|
1160
|
+
zł: "PLN",
|
|
1161
|
+
"₽": "RUB",
|
|
1162
|
+
"₾": "GEL"
|
|
1163
|
+
}, r = [
|
|
1164
|
+
// burmese
|
|
1165
|
+
"်",
|
|
1166
|
+
// Dhivehi
|
|
1167
|
+
"ް"
|
|
1168
|
+
], u = {
|
|
1169
|
+
// Burmese
|
|
1170
|
+
// dependent vowels
|
|
1171
|
+
"ာ": "a",
|
|
1172
|
+
"ါ": "a",
|
|
1173
|
+
"ေ": "e",
|
|
1174
|
+
"ဲ": "e",
|
|
1175
|
+
"ိ": "i",
|
|
1176
|
+
"ီ": "i",
|
|
1177
|
+
"ို": "o",
|
|
1178
|
+
"ု": "u",
|
|
1179
|
+
"ူ": "u",
|
|
1180
|
+
"ေါင်": "aung",
|
|
1181
|
+
"ော": "aw",
|
|
1182
|
+
"ော်": "aw",
|
|
1183
|
+
"ေါ": "aw",
|
|
1184
|
+
"ေါ်": "aw",
|
|
1185
|
+
"်": "်",
|
|
1186
|
+
// this is special case but the character will be converted to latin in the code
|
|
1187
|
+
"က်": "et",
|
|
1188
|
+
"ိုက်": "aik",
|
|
1189
|
+
"ောက်": "auk",
|
|
1190
|
+
"င်": "in",
|
|
1191
|
+
"ိုင်": "aing",
|
|
1192
|
+
"ောင်": "aung",
|
|
1193
|
+
"စ်": "it",
|
|
1194
|
+
"ည်": "i",
|
|
1195
|
+
"တ်": "at",
|
|
1196
|
+
"ိတ်": "eik",
|
|
1197
|
+
"ုတ်": "ok",
|
|
1198
|
+
"ွတ်": "ut",
|
|
1199
|
+
"ေတ်": "it",
|
|
1200
|
+
"ဒ်": "d",
|
|
1201
|
+
"ိုဒ်": "ok",
|
|
1202
|
+
"ုဒ်": "ait",
|
|
1203
|
+
"န်": "an",
|
|
1204
|
+
"ာန်": "an",
|
|
1205
|
+
"ိန်": "ein",
|
|
1206
|
+
"ုန်": "on",
|
|
1207
|
+
"ွန်": "un",
|
|
1208
|
+
"ပ်": "at",
|
|
1209
|
+
"ိပ်": "eik",
|
|
1210
|
+
"ုပ်": "ok",
|
|
1211
|
+
"ွပ်": "ut",
|
|
1212
|
+
"န်ုပ်": "nub",
|
|
1213
|
+
"မ်": "an",
|
|
1214
|
+
"ိမ်": "ein",
|
|
1215
|
+
"ုမ်": "on",
|
|
1216
|
+
"ွမ်": "un",
|
|
1217
|
+
"ယ်": "e",
|
|
1218
|
+
"ိုလ်": "ol",
|
|
1219
|
+
"ဉ်": "in",
|
|
1220
|
+
"ံ": "an",
|
|
1221
|
+
"ိံ": "ein",
|
|
1222
|
+
"ုံ": "on",
|
|
1223
|
+
// Dhivehi
|
|
1224
|
+
"ައް": "ah",
|
|
1225
|
+
"ަށް": "ah"
|
|
1226
|
+
}, s = {
|
|
1227
|
+
en: {},
|
|
1228
|
+
// default language
|
|
1229
|
+
az: {
|
|
1230
|
+
// Azerbaijani
|
|
1231
|
+
ç: "c",
|
|
1232
|
+
ə: "e",
|
|
1233
|
+
ğ: "g",
|
|
1234
|
+
ı: "i",
|
|
1235
|
+
ö: "o",
|
|
1236
|
+
ş: "s",
|
|
1237
|
+
ü: "u",
|
|
1238
|
+
Ç: "C",
|
|
1239
|
+
Ə: "E",
|
|
1240
|
+
Ğ: "G",
|
|
1241
|
+
İ: "I",
|
|
1242
|
+
Ö: "O",
|
|
1243
|
+
Ş: "S",
|
|
1244
|
+
Ü: "U"
|
|
1245
|
+
},
|
|
1246
|
+
cs: {
|
|
1247
|
+
// Czech
|
|
1248
|
+
č: "c",
|
|
1249
|
+
ď: "d",
|
|
1250
|
+
ě: "e",
|
|
1251
|
+
ň: "n",
|
|
1252
|
+
ř: "r",
|
|
1253
|
+
š: "s",
|
|
1254
|
+
ť: "t",
|
|
1255
|
+
ů: "u",
|
|
1256
|
+
ž: "z",
|
|
1257
|
+
Č: "C",
|
|
1258
|
+
Ď: "D",
|
|
1259
|
+
Ě: "E",
|
|
1260
|
+
Ň: "N",
|
|
1261
|
+
Ř: "R",
|
|
1262
|
+
Š: "S",
|
|
1263
|
+
Ť: "T",
|
|
1264
|
+
Ů: "U",
|
|
1265
|
+
Ž: "Z"
|
|
1266
|
+
},
|
|
1267
|
+
fi: {
|
|
1268
|
+
// Finnish
|
|
1269
|
+
// 'å': 'a', duplicate see charMap/latin
|
|
1270
|
+
// 'Å': 'A', duplicate see charMap/latin
|
|
1271
|
+
ä: "a",
|
|
1272
|
+
// ok
|
|
1273
|
+
Ä: "A",
|
|
1274
|
+
// ok
|
|
1275
|
+
ö: "o",
|
|
1276
|
+
// ok
|
|
1277
|
+
Ö: "O"
|
|
1278
|
+
// ok
|
|
1279
|
+
},
|
|
1280
|
+
hu: {
|
|
1281
|
+
// Hungarian
|
|
1282
|
+
ä: "a",
|
|
1283
|
+
// ok
|
|
1284
|
+
Ä: "A",
|
|
1285
|
+
// ok
|
|
1286
|
+
// 'á': 'a', duplicate see charMap/latin
|
|
1287
|
+
// 'Á': 'A', duplicate see charMap/latin
|
|
1288
|
+
ö: "o",
|
|
1289
|
+
// ok
|
|
1290
|
+
Ö: "O",
|
|
1291
|
+
// ok
|
|
1292
|
+
// 'ő': 'o', duplicate see charMap/latin
|
|
1293
|
+
// 'Ő': 'O', duplicate see charMap/latin
|
|
1294
|
+
ü: "u",
|
|
1295
|
+
Ü: "U",
|
|
1296
|
+
ű: "u",
|
|
1297
|
+
Ű: "U"
|
|
1298
|
+
},
|
|
1299
|
+
lt: {
|
|
1300
|
+
// Lithuanian
|
|
1301
|
+
ą: "a",
|
|
1302
|
+
č: "c",
|
|
1303
|
+
ę: "e",
|
|
1304
|
+
ė: "e",
|
|
1305
|
+
į: "i",
|
|
1306
|
+
š: "s",
|
|
1307
|
+
ų: "u",
|
|
1308
|
+
ū: "u",
|
|
1309
|
+
ž: "z",
|
|
1310
|
+
Ą: "A",
|
|
1311
|
+
Č: "C",
|
|
1312
|
+
Ę: "E",
|
|
1313
|
+
Ė: "E",
|
|
1314
|
+
Į: "I",
|
|
1315
|
+
Š: "S",
|
|
1316
|
+
Ų: "U",
|
|
1317
|
+
Ū: "U"
|
|
1318
|
+
},
|
|
1319
|
+
lv: {
|
|
1320
|
+
// Latvian
|
|
1321
|
+
ā: "a",
|
|
1322
|
+
č: "c",
|
|
1323
|
+
ē: "e",
|
|
1324
|
+
ģ: "g",
|
|
1325
|
+
ī: "i",
|
|
1326
|
+
ķ: "k",
|
|
1327
|
+
ļ: "l",
|
|
1328
|
+
ņ: "n",
|
|
1329
|
+
š: "s",
|
|
1330
|
+
ū: "u",
|
|
1331
|
+
ž: "z",
|
|
1332
|
+
Ā: "A",
|
|
1333
|
+
Č: "C",
|
|
1334
|
+
Ē: "E",
|
|
1335
|
+
Ģ: "G",
|
|
1336
|
+
Ī: "i",
|
|
1337
|
+
Ķ: "k",
|
|
1338
|
+
Ļ: "L",
|
|
1339
|
+
Ņ: "N",
|
|
1340
|
+
Š: "S",
|
|
1341
|
+
Ū: "u",
|
|
1342
|
+
Ž: "Z"
|
|
1343
|
+
},
|
|
1344
|
+
pl: {
|
|
1345
|
+
// Polish
|
|
1346
|
+
ą: "a",
|
|
1347
|
+
ć: "c",
|
|
1348
|
+
ę: "e",
|
|
1349
|
+
ł: "l",
|
|
1350
|
+
ń: "n",
|
|
1351
|
+
ó: "o",
|
|
1352
|
+
ś: "s",
|
|
1353
|
+
ź: "z",
|
|
1354
|
+
ż: "z",
|
|
1355
|
+
Ą: "A",
|
|
1356
|
+
Ć: "C",
|
|
1357
|
+
Ę: "e",
|
|
1358
|
+
Ł: "L",
|
|
1359
|
+
Ń: "N",
|
|
1360
|
+
Ó: "O",
|
|
1361
|
+
Ś: "S",
|
|
1362
|
+
Ź: "Z",
|
|
1363
|
+
Ż: "Z"
|
|
1364
|
+
},
|
|
1365
|
+
sv: {
|
|
1366
|
+
// Swedish
|
|
1367
|
+
// 'å': 'a', duplicate see charMap/latin
|
|
1368
|
+
// 'Å': 'A', duplicate see charMap/latin
|
|
1369
|
+
ä: "a",
|
|
1370
|
+
// ok
|
|
1371
|
+
Ä: "A",
|
|
1372
|
+
// ok
|
|
1373
|
+
ö: "o",
|
|
1374
|
+
// ok
|
|
1375
|
+
Ö: "O"
|
|
1376
|
+
// ok
|
|
1377
|
+
},
|
|
1378
|
+
sk: {
|
|
1379
|
+
// Slovak
|
|
1380
|
+
ä: "a",
|
|
1381
|
+
Ä: "A"
|
|
1382
|
+
},
|
|
1383
|
+
sr: {
|
|
1384
|
+
// Serbian
|
|
1385
|
+
љ: "lj",
|
|
1386
|
+
њ: "nj",
|
|
1387
|
+
Љ: "Lj",
|
|
1388
|
+
Њ: "Nj",
|
|
1389
|
+
đ: "dj",
|
|
1390
|
+
Đ: "Dj"
|
|
1391
|
+
},
|
|
1392
|
+
tr: {
|
|
1393
|
+
// Turkish
|
|
1394
|
+
Ü: "U",
|
|
1395
|
+
Ö: "O",
|
|
1396
|
+
ü: "u",
|
|
1397
|
+
ö: "o"
|
|
1398
|
+
}
|
|
1399
|
+
}, i = {
|
|
1400
|
+
ar: {
|
|
1401
|
+
"∆": "delta",
|
|
1402
|
+
"∞": "la-nihaya",
|
|
1403
|
+
"♥": "hob",
|
|
1404
|
+
"&": "wa",
|
|
1405
|
+
"|": "aw",
|
|
1406
|
+
"<": "aqal-men",
|
|
1407
|
+
">": "akbar-men",
|
|
1408
|
+
"∑": "majmou",
|
|
1409
|
+
"¤": "omla"
|
|
1410
|
+
},
|
|
1411
|
+
az: {},
|
|
1412
|
+
ca: {
|
|
1413
|
+
"∆": "delta",
|
|
1414
|
+
"∞": "infinit",
|
|
1415
|
+
"♥": "amor",
|
|
1416
|
+
"&": "i",
|
|
1417
|
+
"|": "o",
|
|
1418
|
+
"<": "menys que",
|
|
1419
|
+
">": "mes que",
|
|
1420
|
+
"∑": "suma dels",
|
|
1421
|
+
"¤": "moneda"
|
|
1422
|
+
},
|
|
1423
|
+
cs: {
|
|
1424
|
+
"∆": "delta",
|
|
1425
|
+
"∞": "nekonecno",
|
|
1426
|
+
"♥": "laska",
|
|
1427
|
+
"&": "a",
|
|
1428
|
+
"|": "nebo",
|
|
1429
|
+
"<": "mensi nez",
|
|
1430
|
+
">": "vetsi nez",
|
|
1431
|
+
"∑": "soucet",
|
|
1432
|
+
"¤": "mena"
|
|
1433
|
+
},
|
|
1434
|
+
de: {
|
|
1435
|
+
"∆": "delta",
|
|
1436
|
+
"∞": "unendlich",
|
|
1437
|
+
"♥": "Liebe",
|
|
1438
|
+
"&": "und",
|
|
1439
|
+
"|": "oder",
|
|
1440
|
+
"<": "kleiner als",
|
|
1441
|
+
">": "groesser als",
|
|
1442
|
+
"∑": "Summe von",
|
|
1443
|
+
"¤": "Waehrung"
|
|
1444
|
+
},
|
|
1445
|
+
dv: {
|
|
1446
|
+
"∆": "delta",
|
|
1447
|
+
"∞": "kolunulaa",
|
|
1448
|
+
"♥": "loabi",
|
|
1449
|
+
"&": "aai",
|
|
1450
|
+
"|": "noonee",
|
|
1451
|
+
"<": "ah vure kuda",
|
|
1452
|
+
">": "ah vure bodu",
|
|
1453
|
+
"∑": "jumula",
|
|
1454
|
+
"¤": "faisaa"
|
|
1455
|
+
},
|
|
1456
|
+
en: {
|
|
1457
|
+
"∆": "delta",
|
|
1458
|
+
"∞": "infinity",
|
|
1459
|
+
"♥": "love",
|
|
1460
|
+
"&": "and",
|
|
1461
|
+
"|": "or",
|
|
1462
|
+
"<": "less than",
|
|
1463
|
+
">": "greater than",
|
|
1464
|
+
"∑": "sum",
|
|
1465
|
+
"¤": "currency"
|
|
1466
|
+
},
|
|
1467
|
+
es: {
|
|
1468
|
+
"∆": "delta",
|
|
1469
|
+
"∞": "infinito",
|
|
1470
|
+
"♥": "amor",
|
|
1471
|
+
"&": "y",
|
|
1472
|
+
"|": "u",
|
|
1473
|
+
"<": "menos que",
|
|
1474
|
+
">": "mas que",
|
|
1475
|
+
"∑": "suma de los",
|
|
1476
|
+
"¤": "moneda"
|
|
1477
|
+
},
|
|
1478
|
+
fa: {
|
|
1479
|
+
"∆": "delta",
|
|
1480
|
+
"∞": "bi-nahayat",
|
|
1481
|
+
"♥": "eshgh",
|
|
1482
|
+
"&": "va",
|
|
1483
|
+
"|": "ya",
|
|
1484
|
+
"<": "kamtar-az",
|
|
1485
|
+
">": "bishtar-az",
|
|
1486
|
+
"∑": "majmooe",
|
|
1487
|
+
"¤": "vahed"
|
|
1488
|
+
},
|
|
1489
|
+
fi: {
|
|
1490
|
+
"∆": "delta",
|
|
1491
|
+
"∞": "aarettomyys",
|
|
1492
|
+
"♥": "rakkaus",
|
|
1493
|
+
"&": "ja",
|
|
1494
|
+
"|": "tai",
|
|
1495
|
+
"<": "pienempi kuin",
|
|
1496
|
+
">": "suurempi kuin",
|
|
1497
|
+
"∑": "summa",
|
|
1498
|
+
"¤": "valuutta"
|
|
1499
|
+
},
|
|
1500
|
+
fr: {
|
|
1501
|
+
"∆": "delta",
|
|
1502
|
+
"∞": "infiniment",
|
|
1503
|
+
"♥": "Amour",
|
|
1504
|
+
"&": "et",
|
|
1505
|
+
"|": "ou",
|
|
1506
|
+
"<": "moins que",
|
|
1507
|
+
">": "superieure a",
|
|
1508
|
+
"∑": "somme des",
|
|
1509
|
+
"¤": "monnaie"
|
|
1510
|
+
},
|
|
1511
|
+
ge: {
|
|
1512
|
+
"∆": "delta",
|
|
1513
|
+
"∞": "usasruloba",
|
|
1514
|
+
"♥": "siqvaruli",
|
|
1515
|
+
"&": "da",
|
|
1516
|
+
"|": "an",
|
|
1517
|
+
"<": "naklebi",
|
|
1518
|
+
">": "meti",
|
|
1519
|
+
"∑": "jami",
|
|
1520
|
+
"¤": "valuta"
|
|
1521
|
+
},
|
|
1522
|
+
gr: {},
|
|
1523
|
+
hu: {
|
|
1524
|
+
"∆": "delta",
|
|
1525
|
+
"∞": "vegtelen",
|
|
1526
|
+
"♥": "szerelem",
|
|
1527
|
+
"&": "es",
|
|
1528
|
+
"|": "vagy",
|
|
1529
|
+
"<": "kisebb mint",
|
|
1530
|
+
">": "nagyobb mint",
|
|
1531
|
+
"∑": "szumma",
|
|
1532
|
+
"¤": "penznem"
|
|
1533
|
+
},
|
|
1534
|
+
it: {
|
|
1535
|
+
"∆": "delta",
|
|
1536
|
+
"∞": "infinito",
|
|
1537
|
+
"♥": "amore",
|
|
1538
|
+
"&": "e",
|
|
1539
|
+
"|": "o",
|
|
1540
|
+
"<": "minore di",
|
|
1541
|
+
">": "maggiore di",
|
|
1542
|
+
"∑": "somma",
|
|
1543
|
+
"¤": "moneta"
|
|
1544
|
+
},
|
|
1545
|
+
lt: {
|
|
1546
|
+
"∆": "delta",
|
|
1547
|
+
"∞": "begalybe",
|
|
1548
|
+
"♥": "meile",
|
|
1549
|
+
"&": "ir",
|
|
1550
|
+
"|": "ar",
|
|
1551
|
+
"<": "maziau nei",
|
|
1552
|
+
">": "daugiau nei",
|
|
1553
|
+
"∑": "suma",
|
|
1554
|
+
"¤": "valiuta"
|
|
1555
|
+
},
|
|
1556
|
+
lv: {
|
|
1557
|
+
"∆": "delta",
|
|
1558
|
+
"∞": "bezgaliba",
|
|
1559
|
+
"♥": "milestiba",
|
|
1560
|
+
"&": "un",
|
|
1561
|
+
"|": "vai",
|
|
1562
|
+
"<": "mazak neka",
|
|
1563
|
+
">": "lielaks neka",
|
|
1564
|
+
"∑": "summa",
|
|
1565
|
+
"¤": "valuta"
|
|
1566
|
+
},
|
|
1567
|
+
my: {
|
|
1568
|
+
"∆": "kwahkhyaet",
|
|
1569
|
+
"∞": "asaonasme",
|
|
1570
|
+
"♥": "akhyait",
|
|
1571
|
+
"&": "nhin",
|
|
1572
|
+
"|": "tho",
|
|
1573
|
+
"<": "ngethaw",
|
|
1574
|
+
">": "kyithaw",
|
|
1575
|
+
"∑": "paungld",
|
|
1576
|
+
"¤": "ngwekye"
|
|
1577
|
+
},
|
|
1578
|
+
mk: {},
|
|
1579
|
+
nl: {
|
|
1580
|
+
"∆": "delta",
|
|
1581
|
+
"∞": "oneindig",
|
|
1582
|
+
"♥": "liefde",
|
|
1583
|
+
"&": "en",
|
|
1584
|
+
"|": "of",
|
|
1585
|
+
"<": "kleiner dan",
|
|
1586
|
+
">": "groter dan",
|
|
1587
|
+
"∑": "som",
|
|
1588
|
+
"¤": "valuta"
|
|
1589
|
+
},
|
|
1590
|
+
pl: {
|
|
1591
|
+
"∆": "delta",
|
|
1592
|
+
"∞": "nieskonczonosc",
|
|
1593
|
+
"♥": "milosc",
|
|
1594
|
+
"&": "i",
|
|
1595
|
+
"|": "lub",
|
|
1596
|
+
"<": "mniejsze niz",
|
|
1597
|
+
">": "wieksze niz",
|
|
1598
|
+
"∑": "suma",
|
|
1599
|
+
"¤": "waluta"
|
|
1600
|
+
},
|
|
1601
|
+
pt: {
|
|
1602
|
+
"∆": "delta",
|
|
1603
|
+
"∞": "infinito",
|
|
1604
|
+
"♥": "amor",
|
|
1605
|
+
"&": "e",
|
|
1606
|
+
"|": "ou",
|
|
1607
|
+
"<": "menor que",
|
|
1608
|
+
">": "maior que",
|
|
1609
|
+
"∑": "soma",
|
|
1610
|
+
"¤": "moeda"
|
|
1611
|
+
},
|
|
1612
|
+
ro: {
|
|
1613
|
+
"∆": "delta",
|
|
1614
|
+
"∞": "infinit",
|
|
1615
|
+
"♥": "dragoste",
|
|
1616
|
+
"&": "si",
|
|
1617
|
+
"|": "sau",
|
|
1618
|
+
"<": "mai mic ca",
|
|
1619
|
+
">": "mai mare ca",
|
|
1620
|
+
"∑": "suma",
|
|
1621
|
+
"¤": "valuta"
|
|
1622
|
+
},
|
|
1623
|
+
ru: {
|
|
1624
|
+
"∆": "delta",
|
|
1625
|
+
"∞": "beskonechno",
|
|
1626
|
+
"♥": "lubov",
|
|
1627
|
+
"&": "i",
|
|
1628
|
+
"|": "ili",
|
|
1629
|
+
"<": "menshe",
|
|
1630
|
+
">": "bolshe",
|
|
1631
|
+
"∑": "summa",
|
|
1632
|
+
"¤": "valjuta"
|
|
1633
|
+
},
|
|
1634
|
+
sk: {
|
|
1635
|
+
"∆": "delta",
|
|
1636
|
+
"∞": "nekonecno",
|
|
1637
|
+
"♥": "laska",
|
|
1638
|
+
"&": "a",
|
|
1639
|
+
"|": "alebo",
|
|
1640
|
+
"<": "menej ako",
|
|
1641
|
+
">": "viac ako",
|
|
1642
|
+
"∑": "sucet",
|
|
1643
|
+
"¤": "mena"
|
|
1644
|
+
},
|
|
1645
|
+
sr: {},
|
|
1646
|
+
tr: {
|
|
1647
|
+
"∆": "delta",
|
|
1648
|
+
"∞": "sonsuzluk",
|
|
1649
|
+
"♥": "ask",
|
|
1650
|
+
"&": "ve",
|
|
1651
|
+
"|": "veya",
|
|
1652
|
+
"<": "kucuktur",
|
|
1653
|
+
">": "buyuktur",
|
|
1654
|
+
"∑": "toplam",
|
|
1655
|
+
"¤": "para birimi"
|
|
1656
|
+
},
|
|
1657
|
+
uk: {
|
|
1658
|
+
"∆": "delta",
|
|
1659
|
+
"∞": "bezkinechnist",
|
|
1660
|
+
"♥": "lubov",
|
|
1661
|
+
"&": "i",
|
|
1662
|
+
"|": "abo",
|
|
1663
|
+
"<": "menshe",
|
|
1664
|
+
">": "bilshe",
|
|
1665
|
+
"∑": "suma",
|
|
1666
|
+
"¤": "valjuta"
|
|
1667
|
+
},
|
|
1668
|
+
vn: {
|
|
1669
|
+
"∆": "delta",
|
|
1670
|
+
"∞": "vo cuc",
|
|
1671
|
+
"♥": "yeu",
|
|
1672
|
+
"&": "va",
|
|
1673
|
+
"|": "hoac",
|
|
1674
|
+
"<": "nho hon",
|
|
1675
|
+
">": "lon hon",
|
|
1676
|
+
"∑": "tong",
|
|
1677
|
+
"¤": "tien te"
|
|
1678
|
+
}
|
|
1679
|
+
}, l = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), f = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), v = [".", "!", "~", "*", "'", "(", ")"].join(""), c = function(h, g) {
|
|
1680
|
+
var T = "-", b = "", V = "", Y = !0, U = {}, O, he, x, m, E, C, k, L, re, $, S, H, I, ue, q = "";
|
|
1681
|
+
if (typeof h != "string")
|
|
1682
|
+
return "";
|
|
1683
|
+
if (typeof g == "string" && (T = g), k = i.en, L = s.en, typeof g == "object") {
|
|
1684
|
+
O = g.maintainCase || !1, U = g.custom && typeof g.custom == "object" ? g.custom : U, x = +g.truncate > 1 && g.truncate || !1, m = g.uric || !1, E = g.uricNoSlash || !1, C = g.mark || !1, Y = !(g.symbols === !1 || g.lang === !1), T = g.separator || T, m && (q += l), E && (q += f), C && (q += v), k = g.lang && i[g.lang] && Y ? i[g.lang] : Y ? i.en : {}, L = g.lang && s[g.lang] ? s[g.lang] : g.lang === !1 || g.lang === !0 ? {} : s.en, g.titleCase && typeof g.titleCase.length == "number" && Array.prototype.toString.call(g.titleCase) ? (g.titleCase.forEach(function(M) {
|
|
1685
|
+
U[M + ""] = M + "";
|
|
1686
|
+
}), he = !0) : he = !!g.titleCase, g.custom && typeof g.custom.length == "number" && Array.prototype.toString.call(g.custom) && g.custom.forEach(function(M) {
|
|
1687
|
+
U[M + ""] = M + "";
|
|
1688
|
+
}), Object.keys(U).forEach(function(M) {
|
|
1689
|
+
var ge;
|
|
1690
|
+
M.length > 1 ? ge = new RegExp("\\b" + d(M) + "\\b", "gi") : ge = new RegExp(d(M), "gi"), h = h.replace(ge, U[M]);
|
|
1691
|
+
});
|
|
1692
|
+
for (S in U)
|
|
1693
|
+
q += S;
|
|
1694
|
+
}
|
|
1695
|
+
for (q += T, q = d(q), h = h.replace(/(^\s+|\s+$)/g, ""), I = !1, ue = !1, $ = 0, H = h.length; $ < H; $++)
|
|
1696
|
+
S = h[$], _(S, U) ? I = !1 : L[S] ? (S = I && L[S].match(/[A-Za-z0-9]/) ? " " + L[S] : L[S], I = !1) : S in o ? ($ + 1 < H && r.indexOf(h[$ + 1]) >= 0 ? (V += S, S = "") : ue === !0 ? (S = u[V] + o[S], V = "") : S = I && o[S].match(/[A-Za-z0-9]/) ? " " + o[S] : o[S], I = !1, ue = !1) : S in u ? (V += S, S = "", $ === H - 1 && (S = u[V]), ue = !0) : /* process symbol chars */ k[S] && !(m && l.indexOf(S) !== -1) && !(E && f.indexOf(S) !== -1) ? (S = I || b.substr(-1).match(/[A-Za-z0-9]/) ? T + k[S] : k[S], S += h[$ + 1] !== void 0 && h[$ + 1].match(/[A-Za-z0-9]/) ? T : "", I = !0) : (ue === !0 ? (S = u[V] + S, V = "", ue = !1) : I && (/[A-Za-z0-9]/.test(S) || b.substr(-1).match(/A-Za-z0-9]/)) && (S = " " + S), I = !1), b += S.replace(new RegExp("[^\\w\\s" + q + "_-]", "g"), T);
|
|
1697
|
+
return he && (b = b.replace(/(\w)(\S*)/g, function(M, ge, yt) {
|
|
1698
|
+
var Me = ge.toUpperCase() + (yt !== null ? yt : "");
|
|
1699
|
+
return Object.keys(U).indexOf(Me.toLowerCase()) < 0 ? Me : Me.toLowerCase();
|
|
1700
|
+
})), b = b.replace(/\s+/g, T).replace(new RegExp("\\" + T + "+", "g"), T).replace(new RegExp("(^\\" + T + "+|\\" + T + "+$)", "g"), ""), x && b.length > x && (re = b.charAt(x) === T, b = b.slice(0, x), re || (b = b.slice(0, b.lastIndexOf(T)))), !O && !he && (b = b.toLowerCase()), b;
|
|
1701
|
+
}, y = function(h) {
|
|
1702
|
+
return function(T) {
|
|
1703
|
+
return c(T, h);
|
|
1704
|
+
};
|
|
1705
|
+
}, d = function(h) {
|
|
1706
|
+
return h.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
|
|
1707
|
+
}, _ = function(A, h) {
|
|
1708
|
+
for (var g in h)
|
|
1709
|
+
if (h[g] === A)
|
|
1710
|
+
return !0;
|
|
1711
|
+
};
|
|
1712
|
+
if (typeof t < "u" && t.exports)
|
|
1713
|
+
t.exports = c, t.exports.createSlug = y;
|
|
1714
|
+
else if (typeof define < "u" && define.amd)
|
|
1715
|
+
define([], function() {
|
|
1716
|
+
return c;
|
|
1717
|
+
});
|
|
1718
|
+
else
|
|
1719
|
+
try {
|
|
1720
|
+
if (n.getSlug || n.createSlug)
|
|
1721
|
+
throw "speakingurl: globals exists /(getSlug|createSlug)/";
|
|
1722
|
+
n.getSlug = c, n.createSlug = y;
|
|
1723
|
+
} catch {
|
|
1724
|
+
}
|
|
1725
|
+
}(e);
|
|
1726
|
+
}
|
|
1727
|
+
}), lr = $n({
|
|
1728
|
+
"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e, t) {
|
|
1729
|
+
a(), t.exports = ar();
|
|
1730
|
+
}
|
|
1731
|
+
});
|
|
1732
|
+
a();
|
|
1733
|
+
a();
|
|
1734
|
+
a();
|
|
1735
|
+
a();
|
|
1736
|
+
a();
|
|
1737
|
+
a();
|
|
1738
|
+
a();
|
|
1739
|
+
a();
|
|
1740
|
+
function cr(e) {
|
|
1741
|
+
var t;
|
|
1742
|
+
const n = e.name || e._componentTag || e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || e.__name;
|
|
1743
|
+
return n === "index" && ((t = e.__file) != null && t.endsWith("index.vue")) ? "" : n;
|
|
1744
|
+
}
|
|
1745
|
+
function fr(e) {
|
|
1746
|
+
const t = e.__file;
|
|
1747
|
+
if (t)
|
|
1748
|
+
return Go(Wo(t, ".vue"));
|
|
1749
|
+
}
|
|
1750
|
+
function Tt(e, t) {
|
|
1751
|
+
return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ = t, t;
|
|
1752
|
+
}
|
|
1753
|
+
function lt(e) {
|
|
1754
|
+
if (e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)
|
|
1755
|
+
return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
|
|
1756
|
+
if (e.root)
|
|
1757
|
+
return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
|
|
1758
|
+
}
|
|
1759
|
+
function Mn(e) {
|
|
1760
|
+
var t, n;
|
|
1761
|
+
const o = (t = e.subTree) == null ? void 0 : t.type, r = lt(e);
|
|
1762
|
+
return r ? ((n = r == null ? void 0 : r.types) == null ? void 0 : n.Fragment) === o : !1;
|
|
1763
|
+
}
|
|
1764
|
+
function Le(e) {
|
|
1765
|
+
var t, n, o;
|
|
1766
|
+
const r = cr((e == null ? void 0 : e.type) || {});
|
|
1767
|
+
if (r)
|
|
1768
|
+
return r;
|
|
1769
|
+
if ((e == null ? void 0 : e.root) === e)
|
|
1770
|
+
return "Root";
|
|
1771
|
+
for (const s in (n = (t = e.parent) == null ? void 0 : t.type) == null ? void 0 : n.components)
|
|
1772
|
+
if (e.parent.type.components[s] === (e == null ? void 0 : e.type))
|
|
1773
|
+
return Tt(e, s);
|
|
1774
|
+
for (const s in (o = e.appContext) == null ? void 0 : o.components)
|
|
1775
|
+
if (e.appContext.components[s] === (e == null ? void 0 : e.type))
|
|
1776
|
+
return Tt(e, s);
|
|
1777
|
+
const u = fr((e == null ? void 0 : e.type) || {});
|
|
1778
|
+
return u || "Anonymous Component";
|
|
1779
|
+
}
|
|
1780
|
+
function dr(e) {
|
|
1781
|
+
var t, n, o;
|
|
1782
|
+
const r = (o = (n = (t = e == null ? void 0 : e.appContext) == null ? void 0 : t.app) == null ? void 0 : n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__) != null ? o : 0, u = e === (e == null ? void 0 : e.root) ? "root" : e.uid;
|
|
1783
|
+
return `${r}:${u}`;
|
|
1784
|
+
}
|
|
1785
|
+
function qe(e, t) {
|
|
1786
|
+
return t = t || `${e.id}:root`, e.instanceMap.get(t) || e.instanceMap.get(":root");
|
|
1787
|
+
}
|
|
1788
|
+
function _r() {
|
|
1789
|
+
const e = {
|
|
1790
|
+
top: 0,
|
|
1791
|
+
bottom: 0,
|
|
1792
|
+
left: 0,
|
|
1793
|
+
right: 0,
|
|
1794
|
+
get width() {
|
|
1795
|
+
return e.right - e.left;
|
|
1796
|
+
},
|
|
1797
|
+
get height() {
|
|
1798
|
+
return e.bottom - e.top;
|
|
1799
|
+
}
|
|
1800
|
+
};
|
|
1801
|
+
return e;
|
|
1802
|
+
}
|
|
1803
|
+
var Ce;
|
|
1804
|
+
function pr(e) {
|
|
1805
|
+
return Ce || (Ce = document.createRange()), Ce.selectNode(e), Ce.getBoundingClientRect();
|
|
1806
|
+
}
|
|
1807
|
+
function Er(e) {
|
|
1808
|
+
const t = _r();
|
|
1809
|
+
if (!e.children)
|
|
1810
|
+
return t;
|
|
1811
|
+
for (let n = 0, o = e.children.length; n < o; n++) {
|
|
1812
|
+
const r = e.children[n];
|
|
1813
|
+
let u;
|
|
1814
|
+
if (r.component)
|
|
1815
|
+
u = ne(r.component);
|
|
1816
|
+
else if (r.el) {
|
|
1817
|
+
const s = r.el;
|
|
1818
|
+
s.nodeType === 1 || s.getBoundingClientRect ? u = s.getBoundingClientRect() : s.nodeType === 3 && s.data.trim() && (u = pr(s));
|
|
1819
|
+
}
|
|
1820
|
+
u && hr(t, u);
|
|
1821
|
+
}
|
|
1822
|
+
return t;
|
|
1823
|
+
}
|
|
1824
|
+
function hr(e, t) {
|
|
1825
|
+
return (!e.top || t.top < e.top) && (e.top = t.top), (!e.bottom || t.bottom > e.bottom) && (e.bottom = t.bottom), (!e.left || t.left < e.left) && (e.left = t.left), (!e.right || t.right > e.right) && (e.right = t.right), e;
|
|
1826
|
+
}
|
|
1827
|
+
var Ct = {
|
|
1828
|
+
top: 0,
|
|
1829
|
+
left: 0,
|
|
1830
|
+
right: 0,
|
|
1831
|
+
bottom: 0,
|
|
1832
|
+
width: 0,
|
|
1833
|
+
height: 0
|
|
1834
|
+
};
|
|
1835
|
+
function ne(e) {
|
|
1836
|
+
const t = e.subTree.el;
|
|
1837
|
+
return typeof window > "u" ? Ct : Mn(e) ? Er(e.subTree) : (t == null ? void 0 : t.nodeType) === 1 ? t == null ? void 0 : t.getBoundingClientRect() : e.subTree.component ? ne(e.subTree.component) : Ct;
|
|
1838
|
+
}
|
|
1839
|
+
a();
|
|
1840
|
+
function ct(e) {
|
|
1841
|
+
return Mn(e) ? gr(e.subTree) : e.subTree ? [e.subTree.el] : [];
|
|
1842
|
+
}
|
|
1843
|
+
function gr(e) {
|
|
1844
|
+
if (!e.children)
|
|
1845
|
+
return [];
|
|
1846
|
+
const t = [];
|
|
1847
|
+
return e.children.forEach((n) => {
|
|
1848
|
+
n.component ? t.push(...ct(n.component)) : n != null && n.el && t.push(n.el);
|
|
1849
|
+
}), t;
|
|
1850
|
+
}
|
|
1851
|
+
var jn = "__vue-devtools-component-inspector__", Hn = "__vue-devtools-component-inspector__card__", Kn = "__vue-devtools-component-inspector__name__", zn = "__vue-devtools-component-inspector__indicator__", Gn = {
|
|
1852
|
+
display: "block",
|
|
1853
|
+
zIndex: 2147483640,
|
|
1854
|
+
position: "fixed",
|
|
1855
|
+
backgroundColor: "#42b88325",
|
|
1856
|
+
border: "1px solid #42b88350",
|
|
1857
|
+
borderRadius: "5px",
|
|
1858
|
+
transition: "all 0.1s ease-in",
|
|
1859
|
+
pointerEvents: "none"
|
|
1860
|
+
}, mr = {
|
|
1861
|
+
fontFamily: "Arial, Helvetica, sans-serif",
|
|
1862
|
+
padding: "5px 8px",
|
|
1863
|
+
borderRadius: "4px",
|
|
1864
|
+
textAlign: "left",
|
|
1865
|
+
position: "absolute",
|
|
1866
|
+
left: 0,
|
|
1867
|
+
color: "#e9e9e9",
|
|
1868
|
+
fontSize: "14px",
|
|
1869
|
+
fontWeight: 600,
|
|
1870
|
+
lineHeight: "24px",
|
|
1871
|
+
backgroundColor: "#42b883",
|
|
1872
|
+
boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"
|
|
1873
|
+
}, vr = {
|
|
1874
|
+
display: "inline-block",
|
|
1875
|
+
fontWeight: 400,
|
|
1876
|
+
fontStyle: "normal",
|
|
1877
|
+
fontSize: "12px",
|
|
1878
|
+
opacity: 0.7
|
|
1879
|
+
};
|
|
1880
|
+
function pe() {
|
|
1881
|
+
return document.getElementById(jn);
|
|
1882
|
+
}
|
|
1883
|
+
function yr() {
|
|
1884
|
+
return document.getElementById(Hn);
|
|
1885
|
+
}
|
|
1886
|
+
function Ar() {
|
|
1887
|
+
return document.getElementById(zn);
|
|
1888
|
+
}
|
|
1889
|
+
function Or() {
|
|
1890
|
+
return document.getElementById(Kn);
|
|
1891
|
+
}
|
|
1892
|
+
function ft(e) {
|
|
1893
|
+
return {
|
|
1894
|
+
left: `${Math.round(e.left * 100) / 100}px`,
|
|
1895
|
+
top: `${Math.round(e.top * 100) / 100}px`,
|
|
1896
|
+
width: `${Math.round(e.width * 100) / 100}px`,
|
|
1897
|
+
height: `${Math.round(e.height * 100) / 100}px`
|
|
1898
|
+
};
|
|
1899
|
+
}
|
|
1900
|
+
function dt(e) {
|
|
1901
|
+
var t;
|
|
1902
|
+
const n = document.createElement("div");
|
|
1903
|
+
n.id = (t = e.elementId) != null ? t : jn, Object.assign(n.style, {
|
|
1904
|
+
...Gn,
|
|
1905
|
+
...ft(e.bounds),
|
|
1906
|
+
...e.style
|
|
1907
|
+
});
|
|
1908
|
+
const o = document.createElement("span");
|
|
1909
|
+
o.id = Hn, Object.assign(o.style, {
|
|
1910
|
+
...mr,
|
|
1911
|
+
top: e.bounds.top < 35 ? 0 : "-35px"
|
|
1912
|
+
});
|
|
1913
|
+
const r = document.createElement("span");
|
|
1914
|
+
r.id = Kn, r.innerHTML = `<${e.name}> `;
|
|
1915
|
+
const u = document.createElement("i");
|
|
1916
|
+
return u.id = zn, u.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(u.style, vr), o.appendChild(r), o.appendChild(u), n.appendChild(o), document.body.appendChild(n), n;
|
|
1917
|
+
}
|
|
1918
|
+
function _t(e) {
|
|
1919
|
+
const t = pe(), n = yr(), o = Or(), r = Ar();
|
|
1920
|
+
t && (Object.assign(t.style, {
|
|
1921
|
+
...Gn,
|
|
1922
|
+
...ft(e.bounds)
|
|
1923
|
+
}), Object.assign(n.style, {
|
|
1924
|
+
top: e.bounds.top < 35 ? 0 : "-35px"
|
|
1925
|
+
}), o.innerHTML = `<${e.name}> `, r.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`);
|
|
1926
|
+
}
|
|
1927
|
+
function Sr(e) {
|
|
1928
|
+
const t = ne(e);
|
|
1929
|
+
if (!t.width && !t.height)
|
|
1930
|
+
return;
|
|
1931
|
+
const n = Le(e);
|
|
1932
|
+
pe() ? _t({ bounds: t, name: n }) : dt({ bounds: t, name: n });
|
|
1933
|
+
}
|
|
1934
|
+
function Wn() {
|
|
1935
|
+
const e = pe();
|
|
1936
|
+
e && (e.style.display = "none");
|
|
1937
|
+
}
|
|
1938
|
+
var Ze = null;
|
|
1939
|
+
function Xe(e) {
|
|
1940
|
+
const t = e.target;
|
|
1941
|
+
if (t) {
|
|
1942
|
+
const n = t.__vueParentComponent;
|
|
1943
|
+
if (n && (Ze = n, n.vnode.el)) {
|
|
1944
|
+
const r = ne(n), u = Le(n);
|
|
1945
|
+
pe() ? _t({ bounds: r, name: u }) : dt({ bounds: r, name: u });
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
}
|
|
1949
|
+
function br(e, t) {
|
|
1950
|
+
if (e.preventDefault(), e.stopPropagation(), Ze) {
|
|
1951
|
+
const n = dr(Ze);
|
|
1952
|
+
t(n);
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
var Ve = null;
|
|
1956
|
+
function Tr() {
|
|
1957
|
+
Wn(), window.removeEventListener("mouseover", Xe), window.removeEventListener("click", Ve, !0), Ve = null;
|
|
1958
|
+
}
|
|
1959
|
+
function Cr() {
|
|
1960
|
+
return window.addEventListener("mouseover", Xe), new Promise((e) => {
|
|
1961
|
+
function t(n) {
|
|
1962
|
+
n.preventDefault(), n.stopPropagation(), br(n, (o) => {
|
|
1963
|
+
window.removeEventListener("click", t, !0), Ve = null, window.removeEventListener("mouseover", Xe);
|
|
1964
|
+
const r = pe();
|
|
1965
|
+
r && (r.style.display = "none"), e(JSON.stringify({ id: o }));
|
|
1966
|
+
});
|
|
1967
|
+
}
|
|
1968
|
+
Ve = t, window.addEventListener("click", t, !0);
|
|
1969
|
+
});
|
|
1970
|
+
}
|
|
1971
|
+
function Dr(e) {
|
|
1972
|
+
const t = qe(N.value, e.id);
|
|
1973
|
+
if (t) {
|
|
1974
|
+
const [n] = ct(t);
|
|
1975
|
+
if (typeof n.scrollIntoView == "function")
|
|
1976
|
+
n.scrollIntoView({
|
|
1977
|
+
behavior: "smooth"
|
|
1978
|
+
});
|
|
1979
|
+
else {
|
|
1980
|
+
const o = ne(t), r = document.createElement("div"), u = {
|
|
1981
|
+
...ft(o),
|
|
1982
|
+
position: "absolute"
|
|
1983
|
+
};
|
|
1984
|
+
Object.assign(r.style, u), document.body.appendChild(r), r.scrollIntoView({
|
|
1985
|
+
behavior: "smooth"
|
|
1986
|
+
}), setTimeout(() => {
|
|
1987
|
+
document.body.removeChild(r);
|
|
1988
|
+
}, 2e3);
|
|
1989
|
+
}
|
|
1990
|
+
setTimeout(() => {
|
|
1991
|
+
const o = ne(t);
|
|
1992
|
+
if (o.width || o.height) {
|
|
1993
|
+
const r = Le(t), u = pe();
|
|
1994
|
+
u ? _t({ ...e, name: r, bounds: o }) : dt({ ...e, name: r, bounds: o }), setTimeout(() => {
|
|
1995
|
+
u && (u.style.display = "none");
|
|
1996
|
+
}, 1500);
|
|
1997
|
+
}
|
|
1998
|
+
}, 1200);
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
a();
|
|
2002
|
+
var Dt, It;
|
|
2003
|
+
(It = (Dt = p).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__) != null || (Dt.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0);
|
|
2004
|
+
function Ir(e) {
|
|
2005
|
+
let t = 0;
|
|
2006
|
+
const n = setInterval(() => {
|
|
2007
|
+
p.__VUE_INSPECTOR__ && (clearInterval(n), t += 30, e()), t >= /* 5s */
|
|
2008
|
+
5e3 && clearInterval(n);
|
|
2009
|
+
}, 30);
|
|
2010
|
+
}
|
|
2011
|
+
function wr() {
|
|
2012
|
+
const e = p.__VUE_INSPECTOR__, t = e.openInEditor;
|
|
2013
|
+
e.openInEditor = async (...n) => {
|
|
2014
|
+
e.disable(), t(...n);
|
|
2015
|
+
};
|
|
2016
|
+
}
|
|
2017
|
+
function kr() {
|
|
2018
|
+
return new Promise((e) => {
|
|
2019
|
+
function t() {
|
|
2020
|
+
wr(), e(p.__VUE_INSPECTOR__);
|
|
2021
|
+
}
|
|
2022
|
+
p.__VUE_INSPECTOR__ ? t() : Ir(() => {
|
|
2023
|
+
t();
|
|
2024
|
+
});
|
|
2025
|
+
});
|
|
2026
|
+
}
|
|
2027
|
+
a();
|
|
2028
|
+
a();
|
|
2029
|
+
function Pr(e) {
|
|
2030
|
+
return !!(e && e.__v_isReadonly);
|
|
2031
|
+
}
|
|
2032
|
+
function Yn(e) {
|
|
2033
|
+
return Pr(e) ? Yn(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
2034
|
+
}
|
|
2035
|
+
function He(e) {
|
|
2036
|
+
return !!(e && e.__v_isRef === !0);
|
|
2037
|
+
}
|
|
2038
|
+
function me(e) {
|
|
2039
|
+
const t = e && e.__v_raw;
|
|
2040
|
+
return t ? me(t) : e;
|
|
2041
|
+
}
|
|
2042
|
+
var Rr = class {
|
|
2043
|
+
constructor() {
|
|
2044
|
+
this.refEditor = new Nr();
|
|
2045
|
+
}
|
|
2046
|
+
set(e, t, n, o) {
|
|
2047
|
+
const r = Array.isArray(t) ? t : t.split(".");
|
|
2048
|
+
for (; r.length > 1; ) {
|
|
2049
|
+
const i = r.shift();
|
|
2050
|
+
e instanceof Map ? e = e.get(i) : e instanceof Set ? e = Array.from(e.values())[i] : e = e[i], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
|
|
2051
|
+
}
|
|
2052
|
+
const u = r[0], s = this.refEditor.get(e)[u];
|
|
2053
|
+
o ? o(e, u, n) : this.refEditor.isRef(s) ? this.refEditor.set(s, n) : e[u] = n;
|
|
2054
|
+
}
|
|
2055
|
+
get(e, t) {
|
|
2056
|
+
const n = Array.isArray(t) ? t : t.split(".");
|
|
2057
|
+
for (let o = 0; o < n.length; o++)
|
|
2058
|
+
if (e instanceof Map ? e = e.get(n[o]) : e = e[n[o]], this.refEditor.isRef(e) && (e = this.refEditor.get(e)), !e)
|
|
2059
|
+
return;
|
|
2060
|
+
return e;
|
|
2061
|
+
}
|
|
2062
|
+
has(e, t, n = !1) {
|
|
2063
|
+
if (typeof e > "u")
|
|
2064
|
+
return !1;
|
|
2065
|
+
const o = Array.isArray(t) ? t.slice() : t.split("."), r = n ? 2 : 1;
|
|
2066
|
+
for (; e && o.length > r; ) {
|
|
2067
|
+
const u = o.shift();
|
|
2068
|
+
e = e[u], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
|
|
2069
|
+
}
|
|
2070
|
+
return e != null && Object.prototype.hasOwnProperty.call(e, o[0]);
|
|
2071
|
+
}
|
|
2072
|
+
createDefaultSetCallback(e) {
|
|
2073
|
+
return (t, n, o) => {
|
|
2074
|
+
if ((e.remove || e.newKey) && (Array.isArray(t) ? t.splice(n, 1) : me(t) instanceof Map ? t.delete(n) : me(t) instanceof Set ? t.delete(Array.from(t.values())[n]) : Reflect.deleteProperty(t, n)), !e.remove) {
|
|
2075
|
+
const r = t[e.newKey || n];
|
|
2076
|
+
this.refEditor.isRef(r) ? this.refEditor.set(r, o) : me(t) instanceof Map ? t.set(e.newKey || n, o) : me(t) instanceof Set ? t.add(o) : t[e.newKey || n] = o;
|
|
2077
|
+
}
|
|
2078
|
+
};
|
|
2079
|
+
}
|
|
2080
|
+
}, Nr = class {
|
|
2081
|
+
set(e, t) {
|
|
2082
|
+
if (He(e))
|
|
2083
|
+
e.value = t;
|
|
2084
|
+
else {
|
|
2085
|
+
if (e instanceof Set && Array.isArray(t)) {
|
|
2086
|
+
e.clear(), t.forEach((r) => e.add(r));
|
|
2087
|
+
return;
|
|
2088
|
+
}
|
|
2089
|
+
const n = Object.keys(t);
|
|
2090
|
+
if (e instanceof Map) {
|
|
2091
|
+
const r = new Set(e.keys());
|
|
2092
|
+
n.forEach((u) => {
|
|
2093
|
+
e.set(u, Reflect.get(t, u)), r.delete(u);
|
|
2094
|
+
}), r.forEach((u) => e.delete(u));
|
|
2095
|
+
return;
|
|
2096
|
+
}
|
|
2097
|
+
const o = new Set(Object.keys(e));
|
|
2098
|
+
n.forEach((r) => {
|
|
2099
|
+
Reflect.set(e, r, Reflect.get(t, r)), o.delete(r);
|
|
2100
|
+
}), o.forEach((r) => Reflect.deleteProperty(e, r));
|
|
2101
|
+
}
|
|
2102
|
+
}
|
|
2103
|
+
get(e) {
|
|
2104
|
+
return He(e) ? e.value : e;
|
|
2105
|
+
}
|
|
2106
|
+
isRef(e) {
|
|
2107
|
+
return He(e) || Yn(e);
|
|
2108
|
+
}
|
|
2109
|
+
};
|
|
2110
|
+
a();
|
|
2111
|
+
a();
|
|
2112
|
+
a();
|
|
2113
|
+
var Vr = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
|
|
2114
|
+
function xr() {
|
|
2115
|
+
if (typeof window > "u" || !Fn || typeof localStorage > "u" || localStorage === null)
|
|
2116
|
+
return {
|
|
2117
|
+
recordingState: !1,
|
|
2118
|
+
mouseEventEnabled: !1,
|
|
2119
|
+
keyboardEventEnabled: !1,
|
|
2120
|
+
componentEventEnabled: !1,
|
|
2121
|
+
performanceEventEnabled: !1,
|
|
2122
|
+
selected: ""
|
|
2123
|
+
};
|
|
2124
|
+
const e = typeof localStorage.getItem < "u" ? localStorage.getItem(Vr) : null;
|
|
2125
|
+
return e ? JSON.parse(e) : {
|
|
2126
|
+
recordingState: !1,
|
|
2127
|
+
mouseEventEnabled: !1,
|
|
2128
|
+
keyboardEventEnabled: !1,
|
|
2129
|
+
componentEventEnabled: !1,
|
|
2130
|
+
performanceEventEnabled: !1,
|
|
2131
|
+
selected: ""
|
|
2132
|
+
};
|
|
2133
|
+
}
|
|
2134
|
+
a();
|
|
2135
|
+
a();
|
|
2136
|
+
a();
|
|
2137
|
+
var wt, kt;
|
|
2138
|
+
(kt = (wt = p).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS) != null || (wt.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
|
|
2139
|
+
var Fr = new Proxy(p.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
|
|
2140
|
+
get(e, t, n) {
|
|
2141
|
+
return Reflect.get(e, t, n);
|
|
2142
|
+
}
|
|
2143
|
+
});
|
|
2144
|
+
function Ur(e, t) {
|
|
2145
|
+
w.timelineLayersState[t.id] = !1, Fr.push({
|
|
2146
|
+
...e,
|
|
2147
|
+
descriptorId: t.id,
|
|
2148
|
+
appRecord: lt(t.app)
|
|
2149
|
+
});
|
|
2150
|
+
}
|
|
2151
|
+
var Pt, Rt;
|
|
2152
|
+
(Rt = (Pt = p).__VUE_DEVTOOLS_KIT_INSPECTOR__) != null || (Pt.__VUE_DEVTOOLS_KIT_INSPECTOR__ = []);
|
|
2153
|
+
var pt = new Proxy(p.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
|
|
2154
|
+
get(e, t, n) {
|
|
2155
|
+
return Reflect.get(e, t, n);
|
|
2156
|
+
}
|
|
2157
|
+
}), qn = fe(() => {
|
|
2158
|
+
Ee.hooks.callHook("sendInspectorToClient", Zn());
|
|
2159
|
+
});
|
|
2160
|
+
function Lr(e, t) {
|
|
2161
|
+
var n, o;
|
|
2162
|
+
pt.push({
|
|
2163
|
+
options: e,
|
|
2164
|
+
descriptor: t,
|
|
2165
|
+
treeFilterPlaceholder: (n = e.treeFilterPlaceholder) != null ? n : "Search tree...",
|
|
2166
|
+
stateFilterPlaceholder: (o = e.stateFilterPlaceholder) != null ? o : "Search state...",
|
|
2167
|
+
treeFilter: "",
|
|
2168
|
+
selectedNodeId: "",
|
|
2169
|
+
appRecord: lt(t.app)
|
|
2170
|
+
}), qn();
|
|
2171
|
+
}
|
|
2172
|
+
function Zn() {
|
|
2173
|
+
return pt.filter((e) => e.descriptor.app === N.value.app).filter((e) => e.descriptor.id !== "components").map((e) => {
|
|
2174
|
+
var t;
|
|
2175
|
+
const n = e.descriptor, o = e.options;
|
|
2176
|
+
return {
|
|
2177
|
+
id: o.id,
|
|
2178
|
+
label: o.label,
|
|
2179
|
+
logo: n.logo,
|
|
2180
|
+
icon: `custom-ic-baseline-${(t = o == null ? void 0 : o.icon) == null ? void 0 : t.replace(/_/g, "-")}`,
|
|
2181
|
+
packageName: n.packageName,
|
|
2182
|
+
homepage: n.homepage,
|
|
2183
|
+
pluginId: n.id
|
|
2184
|
+
};
|
|
2185
|
+
});
|
|
2186
|
+
}
|
|
2187
|
+
function Ie(e, t) {
|
|
2188
|
+
return pt.find((n) => n.options.id === e && (t ? n.descriptor.app === t : !0));
|
|
2189
|
+
}
|
|
2190
|
+
function Br() {
|
|
2191
|
+
const e = Ln();
|
|
2192
|
+
e.hook("addInspector", ({ inspector: o, plugin: r }) => {
|
|
2193
|
+
Lr(o, r.descriptor);
|
|
2194
|
+
});
|
|
2195
|
+
const t = fe(async ({ inspectorId: o, plugin: r }) => {
|
|
2196
|
+
var u;
|
|
2197
|
+
if (!o || !((u = r == null ? void 0 : r.descriptor) != null && u.app) || w.highPerfModeEnabled)
|
|
2198
|
+
return;
|
|
2199
|
+
const s = Ie(o, r.descriptor.app), i = {
|
|
2200
|
+
app: r.descriptor.app,
|
|
2201
|
+
inspectorId: o,
|
|
2202
|
+
filter: (s == null ? void 0 : s.treeFilter) || "",
|
|
2203
|
+
rootNodes: []
|
|
2204
|
+
};
|
|
2205
|
+
await new Promise((l) => {
|
|
2206
|
+
e.callHookWith(
|
|
2207
|
+
async (f) => {
|
|
2208
|
+
await Promise.all(f.map((v) => v(i))), l();
|
|
2209
|
+
},
|
|
2210
|
+
"getInspectorTree"
|
|
2211
|
+
/* GET_INSPECTOR_TREE */
|
|
2212
|
+
);
|
|
2213
|
+
}), e.callHookWith(
|
|
2214
|
+
async (l) => {
|
|
2215
|
+
await Promise.all(l.map((f) => f({
|
|
2216
|
+
inspectorId: o,
|
|
2217
|
+
rootNodes: i.rootNodes
|
|
2218
|
+
})));
|
|
2219
|
+
},
|
|
2220
|
+
"sendInspectorTreeToClient"
|
|
2221
|
+
/* SEND_INSPECTOR_TREE_TO_CLIENT */
|
|
2222
|
+
);
|
|
2223
|
+
}, 120);
|
|
2224
|
+
e.hook("sendInspectorTree", t);
|
|
2225
|
+
const n = fe(async ({ inspectorId: o, plugin: r }) => {
|
|
2226
|
+
var u;
|
|
2227
|
+
if (!o || !((u = r == null ? void 0 : r.descriptor) != null && u.app) || w.highPerfModeEnabled)
|
|
2228
|
+
return;
|
|
2229
|
+
const s = Ie(o, r.descriptor.app), i = {
|
|
2230
|
+
app: r.descriptor.app,
|
|
2231
|
+
inspectorId: o,
|
|
2232
|
+
nodeId: (s == null ? void 0 : s.selectedNodeId) || "",
|
|
2233
|
+
state: null
|
|
2234
|
+
}, l = {
|
|
2235
|
+
currentTab: `custom-inspector:${o}`
|
|
2236
|
+
};
|
|
2237
|
+
i.nodeId && await new Promise((f) => {
|
|
2238
|
+
e.callHookWith(
|
|
2239
|
+
async (v) => {
|
|
2240
|
+
await Promise.all(v.map((c) => c(i, l))), f();
|
|
2241
|
+
},
|
|
2242
|
+
"getInspectorState"
|
|
2243
|
+
/* GET_INSPECTOR_STATE */
|
|
2244
|
+
);
|
|
2245
|
+
}), e.callHookWith(
|
|
2246
|
+
async (f) => {
|
|
2247
|
+
await Promise.all(f.map((v) => v({
|
|
2248
|
+
inspectorId: o,
|
|
2249
|
+
nodeId: i.nodeId,
|
|
2250
|
+
state: i.state
|
|
2251
|
+
})));
|
|
2252
|
+
},
|
|
2253
|
+
"sendInspectorStateToClient"
|
|
2254
|
+
/* SEND_INSPECTOR_STATE_TO_CLIENT */
|
|
2255
|
+
);
|
|
2256
|
+
}, 120);
|
|
2257
|
+
return e.hook("sendInspectorState", n), e.hook("customInspectorSelectNode", ({ inspectorId: o, nodeId: r, plugin: u }) => {
|
|
2258
|
+
const s = Ie(o, u.descriptor.app);
|
|
2259
|
+
s && (s.selectedNodeId = r);
|
|
2260
|
+
}), e.hook("timelineLayerAdded", ({ options: o, plugin: r }) => {
|
|
2261
|
+
Ur(o, r.descriptor);
|
|
2262
|
+
}), e.hook("timelineEventAdded", ({ options: o, plugin: r }) => {
|
|
2263
|
+
var u;
|
|
2264
|
+
const s = ["performance", "component-event", "keyboard", "mouse"];
|
|
2265
|
+
w.highPerfModeEnabled || !((u = w.timelineLayersState) != null && u[r.descriptor.id]) && !s.includes(o.layerId) || e.callHookWith(
|
|
2266
|
+
async (i) => {
|
|
2267
|
+
await Promise.all(i.map((l) => l(o)));
|
|
2268
|
+
},
|
|
2269
|
+
"sendTimelineEventToClient"
|
|
2270
|
+
/* SEND_TIMELINE_EVENT_TO_CLIENT */
|
|
2271
|
+
);
|
|
2272
|
+
}), e.hook("getComponentInstances", async ({ app: o }) => {
|
|
2273
|
+
const r = o.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
|
|
2274
|
+
if (!r)
|
|
2275
|
+
return null;
|
|
2276
|
+
const u = r.id.toString();
|
|
2277
|
+
return [...r.instanceMap].filter(([i]) => i.split(":")[0] === u).map(([, i]) => i);
|
|
2278
|
+
}), e.hook("getComponentBounds", async ({ instance: o }) => ne(o)), e.hook("getComponentName", ({ instance: o }) => Le(o)), e.hook("componentHighlight", ({ uid: o }) => {
|
|
2279
|
+
const r = N.value.instanceMap.get(o);
|
|
2280
|
+
r && Sr(r);
|
|
2281
|
+
}), e.hook("componentUnhighlight", () => {
|
|
2282
|
+
Wn();
|
|
2283
|
+
}), e;
|
|
2284
|
+
}
|
|
2285
|
+
var Nt, Vt;
|
|
2286
|
+
(Vt = (Nt = p).__VUE_DEVTOOLS_KIT_APP_RECORDS__) != null || (Nt.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = []);
|
|
2287
|
+
var xt, Ft;
|
|
2288
|
+
(Ft = (xt = p).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__) != null || (xt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {});
|
|
2289
|
+
var Ut, Lt;
|
|
2290
|
+
(Lt = (Ut = p).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__) != null || (Ut.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "");
|
|
2291
|
+
var Bt, $t;
|
|
2292
|
+
($t = (Bt = p).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__) != null || (Bt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []);
|
|
2293
|
+
var Mt, jt;
|
|
2294
|
+
(jt = (Mt = p).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__) != null || (Mt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = []);
|
|
2295
|
+
var ee = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
|
|
2296
|
+
function $r() {
|
|
2297
|
+
return {
|
|
2298
|
+
connected: !1,
|
|
2299
|
+
clientConnected: !1,
|
|
2300
|
+
vitePluginDetected: !0,
|
|
2301
|
+
appRecords: [],
|
|
2302
|
+
activeAppRecordId: "",
|
|
2303
|
+
tabs: [],
|
|
2304
|
+
commands: [],
|
|
2305
|
+
highPerfModeEnabled: !0,
|
|
2306
|
+
devtoolsClientDetected: {},
|
|
2307
|
+
perfUniqueGroupId: 0,
|
|
2308
|
+
timelineLayersState: xr()
|
|
2309
|
+
};
|
|
2310
|
+
}
|
|
2311
|
+
var Ht, Kt;
|
|
2312
|
+
(Kt = (Ht = p)[ee]) != null || (Ht[ee] = $r());
|
|
2313
|
+
var Mr = fe((e) => {
|
|
2314
|
+
Ee.hooks.callHook("devtoolsStateUpdated", { state: e });
|
|
2315
|
+
});
|
|
2316
|
+
fe((e, t) => {
|
|
2317
|
+
Ee.hooks.callHook("devtoolsConnectedUpdated", { state: e, oldState: t });
|
|
2318
|
+
});
|
|
2319
|
+
var Be = new Proxy(p.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
|
|
2320
|
+
get(e, t, n) {
|
|
2321
|
+
return t === "value" ? p.__VUE_DEVTOOLS_KIT_APP_RECORDS__ : p.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t];
|
|
2322
|
+
}
|
|
2323
|
+
}), N = new Proxy(p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, {
|
|
2324
|
+
get(e, t, n) {
|
|
2325
|
+
return t === "value" ? p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ : t === "id" ? p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ : p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t];
|
|
2326
|
+
}
|
|
2327
|
+
});
|
|
2328
|
+
function Xn() {
|
|
2329
|
+
Mr({
|
|
2330
|
+
...p[ee],
|
|
2331
|
+
appRecords: Be.value,
|
|
2332
|
+
activeAppRecordId: N.id,
|
|
2333
|
+
tabs: p.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,
|
|
2334
|
+
commands: p.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
|
|
2335
|
+
});
|
|
2336
|
+
}
|
|
2337
|
+
function jr(e) {
|
|
2338
|
+
p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = e, Xn();
|
|
2339
|
+
}
|
|
2340
|
+
function Hr(e) {
|
|
2341
|
+
p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = e, Xn();
|
|
2342
|
+
}
|
|
2343
|
+
var w = new Proxy(p[ee], {
|
|
2344
|
+
get(e, t) {
|
|
2345
|
+
return t === "appRecords" ? Be : t === "activeAppRecordId" ? N.id : t === "tabs" ? p.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : t === "commands" ? p.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : p[ee][t];
|
|
2346
|
+
},
|
|
2347
|
+
deleteProperty(e, t) {
|
|
2348
|
+
return delete e[t], !0;
|
|
2349
|
+
},
|
|
2350
|
+
set(e, t, n) {
|
|
2351
|
+
return { ...p[ee] }, e[t] = n, p[ee][t] = n, !0;
|
|
2352
|
+
}
|
|
2353
|
+
});
|
|
2354
|
+
function Kr(e = {}) {
|
|
2355
|
+
var t, n, o;
|
|
2356
|
+
const { file: r, host: u, baseUrl: s = window.location.origin, line: i = 0, column: l = 0 } = e;
|
|
2357
|
+
if (r) {
|
|
2358
|
+
if (u === "chrome-extension") {
|
|
2359
|
+
const f = r.replace(/\\/g, "\\\\"), v = (n = (t = window.VUE_DEVTOOLS_CONFIG) == null ? void 0 : t.openInEditorHost) != null ? n : "/";
|
|
2360
|
+
fetch(`${v}__open-in-editor?file=${encodeURI(r)}`).then((c) => {
|
|
2361
|
+
if (!c.ok) {
|
|
2362
|
+
const y = `Opening component ${f} failed`;
|
|
2363
|
+
console.log(`%c${y}`, "color:red");
|
|
2364
|
+
}
|
|
2365
|
+
});
|
|
2366
|
+
} else if (w.vitePluginDetected) {
|
|
2367
|
+
const f = (o = p.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? o : s;
|
|
2368
|
+
p.__VUE_INSPECTOR__.openInEditor(f, r, i, l);
|
|
2369
|
+
}
|
|
2370
|
+
}
|
|
2371
|
+
}
|
|
2372
|
+
a();
|
|
2373
|
+
a();
|
|
2374
|
+
a();
|
|
2375
|
+
a();
|
|
2376
|
+
a();
|
|
2377
|
+
var zt, Gt;
|
|
2378
|
+
(Gt = (zt = p).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__) != null || (zt.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = []);
|
|
2379
|
+
var Et = new Proxy(p.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, {
|
|
2380
|
+
get(e, t, n) {
|
|
2381
|
+
return Reflect.get(e, t, n);
|
|
2382
|
+
}
|
|
2383
|
+
});
|
|
2384
|
+
function Je(e) {
|
|
2385
|
+
const t = {};
|
|
2386
|
+
return Object.keys(e).forEach((n) => {
|
|
2387
|
+
t[n] = e[n].defaultValue;
|
|
2388
|
+
}), t;
|
|
2389
|
+
}
|
|
2390
|
+
function ht(e) {
|
|
2391
|
+
return `__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`;
|
|
2392
|
+
}
|
|
2393
|
+
function zr(e) {
|
|
2394
|
+
var t, n, o;
|
|
2395
|
+
const r = (n = (t = Et.find((u) => {
|
|
2396
|
+
var s;
|
|
2397
|
+
return u[0].id === e && !!((s = u[0]) != null && s.settings);
|
|
2398
|
+
})) == null ? void 0 : t[0]) != null ? n : null;
|
|
2399
|
+
return (o = r == null ? void 0 : r.settings) != null ? o : null;
|
|
2400
|
+
}
|
|
2401
|
+
function Jn(e, t) {
|
|
2402
|
+
var n, o, r;
|
|
2403
|
+
const u = ht(e);
|
|
2404
|
+
if (u) {
|
|
2405
|
+
const s = localStorage.getItem(u);
|
|
2406
|
+
if (s)
|
|
2407
|
+
return JSON.parse(s);
|
|
2408
|
+
}
|
|
2409
|
+
if (e) {
|
|
2410
|
+
const s = (o = (n = Et.find((i) => i[0].id === e)) == null ? void 0 : n[0]) != null ? o : null;
|
|
2411
|
+
return Je((r = s == null ? void 0 : s.settings) != null ? r : {});
|
|
2412
|
+
}
|
|
2413
|
+
return Je(t);
|
|
2414
|
+
}
|
|
2415
|
+
function Gr(e, t) {
|
|
2416
|
+
const n = ht(e);
|
|
2417
|
+
localStorage.getItem(n) || localStorage.setItem(n, JSON.stringify(Je(t)));
|
|
2418
|
+
}
|
|
2419
|
+
function Wr(e, t, n) {
|
|
2420
|
+
const o = ht(e), r = localStorage.getItem(o), u = JSON.parse(r || "{}"), s = {
|
|
2421
|
+
...u,
|
|
2422
|
+
[t]: n
|
|
2423
|
+
};
|
|
2424
|
+
localStorage.setItem(o, JSON.stringify(s)), Ee.hooks.callHookWith(
|
|
2425
|
+
(i) => {
|
|
2426
|
+
i.forEach((l) => l({
|
|
2427
|
+
pluginId: e,
|
|
2428
|
+
key: t,
|
|
2429
|
+
oldValue: u[t],
|
|
2430
|
+
newValue: n,
|
|
2431
|
+
settings: s
|
|
2432
|
+
}));
|
|
2433
|
+
},
|
|
2434
|
+
"setPluginSettings"
|
|
2435
|
+
/* SET_PLUGIN_SETTINGS */
|
|
2436
|
+
);
|
|
2437
|
+
}
|
|
2438
|
+
a();
|
|
2439
|
+
a();
|
|
2440
|
+
a();
|
|
2441
|
+
a();
|
|
2442
|
+
a();
|
|
2443
|
+
a();
|
|
2444
|
+
a();
|
|
2445
|
+
a();
|
|
2446
|
+
a();
|
|
2447
|
+
a();
|
|
2448
|
+
a();
|
|
2449
|
+
var Wt, Yt, F = (Yt = (Wt = p).__VUE_DEVTOOLS_HOOK) != null ? Yt : Wt.__VUE_DEVTOOLS_HOOK = Ln(), Yr = {
|
|
2450
|
+
vueAppInit(e) {
|
|
2451
|
+
F.hook("app:init", e);
|
|
2452
|
+
},
|
|
2453
|
+
vueAppUnmount(e) {
|
|
2454
|
+
F.hook("app:unmount", e);
|
|
2455
|
+
},
|
|
2456
|
+
vueAppConnected(e) {
|
|
2457
|
+
F.hook("app:connected", e);
|
|
2458
|
+
},
|
|
2459
|
+
componentAdded(e) {
|
|
2460
|
+
return F.hook("component:added", e);
|
|
2461
|
+
},
|
|
2462
|
+
componentEmit(e) {
|
|
2463
|
+
return F.hook("component:emit", e);
|
|
2464
|
+
},
|
|
2465
|
+
componentUpdated(e) {
|
|
2466
|
+
return F.hook("component:updated", e);
|
|
2467
|
+
},
|
|
2468
|
+
componentRemoved(e) {
|
|
2469
|
+
return F.hook("component:removed", e);
|
|
2470
|
+
},
|
|
2471
|
+
setupDevtoolsPlugin(e) {
|
|
2472
|
+
F.hook("devtools-plugin:setup", e);
|
|
2473
|
+
},
|
|
2474
|
+
perfStart(e) {
|
|
2475
|
+
return F.hook("perf:start", e);
|
|
2476
|
+
},
|
|
2477
|
+
perfEnd(e) {
|
|
2478
|
+
return F.hook("perf:end", e);
|
|
2479
|
+
}
|
|
2480
|
+
}, Qn = {
|
|
2481
|
+
on: Yr,
|
|
2482
|
+
setupDevToolsPlugin(e, t) {
|
|
2483
|
+
return F.callHook("devtools-plugin:setup", e, t);
|
|
2484
|
+
}
|
|
2485
|
+
}, qr = class {
|
|
2486
|
+
constructor({ plugin: e, ctx: t }) {
|
|
2487
|
+
this.hooks = t.hooks, this.plugin = e;
|
|
2488
|
+
}
|
|
2489
|
+
get on() {
|
|
2490
|
+
return {
|
|
2491
|
+
// component inspector
|
|
2492
|
+
visitComponentTree: (e) => {
|
|
2493
|
+
this.hooks.hook("visitComponentTree", e);
|
|
2494
|
+
},
|
|
2495
|
+
inspectComponent: (e) => {
|
|
2496
|
+
this.hooks.hook("inspectComponent", e);
|
|
2497
|
+
},
|
|
2498
|
+
editComponentState: (e) => {
|
|
2499
|
+
this.hooks.hook("editComponentState", e);
|
|
2500
|
+
},
|
|
2501
|
+
// custom inspector
|
|
2502
|
+
getInspectorTree: (e) => {
|
|
2503
|
+
this.hooks.hook("getInspectorTree", e);
|
|
2504
|
+
},
|
|
2505
|
+
getInspectorState: (e) => {
|
|
2506
|
+
this.hooks.hook("getInspectorState", e);
|
|
2507
|
+
},
|
|
2508
|
+
editInspectorState: (e) => {
|
|
2509
|
+
this.hooks.hook("editInspectorState", e);
|
|
2510
|
+
},
|
|
2511
|
+
// timeline
|
|
2512
|
+
inspectTimelineEvent: (e) => {
|
|
2513
|
+
this.hooks.hook("inspectTimelineEvent", e);
|
|
2514
|
+
},
|
|
2515
|
+
timelineCleared: (e) => {
|
|
2516
|
+
this.hooks.hook("timelineCleared", e);
|
|
2517
|
+
},
|
|
2518
|
+
// settings
|
|
2519
|
+
setPluginSettings: (e) => {
|
|
2520
|
+
this.hooks.hook("setPluginSettings", e);
|
|
2521
|
+
}
|
|
2522
|
+
};
|
|
2523
|
+
}
|
|
2524
|
+
// component inspector
|
|
2525
|
+
notifyComponentUpdate(e) {
|
|
2526
|
+
var t;
|
|
2527
|
+
if (w.highPerfModeEnabled)
|
|
2528
|
+
return;
|
|
2529
|
+
const n = Zn().find((o) => o.packageName === this.plugin.descriptor.packageName);
|
|
2530
|
+
if (n != null && n.id) {
|
|
2531
|
+
if (e) {
|
|
2532
|
+
const o = [
|
|
2533
|
+
e.appContext.app,
|
|
2534
|
+
e.uid,
|
|
2535
|
+
(t = e.parent) == null ? void 0 : t.uid,
|
|
2536
|
+
e
|
|
2537
|
+
];
|
|
2538
|
+
F.callHook("component:updated", ...o);
|
|
2539
|
+
} else
|
|
2540
|
+
F.callHook(
|
|
2541
|
+
"component:updated"
|
|
2542
|
+
/* COMPONENT_UPDATED */
|
|
2543
|
+
);
|
|
2544
|
+
this.hooks.callHook("sendInspectorState", { inspectorId: n.id, plugin: this.plugin });
|
|
2545
|
+
}
|
|
2546
|
+
}
|
|
2547
|
+
// custom inspector
|
|
2548
|
+
addInspector(e) {
|
|
2549
|
+
this.hooks.callHook("addInspector", { inspector: e, plugin: this.plugin }), this.plugin.descriptor.settings && Gr(e.id, this.plugin.descriptor.settings);
|
|
2550
|
+
}
|
|
2551
|
+
sendInspectorTree(e) {
|
|
2552
|
+
w.highPerfModeEnabled || this.hooks.callHook("sendInspectorTree", { inspectorId: e, plugin: this.plugin });
|
|
2553
|
+
}
|
|
2554
|
+
sendInspectorState(e) {
|
|
2555
|
+
w.highPerfModeEnabled || this.hooks.callHook("sendInspectorState", { inspectorId: e, plugin: this.plugin });
|
|
2556
|
+
}
|
|
2557
|
+
selectInspectorNode(e, t) {
|
|
2558
|
+
this.hooks.callHook("customInspectorSelectNode", { inspectorId: e, nodeId: t, plugin: this.plugin });
|
|
2559
|
+
}
|
|
2560
|
+
visitComponentTree(e) {
|
|
2561
|
+
return this.hooks.callHook("visitComponentTree", e);
|
|
2562
|
+
}
|
|
2563
|
+
// timeline
|
|
2564
|
+
now() {
|
|
2565
|
+
return w.highPerfModeEnabled ? 0 : Date.now();
|
|
2566
|
+
}
|
|
2567
|
+
addTimelineLayer(e) {
|
|
2568
|
+
this.hooks.callHook("timelineLayerAdded", { options: e, plugin: this.plugin });
|
|
2569
|
+
}
|
|
2570
|
+
addTimelineEvent(e) {
|
|
2571
|
+
w.highPerfModeEnabled || this.hooks.callHook("timelineEventAdded", { options: e, plugin: this.plugin });
|
|
2572
|
+
}
|
|
2573
|
+
// settings
|
|
2574
|
+
getSettings(e) {
|
|
2575
|
+
return Jn(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
|
|
2576
|
+
}
|
|
2577
|
+
// utilities
|
|
2578
|
+
getComponentInstances(e) {
|
|
2579
|
+
return this.hooks.callHook("getComponentInstances", { app: e });
|
|
2580
|
+
}
|
|
2581
|
+
getComponentBounds(e) {
|
|
2582
|
+
return this.hooks.callHook("getComponentBounds", { instance: e });
|
|
2583
|
+
}
|
|
2584
|
+
getComponentName(e) {
|
|
2585
|
+
return this.hooks.callHook("getComponentName", { instance: e });
|
|
2586
|
+
}
|
|
2587
|
+
highlightElement(e) {
|
|
2588
|
+
const t = e.__VUE_DEVTOOLS_NEXT_UID__;
|
|
2589
|
+
return this.hooks.callHook("componentHighlight", { uid: t });
|
|
2590
|
+
}
|
|
2591
|
+
unhighlightElement() {
|
|
2592
|
+
return this.hooks.callHook(
|
|
2593
|
+
"componentUnhighlight"
|
|
2594
|
+
/* COMPONENT_UNHIGHLIGHT */
|
|
2595
|
+
);
|
|
2596
|
+
}
|
|
2597
|
+
}, Zr = qr;
|
|
2598
|
+
a();
|
|
2599
|
+
a();
|
|
2600
|
+
a();
|
|
2601
|
+
a();
|
|
2602
|
+
var Xr = "__vue_devtool_undefined__", Jr = "__vue_devtool_infinity__", Qr = "__vue_devtool_negative_infinity__", eu = "__vue_devtool_nan__";
|
|
2603
|
+
a();
|
|
2604
|
+
a();
|
|
2605
|
+
var tu = {
|
|
2606
|
+
[Xr]: "undefined",
|
|
2607
|
+
[eu]: "NaN",
|
|
2608
|
+
[Jr]: "Infinity",
|
|
2609
|
+
[Qr]: "-Infinity"
|
|
2610
|
+
};
|
|
2611
|
+
Object.entries(tu).reduce((e, [t, n]) => (e[n] = t, e), {});
|
|
2612
|
+
a();
|
|
2613
|
+
a();
|
|
2614
|
+
a();
|
|
2615
|
+
a();
|
|
2616
|
+
a();
|
|
2617
|
+
var qt, Zt;
|
|
2618
|
+
(Zt = (qt = p).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__) != null || (qt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set());
|
|
2619
|
+
function eo(e, t) {
|
|
2620
|
+
return Qn.setupDevToolsPlugin(e, t);
|
|
2621
|
+
}
|
|
2622
|
+
function nu(e, t) {
|
|
2623
|
+
const [n, o] = e;
|
|
2624
|
+
if (n.app !== t)
|
|
2625
|
+
return;
|
|
2626
|
+
const r = new Zr({
|
|
2627
|
+
plugin: {
|
|
2628
|
+
setupFn: o,
|
|
2629
|
+
descriptor: n
|
|
2630
|
+
},
|
|
2631
|
+
ctx: Ee
|
|
2632
|
+
});
|
|
2633
|
+
n.packageName === "vuex" && r.on.editInspectorState((u) => {
|
|
2634
|
+
r.sendInspectorState(u.inspectorId);
|
|
2635
|
+
}), o(r);
|
|
2636
|
+
}
|
|
2637
|
+
function to(e, t) {
|
|
2638
|
+
p.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e) || w.highPerfModeEnabled && !(t != null && t.inspectingComponent) || (p.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e), Et.forEach((n) => {
|
|
2639
|
+
nu(n, e);
|
|
2640
|
+
}));
|
|
2641
|
+
}
|
|
2642
|
+
a();
|
|
2643
|
+
a();
|
|
2644
|
+
var ye = "__VUE_DEVTOOLS_ROUTER__", de = "__VUE_DEVTOOLS_ROUTER_INFO__", Xt, Jt;
|
|
2645
|
+
(Jt = (Xt = p)[de]) != null || (Xt[de] = {
|
|
2646
|
+
currentRoute: null,
|
|
2647
|
+
routes: []
|
|
2648
|
+
});
|
|
2649
|
+
var Qt, en;
|
|
2650
|
+
(en = (Qt = p)[ye]) != null || (Qt[ye] = {});
|
|
2651
|
+
new Proxy(p[de], {
|
|
2652
|
+
get(e, t) {
|
|
2653
|
+
return p[de][t];
|
|
2654
|
+
}
|
|
2655
|
+
});
|
|
2656
|
+
new Proxy(p[ye], {
|
|
2657
|
+
get(e, t) {
|
|
2658
|
+
if (t === "value")
|
|
2659
|
+
return p[ye];
|
|
2660
|
+
}
|
|
2661
|
+
});
|
|
2662
|
+
function ou(e) {
|
|
2663
|
+
const t = /* @__PURE__ */ new Map();
|
|
2664
|
+
return ((e == null ? void 0 : e.getRoutes()) || []).filter((n) => !t.has(n.path) && t.set(n.path, 1));
|
|
2665
|
+
}
|
|
2666
|
+
function gt(e) {
|
|
2667
|
+
return e.map((t) => {
|
|
2668
|
+
let { path: n, name: o, children: r, meta: u } = t;
|
|
2669
|
+
return r != null && r.length && (r = gt(r)), {
|
|
2670
|
+
path: n,
|
|
2671
|
+
name: o,
|
|
2672
|
+
children: r,
|
|
2673
|
+
meta: u
|
|
2674
|
+
};
|
|
2675
|
+
});
|
|
2676
|
+
}
|
|
2677
|
+
function ru(e) {
|
|
2678
|
+
if (e) {
|
|
2679
|
+
const { fullPath: t, hash: n, href: o, path: r, name: u, matched: s, params: i, query: l } = e;
|
|
2680
|
+
return {
|
|
2681
|
+
fullPath: t,
|
|
2682
|
+
hash: n,
|
|
2683
|
+
href: o,
|
|
2684
|
+
path: r,
|
|
2685
|
+
name: u,
|
|
2686
|
+
params: i,
|
|
2687
|
+
query: l,
|
|
2688
|
+
matched: gt(s)
|
|
2689
|
+
};
|
|
2690
|
+
}
|
|
2691
|
+
return e;
|
|
2692
|
+
}
|
|
2693
|
+
function uu(e, t) {
|
|
2694
|
+
function n() {
|
|
2695
|
+
var o;
|
|
2696
|
+
const r = (o = e.app) == null ? void 0 : o.config.globalProperties.$router, u = ru(r == null ? void 0 : r.currentRoute.value), s = gt(ou(r)), i = console.warn;
|
|
2697
|
+
console.warn = () => {
|
|
2698
|
+
}, p[de] = {
|
|
2699
|
+
currentRoute: u ? bt(u) : {},
|
|
2700
|
+
routes: bt(s)
|
|
2701
|
+
}, p[ye] = r, console.warn = i;
|
|
2702
|
+
}
|
|
2703
|
+
n(), Qn.on.componentUpdated(fe(() => {
|
|
2704
|
+
var o;
|
|
2705
|
+
((o = t.value) == null ? void 0 : o.app) === e.app && (n(), !w.highPerfModeEnabled && Ee.hooks.callHook("routerInfoUpdated", { state: p[de] }));
|
|
2706
|
+
}, 200));
|
|
2707
|
+
}
|
|
2708
|
+
function su(e) {
|
|
2709
|
+
return {
|
|
2710
|
+
// get inspector tree
|
|
2711
|
+
async getInspectorTree(t) {
|
|
2712
|
+
const n = {
|
|
2713
|
+
...t,
|
|
2714
|
+
app: N.value.app,
|
|
2715
|
+
rootNodes: []
|
|
2716
|
+
};
|
|
2717
|
+
return await new Promise((o) => {
|
|
2718
|
+
e.callHookWith(
|
|
2719
|
+
async (r) => {
|
|
2720
|
+
await Promise.all(r.map((u) => u(n))), o();
|
|
2721
|
+
},
|
|
2722
|
+
"getInspectorTree"
|
|
2723
|
+
/* GET_INSPECTOR_TREE */
|
|
2724
|
+
);
|
|
2725
|
+
}), n.rootNodes;
|
|
2726
|
+
},
|
|
2727
|
+
// get inspector state
|
|
2728
|
+
async getInspectorState(t) {
|
|
2729
|
+
const n = {
|
|
2730
|
+
...t,
|
|
2731
|
+
app: N.value.app,
|
|
2732
|
+
state: null
|
|
2733
|
+
}, o = {
|
|
2734
|
+
currentTab: `custom-inspector:${t.inspectorId}`
|
|
2735
|
+
};
|
|
2736
|
+
return await new Promise((r) => {
|
|
2737
|
+
e.callHookWith(
|
|
2738
|
+
async (u) => {
|
|
2739
|
+
await Promise.all(u.map((s) => s(n, o))), r();
|
|
2740
|
+
},
|
|
2741
|
+
"getInspectorState"
|
|
2742
|
+
/* GET_INSPECTOR_STATE */
|
|
2743
|
+
);
|
|
2744
|
+
}), n.state;
|
|
2745
|
+
},
|
|
2746
|
+
// edit inspector state
|
|
2747
|
+
editInspectorState(t) {
|
|
2748
|
+
const n = new Rr(), o = {
|
|
2749
|
+
...t,
|
|
2750
|
+
app: N.value.app,
|
|
2751
|
+
set: (r, u = t.path, s = t.state.value, i) => {
|
|
2752
|
+
n.set(r, u, s, i || n.createDefaultSetCallback(t.state));
|
|
2753
|
+
}
|
|
2754
|
+
};
|
|
2755
|
+
e.callHookWith(
|
|
2756
|
+
(r) => {
|
|
2757
|
+
r.forEach((u) => u(o));
|
|
2758
|
+
},
|
|
2759
|
+
"editInspectorState"
|
|
2760
|
+
/* EDIT_INSPECTOR_STATE */
|
|
2761
|
+
);
|
|
2762
|
+
},
|
|
2763
|
+
// send inspector state
|
|
2764
|
+
sendInspectorState(t) {
|
|
2765
|
+
const n = Ie(t);
|
|
2766
|
+
e.callHook("sendInspectorState", { inspectorId: t, plugin: {
|
|
2767
|
+
descriptor: n.descriptor,
|
|
2768
|
+
setupFn: () => ({})
|
|
2769
|
+
} });
|
|
2770
|
+
},
|
|
2771
|
+
// inspect component inspector
|
|
2772
|
+
inspectComponentInspector() {
|
|
2773
|
+
return Cr();
|
|
2774
|
+
},
|
|
2775
|
+
// cancel inspect component inspector
|
|
2776
|
+
cancelInspectComponentInspector() {
|
|
2777
|
+
return Tr();
|
|
2778
|
+
},
|
|
2779
|
+
// get component render code
|
|
2780
|
+
getComponentRenderCode(t) {
|
|
2781
|
+
const n = qe(N.value, t);
|
|
2782
|
+
if (n)
|
|
2783
|
+
return typeof (n == null ? void 0 : n.type) != "function" ? n.render.toString() : n.type.toString();
|
|
2784
|
+
},
|
|
2785
|
+
// scroll to component
|
|
2786
|
+
scrollToComponent(t) {
|
|
2787
|
+
return Dr({ id: t });
|
|
2788
|
+
},
|
|
2789
|
+
// open in editor
|
|
2790
|
+
openInEditor: Kr,
|
|
2791
|
+
// get vue inspector
|
|
2792
|
+
getVueInspector: kr,
|
|
2793
|
+
// toggle app
|
|
2794
|
+
toggleApp(t, n) {
|
|
2795
|
+
const o = Be.value.find((r) => r.id === t);
|
|
2796
|
+
o && (Hr(t), jr(o), uu(o, N), qn(), to(o.app, n));
|
|
2797
|
+
},
|
|
2798
|
+
// inspect dom
|
|
2799
|
+
inspectDOM(t) {
|
|
2800
|
+
const n = qe(N.value, t);
|
|
2801
|
+
if (n) {
|
|
2802
|
+
const [o] = ct(n);
|
|
2803
|
+
o && (p.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__ = o);
|
|
2804
|
+
}
|
|
2805
|
+
},
|
|
2806
|
+
updatePluginSettings(t, n, o) {
|
|
2807
|
+
Wr(t, n, o);
|
|
2808
|
+
},
|
|
2809
|
+
getPluginSettings(t) {
|
|
2810
|
+
return {
|
|
2811
|
+
options: zr(t),
|
|
2812
|
+
values: Jn(t)
|
|
2813
|
+
};
|
|
2814
|
+
}
|
|
2815
|
+
};
|
|
2816
|
+
}
|
|
2817
|
+
a();
|
|
2818
|
+
var tn, nn;
|
|
2819
|
+
(nn = (tn = p).__VUE_DEVTOOLS_ENV__) != null || (tn.__VUE_DEVTOOLS_ENV__ = {
|
|
2820
|
+
vitePluginDetected: !1
|
|
2821
|
+
});
|
|
2822
|
+
var on = Br(), rn, un;
|
|
2823
|
+
(un = (rn = p).__VUE_DEVTOOLS_KIT_CONTEXT__) != null || (rn.__VUE_DEVTOOLS_KIT_CONTEXT__ = {
|
|
2824
|
+
hooks: on,
|
|
2825
|
+
get state() {
|
|
2826
|
+
return {
|
|
2827
|
+
...w,
|
|
2828
|
+
activeAppRecordId: N.id,
|
|
2829
|
+
activeAppRecord: N.value,
|
|
2830
|
+
appRecords: Be.value
|
|
2831
|
+
};
|
|
2832
|
+
},
|
|
2833
|
+
api: su(on)
|
|
2834
|
+
});
|
|
2835
|
+
var Ee = p.__VUE_DEVTOOLS_KIT_CONTEXT__;
|
|
2836
|
+
a();
|
|
2837
|
+
ir(lr());
|
|
2838
|
+
var sn, an;
|
|
2839
|
+
(an = (sn = p).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__) != null || (sn.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = {
|
|
2840
|
+
id: 0,
|
|
2841
|
+
appIds: /* @__PURE__ */ new Set()
|
|
2842
|
+
});
|
|
2843
|
+
a();
|
|
2844
|
+
a();
|
|
2845
|
+
function iu(e) {
|
|
2846
|
+
w.highPerfModeEnabled = e ?? !w.highPerfModeEnabled, !e && N.value && to(N.value.app);
|
|
2847
|
+
}
|
|
2848
|
+
a();
|
|
2849
|
+
a();
|
|
2850
|
+
a();
|
|
2851
|
+
function au(e) {
|
|
2852
|
+
w.devtoolsClientDetected = {
|
|
2853
|
+
...w.devtoolsClientDetected,
|
|
2854
|
+
...e
|
|
2855
|
+
};
|
|
2856
|
+
const t = Object.values(w.devtoolsClientDetected).some(Boolean);
|
|
2857
|
+
iu(!t);
|
|
2858
|
+
}
|
|
2859
|
+
var ln, cn;
|
|
2860
|
+
(cn = (ln = p).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__) != null || (ln.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = au);
|
|
2861
|
+
a();
|
|
2862
|
+
a();
|
|
2863
|
+
a();
|
|
2864
|
+
a();
|
|
2865
|
+
a();
|
|
2866
|
+
a();
|
|
2867
|
+
a();
|
|
2868
|
+
var lu = class {
|
|
2869
|
+
constructor() {
|
|
2870
|
+
this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
|
|
2871
|
+
}
|
|
2872
|
+
set(e, t) {
|
|
2873
|
+
this.keyToValue.set(e, t), this.valueToKey.set(t, e);
|
|
2874
|
+
}
|
|
2875
|
+
getByKey(e) {
|
|
2876
|
+
return this.keyToValue.get(e);
|
|
2877
|
+
}
|
|
2878
|
+
getByValue(e) {
|
|
2879
|
+
return this.valueToKey.get(e);
|
|
2880
|
+
}
|
|
2881
|
+
clear() {
|
|
2882
|
+
this.keyToValue.clear(), this.valueToKey.clear();
|
|
2883
|
+
}
|
|
2884
|
+
}, no = class {
|
|
2885
|
+
constructor(e) {
|
|
2886
|
+
this.generateIdentifier = e, this.kv = new lu();
|
|
2887
|
+
}
|
|
2888
|
+
register(e, t) {
|
|
2889
|
+
this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
|
|
2890
|
+
}
|
|
2891
|
+
clear() {
|
|
2892
|
+
this.kv.clear();
|
|
2893
|
+
}
|
|
2894
|
+
getIdentifier(e) {
|
|
2895
|
+
return this.kv.getByValue(e);
|
|
2896
|
+
}
|
|
2897
|
+
getValue(e) {
|
|
2898
|
+
return this.kv.getByKey(e);
|
|
2899
|
+
}
|
|
2900
|
+
}, cu = class extends no {
|
|
2901
|
+
constructor() {
|
|
2902
|
+
super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
|
|
2903
|
+
}
|
|
2904
|
+
register(e, t) {
|
|
2905
|
+
typeof t == "object" ? (t.allowProps && this.classToAllowedProps.set(e, t.allowProps), super.register(e, t.identifier)) : super.register(e, t);
|
|
2906
|
+
}
|
|
2907
|
+
getAllowedProps(e) {
|
|
2908
|
+
return this.classToAllowedProps.get(e);
|
|
2909
|
+
}
|
|
2910
|
+
};
|
|
2911
|
+
a();
|
|
2912
|
+
a();
|
|
2913
|
+
function fu(e) {
|
|
2914
|
+
if ("values" in Object)
|
|
2915
|
+
return Object.values(e);
|
|
2916
|
+
const t = [];
|
|
2917
|
+
for (const n in e)
|
|
2918
|
+
e.hasOwnProperty(n) && t.push(e[n]);
|
|
2919
|
+
return t;
|
|
2920
|
+
}
|
|
2921
|
+
function du(e, t) {
|
|
2922
|
+
const n = fu(e);
|
|
2923
|
+
if ("find" in n)
|
|
2924
|
+
return n.find(t);
|
|
2925
|
+
const o = n;
|
|
2926
|
+
for (let r = 0; r < o.length; r++) {
|
|
2927
|
+
const u = o[r];
|
|
2928
|
+
if (t(u))
|
|
2929
|
+
return u;
|
|
2930
|
+
}
|
|
2931
|
+
}
|
|
2932
|
+
function _e(e, t) {
|
|
2933
|
+
Object.entries(e).forEach(([n, o]) => t(o, n));
|
|
2934
|
+
}
|
|
2935
|
+
function we(e, t) {
|
|
2936
|
+
return e.indexOf(t) !== -1;
|
|
2937
|
+
}
|
|
2938
|
+
function fn(e, t) {
|
|
2939
|
+
for (let n = 0; n < e.length; n++) {
|
|
2940
|
+
const o = e[n];
|
|
2941
|
+
if (t(o))
|
|
2942
|
+
return o;
|
|
2943
|
+
}
|
|
2944
|
+
}
|
|
2945
|
+
var _u = class {
|
|
2946
|
+
constructor() {
|
|
2947
|
+
this.transfomers = {};
|
|
2948
|
+
}
|
|
2949
|
+
register(e) {
|
|
2950
|
+
this.transfomers[e.name] = e;
|
|
2951
|
+
}
|
|
2952
|
+
findApplicable(e) {
|
|
2953
|
+
return du(this.transfomers, (t) => t.isApplicable(e));
|
|
2954
|
+
}
|
|
2955
|
+
findByName(e) {
|
|
2956
|
+
return this.transfomers[e];
|
|
2957
|
+
}
|
|
2958
|
+
};
|
|
2959
|
+
a();
|
|
2960
|
+
a();
|
|
2961
|
+
var pu = (e) => Object.prototype.toString.call(e).slice(8, -1), oo = (e) => typeof e > "u", Eu = (e) => e === null, Ae = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, Qe = (e) => Ae(e) && Object.keys(e).length === 0, X = (e) => Array.isArray(e), hu = (e) => typeof e == "string", gu = (e) => typeof e == "number" && !isNaN(e), mu = (e) => typeof e == "boolean", vu = (e) => e instanceof RegExp, Oe = (e) => e instanceof Map, Se = (e) => e instanceof Set, ro = (e) => pu(e) === "Symbol", yu = (e) => e instanceof Date && !isNaN(e.valueOf()), Au = (e) => e instanceof Error, dn = (e) => typeof e == "number" && isNaN(e), Ou = (e) => mu(e) || Eu(e) || oo(e) || gu(e) || hu(e) || ro(e), Su = (e) => typeof e == "bigint", bu = (e) => e === 1 / 0 || e === -1 / 0, Tu = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), Cu = (e) => e instanceof URL;
|
|
2962
|
+
a();
|
|
2963
|
+
var uo = (e) => e.replace(/\./g, "\\."), Ke = (e) => e.map(String).map(uo).join("."), ve = (e) => {
|
|
2964
|
+
const t = [];
|
|
2965
|
+
let n = "";
|
|
2966
|
+
for (let r = 0; r < e.length; r++) {
|
|
2967
|
+
let u = e.charAt(r);
|
|
2968
|
+
if (u === "\\" && e.charAt(r + 1) === ".") {
|
|
2969
|
+
n += ".", r++;
|
|
2970
|
+
continue;
|
|
2971
|
+
}
|
|
2972
|
+
if (u === ".") {
|
|
2973
|
+
t.push(n), n = "";
|
|
2974
|
+
continue;
|
|
2975
|
+
}
|
|
2976
|
+
n += u;
|
|
2977
|
+
}
|
|
2978
|
+
const o = n;
|
|
2979
|
+
return t.push(o), t;
|
|
2980
|
+
};
|
|
2981
|
+
a();
|
|
2982
|
+
function K(e, t, n, o) {
|
|
2983
|
+
return {
|
|
2984
|
+
isApplicable: e,
|
|
2985
|
+
annotation: t,
|
|
2986
|
+
transform: n,
|
|
2987
|
+
untransform: o
|
|
2988
|
+
};
|
|
2989
|
+
}
|
|
2990
|
+
var so = [
|
|
2991
|
+
K(oo, "undefined", () => null, () => {
|
|
2992
|
+
}),
|
|
2993
|
+
K(Su, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)),
|
|
2994
|
+
K(yu, "Date", (e) => e.toISOString(), (e) => new Date(e)),
|
|
2995
|
+
K(Au, "Error", (e, t) => {
|
|
2996
|
+
const n = {
|
|
2997
|
+
name: e.name,
|
|
2998
|
+
message: e.message
|
|
2999
|
+
};
|
|
3000
|
+
return t.allowedErrorProps.forEach((o) => {
|
|
3001
|
+
n[o] = e[o];
|
|
3002
|
+
}), n;
|
|
3003
|
+
}, (e, t) => {
|
|
3004
|
+
const n = new Error(e.message);
|
|
3005
|
+
return n.name = e.name, n.stack = e.stack, t.allowedErrorProps.forEach((o) => {
|
|
3006
|
+
n[o] = e[o];
|
|
3007
|
+
}), n;
|
|
3008
|
+
}),
|
|
3009
|
+
K(vu, "regexp", (e) => "" + e, (e) => {
|
|
3010
|
+
const t = e.slice(1, e.lastIndexOf("/")), n = e.slice(e.lastIndexOf("/") + 1);
|
|
3011
|
+
return new RegExp(t, n);
|
|
3012
|
+
}),
|
|
3013
|
+
K(
|
|
3014
|
+
Se,
|
|
3015
|
+
"set",
|
|
3016
|
+
// (sets only exist in es6+)
|
|
3017
|
+
// eslint-disable-next-line es5/no-es6-methods
|
|
3018
|
+
(e) => [...e.values()],
|
|
3019
|
+
(e) => new Set(e)
|
|
3020
|
+
),
|
|
3021
|
+
K(Oe, "map", (e) => [...e.entries()], (e) => new Map(e)),
|
|
3022
|
+
K((e) => dn(e) || bu(e), "number", (e) => dn(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
|
|
3023
|
+
K((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
|
|
3024
|
+
K(Cu, "URL", (e) => e.toString(), (e) => new URL(e))
|
|
3025
|
+
];
|
|
3026
|
+
function $e(e, t, n, o) {
|
|
3027
|
+
return {
|
|
3028
|
+
isApplicable: e,
|
|
3029
|
+
annotation: t,
|
|
3030
|
+
transform: n,
|
|
3031
|
+
untransform: o
|
|
3032
|
+
};
|
|
3033
|
+
}
|
|
3034
|
+
var io = $e((e, t) => ro(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
|
|
3035
|
+
const o = n.symbolRegistry.getValue(t[1]);
|
|
3036
|
+
if (!o)
|
|
3037
|
+
throw new Error("Trying to deserialize unknown symbol");
|
|
3038
|
+
return o;
|
|
3039
|
+
}), Du = [
|
|
3040
|
+
Int8Array,
|
|
3041
|
+
Uint8Array,
|
|
3042
|
+
Int16Array,
|
|
3043
|
+
Uint16Array,
|
|
3044
|
+
Int32Array,
|
|
3045
|
+
Uint32Array,
|
|
3046
|
+
Float32Array,
|
|
3047
|
+
Float64Array,
|
|
3048
|
+
Uint8ClampedArray
|
|
3049
|
+
].reduce((e, t) => (e[t.name] = t, e), {}), ao = $e(Tu, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
|
|
3050
|
+
const n = Du[t[1]];
|
|
3051
|
+
if (!n)
|
|
3052
|
+
throw new Error("Trying to deserialize unknown typed array");
|
|
3053
|
+
return new n(e);
|
|
3054
|
+
});
|
|
3055
|
+
function lo(e, t) {
|
|
3056
|
+
return e != null && e.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
|
|
3057
|
+
}
|
|
3058
|
+
var co = $e(lo, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
|
|
3059
|
+
const n = t.classRegistry.getAllowedProps(e.constructor);
|
|
3060
|
+
if (!n)
|
|
3061
|
+
return { ...e };
|
|
3062
|
+
const o = {};
|
|
3063
|
+
return n.forEach((r) => {
|
|
3064
|
+
o[r] = e[r];
|
|
3065
|
+
}), o;
|
|
3066
|
+
}, (e, t, n) => {
|
|
3067
|
+
const o = n.classRegistry.getValue(t[1]);
|
|
3068
|
+
if (!o)
|
|
3069
|
+
throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);
|
|
3070
|
+
return Object.assign(Object.create(o.prototype), e);
|
|
3071
|
+
}), fo = $e((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, n) => {
|
|
3072
|
+
const o = n.customTransformerRegistry.findByName(t[1]);
|
|
3073
|
+
if (!o)
|
|
3074
|
+
throw new Error("Trying to deserialize unknown custom value");
|
|
3075
|
+
return o.deserialize(e);
|
|
3076
|
+
}), Iu = [co, io, fo, ao], _n = (e, t) => {
|
|
3077
|
+
const n = fn(Iu, (r) => r.isApplicable(e, t));
|
|
3078
|
+
if (n)
|
|
3079
|
+
return {
|
|
3080
|
+
value: n.transform(e, t),
|
|
3081
|
+
type: n.annotation(e, t)
|
|
3082
|
+
};
|
|
3083
|
+
const o = fn(so, (r) => r.isApplicable(e, t));
|
|
3084
|
+
if (o)
|
|
3085
|
+
return {
|
|
3086
|
+
value: o.transform(e, t),
|
|
3087
|
+
type: o.annotation
|
|
3088
|
+
};
|
|
3089
|
+
}, _o = {};
|
|
3090
|
+
so.forEach((e) => {
|
|
3091
|
+
_o[e.annotation] = e;
|
|
3092
|
+
});
|
|
3093
|
+
var wu = (e, t, n) => {
|
|
3094
|
+
if (X(t))
|
|
3095
|
+
switch (t[0]) {
|
|
3096
|
+
case "symbol":
|
|
3097
|
+
return io.untransform(e, t, n);
|
|
3098
|
+
case "class":
|
|
3099
|
+
return co.untransform(e, t, n);
|
|
3100
|
+
case "custom":
|
|
3101
|
+
return fo.untransform(e, t, n);
|
|
3102
|
+
case "typed-array":
|
|
3103
|
+
return ao.untransform(e, t, n);
|
|
3104
|
+
default:
|
|
3105
|
+
throw new Error("Unknown transformation: " + t);
|
|
3106
|
+
}
|
|
3107
|
+
else {
|
|
3108
|
+
const o = _o[t];
|
|
3109
|
+
if (!o)
|
|
3110
|
+
throw new Error("Unknown transformation: " + t);
|
|
3111
|
+
return o.untransform(e, n);
|
|
3112
|
+
}
|
|
3113
|
+
};
|
|
3114
|
+
a();
|
|
3115
|
+
var ie = (e, t) => {
|
|
3116
|
+
if (t > e.size)
|
|
3117
|
+
throw new Error("index out of bounds");
|
|
3118
|
+
const n = e.keys();
|
|
3119
|
+
for (; t > 0; )
|
|
3120
|
+
n.next(), t--;
|
|
3121
|
+
return n.next().value;
|
|
3122
|
+
};
|
|
3123
|
+
function po(e) {
|
|
3124
|
+
if (we(e, "__proto__"))
|
|
3125
|
+
throw new Error("__proto__ is not allowed as a property");
|
|
3126
|
+
if (we(e, "prototype"))
|
|
3127
|
+
throw new Error("prototype is not allowed as a property");
|
|
3128
|
+
if (we(e, "constructor"))
|
|
3129
|
+
throw new Error("constructor is not allowed as a property");
|
|
3130
|
+
}
|
|
3131
|
+
var ku = (e, t) => {
|
|
3132
|
+
po(t);
|
|
3133
|
+
for (let n = 0; n < t.length; n++) {
|
|
3134
|
+
const o = t[n];
|
|
3135
|
+
if (Se(e))
|
|
3136
|
+
e = ie(e, +o);
|
|
3137
|
+
else if (Oe(e)) {
|
|
3138
|
+
const r = +o, u = +t[++n] == 0 ? "key" : "value", s = ie(e, r);
|
|
3139
|
+
switch (u) {
|
|
3140
|
+
case "key":
|
|
3141
|
+
e = s;
|
|
3142
|
+
break;
|
|
3143
|
+
case "value":
|
|
3144
|
+
e = e.get(s);
|
|
3145
|
+
break;
|
|
3146
|
+
}
|
|
3147
|
+
} else
|
|
3148
|
+
e = e[o];
|
|
3149
|
+
}
|
|
3150
|
+
return e;
|
|
3151
|
+
}, et = (e, t, n) => {
|
|
3152
|
+
if (po(t), t.length === 0)
|
|
3153
|
+
return n(e);
|
|
3154
|
+
let o = e;
|
|
3155
|
+
for (let u = 0; u < t.length - 1; u++) {
|
|
3156
|
+
const s = t[u];
|
|
3157
|
+
if (X(o)) {
|
|
3158
|
+
const i = +s;
|
|
3159
|
+
o = o[i];
|
|
3160
|
+
} else if (Ae(o))
|
|
3161
|
+
o = o[s];
|
|
3162
|
+
else if (Se(o)) {
|
|
3163
|
+
const i = +s;
|
|
3164
|
+
o = ie(o, i);
|
|
3165
|
+
} else if (Oe(o)) {
|
|
3166
|
+
if (u === t.length - 2)
|
|
3167
|
+
break;
|
|
3168
|
+
const l = +s, f = +t[++u] == 0 ? "key" : "value", v = ie(o, l);
|
|
3169
|
+
switch (f) {
|
|
3170
|
+
case "key":
|
|
3171
|
+
o = v;
|
|
3172
|
+
break;
|
|
3173
|
+
case "value":
|
|
3174
|
+
o = o.get(v);
|
|
3175
|
+
break;
|
|
3176
|
+
}
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3179
|
+
const r = t[t.length - 1];
|
|
3180
|
+
if (X(o) ? o[+r] = n(o[+r]) : Ae(o) && (o[r] = n(o[r])), Se(o)) {
|
|
3181
|
+
const u = ie(o, +r), s = n(u);
|
|
3182
|
+
u !== s && (o.delete(u), o.add(s));
|
|
3183
|
+
}
|
|
3184
|
+
if (Oe(o)) {
|
|
3185
|
+
const u = +t[t.length - 2], s = ie(o, u);
|
|
3186
|
+
switch (+r == 0 ? "key" : "value") {
|
|
3187
|
+
case "key": {
|
|
3188
|
+
const l = n(s);
|
|
3189
|
+
o.set(l, o.get(s)), l !== s && o.delete(s);
|
|
3190
|
+
break;
|
|
3191
|
+
}
|
|
3192
|
+
case "value": {
|
|
3193
|
+
o.set(s, n(o.get(s)));
|
|
3194
|
+
break;
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
3197
|
+
}
|
|
3198
|
+
return e;
|
|
3199
|
+
};
|
|
3200
|
+
function tt(e, t, n = []) {
|
|
3201
|
+
if (!e)
|
|
3202
|
+
return;
|
|
3203
|
+
if (!X(e)) {
|
|
3204
|
+
_e(e, (u, s) => tt(u, t, [...n, ...ve(s)]));
|
|
3205
|
+
return;
|
|
3206
|
+
}
|
|
3207
|
+
const [o, r] = e;
|
|
3208
|
+
r && _e(r, (u, s) => {
|
|
3209
|
+
tt(u, t, [...n, ...ve(s)]);
|
|
3210
|
+
}), t(o, n);
|
|
3211
|
+
}
|
|
3212
|
+
function Pu(e, t, n) {
|
|
3213
|
+
return tt(t, (o, r) => {
|
|
3214
|
+
e = et(e, r, (u) => wu(u, o, n));
|
|
3215
|
+
}), e;
|
|
3216
|
+
}
|
|
3217
|
+
function Ru(e, t) {
|
|
3218
|
+
function n(o, r) {
|
|
3219
|
+
const u = ku(e, ve(r));
|
|
3220
|
+
o.map(ve).forEach((s) => {
|
|
3221
|
+
e = et(e, s, () => u);
|
|
3222
|
+
});
|
|
3223
|
+
}
|
|
3224
|
+
if (X(t)) {
|
|
3225
|
+
const [o, r] = t;
|
|
3226
|
+
o.forEach((u) => {
|
|
3227
|
+
e = et(e, ve(u), () => e);
|
|
3228
|
+
}), r && _e(r, n);
|
|
3229
|
+
} else
|
|
3230
|
+
_e(t, n);
|
|
3231
|
+
return e;
|
|
3232
|
+
}
|
|
3233
|
+
var Nu = (e, t) => Ae(e) || X(e) || Oe(e) || Se(e) || lo(e, t);
|
|
3234
|
+
function Vu(e, t, n) {
|
|
3235
|
+
const o = n.get(e);
|
|
3236
|
+
o ? o.push(t) : n.set(e, [t]);
|
|
3237
|
+
}
|
|
3238
|
+
function xu(e, t) {
|
|
3239
|
+
const n = {};
|
|
3240
|
+
let o;
|
|
3241
|
+
return e.forEach((r) => {
|
|
3242
|
+
if (r.length <= 1)
|
|
3243
|
+
return;
|
|
3244
|
+
t || (r = r.map((i) => i.map(String)).sort((i, l) => i.length - l.length));
|
|
3245
|
+
const [u, ...s] = r;
|
|
3246
|
+
u.length === 0 ? o = s.map(Ke) : n[Ke(u)] = s.map(Ke);
|
|
3247
|
+
}), o ? Qe(n) ? [o] : [o, n] : Qe(n) ? void 0 : n;
|
|
3248
|
+
}
|
|
3249
|
+
var Eo = (e, t, n, o, r = [], u = [], s = /* @__PURE__ */ new Map()) => {
|
|
3250
|
+
var i;
|
|
3251
|
+
const l = Ou(e);
|
|
3252
|
+
if (!l) {
|
|
3253
|
+
Vu(e, r, t);
|
|
3254
|
+
const _ = s.get(e);
|
|
3255
|
+
if (_)
|
|
3256
|
+
return o ? {
|
|
3257
|
+
transformedValue: null
|
|
3258
|
+
} : _;
|
|
3259
|
+
}
|
|
3260
|
+
if (!Nu(e, n)) {
|
|
3261
|
+
const _ = _n(e, n), A = _ ? {
|
|
3262
|
+
transformedValue: _.value,
|
|
3263
|
+
annotations: [_.type]
|
|
3264
|
+
} : {
|
|
3265
|
+
transformedValue: e
|
|
3266
|
+
};
|
|
3267
|
+
return l || s.set(e, A), A;
|
|
3268
|
+
}
|
|
3269
|
+
if (we(u, e))
|
|
3270
|
+
return {
|
|
3271
|
+
transformedValue: null
|
|
3272
|
+
};
|
|
3273
|
+
const f = _n(e, n), v = (i = f == null ? void 0 : f.value) != null ? i : e, c = X(v) ? [] : {}, y = {};
|
|
3274
|
+
_e(v, (_, A) => {
|
|
3275
|
+
if (A === "__proto__" || A === "constructor" || A === "prototype")
|
|
3276
|
+
throw new Error(`Detected property ${A}. This is a prototype pollution risk, please remove it from your object.`);
|
|
3277
|
+
const h = Eo(_, t, n, o, [...r, A], [...u, e], s);
|
|
3278
|
+
c[A] = h.transformedValue, X(h.annotations) ? y[A] = h.annotations : Ae(h.annotations) && _e(h.annotations, (g, T) => {
|
|
3279
|
+
y[uo(A) + "." + T] = g;
|
|
3280
|
+
});
|
|
3281
|
+
});
|
|
3282
|
+
const d = Qe(y) ? {
|
|
3283
|
+
transformedValue: c,
|
|
3284
|
+
annotations: f ? [f.type] : void 0
|
|
3285
|
+
} : {
|
|
3286
|
+
transformedValue: c,
|
|
3287
|
+
annotations: f ? [f.type, y] : y
|
|
3288
|
+
};
|
|
3289
|
+
return l || s.set(e, d), d;
|
|
3290
|
+
};
|
|
3291
|
+
a();
|
|
3292
|
+
a();
|
|
3293
|
+
function ho(e) {
|
|
3294
|
+
return Object.prototype.toString.call(e).slice(8, -1);
|
|
3295
|
+
}
|
|
3296
|
+
function pn(e) {
|
|
3297
|
+
return ho(e) === "Array";
|
|
3298
|
+
}
|
|
3299
|
+
function Fu(e) {
|
|
3300
|
+
if (ho(e) !== "Object")
|
|
3301
|
+
return !1;
|
|
3302
|
+
const t = Object.getPrototypeOf(e);
|
|
3303
|
+
return !!t && t.constructor === Object && t === Object.prototype;
|
|
3304
|
+
}
|
|
3305
|
+
function Uu(e, t, n, o, r) {
|
|
3306
|
+
const u = {}.propertyIsEnumerable.call(o, t) ? "enumerable" : "nonenumerable";
|
|
3307
|
+
u === "enumerable" && (e[t] = n), r && u === "nonenumerable" && Object.defineProperty(e, t, {
|
|
3308
|
+
value: n,
|
|
3309
|
+
enumerable: !1,
|
|
3310
|
+
writable: !0,
|
|
3311
|
+
configurable: !0
|
|
3312
|
+
});
|
|
3313
|
+
}
|
|
3314
|
+
function nt(e, t = {}) {
|
|
3315
|
+
if (pn(e))
|
|
3316
|
+
return e.map((r) => nt(r, t));
|
|
3317
|
+
if (!Fu(e))
|
|
3318
|
+
return e;
|
|
3319
|
+
const n = Object.getOwnPropertyNames(e), o = Object.getOwnPropertySymbols(e);
|
|
3320
|
+
return [...n, ...o].reduce((r, u) => {
|
|
3321
|
+
if (pn(t.props) && !t.props.includes(u))
|
|
3322
|
+
return r;
|
|
3323
|
+
const s = e[u], i = nt(s, t);
|
|
3324
|
+
return Uu(r, u, i, e, t.nonenumerable), r;
|
|
3325
|
+
}, {});
|
|
3326
|
+
}
|
|
3327
|
+
var D = class {
|
|
3328
|
+
/**
|
|
3329
|
+
* @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
|
|
3330
|
+
*/
|
|
3331
|
+
constructor({ dedupe: e = !1 } = {}) {
|
|
3332
|
+
this.classRegistry = new cu(), this.symbolRegistry = new no((t) => {
|
|
3333
|
+
var n;
|
|
3334
|
+
return (n = t.description) != null ? n : "";
|
|
3335
|
+
}), this.customTransformerRegistry = new _u(), this.allowedErrorProps = [], this.dedupe = e;
|
|
3336
|
+
}
|
|
3337
|
+
serialize(e) {
|
|
3338
|
+
const t = /* @__PURE__ */ new Map(), n = Eo(e, t, this, this.dedupe), o = {
|
|
3339
|
+
json: n.transformedValue
|
|
3340
|
+
};
|
|
3341
|
+
n.annotations && (o.meta = {
|
|
3342
|
+
...o.meta,
|
|
3343
|
+
values: n.annotations
|
|
3344
|
+
});
|
|
3345
|
+
const r = xu(t, this.dedupe);
|
|
3346
|
+
return r && (o.meta = {
|
|
3347
|
+
...o.meta,
|
|
3348
|
+
referentialEqualities: r
|
|
3349
|
+
}), o;
|
|
3350
|
+
}
|
|
3351
|
+
deserialize(e) {
|
|
3352
|
+
const { json: t, meta: n } = e;
|
|
3353
|
+
let o = nt(t);
|
|
3354
|
+
return n != null && n.values && (o = Pu(o, n.values, this)), n != null && n.referentialEqualities && (o = Ru(o, n.referentialEqualities)), o;
|
|
3355
|
+
}
|
|
3356
|
+
stringify(e) {
|
|
3357
|
+
return JSON.stringify(this.serialize(e));
|
|
3358
|
+
}
|
|
3359
|
+
parse(e) {
|
|
3360
|
+
return this.deserialize(JSON.parse(e));
|
|
3361
|
+
}
|
|
3362
|
+
registerClass(e, t) {
|
|
3363
|
+
this.classRegistry.register(e, t);
|
|
3364
|
+
}
|
|
3365
|
+
registerSymbol(e, t) {
|
|
3366
|
+
this.symbolRegistry.register(e, t);
|
|
3367
|
+
}
|
|
3368
|
+
registerCustom(e, t) {
|
|
3369
|
+
this.customTransformerRegistry.register({
|
|
3370
|
+
name: t,
|
|
3371
|
+
...e
|
|
3372
|
+
});
|
|
3373
|
+
}
|
|
3374
|
+
allowErrorProps(...e) {
|
|
3375
|
+
this.allowedErrorProps.push(...e);
|
|
3376
|
+
}
|
|
3377
|
+
};
|
|
3378
|
+
D.defaultInstance = new D();
|
|
3379
|
+
D.serialize = D.defaultInstance.serialize.bind(D.defaultInstance);
|
|
3380
|
+
D.deserialize = D.defaultInstance.deserialize.bind(D.defaultInstance);
|
|
3381
|
+
D.stringify = D.defaultInstance.stringify.bind(D.defaultInstance);
|
|
3382
|
+
D.parse = D.defaultInstance.parse.bind(D.defaultInstance);
|
|
3383
|
+
D.registerClass = D.defaultInstance.registerClass.bind(D.defaultInstance);
|
|
3384
|
+
D.registerSymbol = D.defaultInstance.registerSymbol.bind(D.defaultInstance);
|
|
3385
|
+
D.registerCustom = D.defaultInstance.registerCustom.bind(D.defaultInstance);
|
|
3386
|
+
D.allowErrorProps = D.defaultInstance.allowErrorProps.bind(D.defaultInstance);
|
|
3387
|
+
a();
|
|
3388
|
+
a();
|
|
3389
|
+
a();
|
|
3390
|
+
a();
|
|
3391
|
+
a();
|
|
3392
|
+
a();
|
|
3393
|
+
a();
|
|
3394
|
+
a();
|
|
3395
|
+
a();
|
|
3396
|
+
a();
|
|
3397
|
+
a();
|
|
3398
|
+
a();
|
|
3399
|
+
a();
|
|
3400
|
+
a();
|
|
3401
|
+
a();
|
|
3402
|
+
a();
|
|
3403
|
+
a();
|
|
3404
|
+
a();
|
|
3405
|
+
a();
|
|
3406
|
+
a();
|
|
3407
|
+
a();
|
|
3408
|
+
a();
|
|
3409
|
+
a();
|
|
3410
|
+
var En, hn;
|
|
3411
|
+
(hn = (En = p).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__) != null || (En.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = []);
|
|
3412
|
+
var gn, mn;
|
|
3413
|
+
(mn = (gn = p).__VUE_DEVTOOLS_KIT_RPC_CLIENT__) != null || (gn.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null);
|
|
3414
|
+
var vn, yn;
|
|
3415
|
+
(yn = (vn = p).__VUE_DEVTOOLS_KIT_RPC_SERVER__) != null || (vn.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null);
|
|
3416
|
+
var An, On;
|
|
3417
|
+
(On = (An = p).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__) != null || (An.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null);
|
|
3418
|
+
var Sn, bn;
|
|
3419
|
+
(bn = (Sn = p).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__) != null || (Sn.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null);
|
|
3420
|
+
var Tn, Cn;
|
|
3421
|
+
(Cn = (Tn = p).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__) != null || (Tn.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null);
|
|
3422
|
+
a();
|
|
3423
|
+
a();
|
|
3424
|
+
a();
|
|
3425
|
+
a();
|
|
3426
|
+
a();
|
|
3427
|
+
a();
|
|
3428
|
+
a();
|
|
3429
|
+
/*!
|
|
3430
|
+
* pinia v3.0.4
|
|
3431
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
3432
|
+
* @license MIT
|
|
3433
|
+
*/
|
|
3434
|
+
const W = typeof window < "u";
|
|
3435
|
+
let te;
|
|
3436
|
+
const be = (e) => te = e, ss = process.env.NODE_ENV !== "production" ? () => {
|
|
3437
|
+
const e = Ge() && We(xe);
|
|
3438
|
+
return !e && !W && console.error(`[🍍]: Pinia instance not found in context. This falls back to the global activePinia which exposes you to cross-request pollution on the server. Most of the time, it means you are calling "useStore()" in the wrong place.
|
|
3439
|
+
Read https://vuejs.org/guide/reusability/composables.html to learn more`), e || te;
|
|
3440
|
+
} : () => Ge() && We(xe) || te, xe = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
|
|
3441
|
+
/* istanbul ignore next */
|
|
3442
|
+
Symbol()
|
|
3443
|
+
);
|
|
3444
|
+
function oe(e) {
|
|
3445
|
+
return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
|
|
3446
|
+
}
|
|
3447
|
+
var z;
|
|
3448
|
+
(function(e) {
|
|
3449
|
+
e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
|
|
3450
|
+
})(z || (z = {}));
|
|
3451
|
+
const Dn = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null };
|
|
3452
|
+
function Lu(e, { autoBom: t = !1 } = {}) {
|
|
3453
|
+
return t && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["\uFEFF", e], { type: e.type }) : e;
|
|
3454
|
+
}
|
|
3455
|
+
function mt(e, t, n) {
|
|
3456
|
+
const o = new XMLHttpRequest();
|
|
3457
|
+
o.open("GET", e), o.responseType = "blob", o.onload = function() {
|
|
3458
|
+
vo(o.response, t, n);
|
|
3459
|
+
}, o.onerror = function() {
|
|
3460
|
+
console.error("could not download file");
|
|
3461
|
+
}, o.send();
|
|
3462
|
+
}
|
|
3463
|
+
function go(e) {
|
|
3464
|
+
const t = new XMLHttpRequest();
|
|
3465
|
+
t.open("HEAD", e, !1);
|
|
3466
|
+
try {
|
|
3467
|
+
t.send();
|
|
3468
|
+
} catch {
|
|
3469
|
+
}
|
|
3470
|
+
return t.status >= 200 && t.status <= 299;
|
|
3471
|
+
}
|
|
3472
|
+
function ke(e) {
|
|
3473
|
+
try {
|
|
3474
|
+
e.dispatchEvent(new MouseEvent("click"));
|
|
3475
|
+
} catch {
|
|
3476
|
+
const n = new MouseEvent("click", {
|
|
3477
|
+
bubbles: !0,
|
|
3478
|
+
cancelable: !0,
|
|
3479
|
+
view: window,
|
|
3480
|
+
detail: 0,
|
|
3481
|
+
screenX: 80,
|
|
3482
|
+
screenY: 20,
|
|
3483
|
+
clientX: 80,
|
|
3484
|
+
clientY: 20,
|
|
3485
|
+
ctrlKey: !1,
|
|
3486
|
+
altKey: !1,
|
|
3487
|
+
shiftKey: !1,
|
|
3488
|
+
metaKey: !1,
|
|
3489
|
+
button: 0,
|
|
3490
|
+
relatedTarget: null
|
|
3491
|
+
});
|
|
3492
|
+
e.dispatchEvent(n);
|
|
3493
|
+
}
|
|
3494
|
+
}
|
|
3495
|
+
const Pe = typeof navigator == "object" ? navigator : { userAgent: "" }, mo = /Macintosh/.test(Pe.userAgent) && /AppleWebKit/.test(Pe.userAgent) && !/Safari/.test(Pe.userAgent), vo = W ? (
|
|
3496
|
+
// Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
|
|
3497
|
+
typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !mo ? Bu : (
|
|
3498
|
+
// Use msSaveOrOpenBlob as a second approach
|
|
3499
|
+
"msSaveOrOpenBlob" in Pe ? $u : (
|
|
3500
|
+
// Fallback to using FileReader and a popup
|
|
3501
|
+
Mu
|
|
3502
|
+
)
|
|
3503
|
+
)
|
|
3504
|
+
) : () => {
|
|
3505
|
+
};
|
|
3506
|
+
function Bu(e, t = "download", n) {
|
|
3507
|
+
const o = document.createElement("a");
|
|
3508
|
+
o.download = t, o.rel = "noopener", typeof e == "string" ? (o.href = e, o.origin !== location.origin ? go(o.href) ? mt(e, t, n) : (o.target = "_blank", ke(o)) : ke(o)) : (o.href = URL.createObjectURL(e), setTimeout(function() {
|
|
3509
|
+
URL.revokeObjectURL(o.href);
|
|
3510
|
+
}, 4e4), setTimeout(function() {
|
|
3511
|
+
ke(o);
|
|
3512
|
+
}, 0));
|
|
3513
|
+
}
|
|
3514
|
+
function $u(e, t = "download", n) {
|
|
3515
|
+
if (typeof e == "string")
|
|
3516
|
+
if (go(e))
|
|
3517
|
+
mt(e, t, n);
|
|
3518
|
+
else {
|
|
3519
|
+
const o = document.createElement("a");
|
|
3520
|
+
o.href = e, o.target = "_blank", setTimeout(function() {
|
|
3521
|
+
ke(o);
|
|
3522
|
+
});
|
|
3523
|
+
}
|
|
3524
|
+
else
|
|
3525
|
+
navigator.msSaveOrOpenBlob(Lu(e, n), t);
|
|
3526
|
+
}
|
|
3527
|
+
function Mu(e, t, n, o) {
|
|
3528
|
+
if (o = o || open("", "_blank"), o && (o.document.title = o.document.body.innerText = "downloading..."), typeof e == "string")
|
|
3529
|
+
return mt(e, t, n);
|
|
3530
|
+
const r = e.type === "application/octet-stream", u = /constructor/i.test(String(Dn.HTMLElement)) || "safari" in Dn, s = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
3531
|
+
if ((s || r && u || mo) && typeof FileReader < "u") {
|
|
3532
|
+
const i = new FileReader();
|
|
3533
|
+
i.onloadend = function() {
|
|
3534
|
+
let l = i.result;
|
|
3535
|
+
if (typeof l != "string")
|
|
3536
|
+
throw o = null, new Error("Wrong reader.result type");
|
|
3537
|
+
l = s ? l : l.replace(/^data:[^;]*;/, "data:attachment/file;"), o ? o.location.href = l : location.assign(l), o = null;
|
|
3538
|
+
}, i.readAsDataURL(e);
|
|
3539
|
+
} else {
|
|
3540
|
+
const i = URL.createObjectURL(e);
|
|
3541
|
+
o ? o.location.assign(i) : location.href = i, o = null, setTimeout(function() {
|
|
3542
|
+
URL.revokeObjectURL(i);
|
|
3543
|
+
}, 4e4);
|
|
3544
|
+
}
|
|
3545
|
+
}
|
|
3546
|
+
function P(e, t) {
|
|
3547
|
+
const n = "🍍 " + e;
|
|
3548
|
+
typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(n, t) : t === "error" ? console.error(n) : t === "warn" ? console.warn(n) : console.log(n);
|
|
3549
|
+
}
|
|
3550
|
+
function vt(e) {
|
|
3551
|
+
return "_a" in e && "install" in e;
|
|
3552
|
+
}
|
|
3553
|
+
function yo() {
|
|
3554
|
+
if (!("clipboard" in navigator))
|
|
3555
|
+
return P("Your browser doesn't support the Clipboard API", "error"), !0;
|
|
3556
|
+
}
|
|
3557
|
+
function Ao(e) {
|
|
3558
|
+
return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (P('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
|
|
3559
|
+
}
|
|
3560
|
+
async function ju(e) {
|
|
3561
|
+
if (!yo())
|
|
3562
|
+
try {
|
|
3563
|
+
await navigator.clipboard.writeText(JSON.stringify(e.state.value)), P("Global state copied to clipboard.");
|
|
3564
|
+
} catch (t) {
|
|
3565
|
+
if (Ao(t))
|
|
3566
|
+
return;
|
|
3567
|
+
P("Failed to serialize the state. Check the console for more details.", "error"), console.error(t);
|
|
3568
|
+
}
|
|
3569
|
+
}
|
|
3570
|
+
async function Hu(e) {
|
|
3571
|
+
if (!yo())
|
|
3572
|
+
try {
|
|
3573
|
+
Oo(e, JSON.parse(await navigator.clipboard.readText())), P("Global state pasted from clipboard.");
|
|
3574
|
+
} catch (t) {
|
|
3575
|
+
if (Ao(t))
|
|
3576
|
+
return;
|
|
3577
|
+
P("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(t);
|
|
3578
|
+
}
|
|
3579
|
+
}
|
|
3580
|
+
async function Ku(e) {
|
|
3581
|
+
try {
|
|
3582
|
+
vo(new Blob([JSON.stringify(e.state.value)], {
|
|
3583
|
+
type: "text/plain;charset=utf-8"
|
|
3584
|
+
}), "pinia-state.json");
|
|
3585
|
+
} catch (t) {
|
|
3586
|
+
P("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
|
|
3587
|
+
}
|
|
3588
|
+
}
|
|
3589
|
+
let G;
|
|
3590
|
+
function zu() {
|
|
3591
|
+
G || (G = document.createElement("input"), G.type = "file", G.accept = ".json");
|
|
3592
|
+
function e() {
|
|
3593
|
+
return new Promise((t, n) => {
|
|
3594
|
+
G.onchange = async () => {
|
|
3595
|
+
const o = G.files;
|
|
3596
|
+
if (!o)
|
|
3597
|
+
return t(null);
|
|
3598
|
+
const r = o.item(0);
|
|
3599
|
+
return t(r ? { text: await r.text(), file: r } : null);
|
|
3600
|
+
}, G.oncancel = () => t(null), G.onerror = n, G.click();
|
|
3601
|
+
});
|
|
3602
|
+
}
|
|
3603
|
+
return e;
|
|
3604
|
+
}
|
|
3605
|
+
async function Gu(e) {
|
|
3606
|
+
try {
|
|
3607
|
+
const n = await zu()();
|
|
3608
|
+
if (!n)
|
|
3609
|
+
return;
|
|
3610
|
+
const { text: o, file: r } = n;
|
|
3611
|
+
Oo(e, JSON.parse(o)), P(`Global state imported from "${r.name}".`);
|
|
3612
|
+
} catch (t) {
|
|
3613
|
+
P("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(t);
|
|
3614
|
+
}
|
|
3615
|
+
}
|
|
3616
|
+
function Oo(e, t) {
|
|
3617
|
+
for (const n in t) {
|
|
3618
|
+
const o = e.state.value[n];
|
|
3619
|
+
o ? Object.assign(o, t[n]) : e.state.value[n] = t[n];
|
|
3620
|
+
}
|
|
3621
|
+
}
|
|
3622
|
+
function j(e) {
|
|
3623
|
+
return {
|
|
3624
|
+
_custom: {
|
|
3625
|
+
display: e
|
|
3626
|
+
}
|
|
3627
|
+
};
|
|
3628
|
+
}
|
|
3629
|
+
const So = "🍍 Pinia (root)", Re = "_root";
|
|
3630
|
+
function Wu(e) {
|
|
3631
|
+
return vt(e) ? {
|
|
3632
|
+
id: Re,
|
|
3633
|
+
label: So
|
|
3634
|
+
} : {
|
|
3635
|
+
id: e.$id,
|
|
3636
|
+
label: e.$id
|
|
3637
|
+
};
|
|
3638
|
+
}
|
|
3639
|
+
function Yu(e) {
|
|
3640
|
+
if (vt(e)) {
|
|
3641
|
+
const n = Array.from(e._s.keys()), o = e._s;
|
|
3642
|
+
return {
|
|
3643
|
+
state: n.map((u) => ({
|
|
3644
|
+
editable: !0,
|
|
3645
|
+
key: u,
|
|
3646
|
+
value: e.state.value[u]
|
|
3647
|
+
})),
|
|
3648
|
+
getters: n.filter((u) => o.get(u)._getters).map((u) => {
|
|
3649
|
+
const s = o.get(u);
|
|
3650
|
+
return {
|
|
3651
|
+
editable: !1,
|
|
3652
|
+
key: u,
|
|
3653
|
+
value: s._getters.reduce((i, l) => (i[l] = s[l], i), {})
|
|
3654
|
+
};
|
|
3655
|
+
})
|
|
3656
|
+
};
|
|
3657
|
+
}
|
|
3658
|
+
const t = {
|
|
3659
|
+
state: Object.keys(e.$state).map((n) => ({
|
|
3660
|
+
editable: !0,
|
|
3661
|
+
key: n,
|
|
3662
|
+
value: e.$state[n]
|
|
3663
|
+
}))
|
|
3664
|
+
};
|
|
3665
|
+
return e._getters && e._getters.length && (t.getters = e._getters.map((n) => ({
|
|
3666
|
+
editable: !1,
|
|
3667
|
+
key: n,
|
|
3668
|
+
value: e[n]
|
|
3669
|
+
}))), e._customProperties.size && (t.customProperties = Array.from(e._customProperties).map((n) => ({
|
|
3670
|
+
editable: !0,
|
|
3671
|
+
key: n,
|
|
3672
|
+
value: e[n]
|
|
3673
|
+
}))), t;
|
|
3674
|
+
}
|
|
3675
|
+
function qu(e) {
|
|
3676
|
+
return e ? Array.isArray(e) ? e.reduce((t, n) => (t.keys.push(n.key), t.operations.push(n.type), t.oldValue[n.key] = n.oldValue, t.newValue[n.key] = n.newValue, t), {
|
|
3677
|
+
oldValue: {},
|
|
3678
|
+
keys: [],
|
|
3679
|
+
operations: [],
|
|
3680
|
+
newValue: {}
|
|
3681
|
+
}) : {
|
|
3682
|
+
operation: j(e.type),
|
|
3683
|
+
key: j(e.key),
|
|
3684
|
+
oldValue: e.oldValue,
|
|
3685
|
+
newValue: e.newValue
|
|
3686
|
+
} : {};
|
|
3687
|
+
}
|
|
3688
|
+
function Zu(e) {
|
|
3689
|
+
switch (e) {
|
|
3690
|
+
case z.direct:
|
|
3691
|
+
return "mutation";
|
|
3692
|
+
case z.patchFunction:
|
|
3693
|
+
return "$patch";
|
|
3694
|
+
case z.patchObject:
|
|
3695
|
+
return "$patch";
|
|
3696
|
+
default:
|
|
3697
|
+
return "unknown";
|
|
3698
|
+
}
|
|
3699
|
+
}
|
|
3700
|
+
let ae = !0;
|
|
3701
|
+
const Ne = [], J = "pinia:mutations", R = "pinia", { assign: Xu } = Object, Fe = (e) => "🍍 " + e;
|
|
3702
|
+
function Ju(e, t) {
|
|
3703
|
+
eo({
|
|
3704
|
+
id: "dev.esm.pinia",
|
|
3705
|
+
label: "Pinia 🍍",
|
|
3706
|
+
logo: "https://pinia.vuejs.org/logo.svg",
|
|
3707
|
+
packageName: "pinia",
|
|
3708
|
+
homepage: "https://pinia.vuejs.org",
|
|
3709
|
+
componentStateTypes: Ne,
|
|
3710
|
+
app: e
|
|
3711
|
+
}, (n) => {
|
|
3712
|
+
typeof n.now != "function" && P("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), n.addTimelineLayer({
|
|
3713
|
+
id: J,
|
|
3714
|
+
label: "Pinia 🍍",
|
|
3715
|
+
color: 15064968
|
|
3716
|
+
}), n.addInspector({
|
|
3717
|
+
id: R,
|
|
3718
|
+
label: "Pinia 🍍",
|
|
3719
|
+
icon: "storage",
|
|
3720
|
+
treeFilterPlaceholder: "Search stores",
|
|
3721
|
+
actions: [
|
|
3722
|
+
{
|
|
3723
|
+
icon: "content_copy",
|
|
3724
|
+
action: () => {
|
|
3725
|
+
ju(t);
|
|
3726
|
+
},
|
|
3727
|
+
tooltip: "Serialize and copy the state"
|
|
3728
|
+
},
|
|
3729
|
+
{
|
|
3730
|
+
icon: "content_paste",
|
|
3731
|
+
action: async () => {
|
|
3732
|
+
await Hu(t), n.sendInspectorTree(R), n.sendInspectorState(R);
|
|
3733
|
+
},
|
|
3734
|
+
tooltip: "Replace the state with the content of your clipboard"
|
|
3735
|
+
},
|
|
3736
|
+
{
|
|
3737
|
+
icon: "save",
|
|
3738
|
+
action: () => {
|
|
3739
|
+
Ku(t);
|
|
3740
|
+
},
|
|
3741
|
+
tooltip: "Save the state as a JSON file"
|
|
3742
|
+
},
|
|
3743
|
+
{
|
|
3744
|
+
icon: "folder_open",
|
|
3745
|
+
action: async () => {
|
|
3746
|
+
await Gu(t), n.sendInspectorTree(R), n.sendInspectorState(R);
|
|
3747
|
+
},
|
|
3748
|
+
tooltip: "Import the state from a JSON file"
|
|
3749
|
+
}
|
|
3750
|
+
],
|
|
3751
|
+
nodeActions: [
|
|
3752
|
+
{
|
|
3753
|
+
icon: "restore",
|
|
3754
|
+
tooltip: 'Reset the state (with "$reset")',
|
|
3755
|
+
action: (o) => {
|
|
3756
|
+
const r = t._s.get(o);
|
|
3757
|
+
r ? typeof r.$reset != "function" ? P(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`, "warn") : (r.$reset(), P(`Store "${o}" reset.`)) : P(`Cannot reset "${o}" store because it wasn't found.`, "warn");
|
|
3758
|
+
}
|
|
3759
|
+
}
|
|
3760
|
+
]
|
|
3761
|
+
}), n.on.inspectComponent((o) => {
|
|
3762
|
+
const r = o.componentInstance && o.componentInstance.proxy;
|
|
3763
|
+
if (r && r._pStores) {
|
|
3764
|
+
const u = o.componentInstance.proxy._pStores;
|
|
3765
|
+
Object.values(u).forEach((s) => {
|
|
3766
|
+
o.instanceData.state.push({
|
|
3767
|
+
type: Fe(s.$id),
|
|
3768
|
+
key: "state",
|
|
3769
|
+
editable: !0,
|
|
3770
|
+
value: s._isOptionsAPI ? {
|
|
3771
|
+
_custom: {
|
|
3772
|
+
value: le(s.$state),
|
|
3773
|
+
actions: [
|
|
3774
|
+
{
|
|
3775
|
+
icon: "restore",
|
|
3776
|
+
tooltip: "Reset the state of this store",
|
|
3777
|
+
action: () => s.$reset()
|
|
3778
|
+
}
|
|
3779
|
+
]
|
|
3780
|
+
}
|
|
3781
|
+
} : (
|
|
3782
|
+
// NOTE: workaround to unwrap transferred refs
|
|
3783
|
+
Object.keys(s.$state).reduce((i, l) => (i[l] = s.$state[l], i), {})
|
|
3784
|
+
)
|
|
3785
|
+
}), s._getters && s._getters.length && o.instanceData.state.push({
|
|
3786
|
+
type: Fe(s.$id),
|
|
3787
|
+
key: "getters",
|
|
3788
|
+
editable: !1,
|
|
3789
|
+
value: s._getters.reduce((i, l) => {
|
|
3790
|
+
try {
|
|
3791
|
+
i[l] = s[l];
|
|
3792
|
+
} catch (f) {
|
|
3793
|
+
i[l] = f;
|
|
3794
|
+
}
|
|
3795
|
+
return i;
|
|
3796
|
+
}, {})
|
|
3797
|
+
});
|
|
3798
|
+
});
|
|
3799
|
+
}
|
|
3800
|
+
}), n.on.getInspectorTree((o) => {
|
|
3801
|
+
if (o.app === e && o.inspectorId === R) {
|
|
3802
|
+
let r = [t];
|
|
3803
|
+
r = r.concat(Array.from(t._s.values())), o.rootNodes = (o.filter ? r.filter((u) => "$id" in u ? u.$id.toLowerCase().includes(o.filter.toLowerCase()) : So.toLowerCase().includes(o.filter.toLowerCase())) : r).map(Wu);
|
|
3804
|
+
}
|
|
3805
|
+
}), globalThis.$pinia = t, n.on.getInspectorState((o) => {
|
|
3806
|
+
if (o.app === e && o.inspectorId === R) {
|
|
3807
|
+
const r = o.nodeId === Re ? t : t._s.get(o.nodeId);
|
|
3808
|
+
if (!r)
|
|
3809
|
+
return;
|
|
3810
|
+
r && (o.nodeId !== Re && (globalThis.$store = le(r)), o.state = Yu(r));
|
|
3811
|
+
}
|
|
3812
|
+
}), n.on.editInspectorState((o) => {
|
|
3813
|
+
if (o.app === e && o.inspectorId === R) {
|
|
3814
|
+
const r = o.nodeId === Re ? t : t._s.get(o.nodeId);
|
|
3815
|
+
if (!r)
|
|
3816
|
+
return P(`store "${o.nodeId}" not found`, "error");
|
|
3817
|
+
const { path: u } = o;
|
|
3818
|
+
vt(r) ? u.unshift("state") : (u.length !== 1 || !r._customProperties.has(u[0]) || u[0] in r.$state) && u.unshift("$state"), ae = !1, o.set(r, u, o.state.value), ae = !0;
|
|
3819
|
+
}
|
|
3820
|
+
}), n.on.editComponentState((o) => {
|
|
3821
|
+
if (o.type.startsWith("🍍")) {
|
|
3822
|
+
const r = o.type.replace(/^🍍\s*/, ""), u = t._s.get(r);
|
|
3823
|
+
if (!u)
|
|
3824
|
+
return P(`store "${r}" not found`, "error");
|
|
3825
|
+
const { path: s } = o;
|
|
3826
|
+
if (s[0] !== "state")
|
|
3827
|
+
return P(`Invalid path for store "${r}":
|
|
3828
|
+
${s}
|
|
3829
|
+
Only state can be modified.`);
|
|
3830
|
+
s[0] = "$state", ae = !1, o.set(u, s, o.state.value), ae = !0;
|
|
3831
|
+
}
|
|
3832
|
+
});
|
|
3833
|
+
});
|
|
3834
|
+
}
|
|
3835
|
+
function Qu(e, t) {
|
|
3836
|
+
Ne.includes(Fe(t.$id)) || Ne.push(Fe(t.$id)), eo({
|
|
3837
|
+
id: "dev.esm.pinia",
|
|
3838
|
+
label: "Pinia 🍍",
|
|
3839
|
+
logo: "https://pinia.vuejs.org/logo.svg",
|
|
3840
|
+
packageName: "pinia",
|
|
3841
|
+
homepage: "https://pinia.vuejs.org",
|
|
3842
|
+
componentStateTypes: Ne,
|
|
3843
|
+
app: e,
|
|
3844
|
+
settings: {
|
|
3845
|
+
logStoreChanges: {
|
|
3846
|
+
label: "Notify about new/deleted stores",
|
|
3847
|
+
type: "boolean",
|
|
3848
|
+
defaultValue: !0
|
|
3849
|
+
}
|
|
3850
|
+
// useEmojis: {
|
|
3851
|
+
// label: 'Use emojis in messages ⚡️',
|
|
3852
|
+
// type: 'boolean',
|
|
3853
|
+
// defaultValue: true,
|
|
3854
|
+
// },
|
|
3855
|
+
}
|
|
3856
|
+
}, (n) => {
|
|
3857
|
+
const o = typeof n.now == "function" ? n.now.bind(n) : Date.now;
|
|
3858
|
+
t.$onAction(({ after: s, onError: i, name: l, args: f }) => {
|
|
3859
|
+
const v = bo++;
|
|
3860
|
+
n.addTimelineEvent({
|
|
3861
|
+
layerId: J,
|
|
3862
|
+
event: {
|
|
3863
|
+
time: o(),
|
|
3864
|
+
title: "🛫 " + l,
|
|
3865
|
+
subtitle: "start",
|
|
3866
|
+
data: {
|
|
3867
|
+
store: j(t.$id),
|
|
3868
|
+
action: j(l),
|
|
3869
|
+
args: f
|
|
3870
|
+
},
|
|
3871
|
+
groupId: v
|
|
3872
|
+
}
|
|
3873
|
+
}), s((c) => {
|
|
3874
|
+
Z = void 0, n.addTimelineEvent({
|
|
3875
|
+
layerId: J,
|
|
3876
|
+
event: {
|
|
3877
|
+
time: o(),
|
|
3878
|
+
title: "🛬 " + l,
|
|
3879
|
+
subtitle: "end",
|
|
3880
|
+
data: {
|
|
3881
|
+
store: j(t.$id),
|
|
3882
|
+
action: j(l),
|
|
3883
|
+
args: f,
|
|
3884
|
+
result: c
|
|
3885
|
+
},
|
|
3886
|
+
groupId: v
|
|
3887
|
+
}
|
|
3888
|
+
});
|
|
3889
|
+
}), i((c) => {
|
|
3890
|
+
Z = void 0, n.addTimelineEvent({
|
|
3891
|
+
layerId: J,
|
|
3892
|
+
event: {
|
|
3893
|
+
time: o(),
|
|
3894
|
+
logType: "error",
|
|
3895
|
+
title: "💥 " + l,
|
|
3896
|
+
subtitle: "end",
|
|
3897
|
+
data: {
|
|
3898
|
+
store: j(t.$id),
|
|
3899
|
+
action: j(l),
|
|
3900
|
+
args: f,
|
|
3901
|
+
error: c
|
|
3902
|
+
},
|
|
3903
|
+
groupId: v
|
|
3904
|
+
}
|
|
3905
|
+
});
|
|
3906
|
+
});
|
|
3907
|
+
}, !0), t._customProperties.forEach((s) => {
|
|
3908
|
+
Vn(() => ko(t[s]), (i, l) => {
|
|
3909
|
+
n.notifyComponentUpdate(), n.sendInspectorState(R), ae && n.addTimelineEvent({
|
|
3910
|
+
layerId: J,
|
|
3911
|
+
event: {
|
|
3912
|
+
time: o(),
|
|
3913
|
+
title: "Change",
|
|
3914
|
+
subtitle: s,
|
|
3915
|
+
data: {
|
|
3916
|
+
newValue: i,
|
|
3917
|
+
oldValue: l
|
|
3918
|
+
},
|
|
3919
|
+
groupId: Z
|
|
3920
|
+
}
|
|
3921
|
+
});
|
|
3922
|
+
}, { deep: !0 });
|
|
3923
|
+
}), t.$subscribe(({ events: s, type: i }, l) => {
|
|
3924
|
+
if (n.notifyComponentUpdate(), n.sendInspectorState(R), !ae)
|
|
3925
|
+
return;
|
|
3926
|
+
const f = {
|
|
3927
|
+
time: o(),
|
|
3928
|
+
title: Zu(i),
|
|
3929
|
+
data: Xu({ store: j(t.$id) }, qu(s)),
|
|
3930
|
+
groupId: Z
|
|
3931
|
+
};
|
|
3932
|
+
i === z.patchFunction ? f.subtitle = "⤵️" : i === z.patchObject ? f.subtitle = "🧩" : s && !Array.isArray(s) && (f.subtitle = s.type), s && (f.data["rawEvent(s)"] = {
|
|
3933
|
+
_custom: {
|
|
3934
|
+
display: "DebuggerEvent",
|
|
3935
|
+
type: "object",
|
|
3936
|
+
tooltip: "raw DebuggerEvent[]",
|
|
3937
|
+
value: s
|
|
3938
|
+
}
|
|
3939
|
+
}), n.addTimelineEvent({
|
|
3940
|
+
layerId: J,
|
|
3941
|
+
event: f
|
|
3942
|
+
});
|
|
3943
|
+
}, { detached: !0, flush: "sync" });
|
|
3944
|
+
const r = t._hotUpdate;
|
|
3945
|
+
t._hotUpdate = Q((s) => {
|
|
3946
|
+
r(s), n.addTimelineEvent({
|
|
3947
|
+
layerId: J,
|
|
3948
|
+
event: {
|
|
3949
|
+
time: o(),
|
|
3950
|
+
title: "🔥 " + t.$id,
|
|
3951
|
+
subtitle: "HMR update",
|
|
3952
|
+
data: {
|
|
3953
|
+
store: j(t.$id),
|
|
3954
|
+
info: j("HMR update")
|
|
3955
|
+
}
|
|
3956
|
+
}
|
|
3957
|
+
}), n.notifyComponentUpdate(), n.sendInspectorTree(R), n.sendInspectorState(R);
|
|
3958
|
+
});
|
|
3959
|
+
const { $dispose: u } = t;
|
|
3960
|
+
t.$dispose = () => {
|
|
3961
|
+
u(), n.notifyComponentUpdate(), n.sendInspectorTree(R), n.sendInspectorState(R), n.getSettings().logStoreChanges && P(`Disposed "${t.$id}" store 🗑`);
|
|
3962
|
+
}, n.notifyComponentUpdate(), n.sendInspectorTree(R), n.sendInspectorState(R), n.getSettings().logStoreChanges && P(`"${t.$id}" store installed 🆕`);
|
|
3963
|
+
});
|
|
3964
|
+
}
|
|
3965
|
+
let bo = 0, Z;
|
|
3966
|
+
function In(e, t, n) {
|
|
3967
|
+
const o = t.reduce((r, u) => (r[u] = le(e)[u], r), {});
|
|
3968
|
+
for (const r in o)
|
|
3969
|
+
e[r] = function() {
|
|
3970
|
+
const u = bo, s = n ? new Proxy(e, {
|
|
3971
|
+
get(...l) {
|
|
3972
|
+
return Z = u, Reflect.get(...l);
|
|
3973
|
+
},
|
|
3974
|
+
set(...l) {
|
|
3975
|
+
return Z = u, Reflect.set(...l);
|
|
3976
|
+
}
|
|
3977
|
+
}) : e;
|
|
3978
|
+
Z = u;
|
|
3979
|
+
const i = o[r].apply(s, arguments);
|
|
3980
|
+
return Z = void 0, i;
|
|
3981
|
+
};
|
|
3982
|
+
}
|
|
3983
|
+
function es({ app: e, store: t, options: n }) {
|
|
3984
|
+
if (!t.$id.startsWith("__hot:")) {
|
|
3985
|
+
if (t._isOptionsAPI = !!n.state, !t._p._testing) {
|
|
3986
|
+
In(t, Object.keys(n.actions), t._isOptionsAPI);
|
|
3987
|
+
const o = t._hotUpdate;
|
|
3988
|
+
le(t)._hotUpdate = function(r) {
|
|
3989
|
+
o.apply(this, arguments), In(t, Object.keys(r._hmrPayload.actions), !!t._isOptionsAPI);
|
|
3990
|
+
};
|
|
3991
|
+
}
|
|
3992
|
+
Qu(
|
|
3993
|
+
e,
|
|
3994
|
+
// FIXME: is there a way to allow the assignment from Store<Id, S, G, A> to StoreGeneric?
|
|
3995
|
+
t
|
|
3996
|
+
);
|
|
3997
|
+
}
|
|
3998
|
+
}
|
|
3999
|
+
function is() {
|
|
4000
|
+
const e = Nn(!0), t = e.run(() => ut({}));
|
|
4001
|
+
let n = [], o = [];
|
|
4002
|
+
const r = Q({
|
|
4003
|
+
install(u) {
|
|
4004
|
+
be(r), r._a = u, u.provide(xe, r), u.config.globalProperties.$pinia = r, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && W && Ju(u, r), o.forEach((s) => n.push(s)), o = [];
|
|
4005
|
+
},
|
|
4006
|
+
use(u) {
|
|
4007
|
+
return this._a ? n.push(u) : o.push(u), this;
|
|
4008
|
+
},
|
|
4009
|
+
_p: n,
|
|
4010
|
+
// it's actually undefined here
|
|
4011
|
+
// @ts-expect-error
|
|
4012
|
+
_a: null,
|
|
4013
|
+
_e: e,
|
|
4014
|
+
_s: /* @__PURE__ */ new Map(),
|
|
4015
|
+
state: t
|
|
4016
|
+
});
|
|
4017
|
+
return process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && W && typeof Proxy < "u" && r.use(es), r;
|
|
4018
|
+
}
|
|
4019
|
+
function as(e) {
|
|
4020
|
+
e._e.stop(), e._s.clear(), e._p.splice(0), e.state.value = {}, e._a = null;
|
|
4021
|
+
}
|
|
4022
|
+
const ts = (e) => typeof e == "function" && typeof e.$id == "string";
|
|
4023
|
+
function To(e, t) {
|
|
4024
|
+
for (const n in t) {
|
|
4025
|
+
const o = t[n];
|
|
4026
|
+
if (!(n in e))
|
|
4027
|
+
continue;
|
|
4028
|
+
const r = e[n];
|
|
4029
|
+
oe(r) && oe(o) && !ce(o) && !Ue(o) ? e[n] = To(r, o) : e[n] = o;
|
|
4030
|
+
}
|
|
4031
|
+
return e;
|
|
4032
|
+
}
|
|
4033
|
+
function ls(e, t) {
|
|
4034
|
+
return process.env.NODE_ENV === "production" ? () => {
|
|
4035
|
+
} : (n) => {
|
|
4036
|
+
const o = t.data.pinia || e._pinia;
|
|
4037
|
+
if (o) {
|
|
4038
|
+
t.data.pinia = o;
|
|
4039
|
+
for (const r in n) {
|
|
4040
|
+
const u = n[r];
|
|
4041
|
+
if (ts(u) && o._s.has(u.$id)) {
|
|
4042
|
+
const s = u.$id;
|
|
4043
|
+
if (s !== e.$id)
|
|
4044
|
+
return console.warn(`The id of the store changed from "${e.$id}" to "${s}". Reloading.`), t.invalidate();
|
|
4045
|
+
const i = o._s.get(s);
|
|
4046
|
+
if (!i) {
|
|
4047
|
+
console.log("[Pinia]: skipping hmr because store doesn't exist yet");
|
|
4048
|
+
return;
|
|
4049
|
+
}
|
|
4050
|
+
u(o, i);
|
|
4051
|
+
}
|
|
4052
|
+
}
|
|
4053
|
+
}
|
|
4054
|
+
};
|
|
4055
|
+
}
|
|
4056
|
+
const Co = () => {
|
|
4057
|
+
};
|
|
4058
|
+
function wn(e, t, n, o = Co) {
|
|
4059
|
+
e.add(t);
|
|
4060
|
+
const r = () => {
|
|
4061
|
+
e.delete(t) && o();
|
|
4062
|
+
};
|
|
4063
|
+
return !n && Ro() && No(r), r;
|
|
4064
|
+
}
|
|
4065
|
+
function se(e, ...t) {
|
|
4066
|
+
e.forEach((n) => {
|
|
4067
|
+
n(...t);
|
|
4068
|
+
});
|
|
4069
|
+
}
|
|
4070
|
+
const ns = (e) => e(), kn = Symbol(), ze = Symbol();
|
|
4071
|
+
function ot(e, t) {
|
|
4072
|
+
e instanceof Map && t instanceof Map ? t.forEach((n, o) => e.set(o, n)) : e instanceof Set && t instanceof Set && t.forEach(e.add, e);
|
|
4073
|
+
for (const n in t) {
|
|
4074
|
+
if (!t.hasOwnProperty(n))
|
|
4075
|
+
continue;
|
|
4076
|
+
const o = t[n], r = e[n];
|
|
4077
|
+
oe(r) && oe(o) && e.hasOwnProperty(n) && !ce(o) && !Ue(o) ? e[n] = ot(r, o) : e[n] = o;
|
|
4078
|
+
}
|
|
4079
|
+
return e;
|
|
4080
|
+
}
|
|
4081
|
+
const Do = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
|
|
4082
|
+
/* istanbul ignore next */
|
|
4083
|
+
Symbol()
|
|
4084
|
+
);
|
|
4085
|
+
function cs(e) {
|
|
4086
|
+
return Object.defineProperty(e, Do, {});
|
|
4087
|
+
}
|
|
4088
|
+
function os(e) {
|
|
4089
|
+
return !oe(e) || !Object.prototype.hasOwnProperty.call(e, Do);
|
|
4090
|
+
}
|
|
4091
|
+
const { assign: B } = Object;
|
|
4092
|
+
function Pn(e) {
|
|
4093
|
+
return !!(ce(e) && e.effect);
|
|
4094
|
+
}
|
|
4095
|
+
function Rn(e, t, n, o) {
|
|
4096
|
+
const { state: r, actions: u, getters: s } = t, i = n.state.value[e];
|
|
4097
|
+
let l;
|
|
4098
|
+
function f() {
|
|
4099
|
+
!i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
|
|
4100
|
+
const v = process.env.NODE_ENV !== "production" && o ? (
|
|
4101
|
+
// use ref() to unwrap refs inside state TODO: check if this is still necessary
|
|
4102
|
+
Ot(ut(r ? r() : {}).value)
|
|
4103
|
+
) : Ot(n.state.value[e]);
|
|
4104
|
+
return B(v, u, Object.keys(s || {}).reduce((c, y) => (process.env.NODE_ENV !== "production" && y in v && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${y}" in store "${e}".`), c[y] = Q(st(() => {
|
|
4105
|
+
be(n);
|
|
4106
|
+
const d = n._s.get(e);
|
|
4107
|
+
return s[y].call(d, d);
|
|
4108
|
+
})), c), {}));
|
|
4109
|
+
}
|
|
4110
|
+
return l = rt(e, f, t, n, o, !0), l;
|
|
4111
|
+
}
|
|
4112
|
+
function rt(e, t, n = {}, o, r, u) {
|
|
4113
|
+
let s;
|
|
4114
|
+
const i = B({ actions: {} }, n);
|
|
4115
|
+
if (process.env.NODE_ENV !== "production" && !o._e.active)
|
|
4116
|
+
throw new Error("Pinia destroyed");
|
|
4117
|
+
const l = { deep: !0 };
|
|
4118
|
+
process.env.NODE_ENV !== "production" && (l.onTrigger = (m) => {
|
|
4119
|
+
f ? d = m : f == !1 && !O._hotUpdating && (Array.isArray(d) ? d.push(m) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
|
|
4120
|
+
});
|
|
4121
|
+
let f, v, c = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Set(), d;
|
|
4122
|
+
const _ = o.state.value[e];
|
|
4123
|
+
!u && !_ && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
|
|
4124
|
+
const A = ut({});
|
|
4125
|
+
let h;
|
|
4126
|
+
function g(m) {
|
|
4127
|
+
let E;
|
|
4128
|
+
f = v = !1, process.env.NODE_ENV !== "production" && (d = []), typeof m == "function" ? (m(o.state.value[e]), E = {
|
|
4129
|
+
type: z.patchFunction,
|
|
4130
|
+
storeId: e,
|
|
4131
|
+
events: d
|
|
4132
|
+
}) : (ot(o.state.value[e], m), E = {
|
|
4133
|
+
type: z.patchObject,
|
|
4134
|
+
payload: m,
|
|
4135
|
+
storeId: e,
|
|
4136
|
+
events: d
|
|
4137
|
+
});
|
|
4138
|
+
const C = h = Symbol();
|
|
4139
|
+
At().then(() => {
|
|
4140
|
+
h === C && (f = !0);
|
|
4141
|
+
}), v = !0, se(c, E, o.state.value[e]);
|
|
4142
|
+
}
|
|
4143
|
+
const T = u ? function() {
|
|
4144
|
+
const { state: E } = n, C = E ? E() : {};
|
|
4145
|
+
this.$patch((k) => {
|
|
4146
|
+
B(k, C);
|
|
4147
|
+
});
|
|
4148
|
+
} : (
|
|
4149
|
+
/* istanbul ignore next */
|
|
4150
|
+
process.env.NODE_ENV !== "production" ? () => {
|
|
4151
|
+
throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
|
|
4152
|
+
} : Co
|
|
4153
|
+
);
|
|
4154
|
+
function b() {
|
|
4155
|
+
s.stop(), c.clear(), y.clear(), o._s.delete(e);
|
|
4156
|
+
}
|
|
4157
|
+
const V = (m, E = "") => {
|
|
4158
|
+
if (kn in m)
|
|
4159
|
+
return m[ze] = E, m;
|
|
4160
|
+
const C = function() {
|
|
4161
|
+
be(o);
|
|
4162
|
+
const k = Array.from(arguments), L = /* @__PURE__ */ new Set(), re = /* @__PURE__ */ new Set();
|
|
4163
|
+
function $(I) {
|
|
4164
|
+
L.add(I);
|
|
4165
|
+
}
|
|
4166
|
+
function S(I) {
|
|
4167
|
+
re.add(I);
|
|
4168
|
+
}
|
|
4169
|
+
se(y, {
|
|
4170
|
+
args: k,
|
|
4171
|
+
name: C[ze],
|
|
4172
|
+
store: O,
|
|
4173
|
+
after: $,
|
|
4174
|
+
onError: S
|
|
4175
|
+
});
|
|
4176
|
+
let H;
|
|
4177
|
+
try {
|
|
4178
|
+
H = m.apply(this && this.$id === e ? this : O, k);
|
|
4179
|
+
} catch (I) {
|
|
4180
|
+
throw se(re, I), I;
|
|
4181
|
+
}
|
|
4182
|
+
return H instanceof Promise ? H.then((I) => (se(L, I), I)).catch((I) => (se(re, I), Promise.reject(I))) : (se(L, H), H);
|
|
4183
|
+
};
|
|
4184
|
+
return C[kn] = !0, C[ze] = E, C;
|
|
4185
|
+
}, Y = /* @__PURE__ */ Q({
|
|
4186
|
+
actions: {},
|
|
4187
|
+
getters: {},
|
|
4188
|
+
state: [],
|
|
4189
|
+
hotState: A
|
|
4190
|
+
}), U = {
|
|
4191
|
+
_p: o,
|
|
4192
|
+
// _s: scope,
|
|
4193
|
+
$id: e,
|
|
4194
|
+
$onAction: wn.bind(null, y),
|
|
4195
|
+
$patch: g,
|
|
4196
|
+
$reset: T,
|
|
4197
|
+
$subscribe(m, E = {}) {
|
|
4198
|
+
const C = wn(c, m, E.detached, () => k()), k = s.run(() => Vn(() => o.state.value[e], (L) => {
|
|
4199
|
+
(E.flush === "sync" ? v : f) && m({
|
|
4200
|
+
storeId: e,
|
|
4201
|
+
type: z.direct,
|
|
4202
|
+
events: d
|
|
4203
|
+
}, L);
|
|
4204
|
+
}, B({}, l, E)));
|
|
4205
|
+
return C;
|
|
4206
|
+
},
|
|
4207
|
+
$dispose: b
|
|
4208
|
+
}, O = Po(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && W ? B(
|
|
4209
|
+
{
|
|
4210
|
+
_hmrPayload: Y,
|
|
4211
|
+
_customProperties: Q(/* @__PURE__ */ new Set())
|
|
4212
|
+
// devtools custom properties
|
|
4213
|
+
},
|
|
4214
|
+
U
|
|
4215
|
+
// must be added later
|
|
4216
|
+
// setupStore
|
|
4217
|
+
) : U);
|
|
4218
|
+
o._s.set(e, O);
|
|
4219
|
+
const x = (o._a && o._a.runWithContext || ns)(() => o._e.run(() => (s = Nn()).run(() => t({ action: V }))));
|
|
4220
|
+
for (const m in x) {
|
|
4221
|
+
const E = x[m];
|
|
4222
|
+
if (ce(E) && !Pn(E) || Ue(E))
|
|
4223
|
+
process.env.NODE_ENV !== "production" && r ? A.value[m] = De(x, m) : u || (_ && os(E) && (ce(E) ? E.value = _[m] : ot(E, _[m])), o.state.value[e][m] = E), process.env.NODE_ENV !== "production" && Y.state.push(m);
|
|
4224
|
+
else if (typeof E == "function") {
|
|
4225
|
+
const C = process.env.NODE_ENV !== "production" && r ? E : V(E, m);
|
|
4226
|
+
x[m] = C, process.env.NODE_ENV !== "production" && (Y.actions[m] = E), i.actions[m] = E;
|
|
4227
|
+
} else process.env.NODE_ENV !== "production" && Pn(E) && (Y.getters[m] = u ? (
|
|
4228
|
+
// @ts-expect-error
|
|
4229
|
+
n.getters[m]
|
|
4230
|
+
) : E, W && (x._getters || // @ts-expect-error: same
|
|
4231
|
+
(x._getters = Q([]))).push(m));
|
|
4232
|
+
}
|
|
4233
|
+
if (B(O, x), B(le(O), x), Object.defineProperty(O, "$state", {
|
|
4234
|
+
get: () => process.env.NODE_ENV !== "production" && r ? A.value : o.state.value[e],
|
|
4235
|
+
set: (m) => {
|
|
4236
|
+
if (process.env.NODE_ENV !== "production" && r)
|
|
4237
|
+
throw new Error("cannot set hotState");
|
|
4238
|
+
g((E) => {
|
|
4239
|
+
B(E, m);
|
|
4240
|
+
});
|
|
4241
|
+
}
|
|
4242
|
+
}), process.env.NODE_ENV !== "production" && (O._hotUpdate = Q((m) => {
|
|
4243
|
+
O._hotUpdating = !0, m._hmrPayload.state.forEach((E) => {
|
|
4244
|
+
if (E in O.$state) {
|
|
4245
|
+
const C = m.$state[E], k = O.$state[E];
|
|
4246
|
+
typeof C == "object" && oe(C) && oe(k) ? To(C, k) : m.$state[E] = k;
|
|
4247
|
+
}
|
|
4248
|
+
O[E] = De(m.$state, E);
|
|
4249
|
+
}), Object.keys(O.$state).forEach((E) => {
|
|
4250
|
+
E in m.$state || delete O[E];
|
|
4251
|
+
}), f = !1, v = !1, o.state.value[e] = De(m._hmrPayload, "hotState"), v = !0, At().then(() => {
|
|
4252
|
+
f = !0;
|
|
4253
|
+
});
|
|
4254
|
+
for (const E in m._hmrPayload.actions) {
|
|
4255
|
+
const C = m[E];
|
|
4256
|
+
O[E] = //
|
|
4257
|
+
V(C, E);
|
|
4258
|
+
}
|
|
4259
|
+
for (const E in m._hmrPayload.getters) {
|
|
4260
|
+
const C = m._hmrPayload.getters[E], k = u ? (
|
|
4261
|
+
// special handling of options api
|
|
4262
|
+
st(() => (be(o), C.call(O, O)))
|
|
4263
|
+
) : C;
|
|
4264
|
+
O[E] = //
|
|
4265
|
+
k;
|
|
4266
|
+
}
|
|
4267
|
+
Object.keys(O._hmrPayload.getters).forEach((E) => {
|
|
4268
|
+
E in m._hmrPayload.getters || delete O[E];
|
|
4269
|
+
}), Object.keys(O._hmrPayload.actions).forEach((E) => {
|
|
4270
|
+
E in m._hmrPayload.actions || delete O[E];
|
|
4271
|
+
}), O._hmrPayload = m._hmrPayload, O._getters = m._getters, O._hotUpdating = !1;
|
|
4272
|
+
})), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && W) {
|
|
4273
|
+
const m = {
|
|
4274
|
+
writable: !0,
|
|
4275
|
+
configurable: !0,
|
|
4276
|
+
// avoid warning on devtools trying to display this property
|
|
4277
|
+
enumerable: !1
|
|
4278
|
+
};
|
|
4279
|
+
["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((E) => {
|
|
4280
|
+
Object.defineProperty(O, E, B({ value: O[E] }, m));
|
|
4281
|
+
});
|
|
4282
|
+
}
|
|
4283
|
+
return o._p.forEach((m) => {
|
|
4284
|
+
if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && W) {
|
|
4285
|
+
const E = s.run(() => m({
|
|
4286
|
+
store: O,
|
|
4287
|
+
app: o._a,
|
|
4288
|
+
pinia: o,
|
|
4289
|
+
options: i
|
|
4290
|
+
}));
|
|
4291
|
+
Object.keys(E || {}).forEach((C) => O._customProperties.add(C)), B(O, E);
|
|
4292
|
+
} else
|
|
4293
|
+
B(O, s.run(() => m({
|
|
4294
|
+
store: O,
|
|
4295
|
+
app: o._a,
|
|
4296
|
+
pinia: o,
|
|
4297
|
+
options: i
|
|
4298
|
+
})));
|
|
4299
|
+
}), process.env.NODE_ENV !== "production" && O.$state && typeof O.$state == "object" && typeof O.$state.constructor == "function" && !O.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
|
|
4300
|
+
state: () => new MyClass()
|
|
4301
|
+
Found in store "${O.$id}".`), _ && u && n.hydrate && n.hydrate(O.$state, _), f = !0, v = !0, O;
|
|
4302
|
+
}
|
|
4303
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
4304
|
+
// @__NO_SIDE_EFFECTS__
|
|
4305
|
+
function fs(e, t, n) {
|
|
4306
|
+
let o;
|
|
4307
|
+
const r = typeof t == "function";
|
|
4308
|
+
o = r ? n : t;
|
|
4309
|
+
function u(s, i) {
|
|
4310
|
+
const l = Ge();
|
|
4311
|
+
if (s = // in test mode, ignore the argument provided as we can always retrieve a
|
|
4312
|
+
// pinia instance with getActivePinia()
|
|
4313
|
+
(process.env.NODE_ENV === "test" && te && te._testing ? null : s) || (l ? We(xe, null) : null), s && be(s), process.env.NODE_ENV !== "production" && !te)
|
|
4314
|
+
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
4315
|
+
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
4316
|
+
This will fail in production.`);
|
|
4317
|
+
s = te, s._s.has(e) || (r ? rt(e, t, o, s) : Rn(e, o, s), process.env.NODE_ENV !== "production" && (u._pinia = s));
|
|
4318
|
+
const f = s._s.get(e);
|
|
4319
|
+
if (process.env.NODE_ENV !== "production" && i) {
|
|
4320
|
+
const v = "__hot:" + e, c = r ? rt(v, t, o, s, !0) : Rn(v, B({}, o), s, !0);
|
|
4321
|
+
i._hotUpdate(c), delete s.state.value[v], s._s.delete(v);
|
|
4322
|
+
}
|
|
4323
|
+
if (process.env.NODE_ENV !== "production" && W) {
|
|
4324
|
+
const v = wo();
|
|
4325
|
+
if (v && v.proxy && // avoid adding stores that are just built for hot module replacement
|
|
4326
|
+
!i) {
|
|
4327
|
+
const c = v.proxy, y = "_pStores" in c ? c._pStores : c._pStores = {};
|
|
4328
|
+
y[e] = f;
|
|
4329
|
+
}
|
|
4330
|
+
}
|
|
4331
|
+
return f;
|
|
4332
|
+
}
|
|
4333
|
+
return u.$id = e, u;
|
|
4334
|
+
}
|
|
4335
|
+
let Io = "Store";
|
|
4336
|
+
function ds(e) {
|
|
4337
|
+
Io = e;
|
|
4338
|
+
}
|
|
4339
|
+
function _s(...e) {
|
|
4340
|
+
return process.env.NODE_ENV !== "production" && Array.isArray(e[0]) && (console.warn(`[🍍]: Directly pass all stores to "mapStores()" without putting them in an array:
|
|
4341
|
+
Replace
|
|
4342
|
+
mapStores([useAuthStore, useCartStore])
|
|
4343
|
+
with
|
|
4344
|
+
mapStores(useAuthStore, useCartStore)
|
|
4345
|
+
This will fail in production if not fixed.`), e = e[0]), e.reduce((t, n) => (t[n.$id + Io] = function() {
|
|
4346
|
+
return n(this.$pinia);
|
|
4347
|
+
}, t), {});
|
|
4348
|
+
}
|
|
4349
|
+
function rs(e, t) {
|
|
4350
|
+
return Array.isArray(t) ? t.reduce((n, o) => (n[o] = function() {
|
|
4351
|
+
return e(this.$pinia)[o];
|
|
4352
|
+
}, n), {}) : Object.keys(t).reduce((n, o) => (n[o] = function() {
|
|
4353
|
+
const r = e(this.$pinia), u = t[o];
|
|
4354
|
+
return typeof u == "function" ? u.call(this, r) : (
|
|
4355
|
+
// @ts-expect-error: FIXME: should work?
|
|
4356
|
+
r[u]
|
|
4357
|
+
);
|
|
4358
|
+
}, n), {});
|
|
4359
|
+
}
|
|
4360
|
+
const ps = rs;
|
|
4361
|
+
function Es(e, t) {
|
|
4362
|
+
return Array.isArray(t) ? t.reduce((n, o) => (n[o] = function(...r) {
|
|
4363
|
+
return e(this.$pinia)[o](...r);
|
|
4364
|
+
}, n), {}) : Object.keys(t).reduce((n, o) => (n[o] = function(...r) {
|
|
4365
|
+
return e(this.$pinia)[t[o]](...r);
|
|
4366
|
+
}, n), {});
|
|
4367
|
+
}
|
|
4368
|
+
function hs(e, t) {
|
|
4369
|
+
return Array.isArray(t) ? t.reduce((n, o) => (n[o] = {
|
|
4370
|
+
get() {
|
|
4371
|
+
return e(this.$pinia)[o];
|
|
4372
|
+
},
|
|
4373
|
+
set(r) {
|
|
4374
|
+
return e(this.$pinia)[o] = r;
|
|
4375
|
+
}
|
|
4376
|
+
}, n), {}) : Object.keys(t).reduce((n, o) => (n[o] = {
|
|
4377
|
+
get() {
|
|
4378
|
+
return e(this.$pinia)[t[o]];
|
|
4379
|
+
},
|
|
4380
|
+
set(r) {
|
|
4381
|
+
return e(this.$pinia)[t[o]] = r;
|
|
4382
|
+
}
|
|
4383
|
+
}, n), {});
|
|
4384
|
+
}
|
|
4385
|
+
function gs(e) {
|
|
4386
|
+
const t = le(e), n = {};
|
|
4387
|
+
for (const o in t) {
|
|
4388
|
+
const r = t[o];
|
|
4389
|
+
r.effect ? n[o] = // ...
|
|
4390
|
+
st({
|
|
4391
|
+
get: () => e[o],
|
|
4392
|
+
set(u) {
|
|
4393
|
+
e[o] = u;
|
|
4394
|
+
}
|
|
4395
|
+
}) : (ce(r) || Ue(r)) && (n[o] = // ---
|
|
4396
|
+
De(e, o));
|
|
4397
|
+
}
|
|
4398
|
+
return n;
|
|
4399
|
+
}
|
|
4400
|
+
export {
|
|
4401
|
+
z as MutationType,
|
|
4402
|
+
ls as acceptHMRUpdate,
|
|
4403
|
+
is as createPinia,
|
|
4404
|
+
fs as defineStore,
|
|
4405
|
+
as as disposePinia,
|
|
4406
|
+
ss as getActivePinia,
|
|
4407
|
+
Es as mapActions,
|
|
4408
|
+
ps as mapGetters,
|
|
4409
|
+
rs as mapState,
|
|
4410
|
+
_s as mapStores,
|
|
4411
|
+
hs as mapWritableState,
|
|
4412
|
+
be as setActivePinia,
|
|
4413
|
+
ds as setMapStoreSuffix,
|
|
4414
|
+
os as shouldHydrate,
|
|
4415
|
+
cs as skipHydrate,
|
|
4416
|
+
gs as storeToRefs
|
|
4417
|
+
};
|