@ckeditor/ckeditor5-comments 43.0.0-alpha.0 → 43.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/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 +14 -14
- 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
|
-
const _0x1dad05=_0x59d6;(function(_0x51aac4,_0x3e5fc0){const _0x2d0e28=_0x59d6,_0xddfa64=_0x51aac4();while(!![]){try{const _0x58ced6=parseInt(_0x2d0e28(0x18e))/0x1*(-parseInt(_0x2d0e28(0x179))/0x2)+parseInt(_0x2d0e28(0x18b))/0x3*(parseInt(_0x2d0e28(0x1bb))/0x4)+-parseInt(_0x2d0e28(0x175))/0x5*(-parseInt(_0x2d0e28(0x1b5))/0x6)+parseInt(_0x2d0e28(0x193))/0x7*(-parseInt(_0x2d0e28(0x199))/0x8)+-parseInt(_0x2d0e28(0x178))/0x9*(parseInt(_0x2d0e28(0x1ae))/0xa)+parseInt(_0x2d0e28(0x1b1))/0xb*(-parseInt(_0x2d0e28(0x1a5))/0xc)+parseInt(_0x2d0e28(0x1c7))/0xd*(parseInt(_0x2d0e28(0x1c4))/0xe);if(_0x58ced6===_0x3e5fc0)break;else _0xddfa64['push'](_0xddfa64['shift']());}catch(_0x4d754d){_0xddfa64['push'](_0xddfa64['shift']());}}}(_0x519a,0x53de8));import{ContextPlugin as _0x14539d}from'ckeditor5/src/core.js';import{Rect as _0x5d2a08,CKEditorError as _0x530009}from'ckeditor5/src/utils.js';function _0x519a(){const _0x508e88=['unbind','change:_lastItem','getSidebarItemView','context','remove','_detachFromContainer','config','_spaceBetweenItems','init','delete','_updateLastItem','render','_alignAfterItem','minHeight','define','24oufWPL','target','listenTo','3383SpXWvd','_annotations','destroy','set','_alignForTopChange','8953BSEBfN','content','addAnnotation','isAnimationDisabled','element','_alignToTargetRect','80TyeXgg','sidebar.preventScrollOutOfView','updateHeight','_recalculateBuffer','isActive','_alignForBottomChange','_activeAnnotation','view','change:bottom','_targetTop','sidebar.container','_destroySidebarItemView','2904yRnzyp','_sidebarItemViewToAnnotation','push','change:top','get','targetRect','top','pluginName','rearrange','90GXqiej','clear','max','6743HHcGCZ','class','_getTargetTop','refresh','30KNhvBJ','_getItemBefore','sidebar-setcontainer-invalid-element','container','length','Sidebar','282488FJLfBx','height','last','_getItemAfter','bind','nodeType','locale','object','list','50638AvBVDr','add','appendChild','2990jYDUKA','setContainer','change:targetRect','stopListening','_createSidebarView','_setItemTop','_recalculate','_lastItem','sidebar-attachtocontainer-missing-container','_attachToContainer','_annotationToSidebarItemView','25145MBmBin','getIndex','_alignBeforeItem','237384mXaxje','402jbSHBM','_getMaxAvailableTop','bottom'];_0x519a=function(){return _0x508e88;};return _0x519a();}function _0x59d6(_0x39b02c,_0x51ee25){const _0x519ae5=_0x519a();return _0x59d6=function(_0x59d698,_0x22a5d9){_0x59d698=_0x59d698-0x16e;let _0xed51ed=_0x519ae5[_0x59d698];return _0xed51ed;},_0x59d6(_0x39b02c,_0x51ee25);}import _0x5d085f from'./view/sidebarview.js';import _0x183dd3 from'./view/sidebaritemview.js';export default class D extends _0x14539d{static get[_0x1dad05(0x1ac)](){const _0x219137=_0x1dad05;return _0x219137(0x1ba);}constructor(_0x1c28fe){const _0x8d788e=_0x1dad05;super(_0x1c28fe),this[_0x8d788e(0x191)](_0x8d788e(0x171),void 0x0),this[_0x8d788e(0x1a0)]=this[_0x8d788e(0x16e)](),this[_0x8d788e(0x191)](_0x8d788e(0x1b8),null),this[_0x8d788e(0x183)]=0x19,this[_0x8d788e(0x1a6)]=new Map(),this[_0x8d788e(0x174)]=new Map(),this[_0x8d788e(0x17f)][_0x8d788e(0x182)][_0x8d788e(0x18a)](_0x8d788e(0x19a),!0x1),this[_0x8d788e(0x18f)]=null,this[_0x8d788e(0x19f)]=null,this[_0x8d788e(0x19c)]=[];}[_0x1dad05(0x184)](){const _0x49a965=_0x1dad05,_0x1feae8=this[_0x49a965(0x17f)][_0x49a965(0x182)][_0x49a965(0x1a9)](_0x49a965(0x1a3));_0x1feae8&&this[_0x49a965(0x1c8)](_0x1feae8);}[_0x1dad05(0x1c8)](_0x437c69){const _0x39e4a7=_0x1dad05;if(!y(_0x437c69))throw new _0x530009(_0x39e4a7(0x1b7));this[_0x39e4a7(0x1b8)]=_0x437c69;}[_0x1dad05(0x173)]({viewClass:_0x25dde0='',spaceBetweenItems:_0x112bcc=0x19}={}){const _0x54dacc=_0x1dad05;if(!y(this[_0x54dacc(0x1b8)]))throw new _0x530009(_0x54dacc(0x172),this);this[_0x54dacc(0x1b8)][_0x54dacc(0x1c6)](this[_0x54dacc(0x1a0)][_0x54dacc(0x197)]),this[_0x54dacc(0x1a0)][_0x54dacc(0x1b2)]=_0x25dde0,this[_0x54dacc(0x183)]=_0x112bcc;}[_0x1dad05(0x1ad)]({removedAnnotation:_0x245402,previousAnnotation:_0x234c78,nextAnnotation:_0x56bf09}){const _0x2305e6=_0x1dad05,_0x587258=this[_0x2305e6(0x17e)](_0x245402);this[_0x2305e6(0x1a0)][_0x2305e6(0x1c3)][_0x2305e6(0x180)](_0x587258),this[_0x2305e6(0x1a4)](_0x245402),_0x234c78&&this[_0x2305e6(0x198)](this[_0x2305e6(0x17e)](_0x234c78)),_0x56bf09&&this[_0x2305e6(0x198)](this[_0x2305e6(0x17e)](_0x56bf09)),this[_0x2305e6(0x186)]();}[_0x1dad05(0x1b4)]({blurredAnnotation:_0x19a041,activatedAnnotation:_0x4231ad,disableAnimationOnActivatedAnnotation:_0x7a1302}){const _0x528f11=_0x1dad05;if(this[_0x528f11(0x19f)]=_0x4231ad,_0x19a041){_0x19a041[_0x528f11(0x19d)]=!0x1;const _0x2399b=this[_0x528f11(0x17e)](_0x19a041);_0x2399b&&_0x7a1302&&(_0x2399b[_0x528f11(0x196)]=!0x1);}if(_0x4231ad){const _0x1cf55a=this[_0x528f11(0x17e)](_0x4231ad);_0x1cf55a&&(_0x4231ad[_0x528f11(0x19d)]=!0x0,_0x7a1302&&(_0x1cf55a[_0x528f11(0x196)]=!0x0,_0x1cf55a[_0x528f11(0x1ab)]+=0x1),this[_0x528f11(0x198)](_0x1cf55a));}}[_0x1dad05(0x181)](_0x4219d7){const _0x37a702=_0x1dad05;if(this[_0x37a702(0x1a0)][_0x37a702(0x197)][_0x37a702(0x180)](),_0x4219d7){for(const _0x2e4f4c of _0x4219d7)this[_0x37a702(0x1a4)](_0x2e4f4c);}this[_0x37a702(0x1a0)][_0x37a702(0x1c3)][_0x37a702(0x1af)](),this[_0x37a702(0x1a0)][_0x37a702(0x1b2)]='',this[_0x37a702(0x171)]=null;}[_0x1dad05(0x195)](_0xe3f394,_0x3c6625){const _0x711e88=_0x1dad05;_0x3c6625||(_0x3c6625=_0xe3f394[_0x711e88(0x1a0)]);const _0x4181fa=new _0x183dd3(this[_0x711e88(0x17f)][_0x711e88(0x1c1)]);this[_0x711e88(0x1a6)][_0x711e88(0x191)](_0x4181fa,_0xe3f394),this[_0x711e88(0x174)][_0x711e88(0x191)](_0xe3f394,_0x4181fa),_0x4181fa[_0x711e88(0x194)][_0x711e88(0x1c5)](_0x3c6625),this[_0x711e88(0x18d)](_0xe3f394[_0x711e88(0x1a0)],_0x711e88(0x1c9),(_0x13d4e6,_0x586ce4,_0x1c3a04)=>{const _0x21af8e=_0x711e88,_0x71ffdc=this[_0x21af8e(0x1b3)](_0xe3f394,_0x1c3a04);_0x4181fa[_0x21af8e(0x1a2)]!=_0x71ffdc&&(_0x4181fa[_0x21af8e(0x1a2)]=_0x71ffdc,this[_0x21af8e(0x16f)](_0x4181fa,_0x71ffdc));}),this[_0x711e88(0x18d)](_0x4181fa,_0x711e88(0x1a8),()=>{const _0x1bc5d1=_0x711e88;this[_0x1bc5d1(0x170)](_0x4181fa,_0x1bc5d1(0x1ab));}),this[_0x711e88(0x18d)](_0x4181fa,_0x711e88(0x1a1),()=>{const _0x4ea45f=_0x711e88;this[_0x4ea45f(0x170)](_0x4181fa,_0x4ea45f(0x17b));}),this[_0x711e88(0x198)](_0x4181fa);const _0x454077=this[_0x711e88(0x1b6)](_0x4181fa);if(_0x454077)this[_0x711e88(0x188)](_0x454077,_0x4181fa)||this[_0x711e88(0x198)](_0x4181fa);else this[_0x711e88(0x198)](_0x4181fa);return this[_0x711e88(0x186)](),this[_0x711e88(0x1a0)][_0x711e88(0x1c3)][_0x711e88(0x1c5)](_0x4181fa),_0x4181fa;}[_0x1dad05(0x192)](_0x3e4fe1){const _0x1259b2=_0x1dad05;if(!_0x3e4fe1[_0x1259b2(0x194)][_0x1259b2(0x1b9)])return;const _0x5699c7=this[_0x1259b2(0x1b6)](_0x3e4fe1);if(!_0x5699c7)return;const _0x4e3ac8=this[_0x1259b2(0x1a6)][_0x1259b2(0x1a9)](_0x5699c7),_0x4cd5c9=this[_0x1259b2(0x19f)];_0x4cd5c9&&_0x4cd5c9===_0x4e3ac8?this[_0x1259b2(0x188)](_0x5699c7,_0x3e4fe1):this[_0x1259b2(0x177)](_0x3e4fe1,_0x5699c7);}[_0x1dad05(0x19e)](_0x3ca577){const _0x4fa789=_0x1dad05;if(!_0x3ca577[_0x4fa789(0x194)][_0x4fa789(0x1b9)])return;const _0x43421a=this[_0x4fa789(0x1be)](_0x3ca577);if(!_0x43421a)return;const _0x531fd0=this[_0x4fa789(0x1a6)][_0x4fa789(0x1a9)](_0x43421a),_0x485138=this[_0x4fa789(0x17f)][_0x4fa789(0x182)][_0x4fa789(0x1a9)](_0x4fa789(0x19a)),_0x371b92=this[_0x4fa789(0x19f)];_0x371b92&&_0x371b92===_0x531fd0&&_0x485138?(this[_0x4fa789(0x177)](_0x43421a,_0x3ca577),this[_0x4fa789(0x188)](_0x3ca577,_0x43421a)):_0x371b92&&_0x371b92===_0x531fd0?this[_0x4fa789(0x177)](_0x43421a,_0x3ca577):this[_0x4fa789(0x188)](_0x3ca577,_0x43421a);}[_0x1dad05(0x170)](_0x4196b6,_0x449bee){const _0x155fc9=_0x1dad05;0x0===this[_0x155fc9(0x19c)][_0x155fc9(0x1b9)]&&setTimeout(()=>{const _0x3b3ee0=_0x155fc9;for(const {sidebarItemView:_0x46395c,changedProp:_0x3dc30a}of this[_0x3b3ee0(0x19c)])_0x3b3ee0(0x1ab)===_0x3dc30a?this[_0x3b3ee0(0x192)](_0x46395c):this[_0x3b3ee0(0x19e)](_0x46395c);this[_0x3b3ee0(0x19c)]=[];},0xa),this[_0x155fc9(0x19c)][_0x155fc9(0x1a7)]({'sidebarItemView':_0x4196b6,'changedProp':_0x449bee});}[_0x1dad05(0x17e)](_0x4b6dbf){const _0xe59eaa=_0x1dad05;return this[_0xe59eaa(0x174)][_0xe59eaa(0x1a9)](_0x4b6dbf);}[_0x1dad05(0x190)](){const _0x5a9881=_0x1dad05;this[_0x5a9881(0x1ca)](),this[_0x5a9881(0x1a0)][_0x5a9881(0x190)]();}[_0x1dad05(0x1a4)](_0x49d71e){const _0x546142=_0x1dad05,_0x42b8b9=this[_0x546142(0x17e)](_0x49d71e);this[_0x546142(0x1ca)](_0x42b8b9),this[_0x546142(0x1ca)](_0x49d71e[_0x546142(0x1a0)]),_0x42b8b9[_0x546142(0x190)](),this[_0x546142(0x174)][_0x546142(0x185)](_0x49d71e),this[_0x546142(0x1a6)][_0x546142(0x185)](_0x42b8b9);}[_0x1dad05(0x16e)](){const _0x529a10=_0x1dad05,_0x2e41de=new _0x5d085f(this[_0x529a10(0x17f)][_0x529a10(0x1c1)]);return _0x2e41de[_0x529a10(0x187)](),this['on'](_0x529a10(0x17d),(_0x32c43a,_0x38a1f4,_0x4e5c9c,_0x2d618b)=>{const _0x5a5232=_0x529a10;_0x2d618b&&_0x2e41de[_0x5a5232(0x17c)](_0x5a5232(0x189)),_0x4e5c9c?_0x2e41de[_0x5a5232(0x1bf)](_0x5a5232(0x189))['to'](_0x4e5c9c,_0x5a5232(0x17b)):_0x2e41de[_0x5a5232(0x189)]=null;}),_0x2e41de;}[_0x1dad05(0x186)](){const _0x30465a=_0x1dad05;var _0x2e1610;this[_0x30465a(0x171)]=(null===(_0x2e1610=this[_0x30465a(0x18f)])||void 0x0===_0x2e1610?void 0x0:_0x2e1610[_0x30465a(0x1bd)])?this[_0x30465a(0x17e)](this[_0x30465a(0x18f)][_0x30465a(0x1bd)]):null;}[_0x1dad05(0x1b6)](_0x2bb9b9){const _0x4c79ef=_0x1dad05;var _0x19f517;const _0x1238e6=this[_0x4c79ef(0x1a6)][_0x4c79ef(0x1a9)](_0x2bb9b9),_0x5258ba=_0x1238e6&&(null===(_0x19f517=this[_0x4c79ef(0x18f)])||void 0x0===_0x19f517?void 0x0:_0x19f517[_0x4c79ef(0x1a9)](this[_0x4c79ef(0x18f)][_0x4c79ef(0x176)](_0x1238e6)-0x1));return _0x5258ba&&this[_0x4c79ef(0x17e)](_0x5258ba)||null;}[_0x1dad05(0x1be)](_0x11d797){const _0x1e5bdb=_0x1dad05;var _0x397993;const _0x281553=this[_0x1e5bdb(0x1a6)][_0x1e5bdb(0x1a9)](_0x11d797),_0x3b2cdb=_0x281553&&(null===(_0x397993=this[_0x1e5bdb(0x18f)])||void 0x0===_0x397993?void 0x0:_0x397993[_0x1e5bdb(0x1a9)](this[_0x1e5bdb(0x18f)][_0x1e5bdb(0x176)](_0x281553)+0x1));return _0x3b2cdb&&this[_0x1e5bdb(0x17e)](_0x3b2cdb)||null;}[_0x1dad05(0x177)](_0x12ba45,_0xcb2cd4){const _0x233ad6=_0x1dad05;_0x12ba45[_0x233ad6(0x19b)]();const _0xac87c9=H(_0xcb2cd4[_0x233ad6(0x17b)]+this[_0x233ad6(0x183)],_0x12ba45[_0x233ad6(0x1ab)]);return!!_0xac87c9&&(this[_0x233ad6(0x16f)](_0xcb2cd4,_0xcb2cd4[_0x233ad6(0x1ab)]-_0xac87c9),!0x0);}[_0x1dad05(0x188)](_0x2bf34d,_0x579859){const _0xdf8b94=_0x1dad05;_0x2bf34d[_0xdf8b94(0x19b)]();const _0x1a4808=H(_0x2bf34d[_0xdf8b94(0x17b)]+this[_0xdf8b94(0x183)],_0x579859[_0xdf8b94(0x1ab)]);return!!_0x1a4808&&(this[_0xdf8b94(0x16f)](_0x579859,_0x579859[_0xdf8b94(0x1ab)]+_0x1a4808,!0x1),!0x0);}[_0x1dad05(0x198)](_0xc2f9e4){const _0x3c85c3=_0x1dad05,_0x2a6575=this[_0x3c85c3(0x1a6)][_0x3c85c3(0x1a9)](_0xc2f9e4);if(!_0x2a6575||!_0x2a6575[_0x3c85c3(0x18c)]||!_0x2a6575[_0x3c85c3(0x1aa)])return;const _0x346ecb=this[_0x3c85c3(0x1b3)](_0x2a6575,_0x2a6575[_0x3c85c3(0x1aa)]);this[_0x3c85c3(0x16f)](_0xc2f9e4,_0x346ecb);}[_0x1dad05(0x1b3)](_0x3f23da,_0x55cfdf){const _0x2cd3be=_0x1dad05;if(null===_0x55cfdf)return 0x0;if(_0x3f23da[_0x2cd3be(0x18c)]instanceof _0x5d2a08)return _0x55cfdf[_0x2cd3be(0x1ab)];{const _0x310f81=new _0x5d2a08(this[_0x2cd3be(0x1a0)][_0x2cd3be(0x197)])[_0x2cd3be(0x1ab)];return _0x55cfdf[_0x2cd3be(0x1ab)]-_0x310f81;}}[_0x1dad05(0x16f)](_0x77e32c,_0x55f4dd,_0x305313=this[_0x1dad05(0x17f)][_0x1dad05(0x182)][_0x1dad05(0x1a9)](_0x1dad05(0x19a))){const _0x2c94f2=_0x1dad05;_0x305313&&(_0x55f4dd=Math[_0x2c94f2(0x1b0)](_0x55f4dd,this[_0x2c94f2(0x17a)](_0x77e32c))),_0x77e32c[_0x2c94f2(0x1ab)]=_0x55f4dd;}[_0x1dad05(0x17a)](_0x2ab586){const _0x51f887=_0x1dad05;let _0x59086b=this[_0x51f887(0x1b6)](_0x2ab586),_0x1f5883=0x0;for(;_0x59086b;)_0x59086b[_0x51f887(0x19b)](),_0x1f5883+=this[_0x51f887(0x183)]+_0x59086b[_0x51f887(0x1bc)],_0x59086b=this[_0x51f887(0x1b6)](_0x59086b);return _0x1f5883;}}function H(_0x5a4135,_0x43fe2d){const _0x285e1e=_0x1dad05;return Math[_0x285e1e(0x1b0)](_0x5a4135-_0x43fe2d,0x0);}function y(_0x543adc){const _0x563abf=_0x1dad05;return null!==_0x543adc&&_0x563abf(0x1c2)==typeof _0x543adc&&0x1===_0x543adc[_0x563abf(0x1c0)];}
|
|
23
|
+
const _0x4cc62e=_0x5412;(function(_0x459efb,_0x2e9dbd){const _0x2540f3=_0x5412,_0x1f4547=_0x459efb();while(!![]){try{const _0x325bca=-parseInt(_0x2540f3(0x127))/0x1+-parseInt(_0x2540f3(0xf2))/0x2*(-parseInt(_0x2540f3(0xd1))/0x3)+-parseInt(_0x2540f3(0xf4))/0x4*(parseInt(_0x2540f3(0x121))/0x5)+parseInt(_0x2540f3(0xd9))/0x6*(parseInt(_0x2540f3(0xe8))/0x7)+parseInt(_0x2540f3(0x115))/0x8+parseInt(_0x2540f3(0x10a))/0x9*(-parseInt(_0x2540f3(0x11c))/0xa)+parseInt(_0x2540f3(0x101))/0xb*(parseInt(_0x2540f3(0x103))/0xc);if(_0x325bca===_0x2e9dbd)break;else _0x1f4547['push'](_0x1f4547['shift']());}catch(_0x42503f){_0x1f4547['push'](_0x1f4547['shift']());}}}(_0x1749,0x9fd96));import{ContextPlugin as _0x5e2090}from'ckeditor5/src/core.js';import{Rect as _0x3cd1ea,CKEditorError as _0x21e0e8}from'ckeditor5/src/utils.js';function _0x5412(_0x118496,_0x250ccb){const _0x17490c=_0x1749();return _0x5412=function(_0x54124f,_0x3be58a){_0x54124f=_0x54124f-0xcf;let _0x3e8de0=_0x17490c[_0x54124f];return _0x3e8de0;},_0x5412(_0x118496,_0x250ccb);}import _0x51c76f from'./view/sidebarview.js';import _0x52be5c from'./view/sidebaritemview.js';export default class D extends _0x5e2090{static get[_0x4cc62e(0xde)](){const _0x406fbf=_0x4cc62e;return _0x406fbf(0xfe);}constructor(_0x2686de){const _0x126dde=_0x4cc62e;super(_0x2686de),this[_0x126dde(0x126)](_0x126dde(0x129),void 0x0),this[_0x126dde(0xe9)]=this[_0x126dde(0xd8)](),this[_0x126dde(0x126)](_0x126dde(0x11a),null),this[_0x126dde(0xfc)]=0x19,this[_0x126dde(0x125)]=new Map(),this[_0x126dde(0xeb)]=new Map(),this[_0x126dde(0x116)][_0x126dde(0xd0)][_0x126dde(0x11d)](_0x126dde(0xd3),!0x1),this[_0x126dde(0xfa)]=null,this[_0x126dde(0xed)]=null,this[_0x126dde(0x128)]=[];}[_0x4cc62e(0xff)](){const _0x4573ae=_0x4cc62e,_0xd6f45=this[_0x4573ae(0x116)][_0x4573ae(0xd0)][_0x4573ae(0xf9)](_0x4573ae(0xe6));_0xd6f45&&this[_0x4573ae(0xcf)](_0xd6f45);}[_0x4cc62e(0xcf)](_0x3f0547){const _0x2b782a=_0x4cc62e;if(!y(_0x3f0547))throw new _0x21e0e8(_0x2b782a(0x122));this[_0x2b782a(0x11a)]=_0x3f0547;}[_0x4cc62e(0x119)]({viewClass:_0x8b7850='',spaceBetweenItems:_0x2ba5b7=0x19}={}){const _0x329216=_0x4cc62e;if(!y(this[_0x329216(0x11a)]))throw new _0x21e0e8(_0x329216(0xdf),this);this[_0x329216(0x11a)][_0x329216(0xf8)](this[_0x329216(0xe9)][_0x329216(0x106)]),this[_0x329216(0xe9)][_0x329216(0xd2)]=_0x8b7850,this[_0x329216(0xfc)]=_0x2ba5b7;}[_0x4cc62e(0x112)]({removedAnnotation:_0x2e38e4,previousAnnotation:_0x5be96a,nextAnnotation:_0x4d7f13}){const _0x1bb06e=_0x4cc62e,_0x457cbd=this[_0x1bb06e(0xdc)](_0x2e38e4);this[_0x1bb06e(0xe9)][_0x1bb06e(0xf0)][_0x1bb06e(0xec)](_0x457cbd),this[_0x1bb06e(0xe7)](_0x2e38e4),_0x5be96a&&this[_0x1bb06e(0xf6)](this[_0x1bb06e(0xdc)](_0x5be96a)),_0x4d7f13&&this[_0x1bb06e(0xf6)](this[_0x1bb06e(0xdc)](_0x4d7f13)),this[_0x1bb06e(0x110)]();}[_0x4cc62e(0x11f)]({blurredAnnotation:_0x3736ce,activatedAnnotation:_0x3fd36c,disableAnimationOnActivatedAnnotation:_0x49bf25}){const _0x54c754=_0x4cc62e;if(this[_0x54c754(0xed)]=_0x3fd36c,_0x3736ce){_0x3736ce[_0x54c754(0x120)]=!0x1;const _0x554ac9=this[_0x54c754(0xdc)](_0x3736ce);_0x554ac9&&_0x49bf25&&(_0x554ac9[_0x54c754(0x100)]=!0x1);}if(_0x3fd36c){const _0x5bd873=this[_0x54c754(0xdc)](_0x3fd36c);_0x5bd873&&(_0x3fd36c[_0x54c754(0x120)]=!0x0,_0x49bf25&&(_0x5bd873[_0x54c754(0x100)]=!0x0,_0x5bd873[_0x54c754(0xf3)]+=0x1),this[_0x54c754(0xf6)](_0x5bd873));}}[_0x4cc62e(0x111)](_0x3b8890){const _0x2776c0=_0x4cc62e;if(this[_0x2776c0(0xe9)][_0x2776c0(0x106)][_0x2776c0(0xec)](),_0x3b8890){for(const _0x4898a6 of _0x3b8890)this[_0x2776c0(0xe7)](_0x4898a6);}this[_0x2776c0(0xe9)][_0x2776c0(0xf0)][_0x2776c0(0x11b)](),this[_0x2776c0(0xe9)][_0x2776c0(0xd2)]='',this[_0x2776c0(0x129)]=null;}[_0x4cc62e(0xef)](_0x10f16d,_0x14b76b){const _0x547382=_0x4cc62e;_0x14b76b||(_0x14b76b=_0x10f16d[_0x547382(0xe9)]);const _0x139a99=new _0x52be5c(this[_0x547382(0x116)][_0x547382(0xe1)]);this[_0x547382(0x125)][_0x547382(0x126)](_0x139a99,_0x10f16d),this[_0x547382(0xeb)][_0x547382(0x126)](_0x10f16d,_0x139a99),_0x139a99[_0x547382(0xd4)][_0x547382(0x10d)](_0x14b76b),this[_0x547382(0xd6)](_0x10f16d[_0x547382(0xe9)],_0x547382(0xd5),(_0x29a7dd,_0x2fc444,_0x185ce2)=>{const _0x4d7bc3=_0x547382,_0x42a8c8=this[_0x4d7bc3(0x102)](_0x10f16d,_0x185ce2);_0x139a99[_0x4d7bc3(0x124)]!=_0x42a8c8&&(_0x139a99[_0x4d7bc3(0x124)]=_0x42a8c8,this[_0x4d7bc3(0xf1)](_0x139a99,_0x42a8c8));}),this[_0x547382(0xd6)](_0x139a99,_0x547382(0x117),()=>{const _0x3cd8b5=_0x547382;this[_0x3cd8b5(0x10f)](_0x139a99,_0x3cd8b5(0xf3));}),this[_0x547382(0xd6)](_0x139a99,_0x547382(0x104),()=>{const _0x26139f=_0x547382;this[_0x26139f(0x10f)](_0x139a99,_0x26139f(0x123));}),this[_0x547382(0xf6)](_0x139a99);const _0x2aef69=this[_0x547382(0x10c)](_0x139a99);if(_0x2aef69)this[_0x547382(0xee)](_0x2aef69,_0x139a99)||this[_0x547382(0xf6)](_0x139a99);else this[_0x547382(0xf6)](_0x139a99);return this[_0x547382(0x110)](),this[_0x547382(0xe9)][_0x547382(0xf0)][_0x547382(0x10d)](_0x139a99),_0x139a99;}[_0x4cc62e(0xe4)](_0x1b138b){const _0x205c68=_0x4cc62e;if(!_0x1b138b[_0x205c68(0xd4)][_0x205c68(0x105)])return;const _0x3a09dd=this[_0x205c68(0x10c)](_0x1b138b);if(!_0x3a09dd)return;const _0x306d8d=this[_0x205c68(0x125)][_0x205c68(0xf9)](_0x3a09dd),_0x513783=this[_0x205c68(0xed)];_0x513783&&_0x513783===_0x306d8d?this[_0x205c68(0xee)](_0x3a09dd,_0x1b138b):this[_0x205c68(0x113)](_0x1b138b,_0x3a09dd);}[_0x4cc62e(0xe2)](_0x534f01){const _0x3fead3=_0x4cc62e;if(!_0x534f01[_0x3fead3(0xd4)][_0x3fead3(0x105)])return;const _0x5278b3=this[_0x3fead3(0xdd)](_0x534f01);if(!_0x5278b3)return;const _0x502d3f=this[_0x3fead3(0x125)][_0x3fead3(0xf9)](_0x5278b3),_0x11cb35=this[_0x3fead3(0x116)][_0x3fead3(0xd0)][_0x3fead3(0xf9)](_0x3fead3(0xd3)),_0x29a10b=this[_0x3fead3(0xed)];_0x29a10b&&_0x29a10b===_0x502d3f&&_0x11cb35?(this[_0x3fead3(0x113)](_0x5278b3,_0x534f01),this[_0x3fead3(0xee)](_0x534f01,_0x5278b3)):_0x29a10b&&_0x29a10b===_0x502d3f?this[_0x3fead3(0x113)](_0x5278b3,_0x534f01):this[_0x3fead3(0xee)](_0x534f01,_0x5278b3);}[_0x4cc62e(0x10f)](_0x1cab2a,_0x8b41bb){const _0xd95fcd=_0x4cc62e;0x0===this[_0xd95fcd(0x128)][_0xd95fcd(0x105)]&&setTimeout(()=>{const _0x5ea734=_0xd95fcd;for(const {sidebarItemView:_0x56b50b,changedProp:_0x12fe5e}of this[_0x5ea734(0x128)])_0x5ea734(0xf3)===_0x12fe5e?this[_0x5ea734(0xe4)](_0x56b50b):this[_0x5ea734(0xe2)](_0x56b50b);this[_0x5ea734(0x128)]=[];},0xa),this[_0xd95fcd(0x128)][_0xd95fcd(0xd7)]({'sidebarItemView':_0x1cab2a,'changedProp':_0x8b41bb});}[_0x4cc62e(0xdc)](_0x1c1fbd){const _0x4c9442=_0x4cc62e;return this[_0x4c9442(0xeb)][_0x4c9442(0xf9)](_0x1c1fbd);}[_0x4cc62e(0x118)](){const _0x4e5483=_0x4cc62e;this[_0x4e5483(0xe5)](),this[_0x4e5483(0xe9)][_0x4e5483(0x118)]();}[_0x4cc62e(0xe7)](_0x1db8d3){const _0x409e62=_0x4cc62e,_0x1bfc9d=this[_0x409e62(0xdc)](_0x1db8d3);this[_0x409e62(0xe5)](_0x1bfc9d),this[_0x409e62(0xe5)](_0x1db8d3[_0x409e62(0xe9)]),_0x1bfc9d[_0x409e62(0x118)](),this[_0x409e62(0xeb)][_0x409e62(0x11e)](_0x1db8d3),this[_0x409e62(0x125)][_0x409e62(0x11e)](_0x1bfc9d);}[_0x4cc62e(0xd8)](){const _0x4fb8c4=_0x4cc62e,_0x27052e=new _0x51c76f(this[_0x4fb8c4(0x116)][_0x4fb8c4(0xe1)]);return _0x27052e[_0x4fb8c4(0x10b)](),this['on'](_0x4fb8c4(0x109),(_0x47f936,_0x56371d,_0xeac3cb,_0x42c220)=>{const _0x485083=_0x4fb8c4;_0x42c220&&_0x27052e[_0x485083(0xdb)](_0x485083(0x108)),_0xeac3cb?_0x27052e[_0x485083(0xfb)](_0x485083(0x108))['to'](_0xeac3cb,_0x485083(0x123)):_0x27052e[_0x485083(0x108)]=null;}),_0x27052e;}[_0x4cc62e(0x110)](){const _0x185740=_0x4cc62e;var _0x4ad3e1;this[_0x185740(0x129)]=(null===(_0x4ad3e1=this[_0x185740(0xfa)])||void 0x0===_0x4ad3e1?void 0x0:_0x4ad3e1[_0x185740(0xf5)])?this[_0x185740(0xdc)](this[_0x185740(0xfa)][_0x185740(0xf5)]):null;}[_0x4cc62e(0x10c)](_0x30edad){const _0x26510d=_0x4cc62e;var _0x382948;const _0x31d47f=this[_0x26510d(0x125)][_0x26510d(0xf9)](_0x30edad),_0x422fc3=_0x31d47f&&(null===(_0x382948=this[_0x26510d(0xfa)])||void 0x0===_0x382948?void 0x0:_0x382948[_0x26510d(0xf9)](this[_0x26510d(0xfa)][_0x26510d(0xe3)](_0x31d47f)-0x1));return _0x422fc3&&this[_0x26510d(0xdc)](_0x422fc3)||null;}[_0x4cc62e(0xdd)](_0x2ad873){const _0x142306=_0x4cc62e;var _0x3903d7;const _0x21424b=this[_0x142306(0x125)][_0x142306(0xf9)](_0x2ad873),_0xb414bc=_0x21424b&&(null===(_0x3903d7=this[_0x142306(0xfa)])||void 0x0===_0x3903d7?void 0x0:_0x3903d7[_0x142306(0xf9)](this[_0x142306(0xfa)][_0x142306(0xe3)](_0x21424b)+0x1));return _0xb414bc&&this[_0x142306(0xdc)](_0xb414bc)||null;}[_0x4cc62e(0x113)](_0x106400,_0x37f923){const _0x3b437d=_0x4cc62e;_0x106400[_0x3b437d(0xfd)]();const _0x2f987a=H(_0x37f923[_0x3b437d(0x123)]+this[_0x3b437d(0xfc)],_0x106400[_0x3b437d(0xf3)]);return!!_0x2f987a&&(this[_0x3b437d(0xf1)](_0x37f923,_0x37f923[_0x3b437d(0xf3)]-_0x2f987a),!0x0);}[_0x4cc62e(0xee)](_0x534429,_0x3ea5af){const _0x40fe6b=_0x4cc62e;_0x534429[_0x40fe6b(0xfd)]();const _0x1ceddb=H(_0x534429[_0x40fe6b(0x123)]+this[_0x40fe6b(0xfc)],_0x3ea5af[_0x40fe6b(0xf3)]);return!!_0x1ceddb&&(this[_0x40fe6b(0xf1)](_0x3ea5af,_0x3ea5af[_0x40fe6b(0xf3)]+_0x1ceddb,!0x1),!0x0);}[_0x4cc62e(0xf6)](_0x2d8831){const _0x1f081a=_0x4cc62e,_0x219fa5=this[_0x1f081a(0x125)][_0x1f081a(0xf9)](_0x2d8831);if(!_0x219fa5||!_0x219fa5[_0x1f081a(0xe0)]||!_0x219fa5[_0x1f081a(0x107)])return;const _0x36f8bf=this[_0x1f081a(0x102)](_0x219fa5,_0x219fa5[_0x1f081a(0x107)]);this[_0x1f081a(0xf1)](_0x2d8831,_0x36f8bf);}[_0x4cc62e(0x102)](_0x4a40b3,_0x371ba2){const _0x311c37=_0x4cc62e;if(null===_0x371ba2)return 0x0;if(_0x4a40b3[_0x311c37(0xe0)]instanceof _0x3cd1ea)return _0x371ba2[_0x311c37(0xf3)];{const _0x463ad8=new _0x3cd1ea(this[_0x311c37(0xe9)][_0x311c37(0x106)])[_0x311c37(0xf3)];return _0x371ba2[_0x311c37(0xf3)]-_0x463ad8;}}[_0x4cc62e(0xf1)](_0x348283,_0x4ccf2e,_0x420913=this[_0x4cc62e(0x116)][_0x4cc62e(0xd0)][_0x4cc62e(0xf9)](_0x4cc62e(0xd3))){const _0x2e6627=_0x4cc62e;_0x420913&&(_0x4ccf2e=Math[_0x2e6627(0xf7)](_0x4ccf2e,this[_0x2e6627(0x114)](_0x348283))),_0x348283[_0x2e6627(0xf3)]=_0x4ccf2e;}[_0x4cc62e(0x114)](_0xc460ec){const _0x5a1faf=_0x4cc62e;let _0x5dce37=this[_0x5a1faf(0x10c)](_0xc460ec),_0x187107=0x0;for(;_0x5dce37;)_0x5dce37[_0x5a1faf(0xfd)](),_0x187107+=this[_0x5a1faf(0xfc)]+_0x5dce37[_0x5a1faf(0x10e)],_0x5dce37=this[_0x5a1faf(0x10c)](_0x5dce37);return _0x187107;}}function _0x1749(){const _0x15fe0c=['max','appendChild','get','_annotations','bind','_spaceBetweenItems','updateHeight','Sidebar','init','isAnimationDisabled','11ZUsmps','_getTargetTop','18183576HbLMxm','change:bottom','length','element','targetRect','minHeight','change:_lastItem','3450537mCqXJM','render','_getItemBefore','add','height','_recalculate','_updateLastItem','_detachFromContainer','rearrange','_alignBeforeItem','_getMaxAvailableTop','3219008utVxlG','context','change:top','destroy','_attachToContainer','container','clear','10BpDMWu','define','delete','refresh','isActive','30HkQVWP','sidebar-setcontainer-invalid-element','bottom','_targetTop','_sidebarItemViewToAnnotation','set','1236141apSFAd','_recalculateBuffer','_lastItem','setContainer','config','566421sSBadY','class','sidebar.preventScrollOutOfView','content','change:targetRect','listenTo','push','_createSidebarView','122538SZBZaE','nodeType','unbind','getSidebarItemView','_getItemAfter','pluginName','sidebar-attachtocontainer-missing-container','target','locale','_alignForBottomChange','getIndex','_alignForTopChange','stopListening','sidebar.container','_destroySidebarItemView','35QGWTAt','view','object','_annotationToSidebarItemView','remove','_activeAnnotation','_alignAfterItem','addAnnotation','list','_setItemTop','6CBaKdx','top','207956VhYePU','last','_alignToTargetRect'];_0x1749=function(){return _0x15fe0c;};return _0x1749();}function H(_0x309b3c,_0x141671){const _0x5c19d1=_0x4cc62e;return Math[_0x5c19d1(0xf7)](_0x309b3c-_0x141671,0x0);}function y(_0x37ab30){const _0x193b4f=_0x4cc62e;return null!==_0x37ab30&&_0x193b4f(0xea)==typeof _0x37ab30&&0x1===_0x37ab30[_0x193b4f(0xda)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3c0cd3,_0x15ff1c){const _0x30c66c=_0x17ae,_0x33abcc=_0x3c0cd3();while(!![]){try{const _0x4d0683=parseInt(_0x30c66c(0x1b7))/0x1+-parseInt(_0x30c66c(0x1ac))/0x2*(-parseInt(_0x30c66c(0x1b9))/0x3)+-parseInt(_0x30c66c(0x1ab))/0x4+parseInt(_0x30c66c(0x1b8))/0x5*(parseInt(_0x30c66c(0x1ae))/0x6)+-parseInt(_0x30c66c(0x1bf))/0x7+parseInt(_0x30c66c(0x1b3))/0x8+-parseInt(_0x30c66c(0x1bc))/0x9*(parseInt(_0x30c66c(0x1c2))/0xa);if(_0x4d0683===_0x15ff1c)break;else _0x33abcc['push'](_0x33abcc['shift']());}catch(_0x1bdb1e){_0x33abcc['push'](_0x33abcc['shift']());}}}(_0x1efd,0xc9c62));import{ButtonView as _0x3e4eec,View as _0x5116a2}from'ckeditor5/src/ui.js';import _0x42f197 from'../../../theme/icons/add-comment.svg';function _0x1efd(){const _0x1869eb=['extendTemplate','156ujpksm','number','...','ck-annotation-counter','_badge','882832VLJslT','children','add','icon','905994SnUenK','114755vnaDsV','30SNRaYF','isDirty','annotationType','11529nMrRlI','ck-annotation-counter__badge--','ck-annotation-counter__badge','1784363iqMidF','toString','bindTemplate','5020ltTkTP','bind','counterView','setTemplate','set','ck-annotation-counter__badge--edit-mode','span','245228odLmNV','34534iQOuKQ'];_0x1efd=function(){return _0x1869eb;};return _0x1efd();}function _0x17ae(_0x37c3d5,_0x32bad4){const _0x1efd02=_0x1efd();return _0x17ae=function(_0x17ae8d,_0x5296bf){_0x17ae8d=_0x17ae8d-0x1a8;let _0x5779c0=_0x1efd02[_0x17ae8d];return _0x5779c0;},_0x17ae(_0x37c3d5,_0x32bad4);}export default class L extends _0x3e4eec{constructor(_0x14747f){const _0x506ca6=_0x17ae;super(_0x14747f);const _0x345502=this[_0x506ca6(0x1c1)];this[_0x506ca6(0x1a8)](_0x506ca6(0x1ba),!0x1),this[_0x506ca6(0x1a8)](_0x506ca6(0x1af),0x0),this[_0x506ca6(0x1c3)](_0x506ca6(0x1b2))['to'](this,_0x506ca6(0x1ba),this,_0x506ca6(0x1af),(_0x56b069,_0x1671a4)=>_0x56b069?_0x506ca6(0x1b0):_0x1671a4[_0x506ca6(0x1c0)]()),this[_0x506ca6(0x1a8)](_0x506ca6(0x1bb),''),this[_0x506ca6(0x1b6)]=_0x42f197,this[_0x506ca6(0x1ad)]({'attributes':{'class':[_0x506ca6(0x1b1)]}}),this[_0x506ca6(0x1c4)]=new _0x5116a2(),this[_0x506ca6(0x1c4)][_0x506ca6(0x1c5)]({'tag':_0x506ca6(0x1aa),'attributes':{'class':[_0x506ca6(0x1be),_0x345502['to'](_0x506ca6(0x1bb),_0x3079aa=>_0x506ca6(0x1bd)+_0x3079aa),_0x345502['if'](_0x506ca6(0x1ba),_0x506ca6(0x1a9))]},'children':[{'text':_0x345502['to'](_0x506ca6(0x1b2))}]}),this[_0x506ca6(0x1b4)][_0x506ca6(0x1b5)](this[_0x506ca6(0x1c4)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4d0b(_0x5076e6,_0x50d7b9){const _0x3d8953=_0x3d89();return _0x4d0b=function(_0x4d0b15,_0x5e6278){_0x4d0b15=_0x4d0b15-0x15f;let _0x8dccc8=_0x3d8953[_0x4d0b15];return _0x8dccc8;},_0x4d0b(_0x5076e6,_0x50d7b9);}const _0x2b4a20=_0x4d0b;(function(_0x5a4ae9,_0x34fe54){const _0x325938=_0x4d0b,_0x50029f=_0x5a4ae9();while(!![]){try{const _0x36c85b=-parseInt(_0x325938(0x161))/0x1+parseInt(_0x325938(0x167))/0x2*(parseInt(_0x325938(0x18b))/0x3)+-parseInt(_0x325938(0x182))/0x4+-parseInt(_0x325938(0x177))/0x5+parseInt(_0x325938(0x16d))/0x6+-parseInt(_0x325938(0x165))/0x7+parseInt(_0x325938(0x17e))/0x8;if(_0x36c85b===_0x34fe54)break;else _0x50029f['push'](_0x50029f['shift']());}catch(_0x5745a4){_0x50029f['push'](_0x50029f['shift']());}}}(_0x3d89,0x63927));function _0x3d89(){const _0x41959d=['keystrokes','3010035sFTfcD','detach','18ODEdqM','isActive','focus','_mutationObserver','ck-annotation-wrapper','height','4576716czzhIr','isDirty','createCollection','add','length','first','clientHeight','setTemplate','element','_updateHeight','3099720EOEPXy','div','arrowup','ck-annotation-wrapper--active','set','render','listenTo','8324168lPzQkf','arrowdown','attach','presentation','1671608oBIzjb','fire','bindTemplate','destroy','delegate','focusTracker','targetRect','mainView','ck-rounded-corners','70377sXzyfa','Esc','clear','138740dslloS','content','type'];_0x3d89=function(){return _0x41959d;};return _0x3d89();}import{View as _0x42ba24}from'ckeditor5/src/ui.js';import{FocusTracker as _0x36982f,KeystrokeHandler as _0x1afc46,uid as _0x13dd4b}from'ckeditor5/src/utils.js';import _0x4b713c from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class T extends _0x42ba24{constructor(_0x25e90d,_0x9168d2){const _0x4f45ef=_0x4d0b;super(_0x25e90d),this['id']=_0x13dd4b(),this[_0x4f45ef(0x187)]=new _0x36982f(),this[_0x4f45ef(0x164)]=new _0x1afc46(),this[_0x4f45ef(0x164)][_0x4f45ef(0x17b)](_0x4f45ef(0x15f),(_0x7477,_0x1a2872)=>this[_0x4f45ef(0x183)](_0x4f45ef(0x15f),_0x1a2872)),this[_0x4f45ef(0x17b)](_0x4f45ef(0x188),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x4f45ef(0x17b)](_0x4f45ef(0x16c),0x0),this[_0x4f45ef(0x17b)](_0x4f45ef(0x168),!0x1),this[_0x4f45ef(0x17b)](_0x4f45ef(0x16e),!0x1),this[_0x4f45ef(0x17b)](_0x4f45ef(0x171),0x0),this[_0x4f45ef(0x17b)](_0x4f45ef(0x163),''),this[_0x4f45ef(0x16a)]=_0x4b713c(()=>this[_0x4f45ef(0x176)]()),this[_0x4f45ef(0x162)]=this[_0x4f45ef(0x16f)](),this[_0x4f45ef(0x162)][_0x4f45ef(0x186)](_0x4f45ef(0x179),_0x4f45ef(0x17f))['to'](this),this[_0x4f45ef(0x162)][_0x4f45ef(0x170)](_0x9168d2),this[_0x4f45ef(0x189)]=_0x9168d2;const _0x4fce36=this[_0x4f45ef(0x184)];this[_0x4f45ef(0x174)]({'tag':_0x4f45ef(0x178),'attributes':{'class':['ck',_0x4f45ef(0x16b),_0x4f45ef(0x18a),_0x4fce36['if'](_0x4f45ef(0x168),_0x4f45ef(0x17a))],'role':_0x4f45ef(0x181)},'children':this[_0x4f45ef(0x162)]});}[_0x2b4a20(0x17c)](){const _0x2e6ea2=_0x2b4a20;super[_0x2e6ea2(0x17c)](),this[_0x2e6ea2(0x187)][_0x2e6ea2(0x170)](this[_0x2e6ea2(0x175)]),this[_0x2e6ea2(0x164)][_0x2e6ea2(0x17d)](this[_0x2e6ea2(0x175)]),this[_0x2e6ea2(0x16a)][_0x2e6ea2(0x180)](this[_0x2e6ea2(0x175)]);}[_0x2b4a20(0x185)](){const _0x4c1a3d=_0x2b4a20;this[_0x4c1a3d(0x162)][_0x4c1a3d(0x160)](),this[_0x4c1a3d(0x164)][_0x4c1a3d(0x185)](),this[_0x4c1a3d(0x187)][_0x4c1a3d(0x185)](),this[_0x4c1a3d(0x16a)][_0x4c1a3d(0x166)](),super[_0x4c1a3d(0x185)]();}[_0x2b4a20(0x169)](){const _0x48c139=_0x2b4a20;this[_0x48c139(0x162)][_0x48c139(0x172)]&&this[_0x48c139(0x162)][_0x48c139(0x172)][_0x48c139(0x169)]();}[_0x2b4a20(0x176)](){const _0x18e4bc=_0x2b4a20,_0x25a792=this[_0x18e4bc(0x175)][_0x18e4bc(0x173)];_0x25a792&&(this[_0x18e4bc(0x16c)]=_0x25a792);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f54a3=_0x2d11;(function(_0x469240,_0x295cc9){const _0x2dc8d8=_0x2d11,_0x194a45=_0x469240();while(!![]){try{const _0x7208c4=parseInt(_0x2dc8d8(0xb7))/0x1*(-parseInt(_0x2dc8d8(0xc5))/0x2)+-parseInt(_0x2dc8d8(0xd8))/0x3+parseInt(_0x2dc8d8(0xd2))/0x4*(-parseInt(_0x2dc8d8(0xb2))/0x5)+parseInt(_0x2dc8d8(0xc4))/0x6*(parseInt(_0x2dc8d8(0xcd))/0x7)+-parseInt(_0x2dc8d8(0xc0))/0x8*(parseInt(_0x2dc8d8(0xc3))/0x9)+parseInt(_0x2dc8d8(0xbb))/0xa+parseInt(_0x2dc8d8(0xc2))/0xb;if(_0x7208c4===_0x295cc9)break;else _0x194a45['push'](_0x194a45['shift']());}catch(_0x5a82af){_0x194a45['push'](_0x194a45['shift']());}}}(_0x3166,0x22a98));import{View as _0x21aae8}from'ckeditor5/src/ui.js';import{toUnit as _0xc1ac5a}from'ckeditor5/src/utils.js';import _0x3f1983 from'../../utils/createmutationobserver.js';function _0x2d11(_0xaebf97,_0x28222c){const _0x3166c3=_0x3166();return _0x2d11=function(_0x2d1102,_0x480e41){_0x2d1102=_0x2d1102-0xb1;let _0x31d3f4=_0x3166c3[_0x2d1102];return _0x31d3f4;},_0x2d11(_0xaebf97,_0x28222c);}const qt=_0xc1ac5a('px');export default class M extends _0x21aae8{constructor(_0xa9baf0){const _0x21a467=_0x2d11;super(_0xa9baf0),this[_0x21a467(0xc1)](_0x21a467(0xb8),0x0),this[_0x21a467(0xc1)](_0x21a467(0xca),0x0),this[_0x21a467(0xbd)](_0x21a467(0xcb))['to'](this,_0x21a467(0xb8),this,_0x21a467(0xca),(_0x1bf256,_0x42a4aa)=>_0x1bf256+_0x42a4aa),this[_0x21a467(0xc1)](_0x21a467(0xd7),!0x1),this[_0x21a467(0xb5)]=_0x3f1983(()=>this[_0x21a467(0xbc)]()),this[_0x21a467(0xd1)]=null,this[_0x21a467(0xc6)]=this[_0x21a467(0xd3)](),this[_0x21a467(0xc6)][_0x21a467(0xd5)](_0x21a467(0xd6),_0x21a467(0xba))['to'](this);const _0x44780e=this[_0x21a467(0xbf)];this[_0x21a467(0xce)]({'tag':_0x21a467(0xd4),'attributes':{'class':[_0x21a467(0xc8),_0x44780e['to'](_0x21a467(0xd7),_0x3fa5e0=>_0x3fa5e0?_0x21a467(0xcf):'')],'style':{'top':_0x44780e['to'](_0x21a467(0xb8),_0x40f152=>qt(_0x40f152))},'role':_0x21a467(0xbe)},'children':this[_0x21a467(0xc6)]});}[_0x2f54a3(0xd0)](){const _0xed0908=_0x2f54a3;super[_0xed0908(0xd0)](),this[_0xed0908(0xb5)][_0xed0908(0xb3)](this[_0xed0908(0xb6)]);}[_0x2f54a3(0xb1)](){const _0x1f7f03=_0x2f54a3;this[_0x1f7f03(0xc6)][_0x1f7f03(0xb9)]&&this[_0x1f7f03(0xc6)][_0x1f7f03(0xb9)][_0x1f7f03(0xb1)]();}[_0x2f54a3(0xbc)](){const _0x456560=_0x2f54a3,_0x582ecb=this[_0x456560(0xb6)][_0x456560(0xc9)];_0x582ecb&&(this[_0x456560(0xca)]=_0x582ecb);}[_0x2f54a3(0xb4)](){const _0x22774e=_0x2f54a3;this[_0x22774e(0xc6)][_0x22774e(0xc7)](),this[_0x22774e(0xb5)][_0x22774e(0xcc)](),super[_0x22774e(0xb4)]();}}function _0x3166(){const _0x4ab24c=['_mutationObserver','element','46shYRzD','top','first','arrowdown','1320880BuJoqm','updateHeight','bind','presentation','bindTemplate','237392RmTrNk','set','3731937eRYjsa','63DTuiVB','12dguxfs','7026yIcERq','content','clear','ck-sidebar-item','clientHeight','height','bottom','detach','348677CWmOQW','setTemplate','ck-sidebar-item--no-animation','render','_targetTop','3860NdiacG','createCollection','div','delegate','arrowup','isAnimationDisabled','164580vEstkI','focus','25QRqqFM','attach','destroy'];_0x3166=function(){return _0x4ab24c;};return _0x3166();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59846a=_0x4f79;function _0x4f79(_0x2acf65,_0x1827c3){const _0x6595ce=_0x6595();return _0x4f79=function(_0x4f79e1,_0x5f3e6d){_0x4f79e1=_0x4f79e1-0x187;let _0x1701f2=_0x6595ce[_0x4f79e1];return _0x1701f2;},_0x4f79(_0x2acf65,_0x1827c3);}(function(_0x2be83a,_0x5f2bbb){const _0x3c9347=_0x4f79,_0x8edeb7=_0x2be83a();while(!![]){try{const _0x2a8ed7=parseInt(_0x3c9347(0x18d))/0x1*(-parseInt(_0x3c9347(0x195))/0x2)+parseInt(_0x3c9347(0x1b5))/0x3*(parseInt(_0x3c9347(0x1ae))/0x4)+parseInt(_0x3c9347(0x1a2))/0x5*(-parseInt(_0x3c9347(0x1a8))/0x6)+parseInt(_0x3c9347(0x19b))/0x7+parseInt(_0x3c9347(0x190))/0x8*(parseInt(_0x3c9347(0x18b))/0x9)+-parseInt(_0x3c9347(0x1a1))/0xa+parseInt(_0x3c9347(0x1ac))/0xb*(-parseInt(_0x3c9347(0x1b6))/0xc);if(_0x2a8ed7===_0x5f2bbb)break;else _0x8edeb7['push'](_0x8edeb7['shift']());}catch(_0x50105e){_0x8edeb7['push'](_0x8edeb7['shift']());}}}(_0x6595,0x544bd));import{View as _0x46ad6f,FocusCycler as _0x4e9404}from'ckeditor5/src/ui.js';function _0x6595(){const _0x4d933f=['Annotations\x20list','length','div','97210UlPDsc','80NuQeVM','_updateItemPositionInFocusables','added','createCollection','source','application','212850kaRPqz','focusPrevious','forEach','class','551683wcVlrB','Annotations\x20sidebar','1604Eampbf','focusNext','setTemplate','listenTo','list','ck-reset','focusFirst','2217HCyWXo','12abWkWM','uiLanguageDirection','set','bindTemplate','arrowdown','add','focus','removed','getIndex','delegate','622071GWtqgL','number','16586yXTISZ','_setupKeyboardNavigation','focusTracker','48fcIRWt','arrowup','render','focusCycler','change:top','26FlDvbJ','change','remove','focusables','minHeight','ck-sidebar','3341212khxdvT','top','element'];_0x6595=function(){return _0x4d933f;};return _0x6595();}import{FocusTracker as _0x497edc,toUnit as _0x50eb8f}from'ckeditor5/src/utils.js';import{getTranslation as _0x389ccf}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0x50eb8f('px');export default class V extends _0x46ad6f{constructor(_0xf52626){const _0x4d323b=_0x4f79;super(_0xf52626);const _0x2b1318=this[_0x4d323b(0x1b9)];this[_0x4d323b(0x1b8)](_0x4d323b(0x199),0x0),this[_0x4d323b(0x1b8)](_0x4d323b(0x1ab),''),this[_0x4d323b(0x1b2)]=this[_0x4d323b(0x1a5)](),this[_0x4d323b(0x198)]=this[_0x4d323b(0x1a5)](),this[_0x4d323b(0x1b2)][_0x4d323b(0x18a)](_0x4d323b(0x191),_0x4d323b(0x1ba))['to'](this),this[_0x4d323b(0x18f)]=new _0x497edc(),this[_0x4d323b(0x193)]=new _0x4e9404({'focusables':this[_0x4d323b(0x198)],'focusTracker':this[_0x4d323b(0x18f)]}),this[_0x4d323b(0x1b0)]({'tag':_0x4d323b(0x1a0),'attributes':{'class':['ck',_0x4d323b(0x19a),_0x4d323b(0x1b3),_0x2b1318['to'](_0x4d323b(0x1ab))],'style':{'minHeight':_0x2b1318['to'](_0x4d323b(0x199),_0x33f293=>_0x4d323b(0x18c)==typeof _0x33f293?qt(_0x33f293+0xa):null)},'dir':_0xf52626[_0x4d323b(0x1b7)],'role':_0x4d323b(0x1a7),'aria-label':_0x389ccf(_0xf52626,_0x4d323b(0x1ad)),'tabindex':0x0},'children':[{'tag':_0x4d323b(0x1a0),'attributes':{'role':_0x4d323b(0x1b2),'aria-label':_0x389ccf(_0xf52626,_0x4d323b(0x19e))},'children':this[_0x4d323b(0x1b2)]}]});}[_0x59846a(0x192)](){const _0x277385=_0x59846a;super[_0x277385(0x192)](),this[_0x277385(0x18e)]();}[_0x59846a(0x187)](){const _0x36451b=_0x59846a;this[_0x36451b(0x193)][_0x36451b(0x1b4)]();}[_0x59846a(0x18e)](){const _0x3e718e=_0x59846a;this[_0x3e718e(0x1b2)][_0x3e718e(0x18a)](_0x3e718e(0x194))['to'](this),this['on'](_0x3e718e(0x194),_0x135f2d=>{const _0xd6a127=_0x3e718e;this[_0xd6a127(0x1a3)](_0x135f2d[_0xd6a127(0x1a6)]);}),this[_0x3e718e(0x1b2)][_0x3e718e(0x1aa)](_0x18b510=>{const _0x2372fc=_0x3e718e;this[_0x2372fc(0x18f)][_0x2372fc(0x1bb)](_0x18b510[_0x2372fc(0x19d)]),this[_0x2372fc(0x1a3)](_0x18b510);}),this[_0x3e718e(0x1b2)]['on'](_0x3e718e(0x196),(_0x5b1686,_0x286546)=>{const _0x583d5b=_0x3e718e;for(const _0x3d44c3 of _0x286546[_0x583d5b(0x188)])this[_0x583d5b(0x18f)][_0x583d5b(0x197)](_0x3d44c3[_0x583d5b(0x19d)]),this[_0x583d5b(0x198)][_0x583d5b(0x197)](_0x3d44c3);for(const _0x1f30cd of _0x286546[_0x583d5b(0x1a4)])this[_0x583d5b(0x18f)][_0x583d5b(0x1bb)](_0x1f30cd[_0x583d5b(0x19d)]),this[_0x583d5b(0x1a3)](_0x1f30cd);}),this['on'](_0x3e718e(0x191),()=>{const _0x2f8259=_0x3e718e;this[_0x2f8259(0x193)][_0x2f8259(0x1a9)]();}),this['on'](_0x3e718e(0x1ba),()=>{const _0x328495=_0x3e718e;this[_0x328495(0x193)][_0x328495(0x1af)]();}),this[_0x3e718e(0x1b1)](this[_0x3e718e(0x19d)],_0x3e718e(0x187),()=>{const _0x2a88c1=_0x3e718e;this[_0x2a88c1(0x187)]();});}[_0x59846a(0x1a3)](_0x25b965){const _0x7c3e58=_0x59846a,_0x45d010=this[_0x7c3e58(0x198)][_0x7c3e58(0x189)](_0x25b965);let _0x44147d,_0x121527;for(const _0x5919ee of this[_0x7c3e58(0x198)])if(_0x25b965[_0x7c3e58(0x19c)]<_0x5919ee[_0x7c3e58(0x19c)]){_0x44147d=_0x5919ee;break;}if(_0x121527=_0x44147d?this[_0x7c3e58(0x198)][_0x7c3e58(0x189)](_0x44147d):this[_0x7c3e58(0x198)][_0x7c3e58(0x19f)],-0x1!==_0x45d010){if(_0x45d010===_0x121527-0x1)return;this[_0x7c3e58(0x198)][_0x7c3e58(0x197)](_0x25b965),_0x121527=_0x44147d?this[_0x7c3e58(0x198)][_0x7c3e58(0x189)](_0x44147d):this[_0x7c3e58(0x198)][_0x7c3e58(0x19f)];}this[_0x7c3e58(0x198)][_0x7c3e58(0x1bb)](_0x25b965,_0x121527);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf61b90=_0x2f58;(function(_0x117b31,_0x3a2d05){const _0x5435c2=_0x2f58,_0x4f6705=_0x117b31();while(!![]){try{const _0x316f08=-parseInt(_0x5435c2(0x87))/0x1+-parseInt(_0x5435c2(0x81))/0x2+-parseInt(_0x5435c2(0x7c))/0x3*(parseInt(_0x5435c2(0x84))/0x4)+parseInt(_0x5435c2(0x9d))/0x5+-parseInt(_0x5435c2(0xb7))/0x6*(-parseInt(_0x5435c2(0xa9))/0x7)+parseInt(_0x5435c2(0x9f))/0x8*(parseInt(_0x5435c2(0xa1))/0x9)+parseInt(_0x5435c2(0xbc))/0xa*(-parseInt(_0x5435c2(0xbb))/0xb);if(_0x316f08===_0x3a2d05)break;else _0x4f6705['push'](_0x4f6705['shift']());}catch(_0x38c9ee){_0x4f6705['push'](_0x4f6705['shift']());}}}(_0x4f84,0x619e7));import{ContextPlugin as _0x5ce909,Context as _0x2bb868}from'ckeditor5/src/core.js';import _0x3b9e45 from'./annotationsuis.js';import _0x2435f1 from'./sidebar.js';import{CKEditorError as _0x2ff61c,Collection as _0xa108a}from'ckeditor5/src/utils.js';function _0x4f84(){const _0x246060=['isAttached','155580pObSho','getOrderedSelectedAnnotations','attach','listenTo','99kLWhTs','18210tRywHf','_annotations','set','refresh','WideSidebar','1056ZzJWQz','_detachFromContainer','addAnnotation','register','ready','1587592HfeuAN','add','activeAnnotation','2252wApjBv','plugins','high','59653mzBgPw','setActiveAnnotation','from','switchTo','widesidebar-attach-already-attached','stop','addEventListener','change:container','removeEventListener','get','remove','uiUpdate','off','_destroyEditorAnnotationsIntegration','_attachToContainer','pluginName','requires','cancel','EditorAnnotations','_refreshPositioningDebounced','editors','stopListening','739980EBkBTh','_editorAnnotations','950120eRlwkf','wideSidebar','45nWNsCB','init','_integrateWithEditorAnnotations','ck-sidebar--wide','refreshPositioning','annotations','rearrange','resize','196tmqyoU','blur','set:container','destroy','detach','hasDomSelection','container','widesidebar-detach-not-attached','context','focus','_activeAnnotation','updateTargetRect','has'];_0x4f84=function(){return _0x246060;};return _0x4f84();}import{debounce as _0x348a3d}from'lodash-es';function _0x2f58(_0x127099,_0x2775b1){const _0x4f84fa=_0x4f84();return _0x2f58=function(_0x2f58b0,_0x5160f7){_0x2f58b0=_0x2f58b0-0x7b;let _0x2d8f63=_0x4f84fa[_0x2f58b0];return _0x2d8f63;},_0x2f58(_0x127099,_0x2775b1);}export default class n extends _0x5ce909{static get[_0xf61b90(0x97)](){return[_0x2435f1,_0x3b9e45];}static get[_0xf61b90(0x96)](){const _0x2ab824=_0xf61b90;return _0x2ab824(0x7b);}constructor(_0x1e06d4){const _0xdd8c6b=_0xf61b90;super(_0x1e06d4),this[_0xdd8c6b(0xb6)]=!0x1,this[_0xdd8c6b(0xbe)](_0xdd8c6b(0x83),null),this[_0xdd8c6b(0xa6)]=null,this[_0xdd8c6b(0x9e)]=new _0xa108a(),this[_0xdd8c6b(0x9a)]=_0x348a3d(()=>{const _0x2cfdaf=_0xdd8c6b;this[_0x2cfdaf(0xa6)][_0x2cfdaf(0xa5)]();},0xfa,{'leading':!0x1});}[_0xf61b90(0xa2)](){const _0x4e32cc=_0xf61b90,_0x5c3cdd=this[_0x4e32cc(0xb1)][_0x4e32cc(0x85)][_0x4e32cc(0x90)](_0x3b9e45),_0x12d493=this[_0x4e32cc(0xb1)][_0x4e32cc(0x85)][_0x4e32cc(0x90)](_0x2435f1);_0x5c3cdd[_0x4e32cc(0x7f)](_0x4e32cc(0xa0),this),_0x12d493[_0x4e32cc(0xaf)]&&_0x5c3cdd[_0x4e32cc(0x8a)](_0x4e32cc(0xa0));}[_0xf61b90(0x88)](_0x51b41f){const _0x1f0d51=_0xf61b90;if(_0x51b41f===this[_0x1f0d51(0x83)])return;const _0x434b89=this[_0x1f0d51(0xb1)][_0x1f0d51(0x85)][_0x1f0d51(0x90)](_0x2435f1);_0x434b89[_0x1f0d51(0xb3)]=_0x51b41f;const _0x2ca2ea=this[_0x1f0d51(0x83)];this[_0x1f0d51(0x83)]=_0x51b41f,_0x434b89[_0x1f0d51(0xbf)]({'blurredAnnotation':_0x2ca2ea,'activatedAnnotation':this[_0x1f0d51(0x83)]});}[_0xf61b90(0xb9)](_0x19d49c){const _0x4090e7=_0xf61b90;this[_0x4090e7(0xa6)]=_0x19d49c;const _0x39e976=this[_0x4090e7(0xb1)][_0x4090e7(0x85)][_0x4090e7(0x90)](_0x2435f1);if(_0x39e976[_0x4090e7(0xbd)]=_0x19d49c,this[_0x4090e7(0xb6)])throw new _0x2ff61c(_0x4090e7(0x8b),this);this[_0x4090e7(0xb6)]=!0x0,this[_0x4090e7(0xba)](_0x39e976,_0x4090e7(0xab),()=>{const _0x1ffb0b=_0x4090e7;this[_0x1ffb0b(0xad)](),this[_0x1ffb0b(0xba)](_0x39e976,_0x1ffb0b(0x8e),_0x1b94a9=>{const _0x537c45=_0x1ffb0b;_0x1b94a9[_0x537c45(0x93)](),this[_0x537c45(0xb9)](_0x19d49c);});}),_0x39e976[_0x4090e7(0x95)]({'viewClass':_0x4090e7(0xa4)});const _0x4d8ad1=_0x455648=>{const _0x3f9681=_0x4090e7;_0x455648[_0x3f9681(0xb4)](),_0x39e976[_0x3f9681(0x7e)](_0x455648);};for(const _0x45c880 of _0x19d49c)_0x4d8ad1(_0x45c880);this[_0x4090e7(0xba)](_0x19d49c,_0x4090e7(0x82),(_0x545380,_0x45ad2f)=>{_0x4d8ad1(_0x45ad2f);}),this[_0x4090e7(0xba)](_0x19d49c,_0x4090e7(0x91),(_0x5b5535,_0x10d9b8,_0x4ea522)=>{const _0x53b06d=_0x4090e7;_0x39e976[_0x53b06d(0xa7)]({'removedAnnotation':_0x10d9b8,'previousAnnotation':_0x19d49c[_0x53b06d(0x90)](_0x4ea522-0x1),'nextAnnotation':_0x19d49c[_0x53b06d(0x90)](_0x4ea522+0x1)}),_0x10d9b8===this[_0x53b06d(0x83)]&&this[_0x53b06d(0x88)](null);},{'priority':_0x4090e7(0x86)}),this[_0x4090e7(0xba)](_0x19d49c,_0x4090e7(0xb2),(_0x232506,_0x4ea5d7)=>{const _0x170700=_0x4090e7;this[_0x170700(0x88)](_0x4ea5d7);}),this[_0x4090e7(0xba)](_0x19d49c,_0x4090e7(0xaa),()=>{const _0x4c4761=_0x4090e7;this[_0x4c4761(0x88)](null);});const _0x5e7c1e=this[_0x4090e7(0xb1)]instanceof _0x2bb868?this[_0x4090e7(0xb1)][_0x4090e7(0x9b)]:new _0xa108a([this[_0x4090e7(0xb1)]]);for(const _0x11e698 of _0x5e7c1e)this[_0x4090e7(0xa3)](_0x11e698);this[_0x4090e7(0xba)](_0x5e7c1e,_0x4090e7(0x82),(_0x571fe3,_0x3c02b8)=>{const _0x540220=_0x4090e7;this[_0x540220(0xba)](_0x3c02b8,_0x540220(0x80),()=>{const _0x44a7b8=_0x540220;this[_0x44a7b8(0xa3)](_0x3c02b8);});}),this[_0x4090e7(0xba)](_0x5e7c1e,_0x4090e7(0x91),(_0x485a5f,_0x596fba)=>{const _0x34dd7b=_0x4090e7;_0x596fba[_0x34dd7b(0x85)][_0x34dd7b(0xb5)](_0x34dd7b(0x99))&&this[_0x34dd7b(0x94)](_0x596fba[_0x34dd7b(0x85)][_0x34dd7b(0x90)](_0x34dd7b(0x99)));}),window[_0x4090e7(0x8d)](_0x4090e7(0xa8),this[_0x4090e7(0x9a)]),this[_0x4090e7(0xa6)][_0x4090e7(0xa5)]();}[_0xf61b90(0xad)](){const _0x4ae467=_0xf61b90;if(!this[_0x4ae467(0xb6)])throw new _0x2ff61c(_0x4ae467(0xb0),this);this[_0x4ae467(0x88)](null);const _0x5f1fb5=this[_0x4ae467(0xb1)][_0x4ae467(0x85)][_0x4ae467(0x90)](_0x2435f1);_0x5f1fb5[_0x4ae467(0x7d)](this[_0x4ae467(0xa6)]),this[_0x4ae467(0x9c)](_0x5f1fb5),this[_0x4ae467(0x9c)](this[_0x4ae467(0xa6)]),this[_0x4ae467(0xb1)]instanceof _0x2bb868&&this[_0x4ae467(0x9c)](this[_0x4ae467(0xb1)][_0x4ae467(0x9b)]);for(const _0x39ad2b of Array[_0x4ae467(0x89)](this[_0x4ae467(0x9e)]))this[_0x4ae467(0x94)](_0x39ad2b);window[_0x4ae467(0x8f)](_0x4ae467(0xa8),this[_0x4ae467(0x9a)]),this[_0x4ae467(0x9a)][_0x4ae467(0x98)](),this[_0x4ae467(0x83)]=null,this[_0x4ae467(0xb6)]=!0x1,this[_0x4ae467(0xa6)]=null;}[_0xf61b90(0xac)](){const _0x419e4a=_0xf61b90;this[_0x419e4a(0xb6)]&&this[_0x419e4a(0xad)]();}[_0xf61b90(0xa3)](_0x1f976b){const _0x58b788=_0xf61b90;if(!_0x1f976b[_0x58b788(0x85)][_0x58b788(0xb5)](_0x58b788(0x99)))return;const _0x21868c=_0x1f976b[_0x58b788(0x85)][_0x58b788(0x90)](_0x58b788(0x99)),_0x488216=()=>{const _0x5c2ca5=_0x58b788,_0x50b043=_0x21868c[_0x5c2ca5(0xb8)]({'annotations':this[_0x5c2ca5(0xa6)],'activeAnnotation':this[_0x5c2ca5(0x83)]});this[_0x5c2ca5(0x88)](_0x50b043[0x0]||null);};this[_0x58b788(0xba)](_0x21868c,_0x58b788(0xbf),_0x488216),this[_0x58b788(0xba)](_0x21868c,_0x58b788(0xaa),(_0x1f10c1,{isAnnotationTracked:_0x326dde})=>{const _0x142927=_0x58b788;this[_0x142927(0x83)]&&_0x326dde(this[_0x142927(0x83)])&&this[_0x142927(0x88)](null);}),this[_0x58b788(0xba)](_0x21868c,_0x58b788(0x92),()=>{const _0x51f152=_0x58b788;this[_0x51f152(0x9a)]();}),this[_0x58b788(0xba)](this[_0x58b788(0xa6)],_0x58b788(0xaa),_0x21cc7e=>{const _0x2fce5e=_0x58b788;_0x21868c[_0x2fce5e(0xae)]()&&(_0x488216(),_0x21cc7e[_0x2fce5e(0x8c)]());},{'priority':_0x58b788(0x86)}),this[_0x58b788(0x9e)][_0x58b788(0x82)](_0x21868c);}[_0xf61b90(0x94)](_0x3f8031){const _0x36a457=_0xf61b90;this[_0x36a457(0x9c)](_0x3f8031),this[_0x36a457(0x9e)][_0x36a457(0x91)](_0x3f8031);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e0ae5=_0x5ca5;(function(_0x400dd9,_0x33a2c4){const _0x320f0c=_0x5ca5,_0xffee7c=_0x400dd9();while(!![]){try{const _0x1a66d2=parseInt(_0x320f0c(0x116))/0x1*(parseInt(_0x320f0c(0x123))/0x2)+-parseInt(_0x320f0c(0x115))/0x3*(-parseInt(_0x320f0c(0x12a))/0x4)+parseInt(_0x320f0c(0x127))/0x5*(parseInt(_0x320f0c(0x132))/0x6)+parseInt(_0x320f0c(0x117))/0x7*(-parseInt(_0x320f0c(0x128))/0x8)+parseInt(_0x320f0c(0x119))/0x9+parseInt(_0x320f0c(0x126))/0xa+-parseInt(_0x320f0c(0x137))/0xb*(parseInt(_0x320f0c(0x11f))/0xc);if(_0x1a66d2===_0x33a2c4)break;else _0xffee7c['push'](_0xffee7c['shift']());}catch(_0x2a52f6){_0xffee7c['push'](_0xffee7c['shift']());}}}(_0x34d9,0xe3ca7));import{Command as _0x39f462}from'ckeditor5/src/core.js';import{uid as _0xa45483}from'ckeditor5/src/utils.js';export default class J extends _0x39f462{[_0x5e0ae5(0x122)](){const _0x367660=_0x5e0ae5,_0x5e2df7=this[_0x367660(0x12b)][_0x367660(0x113)][_0x367660(0x124)][_0x367660(0x121)];for(const _0x356a5c of _0x5e2df7[_0x367660(0x12d)]())if(this[_0x367660(0x129)](_0x356a5c))return void(this[_0x367660(0x111)]=!0x0);this[_0x367660(0x111)]=!0x1;}[_0x5e0ae5(0x118)]({threadId:_0x534e4d=_0xa45483()}={}){const _0x528d0e=_0x5e0ae5,_0x19721e=this[_0x528d0e(0x12b)][_0x528d0e(0x113)],_0x547dfd=[];for(const _0x587672 of _0x19721e[_0x528d0e(0x124)][_0x528d0e(0x121)][_0x528d0e(0x12d)]())this[_0x528d0e(0x129)](_0x587672)&&_0x547dfd[_0x528d0e(0x131)](this[_0x528d0e(0x134)](_0x587672));_0x19721e[_0x528d0e(0x11a)](_0x5758f4=>{const _0x2caa65=_0x528d0e;for(const _0x5e2931 of _0x547dfd){const _0x2c613c=_0xa45483()[_0x2caa65(0x114)](0x1,0x5),_0x3829c3=_0x2caa65(0x110)+_0x534e4d+':'+_0x2c613c;_0x5758f4[_0x2caa65(0x12c)](_0x3829c3,{'range':_0x5e2931,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x5e0ae5(0x129)](_0x593df9){const _0x305dab=_0x5e0ae5;for(const _0x7cfad0 of _0x593df9[_0x305dab(0x12e)]())if(this[_0x305dab(0x130)](_0x7cfad0))return!0x0;return!0x1;}[_0x5e0ae5(0x130)](_0x5bcc45){const _0x458172=_0x5e0ae5;return _0x5bcc45['is'](_0x458172(0x11b))||this[_0x458172(0x12b)][_0x458172(0x113)][_0x458172(0x11c)][_0x458172(0x133)](_0x5bcc45)&&!_0x5bcc45['is'](_0x458172(0x11d),_0x458172(0x135));}[_0x5e0ae5(0x134)](_0x511f4b){const _0xf918d9=_0x5e0ae5,_0x5a0ae7=_0xfcad28=>!this[_0xf918d9(0x130)](_0xfcad28[_0xf918d9(0x112)]),_0x5ca505=_0x511f4b[_0xf918d9(0x125)][_0xf918d9(0x12f)](_0x5a0ae7),_0x563aa2=_0x511f4b[_0xf918d9(0x120)][_0xf918d9(0x12f)](_0x5a0ae7,{'direction':_0xf918d9(0x11e)});return this[_0xf918d9(0x12b)][_0xf918d9(0x113)][_0xf918d9(0x136)](_0x5ca505,_0x563aa2);}}function _0x5ca5(_0x43d70f,_0x2a4345){const _0x34d9f5=_0x34d9();return _0x5ca5=function(_0x5ca5bf,_0x5c5911){_0x5ca5bf=_0x5ca5bf-0x110;let _0x3da6f3=_0x34d9f5[_0x5ca5bf];return _0x3da6f3;},_0x5ca5(_0x43d70f,_0x2a4345);}function _0x34d9(){const _0x4733a1=['_itemIsContent','push','27828fYPzlt','isObject','_trimToContent','tableCell','createRange','34771OcCLSK','comment:','isEnabled','item','model','substr','3JbJkJe','10dTAERc','7EWZZdS','execute','3639447hDtuDR','change','$textProxy','schema','element','backward','4188ijUpZK','end','selection','refresh','4846mpXRsc','document','start','11147320SabPwm','745tDxmhb','10514344wdPRWJ','_hasContent','4464424ccknLc','editor','addMarker','getRanges','getItems','getLastMatchingPosition'];_0x34d9=function(){return _0x4733a1;};return _0x34d9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x28b6(_0x3eaf38,_0x53d911){const _0x50f017=_0x50f0();return _0x28b6=function(_0x28b690,_0x1c3e2c){_0x28b690=_0x28b690-0x117;let _0x17b37b=_0x50f017[_0x28b690];return _0x17b37b;},_0x28b6(_0x3eaf38,_0x53d911);}const _0x185c2c=_0x28b6;(function(_0x336651,_0x259c37){const _0x10376e=_0x28b6,_0x525e95=_0x336651();while(!![]){try{const _0xc1ca86=parseInt(_0x10376e(0x128))/0x1+parseInt(_0x10376e(0x127))/0x2+-parseInt(_0x10376e(0x137))/0x3+-parseInt(_0x10376e(0x129))/0x4*(parseInt(_0x10376e(0x123))/0x5)+-parseInt(_0x10376e(0x118))/0x6*(parseInt(_0x10376e(0x135))/0x7)+-parseInt(_0x10376e(0x130))/0x8*(parseInt(_0x10376e(0x132))/0x9)+parseInt(_0x10376e(0x11f))/0xa;if(_0xc1ca86===_0x259c37)break;else _0x525e95['push'](_0x525e95['shift']());}catch(_0x3c5d40){_0x525e95['push'](_0x525e95['shift']());}}}(_0x50f0,0x5318e));import{ContextPlugin as _0x3bb9f8}from'ckeditor5/src/core.js';import{Collection as _0x5962d4}from'ckeditor5/src/utils.js';import _0x3d936b from'./commentsrepository.js';import _0x405bd8 from'../annotations/annotations.js';function _0x50f0(){const _0x3d2071=['stopListening','remove','archivedThreads','findIndex','329240NihPNP','removeCommentThread','45oLHAyF','archivedAt','length','5789yGGYnA','pluginName','203955KNEMPU','get','collection','getCommentThread','highest','listenTo','4722IrCNJM','addCommentThread','CommentsArchive','requires','change:archivedAt','focus','isActive','12765020wJUMKK','plugins','context','isVisible','74325AUlgsj','add','_calculatePosition','activate','723848XUJvXm','57634WrmPYg','116enzPgi','init','has'];_0x50f0=function(){return _0x3d2071;};return _0x50f0();}export default class p extends _0x3bb9f8{static get[_0x185c2c(0x136)](){const _0x3dc335=_0x185c2c;return _0x3dc335(0x11a);}static get[_0x185c2c(0x11b)](){return[_0x3d936b,_0x405bd8];}constructor(_0x513c3f){const _0x21ee18=_0x185c2c;super(_0x513c3f),this[_0x21ee18(0x12e)]=new _0x5962d4();}[_0x185c2c(0x12a)](){const _0x7ddf75=_0x185c2c,_0x439d56=this[_0x7ddf75(0x121)],_0x241066=_0x439d56[_0x7ddf75(0x120)][_0x7ddf75(0x138)](_0x3d936b),_0x5646c7=_0x439d56[_0x7ddf75(0x120)][_0x7ddf75(0x138)](_0x405bd8);this[_0x7ddf75(0x117)](_0x241066,_0x7ddf75(0x119),(_0x2d6c5a,{threadId:_0x1ea2d2})=>{const _0x3adaf4=_0x7ddf75,_0x328785=_0x241066[_0x3adaf4(0x13a)](_0x1ea2d2);_0x328785[_0x3adaf4(0x133)]&&this[_0x3adaf4(0x12e)][_0x3adaf4(0x124)](_0x328785,this[_0x3adaf4(0x125)](_0x328785[_0x3adaf4(0x133)])),this[_0x3adaf4(0x117)](_0x328785,_0x3adaf4(0x11c),(_0x1a3e5a,_0x607379,_0x15f7d4)=>{const _0x17f4ee=_0x3adaf4;_0x15f7d4?this[_0x17f4ee(0x12e)][_0x17f4ee(0x12b)](_0x328785)||this[_0x17f4ee(0x12e)][_0x17f4ee(0x124)](_0x328785,this[_0x17f4ee(0x125)](_0x328785[_0x17f4ee(0x133)])):this[_0x17f4ee(0x12e)][_0x17f4ee(0x12b)](_0x328785)&&this[_0x17f4ee(0x12e)][_0x17f4ee(0x12d)](_0x328785);});}),this[_0x7ddf75(0x117)](_0x241066,_0x7ddf75(0x131),(_0x54b53f,{threadId:_0x5d3def})=>{const _0x4a7458=_0x7ddf75,_0x345cf1=_0x241066[_0x4a7458(0x13a)](_0x5d3def);this[_0x4a7458(0x12c)](_0x345cf1),this[_0x4a7458(0x12e)][_0x4a7458(0x12b)](_0x345cf1)&&this[_0x4a7458(0x12e)][_0x4a7458(0x12d)](_0x345cf1);},{'priority':_0x7ddf75(0x13b)}),this[_0x7ddf75(0x117)](_0x5646c7[_0x7ddf75(0x139)],_0x7ddf75(0x11d),(_0x48e5ee,_0x134f16)=>{const _0x21248f=_0x7ddf75;_0x134f16[_0x21248f(0x122)]||(_0x134f16[_0x21248f(0x11e)]=!0x0,_0x5646c7[_0x21248f(0x126)](_0x134f16));});}[_0x185c2c(0x125)](_0x43ddf2){const _0x3e6443=_0x185c2c,_0x229eda=[...this[_0x3e6443(0x12e)]][_0x3e6443(0x12f)](_0x1a0553=>_0x1a0553[_0x3e6443(0x133)]<_0x43ddf2);return _0x229eda>-0x1?_0x229eda:this[_0x3e6443(0x12e)][_0x3e6443(0x134)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d8c35=_0x2a58;(function(_0x5b40eb,_0x5d8d83){const _0x19aa5a=_0x2a58,_0x463e48=_0x5b40eb();while(!![]){try{const _0xcf4eae=-parseInt(_0x19aa5a(0x127))/0x1*(parseInt(_0x19aa5a(0x129))/0x2)+-parseInt(_0x19aa5a(0x126))/0x3*(-parseInt(_0x19aa5a(0x14c))/0x4)+-parseInt(_0x19aa5a(0x138))/0x5*(-parseInt(_0x19aa5a(0x132))/0x6)+-parseInt(_0x19aa5a(0x130))/0x7*(parseInt(_0x19aa5a(0x123))/0x8)+parseInt(_0x19aa5a(0x120))/0x9+parseInt(_0x19aa5a(0x128))/0xa*(parseInt(_0x19aa5a(0x162))/0xb)+-parseInt(_0x19aa5a(0x13b))/0xc;if(_0xcf4eae===_0x5d8d83)break;else _0x463e48['push'](_0x463e48['shift']());}catch(_0x1f130b){_0x463e48['push'](_0x463e48['shift']());}}}(_0xdb15,0x69515));function _0x2a58(_0x5e2223,_0x43e5ba){const _0xdb1556=_0xdb15();return _0x2a58=function(_0x2a586b,_0x595372){_0x2a586b=_0x2a586b-0x11e;let _0x2d05b1=_0xdb1556[_0x2a586b];return _0x2d05b1;},_0x2a58(_0x5e2223,_0x43e5ba);}import'../../theme/commentsarchive.css';import{Plugin as _0x227aac}from'ckeditor5/src/core.js';function _0xdb15(){const _0x14828a=['componentFactory','listenTo','COMMENTS_ARCHIVE','commentsArchiveView','plugins','_pendingThreads','isEnabled','indexOf','1429124NnLNhe','set','isVisible','collaboration.channelId','init','annotationViews','_visibleAnnotations','_toggleDialog','locale','execute','view','bind','EDITOR_TOP_SIDE','focusableElements','splice','findIndex','_threadToController','add','getByInnerView','archivedThreads','isOpen','isOn','63184ihDvRO','innerView','menuBar:commentsArchive','Annotations','2203137kbwSTS','show','commentsArchive','117048bDuQVe','archivedAt','push','6IatbQM','1kprcvI','200iHugnE','668222JKFyjq','channelId','tooltip','get','_calculatePosition','_createCommentsArchiveButton','CommentsRepository','63yrYzpK','find','76674hMpLDr','collection','requires','remove','pluginName','CommentsArchiveUI','330WHDKve','config','menuitemcheckbox','12245736geHzWC','Dialog','editor','stopListening','escapeThread','filter','length','hide','getCommentThread'];_0xdb15=function(){return _0x14828a;};return _0xdb15();}import{ViewCollection as _0x488063,MenuBarMenuListItemButtonView as _0xdcce11,ButtonView as _0x14d349,Dialog as _0x53c526,DialogViewPosition as _0x5c8a01}from'ckeditor5/src/ui.js';import _0x531d4a from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x2f9a95}from'../utils/common-translations.js';import _0x3015db from'./ui/view/commentsarchiveview.js';import _0x359243 from'./commentsarchive.js';export default class a extends _0x227aac{static get[_0x2d8c35(0x136)](){const _0x5f10f4=_0x2d8c35;return _0x5f10f4(0x137);}static get[_0x2d8c35(0x134)](){return[_0x359243,_0x53c526];}constructor(_0x17853c){const _0x4a1a6b=_0x2d8c35;super(_0x17853c),this[_0x4a1a6b(0x151)]=new _0x488063(),this[_0x4a1a6b(0x149)]=[];}[_0x2d8c35(0x150)](){const _0xfaec53=_0x2d8c35,_0x67f8fd=this[_0xfaec53(0x13d)];_0x67f8fd['ui'][_0xfaec53(0x144)][_0xfaec53(0x15d)](_0xfaec53(0x122),()=>this[_0xfaec53(0x12e)](_0x14d349,!0x0)),_0x67f8fd['ui'][_0xfaec53(0x144)][_0xfaec53(0x15d)](_0xfaec53(0x11e),()=>{const _0x2897cd=_0xfaec53,_0xbd18ed=this[_0x2897cd(0x12e)](_0xdcce11);return _0xbd18ed[_0x2897cd(0x14d)]({'role':_0x2897cd(0x13a)}),_0xbd18ed;});const _0x180ee6=_0x67f8fd[_0xfaec53(0x148)][_0xfaec53(0x12c)](_0x359243),_0x8aa5a4=_0x67f8fd[_0xfaec53(0x148)][_0xfaec53(0x12c)](_0xfaec53(0x11f)),_0x54ef2f=_0x67f8fd[_0xfaec53(0x148)][_0xfaec53(0x12c)](_0xfaec53(0x12f));this[_0xfaec53(0x145)](_0x180ee6[_0xfaec53(0x15f)],_0xfaec53(0x15d),(_0xfd13a7,_0x11e9b4)=>{const _0x17fca1=_0xfaec53,_0x103d65=_0x67f8fd[_0x17fca1(0x139)][_0x17fca1(0x12c)](_0x17fca1(0x14f));if(!_0x103d65||_0x11e9b4[_0x17fca1(0x12a)]===_0x103d65){const _0x23d32d=_0x54ef2f[_0x17fca1(0x15c)][_0x17fca1(0x12c)](_0x11e9b4);if(!_0x23d32d)return void this[_0x17fca1(0x149)][_0x17fca1(0x125)](_0x11e9b4);const _0x9db357=this[_0x17fca1(0x12d)](_0x11e9b4[_0x17fca1(0x124)]),_0x19991d=_0x8aa5a4[_0x17fca1(0x15e)](_0x23d32d[_0x17fca1(0x156)]);_0x19991d[_0x17fca1(0x14e)]&&_0x8aa5a4[_0x17fca1(0x152)][_0x17fca1(0x135)](_0x19991d),this[_0x17fca1(0x151)][_0x17fca1(0x15d)](_0x19991d[_0x17fca1(0x156)],_0x9db357);}}),this[_0xfaec53(0x145)](_0x8aa5a4[_0xfaec53(0x133)],_0xfaec53(0x15d),(_0x3db2af,_0x3c1a3c)=>{const _0x2074b5=_0xfaec53,_0x5a9560=this[_0x2074b5(0x149)][_0x2074b5(0x131)](_0x2ed216=>{const _0xfc0391=_0x2074b5,_0xfe2687=_0x54ef2f[_0xfc0391(0x15c)][_0xfc0391(0x12c)](_0x2ed216);return _0xfe2687&&_0x3c1a3c[_0xfc0391(0x163)]===_0xfe2687[_0xfc0391(0x156)];});if(_0x5a9560){const _0x5b6d52=this[_0x2074b5(0x12d)](_0x5a9560[_0x2074b5(0x124)]);this[_0x2074b5(0x151)][_0x2074b5(0x15d)](_0x3c1a3c[_0x2074b5(0x156)],_0x5b6d52),this[_0x2074b5(0x149)][_0x2074b5(0x15a)](this[_0x2074b5(0x149)][_0x2074b5(0x14b)](_0x5a9560),0x1);}}),this[_0xfaec53(0x145)](_0x180ee6[_0xfaec53(0x15f)],_0xfaec53(0x135),(_0xc3e08,_0x4a23db)=>{const _0x29b212=_0xfaec53,_0x5c69b8=_0x67f8fd[_0x29b212(0x139)][_0x29b212(0x12c)](_0x29b212(0x14f));if(!_0x5c69b8||_0x4a23db[_0x29b212(0x12a)]===_0x5c69b8){const _0x39fa91=_0x54ef2f[_0x29b212(0x15c)][_0x29b212(0x12c)](_0x4a23db),_0x566eea=_0x8aa5a4[_0x29b212(0x15e)](_0x39fa91[_0x29b212(0x156)]);this[_0x29b212(0x151)][_0x29b212(0x135)](_0x566eea[_0x29b212(0x156)]),this[_0x29b212(0x13e)](_0x566eea[_0x29b212(0x159)]);}}),this[_0xfaec53(0x145)](_0x54ef2f,_0xfaec53(0x13f),(_0x24b68e,{threadId:_0x132798,channelId:_0x2708c7})=>{const _0x3f4f58=_0xfaec53;if(_0x2708c7!==_0x67f8fd[_0x3f4f58(0x139)][_0x3f4f58(0x12c)](_0x3f4f58(0x14f)))return;if(!_0x54ef2f[_0x3f4f58(0x143)](_0x132798)[_0x3f4f58(0x124)])return;const _0x3a74cc=_0x67f8fd[_0x3f4f58(0x148)][_0x3f4f58(0x12c)](_0x3f4f58(0x13c));_0x3a74cc[_0x3f4f58(0x160)]&&_0x3f4f58(0x122)===_0x3a74cc['id']&&_0x3a74cc[_0x3f4f58(0x142)]();});}[_0x2d8c35(0x12d)](_0x428dac){const _0x5a61ca=_0x2d8c35,_0x109d56=this[_0x5a61ca(0x13d)][_0x5a61ca(0x139)][_0x5a61ca(0x12c)](_0x5a61ca(0x14f)),_0x111a18=[...this[_0x5a61ca(0x13d)][_0x5a61ca(0x148)][_0x5a61ca(0x12c)](_0x359243)[_0x5a61ca(0x15f)]][_0x5a61ca(0x140)](_0x1dd097=>_0x1dd097[_0x5a61ca(0x12a)]===_0x109d56)[_0x5a61ca(0x15b)](_0x2c3839=>_0x2c3839[_0x5a61ca(0x124)]<_0x428dac);return _0x111a18<0x0||_0x111a18>this[_0x5a61ca(0x151)][_0x5a61ca(0x141)]?this[_0x5a61ca(0x151)][_0x5a61ca(0x141)]:_0x111a18-0x1;}[_0x2d8c35(0x153)](){const _0x3b71c1=_0x2d8c35,_0x51aab1=this[_0x3b71c1(0x13d)],_0x21a127=_0x51aab1[_0x3b71c1(0x148)][_0x3b71c1(0x12c)](_0x3b71c1(0x13c));this[_0x3b71c1(0x147)]||(this[_0x3b71c1(0x147)]=new _0x3015db(_0x51aab1[_0x3b71c1(0x154)],this[_0x3b71c1(0x151)])),_0x3b71c1(0x122)===_0x21a127['id']?_0x21a127[_0x3b71c1(0x142)]():_0x21a127[_0x3b71c1(0x121)]({'id':_0x3b71c1(0x122),'title':_0x2f9a95(_0x51aab1[_0x3b71c1(0x154)],_0x3b71c1(0x146)),'icon':_0x531d4a,'hasCloseButton':!0x0,'content':this[_0x3b71c1(0x147)],'position':_0x5c8a01[_0x3b71c1(0x158)]});}[_0x2d8c35(0x12e)](_0x47b40d,_0x3f8775=!0x1){const _0x4a81ba=_0x2d8c35,_0x24fd55=this[_0x4a81ba(0x13d)][_0x4a81ba(0x154)],_0x2c8f56=this[_0x4a81ba(0x13d)][_0x4a81ba(0x148)][_0x4a81ba(0x12c)](_0x4a81ba(0x13c)),_0x2859a1=new _0x47b40d(_0x24fd55);return _0x2859a1[_0x4a81ba(0x157)](_0x4a81ba(0x14a))['to'](this,_0x4a81ba(0x14a)),_0x2859a1[_0x4a81ba(0x157)](_0x4a81ba(0x161))['to'](_0x2c8f56,'id',_0x5c7946=>_0x4a81ba(0x122)===_0x5c7946),_0x2859a1[_0x4a81ba(0x14d)]({'label':_0x2f9a95(_0x24fd55,_0x4a81ba(0x146)),'icon':_0x531d4a,'isToggleable':!0x0}),_0x3f8775&&(_0x2859a1[_0x4a81ba(0x12b)]=!0x0),this[_0x4a81ba(0x145)](_0x2859a1,_0x4a81ba(0x155),()=>this[_0x4a81ba(0x153)]()),_0x2859a1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xb61f6f=_0x4832;(function(_0xf5338,_0x1b649c){const _0x5e89f9=_0x4832,_0x4a7f9e=_0xf5338();while(!![]){try{const _0x1e5b43=parseInt(_0x5e89f9(0x165))/0x1+parseInt(_0x5e89f9(0x19e))/0x2*(-parseInt(_0x5e89f9(0x19d))/0x3)+-parseInt(_0x5e89f9(0x17d))/0x4*(-parseInt(_0x5e89f9(0x181))/0x5)+parseInt(_0x5e89f9(0x1d4))/0x6+-parseInt(_0x5e89f9(0x14b))/0x7+-parseInt(_0x5e89f9(0x188))/0x8+parseInt(_0x5e89f9(0x170))/0x9;if(_0x1e5b43===_0x1b649c)break;else _0x4a7f9e['push'](_0x4a7f9e['shift']());}catch(_0x5a3f6c){_0x4a7f9e['push'](_0x4a7f9e['shift']());}}}(_0x4710,0xf180f));import{Plugin as _0x57316d}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x576441,scrollViewportToShowTarget as _0x25d477}from'ckeditor5/src/utils.js';import _0x478f78 from'./commentsrepository.js';import _0x4b197d from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x53f23d,getAllMarkersDomElementsSorted as _0x2b374a,ENTER_THREAD_KEYSTROKE as _0x4f4269}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x25f9cd from'../annotations/editorannotations.js';function _0x4832(_0x83d86f,_0x24124f){const _0x471016=_0x4710();return _0x4832=function(_0x4832fd,_0x57c7a5){_0x4832fd=_0x4832fd-0x14b;let _0x5d82c3=_0x471016[_0x4832fd];return _0x5d82c3;},_0x4832(_0x83d86f,_0x24124f);}import _0x2f04fd from'./integrations/commentsrestrictededitingmode.js';import _0x22f61a from'./integrations/importword.js';import _0x57702a from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x1da73e from'../annotations/annotations.js';import{getTranslation as _0x5922bc}from'../utils/common-translations.js';function _0x4710(){const _0x3d962b=['split','rootName','conversion','document','pluginName','push','collaboration.channelId','_initAriaMarkerChangeAnnouncements','getCommentThread','ignoreResolvedComments','editingDowncast','registerAnnotation','isResolved','_initializeMarkerConverters','createPositionBefore','addCommentThread','isObject','change','ready','model','_threads','announce','updateMarker','getAllMarkersForId','dataDowncast','differ','getCommentThreads','comment:','then','markers','markerToHighlight','dataToMarker','clear','removeMarker','4145706zZkkzj','destroy','add','state','$marker','newRange','schema','_handleMarkerAddAndRemove','hasDomSelection','enqueueChange','ck-comment-marker--active','2167704zUCGQA','addComment','activeMarker','name','get','change:isThreadsLoadingPaused','switchReadOnly','getRange','elementToElement','refreshVisibility','createElement','removeMarker:','substring','end','markerName','registerPostFixer','fetchCommentThread','$graveyard','isAttached','openNewCommentThread','view','getItems','LEAVE_COMMENT_ANNOUNCEMENT','_attachArchivedThread','root','reopenCommentThread','519270lCUoUY','change:activeMarker','_reconvertMarkers','set','resolveCommentThread','editing','comment','delete','for','destroyed','data','22484295mGqWCP','getByInnerView','isThreadsLoadingPaused','once','attachTo','$textProxy','_detachCommentThread','low','commands','_getTargetForId','text','scrollToThreadMarker','setUnlinkedAt','664540QKHcys','consumable','affectsData','_threadToController','10xuIRnK','setContext','start','requires','reconvertMarker','markerToData','item','14189152nGSDXq','ENTER_COMMENT_ANNOUNCEMENT','from','length','getWalker','init','config','isLocal','context','_attachMarkerToThread','locale','focus','editor','hasMarkerForId','ck-comment-marker','change:isReadOnly','unlinkedAt','addMarker:','isEqual','group','plugins','32637ExUswo','178dVSsjY','hasContent','ariaLiveAnnouncer','render','upcast','isCollapsed','hasCommentThread','getAttribute','createRange','_handleThreadMarker','listenTo','_hasTargetInContent','getChangedMarkers','CommentsEditing','removeCommentThread','consume','managedUsingOperations','_getTextContext','startsWith','size'];_0x4710=function(){return _0x3d962b;};return _0x4710();}export default class r extends _0x57316d{static get[_0xb61f6f(0x184)](){return[_0x478f78,_0x25f9cd,_0x2f04fd,_0x22f61a,_0x57702a];}static get[_0xb61f6f(0x1b6)](){const _0x10e122=_0xb61f6f;return _0x10e122(0x1ab);}constructor(_0x66542a){const _0x4e48a6=_0xb61f6f;super(_0x66542a),this[_0x4e48a6(0x168)](_0x4e48a6(0x172),!0x0),_0x66542a[_0x4e48a6(0x16f)][_0x4e48a6(0x173)](_0x4e48a6(0x1c4),()=>this[_0x4e48a6(0x172)]=!0x1),this[_0x4e48a6(0x168)](_0x4e48a6(0x14d),null),this['on'](_0x4e48a6(0x166),(_0x37a2e2,_0x3391e9,_0x57247d,_0x2205c8)=>{const _0x1953c2=_0x4e48a6,_0x5b1d5f=_0x57247d?splitMarkerName(_0x57247d)['id']:null;if(_0x66542a[_0x1953c2(0x1c5)][_0x1953c2(0x1c3)](()=>{const _0x2a546a=_0x1953c2;if(_0x5b1d5f){const _0x203443=this[_0x2a546a(0x1c9)](_0x5b1d5f);for(const _0x34828d of _0x203443)_0x66542a[_0x2a546a(0x16a)][_0x2a546a(0x185)](_0x34828d);}if(_0x2205c8){const {id:_0x4fd06f}=splitMarkerName(_0x2205c8),_0x5ce2f9=this[_0x2a546a(0x1c9)](_0x4fd06f);for(const _0x5453b7 of _0x5ce2f9)_0x66542a[_0x2a546a(0x16a)][_0x2a546a(0x185)](_0x5453b7);}}),_0x5b1d5f){const _0x4a446a=_0x66542a[_0x1953c2(0x19c)][_0x1953c2(0x14f)](_0x478f78)[_0x1953c2(0x1ba)](_0x5b1d5f);_0x4a446a&&_0x4a446a[_0x1953c2(0x1be)]&&this[_0x1953c2(0x17b)](_0x5b1d5f);}}),this[_0x4e48a6(0x1b9)]();}[_0xb61f6f(0x18d)](){const _0x1e280f=_0xb61f6f,_0x2e4803=this[_0x1e280f(0x194)],_0x4c950e=_0x2e4803[_0x1e280f(0x19c)][_0x1e280f(0x14f)](_0x478f78),_0x345451=_0x2e4803[_0x1e280f(0x18e)][_0x1e280f(0x14f)](_0x1e280f(0x1b8));_0x2e4803[_0x1e280f(0x178)][_0x1e280f(0x1d6)](_0x1e280f(0x1c1),new _0x4b197d(_0x2e4803)),this[_0x1e280f(0x1a8)](_0x2e4803,_0x1e280f(0x197),(_0x10a962,_0x4e7ad2,_0xf27105)=>{const _0x126c8f=_0x1e280f;_0x4c950e[_0x126c8f(0x151)](_0xf27105,_0x2e4803[_0x126c8f(0x18e)][_0x126c8f(0x14f)](_0x126c8f(0x1b8)));}),this[_0x1e280f(0x1a8)](_0x4c950e,at(_0x1e280f(0x1c1),_0x345451),(_0x56fcfe,{threadId:_0x4735c6})=>{const _0x2917a6=_0x1e280f,_0x1db8ea=this[_0x2917a6(0x194)][_0x2917a6(0x19c)][_0x2917a6(0x14f)](_0x478f78)[_0x2917a6(0x1ba)](_0x4735c6);_0x1db8ea&&_0x1db8ea[_0x2917a6(0x198)]&&this[_0x2917a6(0x162)](_0x4735c6);}),this[_0x1e280f(0x1a8)](_0x4c950e,at(_0x1e280f(0x1ac),_0x345451),(_0x57d8f,{threadId:_0x5d7d77})=>{const _0x1e409a=_0x1e280f;_0x2e4803[_0x1e409a(0x1c5)][_0x1e409a(0x1dd)]({'isUndoable':!0x1},_0x414a04=>{const _0x150dcf=_0x1e409a,_0x23cd56=this[_0x150dcf(0x1c9)](_0x5d7d77);for(const _0x37870b of _0x23cd56)_0x414a04[_0x150dcf(0x1d3)](_0x37870b);});}),this[_0x1e280f(0x1a8)](_0x4c950e,at(_0x1e280f(0x169),_0x345451),(_0x4c1c25,{threadId:_0x23ffbd})=>{const _0x2488c1=_0x1e280f;(this[_0x2488c1(0x167)](_0x23ffbd),this[_0x2488c1(0x194)][_0x2488c1(0x16a)][_0x2488c1(0x15f)][_0x2488c1(0x1dc)])&&(this[_0x2488c1(0x194)][_0x2488c1(0x19c)][_0x2488c1(0x14f)](_0x478f78)[_0x2488c1(0x1ba)](_0x23ffbd)[_0x2488c1(0x198)]||this[_0x2488c1(0x194)][_0x2488c1(0x16a)][_0x2488c1(0x15f)][_0x2488c1(0x193)]());},{'priority':_0x1e280f(0x177)}),this[_0x1e280f(0x1a8)](_0x4c950e,at(_0x1e280f(0x164),_0x345451),(_0x483ad5,{threadId:_0xb6252a})=>{const _0xe026ed=_0x1e280f;this[_0xe026ed(0x167)](_0xb6252a);},{'priority':_0x1e280f(0x177)}),this[_0x1e280f(0x1a8)](_0x4c950e,at(_0x1e280f(0x14c),_0x345451),(_0x2c9665,{threadId:_0x2f1eea,isFromAdapter:_0x115243})=>{const _0x3e485f=_0x1e280f,_0x44ba62=this[_0x3e485f(0x1c9)](_0x2f1eea);if(_0x115243||0x0==_0x44ba62[_0x3e485f(0x18b)]||!_0x4c950e[_0x3e485f(0x1a4)](_0x2f1eea))return;0x1===_0x4c950e[_0x3e485f(0x1ba)](_0x2f1eea)[_0x3e485f(0x18b)]&&_0x2e4803[_0x3e485f(0x1c5)][_0x3e485f(0x1dd)]({'isUndoable':!0x1},_0x296222=>{const _0x1a787b=_0x3e485f;for(const _0x49fdfb of _0x44ba62)_0x296222[_0x1a787b(0x1c8)](_0x49fdfb,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x1e280f(0x177)}),this[_0x1e280f(0x1bf)](),this[_0x1e280f(0x1db)]();}[_0xb61f6f(0x1d5)](){const _0x4564af=_0xb61f6f,_0xb5a509=this[_0x4564af(0x194)][_0x4564af(0x19c)][_0x4564af(0x14f)](_0x478f78),_0x40d441=this[_0x4564af(0x194)][_0x4564af(0x18e)][_0x4564af(0x14f)](_0x4564af(0x1b8));for(const _0x3c7cfb of _0xb5a509[_0x4564af(0x1cc)]({'channelId':_0x40d441}))_0xb5a509[_0x4564af(0x176)](_0x3c7cfb['id']),_0xb5a509[_0x4564af(0x1c6)][_0x4564af(0x16c)](_0x3c7cfb['id']);super[_0x4564af(0x1d5)]();}[_0xb61f6f(0x195)](_0x2a7fc5){const _0xe8e62c=_0xb61f6f;return this[_0xe8e62c(0x1c9)](_0x2a7fc5)[_0xe8e62c(0x18b)]>0x0;}[_0xb61f6f(0x1c9)](_0x4db516){const _0x224cfd=_0xb61f6f,_0x2c44d7=[];for(const _0x21cb3e of this[_0x224cfd(0x194)][_0x224cfd(0x1c5)][_0x224cfd(0x1cf)])_0x21cb3e[_0x224cfd(0x14e)][_0x224cfd(0x1b0)](_0x224cfd(0x1cd)+_0x4db516)&&_0x2c44d7[_0x224cfd(0x1b7)](_0x21cb3e);return _0x2c44d7;}[_0xb61f6f(0x17b)](_0x48a253){const _0x1d5fb3=_0xb61f6f,_0x39b4f5=this[_0x1d5fb3(0x179)](_0x48a253);_0x39b4f5&&setTimeout(()=>{const _0x117b8b=_0x1d5fb3;this[_0x117b8b(0x14d)]&&splitMarkerName(this[_0x117b8b(0x14d)])['id']===_0x48a253&&_0x25d477({'target':_0x39b4f5[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0xb61f6f(0x167)](_0x3ac522){const _0x154043=_0xb61f6f;this[_0x154043(0x194)][_0x154043(0x1c5)][_0x154043(0x1c3)](()=>{const _0x557943=_0x154043;for(const _0x4c2ff0 of this[_0x557943(0x1c9)](_0x3ac522))this[_0x557943(0x194)][_0x557943(0x16a)][_0x557943(0x185)](_0x4c2ff0);});}[_0xb61f6f(0x162)](_0x2d8de3){const _0x1fec71=_0xb61f6f,_0x2bb6b2=this[_0x1fec71(0x194)][_0x1fec71(0x19c)][_0x1fec71(0x14f)](_0x478f78),_0x51768c=this[_0x1fec71(0x194)][_0x1fec71(0x19c)][_0x1fec71(0x14f)](_0x25f9cd),_0x168da3=_0x2bb6b2[_0x1fec71(0x1ba)](_0x2d8de3);if(!_0x168da3[_0x1fec71(0x15d)]){const _0x236220=_0x168da3[_0x1fec71(0x174)](()=>this[_0x1fec71(0x179)](_0x168da3['id']));_0x51768c[_0x1fec71(0x1bd)](_0x236220),_0x168da3[_0x1fec71(0x1a9)]=!0x1;}}[_0xb61f6f(0x1bf)](){const _0xd109bb=_0xb61f6f,_0x5b9f1b=this[_0xd109bb(0x194)];_0x5b9f1b[_0xd109bb(0x1b4)][_0xd109bb(0x16d)](_0xd109bb(0x1bc))[_0xd109bb(0x1d0)]({'model':_0xd109bb(0x16b),'view':(_0x46d16e,_0x9dede)=>{const _0x38f95b=_0xd109bb,{id:_0x5e95f9}=splitMarkerName(_0x46d16e[_0x38f95b(0x159)]),_0x24a65d=_0x5b9f1b[_0x38f95b(0x19c)][_0x38f95b(0x14f)](_0x478f78)[_0x38f95b(0x1ba)](_0x5e95f9),_0x529c07=this[_0x38f95b(0x14d)]&&splitMarkerName(this[_0x38f95b(0x14d)])['id']===_0x5e95f9;if(_0x24a65d&&_0x24a65d[_0x38f95b(0x1be)]&&!_0x529c07&&_0x46d16e[_0x38f95b(0x187)])return _0x9dede[_0x38f95b(0x17e)][_0x38f95b(0x1ad)](_0x46d16e[_0x38f95b(0x187)],_0x38f95b(0x199)+_0x46d16e[_0x38f95b(0x159)]),_0x9dede[_0x38f95b(0x17e)][_0x38f95b(0x1ad)](_0x46d16e[_0x38f95b(0x187)],_0x38f95b(0x156)+_0x46d16e[_0x38f95b(0x159)]),null;const _0x4345a6=[_0x38f95b(0x196)];return _0x529c07&&_0x4345a6[_0x38f95b(0x1b7)](_0x38f95b(0x1de)),{'classes':_0x4345a6,'attributes':{'data-comment':_0x5e95f9}};}}),_0x5b9f1b[_0xd109bb(0x1b4)][_0xd109bb(0x16d)](_0xd109bb(0x1ca))[_0xd109bb(0x186)]({'model':_0xd109bb(0x16b),'view':(_0x36bf9a,{options:_0x3b4381})=>{const _0x374b0f=_0xd109bb,_0x524d27=_0x5b9f1b[_0x374b0f(0x19c)][_0x374b0f(0x14f)](_0x478f78),_0x13d1ac=_0x5b9f1b[_0x374b0f(0x1c5)][_0x374b0f(0x1cf)][_0x374b0f(0x14f)](_0x36bf9a),{id:_0x3b2c7f,part:_0x346b08}=splitMarkerName(_0x36bf9a);if(_0x13d1ac&&!_0x13d1ac[_0x374b0f(0x17f)])return null;if(_0x3b4381[_0x374b0f(0x1bb)]){const _0x370fde=_0x524d27[_0x374b0f(0x1ba)](_0x3b2c7f);if(_0x370fde&&_0x370fde[_0x374b0f(0x1be)])return null;}return{'group':_0x374b0f(0x16b),'name':_0x346b08?_0x3b2c7f+':'+_0x346b08:_0x3b2c7f};}}),_0x5b9f1b[_0xd109bb(0x1b4)][_0xd109bb(0x16d)](_0xd109bb(0x1a2))[_0xd109bb(0x153)]({'view':{'name':_0xd109bb(0x16b),'attributes':{'id':/^\w/}},'model':(_0x114a2e,{writer:_0x81c280})=>_0x81c280[_0xd109bb(0x155)](_0xd109bb(0x1d8),{'data-name':_0xd109bb(0x1cd)+_0x114a2e[_0xd109bb(0x1a5)]('id')})}),_0x5b9f1b[_0xd109bb(0x1b4)][_0xd109bb(0x16d)](_0xd109bb(0x1a2))[_0xd109bb(0x1d1)]({'view':_0xd109bb(0x16b)});}[_0xb61f6f(0x1db)](){const _0x5c5f00=_0xb61f6f,_0x3fe82b=this[_0x5c5f00(0x194)],_0x432f85=_0x3fe82b[_0x5c5f00(0x19c)][_0x5c5f00(0x14f)](_0x478f78),_0x4e450b=new Set(),_0x45804=new Set();_0x3fe82b[_0x5c5f00(0x1c5)][_0x5c5f00(0x1b5)][_0x5c5f00(0x15a)](_0x5e412c=>{const _0x2b48d2=_0x5c5f00;let _0x4afc82=!0x1;for(const {name:_0x5a59c7,data:_0x22e1db}of _0x3fe82b[_0x2b48d2(0x1c5)][_0x2b48d2(0x1b5)][_0x2b48d2(0x1cb)][_0x2b48d2(0x1aa)]()){const {group:_0x2585ea,id:_0x49f53d}=splitMarkerName(_0x5a59c7);let _0x4e247d=_0x22e1db[_0x2b48d2(0x1d9)];if(_0x2b48d2(0x16b)!==_0x2585ea||!_0x4e247d)continue;const _0x3337d0=_0x2b48d2(0x15c)===_0x4e247d[_0x2b48d2(0x163)][_0x2b48d2(0x1b3)];_0x3337d0||(_0x4e247d=ct(_0x4e247d,_0x3fe82b[_0x2b48d2(0x1c5)]),!_0x4e247d||_0x4e247d[_0x2b48d2(0x1a3)]||!_0x22e1db[_0x2b48d2(0x1d9)]||_0x4e247d[_0x2b48d2(0x19a)](_0x22e1db[_0x2b48d2(0x1d9)]))?_0x3fe82b[_0x2b48d2(0x1c5)][_0x2b48d2(0x19f)](_0x4e247d)&&!_0x3337d0?this[_0x2b48d2(0x172)]?_0x4e450b[_0x2b48d2(0x1d6)](_0x5a59c7):this[_0x2b48d2(0x1a7)](_0x5a59c7,_0x49f53d):(_0x45804[_0x2b48d2(0x1d6)](_0x5a59c7),_0x4e450b[_0x2b48d2(0x16c)](_0x5a59c7),_0x5e412c[_0x2b48d2(0x1d3)](_0x5a59c7),_0x4afc82=!0x0):(_0x5e412c[_0x2b48d2(0x1c8)](_0x5a59c7,{'range':_0x4e247d}),_0x4afc82=!0x0);}return _0x4afc82;}),this['on'](_0x5c5f00(0x150),(_0x1b3713,_0x52129b,_0x4fae23)=>{const _0x5e7542=_0x5c5f00;if(!_0x4fae23&&_0x4e450b[_0x5e7542(0x1b1)])for(const _0x47b749 of _0x4e450b){const {id:_0x4cfae7}=splitMarkerName(_0x47b749);_0x4e450b[_0x5e7542(0x16c)](_0x47b749),_0x3fe82b[_0x5e7542(0x1c5)][_0x5e7542(0x1cf)][_0x5e7542(0x14f)](_0x47b749)&&this[_0x5e7542(0x1a7)](_0x47b749,_0x4cfae7);}}),this[_0x5c5f00(0x1a8)](_0x3fe82b[_0x5c5f00(0x1c5)][_0x5c5f00(0x1b5)],_0x5c5f00(0x1c3),(_0x3dbd92,_0x1b4463)=>{const _0x26b4ef=_0x5c5f00;for(const {name:_0x58040b,data:{newRange:_0x30de03}}of _0x3fe82b[_0x26b4ef(0x1c5)][_0x26b4ef(0x1b5)][_0x26b4ef(0x1cb)][_0x26b4ef(0x1aa)]()){const {group:_0x568a16,id:_0x2eaa8f}=splitMarkerName(_0x58040b);if(_0x26b4ef(0x16b)!==_0x568a16)continue;const _0xc20c9e=_0x432f85[_0x26b4ef(0x1ba)](_0x2eaa8f),_0x1cc1f7=this[_0x26b4ef(0x195)](_0x2eaa8f);_0xc20c9e&&(_0xc20c9e[_0x26b4ef(0x1a9)]||_0x3fe82b[_0x26b4ef(0x16a)][_0x26b4ef(0x15f)][_0x26b4ef(0x173)](_0x26b4ef(0x1a1),()=>{const _0x8a86c9=_0x26b4ef,_0x3b6478=_0x3fe82b[_0x8a86c9(0x19c)][_0x8a86c9(0x14f)](_0x1da73e),_0x4658bf=_0x432f85[_0x8a86c9(0x180)][_0x8a86c9(0x14f)](_0xc20c9e)[_0x8a86c9(0x15f)];_0x3b6478[_0x8a86c9(0x171)](_0x4658bf)[_0x8a86c9(0x154)]();},{'priority':_0x26b4ef(0x177)}),_0xc20c9e[_0x26b4ef(0x1a9)]=_0x1cc1f7||!!_0x30de03),_0x30de03||(_0x45804[_0x26b4ef(0x1d6)](_0x58040b),_0x4e450b[_0x26b4ef(0x16c)](_0x58040b));}if(_0x1b4463[_0x26b4ef(0x18f)])for(const _0x1e4ccd of _0x45804){const {id:_0x31c41b}=splitMarkerName(_0x1e4ccd),_0x1ab8e2=_0x432f85[_0x26b4ef(0x1ba)](_0x31c41b),_0x230cad=this[_0x26b4ef(0x195)](_0x31c41b);_0x4e450b[_0x26b4ef(0x16c)](_0x1e4ccd),!_0x1ab8e2||_0x230cad||_0x1ab8e2[_0x26b4ef(0x198)]||_0x1ab8e2[_0x26b4ef(0x17c)](new Date());}_0x45804[_0x26b4ef(0x1d2)]();});}[_0xb61f6f(0x179)](_0x404c88){const _0xd63c27=_0xb61f6f,_0x5675e4=this[_0xd63c27(0x194)],_0x58a0b2=this[_0xd63c27(0x1c9)](_0x404c88);return _0x2b374a(_0x5675e4[_0xd63c27(0x16a)],_0x58a0b2);}[_0xb61f6f(0x1af)](_0x277a65){const _0x18c6f0=_0xb61f6f,_0x2620ac=this[_0x18c6f0(0x1c9)](_0x277a65);let _0x3478e5='',_0x435573=!0x1;for(const _0x5bfb93 of _0x2620ac){const _0x40e1e8=_0x5bfb93[_0x18c6f0(0x152)]();for(const _0x3dfdd9 of Array[_0x18c6f0(0x18a)](_0x40e1e8[_0x18c6f0(0x160)]()))_0x3dfdd9['is'](_0x18c6f0(0x175))?(_0x3478e5&&_0x435573&&(_0x3478e5+='\x20',_0x435573=!0x1),_0x3478e5+=_0x3dfdd9[_0x18c6f0(0x16f)]):_0x435573=!0x0;_0x435573=!0x0;}return _0x3478e5[_0x18c6f0(0x157)](0x0,0x96);}[_0xb61f6f(0x191)](_0x5b38fe,_0x34f711){const _0x1b30a3=_0xb61f6f,_0x4ba1a5=this[_0x1b30a3(0x194)],_0x11ce30=_0x4ba1a5[_0x1b30a3(0x19c)][_0x1b30a3(0x14f)](_0x478f78);let _0x584c60=_0x11ce30[_0x1b30a3(0x1ba)](_0x34f711);const _0x152661=_0x4ba1a5[_0x1b30a3(0x18e)][_0x1b30a3(0x14f)](_0x1b30a3(0x1b8)),_0x3b3866=_0x4ba1a5[_0x1b30a3(0x19c)][_0x1b30a3(0x14f)](_0x25f9cd);if(_0x584c60&&(_0x584c60[_0x1b30a3(0x198)]&&_0x584c60[_0x1b30a3(0x17c)](null),_0x584c60[_0x1b30a3(0x15d)]))return _0x584c60;return!this[_0x1b30a3(0x1c9)](_0x34f711)[0x0][_0x1b30a3(0x1ae)]?_0x4ba1a5[_0x1b30a3(0x16a)][_0x1b30a3(0x15f)][_0x1b30a3(0x173)](_0x1b30a3(0x1a1),()=>{const _0x17f57a=_0x1b30a3;if(_0x11ce30[_0x17f57a(0x1ba)](_0x34f711))return;const _0x433b68=_0x4ba1a5[_0x17f57a(0x19c)][_0x17f57a(0x14f)](_0x1da73e);_0x584c60=_0x11ce30[_0x17f57a(0x15e)]({'channelId':_0x152661,'threadId':_0x34f711,'target':()=>this[_0x17f57a(0x179)](_0x34f711),'context':{'type':_0x17f57a(0x17a),'value':this[_0x17f57a(0x1af)](_0x34f711)}});const _0x4c4791=_0x11ce30[_0x17f57a(0x180)][_0x17f57a(0x14f)](_0x584c60)[_0x17f57a(0x15f)],_0x3283ce=_0x433b68[_0x17f57a(0x171)](_0x4c4791);_0x3283ce&&_0x3b3866[_0x17f57a(0x1bd)](_0x3283ce);},{'priority':_0x1b30a3(0x177)}):_0x11ce30[_0x1b30a3(0x15b)]({'channelId':_0x152661,'threadId':_0x34f711})[_0x1b30a3(0x1ce)](_0x5da1a9=>{const _0xf53978=_0x1b30a3;if(_0xf53978(0x16e)!==_0x4ba1a5[_0xf53978(0x1d7)]){if(_0x584c60=_0x5da1a9,_0x584c60&&!_0x584c60[_0xf53978(0x15d)]){const _0x5a8c2a=_0x584c60[_0xf53978(0x174)](()=>this[_0xf53978(0x179)](_0x34f711));_0x3b3866[_0xf53978(0x1bd)](_0x5a8c2a),_0x584c60[_0xf53978(0x1be)]&&this[_0xf53978(0x167)](_0x34f711);}else{if(!_0x584c60){const _0x2e06b0=this[_0xf53978(0x1c9)](_0x34f711);_0x4ba1a5[_0xf53978(0x1c5)][_0xf53978(0x1c3)](_0x18d522=>{const _0xb22193=_0xf53978;for(const _0x62f1e of _0x2e06b0)_0x18d522[_0xb22193(0x1d3)](_0x62f1e);});}}}}),_0x584c60;}[_0xb61f6f(0x1a7)](_0x47ea1f,_0x2560ec){const _0x5dea51=_0xb61f6f,_0x424ae2=this[_0x5dea51(0x191)](_0x47ea1f,_0x2560ec);_0x424ae2&&!_0x424ae2[_0x5dea51(0x190)]&&_0x424ae2[_0x5dea51(0x182)]({'type':_0x5dea51(0x17a),'value':this[_0x5dea51(0x1af)](_0x2560ec)});}[_0xb61f6f(0x1b9)](){const _0x74f2b8=_0xb61f6f,_0x128345=this[_0x74f2b8(0x194)];_0x53f23d(_0x128345[_0x74f2b8(0x1c5)],({left:_0x49e2dd,entered:_0x51d8c7})=>{const _0xe927aa=_0x74f2b8;for(const _0x43021f of _0x49e2dd)if(mt(_0x43021f)){_0x128345['ui'][_0xe927aa(0x1a0)][_0xe927aa(0x1c7)](_0x5922bc(_0x128345[_0xe927aa(0x192)],_0xe927aa(0x161)));break;}for(const _0x185ce2 of _0x51d8c7)if(mt(_0x185ce2)){_0x128345['ui'][_0xe927aa(0x1a0)][_0xe927aa(0x1c7)](_0x5922bc(_0x128345[_0xe927aa(0x192)],_0xe927aa(0x189),_0x576441(_0x4f4269)));break;}});}}function at(_0x1e0886,_0x4126a1){return _0x4126a1?_0x1e0886+':'+_0x4126a1:_0x1e0886;}export function splitMarkerName(_0x47e4e8){const _0x8e7612=_0xb61f6f,_0x5a69f2=_0x47e4e8[_0x8e7612(0x1b2)](':');return{'group':_0x5a69f2[0x0],'id':_0x5a69f2[0x1],'part':_0x5a69f2[0x2]};}function ct(_0x4d2dc6,_0x5bc395){const _0x5a3d4b=_0xb61f6f,_0x27218e=_0x5bc395[_0x5a3d4b(0x1da)],_0x57689=_0x5bc395[_0x5a3d4b(0x1a6)](_0x4d2dc6[_0x5a3d4b(0x183)]);for(const _0x28350b of _0x4d2dc6[_0x5a3d4b(0x18c)]()){const {type:_0x1d4591,item:_0x2e49bf,nextPosition:_0x21fbf2}=_0x28350b;if(_0x5a3d4b(0x17a)===_0x1d4591||_0x27218e[_0x5a3d4b(0x1c2)](_0x2e49bf)){const _0x51c97e=_0x5bc395[_0x5a3d4b(0x1c0)](_0x2e49bf);_0x57689[_0x5a3d4b(0x1a3)]&&(_0x57689[_0x5a3d4b(0x183)]=_0x51c97e),_0x57689[_0x5a3d4b(0x158)]=_0x21fbf2;}}return _0x57689;}function mt(_0xa21baf){const _0x1b5dbb=_0xb61f6f;return _0x1b5dbb(0x16b)===splitMarkerName(_0xa21baf[_0x1b5dbb(0x14e)])[_0x1b5dbb(0x19b)];}
|
|
23
|
+
const _0x258275=_0x52de;(function(_0x2a13e6,_0x3b3bb7){const _0x33fe3e=_0x52de,_0xc52aca=_0x2a13e6();while(!![]){try{const _0x433b38=parseInt(_0x33fe3e(0xf9))/0x1*(parseInt(_0x33fe3e(0x106))/0x2)+-parseInt(_0x33fe3e(0x10f))/0x3+parseInt(_0x33fe3e(0xec))/0x4+parseInt(_0x33fe3e(0x11b))/0x5*(-parseInt(_0x33fe3e(0x118))/0x6)+parseInt(_0x33fe3e(0xd2))/0x7+parseInt(_0x33fe3e(0xf3))/0x8*(-parseInt(_0x33fe3e(0x119))/0x9)+-parseInt(_0x33fe3e(0x124))/0xa;if(_0x433b38===_0x3b3bb7)break;else _0xc52aca['push'](_0xc52aca['shift']());}catch(_0x28256c){_0xc52aca['push'](_0xc52aca['shift']());}}}(_0x3665,0x8bef9));import{Plugin as _0x360bf4}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x249769,scrollViewportToShowTarget as _0x130a1f}from'ckeditor5/src/utils.js';function _0x52de(_0x264874,_0x4f9384){const _0x366599=_0x3665();return _0x52de=function(_0x52de1e,_0x20843b){_0x52de1e=_0x52de1e-0xcc;let _0x4420eb=_0x366599[_0x52de1e];return _0x4420eb;},_0x52de(_0x264874,_0x4f9384);}import _0x5c0497 from'./commentsrepository.js';import _0x4707eb from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x12c7d2,getAllMarkersDomElementsSorted as _0x1f2878,ENTER_THREAD_KEYSTROKE as _0x41e904}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x280dd2 from'../annotations/editorannotations.js';import _0x1f99b4 from'./integrations/commentsrestrictededitingmode.js';function _0x3665(){const _0x28df81=['for','removeMarker:','4296284uKFGMc','comment','CommentsEditing','resolveCommentThread','hasCommentThread','ariaLiveAnnouncer','_initAriaMarkerChangeAnnouncements','6958800VjCuYj','registerPostFixer','low','getCommentThread','change:isReadOnly','openNewCommentThread','19EFeklc','editing','length','collaboration.channelId','upcast','_attachMarkerToThread','dataDowncast','getAllMarkersForId','ignoreResolvedComments','markerToHighlight','registerAnnotation','newRange','getWalker','3516vDlKza','_handleThreadMarker','config','unlinkedAt','substring','consumable','isResolved','$marker','plugins','1647744pLXsTv','getAttribute','listenTo','removeMarker','hasDomSelection','$textProxy','fetchCommentThread','enqueueChange','managedUsingOperations','6ORmydN','9aMysYB','clear','89735hEzIpk','hasMarkerForId','init','isThreadsLoadingPaused','_hasTargetInContent','createRange','isCollapsed','schema','comment:','1990250sAozIw','item','reopenCommentThread','getByInnerView','attachTo','_attachArchivedThread','activeMarker','context','change:isThreadsLoadingPaused','commands','state','size','addMarker:','requires','markers','once','root','from','change:activeMarker','updateMarker','addCommentThread','destroyed','set','then','get','split','$graveyard','locale','createPositionBefore','hasContent','startsWith','_detachCommentThread','ck-comment-marker','isLocal','ck-comment-marker--active','announce','isEqual','_reconvertMarkers','add','getChangedMarkers','isAttached','_handleMarkerAddAndRemove','conversion','differ','text','focus','markerName','rootName','ready','_initializeMarkerConverters','end','consume','render','change','getCommentThreads','markerToData','editor','name','scrollToThreadMarker','getItems','createElement','setUnlinkedAt','refreshVisibility','destroy','switchReadOnly','document','getRange','7712418viVGex','dataToMarker','reconvertMarker','_threadToController','ENTER_COMMENT_ANNOUNCEMENT','model','addComment','start','setContext','view','editingDowncast','delete','group','pluginName','elementToElement','isObject','_getTextContext','push','affectsData','data','LEAVE_COMMENT_ANNOUNCEMENT','_threads','removeCommentThread','_getTargetForId'];_0x3665=function(){return _0x28df81;};return _0x3665();}import _0x5ea7e9 from'./integrations/importword.js';import _0x5193b1 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x28e7de from'../annotations/annotations.js';import{getTranslation as _0x72dcb8}from'../utils/common-translations.js';export default class r extends _0x360bf4{static get[_0x258275(0x131)](){return[_0x5c0497,_0x280dd2,_0x1f99b4,_0x5ea7e9,_0x5193b1];}static get[_0x258275(0xdf)](){const _0x50039a=_0x258275;return _0x50039a(0xee);}constructor(_0x2caeee){const _0x58939b=_0x258275;super(_0x2caeee),this[_0x58939b(0x13a)](_0x58939b(0x11e),!0x0),_0x2caeee[_0x58939b(0xe5)][_0x58939b(0x133)](_0x58939b(0x154),()=>this[_0x58939b(0x11e)]=!0x1),this[_0x58939b(0x13a)](_0x58939b(0x12a),null),this['on'](_0x58939b(0x136),(_0x543215,_0xc1caa4,_0x257d8a,_0x3edcf8)=>{const _0xf3c491=_0x58939b,_0x3a35f4=_0x257d8a?splitMarkerName(_0x257d8a)['id']:null;if(_0x2caeee[_0xf3c491(0xd7)][_0xf3c491(0x159)](()=>{const _0x399a05=_0xf3c491;if(_0x3a35f4){const _0x46f8a7=this[_0x399a05(0x100)](_0x3a35f4);for(const _0x30e440 of _0x46f8a7)_0x2caeee[_0x399a05(0xfa)][_0x399a05(0xd4)](_0x30e440);}if(_0x3edcf8){const {id:_0x543e0d}=splitMarkerName(_0x3edcf8),_0x5ca19f=this[_0x399a05(0x100)](_0x543e0d);for(const _0xc9a2ea of _0x5ca19f)_0x2caeee[_0x399a05(0xfa)][_0x399a05(0xd4)](_0xc9a2ea);}}),_0x3a35f4){const _0xe9010e=_0x2caeee[_0xf3c491(0x10e)][_0xf3c491(0x13c)](_0x5c0497)[_0xf3c491(0xf6)](_0x3a35f4);_0xe9010e&&_0xe9010e[_0xf3c491(0x10c)]&&this[_0xf3c491(0x15e)](_0x3a35f4);}}),this[_0x58939b(0xf2)]();}[_0x258275(0x11d)](){const _0x331e91=_0x258275,_0x26ebf3=this[_0x331e91(0x15c)],_0x3d49ac=_0x26ebf3[_0x331e91(0x10e)][_0x331e91(0x13c)](_0x5c0497),_0x1e6c95=_0x26ebf3[_0x331e91(0x108)][_0x331e91(0x13c)](_0x331e91(0xfc));_0x26ebf3[_0x331e91(0x12d)][_0x331e91(0x14a)](_0x331e91(0x138),new _0x4707eb(_0x26ebf3)),this[_0x331e91(0x111)](_0x26ebf3,_0x331e91(0xf7),(_0x49d966,_0x27a242,_0x539357)=>{const _0x53ca96=_0x331e91;_0x3d49ac[_0x53ca96(0xcf)](_0x539357,_0x26ebf3[_0x53ca96(0x108)][_0x53ca96(0x13c)](_0x53ca96(0xfc)));}),this[_0x331e91(0x111)](_0x3d49ac,at(_0x331e91(0x138),_0x1e6c95),(_0x13228c,{threadId:_0x105b3a})=>{const _0x43466a=_0x331e91,_0x3f8de4=this[_0x43466a(0x15c)][_0x43466a(0x10e)][_0x43466a(0x13c)](_0x5c0497)[_0x43466a(0xf6)](_0x105b3a);_0x3f8de4&&_0x3f8de4[_0x43466a(0x109)]&&this[_0x43466a(0x129)](_0x105b3a);}),this[_0x331e91(0x111)](_0x3d49ac,at(_0x331e91(0xe8),_0x1e6c95),(_0x20c2ee,{threadId:_0x48abf6})=>{const _0x8c2980=_0x331e91;_0x26ebf3[_0x8c2980(0xd7)][_0x8c2980(0x116)]({'isUndoable':!0x1},_0x4d1c2b=>{const _0x67c58a=_0x8c2980,_0x41bd9c=this[_0x67c58a(0x100)](_0x48abf6);for(const _0x37bdcb of _0x41bd9c)_0x4d1c2b[_0x67c58a(0x112)](_0x37bdcb);});}),this[_0x331e91(0x111)](_0x3d49ac,at(_0x331e91(0xef),_0x1e6c95),(_0x2a9062,{threadId:_0x4c0537})=>{const _0x1118e8=_0x331e91;(this[_0x1118e8(0x149)](_0x4c0537),this[_0x1118e8(0x15c)][_0x1118e8(0xfa)][_0x1118e8(0xdb)][_0x1118e8(0x113)])&&(this[_0x1118e8(0x15c)][_0x1118e8(0x10e)][_0x1118e8(0x13c)](_0x5c0497)[_0x1118e8(0xf6)](_0x4c0537)[_0x1118e8(0x109)]||this[_0x1118e8(0x15c)][_0x1118e8(0xfa)][_0x1118e8(0xdb)][_0x1118e8(0x151)]());},{'priority':_0x331e91(0xf5)}),this[_0x331e91(0x111)](_0x3d49ac,at(_0x331e91(0x126),_0x1e6c95),(_0x5bbdba,{threadId:_0x48f729})=>{const _0x3d65ff=_0x331e91;this[_0x3d65ff(0x149)](_0x48f729);},{'priority':_0x331e91(0xf5)}),this[_0x331e91(0x111)](_0x3d49ac,at(_0x331e91(0xd8),_0x1e6c95),(_0x4a9825,{threadId:_0x306391,isFromAdapter:_0x343257})=>{const _0x465ea4=_0x331e91,_0x5c895c=this[_0x465ea4(0x100)](_0x306391);if(_0x343257||0x0==_0x5c895c[_0x465ea4(0xfb)]||!_0x3d49ac[_0x465ea4(0xf0)](_0x306391))return;0x1===_0x3d49ac[_0x465ea4(0xf6)](_0x306391)[_0x465ea4(0xfb)]&&_0x26ebf3[_0x465ea4(0xd7)][_0x465ea4(0x116)]({'isUndoable':!0x1},_0x190615=>{const _0x1b2e65=_0x465ea4;for(const _0x4d93e4 of _0x5c895c)_0x190615[_0x1b2e65(0x137)](_0x4d93e4,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x331e91(0xf5)}),this[_0x331e91(0x155)](),this[_0x331e91(0x14d)]();}[_0x258275(0xce)](){const _0x571474=_0x258275,_0x583bf6=this[_0x571474(0x15c)][_0x571474(0x10e)][_0x571474(0x13c)](_0x5c0497),_0x4bfe25=this[_0x571474(0x15c)][_0x571474(0x108)][_0x571474(0x13c)](_0x571474(0xfc));for(const _0x45c240 of _0x583bf6[_0x571474(0x15a)]({'channelId':_0x4bfe25}))_0x583bf6[_0x571474(0x143)](_0x45c240['id']),_0x583bf6[_0x571474(0xe7)][_0x571474(0xdd)](_0x45c240['id']);super[_0x571474(0xce)]();}[_0x258275(0x11c)](_0x3da014){const _0x28e1d8=_0x258275;return this[_0x28e1d8(0x100)](_0x3da014)[_0x28e1d8(0xfb)]>0x0;}[_0x258275(0x100)](_0x4772e2){const _0x3822ad=_0x258275,_0x402795=[];for(const _0x224c0c of this[_0x3822ad(0x15c)][_0x3822ad(0xd7)][_0x3822ad(0x132)])_0x224c0c[_0x3822ad(0x15d)][_0x3822ad(0x142)](_0x3822ad(0x123)+_0x4772e2)&&_0x402795[_0x3822ad(0xe3)](_0x224c0c);return _0x402795;}[_0x258275(0x15e)](_0x100e25){const _0x1c4373=_0x258275,_0x5b6441=this[_0x1c4373(0xe9)](_0x100e25);_0x5b6441&&setTimeout(()=>{const _0xef52d8=_0x1c4373;this[_0xef52d8(0x12a)]&&splitMarkerName(this[_0xef52d8(0x12a)])['id']===_0x100e25&&_0x130a1f({'target':_0x5b6441[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x258275(0x149)](_0x4ef711){const _0x108f4e=_0x258275;this[_0x108f4e(0x15c)][_0x108f4e(0xd7)][_0x108f4e(0x159)](()=>{const _0x33eae4=_0x108f4e;for(const _0x26e7d3 of this[_0x33eae4(0x100)](_0x4ef711))this[_0x33eae4(0x15c)][_0x33eae4(0xfa)][_0x33eae4(0xd4)](_0x26e7d3);});}[_0x258275(0x129)](_0x4b94bb){const _0x52d3d1=_0x258275,_0x4180b2=this[_0x52d3d1(0x15c)][_0x52d3d1(0x10e)][_0x52d3d1(0x13c)](_0x5c0497),_0x1513f9=this[_0x52d3d1(0x15c)][_0x52d3d1(0x10e)][_0x52d3d1(0x13c)](_0x280dd2),_0x141b93=_0x4180b2[_0x52d3d1(0xf6)](_0x4b94bb);if(!_0x141b93[_0x52d3d1(0x14c)]){const _0x32dc5e=_0x141b93[_0x52d3d1(0x128)](()=>this[_0x52d3d1(0xe9)](_0x141b93['id']));_0x1513f9[_0x52d3d1(0x103)](_0x32dc5e),_0x141b93[_0x52d3d1(0x11f)]=!0x1;}}[_0x258275(0x155)](){const _0x4e4000=_0x258275,_0x4e9df5=this[_0x4e4000(0x15c)];_0x4e9df5[_0x4e4000(0x14e)][_0x4e4000(0xea)](_0x4e4000(0xdc))[_0x4e4000(0x102)]({'model':_0x4e4000(0xed),'view':(_0x50e9a1,_0x4787dd)=>{const _0x5168e6=_0x4e4000,{id:_0x3c50c9}=splitMarkerName(_0x50e9a1[_0x5168e6(0x152)]),_0x404b5d=_0x4e9df5[_0x5168e6(0x10e)][_0x5168e6(0x13c)](_0x5c0497)[_0x5168e6(0xf6)](_0x3c50c9),_0x23083a=this[_0x5168e6(0x12a)]&&splitMarkerName(this[_0x5168e6(0x12a)])['id']===_0x3c50c9;if(_0x404b5d&&_0x404b5d[_0x5168e6(0x10c)]&&!_0x23083a&&_0x50e9a1[_0x5168e6(0x125)])return _0x4787dd[_0x5168e6(0x10b)][_0x5168e6(0x157)](_0x50e9a1[_0x5168e6(0x125)],_0x5168e6(0x130)+_0x50e9a1[_0x5168e6(0x152)]),_0x4787dd[_0x5168e6(0x10b)][_0x5168e6(0x157)](_0x50e9a1[_0x5168e6(0x125)],_0x5168e6(0xeb)+_0x50e9a1[_0x5168e6(0x152)]),null;const _0x3cbac2=[_0x5168e6(0x144)];return _0x23083a&&_0x3cbac2[_0x5168e6(0xe3)](_0x5168e6(0x146)),{'classes':_0x3cbac2,'attributes':{'data-comment':_0x3c50c9}};}}),_0x4e9df5[_0x4e4000(0x14e)][_0x4e4000(0xea)](_0x4e4000(0xff))[_0x4e4000(0x15b)]({'model':_0x4e4000(0xed),'view':(_0x4dde11,{options:_0x152921})=>{const _0x38e374=_0x4e4000,_0x434f36=_0x4e9df5[_0x38e374(0x10e)][_0x38e374(0x13c)](_0x5c0497),_0x41fbc0=_0x4e9df5[_0x38e374(0xd7)][_0x38e374(0x132)][_0x38e374(0x13c)](_0x4dde11),{id:_0x3e5440,part:_0x540f07}=splitMarkerName(_0x4dde11);if(_0x41fbc0&&!_0x41fbc0[_0x38e374(0xe4)])return null;if(_0x152921[_0x38e374(0x101)]){const _0x3be9ff=_0x434f36[_0x38e374(0xf6)](_0x3e5440);if(_0x3be9ff&&_0x3be9ff[_0x38e374(0x10c)])return null;}return{'group':_0x38e374(0xed),'name':_0x540f07?_0x3e5440+':'+_0x540f07:_0x3e5440};}}),_0x4e9df5[_0x4e4000(0x14e)][_0x4e4000(0xea)](_0x4e4000(0xfd))[_0x4e4000(0xe0)]({'view':{'name':_0x4e4000(0xed),'attributes':{'id':/^\w/}},'model':(_0x2cf7e9,{writer:_0x53be8d})=>_0x53be8d[_0x4e4000(0x160)](_0x4e4000(0x10d),{'data-name':_0x4e4000(0x123)+_0x2cf7e9[_0x4e4000(0x110)]('id')})}),_0x4e9df5[_0x4e4000(0x14e)][_0x4e4000(0xea)](_0x4e4000(0xfd))[_0x4e4000(0xd3)]({'view':_0x4e4000(0xed)});}[_0x258275(0x14d)](){const _0x568ee0=_0x258275,_0xc43a1b=this[_0x568ee0(0x15c)],_0x1bd654=_0xc43a1b[_0x568ee0(0x10e)][_0x568ee0(0x13c)](_0x5c0497),_0x9b0f5d=new Set(),_0x5248d=new Set();_0xc43a1b[_0x568ee0(0xd7)][_0x568ee0(0xd0)][_0x568ee0(0xf4)](_0x12030a=>{const _0x276684=_0x568ee0;let _0x2b8795=!0x1;for(const {name:_0x74f93f,data:_0x2ce187}of _0xc43a1b[_0x276684(0xd7)][_0x276684(0xd0)][_0x276684(0x14f)][_0x276684(0x14b)]()){const {group:_0x2f3d3a,id:_0x349a27}=splitMarkerName(_0x74f93f);let _0x1ef866=_0x2ce187[_0x276684(0x104)];if(_0x276684(0xed)!==_0x2f3d3a||!_0x1ef866)continue;const _0x1fde90=_0x276684(0x13e)===_0x1ef866[_0x276684(0x134)][_0x276684(0x153)];_0x1fde90||(_0x1ef866=ct(_0x1ef866,_0xc43a1b[_0x276684(0xd7)]),!_0x1ef866||_0x1ef866[_0x276684(0x121)]||!_0x2ce187[_0x276684(0x104)]||_0x1ef866[_0x276684(0x148)](_0x2ce187[_0x276684(0x104)]))?_0xc43a1b[_0x276684(0xd7)][_0x276684(0x141)](_0x1ef866)&&!_0x1fde90?this[_0x276684(0x11e)]?_0x9b0f5d[_0x276684(0x14a)](_0x74f93f):this[_0x276684(0x107)](_0x74f93f,_0x349a27):(_0x5248d[_0x276684(0x14a)](_0x74f93f),_0x9b0f5d[_0x276684(0xdd)](_0x74f93f),_0x12030a[_0x276684(0x112)](_0x74f93f),_0x2b8795=!0x0):(_0x12030a[_0x276684(0x137)](_0x74f93f,{'range':_0x1ef866}),_0x2b8795=!0x0);}return _0x2b8795;}),this['on'](_0x568ee0(0x12c),(_0x5115d3,_0x1d6e2f,_0x2264b2)=>{const _0x5d91f3=_0x568ee0;if(!_0x2264b2&&_0x9b0f5d[_0x5d91f3(0x12f)])for(const _0x1caa92 of _0x9b0f5d){const {id:_0x255179}=splitMarkerName(_0x1caa92);_0x9b0f5d[_0x5d91f3(0xdd)](_0x1caa92),_0xc43a1b[_0x5d91f3(0xd7)][_0x5d91f3(0x132)][_0x5d91f3(0x13c)](_0x1caa92)&&this[_0x5d91f3(0x107)](_0x1caa92,_0x255179);}}),this[_0x568ee0(0x111)](_0xc43a1b[_0x568ee0(0xd7)][_0x568ee0(0xd0)],_0x568ee0(0x159),(_0x589e08,_0x9aa65a)=>{const _0x4cc211=_0x568ee0;for(const {name:_0x7ca383,data:{newRange:_0x174373}}of _0xc43a1b[_0x4cc211(0xd7)][_0x4cc211(0xd0)][_0x4cc211(0x14f)][_0x4cc211(0x14b)]()){const {group:_0x5ce0bc,id:_0x4fe17b}=splitMarkerName(_0x7ca383);if(_0x4cc211(0xed)!==_0x5ce0bc)continue;const _0x43b0f4=_0x1bd654[_0x4cc211(0xf6)](_0x4fe17b),_0x1d46d3=this[_0x4cc211(0x11c)](_0x4fe17b);_0x43b0f4&&(_0x43b0f4[_0x4cc211(0x11f)]||_0xc43a1b[_0x4cc211(0xfa)][_0x4cc211(0xdb)][_0x4cc211(0x133)](_0x4cc211(0x158),()=>{const _0x28d50c=_0x4cc211,_0x377828=_0xc43a1b[_0x28d50c(0x10e)][_0x28d50c(0x13c)](_0x28e7de),_0x3084cb=_0x1bd654[_0x28d50c(0xd5)][_0x28d50c(0x13c)](_0x43b0f4)[_0x28d50c(0xdb)];_0x377828[_0x28d50c(0x127)](_0x3084cb)[_0x28d50c(0xcd)]();},{'priority':_0x4cc211(0xf5)}),_0x43b0f4[_0x4cc211(0x11f)]=_0x1d46d3||!!_0x174373),_0x174373||(_0x5248d[_0x4cc211(0x14a)](_0x7ca383),_0x9b0f5d[_0x4cc211(0xdd)](_0x7ca383));}if(_0x9aa65a[_0x4cc211(0x145)])for(const _0x3ce58b of _0x5248d){const {id:_0x1fb393}=splitMarkerName(_0x3ce58b),_0x1d4de6=_0x1bd654[_0x4cc211(0xf6)](_0x1fb393),_0x40299f=this[_0x4cc211(0x11c)](_0x1fb393);_0x9b0f5d[_0x4cc211(0xdd)](_0x3ce58b),!_0x1d4de6||_0x40299f||_0x1d4de6[_0x4cc211(0x109)]||_0x1d4de6[_0x4cc211(0xcc)](new Date());}_0x5248d[_0x4cc211(0x11a)]();});}[_0x258275(0xe9)](_0x41cc35){const _0x25e216=_0x258275,_0x544ad4=this[_0x25e216(0x15c)],_0x8cb3bb=this[_0x25e216(0x100)](_0x41cc35);return _0x1f2878(_0x544ad4[_0x25e216(0xfa)],_0x8cb3bb);}[_0x258275(0xe2)](_0x3b18b0){const _0x4a5674=_0x258275,_0x179848=this[_0x4a5674(0x100)](_0x3b18b0);let _0x598c57='',_0x5d2c51=!0x1;for(const _0x1858ac of _0x179848){const _0x1c45fe=_0x1858ac[_0x4a5674(0xd1)]();for(const _0x31ca1b of Array[_0x4a5674(0x135)](_0x1c45fe[_0x4a5674(0x15f)]()))_0x31ca1b['is'](_0x4a5674(0x114))?(_0x598c57&&_0x5d2c51&&(_0x598c57+='\x20',_0x5d2c51=!0x1),_0x598c57+=_0x31ca1b[_0x4a5674(0xe5)]):_0x5d2c51=!0x0;_0x5d2c51=!0x0;}return _0x598c57[_0x4a5674(0x10a)](0x0,0x96);}[_0x258275(0xfe)](_0x511c98,_0x272d1c){const _0xa179a0=_0x258275,_0x1dc9a4=this[_0xa179a0(0x15c)],_0x2c6638=_0x1dc9a4[_0xa179a0(0x10e)][_0xa179a0(0x13c)](_0x5c0497);let _0x27d28f=_0x2c6638[_0xa179a0(0xf6)](_0x272d1c);const _0x36d105=_0x1dc9a4[_0xa179a0(0x108)][_0xa179a0(0x13c)](_0xa179a0(0xfc)),_0x10c4df=_0x1dc9a4[_0xa179a0(0x10e)][_0xa179a0(0x13c)](_0x280dd2);if(_0x27d28f&&(_0x27d28f[_0xa179a0(0x109)]&&_0x27d28f[_0xa179a0(0xcc)](null),_0x27d28f[_0xa179a0(0x14c)]))return _0x27d28f;return!this[_0xa179a0(0x100)](_0x272d1c)[0x0][_0xa179a0(0x117)]?_0x1dc9a4[_0xa179a0(0xfa)][_0xa179a0(0xdb)][_0xa179a0(0x133)](_0xa179a0(0x158),()=>{const _0x13bad8=_0xa179a0;if(_0x2c6638[_0x13bad8(0xf6)](_0x272d1c))return;const _0x57d563=_0x1dc9a4[_0x13bad8(0x10e)][_0x13bad8(0x13c)](_0x28e7de);_0x27d28f=_0x2c6638[_0x13bad8(0xf8)]({'channelId':_0x36d105,'threadId':_0x272d1c,'target':()=>this[_0x13bad8(0xe9)](_0x272d1c),'context':{'type':_0x13bad8(0x150),'value':this[_0x13bad8(0xe2)](_0x272d1c)}});const _0x22cedb=_0x2c6638[_0x13bad8(0xd5)][_0x13bad8(0x13c)](_0x27d28f)[_0x13bad8(0xdb)],_0xfa424b=_0x57d563[_0x13bad8(0x127)](_0x22cedb);_0xfa424b&&_0x10c4df[_0x13bad8(0x103)](_0xfa424b);},{'priority':_0xa179a0(0xf5)}):_0x2c6638[_0xa179a0(0x115)]({'channelId':_0x36d105,'threadId':_0x272d1c})[_0xa179a0(0x13b)](_0x330c38=>{const _0x1a080b=_0xa179a0;if(_0x1a080b(0x139)!==_0x1dc9a4[_0x1a080b(0x12e)]){if(_0x27d28f=_0x330c38,_0x27d28f&&!_0x27d28f[_0x1a080b(0x14c)]){const _0x251ec4=_0x27d28f[_0x1a080b(0x128)](()=>this[_0x1a080b(0xe9)](_0x272d1c));_0x10c4df[_0x1a080b(0x103)](_0x251ec4),_0x27d28f[_0x1a080b(0x10c)]&&this[_0x1a080b(0x149)](_0x272d1c);}else{if(!_0x27d28f){const _0xa6973f=this[_0x1a080b(0x100)](_0x272d1c);_0x1dc9a4[_0x1a080b(0xd7)][_0x1a080b(0x159)](_0x3fe821=>{const _0x15d132=_0x1a080b;for(const _0x3638f6 of _0xa6973f)_0x3fe821[_0x15d132(0x112)](_0x3638f6);});}}}}),_0x27d28f;}[_0x258275(0x107)](_0xf33f8a,_0x43697a){const _0x17f128=_0x258275,_0xbf719f=this[_0x17f128(0xfe)](_0xf33f8a,_0x43697a);_0xbf719f&&!_0xbf719f[_0x17f128(0x12b)]&&_0xbf719f[_0x17f128(0xda)]({'type':_0x17f128(0x150),'value':this[_0x17f128(0xe2)](_0x43697a)});}[_0x258275(0xf2)](){const _0x4cae07=_0x258275,_0x2c7d37=this[_0x4cae07(0x15c)];_0x12c7d2(_0x2c7d37[_0x4cae07(0xd7)],({left:_0x46195d,entered:_0x5d95b1})=>{const _0x1a0fb0=_0x4cae07;for(const _0x171d54 of _0x46195d)if(mt(_0x171d54)){_0x2c7d37['ui'][_0x1a0fb0(0xf1)][_0x1a0fb0(0x147)](_0x72dcb8(_0x2c7d37[_0x1a0fb0(0x13f)],_0x1a0fb0(0xe6)));break;}for(const _0x55ed0a of _0x5d95b1)if(mt(_0x55ed0a)){_0x2c7d37['ui'][_0x1a0fb0(0xf1)][_0x1a0fb0(0x147)](_0x72dcb8(_0x2c7d37[_0x1a0fb0(0x13f)],_0x1a0fb0(0xd6),_0x249769(_0x41e904)));break;}});}}function at(_0x1cf39c,_0x36baae){return _0x36baae?_0x1cf39c+':'+_0x36baae:_0x1cf39c;}export function splitMarkerName(_0x16c410){const _0x310366=_0x258275,_0x280583=_0x16c410[_0x310366(0x13d)](':');return{'group':_0x280583[0x0],'id':_0x280583[0x1],'part':_0x280583[0x2]};}function ct(_0x1e2cf1,_0x41fd21){const _0x3cf7de=_0x258275,_0x211f5a=_0x41fd21[_0x3cf7de(0x122)],_0x2077da=_0x41fd21[_0x3cf7de(0x120)](_0x1e2cf1[_0x3cf7de(0xd9)]);for(const _0x228186 of _0x1e2cf1[_0x3cf7de(0x105)]()){const {type:_0x54766c,item:_0x5733e1,nextPosition:_0x151896}=_0x228186;if(_0x3cf7de(0x150)===_0x54766c||_0x211f5a[_0x3cf7de(0xe1)](_0x5733e1)){const _0xbe24ee=_0x41fd21[_0x3cf7de(0x140)](_0x5733e1);_0x2077da[_0x3cf7de(0x121)]&&(_0x2077da[_0x3cf7de(0xd9)]=_0xbe24ee),_0x2077da[_0x3cf7de(0x156)]=_0x151896;}}return _0x2077da;}function mt(_0x51394b){const _0x3f078e=_0x258275;return _0x3f078e(0xed)===splitMarkerName(_0x51394b[_0x3f078e(0x15d)])[_0x3f078e(0xde)];}
|