@ckeditor/ckeditor5-comments 43.2.0-alpha.1 → 43.2.0-alpha.2
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
|
+
(_0x13eeef=>{const {zh:{dictionary:_0x353089,getPluralForm:_0x372fa5}}={'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':_0x4308f2=>0x0}};_0x13eeef['zh']||={'dictionary':{},'getPluralForm':null},_0x13eeef['zh']['dictionary']=Object['assign'](_0x13eeef['zh']['dictionary'],_0x353089),_0x13eeef['zh']['getPluralForm']=_0x372fa5;})(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.2",
|
|
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.2",
|
|
49
|
+
"@ckeditor/ckeditor5-collaboration-core": "43.2.0-alpha.2",
|
|
50
|
+
"@ckeditor/ckeditor5-core": "43.2.0-alpha.2",
|
|
51
|
+
"@ckeditor/ckeditor5-engine": "43.2.0-alpha.2",
|
|
52
|
+
"@ckeditor/ckeditor5-enter": "43.2.0-alpha.2",
|
|
53
|
+
"@ckeditor/ckeditor5-paragraph": "43.2.0-alpha.2",
|
|
54
|
+
"@ckeditor/ckeditor5-select-all": "43.2.0-alpha.2",
|
|
55
|
+
"@ckeditor/ckeditor5-theme-lark": "43.2.0-alpha.2",
|
|
56
|
+
"@ckeditor/ckeditor5-typing": "43.2.0-alpha.2",
|
|
57
|
+
"@ckeditor/ckeditor5-ui": "43.2.0-alpha.2",
|
|
58
|
+
"@ckeditor/ckeditor5-undo": "43.2.0-alpha.2",
|
|
59
|
+
"@ckeditor/ckeditor5-utils": "43.2.0-alpha.2",
|
|
60
|
+
"ckeditor5": "43.2.0-alpha.2",
|
|
61
|
+
"ckeditor5-collaboration": "43.2.0-alpha.2",
|
|
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
|
+
function _0x24c5(_0x3817b9,_0x534a9a){const _0x1325f2=_0x1325();return _0x24c5=function(_0x24c52d,_0x2e759e){_0x24c52d=_0x24c52d-0x1d2;let _0x38b029=_0x1325f2[_0x24c52d];return _0x38b029;},_0x24c5(_0x3817b9,_0x534a9a);}const _0x58cbd6=_0x24c5;(function(_0xe0509c,_0x24ccd0){const _0xa33856=_0x24c5,_0x357eb3=_0xe0509c();while(!![]){try{const _0x168e41=-parseInt(_0xa33856(0x1d8))/0x1*(parseInt(_0xa33856(0x1f3))/0x2)+-parseInt(_0xa33856(0x200))/0x3*(-parseInt(_0xa33856(0x1d4))/0x4)+-parseInt(_0xa33856(0x1f6))/0x5*(-parseInt(_0xa33856(0x1fd))/0x6)+-parseInt(_0xa33856(0x1ee))/0x7+parseInt(_0xa33856(0x1ff))/0x8+parseInt(_0xa33856(0x1ef))/0x9+-parseInt(_0xa33856(0x1ea))/0xa*(-parseInt(_0xa33856(0x1d6))/0xb);if(_0x168e41===_0x24ccd0)break;else _0x357eb3['push'](_0x357eb3['shift']());}catch(_0x263be2){_0x357eb3['push'](_0x357eb3['shift']());}}}(_0x1325,0xeebfe));import{CKEditorError as _0x52f6f2,Rect as _0x5270a4,Collection as _0x5821c3,ObservableMixin as _0x35d688}from'ckeditor5/src/utils.js';function _0x1325(){const _0x40e971=['updateTargetRect','getClientRects','function','object','14733390TIwWvA','length','target','remove','11956812tWsVuV','6367527TvjoAV','_assertCorrectTarget','targetRect','item','603834ynmfgs','offsetParent','view','740oNWkFR','every','set','isActive','destroy','mainView','filter','13968jZeMKH','_target','1372064dDGHxB','72999XhPmZA','element','render','296pxsJvF','annotation-invalid-target','11qaVpOX','nodeType','6EYjhKu','clear','isArray','type','_type','_getNormalizedTarget','innerView','focusableElements','stopListening','focusTracker','refreshVisibility','isVisible','add','_id'];_0x1325=function(){return _0x40e971;};return _0x1325();}export default class d extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x35d688(){constructor({view:_0x1886e4,target:_0x225297,type:_0x41cf52,isVisible:_0x27a821=!0x0}){const _0x4acf25=_0x24c5;super(),this[_0x4acf25(0x1f5)]=_0x1886e4,this[_0x4acf25(0x1f5)][_0x4acf25(0x1d2)]||this[_0x4acf25(0x1f5)][_0x4acf25(0x1d3)](),this[_0x4acf25(0x1dc)]=_0x41cf52,this[_0x4acf25(0x1fe)]=_0x225297,d[_0x4acf25(0x1f0)](this[_0x4acf25(0x1dd)]()),this[_0x4acf25(0x1df)]=new _0x5821c3([this[_0x4acf25(0x1f5)][_0x4acf25(0x1d2)]],{'idProperty':_0x4acf25(0x1e5)}),this[_0x4acf25(0x1df)]['on'](_0x4acf25(0x1e4),(_0x59c7b1,_0xf1a2d4)=>{const _0x3cdc5b=_0x4acf25;this[_0x3cdc5b(0x1f5)][_0x3cdc5b(0x1e1)][_0x3cdc5b(0x1e4)](_0xf1a2d4);}),this[_0x4acf25(0x1df)]['on'](_0x4acf25(0x1ed),(_0x4df683,_0x5711d7)=>{const _0xff7708=_0x4acf25;this[_0xff7708(0x1f5)][_0xff7708(0x1e1)][_0xff7708(0x1ed)](_0x5711d7);}),this[_0x4acf25(0x1f8)](_0x4acf25(0x1e3),_0x27a821);}get[_0x58cbd6(0x1db)](){const _0x863f4e=_0x58cbd6;return _0x863f4e(0x1e8)==typeof this[_0x863f4e(0x1dc)]?this[_0x863f4e(0x1dc)]():this[_0x863f4e(0x1dc)];}get[_0x58cbd6(0x1de)](){const _0x38f8e9=_0x58cbd6;return this[_0x38f8e9(0x1f5)][_0x38f8e9(0x1fb)];}get[_0x58cbd6(0x1ec)](){const _0x173475=_0x58cbd6,_0xdbe572=this[_0x173475(0x1dd)]();return d[_0x173475(0x1f0)](_0xdbe572),_0xdbe572;}get[_0x58cbd6(0x1f1)](){const _0xe5523a=_0x58cbd6,_0x84e6a4=this[_0xe5523a(0x1ec)];if(null===_0x84e6a4)return null;if(_0x84e6a4 instanceof _0x5270a4)return _0x84e6a4;const _0x4732e4=_0x84e6a4[_0xe5523a(0x1fc)](_0x1c933a=>function(_0x52e590){const _0x3d0c7e=_0xe5523a,_0x56a0de=_0x52e590[_0x3d0c7e(0x1f4)];if(_0x56a0de)return!0x0;const _0x11f213=_0x52e590[_0x3d0c7e(0x1e7)]()[_0x3d0c7e(0x1f2)](0x0);return!!_0x11f213;}(_0x1c933a));return 0x0===_0x4732e4[_0xe5523a(0x1eb)]?null:new _0x5270a4(_0x4732e4[0x0][_0xe5523a(0x1e7)]()[_0xe5523a(0x1f2)](0x0));}get[_0x58cbd6(0x1f9)](){const _0x147086=_0x58cbd6;return this[_0x147086(0x1f5)][_0x147086(0x1f9)];}set[_0x58cbd6(0x1f9)](_0x59465f){const _0xa4d3ba=_0x58cbd6;this[_0xa4d3ba(0x1f5)][_0xa4d3ba(0x1f9)]=_0x59465f,this[_0xa4d3ba(0x1f5)][_0xa4d3ba(0x1fb)][_0xa4d3ba(0x1f9)]=_0x59465f;}[_0x58cbd6(0x1e6)](){const _0x203ece=_0x58cbd6;this[_0x203ece(0x1f5)][_0x203ece(0x1f1)]=this[_0x203ece(0x1f1)];}[_0x58cbd6(0x1fa)](){const _0x22078f=_0x58cbd6;this[_0x22078f(0x1df)][_0x22078f(0x1e0)](),this[_0x22078f(0x1df)][_0x22078f(0x1d9)](),this[_0x22078f(0x1e0)]();}[_0x58cbd6(0x1e2)](){const _0x5b1176=_0x58cbd6;this[_0x5b1176(0x1e3)]=!!this[_0x5b1176(0x1f1)];}static[_0x58cbd6(0x1f0)](_0x39c8cd){const _0x439da6=_0x58cbd6;if(!(null===_0x39c8cd||_0x39c8cd instanceof _0x5270a4||Array[_0x439da6(0x1da)](_0x39c8cd)&&_0x39c8cd[_0x439da6(0x1f7)](_0x512619=>y(_0x512619))))throw new _0x52f6f2(_0x439da6(0x1d5),null,{'target':_0x39c8cd});}[_0x58cbd6(0x1dd)](){const _0x41eb84=_0x58cbd6,_0x55aa52=_0x41eb84(0x1e8)==typeof this[_0x41eb84(0x1fe)]?this[_0x41eb84(0x1fe)]():this[_0x41eb84(0x1fe)];return y(_0x55aa52)?[_0x55aa52]:_0x55aa52;}}function y(_0x56cc09){const _0x58e4e6=_0x58cbd6;return null!==_0x56cc09&&_0x58e4e6(0x1e9)==typeof _0x56cc09&&_0x58e4e6(0x1d7)in _0x56cc09&&0x1===_0x56cc09[_0x58e4e6(0x1d7)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1356ea=_0x2947;(function(_0x390e8b,_0x656cb5){const _0x346197=_0x2947,_0x120fd5=_0x390e8b();while(!![]){try{const _0x43f54c=parseInt(_0x346197(0x1a1))/0x1*(-parseInt(_0x346197(0x1b4))/0x2)+parseInt(_0x346197(0x1aa))/0x3+parseInt(_0x346197(0x1a6))/0x4+-parseInt(_0x346197(0x1b8))/0x5*(-parseInt(_0x346197(0x1a7))/0x6)+-parseInt(_0x346197(0x1a2))/0x7+-parseInt(_0x346197(0x1ac))/0x8+-parseInt(_0x346197(0x1a4))/0x9*(parseInt(_0x346197(0x1c9))/0xa);if(_0x43f54c===_0x656cb5)break;else _0x120fd5['push'](_0x120fd5['shift']());}catch(_0x1ed364){_0x120fd5['push'](_0x120fd5['shift']());}}}(_0x23dd,0x73043));import{CKEditorError as _0x11402c,Collection as _0x538f1f,FocusTracker as _0xceb858}from'ckeditor5/src/utils.js';export default class x extends _0x538f1f{constructor(_0x985bcd=[]){const _0x152070=_0x2947;super(),this[_0x152070(0x1bf)]=new Map(),this[_0x152070(0x1af)]=new Map(),this[_0x152070(0x1b1)]=new _0xceb858(),this[_0x152070(0x1b1)]['on'](_0x152070(0x1ba),(_0x2b0f6c,_0x34fbf1,_0x3885ba)=>{const _0x3fe533=_0x152070;_0x3885ba||this[_0x3fe533(0x1b5)](_0x3fe533(0x1b9));});for(const _0x24e9bd of _0x985bcd)this[_0x152070(0x1bd)](_0x24e9bd);}get[_0x1356ea(0x1c4)](){const _0x45d63f=_0x1356ea;return this[_0x45d63f(0x1b1)][_0x45d63f(0x1c4)];}[_0x1356ea(0x1bd)](_0x50c734){const _0x268fd9=_0x1356ea;if(this[_0x268fd9(0x1c0)](_0x50c734))throw new _0x11402c(_0x268fd9(0x1cc),null);this[_0x268fd9(0x1bf)][_0x268fd9(0x1a8)](_0x50c734[_0x268fd9(0x1cb)],_0x50c734),this[_0x268fd9(0x1af)][_0x268fd9(0x1a8)](_0x50c734[_0x268fd9(0x1bc)],_0x50c734);for(const _0x1fd771 of _0x50c734[_0x268fd9(0x1c6)])this[_0x268fd9(0x1b1)][_0x268fd9(0x1bd)](_0x1fd771);this[_0x268fd9(0x1be)](_0x50c734[_0x268fd9(0x1c6)],_0x268fd9(0x1bd),(_0xb36e3d,_0x588ba8)=>{const _0x4a3bf6=_0x268fd9;this[_0x4a3bf6(0x1b1)][_0x4a3bf6(0x1bd)](_0x588ba8);}),this[_0x268fd9(0x1be)](_0x50c734[_0x268fd9(0x1c6)],_0x268fd9(0x1ca),(_0x5c9018,_0x337b27)=>{const _0x5178c9=_0x268fd9;this[_0x5178c9(0x1b1)][_0x5178c9(0x1ca)](_0x337b27);}),this[_0x268fd9(0x1be)](_0x50c734[_0x268fd9(0x1bc)][_0x268fd9(0x1c8)],_0x268fd9(0x1ba),(_0x21fc46,_0x1e20e9,_0x2871dd)=>{const _0x3a3b67=_0x268fd9;_0x2871dd&&this[_0x3a3b67(0x1b5)](_0x3a3b67(0x1ab),_0x50c734);}),_0x50c734[_0x268fd9(0x1b0)]();const _0x22ac0e=this[_0x268fd9(0x1b7)](_0x50c734[_0x268fd9(0x1bc)][_0x268fd9(0x1c2)]);return super[_0x268fd9(0x1bd)](_0x50c734,_0x22ac0e);}[_0x1356ea(0x1ca)](_0x3b6abe){const _0x22abc9=_0x1356ea;if(!this[_0x22abc9(0x1c0)](_0x3b6abe))throw new _0x11402c(_0x22abc9(0x1c1),null);this[_0x22abc9(0x1a0)](_0x3b6abe[_0x22abc9(0x1bc)][_0x22abc9(0x1c8)]),this[_0x22abc9(0x1a0)](_0x3b6abe[_0x22abc9(0x1c6)]);for(const _0x2493db of _0x3b6abe[_0x22abc9(0x1c6)])this[_0x22abc9(0x1b1)][_0x22abc9(0x1ca)](_0x2493db);return this[_0x22abc9(0x1af)][_0x22abc9(0x1b6)](_0x3b6abe[_0x22abc9(0x1bc)]),this[_0x22abc9(0x1bf)][_0x22abc9(0x1b6)](_0x3b6abe[_0x22abc9(0x1cb)]),super[_0x22abc9(0x1ca)](_0x3b6abe);}[_0x1356ea(0x1c5)](_0x4aedec){const _0x22ff83=_0x1356ea;return this[_0x22ff83(0x1bf)][_0x22ff83(0x1ad)](_0x4aedec);}[_0x1356ea(0x1cd)](_0x689b42){const _0x237ab7=_0x1356ea;return this[_0x237ab7(0x1af)][_0x237ab7(0x1ad)](_0x689b42);}[_0x1356ea(0x1c7)](){const _0x926e97=_0x1356ea;super[_0x926e97(0x19f)](),this[_0x926e97(0x1a0)](),this[_0x926e97(0x1bf)][_0x926e97(0x19f)](),this[_0x926e97(0x1af)][_0x926e97(0x19f)](),this[_0x926e97(0x1b1)][_0x926e97(0x1c7)]();}[_0x1356ea(0x1a9)](){const _0x195a6e=_0x1356ea;for(const _0x2edbcf of this)_0x2edbcf[_0x195a6e(0x1b0)]();this[_0x195a6e(0x1a5)]();}[_0x1356ea(0x1a5)](){const _0x17a6a4=_0x1356ea,_0x2ef2f4=Array[_0x17a6a4(0x1b3)](this)[_0x17a6a4(0x1bb)]((_0xa5736f,_0x10f446)=>v(_0xa5736f[_0x17a6a4(0x1bc)][_0x17a6a4(0x1c2)],_0x10f446[_0x17a6a4(0x1bc)][_0x17a6a4(0x1c2)]));for(let _0x2b66b1=_0x2ef2f4[_0x17a6a4(0x1b2)]-0x1;_0x2b66b1>0x0;_0x2b66b1--){const _0x55cdd3=_0x2ef2f4[_0x2b66b1];_0x2b66b1!==this[_0x17a6a4(0x1a3)](_0x55cdd3)&&(this[_0x17a6a4(0x1ca)](_0x55cdd3),this[_0x17a6a4(0x1bd)](_0x55cdd3));}}[_0x1356ea(0x1b7)](_0x1b3453){const _0x23df78=_0x1356ea;let _0x2f8962=0x0;if(!_0x1b3453)return this[_0x23df78(0x1b2)];for(const _0x43466f of this){const _0x4fad37=_0x43466f[_0x23df78(0x1bc)][_0x23df78(0x1c2)];if(_0x4fad37){if(v(_0x1b3453,_0x4fad37)<0x0)return _0x2f8962;_0x2f8962++;}}return _0x2f8962;}}export function bindAnnotationCollections({source:_0x2f59b8,target:_0x2095e4,filter:_0x3c99cb}){const _0xfbb252=_0x1356ea;for(const _0x47d711 of _0x2f59b8)_0x3c99cb(_0x47d711)&&_0x2095e4[_0xfbb252(0x1bd)](_0x47d711);_0x2095e4[_0xfbb252(0x1be)](_0x2f59b8,_0xfbb252(0x1bd),(_0x1f9b55,_0x42c7fa)=>{const _0x5e34a7=_0xfbb252;_0x3c99cb(_0x42c7fa)&&_0x2095e4[_0x5e34a7(0x1bd)](_0x42c7fa);}),_0x2095e4[_0xfbb252(0x1be)](_0x2f59b8,_0xfbb252(0x1ca),(_0x33235f,_0x36d4ba)=>{const _0x5958a0=_0xfbb252;_0x2095e4[_0x5958a0(0x1c0)](_0x36d4ba)&&_0x2095e4[_0x5958a0(0x1ca)](_0x36d4ba);});}function _0x23dd(){const _0x1b381e=['clear','stopListening','40oSFQaB','1285214vyzsQV','getIndex','441RNXCtz','_sort','1076584wgZnqR','379650ccAQxR','set','refreshPositioning','551202zwStPm','focus','241752mCRMyj','get','left','_viewToAnnotation','updateTargetRect','_focusTracker','length','from','8356kTQLfB','fire','delete','_getOrderInContent','35gAYEAZ','blur','change:isFocused','sort','view','add','listenTo','_innerViewToAnnotation','has','annotationcollection-not-existing-item','targetRect','top','isFocused','getByInnerView','focusableElements','destroy','focusTracker','8930Qovmbq','remove','innerView','annotationcollection-duplicated-item','getByView'];_0x23dd=function(){return _0x1b381e;};return _0x23dd();}function _0x2947(_0xa92ea1,_0x427073){const _0x23dd49=_0x23dd();return _0x2947=function(_0x294776,_0xb25d4){_0x294776=_0x294776-0x19f;let _0x16a000=_0x23dd49[_0x294776];return _0x16a000;},_0x2947(_0xa92ea1,_0x427073);}function v(_0x59e1d0,_0x3ff8e0){const _0xef1a09=_0x1356ea;if(null===_0x59e1d0&&null===_0x3ff8e0)return 0x0;if(null===_0x59e1d0)return-0x1;if(null===_0x3ff8e0)return 0x1;const _0x10eaf6=_0x59e1d0[_0xef1a09(0x1c3)]-_0x3ff8e0[_0xef1a09(0x1c3)];return 0x0==_0x10eaf6?_0x59e1d0[_0xef1a09(0x1ae)]-_0x3ff8e0[_0xef1a09(0x1ae)]:_0x10eaf6;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59b6c3=_0x1cb9;function _0x1cb9(_0x44cfff,_0x5b3896){const _0x5e0c86=_0x5e0c();return _0x1cb9=function(_0x1cb98b,_0x1fc162){_0x1cb98b=_0x1cb98b-0x1d5;let _0x24d39b=_0x5e0c86[_0x1cb98b];return _0x24d39b;},_0x1cb9(_0x44cfff,_0x5b3896);}(function(_0x1bed86,_0x4872ce){const _0xf2fd35=_0x1cb9,_0x5533d1=_0x1bed86();while(!![]){try{const _0x1e9812=parseInt(_0xf2fd35(0x1e4))/0x1*(-parseInt(_0xf2fd35(0x201))/0x2)+-parseInt(_0xf2fd35(0x219))/0x3+-parseInt(_0xf2fd35(0x1fc))/0x4+parseInt(_0xf2fd35(0x1f3))/0x5*(parseInt(_0xf2fd35(0x1f9))/0x6)+parseInt(_0xf2fd35(0x1e6))/0x7+-parseInt(_0xf2fd35(0x207))/0x8+parseInt(_0xf2fd35(0x1da))/0x9;if(_0x1e9812===_0x4872ce)break;else _0x5533d1['push'](_0x5533d1['shift']());}catch(_0x143a5f){_0x5533d1['push'](_0x5533d1['shift']());}}}(_0x5e0c,0x6cb0c));import{ContextPlugin as _0x543b79,Editor as _0x43a31f}from'ckeditor5/src/core.js';import{first as _0x527690}from'ckeditor5/src/utils.js';import _0x22de7b from'./annotation.js';function _0x5e0c(){const _0x264eac=['focus','push','annotations','Arrowdown','values','Enter','activate','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','3880eTPaWx','_setupEscapeAnnotationHandling','has','destroy','Ctrl+Shift+E','set','6402lGhNrd','getByInnerView','locale','1653508mdknYl','domRoots','deactivateAll','accessibility','isArray','2kPNrNH','Ctrl+Enter','add','isVisible','fire','source','3239472IbEZKO','delete','Tab','listenTo','context','_setupEnterAnnotationKeystroke','focusTracker','keystrokes','Esc','remove','refreshPositioning','escape','contains','change:isVisible','Shift+Tab','element','pluginName','Arrowup','1723158JDSGlq','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','addKeystrokeInfoGroup','_bindAnnotationsToVisibleAnnotations','low','target','_activateAnnotation','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','createAnnotationView','editors','activeAnnotations','8523612OvZdaq','editing','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','_removeActiveAnnotation','collection','view','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','_visibleAnnotations','_deactivateAllAnnotations','stopListening','563149GrUTXM','ready','4381874URwkuF','refreshVisibility','Annotations','createAnnotation','_addActiveAnnotation'];_0x5e0c=function(){return _0x264eac;};return _0x5e0c();}import _0x5ec956 from'./annotationcollection.js';import _0x389f07 from'./view/annotationview.js';import{getTranslation as _0x3158f7}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x49795f}from'@ckeditor/ckeditor5-collaboration-core';export default class N extends _0x543b79{static get[_0x59b6c3(0x217)](){const _0x5ea1ea=_0x59b6c3;return _0x5ea1ea(0x1e8);}constructor(_0x1fcfb4){const _0x2e5476=_0x59b6c3;if(super(_0x1fcfb4),this[_0x2e5476(0x1de)]=new _0x5ec956(),this[_0x2e5476(0x1e1)]=new _0x5ec956(),this[_0x2e5476(0x1f8)](_0x2e5476(0x1d9),new Set()),this[_0x2e5476(0x21c)](),_0x1fcfb4 instanceof _0x43a31f){const _0x12cc0e=_0x1fcfb4[_0x2e5476(0x1fb)];_0x1fcfb4[_0x2e5476(0x1ff)][_0x2e5476(0x21b)]({'id':_0x2e5476(0x1ed),'label':_0x3158f7(_0x12cc0e,_0x2e5476(0x1f2)),'keystrokes':[{'label':_0x3158f7(_0x12cc0e,_0x2e5476(0x1d6)),'keystroke':_0x2e5476(0x1f7)},{'label':_0x3158f7(_0x12cc0e,_0x2e5476(0x220)),'keystroke':_0x2e5476(0x20f)},{'label':_0x3158f7(_0x12cc0e,_0x2e5476(0x21a)),'keystroke':_0x2e5476(0x1f0)},{'label':_0x3158f7(_0x12cc0e,_0x2e5476(0x1e0)),'keystroke':[[_0x2e5476(0x209)],[_0x2e5476(0x215)]]},{'label':_0x3158f7(_0x12cc0e,_0x2e5476(0x1dc)),'keystroke':[_0x2e5476(0x202)]},{'label':_0x3158f7(_0x12cc0e,_0x2e5476(0x1d5)),'keystroke':[[_0x2e5476(0x218)],[_0x2e5476(0x1ee)]]}]});}this[_0x2e5476(0x20c)](),this[_0x2e5476(0x1f4)]();}[_0x59b6c3(0x203)](_0x304afb){const _0xb510e3=_0x59b6c3;this[_0xb510e3(0x1de)][_0xb510e3(0x203)](_0x304afb);}[_0x59b6c3(0x210)](_0x28f1f2){const _0x2e46fa=_0x59b6c3;this[_0x2e46fa(0x1de)][_0x2e46fa(0x210)](_0x28f1f2),_0x28f1f2[_0x2e46fa(0x1f6)]();}[_0x59b6c3(0x1e7)](){const _0x4d13a8=_0x59b6c3;for(const _0x154290 of this[_0x4d13a8(0x1de)])_0x154290[_0x4d13a8(0x1e7)]();}[_0x59b6c3(0x211)](){const _0x972c97=_0x59b6c3;this[_0x972c97(0x1e1)][_0x972c97(0x211)]();}[_0x59b6c3(0x1fa)](_0x28bc28){const _0xa0fedc=_0x59b6c3;return this[_0xa0fedc(0x1de)][_0xa0fedc(0x1fa)](_0x28bc28);}[_0x59b6c3(0x1fe)](){const _0x262f28=_0x59b6c3;this[_0x262f28(0x205)](_0x262f28(0x1e2));}[_0x59b6c3(0x1f6)](){const _0x647acc=_0x59b6c3;for(const _0x33d3c4 of this[_0x647acc(0x1de)])_0x33d3c4[_0x647acc(0x1f6)]();this[_0x647acc(0x1e1)][_0x647acc(0x1f6)](),this[_0x647acc(0x1de)][_0x647acc(0x1f6)](),super[_0x647acc(0x1f6)]();}[_0x59b6c3(0x1f1)](_0x1bc3b3){const _0x40c006=_0x59b6c3;this[_0x40c006(0x205)](_0x40c006(0x21f),_0x1bc3b3);}[_0x59b6c3(0x1e9)](_0x5d7aaf){return new _0x22de7b(_0x5d7aaf);}[_0x59b6c3(0x1d7)](_0x31ffde,_0x5744c9){return new _0x389f07(_0x31ffde,_0x5744c9);}[_0x59b6c3(0x1ea)](_0x315c50){const _0x497b67=_0x59b6c3,_0x107086=new Set(this[_0x497b67(0x1d9)]);_0x107086[_0x497b67(0x203)](_0x315c50),this[_0x497b67(0x1d9)]=_0x107086;}[_0x59b6c3(0x1dd)](_0x4ab7fc){const _0x5b8610=_0x59b6c3,_0xc5a071=new Set(this[_0x5b8610(0x1d9)]);_0xc5a071[_0x5b8610(0x208)](_0x4ab7fc),this[_0x5b8610(0x1d9)]=_0xc5a071;}[_0x59b6c3(0x21c)](){const _0x1aa096=_0x59b6c3,_0x1118b5=this[_0x1aa096(0x1de)],_0x5040c8=this[_0x1aa096(0x1e1)];function _0x17cb76(_0x4c06aa){const _0x5c1e40=_0x1aa096,_0x19c1dd=_0x4c06aa[_0x5c1e40(0x206)];_0x19c1dd[_0x5c1e40(0x204)]&&!_0x5040c8[_0x5c1e40(0x1f5)](_0x19c1dd)?_0x5040c8[_0x5c1e40(0x203)](_0x19c1dd):!_0x19c1dd[_0x5c1e40(0x204)]&&_0x5040c8[_0x5c1e40(0x1f5)](_0x19c1dd)&&_0x5040c8[_0x5c1e40(0x210)](_0x19c1dd),_0x19c1dd[_0x5c1e40(0x1df)][_0x5c1e40(0x20d)][_0x5c1e40(0x210)](_0x19c1dd[_0x5c1e40(0x1df)][_0x5c1e40(0x216)]),_0x19c1dd[_0x5c1e40(0x1df)][_0x5c1e40(0x20d)][_0x5c1e40(0x203)](_0x19c1dd[_0x5c1e40(0x1df)][_0x5c1e40(0x216)]);}this[_0x1aa096(0x20a)](_0x1118b5,_0x1aa096(0x203),(_0x3cbd9f,_0x58e6da)=>{const _0x4e5af2=_0x1aa096;_0x58e6da[_0x4e5af2(0x204)]&&_0x5040c8[_0x4e5af2(0x203)](_0x58e6da),this[_0x4e5af2(0x20a)](_0x58e6da,_0x4e5af2(0x214),_0x17cb76);}),this[_0x1aa096(0x20a)](_0x1118b5,_0x1aa096(0x210),(_0x1cf9ef,_0x3c98f0)=>{const _0x16ed38=_0x1aa096;_0x5040c8[_0x16ed38(0x1f5)](_0x3c98f0)&&_0x5040c8[_0x16ed38(0x210)](_0x3c98f0),this[_0x16ed38(0x1e3)](_0x3c98f0,_0x16ed38(0x214),_0x17cb76);});}[_0x59b6c3(0x20c)](){const _0x2dd17f=_0x59b6c3,_0x335e46=_0xa1dd6a=>{const _0x1d6359=_0x1cb9;_0xa1dd6a['on'](_0x1d6359(0x1e5),()=>{const _0x146665=_0x1d6359;_0xa1dd6a[_0x146665(0x20e)][_0x146665(0x1f8)](_0x49795f,(_0x24ec1e,_0x20f5da)=>{const _0x133ca0=_0x146665,_0x2fa492=_0x527690(this[_0x133ca0(0x1d9)][_0x133ca0(0x1ef)]());_0x2fa492&&(_0x2fa492[_0x133ca0(0x1df)][_0x133ca0(0x1eb)](),_0x20f5da());});});};this[_0x2dd17f(0x20b)]instanceof _0x43a31f?_0x335e46(this[_0x2dd17f(0x20b)]):this[_0x2dd17f(0x20b)][_0x2dd17f(0x1d8)]&&this[_0x2dd17f(0x20b)][_0x2dd17f(0x1d8)]['on'](_0x2dd17f(0x203),(_0x3d10f4,_0x257b8b)=>{_0x335e46(_0x257b8b);});}[_0x59b6c3(0x1f4)](){const _0x34a998=_0x59b6c3,_0x8b7189=_0x258f6c=>{const _0x1c917c=_0x1cb9,_0x2b2419=_0x258f6c[_0x1c917c(0x206)],_0x3516e0=[];let _0x599375;if(Array[_0x1c917c(0x200)](_0x2b2419[_0x1c917c(0x21e)])){_0x599375=_0x2b2419[_0x1c917c(0x21e)][0x0],this[_0x1c917c(0x20b)]instanceof _0x43a31f?_0x3516e0[_0x1c917c(0x1ec)](this[_0x1c917c(0x20b)]):this[_0x1c917c(0x20b)][_0x1c917c(0x1d8)]&&_0x3516e0[_0x1c917c(0x1ec)](...this[_0x1c917c(0x20b)][_0x1c917c(0x1d8)]);for(const _0x2ee4a5 of _0x3516e0)for(const _0x149628 of _0x2ee4a5[_0x1c917c(0x1db)][_0x1c917c(0x1df)][_0x1c917c(0x1fd)][_0x1c917c(0x1ef)]())if(_0x149628[_0x1c917c(0x213)](_0x599375))return void _0x2ee4a5[_0x1c917c(0x1db)][_0x1c917c(0x1df)][_0x1c917c(0x1eb)]();_0x599375[_0x1c917c(0x1eb)]();}};this[_0x34a998(0x20a)](this[_0x34a998(0x1de)],_0x34a998(0x203),(_0x261ce2,_0x35d0df)=>{const _0x27857d=_0x34a998;this[_0x27857d(0x20a)](_0x35d0df,_0x27857d(0x212),_0x8b7189,{'priority':_0x27857d(0x21d)});}),this[_0x34a998(0x20a)](this[_0x34a998(0x1de)],_0x34a998(0x210),(_0x3fd694,_0x3bab22)=>{const _0x5ccdca=_0x34a998;this[_0x5ccdca(0x1e3)](_0x3bab22,_0x5ccdca(0x212),_0x8b7189);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3d3e3a=_0x2c64;(function(_0x52ad31,_0x415aca){const _0x5d7e4c=_0x2c64,_0x7d029a=_0x52ad31();while(!![]){try{const _0x3ac3e1=parseInt(_0x5d7e4c(0x120))/0x1+-parseInt(_0x5d7e4c(0x144))/0x2+parseInt(_0x5d7e4c(0x125))/0x3*(-parseInt(_0x5d7e4c(0x14d))/0x4)+parseInt(_0x5d7e4c(0x12b))/0x5*(parseInt(_0x5d7e4c(0x13f))/0x6)+-parseInt(_0x5d7e4c(0x147))/0x7+parseInt(_0x5d7e4c(0x14f))/0x8*(parseInt(_0x5d7e4c(0x128))/0x9)+parseInt(_0x5d7e4c(0x139))/0xa;if(_0x3ac3e1===_0x415aca)break;else _0x7d029a['push'](_0x7d029a['shift']());}catch(_0x4c8550){_0x7d029a['push'](_0x7d029a['shift']());}}}(_0x2cbb,0xdcb37));import{ContextPlugin as _0x5c5a95}from'ckeditor5/src/core.js';import{CKEditorError as _0x4af8cb}from'ckeditor5/src/utils.js';import _0xb0c120,{bindAnnotationCollections as _0x3421eb}from'./annotationcollection.js';import _0x3058af from'./annotations.js';function _0x2c64(_0xbcc799,_0x5dc4e6){const _0x2cbbee=_0x2cbb();return _0x2c64=function(_0x2c6418,_0x16092c){_0x2c6418=_0x2c6418-0x116;let _0x4ca71f=_0x2cbbee[_0x2c6418];return _0x4ca71f;},_0x2c64(_0xbcc799,_0x5dc4e6);}export default class M extends _0x5c5a95{static get[_0x3d3e3a(0x12c)](){return[_0x3058af];}static get[_0x3d3e3a(0x12e)](){const _0x331628=_0x3d3e3a;return _0x331628(0x11b);}constructor(_0x3262e0){const _0x317850=_0x3d3e3a;super(_0x3262e0),this[_0x317850(0x130)]=new Set(),this[_0x317850(0x11f)]=new Map(),this[_0x317850(0x119)]=new Map();}[_0x3d3e3a(0x14a)](){const _0xcd32b9=_0x3d3e3a,_0x3a1bb6=this[_0xcd32b9(0x127)][_0xcd32b9(0x11d)][_0xcd32b9(0x14b)](_0x3058af);this[_0xcd32b9(0x140)](_0x3a1bb6,_0xcd32b9(0x135),(_0x4c949f,_0x27d419)=>{const _0x53c522=_0xcd32b9;for(const _0x2cbe8f of this[_0x53c522(0x130)]){const _0x60ec2d=this[_0x53c522(0x11f)][_0x53c522(0x14b)](_0x2cbe8f);(0x0,this[_0x53c522(0x119)][_0x53c522(0x14b)](_0x2cbe8f)[_0x53c522(0x142)])(_0x27d419)&&_0x60ec2d[_0x53c522(0x138)](_0x27d419);}}),this[_0xcd32b9(0x140)](_0x3a1bb6,_0xcd32b9(0x13a),()=>{const _0x29d7ce=_0xcd32b9;for(const _0x43c3cb of this[_0x29d7ce(0x130)]){this[_0x29d7ce(0x11f)][_0x29d7ce(0x14b)](_0x43c3cb)[_0x29d7ce(0x138)](null);}}),this[_0xcd32b9(0x140)](_0x3a1bb6[_0xcd32b9(0x146)],_0xcd32b9(0x131),(_0x45fb35,_0x3bfa58)=>{const _0x380c81=_0xcd32b9;this[_0x380c81(0x149)](_0x3bfa58);});}[_0x3d3e3a(0x13c)](){const _0x29b78e=_0x3d3e3a;return this[_0x29b78e(0x130)][_0x29b78e(0x13b)]>0x0;}[_0x3d3e3a(0x12d)](_0x1f7ff7){const _0x3ec66c=_0x3d3e3a;return this[_0x3ec66c(0x130)][_0x3ec66c(0x136)](_0x1f7ff7);}[_0x3d3e3a(0x123)](_0x48b794,_0x43d5e9=()=>!0x0){const _0x166c48=_0x3d3e3a,_0x2cd3c9=this[_0x166c48(0x127)][_0x166c48(0x11d)][_0x166c48(0x14b)](_0x3058af);if(!this[_0x166c48(0x11f)][_0x166c48(0x136)](_0x48b794))throw new _0x4af8cb(_0x166c48(0x132),this,{'uiName':_0x48b794});this[_0x166c48(0x12d)](_0x48b794)&&this[_0x166c48(0x124)](_0x48b794),this[_0x166c48(0x130)][_0x166c48(0x131)](_0x48b794);const _0x58a4a3=new _0xb0c120(),_0x46b1f8=_0x2cd3c9[_0x166c48(0x146)];_0x3421eb({'source':_0x46b1f8,'target':_0x58a4a3,'filter':_0x43d5e9}),this[_0x166c48(0x119)][_0x166c48(0x150)](_0x48b794,{'collection':_0x58a4a3,'filter':_0x43d5e9});const _0x22b45e=this[_0x166c48(0x11f)][_0x166c48(0x14b)](_0x48b794);_0x22b45e[_0x166c48(0x133)](_0x58a4a3),this[_0x166c48(0x140)](_0x22b45e,_0x166c48(0x126),(_0x21fa07,_0x4a5c4c,_0x5b296a,_0x6a2d07)=>{const _0x1450ea=_0x166c48;_0x6a2d07&&_0x2cd3c9[_0x1450ea(0x14e)](_0x6a2d07),_0x5b296a&&_0x2cd3c9[_0x1450ea(0x11e)](_0x5b296a);});}[_0x3d3e3a(0x124)](_0x119b0f){const _0x257616=_0x3d3e3a;if(this[_0x257616(0x130)][_0x257616(0x134)](_0x119b0f),!this[_0x257616(0x11f)][_0x257616(0x136)](_0x119b0f))throw new _0x4af8cb(_0x257616(0x132),this,{'uiName':_0x119b0f});const _0x10a887=this[_0x257616(0x11f)][_0x257616(0x14b)](_0x119b0f);_0x10a887[_0x257616(0x122)](),this[_0x257616(0x11a)](_0x10a887),this[_0x257616(0x119)][_0x257616(0x14b)](_0x119b0f)[_0x257616(0x11c)][_0x257616(0x117)](),this[_0x257616(0x119)][_0x257616(0x134)](_0x119b0f);}[_0x3d3e3a(0x148)](_0x440c72){const _0x498669=_0x3d3e3a;if(!this[_0x498669(0x11f)][_0x498669(0x136)](_0x440c72))throw new _0x4af8cb(_0x498669(0x132),this,{'uiName':_0x440c72});const _0xed257=this[_0x498669(0x127)][_0x498669(0x11d)][_0x498669(0x14b)](_0x3058af),_0x53dcb0=Array[_0x498669(0x152)](_0xed257[_0x498669(0x13e)])[0x0]||null;this[_0x498669(0x13d)](),this[_0x498669(0x123)](_0x440c72);const _0x11978f=this[_0x498669(0x11f)][_0x498669(0x14b)](_0x440c72);_0x11978f[_0x498669(0x138)](_0x53dcb0),_0x11978f[_0x498669(0x141)]&&_0x53dcb0&&_0x11978f[_0x498669(0x141)]([_0x53dcb0]);}[_0x3d3e3a(0x13d)](){const _0x4a5804=_0x3d3e3a;for(const _0x19a6b9 of this[_0x4a5804(0x130)])this[_0x4a5804(0x124)](_0x19a6b9);}[_0x3d3e3a(0x116)](_0x488a85,_0x24a693){const _0x5e8333=_0x3d3e3a;if(this[_0x5e8333(0x11f)][_0x5e8333(0x136)](_0x488a85))throw new _0x4af8cb(_0x5e8333(0x143));if(_0x5e8333(0x151)!=typeof _0x24a693[_0x5e8333(0x133)]||_0x5e8333(0x151)!=typeof _0x24a693[_0x5e8333(0x122)]||_0x5e8333(0x151)!=typeof _0x24a693[_0x5e8333(0x138)])throw new _0x4af8cb(_0x5e8333(0x118),null);this[_0x5e8333(0x11f)][_0x5e8333(0x150)](_0x488a85,_0x24a693);}[_0x3d3e3a(0x121)](){const _0x536bbd=_0x3d3e3a,_0x51d232=this[_0x536bbd(0x127)][_0x536bbd(0x11d)][_0x536bbd(0x14b)](_0x3058af)[_0x536bbd(0x11c)],_0x4b129e=new Map(),_0x473cda=Array[_0x536bbd(0x152)](this[_0x536bbd(0x130)]);for(const _0x1ba462 of this[_0x536bbd(0x130)]){const _0x5b688e=this[_0x536bbd(0x119)][_0x536bbd(0x14b)](_0x1ba462)[_0x536bbd(0x11c)];for(const _0x2b0051 of _0x5b688e)_0x4b129e[_0x536bbd(0x150)](_0x2b0051,_0x1ba462);}for(const _0x16f059 of _0x51d232){const _0x2af615=_0x4b129e[_0x536bbd(0x14b)](_0x16f059);this[_0x536bbd(0x149)](_0x16f059);const _0x172631=_0x473cda[_0x536bbd(0x145)](_0x256d4b=>this[_0x536bbd(0x119)][_0x536bbd(0x14b)](_0x256d4b)[_0x536bbd(0x142)](_0x16f059));_0x2af615!==_0x172631&&(_0x2af615&&this[_0x536bbd(0x119)][_0x536bbd(0x14b)](_0x2af615)[_0x536bbd(0x11c)][_0x536bbd(0x137)](_0x16f059),_0x172631&&this[_0x536bbd(0x119)][_0x536bbd(0x14b)](_0x172631)[_0x536bbd(0x11c)][_0x536bbd(0x131)](_0x16f059));}}[_0x3d3e3a(0x117)](){const _0x154888=_0x3d3e3a;this[_0x154888(0x13d)](),super[_0x154888(0x117)]();}[_0x3d3e3a(0x149)](_0x426931){const _0x1f8e51=_0x3d3e3a,_0x18587f=[];for(const _0x437f32 of this[_0x1f8e51(0x130)]){(0x0,this[_0x1f8e51(0x119)][_0x1f8e51(0x14b)](_0x437f32)[_0x1f8e51(0x142)])(_0x426931)&&_0x18587f[_0x1f8e51(0x12f)](_0x437f32);}if(_0x18587f[_0x1f8e51(0x12a)]>0x1)throw new _0x4af8cb(_0x1f8e51(0x14c),null,{'matchedUIs':_0x18587f,'annotationType':_0x426931[_0x1f8e51(0x129)]});}}function _0x2cbb(){const _0x271e50=['register','destroy','annotationsuis-register-invalid-interface','_uisData','stopListening','AnnotationsUIs','collection','plugins','_addActiveAnnotation','_uis','971441gCyQIx','refilterAnnotations','detach','activate','deactivate','822AdMWdg','change:activeAnnotation','context','1512MyYYQJ','type','length','390jqGZor','requires','isActive','pluginName','push','activeUIs','add','annotationsuis-missing-ui','attach','delete','_activateAnnotation','has','remove','setActiveAnnotation','4379110XwvNet','_deactivateAllAnnotations','size','hasActive','deactivateAll','activeAnnotations','113892aQzkUw','listenTo','_setSelectedAnnotations','filter','annotationsuis-register-already-registered','685322JGqLxX','find','_visibleAnnotations','12361342gYMfSe','switchTo','_assertAnnotationDoesNotBelongToMultipleUIs','init','get','annotationsuis-annotation-mismatch','9276AMZzEO','_removeActiveAnnotation','36096HBsUBa','set','function','from'];_0x2cbb=function(){return _0x271e50;};return _0x2cbb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ddfe7=_0x3a1d;(function(_0x5db328,_0xf7b902){const _0x453d26=_0x3a1d,_0x53cb94=_0x5db328();while(!![]){try{const _0x4a7ab9=-parseInt(_0x453d26(0x1df))/0x1*(-parseInt(_0x453d26(0x1d1))/0x2)+-parseInt(_0x453d26(0x1e0))/0x3*(parseInt(_0x453d26(0x1db))/0x4)+parseInt(_0x453d26(0x1d7))/0x5+parseInt(_0x453d26(0x1cd))/0x6*(-parseInt(_0x453d26(0x1cb))/0x7)+-parseInt(_0x453d26(0x1f5))/0x8*(-parseInt(_0x453d26(0x1c3))/0x9)+parseInt(_0x453d26(0x1f0))/0xa*(parseInt(_0x453d26(0x1e6))/0xb)+-parseInt(_0x453d26(0x1ea))/0xc*(parseInt(_0x453d26(0x1c1))/0xd);if(_0x4a7ab9===_0xf7b902)break;else _0x53cb94['push'](_0x53cb94['shift']());}catch(_0x3d52d8){_0x53cb94['push'](_0x53cb94['shift']());}}}(_0x7687,0x36380));import{Plugin as _0x435de4}from'ckeditor5/src/core.js';import{CKEditorError as _0x41cb1c}from'ckeditor5/src/utils.js';function _0x7687(){const _0x9646e7=['pluginName','81oSnvII','3DcLkxS','uiUpdate','listenTo','refreshSelectedViews','containsRange','blur','13882HuajXb','has','document','requires','84ONRpzc','cancel','from','_editorAnnotationsData','editor','element','1960zivGvT','getOrderedSelectedAnnotations','map','hasDomSelection','view','8ukDYnj','refresh','registerAnnotation','collection','addSourceCollector','delete','init','change:range','isCollapsed','_dataCollectors','update','push','add','sort','112489WushAY','EditorAnnotations','3354759epmERT','selection','annotation','isEqual','editing','getRanges','innerView','set','279076yrWpaG','get','18fGphSJ','getByInnerView','focusTracker','range','844bZhGDB','model','remove','editorannotations-invalid-source-callback','fire','_editorAnnotations','170485fFzoHn','isReadOnly','change:isFocused','plugins','1144508jYtiCv','function','directChange'];_0x7687=function(){return _0x9646e7;};return _0x7687();}import{debounce as _0x528cd9}from'lodash-es';import _0x334c97 from'./annotations.js';function _0x3a1d(_0x4a3b4e,_0x262f1e){const _0x76870d=_0x7687();return _0x3a1d=function(_0x3a1d43,_0x18560e){_0x3a1d43=_0x3a1d43-0x1b4;let _0x5186b=_0x76870d[_0x3a1d43];return _0x5186b;},_0x3a1d(_0x4a3b4e,_0x262f1e);}export default class b extends _0x435de4{static get[_0x4ddfe7(0x1e9)](){return[_0x334c97];}static get[_0x4ddfe7(0x1de)](){const _0x39f623=_0x4ddfe7;return _0x39f623(0x1c2);}constructor(_0x11ee4c){const _0x58228b=_0x4ddfe7;super(_0x11ee4c),this[_0x58228b(0x1bc)]=new Set(),this[_0x58228b(0x1d6)]=new Set();}[_0x4ddfe7(0x1b9)](){const _0x92af5d=_0x4ddfe7,_0x5ef57f=this[_0x92af5d(0x1ee)],_0x44dc2d=_0x5ef57f[_0x92af5d(0x1d2)][_0x92af5d(0x1e8)][_0x92af5d(0x1c4)],_0x443fdb=_0x528cd9(()=>this[_0x92af5d(0x1e3)](),0xa);_0x44dc2d['on'](_0x92af5d(0x1ba),(_0x107435,_0x212cf8)=>{const _0x2560c8=_0x92af5d;_0x212cf8[_0x2560c8(0x1dd)]&&(_0x443fdb[_0x2560c8(0x1eb)](),this[_0x2560c8(0x1e3)]());}),this[_0x92af5d(0x1e2)](_0x5ef57f[_0x92af5d(0x1c7)][_0x92af5d(0x1f4)][_0x92af5d(0x1e8)],_0x92af5d(0x1d9),(_0x2f9fe1,_0x221ac4,_0x268e7d)=>{_0x268e7d&&_0x443fdb();}),this[_0x92af5d(0x1e2)](_0x5ef57f['ui'][_0x92af5d(0x1cf)],_0x92af5d(0x1d9),(_0x176720,_0xa21d6b,_0x56f7b9)=>{const _0x13320c=_0x92af5d;_0x56f7b9||_0x5ef57f[_0x13320c(0x1d8)]||this[_0x13320c(0x1d5)](_0x13320c(0x1e5),{'isAnnotationTracked':_0x1170a0=>this[_0x13320c(0x1ed)][_0x13320c(0x1e7)](_0x1170a0[_0x13320c(0x1c9)])});}),this[_0x92af5d(0x1e2)](this[_0x92af5d(0x1ee)]['ui'],_0x92af5d(0x1bd),()=>this[_0x92af5d(0x1d5)](_0x92af5d(0x1e1)));}[_0x4ddfe7(0x1b5)](_0x23e9e1){const _0x447ce6=_0x4ddfe7;if(this[_0x447ce6(0x1d6)][_0x447ce6(0x1e7)](_0x23e9e1[_0x447ce6(0x1f4)]))return;this[_0x447ce6(0x1d6)][_0x447ce6(0x1bf)](_0x23e9e1[_0x447ce6(0x1f4)]),this[_0x447ce6(0x1ee)]['ui'][_0x447ce6(0x1cf)][_0x447ce6(0x1bf)](_0x23e9e1[_0x447ce6(0x1f4)][_0x447ce6(0x1ef)]);const _0x53b882=this[_0x447ce6(0x1ee)][_0x447ce6(0x1da)][_0x447ce6(0x1cc)](_0x334c97);this[_0x447ce6(0x1e2)](_0x53b882[_0x447ce6(0x1b6)],_0x447ce6(0x1d3),(_0x41c067,_0x2c11c1)=>{const _0x454ac1=_0x447ce6;this[_0x454ac1(0x1ee)]['ui'][_0x454ac1(0x1cf)][_0x454ac1(0x1d3)](_0x2c11c1[_0x454ac1(0x1f4)][_0x454ac1(0x1ef)]),this[_0x454ac1(0x1d6)][_0x454ac1(0x1b8)](_0x2c11c1[_0x454ac1(0x1f4)]);});}[_0x4ddfe7(0x1f3)](){const _0x5527ed=_0x4ddfe7;return this[_0x5527ed(0x1ee)][_0x5527ed(0x1c7)][_0x5527ed(0x1f4)][_0x5527ed(0x1f3)];}[_0x4ddfe7(0x1b7)](_0x201009){const _0x284668=_0x4ddfe7;if(_0x284668(0x1dc)!=typeof _0x201009)throw new _0x41cb1c(_0x284668(0x1d4));this[_0x284668(0x1bc)][_0x284668(0x1bf)](_0x201009);}[_0x4ddfe7(0x1e3)](){const _0x34ab68=_0x4ddfe7;this[_0x34ab68(0x1d5)](_0x34ab68(0x1b4));}[_0x4ddfe7(0x1f1)]({activeAnnotation:_0x3df910,annotations:_0x552578}){const _0x2a2478=_0x4ddfe7,_0x1a2b17=[],_0x778c4d=this[_0x2a2478(0x1ee)][_0x2a2478(0x1d2)][_0x2a2478(0x1e8)][_0x2a2478(0x1c4)],_0x2320ca=Array[_0x2a2478(0x1ec)](_0x778c4d[_0x2a2478(0x1c8)]());for(const [_0x4c793d,_0x55c705]of this[_0x2a2478(0x1ed)]){const _0x51a69c=_0x38f2f4(_0x55c705),_0x2e303b=_0x552578[_0x2a2478(0x1ce)](_0x4c793d);_0x51a69c&&_0x2e303b&&_0x1a2b17[_0x2a2478(0x1be)]({'annotation':_0x2e303b,'range':_0x51a69c});}function _0x38f2f4(_0x16b057){const _0x1f8a21=_0x2a2478;for(const _0x1d97e6 of _0x16b057)for(const _0x12aea2 of _0x2320ca)if(_0x1d97e6[_0x1f8a21(0x1e4)](_0x12aea2,!_0x778c4d[_0x1f8a21(0x1bb)]))return _0x1d97e6;return null;}return _0x1a2b17[_0x2a2478(0x1c0)]((_0x2f51c1,_0x49ffe9)=>{const _0x2367ba=_0x2a2478,_0x37d49f=_0x2f51c1[_0x2367ba(0x1d0)],_0x108340=_0x49ffe9[_0x2367ba(0x1d0)];if(!_0x37d49f[_0x2367ba(0x1c6)](_0x108340)){if(_0x37d49f[_0x2367ba(0x1e4)](_0x108340,!0x0))return 0x1;if(_0x108340[_0x2367ba(0x1e4)](_0x37d49f,!0x0))return-0x1;}return _0x2f51c1[_0x2367ba(0x1c5)]==_0x3df910?-0x1:_0x49ffe9[_0x2367ba(0x1c5)]==_0x3df910?0x1:0x0;})[_0x2a2478(0x1f2)](_0x5a57ef=>_0x5a57ef[_0x2a2478(0x1c5)]);}get[_0x4ddfe7(0x1ed)](){const _0x535871=_0x4ddfe7,_0xb83fe0=new Map();for(const _0x41bf96 of Array[_0x535871(0x1ec)](this[_0x535871(0x1bc)]))for(const [_0x150ec8,_0x563537]of _0x41bf96())_0xb83fe0[_0x535871(0x1ca)](_0x150ec8,_0x563537);return _0xb83fe0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x55d8a4=_0x294a;(function(_0x10bfdd,_0x2b7bc5){const _0x170de2=_0x294a,_0x396a83=_0x10bfdd();while(!![]){try{const _0x26d356=parseInt(_0x170de2(0x12f))/0x1+-parseInt(_0x170de2(0x128))/0x2+-parseInt(_0x170de2(0x139))/0x3*(-parseInt(_0x170de2(0x116))/0x4)+-parseInt(_0x170de2(0x113))/0x5+-parseInt(_0x170de2(0x144))/0x6*(parseInt(_0x170de2(0x145))/0x7)+parseInt(_0x170de2(0x140))/0x8*(parseInt(_0x170de2(0x102))/0x9)+parseInt(_0x170de2(0x13a))/0xa*(parseInt(_0x170de2(0xf6))/0xb);if(_0x26d356===_0x2b7bc5)break;else _0x396a83['push'](_0x396a83['shift']());}catch(_0x13d02e){_0x396a83['push'](_0x396a83['shift']());}}}(_0x1485,0x45c9a));import{Plugin as _0x2e13f8}from'ckeditor5/src/core.js';import _0x20c944 from'./annotationsuis.js';function _0x1485(){const _0x521299=['inline','inlineannotations-not-allowed-with-context','from','isFocused','includes','requires','Esc','viewRangeToDom','annotations','_balloon','visibleView','context','bottom','_removeAnnotationFromBalloon','_manuallyClosed','_addAnnotationToBalloon','fromRect','330074Msrmra','updatePosition','register','left','destroy','change:height','attach','410346tJPVDQ','remove','selection','switchTo','collapse','detach','focusTracker','length','editableElement','getClientRects','39uiJkPg','1230WrdBHG','view','every','domConverter','width','focus','1222552bExbZD','_getBalloonTargetForAnnotation','get','map','102kqukmZ','150934GvlVke','activeAnnotation','_forceRefresh','keystrokes','inlineannotations-detach-not-attached','addObserver','getFirstRange','set','stopListening','afterInit','getBoundingClientRect','add','hasActive','InlineAnnotations','targetRect','getOrderedSelectedAnnotations','_selectedAnnotations','setActiveAnnotation','clear','13937TSNpvB','target','pluginName','delete','showStack','mousedown','_addedAnnotations','isAttached','push','change:isFocused','_setSelectedAnnotations','document','9vIOLcg','hasView','_closeAnnotation','init','right','editor','listenTo','update','find','has','plugins','refresh','inlineannotations-attach-already-attached','blur','top','getByView','editing','602880aedZje','change:visibleView','isActive','67388YCTJyy'];_0x1485=function(){return _0x521299;};return _0x1485();}import _0x2f0b7c from'./editorannotations.js';import{ContextualBalloon as _0x539b14}from'ckeditor5/src/ui.js';import{MouseObserver as _0x440d72}from'ckeditor5/src/engine.js';function _0x294a(_0x5b1a24,_0x272d60){const _0x148598=_0x1485();return _0x294a=function(_0x294ac4,_0x260751){_0x294ac4=_0x294ac4-0xe6;let _0x1561b0=_0x148598[_0x294ac4];return _0x1561b0;},_0x294a(_0x5b1a24,_0x272d60);}import{CKEditorError as _0x202012,Rect as _0x449c01}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x2e13f8{static get[_0x55d8a4(0x11c)](){return[_0x2f0b7c,_0x539b14,_0x20c944];}static get[_0x55d8a4(0xf8)](){const _0x14fbe4=_0x55d8a4;return _0x14fbe4(0xf0);}constructor(_0x1b4a6c){const _0x598ae7=_0x55d8a4;super(_0x1b4a6c),_0x1b4a6c[_0x598ae7(0x112)][_0x598ae7(0x13b)][_0x598ae7(0xe8)](_0x440d72),this[_0x598ae7(0xfd)]=!0x1,this[_0x598ae7(0xea)](_0x598ae7(0x146),null),this[_0x598ae7(0x11f)]=null,this[_0x598ae7(0x125)]=new Set(),this[_0x598ae7(0x120)]=_0x1b4a6c[_0x598ae7(0x10c)][_0x598ae7(0x142)](_0x539b14),this[_0x598ae7(0xfc)]=new Set(),this[_0x598ae7(0xf3)]=[],this[_0x598ae7(0x147)]=!0x1;}[_0x55d8a4(0x105)](){const _0x5dde9d=_0x55d8a4,_0x6d3d97=this[_0x5dde9d(0x107)][_0x5dde9d(0x10c)][_0x5dde9d(0x142)](_0x20c944);_0x6d3d97[_0x5dde9d(0x122)]===this[_0x5dde9d(0x107)]&&(_0x6d3d97[_0x5dde9d(0x12a)](_0x5dde9d(0x117),this),this[_0x5dde9d(0x107)][_0x5dde9d(0xe6)][_0x5dde9d(0xea)](_0x5dde9d(0x11d),(_0x35f878,_0x3418a7)=>{const _0x5ae738=_0x5dde9d,_0x4e42e1=this[_0x5ae738(0x120)];if(this[_0x5ae738(0xfd)]&&_0x4e42e1[_0x5ae738(0x121)]){const _0x1b4f2a=this[_0x5ae738(0x11f)][_0x5ae738(0x111)](_0x4e42e1[_0x5ae738(0x121)]);_0x1b4f2a&&this[_0x5ae738(0x104)](_0x1b4f2a),_0x3418a7();}}));}[_0x55d8a4(0xec)](){const _0x2f5106=_0x55d8a4,_0x352c40=this[_0x2f5106(0x107)][_0x2f5106(0x10c)][_0x2f5106(0x142)](_0x20c944);_0x352c40[_0x2f5106(0x122)]===this[_0x2f5106(0x107)]&&(_0x352c40[_0x2f5106(0xef)]()||_0x352c40[_0x2f5106(0x132)](_0x2f5106(0x117)));}[_0x55d8a4(0xf4)](_0x442c30){const _0xa104c1=_0x55d8a4;_0x442c30!==this[_0xa104c1(0x146)]&&(this[_0xa104c1(0x146)]&&(this[_0xa104c1(0x146)][_0xa104c1(0x115)]=!0x1),_0x442c30&&this[_0xa104c1(0x107)]['ui'][_0xa104c1(0x135)][_0xa104c1(0x11a)]&&(this[_0xa104c1(0x11f)][_0xa104c1(0x10b)](_0x442c30)&&this[_0xa104c1(0x126)](_0x442c30,!0x0),_0x442c30[_0xa104c1(0x115)]=!0x0),_0x442c30||this[_0xa104c1(0x100)]([]),this[_0xa104c1(0x146)]=_0x442c30);}[_0x55d8a4(0x12e)](_0x55ee01){const _0x1982da=_0x55d8a4;this[_0x1982da(0x11f)]=_0x55ee01;const _0x320f14=this[_0x1982da(0x107)][_0x1982da(0x10c)][_0x1982da(0x142)](_0x20c944),_0x497de4=this[_0x1982da(0x120)];if(this[_0x1982da(0xfd)])throw new _0x202012(_0x1982da(0x10e),this);if(_0x320f14[_0x1982da(0x122)]!==this[_0x1982da(0x107)])throw new _0x202012(_0x1982da(0x118),this);const _0x3a9fac=this[_0x1982da(0x107)][_0x1982da(0x10c)][_0x1982da(0x142)](_0x2f0b7c);this[_0x1982da(0x108)](_0x3a9fac,_0x1982da(0x10d),()=>{const _0x1c2025=_0x1982da,_0x19df3c=_0x3a9fac[_0x1c2025(0xf2)]({'annotations':this[_0x1c2025(0x11f)],'activeAnnotation':this[_0x1c2025(0x146)]});var _0x166015,_0x37afdb;!this[_0x1c2025(0x147)]&&(_0x166015=_0x19df3c,_0x37afdb=this[_0x1c2025(0xf3)],_0x166015[_0x1c2025(0x136)]===_0x37afdb[_0x1c2025(0x136)]&&_0x166015[_0x1c2025(0x13c)](_0x265160=>_0x37afdb[_0x1c2025(0x11b)](_0x265160)))||(this[_0x1c2025(0x147)]=!0x1,this[_0x1c2025(0x100)](_0x19df3c),this[_0x1c2025(0xf4)](_0x19df3c[0x0]||null));}),this[_0x1982da(0x108)](_0x3a9fac,_0x1982da(0x10f),(_0x2a33fd,{isAnnotationTracked:_0x561481})=>{const _0x9a0155=_0x1982da;this[_0x9a0155(0x146)]&&_0x561481(this[_0x9a0155(0x146)])&&(this[_0x9a0155(0x100)]([]),this[_0x9a0155(0xf4)](null));}),this[_0x1982da(0x108)](this[_0x1982da(0x107)]['ui'][_0x1982da(0x135)],_0x1982da(0xff),(_0x5455d7,_0x1e2407,_0x3716da)=>{const _0x35144f=_0x1982da;_0x3716da||this[_0x35144f(0xf4)](null);}),this[_0x1982da(0x108)](_0x55ee01,_0x1982da(0x130),(_0x1d3284,_0xd42cc3)=>{const _0x321d06=_0x1982da;this[_0x321d06(0x124)](_0xd42cc3),_0xd42cc3===this[_0x321d06(0x146)]&&this[_0x321d06(0xf4)](null);}),this[_0x1982da(0x108)](_0x497de4,_0x1982da(0x114),(_0x4beaa2,_0x3ab7de,_0x16e4c4,_0x3a3370)=>{const _0x1f9d20=_0x1982da;_0x3a3370&&this[_0x1f9d20(0xeb)](_0x3a3370);const _0x2b7dae=_0x55ee01[_0x1f9d20(0x111)](_0x16e4c4);_0x16e4c4&&_0x2b7dae&&(this[_0x1f9d20(0x108)](_0x16e4c4,_0x1f9d20(0x12d),()=>{const _0x19ec48=_0x1f9d20;_0x497de4[_0x19ec48(0x129)]();}),this[_0x1f9d20(0x108)](_0x16e4c4,_0x1f9d20(0x11d),()=>{const _0x22bcc1=_0x1f9d20;this[_0x22bcc1(0x104)](_0x2b7dae),this[_0x22bcc1(0x107)][_0x22bcc1(0x112)][_0x22bcc1(0x13b)][_0x22bcc1(0x13f)]();}),this[_0x1f9d20(0x146)]!==_0x2b7dae&&this[_0x1f9d20(0xf4)](_0x2b7dae));}),this[_0x1982da(0x108)](this[_0x1982da(0x107)]['ui'],_0x1982da(0x109),()=>{const _0x3563f7=_0x1982da;_0x497de4[_0x3563f7(0x121)]&&(_0x55ee01[_0x3563f7(0x111)](_0x497de4[_0x3563f7(0x121)])&&_0x497de4[_0x3563f7(0x129)]());}),this[_0x1982da(0x108)](this[_0x1982da(0x107)][_0x1982da(0x112)][_0x1982da(0x13b)][_0x1982da(0x101)],_0x1982da(0xfb),()=>{const _0x42da6e=_0x1982da;this[_0x42da6e(0x147)]=!0x0,this[_0x42da6e(0x125)][_0x42da6e(0xf5)]();}),this[_0x1982da(0x107)][_0x1982da(0x112)][_0x1982da(0x13b)][_0x1982da(0x101)][_0x1982da(0x131)][_0x1982da(0x137)]&&this[_0x1982da(0x107)][_0x1982da(0x112)][_0x1982da(0x13b)][_0x1982da(0x13f)](),this[_0x1982da(0xfd)]=!0x0;}[_0x55d8a4(0x134)](){const _0xd2f43a=_0x55d8a4;if(!this[_0xd2f43a(0xfd)])throw new _0x202012(_0xd2f43a(0xe7),this);this[_0xd2f43a(0xf4)](null);for(const _0x1441f3 of this[_0xd2f43a(0xfc)])this[_0xd2f43a(0x124)](_0x1441f3);this[_0xd2f43a(0xeb)](),this[_0xd2f43a(0xfd)]=!0x1,this[_0xd2f43a(0x11f)]=null;}[_0x55d8a4(0x12c)](){const _0x2a6f60=_0x55d8a4;this[_0x2a6f60(0xfd)]&&this[_0x2a6f60(0x134)]();}[_0x55d8a4(0x100)](_0x170bd1){const _0x4ca121=_0x55d8a4;for(const _0x374c5f of this[_0x4ca121(0xf3)])_0x170bd1[_0x4ca121(0x11b)](_0x374c5f)||this[_0x4ca121(0x125)][_0x4ca121(0xf9)](_0x374c5f);for(const _0x1475c8 of this[_0x4ca121(0x11f)])_0x170bd1[_0x4ca121(0x11b)](_0x1475c8)||this[_0x4ca121(0x124)](_0x1475c8);if(this[_0x4ca121(0x107)]['ui'][_0x4ca121(0x135)][_0x4ca121(0x11a)]){for(const _0x4f6c5f of _0x170bd1)this[_0x4ca121(0x126)](_0x4f6c5f);}this[_0x4ca121(0xf3)]=_0x170bd1;}[_0x55d8a4(0x126)](_0x5a8dc5,_0x34b7db=!0x1){const _0x414b91=_0x55d8a4;this[_0x414b91(0x125)][_0x414b91(0x10b)](_0x5a8dc5)||(this[_0x414b91(0xfc)][_0x414b91(0x10b)](_0x5a8dc5)||this[_0x414b91(0x120)][_0x414b91(0x103)](_0x5a8dc5[_0x414b91(0x13b)])||(this[_0x414b91(0xfc)][_0x414b91(0xee)](_0x5a8dc5),this[_0x414b91(0x120)][_0x414b91(0xee)]({'stackId':_0x5a8dc5[_0x414b91(0x13b)]['id'],'view':_0x5a8dc5[_0x414b91(0x13b)],'position':{'target':()=>this[_0x414b91(0x141)](_0x5a8dc5)}})),_0x34b7db&&this[_0x414b91(0x120)][_0x414b91(0xfa)](_0x5a8dc5[_0x414b91(0x13b)]['id']));}[_0x55d8a4(0x141)](_0x4f2463){const _0x2807dc=_0x55d8a4,_0x330188=_0x4f2463[_0x2807dc(0xf7)],_0x3b9193=this[_0x2807dc(0x107)][_0x2807dc(0x112)][_0x2807dc(0x13b)],_0x5c7b3d=_0x3b9193[_0x2807dc(0x101)][_0x2807dc(0x131)][_0x2807dc(0xe9)](),_0x3212c9=_0x3b9193[_0x2807dc(0x13d)][_0x2807dc(0x11e)](_0x5c7b3d);if(_0x3212c9[_0x2807dc(0x133)](!0x0),_0x330188){if(_0x330188 instanceof _0x449c01)return _0x330188;let _0x45fda2=[];for(const _0x2487db of _0x330188)_0x45fda2[_0x2807dc(0xfe)](...(_0x1d033b=_0x2487db[_0x2807dc(0x138)](),Array[_0x2807dc(0x119)](_0x1d033b)[_0x2807dc(0x143)](DOMRect[_0x2807dc(0x127)])));_0x45fda2=function(_0x31d0f1){const _0x3dd10e=_0x2807dc,_0x109b5b=[];let _0xb7d53f=_0x31d0f1[0x0];for(let _0xe355f8=0x1;_0xe355f8<_0x31d0f1[_0x3dd10e(0x136)];_0xe355f8++)q(_0xb7d53f,_0x31d0f1[_0xe355f8])?_0xb7d53f[_0x3dd10e(0x13e)]+=_0x31d0f1[_0xe355f8][_0x3dd10e(0x13e)]:(_0x109b5b[_0x3dd10e(0xfe)](_0xb7d53f),_0xb7d53f=_0x31d0f1[_0xe355f8]);return _0x109b5b[_0x3dd10e(0xfe)](_0xb7d53f),_0x109b5b;}(_0x45fda2);const _0x487d78=_0x3212c9[_0x2807dc(0xed)]();return _0x45fda2[_0x2807dc(0x10a)](_0x2f10f6=>_0x2f10f6[_0x2807dc(0x110)]<=_0x487d78[_0x2807dc(0x110)]&&_0x2f10f6[_0x2807dc(0x123)]>=_0x487d78[_0x2807dc(0x123)]&&_0x2f10f6[_0x2807dc(0x12b)]<=_0x487d78[_0x2807dc(0x12b)]&&_0x2f10f6[_0x2807dc(0x106)]>=_0x487d78[_0x2807dc(0x106)])||_0x45fda2[0x0];}var _0x1d033b;return _0x4f2463[_0x2807dc(0xf1)]||_0x3212c9;}[_0x55d8a4(0x124)](_0x2c9891){const _0x30640c=_0x55d8a4;this[_0x30640c(0xfc)][_0x30640c(0x10b)](_0x2c9891)&&this[_0x30640c(0x120)][_0x30640c(0x103)](_0x2c9891[_0x30640c(0x13b)])&&(this[_0x30640c(0xfc)][_0x30640c(0xf9)](_0x2c9891),this[_0x30640c(0x120)][_0x30640c(0x130)](_0x2c9891[_0x30640c(0x13b)]));}[_0x55d8a4(0x104)](_0x294d8a){const _0x5bbbc0=_0x55d8a4;this[_0x5bbbc0(0x125)][_0x5bbbc0(0xee)](_0x294d8a),this[_0x5bbbc0(0x124)](_0x294d8a);}}function q(_0x3b080d,_0x5515db){const _0x365585=_0x55d8a4;return _0x3b080d[_0x365585(0x110)]===_0x5515db[_0x365585(0x110)]&&_0x3b080d[_0x365585(0x123)]===_0x5515db[_0x365585(0x123)]&&_0x3b080d[_0x365585(0x106)]===_0x5515db[_0x365585(0x12b)];}
|
|
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)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x20da53=_0x1c22;(function(_0x25071b,_0x54ed79){const _0x1c449e=_0x1c22,_0x54cc1a=_0x25071b();while(!![]){try{const _0x5ca705=parseInt(_0x1c449e(0x100))/0x1*(parseInt(_0x1c449e(0x121))/0x2)+parseInt(_0x1c449e(0x156))/0x3*(parseInt(_0x1c449e(0xfe))/0x4)+parseInt(_0x1c449e(0x172))/0x5*(-parseInt(_0x1c449e(0x15f))/0x6)+-parseInt(_0x1c449e(0x15a))/0x7+parseInt(_0x1c449e(0x173))/0x8+-parseInt(_0x1c449e(0x13b))/0x9*(parseInt(_0x1c449e(0x16f))/0xa)+parseInt(_0x1c449e(0x16e))/0xb;if(_0x5ca705===_0x54ed79)break;else _0x54cc1a['push'](_0x54cc1a['shift']());}catch(_0x706f1c){_0x54cc1a['push'](_0x54cc1a['shift']());}}}(_0x47dd,0xa3ae4));import{ContextPlugin as _0x3ab7bb,Context as _0x27abd2}from'ckeditor5/src/core.js';import _0x3d9906 from'./annotationsuis.js';import _0x56f70d from'./sidebar.js';import _0x4328e3 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x1d25cc,BodyCollection as _0x13267b}from'ckeditor5/src/ui.js';import{CKEditorError as _0x14e2ed,DomEmitterMixin as _0x297db6,keyCodes as _0x556ab8,Collection as _0x277352}from'ckeditor5/src/utils.js';function _0x1c22(_0x5c17c1,_0x2aa85f){const _0x47dd25=_0x47dd();return _0x1c22=function(_0x1c224b,_0x27cbc5){_0x1c224b=_0x1c224b-0xfd;let _0x108c9f=_0x47dd25[_0x1c224b];return _0x108c9f;},_0x1c22(_0x5c17c1,_0x2aa85f);}import'../../theme/sidebar-narrow.css';function _0x47dd(){const _0x75e86=['_refreshPositioning','has','_refreshPositioningDebounced','type','_detachFromContainer','values','removeEventListener','includes','addAnnotation','_annotations','bodyCollection','_setSelectedAnnotations','preventClosingBalloon','destroy','clear','unpin','6111TSUDXq','refresh','southArrowNorth','narrowsidebar-detach-not-attached','requires','off','_showBalloon','pin','cancel','plugins','northArrowSouth','find','mousedown','attachToDom','_attachListeners','setActiveAnnotation','execute','focusableElements','delete','esc','getByView','getSidebarItemView','uiUpdate','ck-sidebar--narrow','detachFromDom','rearrange','get','4083iChrof','_hideBalloon','ready','number','2623691PxpWUB','refreshPositioning','from','addEventListener','pluginName','6CKVCfN','context','_domEmitter','create','low','high','narrowSidebar','attach','change:height','getOrderedSelectedAnnotations','view','_detachListeners','activeAnnotation','bind','keydown','115951xPNnRY','16370OZiyva','listenTo','_selectedAnnotations','75165IzXNEx','3190896ebPuYv','isVisible','contains','narrowsidebar-attach-already-attached','resize','editors','3864qzfClo','_annotationToNarrowView','111919NkaUWM','locale','_editorAnnotations','_attachToContainer','Esc','stopListening','length','content','init','annotationType','focus','keyCode','set:container','element','remove','_integrateWithEditorAnnotations','change:container','blur','southArrowNorthEast','set','EditorAnnotations','NarrowSidebar','stop','add','isDirty','preventDefault','detach','stopPropagation','annotations','southArrowNorthWest','northArrowSouthEast','register','_updateBalloonPosition','8ikvvXK','_manuallyClosedAnnotationViews','target','defaultPositions','hasDomSelection','_destroyEditorAnnotationsIntegration','first','balloonPanelView','northArrowSouthWest','isAttached'];_0x47dd=function(){return _0x75e86;};return _0x47dd();}import{debounce as _0x2606d0}from'lodash-es';export default class i extends _0x3ab7bb{static get[_0x20da53(0x13f)](){return[_0x56f70d,_0x3d9906];}static get[_0x20da53(0x15e)](){const _0x39cb4e=_0x20da53;return _0x39cb4e(0x115);}constructor(_0x58df4f){const _0x5f559d=_0x20da53;super(_0x58df4f),this[_0x5f559d(0x12a)]=!0x1,this[_0x5f559d(0x122)]=new Set(),this[_0x5f559d(0x161)]=Object[_0x5f559d(0x162)](_0x297db6),this[_0x5f559d(0xff)]=new Map(),this[_0x5f559d(0x113)](_0x5f559d(0x16b),null),this[_0x5f559d(0x11c)]=null,this[_0x5f559d(0x171)]=[],this[_0x5f559d(0x102)]=new _0x277352(),this[_0x5f559d(0x12d)]=_0x2606d0(()=>{const _0x4c8df0=_0x5f559d;this[_0x4c8df0(0x12b)]();},0xfa,{'leading':!0x1});}[_0x20da53(0x108)](){const _0xf558fb=_0x20da53;this[_0xf558fb(0x160)][_0xf558fb(0x144)][_0xf558fb(0x155)](_0x3d9906)[_0xf558fb(0x11f)](_0xf558fb(0x165),this),this[_0xf558fb(0x135)]=new _0x13267b(this[_0xf558fb(0x160)][_0xf558fb(0x101)]),this[_0xf558fb(0x128)]=new _0x1d25cc(this[_0xf558fb(0x160)][_0xf558fb(0x101)]),this[_0xf558fb(0x135)][_0xf558fb(0x148)](),this[_0xf558fb(0x135)][_0xf558fb(0x117)](this[_0xf558fb(0x128)]);}[_0x20da53(0x166)](_0x194583){const _0x2a39f1=_0x20da53;this[_0x2a39f1(0x11c)]=_0x194583;const _0x11ed09=this[_0x2a39f1(0x160)][_0x2a39f1(0x144)][_0x2a39f1(0x155)](_0x56f70d),_0x3468e5=this[_0x2a39f1(0x128)];if(_0x11ed09[_0x2a39f1(0x134)]=_0x194583,this[_0x2a39f1(0x12a)])throw new _0x14e2ed(_0x2a39f1(0x176),this);this[_0x2a39f1(0x12a)]=!0x0,this[_0x2a39f1(0x170)](_0x11ed09,_0x2a39f1(0x10c),()=>{const _0x210d38=_0x2a39f1;this[_0x210d38(0x11a)](),this[_0x210d38(0x170)](_0x11ed09,_0x210d38(0x110),_0x6564e2=>{const _0x167f03=_0x210d38;_0x6564e2[_0x167f03(0x140)](),this[_0x167f03(0x166)](_0x194583);});}),_0x11ed09[_0x2a39f1(0x103)]({'viewClass':_0x2a39f1(0x152),'spaceBetweenItems':0x5});const _0x51f03e=_0x1d1a31=>{const _0x328c49=_0x2a39f1,_0x2264a5=new _0x4328e3(this[_0x328c49(0x160)][_0x328c49(0x101)]);_0x11ed09[_0x328c49(0x133)](_0x1d1a31,_0x2264a5),this[_0x328c49(0xff)][_0x328c49(0x113)](_0x1d1a31,_0x2264a5),_0x2264a5[_0x328c49(0x16c)](_0x328c49(0x118),_0x328c49(0x109),_0x328c49(0x159))['to'](_0x1d1a31[_0x328c49(0x169)],_0x328c49(0x118),_0x328c49(0x12e),_0x328c49(0x106)),_0x2264a5['on'](_0x328c49(0x14b),()=>{const _0x3c30fd=_0x328c49;this[_0x3c30fd(0x122)][_0x3c30fd(0x139)](),_0x3468e5[_0x3c30fd(0x107)][_0x3c30fd(0x127)]!==_0x1d1a31[_0x3c30fd(0x169)]?(this[_0x3c30fd(0x141)](_0x1d1a31),_0x1d1a31[_0x3c30fd(0x169)][_0x3c30fd(0x10d)][_0x3c30fd(0x10a)](),this[_0x3c30fd(0x14a)](_0x1d1a31)):this[_0x3c30fd(0x14a)](null);});};for(const _0x443406 of _0x194583)_0x51f03e(_0x443406);this[_0x2a39f1(0x170)](_0x194583,_0x2a39f1(0x117),(_0x314ea1,_0x39ba76)=>{_0x51f03e(_0x39ba76);}),this[_0x2a39f1(0x170)](_0x194583,_0x2a39f1(0x10e),(_0x1ef8ac,_0x501f38,_0x1941e0)=>{const _0x451b23=_0x2a39f1;this[_0x451b23(0xff)][_0x451b23(0x155)](_0x501f38)[_0x451b23(0x138)](),this[_0x451b23(0xff)][_0x451b23(0x14d)](_0x501f38),_0x11ed09[_0x451b23(0x154)]({'removedAnnotation':_0x501f38,'previousAnnotation':_0x194583[_0x451b23(0x155)](_0x1941e0-0x1),'nextAnnotation':_0x194583[_0x451b23(0x155)](_0x1941e0+0x1)}),_0x501f38===this[_0x451b23(0x16b)]&&this[_0x451b23(0x14a)](null);},{'priority':_0x2a39f1(0x163)}),this[_0x2a39f1(0x170)](_0x194583,_0x2a39f1(0x10a),(_0x31d652,_0x42a9e9)=>{const _0x3b9338=_0x2a39f1;this[_0x3b9338(0x14a)](_0x42a9e9);}),this[_0x2a39f1(0x170)](_0x194583,_0x2a39f1(0x111),()=>{const _0x2828c6=_0x2a39f1;this[_0x2828c6(0x14a)](null);}),this[_0x2a39f1(0x161)][_0x2a39f1(0x170)](document,_0x2a39f1(0x16d),(_0x4943c8,_0x3e570d)=>{const _0x25e57d=_0x2a39f1;_0x3e570d[_0x25e57d(0x10b)]===_0x556ab8[_0x25e57d(0x14e)]&&_0x3468e5[_0x25e57d(0x174)]&&(this[_0x25e57d(0x122)][_0x25e57d(0x117)](_0x3468e5[_0x25e57d(0x107)][_0x25e57d(0x127)]),this[_0x25e57d(0x157)](),_0x3e570d[_0x25e57d(0x11b)](),_0x3e570d[_0x25e57d(0x119)]());}),this[_0x2a39f1(0x161)][_0x2a39f1(0x170)](document,_0x2a39f1(0x147),(_0x3f2ebc,_0x406034)=>{const _0x1b3a3c=_0x2a39f1,_0x442a95=_0x406034[_0x1b3a3c(0x123)];_0x3468e5[_0x1b3a3c(0x174)]&&_0x3468e5[_0x1b3a3c(0x10d)][_0x1b3a3c(0x175)](_0x442a95)||_0x11ed09[_0x1b3a3c(0x169)][_0x1b3a3c(0x10d)][_0x1b3a3c(0x175)](_0x442a95)||_0x3f2ebc[_0x1b3a3c(0x137)]||this[_0x1b3a3c(0x16b)]&&this[_0x1b3a3c(0x16b)][_0x1b3a3c(0x14c)][_0x1b3a3c(0x146)](_0x48d776=>_0x48d776[_0x1b3a3c(0x175)](_0x442a95))||(this[_0x1b3a3c(0x122)][_0x1b3a3c(0x139)](),this[_0x1b3a3c(0x157)](),this[_0x1b3a3c(0x14a)](null));});const _0x497c98=this[_0x2a39f1(0x160)]instanceof _0x27abd2?this[_0x2a39f1(0x160)][_0x2a39f1(0xfd)]:new _0x277352([this[_0x2a39f1(0x160)]]);for(const _0x8d65e2 of _0x497c98)this[_0x2a39f1(0x10f)](_0x8d65e2);this[_0x2a39f1(0x170)](_0x497c98,_0x2a39f1(0x117),(_0x51b388,_0x566124)=>{const _0x2b2b7e=_0x2a39f1;this[_0x2b2b7e(0x170)](_0x566124,_0x2b2b7e(0x158),()=>{const _0x1be0ac=_0x2b2b7e;this[_0x1be0ac(0x10f)](_0x566124);});}),this[_0x2a39f1(0x170)](_0x497c98,_0x2a39f1(0x10e),(_0x41a6a2,_0x432052)=>{const _0x43cdae=_0x2a39f1;_0x432052[_0x43cdae(0x144)][_0x43cdae(0x12c)](_0x43cdae(0x114))&&this[_0x43cdae(0x126)](_0x432052[_0x43cdae(0x144)][_0x43cdae(0x155)](_0x43cdae(0x114)));}),window[_0x2a39f1(0x15d)](_0x2a39f1(0x177),this[_0x2a39f1(0x12d)]),this[_0x2a39f1(0x12b)]();}[_0x20da53(0x14a)](_0x785bb7){const _0x2348b9=_0x20da53;if(_0x785bb7===this[_0x2348b9(0x16b)])return;const _0x4233b2=this[_0x2348b9(0x160)][_0x2348b9(0x144)][_0x2348b9(0x155)](_0x56f70d);if(_0x4233b2[_0x2348b9(0x13c)]({'blurredAnnotation':this[_0x2348b9(0x16b)],'activatedAnnotation':_0x785bb7,'disableAnimationOnActivatedAnnotation':!0x0}),_0x785bb7)_0x4233b2[_0x2348b9(0x150)](_0x785bb7)?this[_0x2348b9(0x141)](_0x785bb7):this[_0x2348b9(0x157)]();else this[_0x2348b9(0x157)]();this[_0x2348b9(0x16b)]=_0x785bb7;}[_0x20da53(0x11a)](){const _0x1d694c=_0x20da53;if(!this[_0x1d694c(0x12a)])throw new _0x14e2ed(_0x1d694c(0x13e),this);this[_0x1d694c(0x14a)](null);const _0x1044b2=this[_0x1d694c(0x160)][_0x1d694c(0x144)][_0x1d694c(0x155)](_0x56f70d);this[_0x1d694c(0x157)](),Array[_0x1d694c(0x15c)](this[_0x1d694c(0xff)][_0x1d694c(0x130)](),_0x4f9513=>_0x4f9513[_0x1d694c(0x138)]()),this[_0x1d694c(0xff)][_0x1d694c(0x139)](),_0x1044b2[_0x1d694c(0x12f)](this[_0x1d694c(0x11c)]),this[_0x1d694c(0x105)](),this[_0x1d694c(0x161)][_0x1d694c(0x105)](),this[_0x1d694c(0x160)]instanceof _0x27abd2&&this[_0x1d694c(0x105)](this[_0x1d694c(0x160)][_0x1d694c(0xfd)]);for(const _0x334fd6 of Array[_0x1d694c(0x15c)](this[_0x1d694c(0x102)]))this[_0x1d694c(0x126)](_0x334fd6);window[_0x1d694c(0x131)](_0x1d694c(0x177),this[_0x1d694c(0x12d)]),this[_0x1d694c(0x12d)][_0x1d694c(0x143)](),this[_0x1d694c(0x171)]=[],this[_0x1d694c(0x12a)]=!0x1,this[_0x1d694c(0x11c)]=null;}[_0x20da53(0x138)](){const _0x48600a=_0x20da53;this[_0x48600a(0x12a)]&&this[_0x48600a(0x11a)](),this[_0x48600a(0x135)][_0x48600a(0x153)]();}[_0x20da53(0x10f)](_0x57823d){const _0xbea8cb=_0x20da53;if(!_0x57823d[_0xbea8cb(0x144)][_0xbea8cb(0x12c)](_0xbea8cb(0x114)))return;const _0x3c534d=_0x57823d[_0xbea8cb(0x144)][_0xbea8cb(0x155)](_0xbea8cb(0x114)),_0x3eeed9=this[_0xbea8cb(0x160)][_0xbea8cb(0x144)][_0xbea8cb(0x155)](_0x56f70d),_0x30c0b1=this[_0xbea8cb(0x11c)],_0x5ed9b3=this[_0xbea8cb(0x128)],_0x22c3ba=()=>{const _0x57b2cd=_0xbea8cb,_0x2452c1=_0x3c534d[_0x57b2cd(0x168)]({'annotations':this[_0x57b2cd(0x11c)],'activeAnnotation':this[_0x57b2cd(0x16b)]});this[_0x57b2cd(0x136)](_0x2452c1),this[_0x57b2cd(0x14a)](_0x2452c1[0x0]||null);};this[_0xbea8cb(0x170)](_0x3c534d,_0xbea8cb(0x13c),_0x22c3ba),this[_0xbea8cb(0x170)](_0x3c534d,_0xbea8cb(0x111),(_0x647a56,{isAnnotationTracked:_0x345fdc})=>{const _0x3ada3a=_0xbea8cb;this[_0x3ada3a(0x16b)]&&_0x345fdc(this[_0x3ada3a(0x16b)])&&(this[_0x3ada3a(0x136)]([]),this[_0x3ada3a(0x14a)](null));}),this[_0xbea8cb(0x170)](_0x3c534d,_0xbea8cb(0x151),()=>{const _0x3fbc24=_0xbea8cb;this[_0x3fbc24(0x12d)]();}),this[_0xbea8cb(0x170)](_0x30c0b1,_0xbea8cb(0x111),_0x3cf106=>{const _0xa7bd7c=_0xbea8cb;_0x3c534d[_0xa7bd7c(0x125)]()&&_0x3cf106[_0xa7bd7c(0x116)]();},{'priority':_0xbea8cb(0x164)}),this[_0xbea8cb(0x170)](this[_0xbea8cb(0x161)],_0xbea8cb(0x147),(_0x2b008b,_0x47b287)=>{const _0x346a41=_0xbea8cb,_0x3af0a0=_0x47b287[_0x346a41(0x123)];_0x5ed9b3[_0x346a41(0x174)]&&_0x5ed9b3[_0x346a41(0x10d)][_0x346a41(0x175)](_0x3af0a0)||_0x3eeed9[_0x346a41(0x169)][_0x346a41(0x10d)][_0x346a41(0x175)](_0x3af0a0)||this[_0x346a41(0x16b)]&&_0x3c534d[_0x346a41(0x125)]()&&(_0x22c3ba(),_0x2b008b[_0x346a41(0x137)]=!0x0);},{'priority':_0xbea8cb(0x164)}),this[_0xbea8cb(0x102)][_0xbea8cb(0x117)](_0x3c534d);}[_0x20da53(0x126)](_0x426bab){const _0x144452=_0x20da53;_0x426bab&&(this[_0x144452(0x105)](_0x426bab),this[_0x144452(0x102)][_0x144452(0x10e)](_0x426bab));}[_0x20da53(0x136)](_0xae67f7){const _0x866f24=_0x20da53;for(const _0x54aea6 of this[_0x866f24(0x171)])_0xae67f7[_0x866f24(0x132)](_0x54aea6)||this[_0x866f24(0x122)][_0x866f24(0x14d)](_0x54aea6[_0x866f24(0x169)]);this[_0x866f24(0x171)]=_0xae67f7;}[_0x20da53(0x12b)](){const _0x159605=_0x20da53,_0x2fb5c2=this[_0x159605(0x128)];this[_0x159605(0x11c)][_0x159605(0x15b)](),_0x2fb5c2[_0x159605(0x174)]&&this[_0x159605(0x120)]();}[_0x20da53(0x141)](_0x8b78a0){const _0x64d893=_0x20da53;if(this[_0x64d893(0x122)][_0x64d893(0x12c)](_0x8b78a0[_0x64d893(0x169)]))return;const _0x206ee0=this[_0x64d893(0x128)][_0x64d893(0x107)][_0x64d893(0x127)];_0x206ee0!==_0x8b78a0[_0x64d893(0x169)]?(_0x206ee0&&this[_0x64d893(0x16a)](_0x206ee0),this[_0x64d893(0x149)](_0x8b78a0[_0x64d893(0x169)]),this[_0x64d893(0x128)][_0x64d893(0x107)][_0x64d893(0x139)](),this[_0x64d893(0x128)][_0x64d893(0x107)][_0x64d893(0x117)](_0x8b78a0[_0x64d893(0x169)]),this[_0x64d893(0x120)]()):this[_0x64d893(0x120)]();}[_0x20da53(0x120)](){const _0x107df6=_0x20da53,_0x4e40e4=this[_0x107df6(0x128)][_0x107df6(0x107)][_0x107df6(0x127)],_0x82c95e=_0x4e40e4&&this[_0x107df6(0x11c)][_0x107df6(0x14f)](_0x4e40e4);if(!_0x82c95e||!this[_0x107df6(0xff)][_0x107df6(0x12c)](_0x82c95e))return;const _0x3327cb=this[_0x107df6(0xff)][_0x107df6(0x155)](_0x82c95e)[_0x107df6(0x10d)],_0x119cc5=(function(){const _0x2edd38=_0x107df6,_0xe8a692=_0x1d25cc[_0x2edd38(0x124)];return[_0xe8a692[_0x2edd38(0x112)],_0xe8a692[_0x2edd38(0x11e)],_0xe8a692[_0x2edd38(0x13d)],_0xe8a692[_0x2edd38(0x145)],_0xe8a692[_0x2edd38(0x11d)],_0xe8a692[_0x2edd38(0x129)]];}());this[_0x107df6(0x128)][_0x107df6(0x142)]({'target':_0x3327cb,'positions':_0x119cc5});}[_0x20da53(0x157)](){const _0x5ea6f1=_0x20da53,_0x5f1242=this[_0x5ea6f1(0x128)],_0x4fda47=_0x5f1242[_0x5ea6f1(0x107)][_0x5ea6f1(0x127)];_0x4fda47&&(this[_0x5ea6f1(0x16a)](_0x4fda47),_0x5f1242[_0x5ea6f1(0x13a)](),_0x5f1242[_0x5ea6f1(0x107)][_0x5ea6f1(0x139)]());}[_0x20da53(0x149)](_0x39f941){const _0xc54c24=_0x20da53;this[_0xc54c24(0x170)](_0x39f941,_0xc54c24(0x167),()=>this[_0xc54c24(0x120)]()),this[_0xc54c24(0x170)](_0x39f941,_0xc54c24(0x104),(_0x454cc9,_0xaa7ee0)=>{const _0x522ecf=_0xc54c24;this[_0x522ecf(0x122)][_0x522ecf(0x117)](_0x39f941),this[_0x522ecf(0x157)](),_0xaa7ee0();});}[_0x20da53(0x16a)](_0x29f4d7){const _0x4507a7=_0x20da53;this[_0x4507a7(0x105)](_0x29f4d7);}}
|
|
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);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3f9327=_0xcea5;(function(_0x1531af,_0x5966c4){const _0x5e9de8=_0xcea5,_0x51816d=_0x1531af();while(!![]){try{const _0x50b75f=-parseInt(_0x5e9de8(0xb8))/0x1+parseInt(_0x5e9de8(0xa2))/0x2+parseInt(_0x5e9de8(0x91))/0x3+-parseInt(_0x5e9de8(0xa9))/0x4+parseInt(_0x5e9de8(0xa3))/0x5*(-parseInt(_0x5e9de8(0x9f))/0x6)+parseInt(_0x5e9de8(0x73))/0x7+parseInt(_0x5e9de8(0x7e))/0x8*(parseInt(_0x5e9de8(0x8b))/0x9);if(_0x50b75f===_0x5966c4)break;else _0x51816d['push'](_0x51816d['shift']());}catch(_0x1c636a){_0x51816d['push'](_0x51816d['shift']());}}}(_0x427d,0x7316b));import{ContextPlugin as _0x45db54}from'ckeditor5/src/core.js';import{Rect as _0x85e86,CKEditorError as _0x20010d}from'ckeditor5/src/utils.js';import _0x2e71bc from'./view/sidebarview.js';import _0x42f42e from'./view/sidebaritemview.js';function _0x427d(){const _0x5cab1e=['stopListening','unbind','context','content','_alignForTopChange','_createSidebarView','isAnimationDisabled','addAnnotation','_recalculateBuffer','delete','getIndex','_sidebarItemViewToAnnotation','set','_recalculate','_getItemAfter','last','3838023IMxJQi','sidebar-attachtocontainer-missing-container','setContainer','_targetTop','_destroySidebarItemView','Sidebar','bind','nodeType','targetRect','sidebar.preventScrollOutOfView','_alignToTargetRect','40SBgfqf','max','_getTargetTop','isActive','remove','push','height','_alignForBottomChange','object','class','rearrange','target','clear','435123LMUAbP','view','add','_attachToContainer','container','init','1655031arwfcY','_getItemBefore','getSidebarItemView','element','appendChild','refresh','top','pluginName','get','_alignAfterItem','change:_lastItem','change:targetRect','_spaceBetweenItems','list','16926rIfjik','_detachFromContainer','_annotations','458310HheUPe','1600HbnahQ','_getMaxAvailableTop','length','config','render','_setItemTop','367416NYVpJB','sidebar.container','_annotationToSidebarItemView','bottom','destroy','_lastItem','define','sidebar-setcontainer-invalid-element','minHeight','_updateLastItem','locale','change:bottom','change:top','listenTo','_alignBeforeItem','104879tWjgmu','_activeAnnotation','updateHeight'];_0x427d=function(){return _0x5cab1e;};return _0x427d();}function _0xcea5(_0x5f2dc5,_0x409180){const _0x427d97=_0x427d();return _0xcea5=function(_0xcea582,_0xf4ecfd){_0xcea582=_0xcea582-0x64;let _0x353eb2=_0x427d97[_0xcea582];return _0x353eb2;},_0xcea5(_0x5f2dc5,_0x409180);}export default class D extends _0x45db54{static get[_0x3f9327(0x98)](){const _0x2d6415=_0x3f9327;return _0x2d6415(0x78);}constructor(_0x3d78fc){const _0xd4b693=_0x3f9327;super(_0x3d78fc),this[_0xd4b693(0x6f)](_0xd4b693(0xae),void 0x0),this[_0xd4b693(0x8c)]=this[_0xd4b693(0x68)](),this[_0xd4b693(0x6f)](_0xd4b693(0x8f),null),this[_0xd4b693(0x9d)]=0x19,this[_0xd4b693(0x6e)]=new Map(),this[_0xd4b693(0xab)]=new Map(),this[_0xd4b693(0x65)][_0xd4b693(0xa6)][_0xd4b693(0xaf)](_0xd4b693(0x7c),!0x1),this[_0xd4b693(0xa1)]=null,this[_0xd4b693(0xb9)]=null,this[_0xd4b693(0x6b)]=[];}[_0x3f9327(0x90)](){const _0x10f917=_0x3f9327,_0x2b1297=this[_0x10f917(0x65)][_0x10f917(0xa6)][_0x10f917(0x99)](_0x10f917(0xaa));_0x2b1297&&this[_0x10f917(0x75)](_0x2b1297);}[_0x3f9327(0x75)](_0x44d32f){const _0x4031c4=_0x3f9327;if(!y(_0x44d32f))throw new _0x20010d(_0x4031c4(0xb0));this[_0x4031c4(0x8f)]=_0x44d32f;}[_0x3f9327(0x8e)]({viewClass:_0x2e9e56='',spaceBetweenItems:_0x40c865=0x19}={}){const _0x4427b2=_0x3f9327;if(!y(this[_0x4427b2(0x8f)]))throw new _0x20010d(_0x4427b2(0x74),this);this[_0x4427b2(0x8f)][_0x4427b2(0x95)](this[_0x4427b2(0x8c)][_0x4427b2(0x94)]),this[_0x4427b2(0x8c)][_0x4427b2(0x87)]=_0x2e9e56,this[_0x4427b2(0x9d)]=_0x40c865;}[_0x3f9327(0x88)]({removedAnnotation:_0x44a953,previousAnnotation:_0x5b2cd6,nextAnnotation:_0x5cbac8}){const _0x416e5d=_0x3f9327,_0x48c43d=this[_0x416e5d(0x93)](_0x44a953);this[_0x416e5d(0x8c)][_0x416e5d(0x9e)][_0x416e5d(0x82)](_0x48c43d),this[_0x416e5d(0x77)](_0x44a953),_0x5b2cd6&&this[_0x416e5d(0x7d)](this[_0x416e5d(0x93)](_0x5b2cd6)),_0x5cbac8&&this[_0x416e5d(0x7d)](this[_0x416e5d(0x93)](_0x5cbac8)),this[_0x416e5d(0xb2)]();}[_0x3f9327(0x96)]({blurredAnnotation:_0x3d73b4,activatedAnnotation:_0x3fad1d,disableAnimationOnActivatedAnnotation:_0x33106b}){const _0xdeb26=_0x3f9327;if(this[_0xdeb26(0xb9)]=_0x3fad1d,_0x3d73b4){_0x3d73b4[_0xdeb26(0x81)]=!0x1;const _0x15b4ce=this[_0xdeb26(0x93)](_0x3d73b4);_0x15b4ce&&_0x33106b&&(_0x15b4ce[_0xdeb26(0x69)]=!0x1);}if(_0x3fad1d){const _0x19e6eb=this[_0xdeb26(0x93)](_0x3fad1d);_0x19e6eb&&(_0x3fad1d[_0xdeb26(0x81)]=!0x0,_0x33106b&&(_0x19e6eb[_0xdeb26(0x69)]=!0x0,_0x19e6eb[_0xdeb26(0x97)]+=0x1),this[_0xdeb26(0x7d)](_0x19e6eb));}}[_0x3f9327(0xa0)](_0x40d4be){const _0x3f16be=_0x3f9327;if(this[_0x3f16be(0x8c)][_0x3f16be(0x94)][_0x3f16be(0x82)](),_0x40d4be){for(const _0x3c3343 of _0x40d4be)this[_0x3f16be(0x77)](_0x3c3343);}this[_0x3f16be(0x8c)][_0x3f16be(0x9e)][_0x3f16be(0x8a)](),this[_0x3f16be(0x8c)][_0x3f16be(0x87)]='',this[_0x3f16be(0xae)]=null;}[_0x3f9327(0x6a)](_0x12eb4a,_0x1d841a){const _0x8cd9ea=_0x3f9327;_0x1d841a||(_0x1d841a=_0x12eb4a[_0x8cd9ea(0x8c)]);const _0x57492c=new _0x42f42e(this[_0x8cd9ea(0x65)][_0x8cd9ea(0xb3)]);this[_0x8cd9ea(0x6e)][_0x8cd9ea(0x6f)](_0x57492c,_0x12eb4a),this[_0x8cd9ea(0xab)][_0x8cd9ea(0x6f)](_0x12eb4a,_0x57492c),_0x57492c[_0x8cd9ea(0x66)][_0x8cd9ea(0x8d)](_0x1d841a),this[_0x8cd9ea(0xb6)](_0x12eb4a[_0x8cd9ea(0x8c)],_0x8cd9ea(0x9c),(_0x29c916,_0x49d14e,_0x29448b)=>{const _0x5be567=_0x8cd9ea,_0x126a1c=this[_0x5be567(0x80)](_0x12eb4a,_0x29448b);_0x57492c[_0x5be567(0x76)]!=_0x126a1c&&(_0x57492c[_0x5be567(0x76)]=_0x126a1c,this[_0x5be567(0xa8)](_0x57492c,_0x126a1c));}),this[_0x8cd9ea(0xb6)](_0x57492c,_0x8cd9ea(0xb5),()=>{const _0xbfe390=_0x8cd9ea;this[_0xbfe390(0x70)](_0x57492c,_0xbfe390(0x97));}),this[_0x8cd9ea(0xb6)](_0x57492c,_0x8cd9ea(0xb4),()=>{const _0x5217d4=_0x8cd9ea;this[_0x5217d4(0x70)](_0x57492c,_0x5217d4(0xac));}),this[_0x8cd9ea(0x7d)](_0x57492c);const _0x1ff629=this[_0x8cd9ea(0x92)](_0x57492c);if(_0x1ff629)this[_0x8cd9ea(0x9a)](_0x1ff629,_0x57492c)||this[_0x8cd9ea(0x7d)](_0x57492c);else this[_0x8cd9ea(0x7d)](_0x57492c);return this[_0x8cd9ea(0xb2)](),this[_0x8cd9ea(0x8c)][_0x8cd9ea(0x9e)][_0x8cd9ea(0x8d)](_0x57492c),_0x57492c;}[_0x3f9327(0x67)](_0x2e8a1d){const _0x4537da=_0x3f9327;if(!_0x2e8a1d[_0x4537da(0x66)][_0x4537da(0xa5)])return;const _0x296c84=this[_0x4537da(0x92)](_0x2e8a1d);if(!_0x296c84)return;const _0x58d773=this[_0x4537da(0x6e)][_0x4537da(0x99)](_0x296c84),_0x29299f=this[_0x4537da(0xb9)];_0x29299f&&_0x29299f===_0x58d773?this[_0x4537da(0x9a)](_0x296c84,_0x2e8a1d):this[_0x4537da(0xb7)](_0x2e8a1d,_0x296c84);}[_0x3f9327(0x85)](_0x40a29f){const _0x5bbbad=_0x3f9327;if(!_0x40a29f[_0x5bbbad(0x66)][_0x5bbbad(0xa5)])return;const _0x15995c=this[_0x5bbbad(0x71)](_0x40a29f);if(!_0x15995c)return;const _0x1456ae=this[_0x5bbbad(0x6e)][_0x5bbbad(0x99)](_0x15995c),_0x12575f=this[_0x5bbbad(0x65)][_0x5bbbad(0xa6)][_0x5bbbad(0x99)](_0x5bbbad(0x7c)),_0x45aea4=this[_0x5bbbad(0xb9)];_0x45aea4&&_0x45aea4===_0x1456ae&&_0x12575f?(this[_0x5bbbad(0xb7)](_0x15995c,_0x40a29f),this[_0x5bbbad(0x9a)](_0x40a29f,_0x15995c)):_0x45aea4&&_0x45aea4===_0x1456ae?this[_0x5bbbad(0xb7)](_0x15995c,_0x40a29f):this[_0x5bbbad(0x9a)](_0x40a29f,_0x15995c);}[_0x3f9327(0x70)](_0x34bf08,_0x5ae1c0){const _0x3a44c2=_0x3f9327;0x0===this[_0x3a44c2(0x6b)][_0x3a44c2(0xa5)]&&setTimeout(()=>{const _0x120f5f=_0x3a44c2;for(const {sidebarItemView:_0x129122,changedProp:_0x553185}of this[_0x120f5f(0x6b)])_0x120f5f(0x97)===_0x553185?this[_0x120f5f(0x67)](_0x129122):this[_0x120f5f(0x85)](_0x129122);this[_0x120f5f(0x6b)]=[];},0xa),this[_0x3a44c2(0x6b)][_0x3a44c2(0x83)]({'sidebarItemView':_0x34bf08,'changedProp':_0x5ae1c0});}[_0x3f9327(0x93)](_0x35e4ba){const _0x546aed=_0x3f9327;return this[_0x546aed(0xab)][_0x546aed(0x99)](_0x35e4ba);}[_0x3f9327(0xad)](){const _0x3027a8=_0x3f9327;this[_0x3027a8(0xbb)](),this[_0x3027a8(0x8c)][_0x3027a8(0xad)]();}[_0x3f9327(0x77)](_0x1ee340){const _0x4ad167=_0x3f9327,_0x2a3d2a=this[_0x4ad167(0x93)](_0x1ee340);this[_0x4ad167(0xbb)](_0x2a3d2a),this[_0x4ad167(0xbb)](_0x1ee340[_0x4ad167(0x8c)]),_0x2a3d2a[_0x4ad167(0xad)](),this[_0x4ad167(0xab)][_0x4ad167(0x6c)](_0x1ee340),this[_0x4ad167(0x6e)][_0x4ad167(0x6c)](_0x2a3d2a);}[_0x3f9327(0x68)](){const _0x41a514=_0x3f9327,_0x5e7d79=new _0x2e71bc(this[_0x41a514(0x65)][_0x41a514(0xb3)]);return _0x5e7d79[_0x41a514(0xa7)](),this['on'](_0x41a514(0x9b),(_0x482798,_0x4eaab2,_0x395a02,_0x20453e)=>{const _0x29eb26=_0x41a514;_0x20453e&&_0x5e7d79[_0x29eb26(0x64)](_0x29eb26(0xb1)),_0x395a02?_0x5e7d79[_0x29eb26(0x79)](_0x29eb26(0xb1))['to'](_0x395a02,_0x29eb26(0xac)):_0x5e7d79[_0x29eb26(0xb1)]=null;}),_0x5e7d79;}[_0x3f9327(0xb2)](){const _0x5b4f52=_0x3f9327;var _0x5da6a8;this[_0x5b4f52(0xae)]=(null===(_0x5da6a8=this[_0x5b4f52(0xa1)])||void 0x0===_0x5da6a8?void 0x0:_0x5da6a8[_0x5b4f52(0x72)])?this[_0x5b4f52(0x93)](this[_0x5b4f52(0xa1)][_0x5b4f52(0x72)]):null;}[_0x3f9327(0x92)](_0x3b74d9){const _0x288cf3=_0x3f9327;var _0x4b73eb;const _0x8af98f=this[_0x288cf3(0x6e)][_0x288cf3(0x99)](_0x3b74d9),_0x319a42=_0x8af98f&&(null===(_0x4b73eb=this[_0x288cf3(0xa1)])||void 0x0===_0x4b73eb?void 0x0:_0x4b73eb[_0x288cf3(0x99)](this[_0x288cf3(0xa1)][_0x288cf3(0x6d)](_0x8af98f)-0x1));return _0x319a42&&this[_0x288cf3(0x93)](_0x319a42)||null;}[_0x3f9327(0x71)](_0x5cc06a){const _0x3a71cd=_0x3f9327;var _0x43bf51;const _0x12d3ee=this[_0x3a71cd(0x6e)][_0x3a71cd(0x99)](_0x5cc06a),_0x3ac5e5=_0x12d3ee&&(null===(_0x43bf51=this[_0x3a71cd(0xa1)])||void 0x0===_0x43bf51?void 0x0:_0x43bf51[_0x3a71cd(0x99)](this[_0x3a71cd(0xa1)][_0x3a71cd(0x6d)](_0x12d3ee)+0x1));return _0x3ac5e5&&this[_0x3a71cd(0x93)](_0x3ac5e5)||null;}[_0x3f9327(0xb7)](_0x3ad007,_0x2b533d){const _0x4f0009=_0x3f9327;_0x3ad007[_0x4f0009(0xba)]();const _0x39ca2c=R(_0x2b533d[_0x4f0009(0xac)]+this[_0x4f0009(0x9d)],_0x3ad007[_0x4f0009(0x97)]);return!!_0x39ca2c&&(this[_0x4f0009(0xa8)](_0x2b533d,_0x2b533d[_0x4f0009(0x97)]-_0x39ca2c),!0x0);}[_0x3f9327(0x9a)](_0x458109,_0xe457b7){const _0x6e0cb3=_0x3f9327;_0x458109[_0x6e0cb3(0xba)]();const _0x13fc04=R(_0x458109[_0x6e0cb3(0xac)]+this[_0x6e0cb3(0x9d)],_0xe457b7[_0x6e0cb3(0x97)]);return!!_0x13fc04&&(this[_0x6e0cb3(0xa8)](_0xe457b7,_0xe457b7[_0x6e0cb3(0x97)]+_0x13fc04,!0x1),!0x0);}[_0x3f9327(0x7d)](_0x352b3e){const _0x86106d=_0x3f9327,_0x541d5e=this[_0x86106d(0x6e)][_0x86106d(0x99)](_0x352b3e);if(!_0x541d5e||!_0x541d5e[_0x86106d(0x89)]||!_0x541d5e[_0x86106d(0x7b)])return;const _0x103e50=this[_0x86106d(0x80)](_0x541d5e,_0x541d5e[_0x86106d(0x7b)]);this[_0x86106d(0xa8)](_0x352b3e,_0x103e50);}[_0x3f9327(0x80)](_0x146eae,_0x14aba6){const _0x4fc178=_0x3f9327;if(null===_0x14aba6)return 0x0;if(_0x146eae[_0x4fc178(0x89)]instanceof _0x85e86)return _0x14aba6[_0x4fc178(0x97)];{const _0x1cb694=new _0x85e86(this[_0x4fc178(0x8c)][_0x4fc178(0x94)])[_0x4fc178(0x97)];return _0x14aba6[_0x4fc178(0x97)]-_0x1cb694;}}[_0x3f9327(0xa8)](_0xc8a1d,_0x324a0c,_0x343739=this[_0x3f9327(0x65)][_0x3f9327(0xa6)][_0x3f9327(0x99)](_0x3f9327(0x7c))){const _0x3fbea5=_0x3f9327;_0x343739&&(_0x324a0c=Math[_0x3fbea5(0x7f)](_0x324a0c,this[_0x3fbea5(0xa4)](_0xc8a1d))),_0xc8a1d[_0x3fbea5(0x97)]=_0x324a0c;}[_0x3f9327(0xa4)](_0x5317e1){const _0x432952=_0x3f9327;let _0x2aec9d=this[_0x432952(0x92)](_0x5317e1),_0x39386b=0x0;for(;_0x2aec9d;)_0x2aec9d[_0x432952(0xba)](),_0x39386b+=this[_0x432952(0x9d)]+_0x2aec9d[_0x432952(0x84)],_0x2aec9d=this[_0x432952(0x92)](_0x2aec9d);return _0x39386b;}}function R(_0x225264,_0x35697a){const _0x2a5126=_0x3f9327;return Math[_0x2a5126(0x7f)](_0x225264-_0x35697a,0x0);}function y(_0x530730){const _0x587add=_0x3f9327;return null!==_0x530730&&_0x587add(0x86)==typeof _0x530730&&0x1===_0x530730[_0x587add(0x7a)];}
|
|
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)];}
|