@ckeditor/ckeditor5-comments 43.1.0 → 43.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x257832=_0x53d6;(function(_0x92c26e,_0x1c8556){const _0x135eec=_0x53d6,_0x4dff00=_0x92c26e();while(!![]){try{const _0x36648a=parseInt(_0x135eec(0x14d))/0x1+parseInt(_0x135eec(0x11a))/0x2*(parseInt(_0x135eec(0x11c))/0x3)+parseInt(_0x135eec(0x12a))/0x4+-parseInt(_0x135eec(0x12d))/0x5*(parseInt(_0x135eec(0x138))/0x6)+-parseInt(_0x135eec(0x145))/0x7+-parseInt(_0x135eec(0x13c))/0x8*(-parseInt(_0x135eec(0x158))/0x9)+-parseInt(_0x135eec(0x139))/0xa*(parseInt(_0x135eec(0x13e))/0xb);if(_0x36648a===_0x1c8556)break;else _0x4dff00['push'](_0x4dff00['shift']());}catch(_0x5b51e7){_0x4dff00['push'](_0x4dff00['shift']());}}}(_0x3794,0xda2c7));import{ContextPlugin as _0x5d837f}from'ckeditor5/src/core.js';function _0x53d6(_0x58d3da,_0x30ca29){const _0x37940e=_0x3794();return _0x53d6=function(_0x53d626,_0x1f74eb){_0x53d626=_0x53d626-0x11a;let _0x35ce12=_0x37940e[_0x53d626];return _0x35ce12;},_0x53d6(_0x58d3da,_0x30ca29);}import{Rect as _0x482fc5,CKEditorError as _0x3144ad}from'ckeditor5/src/utils.js';import _0x697a13 from'./view/sidebarview.js';import _0x133571 from'./view/sidebaritemview.js';export default class D extends _0x5d837f{static get[_0x257832(0x126)](){const _0x2983fa=_0x257832;return _0x2983fa(0x11b);}constructor(_0x8f5ce4){const _0x4bbf15=_0x257832;super(_0x8f5ce4),this[_0x4bbf15(0x135)](_0x4bbf15(0x140),void 0x0),this[_0x4bbf15(0x12f)]=this[_0x4bbf15(0x16f)](),this[_0x4bbf15(0x135)](_0x4bbf15(0x137),null),this[_0x4bbf15(0x15a)]=0x19,this[_0x4bbf15(0x15d)]=new Map(),this[_0x4bbf15(0x16b)]=new Map(),this[_0x4bbf15(0x141)][_0x4bbf15(0x16c)][_0x4bbf15(0x14f)](_0x4bbf15(0x14e),!0x1),this[_0x4bbf15(0x159)]=null,this[_0x4bbf15(0x13f)]=null,this[_0x4bbf15(0x123)]=[];}[_0x257832(0x156)](){const _0x4c0937=_0x257832,_0x40cfc1=this[_0x4c0937(0x141)][_0x4c0937(0x16c)][_0x4c0937(0x153)](_0x4c0937(0x12c));_0x40cfc1&&this[_0x4c0937(0x14a)](_0x40cfc1);}[_0x257832(0x14a)](_0x2009dc){const _0x20bf92=_0x257832;if(!y(_0x2009dc))throw new _0x3144ad(_0x20bf92(0x129));this[_0x20bf92(0x137)]=_0x2009dc;}[_0x257832(0x14b)]({viewClass:_0x377051='',spaceBetweenItems:_0x437c2c=0x19}={}){const _0x16eae3=_0x257832;if(!y(this[_0x16eae3(0x137)]))throw new _0x3144ad(_0x16eae3(0x122),this);this[_0x16eae3(0x137)][_0x16eae3(0x16e)](this[_0x16eae3(0x12f)][_0x16eae3(0x168)]),this[_0x16eae3(0x12f)][_0x16eae3(0x163)]=_0x377051,this[_0x16eae3(0x15a)]=_0x437c2c;}[_0x257832(0x13d)]({removedAnnotation:_0xfd36,previousAnnotation:_0x1188af,nextAnnotation:_0x5d2d41}){const _0x3def90=_0x257832,_0xb80f3d=this[_0x3def90(0x13a)](_0xfd36);this[_0x3def90(0x12f)][_0x3def90(0x167)][_0x3def90(0x151)](_0xb80f3d),this[_0x3def90(0x154)](_0xfd36),_0x1188af&&this[_0x3def90(0x11d)](this[_0x3def90(0x13a)](_0x1188af)),_0x5d2d41&&this[_0x3def90(0x11d)](this[_0x3def90(0x13a)](_0x5d2d41)),this[_0x3def90(0x120)]();}[_0x257832(0x13b)]({blurredAnnotation:_0x63393d,activatedAnnotation:_0x2f6660,disableAnimationOnActivatedAnnotation:_0x33ec08}){const _0xe9ede7=_0x257832;if(this[_0xe9ede7(0x13f)]=_0x2f6660,_0x63393d){_0x63393d[_0xe9ede7(0x130)]=!0x1;const _0x9a4c09=this[_0xe9ede7(0x13a)](_0x63393d);_0x9a4c09&&_0x33ec08&&(_0x9a4c09[_0xe9ede7(0x152)]=!0x1);}if(_0x2f6660){const _0x52d72e=this[_0xe9ede7(0x13a)](_0x2f6660);_0x52d72e&&(_0x2f6660[_0xe9ede7(0x130)]=!0x0,_0x33ec08&&(_0x52d72e[_0xe9ede7(0x152)]=!0x0,_0x52d72e[_0xe9ede7(0x15c)]+=0x1),this[_0xe9ede7(0x11d)](_0x52d72e));}}[_0x257832(0x172)](_0xf7263f){const _0x395412=_0x257832;if(this[_0x395412(0x12f)][_0x395412(0x168)][_0x395412(0x151)](),_0xf7263f){for(const _0x36fa0b of _0xf7263f)this[_0x395412(0x154)](_0x36fa0b);}this[_0x395412(0x12f)][_0x395412(0x167)][_0x395412(0x170)](),this[_0x395412(0x12f)][_0x395412(0x163)]='',this[_0x395412(0x140)]=null;}[_0x257832(0x12e)](_0x6286b7,_0x4d9e77){const _0x17ea3c=_0x257832;_0x4d9e77||(_0x4d9e77=_0x6286b7[_0x17ea3c(0x12f)]);const _0x21778b=new _0x133571(this[_0x17ea3c(0x141)][_0x17ea3c(0x133)]);this[_0x17ea3c(0x15d)][_0x17ea3c(0x135)](_0x21778b,_0x6286b7),this[_0x17ea3c(0x16b)][_0x17ea3c(0x135)](_0x6286b7,_0x21778b),_0x21778b[_0x17ea3c(0x166)][_0x17ea3c(0x173)](_0x4d9e77),this[_0x17ea3c(0x165)](_0x6286b7[_0x17ea3c(0x12f)],_0x17ea3c(0x15e),(_0x40cf8e,_0x55d534,_0xf840ec)=>{const _0x485603=_0x17ea3c,_0x2b94d1=this[_0x485603(0x147)](_0x6286b7,_0xf840ec);_0x21778b[_0x485603(0x144)]!=_0x2b94d1&&(_0x21778b[_0x485603(0x144)]=_0x2b94d1,this[_0x485603(0x15f)](_0x21778b,_0x2b94d1));}),this[_0x17ea3c(0x165)](_0x21778b,_0x17ea3c(0x142),()=>{const _0x437936=_0x17ea3c;this[_0x437936(0x16d)](_0x21778b,_0x437936(0x15c));}),this[_0x17ea3c(0x165)](_0x21778b,_0x17ea3c(0x162),()=>{const _0x1d8a52=_0x17ea3c;this[_0x1d8a52(0x16d)](_0x21778b,_0x1d8a52(0x15b));}),this[_0x17ea3c(0x11d)](_0x21778b);const _0x1cd10c=this[_0x17ea3c(0x164)](_0x21778b);if(_0x1cd10c)this[_0x17ea3c(0x127)](_0x1cd10c,_0x21778b)||this[_0x17ea3c(0x11d)](_0x21778b);else this[_0x17ea3c(0x11d)](_0x21778b);return this[_0x17ea3c(0x120)](),this[_0x17ea3c(0x12f)][_0x17ea3c(0x167)][_0x17ea3c(0x173)](_0x21778b),_0x21778b;}[_0x257832(0x161)](_0x2bb86a){const _0x1a9f5c=_0x257832;if(!_0x2bb86a[_0x1a9f5c(0x166)][_0x1a9f5c(0x160)])return;const _0x2d3642=this[_0x1a9f5c(0x164)](_0x2bb86a);if(!_0x2d3642)return;const _0x35c3d7=this[_0x1a9f5c(0x15d)][_0x1a9f5c(0x153)](_0x2d3642),_0x2b2503=this[_0x1a9f5c(0x13f)];_0x2b2503&&_0x2b2503===_0x35c3d7?this[_0x1a9f5c(0x127)](_0x2d3642,_0x2bb86a):this[_0x1a9f5c(0x169)](_0x2bb86a,_0x2d3642);}[_0x257832(0x132)](_0x1c1439){const _0x3d7d11=_0x257832;if(!_0x1c1439[_0x3d7d11(0x166)][_0x3d7d11(0x160)])return;const _0x8b6f58=this[_0x3d7d11(0x146)](_0x1c1439);if(!_0x8b6f58)return;const _0x2e9fd1=this[_0x3d7d11(0x15d)][_0x3d7d11(0x153)](_0x8b6f58),_0x334300=this[_0x3d7d11(0x141)][_0x3d7d11(0x16c)][_0x3d7d11(0x153)](_0x3d7d11(0x14e)),_0xed89c5=this[_0x3d7d11(0x13f)];_0xed89c5&&_0xed89c5===_0x2e9fd1&&_0x334300?(this[_0x3d7d11(0x169)](_0x8b6f58,_0x1c1439),this[_0x3d7d11(0x127)](_0x1c1439,_0x8b6f58)):_0xed89c5&&_0xed89c5===_0x2e9fd1?this[_0x3d7d11(0x169)](_0x8b6f58,_0x1c1439):this[_0x3d7d11(0x127)](_0x1c1439,_0x8b6f58);}[_0x257832(0x16d)](_0x283d19,_0x34870a){const _0x11cfd5=_0x257832;0x0===this[_0x11cfd5(0x123)][_0x11cfd5(0x160)]&&setTimeout(()=>{const _0x1933eb=_0x11cfd5;for(const {sidebarItemView:_0x3457b2,changedProp:_0x20753a}of this[_0x1933eb(0x123)])_0x1933eb(0x15c)===_0x20753a?this[_0x1933eb(0x161)](_0x3457b2):this[_0x1933eb(0x132)](_0x3457b2);this[_0x1933eb(0x123)]=[];},0xa),this[_0x11cfd5(0x123)][_0x11cfd5(0x134)]({'sidebarItemView':_0x283d19,'changedProp':_0x34870a});}[_0x257832(0x13a)](_0x14794e){const _0x1c143e=_0x257832;return this[_0x1c143e(0x16b)][_0x1c143e(0x153)](_0x14794e);}[_0x257832(0x148)](){const _0x20a355=_0x257832;this[_0x20a355(0x14c)](),this[_0x20a355(0x12f)][_0x20a355(0x148)]();}[_0x257832(0x154)](_0x3ef73f){const _0x40280b=_0x257832,_0x379ed3=this[_0x40280b(0x13a)](_0x3ef73f);this[_0x40280b(0x14c)](_0x379ed3),this[_0x40280b(0x14c)](_0x3ef73f[_0x40280b(0x12f)]),_0x379ed3[_0x40280b(0x148)](),this[_0x40280b(0x16b)][_0x40280b(0x150)](_0x3ef73f),this[_0x40280b(0x15d)][_0x40280b(0x150)](_0x379ed3);}[_0x257832(0x16f)](){const _0x323f39=_0x257832,_0x277dde=new _0x697a13(this[_0x323f39(0x141)][_0x323f39(0x133)]);return _0x277dde[_0x323f39(0x11e)](),this['on'](_0x323f39(0x149),(_0xf61480,_0x511e1d,_0x3fde47,_0x31a873)=>{const _0x442082=_0x323f39;_0x31a873&&_0x277dde[_0x442082(0x131)](_0x442082(0x121)),_0x3fde47?_0x277dde[_0x442082(0x157)](_0x442082(0x121))['to'](_0x3fde47,_0x442082(0x15b)):_0x277dde[_0x442082(0x121)]=null;}),_0x277dde;}[_0x257832(0x120)](){const _0x37eb75=_0x257832;var _0xa9bccc;this[_0x37eb75(0x140)]=(null===(_0xa9bccc=this[_0x37eb75(0x159)])||void 0x0===_0xa9bccc?void 0x0:_0xa9bccc[_0x37eb75(0x155)])?this[_0x37eb75(0x13a)](this[_0x37eb75(0x159)][_0x37eb75(0x155)]):null;}[_0x257832(0x164)](_0x77dad9){const _0x303131=_0x257832;var _0x53dc29;const _0x4d0549=this[_0x303131(0x15d)][_0x303131(0x153)](_0x77dad9),_0x2d0306=_0x4d0549&&(null===(_0x53dc29=this[_0x303131(0x159)])||void 0x0===_0x53dc29?void 0x0:_0x53dc29[_0x303131(0x153)](this[_0x303131(0x159)][_0x303131(0x125)](_0x4d0549)-0x1));return _0x2d0306&&this[_0x303131(0x13a)](_0x2d0306)||null;}[_0x257832(0x146)](_0x4309c4){const _0x1b92d3=_0x257832;var _0x4ec50a;const _0x46f1f5=this[_0x1b92d3(0x15d)][_0x1b92d3(0x153)](_0x4309c4),_0x4479bd=_0x46f1f5&&(null===(_0x4ec50a=this[_0x1b92d3(0x159)])||void 0x0===_0x4ec50a?void 0x0:_0x4ec50a[_0x1b92d3(0x153)](this[_0x1b92d3(0x159)][_0x1b92d3(0x125)](_0x46f1f5)+0x1));return _0x4479bd&&this[_0x1b92d3(0x13a)](_0x4479bd)||null;}[_0x257832(0x169)](_0x21197e,_0x287300){const _0x1ab3e7=_0x257832;_0x21197e[_0x1ab3e7(0x136)]();const _0x554d30=R(_0x287300[_0x1ab3e7(0x15b)]+this[_0x1ab3e7(0x15a)],_0x21197e[_0x1ab3e7(0x15c)]);return!!_0x554d30&&(this[_0x1ab3e7(0x15f)](_0x287300,_0x287300[_0x1ab3e7(0x15c)]-_0x554d30),!0x0);}[_0x257832(0x127)](_0x4cf46b,_0x15ac4e){const _0x386e32=_0x257832;_0x4cf46b[_0x386e32(0x136)]();const _0x2e2825=R(_0x4cf46b[_0x386e32(0x15b)]+this[_0x386e32(0x15a)],_0x15ac4e[_0x386e32(0x15c)]);return!!_0x2e2825&&(this[_0x386e32(0x15f)](_0x15ac4e,_0x15ac4e[_0x386e32(0x15c)]+_0x2e2825,!0x1),!0x0);}[_0x257832(0x11d)](_0x15196d){const _0x9e5479=_0x257832,_0x186936=this[_0x9e5479(0x15d)][_0x9e5479(0x153)](_0x15196d);if(!_0x186936||!_0x186936[_0x9e5479(0x12b)]||!_0x186936[_0x9e5479(0x171)])return;const _0x466ee1=this[_0x9e5479(0x147)](_0x186936,_0x186936[_0x9e5479(0x171)]);this[_0x9e5479(0x15f)](_0x15196d,_0x466ee1);}[_0x257832(0x147)](_0x18d53a,_0x265103){const _0x2c1959=_0x257832;if(null===_0x265103)return 0x0;if(_0x18d53a[_0x2c1959(0x12b)]instanceof _0x482fc5)return _0x265103[_0x2c1959(0x15c)];{const _0x45fc57=new _0x482fc5(this[_0x2c1959(0x12f)][_0x2c1959(0x168)])[_0x2c1959(0x15c)];return _0x265103[_0x2c1959(0x15c)]-_0x45fc57;}}[_0x257832(0x15f)](_0x343fa4,_0xa17d6b,_0xae740c=this[_0x257832(0x141)][_0x257832(0x16c)][_0x257832(0x153)](_0x257832(0x14e))){const _0xdb0292=_0x257832;_0xae740c&&(_0xa17d6b=Math[_0xdb0292(0x11f)](_0xa17d6b,this[_0xdb0292(0x143)](_0x343fa4))),_0x343fa4[_0xdb0292(0x15c)]=_0xa17d6b;}[_0x257832(0x143)](_0x33cb71){const _0x3eda5f=_0x257832;let _0x3f50bd=this[_0x3eda5f(0x164)](_0x33cb71),_0x237003=0x0;for(;_0x3f50bd;)_0x3f50bd[_0x3eda5f(0x136)](),_0x237003+=this[_0x3eda5f(0x15a)]+_0x3f50bd[_0x3eda5f(0x124)],_0x3f50bd=this[_0x3eda5f(0x164)](_0x3f50bd);return _0x237003;}}function _0x3794(){const _0x40aa77=['change:_lastItem','setContainer','_attachToContainer','stopListening','639543LBRlpt','sidebar.preventScrollOutOfView','define','delete','remove','isAnimationDisabled','get','_destroySidebarItemView','last','init','bind','730593uLbUwc','_annotations','_spaceBetweenItems','bottom','top','_sidebarItemViewToAnnotation','change:targetRect','_setItemTop','length','_alignForTopChange','change:bottom','class','_getItemBefore','listenTo','content','list','element','_alignBeforeItem','object','_annotationToSidebarItemView','config','_recalculate','appendChild','_createSidebarView','clear','targetRect','_detachFromContainer','add','38DonDru','Sidebar','154221wDnHxZ','_alignToTargetRect','render','max','_updateLastItem','minHeight','sidebar-attachtocontainer-missing-container','_recalculateBuffer','height','getIndex','pluginName','_alignAfterItem','nodeType','sidebar-setcontainer-invalid-element','2925224bTfMqT','target','sidebar.container','7670zKxFNs','addAnnotation','view','isActive','unbind','_alignForBottomChange','locale','push','set','updateHeight','container','2304Rufnqd','70EEkChf','getSidebarItemView','refresh','72Puulib','rearrange','2458489uBIVzN','_activeAnnotation','_lastItem','context','change:top','_getMaxAvailableTop','_targetTop','216909eSUlQM','_getItemAfter','_getTargetTop','destroy'];_0x3794=function(){return _0x40aa77;};return _0x3794();}function R(_0x421d76,_0xb83f4a){const _0x4b2fc0=_0x257832;return Math[_0x4b2fc0(0x11f)](_0x421d76-_0xb83f4a,0x0);}function y(_0x153eae){const _0x2b0e68=_0x257832;return null!==_0x153eae&&_0x2b0e68(0x16a)==typeof _0x153eae&&0x1===_0x153eae[_0x2b0e68(0x128)];}
|
|
23
|
+
const _0x3f9327=_0xcea5;(function(_0x1531af,_0x5966c4){const _0x5e9de8=_0xcea5,_0x51816d=_0x1531af();while(!![]){try{const _0x50b75f=-parseInt(_0x5e9de8(0xb8))/0x1+parseInt(_0x5e9de8(0xa2))/0x2+parseInt(_0x5e9de8(0x91))/0x3+-parseInt(_0x5e9de8(0xa9))/0x4+parseInt(_0x5e9de8(0xa3))/0x5*(-parseInt(_0x5e9de8(0x9f))/0x6)+parseInt(_0x5e9de8(0x73))/0x7+parseInt(_0x5e9de8(0x7e))/0x8*(parseInt(_0x5e9de8(0x8b))/0x9);if(_0x50b75f===_0x5966c4)break;else _0x51816d['push'](_0x51816d['shift']());}catch(_0x1c636a){_0x51816d['push'](_0x51816d['shift']());}}}(_0x427d,0x7316b));import{ContextPlugin as _0x45db54}from'ckeditor5/src/core.js';import{Rect as _0x85e86,CKEditorError as _0x20010d}from'ckeditor5/src/utils.js';import _0x2e71bc from'./view/sidebarview.js';import _0x42f42e from'./view/sidebaritemview.js';function _0x427d(){const _0x5cab1e=['stopListening','unbind','context','content','_alignForTopChange','_createSidebarView','isAnimationDisabled','addAnnotation','_recalculateBuffer','delete','getIndex','_sidebarItemViewToAnnotation','set','_recalculate','_getItemAfter','last','3838023IMxJQi','sidebar-attachtocontainer-missing-container','setContainer','_targetTop','_destroySidebarItemView','Sidebar','bind','nodeType','targetRect','sidebar.preventScrollOutOfView','_alignToTargetRect','40SBgfqf','max','_getTargetTop','isActive','remove','push','height','_alignForBottomChange','object','class','rearrange','target','clear','435123LMUAbP','view','add','_attachToContainer','container','init','1655031arwfcY','_getItemBefore','getSidebarItemView','element','appendChild','refresh','top','pluginName','get','_alignAfterItem','change:_lastItem','change:targetRect','_spaceBetweenItems','list','16926rIfjik','_detachFromContainer','_annotations','458310HheUPe','1600HbnahQ','_getMaxAvailableTop','length','config','render','_setItemTop','367416NYVpJB','sidebar.container','_annotationToSidebarItemView','bottom','destroy','_lastItem','define','sidebar-setcontainer-invalid-element','minHeight','_updateLastItem','locale','change:bottom','change:top','listenTo','_alignBeforeItem','104879tWjgmu','_activeAnnotation','updateHeight'];_0x427d=function(){return _0x5cab1e;};return _0x427d();}function _0xcea5(_0x5f2dc5,_0x409180){const _0x427d97=_0x427d();return _0xcea5=function(_0xcea582,_0xf4ecfd){_0xcea582=_0xcea582-0x64;let _0x353eb2=_0x427d97[_0xcea582];return _0x353eb2;},_0xcea5(_0x5f2dc5,_0x409180);}export default class D extends _0x45db54{static get[_0x3f9327(0x98)](){const _0x2d6415=_0x3f9327;return _0x2d6415(0x78);}constructor(_0x3d78fc){const _0xd4b693=_0x3f9327;super(_0x3d78fc),this[_0xd4b693(0x6f)](_0xd4b693(0xae),void 0x0),this[_0xd4b693(0x8c)]=this[_0xd4b693(0x68)](),this[_0xd4b693(0x6f)](_0xd4b693(0x8f),null),this[_0xd4b693(0x9d)]=0x19,this[_0xd4b693(0x6e)]=new Map(),this[_0xd4b693(0xab)]=new Map(),this[_0xd4b693(0x65)][_0xd4b693(0xa6)][_0xd4b693(0xaf)](_0xd4b693(0x7c),!0x1),this[_0xd4b693(0xa1)]=null,this[_0xd4b693(0xb9)]=null,this[_0xd4b693(0x6b)]=[];}[_0x3f9327(0x90)](){const _0x10f917=_0x3f9327,_0x2b1297=this[_0x10f917(0x65)][_0x10f917(0xa6)][_0x10f917(0x99)](_0x10f917(0xaa));_0x2b1297&&this[_0x10f917(0x75)](_0x2b1297);}[_0x3f9327(0x75)](_0x44d32f){const _0x4031c4=_0x3f9327;if(!y(_0x44d32f))throw new _0x20010d(_0x4031c4(0xb0));this[_0x4031c4(0x8f)]=_0x44d32f;}[_0x3f9327(0x8e)]({viewClass:_0x2e9e56='',spaceBetweenItems:_0x40c865=0x19}={}){const _0x4427b2=_0x3f9327;if(!y(this[_0x4427b2(0x8f)]))throw new _0x20010d(_0x4427b2(0x74),this);this[_0x4427b2(0x8f)][_0x4427b2(0x95)](this[_0x4427b2(0x8c)][_0x4427b2(0x94)]),this[_0x4427b2(0x8c)][_0x4427b2(0x87)]=_0x2e9e56,this[_0x4427b2(0x9d)]=_0x40c865;}[_0x3f9327(0x88)]({removedAnnotation:_0x44a953,previousAnnotation:_0x5b2cd6,nextAnnotation:_0x5cbac8}){const _0x416e5d=_0x3f9327,_0x48c43d=this[_0x416e5d(0x93)](_0x44a953);this[_0x416e5d(0x8c)][_0x416e5d(0x9e)][_0x416e5d(0x82)](_0x48c43d),this[_0x416e5d(0x77)](_0x44a953),_0x5b2cd6&&this[_0x416e5d(0x7d)](this[_0x416e5d(0x93)](_0x5b2cd6)),_0x5cbac8&&this[_0x416e5d(0x7d)](this[_0x416e5d(0x93)](_0x5cbac8)),this[_0x416e5d(0xb2)]();}[_0x3f9327(0x96)]({blurredAnnotation:_0x3d73b4,activatedAnnotation:_0x3fad1d,disableAnimationOnActivatedAnnotation:_0x33106b}){const _0xdeb26=_0x3f9327;if(this[_0xdeb26(0xb9)]=_0x3fad1d,_0x3d73b4){_0x3d73b4[_0xdeb26(0x81)]=!0x1;const _0x15b4ce=this[_0xdeb26(0x93)](_0x3d73b4);_0x15b4ce&&_0x33106b&&(_0x15b4ce[_0xdeb26(0x69)]=!0x1);}if(_0x3fad1d){const _0x19e6eb=this[_0xdeb26(0x93)](_0x3fad1d);_0x19e6eb&&(_0x3fad1d[_0xdeb26(0x81)]=!0x0,_0x33106b&&(_0x19e6eb[_0xdeb26(0x69)]=!0x0,_0x19e6eb[_0xdeb26(0x97)]+=0x1),this[_0xdeb26(0x7d)](_0x19e6eb));}}[_0x3f9327(0xa0)](_0x40d4be){const _0x3f16be=_0x3f9327;if(this[_0x3f16be(0x8c)][_0x3f16be(0x94)][_0x3f16be(0x82)](),_0x40d4be){for(const _0x3c3343 of _0x40d4be)this[_0x3f16be(0x77)](_0x3c3343);}this[_0x3f16be(0x8c)][_0x3f16be(0x9e)][_0x3f16be(0x8a)](),this[_0x3f16be(0x8c)][_0x3f16be(0x87)]='',this[_0x3f16be(0xae)]=null;}[_0x3f9327(0x6a)](_0x12eb4a,_0x1d841a){const _0x8cd9ea=_0x3f9327;_0x1d841a||(_0x1d841a=_0x12eb4a[_0x8cd9ea(0x8c)]);const _0x57492c=new _0x42f42e(this[_0x8cd9ea(0x65)][_0x8cd9ea(0xb3)]);this[_0x8cd9ea(0x6e)][_0x8cd9ea(0x6f)](_0x57492c,_0x12eb4a),this[_0x8cd9ea(0xab)][_0x8cd9ea(0x6f)](_0x12eb4a,_0x57492c),_0x57492c[_0x8cd9ea(0x66)][_0x8cd9ea(0x8d)](_0x1d841a),this[_0x8cd9ea(0xb6)](_0x12eb4a[_0x8cd9ea(0x8c)],_0x8cd9ea(0x9c),(_0x29c916,_0x49d14e,_0x29448b)=>{const _0x5be567=_0x8cd9ea,_0x126a1c=this[_0x5be567(0x80)](_0x12eb4a,_0x29448b);_0x57492c[_0x5be567(0x76)]!=_0x126a1c&&(_0x57492c[_0x5be567(0x76)]=_0x126a1c,this[_0x5be567(0xa8)](_0x57492c,_0x126a1c));}),this[_0x8cd9ea(0xb6)](_0x57492c,_0x8cd9ea(0xb5),()=>{const _0xbfe390=_0x8cd9ea;this[_0xbfe390(0x70)](_0x57492c,_0xbfe390(0x97));}),this[_0x8cd9ea(0xb6)](_0x57492c,_0x8cd9ea(0xb4),()=>{const _0x5217d4=_0x8cd9ea;this[_0x5217d4(0x70)](_0x57492c,_0x5217d4(0xac));}),this[_0x8cd9ea(0x7d)](_0x57492c);const _0x1ff629=this[_0x8cd9ea(0x92)](_0x57492c);if(_0x1ff629)this[_0x8cd9ea(0x9a)](_0x1ff629,_0x57492c)||this[_0x8cd9ea(0x7d)](_0x57492c);else this[_0x8cd9ea(0x7d)](_0x57492c);return this[_0x8cd9ea(0xb2)](),this[_0x8cd9ea(0x8c)][_0x8cd9ea(0x9e)][_0x8cd9ea(0x8d)](_0x57492c),_0x57492c;}[_0x3f9327(0x67)](_0x2e8a1d){const _0x4537da=_0x3f9327;if(!_0x2e8a1d[_0x4537da(0x66)][_0x4537da(0xa5)])return;const _0x296c84=this[_0x4537da(0x92)](_0x2e8a1d);if(!_0x296c84)return;const _0x58d773=this[_0x4537da(0x6e)][_0x4537da(0x99)](_0x296c84),_0x29299f=this[_0x4537da(0xb9)];_0x29299f&&_0x29299f===_0x58d773?this[_0x4537da(0x9a)](_0x296c84,_0x2e8a1d):this[_0x4537da(0xb7)](_0x2e8a1d,_0x296c84);}[_0x3f9327(0x85)](_0x40a29f){const _0x5bbbad=_0x3f9327;if(!_0x40a29f[_0x5bbbad(0x66)][_0x5bbbad(0xa5)])return;const _0x15995c=this[_0x5bbbad(0x71)](_0x40a29f);if(!_0x15995c)return;const _0x1456ae=this[_0x5bbbad(0x6e)][_0x5bbbad(0x99)](_0x15995c),_0x12575f=this[_0x5bbbad(0x65)][_0x5bbbad(0xa6)][_0x5bbbad(0x99)](_0x5bbbad(0x7c)),_0x45aea4=this[_0x5bbbad(0xb9)];_0x45aea4&&_0x45aea4===_0x1456ae&&_0x12575f?(this[_0x5bbbad(0xb7)](_0x15995c,_0x40a29f),this[_0x5bbbad(0x9a)](_0x40a29f,_0x15995c)):_0x45aea4&&_0x45aea4===_0x1456ae?this[_0x5bbbad(0xb7)](_0x15995c,_0x40a29f):this[_0x5bbbad(0x9a)](_0x40a29f,_0x15995c);}[_0x3f9327(0x70)](_0x34bf08,_0x5ae1c0){const _0x3a44c2=_0x3f9327;0x0===this[_0x3a44c2(0x6b)][_0x3a44c2(0xa5)]&&setTimeout(()=>{const _0x120f5f=_0x3a44c2;for(const {sidebarItemView:_0x129122,changedProp:_0x553185}of this[_0x120f5f(0x6b)])_0x120f5f(0x97)===_0x553185?this[_0x120f5f(0x67)](_0x129122):this[_0x120f5f(0x85)](_0x129122);this[_0x120f5f(0x6b)]=[];},0xa),this[_0x3a44c2(0x6b)][_0x3a44c2(0x83)]({'sidebarItemView':_0x34bf08,'changedProp':_0x5ae1c0});}[_0x3f9327(0x93)](_0x35e4ba){const _0x546aed=_0x3f9327;return this[_0x546aed(0xab)][_0x546aed(0x99)](_0x35e4ba);}[_0x3f9327(0xad)](){const _0x3027a8=_0x3f9327;this[_0x3027a8(0xbb)](),this[_0x3027a8(0x8c)][_0x3027a8(0xad)]();}[_0x3f9327(0x77)](_0x1ee340){const _0x4ad167=_0x3f9327,_0x2a3d2a=this[_0x4ad167(0x93)](_0x1ee340);this[_0x4ad167(0xbb)](_0x2a3d2a),this[_0x4ad167(0xbb)](_0x1ee340[_0x4ad167(0x8c)]),_0x2a3d2a[_0x4ad167(0xad)](),this[_0x4ad167(0xab)][_0x4ad167(0x6c)](_0x1ee340),this[_0x4ad167(0x6e)][_0x4ad167(0x6c)](_0x2a3d2a);}[_0x3f9327(0x68)](){const _0x41a514=_0x3f9327,_0x5e7d79=new _0x2e71bc(this[_0x41a514(0x65)][_0x41a514(0xb3)]);return _0x5e7d79[_0x41a514(0xa7)](),this['on'](_0x41a514(0x9b),(_0x482798,_0x4eaab2,_0x395a02,_0x20453e)=>{const _0x29eb26=_0x41a514;_0x20453e&&_0x5e7d79[_0x29eb26(0x64)](_0x29eb26(0xb1)),_0x395a02?_0x5e7d79[_0x29eb26(0x79)](_0x29eb26(0xb1))['to'](_0x395a02,_0x29eb26(0xac)):_0x5e7d79[_0x29eb26(0xb1)]=null;}),_0x5e7d79;}[_0x3f9327(0xb2)](){const _0x5b4f52=_0x3f9327;var _0x5da6a8;this[_0x5b4f52(0xae)]=(null===(_0x5da6a8=this[_0x5b4f52(0xa1)])||void 0x0===_0x5da6a8?void 0x0:_0x5da6a8[_0x5b4f52(0x72)])?this[_0x5b4f52(0x93)](this[_0x5b4f52(0xa1)][_0x5b4f52(0x72)]):null;}[_0x3f9327(0x92)](_0x3b74d9){const _0x288cf3=_0x3f9327;var _0x4b73eb;const _0x8af98f=this[_0x288cf3(0x6e)][_0x288cf3(0x99)](_0x3b74d9),_0x319a42=_0x8af98f&&(null===(_0x4b73eb=this[_0x288cf3(0xa1)])||void 0x0===_0x4b73eb?void 0x0:_0x4b73eb[_0x288cf3(0x99)](this[_0x288cf3(0xa1)][_0x288cf3(0x6d)](_0x8af98f)-0x1));return _0x319a42&&this[_0x288cf3(0x93)](_0x319a42)||null;}[_0x3f9327(0x71)](_0x5cc06a){const _0x3a71cd=_0x3f9327;var _0x43bf51;const _0x12d3ee=this[_0x3a71cd(0x6e)][_0x3a71cd(0x99)](_0x5cc06a),_0x3ac5e5=_0x12d3ee&&(null===(_0x43bf51=this[_0x3a71cd(0xa1)])||void 0x0===_0x43bf51?void 0x0:_0x43bf51[_0x3a71cd(0x99)](this[_0x3a71cd(0xa1)][_0x3a71cd(0x6d)](_0x12d3ee)+0x1));return _0x3ac5e5&&this[_0x3a71cd(0x93)](_0x3ac5e5)||null;}[_0x3f9327(0xb7)](_0x3ad007,_0x2b533d){const _0x4f0009=_0x3f9327;_0x3ad007[_0x4f0009(0xba)]();const _0x39ca2c=R(_0x2b533d[_0x4f0009(0xac)]+this[_0x4f0009(0x9d)],_0x3ad007[_0x4f0009(0x97)]);return!!_0x39ca2c&&(this[_0x4f0009(0xa8)](_0x2b533d,_0x2b533d[_0x4f0009(0x97)]-_0x39ca2c),!0x0);}[_0x3f9327(0x9a)](_0x458109,_0xe457b7){const _0x6e0cb3=_0x3f9327;_0x458109[_0x6e0cb3(0xba)]();const _0x13fc04=R(_0x458109[_0x6e0cb3(0xac)]+this[_0x6e0cb3(0x9d)],_0xe457b7[_0x6e0cb3(0x97)]);return!!_0x13fc04&&(this[_0x6e0cb3(0xa8)](_0xe457b7,_0xe457b7[_0x6e0cb3(0x97)]+_0x13fc04,!0x1),!0x0);}[_0x3f9327(0x7d)](_0x352b3e){const _0x86106d=_0x3f9327,_0x541d5e=this[_0x86106d(0x6e)][_0x86106d(0x99)](_0x352b3e);if(!_0x541d5e||!_0x541d5e[_0x86106d(0x89)]||!_0x541d5e[_0x86106d(0x7b)])return;const _0x103e50=this[_0x86106d(0x80)](_0x541d5e,_0x541d5e[_0x86106d(0x7b)]);this[_0x86106d(0xa8)](_0x352b3e,_0x103e50);}[_0x3f9327(0x80)](_0x146eae,_0x14aba6){const _0x4fc178=_0x3f9327;if(null===_0x14aba6)return 0x0;if(_0x146eae[_0x4fc178(0x89)]instanceof _0x85e86)return _0x14aba6[_0x4fc178(0x97)];{const _0x1cb694=new _0x85e86(this[_0x4fc178(0x8c)][_0x4fc178(0x94)])[_0x4fc178(0x97)];return _0x14aba6[_0x4fc178(0x97)]-_0x1cb694;}}[_0x3f9327(0xa8)](_0xc8a1d,_0x324a0c,_0x343739=this[_0x3f9327(0x65)][_0x3f9327(0xa6)][_0x3f9327(0x99)](_0x3f9327(0x7c))){const _0x3fbea5=_0x3f9327;_0x343739&&(_0x324a0c=Math[_0x3fbea5(0x7f)](_0x324a0c,this[_0x3fbea5(0xa4)](_0xc8a1d))),_0xc8a1d[_0x3fbea5(0x97)]=_0x324a0c;}[_0x3f9327(0xa4)](_0x5317e1){const _0x432952=_0x3f9327;let _0x2aec9d=this[_0x432952(0x92)](_0x5317e1),_0x39386b=0x0;for(;_0x2aec9d;)_0x2aec9d[_0x432952(0xba)](),_0x39386b+=this[_0x432952(0x9d)]+_0x2aec9d[_0x432952(0x84)],_0x2aec9d=this[_0x432952(0x92)](_0x2aec9d);return _0x39386b;}}function R(_0x225264,_0x35697a){const _0x2a5126=_0x3f9327;return Math[_0x2a5126(0x7f)](_0x225264-_0x35697a,0x0);}function y(_0x530730){const _0x587add=_0x3f9327;return null!==_0x530730&&_0x587add(0x86)==typeof _0x530730&&0x1===_0x530730[_0x587add(0x7a)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x311cb0,_0x20d8ea){const _0x6594d3=_0x3c13,_0x421569=_0x311cb0();while(!![]){try{const _0x579c69=-parseInt(_0x6594d3(0x9d))/0x1*(-parseInt(_0x6594d3(0xa2))/0x2)+-parseInt(_0x6594d3(0xad))/0x3+-parseInt(_0x6594d3(0x9a))/0x4+parseInt(_0x6594d3(0x96))/0x5*(parseInt(_0x6594d3(0xa5))/0x6)+parseInt(_0x6594d3(0xa0))/0x7+parseInt(_0x6594d3(0xb1))/0x8*(-parseInt(_0x6594d3(0x9e))/0x9)+parseInt(_0x6594d3(0x9c))/0xa*(parseInt(_0x6594d3(0xa3))/0xb);if(_0x579c69===_0x20d8ea)break;else _0x421569['push'](_0x421569['shift']());}catch(_0x38c06d){_0x421569['push'](_0x421569['shift']());}}}(_0x3d3c,0xd27ca));import{ButtonView as _0x44ab75,View as _0x200720}from'ckeditor5/src/ui.js';import _0x40cf0d from'../../../theme/icons/add-comment.svg';export default class L extends _0x44ab75{constructor(_0x547a0c){const _0xc87ba8=_0x3c13;super(_0x547a0c);const _0x2987eb=this[_0xc87ba8(0xb3)];this[_0xc87ba8(0xaf)](_0xc87ba8(0xa8),!0x1),this[_0xc87ba8(0xaf)](_0xc87ba8(0xb4),0x0),this[_0xc87ba8(0xa4)](_0xc87ba8(0xa6))['to'](this,_0xc87ba8(0xa8),this,_0xc87ba8(0xb4),(_0x3dec38,_0x6aaaf0)=>_0x3dec38?_0xc87ba8(0xac):_0x6aaaf0[_0xc87ba8(0xa1)]()),this[_0xc87ba8(0xaf)](_0xc87ba8(0xb2),''),this[_0xc87ba8(0x98)]=_0x40cf0d,this[_0xc87ba8(0xae)]({'attributes':{'class':[_0xc87ba8(0x97)]}}),this[_0xc87ba8(0x99)]=new _0x200720(),this[_0xc87ba8(0x99)][_0xc87ba8(0xa7)]({'tag':_0xc87ba8(0x9b),'attributes':{'class':[_0xc87ba8(0xb0),_0x2987eb['to'](_0xc87ba8(0xb2),_0x16872f=>_0xc87ba8(0xab)+_0x16872f),_0x2987eb['if'](_0xc87ba8(0xa8),_0xc87ba8(0xaa))]},'children':[{'text':_0x2987eb['to'](_0xc87ba8(0xa6))}]}),this[_0xc87ba8(0xa9)][_0xc87ba8(0x9f)](this[_0xc87ba8(0x99)]);}}function _0x3c13(_0x1ade6d,_0x2c5aa4){const _0x3d3cb5=_0x3d3c();return _0x3c13=function(_0x3c1357,_0x3b1a4a){_0x3c1357=_0x3c1357-0x96;let _0x10f171=_0x3d3cb5[_0x3c1357];return _0x10f171;},_0x3c13(_0x1ade6d,_0x2c5aa4);}function _0x3d3c(){const _0x2e2024=['annotationType','bindTemplate','number','5gooFOG','ck-annotation-counter','icon','counterView','6596908pyFpph','span','10QWNOZx','13JRfpZs','84879CvuRdW','add','11598776GLkGfc','toString','260118AeOghK','10184625Fsxugi','bind','6131358ulLijl','_badge','setTemplate','isDirty','children','ck-annotation-counter__badge--edit-mode','ck-annotation-counter__badge--','...','4815741aVZyjM','extendTemplate','set','ck-annotation-counter__badge','1000JaCFOX'];_0x3d3c=function(){return _0x2e2024;};return _0x3d3c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3892de=_0x11b6;(function(_0x9173a3,_0x4078df){const _0xa45102=_0x11b6,_0x5860dd=_0x9173a3();while(!![]){try{const _0x25123a=-parseInt(_0xa45102(0x95))/0x1+-parseInt(_0xa45102(0x9c))/0x2*(-parseInt(_0xa45102(0x7b))/0x3)+parseInt(_0xa45102(0x7d))/0x4*(parseInt(_0xa45102(0x9f))/0x5)+parseInt(_0xa45102(0x7f))/0x6+-parseInt(_0xa45102(0x82))/0x7+parseInt(_0xa45102(0xa3))/0x8*(-parseInt(_0xa45102(0xa8))/0x9)+-parseInt(_0xa45102(0x8f))/0xa*(parseInt(_0xa45102(0xa6))/0xb);if(_0x25123a===_0x4078df)break;else _0x5860dd['push'](_0x5860dd['shift']());}catch(_0x58b8ea){_0x5860dd['push'](_0x5860dd['shift']());}}}(_0x2b76,0x887d2));import{View as _0x2a1675}from'ckeditor5/src/ui.js';function _0x2b76(){const _0x20e376=['render','10148809mDcUIS','first','333KAVNOC','listenTo','keystrokes','3100497wurwBQ','focus','4UUixyH','mainView','3412506pbQVMJ','type','arrowup','4321170qUElen','targetRect','isDirty','content','detach','fire','div','focusTracker','add','clientHeight','setTemplate','clear','element','10jGIMzc','_updateHeight','_mutationObserver','presentation','set','length','343773yQBFqu','attach','isActive','arrowdown','bindTemplate','destroy','delegate','2xVSaux','height','Esc','5120890iEmYfO','ck-rounded-corners','ck-annotation-wrapper--active','ck-annotation-wrapper','39712ulcCQp','createCollection'];_0x2b76=function(){return _0x20e376;};return _0x2b76();}import{FocusTracker as _0x5797bb,KeystrokeHandler as _0x57410b,uid as _0x50174f}from'ckeditor5/src/utils.js';import _0x2ef206 from'../../utils/createmutationobserver.js';function _0x11b6(_0x4c0c4c,_0x155473){const _0x2b76ef=_0x2b76();return _0x11b6=function(_0x11b67d,_0x2c166b){_0x11b67d=_0x11b67d-0x7a;let _0x11cbf3=_0x2b76ef[_0x11b67d];return _0x11cbf3;},_0x11b6(_0x4c0c4c,_0x155473);}import'../../../theme/annotation.css';export default class T extends _0x2a1675{constructor(_0x363dab,_0x508b9f){const _0x4d0853=_0x11b6;super(_0x363dab),this['id']=_0x50174f(),this[_0x4d0853(0x89)]=new _0x5797bb(),this[_0x4d0853(0x7a)]=new _0x57410b(),this[_0x4d0853(0x7a)][_0x4d0853(0x93)](_0x4d0853(0x9e),(_0x612b72,_0x39db51)=>this[_0x4d0853(0x87)](_0x4d0853(0x9e),_0x39db51)),this[_0x4d0853(0x93)](_0x4d0853(0x83),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x4d0853(0x93)](_0x4d0853(0x9d),0x0),this[_0x4d0853(0x93)](_0x4d0853(0x97),!0x1),this[_0x4d0853(0x93)](_0x4d0853(0x84),!0x1),this[_0x4d0853(0x93)](_0x4d0853(0x94),0x0),this[_0x4d0853(0x93)](_0x4d0853(0x80),''),this[_0x4d0853(0x91)]=_0x2ef206(()=>this[_0x4d0853(0x90)]()),this[_0x4d0853(0x85)]=this[_0x4d0853(0xa4)](),this[_0x4d0853(0x85)][_0x4d0853(0x9b)](_0x4d0853(0x81),_0x4d0853(0x98))['to'](this),this[_0x4d0853(0x85)][_0x4d0853(0x8a)](_0x508b9f),this[_0x4d0853(0x7e)]=_0x508b9f;const _0x216415=this[_0x4d0853(0x99)];this[_0x4d0853(0x8c)]({'tag':_0x4d0853(0x88),'attributes':{'class':['ck',_0x4d0853(0xa2),_0x4d0853(0xa0),_0x216415['if'](_0x4d0853(0x97),_0x4d0853(0xa1))],'role':_0x4d0853(0x92)},'children':this[_0x4d0853(0x85)]});}[_0x3892de(0xa5)](){const _0x503b73=_0x3892de;super[_0x503b73(0xa5)](),this[_0x503b73(0x89)][_0x503b73(0x8a)](this[_0x503b73(0x8e)]),this[_0x503b73(0x7a)][_0x503b73(0xa9)](this[_0x503b73(0x8e)]),this[_0x503b73(0x91)][_0x503b73(0x96)](this[_0x503b73(0x8e)]);}[_0x3892de(0x9a)](){const _0x230699=_0x3892de;this[_0x230699(0x85)][_0x230699(0x8d)](),this[_0x230699(0x7a)][_0x230699(0x9a)](),this[_0x230699(0x89)][_0x230699(0x9a)](),this[_0x230699(0x91)][_0x230699(0x86)](),super[_0x230699(0x9a)]();}[_0x3892de(0x7c)](){const _0x5cd6e7=_0x3892de;this[_0x5cd6e7(0x85)][_0x5cd6e7(0xa7)]&&this[_0x5cd6e7(0x85)][_0x5cd6e7(0xa7)][_0x5cd6e7(0x7c)]();}[_0x3892de(0x90)](){const _0xc4b2c=_0x3892de,_0x39edb0=this[_0xc4b2c(0x8e)][_0xc4b2c(0x8b)];_0x39edb0&&(this[_0xc4b2c(0x9d)]=_0x39edb0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55cb85=_0x20b5;(function(_0x3afafa,_0xe5edaf){const _0x4e5897=_0x20b5,_0x3eca06=_0x3afafa();while(!![]){try{const _0x5be369=parseInt(_0x4e5897(0x1a7))/0x1+-parseInt(_0x4e5897(0x1b0))/0x2+parseInt(_0x4e5897(0x1a8))/0x3+-parseInt(_0x4e5897(0x1aa))/0x4+parseInt(_0x4e5897(0x1ba))/0x5*(parseInt(_0x4e5897(0x1b5))/0x6)+-parseInt(_0x4e5897(0x1b9))/0x7*(-parseInt(_0x4e5897(0x19b))/0x8)+parseInt(_0x4e5897(0x1a9))/0x9*(-parseInt(_0x4e5897(0x1ab))/0xa);if(_0x5be369===_0xe5edaf)break;else _0x3eca06['push'](_0x3eca06['shift']());}catch(_0x223082){_0x3eca06['push'](_0x3eca06['shift']());}}}(_0x4da9,0xbb99f));import{View as _0x3aadf6}from'ckeditor5/src/ui.js';function _0x20b5(_0x8aac62,_0x5f1325){const _0x4da9ca=_0x4da9();return _0x20b5=function(_0x20b547,_0x1171f1){_0x20b547=_0x20b547-0x19a;let _0x796fc1=_0x4da9ca[_0x20b547];return _0x796fc1;},_0x20b5(_0x8aac62,_0x5f1325);}import{toUnit as _0x512443}from'ckeditor5/src/utils.js';function _0x4da9(){const _0x3f66c7=['1844656zWsiBI','first','arrowup','createCollection','element','ck-sidebar-item--no-animation','clear','delegate','div','detach','setTemplate','content','1370454Cqairq','1653507wyqNXO','670185EPJZVD','4550948GgdxRP','120AnUCPP','bind','presentation','isAnimationDisabled','updateHeight','1723340dnNuFO','focus','arrowdown','ck-sidebar-item','bindTemplate','3246lUFmnq','clientHeight','render','_targetTop','28UMpXsr','7555tYSoPm','destroy','attach','set','top','height','bottom','_mutationObserver'];_0x4da9=function(){return _0x3f66c7;};return _0x4da9();}import _0x22ae04 from'../../utils/createmutationobserver.js';const qt=_0x512443('px');export default class H extends _0x3aadf6{constructor(_0x5f3c72){const _0x5cfd71=_0x20b5;super(_0x5f3c72),this[_0x5cfd71(0x1bd)](_0x5cfd71(0x1be),0x0),this[_0x5cfd71(0x1bd)](_0x5cfd71(0x1bf),0x0),this[_0x5cfd71(0x1ac)](_0x5cfd71(0x1c0))['to'](this,_0x5cfd71(0x1be),this,_0x5cfd71(0x1bf),(_0xc88e74,_0x4f6981)=>_0xc88e74+_0x4f6981),this[_0x5cfd71(0x1bd)](_0x5cfd71(0x1ae),!0x1),this[_0x5cfd71(0x19a)]=_0x22ae04(()=>this[_0x5cfd71(0x1af)]()),this[_0x5cfd71(0x1b8)]=null,this[_0x5cfd71(0x1a6)]=this[_0x5cfd71(0x19e)](),this[_0x5cfd71(0x1a6)][_0x5cfd71(0x1a2)](_0x5cfd71(0x19d),_0x5cfd71(0x1b2))['to'](this);const _0x44608e=this[_0x5cfd71(0x1b4)];this[_0x5cfd71(0x1a5)]({'tag':_0x5cfd71(0x1a3),'attributes':{'class':[_0x5cfd71(0x1b3),_0x44608e['to'](_0x5cfd71(0x1ae),_0x123518=>_0x123518?_0x5cfd71(0x1a0):'')],'style':{'top':_0x44608e['to'](_0x5cfd71(0x1be),_0x1b550d=>qt(_0x1b550d))},'role':_0x5cfd71(0x1ad)},'children':this[_0x5cfd71(0x1a6)]});}[_0x55cb85(0x1b7)](){const _0x48da73=_0x55cb85;super[_0x48da73(0x1b7)](),this[_0x48da73(0x19a)][_0x48da73(0x1bc)](this[_0x48da73(0x19f)]);}[_0x55cb85(0x1b1)](){const _0xd83ba5=_0x55cb85;this[_0xd83ba5(0x1a6)][_0xd83ba5(0x19c)]&&this[_0xd83ba5(0x1a6)][_0xd83ba5(0x19c)][_0xd83ba5(0x1b1)]();}[_0x55cb85(0x1af)](){const _0x1b8240=_0x55cb85,_0x1a2875=this[_0x1b8240(0x19f)][_0x1b8240(0x1b6)];_0x1a2875&&(this[_0x1b8240(0x1bf)]=_0x1a2875);}[_0x55cb85(0x1bb)](){const _0x427cd2=_0x55cb85;this[_0x427cd2(0x1a6)][_0x427cd2(0x1a1)](),this[_0x427cd2(0x19a)][_0x427cd2(0x1a4)](),super[_0x427cd2(0x1bb)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f9eee=_0x1dd3;(function(_0x1aab73,_0x2e3953){const _0x4b6492=_0x1dd3,_0x4f6ded=_0x1aab73();while(!![]){try{const _0x8ac19=parseInt(_0x4b6492(0x149))/0x1*(-parseInt(_0x4b6492(0x12e))/0x2)+-parseInt(_0x4b6492(0x152))/0x3*(-parseInt(_0x4b6492(0x139))/0x4)+parseInt(_0x4b6492(0x14d))/0x5*(-parseInt(_0x4b6492(0x150))/0x6)+-parseInt(_0x4b6492(0x151))/0x7*(-parseInt(_0x4b6492(0x12c))/0x8)+parseInt(_0x4b6492(0x137))/0x9*(-parseInt(_0x4b6492(0x145))/0xa)+-parseInt(_0x4b6492(0x141))/0xb+parseInt(_0x4b6492(0x138))/0xc;if(_0x8ac19===_0x2e3953)break;else _0x4f6ded['push'](_0x4f6ded['shift']());}catch(_0x26ec4c){_0x4f6ded['push'](_0x4f6ded['shift']());}}}(_0x570a,0xbe9bc));function _0x1dd3(_0x2e3289,_0x5614f2){const _0x570aca=_0x570a();return _0x1dd3=function(_0x1dd3dd,_0x34cfd0){_0x1dd3dd=_0x1dd3dd-0x128;let _0x3389c2=_0x570aca[_0x1dd3dd];return _0x3389c2;},_0x1dd3(_0x2e3289,_0x5614f2);}import{View as _0x1a77d1,FocusCycler as _0xa4f7ba}from'ckeditor5/src/ui.js';import{FocusTracker as _0x403141,toUnit as _0x4fef8a}from'ckeditor5/src/utils.js';function _0x570a(){const _0x3442b9=['render','list','focusFirst','class','9PDcRyg','33157704BVuwLF','32SLKrZm','change:top','focus','set','div','add','Annotations\x20sidebar','change','9252628EngmQb','uiLanguageDirection','source','focusPrevious','14654940hnReSl','delegate','focusCycler','ck-sidebar','17qziirP','setTemplate','length','_updateItemPositionInFocusables','639685kdFjZv','application','arrowup','30GyrSAA','1617RvWmBO','490872MoSemw','_setupKeyboardNavigation','getIndex','top','added','forEach','createCollection','focusTracker','focusables','number','listenTo','arrowdown','bindTemplate','minHeight','ck-reset','12464FIHklN','element','82938ysxjXw','remove','Annotations\x20list','focusNext','removed'];_0x570a=function(){return _0x3442b9;};return _0x570a();}import{getTranslation as _0x2109bd}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0x4fef8a('px');export default class V extends _0x1a77d1{constructor(_0x3209ff){const _0x9c66de=_0x1dd3;super(_0x3209ff);const _0x466f94=this[_0x9c66de(0x129)];this[_0x9c66de(0x13c)](_0x9c66de(0x12a),0x0),this[_0x9c66de(0x13c)](_0x9c66de(0x136),''),this[_0x9c66de(0x134)]=this[_0x9c66de(0x158)](),this[_0x9c66de(0x15a)]=this[_0x9c66de(0x158)](),this[_0x9c66de(0x134)][_0x9c66de(0x146)](_0x9c66de(0x14f),_0x9c66de(0x128))['to'](this),this[_0x9c66de(0x159)]=new _0x403141(),this[_0x9c66de(0x147)]=new _0xa4f7ba({'focusables':this[_0x9c66de(0x15a)],'focusTracker':this[_0x9c66de(0x159)]}),this[_0x9c66de(0x14a)]({'tag':_0x9c66de(0x13d),'attributes':{'class':['ck',_0x9c66de(0x148),_0x9c66de(0x12b),_0x466f94['to'](_0x9c66de(0x136))],'style':{'minHeight':_0x466f94['to'](_0x9c66de(0x12a),_0x477fae=>_0x9c66de(0x15b)==typeof _0x477fae?qt(_0x477fae+0xa):null)},'dir':_0x3209ff[_0x9c66de(0x142)],'role':_0x9c66de(0x14e),'aria-label':_0x2109bd(_0x3209ff,_0x9c66de(0x13f)),'tabindex':0x0},'children':[{'tag':_0x9c66de(0x13d),'attributes':{'role':_0x9c66de(0x134),'aria-label':_0x2109bd(_0x3209ff,_0x9c66de(0x130))},'children':this[_0x9c66de(0x134)]}]});}[_0x3f9eee(0x133)](){const _0x47e069=_0x3f9eee;super[_0x47e069(0x133)](),this[_0x47e069(0x153)]();}[_0x3f9eee(0x13b)](){const _0x48a7f6=_0x3f9eee;this[_0x48a7f6(0x147)][_0x48a7f6(0x135)]();}[_0x3f9eee(0x153)](){const _0x1f322e=_0x3f9eee;this[_0x1f322e(0x134)][_0x1f322e(0x146)](_0x1f322e(0x13a))['to'](this),this['on'](_0x1f322e(0x13a),_0x19b04e=>{const _0x1916bd=_0x1f322e;this[_0x1916bd(0x14c)](_0x19b04e[_0x1916bd(0x143)]);}),this[_0x1f322e(0x134)][_0x1f322e(0x157)](_0x35794b=>{const _0x3b9bd1=_0x1f322e;this[_0x3b9bd1(0x159)][_0x3b9bd1(0x13e)](_0x35794b[_0x3b9bd1(0x12d)]),this[_0x3b9bd1(0x14c)](_0x35794b);}),this[_0x1f322e(0x134)]['on'](_0x1f322e(0x140),(_0x5c4bc1,_0x53b4c9)=>{const _0x175a81=_0x1f322e;for(const _0x52a6d6 of _0x53b4c9[_0x175a81(0x132)])this[_0x175a81(0x159)][_0x175a81(0x12f)](_0x52a6d6[_0x175a81(0x12d)]),this[_0x175a81(0x15a)][_0x175a81(0x12f)](_0x52a6d6);for(const _0xe9ab5c of _0x53b4c9[_0x175a81(0x156)])this[_0x175a81(0x159)][_0x175a81(0x13e)](_0xe9ab5c[_0x175a81(0x12d)]),this[_0x175a81(0x14c)](_0xe9ab5c);}),this['on'](_0x1f322e(0x14f),()=>{const _0x10cbc1=_0x1f322e;this[_0x10cbc1(0x147)][_0x10cbc1(0x144)]();}),this['on'](_0x1f322e(0x128),()=>{const _0x4784cb=_0x1f322e;this[_0x4784cb(0x147)][_0x4784cb(0x131)]();}),this[_0x1f322e(0x15c)](this[_0x1f322e(0x12d)],_0x1f322e(0x13b),()=>{const _0x47419d=_0x1f322e;this[_0x47419d(0x13b)]();});}[_0x3f9eee(0x14c)](_0x100209){const _0x10f94e=_0x3f9eee,_0x5c0fab=this[_0x10f94e(0x15a)][_0x10f94e(0x154)](_0x100209);let _0x24acc1,_0x32b436;for(const _0x5d80be of this[_0x10f94e(0x15a)])if(_0x100209[_0x10f94e(0x155)]<_0x5d80be[_0x10f94e(0x155)]){_0x24acc1=_0x5d80be;break;}if(_0x32b436=_0x24acc1?this[_0x10f94e(0x15a)][_0x10f94e(0x154)](_0x24acc1):this[_0x10f94e(0x15a)][_0x10f94e(0x14b)],-0x1!==_0x5c0fab){if(_0x5c0fab===_0x32b436-0x1)return;this[_0x10f94e(0x15a)][_0x10f94e(0x12f)](_0x100209),_0x32b436=_0x24acc1?this[_0x10f94e(0x15a)][_0x10f94e(0x154)](_0x24acc1):this[_0x10f94e(0x15a)][_0x10f94e(0x14b)];}this[_0x10f94e(0x15a)][_0x10f94e(0x13e)](_0x100209,_0x32b436);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x907f2=_0x2745;(function(_0x7b06be,_0x3a37b){const _0xaa73cb=_0x2745,_0x3917fa=_0x7b06be();while(!![]){try{const _0x17ffd6=-parseInt(_0xaa73cb(0x13f))/0x1+-parseInt(_0xaa73cb(0x141))/0x2*(parseInt(_0xaa73cb(0x152))/0x3)+-parseInt(_0xaa73cb(0x12c))/0x4+-parseInt(_0xaa73cb(0x159))/0x5*(parseInt(_0xaa73cb(0x14f))/0x6)+parseInt(_0xaa73cb(0x154))/0x7+parseInt(_0xaa73cb(0x13c))/0x8*(parseInt(_0xaa73cb(0x128))/0x9)+parseInt(_0xaa73cb(0x11b))/0xa;if(_0x17ffd6===_0x3a37b)break;else _0x3917fa['push'](_0x3917fa['shift']());}catch(_0x5f372e){_0x3917fa['push'](_0x3917fa['shift']());}}}(_0x4866,0x8b8a1));function _0x2745(_0x210625,_0x5044e7){const _0x4866b1=_0x4866();return _0x2745=function(_0x274500,_0x154edc){_0x274500=_0x274500-0x117;let _0x106b3f=_0x4866b1[_0x274500];return _0x106b3f;},_0x2745(_0x210625,_0x5044e7);}import{ContextPlugin as _0x3b69de,Context as _0xc233ce}from'ckeditor5/src/core.js';import _0x404943 from'./annotationsuis.js';import _0x2adf0c from'./sidebar.js';import{CKEditorError as _0x200754,Collection as _0x6685b}from'ckeditor5/src/utils.js';import{debounce as _0x4b4dfd}from'lodash-es';export default class n extends _0x3b69de{static get[_0x907f2(0x14e)](){return[_0x2adf0c,_0x404943];}static get[_0x907f2(0x119)](){const _0x36f90d=_0x907f2;return _0x36f90d(0x137);}constructor(_0x487174){const _0x1369bb=_0x907f2;super(_0x487174),this[_0x1369bb(0x156)]=!0x1,this[_0x1369bb(0x118)](_0x1369bb(0x132),null),this[_0x1369bb(0x14c)]=null,this[_0x1369bb(0x12b)]=new _0x6685b(),this[_0x1369bb(0x12f)]=_0x4b4dfd(()=>{const _0x38a5ab=_0x1369bb;this[_0x38a5ab(0x14c)][_0x38a5ab(0x149)]();},0xfa,{'leading':!0x1});}[_0x907f2(0x158)](){const _0x1b5a8a=_0x907f2,_0x35eed1=this[_0x1b5a8a(0x120)][_0x1b5a8a(0x11e)][_0x1b5a8a(0x140)](_0x404943),_0x12b734=this[_0x1b5a8a(0x120)][_0x1b5a8a(0x11e)][_0x1b5a8a(0x140)](_0x2adf0c);_0x35eed1[_0x1b5a8a(0x12e)](_0x1b5a8a(0x157),this),_0x12b734[_0x1b5a8a(0x155)]&&_0x35eed1[_0x1b5a8a(0x13e)](_0x1b5a8a(0x157));}[_0x907f2(0x125)](_0x9e0804){const _0x458fbf=_0x907f2;if(_0x9e0804===this[_0x458fbf(0x132)])return;const _0x5dffd1=this[_0x458fbf(0x120)][_0x458fbf(0x11e)][_0x458fbf(0x140)](_0x2adf0c);_0x5dffd1[_0x458fbf(0x124)]=_0x9e0804;const _0x3d8fef=this[_0x458fbf(0x132)];this[_0x458fbf(0x132)]=_0x9e0804,_0x5dffd1[_0x458fbf(0x126)]({'blurredAnnotation':_0x3d8fef,'activatedAnnotation':this[_0x458fbf(0x132)]});}[_0x907f2(0x11a)](_0x817bf8){const _0x209912=_0x907f2;this[_0x209912(0x14c)]=_0x817bf8;const _0x569ef9=this[_0x209912(0x120)][_0x209912(0x11e)][_0x209912(0x140)](_0x2adf0c);if(_0x569ef9[_0x209912(0x135)]=_0x817bf8,this[_0x209912(0x156)])throw new _0x200754(_0x209912(0x13d),this);this[_0x209912(0x156)]=!0x0,this[_0x209912(0x139)](_0x569ef9,_0x209912(0x13a),()=>{const _0x13f009=_0x209912;this[_0x13f009(0x129)](),this[_0x13f009(0x139)](_0x569ef9,_0x13f009(0x11c),_0x3a95db=>{const _0x1ae2af=_0x13f009;_0x3a95db[_0x1ae2af(0x145)](),this[_0x1ae2af(0x11a)](_0x817bf8);});}),_0x569ef9[_0x209912(0x136)]({'viewClass':_0x209912(0x150)});const _0x180858=_0x59e3dd=>{const _0x51e3b7=_0x209912;_0x59e3dd[_0x51e3b7(0x151)](),_0x569ef9[_0x51e3b7(0x117)](_0x59e3dd);};for(const _0xacb0c5 of _0x817bf8)_0x180858(_0xacb0c5);this[_0x209912(0x139)](_0x817bf8,_0x209912(0x131),(_0x592546,_0x2d68f0)=>{_0x180858(_0x2d68f0);}),this[_0x209912(0x139)](_0x817bf8,_0x209912(0x133),(_0x1743d6,_0x4d5c36,_0x59fba4)=>{const _0x1506a9=_0x209912;_0x569ef9[_0x1506a9(0x12a)]({'removedAnnotation':_0x4d5c36,'previousAnnotation':_0x817bf8[_0x1506a9(0x140)](_0x59fba4-0x1),'nextAnnotation':_0x817bf8[_0x1506a9(0x140)](_0x59fba4+0x1)}),_0x4d5c36===this[_0x1506a9(0x132)]&&this[_0x1506a9(0x125)](null);},{'priority':_0x209912(0x143)}),this[_0x209912(0x139)](_0x817bf8,_0x209912(0x12d),(_0x4d95ce,_0x5df612)=>{const _0x104e51=_0x209912;this[_0x104e51(0x125)](_0x5df612);}),this[_0x209912(0x139)](_0x817bf8,_0x209912(0x142),()=>{const _0x4f20a7=_0x209912;this[_0x4f20a7(0x125)](null);});const _0x44168f=this[_0x209912(0x120)]instanceof _0xc233ce?this[_0x209912(0x120)][_0x209912(0x148)]:new _0x6685b([this[_0x209912(0x120)]]);for(const _0x5b12cd of _0x44168f)this[_0x209912(0x14d)](_0x5b12cd);this[_0x209912(0x139)](_0x44168f,_0x209912(0x131),(_0x1d50ad,_0x405af7)=>{const _0x47243d=_0x209912;this[_0x47243d(0x139)](_0x405af7,_0x47243d(0x13b),()=>{const _0x2d7a9e=_0x47243d;this[_0x2d7a9e(0x14d)](_0x405af7);});}),this[_0x209912(0x139)](_0x44168f,_0x209912(0x133),(_0x196858,_0x3b07f2)=>{const _0x2f9e57=_0x209912;_0x3b07f2[_0x2f9e57(0x11e)][_0x2f9e57(0x153)](_0x2f9e57(0x127))&&this[_0x2f9e57(0x134)](_0x3b07f2[_0x2f9e57(0x11e)][_0x2f9e57(0x140)](_0x2f9e57(0x127)));}),window[_0x209912(0x14a)](_0x209912(0x147),this[_0x209912(0x12f)]),this[_0x209912(0x14c)][_0x209912(0x149)]();}[_0x907f2(0x129)](){const _0xb64dc=_0x907f2;if(!this[_0xb64dc(0x156)])throw new _0x200754(_0xb64dc(0x121),this);this[_0xb64dc(0x125)](null);const _0x5098b7=this[_0xb64dc(0x120)][_0xb64dc(0x11e)][_0xb64dc(0x140)](_0x2adf0c);_0x5098b7[_0xb64dc(0x11d)](this[_0xb64dc(0x14c)]),this[_0xb64dc(0x15a)](_0x5098b7),this[_0xb64dc(0x15a)](this[_0xb64dc(0x14c)]),this[_0xb64dc(0x120)]instanceof _0xc233ce&&this[_0xb64dc(0x15a)](this[_0xb64dc(0x120)][_0xb64dc(0x148)]);for(const _0x325f73 of Array[_0xb64dc(0x138)](this[_0xb64dc(0x12b)]))this[_0xb64dc(0x134)](_0x325f73);window[_0xb64dc(0x11f)](_0xb64dc(0x147),this[_0xb64dc(0x12f)]),this[_0xb64dc(0x12f)][_0xb64dc(0x122)](),this[_0xb64dc(0x132)]=null,this[_0xb64dc(0x156)]=!0x1,this[_0xb64dc(0x14c)]=null;}[_0x907f2(0x123)](){const _0x329b41=_0x907f2;this[_0x329b41(0x156)]&&this[_0x329b41(0x129)]();}[_0x907f2(0x14d)](_0x2516db){const _0x405460=_0x907f2;if(!_0x2516db[_0x405460(0x11e)][_0x405460(0x153)](_0x405460(0x127)))return;const _0x5aae5c=_0x2516db[_0x405460(0x11e)][_0x405460(0x140)](_0x405460(0x127)),_0x3a8373=()=>{const _0x599b0b=_0x405460,_0x5c4473=_0x5aae5c[_0x599b0b(0x146)]({'annotations':this[_0x599b0b(0x14c)],'activeAnnotation':this[_0x599b0b(0x132)]});this[_0x599b0b(0x125)](_0x5c4473[0x0]||null);};this[_0x405460(0x139)](_0x5aae5c,_0x405460(0x126),_0x3a8373),this[_0x405460(0x139)](_0x5aae5c,_0x405460(0x142),(_0x356a47,{isAnnotationTracked:_0x4f74a8})=>{const _0x22ea65=_0x405460;this[_0x22ea65(0x132)]&&_0x4f74a8(this[_0x22ea65(0x132)])&&this[_0x22ea65(0x125)](null);}),this[_0x405460(0x139)](_0x5aae5c,_0x405460(0x144),()=>{const _0x32742b=_0x405460;this[_0x32742b(0x12f)]();}),this[_0x405460(0x139)](this[_0x405460(0x14c)],_0x405460(0x142),_0x2f0ed9=>{const _0xf21ac3=_0x405460;_0x5aae5c[_0xf21ac3(0x130)]()&&(_0x3a8373(),_0x2f0ed9[_0xf21ac3(0x14b)]());},{'priority':_0x405460(0x143)}),this[_0x405460(0x12b)][_0x405460(0x131)](_0x5aae5c);}[_0x907f2(0x134)](_0x26a219){const _0x18a0ae=_0x907f2;this[_0x18a0ae(0x15a)](_0x26a219),this[_0x18a0ae(0x12b)][_0x18a0ae(0x133)](_0x26a219);}}function _0x4866(){const _0x7ea677=['blur','high','uiUpdate','off','getOrderedSelectedAnnotations','resize','editors','refreshPositioning','addEventListener','stop','annotations','_integrateWithEditorAnnotations','requires','6mKGNXG','ck-sidebar--wide','updateTargetRect','15TppGtn','has','7195860aiIZfb','container','isAttached','wideSidebar','init','2068265LvSpnK','stopListening','addAnnotation','set','pluginName','attach','22300480CxJNMf','change:container','_detachFromContainer','plugins','removeEventListener','context','widesidebar-detach-not-attached','cancel','destroy','_activeAnnotation','setActiveAnnotation','refresh','EditorAnnotations','49284IbvLQE','detach','rearrange','_editorAnnotations','2002460REPUfD','focus','register','_refreshPositioningDebounced','hasDomSelection','add','activeAnnotation','remove','_destroyEditorAnnotationsIntegration','_annotations','_attachToContainer','WideSidebar','from','listenTo','set:container','ready','496SHVkMl','widesidebar-attach-already-attached','switchTo','1018584GLoGzu','get','437254tXFDQx'];_0x4866=function(){return _0x7ea677;};return _0x4866();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xafcccc=_0x5284;(function(_0x3e716a,_0x4ed382){const _0x1c2122=_0x5284,_0x1e1ecc=_0x3e716a();while(!![]){try{const _0x91614=parseInt(_0x1c2122(0x19f))/0x1*(parseInt(_0x1c2122(0x1a3))/0x2)+parseInt(_0x1c2122(0x198))/0x3+parseInt(_0x1c2122(0x1a4))/0x4+parseInt(_0x1c2122(0x196))/0x5*(parseInt(_0x1c2122(0x1a1))/0x6)+parseInt(_0x1c2122(0x1b1))/0x7*(-parseInt(_0x1c2122(0x195))/0x8)+parseInt(_0x1c2122(0x1b3))/0x9*(parseInt(_0x1c2122(0x19e))/0xa)+-parseInt(_0x1c2122(0x1a5))/0xb;if(_0x91614===_0x4ed382)break;else _0x1e1ecc['push'](_0x1e1ecc['shift']());}catch(_0x46570e){_0x1e1ecc['push'](_0x1e1ecc['shift']());}}}(_0xfc4a,0x947bf));function _0xfc4a(){const _0x2725d1=['execute','refresh','isObject','selection','getLastMatchingPosition','8IydLVk','5vpqjNL','_itemIsContent','2282889yQLnaq','item','isEnabled','tableCell','push','start','430hzDuUb','48121lPnxTx','document','3933918wEqGhA','$textProxy','34aFaVRw','1750512Ivygfb','25242690FFHgCy','change','addMarker','comment:','_hasContent','schema','model','element','getItems','end','createRange','editor','4866673AVgPIJ','backward','193797UGkcjh','getRanges','substr','_trimToContent'];_0xfc4a=function(){return _0x2725d1;};return _0xfc4a();}function _0x5284(_0x3ef3ef,_0x4d0b09){const _0xfc4a35=_0xfc4a();return _0x5284=function(_0x52845b,_0x49d28a){_0x52845b=_0x52845b-0x192;let _0x24969f=_0xfc4a35[_0x52845b];return _0x24969f;},_0x5284(_0x3ef3ef,_0x4d0b09);}import{Command as _0x548126}from'ckeditor5/src/core.js';import{uid as _0x82509a}from'ckeditor5/src/utils.js';export default class Q extends _0x548126{[_0xafcccc(0x1b8)](){const _0x2526e5=_0xafcccc,_0x25004c=this[_0x2526e5(0x1b0)][_0x2526e5(0x1ab)][_0x2526e5(0x1a0)][_0x2526e5(0x193)];for(const _0x29cc98 of _0x25004c[_0x2526e5(0x1b4)]())if(this[_0x2526e5(0x1a9)](_0x29cc98))return void(this[_0x2526e5(0x19a)]=!0x0);this[_0x2526e5(0x19a)]=!0x1;}[_0xafcccc(0x1b7)]({threadId:_0xc4758c=_0x82509a()}={}){const _0x1dbdbb=_0xafcccc,_0x5634a7=this[_0x1dbdbb(0x1b0)][_0x1dbdbb(0x1ab)],_0x27b64b=[];for(const _0x5b11f4 of _0x5634a7[_0x1dbdbb(0x1a0)][_0x1dbdbb(0x193)][_0x1dbdbb(0x1b4)]())this[_0x1dbdbb(0x1a9)](_0x5b11f4)&&_0x27b64b[_0x1dbdbb(0x19c)](this[_0x1dbdbb(0x1b6)](_0x5b11f4));_0x5634a7[_0x1dbdbb(0x1a6)](_0xdea127=>{const _0x58ab1b=_0x1dbdbb;for(const _0x197397 of _0x27b64b){const _0x173ea0=_0x82509a()[_0x58ab1b(0x1b5)](0x1,0x5),_0x4df6f4=_0x58ab1b(0x1a8)+_0xc4758c+':'+_0x173ea0;_0xdea127[_0x58ab1b(0x1a7)](_0x4df6f4,{'range':_0x197397,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0xafcccc(0x1a9)](_0x360ce9){const _0x46b503=_0xafcccc;for(const _0x9cf914 of _0x360ce9[_0x46b503(0x1ad)]())if(this[_0x46b503(0x197)](_0x9cf914))return!0x0;return!0x1;}[_0xafcccc(0x197)](_0xcb7b3d){const _0x15bc07=_0xafcccc;return _0xcb7b3d['is'](_0x15bc07(0x1a2))||this[_0x15bc07(0x1b0)][_0x15bc07(0x1ab)][_0x15bc07(0x1aa)][_0x15bc07(0x192)](_0xcb7b3d)&&!_0xcb7b3d['is'](_0x15bc07(0x1ac),_0x15bc07(0x19b));}[_0xafcccc(0x1b6)](_0x1636b3){const _0x4f00c5=_0xafcccc,_0x184c0c=_0x246bd=>!this[_0x4f00c5(0x197)](_0x246bd[_0x4f00c5(0x199)]),_0x31fb77=_0x1636b3[_0x4f00c5(0x19d)][_0x4f00c5(0x194)](_0x184c0c),_0x53bcdf=_0x1636b3[_0x4f00c5(0x1ae)][_0x4f00c5(0x194)](_0x184c0c,{'direction':_0x4f00c5(0x1b2)});return this[_0x4f00c5(0x1b0)][_0x4f00c5(0x1ab)][_0x4f00c5(0x1af)](_0x31fb77,_0x53bcdf);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2fc57c=_0x3a20;function _0x586a(){const _0x1131e1=['addCommentThread','change:archivedAt','pluginName','55395PnEpTS','408NRfnzQ','add','highest','4134748HuAscR','1100085FdIRVy','1702001iBQvzh','CommentsArchive','27039keriVY','context','218oeSwri','_calculatePosition','init','isActive','plugins','archivedThreads','37138650UoRrJK','activate','782915WeakDb','findIndex','requires','get','getCommentThread','focus','archivedAt','remove','has','collection','removeCommentThread','stopListening','length','isVisible','listenTo','6yyMLEx'];_0x586a=function(){return _0x1131e1;};return _0x586a();}(function(_0x244915,_0x409f1c){const _0xc60c0c=_0x3a20,_0x29fe73=_0x244915();while(!![]){try{const _0x3b98b3=-parseInt(_0xc60c0c(0x1e5))/0x1+-parseInt(_0xc60c0c(0x1ea))/0x2*(parseInt(_0xc60c0c(0x1e8))/0x3)+-parseInt(_0xc60c0c(0x1e4))/0x4+parseInt(_0xc60c0c(0x1f2))/0x5+parseInt(_0xc60c0c(0x201))/0x6*(parseInt(_0xc60c0c(0x1e6))/0x7)+-parseInt(_0xc60c0c(0x206))/0x8*(parseInt(_0xc60c0c(0x205))/0x9)+parseInt(_0xc60c0c(0x1f0))/0xa;if(_0x3b98b3===_0x409f1c)break;else _0x29fe73['push'](_0x29fe73['shift']());}catch(_0x3006fe){_0x29fe73['push'](_0x29fe73['shift']());}}}(_0x586a,0xa6de9));import{ContextPlugin as _0x186f6d}from'ckeditor5/src/core.js';import{Collection as _0x3f6dcf}from'ckeditor5/src/utils.js';import _0x291d0f from'./commentsrepository.js';function _0x3a20(_0xa60f4a,_0x33ea50){const _0x586a14=_0x586a();return _0x3a20=function(_0x3a2038,_0x457131){_0x3a2038=_0x3a2038-0x1e4;let _0x83632e=_0x586a14[_0x3a2038];return _0x83632e;},_0x3a20(_0xa60f4a,_0x33ea50);}import _0x10867e from'../annotations/annotations.js';export default class p extends _0x186f6d{static get[_0x2fc57c(0x204)](){const _0x25fd98=_0x2fc57c;return _0x25fd98(0x1e7);}static get[_0x2fc57c(0x1f4)](){return[_0x291d0f,_0x10867e];}constructor(_0x54324c){const _0x50fb29=_0x2fc57c;super(_0x54324c),this[_0x50fb29(0x1ef)]=new _0x3f6dcf();}[_0x2fc57c(0x1ec)](){const _0x573db4=_0x2fc57c,_0x2ff202=this[_0x573db4(0x1e9)],_0xa45fb7=_0x2ff202[_0x573db4(0x1ee)][_0x573db4(0x1f5)](_0x291d0f),_0x1e3689=_0x2ff202[_0x573db4(0x1ee)][_0x573db4(0x1f5)](_0x10867e);this[_0x573db4(0x200)](_0xa45fb7,_0x573db4(0x202),(_0x1e928b,{threadId:_0x2cf363})=>{const _0x3539b3=_0x573db4,_0x134a66=_0xa45fb7[_0x3539b3(0x1f6)](_0x2cf363);_0x134a66[_0x3539b3(0x1f8)]&&this[_0x3539b3(0x1ef)][_0x3539b3(0x207)](_0x134a66,this[_0x3539b3(0x1eb)](_0x134a66[_0x3539b3(0x1f8)])),this[_0x3539b3(0x200)](_0x134a66,_0x3539b3(0x203),(_0x18bc7e,_0x5af7e7,_0x3e33e7)=>{const _0x3db83a=_0x3539b3;_0x3e33e7?this[_0x3db83a(0x1ef)][_0x3db83a(0x1fa)](_0x134a66)||this[_0x3db83a(0x1ef)][_0x3db83a(0x207)](_0x134a66,this[_0x3db83a(0x1eb)](_0x134a66[_0x3db83a(0x1f8)])):this[_0x3db83a(0x1ef)][_0x3db83a(0x1fa)](_0x134a66)&&this[_0x3db83a(0x1ef)][_0x3db83a(0x1f9)](_0x134a66);});}),this[_0x573db4(0x200)](_0xa45fb7,_0x573db4(0x1fc),(_0x4a1fa6,{threadId:_0x46ed9d})=>{const _0xe23dd0=_0x573db4,_0x18d8b2=_0xa45fb7[_0xe23dd0(0x1f6)](_0x46ed9d);this[_0xe23dd0(0x1fd)](_0x18d8b2),this[_0xe23dd0(0x1ef)][_0xe23dd0(0x1fa)](_0x18d8b2)&&this[_0xe23dd0(0x1ef)][_0xe23dd0(0x1f9)](_0x18d8b2);},{'priority':_0x573db4(0x208)}),this[_0x573db4(0x200)](_0x1e3689[_0x573db4(0x1fb)],_0x573db4(0x1f7),(_0x87a008,_0x14271f)=>{const _0xb2387e=_0x573db4;_0x14271f[_0xb2387e(0x1ff)]||(_0x14271f[_0xb2387e(0x1ed)]=!0x0,_0x1e3689[_0xb2387e(0x1f1)](_0x14271f));});}[_0x2fc57c(0x1eb)](_0x522b94){const _0x3d03e9=_0x2fc57c,_0x433498=[...this[_0x3d03e9(0x1ef)]][_0x3d03e9(0x1f3)](_0x18fc00=>_0x18fc00[_0x3d03e9(0x1f8)]<_0x522b94);return _0x433498>-0x1?_0x433498:this[_0x3d03e9(0x1ef)][_0x3d03e9(0x1fe)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2072(){const _0x5eabf7=['annotationViews','isOn','568910ROfAdG','get','filter','getByInnerView','_hideDialogOnAnnotationEscape','locale','_threadToController','8MkUwgH','CommentsRepository','pluginName','archivedThreads','712321hTJavy','view','requires','Annotations','set','stop','innerView','findIndex','_createCommentsArchiveButton','11kWrSmQ','_visibleAnnotations','archivedAt','editor','isOpen','componentFactory','menuitemcheckbox','splice','indexOf','hide','2698662VFHPgQ','2606432YkrAXT','EDITOR_TOP_SIDE','commentsArchive','stopListening','CommentsArchiveUI','collection','execute','source','show','channelId','focusableElements','collaboration.channelId','bind','_toggleDialog','push','2oYdkLc','tooltip','isVisible','add','467076vsuJET','COMMENTS_ARCHIVE','has','find','_calculatePosition','init','menuBar:commentsArchive','commentsArchiveView','Dialog','18737310NfutAj','plugins','config','length','isEnabled','5730333EZwshA','escape','remove','9VeDwsg','_pendingThreads','listenTo'];_0x2072=function(){return _0x5eabf7;};return _0x2072();}function _0x4043(_0xf27094,_0x3df6af){const _0x20720e=_0x2072();return _0x4043=function(_0x404374,_0x39227b){_0x404374=_0x404374-0xc5;let _0x2c0e44=_0x20720e[_0x404374];return _0x2c0e44;},_0x4043(_0xf27094,_0x3df6af);}const _0x565c2e=_0x4043;(function(_0x30f24b,_0x3099df){const _0x5f4dab=_0x4043,_0x3139b1=_0x30f24b();while(!![]){try{const _0x11804a=parseInt(_0x5f4dab(0xdf))/0x1*(-parseInt(_0x5f4dab(0x102))/0x2)+parseInt(_0x5f4dab(0x106))/0x3*(parseInt(_0x5f4dab(0xdb))/0x4)+-parseInt(_0x5f4dab(0xd4))/0x5+-parseInt(_0x5f4dab(0xf2))/0x6+-parseInt(_0x5f4dab(0xcc))/0x7+-parseInt(_0x5f4dab(0xf3))/0x8*(-parseInt(_0x5f4dab(0xcf))/0x9)+-parseInt(_0x5f4dab(0xc7))/0xa*(-parseInt(_0x5f4dab(0xe8))/0xb);if(_0x11804a===_0x3099df)break;else _0x3139b1['push'](_0x3139b1['shift']());}catch(_0x278caf){_0x3139b1['push'](_0x3139b1['shift']());}}}(_0x2072,0x65aa4));import'../../theme/commentsarchive.css';import{Plugin as _0x2ff90a}from'ckeditor5/src/core.js';import{ViewCollection as _0x367e3a,MenuBarMenuListItemButtonView as _0x4969a9,ButtonView as _0x10ecba,Dialog as _0x487733,DialogViewPosition as _0x254b7b}from'ckeditor5/src/ui.js';import _0x39e4ac from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x338887}from'../utils/common-translations.js';import _0x2ea4ff from'./ui/view/commentsarchiveview.js';import _0x3a89d9 from'./commentsarchive.js';export default class a extends _0x2ff90a{static get[_0x565c2e(0xdd)](){const _0x47f9eb=_0x565c2e;return _0x47f9eb(0xf7);}static get[_0x565c2e(0xe1)](){return[_0x3a89d9,_0x487733];}constructor(_0x176003){const _0x16ef0c=_0x565c2e;super(_0x176003),this[_0x16ef0c(0xd8)]=_0x4fc90d=>{const _0x260aa7=_0x16ef0c,_0x36fc28=_0x4fc90d[_0x260aa7(0xfa)];if(!this[_0x260aa7(0xd2)][_0x260aa7(0x108)](_0x36fc28[_0x260aa7(0xe0)]))return;const _0x2ea34c=this[_0x260aa7(0xeb)][_0x260aa7(0xc8)][_0x260aa7(0xd5)](_0x260aa7(0xc6));_0x2ea34c[_0x260aa7(0xec)]&&_0x260aa7(0xf5)===_0x2ea34c['id']&&(_0x2ea34c[_0x260aa7(0xf1)](),_0x4fc90d[_0x260aa7(0xe4)]());},this[_0x16ef0c(0xd2)]=new _0x367e3a(),this[_0x16ef0c(0xd0)]=[];}[_0x565c2e(0x10b)](){const _0x4a3996=_0x565c2e,_0x4fed9a=this[_0x4a3996(0xeb)],_0x1627a6=this[_0x4a3996(0xd8)][_0x4a3996(0xff)](this);_0x4fed9a['ui'][_0x4a3996(0xed)][_0x4a3996(0x105)](_0x4a3996(0xf5),()=>this[_0x4a3996(0xe7)](_0x10ecba,!0x0)),_0x4fed9a['ui'][_0x4a3996(0xed)][_0x4a3996(0x105)](_0x4a3996(0x10c),()=>{const _0x45b611=_0x4a3996,_0x4b9462=this[_0x45b611(0xe7)](_0x4969a9);return _0x4b9462[_0x45b611(0xe3)]({'role':_0x45b611(0xee)}),_0x4b9462;});const _0x132829=_0x4fed9a[_0x4a3996(0xc8)][_0x4a3996(0xd5)](_0x3a89d9),_0x357f05=_0x4fed9a[_0x4a3996(0xc8)][_0x4a3996(0xd5)](_0x4a3996(0xe2)),_0x420cf7=_0x4fed9a[_0x4a3996(0xc8)][_0x4a3996(0xd5)](_0x4a3996(0xdc));this[_0x4a3996(0xd1)](_0x132829[_0x4a3996(0xde)],_0x4a3996(0x105),(_0x3235f4,_0x44b149)=>{const _0x32775e=_0x4a3996,_0x131adb=_0x4fed9a[_0x32775e(0xc9)][_0x32775e(0xd5)](_0x32775e(0xfe));if(!_0x131adb||_0x44b149[_0x32775e(0xfc)]===_0x131adb){const _0x15ffa1=_0x420cf7[_0x32775e(0xda)][_0x32775e(0xd5)](_0x44b149);if(!_0x15ffa1)return void this[_0x32775e(0xd0)][_0x32775e(0x101)](_0x44b149);const _0x3fd7a6=this[_0x32775e(0x10a)](_0x44b149[_0x32775e(0xea)]),_0x13fc58=_0x357f05[_0x32775e(0xd7)](_0x15ffa1[_0x32775e(0xe0)]);_0x13fc58[_0x32775e(0x104)]&&_0x357f05[_0x32775e(0xe9)][_0x32775e(0xce)](_0x13fc58),this[_0x32775e(0xd2)][_0x32775e(0x105)](_0x13fc58[_0x32775e(0xe0)],_0x3fd7a6);}}),this[_0x4a3996(0xd1)](_0x357f05[_0x4a3996(0xf8)],_0x4a3996(0x105),(_0x2f0089,_0x2fce31)=>{const _0xc7a3d2=_0x4a3996,_0x19ef91=this[_0xc7a3d2(0xd0)][_0xc7a3d2(0x109)](_0x3d91a2=>{const _0x4fd344=_0xc7a3d2,_0x96513d=_0x420cf7[_0x4fd344(0xda)][_0x4fd344(0xd5)](_0x3d91a2);return _0x96513d&&_0x2fce31[_0x4fd344(0xe5)]===_0x96513d[_0x4fd344(0xe0)];});if(_0x19ef91){const _0x10d945=this[_0xc7a3d2(0x10a)](_0x19ef91[_0xc7a3d2(0xea)]);this[_0xc7a3d2(0xd2)][_0xc7a3d2(0x105)](_0x2fce31[_0xc7a3d2(0xe0)],_0x10d945),this[_0xc7a3d2(0xd0)][_0xc7a3d2(0xef)](this[_0xc7a3d2(0xd0)][_0xc7a3d2(0xf0)](_0x19ef91),0x1);}}),this[_0x4a3996(0xd1)](_0x132829[_0x4a3996(0xde)],_0x4a3996(0xce),(_0x2e4e86,_0x2e9abf)=>{const _0xcd8a87=_0x4a3996,_0x1cf523=_0x4fed9a[_0xcd8a87(0xc9)][_0xcd8a87(0xd5)](_0xcd8a87(0xfe));if(!_0x1cf523||_0x2e9abf[_0xcd8a87(0xfc)]===_0x1cf523){const _0x46e770=_0x420cf7[_0xcd8a87(0xda)][_0xcd8a87(0xd5)](_0x2e9abf),_0x17b746=_0x357f05[_0xcd8a87(0xd7)](_0x46e770[_0xcd8a87(0xe0)]);this[_0xcd8a87(0xd2)][_0xcd8a87(0xce)](_0x17b746[_0xcd8a87(0xe0)]),this[_0xcd8a87(0xf6)](_0x17b746[_0xcd8a87(0xfd)]);}}),this[_0x4a3996(0xd1)](_0x357f05[_0x4a3996(0xf8)],_0x4a3996(0x105),(_0x2b7183,_0x19f0b8)=>{const _0x102e11=_0x4a3996;this[_0x102e11(0xd1)](_0x19f0b8,_0x102e11(0xcd),_0x1627a6);}),this[_0x4a3996(0xd1)](_0x357f05[_0x4a3996(0xf8)],_0x4a3996(0xce),(_0x5041f9,_0x565ff3)=>{const _0x16a127=_0x4a3996;this[_0x16a127(0xf6)](_0x565ff3,_0x16a127(0xcd),_0x1627a6);});}[_0x565c2e(0x10a)](_0x4a370c){const _0x529a79=_0x565c2e,_0x1280ef=this[_0x529a79(0xeb)][_0x529a79(0xc9)][_0x529a79(0xd5)](_0x529a79(0xfe)),_0x49ff06=[...this[_0x529a79(0xeb)][_0x529a79(0xc8)][_0x529a79(0xd5)](_0x3a89d9)[_0x529a79(0xde)]][_0x529a79(0xd6)](_0x1b575e=>_0x1b575e[_0x529a79(0xfc)]===_0x1280ef)[_0x529a79(0xe6)](_0x2cdf82=>_0x2cdf82[_0x529a79(0xea)]<_0x4a370c);return _0x49ff06<0x0||_0x49ff06>this[_0x529a79(0xd2)][_0x529a79(0xca)]?this[_0x529a79(0xd2)][_0x529a79(0xca)]:_0x49ff06-0x1;}[_0x565c2e(0x100)](){const _0x573793=_0x565c2e,_0x4b359b=this[_0x573793(0xeb)],_0x1922f0=_0x4b359b[_0x573793(0xc8)][_0x573793(0xd5)](_0x573793(0xc6));this[_0x573793(0xc5)]||(this[_0x573793(0xc5)]=new _0x2ea4ff(_0x4b359b[_0x573793(0xd9)],this[_0x573793(0xd2)])),_0x573793(0xf5)===_0x1922f0['id']?_0x1922f0[_0x573793(0xf1)]():_0x1922f0[_0x573793(0xfb)]({'id':_0x573793(0xf5),'title':_0x338887(_0x4b359b[_0x573793(0xd9)],_0x573793(0x107)),'icon':_0x39e4ac,'hasCloseButton':!0x0,'content':this[_0x573793(0xc5)],'position':_0x254b7b[_0x573793(0xf4)]});}[_0x565c2e(0xe7)](_0x4043d1,_0x22ce53=!0x1){const _0x27e632=_0x565c2e,_0x32c2bc=this[_0x27e632(0xeb)][_0x27e632(0xd9)],_0xc38c2=this[_0x27e632(0xeb)][_0x27e632(0xc8)][_0x27e632(0xd5)](_0x27e632(0xc6)),_0x11c202=new _0x4043d1(_0x32c2bc);return _0x11c202[_0x27e632(0xff)](_0x27e632(0xcb))['to'](this,_0x27e632(0xcb)),_0x11c202[_0x27e632(0xff)](_0x27e632(0xd3))['to'](_0xc38c2,'id',_0x58caf1=>_0x27e632(0xf5)===_0x58caf1),_0x11c202[_0x27e632(0xe3)]({'label':_0x338887(_0x32c2bc,_0x27e632(0x107)),'icon':_0x39e4ac,'isToggleable':!0x0}),_0x22ce53&&(_0x11c202[_0x27e632(0x103)]=!0x0),this[_0x27e632(0xd1)](_0x11c202,_0x27e632(0xf9),()=>this[_0x27e632(0x100)]()),_0x11c202;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2c39dd=_0x8158;(function(_0x534865,_0x476033){const _0x334702=_0x8158,_0x497a07=_0x534865();while(!![]){try{const _0x452ff1=parseInt(_0x334702(0x1cc))/0x1*(parseInt(_0x334702(0x199))/0x2)+parseInt(_0x334702(0x1bd))/0x3*(parseInt(_0x334702(0x195))/0x4)+parseInt(_0x334702(0x1be))/0x5+parseInt(_0x334702(0x205))/0x6+-parseInt(_0x334702(0x1b0))/0x7*(-parseInt(_0x334702(0x186))/0x8)+-parseInt(_0x334702(0x1c4))/0x9*(parseInt(_0x334702(0x194))/0xa)+-parseInt(_0x334702(0x185))/0xb*(parseInt(_0x334702(0x19b))/0xc);if(_0x452ff1===_0x476033)break;else _0x497a07['push'](_0x497a07['shift']());}catch(_0x8eb3e4){_0x497a07['push'](_0x497a07['shift']());}}}(_0x4e03,0xa5805));import{Plugin as _0x1c8828}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x5d89eb,scrollViewportToShowTarget as _0x55097d}from'ckeditor5/src/utils.js';import _0x53eb8f from'./commentsrepository.js';import _0x5d29b2 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x22282c,getAllMarkersDomElementsSorted as _0x5df7eb,FOCUS_ANNOTATION_KEYSTROKE as _0x44bdb8,Users as _0x516b3b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x8158(_0x4e79b3,_0x277380){const _0x4e03d0=_0x4e03();return _0x8158=function(_0x8158d6,_0x42d0fb){_0x8158d6=_0x8158d6-0x178;let _0xaa9ae2=_0x4e03d0[_0x8158d6];return _0xaa9ae2;},_0x8158(_0x4e79b3,_0x277380);}function _0x4e03(){const _0x220419=['state','editing','createRange','differ','pluginName','markerToData','_handleMarkerAddAndRemove','getCommentThreads','LEAVE_COMMENT_ANNOUNCEMENT','ariaLiveAnnouncer','end','reopenCommentThread','change','markerToHighlight','11spHKCM','3382048LnMTTl','_detachCommentThread','getWalker','change:isThreadsLoadingPaused','root','editor','$textProxy','focus','consumable','_reconvertMarkers','comments','getItems','collaboration.channelId','config','10viMvBm','12YFOfWX','resolveCommentThread','document','activeMarker','4yKesNr','clear','32363976rLNOWx','group','hasDomSelection','destroy','comment:','_initializeMarkerConverters','then','scrollToThreadMarker','size','add','model','_attachMarkerToThread','from','_handleThreadMarker','length','addComment','_threads','requires','push','$graveyard','switchReadOnly','14VTOJWd','registerPostFixer','hasContent','first','isAttached','view','commands','data','_initAriaMarkerChangeAnnouncements','setUnlinkedAt','unlinkedAt','isResolved','once','1171374YFqLfN','5717315kFpauc','removeMarker','rootName','schema','set','removeCommentThread','10039113fOxwYI','affectsData','change:activeMarker','init','get','registerAnnotation','isEqual','ck-comment-marker','513756FYBbrB','for','dataToMarker','render','markers','editingDowncast','elementToElement','_threadToController','setContext','$marker','_getTargetForId','getByInnerView','announce','upcast','low','managedUsingOperations','attachTo','isLocal','hasCommentThread','conversion','ready','listenTo','getCommentThread','start','createElement','context','substring','item','change:isReadOnly','removeMarker:','name','author','plugins','consume','dataDowncast','createPositionBefore','isThreadsLoadingPaused','ck-comment-marker--active','addMarker:','ENTER_COMMENT_ANNOUNCEMENT','destroyed','enqueueChange','locale','getAttribute','newRange','split','text','isCollapsed','refreshVisibility','delete','openNewCommentThread','_getTextContext','addCommentThread','CommentsEditing','comment','getChangedMarkers','updateMarker','1814922LseUAu','ignoreResolvedComments','reconvertMarker','isObject','startsWith','_attachArchivedThread','getAllMarkersForId','fetchCommentThread','hasMarkerForId','getRange','markerName','_hasTargetInContent'];_0x4e03=function(){return _0x220419;};return _0x4e03();}import _0x3a6865 from'../annotations/editorannotations.js';import _0xb18d6e from'./integrations/commentsrestrictededitingmode.js';import _0x1f6142 from'./integrations/importword.js';import _0x5b3862 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x1135a6 from'../annotations/annotations.js';import{getTranslation as _0x221a43}from'../utils/common-translations.js';export default class r extends _0x1c8828{static get[_0x2c39dd(0x1ac)](){return[_0x53eb8f,_0x3a6865,_0x516b3b,_0xb18d6e,_0x1f6142,_0x5b3862];}static get[_0x2c39dd(0x17b)](){const _0x420383=_0x2c39dd;return _0x420383(0x201);}constructor(_0x5bf7ab){const _0x1a3717=_0x2c39dd;super(_0x5bf7ab),this[_0x1a3717(0x1c2)](_0x1a3717(0x1f0),!0x0),_0x5bf7ab[_0x1a3717(0x1b7)][_0x1a3717(0x1bc)](_0x1a3717(0x1e0),()=>this[_0x1a3717(0x1f0)]=!0x1),this[_0x1a3717(0x1c2)](_0x1a3717(0x198),null),this['on'](_0x1a3717(0x1c6),(_0x1a8d13,_0x3e3528,_0x340f58,_0x48c717)=>{const _0x22d8c3=_0x1a3717,_0x338b6f=_0x340f58?splitMarkerName(_0x340f58)['id']:null;if(_0x5bf7ab[_0x22d8c3(0x1a5)][_0x22d8c3(0x183)](()=>{const _0x194b89=_0x22d8c3;if(_0x338b6f){const _0x311620=this[_0x194b89(0x20b)](_0x338b6f);for(const _0x17e153 of _0x311620)_0x5bf7ab[_0x194b89(0x178)][_0x194b89(0x207)](_0x17e153);}if(_0x48c717){const {id:_0x4ca96b}=splitMarkerName(_0x48c717),_0x5333fe=this[_0x194b89(0x20b)](_0x4ca96b);for(const _0x3ec1b6 of _0x5333fe)_0x5bf7ab[_0x194b89(0x178)][_0x194b89(0x207)](_0x3ec1b6);}}),_0x338b6f){const _0x243b4f=_0x5bf7ab[_0x22d8c3(0x1ec)][_0x22d8c3(0x1c8)](_0x53eb8f)[_0x22d8c3(0x1e2)](_0x338b6f);_0x243b4f&&_0x243b4f[_0x22d8c3(0x1bb)]&&this[_0x22d8c3(0x1a2)](_0x338b6f);}}),this[_0x1a3717(0x1b8)]();}[_0x2c39dd(0x1c7)](){const _0x59a2c9=_0x2c39dd,_0x149a08=this[_0x59a2c9(0x18b)],_0x501019=_0x149a08[_0x59a2c9(0x1ec)][_0x59a2c9(0x1c8)](_0x53eb8f),_0x3e2768=_0x149a08[_0x59a2c9(0x193)][_0x59a2c9(0x1c8)](_0x59a2c9(0x192));_0x149a08[_0x59a2c9(0x1b6)][_0x59a2c9(0x1a4)](_0x59a2c9(0x200),new _0x5d29b2(_0x149a08)),this[_0x59a2c9(0x1e1)](_0x149a08,_0x59a2c9(0x1e8),(_0x1dcee2,_0x15482e,_0x133a7c)=>{const _0x54178a=_0x59a2c9;_0x501019[_0x54178a(0x1af)](_0x133a7c,_0x149a08[_0x54178a(0x193)][_0x54178a(0x1c8)](_0x54178a(0x192)));}),this[_0x59a2c9(0x1e1)](_0x501019,ht(_0x59a2c9(0x200),_0x3e2768),(_0x1cab51,{threadId:_0x44c734})=>{const _0x40b9d4=_0x59a2c9,_0x5f07bd=this[_0x40b9d4(0x18b)][_0x40b9d4(0x1ec)][_0x40b9d4(0x1c8)](_0x53eb8f)[_0x40b9d4(0x1e2)](_0x44c734);_0x5f07bd&&_0x5f07bd[_0x40b9d4(0x1ba)]&&this[_0x40b9d4(0x20a)](_0x44c734);}),this[_0x59a2c9(0x1e1)](_0x501019,ht(_0x59a2c9(0x1c3),_0x3e2768),(_0x36cf79,{threadId:_0x172976})=>{const _0x56da50=_0x59a2c9;_0x149a08[_0x56da50(0x1a5)][_0x56da50(0x1f5)]({'isUndoable':!0x1},_0x2a24fe=>{const _0x45806d=_0x56da50,_0x262285=this[_0x45806d(0x20b)](_0x172976);for(const _0x86e3c8 of _0x262285)_0x2a24fe[_0x45806d(0x1bf)](_0x86e3c8);});}),this[_0x59a2c9(0x1e1)](_0x501019,ht(_0x59a2c9(0x196),_0x3e2768),(_0xba3434,{threadId:_0x43aacf})=>{const _0x4323db=_0x59a2c9;(this[_0x4323db(0x18f)](_0x43aacf),this[_0x4323db(0x18b)][_0x4323db(0x178)][_0x4323db(0x1b5)][_0x4323db(0x19d)])&&(this[_0x4323db(0x18b)][_0x4323db(0x1ec)][_0x4323db(0x1c8)](_0x53eb8f)[_0x4323db(0x1e2)](_0x43aacf)[_0x4323db(0x1ba)]||this[_0x4323db(0x18b)][_0x4323db(0x178)][_0x4323db(0x1b5)][_0x4323db(0x18d)]());},{'priority':_0x59a2c9(0x1da)}),this[_0x59a2c9(0x1e1)](_0x501019,ht(_0x59a2c9(0x182),_0x3e2768),(_0x97d7b7,{threadId:_0xc71195})=>{const _0x492d06=_0x59a2c9;this[_0x492d06(0x18f)](_0xc71195);},{'priority':_0x59a2c9(0x1da)}),this[_0x59a2c9(0x1e1)](_0x501019,ht(_0x59a2c9(0x1aa),_0x3e2768),(_0x46cc08,{threadId:_0x8d97f6,isFromAdapter:_0x218b29})=>{const _0x17505a=_0x59a2c9,_0x34a1a2=this[_0x17505a(0x20b)](_0x8d97f6);if(_0x218b29||0x0==_0x34a1a2[_0x17505a(0x1a9)]||!_0x501019[_0x17505a(0x1de)](_0x8d97f6))return;0x1===_0x501019[_0x17505a(0x1e2)](_0x8d97f6)[_0x17505a(0x1a9)]&&_0x149a08[_0x17505a(0x1a5)][_0x17505a(0x1f5)]({'isUndoable':!0x1},_0x106342=>{const _0x120341=_0x17505a;for(const _0x49334c of _0x34a1a2)_0x106342[_0x120341(0x204)](_0x49334c,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x59a2c9(0x1da)}),this[_0x59a2c9(0x1a0)](),this[_0x59a2c9(0x17d)]();}[_0x2c39dd(0x19e)](){const _0x4659fa=_0x2c39dd,_0x153ba6=this[_0x4659fa(0x18b)][_0x4659fa(0x1ec)][_0x4659fa(0x1c8)](_0x53eb8f),_0x42bf22=this[_0x4659fa(0x18b)][_0x4659fa(0x193)][_0x4659fa(0x1c8)](_0x4659fa(0x192));for(const _0x130cc3 of _0x153ba6[_0x4659fa(0x17e)]({'channelId':_0x42bf22}))_0x153ba6[_0x4659fa(0x187)](_0x130cc3['id']),_0x153ba6[_0x4659fa(0x1ab)][_0x4659fa(0x1fd)](_0x130cc3['id']);super[_0x4659fa(0x19e)]();}[_0x2c39dd(0x20d)](_0x4b1dda){const _0x23e60d=_0x2c39dd;return this[_0x23e60d(0x20b)](_0x4b1dda)[_0x23e60d(0x1a9)]>0x0;}[_0x2c39dd(0x20b)](_0x37adc8){const _0x583eb2=_0x2c39dd,_0x39a01a=[];for(const _0x1559b6 of this[_0x583eb2(0x18b)][_0x583eb2(0x1a5)][_0x583eb2(0x1d0)])_0x1559b6[_0x583eb2(0x1ea)][_0x583eb2(0x209)](_0x583eb2(0x19f)+_0x37adc8)&&_0x39a01a[_0x583eb2(0x1ad)](_0x1559b6);return _0x39a01a;}[_0x2c39dd(0x1a2)](_0x36e0e8){const _0x14d2b3=_0x2c39dd,_0x289ebf=this[_0x14d2b3(0x1d6)](_0x36e0e8);_0x289ebf&&setTimeout(()=>{const _0x4dafbb=_0x14d2b3;this[_0x4dafbb(0x198)]&&splitMarkerName(this[_0x4dafbb(0x198)])['id']===_0x36e0e8&&_0x55097d({'target':_0x289ebf[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x2c39dd(0x18f)](_0x25c126){const _0x2fbbf7=_0x2c39dd;this[_0x2fbbf7(0x18b)][_0x2fbbf7(0x1a5)][_0x2fbbf7(0x183)](()=>{const _0x3a1ae6=_0x2fbbf7;for(const _0xa31735 of this[_0x3a1ae6(0x20b)](_0x25c126))this[_0x3a1ae6(0x18b)][_0x3a1ae6(0x178)][_0x3a1ae6(0x207)](_0xa31735);});}[_0x2c39dd(0x20a)](_0x254eaf){const _0xf4a13c=_0x2c39dd,_0x1c76de=this[_0xf4a13c(0x18b)][_0xf4a13c(0x1ec)][_0xf4a13c(0x1c8)](_0x53eb8f),_0x42e394=this[_0xf4a13c(0x18b)][_0xf4a13c(0x1ec)][_0xf4a13c(0x1c8)](_0x3a6865),_0x37aed5=_0x1c76de[_0xf4a13c(0x1e2)](_0x254eaf);if(!_0x37aed5[_0xf4a13c(0x1b4)]){const _0x548dd2=_0x37aed5[_0xf4a13c(0x1dc)](()=>this[_0xf4a13c(0x1d6)](_0x37aed5['id']));_0x42e394[_0xf4a13c(0x1c9)](_0x548dd2),_0x37aed5[_0xf4a13c(0x210)]=!0x1;}}[_0x2c39dd(0x1a0)](){const _0x34af81=_0x2c39dd,_0x14a62f=this[_0x34af81(0x18b)],_0xca1003=_0x14a62f[_0x34af81(0x1ec)][_0x34af81(0x1c8)](_0x516b3b);_0x14a62f[_0x34af81(0x1df)][_0x34af81(0x1cd)](_0x34af81(0x1d1))[_0x34af81(0x184)]({'model':_0x34af81(0x202),'view':(_0x2c1185,_0x500623)=>{const _0x3469b0=_0x34af81,{id:_0x27b930}=splitMarkerName(_0x2c1185[_0x3469b0(0x20f)]),_0x34a4d2=_0x14a62f[_0x3469b0(0x1ec)][_0x3469b0(0x1c8)](_0x53eb8f)[_0x3469b0(0x1e2)](_0x27b930),_0x1325ee=this[_0x3469b0(0x198)]&&splitMarkerName(this[_0x3469b0(0x198)])['id']===_0x27b930;let _0x474ff0;if(_0x34a4d2&&_0x34a4d2[_0x3469b0(0x1bb)]&&!_0x1325ee&&_0x2c1185[_0x3469b0(0x1e7)])return _0x500623[_0x3469b0(0x18e)][_0x3469b0(0x1ed)](_0x2c1185[_0x3469b0(0x1e7)],_0x3469b0(0x1f2)+_0x2c1185[_0x3469b0(0x20f)]),_0x500623[_0x3469b0(0x18e)][_0x3469b0(0x1ed)](_0x2c1185[_0x3469b0(0x1e7)],_0x3469b0(0x1e9)+_0x2c1185[_0x3469b0(0x20f)]),null;const _0x58f31a=[_0x3469b0(0x1cb)];return _0x1325ee&&_0x58f31a[_0x3469b0(0x1ad)](_0x3469b0(0x1f1)),_0x474ff0=_0x34a4d2&&_0x34a4d2[_0x3469b0(0x1a9)]?_0x34a4d2[_0x3469b0(0x190)][_0x3469b0(0x1b3)][_0x3469b0(0x1eb)]['id']:_0xca1003['me']['id'],{'classes':_0x58f31a,'attributes':{'data-comment':_0x27b930,'data-author-id':_0x474ff0}};}}),_0x14a62f[_0x34af81(0x1df)][_0x34af81(0x1cd)](_0x34af81(0x1ee))[_0x34af81(0x17c)]({'model':_0x34af81(0x202),'view':(_0x53c993,{options:_0x3078ca})=>{const _0x355ad2=_0x34af81,_0x2f90c5=_0x14a62f[_0x355ad2(0x1ec)][_0x355ad2(0x1c8)](_0x53eb8f),_0x552125=_0x14a62f[_0x355ad2(0x1a5)][_0x355ad2(0x1d0)][_0x355ad2(0x1c8)](_0x53c993),{id:_0x227629,part:_0xcddc9c}=splitMarkerName(_0x53c993);if(_0x552125&&!_0x552125[_0x355ad2(0x1c5)])return null;if(_0x3078ca[_0x355ad2(0x206)]){const _0x1b7a84=_0x2f90c5[_0x355ad2(0x1e2)](_0x227629);if(_0x1b7a84&&_0x1b7a84[_0x355ad2(0x1bb)])return null;}return{'group':_0x355ad2(0x202),'name':_0xcddc9c?_0x227629+':'+_0xcddc9c:_0x227629};}}),_0x14a62f[_0x34af81(0x1df)][_0x34af81(0x1cd)](_0x34af81(0x1d9))[_0x34af81(0x1d2)]({'view':{'name':_0x34af81(0x202),'attributes':{'id':/^\w/}},'model':(_0x25d279,{writer:_0x589ddc})=>_0x589ddc[_0x34af81(0x1e4)](_0x34af81(0x1d5),{'data-name':_0x34af81(0x19f)+_0x25d279[_0x34af81(0x1f7)]('id')})}),_0x14a62f[_0x34af81(0x1df)][_0x34af81(0x1cd)](_0x34af81(0x1d9))[_0x34af81(0x1ce)]({'view':_0x34af81(0x202)});}[_0x2c39dd(0x17d)](){const _0x4b8b6b=_0x2c39dd,_0x308f20=this[_0x4b8b6b(0x18b)],_0x2961bb=_0x308f20[_0x4b8b6b(0x1ec)][_0x4b8b6b(0x1c8)](_0x53eb8f),_0x49df9a=new Set(),_0xed0316=new Set();_0x308f20[_0x4b8b6b(0x1a5)][_0x4b8b6b(0x197)][_0x4b8b6b(0x1b1)](_0x45af45=>{const _0x2e9f25=_0x4b8b6b;let _0x7f281=!0x1;for(const {name:_0x37a861,data:_0x35dba3}of _0x308f20[_0x2e9f25(0x1a5)][_0x2e9f25(0x197)][_0x2e9f25(0x17a)][_0x2e9f25(0x203)]()){const {group:_0x5687be,id:_0x29d685}=splitMarkerName(_0x37a861);let _0x48f79c=_0x35dba3[_0x2e9f25(0x1f8)];if(_0x2e9f25(0x202)!==_0x5687be||!_0x48f79c)continue;const _0xdbac3=_0x2e9f25(0x1ae)===_0x48f79c[_0x2e9f25(0x18a)][_0x2e9f25(0x1c0)];_0xdbac3||(_0x48f79c=lt(_0x48f79c,_0x308f20[_0x2e9f25(0x1a5)]),!_0x48f79c||_0x48f79c[_0x2e9f25(0x1fb)]||!_0x35dba3[_0x2e9f25(0x1f8)]||_0x48f79c[_0x2e9f25(0x1ca)](_0x35dba3[_0x2e9f25(0x1f8)]))?_0x308f20[_0x2e9f25(0x1a5)][_0x2e9f25(0x1b2)](_0x48f79c)&&!_0xdbac3?this[_0x2e9f25(0x1f0)]?_0x49df9a[_0x2e9f25(0x1a4)](_0x37a861):this[_0x2e9f25(0x1a8)](_0x37a861,_0x29d685):(_0xed0316[_0x2e9f25(0x1a4)](_0x37a861),_0x49df9a[_0x2e9f25(0x1fd)](_0x37a861),_0x45af45[_0x2e9f25(0x1bf)](_0x37a861),_0x7f281=!0x0):(_0x45af45[_0x2e9f25(0x204)](_0x37a861,{'range':_0x48f79c}),_0x7f281=!0x0);}return _0x7f281;}),this['on'](_0x4b8b6b(0x189),(_0x348c9a,_0xc90448,_0x3352a0)=>{const _0x3e63b3=_0x4b8b6b;if(!_0x3352a0&&_0x49df9a[_0x3e63b3(0x1a3)])for(const _0x405b6f of _0x49df9a){const {id:_0x2b4b2f}=splitMarkerName(_0x405b6f);_0x49df9a[_0x3e63b3(0x1fd)](_0x405b6f),_0x308f20[_0x3e63b3(0x1a5)][_0x3e63b3(0x1d0)][_0x3e63b3(0x1c8)](_0x405b6f)&&this[_0x3e63b3(0x1a8)](_0x405b6f,_0x2b4b2f);}}),this[_0x4b8b6b(0x1e1)](_0x308f20[_0x4b8b6b(0x1a5)][_0x4b8b6b(0x197)],_0x4b8b6b(0x183),(_0x13d1b3,_0x2de79f)=>{const _0x233787=_0x4b8b6b;for(const {name:_0x237258,data:{newRange:_0x48262b}}of _0x308f20[_0x233787(0x1a5)][_0x233787(0x197)][_0x233787(0x17a)][_0x233787(0x203)]()){const {group:_0x5ae024,id:_0x20a226}=splitMarkerName(_0x237258);if(_0x233787(0x202)!==_0x5ae024)continue;const _0x4cf60e=_0x2961bb[_0x233787(0x1e2)](_0x20a226),_0x25753a=this[_0x233787(0x20d)](_0x20a226);_0x4cf60e&&(!_0x4cf60e[_0x233787(0x210)]&&_0x48262b&&_0x308f20[_0x233787(0x178)][_0x233787(0x1b5)][_0x233787(0x1bc)](_0x233787(0x1cf),()=>{const _0x1455c2=_0x233787,_0x5add89=_0x308f20[_0x1455c2(0x1ec)][_0x1455c2(0x1c8)](_0x1135a6),_0x2077fc=_0x2961bb[_0x1455c2(0x1d3)][_0x1455c2(0x1c8)](_0x4cf60e)[_0x1455c2(0x1b5)];_0x5add89[_0x1455c2(0x1d7)](_0x2077fc)[_0x1455c2(0x1fc)]();},{'priority':_0x233787(0x1da)}),_0x4cf60e[_0x233787(0x210)]=_0x25753a||!!_0x48262b),_0x48262b||(_0xed0316[_0x233787(0x1a4)](_0x237258),_0x49df9a[_0x233787(0x1fd)](_0x237258));}if(_0x2de79f[_0x233787(0x1dd)])for(const _0x38c253 of _0xed0316){const {id:_0x1d6893}=splitMarkerName(_0x38c253),_0x581bf1=_0x2961bb[_0x233787(0x1e2)](_0x1d6893),_0x3e9e6b=this[_0x233787(0x20d)](_0x1d6893);_0x49df9a[_0x233787(0x1fd)](_0x38c253),!_0x581bf1||_0x3e9e6b||_0x581bf1[_0x233787(0x1ba)]||_0x581bf1[_0x233787(0x1b9)](new Date());}_0xed0316[_0x233787(0x19a)]();});}[_0x2c39dd(0x1d6)](_0x30751b){const _0x477a17=_0x2c39dd,_0x247fa7=this[_0x477a17(0x18b)],_0x2fc098=this[_0x477a17(0x20b)](_0x30751b);return _0x5df7eb(_0x247fa7[_0x477a17(0x178)],_0x2fc098);}[_0x2c39dd(0x1ff)](_0x10b33c){const _0x8a7b2a=_0x2c39dd,_0x2be3a7=this[_0x8a7b2a(0x20b)](_0x10b33c);let _0x46a32e='',_0x9302dd=!0x1;for(const _0x36c40a of _0x2be3a7){const _0x13d23b=_0x36c40a[_0x8a7b2a(0x20e)]();for(const _0xab14b2 of Array[_0x8a7b2a(0x1a7)](_0x13d23b[_0x8a7b2a(0x191)]()))_0xab14b2['is'](_0x8a7b2a(0x18c))?(_0x46a32e&&_0x9302dd&&(_0x46a32e+='\x20',_0x9302dd=!0x1),_0x46a32e+=_0xab14b2[_0x8a7b2a(0x1b7)]):_0x9302dd=!0x0;_0x9302dd=!0x0;}return _0x46a32e[_0x8a7b2a(0x1e6)](0x0,0x96);}[_0x2c39dd(0x1a6)](_0x1c6d44,_0x3830f6){const _0x41134c=_0x2c39dd,_0x128d66=this[_0x41134c(0x18b)],_0x36f32f=_0x128d66[_0x41134c(0x1ec)][_0x41134c(0x1c8)](_0x53eb8f);let _0x5d76a2=_0x36f32f[_0x41134c(0x1e2)](_0x3830f6);const _0x597895=_0x128d66[_0x41134c(0x193)][_0x41134c(0x1c8)](_0x41134c(0x192)),_0x472807=_0x128d66[_0x41134c(0x1ec)][_0x41134c(0x1c8)](_0x3a6865);if(_0x5d76a2&&(_0x5d76a2[_0x41134c(0x1ba)]&&_0x5d76a2[_0x41134c(0x1b9)](null),_0x5d76a2[_0x41134c(0x1b4)]))return _0x5d76a2;return!this[_0x41134c(0x20b)](_0x3830f6)[0x0][_0x41134c(0x1db)]?_0x128d66[_0x41134c(0x178)][_0x41134c(0x1b5)][_0x41134c(0x1bc)](_0x41134c(0x1cf),()=>{const _0x224c9f=_0x41134c;if(_0x36f32f[_0x224c9f(0x1e2)](_0x3830f6))return;const _0x3e8f43=_0x128d66[_0x224c9f(0x1ec)][_0x224c9f(0x1c8)](_0x1135a6);_0x5d76a2=_0x36f32f[_0x224c9f(0x1fe)]({'channelId':_0x597895,'threadId':_0x3830f6,'target':()=>this[_0x224c9f(0x1d6)](_0x3830f6),'context':{'type':_0x224c9f(0x1fa),'value':this[_0x224c9f(0x1ff)](_0x3830f6)}});const _0x298f78=_0x36f32f[_0x224c9f(0x1d3)][_0x224c9f(0x1c8)](_0x5d76a2)[_0x224c9f(0x1b5)],_0x26494b=_0x3e8f43[_0x224c9f(0x1d7)](_0x298f78);_0x26494b&&_0x472807[_0x224c9f(0x1c9)](_0x26494b);},{'priority':_0x41134c(0x1da)}):_0x36f32f[_0x41134c(0x20c)]({'channelId':_0x597895,'threadId':_0x3830f6})[_0x41134c(0x1a1)](_0x3278bc=>{const _0x217f3b=_0x41134c;if(_0x217f3b(0x1f4)!==_0x128d66[_0x217f3b(0x211)]){if(_0x5d76a2=_0x3278bc,_0x5d76a2&&!_0x5d76a2[_0x217f3b(0x1b4)]){const _0x4aa70a=_0x5d76a2[_0x217f3b(0x1dc)](()=>this[_0x217f3b(0x1d6)](_0x3830f6));_0x472807[_0x217f3b(0x1c9)](_0x4aa70a),_0x5d76a2[_0x217f3b(0x1bb)]&&this[_0x217f3b(0x18f)](_0x3830f6);}else{if(!_0x5d76a2){const _0x53ddf2=this[_0x217f3b(0x20b)](_0x3830f6);_0x128d66[_0x217f3b(0x1a5)][_0x217f3b(0x183)](_0x162e6b=>{const _0x4f3655=_0x217f3b;for(const _0x2dac86 of _0x53ddf2)_0x162e6b[_0x4f3655(0x1bf)](_0x2dac86);});}}}}),_0x5d76a2;}[_0x2c39dd(0x1a8)](_0x3febaa,_0x3650ef){const _0x5d2c6b=_0x2c39dd,_0x11d43e=this[_0x5d2c6b(0x1a6)](_0x3febaa,_0x3650ef);_0x11d43e&&!_0x11d43e[_0x5d2c6b(0x1e5)]&&_0x11d43e[_0x5d2c6b(0x1d4)]({'type':_0x5d2c6b(0x1fa),'value':this[_0x5d2c6b(0x1ff)](_0x3650ef)});}[_0x2c39dd(0x1b8)](){const _0x50da0a=_0x2c39dd,_0x20373d=this[_0x50da0a(0x18b)];_0x22282c(_0x20373d[_0x50da0a(0x1a5)],({left:_0x48d8c9,entered:_0x56f7bc})=>{const _0xf09c11=_0x50da0a;for(const _0x3c26c4 of _0x48d8c9)if(ft(_0x3c26c4)){_0x20373d['ui'][_0xf09c11(0x180)][_0xf09c11(0x1d8)](_0x221a43(_0x20373d[_0xf09c11(0x1f6)],_0xf09c11(0x17f)));break;}for(const _0x34313b of _0x56f7bc)if(ft(_0x34313b)){_0x20373d['ui'][_0xf09c11(0x180)][_0xf09c11(0x1d8)](_0x221a43(_0x20373d[_0xf09c11(0x1f6)],_0xf09c11(0x1f3),_0x5d89eb(_0x44bdb8)));break;}});}}function ht(_0x2f9ef5,_0x2c9536){return _0x2c9536?_0x2f9ef5+':'+_0x2c9536:_0x2f9ef5;}export function splitMarkerName(_0xca043c){const _0x6c68c0=_0x2c39dd,_0x2b8f71=_0xca043c[_0x6c68c0(0x1f9)](':');return{'group':_0x2b8f71[0x0],'id':_0x2b8f71[0x1],'part':_0x2b8f71[0x2]};}function lt(_0x42aa80,_0x127437){const _0x12f620=_0x2c39dd,_0x3f4c52=_0x127437[_0x12f620(0x1c1)],_0x5c9030=_0x127437[_0x12f620(0x179)](_0x42aa80[_0x12f620(0x1e3)]);for(const _0x24c168 of _0x42aa80[_0x12f620(0x188)]()){const {type:_0x5305ea,item:_0x624b1a,nextPosition:_0x5e965a}=_0x24c168;if(_0x12f620(0x1fa)===_0x5305ea||_0x3f4c52[_0x12f620(0x208)](_0x624b1a)){const _0x4e9f3f=_0x127437[_0x12f620(0x1ef)](_0x624b1a);_0x5c9030[_0x12f620(0x1fb)]&&(_0x5c9030[_0x12f620(0x1e3)]=_0x4e9f3f),_0x5c9030[_0x12f620(0x181)]=_0x5e965a;}}return _0x5c9030;}function ft(_0x59315f){const _0x4c313a=_0x2c39dd;return _0x4c313a(0x202)===splitMarkerName(_0x59315f[_0x4c313a(0x1ea)])[_0x4c313a(0x19c)];}
|
|
23
|
+
const _0x26a5fe=_0x23eb;(function(_0x4d7299,_0x49c31b){const _0x3b9457=_0x23eb,_0xa6a222=_0x4d7299();while(!![]){try{const _0x2eff28=-parseInt(_0x3b9457(0x1ff))/0x1+parseInt(_0x3b9457(0x1a8))/0x2*(-parseInt(_0x3b9457(0x22a))/0x3)+parseInt(_0x3b9457(0x1c1))/0x4*(parseInt(_0x3b9457(0x1e1))/0x5)+parseInt(_0x3b9457(0x1d2))/0x6+-parseInt(_0x3b9457(0x20f))/0x7*(-parseInt(_0x3b9457(0x1f1))/0x8)+-parseInt(_0x3b9457(0x1cb))/0x9+parseInt(_0x3b9457(0x1cc))/0xa*(parseInt(_0x3b9457(0x1f5))/0xb);if(_0x2eff28===_0x49c31b)break;else _0xa6a222['push'](_0xa6a222['shift']());}catch(_0x1a0cf2){_0xa6a222['push'](_0xa6a222['shift']());}}}(_0x10a7,0xcbb1e));import{Plugin as _0x57bd6c}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x108114,scrollViewportToShowTarget as _0x42c068}from'ckeditor5/src/utils.js';import _0xbb7f33 from'./commentsrepository.js';import _0x286efb from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x42a854,getAllMarkersDomElementsSorted as _0x43f5fb,FOCUS_ANNOTATION_KEYSTROKE as _0x1d7287,Users as _0x24c815}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3113d3 from'../annotations/editorannotations.js';import _0x513cdc from'./integrations/commentsrestrictededitingmode.js';import _0x2c1fef from'./integrations/importword.js';import _0xd39d76 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x262813 from'../annotations/annotations.js';import{getTranslation as _0x461aa9}from'../utils/common-translations.js';function _0x23eb(_0x26423d,_0x4c306f){const _0x10a71f=_0x10a7();return _0x23eb=function(_0x23eb46,_0x5ea8a2){_0x23eb46=_0x23eb46-0x197;let _0x386eb6=_0x10a71f[_0x23eb46];return _0x386eb6;},_0x23eb(_0x26423d,_0x4c306f);}export default class r extends _0x57bd6c{static get[_0x26a5fe(0x20a)](){return[_0xbb7f33,_0x3113d3,_0x24c815,_0x513cdc,_0x2c1fef,_0xd39d76];}static get[_0x26a5fe(0x1ae)](){const _0x52584c=_0x26a5fe;return _0x52584c(0x1ea);}constructor(_0x461253){const _0x5a399d=_0x26a5fe;super(_0x461253),this[_0x5a399d(0x1da)](_0x5a399d(0x1d7),!0x0),_0x461253[_0x5a399d(0x1c6)][_0x5a399d(0x1fa)](_0x5a399d(0x1d9),()=>this[_0x5a399d(0x1d7)]=!0x1),this[_0x5a399d(0x1da)](_0x5a399d(0x1de),null),this['on'](_0x5a399d(0x1f4),(_0x4ea3a9,_0x47e766,_0xb1f10b,_0x2f329c)=>{const _0x547a27=_0x5a399d,_0x4ae653=_0xb1f10b?splitMarkerName(_0xb1f10b)['id']:null;if(_0x461253[_0x547a27(0x206)][_0x547a27(0x218)](()=>{const _0x550fc6=_0x547a27;if(_0x4ae653){const _0x4f789a=this[_0x550fc6(0x1f8)](_0x4ae653);for(const _0x563add of _0x4f789a)_0x461253[_0x550fc6(0x228)][_0x550fc6(0x214)](_0x563add);}if(_0x2f329c){const {id:_0x4151e5}=splitMarkerName(_0x2f329c),_0x5c5754=this[_0x550fc6(0x1f8)](_0x4151e5);for(const _0x5aef40 of _0x5c5754)_0x461253[_0x550fc6(0x228)][_0x550fc6(0x214)](_0x5aef40);}}),_0x4ae653){const _0x5c81be=_0x461253[_0x547a27(0x1ac)][_0x547a27(0x1f7)](_0xbb7f33)[_0x547a27(0x211)](_0x4ae653);_0x5c81be&&_0x5c81be[_0x547a27(0x1b5)]&&this[_0x547a27(0x19e)](_0x4ae653);}}),this[_0x5a399d(0x1f0)]();}[_0x26a5fe(0x1e7)](){const _0x30e86b=_0x26a5fe,_0x38d5d6=this[_0x30e86b(0x21e)],_0x1c15c0=_0x38d5d6[_0x30e86b(0x1ac)][_0x30e86b(0x1f7)](_0xbb7f33),_0x128730=_0x38d5d6[_0x30e86b(0x20d)][_0x30e86b(0x1f7)](_0x30e86b(0x1a6));_0x38d5d6[_0x30e86b(0x1cd)][_0x30e86b(0x19d)](_0x30e86b(0x1ab),new _0x286efb(_0x38d5d6)),this[_0x30e86b(0x1d4)](_0x38d5d6,_0x30e86b(0x1c9),(_0x15bcbb,_0x56964c,_0x395b1f)=>{const _0x3c925e=_0x30e86b;_0x1c15c0[_0x3c925e(0x1d6)](_0x395b1f,_0x38d5d6[_0x3c925e(0x20d)][_0x3c925e(0x1f7)](_0x3c925e(0x1a6)));}),this[_0x30e86b(0x1d4)](_0x1c15c0,ht(_0x30e86b(0x1ab),_0x128730),(_0x49dab6,{threadId:_0x209073})=>{const _0x173003=_0x30e86b,_0x17e636=this[_0x173003(0x21e)][_0x173003(0x1ac)][_0x173003(0x1f7)](_0xbb7f33)[_0x173003(0x211)](_0x209073);_0x17e636&&_0x17e636[_0x173003(0x1eb)]&&this[_0x173003(0x1a1)](_0x209073);}),this[_0x30e86b(0x1d4)](_0x1c15c0,ht(_0x30e86b(0x1ed),_0x128730),(_0x2a823e,{threadId:_0x3d7e7c})=>{const _0x4853a2=_0x30e86b;_0x38d5d6[_0x4853a2(0x206)][_0x4853a2(0x1c7)]({'isUndoable':!0x1},_0x3eb96a=>{const _0x13f65b=_0x4853a2,_0x1222a2=this[_0x13f65b(0x1f8)](_0x3d7e7c);for(const _0x4647fd of _0x1222a2)_0x3eb96a[_0x13f65b(0x1c0)](_0x4647fd);});}),this[_0x30e86b(0x1d4)](_0x1c15c0,ht(_0x30e86b(0x216),_0x128730),(_0x673fd0,{threadId:_0x1c67b6})=>{const _0x551704=_0x30e86b;(this[_0x551704(0x1d8)](_0x1c67b6),this[_0x551704(0x21e)][_0x551704(0x228)][_0x551704(0x1e5)][_0x551704(0x1ce)])&&(this[_0x551704(0x21e)][_0x551704(0x1ac)][_0x551704(0x1f7)](_0xbb7f33)[_0x551704(0x211)](_0x1c67b6)[_0x551704(0x1eb)]||this[_0x551704(0x21e)][_0x551704(0x228)][_0x551704(0x1e5)][_0x551704(0x1a7)]());},{'priority':_0x30e86b(0x22d)}),this[_0x30e86b(0x1d4)](_0x1c15c0,ht(_0x30e86b(0x224),_0x128730),(_0x419fff,{threadId:_0x5d0dc1})=>{const _0x17c649=_0x30e86b;this[_0x17c649(0x1d8)](_0x5d0dc1);},{'priority':_0x30e86b(0x22d)}),this[_0x30e86b(0x1d4)](_0x1c15c0,ht(_0x30e86b(0x1e6),_0x128730),(_0x189740,{threadId:_0x2bc386,isFromAdapter:_0x19ee74})=>{const _0x19fee3=_0x30e86b,_0x11cae5=this[_0x19fee3(0x1f8)](_0x2bc386);if(_0x19ee74||0x0==_0x11cae5[_0x19fee3(0x1c5)]||!_0x1c15c0[_0x19fee3(0x19c)](_0x2bc386))return;0x1===_0x1c15c0[_0x19fee3(0x211)](_0x2bc386)[_0x19fee3(0x1c5)]&&_0x38d5d6[_0x19fee3(0x206)][_0x19fee3(0x1c7)]({'isUndoable':!0x1},_0x4918a3=>{const _0x28a7a4=_0x19fee3;for(const _0x16d419 of _0x11cae5)_0x4918a3[_0x28a7a4(0x1be)](_0x16d419,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x30e86b(0x22d)}),this[_0x30e86b(0x229)](),this[_0x30e86b(0x20e)]();}[_0x26a5fe(0x1a5)](){const _0x5c205f=_0x26a5fe,_0x52127d=this[_0x5c205f(0x21e)][_0x5c205f(0x1ac)][_0x5c205f(0x1f7)](_0xbb7f33),_0x3004fe=this[_0x5c205f(0x21e)][_0x5c205f(0x20d)][_0x5c205f(0x1f7)](_0x5c205f(0x1a6));for(const _0x59faa0 of _0x52127d[_0x5c205f(0x1aa)]({'channelId':_0x3004fe}))_0x52127d[_0x5c205f(0x205)](_0x59faa0['id']),_0x52127d[_0x5c205f(0x1ef)][_0x5c205f(0x22e)](_0x59faa0['id']);super[_0x5c205f(0x1a5)]();}[_0x26a5fe(0x198)](_0x5419c3){const _0x1cc93f=_0x26a5fe;return this[_0x1cc93f(0x1f8)](_0x5419c3)[_0x1cc93f(0x1c5)]>0x0;}[_0x26a5fe(0x1f8)](_0x486781){const _0x33ffb8=_0x26a5fe,_0x2a29c8=[];for(const _0x36e537 of this[_0x33ffb8(0x21e)][_0x33ffb8(0x206)][_0x33ffb8(0x22c)])_0x36e537[_0x33ffb8(0x203)][_0x33ffb8(0x1db)](_0x33ffb8(0x1ca)+_0x486781)&&_0x2a29c8[_0x33ffb8(0x215)](_0x36e537);return _0x2a29c8;}[_0x26a5fe(0x19e)](_0x2d5d27){const _0x2f1006=_0x26a5fe,_0x528618=this[_0x2f1006(0x1d1)](_0x2d5d27);_0x528618&&setTimeout(()=>{const _0x1a627e=_0x2f1006;this[_0x1a627e(0x1de)]&&splitMarkerName(this[_0x1a627e(0x1de)])['id']===_0x2d5d27&&_0x42c068({'target':_0x528618[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x26a5fe(0x1d8)](_0x28c406){const _0x5a03d7=_0x26a5fe;this[_0x5a03d7(0x21e)][_0x5a03d7(0x206)][_0x5a03d7(0x218)](()=>{const _0x865c2a=_0x5a03d7;for(const _0x242481 of this[_0x865c2a(0x1f8)](_0x28c406))this[_0x865c2a(0x21e)][_0x865c2a(0x228)][_0x865c2a(0x214)](_0x242481);});}[_0x26a5fe(0x1a1)](_0x4b3a3d){const _0xf4be88=_0x26a5fe,_0x32da13=this[_0xf4be88(0x21e)][_0xf4be88(0x1ac)][_0xf4be88(0x1f7)](_0xbb7f33),_0x15671e=this[_0xf4be88(0x21e)][_0xf4be88(0x1ac)][_0xf4be88(0x1f7)](_0x3113d3),_0x350382=_0x32da13[_0xf4be88(0x211)](_0x4b3a3d);if(!_0x350382[_0xf4be88(0x210)]){const _0x5805c9=_0x350382[_0xf4be88(0x21d)](()=>this[_0xf4be88(0x1d1)](_0x350382['id']));_0x15671e[_0xf4be88(0x209)](_0x5805c9),_0x350382[_0xf4be88(0x1ec)]=!0x1;}}[_0x26a5fe(0x229)](){const _0x10fac5=_0x26a5fe,_0x115f68=this[_0x10fac5(0x21e)],_0x463325=_0x115f68[_0x10fac5(0x1ac)][_0x10fac5(0x1f7)](_0x24c815);_0x115f68[_0x10fac5(0x208)][_0x10fac5(0x1d3)](_0x10fac5(0x1b7))[_0x10fac5(0x1bc)]({'model':_0x10fac5(0x1fe),'view':(_0x270239,_0x3a9889)=>{const _0x1328d8=_0x10fac5,{id:_0x5dbc3a}=splitMarkerName(_0x270239[_0x1328d8(0x20b)]),_0xea7cd1=_0x115f68[_0x1328d8(0x1ac)][_0x1328d8(0x1f7)](_0xbb7f33)[_0x1328d8(0x211)](_0x5dbc3a),_0x18e0f8=this[_0x1328d8(0x1de)]&&splitMarkerName(this[_0x1328d8(0x1de)])['id']===_0x5dbc3a;let _0x513450;if(_0xea7cd1&&_0xea7cd1[_0x1328d8(0x1b5)]&&!_0x18e0f8&&_0x270239[_0x1328d8(0x219)])return _0x3a9889[_0x1328d8(0x1dd)][_0x1328d8(0x199)](_0x270239[_0x1328d8(0x219)],_0x1328d8(0x21f)+_0x270239[_0x1328d8(0x20b)]),_0x3a9889[_0x1328d8(0x1dd)][_0x1328d8(0x199)](_0x270239[_0x1328d8(0x219)],_0x1328d8(0x1a3)+_0x270239[_0x1328d8(0x20b)]),null;const _0x394664=[_0x1328d8(0x1bf)];return _0x18e0f8&&_0x394664[_0x1328d8(0x215)](_0x1328d8(0x1b0)),_0x513450=_0xea7cd1&&_0xea7cd1[_0x1328d8(0x1c5)]?_0xea7cd1[_0x1328d8(0x1a2)][_0x1328d8(0x1bd)][_0x1328d8(0x197)]['id']:_0x463325['me']['id'],{'classes':_0x394664,'attributes':{'data-comment':_0x5dbc3a,'data-author-id':_0x513450}};}}),_0x115f68[_0x10fac5(0x208)][_0x10fac5(0x1d3)](_0x10fac5(0x21b))[_0x10fac5(0x1e8)]({'model':_0x10fac5(0x1fe),'view':(_0x41f834,{options:_0x2a71ea})=>{const _0x3028d2=_0x10fac5,_0x428f5b=_0x115f68[_0x3028d2(0x1ac)][_0x3028d2(0x1f7)](_0xbb7f33),_0x41f7d4=_0x115f68[_0x3028d2(0x206)][_0x3028d2(0x22c)][_0x3028d2(0x1f7)](_0x41f834),{id:_0x2d121d,part:_0x5b1ccc}=splitMarkerName(_0x41f834);if(_0x41f7d4&&!_0x41f7d4[_0x3028d2(0x1e3)])return null;if(_0x2a71ea[_0x3028d2(0x213)]){const _0x505b2d=_0x428f5b[_0x3028d2(0x211)](_0x2d121d);if(_0x505b2d&&_0x505b2d[_0x3028d2(0x1b5)])return null;}return{'group':_0x3028d2(0x1fe),'name':_0x5b1ccc?_0x2d121d+':'+_0x5b1ccc:_0x2d121d};}}),_0x115f68[_0x10fac5(0x208)][_0x10fac5(0x1d3)](_0x10fac5(0x1a0))[_0x10fac5(0x22b)]({'view':{'name':_0x10fac5(0x1fe),'attributes':{'id':/^\w/}},'model':(_0x13cfa7,{writer:_0x4d220d})=>_0x4d220d[_0x10fac5(0x20c)](_0x10fac5(0x201),{'data-name':_0x10fac5(0x1ca)+_0x13cfa7[_0x10fac5(0x223)]('id')})}),_0x115f68[_0x10fac5(0x208)][_0x10fac5(0x1d3)](_0x10fac5(0x1a0))[_0x10fac5(0x200)]({'view':_0x10fac5(0x1fe)});}[_0x26a5fe(0x20e)](){const _0x445d1e=_0x26a5fe,_0x5a4a02=this[_0x445d1e(0x21e)],_0x40e8ac=_0x5a4a02[_0x445d1e(0x1ac)][_0x445d1e(0x1f7)](_0xbb7f33),_0x3c6bd9=new Set(),_0x3750a1=new Set();_0x5a4a02[_0x445d1e(0x206)][_0x445d1e(0x217)][_0x445d1e(0x1b3)](_0x50e231=>{const _0x5ceab8=_0x445d1e;let _0x234457=!0x1;for(const {name:_0x3cbd95,data:_0x41bf0d}of _0x5a4a02[_0x5ceab8(0x206)][_0x5ceab8(0x217)][_0x5ceab8(0x1f6)][_0x5ceab8(0x1f2)]()){const {group:_0x216059,id:_0x22dd20}=splitMarkerName(_0x3cbd95);let _0x4d3e44=_0x41bf0d[_0x5ceab8(0x207)];if(_0x5ceab8(0x1fe)!==_0x216059||!_0x4d3e44)continue;const _0x115c71=_0x5ceab8(0x1e0)===_0x4d3e44[_0x5ceab8(0x1b4)][_0x5ceab8(0x1b6)];_0x115c71||(_0x4d3e44=lt(_0x4d3e44,_0x5a4a02[_0x5ceab8(0x206)]),!_0x4d3e44||_0x4d3e44[_0x5ceab8(0x1b1)]||!_0x41bf0d[_0x5ceab8(0x207)]||_0x4d3e44[_0x5ceab8(0x1e4)](_0x41bf0d[_0x5ceab8(0x207)]))?_0x5a4a02[_0x5ceab8(0x206)][_0x5ceab8(0x225)](_0x4d3e44)&&!_0x115c71?this[_0x5ceab8(0x1d7)]?_0x3c6bd9[_0x5ceab8(0x19d)](_0x3cbd95):this[_0x5ceab8(0x19a)](_0x3cbd95,_0x22dd20):(_0x3750a1[_0x5ceab8(0x19d)](_0x3cbd95),_0x3c6bd9[_0x5ceab8(0x22e)](_0x3cbd95),_0x50e231[_0x5ceab8(0x1c0)](_0x3cbd95),_0x234457=!0x0):(_0x50e231[_0x5ceab8(0x1be)](_0x3cbd95,{'range':_0x4d3e44}),_0x234457=!0x0);}return _0x234457;}),this['on'](_0x445d1e(0x1c3),(_0x2f5301,_0x56714e,_0x3abd3e)=>{const _0x23688c=_0x445d1e;if(!_0x3abd3e&&_0x3c6bd9[_0x23688c(0x1f3)])for(const _0xa2a218 of _0x3c6bd9){const {id:_0x124df3}=splitMarkerName(_0xa2a218);_0x3c6bd9[_0x23688c(0x22e)](_0xa2a218),_0x5a4a02[_0x23688c(0x206)][_0x23688c(0x22c)][_0x23688c(0x1f7)](_0xa2a218)&&this[_0x23688c(0x19a)](_0xa2a218,_0x124df3);}}),this[_0x445d1e(0x1d4)](_0x5a4a02[_0x445d1e(0x206)][_0x445d1e(0x217)],_0x445d1e(0x218),(_0x368be3,_0x2976d3)=>{const _0x4533db=_0x445d1e;for(const {name:_0x214ca4,data:{newRange:_0x1c85a3}}of _0x5a4a02[_0x4533db(0x206)][_0x4533db(0x217)][_0x4533db(0x1f6)][_0x4533db(0x1f2)]()){const {group:_0xd7ef6a,id:_0x2f676d}=splitMarkerName(_0x214ca4);if(_0x4533db(0x1fe)!==_0xd7ef6a)continue;const _0x268e8b=_0x40e8ac[_0x4533db(0x211)](_0x2f676d),_0x5dea06=this[_0x4533db(0x198)](_0x2f676d);_0x268e8b&&(!_0x268e8b[_0x4533db(0x1ec)]&&_0x1c85a3&&_0x5a4a02[_0x4533db(0x228)][_0x4533db(0x1e5)][_0x4533db(0x1fa)](_0x4533db(0x1df),()=>{const _0x297edb=_0x4533db,_0x163d0d=_0x5a4a02[_0x297edb(0x1ac)][_0x297edb(0x1f7)](_0x262813),_0x153bbf=_0x40e8ac[_0x297edb(0x1fc)][_0x297edb(0x1f7)](_0x268e8b)[_0x297edb(0x1e5)];_0x163d0d[_0x297edb(0x1d0)](_0x153bbf)[_0x297edb(0x19f)]();},{'priority':_0x4533db(0x22d)}),_0x268e8b[_0x4533db(0x1ec)]=_0x5dea06||!!_0x1c85a3),_0x1c85a3||(_0x3750a1[_0x4533db(0x19d)](_0x214ca4),_0x3c6bd9[_0x4533db(0x22e)](_0x214ca4));}if(_0x2976d3[_0x4533db(0x1bb)])for(const _0x2e90af of _0x3750a1){const {id:_0x5c29be}=splitMarkerName(_0x2e90af),_0x3352f1=_0x40e8ac[_0x4533db(0x211)](_0x5c29be),_0x321db5=this[_0x4533db(0x198)](_0x5c29be);_0x3c6bd9[_0x4533db(0x22e)](_0x2e90af),!_0x3352f1||_0x321db5||_0x3352f1[_0x4533db(0x1eb)]||_0x3352f1[_0x4533db(0x1fb)](new Date());}_0x3750a1[_0x4533db(0x221)]();});}[_0x26a5fe(0x1d1)](_0x584b29){const _0xd06a49=_0x26a5fe,_0x6cca8a=this[_0xd06a49(0x21e)],_0xe4e8f0=this[_0xd06a49(0x1f8)](_0x584b29);return _0x43f5fb(_0x6cca8a[_0xd06a49(0x228)],_0xe4e8f0);}[_0x26a5fe(0x1c8)](_0x5347b4){const _0x560df0=_0x26a5fe,_0x67e82c=this[_0x560df0(0x1f8)](_0x5347b4);let _0x52670a='',_0x560e61=!0x1;for(const _0x3ef1c2 of _0x67e82c){const _0x1e5e76=_0x3ef1c2[_0x560df0(0x1f9)]();for(const _0x2b4a8d of Array[_0x560df0(0x1af)](_0x1e5e76[_0x560df0(0x21c)]()))_0x2b4a8d['is'](_0x560df0(0x1c4))?(_0x52670a&&_0x560e61&&(_0x52670a+='\x20',_0x560e61=!0x1),_0x52670a+=_0x2b4a8d[_0x560df0(0x1c6)]):_0x560e61=!0x0;_0x560e61=!0x0;}return _0x52670a[_0x560df0(0x1d5)](0x0,0x96);}[_0x26a5fe(0x1ee)](_0x24541e,_0x22a843){const _0x15ad38=_0x26a5fe,_0x12c856=this[_0x15ad38(0x21e)],_0x45c621=_0x12c856[_0x15ad38(0x1ac)][_0x15ad38(0x1f7)](_0xbb7f33);let _0x29eb21=_0x45c621[_0x15ad38(0x211)](_0x22a843);const _0xad69c2=_0x12c856[_0x15ad38(0x20d)][_0x15ad38(0x1f7)](_0x15ad38(0x1a6)),_0x46a730=_0x12c856[_0x15ad38(0x1ac)][_0x15ad38(0x1f7)](_0x3113d3);if(_0x29eb21&&(_0x29eb21[_0x15ad38(0x1eb)]&&_0x29eb21[_0x15ad38(0x1fb)](null),_0x29eb21[_0x15ad38(0x210)]))return _0x29eb21;return!this[_0x15ad38(0x1f8)](_0x22a843)[0x0][_0x15ad38(0x1b9)]?_0x12c856[_0x15ad38(0x228)][_0x15ad38(0x1e5)][_0x15ad38(0x1fa)](_0x15ad38(0x1df),()=>{const _0x39071b=_0x15ad38;if(_0x45c621[_0x39071b(0x211)](_0x22a843))return;const _0x409539=_0x12c856[_0x39071b(0x1ac)][_0x39071b(0x1f7)](_0x262813);_0x29eb21=_0x45c621[_0x39071b(0x21a)]({'channelId':_0xad69c2,'threadId':_0x22a843,'target':()=>this[_0x39071b(0x1d1)](_0x22a843),'context':{'type':_0x39071b(0x1e9),'value':this[_0x39071b(0x1c8)](_0x22a843)}});const _0x2bde48=_0x45c621[_0x39071b(0x1fc)][_0x39071b(0x1f7)](_0x29eb21)[_0x39071b(0x1e5)],_0xdddf5a=_0x409539[_0x39071b(0x1d0)](_0x2bde48);_0xdddf5a&&_0x46a730[_0x39071b(0x209)](_0xdddf5a);},{'priority':_0x15ad38(0x22d)}):_0x45c621[_0x15ad38(0x1b8)]({'channelId':_0xad69c2,'threadId':_0x22a843})[_0x15ad38(0x1c2)](_0x2ed8ec=>{const _0x41ec84=_0x15ad38;if(_0x41ec84(0x1e2)!==_0x12c856[_0x41ec84(0x212)]){if(_0x29eb21=_0x2ed8ec,_0x29eb21&&!_0x29eb21[_0x41ec84(0x210)]){const _0x3a7502=_0x29eb21[_0x41ec84(0x21d)](()=>this[_0x41ec84(0x1d1)](_0x22a843));_0x46a730[_0x41ec84(0x209)](_0x3a7502),_0x29eb21[_0x41ec84(0x1b5)]&&this[_0x41ec84(0x1d8)](_0x22a843);}else{if(!_0x29eb21){const _0x4fbd16=this[_0x41ec84(0x1f8)](_0x22a843);_0x12c856[_0x41ec84(0x206)][_0x41ec84(0x218)](_0x2d3211=>{const _0x35b1b0=_0x41ec84;for(const _0x435b8a of _0x4fbd16)_0x2d3211[_0x35b1b0(0x1c0)](_0x435b8a);});}}}}),_0x29eb21;}[_0x26a5fe(0x19a)](_0x38aab8,_0x166a8e){const _0x171384=_0x26a5fe,_0x236497=this[_0x171384(0x1ee)](_0x38aab8,_0x166a8e);_0x236497&&!_0x236497[_0x171384(0x1a9)]&&_0x236497[_0x171384(0x1b2)]({'type':_0x171384(0x1e9),'value':this[_0x171384(0x1c8)](_0x166a8e)});}[_0x26a5fe(0x1f0)](){const _0x4b48c4=_0x26a5fe,_0x1344b7=this[_0x4b48c4(0x21e)];_0x42a854(_0x1344b7[_0x4b48c4(0x206)],({left:_0x1efdc5,entered:_0x27e78a})=>{const _0x1ce99c=_0x4b48c4;for(const _0x282c84 of _0x1efdc5)if(ft(_0x282c84)){_0x1344b7['ui'][_0x1ce99c(0x1a4)][_0x1ce99c(0x1dc)](_0x461aa9(_0x1344b7[_0x1ce99c(0x202)],_0x1ce99c(0x220)));break;}for(const _0x205a54 of _0x27e78a)if(ft(_0x205a54)){_0x1344b7['ui'][_0x1ce99c(0x1a4)][_0x1ce99c(0x1dc)](_0x461aa9(_0x1344b7[_0x1ce99c(0x202)],_0x1ce99c(0x1cf),_0x108114(_0x1d7287)));break;}});}}function ht(_0x2ad015,_0x5a91ab){return _0x5a91ab?_0x2ad015+':'+_0x5a91ab:_0x2ad015;}export function splitMarkerName(_0x1c5113){const _0x1e618d=_0x26a5fe,_0x3ca088=_0x1c5113[_0x1e618d(0x226)](':');return{'group':_0x3ca088[0x0],'id':_0x3ca088[0x1],'part':_0x3ca088[0x2]};}function _0x10a7(){const _0x5adc27=['ignoreResolvedComments','reconvertMarker','push','resolveCommentThread','document','change','item','openNewCommentThread','dataDowncast','getItems','attachTo','editor','addMarker:','LEAVE_COMMENT_ANNOUNCEMENT','clear','end','getAttribute','reopenCommentThread','hasContent','split','group','editing','_initializeMarkerConverters','683391ttvLjy','elementToElement','markers','low','delete','createRange','author','hasMarkerForId','consume','_handleThreadMarker','createPositionBefore','hasCommentThread','add','scrollToThreadMarker','refreshVisibility','upcast','_attachArchivedThread','comments','removeMarker:','ariaLiveAnnouncer','destroy','collaboration.channelId','focus','10CbDEdf','context','getCommentThreads','addCommentThread','plugins','start','pluginName','from','ck-comment-marker--active','isCollapsed','setContext','registerPostFixer','root','isResolved','rootName','editingDowncast','fetchCommentThread','managedUsingOperations','schema','isLocal','markerToHighlight','first','updateMarker','ck-comment-marker','removeMarker','535652wSBdWI','then','change:isThreadsLoadingPaused','$textProxy','length','data','enqueueChange','_getTextContext','change:isReadOnly','comment:','4407543jVbwit','3330TxfeuG','commands','hasDomSelection','ENTER_COMMENT_ANNOUNCEMENT','getByInnerView','_getTargetForId','4539918Zhxvez','for','listenTo','substring','switchReadOnly','isThreadsLoadingPaused','_reconvertMarkers','ready','set','startsWith','announce','consumable','activeMarker','render','$graveyard','10tmHvpB','destroyed','affectsData','isEqual','view','addComment','init','markerToData','text','CommentsEditing','unlinkedAt','_hasTargetInContent','removeCommentThread','_attachMarkerToThread','_threads','_initAriaMarkerChangeAnnouncements','16lMzJfL','getChangedMarkers','size','change:activeMarker','63305IFVEre','differ','get','getAllMarkersForId','getRange','once','setUnlinkedAt','_threadToController','isObject','comment','654842NVaqSs','dataToMarker','$marker','locale','name','getWalker','_detachCommentThread','model','newRange','conversion','registerAnnotation','requires','markerName','createElement','config','_handleMarkerAddAndRemove','619479JBAEAc','isAttached','getCommentThread','state'];_0x10a7=function(){return _0x5adc27;};return _0x10a7();}function lt(_0x31aa76,_0x24a906){const _0xdb3114=_0x26a5fe,_0x166eba=_0x24a906[_0xdb3114(0x1ba)],_0x48080d=_0x24a906[_0xdb3114(0x22f)](_0x31aa76[_0xdb3114(0x1ad)]);for(const _0x336e91 of _0x31aa76[_0xdb3114(0x204)]()){const {type:_0x3c296b,item:_0x23b824,nextPosition:_0xeda462}=_0x336e91;if(_0xdb3114(0x1e9)===_0x3c296b||_0x166eba[_0xdb3114(0x1fd)](_0x23b824)){const _0x4e3e67=_0x24a906[_0xdb3114(0x19b)](_0x23b824);_0x48080d[_0xdb3114(0x1b1)]&&(_0x48080d[_0xdb3114(0x1ad)]=_0x4e3e67),_0x48080d[_0xdb3114(0x222)]=_0xeda462;}}return _0x48080d;}function ft(_0x27bda4){const _0x155b7d=_0x26a5fe;return _0x155b7d(0x1fe)===splitMarkerName(_0x27bda4[_0x155b7d(0x203)])[_0x155b7d(0x227)];}
|