@ckeditor/ckeditor5-comments 42.0.1-alpha.2 → 42.0.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/LICENSE.md +1 -1
- 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 +3 -3
- 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/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 _0x59d7c9=_0x21ba;(function(_0x545ea2,_0x24222d){const _0x18f3cd=_0x21ba,_0x49beff=_0x545ea2();while(!![]){try{const _0x182f3d=-parseInt(_0x18f3cd(0xc4))/0x1+parseInt(_0x18f3cd(0x10a))/0x2*(parseInt(_0x18f3cd(0x8a))/0x3)+parseInt(_0x18f3cd(0xd0))/0x4+-parseInt(_0x18f3cd(0xe5))/0x5*(parseInt(_0x18f3cd(0xf2))/0x6)+-parseInt(_0x18f3cd(0x102))/0x7*(-parseInt(_0x18f3cd(0x82))/0x8)+-parseInt(_0x18f3cd(0xe7))/0x9*(parseInt(_0x18f3cd(0xed))/0xa)+parseInt(_0x18f3cd(0x8e))/0xb*(parseInt(_0x18f3cd(0x10d))/0xc);if(_0x182f3d===_0x24222d)break;else _0x49beff['push'](_0x49beff['shift']());}catch(_0x4e518a){_0x49beff['push'](_0x49beff['shift']());}}}(_0x6f8c,0x85e85));import{Plugin as _0x5f441e}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x55d4e4}from'ckeditor5/src/utils.js';import _0x3be6ff from'./commentsrepository.js';function _0x6f8c(){const _0x2bbcbe=['substring','state','start','isLocal','unlinkedAt','from','editingDowncast','3887424jDYgKY','destroyed','_threads','model','length','ck-comment-marker--active','ariaLiveAnnouncer','get','getCommentThread','openNewCommentThread','hasMarkerForId','dataToMarker','change:isReadOnly','text','_reconvertMarkers','managedUsingOperations','$textProxy','_initAriaMarkerChangeAnnouncements','view','focus','isObject','2261005WbbRBf','getByInnerView','40347uGCTJl','updateMarker','createRange','_initializeMarkerConverters','set','scrollToThreadMarker','2030kQJzSK','end','editor','setContext','activeMarker','12Tqvluu','getAllMarkersForId','ck-comment-marker','_attachMarkerToThread','getAttribute','_hasTargetInContent','registerAnnotation','setUnlinkedAt','isResolved','context','hasDomSelection','addMarker:','collaboration.channelId','size','hasCommentThread','rootName','7XJSeCn','$marker','isThreadsLoadingPaused','consumable','editing','locale','ready','getItems','2506LPJuzN','markerName','_handleThreadMarker','900XNrXCh','then','name','markerToData','data','getWalker','_attachArchivedThread','root','group','isEqual','requires','elementToElement','3469112CSyBfu','_detachCommentThread','pluginName','resolveCommentThread','getChangedMarkers','newRange','switchReadOnly','fetchCommentThread','849hzOPNt','hasContent','commands','plugins','181709mTCrfc','upcast','listenTo','getRange','registerPostFixer','comment:','announce','_handleMarkerAddAndRemove','render','getCommentThreads','LEAVE_COMMENT_ANNOUNCEMENT','item','for','dataDowncast','destroy','removeCommentThread','removeMarker:','enqueueChange','ENTER_COMMENT_ANNOUNCEMENT','isCollapsed','config','change:activeMarker','_threadToController','createPositionBefore','startsWith','delete','add','markers','split','_getTextContext','$graveyard','attachTo','refreshVisibility','push','differ','init','conversion','change','removeMarker','_getTargetForId','markerToHighlight','ignoreResolvedComments','affectsData','consume','schema','CommentsEditing','document','once','comment','addCommentThread','isAttached','change:isThreadsLoadingPaused','clear','low','636083UWSOVi','createElement','reconvertMarker','reopenCommentThread','addComment'];_0x6f8c=function(){return _0x2bbcbe;};return _0x6f8c();}import _0x27ecfc from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x4fea5f,getAllMarkersDomElementsSorted as _0x2ae785}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5eef69 from'../annotations/editorannotations.js';import _0x48bf69 from'./integrations/commentsrestrictededitingmode.js';import _0x5939b7 from'./integrations/importword.js';function _0x21ba(_0x54e671,_0xce84c4){const _0x6f8cd9=_0x6f8c();return _0x21ba=function(_0x21ba57,_0x4d20a6){_0x21ba57=_0x21ba57-0x7a;let _0xf40bf8=_0x6f8cd9[_0x21ba57];return _0xf40bf8;},_0x21ba(_0x54e671,_0xce84c4);}import _0x1c909f from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x5dc91f from'../annotations/annotations.js';import{getTranslation as _0x5c32fb}from'../utils/common-translations.js';export default class r extends _0x5f441e{static get[_0x59d7c9(0x80)](){return[_0x3be6ff,_0x5eef69,_0x48bf69,_0x5939b7,_0x1c909f];}static get[_0x59d7c9(0x84)](){const _0x298ff9=_0x59d7c9;return _0x298ff9(0xbb);}constructor(_0x5509d3){const _0x4b70b7=_0x59d7c9;super(_0x5509d3),this[_0x4b70b7(0xeb)](_0x4b70b7(0x104),!0x0),_0x5509d3[_0x4b70b7(0x7a)][_0x4b70b7(0xbd)](_0x4b70b7(0x108),()=>this[_0x4b70b7(0x104)]=!0x1),this[_0x4b70b7(0xeb)](_0x4b70b7(0xf1),null),this['on'](_0x4b70b7(0xa3),(_0x1d2a87,_0x3fc490,_0x483fef,_0x331949)=>{const _0x2ec697=_0x4b70b7,_0x29fb04=_0x483fef?it(_0x483fef)['id']:null;if(_0x5509d3[_0x2ec697(0xd3)][_0x2ec697(0xb3)](()=>{const _0x2c88d0=_0x2ec697;if(_0x29fb04){const _0x5e8150=this[_0x2c88d0(0xf3)](_0x29fb04);for(const _0x23a548 of _0x5e8150)_0x5509d3[_0x2c88d0(0x106)][_0x2c88d0(0xc6)](_0x23a548);}if(_0x331949){const {id:_0x1177b0}=it(_0x331949),_0x74f2be=this[_0x2c88d0(0xf3)](_0x1177b0);for(const _0x5b7215 of _0x74f2be)_0x5509d3[_0x2c88d0(0x106)][_0x2c88d0(0xc6)](_0x5b7215);}}),_0x29fb04){const _0x5541b1=_0x5509d3[_0x2ec697(0x8d)][_0x2ec697(0xd7)](_0x3be6ff)[_0x2ec697(0xd8)](_0x29fb04);_0x5541b1&&_0x5541b1[_0x2ec697(0xfa)]&&this[_0x2ec697(0xec)](_0x29fb04);}}),this[_0x4b70b7(0xe1)]();}[_0x59d7c9(0xb1)](){const _0x370402=_0x59d7c9,_0x562152=this[_0x370402(0xef)],_0x3b322b=_0x562152[_0x370402(0x8d)][_0x370402(0xd7)](_0x3be6ff),_0x667475=_0x562152[_0x370402(0xa2)][_0x370402(0xd7)](_0x370402(0xfe));_0x562152[_0x370402(0x8c)][_0x370402(0xa8)](_0x370402(0xbf),new _0x27ecfc(_0x562152)),this[_0x370402(0x90)](_0x562152,_0x370402(0xdc),(_0x5e4fa4,_0x1147ff,_0x596fdb)=>{const _0x57df15=_0x370402;_0x3b322b[_0x57df15(0x88)](_0x596fdb,_0x562152[_0x57df15(0xa2)][_0x57df15(0xd7)](_0x57df15(0xfe)));}),this[_0x370402(0x90)](_0x3b322b,nt(_0x370402(0xbf),_0x667475),(_0x5bc0e6,{threadId:_0x23b703})=>{const _0x472bd8=_0x370402,_0x4ff4da=this[_0x472bd8(0xef)][_0x472bd8(0x8d)][_0x472bd8(0xd7)](_0x3be6ff)[_0x472bd8(0xd8)](_0x23b703);_0x4ff4da&&_0x4ff4da[_0x472bd8(0xcd)]&&this[_0x472bd8(0x7c)](_0x23b703);}),this[_0x370402(0x90)](_0x3b322b,nt(_0x370402(0x9d),_0x667475),(_0x1a9d15,{threadId:_0x3ccb60})=>{const _0x47106b=_0x370402;_0x562152[_0x47106b(0xd3)][_0x47106b(0x9f)]({'isUndoable':!0x1},_0x1de48d=>{const _0xf9847a=_0x47106b,_0x3c72e5=this[_0xf9847a(0xf3)](_0x3ccb60);for(const _0x51aed1 of _0x3c72e5)_0x1de48d[_0xf9847a(0xb4)](_0x51aed1);});}),this[_0x370402(0x90)](_0x3b322b,nt(_0x370402(0x85),_0x667475),(_0x3cb86c,{threadId:_0x279e45})=>{const _0x329d42=_0x370402;(this[_0x329d42(0xde)](_0x279e45),this[_0x329d42(0xef)][_0x329d42(0x106)][_0x329d42(0xe2)][_0x329d42(0xfc)])&&(this[_0x329d42(0xef)][_0x329d42(0x8d)][_0x329d42(0xd7)](_0x3be6ff)[_0x329d42(0xd8)](_0x279e45)[_0x329d42(0xcd)]||this[_0x329d42(0xef)][_0x329d42(0x106)][_0x329d42(0xe2)][_0x329d42(0xe3)]());},{'priority':_0x370402(0xc3)}),this[_0x370402(0x90)](_0x3b322b,nt(_0x370402(0xc7),_0x667475),(_0x2c3701,{threadId:_0x4c9d81})=>{const _0x36635c=_0x370402;this[_0x36635c(0xde)](_0x4c9d81);},{'priority':_0x370402(0xc3)}),this[_0x370402(0x90)](_0x3b322b,nt(_0x370402(0xc8),_0x667475),(_0x2254bc,{threadId:_0x117d78,isFromAdapter:_0x3e4175})=>{const _0x180f01=_0x370402,_0x45b7d3=this[_0x180f01(0xf3)](_0x117d78);if(_0x3e4175||0x0==_0x45b7d3[_0x180f01(0xd4)]||!_0x3b322b[_0x180f01(0x100)](_0x117d78))return;0x1===_0x3b322b[_0x180f01(0xd8)](_0x117d78)[_0x180f01(0xd4)]&&_0x562152[_0x180f01(0xd3)][_0x180f01(0x9f)]({'isUndoable':!0x1},_0x212a7e=>{const _0x71c18a=_0x180f01;for(const _0x42d8cb of _0x45b7d3)_0x212a7e[_0x71c18a(0xe8)](_0x42d8cb,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x370402(0xc3)}),this[_0x370402(0xea)](),this[_0x370402(0x95)]();}[_0x59d7c9(0x9c)](){const _0x729049=_0x59d7c9,_0x383ad7=this[_0x729049(0xef)][_0x729049(0x8d)][_0x729049(0xd7)](_0x3be6ff),_0x3414d5=this[_0x729049(0xef)][_0x729049(0xa2)][_0x729049(0xd7)](_0x729049(0xfe));for(const _0xdf7d68 of _0x383ad7[_0x729049(0x97)]({'channelId':_0x3414d5}))_0x383ad7[_0x729049(0x83)](_0xdf7d68['id']),_0x383ad7[_0x729049(0xd2)][_0x729049(0xa7)](_0xdf7d68['id']);super[_0x729049(0x9c)]();}[_0x59d7c9(0xda)](_0x5d6b95){const _0x5c8707=_0x59d7c9;return this[_0x5c8707(0xf3)](_0x5d6b95)[_0x5c8707(0xd4)]>0x0;}[_0x59d7c9(0xf3)](_0x150f71){const _0x3a4e21=_0x59d7c9,_0x2036f6=[];for(const _0x5ce650 of this[_0x3a4e21(0xef)][_0x3a4e21(0xd3)][_0x3a4e21(0xa9)])_0x5ce650[_0x3a4e21(0x10f)][_0x3a4e21(0xa6)](_0x3a4e21(0x93)+_0x150f71)&&_0x2036f6[_0x3a4e21(0xaf)](_0x5ce650);return _0x2036f6;}[_0x59d7c9(0xec)](_0x1d1ffd){const _0x4104dd=_0x59d7c9,_0x1ebf0e=this[_0x4104dd(0xb5)](_0x1d1ffd);_0x1ebf0e&&setTimeout(()=>{const _0x80ab02=_0x4104dd;this[_0x80ab02(0xf1)]&&it(this[_0x80ab02(0xf1)])['id']===_0x1d1ffd&&_0x55d4e4({'target':_0x1ebf0e[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x59d7c9(0xde)](_0x4d5224){const _0x32421f=_0x59d7c9;this[_0x32421f(0xef)][_0x32421f(0xd3)][_0x32421f(0xb3)](()=>{const _0x4cab9e=_0x32421f;for(const _0x5f1165 of this[_0x4cab9e(0xf3)](_0x4d5224))this[_0x4cab9e(0xef)][_0x4cab9e(0x106)][_0x4cab9e(0xc6)](_0x5f1165);});}[_0x59d7c9(0x7c)](_0x63f768){const _0x46dd3a=_0x59d7c9,_0x576227=this[_0x46dd3a(0xef)][_0x46dd3a(0x8d)][_0x46dd3a(0xd7)](_0x3be6ff),_0x1cbeb7=this[_0x46dd3a(0xef)][_0x46dd3a(0x8d)][_0x46dd3a(0xd7)](_0x5eef69),_0x11a0db=_0x576227[_0x46dd3a(0xd8)](_0x63f768);if(!_0x11a0db[_0x46dd3a(0xc0)]){const _0x3d33e5=_0x11a0db[_0x46dd3a(0xad)](()=>this[_0x46dd3a(0xb5)](_0x11a0db['id']));_0x1cbeb7[_0x46dd3a(0xf8)](_0x3d33e5),_0x11a0db[_0x46dd3a(0xf7)]=!0x1;}}[_0x59d7c9(0xea)](){const _0x26d53c=_0x59d7c9,_0x375fd0=this[_0x26d53c(0xef)];_0x375fd0[_0x26d53c(0xb2)][_0x26d53c(0x9a)](_0x26d53c(0xcf))[_0x26d53c(0xb6)]({'model':_0x26d53c(0xbe),'view':(_0x1f64a9,_0x1d57e6)=>{const _0x5138d4=_0x26d53c,{id:_0x702152}=it(_0x1f64a9[_0x5138d4(0x10b)]),_0x14eda6=_0x375fd0[_0x5138d4(0x8d)][_0x5138d4(0xd7)](_0x3be6ff)[_0x5138d4(0xd8)](_0x702152),_0x54e432=this[_0x5138d4(0xf1)]&&it(this[_0x5138d4(0xf1)])['id']===_0x702152;if(_0x14eda6&&_0x14eda6[_0x5138d4(0xfa)]&&!_0x54e432&&_0x1f64a9[_0x5138d4(0x99)])return _0x1d57e6[_0x5138d4(0x105)][_0x5138d4(0xb9)](_0x1f64a9[_0x5138d4(0x99)],_0x5138d4(0xfd)+_0x1f64a9[_0x5138d4(0x10b)]),_0x1d57e6[_0x5138d4(0x105)][_0x5138d4(0xb9)](_0x1f64a9[_0x5138d4(0x99)],_0x5138d4(0x9e)+_0x1f64a9[_0x5138d4(0x10b)]),null;const _0x4aa54f=[_0x5138d4(0xf4)];return _0x54e432&&_0x4aa54f[_0x5138d4(0xaf)](_0x5138d4(0xd5)),{'classes':_0x4aa54f,'attributes':{'data-comment':_0x702152}};}}),_0x375fd0[_0x26d53c(0xb2)][_0x26d53c(0x9a)](_0x26d53c(0x9b))[_0x26d53c(0x110)]({'model':_0x26d53c(0xbe),'view':(_0x4a191b,{options:_0x1cfd45})=>{const _0x58c4ee=_0x26d53c,_0x393d66=_0x375fd0[_0x58c4ee(0x8d)][_0x58c4ee(0xd7)](_0x3be6ff),_0x32027f=_0x375fd0[_0x58c4ee(0xd3)][_0x58c4ee(0xa9)][_0x58c4ee(0xd7)](_0x4a191b),{id:_0x452f42,part:_0x420b3c}=it(_0x4a191b);if(_0x32027f&&!_0x32027f[_0x58c4ee(0xb8)])return null;if(_0x1cfd45[_0x58c4ee(0xb7)]){const _0x3663a1=_0x393d66[_0x58c4ee(0xd8)](_0x452f42);if(_0x3663a1&&_0x3663a1[_0x58c4ee(0xfa)])return null;}return{'group':_0x58c4ee(0xbe),'name':_0x420b3c?_0x452f42+':'+_0x420b3c:_0x452f42};}}),_0x375fd0[_0x26d53c(0xb2)][_0x26d53c(0x9a)](_0x26d53c(0x8f))[_0x26d53c(0x81)]({'view':{'name':_0x26d53c(0xbe),'attributes':{'id':/^\w/}},'model':(_0x137ea3,{writer:_0x278ca7})=>_0x278ca7[_0x26d53c(0xc5)](_0x26d53c(0x103),{'data-name':_0x26d53c(0x93)+_0x137ea3[_0x26d53c(0xf6)]('id')})}),_0x375fd0[_0x26d53c(0xb2)][_0x26d53c(0x9a)](_0x26d53c(0x8f))[_0x26d53c(0xdb)]({'view':_0x26d53c(0xbe)});}[_0x59d7c9(0x95)](){const _0xfe2523=_0x59d7c9,_0x402ea5=this[_0xfe2523(0xef)],_0x57f0d0=_0x402ea5[_0xfe2523(0x8d)][_0xfe2523(0xd7)](_0x3be6ff),_0x54d4e6=new Set(),_0x7ad668=new Set();_0x402ea5[_0xfe2523(0xd3)][_0xfe2523(0xbc)][_0xfe2523(0x92)](_0x1359ec=>{const _0x33f19d=_0xfe2523;let _0x34b831=!0x1;for(const {name:_0x6def08,data:_0x2f5ed3}of _0x402ea5[_0x33f19d(0xd3)][_0x33f19d(0xbc)][_0x33f19d(0xb0)][_0x33f19d(0x86)]()){const {group:_0x2b55f8,id:_0x207cca}=it(_0x6def08);let _0x281ba8=_0x2f5ed3[_0x33f19d(0x87)];if(_0x33f19d(0xbe)!==_0x2b55f8||!_0x281ba8)continue;const _0x2c2220=_0x33f19d(0xac)===_0x281ba8[_0x33f19d(0x7d)][_0x33f19d(0x101)];_0x2c2220||(_0x281ba8=st(_0x281ba8,_0x402ea5[_0x33f19d(0xd3)]),!_0x281ba8||_0x281ba8[_0x33f19d(0xa1)]||!_0x2f5ed3[_0x33f19d(0x87)]||_0x281ba8[_0x33f19d(0x7f)](_0x2f5ed3[_0x33f19d(0x87)]))?_0x402ea5[_0x33f19d(0xd3)][_0x33f19d(0x8b)](_0x281ba8)&&!_0x2c2220?this[_0x33f19d(0x104)]?_0x54d4e6[_0x33f19d(0xa8)](_0x6def08):this[_0x33f19d(0x10c)](_0x6def08,_0x207cca):(_0x7ad668[_0x33f19d(0xa8)](_0x6def08),_0x54d4e6[_0x33f19d(0xa7)](_0x6def08),_0x1359ec[_0x33f19d(0xb4)](_0x6def08),_0x34b831=!0x0):(_0x1359ec[_0x33f19d(0xe8)](_0x6def08,{'range':_0x281ba8}),_0x34b831=!0x0);}return _0x34b831;}),this['on'](_0xfe2523(0xc1),(_0x7fd0a7,_0x1a20b6,_0xf10022)=>{const _0x2f065e=_0xfe2523;if(!_0xf10022&&_0x54d4e6[_0x2f065e(0xff)])for(const _0x15fe9c of _0x54d4e6){const {id:_0x40ea3f}=it(_0x15fe9c);_0x54d4e6[_0x2f065e(0xa7)](_0x15fe9c),_0x402ea5[_0x2f065e(0xd3)][_0x2f065e(0xa9)][_0x2f065e(0xd7)](_0x15fe9c)&&this[_0x2f065e(0x10c)](_0x15fe9c,_0x40ea3f);}}),this[_0xfe2523(0x90)](_0x402ea5[_0xfe2523(0xd3)][_0xfe2523(0xbc)],_0xfe2523(0xb3),(_0xc7820b,_0x3ec9dd)=>{const _0x401cf7=_0xfe2523;for(const {name:_0x20a1a4,data:{newRange:_0xa070b}}of _0x402ea5[_0x401cf7(0xd3)][_0x401cf7(0xbc)][_0x401cf7(0xb0)][_0x401cf7(0x86)]()){const {group:_0x53fded,id:_0x176ea4}=it(_0x20a1a4);if(_0x401cf7(0xbe)!==_0x53fded)continue;const _0x57f789=_0x57f0d0[_0x401cf7(0xd8)](_0x176ea4),_0x112680=this[_0x401cf7(0xda)](_0x176ea4);_0x57f789&&(_0x57f789[_0x401cf7(0xf7)]||_0x402ea5[_0x401cf7(0x106)][_0x401cf7(0xe2)][_0x401cf7(0xbd)](_0x401cf7(0x96),()=>{const _0x3a300b=_0x401cf7,_0x22b0e5=_0x402ea5[_0x3a300b(0x8d)][_0x3a300b(0xd7)](_0x5dc91f),_0xf6ea88=_0x57f0d0[_0x3a300b(0xa4)][_0x3a300b(0xd7)](_0x57f789)[_0x3a300b(0xe2)];_0x22b0e5[_0x3a300b(0xe6)](_0xf6ea88)[_0x3a300b(0xae)]();},{'priority':_0x401cf7(0xc3)}),_0x57f789[_0x401cf7(0xf7)]=_0x112680||!!_0xa070b),_0xa070b||(_0x7ad668[_0x401cf7(0xa8)](_0x20a1a4),_0x54d4e6[_0x401cf7(0xa7)](_0x20a1a4));}if(_0x3ec9dd[_0x401cf7(0xcc)])for(const _0x54dfa9 of _0x7ad668){const {id:_0x4f4155}=it(_0x54dfa9),_0xa5de41=_0x57f0d0[_0x401cf7(0xd8)](_0x4f4155),_0x13747e=this[_0x401cf7(0xda)](_0x4f4155);_0x54d4e6[_0x401cf7(0xa7)](_0x54dfa9),!_0xa5de41||_0x13747e||_0xa5de41[_0x401cf7(0xcd)]||_0xa5de41[_0x401cf7(0xf9)](new Date());}_0x7ad668[_0x401cf7(0xc2)]();});}[_0x59d7c9(0xb5)](_0x4849a3){const _0x52050b=_0x59d7c9,_0x14682c=this[_0x52050b(0xef)],_0x4ef7c4=this[_0x52050b(0xf3)](_0x4849a3);return _0x2ae785(_0x14682c[_0x52050b(0x106)],_0x4ef7c4);}[_0x59d7c9(0xab)](_0x4934d5){const _0x32a823=_0x59d7c9,_0x255c0d=this[_0x32a823(0xf3)](_0x4934d5);let _0x4e1635='',_0x1d1b06=!0x1;for(const _0x3b7363 of _0x255c0d){const _0x2f2df0=_0x3b7363[_0x32a823(0x91)]();for(const _0x4f0554 of Array[_0x32a823(0xce)](_0x2f2df0[_0x32a823(0x109)]()))_0x4f0554['is'](_0x32a823(0xe0))?(_0x4e1635&&_0x1d1b06&&(_0x4e1635+='\x20',_0x1d1b06=!0x1),_0x4e1635+=_0x4f0554[_0x32a823(0x7a)]):_0x1d1b06=!0x0;_0x1d1b06=!0x0;}return _0x4e1635[_0x32a823(0xc9)](0x0,0x96);}[_0x59d7c9(0xf5)](_0x3f0c5b,_0x535e2d){const _0x4dfdc4=_0x59d7c9,_0x1f632a=this[_0x4dfdc4(0xef)],_0x3f949b=_0x1f632a[_0x4dfdc4(0x8d)][_0x4dfdc4(0xd7)](_0x3be6ff);let _0xbb0e10=_0x3f949b[_0x4dfdc4(0xd8)](_0x535e2d);const _0x374906=_0x1f632a[_0x4dfdc4(0xa2)][_0x4dfdc4(0xd7)](_0x4dfdc4(0xfe)),_0x55f59d=_0x1f632a[_0x4dfdc4(0x8d)][_0x4dfdc4(0xd7)](_0x5eef69);if(_0xbb0e10&&(_0xbb0e10[_0x4dfdc4(0xcd)]&&_0xbb0e10[_0x4dfdc4(0xf9)](null),_0xbb0e10[_0x4dfdc4(0xc0)]))return _0xbb0e10;return!this[_0x4dfdc4(0xf3)](_0x535e2d)[0x0][_0x4dfdc4(0xdf)]?_0x1f632a[_0x4dfdc4(0x106)][_0x4dfdc4(0xe2)][_0x4dfdc4(0xbd)](_0x4dfdc4(0x96),()=>{const _0x154b5b=_0x4dfdc4;if(_0x3f949b[_0x154b5b(0xd8)](_0x535e2d))return;const _0x3da482=_0x1f632a[_0x154b5b(0x8d)][_0x154b5b(0xd7)](_0x5dc91f);_0xbb0e10=_0x3f949b[_0x154b5b(0xd9)]({'channelId':_0x374906,'threadId':_0x535e2d,'target':()=>this[_0x154b5b(0xb5)](_0x535e2d),'context':{'type':_0x154b5b(0xdd),'value':this[_0x154b5b(0xab)](_0x535e2d)}});const _0x24eac7=_0x3f949b[_0x154b5b(0xa4)][_0x154b5b(0xd7)](_0xbb0e10)[_0x154b5b(0xe2)],_0x72bf14=_0x3da482[_0x154b5b(0xe6)](_0x24eac7);_0x72bf14&&_0x55f59d[_0x154b5b(0xf8)](_0x72bf14);},{'priority':_0x4dfdc4(0xc3)}):_0x3f949b[_0x4dfdc4(0x89)]({'channelId':_0x374906,'threadId':_0x535e2d})[_0x4dfdc4(0x10e)](_0xdd2d8e=>{const _0x446f16=_0x4dfdc4;if(_0x446f16(0xd1)!==_0x1f632a[_0x446f16(0xca)]){if(_0xbb0e10=_0xdd2d8e,_0xbb0e10&&!_0xbb0e10[_0x446f16(0xc0)]){const _0x48a387=_0xbb0e10[_0x446f16(0xad)](()=>this[_0x446f16(0xb5)](_0x535e2d));_0x55f59d[_0x446f16(0xf8)](_0x48a387),_0xbb0e10[_0x446f16(0xfa)]&&this[_0x446f16(0xde)](_0x535e2d);}else{if(!_0xbb0e10){const _0x439c6a=this[_0x446f16(0xf3)](_0x535e2d);_0x1f632a[_0x446f16(0xd3)][_0x446f16(0xb3)](_0x30ef77=>{const _0x2c5502=_0x446f16;for(const _0x5310a2 of _0x439c6a)_0x30ef77[_0x2c5502(0xb4)](_0x5310a2);});}}}}),_0xbb0e10;}[_0x59d7c9(0x10c)](_0x308240,_0x41dbd4){const _0x18b74e=_0x59d7c9,_0x2bf284=this[_0x18b74e(0xf5)](_0x308240,_0x41dbd4);_0x2bf284&&!_0x2bf284[_0x18b74e(0xfb)]&&_0x2bf284[_0x18b74e(0xf0)]({'type':_0x18b74e(0xdd),'value':this[_0x18b74e(0xab)](_0x41dbd4)});}[_0x59d7c9(0xe1)](){const _0x58b119=_0x59d7c9,_0x54b57d=this[_0x58b119(0xef)];_0x4fea5f(_0x54b57d[_0x58b119(0xd3)],({left:_0x1de174,entered:_0x17dc21})=>{const _0x225eb4=_0x58b119;for(const _0x47fabd of _0x1de174)if(at(_0x47fabd)){_0x54b57d['ui'][_0x225eb4(0xd6)][_0x225eb4(0x94)](_0x5c32fb(_0x54b57d[_0x225eb4(0x107)],_0x225eb4(0x98)));break;}for(const _0x43be89 of _0x17dc21)if(at(_0x43be89)){_0x54b57d['ui'][_0x225eb4(0xd6)][_0x225eb4(0x94)](_0x5c32fb(_0x54b57d[_0x225eb4(0x107)],_0x225eb4(0xa0)));break;}});}}function nt(_0x4808e4,_0x5aa3f5){return _0x5aa3f5?_0x4808e4+':'+_0x5aa3f5:_0x4808e4;}function it(_0x5bd05a){const _0x4cb7c2=_0x59d7c9,_0xb1e56a=_0x5bd05a[_0x4cb7c2(0xaa)](':');return{'group':_0xb1e56a[0x0],'id':_0xb1e56a[0x1],'part':_0xb1e56a[0x2]};}function st(_0x1dbfba,_0x5e9175){const _0x49eca3=_0x59d7c9,_0x1f8ad7=_0x5e9175[_0x49eca3(0xba)],_0x48f19d=_0x5e9175[_0x49eca3(0xe9)](_0x1dbfba[_0x49eca3(0xcb)]);for(const _0x371a28 of _0x1dbfba[_0x49eca3(0x7b)]()){const {type:_0x150a0d,item:_0x3ec33b,nextPosition:_0x48e569}=_0x371a28;if(_0x49eca3(0xdd)===_0x150a0d||_0x1f8ad7[_0x49eca3(0xe4)](_0x3ec33b)){const _0x16792d=_0x5e9175[_0x49eca3(0xa5)](_0x3ec33b);_0x48f19d[_0x49eca3(0xa1)]&&(_0x48f19d[_0x49eca3(0xcb)]=_0x16792d),_0x48f19d[_0x49eca3(0xee)]=_0x48e569;}}return _0x48f19d;}function at(_0x54372b){const _0x2c1eed=_0x59d7c9;return _0x2c1eed(0xbe)===it(_0x54372b[_0x2c1eed(0x10f)])[_0x2c1eed(0x7e)];}
|
|
23
|
+
const _0x1c2875=_0x30ed;(function(_0x230d81,_0x544a25){const _0x4b8340=_0x30ed,_0x59bd28=_0x230d81();while(!![]){try{const _0x1efae8=parseInt(_0x4b8340(0x1a9))/0x1+parseInt(_0x4b8340(0x19f))/0x2+-parseInt(_0x4b8340(0x15a))/0x3*(-parseInt(_0x4b8340(0x158))/0x4)+parseInt(_0x4b8340(0x180))/0x5*(-parseInt(_0x4b8340(0x199))/0x6)+parseInt(_0x4b8340(0x198))/0x7*(parseInt(_0x4b8340(0x1c3))/0x8)+-parseInt(_0x4b8340(0x13e))/0x9*(-parseInt(_0x4b8340(0x152))/0xa)+parseInt(_0x4b8340(0x1b3))/0xb*(-parseInt(_0x4b8340(0x195))/0xc);if(_0x1efae8===_0x544a25)break;else _0x59bd28['push'](_0x59bd28['shift']());}catch(_0x3aee70){_0x59bd28['push'](_0x59bd28['shift']());}}}(_0x287a,0xf4004));import{Plugin as _0x238a18}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x59c6dd}from'ckeditor5/src/utils.js';import _0x221e24 from'./commentsrepository.js';import _0x469c48 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x14bced,getAllMarkersDomElementsSorted as _0x548349}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5d7cc8 from'../annotations/editorannotations.js';import _0x5f5076 from'./integrations/commentsrestrictededitingmode.js';import _0x205a54 from'./integrations/importword.js';import _0x572862 from'./integrations/clipboard.js';function _0x287a(){const _0xdf36be=['managedUsingOperations','ignoreResolvedComments','dataToMarker','_hasTargetInContent','text','scrollToThreadMarker','set','CommentsEditing','_reconvertMarkers','addCommentThread','view','substring','8OFqokM','destroy','_handleThreadMarker','getChangedMarkers','updateMarker','change','createElement','_handleMarkerAddAndRemove','editingDowncast','dataDowncast','comment:','markers','markerName','differ','getCommentThreads','announce','upcast','render','909uWQUId','requires','_initAriaMarkerChangeAnnouncements','data','rootName','hasDomSelection','pluginName','isObject','getRange','registerPostFixer','from','_initializeMarkerConverters','$graveyard','enqueueChange','change:activeMarker','hasContent','_detachCommentThread','isCollapsed','root','editing','45670hEgznN','affectsData','_threads','change:isThreadsLoadingPaused','commands','destroyed','68XmtApr','resolveCommentThread','88362kiSpNg','push','listenTo','_attachMarkerToThread','reconvertMarker','startsWith','_attachArchivedThread','clear','switchReadOnly','isEqual','isResolved','unlinkedAt','reopenCommentThread','collaboration.channelId','ck-comment-marker--active','schema','group','end','consumable','_threadToController','refreshVisibility','elementToElement','ck-comment-marker','addComment','focus','setContext','config','getByInnerView','removeMarker','state','split','document','attachTo','$textProxy','model','ariaLiveAnnouncer','init','getAllMarkersForId','35335AClbEA','getItems','change:isReadOnly','length','registerAnnotation','LEAVE_COMMENT_ANNOUNCEMENT','isLocal','plugins','removeMarker:','add','isThreadsLoadingPaused','getCommentThread','_getTargetForId','name','low','ENTER_COMMENT_ANNOUNCEMENT','removeCommentThread','conversion','size','start','activeMarker','324XDtBQx','consume','createRange','12925549BfUoxq','1506qVqAPm','editor','markerToHighlight','comment','item','once','113412zFvuDb','fetchCommentThread','get','then','createPositionBefore','for','getAttribute','hasCommentThread','getWalker','hasMarkerForId','224136akNhke','context','isAttached','markerToData','$marker','addMarker:','delete','ready','setUnlinkedAt','locale','128777JnFxDU','_getTextContext','openNewCommentThread','newRange'];_0x287a=function(){return _0xdf36be;};return _0x287a();}import'../../theme/commentmarker.css';import _0x15054e from'../annotations/annotations.js';import{getTranslation as _0x59d85d}from'../utils/common-translations.js';function _0x30ed(_0x152bcb,_0x49d141){const _0x287a12=_0x287a();return _0x30ed=function(_0x30edf4,_0x7e3d6e){_0x30edf4=_0x30edf4-0x131;let _0xc11d16=_0x287a12[_0x30edf4];return _0xc11d16;},_0x30ed(_0x152bcb,_0x49d141);}export default class r extends _0x238a18{static get[_0x1c2875(0x13f)](){return[_0x221e24,_0x5d7cc8,_0x5f5076,_0x205a54,_0x572862];}static get[_0x1c2875(0x144)](){const _0x1edfa2=_0x1c2875;return _0x1edfa2(0x1be);}constructor(_0x322f99){const _0x1ff4d2=_0x1c2875;super(_0x322f99),this[_0x1ff4d2(0x1bd)](_0x1ff4d2(0x18a),!0x0),_0x322f99[_0x1ff4d2(0x141)][_0x1ff4d2(0x19e)](_0x1ff4d2(0x1b0),()=>this[_0x1ff4d2(0x18a)]=!0x1),this[_0x1ff4d2(0x1bd)](_0x1ff4d2(0x194),null),this['on'](_0x1ff4d2(0x14c),(_0x20d7b6,_0x561c55,_0x2c5205,_0x3bcf1e)=>{const _0x173592=_0x1ff4d2,_0x5d57ac=_0x2c5205?it(_0x2c5205)['id']:null;if(_0x322f99[_0x173592(0x17c)][_0x173592(0x131)](()=>{const _0x5b790c=_0x173592;if(_0x5d57ac){const _0x5dfbaf=this[_0x5b790c(0x17f)](_0x5d57ac);for(const _0x16a04c of _0x5dfbaf)_0x322f99[_0x5b790c(0x151)][_0x5b790c(0x15e)](_0x16a04c);}if(_0x3bcf1e){const {id:_0xab94ef}=it(_0x3bcf1e),_0x2cc95d=this[_0x5b790c(0x17f)](_0xab94ef);for(const _0x5f0f47 of _0x2cc95d)_0x322f99[_0x5b790c(0x151)][_0x5b790c(0x15e)](_0x5f0f47);}}),_0x5d57ac){const _0x2b0ac7=_0x322f99[_0x173592(0x187)][_0x173592(0x1a1)](_0x221e24)[_0x173592(0x18b)](_0x5d57ac);_0x2b0ac7&&_0x2b0ac7[_0x173592(0x164)]&&this[_0x173592(0x1bc)](_0x5d57ac);}}),this[_0x1ff4d2(0x140)]();}[_0x1c2875(0x17e)](){const _0x5baad9=_0x1c2875,_0x2b5c02=this[_0x5baad9(0x19a)],_0x3511eb=_0x2b5c02[_0x5baad9(0x187)][_0x5baad9(0x1a1)](_0x221e24),_0x111a2c=_0x2b5c02[_0x5baad9(0x174)][_0x5baad9(0x1a1)](_0x5baad9(0x167));_0x2b5c02[_0x5baad9(0x156)][_0x5baad9(0x189)](_0x5baad9(0x1c0),new _0x469c48(_0x2b5c02)),this[_0x5baad9(0x15c)](_0x2b5c02,_0x5baad9(0x182),(_0x5c9b50,_0x3b972d,_0xdfb089)=>{const _0x4aa1b5=_0x5baad9;_0x3511eb[_0x4aa1b5(0x162)](_0xdfb089,_0x2b5c02[_0x4aa1b5(0x174)][_0x4aa1b5(0x1a1)](_0x4aa1b5(0x167)));}),this[_0x5baad9(0x15c)](_0x3511eb,nt(_0x5baad9(0x1c0),_0x111a2c),(_0x46519c,{threadId:_0x569d9b})=>{const _0x5e48f1=_0x5baad9,_0x4f3f7e=this[_0x5e48f1(0x19a)][_0x5e48f1(0x187)][_0x5e48f1(0x1a1)](_0x221e24)[_0x5e48f1(0x18b)](_0x569d9b);_0x4f3f7e&&_0x4f3f7e[_0x5e48f1(0x165)]&&this[_0x5e48f1(0x160)](_0x569d9b);}),this[_0x5baad9(0x15c)](_0x3511eb,nt(_0x5baad9(0x190),_0x111a2c),(_0x56738a,{threadId:_0x3becd6})=>{const _0x2509db=_0x5baad9;_0x2b5c02[_0x2509db(0x17c)][_0x2509db(0x14b)]({'isUndoable':!0x1},_0x58263b=>{const _0x46e1e5=_0x2509db,_0x3dd7b8=this[_0x46e1e5(0x17f)](_0x3becd6);for(const _0x3a9a3e of _0x3dd7b8)_0x58263b[_0x46e1e5(0x176)](_0x3a9a3e);});}),this[_0x5baad9(0x15c)](_0x3511eb,nt(_0x5baad9(0x159),_0x111a2c),(_0x1d990c,{threadId:_0x105442})=>{const _0x4518f9=_0x5baad9;(this[_0x4518f9(0x1bf)](_0x105442),this[_0x4518f9(0x19a)][_0x4518f9(0x151)][_0x4518f9(0x1c1)][_0x4518f9(0x143)])&&(this[_0x4518f9(0x19a)][_0x4518f9(0x187)][_0x4518f9(0x1a1)](_0x221e24)[_0x4518f9(0x18b)](_0x105442)[_0x4518f9(0x165)]||this[_0x4518f9(0x19a)][_0x4518f9(0x151)][_0x4518f9(0x1c1)][_0x4518f9(0x172)]());},{'priority':_0x5baad9(0x18e)}),this[_0x5baad9(0x15c)](_0x3511eb,nt(_0x5baad9(0x166),_0x111a2c),(_0x5c849f,{threadId:_0x42d334})=>{const _0x54b24e=_0x5baad9;this[_0x54b24e(0x1bf)](_0x42d334);},{'priority':_0x5baad9(0x18e)}),this[_0x5baad9(0x15c)](_0x3511eb,nt(_0x5baad9(0x171),_0x111a2c),(_0x4eea07,{threadId:_0x107966,isFromAdapter:_0x25c8c2})=>{const _0x47e0a6=_0x5baad9,_0x456711=this[_0x47e0a6(0x17f)](_0x107966);if(_0x25c8c2||0x0==_0x456711[_0x47e0a6(0x183)]||!_0x3511eb[_0x47e0a6(0x1a6)](_0x107966))return;0x1===_0x3511eb[_0x47e0a6(0x18b)](_0x107966)[_0x47e0a6(0x183)]&&_0x2b5c02[_0x47e0a6(0x17c)][_0x47e0a6(0x14b)]({'isUndoable':!0x1},_0x580897=>{const _0x4da263=_0x47e0a6;for(const _0x2f37f5 of _0x456711)_0x580897[_0x4da263(0x1c7)](_0x2f37f5,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x5baad9(0x18e)}),this[_0x5baad9(0x149)](),this[_0x5baad9(0x133)]();}[_0x1c2875(0x1c4)](){const _0x5e59a6=_0x1c2875,_0x550b78=this[_0x5e59a6(0x19a)][_0x5e59a6(0x187)][_0x5e59a6(0x1a1)](_0x221e24),_0x965674=this[_0x5e59a6(0x19a)][_0x5e59a6(0x174)][_0x5e59a6(0x1a1)](_0x5e59a6(0x167));for(const _0x3cd860 of _0x550b78[_0x5e59a6(0x13a)]({'channelId':_0x965674}))_0x550b78[_0x5e59a6(0x14e)](_0x3cd860['id']),_0x550b78[_0x5e59a6(0x154)][_0x5e59a6(0x1af)](_0x3cd860['id']);super[_0x5e59a6(0x1c4)]();}[_0x1c2875(0x1a8)](_0x1fb72c){const _0x3d7b80=_0x1c2875;return this[_0x3d7b80(0x17f)](_0x1fb72c)[_0x3d7b80(0x183)]>0x0;}[_0x1c2875(0x17f)](_0x590042){const _0x244c6f=_0x1c2875,_0x497317=[];for(const _0x3bdb99 of this[_0x244c6f(0x19a)][_0x244c6f(0x17c)][_0x244c6f(0x137)])_0x3bdb99[_0x244c6f(0x18d)][_0x244c6f(0x15f)](_0x244c6f(0x136)+_0x590042)&&_0x497317[_0x244c6f(0x15b)](_0x3bdb99);return _0x497317;}[_0x1c2875(0x1bc)](_0xa71710){const _0x53c5e6=_0x1c2875,_0x44ed1c=this[_0x53c5e6(0x18c)](_0xa71710);_0x44ed1c&&setTimeout(()=>{const _0x403b7e=_0x53c5e6;this[_0x403b7e(0x194)]&&it(this[_0x403b7e(0x194)])['id']===_0xa71710&&_0x59c6dd({'target':_0x44ed1c[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x1c2875(0x1bf)](_0x528d08){const _0x14841b=_0x1c2875;this[_0x14841b(0x19a)][_0x14841b(0x17c)][_0x14841b(0x131)](()=>{const _0x17a3c1=_0x14841b;for(const _0xce9e59 of this[_0x17a3c1(0x17f)](_0x528d08))this[_0x17a3c1(0x19a)][_0x17a3c1(0x151)][_0x17a3c1(0x15e)](_0xce9e59);});}[_0x1c2875(0x160)](_0x204977){const _0x258e44=_0x1c2875,_0x555702=this[_0x258e44(0x19a)][_0x258e44(0x187)][_0x258e44(0x1a1)](_0x221e24),_0x50d6f9=this[_0x258e44(0x19a)][_0x258e44(0x187)][_0x258e44(0x1a1)](_0x5d7cc8),_0x33a3d0=_0x555702[_0x258e44(0x18b)](_0x204977);if(!_0x33a3d0[_0x258e44(0x1ab)]){const _0x57c077=_0x33a3d0[_0x258e44(0x17a)](()=>this[_0x258e44(0x18c)](_0x33a3d0['id']));_0x50d6f9[_0x258e44(0x184)](_0x57c077),_0x33a3d0[_0x258e44(0x1ba)]=!0x1;}}[_0x1c2875(0x149)](){const _0xf32291=_0x1c2875,_0x1e6a44=this[_0xf32291(0x19a)];_0x1e6a44[_0xf32291(0x191)][_0xf32291(0x1a4)](_0xf32291(0x134))[_0xf32291(0x19b)]({'model':_0xf32291(0x19c),'view':(_0x3d374b,_0x31ac00)=>{const _0x3b19b6=_0xf32291,{id:_0x582c5a}=it(_0x3d374b[_0x3b19b6(0x138)]),_0x2e7e24=_0x1e6a44[_0x3b19b6(0x187)][_0x3b19b6(0x1a1)](_0x221e24)[_0x3b19b6(0x18b)](_0x582c5a),_0x525269=this[_0x3b19b6(0x194)]&&it(this[_0x3b19b6(0x194)])['id']===_0x582c5a;if(_0x2e7e24&&_0x2e7e24[_0x3b19b6(0x164)]&&!_0x525269&&_0x3d374b[_0x3b19b6(0x19d)])return _0x31ac00[_0x3b19b6(0x16c)][_0x3b19b6(0x196)](_0x3d374b[_0x3b19b6(0x19d)],_0x3b19b6(0x1ae)+_0x3d374b[_0x3b19b6(0x138)]),_0x31ac00[_0x3b19b6(0x16c)][_0x3b19b6(0x196)](_0x3d374b[_0x3b19b6(0x19d)],_0x3b19b6(0x188)+_0x3d374b[_0x3b19b6(0x138)]),null;const _0x3b6e38=[_0x3b19b6(0x170)];return _0x525269&&_0x3b6e38[_0x3b19b6(0x15b)](_0x3b19b6(0x168)),{'classes':_0x3b6e38,'attributes':{'data-comment':_0x582c5a}};}}),_0x1e6a44[_0xf32291(0x191)][_0xf32291(0x1a4)](_0xf32291(0x135))[_0xf32291(0x1ac)]({'model':_0xf32291(0x19c),'view':(_0x135b2a,{options:_0x39f7de})=>{const _0xaaa61c=_0xf32291,_0x5d0abc=_0x1e6a44[_0xaaa61c(0x187)][_0xaaa61c(0x1a1)](_0x221e24),_0x244243=_0x1e6a44[_0xaaa61c(0x17c)][_0xaaa61c(0x137)][_0xaaa61c(0x1a1)](_0x135b2a),{id:_0x6ada73,part:_0x3f63c2}=it(_0x135b2a);if(_0x244243&&!_0x244243[_0xaaa61c(0x153)])return null;if(_0x39f7de[_0xaaa61c(0x1b8)]){const _0x4065fa=_0x5d0abc[_0xaaa61c(0x18b)](_0x6ada73);if(_0x4065fa&&_0x4065fa[_0xaaa61c(0x164)])return null;}return{'group':_0xaaa61c(0x19c),'name':_0x3f63c2?_0x6ada73+':'+_0x3f63c2:_0x6ada73};}}),_0x1e6a44[_0xf32291(0x191)][_0xf32291(0x1a4)](_0xf32291(0x13c))[_0xf32291(0x16f)]({'view':{'name':_0xf32291(0x19c),'attributes':{'id':/^\w/}},'model':(_0x2c7a36,{writer:_0x140fb1})=>_0x140fb1[_0xf32291(0x132)](_0xf32291(0x1ad),{'data-name':_0xf32291(0x136)+_0x2c7a36[_0xf32291(0x1a5)]('id')})}),_0x1e6a44[_0xf32291(0x191)][_0xf32291(0x1a4)](_0xf32291(0x13c))[_0xf32291(0x1b9)]({'view':_0xf32291(0x19c)});}[_0x1c2875(0x133)](){const _0x306b6b=_0x1c2875,_0x569591=this[_0x306b6b(0x19a)],_0x378fbb=_0x569591[_0x306b6b(0x187)][_0x306b6b(0x1a1)](_0x221e24),_0x243a0f=new Set(),_0x44a409=new Set();_0x569591[_0x306b6b(0x17c)][_0x306b6b(0x179)][_0x306b6b(0x147)](_0x375bd4=>{const _0x279355=_0x306b6b;let _0x1e8eca=!0x1;for(const {name:_0x3383dd,data:_0xd8b464}of _0x569591[_0x279355(0x17c)][_0x279355(0x179)][_0x279355(0x139)][_0x279355(0x1c6)]()){const {group:_0x391670,id:_0x15cd1c}=it(_0x3383dd);let _0x12e6d5=_0xd8b464[_0x279355(0x1b6)];if(_0x279355(0x19c)!==_0x391670||!_0x12e6d5)continue;const _0x386f84=_0x279355(0x14a)===_0x12e6d5[_0x279355(0x150)][_0x279355(0x142)];_0x386f84||(_0x12e6d5=st(_0x12e6d5,_0x569591[_0x279355(0x17c)]),!_0x12e6d5||_0x12e6d5[_0x279355(0x14f)]||!_0xd8b464[_0x279355(0x1b6)]||_0x12e6d5[_0x279355(0x163)](_0xd8b464[_0x279355(0x1b6)]))?_0x569591[_0x279355(0x17c)][_0x279355(0x14d)](_0x12e6d5)&&!_0x386f84?this[_0x279355(0x18a)]?_0x243a0f[_0x279355(0x189)](_0x3383dd):this[_0x279355(0x1c5)](_0x3383dd,_0x15cd1c):(_0x44a409[_0x279355(0x189)](_0x3383dd),_0x243a0f[_0x279355(0x1af)](_0x3383dd),_0x375bd4[_0x279355(0x176)](_0x3383dd),_0x1e8eca=!0x0):(_0x375bd4[_0x279355(0x1c7)](_0x3383dd,{'range':_0x12e6d5}),_0x1e8eca=!0x0);}return _0x1e8eca;}),this['on'](_0x306b6b(0x155),(_0x426274,_0x21281d,_0x1e9eaa)=>{const _0x4db382=_0x306b6b;if(!_0x1e9eaa&&_0x243a0f[_0x4db382(0x192)])for(const _0x3627e3 of _0x243a0f){const {id:_0x494440}=it(_0x3627e3);_0x243a0f[_0x4db382(0x1af)](_0x3627e3),_0x569591[_0x4db382(0x17c)][_0x4db382(0x137)][_0x4db382(0x1a1)](_0x3627e3)&&this[_0x4db382(0x1c5)](_0x3627e3,_0x494440);}}),this[_0x306b6b(0x15c)](_0x569591[_0x306b6b(0x17c)][_0x306b6b(0x179)],_0x306b6b(0x131),(_0xe48ca3,_0x51b876)=>{const _0x4f64c=_0x306b6b;for(const {name:_0x3ae09b,data:{newRange:_0x365aba}}of _0x569591[_0x4f64c(0x17c)][_0x4f64c(0x179)][_0x4f64c(0x139)][_0x4f64c(0x1c6)]()){const {group:_0x2ec64f,id:_0x4ed5dd}=it(_0x3ae09b);if(_0x4f64c(0x19c)!==_0x2ec64f)continue;const _0x2ffacd=_0x378fbb[_0x4f64c(0x18b)](_0x4ed5dd),_0x42ed43=this[_0x4f64c(0x1a8)](_0x4ed5dd);_0x2ffacd&&(_0x2ffacd[_0x4f64c(0x1ba)]||_0x569591[_0x4f64c(0x151)][_0x4f64c(0x1c1)][_0x4f64c(0x19e)](_0x4f64c(0x13d),()=>{const _0x4fc96a=_0x4f64c,_0x4593f8=_0x569591[_0x4fc96a(0x187)][_0x4fc96a(0x1a1)](_0x15054e),_0x355316=_0x378fbb[_0x4fc96a(0x16d)][_0x4fc96a(0x1a1)](_0x2ffacd)[_0x4fc96a(0x1c1)];_0x4593f8[_0x4fc96a(0x175)](_0x355316)[_0x4fc96a(0x16e)]();},{'priority':_0x4f64c(0x18e)}),_0x2ffacd[_0x4f64c(0x1ba)]=_0x42ed43||!!_0x365aba),_0x365aba||(_0x44a409[_0x4f64c(0x189)](_0x3ae09b),_0x243a0f[_0x4f64c(0x1af)](_0x3ae09b));}if(_0x51b876[_0x4f64c(0x186)])for(const _0x8d795d of _0x44a409){const {id:_0x23812b}=it(_0x8d795d),_0x247df3=_0x378fbb[_0x4f64c(0x18b)](_0x23812b),_0xb6e1ed=this[_0x4f64c(0x1a8)](_0x23812b);_0x243a0f[_0x4f64c(0x1af)](_0x8d795d),!_0x247df3||_0xb6e1ed||_0x247df3[_0x4f64c(0x165)]||_0x247df3[_0x4f64c(0x1b1)](new Date());}_0x44a409[_0x4f64c(0x161)]();});}[_0x1c2875(0x18c)](_0x38ae6d){const _0x5f82a=_0x1c2875,_0x3dd85a=this[_0x5f82a(0x19a)],_0x5f1c1f=this[_0x5f82a(0x17f)](_0x38ae6d);return _0x548349(_0x3dd85a[_0x5f82a(0x151)],_0x5f1c1f);}[_0x1c2875(0x1b4)](_0xe73968){const _0x26d162=_0x1c2875,_0x1587fe=this[_0x26d162(0x17f)](_0xe73968);let _0x1aa015='',_0x243183=!0x1;for(const _0x27bb4f of _0x1587fe){const _0x3d58d8=_0x27bb4f[_0x26d162(0x146)]();for(const _0x2cb968 of Array[_0x26d162(0x148)](_0x3d58d8[_0x26d162(0x181)]()))_0x2cb968['is'](_0x26d162(0x17b))?(_0x1aa015&&_0x243183&&(_0x1aa015+='\x20',_0x243183=!0x1),_0x1aa015+=_0x2cb968[_0x26d162(0x141)]):_0x243183=!0x0;_0x243183=!0x0;}return _0x1aa015[_0x26d162(0x1c2)](0x0,0x96);}[_0x1c2875(0x15d)](_0x46acfc,_0x246b51){const _0x19b855=_0x1c2875,_0x299a0f=this[_0x19b855(0x19a)],_0x1b3da5=_0x299a0f[_0x19b855(0x187)][_0x19b855(0x1a1)](_0x221e24);let _0x49893f=_0x1b3da5[_0x19b855(0x18b)](_0x246b51);const _0x21e550=_0x299a0f[_0x19b855(0x174)][_0x19b855(0x1a1)](_0x19b855(0x167)),_0x515177=_0x299a0f[_0x19b855(0x187)][_0x19b855(0x1a1)](_0x5d7cc8);if(_0x49893f&&(_0x49893f[_0x19b855(0x165)]&&_0x49893f[_0x19b855(0x1b1)](null),_0x49893f[_0x19b855(0x1ab)]))return _0x49893f;return!this[_0x19b855(0x17f)](_0x246b51)[0x0][_0x19b855(0x1b7)]?_0x299a0f[_0x19b855(0x151)][_0x19b855(0x1c1)][_0x19b855(0x19e)](_0x19b855(0x13d),()=>{const _0x357930=_0x19b855;if(_0x1b3da5[_0x357930(0x18b)](_0x246b51))return;const _0x46d130=_0x299a0f[_0x357930(0x187)][_0x357930(0x1a1)](_0x15054e);_0x49893f=_0x1b3da5[_0x357930(0x1b5)]({'channelId':_0x21e550,'threadId':_0x246b51,'target':()=>this[_0x357930(0x18c)](_0x246b51),'context':{'type':_0x357930(0x1bb),'value':this[_0x357930(0x1b4)](_0x246b51)}});const _0x35738a=_0x1b3da5[_0x357930(0x16d)][_0x357930(0x1a1)](_0x49893f)[_0x357930(0x1c1)],_0x2eef9c=_0x46d130[_0x357930(0x175)](_0x35738a);_0x2eef9c&&_0x515177[_0x357930(0x184)](_0x2eef9c);},{'priority':_0x19b855(0x18e)}):_0x1b3da5[_0x19b855(0x1a0)]({'channelId':_0x21e550,'threadId':_0x246b51})[_0x19b855(0x1a2)](_0x3fa5e6=>{const _0x3c0863=_0x19b855;if(_0x3c0863(0x157)!==_0x299a0f[_0x3c0863(0x177)]){if(_0x49893f=_0x3fa5e6,_0x49893f&&!_0x49893f[_0x3c0863(0x1ab)]){const _0xd49c71=_0x49893f[_0x3c0863(0x17a)](()=>this[_0x3c0863(0x18c)](_0x246b51));_0x515177[_0x3c0863(0x184)](_0xd49c71),_0x49893f[_0x3c0863(0x164)]&&this[_0x3c0863(0x1bf)](_0x246b51);}else{if(!_0x49893f){const _0x15dd1c=this[_0x3c0863(0x17f)](_0x246b51);_0x299a0f[_0x3c0863(0x17c)][_0x3c0863(0x131)](_0x52f4f7=>{const _0x4da46e=_0x3c0863;for(const _0x44c7f4 of _0x15dd1c)_0x52f4f7[_0x4da46e(0x176)](_0x44c7f4);});}}}}),_0x49893f;}[_0x1c2875(0x1c5)](_0x1bda91,_0x559453){const _0x4f2abb=_0x1c2875,_0x3276b7=this[_0x4f2abb(0x15d)](_0x1bda91,_0x559453);_0x3276b7&&!_0x3276b7[_0x4f2abb(0x1aa)]&&_0x3276b7[_0x4f2abb(0x173)]({'type':_0x4f2abb(0x1bb),'value':this[_0x4f2abb(0x1b4)](_0x559453)});}[_0x1c2875(0x140)](){const _0x44e11b=_0x1c2875,_0x22a676=this[_0x44e11b(0x19a)];_0x14bced(_0x22a676[_0x44e11b(0x17c)],({left:_0x3e9578,entered:_0x47208e})=>{const _0x70f591=_0x44e11b;for(const _0x37e6e0 of _0x3e9578)if(at(_0x37e6e0)){_0x22a676['ui'][_0x70f591(0x17d)][_0x70f591(0x13b)](_0x59d85d(_0x22a676[_0x70f591(0x1b2)],_0x70f591(0x185)));break;}for(const _0x39d13a of _0x47208e)if(at(_0x39d13a)){_0x22a676['ui'][_0x70f591(0x17d)][_0x70f591(0x13b)](_0x59d85d(_0x22a676[_0x70f591(0x1b2)],_0x70f591(0x18f)));break;}});}}function nt(_0x24db42,_0xb28c1){return _0xb28c1?_0x24db42+':'+_0xb28c1:_0x24db42;}function it(_0x19858f){const _0x37a591=_0x1c2875,_0xbe7e6b=_0x19858f[_0x37a591(0x178)](':');return{'group':_0xbe7e6b[0x0],'id':_0xbe7e6b[0x1],'part':_0xbe7e6b[0x2]};}function st(_0x506692,_0x15f92e){const _0x1865c6=_0x1c2875,_0x591247=_0x15f92e[_0x1865c6(0x169)],_0x51f254=_0x15f92e[_0x1865c6(0x197)](_0x506692[_0x1865c6(0x193)]);for(const _0x1b7557 of _0x506692[_0x1865c6(0x1a7)]()){const {type:_0x4aca9e,item:_0x3ad683,nextPosition:_0x45ad11}=_0x1b7557;if(_0x1865c6(0x1bb)===_0x4aca9e||_0x591247[_0x1865c6(0x145)](_0x3ad683)){const _0x1bcced=_0x15f92e[_0x1865c6(0x1a3)](_0x3ad683);_0x51f254[_0x1865c6(0x14f)]&&(_0x51f254[_0x1865c6(0x193)]=_0x1bcced),_0x51f254[_0x1865c6(0x16b)]=_0x45ad11;}}return _0x51f254;}function at(_0x2c18cc){const _0x36f902=_0x1c2875;return _0x36f902(0x19c)===it(_0x2c18cc[_0x36f902(0x18d)])[_0x36f902(0x16a)];}
|