@ckeditor/ckeditor5-comments 43.2.0 → 43.3.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/build/comments.js +1 -1
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/cs.js +1 -1
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -1
- package/build/translations/hy.js +1 -0
- package/build/translations/it.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -1
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -0
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/uz.js +1 -0
- package/dist/annotations/annotations.d.ts +8 -0
- package/dist/annotations/annotationsuis.d.ts +8 -0
- package/dist/annotations/editorannotations.d.ts +8 -0
- package/dist/annotations/inlineannotations.d.ts +8 -0
- package/dist/annotations/narrowsidebar.d.ts +8 -0
- package/dist/annotations/sidebar.d.ts +8 -0
- package/dist/annotations/widesidebar.d.ts +8 -0
- package/dist/comments/commentsarchive.d.ts +8 -0
- package/dist/comments/commentsarchiveui.d.ts +8 -0
- package/dist/comments/commentsediting.d.ts +8 -0
- package/dist/comments/commentsrepository.d.ts +8 -0
- package/dist/comments/commentsui.d.ts +8 -0
- package/dist/comments.d.ts +8 -0
- package/dist/commentsonly.d.ts +8 -0
- package/dist/index-editor.css +5 -7
- package/dist/index.css +5 -7
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +23 -0
- package/dist/translations/ast.umd.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en-gb.umd.js +23 -0
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +23 -0
- package/dist/translations/eo.umd.js +23 -0
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +23 -0
- package/dist/translations/eu.umd.js +23 -0
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +23 -0
- package/dist/translations/gu.umd.js +23 -0
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +23 -0
- package/dist/translations/hy.umd.js +23 -0
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +23 -0
- package/dist/translations/kk.umd.js +23 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +23 -0
- package/dist/translations/km.umd.js +23 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +23 -0
- package/dist/translations/kn.umd.js +23 -0
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/ku.umd.js +23 -0
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +23 -0
- package/dist/translations/nb.umd.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/ne.umd.js +23 -0
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +23 -0
- package/dist/translations/oc.umd.js +23 -0
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +23 -0
- package/dist/translations/si.umd.js +23 -0
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +23 -0
- package/dist/translations/sl.umd.js +23 -0
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +23 -0
- package/dist/translations/uz.umd.js +23 -0
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/af.po +3 -9
- package/lang/translations/ar.po +4 -10
- package/lang/translations/ast.po +176 -0
- package/lang/translations/az.po +176 -0
- package/lang/translations/bg.po +3 -9
- package/lang/translations/bn.po +3 -9
- package/lang/translations/bs.po +4 -10
- package/lang/translations/ca.po +3 -9
- package/lang/translations/cs.po +4 -12
- package/lang/translations/da.po +3 -9
- package/lang/translations/de-ch.po +3 -9
- package/lang/translations/de.po +3 -9
- package/lang/translations/el.po +3 -9
- package/lang/translations/en-au.po +3 -9
- package/lang/translations/en-gb.po +176 -0
- package/lang/translations/en.po +5 -11
- package/lang/translations/eo.po +176 -0
- package/lang/translations/es-co.po +4 -12
- package/lang/translations/es.po +4 -12
- package/lang/translations/et.po +3 -9
- package/lang/translations/eu.po +176 -0
- package/lang/translations/fa.po +4 -12
- package/lang/translations/fi.po +3 -9
- package/lang/translations/fr.po +4 -12
- package/lang/translations/gl.po +3 -9
- package/lang/translations/gu.po +176 -0
- package/lang/translations/he.po +4 -12
- package/lang/translations/hi.po +3 -9
- package/lang/translations/hr.po +4 -10
- package/lang/translations/hu.po +3 -9
- package/lang/translations/hy.po +176 -0
- package/lang/translations/id.po +3 -9
- package/lang/translations/it.po +4 -12
- package/lang/translations/ja.po +3 -9
- package/lang/translations/jv.po +6 -10
- package/lang/translations/kk.po +176 -0
- package/lang/translations/km.po +174 -0
- package/lang/translations/kn.po +176 -0
- package/lang/translations/ko.po +3 -9
- package/lang/translations/ku.po +176 -0
- package/lang/translations/lt.po +4 -12
- package/lang/translations/lv.po +4 -10
- package/lang/translations/ms.po +3 -9
- package/lang/translations/nb.po +176 -0
- package/lang/translations/ne.po +176 -0
- package/lang/translations/nl.po +3 -9
- package/lang/translations/no.po +3 -9
- package/lang/translations/oc.po +176 -0
- package/lang/translations/pl.po +4 -12
- package/lang/translations/pt-br.po +4 -12
- package/lang/translations/pt.po +4 -12
- package/lang/translations/ro.po +4 -10
- package/lang/translations/ru.po +4 -12
- package/lang/translations/si.po +176 -0
- package/lang/translations/sk.po +4 -12
- package/lang/translations/sl.po +180 -0
- package/lang/translations/sq.po +3 -9
- package/lang/translations/sr-latn.po +4 -10
- package/lang/translations/sr.po +4 -10
- package/lang/translations/sv.po +3 -9
- package/lang/translations/th.po +3 -9
- package/lang/translations/ti.po +3 -9
- package/lang/translations/tk.po +3 -9
- package/lang/translations/tr.po +3 -9
- package/lang/translations/tt.po +3 -9
- package/lang/translations/ug.po +4 -12
- package/lang/translations/uk.po +4 -12
- package/lang/translations/ur.po +3 -9
- package/lang/translations/uz.po +176 -0
- package/lang/translations/vi.po +3 -9
- package/lang/translations/zh-cn.po +3 -9
- package/lang/translations/zh.po +3 -9
- package/package.json +15 -15
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +8 -0
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.d.ts +8 -0
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.d.ts +8 -0
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.d.ts +8 -0
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.d.ts +8 -0
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.d.ts +8 -0
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.d.ts +8 -0
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.d.ts +8 -0
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +8 -0
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +8 -0
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +8 -0
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.d.ts +8 -0
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.d.ts +8 -0
- package/src/comments.js +1 -1
- package/src/commentsonly.d.ts +8 -0
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x481f57=_0x3710;function _0x5e4f(){const _0xbcf9eb=['isOfficialPlugin','fire','_dataCollectors','annotation','from','isReadOnly','getRanges','add','isPremiumPlugin','cancel','editorannotations-invalid-source-callback','delete','isCollapsed','remove','getOrderedSelectedAnnotations','isEqual','4moIQls','39227FnPGrv','change:isFocused','_editorAnnotations','_editorAnnotationsData','get','set','range','refreshSelectedViews','315006wiqGQh','getByInnerView','blur','map','containsRange','editing','document','sort','20KwcDri','listenTo','50pkIulz','model','push','selection','pluginName','registerAnnotation','has','776534OcFens','focusTracker','1230771gJrMve','refresh','EditorAnnotations','view','requires','update','plugins','directChange','collection','3828769BOgHmd','2832012AMboBk','function','addSourceCollector','uiUpdate','change:range','517032TEGSVN','innerView','editor','init','element','hasDomSelection'];_0x5e4f=function(){return _0xbcf9eb;};return _0x5e4f();}(function(_0xd52f2d,_0x16011b){const _0x5922d9=_0x3710,_0x33017f=_0xd52f2d();while(!![]){try{const _0x2db666=parseInt(_0x5922d9(0x180))/0x1+parseInt(_0x5922d9(0x199))/0x2+parseInt(_0x5922d9(0x19b))/0x3*(parseInt(_0x5922d9(0x17f))/0x4)+-parseInt(_0x5922d9(0x192))/0x5*(parseInt(_0x5922d9(0x188))/0x6)+parseInt(_0x5922d9(0x1a4))/0x7+parseInt(_0x5922d9(0x1aa))/0x8+parseInt(_0x5922d9(0x1a5))/0x9*(-parseInt(_0x5922d9(0x190))/0xa);if(_0x2db666===_0x16011b)break;else _0x33017f['push'](_0x33017f['shift']());}catch(_0x2e902e){_0x33017f['push'](_0x33017f['shift']());}}}(_0x5e4f,0x48059));import{Plugin as _0x4c610e}from'ckeditor5/src/core.js';import{CKEditorError as _0x5f0b7d}from'ckeditor5/src/utils.js';import{debounce as _0x7c9078}from'lodash-es';import _0x59314a from'./annotations.js';function _0x3710(_0x4cbad1,_0x228d4c){const _0x5e4fbe=_0x5e4f();return _0x3710=function(_0x371077,_0x35277c){_0x371077=_0x371077-0x16c;let _0x16ee4a=_0x5e4fbe[_0x371077];return _0x16ee4a;},_0x3710(_0x4cbad1,_0x228d4c);}export default class P extends _0x4c610e{static get[_0x481f57(0x19f)](){return[_0x59314a];}static get[_0x481f57(0x196)](){const _0x2537db=_0x481f57;return _0x2537db(0x19d);}static get[_0x481f57(0x16f)](){return!0x0;}static get[_0x481f57(0x177)](){return!0x0;}constructor(_0x1f41b2){const _0x1bb0e4=_0x481f57;super(_0x1f41b2),this[_0x1bb0e4(0x171)]=new Set(),this[_0x1bb0e4(0x182)]=new Set();}[_0x481f57(0x16c)](){const _0x21864d=_0x481f57,_0x36f1c7=this[_0x21864d(0x1ac)],_0x4208c5=_0x36f1c7[_0x21864d(0x193)][_0x21864d(0x18e)][_0x21864d(0x195)],_0x27f223=_0x7c9078(()=>this[_0x21864d(0x187)](),0xa);_0x4208c5['on'](_0x21864d(0x1a9),(_0x569728,_0x543fe6)=>{const _0x12b1a8=_0x21864d;_0x543fe6[_0x12b1a8(0x1a2)]&&(_0x27f223[_0x12b1a8(0x178)](),this[_0x12b1a8(0x187)]());}),this[_0x21864d(0x191)](_0x36f1c7[_0x21864d(0x18d)][_0x21864d(0x19e)][_0x21864d(0x18e)],_0x21864d(0x181),(_0x1cbebe,_0x3ae910,_0x323475)=>{_0x323475&&_0x27f223();}),this[_0x21864d(0x191)](_0x36f1c7['ui'][_0x21864d(0x19a)],_0x21864d(0x181),(_0x52699e,_0x4dc08a,_0x1bc051)=>{const _0x66a82e=_0x21864d;_0x1bc051||_0x36f1c7[_0x66a82e(0x174)]||this[_0x66a82e(0x170)](_0x66a82e(0x18a),{'isAnnotationTracked':_0x4549d4=>this[_0x66a82e(0x183)][_0x66a82e(0x198)](_0x4549d4[_0x66a82e(0x1ab)])});}),this[_0x21864d(0x191)](this[_0x21864d(0x1ac)]['ui'],_0x21864d(0x1a0),()=>this[_0x21864d(0x170)](_0x21864d(0x1a8)));}[_0x481f57(0x197)](_0x4d8973){const _0x2e5231=_0x481f57;if(this[_0x2e5231(0x182)][_0x2e5231(0x198)](_0x4d8973[_0x2e5231(0x19e)]))return;this[_0x2e5231(0x182)][_0x2e5231(0x176)](_0x4d8973[_0x2e5231(0x19e)]),this[_0x2e5231(0x1ac)]['ui'][_0x2e5231(0x19a)][_0x2e5231(0x176)](_0x4d8973[_0x2e5231(0x19e)][_0x2e5231(0x16d)]);const _0x24049a=this[_0x2e5231(0x1ac)][_0x2e5231(0x1a1)][_0x2e5231(0x184)](_0x59314a);this[_0x2e5231(0x191)](_0x24049a[_0x2e5231(0x1a3)],_0x2e5231(0x17c),(_0x390245,_0x4b5b2b)=>{const _0x412e47=_0x2e5231;this[_0x412e47(0x1ac)]['ui'][_0x412e47(0x19a)][_0x412e47(0x17c)](_0x4b5b2b[_0x412e47(0x19e)][_0x412e47(0x16d)]),this[_0x412e47(0x182)][_0x412e47(0x17a)](_0x4b5b2b[_0x412e47(0x19e)]);});}[_0x481f57(0x16e)](){const _0x11c8fd=_0x481f57;return this[_0x11c8fd(0x1ac)][_0x11c8fd(0x18d)][_0x11c8fd(0x19e)][_0x11c8fd(0x16e)];}[_0x481f57(0x1a7)](_0x28ed6f){const _0xf69eea=_0x481f57;if(_0xf69eea(0x1a6)!=typeof _0x28ed6f)throw new _0x5f0b7d(_0xf69eea(0x179));this[_0xf69eea(0x171)][_0xf69eea(0x176)](_0x28ed6f);}[_0x481f57(0x187)](){const _0x20b8d1=_0x481f57;this[_0x20b8d1(0x170)](_0x20b8d1(0x19c));}[_0x481f57(0x17d)]({activeAnnotation:_0x52d618,annotations:_0x112960}){const _0x42385e=_0x481f57,_0x135a54=[],_0x1b3e68=this[_0x42385e(0x1ac)][_0x42385e(0x193)][_0x42385e(0x18e)][_0x42385e(0x195)],_0x23d1ec=Array[_0x42385e(0x173)](_0x1b3e68[_0x42385e(0x175)]());for(const [_0x4e6427,_0x4f8c56]of this[_0x42385e(0x183)]){const _0x2e56af=_0x572b31(_0x4f8c56),_0x39f659=_0x112960[_0x42385e(0x189)](_0x4e6427);_0x2e56af&&_0x39f659&&_0x135a54[_0x42385e(0x194)]({'annotation':_0x39f659,'range':_0x2e56af});}function _0x572b31(_0x3665c){const _0x25eff6=_0x42385e;for(const _0x1d4d78 of _0x3665c)for(const _0x4c2a6f of _0x23d1ec)if(_0x1d4d78[_0x25eff6(0x18c)](_0x4c2a6f,!_0x1b3e68[_0x25eff6(0x17b)]))return _0x1d4d78;return null;}return _0x135a54[_0x42385e(0x18f)]((_0x34fd2a,_0x5c380e)=>{const _0x5a070d=_0x42385e,_0x37aa70=_0x34fd2a[_0x5a070d(0x186)],_0x665bd9=_0x5c380e[_0x5a070d(0x186)];if(!_0x37aa70[_0x5a070d(0x17e)](_0x665bd9)){if(_0x37aa70[_0x5a070d(0x18c)](_0x665bd9,!0x0))return 0x1;if(_0x665bd9[_0x5a070d(0x18c)](_0x37aa70,!0x0))return-0x1;}return _0x34fd2a[_0x5a070d(0x172)]==_0x52d618?-0x1:_0x5c380e[_0x5a070d(0x172)]==_0x52d618?0x1:0x0;})[_0x42385e(0x18b)](_0x3cffe9=>_0x3cffe9[_0x42385e(0x172)]);}get[_0x481f57(0x183)](){const _0x17ff47=_0x481f57,_0x1a2989=new Map();for(const _0x229c74 of Array[_0x17ff47(0x173)](this[_0x17ff47(0x171)]))for(const [_0x74e91f,_0x9b67c3]of _0x229c74())_0x1a2989[_0x17ff47(0x185)](_0x74e91f,_0x9b67c3);return _0x1a2989;}}
|
|
@@ -59,6 +59,14 @@ export default class InlineAnnotations extends Plugin implements AnnotationsUI<P
|
|
|
59
59
|
* @inheritDoc
|
|
60
60
|
*/
|
|
61
61
|
static get pluginName(): "InlineAnnotations";
|
|
62
|
+
/**
|
|
63
|
+
* @inheritDoc
|
|
64
|
+
*/
|
|
65
|
+
static get isOfficialPlugin(): true;
|
|
66
|
+
/**
|
|
67
|
+
* @inheritDoc
|
|
68
|
+
*/
|
|
69
|
+
static get isPremiumPlugin(): true;
|
|
62
70
|
/**
|
|
63
71
|
* @inheritDoc
|
|
64
72
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x52f134=_0x2726;(function(_0x19a1ea,_0xe7ce4a){const _0x532094=_0x2726,_0x17fcc2=_0x19a1ea();while(!![]){try{const _0x20750b=-parseInt(_0x532094(0xf1))/0x1*(-parseInt(_0x532094(0x10a))/0x2)+parseInt(_0x532094(0x11f))/0x3*(-parseInt(_0x532094(0xd6))/0x4)+parseInt(_0x532094(0xeb))/0x5+parseInt(_0x532094(0x12e))/0x6+parseInt(_0x532094(0x105))/0x7+-parseInt(_0x532094(0x101))/0x8+-parseInt(_0x532094(0x121))/0x9*(parseInt(_0x532094(0xfa))/0xa);if(_0x20750b===_0xe7ce4a)break;else _0x17fcc2['push'](_0x17fcc2['shift']());}catch(_0x5c896a){_0x17fcc2['push'](_0x17fcc2['shift']());}}}(_0x128a,0x9cb2e));import{Plugin as _0x1d0d2d}from'ckeditor5/src/core.js';import _0x551f68 from'./annotationsuis.js';function _0x2726(_0x266602,_0x18446b){const _0x128a41=_0x128a();return _0x2726=function(_0x27260a,_0xb0c1bb){_0x27260a=_0x27260a-0xcf;let _0x22e268=_0x128a41[_0x27260a];return _0x22e268;},_0x2726(_0x266602,_0x18446b);}import _0x5dd92c from'./editorannotations.js';import{ContextualBalloon as _0x4603d4}from'ckeditor5/src/ui.js';import{MouseObserver as _0x4002c6}from'ckeditor5/src/engine.js';import{CKEditorError as _0x36c820,Rect as _0x22acc8}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';function _0x128a(){const _0x3b0694=['_selectedAnnotations','mousedown','init','1087664anJvwL','collapse','focusTracker','getOrderedSelectedAnnotations','8194088FZPpdh','stopListening','annotations','_removeAnnotationFromBalloon','length','9736CpbCOk','editing','change:height','bottom','clear','register','document','showStack','inline','push','setActiveAnnotation','_setSelectedAnnotations','activeAnnotation','remove','refresh','hasActive','getClientRects','inlineannotations-detach-not-attached','_getBalloonTargetForAnnotation','inlineannotations-attach-already-attached','viewRangeToDom','2573772NznRKZ','destroy','1746hnIJUZ','update','editor','requires','has','domConverter','width','add','getFirstRange','_addedAnnotations','getBoundingClientRect','visibleView','fromRect','7600284VZsEuT','isActive','context','editableElement','selection','isFocused','keystrokes','target','view','4BigdQx','focus','change:visibleView','includes','get','attach','addObserver','top','find','map','Esc','detach','getByView','right','delete','left','inlineannotations-not-allowed-with-context','_balloon','targetRect','hasView','plugins','5251240sUHXRL','_closeAnnotation','from','set','isAttached','pluginName','27oLHVfa','listenTo','afterInit','updatePosition','switchTo','_manuallyClosed','_addAnnotationToBalloon','every','InlineAnnotations','102230wKJcDt','change:isFocused','_forceRefresh','blur'];_0x128a=function(){return _0x3b0694;};return _0x128a();}export default class c extends _0x1d0d2d{static get[_0x52f134(0x124)](){return[_0x5dd92c,_0x4603d4,_0x551f68];}static get[_0x52f134(0xf0)](){const _0x14d616=_0x52f134;return _0x14d616(0xf9);}constructor(_0x15ba45){const _0x5101fc=_0x52f134;super(_0x15ba45),_0x15ba45[_0x5101fc(0x10b)][_0x5101fc(0xd5)][_0x5101fc(0xdc)](_0x4002c6),this[_0x5101fc(0xef)]=!0x1,this[_0x5101fc(0xee)](_0x5101fc(0x116),null),this[_0x5101fc(0x107)]=null,this[_0x5101fc(0xf6)]=new Set(),this[_0x5101fc(0xe7)]=_0x15ba45[_0x5101fc(0xea)][_0x5101fc(0xda)](_0x4603d4),this[_0x5101fc(0x12a)]=new Set(),this[_0x5101fc(0xfe)]=[],this[_0x5101fc(0xfc)]=!0x1;}[_0x52f134(0x100)](){const _0x45bddf=_0x52f134,_0x5b9142=this[_0x45bddf(0x123)][_0x45bddf(0xea)][_0x45bddf(0xda)](_0x551f68);_0x5b9142[_0x45bddf(0xcf)]===this[_0x45bddf(0x123)]&&(_0x5b9142[_0x45bddf(0x10f)](_0x45bddf(0x112),this),this[_0x45bddf(0x123)][_0x45bddf(0xd3)][_0x45bddf(0xee)](_0x45bddf(0xe0),(_0x1f4284,_0x67e725)=>{const _0x119685=_0x45bddf,_0x865cf9=this[_0x119685(0xe7)];if(this[_0x119685(0xef)]&&_0x865cf9[_0x119685(0x12c)]){const _0x251cae=this[_0x119685(0x107)][_0x119685(0xe2)](_0x865cf9[_0x119685(0x12c)]);_0x251cae&&this[_0x119685(0xec)](_0x251cae),_0x67e725();}}));}[_0x52f134(0xf3)](){const _0x2d5319=_0x52f134,_0x4a5009=this[_0x2d5319(0x123)][_0x2d5319(0xea)][_0x2d5319(0xda)](_0x551f68);_0x4a5009[_0x2d5319(0xcf)]===this[_0x2d5319(0x123)]&&(_0x4a5009[_0x2d5319(0x119)]()||_0x4a5009[_0x2d5319(0xf5)](_0x2d5319(0x112)));}[_0x52f134(0x114)](_0xc0cbbb){const _0x1551af=_0x52f134;_0xc0cbbb!==this[_0x1551af(0x116)]&&(this[_0x1551af(0x116)]&&(this[_0x1551af(0x116)][_0x1551af(0x12f)]=!0x1),_0xc0cbbb&&this[_0x1551af(0x123)]['ui'][_0x1551af(0x103)][_0x1551af(0xd2)]&&(this[_0x1551af(0x107)][_0x1551af(0x125)](_0xc0cbbb)&&this[_0x1551af(0xf7)](_0xc0cbbb,!0x0),_0xc0cbbb[_0x1551af(0x12f)]=!0x0),_0xc0cbbb||this[_0x1551af(0x115)]([]),this[_0x1551af(0x116)]=_0xc0cbbb);}[_0x52f134(0xdb)](_0x4b7d9a){const _0x35bff6=_0x52f134;this[_0x35bff6(0x107)]=_0x4b7d9a;const _0x2e7a87=this[_0x35bff6(0x123)][_0x35bff6(0xea)][_0x35bff6(0xda)](_0x551f68),_0x2a9123=this[_0x35bff6(0xe7)];if(this[_0x35bff6(0xef)])throw new _0x36c820(_0x35bff6(0x11d),this);if(_0x2e7a87[_0x35bff6(0xcf)]!==this[_0x35bff6(0x123)])throw new _0x36c820(_0x35bff6(0xe6),this);const _0x481b94=this[_0x35bff6(0x123)][_0x35bff6(0xea)][_0x35bff6(0xda)](_0x5dd92c);this[_0x35bff6(0xf2)](_0x481b94,_0x35bff6(0x118),()=>{const _0x38e7fd=_0x35bff6,_0x5da102=_0x481b94[_0x38e7fd(0x104)]({'annotations':this[_0x38e7fd(0x107)],'activeAnnotation':this[_0x38e7fd(0x116)]});var _0x198abc,_0x242bb7;!this[_0x38e7fd(0xfc)]&&(_0x198abc=_0x5da102,_0x242bb7=this[_0x38e7fd(0xfe)],_0x198abc[_0x38e7fd(0x109)]===_0x242bb7[_0x38e7fd(0x109)]&&_0x198abc[_0x38e7fd(0xf8)](_0x3ca24c=>_0x242bb7[_0x38e7fd(0xd9)](_0x3ca24c)))||(this[_0x38e7fd(0xfc)]=!0x1,this[_0x38e7fd(0x115)](_0x5da102),this[_0x38e7fd(0x114)](_0x5da102[0x0]||null));}),this[_0x35bff6(0xf2)](_0x481b94,_0x35bff6(0xfd),(_0x49968a,{isAnnotationTracked:_0x20abf2})=>{const _0x4348f0=_0x35bff6;this[_0x4348f0(0x116)]&&_0x20abf2(this[_0x4348f0(0x116)])&&(this[_0x4348f0(0x115)]([]),this[_0x4348f0(0x114)](null));}),this[_0x35bff6(0xf2)](this[_0x35bff6(0x123)]['ui'][_0x35bff6(0x103)],_0x35bff6(0xfb),(_0x25898a,_0x1b6d2e,_0x172652)=>{const _0x5ae381=_0x35bff6;_0x172652||this[_0x5ae381(0x114)](null);}),this[_0x35bff6(0xf2)](_0x4b7d9a,_0x35bff6(0x117),(_0x3b2d72,_0x63dbd3)=>{const _0x40b065=_0x35bff6;this[_0x40b065(0x108)](_0x63dbd3),_0x63dbd3===this[_0x40b065(0x116)]&&this[_0x40b065(0x114)](null);}),this[_0x35bff6(0xf2)](_0x2a9123,_0x35bff6(0xd8),(_0x1ec52a,_0xb1fddd,_0x5e1e7d,_0x2c78b1)=>{const _0x555c11=_0x35bff6;_0x2c78b1&&this[_0x555c11(0x106)](_0x2c78b1);const _0x2e210d=_0x4b7d9a[_0x555c11(0xe2)](_0x5e1e7d);_0x5e1e7d&&_0x2e210d&&(this[_0x555c11(0xf2)](_0x5e1e7d,_0x555c11(0x10c),()=>{const _0x43cedf=_0x555c11;_0x2a9123[_0x43cedf(0xf4)]();}),this[_0x555c11(0xf2)](_0x5e1e7d,_0x555c11(0xe0),()=>{const _0x1037f0=_0x555c11;this[_0x1037f0(0xec)](_0x2e210d),this[_0x1037f0(0x123)][_0x1037f0(0x10b)][_0x1037f0(0xd5)][_0x1037f0(0xd7)]();}),this[_0x555c11(0x116)]!==_0x2e210d&&this[_0x555c11(0x114)](_0x2e210d));}),this[_0x35bff6(0xf2)](this[_0x35bff6(0x123)]['ui'],_0x35bff6(0x122),()=>{const _0x236974=_0x35bff6;_0x2a9123[_0x236974(0x12c)]&&(_0x4b7d9a[_0x236974(0xe2)](_0x2a9123[_0x236974(0x12c)])&&_0x2a9123[_0x236974(0xf4)]());}),this[_0x35bff6(0xf2)](this[_0x35bff6(0x123)][_0x35bff6(0x10b)][_0x35bff6(0xd5)][_0x35bff6(0x110)],_0x35bff6(0xff),()=>{const _0x5312ba=_0x35bff6;this[_0x5312ba(0xfc)]=!0x0,this[_0x5312ba(0xf6)][_0x5312ba(0x10e)]();}),this[_0x35bff6(0x123)][_0x35bff6(0x10b)][_0x35bff6(0xd5)][_0x35bff6(0x110)][_0x35bff6(0xd1)][_0x35bff6(0xd0)]&&this[_0x35bff6(0x123)][_0x35bff6(0x10b)][_0x35bff6(0xd5)][_0x35bff6(0xd7)](),this[_0x35bff6(0xef)]=!0x0;}[_0x52f134(0xe1)](){const _0x17e953=_0x52f134;if(!this[_0x17e953(0xef)])throw new _0x36c820(_0x17e953(0x11b),this);this[_0x17e953(0x114)](null);for(const _0x55a647 of this[_0x17e953(0x12a)])this[_0x17e953(0x108)](_0x55a647);this[_0x17e953(0x106)](),this[_0x17e953(0xef)]=!0x1,this[_0x17e953(0x107)]=null;}[_0x52f134(0x120)](){const _0x56ff1b=_0x52f134;this[_0x56ff1b(0xef)]&&this[_0x56ff1b(0xe1)]();}[_0x52f134(0x115)](_0x506798){const _0x105d07=_0x52f134;for(const _0x118692 of this[_0x105d07(0xfe)])_0x506798[_0x105d07(0xd9)](_0x118692)||this[_0x105d07(0xf6)][_0x105d07(0xe4)](_0x118692);for(const _0x2a51eb of this[_0x105d07(0x107)])_0x506798[_0x105d07(0xd9)](_0x2a51eb)||this[_0x105d07(0x108)](_0x2a51eb);if(this[_0x105d07(0x123)]['ui'][_0x105d07(0x103)][_0x105d07(0xd2)]){for(const _0x3edfb5 of _0x506798)this[_0x105d07(0xf7)](_0x3edfb5);}this[_0x105d07(0xfe)]=_0x506798;}[_0x52f134(0xf7)](_0x13a796,_0x774a74=!0x1){const _0x688792=_0x52f134;this[_0x688792(0xf6)][_0x688792(0x125)](_0x13a796)||(this[_0x688792(0x12a)][_0x688792(0x125)](_0x13a796)||this[_0x688792(0xe7)][_0x688792(0xe9)](_0x13a796[_0x688792(0xd5)])||(this[_0x688792(0x12a)][_0x688792(0x128)](_0x13a796),this[_0x688792(0xe7)][_0x688792(0x128)]({'stackId':_0x13a796[_0x688792(0xd5)]['id'],'view':_0x13a796[_0x688792(0xd5)],'position':{'target':()=>this[_0x688792(0x11c)](_0x13a796)}})),_0x774a74&&this[_0x688792(0xe7)][_0x688792(0x111)](_0x13a796[_0x688792(0xd5)]['id']));}[_0x52f134(0x11c)](_0x25b2b9){const _0x18ba4b=_0x52f134,_0x25be29=_0x25b2b9[_0x18ba4b(0xd4)],_0x251ffa=this[_0x18ba4b(0x123)][_0x18ba4b(0x10b)][_0x18ba4b(0xd5)],_0x469d0c=_0x251ffa[_0x18ba4b(0x110)][_0x18ba4b(0xd1)][_0x18ba4b(0x129)](),_0x6f27c1=_0x251ffa[_0x18ba4b(0x126)][_0x18ba4b(0x11e)](_0x469d0c);if(_0x6f27c1[_0x18ba4b(0x102)](!0x0),_0x25be29){if(_0x25be29 instanceof _0x22acc8)return _0x25be29;let _0x6bce6f=[];for(const _0x4209d2 of _0x25be29)_0x6bce6f[_0x18ba4b(0x113)](...(_0x57b773=_0x4209d2[_0x18ba4b(0x11a)](),Array[_0x18ba4b(0xed)](_0x57b773)[_0x18ba4b(0xdf)](DOMRect[_0x18ba4b(0x12d)])));_0x6bce6f=function(_0x7708c){const _0x1bba56=_0x18ba4b,_0x50c927=[];let _0x567557=_0x7708c[0x0];for(let _0x26fad1=0x1;_0x26fad1<_0x7708c[_0x1bba56(0x109)];_0x26fad1++)q(_0x567557,_0x7708c[_0x26fad1])?_0x567557[_0x1bba56(0x127)]+=_0x7708c[_0x26fad1][_0x1bba56(0x127)]:(_0x50c927[_0x1bba56(0x113)](_0x567557),_0x567557=_0x7708c[_0x26fad1]);return _0x50c927[_0x1bba56(0x113)](_0x567557),_0x50c927;}(_0x6bce6f);const _0x26ad5b=_0x6f27c1[_0x18ba4b(0x12b)]();return _0x6bce6f[_0x18ba4b(0xde)](_0xca4f74=>_0xca4f74[_0x18ba4b(0xdd)]<=_0x26ad5b[_0x18ba4b(0xdd)]&&_0xca4f74[_0x18ba4b(0x10d)]>=_0x26ad5b[_0x18ba4b(0x10d)]&&_0xca4f74[_0x18ba4b(0xe5)]<=_0x26ad5b[_0x18ba4b(0xe5)]&&_0xca4f74[_0x18ba4b(0xe3)]>=_0x26ad5b[_0x18ba4b(0xe3)])||_0x6bce6f[0x0];}var _0x57b773;return _0x25b2b9[_0x18ba4b(0xe8)]||_0x6f27c1;}[_0x52f134(0x108)](_0x3c2089){const _0x48138d=_0x52f134;this[_0x48138d(0x12a)][_0x48138d(0x125)](_0x3c2089)&&this[_0x48138d(0xe7)][_0x48138d(0xe9)](_0x3c2089[_0x48138d(0xd5)])&&(this[_0x48138d(0x12a)][_0x48138d(0xe4)](_0x3c2089),this[_0x48138d(0xe7)][_0x48138d(0x117)](_0x3c2089[_0x48138d(0xd5)]));}[_0x52f134(0xec)](_0x262adb){const _0x4989d4=_0x52f134;this[_0x4989d4(0xf6)][_0x4989d4(0x128)](_0x262adb),this[_0x4989d4(0x108)](_0x262adb);}}function q(_0x2dac53,_0x37a205){const _0x23a507=_0x52f134;return _0x2dac53[_0x23a507(0xdd)]===_0x37a205[_0x23a507(0xdd)]&&_0x2dac53[_0x23a507(0x10d)]===_0x37a205[_0x23a507(0x10d)]&&_0x2dac53[_0x23a507(0xe3)]===_0x37a205[_0x23a507(0xe5)];}
|
|
23
|
+
const _0x4e3b45=_0x5db5;function _0x5db5(_0x40aeb3,_0x1eadbe){const _0x129a2f=_0x129a();return _0x5db5=function(_0x5db507,_0x4a2c18){_0x5db507=_0x5db507-0x1a7;let _0x1244d5=_0x129a2f[_0x5db507];return _0x1244d5;},_0x5db5(_0x40aeb3,_0x1eadbe);}(function(_0x4821bf,_0xc7056e){const _0x49959f=_0x5db5,_0x19c189=_0x4821bf();while(!![]){try{const _0x5b56fa=-parseInt(_0x49959f(0x208))/0x1+-parseInt(_0x49959f(0x1e2))/0x2+parseInt(_0x49959f(0x1db))/0x3*(parseInt(_0x49959f(0x1f1))/0x4)+parseInt(_0x49959f(0x1e1))/0x5+parseInt(_0x49959f(0x1bd))/0x6+parseInt(_0x49959f(0x206))/0x7*(parseInt(_0x49959f(0x1fa))/0x8)+parseInt(_0x49959f(0x1ee))/0x9;if(_0x5b56fa===_0xc7056e)break;else _0x19c189['push'](_0x19c189['shift']());}catch(_0x4160f1){_0x19c189['push'](_0x19c189['shift']());}}}(_0x129a,0x6e1a0));import{Plugin as _0x3a4e80}from'ckeditor5/src/core.js';import _0x14e454 from'./annotationsuis.js';import _0xb6282e from'./editorannotations.js';import{ContextualBalloon as _0xd5162d}from'ckeditor5/src/ui.js';import{MouseObserver as _0x52fc7b}from'ckeditor5/src/engine.js';function _0x129a(){const _0x2b53f0=['Esc','left','isOfficialPlugin','413337pesOoo','remove','isActive','plugins','targetRect','isPremiumPlugin','1033185snnUGZ','452356uSRGxq','visibleView','isAttached','from','length','target','stopListening','delete','inlineannotations-detach-not-attached','context','requires','get','492984PLYUSD','getByView','_closeAnnotation','4ERJUVe','clear','keystrokes','refresh','_addAnnotationToBalloon','find','change:visibleView','viewRangeToDom','inline','8wIpGAD','editing','inlineannotations-attach-already-attached','focusTracker','editableElement','update','view','_addedAnnotations','showStack','map','selection','includes','1646015SVXmgX','top','288036lpcsdz','blur','afterInit','hasActive','destroy','getClientRects','_selectedAnnotations','inlineannotations-not-allowed-with-context','_forceRefresh','detach','change:height','_balloon','_setSelectedAnnotations','change:isFocused','_manuallyClosed','switchTo','document','every','mousedown','setActiveAnnotation','attach','addObserver','InlineAnnotations','1985118YlkGCe','hasView','right','editor','init','getOrderedSelectedAnnotations','domConverter','annotations','updatePosition','fromRect','has','register','_getBalloonTargetForAnnotation','add','getBoundingClientRect','isFocused','set','pluginName','getFirstRange','push','activeAnnotation','collapse','listenTo','bottom','width','focus','_removeAnnotationFromBalloon'];_0x129a=function(){return _0x2b53f0;};return _0x129a();}import{CKEditorError as _0x5d625f,Rect as _0x36c5a3}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x3a4e80{static get[_0x4e3b45(0x1ec)](){return[_0xb6282e,_0xd5162d,_0x14e454];}static get[_0x4e3b45(0x1ce)](){const _0x1e5f47=_0x4e3b45;return _0x1e5f47(0x1bc);}static get[_0x4e3b45(0x1da)](){return!0x0;}static get[_0x4e3b45(0x1e0)](){return!0x0;}constructor(_0x3bf6f3){const _0x383a8c=_0x4e3b45;super(_0x3bf6f3),_0x3bf6f3[_0x383a8c(0x1fb)][_0x383a8c(0x200)][_0x383a8c(0x1bb)](_0x52fc7b),this[_0x383a8c(0x1e4)]=!0x1,this[_0x383a8c(0x1cd)](_0x383a8c(0x1d1),null),this[_0x383a8c(0x1c4)]=null,this[_0x383a8c(0x1b4)]=new Set(),this[_0x383a8c(0x1b1)]=_0x3bf6f3[_0x383a8c(0x1de)][_0x383a8c(0x1ed)](_0xd5162d),this[_0x383a8c(0x201)]=new Set(),this[_0x383a8c(0x1ac)]=[],this[_0x383a8c(0x1ae)]=!0x1;}[_0x4e3b45(0x1c1)](){const _0x15c253=_0x4e3b45,_0x3aaf09=this[_0x15c253(0x1c0)][_0x15c253(0x1de)][_0x15c253(0x1ed)](_0x14e454);_0x3aaf09[_0x15c253(0x1eb)]===this[_0x15c253(0x1c0)]&&(_0x3aaf09[_0x15c253(0x1c8)](_0x15c253(0x1f9),this),this[_0x15c253(0x1c0)][_0x15c253(0x1f3)][_0x15c253(0x1cd)](_0x15c253(0x1d8),(_0x517b8a,_0x494c63)=>{const _0x403b0c=_0x15c253,_0x2a29ac=this[_0x403b0c(0x1b1)];if(this[_0x403b0c(0x1e4)]&&_0x2a29ac[_0x403b0c(0x1e3)]){const _0x352b2c=this[_0x403b0c(0x1c4)][_0x403b0c(0x1ef)](_0x2a29ac[_0x403b0c(0x1e3)]);_0x352b2c&&this[_0x403b0c(0x1f0)](_0x352b2c),_0x494c63();}}));}[_0x4e3b45(0x1a8)](){const _0x52ff35=_0x4e3b45,_0x31124d=this[_0x52ff35(0x1c0)][_0x52ff35(0x1de)][_0x52ff35(0x1ed)](_0x14e454);_0x31124d[_0x52ff35(0x1eb)]===this[_0x52ff35(0x1c0)]&&(_0x31124d[_0x52ff35(0x1a9)]()||_0x31124d[_0x52ff35(0x1b5)](_0x52ff35(0x1f9)));}[_0x4e3b45(0x1b9)](_0x5b76cf){const _0x5706ce=_0x4e3b45;_0x5b76cf!==this[_0x5706ce(0x1d1)]&&(this[_0x5706ce(0x1d1)]&&(this[_0x5706ce(0x1d1)][_0x5706ce(0x1dd)]=!0x1),_0x5b76cf&&this[_0x5706ce(0x1c0)]['ui'][_0x5706ce(0x1fd)][_0x5706ce(0x1cc)]&&(this[_0x5706ce(0x1c4)][_0x5706ce(0x1c7)](_0x5b76cf)&&this[_0x5706ce(0x1f5)](_0x5b76cf,!0x0),_0x5b76cf[_0x5706ce(0x1dd)]=!0x0),_0x5b76cf||this[_0x5706ce(0x1b2)]([]),this[_0x5706ce(0x1d1)]=_0x5b76cf);}[_0x4e3b45(0x1ba)](_0xf12ebc){const _0x55a0d6=_0x4e3b45;this[_0x55a0d6(0x1c4)]=_0xf12ebc;const _0x52f1c5=this[_0x55a0d6(0x1c0)][_0x55a0d6(0x1de)][_0x55a0d6(0x1ed)](_0x14e454),_0x3c9b3b=this[_0x55a0d6(0x1b1)];if(this[_0x55a0d6(0x1e4)])throw new _0x5d625f(_0x55a0d6(0x1fc),this);if(_0x52f1c5[_0x55a0d6(0x1eb)]!==this[_0x55a0d6(0x1c0)])throw new _0x5d625f(_0x55a0d6(0x1ad),this);const _0x4bcf55=this[_0x55a0d6(0x1c0)][_0x55a0d6(0x1de)][_0x55a0d6(0x1ed)](_0xb6282e);this[_0x55a0d6(0x1d3)](_0x4bcf55,_0x55a0d6(0x1f4),()=>{const _0x2f7ec2=_0x55a0d6,_0x18da88=_0x4bcf55[_0x2f7ec2(0x1c2)]({'annotations':this[_0x2f7ec2(0x1c4)],'activeAnnotation':this[_0x2f7ec2(0x1d1)]});var _0x4ad8b1,_0x175653;!this[_0x2f7ec2(0x1ae)]&&(_0x4ad8b1=_0x18da88,_0x175653=this[_0x2f7ec2(0x1ac)],_0x4ad8b1[_0x2f7ec2(0x1e6)]===_0x175653[_0x2f7ec2(0x1e6)]&&_0x4ad8b1[_0x2f7ec2(0x1b7)](_0x1b7c1d=>_0x175653[_0x2f7ec2(0x205)](_0x1b7c1d)))||(this[_0x2f7ec2(0x1ae)]=!0x1,this[_0x2f7ec2(0x1b2)](_0x18da88),this[_0x2f7ec2(0x1b9)](_0x18da88[0x0]||null));}),this[_0x55a0d6(0x1d3)](_0x4bcf55,_0x55a0d6(0x1a7),(_0x5e2c31,{isAnnotationTracked:_0x284363})=>{const _0x1489df=_0x55a0d6;this[_0x1489df(0x1d1)]&&_0x284363(this[_0x1489df(0x1d1)])&&(this[_0x1489df(0x1b2)]([]),this[_0x1489df(0x1b9)](null));}),this[_0x55a0d6(0x1d3)](this[_0x55a0d6(0x1c0)]['ui'][_0x55a0d6(0x1fd)],_0x55a0d6(0x1b3),(_0x3ec7fd,_0x1f6c2f,_0xcd03cc)=>{const _0x4b4479=_0x55a0d6;_0xcd03cc||this[_0x4b4479(0x1b9)](null);}),this[_0x55a0d6(0x1d3)](_0xf12ebc,_0x55a0d6(0x1dc),(_0x3c2409,_0x36c189)=>{const _0x5230d5=_0x55a0d6;this[_0x5230d5(0x1d7)](_0x36c189),_0x36c189===this[_0x5230d5(0x1d1)]&&this[_0x5230d5(0x1b9)](null);}),this[_0x55a0d6(0x1d3)](_0x3c9b3b,_0x55a0d6(0x1f7),(_0x4967dd,_0x4ec37f,_0x2d1e71,_0x4c5f15)=>{const _0x477b7b=_0x55a0d6;_0x4c5f15&&this[_0x477b7b(0x1e8)](_0x4c5f15);const _0x56102c=_0xf12ebc[_0x477b7b(0x1ef)](_0x2d1e71);_0x2d1e71&&_0x56102c&&(this[_0x477b7b(0x1d3)](_0x2d1e71,_0x477b7b(0x1b0),()=>{const _0x120083=_0x477b7b;_0x3c9b3b[_0x120083(0x1c5)]();}),this[_0x477b7b(0x1d3)](_0x2d1e71,_0x477b7b(0x1d8),()=>{const _0x4a6095=_0x477b7b;this[_0x4a6095(0x1f0)](_0x56102c),this[_0x4a6095(0x1c0)][_0x4a6095(0x1fb)][_0x4a6095(0x200)][_0x4a6095(0x1d6)]();}),this[_0x477b7b(0x1d1)]!==_0x56102c&&this[_0x477b7b(0x1b9)](_0x56102c));}),this[_0x55a0d6(0x1d3)](this[_0x55a0d6(0x1c0)]['ui'],_0x55a0d6(0x1ff),()=>{const _0x270890=_0x55a0d6;_0x3c9b3b[_0x270890(0x1e3)]&&(_0xf12ebc[_0x270890(0x1ef)](_0x3c9b3b[_0x270890(0x1e3)])&&_0x3c9b3b[_0x270890(0x1c5)]());}),this[_0x55a0d6(0x1d3)](this[_0x55a0d6(0x1c0)][_0x55a0d6(0x1fb)][_0x55a0d6(0x200)][_0x55a0d6(0x1b6)],_0x55a0d6(0x1b8),()=>{const _0x122b2b=_0x55a0d6;this[_0x122b2b(0x1ae)]=!0x0,this[_0x122b2b(0x1b4)][_0x122b2b(0x1f2)]();}),this[_0x55a0d6(0x1c0)][_0x55a0d6(0x1fb)][_0x55a0d6(0x200)][_0x55a0d6(0x1b6)][_0x55a0d6(0x204)][_0x55a0d6(0x1fe)]&&this[_0x55a0d6(0x1c0)][_0x55a0d6(0x1fb)][_0x55a0d6(0x200)][_0x55a0d6(0x1d6)](),this[_0x55a0d6(0x1e4)]=!0x0;}[_0x4e3b45(0x1af)](){const _0x5498eb=_0x4e3b45;if(!this[_0x5498eb(0x1e4)])throw new _0x5d625f(_0x5498eb(0x1ea),this);this[_0x5498eb(0x1b9)](null);for(const _0x3ec943 of this[_0x5498eb(0x201)])this[_0x5498eb(0x1d7)](_0x3ec943);this[_0x5498eb(0x1e8)](),this[_0x5498eb(0x1e4)]=!0x1,this[_0x5498eb(0x1c4)]=null;}[_0x4e3b45(0x1aa)](){const _0xd671b7=_0x4e3b45;this[_0xd671b7(0x1e4)]&&this[_0xd671b7(0x1af)]();}[_0x4e3b45(0x1b2)](_0x170235){const _0x2e873e=_0x4e3b45;for(const _0x20f6ba of this[_0x2e873e(0x1ac)])_0x170235[_0x2e873e(0x205)](_0x20f6ba)||this[_0x2e873e(0x1b4)][_0x2e873e(0x1e9)](_0x20f6ba);for(const _0x763525 of this[_0x2e873e(0x1c4)])_0x170235[_0x2e873e(0x205)](_0x763525)||this[_0x2e873e(0x1d7)](_0x763525);if(this[_0x2e873e(0x1c0)]['ui'][_0x2e873e(0x1fd)][_0x2e873e(0x1cc)]){for(const _0x2a256d of _0x170235)this[_0x2e873e(0x1f5)](_0x2a256d);}this[_0x2e873e(0x1ac)]=_0x170235;}[_0x4e3b45(0x1f5)](_0x136f48,_0x2a303a=!0x1){const _0x3f33c5=_0x4e3b45;this[_0x3f33c5(0x1b4)][_0x3f33c5(0x1c7)](_0x136f48)||(this[_0x3f33c5(0x201)][_0x3f33c5(0x1c7)](_0x136f48)||this[_0x3f33c5(0x1b1)][_0x3f33c5(0x1be)](_0x136f48[_0x3f33c5(0x200)])||(this[_0x3f33c5(0x201)][_0x3f33c5(0x1ca)](_0x136f48),this[_0x3f33c5(0x1b1)][_0x3f33c5(0x1ca)]({'stackId':_0x136f48[_0x3f33c5(0x200)]['id'],'view':_0x136f48[_0x3f33c5(0x200)],'position':{'target':()=>this[_0x3f33c5(0x1c9)](_0x136f48)}})),_0x2a303a&&this[_0x3f33c5(0x1b1)][_0x3f33c5(0x202)](_0x136f48[_0x3f33c5(0x200)]['id']));}[_0x4e3b45(0x1c9)](_0x49d0ba){const _0xd57a59=_0x4e3b45,_0x2223d8=_0x49d0ba[_0xd57a59(0x1e7)],_0x2dd46a=this[_0xd57a59(0x1c0)][_0xd57a59(0x1fb)][_0xd57a59(0x200)],_0x368e80=_0x2dd46a[_0xd57a59(0x1b6)][_0xd57a59(0x204)][_0xd57a59(0x1cf)](),_0x13c7c6=_0x2dd46a[_0xd57a59(0x1c3)][_0xd57a59(0x1f8)](_0x368e80);if(_0x13c7c6[_0xd57a59(0x1d2)](!0x0),_0x2223d8){if(_0x2223d8 instanceof _0x36c5a3)return _0x2223d8;let _0x5afe0b=[];for(const _0x678da9 of _0x2223d8)_0x5afe0b[_0xd57a59(0x1d0)](...(_0x3acf1a=_0x678da9[_0xd57a59(0x1ab)](),Array[_0xd57a59(0x1e5)](_0x3acf1a)[_0xd57a59(0x203)](DOMRect[_0xd57a59(0x1c6)])));_0x5afe0b=function(_0x3a90bc){const _0x59db8a=_0xd57a59,_0x1e4977=[];let _0x11b263=_0x3a90bc[0x0];for(let _0x44e648=0x1;_0x44e648<_0x3a90bc[_0x59db8a(0x1e6)];_0x44e648++)b(_0x11b263,_0x3a90bc[_0x44e648])?_0x11b263[_0x59db8a(0x1d5)]+=_0x3a90bc[_0x44e648][_0x59db8a(0x1d5)]:(_0x1e4977[_0x59db8a(0x1d0)](_0x11b263),_0x11b263=_0x3a90bc[_0x44e648]);return _0x1e4977[_0x59db8a(0x1d0)](_0x11b263),_0x1e4977;}(_0x5afe0b);const _0x2fd4a7=_0x13c7c6[_0xd57a59(0x1cb)]();return _0x5afe0b[_0xd57a59(0x1f6)](_0x35f91a=>_0x35f91a[_0xd57a59(0x207)]<=_0x2fd4a7[_0xd57a59(0x207)]&&_0x35f91a[_0xd57a59(0x1d4)]>=_0x2fd4a7[_0xd57a59(0x1d4)]&&_0x35f91a[_0xd57a59(0x1d9)]<=_0x2fd4a7[_0xd57a59(0x1d9)]&&_0x35f91a[_0xd57a59(0x1bf)]>=_0x2fd4a7[_0xd57a59(0x1bf)])||_0x5afe0b[0x0];}var _0x3acf1a;return _0x49d0ba[_0xd57a59(0x1df)]||_0x13c7c6;}[_0x4e3b45(0x1d7)](_0x4c2b00){const _0x3ce07a=_0x4e3b45;this[_0x3ce07a(0x201)][_0x3ce07a(0x1c7)](_0x4c2b00)&&this[_0x3ce07a(0x1b1)][_0x3ce07a(0x1be)](_0x4c2b00[_0x3ce07a(0x200)])&&(this[_0x3ce07a(0x201)][_0x3ce07a(0x1e9)](_0x4c2b00),this[_0x3ce07a(0x1b1)][_0x3ce07a(0x1dc)](_0x4c2b00[_0x3ce07a(0x200)]));}[_0x4e3b45(0x1f0)](_0x2be235){const _0x88fa77=_0x4e3b45;this[_0x88fa77(0x1b4)][_0x88fa77(0x1ca)](_0x2be235),this[_0x88fa77(0x1d7)](_0x2be235);}}function b(_0x471a7b,_0x26c177){const _0x5678f7=_0x4e3b45;return _0x471a7b[_0x5678f7(0x207)]===_0x26c177[_0x5678f7(0x207)]&&_0x471a7b[_0x5678f7(0x1d4)]===_0x26c177[_0x5678f7(0x1d4)]&&_0x471a7b[_0x5678f7(0x1bf)]===_0x26c177[_0x5678f7(0x1d9)];}
|
|
@@ -58,6 +58,14 @@ export default class NarrowSidebar extends ContextPlugin implements AnnotationsU
|
|
|
58
58
|
* @inheritDoc
|
|
59
59
|
*/
|
|
60
60
|
static get pluginName(): "NarrowSidebar";
|
|
61
|
+
/**
|
|
62
|
+
* @inheritDoc
|
|
63
|
+
*/
|
|
64
|
+
static get isOfficialPlugin(): true;
|
|
65
|
+
/**
|
|
66
|
+
* @inheritDoc
|
|
67
|
+
*/
|
|
68
|
+
static get isPremiumPlugin(): true;
|
|
61
69
|
/**
|
|
62
70
|
* @inheritDoc
|
|
63
71
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3400(){const _0x2b5258=['high','number','keydown','rearrange','narrowsidebar-detach-not-attached','init','northArrowSouthWest','EditorAnnotations','keyCode','values','narrowsidebar-attach-already-attached','southArrowNorthEast','_manuallyClosedAnnotationViews','view','NarrowSidebar','esc','_updateBalloonPosition','off','attachToDom','detachFromDom','annotations','has','hasDomSelection','change:container','_detachFromContainer','_setSelectedAnnotations','change:height','activeAnnotation','addEventListener','northArrowSouth','set:container','contains','Esc','isVisible','includes','1062175LfnRlJ','_selectedAnnotations','low','getOrderedSelectedAnnotations','stopPropagation','refresh','_refreshPositioning','bodyCollection','6942393hgNIJa','focusableElements','setActiveAnnotation','155765vWFZnT','3681396gIaeQE','plugins','blur','_hideBalloon','stopListening','listenTo','mousedown','10nAzqDi','first','destroy','length','cancel','_annotations','detach','pin','uiUpdate','_domEmitter','24uXMzGB','2865472saJuru','annotationType','3DlQvdc','attach','southArrowNorth','content','_refreshPositioningDebounced','isAttached','element','find','target','removeEventListener','_showBalloon','ready','editors','bind','preventDefault','260400BtVGjc','_attachToContainer','set','from','_destroyEditorAnnotationsIntegration','execute','ck-sidebar--narrow','get','16vSOtPj','_attachListeners','remove','refreshPositioning','unpin','isDirty','getByView','northArrowSouthEast','addAnnotation','requires','southArrowNorthWest','getSidebarItemView','_detachListeners','register','locale','_annotationToNarrowView','type','_editorAnnotations','focus','narrowSidebar','add','_integrateWithEditorAnnotations','context','defaultPositions','pluginName','stop','delete','11849343fGZLHD','resize','preventClosingBalloon','balloonPanelView','clear','create'];_0x3400=function(){return _0x2b5258;};return _0x3400();}const _0x425122=_0x201d;(function(_0x133ea8,_0xd2e790){const _0x2d345a=_0x201d,_0x191bc1=_0x133ea8();while(!![]){try{const _0xc32856=parseInt(_0x2d345a(0x102))/0x1+-parseInt(_0x2d345a(0x115))/0x2+-parseInt(_0x2d345a(0x117))/0x3*(-parseInt(_0x2d345a(0x103))/0x4)+parseInt(_0x2d345a(0xf7))/0x5*(-parseInt(_0x2d345a(0x114))/0x6)+-parseInt(_0x2d345a(0xab))/0x7*(-parseInt(_0x2d345a(0xb3))/0x8)+-parseInt(_0x2d345a(0xff))/0x9*(-parseInt(_0x2d345a(0x10a))/0xa)+parseInt(_0x2d345a(0xce))/0xb;if(_0xc32856===_0xd2e790)break;else _0x191bc1['push'](_0x191bc1['shift']());}catch(_0x540d8f){_0x191bc1['push'](_0x191bc1['shift']());}}}(_0x3400,0xaef54));function _0x201d(_0x16dfb1,_0x30ae44){const _0x3400e2=_0x3400();return _0x201d=function(_0x201d69,_0xfa83ed){_0x201d69=_0x201d69-0xa1;let _0x2f1ef6=_0x3400e2[_0x201d69];return _0x2f1ef6;},_0x201d(_0x16dfb1,_0x30ae44);}import{ContextPlugin as _0x7c1730,Context as _0xe7774b}from'ckeditor5/src/core.js';import _0x19ce74 from'./annotationsuis.js';import _0x3c0eba from'./sidebar.js';import _0x585d2f from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x39091,BodyCollection as _0x561582}from'ckeditor5/src/ui.js';import{CKEditorError as _0x573642,DomEmitterMixin as _0x26c145,keyCodes as _0x1f66e2,Collection as _0x1c5ee4}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x3c2a96}from'lodash-es';export default class i extends _0x7c1730{static get[_0x425122(0xbc)](){return[_0x3c0eba,_0x19ce74];}static get[_0x425122(0xcb)](){const _0x1f64f3=_0x425122;return _0x1f64f3(0xe2);}constructor(_0x35107d){const _0x1d15dc=_0x425122;super(_0x35107d),this[_0x1d15dc(0xa1)]=!0x1,this[_0x1d15dc(0xe0)]=new Set(),this[_0x1d15dc(0x113)]=Object[_0x1d15dc(0xd3)](_0x26c145),this[_0x1d15dc(0xc2)]=new Map(),this[_0x1d15dc(0xad)](_0x1d15dc(0xef),null),this[_0x1d15dc(0xe8)]=null,this[_0x1d15dc(0xf8)]=[],this[_0x1d15dc(0xc4)]=new _0x1c5ee4(),this[_0x1d15dc(0x11b)]=_0x3c2a96(()=>{const _0xb14aaf=_0x1d15dc;this[_0xb14aaf(0xfd)]();},0xfa,{'leading':!0x1});}[_0x425122(0xd9)](){const _0x4312b7=_0x425122;this[_0x4312b7(0xc9)][_0x4312b7(0x104)][_0x4312b7(0xb2)](_0x19ce74)[_0x4312b7(0xc0)](_0x4312b7(0xc6),this),this[_0x4312b7(0xfe)]=new _0x561582(this[_0x4312b7(0xc9)][_0x4312b7(0xc1)]),this[_0x4312b7(0xd1)]=new _0x39091(this[_0x4312b7(0xc9)][_0x4312b7(0xc1)]),this[_0x4312b7(0xfe)][_0x4312b7(0xe6)](),this[_0x4312b7(0xfe)][_0x4312b7(0xc7)](this[_0x4312b7(0xd1)]);}[_0x425122(0x118)](_0x2089b7){const _0x4c9413=_0x425122;this[_0x4c9413(0xe8)]=_0x2089b7;const _0x2848ce=this[_0x4c9413(0xc9)][_0x4c9413(0x104)][_0x4c9413(0xb2)](_0x3c0eba),_0x5555d7=this[_0x4c9413(0xd1)];if(_0x2848ce[_0x4c9413(0x10f)]=_0x2089b7,this[_0x4c9413(0xa1)])throw new _0x573642(_0x4c9413(0xde),this);this[_0x4c9413(0xa1)]=!0x0,this[_0x4c9413(0x108)](_0x2848ce,_0x4c9413(0xf2),()=>{const _0x32ef26=_0x4c9413;this[_0x32ef26(0x110)](),this[_0x32ef26(0x108)](_0x2848ce,_0x32ef26(0xeb),_0x5bb59e=>{const _0x16420e=_0x32ef26;_0x5bb59e[_0x16420e(0xe5)](),this[_0x16420e(0x118)](_0x2089b7);});}),_0x2848ce[_0x4c9413(0xac)]({'viewClass':_0x4c9413(0xb1),'spaceBetweenItems':0x5});const _0x43e760=_0x2b9c8c=>{const _0x5bfc76=_0x4c9413,_0x43b4d4=new _0x585d2f(this[_0x5bfc76(0xc9)][_0x5bfc76(0xc1)]);_0x2848ce[_0x5bfc76(0xbb)](_0x2b9c8c,_0x43b4d4),this[_0x5bfc76(0xc2)][_0x5bfc76(0xad)](_0x2b9c8c,_0x43b4d4),_0x43b4d4[_0x5bfc76(0xa9)](_0x5bfc76(0xb8),_0x5bfc76(0x116),_0x5bfc76(0xd5))['to'](_0x2b9c8c[_0x5bfc76(0xe1)],_0x5bfc76(0xb8),_0x5bfc76(0xc3),_0x5bfc76(0x10d)),_0x43b4d4['on'](_0x5bfc76(0xb0),()=>{const _0x31b3ac=_0x5bfc76;this[_0x31b3ac(0xe0)][_0x31b3ac(0xd2)](),_0x5555d7[_0x31b3ac(0x11a)][_0x31b3ac(0x10b)]!==_0x2b9c8c[_0x31b3ac(0xe1)]?(this[_0x31b3ac(0xa6)](_0x2b9c8c),_0x2b9c8c[_0x31b3ac(0xe1)][_0x31b3ac(0xa2)][_0x31b3ac(0xc5)](),this[_0x31b3ac(0x101)](_0x2b9c8c)):this[_0x31b3ac(0x101)](null);});};for(const _0x2a4b4a of _0x2089b7)_0x43e760(_0x2a4b4a);this[_0x4c9413(0x108)](_0x2089b7,_0x4c9413(0xc7),(_0x54f9ab,_0x530038)=>{_0x43e760(_0x530038);}),this[_0x4c9413(0x108)](_0x2089b7,_0x4c9413(0xb5),(_0x67ab7a,_0x465bfc,_0x223253)=>{const _0x14be8f=_0x4c9413;this[_0x14be8f(0xc2)][_0x14be8f(0xb2)](_0x465bfc)[_0x14be8f(0x10c)](),this[_0x14be8f(0xc2)][_0x14be8f(0xcd)](_0x465bfc),_0x2848ce[_0x14be8f(0xd7)]({'removedAnnotation':_0x465bfc,'previousAnnotation':_0x2089b7[_0x14be8f(0xb2)](_0x223253-0x1),'nextAnnotation':_0x2089b7[_0x14be8f(0xb2)](_0x223253+0x1)}),_0x465bfc===this[_0x14be8f(0xef)]&&this[_0x14be8f(0x101)](null);},{'priority':_0x4c9413(0xf9)}),this[_0x4c9413(0x108)](_0x2089b7,_0x4c9413(0xc5),(_0x5d0441,_0x186409)=>{const _0x2083b8=_0x4c9413;this[_0x2083b8(0x101)](_0x186409);}),this[_0x4c9413(0x108)](_0x2089b7,_0x4c9413(0x105),()=>{const _0xdd0825=_0x4c9413;this[_0xdd0825(0x101)](null);}),this[_0x4c9413(0x113)][_0x4c9413(0x108)](document,_0x4c9413(0xd6),(_0x1954b8,_0x3766a3)=>{const _0x2c77c1=_0x4c9413;_0x3766a3[_0x2c77c1(0xdc)]===_0x1f66e2[_0x2c77c1(0xe3)]&&_0x5555d7[_0x2c77c1(0xf5)]&&(this[_0x2c77c1(0xe0)][_0x2c77c1(0xc7)](_0x5555d7[_0x2c77c1(0x11a)][_0x2c77c1(0x10b)]),this[_0x2c77c1(0x106)](),_0x3766a3[_0x2c77c1(0xfb)](),_0x3766a3[_0x2c77c1(0xaa)]());}),this[_0x4c9413(0x113)][_0x4c9413(0x108)](document,_0x4c9413(0x109),(_0x2b33e5,_0x4eda67)=>{const _0x5e66ae=_0x4c9413,_0x5eb2b4=_0x4eda67[_0x5e66ae(0xa4)];_0x5555d7[_0x5e66ae(0xf5)]&&_0x5555d7[_0x5e66ae(0xa2)][_0x5e66ae(0xf3)](_0x5eb2b4)||_0x2848ce[_0x5e66ae(0xe1)][_0x5e66ae(0xa2)][_0x5e66ae(0xf3)](_0x5eb2b4)||_0x2b33e5[_0x5e66ae(0xd0)]||this[_0x5e66ae(0xef)]&&this[_0x5e66ae(0xef)][_0x5e66ae(0x100)][_0x5e66ae(0xa3)](_0x37c87c=>_0x37c87c[_0x5e66ae(0xf3)](_0x5eb2b4))||(this[_0x5e66ae(0xe0)][_0x5e66ae(0xd2)](),this[_0x5e66ae(0x106)](),this[_0x5e66ae(0x101)](null));});const _0x90c5c6=this[_0x4c9413(0xc9)]instanceof _0xe7774b?this[_0x4c9413(0xc9)][_0x4c9413(0xa8)]:new _0x1c5ee4([this[_0x4c9413(0xc9)]]);for(const _0x3c6b92 of _0x90c5c6)this[_0x4c9413(0xc8)](_0x3c6b92);this[_0x4c9413(0x108)](_0x90c5c6,_0x4c9413(0xc7),(_0x568a13,_0x3de23f)=>{const _0x5ae53a=_0x4c9413;this[_0x5ae53a(0x108)](_0x3de23f,_0x5ae53a(0xa7),()=>{const _0xb20994=_0x5ae53a;this[_0xb20994(0xc8)](_0x3de23f);});}),this[_0x4c9413(0x108)](_0x90c5c6,_0x4c9413(0xb5),(_0x39cda9,_0x28f583)=>{const _0x2144b1=_0x4c9413;_0x28f583[_0x2144b1(0x104)][_0x2144b1(0xe9)](_0x2144b1(0xdb))&&this[_0x2144b1(0xaf)](_0x28f583[_0x2144b1(0x104)][_0x2144b1(0xb2)](_0x2144b1(0xdb)));}),window[_0x4c9413(0xf0)](_0x4c9413(0xcf),this[_0x4c9413(0x11b)]),this[_0x4c9413(0xfd)]();}[_0x425122(0x101)](_0x5839dd){const _0x2d95c1=_0x425122;if(_0x5839dd===this[_0x2d95c1(0xef)])return;const _0xc9d6ce=this[_0x2d95c1(0xc9)][_0x2d95c1(0x104)][_0x2d95c1(0xb2)](_0x3c0eba);if(_0xc9d6ce[_0x2d95c1(0xfc)]({'blurredAnnotation':this[_0x2d95c1(0xef)],'activatedAnnotation':_0x5839dd,'disableAnimationOnActivatedAnnotation':!0x0}),_0x5839dd)_0xc9d6ce[_0x2d95c1(0xbe)](_0x5839dd)?this[_0x2d95c1(0xa6)](_0x5839dd):this[_0x2d95c1(0x106)]();else this[_0x2d95c1(0x106)]();this[_0x2d95c1(0xef)]=_0x5839dd;}[_0x425122(0x110)](){const _0x372ced=_0x425122;if(!this[_0x372ced(0xa1)])throw new _0x573642(_0x372ced(0xd8),this);this[_0x372ced(0x101)](null);const _0x15b79d=this[_0x372ced(0xc9)][_0x372ced(0x104)][_0x372ced(0xb2)](_0x3c0eba);this[_0x372ced(0x106)](),Array[_0x372ced(0xae)](this[_0x372ced(0xc2)][_0x372ced(0xdd)](),_0xb354fc=>_0xb354fc[_0x372ced(0x10c)]()),this[_0x372ced(0xc2)][_0x372ced(0xd2)](),_0x15b79d[_0x372ced(0xec)](this[_0x372ced(0xe8)]),this[_0x372ced(0x107)](),this[_0x372ced(0x113)][_0x372ced(0x107)](),this[_0x372ced(0xc9)]instanceof _0xe7774b&&this[_0x372ced(0x107)](this[_0x372ced(0xc9)][_0x372ced(0xa8)]);for(const _0x33f34f of Array[_0x372ced(0xae)](this[_0x372ced(0xc4)]))this[_0x372ced(0xaf)](_0x33f34f);window[_0x372ced(0xa5)](_0x372ced(0xcf),this[_0x372ced(0x11b)]),this[_0x372ced(0x11b)][_0x372ced(0x10e)](),this[_0x372ced(0xf8)]=[],this[_0x372ced(0xa1)]=!0x1,this[_0x372ced(0xe8)]=null;}[_0x425122(0x10c)](){const _0x2ca11b=_0x425122;this[_0x2ca11b(0xa1)]&&this[_0x2ca11b(0x110)](),this[_0x2ca11b(0xfe)][_0x2ca11b(0xe7)]();}[_0x425122(0xc8)](_0x4ad563){const _0x14e2ef=_0x425122;if(!_0x4ad563[_0x14e2ef(0x104)][_0x14e2ef(0xe9)](_0x14e2ef(0xdb)))return;const _0x5060a9=_0x4ad563[_0x14e2ef(0x104)][_0x14e2ef(0xb2)](_0x14e2ef(0xdb)),_0x2fd622=this[_0x14e2ef(0xc9)][_0x14e2ef(0x104)][_0x14e2ef(0xb2)](_0x3c0eba),_0x4b197b=this[_0x14e2ef(0xe8)],_0x4ea5cf=this[_0x14e2ef(0xd1)],_0x4eaf68=()=>{const _0x227e1d=_0x14e2ef,_0x2e0967=_0x5060a9[_0x227e1d(0xfa)]({'annotations':this[_0x227e1d(0xe8)],'activeAnnotation':this[_0x227e1d(0xef)]});this[_0x227e1d(0xed)](_0x2e0967),this[_0x227e1d(0x101)](_0x2e0967[0x0]||null);};this[_0x14e2ef(0x108)](_0x5060a9,_0x14e2ef(0xfc),_0x4eaf68),this[_0x14e2ef(0x108)](_0x5060a9,_0x14e2ef(0x105),(_0xfc26cc,{isAnnotationTracked:_0x321285})=>{const _0x39b8d2=_0x14e2ef;this[_0x39b8d2(0xef)]&&_0x321285(this[_0x39b8d2(0xef)])&&(this[_0x39b8d2(0xed)]([]),this[_0x39b8d2(0x101)](null));}),this[_0x14e2ef(0x108)](_0x5060a9,_0x14e2ef(0x112),()=>{const _0x3f5f6d=_0x14e2ef;this[_0x3f5f6d(0x11b)]();}),this[_0x14e2ef(0x108)](_0x4b197b,_0x14e2ef(0x105),_0x50aa5a=>{const _0xd9e5ed=_0x14e2ef;_0x5060a9[_0xd9e5ed(0xea)]()&&_0x50aa5a[_0xd9e5ed(0xcc)]();},{'priority':_0x14e2ef(0xd4)}),this[_0x14e2ef(0x108)](this[_0x14e2ef(0x113)],_0x14e2ef(0x109),(_0x3f35cd,_0x5e17a4)=>{const _0x1f72d9=_0x14e2ef,_0x3839ab=_0x5e17a4[_0x1f72d9(0xa4)];_0x4ea5cf[_0x1f72d9(0xf5)]&&_0x4ea5cf[_0x1f72d9(0xa2)][_0x1f72d9(0xf3)](_0x3839ab)||_0x2fd622[_0x1f72d9(0xe1)][_0x1f72d9(0xa2)][_0x1f72d9(0xf3)](_0x3839ab)||this[_0x1f72d9(0xef)]&&_0x5060a9[_0x1f72d9(0xea)]()&&(_0x4eaf68(),_0x3f35cd[_0x1f72d9(0xd0)]=!0x0);},{'priority':_0x14e2ef(0xd4)}),this[_0x14e2ef(0xc4)][_0x14e2ef(0xc7)](_0x5060a9);}[_0x425122(0xaf)](_0x423d7c){const _0x1dcdd4=_0x425122;_0x423d7c&&(this[_0x1dcdd4(0x107)](_0x423d7c),this[_0x1dcdd4(0xc4)][_0x1dcdd4(0xb5)](_0x423d7c));}[_0x425122(0xed)](_0x52b479){const _0x4caef0=_0x425122;for(const _0x63b5e3 of this[_0x4caef0(0xf8)])_0x52b479[_0x4caef0(0xf6)](_0x63b5e3)||this[_0x4caef0(0xe0)][_0x4caef0(0xcd)](_0x63b5e3[_0x4caef0(0xe1)]);this[_0x4caef0(0xf8)]=_0x52b479;}[_0x425122(0xfd)](){const _0x364f5d=_0x425122,_0x1bef41=this[_0x364f5d(0xd1)];this[_0x364f5d(0xe8)][_0x364f5d(0xb6)](),_0x1bef41[_0x364f5d(0xf5)]&&this[_0x364f5d(0xe4)]();}[_0x425122(0xa6)](_0x56b4d7){const _0x4e5a5a=_0x425122;if(this[_0x4e5a5a(0xe0)][_0x4e5a5a(0xe9)](_0x56b4d7[_0x4e5a5a(0xe1)]))return;const _0x502734=this[_0x4e5a5a(0xd1)][_0x4e5a5a(0x11a)][_0x4e5a5a(0x10b)];_0x502734!==_0x56b4d7[_0x4e5a5a(0xe1)]?(_0x502734&&this[_0x4e5a5a(0xbf)](_0x502734),this[_0x4e5a5a(0xb4)](_0x56b4d7[_0x4e5a5a(0xe1)]),this[_0x4e5a5a(0xd1)][_0x4e5a5a(0x11a)][_0x4e5a5a(0xd2)](),this[_0x4e5a5a(0xd1)][_0x4e5a5a(0x11a)][_0x4e5a5a(0xc7)](_0x56b4d7[_0x4e5a5a(0xe1)]),this[_0x4e5a5a(0xe4)]()):this[_0x4e5a5a(0xe4)]();}[_0x425122(0xe4)](){const _0x27065a=_0x425122,_0x153b32=this[_0x27065a(0xd1)][_0x27065a(0x11a)][_0x27065a(0x10b)],_0x5ed070=_0x153b32&&this[_0x27065a(0xe8)][_0x27065a(0xb9)](_0x153b32);if(!_0x5ed070||!this[_0x27065a(0xc2)][_0x27065a(0xe9)](_0x5ed070))return;const _0x3b3dc4=this[_0x27065a(0xc2)][_0x27065a(0xb2)](_0x5ed070)[_0x27065a(0xa2)],_0xb0676b=(function(){const _0x2114c3=_0x27065a,_0x1aa03e=_0x39091[_0x2114c3(0xca)];return[_0x1aa03e[_0x2114c3(0xdf)],_0x1aa03e[_0x2114c3(0xba)],_0x1aa03e[_0x2114c3(0x119)],_0x1aa03e[_0x2114c3(0xf1)],_0x1aa03e[_0x2114c3(0xbd)],_0x1aa03e[_0x2114c3(0xda)]];}());this[_0x27065a(0xd1)][_0x27065a(0x111)]({'target':_0x3b3dc4,'positions':_0xb0676b});}[_0x425122(0x106)](){const _0x56a390=_0x425122,_0x22b5ba=this[_0x56a390(0xd1)],_0x42333d=_0x22b5ba[_0x56a390(0x11a)][_0x56a390(0x10b)];_0x42333d&&(this[_0x56a390(0xbf)](_0x42333d),_0x22b5ba[_0x56a390(0xb7)](),_0x22b5ba[_0x56a390(0x11a)][_0x56a390(0xd2)]());}[_0x425122(0xb4)](_0x26c2cb){const _0x14ce80=_0x425122;this[_0x14ce80(0x108)](_0x26c2cb,_0x14ce80(0xee),()=>this[_0x14ce80(0xe4)]()),this[_0x14ce80(0x108)](_0x26c2cb,_0x14ce80(0xf4),(_0x5f5961,_0x2267ae)=>{const _0x2368ff=_0x14ce80;this[_0x2368ff(0xe0)][_0x2368ff(0xc7)](_0x26c2cb),this[_0x2368ff(0x106)](),_0x2267ae();});}[_0x425122(0xbf)](_0x274bfa){const _0x27072e=_0x425122;this[_0x27072e(0x107)](_0x274bfa);}}
|
|
23
|
+
const _0x2184a4=_0x10ea;(function(_0x802bf2,_0x3975e6){const _0x595700=_0x10ea,_0xd034cc=_0x802bf2();while(!![]){try{const _0x5e312c=parseInt(_0x595700(0xf0))/0x1*(parseInt(_0x595700(0x128))/0x2)+parseInt(_0x595700(0xed))/0x3+parseInt(_0x595700(0xec))/0x4*(-parseInt(_0x595700(0x145))/0x5)+parseInt(_0x595700(0x12d))/0x6*(-parseInt(_0x595700(0x142))/0x7)+-parseInt(_0x595700(0x14b))/0x8*(parseInt(_0x595700(0x13b))/0x9)+parseInt(_0x595700(0xf6))/0xa*(-parseInt(_0x595700(0xe4))/0xb)+-parseInt(_0x595700(0x129))/0xc*(-parseInt(_0x595700(0x106))/0xd);if(_0x5e312c===_0x3975e6)break;else _0xd034cc['push'](_0xd034cc['shift']());}catch(_0x5ef854){_0xd034cc['push'](_0xd034cc['shift']());}}}(_0x5e07,0x79a30));import{ContextPlugin as _0x18ce33,Context as _0x40f564}from'ckeditor5/src/core.js';import _0x73a9fb from'./annotationsuis.js';import _0x494a08 from'./sidebar.js';import _0x2fd283 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x5240ec,BodyCollection as _0x22d81f}from'ckeditor5/src/ui.js';function _0x10ea(_0x24ecfc,_0x2a2180){const _0x5e071d=_0x5e07();return _0x10ea=function(_0x10ea8f,_0x4f4a5e){_0x10ea8f=_0x10ea8f-0xdf;let _0x24756b=_0x5e071d[_0x10ea8f];return _0x24756b;},_0x10ea(_0x24ecfc,_0x2a2180);}import{CKEditorError as _0x33ebba,DomEmitterMixin as _0x2644ef,keyCodes as _0x13db25,Collection as _0x515cc1}from'ckeditor5/src/utils.js';function _0x5e07(){const _0x50340b=['narrowsidebar-attach-already-attached','low','execute','addAnnotation','find','4847085bvfQIf','getSidebarItemView','unpin','defaultPositions','southArrowNorth','hasDomSelection','annotations','7XHlBsZ','keydown','_updateBalloonPosition','20EUZQwM','resize','focus','focusableElements','high','_attachListeners','8jgVGMP','detachFromDom','requires','off','Esc','esc','locale','attachToDom','uiUpdate','getOrderedSelectedAnnotations','length','isPremiumPlugin','_selectedAnnotations','number','isVisible','_attachToContainer','get','stopListening','detach','preventClosingBalloon','bodyCollection','ck-sidebar--narrow','includes','_destroyEditorAnnotationsIntegration','11VTcxrR','removeEventListener','ready','_setSelectedAnnotations','create','_manuallyClosedAnnotationViews','rearrange','_refreshPositioningDebounced','948988bbDqbO','2598348DvXRYL','activeAnnotation','init','931789KbhMwV','_editorAnnotations','pin','add','setActiveAnnotation','context','9814190PQQURC','southArrowNorthWest','isOfficialPlugin','getByView','_detachFromContainer','northArrowSouthWest','set','_integrateWithEditorAnnotations','preventDefault','_annotationToNarrowView','balloonPanelView','listenTo','delete','_showBalloon','cancel','register','19846294igpMWK','element','values','content','change:height','destroy','set:container','remove','from','isDirty','narrowsidebar-detach-not-attached','EditorAnnotations','editors','change:container','southArrowNorthEast','narrowSidebar','first','northArrowSouthEast','refreshPositioning','mousedown','annotationType','NarrowSidebar','type','_annotations','addEventListener','attach','contains','northArrowSouth','keyCode','blur','_refreshPositioning','_domEmitter','has','view','2uUgkwY','12hWIHXt','refresh','bind','isAttached','2144082ufjjYq','clear','target','stop','stopPropagation','_detachListeners','plugins','_hideBalloon','pluginName'];_0x5e07=function(){return _0x50340b;};return _0x5e07();}import'../../theme/sidebar-narrow.css';import{debounce as _0x5b624b}from'lodash-es';export default class n extends _0x18ce33{static get[_0x2184a4(0x14d)](){return[_0x494a08,_0x73a9fb];}static get[_0x2184a4(0x135)](){const _0x38dbaa=_0x2184a4;return _0x38dbaa(0x11b);}static get[_0x2184a4(0xf8)](){return!0x0;}static get[_0x2184a4(0x156)](){return!0x0;}constructor(_0x339c95){const _0x2e3607=_0x2184a4;super(_0x339c95),this[_0x2e3607(0x12c)]=!0x1,this[_0x2e3607(0xe9)]=new Set(),this[_0x2e3607(0x125)]=Object[_0x2e3607(0xe8)](_0x2644ef),this[_0x2e3607(0xff)]=new Map(),this[_0x2e3607(0xfc)](_0x2e3607(0xee),null),this[_0x2e3607(0x141)]=null,this[_0x2e3607(0x157)]=[],this[_0x2e3607(0xf1)]=new _0x515cc1(),this[_0x2e3607(0xeb)]=_0x5b624b(()=>{const _0x5b3488=_0x2e3607;this[_0x5b3488(0x124)]();},0xfa,{'leading':!0x1});}[_0x2184a4(0xef)](){const _0x3bc27e=_0x2184a4;this[_0x3bc27e(0xf5)][_0x3bc27e(0x133)][_0x3bc27e(0x15b)](_0x73a9fb)[_0x3bc27e(0x105)](_0x3bc27e(0x115),this),this[_0x3bc27e(0xe0)]=new _0x22d81f(this[_0x3bc27e(0xf5)][_0x3bc27e(0x151)]),this[_0x3bc27e(0x100)]=new _0x5240ec(this[_0x3bc27e(0xf5)][_0x3bc27e(0x151)]),this[_0x3bc27e(0xe0)][_0x3bc27e(0x152)](),this[_0x3bc27e(0xe0)][_0x3bc27e(0xf3)](this[_0x3bc27e(0x100)]);}[_0x2184a4(0x11f)](_0xb10a5){const _0x3b62a7=_0x2184a4;this[_0x3b62a7(0x141)]=_0xb10a5;const _0x47b484=this[_0x3b62a7(0xf5)][_0x3b62a7(0x133)][_0x3b62a7(0x15b)](_0x494a08),_0x21bdaf=this[_0x3b62a7(0x100)];if(_0x47b484[_0x3b62a7(0x11d)]=_0xb10a5,this[_0x3b62a7(0x12c)])throw new _0x33ebba(_0x3b62a7(0x136),this);this[_0x3b62a7(0x12c)]=!0x0,this[_0x3b62a7(0x101)](_0x47b484,_0x3b62a7(0x10c),()=>{const _0x29a038=_0x3b62a7;this[_0x29a038(0x15d)](),this[_0x29a038(0x101)](_0x47b484,_0x29a038(0x113),_0xd941e5=>{const _0x3969ed=_0x29a038;_0xd941e5[_0x3969ed(0x14e)](),this[_0x3969ed(0x11f)](_0xb10a5);});}),_0x47b484[_0x3b62a7(0x15a)]({'viewClass':_0x3b62a7(0xe1),'spaceBetweenItems':0x5});const _0x3dff52=_0x110fac=>{const _0x40f130=_0x3b62a7,_0x364750=new _0x2fd283(this[_0x40f130(0xf5)][_0x40f130(0x151)]);_0x47b484[_0x40f130(0x139)](_0x110fac,_0x364750),this[_0x40f130(0xff)][_0x40f130(0xfc)](_0x110fac,_0x364750),_0x364750[_0x40f130(0x12b)](_0x40f130(0x10f),_0x40f130(0x11a),_0x40f130(0x158))['to'](_0x110fac[_0x40f130(0x127)],_0x40f130(0x10f),_0x40f130(0x11c),_0x40f130(0x155)),_0x364750['on'](_0x40f130(0x138),()=>{const _0x5b8d64=_0x40f130;this[_0x5b8d64(0xe9)][_0x5b8d64(0x12e)](),_0x21bdaf[_0x5b8d64(0x109)][_0x5b8d64(0x116)]!==_0x110fac[_0x5b8d64(0x127)]?(this[_0x5b8d64(0x103)](_0x110fac),_0x110fac[_0x5b8d64(0x127)][_0x5b8d64(0x107)][_0x5b8d64(0x147)](),this[_0x5b8d64(0xf4)](_0x110fac)):this[_0x5b8d64(0xf4)](null);});};for(const _0x104bd7 of _0xb10a5)_0x3dff52(_0x104bd7);this[_0x3b62a7(0x101)](_0xb10a5,_0x3b62a7(0xf3),(_0x2619b9,_0x4ff4d3)=>{_0x3dff52(_0x4ff4d3);}),this[_0x3b62a7(0x101)](_0xb10a5,_0x3b62a7(0x10d),(_0x467601,_0x4ab9e3,_0x4414b1)=>{const _0xdacfb2=_0x3b62a7;this[_0xdacfb2(0xff)][_0xdacfb2(0x15b)](_0x4ab9e3)[_0xdacfb2(0x10b)](),this[_0xdacfb2(0xff)][_0xdacfb2(0x102)](_0x4ab9e3),_0x47b484[_0xdacfb2(0xea)]({'removedAnnotation':_0x4ab9e3,'previousAnnotation':_0xb10a5[_0xdacfb2(0x15b)](_0x4414b1-0x1),'nextAnnotation':_0xb10a5[_0xdacfb2(0x15b)](_0x4414b1+0x1)}),_0x4ab9e3===this[_0xdacfb2(0xee)]&&this[_0xdacfb2(0xf4)](null);},{'priority':_0x3b62a7(0x137)}),this[_0x3b62a7(0x101)](_0xb10a5,_0x3b62a7(0x147),(_0x1356ba,_0x599c56)=>{const _0xb2bc94=_0x3b62a7;this[_0xb2bc94(0xf4)](_0x599c56);}),this[_0x3b62a7(0x101)](_0xb10a5,_0x3b62a7(0x123),()=>{const _0x1fd16f=_0x3b62a7;this[_0x1fd16f(0xf4)](null);}),this[_0x3b62a7(0x125)][_0x3b62a7(0x101)](document,_0x3b62a7(0x143),(_0x442c86,_0x4f85b7)=>{const _0x1baada=_0x3b62a7;_0x4f85b7[_0x1baada(0x122)]===_0x13db25[_0x1baada(0x150)]&&_0x21bdaf[_0x1baada(0x159)]&&(this[_0x1baada(0xe9)][_0x1baada(0xf3)](_0x21bdaf[_0x1baada(0x109)][_0x1baada(0x116)]),this[_0x1baada(0x134)](),_0x4f85b7[_0x1baada(0x131)](),_0x4f85b7[_0x1baada(0xfe)]());}),this[_0x3b62a7(0x125)][_0x3b62a7(0x101)](document,_0x3b62a7(0x119),(_0x5ed1cb,_0x334bf4)=>{const _0x1e6a0d=_0x3b62a7,_0x251eb5=_0x334bf4[_0x1e6a0d(0x12f)];_0x21bdaf[_0x1e6a0d(0x159)]&&_0x21bdaf[_0x1e6a0d(0x107)][_0x1e6a0d(0x120)](_0x251eb5)||_0x47b484[_0x1e6a0d(0x127)][_0x1e6a0d(0x107)][_0x1e6a0d(0x120)](_0x251eb5)||_0x5ed1cb[_0x1e6a0d(0xdf)]||this[_0x1e6a0d(0xee)]&&this[_0x1e6a0d(0xee)][_0x1e6a0d(0x148)][_0x1e6a0d(0x13a)](_0x364812=>_0x364812[_0x1e6a0d(0x120)](_0x251eb5))||(this[_0x1e6a0d(0xe9)][_0x1e6a0d(0x12e)](),this[_0x1e6a0d(0x134)](),this[_0x1e6a0d(0xf4)](null));});const _0x41ed2e=this[_0x3b62a7(0xf5)]instanceof _0x40f564?this[_0x3b62a7(0xf5)][_0x3b62a7(0x112)]:new _0x515cc1([this[_0x3b62a7(0xf5)]]);for(const _0x3c6306 of _0x41ed2e)this[_0x3b62a7(0xfd)](_0x3c6306);this[_0x3b62a7(0x101)](_0x41ed2e,_0x3b62a7(0xf3),(_0x2fe07c,_0x6a24e4)=>{const _0x15aed3=_0x3b62a7;this[_0x15aed3(0x101)](_0x6a24e4,_0x15aed3(0xe6),()=>{const _0x516a8d=_0x15aed3;this[_0x516a8d(0xfd)](_0x6a24e4);});}),this[_0x3b62a7(0x101)](_0x41ed2e,_0x3b62a7(0x10d),(_0x1d5272,_0x1aa074)=>{const _0x4424d6=_0x3b62a7;_0x1aa074[_0x4424d6(0x133)][_0x4424d6(0x126)](_0x4424d6(0x111))&&this[_0x4424d6(0xe3)](_0x1aa074[_0x4424d6(0x133)][_0x4424d6(0x15b)](_0x4424d6(0x111)));}),window[_0x3b62a7(0x11e)](_0x3b62a7(0x146),this[_0x3b62a7(0xeb)]),this[_0x3b62a7(0x124)]();}[_0x2184a4(0xf4)](_0x8cb463){const _0x382755=_0x2184a4;if(_0x8cb463===this[_0x382755(0xee)])return;const _0x56ed10=this[_0x382755(0xf5)][_0x382755(0x133)][_0x382755(0x15b)](_0x494a08);if(_0x56ed10[_0x382755(0x12a)]({'blurredAnnotation':this[_0x382755(0xee)],'activatedAnnotation':_0x8cb463,'disableAnimationOnActivatedAnnotation':!0x0}),_0x8cb463)_0x56ed10[_0x382755(0x13c)](_0x8cb463)?this[_0x382755(0x103)](_0x8cb463):this[_0x382755(0x134)]();else this[_0x382755(0x134)]();this[_0x382755(0xee)]=_0x8cb463;}[_0x2184a4(0x15d)](){const _0xed4fd7=_0x2184a4;if(!this[_0xed4fd7(0x12c)])throw new _0x33ebba(_0xed4fd7(0x110),this);this[_0xed4fd7(0xf4)](null);const _0x33637d=this[_0xed4fd7(0xf5)][_0xed4fd7(0x133)][_0xed4fd7(0x15b)](_0x494a08);this[_0xed4fd7(0x134)](),Array[_0xed4fd7(0x10e)](this[_0xed4fd7(0xff)][_0xed4fd7(0x108)](),_0x219b2f=>_0x219b2f[_0xed4fd7(0x10b)]()),this[_0xed4fd7(0xff)][_0xed4fd7(0x12e)](),_0x33637d[_0xed4fd7(0xfa)](this[_0xed4fd7(0x141)]),this[_0xed4fd7(0x15c)](),this[_0xed4fd7(0x125)][_0xed4fd7(0x15c)](),this[_0xed4fd7(0xf5)]instanceof _0x40f564&&this[_0xed4fd7(0x15c)](this[_0xed4fd7(0xf5)][_0xed4fd7(0x112)]);for(const _0x4ee98d of Array[_0xed4fd7(0x10e)](this[_0xed4fd7(0xf1)]))this[_0xed4fd7(0xe3)](_0x4ee98d);window[_0xed4fd7(0xe5)](_0xed4fd7(0x146),this[_0xed4fd7(0xeb)]),this[_0xed4fd7(0xeb)][_0xed4fd7(0x104)](),this[_0xed4fd7(0x157)]=[],this[_0xed4fd7(0x12c)]=!0x1,this[_0xed4fd7(0x141)]=null;}[_0x2184a4(0x10b)](){const _0x42ef1e=_0x2184a4;this[_0x42ef1e(0x12c)]&&this[_0x42ef1e(0x15d)](),this[_0x42ef1e(0xe0)][_0x42ef1e(0x14c)]();}[_0x2184a4(0xfd)](_0x3ec4b8){const _0x3108c0=_0x2184a4;if(!_0x3ec4b8[_0x3108c0(0x133)][_0x3108c0(0x126)](_0x3108c0(0x111)))return;const _0x31620b=_0x3ec4b8[_0x3108c0(0x133)][_0x3108c0(0x15b)](_0x3108c0(0x111)),_0x4cb144=this[_0x3108c0(0xf5)][_0x3108c0(0x133)][_0x3108c0(0x15b)](_0x494a08),_0x51c0a4=this[_0x3108c0(0x141)],_0x6d8a04=this[_0x3108c0(0x100)],_0xabfd73=()=>{const _0x201305=_0x3108c0,_0xb96ecd=_0x31620b[_0x201305(0x154)]({'annotations':this[_0x201305(0x141)],'activeAnnotation':this[_0x201305(0xee)]});this[_0x201305(0xe7)](_0xb96ecd),this[_0x201305(0xf4)](_0xb96ecd[0x0]||null);};this[_0x3108c0(0x101)](_0x31620b,_0x3108c0(0x12a),_0xabfd73),this[_0x3108c0(0x101)](_0x31620b,_0x3108c0(0x123),(_0x538db2,{isAnnotationTracked:_0x2454f1})=>{const _0x36634c=_0x3108c0;this[_0x36634c(0xee)]&&_0x2454f1(this[_0x36634c(0xee)])&&(this[_0x36634c(0xe7)]([]),this[_0x36634c(0xf4)](null));}),this[_0x3108c0(0x101)](_0x31620b,_0x3108c0(0x153),()=>{const _0x58dffc=_0x3108c0;this[_0x58dffc(0xeb)]();}),this[_0x3108c0(0x101)](_0x51c0a4,_0x3108c0(0x123),_0x1f45f4=>{const _0x11f55d=_0x3108c0;_0x31620b[_0x11f55d(0x140)]()&&_0x1f45f4[_0x11f55d(0x130)]();},{'priority':_0x3108c0(0x149)}),this[_0x3108c0(0x101)](this[_0x3108c0(0x125)],_0x3108c0(0x119),(_0xed910e,_0x71c723)=>{const _0x10edc8=_0x3108c0,_0x2d9b65=_0x71c723[_0x10edc8(0x12f)];_0x6d8a04[_0x10edc8(0x159)]&&_0x6d8a04[_0x10edc8(0x107)][_0x10edc8(0x120)](_0x2d9b65)||_0x4cb144[_0x10edc8(0x127)][_0x10edc8(0x107)][_0x10edc8(0x120)](_0x2d9b65)||this[_0x10edc8(0xee)]&&_0x31620b[_0x10edc8(0x140)]()&&(_0xabfd73(),_0xed910e[_0x10edc8(0xdf)]=!0x0);},{'priority':_0x3108c0(0x149)}),this[_0x3108c0(0xf1)][_0x3108c0(0xf3)](_0x31620b);}[_0x2184a4(0xe3)](_0x247e63){const _0x42f10c=_0x2184a4;_0x247e63&&(this[_0x42f10c(0x15c)](_0x247e63),this[_0x42f10c(0xf1)][_0x42f10c(0x10d)](_0x247e63));}[_0x2184a4(0xe7)](_0x5b68b7){const _0x98b360=_0x2184a4;for(const _0x5543d7 of this[_0x98b360(0x157)])_0x5b68b7[_0x98b360(0xe2)](_0x5543d7)||this[_0x98b360(0xe9)][_0x98b360(0x102)](_0x5543d7[_0x98b360(0x127)]);this[_0x98b360(0x157)]=_0x5b68b7;}[_0x2184a4(0x124)](){const _0x25be1a=_0x2184a4,_0xa1c9e=this[_0x25be1a(0x100)];this[_0x25be1a(0x141)][_0x25be1a(0x118)](),_0xa1c9e[_0x25be1a(0x159)]&&this[_0x25be1a(0x144)]();}[_0x2184a4(0x103)](_0x5e067f){const _0x5397bc=_0x2184a4;if(this[_0x5397bc(0xe9)][_0x5397bc(0x126)](_0x5e067f[_0x5397bc(0x127)]))return;const _0x98f18c=this[_0x5397bc(0x100)][_0x5397bc(0x109)][_0x5397bc(0x116)];_0x98f18c!==_0x5e067f[_0x5397bc(0x127)]?(_0x98f18c&&this[_0x5397bc(0x132)](_0x98f18c),this[_0x5397bc(0x14a)](_0x5e067f[_0x5397bc(0x127)]),this[_0x5397bc(0x100)][_0x5397bc(0x109)][_0x5397bc(0x12e)](),this[_0x5397bc(0x100)][_0x5397bc(0x109)][_0x5397bc(0xf3)](_0x5e067f[_0x5397bc(0x127)]),this[_0x5397bc(0x144)]()):this[_0x5397bc(0x144)]();}[_0x2184a4(0x144)](){const _0x42b7e9=_0x2184a4,_0x1783f4=this[_0x42b7e9(0x100)][_0x42b7e9(0x109)][_0x42b7e9(0x116)],_0x4fd008=_0x1783f4&&this[_0x42b7e9(0x141)][_0x42b7e9(0xf9)](_0x1783f4);if(!_0x4fd008||!this[_0x42b7e9(0xff)][_0x42b7e9(0x126)](_0x4fd008))return;const _0x21cc51=this[_0x42b7e9(0xff)][_0x42b7e9(0x15b)](_0x4fd008)[_0x42b7e9(0x107)],_0x233fd7=(function(){const _0x1382eb=_0x42b7e9,_0x3e4de7=_0x5240ec[_0x1382eb(0x13e)];return[_0x3e4de7[_0x1382eb(0x114)],_0x3e4de7[_0x1382eb(0x117)],_0x3e4de7[_0x1382eb(0x13f)],_0x3e4de7[_0x1382eb(0x121)],_0x3e4de7[_0x1382eb(0xf7)],_0x3e4de7[_0x1382eb(0xfb)]];}());this[_0x42b7e9(0x100)][_0x42b7e9(0xf2)]({'target':_0x21cc51,'positions':_0x233fd7});}[_0x2184a4(0x134)](){const _0x150fd6=_0x2184a4,_0xaadfca=this[_0x150fd6(0x100)],_0x3ec0cc=_0xaadfca[_0x150fd6(0x109)][_0x150fd6(0x116)];_0x3ec0cc&&(this[_0x150fd6(0x132)](_0x3ec0cc),_0xaadfca[_0x150fd6(0x13d)](),_0xaadfca[_0x150fd6(0x109)][_0x150fd6(0x12e)]());}[_0x2184a4(0x14a)](_0x3acd8e){const _0x1d1368=_0x2184a4;this[_0x1d1368(0x101)](_0x3acd8e,_0x1d1368(0x10a),()=>this[_0x1d1368(0x144)]()),this[_0x1d1368(0x101)](_0x3acd8e,_0x1d1368(0x14f),(_0x48d128,_0x234bed)=>{const _0x18e481=_0x1d1368;this[_0x18e481(0xe9)][_0x18e481(0xf3)](_0x3acd8e),this[_0x18e481(0x134)](),_0x234bed();});}[_0x2184a4(0x132)](_0x24b733){const _0x4ddc44=_0x2184a4;this[_0x4ddc44(0x15c)](_0x24b733);}}
|
|
@@ -49,6 +49,14 @@ export default class Sidebar extends ContextPlugin {
|
|
|
49
49
|
* @inheritDoc
|
|
50
50
|
*/
|
|
51
51
|
static get pluginName(): "Sidebar";
|
|
52
|
+
/**
|
|
53
|
+
* @inheritDoc
|
|
54
|
+
*/
|
|
55
|
+
static get isOfficialPlugin(): true;
|
|
56
|
+
/**
|
|
57
|
+
* @inheritDoc
|
|
58
|
+
*/
|
|
59
|
+
static get isPremiumPlugin(): true;
|
|
52
60
|
/**
|
|
53
61
|
* @inheritDoc
|
|
54
62
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x360b6b=_0x5bf6;(function(_0x471cda,_0x162779){const _0xa074e8=_0x5bf6,_0x419a72=_0x471cda();while(!![]){try{const _0x426a6a=-parseInt(_0xa074e8(0x1fc))/0x1+parseInt(_0xa074e8(0x1ea))/0x2*(parseInt(_0xa074e8(0x1d7))/0x3)+parseInt(_0xa074e8(0x208))/0x4+parseInt(_0xa074e8(0x202))/0x5*(-parseInt(_0xa074e8(0x1e4))/0x6)+-parseInt(_0xa074e8(0x1d5))/0x7*(parseInt(_0xa074e8(0x1e1))/0x8)+parseInt(_0xa074e8(0x20a))/0x9*(parseInt(_0xa074e8(0x1f4))/0xa)+parseInt(_0xa074e8(0x1df))/0xb*(parseInt(_0xa074e8(0x1f6))/0xc);if(_0x426a6a===_0x162779)break;else _0x419a72['push'](_0x419a72['shift']());}catch(_0x504d53){_0x419a72['push'](_0x419a72['shift']());}}}(_0x21c1,0x5e7de));import{ContextPlugin as _0x33d71a}from'ckeditor5/src/core.js';import{Rect as _0x5b33b0,CKEditorError as _0x2db32c}from'ckeditor5/src/utils.js';function _0x21c1(){const _0x2cce15=['locale','bind','isAnimationDisabled','appendChild','_getItemBefore','525pihQlg','height','3oApkws','_destroySidebarItemView','_setItemTop','targetRect','add','_createSidebarView','change:top','define','13341526bnUXyy','rearrange','62344rqpQST','_getMaxAvailableTop','_recalculate','209820hCSLbc','init','nodeType','pluginName','config','_targetTop','283354TfhbLS','getSidebarItemView','_sidebarItemViewToAnnotation','_annotations','stopListening','destroy','sidebar-attachtocontainer-missing-container','change:bottom','top','last','90ttrTKm','element','12eBAQVC','context','container','setContainer','isActive','_attachToContainer','718007QFjyai','content','_getItemAfter','change:targetRect','class','getIndex','55beiRsU','Sidebar','sidebar.preventScrollOutOfView','_alignToTargetRect','max','view','719092HhYdLx','_alignBeforeItem','539874RQJXhl','_annotationToSidebarItemView','target','push','_recalculateBuffer','_activeAnnotation','render','_alignAfterItem','list','set','addAnnotation','listenTo','get','sidebar-setcontainer-invalid-element','remove','bottom','_lastItem','_spaceBetweenItems','change:_lastItem','_alignForBottomChange','sidebar.container','_detachFromContainer','_alignForTopChange','refresh','clear','updateHeight','minHeight','object','delete','_getTargetTop','unbind','_updateLastItem','length'];_0x21c1=function(){return _0x2cce15;};return _0x21c1();}import _0x4a209b from'./view/sidebarview.js';import _0x21a917 from'./view/sidebaritemview.js';export default class D extends _0x33d71a{static get[_0x360b6b(0x1e7)](){const _0x2c4655=_0x360b6b;return _0x2c4655(0x203);}constructor(_0x8f0d4b){const _0x2ab17b=_0x360b6b;super(_0x8f0d4b),this[_0x2ab17b(0x213)](_0x2ab17b(0x21a),void 0x0),this[_0x2ab17b(0x207)]=this[_0x2ab17b(0x1dc)](),this[_0x2ab17b(0x213)](_0x2ab17b(0x1f8),null),this[_0x2ab17b(0x1c0)]=0x19,this[_0x2ab17b(0x1ec)]=new Map(),this[_0x2ab17b(0x20b)]=new Map(),this[_0x2ab17b(0x1f7)][_0x2ab17b(0x1e8)][_0x2ab17b(0x1de)](_0x2ab17b(0x204),!0x1),this[_0x2ab17b(0x1ed)]=null,this[_0x2ab17b(0x20f)]=null,this[_0x2ab17b(0x20e)]=[];}[_0x360b6b(0x1e5)](){const _0x3d6c0e=_0x360b6b,_0x44fc9c=this[_0x3d6c0e(0x1f7)][_0x3d6c0e(0x1e8)][_0x3d6c0e(0x216)](_0x3d6c0e(0x1c3));_0x44fc9c&&this[_0x3d6c0e(0x1f9)](_0x44fc9c);}[_0x360b6b(0x1f9)](_0x2168ff){const _0x39c7be=_0x360b6b;if(!y(_0x2168ff))throw new _0x2db32c(_0x39c7be(0x217));this[_0x39c7be(0x1f8)]=_0x2168ff;}[_0x360b6b(0x1fb)]({viewClass:_0x3d5542='',spaceBetweenItems:_0x1eaa44=0x19}={}){const _0x1db688=_0x360b6b;if(!y(this[_0x1db688(0x1f8)]))throw new _0x2db32c(_0x1db688(0x1f0),this);this[_0x1db688(0x1f8)][_0x1db688(0x1d3)](this[_0x1db688(0x207)][_0x1db688(0x1f5)]),this[_0x1db688(0x207)][_0x1db688(0x200)]=_0x3d5542,this[_0x1db688(0x1c0)]=_0x1eaa44;}[_0x360b6b(0x1e0)]({removedAnnotation:_0x4b7025,previousAnnotation:_0x318405,nextAnnotation:_0x1a43df}){const _0x5ba745=_0x360b6b,_0x23b0b4=this[_0x5ba745(0x1eb)](_0x4b7025);this[_0x5ba745(0x207)][_0x5ba745(0x212)][_0x5ba745(0x218)](_0x23b0b4),this[_0x5ba745(0x1d8)](_0x4b7025),_0x318405&&this[_0x5ba745(0x205)](this[_0x5ba745(0x1eb)](_0x318405)),_0x1a43df&&this[_0x5ba745(0x205)](this[_0x5ba745(0x1eb)](_0x1a43df)),this[_0x5ba745(0x1ce)]();}[_0x360b6b(0x1c6)]({blurredAnnotation:_0x2c189c,activatedAnnotation:_0x214b77,disableAnimationOnActivatedAnnotation:_0x522c92}){const _0xeaded2=_0x360b6b;if(this[_0xeaded2(0x20f)]=_0x214b77,_0x2c189c){_0x2c189c[_0xeaded2(0x1fa)]=!0x1;const _0x424f2a=this[_0xeaded2(0x1eb)](_0x2c189c);_0x424f2a&&_0x522c92&&(_0x424f2a[_0xeaded2(0x1d2)]=!0x1);}if(_0x214b77){const _0x36ae7f=this[_0xeaded2(0x1eb)](_0x214b77);_0x36ae7f&&(_0x214b77[_0xeaded2(0x1fa)]=!0x0,_0x522c92&&(_0x36ae7f[_0xeaded2(0x1d2)]=!0x0,_0x36ae7f[_0xeaded2(0x1f2)]+=0x1),this[_0xeaded2(0x205)](_0x36ae7f));}}[_0x360b6b(0x1c4)](_0x4c7793){const _0x295b6a=_0x360b6b;if(this[_0x295b6a(0x207)][_0x295b6a(0x1f5)][_0x295b6a(0x218)](),_0x4c7793){for(const _0x2279b5 of _0x4c7793)this[_0x295b6a(0x1d8)](_0x2279b5);}this[_0x295b6a(0x207)][_0x295b6a(0x212)][_0x295b6a(0x1c7)](),this[_0x295b6a(0x207)][_0x295b6a(0x200)]='',this[_0x295b6a(0x21a)]=null;}[_0x360b6b(0x214)](_0x395778,_0x428fff){const _0x1c92d7=_0x360b6b;_0x428fff||(_0x428fff=_0x395778[_0x1c92d7(0x207)]);const _0x631fa8=new _0x21a917(this[_0x1c92d7(0x1f7)][_0x1c92d7(0x1d0)]);this[_0x1c92d7(0x1ec)][_0x1c92d7(0x213)](_0x631fa8,_0x395778),this[_0x1c92d7(0x20b)][_0x1c92d7(0x213)](_0x395778,_0x631fa8),_0x631fa8[_0x1c92d7(0x1fd)][_0x1c92d7(0x1db)](_0x428fff),this[_0x1c92d7(0x215)](_0x395778[_0x1c92d7(0x207)],_0x1c92d7(0x1ff),(_0x4cc9b1,_0x3dcc20,_0x437d30)=>{const _0x36ab9c=_0x1c92d7,_0x368e1=this[_0x36ab9c(0x1cc)](_0x395778,_0x437d30);_0x631fa8[_0x36ab9c(0x1e9)]!=_0x368e1&&(_0x631fa8[_0x36ab9c(0x1e9)]=_0x368e1,this[_0x36ab9c(0x1d9)](_0x631fa8,_0x368e1));}),this[_0x1c92d7(0x215)](_0x631fa8,_0x1c92d7(0x1dd),()=>{const _0x18e2b8=_0x1c92d7;this[_0x18e2b8(0x1e3)](_0x631fa8,_0x18e2b8(0x1f2));}),this[_0x1c92d7(0x215)](_0x631fa8,_0x1c92d7(0x1f1),()=>{const _0x48320b=_0x1c92d7;this[_0x48320b(0x1e3)](_0x631fa8,_0x48320b(0x219));}),this[_0x1c92d7(0x205)](_0x631fa8);const _0x40962d=this[_0x1c92d7(0x1d4)](_0x631fa8);if(_0x40962d)this[_0x1c92d7(0x211)](_0x40962d,_0x631fa8)||this[_0x1c92d7(0x205)](_0x631fa8);else this[_0x1c92d7(0x205)](_0x631fa8);return this[_0x1c92d7(0x1ce)](),this[_0x1c92d7(0x207)][_0x1c92d7(0x212)][_0x1c92d7(0x1db)](_0x631fa8),_0x631fa8;}[_0x360b6b(0x1c5)](_0x3dd63b){const _0x408957=_0x360b6b;if(!_0x3dd63b[_0x408957(0x1fd)][_0x408957(0x1cf)])return;const _0xee827e=this[_0x408957(0x1d4)](_0x3dd63b);if(!_0xee827e)return;const _0xaefc70=this[_0x408957(0x1ec)][_0x408957(0x216)](_0xee827e),_0x40dfe7=this[_0x408957(0x20f)];_0x40dfe7&&_0x40dfe7===_0xaefc70?this[_0x408957(0x211)](_0xee827e,_0x3dd63b):this[_0x408957(0x209)](_0x3dd63b,_0xee827e);}[_0x360b6b(0x1c2)](_0x3c0242){const _0x251e5f=_0x360b6b;if(!_0x3c0242[_0x251e5f(0x1fd)][_0x251e5f(0x1cf)])return;const _0x2e37e9=this[_0x251e5f(0x1fe)](_0x3c0242);if(!_0x2e37e9)return;const _0x272bd6=this[_0x251e5f(0x1ec)][_0x251e5f(0x216)](_0x2e37e9),_0x2a2e47=this[_0x251e5f(0x1f7)][_0x251e5f(0x1e8)][_0x251e5f(0x216)](_0x251e5f(0x204)),_0x26c728=this[_0x251e5f(0x20f)];_0x26c728&&_0x26c728===_0x272bd6&&_0x2a2e47?(this[_0x251e5f(0x209)](_0x2e37e9,_0x3c0242),this[_0x251e5f(0x211)](_0x3c0242,_0x2e37e9)):_0x26c728&&_0x26c728===_0x272bd6?this[_0x251e5f(0x209)](_0x2e37e9,_0x3c0242):this[_0x251e5f(0x211)](_0x3c0242,_0x2e37e9);}[_0x360b6b(0x1e3)](_0x3bae6f,_0x2e9183){const _0x5593e8=_0x360b6b;0x0===this[_0x5593e8(0x20e)][_0x5593e8(0x1cf)]&&setTimeout(()=>{const _0x395361=_0x5593e8;for(const {sidebarItemView:_0x1a55ad,changedProp:_0x1fc5c1}of this[_0x395361(0x20e)])_0x395361(0x1f2)===_0x1fc5c1?this[_0x395361(0x1c5)](_0x1a55ad):this[_0x395361(0x1c2)](_0x1a55ad);this[_0x395361(0x20e)]=[];},0xa),this[_0x5593e8(0x20e)][_0x5593e8(0x20d)]({'sidebarItemView':_0x3bae6f,'changedProp':_0x2e9183});}[_0x360b6b(0x1eb)](_0x307c2a){const _0xaea9cb=_0x360b6b;return this[_0xaea9cb(0x20b)][_0xaea9cb(0x216)](_0x307c2a);}[_0x360b6b(0x1ef)](){const _0x44dfd0=_0x360b6b;this[_0x44dfd0(0x1ee)](),this[_0x44dfd0(0x207)][_0x44dfd0(0x1ef)]();}[_0x360b6b(0x1d8)](_0x59e9c4){const _0x366949=_0x360b6b,_0x2b9734=this[_0x366949(0x1eb)](_0x59e9c4);this[_0x366949(0x1ee)](_0x2b9734),this[_0x366949(0x1ee)](_0x59e9c4[_0x366949(0x207)]),_0x2b9734[_0x366949(0x1ef)](),this[_0x366949(0x20b)][_0x366949(0x1cb)](_0x59e9c4),this[_0x366949(0x1ec)][_0x366949(0x1cb)](_0x2b9734);}[_0x360b6b(0x1dc)](){const _0x28aa58=_0x360b6b,_0x11cbae=new _0x4a209b(this[_0x28aa58(0x1f7)][_0x28aa58(0x1d0)]);return _0x11cbae[_0x28aa58(0x210)](),this['on'](_0x28aa58(0x1c1),(_0x4240ac,_0x348c6e,_0x3567ac,_0x3b301b)=>{const _0x54de27=_0x28aa58;_0x3b301b&&_0x11cbae[_0x54de27(0x1cd)](_0x54de27(0x1c9)),_0x3567ac?_0x11cbae[_0x54de27(0x1d1)](_0x54de27(0x1c9))['to'](_0x3567ac,_0x54de27(0x219)):_0x11cbae[_0x54de27(0x1c9)]=null;}),_0x11cbae;}[_0x360b6b(0x1ce)](){const _0x1f37a2=_0x360b6b;var _0x30ea63;this[_0x1f37a2(0x21a)]=(null===(_0x30ea63=this[_0x1f37a2(0x1ed)])||void 0x0===_0x30ea63?void 0x0:_0x30ea63[_0x1f37a2(0x1f3)])?this[_0x1f37a2(0x1eb)](this[_0x1f37a2(0x1ed)][_0x1f37a2(0x1f3)]):null;}[_0x360b6b(0x1d4)](_0x129ff6){const _0x180aeb=_0x360b6b;var _0x235c45;const _0x5c8f25=this[_0x180aeb(0x1ec)][_0x180aeb(0x216)](_0x129ff6),_0x123ad4=_0x5c8f25&&(null===(_0x235c45=this[_0x180aeb(0x1ed)])||void 0x0===_0x235c45?void 0x0:_0x235c45[_0x180aeb(0x216)](this[_0x180aeb(0x1ed)][_0x180aeb(0x201)](_0x5c8f25)-0x1));return _0x123ad4&&this[_0x180aeb(0x1eb)](_0x123ad4)||null;}[_0x360b6b(0x1fe)](_0x49c05b){const _0x451ca2=_0x360b6b;var _0x15edaf;const _0x22a43c=this[_0x451ca2(0x1ec)][_0x451ca2(0x216)](_0x49c05b),_0x2a82b9=_0x22a43c&&(null===(_0x15edaf=this[_0x451ca2(0x1ed)])||void 0x0===_0x15edaf?void 0x0:_0x15edaf[_0x451ca2(0x216)](this[_0x451ca2(0x1ed)][_0x451ca2(0x201)](_0x22a43c)+0x1));return _0x2a82b9&&this[_0x451ca2(0x1eb)](_0x2a82b9)||null;}[_0x360b6b(0x209)](_0x1959c1,_0x537b75){const _0x220de2=_0x360b6b;_0x1959c1[_0x220de2(0x1c8)]();const _0x18a3bb=R(_0x537b75[_0x220de2(0x219)]+this[_0x220de2(0x1c0)],_0x1959c1[_0x220de2(0x1f2)]);return!!_0x18a3bb&&(this[_0x220de2(0x1d9)](_0x537b75,_0x537b75[_0x220de2(0x1f2)]-_0x18a3bb),!0x0);}[_0x360b6b(0x211)](_0x347ae7,_0x16b6ef){const _0x1d448a=_0x360b6b;_0x347ae7[_0x1d448a(0x1c8)]();const _0x2a1856=R(_0x347ae7[_0x1d448a(0x219)]+this[_0x1d448a(0x1c0)],_0x16b6ef[_0x1d448a(0x1f2)]);return!!_0x2a1856&&(this[_0x1d448a(0x1d9)](_0x16b6ef,_0x16b6ef[_0x1d448a(0x1f2)]+_0x2a1856,!0x1),!0x0);}[_0x360b6b(0x205)](_0x360e9d){const _0x5c4bd4=_0x360b6b,_0x3233d3=this[_0x5c4bd4(0x1ec)][_0x5c4bd4(0x216)](_0x360e9d);if(!_0x3233d3||!_0x3233d3[_0x5c4bd4(0x20c)]||!_0x3233d3[_0x5c4bd4(0x1da)])return;const _0x46de09=this[_0x5c4bd4(0x1cc)](_0x3233d3,_0x3233d3[_0x5c4bd4(0x1da)]);this[_0x5c4bd4(0x1d9)](_0x360e9d,_0x46de09);}[_0x360b6b(0x1cc)](_0x3b6c88,_0xbc033d){const _0x2c1ab5=_0x360b6b;if(null===_0xbc033d)return 0x0;if(_0x3b6c88[_0x2c1ab5(0x20c)]instanceof _0x5b33b0)return _0xbc033d[_0x2c1ab5(0x1f2)];{const _0x215366=new _0x5b33b0(this[_0x2c1ab5(0x207)][_0x2c1ab5(0x1f5)])[_0x2c1ab5(0x1f2)];return _0xbc033d[_0x2c1ab5(0x1f2)]-_0x215366;}}[_0x360b6b(0x1d9)](_0x275c9e,_0x11a990,_0x56bfce=this[_0x360b6b(0x1f7)][_0x360b6b(0x1e8)][_0x360b6b(0x216)](_0x360b6b(0x204))){const _0x330432=_0x360b6b;_0x56bfce&&(_0x11a990=Math[_0x330432(0x206)](_0x11a990,this[_0x330432(0x1e2)](_0x275c9e))),_0x275c9e[_0x330432(0x1f2)]=_0x11a990;}[_0x360b6b(0x1e2)](_0x5f3955){const _0x59da5c=_0x360b6b;let _0x446a4b=this[_0x59da5c(0x1d4)](_0x5f3955),_0x2453ee=0x0;for(;_0x446a4b;)_0x446a4b[_0x59da5c(0x1c8)](),_0x2453ee+=this[_0x59da5c(0x1c0)]+_0x446a4b[_0x59da5c(0x1d6)],_0x446a4b=this[_0x59da5c(0x1d4)](_0x446a4b);return _0x2453ee;}}function R(_0x6ec629,_0x3cdd85){const _0x52772=_0x360b6b;return Math[_0x52772(0x206)](_0x6ec629-_0x3cdd85,0x0);}function _0x5bf6(_0x58fca8,_0x716550){const _0x21c1fa=_0x21c1();return _0x5bf6=function(_0x5bf6f7,_0x87f733){_0x5bf6f7=_0x5bf6f7-0x1c0;let _0x364158=_0x21c1fa[_0x5bf6f7];return _0x364158;},_0x5bf6(_0x58fca8,_0x716550);}function y(_0x75e3dd){const _0x59d2ef=_0x360b6b;return null!==_0x75e3dd&&_0x59d2ef(0x1ca)==typeof _0x75e3dd&&0x1===_0x75e3dd[_0x59d2ef(0x1e6)];}
|
|
23
|
+
const _0x20f215=_0x331c;(function(_0x3cdde1,_0x19bc4c){const _0x31b6ba=_0x331c,_0xfca315=_0x3cdde1();while(!![]){try{const _0x1c92c5=-parseInt(_0x31b6ba(0xed))/0x1+parseInt(_0x31b6ba(0xdb))/0x2*(parseInt(_0x31b6ba(0xa0))/0x3)+-parseInt(_0x31b6ba(0xe5))/0x4+-parseInt(_0x31b6ba(0xad))/0x5*(parseInt(_0x31b6ba(0xce))/0x6)+parseInt(_0x31b6ba(0xab))/0x7+-parseInt(_0x31b6ba(0xaa))/0x8*(-parseInt(_0x31b6ba(0xdc))/0x9)+-parseInt(_0x31b6ba(0xa1))/0xa*(-parseInt(_0x31b6ba(0x9e))/0xb);if(_0x1c92c5===_0x19bc4c)break;else _0xfca315['push'](_0xfca315['shift']());}catch(_0x122b61){_0xfca315['push'](_0xfca315['shift']());}}}(_0x5175,0x6c6a8));import{ContextPlugin as _0x440606}from'ckeditor5/src/core.js';import{Rect as _0xe8cad4,CKEditorError as _0x248053}from'ckeditor5/src/utils.js';import _0x3f6924 from'./view/sidebarview.js';function _0x5175(){const _0xb45662=['height','container','_getMaxAvailableTop','rearrange','33QEnMPi','listenTo','51LHGBGe','282790mtrPkq','sidebar-attachtocontainer-missing-container','_recalculate','_recalculateBuffer','appendChild','updateHeight','isActive','_annotationToSidebarItemView','config','1220744OiDrPo','1273594MjbZEn','render','103335pnXKAa','change:bottom','unbind','change:top','class','change:_lastItem','top','isOfficialPlugin','target','minHeight','list','last','push','_attachToContainer','_annotations','context','_detachFromContainer','sidebar.preventScrollOutOfView','bind','_alignForBottomChange','addAnnotation','_getItemAfter','_spaceBetweenItems','change:targetRect','get','_targetTop','stopListening','_updateLastItem','length','destroy','set','_createSidebarView','locale','6OmPXnP','delete','refresh','_destroySidebarItemView','_setItemTop','clear','add','setContainer','nodeType','isPremiumPlugin','view','_alignAfterItem','Sidebar','87494GqCvrr','9PDsrbG','getSidebarItemView','targetRect','sidebar-setcontainer-invalid-element','element','bottom','_getTargetTop','isAnimationDisabled','define','1527740VxxoTO','object','pluginName','max','sidebar.container','_alignToTargetRect','_alignBeforeItem','remove','316397zWIZDS','_getItemBefore','_lastItem','getIndex','content','_sidebarItemViewToAnnotation','_activeAnnotation','_alignForTopChange','init'];_0x5175=function(){return _0xb45662;};return _0x5175();}import _0x3e2cb7 from'./view/sidebaritemview.js';function _0x331c(_0x599c76,_0x19be36){const _0x5175c7=_0x5175();return _0x331c=function(_0x331c83,_0x241d59){_0x331c83=_0x331c83-0x93;let _0x368a27=_0x5175c7[_0x331c83];return _0x368a27;},_0x331c(_0x599c76,_0x19be36);}export default class z extends _0x440606{static get[_0x20f215(0xe7)](){const _0x59e0ee=_0x20f215;return _0x59e0ee(0xda);}static get[_0x20f215(0xb4)](){return!0x0;}static get[_0x20f215(0xd7)](){return!0x0;}constructor(_0x26f49a){const _0x254784=_0x20f215;super(_0x26f49a),this[_0x254784(0xcb)](_0x254784(0x93),void 0x0),this[_0x254784(0xd8)]=this[_0x254784(0xcc)](),this[_0x254784(0xcb)](_0x254784(0x9b),null),this[_0x254784(0xc3)]=0x19,this[_0x254784(0x96)]=new Map(),this[_0x254784(0xa8)]=new Map(),this[_0x254784(0xbc)][_0x254784(0xa9)][_0x254784(0xe4)](_0x254784(0xbe),!0x1),this[_0x254784(0xbb)]=null,this[_0x254784(0x97)]=null,this[_0x254784(0xa4)]=[];}[_0x20f215(0x99)](){const _0x33ed45=_0x20f215,_0x43823a=this[_0x33ed45(0xbc)][_0x33ed45(0xa9)][_0x33ed45(0xc5)](_0x33ed45(0xe9));_0x43823a&&this[_0x33ed45(0xd5)](_0x43823a);}[_0x20f215(0xd5)](_0x41b741){const _0x21a40b=_0x20f215;if(!y(_0x41b741))throw new _0x248053(_0x21a40b(0xdf));this[_0x21a40b(0x9b)]=_0x41b741;}[_0x20f215(0xba)]({viewClass:_0x2c3071='',spaceBetweenItems:_0xf0586b=0x19}={}){const _0x1a6036=_0x20f215;if(!y(this[_0x1a6036(0x9b)]))throw new _0x248053(_0x1a6036(0xa2),this);this[_0x1a6036(0x9b)][_0x1a6036(0xa5)](this[_0x1a6036(0xd8)][_0x1a6036(0xe0)]),this[_0x1a6036(0xd8)][_0x1a6036(0xb1)]=_0x2c3071,this[_0x1a6036(0xc3)]=_0xf0586b;}[_0x20f215(0x9d)]({removedAnnotation:_0x3b2efe,previousAnnotation:_0x54654b,nextAnnotation:_0x349e59}){const _0x50f490=_0x20f215,_0x14a580=this[_0x50f490(0xdd)](_0x3b2efe);this[_0x50f490(0xd8)][_0x50f490(0xb7)][_0x50f490(0xec)](_0x14a580),this[_0x50f490(0xd1)](_0x3b2efe),_0x54654b&&this[_0x50f490(0xea)](this[_0x50f490(0xdd)](_0x54654b)),_0x349e59&&this[_0x50f490(0xea)](this[_0x50f490(0xdd)](_0x349e59)),this[_0x50f490(0xc8)]();}[_0x20f215(0xd0)]({blurredAnnotation:_0x561df9,activatedAnnotation:_0x816bac,disableAnimationOnActivatedAnnotation:_0x450888}){const _0x2fb6a1=_0x20f215;if(this[_0x2fb6a1(0x97)]=_0x816bac,_0x561df9){_0x561df9[_0x2fb6a1(0xa7)]=!0x1;const _0x14b802=this[_0x2fb6a1(0xdd)](_0x561df9);_0x14b802&&_0x450888&&(_0x14b802[_0x2fb6a1(0xe3)]=!0x1);}if(_0x816bac){const _0x59d2c0=this[_0x2fb6a1(0xdd)](_0x816bac);_0x59d2c0&&(_0x816bac[_0x2fb6a1(0xa7)]=!0x0,_0x450888&&(_0x59d2c0[_0x2fb6a1(0xe3)]=!0x0,_0x59d2c0[_0x2fb6a1(0xb3)]+=0x1),this[_0x2fb6a1(0xea)](_0x59d2c0));}}[_0x20f215(0xbd)](_0x4ee8d1){const _0x32c9f0=_0x20f215;if(this[_0x32c9f0(0xd8)][_0x32c9f0(0xe0)][_0x32c9f0(0xec)](),_0x4ee8d1){for(const _0x1d2e35 of _0x4ee8d1)this[_0x32c9f0(0xd1)](_0x1d2e35);}this[_0x32c9f0(0xd8)][_0x32c9f0(0xb7)][_0x32c9f0(0xd3)](),this[_0x32c9f0(0xd8)][_0x32c9f0(0xb1)]='',this[_0x32c9f0(0x93)]=null;}[_0x20f215(0xc1)](_0x2503e8,_0x2e48d5){const _0x5d4833=_0x20f215;_0x2e48d5||(_0x2e48d5=_0x2503e8[_0x5d4833(0xd8)]);const _0x24080b=new _0x3e2cb7(this[_0x5d4833(0xbc)][_0x5d4833(0xcd)]);this[_0x5d4833(0x96)][_0x5d4833(0xcb)](_0x24080b,_0x2503e8),this[_0x5d4833(0xa8)][_0x5d4833(0xcb)](_0x2503e8,_0x24080b),_0x24080b[_0x5d4833(0x95)][_0x5d4833(0xd4)](_0x2e48d5),this[_0x5d4833(0x9f)](_0x2503e8[_0x5d4833(0xd8)],_0x5d4833(0xc4),(_0x3a7611,_0x2d13ef,_0x3fe490)=>{const _0x263636=_0x5d4833,_0x47a6c3=this[_0x263636(0xe2)](_0x2503e8,_0x3fe490);_0x24080b[_0x263636(0xc6)]!=_0x47a6c3&&(_0x24080b[_0x263636(0xc6)]=_0x47a6c3,this[_0x263636(0xd2)](_0x24080b,_0x47a6c3));}),this[_0x5d4833(0x9f)](_0x24080b,_0x5d4833(0xb0),()=>{const _0x39e270=_0x5d4833;this[_0x39e270(0xa3)](_0x24080b,_0x39e270(0xb3));}),this[_0x5d4833(0x9f)](_0x24080b,_0x5d4833(0xae),()=>{const _0x47a7ae=_0x5d4833;this[_0x47a7ae(0xa3)](_0x24080b,_0x47a7ae(0xe1));}),this[_0x5d4833(0xea)](_0x24080b);const _0x1c8e5b=this[_0x5d4833(0xee)](_0x24080b);if(_0x1c8e5b)this[_0x5d4833(0xd9)](_0x1c8e5b,_0x24080b)||this[_0x5d4833(0xea)](_0x24080b);else this[_0x5d4833(0xea)](_0x24080b);return this[_0x5d4833(0xc8)](),this[_0x5d4833(0xd8)][_0x5d4833(0xb7)][_0x5d4833(0xd4)](_0x24080b),_0x24080b;}[_0x20f215(0x98)](_0x4c3935){const _0x5688af=_0x20f215;if(!_0x4c3935[_0x5688af(0x95)][_0x5688af(0xc9)])return;const _0x6a504c=this[_0x5688af(0xee)](_0x4c3935);if(!_0x6a504c)return;const _0x3ba0fb=this[_0x5688af(0x96)][_0x5688af(0xc5)](_0x6a504c),_0x186c9c=this[_0x5688af(0x97)];_0x186c9c&&_0x186c9c===_0x3ba0fb?this[_0x5688af(0xd9)](_0x6a504c,_0x4c3935):this[_0x5688af(0xeb)](_0x4c3935,_0x6a504c);}[_0x20f215(0xc0)](_0x350fe9){const _0x1beb9f=_0x20f215;if(!_0x350fe9[_0x1beb9f(0x95)][_0x1beb9f(0xc9)])return;const _0x30e8c5=this[_0x1beb9f(0xc2)](_0x350fe9);if(!_0x30e8c5)return;const _0x544b43=this[_0x1beb9f(0x96)][_0x1beb9f(0xc5)](_0x30e8c5),_0x5e6cbe=this[_0x1beb9f(0xbc)][_0x1beb9f(0xa9)][_0x1beb9f(0xc5)](_0x1beb9f(0xbe)),_0x4a9297=this[_0x1beb9f(0x97)];_0x4a9297&&_0x4a9297===_0x544b43&&_0x5e6cbe?(this[_0x1beb9f(0xeb)](_0x30e8c5,_0x350fe9),this[_0x1beb9f(0xd9)](_0x350fe9,_0x30e8c5)):_0x4a9297&&_0x4a9297===_0x544b43?this[_0x1beb9f(0xeb)](_0x30e8c5,_0x350fe9):this[_0x1beb9f(0xd9)](_0x350fe9,_0x30e8c5);}[_0x20f215(0xa3)](_0x29bb9a,_0x2f5002){const _0x32771c=_0x20f215;0x0===this[_0x32771c(0xa4)][_0x32771c(0xc9)]&&setTimeout(()=>{const _0x19fe3d=_0x32771c;for(const {sidebarItemView:_0x278b25,changedProp:_0x496397}of this[_0x19fe3d(0xa4)])_0x19fe3d(0xb3)===_0x496397?this[_0x19fe3d(0x98)](_0x278b25):this[_0x19fe3d(0xc0)](_0x278b25);this[_0x19fe3d(0xa4)]=[];},0xa),this[_0x32771c(0xa4)][_0x32771c(0xb9)]({'sidebarItemView':_0x29bb9a,'changedProp':_0x2f5002});}[_0x20f215(0xdd)](_0x3140dc){const _0x2f885c=_0x20f215;return this[_0x2f885c(0xa8)][_0x2f885c(0xc5)](_0x3140dc);}[_0x20f215(0xca)](){const _0xf44a68=_0x20f215;this[_0xf44a68(0xc7)](),this[_0xf44a68(0xd8)][_0xf44a68(0xca)]();}[_0x20f215(0xd1)](_0xfe51d4){const _0xd243df=_0x20f215,_0x442789=this[_0xd243df(0xdd)](_0xfe51d4);this[_0xd243df(0xc7)](_0x442789),this[_0xd243df(0xc7)](_0xfe51d4[_0xd243df(0xd8)]),_0x442789[_0xd243df(0xca)](),this[_0xd243df(0xa8)][_0xd243df(0xcf)](_0xfe51d4),this[_0xd243df(0x96)][_0xd243df(0xcf)](_0x442789);}[_0x20f215(0xcc)](){const _0x229033=_0x20f215,_0x3a23de=new _0x3f6924(this[_0x229033(0xbc)][_0x229033(0xcd)]);return _0x3a23de[_0x229033(0xac)](),this['on'](_0x229033(0xb2),(_0x3d8a9f,_0x30631c,_0x1929ae,_0x54609f)=>{const _0x19899c=_0x229033;_0x54609f&&_0x3a23de[_0x19899c(0xaf)](_0x19899c(0xb6)),_0x1929ae?_0x3a23de[_0x19899c(0xbf)](_0x19899c(0xb6))['to'](_0x1929ae,_0x19899c(0xe1)):_0x3a23de[_0x19899c(0xb6)]=null;}),_0x3a23de;}[_0x20f215(0xc8)](){const _0x5322d6=_0x20f215;var _0xfc1edb;this[_0x5322d6(0x93)]=(null===(_0xfc1edb=this[_0x5322d6(0xbb)])||void 0x0===_0xfc1edb?void 0x0:_0xfc1edb[_0x5322d6(0xb8)])?this[_0x5322d6(0xdd)](this[_0x5322d6(0xbb)][_0x5322d6(0xb8)]):null;}[_0x20f215(0xee)](_0x1e3e08){const _0x22ec63=_0x20f215;var _0x3398a3;const _0x4db0e5=this[_0x22ec63(0x96)][_0x22ec63(0xc5)](_0x1e3e08),_0x44bb88=_0x4db0e5&&(null===(_0x3398a3=this[_0x22ec63(0xbb)])||void 0x0===_0x3398a3?void 0x0:_0x3398a3[_0x22ec63(0xc5)](this[_0x22ec63(0xbb)][_0x22ec63(0x94)](_0x4db0e5)-0x1));return _0x44bb88&&this[_0x22ec63(0xdd)](_0x44bb88)||null;}[_0x20f215(0xc2)](_0x5b89f4){const _0xe4e8b7=_0x20f215;var _0x3f3a57;const _0x43d0af=this[_0xe4e8b7(0x96)][_0xe4e8b7(0xc5)](_0x5b89f4),_0x5d03ef=_0x43d0af&&(null===(_0x3f3a57=this[_0xe4e8b7(0xbb)])||void 0x0===_0x3f3a57?void 0x0:_0x3f3a57[_0xe4e8b7(0xc5)](this[_0xe4e8b7(0xbb)][_0xe4e8b7(0x94)](_0x43d0af)+0x1));return _0x5d03ef&&this[_0xe4e8b7(0xdd)](_0x5d03ef)||null;}[_0x20f215(0xeb)](_0x2797da,_0x23cf49){const _0x1bb2db=_0x20f215;_0x2797da[_0x1bb2db(0xa6)]();const _0x1f5c35=R(_0x23cf49[_0x1bb2db(0xe1)]+this[_0x1bb2db(0xc3)],_0x2797da[_0x1bb2db(0xb3)]);return!!_0x1f5c35&&(this[_0x1bb2db(0xd2)](_0x23cf49,_0x23cf49[_0x1bb2db(0xb3)]-_0x1f5c35),!0x0);}[_0x20f215(0xd9)](_0x55d85e,_0x38c22c){const _0x107ce9=_0x20f215;_0x55d85e[_0x107ce9(0xa6)]();const _0x1c5731=R(_0x55d85e[_0x107ce9(0xe1)]+this[_0x107ce9(0xc3)],_0x38c22c[_0x107ce9(0xb3)]);return!!_0x1c5731&&(this[_0x107ce9(0xd2)](_0x38c22c,_0x38c22c[_0x107ce9(0xb3)]+_0x1c5731,!0x1),!0x0);}[_0x20f215(0xea)](_0x591ba8){const _0x36f61a=_0x20f215,_0x7fb73f=this[_0x36f61a(0x96)][_0x36f61a(0xc5)](_0x591ba8);if(!_0x7fb73f||!_0x7fb73f[_0x36f61a(0xb5)]||!_0x7fb73f[_0x36f61a(0xde)])return;const _0x35e7db=this[_0x36f61a(0xe2)](_0x7fb73f,_0x7fb73f[_0x36f61a(0xde)]);this[_0x36f61a(0xd2)](_0x591ba8,_0x35e7db);}[_0x20f215(0xe2)](_0x5e620e,_0x3dd730){const _0x277be3=_0x20f215;if(null===_0x3dd730)return 0x0;if(_0x5e620e[_0x277be3(0xb5)]instanceof _0xe8cad4)return _0x3dd730[_0x277be3(0xb3)];{const _0x4aae97=new _0xe8cad4(this[_0x277be3(0xd8)][_0x277be3(0xe0)])[_0x277be3(0xb3)];return _0x3dd730[_0x277be3(0xb3)]-_0x4aae97;}}[_0x20f215(0xd2)](_0x3b80ac,_0x11f81b,_0x2aa183=this[_0x20f215(0xbc)][_0x20f215(0xa9)][_0x20f215(0xc5)](_0x20f215(0xbe))){const _0x4181f8=_0x20f215;_0x2aa183&&(_0x11f81b=Math[_0x4181f8(0xe8)](_0x11f81b,this[_0x4181f8(0x9c)](_0x3b80ac))),_0x3b80ac[_0x4181f8(0xb3)]=_0x11f81b;}[_0x20f215(0x9c)](_0x569651){const _0x3edb4d=_0x20f215;let _0x23c610=this[_0x3edb4d(0xee)](_0x569651),_0x42a0f2=0x0;for(;_0x23c610;)_0x23c610[_0x3edb4d(0xa6)](),_0x42a0f2+=this[_0x3edb4d(0xc3)]+_0x23c610[_0x3edb4d(0x9a)],_0x23c610=this[_0x3edb4d(0xee)](_0x23c610);return _0x42a0f2;}}function R(_0x899c38,_0x5282e6){const _0x3ce672=_0x20f215;return Math[_0x3ce672(0xe8)](_0x899c38-_0x5282e6,0x0);}function y(_0x44d370){const _0x517581=_0x20f215;return null!==_0x44d370&&_0x517581(0xe6)==typeof _0x44d370&&0x1===_0x44d370[_0x517581(0xd6)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x39d108,_0x9f6998){const _0x411551=_0x3ae8,_0x41ad67=_0x39d108();while(!![]){try{const _0x2eb3fe=parseInt(_0x411551(0xe0))/0x1+-parseInt(_0x411551(0xd3))/0x2*(-parseInt(_0x411551(0xcf))/0x3)+parseInt(_0x411551(0xe1))/0x4*(parseInt(_0x411551(0xc4))/0x5)+parseInt(_0x411551(0xdf))/0x6*(-parseInt(_0x411551(0xcc))/0x7)+parseInt(_0x411551(0xc8))/0x8+-parseInt(_0x411551(0xda))/0x9*(-parseInt(_0x411551(0xd9))/0xa)+parseInt(_0x411551(0xd7))/0xb*(-parseInt(_0x411551(0xe2))/0xc);if(_0x2eb3fe===_0x9f6998)break;else _0x41ad67['push'](_0x41ad67['shift']());}catch(_0x384d49){_0x41ad67['push'](_0x41ad67['shift']());}}}(_0x58f6,0x92c4b));import{ButtonView as _0x2897cd,View as _0x5ed8bc}from'ckeditor5/src/ui.js';import _0x1a4a9c from'../../../theme/icons/add-comment.svg';function _0x3ae8(_0x53b903,_0x410a59){const _0x58f60f=_0x58f6();return _0x3ae8=function(_0x3ae8d3,_0xeb3853){_0x3ae8d3=_0x3ae8d3-0xc4;let _0x1c8aa6=_0x58f60f[_0x3ae8d3];return _0x1c8aa6;},_0x3ae8(_0x53b903,_0x410a59);}export default class D extends _0x2897cd{constructor(_0x13aeae){const _0x480abd=_0x3ae8;super(_0x13aeae);const _0x290373=this[_0x480abd(0xd6)];this[_0x480abd(0xd5)](_0x480abd(0xde),!0x1),this[_0x480abd(0xd5)](_0x480abd(0xcd),0x0),this[_0x480abd(0xd8)](_0x480abd(0xd0))['to'](this,_0x480abd(0xde),this,_0x480abd(0xcd),(_0x4d1510,_0x376c63)=>_0x4d1510?_0x480abd(0xdd):_0x376c63[_0x480abd(0xc9)]()),this[_0x480abd(0xd5)](_0x480abd(0xe3),''),this[_0x480abd(0xc5)]=_0x1a4a9c,this[_0x480abd(0xc6)]({'attributes':{'class':[_0x480abd(0xd4)]}}),this[_0x480abd(0xc7)]=new _0x5ed8bc(),this[_0x480abd(0xc7)][_0x480abd(0xca)]({'tag':_0x480abd(0xdb),'attributes':{'class':[_0x480abd(0xce),_0x290373['to'](_0x480abd(0xe3),_0x3b2fae=>_0x480abd(0xd1)+_0x3b2fae),_0x290373['if'](_0x480abd(0xde),_0x480abd(0xdc))]},'children':[{'text':_0x290373['to'](_0x480abd(0xd0))}]}),this[_0x480abd(0xcb)][_0x480abd(0xd2)](this[_0x480abd(0xc7)]);}}function _0x58f6(){const _0x57f880=['icon','extendTemplate','counterView','8405744mqZbBk','toString','setTemplate','children','497ONoGrI','number','ck-annotation-counter__badge','3toKxoq','_badge','ck-annotation-counter__badge--','add','1911834CfLFcg','ck-annotation-counter','set','bindTemplate','11YqBMUb','bind','4818610aQNKSg','9ohFUho','span','ck-annotation-counter__badge--edit-mode','...','isDirty','65406AmUJJX','193605zuAfdv','20OZfXkV','24891324deLDaX','annotationType','767310zmtdgc'];_0x58f6=function(){return _0x57f880;};return _0x58f6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5e487c=_0xfd5a;(function(_0x2487da,_0x1431bc){const _0x268b07=_0xfd5a,_0x28942a=_0x2487da();while(!![]){try{const _0x2b7bc2=-parseInt(_0x268b07(0x13d))/0x1*(-parseInt(_0x268b07(0x119))/0x2)+parseInt(_0x268b07(0x132))/0x3+-parseInt(_0x268b07(0x118))/0x4+-parseInt(_0x268b07(0x11f))/0x5+parseInt(_0x268b07(0x13b))/0x6*(-parseInt(_0x268b07(0x115))/0x7)+-parseInt(_0x268b07(0x116))/0x8*(-parseInt(_0x268b07(0x131))/0x9)+parseInt(_0x268b07(0x135))/0xa;if(_0x2b7bc2===_0x1431bc)break;else _0x28942a['push'](_0x28942a['shift']());}catch(_0x19d54a){_0x28942a['push'](_0x28942a['shift']());}}}(_0x2f25,0x2d827));function _0xfd5a(_0x10f12b,_0x28e2a1){const _0x2f2548=_0x2f25();return _0xfd5a=function(_0xfd5ab4,_0x36222b){_0xfd5ab4=_0xfd5ab4-0x112;let _0x48408d=_0x2f2548[_0xfd5ab4];return _0x48408d;},_0xfd5a(_0x10f12b,_0x28e2a1);}import{View as _0x22ae54}from'ckeditor5/src/ui.js';function _0x2f25(){const _0x3fc2b9=['arrowdown','attach','arrowup','length','ck-rounded-corners','render','first','set','delegate','targetRect','ck-annotation-wrapper--active','content','add','1375794hyWBHb','912135bnKMXl','ck-annotation-wrapper','type','540500IIQENA','fire','createCollection','focusTracker','listenTo','presentation','202374JkLZVx','detach','25qFFXCL','isActive','div','focus','isDirty','destroy','height','49TSikzq','8SCUnQg','keystrokes','799420HSiBNs','16084FuJpTL','setTemplate','clientHeight','_updateHeight','clear','Esc','448230ckLcxm','mainView','_mutationObserver','bindTemplate','element'];_0x2f25=function(){return _0x3fc2b9;};return _0x2f25();}import{FocusTracker as _0x52029b,KeystrokeHandler as _0x496c57,uid as _0x582fe0}from'ckeditor5/src/utils.js';import _0x50bf9a from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class T extends _0x22ae54{constructor(_0x3d268c,_0x1df00b){const _0x35976a=_0xfd5a;super(_0x3d268c),this['id']=_0x582fe0(),this[_0x35976a(0x138)]=new _0x52029b(),this[_0x35976a(0x117)]=new _0x496c57(),this[_0x35976a(0x117)][_0x35976a(0x12b)](_0x35976a(0x11e),(_0x2b0c85,_0x2055b7)=>this[_0x35976a(0x136)](_0x35976a(0x11e),_0x2055b7)),this[_0x35976a(0x12b)](_0x35976a(0x12d),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x35976a(0x12b)](_0x35976a(0x114),0x0),this[_0x35976a(0x12b)](_0x35976a(0x13e),!0x1),this[_0x35976a(0x12b)](_0x35976a(0x112),!0x1),this[_0x35976a(0x12b)](_0x35976a(0x127),0x0),this[_0x35976a(0x12b)](_0x35976a(0x134),''),this[_0x35976a(0x121)]=_0x50bf9a(()=>this[_0x35976a(0x11c)]()),this[_0x35976a(0x12f)]=this[_0x35976a(0x137)](),this[_0x35976a(0x12f)][_0x35976a(0x12c)](_0x35976a(0x126),_0x35976a(0x124))['to'](this),this[_0x35976a(0x12f)][_0x35976a(0x130)](_0x1df00b),this[_0x35976a(0x120)]=_0x1df00b;const _0x43b371=this[_0x35976a(0x122)];this[_0x35976a(0x11a)]({'tag':_0x35976a(0x13f),'attributes':{'class':['ck',_0x35976a(0x133),_0x35976a(0x128),_0x43b371['if'](_0x35976a(0x13e),_0x35976a(0x12e))],'role':_0x35976a(0x13a)},'children':this[_0x35976a(0x12f)]});}[_0x5e487c(0x129)](){const _0x5a2772=_0x5e487c;super[_0x5a2772(0x129)](),this[_0x5a2772(0x138)][_0x5a2772(0x130)](this[_0x5a2772(0x123)]),this[_0x5a2772(0x117)][_0x5a2772(0x139)](this[_0x5a2772(0x123)]),this[_0x5a2772(0x121)][_0x5a2772(0x125)](this[_0x5a2772(0x123)]);}[_0x5e487c(0x113)](){const _0x39d0d5=_0x5e487c;this[_0x39d0d5(0x12f)][_0x39d0d5(0x11d)](),this[_0x39d0d5(0x117)][_0x39d0d5(0x113)](),this[_0x39d0d5(0x138)][_0x39d0d5(0x113)](),this[_0x39d0d5(0x121)][_0x39d0d5(0x13c)](),super[_0x39d0d5(0x113)]();}[_0x5e487c(0x140)](){const _0x3e57a1=_0x5e487c;this[_0x3e57a1(0x12f)][_0x3e57a1(0x12a)]&&this[_0x3e57a1(0x12f)][_0x3e57a1(0x12a)][_0x3e57a1(0x140)]();}[_0x5e487c(0x11c)](){const _0x25c8ca=_0x5e487c,_0x292d6d=this[_0x25c8ca(0x123)][_0x25c8ca(0x11b)];_0x292d6d&&(this[_0x25c8ca(0x114)]=_0x292d6d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3efa79=_0x437c;function _0x437c(_0x30c3a6,_0xd2155){const _0x280896=_0x2808();return _0x437c=function(_0x437caf,_0x252b78){_0x437caf=_0x437caf-0xf2;let _0xa7b03b=_0x280896[_0x437caf];return _0xa7b03b;},_0x437c(_0x30c3a6,_0xd2155);}function _0x2808(){const _0x309a41=['render','arrowup','bindTemplate','attach','_mutationObserver','clear','set','updateHeight','4361570pMoVEp','div','focus','arrowdown','content','isAnimationDisabled','474283bOWoRI','765919RlUUOB','first','detach','top','3086784YhGjFU','height','9474YmJdej','delegate','presentation','bind','createCollection','ck-sidebar-item','destroy','_targetTop','104766VfDhKT','ck-sidebar-item--no-animation','796fRHoZQ','element','bottom','2538848mbXyJn','clientHeight','setTemplate'];_0x2808=function(){return _0x309a41;};return _0x2808();}(function(_0x255a79,_0x38fa91){const _0x18a0fd=_0x437c,_0x52f5fa=_0x255a79();while(!![]){try{const _0x4d68d3=parseInt(_0x18a0fd(0xf9))/0x1+parseInt(_0x18a0fd(0x108))/0x2+parseInt(_0x18a0fd(0x100))/0x3*(-parseInt(_0x18a0fd(0x10a))/0x4)+parseInt(_0x18a0fd(0xf3))/0x5+-parseInt(_0x18a0fd(0xfe))/0x6+-parseInt(_0x18a0fd(0xfa))/0x7+parseInt(_0x18a0fd(0x10d))/0x8;if(_0x4d68d3===_0x38fa91)break;else _0x52f5fa['push'](_0x52f5fa['shift']());}catch(_0x45f7f5){_0x52f5fa['push'](_0x52f5fa['shift']());}}}(_0x2808,0x7148d));import{View as _0x2b53ca}from'ckeditor5/src/ui.js';import{toUnit as _0x5beac7}from'ckeditor5/src/utils.js';import _0x5e0e8c from'../../utils/createmutationobserver.js';const qt=_0x5beac7('px');export default class H extends _0x2b53ca{constructor(_0x701da7){const _0x28e4d6=_0x437c;super(_0x701da7),this[_0x28e4d6(0x116)](_0x28e4d6(0xfd),0x0),this[_0x28e4d6(0x116)](_0x28e4d6(0xff),0x0),this[_0x28e4d6(0x103)](_0x28e4d6(0x10c))['to'](this,_0x28e4d6(0xfd),this,_0x28e4d6(0xff),(_0x24c1b6,_0x47de7e)=>_0x24c1b6+_0x47de7e),this[_0x28e4d6(0x116)](_0x28e4d6(0xf8),!0x1),this[_0x28e4d6(0x114)]=_0x5e0e8c(()=>this[_0x28e4d6(0xf2)]()),this[_0x28e4d6(0x107)]=null,this[_0x28e4d6(0xf7)]=this[_0x28e4d6(0x104)](),this[_0x28e4d6(0xf7)][_0x28e4d6(0x101)](_0x28e4d6(0x111),_0x28e4d6(0xf6))['to'](this);const _0x4147eb=this[_0x28e4d6(0x112)];this[_0x28e4d6(0x10f)]({'tag':_0x28e4d6(0xf4),'attributes':{'class':[_0x28e4d6(0x105),_0x4147eb['to'](_0x28e4d6(0xf8),_0x55033b=>_0x55033b?_0x28e4d6(0x109):'')],'style':{'top':_0x4147eb['to'](_0x28e4d6(0xfd),_0x337dfa=>qt(_0x337dfa))},'role':_0x28e4d6(0x102)},'children':this[_0x28e4d6(0xf7)]});}[_0x3efa79(0x110)](){const _0x383248=_0x3efa79;super[_0x383248(0x110)](),this[_0x383248(0x114)][_0x383248(0x113)](this[_0x383248(0x10b)]);}[_0x3efa79(0xf5)](){const _0x1400d7=_0x3efa79;this[_0x1400d7(0xf7)][_0x1400d7(0xfb)]&&this[_0x1400d7(0xf7)][_0x1400d7(0xfb)][_0x1400d7(0xf5)]();}[_0x3efa79(0xf2)](){const _0x592383=_0x3efa79,_0x590a34=this[_0x592383(0x10b)][_0x592383(0x10e)];_0x590a34&&(this[_0x592383(0xff)]=_0x590a34);}[_0x3efa79(0x106)](){const _0x26c0bf=_0x3efa79;this[_0x26c0bf(0xf7)][_0x26c0bf(0x115)](),this[_0x26c0bf(0x114)][_0x26c0bf(0xfc)](),super[_0x26c0bf(0x106)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3d35(_0x2dc588,_0x19c6b7){const _0x2476e1=_0x2476();return _0x3d35=function(_0x3d3538,_0x4c6635){_0x3d3538=_0x3d3538-0x116;let _0x196773=_0x2476e1[_0x3d3538];return _0x196773;},_0x3d35(_0x2dc588,_0x19c6b7);}const _0x4dfeca=_0x3d35;(function(_0x2ce442,_0x4f715d){const _0x1ecdf5=_0x3d35,_0x2fbb8f=_0x2ce442();while(!![]){try{const _0x1d5f1d=parseInt(_0x1ecdf5(0x11b))/0x1*(parseInt(_0x1ecdf5(0x11d))/0x2)+-parseInt(_0x1ecdf5(0x13b))/0x3+-parseInt(_0x1ecdf5(0x138))/0x4*(-parseInt(_0x1ecdf5(0x143))/0x5)+parseInt(_0x1ecdf5(0x12a))/0x6*(parseInt(_0x1ecdf5(0x13a))/0x7)+-parseInt(_0x1ecdf5(0x144))/0x8+-parseInt(_0x1ecdf5(0x126))/0x9+parseInt(_0x1ecdf5(0x148))/0xa;if(_0x1d5f1d===_0x4f715d)break;else _0x2fbb8f['push'](_0x2fbb8f['shift']());}catch(_0x1cb4ef){_0x2fbb8f['push'](_0x2fbb8f['shift']());}}}(_0x2476,0x2b2c4));import{View as _0xda8a18,FocusCycler as _0x39b9e9}from'ckeditor5/src/ui.js';import{FocusTracker as _0x13fe60,toUnit as _0x254396}from'ckeditor5/src/utils.js';import{getTranslation as _0x2e5ea5}from'../../utils/common-translations.js';function _0x2476(){const _0x528c12=['source','setTemplate','div','arrowdown','set','list','application','focusables','focusFirst','focusTracker','10356CTlVqp','focusPrevious','29029yyBjzn','860211sZzxJi','change:top','change','Annotations\x20list','removed','minHeight','class','bindTemplate','190PMecQn','1782464BheAiP','number','element','_setupKeyboardNavigation','4553810PkJvMX','focusNext','top','Annotations\x20sidebar','delegate','focus','1852YpiwCx','createCollection','262ybFWMH','ck-sidebar','arrowup','remove','ck-reset','_updateItemPositionInFocusables','length','uiLanguageDirection','added','2445543pcfiCM','render','add','getIndex','234UOiWnW','forEach','focusCycler','listenTo'];_0x2476=function(){return _0x528c12;};return _0x2476();}import'../../../theme/sidebar.css';const qt=_0x254396('px');export default class V extends _0xda8a18{constructor(_0x32775b){const _0x583b11=_0x3d35;super(_0x32775b);const _0x4975a5=this[_0x583b11(0x142)];this[_0x583b11(0x132)](_0x583b11(0x140),0x0),this[_0x583b11(0x132)](_0x583b11(0x141),''),this[_0x583b11(0x133)]=this[_0x583b11(0x11c)](),this[_0x583b11(0x135)]=this[_0x583b11(0x11c)](),this[_0x583b11(0x133)][_0x583b11(0x119)](_0x583b11(0x11f),_0x583b11(0x131))['to'](this),this[_0x583b11(0x137)]=new _0x13fe60(),this[_0x583b11(0x12c)]=new _0x39b9e9({'focusables':this[_0x583b11(0x135)],'focusTracker':this[_0x583b11(0x137)]}),this[_0x583b11(0x12f)]({'tag':_0x583b11(0x130),'attributes':{'class':['ck',_0x583b11(0x11e),_0x583b11(0x121),_0x4975a5['to'](_0x583b11(0x141))],'style':{'minHeight':_0x4975a5['to'](_0x583b11(0x140),_0x21f8af=>_0x583b11(0x145)==typeof _0x21f8af?qt(_0x21f8af+0xa):null)},'dir':_0x32775b[_0x583b11(0x124)],'role':_0x583b11(0x134),'aria-label':_0x2e5ea5(_0x32775b,_0x583b11(0x118)),'tabindex':0x0},'children':[{'tag':_0x583b11(0x130),'attributes':{'role':_0x583b11(0x133),'aria-label':_0x2e5ea5(_0x32775b,_0x583b11(0x13e))},'children':this[_0x583b11(0x133)]}]});}[_0x4dfeca(0x127)](){const _0x4a0616=_0x4dfeca;super[_0x4a0616(0x127)](),this[_0x4a0616(0x147)]();}[_0x4dfeca(0x11a)](){const _0x431e94=_0x4dfeca;this[_0x431e94(0x12c)][_0x431e94(0x136)]();}[_0x4dfeca(0x147)](){const _0x74ec9c=_0x4dfeca;this[_0x74ec9c(0x133)][_0x74ec9c(0x119)](_0x74ec9c(0x13c))['to'](this),this['on'](_0x74ec9c(0x13c),_0x31f361=>{const _0x22862a=_0x74ec9c;this[_0x22862a(0x122)](_0x31f361[_0x22862a(0x12e)]);}),this[_0x74ec9c(0x133)][_0x74ec9c(0x12b)](_0x40b5d3=>{const _0x244ed0=_0x74ec9c;this[_0x244ed0(0x137)][_0x244ed0(0x128)](_0x40b5d3[_0x244ed0(0x146)]),this[_0x244ed0(0x122)](_0x40b5d3);}),this[_0x74ec9c(0x133)]['on'](_0x74ec9c(0x13d),(_0x532089,_0x12fe66)=>{const _0x9d9d17=_0x74ec9c;for(const _0x2da124 of _0x12fe66[_0x9d9d17(0x13f)])this[_0x9d9d17(0x137)][_0x9d9d17(0x120)](_0x2da124[_0x9d9d17(0x146)]),this[_0x9d9d17(0x135)][_0x9d9d17(0x120)](_0x2da124);for(const _0x480e6b of _0x12fe66[_0x9d9d17(0x125)])this[_0x9d9d17(0x137)][_0x9d9d17(0x128)](_0x480e6b[_0x9d9d17(0x146)]),this[_0x9d9d17(0x122)](_0x480e6b);}),this['on'](_0x74ec9c(0x11f),()=>{const _0x595c0e=_0x74ec9c;this[_0x595c0e(0x12c)][_0x595c0e(0x139)]();}),this['on'](_0x74ec9c(0x131),()=>{const _0x3183a7=_0x74ec9c;this[_0x3183a7(0x12c)][_0x3183a7(0x116)]();}),this[_0x74ec9c(0x12d)](this[_0x74ec9c(0x146)],_0x74ec9c(0x11a),()=>{const _0x539e15=_0x74ec9c;this[_0x539e15(0x11a)]();});}[_0x4dfeca(0x122)](_0x6fc708){const _0xc26eb7=_0x4dfeca,_0x112ffe=this[_0xc26eb7(0x135)][_0xc26eb7(0x129)](_0x6fc708);let _0xb8ecbe,_0x5427ae;for(const _0x29ae98 of this[_0xc26eb7(0x135)])if(_0x6fc708[_0xc26eb7(0x117)]<_0x29ae98[_0xc26eb7(0x117)]){_0xb8ecbe=_0x29ae98;break;}if(_0x5427ae=_0xb8ecbe?this[_0xc26eb7(0x135)][_0xc26eb7(0x129)](_0xb8ecbe):this[_0xc26eb7(0x135)][_0xc26eb7(0x123)],-0x1!==_0x112ffe){if(_0x112ffe===_0x5427ae-0x1)return;this[_0xc26eb7(0x135)][_0xc26eb7(0x120)](_0x6fc708),_0x5427ae=_0xb8ecbe?this[_0xc26eb7(0x135)][_0xc26eb7(0x129)](_0xb8ecbe):this[_0xc26eb7(0x135)][_0xc26eb7(0x123)];}this[_0xc26eb7(0x135)][_0xc26eb7(0x128)](_0x6fc708,_0x5427ae);}}
|
|
@@ -50,6 +50,14 @@ export default class WideSidebar extends ContextPlugin implements AnnotationsUI<
|
|
|
50
50
|
* @inheritDoc
|
|
51
51
|
*/
|
|
52
52
|
static get pluginName(): "WideSidebar";
|
|
53
|
+
/**
|
|
54
|
+
* @inheritDoc
|
|
55
|
+
*/
|
|
56
|
+
static get isOfficialPlugin(): true;
|
|
57
|
+
/**
|
|
58
|
+
* @inheritDoc
|
|
59
|
+
*/
|
|
60
|
+
static get isPremiumPlugin(): true;
|
|
53
61
|
/**
|
|
54
62
|
* @inheritDoc
|
|
55
63
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9fcce4=_0xb39e;(function(_0x35b0f4,_0x54e440){const _0x56f7bd=_0xb39e,_0x56cb20=_0x35b0f4();while(!![]){try{const _0xd81379=-parseInt(_0x56f7bd(0x177))/0x1+-parseInt(_0x56f7bd(0x14e))/0x2*(-parseInt(_0x56f7bd(0x172))/0x3)+-parseInt(_0x56f7bd(0x153))/0x4+parseInt(_0x56f7bd(0x17a))/0x5+-parseInt(_0x56f7bd(0x14c))/0x6+-parseInt(_0x56f7bd(0x148))/0x7*(-parseInt(_0x56f7bd(0x145))/0x8)+parseInt(_0x56f7bd(0x13b))/0x9*(parseInt(_0x56f7bd(0x146))/0xa);if(_0xd81379===_0x54e440)break;else _0x56cb20['push'](_0x56cb20['shift']());}catch(_0x4b8a43){_0x56cb20['push'](_0x56cb20['shift']());}}}(_0x2488,0x406a7));import{ContextPlugin as _0x11021d,Context as _0x2abaf5}from'ckeditor5/src/core.js';import _0x5288df from'./annotationsuis.js';import _0x4c2c2d from'./sidebar.js';import{CKEditorError as _0x5a4a63,Collection as _0x514248}from'ckeditor5/src/utils.js';function _0x2488(){const _0x2f040a=['setActiveAnnotation','updateTargetRect','rearrange','requires','activeAnnotation','focus','_editorAnnotations','off','ck-sidebar--wide','cancel','WideSidebar','destroy','_attachToContainer','get','stopListening','widesidebar-attach-already-attached','switchTo','_destroyEditorAnnotationsIntegration','getOrderedSelectedAnnotations','attach','editors','isAttached','ready','listenTo','removeEventListener','set','high','set:container','3LQTCDy','detach','isPremiumPlugin','uiUpdate','isOfficialPlugin','228347hFcHMV','resize','plugins','940660IHoHyi','init','annotations','change:container','EditorAnnotations','addEventListener','_detachFromContainer','1003644MWGjGF','_refreshPositioningDebounced','from','pluginName','register','addAnnotation','_integrateWithEditorAnnotations','context','widesidebar-detach-not-attached','wideSidebar','18816ssiRuj','50kxxnfJ','container','693EUUZHd','has','add','hasDomSelection','2297040SAKWlK','remove','770990fuUhpl','blur','refreshPositioning','_activeAnnotation','_annotations','1956084OYlBmU','refresh','stop'];_0x2488=function(){return _0x2f040a;};return _0x2488();}function _0xb39e(_0x2836b4,_0x5d39c5){const _0x2488e7=_0x2488();return _0xb39e=function(_0xb39eea,_0x45c187){_0xb39eea=_0xb39eea-0x138;let _0x4e3310=_0x2488e7[_0xb39eea];return _0x4e3310;},_0xb39e(_0x2836b4,_0x5d39c5);}import{debounce as _0x518f0b}from'lodash-es';export default class e extends _0x11021d{static get[_0x9fcce4(0x159)](){return[_0x4c2c2d,_0x5288df];}static get[_0x9fcce4(0x13e)](){const _0x50475a=_0x9fcce4;return _0x50475a(0x160);}static get[_0x9fcce4(0x176)](){return!0x0;}static get[_0x9fcce4(0x174)](){return!0x0;}constructor(_0x944175){const _0x52bd89=_0x9fcce4;super(_0x944175),this[_0x52bd89(0x16b)]=!0x1,this[_0x52bd89(0x16f)](_0x52bd89(0x15a),null),this[_0x52bd89(0x17c)]=null,this[_0x52bd89(0x15c)]=new _0x514248(),this[_0x52bd89(0x13c)]=_0x518f0b(()=>{const _0x3b48cb=_0x52bd89;this[_0x3b48cb(0x17c)][_0x3b48cb(0x150)]();},0xfa,{'leading':!0x1});}[_0x9fcce4(0x17b)](){const _0x18bbb4=_0x9fcce4,_0x14886f=this[_0x18bbb4(0x142)][_0x18bbb4(0x179)][_0x18bbb4(0x163)](_0x5288df),_0x35edc5=this[_0x18bbb4(0x142)][_0x18bbb4(0x179)][_0x18bbb4(0x163)](_0x4c2c2d);_0x14886f[_0x18bbb4(0x13f)](_0x18bbb4(0x144),this),_0x35edc5[_0x18bbb4(0x147)]&&_0x14886f[_0x18bbb4(0x166)](_0x18bbb4(0x144));}[_0x9fcce4(0x156)](_0x46762c){const _0x37339e=_0x9fcce4;if(_0x46762c===this[_0x37339e(0x15a)])return;const _0xb58b24=this[_0x37339e(0x142)][_0x37339e(0x179)][_0x37339e(0x163)](_0x4c2c2d);_0xb58b24[_0x37339e(0x151)]=_0x46762c;const _0x43ffc2=this[_0x37339e(0x15a)];this[_0x37339e(0x15a)]=_0x46762c,_0xb58b24[_0x37339e(0x154)]({'blurredAnnotation':_0x43ffc2,'activatedAnnotation':this[_0x37339e(0x15a)]});}[_0x9fcce4(0x169)](_0x4ae766){const _0x1c6d44=_0x9fcce4;this[_0x1c6d44(0x17c)]=_0x4ae766;const _0x40ee4b=this[_0x1c6d44(0x142)][_0x1c6d44(0x179)][_0x1c6d44(0x163)](_0x4c2c2d);if(_0x40ee4b[_0x1c6d44(0x152)]=_0x4ae766,this[_0x1c6d44(0x16b)])throw new _0x5a4a63(_0x1c6d44(0x165),this);this[_0x1c6d44(0x16b)]=!0x0,this[_0x1c6d44(0x16d)](_0x40ee4b,_0x1c6d44(0x171),()=>{const _0x2494e8=_0x1c6d44;this[_0x2494e8(0x173)](),this[_0x2494e8(0x16d)](_0x40ee4b,_0x2494e8(0x17d),_0x3ab4e2=>{const _0x1772d6=_0x2494e8;_0x3ab4e2[_0x1772d6(0x15d)](),this[_0x1772d6(0x169)](_0x4ae766);});}),_0x40ee4b[_0x1c6d44(0x162)]({'viewClass':_0x1c6d44(0x15e)});const _0x44f403=_0x45626a=>{const _0x7c4103=_0x1c6d44;_0x45626a[_0x7c4103(0x157)](),_0x40ee4b[_0x7c4103(0x140)](_0x45626a);};for(const _0x2d0b56 of _0x4ae766)_0x44f403(_0x2d0b56);this[_0x1c6d44(0x16d)](_0x4ae766,_0x1c6d44(0x14a),(_0x474137,_0x23db2f)=>{_0x44f403(_0x23db2f);}),this[_0x1c6d44(0x16d)](_0x4ae766,_0x1c6d44(0x14d),(_0x8954c2,_0x232f4c,_0x24e361)=>{const _0x3d6bd5=_0x1c6d44;_0x40ee4b[_0x3d6bd5(0x158)]({'removedAnnotation':_0x232f4c,'previousAnnotation':_0x4ae766[_0x3d6bd5(0x163)](_0x24e361-0x1),'nextAnnotation':_0x4ae766[_0x3d6bd5(0x163)](_0x24e361+0x1)}),_0x232f4c===this[_0x3d6bd5(0x15a)]&&this[_0x3d6bd5(0x156)](null);},{'priority':_0x1c6d44(0x170)}),this[_0x1c6d44(0x16d)](_0x4ae766,_0x1c6d44(0x15b),(_0x170d00,_0x327dac)=>{const _0x2bbcd4=_0x1c6d44;this[_0x2bbcd4(0x156)](_0x327dac);}),this[_0x1c6d44(0x16d)](_0x4ae766,_0x1c6d44(0x14f),()=>{const _0x4c2e70=_0x1c6d44;this[_0x4c2e70(0x156)](null);});const _0x57b60d=this[_0x1c6d44(0x142)]instanceof _0x2abaf5?this[_0x1c6d44(0x142)][_0x1c6d44(0x16a)]:new _0x514248([this[_0x1c6d44(0x142)]]);for(const _0x53058d of _0x57b60d)this[_0x1c6d44(0x141)](_0x53058d);this[_0x1c6d44(0x16d)](_0x57b60d,_0x1c6d44(0x14a),(_0x261697,_0x53f590)=>{const _0xf7da89=_0x1c6d44;this[_0xf7da89(0x16d)](_0x53f590,_0xf7da89(0x16c),()=>{const _0x852155=_0xf7da89;this[_0x852155(0x141)](_0x53f590);});}),this[_0x1c6d44(0x16d)](_0x57b60d,_0x1c6d44(0x14d),(_0x21940a,_0x455ab1)=>{const _0x265814=_0x1c6d44;_0x455ab1[_0x265814(0x179)][_0x265814(0x149)](_0x265814(0x138))&&this[_0x265814(0x167)](_0x455ab1[_0x265814(0x179)][_0x265814(0x163)](_0x265814(0x138)));}),window[_0x1c6d44(0x139)](_0x1c6d44(0x178),this[_0x1c6d44(0x13c)]),this[_0x1c6d44(0x17c)][_0x1c6d44(0x150)]();}[_0x9fcce4(0x173)](){const _0x524f68=_0x9fcce4;if(!this[_0x524f68(0x16b)])throw new _0x5a4a63(_0x524f68(0x143),this);this[_0x524f68(0x156)](null);const _0x550523=this[_0x524f68(0x142)][_0x524f68(0x179)][_0x524f68(0x163)](_0x4c2c2d);_0x550523[_0x524f68(0x13a)](this[_0x524f68(0x17c)]),this[_0x524f68(0x164)](_0x550523),this[_0x524f68(0x164)](this[_0x524f68(0x17c)]),this[_0x524f68(0x142)]instanceof _0x2abaf5&&this[_0x524f68(0x164)](this[_0x524f68(0x142)][_0x524f68(0x16a)]);for(const _0x1f70c0 of Array[_0x524f68(0x13d)](this[_0x524f68(0x15c)]))this[_0x524f68(0x167)](_0x1f70c0);window[_0x524f68(0x16e)](_0x524f68(0x178),this[_0x524f68(0x13c)]),this[_0x524f68(0x13c)][_0x524f68(0x15f)](),this[_0x524f68(0x15a)]=null,this[_0x524f68(0x16b)]=!0x1,this[_0x524f68(0x17c)]=null;}[_0x9fcce4(0x161)](){const _0x57831c=_0x9fcce4;this[_0x57831c(0x16b)]&&this[_0x57831c(0x173)]();}[_0x9fcce4(0x141)](_0x27bf63){const _0x474ae2=_0x9fcce4;if(!_0x27bf63[_0x474ae2(0x179)][_0x474ae2(0x149)](_0x474ae2(0x138)))return;const _0xc5e44b=_0x27bf63[_0x474ae2(0x179)][_0x474ae2(0x163)](_0x474ae2(0x138)),_0x444188=()=>{const _0x4a02bc=_0x474ae2,_0x2d1034=_0xc5e44b[_0x4a02bc(0x168)]({'annotations':this[_0x4a02bc(0x17c)],'activeAnnotation':this[_0x4a02bc(0x15a)]});this[_0x4a02bc(0x156)](_0x2d1034[0x0]||null);};this[_0x474ae2(0x16d)](_0xc5e44b,_0x474ae2(0x154),_0x444188),this[_0x474ae2(0x16d)](_0xc5e44b,_0x474ae2(0x14f),(_0x2ccb79,{isAnnotationTracked:_0x1f881f})=>{const _0x570686=_0x474ae2;this[_0x570686(0x15a)]&&_0x1f881f(this[_0x570686(0x15a)])&&this[_0x570686(0x156)](null);}),this[_0x474ae2(0x16d)](_0xc5e44b,_0x474ae2(0x175),()=>{const _0x413bf3=_0x474ae2;this[_0x413bf3(0x13c)]();}),this[_0x474ae2(0x16d)](this[_0x474ae2(0x17c)],_0x474ae2(0x14f),_0x5336cf=>{const _0x119698=_0x474ae2;_0xc5e44b[_0x119698(0x14b)]()&&(_0x444188(),_0x5336cf[_0x119698(0x155)]());},{'priority':_0x474ae2(0x170)}),this[_0x474ae2(0x15c)][_0x474ae2(0x14a)](_0xc5e44b);}[_0x9fcce4(0x167)](_0xc495b9){const _0x2770e5=_0x9fcce4;this[_0x2770e5(0x164)](_0xc495b9),this[_0x2770e5(0x15c)][_0x2770e5(0x14d)](_0xc495b9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5af2ba=_0x1072;function _0x1072(_0x5f0d2d,_0x3c9615){const _0x5ba8a8=_0x5ba8();return _0x1072=function(_0x10728d,_0x2715a5){_0x10728d=_0x10728d-0x11d;let _0x1f0204=_0x5ba8a8[_0x10728d];return _0x1f0204;},_0x1072(_0x5f0d2d,_0x3c9615);}(function(_0x41fd6f,_0x19a5b7){const _0x21391a=_0x1072,_0x4b3739=_0x41fd6f();while(!![]){try{const _0x2d1c42=parseInt(_0x21391a(0x129))/0x1+-parseInt(_0x21391a(0x143))/0x2*(-parseInt(_0x21391a(0x12d))/0x3)+parseInt(_0x21391a(0x11f))/0x4+-parseInt(_0x21391a(0x124))/0x5*(parseInt(_0x21391a(0x13c))/0x6)+parseInt(_0x21391a(0x12f))/0x7+-parseInt(_0x21391a(0x13f))/0x8*(-parseInt(_0x21391a(0x132))/0x9)+parseInt(_0x21391a(0x120))/0xa*(-parseInt(_0x21391a(0x127))/0xb);if(_0x2d1c42===_0x19a5b7)break;else _0x4b3739['push'](_0x4b3739['shift']());}catch(_0x1bc668){_0x4b3739['push'](_0x4b3739['shift']());}}}(_0x5ba8,0xf06e7));import{Command as _0x4f337d}from'ckeditor5/src/core.js';import{uid as _0x4a499e}from'ckeditor5/src/utils.js';function _0x5ba8(){const _0x1afb06=['_trimToContent','48hgLPjE','schema','3919909SjbtdW','change','selection','2889009RIKyLl','start','comment:','getLastMatchingPosition','tableCell','getItems','isEnabled','getRanges','$textProxy','model','6nGHYpE','createRange','substr','32DZaulY','_itemIsContent','refresh','document','103928zsZmNE','editor','execute','7389856aztpcZ','10rlBqGJ','push','addMarker','isObject','32865xPeywM','end','backward','47586429CHGGnk','_hasContent','794540OEXnyY','item','element'];_0x5ba8=function(){return _0x1afb06;};return _0x5ba8();}export default class J extends _0x4f337d{[_0x5af2ba(0x141)](){const _0x1b77a4=_0x5af2ba,_0x521a06=this[_0x1b77a4(0x11d)][_0x1b77a4(0x13b)][_0x1b77a4(0x142)][_0x1b77a4(0x131)];for(const _0x874f78 of _0x521a06[_0x1b77a4(0x139)]())if(this[_0x1b77a4(0x128)](_0x874f78))return void(this[_0x1b77a4(0x138)]=!0x0);this[_0x1b77a4(0x138)]=!0x1;}[_0x5af2ba(0x11e)]({threadId:_0x333b3e=_0x4a499e()}={}){const _0x569985=_0x5af2ba,_0x29d6b3=this[_0x569985(0x11d)][_0x569985(0x13b)],_0x18ff9b=[];for(const _0x2203b0 of _0x29d6b3[_0x569985(0x142)][_0x569985(0x131)][_0x569985(0x139)]())this[_0x569985(0x128)](_0x2203b0)&&_0x18ff9b[_0x569985(0x121)](this[_0x569985(0x12c)](_0x2203b0));_0x29d6b3[_0x569985(0x130)](_0x3f2794=>{const _0x36cbc0=_0x569985;for(const _0x201ec5 of _0x18ff9b){const _0x32a5fa=_0x4a499e()[_0x36cbc0(0x13e)](0x1,0x5),_0x53c18a=_0x36cbc0(0x134)+_0x333b3e+':'+_0x32a5fa;_0x3f2794[_0x36cbc0(0x122)](_0x53c18a,{'range':_0x201ec5,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x5af2ba(0x128)](_0x13ea5a){const _0x33f231=_0x5af2ba;for(const _0x488a61 of _0x13ea5a[_0x33f231(0x137)]())if(this[_0x33f231(0x140)](_0x488a61))return!0x0;return!0x1;}[_0x5af2ba(0x140)](_0x1d47ec){const _0x2add79=_0x5af2ba;return _0x1d47ec['is'](_0x2add79(0x13a))||this[_0x2add79(0x11d)][_0x2add79(0x13b)][_0x2add79(0x12e)][_0x2add79(0x123)](_0x1d47ec)&&!_0x1d47ec['is'](_0x2add79(0x12b),_0x2add79(0x136));}[_0x5af2ba(0x12c)](_0x7224ef){const _0x590ecf=_0x5af2ba,_0x3147c6=_0x4694cb=>!this[_0x590ecf(0x140)](_0x4694cb[_0x590ecf(0x12a)]),_0x125182=_0x7224ef[_0x590ecf(0x133)][_0x590ecf(0x135)](_0x3147c6),_0x124dad=_0x7224ef[_0x590ecf(0x125)][_0x590ecf(0x135)](_0x3147c6,{'direction':_0x590ecf(0x126)});return this[_0x590ecf(0x11d)][_0x590ecf(0x13b)][_0x590ecf(0x13d)](_0x125182,_0x124dad);}}
|