@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240314.0 → 0.0.0-nightly-20240316.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 _0x210a8e=_0x210d;function _0x4092(){const _0x3325a2=['346885NzKUEi','getRanges','canEditAt','_editor','10143LNAAbS','2jdJjWw','get','stopListening','canAccept','392BObzOm','_pendingAction','PendingActions','discardSuggestion','execute','plugins','30VoJPBg','102279EnbpUb','_setPendingAction','6489aXzJEa','756435UcINel','locale','change:isDirty','view','PENDING_ACTION_SUGGESTION','listenTo','model','_removePendingAction','commentThreadController','unbind','remove','canDiscard','isEnabled','add','11485512AhfUFI','_acceptCommand','52IVORDM','acceptSuggestion','isDirty','commands','destroy','bind','_discardCommand','810BGLQpk','387292eznKbY'];_0x4092=function(){return _0x3325a2;};return _0x4092();}(function(_0x2f5db7,_0x687fa1){const _0xdb249a=_0x210d,_0x4343f6=_0x2f5db7();while(!![]){try{const _0x213fa1=-parseInt(_0xdb249a(0x1a2))/0x1*(parseInt(_0xdb249a(0x1a8))/0x2)+-parseInt(_0xdb249a(0x1b3))/0x3*(parseInt(_0xdb249a(0x19a))/0x4)+-parseInt(_0xdb249a(0x1b6))/0x5+parseInt(_0xdb249a(0x1a1))/0x6*(parseInt(_0xdb249a(0x1a7))/0x7)+-parseInt(_0xdb249a(0x1ac))/0x8*(parseInt(_0xdb249a(0x1b5))/0x9)+parseInt(_0xdb249a(0x1b2))/0xa*(parseInt(_0xdb249a(0x1a3))/0xb)+parseInt(_0xdb249a(0x198))/0xc;if(_0x213fa1===_0x687fa1)break;else _0x4343f6['push'](_0x4343f6['shift']());}catch(_0x5b8a64){_0x4343f6['push'](_0x4343f6['shift']());}}}(_0x4092,0x38355));import{ObservableMixin as _0x50a65a}from'ckeditor5/src/utils.js';import{getTranslation as _0x5e8fef}from'../utils/common-translations.js';function _0x210d(_0x4720ac,_0x3b8f5a){const _0x409281=_0x4092();return _0x210d=function(_0x210d16,_0x2acf86){_0x210d16=_0x210d16-0x18b;let _0xd8b771=_0x409281[_0x210d16];return _0xd8b771;},_0x210d(_0x4720ac,_0x3b8f5a);}export default class Xt extends _0x50a65a(){constructor(_0x3681ac,_0x235bb3,_0x4eae0e,_0x28db12){const _0x4b815b=_0x210d;super(),this[_0x4b815b(0x190)]=_0x235bb3,this[_0x4b815b(0x18d)]=_0x4eae0e,this[_0x4b815b(0x192)]=_0x28db12,this[_0x4b815b(0x1a6)]=_0x3681ac,this[_0x4b815b(0x199)]=_0x3681ac[_0x4b815b(0x19d)][_0x4b815b(0x1a9)](_0x4b815b(0x19b)),this[_0x4b815b(0x1a0)]=_0x3681ac[_0x4b815b(0x19d)][_0x4b815b(0x1a9)](_0x4b815b(0x1af)),this[_0x4b815b(0x18d)][_0x4b815b(0x19f)](_0x4b815b(0x196))['to'](this[_0x4b815b(0x199)],this[_0x4b815b(0x1a0)],(_0x2e7485,_0x5728fc)=>_0x2e7485||_0x5728fc),this[_0x4b815b(0x18d)][_0x4b815b(0x19f)](_0x4b815b(0x1ab))['to'](this[_0x4b815b(0x199)],_0x4b815b(0x196),_0x4f5b96=>_0x4f5b96&&this[_0x4b815b(0x1a6)][_0x4b815b(0x190)][_0x4b815b(0x1a5)](_0x235bb3[_0x4b815b(0x1a4)]())),this[_0x4b815b(0x18d)][_0x4b815b(0x19f)](_0x4b815b(0x195))['to'](this[_0x4b815b(0x1a0)],_0x4b815b(0x196),_0x2d7248=>_0x2d7248&&this[_0x4b815b(0x1a6)][_0x4b815b(0x190)][_0x4b815b(0x1a5)](_0x235bb3[_0x4b815b(0x1a4)]())),this[_0x4b815b(0x1ad)]=null,_0x4eae0e[_0x4b815b(0x19c)]&&this[_0x4b815b(0x1b4)](),this[_0x4b815b(0x18f)](_0x4eae0e,_0x4b815b(0x19b),()=>this[_0x4b815b(0x19b)]()),this[_0x4b815b(0x18f)](_0x4eae0e,_0x4b815b(0x1af),()=>this[_0x4b815b(0x1af)]()),this[_0x4b815b(0x18f)](_0x4eae0e,_0x4b815b(0x18c),()=>{const _0x3a8051=_0x4b815b;_0x4eae0e[_0x3a8051(0x19c)]?this[_0x3a8051(0x1b4)]():this[_0x3a8051(0x191)]();});}[_0x210a8e(0x19b)](){const _0x1bf71e=_0x210a8e;this[_0x1bf71e(0x199)][_0x1bf71e(0x1b0)](this[_0x1bf71e(0x190)]['id']);}[_0x210a8e(0x1af)](){const _0x311ebb=_0x210a8e;this[_0x311ebb(0x1a0)][_0x311ebb(0x1b0)](this[_0x311ebb(0x190)]['id']);}[_0x210a8e(0x19e)](){const _0x2110ef=_0x210a8e;this[_0x2110ef(0x18d)][_0x2110ef(0x193)](_0x2110ef(0x196)),this[_0x2110ef(0x18d)][_0x2110ef(0x193)](_0x2110ef(0x1ab)),this[_0x2110ef(0x18d)][_0x2110ef(0x193)](_0x2110ef(0x195)),this[_0x2110ef(0x1aa)](),this[_0x2110ef(0x192)][_0x2110ef(0x19e)](),this[_0x2110ef(0x1ad)]&&this[_0x2110ef(0x191)]();}[_0x210a8e(0x1b4)](){const _0x34ad81=_0x210a8e,_0x123a25=_0x5e8fef(this[_0x34ad81(0x1a6)][_0x34ad81(0x18b)],_0x34ad81(0x18e));this[_0x34ad81(0x1ad)]=this[_0x34ad81(0x1a6)][_0x34ad81(0x1b1)][_0x34ad81(0x1a9)](_0x34ad81(0x1ae))[_0x34ad81(0x197)](_0x123a25);}[_0x210a8e(0x191)](){const _0x1afd77=_0x210a8e;null!==this[_0x1afd77(0x1ad)]&&this[_0x1afd77(0x1a6)][_0x1afd77(0x1b1)][_0x1afd77(0x1a9)](_0x1afd77(0x1ae))[_0x1afd77(0x194)](this[_0x1afd77(0x1ad)]),this[_0x1afd77(0x1ad)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2623(_0x1cad0a,_0x2a6253){const _0x2a54f4=_0x2a54();return _0x2623=function(_0x2623d3,_0x2cff9f){_0x2623d3=_0x2623d3-0x166;let _0x3ae9b6=_0x2a54f4[_0x2623d3];return _0x3ae9b6;},_0x2623(_0x1cad0a,_0x2a6253);}const _0x5e197f=_0x2623;(function(_0x564de1,_0x2d0feb){const _0x357b56=_0x2623,_0x66af80=_0x564de1();while(!![]){try{const _0xc5909e=parseInt(_0x357b56(0x16b))/0x1*(-parseInt(_0x357b56(0x17d))/0x2)+-parseInt(_0x357b56(0x189))/0x3+parseInt(_0x357b56(0x191))/0x4*(parseInt(_0x357b56(0x16e))/0x5)+parseInt(_0x357b56(0x177))/0x6*(parseInt(_0x357b56(0x183))/0x7)+-parseInt(_0x357b56(0x188))/0x8+parseInt(_0x357b56(0x186))/0x9+-parseInt(_0x357b56(0x197))/0xa*(-parseInt(_0x357b56(0x199))/0xb);if(_0xc5909e===_0x2d0feb)break;else _0x66af80['push'](_0x66af80['shift']());}catch(_0x504a33){_0x66af80['push'](_0x66af80['shift']());}}}(_0x2a54,0x80841));import{View as _0x4418af}from'ckeditor5/src/ui.js';function _0x2a54(){const _0x36f3c1=['isActive','authoredAt','isEnabled','1TyFOKA','canDiscard','disableComments','5DnuvUL','editorConfig','commentInputView','assign','isDirty','showInput','commentsListView','_localUser','hasDirtyComment','996858ustlRu','_config','length','isReadOnly','disabledSubmit','updateComment','1555870fNoUsS','addComment','set','_createCommentThreadInputView','submit','editor','21BByeRc','_model','_createCommentViews','2922093hzgJZz','focus','8003344MFBUGR','939495xTqzDU','commentThreadInputView','descriptionParts','bind','element','commentThread','cancel','value','1949536QPpNtu','removeComment','CommentView','setData','delegate','canAccept','33610zoNKCv','fire','4279sVPcHx','locale','destroy'];_0x2a54=function(){return _0x36f3c1;};return _0x2a54();}export default class es extends _0x4418af{constructor(_0x43b4a9,_0x37ef09,_0x2f2255,_0x4a35b0){const _0x1283ac=_0x2623;super(_0x43b4a9),this[_0x1283ac(0x174)]=null,this[_0x1283ac(0x18a)]=null,this[_0x1283ac(0x17f)](_0x1283ac(0x168),!0x1),this[_0x1283ac(0x17f)](_0x1283ac(0x169),_0x37ef09[_0x1283ac(0x169)]),this[_0x1283ac(0x18c)](_0x1283ac(0x169))['to'](_0x37ef09),this[_0x1283ac(0x17f)](_0x1283ac(0x18b),[]),this[_0x1283ac(0x17f)](_0x1283ac(0x172),!0x1),this[_0x1283ac(0x17f)](_0x1283ac(0x16a),!0x1),this[_0x1283ac(0x17f)](_0x1283ac(0x196),!0x1),this[_0x1283ac(0x17f)](_0x1283ac(0x16c),!0x1),this[_0x1283ac(0x184)]=_0x37ef09,this[_0x1283ac(0x175)]=_0x2f2255,this[_0x1283ac(0x178)]=_0x4a35b0,_0x4a35b0[_0x1283ac(0x16d)]?this[_0x1283ac(0x17f)](_0x1283ac(0x179),0x1):this[_0x1283ac(0x185)]();}[_0x5e197f(0x187)](){const _0xc051e=_0x5e197f;this[_0xc051e(0x18d)][_0xc051e(0x187)]();}[_0x5e197f(0x167)](){const _0xebefd6=_0x5e197f;this[_0xebefd6(0x174)]&&this[_0xebefd6(0x174)][_0xebefd6(0x167)](),this[_0xebefd6(0x18a)]&&this[_0xebefd6(0x18a)][_0xebefd6(0x167)](),super[_0xebefd6(0x167)]();}[_0x5e197f(0x185)](){const _0x584cd2=_0x5e197f,{CommentsListView:_0x1eaffe}=this[_0x584cd2(0x178)];this[_0x584cd2(0x174)]=new _0x1eaffe(this[_0x584cd2(0x166)],this[_0x584cd2(0x184)][_0x584cd2(0x18e)],Object[_0x584cd2(0x171)]({'CommentView':this[_0x584cd2(0x178)][_0x584cd2(0x193)]},this[_0x584cd2(0x178)])),this[_0x584cd2(0x174)][_0x584cd2(0x195)](_0x584cd2(0x192))['to'](this),this[_0x584cd2(0x174)][_0x584cd2(0x195)](_0x584cd2(0x17c))['to'](this),this[_0x584cd2(0x174)][_0x584cd2(0x18c)](_0x584cd2(0x168))['to'](this),this[_0x584cd2(0x17f)](_0x584cd2(0x179),this[_0x584cd2(0x174)][_0x584cd2(0x179)]+0x1),this[_0x584cd2(0x18c)](_0x584cd2(0x179))['to'](this[_0x584cd2(0x174)],_0x584cd2(0x179),_0xc81f2e=>_0xc81f2e+0x1),this[_0x584cd2(0x18a)]=this[_0x584cd2(0x180)](),this['on'](_0x584cd2(0x192),()=>this[_0x584cd2(0x187)]()),this[_0x584cd2(0x18c)](_0x584cd2(0x172))['to'](this[_0x584cd2(0x174)],_0x584cd2(0x176),this[_0x584cd2(0x18a)][_0x584cd2(0x170)],_0x584cd2(0x190),(_0x3aa561,_0x5d04e5)=>_0x3aa561||!!_0x5d04e5);}[_0x5e197f(0x180)](){const _0x460f50=_0x5e197f,{CommentThreadInputView:_0x275624}=this[_0x460f50(0x178)],_0x536513=new _0x275624(this[_0x460f50(0x166)],this[_0x460f50(0x175)],this[_0x460f50(0x178)][_0x460f50(0x16f)]),_0x5b3f01=_0x536513[_0x460f50(0x170)];return _0x536513[_0x460f50(0x18c)](_0x460f50(0x173))['to'](this,_0x460f50(0x168),this[_0x460f50(0x184)][_0x460f50(0x18e)],_0x460f50(0x17a),_0x5b3f01,_0x460f50(0x190),(_0x2e34cb,_0x5b7a5c,_0xce6192)=>!!_0xce6192||_0x2e34cb&&!_0x5b7a5c),_0x5b3f01['on'](_0x460f50(0x181),(_0x5dc43f,_0x22a34f)=>{const _0x3e8791=_0x460f50;this[_0x3e8791(0x198)](_0x3e8791(0x17e),_0x22a34f),_0x5b3f01[_0x3e8791(0x182)][_0x3e8791(0x194)]('');}),_0x5b3f01['on'](_0x460f50(0x18f),()=>this[_0x460f50(0x187)]()),_0x5b3f01[_0x460f50(0x18c)](_0x460f50(0x17b))['to'](this[_0x460f50(0x184)][_0x460f50(0x18e)],_0x460f50(0x17a)),_0x536513;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d156f=_0x1f01;(function(_0x4053ec,_0xcd20ec){const _0x2107ed=_0x1f01,_0x48c867=_0x4053ec();while(!![]){try{const _0x1c4fa2=-parseInt(_0x2107ed(0x1a7))/0x1+parseInt(_0x2107ed(0x167))/0x2*(-parseInt(_0x2107ed(0x1c6))/0x3)+-parseInt(_0x2107ed(0x178))/0x4*(-parseInt(_0x2107ed(0x1bd))/0x5)+-parseInt(_0x2107ed(0x198))/0x6+parseInt(_0x2107ed(0x193))/0x7*(-parseInt(_0x2107ed(0x1a8))/0x8)+parseInt(_0x2107ed(0x192))/0x9+parseInt(_0x2107ed(0x1a4))/0xa;if(_0x1c4fa2===_0xcd20ec)break;else _0x48c867['push'](_0x48c867['shift']());}catch(_0x47f732){_0x48c867['push'](_0x48c867['shift']());}}}(_0x1f44,0xc0e24));function _0x1f01(_0x9b970,_0x4c59ff){const _0x1f4444=_0x1f44();return _0x1f01=function(_0x1f0137,_0x5706bc){_0x1f0137=_0x1f0137-0x160;let _0x298c2b=_0x1f4444[_0x1f0137];return _0x298c2b;},_0x1f01(_0x9b970,_0x4c59ff);}import{getTranslation as _0xa9b032}from'../../utils/common-translations.js';import{default as _0x14adb4}from'./basesuggestionthreadview.js';import{ButtonView as _0x31f275}from'ckeditor5/src/ui.js';function _0x1f44(){const _0x4ab3f7=['344xcSFov','ck-annotation__info','_model','Discard\x20suggestion','setTemplate','fire','editorDestroyed','element','EXTERNAL_IMPORT_WORD_AVATAR','innerHTML','ck-suggestion__info','\x22\x20title=\x22','map','execute','formatDateTime','ck-annotation__content-wrapper','EXTERNAL_SUGGESTION','_createButton','descriptionParts','locale','createElement','5iNvNkp','type','canAccept','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','userView','change:description','ck-suggestion--disabled-comments','isActive','split','213lQZcNA','isExternal','push','span','EXTERNAL_AVATAR','ck-suggestion','.ck-annotation__content-wrapper','discardSuggestion','ck-annotation__actions','importWord','extendTemplate','ck-suggestion__info-name','ck-suggestion__actions','<p>','editorReady','ck-annotation__user','34124PiJrya','innerText','content','canDiscard','attributes','Accept\x20suggestion','title','ck-annotation__info-name','commentsListView','value','name','description','getTemplate','</span>','author','acceptButton','delegate','4728976GmAwYW','ck-suggestion__main','querySelector','acceptSuggestion','getUserViewNotificationText','children','ck-annotation__info-time','ck-annotation','render','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-suggestion-wrapper--active','check','ck-annotation__main','ck-suggestion__user','commentThreadInputView','\x22></span>','@external','ck-suggestion-','ck-comment__info-time','ck-comment__external','ck-suggestion--accept','authoredAt','color','</p>','isEnabled','bind','9138888LJfWuM','253988nlaBwL','discardButton','<span\x20class=\x22ck-suggestion-type\x22>','div','_config','7600728dxVXhe','commentThread','bindTemplate','_descriptionElement','ck-suggestion-wrapper','ck-suggestion--discard','source','creator','cancel','getExternalSuggestionNote','set','time','33891560hjnhFi','disableComments','join','758378mHZPkx'];_0x1f44=function(){return _0x4ab3f7;};return _0x1f44();}import{icons as _0x3628d8}from'ckeditor5/src/core.js';import{trimHtml as _0x4c7c1f,UserView as _0x23f35a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Yt extends _0x14adb4{constructor(_0x2c15f8,_0x22795b,_0x461236,_0x31ae9f){const _0x1196c7=_0x1f01;super(_0x2c15f8,_0x22795b,_0x461236,_0x31ae9f),this[_0x1196c7(0x1a2)](_0x1196c7(0x1be),''),this[_0x1196c7(0x191)](_0x1196c7(0x1be))['to'](this,_0x1196c7(0x1ba),_0x396700=>_0x396700&&_0x396700[0x0]?_0x396700[0x0][_0x1196c7(0x1be)]:''),this[_0x1196c7(0x191)](_0x1196c7(0x172))['to'](this,_0x1196c7(0x1ba),this,_0x1196c7(0x1c4),(_0x12ce92,_0x571f3a)=>{const _0x23d718=_0x1196c7;let _0x589034='';for(const _0x3cc5a2 of _0x12ce92)_0x589034+=_0x23d718(0x164)+ds(_0x3cc5a2[_0x23d718(0x169)],_0x3cc5a2[_0x23d718(0x18e)])+_0x23d718(0x18f);return _0x571f3a?_0x589034:_0x4c7c1f(_0x589034,{'limit':0x8c});}),this[_0x1196c7(0x19b)]=null,this[_0x1196c7(0x176)]=this[_0x1196c7(0x1b9)](_0xa9b032(_0x2c15f8,_0x1196c7(0x16c)),_0x3628d8[_0x1196c7(0x183)],_0x1196c7(0x18c),_0x1196c7(0x17b),'sw'),this[_0x1196c7(0x176)][_0x1196c7(0x191)](_0x1196c7(0x190))['to'](this,_0x1196c7(0x1bf)),this[_0x1196c7(0x194)]=this[_0x1196c7(0x1b9)](_0xa9b032(_0x2c15f8,_0x1196c7(0x1ab)),_0x3628d8[_0x1196c7(0x1a0)],_0x1196c7(0x19d),_0x1196c7(0x1cd),'sw'),this[_0x1196c7(0x194)][_0x1196c7(0x191)](_0x1196c7(0x190))['to'](this,_0x1196c7(0x16a)),this[_0x1196c7(0x1c1)]=new _0x23f35a(_0x2c15f8,this[_0x1196c7(0x1aa)][_0x1196c7(0x175)],this[_0x1196c7(0x17c)]()),this[_0x1196c7(0x1c1)][_0x1196c7(0x161)]({'attributes':{'class':[_0x1196c7(0x185),_0x1196c7(0x166)]}}),this[_0x1196c7(0x1ac)](this[_0x1196c7(0x173)]());}[_0x4d156f(0x173)](){const _0x85d9b4=_0x4d156f,_0x16b85f=this[_0x85d9b4(0x19a)],_0x217104=[{'tag':_0x85d9b4(0x196),'attributes':{'class':[_0x85d9b4(0x1b2),_0x85d9b4(0x1a9)]},'children':[{'tag':_0x85d9b4(0x1c9),'children':[{'text':this[_0x85d9b4(0x1c1)][_0x85d9b4(0x171)]}],'attributes':{'class':[_0x85d9b4(0x162),_0x85d9b4(0x16e)]}},{'tag':_0x85d9b4(0x1a3),'attributes':{'datetime':_0x16b85f['to'](_0x85d9b4(0x18d)),'class':[_0x85d9b4(0x18a),_0x85d9b4(0x17e)]},'children':[{'text':_0x16b85f['to'](_0x85d9b4(0x18d),_0x4709fb=>this[_0x85d9b4(0x197)][_0x85d9b4(0x1b6)](_0x4709fb))}]}]},{'tag':_0x85d9b4(0x196),'attributes':{'class':[_0x85d9b4(0x163),_0x85d9b4(0x1ce)]},'children':[this[_0x85d9b4(0x176)],this[_0x85d9b4(0x194)]]},{'tag':_0x85d9b4(0x196),'attributes':{'class':[_0x85d9b4(0x1b7)]}}];this[_0x85d9b4(0x1aa)][_0x85d9b4(0x1c7)]&&_0x217104[_0x85d9b4(0x1c8)]({'tag':_0x85d9b4(0x196),'attributes':{'class':[_0x85d9b4(0x18b)]},'children':[{'text':this[_0x85d9b4(0x1a1)]()}]});const _0x198501={'tag':_0x85d9b4(0x196),'attributes':{'class':[_0x85d9b4(0x19c),_0x16b85f['if'](_0x85d9b4(0x1c4),_0x85d9b4(0x182)),_0x16b85f['to'](_0x85d9b4(0x1be),_0x53f0c0=>_0x85d9b4(0x189)+_0x53f0c0),this[_0x85d9b4(0x197)][_0x85d9b4(0x1a5)]&&_0x85d9b4(0x1c3)],'data-suggestion-id':this[_0x85d9b4(0x1aa)]['id'],'data-thread-id':this[_0x85d9b4(0x1aa)][_0x85d9b4(0x199)]['id'],'data-author-id':this[_0x85d9b4(0x1aa)][_0x85d9b4(0x175)]['id'],'tabindex':-0x1},'children':[{'tag':_0x85d9b4(0x196),'attributes':{'class':[_0x85d9b4(0x1cb),_0x85d9b4(0x17f)]},'children':[this[_0x85d9b4(0x1c1)],{'tag':_0x85d9b4(0x196),'attributes':{'class':[_0x85d9b4(0x179),_0x85d9b4(0x184)]},'children':_0x217104}]}]};return this[_0x85d9b4(0x16f)]&&this[_0x85d9b4(0x186)]&&(_0x198501[_0x85d9b4(0x17d)][_0x85d9b4(0x1c8)](this[_0x85d9b4(0x16f)],this[_0x85d9b4(0x186)]),this[_0x85d9b4(0x16f)][_0x85d9b4(0x177)](_0x85d9b4(0x165))['to'](this),this[_0x85d9b4(0x16f)][_0x85d9b4(0x177)](_0x85d9b4(0x1ae))['to'](this),this[_0x85d9b4(0x186)][_0x85d9b4(0x177)](_0x85d9b4(0x165))['to'](this),this[_0x85d9b4(0x186)][_0x85d9b4(0x177)](_0x85d9b4(0x1ae))['to'](this)),_0x198501;}[_0x4d156f(0x180)](){const _0x33699c=_0x4d156f;super[_0x33699c(0x180)](),this[_0x33699c(0x19b)]=this[_0x33699c(0x1af)][_0x33699c(0x17a)](_0x33699c(0x1cc)),this[_0x33699c(0x19b)][_0x33699c(0x1b1)]=this[_0x33699c(0x172)],this['on'](_0x33699c(0x1c2),(_0x180111,_0x2bf010,_0x404b0f)=>{const _0x33dcb3=_0x33699c;this[_0x33dcb3(0x19b)][_0x33dcb3(0x1b1)]=_0x404b0f;});}[_0x4d156f(0x1b9)](_0x9d9619,_0x6d6cc1,_0x192e65,_0x34c55f,_0x2ec51f){const _0x2b39fd=_0x4d156f,_0x5ef870=new _0x31f275(this[_0x2b39fd(0x1bb)]);return _0x5ef870[_0x2b39fd(0x1a2)]({'label':_0x9d9619,'icon':_0x6d6cc1,'tooltip':!0x0,'tooltipPosition':_0x2ec51f}),_0x5ef870[_0x2b39fd(0x161)]({'attributes':{'class':_0x192e65}}),_0x5ef870['on'](_0x2b39fd(0x1b5),()=>{const _0x585987=_0x2b39fd;this[_0x585987(0x1ad)](_0x34c55f,this[_0x585987(0x1aa)]['id']);}),_0x5ef870;}[_0x4d156f(0x1a1)](){const _0x5c38fa=_0x4d156f;return _0x5c38fa(0x160)===this[_0x5c38fa(0x1aa)][_0x5c38fa(0x16b)][_0x5c38fa(0x188)][_0x5c38fa(0x19e)]?_0xa9b032(this[_0x5c38fa(0x1bb)],_0x5c38fa(0x181)):_0xa9b032(this[_0x5c38fa(0x1bb)],_0x5c38fa(0x1b8));}[_0x4d156f(0x17c)](){const _0x16360f=_0x4d156f;return this[_0x16360f(0x1aa)][_0x16360f(0x1c7)]?_0x16360f(0x160)===this[_0x16360f(0x1aa)][_0x16360f(0x16b)][_0x16360f(0x188)][_0x16360f(0x19e)]?_0xa9b032(this[_0x16360f(0x1bb)],_0x16360f(0x1b0),this[_0x16360f(0x1aa)][_0x16360f(0x19f)][_0x16360f(0x171)]):_0xa9b032(this[_0x16360f(0x1bb)],_0x16360f(0x1ca),this[_0x16360f(0x1aa)][_0x16360f(0x19f)][_0x16360f(0x171)]):null;}}function ds(_0x2e87f8,_0x46e3a4){const _0x40e146=_0x4d156f;let _0xbcc3d0='';return _0xbcc3d0+=_0x2e87f8[_0x40e146(0x1c5)]('*')[_0x40e146(0x1b4)]((_0x33bb60,_0x1d87d7)=>_0x1d87d7%0x2!=0x0?_0x40e146(0x195)+us(_0x33bb60)+_0x40e146(0x174):us(_0x33bb60))[_0x40e146(0x1a6)](''),_0x46e3a4&&(_0xbcc3d0+=_0x40e146(0x1c0)+_0x46e3a4[_0x40e146(0x170)]+_0x40e146(0x1b3)+_0x46e3a4[_0x40e146(0x16d)]+_0x40e146(0x187)),_0xbcc3d0;}function us(_0x2d94d3){const _0x30870a=_0x4d156f,_0x357b68=document[_0x30870a(0x1bc)](_0x30870a(0x1c9));return _0x357b68[_0x30870a(0x168)]=_0x2d94d3,_0x357b68[_0x30870a(0x1b1)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0xb04819,_0x48ff60,_0x162e68){const t=_0xb04819['t'];switch(_0x48ff60){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',_0x162e68);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x162e68);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x162e68);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x162e68);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x162e68);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',_0x162e68);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x162e68);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',_0x162e68);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x162e68);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x162e68);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x162e68);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x162e68);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x162e68);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x162e68);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x162e68);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x162e68);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x162e68);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x162e68);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x162e68);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x162e68);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x162e68);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x162e68);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x162e68);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'},_0x162e68);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x162e68);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x162e68);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x162e68);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x162e68);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x162e68);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'},_0x162e68);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x162e68);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x162e68);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x162e68);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x162e68);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'},_0x162e68);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x162e68);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'},_0x162e68);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'},_0x162e68);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x162e68);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'},_0x162e68);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x162e68);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'},_0x162e68);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x162e68);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x162e68);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'},_0x162e68);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'},_0x162e68);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 _0x48ff60;}}
|
|
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;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x52cf(_0x5d2369,_0x291391){const _0x4f7cec=_0x4f7c();return _0x52cf=function(_0x52cf47,_0x3011f3){_0x52cf47=_0x52cf47-0xe7;let _0x46da9b=_0x4f7cec[_0x52cf47];return _0x46da9b;},_0x52cf(_0x5d2369,_0x291391);}(function(_0x205a61,_0x46e36f){const _0x5b9a43=_0x52cf,_0x19e4ff=_0x205a61();while(!![]){try{const _0x18b738=parseInt(_0x5b9a43(0x106))/0x1*(-parseInt(_0x5b9a43(0xfb))/0x2)+-parseInt(_0x5b9a43(0xef))/0x3*(parseInt(_0x5b9a43(0xf7))/0x4)+-parseInt(_0x5b9a43(0xe9))/0x5*(parseInt(_0x5b9a43(0x107))/0x6)+-parseInt(_0x5b9a43(0xeb))/0x7*(parseInt(_0x5b9a43(0xf2))/0x8)+parseInt(_0x5b9a43(0x102))/0x9+parseInt(_0x5b9a43(0xf9))/0xa+parseInt(_0x5b9a43(0xec))/0xb;if(_0x18b738===_0x46e36f)break;else _0x19e4ff['push'](_0x19e4ff['shift']());}catch(_0x5b5794){_0x19e4ff['push'](_0x19e4ff['shift']());}}}(_0x4f7c,0xe61fc));export function normalizeDescription(_0x28238a){const _0x9a1e1d=_0x52cf;return Array[_0x9a1e1d(0xea)](_0x28238a)||(_0x28238a=[_0x28238a]),_0x28238a[_0x9a1e1d(0xed)](_0x5d8363=>{const _0x5486aa=_0x9a1e1d,_0x126718=_0x5d8363[_0x5486aa(0xee)][_0x5486aa(0x109)](/\*/g,''),_0x4a07ae=_0x5d8363[_0x5486aa(0x110)]?_0x5486aa(0x112)+_0x5d8363[_0x5486aa(0x110)][_0x5486aa(0x10a)]+']':'';return'['+_0x5d8363[_0x5486aa(0x10b)]+']\x20'+_0x126718+_0x4a07ae;})[_0x9a1e1d(0xf8)](';\x20');}export function sortSuggestions(_0x5dcff0){const _0x462765=_0x52cf;return _0x5dcff0[_0x462765(0xfe)]((_0x36db2c,_0x281f3e)=>_0x462765(0xfa)==_0x36db2c[_0x462765(0x10b)]&&_0x462765(0xfa)!=_0x281f3e[_0x462765(0x10b)]?-0x1:_0x462765(0xfa)!=_0x36db2c[_0x462765(0x10b)]&&_0x462765(0xfa)==_0x281f3e[_0x462765(0x10b)]?0x1:0x0);}export function getSelectedSuggestions(_0x3c621b,_0x34bb7e){const _0x5e080b=_0x52cf,_0x2543e3=Array[_0x5e080b(0x101)](_0x3c621b[_0x5e080b(0x105)]()),_0x3127df=new Set();for(const _0x569b0e of _0x34bb7e)if(_0x569b0e[_0x5e080b(0x100)]){for(const _0x508cc7 of _0x2543e3)for(const _0x37efe6 of _0x569b0e[_0x5e080b(0x105)]())(_0x508cc7[_0x5e080b(0xf3)](_0x37efe6)||_0x3c621b[_0x5e080b(0xf4)]&&!_0x569b0e[_0x5e080b(0x10c)]&&_0x569b0e[_0x5e080b(0xff)]&&_0x37efe6[_0x5e080b(0x103)][_0x5e080b(0xf1)](_0x508cc7[_0x5e080b(0xf0)]))&&_0x3127df[_0x5e080b(0x108)](_0x569b0e);}return _0x3127df;}export function getRangesOfBlockGroups(_0x33352f,_0x253656){const _0x220c38=_0x52cf;let _0x38f031,_0x4175a4=0x0;const _0x2f0b44=[],_0x5e444d=_0x253656[_0x220c38(0xe8)];for(;_0x4175a4<_0x33352f[_0x220c38(0x10f)];){const _0x399ac1=_0x33352f[_0x4175a4],_0x1a8870=_0x33352f[_0x4175a4+0x1];_0x38f031||(_0x38f031=_0x253656[_0x220c38(0xf6)](_0x399ac1)),co(_0x253656,_0x399ac1,_0x1a8870)||(_0x2f0b44[_0x220c38(0x10e)](_0x253656[_0x220c38(0x10d)](_0x38f031,_0x5e444d[_0x220c38(0xfc)](_0x399ac1)?_0x253656[_0x220c38(0xfd)](_0x399ac1):_0x253656[_0x220c38(0xf5)](_0x399ac1,_0x220c38(0x103)))),_0x38f031=null),_0x4175a4++;}return _0x2f0b44;}function co(_0x313f79,_0x32de22,_0x72c5b0){const _0x1a8164=_0x52cf;if(!_0x72c5b0)return!0x1;const _0x5b2929=_0x313f79[_0x1a8164(0xfd)](_0x32de22),_0x142621=_0x313f79[_0x1a8164(0xf6)](_0x72c5b0);return _0x5b2929[_0x1a8164(0xf1)](_0x142621);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x94e53,_0x5e2ab0,_0x17677b){const _0x38b117=_0x52cf;for(;_0x17677b[_0x38b117(0x10f)];){const _0x4402a5=_0x17677b[_0x38b117(0xe7)](0x0,0x64);_0x94e53[_0x38b117(0x104)](()=>{const _0x4e22d1=_0x38b117;for(const _0x3f9c4c of _0x4402a5)_0x3f9c4c[_0x4e22d1(0x100)]&&_0x5e2ab0[_0x4e22d1(0x111)](_0x3f9c4c['id']);});}}function _0x4f7c(){const _0x2e08dc=['createPositionBefore','885052oZqiTd','join','8771510vNjYpb','deletion','147582WoKRcm','isObject','createPositionAfter','sort','next','isInContent','from','9193248hkniJG','end','change','getRanges','11NXDXnS','6qVADVs','add','replace','value','type','isMultiRange','createRange','push','length','color','execute','\x20[color\x20','splice','schema','6282650OXrNSI','isArray','972419CKHPYL','24120096cnAiLS','map','content','9vbCzOo','start','isTouching','24WvhMQi','isIntersecting','isCollapsed','createPositionAt'];_0x4f7c=function(){return _0x2e08dc;};return _0x4f7c();}
|