@ckeditor/ckeditor5-track-changes 41.3.0-alpha.2 → 41.3.0-alpha.3
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/dist/translations/ar.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh.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 _0x229245=_0x28f4;function _0x3b29(){const _0x2ff439=['listenTo','execute','233742QaxweI','PENDING_ACTION_SUGGESTION','_setPendingAction','getRanges','36891FmhAoG','locale','1464RBAQwj','model','_removePendingAction','canEditAt','commands','PendingActions','add','view','get','change:isDirty','_acceptCommand','destroy','isEnabled','2201070cjYGhE','isDirty','_pendingAction','acceptSuggestion','bind','9667471obBBNE','4138orIeWp','27896WYOLTb','_discardCommand','stopListening','356uYuSsx','remove','3895175bmIQjE','84leckoa','_editor','canAccept','discardSuggestion','unbind','plugins','111tiTCHj','commentThreadController','12zIEPrb','canDiscard'];_0x3b29=function(){return _0x2ff439;};return _0x3b29();}function _0x28f4(_0x3cc488,_0x5ba0a6){const _0x3b2927=_0x3b29();return _0x28f4=function(_0x28f429,_0x25c139){_0x28f429=_0x28f429-0x68;let _0x17cadb=_0x3b2927[_0x28f429];return _0x17cadb;},_0x28f4(_0x3cc488,_0x5ba0a6);}(function(_0x24513a,_0x494936){const _0x317205=_0x28f4,_0x1d4dce=_0x24513a();while(!![]){try{const _0x11f71b=parseInt(_0x317205(0x8c))/0x1*(parseInt(_0x317205(0x88))/0x2)+parseInt(_0x317205(0x69))/0x3*(parseInt(_0x317205(0x89))/0x4)+parseInt(_0x317205(0x8e))/0x5+parseInt(_0x317205(0x6f))/0x6*(parseInt(_0x317205(0x8f))/0x7)+parseInt(_0x317205(0x75))/0x8*(-parseInt(_0x317205(0x73))/0x9)+-parseInt(_0x317205(0x82))/0xa+-parseInt(_0x317205(0x87))/0xb*(parseInt(_0x317205(0x6b))/0xc);if(_0x11f71b===_0x494936)break;else _0x1d4dce['push'](_0x1d4dce['shift']());}catch(_0x1ae124){_0x1d4dce['push'](_0x1d4dce['shift']());}}}(_0x3b29,0x5fb64));import{ObservableMixin as _0x2f29e1}from'ckeditor5/src/utils.js';import{getTranslation as _0x4fe912}from'../utils/common-translations.js';export default class Xt extends _0x2f29e1(){constructor(_0x5c0661,_0x3eac15,_0x137873,_0x10f82b){const _0x2eb936=_0x28f4;super(),this[_0x2eb936(0x76)]=_0x3eac15,this[_0x2eb936(0x7c)]=_0x137873,this[_0x2eb936(0x6a)]=_0x10f82b,this[_0x2eb936(0x90)]=_0x5c0661,this[_0x2eb936(0x7f)]=_0x5c0661[_0x2eb936(0x79)][_0x2eb936(0x7d)](_0x2eb936(0x85)),this[_0x2eb936(0x8a)]=_0x5c0661[_0x2eb936(0x79)][_0x2eb936(0x7d)](_0x2eb936(0x92)),this[_0x2eb936(0x7c)][_0x2eb936(0x86)](_0x2eb936(0x81))['to'](this[_0x2eb936(0x7f)],this[_0x2eb936(0x8a)],(_0x2fa2ae,_0x296f05)=>_0x2fa2ae||_0x296f05),this[_0x2eb936(0x7c)][_0x2eb936(0x86)](_0x2eb936(0x91))['to'](this[_0x2eb936(0x7f)],_0x2eb936(0x81),_0x49b9d0=>_0x49b9d0&&this[_0x2eb936(0x90)][_0x2eb936(0x76)][_0x2eb936(0x78)](_0x3eac15[_0x2eb936(0x72)]())),this[_0x2eb936(0x7c)][_0x2eb936(0x86)](_0x2eb936(0x6c))['to'](this[_0x2eb936(0x8a)],_0x2eb936(0x81),_0x1a8723=>_0x1a8723&&this[_0x2eb936(0x90)][_0x2eb936(0x76)][_0x2eb936(0x78)](_0x3eac15[_0x2eb936(0x72)]())),this[_0x2eb936(0x84)]=null,_0x137873[_0x2eb936(0x83)]&&this[_0x2eb936(0x71)](),this[_0x2eb936(0x6d)](_0x137873,_0x2eb936(0x85),()=>this[_0x2eb936(0x85)]()),this[_0x2eb936(0x6d)](_0x137873,_0x2eb936(0x92),()=>this[_0x2eb936(0x92)]()),this[_0x2eb936(0x6d)](_0x137873,_0x2eb936(0x7e),()=>{const _0x37466a=_0x2eb936;_0x137873[_0x37466a(0x83)]?this[_0x37466a(0x71)]():this[_0x37466a(0x77)]();});}[_0x229245(0x85)](){const _0x5c2cb7=_0x229245;this[_0x5c2cb7(0x7f)][_0x5c2cb7(0x6e)](this[_0x5c2cb7(0x76)]['id']);}[_0x229245(0x92)](){const _0x127725=_0x229245;this[_0x127725(0x8a)][_0x127725(0x6e)](this[_0x127725(0x76)]['id']);}[_0x229245(0x80)](){const _0x111ece=_0x229245;this[_0x111ece(0x7c)][_0x111ece(0x93)](_0x111ece(0x81)),this[_0x111ece(0x7c)][_0x111ece(0x93)](_0x111ece(0x91)),this[_0x111ece(0x7c)][_0x111ece(0x93)](_0x111ece(0x6c)),this[_0x111ece(0x8b)](),this[_0x111ece(0x6a)][_0x111ece(0x80)](),this[_0x111ece(0x84)]&&this[_0x111ece(0x77)]();}[_0x229245(0x71)](){const _0x5b233e=_0x229245,_0x36f5ae=_0x4fe912(this[_0x5b233e(0x90)][_0x5b233e(0x74)],_0x5b233e(0x70));this[_0x5b233e(0x84)]=this[_0x5b233e(0x90)][_0x5b233e(0x68)][_0x5b233e(0x7d)](_0x5b233e(0x7a))[_0x5b233e(0x7b)](_0x36f5ae);}[_0x229245(0x77)](){const _0x3f0ea2=_0x229245;null!==this[_0x3f0ea2(0x84)]&&this[_0x3f0ea2(0x90)][_0x3f0ea2(0x68)][_0x3f0ea2(0x7d)](_0x3f0ea2(0x7a))[_0x3f0ea2(0x8d)](this[_0x3f0ea2(0x84)]),this[_0x3f0ea2(0x84)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x57c8(_0x2758f4,_0x74a373){const _0x9d68bf=_0x9d68();return _0x57c8=function(_0x57c8ed,_0x14dbc4){_0x57c8ed=_0x57c8ed-0x1d1;let _0x103c92=_0x9d68bf[_0x57c8ed];return _0x103c92;},_0x57c8(_0x2758f4,_0x74a373);}const _0x113b68=_0x57c8;(function(_0x2447bb,_0x59a29a){const _0x125982=_0x57c8,_0x1229c9=_0x2447bb();while(!![]){try{const _0x1074f6=-parseInt(_0x125982(0x1f8))/0x1+parseInt(_0x125982(0x1e6))/0x2*(parseInt(_0x125982(0x1e8))/0x3)+-parseInt(_0x125982(0x1e2))/0x4+parseInt(_0x125982(0x1f2))/0x5+-parseInt(_0x125982(0x1eb))/0x6+parseInt(_0x125982(0x1fb))/0x7*(parseInt(_0x125982(0x1d6))/0x8)+-parseInt(_0x125982(0x201))/0x9*(-parseInt(_0x125982(0x1d4))/0xa);if(_0x1074f6===_0x59a29a)break;else _0x1229c9['push'](_0x1229c9['shift']());}catch(_0x3a7733){_0x1229c9['push'](_0x1229c9['shift']());}}}(_0x9d68,0xa59a4));import{View as _0x4fe701}from'ckeditor5/src/ui.js';function _0x9d68(){const _0x3a0fc6=['commentThread','3274AIvVIg','fire','300SGLLJY','value','editor','7318884dDbYyA','authoredAt','assign','_localUser','disabledSubmit','_createCommentThreadInputView','disableComments','676975KLWEzt','cancel','_config','locale','addComment','set','1330895PehGiK','isActive','isDirty','5316101tJWgvY','isEnabled','delegate','focus','_model','isReadOnly','1186470KSqQsi','canAccept','element','showInput','removeComment','hasDirtyComment','250bDQBOe','editorConfig','8BwqUFD','bind','CommentView','length','setData','submit','updateComment','commentThreadInputView','commentsListView','destroy','commentInputView','descriptionParts','4501084qoKRWz','_createCommentViews','canDiscard'];_0x9d68=function(){return _0x3a0fc6;};return _0x9d68();}export default class es extends _0x4fe701{constructor(_0x5e4b0a,_0x25dbfb,_0x25d34b,_0x3aacb2){const _0x2172f6=_0x57c8;super(_0x5e4b0a),this[_0x2172f6(0x1de)]=null,this[_0x2172f6(0x1dd)]=null,this[_0x2172f6(0x1f7)](_0x2172f6(0x1f9),!0x1),this[_0x2172f6(0x1f7)](_0x2172f6(0x1ec),_0x25dbfb[_0x2172f6(0x1ec)]),this[_0x2172f6(0x1d7)](_0x2172f6(0x1ec))['to'](_0x25dbfb),this[_0x2172f6(0x1f7)](_0x2172f6(0x1e1),[]),this[_0x2172f6(0x1f7)](_0x2172f6(0x1fa),!0x1),this[_0x2172f6(0x1f7)](_0x2172f6(0x1fc),!0x1),this[_0x2172f6(0x1f7)](_0x2172f6(0x202),!0x1),this[_0x2172f6(0x1f7)](_0x2172f6(0x1e4),!0x1),this[_0x2172f6(0x1ff)]=_0x25dbfb,this[_0x2172f6(0x1ee)]=_0x25d34b,this[_0x2172f6(0x1f4)]=_0x3aacb2,_0x3aacb2[_0x2172f6(0x1f1)]?this[_0x2172f6(0x1f7)](_0x2172f6(0x1d9),0x1):this[_0x2172f6(0x1e3)]();}[_0x113b68(0x1fe)](){const _0x1a4713=_0x113b68;this[_0x1a4713(0x203)][_0x1a4713(0x1fe)]();}[_0x113b68(0x1df)](){const _0x18305a=_0x113b68;this[_0x18305a(0x1de)]&&this[_0x18305a(0x1de)][_0x18305a(0x1df)](),this[_0x18305a(0x1dd)]&&this[_0x18305a(0x1dd)][_0x18305a(0x1df)](),super[_0x18305a(0x1df)]();}[_0x113b68(0x1e3)](){const _0x4731e0=_0x113b68,{CommentsListView:_0x338c1c}=this[_0x4731e0(0x1f4)];this[_0x4731e0(0x1de)]=new _0x338c1c(this[_0x4731e0(0x1f5)],this[_0x4731e0(0x1ff)][_0x4731e0(0x1e5)],Object[_0x4731e0(0x1ed)]({'CommentView':this[_0x4731e0(0x1f4)][_0x4731e0(0x1d8)]},this[_0x4731e0(0x1f4)])),this[_0x4731e0(0x1de)][_0x4731e0(0x1fd)](_0x4731e0(0x1d2))['to'](this),this[_0x4731e0(0x1de)][_0x4731e0(0x1fd)](_0x4731e0(0x1dc))['to'](this),this[_0x4731e0(0x1de)][_0x4731e0(0x1d7)](_0x4731e0(0x1f9))['to'](this),this[_0x4731e0(0x1f7)](_0x4731e0(0x1d9),this[_0x4731e0(0x1de)][_0x4731e0(0x1d9)]+0x1),this[_0x4731e0(0x1d7)](_0x4731e0(0x1d9))['to'](this[_0x4731e0(0x1de)],_0x4731e0(0x1d9),_0x57cbbb=>_0x57cbbb+0x1),this[_0x4731e0(0x1dd)]=this[_0x4731e0(0x1f0)](),this['on'](_0x4731e0(0x1d2),()=>this[_0x4731e0(0x1fe)]()),this[_0x4731e0(0x1d7)](_0x4731e0(0x1fa))['to'](this[_0x4731e0(0x1de)],_0x4731e0(0x1d3),this[_0x4731e0(0x1dd)][_0x4731e0(0x1e0)],_0x4731e0(0x1e9),(_0x4b6627,_0x3ede98)=>_0x4b6627||!!_0x3ede98);}[_0x113b68(0x1f0)](){const _0x4be66b=_0x113b68,{CommentThreadInputView:_0xe296cb}=this[_0x4be66b(0x1f4)],_0x487b7c=new _0xe296cb(this[_0x4be66b(0x1f5)],this[_0x4be66b(0x1ee)],this[_0x4be66b(0x1f4)][_0x4be66b(0x1d5)]),_0x310a99=_0x487b7c[_0x4be66b(0x1e0)];return _0x487b7c[_0x4be66b(0x1d7)](_0x4be66b(0x1d1))['to'](this,_0x4be66b(0x1f9),this[_0x4be66b(0x1ff)][_0x4be66b(0x1e5)],_0x4be66b(0x200),_0x310a99,_0x4be66b(0x1e9),(_0x1b7da1,_0x290a6b,_0x1daf5b)=>!!_0x1daf5b||_0x1b7da1&&!_0x290a6b),_0x310a99['on'](_0x4be66b(0x1db),(_0x363114,_0x51a6e2)=>{const _0x42e012=_0x4be66b;this[_0x42e012(0x1e7)](_0x42e012(0x1f6),_0x51a6e2),_0x310a99[_0x42e012(0x1ea)][_0x42e012(0x1da)]('');}),_0x310a99['on'](_0x4be66b(0x1f3),()=>this[_0x4be66b(0x1fe)]()),_0x310a99[_0x4be66b(0x1d7)](_0x4be66b(0x1ef))['to'](this[_0x4be66b(0x1ff)][_0x4be66b(0x1e5)],_0x4be66b(0x200)),_0x487b7c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e06e1=_0x38ba;(function(_0x1fbe14,_0x55350c){const _0x531778=_0x38ba,_0x2e42c0=_0x1fbe14();while(!![]){try{const _0x58d86e=parseInt(_0x531778(0x15b))/0x1+-parseInt(_0x531778(0x1ad))/0x2+-parseInt(_0x531778(0x160))/0x3*(-parseInt(_0x531778(0x14e))/0x4)+parseInt(_0x531778(0x149))/0x5+-parseInt(_0x531778(0x199))/0x6+parseInt(_0x531778(0x15a))/0x7*(parseInt(_0x531778(0x15f))/0x8)+parseInt(_0x531778(0x18c))/0x9*(-parseInt(_0x531778(0x165))/0xa);if(_0x58d86e===_0x55350c)break;else _0x2e42c0['push'](_0x2e42c0['shift']());}catch(_0x5095d1){_0x2e42c0['push'](_0x2e42c0['shift']());}}}(_0x178b,0x7692d));import{getTranslation as _0x58c54e}from'../../utils/common-translations.js';function _0x38ba(_0x20ad7a,_0x2e9319){const _0x178b22=_0x178b();return _0x38ba=function(_0x38bafe,_0x1b344f){_0x38bafe=_0x38bafe-0x13f;let _0x32a86f=_0x178b22[_0x38bafe];return _0x32a86f;},_0x38ba(_0x20ad7a,_0x2e9319);}import{default as _0xf93aeb}from'./basesuggestionthreadview.js';import{ButtonView as _0xde5b1c}from'ckeditor5/src/ui.js';import{icons as _0x2fd633}from'ckeditor5/src/core.js';import{trimHtml as _0xdc730e,UserView as _0x471fb9}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Yt extends _0xf93aeb{constructor(_0xcb2691,_0x20b6ae,_0x5305ee,_0x2a547f){const _0x1d3c14=_0x38ba;super(_0xcb2691,_0x20b6ae,_0x5305ee,_0x2a547f),this[_0x1d3c14(0x181)](_0x1d3c14(0x183),''),this[_0x1d3c14(0x176)](_0x1d3c14(0x183))['to'](this,_0x1d3c14(0x14a),_0x77e577=>_0x77e577&&_0x77e577[0x0]?_0x77e577[0x0][_0x1d3c14(0x183)]:''),this[_0x1d3c14(0x176)](_0x1d3c14(0x161))['to'](this,_0x1d3c14(0x14a),this,_0x1d3c14(0x14f),(_0xc78c82,_0x5ae164)=>{const _0x505ab8=_0x1d3c14;let _0x4b9e1a='';for(const _0x15cc4c of _0xc78c82)_0x4b9e1a+=_0x505ab8(0x16f)+ds(_0x15cc4c[_0x505ab8(0x16b)],_0x15cc4c[_0x505ab8(0x187)])+_0x505ab8(0x197);return _0x5ae164?_0x4b9e1a:_0xdc730e(_0x4b9e1a,{'limit':0x8c});}),this[_0x1d3c14(0x191)]=null,this[_0x1d3c14(0x140)]=this[_0x1d3c14(0x189)](_0x58c54e(_0xcb2691,_0x1d3c14(0x1a6)),_0x2fd633[_0x1d3c14(0x180)],_0x1d3c14(0x144),_0x1d3c14(0x146),'sw'),this[_0x1d3c14(0x140)][_0x1d3c14(0x176)](_0x1d3c14(0x158))['to'](this,_0x1d3c14(0x145)),this[_0x1d3c14(0x15e)]=this[_0x1d3c14(0x189)](_0x58c54e(_0xcb2691,_0x1d3c14(0x14d)),_0x2fd633[_0x1d3c14(0x16a)],_0x1d3c14(0x164),_0x1d3c14(0x157),'sw'),this[_0x1d3c14(0x15e)][_0x1d3c14(0x176)](_0x1d3c14(0x158))['to'](this,_0x1d3c14(0x169)),this[_0x1d3c14(0x1ac)]=new _0x471fb9(_0xcb2691,this[_0x1d3c14(0x15d)][_0x1d3c14(0x147)],this[_0x1d3c14(0x1a3)]()),this[_0x1d3c14(0x1ac)][_0x1d3c14(0x13f)]({'attributes':{'class':[_0x1d3c14(0x14c),_0x1d3c14(0x19b)]}}),this[_0x1d3c14(0x18e)](this[_0x1d3c14(0x14b)]());}[_0x4e06e1(0x14b)](){const _0x2df69f=_0x4e06e1,_0x5305af=this[_0x2df69f(0x175)],_0x325568=[{'tag':_0x2df69f(0x156),'attributes':{'class':[_0x2df69f(0x19d),_0x2df69f(0x177)]},'children':[{'tag':_0x2df69f(0x16c),'children':[{'text':this[_0x2df69f(0x1ac)][_0x2df69f(0x1a5)]}],'attributes':{'class':[_0x2df69f(0x18d),_0x2df69f(0x1a8)]}},{'tag':_0x2df69f(0x141),'attributes':{'datetime':_0x5305af['to'](_0x2df69f(0x194)),'class':[_0x2df69f(0x171),_0x2df69f(0x17f)]},'children':[{'text':_0x5305af['to'](_0x2df69f(0x194),_0x313c77=>this[_0x2df69f(0x154)][_0x2df69f(0x166)](_0x313c77))}]}]},{'tag':_0x2df69f(0x156),'attributes':{'class':[_0x2df69f(0x148),_0x2df69f(0x185)]},'children':[this[_0x2df69f(0x140)],this[_0x2df69f(0x15e)]]},{'tag':_0x2df69f(0x156),'attributes':{'class':[_0x2df69f(0x17d)]}}];this[_0x2df69f(0x15d)][_0x2df69f(0x172)]&&_0x325568[_0x2df69f(0x167)]({'tag':_0x2df69f(0x156),'attributes':{'class':[_0x2df69f(0x195)]},'children':[{'text':this[_0x2df69f(0x17c)]()}]});const _0x3ca2ee={'tag':_0x2df69f(0x156),'attributes':{'class':[_0x2df69f(0x17b),_0x5305af['if'](_0x2df69f(0x14f),_0x2df69f(0x198)),_0x5305af['to'](_0x2df69f(0x183),_0x157c43=>_0x2df69f(0x1ab)+_0x157c43),this[_0x2df69f(0x154)][_0x2df69f(0x19f)]&&_0x2df69f(0x152)],'data-suggestion-id':this[_0x2df69f(0x15d)]['id'],'data-thread-id':this[_0x2df69f(0x15d)][_0x2df69f(0x142)]['id'],'data-author-id':this[_0x2df69f(0x15d)][_0x2df69f(0x147)]['id'],'tabindex':-0x1},'children':[{'tag':_0x2df69f(0x156),'attributes':{'class':[_0x2df69f(0x150),_0x2df69f(0x151)]},'children':[this[_0x2df69f(0x1ac)],{'tag':_0x2df69f(0x156),'attributes':{'class':[_0x2df69f(0x170),_0x2df69f(0x173)]},'children':_0x325568}]}]};return this[_0x2df69f(0x17e)]&&this[_0x2df69f(0x190)]&&(_0x3ca2ee[_0x2df69f(0x196)][_0x2df69f(0x167)](this[_0x2df69f(0x17e)],this[_0x2df69f(0x190)]),this[_0x2df69f(0x17e)][_0x2df69f(0x1a1)](_0x2df69f(0x18b))['to'](this),this[_0x2df69f(0x17e)][_0x2df69f(0x1a1)](_0x2df69f(0x155))['to'](this),this[_0x2df69f(0x190)][_0x2df69f(0x1a1)](_0x2df69f(0x18b))['to'](this),this[_0x2df69f(0x190)][_0x2df69f(0x1a1)](_0x2df69f(0x155))['to'](this)),_0x3ca2ee;}[_0x4e06e1(0x179)](){const _0x2b75db=_0x4e06e1;super[_0x2b75db(0x179)](),this[_0x2b75db(0x191)]=this[_0x2b75db(0x1a9)][_0x2b75db(0x19a)](_0x2b75db(0x18a)),this[_0x2b75db(0x191)][_0x2b75db(0x184)]=this[_0x2b75db(0x161)],this['on'](_0x2b75db(0x19e),(_0x4c79bb,_0xca5530,_0x57c4aa)=>{const _0x45ffd7=_0x2b75db;this[_0x45ffd7(0x191)][_0x45ffd7(0x184)]=_0x57c4aa;});}[_0x4e06e1(0x189)](_0x5d3f6a,_0x5627c4,_0x313e29,_0x3274f5,_0x53f815){const _0x38e15e=_0x4e06e1,_0x4d0a4c=new _0xde5b1c(this[_0x38e15e(0x15c)]);return _0x4d0a4c[_0x38e15e(0x181)]({'label':_0x5d3f6a,'icon':_0x5627c4,'tooltip':!0x0,'tooltipPosition':_0x53f815}),_0x4d0a4c[_0x38e15e(0x13f)]({'attributes':{'class':_0x313e29}}),_0x4d0a4c['on'](_0x38e15e(0x1a4),()=>{const _0x2b90f2=_0x38e15e;this[_0x2b90f2(0x1aa)](_0x3274f5,this[_0x2b90f2(0x15d)]['id']);}),_0x4d0a4c;}[_0x4e06e1(0x17c)](){const _0xae10c7=_0x4e06e1;return _0xae10c7(0x1a0)===this[_0xae10c7(0x15d)][_0xae10c7(0x162)][_0xae10c7(0x1a7)][_0xae10c7(0x143)]?_0x58c54e(this[_0xae10c7(0x15c)],_0xae10c7(0x163)):_0x58c54e(this[_0xae10c7(0x15c)],_0xae10c7(0x1a2));}[_0x4e06e1(0x1a3)](){const _0x2e5478=_0x4e06e1;return this[_0x2e5478(0x15d)][_0x2e5478(0x172)]?_0x2e5478(0x1a0)===this[_0x2e5478(0x15d)][_0x2e5478(0x162)][_0x2e5478(0x1a7)][_0x2e5478(0x143)]?_0x58c54e(this[_0x2e5478(0x15c)],_0x2e5478(0x16e),this[_0x2e5478(0x15d)][_0x2e5478(0x174)][_0x2e5478(0x1a5)]):_0x58c54e(this[_0x2e5478(0x15c)],_0x2e5478(0x182),this[_0x2e5478(0x15d)][_0x2e5478(0x174)][_0x2e5478(0x1a5)]):null;}}function _0x178b(){const _0x45c2cb=['children','</p>','ck-suggestion-wrapper--active','1586712QUhhfh','querySelector','ck-annotation__user','join','ck-suggestion__info','change:description','disableComments','importWord','delegate','EXTERNAL_SUGGESTION','getUserViewNotificationText','execute','name','Accept\x20suggestion','@external','ck-annotation__info-name','element','fire','ck-suggestion-','userView','686758TfWknj','extendTemplate','acceptButton','time','commentThread','source','ck-suggestion--accept','canAccept','acceptSuggestion','author','ck-suggestion__actions','4565005nIbJBR','descriptionParts','getTemplate','ck-suggestion__user','Discard\x20suggestion','355156tUsTFe','isActive','ck-suggestion','ck-annotation','ck-suggestion--disabled-comments','map','_config','editorDestroyed','div','discardSuggestion','isEnabled','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','18186RIuscq','936169mRqswC','locale','_model','discardButton','888DthAAm','9LUwqBj','description','attributes','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-suggestion--discard','1872010DahziK','formatDateTime','push','\x22\x20title=\x22','canDiscard','cancel','content','span','<span\x20class=\x22ck-suggestion-type\x22>','EXTERNAL_IMPORT_WORD_AVATAR','<p>','ck-suggestion__main','ck-comment__info-time','isExternal','ck-annotation__main','creator','bindTemplate','bind','ck-annotation__info','value','render','\x22></span>','ck-suggestion-wrapper','getExternalSuggestionNote','ck-annotation__content-wrapper','commentsListView','ck-annotation__info-time','check','set','EXTERNAL_AVATAR','type','innerHTML','ck-annotation__actions','split','color','title','_createButton','.ck-annotation__content-wrapper','editorReady','63rRCURT','ck-suggestion__info-name','setTemplate','innerText','commentThreadInputView','_descriptionElement','</span>','createElement','authoredAt','ck-comment__external'];_0x178b=function(){return _0x45c2cb;};return _0x178b();}function ds(_0x535fce,_0x407d20){const _0x2c17d2=_0x4e06e1;let _0x2c9908='';return _0x2c9908+=_0x535fce[_0x2c17d2(0x186)]('*')[_0x2c17d2(0x153)]((_0x1882eb,_0xeb0fa9)=>_0xeb0fa9%0x2!=0x0?_0x2c17d2(0x16d)+us(_0x1882eb)+_0x2c17d2(0x192):us(_0x1882eb))[_0x2c17d2(0x19c)](''),_0x407d20&&(_0x2c9908+=_0x2c17d2(0x159)+_0x407d20[_0x2c17d2(0x178)]+_0x2c17d2(0x168)+_0x407d20[_0x2c17d2(0x188)]+_0x2c17d2(0x17a)),_0x2c9908;}function us(_0x5a5c3c){const _0x3de303=_0x4e06e1,_0x117ea1=document[_0x3de303(0x193)](_0x3de303(0x16c));return _0x117ea1[_0x3de303(0x18f)]=_0x5a5c3c,_0x117ea1[_0x3de303(0x184)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x59f199,_0x5dc134,_0x4c74e3){const t=_0x59f199['t'];switch(_0x5dc134){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',_0x4c74e3);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4c74e3);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4c74e3);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4c74e3);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4c74e3);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',_0x4c74e3);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4c74e3);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',_0x4c74e3);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4c74e3);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4c74e3);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4c74e3);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4c74e3);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4c74e3);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4c74e3);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4c74e3);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4c74e3);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4c74e3);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4c74e3);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4c74e3);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4c74e3);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4c74e3);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4c74e3);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4c74e3);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'},_0x4c74e3);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4c74e3);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4c74e3);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4c74e3);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4c74e3);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4c74e3);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'},_0x4c74e3);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4c74e3);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4c74e3);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4c74e3);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4c74e3);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'},_0x4c74e3);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4c74e3);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'},_0x4c74e3);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'},_0x4c74e3);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4c74e3);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'},_0x4c74e3);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4c74e3);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'},_0x4c74e3);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4c74e3);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4c74e3);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'},_0x4c74e3);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'},_0x4c74e3);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 _0x5dc134;}}
|
|
23
|
+
export function getTranslation(_0x48253c,_0x14158b,_0x54c25f){const t=_0x48253c['t'];switch(_0x14158b){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',_0x54c25f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x54c25f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x54c25f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x54c25f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x54c25f);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',_0x54c25f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x54c25f);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',_0x54c25f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x54c25f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x54c25f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x54c25f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x54c25f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x54c25f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x54c25f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x54c25f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x54c25f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x54c25f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x54c25f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x54c25f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x54c25f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x54c25f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x54c25f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x54c25f);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'},_0x54c25f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x54c25f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x54c25f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x54c25f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x54c25f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x54c25f);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'},_0x54c25f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x54c25f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x54c25f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x54c25f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x54c25f);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'},_0x54c25f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x54c25f);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'},_0x54c25f);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'},_0x54c25f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x54c25f);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'},_0x54c25f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x54c25f);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'},_0x54c25f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x54c25f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x54c25f);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'},_0x54c25f);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'},_0x54c25f);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 _0x14158b;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1f4a44,_0x104c63){const _0x523565=_0x34f1,_0xd1977d=_0x1f4a44();while(!![]){try{const _0x4db9c5=parseInt(_0x523565(0xbe))/0x1+-parseInt(_0x523565(0xcc))/0x2*(parseInt(_0x523565(0xb7))/0x3)+-parseInt(_0x523565(0xb5))/0x4+-parseInt(_0x523565(0xc9))/0x5+-parseInt(_0x523565(0xa8))/0x6+parseInt(_0x523565(0xba))/0x7+parseInt(_0x523565(0xca))/0x8;if(_0x4db9c5===_0x104c63)break;else _0xd1977d['push'](_0xd1977d['shift']());}catch(_0x22ef57){_0xd1977d['push'](_0xd1977d['shift']());}}}(_0x466a,0x795fc));export function normalizeDescription(_0x365d71){const _0x5e9b69=_0x34f1;return Array[_0x5e9b69(0xa9)](_0x365d71)||(_0x365d71=[_0x365d71]),_0x365d71[_0x5e9b69(0xc3)](_0xeb6353=>{const _0x5a0300=_0x5e9b69,_0x719268=_0xeb6353[_0x5a0300(0xc6)][_0x5a0300(0xd0)](/\*/g,''),_0x1d21a2=_0xeb6353[_0x5a0300(0xab)]?_0x5a0300(0xad)+_0xeb6353[_0x5a0300(0xab)][_0x5a0300(0xcd)]+']':'';return'['+_0xeb6353[_0x5a0300(0xc0)]+']\x20'+_0x719268+_0x1d21a2;})[_0x5e9b69(0xc1)](';\x20');}export function sortSuggestions(_0x41b3c7){const _0x27e958=_0x34f1;return _0x41b3c7[_0x27e958(0xc2)]((_0x3d3ed3,_0xcd05ee)=>_0x27e958(0xb0)==_0x3d3ed3[_0x27e958(0xc0)]&&_0x27e958(0xb0)!=_0xcd05ee[_0x27e958(0xc0)]?-0x1:_0x27e958(0xb0)!=_0x3d3ed3[_0x27e958(0xc0)]&&_0x27e958(0xb0)==_0xcd05ee[_0x27e958(0xc0)]?0x1:0x0);}export function getSelectedSuggestions(_0x226398,_0x2e4c23){const _0x156a28=_0x34f1,_0x102728=Array[_0x156a28(0xb8)](_0x226398[_0x156a28(0xce)]()),_0x1b452a=new Set();for(const _0x458e85 of _0x2e4c23)if(_0x458e85[_0x156a28(0xc4)]){for(const _0x418afb of _0x102728)for(const _0x56b86f of _0x458e85[_0x156a28(0xce)]())(_0x418afb[_0x156a28(0xc7)](_0x56b86f)||_0x226398[_0x156a28(0xb3)]&&!_0x458e85[_0x156a28(0xc8)]&&_0x458e85[_0x156a28(0xbd)]&&_0x56b86f[_0x156a28(0xae)][_0x156a28(0xcb)](_0x418afb[_0x156a28(0xbf)]))&&_0x1b452a[_0x156a28(0xc5)](_0x458e85);}return _0x1b452a;}function _0x466a(){const _0x25ad79=['splice','2637204lPiQko','createPositionBefore','3PKDyWg','from','schema','3839633KbNSSl','push','createPositionAt','next','251122hmOqKG','start','type','join','sort','map','isInContent','add','content','isIntersecting','isMultiRange','3093610ywHPvQ','14654448KeAiFU','isTouching','137978WVSEzo','value','getRanges','length','replace','4723722qMXJUo','isArray','change','color','createPositionAfter','\x20[color\x20','end','execute','deletion','createRange','isObject','isCollapsed'];_0x466a=function(){return _0x25ad79;};return _0x466a();}export function getRangesOfBlockGroups(_0x4d3b63,_0x4235e0){const _0x4a99db=_0x34f1;let _0x423eeb,_0x344a4e=0x0;const _0x146c1f=[],_0x2ce92a=_0x4235e0[_0x4a99db(0xb9)];for(;_0x344a4e<_0x4d3b63[_0x4a99db(0xcf)];){const _0x5e7802=_0x4d3b63[_0x344a4e],_0x3a556e=_0x4d3b63[_0x344a4e+0x1];_0x423eeb||(_0x423eeb=_0x4235e0[_0x4a99db(0xb6)](_0x5e7802)),co(_0x4235e0,_0x5e7802,_0x3a556e)||(_0x146c1f[_0x4a99db(0xbb)](_0x4235e0[_0x4a99db(0xb1)](_0x423eeb,_0x2ce92a[_0x4a99db(0xb2)](_0x5e7802)?_0x4235e0[_0x4a99db(0xac)](_0x5e7802):_0x4235e0[_0x4a99db(0xbc)](_0x5e7802,_0x4a99db(0xae)))),_0x423eeb=null),_0x344a4e++;}return _0x146c1f;}function co(_0x27708e,_0x6f613,_0x8f8f70){const _0x5bddaf=_0x34f1;if(!_0x8f8f70)return!0x1;const _0x37a072=_0x27708e[_0x5bddaf(0xac)](_0x6f613),_0x525833=_0x27708e[_0x5bddaf(0xb6)](_0x8f8f70);return _0x37a072[_0x5bddaf(0xcb)](_0x525833);}function _0x34f1(_0xfc95ab,_0x46ab90){const _0x466afb=_0x466a();return _0x34f1=function(_0x34f1d0,_0x308ed9){_0x34f1d0=_0x34f1d0-0xa8;let _0x3b86e4=_0x466afb[_0x34f1d0];return _0x3b86e4;},_0x34f1(_0xfc95ab,_0x46ab90);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3676ca,_0x21efe0,_0x573f06){const _0x56e227=_0x34f1;for(;_0x573f06[_0x56e227(0xcf)];){const _0x3eaa69=_0x573f06[_0x56e227(0xb4)](0x0,0x64);_0x3676ca[_0x56e227(0xaa)](()=>{const _0x44c07f=_0x56e227;for(const _0x4db973 of _0x3eaa69)_0x4db973[_0x44c07f(0xc4)]&&_0x21efe0[_0x44c07f(0xaf)](_0x4db973['id']);});}}
|