@ckeditor/ckeditor5-comments 43.2.0-alpha.6 → 43.2.0-alpha.7
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/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/annotations/annotation.js +2 -2
- 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.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d5fae=>{const {zh:{dictionary:_0x46d865,getPluralForm:_0x2b610e}}={'zh':{'dictionary':{'Comment\x20editor':'留言編輯器','NUMBER_OF_COMMENTS':'%0\x20則留言','TOO_LONG_COMMENT_ALERT':'留言內容太長。你的留言有\x20%0\x20個字,上限字數為\x20%1。','Reply...':'回覆...','Reply\x20to\x20reopen\x20discussion...':'回覆以重新開啟討論...','Write\x20a\x20comment...':'撰寫留言...','Comment\x20was\x20made\x20on\x20an\x20element':'對元件進行的留言','Edit':'編輯','Resolve':'解決','Reopen':'重新開啟','Remove':'刪除','Reply':'回覆','Delete\x20comment?':'刪除留言?','Delete\x20comment\x20thread?':'刪除討論串?','Marked\x20as\x20resolved':'已標記為解決','Comment':'留言','Annotations\x20sidebar':'註釋側邊欄','Annotations\x20list':'註釋清單','Thread\x20comments':'討論串留言','THREAD_CONTEXT_LABEL':'討論串脈絡:%0','COMMENT_THREAD_LABEL':'留言討論串發起人:%1。%1\x20則回覆。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20鍵可取得更多選項。按\x20Esc\x20鍵即可退出。','COMMENT_ARIA_LABEL':'留言者:%0。建立時間:%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'留言清單','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'能夠與註釋討論串互動的按鍵輸入(例如留言、追蹤變更建議)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'當選取範圍錨定於其標記處時,將焦點移至討論串','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'離開註釋並將焦點移回已編輯的內容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'瀏覽已聚焦的註釋討論串或討論串留言','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在註釋討論串內部移動','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在撰寫留言時提交回覆','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至註釋側邊欄或留言封存中的上一個或下一個討論串','ENTER_COMMENT_ANNOUNCEMENT':'正在進入含有留言的內容。按\x20%0\x20即可前往討論區。','LEAVE_COMMENT_ANNOUNCEMENT':'正在離開含有留言的內容。','PENDING_ACTION_COMMENT_THREAD':'討論串尚未儲存。','EXTERNAL_COMMENT':'此留言來自外部來源。','EXTERNAL_IMPORT_WORD_COMMENT':'此留言來自匯入的\x20Word\x20檔案。','EXTERNAL_AVATAR':'顯示的作者名稱來自外部來源(由\x20%0\x20新增)','EXTERNAL_IMPORT_WORD_AVATAR':'顯示的作者名稱來自由\x20%0\x20匯入的\x20Word\x20文件','COMMENTS_ARCHIVE':'留言封存紀錄','EMPTY_COMMENTS_ARCHIVE':'無封存的留言串。'},'getPluralForm':_0xb0192f=>0x0}};_0x3d5fae['zh']||={'dictionary':{},'getPluralForm':null},_0x3d5fae['zh']['dictionary']=Object['assign'](_0x3d5fae['zh']['dictionary'],_0x46d865),_0x3d5fae['zh']['getPluralForm']=_0x2b610e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "43.2.0-alpha.
|
|
3
|
+
"version": "43.2.0-alpha.7",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -45,20 +45,20 @@
|
|
|
45
45
|
"CHANGELOG.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@ckeditor/ckeditor5-clipboard": "43.2.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-collaboration-core": "43.2.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-core": "43.2.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-engine": "43.2.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-enter": "43.2.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-paragraph": "43.2.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-select-all": "43.2.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-theme-lark": "43.2.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-typing": "43.2.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-ui": "43.2.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-undo": "43.2.0-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-utils": "43.2.0-alpha.
|
|
60
|
-
"ckeditor5": "43.2.0-alpha.
|
|
61
|
-
"ckeditor5-collaboration": "43.2.0-alpha.
|
|
48
|
+
"@ckeditor/ckeditor5-clipboard": "43.2.0-alpha.7",
|
|
49
|
+
"@ckeditor/ckeditor5-collaboration-core": "43.2.0-alpha.7",
|
|
50
|
+
"@ckeditor/ckeditor5-core": "43.2.0-alpha.7",
|
|
51
|
+
"@ckeditor/ckeditor5-engine": "43.2.0-alpha.7",
|
|
52
|
+
"@ckeditor/ckeditor5-enter": "43.2.0-alpha.7",
|
|
53
|
+
"@ckeditor/ckeditor5-paragraph": "43.2.0-alpha.7",
|
|
54
|
+
"@ckeditor/ckeditor5-select-all": "43.2.0-alpha.7",
|
|
55
|
+
"@ckeditor/ckeditor5-theme-lark": "43.2.0-alpha.7",
|
|
56
|
+
"@ckeditor/ckeditor5-typing": "43.2.0-alpha.7",
|
|
57
|
+
"@ckeditor/ckeditor5-ui": "43.2.0-alpha.7",
|
|
58
|
+
"@ckeditor/ckeditor5-undo": "43.2.0-alpha.7",
|
|
59
|
+
"@ckeditor/ckeditor5-utils": "43.2.0-alpha.7",
|
|
60
|
+
"ckeditor5": "43.2.0-alpha.7",
|
|
61
|
+
"ckeditor5-collaboration": "43.2.0-alpha.7",
|
|
62
62
|
"lodash-es": "4.17.21"
|
|
63
63
|
},
|
|
64
64
|
"types": "src/index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x5615dc=_0x4eb1;function _0x4eb1(_0x2c7144,_0x1dd377){const _0x1bbd6f=_0x1bbd();return _0x4eb1=function(_0x4eb151,_0x424664){_0x4eb151=_0x4eb151-0xa5;let _0x340761=_0x1bbd6f[_0x4eb151];return _0x340761;},_0x4eb1(_0x2c7144,_0x1dd377);}(function(_0x2cdeeb,_0x1ea272){const _0x3d7d2e=_0x4eb1,_0xa14adc=_0x2cdeeb();while(!![]){try{const _0xcdc46=parseInt(_0x3d7d2e(0xab))/0x1*(parseInt(_0x3d7d2e(0xb9))/0x2)+parseInt(_0x3d7d2e(0xce))/0x3*(parseInt(_0x3d7d2e(0xb2))/0x4)+-parseInt(_0x3d7d2e(0xb6))/0x5+parseInt(_0x3d7d2e(0xcc))/0x6+-parseInt(_0x3d7d2e(0xbe))/0x7+-parseInt(_0x3d7d2e(0xb7))/0x8+parseInt(_0x3d7d2e(0xcf))/0x9;if(_0xcdc46===_0x1ea272)break;else _0xa14adc['push'](_0xa14adc['shift']());}catch(_0x17b27b){_0xa14adc['push'](_0xa14adc['shift']());}}}(_0x1bbd,0x44c86));function _0x1bbd(){const _0x586f71=['mainView','4OhsOCv','innerView','_target','annotation-invalid-target','1607230ljZFlM','1929432aSiaIW','add','1244QiFCwy','targetRect','item','remove','set','3393747IxiiGS','_id','target','updateTargetRect','type','focusableElements','stopListening','refreshVisibility','every','clear','isArray','destroy','focusTracker','filter','2143128YrTGGB','_type','227139UMZfTU','3005919ytpQCX','function','view','isActive','nodeType','isVisible','_getNormalizedTarget','render','_assertCorrectTarget','904bnVkNh','length','object','offsetParent','getClientRects','element'];_0x1bbd=function(){return _0x586f71;};return _0x1bbd();}import{CKEditorError as _0x3a7016,Rect as _0x586c16,Collection as _0x3d05e9,ObservableMixin as _0x296245}from'ckeditor5/src/utils.js';export default class d extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x296245(){constructor({view:_0x2ecf1c,target:_0x366a75,type:_0x532b74,isVisible:_0x1dbccf=!0x0}){const _0x49007b=_0x4eb1;super(),this[_0x49007b(0xd1)]=_0x2ecf1c,this[_0x49007b(0xd1)][_0x49007b(0xb0)]||this[_0x49007b(0xd1)][_0x49007b(0xa9)](),this[_0x49007b(0xcd)]=_0x532b74,this[_0x49007b(0xb4)]=_0x366a75,d[_0x49007b(0xaa)](this[_0x49007b(0xa8)]()),this[_0x49007b(0xc3)]=new _0x3d05e9([this[_0x49007b(0xd1)][_0x49007b(0xb0)]],{'idProperty':_0x49007b(0xbf)}),this[_0x49007b(0xc3)]['on'](_0x49007b(0xb8),(_0x2eef63,_0x11db8c)=>{const _0x14d034=_0x49007b;this[_0x14d034(0xd1)][_0x14d034(0xca)][_0x14d034(0xb8)](_0x11db8c);}),this[_0x49007b(0xc3)]['on'](_0x49007b(0xbc),(_0x262882,_0x31a0ca)=>{const _0x8c142b=_0x49007b;this[_0x8c142b(0xd1)][_0x8c142b(0xca)][_0x8c142b(0xbc)](_0x31a0ca);}),this[_0x49007b(0xbd)](_0x49007b(0xa7),_0x1dbccf);}get[_0x5615dc(0xc2)](){const _0x5aa5db=_0x5615dc;return _0x5aa5db(0xd0)==typeof this[_0x5aa5db(0xcd)]?this[_0x5aa5db(0xcd)]():this[_0x5aa5db(0xcd)];}get[_0x5615dc(0xb3)](){const _0x5c10d5=_0x5615dc;return this[_0x5c10d5(0xd1)][_0x5c10d5(0xb1)];}get[_0x5615dc(0xc0)](){const _0x27d86f=_0x5615dc,_0x2f121d=this[_0x27d86f(0xa8)]();return d[_0x27d86f(0xaa)](_0x2f121d),_0x2f121d;}get[_0x5615dc(0xba)](){const _0x1702c3=_0x5615dc,_0x486392=this[_0x1702c3(0xc0)];if(null===_0x486392)return null;if(_0x486392 instanceof _0x586c16)return _0x486392;const _0x503032=_0x486392[_0x1702c3(0xcb)](_0x5686c1=>function(_0x48ffe){const _0xbfc2c8=_0x1702c3,_0x15161a=_0x48ffe[_0xbfc2c8(0xae)];if(_0x15161a)return!0x0;const _0x10bd49=_0x48ffe[_0xbfc2c8(0xaf)]()[_0xbfc2c8(0xbb)](0x0);return!!_0x10bd49;}(_0x5686c1));return 0x0===_0x503032[_0x1702c3(0xac)]?null:new _0x586c16(_0x503032[0x0][_0x1702c3(0xaf)]()[_0x1702c3(0xbb)](0x0));}get[_0x5615dc(0xa5)](){const _0x172efb=_0x5615dc;return this[_0x172efb(0xd1)][_0x172efb(0xa5)];}set[_0x5615dc(0xa5)](_0x433957){const _0x105111=_0x5615dc;this[_0x105111(0xd1)][_0x105111(0xa5)]=_0x433957,this[_0x105111(0xd1)][_0x105111(0xb1)][_0x105111(0xa5)]=_0x433957;}[_0x5615dc(0xc1)](){const _0x3e03ba=_0x5615dc;this[_0x3e03ba(0xd1)][_0x3e03ba(0xba)]=this[_0x3e03ba(0xba)];}[_0x5615dc(0xc9)](){const _0x7ce3e3=_0x5615dc;this[_0x7ce3e3(0xc3)][_0x7ce3e3(0xc4)](),this[_0x7ce3e3(0xc3)][_0x7ce3e3(0xc7)](),this[_0x7ce3e3(0xc4)]();}[_0x5615dc(0xc5)](){const _0x5c5c00=_0x5615dc;this[_0x5c5c00(0xa7)]=!!this[_0x5c5c00(0xba)];}static[_0x5615dc(0xaa)](_0x33ec64){const _0x2672fd=_0x5615dc;if(!(null===_0x33ec64||_0x33ec64 instanceof _0x586c16||Array[_0x2672fd(0xc8)](_0x33ec64)&&_0x33ec64[_0x2672fd(0xc6)](_0x4b86b2=>y(_0x4b86b2))))throw new _0x3a7016(_0x2672fd(0xb5),null,{'target':_0x33ec64});}[_0x5615dc(0xa8)](){const _0x3eeb68=_0x5615dc,_0x31b6c3=_0x3eeb68(0xd0)==typeof this[_0x3eeb68(0xb4)]?this[_0x3eeb68(0xb4)]():this[_0x3eeb68(0xb4)];return y(_0x31b6c3)?[_0x31b6c3]:_0x31b6c3;}}function y(_0x58525a){const _0x30d882=_0x5615dc;return null!==_0x58525a&&_0x30d882(0xad)==typeof _0x58525a&&_0x30d882(0xa6)in _0x58525a&&0x1===_0x58525a[_0x30d882(0xa6)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3d02(){const _0x266fca=['63815YIPJce','stopListening','659253rJoocQ','_sort','getByView','innerView','getIndex','delete','3962358RGlfId','set','left','1446910JmdYRA','fire','length','1397796LPzIVq','change:isFocused','getByInnerView','view','focusableElements','_viewToAnnotation','_innerViewToAnnotation','_focusTracker','updateTargetRect','add','clear','remove','destroy','annotationcollection-not-existing-item','blur','targetRect','top','focus','8rdPSnu','has','isFocused','from','988352eqQnNI','get','_getOrderInContent','listenTo','focusTracker','sort','2620772RdRlNu','refreshPositioning','annotationcollection-duplicated-item'];_0x3d02=function(){return _0x266fca;};return _0x3d02();}const _0x2c117c=_0x1a0f;(function(_0x14f1c5,_0x222c38){const _0x266176=_0x1a0f,_0x45ce2a=_0x14f1c5();while(!![]){try{const _0x51e7ff=parseInt(_0x266176(0x200))/0x1*(-parseInt(_0x266176(0x1f3))/0x2)+-parseInt(_0x266176(0x20e))/0x3+parseInt(_0x266176(0x1fd))/0x4+-parseInt(_0x266176(0x20b))/0x5+parseInt(_0x266176(0x208))/0x6+-parseInt(_0x266176(0x202))/0x7+parseInt(_0x266176(0x1f7))/0x8;if(_0x51e7ff===_0x222c38)break;else _0x45ce2a['push'](_0x45ce2a['shift']());}catch(_0xeeda51){_0x45ce2a['push'](_0x45ce2a['shift']());}}}(_0x3d02,0x51a29));function _0x1a0f(_0x7bf4ed,_0x5aa3b4){const _0x3d02d5=_0x3d02();return _0x1a0f=function(_0x1a0f92,_0x50cbfc){_0x1a0f92=_0x1a0f92-0x1eb;let _0x4eb1ff=_0x3d02d5[_0x1a0f92];return _0x4eb1ff;},_0x1a0f(_0x7bf4ed,_0x5aa3b4);}import{CKEditorError as _0x42f26d,Collection as _0x52e075,FocusTracker as _0x5972f8}from'ckeditor5/src/utils.js';export default class x extends _0x52e075{constructor(_0x25dfa4=[]){const _0x3aee32=_0x1a0f;super(),this[_0x3aee32(0x214)]=new Map(),this[_0x3aee32(0x213)]=new Map(),this[_0x3aee32(0x215)]=new _0x5972f8(),this[_0x3aee32(0x215)]['on'](_0x3aee32(0x20f),(_0x41693c,_0x5d5992,_0x369eb5)=>{const _0x3e67c3=_0x3aee32;_0x369eb5||this[_0x3e67c3(0x20c)](_0x3e67c3(0x1ef));});for(const _0x138e89 of _0x25dfa4)this[_0x3aee32(0x217)](_0x138e89);}get[_0x2c117c(0x1f5)](){const _0x4e7aef=_0x2c117c;return this[_0x4e7aef(0x215)][_0x4e7aef(0x1f5)];}[_0x2c117c(0x217)](_0x16cc39){const _0x20dc74=_0x2c117c;if(this[_0x20dc74(0x1f4)](_0x16cc39))throw new _0x42f26d(_0x20dc74(0x1ff),null);this[_0x20dc74(0x214)][_0x20dc74(0x209)](_0x16cc39[_0x20dc74(0x205)],_0x16cc39),this[_0x20dc74(0x213)][_0x20dc74(0x209)](_0x16cc39[_0x20dc74(0x211)],_0x16cc39);for(const _0x2727f4 of _0x16cc39[_0x20dc74(0x212)])this[_0x20dc74(0x215)][_0x20dc74(0x217)](_0x2727f4);this[_0x20dc74(0x1fa)](_0x16cc39[_0x20dc74(0x212)],_0x20dc74(0x217),(_0x2aac7d,_0x57fb54)=>{const _0x3d35b3=_0x20dc74;this[_0x3d35b3(0x215)][_0x3d35b3(0x217)](_0x57fb54);}),this[_0x20dc74(0x1fa)](_0x16cc39[_0x20dc74(0x212)],_0x20dc74(0x1ec),(_0x49b2d1,_0x3d228f)=>{const _0x56abe6=_0x20dc74;this[_0x56abe6(0x215)][_0x56abe6(0x1ec)](_0x3d228f);}),this[_0x20dc74(0x1fa)](_0x16cc39[_0x20dc74(0x211)][_0x20dc74(0x1fb)],_0x20dc74(0x20f),(_0x230183,_0x1f40de,_0x352ca8)=>{const _0x505bdb=_0x20dc74;_0x352ca8&&this[_0x505bdb(0x20c)](_0x505bdb(0x1f2),_0x16cc39);}),_0x16cc39[_0x20dc74(0x216)]();const _0x590899=this[_0x20dc74(0x1f9)](_0x16cc39[_0x20dc74(0x211)][_0x20dc74(0x1f0)]);return super[_0x20dc74(0x217)](_0x16cc39,_0x590899);}[_0x2c117c(0x1ec)](_0x574a5b){const _0x5b54ee=_0x2c117c;if(!this[_0x5b54ee(0x1f4)](_0x574a5b))throw new _0x42f26d(_0x5b54ee(0x1ee),null);this[_0x5b54ee(0x201)](_0x574a5b[_0x5b54ee(0x211)][_0x5b54ee(0x1fb)]),this[_0x5b54ee(0x201)](_0x574a5b[_0x5b54ee(0x212)]);for(const _0x177285 of _0x574a5b[_0x5b54ee(0x212)])this[_0x5b54ee(0x215)][_0x5b54ee(0x1ec)](_0x177285);return this[_0x5b54ee(0x213)][_0x5b54ee(0x207)](_0x574a5b[_0x5b54ee(0x211)]),this[_0x5b54ee(0x214)][_0x5b54ee(0x207)](_0x574a5b[_0x5b54ee(0x205)]),super[_0x5b54ee(0x1ec)](_0x574a5b);}[_0x2c117c(0x210)](_0x586866){const _0x51f6de=_0x2c117c;return this[_0x51f6de(0x214)][_0x51f6de(0x1f8)](_0x586866);}[_0x2c117c(0x204)](_0x589c96){const _0x366e56=_0x2c117c;return this[_0x366e56(0x213)][_0x366e56(0x1f8)](_0x589c96);}[_0x2c117c(0x1ed)](){const _0x3262ca=_0x2c117c;super[_0x3262ca(0x1eb)](),this[_0x3262ca(0x201)](),this[_0x3262ca(0x214)][_0x3262ca(0x1eb)](),this[_0x3262ca(0x213)][_0x3262ca(0x1eb)](),this[_0x3262ca(0x215)][_0x3262ca(0x1ed)]();}[_0x2c117c(0x1fe)](){const _0x395bb4=_0x2c117c;for(const _0x4fee0a of this)_0x4fee0a[_0x395bb4(0x216)]();this[_0x395bb4(0x203)]();}[_0x2c117c(0x203)](){const _0x1d8a5d=_0x2c117c,_0x4bd263=Array[_0x1d8a5d(0x1f6)](this)[_0x1d8a5d(0x1fc)]((_0x1d9cbe,_0x4a2099)=>v(_0x1d9cbe[_0x1d8a5d(0x211)][_0x1d8a5d(0x1f0)],_0x4a2099[_0x1d8a5d(0x211)][_0x1d8a5d(0x1f0)]));for(let _0x453e18=_0x4bd263[_0x1d8a5d(0x20d)]-0x1;_0x453e18>0x0;_0x453e18--){const _0x4c0c88=_0x4bd263[_0x453e18];_0x453e18!==this[_0x1d8a5d(0x206)](_0x4c0c88)&&(this[_0x1d8a5d(0x1ec)](_0x4c0c88),this[_0x1d8a5d(0x217)](_0x4c0c88));}}[_0x2c117c(0x1f9)](_0x18f3e6){const _0x399af3=_0x2c117c;let _0x37ca39=0x0;if(!_0x18f3e6)return this[_0x399af3(0x20d)];for(const _0x26a2cc of this){const _0x1d78f3=_0x26a2cc[_0x399af3(0x211)][_0x399af3(0x1f0)];if(_0x1d78f3){if(v(_0x18f3e6,_0x1d78f3)<0x0)return _0x37ca39;_0x37ca39++;}}return _0x37ca39;}}export function bindAnnotationCollections({source:_0x531c75,target:_0x284c22,filter:_0x5f2d84}){const _0x376424=_0x2c117c;for(const _0x2ec8e0 of _0x531c75)_0x5f2d84(_0x2ec8e0)&&_0x284c22[_0x376424(0x217)](_0x2ec8e0);_0x284c22[_0x376424(0x1fa)](_0x531c75,_0x376424(0x217),(_0x56c929,_0x46fe64)=>{const _0x20c5d9=_0x376424;_0x5f2d84(_0x46fe64)&&_0x284c22[_0x20c5d9(0x217)](_0x46fe64);}),_0x284c22[_0x376424(0x1fa)](_0x531c75,_0x376424(0x1ec),(_0x2c0617,_0x210782)=>{const _0x5bf04d=_0x376424;_0x284c22[_0x5bf04d(0x1f4)](_0x210782)&&_0x284c22[_0x5bf04d(0x1ec)](_0x210782);});}function v(_0xd44bfd,_0x21b4af){const _0x518b1d=_0x2c117c;if(null===_0xd44bfd&&null===_0x21b4af)return 0x0;if(null===_0xd44bfd)return-0x1;if(null===_0x21b4af)return 0x1;const _0x2daa66=_0xd44bfd[_0x518b1d(0x1f1)]-_0x21b4af[_0x518b1d(0x1f1)];return 0x0==_0x2daa66?_0xd44bfd[_0x518b1d(0x20a)]-_0x21b4af[_0x518b1d(0x20a)]:_0x2daa66;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3eecef=_0x5460;(function(_0x577370,_0x47f45e){const _0x393fe0=_0x5460,_0x26a553=_0x577370();while(!![]){try{const _0x284a65=-parseInt(_0x393fe0(0x15a))/0x1+-parseInt(_0x393fe0(0x14c))/0x2*(parseInt(_0x393fe0(0x12c))/0x3)+parseInt(_0x393fe0(0x156))/0x4*(-parseInt(_0x393fe0(0x122))/0x5)+-parseInt(_0x393fe0(0x141))/0x6+parseInt(_0x393fe0(0x116))/0x7+-parseInt(_0x393fe0(0x12d))/0x8*(-parseInt(_0x393fe0(0x144))/0x9)+parseInt(_0x393fe0(0x14e))/0xa;if(_0x284a65===_0x47f45e)break;else _0x26a553['push'](_0x26a553['shift']());}catch(_0x2e7338){_0x26a553['push'](_0x26a553['shift']());}}}(_0x5910,0x1bb6f));import{ContextPlugin as _0x2e1366,Editor as _0x2067b2}from'ckeditor5/src/core.js';function _0x5460(_0x284e92,_0x80ab0e){const _0x5910fa=_0x5910();return _0x5460=function(_0x54605f,_0x1d0889){_0x54605f=_0x54605f-0x110;let _0x5028f2=_0x5910fa[_0x54605f];return _0x5028f2;},_0x5460(_0x284e92,_0x80ab0e);}function _0x5910(){const _0x5d7984=['domRoots','isArray','collection','locale','activate','1455510vXKhLr','accessibility','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','element','_visibleAnnotations','delete','Ctrl+Enter','low','stopListening','_setupEnterAnnotationKeystroke','source','ready','10cCGkVZ','Shift+Tab','escape','remove','Annotations','refreshPositioning','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','annotations','Esc','change:isVisible','49413ErldYT','8eqIrUy','_setupEscapeAnnotationHandling','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','target','context','listenTo','set','has','view','contains','addKeystrokeInfoGroup','createAnnotationView','values','pluginName','Ctrl+Shift+E','Enter','destroy','_bindAnnotationsToVisibleAnnotations','_deactivateAllAnnotations','refreshVisibility','853122AyHLmj','activeAnnotations','Arrowdown','677196jWsTlp','createAnnotation','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','editing','focus','editors','_addActiveAnnotation','fire','4FwbupX','deactivateAll','3911020zToIAK','Tab','isVisible','focusTracker','_activateAnnotation','keystrokes','Arrowup','push','448648ZAeEXu','_removeActiveAnnotation','add','getByInnerView','161304fdLrym','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'];_0x5910=function(){return _0x5d7984;};return _0x5910();}import{first as _0x3fefa7}from'ckeditor5/src/utils.js';import _0x9f5d9b from'./annotation.js';import _0x1fa952 from'./annotationcollection.js';import _0x4f3d77 from'./view/annotationview.js';import{getTranslation as _0x298477}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x6a3d4d}from'@ckeditor/ckeditor5-collaboration-core';export default class N extends _0x2e1366{static get[_0x3eecef(0x13a)](){const _0x4a7812=_0x3eecef;return _0x4a7812(0x126);}constructor(_0x3a1054){const _0x17fb03=_0x3eecef;if(super(_0x3a1054),this[_0x17fb03(0x113)]=new _0x1fa952(),this[_0x17fb03(0x11a)]=new _0x1fa952(),this[_0x17fb03(0x133)](_0x17fb03(0x142),new Set()),this[_0x17fb03(0x13e)](),_0x3a1054 instanceof _0x2067b2){const _0x585135=_0x3a1054[_0x17fb03(0x114)];_0x3a1054[_0x17fb03(0x117)][_0x17fb03(0x137)]({'id':_0x17fb03(0x129),'label':_0x298477(_0x585135,_0x17fb03(0x118)),'keystrokes':[{'label':_0x298477(_0x585135,_0x17fb03(0x15b)),'keystroke':_0x17fb03(0x13b)},{'label':_0x298477(_0x585135,_0x17fb03(0x15c)),'keystroke':_0x17fb03(0x12a)},{'label':_0x298477(_0x585135,_0x17fb03(0x128)),'keystroke':_0x17fb03(0x13c)},{'label':_0x298477(_0x585135,_0x17fb03(0x110)),'keystroke':[[_0x17fb03(0x14f)],[_0x17fb03(0x123)]]},{'label':_0x298477(_0x585135,_0x17fb03(0x146)),'keystroke':[_0x17fb03(0x11c)]},{'label':_0x298477(_0x585135,_0x17fb03(0x12f)),'keystroke':[[_0x17fb03(0x154)],[_0x17fb03(0x143)]]}]});}this[_0x17fb03(0x11f)](),this[_0x17fb03(0x12e)]();}[_0x3eecef(0x158)](_0x1bb8ec){const _0x1c8ae9=_0x3eecef;this[_0x1c8ae9(0x113)][_0x1c8ae9(0x158)](_0x1bb8ec);}[_0x3eecef(0x125)](_0x3a62e1){const _0x3c0037=_0x3eecef;this[_0x3c0037(0x113)][_0x3c0037(0x125)](_0x3a62e1),_0x3a62e1[_0x3c0037(0x13d)]();}[_0x3eecef(0x140)](){const _0x215447=_0x3eecef;for(const _0x2eec7c of this[_0x215447(0x113)])_0x2eec7c[_0x215447(0x140)]();}[_0x3eecef(0x127)](){const _0x1072fe=_0x3eecef;this[_0x1072fe(0x11a)][_0x1072fe(0x127)]();}[_0x3eecef(0x159)](_0x31f6a1){const _0x5aa817=_0x3eecef;return this[_0x5aa817(0x113)][_0x5aa817(0x159)](_0x31f6a1);}[_0x3eecef(0x14d)](){const _0x286d0f=_0x3eecef;this[_0x286d0f(0x14b)](_0x286d0f(0x13f));}[_0x3eecef(0x13d)](){const _0x4e6c98=_0x3eecef;for(const _0x529556 of this[_0x4e6c98(0x113)])_0x529556[_0x4e6c98(0x13d)]();this[_0x4e6c98(0x11a)][_0x4e6c98(0x13d)](),this[_0x4e6c98(0x113)][_0x4e6c98(0x13d)](),super[_0x4e6c98(0x13d)]();}[_0x3eecef(0x115)](_0x1c3860){const _0x4813a6=_0x3eecef;this[_0x4813a6(0x14b)](_0x4813a6(0x152),_0x1c3860);}[_0x3eecef(0x145)](_0x550fe7){return new _0x9f5d9b(_0x550fe7);}[_0x3eecef(0x138)](_0x1e44f5,_0x1bd631){return new _0x4f3d77(_0x1e44f5,_0x1bd631);}[_0x3eecef(0x14a)](_0x11fc60){const _0x501740=_0x3eecef,_0x5137c6=new Set(this[_0x501740(0x142)]);_0x5137c6[_0x501740(0x158)](_0x11fc60),this[_0x501740(0x142)]=_0x5137c6;}[_0x3eecef(0x157)](_0x144d5f){const _0x3782d0=_0x3eecef,_0x3bc358=new Set(this[_0x3782d0(0x142)]);_0x3bc358[_0x3782d0(0x11b)](_0x144d5f),this[_0x3782d0(0x142)]=_0x3bc358;}[_0x3eecef(0x13e)](){const _0x1753d8=_0x3eecef,_0x225b44=this[_0x1753d8(0x113)],_0x36269c=this[_0x1753d8(0x11a)];function _0x3c102e(_0x22ef5f){const _0x5ec6aa=_0x1753d8,_0x25e710=_0x22ef5f[_0x5ec6aa(0x120)];_0x25e710[_0x5ec6aa(0x150)]&&!_0x36269c[_0x5ec6aa(0x134)](_0x25e710)?_0x36269c[_0x5ec6aa(0x158)](_0x25e710):!_0x25e710[_0x5ec6aa(0x150)]&&_0x36269c[_0x5ec6aa(0x134)](_0x25e710)&&_0x36269c[_0x5ec6aa(0x125)](_0x25e710),_0x25e710[_0x5ec6aa(0x135)][_0x5ec6aa(0x151)][_0x5ec6aa(0x125)](_0x25e710[_0x5ec6aa(0x135)][_0x5ec6aa(0x119)]),_0x25e710[_0x5ec6aa(0x135)][_0x5ec6aa(0x151)][_0x5ec6aa(0x158)](_0x25e710[_0x5ec6aa(0x135)][_0x5ec6aa(0x119)]);}this[_0x1753d8(0x132)](_0x225b44,_0x1753d8(0x158),(_0x2191dc,_0x71b119)=>{const _0x12681d=_0x1753d8;_0x71b119[_0x12681d(0x150)]&&_0x36269c[_0x12681d(0x158)](_0x71b119),this[_0x12681d(0x132)](_0x71b119,_0x12681d(0x12b),_0x3c102e);}),this[_0x1753d8(0x132)](_0x225b44,_0x1753d8(0x125),(_0x3a62f6,_0x28a602)=>{const _0x4a6e6c=_0x1753d8;_0x36269c[_0x4a6e6c(0x134)](_0x28a602)&&_0x36269c[_0x4a6e6c(0x125)](_0x28a602),this[_0x4a6e6c(0x11e)](_0x28a602,_0x4a6e6c(0x12b),_0x3c102e);});}[_0x3eecef(0x11f)](){const _0x44f846=_0x3eecef,_0x80a2b7=_0x567d09=>{const _0x24c7a7=_0x5460;_0x567d09['on'](_0x24c7a7(0x121),()=>{const _0x1453bf=_0x24c7a7;_0x567d09[_0x1453bf(0x153)][_0x1453bf(0x133)](_0x6a3d4d,(_0x5c023e,_0x56e87d)=>{const _0x29e35f=_0x1453bf,_0x33d219=_0x3fefa7(this[_0x29e35f(0x142)][_0x29e35f(0x139)]());_0x33d219&&(_0x33d219[_0x29e35f(0x135)][_0x29e35f(0x148)](),_0x56e87d());});});};this[_0x44f846(0x131)]instanceof _0x2067b2?_0x80a2b7(this[_0x44f846(0x131)]):this[_0x44f846(0x131)][_0x44f846(0x149)]&&this[_0x44f846(0x131)][_0x44f846(0x149)]['on'](_0x44f846(0x158),(_0x12a7a0,_0x111435)=>{_0x80a2b7(_0x111435);});}[_0x3eecef(0x12e)](){const _0x3f3760=_0x3eecef,_0x355483=_0x48a7e4=>{const _0x34271d=_0x5460,_0x2c4132=_0x48a7e4[_0x34271d(0x120)],_0x50361c=[];let _0x48a34c;if(Array[_0x34271d(0x112)](_0x2c4132[_0x34271d(0x130)])){_0x48a34c=_0x2c4132[_0x34271d(0x130)][0x0],this[_0x34271d(0x131)]instanceof _0x2067b2?_0x50361c[_0x34271d(0x155)](this[_0x34271d(0x131)]):this[_0x34271d(0x131)][_0x34271d(0x149)]&&_0x50361c[_0x34271d(0x155)](...this[_0x34271d(0x131)][_0x34271d(0x149)]);for(const _0x1584e6 of _0x50361c)for(const _0x19915f of _0x1584e6[_0x34271d(0x147)][_0x34271d(0x135)][_0x34271d(0x111)][_0x34271d(0x139)]())if(_0x19915f[_0x34271d(0x136)](_0x48a34c))return void _0x1584e6[_0x34271d(0x147)][_0x34271d(0x135)][_0x34271d(0x148)]();_0x48a34c[_0x34271d(0x148)]();}};this[_0x3f3760(0x132)](this[_0x3f3760(0x113)],_0x3f3760(0x158),(_0x4dc51d,_0x47bc61)=>{const _0x4c313b=_0x3f3760;this[_0x4c313b(0x132)](_0x47bc61,_0x4c313b(0x124),_0x355483,{'priority':_0x4c313b(0x11d)});}),this[_0x3f3760(0x132)](this[_0x3f3760(0x113)],_0x3f3760(0x125),(_0x4eb5ca,_0x4973ad)=>{const _0x96d20=_0x3f3760;this[_0x96d20(0x11e)](_0x4973ad,_0x96d20(0x124),_0x355483);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2da4be=_0x2ec3;(function(_0x3a878a,_0x23a4e0){const _0x4b0da6=_0x2ec3,_0x521707=_0x3a878a();while(!![]){try{const _0x44b0d8=parseInt(_0x4b0da6(0x217))/0x1*(parseInt(_0x4b0da6(0x215))/0x2)+-parseInt(_0x4b0da6(0x1ec))/0x3+-parseInt(_0x4b0da6(0x222))/0x4+-parseInt(_0x4b0da6(0x218))/0x5+-parseInt(_0x4b0da6(0x207))/0x6+-parseInt(_0x4b0da6(0x227))/0x7*(-parseInt(_0x4b0da6(0x224))/0x8)+parseInt(_0x4b0da6(0x210))/0x9*(-parseInt(_0x4b0da6(0x21e))/0xa);if(_0x44b0d8===_0x23a4e0)break;else _0x521707['push'](_0x521707['shift']());}catch(_0x3fa959){_0x521707['push'](_0x521707['shift']());}}}(_0x5f1f,0x2842c));import{ContextPlugin as _0x530fbe}from'ckeditor5/src/core.js';import{CKEditorError as _0x2f6c71}from'ckeditor5/src/utils.js';function _0x5f1f(){const _0x4d3a8e=['_removeActiveAnnotation','context','refilterAnnotations','filter','from','10klKYKI','annotationsuis-missing-ui','plugins','pluginName','112388UmxQgN','AnnotationsUIs','1945432mIwkgv','set','deactivateAll','7mYlbTx','activeAnnotations','248481ckIksp','type','remove','_visibleAnnotations','_uis','listenTo','requires','delete','_setSelectedAnnotations','add','destroy','_addActiveAnnotation','activate','detach','_assertAnnotationDoesNotBelongToMultipleUIs','collection','annotationsuis-annotation-mismatch','register','size','_deactivateAllAnnotations','length','push','change:activeAnnotation','get','function','attach','setActiveAnnotation','15324ciZMkR','activeUIs','annotationsuis-register-invalid-interface','find','_activateAnnotation','_uisData','deactivate','isActive','init','48753TQcEOI','annotationsuis-register-already-registered','switchTo','has','stopListening','140aLAmUu','hasActive','872oHRewu','102080fVlPJK'];_0x5f1f=function(){return _0x4d3a8e;};return _0x5f1f();}import _0x1ececa,{bindAnnotationCollections as _0x5bfb18}from'./annotationcollection.js';import _0x1560cd from'./annotations.js';function _0x2ec3(_0x17ce8e,_0x3cedac){const _0x5f1f69=_0x5f1f();return _0x2ec3=function(_0x2ec3a5,_0x6bac25){_0x2ec3a5=_0x2ec3a5-0x1eb;let _0x5d40ec=_0x5f1f69[_0x2ec3a5];return _0x5d40ec;},_0x2ec3(_0x17ce8e,_0x3cedac);}export default class M extends _0x530fbe{static get[_0x2da4be(0x1f2)](){return[_0x1560cd];}static get[_0x2da4be(0x221)](){const _0x543230=_0x2da4be;return _0x543230(0x223);}constructor(_0x382c87){const _0x1cf4f7=_0x2da4be;super(_0x382c87),this[_0x1cf4f7(0x208)]=new Set(),this[_0x1cf4f7(0x1f0)]=new Map(),this[_0x1cf4f7(0x20c)]=new Map();}[_0x2da4be(0x20f)](){const _0x490e95=_0x2da4be,_0x15beed=this[_0x490e95(0x21a)][_0x490e95(0x220)][_0x490e95(0x203)](_0x1560cd);this[_0x490e95(0x1f1)](_0x15beed,_0x490e95(0x20b),(_0x3908a1,_0x3c7f63)=>{const _0x1ec2a7=_0x490e95;for(const _0x245058 of this[_0x1ec2a7(0x208)]){const _0x345ea8=this[_0x1ec2a7(0x1f0)][_0x1ec2a7(0x203)](_0x245058);(0x0,this[_0x1ec2a7(0x20c)][_0x1ec2a7(0x203)](_0x245058)[_0x1ec2a7(0x21c)])(_0x3c7f63)&&_0x345ea8[_0x1ec2a7(0x206)](_0x3c7f63);}}),this[_0x490e95(0x1f1)](_0x15beed,_0x490e95(0x1ff),()=>{const _0x383221=_0x490e95;for(const _0xc30570 of this[_0x383221(0x208)]){this[_0x383221(0x1f0)][_0x383221(0x203)](_0xc30570)[_0x383221(0x206)](null);}}),this[_0x490e95(0x1f1)](_0x15beed[_0x490e95(0x1ef)],_0x490e95(0x1f5),(_0x80567e,_0x405161)=>{const _0x2c9a3d=_0x490e95;this[_0x2c9a3d(0x1fa)](_0x405161);});}[_0x2da4be(0x216)](){const _0x18aefa=_0x2da4be;return this[_0x18aefa(0x208)][_0x18aefa(0x1fe)]>0x0;}[_0x2da4be(0x20e)](_0x557043){const _0x2947b4=_0x2da4be;return this[_0x2947b4(0x208)][_0x2947b4(0x213)](_0x557043);}[_0x2da4be(0x1f8)](_0x1f1e03,_0x2302fe=()=>!0x0){const _0x27eab4=_0x2da4be,_0x3ef95d=this[_0x27eab4(0x21a)][_0x27eab4(0x220)][_0x27eab4(0x203)](_0x1560cd);if(!this[_0x27eab4(0x1f0)][_0x27eab4(0x213)](_0x1f1e03))throw new _0x2f6c71(_0x27eab4(0x21f),this,{'uiName':_0x1f1e03});this[_0x27eab4(0x20e)](_0x1f1e03)&&this[_0x27eab4(0x20d)](_0x1f1e03),this[_0x27eab4(0x208)][_0x27eab4(0x1f5)](_0x1f1e03);const _0x5e1f5e=new _0x1ececa(),_0x4ef938=_0x3ef95d[_0x27eab4(0x1ef)];_0x5bfb18({'source':_0x4ef938,'target':_0x5e1f5e,'filter':_0x2302fe}),this[_0x27eab4(0x20c)][_0x27eab4(0x225)](_0x1f1e03,{'collection':_0x5e1f5e,'filter':_0x2302fe});const _0x50e332=this[_0x27eab4(0x1f0)][_0x27eab4(0x203)](_0x1f1e03);_0x50e332[_0x27eab4(0x205)](_0x5e1f5e),this[_0x27eab4(0x1f1)](_0x50e332,_0x27eab4(0x202),(_0x45cf63,_0x16e535,_0x32a5ca,_0x30d39d)=>{const _0xfef6f5=_0x27eab4;_0x30d39d&&_0x3ef95d[_0xfef6f5(0x219)](_0x30d39d),_0x32a5ca&&_0x3ef95d[_0xfef6f5(0x1f7)](_0x32a5ca);});}[_0x2da4be(0x20d)](_0x2942fc){const _0x4f438b=_0x2da4be;if(this[_0x4f438b(0x208)][_0x4f438b(0x1f3)](_0x2942fc),!this[_0x4f438b(0x1f0)][_0x4f438b(0x213)](_0x2942fc))throw new _0x2f6c71(_0x4f438b(0x21f),this,{'uiName':_0x2942fc});const _0x204312=this[_0x4f438b(0x1f0)][_0x4f438b(0x203)](_0x2942fc);_0x204312[_0x4f438b(0x1f9)](),this[_0x4f438b(0x214)](_0x204312),this[_0x4f438b(0x20c)][_0x4f438b(0x203)](_0x2942fc)[_0x4f438b(0x1fb)][_0x4f438b(0x1f6)](),this[_0x4f438b(0x20c)][_0x4f438b(0x1f3)](_0x2942fc);}[_0x2da4be(0x212)](_0x746ccd){const _0x19cc68=_0x2da4be;if(!this[_0x19cc68(0x1f0)][_0x19cc68(0x213)](_0x746ccd))throw new _0x2f6c71(_0x19cc68(0x21f),this,{'uiName':_0x746ccd});const _0x57039f=this[_0x19cc68(0x21a)][_0x19cc68(0x220)][_0x19cc68(0x203)](_0x1560cd),_0x560044=Array[_0x19cc68(0x21d)](_0x57039f[_0x19cc68(0x1eb)])[0x0]||null;this[_0x19cc68(0x226)](),this[_0x19cc68(0x1f8)](_0x746ccd);const _0x4f714f=this[_0x19cc68(0x1f0)][_0x19cc68(0x203)](_0x746ccd);_0x4f714f[_0x19cc68(0x206)](_0x560044),_0x4f714f[_0x19cc68(0x1f4)]&&_0x560044&&_0x4f714f[_0x19cc68(0x1f4)]([_0x560044]);}[_0x2da4be(0x226)](){const _0x10f19a=_0x2da4be;for(const _0x1dbf2c of this[_0x10f19a(0x208)])this[_0x10f19a(0x20d)](_0x1dbf2c);}[_0x2da4be(0x1fd)](_0x18e684,_0x510899){const _0xc21ce6=_0x2da4be;if(this[_0xc21ce6(0x1f0)][_0xc21ce6(0x213)](_0x18e684))throw new _0x2f6c71(_0xc21ce6(0x211));if(_0xc21ce6(0x204)!=typeof _0x510899[_0xc21ce6(0x205)]||_0xc21ce6(0x204)!=typeof _0x510899[_0xc21ce6(0x1f9)]||_0xc21ce6(0x204)!=typeof _0x510899[_0xc21ce6(0x206)])throw new _0x2f6c71(_0xc21ce6(0x209),null);this[_0xc21ce6(0x1f0)][_0xc21ce6(0x225)](_0x18e684,_0x510899);}[_0x2da4be(0x21b)](){const _0x5760ad=_0x2da4be,_0x3aa191=this[_0x5760ad(0x21a)][_0x5760ad(0x220)][_0x5760ad(0x203)](_0x1560cd)[_0x5760ad(0x1fb)],_0x2a2bf5=new Map(),_0x1af049=Array[_0x5760ad(0x21d)](this[_0x5760ad(0x208)]);for(const _0x32baa1 of this[_0x5760ad(0x208)]){const _0x30ce86=this[_0x5760ad(0x20c)][_0x5760ad(0x203)](_0x32baa1)[_0x5760ad(0x1fb)];for(const _0x14f714 of _0x30ce86)_0x2a2bf5[_0x5760ad(0x225)](_0x14f714,_0x32baa1);}for(const _0x3f28a6 of _0x3aa191){const _0x568053=_0x2a2bf5[_0x5760ad(0x203)](_0x3f28a6);this[_0x5760ad(0x1fa)](_0x3f28a6);const _0x2ac0f9=_0x1af049[_0x5760ad(0x20a)](_0x35f359=>this[_0x5760ad(0x20c)][_0x5760ad(0x203)](_0x35f359)[_0x5760ad(0x21c)](_0x3f28a6));_0x568053!==_0x2ac0f9&&(_0x568053&&this[_0x5760ad(0x20c)][_0x5760ad(0x203)](_0x568053)[_0x5760ad(0x1fb)][_0x5760ad(0x1ee)](_0x3f28a6),_0x2ac0f9&&this[_0x5760ad(0x20c)][_0x5760ad(0x203)](_0x2ac0f9)[_0x5760ad(0x1fb)][_0x5760ad(0x1f5)](_0x3f28a6));}}[_0x2da4be(0x1f6)](){const _0x252e4d=_0x2da4be;this[_0x252e4d(0x226)](),super[_0x252e4d(0x1f6)]();}[_0x2da4be(0x1fa)](_0x23498c){const _0x4c6c0a=_0x2da4be,_0x420961=[];for(const _0x570726 of this[_0x4c6c0a(0x208)]){(0x0,this[_0x4c6c0a(0x20c)][_0x4c6c0a(0x203)](_0x570726)[_0x4c6c0a(0x21c)])(_0x23498c)&&_0x420961[_0x4c6c0a(0x201)](_0x570726);}if(_0x420961[_0x4c6c0a(0x200)]>0x1)throw new _0x2f6c71(_0x4c6c0a(0x1fc),null,{'matchedUIs':_0x420961,'annotationType':_0x23498c[_0x4c6c0a(0x1ed)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3ac3(_0x44f970,_0x542ec3){const _0x4b4eba=_0x4b4e();return _0x3ac3=function(_0x3ac3a1,_0x4fce10){_0x3ac3a1=_0x3ac3a1-0x1a1;let _0x148272=_0x4b4eba[_0x3ac3a1];return _0x148272;},_0x3ac3(_0x44f970,_0x542ec3);}const _0x45a113=_0x3ac3;function _0x4b4e(){const _0x4d7404=['11187684bcYEON','isEqual','model','_editorAnnotations','fire','editor','registerAnnotation','function','editorannotations-invalid-source-callback','_dataCollectors','listenTo','isReadOnly','innerView','has','1966045BtjnDK','36007zvpBYD','14iMEOCh','selection','range','addSourceCollector','add','414504ENOqNu','document','getByInnerView','2zQvTwz','343704dYPBZP','refresh','requires','292884MZOHLP','isCollapsed','map','blur','get','getRanges','containsRange','hasDomSelection','plugins','set','_editorAnnotationsData','4935592hUJQkK','init','annotation','uiUpdate','change:range','element','sort','getOrderedSelectedAnnotations','delete','from','directChange','pluginName','editing','change:isFocused','collection','EditorAnnotations','focusTracker','update','remove','view','push','cancel','refreshSelectedViews'];_0x4b4e=function(){return _0x4d7404;};return _0x4b4e();}(function(_0x8fe378,_0x37b1c3){const _0xd8093d=_0x3ac3,_0x35ef31=_0x8fe378();while(!![]){try{const _0x5ef571=parseInt(_0xd8093d(0x1d2))/0x1+-parseInt(_0xd8093d(0x1db))/0x2*(-parseInt(_0xd8093d(0x1a1))/0x3)+parseInt(_0xd8093d(0x1dc))/0x4+-parseInt(_0xd8093d(0x1d1))/0x5+-parseInt(_0xd8093d(0x1d8))/0x6*(parseInt(_0xd8093d(0x1d3))/0x7)+-parseInt(_0xd8093d(0x1ac))/0x8+parseInt(_0xd8093d(0x1c3))/0x9;if(_0x5ef571===_0x37b1c3)break;else _0x35ef31['push'](_0x35ef31['shift']());}catch(_0x2d8c47){_0x35ef31['push'](_0x35ef31['shift']());}}}(_0x4b4e,0x4cbc7));import{Plugin as _0x8410d2}from'ckeditor5/src/core.js';import{CKEditorError as _0x241d22}from'ckeditor5/src/utils.js';import{debounce as _0x13c07b}from'lodash-es';import _0x22406f from'./annotations.js';export default class b extends _0x8410d2{static get[_0x45a113(0x1de)](){return[_0x22406f];}static get[_0x45a113(0x1b7)](){const _0x23593f=_0x45a113;return _0x23593f(0x1bb);}constructor(_0x2aa2d4){const _0x4a94b2=_0x45a113;super(_0x2aa2d4),this[_0x4a94b2(0x1cc)]=new Set(),this[_0x4a94b2(0x1c6)]=new Set();}[_0x45a113(0x1ad)](){const _0x3ff12a=_0x45a113,_0x5d262d=this[_0x3ff12a(0x1c8)],_0x3f18c4=_0x5d262d[_0x3ff12a(0x1c5)][_0x3ff12a(0x1d9)][_0x3ff12a(0x1d4)],_0x4911ff=_0x13c07b(()=>this[_0x3ff12a(0x1c2)](),0xa);_0x3f18c4['on'](_0x3ff12a(0x1b0),(_0x20b1f7,_0x3eef06)=>{const _0x294432=_0x3ff12a;_0x3eef06[_0x294432(0x1b6)]&&(_0x4911ff[_0x294432(0x1c1)](),this[_0x294432(0x1c2)]());}),this[_0x3ff12a(0x1cd)](_0x5d262d[_0x3ff12a(0x1b8)][_0x3ff12a(0x1bf)][_0x3ff12a(0x1d9)],_0x3ff12a(0x1b9),(_0x8b07ac,_0x411b8a,_0x1cb086)=>{_0x1cb086&&_0x4911ff();}),this[_0x3ff12a(0x1cd)](_0x5d262d['ui'][_0x3ff12a(0x1bc)],_0x3ff12a(0x1b9),(_0x4f8ea8,_0x84c13b,_0x222827)=>{const _0x8c1b0c=_0x3ff12a;_0x222827||_0x5d262d[_0x8c1b0c(0x1ce)]||this[_0x8c1b0c(0x1c7)](_0x8c1b0c(0x1a4),{'isAnnotationTracked':_0x20e0b2=>this[_0x8c1b0c(0x1ab)][_0x8c1b0c(0x1d0)](_0x20e0b2[_0x8c1b0c(0x1cf)])});}),this[_0x3ff12a(0x1cd)](this[_0x3ff12a(0x1c8)]['ui'],_0x3ff12a(0x1bd),()=>this[_0x3ff12a(0x1c7)](_0x3ff12a(0x1af)));}[_0x45a113(0x1c9)](_0x4db371){const _0x226622=_0x45a113;if(this[_0x226622(0x1c6)][_0x226622(0x1d0)](_0x4db371[_0x226622(0x1bf)]))return;this[_0x226622(0x1c6)][_0x226622(0x1d7)](_0x4db371[_0x226622(0x1bf)]),this[_0x226622(0x1c8)]['ui'][_0x226622(0x1bc)][_0x226622(0x1d7)](_0x4db371[_0x226622(0x1bf)][_0x226622(0x1b1)]);const _0x9e7cbb=this[_0x226622(0x1c8)][_0x226622(0x1a9)][_0x226622(0x1a5)](_0x22406f);this[_0x226622(0x1cd)](_0x9e7cbb[_0x226622(0x1ba)],_0x226622(0x1be),(_0x1eaba5,_0x26841b)=>{const _0x479d60=_0x226622;this[_0x479d60(0x1c8)]['ui'][_0x479d60(0x1bc)][_0x479d60(0x1be)](_0x26841b[_0x479d60(0x1bf)][_0x479d60(0x1b1)]),this[_0x479d60(0x1c6)][_0x479d60(0x1b4)](_0x26841b[_0x479d60(0x1bf)]);});}[_0x45a113(0x1a8)](){const _0x2212f8=_0x45a113;return this[_0x2212f8(0x1c8)][_0x2212f8(0x1b8)][_0x2212f8(0x1bf)][_0x2212f8(0x1a8)];}[_0x45a113(0x1d6)](_0x1a3935){const _0x355503=_0x45a113;if(_0x355503(0x1ca)!=typeof _0x1a3935)throw new _0x241d22(_0x355503(0x1cb));this[_0x355503(0x1cc)][_0x355503(0x1d7)](_0x1a3935);}[_0x45a113(0x1c2)](){const _0x539508=_0x45a113;this[_0x539508(0x1c7)](_0x539508(0x1dd));}[_0x45a113(0x1b3)]({activeAnnotation:_0x386894,annotations:_0x59f751}){const _0x2c3303=_0x45a113,_0x409bd8=[],_0x4fcb15=this[_0x2c3303(0x1c8)][_0x2c3303(0x1c5)][_0x2c3303(0x1d9)][_0x2c3303(0x1d4)],_0x3bd373=Array[_0x2c3303(0x1b5)](_0x4fcb15[_0x2c3303(0x1a6)]());for(const [_0x2f47d7,_0x4ff185]of this[_0x2c3303(0x1ab)]){const _0x3e0963=_0x1aa2e0(_0x4ff185),_0x45a6fe=_0x59f751[_0x2c3303(0x1da)](_0x2f47d7);_0x3e0963&&_0x45a6fe&&_0x409bd8[_0x2c3303(0x1c0)]({'annotation':_0x45a6fe,'range':_0x3e0963});}function _0x1aa2e0(_0x53f5b9){const _0x55d795=_0x2c3303;for(const _0x73509 of _0x53f5b9)for(const _0x2757bb of _0x3bd373)if(_0x73509[_0x55d795(0x1a7)](_0x2757bb,!_0x4fcb15[_0x55d795(0x1a2)]))return _0x73509;return null;}return _0x409bd8[_0x2c3303(0x1b2)]((_0x167189,_0xef1677)=>{const _0x4a5e96=_0x2c3303,_0x4fad93=_0x167189[_0x4a5e96(0x1d5)],_0x35ba2b=_0xef1677[_0x4a5e96(0x1d5)];if(!_0x4fad93[_0x4a5e96(0x1c4)](_0x35ba2b)){if(_0x4fad93[_0x4a5e96(0x1a7)](_0x35ba2b,!0x0))return 0x1;if(_0x35ba2b[_0x4a5e96(0x1a7)](_0x4fad93,!0x0))return-0x1;}return _0x167189[_0x4a5e96(0x1ae)]==_0x386894?-0x1:_0xef1677[_0x4a5e96(0x1ae)]==_0x386894?0x1:0x0;})[_0x2c3303(0x1a3)](_0x3abc7f=>_0x3abc7f[_0x2c3303(0x1ae)]);}get[_0x45a113(0x1ab)](){const _0x21dd19=_0x45a113,_0x327fcf=new Map();for(const _0x1e8021 of Array[_0x21dd19(0x1b5)](this[_0x21dd19(0x1cc)]))for(const [_0x5bff6c,_0x486e99]of _0x1e8021())_0x327fcf[_0x21dd19(0x1aa)](_0x5bff6c,_0x486e99);return _0x327fcf;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x21c16d=_0x5894;function _0x41ed(){const _0x28d9eb=['536196RBGjEU','listenTo','stopListening','includes','bottom','_closeAnnotation','12845439ZKZMpY','4DyZVCi','isActive','inlineannotations-not-allowed-with-context','getBoundingClientRect','requires','focus','_balloon','8gkVXCF','980926RFygTI','plugins','_getBalloonTargetForAnnotation','_removeAnnotationFromBalloon','every','detach','editor','update','InlineAnnotations','setActiveAnnotation','domConverter','add','change:isFocused','hasView','_addedAnnotations','remove','isAttached','_setSelectedAnnotations','activeAnnotation','push','find','editing','isFocused','593814TWZEuv','annotations','viewRangeToDom','inline','_addAnnotationToBalloon','fromRect','6710352vOVEYw','map','from','destroy','delete','get','_selectedAnnotations','pluginName','editableElement','refresh','attach','blur','showStack','clear','inlineannotations-detach-not-attached','top','visibleView','document','afterInit','length','target','change:visibleView','has','3130735NZlVbM','left','width','inlineannotations-attach-already-attached','getFirstRange','Esc','getClientRects','selection','updatePosition','view','context','collapse','register','init','hasActive','7FLXDro','_forceRefresh','right','1206780XMjvrl','focusTracker','switchTo','_manuallyClosed','mousedown','addObserver','set','getOrderedSelectedAnnotations','keystrokes','451ggAwSa','change:height','targetRect','getByView'];_0x41ed=function(){return _0x28d9eb;};return _0x41ed();}(function(_0x56c988,_0x55e355){const _0xccfa99=_0x5894,_0x5a5ae1=_0x56c988();while(!![]){try{const _0x1b8c83=-parseInt(_0xccfa99(0x12b))/0x1+-parseInt(_0xccfa99(0x176))/0x2+parseInt(_0xccfa99(0x167))/0x3+parseInt(_0xccfa99(0x16e))/0x4*(-parseInt(_0xccfa99(0x148))/0x5)+parseInt(_0xccfa99(0x131))/0x6*(-parseInt(_0xccfa99(0x157))/0x7)+parseInt(_0xccfa99(0x175))/0x8*(-parseInt(_0xccfa99(0x16d))/0x9)+-parseInt(_0xccfa99(0x15a))/0xa*(-parseInt(_0xccfa99(0x163))/0xb);if(_0x1b8c83===_0x55e355)break;else _0x5a5ae1['push'](_0x5a5ae1['shift']());}catch(_0x1829e5){_0x5a5ae1['push'](_0x5a5ae1['shift']());}}}(_0x41ed,0xd482b));import{Plugin as _0x568836}from'ckeditor5/src/core.js';import _0x519dc0 from'./annotationsuis.js';function _0x5894(_0x3b4ab9,_0x3eca80){const _0x41ed5d=_0x41ed();return _0x5894=function(_0x589424,_0x4b9679){_0x589424=_0x589424-0x128;let _0x2ed3e6=_0x41ed5d[_0x589424];return _0x2ed3e6;},_0x5894(_0x3b4ab9,_0x3eca80);}import _0xc7cde7 from'./editorannotations.js';import{ContextualBalloon as _0x341ae3}from'ckeditor5/src/ui.js';import{MouseObserver as _0x5d2a50}from'ckeditor5/src/engine.js';import{CKEditorError as _0x4b0e2d,Rect as _0x32030c}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x568836{static get[_0x21c16d(0x172)](){return[_0xc7cde7,_0x341ae3,_0x519dc0];}static get[_0x21c16d(0x138)](){const _0x110bc2=_0x21c16d;return _0x110bc2(0x17e);}constructor(_0x50a5c3){const _0x2656c4=_0x21c16d;super(_0x50a5c3),_0x50a5c3[_0x2656c4(0x129)][_0x2656c4(0x151)][_0x2656c4(0x15f)](_0x5d2a50),this[_0x2656c4(0x186)]=!0x1,this[_0x2656c4(0x160)](_0x2656c4(0x188),null),this[_0x2656c4(0x12c)]=null,this[_0x2656c4(0x15d)]=new Set(),this[_0x2656c4(0x174)]=_0x50a5c3[_0x2656c4(0x177)][_0x2656c4(0x136)](_0x341ae3),this[_0x2656c4(0x184)]=new Set(),this[_0x2656c4(0x137)]=[],this[_0x2656c4(0x158)]=!0x1;}[_0x21c16d(0x155)](){const _0x36c66e=_0x21c16d,_0x55bf51=this[_0x36c66e(0x17c)][_0x36c66e(0x177)][_0x36c66e(0x136)](_0x519dc0);_0x55bf51[_0x36c66e(0x152)]===this[_0x36c66e(0x17c)]&&(_0x55bf51[_0x36c66e(0x154)](_0x36c66e(0x12e),this),this[_0x36c66e(0x17c)][_0x36c66e(0x162)][_0x36c66e(0x160)](_0x36c66e(0x14d),(_0x5c6c5b,_0x1f4c42)=>{const _0x1ab395=_0x36c66e,_0x9da4bf=this[_0x1ab395(0x174)];if(this[_0x1ab395(0x186)]&&_0x9da4bf[_0x1ab395(0x141)]){const _0x57d37d=this[_0x1ab395(0x12c)][_0x1ab395(0x166)](_0x9da4bf[_0x1ab395(0x141)]);_0x57d37d&&this[_0x1ab395(0x16c)](_0x57d37d),_0x1f4c42();}}));}[_0x21c16d(0x143)](){const _0x3404f6=_0x21c16d,_0xb9b62e=this[_0x3404f6(0x17c)][_0x3404f6(0x177)][_0x3404f6(0x136)](_0x519dc0);_0xb9b62e[_0x3404f6(0x152)]===this[_0x3404f6(0x17c)]&&(_0xb9b62e[_0x3404f6(0x156)]()||_0xb9b62e[_0x3404f6(0x15c)](_0x3404f6(0x12e)));}[_0x21c16d(0x17f)](_0x15668b){const _0x109dba=_0x21c16d;_0x15668b!==this[_0x109dba(0x188)]&&(this[_0x109dba(0x188)]&&(this[_0x109dba(0x188)][_0x109dba(0x16f)]=!0x1),_0x15668b&&this[_0x109dba(0x17c)]['ui'][_0x109dba(0x15b)][_0x109dba(0x12a)]&&(this[_0x109dba(0x12c)][_0x109dba(0x147)](_0x15668b)&&this[_0x109dba(0x12f)](_0x15668b,!0x0),_0x15668b[_0x109dba(0x16f)]=!0x0),_0x15668b||this[_0x109dba(0x187)]([]),this[_0x109dba(0x188)]=_0x15668b);}[_0x21c16d(0x13b)](_0x4907a1){const _0x45a292=_0x21c16d;this[_0x45a292(0x12c)]=_0x4907a1;const _0x3505ee=this[_0x45a292(0x17c)][_0x45a292(0x177)][_0x45a292(0x136)](_0x519dc0),_0xd58cd4=this[_0x45a292(0x174)];if(this[_0x45a292(0x186)])throw new _0x4b0e2d(_0x45a292(0x14b),this);if(_0x3505ee[_0x45a292(0x152)]!==this[_0x45a292(0x17c)])throw new _0x4b0e2d(_0x45a292(0x170),this);const _0x9514fc=this[_0x45a292(0x17c)][_0x45a292(0x177)][_0x45a292(0x136)](_0xc7cde7);this[_0x45a292(0x168)](_0x9514fc,_0x45a292(0x13a),()=>{const _0x31a3f0=_0x45a292,_0x5e8670=_0x9514fc[_0x31a3f0(0x161)]({'annotations':this[_0x31a3f0(0x12c)],'activeAnnotation':this[_0x31a3f0(0x188)]});var _0x4aa95c,_0x1c915d;!this[_0x31a3f0(0x158)]&&(_0x4aa95c=_0x5e8670,_0x1c915d=this[_0x31a3f0(0x137)],_0x4aa95c[_0x31a3f0(0x144)]===_0x1c915d[_0x31a3f0(0x144)]&&_0x4aa95c[_0x31a3f0(0x17a)](_0x33755f=>_0x1c915d[_0x31a3f0(0x16a)](_0x33755f)))||(this[_0x31a3f0(0x158)]=!0x1,this[_0x31a3f0(0x187)](_0x5e8670),this[_0x31a3f0(0x17f)](_0x5e8670[0x0]||null));}),this[_0x45a292(0x168)](_0x9514fc,_0x45a292(0x13c),(_0x30ebfa,{isAnnotationTracked:_0x3ed4ef})=>{const _0x355d62=_0x45a292;this[_0x355d62(0x188)]&&_0x3ed4ef(this[_0x355d62(0x188)])&&(this[_0x355d62(0x187)]([]),this[_0x355d62(0x17f)](null));}),this[_0x45a292(0x168)](this[_0x45a292(0x17c)]['ui'][_0x45a292(0x15b)],_0x45a292(0x182),(_0x535fe9,_0x159698,_0x1ddeaf)=>{const _0x321323=_0x45a292;_0x1ddeaf||this[_0x321323(0x17f)](null);}),this[_0x45a292(0x168)](_0x4907a1,_0x45a292(0x185),(_0x100771,_0x353321)=>{const _0x1f55d8=_0x45a292;this[_0x1f55d8(0x179)](_0x353321),_0x353321===this[_0x1f55d8(0x188)]&&this[_0x1f55d8(0x17f)](null);}),this[_0x45a292(0x168)](_0xd58cd4,_0x45a292(0x146),(_0x417408,_0x4b610a,_0x4c46b1,_0x1864d5)=>{const _0x1f7c2c=_0x45a292;_0x1864d5&&this[_0x1f7c2c(0x169)](_0x1864d5);const _0x2187da=_0x4907a1[_0x1f7c2c(0x166)](_0x4c46b1);_0x4c46b1&&_0x2187da&&(this[_0x1f7c2c(0x168)](_0x4c46b1,_0x1f7c2c(0x164),()=>{const _0x4d961d=_0x1f7c2c;_0xd58cd4[_0x4d961d(0x150)]();}),this[_0x1f7c2c(0x168)](_0x4c46b1,_0x1f7c2c(0x14d),()=>{const _0x1dc8e3=_0x1f7c2c;this[_0x1dc8e3(0x16c)](_0x2187da),this[_0x1dc8e3(0x17c)][_0x1dc8e3(0x129)][_0x1dc8e3(0x151)][_0x1dc8e3(0x173)]();}),this[_0x1f7c2c(0x188)]!==_0x2187da&&this[_0x1f7c2c(0x17f)](_0x2187da));}),this[_0x45a292(0x168)](this[_0x45a292(0x17c)]['ui'],_0x45a292(0x17d),()=>{const _0x5cd866=_0x45a292;_0xd58cd4[_0x5cd866(0x141)]&&(_0x4907a1[_0x5cd866(0x166)](_0xd58cd4[_0x5cd866(0x141)])&&_0xd58cd4[_0x5cd866(0x150)]());}),this[_0x45a292(0x168)](this[_0x45a292(0x17c)][_0x45a292(0x129)][_0x45a292(0x151)][_0x45a292(0x142)],_0x45a292(0x15e),()=>{const _0x20bcba=_0x45a292;this[_0x20bcba(0x158)]=!0x0,this[_0x20bcba(0x15d)][_0x20bcba(0x13e)]();}),this[_0x45a292(0x17c)][_0x45a292(0x129)][_0x45a292(0x151)][_0x45a292(0x142)][_0x45a292(0x14f)][_0x45a292(0x139)]&&this[_0x45a292(0x17c)][_0x45a292(0x129)][_0x45a292(0x151)][_0x45a292(0x173)](),this[_0x45a292(0x186)]=!0x0;}[_0x21c16d(0x17b)](){const _0xc519f6=_0x21c16d;if(!this[_0xc519f6(0x186)])throw new _0x4b0e2d(_0xc519f6(0x13f),this);this[_0xc519f6(0x17f)](null);for(const _0x5cf72c of this[_0xc519f6(0x184)])this[_0xc519f6(0x179)](_0x5cf72c);this[_0xc519f6(0x169)](),this[_0xc519f6(0x186)]=!0x1,this[_0xc519f6(0x12c)]=null;}[_0x21c16d(0x134)](){const _0x44dabd=_0x21c16d;this[_0x44dabd(0x186)]&&this[_0x44dabd(0x17b)]();}[_0x21c16d(0x187)](_0x3f06f1){const _0x5a026c=_0x21c16d;for(const _0x22f5c0 of this[_0x5a026c(0x137)])_0x3f06f1[_0x5a026c(0x16a)](_0x22f5c0)||this[_0x5a026c(0x15d)][_0x5a026c(0x135)](_0x22f5c0);for(const _0x1e4ac9 of this[_0x5a026c(0x12c)])_0x3f06f1[_0x5a026c(0x16a)](_0x1e4ac9)||this[_0x5a026c(0x179)](_0x1e4ac9);if(this[_0x5a026c(0x17c)]['ui'][_0x5a026c(0x15b)][_0x5a026c(0x12a)]){for(const _0x32e967 of _0x3f06f1)this[_0x5a026c(0x12f)](_0x32e967);}this[_0x5a026c(0x137)]=_0x3f06f1;}[_0x21c16d(0x12f)](_0x3c8b70,_0x5e95f2=!0x1){const _0x4d2fc6=_0x21c16d;this[_0x4d2fc6(0x15d)][_0x4d2fc6(0x147)](_0x3c8b70)||(this[_0x4d2fc6(0x184)][_0x4d2fc6(0x147)](_0x3c8b70)||this[_0x4d2fc6(0x174)][_0x4d2fc6(0x183)](_0x3c8b70[_0x4d2fc6(0x151)])||(this[_0x4d2fc6(0x184)][_0x4d2fc6(0x181)](_0x3c8b70),this[_0x4d2fc6(0x174)][_0x4d2fc6(0x181)]({'stackId':_0x3c8b70[_0x4d2fc6(0x151)]['id'],'view':_0x3c8b70[_0x4d2fc6(0x151)],'position':{'target':()=>this[_0x4d2fc6(0x178)](_0x3c8b70)}})),_0x5e95f2&&this[_0x4d2fc6(0x174)][_0x4d2fc6(0x13d)](_0x3c8b70[_0x4d2fc6(0x151)]['id']));}[_0x21c16d(0x178)](_0x4b0bdb){const _0xde50c2=_0x21c16d,_0x146248=_0x4b0bdb[_0xde50c2(0x145)],_0xe4b526=this[_0xde50c2(0x17c)][_0xde50c2(0x129)][_0xde50c2(0x151)],_0x3f7ac6=_0xe4b526[_0xde50c2(0x142)][_0xde50c2(0x14f)][_0xde50c2(0x14c)](),_0x55023e=_0xe4b526[_0xde50c2(0x180)][_0xde50c2(0x12d)](_0x3f7ac6);if(_0x55023e[_0xde50c2(0x153)](!0x0),_0x146248){if(_0x146248 instanceof _0x32030c)return _0x146248;let _0xa9eae7=[];for(const _0x1c93b8 of _0x146248)_0xa9eae7[_0xde50c2(0x189)](...(_0x2d1639=_0x1c93b8[_0xde50c2(0x14e)](),Array[_0xde50c2(0x133)](_0x2d1639)[_0xde50c2(0x132)](DOMRect[_0xde50c2(0x130)])));_0xa9eae7=function(_0x3a5a77){const _0x3e931a=_0xde50c2,_0x455a6a=[];let _0x35915c=_0x3a5a77[0x0];for(let _0x4c8a63=0x1;_0x4c8a63<_0x3a5a77[_0x3e931a(0x144)];_0x4c8a63++)q(_0x35915c,_0x3a5a77[_0x4c8a63])?_0x35915c[_0x3e931a(0x14a)]+=_0x3a5a77[_0x4c8a63][_0x3e931a(0x14a)]:(_0x455a6a[_0x3e931a(0x189)](_0x35915c),_0x35915c=_0x3a5a77[_0x4c8a63]);return _0x455a6a[_0x3e931a(0x189)](_0x35915c),_0x455a6a;}(_0xa9eae7);const _0x3316aa=_0x55023e[_0xde50c2(0x171)]();return _0xa9eae7[_0xde50c2(0x128)](_0x7305f3=>_0x7305f3[_0xde50c2(0x140)]<=_0x3316aa[_0xde50c2(0x140)]&&_0x7305f3[_0xde50c2(0x16b)]>=_0x3316aa[_0xde50c2(0x16b)]&&_0x7305f3[_0xde50c2(0x149)]<=_0x3316aa[_0xde50c2(0x149)]&&_0x7305f3[_0xde50c2(0x159)]>=_0x3316aa[_0xde50c2(0x159)])||_0xa9eae7[0x0];}var _0x2d1639;return _0x4b0bdb[_0xde50c2(0x165)]||_0x55023e;}[_0x21c16d(0x179)](_0x5c8b64){const _0x514098=_0x21c16d;this[_0x514098(0x184)][_0x514098(0x147)](_0x5c8b64)&&this[_0x514098(0x174)][_0x514098(0x183)](_0x5c8b64[_0x514098(0x151)])&&(this[_0x514098(0x184)][_0x514098(0x135)](_0x5c8b64),this[_0x514098(0x174)][_0x514098(0x185)](_0x5c8b64[_0x514098(0x151)]));}[_0x21c16d(0x16c)](_0x5c58b6){const _0x2b63c3=_0x21c16d;this[_0x2b63c3(0x15d)][_0x2b63c3(0x181)](_0x5c58b6),this[_0x2b63c3(0x179)](_0x5c58b6);}}function q(_0x58182f,_0x5130e3){const _0x2ccdd4=_0x21c16d;return _0x58182f[_0x2ccdd4(0x140)]===_0x5130e3[_0x2ccdd4(0x140)]&&_0x58182f[_0x2ccdd4(0x16b)]===_0x5130e3[_0x2ccdd4(0x16b)]&&_0x58182f[_0x2ccdd4(0x159)]===_0x5130e3[_0x2ccdd4(0x149)];}
|
|
23
|
+
const _0x179e1d=_0x5490;function _0x3442(){const _0x4119c0=['_manuallyClosed','length','left','inlineannotations-detach-not-attached','135RxbirU','document','top','view','hasView','width','_addAnnotationToBalloon','change:visibleView','selection','mousedown','isAttached','_addedAnnotations','set','Esc','inlineannotations-attach-already-attached','inlineannotations-not-allowed-with-context','isFocused','plugins','setActiveAnnotation','targetRect','register','fromRect','402014vNbuDm','activeAnnotation','_removeAnnotationFromBalloon','has','requires','visibleView','init','target','right','context','getBoundingClientRect','isActive','_forceRefresh','editableElement','blur','32cICzNa','change:height','getByView','update','destroy','clear','_balloon','from','refresh','viewRangeToDom','_setSelectedAnnotations','15918DNCnTl','editing','attach','hasActive','keystrokes','_closeAnnotation','focusTracker','switchTo','inline','2320350euZtUQ','677590UqRzdn','delete','10050BjrHUQ','remove','focus','includes','collapse','InlineAnnotations','_selectedAnnotations','updatePosition','editor','domConverter','find','map','327475qoFoeE','add','every','bottom','_getBalloonTargetForAnnotation','showStack','1132893NZHKGf','pluginName','getOrderedSelectedAnnotations','stopListening','addObserver','afterInit','240CJuwJq','getClientRects','annotations','get','getFirstRange','detach','listenTo','push','change:isFocused'];_0x3442=function(){return _0x4119c0;};return _0x3442();}(function(_0x3c6236,_0x3a7df1){const _0x1177da=_0x5490,_0x509833=_0x3c6236();while(!![]){try{const _0x597d15=-parseInt(_0x1177da(0x12c))/0x1+parseInt(_0x1177da(0xfa))/0x2+-parseInt(_0x1177da(0x132))/0x3+-parseInt(_0x1177da(0x138))/0x4*(-parseInt(_0x1177da(0x120))/0x5)+-parseInt(_0x1177da(0x11d))/0x6+-parseInt(_0x1177da(0x114))/0x7*(parseInt(_0x1177da(0x109))/0x8)+-parseInt(_0x1177da(0xe4))/0x9*(-parseInt(_0x1177da(0x11e))/0xa);if(_0x597d15===_0x3a7df1)break;else _0x509833['push'](_0x509833['shift']());}catch(_0x429bf9){_0x509833['push'](_0x509833['shift']());}}}(_0x3442,0x39e09));import{Plugin as _0x456326}from'ckeditor5/src/core.js';import _0x53dec7 from'./annotationsuis.js';import _0x349dee from'./editorannotations.js';function _0x5490(_0x27ecd9,_0x436ba8){const _0x3442d9=_0x3442();return _0x5490=function(_0x549026,_0x490b0b){_0x549026=_0x549026-0xd9;let _0x4e6a7c=_0x3442d9[_0x549026];return _0x4e6a7c;},_0x5490(_0x27ecd9,_0x436ba8);}import{ContextualBalloon as _0x3a00aa}from'ckeditor5/src/ui.js';import{MouseObserver as _0x43a31b}from'ckeditor5/src/engine.js';import{CKEditorError as _0x404d2b,Rect as _0x443357}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x456326{static get[_0x179e1d(0xfe)](){return[_0x349dee,_0x3a00aa,_0x53dec7];}static get[_0x179e1d(0x133)](){const _0x2575b3=_0x179e1d;return _0x2575b3(0x125);}constructor(_0x5363c0){const _0x3f567e=_0x179e1d;super(_0x5363c0),_0x5363c0[_0x3f567e(0x115)][_0x3f567e(0xe7)][_0x3f567e(0x136)](_0x43a31b),this[_0x3f567e(0xee)]=!0x1,this[_0x3f567e(0xf0)](_0x3f567e(0xfb),null),this[_0x3f567e(0xd9)]=null,this[_0x3f567e(0xe0)]=new Set(),this[_0x3f567e(0x10f)]=_0x5363c0[_0x3f567e(0xf5)][_0x3f567e(0xda)](_0x3a00aa),this[_0x3f567e(0xef)]=new Set(),this[_0x3f567e(0x126)]=[],this[_0x3f567e(0x106)]=!0x1;}[_0x179e1d(0x100)](){const _0x572b89=_0x179e1d,_0x245887=this[_0x572b89(0x128)][_0x572b89(0xf5)][_0x572b89(0xda)](_0x53dec7);_0x245887[_0x572b89(0x103)]===this[_0x572b89(0x128)]&&(_0x245887[_0x572b89(0xf8)](_0x572b89(0x11c),this),this[_0x572b89(0x128)][_0x572b89(0x118)][_0x572b89(0xf0)](_0x572b89(0xf1),(_0x209edd,_0x486fa3)=>{const _0x4fc2fe=_0x572b89,_0x229212=this[_0x4fc2fe(0x10f)];if(this[_0x4fc2fe(0xee)]&&_0x229212[_0x4fc2fe(0xff)]){const _0x459618=this[_0x4fc2fe(0xd9)][_0x4fc2fe(0x10b)](_0x229212[_0x4fc2fe(0xff)]);_0x459618&&this[_0x4fc2fe(0x119)](_0x459618),_0x486fa3();}}));}[_0x179e1d(0x137)](){const _0x4ab1de=_0x179e1d,_0x538e3a=this[_0x4ab1de(0x128)][_0x4ab1de(0xf5)][_0x4ab1de(0xda)](_0x53dec7);_0x538e3a[_0x4ab1de(0x103)]===this[_0x4ab1de(0x128)]&&(_0x538e3a[_0x4ab1de(0x117)]()||_0x538e3a[_0x4ab1de(0x11b)](_0x4ab1de(0x11c)));}[_0x179e1d(0xf6)](_0x55a22a){const _0x304cdc=_0x179e1d;_0x55a22a!==this[_0x304cdc(0xfb)]&&(this[_0x304cdc(0xfb)]&&(this[_0x304cdc(0xfb)][_0x304cdc(0x105)]=!0x1),_0x55a22a&&this[_0x304cdc(0x128)]['ui'][_0x304cdc(0x11a)][_0x304cdc(0xf4)]&&(this[_0x304cdc(0xd9)][_0x304cdc(0xfd)](_0x55a22a)&&this[_0x304cdc(0xea)](_0x55a22a,!0x0),_0x55a22a[_0x304cdc(0x105)]=!0x0),_0x55a22a||this[_0x304cdc(0x113)]([]),this[_0x304cdc(0xfb)]=_0x55a22a);}[_0x179e1d(0x116)](_0x2e0ab9){const _0x1d186e=_0x179e1d;this[_0x1d186e(0xd9)]=_0x2e0ab9;const _0x4ee212=this[_0x1d186e(0x128)][_0x1d186e(0xf5)][_0x1d186e(0xda)](_0x53dec7),_0x5b5372=this[_0x1d186e(0x10f)];if(this[_0x1d186e(0xee)])throw new _0x404d2b(_0x1d186e(0xf2),this);if(_0x4ee212[_0x1d186e(0x103)]!==this[_0x1d186e(0x128)])throw new _0x404d2b(_0x1d186e(0xf3),this);const _0x4f242b=this[_0x1d186e(0x128)][_0x1d186e(0xf5)][_0x1d186e(0xda)](_0x349dee);this[_0x1d186e(0xdd)](_0x4f242b,_0x1d186e(0x111),()=>{const _0x1da7fb=_0x1d186e,_0x45cd9f=_0x4f242b[_0x1da7fb(0x134)]({'annotations':this[_0x1da7fb(0xd9)],'activeAnnotation':this[_0x1da7fb(0xfb)]});var _0x289e27,_0x18b905;!this[_0x1da7fb(0x106)]&&(_0x289e27=_0x45cd9f,_0x18b905=this[_0x1da7fb(0x126)],_0x289e27[_0x1da7fb(0xe1)]===_0x18b905[_0x1da7fb(0xe1)]&&_0x289e27[_0x1da7fb(0x12e)](_0x3dae7a=>_0x18b905[_0x1da7fb(0x123)](_0x3dae7a)))||(this[_0x1da7fb(0x106)]=!0x1,this[_0x1da7fb(0x113)](_0x45cd9f),this[_0x1da7fb(0xf6)](_0x45cd9f[0x0]||null));}),this[_0x1d186e(0xdd)](_0x4f242b,_0x1d186e(0x108),(_0x3f4e21,{isAnnotationTracked:_0x4b8686})=>{const _0xfacd10=_0x1d186e;this[_0xfacd10(0xfb)]&&_0x4b8686(this[_0xfacd10(0xfb)])&&(this[_0xfacd10(0x113)]([]),this[_0xfacd10(0xf6)](null));}),this[_0x1d186e(0xdd)](this[_0x1d186e(0x128)]['ui'][_0x1d186e(0x11a)],_0x1d186e(0xdf),(_0xa7667f,_0x35c1a6,_0x32416e)=>{const _0x519161=_0x1d186e;_0x32416e||this[_0x519161(0xf6)](null);}),this[_0x1d186e(0xdd)](_0x2e0ab9,_0x1d186e(0x121),(_0x30a48e,_0x2f5179)=>{const _0x1e843d=_0x1d186e;this[_0x1e843d(0xfc)](_0x2f5179),_0x2f5179===this[_0x1e843d(0xfb)]&&this[_0x1e843d(0xf6)](null);}),this[_0x1d186e(0xdd)](_0x5b5372,_0x1d186e(0xeb),(_0x261c78,_0x2c30ea,_0xffb7d,_0x2cf548)=>{const _0x2518d7=_0x1d186e;_0x2cf548&&this[_0x2518d7(0x135)](_0x2cf548);const _0x393499=_0x2e0ab9[_0x2518d7(0x10b)](_0xffb7d);_0xffb7d&&_0x393499&&(this[_0x2518d7(0xdd)](_0xffb7d,_0x2518d7(0x10a),()=>{const _0x1b7af8=_0x2518d7;_0x5b5372[_0x1b7af8(0x127)]();}),this[_0x2518d7(0xdd)](_0xffb7d,_0x2518d7(0xf1),()=>{const _0x1c1e8e=_0x2518d7;this[_0x1c1e8e(0x119)](_0x393499),this[_0x1c1e8e(0x128)][_0x1c1e8e(0x115)][_0x1c1e8e(0xe7)][_0x1c1e8e(0x122)]();}),this[_0x2518d7(0xfb)]!==_0x393499&&this[_0x2518d7(0xf6)](_0x393499));}),this[_0x1d186e(0xdd)](this[_0x1d186e(0x128)]['ui'],_0x1d186e(0x10c),()=>{const _0x5ee032=_0x1d186e;_0x5b5372[_0x5ee032(0xff)]&&(_0x2e0ab9[_0x5ee032(0x10b)](_0x5b5372[_0x5ee032(0xff)])&&_0x5b5372[_0x5ee032(0x127)]());}),this[_0x1d186e(0xdd)](this[_0x1d186e(0x128)][_0x1d186e(0x115)][_0x1d186e(0xe7)][_0x1d186e(0xe5)],_0x1d186e(0xed),()=>{const _0x413184=_0x1d186e;this[_0x413184(0x106)]=!0x0,this[_0x413184(0xe0)][_0x413184(0x10e)]();}),this[_0x1d186e(0x128)][_0x1d186e(0x115)][_0x1d186e(0xe7)][_0x1d186e(0xe5)][_0x1d186e(0xec)][_0x1d186e(0x107)]&&this[_0x1d186e(0x128)][_0x1d186e(0x115)][_0x1d186e(0xe7)][_0x1d186e(0x122)](),this[_0x1d186e(0xee)]=!0x0;}[_0x179e1d(0xdc)](){const _0x5095cd=_0x179e1d;if(!this[_0x5095cd(0xee)])throw new _0x404d2b(_0x5095cd(0xe3),this);this[_0x5095cd(0xf6)](null);for(const _0x275716 of this[_0x5095cd(0xef)])this[_0x5095cd(0xfc)](_0x275716);this[_0x5095cd(0x135)](),this[_0x5095cd(0xee)]=!0x1,this[_0x5095cd(0xd9)]=null;}[_0x179e1d(0x10d)](){const _0x2cff0c=_0x179e1d;this[_0x2cff0c(0xee)]&&this[_0x2cff0c(0xdc)]();}[_0x179e1d(0x113)](_0xcfc33d){const _0x44ebba=_0x179e1d;for(const _0x4121e2 of this[_0x44ebba(0x126)])_0xcfc33d[_0x44ebba(0x123)](_0x4121e2)||this[_0x44ebba(0xe0)][_0x44ebba(0x11f)](_0x4121e2);for(const _0x5dc1f9 of this[_0x44ebba(0xd9)])_0xcfc33d[_0x44ebba(0x123)](_0x5dc1f9)||this[_0x44ebba(0xfc)](_0x5dc1f9);if(this[_0x44ebba(0x128)]['ui'][_0x44ebba(0x11a)][_0x44ebba(0xf4)]){for(const _0xc1082a of _0xcfc33d)this[_0x44ebba(0xea)](_0xc1082a);}this[_0x44ebba(0x126)]=_0xcfc33d;}[_0x179e1d(0xea)](_0xe3e40,_0x5a0dca=!0x1){const _0x427e49=_0x179e1d;this[_0x427e49(0xe0)][_0x427e49(0xfd)](_0xe3e40)||(this[_0x427e49(0xef)][_0x427e49(0xfd)](_0xe3e40)||this[_0x427e49(0x10f)][_0x427e49(0xe8)](_0xe3e40[_0x427e49(0xe7)])||(this[_0x427e49(0xef)][_0x427e49(0x12d)](_0xe3e40),this[_0x427e49(0x10f)][_0x427e49(0x12d)]({'stackId':_0xe3e40[_0x427e49(0xe7)]['id'],'view':_0xe3e40[_0x427e49(0xe7)],'position':{'target':()=>this[_0x427e49(0x130)](_0xe3e40)}})),_0x5a0dca&&this[_0x427e49(0x10f)][_0x427e49(0x131)](_0xe3e40[_0x427e49(0xe7)]['id']));}[_0x179e1d(0x130)](_0x23f36c){const _0x5b2646=_0x179e1d,_0x2f2b48=_0x23f36c[_0x5b2646(0x101)],_0xf9de3a=this[_0x5b2646(0x128)][_0x5b2646(0x115)][_0x5b2646(0xe7)],_0x2d9804=_0xf9de3a[_0x5b2646(0xe5)][_0x5b2646(0xec)][_0x5b2646(0xdb)](),_0x32a198=_0xf9de3a[_0x5b2646(0x129)][_0x5b2646(0x112)](_0x2d9804);if(_0x32a198[_0x5b2646(0x124)](!0x0),_0x2f2b48){if(_0x2f2b48 instanceof _0x443357)return _0x2f2b48;let _0x24f7e4=[];for(const _0x146bdd of _0x2f2b48)_0x24f7e4[_0x5b2646(0xde)](...(_0xfd130f=_0x146bdd[_0x5b2646(0x139)](),Array[_0x5b2646(0x110)](_0xfd130f)[_0x5b2646(0x12b)](DOMRect[_0x5b2646(0xf9)])));_0x24f7e4=function(_0x43c909){const _0x596ca2=_0x5b2646,_0x5e9a09=[];let _0x4e2a84=_0x43c909[0x0];for(let _0x36208d=0x1;_0x36208d<_0x43c909[_0x596ca2(0xe1)];_0x36208d++)q(_0x4e2a84,_0x43c909[_0x36208d])?_0x4e2a84[_0x596ca2(0xe9)]+=_0x43c909[_0x36208d][_0x596ca2(0xe9)]:(_0x5e9a09[_0x596ca2(0xde)](_0x4e2a84),_0x4e2a84=_0x43c909[_0x36208d]);return _0x5e9a09[_0x596ca2(0xde)](_0x4e2a84),_0x5e9a09;}(_0x24f7e4);const _0x59ab3c=_0x32a198[_0x5b2646(0x104)]();return _0x24f7e4[_0x5b2646(0x12a)](_0xa3ba07=>_0xa3ba07[_0x5b2646(0xe6)]<=_0x59ab3c[_0x5b2646(0xe6)]&&_0xa3ba07[_0x5b2646(0x12f)]>=_0x59ab3c[_0x5b2646(0x12f)]&&_0xa3ba07[_0x5b2646(0xe2)]<=_0x59ab3c[_0x5b2646(0xe2)]&&_0xa3ba07[_0x5b2646(0x102)]>=_0x59ab3c[_0x5b2646(0x102)])||_0x24f7e4[0x0];}var _0xfd130f;return _0x23f36c[_0x5b2646(0xf7)]||_0x32a198;}[_0x179e1d(0xfc)](_0x53015e){const _0x309a3a=_0x179e1d;this[_0x309a3a(0xef)][_0x309a3a(0xfd)](_0x53015e)&&this[_0x309a3a(0x10f)][_0x309a3a(0xe8)](_0x53015e[_0x309a3a(0xe7)])&&(this[_0x309a3a(0xef)][_0x309a3a(0x11f)](_0x53015e),this[_0x309a3a(0x10f)][_0x309a3a(0x121)](_0x53015e[_0x309a3a(0xe7)]));}[_0x179e1d(0x119)](_0x17a7f2){const _0x182636=_0x179e1d;this[_0x182636(0xe0)][_0x182636(0x12d)](_0x17a7f2),this[_0x182636(0xfc)](_0x17a7f2);}}function q(_0x470f7a,_0x2633a6){const _0xb8ecc0=_0x179e1d;return _0x470f7a[_0xb8ecc0(0xe6)]===_0x2633a6[_0xb8ecc0(0xe6)]&&_0x470f7a[_0xb8ecc0(0x12f)]===_0x2633a6[_0xb8ecc0(0x12f)]&&_0x470f7a[_0xb8ecc0(0x102)]===_0x2633a6[_0xb8ecc0(0xe2)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x52b23e=_0xe13d;function _0x478d(){const _0x12e9cb=['_integrateWithEditorAnnotations','_setSelectedAnnotations','length','3224935TNDDYV','_detachListeners','hasDomSelection','_annotationToNarrowView','_showBalloon','add','_attachToContainer','resize','_annotations','detach','set:container','find','_updateBalloonPosition','low','bind','_manuallyClosedAnnotationViews','southArrowNorth','rearrange','uiUpdate','remove','change:height','ck-sidebar--narrow','target','content','northArrowSouth','Esc','_refreshPositioning','isVisible','blur','_domEmitter','stop','defaultPositions','detachFromDom','pin','editors','9651mPtzpq','20638210KoLIeM','focus','mousedown','narrowSidebar','EditorAnnotations','narrowsidebar-detach-not-attached','create','_refreshPositioningDebounced','384ZwZsIf','_hideBalloon','from','annotationType','NarrowSidebar','values','2IbnWOM','ready','set','12347328UbMlEO','getOrderedSelectedAnnotations','execute','southArrowNorthWest','plugins','refresh','focusableElements','_detachFromContainer','register','preventDefault','_editorAnnotations','getByView','attach','activeAnnotation','isDirty','keyCode','keydown','_selectedAnnotations','stopPropagation','type','pluginName','has','getSidebarItemView','preventClosingBalloon','number','removeEventListener','destroy','bodyCollection','stopListening','isAttached','init','off','view','addEventListener','attachToDom','delete','addAnnotation','first','esc','contains','listenTo','southArrowNorthEast','_attachListeners','northArrowSouthEast','northArrowSouthWest','locale','unpin','cancel','get','requires','context','151002wHQECs','clear','setActiveAnnotation','_destroyEditorAnnotationsIntegration','balloonPanelView','high','44tIivOz','4451766djBrfl','change:container','135909jvkaik','narrowsidebar-attach-already-attached','includes','annotations','refreshPositioning','element'];_0x478d=function(){return _0x12e9cb;};return _0x478d();}(function(_0x5b04d4,_0x1d9d42){const _0x5c86d8=_0xe13d,_0x33ed97=_0x5b04d4();while(!![]){try{const _0x1d28a1=parseInt(_0x5c86d8(0x96))/0x1*(parseInt(_0x5c86d8(0xa5))/0x2)+-parseInt(_0x5c86d8(0xe4))/0x3*(-parseInt(_0x5c86d8(0xe1))/0x4)+parseInt(_0x5c86d8(0xed))/0x5+-parseInt(_0x5c86d8(0xe2))/0x6+parseInt(_0x5c86d8(0xa8))/0x7+parseInt(_0x5c86d8(0x9f))/0x8*(parseInt(_0x5c86d8(0xdb))/0x9)+-parseInt(_0x5c86d8(0x97))/0xa;if(_0x1d28a1===_0x1d9d42)break;else _0x33ed97['push'](_0x33ed97['shift']());}catch(_0x335b17){_0x33ed97['push'](_0x33ed97['shift']());}}}(_0x478d,0xdfbd5));import{ContextPlugin as _0x4a1e00,Context as _0x39c072}from'ckeditor5/src/core.js';import _0x6d27c from'./annotationsuis.js';import _0x5de2eb from'./sidebar.js';import _0xfab129 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x30a5fc,BodyCollection as _0x352071}from'ckeditor5/src/ui.js';import{CKEditorError as _0x1aee52,DomEmitterMixin as _0x11e915,keyCodes as _0x470e35,Collection as _0x140e0b}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';function _0xe13d(_0x50cdc1,_0x280947){const _0x478de8=_0x478d();return _0xe13d=function(_0xe13d52,_0x52e11d){_0xe13d52=_0xe13d52-0x77;let _0xcf9b2d=_0x478de8[_0xe13d52];return _0xcf9b2d;},_0xe13d(_0x50cdc1,_0x280947);}import{debounce as _0x1cd3ba}from'lodash-es';export default class i extends _0x4a1e00{static get[_0x52b23e(0xd9)](){return[_0x5de2eb,_0x6d27c];}static get[_0x52b23e(0xbc)](){const _0x5f5729=_0x52b23e;return _0x5f5729(0xa3);}constructor(_0x25c9dc){const _0x406325=_0x52b23e;super(_0x25c9dc),this[_0x406325(0xc5)]=!0x1,this[_0x406325(0x82)]=new Set(),this[_0x406325(0x90)]=Object[_0x406325(0x9d)](_0x11e915),this[_0x406325(0xf0)]=new Map(),this[_0x406325(0xa7)](_0x406325(0xb5),null),this[_0x406325(0xe7)]=null,this[_0x406325(0xb9)]=[],this[_0x406325(0xb2)]=new _0x140e0b(),this[_0x406325(0x9e)]=_0x1cd3ba(()=>{const _0x354eaf=_0x406325;this[_0x354eaf(0x8d)]();},0xfa,{'leading':!0x1});}[_0x52b23e(0xc6)](){const _0x29e849=_0x52b23e;this[_0x29e849(0xda)][_0x29e849(0xac)][_0x29e849(0xd8)](_0x6d27c)[_0x29e849(0xb0)](_0x29e849(0x9a),this),this[_0x29e849(0xc3)]=new _0x352071(this[_0x29e849(0xda)][_0x29e849(0xd5)]),this[_0x29e849(0xdf)]=new _0x30a5fc(this[_0x29e849(0xda)][_0x29e849(0xd5)]),this[_0x29e849(0xc3)][_0x29e849(0xca)](),this[_0x29e849(0xc3)][_0x29e849(0x78)](this[_0x29e849(0xdf)]);}[_0x52b23e(0xb4)](_0x124b2b){const _0x4b527c=_0x52b23e;this[_0x4b527c(0xe7)]=_0x124b2b;const _0x1ea211=this[_0x4b527c(0xda)][_0x4b527c(0xac)][_0x4b527c(0xd8)](_0x5de2eb),_0x46f234=this[_0x4b527c(0xdf)];if(_0x1ea211[_0x4b527c(0x7b)]=_0x124b2b,this[_0x4b527c(0xc5)])throw new _0x1aee52(_0x4b527c(0xe5),this);this[_0x4b527c(0xc5)]=!0x0,this[_0x4b527c(0xd0)](_0x1ea211,_0x4b527c(0x7d),()=>{const _0x400d5c=_0x4b527c;this[_0x400d5c(0x7c)](),this[_0x400d5c(0xd0)](_0x1ea211,_0x400d5c(0xe3),_0x1e46f2=>{const _0x513e62=_0x400d5c;_0x1e46f2[_0x513e62(0xc7)](),this[_0x513e62(0xb4)](_0x124b2b);});}),_0x1ea211[_0x4b527c(0x79)]({'viewClass':_0x4b527c(0x88),'spaceBetweenItems':0x5});const _0x45806e=_0x433b98=>{const _0xdbbf32=_0x4b527c,_0x37ef89=new _0xfab129(this[_0xdbbf32(0xda)][_0xdbbf32(0xd5)]);_0x1ea211[_0xdbbf32(0xcc)](_0x433b98,_0x37ef89),this[_0xdbbf32(0xf0)][_0xdbbf32(0xa7)](_0x433b98,_0x37ef89),_0x37ef89[_0xdbbf32(0x81)](_0xdbbf32(0xb6),_0xdbbf32(0xa2),_0xdbbf32(0xc0))['to'](_0x433b98[_0xdbbf32(0xc8)],_0xdbbf32(0xb6),_0xdbbf32(0xbb),_0xdbbf32(0xec)),_0x37ef89['on'](_0xdbbf32(0xaa),()=>{const _0x12f9f6=_0xdbbf32;this[_0x12f9f6(0x82)][_0x12f9f6(0xdc)](),_0x46f234[_0x12f9f6(0x8a)][_0x12f9f6(0xcd)]!==_0x433b98[_0x12f9f6(0xc8)]?(this[_0x12f9f6(0x77)](_0x433b98),_0x433b98[_0x12f9f6(0xc8)][_0x12f9f6(0xe9)][_0x12f9f6(0x98)](),this[_0x12f9f6(0xdd)](_0x433b98)):this[_0x12f9f6(0xdd)](null);});};for(const _0x36867b of _0x124b2b)_0x45806e(_0x36867b);this[_0x4b527c(0xd0)](_0x124b2b,_0x4b527c(0x78),(_0x306b20,_0x3f6984)=>{_0x45806e(_0x3f6984);}),this[_0x4b527c(0xd0)](_0x124b2b,_0x4b527c(0x86),(_0x27b537,_0x545c0a,_0x502fcc)=>{const _0x3ae41a=_0x4b527c;this[_0x3ae41a(0xf0)][_0x3ae41a(0xd8)](_0x545c0a)[_0x3ae41a(0xc2)](),this[_0x3ae41a(0xf0)][_0x3ae41a(0xcb)](_0x545c0a),_0x1ea211[_0x3ae41a(0x84)]({'removedAnnotation':_0x545c0a,'previousAnnotation':_0x124b2b[_0x3ae41a(0xd8)](_0x502fcc-0x1),'nextAnnotation':_0x124b2b[_0x3ae41a(0xd8)](_0x502fcc+0x1)}),_0x545c0a===this[_0x3ae41a(0xb5)]&&this[_0x3ae41a(0xdd)](null);},{'priority':_0x4b527c(0x80)}),this[_0x4b527c(0xd0)](_0x124b2b,_0x4b527c(0x98),(_0x4d145d,_0x237d7a)=>{const _0x2939b7=_0x4b527c;this[_0x2939b7(0xdd)](_0x237d7a);}),this[_0x4b527c(0xd0)](_0x124b2b,_0x4b527c(0x8f),()=>{const _0x110d81=_0x4b527c;this[_0x110d81(0xdd)](null);}),this[_0x4b527c(0x90)][_0x4b527c(0xd0)](document,_0x4b527c(0xb8),(_0x12a500,_0x5ec774)=>{const _0x10cafa=_0x4b527c;_0x5ec774[_0x10cafa(0xb7)]===_0x470e35[_0x10cafa(0xce)]&&_0x46f234[_0x10cafa(0x8e)]&&(this[_0x10cafa(0x82)][_0x10cafa(0x78)](_0x46f234[_0x10cafa(0x8a)][_0x10cafa(0xcd)]),this[_0x10cafa(0xa0)](),_0x5ec774[_0x10cafa(0xba)](),_0x5ec774[_0x10cafa(0xb1)]());}),this[_0x4b527c(0x90)][_0x4b527c(0xd0)](document,_0x4b527c(0x99),(_0x32f4c9,_0x371a4b)=>{const _0x2ec202=_0x4b527c,_0x8bf077=_0x371a4b[_0x2ec202(0x89)];_0x46f234[_0x2ec202(0x8e)]&&_0x46f234[_0x2ec202(0xe9)][_0x2ec202(0xcf)](_0x8bf077)||_0x1ea211[_0x2ec202(0xc8)][_0x2ec202(0xe9)][_0x2ec202(0xcf)](_0x8bf077)||_0x32f4c9[_0x2ec202(0xbf)]||this[_0x2ec202(0xb5)]&&this[_0x2ec202(0xb5)][_0x2ec202(0xae)][_0x2ec202(0x7e)](_0x800822=>_0x800822[_0x2ec202(0xcf)](_0x8bf077))||(this[_0x2ec202(0x82)][_0x2ec202(0xdc)](),this[_0x2ec202(0xa0)](),this[_0x2ec202(0xdd)](null));});const _0x323f9e=this[_0x4b527c(0xda)]instanceof _0x39c072?this[_0x4b527c(0xda)][_0x4b527c(0x95)]:new _0x140e0b([this[_0x4b527c(0xda)]]);for(const _0x321a1b of _0x323f9e)this[_0x4b527c(0xea)](_0x321a1b);this[_0x4b527c(0xd0)](_0x323f9e,_0x4b527c(0x78),(_0x4854fc,_0x411415)=>{const _0x30deca=_0x4b527c;this[_0x30deca(0xd0)](_0x411415,_0x30deca(0xa6),()=>{const _0x4fbfa8=_0x30deca;this[_0x4fbfa8(0xea)](_0x411415);});}),this[_0x4b527c(0xd0)](_0x323f9e,_0x4b527c(0x86),(_0x38bd38,_0x3ae034)=>{const _0xdab38a=_0x4b527c;_0x3ae034[_0xdab38a(0xac)][_0xdab38a(0xbd)](_0xdab38a(0x9b))&&this[_0xdab38a(0xde)](_0x3ae034[_0xdab38a(0xac)][_0xdab38a(0xd8)](_0xdab38a(0x9b)));}),window[_0x4b527c(0xc9)](_0x4b527c(0x7a),this[_0x4b527c(0x9e)]),this[_0x4b527c(0x8d)]();}[_0x52b23e(0xdd)](_0x318fe1){const _0x271b24=_0x52b23e;if(_0x318fe1===this[_0x271b24(0xb5)])return;const _0x17d474=this[_0x271b24(0xda)][_0x271b24(0xac)][_0x271b24(0xd8)](_0x5de2eb);if(_0x17d474[_0x271b24(0xad)]({'blurredAnnotation':this[_0x271b24(0xb5)],'activatedAnnotation':_0x318fe1,'disableAnimationOnActivatedAnnotation':!0x0}),_0x318fe1)_0x17d474[_0x271b24(0xbe)](_0x318fe1)?this[_0x271b24(0x77)](_0x318fe1):this[_0x271b24(0xa0)]();else this[_0x271b24(0xa0)]();this[_0x271b24(0xb5)]=_0x318fe1;}[_0x52b23e(0x7c)](){const _0x301b25=_0x52b23e;if(!this[_0x301b25(0xc5)])throw new _0x1aee52(_0x301b25(0x9c),this);this[_0x301b25(0xdd)](null);const _0xe4da4d=this[_0x301b25(0xda)][_0x301b25(0xac)][_0x301b25(0xd8)](_0x5de2eb);this[_0x301b25(0xa0)](),Array[_0x301b25(0xa1)](this[_0x301b25(0xf0)][_0x301b25(0xa4)](),_0x10a2d8=>_0x10a2d8[_0x301b25(0xc2)]()),this[_0x301b25(0xf0)][_0x301b25(0xdc)](),_0xe4da4d[_0x301b25(0xaf)](this[_0x301b25(0xe7)]),this[_0x301b25(0xc4)](),this[_0x301b25(0x90)][_0x301b25(0xc4)](),this[_0x301b25(0xda)]instanceof _0x39c072&&this[_0x301b25(0xc4)](this[_0x301b25(0xda)][_0x301b25(0x95)]);for(const _0x42ebff of Array[_0x301b25(0xa1)](this[_0x301b25(0xb2)]))this[_0x301b25(0xde)](_0x42ebff);window[_0x301b25(0xc1)](_0x301b25(0x7a),this[_0x301b25(0x9e)]),this[_0x301b25(0x9e)][_0x301b25(0xd7)](),this[_0x301b25(0xb9)]=[],this[_0x301b25(0xc5)]=!0x1,this[_0x301b25(0xe7)]=null;}[_0x52b23e(0xc2)](){const _0x4fdb48=_0x52b23e;this[_0x4fdb48(0xc5)]&&this[_0x4fdb48(0x7c)](),this[_0x4fdb48(0xc3)][_0x4fdb48(0x93)]();}[_0x52b23e(0xea)](_0x189464){const _0x5ea0ec=_0x52b23e;if(!_0x189464[_0x5ea0ec(0xac)][_0x5ea0ec(0xbd)](_0x5ea0ec(0x9b)))return;const _0x302554=_0x189464[_0x5ea0ec(0xac)][_0x5ea0ec(0xd8)](_0x5ea0ec(0x9b)),_0x20c4b0=this[_0x5ea0ec(0xda)][_0x5ea0ec(0xac)][_0x5ea0ec(0xd8)](_0x5de2eb),_0x35927d=this[_0x5ea0ec(0xe7)],_0x178944=this[_0x5ea0ec(0xdf)],_0x53d31b=()=>{const _0x331493=_0x5ea0ec,_0x260bdb=_0x302554[_0x331493(0xa9)]({'annotations':this[_0x331493(0xe7)],'activeAnnotation':this[_0x331493(0xb5)]});this[_0x331493(0xeb)](_0x260bdb),this[_0x331493(0xdd)](_0x260bdb[0x0]||null);};this[_0x5ea0ec(0xd0)](_0x302554,_0x5ea0ec(0xad),_0x53d31b),this[_0x5ea0ec(0xd0)](_0x302554,_0x5ea0ec(0x8f),(_0x57de43,{isAnnotationTracked:_0xc46b10})=>{const _0x1ac831=_0x5ea0ec;this[_0x1ac831(0xb5)]&&_0xc46b10(this[_0x1ac831(0xb5)])&&(this[_0x1ac831(0xeb)]([]),this[_0x1ac831(0xdd)](null));}),this[_0x5ea0ec(0xd0)](_0x302554,_0x5ea0ec(0x85),()=>{const _0x2cf9c0=_0x5ea0ec;this[_0x2cf9c0(0x9e)]();}),this[_0x5ea0ec(0xd0)](_0x35927d,_0x5ea0ec(0x8f),_0x4d4013=>{const _0x44960d=_0x5ea0ec;_0x302554[_0x44960d(0xef)]()&&_0x4d4013[_0x44960d(0x91)]();},{'priority':_0x5ea0ec(0xe0)}),this[_0x5ea0ec(0xd0)](this[_0x5ea0ec(0x90)],_0x5ea0ec(0x99),(_0x47b49d,_0x24207c)=>{const _0x42ce89=_0x5ea0ec,_0x598267=_0x24207c[_0x42ce89(0x89)];_0x178944[_0x42ce89(0x8e)]&&_0x178944[_0x42ce89(0xe9)][_0x42ce89(0xcf)](_0x598267)||_0x20c4b0[_0x42ce89(0xc8)][_0x42ce89(0xe9)][_0x42ce89(0xcf)](_0x598267)||this[_0x42ce89(0xb5)]&&_0x302554[_0x42ce89(0xef)]()&&(_0x53d31b(),_0x47b49d[_0x42ce89(0xbf)]=!0x0);},{'priority':_0x5ea0ec(0xe0)}),this[_0x5ea0ec(0xb2)][_0x5ea0ec(0x78)](_0x302554);}[_0x52b23e(0xde)](_0x40af9a){const _0x123556=_0x52b23e;_0x40af9a&&(this[_0x123556(0xc4)](_0x40af9a),this[_0x123556(0xb2)][_0x123556(0x86)](_0x40af9a));}[_0x52b23e(0xeb)](_0x175013){const _0xb3883=_0x52b23e;for(const _0x3d3004 of this[_0xb3883(0xb9)])_0x175013[_0xb3883(0xe6)](_0x3d3004)||this[_0xb3883(0x82)][_0xb3883(0xcb)](_0x3d3004[_0xb3883(0xc8)]);this[_0xb3883(0xb9)]=_0x175013;}[_0x52b23e(0x8d)](){const _0x17f909=_0x52b23e,_0x210ca8=this[_0x17f909(0xdf)];this[_0x17f909(0xe7)][_0x17f909(0xe8)](),_0x210ca8[_0x17f909(0x8e)]&&this[_0x17f909(0x7f)]();}[_0x52b23e(0x77)](_0x40bde8){const _0x5a4eba=_0x52b23e;if(this[_0x5a4eba(0x82)][_0x5a4eba(0xbd)](_0x40bde8[_0x5a4eba(0xc8)]))return;const _0x3ae376=this[_0x5a4eba(0xdf)][_0x5a4eba(0x8a)][_0x5a4eba(0xcd)];_0x3ae376!==_0x40bde8[_0x5a4eba(0xc8)]?(_0x3ae376&&this[_0x5a4eba(0xee)](_0x3ae376),this[_0x5a4eba(0xd2)](_0x40bde8[_0x5a4eba(0xc8)]),this[_0x5a4eba(0xdf)][_0x5a4eba(0x8a)][_0x5a4eba(0xdc)](),this[_0x5a4eba(0xdf)][_0x5a4eba(0x8a)][_0x5a4eba(0x78)](_0x40bde8[_0x5a4eba(0xc8)]),this[_0x5a4eba(0x7f)]()):this[_0x5a4eba(0x7f)]();}[_0x52b23e(0x7f)](){const _0x272c28=_0x52b23e,_0xf94409=this[_0x272c28(0xdf)][_0x272c28(0x8a)][_0x272c28(0xcd)],_0x837c3a=_0xf94409&&this[_0x272c28(0xe7)][_0x272c28(0xb3)](_0xf94409);if(!_0x837c3a||!this[_0x272c28(0xf0)][_0x272c28(0xbd)](_0x837c3a))return;const _0x2412f7=this[_0x272c28(0xf0)][_0x272c28(0xd8)](_0x837c3a)[_0x272c28(0xe9)],_0x4aae61=(function(){const _0x3415ca=_0x272c28,_0x1ea726=_0x30a5fc[_0x3415ca(0x92)];return[_0x1ea726[_0x3415ca(0xd1)],_0x1ea726[_0x3415ca(0xd3)],_0x1ea726[_0x3415ca(0x83)],_0x1ea726[_0x3415ca(0x8b)],_0x1ea726[_0x3415ca(0xab)],_0x1ea726[_0x3415ca(0xd4)]];}());this[_0x272c28(0xdf)][_0x272c28(0x94)]({'target':_0x2412f7,'positions':_0x4aae61});}[_0x52b23e(0xa0)](){const _0x5ccafc=_0x52b23e,_0x1d255f=this[_0x5ccafc(0xdf)],_0x2bc24f=_0x1d255f[_0x5ccafc(0x8a)][_0x5ccafc(0xcd)];_0x2bc24f&&(this[_0x5ccafc(0xee)](_0x2bc24f),_0x1d255f[_0x5ccafc(0xd6)](),_0x1d255f[_0x5ccafc(0x8a)][_0x5ccafc(0xdc)]());}[_0x52b23e(0xd2)](_0x4c7f3f){const _0x205843=_0x52b23e;this[_0x205843(0xd0)](_0x4c7f3f,_0x205843(0x87),()=>this[_0x205843(0x7f)]()),this[_0x205843(0xd0)](_0x4c7f3f,_0x205843(0x8c),(_0x172ad1,_0x744e19)=>{const _0x306a6b=_0x205843;this[_0x306a6b(0x82)][_0x306a6b(0x78)](_0x4c7f3f),this[_0x306a6b(0xa0)](),_0x744e19();});}[_0x52b23e(0xee)](_0x2f2198){const _0x16d917=_0x52b23e;this[_0x16d917(0xc4)](_0x2f2198);}}
|
|
23
|
+
const _0x10c2e5=_0x2969;(function(_0x37ef2d,_0x55c2a1){const _0x34165d=_0x2969,_0xcfdc8f=_0x37ef2d();while(!![]){try{const _0x2d8027=-parseInt(_0x34165d(0x1cd))/0x1+parseInt(_0x34165d(0x1c1))/0x2+-parseInt(_0x34165d(0x1b4))/0x3+-parseInt(_0x34165d(0x204))/0x4*(parseInt(_0x34165d(0x217))/0x5)+parseInt(_0x34165d(0x1dd))/0x6*(parseInt(_0x34165d(0x1d2))/0x7)+-parseInt(_0x34165d(0x20e))/0x8+parseInt(_0x34165d(0x21b))/0x9*(parseInt(_0x34165d(0x211))/0xa);if(_0x2d8027===_0x55c2a1)break;else _0xcfdc8f['push'](_0xcfdc8f['shift']());}catch(_0x533c33){_0xcfdc8f['push'](_0xcfdc8f['shift']());}}}(_0x35c7,0x47bf4));import{ContextPlugin as _0x29a341,Context as _0x8bc767}from'ckeditor5/src/core.js';function _0x2969(_0x14973b,_0x5bfa33){const _0x35c794=_0x35c7();return _0x2969=function(_0x2969c8,_0x33f870){_0x2969c8=_0x2969c8-0x1a5;let _0x58fdfe=_0x35c794[_0x2969c8];return _0x58fdfe;},_0x2969(_0x14973b,_0x5bfa33);}import _0x53c5d5 from'./annotationsuis.js';import _0x194433 from'./sidebar.js';function _0x35c7(){const _0x166824=['number','cancel','set:container','contains','northArrowSouthEast','_manuallyClosedAnnotationViews','activeAnnotation','includes','NarrowSidebar','EditorAnnotations','bodyCollection','1134078XvRuHk','southArrowNorthEast','isAttached','locale','getOrderedSelectedAnnotations','_hideBalloon','element','low','unpin','narrowSidebar','esc','editors','495717GuPPsr','keydown','destroy','create','getSidebarItemView','23527KgfwNu','_destroyEditorAnnotationsIntegration','off','ck-sidebar--narrow','find','northArrowSouth','uiUpdate','_showBalloon','change:height','register','isDirty','762HqrlHE','_integrateWithEditorAnnotations','_attachToContainer','isVisible','_domEmitter','ready','_refreshPositioning','rearrange','init','view','attach','stop','annotationType','narrowsidebar-attach-already-attached','focus','listenTo','execute','detachFromDom','removeEventListener','delete','add','attachToDom','hasDomSelection','_updateBalloonPosition','pin','resize','Esc','southArrowNorth','requires','has','_setSelectedAnnotations','change:container','addEventListener','target','narrowsidebar-detach-not-attached','setActiveAnnotation','detach','focusableElements','keyCode','2108GVbLlc','addAnnotation','bind','high','get','_detachListeners','stopListening','from','_refreshPositioningDebounced','mousedown','2539224QwFMXi','refreshPositioning','type','10344870DXQHEC','preventClosingBalloon','stopPropagation','preventDefault','_annotationToNarrowView','context','5225gPZxeH','first','plugins','_detachFromContainer','9XmqClO','values','getByView','length','content','balloonPanelView','_attachListeners','blur','pluginName','set','_editorAnnotations','_annotations','remove','annotations','refresh','southArrowNorthWest','northArrowSouthWest','_selectedAnnotations','clear','1111986mGOvaV','defaultPositions'];_0x35c7=function(){return _0x166824;};return _0x35c7();}import _0x532fdb from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x2e5a19,BodyCollection as _0x4b3716}from'ckeditor5/src/ui.js';import{CKEditorError as _0x2ae54c,DomEmitterMixin as _0x582d97,keyCodes as _0x1b3015,Collection as _0x3e5feb}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x24d6ec}from'lodash-es';export default class i extends _0x29a341{static get[_0x10c2e5(0x1f9)](){return[_0x194433,_0x53c5d5];}static get[_0x10c2e5(0x1a9)](){const _0x35bc59=_0x10c2e5;return _0x35bc59(0x1be);}constructor(_0x5b7ccb){const _0x18ec91=_0x10c2e5;super(_0x5b7ccb),this[_0x18ec91(0x1c3)]=!0x1,this[_0x18ec91(0x1bb)]=new Set(),this[_0x18ec91(0x1e1)]=Object[_0x18ec91(0x1d0)](_0x582d97),this[_0x18ec91(0x215)]=new Map(),this[_0x18ec91(0x1aa)](_0x18ec91(0x1bc),null),this[_0x18ec91(0x1ae)]=null,this[_0x18ec91(0x1b2)]=[],this[_0x18ec91(0x1ab)]=new _0x3e5feb(),this[_0x18ec91(0x20c)]=_0x24d6ec(()=>{const _0x31c67f=_0x18ec91;this[_0x31c67f(0x1e3)]();},0xfa,{'leading':!0x1});}[_0x10c2e5(0x1e5)](){const _0x50ad02=_0x10c2e5;this[_0x50ad02(0x216)][_0x50ad02(0x219)][_0x50ad02(0x208)](_0x53c5d5)[_0x50ad02(0x1db)](_0x50ad02(0x1ca),this),this[_0x50ad02(0x1c0)]=new _0x4b3716(this[_0x50ad02(0x216)][_0x50ad02(0x1c4)]),this[_0x50ad02(0x1a6)]=new _0x2e5a19(this[_0x50ad02(0x216)][_0x50ad02(0x1c4)]),this[_0x50ad02(0x1c0)][_0x50ad02(0x1f2)](),this[_0x50ad02(0x1c0)][_0x50ad02(0x1f1)](this[_0x50ad02(0x1a6)]);}[_0x10c2e5(0x1e7)](_0x2052a6){const _0x311914=_0x10c2e5;this[_0x311914(0x1ae)]=_0x2052a6;const _0x47664c=this[_0x311914(0x216)][_0x311914(0x219)][_0x311914(0x208)](_0x194433),_0x5287eb=this[_0x311914(0x1a6)];if(_0x47664c[_0x311914(0x1ac)]=_0x2052a6,this[_0x311914(0x1c3)])throw new _0x2ae54c(_0x311914(0x1ea),this);this[_0x311914(0x1c3)]=!0x0,this[_0x311914(0x1ec)](_0x47664c,_0x311914(0x1b8),()=>{const _0x17cd32=_0x311914;this[_0x17cd32(0x201)](),this[_0x17cd32(0x1ec)](_0x47664c,_0x17cd32(0x1fc),_0x2de96c=>{const _0x1dc407=_0x17cd32;_0x2de96c[_0x1dc407(0x1d4)](),this[_0x1dc407(0x1e7)](_0x2052a6);});}),_0x47664c[_0x311914(0x1df)]({'viewClass':_0x311914(0x1d5),'spaceBetweenItems':0x5});const _0x205a40=_0x1ef39c=>{const _0x4608f5=_0x311914,_0xc8ba45=new _0x532fdb(this[_0x4608f5(0x216)][_0x4608f5(0x1c4)]);_0x47664c[_0x4608f5(0x205)](_0x1ef39c,_0xc8ba45),this[_0x4608f5(0x215)][_0x4608f5(0x1aa)](_0x1ef39c,_0xc8ba45),_0xc8ba45[_0x4608f5(0x206)](_0x4608f5(0x1dc),_0x4608f5(0x1e9),_0x4608f5(0x1b6))['to'](_0x1ef39c[_0x4608f5(0x1e6)],_0x4608f5(0x1dc),_0x4608f5(0x210),_0x4608f5(0x21e)),_0xc8ba45['on'](_0x4608f5(0x1ed),()=>{const _0x3e619c=_0x4608f5;this[_0x3e619c(0x1bb)][_0x3e619c(0x1b3)](),_0x5287eb[_0x3e619c(0x1a5)][_0x3e619c(0x218)]!==_0x1ef39c[_0x3e619c(0x1e6)]?(this[_0x3e619c(0x1d9)](_0x1ef39c),_0x1ef39c[_0x3e619c(0x1e6)][_0x3e619c(0x1c7)][_0x3e619c(0x1eb)](),this[_0x3e619c(0x200)](_0x1ef39c)):this[_0x3e619c(0x200)](null);});};for(const _0xbdf25d of _0x2052a6)_0x205a40(_0xbdf25d);this[_0x311914(0x1ec)](_0x2052a6,_0x311914(0x1f1),(_0xf063e7,_0x27220c)=>{_0x205a40(_0x27220c);}),this[_0x311914(0x1ec)](_0x2052a6,_0x311914(0x1ad),(_0x581349,_0x2ba1b4,_0x16d51c)=>{const _0x14ff4b=_0x311914;this[_0x14ff4b(0x215)][_0x14ff4b(0x208)](_0x2ba1b4)[_0x14ff4b(0x1cf)](),this[_0x14ff4b(0x215)][_0x14ff4b(0x1f0)](_0x2ba1b4),_0x47664c[_0x14ff4b(0x1e4)]({'removedAnnotation':_0x2ba1b4,'previousAnnotation':_0x2052a6[_0x14ff4b(0x208)](_0x16d51c-0x1),'nextAnnotation':_0x2052a6[_0x14ff4b(0x208)](_0x16d51c+0x1)}),_0x2ba1b4===this[_0x14ff4b(0x1bc)]&&this[_0x14ff4b(0x200)](null);},{'priority':_0x311914(0x1c8)}),this[_0x311914(0x1ec)](_0x2052a6,_0x311914(0x1eb),(_0xaf6055,_0x2902e6)=>{const _0x1db691=_0x311914;this[_0x1db691(0x200)](_0x2902e6);}),this[_0x311914(0x1ec)](_0x2052a6,_0x311914(0x1a8),()=>{const _0x5e4ee7=_0x311914;this[_0x5e4ee7(0x200)](null);}),this[_0x311914(0x1e1)][_0x311914(0x1ec)](document,_0x311914(0x1ce),(_0x5a8605,_0x22a9ae)=>{const _0x359d55=_0x311914;_0x22a9ae[_0x359d55(0x203)]===_0x1b3015[_0x359d55(0x1cb)]&&_0x5287eb[_0x359d55(0x1e0)]&&(this[_0x359d55(0x1bb)][_0x359d55(0x1f1)](_0x5287eb[_0x359d55(0x1a5)][_0x359d55(0x218)]),this[_0x359d55(0x1c6)](),_0x22a9ae[_0x359d55(0x213)](),_0x22a9ae[_0x359d55(0x214)]());}),this[_0x311914(0x1e1)][_0x311914(0x1ec)](document,_0x311914(0x20d),(_0x5e32f5,_0x427ede)=>{const _0xed190a=_0x311914,_0x22b64c=_0x427ede[_0xed190a(0x1fe)];_0x5287eb[_0xed190a(0x1e0)]&&_0x5287eb[_0xed190a(0x1c7)][_0xed190a(0x1b9)](_0x22b64c)||_0x47664c[_0xed190a(0x1e6)][_0xed190a(0x1c7)][_0xed190a(0x1b9)](_0x22b64c)||_0x5e32f5[_0xed190a(0x212)]||this[_0xed190a(0x1bc)]&&this[_0xed190a(0x1bc)][_0xed190a(0x202)][_0xed190a(0x1d6)](_0x63c66c=>_0x63c66c[_0xed190a(0x1b9)](_0x22b64c))||(this[_0xed190a(0x1bb)][_0xed190a(0x1b3)](),this[_0xed190a(0x1c6)](),this[_0xed190a(0x200)](null));});const _0x45f18d=this[_0x311914(0x216)]instanceof _0x8bc767?this[_0x311914(0x216)][_0x311914(0x1cc)]:new _0x3e5feb([this[_0x311914(0x216)]]);for(const _0x361e2a of _0x45f18d)this[_0x311914(0x1de)](_0x361e2a);this[_0x311914(0x1ec)](_0x45f18d,_0x311914(0x1f1),(_0x10acee,_0x64243b)=>{const _0x4671e8=_0x311914;this[_0x4671e8(0x1ec)](_0x64243b,_0x4671e8(0x1e2),()=>{const _0x310504=_0x4671e8;this[_0x310504(0x1de)](_0x64243b);});}),this[_0x311914(0x1ec)](_0x45f18d,_0x311914(0x1ad),(_0x4710ca,_0x11c187)=>{const _0x578d9c=_0x311914;_0x11c187[_0x578d9c(0x219)][_0x578d9c(0x1fa)](_0x578d9c(0x1bf))&&this[_0x578d9c(0x1d3)](_0x11c187[_0x578d9c(0x219)][_0x578d9c(0x208)](_0x578d9c(0x1bf)));}),window[_0x311914(0x1fd)](_0x311914(0x1f6),this[_0x311914(0x20c)]),this[_0x311914(0x1e3)]();}[_0x10c2e5(0x200)](_0xf4eeb5){const _0x46ad66=_0x10c2e5;if(_0xf4eeb5===this[_0x46ad66(0x1bc)])return;const _0x5c3d63=this[_0x46ad66(0x216)][_0x46ad66(0x219)][_0x46ad66(0x208)](_0x194433);if(_0x5c3d63[_0x46ad66(0x1af)]({'blurredAnnotation':this[_0x46ad66(0x1bc)],'activatedAnnotation':_0xf4eeb5,'disableAnimationOnActivatedAnnotation':!0x0}),_0xf4eeb5)_0x5c3d63[_0x46ad66(0x1d1)](_0xf4eeb5)?this[_0x46ad66(0x1d9)](_0xf4eeb5):this[_0x46ad66(0x1c6)]();else this[_0x46ad66(0x1c6)]();this[_0x46ad66(0x1bc)]=_0xf4eeb5;}[_0x10c2e5(0x201)](){const _0x47f91=_0x10c2e5;if(!this[_0x47f91(0x1c3)])throw new _0x2ae54c(_0x47f91(0x1ff),this);this[_0x47f91(0x200)](null);const _0x509e16=this[_0x47f91(0x216)][_0x47f91(0x219)][_0x47f91(0x208)](_0x194433);this[_0x47f91(0x1c6)](),Array[_0x47f91(0x20b)](this[_0x47f91(0x215)][_0x47f91(0x21c)](),_0x398e3d=>_0x398e3d[_0x47f91(0x1cf)]()),this[_0x47f91(0x215)][_0x47f91(0x1b3)](),_0x509e16[_0x47f91(0x21a)](this[_0x47f91(0x1ae)]),this[_0x47f91(0x20a)](),this[_0x47f91(0x1e1)][_0x47f91(0x20a)](),this[_0x47f91(0x216)]instanceof _0x8bc767&&this[_0x47f91(0x20a)](this[_0x47f91(0x216)][_0x47f91(0x1cc)]);for(const _0x7537c9 of Array[_0x47f91(0x20b)](this[_0x47f91(0x1ab)]))this[_0x47f91(0x1d3)](_0x7537c9);window[_0x47f91(0x1ef)](_0x47f91(0x1f6),this[_0x47f91(0x20c)]),this[_0x47f91(0x20c)][_0x47f91(0x1b7)](),this[_0x47f91(0x1b2)]=[],this[_0x47f91(0x1c3)]=!0x1,this[_0x47f91(0x1ae)]=null;}[_0x10c2e5(0x1cf)](){const _0x4289fc=_0x10c2e5;this[_0x4289fc(0x1c3)]&&this[_0x4289fc(0x201)](),this[_0x4289fc(0x1c0)][_0x4289fc(0x1ee)]();}[_0x10c2e5(0x1de)](_0x484dbb){const _0x2634e3=_0x10c2e5;if(!_0x484dbb[_0x2634e3(0x219)][_0x2634e3(0x1fa)](_0x2634e3(0x1bf)))return;const _0x140d6d=_0x484dbb[_0x2634e3(0x219)][_0x2634e3(0x208)](_0x2634e3(0x1bf)),_0x1477c6=this[_0x2634e3(0x216)][_0x2634e3(0x219)][_0x2634e3(0x208)](_0x194433),_0x4bbed9=this[_0x2634e3(0x1ae)],_0x5e6712=this[_0x2634e3(0x1a6)],_0x64aee6=()=>{const _0x179428=_0x2634e3,_0x120ab8=_0x140d6d[_0x179428(0x1c5)]({'annotations':this[_0x179428(0x1ae)],'activeAnnotation':this[_0x179428(0x1bc)]});this[_0x179428(0x1fb)](_0x120ab8),this[_0x179428(0x200)](_0x120ab8[0x0]||null);};this[_0x2634e3(0x1ec)](_0x140d6d,_0x2634e3(0x1af),_0x64aee6),this[_0x2634e3(0x1ec)](_0x140d6d,_0x2634e3(0x1a8),(_0x8eb4ed,{isAnnotationTracked:_0x41c2ac})=>{const _0x264f9a=_0x2634e3;this[_0x264f9a(0x1bc)]&&_0x41c2ac(this[_0x264f9a(0x1bc)])&&(this[_0x264f9a(0x1fb)]([]),this[_0x264f9a(0x200)](null));}),this[_0x2634e3(0x1ec)](_0x140d6d,_0x2634e3(0x1d8),()=>{const _0x6ad9c1=_0x2634e3;this[_0x6ad9c1(0x20c)]();}),this[_0x2634e3(0x1ec)](_0x4bbed9,_0x2634e3(0x1a8),_0x3eec18=>{const _0x35d775=_0x2634e3;_0x140d6d[_0x35d775(0x1f3)]()&&_0x3eec18[_0x35d775(0x1e8)]();},{'priority':_0x2634e3(0x207)}),this[_0x2634e3(0x1ec)](this[_0x2634e3(0x1e1)],_0x2634e3(0x20d),(_0x30aa2b,_0x1a61e9)=>{const _0xf45f61=_0x2634e3,_0x158500=_0x1a61e9[_0xf45f61(0x1fe)];_0x5e6712[_0xf45f61(0x1e0)]&&_0x5e6712[_0xf45f61(0x1c7)][_0xf45f61(0x1b9)](_0x158500)||_0x1477c6[_0xf45f61(0x1e6)][_0xf45f61(0x1c7)][_0xf45f61(0x1b9)](_0x158500)||this[_0xf45f61(0x1bc)]&&_0x140d6d[_0xf45f61(0x1f3)]()&&(_0x64aee6(),_0x30aa2b[_0xf45f61(0x212)]=!0x0);},{'priority':_0x2634e3(0x207)}),this[_0x2634e3(0x1ab)][_0x2634e3(0x1f1)](_0x140d6d);}[_0x10c2e5(0x1d3)](_0x3b3ed0){const _0x381b0e=_0x10c2e5;_0x3b3ed0&&(this[_0x381b0e(0x20a)](_0x3b3ed0),this[_0x381b0e(0x1ab)][_0x381b0e(0x1ad)](_0x3b3ed0));}[_0x10c2e5(0x1fb)](_0x1ae11d){const _0x1c2c16=_0x10c2e5;for(const _0x36a2c6 of this[_0x1c2c16(0x1b2)])_0x1ae11d[_0x1c2c16(0x1bd)](_0x36a2c6)||this[_0x1c2c16(0x1bb)][_0x1c2c16(0x1f0)](_0x36a2c6[_0x1c2c16(0x1e6)]);this[_0x1c2c16(0x1b2)]=_0x1ae11d;}[_0x10c2e5(0x1e3)](){const _0x4152d2=_0x10c2e5,_0x561157=this[_0x4152d2(0x1a6)];this[_0x4152d2(0x1ae)][_0x4152d2(0x20f)](),_0x561157[_0x4152d2(0x1e0)]&&this[_0x4152d2(0x1f4)]();}[_0x10c2e5(0x1d9)](_0x2c8410){const _0x3e04b8=_0x10c2e5;if(this[_0x3e04b8(0x1bb)][_0x3e04b8(0x1fa)](_0x2c8410[_0x3e04b8(0x1e6)]))return;const _0x28f57d=this[_0x3e04b8(0x1a6)][_0x3e04b8(0x1a5)][_0x3e04b8(0x218)];_0x28f57d!==_0x2c8410[_0x3e04b8(0x1e6)]?(_0x28f57d&&this[_0x3e04b8(0x209)](_0x28f57d),this[_0x3e04b8(0x1a7)](_0x2c8410[_0x3e04b8(0x1e6)]),this[_0x3e04b8(0x1a6)][_0x3e04b8(0x1a5)][_0x3e04b8(0x1b3)](),this[_0x3e04b8(0x1a6)][_0x3e04b8(0x1a5)][_0x3e04b8(0x1f1)](_0x2c8410[_0x3e04b8(0x1e6)]),this[_0x3e04b8(0x1f4)]()):this[_0x3e04b8(0x1f4)]();}[_0x10c2e5(0x1f4)](){const _0x151579=_0x10c2e5,_0x496fb0=this[_0x151579(0x1a6)][_0x151579(0x1a5)][_0x151579(0x218)],_0xeadfce=_0x496fb0&&this[_0x151579(0x1ae)][_0x151579(0x21d)](_0x496fb0);if(!_0xeadfce||!this[_0x151579(0x215)][_0x151579(0x1fa)](_0xeadfce))return;const _0x31af0e=this[_0x151579(0x215)][_0x151579(0x208)](_0xeadfce)[_0x151579(0x1c7)],_0x1b75aa=(function(){const _0x8af857=_0x151579,_0x551612=_0x2e5a19[_0x8af857(0x1b5)];return[_0x551612[_0x8af857(0x1c2)],_0x551612[_0x8af857(0x1ba)],_0x551612[_0x8af857(0x1f8)],_0x551612[_0x8af857(0x1d7)],_0x551612[_0x8af857(0x1b0)],_0x551612[_0x8af857(0x1b1)]];}());this[_0x151579(0x1a6)][_0x151579(0x1f5)]({'target':_0x31af0e,'positions':_0x1b75aa});}[_0x10c2e5(0x1c6)](){const _0x311fe9=_0x10c2e5,_0x12028d=this[_0x311fe9(0x1a6)],_0x11a6ac=_0x12028d[_0x311fe9(0x1a5)][_0x311fe9(0x218)];_0x11a6ac&&(this[_0x311fe9(0x209)](_0x11a6ac),_0x12028d[_0x311fe9(0x1c9)](),_0x12028d[_0x311fe9(0x1a5)][_0x311fe9(0x1b3)]());}[_0x10c2e5(0x1a7)](_0x49ef77){const _0x37c8a6=_0x10c2e5;this[_0x37c8a6(0x1ec)](_0x49ef77,_0x37c8a6(0x1da),()=>this[_0x37c8a6(0x1f4)]()),this[_0x37c8a6(0x1ec)](_0x49ef77,_0x37c8a6(0x1f7),(_0x311264,_0x20bf0a)=>{const _0x301177=_0x37c8a6;this[_0x301177(0x1bb)][_0x301177(0x1f1)](_0x49ef77),this[_0x301177(0x1c6)](),_0x20bf0a();});}[_0x10c2e5(0x209)](_0x51ebe4){const _0x56c1d7=_0x10c2e5;this[_0x56c1d7(0x20a)](_0x51ebe4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5cfdd5=_0x2cde;(function(_0x2d5121,_0x193a37){const _0x4a8e38=_0x2cde,_0x41e6c4=_0x2d5121();while(!![]){try{const _0x48c7ee=parseInt(_0x4a8e38(0x18b))/0x1*(-parseInt(_0x4a8e38(0x1b8))/0x2)+parseInt(_0x4a8e38(0x19a))/0x3*(parseInt(_0x4a8e38(0x1b9))/0x4)+-parseInt(_0x4a8e38(0x19f))/0x5*(-parseInt(_0x4a8e38(0x1aa))/0x6)+parseInt(_0x4a8e38(0x1df))/0x7+-parseInt(_0x4a8e38(0x198))/0x8+-parseInt(_0x4a8e38(0x193))/0x9*(parseInt(_0x4a8e38(0x1bc))/0xa)+parseInt(_0x4a8e38(0x190))/0xb;if(_0x48c7ee===_0x193a37)break;else _0x41e6c4['push'](_0x41e6c4['shift']());}catch(_0x2ed1dd){_0x41e6c4['push'](_0x41e6c4['shift']());}}}(_0x4854,0xa94e5));import{ContextPlugin as _0x2fee1d}from'ckeditor5/src/core.js';import{Rect as _0x2942c5,CKEditorError as _0x3dffff}from'ckeditor5/src/utils.js';import _0x181a04 from'./view/sidebarview.js';function _0x2cde(_0x5454c3,_0x3f47c0){const _0x48548b=_0x4854();return _0x2cde=function(_0x2cde65,_0x4dda18){_0x2cde65=_0x2cde65-0x187;let _0x83ebbb=_0x48548b[_0x2cde65];return _0x83ebbb;},_0x2cde(_0x5454c3,_0x3f47c0);}import _0x29d347 from'./view/sidebaritemview.js';export default class D extends _0x2fee1d{static get[_0x5cfdd5(0x1db)](){const _0x559603=_0x5cfdd5;return _0x559603(0x1b3);}constructor(_0x5578fa){const _0x5ec750=_0x5cfdd5;super(_0x5578fa),this[_0x5ec750(0x189)](_0x5ec750(0x19b),void 0x0),this[_0x5ec750(0x196)]=this[_0x5ec750(0x1dc)](),this[_0x5ec750(0x189)](_0x5ec750(0x1d6),null),this[_0x5ec750(0x1a7)]=0x19,this[_0x5ec750(0x1d0)]=new Map(),this[_0x5ec750(0x1c6)]=new Map(),this[_0x5ec750(0x1cb)][_0x5ec750(0x1b6)][_0x5ec750(0x1c4)](_0x5ec750(0x1b7),!0x1),this[_0x5ec750(0x1c7)]=null,this[_0x5ec750(0x1a9)]=null,this[_0x5ec750(0x1d3)]=[];}[_0x5cfdd5(0x18d)](){const _0x9b323f=_0x5cfdd5,_0x410553=this[_0x9b323f(0x1cb)][_0x9b323f(0x1b6)][_0x9b323f(0x1d8)](_0x9b323f(0x18f));_0x410553&&this[_0x9b323f(0x18a)](_0x410553);}[_0x5cfdd5(0x18a)](_0x381ce4){const _0x38c5ca=_0x5cfdd5;if(!y(_0x381ce4))throw new _0x3dffff(_0x38c5ca(0x1a1));this[_0x38c5ca(0x1d6)]=_0x381ce4;}[_0x5cfdd5(0x1dd)]({viewClass:_0x3bcd37='',spaceBetweenItems:_0x3ae1af=0x19}={}){const _0x56e03d=_0x5cfdd5;if(!y(this[_0x56e03d(0x1d6)]))throw new _0x3dffff(_0x56e03d(0x1d1),this);this[_0x56e03d(0x1d6)][_0x56e03d(0x1e0)](this[_0x56e03d(0x196)][_0x56e03d(0x1b0)]),this[_0x56e03d(0x196)][_0x56e03d(0x1a4)]=_0x3bcd37,this[_0x56e03d(0x1a7)]=_0x3ae1af;}[_0x5cfdd5(0x197)]({removedAnnotation:_0x5a40a5,previousAnnotation:_0x300125,nextAnnotation:_0xd57a2}){const _0x194a18=_0x5cfdd5,_0x3d57ad=this[_0x194a18(0x19c)](_0x5a40a5);this[_0x194a18(0x196)][_0x194a18(0x1c0)][_0x194a18(0x1c3)](_0x3d57ad),this[_0x194a18(0x1be)](_0x5a40a5),_0x300125&&this[_0x194a18(0x1a6)](this[_0x194a18(0x19c)](_0x300125)),_0xd57a2&&this[_0x194a18(0x1a6)](this[_0x194a18(0x19c)](_0xd57a2)),this[_0x194a18(0x1ca)]();}[_0x5cfdd5(0x191)]({blurredAnnotation:_0x22bee2,activatedAnnotation:_0x5318a3,disableAnimationOnActivatedAnnotation:_0x2cc43c}){const _0x1fe61b=_0x5cfdd5;if(this[_0x1fe61b(0x1a9)]=_0x5318a3,_0x22bee2){_0x22bee2[_0x1fe61b(0x1da)]=!0x1;const _0x1fc8ee=this[_0x1fe61b(0x19c)](_0x22bee2);_0x1fc8ee&&_0x2cc43c&&(_0x1fc8ee[_0x1fe61b(0x1c1)]=!0x1);}if(_0x5318a3){const _0x5482a0=this[_0x1fe61b(0x19c)](_0x5318a3);_0x5482a0&&(_0x5318a3[_0x1fe61b(0x1da)]=!0x0,_0x2cc43c&&(_0x5482a0[_0x1fe61b(0x1c1)]=!0x0,_0x5482a0[_0x1fe61b(0x1a5)]+=0x1),this[_0x1fe61b(0x1a6)](_0x5482a0));}}[_0x5cfdd5(0x1b5)](_0x32aca0){const _0x5c9ea9=_0x5cfdd5;if(this[_0x5c9ea9(0x196)][_0x5c9ea9(0x1b0)][_0x5c9ea9(0x1c3)](),_0x32aca0){for(const _0x17bb10 of _0x32aca0)this[_0x5c9ea9(0x1be)](_0x17bb10);}this[_0x5c9ea9(0x196)][_0x5c9ea9(0x1c0)][_0x5c9ea9(0x199)](),this[_0x5c9ea9(0x196)][_0x5c9ea9(0x1a4)]='',this[_0x5c9ea9(0x19b)]=null;}[_0x5cfdd5(0x1d4)](_0x43c2f7,_0x5379e0){const _0x17e823=_0x5cfdd5;_0x5379e0||(_0x5379e0=_0x43c2f7[_0x17e823(0x196)]);const _0x23bed9=new _0x29d347(this[_0x17e823(0x1cb)][_0x17e823(0x194)]);this[_0x17e823(0x1d0)][_0x17e823(0x189)](_0x23bed9,_0x43c2f7),this[_0x17e823(0x1c6)][_0x17e823(0x189)](_0x43c2f7,_0x23bed9),_0x23bed9[_0x17e823(0x1bd)][_0x17e823(0x1a8)](_0x5379e0),this[_0x17e823(0x1de)](_0x43c2f7[_0x17e823(0x196)],_0x17e823(0x1a0),(_0x323769,_0x16c587,_0x441fab)=>{const _0x87cf5a=_0x17e823,_0x38e970=this[_0x87cf5a(0x1c8)](_0x43c2f7,_0x441fab);_0x23bed9[_0x87cf5a(0x1bb)]!=_0x38e970&&(_0x23bed9[_0x87cf5a(0x1bb)]=_0x38e970,this[_0x87cf5a(0x188)](_0x23bed9,_0x38e970));}),this[_0x17e823(0x1de)](_0x23bed9,_0x17e823(0x1b1),()=>{const _0x3be44e=_0x17e823;this[_0x3be44e(0x192)](_0x23bed9,_0x3be44e(0x1a5));}),this[_0x17e823(0x1de)](_0x23bed9,_0x17e823(0x18e),()=>{const _0x44fda4=_0x17e823;this[_0x44fda4(0x192)](_0x23bed9,_0x44fda4(0x1cf));}),this[_0x17e823(0x1a6)](_0x23bed9);const _0x2ee899=this[_0x17e823(0x1ad)](_0x23bed9);if(_0x2ee899)this[_0x17e823(0x1a2)](_0x2ee899,_0x23bed9)||this[_0x17e823(0x1a6)](_0x23bed9);else this[_0x17e823(0x1a6)](_0x23bed9);return this[_0x17e823(0x1ca)](),this[_0x17e823(0x196)][_0x17e823(0x1c0)][_0x17e823(0x1a8)](_0x23bed9),_0x23bed9;}[_0x5cfdd5(0x1ac)](_0x5da548){const _0x2bdefd=_0x5cfdd5;if(!_0x5da548[_0x2bdefd(0x1bd)][_0x2bdefd(0x19d)])return;const _0x3987b7=this[_0x2bdefd(0x1ad)](_0x5da548);if(!_0x3987b7)return;const _0x2bcfeb=this[_0x2bdefd(0x1d0)][_0x2bdefd(0x1d8)](_0x3987b7),_0x1ff239=this[_0x2bdefd(0x1a9)];_0x1ff239&&_0x1ff239===_0x2bcfeb?this[_0x2bdefd(0x1a2)](_0x3987b7,_0x5da548):this[_0x2bdefd(0x1ab)](_0x5da548,_0x3987b7);}[_0x5cfdd5(0x1d2)](_0x542418){const _0x38a56d=_0x5cfdd5;if(!_0x542418[_0x38a56d(0x1bd)][_0x38a56d(0x19d)])return;const _0x2a76a3=this[_0x38a56d(0x1ba)](_0x542418);if(!_0x2a76a3)return;const _0x534cd5=this[_0x38a56d(0x1d0)][_0x38a56d(0x1d8)](_0x2a76a3),_0x337c81=this[_0x38a56d(0x1cb)][_0x38a56d(0x1b6)][_0x38a56d(0x1d8)](_0x38a56d(0x1b7)),_0x1b69f8=this[_0x38a56d(0x1a9)];_0x1b69f8&&_0x1b69f8===_0x534cd5&&_0x337c81?(this[_0x38a56d(0x1ab)](_0x2a76a3,_0x542418),this[_0x38a56d(0x1a2)](_0x542418,_0x2a76a3)):_0x1b69f8&&_0x1b69f8===_0x534cd5?this[_0x38a56d(0x1ab)](_0x2a76a3,_0x542418):this[_0x38a56d(0x1a2)](_0x542418,_0x2a76a3);}[_0x5cfdd5(0x192)](_0x715110,_0x3a7dc8){const _0x27ff12=_0x5cfdd5;0x0===this[_0x27ff12(0x1d3)][_0x27ff12(0x19d)]&&setTimeout(()=>{const _0x55c073=_0x27ff12;for(const {sidebarItemView:_0x3230fa,changedProp:_0x375a58}of this[_0x55c073(0x1d3)])_0x55c073(0x1a5)===_0x375a58?this[_0x55c073(0x1ac)](_0x3230fa):this[_0x55c073(0x1d2)](_0x3230fa);this[_0x55c073(0x1d3)]=[];},0xa),this[_0x27ff12(0x1d3)][_0x27ff12(0x1b2)]({'sidebarItemView':_0x715110,'changedProp':_0x3a7dc8});}[_0x5cfdd5(0x19c)](_0x2eda44){const _0x56a9f0=_0x5cfdd5;return this[_0x56a9f0(0x1c6)][_0x56a9f0(0x1d8)](_0x2eda44);}[_0x5cfdd5(0x1ae)](){const _0x4d58b5=_0x5cfdd5;this[_0x4d58b5(0x1ce)](),this[_0x4d58b5(0x196)][_0x4d58b5(0x1ae)]();}[_0x5cfdd5(0x1be)](_0x531c93){const _0x359590=_0x5cfdd5,_0x25dc92=this[_0x359590(0x19c)](_0x531c93);this[_0x359590(0x1ce)](_0x25dc92),this[_0x359590(0x1ce)](_0x531c93[_0x359590(0x196)]),_0x25dc92[_0x359590(0x1ae)](),this[_0x359590(0x1c6)][_0x359590(0x1bf)](_0x531c93),this[_0x359590(0x1d0)][_0x359590(0x1bf)](_0x25dc92);}[_0x5cfdd5(0x1dc)](){const _0x2fc91a=_0x5cfdd5,_0x1e0b33=new _0x181a04(this[_0x2fc91a(0x1cb)][_0x2fc91a(0x194)]);return _0x1e0b33[_0x2fc91a(0x1d7)](),this['on'](_0x2fc91a(0x18c),(_0x2ce6f3,_0x2448f4,_0x400ed4,_0x2ce867)=>{const _0x44ced8=_0x2fc91a;_0x2ce867&&_0x1e0b33[_0x44ced8(0x1af)](_0x44ced8(0x1d5)),_0x400ed4?_0x1e0b33[_0x44ced8(0x1c5)](_0x44ced8(0x1d5))['to'](_0x400ed4,_0x44ced8(0x1cf)):_0x1e0b33[_0x44ced8(0x1d5)]=null;}),_0x1e0b33;}[_0x5cfdd5(0x1ca)](){const _0x13b332=_0x5cfdd5;var _0x12026f;this[_0x13b332(0x19b)]=(null===(_0x12026f=this[_0x13b332(0x1c7)])||void 0x0===_0x12026f?void 0x0:_0x12026f[_0x13b332(0x1b4)])?this[_0x13b332(0x19c)](this[_0x13b332(0x1c7)][_0x13b332(0x1b4)]):null;}[_0x5cfdd5(0x1ad)](_0x2705d8){const _0x1d2951=_0x5cfdd5;var _0x4ebe3c;const _0x351cf4=this[_0x1d2951(0x1d0)][_0x1d2951(0x1d8)](_0x2705d8),_0x2a1652=_0x351cf4&&(null===(_0x4ebe3c=this[_0x1d2951(0x1c7)])||void 0x0===_0x4ebe3c?void 0x0:_0x4ebe3c[_0x1d2951(0x1d8)](this[_0x1d2951(0x1c7)][_0x1d2951(0x187)](_0x351cf4)-0x1));return _0x2a1652&&this[_0x1d2951(0x19c)](_0x2a1652)||null;}[_0x5cfdd5(0x1ba)](_0x5501f9){const _0x1a57f8=_0x5cfdd5;var _0x57cf29;const _0xa78947=this[_0x1a57f8(0x1d0)][_0x1a57f8(0x1d8)](_0x5501f9),_0x42060f=_0xa78947&&(null===(_0x57cf29=this[_0x1a57f8(0x1c7)])||void 0x0===_0x57cf29?void 0x0:_0x57cf29[_0x1a57f8(0x1d8)](this[_0x1a57f8(0x1c7)][_0x1a57f8(0x187)](_0xa78947)+0x1));return _0x42060f&&this[_0x1a57f8(0x19c)](_0x42060f)||null;}[_0x5cfdd5(0x1ab)](_0x5450ac,_0x28e26f){const _0x2019d3=_0x5cfdd5;_0x5450ac[_0x2019d3(0x1a3)]();const _0x51e54e=R(_0x28e26f[_0x2019d3(0x1cf)]+this[_0x2019d3(0x1a7)],_0x5450ac[_0x2019d3(0x1a5)]);return!!_0x51e54e&&(this[_0x2019d3(0x188)](_0x28e26f,_0x28e26f[_0x2019d3(0x1a5)]-_0x51e54e),!0x0);}[_0x5cfdd5(0x1a2)](_0x428423,_0x1424c7){const _0x1a7fa7=_0x5cfdd5;_0x428423[_0x1a7fa7(0x1a3)]();const _0x3f3c27=R(_0x428423[_0x1a7fa7(0x1cf)]+this[_0x1a7fa7(0x1a7)],_0x1424c7[_0x1a7fa7(0x1a5)]);return!!_0x3f3c27&&(this[_0x1a7fa7(0x188)](_0x1424c7,_0x1424c7[_0x1a7fa7(0x1a5)]+_0x3f3c27,!0x1),!0x0);}[_0x5cfdd5(0x1a6)](_0x277df6){const _0x406f55=_0x5cfdd5,_0x14550e=this[_0x406f55(0x1d0)][_0x406f55(0x1d8)](_0x277df6);if(!_0x14550e||!_0x14550e[_0x406f55(0x1d9)]||!_0x14550e[_0x406f55(0x1cd)])return;const _0x35c035=this[_0x406f55(0x1c8)](_0x14550e,_0x14550e[_0x406f55(0x1cd)]);this[_0x406f55(0x188)](_0x277df6,_0x35c035);}[_0x5cfdd5(0x1c8)](_0x39dbd3,_0xb82fc){const _0x53cc54=_0x5cfdd5;if(null===_0xb82fc)return 0x0;if(_0x39dbd3[_0x53cc54(0x1d9)]instanceof _0x2942c5)return _0xb82fc[_0x53cc54(0x1a5)];{const _0x3e7a0b=new _0x2942c5(this[_0x53cc54(0x196)][_0x53cc54(0x1b0)])[_0x53cc54(0x1a5)];return _0xb82fc[_0x53cc54(0x1a5)]-_0x3e7a0b;}}[_0x5cfdd5(0x188)](_0x2c3159,_0x5947cb,_0x23c73b=this[_0x5cfdd5(0x1cb)][_0x5cfdd5(0x1b6)][_0x5cfdd5(0x1d8)](_0x5cfdd5(0x1b7))){const _0x3bb259=_0x5cfdd5;_0x23c73b&&(_0x5947cb=Math[_0x3bb259(0x1c2)](_0x5947cb,this[_0x3bb259(0x1c9)](_0x2c3159))),_0x2c3159[_0x3bb259(0x1a5)]=_0x5947cb;}[_0x5cfdd5(0x1c9)](_0x5b65a8){const _0x28d7dd=_0x5cfdd5;let _0x1a8fdb=this[_0x28d7dd(0x1ad)](_0x5b65a8),_0x58e5f1=0x0;for(;_0x1a8fdb;)_0x1a8fdb[_0x28d7dd(0x1a3)](),_0x58e5f1+=this[_0x28d7dd(0x1a7)]+_0x1a8fdb[_0x28d7dd(0x1cc)],_0x1a8fdb=this[_0x28d7dd(0x1ad)](_0x1a8fdb);return _0x58e5f1;}}function _0x4854(){const _0x5460f9=['786381QYMzPf','_lastItem','getSidebarItemView','length','nodeType','1879370CKaBQH','change:targetRect','sidebar-setcontainer-invalid-element','_alignAfterItem','updateHeight','class','top','_alignToTargetRect','_spaceBetweenItems','add','_activeAnnotation','18trHXMb','_alignBeforeItem','_alignForTopChange','_getItemBefore','destroy','unbind','element','change:top','push','Sidebar','last','_detachFromContainer','config','sidebar.preventScrollOutOfView','6rEnARv','8qfBcyT','_getItemAfter','_targetTop','1605510KmnStr','content','_destroySidebarItemView','delete','list','isAnimationDisabled','max','remove','define','bind','_annotationToSidebarItemView','_annotations','_getTargetTop','_getMaxAvailableTop','_updateLastItem','context','height','targetRect','stopListening','bottom','_sidebarItemViewToAnnotation','sidebar-attachtocontainer-missing-container','_alignForBottomChange','_recalculateBuffer','addAnnotation','minHeight','container','render','get','target','isActive','pluginName','_createSidebarView','_attachToContainer','listenTo','6472767EZQpwV','appendChild','getIndex','_setItemTop','set','setContainer','283791Xbhfpb','change:_lastItem','init','change:bottom','sidebar.container','899217LkDWrJ','refresh','_recalculate','18ZQjgAL','locale','object','view','rearrange','6338816lsAHtJ','clear'];_0x4854=function(){return _0x5460f9;};return _0x4854();}function R(_0x1fad87,_0x52201){const _0x492a75=_0x5cfdd5;return Math[_0x492a75(0x1c2)](_0x1fad87-_0x52201,0x0);}function y(_0x2916a9){const _0x24746d=_0x5cfdd5;return null!==_0x2916a9&&_0x24746d(0x195)==typeof _0x2916a9&&0x1===_0x2916a9[_0x24746d(0x19e)];}
|
|
23
|
+
const _0xa31848=_0x42c1;(function(_0xfce77d,_0x5a2740){const _0x1aca58=_0x42c1,_0x4ce66e=_0xfce77d();while(!![]){try{const _0x331f8e=parseInt(_0x1aca58(0x1b6))/0x1+parseInt(_0x1aca58(0x1cb))/0x2+-parseInt(_0x1aca58(0x1e1))/0x3+parseInt(_0x1aca58(0x1be))/0x4+parseInt(_0x1aca58(0x1bd))/0x5+-parseInt(_0x1aca58(0x1c2))/0x6+-parseInt(_0x1aca58(0x1f0))/0x7;if(_0x331f8e===_0x5a2740)break;else _0x4ce66e['push'](_0x4ce66e['shift']());}catch(_0x535e18){_0x4ce66e['push'](_0x4ce66e['shift']());}}}(_0x3b7d,0xa68c4));import{ContextPlugin as _0x424882}from'ckeditor5/src/core.js';function _0x42c1(_0x3694bf,_0x5ba16c){const _0x3b7d5b=_0x3b7d();return _0x42c1=function(_0x42c10c,_0x6f2c15){_0x42c10c=_0x42c10c-0x1b6;let _0x5a7054=_0x3b7d5b[_0x42c10c];return _0x5a7054;},_0x42c1(_0x3694bf,_0x5ba16c);}import{Rect as _0x35a12a,CKEditorError as _0x15f96a}from'ckeditor5/src/utils.js';import _0x4c4671 from'./view/sidebarview.js';function _0x3b7d(){const _0x212067=['view','appendChild','isAnimationDisabled','height','_recalculate','push','init','change:bottom','object','sidebar-attachtocontainer-missing-container','_alignForTopChange','bind','_lastItem','pluginName','bottom','Sidebar','content','render','class','_spaceBetweenItems','1143989JjoXHU','change:targetRect','isActive','_alignBeforeItem','container','_getItemAfter','_targetTop','6806555okNWJz','1586072jpGrdm','remove','_activeAnnotation','change:top','4910412jOaRgk','get','stopListening','list','_detachFromContainer','element','define','target','targetRect','1931674ACZXBa','length','addAnnotation','last','_createSidebarView','add','minHeight','_alignForBottomChange','config','sidebar.preventScrollOutOfView','nodeType','destroy','_updateLastItem','_sidebarItemViewToAnnotation','context','_setItemTop','listenTo','_getItemBefore','_getTargetTop','rearrange','_alignAfterItem','clear','330669SfqZoq','delete','_getMaxAvailableTop','_alignToTargetRect','_destroySidebarItemView','refresh','max','unbind','sidebar.container','change:_lastItem','setContainer','_annotationToSidebarItemView','getIndex','_annotations','getSidebarItemView','15797950FwUAOG','locale','top','_recalculateBuffer','updateHeight','_attachToContainer','sidebar-setcontainer-invalid-element','set'];_0x3b7d=function(){return _0x212067;};return _0x3b7d();}import _0x2c9626 from'./view/sidebaritemview.js';export default class D extends _0x424882{static get[_0xa31848(0x205)](){const _0x138157=_0xa31848;return _0x138157(0x207);}constructor(_0x1b36dc){const _0x22b173=_0xa31848;super(_0x1b36dc),this[_0x22b173(0x1f7)](_0x22b173(0x204),void 0x0),this[_0x22b173(0x1f8)]=this[_0x22b173(0x1cf)](),this[_0x22b173(0x1f7)](_0x22b173(0x1ba),null),this[_0x22b173(0x20b)]=0x19,this[_0x22b173(0x1d8)]=new Map(),this[_0x22b173(0x1ec)]=new Map(),this[_0x22b173(0x1d9)][_0x22b173(0x1d3)][_0x22b173(0x1c8)](_0x22b173(0x1d4),!0x1),this[_0x22b173(0x1ee)]=null,this[_0x22b173(0x1c0)]=null,this[_0x22b173(0x1f3)]=[];}[_0xa31848(0x1fe)](){const _0x34f295=_0xa31848,_0x4e1da8=this[_0x34f295(0x1d9)][_0x34f295(0x1d3)][_0x34f295(0x1c3)](_0x34f295(0x1e9));_0x4e1da8&&this[_0x34f295(0x1eb)](_0x4e1da8);}[_0xa31848(0x1eb)](_0x4f8952){const _0x1ed9d8=_0xa31848;if(!y(_0x4f8952))throw new _0x15f96a(_0x1ed9d8(0x1f6));this[_0x1ed9d8(0x1ba)]=_0x4f8952;}[_0xa31848(0x1f5)]({viewClass:_0x43dd33='',spaceBetweenItems:_0x3f14d5=0x19}={}){const _0x184e19=_0xa31848;if(!y(this[_0x184e19(0x1ba)]))throw new _0x15f96a(_0x184e19(0x201),this);this[_0x184e19(0x1ba)][_0x184e19(0x1f9)](this[_0x184e19(0x1f8)][_0x184e19(0x1c7)]),this[_0x184e19(0x1f8)][_0x184e19(0x20a)]=_0x43dd33,this[_0x184e19(0x20b)]=_0x3f14d5;}[_0xa31848(0x1de)]({removedAnnotation:_0x407637,previousAnnotation:_0x3c5c80,nextAnnotation:_0x4a8a0f}){const _0x236bee=_0xa31848,_0x22db5b=this[_0x236bee(0x1ef)](_0x407637);this[_0x236bee(0x1f8)][_0x236bee(0x1c5)][_0x236bee(0x1bf)](_0x22db5b),this[_0x236bee(0x1e5)](_0x407637),_0x3c5c80&&this[_0x236bee(0x1e4)](this[_0x236bee(0x1ef)](_0x3c5c80)),_0x4a8a0f&&this[_0x236bee(0x1e4)](this[_0x236bee(0x1ef)](_0x4a8a0f)),this[_0x236bee(0x1d7)]();}[_0xa31848(0x1e6)]({blurredAnnotation:_0x3cf411,activatedAnnotation:_0x2b1bae,disableAnimationOnActivatedAnnotation:_0x1e1afd}){const _0x1d2f82=_0xa31848;if(this[_0x1d2f82(0x1c0)]=_0x2b1bae,_0x3cf411){_0x3cf411[_0x1d2f82(0x1b8)]=!0x1;const _0x404d11=this[_0x1d2f82(0x1ef)](_0x3cf411);_0x404d11&&_0x1e1afd&&(_0x404d11[_0x1d2f82(0x1fa)]=!0x1);}if(_0x2b1bae){const _0x323f42=this[_0x1d2f82(0x1ef)](_0x2b1bae);_0x323f42&&(_0x2b1bae[_0x1d2f82(0x1b8)]=!0x0,_0x1e1afd&&(_0x323f42[_0x1d2f82(0x1fa)]=!0x0,_0x323f42[_0x1d2f82(0x1f2)]+=0x1),this[_0x1d2f82(0x1e4)](_0x323f42));}}[_0xa31848(0x1c6)](_0x40db68){const _0x17f783=_0xa31848;if(this[_0x17f783(0x1f8)][_0x17f783(0x1c7)][_0x17f783(0x1bf)](),_0x40db68){for(const _0x3e8f0a of _0x40db68)this[_0x17f783(0x1e5)](_0x3e8f0a);}this[_0x17f783(0x1f8)][_0x17f783(0x1c5)][_0x17f783(0x1e0)](),this[_0x17f783(0x1f8)][_0x17f783(0x20a)]='',this[_0x17f783(0x204)]=null;}[_0xa31848(0x1cd)](_0x2f7d2a,_0x4e1ff3){const _0x1333c1=_0xa31848;_0x4e1ff3||(_0x4e1ff3=_0x2f7d2a[_0x1333c1(0x1f8)]);const _0xd4ca0f=new _0x2c9626(this[_0x1333c1(0x1d9)][_0x1333c1(0x1f1)]);this[_0x1333c1(0x1d8)][_0x1333c1(0x1f7)](_0xd4ca0f,_0x2f7d2a),this[_0x1333c1(0x1ec)][_0x1333c1(0x1f7)](_0x2f7d2a,_0xd4ca0f),_0xd4ca0f[_0x1333c1(0x208)][_0x1333c1(0x1d0)](_0x4e1ff3),this[_0x1333c1(0x1db)](_0x2f7d2a[_0x1333c1(0x1f8)],_0x1333c1(0x1b7),(_0x176135,_0x1f7ac0,_0x2bf45d)=>{const _0x16dc56=_0x1333c1,_0x4b9509=this[_0x16dc56(0x1dd)](_0x2f7d2a,_0x2bf45d);_0xd4ca0f[_0x16dc56(0x1bc)]!=_0x4b9509&&(_0xd4ca0f[_0x16dc56(0x1bc)]=_0x4b9509,this[_0x16dc56(0x1da)](_0xd4ca0f,_0x4b9509));}),this[_0x1333c1(0x1db)](_0xd4ca0f,_0x1333c1(0x1c1),()=>{const _0x330682=_0x1333c1;this[_0x330682(0x1fc)](_0xd4ca0f,_0x330682(0x1f2));}),this[_0x1333c1(0x1db)](_0xd4ca0f,_0x1333c1(0x1ff),()=>{const _0x33030=_0x1333c1;this[_0x33030(0x1fc)](_0xd4ca0f,_0x33030(0x206));}),this[_0x1333c1(0x1e4)](_0xd4ca0f);const _0x559cfb=this[_0x1333c1(0x1dc)](_0xd4ca0f);if(_0x559cfb)this[_0x1333c1(0x1df)](_0x559cfb,_0xd4ca0f)||this[_0x1333c1(0x1e4)](_0xd4ca0f);else this[_0x1333c1(0x1e4)](_0xd4ca0f);return this[_0x1333c1(0x1d7)](),this[_0x1333c1(0x1f8)][_0x1333c1(0x1c5)][_0x1333c1(0x1d0)](_0xd4ca0f),_0xd4ca0f;}[_0xa31848(0x202)](_0x424d20){const _0x36f026=_0xa31848;if(!_0x424d20[_0x36f026(0x208)][_0x36f026(0x1cc)])return;const _0x4f14b4=this[_0x36f026(0x1dc)](_0x424d20);if(!_0x4f14b4)return;const _0x411788=this[_0x36f026(0x1d8)][_0x36f026(0x1c3)](_0x4f14b4),_0x24748b=this[_0x36f026(0x1c0)];_0x24748b&&_0x24748b===_0x411788?this[_0x36f026(0x1df)](_0x4f14b4,_0x424d20):this[_0x36f026(0x1b9)](_0x424d20,_0x4f14b4);}[_0xa31848(0x1d2)](_0x1fafd4){const _0x272f38=_0xa31848;if(!_0x1fafd4[_0x272f38(0x208)][_0x272f38(0x1cc)])return;const _0x287698=this[_0x272f38(0x1bb)](_0x1fafd4);if(!_0x287698)return;const _0xdd11c1=this[_0x272f38(0x1d8)][_0x272f38(0x1c3)](_0x287698),_0x2b38e1=this[_0x272f38(0x1d9)][_0x272f38(0x1d3)][_0x272f38(0x1c3)](_0x272f38(0x1d4)),_0x381f7a=this[_0x272f38(0x1c0)];_0x381f7a&&_0x381f7a===_0xdd11c1&&_0x2b38e1?(this[_0x272f38(0x1b9)](_0x287698,_0x1fafd4),this[_0x272f38(0x1df)](_0x1fafd4,_0x287698)):_0x381f7a&&_0x381f7a===_0xdd11c1?this[_0x272f38(0x1b9)](_0x287698,_0x1fafd4):this[_0x272f38(0x1df)](_0x1fafd4,_0x287698);}[_0xa31848(0x1fc)](_0x4f4774,_0x45a77d){const _0x565160=_0xa31848;0x0===this[_0x565160(0x1f3)][_0x565160(0x1cc)]&&setTimeout(()=>{const _0xcb7552=_0x565160;for(const {sidebarItemView:_0x28e599,changedProp:_0x1d4d5e}of this[_0xcb7552(0x1f3)])_0xcb7552(0x1f2)===_0x1d4d5e?this[_0xcb7552(0x202)](_0x28e599):this[_0xcb7552(0x1d2)](_0x28e599);this[_0xcb7552(0x1f3)]=[];},0xa),this[_0x565160(0x1f3)][_0x565160(0x1fd)]({'sidebarItemView':_0x4f4774,'changedProp':_0x45a77d});}[_0xa31848(0x1ef)](_0x3d8bea){const _0x2ff2e1=_0xa31848;return this[_0x2ff2e1(0x1ec)][_0x2ff2e1(0x1c3)](_0x3d8bea);}[_0xa31848(0x1d6)](){const _0x5b1392=_0xa31848;this[_0x5b1392(0x1c4)](),this[_0x5b1392(0x1f8)][_0x5b1392(0x1d6)]();}[_0xa31848(0x1e5)](_0x11afa5){const _0x3f2c7b=_0xa31848,_0x2eaf3e=this[_0x3f2c7b(0x1ef)](_0x11afa5);this[_0x3f2c7b(0x1c4)](_0x2eaf3e),this[_0x3f2c7b(0x1c4)](_0x11afa5[_0x3f2c7b(0x1f8)]),_0x2eaf3e[_0x3f2c7b(0x1d6)](),this[_0x3f2c7b(0x1ec)][_0x3f2c7b(0x1e2)](_0x11afa5),this[_0x3f2c7b(0x1d8)][_0x3f2c7b(0x1e2)](_0x2eaf3e);}[_0xa31848(0x1cf)](){const _0xd5edf8=_0xa31848,_0xdbe559=new _0x4c4671(this[_0xd5edf8(0x1d9)][_0xd5edf8(0x1f1)]);return _0xdbe559[_0xd5edf8(0x209)](),this['on'](_0xd5edf8(0x1ea),(_0x314ddb,_0x4badf6,_0x3f0e59,_0x3d5f04)=>{const _0x11ee28=_0xd5edf8;_0x3d5f04&&_0xdbe559[_0x11ee28(0x1e8)](_0x11ee28(0x1d1)),_0x3f0e59?_0xdbe559[_0x11ee28(0x203)](_0x11ee28(0x1d1))['to'](_0x3f0e59,_0x11ee28(0x206)):_0xdbe559[_0x11ee28(0x1d1)]=null;}),_0xdbe559;}[_0xa31848(0x1d7)](){const _0x5a8520=_0xa31848;var _0x242550;this[_0x5a8520(0x204)]=(null===(_0x242550=this[_0x5a8520(0x1ee)])||void 0x0===_0x242550?void 0x0:_0x242550[_0x5a8520(0x1ce)])?this[_0x5a8520(0x1ef)](this[_0x5a8520(0x1ee)][_0x5a8520(0x1ce)]):null;}[_0xa31848(0x1dc)](_0x47f2c4){const _0x12f3a4=_0xa31848;var _0x33302f;const _0x45afb5=this[_0x12f3a4(0x1d8)][_0x12f3a4(0x1c3)](_0x47f2c4),_0x35dc21=_0x45afb5&&(null===(_0x33302f=this[_0x12f3a4(0x1ee)])||void 0x0===_0x33302f?void 0x0:_0x33302f[_0x12f3a4(0x1c3)](this[_0x12f3a4(0x1ee)][_0x12f3a4(0x1ed)](_0x45afb5)-0x1));return _0x35dc21&&this[_0x12f3a4(0x1ef)](_0x35dc21)||null;}[_0xa31848(0x1bb)](_0x5e6a54){const _0x35d17d=_0xa31848;var _0x1a2e37;const _0x2cf2b0=this[_0x35d17d(0x1d8)][_0x35d17d(0x1c3)](_0x5e6a54),_0x38ab9e=_0x2cf2b0&&(null===(_0x1a2e37=this[_0x35d17d(0x1ee)])||void 0x0===_0x1a2e37?void 0x0:_0x1a2e37[_0x35d17d(0x1c3)](this[_0x35d17d(0x1ee)][_0x35d17d(0x1ed)](_0x2cf2b0)+0x1));return _0x38ab9e&&this[_0x35d17d(0x1ef)](_0x38ab9e)||null;}[_0xa31848(0x1b9)](_0x4d5eae,_0x11ef11){const _0x3df297=_0xa31848;_0x4d5eae[_0x3df297(0x1f4)]();const _0x20c58f=R(_0x11ef11[_0x3df297(0x206)]+this[_0x3df297(0x20b)],_0x4d5eae[_0x3df297(0x1f2)]);return!!_0x20c58f&&(this[_0x3df297(0x1da)](_0x11ef11,_0x11ef11[_0x3df297(0x1f2)]-_0x20c58f),!0x0);}[_0xa31848(0x1df)](_0x2d73d2,_0x8fd96a){const _0xda2ad3=_0xa31848;_0x2d73d2[_0xda2ad3(0x1f4)]();const _0x11432a=R(_0x2d73d2[_0xda2ad3(0x206)]+this[_0xda2ad3(0x20b)],_0x8fd96a[_0xda2ad3(0x1f2)]);return!!_0x11432a&&(this[_0xda2ad3(0x1da)](_0x8fd96a,_0x8fd96a[_0xda2ad3(0x1f2)]+_0x11432a,!0x1),!0x0);}[_0xa31848(0x1e4)](_0x55d3f4){const _0x46034d=_0xa31848,_0x32b265=this[_0x46034d(0x1d8)][_0x46034d(0x1c3)](_0x55d3f4);if(!_0x32b265||!_0x32b265[_0x46034d(0x1c9)]||!_0x32b265[_0x46034d(0x1ca)])return;const _0x41f5b6=this[_0x46034d(0x1dd)](_0x32b265,_0x32b265[_0x46034d(0x1ca)]);this[_0x46034d(0x1da)](_0x55d3f4,_0x41f5b6);}[_0xa31848(0x1dd)](_0x34ed47,_0x42ceae){const _0x485059=_0xa31848;if(null===_0x42ceae)return 0x0;if(_0x34ed47[_0x485059(0x1c9)]instanceof _0x35a12a)return _0x42ceae[_0x485059(0x1f2)];{const _0x4af75c=new _0x35a12a(this[_0x485059(0x1f8)][_0x485059(0x1c7)])[_0x485059(0x1f2)];return _0x42ceae[_0x485059(0x1f2)]-_0x4af75c;}}[_0xa31848(0x1da)](_0x59b12a,_0x11619d,_0x489805=this[_0xa31848(0x1d9)][_0xa31848(0x1d3)][_0xa31848(0x1c3)](_0xa31848(0x1d4))){const _0x559de8=_0xa31848;_0x489805&&(_0x11619d=Math[_0x559de8(0x1e7)](_0x11619d,this[_0x559de8(0x1e3)](_0x59b12a))),_0x59b12a[_0x559de8(0x1f2)]=_0x11619d;}[_0xa31848(0x1e3)](_0x1c7eeb){const _0x592849=_0xa31848;let _0x1acb23=this[_0x592849(0x1dc)](_0x1c7eeb),_0x2fb508=0x0;for(;_0x1acb23;)_0x1acb23[_0x592849(0x1f4)](),_0x2fb508+=this[_0x592849(0x20b)]+_0x1acb23[_0x592849(0x1fb)],_0x1acb23=this[_0x592849(0x1dc)](_0x1acb23);return _0x2fb508;}}function R(_0x2f2d42,_0x569f4d){const _0x4c03f6=_0xa31848;return Math[_0x4c03f6(0x1e7)](_0x2f2d42-_0x569f4d,0x0);}function y(_0x2e9cc7){const _0x547554=_0xa31848;return null!==_0x2e9cc7&&_0x547554(0x200)==typeof _0x2e9cc7&&0x1===_0x2e9cc7[_0x547554(0x1d5)];}
|