jodit-pro 2.0.0-beta.12 → 2.0.0-beta.21
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/es2015/jodit.css +19 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +2121 -105
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +2 -448
- package/es2015/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +24 -19
- package/es2015/plugins/backup/backup.min.js +2 -2
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +55 -46
- package/es2015/plugins/button-generator/button-generator.min.js +2 -2
- package/es2015/plugins/change-case/change-case.js +10 -7
- package/es2015/plugins/change-case/change-case.min.js +2 -2
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +10 -8
- package/es2015/plugins/color-picker/color-picker.min.js +2 -2
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +20 -15
- package/es2015/plugins/emoji/emoji.min.js +2 -2
- package/es2015/plugins/export-docs/export-docs.js +9 -6
- package/es2015/plugins/export-docs/export-docs.min.js +2 -2
- package/es2015/plugins/finder/finder.css +6 -6
- package/es2015/plugins/finder/finder.js +215 -199
- package/es2015/plugins/finder/finder.min.css +1 -1
- package/es2015/plugins/finder/finder.min.js +2 -2
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +149 -116
- package/es2015/plugins/google-maps/google-maps.min.js +2 -2
- package/es2015/plugins/google-search/google-search.js +7 -4
- package/es2015/plugins/google-search/google-search.min.js +2 -2
- package/es2015/plugins/highlight-signature/highlight-signature.js +9 -9
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +17 -14
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +36 -19
- package/es2015/plugins/keyboard/keyboard.min.js +2 -2
- package/es2015/plugins/mobile-view/mobile-view.js +13 -10
- package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2015/plugins/page-break/page-break.js +9 -6
- package/es2015/plugins/page-break/page-break.min.js +2 -2
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +9 -6
- package/es2015/plugins/paste-code/paste-code.min.js +2 -2
- package/es2015/plugins/paste-from-word/paste-from-word.js +2 -1516
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2015/plugins/show-blocks/show-blocks.js +15 -10
- package/es2015/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +7 -4
- package/es2015/plugins/todo-list/todo-list.min.js +2 -2
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +16 -10
- package/es2015/plugins/translate/translate.min.js +2 -2
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +3 -3
- package/es2015/plugins/tune-block/tune-block.min.js +2 -2
- package/es2018/jodit.css +19 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +2119 -105
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +2 -446
- package/es2018/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +24 -19
- package/es2018/plugins/backup/backup.min.js +2 -2
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +55 -46
- package/es2018/plugins/button-generator/button-generator.min.js +2 -2
- package/es2018/plugins/change-case/change-case.js +10 -7
- package/es2018/plugins/change-case/change-case.min.js +2 -2
- package/es2018/plugins/color-picker/color-picker.css +1 -1
- package/es2018/plugins/color-picker/color-picker.js +10 -8
- package/es2018/plugins/color-picker/color-picker.min.js +2 -2
- package/es2018/plugins/emoji/emoji.css +1 -1
- package/es2018/plugins/emoji/emoji.js +20 -15
- package/es2018/plugins/emoji/emoji.min.js +2 -2
- package/es2018/plugins/export-docs/export-docs.js +9 -6
- package/es2018/plugins/export-docs/export-docs.min.js +2 -2
- package/es2018/plugins/finder/finder.css +6 -6
- package/es2018/plugins/finder/finder.js +214 -198
- package/es2018/plugins/finder/finder.min.css +1 -1
- package/es2018/plugins/finder/finder.min.js +2 -2
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +131 -98
- package/es2018/plugins/google-maps/google-maps.min.js +2 -2
- package/es2018/plugins/google-search/google-search.js +7 -4
- package/es2018/plugins/google-search/google-search.min.js +2 -2
- package/es2018/plugins/highlight-signature/highlight-signature.js +9 -9
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.js +17 -14
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +36 -19
- package/es2018/plugins/keyboard/keyboard.min.js +2 -2
- package/es2018/plugins/mobile-view/mobile-view.js +13 -10
- package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2018/plugins/page-break/page-break.js +9 -6
- package/es2018/plugins/page-break/page-break.min.js +2 -2
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +9 -6
- package/es2018/plugins/paste-code/paste-code.min.js +2 -2
- package/es2018/plugins/paste-from-word/paste-from-word.js +2 -1516
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2018/plugins/show-blocks/show-blocks.js +15 -10
- package/es2018/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2018/plugins/todo-list/todo-list.css +1 -1
- package/es2018/plugins/todo-list/todo-list.js +7 -4
- package/es2018/plugins/todo-list/todo-list.min.js +2 -2
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +16 -10
- package/es2018/plugins/translate/translate.min.js +2 -2
- package/es2018/plugins/tune-block/tune-block.css +1 -1
- package/es2018/plugins/tune-block/tune-block.js +3 -3
- package/es2018/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021/jodit.css +19 -1
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +2098 -104
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +2 -438
- package/es2021/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +24 -19
- package/es2021/plugins/backup/backup.min.js +2 -2
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +55 -46
- package/es2021/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021/plugins/change-case/change-case.js +10 -7
- package/es2021/plugins/change-case/change-case.min.js +2 -2
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +10 -8
- package/es2021/plugins/color-picker/color-picker.min.js +2 -2
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +20 -15
- package/es2021/plugins/emoji/emoji.min.js +2 -2
- package/es2021/plugins/export-docs/export-docs.js +9 -6
- package/es2021/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021/plugins/finder/finder.css +6 -6
- package/es2021/plugins/finder/finder.js +214 -198
- package/es2021/plugins/finder/finder.min.css +1 -1
- package/es2021/plugins/finder/finder.min.js +2 -2
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +131 -98
- package/es2021/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021/plugins/google-search/google-search.js +7 -4
- package/es2021/plugins/google-search/google-search.min.js +2 -2
- package/es2021/plugins/highlight-signature/highlight-signature.js +9 -9
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +17 -14
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +36 -19
- package/es2021/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021/plugins/mobile-view/mobile-view.js +13 -10
- package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021/plugins/page-break/page-break.js +9 -6
- package/es2021/plugins/page-break/page-break.min.js +2 -2
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +9 -6
- package/es2021/plugins/paste-code/paste-code.min.js +2 -2
- package/es2021/plugins/paste-from-word/paste-from-word.js +2 -1503
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2021/plugins/show-blocks/show-blocks.js +15 -10
- package/es2021/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +7 -4
- package/es2021/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +16 -10
- package/es2021/plugins/translate/translate.min.js +2 -2
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +3 -3
- package/es2021/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021.en/jodit.css +19 -1
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +2098 -104
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/autocomplete/autocomplete.js +2 -438
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +24 -19
- package/es2021.en/plugins/backup/backup.min.js +2 -2
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +55 -46
- package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021.en/plugins/change-case/change-case.js +10 -7
- package/es2021.en/plugins/change-case/change-case.min.js +2 -2
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +10 -8
- package/es2021.en/plugins/color-picker/color-picker.min.js +2 -2
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +20 -15
- package/es2021.en/plugins/emoji/emoji.min.js +2 -2
- package/es2021.en/plugins/export-docs/export-docs.js +9 -6
- package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021.en/plugins/finder/finder.css +6 -6
- package/es2021.en/plugins/finder/finder.js +214 -198
- package/es2021.en/plugins/finder/finder.min.css +1 -1
- package/es2021.en/plugins/finder/finder.min.js +2 -2
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +131 -98
- package/es2021.en/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021.en/plugins/google-search/google-search.js +7 -4
- package/es2021.en/plugins/google-search/google-search.min.js +2 -2
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +9 -9
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +17 -14
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +36 -19
- package/es2021.en/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021.en/plugins/mobile-view/mobile-view.js +13 -10
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021.en/plugins/page-break/page-break.js +9 -6
- package/es2021.en/plugins/page-break/page-break.min.js +2 -2
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +9 -6
- package/es2021.en/plugins/paste-code/paste-code.min.js +2 -2
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +2 -1503
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2021.en/plugins/show-blocks/show-blocks.js +15 -10
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +7 -4
- package/es2021.en/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +16 -10
- package/es2021.en/plugins/translate/translate.min.js +2 -2
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +3 -3
- package/es2021.en/plugins/tune-block/tune-block.min.js +2 -2
- package/es5/jodit.css +30 -51
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +2320 -108
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +2 -511
- package/es5/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +26 -21
- package/es5/plugins/backup/backup.min.js +2 -2
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +59 -50
- package/es5/plugins/button-generator/button-generator.min.js +2 -2
- package/es5/plugins/change-case/change-case.js +10 -7
- package/es5/plugins/change-case/change-case.min.js +2 -2
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +11 -9
- package/es5/plugins/color-picker/color-picker.min.js +2 -2
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +20 -15
- package/es5/plugins/emoji/emoji.min.js +2 -2
- package/es5/plugins/export-docs/export-docs.js +9 -6
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +6 -6
- package/es5/plugins/finder/finder.js +238 -222
- package/es5/plugins/finder/finder.min.css +1 -1
- package/es5/plugins/finder/finder.min.js +2 -2
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +164 -131
- package/es5/plugins/google-maps/google-maps.min.js +2 -2
- package/es5/plugins/google-search/google-search.js +9 -6
- package/es5/plugins/google-search/google-search.min.js +2 -2
- package/es5/plugins/highlight-signature/highlight-signature.js +9 -9
- package/es5/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +18 -15
- package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +37 -20
- package/es5/plugins/keyboard/keyboard.min.js +2 -2
- package/es5/plugins/mobile-view/mobile-view.js +13 -10
- package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es5/plugins/page-break/page-break.js +9 -6
- package/es5/plugins/page-break/page-break.min.js +2 -2
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +9 -6
- package/es5/plugins/paste-code/paste-code.min.js +2 -2
- package/es5/plugins/paste-from-word/paste-from-word.js +2 -1645
- package/es5/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es5/plugins/show-blocks/show-blocks.js +16 -11
- package/es5/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +7 -4
- package/es5/plugins/todo-list/todo-list.min.js +2 -2
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +17 -11
- package/es5/plugins/translate/translate.min.js +2 -2
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +3 -3
- package/es5/plugins/tune-block/tune-block.min.js +2 -2
- package/esm/config.d.ts +11 -0
- package/esm/config.js +6 -0
- package/esm/core/ui/form/range/range.d.ts +23 -0
- package/esm/core/ui/form/range/range.js +6 -0
- package/esm/index.d.ts +7 -0
- package/esm/index.js +6 -0
- package/esm/jodit-pro.d.ts +14 -0
- package/esm/jodit-pro.js +6 -0
- package/esm/plugins/autocomplete/autocomplete.d.ts +40 -0
- package/esm/plugins/autocomplete/autocomplete.js +6 -0
- package/esm/plugins/autocomplete/helpers.d.ts +25 -0
- package/esm/plugins/autocomplete/helpers.js +6 -0
- package/esm/plugins/autocomplete/interface.d.ts +19 -0
- package/esm/plugins/autocomplete/interface.js +6 -0
- package/esm/plugins/autocomplete/ui/autocomplete.d.ts +20 -0
- package/esm/plugins/autocomplete/ui/autocomplete.js +6 -0
- package/esm/plugins/autocomplete/ui/item.d.ts +14 -0
- package/esm/plugins/autocomplete/ui/item.js +6 -0
- package/esm/plugins/backup/assets/restore.svg.js +1 -0
- package/esm/plugins/backup/backup.d.ts +29 -0
- package/esm/plugins/backup/backup.js +6 -0
- package/esm/plugins/backup/config.d.ts +18 -0
- package/esm/plugins/backup/config.js +6 -0
- package/esm/plugins/backup/interface.d.ts +14 -0
- package/esm/plugins/backup/interface.js +6 -0
- package/esm/plugins/backup/langs/index.d.ts +6 -0
- package/esm/plugins/backup/langs/index.js +6 -0
- package/esm/plugins/backup/modules/store.d.ts +15 -0
- package/esm/plugins/backup/modules/store.js +6 -0
- package/esm/plugins/backup/ui/box.d.ts +29 -0
- package/esm/plugins/backup/ui/box.js +6 -0
- package/esm/plugins/backup/ui/item.d.ts +17 -0
- package/esm/plugins/backup/ui/item.js +6 -0
- package/esm/plugins/backup/ui/list.d.ts +24 -0
- package/esm/plugins/backup/ui/list.js +6 -0
- package/esm/plugins/button-generator/assets/check.svg.js +1 -0
- package/esm/plugins/button-generator/assets/styles.json +1162 -0
- package/esm/plugins/button-generator/assets/styles.json.js +1 -0
- package/esm/plugins/button-generator/button-generator.d.ts +25 -0
- package/esm/plugins/button-generator/button-generator.js +1 -0
- package/esm/plugins/button-generator/config.d.ts +6 -0
- package/esm/plugins/button-generator/config.js +6 -0
- package/esm/plugins/button-generator/icon.svg.js +1 -0
- package/esm/plugins/button-generator/ui/button/button.d.ts +21 -0
- package/esm/plugins/button-generator/ui/button/button.js +7 -0
- package/esm/plugins/button-generator/ui/form/form.d.ts +20 -0
- package/esm/plugins/button-generator/ui/form/form.js +6 -0
- package/esm/plugins/button-generator/ui/generator/button-generator.d.ts +22 -0
- package/esm/plugins/button-generator/ui/generator/button-generator.js +6 -0
- package/esm/plugins/button-generator/ui/preview/preview.d.ts +22 -0
- package/esm/plugins/button-generator/ui/preview/preview.js +6 -0
- package/esm/plugins/change-case/change-case.d.ts +22 -0
- package/esm/plugins/change-case/change-case.js +6 -0
- package/esm/plugins/change-case/config.d.ts +6 -0
- package/esm/plugins/change-case/config.js +6 -0
- package/esm/plugins/change-case/icon.svg.js +1 -0
- package/esm/plugins/color-picker/color-picker.d.ts +18 -0
- package/esm/plugins/color-picker/color-picker.js +6 -0
- package/esm/plugins/color-picker/ui/input/color-input.d.ts +19 -0
- package/esm/plugins/color-picker/ui/input/color-input.js +6 -0
- package/esm/plugins/emoji/config.d.ts +10 -0
- package/esm/plugins/emoji/config.js +1 -0
- package/esm/plugins/emoji/emoji.d.ts +22 -0
- package/esm/plugins/emoji/emoji.js +6 -0
- package/esm/plugins/emoji/emoji.json +5667 -0
- package/esm/plugins/emoji/emoji.json.js +1 -0
- package/esm/plugins/emoji/emoji.svg.js +1 -0
- package/esm/plugins/emoji/interface.d.ts +24 -0
- package/esm/plugins/emoji/interface.js +6 -0
- package/esm/plugins/emoji/ui/emoji.d.ts +54 -0
- package/esm/plugins/emoji/ui/emoji.js +6 -0
- package/esm/plugins/export-docs/assets/export.svg.js +1 -0
- package/esm/plugins/export-docs/config.d.ts +21 -0
- package/esm/plugins/export-docs/config.js +6 -0
- package/esm/plugins/export-docs/export-docs.d.ts +18 -0
- package/esm/plugins/export-docs/export-docs.js +6 -0
- package/esm/plugins/finder/browser.d.ts +70 -0
- package/esm/plugins/finder/browser.js +6 -0
- package/esm/plugins/finder/config.d.ts +6 -0
- package/esm/plugins/finder/config.js +6 -0
- package/esm/plugins/finder/finder.d.ts +19 -0
- package/esm/plugins/finder/finder.js +6 -0
- package/esm/plugins/finder/helpers/context-menu.d.ts +19 -0
- package/esm/plugins/finder/helpers/context-menu.js +6 -0
- package/esm/plugins/finder/helpers/helpers.d.ts +6 -0
- package/esm/plugins/finder/helpers/helpers.js +6 -0
- package/esm/plugins/finder/helpers/history-manager.d.ts +24 -0
- package/esm/plugins/finder/helpers/history-manager.js +6 -0
- package/esm/plugins/finder/helpers/loading-manager.d.ts +25 -0
- package/esm/plugins/finder/helpers/loading-manager.js +6 -0
- package/esm/plugins/finder/helpers/persistent-store.d.ts +32 -0
- package/esm/plugins/finder/helpers/persistent-store.js +6 -0
- package/esm/plugins/finder/helpers/state-manager.d.ts +21 -0
- package/esm/plugins/finder/helpers/state-manager.js +6 -0
- package/esm/plugins/finder/langs/index.d.ts +7 -0
- package/esm/plugins/finder/langs/ru.d.ts +22 -0
- package/esm/plugins/finder/ui/assets/icons/heart.svg.js +1 -0
- package/esm/plugins/finder/ui/assets/icons/home.svg.js +1 -0
- package/esm/plugins/finder/ui/assets/icons/index.d.ts +1 -0
- package/esm/plugins/finder/ui/assets/icons/index.js +6 -0
- package/esm/plugins/finder/ui/assets/icons/new-folder.svg.js +1 -0
- package/esm/plugins/finder/ui/folder/folder.d.ts +18 -0
- package/esm/plugins/finder/ui/folder/folder.js +6 -0
- package/esm/plugins/finder/ui/header/header.d.ts +21 -0
- package/esm/plugins/finder/ui/header/header.js +6 -0
- package/esm/plugins/finder/ui/item/item.d.ts +24 -0
- package/esm/plugins/finder/ui/item/item.js +6 -0
- package/esm/plugins/finder/ui/lightboox/lightbox.d.ts +27 -0
- package/esm/plugins/finder/ui/lightboox/lightbox.js +6 -0
- package/esm/plugins/finder/ui/panel/panel.d.ts +60 -0
- package/esm/plugins/finder/ui/panel/panel.js +6 -0
- package/esm/plugins/finder/ui/preview/preview.d.ts +25 -0
- package/esm/plugins/finder/ui/preview/preview.js +6 -0
- package/esm/plugins/finder/ui/progress/progress.d.ts +19 -0
- package/esm/plugins/finder/ui/progress/progress.js +6 -0
- package/esm/plugins/finder/ui/settings/settings.d.ts +25 -0
- package/esm/plugins/finder/ui/settings/settings.js +6 -0
- package/esm/plugins/finder/ui/sidebar/sidebar.d.ts +27 -0
- package/esm/plugins/finder/ui/sidebar/sidebar.js +6 -0
- package/esm/plugins/finder/ui/source/source.d.ts +19 -0
- package/esm/plugins/finder/ui/source/source.js +6 -0
- package/esm/plugins/finder/ui/sources/sources.d.ts +15 -0
- package/esm/plugins/finder/ui/sources/sources.js +6 -0
- package/esm/plugins/finder/ui/statusbar/statusbar.d.ts +14 -0
- package/esm/plugins/finder/ui/statusbar/statusbar.js +6 -0
- package/esm/plugins/finder/ui/tree/tree.d.ts +16 -0
- package/esm/plugins/finder/ui/tree/tree.js +6 -0
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +32 -0
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +6 -0
- package/esm/plugins/google-maps/assets/circle.svg.js +1 -0
- package/esm/plugins/google-maps/assets/hand.svg.js +1 -0
- package/esm/plugins/google-maps/assets/icon.svg.js +1 -0
- package/esm/plugins/google-maps/assets/index.d.ts +6 -0
- package/esm/plugins/google-maps/assets/index.js +6 -0
- package/esm/plugins/google-maps/assets/marker.svg.js +1 -0
- package/esm/plugins/google-maps/assets/polygon.svg.js +1 -0
- package/esm/plugins/google-maps/assets/polyline.svg.js +1 -0
- package/esm/plugins/google-maps/assets/text.svg.js +1 -0
- package/esm/plugins/google-maps/config.d.ts +45 -0
- package/esm/plugins/google-maps/config.js +6 -0
- package/esm/plugins/google-maps/google-maps.d.ts +29 -0
- package/esm/plugins/google-maps/google-maps.js +6 -0
- package/esm/plugins/google-maps/helpers/const.d.ts +7 -0
- package/esm/plugins/google-maps/helpers/const.js +6 -0
- package/esm/plugins/google-maps/helpers/generate-js-script.d.ts +8 -0
- package/esm/plugins/google-maps/helpers/generate-js-script.js +1 -0
- package/esm/plugins/google-maps/helpers/generate-static-elements.d.ts +7 -0
- package/esm/plugins/google-maps/helpers/generate-static-elements.js +6 -0
- package/esm/plugins/google-maps/helpers/helpers.d.ts +14 -0
- package/esm/plugins/google-maps/helpers/helpers.js +6 -0
- package/esm/plugins/google-maps/helpers/static-url.d.ts +7 -0
- package/esm/plugins/google-maps/helpers/static-url.js +6 -0
- package/esm/plugins/google-maps/ui/combo-box/combo-box.d.ts +12 -0
- package/esm/plugins/google-maps/ui/combo-box/combo-box.js +6 -0
- package/esm/plugins/google-maps/ui/editors/base.d.ts +15 -0
- package/esm/plugins/google-maps/ui/editors/base.js +6 -0
- package/esm/plugins/google-maps/ui/editors/index.d.ts +8 -0
- package/esm/plugins/google-maps/ui/editors/index.js +6 -0
- package/esm/plugins/google-maps/ui/editors/marker/marker.d.ts +10 -0
- package/esm/plugins/google-maps/ui/editors/marker/marker.js +6 -0
- package/esm/plugins/google-maps/ui/editors/polygon/polygon.d.ts +10 -0
- package/esm/plugins/google-maps/ui/editors/polygon/polygon.js +6 -0
- package/esm/plugins/google-maps/ui/editors/polyline/polyline.d.ts +10 -0
- package/esm/plugins/google-maps/ui/editors/polyline/polyline.js +6 -0
- package/esm/plugins/google-maps/ui/index.d.ts +10 -0
- package/esm/plugins/google-maps/ui/index.js +6 -0
- package/esm/plugins/google-maps/ui/map/map.d.ts +39 -0
- package/esm/plugins/google-maps/ui/map/map.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/index.d.ts +10 -0
- package/esm/plugins/google-maps/ui/map/modules/index.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/remove-element.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/remove-element.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.js +6 -0
- package/esm/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +14 -0
- package/esm/plugins/google-maps/ui/maps-controls/maps-controls.js +6 -0
- package/esm/plugins/google-maps/ui/maps-props/maps-props.d.ts +19 -0
- package/esm/plugins/google-maps/ui/maps-props/maps-props.js +6 -0
- package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +13 -0
- package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js +6 -0
- package/esm/plugins/google-search/google-search.d.ts +17 -0
- package/esm/plugins/google-search/google-search.js +6 -0
- package/esm/plugins/google-search/icon.svg.js +1 -0
- package/esm/plugins/highlight-signature/highlight-signature.d.ts +54 -0
- package/esm/plugins/highlight-signature/highlight-signature.js +6 -0
- package/esm/plugins/iframe-editor/config.d.ts +6 -0
- package/esm/plugins/iframe-editor/config.js +6 -0
- package/esm/plugins/iframe-editor/icon.svg.js +1 -0
- package/esm/plugins/iframe-editor/iframe-editor.d.ts +22 -0
- package/esm/plugins/iframe-editor/iframe-editor.js +6 -0
- package/esm/plugins/iframe-editor/interface.d.ts +15 -0
- package/esm/plugins/iframe-editor/interface.js +6 -0
- package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +14 -0
- package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.js +6 -0
- package/esm/plugins/index.d.ts +8 -0
- package/esm/plugins/index.js +6 -0
- package/esm/plugins/keyboard/config.d.ts +23 -0
- package/esm/plugins/keyboard/config.js +1 -0
- package/esm/plugins/keyboard/icon.svg.js +1 -0
- package/esm/plugins/keyboard/interface.d.ts +13 -0
- package/esm/plugins/keyboard/interface.js +6 -0
- package/esm/plugins/keyboard/keyboard.d.ts +27 -0
- package/esm/plugins/keyboard/keyboard.js +1 -0
- package/esm/plugins/keyboard/ui/assets/backspace.svg.js +1 -0
- package/esm/plugins/keyboard/ui/assets/caps.svg.js +1 -0
- package/esm/plugins/keyboard/ui/assets/dots.svg.js +1 -0
- package/esm/plugins/keyboard/ui/assets/shift.svg.js +1 -0
- package/esm/plugins/keyboard/ui/assets/tab.svg.js +1 -0
- package/esm/plugins/keyboard/ui/keyboard/keyboard.d.ts +32 -0
- package/esm/plugins/keyboard/ui/keyboard/keyboard.js +6 -0
- package/esm/plugins/license/helpers/helpers.d.ts +14 -0
- package/esm/plugins/license/helpers/helpers.js +7 -0
- package/esm/plugins/license/license.d.ts +16 -0
- package/esm/plugins/license/license.js +6 -0
- package/esm/plugins/mobile-view/config.d.ts +14 -0
- package/esm/plugins/mobile-view/config.js +6 -0
- package/esm/plugins/mobile-view/icon.svg.js +1 -0
- package/esm/plugins/mobile-view/mobile-view.d.ts +6 -0
- package/esm/plugins/mobile-view/mobile-view.js +6 -0
- package/esm/plugins/page-break/assets/page-break.svg.js +1 -0
- package/esm/plugins/page-break/config.d.ts +13 -0
- package/esm/plugins/page-break/config.js +6 -0
- package/esm/plugins/page-break/page-break.css.d.ts +2 -0
- package/esm/plugins/page-break/page-break.css.js +6 -0
- package/esm/plugins/page-break/page-break.d.ts +23 -0
- package/esm/plugins/page-break/page-break.js +6 -0
- package/esm/plugins/paste-code/config.d.ts +36 -0
- package/esm/plugins/paste-code/config.js +6 -0
- package/esm/plugins/paste-code/icon.svg.js +1 -0
- package/esm/plugins/paste-code/paste-code.d.ts +30 -0
- package/esm/plugins/paste-code/paste-code.js +6 -0
- package/esm/plugins/paste-from-word/cases/clean-styles.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/clean-styles.js +6 -0
- package/esm/plugins/paste-from-word/cases/clear-attributes.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/clear-attributes.js +6 -0
- package/esm/plugins/paste-from-word/cases/clear-class-name.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/clear-class-name.js +6 -0
- package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.js +6 -0
- package/esm/plugins/paste-from-word/cases/convert-to-list.d.ts +11 -0
- package/esm/plugins/paste-from-word/cases/convert-to-list.js +6 -0
- package/esm/plugins/paste-from-word/cases/index.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/index.js +6 -0
- package/esm/plugins/paste-from-word/cases/mark-page-break.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/mark-page-break.js +6 -0
- package/esm/plugins/paste-from-word/cases/normalize-image-props.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/normalize-image-props.js +6 -0
- package/esm/plugins/paste-from-word/cases/process-image.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/process-image.js +6 -0
- package/esm/plugins/paste-from-word/cases/process-links.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/process-links.js +6 -0
- package/esm/plugins/paste-from-word/cases/remove-extra-tags.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/remove-extra-tags.js +6 -0
- package/esm/plugins/paste-from-word/cases/remove-inside-comment.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/remove-inside-comment.js +6 -0
- package/esm/plugins/paste-from-word/cases/replace-old-tags.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/replace-old-tags.js +6 -0
- package/esm/plugins/paste-from-word/cases/table.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/table.js +6 -0
- package/esm/plugins/paste-from-word/config.d.ts +24 -0
- package/esm/plugins/paste-from-word/config.js +6 -0
- package/esm/plugins/paste-from-word/constants.d.ts +20 -0
- package/esm/plugins/paste-from-word/constants.js +6 -0
- package/esm/plugins/paste-from-word/element/checkers.d.ts +14 -0
- package/esm/plugins/paste-from-word/element/checkers.js +6 -0
- package/esm/plugins/paste-from-word/element/element.d.ts +34 -0
- package/esm/plugins/paste-from-word/element/element.js +6 -0
- package/esm/plugins/paste-from-word/element/index.d.ts +8 -0
- package/esm/plugins/paste-from-word/element/index.js +6 -0
- package/esm/plugins/paste-from-word/element/render.d.ts +9 -0
- package/esm/plugins/paste-from-word/element/render.js +6 -0
- package/esm/plugins/paste-from-word/element/style.d.ts +20 -0
- package/esm/plugins/paste-from-word/element/style.js +6 -0
- package/esm/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +7 -0
- package/esm/plugins/paste-from-word/helpers/apply-styles-pro.js +6 -0
- package/esm/plugins/paste-from-word/helpers/calc-list-levels.d.ts +7 -0
- package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +6 -0
- package/esm/plugins/paste-from-word/helpers/helpers.d.ts +19 -0
- package/esm/plugins/paste-from-word/helpers/helpers.js +6 -0
- package/esm/plugins/paste-from-word/helpers/index.d.ts +9 -0
- package/esm/plugins/paste-from-word/helpers/index.js +6 -0
- package/esm/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +8 -0
- package/esm/plugins/paste-from-word/helpers/transform-word-to-html.js +6 -0
- package/esm/plugins/paste-from-word/interface.d.ts +17 -0
- package/esm/plugins/paste-from-word/interface.js +6 -0
- package/esm/plugins/paste-from-word/paste-from-word.d.ts +14 -0
- package/esm/plugins/paste-from-word/paste-from-word.js +6 -0
- package/esm/plugins/show-blocks/config.d.ts +15 -0
- package/esm/plugins/show-blocks/config.js +6 -0
- package/esm/plugins/show-blocks/langs/ar.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/cs_cz.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/de.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/es.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/fa.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/fr.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/he.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/hu.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/id.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/index.d.ts +25 -0
- package/esm/plugins/show-blocks/langs/index.js +6 -0
- package/esm/plugins/show-blocks/langs/it.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/ja.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/ko.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/nl.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/pl.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/pt_br.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/ru.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/tr.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/zh_cn.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/zh_tw.d.ts +4 -0
- package/esm/plugins/show-blocks/show-blocks.d.ts +39 -0
- package/esm/plugins/show-blocks/show-blocks.js +6 -0
- package/esm/plugins/show-blocks/show-blocks.svg.js +1 -0
- package/esm/plugins/todo-list/assets/todo-list.svg.js +1 -0
- package/esm/plugins/todo-list/config.d.ts +15 -0
- package/esm/plugins/todo-list/config.js +6 -0
- package/esm/plugins/todo-list/todo-list.d.ts +41 -0
- package/esm/plugins/todo-list/todo-list.js +6 -0
- package/esm/plugins/translate/assets/swap.svg.js +1 -0
- package/esm/plugins/translate/assets/translate.svg.js +1 -0
- package/esm/plugins/translate/config.d.ts +20 -0
- package/esm/plugins/translate/config.js +6 -0
- package/esm/plugins/translate/interface.d.ts +50 -0
- package/esm/plugins/translate/interface.js +6 -0
- package/esm/plugins/translate/providers/google/google.d.ts +14 -0
- package/esm/plugins/translate/providers/google/google.js +6 -0
- package/esm/plugins/translate/providers/languages.d.ts +140 -0
- package/esm/plugins/translate/providers/languages.js +6 -0
- package/esm/plugins/translate/translate.d.ts +20 -0
- package/esm/plugins/translate/translate.js +6 -0
- package/esm/plugins/translate/ui/list/list.d.ts +34 -0
- package/esm/plugins/translate/ui/list/list.js +6 -0
- package/esm/plugins/translate/ui/settings/settings.d.ts +35 -0
- package/esm/plugins/translate/ui/settings/settings.js +6 -0
- package/esm/plugins/tune-block/config.d.ts +13 -0
- package/esm/plugins/tune-block/config.js +6 -0
- package/esm/plugins/tune-block/tune-block.d.ts +30 -0
- package/esm/plugins/tune-block/tune-block.js +6 -0
- package/esm/plugins/tune-block/ui/tuner/icon.svg.js +1 -0
- package/esm/plugins/tune-block/ui/tuner/tuner.d.ts +53 -0
- package/esm/plugins/tune-block/ui/tuner/tuner.js +6 -0
- package/esm/traits/resize/resize.d.ts +17 -0
- package/esm/traits/resize/resize.js +6 -0
- package/esm/traits/select-items/select-items.d.ts +16 -0
- package/esm/traits/select-items/select-items.js +6 -0
- package/esm/tsconfig.json +19 -0
- package/esm/types/view.d.ts +9 -0
- package/esm/typings.d.ts +5 -0
- package/package.json +3 -2
- package/types/config.d.ts +11 -0
- package/types/core/ui/form/range/range.d.ts +23 -0
- package/types/index.d.ts +7 -0
- package/types/jodit-pro.d.ts +14 -0
- package/types/plugins/autocomplete/autocomplete.d.ts +40 -0
- package/types/plugins/autocomplete/helpers.d.ts +25 -0
- package/types/plugins/autocomplete/interface.d.ts +19 -0
- package/types/plugins/autocomplete/ui/autocomplete.d.ts +20 -0
- package/types/plugins/autocomplete/ui/item.d.ts +14 -0
- package/types/plugins/backup/backup.d.ts +29 -0
- package/types/plugins/backup/config.d.ts +18 -0
- package/types/plugins/backup/interface.d.ts +14 -0
- package/types/plugins/backup/langs/index.d.ts +6 -0
- package/types/plugins/backup/modules/store.d.ts +15 -0
- package/types/plugins/backup/ui/box.d.ts +29 -0
- package/types/plugins/backup/ui/item.d.ts +17 -0
- package/types/plugins/backup/ui/list.d.ts +24 -0
- package/types/plugins/button-generator/button-generator.d.ts +25 -0
- package/types/plugins/button-generator/config.d.ts +6 -0
- package/types/plugins/button-generator/ui/button/button.d.ts +21 -0
- package/types/plugins/button-generator/ui/form/form.d.ts +20 -0
- package/types/plugins/button-generator/ui/generator/button-generator.d.ts +22 -0
- package/types/plugins/button-generator/ui/preview/preview.d.ts +22 -0
- package/types/plugins/change-case/change-case.d.ts +22 -0
- package/types/plugins/change-case/config.d.ts +6 -0
- package/types/plugins/color-picker/color-picker.d.ts +18 -0
- package/types/plugins/color-picker/ui/input/color-input.d.ts +19 -0
- package/types/plugins/emoji/config.d.ts +10 -0
- package/types/plugins/emoji/emoji.d.ts +22 -0
- package/types/plugins/emoji/interface.d.ts +24 -0
- package/types/plugins/emoji/ui/emoji.d.ts +54 -0
- package/types/plugins/export-docs/config.d.ts +21 -0
- package/types/plugins/export-docs/export-docs.d.ts +18 -0
- package/types/plugins/finder/browser.d.ts +70 -0
- package/types/plugins/finder/config.d.ts +6 -0
- package/types/plugins/finder/finder.d.ts +19 -0
- package/types/plugins/finder/helpers/context-menu.d.ts +19 -0
- package/types/plugins/finder/helpers/helpers.d.ts +6 -0
- package/types/plugins/finder/helpers/history-manager.d.ts +24 -0
- package/types/plugins/finder/helpers/loading-manager.d.ts +25 -0
- package/types/plugins/finder/helpers/persistent-store.d.ts +32 -0
- package/types/plugins/finder/helpers/state-manager.d.ts +21 -0
- package/types/plugins/finder/langs/index.d.ts +7 -0
- package/types/plugins/finder/langs/ru.d.ts +22 -0
- package/types/plugins/finder/ui/assets/icons/index.d.ts +1 -0
- package/types/plugins/finder/ui/folder/folder.d.ts +18 -0
- package/types/plugins/finder/ui/header/header.d.ts +21 -0
- package/types/plugins/finder/ui/item/item.d.ts +24 -0
- package/types/plugins/finder/ui/lightboox/lightbox.d.ts +27 -0
- package/types/plugins/finder/ui/panel/panel.d.ts +60 -0
- package/types/plugins/finder/ui/preview/preview.d.ts +25 -0
- package/types/plugins/finder/ui/progress/progress.d.ts +19 -0
- package/types/plugins/finder/ui/settings/settings.d.ts +25 -0
- package/types/plugins/finder/ui/sidebar/sidebar.d.ts +27 -0
- package/types/plugins/finder/ui/source/source.d.ts +19 -0
- package/types/plugins/finder/ui/sources/sources.d.ts +15 -0
- package/types/plugins/finder/ui/statusbar/statusbar.d.ts +14 -0
- package/types/plugins/finder/ui/tree/tree.d.ts +16 -0
- package/types/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +32 -0
- package/types/plugins/google-maps/assets/index.d.ts +6 -0
- package/types/plugins/google-maps/config.d.ts +45 -0
- package/types/plugins/google-maps/google-maps.d.ts +29 -0
- package/types/plugins/google-maps/helpers/const.d.ts +7 -0
- package/types/plugins/google-maps/helpers/generate-js-script.d.ts +8 -0
- package/types/plugins/google-maps/helpers/generate-static-elements.d.ts +7 -0
- package/types/plugins/google-maps/helpers/helpers.d.ts +14 -0
- package/types/plugins/google-maps/helpers/static-url.d.ts +7 -0
- package/types/plugins/google-maps/ui/combo-box/combo-box.d.ts +12 -0
- package/types/plugins/google-maps/ui/editors/base.d.ts +15 -0
- package/types/plugins/google-maps/ui/editors/index.d.ts +8 -0
- package/types/plugins/google-maps/ui/editors/marker/marker.d.ts +10 -0
- package/types/plugins/google-maps/ui/editors/polygon/polygon.d.ts +10 -0
- package/types/plugins/google-maps/ui/editors/polyline/polyline.d.ts +10 -0
- package/types/plugins/google-maps/ui/index.d.ts +10 -0
- package/types/plugins/google-maps/ui/map/map.d.ts +39 -0
- package/types/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/index.d.ts +10 -0
- package/types/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/remove-element.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +8 -0
- package/types/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +14 -0
- package/types/plugins/google-maps/ui/maps-props/maps-props.d.ts +19 -0
- package/types/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +13 -0
- package/types/plugins/google-search/google-search.d.ts +17 -0
- package/types/plugins/highlight-signature/highlight-signature.d.ts +54 -0
- package/types/plugins/iframe-editor/config.d.ts +6 -0
- package/types/plugins/iframe-editor/iframe-editor.d.ts +22 -0
- package/types/plugins/iframe-editor/interface.d.ts +15 -0
- package/types/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +14 -0
- package/types/plugins/index.d.ts +8 -0
- package/types/plugins/keyboard/config.d.ts +23 -0
- package/types/plugins/keyboard/interface.d.ts +13 -0
- package/types/plugins/keyboard/keyboard.d.ts +27 -0
- package/types/plugins/keyboard/ui/keyboard/keyboard.d.ts +32 -0
- package/types/plugins/license/helpers/helpers.d.ts +14 -0
- package/types/plugins/license/license.d.ts +16 -0
- package/types/plugins/mobile-view/config.d.ts +14 -0
- package/types/plugins/mobile-view/mobile-view.d.ts +6 -0
- package/types/plugins/page-break/config.d.ts +13 -0
- package/types/plugins/page-break/page-break.css.d.ts +2 -0
- package/types/plugins/page-break/page-break.d.ts +23 -0
- package/types/plugins/paste-code/config.d.ts +36 -0
- package/types/plugins/paste-code/paste-code.d.ts +30 -0
- package/types/plugins/paste-from-word/cases/clean-styles.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/clear-attributes.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/clear-class-name.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/convert-to-list.d.ts +11 -0
- package/types/plugins/paste-from-word/cases/index.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/mark-page-break.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/normalize-image-props.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/process-image.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/process-links.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/remove-extra-tags.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/remove-inside-comment.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/replace-old-tags.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/table.d.ts +7 -0
- package/types/plugins/paste-from-word/config.d.ts +24 -0
- package/types/plugins/paste-from-word/constants.d.ts +20 -0
- package/types/plugins/paste-from-word/element/checkers.d.ts +14 -0
- package/types/plugins/paste-from-word/element/element.d.ts +34 -0
- package/types/plugins/paste-from-word/element/index.d.ts +8 -0
- package/types/plugins/paste-from-word/element/render.d.ts +9 -0
- package/types/plugins/paste-from-word/element/style.d.ts +20 -0
- package/types/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +7 -0
- package/types/plugins/paste-from-word/helpers/calc-list-levels.d.ts +7 -0
- package/types/plugins/paste-from-word/helpers/helpers.d.ts +19 -0
- package/types/plugins/paste-from-word/helpers/index.d.ts +9 -0
- package/types/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +8 -0
- package/types/plugins/paste-from-word/interface.d.ts +17 -0
- package/types/plugins/paste-from-word/paste-from-word.d.ts +14 -0
- package/types/plugins/show-blocks/config.d.ts +15 -0
- package/types/plugins/show-blocks/langs/ar.d.ts +4 -0
- package/types/plugins/show-blocks/langs/cs_cz.d.ts +4 -0
- package/types/plugins/show-blocks/langs/de.d.ts +4 -0
- package/types/plugins/show-blocks/langs/es.d.ts +4 -0
- package/types/plugins/show-blocks/langs/fa.d.ts +4 -0
- package/types/plugins/show-blocks/langs/fr.d.ts +4 -0
- package/types/plugins/show-blocks/langs/he.d.ts +4 -0
- package/types/plugins/show-blocks/langs/hu.d.ts +4 -0
- package/types/plugins/show-blocks/langs/id.d.ts +4 -0
- package/types/plugins/show-blocks/langs/index.d.ts +25 -0
- package/types/plugins/show-blocks/langs/it.d.ts +4 -0
- package/types/plugins/show-blocks/langs/ja.d.ts +4 -0
- package/types/plugins/show-blocks/langs/ko.d.ts +4 -0
- package/types/plugins/show-blocks/langs/nl.d.ts +4 -0
- package/types/plugins/show-blocks/langs/pl.d.ts +4 -0
- package/types/plugins/show-blocks/langs/pt_br.d.ts +4 -0
- package/types/plugins/show-blocks/langs/ru.d.ts +4 -0
- package/types/plugins/show-blocks/langs/tr.d.ts +4 -0
- package/types/plugins/show-blocks/langs/zh_cn.d.ts +4 -0
- package/types/plugins/show-blocks/langs/zh_tw.d.ts +4 -0
- package/types/plugins/show-blocks/show-blocks.d.ts +39 -0
- package/types/plugins/todo-list/config.d.ts +15 -0
- package/types/plugins/todo-list/todo-list.d.ts +41 -0
- package/types/plugins/translate/config.d.ts +20 -0
- package/types/plugins/translate/interface.d.ts +50 -0
- package/types/plugins/translate/providers/google/google.d.ts +14 -0
- package/types/plugins/translate/providers/languages.d.ts +140 -0
- package/types/plugins/translate/translate.d.ts +20 -0
- package/types/plugins/translate/ui/list/list.d.ts +34 -0
- package/types/plugins/translate/ui/settings/settings.d.ts +35 -0
- package/types/plugins/tune-block/config.d.ts +13 -0
- package/types/plugins/tune-block/tune-block.d.ts +30 -0
- package/types/plugins/tune-block/ui/tuner/tuner.d.ts +53 -0
- package/types/traits/resize/resize.d.ts +17 -0
- package/types/traits/select-items/select-items.d.ts +16 -0
- package/types/tsconfig.json +19 -0
- package/types/types/view.d.ts +9 -0
- package/types/typings.d.ts +5 -0
- package/es2015/plugins/autocomplete/autocomplete.css +0 -26
- package/es2015/plugins/autocomplete/autocomplete.min.css +0 -1
- package/es2018/plugins/autocomplete/autocomplete.css +0 -26
- package/es2018/plugins/autocomplete/autocomplete.min.css +0 -1
- package/es2021/plugins/autocomplete/autocomplete.css +0 -26
- package/es2021/plugins/autocomplete/autocomplete.min.css +0 -1
- package/es2021.en/plugins/autocomplete/autocomplete.css +0 -26
- package/es2021.en/plugins/autocomplete/autocomplete.min.css +0 -1
- package/es5/plugins/autocomplete/autocomplete.css +0 -26
- package/es5/plugins/autocomplete/autocomplete.min.css +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v2.0.0-beta.
|
|
4
|
+
* Version: v2.0.0-beta.21
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var o in n)("object"==typeof exports?exports:t)[o]=n[o]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[524],{82942:function(t){t.exports='<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"> <path d="M365.4,59.628c60.56,0,109.6,49.03,109.6,109.47c0,109.47-109.6,171.8-219.06,281.271 C146.47,340.898,37,278.568,37,169.099c0-60.44,49.04-109.47,109.47-109.47c54.73,0,82.1,27.37,109.47,82.1 C283.3,86.999,310.67,59.628,365.4,59.628z"/> </svg>'},19327:function(t){t.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M28.7,16.3l-12-13c-0.4-0.4-1.1-0.4-1.5,0l-12,13C3,16.6,2.9,17,3.1,17.4C3.2,17.8,3.6,18,4,18h3v10c0,0.6,0.4,1,1,1h16 c0.6,0,1-0.4,1-1V18h3c0.4,0,0.8-0.2,0.9-0.6C29.1,17,29,16.6,28.7,16.3z"/> </svg>'},59239:function(t){t.exports='<svg viewBox="0 0 252 252" xmlns="http://www.w3.org/2000/svg"> <path d="M0 16C0 7.16344 7.16344 0 16 0H85.6364C86.5205 0 87.3797 0.29288 88.0796 0.832871L120.92 26.1671C121.62 26.7071 122.48 27 123.364 27H227C235.837 27 243 34.1634 243 43V132.335C243 134.779 240.234 136.198 238.25 134.772L233 131L226.5 127L220 124L212.5 122L202.5 120L189 120.5L179.5 122.5L170.5 125.5L161.5 130.5L157 133.5L153 137L146.5 144L141 152L137 160L134 168L132.5 178L132 183.5V189.5L133 197.5L135 205.5L137.5 211.5L139.524 214.996C141.068 217.663 139.144 221 136.062 221H16C7.16344 221 0 213.837 0 205V16Z"/> <circle cx="197" cy="185" r="56"/> <path d="M188.364 215.955V151.591H204.636V215.955H188.364ZM164.318 191.909V175.636H228.682V191.909H164.318Z" fill="white"/> </svg>'},46567:function(t,e,n){"use strict";n.d(e,{lf:function(){return o.l}}),n(71917),n(90043);var o=n(87759)},68813:function(t,e,n){"use strict";n.d(e,{X:function(){return x}});var o=n(97582),i=(n(68349),n(8079)),r=n(2932),s=n(96123),a=n(95582),l=n(50526),c=n(11612),u=n(83568),h=n(65669),p=n(92803),d=n(77628),f=n(22840),m=n(3028),v=n(46567),g=n(93469),y=n(9581),w=n(63052),b=n(70467),C=n(88292),S=n(19564),I=n(41424),P=n(48086),x=function(t){function e(e){var n=t.call(this,(0,a.ConfigProto)(Object.assign(e||{},{resizable:!0,draggable:!0,toolbarButtons:(null==e?void 0:e.toolbarButtons)||d.D.defaultOptions.filebrowser.buttons,buttons:C.y.atom(["filebrowser.settings","fullsize","dialog.close"])}),d.D.defaultOptions.filebrowser))||this;return n.dataProvider=(0,m.S)(n,n.options),n.state=(0,i.observable)({onSelectCallBack:null,theme:"default",showSideBar:!0,showFavorites:!0,showSettings:!1,showPreview:!1,withFolders:!0,foldersPosition:"bottom",info:"",metaInfo:null,currentPath:"",currentSource:"",currentBaseUrl:"",tree:[],activeElements:[],favorites:[],progress:0,lastSelectedIndex:0,elements:[],messages:[],sources:[],view:"tiles",tileSize:"default",sortBy:"name-asc",filterWord:"",onlyImages:!1}),n.persistent=new g.h(n,n.state),n.loadingManager=new P.l(n,n.state),n.stateManager=new u.O(n.state),n.historyManager=new y.E(n,n.state),n.contextMenuManager=new w.z(n),n.header=new h.C(n,n.options,n.stateManager),n.panel=new s.G(n,n.stateManager),n.files=n.panel,n.tree=n.panel,S.V.make(n),!n.persistent.theme&&n.options.theme&&(n.persistent.theme=n.options.theme),n.panel.append(n.progressbar),n.toolbar.setMod("mode","header"),n.setSize(Math.min(n.options.width,screen.width),Math.min(n.options.height,screen.height)).setHeader(n.header),n.onResizeWindow(),n.initUploader(),n.onChangeTheme(),n.fullFillOptions(),n.dataProvider.onProgress((function(t){0===t&&(t=30),n.state.progress=t})),n.e.on("beforeClose",n.removeGlobalListeners),n.e.fire("afterInit"),C.y.prototype.afterInitHook.call(n),n}return(0,o.ZT)(e,t),e.prototype.className=function(){return"FileBrowserPro"},e.prototype.lock=function(e){return void 0===e&&(e="any"),this.container.classList.add("jodit_disabled"),t.prototype.lock.call(this,e)},e.prototype.unlock=function(){return this.container.classList.remove("jodit_disabled"),t.prototype.unlock.call(this)},e.prototype.status=function(t,e){void 0===e&&(e=!(t instanceof Error)),(0,a.isAbort)(t)||(!c.IS_PROD&&(0,a.isString)(t),this.message.message((0,a.isString)(t)?t:t.message,e?"success":"error",this.options.howLongShowMsg))},Object.defineProperty(e.prototype,"progressbar",{get:function(){return new f.u(this,this.stateManager.state)},enumerable:!1,configurable:!0}),e.prototype.addDisclaimer=function(t){this.dialog.appendChild(t)},e.prototype.open=function(e,n){return void 0===e&&(e=this.o.defaultCallback),(0,o.mG)(this,void 0,Promise,(function(){return(0,o.Jh)(this,(function(o){return this.state.onlyImages=Boolean(n),this.prepareOpening(e),t.prototype.open.call(this,this.panel.container),[2,this.e.fire("update.filebrowser")]}))}))},e.prototype.onResizeWindow=function(){(0,a.css)(this.dialog,{maxWidth:screen.width,minHeight:Math.min(this.options.height,screen.height),minWidth:Math.min(this.options.width,screen.width)})},e.prototype.onChangePath=function(){var t,e=(t=this.state).currentPath,n=t.currentSource;this.uploader.setPath(e),this.uploader.setSource(n)},e.prototype.onChangeTheme=function(){this.setMod("theme",this.state.theme),this.header.setMod("theme",this.state.theme),this.panel.setMod("theme",this.state.theme),this.options.theme=this.state.theme},e.prototype.onToggleSettings=function(){this.state.showSettings=!this.state.showSettings},e.prototype.prepareOpening=function(t){var e=this;this.registerGlobalListeners(),t&&(this.state.onSelectCallBack=function(n){e.close(),t(n)}),this.persistent.syncWithState()},e.prototype.registerGlobalListeners=function(){this.e.on(this.ow,"keydown",this.onKeyPress)},e.prototype.onKeyPress=function(t){var e=this.od.activeElement;if(this.state.activeElements.length&&e&&i.Dom.isOrContains(this.panel.items.container,e)){var n=this.state.elements;switch(t.key){case c.KEY_ENTER:return this.onChooseItems();case c.KEY_DELETE:return this.onFileRemove();case c.KEY_RIGHT:case c.KEY_LEFT:case c.KEY_DOWN:case c.KEY_UP:var o=t.key===c.KEY_RIGHT||t.key===c.KEY_DOWN,r=this.state.lastSelectedIndex,s=void 0;if([c.KEY_RIGHT,c.KEY_LEFT].includes(t.key))s=o?n[r+1]?r+1:0:n[r-1]?r-1:n.length-1;else{var a=this.panel.countInRow;s=Math.round(((r+1)/a+(o?1:-1))*a-1)}return n[s]&&this.stateManager.addActive(n[s],t.shiftKey),!1}}},e.prototype.removeGlobalListeners=function(){this.e.off(this.ow,"keydown",this.onKeyPress)},e.prototype.onFileRemove=function(){var t=this;this.state.activeElements.length&&this.confirm("Are you sure?","Delete",(function(e){e&&t.__itemsRemove(t.state.activeElements)})).bindDestruct(this)},e.prototype.__itemsRemove=function(t){var e=this;if(!t.length)return Promise.resolve();var n=[];return t.forEach((function(t){var o;n.push("folder"===t.type?e.__folderRemove((0,b.C)(t.path),null!==(o=t.name)&&void 0!==o?o:"",t.sourceName):e.__removeFile(t.file||t.name||"",t.sourceName))})),this.state.activeElements.forEach((function(t){e.stateManager.isFavorite(t)&&e.stateManager.toggleFavorite(t)})),this.state.activeElements=[],Promise.allSettled(n).then((function(){return Promise.allSettled([e.loadingManager.loadItems(),e.loadingManager.loadFolders()])}))},e.prototype.__removeFile=function(t,e){var n=this;return this.dataProvider.fileRemove(this.state.currentPath,t,e).then((function(e){n.status(e||n.i18n('File "%s" was deleted',t),!0)})).catch(this.status)},e.prototype.__folderRemove=function(t,e,n){var o=this;return this.dataProvider.folderRemove(t,e,n).then((function(i){o.status(i||o.i18n('Folder "%s" was deleted',e),!0),o.state.currentPath===t&&(o.state.currentPath=(0,b.C)(t),o.state.currentSource=n)})).catch(this.status)},e.prototype.onFileEdit=function(){if(1===this.state.activeElements.length){var t=(0,o.CR)(this.state.activeElements,1)[0];p.r.call(this,t.fileURL,t.file||"",t.path,t.sourceName,void 0,this.status)}},e.prototype.onFolderRename=function(t){var e=this;this.prompt("Enter new name","Rename",(function(n){if(!(0,a.isValidName)(n)||n===t.name)return e.status(e.i18n("Enter new name")),!1;e.dataProvider.folderRename((0,b.C)(t.path),t.name,n,t.sourceName).then((function(o){e.state.activeElements=[],e.status(o,!0),e.state.currentPath=(0,b.C)(t.path)+"/"+n,e.state.currentSource=t.sourceName,e.historyManager.updateCurrent(),e.loadingManager.loadFolders()})).catch(e.status)}),this.i18n("type name"),t.name).bindDestruct(this)},e.prototype.onFolderRemove=function(t){var e=this;this.confirm("Are you sure?","Delete",(function(n){n&&e.__itemsRemove([{type:"folder",name:t.name,path:t.path,sourceName:t.sourceName}])})).bindDestruct(this)},e.prototype.onFolderCreate=function(t){var e=this;this.prompt("Enter Directory name","Create directory",(function(n){var o=t.path||"/";e.dataProvider.createFolder(n,t.path||"/",t.sourceName).then((function(){e.state.currentSource===t.sourceName&&e.state.currentPath===o?e.e.fire("update.filebrowser"):(e.state.currentSource=t.sourceName,e.state.currentPath=o),e.historyManager.updateCurrent()}),e.status)}),this.i18n("type name")).bindDestruct(this)},e.prototype.onFileRename=function(t){var e=this,n=t.file||t.name||"";1===this.state.activeElements.length&&n&&this.prompt("Enter new name","Rename",(function(t){if(!(0,a.isValidName)(t))return e.status(e.i18n("Enter new name")),!1;e.dataProvider.fileRename(e.state.currentPath,n,t,e.state.currentSource).then((function(t){e.state.activeElements=[],e.status(t,!0),e.loadingManager.loadItems()})).catch(e.status)}),this.i18n("type name"),n).bindDestruct(this)},e.prototype.onChooseItems=function(){var t=this.stateManager.state.activeElements;if(t.length){if("folder"===t[0].type)return this.state.currentPath=this.state.currentPath+"/"+t[0].name,this.state.currentSource=t[0].sourceName,void this.e.fire("afterOpenFolder.filebrowser");this.state.onSelectCallBack?this.stateManager.callSelectHandler():this.onOpenLightBox(t[0])}},e.prototype.onOpenLightBox=function(t){I.m.open(this,t,this.state.elements)},e.prototype.initUploader=function(){var t=this,e=this,n=(0,a.ConfigProto)(e.o.uploader||{},d.D.defaultOptions.uploader),o=function(){return t.loadingManager.loadItems()};e.uploader=e.getInstance("Uploader",n),e.uploader.bind(e.panel.container,o,e.status),e.e.on("bindUploader.filebrowser",(function(t){e.uploader.bind(t,o,e.status)}))},e.prototype.destruct=function(){this.removeGlobalListeners(),this.header.destruct(),this.panel.destruct(),t.prototype.destruct.call(this)},e.prototype.fullFillOptions=function(){var t=this;["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach((function(e){null!=t.options[e]&&(t.options[e]=(0,a.ConfigProto)(t.options[e],t.o.ajax))}))},(0,o.gn)([l.autobind],e.prototype,"status",null),(0,o.gn)([l.cache],e.prototype,"progressbar",null),(0,o.gn)([(0,l.watch)(":resize",{context:window})],e.prototype,"onResizeWindow",null),(0,o.gn)([(0,l.watch)(["state.currentPath","state.currentSource"])],e.prototype,"onChangePath",null),(0,o.gn)([(0,l.watch)("state.theme")],e.prototype,"onChangeTheme",null),(0,o.gn)([(0,l.watch)(":toggleSettings.filebrowser")],e.prototype,"onToggleSettings",null),(0,o.gn)([l.autobind],e.prototype,"onKeyPress",null),(0,o.gn)([l.autobind],e.prototype,"removeGlobalListeners",null),(0,o.gn)([(0,l.watch)(":fileRemove.filebrowser")],e.prototype,"onFileRemove",null),(0,o.gn)([(0,l.watch)(":edit.filebrowser")],e.prototype,"onFileEdit",null),(0,o.gn)([(0,l.watch)(":folderRename.filebrowser")],e.prototype,"onFolderRename",null),(0,o.gn)([(0,l.watch)(":folderRemove.filebrowser")],e.prototype,"onFolderRemove",null),(0,o.gn)([(0,l.watch)(":folderCreate.filebrowser")],e.prototype,"onFolderCreate",null),(0,o.gn)([(0,l.watch)(":fileRename.filebrowser")],e.prototype,"onFileRename",null),(0,o.gn)([(0,l.watch)(":select.filebrowser")],e.prototype,"onChooseItems",null),(0,o.gn)([(0,l.watch)(":openLightBox.filebrowser")],e.prototype,"onOpenLightBox",null),(0,o.gn)([l.component,(0,l.derive)(v.lf)],e)}(r.Vq);Object.defineProperty(C.y.modules,"FileBrowserPro",{value:x,writable:!1,enumerable:!0,configurable:!0})},99993:function(t,e,n){"use strict";var o=n(77628);(0,n(81160).xl)(n(57591));var i=o.D.prototype.controls.filebrowser;i.settings={icon:"settings",tooltip:"Settings",exec:function(t){var e;(null!==(e=t.parent)&&void 0!==e?e:t).e.fire("toggleSettings.filebrowser")}},i.home={icon:"home",tooltip:"Home",exec:function(t){t.e.fire("goHome.filebrowser")}},i.preview={icon:"eye",tooltip:"Preview",isDisabled:function(t){return 0===t.state.activeElements.length},exec:function(t){t.e.fire("togglePreview.filebrowser")}},i.next={icon:"angle-right",tooltip:"History next",isDisabled:function(t){return!t.historyManager.canNext()},exec:function(t){t.historyManager.next()}},i.previous={icon:"angle-left",tooltip:"History previous",isDisabled:function(t){return!t.historyManager.canPrevious()},exec:function(t){t.historyManager.previous()}},i["new-folder"]={icon:"new-folder",exec:function(t){t.e.fire("folderCreate.filebrowser",{path:t.state.currentPath,sourceName:t.state.currentSource})},tooltip:"New folder"},Object.assign(o.D.prototype.filebrowser,{buttons:["filebrowser.home","filebrowser.previous","filebrowser.next","|","filebrowser.upload","filebrowser.new-folder","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.preview","about"],sort:!1,pixelOffsetLoadNewChunk:300,width:800,height:400,previewOfficeURL:"https://view.officeapps.live.com/op/view.aspx?src="})},48531:function(t,e,n){"use strict";n.r(e),n.d(e,{finder:function(){return a}});var o=n(97582),i=n(7324),r=n(68813),s=n(88292),a=(n(99993),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasStyle=!s.y.fatMode,e}return(0,o.ZT)(e,t),e.prototype.afterInit=function(t){var e=this;t.e.on("getInstanceFileBrowser",(function(t){return e.__instance||(e.__instance=new r.X(t)),e.__instance}))},e.prototype.beforeDestruct=function(t){var e;t.e.off("getInstanceFileBrowser"),null===(e=this.__instance)||void 0===e||e.destruct()},e.requires=["license"],e}(i.S));s.y.plugins.add("finder",a)},63052:function(t,e,n){"use strict";n.d(e,{z:function(){return a}});var o=n(97582),i=n(3028),r=n(22562),s=n(50526),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,o.ZT)(e,t),e.prototype.className=function(){return"ContextMenuManager"},e.prototype.onFolderContext=function(t,e){return this.buildContextItemMenu(this.getFolderContextActions(t),e),!1},e.prototype.onItemContext=function(t,e,n){return this.buildContextItemMenu(this.getItemContextActions(t),n),!1},e.prototype.onSourceContext=function(t,e){return this.buildContextItemMenu(this.getSourceContextActions(t),e),!1},e.prototype.buildContextItemMenu=function(t,e){if(this.j.o.contextMenu){var n=(0,i.L)(this.j).setMod("theme",this.j.state.theme);n.show(e.clientX,e.clientY,t.filter((function(t){return t&&!1!==t.enabled}))),this.j.e.on(this.j,"afterClose",(function(){n.isOpened&&n.close()}))}},e.prototype.getItemContextActions=function(t){var e=this;if(this.j.stateManager.isActive(t)||this.j.stateManager.addActive(t,this.j.state.activeElements.length>1),"folder"===t.type)return this.getFolderContextActions({type:"directory",children:[],name:t.name||"",path:t.path,sourceName:t.sourceName});var n=this.j.options,o=this.j.dataProvider,i=1===this.j.state.activeElements.length;return[{icon:"pencil",title:"Edit",enabled:Boolean(t.isImage)&&n.editImage&&i&&(o.canI("ImageResize")||o.canI("ImageCrop")),exec:function(){e.j.e.fire("edit.filebrowser")}},{icon:"italic",title:"Rename",enabled:o.canI("FileRename")&&i,exec:function(){return e.j.e.fire("fileRename.filebrowser",t)}},{icon:"bin",title:"Delete",enabled:o.canI("FileRemove"),exec:function(){return e.j.e.fire("fileRemove.filebrowser",t)}},{icon:"eye",title:"Preview",enabled:Boolean(t.isImage||"file"===t.type)&&n.preview&&i,exec:function(){return e.j.e.fire("openLightBox.filebrowser",t)}},{icon:"upload",title:"Download",exec:function(){t.fileURL&&e.j.ow.open(t.fileURL)}}]},e.prototype.getFolderContextActions=function(t){var e=this,n=this.j.dataProvider;return[{icon:"pencil",title:"Rename",exec:function(){e.j.e.fire("folderRename.filebrowser",t)},enabled:n.canI("FolderRename")},{icon:"bin",title:"Delete",exec:function(){e.j.e.fire("folderRemove.filebrowser",t)},enabled:n.canI("FolderRemove")},{icon:"plus",title:"Add folder",exec:function(){e.j.e.fire("folderCreate.filebrowser",t)},enabled:n.canI("FolderCreate")}]},e.prototype.getSourceContextActions=function(t){var e=this;return[{icon:"plus",title:"Create folder",exec:function(){e.j.e.fire("folderCreate.filebrowser",t)}}]},(0,o.gn)([(0,s.watch)(":contextmenuFolder.filebrowser")],e.prototype,"onFolderContext",null),(0,o.gn)([(0,s.watch)(":contextmenuItem.filebrowser")],e.prototype,"onItemContext",null),(0,o.gn)([(0,s.watch)(":contextmenuSource.filebrowser")],e.prototype,"onSourceContext",null),(0,o.gn)([s.component],e)}(r.Hr)},70467:function(t,e,n){"use strict";n.d(e,{C:function(){return o}});var o=function(t){var e=t.split("/").filter((function(t){return t.length}));return e.pop(),e.join("/")||"/"}},9581:function(t,e,n){"use strict";n.d(e,{E:function(){return a}});var o=n(97582),i=n(95582),r=n(22562),s=n(50526),a=function(t){function e(e,n){var o=t.call(this,e)||this;return o.state=n,o.history=[],o.historyIndex=0,o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"HistoryManager"},e.prototype.canNext=function(){return this.history.length-1>this.historyIndex},e.prototype.canPrevious=function(){return this.historyIndex>0},e.prototype.push=function(t){var e=this.historyIndex,n=this.history[e];if(!n||n.currentSource!==t.currentSource||n.currentPath!==t.currentPath){var i=(0,o.ev)([],(0,o.CR)(this.history),!1);i.length-1!==e&&(i=i.slice(0,e+1)),i.push(t),n&&(e+=1),this.history=i,this.historyIndex=e}},e.prototype.next=function(){this.canNext()&&(this.historyIndex+=1,this.updateState())},e.prototype.previous=function(){this.canPrevious()&&(this.historyIndex-=1,this.updateState())},e.prototype.updateCurrent=function(){this.history[this.historyIndex]={currentSource:this.state.currentSource,currentPath:this.state.currentPath,tree:(0,i.fastClone)(this.state.tree),elements:(0,o.ev)([],(0,o.CR)(this.state.elements),!1)}},e.prototype.onHome=function(){this.state.currentPath="",this.state.currentSource="",this.j.e.fire("afterOpenFolder.filebrowser update.filebrowser")},e.prototype.onOpenFolder=function(){this.push({tree:[],elements:[],currentPath:this.state.currentPath,currentSource:this.state.currentSource}),this.j.e.fire("changeSelection")},e.prototype.updateState=function(){var t,e=(t=this.history[this.historyIndex]).tree,n=t.elements,i=t.currentSource,r=t.currentPath;this.state.activeElements=[],this.state.elements=(0,o.ev)([],(0,o.CR)(n),!1),this.state.tree=(0,o.ev)([],(0,o.CR)(e),!1),this.state.currentSource=i,this.state.currentPath=r,this.j.e.fire("changeSelection")},(0,o.gn)([(0,s.watch)(["state.elements","state.tree"])],e.prototype,"updateCurrent",null),(0,o.gn)([(0,s.watch)(":goHome.filebrowser")],e.prototype,"onHome",null),(0,o.gn)([(0,s.watch)(":afterOpenFolder.filebrowser")],e.prototype,"onOpenFolder",null),(0,o.gn)([s.component],e)}(r.Hr)},48086:function(t,e,n){"use strict";n.d(e,{l:function(){return s}});var o=n(97582),i=n(22562),r=n(50526),s=function(t){function e(e,n){var o=t.call(this,e)||this;return o.state=n,o.__tick=0,o.offset=0,o.countInOneChunk=20,o.stopLoadingParts=!1,o.__isLoadingPart=!1,o.__callQueueCount=0,o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"LoadingManager"},e.prototype.onUpdateFileBrowser=function(){return(0,o.mG)(this,void 0,Promise,(function(){return(0,o.Jh)(this,(function(t){switch(t.label){case 0:return this.state.activeElements=[],this.j.panel.setMod("loading",!0),[4,Promise.all([this.loadFolders(),this.loadItems()])];case 1:return t.sent(),this.j.panel.setMod("loading",!1),[2]}}))}))},e.prototype.loadFolders=function(){return(0,o.mG)(this,void 0,Promise,(function(){var t,e,n,i,r;return(0,o.Jh)(this,(function(o){switch(o.label){case 0:if(!this.j.isOpened)return[2];t=(r=this.state).currentPath,e=r.currentSource,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.j.dataProvider.tree(t,e)];case 2:return n=o.sent(),this.j.stateManager.fillTreeForPath(n,t),this.state.sources=n,[3,4];case 3:return i=o.sent(),this.j.status(i),[3,4];case 4:return[2]}}))}))},e.prototype.loadItems=function(){return(0,o.mG)(this,void 0,Promise,(function(){var t,e,n,i;return(0,o.Jh)(this,(function(o){switch(o.label){case 0:if(!this.j.isOpened)return[2];o.label=1;case 1:return o.trys.push([1,8,,9]),this.__tick+=1,t=this.__tick,this.offset=0,this.stopLoadingParts=!1,this.__callQueueCount=0,[4,a(this.state,this.j.dataProvider,this.offset,this.countInOneChunk)];case 2:return i=o.sent(),e=i.loadedTotal,this.state.elements=i.items,this.stopLoadingParts=this.countInOneChunk>e,[4,this.loadItemsChunk(t)];case 3:return o.sent(),[4,this.async.requestIdlePromise()];case 4:if(o.sent(),this.__tick!==t)return[2];o.label=5;case 5:return this.stopLoadingParts||this.state.elements.length>this.j.panel.countInColumn*this.j.panel.countInRow?[3,7]:[4,this.loadItemsChunk(t)];case 6:return o.sent(),this.__tick!==t?[2]:[3,5];case 7:return[3,9];case 8:return n=o.sent(),this.j.status(n),[3,9];case 9:return[2]}}))}))},e.prototype.__loadItemsChunk=function(t){return(0,o.mG)(this,void 0,Promise,(function(){var e,n,i,r;return(0,o.Jh)(this,(function(o){switch(o.label){case 0:if(this.__isLoadingPart)return this.__callQueueCount+=1,[2];if(this.stopLoadingParts)return this.__callQueueCount=0,[2];this.__isLoadingPart=!0,this.j.panel.items.setMod("chunk-loading",!0),o.label=1;case 1:return o.trys.push([1,3,,4]),this.offset+=this.countInOneChunk,[4,a(this.state,this.j.dataProvider,this.offset,this.countInOneChunk)];case 2:return r=o.sent(),e=r.items,n=r.loadedTotal,this.__tick!==t?[2]:(this.stopLoadingParts=this.countInOneChunk>n,e.length&&(this.state.elements=this.state.elements.concat(e)),[3,4]);case 3:return i=o.sent(),this.j.status(i),[3,4];case 4:return this.j.panel.items.setMod("chunk-loading",!1),this.__isLoadingPart=!1,this.__callQueueCount>0?(this.__callQueueCount-=1,[2,this.__loadItemsChunk(t)]):[2]}}))}))},e.prototype.loadItemsChunk=function(t){return void 0===t&&(t=this.__tick),t!==this.__tick?Promise.resolve():this.__loadItemsChunk(t)},(0,o.gn)([(0,r.watch)(":update.filebrowser")],e.prototype,"onUpdateFileBrowser",null),(0,o.gn)([(0,r.watch)(["state.currentPath","state.currentSource"]),(0,r.debounce)((function(t){return{timeout:t.defaultTimeout,promisify:!0}}))],e.prototype,"loadFolders",null),(0,o.gn)([(0,r.watch)(["state.currentPath","state.currentSource","state.sortBy","state.onlyImages","state.foldersPosition","state.filterWord"]),(0,r.debounce)((function(t){return{timeout:t.defaultTimeout,promisify:!0}}))],e.prototype,"loadItems",null),(0,o.gn)([(0,r.debounce)((function(t){return{timeout:t.defaultTimeout,promisify:!0}}))],e.prototype,"loadItemsChunk",null),(0,o.gn)([r.component],e)}(i.Hr);function a(t,e,n,o){return e.itemsEx(t.currentPath,t.currentSource,{offset:n,limit:o,sortBy:t.sortBy,withFolders:t.withFolders,foldersPosition:t.foldersPosition,onlyImages:t.onlyImages,filterWord:t.filterWord})}},93469:function(t,e,n){"use strict";n.d(e,{h:function(){return a}});var o=n(97582),i=n(22562),r=n(50526),s=n(45545),a=function(t){function e(e,n){var o=t.call(this,e)||this;return o.state=n,o.sortBy="changed-desc",o.view="tiles",o.foldersPosition="top",o.tileSize="default",o.favorites=[],o.showSideBar=!0,o.showPreview=!1,o.showFavorites=!0,o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"PersistentStore"},e.prototype.onChangeThemeSetField=function(){this.theme=this.state.theme},e.prototype.onChangeView=function(){this.view=this.state.view},e.prototype.onChangeSortBy=function(){this.sortBy=this.state.sortBy},e.prototype.onChangeTileSize=function(){this.tileSize=this.state.tileSize},e.prototype.onChangeFavorites=function(){this.favorites=this.state.favorites},e.prototype.onChangeShowSideBar=function(){this.showSideBar=this.state.showSideBar},e.prototype.onChangeShowPreview=function(){this.showPreview=this.state.showPreview},e.prototype.onChangeShowFavorites=function(){this.showFavorites=this.state.showFavorites},e.prototype.onChangeFoldersPosition=function(){this.foldersPosition=this.state.foldersPosition},e.prototype.syncWithState=function(){this.state.tileSize=this.tileSize,this.state.favorites=this.favorites.map((function(t){return t instanceof s.Z?t:s.Z.create(t)})),this.state.view=this.view,this.state.theme=this.theme,this.state.showSideBar=this.showSideBar,this.state.showPreview=this.showPreview,this.state.showFavorites=this.showFavorites,this.state.sortBy=this.sortBy,this.state.foldersPosition=this.foldersPosition},(0,o.gn)([r.persistent],e.prototype,"theme",void 0),(0,o.gn)([r.persistent],e.prototype,"sortBy",void 0),(0,o.gn)([r.persistent],e.prototype,"view",void 0),(0,o.gn)([r.persistent],e.prototype,"foldersPosition",void 0),(0,o.gn)([r.persistent],e.prototype,"tileSize",void 0),(0,o.gn)([r.persistent],e.prototype,"favorites",void 0),(0,o.gn)([r.persistent],e.prototype,"showSideBar",void 0),(0,o.gn)([r.persistent],e.prototype,"showPreview",void 0),(0,o.gn)([r.persistent],e.prototype,"showFavorites",void 0),(0,o.gn)([(0,r.watch)("state.theme")],e.prototype,"onChangeThemeSetField",null),(0,o.gn)([(0,r.watch)("state.view")],e.prototype,"onChangeView",null),(0,o.gn)([(0,r.watch)("state.sortBy")],e.prototype,"onChangeSortBy",null),(0,o.gn)([(0,r.watch)("state.tileSize")],e.prototype,"onChangeTileSize",null),(0,o.gn)([(0,r.watch)("state.favorites")],e.prototype,"onChangeFavorites",null),(0,o.gn)([(0,r.watch)("state.showSideBar")],e.prototype,"onChangeShowSideBar",null),(0,o.gn)([(0,r.watch)("state.showPreview")],e.prototype,"onChangeShowPreview",null),(0,o.gn)([(0,r.watch)("state.showFavorites")],e.prototype,"onChangeShowFavorites",null),(0,o.gn)([(0,r.watch)("state.foldersPosition")],e.prototype,"onChangeFoldersPosition",null),(0,o.gn)([r.component],e)}(i.Hr)},83568:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var o=n(97582),i=n(50526),r=function(){function t(t){this.state=t}return t.prototype.getIndex=function(t,e){return void 0===e&&(e=this.state.elements),e.findIndex((function(e){return e.uniqueHashKey===t.uniqueHashKey}))},t.prototype.isActive=function(t){return Boolean(this.state.activeElements.find((function(e){return e.uniqueHashKey===t.uniqueHashKey})))},t.prototype.isFavorite=function(t){return Boolean(this.state.favorites.find((function(e){return e.uniqueHashKey===t.uniqueHashKey})))},t.prototype.addActive=function(t,e){var n;this.state.metaInfo=t,this.state.info=null!==(n=t.file)&&void 0!==n?n:"",this.state.lastSelectedIndex=this.getIndex(t),this.state.activeElements=e?(0,o.ev)((0,o.ev)([],(0,o.CR)(this.state.activeElements),!1),[t],!1):[t]},t.prototype.callSelectHandler=function(){var t,e=this.state.activeElements;null===(t=this.state.onSelectCallBack)||void 0===t||t.call(this,{baseurl:"",files:e.map((function(t){return t.fileURL})),isImages:e.map((function(t){return Boolean(t.isImage)}))})},t.prototype.setFilter=function(t){this.state.filterWord=t},t.prototype.toggleFavorite=function(t){var e=this.getIndex(t,this.state.favorites),n=(0,o.ev)([],(0,o.CR)(this.state.favorites),!1);-1===e?n.push(t):n.splice(e,1),this.state.favorites=n},t.prototype.fillTreeForPath=function(t,e){var n=this;this.state.tree.length&&e&&"/"!==e?(this.removeActive(this.state.tree),t.forEach((function(t){var o=s(n.state.tree,t.name);o||(o=l(t),n.state.tree.push(o)),o.isActive=!0;var i=function(t,e){return t.split("/").reduce((function(t,e){return t&&s(t.children,e)}),e)}(e,o);i&&(i.isActive=!0,i.children=a(t.folders).map((function(n){return c(n,e+"/"+n,t.name)})))})),this.state.tree=(0,o.ev)([],(0,o.CR)(this.state.tree),!1)):this.state.tree=t.map(l)},t.prototype.removeActive=function(t){var e=this;t.forEach((function(t){t.isActive=!1,e.removeActive(t.children)}))},Object.defineProperty(t.prototype,"isFavoriteItems",{get:function(){return this.state.favorites===this.state.elements},enumerable:!1,configurable:!0}),(0,o.gn)([i.autobind],t.prototype,"getIndex",null),(0,o.gn)([i.autobind],t.prototype,"isActive",null),(0,o.gn)([i.autobind],t.prototype,"isFavorite",null),t}();function s(t,e){var n;return null!==(n=t.find((function(t){return t.name===e})))&&void 0!==n?n:null}function a(t){return t.filter((function(t){return"."!==t&&".."!==t}))}function l(t){return{type:"source",name:t.name,title:t.title,sourceName:t.name,path:"/",children:a(t.folders).map((function(e){return c(e,e,t.name)}))}}function c(t,e,n){return{type:"directory",name:t,path:e,sourceName:n,children:[]}}},57591:function(t,e,n){"use strict";n.r(e),n.d(e,{ru:function(){return o}});var o=n(11937)},11937:function(t){"use strict";t.exports={Favorites:"Избранное",Settings:"Настройки",Light:"Светлая",Dark:"Темная",Theme:"Тема",Show:"Показать",Hide:"Скрыть","Show favorites":"Показывать избранное",Tiles:"Плитка",List:"Список",Compact:"Компактный",View:"Отображение","Folders position":"Позиция папок","Sort by":"Сортировать по","Extra small":"Очень маленькие",Small:"Маленькие",Large:"Большие","Extra large":"Очень большие","Tile size":"Размер плитки"}},68349:function(t,e,n){"use strict";var o=n(75004),i=n(82942),r=n(19327),s=n(59239);o.JO.set("heart",String(i)),o.JO.set("home",String(r)),o.JO.set("new-folder",String(s))},9890:function(t,e,n){"use strict";n.d(e,{D:function(){return s}});var o=n(97582),i=n(75004),r=n(50526),s=(n(95582),function(t){function e(e,n){var o=t.call(this,e)||this;return o.item=n,o.syncMod=!0,o.getElm("name").innerText=n.name,e.e.on(o.container,"click",(function(){return o.getMod("active")||o.setMod("loading",!0),e.e.fire("openFolder",n)})).on(o.container,"contextmenu",(function(t){return e.e.fire("contextmenuFolder.filebrowser",n,t)})),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserFolder"},e.prototype.render=function(){return'<div>\n\t\t\t<div class="&__icon">\n\t\t\t\t<div class=\'&__loader\'></div>\n\t\t\t\t<div class="&__icon-wrapper">\n\t\t\t\t\t*folder*\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="&__name"></div>\n\t\t\t<div class="&__arrow">*angle-right*</div>\n\t\t</div>'},(0,o.gn)([r.component],e)}(i.u1))},65669:function(t,e,n){"use strict";n.d(e,{C:function(){return l}});var o=n(97582),i=n(75004),r=n(50526),s=n(45429),a=n(4682),l=function(t){function e(e,n,o){var r=t.call(this,e)||this;return r.options=n,r.stateManager=o,r.syncMod=!0,r.toolbar=(0,s.R)(r.j),r.filter=new i.u3(r.j,{icon:"search",placeholder:"Filter",clearButton:!0,onChange:function(t){r.stateManager.setFilter(t)}}),r.append(r.toolbar).append(r.filter),r.filter.container.classList.add(r.getFullElName("filter")),r.toolbar.setMod("mode","header").build(r.__getButtons()),r}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserHeader"},e.prototype.__getButtons=function(){var t,e=this;return(null!==(t=this.options.toolbarButtons)&&void 0!==t?t:[]).filter((function(t){if(!(0,a.H)(t))return!0;switch(t){case"filebrowser.edit":return e.j.dataProvider.canI("ImageResize")||e.j.dataProvider.canI("ImageCrop");case"filebrowser.new-folder":return e.j.dataProvider.canI("FolderCreate");case"filebrowser.upload":return e.j.dataProvider.canI("FileUpload");case"filebrowser.remove":return e.j.dataProvider.canI("FileRemove")}return!0}))},(0,o.gn)([r.component],e)}(i.qe)},87695:function(t,e,n){"use strict";n.d(e,{u:function(){return c}});var o=n(97582),i=n(75004),r=n(50526),s=n(45545),a=n(8079),l=n(95582),c=function(t){function e(e,n){var o=t.call(this,e)||this;return o.item=s.Z.create(n),e.e.on(o.container,"click contextmenu dblclick",(function(t){return e.e.fire(t.type+"Item.filebrowser",o.item,(0,l.ctrlKey)(t)||t.shiftKey,t),!1})),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserItem"},e.prototype.render=function(){return"<div tabindex='-1'>\n\t\t\t<div class='&__image'></div>\n\t\t\t<div class='&__info'></div>\n\t\t\t<div class='&__heart'>*heart*</div>\n\t\t</div>"},e.prototype.onClickFavorite=function(){var t=this;return this.bubble((function(e){t.jodit.e.fire(e,"toggleFavoriteItem",t.item)})),!1},e.prototype.onAction=function(t){return this.jodit.e.fire(t.type+"Item.filebrowser",this.item,(0,l.ctrlKey)(t)||t.shiftKey,t),!1},e.prototype.update=function(){var e,n=this.getElm("image");(0,l.css)(n,"backgroundImage","url(".concat(encodeURI(this.item.imageURL),")"));var o=(e=this.item).type,i=e.file,r=e.time,s=e.size;this.setMod("is-file",!1===this.item.isImage).setMod("type",null!=o?o:"file").setElementValue("name",i).setElementValue("time",r).setElementValue("filesize",s),(0,l.attr)(this.container,"title","folder"!==o?"".concat(i," ").concat(r," ").concat(s):i),t.prototype.update.call(this)},e.prototype.setElementValue=function(t,e){var n=this.getFullElName(t),o=this.getElm(t);if(!e)return o&&a.Dom.safeRemove(o),this;if(!o){var i=this.getElm("info");o=this.j.create.div(n),i.appendChild(o)}return o.innerText=e,this},(0,o.gn)([(0,r.watch)("heart:click")],e.prototype,"onClickFavorite",null),(0,o.gn)([(0,r.watch)(["container:click","container:contextmenu","container:dblclick"])],e.prototype,"onAction",null),(0,o.gn)([r.component],e)}(i.u1)},41424:function(t,e,n){"use strict";n.d(e,{m:function(){return l}});var o=n(97582),i=n(8079),r=n(50526),s=n(95582),a=n(11612),l=function(t){function e(e,n,o){var r=t.call(this,e)||this;r.current=n,r.elements=o,r.dialog=new i.Dialog;var s=r.dialog;return s.setMod("theme",e.state.theme).toolbar.setMod("mode","header"),s.open(r),r.elements=r.elements.filter((function(t){return t.isImage})),s.e.on(s,"afterClose",(function(){r.destruct()})),r.addGlobalListeners(),r.onChangeCurrent(),s.toolbar.build([{icon:"check",exec:function(){e.stateManager.addActive(r.current,!1),e.e.fire("select.filebrowser"),s.close()}},"dialog.close"]),r}var n;return(0,o.ZT)(e,t),n=e,e.prototype.className=function(){return"UILightBox"},e.prototype.render=function(){return"<div>\n\t\t\t<div class='&__previous'>*angle-left*</div>\n\t\t\t<div class='&__preview'></div>\n\t\t\t<div class='&__loader'></div>\n\t\t\t<div class='&__next'>*angle-right*</div>\n\t\t</div>"},e.prototype.onChangeCurrent=function(){return(0,o.mG)(this,void 0,Promise,(function(){var t,e,n,r;return(0,o.Jh)(this,(function(o){switch(o.label){case 0:return t=this.current,this.setMod("loading",!0),e=this.getElm("preview"),i.Dom.detach(e),(0,s.css)(e,{backgroundImage:null}),t.isImage?[4,(0,s.loadImage)(t.fileURL,this.j)]:[3,2];case 1:return n=o.sent(),this.dialog.setPosition(),(0,s.css)(e,{width:Math.min(this.jodit.ow.innerWidth,n.naturalWidth),height:Math.min(this.jodit.ow.innerHeight-100,n.naturalHeight),backgroundImage:"url(".concat(n.src,")")}),[3,4];case 2:return[4,this.makeIframe(t.fileURL)];case 3:r=o.sent(),e.appendChild(r),o.label=4;case 4:return this.dialog.setSize(),this.dialog.setPosition(),this.setMod("loading",!1),[2]}}))}))},e.prototype.makeIframe=function(t){var e=this.j.c.element("iframe");return e.classList.add(this.getFullElName("office-iframe")),e.src=/\.pdf/.test(t)?t:this.j.o.previewOfficeURL+encodeURIComponent(t),e},e.prototype.onPreviousClick=function(){var t=this.j.stateManager.getIndex(this.current,this.elements);t>0?t-=1:t=this.elements.length-1,this.current=this.elements[t]},e.prototype.onNextClick=function(){var t=this.j.stateManager.getIndex(this.current,this.elements);this.elements.length-1>t?t+=1:t=0,this.current=this.elements[t]},e.open=function(t,e,o){return new n(t,e,o)},e.prototype.addGlobalListeners=function(){this.j.e.on(this.j.od,"keydown",this.onKeyPress)},e.prototype.onKeyPress=function(t){if(t.key===a.KEY_LEFT||t.key===a.KEY_RIGHT||t.key===a.KEY_SPACE)return t.key===a.KEY_LEFT?this.onPreviousClick():this.onNextClick(),!1},e.prototype.removeGlobalListeners=function(){this.j.e.off(this.j.od,"keydown",this.onKeyPress)},e.prototype.destruct=function(){return this.removeGlobalListeners(),this.dialog.destruct(),t.prototype.destruct.call(this)},(0,o.gn)([(0,r.watch)("current")],e.prototype,"onChangeCurrent",null),(0,o.gn)([(0,r.watch)("previous:click")],e.prototype,"onPreviousClick",null),(0,o.gn)([(0,r.watch)("next:click")],e.prototype,"onNextClick",null),(0,o.gn)([r.autobind],e.prototype,"onKeyPress",null),n=(0,o.gn)([r.component],e)}(i.UIElement)},96123:function(t,e,n){"use strict";n.d(e,{G:function(){return d}});var o=n(97582),i=n(75004),r=n(72618),s=n(50526),a=n(68787),l=n(62983),c=n(95582),u=n(93582),h=n(67775),p=n(96945),d=function(t){function e(e,n){var o=t.call(this,e)||this;return o.stateManager=n,o.syncMod=!0,o.sources=new u.L(o.j),o.sidebar=new a.o(o.jodit,[o.sources],o.stateManager.state),o.preview=new p.o(o.jodit,o.stateManager.state),o.statusbar=new h.s(o.j),o.items=new r.d(o.j,o.stateManager),o.settings=new l.r(o.jodit,o.stateManager.state),o.state=n.state,o.append(o.sidebar,"content"),o.append(o.items,"content"),o.append(o.settings,"content"),o.append(o.preview,"content"),o.append(o.statusbar,"footer"),o.onChangeElements(),o.onChangeSources(),o.onChangeView(),o.onChangeTileSize(),o.onChangeShowFavorites(),o.onChangeActiveElements(),o.onChangeFavorites(),o.onChangeShowSideBar(),o.onChangeShowSettings(),o.onChangeShowPreview(),o.onChangeTheme(),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserPanel"},Object.defineProperty(e.prototype,"countInRow",{get:function(){if("list"===this.state.view)return 1;if(!this.items.elements.length)return 1;var t=this.items.elements[0].container,e=(0,c.css)(t,"marginLeft");return Math.floor(this.items.container.offsetWidth/(t.offsetWidth+((0,c.isNumber)(e)?e:0)))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"countInColumn",{get:function(){if(!this.items.elements.length)return 1;var t=this.items.elements[0].container,e=(0,c.css)(t,"marginTop");return Math.floor(this.items.container.offsetHeight/(t.offsetHeight+((0,c.isNumber)(e)?e:0)))},enumerable:!1,configurable:!0}),e.prototype.render=function(){return"<div>\n\t\t\t<div class='&__content'></div>\n\t\t\t<div class='&__footer'></div>\n\t\t</div>"},e.prototype.onChangeTheme=function(){this.setMod("theme",this.stateManager.state.theme)},e.prototype.onChangeElements=function(){this.items.build(this.stateManager.state.elements)},e.prototype.onChangeActiveElements=function(){var t=this;this.state.activeElements.length||(this.state.info="",this.state.metaInfo=null),this.items.elements.forEach((function(e){e.setMod("active",Boolean(t.stateManager.isActive(e.item)))})),this.j.e.fire("changeSelection")},e.prototype.onChangeFavorites=function(){var t=this;this.items.elements.forEach((function(e){e.setMod("favorite",Boolean(t.stateManager.isFavorite(e.item)))}))},e.prototype.onChangeSources=function(){this.sources.build(this.stateManager.state.tree)},e.prototype.onChangeLastSelectedIndex=function(){var t,e=null===(t=this.items.elements[this.stateManager.state.lastSelectedIndex])||void 0===t?void 0:t.container;e&&((0,c.scrollIntoViewIfNeeded)(e,this.items.container,this.j.od),e.focus())},e.prototype.onChangeInfo=function(){this.statusbar.value(this.state.info,"center")},e.prototype.onChangePathOrSource=function(){this.statusbar.value(this.state.currentPath?"".concat(this.state.currentPath," (").concat(this.state.currentSource,")"):this.i18n("Home"),"left")},e.prototype.onChangeShowSettings=function(){this.settings.setMod("hidden",!this.stateManager.state.showSettings)},e.prototype.onChangeShowPreview=function(){this.preview.setMod("hidden",!this.stateManager.state.showPreview)},e.prototype.onChangeShowSideBar=function(){this.sidebar.setMod("hidden",!this.stateManager.state.showSideBar)},e.prototype.onChangeView=function(){this.items.setMod("view",this.stateManager.state.view)},e.prototype.onChangeTileSize=function(){this.items.setMod("size",this.stateManager.state.tileSize)},e.prototype.onChangeShowFavorites=function(){this.sidebar.setMod("show-favorites",this.stateManager.state.showFavorites),this.items.setMod("show-favorites",this.stateManager.state.showFavorites)},e.prototype.onItemDblClick=function(){return this.j.e.fire("select.filebrowser"),!1},e.prototype.onItemClick=function(t,e){this.stateManager.addActive(t,e)},e.prototype.onTogglePreview=function(){return this.state.showPreview=!this.state.showPreview,!1},e.prototype.onToggleFavoriteItem=function(t){this.stateManager.toggleFavorite(t)},e.prototype.onFolderClick=function(t){this.stateManager.state.currentSource=t.sourceName,this.stateManager.state.currentPath=t.path||"/",this.j.e.fire("afterOpenFolder.filebrowser")},(0,o.gn)([(0,s.watch)("state.theme")],e.prototype,"onChangeTheme",null),(0,o.gn)([(0,s.watch)("state.elements")],e.prototype,"onChangeElements",null),(0,o.gn)([(0,s.watch)("state.activeElements")],e.prototype,"onChangeActiveElements",null),(0,o.gn)([(0,s.watch)(["state.favorites","state.elements"])],e.prototype,"onChangeFavorites",null),(0,o.gn)([(0,s.watch)("state.sources")],e.prototype,"onChangeSources",null),(0,o.gn)([(0,s.watch)("state.lastSelectedIndex")],e.prototype,"onChangeLastSelectedIndex",null),(0,o.gn)([(0,s.watch)("state.info")],e.prototype,"onChangeInfo",null),(0,o.gn)([(0,s.watch)(["state.currentPath","state.currentSource"])],e.prototype,"onChangePathOrSource",null),(0,o.gn)([(0,s.watch)("state.showSettings")],e.prototype,"onChangeShowSettings",null),(0,o.gn)([(0,s.watch)("state.showPreview")],e.prototype,"onChangeShowPreview",null),(0,o.gn)([(0,s.watch)("state.showSideBar")],e.prototype,"onChangeShowSideBar",null),(0,o.gn)([(0,s.watch)("state.view")],e.prototype,"onChangeView",null),(0,o.gn)([(0,s.watch)("state.tileSize")],e.prototype,"onChangeTileSize",null),(0,o.gn)([(0,s.watch)("state.showFavorites")],e.prototype,"onChangeShowFavorites",null),(0,o.gn)([(0,s.watch)(":dblclickItem.filebrowser")],e.prototype,"onItemDblClick",null),(0,o.gn)([(0,s.watch)(":clickItem.filebrowser")],e.prototype,"onItemClick",null),(0,o.gn)([(0,s.watch)(":togglePreview.filebrowser")],e.prototype,"onTogglePreview",null),(0,o.gn)([(0,s.watch)(":toggleFavoriteItem")],e.prototype,"onToggleFavoriteItem",null),(0,o.gn)([(0,s.watch)(":openFolder")],e.prototype,"onFolderClick",null),(0,o.gn)([s.component],e)}(i.qe)},96945:function(t,e,n){"use strict";n.d(e,{o:function(){return u}});var o=n(97582),i=n(75004),r=n(50526),s=n(62499),a=n(95582),l=n(8138),c=n(87695),u=function(t){function e(e,n){var o=t.call(this,e)||this;return o.state=n,o.lastLoadPromise=null,o.onChangeMetaInfo(),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIPreview"},e.prototype.addResize=function(){s.c.remove(this),s.c.install(this,screen.width>450?"left":"top")},e.prototype.render=function(){return'<div>\n\t\t\t\t<div class="&__image"></div>\n\t\t\t\t<div class="&__info"></div>\n\t\t\t\t<div class="&__loader"></div>\n\t\t\t\t<div class="&__empty-message">~Select image~</div>\n\t\t\t</div>'},e.prototype.afterSetMod=function(e,n){"hidden"===e&&!1===n&&this.onChangeMetaInfo(),t.prototype.afterSetMod.call(this,e,n)},e.prototype.onChangeMetaInfo=function(){var t,e,n=this;if(!this.getMod("hidden")){var o=this.state.metaInfo;this.setMod("empty",!o);var i=this.getElm("info");l.i.detach(i);var r=this.getElm("image");(0,a.css)(r,{backgroundImage:null}),o&&(this.setMod("is-file",!1===o.isImage).setMod("type",null!==(t=o.type)&&void 0!==t?t:"file"),c.u.prototype.setElementValue.call(this,"name",o.file),c.u.prototype.setElementValue.call(this,"time",o.time),c.u.prototype.setElementValue.call(this,"filesize",o.size),this.setMod("loading",!0),null===(e=this.lastLoadPromise)||void 0===e||e.rejectCallback(),this.lastLoadPromise=(0,a.loadImage)(o.isImage?o.fileURL:o.imageURL,this.j),this.lastLoadPromise.then((function(t){var e=n.getElm("image");t&&(0,a.css)(e,{backgroundImage:"url(".concat(t.src,")")})})).finally((function(){n.setMod("loading",!1)})).catch((function(){})))}},(0,o.gn)([(0,r.hook)("ready"),(0,r.watch)(":resize",{context:window}),(0,r.debounce)()],e.prototype,"addResize",null),(0,o.gn)([(0,r.watch)("state.metaInfo")],e.prototype,"onChangeMetaInfo",null),(0,o.gn)([r.component],e)}(i.qe)},22840:function(t,e,n){"use strict";n.d(e,{u:function(){return s}});var o=n(97582),i=n(75004),r=n(50526),s=function(t){function e(e,n){var o=t.call(this,e)||this;return o.state=n,o.onProgress(),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIProgress"},e.prototype.onProgress=function(){this.state.progress?this.show():this.hide(),this.progress(this.state.progress)},e.prototype.hide=function(){return this.setMod("hidden",!0),this},e.prototype.progress=function(t){var e=this;return this.container.style.width=t.toFixed(2)+"%",98>t||this.j.async.setTimeout((function(){e.hide()}),{label:"progress",timeout:300}),this},e.prototype.show=function(){return this.setMod("hidden",!1),this},(0,o.gn)([(0,r.watch)("state.progress")],e.prototype,"onProgress",null),(0,o.gn)([r.component],e)}(i.ko)},62983:function(t,e,n){"use strict";n.d(e,{r:function(){return s}});var o=n(97582),i=n(75004),r=n(50526),s=(n(95582),function(t){function e(e,n){var o=t.call(this,e)||this;o.state=n;var i=o.getElm("close");return e.e.on(i,"click",(function(){o.state.showSettings=!1})),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserSettings"},e.prototype.render=function(){return'<div>\n\t\t\t<div class="'.concat(this.getFullElName("close"),'">').concat(i.JO.get("cancel"),'</div>\n\t\t\t<div class="').concat(this.getFullElName("title"),'">').concat(this.j.i18n("Settings"),'</div>\n\t\t\t<div class="').concat(this.getFullElName("options"),'"></div>\n\t\t</div>')},e.prototype.appendChildToContainer=function(t){this.getElm("options").appendChild(t)},e.prototype.afterSetMod=function(e,n){"hidden"===e&&!1===n&&this.generateSettings(),t.prototype.afterSetMod.call(this,e,n)},e.prototype.onChangeView=function(){var t=this.getElm("tile-size");t&&(t.style.display="tiles"===this.state.view?"block":"none")},e.prototype.generateSettings=function(){var t=this;this.clear();var e=this.j;this.append([new i.BO(e,{label:"Theme",name:"theme",value:this.state.theme,radio:!0,options:[{value:"default",text:"Light"},{value:"dark",text:"Dark"}],onChange:function(e){t.state.theme="default"===t.state.theme||"dark"===t.state.theme?e[0].value:"default"}}),new i.BO(e,{label:"Show favorites",name:"showFavorites",value:this.state.showFavorites,radio:!0,options:[{value:!0,text:"Show"},{value:!1,text:"Hide"}],onChange:function(e){t.state.showFavorites=e[0].value}}),new i.BO(e,{label:"View",name:"view",value:this.state.view,radio:!0,options:[{value:"tiles",text:"Tiles"},{value:"list",text:"List"},{value:"compact",text:"Compact"}],onChange:function(e){t.state.view=e[0].value}}),new i.BO(e,{label:"Folders position",name:"foldersPosition",value:this.state.foldersPosition,radio:!0,options:[{value:"top",text:"Top"},{value:"bottom",text:"Bottom"},{value:"default",text:"Default"}],onChange:function(e){t.state.foldersPosition=e[0].value}}),new i.Cj(e,{label:"Sort by",name:"sort-by",value:this.state.sortBy,options:[{value:"changed-asc",text:e.i18n("Sort by changed")+"(⬆)"},{value:"changed-desc",text:e.i18n("Sort by changed")+"(⬇)"},{value:"name-asc",text:e.i18n("Sort by name")+"(⬆)"},{value:"name-desc",text:e.i18n("Sort by name")+"(⬇)"},{value:"size-asc",text:e.i18n("Sort by size")+"(⬆)"},{value:"size-desc",text:e.i18n("Sort by size")+"(⬇)"}],onChange:function(e){t.state.sortBy=e}}),new i.Cj(e,{label:"Tile size",name:"tile-size",value:this.state.tileSize,options:[{value:"xsmall",text:"Extra small"},{value:"small",text:"Small"},{value:"default",text:"Default"},{value:"large",text:"Large"},{value:"xlarge",text:"Extra large"}],onChange:function(e){t.state.tileSize=e}})]),this.onChangeView()},(0,o.gn)([(0,r.watch)("state.view")],e.prototype,"onChangeView",null),(0,o.gn)([r.component],e)}(i.qe))},68787:function(t,e,n){"use strict";n.d(e,{o:function(){return a}});var o=n(97582),i=n(75004),r=n(50526),s=n(62499),a=(n(95582),function(t){function e(e,n,o){var i=t.call(this,e,n)||this;return i.state=o,i.onChangeFavorites(),i}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UISidebar"},e.prototype.render=function(){return"<div>\n\t\t\t<div class='&__hide-btn'>*angle-left*</div>\n\t\t\t<div class='&__favorites'>*heart* ~Favorites~</div>\n\t\t\t<div class='&__box'></div>\n\t\t</div>"},e.prototype.appendChildToContainer=function(t){this.getElm("box").appendChild(t)},e.prototype.addResize=function(){s.c.remove(this),s.c.install(this,screen.width>450?"right":"bottom")},e.prototype.onChangeFavorites=function(){this.setMod("has-favorites",Boolean(this.state.favorites.length))},e.prototype.onClickHideButton=function(){return this.state.showSideBar=!this.state.showSideBar,!1},e.prototype.onClickFavorites=function(){return this.state.elements=this.state.favorites,!1},(0,o.gn)([(0,r.hook)("ready"),(0,r.watch)(":resize",{context:window}),(0,r.debounce)()],e.prototype,"addResize",null),(0,o.gn)([(0,r.watch)("state.favorites")],e.prototype,"onChangeFavorites",null),(0,o.gn)([(0,r.watch)("hide-btn:click")],e.prototype,"onClickHideButton",null),(0,o.gn)([(0,r.watch)("favorites:click")],e.prototype,"onClickFavorites",null),(0,o.gn)([r.component],e)}(i.qe))},21596:function(t,e,n){"use strict";n.d(e,{f:function(){return a}});var o=n(97582),i=n(75004),r=n(50526),s=n(91919),a=(n(95582),function(t){function e(e,n){var o=t.call(this,e,n)||this;return o.data=n,o.tree=new s.v(o.j,o.data.children),o.syncMod=!0,o.getElm("name").innerText=n.title||n.name,o.getElm("tree").appendChild(o.tree.container),e.e.on(o.container,"contextmenu",(function(t){return e.e.fire("contextmenuSource.filebrowser",n,t)})),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserSource"},e.prototype.render=function(){return'<div>\n\t\t\t<div class="&__name"></div>\n\t\t\t<div class="&__tree"></div>\n\t\t</div>'},(0,o.gn)([r.component],e)}(i.u1))},93582:function(t,e,n){"use strict";n.d(e,{L:function(){return a}});var o=n(97582),i=n(75004),r=n(50526),s=n(21596),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.syncMod=!0,e}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserSources"},e.prototype.build=function(t){var e=this;this.clear(),t.forEach((function(t){e.append(new s.f(e.jodit,t))}))},(0,o.gn)([r.component],e)}(i.qe)},67775:function(t,e,n){"use strict";n.d(e,{s:function(){return s}});var o=n(97582),i=n(75004),r=n(50526),s=(n(95582),function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserStatusBar"},e.prototype.render=function(){return"<div>\n\t\t\t<div class='&__slot-left'></div>\n\t\t\t<div class='&__slot-center'></div>\n\t\t\t<div class='&__slot-right'></div>\n\t\t</div>"},e.prototype.value=function(t,e){return void 0===e&&(e="left"),this.getElm("slot-".concat(e)).innerText=t,this},(0,o.gn)([r.component],e)}(i.u1))},91919:function(t,e,n){"use strict";n.d(e,{v:function(){return a}});var o=n(97582),i=n(75004),r=n(50526),s=n(9890),a=function(t){function e(e,n){var o=t.call(this,e)||this;return o.syncMod=!0,o.build(n),o}var n;return(0,o.ZT)(e,t),n=e,e.prototype.className=function(){return"UITree"},e.prototype.build=function(t){var e=this;this.clear(),t.forEach((function(t){var o=new s.D(e.jodit,t);e.append(o),t.isActive&&o.setMod("active",!0),t.children.length&&e.append(new n(e.jodit,t.children))}))},n=(0,o.gn)([r.component],e)}(i.qe)},72618:function(t,e,n){"use strict";n.d(e,{d:function(){return u}});var o=n(97582),i=n(75004),r=n(50526),s=n(87695),a=n(45545),l=n(81766),c=n(95582),u=function(t){function e(e,n){var o=t.call(this,e)||this;return o.stateManager=n,o.syncMod=!0,o.addItemsSelector(),o}var n;return(0,o.ZT)(e,t),n=e,e.prototype.className=function(){return"UIVirtualScroll"},e.prototype.render=function(){return"<div>\n\t\t\t\t<div class=\"&__empty-message\">~There are no files~</div>\n\t\t\t\t<div class='&__loader'></div>\n\t\t\t\t<div class='&__drag-area'>~Drop image~</div>\n\t\t\t</div>"},e.prototype.reconcile=function(t){var e=this.elements.findIndex((function(e,n){return!t[n]||e.item.uniqueHashKey!==a.Z.create(t[n]).uniqueHashKey}));if(e>-1){for(var n=e;this.elements.length>n;n+=1)this.elements[n].destruct();this.elements.length=e}return e},e.prototype.build=function(t){var e=this,n=this.reconcile(t);t.slice(n>-1?n:this.elements.length).forEach((function(t){var n=new s.u(e.jodit,t);Object.keys(e.mods).forEach((function(t){n.setMod(t,e.mods[t])})),e.append(n)})),this.setMod("empty",!this.elements.length)},e.prototype.onScrollLoadChunk=function(){!this.stateManager.isFavoriteItems&&this.j.o.pixelOffsetLoadNewChunk>this.container.scrollHeight-(this.container.scrollTop+this.container.offsetHeight)&&this.j.loadingManager.loadItemsChunk()},e.prototype.onDragOver=function(t){t.preventDefault(),this.setMod("dragover",!0)},e.prototype.onDragLeave=function(t){t.preventDefault(),this.setMod("dragover",!1)},e.prototype.addItemsSelector=function(){l.r.install(this)},e.intersectRect=function(t,e){return!(e.left>t.left+t.width||t.left>e.left+e.width||e.top>t.top+t.height||t.top>e.top+e.height)},e.prototype.onSelectItems=function(t){var e=[];this.elements.forEach((function(o){var i=(0,c.position)(o.container);n.intersectRect(i,t)&&e.push(o.item)})),this.stateManager.state.activeElements=e},(0,o.gn)([(0,r.watch)(":afterResize"),(0,r.watch)(":resize"),(0,r.watch)("container:scroll"),(0,r.throttle)()],e.prototype,"onScrollLoadChunk",null),(0,o.gn)([(0,r.watch)("container:dragover")],e.prototype,"onDragOver",null),(0,o.gn)([(0,r.watch)(["container:dragleave","container:drop"])],e.prototype,"onDragLeave",null),n=(0,o.gn)([r.component],e)}(i.qe)},62499:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var o=n(18002),i=n(44913),r=function(){function t(){}return t.remove=function(t){(0,o.i)(t.container,{width:null,height:null}),t.container.classList.remove("jodit-ui-resize"),i.i.safeRemove(t.container.querySelector(".jodit-ui-resize__handle"))},t.install=function(t,e){t.container.classList.add("jodit-ui-resize"),"static"===(0,o.i)(t.container,"position")&&(0,o.i)(t.container,"position","relative");var n=t.j.c.div("jodit-ui-resize__handle");n.classList.add("jodit-ui-resize__handle_type_"+e),t.container.appendChild(n),t.j.e.on(n,"mousedown touchstart",this.onStartResize.bind(this,t,e))},t.onStartResize=function(t,e,n){var o=t.j.async.throttle(this.onResize.bind(this,t,{x:n.clientX,y:n.clientY,w:t.container.offsetWidth,h:t.container.offsetHeight,direction:e}),t.j.defaultTimeout/10);t.j.lock(),t.j.e.on(t.j.ow,"mousemove touchmove",o).one(t.j.ow,"mouseup touchend",this.onEndResize.bind(this,t,o))},t.onResize=function(t,e,n){var i=["left","right"].includes(e.direction),r=t.container.parentElement;r&&(0,o.i)(t.container,i?"width":"height",100*(i?(e.w+(n.clientX-e.x)*("right"===e.direction?1:-1))/r.offsetWidth:(e.h+(n.clientY-e.y)*("top"===e.direction?1:-1))/r.offsetHeight)+"%")},t.onEndResize=function(t,e,n){t.j.e.off(t.j.ow,"mousemove touchmove",e),t.j.unlock()},t}()},81766:function(t,e,n){"use strict";n.d(e,{r:function(){return r}});var o=n(44913),i=n(18002),r=function(){function t(){}return t.remove=function(t){o.i.safeRemove(t.container.querySelector(".jodit-ui-select-items")),t.j.e.off(t.container,"mousedown.uiselectitems touchstart.uiselectitems")},t.install=function(t){var e=t.j.c.div("jodit-ui-select-items");t.j.e.on(t.container,"mousedown.uiselectitems touchstart.uiselectitems",this.onStartSelect.bind(this,t,e))},t.onStartSelect=function(t,e,n){if(n.target===t.container){(0,i.i)(e,{width:0,height:0}),t.container.appendChild(e);var o={x:n.clientX,y:n.clientY,w:t.container.offsetWidth,h:t.container.offsetHeight},r=t.j.async.throttle(this.onSelect.bind(this,t,e,o),t.j.defaultTimeout/10);t.j.lock(),t.j.e.on(t.j.ow,"mousemove touchmove",r).one(t.j.ow,"mouseup touchend",this.onEndSelect.bind(this,t,e,r)),t.onSelectItems({left:o.x,top:o.y,width:0,height:0})}},t.onSelect=function(t,e,n,o){var r={left:n.x>o.clientX?o.clientX:n.x,top:n.y>o.clientY?o.clientY:n.y,width:Math.abs(n.x-o.clientX),height:Math.abs(n.y-o.clientY)};(0,i.i)(e,r),t.onSelectItems(r)},t.onEndSelect=function(t,e,n,i){o.i.safeRemove(e),t.j.e.off(t.j.ow,"mousemove touchmove",n),t.j.unlock()},t}()}},function(t){return t(t.s=48531)}])}));
|
|
10
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var o in n)("object"==typeof exports?exports:t)[o]=n[o]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[524],{82942:function(t){t.exports='<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"> <path d="M365.4,59.628c60.56,0,109.6,49.03,109.6,109.47c0,109.47-109.6,171.8-219.06,281.271 C146.47,340.898,37,278.568,37,169.099c0-60.44,49.04-109.47,109.47-109.47c54.73,0,82.1,27.37,109.47,82.1 C283.3,86.999,310.67,59.628,365.4,59.628z"/> </svg>'},19327:function(t){t.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M28.7,16.3l-12-13c-0.4-0.4-1.1-0.4-1.5,0l-12,13C3,16.6,2.9,17,3.1,17.4C3.2,17.8,3.6,18,4,18h3v10c0,0.6,0.4,1,1,1h16 c0.6,0,1-0.4,1-1V18h3c0.4,0,0.8-0.2,0.9-0.6C29.1,17,29,16.6,28.7,16.3z"/> </svg>'},59239:function(t){t.exports='<svg viewBox="0 0 252 252" xmlns="http://www.w3.org/2000/svg"> <path d="M0 16C0 7.16344 7.16344 0 16 0H85.6364C86.5205 0 87.3797 0.29288 88.0796 0.832871L120.92 26.1671C121.62 26.7071 122.48 27 123.364 27H227C235.837 27 243 34.1634 243 43V132.335C243 134.779 240.234 136.198 238.25 134.772L233 131L226.5 127L220 124L212.5 122L202.5 120L189 120.5L179.5 122.5L170.5 125.5L161.5 130.5L157 133.5L153 137L146.5 144L141 152L137 160L134 168L132.5 178L132 183.5V189.5L133 197.5L135 205.5L137.5 211.5L139.524 214.996C141.068 217.663 139.144 221 136.062 221H16C7.16344 221 0 213.837 0 205V16Z"/> <circle cx="197" cy="185" r="56"/> <path d="M188.364 215.955V151.591H204.636V215.955H188.364ZM164.318 191.909V175.636H228.682V191.909H164.318Z" fill="white"/> </svg>'},46567:function(t,e,n){"use strict";n.d(e,{lf:function(){return o.l}}),n(71917),n(90043);var o=n(87759)},68813:function(t,e,n){"use strict";n.d(e,{X:function(){return x}});var o=n(97582),i=(n(68349),n(95582)),r=n(8079),s=n(2932),a=n(50526),l=n(11612),c=n(92803),u=n(3028),h=n(46567),p=n(77628),d=n(53852),f=n(19564),m=n(96123),v=n(83568),g=n(65669),y=n(22840),w=n(93469),b=n(9581),C=n(63052),S=n(70467),I=n(41424),P=n(48086),x=function(t){function e(e){var n=t.call(this,(0,i.ConfigProto)(Object.assign(e||{},{resizable:!0,draggable:!0,toolbarButtons:(null==e?void 0:e.toolbarButtons)||p.D.defaultOptions.filebrowser.buttons,buttons:d.y.atom(["filebrowser.settings","fullsize","dialog.close"])}),p.D.defaultOptions.filebrowser))||this;return n.dataProvider=(0,u.S)(n,n.options),n.state=(0,r.observable)({onSelectCallBack:null,theme:"default",showSideBar:!0,showFavorites:!0,showSettings:!1,showPreview:!1,withFolders:!0,foldersPosition:"bottom",info:"",metaInfo:null,currentPath:"",currentSource:"",currentBaseUrl:"",tree:[],activeElements:[],favorites:[],progress:0,lastSelectedIndex:0,elements:[],messages:[],sources:[],view:"tiles",tileSize:"default",sortBy:"name-asc",filterWord:"",onlyImages:!1}),n.persistent=new w.h(n,n.state),n.loadingManager=new P.l(n,n.state),n.stateManager=new v.O(n.state),n.historyManager=new b.E(n,n.state),n.contextMenuManager=new C.z(n),n.header=new g.C(n,n.options,n.stateManager),n.panel=new m.G(n,n.stateManager),n.files=n.panel,n.tree=n.panel,f.V.make(n),!n.persistent.theme&&n.options.theme&&(n.persistent.theme=n.options.theme),n.panel.append(n.progressbar),n.toolbar.setMod("mode","header"),n.setSize(Math.min(n.options.width,screen.width),Math.min(n.options.height,screen.height)).setHeader(n.header),n.onResizeWindow(),n.initUploader(),n.onChangeTheme(),n.fullFillOptions(),n.dataProvider.onProgress((function(t){0===t&&(t=30),n.state.progress=t})),n.e.on("beforeClose",n.removeGlobalListeners),n.e.fire("afterInit"),d.y.prototype.afterInitHook.call(n),n}return(0,o.ZT)(e,t),e.prototype.className=function(){return"FileBrowserPro"},e.prototype.lock=function(e){return void 0===e&&(e="any"),this.container.classList.add("jodit_disabled"),t.prototype.lock.call(this,e)},e.prototype.unlock=function(){return this.container.classList.remove("jodit_disabled"),t.prototype.unlock.call(this)},e.prototype.status=function(t,e){void 0===e&&(e=!(t instanceof Error)),(0,i.isAbort)(t)||(!l.IS_PROD&&(0,i.isString)(t),this.message.message((0,i.isString)(t)?t:t.message,e?"success":"error",this.options.howLongShowMsg))},Object.defineProperty(e.prototype,"progressbar",{get:function(){return new y.u(this,this.stateManager.state)},enumerable:!1,configurable:!0}),e.prototype.addDisclaimer=function(t){this.dialog.appendChild(t)},e.prototype.open=function(e,n){return void 0===e&&(e=this.o.defaultCallback),(0,o.mG)(this,void 0,Promise,(function(){return(0,o.Jh)(this,(function(o){return this.state.onlyImages=Boolean(n),this.prepareOpening(e),t.prototype.open.call(this,this.panel.container),[2,this.e.fire("update.filebrowser")]}))}))},e.prototype.onResizeWindow=function(){(0,i.css)(this.dialog,{maxWidth:screen.width,minHeight:Math.min(this.options.height,screen.height),minWidth:Math.min(this.options.width,screen.width)})},e.prototype.onChangePath=function(){var t,e=(t=this.state).currentPath,n=t.currentSource;this.uploader.setPath(e),this.uploader.setSource(n)},e.prototype.onChangeTheme=function(){this.setMod("theme",this.state.theme),this.header.setMod("theme",this.state.theme),this.panel.setMod("theme",this.state.theme),this.options.theme=this.state.theme},e.prototype.onToggleSettings=function(){this.state.showSettings=!this.state.showSettings},e.prototype.prepareOpening=function(t){var e=this;this.registerGlobalListeners(),t&&(this.state.onSelectCallBack=function(n){e.close(),t(n)}),this.persistent.syncWithState()},e.prototype.registerGlobalListeners=function(){this.e.on(this.ow,"keydown",this.onKeyPress)},e.prototype.onKeyPress=function(t){var e=this.od.activeElement;if(this.state.activeElements.length&&e&&r.Dom.isOrContains(this.panel.items.container,e)){var n=this.state.elements;switch(t.key){case l.KEY_ENTER:return this.onChooseItems();case l.KEY_DELETE:return this.onFileRemove();case l.KEY_RIGHT:case l.KEY_LEFT:case l.KEY_DOWN:case l.KEY_UP:var o=t.key===l.KEY_RIGHT||t.key===l.KEY_DOWN,i=this.state.lastSelectedIndex,s=void 0;if([l.KEY_RIGHT,l.KEY_LEFT].includes(t.key))s=o?n[i+1]?i+1:0:n[i-1]?i-1:n.length-1;else{var a=this.panel.countInRow;s=Math.round(((i+1)/a+(o?1:-1))*a-1)}return n[s]&&this.stateManager.addActive(n[s],t.shiftKey),!1}}},e.prototype.removeGlobalListeners=function(){this.e.off(this.ow,"keydown",this.onKeyPress)},e.prototype.onFileRemove=function(){var t=this;this.state.activeElements.length&&this.confirm("Are you sure?","Delete",(function(e){e&&t.__itemsRemove(t.state.activeElements)})).bindDestruct(this)},e.prototype.__itemsRemove=function(t){var e=this;if(!t.length)return Promise.resolve();var n=[];return t.forEach((function(t){var o;n.push("folder"===t.type?e.__folderRemove((0,S.C)(t.path),null!==(o=t.name)&&void 0!==o?o:"",t.sourceName):e.__removeFile(t.file||t.name||"",t.sourceName))})),this.state.activeElements.forEach((function(t){e.stateManager.isFavorite(t)&&e.stateManager.toggleFavorite(t)})),this.state.activeElements=[],Promise.allSettled(n).then((function(){return Promise.allSettled([e.loadingManager.loadItems(),e.loadingManager.loadFolders()])}))},e.prototype.__removeFile=function(t,e){var n=this;return this.dataProvider.fileRemove(this.state.currentPath,t,e).then((function(e){n.status(e||n.i18n('File "%s" was deleted',t),!0)})).catch(this.status)},e.prototype.__folderRemove=function(t,e,n){var o=this;return this.dataProvider.folderRemove(t,e,n).then((function(i){o.status(i||o.i18n('Folder "%s" was deleted',e),!0),o.state.currentPath===t&&(o.state.currentPath=(0,S.C)(t),o.state.currentSource=n)})).catch(this.status)},e.prototype.onFileEdit=function(){if(1===this.state.activeElements.length){var t=(0,o.CR)(this.state.activeElements,1)[0];c.r.call(this,t.fileURL,t.file||"",t.path,t.sourceName,void 0,this.status)}},e.prototype.onFolderRename=function(t){var e=this;this.prompt("Enter new name","Rename",(function(n){if(!(0,i.isValidName)(n)||n===t.name)return e.status(e.i18n("Enter new name")),!1;e.dataProvider.folderRename((0,S.C)(t.path),t.name,n,t.sourceName).then((function(o){e.state.activeElements=[],e.status(o,!0),e.state.currentPath=(0,S.C)(t.path)+"/"+n,e.state.currentSource=t.sourceName,e.historyManager.updateCurrent(),e.loadingManager.loadFolders()})).catch(e.status)}),this.i18n("type name"),t.name).bindDestruct(this)},e.prototype.onFolderRemove=function(t){var e=this;this.confirm("Are you sure?","Delete",(function(n){n&&e.__itemsRemove([{type:"folder",name:t.name,path:t.path,sourceName:t.sourceName}])})).bindDestruct(this)},e.prototype.onFolderCreate=function(t){var e=this;this.prompt("Enter Directory name","Create directory",(function(n){var o=t.path||"/";e.dataProvider.createFolder(n,t.path||"/",t.sourceName).then((function(){e.state.currentSource===t.sourceName&&e.state.currentPath===o?e.e.fire("update.filebrowser"):(e.state.currentSource=t.sourceName,e.state.currentPath=o),e.historyManager.updateCurrent()}),e.status)}),this.i18n("type name")).bindDestruct(this)},e.prototype.onFileRename=function(t){var e=this,n=t.file||t.name||"";1===this.state.activeElements.length&&n&&this.prompt("Enter new name","Rename",(function(t){if(!(0,i.isValidName)(t))return e.status(e.i18n("Enter new name")),!1;e.dataProvider.fileRename(e.state.currentPath,n,t,e.state.currentSource).then((function(t){e.state.activeElements=[],e.status(t,!0),e.loadingManager.loadItems()})).catch(e.status)}),this.i18n("type name"),n).bindDestruct(this)},e.prototype.onChooseItems=function(){var t=this.stateManager.state.activeElements;if(t.length){if("folder"===t[0].type)return this.state.currentPath=this.state.currentPath+"/"+t[0].name,this.state.currentSource=t[0].sourceName,void this.e.fire("afterOpenFolder.filebrowser");this.state.onSelectCallBack?this.stateManager.callSelectHandler():this.onOpenLightBox(t[0])}},e.prototype.onOpenLightBox=function(t){I.m.open(this,t,this.state.elements)},e.prototype.initUploader=function(){var t=this,e=this,n=(0,i.ConfigProto)(e.o.uploader||{},p.D.defaultOptions.uploader),o=function(){return t.loadingManager.loadItems()};e.uploader=e.getInstance("Uploader",n),e.uploader.bind(e.panel.container,o,e.status),e.e.on("bindUploader.filebrowser",(function(t){e.uploader.bind(t,o,e.status)}))},e.prototype.destruct=function(){this.removeGlobalListeners(),this.header.destruct(),this.panel.destruct(),t.prototype.destruct.call(this)},e.prototype.fullFillOptions=function(){var t=this;["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach((function(e){null!=t.options[e]&&(t.options[e]=(0,i.ConfigProto)(t.options[e],t.o.ajax))}))},(0,o.gn)([a.autobind],e.prototype,"status",null),(0,o.gn)([a.cache],e.prototype,"progressbar",null),(0,o.gn)([(0,a.watch)(":resize",{context:window})],e.prototype,"onResizeWindow",null),(0,o.gn)([(0,a.watch)(["state.currentPath","state.currentSource"])],e.prototype,"onChangePath",null),(0,o.gn)([(0,a.watch)("state.theme")],e.prototype,"onChangeTheme",null),(0,o.gn)([(0,a.watch)(":toggleSettings.filebrowser")],e.prototype,"onToggleSettings",null),(0,o.gn)([a.autobind],e.prototype,"onKeyPress",null),(0,o.gn)([a.autobind],e.prototype,"removeGlobalListeners",null),(0,o.gn)([(0,a.watch)(":fileRemove.filebrowser")],e.prototype,"onFileRemove",null),(0,o.gn)([(0,a.watch)(":edit.filebrowser")],e.prototype,"onFileEdit",null),(0,o.gn)([(0,a.watch)(":folderRename.filebrowser")],e.prototype,"onFolderRename",null),(0,o.gn)([(0,a.watch)(":folderRemove.filebrowser")],e.prototype,"onFolderRemove",null),(0,o.gn)([(0,a.watch)(":folderCreate.filebrowser")],e.prototype,"onFolderCreate",null),(0,o.gn)([(0,a.watch)(":fileRename.filebrowser")],e.prototype,"onFileRename",null),(0,o.gn)([(0,a.watch)(":select.filebrowser")],e.prototype,"onChooseItems",null),(0,o.gn)([(0,a.watch)(":openLightBox.filebrowser")],e.prototype,"onOpenLightBox",null),(0,o.gn)([a.component,(0,a.derive)(h.lf)],e)}(s.Vq);Object.defineProperty(d.y.modules,"FileBrowserPro",{value:x,writable:!1,enumerable:!0,configurable:!0})},99993:function(t,e,n){"use strict";var o=n(77628);(0,n(81160).xl)(n(57591));var i=o.D.prototype.controls.filebrowser;i.settings={icon:"settings",tooltip:"Settings",exec:function(t){var e;(null!==(e=t.parent)&&void 0!==e?e:t).e.fire("toggleSettings.filebrowser")}},i.home={icon:"home",tooltip:"Home",exec:function(t){t.e.fire("goHome.filebrowser")}},i.preview={icon:"eye",tooltip:"Preview",isDisabled:function(t){return 0===t.state.activeElements.length},exec:function(t){t.e.fire("togglePreview.filebrowser")}},i.next={icon:"angle-right",tooltip:"History next",isDisabled:function(t){return!t.historyManager.canNext()},exec:function(t){t.historyManager.next()}},i.previous={icon:"angle-left",tooltip:"History previous",isDisabled:function(t){return!t.historyManager.canPrevious()},exec:function(t){t.historyManager.previous()}},i["new-folder"]={icon:"new-folder",exec:function(t){t.e.fire("folderCreate.filebrowser",{path:t.state.currentPath,sourceName:t.state.currentSource})},tooltip:"New folder"},Object.assign(o.D.prototype.filebrowser,{buttons:["filebrowser.home","filebrowser.previous","filebrowser.next","|","filebrowser.upload","filebrowser.new-folder","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.preview","about"],sort:!1,pixelOffsetLoadNewChunk:300,width:800,height:400,previewOfficeURL:"https://view.officeapps.live.com/op/view.aspx?src="})},48531:function(t,e,n){"use strict";n.r(e),n.d(e,{finder:function(){return a}});var o=n(97582),i=n(7324),r=n(68813),s=n(53852),a=(n(99993),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasStyle=!s.y.fatMode,e}return(0,o.ZT)(e,t),e.prototype.afterInit=function(t){var e=this;t.e.on("getInstanceFileBrowser",(function(t){return e.__instance||(e.__instance=new r.X(t)),e.__instance}))},e.prototype.beforeDestruct=function(t){var e;t.e.off("getInstanceFileBrowser"),null===(e=this.__instance)||void 0===e||e.destruct()},e.requires=["license"],e}(i.S));s.y.plugins.add("finder",a)},63052:function(t,e,n){"use strict";n.d(e,{z:function(){return a}});var o=n(97582),i=n(3028),r=n(28702),s=n(50526),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,o.ZT)(e,t),e.prototype.className=function(){return"ContextMenuManager"},e.prototype.onFolderContext=function(t,e){return this.buildContextItemMenu(this.getFolderContextActions(t),e),!1},e.prototype.onItemContext=function(t,e,n){return this.buildContextItemMenu(this.getItemContextActions(t),n),!1},e.prototype.onSourceContext=function(t,e){return this.buildContextItemMenu(this.getSourceContextActions(t),e),!1},e.prototype.buildContextItemMenu=function(t,e){if(this.j.o.contextMenu){var n=(0,i.L)(this.j).setMod("theme",this.j.state.theme);n.show(e.clientX,e.clientY,t.filter((function(t){return t&&!1!==t.enabled}))),this.j.e.on(this.j,"afterClose",(function(){n.isOpened&&n.close()}))}},e.prototype.getItemContextActions=function(t){var e=this;if(this.j.stateManager.isActive(t)||this.j.stateManager.addActive(t,this.j.state.activeElements.length>1),"folder"===t.type)return this.getFolderContextActions({type:"directory",children:[],name:t.name||"",path:t.path,sourceName:t.sourceName});var n=this.j.options,o=this.j.dataProvider,i=1===this.j.state.activeElements.length;return[{icon:"pencil",title:"Edit",enabled:Boolean(t.isImage)&&n.editImage&&i&&(o.canI("ImageResize")||o.canI("ImageCrop")),exec:function(){e.j.e.fire("edit.filebrowser")}},{icon:"italic",title:"Rename",enabled:o.canI("FileRename")&&i,exec:function(){return e.j.e.fire("fileRename.filebrowser",t)}},{icon:"bin",title:"Delete",enabled:o.canI("FileRemove"),exec:function(){return e.j.e.fire("fileRemove.filebrowser",t)}},{icon:"eye",title:"Preview",enabled:Boolean(t.isImage||"file"===t.type)&&n.preview&&i,exec:function(){return e.j.e.fire("openLightBox.filebrowser",t)}},{icon:"upload",title:"Download",exec:function(){t.fileURL&&e.j.ow.open(t.fileURL)}}]},e.prototype.getFolderContextActions=function(t){var e=this,n=this.j.dataProvider;return[{icon:"pencil",title:"Rename",exec:function(){e.j.e.fire("folderRename.filebrowser",t)},enabled:n.canI("FolderRename")},{icon:"bin",title:"Delete",exec:function(){e.j.e.fire("folderRemove.filebrowser",t)},enabled:n.canI("FolderRemove")},{icon:"plus",title:"Add folder",exec:function(){e.j.e.fire("folderCreate.filebrowser",t)},enabled:n.canI("FolderCreate")}]},e.prototype.getSourceContextActions=function(t){var e=this;return[{icon:"plus",title:"Create folder",exec:function(){e.j.e.fire("folderCreate.filebrowser",t)}}]},(0,o.gn)([(0,s.watch)(":contextmenuFolder.filebrowser")],e.prototype,"onFolderContext",null),(0,o.gn)([(0,s.watch)(":contextmenuItem.filebrowser")],e.prototype,"onItemContext",null),(0,o.gn)([(0,s.watch)(":contextmenuSource.filebrowser")],e.prototype,"onSourceContext",null),(0,o.gn)([s.component],e)}(r.H)},70467:function(t,e,n){"use strict";n.d(e,{C:function(){return o}});var o=function(t){var e=t.split("/").filter((function(t){return t.length}));return e.pop(),e.join("/")||"/"}},9581:function(t,e,n){"use strict";n.d(e,{E:function(){return a}});var o=n(97582),i=n(16479),r=n(28702),s=n(50526),a=function(t){function e(e,n){var o=t.call(this,e)||this;return o.state=n,o.history=[],o.historyIndex=0,o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"HistoryManager"},e.prototype.canNext=function(){return this.history.length-1>this.historyIndex},e.prototype.canPrevious=function(){return this.historyIndex>0},e.prototype.push=function(t){var e=this.historyIndex,n=this.history[e];if(!n||n.currentSource!==t.currentSource||n.currentPath!==t.currentPath){var i=(0,o.ev)([],(0,o.CR)(this.history),!1);i.length-1!==e&&(i=i.slice(0,e+1)),i.push(t),n&&(e+=1),this.history=i,this.historyIndex=e}},e.prototype.next=function(){this.canNext()&&(this.historyIndex+=1,this.updateState())},e.prototype.previous=function(){this.canPrevious()&&(this.historyIndex-=1,this.updateState())},e.prototype.updateCurrent=function(){this.history[this.historyIndex]={currentSource:this.state.currentSource,currentPath:this.state.currentPath,tree:(0,i.V8)(this.state.tree),elements:(0,o.ev)([],(0,o.CR)(this.state.elements),!1)}},e.prototype.onHome=function(){this.state.currentPath="",this.state.currentSource="",this.j.e.fire("afterOpenFolder.filebrowser update.filebrowser")},e.prototype.onOpenFolder=function(){this.push({tree:[],elements:[],currentPath:this.state.currentPath,currentSource:this.state.currentSource}),this.j.e.fire("changeSelection")},e.prototype.updateState=function(){var t,e=(t=this.history[this.historyIndex]).tree,n=t.elements,i=t.currentSource,r=t.currentPath;this.state.activeElements=[],this.state.elements=(0,o.ev)([],(0,o.CR)(n),!1),this.state.tree=(0,o.ev)([],(0,o.CR)(e),!1),this.state.currentSource=i,this.state.currentPath=r,this.j.e.fire("changeSelection")},(0,o.gn)([(0,s.watch)(["state.elements","state.tree"])],e.prototype,"updateCurrent",null),(0,o.gn)([(0,s.watch)(":goHome.filebrowser")],e.prototype,"onHome",null),(0,o.gn)([(0,s.watch)(":afterOpenFolder.filebrowser")],e.prototype,"onOpenFolder",null),(0,o.gn)([s.component],e)}(r.H)},48086:function(t,e,n){"use strict";n.d(e,{l:function(){return s}});var o=n(97582),i=n(22562),r=n(50526),s=function(t){function e(e,n){var o=t.call(this,e)||this;return o.state=n,o.__tick=0,o.offset=0,o.countInOneChunk=20,o.stopLoadingParts=!1,o.__isLoadingPart=!1,o.__callQueueCount=0,o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"LoadingManager"},e.prototype.onUpdateFileBrowser=function(){return(0,o.mG)(this,void 0,Promise,(function(){return(0,o.Jh)(this,(function(t){switch(t.label){case 0:return this.state.activeElements=[],this.j.panel.setMod("loading",!0),[4,Promise.all([this.loadFolders(),this.loadItems()])];case 1:return t.sent(),this.j.panel.setMod("loading",!1),[2]}}))}))},e.prototype.loadFolders=function(){return(0,o.mG)(this,void 0,Promise,(function(){var t,e,n,i,r;return(0,o.Jh)(this,(function(o){switch(o.label){case 0:if(!this.j.isOpened)return[2];t=(r=this.state).currentPath,e=r.currentSource,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.j.dataProvider.tree(t,e)];case 2:return n=o.sent(),this.j.stateManager.fillTreeForPath(n,t),this.state.sources=n,[3,4];case 3:return i=o.sent(),this.j.status(i),[3,4];case 4:return[2]}}))}))},e.prototype.loadItems=function(){return(0,o.mG)(this,void 0,Promise,(function(){var t,e,n,i;return(0,o.Jh)(this,(function(o){switch(o.label){case 0:if(!this.j.isOpened)return[2];o.label=1;case 1:return o.trys.push([1,8,,9]),this.__tick+=1,t=this.__tick,this.offset=0,this.stopLoadingParts=!1,this.__callQueueCount=0,[4,a(this.state,this.j.dataProvider,this.offset,this.countInOneChunk)];case 2:return i=o.sent(),e=i.loadedTotal,this.state.elements=i.items,this.stopLoadingParts=this.countInOneChunk>e,[4,this.loadItemsChunk(t)];case 3:return o.sent(),[4,this.async.requestIdlePromise()];case 4:if(o.sent(),this.__tick!==t)return[2];o.label=5;case 5:return this.stopLoadingParts||this.state.elements.length>this.j.panel.countInColumn*this.j.panel.countInRow?[3,7]:[4,this.loadItemsChunk(t)];case 6:return o.sent(),this.__tick!==t?[2]:[3,5];case 7:return[3,9];case 8:return n=o.sent(),this.j.status(n),[3,9];case 9:return[2]}}))}))},e.prototype.__loadItemsChunk=function(t){return(0,o.mG)(this,void 0,Promise,(function(){var e,n,i,r;return(0,o.Jh)(this,(function(o){switch(o.label){case 0:if(this.__isLoadingPart)return this.__callQueueCount+=1,[2];if(this.stopLoadingParts)return this.__callQueueCount=0,[2];this.__isLoadingPart=!0,this.j.panel.items.setMod("chunk-loading",!0),o.label=1;case 1:return o.trys.push([1,3,,4]),this.offset+=this.countInOneChunk,[4,a(this.state,this.j.dataProvider,this.offset,this.countInOneChunk)];case 2:return r=o.sent(),e=r.items,n=r.loadedTotal,this.__tick!==t?[2]:(this.stopLoadingParts=this.countInOneChunk>n,e.length&&(this.state.elements=this.state.elements.concat(e)),[3,4]);case 3:return i=o.sent(),this.j.status(i),[3,4];case 4:return this.j.panel.items.setMod("chunk-loading",!1),this.__isLoadingPart=!1,this.__callQueueCount>0?(this.__callQueueCount-=1,[2,this.__loadItemsChunk(t)]):[2]}}))}))},e.prototype.loadItemsChunk=function(t){return void 0===t&&(t=this.__tick),t!==this.__tick?Promise.resolve():this.__loadItemsChunk(t)},(0,o.gn)([(0,r.watch)(":update.filebrowser")],e.prototype,"onUpdateFileBrowser",null),(0,o.gn)([(0,r.watch)(["state.currentPath","state.currentSource"]),(0,r.debounce)((function(t){return{timeout:t.defaultTimeout,promisify:!0}}))],e.prototype,"loadFolders",null),(0,o.gn)([(0,r.watch)(["state.currentPath","state.currentSource","state.sortBy","state.onlyImages","state.foldersPosition","state.filterWord"]),(0,r.debounce)((function(t){return{timeout:t.defaultTimeout,promisify:!0}}))],e.prototype,"loadItems",null),(0,o.gn)([(0,r.debounce)((function(t){return{timeout:t.defaultTimeout,promisify:!0}}))],e.prototype,"loadItemsChunk",null),(0,o.gn)([r.component],e)}(i.Hr);function a(t,e,n,o){return e.itemsEx(t.currentPath,t.currentSource,{offset:n,limit:o,sortBy:t.sortBy,withFolders:t.withFolders,foldersPosition:t.foldersPosition,onlyImages:t.onlyImages,filterWord:t.filterWord})}},93469:function(t,e,n){"use strict";n.d(e,{h:function(){return a}});var o=n(97582),i=n(22562),r=n(50526),s=n(45545),a=function(t){function e(e,n){var o=t.call(this,e)||this;return o.state=n,o.sortBy="changed-desc",o.view="tiles",o.foldersPosition="top",o.tileSize="default",o.favorites=[],o.showSideBar=!0,o.showPreview=!1,o.showFavorites=!0,o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"PersistentStore"},e.prototype.onChangeThemeSetField=function(){this.theme=this.state.theme},e.prototype.onChangeView=function(){this.view=this.state.view},e.prototype.onChangeSortBy=function(){this.sortBy=this.state.sortBy},e.prototype.onChangeTileSize=function(){this.tileSize=this.state.tileSize},e.prototype.onChangeFavorites=function(){this.favorites=this.state.favorites},e.prototype.onChangeShowSideBar=function(){this.showSideBar=this.state.showSideBar},e.prototype.onChangeShowPreview=function(){this.showPreview=this.state.showPreview},e.prototype.onChangeShowFavorites=function(){this.showFavorites=this.state.showFavorites},e.prototype.onChangeFoldersPosition=function(){this.foldersPosition=this.state.foldersPosition},e.prototype.syncWithState=function(){this.state.tileSize=this.tileSize,this.state.favorites=this.favorites.map((function(t){return t instanceof s.Z?t:s.Z.create(t)})),this.state.view=this.view,this.state.theme=this.theme,this.state.showSideBar=this.showSideBar,this.state.showPreview=this.showPreview,this.state.showFavorites=this.showFavorites,this.state.sortBy=this.sortBy,this.state.foldersPosition=this.foldersPosition},(0,o.gn)([r.persistent],e.prototype,"theme",void 0),(0,o.gn)([r.persistent],e.prototype,"sortBy",void 0),(0,o.gn)([r.persistent],e.prototype,"view",void 0),(0,o.gn)([r.persistent],e.prototype,"foldersPosition",void 0),(0,o.gn)([r.persistent],e.prototype,"tileSize",void 0),(0,o.gn)([r.persistent],e.prototype,"favorites",void 0),(0,o.gn)([r.persistent],e.prototype,"showSideBar",void 0),(0,o.gn)([r.persistent],e.prototype,"showPreview",void 0),(0,o.gn)([r.persistent],e.prototype,"showFavorites",void 0),(0,o.gn)([(0,r.watch)("state.theme")],e.prototype,"onChangeThemeSetField",null),(0,o.gn)([(0,r.watch)("state.view")],e.prototype,"onChangeView",null),(0,o.gn)([(0,r.watch)("state.sortBy")],e.prototype,"onChangeSortBy",null),(0,o.gn)([(0,r.watch)("state.tileSize")],e.prototype,"onChangeTileSize",null),(0,o.gn)([(0,r.watch)("state.favorites")],e.prototype,"onChangeFavorites",null),(0,o.gn)([(0,r.watch)("state.showSideBar")],e.prototype,"onChangeShowSideBar",null),(0,o.gn)([(0,r.watch)("state.showPreview")],e.prototype,"onChangeShowPreview",null),(0,o.gn)([(0,r.watch)("state.showFavorites")],e.prototype,"onChangeShowFavorites",null),(0,o.gn)([(0,r.watch)("state.foldersPosition")],e.prototype,"onChangeFoldersPosition",null),(0,o.gn)([r.component],e)}(i.Hr)},83568:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var o=n(97582),i=n(50526),r=function(){function t(t){this.state=t}return t.prototype.getIndex=function(t,e){return void 0===e&&(e=this.state.elements),e.findIndex((function(e){return e.uniqueHashKey===t.uniqueHashKey}))},t.prototype.isActive=function(t){return Boolean(this.state.activeElements.find((function(e){return e.uniqueHashKey===t.uniqueHashKey})))},t.prototype.isFavorite=function(t){return Boolean(this.state.favorites.find((function(e){return e.uniqueHashKey===t.uniqueHashKey})))},t.prototype.addActive=function(t,e){var n;this.state.metaInfo=t,this.state.info=null!==(n=t.file)&&void 0!==n?n:"",this.state.lastSelectedIndex=this.getIndex(t),this.state.activeElements=e?(0,o.ev)((0,o.ev)([],(0,o.CR)(this.state.activeElements),!1),[t],!1):[t]},t.prototype.callSelectHandler=function(){var t,e=this.state.activeElements;null===(t=this.state.onSelectCallBack)||void 0===t||t.call(this,{baseurl:"",files:e.map((function(t){return t.fileURL})),isImages:e.map((function(t){return Boolean(t.isImage)}))})},t.prototype.setFilter=function(t){this.state.filterWord=t},t.prototype.toggleFavorite=function(t){var e=this.getIndex(t,this.state.favorites),n=(0,o.ev)([],(0,o.CR)(this.state.favorites),!1);-1===e?n.push(t):n.splice(e,1),this.state.favorites=n},t.prototype.fillTreeForPath=function(t,e){var n=this;this.state.tree.length&&e&&"/"!==e?(this.removeActive(this.state.tree),t.forEach((function(t){var o=s(n.state.tree,t.name);o||(o=l(t),n.state.tree.push(o)),o.isActive=!0;var i=function(t,e){return t.split("/").reduce((function(t,e){return t&&s(t.children,e)}),e)}(e,o);i&&(i.isActive=!0,i.children=a(t.folders).map((function(n){return c(n,e+"/"+n,t.name)})))})),this.state.tree=(0,o.ev)([],(0,o.CR)(this.state.tree),!1)):this.state.tree=t.map(l)},t.prototype.removeActive=function(t){var e=this;t.forEach((function(t){t.isActive=!1,e.removeActive(t.children)}))},Object.defineProperty(t.prototype,"isFavoriteItems",{get:function(){return this.state.favorites===this.state.elements},enumerable:!1,configurable:!0}),(0,o.gn)([i.autobind],t.prototype,"getIndex",null),(0,o.gn)([i.autobind],t.prototype,"isActive",null),(0,o.gn)([i.autobind],t.prototype,"isFavorite",null),t}();function s(t,e){var n;return null!==(n=t.find((function(t){return t.name===e})))&&void 0!==n?n:null}function a(t){return t.filter((function(t){return"."!==t&&".."!==t}))}function l(t){return{type:"source",name:t.name,title:t.title,sourceName:t.name,path:"/",children:a(t.folders).map((function(e){return c(e,e,t.name)}))}}function c(t,e,n){return{type:"directory",name:t,path:e,sourceName:n,children:[]}}},57591:function(t,e,n){"use strict";n.r(e),n.d(e,{ru:function(){return o}});var o=n(11937)},11937:function(t){"use strict";t.exports={Favorites:"Избранное",Settings:"Настройки",Light:"Светлая",Dark:"Темная",Theme:"Тема",Show:"Показать",Hide:"Скрыть","Show favorites":"Показывать избранное",Tiles:"Плитка",List:"Список",Compact:"Компактный",View:"Отображение","Folders position":"Позиция папок","Sort by":"Сортировать по","Extra small":"Очень маленькие",Small:"Маленькие",Large:"Большие","Extra large":"Очень большие","Tile size":"Размер плитки"}},68349:function(t,e,n){"use strict";var o=n(75004),i=n(82942),r=n(19327),s=n(59239);o.JO.set("heart",String(i)),o.JO.set("home",String(r)),o.JO.set("new-folder",String(s))},9890:function(t,e,n){"use strict";n.d(e,{D:function(){return s}});var o=n(97582),i=n(75004),r=n(94707),s=(n(52378),function(t){function e(e,n){var o=t.call(this,e)||this;return o.item=n,o.syncMod=!0,o.getElm("name").innerText=n.name,e.e.on(o.container,"click",(function(){return o.getMod("active")||o.setMod("loading",!0),e.e.fire("openFolder",n)})).on(o.container,"contextmenu",(function(t){return e.e.fire("contextmenuFolder.filebrowser",n,t)})),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserFolder"},e.prototype.render=function(){return'<div>\n\t\t\t<div class="&__icon">\n\t\t\t\t<div class=\'&__loader\'></div>\n\t\t\t\t<div class="&__icon-wrapper">\n\t\t\t\t\t*folder*\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="&__name"></div>\n\t\t\t<div class="&__arrow">*angle-right*</div>\n\t\t</div>'},(0,o.gn)([r.w],e)}(i.u1))},65669:function(t,e,n){"use strict";n.d(e,{C:function(){return l}});var o=n(97582),i=n(75004),r=n(50526),s=n(45429),a=n(4682),l=function(t){function e(e,n,o){var r=t.call(this,e)||this;return r.options=n,r.stateManager=o,r.syncMod=!0,r.toolbar=(0,s.R)(r.j),r.filter=new i.u3(r.j,{icon:"search",placeholder:"Filter",clearButton:!0,onChange:function(t){r.stateManager.setFilter(t)}}),r.append(r.toolbar).append(r.filter),r.filter.container.classList.add(r.getFullElName("filter")),r.toolbar.setMod("mode","header").build(r.__getButtons()),r}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserHeader"},e.prototype.__getButtons=function(){var t,e=this;return(null!==(t=this.options.toolbarButtons)&&void 0!==t?t:[]).filter((function(t){if(!(0,a.H)(t))return!0;switch(t){case"filebrowser.edit":return e.j.dataProvider.canI("ImageResize")||e.j.dataProvider.canI("ImageCrop");case"filebrowser.new-folder":return e.j.dataProvider.canI("FolderCreate");case"filebrowser.upload":return e.j.dataProvider.canI("FileUpload");case"filebrowser.remove":return e.j.dataProvider.canI("FileRemove")}return!0}))},(0,o.gn)([r.component],e)}(i.qe)},87695:function(t,e,n){"use strict";n.d(e,{u:function(){return c}});var o=n(97582),i=n(75004),r=n(50526),s=n(45545),a=n(8079),l=n(95582),c=(n(52378),function(t){function e(e,n){var o=t.call(this,e)||this;return o.item=s.Z.create(n),e.e.on(o.container,"click contextmenu dblclick",(function(t){return e.e.fire(t.type+"Item.filebrowser",o.item,(0,l.ctrlKey)(t)||t.shiftKey,t),!1})),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserItem"},e.prototype.render=function(){return"<div tabindex='-1'>\n\t\t\t<div class='&__image'></div>\n\t\t\t<div class='&__info'></div>\n\t\t\t<div class='&__heart'>*heart*</div>\n\t\t</div>"},e.prototype.onClickFavorite=function(){var t=this;return this.bubble((function(e){t.jodit.e.fire(e,"toggleFavoriteItem",t.item)})),!1},e.prototype.onAction=function(t){return this.jodit.e.fire(t.type+"Item.filebrowser",this.item,(0,l.ctrlKey)(t)||t.shiftKey,t),!1},e.prototype.update=function(){var e,n=this.getElm("image");(0,l.css)(n,"backgroundImage","url(".concat(encodeURI(this.item.imageURL),")"));var o=(e=this.item).type,i=e.file,r=e.time,s=e.size;this.setMod("is-file",!1===this.item.isImage).setMod("type",null!=o?o:"file").setElementValue("name",i).setElementValue("time",r).setElementValue("filesize",s),(0,l.attr)(this.container,"title","folder"!==o?"".concat(i," ").concat(r," ").concat(s):i),t.prototype.update.call(this)},e.prototype.setElementValue=function(t,e){var n=this.getFullElName(t),o=this.getElm(t);if(!e)return o&&a.Dom.safeRemove(o),this;if(!o){var i=this.getElm("info");o=this.j.create.div(n),i.appendChild(o)}return o.innerText=e,this},(0,o.gn)([(0,r.watch)("heart:click")],e.prototype,"onClickFavorite",null),(0,o.gn)([(0,r.watch)(["container:click","container:contextmenu","container:dblclick"])],e.prototype,"onAction",null),(0,o.gn)([r.component],e)}(i.u1))},41424:function(t,e,n){"use strict";n.d(e,{m:function(){return l}});var o=n(97582),i=n(8079),r=n(50526),s=n(95582),a=n(11612),l=(n(52378),function(t){function e(e,n,o){var r=t.call(this,e)||this;r.current=n,r.elements=o,r.dialog=new i.Dialog;var s=r.dialog;return s.setMod("theme",e.state.theme).toolbar.setMod("mode","header"),s.open(r),r.elements=r.elements.filter((function(t){return t.isImage})),s.e.on(s,"afterClose",(function(){r.destruct()})),r.addGlobalListeners(),r.onChangeCurrent(),s.toolbar.build([{icon:"check",exec:function(){e.stateManager.addActive(r.current,!1),e.e.fire("select.filebrowser"),s.close()}},"dialog.close"]),r}var n;return(0,o.ZT)(e,t),n=e,e.prototype.className=function(){return"UILightBox"},e.prototype.render=function(){return"<div>\n\t\t\t<div class='&__previous'>*angle-left*</div>\n\t\t\t<div class='&__preview'></div>\n\t\t\t<div class='&__loader'></div>\n\t\t\t<div class='&__next'>*angle-right*</div>\n\t\t</div>"},e.prototype.onChangeCurrent=function(){return(0,o.mG)(this,void 0,Promise,(function(){var t,e,n,r;return(0,o.Jh)(this,(function(o){switch(o.label){case 0:return t=this.current,this.setMod("loading",!0),e=this.getElm("preview"),i.Dom.detach(e),(0,s.css)(e,{backgroundImage:null}),t.isImage?[4,(0,s.loadImage)(t.fileURL,this.j)]:[3,2];case 1:return n=o.sent(),this.dialog.setPosition(),(0,s.css)(e,{width:Math.min(this.jodit.ow.innerWidth,n.naturalWidth),height:Math.min(this.jodit.ow.innerHeight-100,n.naturalHeight),backgroundImage:"url(".concat(n.src,")")}),[3,4];case 2:return[4,this.makeIframe(t.fileURL)];case 3:r=o.sent(),e.appendChild(r),o.label=4;case 4:return this.dialog.setSize(),this.dialog.setPosition(),this.setMod("loading",!1),[2]}}))}))},e.prototype.makeIframe=function(t){var e=this.j.c.element("iframe");return e.classList.add(this.getFullElName("office-iframe")),e.src=/\.pdf/.test(t)?t:this.j.o.previewOfficeURL+encodeURIComponent(t),e},e.prototype.onPreviousClick=function(){var t=this.j.stateManager.getIndex(this.current,this.elements);t>0?t-=1:t=this.elements.length-1,this.current=this.elements[t]},e.prototype.onNextClick=function(){var t=this.j.stateManager.getIndex(this.current,this.elements);this.elements.length-1>t?t+=1:t=0,this.current=this.elements[t]},e.open=function(t,e,o){return new n(t,e,o)},e.prototype.addGlobalListeners=function(){this.j.e.on(this.j.od,"keydown",this.onKeyPress)},e.prototype.onKeyPress=function(t){if(t.key===a.KEY_LEFT||t.key===a.KEY_RIGHT||t.key===a.KEY_SPACE)return t.key===a.KEY_LEFT?this.onPreviousClick():this.onNextClick(),!1},e.prototype.removeGlobalListeners=function(){this.j.e.off(this.j.od,"keydown",this.onKeyPress)},e.prototype.destruct=function(){return this.removeGlobalListeners(),this.dialog.destruct(),t.prototype.destruct.call(this)},(0,o.gn)([(0,r.watch)("current")],e.prototype,"onChangeCurrent",null),(0,o.gn)([(0,r.watch)("previous:click")],e.prototype,"onPreviousClick",null),(0,o.gn)([(0,r.watch)("next:click")],e.prototype,"onNextClick",null),(0,o.gn)([r.autobind],e.prototype,"onKeyPress",null),n=(0,o.gn)([r.component],e)}(i.UIElement))},96123:function(t,e,n){"use strict";n.d(e,{G:function(){return d}});var o=n(97582),i=n(75004),r=n(50526),s=n(95582),a=n(72618),l=n(68787),c=n(62983),u=n(93582),h=n(67775),p=n(96945),d=function(t){function e(e,n){var o=t.call(this,e)||this;return o.stateManager=n,o.syncMod=!0,o.sources=new u.L(o.j),o.sidebar=new l.o(o.jodit,[o.sources],o.stateManager.state),o.preview=new p.o(o.jodit,o.stateManager.state),o.statusbar=new h.s(o.j),o.items=new a.d(o.j,o.stateManager),o.settings=new c.r(o.jodit,o.stateManager.state),o.state=n.state,o.append(o.sidebar,"content"),o.append(o.items,"content"),o.append(o.settings,"content"),o.append(o.preview,"content"),o.append(o.statusbar,"footer"),o.onChangeElements(),o.onChangeSources(),o.onChangeView(),o.onChangeTileSize(),o.onChangeShowFavorites(),o.onChangeActiveElements(),o.onChangeFavorites(),o.onChangeShowSideBar(),o.onChangeShowSettings(),o.onChangeShowPreview(),o.onChangeTheme(),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserPanel"},Object.defineProperty(e.prototype,"countInRow",{get:function(){if("list"===this.state.view)return 1;if(!this.items.elements.length)return 1;var t=this.items.elements[0].container,e=(0,s.css)(t,"marginLeft");return Math.floor(this.items.container.offsetWidth/(t.offsetWidth+((0,s.isNumber)(e)?e:0)))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"countInColumn",{get:function(){if(!this.items.elements.length)return 1;var t=this.items.elements[0].container,e=(0,s.css)(t,"marginTop");return Math.floor(this.items.container.offsetHeight/(t.offsetHeight+((0,s.isNumber)(e)?e:0)))},enumerable:!1,configurable:!0}),e.prototype.render=function(){return"<div>\n\t\t\t<div class='&__content'></div>\n\t\t\t<div class='&__footer'></div>\n\t\t</div>"},e.prototype.onChangeTheme=function(){this.setMod("theme",this.stateManager.state.theme)},e.prototype.onChangeElements=function(){this.items.build(this.stateManager.state.elements)},e.prototype.onChangeActiveElements=function(){var t=this;this.state.activeElements.length||(this.state.info="",this.state.metaInfo=null),this.items.elements.forEach((function(e){e.setMod("active",Boolean(t.stateManager.isActive(e.item)))})),this.j.e.fire("changeSelection")},e.prototype.onChangeFavorites=function(){var t=this;this.items.elements.forEach((function(e){e.setMod("favorite",Boolean(t.stateManager.isFavorite(e.item)))}))},e.prototype.onChangeSources=function(){this.sources.build(this.stateManager.state.tree)},e.prototype.onChangeLastSelectedIndex=function(){var t,e=null===(t=this.items.elements[this.stateManager.state.lastSelectedIndex])||void 0===t?void 0:t.container;e&&((0,s.scrollIntoViewIfNeeded)(e,this.items.container,this.j.od),e.focus())},e.prototype.onChangeInfo=function(){this.statusbar.value(this.state.info,"center")},e.prototype.onChangePathOrSource=function(){this.statusbar.value(this.state.currentPath?"".concat(this.state.currentPath," (").concat(this.state.currentSource,")"):this.i18n("Home"),"left")},e.prototype.onChangeShowSettings=function(){this.settings.setMod("hidden",!this.stateManager.state.showSettings)},e.prototype.onChangeShowPreview=function(){this.preview.setMod("hidden",!this.stateManager.state.showPreview)},e.prototype.onChangeShowSideBar=function(){this.sidebar.setMod("hidden",!this.stateManager.state.showSideBar)},e.prototype.onChangeView=function(){this.items.setMod("view",this.stateManager.state.view)},e.prototype.onChangeTileSize=function(){this.items.setMod("size",this.stateManager.state.tileSize)},e.prototype.onChangeShowFavorites=function(){this.sidebar.setMod("show-favorites",this.stateManager.state.showFavorites),this.items.setMod("show-favorites",this.stateManager.state.showFavorites)},e.prototype.onItemDblClick=function(){return this.j.e.fire("select.filebrowser"),!1},e.prototype.onItemClick=function(t,e){this.stateManager.addActive(t,e)},e.prototype.onTogglePreview=function(){return this.state.showPreview=!this.state.showPreview,!1},e.prototype.onToggleFavoriteItem=function(t){this.stateManager.toggleFavorite(t)},e.prototype.onFolderClick=function(t){this.stateManager.state.currentSource=t.sourceName,this.stateManager.state.currentPath=t.path||"/",this.j.e.fire("afterOpenFolder.filebrowser")},(0,o.gn)([(0,r.watch)("state.theme")],e.prototype,"onChangeTheme",null),(0,o.gn)([(0,r.watch)("state.elements")],e.prototype,"onChangeElements",null),(0,o.gn)([(0,r.watch)("state.activeElements")],e.prototype,"onChangeActiveElements",null),(0,o.gn)([(0,r.watch)(["state.favorites","state.elements"])],e.prototype,"onChangeFavorites",null),(0,o.gn)([(0,r.watch)("state.sources")],e.prototype,"onChangeSources",null),(0,o.gn)([(0,r.watch)("state.lastSelectedIndex")],e.prototype,"onChangeLastSelectedIndex",null),(0,o.gn)([(0,r.watch)("state.info")],e.prototype,"onChangeInfo",null),(0,o.gn)([(0,r.watch)(["state.currentPath","state.currentSource"])],e.prototype,"onChangePathOrSource",null),(0,o.gn)([(0,r.watch)("state.showSettings")],e.prototype,"onChangeShowSettings",null),(0,o.gn)([(0,r.watch)("state.showPreview")],e.prototype,"onChangeShowPreview",null),(0,o.gn)([(0,r.watch)("state.showSideBar")],e.prototype,"onChangeShowSideBar",null),(0,o.gn)([(0,r.watch)("state.view")],e.prototype,"onChangeView",null),(0,o.gn)([(0,r.watch)("state.tileSize")],e.prototype,"onChangeTileSize",null),(0,o.gn)([(0,r.watch)("state.showFavorites")],e.prototype,"onChangeShowFavorites",null),(0,o.gn)([(0,r.watch)(":dblclickItem.filebrowser")],e.prototype,"onItemDblClick",null),(0,o.gn)([(0,r.watch)(":clickItem.filebrowser")],e.prototype,"onItemClick",null),(0,o.gn)([(0,r.watch)(":togglePreview.filebrowser")],e.prototype,"onTogglePreview",null),(0,o.gn)([(0,r.watch)(":toggleFavoriteItem")],e.prototype,"onToggleFavoriteItem",null),(0,o.gn)([(0,r.watch)(":openFolder")],e.prototype,"onFolderClick",null),(0,o.gn)([r.component],e)}(i.qe)},96945:function(t,e,n){"use strict";n.d(e,{o:function(){return u}});var o=n(97582),i=n(91630),r=n(50526),s=n(98478),a=n(44913),l=(n(52378),n(62499)),c=n(87695),u=function(t){function e(e,n){var o=t.call(this,e)||this;return o.state=n,o.lastLoadPromise=null,o.onChangeMetaInfo(),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIPreview"},e.prototype.addResize=function(){l.c.remove(this),l.c.install(this,screen.width>450?"left":"top")},e.prototype.render=function(){return'<div>\n\t\t\t\t<div class="&__image"></div>\n\t\t\t\t<div class="&__info"></div>\n\t\t\t\t<div class="&__loader"></div>\n\t\t\t\t<div class="&__empty-message">~Select image~</div>\n\t\t\t</div>'},e.prototype.afterSetMod=function(e,n){"hidden"===e&&!1===n&&this.onChangeMetaInfo(),t.prototype.afterSetMod.call(this,e,n)},e.prototype.onChangeMetaInfo=function(){var t,e,n=this;if(!this.getMod("hidden")){var o=this.state.metaInfo;this.setMod("empty",!o);var i=this.getElm("info");a.i.detach(i);var r=this.getElm("image");(0,s.css)(r,{backgroundImage:null}),o&&(this.setMod("is-file",!1===o.isImage).setMod("type",null!==(t=o.type)&&void 0!==t?t:"file"),c.u.prototype.setElementValue.call(this,"name",o.file),c.u.prototype.setElementValue.call(this,"time",o.time),c.u.prototype.setElementValue.call(this,"filesize",o.size),this.setMod("loading",!0),null===(e=this.lastLoadPromise)||void 0===e||e.rejectCallback(),this.lastLoadPromise=(0,s.loadImage)(o.isImage?o.fileURL:o.imageURL,this.j),this.lastLoadPromise.then((function(t){var e=n.getElm("image");t&&(0,s.css)(e,{backgroundImage:"url(".concat(t.src,")")})})).finally((function(){n.setMod("loading",!1)})).catch((function(){})))}},(0,o.gn)([(0,r.hook)("ready"),(0,r.watch)(":resize",{context:window}),(0,r.debounce)()],e.prototype,"addResize",null),(0,o.gn)([(0,r.watch)("state.metaInfo")],e.prototype,"onChangeMetaInfo",null),(0,o.gn)([r.component],e)}(i.q)},22840:function(t,e,n){"use strict";n.d(e,{u:function(){return s}});var o=n(97582),i=n(51273),r=n(50526),s=function(t){function e(e,n){var o=t.call(this,e)||this;return o.state=n,o.onProgress(),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIProgress"},e.prototype.onProgress=function(){this.state.progress?this.show():this.hide(),this.progress(this.state.progress)},e.prototype.hide=function(){return this.setMod("hidden",!0),this},e.prototype.progress=function(t){var e=this;return this.container.style.width=t.toFixed(2)+"%",98>t||this.j.async.setTimeout((function(){e.hide()}),{label:"progress",timeout:300}),this},e.prototype.show=function(){return this.setMod("hidden",!1),this},(0,o.gn)([(0,r.watch)("state.progress")],e.prototype,"onProgress",null),(0,o.gn)([r.component],e)}(i.k)},62983:function(t,e,n){"use strict";n.d(e,{r:function(){return s}});var o=n(97582),i=n(75004),r=n(50526),s=(n(52378),function(t){function e(e,n){var o=t.call(this,e)||this;o.state=n;var i=o.getElm("close");return e.e.on(i,"click",(function(){o.state.showSettings=!1})),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserSettings"},e.prototype.render=function(){return'<div>\n\t\t\t<div class="'.concat(this.getFullElName("close"),'">').concat(i.JO.get("cancel"),'</div>\n\t\t\t<div class="').concat(this.getFullElName("title"),'">').concat(this.j.i18n("Settings"),'</div>\n\t\t\t<div class="').concat(this.getFullElName("options"),'"></div>\n\t\t</div>')},e.prototype.appendChildToContainer=function(t){this.getElm("options").appendChild(t)},e.prototype.afterSetMod=function(e,n){"hidden"===e&&!1===n&&this.generateSettings(),t.prototype.afterSetMod.call(this,e,n)},e.prototype.onChangeView=function(){var t=this.getElm("tile-size");t&&(t.style.display="tiles"===this.state.view?"block":"none")},e.prototype.generateSettings=function(){var t=this;this.clear();var e=this.j;this.append([new i.BO(e,{label:"Theme",name:"theme",value:this.state.theme,radio:!0,options:[{value:"default",text:"Light"},{value:"dark",text:"Dark"}],onChange:function(e){t.state.theme="default"===t.state.theme||"dark"===t.state.theme?e[0].value:"default"}}),new i.BO(e,{label:"Show favorites",name:"showFavorites",value:this.state.showFavorites,radio:!0,options:[{value:!0,text:"Show"},{value:!1,text:"Hide"}],onChange:function(e){t.state.showFavorites=e[0].value}}),new i.BO(e,{label:"View",name:"view",value:this.state.view,radio:!0,options:[{value:"tiles",text:"Tiles"},{value:"list",text:"List"},{value:"compact",text:"Compact"}],onChange:function(e){t.state.view=e[0].value}}),new i.BO(e,{label:"Folders position",name:"foldersPosition",value:this.state.foldersPosition,radio:!0,options:[{value:"top",text:"Top"},{value:"bottom",text:"Bottom"},{value:"default",text:"Default"}],onChange:function(e){t.state.foldersPosition=e[0].value}}),new i.Cj(e,{label:"Sort by",name:"sort-by",value:this.state.sortBy,options:[{value:"changed-asc",text:e.i18n("Sort by changed")+"(⬆)"},{value:"changed-desc",text:e.i18n("Sort by changed")+"(⬇)"},{value:"name-asc",text:e.i18n("Sort by name")+"(⬆)"},{value:"name-desc",text:e.i18n("Sort by name")+"(⬇)"},{value:"size-asc",text:e.i18n("Sort by size")+"(⬆)"},{value:"size-desc",text:e.i18n("Sort by size")+"(⬇)"}],onChange:function(e){t.state.sortBy=e}}),new i.Cj(e,{label:"Tile size",name:"tile-size",value:this.state.tileSize,options:[{value:"xsmall",text:"Extra small"},{value:"small",text:"Small"},{value:"default",text:"Default"},{value:"large",text:"Large"},{value:"xlarge",text:"Extra large"}],onChange:function(e){t.state.tileSize=e}})]),this.onChangeView()},(0,o.gn)([(0,r.watch)("state.view")],e.prototype,"onChangeView",null),(0,o.gn)([r.component],e)}(i.qe))},68787:function(t,e,n){"use strict";n.d(e,{o:function(){return a}});var o=n(97582),i=n(91630),r=n(50526),s=(n(52378),n(62499)),a=function(t){function e(e,n,o){var i=t.call(this,e,n)||this;return i.state=o,i.onChangeFavorites(),i}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UISidebar"},e.prototype.render=function(){return"<div>\n\t\t\t<div class='&__hide-btn'>*angle-left*</div>\n\t\t\t<div class='&__favorites'>*heart* ~Favorites~</div>\n\t\t\t<div class='&__box'></div>\n\t\t</div>"},e.prototype.appendChildToContainer=function(t){this.getElm("box").appendChild(t)},e.prototype.addResize=function(){s.c.remove(this),s.c.install(this,screen.width>450?"right":"bottom")},e.prototype.onChangeFavorites=function(){this.setMod("has-favorites",Boolean(this.state.favorites.length))},e.prototype.onClickHideButton=function(){return this.state.showSideBar=!this.state.showSideBar,!1},e.prototype.onClickFavorites=function(){return this.state.elements=this.state.favorites,!1},(0,o.gn)([(0,r.hook)("ready"),(0,r.watch)(":resize",{context:window}),(0,r.debounce)()],e.prototype,"addResize",null),(0,o.gn)([(0,r.watch)("state.favorites")],e.prototype,"onChangeFavorites",null),(0,o.gn)([(0,r.watch)("hide-btn:click")],e.prototype,"onClickHideButton",null),(0,o.gn)([(0,r.watch)("favorites:click")],e.prototype,"onClickFavorites",null),(0,o.gn)([r.component],e)}(i.q)},21596:function(t,e,n){"use strict";n.d(e,{f:function(){return a}});var o=n(97582),i=n(84789),r=n(94707),s=(n(52378),n(91919)),a=function(t){function e(e,n){var o=t.call(this,e,n)||this;return o.data=n,o.tree=new s.v(o.j,o.data.children),o.syncMod=!0,o.getElm("name").innerText=n.title||n.name,o.getElm("tree").appendChild(o.tree.container),e.e.on(o.container,"contextmenu",(function(t){return e.e.fire("contextmenuSource.filebrowser",n,t)})),o}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserSource"},e.prototype.render=function(){return'<div>\n\t\t\t<div class="&__name"></div>\n\t\t\t<div class="&__tree"></div>\n\t\t</div>'},(0,o.gn)([r.w],e)}(i.u)},93582:function(t,e,n){"use strict";n.d(e,{L:function(){return a}});var o=n(97582),i=n(75004),r=n(50526),s=n(21596),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.syncMod=!0,e}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserSources"},e.prototype.build=function(t){var e=this;this.clear(),t.forEach((function(t){e.append(new s.f(e.jodit,t))}))},(0,o.gn)([r.component],e)}(i.qe)},67775:function(t,e,n){"use strict";n.d(e,{s:function(){return s}});var o=n(97582),i=n(75004),r=n(50526),s=(n(52378),function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,o.ZT)(e,t),e.prototype.className=function(){return"UIBrowserStatusBar"},e.prototype.render=function(){return"<div>\n\t\t\t<div class='&__slot-left'></div>\n\t\t\t<div class='&__slot-center'></div>\n\t\t\t<div class='&__slot-right'></div>\n\t\t</div>"},e.prototype.value=function(t,e){return void 0===e&&(e="left"),this.getElm("slot-".concat(e)).innerText=t,this},(0,o.gn)([r.component],e)}(i.u1))},91919:function(t,e,n){"use strict";n.d(e,{v:function(){return a}});var o=n(97582),i=n(91630),r=n(94707),s=n(9890),a=function(t){function e(e,n){var o=t.call(this,e)||this;return o.syncMod=!0,o.build(n),o}var n;return(0,o.ZT)(e,t),n=e,e.prototype.className=function(){return"UITree"},e.prototype.build=function(t){var e=this;this.clear(),t.forEach((function(t){var o=new s.D(e.jodit,t);e.append(o),t.isActive&&o.setMod("active",!0),t.children.length&&e.append(new n(e.jodit,t.children))}))},n=(0,o.gn)([r.w],e)}(i.q)},72618:function(t,e,n){"use strict";n.d(e,{d:function(){return u}});var o=n(97582),i=n(91630),r=n(50526),s=n(45545),a=n(90174),l=n(81766),c=n(87695),u=function(t){function e(e,n){var o=t.call(this,e)||this;return o.stateManager=n,o.syncMod=!0,o.addItemsSelector(),o}var n;return(0,o.ZT)(e,t),n=e,e.prototype.className=function(){return"UIVirtualScroll"},e.prototype.render=function(){return"<div>\n\t\t\t\t<div class=\"&__empty-message\">~There are no files~</div>\n\t\t\t\t<div class='&__loader'></div>\n\t\t\t\t<div class='&__drag-area'>~Drop image~</div>\n\t\t\t</div>"},e.prototype.reconcile=function(t){var e=this.elements.findIndex((function(e,n){return!t[n]||e.item.uniqueHashKey!==s.Z.create(t[n]).uniqueHashKey}));if(e>-1){for(var n=e;this.elements.length>n;n+=1)this.elements[n].destruct();this.elements.length=e}return e},e.prototype.build=function(t){var e=this,n=this.reconcile(t);t.slice(n>-1?n:this.elements.length).forEach((function(t){var n=new c.u(e.jodit,t);Object.keys(e.mods).forEach((function(t){n.setMod(t,e.mods[t])})),e.append(n)})),this.setMod("empty",!this.elements.length)},e.prototype.onScrollLoadChunk=function(){!this.stateManager.isFavoriteItems&&this.j.o.pixelOffsetLoadNewChunk>this.container.scrollHeight-(this.container.scrollTop+this.container.offsetHeight)&&this.j.loadingManager.loadItemsChunk()},e.prototype.onDragOver=function(t){t.preventDefault(),this.setMod("dragover",!0)},e.prototype.onDragLeave=function(t){t.preventDefault(),this.setMod("dragover",!1)},e.prototype.addItemsSelector=function(){l.r.install(this)},e.intersectRect=function(t,e){return!(e.left>t.left+t.width||t.left>e.left+e.width||e.top>t.top+t.height||t.top>e.top+e.height)},e.prototype.onSelectItems=function(t){var e=[];this.elements.forEach((function(o){var i=(0,a.F)(o.container);n.intersectRect(i,t)&&e.push(o.item)})),this.stateManager.state.activeElements=e},(0,o.gn)([(0,r.watch)(":afterResize"),(0,r.watch)(":resize"),(0,r.watch)("container:scroll"),(0,r.throttle)()],e.prototype,"onScrollLoadChunk",null),(0,o.gn)([(0,r.watch)("container:dragover")],e.prototype,"onDragOver",null),(0,o.gn)([(0,r.watch)(["container:dragleave","container:drop"])],e.prototype,"onDragLeave",null),n=(0,o.gn)([r.component],e)}(i.q)},62499:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var o=n(18002),i=n(44913),r=function(){function t(){}return t.remove=function(t){(0,o.i)(t.container,{width:null,height:null}),t.container.classList.remove("jodit-ui-resize"),i.i.safeRemove(t.container.querySelector(".jodit-ui-resize__handle"))},t.install=function(t,e){t.container.classList.add("jodit-ui-resize"),"static"===(0,o.i)(t.container,"position")&&(0,o.i)(t.container,"position","relative");var n=t.j.c.div("jodit-ui-resize__handle");n.classList.add("jodit-ui-resize__handle_type_"+e),t.container.appendChild(n),t.j.e.on(n,"mousedown touchstart",this.onStartResize.bind(this,t,e))},t.onStartResize=function(t,e,n){var o=t.j.async.throttle(this.onResize.bind(this,t,{x:n.clientX,y:n.clientY,w:t.container.offsetWidth,h:t.container.offsetHeight,direction:e}),t.j.defaultTimeout/10);t.j.lock(),t.j.e.on(t.j.ow,"mousemove touchmove",o).one(t.j.ow,"mouseup touchend",this.onEndResize.bind(this,t,o))},t.onResize=function(t,e,n){var i=["left","right"].includes(e.direction),r=t.container.parentElement;r&&(0,o.i)(t.container,i?"width":"height",100*(i?(e.w+(n.clientX-e.x)*("right"===e.direction?1:-1))/r.offsetWidth:(e.h+(n.clientY-e.y)*("top"===e.direction?1:-1))/r.offsetHeight)+"%")},t.onEndResize=function(t,e,n){t.j.e.off(t.j.ow,"mousemove touchmove",e),t.j.unlock()},t}()},81766:function(t,e,n){"use strict";n.d(e,{r:function(){return r}});var o=n(44913),i=n(18002),r=function(){function t(){}return t.remove=function(t){o.i.safeRemove(t.container.querySelector(".jodit-ui-select-items")),t.j.e.off(t.container,"mousedown.uiselectitems touchstart.uiselectitems")},t.install=function(t){var e=t.j.c.div("jodit-ui-select-items");t.j.e.on(t.container,"mousedown.uiselectitems touchstart.uiselectitems",this.onStartSelect.bind(this,t,e))},t.onStartSelect=function(t,e,n){if(n.target===t.container){(0,i.i)(e,{width:0,height:0}),t.container.appendChild(e);var o={x:n.clientX,y:n.clientY,w:t.container.offsetWidth,h:t.container.offsetHeight},r=t.j.async.throttle(this.onSelect.bind(this,t,e,o),t.j.defaultTimeout/10);t.j.lock(),t.j.e.on(t.j.ow,"mousemove touchmove",r).one(t.j.ow,"mouseup touchend",this.onEndSelect.bind(this,t,e,r)),t.onSelectItems({left:o.x,top:o.y,width:0,height:0})}},t.onSelect=function(t,e,n,o){var r={left:n.x>o.clientX?o.clientX:n.x,top:n.y>o.clientY?o.clientY:n.y,width:Math.abs(n.x-o.clientX),height:Math.abs(n.y-o.clientY)};(0,i.i)(e,r),t.onSelectItems(r)},t.onEndSelect=function(t,e,n,i){o.i.safeRemove(e),t.j.e.off(t.j.ow,"mousemove touchmove",n),t.j.unlock()},t}()}},function(t){return t(t.s=48531)}])}));
|