@ckeditor/ckeditor5-track-changes 43.0.0-alpha.3 → 43.0.0-alpha.5
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/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- 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/mergefields.js +1 -1
- package/src/integrations/multilevellist.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 +2 -2
- 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 +2 -2
- 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
- package/theme/icons/track-changes-accept.svg +1 -1
- package/theme/icons/track-changes-discard.svg +1 -1
- package/theme/icons/track-changes.svg +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xa27501=_0x5dcd;(function(_0xb4542b,_0x4187f0){const _0x125a90=_0x5dcd,_0x2c6b26=_0xb4542b();while(!![]){try{const _0x9ae14a=-parseInt(_0x125a90(0x188))/0x1*(parseInt(_0x125a90(0x190))/0x2)+parseInt(_0x125a90(0x1e7))/0x3*(parseInt(_0x125a90(0x1c3))/0x4)+parseInt(_0x125a90(0x1b3))/0x5*(parseInt(_0x125a90(0x191))/0x6)+parseInt(_0x125a90(0x209))/0x7*(-parseInt(_0x125a90(0x176))/0x8)+parseInt(_0x125a90(0x193))/0x9+parseInt(_0x125a90(0x1e3))/0xa+-parseInt(_0x125a90(0x1fb))/0xb*(parseInt(_0x125a90(0x17f))/0xc);if(_0x9ae14a===_0x4187f0)break;else _0x2c6b26['push'](_0x2c6b26['shift']());}catch(_0x7dba6b){_0x2c6b26['push'](_0x2c6b26['shift']());}}}(_0x41e0,0x6f114));import{Plugin as _0x14c6f5}from'ckeditor5/src/core.js';import{Collection as _0x414e5b}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x118a76,createDropdown as _0x2f6fa1,ListSeparatorView as _0x31577f,MenuBarMenuView as _0x220b3c,MenuBarMenuListView as _0x452002,MenuBarMenuListItemView as _0x3af5fd,MenuBarMenuListItemButtonView as _0x468011,SplitButtonView as _0x4f6ef9,ViewModel as _0x4c7d9d}from'ckeditor5/src/ui.js';import{Users as _0x491948,getDateTimeFormatter as _0x3813a5,getAllMarkersDomElementsSorted as _0x26e034,ENTER_THREAD_KEYSTROKE as _0x5936c1}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x41e0(){const _0x51a5fa=['type','descriptionFactory','7ZpuMgV','_addUIComponentsToFactory','escape','_annotationViews','descriptionParts','from','4513352bPWmCx','Discard\x20all\x20selected\x20suggestions','menuBar:trackChanges','suggestionChanged','_handleControllerBuffer','keys','commentThread','isEnabled','length','12RSZyCt','bind','createAnnotationView','some','set','getAllAdjacentSuggestions','Track\x20changes','_unbindEditors','innerView','5399lmSTNN','size','reduce','comments.maxThreadTotalWeight','activeAnnotations','switchbutton','refreshSelectedViews','listenTo','202wxvdhS','12ihreis','getFirstRange','6029505OxsUTY','CommentView','discardAllSuggestions','isMultiRange','_viewToController','_updateController','stopListening','_destroyController','unbind','delete','get','trackChanges','suggestion-','menuitemcheckbox','editing','separator','acceptAllSuggestions','Accept\x20all\x20suggestions','_splitMarkerName','commandName','commands','getMarkerNames','toMany','commentsListView','panelView','items','getJoined','suggestionUnloaded','isDirty','_createToolbarButton','EditorAnnotations','activeMarkers','866315vQdkBb','comments.maxCommentsWhenCollapsed','_initializeController','menu','getMarkers','hasSuggestion','_refreshActiveMarkers','trackChanges.SuggestionThreadView','TrackChangesEditing','menuitem','isOn','componentFactory','value','values','createCommentThreadController','mainView','12febveN','getByInnerView','low','actionView','remove','has','add','Annotations','createAnnotation','_initKeyboardNavigationToThread','comments','requires','discardButton','lowest','button','init','getRanges','buttonView','addSourceCollector','model','source','CommentsRepository','push','getDescriptions','comments.maxCommentCharsWhenCollapsed','suggestionLoaded','change:previous','delegate','acceptButton','filter','Accept\x20all\x20selected\x20suggestions','previous','7560590jcAqWT','pluginName','_createMenuBarMenu','view','663033PlThAz','discardSelectedSuggestions','children','_bindAnnotationToEditors','comments.editorConfig','registerAnnotation','plugins','define','CommentsUI','_handleSuggestionControllerDelayed','clear','Discard\x20all\x20suggestions','keystrokes','config','destroy','trackChanges.disableComments','_disableComments','acceptSelectedSuggestions','TrackChangesUI','change:activeAnnotations','9582793MXpQgy','SuggestionThreadView','focus','addComment','locale','execute','arrowView','head','getSuggestion','isInContent','_suggestionToController','editor'];_0x41e0=function(){return _0x51a5fa;};return _0x41e0();}import _0x327cf3 from'./trackchangesediting.js';import _0x1e778d from'./ui/suggestioncontroller.js';import _0x299a47 from'./ui/view/suggestionthreadview.js';function _0x5dcd(_0x573ecf,_0x1e6974){const _0x41e0f6=_0x41e0();return _0x5dcd=function(_0x5dcd39,_0x4062da){_0x5dcd39=_0x5dcd39-0x174;let _0x32d245=_0x41e0f6[_0x5dcd39];return _0x32d245;},_0x5dcd(_0x573ecf,_0x1e6974);}import{getTranslation as _0x27b531}from'./utils/common-translations.js';import _0x4c17e4 from'./trackchanges.js';import _0x2a78f0 from'../theme/icons/track-changes.svg';export default class d extends _0x14c6f5{static get[_0xa27501(0x1ce)](){const _0x206e70=_0xa27501;return[_0x327cf3,_0x491948,_0x206e70(0x1d8),_0x206e70(0x1ca),_0x206e70(0x1b1)];}static get[_0xa27501(0x1e4)](){const _0x7ef39=_0xa27501;return _0x7ef39(0x1f9);}constructor(_0x178cb1){const _0xc7dd2d=_0xa27501;super(_0x178cb1),this[_0xc7dd2d(0x205)]=new Map(),this[_0xc7dd2d(0x197)]=new Map(),this[_0xc7dd2d(0x20c)]=new Map(),this[_0xc7dd2d(0x17a)]=new Map();const _0xa05c34=this[_0xc7dd2d(0x206)][_0xc7dd2d(0x1f4)];_0xa05c34[_0xc7dd2d(0x1ee)](_0xc7dd2d(0x1ba),_0x299a47),_0xa05c34[_0xc7dd2d(0x1ee)](_0xc7dd2d(0x1f6),!0x1),this[_0xc7dd2d(0x1f7)]=_0xa05c34[_0xc7dd2d(0x19d)](_0xc7dd2d(0x1f6)),this[_0xc7dd2d(0x1cc)]();}[_0xa27501(0x1f0)](_0x3b995f,_0x4a3021){const _0xca15dc=_0xa27501;0x0===this[_0xca15dc(0x17a)][_0xca15dc(0x189)]&&setTimeout(()=>{const _0x5225f6=_0xca15dc;for(const [_0x3c225c,_0xf8c19]of this[_0x5225f6(0x17a)]){const _0x5ce19e=this[_0x5225f6(0x205)][_0x5225f6(0x1c8)](_0x3c225c);_0x5ce19e||_0xf8c19?_0x5ce19e&&_0xf8c19&&this[_0x5225f6(0x19a)](_0x3c225c):this[_0x5225f6(0x1b5)](_0x3c225c);}this[_0x5225f6(0x17a)][_0x5225f6(0x1f1)](),this[_0x5225f6(0x206)][_0x5225f6(0x1ed)][_0x5225f6(0x19d)](_0x5225f6(0x1b1))[_0x5225f6(0x18e)](),this[_0x5225f6(0x1b9)]();},0xa),this[_0xca15dc(0x17a)][_0xca15dc(0x183)](_0x3b995f,_0x4a3021);}[_0xa27501(0x1d2)](){const _0x2a7cb8=_0xa27501,_0x16ec91=this[_0x2a7cb8(0x206)],_0x2b938e=_0x16ec91[_0x2a7cb8(0x1ed)][_0x2a7cb8(0x19d)](_0x2a7cb8(0x1bb)),_0x44d343=_0x16ec91[_0x2a7cb8(0x1ed)][_0x2a7cb8(0x19d)](_0x2a7cb8(0x1ca)),_0x4a045f=_0x16ec91[_0x2a7cb8(0x1ed)][_0x2a7cb8(0x19d)](_0x2a7cb8(0x1b1)),_0x28123c=_0x16ec91[_0x2a7cb8(0x1ed)][_0x2a7cb8(0x19d)](_0x2a7cb8(0x1d8));this[_0x2a7cb8(0x20a)](),_0x4a045f[_0x2a7cb8(0x1d5)](()=>{const _0x3c513f=_0x2a7cb8,_0x5900ec=[];for(const [_0x42adfc,_0x4336ad]of Array[_0x3c513f(0x175)](this[_0x3c513f(0x205)])){const _0x5c39fb=_0x42adfc[_0x3c513f(0x184)](),_0x1ce0dd=[];for(const _0x5a43e3 of _0x5c39fb){if(!_0x5a43e3[_0x3c513f(0x204)])continue;if(_0x5a43e3[_0x3c513f(0x196)]){_0x1ce0dd[_0x3c513f(0x1d9)](..._0x5a43e3[_0x3c513f(0x1d3)]());continue;}const _0xb71f00=_0x5a43e3[_0x3c513f(0x192)]();if(_0x1ce0dd[_0x3c513f(0x17e)]>0x0){const _0x4845ff=_0x1ce0dd[0x0][_0x3c513f(0x1ad)](_0xb71f00);if(_0x4845ff){_0x1ce0dd[0x0]=_0x4845ff;continue;}}_0x1ce0dd[_0x3c513f(0x1d9)](_0xb71f00);}_0x5900ec[_0x3c513f(0x1d9)]([_0x4336ad[_0x3c513f(0x1e6)],_0x1ce0dd]);}return _0x5900ec;}),this[_0x2a7cb8(0x18f)](_0x2b938e,_0x2a7cb8(0x1dc),(_0x2b56d4,_0x4e54fa)=>{const _0x4ad0bc=_0x2a7cb8;this[_0x4ad0bc(0x18f)](_0x4e54fa,_0x4ad0bc(0x1dd),(_0x1d7c54,_0xd78ebd,_0x36bcb1,_0x102c49)=>{const _0x2aadc7=_0x4ad0bc;_0x4e54fa[_0x2aadc7(0x204)]&&(null==_0x36bcb1?(this[_0x2aadc7(0x198)](_0x102c49[_0x2aadc7(0x202)]),this[_0x2aadc7(0x1f0)](_0x4e54fa,!0x1)):(this[_0x2aadc7(0x198)](_0x36bcb1[_0x2aadc7(0x202)]),null==_0x102c49&&this[_0x2aadc7(0x1f0)](_0x4e54fa,!0x0)));}),null!==_0x4e54fa[_0x4ad0bc(0x1e2)]?this[_0x4ad0bc(0x198)](_0x4e54fa[_0x4ad0bc(0x202)]):this[_0x4ad0bc(0x1f0)](_0x4e54fa,!0x1);}),this[_0x2a7cb8(0x18f)](_0x2b938e,_0x2a7cb8(0x1ae),(_0x1a9abb,_0x41144b,_0x482cfb)=>{const _0x4b3ea8=_0x2a7cb8;this[_0x4b3ea8(0x199)](_0x41144b,_0x4b3ea8(0x1dd)),this[_0x4b3ea8(0x17a)][_0x4b3ea8(0x19c)](_0x41144b),this[_0x4b3ea8(0x205)][_0x4b3ea8(0x1c8)](_0x41144b)&&this[_0x4b3ea8(0x19a)](_0x41144b),_0x482cfb&&this[_0x4b3ea8(0x198)](_0x482cfb[_0x4b3ea8(0x202)]);}),this[_0x2a7cb8(0x18f)](_0x2b938e,_0x2a7cb8(0x179),(_0x381e9a,_0x12adf3)=>{const _0x507ec8=_0x2a7cb8;this[_0x507ec8(0x198)](_0x12adf3);}),this[_0x2a7cb8(0x18f)](_0x44d343,_0x2a7cb8(0x1fa),()=>{const _0x5033a7=_0x2a7cb8;this[_0x5033a7(0x1b9)]();}),this[_0x2a7cb8(0x18f)](_0x28123c,_0x2a7cb8(0x1fe),(_0x543a33,{threadId:_0x23ce02,isFromAdapter:_0x1aa802})=>{const _0x2e5bf5=_0x2a7cb8;if(_0x1aa802||!_0x2b938e[_0x2e5bf5(0x1b8)](_0x23ce02))return;const _0x4f12bd=_0x2b938e[_0x2e5bf5(0x203)](_0x23ce02);this[_0x2e5bf5(0x205)][_0x2e5bf5(0x19d)](_0x4f12bd)[_0x2e5bf5(0x1e6)][_0x2e5bf5(0x1aa)][_0x2e5bf5(0x1fd)](-0x1);},{'priority':_0x2a7cb8(0x1d0)});}[_0xa27501(0x1b9)](){const _0x2a9cad=_0xa27501,_0x3d6693=this[_0x2a9cad(0x206)][_0x2a9cad(0x1ed)][_0x2a9cad(0x19d)](_0x2a9cad(0x1ca)),_0x5dc6d6=this[_0x2a9cad(0x206)][_0x2a9cad(0x1ed)][_0x2a9cad(0x19d)](_0x2a9cad(0x1bb)),_0x4e8d1f=Array[_0x2a9cad(0x175)](_0x3d6693[_0x2a9cad(0x18c)],_0x567e68=>_0x567e68[_0x2a9cad(0x187)])[_0x2a9cad(0x1e0)](_0x27dbc8=>this[_0x2a9cad(0x197)][_0x2a9cad(0x1c8)](_0x27dbc8)),_0x55d385=[];for(const _0x15da35 of _0x4e8d1f){const _0x7caf1e=this[_0x2a9cad(0x197)][_0x2a9cad(0x19d)](_0x15da35)[_0x2a9cad(0x1d6)][_0x2a9cad(0x184)]();_0x55d385[_0x2a9cad(0x1d9)](..._0x7caf1e[_0x2a9cad(0x18a)]((_0x31aaa6,_0x5f48dd)=>[..._0x31aaa6,..._0x5f48dd[_0x2a9cad(0x1a8)]()],[]));}_0x5dc6d6[_0x2a9cad(0x1b2)]=_0x55d385;}[_0xa27501(0x20a)](){const _0x18fd98=_0xa27501,_0x5ae31d=this[_0x18fd98(0x206)],_0x34060b=_0x5ae31d[_0x18fd98(0x1ff)],_0x47dc8c=_0x27b531(_0x34060b,_0x18fd98(0x185)),_0x5c64db=new _0x414e5b([{'type':_0x18fd98(0x18d),'model':new _0x4c7d9d({'withText':!0x0,'isToggleable':!0x0,'label':_0x47dc8c,'commandName':_0x18fd98(0x19e),'role':_0x18fd98(0x1a0)})},{'type':_0x18fd98(0x1a2)},{'type':_0x18fd98(0x1d1),'model':new _0x4c7d9d({'withText':!0x0,'label':_0x27b531(_0x34060b,_0x18fd98(0x1a4)),'commandName':_0x18fd98(0x1a3),'role':_0x18fd98(0x1bc)})},{'type':_0x18fd98(0x1d1),'model':new _0x4c7d9d({'withText':!0x0,'label':_0x27b531(_0x34060b,_0x18fd98(0x1e1)),'commandName':_0x18fd98(0x1f8),'role':_0x18fd98(0x1bc)})},{'type':_0x18fd98(0x1d1),'model':new _0x4c7d9d({'withText':!0x0,'label':_0x27b531(_0x34060b,_0x18fd98(0x1f2)),'commandName':_0x18fd98(0x195),'role':_0x18fd98(0x1bc)})},{'type':_0x18fd98(0x1d1),'model':new _0x4c7d9d({'withText':!0x0,'label':_0x27b531(_0x34060b,_0x18fd98(0x177)),'commandName':_0x18fd98(0x1e8),'role':_0x18fd98(0x1bc)})}]);for(const _0x45dfa1 of _0x5c64db)if(he(_0x45dfa1)){const _0x1407dd=_0x5ae31d[_0x18fd98(0x1a7)][_0x18fd98(0x19d)](_0x45dfa1[_0x18fd98(0x1d6)][_0x18fd98(0x1a6)]);_0x45dfa1[_0x18fd98(0x1d6)][_0x18fd98(0x180)](_0x18fd98(0x1bd),_0x18fd98(0x17d))['to'](_0x1407dd,_0x18fd98(0x1bf),_0x18fd98(0x17d));}_0x5ae31d['ui'][_0x18fd98(0x1be)][_0x18fd98(0x1c9)](_0x18fd98(0x19e),_0x41aeb5=>this[_0x18fd98(0x1b0)](_0x41aeb5,_0x5c64db,_0x47dc8c)),_0x5ae31d['ui'][_0x18fd98(0x1be)][_0x18fd98(0x1c9)](_0x18fd98(0x178),_0x196cde=>this[_0x18fd98(0x1e5)](_0x196cde,_0x5c64db,_0x47dc8c));}[_0xa27501(0x1b0)](_0x227fda,_0x1a2ba7,_0x42ebd3){const _0x5476ec=_0xa27501,_0x36fb66=_0x2f6fa1(_0x227fda,_0x4f6ef9),_0x5b1732=this[_0x5476ec(0x206)][_0x5476ec(0x1a7)][_0x5476ec(0x19d)](_0x5476ec(0x19e));_0x36fb66[_0x5476ec(0x1d4)][_0x5476ec(0x183)]({'tooltip':_0x42ebd3,'label':_0x42ebd3,'icon':_0x2a78f0}),_0x36fb66[_0x5476ec(0x1d4)][_0x5476ec(0x180)](_0x5476ec(0x1bd))['to'](_0x5b1732,_0x5476ec(0x1bf)),_0x36fb66[_0x5476ec(0x1d4)]['on'](_0x5476ec(0x200),()=>{const _0x2317bc=_0x5476ec;_0x5b1732[_0x2317bc(0x200)](),this[_0x2317bc(0x206)][_0x2317bc(0x1a1)][_0x2317bc(0x1e6)][_0x2317bc(0x1fd)]();}),_0x118a76(_0x36fb66,_0x1a2ba7,{'role':_0x5476ec(0x1b6)});const _0x3d710c=[];for(const _0x488be7 of _0x1a2ba7)he(_0x488be7)&&_0x3d710c[_0x5476ec(0x1d9)](this[_0x5476ec(0x206)][_0x5476ec(0x1a7)][_0x5476ec(0x19d)](_0x488be7[_0x5476ec(0x1d6)][_0x5476ec(0x1a6)]));const _0x4a1ee0=_0x36fb66[_0x5476ec(0x1d4)];return _0x4a1ee0[_0x5476ec(0x1c6)][_0x5476ec(0x19b)](_0x5476ec(0x17d)),_0x4a1ee0[_0x5476ec(0x201)][_0x5476ec(0x19b)](_0x5476ec(0x17d)),_0x4a1ee0[_0x5476ec(0x1c6)][_0x5476ec(0x180)](_0x5476ec(0x17d))['to'](_0x5b1732,_0x5476ec(0x17d)),_0x4a1ee0[_0x5476ec(0x201)][_0x5476ec(0x180)](_0x5476ec(0x17d))[_0x5476ec(0x1a9)](_0x3d710c,_0x5476ec(0x17d),(..._0x256432)=>_0x256432[_0x5476ec(0x182)](_0x10f5e9=>_0x10f5e9)),_0x36fb66['on'](_0x5476ec(0x200),_0x1aea61=>{const _0x544e4a=_0x5476ec;this[_0x544e4a(0x206)][_0x544e4a(0x200)](_0x1aea61[_0x544e4a(0x1d7)][_0x544e4a(0x1a6)]),this[_0x544e4a(0x206)][_0x544e4a(0x1a1)][_0x544e4a(0x1e6)][_0x544e4a(0x1fd)]();}),_0x36fb66;}[_0xa27501(0x1e5)](_0x2a8443,_0x3fcdf8,_0x4c6e52){const _0x45248c=_0xa27501,_0x58ec66=new _0x220b3c(_0x2a8443),_0x14e4f4=this[_0x45248c(0x206)][_0x45248c(0x1a7)][_0x45248c(0x19d)](_0x45248c(0x19e));_0x58ec66[_0x45248c(0x1d4)][_0x45248c(0x183)]({'label':_0x4c6e52,'icon':_0x2a78f0});const _0x277702=new _0x452002(_0x2a8443);for(const _0x4cac65 of _0x3fcdf8){if(_0x45248c(0x1a2)==_0x4cac65[_0x45248c(0x207)]){_0x277702[_0x45248c(0x1ac)][_0x45248c(0x1c9)](new _0x31577f(_0x2a8443));continue;}const _0x493953=new _0x3af5fd(_0x2a8443,_0x58ec66),_0x51746c=new _0x468011(_0x2a8443),_0x5abaaf=_0x4cac65[_0x45248c(0x1d6)];_0x51746c[_0x45248c(0x180)](...Object[_0x45248c(0x17b)](_0x5abaaf))['to'](_0x5abaaf),_0x51746c[_0x45248c(0x1de)](_0x45248c(0x200))['to'](_0x58ec66),_0x51746c['on'](_0x45248c(0x200),()=>{const _0x6be4ec=_0x45248c;this[_0x6be4ec(0x206)][_0x6be4ec(0x200)](_0x5abaaf[_0x6be4ec(0x1a6)]),this[_0x6be4ec(0x206)][_0x6be4ec(0x1a1)][_0x6be4ec(0x1e6)][_0x6be4ec(0x1fd)]();}),_0x493953[_0x45248c(0x1e9)][_0x45248c(0x1c9)](_0x51746c),_0x277702[_0x45248c(0x1ac)][_0x45248c(0x1c9)](_0x493953);}return _0x58ec66[_0x45248c(0x180)](_0x45248c(0x17d))['to'](_0x14e4f4,_0x45248c(0x17d)),_0x58ec66[_0x45248c(0x1ab)][_0x45248c(0x1e9)][_0x45248c(0x1c9)](_0x277702),_0x58ec66;}[_0xa27501(0x1b5)](_0x14a5ee){const _0x4cb530=_0xa27501,_0x2952b4=this[_0x4cb530(0x206)],_0x4857a1=_0x2952b4[_0x4cb530(0x1f4)],_0x21c73a=_0x2952b4[_0x4cb530(0x1ed)][_0x4cb530(0x19d)](_0x4cb530(0x1ca)),_0x23910f=_0x2952b4[_0x4cb530(0x1ed)][_0x4cb530(0x19d)](_0x4cb530(0x1d8)),_0x351e95=_0x2952b4[_0x4cb530(0x1ed)][_0x4cb530(0x19d)](_0x4cb530(0x1b1)),_0x55893d=_0x2952b4[_0x4cb530(0x1ed)][_0x4cb530(0x19d)](_0x491948)['me'],_0x46c154=_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x19e))[_0x4cb530(0x1fc)],{CommentsListView:_0xb7065e,CommentThreadInputView:_0x15d683}=_0x2952b4[_0x4cb530(0x1ed)][_0x4cb530(0x19d)](_0x4cb530(0x1ef));let _0x3a3d18,_0x4471c1;this[_0x4cb530(0x20c)][_0x4cb530(0x1c8)](_0x14a5ee['id'])?(_0x4471c1=this[_0x4cb530(0x20c)][_0x4cb530(0x19d)](_0x14a5ee['id']),_0x3a3d18=_0x4471c1[_0x4cb530(0x1c2)]):(_0x3a3d18=new _0x46c154(_0x2952b4[_0x4cb530(0x1ff)],_0x14a5ee,_0x55893d,{'disableComments':this[_0x4cb530(0x1f7)],'editorConfig':_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x1eb)),'maxCommentsWhenCollapsed':_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x1b4)),'maxThreadTotalWeight':_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x18b)),'maxCommentCharsWhenCollapsed':_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x1db)),'formatDateTime':_0x3813a5(_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x1ff))),'CommentView':_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x1cd))[_0x4cb530(0x194)],'CommentsListView':_0xb7065e,'CommentThreadInputView':_0x15d683}),_0x3a3d18[_0x4cb530(0x1df)]['on'](_0x4cb530(0x200),()=>{const _0x1d2289=_0x4cb530;_0x2952b4[_0x1d2289(0x1a1)][_0x1d2289(0x1e6)][_0x1d2289(0x1fd)]();}),_0x3a3d18[_0x4cb530(0x1cf)]['on'](_0x4cb530(0x200),()=>{const _0x1c9725=_0x4cb530;_0x2952b4[_0x1c9725(0x1a1)][_0x1c9725(0x1e6)][_0x1c9725(0x1fd)]();}),_0x4471c1=_0x21c73a[_0x4cb530(0x181)](this[_0x4cb530(0x206)][_0x4cb530(0x1ff)],_0x3a3d18),_0x4471c1[_0x4cb530(0x180)](_0x4cb530(0x1af))['to'](_0x3a3d18,_0x4cb530(0x1af)),_0x4471c1[_0x4cb530(0x180)](_0x4cb530(0x17e))['to'](_0x3a3d18),_0x4471c1[_0x4cb530(0x180)](_0x4cb530(0x207))['to'](_0x3a3d18,_0x4cb530(0x207),_0x4c3212=>_0x4cb530(0x19f)+_0x4c3212),this[_0x4cb530(0x18f)](_0x3a3d18,_0x4cb530(0x20b),()=>{const _0x4d54ef=_0x4cb530;_0x2952b4[_0x4d54ef(0x1a1)][_0x4d54ef(0x1e6)][_0x4d54ef(0x1fd)]();},{'priority':_0x4cb530(0x1c5)}),this[_0x4cb530(0x20c)][_0x4cb530(0x183)](_0x14a5ee['id'],_0x4471c1));const _0x3686c0=_0x23910f[_0x4cb530(0x1c1)](_0x14a5ee[_0x4cb530(0x17c)],_0x3a3d18),_0x3798d6=new _0x1e778d(_0x2952b4,_0x14a5ee,_0x3a3d18,_0x3686c0),_0x22f1fe=_0x14a5ee[_0x4cb530(0x184)]()[_0x4cb530(0x1e0)](_0x5214c2=>_0x5214c2[_0x4cb530(0x204)]);_0x3a3d18[_0x4cb530(0x174)]=_0x2952b4[_0x4cb530(0x1ed)][_0x4cb530(0x19d)](_0x4cb530(0x1bb))[_0x4cb530(0x208)][_0x4cb530(0x1da)](_0x22f1fe),this[_0x4cb530(0x205)][_0x4cb530(0x183)](_0x14a5ee,_0x3798d6),this[_0x4cb530(0x197)][_0x4cb530(0x183)](_0x3a3d18,_0x3798d6);const _0x462d41=_0x21c73a[_0x4cb530(0x1cb)]({'view':_0x4471c1,'target':()=>{const _0x35262c=_0x4cb530,_0x35338e=[],_0x3d7382=_0x14a5ee[_0x35262c(0x184)]()[_0x35262c(0x1e0)](_0x47e55d=>_0x47e55d[_0x35262c(0x204)]);for(const _0x10a63d of _0x3d7382)_0x35338e[_0x35262c(0x1d9)](..._0x10a63d[_0x35262c(0x1b7)]());return _0x26e034(_0x2952b4[_0x35262c(0x1a1)],_0x35338e);},'type':()=>_0x4cb530(0x19f)+_0x3798d6[_0x4cb530(0x1e6)][_0x4cb530(0x207)]});_0x23910f[_0x4cb530(0x1ea)](_0x3a3d18,_0x462d41),_0x21c73a[_0x4cb530(0x1c9)](_0x462d41),_0x351e95[_0x4cb530(0x1ec)](_0x462d41);}[_0xa27501(0x19a)](_0x543902){const _0x5d066b=_0xa27501,_0x470680=this[_0x5d066b(0x206)][_0x5d066b(0x1ed)][_0x5d066b(0x19d)](_0x5d066b(0x1d8)),_0x6daf04=this[_0x5d066b(0x206)][_0x5d066b(0x1ed)][_0x5d066b(0x19d)](_0x5d066b(0x1ca)),_0x593ded=this[_0x5d066b(0x205)][_0x5d066b(0x19d)](_0x543902),_0xce77ba=_0x593ded[_0x5d066b(0x1e6)],_0x267e66=_0x6daf04[_0x5d066b(0x1c4)](_0xce77ba);_0x470680[_0x5d066b(0x186)](_0xce77ba),_0x267e66&&_0x6daf04[_0x5d066b(0x1c7)](_0x267e66),this[_0x5d066b(0x205)][_0x5d066b(0x19c)](_0x543902),this[_0x5d066b(0x197)][_0x5d066b(0x19c)](_0xce77ba),_0x593ded[_0x5d066b(0x1f5)]();}[_0xa27501(0x198)](_0x4d602e){const _0x223bc3=_0xa27501;if(!_0x4d602e[_0x223bc3(0x204)]||!this[_0x223bc3(0x205)][_0x223bc3(0x1c8)](_0x4d602e))return;const _0x942b9e=this[_0x223bc3(0x206)][_0x223bc3(0x1ed)][_0x223bc3(0x19d)](_0x223bc3(0x1bb)),_0x5349d0=this[_0x223bc3(0x205)][_0x223bc3(0x19d)](_0x4d602e),_0x3cae8f=_0x4d602e[_0x223bc3(0x184)]();_0x5349d0[_0x223bc3(0x1e6)][_0x223bc3(0x174)]=_0x942b9e[_0x223bc3(0x208)][_0x223bc3(0x1da)](_0x3cae8f);}[_0xa27501(0x1cc)](){const _0x386815=_0xa27501;this[_0x386815(0x206)][_0x386815(0x1f3)][_0x386815(0x183)](_0x5936c1,(_0x30879b,_0x3e784b)=>{const _0x1b120f=_0x386815,_0x2ad576=this[_0x1b120f(0x206)][_0x1b120f(0x1ed)][_0x1b120f(0x19d)](_0x4c17e4),_0x2abb88=this[_0x1b120f(0x206)][_0x1b120f(0x1ed)][_0x1b120f(0x19d)](_0x327cf3);if(!_0x2abb88[_0x1b120f(0x1b2)][_0x1b120f(0x17e)])return;const {id:_0xb02782}=_0x2abb88[_0x1b120f(0x1a5)](_0x2abb88[_0x1b120f(0x1b2)][0x0]),_0x49e471=_0x2ad576[_0x1b120f(0x203)](_0xb02782);_0x49e471&&(this[_0x1b120f(0x205)][_0x1b120f(0x19d)](_0x49e471)[_0x1b120f(0x1e6)][_0x1b120f(0x1fd)](),_0x3e784b());});}[_0xa27501(0x1f5)](){const _0x49f9f8=_0xa27501;for(const _0x2cebed of this[_0x49f9f8(0x205)][_0x49f9f8(0x17b)]())this[_0x49f9f8(0x19a)](_0x2cebed);for(const _0x167224 of this[_0x49f9f8(0x20c)][_0x49f9f8(0x1c0)]())_0x167224[_0x49f9f8(0x1c2)][_0x49f9f8(0x1f5)]();super[_0x49f9f8(0x1f5)]();}}function he(_0x5decd5){const _0xcc3fc4=_0xa27501;return _0xcc3fc4(0x1d6)in _0x5decd5;}
|
|
23
|
+
function _0x47f2(_0x3cdbe4,_0x40880e){const _0x20cd05=_0x20cd();return _0x47f2=function(_0x47f219,_0x23d3b6){_0x47f219=_0x47f219-0x110;let _0x38e4c2=_0x20cd05[_0x47f219];return _0x38e4c2;},_0x47f2(_0x3cdbe4,_0x40880e);}const _0x31eaa6=_0x47f2;(function(_0x1358b6,_0x1c9d9c){const _0x40fe81=_0x47f2,_0x550d74=_0x1358b6();while(!![]){try{const _0x4e141e=parseInt(_0x40fe81(0x17c))/0x1*(-parseInt(_0x40fe81(0x157))/0x2)+parseInt(_0x40fe81(0x161))/0x3+parseInt(_0x40fe81(0x112))/0x4+-parseInt(_0x40fe81(0x18c))/0x5*(-parseInt(_0x40fe81(0x13e))/0x6)+parseInt(_0x40fe81(0x14e))/0x7*(-parseInt(_0x40fe81(0x141))/0x8)+parseInt(_0x40fe81(0x151))/0x9+-parseInt(_0x40fe81(0x143))/0xa*(parseInt(_0x40fe81(0x13b))/0xb);if(_0x4e141e===_0x1c9d9c)break;else _0x550d74['push'](_0x550d74['shift']());}catch(_0x152318){_0x550d74['push'](_0x550d74['shift']());}}}(_0x20cd,0x783d7));import{Plugin as _0x4c0e63}from'ckeditor5/src/core.js';import{Collection as _0x54d195}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x38e1d3,createDropdown as _0x20ef6d,ListSeparatorView as _0x465587,MenuBarMenuView as _0x198d00,MenuBarMenuListView as _0x16a413,MenuBarMenuListItemView as _0x2bef30,MenuBarMenuListItemButtonView as _0x5282ec,SplitButtonView as _0x69e021,ViewModel as _0x3f86ae}from'ckeditor5/src/ui.js';import{Users as _0x5de3ed,getDateTimeFormatter as _0x37b0bd,getAllMarkersDomElementsSorted as _0x122ac8,ENTER_THREAD_KEYSTROKE as _0x376f49}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3d3986 from'./trackchangesediting.js';import _0x291af7 from'./ui/suggestioncontroller.js';import _0x503afb from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x5135b0}from'./utils/common-translations.js';import _0x256d19 from'./trackchanges.js';function _0x20cd(){const _0x163d18=['editor','set','getMarkerNames','escape','commentThread','push','suggestionUnloaded','switchbutton','values','pluginName','_suggestionToController','isMultiRange','clear','1663824VMFBjc','_destroyController','Accept\x20all\x20selected\x20suggestions','EditorAnnotations','stopListening','_handleSuggestionControllerDelayed','previous','execute','low','get','getAllAdjacentSuggestions','TrackChangesEditing','CommentsRepository','keys','some','descriptionFactory','size','from','getByInnerView','componentFactory','isOn','init','acceptButton','menu','requires','SuggestionThreadView','TrackChangesUI','_addUIComponentsToFactory','_disableComments','getMarkers','getDescriptions','isDirty','comments.maxCommentsWhenCollapsed','type','suggestionChanged','_refreshActiveMarkers','config','arrowView','focus','commentsListView','_splitMarkerName','11HlHHlv','buttonView','_createMenuBarMenu','3390708LVfeDJ','addSourceCollector','remove','10448AQhWWX','comments','15462270CcZByo','commandName','model','actionView','reduce','getRanges','activeAnnotations','isInContent','bind','_initializeController','isEnabled','2807wpPLTB','editing','source','6831666xnXJaV','activeMarkers','discardAllSuggestions','Accept\x20all\x20suggestions','items','unbind','70prfUIN','comments.maxThreadTotalWeight','getSuggestion','menuitemcheckbox','add','trackChanges.SuggestionThreadView','discardSelectedSuggestions','change:previous','lowest','trackChanges','2888334wByMRa','menuBar:trackChanges','registerAnnotation','createAnnotation','acceptAllSuggestions','button','_unbindEditors','getFirstRange','descriptionParts','filter','trackChanges.disableComments','_updateController','Annotations','_initKeyboardNavigationToThread','separator','Discard\x20all\x20selected\x20suggestions','change:activeAnnotations','_createToolbarButton','CommentsUI','listenTo','keystrokes','delete','children','length','comments.maxCommentCharsWhenCollapsed','_viewToController','suggestion-','4014BfRssh','panelView','has','plugins','Track\x20changes','getJoined','hasSuggestion','mainView','comments.editorConfig','innerView','toMany','delegate','createAnnotationView','menuitem','commands','createCommentThreadController','5BJhKXk','_bindAnnotationToEditors','refreshSelectedViews','_annotationViews','define','discardButton','Discard\x20all\x20suggestions','suggestionLoaded','view','locale','destroy','value','addComment','_handleControllerBuffer','acceptSelectedSuggestions','head','CommentView'];_0x20cd=function(){return _0x163d18;};return _0x20cd();}import _0x45cd08 from'../theme/icons/track-changes.svg';export default class d extends _0x4c0e63{static get[_0x31eaa6(0x12a)](){const _0x465b6e=_0x31eaa6;return[_0x3d3986,_0x5de3ed,_0x465b6e(0x11e),_0x465b6e(0x16d),_0x465b6e(0x115)];}static get[_0x31eaa6(0x1a6)](){const _0x4649a4=_0x31eaa6;return _0x4649a4(0x12c);}constructor(_0x236f6e){const _0x803c76=_0x31eaa6;super(_0x236f6e),this[_0x803c76(0x1a7)]=new Map(),this[_0x803c76(0x17a)]=new Map(),this[_0x803c76(0x18f)]=new Map(),this[_0x803c76(0x199)]=new Map();const _0x344e6e=this[_0x803c76(0x19d)][_0x803c76(0x136)];_0x344e6e[_0x803c76(0x190)](_0x803c76(0x15c),_0x503afb),_0x344e6e[_0x803c76(0x190)](_0x803c76(0x16b),!0x1),this[_0x803c76(0x12e)]=_0x344e6e[_0x803c76(0x11b)](_0x803c76(0x16b)),this[_0x803c76(0x16e)]();}[_0x31eaa6(0x117)](_0x3f32bc,_0x118e81){const _0x17fa09=_0x31eaa6;0x0===this[_0x17fa09(0x199)][_0x17fa09(0x122)]&&setTimeout(()=>{const _0x18b2ba=_0x17fa09;for(const [_0x4770c9,_0x48f6a6]of this[_0x18b2ba(0x199)]){const _0x56a01=this[_0x18b2ba(0x1a7)][_0x18b2ba(0x17e)](_0x4770c9);_0x56a01||_0x48f6a6?_0x56a01&&_0x48f6a6&&this[_0x18b2ba(0x113)](_0x4770c9):this[_0x18b2ba(0x14c)](_0x4770c9);}this[_0x18b2ba(0x199)][_0x18b2ba(0x111)](),this[_0x18b2ba(0x19d)][_0x18b2ba(0x17f)][_0x18b2ba(0x11b)](_0x18b2ba(0x115))[_0x18b2ba(0x18e)](),this[_0x18b2ba(0x135)]();},0xa),this[_0x17fa09(0x199)][_0x17fa09(0x19e)](_0x3f32bc,_0x118e81);}[_0x31eaa6(0x127)](){const _0x1df34c=_0x31eaa6,_0x1a7ec6=this[_0x1df34c(0x19d)],_0x1cb162=_0x1a7ec6[_0x1df34c(0x17f)][_0x1df34c(0x11b)](_0x1df34c(0x11d)),_0xcde518=_0x1a7ec6[_0x1df34c(0x17f)][_0x1df34c(0x11b)](_0x1df34c(0x16d)),_0x596c7e=_0x1a7ec6[_0x1df34c(0x17f)][_0x1df34c(0x11b)](_0x1df34c(0x115)),_0x3a859f=_0x1a7ec6[_0x1df34c(0x17f)][_0x1df34c(0x11b)](_0x1df34c(0x11e));this[_0x1df34c(0x12d)](),_0x596c7e[_0x1df34c(0x13f)](()=>{const _0x2b2b58=_0x1df34c,_0x4c23bf=[];for(const [_0x5a2fea,_0xf53f59]of Array[_0x2b2b58(0x123)](this[_0x2b2b58(0x1a7)])){const _0x2b5e21=_0x5a2fea[_0x2b2b58(0x11c)](),_0x29b298=[];for(const _0x2e5358 of _0x2b5e21){if(!_0x2e5358[_0x2b2b58(0x14a)])continue;if(_0x2e5358[_0x2b2b58(0x110)]){_0x29b298[_0x2b2b58(0x1a2)](..._0x2e5358[_0x2b2b58(0x148)]());continue;}const _0x5f410f=_0x2e5358[_0x2b2b58(0x168)]();if(_0x29b298[_0x2b2b58(0x178)]>0x0){const _0x363814=_0x29b298[0x0][_0x2b2b58(0x181)](_0x5f410f);if(_0x363814){_0x29b298[0x0]=_0x363814;continue;}}_0x29b298[_0x2b2b58(0x1a2)](_0x5f410f);}_0x4c23bf[_0x2b2b58(0x1a2)]([_0xf53f59[_0x2b2b58(0x194)],_0x29b298]);}return _0x4c23bf;}),this[_0x1df34c(0x174)](_0x1cb162,_0x1df34c(0x193),(_0x571c2,_0x2e5ded)=>{const _0x2e8df1=_0x1df34c;this[_0x2e8df1(0x174)](_0x2e5ded,_0x2e8df1(0x15e),(_0x37a743,_0x13e8dd,_0x4ded4e,_0x3cb08d)=>{const _0x4ac0af=_0x2e8df1;_0x2e5ded[_0x4ac0af(0x14a)]&&(null==_0x4ded4e?(this[_0x4ac0af(0x16c)](_0x3cb08d[_0x4ac0af(0x19b)]),this[_0x4ac0af(0x117)](_0x2e5ded,!0x1)):(this[_0x4ac0af(0x16c)](_0x4ded4e[_0x4ac0af(0x19b)]),null==_0x3cb08d&&this[_0x4ac0af(0x117)](_0x2e5ded,!0x0)));}),null!==_0x2e5ded[_0x2e8df1(0x118)]?this[_0x2e8df1(0x16c)](_0x2e5ded[_0x2e8df1(0x19b)]):this[_0x2e8df1(0x117)](_0x2e5ded,!0x1);}),this[_0x1df34c(0x174)](_0x1cb162,_0x1df34c(0x1a3),(_0x4af8fc,_0x215a1e,_0x300ad1)=>{const _0x323f55=_0x1df34c;this[_0x323f55(0x116)](_0x215a1e,_0x323f55(0x15e)),this[_0x323f55(0x199)][_0x323f55(0x176)](_0x215a1e),this[_0x323f55(0x1a7)][_0x323f55(0x17e)](_0x215a1e)&&this[_0x323f55(0x113)](_0x215a1e),_0x300ad1&&this[_0x323f55(0x16c)](_0x300ad1[_0x323f55(0x19b)]);}),this[_0x1df34c(0x174)](_0x1cb162,_0x1df34c(0x134),(_0x4623fa,_0x59644b)=>{const _0x1281b7=_0x1df34c;this[_0x1281b7(0x16c)](_0x59644b);}),this[_0x1df34c(0x174)](_0xcde518,_0x1df34c(0x171),()=>{const _0x1969bb=_0x1df34c;this[_0x1969bb(0x135)]();}),this[_0x1df34c(0x174)](_0x3a859f,_0x1df34c(0x198),(_0x306d07,{threadId:_0x3578ea,isFromAdapter:_0x4cd735})=>{const _0x52fde7=_0x1df34c;if(_0x4cd735||!_0x1cb162[_0x52fde7(0x182)](_0x3578ea))return;const _0x16982d=_0x1cb162[_0x52fde7(0x159)](_0x3578ea);this[_0x52fde7(0x1a7)][_0x52fde7(0x11b)](_0x16982d)[_0x52fde7(0x194)][_0x52fde7(0x139)][_0x52fde7(0x138)](-0x1);},{'priority':_0x1df34c(0x15f)});}[_0x31eaa6(0x135)](){const _0x4fc2aa=_0x31eaa6,_0x494f3=this[_0x4fc2aa(0x19d)][_0x4fc2aa(0x17f)][_0x4fc2aa(0x11b)](_0x4fc2aa(0x16d)),_0x397a5b=this[_0x4fc2aa(0x19d)][_0x4fc2aa(0x17f)][_0x4fc2aa(0x11b)](_0x4fc2aa(0x11d)),_0x3a4ed1=Array[_0x4fc2aa(0x123)](_0x494f3[_0x4fc2aa(0x149)],_0x5701cd=>_0x5701cd[_0x4fc2aa(0x185)])[_0x4fc2aa(0x16a)](_0x4ea8a7=>this[_0x4fc2aa(0x17a)][_0x4fc2aa(0x17e)](_0x4ea8a7)),_0x598b31=[];for(const _0x54faf7 of _0x3a4ed1){const _0x24fa6c=this[_0x4fc2aa(0x17a)][_0x4fc2aa(0x11b)](_0x54faf7)[_0x4fc2aa(0x145)][_0x4fc2aa(0x11c)]();_0x598b31[_0x4fc2aa(0x1a2)](..._0x24fa6c[_0x4fc2aa(0x147)]((_0x17f32d,_0x32342f)=>[..._0x17f32d,..._0x32342f[_0x4fc2aa(0x19f)]()],[]));}_0x397a5b[_0x4fc2aa(0x152)]=_0x598b31;}[_0x31eaa6(0x12d)](){const _0x67cc8f=_0x31eaa6,_0x2a224d=this[_0x67cc8f(0x19d)],_0x2f6030=_0x2a224d[_0x67cc8f(0x195)],_0x4ea981=_0x5135b0(_0x2f6030,_0x67cc8f(0x180)),_0x12a730=new _0x54d195([{'type':_0x67cc8f(0x1a4),'model':new _0x3f86ae({'withText':!0x0,'isToggleable':!0x0,'label':_0x4ea981,'commandName':_0x67cc8f(0x160),'role':_0x67cc8f(0x15a)})},{'type':_0x67cc8f(0x16f)},{'type':_0x67cc8f(0x166),'model':new _0x3f86ae({'withText':!0x0,'label':_0x5135b0(_0x2f6030,_0x67cc8f(0x154)),'commandName':_0x67cc8f(0x165),'role':_0x67cc8f(0x189)})},{'type':_0x67cc8f(0x166),'model':new _0x3f86ae({'withText':!0x0,'label':_0x5135b0(_0x2f6030,_0x67cc8f(0x114)),'commandName':_0x67cc8f(0x19a),'role':_0x67cc8f(0x189)})},{'type':_0x67cc8f(0x166),'model':new _0x3f86ae({'withText':!0x0,'label':_0x5135b0(_0x2f6030,_0x67cc8f(0x192)),'commandName':_0x67cc8f(0x153),'role':_0x67cc8f(0x189)})},{'type':_0x67cc8f(0x166),'model':new _0x3f86ae({'withText':!0x0,'label':_0x5135b0(_0x2f6030,_0x67cc8f(0x170)),'commandName':_0x67cc8f(0x15d),'role':_0x67cc8f(0x189)})}]);for(const _0x31d108 of _0x12a730)if(he(_0x31d108)){const _0x143d78=_0x2a224d[_0x67cc8f(0x18a)][_0x67cc8f(0x11b)](_0x31d108[_0x67cc8f(0x145)][_0x67cc8f(0x144)]);_0x31d108[_0x67cc8f(0x145)][_0x67cc8f(0x14b)](_0x67cc8f(0x126),_0x67cc8f(0x14d))['to'](_0x143d78,_0x67cc8f(0x197),_0x67cc8f(0x14d));}_0x2a224d['ui'][_0x67cc8f(0x125)][_0x67cc8f(0x15b)](_0x67cc8f(0x160),_0x1d7188=>this[_0x67cc8f(0x172)](_0x1d7188,_0x12a730,_0x4ea981)),_0x2a224d['ui'][_0x67cc8f(0x125)][_0x67cc8f(0x15b)](_0x67cc8f(0x162),_0x3cf649=>this[_0x67cc8f(0x13d)](_0x3cf649,_0x12a730,_0x4ea981));}[_0x31eaa6(0x172)](_0x1b849c,_0x2886a3,_0x1fa8ae){const _0x97be0a=_0x31eaa6,_0x5f3ab9=_0x20ef6d(_0x1b849c,_0x69e021),_0x59fdd0=this[_0x97be0a(0x19d)][_0x97be0a(0x18a)][_0x97be0a(0x11b)](_0x97be0a(0x160));_0x5f3ab9[_0x97be0a(0x13c)][_0x97be0a(0x19e)]({'tooltip':_0x1fa8ae,'label':_0x1fa8ae,'icon':_0x45cd08}),_0x5f3ab9[_0x97be0a(0x13c)][_0x97be0a(0x14b)](_0x97be0a(0x126))['to'](_0x59fdd0,_0x97be0a(0x197)),_0x5f3ab9[_0x97be0a(0x13c)]['on'](_0x97be0a(0x119),()=>{const _0xda3a49=_0x97be0a;_0x59fdd0[_0xda3a49(0x119)](),this[_0xda3a49(0x19d)][_0xda3a49(0x14f)][_0xda3a49(0x194)][_0xda3a49(0x138)]();}),_0x38e1d3(_0x5f3ab9,_0x2886a3,{'role':_0x97be0a(0x129)});const _0x1a6c1a=[];for(const _0x1cc9c5 of _0x2886a3)he(_0x1cc9c5)&&_0x1a6c1a[_0x97be0a(0x1a2)](this[_0x97be0a(0x19d)][_0x97be0a(0x18a)][_0x97be0a(0x11b)](_0x1cc9c5[_0x97be0a(0x145)][_0x97be0a(0x144)]));const _0x58a5a9=_0x5f3ab9[_0x97be0a(0x13c)];return _0x58a5a9[_0x97be0a(0x146)][_0x97be0a(0x156)](_0x97be0a(0x14d)),_0x58a5a9[_0x97be0a(0x137)][_0x97be0a(0x156)](_0x97be0a(0x14d)),_0x58a5a9[_0x97be0a(0x146)][_0x97be0a(0x14b)](_0x97be0a(0x14d))['to'](_0x59fdd0,_0x97be0a(0x14d)),_0x58a5a9[_0x97be0a(0x137)][_0x97be0a(0x14b)](_0x97be0a(0x14d))[_0x97be0a(0x186)](_0x1a6c1a,_0x97be0a(0x14d),(..._0x39d356)=>_0x39d356[_0x97be0a(0x120)](_0x3150fc=>_0x3150fc)),_0x5f3ab9['on'](_0x97be0a(0x119),_0x4dd7c2=>{const _0x591869=_0x97be0a;this[_0x591869(0x19d)][_0x591869(0x119)](_0x4dd7c2[_0x591869(0x150)][_0x591869(0x144)]),this[_0x591869(0x19d)][_0x591869(0x14f)][_0x591869(0x194)][_0x591869(0x138)]();}),_0x5f3ab9;}[_0x31eaa6(0x13d)](_0xc4452d,_0x37a917,_0x360713){const _0x299811=_0x31eaa6,_0x35f5f4=new _0x198d00(_0xc4452d),_0x1e8e50=this[_0x299811(0x19d)][_0x299811(0x18a)][_0x299811(0x11b)](_0x299811(0x160));_0x35f5f4[_0x299811(0x13c)][_0x299811(0x19e)]({'label':_0x360713,'icon':_0x45cd08});const _0x15ed74=new _0x16a413(_0xc4452d);for(const _0x147fea of _0x37a917){if(_0x299811(0x16f)==_0x147fea[_0x299811(0x133)]){_0x15ed74[_0x299811(0x155)][_0x299811(0x15b)](new _0x465587(_0xc4452d));continue;}const _0x16d5d2=new _0x2bef30(_0xc4452d,_0x35f5f4),_0x5a98d5=new _0x5282ec(_0xc4452d),_0x45b872=_0x147fea[_0x299811(0x145)];_0x5a98d5[_0x299811(0x14b)](...Object[_0x299811(0x11f)](_0x45b872))['to'](_0x45b872),_0x5a98d5[_0x299811(0x187)](_0x299811(0x119))['to'](_0x35f5f4),_0x5a98d5['on'](_0x299811(0x119),()=>{const _0x3c4f44=_0x299811;this[_0x3c4f44(0x19d)][_0x3c4f44(0x119)](_0x45b872[_0x3c4f44(0x144)]),this[_0x3c4f44(0x19d)][_0x3c4f44(0x14f)][_0x3c4f44(0x194)][_0x3c4f44(0x138)]();}),_0x16d5d2[_0x299811(0x177)][_0x299811(0x15b)](_0x5a98d5),_0x15ed74[_0x299811(0x155)][_0x299811(0x15b)](_0x16d5d2);}return _0x35f5f4[_0x299811(0x14b)](_0x299811(0x14d))['to'](_0x1e8e50,_0x299811(0x14d)),_0x35f5f4[_0x299811(0x17d)][_0x299811(0x177)][_0x299811(0x15b)](_0x15ed74),_0x35f5f4;}[_0x31eaa6(0x14c)](_0x6717d0){const _0x5c0742=_0x31eaa6,_0x51dbd6=this[_0x5c0742(0x19d)],_0x7bc897=_0x51dbd6[_0x5c0742(0x136)],_0x2ca30e=_0x51dbd6[_0x5c0742(0x17f)][_0x5c0742(0x11b)](_0x5c0742(0x16d)),_0x33c145=_0x51dbd6[_0x5c0742(0x17f)][_0x5c0742(0x11b)](_0x5c0742(0x11e)),_0x4ab618=_0x51dbd6[_0x5c0742(0x17f)][_0x5c0742(0x11b)](_0x5c0742(0x115)),_0x4c71af=_0x51dbd6[_0x5c0742(0x17f)][_0x5c0742(0x11b)](_0x5de3ed)['me'],_0x44cb4b=_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x160))[_0x5c0742(0x12b)],{CommentsListView:_0x4dab81,CommentThreadInputView:_0x5dcad5}=_0x51dbd6[_0x5c0742(0x17f)][_0x5c0742(0x11b)](_0x5c0742(0x173));let _0x405ead,_0x5902d0;this[_0x5c0742(0x18f)][_0x5c0742(0x17e)](_0x6717d0['id'])?(_0x5902d0=this[_0x5c0742(0x18f)][_0x5c0742(0x11b)](_0x6717d0['id']),_0x405ead=_0x5902d0[_0x5c0742(0x183)]):(_0x405ead=new _0x44cb4b(_0x51dbd6[_0x5c0742(0x195)],_0x6717d0,_0x4c71af,{'disableComments':this[_0x5c0742(0x12e)],'editorConfig':_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x184)),'maxCommentsWhenCollapsed':_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x132)),'maxThreadTotalWeight':_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x158)),'maxCommentCharsWhenCollapsed':_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x179)),'formatDateTime':_0x37b0bd(_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x195))),'CommentView':_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x142))[_0x5c0742(0x19c)],'CommentsListView':_0x4dab81,'CommentThreadInputView':_0x5dcad5}),_0x405ead[_0x5c0742(0x128)]['on'](_0x5c0742(0x119),()=>{const _0x54e952=_0x5c0742;_0x51dbd6[_0x54e952(0x14f)][_0x54e952(0x194)][_0x54e952(0x138)]();}),_0x405ead[_0x5c0742(0x191)]['on'](_0x5c0742(0x119),()=>{const _0x246e07=_0x5c0742;_0x51dbd6[_0x246e07(0x14f)][_0x246e07(0x194)][_0x246e07(0x138)]();}),_0x5902d0=_0x2ca30e[_0x5c0742(0x188)](this[_0x5c0742(0x19d)][_0x5c0742(0x195)],_0x405ead),_0x5902d0[_0x5c0742(0x14b)](_0x5c0742(0x131))['to'](_0x405ead,_0x5c0742(0x131)),_0x5902d0[_0x5c0742(0x14b)](_0x5c0742(0x178))['to'](_0x405ead),_0x5902d0[_0x5c0742(0x14b)](_0x5c0742(0x133))['to'](_0x405ead,_0x5c0742(0x133),_0x2fd541=>_0x5c0742(0x17b)+_0x2fd541),this[_0x5c0742(0x174)](_0x405ead,_0x5c0742(0x1a0),()=>{const _0x4ea505=_0x5c0742;_0x51dbd6[_0x4ea505(0x14f)][_0x4ea505(0x194)][_0x4ea505(0x138)]();},{'priority':_0x5c0742(0x11a)}),this[_0x5c0742(0x18f)][_0x5c0742(0x19e)](_0x6717d0['id'],_0x5902d0));const _0x3c034b=_0x33c145[_0x5c0742(0x18b)](_0x6717d0[_0x5c0742(0x1a1)],_0x405ead),_0x7b3513=new _0x291af7(_0x51dbd6,_0x6717d0,_0x405ead,_0x3c034b),_0xac56d0=_0x6717d0[_0x5c0742(0x11c)]()[_0x5c0742(0x16a)](_0x276016=>_0x276016[_0x5c0742(0x14a)]);_0x405ead[_0x5c0742(0x169)]=_0x51dbd6[_0x5c0742(0x17f)][_0x5c0742(0x11b)](_0x5c0742(0x11d))[_0x5c0742(0x121)][_0x5c0742(0x130)](_0xac56d0),this[_0x5c0742(0x1a7)][_0x5c0742(0x19e)](_0x6717d0,_0x7b3513),this[_0x5c0742(0x17a)][_0x5c0742(0x19e)](_0x405ead,_0x7b3513);const _0x57549b=_0x2ca30e[_0x5c0742(0x164)]({'view':_0x5902d0,'target':()=>{const _0x3bca99=_0x5c0742,_0x243692=[],_0x5312b2=_0x6717d0[_0x3bca99(0x11c)]()[_0x3bca99(0x16a)](_0x31bc6b=>_0x31bc6b[_0x3bca99(0x14a)]);for(const _0x15f6ed of _0x5312b2)_0x243692[_0x3bca99(0x1a2)](..._0x15f6ed[_0x3bca99(0x12f)]());return _0x122ac8(_0x51dbd6[_0x3bca99(0x14f)],_0x243692);},'type':()=>_0x5c0742(0x17b)+_0x7b3513[_0x5c0742(0x194)][_0x5c0742(0x133)]});_0x33c145[_0x5c0742(0x18d)](_0x405ead,_0x57549b),_0x2ca30e[_0x5c0742(0x15b)](_0x57549b),_0x4ab618[_0x5c0742(0x163)](_0x57549b);}[_0x31eaa6(0x113)](_0x39f1d5){const _0x1a3187=_0x31eaa6,_0x21d0a0=this[_0x1a3187(0x19d)][_0x1a3187(0x17f)][_0x1a3187(0x11b)](_0x1a3187(0x11e)),_0x25bc82=this[_0x1a3187(0x19d)][_0x1a3187(0x17f)][_0x1a3187(0x11b)](_0x1a3187(0x16d)),_0x3d8d15=this[_0x1a3187(0x1a7)][_0x1a3187(0x11b)](_0x39f1d5),_0x27cc0c=_0x3d8d15[_0x1a3187(0x194)],_0x24b5e0=_0x25bc82[_0x1a3187(0x124)](_0x27cc0c);_0x21d0a0[_0x1a3187(0x167)](_0x27cc0c),_0x24b5e0&&_0x25bc82[_0x1a3187(0x140)](_0x24b5e0),this[_0x1a3187(0x1a7)][_0x1a3187(0x176)](_0x39f1d5),this[_0x1a3187(0x17a)][_0x1a3187(0x176)](_0x27cc0c),_0x3d8d15[_0x1a3187(0x196)]();}[_0x31eaa6(0x16c)](_0x9b5020){const _0x1a7cb1=_0x31eaa6;if(!_0x9b5020[_0x1a7cb1(0x14a)]||!this[_0x1a7cb1(0x1a7)][_0x1a7cb1(0x17e)](_0x9b5020))return;const _0x25b18b=this[_0x1a7cb1(0x19d)][_0x1a7cb1(0x17f)][_0x1a7cb1(0x11b)](_0x1a7cb1(0x11d)),_0xa36da1=this[_0x1a7cb1(0x1a7)][_0x1a7cb1(0x11b)](_0x9b5020),_0x127d06=_0x9b5020[_0x1a7cb1(0x11c)]();_0xa36da1[_0x1a7cb1(0x194)][_0x1a7cb1(0x169)]=_0x25b18b[_0x1a7cb1(0x121)][_0x1a7cb1(0x130)](_0x127d06);}[_0x31eaa6(0x16e)](){const _0x27120a=_0x31eaa6;this[_0x27120a(0x19d)][_0x27120a(0x175)][_0x27120a(0x19e)](_0x376f49,(_0x2aa9fd,_0x467202)=>{const _0x3eb20f=_0x27120a,_0x114b98=this[_0x3eb20f(0x19d)][_0x3eb20f(0x17f)][_0x3eb20f(0x11b)](_0x256d19),_0x4a6e19=this[_0x3eb20f(0x19d)][_0x3eb20f(0x17f)][_0x3eb20f(0x11b)](_0x3d3986);if(!_0x4a6e19[_0x3eb20f(0x152)][_0x3eb20f(0x178)])return;const {id:_0x59ad0f}=_0x4a6e19[_0x3eb20f(0x13a)](_0x4a6e19[_0x3eb20f(0x152)][0x0]),_0x50676f=_0x114b98[_0x3eb20f(0x159)](_0x59ad0f);_0x50676f&&(this[_0x3eb20f(0x1a7)][_0x3eb20f(0x11b)](_0x50676f)[_0x3eb20f(0x194)][_0x3eb20f(0x138)](),_0x467202());});}[_0x31eaa6(0x196)](){const _0x2f53aa=_0x31eaa6;for(const _0x216ac6 of this[_0x2f53aa(0x1a7)][_0x2f53aa(0x11f)]())this[_0x2f53aa(0x113)](_0x216ac6);for(const _0x10d42e of this[_0x2f53aa(0x18f)][_0x2f53aa(0x1a5)]())_0x10d42e[_0x2f53aa(0x183)][_0x2f53aa(0x196)]();super[_0x2f53aa(0x196)]();}}function he(_0x3339c9){const _0x352d3b=_0x31eaa6;return _0x352d3b(0x145)in _0x3339c9;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x302e61=_0x3f6e;(function(_0x144756,_0x4e844a){const _0x27325b=_0x3f6e,_0xac5ea8=_0x144756();while(!![]){try{const _0x31bce1=parseInt(_0x27325b(0xaf))/0x1+parseInt(_0x27325b(0xb4))/0x2+-parseInt(_0x27325b(0xae))/0x3+parseInt(_0x27325b(0x90))/0x4+-parseInt(_0x27325b(0xab))/0x5+-parseInt(_0x27325b(0x9b))/0x6+parseInt(_0x27325b(0xb2))/0x7;if(_0x31bce1===_0x4e844a)break;else _0xac5ea8['push'](_0xac5ea8['shift']());}catch(_0x3ceaad){_0xac5ea8['push'](_0xac5ea8['shift']());}}}(_0x334f,0x3f7c4));import{ObservableMixin as _0x49b0d7}from'ckeditor5/src/utils.js';import{getTranslation as _0x3c61cf}from'../utils/common-translations.js';function _0x3f6e(_0x15a85c,_0x4f5d8b){const _0x334ff4=_0x334f();return _0x3f6e=function(_0x3f6e8d,_0x5ce41e){_0x3f6e8d=_0x3f6e8d-0x90;let _0x4f0342=_0x334ff4[_0x3f6e8d];return _0x4f0342;},_0x3f6e(_0x15a85c,_0x4f5d8b);}function _0x334f(){const _0xdeead8=['2438128SxMNEq','execute','805010ezXdbs','unbind','_editor','668584SIhohM','add','_acceptCommand','model','commentThreadController','getRanges','stopListening','plugins','acceptSuggestion','canDiscard','commands','2839086SdwLij','canAccept','_removePendingAction','PENDING_ACTION_SUGGESTION','locale','bind','destroy','remove','get','canEditAt','change:isDirty','isEnabled','isDirty','_setPendingAction','discardSuggestion','view','824245NilGmD','_pendingAction','_discardCommand','1024908WccoYy','321747kucMOm','PendingActions','listenTo'];_0x334f=function(){return _0xdeead8;};return _0x334f();}export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x49b0d7(){constructor(_0x41a676,_0x4aed97,_0x38d30e,_0x36fec8){const _0x5854c1=_0x3f6e;super(),this[_0x5854c1(0x93)]=_0x4aed97,this[_0x5854c1(0xaa)]=_0x38d30e,this[_0x5854c1(0x94)]=_0x36fec8,this[_0x5854c1(0xb6)]=_0x41a676,this[_0x5854c1(0x92)]=_0x41a676[_0x5854c1(0x9a)][_0x5854c1(0xa3)](_0x5854c1(0x98)),this[_0x5854c1(0xad)]=_0x41a676[_0x5854c1(0x9a)][_0x5854c1(0xa3)](_0x5854c1(0xa9)),this[_0x5854c1(0xaa)][_0x5854c1(0xa0)](_0x5854c1(0xa6))['to'](this[_0x5854c1(0x92)],this[_0x5854c1(0xad)],(_0x51da5c,_0x6af2ae)=>_0x51da5c||_0x6af2ae),this[_0x5854c1(0xaa)][_0x5854c1(0xa0)](_0x5854c1(0x9c))['to'](this[_0x5854c1(0x92)],_0x5854c1(0xa6),_0x8f1d36=>_0x8f1d36&&this[_0x5854c1(0xb6)][_0x5854c1(0x93)][_0x5854c1(0xa4)](_0x4aed97[_0x5854c1(0x95)]())),this[_0x5854c1(0xaa)][_0x5854c1(0xa0)](_0x5854c1(0x99))['to'](this[_0x5854c1(0xad)],_0x5854c1(0xa6),_0x4108c5=>_0x4108c5&&this[_0x5854c1(0xb6)][_0x5854c1(0x93)][_0x5854c1(0xa4)](_0x4aed97[_0x5854c1(0x95)]())),this[_0x5854c1(0xac)]=null,_0x38d30e[_0x5854c1(0xa7)]&&this[_0x5854c1(0xa8)](),this[_0x5854c1(0xb1)](_0x38d30e,_0x5854c1(0x98),()=>this[_0x5854c1(0x98)]()),this[_0x5854c1(0xb1)](_0x38d30e,_0x5854c1(0xa9),()=>this[_0x5854c1(0xa9)]()),this[_0x5854c1(0xb1)](_0x38d30e,_0x5854c1(0xa5),()=>{const _0x2f8c92=_0x5854c1;_0x38d30e[_0x2f8c92(0xa7)]?this[_0x2f8c92(0xa8)]():this[_0x2f8c92(0x9d)]();});}[_0x302e61(0x98)](){const _0x895a25=_0x302e61;this[_0x895a25(0x92)][_0x895a25(0xb3)](this[_0x895a25(0x93)]['id']);}[_0x302e61(0xa9)](){const _0x5d4e73=_0x302e61;this[_0x5d4e73(0xad)][_0x5d4e73(0xb3)](this[_0x5d4e73(0x93)]['id']);}[_0x302e61(0xa1)](){const _0x1c0a7b=_0x302e61;this[_0x1c0a7b(0xaa)][_0x1c0a7b(0xb5)](_0x1c0a7b(0xa6)),this[_0x1c0a7b(0xaa)][_0x1c0a7b(0xb5)](_0x1c0a7b(0x9c)),this[_0x1c0a7b(0xaa)][_0x1c0a7b(0xb5)](_0x1c0a7b(0x99)),this[_0x1c0a7b(0x96)](),this[_0x1c0a7b(0x94)][_0x1c0a7b(0xa1)](),this[_0x1c0a7b(0xac)]&&this[_0x1c0a7b(0x9d)]();}[_0x302e61(0xa8)](){const _0x34fc36=_0x302e61,_0x2db0d8=_0x3c61cf(this[_0x34fc36(0xb6)][_0x34fc36(0x9f)],_0x34fc36(0x9e));this[_0x34fc36(0xac)]=this[_0x34fc36(0xb6)][_0x34fc36(0x97)][_0x34fc36(0xa3)](_0x34fc36(0xb0))[_0x34fc36(0x91)](_0x2db0d8);}[_0x302e61(0x9d)](){const _0x5dc78b=_0x302e61;null!==this[_0x5dc78b(0xac)]&&this[_0x5dc78b(0xb6)][_0x5dc78b(0x97)][_0x5dc78b(0xa3)](_0x5dc78b(0xb0))[_0x5dc78b(0xa2)](this[_0x5dc78b(0xac)]),this[_0x5dc78b(0xac)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27f59e=_0x1ea1;(function(_0x140df6,_0x423d2d){const _0x61a2d=_0x1ea1,_0x377403=_0x140df6();while(!![]){try{const _0x5d19db=-parseInt(_0x61a2d(0x201))/0x1*(-parseInt(_0x61a2d(0x1f1))/0x2)+parseInt(_0x61a2d(0x228))/0x3*(parseInt(_0x61a2d(0x20a))/0x4)+-parseInt(_0x61a2d(0x1ea))/0x5*(parseInt(_0x61a2d(0x214))/0x6)+-parseInt(_0x61a2d(0x20c))/0x7*(parseInt(_0x61a2d(0x1fa))/0x8)+parseInt(_0x61a2d(0x208))/0x9*(-parseInt(_0x61a2d(0x218))/0xa)+parseInt(_0x61a2d(0x204))/0xb+parseInt(_0x61a2d(0x21d))/0xc;if(_0x5d19db===_0x423d2d)break;else _0x377403['push'](_0x377403['shift']());}catch(_0x54f3da){_0x377403['push'](_0x377403['shift']());}}}(_0x236e,0x60734));import{FocusCycler as _0x4b6535,View as _0x5b41bc,ViewCollection as _0x2fe186}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1d4bef,KeystrokeHandler as _0x5129c9}from'ckeditor5/src/utils.js';function _0x1ea1(_0x1b973d,_0x49a2b0){const _0x236e15=_0x236e();return _0x1ea1=function(_0x1ea1d7,_0x3b7c96){_0x1ea1d7=_0x1ea1d7-0x1e2;let _0x1bb54d=_0x236e15[_0x1ea1d7];return _0x1bb54d;},_0x1ea1(_0x1b973d,_0x49a2b0);}import{AriaDescriptionView as _0x56e8e7,setupThreadKeyboardNavigation as _0x55dbe4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x236e(){const _0x4278b8=['authoredAt','ariaDescriptionView','formatDateTime','isDirty','author','19FvkPmq','_createCommentViews','isActive','1854831FdDZhl','canAccept','join','ariaLabel','2791629Ykkjzo','_model','1388BTHGXh','removeComment','112icFTub','isEnabled','CommentView','element','body','content','tab','editorConfig','42EfkruS','commentsListView','length','locale','10dAxVDD','target','textContent','editor','focusCycler','15513828ApVXXL','_localUser','bind','parseFromString','disableComments','render','focusables','hasDirtyComment','canDiscard','disabledSubmit','cancel','2745gZpcUh','submit','_config','showInput','addComment','setData','assign','set','keystrokes','value','isReadOnly','updateComment','SUGGESTION_THREAD_ARIA_LABEL','538640SfyzWN','descriptionParts','text/html','map','SUGGESTION_THREAD_DESCRIPTION','commentThreadInputView','commentInputView','3344SgoUSV','focus','focusTracker','fire','_createCommentThreadInputView','delegate','shift+tab','destroy','name','175688CpEpYq','commentThread'];_0x236e=function(){return _0x4278b8;};return _0x236e();}import{getTranslation as _0x26ddf6}from'../../utils/common-translations.js';import{renderDescription as _0x5d9eea}from'../../utils/utils.js';export default class us extends _0x5b41bc{constructor(_0x1f5eb0,_0x3ca7e7,_0x4a9029,_0x1d31df){const _0xa4bef7=_0x1ea1;super(_0x1f5eb0),this[_0xa4bef7(0x215)]=null,this[_0xa4bef7(0x1ef)]=null,this[_0xa4bef7(0x1fd)]=new _0x56e8e7(_0x1f5eb0,_0x26ddf6(_0x1f5eb0,_0xa4bef7(0x1ee))),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x203),!0x1),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x1fc),_0x3ca7e7[_0xa4bef7(0x1fc)]),this[_0xa4bef7(0x21f)](_0xa4bef7(0x1fc))['to'](_0x3ca7e7),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x1eb),[]),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x1ff),!0x1),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x20d),!0x1),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x205),!0x1),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x225),!0x1),this[_0xa4bef7(0x21f)](_0xa4bef7(0x207))['to'](this,_0xa4bef7(0x216),_0x3ca7e7,_0xa4bef7(0x1fc),this,_0xa4bef7(0x1eb),(_0x51d096,_0x1733fb,_0x1e6baa)=>{const _0x19f3ff=_0xa4bef7,_0x5ba5a8=_0x1e6baa[_0x19f3ff(0x1ed)](_0xc2d6cb=>_0x5d9eea(_0xc2d6cb[_0x19f3ff(0x211)]))[_0x19f3ff(0x206)]('.\x20')+'.';return _0x26ddf6(this[_0x19f3ff(0x217)],_0x19f3ff(0x1e9),[_0x51d096-0x1,_0x3ca7e7[_0x19f3ff(0x200)][_0x19f3ff(0x1f9)],_0x1733fb?_0x1d31df[_0x19f3ff(0x1fe)](_0x1733fb):'',new DOMParser()[_0x19f3ff(0x220)](_0x5ba5a8,_0x19f3ff(0x1ec))[_0x19f3ff(0x210)][_0x19f3ff(0x21a)]]);}),this[_0xa4bef7(0x223)]=new _0x2fe186(),this[_0xa4bef7(0x1f3)]=new _0x1d4bef(),this[_0xa4bef7(0x1e5)]=new _0x5129c9(),this[_0xa4bef7(0x21c)]=new _0x4b6535({'focusables':this[_0xa4bef7(0x223)],'focusTracker':this[_0xa4bef7(0x1f3)],'keystrokeHandler':this[_0xa4bef7(0x1e5)],'keystrokeHandlerOptions':{'filter':_0x4b5922=>_0x4b5922[_0xa4bef7(0x219)]!==this[_0xa4bef7(0x20f)]},'actions':{'focusPrevious':_0xa4bef7(0x1f7),'focusNext':_0xa4bef7(0x212)}}),this[_0xa4bef7(0x209)]=_0x3ca7e7,this[_0xa4bef7(0x21e)]=_0x4a9029,this[_0xa4bef7(0x22a)]=_0x1d31df,_0x1d31df[_0xa4bef7(0x221)]?this[_0xa4bef7(0x1e4)](_0xa4bef7(0x216),0x1):this[_0xa4bef7(0x202)]();}[_0x27f59e(0x222)](){const _0x4d47cd=_0x27f59e;super[_0x4d47cd(0x222)](),_0x55dbe4(this,this[_0x4d47cd(0x223)]);}[_0x27f59e(0x1f2)](){const _0x24ce49=_0x27f59e;this[_0x24ce49(0x20f)][_0x24ce49(0x1f2)]();}[_0x27f59e(0x1f8)](){const _0x18cabb=_0x27f59e;this[_0x18cabb(0x215)]&&this[_0x18cabb(0x215)][_0x18cabb(0x1f8)](),this[_0x18cabb(0x1ef)]&&this[_0x18cabb(0x1ef)][_0x18cabb(0x1f8)](),super[_0x18cabb(0x1f8)]();}[_0x27f59e(0x202)](){const _0x5f05a1=_0x27f59e,{CommentsListView:_0x34e1c8}=this[_0x5f05a1(0x22a)];this[_0x5f05a1(0x215)]=new _0x34e1c8(this[_0x5f05a1(0x217)],this[_0x5f05a1(0x209)][_0x5f05a1(0x1fb)],Object[_0x5f05a1(0x1e3)]({'CommentView':this[_0x5f05a1(0x22a)][_0x5f05a1(0x20e)]},this[_0x5f05a1(0x22a)])),this[_0x5f05a1(0x215)][_0x5f05a1(0x1f6)](_0x5f05a1(0x20b))['to'](this),this[_0x5f05a1(0x215)][_0x5f05a1(0x1f6)](_0x5f05a1(0x1e8))['to'](this),this[_0x5f05a1(0x215)][_0x5f05a1(0x21f)](_0x5f05a1(0x203))['to'](this),this[_0x5f05a1(0x1e4)](_0x5f05a1(0x216),this[_0x5f05a1(0x215)][_0x5f05a1(0x216)]+0x1),this[_0x5f05a1(0x21f)](_0x5f05a1(0x216))['to'](this[_0x5f05a1(0x215)],_0x5f05a1(0x216),_0x57596f=>_0x57596f+0x1),this[_0x5f05a1(0x1ef)]=this[_0x5f05a1(0x1f5)](),this['on'](_0x5f05a1(0x20b),()=>this[_0x5f05a1(0x1f2)]()),this[_0x5f05a1(0x21f)](_0x5f05a1(0x1ff))['to'](this[_0x5f05a1(0x215)],_0x5f05a1(0x224),this[_0x5f05a1(0x1ef)][_0x5f05a1(0x1f0)],_0x5f05a1(0x1e6),(_0x141e8d,_0x26c4f9)=>_0x141e8d||!!_0x26c4f9);}[_0x27f59e(0x1f5)](){const _0x465e12=_0x27f59e,{CommentThreadInputView:_0x56f0f5}=this[_0x465e12(0x22a)],_0x4f6684=new _0x56f0f5(this[_0x465e12(0x217)],this[_0x465e12(0x21e)],this[_0x465e12(0x22a)][_0x465e12(0x213)]),_0x1ffaac=_0x4f6684[_0x465e12(0x1f0)];return _0x4f6684[_0x465e12(0x21f)](_0x465e12(0x22b))['to'](this,_0x465e12(0x203),this[_0x465e12(0x209)][_0x465e12(0x1fb)],_0x465e12(0x1e7),_0x1ffaac,_0x465e12(0x1e6),(_0xdac05c,_0x1fb212,_0x300e5d)=>!!_0x300e5d||_0xdac05c&&!_0x1fb212),_0x1ffaac['on'](_0x465e12(0x229),(_0x34dc19,_0x338bca)=>{const _0xe46ac7=_0x465e12;this[_0xe46ac7(0x1f4)](_0xe46ac7(0x22c),_0x338bca),_0x1ffaac[_0xe46ac7(0x21b)][_0xe46ac7(0x1e2)]('');}),_0x1ffaac['on'](_0x465e12(0x227),()=>this[_0x465e12(0x1f2)]()),_0x1ffaac[_0x465e12(0x21f)](_0x465e12(0x226))['to'](this[_0x465e12(0x209)][_0x465e12(0x1fb)],_0x465e12(0x1e7)),_0x4f6684;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5498(_0x555640,_0x49b898){const _0x3aa87c=_0x3aa8();return _0x5498=function(_0x54983d,_0x27586b){_0x54983d=_0x54983d-0x189;let _0x2f5ba7=_0x3aa87c[_0x54983d];return _0x2f5ba7;},_0x5498(_0x555640,_0x49b898);}const _0x62d203=_0x5498;function _0x3aa8(){const _0xc915a1=['ck-suggestion-','add','6614304EOkXuq','ck-annotation__main','ck-suggestion-wrapper','ck-suggestion--accept','ck-annotation__info-time','ck-suggestion-wrapper--active','content','187arLyFc','ck-suggestion__info','_model','check','Discard\x20suggestion','ck-annotation__content-wrapper','ck-comment__info-time','div','locale','getUserViewNotificationText','setTemplate','47150HeTaTt','ariaDescriptionView','987qhnneD','querySelector','span','981fxdnAe','1619vQeBdP','ck-suggestion__user','EXTERNAL_IMPORT_WORD_SUGGESTION','discardButton','commentThread','commentsListView','<p>','ck-rounded-corners','push','.ck-annotation__content-wrapper','editorDestroyed','children','ck-suggestion__info-name','cancel','ck-suggestion','ck-suggestion--disabled-comments','_config','acceptButton','ariaLabel','render','ck-annotation__info-name','set','commentThreadInputView','ck-comment__external','ck-suggestion--discard','ck-suggestion__actions','2151753QfXCBE','acceptSuggestion','addMany','color','@external','bindTemplate','4884zLGify','1655iSVffk','source','isActive','ck-suggestion__main','_createButton','author','isEnabled','change:description','getTemplate','disableComments','EXTERNAL_SUGGESTION','description','importWord','_descriptionElement','authoredAt','userView','1985172uxPcSm','canDiscard','focusables','innerHTML','ck-annotation__user','name','element','formatDateTime','14PSGszZ','execute','listitem','canAccept','ck-annotation__info','</p>','delegate','presentation','creator','editorReady','attributes','time','extendTemplate','ck-annotation__actions','28752guFGBC','isExternal','type','fire','getExternalSuggestionNote','descriptionParts','EXTERNAL_IMPORT_WORD_AVATAR','Accept\x20suggestion','bind','ck-annotation','EXTERNAL_AVATAR','discardSuggestion'];_0x3aa8=function(){return _0xc915a1;};return _0x3aa8();}(function(_0x3bf5d9,_0x10b3c0){const _0x52e263=_0x5498,_0x1fd8cc=_0x3bf5d9();while(!![]){try{const _0x3e0e52=-parseInt(_0x52e263(0x192))/0x1*(-parseInt(_0x52e263(0x1cb))/0x2)+-parseInt(_0x52e263(0x1ac))/0x3+parseInt(_0x52e263(0x1b2))/0x4*(parseInt(_0x52e263(0x1b3))/0x5)+-parseInt(_0x52e263(0x1d9))/0x6*(parseInt(_0x52e263(0x18e))/0x7)+-parseInt(_0x52e263(0x1e7))/0x8+-parseInt(_0x52e263(0x191))/0x9*(parseInt(_0x52e263(0x18c))/0xa)+parseInt(_0x52e263(0x1ee))/0xb*(parseInt(_0x52e263(0x1c3))/0xc);if(_0x3e0e52===_0x10b3c0)break;else _0x1fd8cc['push'](_0x1fd8cc['shift']());}catch(_0x2fe004){_0x1fd8cc['push'](_0x1fd8cc['shift']());}}}(_0x3aa8,0x78a55));import{getTranslation as _0x2ce1f8}from'../../utils/common-translations.js';import{default as _0x4cb5ae}from'./basesuggestionthreadview.js';import{icons as _0x365f00}from'ckeditor5/src/core.js';import{LateFocusButtonView as _0x5d5589,trimHtml as _0x54412b,UserView as _0x416a45}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x25f669}from'../../utils/utils.js';export default class re extends _0x4cb5ae{constructor(_0x10a72d,_0x100663,_0x591414,_0x1e8b1a){const _0x3342a5=_0x5498;super(_0x10a72d,_0x100663,_0x591414,_0x1e8b1a),this[_0x3342a5(0x1a7)](_0x3342a5(0x1db),''),this[_0x3342a5(0x1e1)](_0x3342a5(0x1db))['to'](this,_0x3342a5(0x1de),_0x34a85a=>_0x34a85a&&_0x34a85a[0x0]?_0x34a85a[0x0][_0x3342a5(0x1db)]:''),this[_0x3342a5(0x1e1)](_0x3342a5(0x1be))['to'](this,_0x3342a5(0x1de),this,_0x3342a5(0x1b5),(_0x34af8c,_0x7171ff)=>{const _0x342dcb=_0x3342a5;let _0x4c7440='';for(const _0x217a9e of _0x34af8c)_0x4c7440+=_0x342dcb(0x198)+_0x25f669(_0x217a9e[_0x342dcb(0x1ed)],_0x217a9e[_0x342dcb(0x1af)])+_0x342dcb(0x1d0);return _0x7171ff?_0x4c7440:_0x54412b(_0x4c7440,{'limit':0x8c});}),this[_0x3342a5(0x1c0)]=null,this[_0x3342a5(0x1a3)]=this[_0x3342a5(0x1b7)](_0x2ce1f8(_0x10a72d,_0x3342a5(0x1e0)),_0x365f00[_0x3342a5(0x1f1)],_0x3342a5(0x1ea),_0x3342a5(0x1ad),'sw'),this[_0x3342a5(0x1a3)][_0x3342a5(0x1e1)](_0x3342a5(0x1b9))['to'](this,_0x3342a5(0x1ce)),this[_0x3342a5(0x195)]=this[_0x3342a5(0x1b7)](_0x2ce1f8(_0x10a72d,_0x3342a5(0x1f2)),_0x365f00[_0x3342a5(0x19f)],_0x3342a5(0x1aa),_0x3342a5(0x1e4),'sw'),this[_0x3342a5(0x195)][_0x3342a5(0x1e1)](_0x3342a5(0x1b9))['to'](this,_0x3342a5(0x1c4)),this[_0x3342a5(0x1c2)]=new _0x416a45(_0x10a72d,this[_0x3342a5(0x1f0)][_0x3342a5(0x1b8)],this[_0x3342a5(0x18a)]()),this[_0x3342a5(0x1c2)][_0x3342a5(0x1d7)]({'attributes':{'class':[_0x3342a5(0x193),_0x3342a5(0x1c7)],'aria-hidden':!0x0}}),this[_0x3342a5(0x1c5)][_0x3342a5(0x1ae)]([this[_0x3342a5(0x1a3)],this[_0x3342a5(0x195)]]),this[_0x3342a5(0x197)]&&this[_0x3342a5(0x1c5)][_0x3342a5(0x1e6)](this[_0x3342a5(0x197)]),this[_0x3342a5(0x1a8)]&&this[_0x3342a5(0x1c5)][_0x3342a5(0x1e6)](this[_0x3342a5(0x1a8)]),this[_0x3342a5(0x18b)](this[_0x3342a5(0x1bb)]());}[_0x62d203(0x1bb)](){const _0x26ea41=_0x62d203,_0x1ca3cf=this[_0x26ea41(0x1b1)],_0x5664c2=[{'tag':_0x26ea41(0x1f5),'attributes':{'class':[_0x26ea41(0x1ef),_0x26ea41(0x1cf)]},'children':[{'tag':_0x26ea41(0x190),'children':[{'text':this[_0x26ea41(0x1c2)][_0x26ea41(0x1c8)]}],'attributes':{'class':[_0x26ea41(0x19e),_0x26ea41(0x1a6)]}},{'tag':_0x26ea41(0x1d6),'attributes':{'datetime':_0x1ca3cf['to'](_0x26ea41(0x1c1)),'class':[_0x26ea41(0x1f4),_0x26ea41(0x1eb)]},'children':[{'text':_0x1ca3cf['to'](_0x26ea41(0x1c1),_0x3745bb=>this[_0x26ea41(0x1a2)][_0x26ea41(0x1ca)](_0x3745bb))}]}]},{'tag':_0x26ea41(0x1f5),'attributes':{'class':[_0x26ea41(0x1ab),_0x26ea41(0x1d8)]},'children':[this[_0x26ea41(0x1a3)],this[_0x26ea41(0x195)]]},{'tag':_0x26ea41(0x1f5),'attributes':{'class':[_0x26ea41(0x1f3)]}}];this[_0x26ea41(0x1f0)][_0x26ea41(0x1da)]&&_0x5664c2[_0x26ea41(0x19a)]({'tag':_0x26ea41(0x1f5),'attributes':{'class':[_0x26ea41(0x1a9)]},'children':[{'text':this[_0x26ea41(0x1dd)]()}]});const _0x13978d={'tag':_0x26ea41(0x1f5),'attributes':{'class':['ck',_0x26ea41(0x199),_0x26ea41(0x1e9),_0x1ca3cf['if'](_0x26ea41(0x1b5),_0x26ea41(0x1ec)),_0x1ca3cf['to'](_0x26ea41(0x1db),_0x2bd3b3=>_0x26ea41(0x1e5)+_0x2bd3b3),this[_0x26ea41(0x1a2)][_0x26ea41(0x1bc)]&&_0x26ea41(0x1a1)],'data-suggestion-id':this[_0x26ea41(0x1f0)]['id'],'data-thread-id':this[_0x26ea41(0x1f0)][_0x26ea41(0x196)]['id'],'data-author-id':this[_0x26ea41(0x1f0)][_0x26ea41(0x1b8)]['id'],'tabindex':0x0,'role':_0x26ea41(0x1cd),'aria-label':_0x1ca3cf['to'](_0x26ea41(0x1a4)),'aria-describedby':this[_0x26ea41(0x18d)]['id']},'children':[{'tag':_0x26ea41(0x1f5),'attributes':{'class':[_0x26ea41(0x1a0),_0x26ea41(0x1e2)]},'children':[this[_0x26ea41(0x1c2)],{'tag':_0x26ea41(0x1f5),'attributes':{'class':[_0x26ea41(0x1b6),_0x26ea41(0x1e8)],'role':_0x26ea41(0x1d2)},'children':_0x5664c2},this[_0x26ea41(0x18d)]]}]};return this[_0x26ea41(0x197)]&&this[_0x26ea41(0x1a8)]&&(_0x13978d[_0x26ea41(0x19d)][_0x26ea41(0x19a)](this[_0x26ea41(0x197)],this[_0x26ea41(0x1a8)]),this[_0x26ea41(0x197)][_0x26ea41(0x1d1)](_0x26ea41(0x1d4))['to'](this),this[_0x26ea41(0x197)][_0x26ea41(0x1d1)](_0x26ea41(0x19c))['to'](this),this[_0x26ea41(0x1a8)][_0x26ea41(0x1d1)](_0x26ea41(0x1d4))['to'](this),this[_0x26ea41(0x1a8)][_0x26ea41(0x1d1)](_0x26ea41(0x19c))['to'](this)),_0x13978d;}[_0x62d203(0x1a5)](){const _0x2dbce8=_0x62d203;super[_0x2dbce8(0x1a5)](),this[_0x2dbce8(0x1c0)]=this[_0x2dbce8(0x1c9)][_0x2dbce8(0x18f)](_0x2dbce8(0x19b)),this[_0x2dbce8(0x1c0)][_0x2dbce8(0x1c6)]=this[_0x2dbce8(0x1be)],this['on'](_0x2dbce8(0x1ba),(_0x2b5284,_0x3ccb9e,_0x56a097)=>{const _0x117e6b=_0x2dbce8;this[_0x117e6b(0x1c0)][_0x117e6b(0x1c6)]=_0x56a097;});}[_0x62d203(0x1b7)](_0x1c92bc,_0x19009c,_0x5a9767,_0x1a82a6,_0x1b13bc){const _0x5cca5f=_0x62d203,_0x13f313=new _0x5d5589(this[_0x5cca5f(0x189)]);return _0x13f313[_0x5cca5f(0x1a7)]({'label':_0x1c92bc,'icon':_0x19009c,'tooltip':!0x0,'tooltipPosition':_0x1b13bc}),_0x13f313[_0x5cca5f(0x1d7)]({'attributes':{'class':_0x5a9767}}),_0x13f313['on'](_0x5cca5f(0x1cc),()=>{const _0x4f255d=_0x5cca5f;this[_0x4f255d(0x1dc)](_0x1a82a6,this[_0x4f255d(0x1f0)]['id']);}),_0x13f313;}[_0x62d203(0x1dd)](){const _0x285458=_0x62d203;return _0x285458(0x1bf)===this[_0x285458(0x1f0)][_0x285458(0x1d5)][_0x285458(0x1b0)][_0x285458(0x1b4)]?_0x2ce1f8(this[_0x285458(0x189)],_0x285458(0x194)):_0x2ce1f8(this[_0x285458(0x189)],_0x285458(0x1bd));}[_0x62d203(0x18a)](){const _0x25debe=_0x62d203;return this[_0x25debe(0x1f0)][_0x25debe(0x1da)]?_0x25debe(0x1bf)===this[_0x25debe(0x1f0)][_0x25debe(0x1d5)][_0x25debe(0x1b0)][_0x25debe(0x1b4)]?_0x2ce1f8(this[_0x25debe(0x189)],_0x25debe(0x1df),this[_0x25debe(0x1f0)][_0x25debe(0x1d3)][_0x25debe(0x1c8)]):_0x2ce1f8(this[_0x25debe(0x189)],_0x25debe(0x1e3),this[_0x25debe(0x1f0)][_0x25debe(0x1d3)][_0x25debe(0x1c8)]):null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x544e69,_0x4d1214,_0xa81485){const t=_0x544e69['t'];switch(_0x4d1214){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',_0xa81485);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xa81485);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xa81485);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xa81485);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xa81485);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',_0xa81485);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xa81485);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',_0xa81485);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xa81485);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xa81485);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xa81485);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xa81485);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xa81485);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xa81485);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xa81485);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xa81485);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xa81485);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xa81485);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xa81485);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xa81485);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xa81485);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xa81485);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xa81485);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'},_0xa81485);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xa81485);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xa81485);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xa81485);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xa81485);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xa81485);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'},_0xa81485);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xa81485);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xa81485);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xa81485);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xa81485);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});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'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0xa81485);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xa81485);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'},_0xa81485);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'},_0xa81485);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xa81485);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'},_0xa81485);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xa81485);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'},_0xa81485);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xa81485);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xa81485);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0xa81485);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'},_0xa81485);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'},_0xa81485);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xa81485);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0xa81485);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0xa81485);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0xa81485);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4d1214;}}
|
|
23
|
+
export function getTranslation(_0x5ef27e,_0x37193c,_0xfe366){const t=_0x5ef27e['t'];switch(_0x37193c){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',_0xfe366);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xfe366);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xfe366);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xfe366);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xfe366);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',_0xfe366);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xfe366);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',_0xfe366);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xfe366);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xfe366);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xfe366);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xfe366);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xfe366);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xfe366);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xfe366);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xfe366);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xfe366);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xfe366);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xfe366);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xfe366);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xfe366);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xfe366);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xfe366);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'},_0xfe366);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xfe366);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xfe366);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xfe366);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xfe366);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xfe366);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'},_0xfe366);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xfe366);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xfe366);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xfe366);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xfe366);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});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'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0xfe366);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xfe366);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'},_0xfe366);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'},_0xfe366);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xfe366);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'},_0xfe366);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xfe366);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'},_0xfe366);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xfe366);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xfe366);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0xfe366);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'},_0xfe366);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'},_0xfe366);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xfe366);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0xfe366);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0xfe366);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0xfe366);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x37193c;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
(function(_0x32c171,_0x3a9217){const _0x1052c7=_0x2b77,_0x530c26=_0x32c171();while(!![]){try{const _0x3e2883=parseInt(_0x1052c7(0x20d))/0x1+parseInt(_0x1052c7(0x1e1))/0x2+-parseInt(_0x1052c7(0x207))/0x3+parseInt(_0x1052c7(0x20b))/0x4+-parseInt(_0x1052c7(0x1dd))/0x5+-parseInt(_0x1052c7(0x1fb))/0x6+parseInt(_0x1052c7(0x209))/0x7;if(_0x3e2883===_0x3a9217)break;else _0x530c26['push'](_0x530c26['shift']());}catch(_0x4c9121){_0x530c26['push'](_0x530c26['shift']());}}}(_0x56ca,0xd078a));function _0x56ca(){const _0x59ad54=['isCollapsed','\x20[color\x20','start','length','value','isObject','isMultiRange','replace','splice','span','\x22></span>','change','end','join','createPositionAfter','innerHTML','innerText','isTouching','push','isInContent','createElement','5106702gJGoIP','sort','createPositionBefore','<span\x20class=\x22ck-suggestion-type\x22>','\x22\x20title=\x22','deletion','createRange','map','execute','from','next','title','4564695sdNgYQ','add','12524568EeOJXt','isIntersecting','2755676PWRqwo','isArray','991292thjBsr','type','createPositionAt','1818800VBaxuA','color','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','content','241810iWRCyu','</span>','schema','getRanges','split'];_0x56ca=function(){return _0x59ad54;};return _0x56ca();}export function normalizeDescription(_0x5f5d28){const _0x25a480=_0x2b77;return Array[_0x25a480(0x20c)](_0x5f5d28)||(_0x5f5d28=[_0x5f5d28]),_0x5f5d28[_0x25a480(0x202)](_0x2f5d22=>{const _0x1553df=_0x25a480,_0x2e44d9=_0x2f5d22[_0x1553df(0x1e0)][_0x1553df(0x1ed)](/\*/g,''),_0x8c53af=_0x2f5d22[_0x1553df(0x1de)]?_0x1553df(0x1e7)+_0x2f5d22[_0x1553df(0x1de)][_0x1553df(0x1ea)]+']':'';return'['+_0x2f5d22[_0x1553df(0x20e)]+']\x20'+_0x2e44d9+_0x8c53af;})[_0x25a480(0x1f3)](';\x20');}export function renderDescription(_0x2db747,_0x139178){const _0x1bc193=_0x2b77;let _0x1bbb13='';return _0x1bbb13+=_0x2db747[_0x1bc193(0x1e5)]('*')[_0x1bc193(0x202)]((_0x5a113d,_0x4608c6)=>_0x4608c6%0x2!=0x0?_0x1bc193(0x1fe)+nn(_0x5a113d)+_0x1bc193(0x1e2):nn(_0x5a113d))[_0x1bc193(0x1f3)](''),_0x139178&&(_0x1bbb13+=_0x1bc193(0x1df)+_0x139178[_0x1bc193(0x1ea)]+_0x1bc193(0x1ff)+_0x139178[_0x1bc193(0x206)]+_0x1bc193(0x1f0)),_0x1bbb13;}function nn(_0x3e796d){const _0x55d80b=_0x2b77,_0xa5508=document[_0x55d80b(0x1fa)](_0x55d80b(0x1ef));return _0xa5508[_0x55d80b(0x1f6)]=_0x3e796d,_0xa5508[_0x55d80b(0x1f5)];}function _0x2b77(_0x1e8027,_0xa57df8){const _0x56ca87=_0x56ca();return _0x2b77=function(_0x2b7737,_0x2c4928){_0x2b7737=_0x2b7737-0x1dd;let _0xd8ce76=_0x56ca87[_0x2b7737];return _0xd8ce76;},_0x2b77(_0x1e8027,_0xa57df8);}export function sortSuggestions(_0x2c13c1){const _0x3287b4=_0x2b77;return _0x2c13c1[_0x3287b4(0x1fc)]((_0x55eb10,_0x1ebacb)=>_0x3287b4(0x200)==_0x55eb10[_0x3287b4(0x20e)]&&_0x3287b4(0x200)!=_0x1ebacb[_0x3287b4(0x20e)]?-0x1:_0x3287b4(0x200)!=_0x55eb10[_0x3287b4(0x20e)]&&_0x3287b4(0x200)==_0x1ebacb[_0x3287b4(0x20e)]?0x1:0x0);}export function getSelectedSuggestions(_0xf8c739,_0x2e5a0f){const _0x3c334d=_0x2b77,_0x4aedf7=Array[_0x3c334d(0x204)](_0xf8c739[_0x3c334d(0x1e4)]()),_0x4320fd=new Set();for(const _0x4743f9 of _0x2e5a0f)if(_0x4743f9[_0x3c334d(0x1f9)]){for(const _0x1f2f7d of _0x4aedf7)for(const _0x339b1d of _0x4743f9[_0x3c334d(0x1e4)]())(_0x1f2f7d[_0x3c334d(0x20a)](_0x339b1d)||_0xf8c739[_0x3c334d(0x1e6)]&&!_0x4743f9[_0x3c334d(0x1ec)]&&_0x4743f9[_0x3c334d(0x205)]&&_0x339b1d[_0x3c334d(0x1f2)][_0x3c334d(0x1f7)](_0x1f2f7d[_0x3c334d(0x1e8)]))&&_0x4320fd[_0x3c334d(0x208)](_0x4743f9);}return _0x4320fd;}export function getRangesOfBlockGroups(_0x4ebec5,_0x25bbad){const _0x1f68de=_0x2b77;let _0x4ab710,_0x118bde=0x0;const _0x198d37=[],_0x2c371e=_0x25bbad[_0x1f68de(0x1e3)];for(;_0x118bde<_0x4ebec5[_0x1f68de(0x1e9)];){const _0x3874da=_0x4ebec5[_0x118bde],_0x10023c=_0x4ebec5[_0x118bde+0x1];_0x4ab710||(_0x4ab710=_0x25bbad[_0x1f68de(0x1fd)](_0x3874da)),on(_0x25bbad,_0x3874da,_0x10023c)||(_0x198d37[_0x1f68de(0x1f8)](_0x25bbad[_0x1f68de(0x201)](_0x4ab710,_0x2c371e[_0x1f68de(0x1eb)](_0x3874da)?_0x25bbad[_0x1f68de(0x1f4)](_0x3874da):_0x25bbad[_0x1f68de(0x20f)](_0x3874da,_0x1f68de(0x1f2)))),_0x4ab710=null),_0x118bde++;}return _0x198d37;}function on(_0x5b3460,_0x519e1b,_0x5a35b5){const _0x91575e=_0x2b77;if(!_0x5a35b5)return!0x1;const _0x53244a=_0x5b3460[_0x91575e(0x1f4)](_0x519e1b),_0x31cd0c=_0x5b3460[_0x91575e(0x1fd)](_0x5a35b5);return _0x53244a[_0x91575e(0x1f7)](_0x31cd0c);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x148731,_0x20bbc5,_0x847717){const _0x3c6ca1=_0x2b77;for(;_0x847717[_0x3c6ca1(0x1e9)];){const _0x23cd3b=_0x847717[_0x3c6ca1(0x1ee)](0x0,0x64);_0x148731[_0x3c6ca1(0x1f1)](()=>{const _0x21adf5=_0x3c6ca1;for(const _0x3beae8 of _0x23cd3b)_0x3beae8[_0x21adf5(0x1f9)]&&_0x20bbc5[_0x21adf5(0x203)](_0x3beae8['id']);});}}
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
|
11
|
-
<svg viewBox="0 0 20 20"
|
|
11
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 2.28C2 1.574 2.574 1 3.272 1l11.456.001c.703 0 1.272.573 1.272 1.28v8.453l-1.5 1.464V2.465c0-.003-11-.005-11-.005V16.5h2.356c.124.225.28.434.462.62l.868.88-3.914-.001A1.274 1.274 0 0 1 2 16.719V2.28Z"/><path d="M14.525 18H9.293l-1.48-1.5h3.75l.332.336.344-.336H14.5v-2.207L16 12.83v3.73L14.525 18Z"/><path d="M9.706 12.638a2.838 2.838 0 0 0-1.38-.36 2.817 2.817 0 0 0-1.602.5H6.18a.635.635 0 0 1-.633-.639.64.64 0 0 1 .633-.639h3.133a.639.639 0 0 1 .393 1.138Z"/><path d="M5.546 6.154c0-.353.292-.64.636-.64h5.682a.637.637 0 0 1 .449 1.09.641.641 0 0 1-.449.188H6.182a.636.636 0 0 1-.635-.639l-.001.001Z"/><path d="M5.546 9.138c0-.352.292-.638.636-.638h5.682a.635.635 0 0 1 .45 1.088.641.641 0 0 1-.45.189H6.182a.636.636 0 0 1-.636-.639Z"/><path d="m13.117 19.374 6.192-6.044a1.316 1.316 0 0 0 0-1.876 1.354 1.354 0 0 0-1.899 0l-5.515 5.382-2.63-2.666a1.312 1.312 0 0 0-.938-.393 1.315 1.315 0 0 0-.939.394 1.354 1.354 0 0 0 0 1.898l3.49 3.538a1.317 1.317 0 0 0 1.447.29c.266-.11.587-.321.792-.523Z" style="fill: #1FB11F" /></svg>
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
|
11
|
-
<svg viewBox="0 0 20 20"
|
|
11
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 2.28C2 1.574 2.574 1 3.272 1l11.456.001c.703 0 1.272.573 1.272 1.28v8.106l-.889.899-.611-.619V2.465c0-.003-11-.005-11-.005V16.5h6.458l-.136.138-.003.003c-.372.378-.628.85-.745 1.359l-5.802-.001A1.274 1.274 0 0 1 2 16.719V2.28Z"/><path d="M14.338 18h-3.676c.06-.112.136-.216.227-.308l1.178-1.192H14.5v-3.699l.61.618.89-.899v4.199c0 .383-.168.726-.431.96l-.457-.462-.774.783Z"/><path d="M9.043 11.5a2.853 2.853 0 0 0 .066 1.278H6.18a.635.635 0 0 1-.632-.639.64.64 0 0 1 .633-.639h2.863Z"/><path d="M12.493 9.233a2.816 2.816 0 0 0-2.434.544H6.182a.636.636 0 0 1-.636-.639c0-.352.292-.638.636-.638h5.682a.635.635 0 0 1 .629.733Z"/><path d="M5.546 6.154c0-.353.292-.64.636-.64h5.682a.637.637 0 0 1 .449 1.09.641.641 0 0 1-.449.188H6.182a.636.636 0 0 1-.635-.639l-.001.001Z"/><path d="m15.11 13.42 2.348-2.374a1.318 1.318 0 0 1 1.877 0 1.354 1.354 0 0 1 0 1.9l-2.346 2.372 2.346 2.374a1.354 1.354 0 0 1 0 1.898 1.316 1.316 0 0 1-1.877 0l-2.346-2.373-2.346 2.373a1.316 1.316 0 0 1-1.877 0 1.354 1.354 0 0 1 0-1.898l2.346-2.374-2.346-2.373a1.354 1.354 0 0 1 0-1.899 1.318 1.318 0 0 1 1.877 0l2.346 2.374h-.001Z" style="fill: #DA2020"/></svg>
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
|
11
|
-
<svg viewBox="0 0 20 20"
|
|
11
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.182 5.514a.643.643 0 0 0-.636.64v-.001a.636.636 0 0 0 .636.639h5.682a.641.641 0 0 0 .636-.638.637.637 0 0 0-.636-.64H6.182Z"/><path d="M6.182 8.5a.642.642 0 0 0-.588.882.636.636 0 0 0 .588.395h5.682a.641.641 0 0 0 .636-.639.635.635 0 0 0-.636-.638H6.182Z"/><path d="M6.18 11.5a.64.64 0 0 0 0 1.278h3.133a.64.64 0 0 0 0-1.278H6.18Z"/><path d="m11.772 18.308.154-.23c-.195-.098-.304-.192-.328-.28-.024-.09 0-.274.076-.551.062-.166.099-.296.11-.393a2.934 2.934 0 0 0 0-.479c-.137-.41-.2-.685-.186-.83.013-.145.117-.335.313-.57l4.465-6.207c.356-.6 1.059-.56 2.11.118 1.05.68 1.443 1.272 1.177 1.772l-3.876 6.833c-.105.27-.22.444-.347.515-.128.07-.4.119-.813.139a2.954 2.954 0 0 0-.487.21c-.127.09-.244.193-.347.31-.193.174-.332.262-.416.262-.064 0-.178-.05-.346-.15l-.204.27-1.056-.739Zm-.184.274 1.039.727-.26.34h-1.496l.717-1.067Z"/><path clip-rule="evenodd" d="M3.272 1A1.28 1.28 0 0 0 2 2.28v14.439a1.276 1.276 0 0 0 1.272 1.28h6.838a2.13 2.13 0 0 1 .003-.61c.024-.18.066-.363.113-.534.012-.046.027-.092.043-.136.011-.029.02-.052.025-.069v-.008a7.395 7.395 0 0 1-.042-.142H3.5V2.46s11 .002 11 .005v6.341l.627-.872c.204-.32.49-.614.873-.819V2.281c0-.707-.569-1.28-1.272-1.28L3.272 1ZM16 9.29l-1.5 2.085V16.5h-2.708c.005.118.002.236-.007.354a.904.904 0 0 1-.013.075l-.001.005a3.108 3.108 0 0 1-.097.312c-.027.101-.048.19-.062.266a.734.734 0 0 0-.014.287.25.25 0 0 0 .068.105.65.65 0 0 0 .088.074l.017.011.016.01h.175L14.73 18c.697 0 1.271-.573 1.271-1.281v-7.43Z"/></svg>
|