@ckeditor/ckeditor5-comments 44.1.0 → 44.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -2
- package/README.md +1 -1
- package/build/comments.js +2 -2
- package/dist/index-content.css +2 -2
- package/dist/index-editor.css +2 -2
- package/dist/index.css +15 -15
- package/dist/index.js +10 -10
- package/dist/translations/af.d.ts +2 -2
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +2 -2
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +2 -2
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +2 -2
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/bg.d.ts +2 -2
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +2 -2
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +2 -2
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +2 -2
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +2 -2
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +2 -2
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +2 -2
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +2 -2
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +2 -2
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +2 -2
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +2 -2
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +2 -2
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +2 -2
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +2 -2
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +2 -2
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +2 -2
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +2 -2
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +2 -2
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +2 -2
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +2 -2
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +2 -2
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +2 -2
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +2 -2
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +2 -2
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +2 -2
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +2 -2
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +2 -2
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +2 -2
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +2 -2
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +2 -2
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +2 -2
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +2 -2
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +2 -2
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +2 -2
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +2 -2
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +2 -2
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +2 -2
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +2 -2
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +2 -2
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +2 -2
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +2 -2
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +2 -2
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +2 -2
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +2 -2
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +2 -2
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +2 -2
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +2 -2
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +2 -2
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +2 -2
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +2 -2
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +2 -2
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +2 -2
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +2 -2
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +2 -2
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +39 -16
- package/src/annotations/annotation.d.ts +1 -1
- package/src/annotations/annotation.js +3 -3
- package/src/annotations/annotationcollection.d.ts +1 -1
- package/src/annotations/annotationcollection.js +2 -2
- package/src/annotations/annotations.d.ts +1 -1
- package/src/annotations/annotations.js +2 -2
- package/src/annotations/annotationsuis.d.ts +2 -2
- package/src/annotations/annotationsuis.js +2 -2
- package/src/annotations/editorannotations.d.ts +1 -1
- package/src/annotations/editorannotations.js +2 -2
- package/src/annotations/inlineannotations.d.ts +1 -1
- package/src/annotations/inlineannotations.js +2 -2
- package/src/annotations/narrowsidebar.d.ts +1 -1
- package/src/annotations/narrowsidebar.js +2 -2
- package/src/annotations/sidebar.d.ts +1 -1
- package/src/annotations/sidebar.js +2 -2
- package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +2 -2
- package/src/annotations/view/annotationview.d.ts +1 -1
- package/src/annotations/view/annotationview.js +2 -2
- package/src/annotations/view/sidebaritemview.d.ts +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.d.ts +1 -1
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.d.ts +1 -1
- package/src/annotations/widesidebar.js +2 -2
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/comments/addcommentthreadcommand.d.ts +1 -1
- package/src/comments/addcommentthreadcommand.js +2 -2
- package/src/comments/commentsarchive.d.ts +1 -1
- package/src/comments/commentsarchive.js +2 -2
- package/src/comments/commentsarchiveui.d.ts +1 -1
- package/src/comments/commentsarchiveui.js +2 -2
- package/src/comments/commentsediting.d.ts +1 -1
- package/src/comments/commentsediting.js +2 -2
- package/src/comments/commentsrepository.d.ts +1 -1
- package/src/comments/commentsrepository.js +4 -4
- package/src/comments/commentsui.d.ts +1 -1
- package/src/comments/commentsui.js +2 -2
- package/src/comments/integrations/clipboard.d.ts +1 -1
- package/src/comments/integrations/clipboard.js +2 -2
- package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +2 -2
- package/src/comments/integrations/importword.d.ts +1 -1
- package/src/comments/integrations/importword.js +2 -2
- package/src/comments/integrations/showcommenthighlights.d.ts +1 -1
- package/src/comments/integrations/showcommenthighlights.js +2 -2
- package/src/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +3 -3
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +2 -2
- package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +2 -2
- package/src/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/src/comments/ui/commentthreadcontroller.js +3 -3
- package/src/comments/ui/view/basecommentthreadview.d.ts +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +2 -2
- package/src/comments/ui/view/basecommentview.d.ts +1 -1
- package/src/comments/ui/view/basecommentview.js +2 -2
- package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +2 -2
- package/src/comments/ui/view/commentcontentview.d.ts +1 -1
- package/src/comments/ui/view/commentcontentview.js +2 -2
- package/src/comments/ui/view/commentinputview.d.ts +1 -1
- package/src/comments/ui/view/commentinputview.js +2 -2
- package/src/comments/ui/view/commentsarchiveview.d.ts +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +2 -2
- package/src/comments/ui/view/commentslistview.d.ts +1 -1
- package/src/comments/ui/view/commentslistview.js +2 -2
- package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +2 -2
- package/src/comments/ui/view/commentthreadheaderview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +2 -2
- package/src/comments/ui/view/commentthreadinputview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +2 -2
- package/src/comments/ui/view/commentthreadview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadview.js +3 -3
- package/src/comments/ui/view/commentview.d.ts +1 -1
- package/src/comments/ui/view/commentview.js +3 -3
- package/src/comments.d.ts +1 -1
- package/src/comments.js +2 -2
- package/src/commentsonly.d.ts +1 -1
- package/src/commentsonly.js +2 -2
- package/src/config.d.ts +1 -1
- package/src/config.js +1 -1
- package/src/index.d.ts +2 -2
- package/src/index.js +2 -2
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +2 -2
- package/src/utils/createmutationobserver.d.ts +1 -1
- package/src/utils/createmutationobserver.js +2 -2
- package/theme/annotation-inline.css +1 -1
- package/theme/annotation.css +1 -1
- package/theme/comment.css +1 -1
- package/theme/commentinput.css +1 -1
- package/theme/commentmarker.css +1 -1
- package/theme/commentsarchive.css +1 -1
- package/theme/commentthread.css +1 -1
- package/theme/icons/add-comment.svg +1 -1
- package/theme/icons/comments-archive.svg +1 -1
- package/theme/icons/edit-comment.svg +1 -1
- package/theme/icons/remove-comment.svg +1 -1
- package/theme/sidebar-narrow.css +1 -1
- package/theme/sidebar.css +1 -1
- package/dist/annotations/annotation.d.ts +0 -101
- package/dist/annotations/annotationcollection.d.ts +0 -102
- package/dist/annotations/annotations.d.ts +0 -166
- package/dist/annotations/annotationsuis.d.ts +0 -244
- package/dist/annotations/editorannotations.d.ts +0 -79
- package/dist/annotations/inlineannotations.d.ts +0 -102
- package/dist/annotations/narrowsidebar.d.ts +0 -97
- package/dist/annotations/sidebar.d.ts +0 -112
- package/dist/annotations/view/annotationcounterbuttonview.d.ts +0 -33
- package/dist/annotations/view/annotationview.d.ts +0 -94
- package/dist/annotations/view/sidebaritemview.d.ts +0 -63
- package/dist/annotations/view/sidebarview.d.ts +0 -57
- package/dist/annotations/widesidebar.d.ts +0 -89
- package/dist/augmentation.d.ts +0 -63
- package/dist/comments/addcommentthreadcommand.d.ts +0 -39
- package/dist/comments/commentsarchive.d.ts +0 -43
- package/dist/comments/commentsarchiveui.d.ts +0 -57
- package/dist/comments/commentsediting.d.ts +0 -106
- package/dist/comments/commentsrepository.d.ts +0 -1137
- package/dist/comments/commentsui.d.ts +0 -49
- package/dist/comments/integrations/clipboard.d.ts +0 -30
- package/dist/comments/integrations/commentsrestrictededitingmode.d.ts +0 -21
- package/dist/comments/integrations/importword.d.ts +0 -25
- package/dist/comments/integrations/showcommenthighlights.d.ts +0 -23
- package/dist/comments/ui/commenteditor/commenteditor.d.ts +0 -40
- package/dist/comments/ui/commenteditor/commenteditorui.d.ts +0 -35
- package/dist/comments/ui/commenteditor/commenteditoruiview.d.ts +0 -40
- package/dist/comments/ui/commentthreadcontroller.d.ts +0 -68
- package/dist/comments/ui/view/basecommentthreadview.d.ts +0 -152
- package/dist/comments/ui/view/basecommentview.d.ts +0 -154
- package/dist/comments/ui/view/collapsedcommentsview.d.ts +0 -17
- package/dist/comments/ui/view/commentcontentview.d.ts +0 -18
- package/dist/comments/ui/view/commentinputview.d.ts +0 -105
- package/dist/comments/ui/view/commentsarchiveview.d.ts +0 -50
- package/dist/comments/ui/view/commentslistview.d.ts +0 -116
- package/dist/comments/ui/view/commentthreadheadercontextview.d.ts +0 -25
- package/dist/comments/ui/view/commentthreadheaderview.d.ts +0 -80
- package/dist/comments/ui/view/commentthreadinputview.d.ts +0 -60
- package/dist/comments/ui/view/commentthreadview.d.ts +0 -127
- package/dist/comments/ui/view/commentview.d.ts +0 -244
- package/dist/comments.d.ts +0 -47
- package/dist/commentsonly.d.ts +0 -45
- package/dist/config.d.ts +0 -199
- package/dist/index.d.ts +0 -33
- package/dist/utils/common-translations.d.ts +0 -13
- package/dist/utils/createmutationobserver.d.ts +0 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -104,7 +104,7 @@ export default class AnnotationsUIs extends ContextPlugin {
|
|
|
104
104
|
* @param uiName The name of the annotations UI to activate.
|
|
105
105
|
* @param filter The annotation filter function. If not specified, the UI will use all annotations.
|
|
106
106
|
*/
|
|
107
|
-
activate(uiName: string, filter?: () => boolean): void;
|
|
107
|
+
activate(uiName: string, filter?: (annotation: Annotation) => boolean): void;
|
|
108
108
|
/**
|
|
109
109
|
* Deactivates annotations UI with given name.
|
|
110
110
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x57cf(_0x4001fb,_0x5db343){const _0x3f8aea=_0x3f8a();return _0x57cf=function(_0x57cfa4,_0x41de01){_0x57cfa4=_0x57cfa4-0x85;let _0x10672c=_0x3f8aea[_0x57cfa4];return _0x10672c;},_0x57cf(_0x4001fb,_0x5db343);}const _0x52d924=_0x57cf;(function(_0x9f3e7a,_0x5c579d){const _0x1f7f88=_0x57cf,_0x564b07=_0x9f3e7a();while(!![]){try{const _0x2a7a06=parseInt(_0x1f7f88(0xb6))/0x1+parseInt(_0x1f7f88(0xbd))/0x2*(-parseInt(_0x1f7f88(0x8e))/0x3)+parseInt(_0x1f7f88(0xbc))/0x4+parseInt(_0x1f7f88(0xb0))/0x5+parseInt(_0x1f7f88(0xb7))/0x6*(-parseInt(_0x1f7f88(0xc0))/0x7)+-parseInt(_0x1f7f88(0xb9))/0x8*(parseInt(_0x1f7f88(0x89))/0x9)+-parseInt(_0x1f7f88(0xad))/0xa;if(_0x2a7a06===_0x5c579d)break;else _0x564b07['push'](_0x564b07['shift']());}catch(_0x374852){_0x564b07['push'](_0x564b07['shift']());}}}(_0x3f8a,0x20960));import{ContextPlugin as _0xcba6d0}from'ckeditor5/src/core.js';import{CKEditorError as _0x266061}from'ckeditor5/src/utils.js';import _0x5a41ad,{bindAnnotationCollections as _0x626b58}from'./annotationcollection.js';import _0x420b45 from'./annotations.js';export default class M extends _0xcba6d0{static get[_0x52d924(0xbe)](){return[_0x420b45];}static get[_0x52d924(0x8c)](){const _0x5c185f=_0x52d924;return _0x5c185f(0xab);}static get[_0x52d924(0xb4)](){return!0x0;}static get[_0x52d924(0xae)](){return!0x0;}constructor(_0x15d687){const _0x261f54=_0x52d924;super(_0x15d687),this[_0x261f54(0x85)]=new Set(),this[_0x261f54(0xa7)]=new Map(),this[_0x261f54(0x88)]=new Map();}[_0x52d924(0x90)](){const _0x1f7d27=_0x52d924,_0x3a6298=this[_0x1f7d27(0xa1)][_0x1f7d27(0xbb)][_0x1f7d27(0xc3)](_0x420b45);this[_0x1f7d27(0xc2)](_0x3a6298,_0x1f7d27(0x95),(_0x1f0ff0,_0x3b9d40)=>{const _0x2a22d4=_0x1f7d27;for(const _0x4c827e of this[_0x2a22d4(0x85)]){const _0x190539=this[_0x2a22d4(0xa7)][_0x2a22d4(0xc3)](_0x4c827e);(0x0,this[_0x2a22d4(0x88)][_0x2a22d4(0xc3)](_0x4c827e)[_0x2a22d4(0x9c)])(_0x3b9d40)&&_0x190539[_0x2a22d4(0xac)](_0x3b9d40);}}),this[_0x1f7d27(0xc2)](_0x3a6298,_0x1f7d27(0x98),()=>{const _0x54840f=_0x1f7d27;for(const _0xefc0bf of this[_0x54840f(0x85)]){this[_0x54840f(0xa7)][_0x54840f(0xc3)](_0xefc0bf)[_0x54840f(0xac)](null);}}),this[_0x1f7d27(0xc2)](_0x3a6298[_0x1f7d27(0xbf)],_0x1f7d27(0xa0),(_0x2020bb,_0x2f535e)=>{const _0x353970=_0x1f7d27;this[_0x353970(0x94)](_0x2f535e);});}[_0x52d924(0xaa)](){const _0x2fe0f7=_0x52d924;return this[_0x2fe0f7(0x85)][_0x2fe0f7(0xaf)]>0x0;}[_0x52d924(0x92)](_0x171e5a){const _0x45b0f0=_0x52d924;return this[_0x45b0f0(0x85)][_0x45b0f0(0x96)](_0x171e5a);}[_0x52d924(0x8b)](_0x3a5389,_0x2fbf3d=()=>!0x0){const _0x3d2e27=_0x52d924,_0x39886b=this[_0x3d2e27(0xa1)][_0x3d2e27(0xbb)][_0x3d2e27(0xc3)](_0x420b45);if(!this[_0x3d2e27(0xa7)][_0x3d2e27(0x96)](_0x3a5389))throw new _0x266061(_0x3d2e27(0xa2),this,{'uiName':_0x3a5389});this[_0x3d2e27(0x92)](_0x3a5389)&&this[_0x3d2e27(0x8f)](_0x3a5389),this[_0x3d2e27(0x85)][_0x3d2e27(0xa0)](_0x3a5389);const _0x452448=new _0x5a41ad(),_0x53910a=_0x39886b[_0x3d2e27(0xbf)];_0x626b58({'source':_0x53910a,'target':_0x452448,'filter':_0x2fbf3d}),this[_0x3d2e27(0x88)][_0x3d2e27(0x91)](_0x3a5389,{'collection':_0x452448,'filter':_0x2fbf3d});const _0x56a00d=this[_0x3d2e27(0xa7)][_0x3d2e27(0xc3)](_0x3a5389);_0x56a00d[_0x3d2e27(0xa5)](_0x452448),this[_0x3d2e27(0xc2)](_0x56a00d,_0x3d2e27(0x9e),(_0x15d85a,_0x1b480e,_0x34b505,_0x27710f)=>{const _0x561919=_0x3d2e27;_0x27710f&&_0x39886b[_0x561919(0x8a)](_0x27710f),_0x34b505&&_0x39886b[_0x561919(0x9f)](_0x34b505);});}[_0x52d924(0x8f)](_0x5f4740){const _0x33f74a=_0x52d924;if(this[_0x33f74a(0x85)][_0x33f74a(0xa8)](_0x5f4740),!this[_0x33f74a(0xa7)][_0x33f74a(0x96)](_0x5f4740))throw new _0x266061(_0x33f74a(0xa2),this,{'uiName':_0x5f4740});const _0x2fa835=this[_0x33f74a(0xa7)][_0x33f74a(0xc3)](_0x5f4740);_0x2fa835[_0x33f74a(0x99)](),this[_0x33f74a(0x93)](_0x2fa835),this[_0x33f74a(0x88)][_0x33f74a(0xc3)](_0x5f4740)[_0x33f74a(0xba)][_0x33f74a(0x97)](),this[_0x33f74a(0x88)][_0x33f74a(0xa8)](_0x5f4740);}[_0x52d924(0x87)](_0x4cf78e){const _0x2d08b1=_0x52d924;if(!this[_0x2d08b1(0xa7)][_0x2d08b1(0x96)](_0x4cf78e))throw new _0x266061(_0x2d08b1(0xa2),this,{'uiName':_0x4cf78e});const _0x5060a8=this[_0x2d08b1(0xa1)][_0x2d08b1(0xbb)][_0x2d08b1(0xc3)](_0x420b45),_0x57b6d2=Array[_0x2d08b1(0xa4)](_0x5060a8[_0x2d08b1(0x9d)])[0x0]||null;this[_0x2d08b1(0xa3)](),this[_0x2d08b1(0x8b)](_0x4cf78e);const _0x541eef=this[_0x2d08b1(0xa7)][_0x2d08b1(0xc3)](_0x4cf78e);_0x541eef[_0x2d08b1(0xac)](_0x57b6d2),_0x541eef[_0x2d08b1(0xc1)]&&_0x57b6d2&&_0x541eef[_0x2d08b1(0xc1)]([_0x57b6d2]);}[_0x52d924(0xa3)](){const _0x58b3e6=_0x52d924;for(const _0x25daa7 of this[_0x58b3e6(0x85)])this[_0x58b3e6(0x8f)](_0x25daa7);}[_0x52d924(0xb5)](_0xf205ac,_0x3080a2){const _0x47d172=_0x52d924;if(this[_0x47d172(0xa7)][_0x47d172(0x96)](_0xf205ac))throw new _0x266061(_0x47d172(0x8d));if(_0x47d172(0x9a)!=typeof _0x3080a2[_0x47d172(0xa5)]||_0x47d172(0x9a)!=typeof _0x3080a2[_0x47d172(0x99)]||_0x47d172(0x9a)!=typeof _0x3080a2[_0x47d172(0xac)])throw new _0x266061(_0x47d172(0xb2),null);this[_0x47d172(0xa7)][_0x47d172(0x91)](_0xf205ac,_0x3080a2);}[_0x52d924(0xb8)](){const _0x3c3efb=_0x52d924,_0x26de18=this[_0x3c3efb(0xa1)][_0x3c3efb(0xbb)][_0x3c3efb(0xc3)](_0x420b45)[_0x3c3efb(0xba)],_0xac40c2=new Map(),_0x5cbdc2=Array[_0x3c3efb(0xa4)](this[_0x3c3efb(0x85)]);for(const _0xcf7d26 of this[_0x3c3efb(0x85)]){const _0x231908=this[_0x3c3efb(0x88)][_0x3c3efb(0xc3)](_0xcf7d26)[_0x3c3efb(0xba)];for(const _0x2e70a0 of _0x231908)_0xac40c2[_0x3c3efb(0x91)](_0x2e70a0,_0xcf7d26);}for(const _0x110c9c of _0x26de18){const _0x451820=_0xac40c2[_0x3c3efb(0xc3)](_0x110c9c);this[_0x3c3efb(0x94)](_0x110c9c);const _0x4dad47=_0x5cbdc2[_0x3c3efb(0xa9)](_0x144d2a=>this[_0x3c3efb(0x88)][_0x3c3efb(0xc3)](_0x144d2a)[_0x3c3efb(0x9c)](_0x110c9c));_0x451820!==_0x4dad47&&(_0x451820&&this[_0x3c3efb(0x88)][_0x3c3efb(0xc3)](_0x451820)[_0x3c3efb(0xba)][_0x3c3efb(0xb1)](_0x110c9c),_0x4dad47&&this[_0x3c3efb(0x88)][_0x3c3efb(0xc3)](_0x4dad47)[_0x3c3efb(0xba)][_0x3c3efb(0xa0)](_0x110c9c));}}[_0x52d924(0x97)](){const _0x1dfc60=_0x52d924;this[_0x1dfc60(0xa3)](),super[_0x1dfc60(0x97)]();}[_0x52d924(0x94)](_0x4e6925){const _0x25a9b1=_0x52d924,_0x1729f2=[];for(const _0x3643c0 of this[_0x25a9b1(0x85)]){(0x0,this[_0x25a9b1(0x88)][_0x25a9b1(0xc3)](_0x3643c0)[_0x25a9b1(0x9c)])(_0x4e6925)&&_0x1729f2[_0x25a9b1(0x9b)](_0x3643c0);}if(_0x1729f2[_0x25a9b1(0xa6)]>0x1)throw new _0x266061(_0x25a9b1(0xb3),null,{'matchedUIs':_0x1729f2,'annotationType':_0x4e6925[_0x25a9b1(0x86)]});}}function _0x3f8a(){const _0x3f4882=['detach','function','push','filter','activeAnnotations','change:activeAnnotation','_addActiveAnnotation','add','context','annotationsuis-missing-ui','deactivateAll','from','attach','length','_uis','delete','find','hasActive','AnnotationsUIs','setActiveAnnotation','899260fiwgZf','isPremiumPlugin','size','1312930WcwCwR','remove','annotationsuis-register-invalid-interface','annotationsuis-annotation-mismatch','isOfficialPlugin','register','240209BUfAXs','832704MBbjub','refilterAnnotations','8SyQYRI','collection','plugins','358020CIsGKD','9598deuIxE','requires','_visibleAnnotations','7ucrbMb','_setSelectedAnnotations','listenTo','get','activeUIs','type','switchTo','_uisData','300231CSUOOY','_removeActiveAnnotation','activate','pluginName','annotationsuis-register-already-registered','123IrkpQE','deactivate','init','set','isActive','stopListening','_assertAnnotationDoesNotBelongToMultipleUIs','_activateAnnotation','has','destroy','_deactivateAllAnnotations'];_0x3f8a=function(){return _0x3f4882;};return _0x3f8a();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2580d9=_0x497a;(function(_0x4c544c,_0x215f80){const _0x531e61=_0x497a,_0xc38f8=_0x4c544c();while(!![]){try{const _0x2c56c3=parseInt(_0x531e61(0x1ee))/0x1+parseInt(_0x531e61(0x1d4))/0x2*(-parseInt(_0x531e61(0x1e4))/0x3)+-parseInt(_0x531e61(0x1e7))/0x4+-parseInt(_0x531e61(0x1fb))/0x5+-parseInt(_0x531e61(0x1e1))/0x6*(parseInt(_0x531e61(0x1dd))/0x7)+-parseInt(_0x531e61(0x1e5))/0x8*(parseInt(_0x531e61(0x1cc))/0x9)+parseInt(_0x531e61(0x1c4))/0xa;if(_0x2c56c3===_0x215f80)break;else _0xc38f8['push'](_0xc38f8['shift']());}catch(_0x8a191a){_0xc38f8['push'](_0xc38f8['shift']());}}}(_0x3c51,0xe876c));import{Plugin as _0x5c2a68}from'ckeditor5/src/core.js';import{CKEditorError as _0x85fbde}from'ckeditor5/src/utils.js';import{debounce as _0x3b48b5}from'lodash-es';import _0x485bc9 from'./annotations.js';function _0x497a(_0x3b9a11,_0x2e5690){const _0x3c5166=_0x3c51();return _0x497a=function(_0x497a63,_0x4841ea){_0x497a63=_0x497a63-0x1c1;let _0x532607=_0x3c5166[_0x497a63];return _0x532607;},_0x497a(_0x3b9a11,_0x2e5690);}function _0x3c51(){const _0x3ef03b=['getByInnerView','cancel','change:range','registerAnnotation','update','from','145890nHsSTZ','has','getRanges','editorannotations-invalid-source-callback','get','directChange','addSourceCollector','model','95638OlhdcH','set','view','isOfficialPlugin','sort','init','isEqual','focusTracker','remove','167251sxigaF','requires','EditorAnnotations','add','78QDmEmk','refresh','innerView','60vqNRhK','264aBekDy','collection','1319984XYIiCe','containsRange','element','refreshSelectedViews','pluginName','fire','editing','1726653SOoXZe','change:isFocused','push','_dataCollectors','editor','map','blur','document','_editorAnnotationsData','function','isPremiumPlugin','annotation','_editorAnnotations','417145HtMlsO','listenTo','isCollapsed','selection','getOrderedSelectedAnnotations','uiUpdate','plugins','hasDomSelection','isReadOnly','delete','14408630PvmSFd','range'];_0x3c51=function(){return _0x3ef03b;};return _0x3c51();}export default class P extends _0x5c2a68{static get[_0x2580d9(0x1de)](){return[_0x485bc9];}static get[_0x2580d9(0x1eb)](){const _0x445707=_0x2580d9;return _0x445707(0x1df);}static get[_0x2580d9(0x1d7)](){return!0x0;}static get[_0x2580d9(0x1f8)](){return!0x0;}constructor(_0x48dc5a){const _0x19688a=_0x2580d9;super(_0x48dc5a),this[_0x19688a(0x1f1)]=new Set(),this[_0x19688a(0x1fa)]=new Set();}[_0x2580d9(0x1d9)](){const _0x55ba39=_0x2580d9,_0x2bd901=this[_0x55ba39(0x1f2)],_0x5eae7d=_0x2bd901[_0x55ba39(0x1d3)][_0x55ba39(0x1f5)][_0x55ba39(0x1fe)],_0x33d793=_0x3b48b5(()=>this[_0x55ba39(0x1ea)](),0xa);_0x5eae7d['on'](_0x55ba39(0x1c8),(_0x28f19f,_0x133530)=>{const _0x26e4ef=_0x55ba39;_0x133530[_0x26e4ef(0x1d1)]&&(_0x33d793[_0x26e4ef(0x1c7)](),this[_0x26e4ef(0x1ea)]());}),this[_0x55ba39(0x1fc)](_0x2bd901[_0x55ba39(0x1ed)][_0x55ba39(0x1d6)][_0x55ba39(0x1f5)],_0x55ba39(0x1ef),(_0x5802c8,_0x1e786d,_0x433252)=>{_0x433252&&_0x33d793();}),this[_0x55ba39(0x1fc)](_0x2bd901['ui'][_0x55ba39(0x1db)],_0x55ba39(0x1ef),(_0x55e6bc,_0x208cbe,_0x5f0833)=>{const _0xc381e9=_0x55ba39;_0x5f0833||_0x2bd901[_0xc381e9(0x1c2)]||this[_0xc381e9(0x1ec)](_0xc381e9(0x1f4),{'isAnnotationTracked':_0x23c0e3=>this[_0xc381e9(0x1f6)][_0xc381e9(0x1cd)](_0x23c0e3[_0xc381e9(0x1e3)])});}),this[_0x55ba39(0x1fc)](this[_0x55ba39(0x1f2)]['ui'],_0x55ba39(0x1ca),()=>this[_0x55ba39(0x1ec)](_0x55ba39(0x200)));}[_0x2580d9(0x1c9)](_0x50f243){const _0x58bd57=_0x2580d9;if(this[_0x58bd57(0x1fa)][_0x58bd57(0x1cd)](_0x50f243[_0x58bd57(0x1d6)]))return;this[_0x58bd57(0x1fa)][_0x58bd57(0x1e0)](_0x50f243[_0x58bd57(0x1d6)]),this[_0x58bd57(0x1f2)]['ui'][_0x58bd57(0x1db)][_0x58bd57(0x1e0)](_0x50f243[_0x58bd57(0x1d6)][_0x58bd57(0x1e9)]);const _0x4947c5=this[_0x58bd57(0x1f2)][_0x58bd57(0x201)][_0x58bd57(0x1d0)](_0x485bc9);this[_0x58bd57(0x1fc)](_0x4947c5[_0x58bd57(0x1e6)],_0x58bd57(0x1dc),(_0x37f709,_0x121289)=>{const _0x53afd6=_0x58bd57;this[_0x53afd6(0x1f2)]['ui'][_0x53afd6(0x1db)][_0x53afd6(0x1dc)](_0x121289[_0x53afd6(0x1d6)][_0x53afd6(0x1e9)]),this[_0x53afd6(0x1fa)][_0x53afd6(0x1c3)](_0x121289[_0x53afd6(0x1d6)]);});}[_0x2580d9(0x1c1)](){const _0x405870=_0x2580d9;return this[_0x405870(0x1f2)][_0x405870(0x1ed)][_0x405870(0x1d6)][_0x405870(0x1c1)];}[_0x2580d9(0x1d2)](_0x3a30ed){const _0x9fd49d=_0x2580d9;if(_0x9fd49d(0x1f7)!=typeof _0x3a30ed)throw new _0x85fbde(_0x9fd49d(0x1cf));this[_0x9fd49d(0x1f1)][_0x9fd49d(0x1e0)](_0x3a30ed);}[_0x2580d9(0x1ea)](){const _0x81ee7b=_0x2580d9;this[_0x81ee7b(0x1ec)](_0x81ee7b(0x1e2));}[_0x2580d9(0x1ff)]({activeAnnotation:_0x4ba966,annotations:_0xa345d3}){const _0x4fc985=_0x2580d9,_0x2df002=[],_0xfe0c42=this[_0x4fc985(0x1f2)][_0x4fc985(0x1d3)][_0x4fc985(0x1f5)][_0x4fc985(0x1fe)],_0x339aac=Array[_0x4fc985(0x1cb)](_0xfe0c42[_0x4fc985(0x1ce)]());for(const [_0x1188a6,_0xd2d0b0]of this[_0x4fc985(0x1f6)]){const _0x1e6853=_0x315523(_0xd2d0b0),_0x18656=_0xa345d3[_0x4fc985(0x1c6)](_0x1188a6);_0x1e6853&&_0x18656&&_0x2df002[_0x4fc985(0x1f0)]({'annotation':_0x18656,'range':_0x1e6853});}function _0x315523(_0x411bdf){const _0x3b9b0b=_0x4fc985;for(const _0x32f8f6 of _0x411bdf)for(const _0x3f2a75 of _0x339aac)if(_0x32f8f6[_0x3b9b0b(0x1e8)](_0x3f2a75,!_0xfe0c42[_0x3b9b0b(0x1fd)]))return _0x32f8f6;return null;}return _0x2df002[_0x4fc985(0x1d8)]((_0x43e562,_0x23b281)=>{const _0x4b7b23=_0x4fc985,_0x3f2e8f=_0x43e562[_0x4b7b23(0x1c5)],_0xfdf065=_0x23b281[_0x4b7b23(0x1c5)];if(!_0x3f2e8f[_0x4b7b23(0x1da)](_0xfdf065)){if(_0x3f2e8f[_0x4b7b23(0x1e8)](_0xfdf065,!0x0))return 0x1;if(_0xfdf065[_0x4b7b23(0x1e8)](_0x3f2e8f,!0x0))return-0x1;}return _0x43e562[_0x4b7b23(0x1f9)]==_0x4ba966?-0x1:_0x23b281[_0x4b7b23(0x1f9)]==_0x4ba966?0x1:0x0;})[_0x4fc985(0x1f3)](_0x2ab01e=>_0x2ab01e[_0x4fc985(0x1f9)]);}get[_0x2580d9(0x1f6)](){const _0x4e221a=_0x2580d9,_0x41ff95=new Map();for(const _0x40618c of Array[_0x4e221a(0x1cb)](this[_0x4e221a(0x1f1)]))for(const [_0x576dd6,_0x30f92f]of _0x40618c())_0x41ff95[_0x4e221a(0x1d5)](_0x576dd6,_0x30f92f);return _0x41ff95;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x464e2d=_0x1146;(function(_0x48b631,_0x201ff8){const _0x4a47c0=_0x1146,_0x2a9376=_0x48b631();while(!![]){try{const _0x1b8538=-parseInt(_0x4a47c0(0x1b8))/0x1*(-parseInt(_0x4a47c0(0x1b6))/0x2)+-parseInt(_0x4a47c0(0x1d9))/0x3*(-parseInt(_0x4a47c0(0x1ef))/0x4)+-parseInt(_0x4a47c0(0x1ab))/0x5+-parseInt(_0x4a47c0(0x1a3))/0x6*(-parseInt(_0x4a47c0(0x19e))/0x7)+parseInt(_0x4a47c0(0x1a9))/0x8+-parseInt(_0x4a47c0(0x1aa))/0x9+parseInt(_0x4a47c0(0x1e0))/0xa;if(_0x1b8538===_0x201ff8)break;else _0x2a9376['push'](_0x2a9376['shift']());}catch(_0x102ed){_0x2a9376['push'](_0x2a9376['shift']());}}}(_0x3cd9,0x58698));import{Plugin as _0x302f5e}from'ckeditor5/src/core.js';import _0x2518f6 from'./annotationsuis.js';import _0x1f1a41 from'./editorannotations.js';import{ContextualBalloon as _0x2b2329}from'ckeditor5/src/ui.js';function _0x1146(_0x2843c4,_0x5ac90e){const _0x3cd9ea=_0x3cd9();return _0x1146=function(_0x114681,_0x54ecf4){_0x114681=_0x114681-0x193;let _0x40c8e9=_0x3cd9ea[_0x114681];return _0x40c8e9;},_0x1146(_0x2843c4,_0x5ac90e);}import{MouseObserver as _0x95c7ca}from'ckeditor5/src/engine.js';import{CKEditorError as _0x5df5a3,Rect as _0x40ce1f}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x302f5e{static get[_0x464e2d(0x1b4)](){return[_0x1f1a41,_0x2b2329,_0x2518f6];}static get[_0x464e2d(0x1c1)](){const _0x2d02b3=_0x464e2d;return _0x2d02b3(0x1f5);}static get[_0x464e2d(0x1e5)](){return!0x0;}static get[_0x464e2d(0x199)](){return!0x0;}constructor(_0x115ecd){const _0x31cda4=_0x464e2d;super(_0x115ecd),_0x115ecd[_0x31cda4(0x1bc)][_0x31cda4(0x1d4)][_0x31cda4(0x1e7)](_0x95c7ca),this[_0x31cda4(0x1b5)]=!0x1,this[_0x31cda4(0x1da)](_0x31cda4(0x1cd),null),this[_0x31cda4(0x1b2)]=null,this[_0x31cda4(0x198)]=new Set(),this[_0x31cda4(0x19f)]=_0x115ecd[_0x31cda4(0x1bb)][_0x31cda4(0x19d)](_0x2b2329),this[_0x31cda4(0x1ee)]=new Set(),this[_0x31cda4(0x1e9)]=[],this[_0x31cda4(0x1d6)]=!0x1;}[_0x464e2d(0x1af)](){const _0x59a1ee=_0x464e2d,_0x20f9e0=this[_0x59a1ee(0x1e1)][_0x59a1ee(0x1bb)][_0x59a1ee(0x19d)](_0x2518f6);_0x20f9e0[_0x59a1ee(0x1bd)]===this[_0x59a1ee(0x1e1)]&&(_0x20f9e0[_0x59a1ee(0x1b9)](_0x59a1ee(0x1c5),this),this[_0x59a1ee(0x1e1)][_0x59a1ee(0x1e6)][_0x59a1ee(0x1da)](_0x59a1ee(0x1a0),(_0x551679,_0x395f6f)=>{const _0x33782b=_0x59a1ee,_0x2d331b=this[_0x33782b(0x19f)];if(this[_0x33782b(0x1b5)]&&_0x2d331b[_0x33782b(0x1a6)]){const _0x2c3a1c=this[_0x33782b(0x1b2)][_0x33782b(0x1ce)](_0x2d331b[_0x33782b(0x1a6)]);_0x2c3a1c&&this[_0x33782b(0x1ca)](_0x2c3a1c),_0x395f6f();}}));}[_0x464e2d(0x1a7)](){const _0xa7ef61=_0x464e2d,_0xa8438a=this[_0xa7ef61(0x1e1)][_0xa7ef61(0x1bb)][_0xa7ef61(0x19d)](_0x2518f6);_0xa8438a[_0xa7ef61(0x1bd)]===this[_0xa7ef61(0x1e1)]&&(_0xa8438a[_0xa7ef61(0x1eb)]()||_0xa8438a[_0xa7ef61(0x1d2)](_0xa7ef61(0x1c5)));}[_0x464e2d(0x1c6)](_0x5f8ccf){const _0x411897=_0x464e2d;_0x5f8ccf!==this[_0x411897(0x1cd)]&&(this[_0x411897(0x1cd)]&&(this[_0x411897(0x1cd)][_0x411897(0x1a4)]=!0x1),_0x5f8ccf&&this[_0x411897(0x1e1)]['ui'][_0x411897(0x1ea)][_0x411897(0x1b0)]&&(this[_0x411897(0x1b2)][_0x411897(0x1cf)](_0x5f8ccf)&&this[_0x411897(0x1c2)](_0x5f8ccf,!0x0),_0x5f8ccf[_0x411897(0x1a4)]=!0x0),_0x5f8ccf||this[_0x411897(0x1dd)]([]),this[_0x411897(0x1cd)]=_0x5f8ccf);}[_0x464e2d(0x1db)](_0x3d4196){const _0x144e76=_0x464e2d;this[_0x144e76(0x1b2)]=_0x3d4196;const _0x13b212=this[_0x144e76(0x1e1)][_0x144e76(0x1bb)][_0x144e76(0x19d)](_0x2518f6),_0x4d86e6=this[_0x144e76(0x19f)];if(this[_0x144e76(0x1b5)])throw new _0x5df5a3(_0x144e76(0x1a5),this);if(_0x13b212[_0x144e76(0x1bd)]!==this[_0x144e76(0x1e1)])throw new _0x5df5a3(_0x144e76(0x1d1),this);const _0x12ff31=this[_0x144e76(0x1e1)][_0x144e76(0x1bb)][_0x144e76(0x19d)](_0x1f1a41);this[_0x144e76(0x1be)](_0x12ff31,_0x144e76(0x1f3),()=>{const _0x607f9e=_0x144e76,_0x45f8c4=_0x12ff31[_0x607f9e(0x1e8)]({'annotations':this[_0x607f9e(0x1b2)],'activeAnnotation':this[_0x607f9e(0x1cd)]});var _0x784b49,_0x201139;!this[_0x607f9e(0x1d6)]&&(_0x784b49=_0x45f8c4,_0x201139=this[_0x607f9e(0x1e9)],_0x784b49[_0x607f9e(0x1e3)]===_0x201139[_0x607f9e(0x1e3)]&&_0x784b49[_0x607f9e(0x1c9)](_0x355c06=>_0x201139[_0x607f9e(0x1b7)](_0x355c06)))||(this[_0x607f9e(0x1d6)]=!0x1,this[_0x607f9e(0x1dd)](_0x45f8c4),this[_0x607f9e(0x1c6)](_0x45f8c4[0x0]||null));}),this[_0x144e76(0x1be)](_0x12ff31,_0x144e76(0x196),(_0x59b731,{isAnnotationTracked:_0x298250})=>{const _0x34edd5=_0x144e76;this[_0x34edd5(0x1cd)]&&_0x298250(this[_0x34edd5(0x1cd)])&&(this[_0x34edd5(0x1dd)]([]),this[_0x34edd5(0x1c6)](null));}),this[_0x144e76(0x1be)](this[_0x144e76(0x1e1)]['ui'][_0x144e76(0x1ea)],_0x144e76(0x1e4),(_0x27d8f4,_0x3adb29,_0x43c241)=>{const _0x4f483a=_0x144e76;_0x43c241||this[_0x4f483a(0x1c6)](null);}),this[_0x144e76(0x1be)](_0x3d4196,_0x144e76(0x19b),(_0xe5da4e,_0x3992de)=>{const _0x395a19=_0x144e76;this[_0x395a19(0x1a1)](_0x3992de),_0x3992de===this[_0x395a19(0x1cd)]&&this[_0x395a19(0x1c6)](null);}),this[_0x144e76(0x1be)](_0x4d86e6,_0x144e76(0x1ae),(_0x559e7e,_0x294ca6,_0x3a02db,_0x11a454)=>{const _0x1f811f=_0x144e76;_0x11a454&&this[_0x1f811f(0x1d7)](_0x11a454);const _0xd8efec=_0x3d4196[_0x1f811f(0x1ce)](_0x3a02db);_0x3a02db&&_0xd8efec&&(this[_0x1f811f(0x1be)](_0x3a02db,_0x1f811f(0x197),()=>{const _0x136a45=_0x1f811f;_0x4d86e6[_0x136a45(0x1a8)]();}),this[_0x1f811f(0x1be)](_0x3a02db,_0x1f811f(0x1a0),()=>{const _0x2d70d9=_0x1f811f;this[_0x2d70d9(0x1ca)](_0xd8efec),this[_0x2d70d9(0x1e1)][_0x2d70d9(0x1bc)][_0x2d70d9(0x1d4)][_0x2d70d9(0x1ac)]();}),this[_0x1f811f(0x1cd)]!==_0xd8efec&&this[_0x1f811f(0x1c6)](_0xd8efec));}),this[_0x144e76(0x1be)](this[_0x144e76(0x1e1)]['ui'],_0x144e76(0x19a),()=>{const _0xea53a9=_0x144e76;_0x4d86e6[_0xea53a9(0x1a6)]&&(_0x3d4196[_0xea53a9(0x1ce)](_0x4d86e6[_0xea53a9(0x1a6)])&&_0x4d86e6[_0xea53a9(0x1a8)]());}),this[_0x144e76(0x1be)](this[_0x144e76(0x1e1)][_0x144e76(0x1bc)][_0x144e76(0x1d4)][_0x144e76(0x195)],_0x144e76(0x1cc),()=>{const _0x403639=_0x144e76;this[_0x403639(0x1d6)]=!0x0,this[_0x403639(0x198)][_0x403639(0x1a2)]();}),this[_0x144e76(0x1e1)][_0x144e76(0x1bc)][_0x144e76(0x1d4)][_0x144e76(0x195)][_0x144e76(0x1c0)][_0x144e76(0x1bf)]&&this[_0x144e76(0x1e1)][_0x144e76(0x1bc)][_0x144e76(0x1d4)][_0x144e76(0x1ac)](),this[_0x144e76(0x1b5)]=!0x0;}[_0x464e2d(0x1c3)](){const _0x320b90=_0x464e2d;if(!this[_0x320b90(0x1b5)])throw new _0x5df5a3(_0x320b90(0x1ec),this);this[_0x320b90(0x1c6)](null);for(const _0x2ab1c7 of this[_0x320b90(0x1ee)])this[_0x320b90(0x1a1)](_0x2ab1c7);this[_0x320b90(0x1d7)](),this[_0x320b90(0x1b5)]=!0x1,this[_0x320b90(0x1b2)]=null;}[_0x464e2d(0x1d3)](){const _0x2e4ac7=_0x464e2d;this[_0x2e4ac7(0x1b5)]&&this[_0x2e4ac7(0x1c3)]();}[_0x464e2d(0x1dd)](_0x2a99e5){const _0x311fb9=_0x464e2d;for(const _0x408e1e of this[_0x311fb9(0x1e9)])_0x2a99e5[_0x311fb9(0x1b7)](_0x408e1e)||this[_0x311fb9(0x198)][_0x311fb9(0x194)](_0x408e1e);for(const _0x5eccff of this[_0x311fb9(0x1b2)])_0x2a99e5[_0x311fb9(0x1b7)](_0x5eccff)||this[_0x311fb9(0x1a1)](_0x5eccff);if(this[_0x311fb9(0x1e1)]['ui'][_0x311fb9(0x1ea)][_0x311fb9(0x1b0)]){for(const _0x3a7644 of _0x2a99e5)this[_0x311fb9(0x1c2)](_0x3a7644);}this[_0x311fb9(0x1e9)]=_0x2a99e5;}[_0x464e2d(0x1c2)](_0x1fe5d9,_0x837d59=!0x1){const _0x17af03=_0x464e2d;this[_0x17af03(0x198)][_0x17af03(0x1cf)](_0x1fe5d9)||(this[_0x17af03(0x1ee)][_0x17af03(0x1cf)](_0x1fe5d9)||this[_0x17af03(0x19f)][_0x17af03(0x1f1)](_0x1fe5d9[_0x17af03(0x1d4)])||(this[_0x17af03(0x1ee)][_0x17af03(0x1f0)](_0x1fe5d9),this[_0x17af03(0x19f)][_0x17af03(0x1f0)]({'stackId':_0x1fe5d9[_0x17af03(0x1d4)]['id'],'view':_0x1fe5d9[_0x17af03(0x1d4)],'position':{'target':()=>this[_0x17af03(0x193)](_0x1fe5d9)}})),_0x837d59&&this[_0x17af03(0x19f)][_0x17af03(0x1df)](_0x1fe5d9[_0x17af03(0x1d4)]['id']));}[_0x464e2d(0x193)](_0x5cc8d3){const _0x31683f=_0x464e2d,_0x2f8922=_0x5cc8d3[_0x31683f(0x1c8)],_0x266e07=this[_0x31683f(0x1e1)][_0x31683f(0x1bc)][_0x31683f(0x1d4)],_0x575644=_0x266e07[_0x31683f(0x195)][_0x31683f(0x1c0)][_0x31683f(0x1cb)](),_0x1b5ae3=_0x266e07[_0x31683f(0x1f4)][_0x31683f(0x1d8)](_0x575644);if(_0x1b5ae3[_0x31683f(0x1ad)](!0x0),_0x2f8922){if(_0x2f8922 instanceof _0x40ce1f)return _0x2f8922;let _0x5cd5bb=[];for(const _0x194ab0 of _0x2f8922)_0x5cd5bb[_0x31683f(0x1ba)](...(_0xb826ae=_0x194ab0[_0x31683f(0x1de)](),Array[_0x31683f(0x1c4)](_0xb826ae)[_0x31683f(0x19c)](DOMRect[_0x31683f(0x1b1)])));_0x5cd5bb=function(_0x5166bb){const _0x4f4d29=_0x31683f,_0x19d327=[];let _0x13bff4=_0x5166bb[0x0];for(let _0x4d1056=0x1;_0x4d1056<_0x5166bb[_0x4f4d29(0x1e3)];_0x4d1056++)b(_0x13bff4,_0x5166bb[_0x4d1056])?_0x13bff4[_0x4f4d29(0x1b3)]+=_0x5166bb[_0x4d1056][_0x4f4d29(0x1b3)]:(_0x19d327[_0x4f4d29(0x1ba)](_0x13bff4),_0x13bff4=_0x5166bb[_0x4d1056]);return _0x19d327[_0x4f4d29(0x1ba)](_0x13bff4),_0x19d327;}(_0x5cd5bb);const _0x54b5ef=_0x1b5ae3[_0x31683f(0x1dc)]();return _0x5cd5bb[_0x31683f(0x1ed)](_0xcc4e49=>_0xcc4e49[_0x31683f(0x1d0)]<=_0x54b5ef[_0x31683f(0x1d0)]&&_0xcc4e49[_0x31683f(0x1c7)]>=_0x54b5ef[_0x31683f(0x1c7)]&&_0xcc4e49[_0x31683f(0x1d5)]<=_0x54b5ef[_0x31683f(0x1d5)]&&_0xcc4e49[_0x31683f(0x1f2)]>=_0x54b5ef[_0x31683f(0x1f2)])||_0x5cd5bb[0x0];}var _0xb826ae;return _0x5cc8d3[_0x31683f(0x1e2)]||_0x1b5ae3;}[_0x464e2d(0x1a1)](_0x4497da){const _0x254a0c=_0x464e2d;this[_0x254a0c(0x1ee)][_0x254a0c(0x1cf)](_0x4497da)&&this[_0x254a0c(0x19f)][_0x254a0c(0x1f1)](_0x4497da[_0x254a0c(0x1d4)])&&(this[_0x254a0c(0x1ee)][_0x254a0c(0x194)](_0x4497da),this[_0x254a0c(0x19f)][_0x254a0c(0x19b)](_0x4497da[_0x254a0c(0x1d4)]));}[_0x464e2d(0x1ca)](_0x240842){const _0x5942f6=_0x464e2d;this[_0x5942f6(0x198)][_0x5942f6(0x1f0)](_0x240842),this[_0x5942f6(0x1a1)](_0x240842);}}function b(_0x4eed1e,_0x310a51){const _0x34acd0=_0x464e2d;return _0x4eed1e[_0x34acd0(0x1d0)]===_0x310a51[_0x34acd0(0x1d0)]&&_0x4eed1e[_0x34acd0(0x1c7)]===_0x310a51[_0x34acd0(0x1c7)]&&_0x4eed1e[_0x34acd0(0x1f2)]===_0x310a51[_0x34acd0(0x1d5)];}function _0x3cd9(){const _0x101e4a=['targetRect','length','change:isFocused','isOfficialPlugin','keystrokes','addObserver','getOrderedSelectedAnnotations','_selectedAnnotations','focusTracker','hasActive','inlineannotations-detach-not-attached','find','_addedAnnotations','79400khvDnU','add','hasView','right','refresh','domConverter','InlineAnnotations','_getBalloonTargetForAnnotation','delete','document','blur','change:height','_manuallyClosed','isPremiumPlugin','update','remove','map','get','437339VrDnwi','_balloon','Esc','_removeAnnotationFromBalloon','clear','6Fehfgq','isActive','inlineannotations-attach-already-attached','visibleView','afterInit','updatePosition','476968vAlFhu','3268575FAdldg','3435480hOldBd','focus','collapse','change:visibleView','init','isFocused','fromRect','annotations','width','requires','isAttached','218078MEdfWZ','includes','1UCDgvY','register','push','plugins','editing','context','listenTo','editableElement','selection','pluginName','_addAnnotationToBalloon','detach','from','inline','setActiveAnnotation','bottom','target','every','_closeAnnotation','getFirstRange','mousedown','activeAnnotation','getByView','has','top','inlineannotations-not-allowed-with-context','switchTo','destroy','view','left','_forceRefresh','stopListening','viewRangeToDom','93zwVGsw','set','attach','getBoundingClientRect','_setSelectedAnnotations','getClientRects','showStack','5659200oDBmdx','editor'];_0x3cd9=function(){return _0x101e4a;};return _0x3cd9();}
|
|
23
|
+
function _0x5359(){const _0x46d778=['plugins','delete','switchTo','fromRect','refresh','attach','setActiveAnnotation','438270Ahjdlv','find','_balloon','_getBalloonTargetForAnnotation','selection','length','_removeAnnotationFromBalloon','viewRangeToDom','showStack','888030GwZLjY','bottom','targetRect','Esc','isPremiumPlugin','init','includes','change:visibleView','1368330rMEWav','_forceRefresh','_addAnnotationToBalloon','11fcpApD','getClientRects','inline','collapse','add','inlineannotations-attach-already-attached','domConverter','remove','get','register','_selectedAnnotations','getBoundingClientRect','hasView','isAttached','getByView','width','updatePosition','focusTracker','45bLanxT','target','right','mousedown','InlineAnnotations','visibleView','activeAnnotation','14797ilEHaN','blur','destroy','_addedAnnotations','editing','609959UTxIIH','_closeAnnotation','change:isFocused','requires','195080GtQgVA','keystrokes','_manuallyClosed','update','view','24uOtbGn','from','isOfficialPlugin','detach','context','has','isFocused','inlineannotations-detach-not-attached','focus','top','push','listenTo','addObserver','every','717868ZWXXrY','stopListening','6ifDLdJ','getOrderedSelectedAnnotations','afterInit','pluginName','change:height','editableElement','inlineannotations-not-allowed-with-context','isActive','hasActive','_setSelectedAnnotations','set','left','annotations','clear','editor','getFirstRange','document','map'];_0x5359=function(){return _0x46d778;};return _0x5359();}const _0x4bdeff=_0x528a;(function(_0x191894,_0xd83e6b){const _0x3aec65=_0x528a,_0x1508a0=_0x191894();while(!![]){try{const _0x43f108=parseInt(_0x3aec65(0xfc))/0x1*(parseInt(_0x3aec65(0x10a))/0x2)+-parseInt(_0x3aec65(0x133))/0x3+-parseInt(_0x3aec65(0x118))/0x4+parseInt(_0x3aec65(0x13c))/0x5+parseInt(_0x3aec65(0x11a))/0x6*(parseInt(_0x3aec65(0x101))/0x7)+-parseInt(_0x3aec65(0x105))/0x8*(-parseInt(_0x3aec65(0xf5))/0x9)+-parseInt(_0x3aec65(0xe0))/0xa*(parseInt(_0x3aec65(0xe3))/0xb);if(_0x43f108===_0xd83e6b)break;else _0x1508a0['push'](_0x1508a0['shift']());}catch(_0xc19447){_0x1508a0['push'](_0x1508a0['shift']());}}}(_0x5359,0x18dd2));import{Plugin as _0xd339f5}from'ckeditor5/src/core.js';import _0x1bb6f4 from'./annotationsuis.js';import _0x12e66b from'./editorannotations.js';import{ContextualBalloon as _0x1affa6}from'ckeditor5/src/ui.js';import{MouseObserver as _0x139e99}from'ckeditor5/src/engine.js';import{CKEditorError as _0x3fb59f,Rect as _0x50a0af}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';function _0x528a(_0x234f38,_0x448a96){const _0x535940=_0x5359();return _0x528a=function(_0x528a30,_0xafa14){_0x528a30=_0x528a30-0xdf;let _0xa4da14=_0x535940[_0x528a30];return _0xa4da14;},_0x528a(_0x234f38,_0x448a96);}export default class c extends _0xd339f5{static get[_0x4bdeff(0x104)](){return[_0x12e66b,_0x1affa6,_0x1bb6f4];}static get[_0x4bdeff(0x11d)](){const _0x1df510=_0x4bdeff;return _0x1df510(0xf9);}static get[_0x4bdeff(0x10c)](){return!0x0;}static get[_0x4bdeff(0x140)](){return!0x0;}constructor(_0x191606){const _0xfd2995=_0x4bdeff;super(_0x191606),_0x191606[_0xfd2995(0x100)][_0xfd2995(0x109)][_0xfd2995(0x116)](_0x139e99),this[_0xfd2995(0xf0)]=!0x1,this[_0xfd2995(0x124)](_0xfd2995(0xfb),null),this[_0xfd2995(0x126)]=null,this[_0xfd2995(0x107)]=new Set(),this[_0xfd2995(0x135)]=_0x191606[_0xfd2995(0x12c)][_0xfd2995(0xeb)](_0x1affa6),this[_0xfd2995(0xff)]=new Set(),this[_0xfd2995(0xed)]=[],this[_0xfd2995(0xe1)]=!0x1;}[_0x4bdeff(0x141)](){const _0x232e8b=_0x4bdeff,_0x227aa7=this[_0x232e8b(0x128)][_0x232e8b(0x12c)][_0x232e8b(0xeb)](_0x1bb6f4);_0x227aa7[_0x232e8b(0x10e)]===this[_0x232e8b(0x128)]&&(_0x227aa7[_0x232e8b(0xec)](_0x232e8b(0xe5),this),this[_0x232e8b(0x128)][_0x232e8b(0x106)][_0x232e8b(0x124)](_0x232e8b(0x13f),(_0x369476,_0x24de17)=>{const _0x8bbda4=_0x232e8b,_0x5b7cdc=this[_0x8bbda4(0x135)];if(this[_0x8bbda4(0xf0)]&&_0x5b7cdc[_0x8bbda4(0xfa)]){const _0x157a69=this[_0x8bbda4(0x126)][_0x8bbda4(0xf1)](_0x5b7cdc[_0x8bbda4(0xfa)]);_0x157a69&&this[_0x8bbda4(0x102)](_0x157a69),_0x24de17();}}));}[_0x4bdeff(0x11c)](){const _0x44bc3b=_0x4bdeff,_0x3dcf66=this[_0x44bc3b(0x128)][_0x44bc3b(0x12c)][_0x44bc3b(0xeb)](_0x1bb6f4);_0x3dcf66[_0x44bc3b(0x10e)]===this[_0x44bc3b(0x128)]&&(_0x3dcf66[_0x44bc3b(0x122)]()||_0x3dcf66[_0x44bc3b(0x12e)](_0x44bc3b(0xe5)));}[_0x4bdeff(0x132)](_0x3694c7){const _0x56b9a1=_0x4bdeff;_0x3694c7!==this[_0x56b9a1(0xfb)]&&(this[_0x56b9a1(0xfb)]&&(this[_0x56b9a1(0xfb)][_0x56b9a1(0x121)]=!0x1),_0x3694c7&&this[_0x56b9a1(0x128)]['ui'][_0x56b9a1(0xf4)][_0x56b9a1(0x110)]&&(this[_0x56b9a1(0x126)][_0x56b9a1(0x10f)](_0x3694c7)&&this[_0x56b9a1(0xe2)](_0x3694c7,!0x0),_0x3694c7[_0x56b9a1(0x121)]=!0x0),_0x3694c7||this[_0x56b9a1(0x123)]([]),this[_0x56b9a1(0xfb)]=_0x3694c7);}[_0x4bdeff(0x131)](_0x1c636c){const _0x4c82a6=_0x4bdeff;this[_0x4c82a6(0x126)]=_0x1c636c;const _0x49eb47=this[_0x4c82a6(0x128)][_0x4c82a6(0x12c)][_0x4c82a6(0xeb)](_0x1bb6f4),_0xde0793=this[_0x4c82a6(0x135)];if(this[_0x4c82a6(0xf0)])throw new _0x3fb59f(_0x4c82a6(0xe8),this);if(_0x49eb47[_0x4c82a6(0x10e)]!==this[_0x4c82a6(0x128)])throw new _0x3fb59f(_0x4c82a6(0x120),this);const _0x17cfc9=this[_0x4c82a6(0x128)][_0x4c82a6(0x12c)][_0x4c82a6(0xeb)](_0x12e66b);this[_0x4c82a6(0x115)](_0x17cfc9,_0x4c82a6(0x130),()=>{const _0x433a89=_0x4c82a6,_0x207545=_0x17cfc9[_0x433a89(0x11b)]({'annotations':this[_0x433a89(0x126)],'activeAnnotation':this[_0x433a89(0xfb)]});var _0x38b6ff,_0x5a445a;!this[_0x433a89(0xe1)]&&(_0x38b6ff=_0x207545,_0x5a445a=this[_0x433a89(0xed)],_0x38b6ff[_0x433a89(0x138)]===_0x5a445a[_0x433a89(0x138)]&&_0x38b6ff[_0x433a89(0x117)](_0x4db9e6=>_0x5a445a[_0x433a89(0x142)](_0x4db9e6)))||(this[_0x433a89(0xe1)]=!0x1,this[_0x433a89(0x123)](_0x207545),this[_0x433a89(0x132)](_0x207545[0x0]||null));}),this[_0x4c82a6(0x115)](_0x17cfc9,_0x4c82a6(0xfd),(_0x140532,{isAnnotationTracked:_0x123fd6})=>{const _0x554851=_0x4c82a6;this[_0x554851(0xfb)]&&_0x123fd6(this[_0x554851(0xfb)])&&(this[_0x554851(0x123)]([]),this[_0x554851(0x132)](null));}),this[_0x4c82a6(0x115)](this[_0x4c82a6(0x128)]['ui'][_0x4c82a6(0xf4)],_0x4c82a6(0x103),(_0x53e394,_0x9e302c,_0x94b3a6)=>{const _0x4c4250=_0x4c82a6;_0x94b3a6||this[_0x4c4250(0x132)](null);}),this[_0x4c82a6(0x115)](_0x1c636c,_0x4c82a6(0xea),(_0x420233,_0x49033a)=>{const _0x22ec23=_0x4c82a6;this[_0x22ec23(0x139)](_0x49033a),_0x49033a===this[_0x22ec23(0xfb)]&&this[_0x22ec23(0x132)](null);}),this[_0x4c82a6(0x115)](_0xde0793,_0x4c82a6(0xdf),(_0x27944e,_0x525983,_0x29b5c7,_0x3d500d)=>{const _0x77911e=_0x4c82a6;_0x3d500d&&this[_0x77911e(0x119)](_0x3d500d);const _0x4237d5=_0x1c636c[_0x77911e(0xf1)](_0x29b5c7);_0x29b5c7&&_0x4237d5&&(this[_0x77911e(0x115)](_0x29b5c7,_0x77911e(0x11e),()=>{const _0x72ba21=_0x77911e;_0xde0793[_0x72ba21(0xf3)]();}),this[_0x77911e(0x115)](_0x29b5c7,_0x77911e(0x13f),()=>{const _0x25960f=_0x77911e;this[_0x25960f(0x102)](_0x4237d5),this[_0x25960f(0x128)][_0x25960f(0x100)][_0x25960f(0x109)][_0x25960f(0x112)]();}),this[_0x77911e(0xfb)]!==_0x4237d5&&this[_0x77911e(0x132)](_0x4237d5));}),this[_0x4c82a6(0x115)](this[_0x4c82a6(0x128)]['ui'],_0x4c82a6(0x108),()=>{const _0x83ddcb=_0x4c82a6;_0xde0793[_0x83ddcb(0xfa)]&&(_0x1c636c[_0x83ddcb(0xf1)](_0xde0793[_0x83ddcb(0xfa)])&&_0xde0793[_0x83ddcb(0xf3)]());}),this[_0x4c82a6(0x115)](this[_0x4c82a6(0x128)][_0x4c82a6(0x100)][_0x4c82a6(0x109)][_0x4c82a6(0x12a)],_0x4c82a6(0xf8),()=>{const _0x59f2bf=_0x4c82a6;this[_0x59f2bf(0xe1)]=!0x0,this[_0x59f2bf(0x107)][_0x59f2bf(0x127)]();}),this[_0x4c82a6(0x128)][_0x4c82a6(0x100)][_0x4c82a6(0x109)][_0x4c82a6(0x12a)][_0x4c82a6(0x137)][_0x4c82a6(0x11f)]&&this[_0x4c82a6(0x128)][_0x4c82a6(0x100)][_0x4c82a6(0x109)][_0x4c82a6(0x112)](),this[_0x4c82a6(0xf0)]=!0x0;}[_0x4bdeff(0x10d)](){const _0x408add=_0x4bdeff;if(!this[_0x408add(0xf0)])throw new _0x3fb59f(_0x408add(0x111),this);this[_0x408add(0x132)](null);for(const _0xb3043d of this[_0x408add(0xff)])this[_0x408add(0x139)](_0xb3043d);this[_0x408add(0x119)](),this[_0x408add(0xf0)]=!0x1,this[_0x408add(0x126)]=null;}[_0x4bdeff(0xfe)](){const _0x5932ef=_0x4bdeff;this[_0x5932ef(0xf0)]&&this[_0x5932ef(0x10d)]();}[_0x4bdeff(0x123)](_0x44a313){const _0x57bedf=_0x4bdeff;for(const _0x11260c of this[_0x57bedf(0xed)])_0x44a313[_0x57bedf(0x142)](_0x11260c)||this[_0x57bedf(0x107)][_0x57bedf(0x12d)](_0x11260c);for(const _0x17f719 of this[_0x57bedf(0x126)])_0x44a313[_0x57bedf(0x142)](_0x17f719)||this[_0x57bedf(0x139)](_0x17f719);if(this[_0x57bedf(0x128)]['ui'][_0x57bedf(0xf4)][_0x57bedf(0x110)]){for(const _0x35b905 of _0x44a313)this[_0x57bedf(0xe2)](_0x35b905);}this[_0x57bedf(0xed)]=_0x44a313;}[_0x4bdeff(0xe2)](_0x2e5c80,_0x509937=!0x1){const _0x2b4c13=_0x4bdeff;this[_0x2b4c13(0x107)][_0x2b4c13(0x10f)](_0x2e5c80)||(this[_0x2b4c13(0xff)][_0x2b4c13(0x10f)](_0x2e5c80)||this[_0x2b4c13(0x135)][_0x2b4c13(0xef)](_0x2e5c80[_0x2b4c13(0x109)])||(this[_0x2b4c13(0xff)][_0x2b4c13(0xe7)](_0x2e5c80),this[_0x2b4c13(0x135)][_0x2b4c13(0xe7)]({'stackId':_0x2e5c80[_0x2b4c13(0x109)]['id'],'view':_0x2e5c80[_0x2b4c13(0x109)],'position':{'target':()=>this[_0x2b4c13(0x136)](_0x2e5c80)}})),_0x509937&&this[_0x2b4c13(0x135)][_0x2b4c13(0x13b)](_0x2e5c80[_0x2b4c13(0x109)]['id']));}[_0x4bdeff(0x136)](_0x259eb4){const _0x59a37b=_0x4bdeff,_0x2c2287=_0x259eb4[_0x59a37b(0xf6)],_0x3153ec=this[_0x59a37b(0x128)][_0x59a37b(0x100)][_0x59a37b(0x109)],_0x4add1d=_0x3153ec[_0x59a37b(0x12a)][_0x59a37b(0x137)][_0x59a37b(0x129)](),_0x41feba=_0x3153ec[_0x59a37b(0xe9)][_0x59a37b(0x13a)](_0x4add1d);if(_0x41feba[_0x59a37b(0xe6)](!0x0),_0x2c2287){if(_0x2c2287 instanceof _0x50a0af)return _0x2c2287;let _0x47d14b=[];for(const _0x5ba530 of _0x2c2287)_0x47d14b[_0x59a37b(0x114)](...(_0x1ca26d=_0x5ba530[_0x59a37b(0xe4)](),Array[_0x59a37b(0x10b)](_0x1ca26d)[_0x59a37b(0x12b)](DOMRect[_0x59a37b(0x12f)])));_0x47d14b=function(_0x522dbc){const _0x7ddf6=_0x59a37b,_0x23ca18=[];let _0x5a0851=_0x522dbc[0x0];for(let _0x3a4957=0x1;_0x3a4957<_0x522dbc[_0x7ddf6(0x138)];_0x3a4957++)b(_0x5a0851,_0x522dbc[_0x3a4957])?_0x5a0851[_0x7ddf6(0xf2)]+=_0x522dbc[_0x3a4957][_0x7ddf6(0xf2)]:(_0x23ca18[_0x7ddf6(0x114)](_0x5a0851),_0x5a0851=_0x522dbc[_0x3a4957]);return _0x23ca18[_0x7ddf6(0x114)](_0x5a0851),_0x23ca18;}(_0x47d14b);const _0x38d462=_0x41feba[_0x59a37b(0xee)]();return _0x47d14b[_0x59a37b(0x134)](_0x567544=>_0x567544[_0x59a37b(0x113)]<=_0x38d462[_0x59a37b(0x113)]&&_0x567544[_0x59a37b(0x13d)]>=_0x38d462[_0x59a37b(0x13d)]&&_0x567544[_0x59a37b(0x125)]<=_0x38d462[_0x59a37b(0x125)]&&_0x567544[_0x59a37b(0xf7)]>=_0x38d462[_0x59a37b(0xf7)])||_0x47d14b[0x0];}var _0x1ca26d;return _0x259eb4[_0x59a37b(0x13e)]||_0x41feba;}[_0x4bdeff(0x139)](_0x17ca96){const _0x1f283e=_0x4bdeff;this[_0x1f283e(0xff)][_0x1f283e(0x10f)](_0x17ca96)&&this[_0x1f283e(0x135)][_0x1f283e(0xef)](_0x17ca96[_0x1f283e(0x109)])&&(this[_0x1f283e(0xff)][_0x1f283e(0x12d)](_0x17ca96),this[_0x1f283e(0x135)][_0x1f283e(0xea)](_0x17ca96[_0x1f283e(0x109)]));}[_0x4bdeff(0x102)](_0xb770e8){const _0x63404=_0x4bdeff;this[_0x63404(0x107)][_0x63404(0xe7)](_0xb770e8),this[_0x63404(0x139)](_0xb770e8);}}function b(_0x39c796,_0x5990e3){const _0x1a3b7e=_0x4bdeff;return _0x39c796[_0x1a3b7e(0x113)]===_0x5990e3[_0x1a3b7e(0x113)]&&_0x39c796[_0x1a3b7e(0x13d)]===_0x5990e3[_0x1a3b7e(0x13d)]&&_0x39c796[_0x1a3b7e(0xf7)]===_0x5990e3[_0x1a3b7e(0x125)];}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4b5b3f=_0x518a;(function(_0x4f0a80,_0x50316f){const _0x520a95=_0x518a,_0x1ee0f1=_0x4f0a80();while(!![]){try{const _0x4ef113=-parseInt(_0x520a95(0x13c))/0x1+parseInt(_0x520a95(0x10f))/0x2*(parseInt(_0x520a95(0xf8))/0x3)+-parseInt(_0x520a95(0x151))/0x4*(parseInt(_0x520a95(0xe0))/0x5)+-parseInt(_0x520a95(0x103))/0x6*(parseInt(_0x520a95(0x12d))/0x7)+-parseInt(_0x520a95(0xec))/0x8+-parseInt(_0x520a95(0x146))/0x9*(-parseInt(_0x520a95(0x141))/0xa)+parseInt(_0x520a95(0x117))/0xb*(parseInt(_0x520a95(0xe5))/0xc);if(_0x4ef113===_0x50316f)break;else _0x1ee0f1['push'](_0x1ee0f1['shift']());}catch(_0x2f2d9c){_0x1ee0f1['push'](_0x1ee0f1['shift']());}}}(_0x42e6,0xdbd29));function _0x42e6(){const _0x9fbb8f=['hasDomSelection','set:container','14251932ZBVBYP','isAttached','attachToDom','create','southArrowNorthEast','target','element','editors','bodyCollection','preventDefault','keyCode','8hcLmCA','off','annotations','northArrowSouth','_integrateWithEditorAnnotations','focus','getByView','getOrderedSelectedAnnotations','ck-sidebar--narrow','narrowsidebar-detach-not-attached','stopListening','isDirty','length','1510840cMgIVU','ready','_domEmitter','delete','execute','12XEnQwh','low','get','balloonPanelView','cancel','register','isOfficialPlugin','9432184mWhjMJ','focusableElements','detach','_hideBalloon','detachFromDom','Esc','init','uiUpdate','context','rearrange','stop','defaultPositions','308259BXJAvj','esc','listenTo','bind','contains','attach','_editorAnnotations','isVisible','preventClosingBalloon','content','_refreshPositioningDebounced','18dFJIzv','_destroyEditorAnnotationsIntegration','mousedown','annotationType','unpin','view','_attachToContainer','_annotationToNarrowView','high','has','type','clear','10HpQCnF','number','_annotations','resize','plugins','getSidebarItemView','remove','narrowSidebar','16443757XfwYBJ','change:container','northArrowSouthEast','_setSelectedAnnotations','pluginName','find','set','_showBalloon','_updateBalloonPosition','EditorAnnotations','includes','requires','values','pin','southArrowNorth','NarrowSidebar','isPremiumPlugin','first','blur','change:height','northArrowSouthWest','southArrowNorthWest','1705389GEfGjC','_attachListeners','_refreshPositioning','_manuallyClosedAnnotationViews','add','destroy','keydown','activeAnnotation','stopPropagation','removeEventListener','from','narrowsidebar-attach-already-attached','_detachListeners','_selectedAnnotations','_detachFromContainer','177567qUMLQv','refreshPositioning','addEventListener','addAnnotation','locale','10sBZaWl','refresh','setActiveAnnotation'];_0x42e6=function(){return _0x9fbb8f;};return _0x42e6();}function _0x518a(_0x359f17,_0x4777cf){const _0x42e671=_0x42e6();return _0x518a=function(_0x518a74,_0x40e475){_0x518a74=_0x518a74-0xd8;let _0x748d53=_0x42e671[_0x518a74];return _0x748d53;},_0x518a(_0x359f17,_0x4777cf);}import{ContextPlugin as _0x459294,Context as _0x47a3db}from'ckeditor5/src/core.js';import _0x471048 from'./annotationsuis.js';import _0x5f2a0b from'./sidebar.js';import _0xf5874f from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x51e3af,BodyCollection as _0x13aeff}from'ckeditor5/src/ui.js';import{CKEditorError as _0x1792c1,DomEmitterMixin as _0x26d223,keyCodes as _0x3c6ecb,Collection as _0x1f238c}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x59a48d}from'lodash-es';export default class n extends _0x459294{static get[_0x4b5b3f(0x122)](){return[_0x5f2a0b,_0x471048];}static get[_0x4b5b3f(0x11b)](){const _0x39b960=_0x4b5b3f;return _0x39b960(0x126);}static get[_0x4b5b3f(0xeb)](){return!0x0;}static get[_0x4b5b3f(0x127)](){return!0x0;}constructor(_0x421c92){const _0x5b2cb0=_0x4b5b3f;super(_0x421c92),this[_0x5b2cb0(0x147)]=!0x1,this[_0x5b2cb0(0x130)]=new Set(),this[_0x5b2cb0(0xe2)]=Object[_0x5b2cb0(0x149)](_0x26d223),this[_0x5b2cb0(0x10a)]=new Map(),this[_0x5b2cb0(0x11d)](_0x5b2cb0(0x134),null),this[_0x5b2cb0(0x153)]=null,this[_0x5b2cb0(0x13a)]=[],this[_0x5b2cb0(0xfe)]=new _0x1f238c(),this[_0x5b2cb0(0x102)]=_0x59a48d(()=>{const _0x23126e=_0x5b2cb0;this[_0x23126e(0x12f)]();},0xfa,{'leading':!0x1});}[_0x4b5b3f(0xf2)](){const _0x1f496d=_0x4b5b3f;this[_0x1f496d(0xf4)][_0x1f496d(0x113)][_0x1f496d(0xe7)](_0x471048)[_0x1f496d(0xea)](_0x1f496d(0x116),this),this[_0x1f496d(0x14e)]=new _0x13aeff(this[_0x1f496d(0xf4)][_0x1f496d(0x140)]),this[_0x1f496d(0xe8)]=new _0x51e3af(this[_0x1f496d(0xf4)][_0x1f496d(0x140)]),this[_0x1f496d(0x14e)][_0x1f496d(0x148)](),this[_0x1f496d(0x14e)][_0x1f496d(0x131)](this[_0x1f496d(0xe8)]);}[_0x4b5b3f(0xfd)](_0x24e6ba){const _0x21bde2=_0x4b5b3f;this[_0x21bde2(0x153)]=_0x24e6ba;const _0x182e0d=this[_0x21bde2(0xf4)][_0x21bde2(0x113)][_0x21bde2(0xe7)](_0x5f2a0b),_0x240bfe=this[_0x21bde2(0xe8)];if(_0x182e0d[_0x21bde2(0x111)]=_0x24e6ba,this[_0x21bde2(0x147)])throw new _0x1792c1(_0x21bde2(0x138),this);this[_0x21bde2(0x147)]=!0x0,this[_0x21bde2(0xfa)](_0x182e0d,_0x21bde2(0x145),()=>{const _0x369520=_0x21bde2;this[_0x369520(0xee)](),this[_0x369520(0xfa)](_0x182e0d,_0x369520(0x118),_0x151b48=>{const _0x29273b=_0x369520;_0x151b48[_0x29273b(0x152)](),this[_0x29273b(0xfd)](_0x24e6ba);});}),_0x182e0d[_0x21bde2(0x109)]({'viewClass':_0x21bde2(0xdb),'spaceBetweenItems':0x5});const _0x4abe2c=_0x29f1d1=>{const _0x5b620e=_0x21bde2,_0x453b4e=new _0xf5874f(this[_0x5b620e(0xf4)][_0x5b620e(0x140)]);_0x182e0d[_0x5b620e(0x13f)](_0x29f1d1,_0x453b4e),this[_0x5b620e(0x10a)][_0x5b620e(0x11d)](_0x29f1d1,_0x453b4e),_0x453b4e[_0x5b620e(0xfb)](_0x5b620e(0xde),_0x5b620e(0x106),_0x5b620e(0x110))['to'](_0x29f1d1[_0x5b620e(0x108)],_0x5b620e(0xde),_0x5b620e(0x10d),_0x5b620e(0xdf)),_0x453b4e['on'](_0x5b620e(0xe4),()=>{const _0x141220=_0x5b620e;this[_0x141220(0x130)][_0x141220(0x10e)](),_0x240bfe[_0x141220(0x101)][_0x141220(0x128)]!==_0x29f1d1[_0x141220(0x108)]?(this[_0x141220(0x11e)](_0x29f1d1),_0x29f1d1[_0x141220(0x108)][_0x141220(0x14c)][_0x141220(0xd8)](),this[_0x141220(0x143)](_0x29f1d1)):this[_0x141220(0x143)](null);});};for(const _0x32fdf9 of _0x24e6ba)_0x4abe2c(_0x32fdf9);this[_0x21bde2(0xfa)](_0x24e6ba,_0x21bde2(0x131),(_0xe224e8,_0x2f8845)=>{_0x4abe2c(_0x2f8845);}),this[_0x21bde2(0xfa)](_0x24e6ba,_0x21bde2(0x115),(_0x4585da,_0xdff714,_0x352121)=>{const _0x2e05ae=_0x21bde2;this[_0x2e05ae(0x10a)][_0x2e05ae(0xe7)](_0xdff714)[_0x2e05ae(0x132)](),this[_0x2e05ae(0x10a)][_0x2e05ae(0xe3)](_0xdff714),_0x182e0d[_0x2e05ae(0xf5)]({'removedAnnotation':_0xdff714,'previousAnnotation':_0x24e6ba[_0x2e05ae(0xe7)](_0x352121-0x1),'nextAnnotation':_0x24e6ba[_0x2e05ae(0xe7)](_0x352121+0x1)}),_0xdff714===this[_0x2e05ae(0x134)]&&this[_0x2e05ae(0x143)](null);},{'priority':_0x21bde2(0xe6)}),this[_0x21bde2(0xfa)](_0x24e6ba,_0x21bde2(0xd8),(_0x5261e1,_0x29918f)=>{const _0x59c62f=_0x21bde2;this[_0x59c62f(0x143)](_0x29918f);}),this[_0x21bde2(0xfa)](_0x24e6ba,_0x21bde2(0x129),()=>{const _0x100be4=_0x21bde2;this[_0x100be4(0x143)](null);}),this[_0x21bde2(0xe2)][_0x21bde2(0xfa)](document,_0x21bde2(0x133),(_0x2886e1,_0x4ff573)=>{const _0x159567=_0x21bde2;_0x4ff573[_0x159567(0x150)]===_0x3c6ecb[_0x159567(0xf9)]&&_0x240bfe[_0x159567(0xff)]&&(this[_0x159567(0x130)][_0x159567(0x131)](_0x240bfe[_0x159567(0x101)][_0x159567(0x128)]),this[_0x159567(0xef)](),_0x4ff573[_0x159567(0x135)](),_0x4ff573[_0x159567(0x14f)]());}),this[_0x21bde2(0xe2)][_0x21bde2(0xfa)](document,_0x21bde2(0x105),(_0x3436f0,_0x50f43e)=>{const _0x30b4fd=_0x21bde2,_0x14ba82=_0x50f43e[_0x30b4fd(0x14b)];_0x240bfe[_0x30b4fd(0xff)]&&_0x240bfe[_0x30b4fd(0x14c)][_0x30b4fd(0xfc)](_0x14ba82)||_0x182e0d[_0x30b4fd(0x108)][_0x30b4fd(0x14c)][_0x30b4fd(0xfc)](_0x14ba82)||_0x3436f0[_0x30b4fd(0x100)]||this[_0x30b4fd(0x134)]&&this[_0x30b4fd(0x134)][_0x30b4fd(0xed)][_0x30b4fd(0x11c)](_0x37318a=>_0x37318a[_0x30b4fd(0xfc)](_0x14ba82))||(this[_0x30b4fd(0x130)][_0x30b4fd(0x10e)](),this[_0x30b4fd(0xef)](),this[_0x30b4fd(0x143)](null));});const _0x5519b2=this[_0x21bde2(0xf4)]instanceof _0x47a3db?this[_0x21bde2(0xf4)][_0x21bde2(0x14d)]:new _0x1f238c([this[_0x21bde2(0xf4)]]);for(const _0x3cdbcd of _0x5519b2)this[_0x21bde2(0x155)](_0x3cdbcd);this[_0x21bde2(0xfa)](_0x5519b2,_0x21bde2(0x131),(_0x47fae8,_0x1ac929)=>{const _0x354b1d=_0x21bde2;this[_0x354b1d(0xfa)](_0x1ac929,_0x354b1d(0xe1),()=>{const _0x229bdb=_0x354b1d;this[_0x229bdb(0x155)](_0x1ac929);});}),this[_0x21bde2(0xfa)](_0x5519b2,_0x21bde2(0x115),(_0x1ad86a,_0x57b0a9)=>{const _0x4e3145=_0x21bde2;_0x57b0a9[_0x4e3145(0x113)][_0x4e3145(0x10c)](_0x4e3145(0x120))&&this[_0x4e3145(0x104)](_0x57b0a9[_0x4e3145(0x113)][_0x4e3145(0xe7)](_0x4e3145(0x120)));}),window[_0x21bde2(0x13e)](_0x21bde2(0x112),this[_0x21bde2(0x102)]),this[_0x21bde2(0x12f)]();}[_0x4b5b3f(0x143)](_0x538025){const _0x41f448=_0x4b5b3f;if(_0x538025===this[_0x41f448(0x134)])return;const _0x45dbd6=this[_0x41f448(0xf4)][_0x41f448(0x113)][_0x41f448(0xe7)](_0x5f2a0b);if(_0x45dbd6[_0x41f448(0x142)]({'blurredAnnotation':this[_0x41f448(0x134)],'activatedAnnotation':_0x538025,'disableAnimationOnActivatedAnnotation':!0x0}),_0x538025)_0x45dbd6[_0x41f448(0x114)](_0x538025)?this[_0x41f448(0x11e)](_0x538025):this[_0x41f448(0xef)]();else this[_0x41f448(0xef)]();this[_0x41f448(0x134)]=_0x538025;}[_0x4b5b3f(0xee)](){const _0x11b324=_0x4b5b3f;if(!this[_0x11b324(0x147)])throw new _0x1792c1(_0x11b324(0xdc),this);this[_0x11b324(0x143)](null);const _0x228c53=this[_0x11b324(0xf4)][_0x11b324(0x113)][_0x11b324(0xe7)](_0x5f2a0b);this[_0x11b324(0xef)](),Array[_0x11b324(0x137)](this[_0x11b324(0x10a)][_0x11b324(0x123)](),_0x4b4d22=>_0x4b4d22[_0x11b324(0x132)]()),this[_0x11b324(0x10a)][_0x11b324(0x10e)](),_0x228c53[_0x11b324(0x13b)](this[_0x11b324(0x153)]),this[_0x11b324(0xdd)](),this[_0x11b324(0xe2)][_0x11b324(0xdd)](),this[_0x11b324(0xf4)]instanceof _0x47a3db&&this[_0x11b324(0xdd)](this[_0x11b324(0xf4)][_0x11b324(0x14d)]);for(const _0x38b495 of Array[_0x11b324(0x137)](this[_0x11b324(0xfe)]))this[_0x11b324(0x104)](_0x38b495);window[_0x11b324(0x136)](_0x11b324(0x112),this[_0x11b324(0x102)]),this[_0x11b324(0x102)][_0x11b324(0xe9)](),this[_0x11b324(0x13a)]=[],this[_0x11b324(0x147)]=!0x1,this[_0x11b324(0x153)]=null;}[_0x4b5b3f(0x132)](){const _0x1b4b2e=_0x4b5b3f;this[_0x1b4b2e(0x147)]&&this[_0x1b4b2e(0xee)](),this[_0x1b4b2e(0x14e)][_0x1b4b2e(0xf0)]();}[_0x4b5b3f(0x155)](_0x5932c7){const _0x50f9be=_0x4b5b3f;if(!_0x5932c7[_0x50f9be(0x113)][_0x50f9be(0x10c)](_0x50f9be(0x120)))return;const _0x1a062c=_0x5932c7[_0x50f9be(0x113)][_0x50f9be(0xe7)](_0x50f9be(0x120)),_0x407b45=this[_0x50f9be(0xf4)][_0x50f9be(0x113)][_0x50f9be(0xe7)](_0x5f2a0b),_0x5837d7=this[_0x50f9be(0x153)],_0x175309=this[_0x50f9be(0xe8)],_0x3658f7=()=>{const _0x2e7b41=_0x50f9be,_0x398422=_0x1a062c[_0x2e7b41(0xda)]({'annotations':this[_0x2e7b41(0x153)],'activeAnnotation':this[_0x2e7b41(0x134)]});this[_0x2e7b41(0x11a)](_0x398422),this[_0x2e7b41(0x143)](_0x398422[0x0]||null);};this[_0x50f9be(0xfa)](_0x1a062c,_0x50f9be(0x142),_0x3658f7),this[_0x50f9be(0xfa)](_0x1a062c,_0x50f9be(0x129),(_0x4fe617,{isAnnotationTracked:_0x2fca33})=>{const _0x171c44=_0x50f9be;this[_0x171c44(0x134)]&&_0x2fca33(this[_0x171c44(0x134)])&&(this[_0x171c44(0x11a)]([]),this[_0x171c44(0x143)](null));}),this[_0x50f9be(0xfa)](_0x1a062c,_0x50f9be(0xf3),()=>{const _0x5ab160=_0x50f9be;this[_0x5ab160(0x102)]();}),this[_0x50f9be(0xfa)](_0x5837d7,_0x50f9be(0x129),_0x28cb98=>{const _0x3260d9=_0x50f9be;_0x1a062c[_0x3260d9(0x144)]()&&_0x28cb98[_0x3260d9(0xf6)]();},{'priority':_0x50f9be(0x10b)}),this[_0x50f9be(0xfa)](this[_0x50f9be(0xe2)],_0x50f9be(0x105),(_0x204465,_0x2c2258)=>{const _0x7c29a0=_0x50f9be,_0x265825=_0x2c2258[_0x7c29a0(0x14b)];_0x175309[_0x7c29a0(0xff)]&&_0x175309[_0x7c29a0(0x14c)][_0x7c29a0(0xfc)](_0x265825)||_0x407b45[_0x7c29a0(0x108)][_0x7c29a0(0x14c)][_0x7c29a0(0xfc)](_0x265825)||this[_0x7c29a0(0x134)]&&_0x1a062c[_0x7c29a0(0x144)]()&&(_0x3658f7(),_0x204465[_0x7c29a0(0x100)]=!0x0);},{'priority':_0x50f9be(0x10b)}),this[_0x50f9be(0xfe)][_0x50f9be(0x131)](_0x1a062c);}[_0x4b5b3f(0x104)](_0x3d2f){const _0x18cabb=_0x4b5b3f;_0x3d2f&&(this[_0x18cabb(0xdd)](_0x3d2f),this[_0x18cabb(0xfe)][_0x18cabb(0x115)](_0x3d2f));}[_0x4b5b3f(0x11a)](_0x417efe){const _0x10701e=_0x4b5b3f;for(const _0x502fb6 of this[_0x10701e(0x13a)])_0x417efe[_0x10701e(0x121)](_0x502fb6)||this[_0x10701e(0x130)][_0x10701e(0xe3)](_0x502fb6[_0x10701e(0x108)]);this[_0x10701e(0x13a)]=_0x417efe;}[_0x4b5b3f(0x12f)](){const _0x2b6928=_0x4b5b3f,_0x59b6ea=this[_0x2b6928(0xe8)];this[_0x2b6928(0x153)][_0x2b6928(0x13d)](),_0x59b6ea[_0x2b6928(0xff)]&&this[_0x2b6928(0x11f)]();}[_0x4b5b3f(0x11e)](_0x4c3043){const _0x2852c4=_0x4b5b3f;if(this[_0x2852c4(0x130)][_0x2852c4(0x10c)](_0x4c3043[_0x2852c4(0x108)]))return;const _0xc84093=this[_0x2852c4(0xe8)][_0x2852c4(0x101)][_0x2852c4(0x128)];_0xc84093!==_0x4c3043[_0x2852c4(0x108)]?(_0xc84093&&this[_0x2852c4(0x139)](_0xc84093),this[_0x2852c4(0x12e)](_0x4c3043[_0x2852c4(0x108)]),this[_0x2852c4(0xe8)][_0x2852c4(0x101)][_0x2852c4(0x10e)](),this[_0x2852c4(0xe8)][_0x2852c4(0x101)][_0x2852c4(0x131)](_0x4c3043[_0x2852c4(0x108)]),this[_0x2852c4(0x11f)]()):this[_0x2852c4(0x11f)]();}[_0x4b5b3f(0x11f)](){const _0x584118=_0x4b5b3f,_0x5b6d19=this[_0x584118(0xe8)][_0x584118(0x101)][_0x584118(0x128)],_0x5c33ee=_0x5b6d19&&this[_0x584118(0x153)][_0x584118(0xd9)](_0x5b6d19);if(!_0x5c33ee||!this[_0x584118(0x10a)][_0x584118(0x10c)](_0x5c33ee))return;const _0x25efc2=this[_0x584118(0x10a)][_0x584118(0xe7)](_0x5c33ee)[_0x584118(0x14c)],_0x3b3f65=(function(){const _0x5040fb=_0x584118,_0x2268a2=_0x51e3af[_0x5040fb(0xf7)];return[_0x2268a2[_0x5040fb(0x14a)],_0x2268a2[_0x5040fb(0x119)],_0x2268a2[_0x5040fb(0x125)],_0x2268a2[_0x5040fb(0x154)],_0x2268a2[_0x5040fb(0x12c)],_0x2268a2[_0x5040fb(0x12b)]];}());this[_0x584118(0xe8)][_0x584118(0x124)]({'target':_0x25efc2,'positions':_0x3b3f65});}[_0x4b5b3f(0xef)](){const _0x384c12=_0x4b5b3f,_0x3f7146=this[_0x384c12(0xe8)],_0x47474b=_0x3f7146[_0x384c12(0x101)][_0x384c12(0x128)];_0x47474b&&(this[_0x384c12(0x139)](_0x47474b),_0x3f7146[_0x384c12(0x107)](),_0x3f7146[_0x384c12(0x101)][_0x384c12(0x10e)]());}[_0x4b5b3f(0x12e)](_0xf35ed9){const _0x13368d=_0x4b5b3f;this[_0x13368d(0xfa)](_0xf35ed9,_0x13368d(0x12a),()=>this[_0x13368d(0x11f)]()),this[_0x13368d(0xfa)](_0xf35ed9,_0x13368d(0xf1),(_0x58aec9,_0x9e71e4)=>{const _0x51cf38=_0x13368d;this[_0x51cf38(0x130)][_0x51cf38(0x131)](_0xf35ed9),this[_0x51cf38(0xef)](),_0x9e71e4();});}[_0x4b5b3f(0x139)](_0x40cced){const _0x51f0a7=_0x4b5b3f;this[_0x51f0a7(0xdd)](_0x40cced);}}
|
|
23
|
+
const _0x2a3130=_0x3ff2;(function(_0x2655cf,_0x58ac48){const _0x55dd7f=_0x3ff2,_0x5a24b9=_0x2655cf();while(!![]){try{const _0x14d3b8=parseInt(_0x55dd7f(0x139))/0x1*(parseInt(_0x55dd7f(0x170))/0x2)+parseInt(_0x55dd7f(0x14b))/0x3*(parseInt(_0x55dd7f(0x147))/0x4)+parseInt(_0x55dd7f(0x16e))/0x5+-parseInt(_0x55dd7f(0x15d))/0x6+parseInt(_0x55dd7f(0x1aa))/0x7*(-parseInt(_0x55dd7f(0x165))/0x8)+-parseInt(_0x55dd7f(0x13a))/0x9+-parseInt(_0x55dd7f(0x179))/0xa*(-parseInt(_0x55dd7f(0x149))/0xb);if(_0x14d3b8===_0x58ac48)break;else _0x5a24b9['push'](_0x5a24b9['shift']());}catch(_0xd34297){_0x5a24b9['push'](_0x5a24b9['shift']());}}}(_0x359c,0x5065b));import{ContextPlugin as _0x5b323f,Context as _0x285d7e}from'ckeditor5/src/core.js';import _0xd0a805 from'./annotationsuis.js';import _0x4351b8 from'./sidebar.js';function _0x359c(){const _0x27e0d9=['set:container','_updateBalloonPosition','target','_attachListeners','_showBalloon','3354000ezPLru','add','narrowSidebar','from','southArrowNorthEast','remove','getOrderedSelectedAnnotations','northArrowSouthEast','262952SyuDzO','northArrowSouth','off','length','blur','_selectedAnnotations','create','Esc','setActiveAnnotation','1548790yqeZBf','init','14IAcIgR','stopListening','annotationType','_editorAnnotations','_setSelectedAnnotations','stop','narrowsidebar-attach-already-attached','balloonPanelView','isVisible','30770zRWByO','getSidebarItemView','annotations','values','removeEventListener','cancel','keydown','context','plugins','_refreshPositioning','activeAnnotation','hasDomSelection','ready','EditorAnnotations','element','pin','detachFromDom','delete','defaultPositions','high','attach','destroy','keyCode','has','uiUpdate','_annotations','isAttached','_hideBalloon','find','_integrateWithEditorAnnotations','stopPropagation','NarrowSidebar','contains','_destroyEditorAnnotationsIntegration','first','isPremiumPlugin','getByView','editors','_detachListeners','change:height','execute','isOfficialPlugin','addEventListener','refresh','type','listenTo','register','bodyCollection','mousedown','119YBYSkB','detach','unpin','_annotationToNarrowView','clear','number','_refreshPositioningDebounced','content','refreshPositioning','set','view','focus','20326suniiX','3244797bAQvoa','change:container','ck-sidebar--narrow','locale','_detachFromContainer','isDirty','pluginName','narrowsidebar-detach-not-attached','_manuallyClosedAnnotationViews','preventDefault','low','northArrowSouthWest','requires','8idxIuU','bind','2563OFDSJC','attachToDom','957948mFjEXN','get','preventClosingBalloon','southArrowNorth','esc','rearrange','_domEmitter','resize','_attachToContainer','southArrowNorthWest','addAnnotation','includes','focusableElements'];_0x359c=function(){return _0x27e0d9;};return _0x359c();}import _0x3ae612 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x5e6391,BodyCollection as _0x5e87b9}from'ckeditor5/src/ui.js';function _0x3ff2(_0x19a454,_0x24252f){const _0x359c65=_0x359c();return _0x3ff2=function(_0x3ff22f,_0x158e7c){_0x3ff22f=_0x3ff22f-0x133;let _0xeb30af=_0x359c65[_0x3ff22f];return _0xeb30af;},_0x3ff2(_0x19a454,_0x24252f);}import{CKEditorError as _0x43cfc8,DomEmitterMixin as _0x1170e9,keyCodes as _0x2ad185,Collection as _0x544c63}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x419624}from'lodash-es';export default class n extends _0x5b323f{static get[_0x2a3130(0x146)](){return[_0x4351b8,_0xd0a805];}static get[_0x2a3130(0x140)](){const _0x2aab03=_0x2a3130;return _0x2aab03(0x198);}static get[_0x2a3130(0x1a2)](){return!0x0;}static get[_0x2a3130(0x19c)](){return!0x0;}constructor(_0x40e3a4){const _0x5d89e0=_0x2a3130;super(_0x40e3a4),this[_0x5d89e0(0x193)]=!0x1,this[_0x5d89e0(0x142)]=new Set(),this[_0x5d89e0(0x151)]=Object[_0x5d89e0(0x16b)](_0x1170e9),this[_0x5d89e0(0x1ad)]=new Map(),this[_0x5d89e0(0x136)](_0x5d89e0(0x183),null),this[_0x5d89e0(0x17b)]=null,this[_0x5d89e0(0x16a)]=[],this[_0x5d89e0(0x173)]=new _0x544c63(),this[_0x5d89e0(0x133)]=_0x419624(()=>{const _0xace912=_0x5d89e0;this[_0xace912(0x182)]();},0xfa,{'leading':!0x1});}[_0x2a3130(0x16f)](){const _0x2dbc21=_0x2a3130;this[_0x2dbc21(0x180)][_0x2dbc21(0x181)][_0x2dbc21(0x14c)](_0xd0a805)[_0x2dbc21(0x1a7)](_0x2dbc21(0x15f),this),this[_0x2dbc21(0x1a8)]=new _0x5e87b9(this[_0x2dbc21(0x180)][_0x2dbc21(0x13d)]),this[_0x2dbc21(0x177)]=new _0x5e6391(this[_0x2dbc21(0x180)][_0x2dbc21(0x13d)]),this[_0x2dbc21(0x1a8)][_0x2dbc21(0x14a)](),this[_0x2dbc21(0x1a8)][_0x2dbc21(0x15e)](this[_0x2dbc21(0x177)]);}[_0x2a3130(0x18d)](_0x329f5a){const _0x4afc84=_0x2a3130;this[_0x4afc84(0x17b)]=_0x329f5a;const _0x4863d3=this[_0x4afc84(0x180)][_0x4afc84(0x181)][_0x4afc84(0x14c)](_0x4351b8),_0x521080=this[_0x4afc84(0x177)];if(_0x4863d3[_0x4afc84(0x192)]=_0x329f5a,this[_0x4afc84(0x193)])throw new _0x43cfc8(_0x4afc84(0x176),this);this[_0x4afc84(0x193)]=!0x0,this[_0x4afc84(0x1a6)](_0x4863d3,_0x4afc84(0x158),()=>{const _0x281932=_0x4afc84;this[_0x281932(0x1ab)](),this[_0x281932(0x1a6)](_0x4863d3,_0x281932(0x13b),_0x33996a=>{const _0x1ea3ac=_0x281932;_0x33996a[_0x1ea3ac(0x167)](),this[_0x1ea3ac(0x18d)](_0x329f5a);});}),_0x4863d3[_0x4afc84(0x153)]({'viewClass':_0x4afc84(0x13c),'spaceBetweenItems':0x5});const _0x5af653=_0xa9edf1=>{const _0x17c9aa=_0x4afc84,_0x3bac20=new _0x3ae612(this[_0x17c9aa(0x180)][_0x17c9aa(0x13d)]);_0x4863d3[_0x17c9aa(0x155)](_0xa9edf1,_0x3bac20),this[_0x17c9aa(0x1ad)][_0x17c9aa(0x136)](_0xa9edf1,_0x3bac20),_0x3bac20[_0x17c9aa(0x148)](_0x17c9aa(0x13f),_0x17c9aa(0x172),_0x17c9aa(0x1af))['to'](_0xa9edf1[_0x17c9aa(0x137)],_0x17c9aa(0x13f),_0x17c9aa(0x1a5),_0x17c9aa(0x168)),_0x3bac20['on'](_0x17c9aa(0x1a1),()=>{const _0x59a8ad=_0x17c9aa;this[_0x59a8ad(0x142)][_0x59a8ad(0x1ae)](),_0x521080[_0x59a8ad(0x134)][_0x59a8ad(0x19b)]!==_0xa9edf1[_0x59a8ad(0x137)]?(this[_0x59a8ad(0x15c)](_0xa9edf1),_0xa9edf1[_0x59a8ad(0x137)][_0x59a8ad(0x187)][_0x59a8ad(0x138)](),this[_0x59a8ad(0x16d)](_0xa9edf1)):this[_0x59a8ad(0x16d)](null);});};for(const _0x4ac17c of _0x329f5a)_0x5af653(_0x4ac17c);this[_0x4afc84(0x1a6)](_0x329f5a,_0x4afc84(0x15e),(_0xade34f,_0xdb1a5d)=>{_0x5af653(_0xdb1a5d);}),this[_0x4afc84(0x1a6)](_0x329f5a,_0x4afc84(0x162),(_0x397696,_0x161dac,_0x36e61a)=>{const _0x219f16=_0x4afc84;this[_0x219f16(0x1ad)][_0x219f16(0x14c)](_0x161dac)[_0x219f16(0x18e)](),this[_0x219f16(0x1ad)][_0x219f16(0x18a)](_0x161dac),_0x4863d3[_0x219f16(0x150)]({'removedAnnotation':_0x161dac,'previousAnnotation':_0x329f5a[_0x219f16(0x14c)](_0x36e61a-0x1),'nextAnnotation':_0x329f5a[_0x219f16(0x14c)](_0x36e61a+0x1)}),_0x161dac===this[_0x219f16(0x183)]&&this[_0x219f16(0x16d)](null);},{'priority':_0x4afc84(0x144)}),this[_0x4afc84(0x1a6)](_0x329f5a,_0x4afc84(0x138),(_0x392b03,_0x5c79b7)=>{const _0x1afab1=_0x4afc84;this[_0x1afab1(0x16d)](_0x5c79b7);}),this[_0x4afc84(0x1a6)](_0x329f5a,_0x4afc84(0x169),()=>{const _0x5171a7=_0x4afc84;this[_0x5171a7(0x16d)](null);}),this[_0x4afc84(0x151)][_0x4afc84(0x1a6)](document,_0x4afc84(0x17f),(_0x28ec17,_0x174b8e)=>{const _0x1a89d5=_0x4afc84;_0x174b8e[_0x1a89d5(0x18f)]===_0x2ad185[_0x1a89d5(0x14f)]&&_0x521080[_0x1a89d5(0x178)]&&(this[_0x1a89d5(0x142)][_0x1a89d5(0x15e)](_0x521080[_0x1a89d5(0x134)][_0x1a89d5(0x19b)]),this[_0x1a89d5(0x194)](),_0x174b8e[_0x1a89d5(0x197)](),_0x174b8e[_0x1a89d5(0x143)]());}),this[_0x4afc84(0x151)][_0x4afc84(0x1a6)](document,_0x4afc84(0x1a9),(_0x464699,_0x3c2fb8)=>{const _0x1caab8=_0x4afc84,_0x270e82=_0x3c2fb8[_0x1caab8(0x15a)];_0x521080[_0x1caab8(0x178)]&&_0x521080[_0x1caab8(0x187)][_0x1caab8(0x199)](_0x270e82)||_0x4863d3[_0x1caab8(0x137)][_0x1caab8(0x187)][_0x1caab8(0x199)](_0x270e82)||_0x464699[_0x1caab8(0x14d)]||this[_0x1caab8(0x183)]&&this[_0x1caab8(0x183)][_0x1caab8(0x157)][_0x1caab8(0x195)](_0x52b2a6=>_0x52b2a6[_0x1caab8(0x199)](_0x270e82))||(this[_0x1caab8(0x142)][_0x1caab8(0x1ae)](),this[_0x1caab8(0x194)](),this[_0x1caab8(0x16d)](null));});const _0x10bd81=this[_0x4afc84(0x180)]instanceof _0x285d7e?this[_0x4afc84(0x180)][_0x4afc84(0x19e)]:new _0x544c63([this[_0x4afc84(0x180)]]);for(const _0x11e317 of _0x10bd81)this[_0x4afc84(0x196)](_0x11e317);this[_0x4afc84(0x1a6)](_0x10bd81,_0x4afc84(0x15e),(_0x235bd7,_0x145b99)=>{const _0x4920fe=_0x4afc84;this[_0x4920fe(0x1a6)](_0x145b99,_0x4920fe(0x185),()=>{const _0x17dce7=_0x4920fe;this[_0x17dce7(0x196)](_0x145b99);});}),this[_0x4afc84(0x1a6)](_0x10bd81,_0x4afc84(0x162),(_0x3db251,_0x33fdcb)=>{const _0x121769=_0x4afc84;_0x33fdcb[_0x121769(0x181)][_0x121769(0x190)](_0x121769(0x186))&&this[_0x121769(0x19a)](_0x33fdcb[_0x121769(0x181)][_0x121769(0x14c)](_0x121769(0x186)));}),window[_0x4afc84(0x1a3)](_0x4afc84(0x152),this[_0x4afc84(0x133)]),this[_0x4afc84(0x182)]();}[_0x2a3130(0x16d)](_0x27cd76){const _0x3081c2=_0x2a3130;if(_0x27cd76===this[_0x3081c2(0x183)])return;const _0x3278d3=this[_0x3081c2(0x180)][_0x3081c2(0x181)][_0x3081c2(0x14c)](_0x4351b8);if(_0x3278d3[_0x3081c2(0x1a4)]({'blurredAnnotation':this[_0x3081c2(0x183)],'activatedAnnotation':_0x27cd76,'disableAnimationOnActivatedAnnotation':!0x0}),_0x27cd76)_0x3278d3[_0x3081c2(0x17a)](_0x27cd76)?this[_0x3081c2(0x15c)](_0x27cd76):this[_0x3081c2(0x194)]();else this[_0x3081c2(0x194)]();this[_0x3081c2(0x183)]=_0x27cd76;}[_0x2a3130(0x1ab)](){const _0x3f975d=_0x2a3130;if(!this[_0x3f975d(0x193)])throw new _0x43cfc8(_0x3f975d(0x141),this);this[_0x3f975d(0x16d)](null);const _0x95be8e=this[_0x3f975d(0x180)][_0x3f975d(0x181)][_0x3f975d(0x14c)](_0x4351b8);this[_0x3f975d(0x194)](),Array[_0x3f975d(0x160)](this[_0x3f975d(0x1ad)][_0x3f975d(0x17c)](),_0x6de41f=>_0x6de41f[_0x3f975d(0x18e)]()),this[_0x3f975d(0x1ad)][_0x3f975d(0x1ae)](),_0x95be8e[_0x3f975d(0x13e)](this[_0x3f975d(0x17b)]),this[_0x3f975d(0x171)](),this[_0x3f975d(0x151)][_0x3f975d(0x171)](),this[_0x3f975d(0x180)]instanceof _0x285d7e&&this[_0x3f975d(0x171)](this[_0x3f975d(0x180)][_0x3f975d(0x19e)]);for(const _0x499ca1 of Array[_0x3f975d(0x160)](this[_0x3f975d(0x173)]))this[_0x3f975d(0x19a)](_0x499ca1);window[_0x3f975d(0x17d)](_0x3f975d(0x152),this[_0x3f975d(0x133)]),this[_0x3f975d(0x133)][_0x3f975d(0x17e)](),this[_0x3f975d(0x16a)]=[],this[_0x3f975d(0x193)]=!0x1,this[_0x3f975d(0x17b)]=null;}[_0x2a3130(0x18e)](){const _0x55f603=_0x2a3130;this[_0x55f603(0x193)]&&this[_0x55f603(0x1ab)](),this[_0x55f603(0x1a8)][_0x55f603(0x189)]();}[_0x2a3130(0x196)](_0x34741f){const _0x361838=_0x2a3130;if(!_0x34741f[_0x361838(0x181)][_0x361838(0x190)](_0x361838(0x186)))return;const _0x11e0ce=_0x34741f[_0x361838(0x181)][_0x361838(0x14c)](_0x361838(0x186)),_0x4e82c5=this[_0x361838(0x180)][_0x361838(0x181)][_0x361838(0x14c)](_0x4351b8),_0x2bbe0c=this[_0x361838(0x17b)],_0x3bbaa1=this[_0x361838(0x177)],_0x50ab46=()=>{const _0x164fe6=_0x361838,_0x3160cc=_0x11e0ce[_0x164fe6(0x163)]({'annotations':this[_0x164fe6(0x17b)],'activeAnnotation':this[_0x164fe6(0x183)]});this[_0x164fe6(0x174)](_0x3160cc),this[_0x164fe6(0x16d)](_0x3160cc[0x0]||null);};this[_0x361838(0x1a6)](_0x11e0ce,_0x361838(0x1a4),_0x50ab46),this[_0x361838(0x1a6)](_0x11e0ce,_0x361838(0x169),(_0x2f0969,{isAnnotationTracked:_0x512115})=>{const _0x13db4e=_0x361838;this[_0x13db4e(0x183)]&&_0x512115(this[_0x13db4e(0x183)])&&(this[_0x13db4e(0x174)]([]),this[_0x13db4e(0x16d)](null));}),this[_0x361838(0x1a6)](_0x11e0ce,_0x361838(0x191),()=>{const _0x47a174=_0x361838;this[_0x47a174(0x133)]();}),this[_0x361838(0x1a6)](_0x2bbe0c,_0x361838(0x169),_0x4e7553=>{const _0x5e9626=_0x361838;_0x11e0ce[_0x5e9626(0x184)]()&&_0x4e7553[_0x5e9626(0x175)]();},{'priority':_0x361838(0x18c)}),this[_0x361838(0x1a6)](this[_0x361838(0x151)],_0x361838(0x1a9),(_0x2740d0,_0x25f9a3)=>{const _0x979acc=_0x361838,_0x4ddac5=_0x25f9a3[_0x979acc(0x15a)];_0x3bbaa1[_0x979acc(0x178)]&&_0x3bbaa1[_0x979acc(0x187)][_0x979acc(0x199)](_0x4ddac5)||_0x4e82c5[_0x979acc(0x137)][_0x979acc(0x187)][_0x979acc(0x199)](_0x4ddac5)||this[_0x979acc(0x183)]&&_0x11e0ce[_0x979acc(0x184)]()&&(_0x50ab46(),_0x2740d0[_0x979acc(0x14d)]=!0x0);},{'priority':_0x361838(0x18c)}),this[_0x361838(0x173)][_0x361838(0x15e)](_0x11e0ce);}[_0x2a3130(0x19a)](_0x1237c5){const _0xd7bbcb=_0x2a3130;_0x1237c5&&(this[_0xd7bbcb(0x171)](_0x1237c5),this[_0xd7bbcb(0x173)][_0xd7bbcb(0x162)](_0x1237c5));}[_0x2a3130(0x174)](_0x17ffe7){const _0x5829b3=_0x2a3130;for(const _0x4b8af9 of this[_0x5829b3(0x16a)])_0x17ffe7[_0x5829b3(0x156)](_0x4b8af9)||this[_0x5829b3(0x142)][_0x5829b3(0x18a)](_0x4b8af9[_0x5829b3(0x137)]);this[_0x5829b3(0x16a)]=_0x17ffe7;}[_0x2a3130(0x182)](){const _0x16c339=_0x2a3130,_0x23cb6e=this[_0x16c339(0x177)];this[_0x16c339(0x17b)][_0x16c339(0x135)](),_0x23cb6e[_0x16c339(0x178)]&&this[_0x16c339(0x159)]();}[_0x2a3130(0x15c)](_0x3c0e7c){const _0x13a832=_0x2a3130;if(this[_0x13a832(0x142)][_0x13a832(0x190)](_0x3c0e7c[_0x13a832(0x137)]))return;const _0x19d8b6=this[_0x13a832(0x177)][_0x13a832(0x134)][_0x13a832(0x19b)];_0x19d8b6!==_0x3c0e7c[_0x13a832(0x137)]?(_0x19d8b6&&this[_0x13a832(0x19f)](_0x19d8b6),this[_0x13a832(0x15b)](_0x3c0e7c[_0x13a832(0x137)]),this[_0x13a832(0x177)][_0x13a832(0x134)][_0x13a832(0x1ae)](),this[_0x13a832(0x177)][_0x13a832(0x134)][_0x13a832(0x15e)](_0x3c0e7c[_0x13a832(0x137)]),this[_0x13a832(0x159)]()):this[_0x13a832(0x159)]();}[_0x2a3130(0x159)](){const _0x3f163b=_0x2a3130,_0x596121=this[_0x3f163b(0x177)][_0x3f163b(0x134)][_0x3f163b(0x19b)],_0x5b2de9=_0x596121&&this[_0x3f163b(0x17b)][_0x3f163b(0x19d)](_0x596121);if(!_0x5b2de9||!this[_0x3f163b(0x1ad)][_0x3f163b(0x190)](_0x5b2de9))return;const _0x3b6d05=this[_0x3f163b(0x1ad)][_0x3f163b(0x14c)](_0x5b2de9)[_0x3f163b(0x187)],_0x4bdb65=(function(){const _0x32026b=_0x3f163b,_0xef56ce=_0x5e6391[_0x32026b(0x18b)];return[_0xef56ce[_0x32026b(0x161)],_0xef56ce[_0x32026b(0x164)],_0xef56ce[_0x32026b(0x14e)],_0xef56ce[_0x32026b(0x166)],_0xef56ce[_0x32026b(0x154)],_0xef56ce[_0x32026b(0x145)]];}());this[_0x3f163b(0x177)][_0x3f163b(0x188)]({'target':_0x3b6d05,'positions':_0x4bdb65});}[_0x2a3130(0x194)](){const _0x527694=_0x2a3130,_0x2b1d58=this[_0x527694(0x177)],_0x21ce20=_0x2b1d58[_0x527694(0x134)][_0x527694(0x19b)];_0x21ce20&&(this[_0x527694(0x19f)](_0x21ce20),_0x2b1d58[_0x527694(0x1ac)](),_0x2b1d58[_0x527694(0x134)][_0x527694(0x1ae)]());}[_0x2a3130(0x15b)](_0x366087){const _0x58501f=_0x2a3130;this[_0x58501f(0x1a6)](_0x366087,_0x58501f(0x1a0),()=>this[_0x58501f(0x159)]()),this[_0x58501f(0x1a6)](_0x366087,_0x58501f(0x16c),(_0x54f4d0,_0x153e3a)=>{const _0x11fb4b=_0x58501f;this[_0x11fb4b(0x142)][_0x11fb4b(0x15e)](_0x366087),this[_0x11fb4b(0x194)](),_0x153e3a();});}[_0x2a3130(0x19f)](_0x19eaf1){const _0xe69bff=_0x2a3130;this[_0xe69bff(0x171)](_0x19eaf1);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3a7efc=_0x40eb;(function(_0x455f6e,_0x143b2a){const _0x14085a=_0x40eb,_0x49e4f2=_0x455f6e();while(!![]){try{const _0x26ec59=parseInt(_0x14085a(0x1b5))/0x1*(parseInt(_0x14085a(0x1cd))/0x2)+-parseInt(_0x14085a(0x1a7))/0x3+parseInt(_0x14085a(0x189))/0x4+-parseInt(_0x14085a(0x183))/0x5+parseInt(_0x14085a(0x17c))/0x6+-parseInt(_0x14085a(0x1af))/0x7+parseInt(_0x14085a(0x1cf))/0x8;if(_0x26ec59===_0x143b2a)break;else _0x49e4f2['push'](_0x49e4f2['shift']());}catch(_0x163245){_0x49e4f2['push'](_0x49e4f2['shift']());}}}(_0x228c,0x6f76e));import{ContextPlugin as _0x5053f8}from'ckeditor5/src/core.js';function _0x40eb(_0x5070dc,_0x10f22a){const _0x228cb3=_0x228c();return _0x40eb=function(_0x40eb50,_0x131945){_0x40eb50=_0x40eb50-0x17c;let _0x27e415=_0x228cb3[_0x40eb50];return _0x27e415;},_0x40eb(_0x5070dc,_0x10f22a);}import{Rect as _0xd98b4d,CKEditorError as _0x8c1cb}from'ckeditor5/src/utils.js';import _0x4687fc from'./view/sidebarview.js';import _0x81030a from'./view/sidebaritemview.js';export default class z extends _0x5053f8{static get[_0x3a7efc(0x1b8)](){const _0x3d3fc8=_0x3a7efc;return _0x3d3fc8(0x186);}static get[_0x3a7efc(0x1cb)](){return!0x0;}static get[_0x3a7efc(0x1b6)](){return!0x0;}constructor(_0x46ff0d){const _0x109d89=_0x3a7efc;super(_0x46ff0d),this[_0x109d89(0x1a2)](_0x109d89(0x18d),void 0x0),this[_0x109d89(0x1bc)]=this[_0x109d89(0x1c8)](),this[_0x109d89(0x1a2)](_0x109d89(0x1c2),null),this[_0x109d89(0x188)]=0x19,this[_0x109d89(0x1c9)]=new Map(),this[_0x109d89(0x180)]=new Map(),this[_0x109d89(0x1ba)][_0x109d89(0x1b9)][_0x109d89(0x1a5)](_0x109d89(0x181),!0x1),this[_0x109d89(0x1c5)]=null,this[_0x109d89(0x18f)]=null,this[_0x109d89(0x1a4)]=[];}[_0x3a7efc(0x1bb)](){const _0x3b487f=_0x3a7efc,_0x3090ff=this[_0x3b487f(0x1ba)][_0x3b487f(0x1b9)][_0x3b487f(0x1c4)](_0x3b487f(0x1b2));_0x3090ff&&this[_0x3b487f(0x1bd)](_0x3090ff);}[_0x3a7efc(0x1bd)](_0x53f561){const _0xaf55f1=_0x3a7efc;if(!y(_0x53f561))throw new _0x8c1cb(_0xaf55f1(0x19f));this[_0xaf55f1(0x1c2)]=_0x53f561;}[_0x3a7efc(0x1ac)]({viewClass:_0x3adc79='',spaceBetweenItems:_0x532e24=0x19}={}){const _0x2af552=_0x3a7efc;if(!y(this[_0x2af552(0x1c2)]))throw new _0x8c1cb(_0x2af552(0x1d1),this);this[_0x2af552(0x1c2)][_0x2af552(0x19c)](this[_0x2af552(0x1bc)][_0x2af552(0x18e)]),this[_0x2af552(0x1bc)][_0x2af552(0x1a6)]=_0x3adc79,this[_0x2af552(0x188)]=_0x532e24;}[_0x3a7efc(0x1d2)]({removedAnnotation:_0x4894b2,previousAnnotation:_0x5e8a42,nextAnnotation:_0x52737e}){const _0x31876a=_0x3a7efc,_0x50443d=this[_0x31876a(0x1b7)](_0x4894b2);this[_0x31876a(0x1bc)][_0x31876a(0x1cc)][_0x31876a(0x1d3)](_0x50443d),this[_0x31876a(0x1be)](_0x4894b2),_0x5e8a42&&this[_0x31876a(0x1b4)](this[_0x31876a(0x1b7)](_0x5e8a42)),_0x52737e&&this[_0x31876a(0x1b4)](this[_0x31876a(0x1b7)](_0x52737e)),this[_0x31876a(0x1a0)]();}[_0x3a7efc(0x190)]({blurredAnnotation:_0x481987,activatedAnnotation:_0x367545,disableAnimationOnActivatedAnnotation:_0x8eb19d}){const _0x1501c4=_0x3a7efc;if(this[_0x1501c4(0x18f)]=_0x367545,_0x481987){_0x481987[_0x1501c4(0x1a8)]=!0x1;const _0xa3b1a5=this[_0x1501c4(0x1b7)](_0x481987);_0xa3b1a5&&_0x8eb19d&&(_0xa3b1a5[_0x1501c4(0x1a9)]=!0x1);}if(_0x367545){const _0x371297=this[_0x1501c4(0x1b7)](_0x367545);_0x371297&&(_0x367545[_0x1501c4(0x1a8)]=!0x0,_0x8eb19d&&(_0x371297[_0x1501c4(0x1a9)]=!0x0,_0x371297[_0x1501c4(0x1a1)]+=0x1),this[_0x1501c4(0x1b4)](_0x371297));}}[_0x3a7efc(0x1d4)](_0x38e4d3){const _0x4844a8=_0x3a7efc;if(this[_0x4844a8(0x1bc)][_0x4844a8(0x18e)][_0x4844a8(0x1d3)](),_0x38e4d3){for(const _0x14823e of _0x38e4d3)this[_0x4844a8(0x1be)](_0x14823e);}this[_0x4844a8(0x1bc)][_0x4844a8(0x1cc)][_0x4844a8(0x1ca)](),this[_0x4844a8(0x1bc)][_0x4844a8(0x1a6)]='',this[_0x4844a8(0x18d)]=null;}[_0x3a7efc(0x193)](_0x59ba63,_0x14acf2){const _0x39ada4=_0x3a7efc;_0x14acf2||(_0x14acf2=_0x59ba63[_0x39ada4(0x1bc)]);const _0x172e48=new _0x81030a(this[_0x39ada4(0x1ba)][_0x39ada4(0x1ab)]);this[_0x39ada4(0x1c9)][_0x39ada4(0x1a2)](_0x172e48,_0x59ba63),this[_0x39ada4(0x180)][_0x39ada4(0x1a2)](_0x59ba63,_0x172e48),_0x172e48[_0x39ada4(0x1c3)][_0x39ada4(0x1bf)](_0x14acf2),this[_0x39ada4(0x182)](_0x59ba63[_0x39ada4(0x1bc)],_0x39ada4(0x1aa),(_0x2872cc,_0x1ef07a,_0x55b9e8)=>{const _0x42d08c=_0x39ada4,_0x50b7e6=this[_0x42d08c(0x19d)](_0x59ba63,_0x55b9e8);_0x172e48[_0x42d08c(0x1ce)]!=_0x50b7e6&&(_0x172e48[_0x42d08c(0x1ce)]=_0x50b7e6,this[_0x42d08c(0x185)](_0x172e48,_0x50b7e6));}),this[_0x39ada4(0x182)](_0x172e48,_0x39ada4(0x18c),()=>{const _0x10bba5=_0x39ada4;this[_0x10bba5(0x197)](_0x172e48,_0x10bba5(0x1a1));}),this[_0x39ada4(0x182)](_0x172e48,_0x39ada4(0x184),()=>{const _0x4025d5=_0x39ada4;this[_0x4025d5(0x197)](_0x172e48,_0x4025d5(0x1b1));}),this[_0x39ada4(0x1b4)](_0x172e48);const _0x1c75b1=this[_0x39ada4(0x18a)](_0x172e48);if(_0x1c75b1)this[_0x39ada4(0x196)](_0x1c75b1,_0x172e48)||this[_0x39ada4(0x1b4)](_0x172e48);else this[_0x39ada4(0x1b4)](_0x172e48);return this[_0x39ada4(0x1a0)](),this[_0x39ada4(0x1bc)][_0x39ada4(0x1cc)][_0x39ada4(0x1bf)](_0x172e48),_0x172e48;}[_0x3a7efc(0x19e)](_0x1d0199){const _0x545ecf=_0x3a7efc;if(!_0x1d0199[_0x545ecf(0x1c3)][_0x545ecf(0x192)])return;const _0x42ffe0=this[_0x545ecf(0x18a)](_0x1d0199);if(!_0x42ffe0)return;const _0x321dd3=this[_0x545ecf(0x1c9)][_0x545ecf(0x1c4)](_0x42ffe0),_0x1a2ec2=this[_0x545ecf(0x18f)];_0x1a2ec2&&_0x1a2ec2===_0x321dd3?this[_0x545ecf(0x196)](_0x42ffe0,_0x1d0199):this[_0x545ecf(0x1ad)](_0x1d0199,_0x42ffe0);}[_0x3a7efc(0x1c7)](_0x4ba085){const _0x45dace=_0x3a7efc;if(!_0x4ba085[_0x45dace(0x1c3)][_0x45dace(0x192)])return;const _0x7f816e=this[_0x45dace(0x1c1)](_0x4ba085);if(!_0x7f816e)return;const _0x22417f=this[_0x45dace(0x1c9)][_0x45dace(0x1c4)](_0x7f816e),_0x2c8282=this[_0x45dace(0x1ba)][_0x45dace(0x1b9)][_0x45dace(0x1c4)](_0x45dace(0x181)),_0x1a4090=this[_0x45dace(0x18f)];_0x1a4090&&_0x1a4090===_0x22417f&&_0x2c8282?(this[_0x45dace(0x1ad)](_0x7f816e,_0x4ba085),this[_0x45dace(0x196)](_0x4ba085,_0x7f816e)):_0x1a4090&&_0x1a4090===_0x22417f?this[_0x45dace(0x1ad)](_0x7f816e,_0x4ba085):this[_0x45dace(0x196)](_0x4ba085,_0x7f816e);}[_0x3a7efc(0x197)](_0x508feb,_0x284d44){const _0x507488=_0x3a7efc;0x0===this[_0x507488(0x1a4)][_0x507488(0x192)]&&setTimeout(()=>{const _0x36d128=_0x507488;for(const {sidebarItemView:_0x45d648,changedProp:_0x485e4b}of this[_0x36d128(0x1a4)])_0x36d128(0x1a1)===_0x485e4b?this[_0x36d128(0x19e)](_0x45d648):this[_0x36d128(0x1c7)](_0x45d648);this[_0x36d128(0x1a4)]=[];},0xa),this[_0x507488(0x1a4)][_0x507488(0x187)]({'sidebarItemView':_0x508feb,'changedProp':_0x284d44});}[_0x3a7efc(0x1b7)](_0x400fd4){const _0x1493f1=_0x3a7efc;return this[_0x1493f1(0x180)][_0x1493f1(0x1c4)](_0x400fd4);}[_0x3a7efc(0x18b)](){const _0x1503a6=_0x3a7efc;this[_0x1503a6(0x17e)](),this[_0x1503a6(0x1bc)][_0x1503a6(0x18b)]();}[_0x3a7efc(0x1be)](_0x55ca08){const _0xf9d973=_0x3a7efc,_0x4bdff8=this[_0xf9d973(0x1b7)](_0x55ca08);this[_0xf9d973(0x17e)](_0x4bdff8),this[_0xf9d973(0x17e)](_0x55ca08[_0xf9d973(0x1bc)]),_0x4bdff8[_0xf9d973(0x18b)](),this[_0xf9d973(0x180)][_0xf9d973(0x191)](_0x55ca08),this[_0xf9d973(0x1c9)][_0xf9d973(0x191)](_0x4bdff8);}[_0x3a7efc(0x1c8)](){const _0x3aaaf8=_0x3a7efc,_0x37c9db=new _0x4687fc(this[_0x3aaaf8(0x1ba)][_0x3aaaf8(0x1ab)]);return _0x37c9db[_0x3aaaf8(0x1ae)](),this['on'](_0x3aaaf8(0x19a),(_0x57eac0,_0x10eace,_0x3ac18b,_0x45330b)=>{const _0x5d2633=_0x3aaaf8;_0x45330b&&_0x37c9db[_0x5d2633(0x194)](_0x5d2633(0x195)),_0x3ac18b?_0x37c9db[_0x5d2633(0x1c6)](_0x5d2633(0x195))['to'](_0x3ac18b,_0x5d2633(0x1b1)):_0x37c9db[_0x5d2633(0x195)]=null;}),_0x37c9db;}[_0x3a7efc(0x1a0)](){const _0x5d33fe=_0x3a7efc;var _0x5bc1bb;this[_0x5d33fe(0x18d)]=(null===(_0x5bc1bb=this[_0x5d33fe(0x1c5)])||void 0x0===_0x5bc1bb?void 0x0:_0x5bc1bb[_0x5d33fe(0x199)])?this[_0x5d33fe(0x1b7)](this[_0x5d33fe(0x1c5)][_0x5d33fe(0x199)]):null;}[_0x3a7efc(0x18a)](_0x405fd3){const _0x4adae5=_0x3a7efc;var _0x42ea0c;const _0x4bcb57=this[_0x4adae5(0x1c9)][_0x4adae5(0x1c4)](_0x405fd3),_0x49d5fc=_0x4bcb57&&(null===(_0x42ea0c=this[_0x4adae5(0x1c5)])||void 0x0===_0x42ea0c?void 0x0:_0x42ea0c[_0x4adae5(0x1c4)](this[_0x4adae5(0x1c5)][_0x4adae5(0x17f)](_0x4bcb57)-0x1));return _0x49d5fc&&this[_0x4adae5(0x1b7)](_0x49d5fc)||null;}[_0x3a7efc(0x1c1)](_0x33e887){const _0x12e547=_0x3a7efc;var _0x3aae80;const _0x55d25c=this[_0x12e547(0x1c9)][_0x12e547(0x1c4)](_0x33e887),_0x1702cc=_0x55d25c&&(null===(_0x3aae80=this[_0x12e547(0x1c5)])||void 0x0===_0x3aae80?void 0x0:_0x3aae80[_0x12e547(0x1c4)](this[_0x12e547(0x1c5)][_0x12e547(0x17f)](_0x55d25c)+0x1));return _0x1702cc&&this[_0x12e547(0x1b7)](_0x1702cc)||null;}[_0x3a7efc(0x1ad)](_0xe61cf,_0x204d9b){const _0x36c97d=_0x3a7efc;_0xe61cf[_0x36c97d(0x17d)]();const _0x470429=R(_0x204d9b[_0x36c97d(0x1b1)]+this[_0x36c97d(0x188)],_0xe61cf[_0x36c97d(0x1a1)]);return!!_0x470429&&(this[_0x36c97d(0x185)](_0x204d9b,_0x204d9b[_0x36c97d(0x1a1)]-_0x470429),!0x0);}[_0x3a7efc(0x196)](_0x16d574,_0x526057){const _0x4d3a9a=_0x3a7efc;_0x16d574[_0x4d3a9a(0x17d)]();const _0x8433df=R(_0x16d574[_0x4d3a9a(0x1b1)]+this[_0x4d3a9a(0x188)],_0x526057[_0x4d3a9a(0x1a1)]);return!!_0x8433df&&(this[_0x4d3a9a(0x185)](_0x526057,_0x526057[_0x4d3a9a(0x1a1)]+_0x8433df,!0x1),!0x0);}[_0x3a7efc(0x1b4)](_0x2cb0cc){const _0x54f9a9=_0x3a7efc,_0x4add2c=this[_0x54f9a9(0x1c9)][_0x54f9a9(0x1c4)](_0x2cb0cc);if(!_0x4add2c||!_0x4add2c[_0x54f9a9(0x19b)]||!_0x4add2c[_0x54f9a9(0x1a3)])return;const _0x29e4e9=this[_0x54f9a9(0x19d)](_0x4add2c,_0x4add2c[_0x54f9a9(0x1a3)]);this[_0x54f9a9(0x185)](_0x2cb0cc,_0x29e4e9);}[_0x3a7efc(0x19d)](_0x14ca0d,_0x483d81){const _0x4d8579=_0x3a7efc;if(null===_0x483d81)return 0x0;if(_0x14ca0d[_0x4d8579(0x19b)]instanceof _0xd98b4d)return _0x483d81[_0x4d8579(0x1a1)];{const _0x1173cf=new _0xd98b4d(this[_0x4d8579(0x1bc)][_0x4d8579(0x18e)])[_0x4d8579(0x1a1)];return _0x483d81[_0x4d8579(0x1a1)]-_0x1173cf;}}[_0x3a7efc(0x185)](_0x3e469b,_0x1b6917,_0x2af064=this[_0x3a7efc(0x1ba)][_0x3a7efc(0x1b9)][_0x3a7efc(0x1c4)](_0x3a7efc(0x181))){const _0x5d6dec=_0x3a7efc;_0x2af064&&(_0x1b6917=Math[_0x5d6dec(0x1b3)](_0x1b6917,this[_0x5d6dec(0x1b0)](_0x3e469b))),_0x3e469b[_0x5d6dec(0x1a1)]=_0x1b6917;}[_0x3a7efc(0x1b0)](_0x3b6ecb){const _0x5f4609=_0x3a7efc;let _0x2ec2a9=this[_0x5f4609(0x18a)](_0x3b6ecb),_0x4caa9e=0x0;for(;_0x2ec2a9;)_0x2ec2a9[_0x5f4609(0x17d)](),_0x4caa9e+=this[_0x5f4609(0x188)]+_0x2ec2a9[_0x5f4609(0x198)],_0x2ec2a9=this[_0x5f4609(0x18a)](_0x2ec2a9);return _0x4caa9e;}}function R(_0x4edc52,_0x213c7f){const _0x31178a=_0x3a7efc;return Math[_0x31178a(0x1b3)](_0x4edc52-_0x213c7f,0x0);}function y(_0x5080da){const _0x2ea03f=_0x3a7efc;return null!==_0x5080da&&_0x2ea03f(0x1d0)==typeof _0x5080da&&0x1===_0x5080da[_0x2ea03f(0x1c0)];}function _0x228c(){const _0x448782=['_sidebarItemViewToAnnotation','clear','isOfficialPlugin','list','2lRwycS','_targetTop','7239120YhfMJc','object','sidebar-attachtocontainer-missing-container','rearrange','remove','_detachFromContainer','300780xfjohP','updateHeight','stopListening','getIndex','_annotationToSidebarItemView','sidebar.preventScrollOutOfView','listenTo','3502615zKeEVm','change:bottom','_setItemTop','Sidebar','push','_spaceBetweenItems','3001236ZXttvj','_getItemBefore','destroy','change:top','_lastItem','element','_activeAnnotation','refresh','delete','length','addAnnotation','unbind','minHeight','_alignAfterItem','_recalculate','height','last','change:_lastItem','target','appendChild','_getTargetTop','_alignForTopChange','sidebar-setcontainer-invalid-element','_updateLastItem','top','set','targetRect','_recalculateBuffer','define','class','1240689xaszlo','isActive','isAnimationDisabled','change:targetRect','locale','_attachToContainer','_alignBeforeItem','render','1644041FASkQL','_getMaxAvailableTop','bottom','sidebar.container','max','_alignToTargetRect','100178kxzmuT','isPremiumPlugin','getSidebarItemView','pluginName','config','context','init','view','setContainer','_destroySidebarItemView','add','nodeType','_getItemAfter','container','content','get','_annotations','bind','_alignForBottomChange','_createSidebarView'];_0x228c=function(){return _0x448782;};return _0x228c();}
|
|
23
|
+
const _0x3c9482=_0x6924;(function(_0xcd9c67,_0x4861d1){const _0x471d1a=_0x6924,_0x484559=_0xcd9c67();while(!![]){try{const _0x4592f8=parseInt(_0x471d1a(0x1cd))/0x1*(parseInt(_0x471d1a(0x1f1))/0x2)+-parseInt(_0x471d1a(0x1c7))/0x3+-parseInt(_0x471d1a(0x1dd))/0x4*(-parseInt(_0x471d1a(0x19e))/0x5)+parseInt(_0x471d1a(0x1e2))/0x6+parseInt(_0x471d1a(0x1ba))/0x7+-parseInt(_0x471d1a(0x1bb))/0x8+-parseInt(_0x471d1a(0x1a8))/0x9*(parseInt(_0x471d1a(0x1d3))/0xa);if(_0x4592f8===_0x4861d1)break;else _0x484559['push'](_0x484559['shift']());}catch(_0x129b2d){_0x484559['push'](_0x484559['shift']());}}}(_0x5b4f,0xedc89));import{ContextPlugin as _0x328e05}from'ckeditor5/src/core.js';function _0x6924(_0x289c6f,_0x27d5ee){const _0x5b4ffa=_0x5b4f();return _0x6924=function(_0x69246d,_0x12f6d9){_0x69246d=_0x69246d-0x19a;let _0x205cdd=_0x5b4ffa[_0x69246d];return _0x205cdd;},_0x6924(_0x289c6f,_0x27d5ee);}import{Rect as _0x3b8e45,CKEditorError as _0x123723}from'ckeditor5/src/utils.js';import _0x34bd71 from'./view/sidebarview.js';import _0x197976 from'./view/sidebaritemview.js';export default class z extends _0x328e05{static get[_0x3c9482(0x1a7)](){const _0x1ecc2d=_0x3c9482;return _0x1ecc2d(0x1d9);}static get[_0x3c9482(0x19d)](){return!0x0;}static get[_0x3c9482(0x1ee)](){return!0x0;}constructor(_0x1a7509){const _0x3c4530=_0x3c9482;super(_0x1a7509),this[_0x3c4530(0x1af)](_0x3c4530(0x1b0),void 0x0),this[_0x3c4530(0x1d6)]=this[_0x3c4530(0x1e4)](),this[_0x3c4530(0x1af)](_0x3c4530(0x1c8),null),this[_0x3c4530(0x1dc)]=0x19,this[_0x3c4530(0x1ef)]=new Map(),this[_0x3c4530(0x1a1)]=new Map(),this[_0x3c4530(0x1d7)][_0x3c4530(0x1cb)][_0x3c4530(0x1c6)](_0x3c4530(0x1c4),!0x1),this[_0x3c4530(0x1bc)]=null,this[_0x3c4530(0x1e0)]=null,this[_0x3c4530(0x1ae)]=[];}[_0x3c9482(0x1d5)](){const _0x236940=_0x3c9482,_0x550c4e=this[_0x236940(0x1d7)][_0x236940(0x1cb)][_0x236940(0x19b)](_0x236940(0x1b7));_0x550c4e&&this[_0x236940(0x1bd)](_0x550c4e);}[_0x3c9482(0x1bd)](_0x2d3074){const _0x425060=_0x3c9482;if(!y(_0x2d3074))throw new _0x123723(_0x425060(0x1df));this[_0x425060(0x1c8)]=_0x2d3074;}[_0x3c9482(0x1ab)]({viewClass:_0x30e227='',spaceBetweenItems:_0x552218=0x19}={}){const _0x31e40a=_0x3c9482;if(!y(this[_0x31e40a(0x1c8)]))throw new _0x123723(_0x31e40a(0x19f),this);this[_0x31e40a(0x1c8)][_0x31e40a(0x1ce)](this[_0x31e40a(0x1d6)][_0x31e40a(0x1a3)]),this[_0x31e40a(0x1d6)][_0x31e40a(0x1e3)]=_0x30e227,this[_0x31e40a(0x1dc)]=_0x552218;}[_0x3c9482(0x1c2)]({removedAnnotation:_0x5ec7bc,previousAnnotation:_0x53e9b4,nextAnnotation:_0x4f4a37}){const _0x3c44a6=_0x3c9482,_0x38fb19=this[_0x3c44a6(0x1f0)](_0x5ec7bc);this[_0x3c44a6(0x1d6)][_0x3c44a6(0x1b8)][_0x3c44a6(0x1db)](_0x38fb19),this[_0x3c44a6(0x1d2)](_0x5ec7bc),_0x53e9b4&&this[_0x3c44a6(0x1f4)](this[_0x3c44a6(0x1f0)](_0x53e9b4)),_0x4f4a37&&this[_0x3c44a6(0x1f4)](this[_0x3c44a6(0x1f0)](_0x4f4a37)),this[_0x3c44a6(0x1d1)]();}[_0x3c9482(0x1a6)]({blurredAnnotation:_0x4d90b2,activatedAnnotation:_0x523487,disableAnimationOnActivatedAnnotation:_0x174921}){const _0x4a2426=_0x3c9482;if(this[_0x4a2426(0x1e0)]=_0x523487,_0x4d90b2){_0x4d90b2[_0x4a2426(0x1bf)]=!0x1;const _0x49ecb1=this[_0x4a2426(0x1f0)](_0x4d90b2);_0x49ecb1&&_0x174921&&(_0x49ecb1[_0x4a2426(0x1a5)]=!0x1);}if(_0x523487){const _0x53bf5b=this[_0x4a2426(0x1f0)](_0x523487);_0x53bf5b&&(_0x523487[_0x4a2426(0x1bf)]=!0x0,_0x174921&&(_0x53bf5b[_0x4a2426(0x1a5)]=!0x0,_0x53bf5b[_0x4a2426(0x1cf)]+=0x1),this[_0x4a2426(0x1f4)](_0x53bf5b));}}[_0x3c9482(0x1c5)](_0x35b1a8){const _0x3c57d3=_0x3c9482;if(this[_0x3c57d3(0x1d6)][_0x3c57d3(0x1a3)][_0x3c57d3(0x1db)](),_0x35b1a8){for(const _0x22fc0e of _0x35b1a8)this[_0x3c57d3(0x1d2)](_0x22fc0e);}this[_0x3c57d3(0x1d6)][_0x3c57d3(0x1b8)][_0x3c57d3(0x1a9)](),this[_0x3c57d3(0x1d6)][_0x3c57d3(0x1e3)]='',this[_0x3c57d3(0x1b0)]=null;}[_0x3c9482(0x1eb)](_0x2ef76b,_0x4e4473){const _0x46b825=_0x3c9482;_0x4e4473||(_0x4e4473=_0x2ef76b[_0x46b825(0x1d6)]);const _0x1da228=new _0x197976(this[_0x46b825(0x1d7)][_0x46b825(0x1ea)]);this[_0x46b825(0x1ef)][_0x46b825(0x1af)](_0x1da228,_0x2ef76b),this[_0x46b825(0x1a1)][_0x46b825(0x1af)](_0x2ef76b,_0x1da228),_0x1da228[_0x46b825(0x1b4)][_0x46b825(0x1d4)](_0x4e4473),this[_0x46b825(0x1da)](_0x2ef76b[_0x46b825(0x1d6)],_0x46b825(0x1cc),(_0x5b01a6,_0x286810,_0x1e83d0)=>{const _0xf4d04b=_0x46b825,_0x49c8f5=this[_0xf4d04b(0x1c0)](_0x2ef76b,_0x1e83d0);_0x1da228[_0xf4d04b(0x1ac)]!=_0x49c8f5&&(_0x1da228[_0xf4d04b(0x1ac)]=_0x49c8f5,this[_0xf4d04b(0x19c)](_0x1da228,_0x49c8f5));}),this[_0x46b825(0x1da)](_0x1da228,_0x46b825(0x19a),()=>{const _0x2d3ecc=_0x46b825;this[_0x2d3ecc(0x1aa)](_0x1da228,_0x2d3ecc(0x1cf));}),this[_0x46b825(0x1da)](_0x1da228,_0x46b825(0x1c1),()=>{const _0x53a11f=_0x46b825;this[_0x53a11f(0x1aa)](_0x1da228,_0x53a11f(0x1d8));}),this[_0x46b825(0x1f4)](_0x1da228);const _0x1ec5ea=this[_0x46b825(0x1ca)](_0x1da228);if(_0x1ec5ea)this[_0x46b825(0x1e6)](_0x1ec5ea,_0x1da228)||this[_0x46b825(0x1f4)](_0x1da228);else this[_0x46b825(0x1f4)](_0x1da228);return this[_0x46b825(0x1d1)](),this[_0x46b825(0x1d6)][_0x46b825(0x1b8)][_0x46b825(0x1d4)](_0x1da228),_0x1da228;}[_0x3c9482(0x1e7)](_0x4164ef){const _0x5ca5b6=_0x3c9482;if(!_0x4164ef[_0x5ca5b6(0x1b4)][_0x5ca5b6(0x1c9)])return;const _0x2cfeed=this[_0x5ca5b6(0x1ca)](_0x4164ef);if(!_0x2cfeed)return;const _0x30a759=this[_0x5ca5b6(0x1ef)][_0x5ca5b6(0x19b)](_0x2cfeed),_0x2a32e8=this[_0x5ca5b6(0x1e0)];_0x2a32e8&&_0x2a32e8===_0x30a759?this[_0x5ca5b6(0x1e6)](_0x2cfeed,_0x4164ef):this[_0x5ca5b6(0x1e8)](_0x4164ef,_0x2cfeed);}[_0x3c9482(0x1b1)](_0x4d50f2){const _0x456bd3=_0x3c9482;if(!_0x4d50f2[_0x456bd3(0x1b4)][_0x456bd3(0x1c9)])return;const _0x1383ad=this[_0x456bd3(0x1f2)](_0x4d50f2);if(!_0x1383ad)return;const _0x3d87c6=this[_0x456bd3(0x1ef)][_0x456bd3(0x19b)](_0x1383ad),_0x43511b=this[_0x456bd3(0x1d7)][_0x456bd3(0x1cb)][_0x456bd3(0x19b)](_0x456bd3(0x1c4)),_0x2aebc6=this[_0x456bd3(0x1e0)];_0x2aebc6&&_0x2aebc6===_0x3d87c6&&_0x43511b?(this[_0x456bd3(0x1e8)](_0x1383ad,_0x4d50f2),this[_0x456bd3(0x1e6)](_0x4d50f2,_0x1383ad)):_0x2aebc6&&_0x2aebc6===_0x3d87c6?this[_0x456bd3(0x1e8)](_0x1383ad,_0x4d50f2):this[_0x456bd3(0x1e6)](_0x4d50f2,_0x1383ad);}[_0x3c9482(0x1aa)](_0x150cce,_0xdd5d1c){const _0x46a796=_0x3c9482;0x0===this[_0x46a796(0x1ae)][_0x46a796(0x1c9)]&&setTimeout(()=>{const _0x5ad915=_0x46a796;for(const {sidebarItemView:_0x4a6e5c,changedProp:_0x45652b}of this[_0x5ad915(0x1ae)])_0x5ad915(0x1cf)===_0x45652b?this[_0x5ad915(0x1e7)](_0x4a6e5c):this[_0x5ad915(0x1b1)](_0x4a6e5c);this[_0x5ad915(0x1ae)]=[];},0xa),this[_0x46a796(0x1ae)][_0x46a796(0x1be)]({'sidebarItemView':_0x150cce,'changedProp':_0xdd5d1c});}[_0x3c9482(0x1f0)](_0x4e5591){const _0x29c6e3=_0x3c9482;return this[_0x29c6e3(0x1a1)][_0x29c6e3(0x19b)](_0x4e5591);}[_0x3c9482(0x1e5)](){const _0x249bbd=_0x3c9482;this[_0x249bbd(0x1ad)](),this[_0x249bbd(0x1d6)][_0x249bbd(0x1e5)]();}[_0x3c9482(0x1d2)](_0x56e4de){const _0x4229be=_0x3c9482,_0xcc2cc6=this[_0x4229be(0x1f0)](_0x56e4de);this[_0x4229be(0x1ad)](_0xcc2cc6),this[_0x4229be(0x1ad)](_0x56e4de[_0x4229be(0x1d6)]),_0xcc2cc6[_0x4229be(0x1e5)](),this[_0x4229be(0x1a1)][_0x4229be(0x1b5)](_0x56e4de),this[_0x4229be(0x1ef)][_0x4229be(0x1b5)](_0xcc2cc6);}[_0x3c9482(0x1e4)](){const _0x46af05=_0x3c9482,_0x4b3e24=new _0x34bd71(this[_0x46af05(0x1d7)][_0x46af05(0x1ea)]);return _0x4b3e24[_0x46af05(0x1b2)](),this['on'](_0x46af05(0x1e1),(_0x42deb6,_0x47bed6,_0x406e13,_0x20f57b)=>{const _0x45c458=_0x46af05;_0x20f57b&&_0x4b3e24[_0x45c458(0x1c3)](_0x45c458(0x1a0)),_0x406e13?_0x4b3e24[_0x45c458(0x1e9)](_0x45c458(0x1a0))['to'](_0x406e13,_0x45c458(0x1d8)):_0x4b3e24[_0x45c458(0x1a0)]=null;}),_0x4b3e24;}[_0x3c9482(0x1d1)](){const _0x28e062=_0x3c9482;var _0x2ae504;this[_0x28e062(0x1b0)]=(null===(_0x2ae504=this[_0x28e062(0x1bc)])||void 0x0===_0x2ae504?void 0x0:_0x2ae504[_0x28e062(0x1a4)])?this[_0x28e062(0x1f0)](this[_0x28e062(0x1bc)][_0x28e062(0x1a4)]):null;}[_0x3c9482(0x1ca)](_0x55013d){const _0x4def53=_0x3c9482;var _0x5e5cac;const _0x2f18a5=this[_0x4def53(0x1ef)][_0x4def53(0x19b)](_0x55013d),_0x3453b1=_0x2f18a5&&(null===(_0x5e5cac=this[_0x4def53(0x1bc)])||void 0x0===_0x5e5cac?void 0x0:_0x5e5cac[_0x4def53(0x19b)](this[_0x4def53(0x1bc)][_0x4def53(0x1a2)](_0x2f18a5)-0x1));return _0x3453b1&&this[_0x4def53(0x1f0)](_0x3453b1)||null;}[_0x3c9482(0x1f2)](_0x2ae85e){const _0x22073a=_0x3c9482;var _0x5e6b23;const _0x5a4695=this[_0x22073a(0x1ef)][_0x22073a(0x19b)](_0x2ae85e),_0x2970e=_0x5a4695&&(null===(_0x5e6b23=this[_0x22073a(0x1bc)])||void 0x0===_0x5e6b23?void 0x0:_0x5e6b23[_0x22073a(0x19b)](this[_0x22073a(0x1bc)][_0x22073a(0x1a2)](_0x5a4695)+0x1));return _0x2970e&&this[_0x22073a(0x1f0)](_0x2970e)||null;}[_0x3c9482(0x1e8)](_0x348b10,_0x548239){const _0x5b2569=_0x3c9482;_0x348b10[_0x5b2569(0x1d0)]();const _0xd10d0e=R(_0x548239[_0x5b2569(0x1d8)]+this[_0x5b2569(0x1dc)],_0x348b10[_0x5b2569(0x1cf)]);return!!_0xd10d0e&&(this[_0x5b2569(0x19c)](_0x548239,_0x548239[_0x5b2569(0x1cf)]-_0xd10d0e),!0x0);}[_0x3c9482(0x1e6)](_0x1bf4cb,_0x564bf5){const _0x130d24=_0x3c9482;_0x1bf4cb[_0x130d24(0x1d0)]();const _0x5ba0c1=R(_0x1bf4cb[_0x130d24(0x1d8)]+this[_0x130d24(0x1dc)],_0x564bf5[_0x130d24(0x1cf)]);return!!_0x5ba0c1&&(this[_0x130d24(0x19c)](_0x564bf5,_0x564bf5[_0x130d24(0x1cf)]+_0x5ba0c1,!0x1),!0x0);}[_0x3c9482(0x1f4)](_0x16eac5){const _0x12d238=_0x3c9482,_0x213ff6=this[_0x12d238(0x1ef)][_0x12d238(0x19b)](_0x16eac5);if(!_0x213ff6||!_0x213ff6[_0x12d238(0x1ec)]||!_0x213ff6[_0x12d238(0x1f3)])return;const _0x4b76ca=this[_0x12d238(0x1c0)](_0x213ff6,_0x213ff6[_0x12d238(0x1f3)]);this[_0x12d238(0x19c)](_0x16eac5,_0x4b76ca);}[_0x3c9482(0x1c0)](_0x33beee,_0x3a7678){const _0x2fd1dc=_0x3c9482;if(null===_0x3a7678)return 0x0;if(_0x33beee[_0x2fd1dc(0x1ec)]instanceof _0x3b8e45)return _0x3a7678[_0x2fd1dc(0x1cf)];{const _0x3bfc09=new _0x3b8e45(this[_0x2fd1dc(0x1d6)][_0x2fd1dc(0x1a3)])[_0x2fd1dc(0x1cf)];return _0x3a7678[_0x2fd1dc(0x1cf)]-_0x3bfc09;}}[_0x3c9482(0x19c)](_0x99b28c,_0x368bd6,_0x227bee=this[_0x3c9482(0x1d7)][_0x3c9482(0x1cb)][_0x3c9482(0x19b)](_0x3c9482(0x1c4))){const _0x235dd3=_0x3c9482;_0x227bee&&(_0x368bd6=Math[_0x235dd3(0x1b3)](_0x368bd6,this[_0x235dd3(0x1b6)](_0x99b28c))),_0x99b28c[_0x235dd3(0x1cf)]=_0x368bd6;}[_0x3c9482(0x1b6)](_0x24f5ed){const _0x1e816f=_0x3c9482;let _0x52700d=this[_0x1e816f(0x1ca)](_0x24f5ed),_0x26b88d=0x0;for(;_0x52700d;)_0x52700d[_0x1e816f(0x1d0)](),_0x26b88d+=this[_0x1e816f(0x1dc)]+_0x52700d[_0x1e816f(0x1b9)],_0x52700d=this[_0x1e816f(0x1ca)](_0x52700d);return _0x26b88d;}}function R(_0xca5991,_0x2f3a82){const _0x23281c=_0x3c9482;return Math[_0x23281c(0x1b3)](_0xca5991-_0x2f3a82,0x0);}function y(_0x59bc89){const _0x362095=_0x3c9482;return null!==_0x59bc89&&_0x362095(0x1ed)==typeof _0x59bc89&&0x1===_0x59bc89[_0x362095(0x1de)];}function _0x5b4f(){const _0x42d709=['isActive','_getTargetTop','change:bottom','rearrange','unbind','sidebar.preventScrollOutOfView','_detachFromContainer','define','1464936cHAQqb','container','length','_getItemBefore','config','change:targetRect','25XxQCZy','appendChild','top','updateHeight','_updateLastItem','_destroySidebarItemView','170VCxUnw','add','init','view','context','bottom','Sidebar','listenTo','remove','_spaceBetweenItems','3738260HozkuK','nodeType','sidebar-setcontainer-invalid-element','_activeAnnotation','change:_lastItem','10306584VZVjFR','class','_createSidebarView','destroy','_alignAfterItem','_alignForTopChange','_alignBeforeItem','bind','locale','addAnnotation','target','object','isPremiumPlugin','_sidebarItemViewToAnnotation','getSidebarItemView','81074BnZCwC','_getItemAfter','targetRect','_alignToTargetRect','change:top','get','_setItemTop','isOfficialPlugin','5VzQKfs','sidebar-attachtocontainer-missing-container','minHeight','_annotationToSidebarItemView','getIndex','element','last','isAnimationDisabled','refresh','pluginName','1328823TpdFBx','clear','_recalculate','_attachToContainer','_targetTop','stopListening','_recalculateBuffer','set','_lastItem','_alignForBottomChange','render','max','content','delete','_getMaxAvailableTop','sidebar.container','list','height','2986459cbhKuc','960952khAdcf','_annotations','setContainer','push'];_0x5b4f=function(){return _0x42d709;};return _0x5b4f();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x45345c,_0x130cab){const _0x7e32f9=_0x1c96,_0x3d74bf=_0x45345c();while(!![]){try{const _0x48d199=-parseInt(_0x7e32f9(0xb2))/0x1+-parseInt(_0x7e32f9(0xb8))/0x2+-parseInt(_0x7e32f9(0xa7))/0x3+-parseInt(_0x7e32f9(0xb4))/0x4+parseInt(_0x7e32f9(0xba))/0x5+-parseInt(_0x7e32f9(0xb6))/0x6*(-parseInt(_0x7e32f9(0xb5))/0x7)+parseInt(_0x7e32f9(0xbc))/0x8;if(_0x48d199===_0x130cab)break;else _0x3d74bf['push'](_0x3d74bf['shift']());}catch(_0x30d786){_0x3d74bf['push'](_0x3d74bf['shift']());}}}(_0x5d77,0xa04f2));function _0x1c96(_0x5c6f85,_0x139eb6){const _0x5d770b=_0x5d77();return _0x1c96=function(_0x1c963c,_0x1609a8){_0x1c963c=_0x1c963c-0xa4;let _0x615e62=_0x5d770b[_0x1c963c];return _0x615e62;},_0x1c96(_0x5c6f85,_0x139eb6);}import{ButtonView as _0x15bda4,View as _0xebb971}from'ckeditor5/src/ui.js';import _0x24737f from'../../../theme/icons/add-comment.svg';export default class D extends _0x15bda4{constructor(_0x4d00cd){const _0x443758=_0x1c96;super(_0x4d00cd);const _0x5e7444=this[_0x443758(0xab)];this[_0x443758(0xb0)](_0x443758(0xbd),!0x1),this[_0x443758(0xb0)](_0x443758(0xa9),0x0),this[_0x443758(0xb3)](_0x443758(0xb7))['to'](this,_0x443758(0xbd),this,_0x443758(0xa9),(_0x3fee19,_0x1ced2b)=>_0x3fee19?_0x443758(0xa5):_0x1ced2b[_0x443758(0xad)]()),this[_0x443758(0xb0)](_0x443758(0xa8),''),this[_0x443758(0xb1)]=_0x24737f,this[_0x443758(0xaa)]({'attributes':{'class':[_0x443758(0xa4)]}}),this[_0x443758(0xbb)]=new _0xebb971(),this[_0x443758(0xbb)][_0x443758(0xac)]({'tag':_0x443758(0xbf),'attributes':{'class':[_0x443758(0xbe),_0x5e7444['to'](_0x443758(0xa8),_0x5129d3=>_0x443758(0xaf)+_0x5129d3),_0x5e7444['if'](_0x443758(0xbd),_0x443758(0xa6))]},'children':[{'text':_0x5e7444['to'](_0x443758(0xb7))}]}),this[_0x443758(0xb9)][_0x443758(0xae)](this[_0x443758(0xbb)]);}}function _0x5d77(){const _0x2a6ac2=['ck-annotation-counter__badge--edit-mode','2088378lpHCYo','annotationType','number','extendTemplate','bindTemplate','setTemplate','toString','add','ck-annotation-counter__badge--','set','icon','829771Fmhgyn','bind','4191504JFtOmI','2582755TCTaZn','12dbTPrx','_badge','438576WIvkSR','children','5994045CoFvtG','counterView','12103584hqgcrb','isDirty','ck-annotation-counter__badge','span','ck-annotation-counter','...'];_0x5d77=function(){return _0x2a6ac2;};return _0x5d77();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5a7a8=_0xe623;(function(_0x25ca60,_0xb43bd6){const _0x2f8eea=_0xe623,_0x58514b=_0x25ca60();while(!![]){try{const _0x174c87=-parseInt(_0x2f8eea(0x1e1))/0x1+parseInt(_0x2f8eea(0x1e5))/0x2+-parseInt(_0x2f8eea(0x1ce))/0x3+parseInt(_0x2f8eea(0x1d7))/0x4+-parseInt(_0x2f8eea(0x1d0))/0x5*(parseInt(_0x2f8eea(0x1ef))/0x6)+-parseInt(_0x2f8eea(0x1ea))/0x7+parseInt(_0x2f8eea(0x1dd))/0x8;if(_0x174c87===_0xb43bd6)break;else _0x58514b['push'](_0x58514b['shift']());}catch(_0x28a8fa){_0x58514b['push'](_0x58514b['shift']());}}}(_0x570d,0x29e84));import{View as _0x313d1b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x380c63,KeystrokeHandler as _0x2991f2,uid as _0x53d432}from'ckeditor5/src/utils.js';function _0x570d(){const _0x220a77=['createCollection','presentation','169284QeFTeZ','length','isActive','content','type','425845gCAPpU','detach','add','Esc','bindTemplate','116646yvVkxy','listenTo','height','_updateHeight','focus','attach','targetRect','div','clear','keystrokes','_mutationObserver','first','175212UDrzdT','setTemplate','5RXrWoS','focusTracker','arrowdown','element','render','clientHeight','fire','245596vqCGcK','ck-annotation-wrapper','delegate','ck-annotation-wrapper--active','mainView','isDirty','1682872yREsTw','arrowup','ck-rounded-corners','set','46068JpwIjC','destroy'];_0x570d=function(){return _0x220a77;};return _0x570d();}import _0x190fa4 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0xe623(_0x53c29c,_0x165a64){const _0x570d59=_0x570d();return _0xe623=function(_0xe62380,_0x23b34e){_0xe62380=_0xe62380-0x1c6;let _0x1f173a=_0x570d59[_0xe62380];return _0x1f173a;},_0xe623(_0x53c29c,_0x165a64);}export default class T extends _0x313d1b{constructor(_0x3d6240,_0xa22d6e){const _0x30e3c3=_0xe623;super(_0x3d6240),this['id']=_0x53d432(),this[_0x30e3c3(0x1d1)]=new _0x380c63(),this[_0x30e3c3(0x1cb)]=new _0x2991f2(),this[_0x30e3c3(0x1cb)][_0x30e3c3(0x1e0)](_0x30e3c3(0x1ed),(_0x589a72,_0x47e7f6)=>this[_0x30e3c3(0x1d6)](_0x30e3c3(0x1ed),_0x47e7f6)),this[_0x30e3c3(0x1e0)](_0x30e3c3(0x1c8),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x30e3c3(0x1e0)](_0x30e3c3(0x1f1),0x0),this[_0x30e3c3(0x1e0)](_0x30e3c3(0x1e7),!0x1),this[_0x30e3c3(0x1e0)](_0x30e3c3(0x1dc),!0x1),this[_0x30e3c3(0x1e0)](_0x30e3c3(0x1e6),0x0),this[_0x30e3c3(0x1e0)](_0x30e3c3(0x1e9),''),this[_0x30e3c3(0x1cc)]=_0x190fa4(()=>this[_0x30e3c3(0x1f2)]()),this[_0x30e3c3(0x1e8)]=this[_0x30e3c3(0x1e3)](),this[_0x30e3c3(0x1e8)][_0x30e3c3(0x1d9)](_0x30e3c3(0x1de),_0x30e3c3(0x1d2))['to'](this),this[_0x30e3c3(0x1e8)][_0x30e3c3(0x1ec)](_0xa22d6e),this[_0x30e3c3(0x1db)]=_0xa22d6e;const _0xdab694=this[_0x30e3c3(0x1ee)];this[_0x30e3c3(0x1cf)]({'tag':_0x30e3c3(0x1c9),'attributes':{'class':['ck',_0x30e3c3(0x1d8),_0x30e3c3(0x1df),_0xdab694['if'](_0x30e3c3(0x1e7),_0x30e3c3(0x1da))],'role':_0x30e3c3(0x1e4)},'children':this[_0x30e3c3(0x1e8)]});}[_0x5a7a8(0x1d4)](){const _0x5b0d5c=_0x5a7a8;super[_0x5b0d5c(0x1d4)](),this[_0x5b0d5c(0x1d1)][_0x5b0d5c(0x1ec)](this[_0x5b0d5c(0x1d3)]),this[_0x5b0d5c(0x1cb)][_0x5b0d5c(0x1f0)](this[_0x5b0d5c(0x1d3)]),this[_0x5b0d5c(0x1cc)][_0x5b0d5c(0x1c7)](this[_0x5b0d5c(0x1d3)]);}[_0x5a7a8(0x1e2)](){const _0x3fa626=_0x5a7a8;this[_0x3fa626(0x1e8)][_0x3fa626(0x1ca)](),this[_0x3fa626(0x1cb)][_0x3fa626(0x1e2)](),this[_0x3fa626(0x1d1)][_0x3fa626(0x1e2)](),this[_0x3fa626(0x1cc)][_0x3fa626(0x1eb)](),super[_0x3fa626(0x1e2)]();}[_0x5a7a8(0x1c6)](){const _0x613794=_0x5a7a8;this[_0x613794(0x1e8)][_0x613794(0x1cd)]&&this[_0x613794(0x1e8)][_0x613794(0x1cd)][_0x613794(0x1c6)]();}[_0x5a7a8(0x1f2)](){const _0xa23862=_0x5a7a8,_0xbbb0f5=this[_0xa23862(0x1d3)][_0xa23862(0x1d5)];_0xbbb0f5&&(this[_0xa23862(0x1f1)]=_0xbbb0f5);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x12b4(){const _0x2645e2=['11lgiROE','537363njVAGA','presentation','element','updateHeight','setTemplate','ck-sidebar-item--no-animation','first','isAnimationDisabled','clientHeight','attach','bind','6KJfPuS','render','clear','delegate','_targetTop','arrowdown','createCollection','4PzBlZP','_mutationObserver','95261XvGdJp','height','16kzZKQL','bindTemplate','set','3093025pHlImq','8tWwhhu','74388IMyhXo','div','detach','focus','6726750tAMkAm','bottom','611yyTnZo','arrowup','destroy','top','ck-sidebar-item','content','6298362PJOEJM','6867763CioViK'];_0x12b4=function(){return _0x2645e2;};return _0x12b4();}function _0x5200(_0x2ec6b7,_0x1b1c6b){const _0x12b44f=_0x12b4();return _0x5200=function(_0x52008d,_0x2514d6){_0x52008d=_0x52008d-0x16a;let _0x362e0c=_0x12b44f[_0x52008d];return _0x362e0c;},_0x5200(_0x2ec6b7,_0x1b1c6b);}const _0x4327ad=_0x5200;(function(_0x7d15b4,_0x17b418){const _0x3c9ca6=_0x5200,_0x4e17e2=_0x7d15b4();while(!![]){try{const _0x1a252c=-parseInt(_0x3c9ca6(0x191))/0x1*(-parseInt(_0x3c9ca6(0x193))/0x2)+parseInt(_0x3c9ca6(0x17d))/0x3*(-parseInt(_0x3c9ca6(0x18f))/0x4)+-parseInt(_0x3c9ca6(0x16c))/0x5+-parseInt(_0x3c9ca6(0x188))/0x6*(-parseInt(_0x3c9ca6(0x17b))/0x7)+-parseInt(_0x3c9ca6(0x16d))/0x8*(parseInt(_0x3c9ca6(0x17a))/0x9)+-parseInt(_0x3c9ca6(0x172))/0xa*(-parseInt(_0x3c9ca6(0x17c))/0xb)+parseInt(_0x3c9ca6(0x16e))/0xc*(-parseInt(_0x3c9ca6(0x174))/0xd);if(_0x1a252c===_0x17b418)break;else _0x4e17e2['push'](_0x4e17e2['shift']());}catch(_0x568105){_0x4e17e2['push'](_0x4e17e2['shift']());}}}(_0x12b4,0x9911f));import{View as _0x48faf2}from'ckeditor5/src/ui.js';import{toUnit as _0x22fdf0}from'ckeditor5/src/utils.js';import _0x1b12e9 from'../../utils/createmutationobserver.js';const qt=_0x22fdf0('px');export default class H extends _0x48faf2{constructor(_0x2c4051){const _0x5e2c6e=_0x5200;super(_0x2c4051),this[_0x5e2c6e(0x16b)](_0x5e2c6e(0x177),0x0),this[_0x5e2c6e(0x16b)](_0x5e2c6e(0x192),0x0),this[_0x5e2c6e(0x187)](_0x5e2c6e(0x173))['to'](this,_0x5e2c6e(0x177),this,_0x5e2c6e(0x192),(_0x17bb1b,_0x8092c7)=>_0x17bb1b+_0x8092c7),this[_0x5e2c6e(0x16b)](_0x5e2c6e(0x184),!0x1),this[_0x5e2c6e(0x190)]=_0x1b12e9(()=>this[_0x5e2c6e(0x180)]()),this[_0x5e2c6e(0x18c)]=null,this[_0x5e2c6e(0x179)]=this[_0x5e2c6e(0x18e)](),this[_0x5e2c6e(0x179)][_0x5e2c6e(0x18b)](_0x5e2c6e(0x175),_0x5e2c6e(0x18d))['to'](this);const _0x2f1b52=this[_0x5e2c6e(0x16a)];this[_0x5e2c6e(0x181)]({'tag':_0x5e2c6e(0x16f),'attributes':{'class':[_0x5e2c6e(0x178),_0x2f1b52['to'](_0x5e2c6e(0x184),_0x39ff0a=>_0x39ff0a?_0x5e2c6e(0x182):'')],'style':{'top':_0x2f1b52['to'](_0x5e2c6e(0x177),_0x5a86d8=>qt(_0x5a86d8))},'role':_0x5e2c6e(0x17e)},'children':this[_0x5e2c6e(0x179)]});}[_0x4327ad(0x189)](){const _0x4754f2=_0x4327ad;super[_0x4754f2(0x189)](),this[_0x4754f2(0x190)][_0x4754f2(0x186)](this[_0x4754f2(0x17f)]);}[_0x4327ad(0x171)](){const _0x351104=_0x4327ad;this[_0x351104(0x179)][_0x351104(0x183)]&&this[_0x351104(0x179)][_0x351104(0x183)][_0x351104(0x171)]();}[_0x4327ad(0x180)](){const _0x1159a0=_0x4327ad,_0x5afbcd=this[_0x1159a0(0x17f)][_0x1159a0(0x185)];_0x5afbcd&&(this[_0x1159a0(0x192)]=_0x5afbcd);}[_0x4327ad(0x176)](){const _0x502c18=_0x4327ad;this[_0x502c18(0x179)][_0x502c18(0x18a)](),this[_0x502c18(0x190)][_0x502c18(0x170)](),super[_0x502c18(0x176)]();}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|