@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240318.0 → 0.0.0-nightly-20240319.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5792d7=_0x498e;function _0x263c(){const _0x4be2f9=['PENDING_ACTION_SUGGESTION','2859872jtfgcY','_editor','execute','canAccept','84EDZmHg','discardSuggestion','getRanges','28420aVcYsx','unbind','change:isDirty','get','1910575ZPoWgq','_discardCommand','remove','add','isEnabled','_setPendingAction','canEditAt','bind','locale','destroy','_removePendingAction','stopListening','3890ZhWmTr','_pendingAction','476016jZkUjd','242zGWWqo','isDirty','commentThreadController','canDiscard','acceptSuggestion','plugins','30srNYvl','3699290OnMcSD','listenTo','3602889kmuvgd','PendingActions','_acceptCommand','commands','view','model'];_0x263c=function(){return _0x4be2f9;};return _0x263c();}(function(_0x597cdb,_0x3061ac){const _0x44e5ee=_0x498e,_0xe861fb=_0x597cdb();while(!![]){try{const _0x4e1637=parseInt(_0x44e5ee(0x11b))/0x1*(-parseInt(_0x44e5ee(0x11e))/0x2)+-parseInt(_0x44e5ee(0x132))/0x3*(-parseInt(_0x44e5ee(0x135))/0x4)+-parseInt(_0x44e5ee(0x139))/0x5+-parseInt(_0x44e5ee(0x11d))/0x6+-parseInt(_0x44e5ee(0x125))/0x7+parseInt(_0x44e5ee(0x12e))/0x8+-parseInt(_0x44e5ee(0x127))/0x9*(-parseInt(_0x44e5ee(0x124))/0xa);if(_0x4e1637===_0x3061ac)break;else _0xe861fb['push'](_0xe861fb['shift']());}catch(_0xb793bb){_0xe861fb['push'](_0xe861fb['shift']());}}}(_0x263c,0x48748));function _0x498e(_0x25eccf,_0x435b8c){const _0x263c3b=_0x263c();return _0x498e=function(_0x498e1f,_0x20f058){_0x498e1f=_0x498e1f-0x110;let _0x1ba454=_0x263c3b[_0x498e1f];return _0x1ba454;},_0x498e(_0x25eccf,_0x435b8c);}import{ObservableMixin as _0x2eeb3b}from'ckeditor5/src/utils.js';import{getTranslation as _0x5656b5}from'../utils/common-translations.js';export default class Xt extends _0x2eeb3b(){constructor(_0x494e30,_0x12a968,_0x341c29,_0x118cd7){const _0x165413=_0x498e;super(),this[_0x165413(0x12c)]=_0x12a968,this[_0x165413(0x12b)]=_0x341c29,this[_0x165413(0x120)]=_0x118cd7,this[_0x165413(0x12f)]=_0x494e30,this[_0x165413(0x129)]=_0x494e30[_0x165413(0x12a)][_0x165413(0x138)](_0x165413(0x122)),this[_0x165413(0x110)]=_0x494e30[_0x165413(0x12a)][_0x165413(0x138)](_0x165413(0x133)),this[_0x165413(0x12b)][_0x165413(0x116)](_0x165413(0x113))['to'](this[_0x165413(0x129)],this[_0x165413(0x110)],(_0x26bc57,_0x3f02b0)=>_0x26bc57||_0x3f02b0),this[_0x165413(0x12b)][_0x165413(0x116)](_0x165413(0x131))['to'](this[_0x165413(0x129)],_0x165413(0x113),_0x246929=>_0x246929&&this[_0x165413(0x12f)][_0x165413(0x12c)][_0x165413(0x115)](_0x12a968[_0x165413(0x134)]())),this[_0x165413(0x12b)][_0x165413(0x116)](_0x165413(0x121))['to'](this[_0x165413(0x110)],_0x165413(0x113),_0x2ddc58=>_0x2ddc58&&this[_0x165413(0x12f)][_0x165413(0x12c)][_0x165413(0x115)](_0x12a968[_0x165413(0x134)]())),this[_0x165413(0x11c)]=null,_0x341c29[_0x165413(0x11f)]&&this[_0x165413(0x114)](),this[_0x165413(0x126)](_0x341c29,_0x165413(0x122),()=>this[_0x165413(0x122)]()),this[_0x165413(0x126)](_0x341c29,_0x165413(0x133),()=>this[_0x165413(0x133)]()),this[_0x165413(0x126)](_0x341c29,_0x165413(0x137),()=>{const _0x2ca85e=_0x165413;_0x341c29[_0x2ca85e(0x11f)]?this[_0x2ca85e(0x114)]():this[_0x2ca85e(0x119)]();});}[_0x5792d7(0x122)](){const _0x118f9f=_0x5792d7;this[_0x118f9f(0x129)][_0x118f9f(0x130)](this[_0x118f9f(0x12c)]['id']);}[_0x5792d7(0x133)](){const _0x36cb52=_0x5792d7;this[_0x36cb52(0x110)][_0x36cb52(0x130)](this[_0x36cb52(0x12c)]['id']);}[_0x5792d7(0x118)](){const _0x12c0e2=_0x5792d7;this[_0x12c0e2(0x12b)][_0x12c0e2(0x136)](_0x12c0e2(0x113)),this[_0x12c0e2(0x12b)][_0x12c0e2(0x136)](_0x12c0e2(0x131)),this[_0x12c0e2(0x12b)][_0x12c0e2(0x136)](_0x12c0e2(0x121)),this[_0x12c0e2(0x11a)](),this[_0x12c0e2(0x120)][_0x12c0e2(0x118)](),this[_0x12c0e2(0x11c)]&&this[_0x12c0e2(0x119)]();}[_0x5792d7(0x114)](){const _0x531f63=_0x5792d7,_0x1aeed9=_0x5656b5(this[_0x531f63(0x12f)][_0x531f63(0x117)],_0x531f63(0x12d));this[_0x531f63(0x11c)]=this[_0x531f63(0x12f)][_0x531f63(0x123)][_0x531f63(0x138)](_0x531f63(0x128))[_0x531f63(0x112)](_0x1aeed9);}[_0x5792d7(0x119)](){const _0xc194fa=_0x5792d7;null!==this[_0xc194fa(0x11c)]&&this[_0xc194fa(0x12f)][_0xc194fa(0x123)][_0xc194fa(0x138)](_0xc194fa(0x128))[_0xc194fa(0x111)](this[_0xc194fa(0x11c)]),this[_0xc194fa(0x11c)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x81523=_0x5657;(function(_0x12e3b8,_0x4b8b8f){const _0x44190b=_0x5657,_0x84b45e=_0x12e3b8();while(!![]){try{const _0x3883c5=parseInt(_0x44190b(0x1b1))/0x1+parseInt(_0x44190b(0x1cc))/0x2*(-parseInt(_0x44190b(0x1d0))/0x3)+-parseInt(_0x44190b(0x1c1))/0x4*(-parseInt(_0x44190b(0x1e0))/0x5)+parseInt(_0x44190b(0x1c6))/0x6+-parseInt(_0x44190b(0x1cf))/0x7*(-parseInt(_0x44190b(0x1c8))/0x8)+parseInt(_0x44190b(0x1b2))/0x9+-parseInt(_0x44190b(0x1d7))/0xa*(parseInt(_0x44190b(0x1d8))/0xb);if(_0x3883c5===_0x4b8b8f)break;else _0x84b45e['push'](_0x84b45e['shift']());}catch(_0x36c95d){_0x84b45e['push'](_0x84b45e['shift']());}}}(_0x4e67,0x4e404));import{View as _0x1a35b7}from'ckeditor5/src/ui.js';function _0x5657(_0x2bd7bb,_0x2cfff0){const _0x4e67e2=_0x4e67();return _0x5657=function(_0x565757,_0x25325d){_0x565757=_0x565757-0x1b1;let _0x24f654=_0x4e67e2[_0x565757];return _0x24f654;},_0x5657(_0x2bd7bb,_0x2cfff0);}export default class es extends _0x1a35b7{constructor(_0x17d2ce,_0x353a2b,_0x155fae,_0x35dec1){const _0x17ec48=_0x5657;super(_0x17d2ce),this[_0x17ec48(0x1b6)]=null,this[_0x17ec48(0x1d6)]=null,this[_0x17ec48(0x1e1)](_0x17ec48(0x1b7),!0x1),this[_0x17ec48(0x1e1)](_0x17ec48(0x1e4),_0x353a2b[_0x17ec48(0x1e4)]),this[_0x17ec48(0x1dd)](_0x17ec48(0x1e4))['to'](_0x353a2b),this[_0x17ec48(0x1e1)](_0x17ec48(0x1b5),[]),this[_0x17ec48(0x1e1)](_0x17ec48(0x1bf),!0x1),this[_0x17ec48(0x1e1)](_0x17ec48(0x1b9),!0x1),this[_0x17ec48(0x1e1)](_0x17ec48(0x1d1),!0x1),this[_0x17ec48(0x1e1)](_0x17ec48(0x1bd),!0x1),this[_0x17ec48(0x1c5)]=_0x353a2b,this[_0x17ec48(0x1bc)]=_0x155fae,this[_0x17ec48(0x1cb)]=_0x35dec1,_0x35dec1[_0x17ec48(0x1de)]?this[_0x17ec48(0x1e1)](_0x17ec48(0x1b4),0x1):this[_0x17ec48(0x1c4)]();}[_0x81523(0x1da)](){const _0x59c14e=_0x81523;this[_0x59c14e(0x1dc)][_0x59c14e(0x1da)]();}[_0x81523(0x1c0)](){const _0x267764=_0x81523;this[_0x267764(0x1b6)]&&this[_0x267764(0x1b6)][_0x267764(0x1c0)](),this[_0x267764(0x1d6)]&&this[_0x267764(0x1d6)][_0x267764(0x1c0)](),super[_0x267764(0x1c0)]();}[_0x81523(0x1c4)](){const _0x537d25=_0x81523,{CommentsListView:_0x513b06}=this[_0x537d25(0x1cb)];this[_0x537d25(0x1b6)]=new _0x513b06(this[_0x537d25(0x1d9)],this[_0x537d25(0x1c5)][_0x537d25(0x1bb)],Object[_0x537d25(0x1cd)]({'CommentView':this[_0x537d25(0x1cb)][_0x537d25(0x1d5)]},this[_0x537d25(0x1cb)])),this[_0x537d25(0x1b6)][_0x537d25(0x1ce)](_0x537d25(0x1d2))['to'](this),this[_0x537d25(0x1b6)][_0x537d25(0x1ce)](_0x537d25(0x1c2))['to'](this),this[_0x537d25(0x1b6)][_0x537d25(0x1dd)](_0x537d25(0x1b7))['to'](this),this[_0x537d25(0x1e1)](_0x537d25(0x1b4),this[_0x537d25(0x1b6)][_0x537d25(0x1b4)]+0x1),this[_0x537d25(0x1dd)](_0x537d25(0x1b4))['to'](this[_0x537d25(0x1b6)],_0x537d25(0x1b4),_0x3a8c4c=>_0x3a8c4c+0x1),this[_0x537d25(0x1d6)]=this[_0x537d25(0x1e2)](),this['on'](_0x537d25(0x1d2),()=>this[_0x537d25(0x1da)]()),this[_0x537d25(0x1dd)](_0x537d25(0x1bf))['to'](this[_0x537d25(0x1b6)],_0x537d25(0x1b3),this[_0x537d25(0x1d6)][_0x537d25(0x1d4)],_0x537d25(0x1be),(_0x1c8c7f,_0x3d2538)=>_0x1c8c7f||!!_0x3d2538);}[_0x81523(0x1e2)](){const _0x3214cc=_0x81523,{CommentThreadInputView:_0x81d68}=this[_0x3214cc(0x1cb)],_0x3e2bd2=new _0x81d68(this[_0x3214cc(0x1d9)],this[_0x3214cc(0x1bc)],this[_0x3214cc(0x1cb)][_0x3214cc(0x1db)]),_0x426cda=_0x3e2bd2[_0x3214cc(0x1d4)];return _0x3e2bd2[_0x3214cc(0x1dd)](_0x3214cc(0x1e3))['to'](this,_0x3214cc(0x1b7),this[_0x3214cc(0x1c5)][_0x3214cc(0x1bb)],_0x3214cc(0x1ba),_0x426cda,_0x3214cc(0x1be),(_0x245ff1,_0x431fc4,_0x1f99a3)=>!!_0x1f99a3||_0x245ff1&&!_0x431fc4),_0x426cda['on'](_0x3214cc(0x1ca),(_0x227ff4,_0x5beb7c)=>{const _0x3dcf02=_0x3214cc;this[_0x3dcf02(0x1c7)](_0x3dcf02(0x1c3),_0x5beb7c),_0x426cda[_0x3dcf02(0x1b8)][_0x3dcf02(0x1d3)]('');}),_0x426cda['on'](_0x3214cc(0x1df),()=>this[_0x3214cc(0x1da)]()),_0x426cda[_0x3214cc(0x1dd)](_0x3214cc(0x1c9))['to'](this[_0x3214cc(0x1c5)][_0x3214cc(0x1bb)],_0x3214cc(0x1ba)),_0x3e2bd2;}}function _0x4e67(){const _0x488e76=['editor','isEnabled','isReadOnly','commentThread','_localUser','canDiscard','value','isDirty','destroy','76nSKkag','updateComment','addComment','_createCommentViews','_model','3134460WEpvOm','fire','48088WZxczL','disabledSubmit','submit','_config','2ltZLdz','assign','delegate','7zZyqjd','440697QmPkpg','canAccept','removeComment','setData','commentInputView','CommentView','commentThreadInputView','7967210yDYAUU','11QKPSbf','locale','focus','editorConfig','element','bind','disableComments','cancel','5210jNlezf','set','_createCommentThreadInputView','showInput','authoredAt','228362rEjHPh','4387995DZkVmU','hasDirtyComment','length','descriptionParts','commentsListView','isActive'];_0x4e67=function(){return _0x488e76;};return _0x4e67();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x532dc5=_0x14ff;(function(_0x5cbfec,_0x1cff6f){const _0x2ea055=_0x14ff,_0x103f45=_0x5cbfec();while(!![]){try{const _0x3a9e19=parseInt(_0x2ea055(0x1e2))/0x1*(-parseInt(_0x2ea055(0x1d1))/0x2)+-parseInt(_0x2ea055(0x1d2))/0x3+-parseInt(_0x2ea055(0x1bb))/0x4+parseInt(_0x2ea055(0x1af))/0x5*(-parseInt(_0x2ea055(0x1c9))/0x6)+-parseInt(_0x2ea055(0x199))/0x7*(-parseInt(_0x2ea055(0x18d))/0x8)+-parseInt(_0x2ea055(0x1cb))/0x9*(parseInt(_0x2ea055(0x190))/0xa)+parseInt(_0x2ea055(0x1ee))/0xb;if(_0x3a9e19===_0x1cff6f)break;else _0x103f45['push'](_0x103f45['shift']());}catch(_0x348be8){_0x103f45['push'](_0x103f45['shift']());}}}(_0x371c,0x8b2f3));function _0x14ff(_0x22d74f,_0x51cdec){const _0x371cf2=_0x371c();return _0x14ff=function(_0x14ffba,_0x158e37){_0x14ffba=_0x14ffba-0x181;let _0x3f30d3=_0x371cf2[_0x14ffba];return _0x3f30d3;},_0x14ff(_0x22d74f,_0x51cdec);}import{getTranslation as _0xecd555}from'../../utils/common-translations.js';import{default as _0x1c4cee}from'./basesuggestionthreadview.js';import{ButtonView as _0x5a41a9}from'ckeditor5/src/ui.js';import{icons as _0xfbd1a5}from'ckeditor5/src/core.js';import{trimHtml as _0x71ad58,UserView as _0x4bf5d2}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Yt extends _0x1c4cee{constructor(_0x17ff0c,_0x116909,_0x55ec65,_0x3a3f77){const _0x54beb5=_0x14ff;super(_0x17ff0c,_0x116909,_0x55ec65,_0x3a3f77),this[_0x54beb5(0x1d7)](_0x54beb5(0x1a3),''),this[_0x54beb5(0x1b8)](_0x54beb5(0x1a3))['to'](this,_0x54beb5(0x194),_0x52bcf8=>_0x52bcf8&&_0x52bcf8[0x0]?_0x52bcf8[0x0][_0x54beb5(0x1a3)]:''),this[_0x54beb5(0x1b8)](_0x54beb5(0x1b6))['to'](this,_0x54beb5(0x194),this,_0x54beb5(0x1c3),(_0x2f5b28,_0x56c24e)=>{const _0xdd373e=_0x54beb5;let _0x3f0995='';for(const _0x5c2d6e of _0x2f5b28)_0x3f0995+=_0xdd373e(0x1a2)+ds(_0x5c2d6e[_0xdd373e(0x1b7)],_0x5c2d6e[_0xdd373e(0x181)])+_0xdd373e(0x18e);return _0x56c24e?_0x3f0995:_0x71ad58(_0x3f0995,{'limit':0x8c});}),this[_0x54beb5(0x1e1)]=null,this[_0x54beb5(0x1d4)]=this[_0x54beb5(0x18b)](_0xecd555(_0x17ff0c,_0x54beb5(0x1da)),_0xfbd1a5[_0x54beb5(0x19e)],_0x54beb5(0x1b5),_0x54beb5(0x189),'sw'),this[_0x54beb5(0x1d4)][_0x54beb5(0x1b8)](_0x54beb5(0x1bc))['to'](this,_0x54beb5(0x1b9)),this[_0x54beb5(0x1de)]=this[_0x54beb5(0x18b)](_0xecd555(_0x17ff0c,_0x54beb5(0x1eb)),_0xfbd1a5[_0x54beb5(0x1ba)],_0x54beb5(0x1b2),_0x54beb5(0x1a7),'sw'),this[_0x54beb5(0x1de)][_0x54beb5(0x1b8)](_0x54beb5(0x1bc))['to'](this,_0x54beb5(0x1b3)),this[_0x54beb5(0x1db)]=new _0x4bf5d2(_0x17ff0c,this[_0x54beb5(0x1d3)][_0x54beb5(0x1be)],this[_0x54beb5(0x1e6)]()),this[_0x54beb5(0x1db)][_0x54beb5(0x19a)]({'attributes':{'class':[_0x54beb5(0x1a1),_0x54beb5(0x1ae)]}}),this[_0x54beb5(0x1c2)](this[_0x54beb5(0x1e7)]());}[_0x532dc5(0x1e7)](){const _0x35f1c8=_0x532dc5,_0x59f83f=this[_0x35f1c8(0x1b1)],_0x26101e=[{'tag':_0x35f1c8(0x1d6),'attributes':{'class':[_0x35f1c8(0x1cc),_0x35f1c8(0x1cf)]},'children':[{'tag':_0x35f1c8(0x19b),'children':[{'text':this[_0x35f1c8(0x1db)][_0x35f1c8(0x1e5)]}],'attributes':{'class':[_0x35f1c8(0x1d5),_0x35f1c8(0x1bf)]}},{'tag':_0x35f1c8(0x1b0),'attributes':{'datetime':_0x59f83f['to'](_0x35f1c8(0x19f)),'class':[_0x35f1c8(0x1c5),_0x35f1c8(0x1ce)]},'children':[{'text':_0x59f83f['to'](_0x35f1c8(0x19f),_0x19a6da=>this[_0x35f1c8(0x1d9)][_0x35f1c8(0x186)](_0x19a6da))}]}]},{'tag':_0x35f1c8(0x1d6),'attributes':{'class':[_0x35f1c8(0x184),_0x35f1c8(0x1dd)]},'children':[this[_0x35f1c8(0x1d4)],this[_0x35f1c8(0x1de)]]},{'tag':_0x35f1c8(0x1d6),'attributes':{'class':[_0x35f1c8(0x1e9)]}}];this[_0x35f1c8(0x1d3)][_0x35f1c8(0x182)]&&_0x26101e[_0x35f1c8(0x18c)]({'tag':_0x35f1c8(0x1d6),'attributes':{'class':[_0x35f1c8(0x1a9)]},'children':[{'text':this[_0x35f1c8(0x198)]()}]});const _0xd32c10={'tag':_0x35f1c8(0x1d6),'attributes':{'class':[_0x35f1c8(0x1f0),_0x59f83f['if'](_0x35f1c8(0x1c3),_0x35f1c8(0x1c6)),_0x59f83f['to'](_0x35f1c8(0x1a3),_0x8cc0ea=>_0x35f1c8(0x19d)+_0x8cc0ea),this[_0x35f1c8(0x1d9)][_0x35f1c8(0x191)]&&_0x35f1c8(0x1a5)],'data-suggestion-id':this[_0x35f1c8(0x1d3)]['id'],'data-thread-id':this[_0x35f1c8(0x1d3)][_0x35f1c8(0x192)]['id'],'data-author-id':this[_0x35f1c8(0x1d3)][_0x35f1c8(0x1be)]['id'],'tabindex':-0x1},'children':[{'tag':_0x35f1c8(0x1d6),'attributes':{'class':[_0x35f1c8(0x1ac),_0x35f1c8(0x18f)]},'children':[this[_0x35f1c8(0x1db)],{'tag':_0x35f1c8(0x1d6),'attributes':{'class':[_0x35f1c8(0x1c7),_0x35f1c8(0x1e4)]},'children':_0x26101e}]}]};return this[_0x35f1c8(0x1ad)]&&this[_0x35f1c8(0x19c)]&&(_0xd32c10[_0x35f1c8(0x18a)][_0x35f1c8(0x18c)](this[_0x35f1c8(0x1ad)],this[_0x35f1c8(0x19c)]),this[_0x35f1c8(0x1ad)][_0x35f1c8(0x183)](_0x35f1c8(0x196))['to'](this),this[_0x35f1c8(0x1ad)][_0x35f1c8(0x183)](_0x35f1c8(0x1ed))['to'](this),this[_0x35f1c8(0x19c)][_0x35f1c8(0x183)](_0x35f1c8(0x196))['to'](this),this[_0x35f1c8(0x19c)][_0x35f1c8(0x183)](_0x35f1c8(0x1ed))['to'](this)),_0xd32c10;}[_0x532dc5(0x1cd)](){const _0x4ccc11=_0x532dc5;super[_0x4ccc11(0x1cd)](),this[_0x4ccc11(0x1e1)]=this[_0x4ccc11(0x1ec)][_0x4ccc11(0x1ea)](_0x4ccc11(0x1d8)),this[_0x4ccc11(0x1e1)][_0x4ccc11(0x1b4)]=this[_0x4ccc11(0x1b6)],this['on'](_0x4ccc11(0x1ef),(_0x167bec,_0x3ba6a7,_0x248718)=>{const _0x4313ba=_0x4ccc11;this[_0x4313ba(0x1e1)][_0x4313ba(0x1b4)]=_0x248718;});}[_0x532dc5(0x18b)](_0x52efed,_0x42e0ba,_0x2232a0,_0xd5dca2,_0x5d716d){const _0x450a76=_0x532dc5,_0x3e9c9a=new _0x5a41a9(this[_0x450a76(0x1c8)]);return _0x3e9c9a[_0x450a76(0x1d7)]({'label':_0x52efed,'icon':_0x42e0ba,'tooltip':!0x0,'tooltipPosition':_0x5d716d}),_0x3e9c9a[_0x450a76(0x19a)]({'attributes':{'class':_0x2232a0}}),_0x3e9c9a['on'](_0x450a76(0x1e8),()=>{const _0x1f4ea0=_0x450a76;this[_0x1f4ea0(0x188)](_0xd5dca2,this[_0x1f4ea0(0x1d3)]['id']);}),_0x3e9c9a;}[_0x532dc5(0x198)](){const _0x40d551=_0x532dc5;return _0x40d551(0x1e0)===this[_0x40d551(0x1d3)][_0x40d551(0x187)][_0x40d551(0x1d0)][_0x40d551(0x1a8)]?_0xecd555(this[_0x40d551(0x1c8)],_0x40d551(0x193)):_0xecd555(this[_0x40d551(0x1c8)],_0x40d551(0x1aa));}[_0x532dc5(0x1e6)](){const _0x143fd4=_0x532dc5;return this[_0x143fd4(0x1d3)][_0x143fd4(0x182)]?_0x143fd4(0x1e0)===this[_0x143fd4(0x1d3)][_0x143fd4(0x187)][_0x143fd4(0x1d0)][_0x143fd4(0x1a8)]?_0xecd555(this[_0x143fd4(0x1c8)],_0x143fd4(0x1a4),this[_0x143fd4(0x1d3)][_0x143fd4(0x1c4)][_0x143fd4(0x1e5)]):_0xecd555(this[_0x143fd4(0x1c8)],_0x143fd4(0x1df),this[_0x143fd4(0x1d3)][_0x143fd4(0x1c4)][_0x143fd4(0x1e5)]):null;}}function _0x371c(){const _0xfb05d1=['5772774ioPFKN','\x22\x20title=\x22','8072523lwyNSY','ck-suggestion__info','render','ck-annotation__info-time','ck-annotation__info','@external','26xRHwiS','273615RzHZdZ','_model','acceptButton','ck-suggestion__info-name','div','set','.ck-annotation__content-wrapper','_config','Accept\x20suggestion','userView','value','ck-annotation__actions','discardButton','EXTERNAL_AVATAR','importWord','_descriptionElement','33811HULogp','join','ck-annotation__main','name','getUserViewNotificationText','getTemplate','execute','ck-annotation__content-wrapper','querySelector','Discard\x20suggestion','element','editorDestroyed','31546603Dvzbzi','change:description','ck-suggestion-wrapper','color','isExternal','delegate','ck-suggestion__actions','</span>','formatDateTime','attributes','fire','acceptSuggestion','children','_createButton','push','23744fiaVkN','</p>','ck-annotation','10eTQXMM','disableComments','commentThread','EXTERNAL_IMPORT_WORD_SUGGESTION','descriptionParts','innerText','editorReady','split','getExternalSuggestionNote','1862lMLHwT','extendTemplate','span','commentThreadInputView','ck-suggestion-','check','authoredAt','map','ck-suggestion__user','<p>','type','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion--disabled-comments','title','discardSuggestion','source','ck-comment__external','EXTERNAL_SUGGESTION','createElement','ck-suggestion','commentsListView','ck-annotation__user','5zthYWE','time','bindTemplate','ck-suggestion--discard','canDiscard','innerHTML','ck-suggestion--accept','description','content','bind','canAccept','cancel','2789752pFdBsf','isEnabled','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','author','ck-annotation__info-name','\x22></span>','<span\x20class=\x22ck-suggestion-type\x22>','setTemplate','isActive','creator','ck-comment__info-time','ck-suggestion-wrapper--active','ck-suggestion__main','locale'];_0x371c=function(){return _0xfb05d1;};return _0x371c();}function ds(_0x1513ca,_0x43c758){const _0x14959a=_0x532dc5;let _0x1419cf='';return _0x1419cf+=_0x1513ca[_0x14959a(0x197)]('*')[_0x14959a(0x1a0)]((_0xa60b07,_0x10ab3e)=>_0x10ab3e%0x2!=0x0?_0x14959a(0x1c1)+us(_0xa60b07)+_0x14959a(0x185):us(_0xa60b07))[_0x14959a(0x1e3)](''),_0x43c758&&(_0x1419cf+=_0x14959a(0x1bd)+_0x43c758[_0x14959a(0x1dc)]+_0x14959a(0x1ca)+_0x43c758[_0x14959a(0x1a6)]+_0x14959a(0x1c0)),_0x1419cf;}function us(_0x12774b){const _0x4299b6=_0x532dc5,_0x1a052a=document[_0x4299b6(0x1ab)](_0x4299b6(0x19b));return _0x1a052a[_0x4299b6(0x195)]=_0x12774b,_0x1a052a[_0x4299b6(0x1b4)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3b4868,_0x56e3af,_0x4a7cfc){const t=_0x3b4868['t'];switch(_0x56e3af){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x4a7cfc);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4a7cfc);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4a7cfc);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4a7cfc);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4a7cfc);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x4a7cfc);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4a7cfc);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x4a7cfc);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4a7cfc);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4a7cfc);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4a7cfc);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4a7cfc);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4a7cfc);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4a7cfc);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4a7cfc);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4a7cfc);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4a7cfc);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4a7cfc);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4a7cfc);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4a7cfc);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4a7cfc);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4a7cfc);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4a7cfc);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x4a7cfc);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4a7cfc);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4a7cfc);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4a7cfc);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4a7cfc);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4a7cfc);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x4a7cfc);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4a7cfc);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4a7cfc);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4a7cfc);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4a7cfc);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x4a7cfc);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4a7cfc);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x4a7cfc);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x4a7cfc);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4a7cfc);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x4a7cfc);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4a7cfc);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x4a7cfc);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4a7cfc);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4a7cfc);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x4a7cfc);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x4a7cfc);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x56e3af;}}
|
|
23
|
+
export function getTranslation(_0x4c7345,_0x1c03e0,_0x2fa905){const t=_0x4c7345['t'];switch(_0x1c03e0){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x2fa905);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2fa905);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2fa905);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2fa905);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2fa905);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x2fa905);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2fa905);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x2fa905);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2fa905);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2fa905);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2fa905);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2fa905);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2fa905);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2fa905);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2fa905);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2fa905);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2fa905);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2fa905);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2fa905);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2fa905);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2fa905);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2fa905);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2fa905);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x2fa905);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2fa905);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2fa905);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2fa905);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2fa905);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2fa905);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x2fa905);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2fa905);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2fa905);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2fa905);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2fa905);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x2fa905);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2fa905);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x2fa905);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x2fa905);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2fa905);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x2fa905);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2fa905);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x2fa905);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2fa905);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2fa905);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2fa905);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2fa905);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x1c03e0;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xf36c(){const _0x134cc3=['isArray','isTouching','add','isIntersecting','type','map','12blQuVJ','isMultiRange','color','end','5270uEunGS','next','start','content','length','isInContent','1455618qroUsZ','createRange','replace','execute','createPositionAfter','getRanges','isObject','change','2716595SyaScl','createPositionAt','splice','deletion','\x20[color\x20','value','25872715jTwXcF','4250372cMywkF','252227xlzBml','sort','12AMtSlv','isCollapsed','push','createPositionBefore','schema','6591152ugYRwe','join','14121JWpdUv','from','6FtdtAk'];_0xf36c=function(){return _0x134cc3;};return _0xf36c();}(function(_0x63bd6e,_0x30bcbe){const _0x57b615=_0x31cb,_0x151f15=_0x63bd6e();while(!![]){try{const _0x4540ec=parseInt(_0x57b615(0x1e6))/0x1*(parseInt(_0x57b615(0x1e8))/0x2)+parseInt(_0x57b615(0x1d6))/0x3*(-parseInt(_0x57b615(0x1f8))/0x4)+parseInt(_0x57b615(0x1de))/0x5*(-parseInt(_0x57b615(0x1f1))/0x6)+parseInt(_0x57b615(0x1e5))/0x7+-parseInt(_0x57b615(0x1ed))/0x8+parseInt(_0x57b615(0x1ef))/0x9*(-parseInt(_0x57b615(0x1d0))/0xa)+parseInt(_0x57b615(0x1e4))/0xb;if(_0x4540ec===_0x30bcbe)break;else _0x151f15['push'](_0x151f15['shift']());}catch(_0x23e514){_0x151f15['push'](_0x151f15['shift']());}}}(_0xf36c,0xc8e91));export function normalizeDescription(_0x26348e){const _0x436103=_0x31cb;return Array[_0x436103(0x1f2)](_0x26348e)||(_0x26348e=[_0x26348e]),_0x26348e[_0x436103(0x1f7)](_0x3cdef6=>{const _0x1ede0e=_0x436103,_0x1695bb=_0x3cdef6[_0x1ede0e(0x1d3)][_0x1ede0e(0x1d8)](/\*/g,''),_0x322605=_0x3cdef6[_0x1ede0e(0x1ce)]?_0x1ede0e(0x1e2)+_0x3cdef6[_0x1ede0e(0x1ce)][_0x1ede0e(0x1e3)]+']':'';return'['+_0x3cdef6[_0x1ede0e(0x1f6)]+']\x20'+_0x1695bb+_0x322605;})[_0x436103(0x1ee)](';\x20');}function _0x31cb(_0x370477,_0x25a483){const _0xf36c0c=_0xf36c();return _0x31cb=function(_0x31cbab,_0x35f86e){_0x31cbab=_0x31cbab-0x1ce;let _0x466413=_0xf36c0c[_0x31cbab];return _0x466413;},_0x31cb(_0x370477,_0x25a483);}export function sortSuggestions(_0x206b69){const _0x1a5685=_0x31cb;return _0x206b69[_0x1a5685(0x1e7)]((_0x1e0782,_0x2f00d9)=>_0x1a5685(0x1e1)==_0x1e0782[_0x1a5685(0x1f6)]&&_0x1a5685(0x1e1)!=_0x2f00d9[_0x1a5685(0x1f6)]?-0x1:_0x1a5685(0x1e1)!=_0x1e0782[_0x1a5685(0x1f6)]&&_0x1a5685(0x1e1)==_0x2f00d9[_0x1a5685(0x1f6)]?0x1:0x0);}export function getSelectedSuggestions(_0x5e453d,_0x314ebb){const _0xb29bb0=_0x31cb,_0x4c6ca1=Array[_0xb29bb0(0x1f0)](_0x5e453d[_0xb29bb0(0x1db)]()),_0x2bbfe6=new Set();for(const _0x14d3b0 of _0x314ebb)if(_0x14d3b0[_0xb29bb0(0x1d5)]){for(const _0x3a8974 of _0x4c6ca1)for(const _0x549d8b of _0x14d3b0[_0xb29bb0(0x1db)]())(_0x3a8974[_0xb29bb0(0x1f5)](_0x549d8b)||_0x5e453d[_0xb29bb0(0x1e9)]&&!_0x14d3b0[_0xb29bb0(0x1f9)]&&_0x14d3b0[_0xb29bb0(0x1d1)]&&_0x549d8b[_0xb29bb0(0x1cf)][_0xb29bb0(0x1f3)](_0x3a8974[_0xb29bb0(0x1d2)]))&&_0x2bbfe6[_0xb29bb0(0x1f4)](_0x14d3b0);}return _0x2bbfe6;}export function getRangesOfBlockGroups(_0x41ac43,_0x4f9b5c){const _0xa742c2=_0x31cb;let _0x57a705,_0x46aa40=0x0;const _0x2119b9=[],_0x32f354=_0x4f9b5c[_0xa742c2(0x1ec)];for(;_0x46aa40<_0x41ac43[_0xa742c2(0x1d4)];){const _0xe4a694=_0x41ac43[_0x46aa40],_0x7b45fa=_0x41ac43[_0x46aa40+0x1];_0x57a705||(_0x57a705=_0x4f9b5c[_0xa742c2(0x1eb)](_0xe4a694)),co(_0x4f9b5c,_0xe4a694,_0x7b45fa)||(_0x2119b9[_0xa742c2(0x1ea)](_0x4f9b5c[_0xa742c2(0x1d7)](_0x57a705,_0x32f354[_0xa742c2(0x1dc)](_0xe4a694)?_0x4f9b5c[_0xa742c2(0x1da)](_0xe4a694):_0x4f9b5c[_0xa742c2(0x1df)](_0xe4a694,_0xa742c2(0x1cf)))),_0x57a705=null),_0x46aa40++;}return _0x2119b9;}function co(_0x1874a7,_0x1bf185,_0x2976bf){const _0x5cf690=_0x31cb;if(!_0x2976bf)return!0x1;const _0x2cb221=_0x1874a7[_0x5cf690(0x1da)](_0x1bf185),_0x430c88=_0x1874a7[_0x5cf690(0x1eb)](_0x2976bf);return _0x2cb221[_0x5cf690(0x1f3)](_0x430c88);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0xb0d0b9,_0x1fcf6c,_0x2a48dd){const _0x445b59=_0x31cb;for(;_0x2a48dd[_0x445b59(0x1d4)];){const _0x309c08=_0x2a48dd[_0x445b59(0x1e0)](0x0,0x64);_0xb0d0b9[_0x445b59(0x1dd)](()=>{const _0x1685cd=_0x445b59;for(const _0x1b9f24 of _0x309c08)_0x1b9f24[_0x1685cd(0x1d5)]&&_0x1fcf6c[_0x1685cd(0x1d9)](_0x1b9f24['id']);});}}
|