@ckeditor/ckeditor5-comments 41.2.0 → 41.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/package.json +3 -3
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ba5ec=_0xeca6;function _0x41c0(){const _0x28a60e=['clear','createCollection','detach','destroy','bottom','bind','updateHeight','attach','bindTemplate','198082KOxQBk','1448724SURojH','height','isAnimationDisabled','clientHeight','set','5uedzoa','4328356CwyzRS','ck-sidebar-item','render','element','ck-sidebar-item--no-animation','694SFKaYY','918631rWJbTd','top','setTemplate','14834565ZaIGaq','_targetTop','_mutationObserver','11390992NUpPrN','2712zJnCED','content','div'];_0x41c0=function(){return _0x28a60e;};return _0x41c0();}(function(_0x379bf4,_0x4808a7){const _0x18233b=_0xeca6,_0x1a4ad5=_0x379bf4();while(!![]){try{const _0x40d9e1=parseInt(_0x18233b(0x152))/0x1+-parseInt(_0x18233b(0x15e))/0x2*(parseInt(_0x18233b(0x166))/0x3)+parseInt(_0x18233b(0x159))/0x4*(parseInt(_0x18233b(0x158))/0x5)+-parseInt(_0x18233b(0x153))/0x6+-parseInt(_0x18233b(0x15f))/0x7+-parseInt(_0x18233b(0x165))/0x8+parseInt(_0x18233b(0x162))/0x9;if(_0x40d9e1===_0x4808a7)break;else _0x1a4ad5['push'](_0x1a4ad5['shift']());}catch(_0x451319){_0x1a4ad5['push'](_0x1a4ad5['shift']());}}}(_0x41c0,0xc7c1f));import{View as _0x427678}from'ckeditor5/src/ui.js';import{toUnit as _0xf1db82}from'ckeditor5/src/utils.js';function _0xeca6(_0x3cac4e,_0x367912){const _0x41c007=_0x41c0();return _0xeca6=function(_0xeca6a5,_0x6f1632){_0xeca6a5=_0xeca6a5-0x147;let _0x449ec2=_0x41c007[_0xeca6a5];return _0x449ec2;},_0xeca6(_0x3cac4e,_0x367912);}import _0xc4d25e from'../../utils/createmutationobserver.js';const qt=_0xf1db82('px');export default class C extends _0x427678{constructor(_0x4c395b){const _0x130792=_0xeca6;super(_0x4c395b),this[_0x130792(0x157)](_0x130792(0x160),0x0),this[_0x130792(0x157)](_0x130792(0x154),0x0),this[_0x130792(0x14e)](_0x130792(0x14d))['to'](this,_0x130792(0x160),this,_0x130792(0x154),(_0x1acd39,_0x255c0e)=>_0x1acd39+_0x255c0e),this[_0x130792(0x157)](_0x130792(0x155),!0x1),this[_0x130792(0x164)]=_0xc4d25e(()=>this[_0x130792(0x14f)]()),this[_0x130792(0x163)]=null,this[_0x130792(0x147)]=this[_0x130792(0x14a)]();const _0x2296f9=this[_0x130792(0x151)];this[_0x130792(0x161)]({'tag':_0x130792(0x148),'attributes':{'class':[_0x130792(0x15a),_0x2296f9['to'](_0x130792(0x155),_0x553e17=>_0x553e17?_0x130792(0x15d):'')],'style':{'top':_0x2296f9['to'](_0x130792(0x160),_0x4946cb=>qt(_0x4946cb))}},'children':this[_0x130792(0x147)]});}[_0x4ba5ec(0x15b)](){const _0x41251c=_0x4ba5ec;super[_0x41251c(0x15b)](),this[_0x41251c(0x164)][_0x41251c(0x150)](this[_0x41251c(0x15c)]);}[_0x4ba5ec(0x14f)](){const _0x4e1f98=_0x4ba5ec,_0xeb4f1b=this[_0x4e1f98(0x15c)][_0x4e1f98(0x156)];_0xeb4f1b&&(this[_0x4e1f98(0x154)]=_0xeb4f1b);}[_0x4ba5ec(0x14c)](){const _0x3586ae=_0x4ba5ec;this[_0x3586ae(0x147)][_0x3586ae(0x149)](),this[_0x3586ae(0x164)][_0x3586ae(0x14b)](),super[_0x3586ae(0x14c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3c3316,_0x241945){const _0x2fac93=_0xef9c,_0xf7e79f=_0x3c3316();while(!![]){try{const _0x254f1a=-parseInt(_0x2fac93(0x176))/0x1+parseInt(_0x2fac93(0x17d))/0x2*(-parseInt(_0x2fac93(0x171))/0x3)+-parseInt(_0x2fac93(0x16d))/0x4+parseInt(_0x2fac93(0x17a))/0x5*(-parseInt(_0x2fac93(0x172))/0x6)+-parseInt(_0x2fac93(0x174))/0x7+parseInt(_0x2fac93(0x17f))/0x8+parseInt(_0x2fac93(0x17b))/0x9;if(_0x254f1a===_0x241945)break;else _0xf7e79f['push'](_0xf7e79f['shift']());}catch(_0x38ca1c){_0xf7e79f['push'](_0xf7e79f['shift']());}}}(_0x26a0,0x22b11));import{View as _0x1eb80f}from'ckeditor5/src/ui.js';import{toUnit as _0x144682}from'ckeditor5/src/utils.js';function _0x26a0(){const _0xe41f25=['6538ZuDtbB','setTemplate','2197296YJmsss','createCollection','716952dDBffN','list','ck-sidebar','ck-reset','186ABGzuT','37356pbrmlw','set','1430744LyZrmZ','bindTemplate','12853rKhkxO','div','class','number','220ymnSjc','6664860DGNXrk','minHeight'];_0x26a0=function(){return _0xe41f25;};return _0x26a0();}import'../../../theme/sidebar.css';const qt=_0x144682('px');function _0xef9c(_0x68374f,_0x7d830f){const _0x26a00b=_0x26a0();return _0xef9c=function(_0xef9c06,_0x13d699){_0xef9c06=_0xef9c06-0x16d;let _0x529292=_0x26a00b[_0xef9c06];return _0x529292;},_0xef9c(_0x68374f,_0x7d830f);}export default class T extends _0x1eb80f{constructor(_0x262474){const _0x33da2c=_0xef9c;super(_0x262474);const _0x1d3c46=this[_0x33da2c(0x175)];this[_0x33da2c(0x173)](_0x33da2c(0x17c),0x0),this[_0x33da2c(0x173)](_0x33da2c(0x178),''),this[_0x33da2c(0x16e)]=this[_0x33da2c(0x180)](),this[_0x33da2c(0x17e)]({'tag':_0x33da2c(0x177),'attributes':{'class':['ck',_0x33da2c(0x16f),_0x33da2c(0x170),_0x1d3c46['to'](_0x33da2c(0x178))],'style':{'minHeight':_0x1d3c46['to'](_0x33da2c(0x17c),_0x7a46c7=>_0x33da2c(0x179)==typeof _0x7a46c7?qt(_0x7a46c7+0xa):null)}},'children':this[_0x33da2c(0x16e)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x296bb2=_0x4a1d;function _0x4a1d(_0x2e8287,_0x4f0223){const _0x9145df=_0x9145();return _0x4a1d=function(_0x4a1d86,_0x423af3){_0x4a1d86=_0x4a1d86-0x131;let _0x5a0c99=_0x9145df[_0x4a1d86];return _0x5a0c99;},_0x4a1d(_0x2e8287,_0x4f0223);}(function(_0x54d6f9,_0x31bf04){const _0x5e25ab=_0x4a1d,_0x7540e4=_0x54d6f9();while(!![]){try{const _0x44d7b4=parseInt(_0x5e25ab(0x14c))/0x1*(-parseInt(_0x5e25ab(0x15d))/0x2)+parseInt(_0x5e25ab(0x162))/0x3*(parseInt(_0x5e25ab(0x145))/0x4)+parseInt(_0x5e25ab(0x13c))/0x5*(-parseInt(_0x5e25ab(0x159))/0x6)+-parseInt(_0x5e25ab(0x155))/0x7+-parseInt(_0x5e25ab(0x15a))/0x8+-parseInt(_0x5e25ab(0x156))/0x9+parseInt(_0x5e25ab(0x174))/0xa;if(_0x44d7b4===_0x31bf04)break;else _0x7540e4['push'](_0x7540e4['shift']());}catch(_0x46ed53){_0x7540e4['push'](_0x7540e4['shift']());}}}(_0x9145,0x311db));import{ContextPlugin as _0x361138,Context as _0x169b43}from'ckeditor5/src/core.js';import _0x308a1c from'./annotationsuis.js';import _0x198426 from'./sidebar.js';import{CKEditorError as _0x581efd,Collection as _0x43cddd}from'ckeditor5/src/utils.js';import{debounce as _0x4fb1e4}from'lodash-es';import _0x1e4a33 from'./editorannotations.js';export default class n extends _0x361138{static get[_0x296bb2(0x149)](){return[_0x198426,_0x308a1c];}static get[_0x296bb2(0x160)](){const _0x4cbcd5=_0x296bb2;return _0x4cbcd5(0x13f);}constructor(_0x14d8af){const _0x21d172=_0x296bb2;super(_0x14d8af),this[_0x21d172(0x16d)]=!0x1,this[_0x21d172(0x140)](_0x21d172(0x13e),null),this[_0x21d172(0x168)]=null,this[_0x21d172(0x173)]=new _0x43cddd(),this[_0x21d172(0x16a)]=_0x4fb1e4(()=>{const _0x45c597=_0x21d172;this[_0x45c597(0x168)][_0x45c597(0x141)]();},0xfa,{'leading':!0x1});}[_0x296bb2(0x14a)](){const _0x3f639d=_0x296bb2,_0x3ec523=this[_0x3f639d(0x15e)][_0x3f639d(0x150)][_0x3f639d(0x16e)](_0x308a1c),_0x5c7f47=this[_0x3f639d(0x15e)][_0x3f639d(0x150)][_0x3f639d(0x16e)](_0x198426);_0x3ec523[_0x3f639d(0x14b)](_0x3f639d(0x13a),this),_0x5c7f47[_0x3f639d(0x143)]&&_0x3ec523[_0x3f639d(0x142)](_0x3f639d(0x13a));}[_0x296bb2(0x136)](_0xa06386){const _0x2a3b34=_0x296bb2;if(_0xa06386===this[_0x2a3b34(0x13e)])return;const _0x2b58e4=this[_0x2a3b34(0x15e)][_0x2a3b34(0x150)][_0x2a3b34(0x16e)](_0x198426);_0x2b58e4[_0x2a3b34(0x148)]=_0xa06386;const _0x4ace70=this[_0x2a3b34(0x13e)];this[_0x2a3b34(0x13e)]=_0xa06386,_0x2b58e4[_0x2a3b34(0x163)]({'blurredAnnotation':_0x4ace70,'activatedAnnotation':this[_0x2a3b34(0x13e)]});}[_0x296bb2(0x146)](_0x2e8c23){const _0x2855b1=_0x296bb2;this[_0x2855b1(0x168)]=_0x2e8c23;const _0x4ff9b4=this[_0x2855b1(0x15e)][_0x2855b1(0x150)][_0x2855b1(0x16e)](_0x198426);if(_0x4ff9b4[_0x2855b1(0x153)]=_0x2e8c23,this[_0x2855b1(0x16d)])throw new _0x581efd(_0x2855b1(0x14e),this);this[_0x2855b1(0x16d)]=!0x0,this[_0x2855b1(0x137)](_0x4ff9b4,_0x2855b1(0x171),()=>{const _0x388e07=_0x2855b1;this[_0x388e07(0x132)](),this[_0x388e07(0x137)](_0x4ff9b4,_0x388e07(0x144),_0x22083f=>{const _0x1a8897=_0x388e07;_0x22083f[_0x1a8897(0x15b)](),this[_0x1a8897(0x146)](_0x2e8c23);});}),_0x4ff9b4[_0x2855b1(0x165)]({'viewClass':_0x2855b1(0x134)});const _0x442ca9=_0x100543=>{const _0x63b8f=_0x2855b1;_0x100543[_0x63b8f(0x157)](),_0x4ff9b4[_0x63b8f(0x138)](_0x100543);};for(const _0x4fd8ce of _0x2e8c23)_0x442ca9(_0x4fd8ce);this[_0x2855b1(0x137)](_0x2e8c23,_0x2855b1(0x131),(_0x4e9b90,_0x11060f)=>{_0x442ca9(_0x11060f);}),this[_0x2855b1(0x137)](_0x2e8c23,_0x2855b1(0x133),(_0x27c176,_0x11138a,_0x4f4bac)=>{const _0x215d06=_0x2855b1;_0x4ff9b4[_0x215d06(0x152)]({'removedAnnotation':_0x11138a,'previousAnnotation':_0x2e8c23[_0x215d06(0x16e)](_0x4f4bac-0x1),'nextAnnotation':_0x2e8c23[_0x215d06(0x16e)](_0x4f4bac+0x1)}),_0x11138a===this[_0x215d06(0x13e)]&&this[_0x215d06(0x136)](null);},{'priority':_0x2855b1(0x15f)}),this[_0x2855b1(0x137)](_0x2e8c23,_0x2855b1(0x135),(_0x155c24,_0x53e236)=>{const _0x249f88=_0x2855b1;this[_0x249f88(0x136)](_0x53e236);}),this[_0x2855b1(0x137)](_0x2e8c23,_0x2855b1(0x151),()=>{const _0x411aa0=_0x2855b1;this[_0x411aa0(0x136)](null);});const _0x1d4147=this[_0x2855b1(0x15e)]instanceof _0x169b43?this[_0x2855b1(0x15e)][_0x2855b1(0x139)]:new _0x43cddd([this[_0x2855b1(0x15e)]]);for(const _0x2768c2 of _0x1d4147)this[_0x2855b1(0x169)](_0x2768c2);this[_0x2855b1(0x137)](_0x1d4147,_0x2855b1(0x131),(_0x24dff2,_0xee4291)=>{const _0x39740b=_0x2855b1;this[_0x39740b(0x137)](_0xee4291,_0x39740b(0x167),()=>{const _0x5a5279=_0x39740b;this[_0x5a5279(0x169)](_0xee4291);});}),this[_0x2855b1(0x137)](_0x1d4147,_0x2855b1(0x133),(_0x3128a3,_0x2e34af)=>{const _0x5099c7=_0x2855b1;_0x2e34af[_0x5099c7(0x150)][_0x5099c7(0x172)](_0x5099c7(0x16b))&&this[_0x5099c7(0x158)](_0x2e34af[_0x5099c7(0x150)][_0x5099c7(0x16e)](_0x5099c7(0x16b)));}),window[_0x2855b1(0x161)](_0x2855b1(0x166),this[_0x2855b1(0x16a)]),this[_0x2855b1(0x168)][_0x2855b1(0x141)]();}[_0x296bb2(0x132)](){const _0x50e1b3=_0x296bb2;if(!this[_0x50e1b3(0x16d)])throw new _0x581efd(_0x50e1b3(0x15c),this);this[_0x50e1b3(0x136)](null);const _0xb81211=this[_0x50e1b3(0x15e)][_0x50e1b3(0x150)][_0x50e1b3(0x16e)](_0x198426);_0xb81211[_0x50e1b3(0x147)](this[_0x50e1b3(0x168)]),this[_0x50e1b3(0x13d)](_0xb81211),this[_0x50e1b3(0x13d)](this[_0x50e1b3(0x168)]),this[_0x50e1b3(0x15e)]instanceof _0x169b43&&this[_0x50e1b3(0x13d)](this[_0x50e1b3(0x15e)][_0x50e1b3(0x139)]);for(const _0x596062 of Array[_0x50e1b3(0x154)](this[_0x50e1b3(0x173)]))this[_0x50e1b3(0x158)](_0x596062);window[_0x50e1b3(0x16f)](_0x50e1b3(0x166),this[_0x50e1b3(0x16a)]),this[_0x50e1b3(0x16a)][_0x50e1b3(0x164)](),this[_0x50e1b3(0x13e)]=null,this[_0x50e1b3(0x16d)]=!0x1,this[_0x50e1b3(0x168)]=null;}[_0x296bb2(0x14f)](){const _0x3dc3a1=_0x296bb2;this[_0x3dc3a1(0x16d)]&&this[_0x3dc3a1(0x132)]();}[_0x296bb2(0x169)](_0x4fc823){const _0x12829a=_0x296bb2,_0x467bb9=_0x4fc823[_0x12829a(0x150)][_0x12829a(0x16e)](_0x1e4a33);if(!_0x467bb9)return;const _0x970d0d=()=>{const _0x20a6cd=_0x12829a,_0x421013=_0x467bb9[_0x20a6cd(0x13b)]({'annotations':this[_0x20a6cd(0x168)],'activeAnnotation':this[_0x20a6cd(0x13e)]});this[_0x20a6cd(0x136)](_0x421013[0x0]||null);};this[_0x12829a(0x137)](_0x467bb9,_0x12829a(0x163),_0x970d0d),this[_0x12829a(0x137)](_0x467bb9,_0x12829a(0x151),(_0x4b3e46,{isAnnotationTracked:_0x36c15a})=>{const _0x43f0bf=_0x12829a;this[_0x43f0bf(0x13e)]&&_0x36c15a(this[_0x43f0bf(0x13e)])&&this[_0x43f0bf(0x136)](null);}),this[_0x12829a(0x137)](_0x467bb9,_0x12829a(0x14d),()=>{const _0x1c0563=_0x12829a;this[_0x1c0563(0x16a)]();}),this[_0x12829a(0x137)](this[_0x12829a(0x168)],_0x12829a(0x151),_0x25707f=>{const _0x58f57f=_0x12829a;_0x467bb9[_0x58f57f(0x16c)]()&&(_0x970d0d(),_0x25707f[_0x58f57f(0x170)]());},{'priority':_0x12829a(0x15f)}),this[_0x12829a(0x173)][_0x12829a(0x131)](_0x467bb9);}[_0x296bb2(0x158)](_0x5e0d11){const _0x332704=_0x296bb2;this[_0x332704(0x13d)](_0x5e0d11),this[_0x332704(0x173)][_0x332704(0x133)](_0x5e0d11);}}function _0x9145(){const _0x580b8f=['set:container','has','_editorAnnotations','8150440qmIVkc','add','detach','remove','ck-sidebar--wide','focus','setActiveAnnotation','listenTo','addAnnotation','editors','wideSidebar','getOrderedSelectedAnnotations','13385PwqveP','stopListening','activeAnnotation','WideSidebar','set','refreshPositioning','switchTo','container','change:container','8616XBJqOV','attach','_detachFromContainer','_activeAnnotation','requires','init','register','45163OddBDt','uiUpdate','widesidebar-attach-already-attached','destroy','plugins','blur','rearrange','_annotations','from','1613752FGgOXJ','2601621clldNU','updateTargetRect','_destroyEditorAnnotationsIntegration','126TYZWHF','511696xjmQeu','off','widesidebar-detach-not-attached','2PGQePr','context','high','pluginName','addEventListener','99BZTppB','refresh','cancel','_attachToContainer','resize','ready','annotations','_integrateWithEditorAnnotations','_refreshPositioningDebounced','EditorAnnotations','hasDomSelection','isAttached','get','removeEventListener','stop'];_0x9145=function(){return _0x580b8f;};return _0x9145();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x354a77=_0x486c;(function(_0x350e76,_0x22617d){const _0x17f4e3=_0x486c,_0x377e32=_0x350e76();while(!![]){try{const _0x444ca5=parseInt(_0x17f4e3(0x1ca))/0x1+parseInt(_0x17f4e3(0x1c6))/0x2+-parseInt(_0x17f4e3(0x1c0))/0x3+parseInt(_0x17f4e3(0x1bc))/0x4+-parseInt(_0x17f4e3(0x1bf))/0x5+parseInt(_0x17f4e3(0x1bb))/0x6*(-parseInt(_0x17f4e3(0x1da))/0x7)+-parseInt(_0x17f4e3(0x1b8))/0x8*(-parseInt(_0x17f4e3(0x1c9))/0x9);if(_0x444ca5===_0x22617d)break;else _0x377e32['push'](_0x377e32['shift']());}catch(_0x13795a){_0x377e32['push'](_0x377e32['shift']());}}}(_0x258e,0x76000));import{Command as _0x127056}from'ckeditor5/src/core.js';function _0x258e(){const _0x2d390b=['model','start','244945hpEhYN','2667726dfpCsA','_itemIsContent','execute','refresh','selection','tableCell','1841872nVWysd','backward','isEnabled','846rIlprL','874974kHCXED','getLastMatchingPosition','end','element','getRanges','addMarker','$textProxy','push','schema','substr','change','item','editor','_trimToContent','createRange','document','7LLkPre','comment:','isObject','12624PiqpWD','getItems','_hasContent','5518740eJWgHv','1588428pMZRZN'];_0x258e=function(){return _0x2d390b;};return _0x258e();}function _0x486c(_0x3f25e1,_0xb6a947){const _0x258e02=_0x258e();return _0x486c=function(_0x486c3c,_0x20c3c5){_0x486c3c=_0x486c3c-0x1b8;let _0x4cc91d=_0x258e02[_0x486c3c];return _0x4cc91d;},_0x486c(_0x3f25e1,_0xb6a947);}import{uid as _0x22b217}from'ckeditor5/src/utils.js';export default class G extends _0x127056{[_0x354a77(0x1c3)](){const _0x5aa401=_0x354a77,_0x59963a=this[_0x5aa401(0x1d6)][_0x5aa401(0x1bd)][_0x5aa401(0x1d9)][_0x5aa401(0x1c4)];for(const _0x2109e3 of _0x59963a[_0x5aa401(0x1ce)]())if(this[_0x5aa401(0x1ba)](_0x2109e3))return void(this[_0x5aa401(0x1c8)]=!0x0);this[_0x5aa401(0x1c8)]=!0x1;}[_0x354a77(0x1c2)]({threadId:_0x4a97a9=_0x22b217()}={}){const _0x5d39a7=_0x354a77,_0x4f02a2=this[_0x5d39a7(0x1d6)][_0x5d39a7(0x1bd)],_0x437ae2=[];for(const _0x416a6d of _0x4f02a2[_0x5d39a7(0x1d9)][_0x5d39a7(0x1c4)][_0x5d39a7(0x1ce)]())this[_0x5d39a7(0x1ba)](_0x416a6d)&&_0x437ae2[_0x5d39a7(0x1d1)](this[_0x5d39a7(0x1d7)](_0x416a6d));_0x4f02a2[_0x5d39a7(0x1d4)](_0x4d111b=>{const _0x3f7654=_0x5d39a7;for(const _0x2a8ab5 of _0x437ae2){const _0x4e4068=_0x22b217()[_0x3f7654(0x1d3)](0x1,0x5),_0x2163f6=_0x3f7654(0x1db)+_0x4a97a9+':'+_0x4e4068;_0x4d111b[_0x3f7654(0x1cf)](_0x2163f6,{'range':_0x2a8ab5,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x354a77(0x1ba)](_0x56921f){const _0x3e0055=_0x354a77;for(const _0x158f83 of _0x56921f[_0x3e0055(0x1b9)]())if(this[_0x3e0055(0x1c1)](_0x158f83))return!0x0;return!0x1;}[_0x354a77(0x1c1)](_0xe10fb9){const _0x2f6096=_0x354a77;return _0xe10fb9['is'](_0x2f6096(0x1d0))||this[_0x2f6096(0x1d6)][_0x2f6096(0x1bd)][_0x2f6096(0x1d2)][_0x2f6096(0x1dc)](_0xe10fb9)&&!_0xe10fb9['is'](_0x2f6096(0x1cd),_0x2f6096(0x1c5));}[_0x354a77(0x1d7)](_0x5b5c4c){const _0xc87dec=_0x354a77,_0xbae467=_0x38ad7c=>!this[_0xc87dec(0x1c1)](_0x38ad7c[_0xc87dec(0x1d5)]),_0xf221ff=_0x5b5c4c[_0xc87dec(0x1be)][_0xc87dec(0x1cb)](_0xbae467),_0x2789b1=_0x5b5c4c[_0xc87dec(0x1cc)][_0xc87dec(0x1cb)](_0xbae467,{'direction':_0xc87dec(0x1c7)});return this[_0xc87dec(0x1d6)][_0xc87dec(0x1bd)][_0xc87dec(0x1d8)](_0xf221ff,_0x2789b1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47bccf=_0x1948;function _0x3484(){const _0x4aa448=['change:archivedAt','665935tPWqtH','removeCommentThread','findIndex','requires','highest','isActive','add','activate','listenTo','archivedAt','306jQRRtY','context','get','archivedThreads','_calculatePosition','remove','36occbmi','193108NLKpBk','getCommentThread','stopListening','pluginName','173280ZOxmRv','plugins','init','516866YkhPrz','CommentsArchive','collection','addCommentThread','12LURjHw','208460SEDkxu','778419MdvZYP','focus','has','198WLjSeh','48056obVFGp','length'];_0x3484=function(){return _0x4aa448;};return _0x3484();}(function(_0x4722c4,_0x323baa){const _0x631a44=_0x1948,_0x50fec2=_0x4722c4();while(!![]){try{const _0xaf9993=-parseInt(_0x631a44(0xe8))/0x1+-parseInt(_0x631a44(0xec))/0x2+parseInt(_0x631a44(0xf5))/0x3+parseInt(_0x631a44(0xf3))/0x4*(parseInt(_0x631a44(0xfc))/0x5)+parseInt(_0x631a44(0x10c))/0x6*(parseInt(_0x631a44(0xef))/0x7)+parseInt(_0x631a44(0xf9))/0x8*(-parseInt(_0x631a44(0x106))/0x9)+-parseInt(_0x631a44(0xf4))/0xa*(parseInt(_0x631a44(0xf8))/0xb);if(_0xaf9993===_0x323baa)break;else _0x50fec2['push'](_0x50fec2['shift']());}catch(_0xb4ebb0){_0x50fec2['push'](_0x50fec2['shift']());}}}(_0x3484,0x3b4a0));import{ContextPlugin as _0x488884}from'ckeditor5/src/core.js';import{Collection as _0xfbc5c8}from'ckeditor5/src/utils.js';function _0x1948(_0x55e5ba,_0x2643c1){const _0x34840f=_0x3484();return _0x1948=function(_0x194827,_0x9e7eb7){_0x194827=_0x194827-0xe8;let _0x283e79=_0x34840f[_0x194827];return _0x283e79;},_0x1948(_0x55e5ba,_0x2643c1);}import _0x2b0a4e from'./commentsrepository.js';import _0x521067 from'../annotations/annotations.js';export default class p extends _0x488884{static get[_0x47bccf(0xeb)](){const _0x2d0d2c=_0x47bccf;return _0x2d0d2c(0xf0);}static get[_0x47bccf(0xff)](){return[_0x2b0a4e,_0x521067];}constructor(_0x80cc0b){const _0x3e8119=_0x47bccf;super(_0x80cc0b),this[_0x3e8119(0x109)]=new _0xfbc5c8();}[_0x47bccf(0xee)](){const _0x113664=_0x47bccf,_0x4e702b=this[_0x113664(0x107)],_0x50afe5=_0x4e702b[_0x113664(0xed)][_0x113664(0x108)](_0x2b0a4e),_0x541ec5=_0x4e702b[_0x113664(0xed)][_0x113664(0x108)](_0x521067);this[_0x113664(0x104)](_0x50afe5,_0x113664(0xf2),(_0x4408c7,{threadId:_0x50d646})=>{const _0xc486eb=_0x113664,_0xa607aa=_0x50afe5[_0xc486eb(0xe9)](_0x50d646);_0xa607aa[_0xc486eb(0x105)]&&this[_0xc486eb(0x109)][_0xc486eb(0x102)](_0xa607aa,this[_0xc486eb(0x10a)](_0xa607aa[_0xc486eb(0x105)])),this[_0xc486eb(0x104)](_0xa607aa,_0xc486eb(0xfb),(_0x49b398,_0x9bed38,_0x231821)=>{const _0x1b51de=_0xc486eb;_0x231821?this[_0x1b51de(0x109)][_0x1b51de(0xf7)](_0xa607aa)||this[_0x1b51de(0x109)][_0x1b51de(0x102)](_0xa607aa,this[_0x1b51de(0x10a)](_0xa607aa[_0x1b51de(0x105)])):this[_0x1b51de(0x109)][_0x1b51de(0xf7)](_0xa607aa)&&this[_0x1b51de(0x109)][_0x1b51de(0x10b)](_0xa607aa);});}),this[_0x113664(0x104)](_0x50afe5,_0x113664(0xfd),(_0x2cd5cf,{threadId:_0x4f4a07})=>{const _0x4a13bd=_0x113664,_0x1bc1ae=_0x50afe5[_0x4a13bd(0xe9)](_0x4f4a07);this[_0x4a13bd(0xea)](_0x1bc1ae),this[_0x4a13bd(0x109)][_0x4a13bd(0xf7)](_0x1bc1ae)&&this[_0x4a13bd(0x109)][_0x4a13bd(0x10b)](_0x1bc1ae);},{'priority':_0x113664(0x100)}),this[_0x113664(0x104)](_0x541ec5[_0x113664(0xf1)],_0x113664(0xf6),(_0xab86a2,_0xe144a5)=>{const _0x247dcc=_0x113664;_0xe144a5[_0x247dcc(0x101)]=!0x0,_0x541ec5[_0x247dcc(0x103)](_0xe144a5);});}[_0x47bccf(0x10a)](_0x1b3cbc){const _0x4ac22d=_0x47bccf,_0x42eb4c=[...this[_0x4ac22d(0x109)]][_0x4ac22d(0xfe)](_0x2c6ae0=>_0x2c6ae0[_0x4ac22d(0x105)]<_0x1b3cbc);return _0x42eb4c>-0x1?_0x42eb4c:this[_0x4ac22d(0x109)][_0x4ac22d(0xfa)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb2f611=_0x147a;(function(_0x8a9fec,_0x11461d){const _0x30420b=_0x147a,_0x186d18=_0x8a9fec();while(!![]){try{const _0xc1f159=parseInt(_0x30420b(0x12b))/0x1*(parseInt(_0x30420b(0x149))/0x2)+parseInt(_0x30420b(0x12a))/0x3+parseInt(_0x30420b(0x155))/0x4+parseInt(_0x30420b(0x142))/0x5*(-parseInt(_0x30420b(0x151))/0x6)+-parseInt(_0x30420b(0x14a))/0x7+-parseInt(_0x30420b(0x154))/0x8*(-parseInt(_0x30420b(0x12c))/0x9)+parseInt(_0x30420b(0x136))/0xa;if(_0xc1f159===_0x11461d)break;else _0x186d18['push'](_0x186d18['shift']());}catch(_0x3ef126){_0x186d18['push'](_0x186d18['shift']());}}}(_0x5f3a,0x7002c));import'../../theme/commentsarchive.css';function _0x5f3a(){const _0x308fb3=['getByInnerView','CommentsArchiveUI','COMMENTS_ARCHIVE','ck-body','5606fQiYar','4833787JaMeNX','length','filter','stopListening','ck-comments-archive-dropdown','archivedAt','focusTracker','32514GPMPhg','pluginName','focusableElements','1200624sjyVaV','454408bCeyAn','plugins','componentFactory','locale','CommentsRepository','_createArchiveUIDropdown','splice','commentsArchiveView','set','_pendingThreads','commentsArchive','position','classList','add','panelView','buttonView','find','collaboration.channelId','contains','extendTemplate','listenTo','channelId','annotationViews','1174248zVTIwO','86Kuducj','9XsbNSl','indexOf','_calculatePosition','push','init','config','archivedThreads','_threadToController','remove','findIndex','5403900ZWAyuN','children','isVisible','_handleAnnotationFocusableElements','change:isOpen','Annotations','innerView','_visibleAnnotations','collection','requires','editor','get','265VibrVX','view','mainView'];_0x5f3a=function(){return _0x308fb3;};return _0x5f3a();}import{Plugin as _0x1f7712}from'ckeditor5/src/core.js';function _0x147a(_0x5ee8bd,_0x7acda4){const _0x5f3a80=_0x5f3a();return _0x147a=function(_0x147a03,_0x2b63e9){_0x147a03=_0x147a03-0x119;let _0x55f1e4=_0x5f3a80[_0x147a03];return _0x55f1e4;},_0x147a(_0x5ee8bd,_0x7acda4);}import{createDropdown as _0x125f98,ViewCollection as _0x27430a}from'ckeditor5/src/ui.js';import _0x3020b9 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x1c1db6}from'../utils/common-translations.js';import _0x16ba25 from'./ui/view/commentsarchiveview.js';import _0x2b8adc from'./commentsarchive.js';export default class a extends _0x1f7712{static get[_0xb2f611(0x152)](){const _0x52b191=_0xb2f611;return _0x52b191(0x146);}static get[_0xb2f611(0x13f)](){return[_0x2b8adc];}constructor(_0x36a2ff){const _0x3a7de7=_0xb2f611;super(_0x36a2ff),this[_0x3a7de7(0x129)]=new _0x27430a(),this[_0x3a7de7(0x11c)]=[];}[_0xb2f611(0x130)](){const _0x2c19f3=_0xb2f611;this[_0x2c19f3(0x140)]['ui'][_0x2c19f3(0x157)][_0x2c19f3(0x120)](_0x2c19f3(0x11d),()=>this[_0x2c19f3(0x15a)]());const _0x2c6d27=this[_0x2c19f3(0x140)][_0x2c19f3(0x156)][_0x2c19f3(0x141)](_0x2b8adc),_0x34fb41=this[_0x2c19f3(0x140)][_0x2c19f3(0x156)][_0x2c19f3(0x141)](_0x2c19f3(0x13b)),_0x46dff5=this[_0x2c19f3(0x140)][_0x2c19f3(0x156)][_0x2c19f3(0x141)](_0x2c19f3(0x159));this[_0x2c19f3(0x127)](_0x2c6d27[_0x2c19f3(0x132)],_0x2c19f3(0x120),(_0x141c4c,_0x4f2279)=>{const _0x25b72b=_0x2c19f3,_0x393dd6=this[_0x25b72b(0x140)][_0x25b72b(0x131)][_0x25b72b(0x141)](_0x25b72b(0x124));if(!_0x393dd6||_0x4f2279[_0x25b72b(0x128)]===_0x393dd6){const _0x3052d9=this[_0x25b72b(0x12e)](_0x4f2279[_0x25b72b(0x14f)]),_0x4fd5e4=_0x46dff5[_0x25b72b(0x133)][_0x25b72b(0x141)](_0x4f2279);if(!_0x4fd5e4)return void this[_0x25b72b(0x11c)][_0x25b72b(0x12f)]({'thread':_0x4f2279,'position':_0x3052d9});const _0x200e04=_0x34fb41[_0x25b72b(0x145)](_0x4fd5e4[_0x25b72b(0x143)]);_0x200e04[_0x25b72b(0x138)]&&_0x34fb41[_0x25b72b(0x13d)][_0x25b72b(0x134)](_0x200e04),this[_0x25b72b(0x129)][_0x25b72b(0x120)](_0x200e04[_0x25b72b(0x143)],_0x3052d9);}}),this[_0x2c19f3(0x127)](_0x34fb41[_0x2c19f3(0x13e)],_0x2c19f3(0x120),(_0x142462,_0x19d9b4)=>{const _0x2ba6a8=_0x2c19f3,_0x3033b5=this[_0x2ba6a8(0x11c)][_0x2ba6a8(0x123)](({thread:_0x1aa226})=>{const _0x376218=_0x2ba6a8,_0x57137b=_0x46dff5[_0x376218(0x133)][_0x376218(0x141)](_0x1aa226);return _0x57137b&&_0x19d9b4[_0x376218(0x13c)]===_0x57137b[_0x376218(0x143)];});_0x3033b5&&(this[_0x2ba6a8(0x129)][_0x2ba6a8(0x120)](_0x19d9b4[_0x2ba6a8(0x143)],_0x3033b5[_0x2ba6a8(0x11e)]),this[_0x2ba6a8(0x11c)][_0x2ba6a8(0x119)](this[_0x2ba6a8(0x11c)][_0x2ba6a8(0x12d)](_0x3033b5),0x1));}),this[_0x2c19f3(0x127)](_0x2c6d27[_0x2c19f3(0x132)],_0x2c19f3(0x134),(_0x24d2d7,_0x14bbc4)=>{const _0xc276b4=_0x2c19f3,_0x182caa=this[_0xc276b4(0x140)][_0xc276b4(0x131)][_0xc276b4(0x141)](_0xc276b4(0x124));if(!_0x182caa||_0x14bbc4[_0xc276b4(0x128)]===_0x182caa){const _0x1ef252=_0x46dff5[_0xc276b4(0x133)][_0xc276b4(0x141)](_0x14bbc4),_0x4846cc=_0x34fb41[_0xc276b4(0x145)](_0x1ef252[_0xc276b4(0x143)]);this[_0xc276b4(0x129)][_0xc276b4(0x134)](_0x4846cc[_0xc276b4(0x143)]),this[_0xc276b4(0x14d)](_0x4846cc[_0xc276b4(0x153)]);}});}[_0xb2f611(0x139)](_0x5ee1e5,_0x35cbde){const _0x2ba2a2=_0xb2f611;for(const _0x14191f of _0x35cbde[_0x2ba2a2(0x153)])_0x14191f[_0x2ba2a2(0x11f)][_0x2ba2a2(0x125)](_0x2ba2a2(0x148))&&_0x5ee1e5[_0x2ba2a2(0x150)][_0x2ba2a2(0x120)](_0x14191f);this[_0x2ba2a2(0x127)](_0x35cbde[_0x2ba2a2(0x153)],_0x2ba2a2(0x120),(_0x36dd3e,_0x708fae)=>{const _0x266e47=_0x2ba2a2;_0x708fae[_0x266e47(0x11f)][_0x266e47(0x125)](_0x266e47(0x148))&&_0x5ee1e5[_0x266e47(0x150)][_0x266e47(0x120)](_0x708fae);}),this[_0x2ba2a2(0x127)](_0x35cbde[_0x2ba2a2(0x153)],_0x2ba2a2(0x134),(_0x39decd,_0x4f9211)=>{const _0x246405=_0x2ba2a2;_0x4f9211[_0x246405(0x11f)][_0x246405(0x125)](_0x246405(0x148))&&_0x5ee1e5[_0x246405(0x150)][_0x246405(0x134)](_0x4f9211);});}[_0xb2f611(0x12e)](_0x214c01){const _0x28a8f3=_0xb2f611,_0x4ab67a=this[_0x28a8f3(0x140)][_0x28a8f3(0x131)][_0x28a8f3(0x141)](_0x28a8f3(0x124)),_0x12f14e=[...this[_0x28a8f3(0x140)][_0x28a8f3(0x156)][_0x28a8f3(0x141)](_0x2b8adc)[_0x28a8f3(0x132)]][_0x28a8f3(0x14c)](_0x4e7a72=>_0x4e7a72[_0x28a8f3(0x128)]===_0x4ab67a)[_0x28a8f3(0x135)](_0x53b491=>_0x53b491[_0x28a8f3(0x14f)]<_0x214c01);return _0x12f14e>-0x1?_0x12f14e-0x1:this[_0x28a8f3(0x129)][_0x28a8f3(0x14b)];}[_0xb2f611(0x15a)](){const _0x51e3f9=_0xb2f611,_0xb28f12=this[_0x51e3f9(0x140)],_0x47912c=this[_0x51e3f9(0x140)][_0x51e3f9(0x156)][_0x51e3f9(0x141)](_0x51e3f9(0x13b)),_0x4a8999=_0x125f98(_0xb28f12[_0x51e3f9(0x158)]);_0x4a8999[_0x51e3f9(0x122)][_0x51e3f9(0x11b)]({'icon':_0x3020b9,'label':_0x1c1db6(_0xb28f12[_0x51e3f9(0x158)],_0x51e3f9(0x147)),'tooltip':!0x0}),_0x4a8999[_0x51e3f9(0x121)][_0x51e3f9(0x126)]({'attributes':{'class':_0x51e3f9(0x14e)}}),_0x4a8999['on'](_0x51e3f9(0x13a),(_0x330899,_0x3691bd,_0x4528cf)=>{const _0x11ffe4=_0x51e3f9;this[_0x11ffe4(0x11a)]||(this[_0x11ffe4(0x11a)]=new _0x16ba25(_0xb28f12[_0x11ffe4(0x158)],this[_0x11ffe4(0x129)])),_0x4528cf?_0x4a8999[_0x11ffe4(0x121)][_0x11ffe4(0x137)][_0x11ffe4(0x120)](this[_0x11ffe4(0x11a)]):_0x4a8999[_0x11ffe4(0x121)][_0x11ffe4(0x137)][_0x11ffe4(0x134)](this[_0x11ffe4(0x11a)]);});for(const _0x30f090 of this[_0x51e3f9(0x129)]){const _0x3ae69d=_0x47912c[_0x51e3f9(0x145)](_0x30f090[_0x51e3f9(0x144)]);this[_0x51e3f9(0x139)](_0x4a8999,_0x3ae69d);}return _0x4a8999[_0x51e3f9(0x127)](this[_0x51e3f9(0x129)],_0x51e3f9(0x120),(_0x5cdc56,_0x19d57a)=>{const _0x60241a=_0x51e3f9,_0x35ceb4=_0x47912c[_0x60241a(0x145)](_0x19d57a[_0x60241a(0x144)]);this[_0x60241a(0x139)](_0x4a8999,_0x35ceb4);}),_0x4a8999[_0x51e3f9(0x127)](this[_0x51e3f9(0x129)],_0x51e3f9(0x134),(_0x437707,_0xbf3494)=>{const _0x233efe=_0x51e3f9,_0x36247c=_0x47912c[_0x233efe(0x145)](_0xbf3494[_0x233efe(0x144)]);for(const _0xf390bb of _0x36247c[_0x233efe(0x153)])_0xf390bb[_0x233efe(0x11f)][_0x233efe(0x125)](_0x233efe(0x148))&&_0x4a8999[_0x233efe(0x150)][_0x233efe(0x134)](_0xf390bb);}),_0x4a8999;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x635b8f=_0x240a;(function(_0x51b8bd,_0x3b05f0){const _0x404849=_0x240a,_0x408317=_0x51b8bd();while(!![]){try{const _0x35ef3e=-parseInt(_0x404849(0x20e))/0x1*(parseInt(_0x404849(0x190))/0x2)+parseInt(_0x404849(0x1de))/0x3*(-parseInt(_0x404849(0x1da))/0x4)+parseInt(_0x404849(0x1ed))/0x5+parseInt(_0x404849(0x219))/0x6*(-parseInt(_0x404849(0x21b))/0x7)+-parseInt(_0x404849(0x210))/0x8*(parseInt(_0x404849(0x202))/0x9)+-parseInt(_0x404849(0x1f6))/0xa*(parseInt(_0x404849(0x1ea))/0xb)+-parseInt(_0x404849(0x1c8))/0xc*(-parseInt(_0x404849(0x20b))/0xd);if(_0x35ef3e===_0x3b05f0)break;else _0x408317['push'](_0x408317['shift']());}catch(_0xb04371){_0x408317['push'](_0x408317['shift']());}}}(_0x1fb4,0x1ac31));import{Plugin as _0x4adeb7}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1eb4d8}from'ckeditor5/src/utils.js';import _0x3a0a83 from'./commentsrepository.js';import _0x27a77c from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x2cda6,getAllMarkersDomElementsSorted as _0x4cf52f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3434cf from'../annotations/editorannotations.js';import _0x4d172d from'./integrations/commentsrestrictededitingmode.js';import _0x48610c from'./integrations/importword.js';function _0x1fb4(){const _0xa314f5=['clear','join','removeCommentThread','size','from','CommentsEditing','collaboration.channelId','pluginName','editing','comment','getWalker','dataToMarker','unlinkedAt','reopenCommentThread','getChangedMarkers','listenTo','ck-comment-marker','context','addMarker:','comments','_hasTargetInContent','getAttribute','dataDowncast','getCommentThread','push','isResolved','openNewCommentThread','upcast','_initAriaMarkerChangeAnnouncements','hasMarkerForId','plugins','change:activeMarker','_detachCommentThread','then','set','getItems','refreshVisibility','_attachMarkerToThread','_handleThreadMarker','addComment','$graveyard','markerName','getByInnerView','markerToHighlight','change','isAttached','setContext','5588340wJUUuL','removeMarker:','substring','enqueueChange','delete','markerToData','comment:','group','for','data','_attachArchivedThread','destroy','removeMarker','item','scrollToThreadMarker','text','end','hasContent','184736LfWImg','addCommentThread','destroyed','hasCommentThread','6tjQTFv','_getTargetForId','get','_threads','_handleMarkerAddAndRemove','isThreadsLoadingPaused','$marker','editor','isCollapsed','add','once','getRange','11tlJypQ','$textProxy','start','740510XLPdqe','consume','createElement','resolveCommentThread','_getTextContext','_threadToController','_initializeMarkerConverters','config','activeMarker','1849030ErmvmD','document','isLocal','registerAnnotation','getCommentThreads','setUnlinkedAt','length','switchReadOnly','differ','attachTo','change:isThreadsLoadingPaused','root','281403AcVJQK','createRange','view','locale','isEqual','isObject','LEAVE_COMMENT_ANNOUNCEMENT','ignoreResolvedComments','consumable','13bMkqJI','ENTER_COMMENT_ANNOUNCEMENT','elementToElement','769YvhBza','newRange','16yfoaLh','startsWith','ready','low','schema','commands','split','ck-comment-marker--active','ariaLiveAnnouncer','85884NxEGvw','updateMarker','77TYMfiu','hasDomSelection','state','reconvertMarker','announce','getAllMarkersForId','focus','change:isReadOnly','fetchCommentThread','editingDowncast','model','name','conversion','requires','rootName','18HJvbQO','markers','affectsData','createPositionBefore','registerPostFixer','managedUsingOperations','init','render','_reconvertMarkers'];_0x1fb4=function(){return _0xa314f5;};return _0x1fb4();}import _0x413a99 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x161bb0 from'../annotations/annotations.js';import{getTranslation as _0x485271}from'../utils/common-translations.js';export default class r extends _0x4adeb7{static get[_0x635b8f(0x18e)](){return[_0x3a0a83,_0x3434cf,_0x4d172d,_0x48610c,_0x413a99];}static get[_0x635b8f(0x1a0)](){const _0x1135ee=_0x635b8f;return _0x1135ee(0x19e);}constructor(_0x293b79){const _0x448ec=_0x635b8f;super(_0x293b79),this[_0x448ec(0x1bb)](_0x448ec(0x1e3),!0x0),_0x293b79[_0x448ec(0x1d1)][_0x448ec(0x1e8)](_0x448ec(0x212),()=>this[_0x448ec(0x1e3)]=!0x1),this[_0x448ec(0x1bb)](_0x448ec(0x1f5),null),this['on'](_0x448ec(0x1b8),(_0xe9bb3b,_0x3aaa1a,_0x2f3020,_0x359027)=>{const _0x5c834b=_0x448ec,_0x28162b=_0x2f3020?et(_0x2f3020)['id']:null;if(_0x293b79[_0x5c834b(0x225)][_0x5c834b(0x1c5)](()=>{const _0x3d6846=_0x5c834b;if(_0x28162b){const _0x3897f4=this[_0x3d6846(0x220)](_0x28162b);for(const _0x149d08 of _0x3897f4)_0x293b79[_0x3d6846(0x1a1)][_0x3d6846(0x21e)](_0x149d08);}if(_0x359027){const {id:_0x404881}=et(_0x359027),_0x56d14f=this[_0x3d6846(0x220)](_0x404881);for(const _0x1387f1 of _0x56d14f)_0x293b79[_0x3d6846(0x1a1)][_0x3d6846(0x21e)](_0x1387f1);}}),_0x28162b){const _0x266cdc=_0x293b79[_0x5c834b(0x1b7)][_0x5c834b(0x1e0)](_0x3a0a83)[_0x5c834b(0x1b0)](_0x28162b);_0x266cdc&&_0x266cdc[_0x5c834b(0x1b2)]&&this[_0x5c834b(0x1d6)](_0x28162b);}}),this[_0x448ec(0x1b5)]();}[_0x635b8f(0x196)](){const _0x473cbe=_0x635b8f,_0x32f2f9=this[_0x473cbe(0x1e5)],_0xc57aed=_0x32f2f9[_0x473cbe(0x1b7)][_0x473cbe(0x1e0)](_0x3a0a83),_0x1f6099=_0x32f2f9[_0x473cbe(0x1f4)][_0x473cbe(0x1e0)](_0x473cbe(0x19f));_0x32f2f9[_0x473cbe(0x215)][_0x473cbe(0x1e7)](_0x473cbe(0x1db),new _0x27a77c(_0x32f2f9)),this[_0x473cbe(0x1a8)](_0x32f2f9,_0x473cbe(0x222),(_0x397032,_0x20277c,_0x354e28)=>{const _0x6332c0=_0x473cbe;_0xc57aed[_0x6332c0(0x1fd)](_0x354e28,_0x32f2f9[_0x6332c0(0x1f4)][_0x6332c0(0x1e0)](_0x6332c0(0x19f)));}),this[_0x473cbe(0x1a8)](_0xc57aed,ot(_0x473cbe(0x1db),_0x1f6099),(_0x2bc417,{threadId:_0x56be87})=>{const _0x44d56c=_0x473cbe,_0x73166=this[_0x44d56c(0x1e5)][_0x44d56c(0x1b7)][_0x44d56c(0x1e0)](_0x3a0a83)[_0x44d56c(0x1b0)](_0x56be87);_0x73166&&_0x73166[_0x44d56c(0x1a5)]&&this[_0x44d56c(0x1d2)](_0x56be87);}),this[_0x473cbe(0x1a8)](_0xc57aed,ot(_0x473cbe(0x19b),_0x1f6099),(_0x4f96bc,{threadId:_0x578441})=>{const _0x3ae94d=_0x473cbe;_0x32f2f9[_0x3ae94d(0x225)][_0x3ae94d(0x1cb)]({'isUndoable':!0x1},_0xc771a6=>{const _0x3e06a8=_0x3ae94d,_0x1ffc3a=this[_0x3e06a8(0x220)](_0x578441);for(const _0x521dd4 of _0x1ffc3a)_0xc771a6[_0x3e06a8(0x1d4)](_0x521dd4);});}),this[_0x473cbe(0x1a8)](_0xc57aed,ot(_0x473cbe(0x1f0),_0x1f6099),(_0x5c9444,{threadId:_0x3a0f2c})=>{const _0x862fae=_0x473cbe;(this[_0x862fae(0x198)](_0x3a0f2c),this[_0x862fae(0x1e5)][_0x862fae(0x1a1)][_0x862fae(0x204)][_0x862fae(0x21c)])&&(this[_0x862fae(0x1e5)][_0x862fae(0x1b7)][_0x862fae(0x1e0)](_0x3a0a83)[_0x862fae(0x1b0)](_0x3a0f2c)[_0x862fae(0x1a5)]||this[_0x862fae(0x1e5)][_0x862fae(0x1a1)][_0x862fae(0x204)][_0x862fae(0x221)]());},{'priority':_0x473cbe(0x213)}),this[_0x473cbe(0x1a8)](_0xc57aed,ot(_0x473cbe(0x1a6),_0x1f6099),(_0x59b709,{threadId:_0x40f59f})=>{const _0x53233e=_0x473cbe;this[_0x53233e(0x198)](_0x40f59f);},{'priority':_0x473cbe(0x213)}),this[_0x473cbe(0x1a8)](_0xc57aed,ot(_0x473cbe(0x1c0),_0x1f6099),(_0x1571db,{threadId:_0x2b4e5c,isFromAdapter:_0x420576})=>{const _0x221d60=_0x473cbe,_0x48046d=this[_0x221d60(0x220)](_0x2b4e5c);if(_0x420576||0x0==_0x48046d[_0x221d60(0x1fc)]||!_0xc57aed[_0x221d60(0x1dd)](_0x2b4e5c))return;0x1===_0xc57aed[_0x221d60(0x1b0)](_0x2b4e5c)[_0x221d60(0x1fc)]&&_0x32f2f9[_0x221d60(0x225)][_0x221d60(0x1cb)]({'isUndoable':!0x1},_0x3d5df1=>{const _0x71b257=_0x221d60;for(const _0x15c5f2 of _0x48046d)_0x3d5df1[_0x71b257(0x21a)](_0x15c5f2,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x473cbe(0x213)}),this[_0x473cbe(0x1f3)](),this[_0x473cbe(0x1e2)]();}[_0x635b8f(0x1d3)](){const _0x36df0d=_0x635b8f,_0x191a8a=this[_0x36df0d(0x1e5)][_0x36df0d(0x1b7)][_0x36df0d(0x1e0)](_0x3a0a83),_0x52f358=this[_0x36df0d(0x1e5)][_0x36df0d(0x1f4)][_0x36df0d(0x1e0)](_0x36df0d(0x19f));for(const _0x34189a of _0x191a8a[_0x36df0d(0x1fa)]({'channelId':_0x52f358}))_0x191a8a[_0x36df0d(0x1b9)](_0x34189a['id']),_0x191a8a[_0x36df0d(0x1e1)][_0x36df0d(0x1cc)](_0x34189a['id']);super[_0x36df0d(0x1d3)]();}[_0x635b8f(0x1b6)](_0x4302c5){const _0x429b0c=_0x635b8f;return this[_0x429b0c(0x220)](_0x4302c5)[_0x429b0c(0x1fc)]>0x0;}[_0x635b8f(0x220)](_0xd75381){const _0x54a865=_0x635b8f,_0x1deb2f=[];for(const _0x377ed5 of this[_0x54a865(0x1e5)][_0x54a865(0x225)][_0x54a865(0x191)])_0x377ed5[_0x54a865(0x226)][_0x54a865(0x211)](_0x54a865(0x1ce)+_0xd75381)&&_0x1deb2f[_0x54a865(0x1b1)](_0x377ed5);return _0x1deb2f;}[_0x635b8f(0x1d6)](_0x1ab1fb){const _0x32a6e7=_0x635b8f,_0x120843=this[_0x32a6e7(0x1df)](_0x1ab1fb);_0x120843&&setTimeout(()=>{const _0x3f6de4=_0x32a6e7;this[_0x3f6de4(0x1f5)]&&et(this[_0x3f6de4(0x1f5)])['id']===_0x1ab1fb&&_0x1eb4d8({'target':_0x120843[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x635b8f(0x198)](_0x32480b){const _0xfc9f14=_0x635b8f;this[_0xfc9f14(0x1e5)][_0xfc9f14(0x225)][_0xfc9f14(0x1c5)](()=>{const _0x5d7621=_0xfc9f14;for(const _0x4a5848 of this[_0x5d7621(0x220)](_0x32480b))this[_0x5d7621(0x1e5)][_0x5d7621(0x1a1)][_0x5d7621(0x21e)](_0x4a5848);});}[_0x635b8f(0x1d2)](_0x23042e){const _0x343c88=_0x635b8f,_0x119d41=this[_0x343c88(0x1e5)][_0x343c88(0x1b7)][_0x343c88(0x1e0)](_0x3a0a83),_0x191aa3=this[_0x343c88(0x1e5)][_0x343c88(0x1b7)][_0x343c88(0x1e0)](_0x3434cf),_0x36ef07=_0x119d41[_0x343c88(0x1b0)](_0x23042e);if(!_0x36ef07[_0x343c88(0x1c6)]){const _0xde1d68=_0x36ef07[_0x343c88(0x1ff)](()=>this[_0x343c88(0x1df)](_0x36ef07['id']));_0x191aa3[_0x343c88(0x1f9)](_0xde1d68),_0x36ef07[_0x343c88(0x1ad)]=!0x1;}}[_0x635b8f(0x1f3)](){const _0x3921e5=_0x635b8f,_0x487925=this[_0x3921e5(0x1e5)];_0x487925[_0x3921e5(0x227)][_0x3921e5(0x1d0)](_0x3921e5(0x224))[_0x3921e5(0x1c4)]({'model':_0x3921e5(0x1a2),'view':(_0x485fdd,_0x3db0de)=>{const _0x3365f0=_0x3921e5,{id:_0x12766c}=et(_0x485fdd[_0x3365f0(0x1c2)]),_0xa06cd0=_0x487925[_0x3365f0(0x1b7)][_0x3365f0(0x1e0)](_0x3a0a83)[_0x3365f0(0x1b0)](_0x12766c),_0x98e31f=this[_0x3365f0(0x1f5)]&&et(this[_0x3365f0(0x1f5)])['id']===_0x12766c;if(_0xa06cd0&&_0xa06cd0[_0x3365f0(0x1b2)]&&!_0x98e31f&&_0x485fdd[_0x3365f0(0x1d5)])return _0x3db0de[_0x3365f0(0x20a)][_0x3365f0(0x1ee)](_0x485fdd[_0x3365f0(0x1d5)],_0x3365f0(0x1ab)+_0x485fdd[_0x3365f0(0x1c2)]),_0x3db0de[_0x3365f0(0x20a)][_0x3365f0(0x1ee)](_0x485fdd[_0x3365f0(0x1d5)],_0x3365f0(0x1c9)+_0x485fdd[_0x3365f0(0x1c2)]),null;const _0x44553d=[_0x3365f0(0x1a9)];return _0x98e31f&&_0x44553d[_0x3365f0(0x1b1)](_0x3365f0(0x217)),{'classes':_0x44553d,'attributes':{'data-comment':_0x12766c}};}}),_0x487925[_0x3921e5(0x227)][_0x3921e5(0x1d0)](_0x3921e5(0x1af))[_0x3921e5(0x1cd)]({'model':_0x3921e5(0x1a2),'view':(_0x1c6abd,{options:_0x44640e})=>{const _0x458bd8=_0x3921e5,_0x3802f8=_0x487925[_0x458bd8(0x1b7)][_0x458bd8(0x1e0)](_0x3a0a83),_0x20b1eb=_0x487925[_0x458bd8(0x225)][_0x458bd8(0x191)][_0x458bd8(0x1e0)](_0x1c6abd),{id:_0x562221,part:_0x394d4f}=et(_0x1c6abd);if(_0x20b1eb&&!_0x20b1eb[_0x458bd8(0x192)])return null;if(_0x44640e[_0x458bd8(0x209)]){const _0x5cd438=_0x3802f8[_0x458bd8(0x1b0)](_0x562221);if(_0x5cd438&&_0x5cd438[_0x458bd8(0x1b2)])return null;}return{'group':_0x458bd8(0x1a2),'name':_0x394d4f?_0x562221+':'+_0x394d4f:_0x562221};}}),_0x487925[_0x3921e5(0x227)][_0x3921e5(0x1d0)](_0x3921e5(0x1b4))[_0x3921e5(0x20d)]({'view':{'name':_0x3921e5(0x1a2),'attributes':{'id':/^\w/}},'model':(_0x29d4e2,{writer:_0x131e50})=>_0x131e50[_0x3921e5(0x1ef)](_0x3921e5(0x1e4),{'data-name':_0x3921e5(0x1ce)+_0x29d4e2[_0x3921e5(0x1ae)]('id')})}),_0x487925[_0x3921e5(0x227)][_0x3921e5(0x1d0)](_0x3921e5(0x1b4))[_0x3921e5(0x1a4)]({'view':_0x3921e5(0x1a2)});}[_0x635b8f(0x1e2)](){const _0x543bcf=_0x635b8f,_0x16cd1d=this[_0x543bcf(0x1e5)],_0x1289c1=_0x16cd1d[_0x543bcf(0x1b7)][_0x543bcf(0x1e0)](_0x3a0a83),_0x154042=new Set(),_0xca1811=new Set();_0x16cd1d[_0x543bcf(0x225)][_0x543bcf(0x1f7)][_0x543bcf(0x194)](_0x168b6c=>{const _0x5c1442=_0x543bcf;let _0x1df87f=!0x1;for(const {name:_0x3192f0,data:_0x3484db}of _0x16cd1d[_0x5c1442(0x225)][_0x5c1442(0x1f7)][_0x5c1442(0x1fe)][_0x5c1442(0x1a7)]()){const {group:_0xb7ca15,id:_0x3cc8d9}=et(_0x3192f0);let _0x3f1b41=_0x3484db[_0x5c1442(0x20f)];if(_0x5c1442(0x1a2)!==_0xb7ca15||!_0x3f1b41)continue;const _0x494fc5=_0x5c1442(0x1c1)===_0x3f1b41[_0x5c1442(0x201)][_0x5c1442(0x18f)];_0x494fc5||(_0x3f1b41=rt(_0x3f1b41,_0x16cd1d[_0x5c1442(0x225)]),!_0x3f1b41||_0x3f1b41[_0x5c1442(0x1e6)]||!_0x3484db[_0x5c1442(0x20f)]||_0x3f1b41[_0x5c1442(0x206)](_0x3484db[_0x5c1442(0x20f)]))?_0x16cd1d[_0x5c1442(0x225)][_0x5c1442(0x1d9)](_0x3f1b41)&&!_0x494fc5?this[_0x5c1442(0x1e3)]?_0x154042[_0x5c1442(0x1e7)](_0x3192f0):this[_0x5c1442(0x1bf)](_0x3192f0,_0x3cc8d9):(_0xca1811[_0x5c1442(0x1e7)](_0x3192f0),_0x154042[_0x5c1442(0x1cc)](_0x3192f0),_0x168b6c[_0x5c1442(0x1d4)](_0x3192f0),_0x1df87f=!0x0):(_0x168b6c[_0x5c1442(0x21a)](_0x3192f0,{'range':_0x3f1b41}),_0x1df87f=!0x0);}return _0x1df87f;}),this['on'](_0x543bcf(0x200),(_0x5e6984,_0x559812,_0x39b2a6)=>{const _0x3d90b1=_0x543bcf;if(!_0x39b2a6&&_0x154042[_0x3d90b1(0x19c)])for(const _0x46a42f of _0x154042){const {id:_0x451dcd}=et(_0x46a42f);_0x154042[_0x3d90b1(0x1cc)](_0x46a42f),_0x16cd1d[_0x3d90b1(0x225)][_0x3d90b1(0x191)][_0x3d90b1(0x1e0)](_0x46a42f)&&this[_0x3d90b1(0x1bf)](_0x46a42f,_0x451dcd);}}),this[_0x543bcf(0x1a8)](_0x16cd1d[_0x543bcf(0x225)][_0x543bcf(0x1f7)],_0x543bcf(0x1c5),(_0x169b63,_0x2b38ff)=>{const _0x42b61c=_0x543bcf;for(const {name:_0x55ea81,data:{newRange:_0x18da0e}}of _0x16cd1d[_0x42b61c(0x225)][_0x42b61c(0x1f7)][_0x42b61c(0x1fe)][_0x42b61c(0x1a7)]()){const {group:_0x28ca44,id:_0x17b827}=et(_0x55ea81);if(_0x42b61c(0x1a2)!==_0x28ca44)continue;const _0x531f3c=_0x1289c1[_0x42b61c(0x1b0)](_0x17b827),_0x1e7ced=this[_0x42b61c(0x1b6)](_0x17b827);_0x531f3c&&(_0x531f3c[_0x42b61c(0x1ad)]||_0x16cd1d[_0x42b61c(0x1a1)][_0x42b61c(0x204)][_0x42b61c(0x1e8)](_0x42b61c(0x197),()=>{const _0x371c21=_0x42b61c,_0x597a1f=_0x16cd1d[_0x371c21(0x1b7)][_0x371c21(0x1e0)](_0x161bb0),_0x50c562=_0x1289c1[_0x371c21(0x1f2)][_0x371c21(0x1e0)](_0x531f3c)[_0x371c21(0x204)];_0x597a1f[_0x371c21(0x1c3)](_0x50c562)[_0x371c21(0x1bd)]();},{'priority':_0x42b61c(0x213)}),_0x531f3c[_0x42b61c(0x1ad)]=_0x1e7ced||!!_0x18da0e),_0x18da0e||(_0xca1811[_0x42b61c(0x1e7)](_0x55ea81),_0x154042[_0x42b61c(0x1cc)](_0x55ea81));}if(_0x2b38ff[_0x42b61c(0x1f8)])for(const _0x24031c of _0xca1811){const {id:_0x4636fc}=et(_0x24031c),_0x4a1127=_0x1289c1[_0x42b61c(0x1b0)](_0x4636fc),_0x39a5e9=this[_0x42b61c(0x1b6)](_0x4636fc);_0x154042[_0x42b61c(0x1cc)](_0x24031c),!_0x4a1127||_0x39a5e9||_0x4a1127[_0x42b61c(0x1a5)]||_0x4a1127[_0x42b61c(0x1fb)](new Date());}_0xca1811[_0x42b61c(0x199)]();});}[_0x635b8f(0x1df)](_0x52f4f4){const _0x3f8d9a=_0x635b8f,_0x2ef771=this[_0x3f8d9a(0x1e5)],_0x4c137a=this[_0x3f8d9a(0x220)](_0x52f4f4);return _0x4cf52f(_0x2ef771[_0x3f8d9a(0x1a1)],_0x4c137a);}[_0x635b8f(0x1f1)](_0x42e0e0){const _0x3f5a3d=_0x635b8f,_0x48e6f1=this[_0x3f5a3d(0x220)](_0x42e0e0);let _0x1c54d1='',_0x5669a9=!0x1;for(const _0x349206 of _0x48e6f1){const _0x1d40bc=_0x349206[_0x3f5a3d(0x1e9)]();for(const _0x5de21c of Array[_0x3f5a3d(0x19d)](_0x1d40bc[_0x3f5a3d(0x1bc)]()))_0x5de21c['is'](_0x3f5a3d(0x1eb))?(_0x1c54d1&&_0x5669a9&&(_0x1c54d1+='\x20',_0x5669a9=!0x1),_0x1c54d1+=_0x5de21c[_0x3f5a3d(0x1d1)]):_0x5669a9=!0x0;_0x5669a9=!0x0;}return _0x1c54d1[_0x3f5a3d(0x1ca)](0x0,0x96);}[_0x635b8f(0x1be)](_0x14dddd,_0x42dda8){const _0x889fd9=_0x635b8f,_0x203d98=this[_0x889fd9(0x1e5)],_0x59d54b=_0x203d98[_0x889fd9(0x1b7)][_0x889fd9(0x1e0)](_0x3a0a83);let _0x4a53b9=_0x59d54b[_0x889fd9(0x1b0)](_0x42dda8);const _0x4d43bb=_0x203d98[_0x889fd9(0x1f4)][_0x889fd9(0x1e0)](_0x889fd9(0x19f)),_0x37894f=_0x203d98[_0x889fd9(0x1b7)][_0x889fd9(0x1e0)](_0x3434cf);if(_0x4a53b9&&(_0x4a53b9[_0x889fd9(0x1a5)]&&_0x4a53b9[_0x889fd9(0x1fb)](null),_0x4a53b9[_0x889fd9(0x1c6)]))return _0x4a53b9;return!this[_0x889fd9(0x220)](_0x42dda8)[0x0][_0x889fd9(0x195)]?_0x203d98[_0x889fd9(0x1a1)][_0x889fd9(0x204)][_0x889fd9(0x1e8)](_0x889fd9(0x197),()=>{const _0x5444a1=_0x889fd9;if(_0x59d54b[_0x5444a1(0x1b0)](_0x42dda8))return;const _0x235c43=_0x203d98[_0x5444a1(0x1b7)][_0x5444a1(0x1e0)](_0x161bb0);_0x4a53b9=_0x59d54b[_0x5444a1(0x1b3)]({'channelId':_0x4d43bb,'threadId':_0x42dda8,'target':()=>this[_0x5444a1(0x1df)](_0x42dda8),'context':{'type':_0x5444a1(0x1d7),'value':this[_0x5444a1(0x1f1)](_0x42dda8)}});const _0xc44b5d=_0x59d54b[_0x5444a1(0x1f2)][_0x5444a1(0x1e0)](_0x4a53b9)[_0x5444a1(0x204)],_0x19e553=_0x235c43[_0x5444a1(0x1c3)](_0xc44b5d);_0x19e553&&_0x37894f[_0x5444a1(0x1f9)](_0x19e553);},{'priority':_0x889fd9(0x213)}):_0x59d54b[_0x889fd9(0x223)]({'channelId':_0x4d43bb,'threadId':_0x42dda8})[_0x889fd9(0x1ba)](_0x1fd4df=>{const _0x47483e=_0x889fd9;if(_0x47483e(0x1dc)!==_0x203d98[_0x47483e(0x21d)]){if(_0x4a53b9=_0x1fd4df,_0x4a53b9&&!_0x4a53b9[_0x47483e(0x1c6)]){const _0x2e53cb=_0x4a53b9[_0x47483e(0x1ff)](()=>this[_0x47483e(0x1df)](_0x42dda8));_0x37894f[_0x47483e(0x1f9)](_0x2e53cb),_0x4a53b9[_0x47483e(0x1b2)]&&this[_0x47483e(0x198)](_0x42dda8);}else{if(!_0x4a53b9){const _0x108abc=this[_0x47483e(0x220)](_0x42dda8);_0x203d98[_0x47483e(0x225)][_0x47483e(0x1c5)](_0x5a82fb=>{const _0x37c2b5=_0x47483e;for(const _0x254b5e of _0x108abc)_0x5a82fb[_0x37c2b5(0x1d4)](_0x254b5e);});}}}}),_0x4a53b9;}[_0x635b8f(0x1bf)](_0x2450a7,_0x156200){const _0x1a1c73=_0x635b8f,_0x42dc8d=this[_0x1a1c73(0x1be)](_0x2450a7,_0x156200);_0x42dc8d&&!_0x42dc8d[_0x1a1c73(0x1aa)]&&_0x42dc8d[_0x1a1c73(0x1c7)]({'type':_0x1a1c73(0x1d7),'value':this[_0x1a1c73(0x1f1)](_0x156200)});}[_0x635b8f(0x1b5)](){const _0xa5c21=_0x635b8f,_0x220df=this[_0xa5c21(0x1e5)];_0x2cda6(_0x220df[_0xa5c21(0x225)],({left:_0x1ad88d,entered:_0x539696})=>{const _0x2eb6fd=_0xa5c21,_0x55b68f=[];for(const _0x4e7873 of _0x1ad88d)if(nt(_0x4e7873)){_0x55b68f[_0x2eb6fd(0x1b1)](_0x485271(_0x220df[_0x2eb6fd(0x205)],_0x2eb6fd(0x208)));break;}for(const _0x45242f of _0x539696)if(nt(_0x45242f)){_0x55b68f[_0x2eb6fd(0x1b1)](_0x485271(_0x220df[_0x2eb6fd(0x205)],_0x2eb6fd(0x20c)));break;}_0x55b68f[_0x2eb6fd(0x1fc)]&&_0x220df['ui'][_0x2eb6fd(0x218)][_0x2eb6fd(0x21f)](_0x2eb6fd(0x1ac),_0x55b68f[_0x2eb6fd(0x19a)]('\x20'));});}}function ot(_0x137bb6,_0x5ad29f){return _0x5ad29f?_0x137bb6+':'+_0x5ad29f:_0x137bb6;}function et(_0x43d788){const _0x47e130=_0x635b8f,_0x5d5480=_0x43d788[_0x47e130(0x216)](':');return{'group':_0x5d5480[0x0],'id':_0x5d5480[0x1],'part':_0x5d5480[0x2]};}function rt(_0x58c079,_0x4b84b3){const _0x5e2fa0=_0x635b8f,_0x2aaab2=_0x4b84b3[_0x5e2fa0(0x214)],_0x3ec30d=_0x4b84b3[_0x5e2fa0(0x203)](_0x58c079[_0x5e2fa0(0x1ec)]);for(const _0x260a44 of _0x58c079[_0x5e2fa0(0x1a3)]()){const {type:_0x11db0a,item:_0x442d66,nextPosition:_0x58a48a}=_0x260a44;if(_0x5e2fa0(0x1d7)===_0x11db0a||_0x2aaab2[_0x5e2fa0(0x207)](_0x442d66)){const _0x1c3078=_0x4b84b3[_0x5e2fa0(0x193)](_0x442d66);_0x3ec30d[_0x5e2fa0(0x1e6)]&&(_0x3ec30d[_0x5e2fa0(0x1ec)]=_0x1c3078),_0x3ec30d[_0x5e2fa0(0x1d8)]=_0x58a48a;}}return _0x3ec30d;}function _0x240a(_0x35fa20,_0x3d592d){const _0x1fb4e1=_0x1fb4();return _0x240a=function(_0x240af8,_0x980b4a){_0x240af8=_0x240af8-0x18e;let _0x5c0f53=_0x1fb4e1[_0x240af8];return _0x5c0f53;},_0x240a(_0x35fa20,_0x3d592d);}function nt(_0x22cb53){const _0x17586b=_0x635b8f;return _0x17586b(0x1a2)===et(_0x22cb53[_0x17586b(0x226)])[_0x17586b(0x1cf)];}
|
|
23
|
+
const _0x26f658=_0x1e90;(function(_0x5362e8,_0x1114fb){const _0xc26657=_0x1e90,_0x6172a8=_0x5362e8();while(!![]){try{const _0x5ebdf6=-parseInt(_0xc26657(0x1be))/0x1+parseInt(_0xc26657(0x1f1))/0x2*(parseInt(_0xc26657(0x1a3))/0x3)+parseInt(_0xc26657(0x214))/0x4+parseInt(_0xc26657(0x18a))/0x5+-parseInt(_0xc26657(0x1e6))/0x6+parseInt(_0xc26657(0x204))/0x7+-parseInt(_0xc26657(0x206))/0x8;if(_0x5ebdf6===_0x1114fb)break;else _0x6172a8['push'](_0x6172a8['shift']());}catch(_0x2eb6c6){_0x6172a8['push'](_0x6172a8['shift']());}}}(_0x5563,0x67a16));import{Plugin as _0x1c6ed1}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x37f4b5}from'ckeditor5/src/utils.js';import _0x2a02e2 from'./commentsrepository.js';import _0x36c9d8 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x4cf821,getAllMarkersDomElementsSorted as _0x56a599}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1e6d5a from'../annotations/editorannotations.js';import _0x1b5e79 from'./integrations/commentsrestrictededitingmode.js';import _0x373822 from'./integrations/importword.js';import _0x392161 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x5ee827 from'../annotations/annotations.js';import{getTranslation as _0x2bbda6}from'../utils/common-translations.js';export default class r extends _0x1c6ed1{static get[_0x26f658(0x1b8)](){return[_0x2a02e2,_0x1e6d5a,_0x1b5e79,_0x373822,_0x392161];}static get[_0x26f658(0x1d8)](){const _0x25cb59=_0x26f658;return _0x25cb59(0x1a2);}constructor(_0x171f59){const _0x5b0155=_0x26f658;super(_0x171f59),this[_0x5b0155(0x1ef)](_0x5b0155(0x1f3),!0x0),_0x171f59[_0x5b0155(0x191)][_0x5b0155(0x1d5)](_0x5b0155(0x1b0),()=>this[_0x5b0155(0x1f3)]=!0x1),this[_0x5b0155(0x1ef)](_0x5b0155(0x1a9),null),this['on'](_0x5b0155(0x1b4),(_0x3f588f,_0x4e564d,_0x19b7ed,_0x1fbe69)=>{const _0x4d151c=_0x5b0155,_0x120c4a=_0x19b7ed?et(_0x19b7ed)['id']:null;if(_0x171f59[_0x4d151c(0x1dd)][_0x4d151c(0x19c)](()=>{const _0x4bb1ce=_0x4d151c;if(_0x120c4a){const _0x50241a=this[_0x4bb1ce(0x1db)](_0x120c4a);for(const _0x41ce4a of _0x50241a)_0x171f59[_0x4bb1ce(0x1cc)][_0x4bb1ce(0x211)](_0x41ce4a);}if(_0x1fbe69){const {id:_0x54e0f6}=et(_0x1fbe69),_0x44f065=this[_0x4bb1ce(0x1db)](_0x54e0f6);for(const _0x27f1b8 of _0x44f065)_0x171f59[_0x4bb1ce(0x1cc)][_0x4bb1ce(0x211)](_0x27f1b8);}}),_0x120c4a){const _0x2153fe=_0x171f59[_0x4d151c(0x1c2)][_0x4d151c(0x196)](_0x2a02e2)[_0x4d151c(0x1fe)](_0x120c4a);_0x2153fe&&_0x2153fe[_0x4d151c(0x1ed)]&&this[_0x4d151c(0x1cb)](_0x120c4a);}}),this[_0x5b0155(0x1fa)]();}[_0x26f658(0x1b5)](){const _0x3f1ade=_0x26f658,_0x537756=this[_0x3f1ade(0x1e8)],_0x240352=_0x537756[_0x3f1ade(0x1c2)][_0x3f1ade(0x196)](_0x2a02e2),_0x5d7e69=_0x537756[_0x3f1ade(0x1cd)][_0x3f1ade(0x196)](_0x3f1ade(0x1f7));_0x537756[_0x3f1ade(0x212)][_0x3f1ade(0x1eb)](_0x3f1ade(0x20e),new _0x36c9d8(_0x537756)),this[_0x3f1ade(0x1dc)](_0x537756,_0x3f1ade(0x203),(_0x1c606b,_0x309dea,_0x3e9941)=>{const _0x23d4bc=_0x3f1ade;_0x240352[_0x23d4bc(0x1f5)](_0x3e9941,_0x537756[_0x23d4bc(0x1cd)][_0x23d4bc(0x196)](_0x23d4bc(0x1f7)));}),this[_0x3f1ade(0x1dc)](_0x240352,ot(_0x3f1ade(0x20e),_0x5d7e69),(_0x2cc06d,{threadId:_0x595d08})=>{const _0x428ad0=_0x3f1ade,_0x4abc78=this[_0x428ad0(0x1e8)][_0x428ad0(0x1c2)][_0x428ad0(0x196)](_0x2a02e2)[_0x428ad0(0x1fe)](_0x595d08);_0x4abc78&&_0x4abc78[_0x428ad0(0x209)]&&this[_0x428ad0(0x18d)](_0x595d08);}),this[_0x3f1ade(0x1dc)](_0x240352,ot(_0x3f1ade(0x1f9),_0x5d7e69),(_0x591a61,{threadId:_0x36450a})=>{const _0x1904fa=_0x3f1ade;_0x537756[_0x1904fa(0x1dd)][_0x1904fa(0x1f6)]({'isUndoable':!0x1},_0x2487fa=>{const _0x3e638f=_0x1904fa,_0x4e4d94=this[_0x3e638f(0x1db)](_0x36450a);for(const _0x5e85b8 of _0x4e4d94)_0x2487fa[_0x3e638f(0x1de)](_0x5e85b8);});}),this[_0x3f1ade(0x1dc)](_0x240352,ot(_0x3f1ade(0x1e7),_0x5d7e69),(_0x4b058a,{threadId:_0xac57c4})=>{const _0x3da868=_0x3f1ade;(this[_0x3da868(0x1b2)](_0xac57c4),this[_0x3da868(0x1e8)][_0x3da868(0x1cc)][_0x3da868(0x19b)][_0x3da868(0x1d2)])&&(this[_0x3da868(0x1e8)][_0x3da868(0x1c2)][_0x3da868(0x196)](_0x2a02e2)[_0x3da868(0x1fe)](_0xac57c4)[_0x3da868(0x209)]||this[_0x3da868(0x1e8)][_0x3da868(0x1cc)][_0x3da868(0x19b)][_0x3da868(0x215)]());},{'priority':_0x3f1ade(0x19a)}),this[_0x3f1ade(0x1dc)](_0x240352,ot(_0x3f1ade(0x1a5),_0x5d7e69),(_0x3e8d3d,{threadId:_0x49cea7})=>{const _0x185695=_0x3f1ade;this[_0x185695(0x1b2)](_0x49cea7);},{'priority':_0x3f1ade(0x19a)}),this[_0x3f1ade(0x1dc)](_0x240352,ot(_0x3f1ade(0x1d7),_0x5d7e69),(_0x5f2da2,{threadId:_0x7344c1,isFromAdapter:_0x414c5d})=>{const _0x302862=_0x3f1ade,_0x18ab3c=this[_0x302862(0x1db)](_0x7344c1);if(_0x414c5d||0x0==_0x18ab3c[_0x302862(0x1ce)]||!_0x240352[_0x302862(0x1ec)](_0x7344c1))return;0x1===_0x240352[_0x302862(0x1fe)](_0x7344c1)[_0x302862(0x1ce)]&&_0x537756[_0x302862(0x1dd)][_0x302862(0x1f6)]({'isUndoable':!0x1},_0x4b132c=>{const _0x2d1578=_0x302862;for(const _0x3ac92a of _0x18ab3c)_0x4b132c[_0x2d1578(0x1ad)](_0x3ac92a,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3f1ade(0x19a)}),this[_0x3f1ade(0x210)](),this[_0x3f1ade(0x1cf)]();}[_0x26f658(0x1c5)](){const _0x572f07=_0x26f658,_0x103ad8=this[_0x572f07(0x1e8)][_0x572f07(0x1c2)][_0x572f07(0x196)](_0x2a02e2),_0x47e209=this[_0x572f07(0x1e8)][_0x572f07(0x1cd)][_0x572f07(0x196)](_0x572f07(0x1f7));for(const _0xdc0645 of _0x103ad8[_0x572f07(0x1e1)]({'channelId':_0x47e209}))_0x103ad8[_0x572f07(0x201)](_0xdc0645['id']),_0x103ad8[_0x572f07(0x216)][_0x572f07(0x1bb)](_0xdc0645['id']);super[_0x572f07(0x1c5)]();}[_0x26f658(0x1c0)](_0x161506){const _0x2d1bfa=_0x26f658;return this[_0x2d1bfa(0x1db)](_0x161506)[_0x2d1bfa(0x1ce)]>0x0;}[_0x26f658(0x1db)](_0x2227e3){const _0x45beef=_0x26f658,_0x16dfbc=[];for(const _0x34ed05 of this[_0x45beef(0x1e8)][_0x45beef(0x1dd)][_0x45beef(0x1b1)])_0x34ed05[_0x45beef(0x1d0)][_0x45beef(0x188)](_0x45beef(0x1e2)+_0x2227e3)&&_0x16dfbc[_0x45beef(0x1fc)](_0x34ed05);return _0x16dfbc;}[_0x26f658(0x1cb)](_0x5fcd43){const _0x527f10=_0x26f658,_0x19385d=this[_0x527f10(0x1af)](_0x5fcd43);_0x19385d&&setTimeout(()=>{const _0x7a630a=_0x527f10;this[_0x7a630a(0x1a9)]&&et(this[_0x7a630a(0x1a9)])['id']===_0x5fcd43&&_0x37f4b5({'target':_0x19385d[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x26f658(0x1b2)](_0x2b295c){const _0x4f3181=_0x26f658;this[_0x4f3181(0x1e8)][_0x4f3181(0x1dd)][_0x4f3181(0x19c)](()=>{const _0xa9c99a=_0x4f3181;for(const _0x5ef744 of this[_0xa9c99a(0x1db)](_0x2b295c))this[_0xa9c99a(0x1e8)][_0xa9c99a(0x1cc)][_0xa9c99a(0x211)](_0x5ef744);});}[_0x26f658(0x18d)](_0x1d43f0){const _0x330ea3=_0x26f658,_0x464922=this[_0x330ea3(0x1e8)][_0x330ea3(0x1c2)][_0x330ea3(0x196)](_0x2a02e2),_0x2428c0=this[_0x330ea3(0x1e8)][_0x330ea3(0x1c2)][_0x330ea3(0x196)](_0x1e6d5a),_0x24662c=_0x464922[_0x330ea3(0x1fe)](_0x1d43f0);if(!_0x24662c[_0x330ea3(0x1bf)]){const _0x4164ac=_0x24662c[_0x330ea3(0x1c8)](()=>this[_0x330ea3(0x1af)](_0x24662c['id']));_0x2428c0[_0x330ea3(0x1e0)](_0x4164ac),_0x24662c[_0x330ea3(0x20f)]=!0x1;}}[_0x26f658(0x210)](){const _0x3ec70b=_0x26f658,_0x1deee5=this[_0x3ec70b(0x1e8)];_0x1deee5[_0x3ec70b(0x1f4)][_0x3ec70b(0x1c1)](_0x3ec70b(0x1ca))[_0x3ec70b(0x1bd)]({'model':_0x3ec70b(0x1f2),'view':(_0x4d08f2,_0x11a838)=>{const _0xc85dae=_0x3ec70b,{id:_0x1c0e59}=et(_0x4d08f2[_0xc85dae(0x199)]),_0x5378c8=_0x1deee5[_0xc85dae(0x1c2)][_0xc85dae(0x196)](_0x2a02e2)[_0xc85dae(0x1fe)](_0x1c0e59),_0x32a2b0=this[_0xc85dae(0x1a9)]&&et(this[_0xc85dae(0x1a9)])['id']===_0x1c0e59;if(_0x5378c8&&_0x5378c8[_0xc85dae(0x1ed)]&&!_0x32a2b0&&_0x4d08f2[_0xc85dae(0x21a)])return _0x11a838[_0xc85dae(0x1ee)][_0xc85dae(0x190)](_0x4d08f2[_0xc85dae(0x21a)],_0xc85dae(0x1b9)+_0x4d08f2[_0xc85dae(0x199)]),_0x11a838[_0xc85dae(0x1ee)][_0xc85dae(0x190)](_0x4d08f2[_0xc85dae(0x21a)],_0xc85dae(0x19e)+_0x4d08f2[_0xc85dae(0x199)]),null;const _0x35c816=[_0xc85dae(0x1e5)];return _0x32a2b0&&_0x35c816[_0xc85dae(0x1fc)](_0xc85dae(0x1fd)),{'classes':_0x35c816,'attributes':{'data-comment':_0x1c0e59}};}}),_0x1deee5[_0x3ec70b(0x1f4)][_0x3ec70b(0x1c1)](_0x3ec70b(0x1e9))[_0x3ec70b(0x20c)]({'model':_0x3ec70b(0x1f2),'view':(_0x57ebd4,{options:_0x854975})=>{const _0x367133=_0x3ec70b,_0x440fc7=_0x1deee5[_0x367133(0x1c2)][_0x367133(0x196)](_0x2a02e2),_0x3968e0=_0x1deee5[_0x367133(0x1dd)][_0x367133(0x1b1)][_0x367133(0x196)](_0x57ebd4),{id:_0x443c40,part:_0x397a29}=et(_0x57ebd4);if(_0x3968e0&&!_0x3968e0[_0x367133(0x1b3)])return null;if(_0x854975[_0x367133(0x20b)]){const _0x47c9d0=_0x440fc7[_0x367133(0x1fe)](_0x443c40);if(_0x47c9d0&&_0x47c9d0[_0x367133(0x1ed)])return null;}return{'group':_0x367133(0x1f2),'name':_0x397a29?_0x443c40+':'+_0x397a29:_0x443c40};}}),_0x1deee5[_0x3ec70b(0x1f4)][_0x3ec70b(0x1c1)](_0x3ec70b(0x202))[_0x3ec70b(0x1a8)]({'view':{'name':_0x3ec70b(0x1f2),'attributes':{'id':/^\w/}},'model':(_0x229a7b,{writer:_0x48d6fa})=>_0x48d6fa[_0x3ec70b(0x197)](_0x3ec70b(0x1bc),{'data-name':_0x3ec70b(0x1e2)+_0x229a7b[_0x3ec70b(0x18f)]('id')})}),_0x1deee5[_0x3ec70b(0x1f4)][_0x3ec70b(0x1c1)](_0x3ec70b(0x202))[_0x3ec70b(0x1d1)]({'view':_0x3ec70b(0x1f2)});}[_0x26f658(0x1cf)](){const _0x47c7fd=_0x26f658,_0xe140a7=this[_0x47c7fd(0x1e8)],_0x1b7b2a=_0xe140a7[_0x47c7fd(0x1c2)][_0x47c7fd(0x196)](_0x2a02e2),_0x48ba1c=new Set(),_0x80e62a=new Set();_0xe140a7[_0x47c7fd(0x1dd)][_0x47c7fd(0x218)][_0x47c7fd(0x1a6)](_0x259a17=>{const _0x47781e=_0x47c7fd;let _0x180114=!0x1;for(const {name:_0x298607,data:_0x57b43c}of _0xe140a7[_0x47781e(0x1dd)][_0x47781e(0x218)][_0x47781e(0x1d4)][_0x47781e(0x213)]()){const {group:_0x368ddb,id:_0x385bcb}=et(_0x298607);let _0x289145=_0x57b43c[_0x47781e(0x1aa)];if(_0x47781e(0x1f2)!==_0x368ddb||!_0x289145)continue;const _0x42439e=_0x47781e(0x21b)===_0x289145[_0x47781e(0x18e)][_0x47781e(0x1e4)];_0x42439e||(_0x289145=rt(_0x289145,_0xe140a7[_0x47781e(0x1dd)]),!_0x289145||_0x289145[_0x47781e(0x1ae)]||!_0x57b43c[_0x47781e(0x1aa)]||_0x289145[_0x47781e(0x19d)](_0x57b43c[_0x47781e(0x1aa)]))?_0xe140a7[_0x47781e(0x1dd)][_0x47781e(0x1b6)](_0x289145)&&!_0x42439e?this[_0x47781e(0x1f3)]?_0x48ba1c[_0x47781e(0x1eb)](_0x298607):this[_0x47781e(0x18b)](_0x298607,_0x385bcb):(_0x80e62a[_0x47781e(0x1eb)](_0x298607),_0x48ba1c[_0x47781e(0x1bb)](_0x298607),_0x259a17[_0x47781e(0x1de)](_0x298607),_0x180114=!0x0):(_0x259a17[_0x47781e(0x1ad)](_0x298607,{'range':_0x289145}),_0x180114=!0x0);}return _0x180114;}),this['on'](_0x47c7fd(0x1f0),(_0x4a181c,_0x2c68f6,_0x4e573e)=>{const _0x29050f=_0x47c7fd;if(!_0x4e573e&&_0x48ba1c[_0x29050f(0x1ac)])for(const _0x3124d2 of _0x48ba1c){const {id:_0x40c437}=et(_0x3124d2);_0x48ba1c[_0x29050f(0x1bb)](_0x3124d2),_0xe140a7[_0x29050f(0x1dd)][_0x29050f(0x1b1)][_0x29050f(0x196)](_0x3124d2)&&this[_0x29050f(0x18b)](_0x3124d2,_0x40c437);}}),this[_0x47c7fd(0x1dc)](_0xe140a7[_0x47c7fd(0x1dd)][_0x47c7fd(0x218)],_0x47c7fd(0x19c),(_0x5e6ec2,_0x123216)=>{const _0xa23192=_0x47c7fd;for(const {name:_0x4d42ff,data:{newRange:_0x5e66f5}}of _0xe140a7[_0xa23192(0x1dd)][_0xa23192(0x218)][_0xa23192(0x1d4)][_0xa23192(0x213)]()){const {group:_0x4d7988,id:_0x5ecbf5}=et(_0x4d42ff);if(_0xa23192(0x1f2)!==_0x4d7988)continue;const _0x29c99d=_0x1b7b2a[_0xa23192(0x1fe)](_0x5ecbf5),_0x26b8a7=this[_0xa23192(0x1c0)](_0x5ecbf5);_0x29c99d&&(_0x29c99d[_0xa23192(0x20f)]||_0xe140a7[_0xa23192(0x1cc)][_0xa23192(0x19b)][_0xa23192(0x1d5)](_0xa23192(0x1c7),()=>{const _0x2c4c1f=_0xa23192,_0x1b1178=_0xe140a7[_0x2c4c1f(0x1c2)][_0x2c4c1f(0x196)](_0x5ee827),_0x561a3a=_0x1b7b2a[_0x2c4c1f(0x198)][_0x2c4c1f(0x196)](_0x29c99d)[_0x2c4c1f(0x19b)];_0x1b1178[_0x2c4c1f(0x207)](_0x561a3a)[_0x2c4c1f(0x189)]();},{'priority':_0xa23192(0x19a)}),_0x29c99d[_0xa23192(0x20f)]=_0x26b8a7||!!_0x5e66f5),_0x5e66f5||(_0x80e62a[_0xa23192(0x1eb)](_0x4d42ff),_0x48ba1c[_0xa23192(0x1bb)](_0x4d42ff));}if(_0x123216[_0xa23192(0x1ff)])for(const _0x128b76 of _0x80e62a){const {id:_0x3f015b}=et(_0x128b76),_0x536ac5=_0x1b7b2a[_0xa23192(0x1fe)](_0x3f015b),_0x3f8ba2=this[_0xa23192(0x1c0)](_0x3f015b);_0x48ba1c[_0xa23192(0x1bb)](_0x128b76),!_0x536ac5||_0x3f8ba2||_0x536ac5[_0xa23192(0x209)]||_0x536ac5[_0xa23192(0x194)](new Date());}_0x80e62a[_0xa23192(0x219)]();});}[_0x26f658(0x1af)](_0x356205){const _0xbd8393=_0x26f658,_0x16d332=this[_0xbd8393(0x1e8)],_0x6e048f=this[_0xbd8393(0x1db)](_0x356205);return _0x56a599(_0x16d332[_0xbd8393(0x1cc)],_0x6e048f);}[_0x26f658(0x19f)](_0x4bdc0b){const _0x23df40=_0x26f658,_0x5c7be8=this[_0x23df40(0x1db)](_0x4bdc0b);let _0xd3a019='',_0x5cf9e4=!0x1;for(const _0x47d572 of _0x5c7be8){const _0xbcabad=_0x47d572[_0x23df40(0x1a4)]();for(const _0x4e87df of Array[_0x23df40(0x1ba)](_0xbcabad[_0x23df40(0x208)]()))_0x4e87df['is'](_0x23df40(0x205))?(_0xd3a019&&_0x5cf9e4&&(_0xd3a019+='\x20',_0x5cf9e4=!0x1),_0xd3a019+=_0x4e87df[_0x23df40(0x191)]):_0x5cf9e4=!0x0;_0x5cf9e4=!0x0;}return _0xd3a019[_0x23df40(0x1d9)](0x0,0x96);}[_0x26f658(0x1b7)](_0x3ca3b3,_0x4623ef){const _0x106a7e=_0x26f658,_0x5300fa=this[_0x106a7e(0x1e8)],_0x44f1bf=_0x5300fa[_0x106a7e(0x1c2)][_0x106a7e(0x196)](_0x2a02e2);let _0x458b5f=_0x44f1bf[_0x106a7e(0x1fe)](_0x4623ef);const _0x521e36=_0x5300fa[_0x106a7e(0x1cd)][_0x106a7e(0x196)](_0x106a7e(0x1f7)),_0x53c1d6=_0x5300fa[_0x106a7e(0x1c2)][_0x106a7e(0x196)](_0x1e6d5a);if(_0x458b5f&&(_0x458b5f[_0x106a7e(0x209)]&&_0x458b5f[_0x106a7e(0x194)](null),_0x458b5f[_0x106a7e(0x1bf)]))return _0x458b5f;return!this[_0x106a7e(0x1db)](_0x4623ef)[0x0][_0x106a7e(0x1ab)]?_0x5300fa[_0x106a7e(0x1cc)][_0x106a7e(0x19b)][_0x106a7e(0x1d5)](_0x106a7e(0x1c7),()=>{const _0x2d57fc=_0x106a7e;if(_0x44f1bf[_0x2d57fc(0x1fe)](_0x4623ef))return;const _0x497d05=_0x5300fa[_0x2d57fc(0x1c2)][_0x2d57fc(0x196)](_0x5ee827);_0x458b5f=_0x44f1bf[_0x2d57fc(0x1c4)]({'channelId':_0x521e36,'threadId':_0x4623ef,'target':()=>this[_0x2d57fc(0x1af)](_0x4623ef),'context':{'type':_0x2d57fc(0x1da),'value':this[_0x2d57fc(0x19f)](_0x4623ef)}});const _0x3a1760=_0x44f1bf[_0x2d57fc(0x198)][_0x2d57fc(0x196)](_0x458b5f)[_0x2d57fc(0x19b)],_0x316bc3=_0x497d05[_0x2d57fc(0x207)](_0x3a1760);_0x316bc3&&_0x53c1d6[_0x2d57fc(0x1e0)](_0x316bc3);},{'priority':_0x106a7e(0x19a)}):_0x44f1bf[_0x106a7e(0x1df)]({'channelId':_0x521e36,'threadId':_0x4623ef})[_0x106a7e(0x200)](_0x98c45f=>{const _0x7feae4=_0x106a7e;if(_0x7feae4(0x192)!==_0x5300fa[_0x7feae4(0x1d3)]){if(_0x458b5f=_0x98c45f,_0x458b5f&&!_0x458b5f[_0x7feae4(0x1bf)]){const _0x488ad4=_0x458b5f[_0x7feae4(0x1c8)](()=>this[_0x7feae4(0x1af)](_0x4623ef));_0x53c1d6[_0x7feae4(0x1e0)](_0x488ad4),_0x458b5f[_0x7feae4(0x1ed)]&&this[_0x7feae4(0x1b2)](_0x4623ef);}else{if(!_0x458b5f){const _0x96083f=this[_0x7feae4(0x1db)](_0x4623ef);_0x5300fa[_0x7feae4(0x1dd)][_0x7feae4(0x19c)](_0x1f8fd1=>{const _0x1ce85c=_0x7feae4;for(const _0x48ef76 of _0x96083f)_0x1f8fd1[_0x1ce85c(0x1de)](_0x48ef76);});}}}}),_0x458b5f;}[_0x26f658(0x18b)](_0x2cbaa1,_0x2007f2){const _0x18ab7e=_0x26f658,_0x3d3d58=this[_0x18ab7e(0x1b7)](_0x2cbaa1,_0x2007f2);_0x3d3d58&&!_0x3d3d58[_0x18ab7e(0x20a)]&&_0x3d3d58[_0x18ab7e(0x193)]({'type':_0x18ab7e(0x1da),'value':this[_0x18ab7e(0x19f)](_0x2007f2)});}[_0x26f658(0x1fa)](){const _0x422a5c=_0x26f658,_0x4e40c5=this[_0x422a5c(0x1e8)];_0x4cf821(_0x4e40c5[_0x422a5c(0x1dd)],({left:_0x831e4b,entered:_0x1f4e6c})=>{const _0x1072b8=_0x422a5c,_0x3f4193=[];for(const _0x2612e8 of _0x831e4b)if(nt(_0x2612e8)){_0x3f4193[_0x1072b8(0x1fc)](_0x2bbda6(_0x4e40c5[_0x1072b8(0x1fb)],_0x1072b8(0x1c9)));break;}for(const _0x440be3 of _0x1f4e6c)if(nt(_0x440be3)){_0x3f4193[_0x1072b8(0x1fc)](_0x2bbda6(_0x4e40c5[_0x1072b8(0x1fb)],_0x1072b8(0x1d6)));break;}_0x3f4193[_0x1072b8(0x1ce)]&&_0x4e40c5['ui'][_0x1072b8(0x1ea)][_0x1072b8(0x1e3)](_0x1072b8(0x217),_0x3f4193[_0x1072b8(0x1f8)]('\x20'));});}}function _0x1e90(_0x416302,_0x36eefa){const _0x5563bf=_0x5563();return _0x1e90=function(_0x1e9080,_0x44b872){_0x1e9080=_0x1e9080-0x188;let _0x56579b=_0x5563bf[_0x1e9080];return _0x56579b;},_0x1e90(_0x416302,_0x36eefa);}function ot(_0x435a7b,_0x1c6803){return _0x1c6803?_0x435a7b+':'+_0x1c6803:_0x435a7b;}function et(_0x2537cd){const _0x17741d=_0x26f658,_0x198d7b=_0x2537cd[_0x17741d(0x1c3)](':');return{'group':_0x198d7b[0x0],'id':_0x198d7b[0x1],'part':_0x198d7b[0x2]};}function rt(_0x1fbb90,_0x24f880){const _0x35a823=_0x26f658,_0x31706b=_0x24f880[_0x35a823(0x21c)],_0x43e948=_0x24f880[_0x35a823(0x195)](_0x1fbb90[_0x35a823(0x18c)]);for(const _0x24e64d of _0x1fbb90[_0x35a823(0x1a7)]()){const {type:_0xbd0656,item:_0x4c0b91,nextPosition:_0x343789}=_0x24e64d;if(_0x35a823(0x1da)===_0xbd0656||_0x31706b[_0x35a823(0x1a1)](_0x4c0b91)){const _0x4230b5=_0x24f880[_0x35a823(0x1c6)](_0x4c0b91);_0x43e948[_0x35a823(0x1ae)]&&(_0x43e948[_0x35a823(0x18c)]=_0x4230b5),_0x43e948[_0x35a823(0x20d)]=_0x343789;}}return _0x43e948;}function _0x5563(){const _0x242154=['managedUsingOperations','size','updateMarker','isCollapsed','_getTargetForId','ready','markers','_reconvertMarkers','affectsData','change:activeMarker','init','hasContent','_attachMarkerToThread','requires','addMarker:','from','delete','$marker','markerToHighlight','522325PQQQPP','isAttached','hasMarkerForId','for','plugins','split','openNewCommentThread','destroy','createPositionBefore','render','attachTo','LEAVE_COMMENT_ANNOUNCEMENT','editingDowncast','scrollToThreadMarker','editing','config','length','_handleMarkerAddAndRemove','name','dataToMarker','hasDomSelection','state','differ','once','ENTER_COMMENT_ANNOUNCEMENT','addComment','pluginName','substring','text','getAllMarkersForId','listenTo','model','removeMarker','fetchCommentThread','registerAnnotation','getCommentThreads','comment:','announce','rootName','ck-comment-marker','2762802bTXKUf','resolveCommentThread','editor','dataDowncast','ariaLiveAnnouncer','add','hasCommentThread','isResolved','consumable','set','change:isThreadsLoadingPaused','2042kNrqQt','comment','isThreadsLoadingPaused','conversion','switchReadOnly','enqueueChange','collaboration.channelId','join','removeCommentThread','_initAriaMarkerChangeAnnouncements','locale','push','ck-comment-marker--active','getCommentThread','isLocal','then','_detachCommentThread','upcast','change:isReadOnly','1160278UIsjed','$textProxy','2376512oYAqvb','getByInnerView','getItems','unlinkedAt','context','ignoreResolvedComments','markerToData','end','addCommentThread','_hasTargetInContent','_initializeMarkerConverters','reconvertMarker','commands','getChangedMarkers','2772092ldSVyX','focus','_threads','comments','document','clear','item','$graveyard','schema','startsWith','refreshVisibility','3589620uuaNAM','_handleThreadMarker','start','_attachArchivedThread','root','getAttribute','consume','data','destroyed','setContext','setUnlinkedAt','createRange','get','createElement','_threadToController','markerName','low','view','change','isEqual','removeMarker:','_getTextContext','group','isObject','CommentsEditing','375JGbgkJ','getRange','reopenCommentThread','registerPostFixer','getWalker','elementToElement','activeMarker','newRange'];_0x5563=function(){return _0x242154;};return _0x5563();}function nt(_0x3c5bd8){const _0x54d4a9=_0x26f658;return _0x54d4a9(0x1f2)===et(_0x3c5bd8[_0x54d4a9(0x1d0)])[_0x54d4a9(0x1a0)];}
|