@ckeditor/ckeditor5-comments 41.3.0-alpha.4 → 41.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/package.json +3 -4
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- 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.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +2 -2
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +1 -1
- 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 +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- 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/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- 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
- package/theme/commentsarchive.css +1 -1
- package/dist/content-index.css +0 -332
- package/dist/editor-index.css +0 -902
- package/dist/index.css +0 -1874
- package/dist/translations/af.d.ts +0 -8
- package/dist/translations/af.js +0 -23
- package/dist/translations/ar.d.ts +0 -8
- package/dist/translations/ar.js +0 -23
- package/dist/translations/bg.d.ts +0 -8
- package/dist/translations/bg.js +0 -23
- package/dist/translations/bn.d.ts +0 -8
- package/dist/translations/bn.js +0 -23
- package/dist/translations/bs.d.ts +0 -8
- package/dist/translations/bs.js +0 -23
- package/dist/translations/ca.d.ts +0 -8
- package/dist/translations/ca.js +0 -23
- package/dist/translations/cs.d.ts +0 -8
- package/dist/translations/cs.js +0 -23
- package/dist/translations/da.d.ts +0 -8
- package/dist/translations/da.js +0 -23
- package/dist/translations/de-ch.d.ts +0 -8
- package/dist/translations/de-ch.js +0 -23
- package/dist/translations/de.d.ts +0 -8
- package/dist/translations/de.js +0 -23
- package/dist/translations/el.d.ts +0 -8
- package/dist/translations/el.js +0 -23
- package/dist/translations/en-au.d.ts +0 -8
- package/dist/translations/en-au.js +0 -23
- package/dist/translations/en.d.ts +0 -8
- package/dist/translations/en.js +0 -23
- package/dist/translations/es-co.d.ts +0 -8
- package/dist/translations/es-co.js +0 -23
- package/dist/translations/es.d.ts +0 -8
- package/dist/translations/es.js +0 -23
- package/dist/translations/et.d.ts +0 -8
- package/dist/translations/et.js +0 -23
- package/dist/translations/fa.d.ts +0 -8
- package/dist/translations/fa.js +0 -23
- package/dist/translations/fi.d.ts +0 -8
- package/dist/translations/fi.js +0 -23
- package/dist/translations/fr.d.ts +0 -8
- package/dist/translations/fr.js +0 -23
- package/dist/translations/gl.d.ts +0 -8
- package/dist/translations/gl.js +0 -23
- package/dist/translations/he.d.ts +0 -8
- package/dist/translations/he.js +0 -23
- package/dist/translations/hi.d.ts +0 -8
- package/dist/translations/hi.js +0 -23
- package/dist/translations/hr.d.ts +0 -8
- package/dist/translations/hr.js +0 -23
- package/dist/translations/hu.d.ts +0 -8
- package/dist/translations/hu.js +0 -23
- package/dist/translations/id.d.ts +0 -8
- package/dist/translations/id.js +0 -23
- package/dist/translations/it.d.ts +0 -8
- package/dist/translations/it.js +0 -23
- package/dist/translations/ja.d.ts +0 -8
- package/dist/translations/ja.js +0 -23
- package/dist/translations/jv.d.ts +0 -8
- package/dist/translations/jv.js +0 -23
- package/dist/translations/ko.d.ts +0 -8
- package/dist/translations/ko.js +0 -23
- package/dist/translations/lt.d.ts +0 -8
- package/dist/translations/lt.js +0 -23
- package/dist/translations/lv.d.ts +0 -8
- package/dist/translations/lv.js +0 -23
- package/dist/translations/ms.d.ts +0 -8
- package/dist/translations/ms.js +0 -23
- package/dist/translations/nl.d.ts +0 -8
- package/dist/translations/nl.js +0 -23
- package/dist/translations/no.d.ts +0 -8
- package/dist/translations/no.js +0 -23
- package/dist/translations/pl.d.ts +0 -8
- package/dist/translations/pl.js +0 -23
- package/dist/translations/pt-br.d.ts +0 -8
- package/dist/translations/pt-br.js +0 -23
- package/dist/translations/pt.d.ts +0 -8
- package/dist/translations/pt.js +0 -23
- package/dist/translations/ro.d.ts +0 -8
- package/dist/translations/ro.js +0 -23
- package/dist/translations/ru.d.ts +0 -8
- package/dist/translations/ru.js +0 -23
- package/dist/translations/sk.d.ts +0 -8
- package/dist/translations/sk.js +0 -23
- package/dist/translations/sq.d.ts +0 -8
- package/dist/translations/sq.js +0 -23
- package/dist/translations/sr-latn.d.ts +0 -8
- package/dist/translations/sr-latn.js +0 -23
- package/dist/translations/sr.d.ts +0 -8
- package/dist/translations/sr.js +0 -23
- package/dist/translations/sv.d.ts +0 -8
- package/dist/translations/sv.js +0 -23
- package/dist/translations/th.d.ts +0 -8
- package/dist/translations/th.js +0 -23
- package/dist/translations/tk.d.ts +0 -8
- package/dist/translations/tk.js +0 -23
- package/dist/translations/tr.d.ts +0 -8
- package/dist/translations/tr.js +0 -23
- package/dist/translations/tt.d.ts +0 -8
- package/dist/translations/tt.js +0 -23
- package/dist/translations/ug.d.ts +0 -8
- package/dist/translations/ug.js +0 -23
- package/dist/translations/uk.d.ts +0 -8
- package/dist/translations/uk.js +0 -23
- package/dist/translations/ur.d.ts +0 -8
- package/dist/translations/ur.js +0 -23
- package/dist/translations/vi.d.ts +0 -8
- package/dist/translations/vi.js +0 -23
- package/dist/translations/zh-cn.d.ts +0 -8
- package/dist/translations/zh-cn.js +0 -23
- package/dist/translations/zh.d.ts +0 -8
- package/dist/translations/zh.js +0 -23
- package/dist/types/annotations/annotation.d.ts +0 -94
- package/dist/types/annotations/annotationcollection.d.ts +0 -102
- package/dist/types/annotations/annotations.d.ts +0 -158
- package/dist/types/annotations/annotationsuis.d.ts +0 -236
- package/dist/types/annotations/editorannotations.d.ts +0 -71
- package/dist/types/annotations/inlineannotations.d.ts +0 -94
- package/dist/types/annotations/narrowsidebar.d.ts +0 -89
- package/dist/types/annotations/sidebar.d.ts +0 -104
- package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +0 -33
- package/dist/types/annotations/view/annotationview.d.ts +0 -94
- package/dist/types/annotations/view/sidebaritemview.d.ts +0 -59
- package/dist/types/annotations/view/sidebarview.d.ts +0 -36
- package/dist/types/annotations/widesidebar.d.ts +0 -81
- package/dist/types/augmentation.d.ts +0 -56
- package/dist/types/comments/addcommentthreadcommand.d.ts +0 -39
- package/dist/types/comments/commentsarchive.d.ts +0 -35
- package/dist/types/comments/commentsarchiveui.d.ts +0 -42
- package/dist/types/comments/commentsediting.d.ts +0 -84
- package/dist/types/comments/commentsrepository.d.ts +0 -1134
- package/dist/types/comments/commentsui.d.ts +0 -37
- package/dist/types/comments/integrations/clipboard.d.ts +0 -30
- package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +0 -21
- package/dist/types/comments/integrations/importword.d.ts +0 -25
- package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +0 -40
- package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +0 -35
- package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +0 -40
- package/dist/types/comments/ui/commentthreadcontroller.d.ts +0 -68
- package/dist/types/comments/ui/view/basecommentthreadview.d.ts +0 -123
- package/dist/types/comments/ui/view/basecommentview.d.ts +0 -116
- package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +0 -17
- package/dist/types/comments/ui/view/commentcontentview.d.ts +0 -18
- package/dist/types/comments/ui/view/commentinputview.d.ts +0 -90
- package/dist/types/comments/ui/view/commentsarchiveview.d.ts +0 -42
- package/dist/types/comments/ui/view/commentslistview.d.ts +0 -104
- package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +0 -54
- package/dist/types/comments/ui/view/commentthreadinputview.d.ts +0 -45
- package/dist/types/comments/ui/view/commentthreadview.d.ts +0 -122
- package/dist/types/comments/ui/view/commentview.d.ts +0 -247
- package/dist/types/comments.d.ts +0 -39
- package/dist/types/commentsonly.d.ts +0 -37
- package/dist/types/config.d.ts +0 -202
- package/dist/types/index.d.ts +0 -28
- package/dist/types/utils/common-translations.d.ts +0 -13
- package/dist/types/utils/createmutationobserver.d.ts +0 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "41.3.0
|
|
3
|
+
"version": "41.3.0",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
"main": "src/index.js",
|
|
37
37
|
"files": [
|
|
38
38
|
"build",
|
|
39
|
-
"dist",
|
|
40
39
|
"lang",
|
|
41
40
|
"src/**/*.js",
|
|
42
41
|
"src/**/*.d.ts",
|
|
@@ -45,8 +44,8 @@
|
|
|
45
44
|
"CHANGELOG.md"
|
|
46
45
|
],
|
|
47
46
|
"dependencies": {
|
|
48
|
-
"ckeditor5": "41.3.0
|
|
49
|
-
"ckeditor5-collaboration": "41.3.0
|
|
47
|
+
"ckeditor5": "41.3.0",
|
|
48
|
+
"ckeditor5-collaboration": "41.3.0",
|
|
50
49
|
"lodash-es": "4.17.21"
|
|
51
50
|
},
|
|
52
51
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x283afb=_0xbba1;(function(_0x2cee4d,_0x5516be){const _0x983798=_0xbba1,_0x1e7c56=_0x2cee4d();while(!![]){try{const _0xd2b3c6=-parseInt(_0x983798(0x193))/0x1+-parseInt(_0x983798(0x178))/0x2+parseInt(_0x983798(0x184))/0x3+parseInt(_0x983798(0x172))/0x4+parseInt(_0x983798(0x177))/0x5+-parseInt(_0x983798(0x187))/0x6*(-parseInt(_0x983798(0x188))/0x7)+-parseInt(_0x983798(0x19a))/0x8*(parseInt(_0x983798(0x173))/0x9);if(_0xd2b3c6===_0x5516be)break;else _0x1e7c56['push'](_0x1e7c56['shift']());}catch(_0x21c79b){_0x1e7c56['push'](_0x1e7c56['shift']());}}}(_0x3639,0x4573b));import{CKEditorError as _0x1391b7,Rect as _0x2d7c06,Collection as _0x47f65f,ObservableMixin as _0x2fb02b}from'ckeditor5/src/utils.js';function _0x3639(){const _0x4788de=['mainView','length','object','focusableElements','item','offsetParent','183378IInrUW','every','isActive','set','render','isArray','_id','16DImUDg','add','getClientRects','updateTargetRect','element','1178744XnviCy','2808585tFJkQD','stopListening','targetRect','filter','2325745StQadH','370724yoaimU','_getNormalizedTarget','refreshVisibility','annotation-invalid-target','nodeType','focusTracker','view','isVisible','function','_target','remove','_type','234831jUdkLE','target','type','246MThLsx','74991aWYWRc','_assertCorrectTarget','destroy','innerView','clear'];_0x3639=function(){return _0x4788de;};return _0x3639();}function _0xbba1(_0x21df05,_0x265204){const _0x3639a8=_0x3639();return _0xbba1=function(_0xbba1ce,_0x256b0d){_0xbba1ce=_0xbba1ce-0x171;let _0x3305f4=_0x3639a8[_0xbba1ce];return _0x3305f4;},_0xbba1(_0x21df05,_0x265204);}export default class d extends _0x2fb02b(){constructor({view:_0x57d22c,target:_0x235a31,type:_0x5e58cd,isVisible:_0x510591=!0x0}){const _0x353064=_0xbba1;super(),this[_0x353064(0x17e)]=_0x57d22c,this[_0x353064(0x17e)][_0x353064(0x171)]||this[_0x353064(0x17e)][_0x353064(0x197)](),this[_0x353064(0x183)]=_0x5e58cd,this[_0x353064(0x181)]=_0x235a31,d[_0x353064(0x189)](this[_0x353064(0x179)]()),this[_0x353064(0x190)]=new _0x47f65f([this[_0x353064(0x17e)][_0x353064(0x171)]],{'idProperty':_0x353064(0x199)}),this[_0x353064(0x190)]['on'](_0x353064(0x19b),(_0xa8aeee,_0x110b0f)=>{const _0x4cc4ed=_0x353064;this[_0x4cc4ed(0x17e)][_0x4cc4ed(0x17d)][_0x4cc4ed(0x19b)](_0x110b0f);}),this[_0x353064(0x190)]['on'](_0x353064(0x182),(_0x2267cf,_0xedb7ac)=>{const _0x3934e6=_0x353064;this[_0x3934e6(0x17e)][_0x3934e6(0x17d)][_0x3934e6(0x182)](_0xedb7ac);}),this[_0x353064(0x196)](_0x353064(0x17f),_0x510591);}get[_0x283afb(0x186)](){const _0xdee81e=_0x283afb;return _0xdee81e(0x180)==typeof this[_0xdee81e(0x183)]?this[_0xdee81e(0x183)]():this[_0xdee81e(0x183)];}get[_0x283afb(0x18b)](){const _0x5bc67e=_0x283afb;return this[_0x5bc67e(0x17e)][_0x5bc67e(0x18d)];}get[_0x283afb(0x185)](){const _0x99c234=_0x283afb,_0x13d8a7=this[_0x99c234(0x179)]();return d[_0x99c234(0x189)](_0x13d8a7),_0x13d8a7;}get[_0x283afb(0x175)](){const _0x4fde01=_0x283afb,_0x1f6c3b=this[_0x4fde01(0x185)];if(null===_0x1f6c3b)return null;if(_0x1f6c3b instanceof _0x2d7c06)return _0x1f6c3b;const _0x1b1fbc=_0x1f6c3b[_0x4fde01(0x176)](_0x13918d=>function(_0x155013){const _0x384839=_0x4fde01,_0x430c1a=_0x155013[_0x384839(0x192)];if(_0x430c1a)return!0x0;const _0x4968f2=_0x155013[_0x384839(0x19c)]()[_0x384839(0x191)](0x0);return!!_0x4968f2;}(_0x13918d));return 0x0===_0x1b1fbc[_0x4fde01(0x18e)]?null:new _0x2d7c06(_0x1b1fbc[0x0][_0x4fde01(0x19c)]()[_0x4fde01(0x191)](0x0));}get[_0x283afb(0x195)](){const _0x506cda=_0x283afb;return this[_0x506cda(0x17e)][_0x506cda(0x195)];}set[_0x283afb(0x195)](_0x2fbb8e){const _0x598976=_0x283afb;this[_0x598976(0x17e)][_0x598976(0x195)]=_0x2fbb8e,this[_0x598976(0x17e)][_0x598976(0x18d)][_0x598976(0x195)]=_0x2fbb8e;}[_0x283afb(0x19d)](){const _0xea52e5=_0x283afb;this[_0xea52e5(0x17e)][_0xea52e5(0x175)]=this[_0xea52e5(0x175)];}[_0x283afb(0x18a)](){const _0x1a50fb=_0x283afb;this[_0x1a50fb(0x190)][_0x1a50fb(0x174)](),this[_0x1a50fb(0x190)][_0x1a50fb(0x18c)](),this[_0x1a50fb(0x174)]();}[_0x283afb(0x17a)](){const _0x50e6ef=_0x283afb;this[_0x50e6ef(0x17f)]=!!this[_0x50e6ef(0x175)];}static[_0x283afb(0x189)](_0x40219b){const _0x43b5bb=_0x283afb;if(!(null===_0x40219b||_0x40219b instanceof _0x2d7c06||Array[_0x43b5bb(0x198)](_0x40219b)&&_0x40219b[_0x43b5bb(0x194)](_0x4be672=>y(_0x4be672))))throw new _0x1391b7(_0x43b5bb(0x17b),null,{'target':_0x40219b});}[_0x283afb(0x179)](){const _0x528a3b=_0x283afb,_0x3b1334=_0x528a3b(0x180)==typeof this[_0x528a3b(0x181)]?this[_0x528a3b(0x181)]():this[_0x528a3b(0x181)];return y(_0x3b1334)?[_0x3b1334]:_0x3b1334;}}function y(_0x5bd26a){const _0x182454=_0x283afb;return null!==_0x5bd26a&&_0x182454(0x18f)==typeof _0x5bd26a&&_0x182454(0x17c)in _0x5bd26a&&0x1===_0x5bd26a[_0x182454(0x17c)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ae552=_0x5920;(function(_0x595b78,_0x10155e){const _0x4a681c=_0x5920,_0x22c9f9=_0x595b78();while(!![]){try{const _0x3d8736=parseInt(_0x4a681c(0x20c))/0x1*(parseInt(_0x4a681c(0x1fd))/0x2)+parseInt(_0x4a681c(0x1ec))/0x3*(parseInt(_0x4a681c(0x1f0))/0x4)+-parseInt(_0x4a681c(0x1e7))/0x5*(parseInt(_0x4a681c(0x205))/0x6)+-parseInt(_0x4a681c(0x20a))/0x7+parseInt(_0x4a681c(0x1f2))/0x8+parseInt(_0x4a681c(0x210))/0x9+parseInt(_0x4a681c(0x204))/0xa;if(_0x3d8736===_0x10155e)break;else _0x22c9f9['push'](_0x22c9f9['shift']());}catch(_0x55b80f){_0x22c9f9['push'](_0x22c9f9['shift']());}}}(_0x3163,0x79ff3));import{CKEditorError as _0x17d919,Collection as _0x183555,FocusTracker as _0x58d8b9}from'ckeditor5/src/utils.js';function _0x5920(_0x2faf67,_0x4f6afe){const _0x3163f3=_0x3163();return _0x5920=function(_0x5920a8,_0x13afc3){_0x5920a8=_0x5920a8-0x1e2;let _0x5b38bd=_0x3163f3[_0x5920a8];return _0x5b38bd;},_0x5920(_0x2faf67,_0x4f6afe);}export default class x extends _0x183555{constructor(_0x3904d9=[]){const _0x1c1353=_0x5920;super(),this[_0x1c1353(0x207)]=new Map(),this[_0x1c1353(0x1ff)]=new Map(),this[_0x1c1353(0x1fa)]=new _0x58d8b9(),this[_0x1c1353(0x1fa)]['on'](_0x1c1353(0x1e3),(_0x3401a3,_0x580d0c,_0x7ce7d4)=>{const _0x463427=_0x1c1353;_0x7ce7d4||this[_0x463427(0x20e)](_0x463427(0x200));});for(const _0x1d5b47 of _0x3904d9)this[_0x1c1353(0x1eb)](_0x1d5b47);}get[_0x1ae552(0x20d)](){const _0x19f8c6=_0x1ae552;return this[_0x19f8c6(0x1fa)][_0x19f8c6(0x20d)];}[_0x1ae552(0x1eb)](_0x212f7c){const _0x3887f3=_0x1ae552;if(this[_0x3887f3(0x206)](_0x212f7c))throw new _0x17d919(_0x3887f3(0x1fc),null);this[_0x3887f3(0x207)][_0x3887f3(0x209)](_0x212f7c[_0x3887f3(0x20b)],_0x212f7c),this[_0x3887f3(0x1ff)][_0x3887f3(0x209)](_0x212f7c[_0x3887f3(0x1ef)],_0x212f7c);for(const _0x898f3f of _0x212f7c[_0x3887f3(0x1e6)])this[_0x3887f3(0x1fa)][_0x3887f3(0x1eb)](_0x898f3f);this[_0x3887f3(0x1f4)](_0x212f7c[_0x3887f3(0x1e6)],_0x3887f3(0x1eb),(_0x3969be,_0x186ae7)=>{const _0xbf926c=_0x3887f3;this[_0xbf926c(0x1fa)][_0xbf926c(0x1eb)](_0x186ae7);}),this[_0x3887f3(0x1f4)](_0x212f7c[_0x3887f3(0x1e6)],_0x3887f3(0x1ed),(_0x53f3d5,_0x4aff87)=>{const _0x1dce2e=_0x3887f3;this[_0x1dce2e(0x1fa)][_0x1dce2e(0x1ed)](_0x4aff87);}),this[_0x3887f3(0x1f4)](_0x212f7c[_0x3887f3(0x1ef)][_0x3887f3(0x1f3)],_0x3887f3(0x1e3),(_0x44bd39,_0x30f376,_0x2be788)=>{const _0x1f4476=_0x3887f3;_0x2be788&&this[_0x1f4476(0x20e)](_0x1f4476(0x1e2),_0x212f7c);}),_0x212f7c[_0x3887f3(0x1fe)]();const _0x25446f=this[_0x3887f3(0x1f5)](_0x212f7c[_0x3887f3(0x1ef)][_0x3887f3(0x203)]);return super[_0x3887f3(0x1eb)](_0x212f7c,_0x25446f);}[_0x1ae552(0x1ed)](_0x4c65d1){const _0x408f52=_0x1ae552;if(!this[_0x408f52(0x206)](_0x4c65d1))throw new _0x17d919(_0x408f52(0x1f6),null);this[_0x408f52(0x1fb)](_0x4c65d1[_0x408f52(0x1ef)][_0x408f52(0x1f3)]),this[_0x408f52(0x1fb)](_0x4c65d1[_0x408f52(0x1e6)]);for(const _0x2a8b82 of _0x4c65d1[_0x408f52(0x1e6)])this[_0x408f52(0x1fa)][_0x408f52(0x1ed)](_0x2a8b82);return this[_0x408f52(0x1ff)][_0x408f52(0x1f7)](_0x4c65d1[_0x408f52(0x1ef)]),this[_0x408f52(0x207)][_0x408f52(0x1f7)](_0x4c65d1[_0x408f52(0x20b)]),super[_0x408f52(0x1ed)](_0x4c65d1);}[_0x1ae552(0x1f8)](_0x8d811e){const _0x2a2043=_0x1ae552;return this[_0x2a2043(0x207)][_0x2a2043(0x1e4)](_0x8d811e);}[_0x1ae552(0x1f1)](_0x563ac7){const _0x471e56=_0x1ae552;return this[_0x471e56(0x1ff)][_0x471e56(0x1e4)](_0x563ac7);}[_0x1ae552(0x201)](){const _0x574888=_0x1ae552;super[_0x574888(0x1e8)](),this[_0x574888(0x1fb)](),this[_0x574888(0x207)][_0x574888(0x1e8)](),this[_0x574888(0x1ff)][_0x574888(0x1e8)](),this[_0x574888(0x1fa)][_0x574888(0x201)]();}[_0x1ae552(0x20f)](){const _0x30fe36=_0x1ae552;for(const _0x3d8d00 of this)_0x3d8d00[_0x30fe36(0x1fe)]();this[_0x30fe36(0x1e5)]();}[_0x1ae552(0x1e5)](){const _0x23903d=_0x1ae552,_0x402327=Array[_0x23903d(0x1ee)](this)[_0x23903d(0x208)]((_0x3e49db,_0x44057a)=>v(_0x3e49db[_0x23903d(0x1ef)][_0x23903d(0x203)],_0x44057a[_0x23903d(0x1ef)][_0x23903d(0x203)]));for(let _0x29631a=_0x402327[_0x23903d(0x1f9)]-0x1;_0x29631a>0x0;_0x29631a--){const _0x35ac64=_0x402327[_0x29631a];_0x29631a!==this[_0x23903d(0x1e9)](_0x35ac64)&&(this[_0x23903d(0x1ed)](_0x35ac64),this[_0x23903d(0x1eb)](_0x35ac64));}}[_0x1ae552(0x1f5)](_0x26b83f){const _0xf8276d=_0x1ae552;let _0x59cb96=0x0;if(!_0x26b83f)return this[_0xf8276d(0x1f9)];for(const _0x3e67b3 of this){const _0x547a25=_0x3e67b3[_0xf8276d(0x1ef)][_0xf8276d(0x203)];if(_0x547a25){if(v(_0x26b83f,_0x547a25)<0x0)return _0x59cb96;_0x59cb96++;}}return _0x59cb96;}}export function bindAnnotationCollections({source:_0x3eb826,target:_0x1fb9dc,filter:_0x3fc3e4}){const _0x4c31d3=_0x1ae552;for(const _0x239c24 of _0x3eb826)_0x3fc3e4(_0x239c24)&&_0x1fb9dc[_0x4c31d3(0x1eb)](_0x239c24);_0x1fb9dc[_0x4c31d3(0x1f4)](_0x3eb826,_0x4c31d3(0x1eb),(_0xbcabe6,_0x5d98ff)=>{const _0x8c3469=_0x4c31d3;_0x3fc3e4(_0x5d98ff)&&_0x1fb9dc[_0x8c3469(0x1eb)](_0x5d98ff);}),_0x1fb9dc[_0x4c31d3(0x1f4)](_0x3eb826,_0x4c31d3(0x1ed),(_0x5d62f,_0x52ab7f)=>{const _0x432c8e=_0x4c31d3;_0x1fb9dc[_0x432c8e(0x206)](_0x52ab7f)&&_0x1fb9dc[_0x432c8e(0x1ed)](_0x52ab7f);});}function v(_0x2a5e3a,_0x322e99){const _0x10bf84=_0x1ae552;if(null===_0x2a5e3a&&null===_0x322e99)return 0x0;if(null===_0x2a5e3a)return-0x1;if(null===_0x322e99)return 0x1;const _0x3a8939=_0x2a5e3a[_0x10bf84(0x202)]-_0x322e99[_0x10bf84(0x202)];return 0x0==_0x3a8939?_0x2a5e3a[_0x10bf84(0x1ea)]-_0x322e99[_0x10bf84(0x1ea)]:_0x3a8939;}function _0x3163(){const _0x537dd6=['2440IjeGIA','clear','getIndex','left','add','548601xMZvdH','remove','from','view','8aAiqWb','getByView','629064tmKgbn','focusTracker','listenTo','_getOrderInContent','annotationcollection-not-existing-item','delete','getByInnerView','length','_focusTracker','stopListening','annotationcollection-duplicated-item','2mZEBDt','updateTargetRect','_viewToAnnotation','blur','destroy','top','targetRect','6899440umPsze','3318KnneYK','has','_innerViewToAnnotation','sort','set','5879909pvEfgj','innerView','3039HvkJZV','isFocused','fire','refreshPositioning','4249800YIlLLi','focus','change:isFocused','get','_sort','focusableElements'];_0x3163=function(){return _0x537dd6;};return _0x3163();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f103e=_0x10d0;(function(_0x11eb83,_0x5ec0b5){const _0x25c6c6=_0x10d0,_0x15eace=_0x11eb83();while(!![]){try{const _0x4783cd=-parseInt(_0x25c6c6(0x169))/0x1*(-parseInt(_0x25c6c6(0x178))/0x2)+parseInt(_0x25c6c6(0x17a))/0x3*(parseInt(_0x25c6c6(0x16d))/0x4)+parseInt(_0x25c6c6(0x165))/0x5*(parseInt(_0x25c6c6(0x154))/0x6)+-parseInt(_0x25c6c6(0x15e))/0x7+-parseInt(_0x25c6c6(0x168))/0x8+parseInt(_0x25c6c6(0x174))/0x9+-parseInt(_0x25c6c6(0x167))/0xa;if(_0x4783cd===_0x5ec0b5)break;else _0x15eace['push'](_0x15eace['shift']());}catch(_0x1006f0){_0x15eace['push'](_0x15eace['shift']());}}}(_0x1ade,0x821dc));import{ContextPlugin as _0x5ce726}from'ckeditor5/src/core.js';import _0x123410 from'./annotation.js';import _0x51dcb4 from'./annotationcollection.js';import _0x2e3ce3 from'./view/annotationview.js';function _0x10d0(_0x3e4c04,_0x56e9a3){const _0x1adeb1=_0x1ade();return _0x10d0=function(_0x10d0e3,_0x587a62){_0x10d0e3=_0x10d0e3-0x152;let _0x4d7d33=_0x1adeb1[_0x10d0e3];return _0x4d7d33;},_0x10d0(_0x3e4c04,_0x56e9a3);}export default class b extends _0x5ce726{static get[_0x3f103e(0x15d)](){const _0x41695a=_0x3f103e;return _0x41695a(0x157);}constructor(_0x559447){const _0x4037c9=_0x3f103e;super(_0x559447),this[_0x4037c9(0x163)]=new _0x51dcb4(),this[_0x4037c9(0x176)]=new _0x51dcb4(),this[_0x4037c9(0x16e)](_0x4037c9(0x16f),new Set()),this[_0x4037c9(0x17b)]();}[_0x3f103e(0x159)](_0x1e3f9c){const _0x2768da=_0x3f103e;this[_0x2768da(0x163)][_0x2768da(0x159)](_0x1e3f9c);}[_0x3f103e(0x15a)](_0x57d301){const _0x492777=_0x3f103e;this[_0x492777(0x163)][_0x492777(0x15a)](_0x57d301),_0x57d301[_0x492777(0x153)]();}[_0x3f103e(0x171)](){const _0x58ae64=_0x3f103e;for(const _0x8b8bea of this[_0x58ae64(0x163)])_0x8b8bea[_0x58ae64(0x171)]();}[_0x3f103e(0x173)](){const _0x205f03=_0x3f103e;this[_0x205f03(0x176)][_0x205f03(0x173)]();}[_0x3f103e(0x15c)](_0x228cad){const _0x112cb4=_0x3f103e;return this[_0x112cb4(0x163)][_0x112cb4(0x15c)](_0x228cad);}[_0x3f103e(0x161)](){const _0x513ad5=_0x3f103e;this[_0x513ad5(0x162)](_0x513ad5(0x15f));}[_0x3f103e(0x153)](){const _0x43eaa2=_0x3f103e;for(const _0x433f75 of this[_0x43eaa2(0x163)])_0x433f75[_0x43eaa2(0x153)]();this[_0x43eaa2(0x176)][_0x43eaa2(0x153)](),this[_0x43eaa2(0x163)][_0x43eaa2(0x153)](),super[_0x43eaa2(0x153)]();}[_0x3f103e(0x156)](_0x24de03){const _0x3807be=_0x3f103e;this[_0x3807be(0x162)](_0x3807be(0x175),_0x24de03);}[_0x3f103e(0x172)](_0x47ea4c){return new _0x123410(_0x47ea4c);}[_0x3f103e(0x155)](_0x39ae42,_0x3f4efd){return new _0x2e3ce3(_0x39ae42,_0x3f4efd);}[_0x3f103e(0x15b)](_0x200efe){const _0x5c62af=_0x3f103e,_0xfb4f3c=new Set(this[_0x5c62af(0x16f)]);_0xfb4f3c[_0x5c62af(0x159)](_0x200efe),this[_0x5c62af(0x16f)]=_0xfb4f3c;}[_0x3f103e(0x164)](_0xc0769f){const _0x3761fc=_0x3f103e,_0x11de0e=new Set(this[_0x3761fc(0x16f)]);_0x11de0e[_0x3761fc(0x16a)](_0xc0769f),this[_0x3761fc(0x16f)]=_0x11de0e;}[_0x3f103e(0x17b)](){const _0x4f0286=_0x3f103e,_0x313887=this[_0x4f0286(0x163)],_0x31faf0=this[_0x4f0286(0x176)];function _0x5bf422(_0x1de475){const _0x2b5a19=_0x4f0286,_0x32bed5=_0x1de475[_0x2b5a19(0x152)];_0x32bed5[_0x2b5a19(0x166)]&&!_0x31faf0[_0x2b5a19(0x158)](_0x32bed5)?_0x31faf0[_0x2b5a19(0x159)](_0x32bed5):!_0x32bed5[_0x2b5a19(0x166)]&&_0x31faf0[_0x2b5a19(0x158)](_0x32bed5)&&_0x31faf0[_0x2b5a19(0x15a)](_0x32bed5),_0x32bed5[_0x2b5a19(0x16c)][_0x2b5a19(0x179)][_0x2b5a19(0x15a)](_0x32bed5[_0x2b5a19(0x16c)][_0x2b5a19(0x160)]),_0x32bed5[_0x2b5a19(0x16c)][_0x2b5a19(0x179)][_0x2b5a19(0x159)](_0x32bed5[_0x2b5a19(0x16c)][_0x2b5a19(0x160)]);}this[_0x4f0286(0x16b)](_0x313887,_0x4f0286(0x159),(_0x513464,_0x4314fd)=>{const _0x533085=_0x4f0286;_0x4314fd[_0x533085(0x166)]&&_0x31faf0[_0x533085(0x159)](_0x4314fd),this[_0x533085(0x16b)](_0x4314fd,_0x533085(0x177),_0x5bf422);}),this[_0x4f0286(0x16b)](_0x313887,_0x4f0286(0x15a),(_0x398f71,_0x50bbf2)=>{const _0x451382=_0x4f0286;_0x31faf0[_0x451382(0x158)](_0x50bbf2)&&_0x31faf0[_0x451382(0x15a)](_0x50bbf2),this[_0x451382(0x170)](_0x50bbf2,_0x451382(0x177),_0x5bf422);});}}function _0x1ade(){const _0x52384b=['has','add','remove','_addActiveAnnotation','getByInnerView','pluginName','830928zKNoQY','_deactivateAllAnnotations','element','deactivateAll','fire','collection','_removeActiveAnnotation','5IJJuLP','isVisible','6640030RUEsVy','2640384OplWxH','1pyAAfG','delete','listenTo','view','313652mwLrmq','set','activeAnnotations','stopListening','refreshVisibility','createAnnotation','refreshPositioning','9583182rEtHJj','_activateAnnotation','_visibleAnnotations','change:isVisible','142162MwfvJH','focusTracker','3fnmhRf','_bindAnnotationsToVisibleAnnotations','source','destroy','2588514MrPDNd','createAnnotationView','activate','Annotations'];_0x1ade=function(){return _0x52384b;};return _0x1ade();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e2699=_0x1f71;(function(_0x568e65,_0x1e431e){const _0x92ef69=_0x1f71,_0x1972b8=_0x568e65();while(!![]){try{const _0x4de559=parseInt(_0x92ef69(0x140))/0x1+-parseInt(_0x92ef69(0x148))/0x2*(-parseInt(_0x92ef69(0x14f))/0x3)+parseInt(_0x92ef69(0x12c))/0x4+parseInt(_0x92ef69(0x12a))/0x5+-parseInt(_0x92ef69(0x150))/0x6+parseInt(_0x92ef69(0x149))/0x7+-parseInt(_0x92ef69(0x121))/0x8;if(_0x4de559===_0x1e431e)break;else _0x1972b8['push'](_0x1972b8['shift']());}catch(_0x506f34){_0x1972b8['push'](_0x1972b8['shift']());}}}(_0x1260,0xd9896));function _0x1f71(_0x4a69b4,_0x2fd5de){const _0x126053=_0x1260();return _0x1f71=function(_0x1f711d,_0x172f54){_0x1f711d=_0x1f711d-0x117;let _0x2681d4=_0x126053[_0x1f711d];return _0x2681d4;},_0x1f71(_0x4a69b4,_0x2fd5de);}function _0x1260(){const _0x79f58e=['isActive','annotationsuis-annotation-mismatch','10PGpySp','3148502uiLBDv','listenTo','refilterAnnotations','_uisData','detach','size','422439ldwpWK','10613208AkBboI','setActiveAnnotation','deactivateAll','activeAnnotations','remove','annotationsuis-register-invalid-interface','attach','delete','register','push','destroy','annotationsuis-missing-ui','14665272xymLsR','has','find','annotationsuis-register-already-registered','_activateAnnotation','context','_visibleAnnotations','type','get','4693635oDjisg','requires','4638300BGaGIX','deactivate','plugins','length','AnnotationsUIs','_addActiveAnnotation','_setSelectedAnnotations','switchTo','_removeActiveAnnotation','from','init','filter','set','_uis','change:activeAnnotation','hasActive','_assertAnnotationDoesNotBelongToMultipleUIs','pluginName','activeUIs','stopListening','1240904nsBmZW','function','add','_deactivateAllAnnotations','activate','collection'];_0x1260=function(){return _0x79f58e;};return _0x1260();}import{ContextPlugin as _0x59ad1a}from'ckeditor5/src/core.js';import{CKEditorError as _0x1ce961}from'ckeditor5/src/utils.js';import _0x1ee1b6,{bindAnnotationCollections as _0xcc56a9}from'./annotationcollection.js';import _0x36e1a2 from'./annotations.js';export default class j extends _0x59ad1a{static get[_0x2e2699(0x12b)](){return[_0x36e1a2];}static get[_0x2e2699(0x13d)](){const _0x1903e0=_0x2e2699;return _0x1903e0(0x130);}constructor(_0x590479){const _0x43f763=_0x2e2699;super(_0x590479),this[_0x43f763(0x13e)]=new Set(),this[_0x43f763(0x139)]=new Map(),this[_0x43f763(0x14c)]=new Map();}[_0x2e2699(0x136)](){const _0x401776=_0x2e2699,_0x3b3aeb=this[_0x401776(0x126)][_0x401776(0x12e)][_0x401776(0x129)](_0x36e1a2);this[_0x401776(0x14a)](_0x3b3aeb,_0x401776(0x125),(_0x27486c,_0x1d13bf)=>{const _0x3025ec=_0x401776;for(const _0x5e2969 of this[_0x3025ec(0x13e)]){const _0x491239=this[_0x3025ec(0x139)][_0x3025ec(0x129)](_0x5e2969);(0x0,this[_0x3025ec(0x14c)][_0x3025ec(0x129)](_0x5e2969)[_0x3025ec(0x137)])(_0x1d13bf)&&_0x491239[_0x3025ec(0x151)](_0x1d13bf);}}),this[_0x401776(0x14a)](_0x3b3aeb,_0x401776(0x143),()=>{const _0x83cc2e=_0x401776;for(const _0x2e37b7 of this[_0x83cc2e(0x13e)]){this[_0x83cc2e(0x139)][_0x83cc2e(0x129)](_0x2e37b7)[_0x83cc2e(0x151)](null);}}),this[_0x401776(0x14a)](_0x3b3aeb[_0x401776(0x127)],_0x401776(0x142),(_0x3e287f,_0x34eeaf)=>{const _0x55ef42=_0x401776;this[_0x55ef42(0x13c)](_0x34eeaf);});}[_0x2e2699(0x13b)](){const _0x3191b6=_0x2e2699;return this[_0x3191b6(0x13e)][_0x3191b6(0x14e)]>0x0;}[_0x2e2699(0x146)](_0x3e1d87){const _0xdbbf73=_0x2e2699;return this[_0xdbbf73(0x13e)][_0xdbbf73(0x122)](_0x3e1d87);}[_0x2e2699(0x144)](_0x5900c0,_0x414823=()=>!0x0){const _0x4b1c0d=_0x2e2699,_0x430f3f=this[_0x4b1c0d(0x126)][_0x4b1c0d(0x12e)][_0x4b1c0d(0x129)](_0x36e1a2);if(!this[_0x4b1c0d(0x139)][_0x4b1c0d(0x122)](_0x5900c0))throw new _0x1ce961(_0x4b1c0d(0x120),this,{'uiName':_0x5900c0});this[_0x4b1c0d(0x146)](_0x5900c0)&&this[_0x4b1c0d(0x12d)](_0x5900c0),this[_0x4b1c0d(0x13e)][_0x4b1c0d(0x142)](_0x5900c0);const _0x441d2e=new _0x1ee1b6(),_0x11a4c1=_0x430f3f[_0x4b1c0d(0x127)];_0xcc56a9({'source':_0x11a4c1,'target':_0x441d2e,'filter':_0x414823}),this[_0x4b1c0d(0x14c)][_0x4b1c0d(0x138)](_0x5900c0,{'collection':_0x441d2e,'filter':_0x414823});const _0x119f3b=this[_0x4b1c0d(0x139)][_0x4b1c0d(0x129)](_0x5900c0);_0x119f3b[_0x4b1c0d(0x11b)](_0x441d2e),this[_0x4b1c0d(0x14a)](_0x119f3b,_0x4b1c0d(0x13a),(_0x27f445,_0x22c46e,_0x5c7e8e,_0x59828c)=>{const _0x5d4aae=_0x4b1c0d;_0x59828c&&_0x430f3f[_0x5d4aae(0x134)](_0x59828c),_0x5c7e8e&&_0x430f3f[_0x5d4aae(0x131)](_0x5c7e8e);});}[_0x2e2699(0x12d)](_0x2dd123){const _0x4dd58c=_0x2e2699;if(this[_0x4dd58c(0x13e)][_0x4dd58c(0x11c)](_0x2dd123),!this[_0x4dd58c(0x139)][_0x4dd58c(0x122)](_0x2dd123))throw new _0x1ce961(_0x4dd58c(0x120),this,{'uiName':_0x2dd123});const _0x176d5a=this[_0x4dd58c(0x139)][_0x4dd58c(0x129)](_0x2dd123);_0x176d5a[_0x4dd58c(0x14d)](),this[_0x4dd58c(0x13f)](_0x176d5a),this[_0x4dd58c(0x14c)][_0x4dd58c(0x129)](_0x2dd123)[_0x4dd58c(0x145)][_0x4dd58c(0x11f)](),this[_0x4dd58c(0x14c)][_0x4dd58c(0x11c)](_0x2dd123);}[_0x2e2699(0x133)](_0x418d6e){const _0x23aa26=_0x2e2699;if(!this[_0x23aa26(0x139)][_0x23aa26(0x122)](_0x418d6e))throw new _0x1ce961(_0x23aa26(0x120),this,{'uiName':_0x418d6e});const _0x417504=this[_0x23aa26(0x126)][_0x23aa26(0x12e)][_0x23aa26(0x129)](_0x36e1a2),_0x1b2f00=Array[_0x23aa26(0x135)](_0x417504[_0x23aa26(0x118)])[0x0]||null;this[_0x23aa26(0x117)](),this[_0x23aa26(0x144)](_0x418d6e);const _0x1cc698=this[_0x23aa26(0x139)][_0x23aa26(0x129)](_0x418d6e);_0x1cc698[_0x23aa26(0x151)](_0x1b2f00),_0x1cc698[_0x23aa26(0x132)]&&_0x1b2f00&&_0x1cc698[_0x23aa26(0x132)]([_0x1b2f00]);}[_0x2e2699(0x117)](){const _0x589e9f=_0x2e2699;for(const _0x970598 of this[_0x589e9f(0x13e)])this[_0x589e9f(0x12d)](_0x970598);}[_0x2e2699(0x11d)](_0x5a061c,_0x182077){const _0x5b3f23=_0x2e2699;if(this[_0x5b3f23(0x139)][_0x5b3f23(0x122)](_0x5a061c))throw new _0x1ce961(_0x5b3f23(0x124));if(_0x5b3f23(0x141)!=typeof _0x182077[_0x5b3f23(0x11b)]||_0x5b3f23(0x141)!=typeof _0x182077[_0x5b3f23(0x14d)]||_0x5b3f23(0x141)!=typeof _0x182077[_0x5b3f23(0x151)])throw new _0x1ce961(_0x5b3f23(0x11a),null);this[_0x5b3f23(0x139)][_0x5b3f23(0x138)](_0x5a061c,_0x182077);}[_0x2e2699(0x14b)](){const _0x54971c=_0x2e2699,_0x3a1a47=this[_0x54971c(0x126)][_0x54971c(0x12e)][_0x54971c(0x129)](_0x36e1a2)[_0x54971c(0x145)],_0x36fc1b=new Map(),_0x4f3883=Array[_0x54971c(0x135)](this[_0x54971c(0x13e)]);for(const _0x948113 of this[_0x54971c(0x13e)]){const _0x482eb6=this[_0x54971c(0x14c)][_0x54971c(0x129)](_0x948113)[_0x54971c(0x145)];for(const _0x2da3f9 of _0x482eb6)_0x36fc1b[_0x54971c(0x138)](_0x2da3f9,_0x948113);}for(const _0x1c4482 of _0x3a1a47){const _0x11d55c=_0x36fc1b[_0x54971c(0x129)](_0x1c4482);this[_0x54971c(0x13c)](_0x1c4482);const _0x26b83a=_0x4f3883[_0x54971c(0x123)](_0x3344ed=>this[_0x54971c(0x14c)][_0x54971c(0x129)](_0x3344ed)[_0x54971c(0x137)](_0x1c4482));_0x11d55c!==_0x26b83a&&(_0x11d55c&&this[_0x54971c(0x14c)][_0x54971c(0x129)](_0x11d55c)[_0x54971c(0x145)][_0x54971c(0x119)](_0x1c4482),_0x26b83a&&this[_0x54971c(0x14c)][_0x54971c(0x129)](_0x26b83a)[_0x54971c(0x145)][_0x54971c(0x142)](_0x1c4482));}}[_0x2e2699(0x11f)](){const _0xb42062=_0x2e2699;this[_0xb42062(0x117)](),super[_0xb42062(0x11f)]();}[_0x2e2699(0x13c)](_0x4551f4){const _0x3ed015=_0x2e2699,_0x2ac421=[];for(const _0x4dd99d of this[_0x3ed015(0x13e)]){(0x0,this[_0x3ed015(0x14c)][_0x3ed015(0x129)](_0x4dd99d)[_0x3ed015(0x137)])(_0x4551f4)&&_0x2ac421[_0x3ed015(0x11e)](_0x4dd99d);}if(_0x2ac421[_0x3ed015(0x12f)]>0x1)throw new _0x1ce961(_0x3ed015(0x147),null,{'matchedUIs':_0x2ac421,'annotationType':_0x4551f4[_0x3ed015(0x128)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa9cfe3=_0x1f0f;(function(_0x587cc8,_0x132b93){const _0x4f0ec4=_0x1f0f,_0x4a11c7=_0x587cc8();while(!![]){try{const _0x56f45d=parseInt(_0x4f0ec4(0x1ae))/0x1+parseInt(_0x4f0ec4(0x1de))/0x2*(parseInt(_0x4f0ec4(0x1c2))/0x3)+parseInt(_0x4f0ec4(0x1e2))/0x4*(parseInt(_0x4f0ec4(0x1b9))/0x5)+parseInt(_0x4f0ec4(0x1c8))/0x6*(parseInt(_0x4f0ec4(0x1e0))/0x7)+-parseInt(_0x4f0ec4(0x1df))/0x8+parseInt(_0x4f0ec4(0x1dc))/0x9+parseInt(_0x4f0ec4(0x1b8))/0xa*(-parseInt(_0x4f0ec4(0x1d1))/0xb);if(_0x56f45d===_0x132b93)break;else _0x4a11c7['push'](_0x4a11c7['shift']());}catch(_0x4bc590){_0x4a11c7['push'](_0x4a11c7['shift']());}}}(_0x2eca,0x47101));import{Plugin as _0x446913}from'ckeditor5/src/core.js';import{CKEditorError as _0x51a638}from'ckeditor5/src/utils.js';function _0x1f0f(_0x5b0865,_0x1810a0){const _0x2eca65=_0x2eca();return _0x1f0f=function(_0x1f0f32,_0x332473){_0x1f0f32=_0x1f0f32-0x1a8;let _0x1f2778=_0x2eca65[_0x1f0f32];return _0x1f2778;},_0x1f0f(_0x5b0865,_0x1810a0);}function _0x2eca(){const _0x4dd6a6=['registerAnnotation','pluginName','from','innerView','hasDomSelection','editor','_editorAnnotations','3153980qLAlOf','5bsmndr','change:isFocused','getByInnerView','editorannotations-invalid-source-callback','sort','remove','annotation','addSourceCollector','isCollapsed','3DqyvXx','view','EditorAnnotations','set','delete','focusTracker','6PDfqTy','getRanges','map','directChange','refreshSelectedViews','isReadOnly','element','function','model','11bkgqTJ','document','requires','collection','cancel','get','plugins','init','listenTo','getOrderedSelectedAnnotations','blur','3547296rBuLjv','isEqual','275438gEumGI','3949184SnaSrY','402073AWejNS','uiUpdate','1172816ueocUz','push','change:range','update','refresh','has','_editorAnnotationsData','editing','containsRange','range','add','selection','217613eyLyxP','_dataCollectors','fire'];_0x2eca=function(){return _0x4dd6a6;};return _0x2eca();}import{debounce as _0x4adbc4}from'lodash-es';import _0xabb1e3 from'./annotations.js';export default class k extends _0x446913{static get[_0xa9cfe3(0x1d3)](){return[_0xabb1e3];}static get[_0xa9cfe3(0x1b2)](){const _0x3c7854=_0xa9cfe3;return _0x3c7854(0x1c4);}constructor(_0x316f01){const _0x5c5eaa=_0xa9cfe3;super(_0x316f01),this[_0x5c5eaa(0x1af)]=new Set(),this[_0x5c5eaa(0x1b7)]=new Set();}[_0xa9cfe3(0x1d8)](){const _0x12f093=_0xa9cfe3,_0x26a669=this[_0x12f093(0x1b6)],_0x3e74c9=_0x26a669[_0x12f093(0x1d0)][_0x12f093(0x1d2)][_0x12f093(0x1ad)],_0x3bb80b=_0x4adbc4(()=>this[_0x12f093(0x1cc)](),0xa);_0x3e74c9['on'](_0x12f093(0x1e4),(_0x4e4879,_0x1eeb16)=>{const _0x5bed43=_0x12f093;_0x1eeb16[_0x5bed43(0x1cb)]&&(_0x3bb80b[_0x5bed43(0x1d5)](),this[_0x5bed43(0x1cc)]());}),this[_0x12f093(0x1d9)](_0x26a669[_0x12f093(0x1a9)][_0x12f093(0x1c3)][_0x12f093(0x1d2)],_0x12f093(0x1ba),(_0xa84e12,_0x2c7fbb,_0x1049ae)=>{_0x1049ae&&_0x3bb80b();}),this[_0x12f093(0x1d9)](_0x26a669['ui'][_0x12f093(0x1c7)],_0x12f093(0x1ba),(_0x502fb7,_0x35dc13,_0x544683)=>{const _0x55d74a=_0x12f093;_0x544683||_0x26a669[_0x55d74a(0x1cd)]||this[_0x55d74a(0x1b0)](_0x55d74a(0x1db),{'isAnnotationTracked':_0x3b3bfa=>this[_0x55d74a(0x1a8)][_0x55d74a(0x1e7)](_0x3b3bfa[_0x55d74a(0x1b4)])});}),this[_0x12f093(0x1d9)](this[_0x12f093(0x1b6)]['ui'],_0x12f093(0x1e5),()=>this[_0x12f093(0x1b0)](_0x12f093(0x1e1)));}[_0xa9cfe3(0x1b1)](_0x427df4){const _0x9cc840=_0xa9cfe3;if(this[_0x9cc840(0x1b7)][_0x9cc840(0x1e7)](_0x427df4[_0x9cc840(0x1c3)]))return;this[_0x9cc840(0x1b7)][_0x9cc840(0x1ac)](_0x427df4[_0x9cc840(0x1c3)]),this[_0x9cc840(0x1b6)]['ui'][_0x9cc840(0x1c7)][_0x9cc840(0x1ac)](_0x427df4[_0x9cc840(0x1c3)][_0x9cc840(0x1ce)]);const _0x381d05=this[_0x9cc840(0x1b6)][_0x9cc840(0x1d7)][_0x9cc840(0x1d6)](_0xabb1e3);this[_0x9cc840(0x1d9)](_0x381d05[_0x9cc840(0x1d4)],_0x9cc840(0x1be),(_0x26fe6f,_0x82cf33)=>{const _0x3ed200=_0x9cc840;this[_0x3ed200(0x1b6)]['ui'][_0x3ed200(0x1c7)][_0x3ed200(0x1be)](_0x82cf33[_0x3ed200(0x1c3)][_0x3ed200(0x1ce)]),this[_0x3ed200(0x1b7)][_0x3ed200(0x1c6)](_0x82cf33[_0x3ed200(0x1c3)]);});}[_0xa9cfe3(0x1b5)](){const _0x4b24ee=_0xa9cfe3;return this[_0x4b24ee(0x1b6)][_0x4b24ee(0x1a9)][_0x4b24ee(0x1c3)][_0x4b24ee(0x1b5)];}[_0xa9cfe3(0x1c0)](_0x4ebc9f){const _0x249b59=_0xa9cfe3;if(_0x249b59(0x1cf)!=typeof _0x4ebc9f)throw new _0x51a638(_0x249b59(0x1bc));this[_0x249b59(0x1af)][_0x249b59(0x1ac)](_0x4ebc9f);}[_0xa9cfe3(0x1cc)](){const _0x19a4ee=_0xa9cfe3;this[_0x19a4ee(0x1b0)](_0x19a4ee(0x1e6));}[_0xa9cfe3(0x1da)]({activeAnnotation:_0x2d7d90,annotations:_0x35918f}){const _0x5399f9=_0xa9cfe3,_0x23327f=[],_0x51f79e=this[_0x5399f9(0x1b6)][_0x5399f9(0x1d0)][_0x5399f9(0x1d2)][_0x5399f9(0x1ad)],_0x20b9ec=Array[_0x5399f9(0x1b3)](_0x51f79e[_0x5399f9(0x1c9)]());for(const [_0x4484ef,_0x5944b6]of this[_0x5399f9(0x1a8)]){const _0x3774b9=_0x426e44(_0x5944b6),_0x457ccd=_0x35918f[_0x5399f9(0x1bb)](_0x4484ef);_0x3774b9&&_0x457ccd&&_0x23327f[_0x5399f9(0x1e3)]({'annotation':_0x457ccd,'range':_0x3774b9});}function _0x426e44(_0x5ef4d9){const _0x28b7fb=_0x5399f9;for(const _0x2dca25 of _0x5ef4d9)for(const _0x54d015 of _0x20b9ec)if(_0x2dca25[_0x28b7fb(0x1aa)](_0x54d015,!_0x51f79e[_0x28b7fb(0x1c1)]))return _0x2dca25;return null;}return _0x23327f[_0x5399f9(0x1bd)]((_0x3d8d9f,_0x500f99)=>{const _0x281f6e=_0x5399f9,_0x24ff25=_0x3d8d9f[_0x281f6e(0x1ab)],_0xf5ca9=_0x500f99[_0x281f6e(0x1ab)];if(!_0x24ff25[_0x281f6e(0x1dd)](_0xf5ca9)){if(_0x24ff25[_0x281f6e(0x1aa)](_0xf5ca9,!0x0))return 0x1;if(_0xf5ca9[_0x281f6e(0x1aa)](_0x24ff25,!0x0))return-0x1;}return _0x3d8d9f[_0x281f6e(0x1bf)]==_0x2d7d90?-0x1:_0x500f99[_0x281f6e(0x1bf)]==_0x2d7d90?0x1:0x0;})[_0x5399f9(0x1ca)](_0x3d2e2f=>_0x3d2e2f[_0x5399f9(0x1bf)]);}get[_0xa9cfe3(0x1a8)](){const _0x258f1f=_0xa9cfe3,_0x544cd1=new Map();for(const _0x3ca627 of Array[_0x258f1f(0x1b3)](this[_0x258f1f(0x1af)]))for(const [_0x274f2f,_0x12eba5]of _0x3ca627())_0x544cd1[_0x258f1f(0x1c5)](_0x274f2f,_0x12eba5);return _0x544cd1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x179c13=_0x1401;(function(_0x38e2a3,_0x3799f3){const _0x92093d=_0x1401,_0x18f105=_0x38e2a3();while(!![]){try{const _0x4e54e9=-parseInt(_0x92093d(0x163))/0x1+-parseInt(_0x92093d(0x13f))/0x2+parseInt(_0x92093d(0x146))/0x3+parseInt(_0x92093d(0x169))/0x4*(-parseInt(_0x92093d(0x131))/0x5)+-parseInt(_0x92093d(0x11f))/0x6*(parseInt(_0x92093d(0x13a))/0x7)+-parseInt(_0x92093d(0x14a))/0x8*(-parseInt(_0x92093d(0x15e))/0x9)+-parseInt(_0x92093d(0x14b))/0xa*(-parseInt(_0x92093d(0x15d))/0xb);if(_0x4e54e9===_0x3799f3)break;else _0x18f105['push'](_0x18f105['shift']());}catch(_0x3456cb){_0x18f105['push'](_0x18f105['shift']());}}}(_0x2209,0x8a22e));import{Plugin as _0x2ac520}from'ckeditor5/src/core.js';import _0x4b095e from'./annotationsuis.js';import _0x4712c7 from'./editorannotations.js';function _0x2209(){const _0x4f9cee=['inline','hasActive','showStack','destroy','includes','clear','init','bottom','102aNACRF','plugins','top','focus','editableElement','document','_manuallyClosed','domConverter','mousedown','get','from','editor','fromRect','attach','refresh','_removeAnnotationFromBalloon','view','getOrderedSelectedAnnotations','620yMXdhY','inlineannotations-attach-already-attached','width','inlineannotations-detach-not-attached','update','_getBalloonTargetForAnnotation','isActive','isAttached','hasView','38423WpPHSk','selection','register','detach','focusTracker','1423426jWLTIA','stopListening','every','switchTo','_selectedAnnotations','listenTo','push','320454vyJeGJ','set','_addAnnotationToBalloon','_forceRefresh','584sqeZyE','20nktbEF','annotations','has','change:height','delete','setActiveAnnotation','InlineAnnotations','change:isFocused','right','Esc','collapse','find','visibleView','_addedAnnotations','add','_closeAnnotation','remove','getFirstRange','12981958RBJdPg','11646vyuBrt','targetRect','context','_balloon','length','748620PmxANY','addObserver','getByView','viewRangeToDom','activeAnnotation','updatePosition','14264HQKiwO','keystrokes','target','editing','left','map','afterInit','pluginName','_setSelectedAnnotations','change:visibleView','inlineannotations-not-allowed-with-context','isFocused','getClientRects','blur','getBoundingClientRect','requires'];_0x2209=function(){return _0x4f9cee;};return _0x2209();}import{ContextualBalloon as _0x2f2df4}from'ckeditor5/src/ui.js';import{MouseObserver as _0x3d5897}from'ckeditor5/src/engine.js';import{CKEditorError as _0xe8e049,Rect as _0x585d8a}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x2ac520{static get[_0x179c13(0x116)](){return[_0x4712c7,_0x2f2df4,_0x4b095e];}static get[_0x179c13(0x10e)](){const _0x158466=_0x179c13;return _0x158466(0x151);}constructor(_0x5d8ea7){const _0x514ce9=_0x179c13;super(_0x5d8ea7),_0x5d8ea7[_0x514ce9(0x16c)][_0x514ce9(0x12f)][_0x514ce9(0x164)](_0x3d5897),this[_0x514ce9(0x138)]=!0x1,this[_0x514ce9(0x147)](_0x514ce9(0x167),null),this[_0x514ce9(0x14c)]=null,this[_0x514ce9(0x125)]=new Set(),this[_0x514ce9(0x161)]=_0x5d8ea7[_0x514ce9(0x120)][_0x514ce9(0x128)](_0x2f2df4),this[_0x514ce9(0x158)]=new Set(),this[_0x514ce9(0x143)]=[],this[_0x514ce9(0x149)]=!0x1;}[_0x179c13(0x11d)](){const _0x2e599e=_0x179c13,_0x2eb4f9=this[_0x2e599e(0x12a)][_0x2e599e(0x120)][_0x2e599e(0x128)](_0x4b095e);_0x2eb4f9[_0x2e599e(0x160)]===this[_0x2e599e(0x12a)]&&(_0x2eb4f9[_0x2e599e(0x13c)](_0x2e599e(0x117),this),this[_0x2e599e(0x12a)][_0x2e599e(0x16a)][_0x2e599e(0x147)](_0x2e599e(0x154),(_0x393304,_0x4afcfb)=>{const _0x418899=_0x2e599e,_0x971bf7=this[_0x418899(0x161)];if(this[_0x418899(0x138)]&&_0x971bf7[_0x418899(0x157)]){const _0x41353e=this[_0x418899(0x14c)][_0x418899(0x165)](_0x971bf7[_0x418899(0x157)]);_0x41353e&&this[_0x418899(0x15a)](_0x41353e),_0x4afcfb();}}));}[_0x179c13(0x10d)](){const _0x1b135f=_0x179c13,_0x1300e3=this[_0x1b135f(0x12a)][_0x1b135f(0x120)][_0x1b135f(0x128)](_0x4b095e);_0x1300e3[_0x1b135f(0x160)]===this[_0x1b135f(0x12a)]&&(_0x1300e3[_0x1b135f(0x118)]()||_0x1300e3[_0x1b135f(0x142)](_0x1b135f(0x117)));}[_0x179c13(0x150)](_0x16304c){const _0x5add16=_0x179c13;_0x16304c!==this[_0x5add16(0x167)]&&(this[_0x5add16(0x167)]&&(this[_0x5add16(0x167)][_0x5add16(0x137)]=!0x1),_0x16304c&&this[_0x5add16(0x12a)]['ui'][_0x5add16(0x13e)][_0x5add16(0x112)]&&(this[_0x5add16(0x14c)][_0x5add16(0x14d)](_0x16304c)&&this[_0x5add16(0x148)](_0x16304c,!0x0),_0x16304c[_0x5add16(0x137)]=!0x0),_0x16304c||this[_0x5add16(0x10f)]([]),this[_0x5add16(0x167)]=_0x16304c);}[_0x179c13(0x12c)](_0xebd3de){const _0xf10d82=_0x179c13;this[_0xf10d82(0x14c)]=_0xebd3de;const _0x2b5dfe=this[_0xf10d82(0x12a)][_0xf10d82(0x120)][_0xf10d82(0x128)](_0x4b095e),_0x1492b3=this[_0xf10d82(0x161)];if(this[_0xf10d82(0x138)])throw new _0xe8e049(_0xf10d82(0x132),this);if(_0x2b5dfe[_0xf10d82(0x160)]!==this[_0xf10d82(0x12a)])throw new _0xe8e049(_0xf10d82(0x111),this);const _0x4932ae=this[_0xf10d82(0x12a)][_0xf10d82(0x120)][_0xf10d82(0x128)](_0x4712c7);this[_0xf10d82(0x144)](_0x4932ae,_0xf10d82(0x12d),()=>{const _0xd10541=_0xf10d82,_0x5e5ff8=_0x4932ae[_0xd10541(0x130)]({'annotations':this[_0xd10541(0x14c)],'activeAnnotation':this[_0xd10541(0x167)]});var _0x5aeb82,_0x5cd0a7;!this[_0xd10541(0x149)]&&(_0x5aeb82=_0x5e5ff8,_0x5cd0a7=this[_0xd10541(0x143)],_0x5aeb82[_0xd10541(0x162)]===_0x5cd0a7[_0xd10541(0x162)]&&_0x5aeb82[_0xd10541(0x141)](_0x7f1d5d=>_0x5cd0a7[_0xd10541(0x11b)](_0x7f1d5d)))||(this[_0xd10541(0x149)]=!0x1,this[_0xd10541(0x10f)](_0x5e5ff8),this[_0xd10541(0x150)](_0x5e5ff8[0x0]||null));}),this[_0xf10d82(0x144)](_0x4932ae,_0xf10d82(0x114),(_0x1f7b76,{isAnnotationTracked:_0x23bc99})=>{const _0x42b769=_0xf10d82;this[_0x42b769(0x167)]&&_0x23bc99(this[_0x42b769(0x167)])&&(this[_0x42b769(0x10f)]([]),this[_0x42b769(0x150)](null));}),this[_0xf10d82(0x144)](this[_0xf10d82(0x12a)]['ui'][_0xf10d82(0x13e)],_0xf10d82(0x152),(_0x5effa3,_0x2402ba,_0x10a200)=>{const _0x577658=_0xf10d82;_0x10a200||this[_0x577658(0x150)](null);}),this[_0xf10d82(0x144)](_0xebd3de,_0xf10d82(0x15b),(_0x4f17ab,_0x85d480)=>{const _0x31be13=_0xf10d82;this[_0x31be13(0x12e)](_0x85d480),_0x85d480===this[_0x31be13(0x167)]&&this[_0x31be13(0x150)](null);}),this[_0xf10d82(0x144)](_0x1492b3,_0xf10d82(0x110),(_0xbd4f5d,_0x715f15,_0x54d715,_0xec8dd5)=>{const _0x380554=_0xf10d82;_0xec8dd5&&this[_0x380554(0x140)](_0xec8dd5);const _0x368592=_0xebd3de[_0x380554(0x165)](_0x54d715);_0x54d715&&_0x368592&&(this[_0x380554(0x144)](_0x54d715,_0x380554(0x14e),()=>{const _0x1c2d60=_0x380554;_0x1492b3[_0x1c2d60(0x168)]();}),this[_0x380554(0x144)](_0x54d715,_0x380554(0x154),()=>{const _0x24a4e7=_0x380554;this[_0x24a4e7(0x15a)](_0x368592),this[_0x24a4e7(0x12a)][_0x24a4e7(0x16c)][_0x24a4e7(0x12f)][_0x24a4e7(0x122)]();}),this[_0x380554(0x167)]!==_0x368592&&this[_0x380554(0x150)](_0x368592));}),this[_0xf10d82(0x144)](this[_0xf10d82(0x12a)]['ui'],_0xf10d82(0x135),()=>{const _0x5a0236=_0xf10d82;_0x1492b3[_0x5a0236(0x157)]&&(_0xebd3de[_0x5a0236(0x165)](_0x1492b3[_0x5a0236(0x157)])&&_0x1492b3[_0x5a0236(0x168)]());}),this[_0xf10d82(0x144)](this[_0xf10d82(0x12a)][_0xf10d82(0x16c)][_0xf10d82(0x12f)][_0xf10d82(0x124)],_0xf10d82(0x127),()=>{const _0x4c4219=_0xf10d82;this[_0x4c4219(0x149)]=!0x0,this[_0x4c4219(0x125)][_0x4c4219(0x11c)]();}),this[_0xf10d82(0x12a)][_0xf10d82(0x16c)][_0xf10d82(0x12f)][_0xf10d82(0x124)][_0xf10d82(0x13b)][_0xf10d82(0x123)]&&this[_0xf10d82(0x12a)][_0xf10d82(0x16c)][_0xf10d82(0x12f)][_0xf10d82(0x122)](),this[_0xf10d82(0x138)]=!0x0;}[_0x179c13(0x13d)](){const _0x3e2ea4=_0x179c13;if(!this[_0x3e2ea4(0x138)])throw new _0xe8e049(_0x3e2ea4(0x134),this);this[_0x3e2ea4(0x150)](null);for(const _0x3dd44d of this[_0x3e2ea4(0x158)])this[_0x3e2ea4(0x12e)](_0x3dd44d);this[_0x3e2ea4(0x140)](),this[_0x3e2ea4(0x138)]=!0x1,this[_0x3e2ea4(0x14c)]=null;}[_0x179c13(0x11a)](){const _0x523666=_0x179c13;this[_0x523666(0x138)]&&this[_0x523666(0x13d)]();}[_0x179c13(0x10f)](_0x57511c){const _0x55b4a6=_0x179c13;for(const _0x4d0f20 of this[_0x55b4a6(0x143)])_0x57511c[_0x55b4a6(0x11b)](_0x4d0f20)||this[_0x55b4a6(0x125)][_0x55b4a6(0x14f)](_0x4d0f20);for(const _0x306f63 of this[_0x55b4a6(0x14c)])_0x57511c[_0x55b4a6(0x11b)](_0x306f63)||this[_0x55b4a6(0x12e)](_0x306f63);if(this[_0x55b4a6(0x12a)]['ui'][_0x55b4a6(0x13e)][_0x55b4a6(0x112)]){for(const _0x47171a of _0x57511c)this[_0x55b4a6(0x148)](_0x47171a);}this[_0x55b4a6(0x143)]=_0x57511c;}[_0x179c13(0x148)](_0x28a6b9,_0x348cb6=!0x1){const _0x1c8c71=_0x179c13;this[_0x1c8c71(0x125)][_0x1c8c71(0x14d)](_0x28a6b9)||(this[_0x1c8c71(0x158)][_0x1c8c71(0x14d)](_0x28a6b9)||this[_0x1c8c71(0x161)][_0x1c8c71(0x139)](_0x28a6b9[_0x1c8c71(0x12f)])||(this[_0x1c8c71(0x158)][_0x1c8c71(0x159)](_0x28a6b9),this[_0x1c8c71(0x161)][_0x1c8c71(0x159)]({'stackId':_0x28a6b9[_0x1c8c71(0x12f)]['id'],'view':_0x28a6b9[_0x1c8c71(0x12f)],'position':{'target':()=>this[_0x1c8c71(0x136)](_0x28a6b9)}})),_0x348cb6&&this[_0x1c8c71(0x161)][_0x1c8c71(0x119)](_0x28a6b9[_0x1c8c71(0x12f)]['id']));}[_0x179c13(0x136)](_0x520302){const _0x2308fc=_0x179c13,_0x469b45=_0x520302[_0x2308fc(0x16b)],_0x3ffe1d=this[_0x2308fc(0x12a)][_0x2308fc(0x16c)][_0x2308fc(0x12f)],_0x3aff1f=_0x3ffe1d[_0x2308fc(0x124)][_0x2308fc(0x13b)][_0x2308fc(0x15c)](),_0x13e9b6=_0x3ffe1d[_0x2308fc(0x126)][_0x2308fc(0x166)](_0x3aff1f);if(_0x13e9b6[_0x2308fc(0x155)](!0x0),_0x469b45){if(_0x469b45 instanceof _0x585d8a)return _0x469b45;let _0x4f56d5=[];for(const _0x2fe4dd of _0x469b45)_0x4f56d5[_0x2308fc(0x145)](...(_0xfbaae0=_0x2fe4dd[_0x2308fc(0x113)](),Array[_0x2308fc(0x129)](_0xfbaae0)[_0x2308fc(0x10c)](DOMRect[_0x2308fc(0x12b)])));_0x4f56d5=function(_0xb2ea0){const _0x321c8f=_0x2308fc,_0x4f61f7=[];let _0xc9cd96=_0xb2ea0[0x0];for(let _0x1d2768=0x1;_0x1d2768<_0xb2ea0[_0x321c8f(0x162)];_0x1d2768++)F(_0xc9cd96,_0xb2ea0[_0x1d2768])?_0xc9cd96[_0x321c8f(0x133)]+=_0xb2ea0[_0x1d2768][_0x321c8f(0x133)]:(_0x4f61f7[_0x321c8f(0x145)](_0xc9cd96),_0xc9cd96=_0xb2ea0[_0x1d2768]);return _0x4f61f7[_0x321c8f(0x145)](_0xc9cd96),_0x4f61f7;}(_0x4f56d5);const _0x89b329=_0x13e9b6[_0x2308fc(0x115)]();return _0x4f56d5[_0x2308fc(0x156)](_0x13095c=>_0x13095c[_0x2308fc(0x121)]<=_0x89b329[_0x2308fc(0x121)]&&_0x13095c[_0x2308fc(0x11e)]>=_0x89b329[_0x2308fc(0x11e)]&&_0x13095c[_0x2308fc(0x10b)]<=_0x89b329[_0x2308fc(0x10b)]&&_0x13095c[_0x2308fc(0x153)]>=_0x89b329[_0x2308fc(0x153)])||_0x4f56d5[0x0];}var _0xfbaae0;return _0x520302[_0x2308fc(0x15f)]||_0x13e9b6;}[_0x179c13(0x12e)](_0x39280b){const _0x4bc52a=_0x179c13;this[_0x4bc52a(0x158)][_0x4bc52a(0x14d)](_0x39280b)&&this[_0x4bc52a(0x161)][_0x4bc52a(0x139)](_0x39280b[_0x4bc52a(0x12f)])&&(this[_0x4bc52a(0x158)][_0x4bc52a(0x14f)](_0x39280b),this[_0x4bc52a(0x161)][_0x4bc52a(0x15b)](_0x39280b[_0x4bc52a(0x12f)]));}[_0x179c13(0x15a)](_0x4dd5e7){const _0x1d0f66=_0x179c13;this[_0x1d0f66(0x125)][_0x1d0f66(0x159)](_0x4dd5e7),this[_0x1d0f66(0x12e)](_0x4dd5e7);}}function _0x1401(_0x336813,_0x4c223f){const _0x22091e=_0x2209();return _0x1401=function(_0x140198,_0x31bc57){_0x140198=_0x140198-0x10b;let _0x303634=_0x22091e[_0x140198];return _0x303634;},_0x1401(_0x336813,_0x4c223f);}function F(_0x1eb2cd,_0x27e1f3){const _0x5d2356=_0x179c13;return _0x1eb2cd[_0x5d2356(0x121)]===_0x27e1f3[_0x5d2356(0x121)]&&_0x1eb2cd[_0x5d2356(0x11e)]===_0x27e1f3[_0x5d2356(0x11e)]&&_0x1eb2cd[_0x5d2356(0x153)]===_0x27e1f3[_0x5d2356(0x10b)];}
|
|
23
|
+
const _0x1a9e0a=_0x3a48;function _0x109b(){const _0x2ceab2=['context','Esc','getOrderedSelectedAnnotations','131809qtEEzs','switchTo','selection','register','has','includes','mousedown','set','6GepCZx','attach','visibleView','addObserver','domConverter','editor','keystrokes','update','showStack','_balloon','from','16748tPXvjB','setActiveAnnotation','blur','5280djJQBG','8ZPXibq','plugins','getFirstRange','hasActive','_selectedAnnotations','_addedAnnotations','inline','view','change:visibleView','add','_forceRefresh','135bcubMg','inlineannotations-attach-already-attached','inlineannotations-not-allowed-with-context','left','init','isFocused','_getBalloonTargetForAnnotation','document','_manuallyClosed','_removeAnnotationFromBalloon','collapse','map','listenTo','_addAnnotationToBalloon','focus','182AAxcUT','right','512652wyyKaL','target','editableElement','remove','pluginName','width','327929RmNtpU','viewRangeToDom','_setSelectedAnnotations','getBoundingClientRect','annotations','isActive','inlineannotations-detach-not-attached','focusTracker','stopListening','detach','isAttached','getByView','delete','push','find','getClientRects','clear','fromRect','refresh','afterInit','top','1473525baoGeM','updatePosition','3696EDhPas','activeAnnotation','change:isFocused','every','InlineAnnotations','2gBlAEJ','_closeAnnotation','hasView','length','targetRect','change:height','1913645TPNITz','get','requires','bottom','editing','destroy'];_0x109b=function(){return _0x2ceab2;};return _0x109b();}(function(_0x3008fa,_0x339292){const _0x274f07=_0x3a48,_0x56a88b=_0x3008fa();while(!![]){try{const _0x4c4620=-parseInt(_0x274f07(0x172))/0x1*(parseInt(_0x274f07(0x163))/0x2)+-parseInt(_0x274f07(0x130))/0x3*(-parseInt(_0x274f07(0x185))/0x4)+-parseInt(_0x274f07(0x169))/0x5+-parseInt(_0x274f07(0x17a))/0x6*(parseInt(_0x274f07(0x147))/0x7)+parseInt(_0x274f07(0x189))/0x8*(parseInt(_0x274f07(0x15c))/0x9)+-parseInt(_0x274f07(0x188))/0xa*(parseInt(_0x274f07(0x15e))/0xb)+parseInt(_0x274f07(0x141))/0xc*(parseInt(_0x274f07(0x13f))/0xd);if(_0x4c4620===_0x339292)break;else _0x56a88b['push'](_0x56a88b['shift']());}catch(_0x2d3678){_0x56a88b['push'](_0x56a88b['shift']());}}}(_0x109b,0x339f1));import{Plugin as _0x262e09}from'ckeditor5/src/core.js';import _0x46f33e from'./annotationsuis.js';function _0x3a48(_0x5ae2e3,_0x31ab0f){const _0x109bc2=_0x109b();return _0x3a48=function(_0x3a48e9,_0x491b2f){_0x3a48e9=_0x3a48e9-0x12b;let _0x4ad036=_0x109bc2[_0x3a48e9];return _0x4ad036;},_0x3a48(_0x5ae2e3,_0x31ab0f);}import _0xb6bfda from'./editorannotations.js';import{ContextualBalloon as _0x3d82a4}from'ckeditor5/src/ui.js';import{MouseObserver as _0x5d01b7}from'ckeditor5/src/engine.js';import{CKEditorError as _0x40c08f,Rect as _0x12897b}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x262e09{static get[_0x1a9e0a(0x16b)](){return[_0xb6bfda,_0x3d82a4,_0x46f33e];}static get[_0x1a9e0a(0x145)](){const _0x19485f=_0x1a9e0a;return _0x19485f(0x162);}constructor(_0x42a8e4){const _0x1fef60=_0x1a9e0a;super(_0x42a8e4),_0x42a8e4[_0x1fef60(0x16d)][_0x1fef60(0x12c)][_0x1fef60(0x17d)](_0x5d01b7),this[_0x1fef60(0x151)]=!0x1,this[_0x1fef60(0x179)](_0x1fef60(0x15f),null),this[_0x1fef60(0x14b)]=null,this[_0x1fef60(0x138)]=new Set(),this[_0x1fef60(0x183)]=_0x42a8e4[_0x1fef60(0x18a)][_0x1fef60(0x16a)](_0x3d82a4),this[_0x1fef60(0x18e)]=new Set(),this[_0x1fef60(0x18d)]=[],this[_0x1fef60(0x12f)]=!0x1;}[_0x1a9e0a(0x134)](){const _0x1c93c5=_0x1a9e0a,_0x13c7c0=this[_0x1c93c5(0x17f)][_0x1c93c5(0x18a)][_0x1c93c5(0x16a)](_0x46f33e);_0x13c7c0[_0x1c93c5(0x16f)]===this[_0x1c93c5(0x17f)]&&(_0x13c7c0[_0x1c93c5(0x175)](_0x1c93c5(0x12b),this),this[_0x1c93c5(0x17f)][_0x1c93c5(0x180)][_0x1c93c5(0x179)](_0x1c93c5(0x170),(_0x1b70d1,_0x1c67a1)=>{const _0x481a41=_0x1c93c5,_0x18c0fe=this[_0x481a41(0x183)];if(this[_0x481a41(0x151)]&&_0x18c0fe[_0x481a41(0x17c)]){const _0x292829=this[_0x481a41(0x14b)][_0x481a41(0x152)](_0x18c0fe[_0x481a41(0x17c)]);_0x292829&&this[_0x481a41(0x164)](_0x292829),_0x1c67a1();}}));}[_0x1a9e0a(0x15a)](){const _0x31daca=_0x1a9e0a,_0x3e80bd=this[_0x31daca(0x17f)][_0x31daca(0x18a)][_0x31daca(0x16a)](_0x46f33e);_0x3e80bd[_0x31daca(0x16f)]===this[_0x31daca(0x17f)]&&(_0x3e80bd[_0x31daca(0x18c)]()||_0x3e80bd[_0x31daca(0x173)](_0x31daca(0x12b)));}[_0x1a9e0a(0x186)](_0x45a233){const _0x33098c=_0x1a9e0a;_0x45a233!==this[_0x33098c(0x15f)]&&(this[_0x33098c(0x15f)]&&(this[_0x33098c(0x15f)][_0x33098c(0x14c)]=!0x1),_0x45a233&&this[_0x33098c(0x17f)]['ui'][_0x33098c(0x14e)][_0x33098c(0x135)]&&(this[_0x33098c(0x14b)][_0x33098c(0x176)](_0x45a233)&&this[_0x33098c(0x13d)](_0x45a233,!0x0),_0x45a233[_0x33098c(0x14c)]=!0x0),_0x45a233||this[_0x33098c(0x149)]([]),this[_0x33098c(0x15f)]=_0x45a233);}[_0x1a9e0a(0x17b)](_0x38ecb1){const _0x226bbe=_0x1a9e0a;this[_0x226bbe(0x14b)]=_0x38ecb1;const _0x173428=this[_0x226bbe(0x17f)][_0x226bbe(0x18a)][_0x226bbe(0x16a)](_0x46f33e),_0x573429=this[_0x226bbe(0x183)];if(this[_0x226bbe(0x151)])throw new _0x40c08f(_0x226bbe(0x131),this);if(_0x173428[_0x226bbe(0x16f)]!==this[_0x226bbe(0x17f)])throw new _0x40c08f(_0x226bbe(0x132),this);const _0x361ee4=this[_0x226bbe(0x17f)][_0x226bbe(0x18a)][_0x226bbe(0x16a)](_0xb6bfda);this[_0x226bbe(0x13c)](_0x361ee4,_0x226bbe(0x159),()=>{const _0x19bdd6=_0x226bbe,_0x265856=_0x361ee4[_0x19bdd6(0x171)]({'annotations':this[_0x19bdd6(0x14b)],'activeAnnotation':this[_0x19bdd6(0x15f)]});var _0x970655,_0x4ff36f;!this[_0x19bdd6(0x12f)]&&(_0x970655=_0x265856,_0x4ff36f=this[_0x19bdd6(0x18d)],_0x970655[_0x19bdd6(0x166)]===_0x4ff36f[_0x19bdd6(0x166)]&&_0x970655[_0x19bdd6(0x161)](_0x1d0833=>_0x4ff36f[_0x19bdd6(0x177)](_0x1d0833)))||(this[_0x19bdd6(0x12f)]=!0x1,this[_0x19bdd6(0x149)](_0x265856),this[_0x19bdd6(0x186)](_0x265856[0x0]||null));}),this[_0x226bbe(0x13c)](_0x361ee4,_0x226bbe(0x187),(_0x5a9a7b,{isAnnotationTracked:_0x1431bc})=>{const _0x16d3e3=_0x226bbe;this[_0x16d3e3(0x15f)]&&_0x1431bc(this[_0x16d3e3(0x15f)])&&(this[_0x16d3e3(0x149)]([]),this[_0x16d3e3(0x186)](null));}),this[_0x226bbe(0x13c)](this[_0x226bbe(0x17f)]['ui'][_0x226bbe(0x14e)],_0x226bbe(0x160),(_0xbf91d5,_0x17f100,_0x5359a0)=>{const _0x4df08b=_0x226bbe;_0x5359a0||this[_0x4df08b(0x186)](null);}),this[_0x226bbe(0x13c)](_0x38ecb1,_0x226bbe(0x144),(_0x2f3348,_0x3260c5)=>{const _0x384384=_0x226bbe;this[_0x384384(0x139)](_0x3260c5),_0x3260c5===this[_0x384384(0x15f)]&&this[_0x384384(0x186)](null);}),this[_0x226bbe(0x13c)](_0x573429,_0x226bbe(0x12d),(_0x9d6255,_0x2cb2ef,_0xef459a,_0x5c2353)=>{const _0x3d27d2=_0x226bbe;_0x5c2353&&this[_0x3d27d2(0x14f)](_0x5c2353);const _0x24f21f=_0x38ecb1[_0x3d27d2(0x152)](_0xef459a);_0xef459a&&_0x24f21f&&(this[_0x3d27d2(0x13c)](_0xef459a,_0x3d27d2(0x168),()=>{const _0x56d896=_0x3d27d2;_0x573429[_0x56d896(0x15d)]();}),this[_0x3d27d2(0x13c)](_0xef459a,_0x3d27d2(0x170),()=>{const _0xb8be66=_0x3d27d2;this[_0xb8be66(0x164)](_0x24f21f),this[_0xb8be66(0x17f)][_0xb8be66(0x16d)][_0xb8be66(0x12c)][_0xb8be66(0x13e)]();}),this[_0x3d27d2(0x15f)]!==_0x24f21f&&this[_0x3d27d2(0x186)](_0x24f21f));}),this[_0x226bbe(0x13c)](this[_0x226bbe(0x17f)]['ui'],_0x226bbe(0x181),()=>{const _0x2845a1=_0x226bbe;_0x573429[_0x2845a1(0x17c)]&&(_0x38ecb1[_0x2845a1(0x152)](_0x573429[_0x2845a1(0x17c)])&&_0x573429[_0x2845a1(0x15d)]());}),this[_0x226bbe(0x13c)](this[_0x226bbe(0x17f)][_0x226bbe(0x16d)][_0x226bbe(0x12c)][_0x226bbe(0x137)],_0x226bbe(0x178),()=>{const _0x5cdee8=_0x226bbe;this[_0x5cdee8(0x12f)]=!0x0,this[_0x5cdee8(0x138)][_0x5cdee8(0x157)]();}),this[_0x226bbe(0x17f)][_0x226bbe(0x16d)][_0x226bbe(0x12c)][_0x226bbe(0x137)][_0x226bbe(0x174)][_0x226bbe(0x143)]&&this[_0x226bbe(0x17f)][_0x226bbe(0x16d)][_0x226bbe(0x12c)][_0x226bbe(0x13e)](),this[_0x226bbe(0x151)]=!0x0;}[_0x1a9e0a(0x150)](){const _0x5bb2eb=_0x1a9e0a;if(!this[_0x5bb2eb(0x151)])throw new _0x40c08f(_0x5bb2eb(0x14d),this);this[_0x5bb2eb(0x186)](null);for(const _0xab7bad of this[_0x5bb2eb(0x18e)])this[_0x5bb2eb(0x139)](_0xab7bad);this[_0x5bb2eb(0x14f)](),this[_0x5bb2eb(0x151)]=!0x1,this[_0x5bb2eb(0x14b)]=null;}[_0x1a9e0a(0x16e)](){const _0x148e1d=_0x1a9e0a;this[_0x148e1d(0x151)]&&this[_0x148e1d(0x150)]();}[_0x1a9e0a(0x149)](_0x156a6d){const _0x1cfa3e=_0x1a9e0a;for(const _0x35bf8e of this[_0x1cfa3e(0x18d)])_0x156a6d[_0x1cfa3e(0x177)](_0x35bf8e)||this[_0x1cfa3e(0x138)][_0x1cfa3e(0x153)](_0x35bf8e);for(const _0x158cf5 of this[_0x1cfa3e(0x14b)])_0x156a6d[_0x1cfa3e(0x177)](_0x158cf5)||this[_0x1cfa3e(0x139)](_0x158cf5);if(this[_0x1cfa3e(0x17f)]['ui'][_0x1cfa3e(0x14e)][_0x1cfa3e(0x135)]){for(const _0x3a715d of _0x156a6d)this[_0x1cfa3e(0x13d)](_0x3a715d);}this[_0x1cfa3e(0x18d)]=_0x156a6d;}[_0x1a9e0a(0x13d)](_0x175008,_0x444d13=!0x1){const _0x538ffa=_0x1a9e0a;this[_0x538ffa(0x138)][_0x538ffa(0x176)](_0x175008)||(this[_0x538ffa(0x18e)][_0x538ffa(0x176)](_0x175008)||this[_0x538ffa(0x183)][_0x538ffa(0x165)](_0x175008[_0x538ffa(0x12c)])||(this[_0x538ffa(0x18e)][_0x538ffa(0x12e)](_0x175008),this[_0x538ffa(0x183)][_0x538ffa(0x12e)]({'stackId':_0x175008[_0x538ffa(0x12c)]['id'],'view':_0x175008[_0x538ffa(0x12c)],'position':{'target':()=>this[_0x538ffa(0x136)](_0x175008)}})),_0x444d13&&this[_0x538ffa(0x183)][_0x538ffa(0x182)](_0x175008[_0x538ffa(0x12c)]['id']));}[_0x1a9e0a(0x136)](_0x529521){const _0x497ad7=_0x1a9e0a,_0x2a3437=_0x529521[_0x497ad7(0x142)],_0xdc101c=this[_0x497ad7(0x17f)][_0x497ad7(0x16d)][_0x497ad7(0x12c)],_0x3d60ac=_0xdc101c[_0x497ad7(0x137)][_0x497ad7(0x174)][_0x497ad7(0x18b)](),_0x4184e5=_0xdc101c[_0x497ad7(0x17e)][_0x497ad7(0x148)](_0x3d60ac);if(_0x4184e5[_0x497ad7(0x13a)](!0x0),_0x2a3437){if(_0x2a3437 instanceof _0x12897b)return _0x2a3437;let _0x5e4a6c=[];for(const _0x4ad78c of _0x2a3437)_0x5e4a6c[_0x497ad7(0x154)](...(_0x1be976=_0x4ad78c[_0x497ad7(0x156)](),Array[_0x497ad7(0x184)](_0x1be976)[_0x497ad7(0x13b)](DOMRect[_0x497ad7(0x158)])));_0x5e4a6c=function(_0x864baa){const _0x33bcb4=_0x497ad7,_0x26d5c7=[];let _0x26770=_0x864baa[0x0];for(let _0x4ce854=0x1;_0x4ce854<_0x864baa[_0x33bcb4(0x166)];_0x4ce854++)F(_0x26770,_0x864baa[_0x4ce854])?_0x26770[_0x33bcb4(0x146)]+=_0x864baa[_0x4ce854][_0x33bcb4(0x146)]:(_0x26d5c7[_0x33bcb4(0x154)](_0x26770),_0x26770=_0x864baa[_0x4ce854]);return _0x26d5c7[_0x33bcb4(0x154)](_0x26770),_0x26d5c7;}(_0x5e4a6c);const _0x131ce6=_0x4184e5[_0x497ad7(0x14a)]();return _0x5e4a6c[_0x497ad7(0x155)](_0x3d9d0a=>_0x3d9d0a[_0x497ad7(0x15b)]<=_0x131ce6[_0x497ad7(0x15b)]&&_0x3d9d0a[_0x497ad7(0x16c)]>=_0x131ce6[_0x497ad7(0x16c)]&&_0x3d9d0a[_0x497ad7(0x133)]<=_0x131ce6[_0x497ad7(0x133)]&&_0x3d9d0a[_0x497ad7(0x140)]>=_0x131ce6[_0x497ad7(0x140)])||_0x5e4a6c[0x0];}var _0x1be976;return _0x529521[_0x497ad7(0x167)]||_0x4184e5;}[_0x1a9e0a(0x139)](_0x27b92d){const _0x248e52=_0x1a9e0a;this[_0x248e52(0x18e)][_0x248e52(0x176)](_0x27b92d)&&this[_0x248e52(0x183)][_0x248e52(0x165)](_0x27b92d[_0x248e52(0x12c)])&&(this[_0x248e52(0x18e)][_0x248e52(0x153)](_0x27b92d),this[_0x248e52(0x183)][_0x248e52(0x144)](_0x27b92d[_0x248e52(0x12c)]));}[_0x1a9e0a(0x164)](_0x472988){const _0x187215=_0x1a9e0a;this[_0x187215(0x138)][_0x187215(0x12e)](_0x472988),this[_0x187215(0x139)](_0x472988);}}function F(_0x8ac67b,_0x3a03bd){const _0x26fb93=_0x1a9e0a;return _0x8ac67b[_0x26fb93(0x15b)]===_0x3a03bd[_0x26fb93(0x15b)]&&_0x8ac67b[_0x26fb93(0x16c)]===_0x3a03bd[_0x26fb93(0x16c)]&&_0x8ac67b[_0x26fb93(0x140)]===_0x3a03bd[_0x26fb93(0x133)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x45a5(){const _0x178e65=['locale','number','attachToDom','_annotations','annotationType','_setSelectedAnnotations','remove','init','unpin','northArrowSouth','removeEventListener','2frwoHf','element','detach','set:container','keydown','northArrowSouthEast','ck-sidebar--narrow','_attachListeners','length','getSidebarItemView','esc','southArrowNorthEast','ready','annotations','focus','_showBalloon','_detachListeners','5666505XQIWEs','first','clear','_destroyEditorAnnotationsIntegration','1295455eIafuu','_refreshPositioning','preventClosingBalloon','activeAnnotation','_updateBalloonPosition','getByView','southArrowNorth','keyCode','destroy','bodyCollection','create','NarrowSidebar','stop','attach','find','1126787bQhEho','refreshPositioning','pin','bind','mousedown','uiUpdate','_annotationToNarrowView','view','defaultPositions','refresh','delete','_editorAnnotations','balloonPanelView','context','contains','get','southArrowNorthWest','narrowSidebar','listenTo','narrowsidebar-attach-already-attached','4350704jdqrMD','northArrowSouthWest','content','focusableElements','addEventListener','blur','_refreshPositioningDebounced','_manuallyClosedAnnotationViews','values','execute','isDirty','_attachToContainer','change:height','set','rearrange','492oHiCQi','target','high','detachFromDom','editors','addAnnotation','preventDefault','requires','Esc','_domEmitter','add','pluginName','change:container','stopPropagation','low','hasDomSelection','setActiveAnnotation','type','stopListening','register','16887tGUDsl','12589848LvCSch','from','cancel','includes','plugins','resize','narrowsidebar-detach-not-attached','getOrderedSelectedAnnotations','EditorAnnotations','off','_hideBalloon','_selectedAnnotations','has','_integrateWithEditorAnnotations','isVisible','_detachFromContainer','4516056hDIVVi','isAttached'];_0x45a5=function(){return _0x178e65;};return _0x45a5();}const _0xcb7310=_0x61b9;(function(_0x64768b,_0x4349ba){const _0x2ae857=_0x61b9,_0x2c8085=_0x64768b();while(!![]){try{const _0x1a0db2=-parseInt(_0x2ae857(0xf9))/0x1*(parseInt(_0x2ae857(0xd5))/0x2)+-parseInt(_0x2ae857(0x130))/0x3*(parseInt(_0x2ae857(0x11c))/0x4)+parseInt(_0x2ae857(0xe6))/0x5+parseInt(_0x2ae857(0xc8))/0x6+-parseInt(_0x2ae857(0xea))/0x7+-parseInt(_0x2ae857(0x10d))/0x8+parseInt(_0x2ae857(0x131))/0x9;if(_0x1a0db2===_0x4349ba)break;else _0x2c8085['push'](_0x2c8085['shift']());}catch(_0x94fef6){_0x2c8085['push'](_0x2c8085['shift']());}}}(_0x45a5,0xb3e18));import{ContextPlugin as _0x1e2862,Context as _0x537cb7}from'ckeditor5/src/core.js';import _0x38e1ae from'./annotationsuis.js';function _0x61b9(_0x43957a,_0x1d7240){const _0x45a559=_0x45a5();return _0x61b9=function(_0x61b924,_0x105265){_0x61b924=_0x61b924-0xbb;let _0x147ffd=_0x45a559[_0x61b924];return _0x147ffd;},_0x61b9(_0x43957a,_0x1d7240);}import _0x16d8a9 from'./sidebar.js';import _0x19b910 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x52ac2d,BodyCollection as _0x5bb692}from'ckeditor5/src/ui.js';import{CKEditorError as _0x1bb467,DomEmitterMixin as _0x12a6cf,keyCodes as _0x371a57,Collection as _0x115ad4}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x50ad69}from'lodash-es';import _0x28a406 from'./editorannotations.js';export default class i extends _0x1e2862{static get[_0xcb7310(0x123)](){return[_0x16d8a9,_0x38e1ae];}static get[_0xcb7310(0x127)](){const _0x160b62=_0xcb7310;return _0x160b62(0xf5);}constructor(_0x110476){const _0x5272c3=_0xcb7310;super(_0x110476),this[_0x5272c3(0xc9)]=!0x1,this[_0x5272c3(0x114)]=new Set(),this[_0x5272c3(0x125)]=Object[_0x5272c3(0xf4)](_0x12a6cf),this[_0x5272c3(0xff)]=new Map(),this[_0x5272c3(0x11a)](_0x5272c3(0xed),null),this[_0x5272c3(0xe2)]=null,this[_0x5272c3(0xc3)]=[],this[_0x5272c3(0x104)]=new _0x115ad4(),this[_0x5272c3(0x113)]=_0x50ad69(()=>{const _0x3aa881=_0x5272c3;this[_0x3aa881(0xeb)]();},0xfa,{'leading':!0x1});}[_0xcb7310(0xd1)](){const _0x1c65d7=_0xcb7310;this[_0x1c65d7(0x106)][_0x1c65d7(0xbc)][_0x1c65d7(0x108)](_0x38e1ae)[_0x1c65d7(0x12f)](_0x1c65d7(0x10a),this),this[_0x1c65d7(0xf3)]=new _0x5bb692(this[_0x1c65d7(0x106)][_0x1c65d7(0xca)]),this[_0x1c65d7(0x105)]=new _0x52ac2d(this[_0x1c65d7(0x106)][_0x1c65d7(0xca)]),this[_0x1c65d7(0xf3)][_0x1c65d7(0xcc)](),this[_0x1c65d7(0xf3)][_0x1c65d7(0x126)](this[_0x1c65d7(0x105)]);}[_0xcb7310(0xf7)](_0x31aaf5){const _0x56b55a=_0xcb7310;this[_0x56b55a(0xe2)]=_0x31aaf5;const _0x2ee411=this[_0x56b55a(0x106)][_0x56b55a(0xbc)][_0x56b55a(0x108)](_0x16d8a9),_0x54ee04=this[_0x56b55a(0x105)];if(_0x2ee411[_0x56b55a(0xcd)]=_0x31aaf5,this[_0x56b55a(0xc9)])throw new _0x1bb467(_0x56b55a(0x10c),this);this[_0x56b55a(0xc9)]=!0x0,this[_0x56b55a(0x10b)](_0x2ee411,_0x56b55a(0xd8),()=>{const _0x5990bc=_0x56b55a;this[_0x5990bc(0xd7)](),this[_0x5990bc(0x10b)](_0x2ee411,_0x5990bc(0x128),_0x2d0365=>{const _0x57a309=_0x5990bc;_0x2d0365[_0x57a309(0xc1)](),this[_0x57a309(0xf7)](_0x31aaf5);});}),_0x2ee411[_0x56b55a(0x118)]({'viewClass':_0x56b55a(0xdb),'spaceBetweenItems':0x5});const _0x1b116d=_0x4686a1=>{const _0x4c047f=_0x56b55a,_0x5b2b98=new _0x19b910(this[_0x4c047f(0x106)][_0x4c047f(0xca)]);_0x2ee411[_0x4c047f(0x121)](_0x4686a1,_0x5b2b98),this[_0x4c047f(0xff)][_0x4c047f(0x11a)](_0x4686a1,_0x5b2b98),_0x5b2b98[_0x4c047f(0xfc)](_0x4c047f(0x117),_0x4c047f(0xce),_0x4c047f(0xcb))['to'](_0x4686a1[_0x4c047f(0x100)],_0x4c047f(0x117),_0x4c047f(0x12d),_0x4c047f(0xdd)),_0x5b2b98['on'](_0x4c047f(0x116),()=>{const _0xc79f2a=_0x4c047f;this[_0xc79f2a(0x114)][_0xc79f2a(0xe8)](),_0x54ee04[_0xc79f2a(0x10f)][_0xc79f2a(0xe7)]!==_0x4686a1[_0xc79f2a(0x100)]?(this[_0xc79f2a(0xe4)](_0x4686a1),_0x4686a1[_0xc79f2a(0x100)][_0xc79f2a(0xd6)][_0xc79f2a(0xe3)](),this[_0xc79f2a(0x12c)](_0x4686a1)):this[_0xc79f2a(0x12c)](null);});};for(const _0x249633 of _0x31aaf5)_0x1b116d(_0x249633);this[_0x56b55a(0x10b)](_0x31aaf5,_0x56b55a(0x126),(_0x2600fa,_0x3557e8)=>{_0x1b116d(_0x3557e8);}),this[_0x56b55a(0x10b)](_0x31aaf5,_0x56b55a(0xd0),(_0x1de882,_0x193639,_0xa0167a)=>{const _0x3bd1f8=_0x56b55a;this[_0x3bd1f8(0xff)][_0x3bd1f8(0x108)](_0x193639)[_0x3bd1f8(0xf2)](),this[_0x3bd1f8(0xff)][_0x3bd1f8(0x103)](_0x193639),_0x2ee411[_0x3bd1f8(0x11b)]({'removedAnnotation':_0x193639,'previousAnnotation':_0x31aaf5[_0x3bd1f8(0x108)](_0xa0167a-0x1),'nextAnnotation':_0x31aaf5[_0x3bd1f8(0x108)](_0xa0167a+0x1)}),_0x193639===this[_0x3bd1f8(0xed)]&&this[_0x3bd1f8(0x12c)](null);},{'priority':_0x56b55a(0x12a)}),this[_0x56b55a(0x10b)](_0x31aaf5,_0x56b55a(0xe3),(_0x293c12,_0x218616)=>{const _0x5e30d0=_0x56b55a;this[_0x5e30d0(0x12c)](_0x218616);}),this[_0x56b55a(0x10b)](_0x31aaf5,_0x56b55a(0x112),()=>{const _0x2ca07a=_0x56b55a;this[_0x2ca07a(0x12c)](null);}),this[_0x56b55a(0x125)][_0x56b55a(0x10b)](document,_0x56b55a(0xd9),(_0x24854f,_0x3426b7)=>{const _0x201a2f=_0x56b55a;_0x3426b7[_0x201a2f(0xf1)]===_0x371a57[_0x201a2f(0xdf)]&&_0x54ee04[_0x201a2f(0xc6)]&&(this[_0x201a2f(0x114)][_0x201a2f(0x126)](_0x54ee04[_0x201a2f(0x10f)][_0x201a2f(0xe7)]),this[_0x201a2f(0xc2)](),_0x3426b7[_0x201a2f(0x129)](),_0x3426b7[_0x201a2f(0x122)]());}),this[_0x56b55a(0x125)][_0x56b55a(0x10b)](document,_0x56b55a(0xfd),(_0x172678,_0x3f7a14)=>{const _0x3e4271=_0x56b55a,_0x455fdc=_0x3f7a14[_0x3e4271(0x11d)];_0x54ee04[_0x3e4271(0xc6)]&&_0x54ee04[_0x3e4271(0xd6)][_0x3e4271(0x107)](_0x455fdc)||_0x2ee411[_0x3e4271(0x100)][_0x3e4271(0xd6)][_0x3e4271(0x107)](_0x455fdc)||_0x172678[_0x3e4271(0xec)]||this[_0x3e4271(0xed)]&&this[_0x3e4271(0xed)][_0x3e4271(0x110)][_0x3e4271(0xf8)](_0x3a137c=>_0x3a137c[_0x3e4271(0x107)](_0x455fdc))||(this[_0x3e4271(0x114)][_0x3e4271(0xe8)](),this[_0x3e4271(0xc2)](),this[_0x3e4271(0x12c)](null));});const _0x16a810=this[_0x56b55a(0x106)]instanceof _0x537cb7?this[_0x56b55a(0x106)][_0x56b55a(0x120)]:new _0x115ad4([this[_0x56b55a(0x106)]]);for(const _0xf9b244 of _0x16a810)this[_0x56b55a(0xc5)](_0xf9b244);this[_0x56b55a(0x10b)](_0x16a810,_0x56b55a(0x126),(_0x1efee8,_0x3a7971)=>{const _0x160c5d=_0x56b55a;this[_0x160c5d(0x10b)](_0x3a7971,_0x160c5d(0xe1),()=>{const _0x444352=_0x160c5d;this[_0x444352(0xc5)](_0x3a7971);});}),this[_0x56b55a(0x10b)](_0x16a810,_0x56b55a(0xd0),(_0x558305,_0x100e28)=>{const _0x26439c=_0x56b55a;_0x100e28[_0x26439c(0xbc)][_0x26439c(0xc4)](_0x26439c(0xc0))&&this[_0x26439c(0xe9)](_0x100e28[_0x26439c(0xbc)][_0x26439c(0x108)](_0x26439c(0xc0)));}),window[_0x56b55a(0x111)](_0x56b55a(0xbd),this[_0x56b55a(0x113)]),this[_0x56b55a(0xeb)]();}[_0xcb7310(0x12c)](_0x2eb03a){const _0x16fe8d=_0xcb7310;if(_0x2eb03a===this[_0x16fe8d(0xed)])return;const _0x24813e=this[_0x16fe8d(0x106)][_0x16fe8d(0xbc)][_0x16fe8d(0x108)](_0x16d8a9);if(_0x24813e[_0x16fe8d(0x102)]({'blurredAnnotation':this[_0x16fe8d(0xed)],'activatedAnnotation':_0x2eb03a,'disableAnimationOnActivatedAnnotation':!0x0}),_0x2eb03a)_0x24813e[_0x16fe8d(0xde)](_0x2eb03a)?this[_0x16fe8d(0xe4)](_0x2eb03a):this[_0x16fe8d(0xc2)]();else this[_0x16fe8d(0xc2)]();this[_0x16fe8d(0xed)]=_0x2eb03a;}[_0xcb7310(0xd7)](){const _0x3c45c1=_0xcb7310;if(!this[_0x3c45c1(0xc9)])throw new _0x1bb467(_0x3c45c1(0xbe),this);this[_0x3c45c1(0x12c)](null);const _0x216005=this[_0x3c45c1(0x106)][_0x3c45c1(0xbc)][_0x3c45c1(0x108)](_0x16d8a9);this[_0x3c45c1(0xc2)](),Array[_0x3c45c1(0x132)](this[_0x3c45c1(0xff)][_0x3c45c1(0x115)](),_0x593569=>_0x593569[_0x3c45c1(0xf2)]()),this[_0x3c45c1(0xff)][_0x3c45c1(0xe8)](),_0x216005[_0x3c45c1(0xc7)](this[_0x3c45c1(0xe2)]),this[_0x3c45c1(0x12e)](),this[_0x3c45c1(0x125)][_0x3c45c1(0x12e)](),this[_0x3c45c1(0x106)]instanceof _0x537cb7&&this[_0x3c45c1(0x12e)](this[_0x3c45c1(0x106)][_0x3c45c1(0x120)]);for(const _0x2129a4 of Array[_0x3c45c1(0x132)](this[_0x3c45c1(0x104)]))this[_0x3c45c1(0xe9)](_0x2129a4);window[_0x3c45c1(0xd4)](_0x3c45c1(0xbd),this[_0x3c45c1(0x113)]),this[_0x3c45c1(0x113)][_0x3c45c1(0x133)](),this[_0x3c45c1(0xc3)]=[],this[_0x3c45c1(0xc9)]=!0x1,this[_0x3c45c1(0xe2)]=null;}[_0xcb7310(0xf2)](){const _0x57e07f=_0xcb7310;this[_0x57e07f(0xc9)]&&this[_0x57e07f(0xd7)](),this[_0x57e07f(0xf3)][_0x57e07f(0x11f)]();}[_0xcb7310(0xc5)](_0x1a4d2f){const _0xcdbbf1=_0xcb7310,_0x44ec9f=_0x1a4d2f[_0xcdbbf1(0xbc)][_0xcdbbf1(0x108)](_0x28a406),_0x162a4e=this[_0xcdbbf1(0x106)][_0xcdbbf1(0xbc)][_0xcdbbf1(0x108)](_0x16d8a9),_0x19d73c=this[_0xcdbbf1(0xe2)],_0x25ee40=this[_0xcdbbf1(0x105)],_0x84fabb=()=>{const _0xd945a7=_0xcdbbf1,_0x16dde2=_0x44ec9f[_0xd945a7(0xbf)]({'annotations':this[_0xd945a7(0xe2)],'activeAnnotation':this[_0xd945a7(0xed)]});this[_0xd945a7(0xcf)](_0x16dde2),this[_0xd945a7(0x12c)](_0x16dde2[0x0]||null);};this[_0xcdbbf1(0x10b)](_0x44ec9f,_0xcdbbf1(0x102),_0x84fabb),this[_0xcdbbf1(0x10b)](_0x44ec9f,_0xcdbbf1(0x112),(_0x399638,{isAnnotationTracked:_0x13df8c})=>{const _0xe39d5e=_0xcdbbf1;this[_0xe39d5e(0xed)]&&_0x13df8c(this[_0xe39d5e(0xed)])&&(this[_0xe39d5e(0xcf)]([]),this[_0xe39d5e(0x12c)](null));}),this[_0xcdbbf1(0x10b)](_0x44ec9f,_0xcdbbf1(0xfe),()=>{const _0xdf7ce2=_0xcdbbf1;this[_0xdf7ce2(0x113)]();}),this[_0xcdbbf1(0x10b)](_0x19d73c,_0xcdbbf1(0x112),_0x406817=>{const _0x1d37bc=_0xcdbbf1;_0x44ec9f[_0x1d37bc(0x12b)]()&&_0x406817[_0x1d37bc(0xf6)]();},{'priority':_0xcdbbf1(0x11e)}),this[_0xcdbbf1(0x10b)](this[_0xcdbbf1(0x125)],_0xcdbbf1(0xfd),(_0x30c0f4,_0x4938f1)=>{const _0x5e23a5=_0xcdbbf1,_0x1a34bb=_0x4938f1[_0x5e23a5(0x11d)];_0x25ee40[_0x5e23a5(0xc6)]&&_0x25ee40[_0x5e23a5(0xd6)][_0x5e23a5(0x107)](_0x1a34bb)||_0x162a4e[_0x5e23a5(0x100)][_0x5e23a5(0xd6)][_0x5e23a5(0x107)](_0x1a34bb)||this[_0x5e23a5(0xed)]&&_0x44ec9f[_0x5e23a5(0x12b)]()&&(_0x84fabb(),_0x30c0f4[_0x5e23a5(0xec)]=!0x0);},{'priority':_0xcdbbf1(0x11e)}),this[_0xcdbbf1(0x104)][_0xcdbbf1(0x126)](_0x44ec9f);}[_0xcb7310(0xe9)](_0x212fef){const _0xf132e2=_0xcb7310;_0x212fef&&(this[_0xf132e2(0x12e)](_0x212fef),this[_0xf132e2(0x104)][_0xf132e2(0xd0)](_0x212fef));}[_0xcb7310(0xcf)](_0x1a6304){const _0x51a6ee=_0xcb7310;for(const _0x20b5a5 of this[_0x51a6ee(0xc3)])_0x1a6304[_0x51a6ee(0xbb)](_0x20b5a5)||this[_0x51a6ee(0x114)][_0x51a6ee(0x103)](_0x20b5a5[_0x51a6ee(0x100)]);this[_0x51a6ee(0xc3)]=_0x1a6304;}[_0xcb7310(0xeb)](){const _0x2f63f9=_0xcb7310,_0x6f14b5=this[_0x2f63f9(0x105)];this[_0x2f63f9(0xe2)][_0x2f63f9(0xfa)](),_0x6f14b5[_0x2f63f9(0xc6)]&&this[_0x2f63f9(0xee)]();}[_0xcb7310(0xe4)](_0x462453){const _0xb356be=_0xcb7310;if(this[_0xb356be(0x114)][_0xb356be(0xc4)](_0x462453[_0xb356be(0x100)]))return;const _0x4706fb=this[_0xb356be(0x105)][_0xb356be(0x10f)][_0xb356be(0xe7)];_0x4706fb!==_0x462453[_0xb356be(0x100)]?(_0x4706fb&&this[_0xb356be(0xe5)](_0x4706fb),this[_0xb356be(0xdc)](_0x462453[_0xb356be(0x100)]),this[_0xb356be(0x105)][_0xb356be(0x10f)][_0xb356be(0xe8)](),this[_0xb356be(0x105)][_0xb356be(0x10f)][_0xb356be(0x126)](_0x462453[_0xb356be(0x100)]),this[_0xb356be(0xee)]()):this[_0xb356be(0xee)]();}[_0xcb7310(0xee)](){const _0x201ebc=_0xcb7310,_0x5bd6bd=this[_0x201ebc(0x105)][_0x201ebc(0x10f)][_0x201ebc(0xe7)],_0x3c77b7=_0x5bd6bd&&this[_0x201ebc(0xe2)][_0x201ebc(0xef)](_0x5bd6bd);if(!_0x3c77b7||!this[_0x201ebc(0xff)][_0x201ebc(0xc4)](_0x3c77b7))return;const _0x451954=this[_0x201ebc(0xff)][_0x201ebc(0x108)](_0x3c77b7)[_0x201ebc(0xd6)],_0x4d6ded=(function(){const _0x34275c=_0x201ebc,_0x3aa446=_0x52ac2d[_0x34275c(0x101)];return[_0x3aa446[_0x34275c(0xe0)],_0x3aa446[_0x34275c(0xda)],_0x3aa446[_0x34275c(0xf0)],_0x3aa446[_0x34275c(0xd3)],_0x3aa446[_0x34275c(0x109)],_0x3aa446[_0x34275c(0x10e)]];}());this[_0x201ebc(0x105)][_0x201ebc(0xfb)]({'target':_0x451954,'positions':_0x4d6ded});}[_0xcb7310(0xc2)](){const _0x422a4e=_0xcb7310,_0xd78e09=this[_0x422a4e(0x105)],_0x256106=_0xd78e09[_0x422a4e(0x10f)][_0x422a4e(0xe7)];_0x256106&&(this[_0x422a4e(0xe5)](_0x256106),_0xd78e09[_0x422a4e(0xd2)](),_0xd78e09[_0x422a4e(0x10f)][_0x422a4e(0xe8)]());}[_0xcb7310(0xdc)](_0x4705fe){const _0x266a74=_0xcb7310;this[_0x266a74(0x10b)](_0x4705fe,_0x266a74(0x119),()=>this[_0x266a74(0xee)]()),this[_0x266a74(0x10b)](_0x4705fe,_0x266a74(0x124),(_0x2cffde,_0x1684f1)=>{const _0x509eb6=_0x266a74;this[_0x509eb6(0x114)][_0x509eb6(0x126)](_0x4705fe),this[_0x509eb6(0xc2)](),_0x1684f1();});}[_0xcb7310(0xe5)](_0x339a30){const _0x19ef0a=_0xcb7310;this[_0x19ef0a(0x12e)](_0x339a30);}}
|
|
23
|
+
const _0x142f51=_0x22e1;(function(_0x459bfd,_0x3b66cf){const _0x359641=_0x22e1,_0x36d12e=_0x459bfd();while(!![]){try{const _0x5287a3=-parseInt(_0x359641(0x17a))/0x1*(-parseInt(_0x359641(0x13b))/0x2)+parseInt(_0x359641(0x193))/0x3+-parseInt(_0x359641(0x157))/0x4+-parseInt(_0x359641(0x178))/0x5+-parseInt(_0x359641(0x18e))/0x6+parseInt(_0x359641(0x15e))/0x7*(-parseInt(_0x359641(0x19b))/0x8)+parseInt(_0x359641(0x16c))/0x9;if(_0x5287a3===_0x3b66cf)break;else _0x36d12e['push'](_0x36d12e['shift']());}catch(_0x1fe5ad){_0x36d12e['push'](_0x36d12e['shift']());}}}(_0x4d5a,0x6de94));function _0x22e1(_0x38ea72,_0x138ebe){const _0x4d5ac8=_0x4d5a();return _0x22e1=function(_0x22e109,_0x272f7f){_0x22e109=_0x22e109-0x127;let _0x3583fc=_0x4d5ac8[_0x22e109];return _0x3583fc;},_0x22e1(_0x38ea72,_0x138ebe);}import{ContextPlugin as _0x4a849e,Context as _0x1fdf9f}from'ckeditor5/src/core.js';function _0x4d5a(){const _0x42a74b=['preventDefault','balloonPanelView','_annotationToNarrowView','getByView','222UHomDI','high','target','first','_domEmitter','resize','blur','has','mousedown','context','addEventListener','addAnnotation','_annotations','keydown','_manuallyClosedAnnotationViews','_destroyEditorAnnotationsIntegration','getOrderedSelectedAnnotations','NarrowSidebar','bind','view','annotationType','narrowSidebar','preventClosingBalloon','destroy','number','requires','keyCode','defaultPositions','1960148yNpflz','_refreshPositioningDebounced','annotations','activeAnnotation','removeEventListener','find','_editorAnnotations','3542sTkwIw','getSidebarItemView','get','listenTo','southArrowNorth','bodyCollection','isAttached','stopPropagation','southArrowNorthWest','ready','detachFromDom','isVisible','southArrowNorthEast','stop','10507041FtRcaU','clear','pin','_attachToContainer','refresh','add','locale','from','_setSelectedAnnotations','includes','attachToDom','northArrowSouthEast','1662895eedXPU','_attachListeners','6203sBiHAL','_showBalloon','EditorAnnotations','delete','hasDomSelection','ck-sidebar--narrow','plugins','_detachListeners','_hideBalloon','attach','content','editors','northArrowSouth','refreshPositioning','detach','rearrange','focus','northArrowSouthWest','init','stopListening','2367678WDHYzm','register','setActiveAnnotation','values','Esc','2086275CGYymx','_integrateWithEditorAnnotations','narrowsidebar-attach-already-attached','esc','contains','change:container','set:container','_selectedAnnotations','13976bZJfbm','cancel','type','uiUpdate','unpin','focusableElements','narrowsidebar-detach-not-attached','_refreshPositioning','_detachFromContainer','change:height','set','length','pluginName','_updateBalloonPosition','isDirty','element','low','remove','off','create','execute'];_0x4d5a=function(){return _0x42a74b;};return _0x4d5a();}import _0x47f9f3 from'./annotationsuis.js';import _0x2260df from'./sidebar.js';import _0x2f2d1d from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x306e06,BodyCollection as _0x9024f}from'ckeditor5/src/ui.js';import{CKEditorError as _0x36de4b,DomEmitterMixin as _0xe89c30,keyCodes as _0x57aadd,Collection as _0x5599e2}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x37dba3}from'lodash-es';import _0x1093de from'./editorannotations.js';export default class i extends _0x4a849e{static get[_0x142f51(0x154)](){return[_0x2260df,_0x47f9f3];}static get[_0x142f51(0x12e)](){const _0x1e8e6b=_0x142f51;return _0x1e8e6b(0x14c);}constructor(_0x4c0029){const _0x10c274=_0x142f51;super(_0x4c0029),this[_0x10c274(0x164)]=!0x1,this[_0x10c274(0x149)]=new Set(),this[_0x10c274(0x13f)]=Object[_0x10c274(0x135)](_0xe89c30),this[_0x10c274(0x139)]=new Map(),this[_0x10c274(0x12c)](_0x10c274(0x15a),null),this[_0x10c274(0x159)]=null,this[_0x10c274(0x19a)]=[],this[_0x10c274(0x15d)]=new _0x5599e2(),this[_0x10c274(0x158)]=_0x37dba3(()=>{const _0x443aa1=_0x10c274;this[_0x443aa1(0x129)]();},0xfa,{'leading':!0x1});}[_0x142f51(0x18c)](){const _0x363ed0=_0x142f51;this[_0x363ed0(0x144)][_0x363ed0(0x180)][_0x363ed0(0x160)](_0x47f9f3)[_0x363ed0(0x18f)](_0x363ed0(0x150),this),this[_0x363ed0(0x163)]=new _0x9024f(this[_0x363ed0(0x144)][_0x363ed0(0x172)]),this[_0x363ed0(0x138)]=new _0x306e06(this[_0x363ed0(0x144)][_0x363ed0(0x172)]),this[_0x363ed0(0x163)][_0x363ed0(0x176)](),this[_0x363ed0(0x163)][_0x363ed0(0x171)](this[_0x363ed0(0x138)]);}[_0x142f51(0x183)](_0x480c67){const _0x1d8d73=_0x142f51;this[_0x1d8d73(0x159)]=_0x480c67;const _0x30c1fe=this[_0x1d8d73(0x144)][_0x1d8d73(0x180)][_0x1d8d73(0x160)](_0x2260df),_0xcc21c2=this[_0x1d8d73(0x138)];if(_0x30c1fe[_0x1d8d73(0x147)]=_0x480c67,this[_0x1d8d73(0x164)])throw new _0x36de4b(_0x1d8d73(0x195),this);this[_0x1d8d73(0x164)]=!0x0,this[_0x1d8d73(0x161)](_0x30c1fe,_0x1d8d73(0x199),()=>{const _0xeedfe5=_0x1d8d73;this[_0xeedfe5(0x188)](),this[_0xeedfe5(0x161)](_0x30c1fe,_0xeedfe5(0x198),_0x3f2fae=>{const _0x3827d4=_0xeedfe5;_0x3f2fae[_0x3827d4(0x134)](),this[_0x3827d4(0x183)](_0x480c67);});}),_0x30c1fe[_0x1d8d73(0x16f)]({'viewClass':_0x1d8d73(0x17f),'spaceBetweenItems':0x5});const _0x4b051d=_0x705f56=>{const _0x51b3da=_0x1d8d73,_0x3a0fe3=new _0x2f2d1d(this[_0x51b3da(0x144)][_0x51b3da(0x172)]);_0x30c1fe[_0x51b3da(0x146)](_0x705f56,_0x3a0fe3),this[_0x51b3da(0x139)][_0x51b3da(0x12c)](_0x705f56,_0x3a0fe3),_0x3a0fe3[_0x51b3da(0x14d)](_0x51b3da(0x130),_0x51b3da(0x14f),_0x51b3da(0x153))['to'](_0x705f56[_0x51b3da(0x14e)],_0x51b3da(0x130),_0x51b3da(0x19d),_0x51b3da(0x12d)),_0x3a0fe3['on'](_0x51b3da(0x136),()=>{const _0x5a416b=_0x51b3da;this[_0x5a416b(0x149)][_0x5a416b(0x16d)](),_0xcc21c2[_0x5a416b(0x184)][_0x5a416b(0x13e)]!==_0x705f56[_0x5a416b(0x14e)]?(this[_0x5a416b(0x17b)](_0x705f56),_0x705f56[_0x5a416b(0x14e)][_0x5a416b(0x131)][_0x5a416b(0x18a)](),this[_0x5a416b(0x190)](_0x705f56)):this[_0x5a416b(0x190)](null);});};for(const _0x5cfe85 of _0x480c67)_0x4b051d(_0x5cfe85);this[_0x1d8d73(0x161)](_0x480c67,_0x1d8d73(0x171),(_0x4411b3,_0x55b1ff)=>{_0x4b051d(_0x55b1ff);}),this[_0x1d8d73(0x161)](_0x480c67,_0x1d8d73(0x133),(_0x14d49f,_0x543b1c,_0x4193ed)=>{const _0x576ae9=_0x1d8d73;this[_0x576ae9(0x139)][_0x576ae9(0x160)](_0x543b1c)[_0x576ae9(0x152)](),this[_0x576ae9(0x139)][_0x576ae9(0x17d)](_0x543b1c),_0x30c1fe[_0x576ae9(0x189)]({'removedAnnotation':_0x543b1c,'previousAnnotation':_0x480c67[_0x576ae9(0x160)](_0x4193ed-0x1),'nextAnnotation':_0x480c67[_0x576ae9(0x160)](_0x4193ed+0x1)}),_0x543b1c===this[_0x576ae9(0x15a)]&&this[_0x576ae9(0x190)](null);},{'priority':_0x1d8d73(0x132)}),this[_0x1d8d73(0x161)](_0x480c67,_0x1d8d73(0x18a),(_0x48b2c0,_0x1c084c)=>{const _0xcc2401=_0x1d8d73;this[_0xcc2401(0x190)](_0x1c084c);}),this[_0x1d8d73(0x161)](_0x480c67,_0x1d8d73(0x141),()=>{const _0x4dd416=_0x1d8d73;this[_0x4dd416(0x190)](null);}),this[_0x1d8d73(0x13f)][_0x1d8d73(0x161)](document,_0x1d8d73(0x148),(_0x754703,_0x372897)=>{const _0x1895b1=_0x1d8d73;_0x372897[_0x1895b1(0x155)]===_0x57aadd[_0x1895b1(0x196)]&&_0xcc21c2[_0x1895b1(0x169)]&&(this[_0x1895b1(0x149)][_0x1895b1(0x171)](_0xcc21c2[_0x1895b1(0x184)][_0x1895b1(0x13e)]),this[_0x1895b1(0x182)](),_0x372897[_0x1895b1(0x165)](),_0x372897[_0x1895b1(0x137)]());}),this[_0x1d8d73(0x13f)][_0x1d8d73(0x161)](document,_0x1d8d73(0x143),(_0x3d61e2,_0x42072d)=>{const _0x405b2b=_0x1d8d73,_0xcefe3f=_0x42072d[_0x405b2b(0x13d)];_0xcc21c2[_0x405b2b(0x169)]&&_0xcc21c2[_0x405b2b(0x131)][_0x405b2b(0x197)](_0xcefe3f)||_0x30c1fe[_0x405b2b(0x14e)][_0x405b2b(0x131)][_0x405b2b(0x197)](_0xcefe3f)||_0x3d61e2[_0x405b2b(0x151)]||this[_0x405b2b(0x15a)]&&this[_0x405b2b(0x15a)][_0x405b2b(0x127)][_0x405b2b(0x15c)](_0x1acffc=>_0x1acffc[_0x405b2b(0x197)](_0xcefe3f))||(this[_0x405b2b(0x149)][_0x405b2b(0x16d)](),this[_0x405b2b(0x182)](),this[_0x405b2b(0x190)](null));});const _0x5246ec=this[_0x1d8d73(0x144)]instanceof _0x1fdf9f?this[_0x1d8d73(0x144)][_0x1d8d73(0x185)]:new _0x5599e2([this[_0x1d8d73(0x144)]]);for(const _0x55a7aa of _0x5246ec)this[_0x1d8d73(0x194)](_0x55a7aa);this[_0x1d8d73(0x161)](_0x5246ec,_0x1d8d73(0x171),(_0x5f4520,_0x52c5a1)=>{const _0x4bae27=_0x1d8d73;this[_0x4bae27(0x161)](_0x52c5a1,_0x4bae27(0x167),()=>{const _0x2f0f81=_0x4bae27;this[_0x2f0f81(0x194)](_0x52c5a1);});}),this[_0x1d8d73(0x161)](_0x5246ec,_0x1d8d73(0x133),(_0x2e695e,_0x43b37a)=>{const _0x2b2f89=_0x1d8d73;_0x43b37a[_0x2b2f89(0x180)][_0x2b2f89(0x142)](_0x2b2f89(0x17c))&&this[_0x2b2f89(0x14a)](_0x43b37a[_0x2b2f89(0x180)][_0x2b2f89(0x160)](_0x2b2f89(0x17c)));}),window[_0x1d8d73(0x145)](_0x1d8d73(0x140),this[_0x1d8d73(0x158)]),this[_0x1d8d73(0x129)]();}[_0x142f51(0x190)](_0x42d5ce){const _0x2a3f74=_0x142f51;if(_0x42d5ce===this[_0x2a3f74(0x15a)])return;const _0x1ceb95=this[_0x2a3f74(0x144)][_0x2a3f74(0x180)][_0x2a3f74(0x160)](_0x2260df);if(_0x1ceb95[_0x2a3f74(0x170)]({'blurredAnnotation':this[_0x2a3f74(0x15a)],'activatedAnnotation':_0x42d5ce,'disableAnimationOnActivatedAnnotation':!0x0}),_0x42d5ce)_0x1ceb95[_0x2a3f74(0x15f)](_0x42d5ce)?this[_0x2a3f74(0x17b)](_0x42d5ce):this[_0x2a3f74(0x182)]();else this[_0x2a3f74(0x182)]();this[_0x2a3f74(0x15a)]=_0x42d5ce;}[_0x142f51(0x188)](){const _0x201e32=_0x142f51;if(!this[_0x201e32(0x164)])throw new _0x36de4b(_0x201e32(0x128),this);this[_0x201e32(0x190)](null);const _0x15199d=this[_0x201e32(0x144)][_0x201e32(0x180)][_0x201e32(0x160)](_0x2260df);this[_0x201e32(0x182)](),Array[_0x201e32(0x173)](this[_0x201e32(0x139)][_0x201e32(0x191)](),_0x5a3a27=>_0x5a3a27[_0x201e32(0x152)]()),this[_0x201e32(0x139)][_0x201e32(0x16d)](),_0x15199d[_0x201e32(0x12a)](this[_0x201e32(0x159)]),this[_0x201e32(0x18d)](),this[_0x201e32(0x13f)][_0x201e32(0x18d)](),this[_0x201e32(0x144)]instanceof _0x1fdf9f&&this[_0x201e32(0x18d)](this[_0x201e32(0x144)][_0x201e32(0x185)]);for(const _0x456a17 of Array[_0x201e32(0x173)](this[_0x201e32(0x15d)]))this[_0x201e32(0x14a)](_0x456a17);window[_0x201e32(0x15b)](_0x201e32(0x140),this[_0x201e32(0x158)]),this[_0x201e32(0x158)][_0x201e32(0x19c)](),this[_0x201e32(0x19a)]=[],this[_0x201e32(0x164)]=!0x1,this[_0x201e32(0x159)]=null;}[_0x142f51(0x152)](){const _0x2b705d=_0x142f51;this[_0x2b705d(0x164)]&&this[_0x2b705d(0x188)](),this[_0x2b705d(0x163)][_0x2b705d(0x168)]();}[_0x142f51(0x194)](_0x45b3cf){const _0x4609e5=_0x142f51,_0x141574=_0x45b3cf[_0x4609e5(0x180)][_0x4609e5(0x160)](_0x1093de),_0x4ac606=this[_0x4609e5(0x144)][_0x4609e5(0x180)][_0x4609e5(0x160)](_0x2260df),_0x52f5fc=this[_0x4609e5(0x159)],_0x2abf33=this[_0x4609e5(0x138)],_0xc5b40c=()=>{const _0x18b573=_0x4609e5,_0x255023=_0x141574[_0x18b573(0x14b)]({'annotations':this[_0x18b573(0x159)],'activeAnnotation':this[_0x18b573(0x15a)]});this[_0x18b573(0x174)](_0x255023),this[_0x18b573(0x190)](_0x255023[0x0]||null);};this[_0x4609e5(0x161)](_0x141574,_0x4609e5(0x170),_0xc5b40c),this[_0x4609e5(0x161)](_0x141574,_0x4609e5(0x141),(_0x26eeea,{isAnnotationTracked:_0x3b875c})=>{const _0x3edceb=_0x4609e5;this[_0x3edceb(0x15a)]&&_0x3b875c(this[_0x3edceb(0x15a)])&&(this[_0x3edceb(0x174)]([]),this[_0x3edceb(0x190)](null));}),this[_0x4609e5(0x161)](_0x141574,_0x4609e5(0x19e),()=>{const _0x6da18d=_0x4609e5;this[_0x6da18d(0x158)]();}),this[_0x4609e5(0x161)](_0x52f5fc,_0x4609e5(0x141),_0x846c9d=>{const _0x5e815b=_0x4609e5;_0x141574[_0x5e815b(0x17e)]()&&_0x846c9d[_0x5e815b(0x16b)]();},{'priority':_0x4609e5(0x13c)}),this[_0x4609e5(0x161)](this[_0x4609e5(0x13f)],_0x4609e5(0x143),(_0x6412bd,_0x507ef8)=>{const _0x5b1e04=_0x4609e5,_0xf3b23b=_0x507ef8[_0x5b1e04(0x13d)];_0x2abf33[_0x5b1e04(0x169)]&&_0x2abf33[_0x5b1e04(0x131)][_0x5b1e04(0x197)](_0xf3b23b)||_0x4ac606[_0x5b1e04(0x14e)][_0x5b1e04(0x131)][_0x5b1e04(0x197)](_0xf3b23b)||this[_0x5b1e04(0x15a)]&&_0x141574[_0x5b1e04(0x17e)]()&&(_0xc5b40c(),_0x6412bd[_0x5b1e04(0x151)]=!0x0);},{'priority':_0x4609e5(0x13c)}),this[_0x4609e5(0x15d)][_0x4609e5(0x171)](_0x141574);}[_0x142f51(0x14a)](_0xf51d94){const _0x134cb8=_0x142f51;_0xf51d94&&(this[_0x134cb8(0x18d)](_0xf51d94),this[_0x134cb8(0x15d)][_0x134cb8(0x133)](_0xf51d94));}[_0x142f51(0x174)](_0x153770){const _0x3103e8=_0x142f51;for(const _0x2c339a of this[_0x3103e8(0x19a)])_0x153770[_0x3103e8(0x175)](_0x2c339a)||this[_0x3103e8(0x149)][_0x3103e8(0x17d)](_0x2c339a[_0x3103e8(0x14e)]);this[_0x3103e8(0x19a)]=_0x153770;}[_0x142f51(0x129)](){const _0x284871=_0x142f51,_0x242e81=this[_0x284871(0x138)];this[_0x284871(0x159)][_0x284871(0x187)](),_0x242e81[_0x284871(0x169)]&&this[_0x284871(0x12f)]();}[_0x142f51(0x17b)](_0x3de574){const _0x38311b=_0x142f51;if(this[_0x38311b(0x149)][_0x38311b(0x142)](_0x3de574[_0x38311b(0x14e)]))return;const _0x3e1b61=this[_0x38311b(0x138)][_0x38311b(0x184)][_0x38311b(0x13e)];_0x3e1b61!==_0x3de574[_0x38311b(0x14e)]?(_0x3e1b61&&this[_0x38311b(0x181)](_0x3e1b61),this[_0x38311b(0x179)](_0x3de574[_0x38311b(0x14e)]),this[_0x38311b(0x138)][_0x38311b(0x184)][_0x38311b(0x16d)](),this[_0x38311b(0x138)][_0x38311b(0x184)][_0x38311b(0x171)](_0x3de574[_0x38311b(0x14e)]),this[_0x38311b(0x12f)]()):this[_0x38311b(0x12f)]();}[_0x142f51(0x12f)](){const _0x8fd613=_0x142f51,_0x49dca5=this[_0x8fd613(0x138)][_0x8fd613(0x184)][_0x8fd613(0x13e)],_0x54e237=_0x49dca5&&this[_0x8fd613(0x159)][_0x8fd613(0x13a)](_0x49dca5);if(!_0x54e237||!this[_0x8fd613(0x139)][_0x8fd613(0x142)](_0x54e237))return;const _0x9bad8f=this[_0x8fd613(0x139)][_0x8fd613(0x160)](_0x54e237)[_0x8fd613(0x131)],_0x4ae45f=(function(){const _0x868997=_0x8fd613,_0x244566=_0x306e06[_0x868997(0x156)];return[_0x244566[_0x868997(0x16a)],_0x244566[_0x868997(0x177)],_0x244566[_0x868997(0x162)],_0x244566[_0x868997(0x186)],_0x244566[_0x868997(0x166)],_0x244566[_0x868997(0x18b)]];}());this[_0x8fd613(0x138)][_0x8fd613(0x16e)]({'target':_0x9bad8f,'positions':_0x4ae45f});}[_0x142f51(0x182)](){const _0x2c4c26=_0x142f51,_0x3bf3dd=this[_0x2c4c26(0x138)],_0xa07dea=_0x3bf3dd[_0x2c4c26(0x184)][_0x2c4c26(0x13e)];_0xa07dea&&(this[_0x2c4c26(0x181)](_0xa07dea),_0x3bf3dd[_0x2c4c26(0x19f)](),_0x3bf3dd[_0x2c4c26(0x184)][_0x2c4c26(0x16d)]());}[_0x142f51(0x179)](_0x8c6ad8){const _0x329b00=_0x142f51;this[_0x329b00(0x161)](_0x8c6ad8,_0x329b00(0x12b),()=>this[_0x329b00(0x12f)]()),this[_0x329b00(0x161)](_0x8c6ad8,_0x329b00(0x192),(_0x2c98ac,_0x350a4e)=>{const _0x165757=_0x329b00;this[_0x165757(0x149)][_0x165757(0x171)](_0x8c6ad8),this[_0x165757(0x182)](),_0x350a4e();});}[_0x142f51(0x181)](_0x1cc084){const _0x141660=_0x142f51;this[_0x141660(0x18d)](_0x1cc084);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x567ce2=_0x109e;(function(_0x57fd78,_0x58cef5){const _0x570893=_0x109e,_0x1e17f1=_0x57fd78();while(!![]){try{const _0x7ad363=-parseInt(_0x570893(0x122))/0x1*(parseInt(_0x570893(0x167))/0x2)+parseInt(_0x570893(0x169))/0x3+-parseInt(_0x570893(0x14b))/0x4+-parseInt(_0x570893(0x164))/0x5*(-parseInt(_0x570893(0x13c))/0x6)+-parseInt(_0x570893(0x173))/0x7*(-parseInt(_0x570893(0x15b))/0x8)+-parseInt(_0x570893(0x124))/0x9+-parseInt(_0x570893(0x177))/0xa*(parseInt(_0x570893(0x165))/0xb);if(_0x7ad363===_0x58cef5)break;else _0x1e17f1['push'](_0x1e17f1['shift']());}catch(_0x29d70a){_0x1e17f1['push'](_0x1e17f1['shift']());}}}(_0x348c,0x9d4db));function _0x348c(){const _0x47f887=['getIndex','Sidebar','getSidebarItemView','_sidebarItemViewToAnnotation','_alignBeforeItem','add','list','updateHeight','_recalculateBuffer','view','rearrange','push','_destroySidebarItemView','config','refresh','_getItemBefore','_targetTop','_annotations','delete','2903676vKpWUG','class','_attachToContainer','isAnimationDisabled','unbind','sidebar.preventScrollOutOfView','init','listenTo','length','minHeight','last','container','_alignToTargetRect','set','_alignForTopChange','2827604iXprmE','_alignAfterItem','_getMaxAvailableTop','change:targetRect','_lastItem','_annotationToSidebarItemView','get','_updateLastItem','appendChild','height','context','remove','_recalculate','bind','_setItemTop','addAnnotation','723216lnhSrQ','element','locale','max','nodeType','_spaceBetweenItems','setContainer','stopListening','target','10JQDJGL','1553233ESAWGC','targetRect','27214aMFCnM','_alignForBottomChange','2344602MiwjLE','_detachFromContainer','sidebar-setcontainer-invalid-element','sidebar.container','bottom','_getItemAfter','_createSidebarView','define','isActive','_getTargetTop','91mFdwgE','clear','top','change:_lastItem','20pNFjAo','pluginName','change:top','change:bottom','object','57TzaEqd','destroy','4638879pHHJKz','_activeAnnotation','content','sidebar-attachtocontainer-missing-container','render'];_0x348c=function(){return _0x47f887;};return _0x348c();}import{ContextPlugin as _0x5787a9}from'ckeditor5/src/core.js';function _0x109e(_0x5167a5,_0x35ab20){const _0x348cce=_0x348c();return _0x109e=function(_0x109e30,_0x28173b){_0x109e30=_0x109e30-0x121;let _0x46f42d=_0x348cce[_0x109e30];return _0x46f42d;},_0x109e(_0x5167a5,_0x35ab20);}import{Rect as _0x308d6d,CKEditorError as _0x337b3f}from'ckeditor5/src/utils.js';import _0x34a03f from'./view/sidebarview.js';import _0x7b6242 from'./view/sidebaritemview.js';export default class z extends _0x5787a9{static get[_0x567ce2(0x178)](){const _0xf79e93=_0x567ce2;return _0xf79e93(0x12a);}constructor(_0x43898a){const _0xa5c8ec=_0x567ce2;super(_0x43898a),this[_0xa5c8ec(0x149)](_0xa5c8ec(0x14f),void 0x0),this[_0xa5c8ec(0x132)]=this[_0xa5c8ec(0x16f)](),this[_0xa5c8ec(0x149)](_0xa5c8ec(0x147),null),this[_0xa5c8ec(0x160)]=0x19,this[_0xa5c8ec(0x12c)]=new Map(),this[_0xa5c8ec(0x150)]=new Map(),this[_0xa5c8ec(0x155)][_0xa5c8ec(0x136)][_0xa5c8ec(0x170)](_0xa5c8ec(0x141),!0x1),this[_0xa5c8ec(0x13a)]=null,this[_0xa5c8ec(0x125)]=null,this[_0xa5c8ec(0x131)]=[];}[_0x567ce2(0x142)](){const _0x165bb9=_0x567ce2,_0x3b7dd0=this[_0x165bb9(0x155)][_0x165bb9(0x136)][_0x165bb9(0x151)](_0x165bb9(0x16c));_0x3b7dd0&&this[_0x165bb9(0x161)](_0x3b7dd0);}[_0x567ce2(0x161)](_0x38e3e2){const _0x163a73=_0x567ce2;if(!y(_0x38e3e2))throw new _0x337b3f(_0x163a73(0x16b));this[_0x163a73(0x147)]=_0x38e3e2;}[_0x567ce2(0x13e)]({viewClass:_0x3b8e07='',spaceBetweenItems:_0x6178e0=0x19}={}){const _0x560d47=_0x567ce2;if(!y(this[_0x560d47(0x147)]))throw new _0x337b3f(_0x560d47(0x127),this);this[_0x560d47(0x147)][_0x560d47(0x153)](this[_0x560d47(0x132)][_0x560d47(0x15c)]),this[_0x560d47(0x132)][_0x560d47(0x13d)]=_0x3b8e07,this[_0x560d47(0x160)]=_0x6178e0;}[_0x567ce2(0x133)]({removedAnnotation:_0x4166a4,previousAnnotation:_0x2cede2,nextAnnotation:_0x1d1cb4}){const _0x23c15b=_0x567ce2,_0x3e89a6=this[_0x23c15b(0x12b)](_0x4166a4);this[_0x23c15b(0x132)][_0x23c15b(0x12f)][_0x23c15b(0x156)](_0x3e89a6),this[_0x23c15b(0x135)](_0x4166a4),_0x2cede2&&this[_0x23c15b(0x148)](this[_0x23c15b(0x12b)](_0x2cede2)),_0x1d1cb4&&this[_0x23c15b(0x148)](this[_0x23c15b(0x12b)](_0x1d1cb4)),this[_0x23c15b(0x152)]();}[_0x567ce2(0x137)]({blurredAnnotation:_0x104846,activatedAnnotation:_0x51a49d,disableAnimationOnActivatedAnnotation:_0x1a22ca}){const _0x2c9a36=_0x567ce2;if(this[_0x2c9a36(0x125)]=_0x51a49d,_0x104846){_0x104846[_0x2c9a36(0x171)]=!0x1;const _0x3f97d1=this[_0x2c9a36(0x12b)](_0x104846);_0x3f97d1&&_0x1a22ca&&(_0x3f97d1[_0x2c9a36(0x13f)]=!0x1);}if(_0x51a49d){const _0x32b997=this[_0x2c9a36(0x12b)](_0x51a49d);_0x32b997&&(_0x51a49d[_0x2c9a36(0x171)]=!0x0,_0x1a22ca&&(_0x32b997[_0x2c9a36(0x13f)]=!0x0,_0x32b997[_0x2c9a36(0x175)]+=0x1),this[_0x2c9a36(0x148)](_0x32b997));}}[_0x567ce2(0x16a)](_0x36c0b3){const _0x40f1bf=_0x567ce2;if(this[_0x40f1bf(0x132)][_0x40f1bf(0x15c)][_0x40f1bf(0x156)](),_0x36c0b3){for(const _0xdd857d of _0x36c0b3)this[_0x40f1bf(0x135)](_0xdd857d);}this[_0x40f1bf(0x132)][_0x40f1bf(0x12f)][_0x40f1bf(0x174)](),this[_0x40f1bf(0x132)][_0x40f1bf(0x13d)]='',this[_0x40f1bf(0x14f)]=null;}[_0x567ce2(0x15a)](_0x15ecb9,_0x1af4da){const _0x2e9843=_0x567ce2;_0x1af4da||(_0x1af4da=_0x15ecb9[_0x2e9843(0x132)]);const _0x4ebed3=new _0x7b6242(this[_0x2e9843(0x155)][_0x2e9843(0x15d)]);this[_0x2e9843(0x12c)][_0x2e9843(0x149)](_0x4ebed3,_0x15ecb9),this[_0x2e9843(0x150)][_0x2e9843(0x149)](_0x15ecb9,_0x4ebed3),_0x4ebed3[_0x2e9843(0x126)][_0x2e9843(0x12e)](_0x1af4da),this[_0x2e9843(0x143)](_0x15ecb9[_0x2e9843(0x132)],_0x2e9843(0x14e),(_0xe68339,_0x582517,_0x182e3a)=>{const _0x1afb43=_0x2e9843,_0x3baad0=this[_0x1afb43(0x172)](_0x15ecb9,_0x182e3a);_0x4ebed3[_0x1afb43(0x139)]!=_0x3baad0&&(_0x4ebed3[_0x1afb43(0x139)]=_0x3baad0,this[_0x1afb43(0x159)](_0x4ebed3,_0x3baad0));}),this[_0x2e9843(0x143)](_0x4ebed3,_0x2e9843(0x179),()=>{const _0x3ef57d=_0x2e9843;this[_0x3ef57d(0x157)](_0x4ebed3,_0x3ef57d(0x175));}),this[_0x2e9843(0x143)](_0x4ebed3,_0x2e9843(0x17a),()=>{const _0x15054e=_0x2e9843;this[_0x15054e(0x157)](_0x4ebed3,_0x15054e(0x16d));}),this[_0x2e9843(0x148)](_0x4ebed3);const _0x1d470d=this[_0x2e9843(0x138)](_0x4ebed3);if(_0x1d470d)this[_0x2e9843(0x14c)](_0x1d470d,_0x4ebed3)||this[_0x2e9843(0x148)](_0x4ebed3);else this[_0x2e9843(0x148)](_0x4ebed3);return this[_0x2e9843(0x152)](),this[_0x2e9843(0x132)][_0x2e9843(0x12f)][_0x2e9843(0x12e)](_0x4ebed3),_0x4ebed3;}[_0x567ce2(0x14a)](_0x4b54b2){const _0x56dc4c=_0x567ce2;if(!_0x4b54b2[_0x56dc4c(0x126)][_0x56dc4c(0x144)])return;const _0x5e7a34=this[_0x56dc4c(0x138)](_0x4b54b2);if(!_0x5e7a34)return;const _0x27c8f1=this[_0x56dc4c(0x12c)][_0x56dc4c(0x151)](_0x5e7a34),_0x30a710=this[_0x56dc4c(0x125)];_0x30a710&&_0x30a710===_0x27c8f1?this[_0x56dc4c(0x14c)](_0x5e7a34,_0x4b54b2):this[_0x56dc4c(0x12d)](_0x4b54b2,_0x5e7a34);}[_0x567ce2(0x168)](_0x4d6006){const _0x395c0d=_0x567ce2;if(!_0x4d6006[_0x395c0d(0x126)][_0x395c0d(0x144)])return;const _0x40c3bd=this[_0x395c0d(0x16e)](_0x4d6006);if(!_0x40c3bd)return;const _0x2f12db=this[_0x395c0d(0x12c)][_0x395c0d(0x151)](_0x40c3bd),_0xd3f4c1=this[_0x395c0d(0x155)][_0x395c0d(0x136)][_0x395c0d(0x151)](_0x395c0d(0x141)),_0x55dd10=this[_0x395c0d(0x125)];_0x55dd10&&_0x55dd10===_0x2f12db&&_0xd3f4c1?(this[_0x395c0d(0x12d)](_0x40c3bd,_0x4d6006),this[_0x395c0d(0x14c)](_0x4d6006,_0x40c3bd)):_0x55dd10&&_0x55dd10===_0x2f12db?this[_0x395c0d(0x12d)](_0x40c3bd,_0x4d6006):this[_0x395c0d(0x14c)](_0x4d6006,_0x40c3bd);}[_0x567ce2(0x157)](_0x3d3be4,_0x1fa165){const _0x65c909=_0x567ce2;0x0===this[_0x65c909(0x131)][_0x65c909(0x144)]&&setTimeout(()=>{const _0x533409=_0x65c909;for(const {sidebarItemView:_0x20d1b0,changedProp:_0x19e88b}of this[_0x533409(0x131)])_0x533409(0x175)===_0x19e88b?this[_0x533409(0x14a)](_0x20d1b0):this[_0x533409(0x168)](_0x20d1b0);this[_0x533409(0x131)]=[];},0xa),this[_0x65c909(0x131)][_0x65c909(0x134)]({'sidebarItemView':_0x3d3be4,'changedProp':_0x1fa165});}[_0x567ce2(0x12b)](_0x52d871){const _0xb74329=_0x567ce2;return this[_0xb74329(0x150)][_0xb74329(0x151)](_0x52d871);}[_0x567ce2(0x123)](){const _0xb768df=_0x567ce2;this[_0xb768df(0x162)](),this[_0xb768df(0x132)][_0xb768df(0x123)]();}[_0x567ce2(0x135)](_0x5793d6){const _0x3e8a7e=_0x567ce2,_0x4b5ba4=this[_0x3e8a7e(0x12b)](_0x5793d6);this[_0x3e8a7e(0x162)](_0x4b5ba4),this[_0x3e8a7e(0x162)](_0x5793d6[_0x3e8a7e(0x132)]),_0x4b5ba4[_0x3e8a7e(0x123)](),this[_0x3e8a7e(0x150)][_0x3e8a7e(0x13b)](_0x5793d6),this[_0x3e8a7e(0x12c)][_0x3e8a7e(0x13b)](_0x4b5ba4);}[_0x567ce2(0x16f)](){const _0x1880a0=_0x567ce2,_0x4699ef=new _0x34a03f(this[_0x1880a0(0x155)][_0x1880a0(0x15d)]);return _0x4699ef[_0x1880a0(0x128)](),this['on'](_0x1880a0(0x176),(_0x1d6b8b,_0x34e9e1,_0x1e0d4c,_0x4e3f65)=>{const _0x2433b1=_0x1880a0;_0x4e3f65&&_0x4699ef[_0x2433b1(0x140)](_0x2433b1(0x145)),_0x1e0d4c?_0x4699ef[_0x2433b1(0x158)](_0x2433b1(0x145))['to'](_0x1e0d4c,_0x2433b1(0x16d)):_0x4699ef[_0x2433b1(0x145)]=null;}),_0x4699ef;}[_0x567ce2(0x152)](){const _0x36f981=_0x567ce2;var _0x323a5f;this[_0x36f981(0x14f)]=(null===(_0x323a5f=this[_0x36f981(0x13a)])||void 0x0===_0x323a5f?void 0x0:_0x323a5f[_0x36f981(0x146)])?this[_0x36f981(0x12b)](this[_0x36f981(0x13a)][_0x36f981(0x146)]):null;}[_0x567ce2(0x138)](_0x291afe){const _0x4e650c=_0x567ce2;var _0x22f858;const _0x53931f=this[_0x4e650c(0x12c)][_0x4e650c(0x151)](_0x291afe),_0x3cc77e=_0x53931f&&(null===(_0x22f858=this[_0x4e650c(0x13a)])||void 0x0===_0x22f858?void 0x0:_0x22f858[_0x4e650c(0x151)](this[_0x4e650c(0x13a)][_0x4e650c(0x129)](_0x53931f)-0x1));return _0x3cc77e&&this[_0x4e650c(0x12b)](_0x3cc77e)||null;}[_0x567ce2(0x16e)](_0x2bf031){const _0x288963=_0x567ce2;var _0x4eb736;const _0x244f8c=this[_0x288963(0x12c)][_0x288963(0x151)](_0x2bf031),_0x426495=_0x244f8c&&(null===(_0x4eb736=this[_0x288963(0x13a)])||void 0x0===_0x4eb736?void 0x0:_0x4eb736[_0x288963(0x151)](this[_0x288963(0x13a)][_0x288963(0x129)](_0x244f8c)+0x1));return _0x426495&&this[_0x288963(0x12b)](_0x426495)||null;}[_0x567ce2(0x12d)](_0x524bc3,_0x171774){const _0x5f3a58=_0x567ce2;_0x524bc3[_0x5f3a58(0x130)]();const _0x122a51=M(_0x171774[_0x5f3a58(0x16d)]+this[_0x5f3a58(0x160)],_0x524bc3[_0x5f3a58(0x175)]);return!!_0x122a51&&(this[_0x5f3a58(0x159)](_0x171774,_0x171774[_0x5f3a58(0x175)]-_0x122a51),!0x0);}[_0x567ce2(0x14c)](_0x5f5118,_0x1bfbd5){const _0x376067=_0x567ce2;_0x5f5118[_0x376067(0x130)]();const _0x3d6eb4=M(_0x5f5118[_0x376067(0x16d)]+this[_0x376067(0x160)],_0x1bfbd5[_0x376067(0x175)]);return!!_0x3d6eb4&&(this[_0x376067(0x159)](_0x1bfbd5,_0x1bfbd5[_0x376067(0x175)]+_0x3d6eb4,!0x1),!0x0);}[_0x567ce2(0x148)](_0x46c077){const _0x1b1d87=_0x567ce2,_0x5d6762=this[_0x1b1d87(0x12c)][_0x1b1d87(0x151)](_0x46c077);if(!_0x5d6762||!_0x5d6762[_0x1b1d87(0x163)]||!_0x5d6762[_0x1b1d87(0x166)])return;const _0x2bd5c7=this[_0x1b1d87(0x172)](_0x5d6762,_0x5d6762[_0x1b1d87(0x166)]);this[_0x1b1d87(0x159)](_0x46c077,_0x2bd5c7);}[_0x567ce2(0x172)](_0x1fb448,_0x93d9ba){const _0x12adc6=_0x567ce2;if(null===_0x93d9ba)return 0x0;if(_0x1fb448[_0x12adc6(0x163)]instanceof _0x308d6d)return _0x93d9ba[_0x12adc6(0x175)];{const _0x2d0309=new _0x308d6d(this[_0x12adc6(0x132)][_0x12adc6(0x15c)])[_0x12adc6(0x175)];return _0x93d9ba[_0x12adc6(0x175)]-_0x2d0309;}}[_0x567ce2(0x159)](_0x3be49d,_0x49d70a,_0x49ef26=this[_0x567ce2(0x155)][_0x567ce2(0x136)][_0x567ce2(0x151)](_0x567ce2(0x141))){const _0x361aaf=_0x567ce2;_0x49ef26&&(_0x49d70a=Math[_0x361aaf(0x15e)](_0x49d70a,this[_0x361aaf(0x14d)](_0x3be49d))),_0x3be49d[_0x361aaf(0x175)]=_0x49d70a;}[_0x567ce2(0x14d)](_0x424762){const _0x2a10ac=_0x567ce2;let _0x45939d=this[_0x2a10ac(0x138)](_0x424762),_0x77a1be=0x0;for(;_0x45939d;)_0x45939d[_0x2a10ac(0x130)](),_0x77a1be+=this[_0x2a10ac(0x160)]+_0x45939d[_0x2a10ac(0x154)],_0x45939d=this[_0x2a10ac(0x138)](_0x45939d);return _0x77a1be;}}function M(_0xef3854,_0x42c32d){const _0x147395=_0x567ce2;return Math[_0x147395(0x15e)](_0xef3854-_0x42c32d,0x0);}function y(_0x5f4ef4){const _0x39915e=_0x567ce2;return null!==_0x5f4ef4&&_0x39915e(0x121)==typeof _0x5f4ef4&&0x1===_0x5f4ef4[_0x39915e(0x15f)];}
|
|
23
|
+
function _0x2293(){const _0x32cf15=['get','bottom','add','locale','_spaceBetweenItems','height','view','35FdKKAL','define','clear','442812ULQVss','rearrange','container','sidebar.preventScrollOutOfView','4675690LoHkQN','context','push','_alignBeforeItem','list','remove','pluginName','class','_targetTop','_recalculate','change:bottom','_destroySidebarItemView','_alignToTargetRect','refresh','_lastItem','2123112eiMptF','_setItemTop','change:top','_getItemBefore','22765uGPEuw','_getItemAfter','_activeAnnotation','delete','_alignAfterItem','render','1047FkRoeC','760KzxgHn','getIndex','set','max','length','Sidebar','sidebar-attachtocontainer-missing-container','18cFvSPa','appendChild','isAnimationDisabled','change:targetRect','600oiXiRh','1479569ajvnBr','updateHeight','config','addAnnotation','element','change:_lastItem','bind','isActive','_attachToContainer','_recalculateBuffer','_detachFromContainer','_updateLastItem','sidebar.container','sidebar-setcontainer-invalid-element','object','_annotationToSidebarItemView','stopListening','_getTargetTop','_createSidebarView','_annotations','unbind','11gaiKOQ','listenTo','nodeType','getSidebarItemView','minHeight','destroy','25713YmOJfj','_sidebarItemViewToAnnotation','targetRect','last','target','init','_getMaxAvailableTop','_alignForTopChange','setContainer','top','content','_alignForBottomChange'];_0x2293=function(){return _0x32cf15;};return _0x2293();}const _0x492810=_0x7df5;(function(_0x449d2f,_0x350648){const _0x9996b8=_0x7df5,_0x2a0d66=_0x449d2f();while(!![]){try{const _0x4fddea=parseInt(_0x9996b8(0x161))/0x1+parseInt(_0x9996b8(0x168))/0x2*(parseInt(_0x9996b8(0x167))/0x3)+parseInt(_0x9996b8(0x14a))/0x4*(-parseInt(_0x9996b8(0x147))/0x5)+parseInt(_0x9996b8(0x114))/0x6*(parseInt(_0x9996b8(0x119))/0x7)+parseInt(_0x9996b8(0x118))/0x8*(-parseInt(_0x9996b8(0x134))/0x9)+parseInt(_0x9996b8(0x14e))/0xa+-parseInt(_0x9996b8(0x12e))/0xb*(-parseInt(_0x9996b8(0x15d))/0xc);if(_0x4fddea===_0x350648)break;else _0x2a0d66['push'](_0x2a0d66['shift']());}catch(_0x94c1a5){_0x2a0d66['push'](_0x2a0d66['shift']());}}}(_0x2293,0x6c971));import{ContextPlugin as _0x1d3859}from'ckeditor5/src/core.js';import{Rect as _0x192841,CKEditorError as _0x29e55c}from'ckeditor5/src/utils.js';function _0x7df5(_0x19e403,_0x4d99c8){const _0x2293c2=_0x2293();return _0x7df5=function(_0x7df5e8,_0x1e36a8){_0x7df5e8=_0x7df5e8-0x10f;let _0x46bea3=_0x2293c2[_0x7df5e8];return _0x46bea3;},_0x7df5(_0x19e403,_0x4d99c8);}import _0x1e3322 from'./view/sidebarview.js';import _0x586cdd from'./view/sidebaritemview.js';export default class z extends _0x1d3859{static get[_0x492810(0x154)](){const _0x50725e=_0x492810;return _0x50725e(0x112);}constructor(_0xb99903){const _0x208ff9=_0x492810;super(_0xb99903),this[_0x208ff9(0x10f)](_0x208ff9(0x15c),void 0x0),this[_0x208ff9(0x146)]=this[_0x208ff9(0x12b)](),this[_0x208ff9(0x10f)](_0x208ff9(0x14c),null),this[_0x208ff9(0x144)]=0x19,this[_0x208ff9(0x135)]=new Map(),this[_0x208ff9(0x128)]=new Map(),this[_0x208ff9(0x14f)][_0x208ff9(0x11b)][_0x208ff9(0x148)](_0x208ff9(0x14d),!0x1),this[_0x208ff9(0x12c)]=null,this[_0x208ff9(0x163)]=null,this[_0x208ff9(0x122)]=[];}[_0x492810(0x139)](){const _0xe681f4=_0x492810,_0x423c5d=this[_0xe681f4(0x14f)][_0xe681f4(0x11b)][_0xe681f4(0x140)](_0xe681f4(0x125));_0x423c5d&&this[_0xe681f4(0x13c)](_0x423c5d);}[_0x492810(0x13c)](_0x98d958){const _0xa76094=_0x492810;if(!y(_0x98d958))throw new _0x29e55c(_0xa76094(0x126));this[_0xa76094(0x14c)]=_0x98d958;}[_0x492810(0x121)]({viewClass:_0x217ea3='',spaceBetweenItems:_0x48b06d=0x19}={}){const _0x30679c=_0x492810;if(!y(this[_0x30679c(0x14c)]))throw new _0x29e55c(_0x30679c(0x113),this);this[_0x30679c(0x14c)][_0x30679c(0x115)](this[_0x30679c(0x146)][_0x30679c(0x11d)]),this[_0x30679c(0x146)][_0x30679c(0x155)]=_0x217ea3,this[_0x30679c(0x144)]=_0x48b06d;}[_0x492810(0x14b)]({removedAnnotation:_0x905c17,previousAnnotation:_0x2e0297,nextAnnotation:_0x137c28}){const _0x54730e=_0x492810,_0x407325=this[_0x54730e(0x131)](_0x905c17);this[_0x54730e(0x146)][_0x54730e(0x152)][_0x54730e(0x153)](_0x407325),this[_0x54730e(0x159)](_0x905c17),_0x2e0297&&this[_0x54730e(0x15a)](this[_0x54730e(0x131)](_0x2e0297)),_0x137c28&&this[_0x54730e(0x15a)](this[_0x54730e(0x131)](_0x137c28)),this[_0x54730e(0x124)]();}[_0x492810(0x15b)]({blurredAnnotation:_0x30aa56,activatedAnnotation:_0x8b628f,disableAnimationOnActivatedAnnotation:_0x5676ac}){const _0x43aa06=_0x492810;if(this[_0x43aa06(0x163)]=_0x8b628f,_0x30aa56){_0x30aa56[_0x43aa06(0x120)]=!0x1;const _0x52cc40=this[_0x43aa06(0x131)](_0x30aa56);_0x52cc40&&_0x5676ac&&(_0x52cc40[_0x43aa06(0x116)]=!0x1);}if(_0x8b628f){const _0x14e32c=this[_0x43aa06(0x131)](_0x8b628f);_0x14e32c&&(_0x8b628f[_0x43aa06(0x120)]=!0x0,_0x5676ac&&(_0x14e32c[_0x43aa06(0x116)]=!0x0,_0x14e32c[_0x43aa06(0x13d)]+=0x1),this[_0x43aa06(0x15a)](_0x14e32c));}}[_0x492810(0x123)](_0xfd5f67){const _0x26fd9a=_0x492810;if(this[_0x26fd9a(0x146)][_0x26fd9a(0x11d)][_0x26fd9a(0x153)](),_0xfd5f67){for(const _0x4b0cbb of _0xfd5f67)this[_0x26fd9a(0x159)](_0x4b0cbb);}this[_0x26fd9a(0x146)][_0x26fd9a(0x152)][_0x26fd9a(0x149)](),this[_0x26fd9a(0x146)][_0x26fd9a(0x155)]='',this[_0x26fd9a(0x15c)]=null;}[_0x492810(0x11c)](_0xcbf49f,_0x36e0cb){const _0x9acb54=_0x492810;_0x36e0cb||(_0x36e0cb=_0xcbf49f[_0x9acb54(0x146)]);const _0x5dc5f8=new _0x586cdd(this[_0x9acb54(0x14f)][_0x9acb54(0x143)]);this[_0x9acb54(0x135)][_0x9acb54(0x10f)](_0x5dc5f8,_0xcbf49f),this[_0x9acb54(0x128)][_0x9acb54(0x10f)](_0xcbf49f,_0x5dc5f8),_0x5dc5f8[_0x9acb54(0x13e)][_0x9acb54(0x142)](_0x36e0cb),this[_0x9acb54(0x12f)](_0xcbf49f[_0x9acb54(0x146)],_0x9acb54(0x117),(_0x3e51c8,_0xff34f9,_0x2192b2)=>{const _0x15146e=_0x9acb54,_0x41511a=this[_0x15146e(0x12a)](_0xcbf49f,_0x2192b2);_0x5dc5f8[_0x15146e(0x156)]!=_0x41511a&&(_0x5dc5f8[_0x15146e(0x156)]=_0x41511a,this[_0x15146e(0x15e)](_0x5dc5f8,_0x41511a));}),this[_0x9acb54(0x12f)](_0x5dc5f8,_0x9acb54(0x15f),()=>{const _0x318eb5=_0x9acb54;this[_0x318eb5(0x157)](_0x5dc5f8,_0x318eb5(0x13d));}),this[_0x9acb54(0x12f)](_0x5dc5f8,_0x9acb54(0x158),()=>{const _0x3a834a=_0x9acb54;this[_0x3a834a(0x157)](_0x5dc5f8,_0x3a834a(0x141));}),this[_0x9acb54(0x15a)](_0x5dc5f8);const _0x50248b=this[_0x9acb54(0x160)](_0x5dc5f8);if(_0x50248b)this[_0x9acb54(0x165)](_0x50248b,_0x5dc5f8)||this[_0x9acb54(0x15a)](_0x5dc5f8);else this[_0x9acb54(0x15a)](_0x5dc5f8);return this[_0x9acb54(0x124)](),this[_0x9acb54(0x146)][_0x9acb54(0x152)][_0x9acb54(0x142)](_0x5dc5f8),_0x5dc5f8;}[_0x492810(0x13b)](_0x35cdb4){const _0xca92f=_0x492810;if(!_0x35cdb4[_0xca92f(0x13e)][_0xca92f(0x111)])return;const _0x33265b=this[_0xca92f(0x160)](_0x35cdb4);if(!_0x33265b)return;const _0x3c03ec=this[_0xca92f(0x135)][_0xca92f(0x140)](_0x33265b),_0x37771b=this[_0xca92f(0x163)];_0x37771b&&_0x37771b===_0x3c03ec?this[_0xca92f(0x165)](_0x33265b,_0x35cdb4):this[_0xca92f(0x151)](_0x35cdb4,_0x33265b);}[_0x492810(0x13f)](_0x40955f){const _0x5a778d=_0x492810;if(!_0x40955f[_0x5a778d(0x13e)][_0x5a778d(0x111)])return;const _0x359a45=this[_0x5a778d(0x162)](_0x40955f);if(!_0x359a45)return;const _0x5cc71a=this[_0x5a778d(0x135)][_0x5a778d(0x140)](_0x359a45),_0x5e265d=this[_0x5a778d(0x14f)][_0x5a778d(0x11b)][_0x5a778d(0x140)](_0x5a778d(0x14d)),_0x306a1e=this[_0x5a778d(0x163)];_0x306a1e&&_0x306a1e===_0x5cc71a&&_0x5e265d?(this[_0x5a778d(0x151)](_0x359a45,_0x40955f),this[_0x5a778d(0x165)](_0x40955f,_0x359a45)):_0x306a1e&&_0x306a1e===_0x5cc71a?this[_0x5a778d(0x151)](_0x359a45,_0x40955f):this[_0x5a778d(0x165)](_0x40955f,_0x359a45);}[_0x492810(0x157)](_0x3cce77,_0x3e9d93){const _0x172437=_0x492810;0x0===this[_0x172437(0x122)][_0x172437(0x111)]&&setTimeout(()=>{const _0x2f656d=_0x172437;for(const {sidebarItemView:_0x1c6bf9,changedProp:_0x1c04d1}of this[_0x2f656d(0x122)])_0x2f656d(0x13d)===_0x1c04d1?this[_0x2f656d(0x13b)](_0x1c6bf9):this[_0x2f656d(0x13f)](_0x1c6bf9);this[_0x2f656d(0x122)]=[];},0xa),this[_0x172437(0x122)][_0x172437(0x150)]({'sidebarItemView':_0x3cce77,'changedProp':_0x3e9d93});}[_0x492810(0x131)](_0x3fd1d0){const _0x5a05c0=_0x492810;return this[_0x5a05c0(0x128)][_0x5a05c0(0x140)](_0x3fd1d0);}[_0x492810(0x133)](){const _0x30b7b3=_0x492810;this[_0x30b7b3(0x129)](),this[_0x30b7b3(0x146)][_0x30b7b3(0x133)]();}[_0x492810(0x159)](_0x1200bc){const _0x1fdeee=_0x492810,_0x5b82c=this[_0x1fdeee(0x131)](_0x1200bc);this[_0x1fdeee(0x129)](_0x5b82c),this[_0x1fdeee(0x129)](_0x1200bc[_0x1fdeee(0x146)]),_0x5b82c[_0x1fdeee(0x133)](),this[_0x1fdeee(0x128)][_0x1fdeee(0x164)](_0x1200bc),this[_0x1fdeee(0x135)][_0x1fdeee(0x164)](_0x5b82c);}[_0x492810(0x12b)](){const _0x756d3e=_0x492810,_0x4e7230=new _0x1e3322(this[_0x756d3e(0x14f)][_0x756d3e(0x143)]);return _0x4e7230[_0x756d3e(0x166)](),this['on'](_0x756d3e(0x11e),(_0xb1be10,_0x17c69f,_0x272238,_0xb5de0f)=>{const _0x2b9224=_0x756d3e;_0xb5de0f&&_0x4e7230[_0x2b9224(0x12d)](_0x2b9224(0x132)),_0x272238?_0x4e7230[_0x2b9224(0x11f)](_0x2b9224(0x132))['to'](_0x272238,_0x2b9224(0x141)):_0x4e7230[_0x2b9224(0x132)]=null;}),_0x4e7230;}[_0x492810(0x124)](){const _0x43ec7d=_0x492810;var _0xf58dca;this[_0x43ec7d(0x15c)]=(null===(_0xf58dca=this[_0x43ec7d(0x12c)])||void 0x0===_0xf58dca?void 0x0:_0xf58dca[_0x43ec7d(0x137)])?this[_0x43ec7d(0x131)](this[_0x43ec7d(0x12c)][_0x43ec7d(0x137)]):null;}[_0x492810(0x160)](_0x2825c0){const _0x5773c3=_0x492810;var _0x339edc;const _0xa3ee0c=this[_0x5773c3(0x135)][_0x5773c3(0x140)](_0x2825c0),_0x18d079=_0xa3ee0c&&(null===(_0x339edc=this[_0x5773c3(0x12c)])||void 0x0===_0x339edc?void 0x0:_0x339edc[_0x5773c3(0x140)](this[_0x5773c3(0x12c)][_0x5773c3(0x169)](_0xa3ee0c)-0x1));return _0x18d079&&this[_0x5773c3(0x131)](_0x18d079)||null;}[_0x492810(0x162)](_0x568b60){const _0x2139af=_0x492810;var _0x41dc1d;const _0x3a0b90=this[_0x2139af(0x135)][_0x2139af(0x140)](_0x568b60),_0x21eee8=_0x3a0b90&&(null===(_0x41dc1d=this[_0x2139af(0x12c)])||void 0x0===_0x41dc1d?void 0x0:_0x41dc1d[_0x2139af(0x140)](this[_0x2139af(0x12c)][_0x2139af(0x169)](_0x3a0b90)+0x1));return _0x21eee8&&this[_0x2139af(0x131)](_0x21eee8)||null;}[_0x492810(0x151)](_0x4b90e5,_0x431540){const _0x1a6710=_0x492810;_0x4b90e5[_0x1a6710(0x11a)]();const _0x2e6997=M(_0x431540[_0x1a6710(0x141)]+this[_0x1a6710(0x144)],_0x4b90e5[_0x1a6710(0x13d)]);return!!_0x2e6997&&(this[_0x1a6710(0x15e)](_0x431540,_0x431540[_0x1a6710(0x13d)]-_0x2e6997),!0x0);}[_0x492810(0x165)](_0x5e0a3a,_0x5f2330){const _0x2e11c6=_0x492810;_0x5e0a3a[_0x2e11c6(0x11a)]();const _0xa26635=M(_0x5e0a3a[_0x2e11c6(0x141)]+this[_0x2e11c6(0x144)],_0x5f2330[_0x2e11c6(0x13d)]);return!!_0xa26635&&(this[_0x2e11c6(0x15e)](_0x5f2330,_0x5f2330[_0x2e11c6(0x13d)]+_0xa26635,!0x1),!0x0);}[_0x492810(0x15a)](_0x199562){const _0xad4949=_0x492810,_0x394903=this[_0xad4949(0x135)][_0xad4949(0x140)](_0x199562);if(!_0x394903||!_0x394903[_0xad4949(0x138)]||!_0x394903[_0xad4949(0x136)])return;const _0x20d691=this[_0xad4949(0x12a)](_0x394903,_0x394903[_0xad4949(0x136)]);this[_0xad4949(0x15e)](_0x199562,_0x20d691);}[_0x492810(0x12a)](_0x534766,_0x5b7048){const _0x193493=_0x492810;if(null===_0x5b7048)return 0x0;if(_0x534766[_0x193493(0x138)]instanceof _0x192841)return _0x5b7048[_0x193493(0x13d)];{const _0x252669=new _0x192841(this[_0x193493(0x146)][_0x193493(0x11d)])[_0x193493(0x13d)];return _0x5b7048[_0x193493(0x13d)]-_0x252669;}}[_0x492810(0x15e)](_0x5e5148,_0x5ab387,_0x4682f6=this[_0x492810(0x14f)][_0x492810(0x11b)][_0x492810(0x140)](_0x492810(0x14d))){const _0x1aa2a8=_0x492810;_0x4682f6&&(_0x5ab387=Math[_0x1aa2a8(0x110)](_0x5ab387,this[_0x1aa2a8(0x13a)](_0x5e5148))),_0x5e5148[_0x1aa2a8(0x13d)]=_0x5ab387;}[_0x492810(0x13a)](_0x5807f5){const _0x470417=_0x492810;let _0x151594=this[_0x470417(0x160)](_0x5807f5),_0x9bf300=0x0;for(;_0x151594;)_0x151594[_0x470417(0x11a)](),_0x9bf300+=this[_0x470417(0x144)]+_0x151594[_0x470417(0x145)],_0x151594=this[_0x470417(0x160)](_0x151594);return _0x9bf300;}}function M(_0x901dba,_0x4bfc3c){const _0x241ed8=_0x492810;return Math[_0x241ed8(0x110)](_0x901dba-_0x4bfc3c,0x0);}function y(_0x55ecc9){const _0x286d2d=_0x492810;return null!==_0x55ecc9&&_0x286d2d(0x127)==typeof _0x55ecc9&&0x1===_0x55ecc9[_0x286d2d(0x130)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x16e7(_0x301ea5,_0x16c730){const _0x14f6e6=_0x14f6();return _0x16e7=function(_0x16e785,_0x508f6c){_0x16e785=_0x16e785-0x17d;let _0x5152e8=_0x14f6e6[_0x16e785];return _0x5152e8;},_0x16e7(_0x301ea5,_0x16c730);}function _0x14f6(){const _0x581a5c=['6OLnaer','counterView','ck-annotation-counter','annotationType','setTemplate','extendTemplate','add','isDirty','_badge','...','1006655vHrRrI','bind','number','2fdeShg','6431312jXcypi','icon','20qublAC','1354830hfKPLi','ck-annotation-counter__badge--','bindTemplate','382617iKKvDe','children','ck-annotation-counter__badge--edit-mode','3300975FRxmvh','ck-annotation-counter__badge','toString','3629305vZoucE','9555714Ylcdwu','set','span'];_0x14f6=function(){return _0x581a5c;};return _0x14f6();}(function(_0x4409c2,_0x4d330f){const _0x3679ef=_0x16e7,_0xbb5cb3=_0x4409c2();while(!![]){try{const _0x2b2076=parseInt(_0x3679ef(0x195))/0x1*(parseInt(_0x3679ef(0x198))/0x2)+-parseInt(_0x3679ef(0x181))/0x3*(-parseInt(_0x3679ef(0x17d))/0x4)+-parseInt(_0x3679ef(0x187))/0x5*(-parseInt(_0x3679ef(0x18b))/0x6)+-parseInt(_0x3679ef(0x188))/0x7+-parseInt(_0x3679ef(0x199))/0x8+parseInt(_0x3679ef(0x184))/0x9+parseInt(_0x3679ef(0x17e))/0xa;if(_0x2b2076===_0x4d330f)break;else _0xbb5cb3['push'](_0xbb5cb3['shift']());}catch(_0x4946c3){_0xbb5cb3['push'](_0xbb5cb3['shift']());}}}(_0x14f6,0xabbdd));import{ButtonView as _0x509893,View as _0x282dd8}from'ckeditor5/src/ui.js';import _0x5b10fb from'../../../theme/icons/add-comment.svg';export default class D extends _0x509893{constructor(_0x4359c7){const _0x533a47=_0x16e7;super(_0x4359c7);const _0x38b107=this[_0x533a47(0x180)];this[_0x533a47(0x189)](_0x533a47(0x192),!0x1),this[_0x533a47(0x189)](_0x533a47(0x197),0x0),this[_0x533a47(0x196)](_0x533a47(0x193))['to'](this,_0x533a47(0x192),this,_0x533a47(0x197),(_0x329720,_0x526133)=>_0x329720?_0x533a47(0x194):_0x526133[_0x533a47(0x186)]()),this[_0x533a47(0x189)](_0x533a47(0x18e),''),this[_0x533a47(0x19a)]=_0x5b10fb,this[_0x533a47(0x190)]({'attributes':{'class':[_0x533a47(0x18d)]}}),this[_0x533a47(0x18c)]=new _0x282dd8(),this[_0x533a47(0x18c)][_0x533a47(0x18f)]({'tag':_0x533a47(0x18a),'attributes':{'class':[_0x533a47(0x185),_0x38b107['to'](_0x533a47(0x18e),_0xf9f355=>_0x533a47(0x17f)+_0xf9f355),_0x38b107['if'](_0x533a47(0x192),_0x533a47(0x183))]},'children':[{'text':_0x38b107['to'](_0x533a47(0x193))}]}),this[_0x533a47(0x182)][_0x533a47(0x191)](this[_0x533a47(0x18c)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42b4f2=_0x1566;(function(_0x4ed362,_0x3669b4){const _0x353104=_0x1566,_0xc409de=_0x4ed362();while(!![]){try{const _0x29255b=parseInt(_0x353104(0x13d))/0x1*(parseInt(_0x353104(0x141))/0x2)+parseInt(_0x353104(0x149))/0x3*(parseInt(_0x353104(0x12c))/0x4)+parseInt(_0x353104(0x137))/0x5+-parseInt(_0x353104(0x146))/0x6*(parseInt(_0x353104(0x134))/0x7)+parseInt(_0x353104(0x138))/0x8+parseInt(_0x353104(0x156))/0x9+-parseInt(_0x353104(0x139))/0xa*(parseInt(_0x353104(0x13a))/0xb);if(_0x29255b===_0x3669b4)break;else _0xc409de['push'](_0xc409de['shift']());}catch(_0x18f63d){_0xc409de['push'](_0xc409de['shift']());}}}(_0x28c5,0xeaa3f));import{View as _0x4c0a2b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x98ce1c,KeystrokeHandler as _0x40fe13,uid as _0x53d370}from'ckeditor5/src/utils.js';import _0x2f0b03 from'../../utils/createmutationobserver.js';function _0x28c5(){const _0x2c67c6=['length','height','1708272vnEgXx','_mutationObserver','keystrokes','140199ByeNGU','attach','listenTo','element','mainView','focusTracker','render','setTemplate','content','set','_updateHeight','ck-rounded-corners','destroy','5799663CASoGr','36IeCoXx','createCollection','div','detach','add','isActive','Esc','type','7vOMsVw','isDirty','clear','334120VJvXBT','159584ndIFeQ','55820MxSsvb','88xXASWq','targetRect','ck-annotation-wrapper--active','138679thEAeB','ck-annotation-wrapper','clientHeight','focus','2ytmcgB','bindTemplate','fire'];_0x28c5=function(){return _0x2c67c6;};return _0x28c5();}import'../../../theme/annotation.css';function _0x1566(_0x484752,_0x36e59d){const _0x28c540=_0x28c5();return _0x1566=function(_0x156697,_0x3dbd7d){_0x156697=_0x156697-0x12c;let _0x24d922=_0x28c540[_0x156697];return _0x24d922;},_0x1566(_0x484752,_0x36e59d);}export default class V extends _0x4c0a2b{constructor(_0x13f7c6,_0x32854d){const _0x469d95=_0x1566;super(_0x13f7c6),this['id']=_0x53d370(),this[_0x469d95(0x14e)]=new _0x98ce1c(),this[_0x469d95(0x148)]=new _0x40fe13(),this[_0x469d95(0x148)][_0x469d95(0x152)](_0x469d95(0x132),(_0x5d2dd7,_0x5a1ad0)=>this[_0x469d95(0x143)](_0x469d95(0x132),_0x5a1ad0)),this[_0x469d95(0x152)](_0x469d95(0x13b),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x469d95(0x152)](_0x469d95(0x145),0x0),this[_0x469d95(0x152)](_0x469d95(0x131),!0x1),this[_0x469d95(0x152)](_0x469d95(0x135),!0x1),this[_0x469d95(0x152)](_0x469d95(0x144),0x0),this[_0x469d95(0x152)](_0x469d95(0x133),''),this[_0x469d95(0x147)]=_0x2f0b03(()=>this[_0x469d95(0x153)]()),this[_0x469d95(0x151)]=this[_0x469d95(0x12d)](),this[_0x469d95(0x151)][_0x469d95(0x130)](_0x32854d),this[_0x469d95(0x14d)]=_0x32854d;const _0x3834da=this[_0x469d95(0x142)];this[_0x469d95(0x150)]({'tag':_0x469d95(0x12e),'attributes':{'class':['ck',_0x469d95(0x13e),_0x469d95(0x154),_0x3834da['if'](_0x469d95(0x131),_0x469d95(0x13c))],'tabindex':-0x1},'children':this[_0x469d95(0x151)]});}[_0x42b4f2(0x14f)](){const _0x2abd7f=_0x42b4f2;super[_0x2abd7f(0x14f)](),this[_0x2abd7f(0x14e)][_0x2abd7f(0x130)](this[_0x2abd7f(0x14c)]),this[_0x2abd7f(0x148)][_0x2abd7f(0x14b)](this[_0x2abd7f(0x14c)]),this[_0x2abd7f(0x147)][_0x2abd7f(0x14a)](this[_0x2abd7f(0x14c)]);}[_0x42b4f2(0x155)](){const _0x48b58a=_0x42b4f2;this[_0x48b58a(0x151)][_0x48b58a(0x136)](),this[_0x48b58a(0x148)][_0x48b58a(0x155)](),this[_0x48b58a(0x14e)][_0x48b58a(0x155)](),this[_0x48b58a(0x147)][_0x48b58a(0x12f)](),super[_0x48b58a(0x155)]();}[_0x42b4f2(0x140)](){const _0x43479c=_0x42b4f2;this[_0x43479c(0x14c)][_0x43479c(0x140)]();}[_0x42b4f2(0x153)](){const _0x35ae9c=_0x42b4f2,_0x4afee5=this[_0x35ae9c(0x14c)][_0x35ae9c(0x13f)];_0x4afee5&&(this[_0x35ae9c(0x145)]=_0x4afee5);}}
|