@ckeditor/ckeditor5-collaboration-core 47.6.0-alpha.8 → 47.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.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 +13 -13
- package/src/documentcompare.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestions/integrations/alignment.js +1 -1
- package/src/suggestions/integrations/basicstyles.js +1 -1
- package/src/suggestions/integrations/bookmark.js +1 -1
- package/src/suggestions/integrations/font.js +1 -1
- package/src/suggestions/integrations/footnotes.js +1 -1
- package/src/suggestions/integrations/highlight.js +1 -1
- package/src/suggestions/integrations/horizontalline.js +1 -1
- package/src/suggestions/integrations/htmlembed.js +1 -1
- package/src/suggestions/integrations/image.js +1 -1
- package/src/suggestions/integrations/indent.js +1 -1
- package/src/suggestions/integrations/lineheight.js +1 -1
- package/src/suggestions/integrations/link.js +1 -1
- package/src/suggestions/integrations/list.js +1 -1
- package/src/suggestions/integrations/listproperties.js +1 -1
- package/src/suggestions/integrations/mediaembed.js +1 -1
- package/src/suggestions/integrations/multilevellist.js +1 -1
- package/src/suggestions/integrations/shiftenter.js +1 -1
- package/src/suggestions/integrations/style.js +1 -1
- package/src/suggestions/integrations/table.js +1 -1
- package/src/suggestions/integrations/tablecellproperties.js +1 -1
- package/src/suggestions/integrations/tableheadings.js +1 -1
- package/src/suggestions/integrations/tablelayout.js +1 -1
- package/src/suggestions/integrations/tableproperties.js +1 -1
- package/src/suggestions/integrations/uploadcare.js +1 -1
- package/src/suggestions/suggestionsconversion.js +1 -1
- package/src/suggestions/view/ariadescriptionview.js +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/setupthreadkeyboardnavigation.js +1 -1
- package/src/utils/suggestionmarkerutils.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0x30cb59,Editor as _0x5ba126,Plugin as _0x125212}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4b3cdf,Collection as _0x5edf31,uid as _0x2eb5d1,toArray as rt,first as _0x4bc8c2,FocusTracker as _0x5ed173,KeystrokeHandler as _0x2ed7d2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x3fc88d,IconView as st,ButtonView as ts,DropdownButtonView as _0x4effb6,FocusCycler as _0x1ea549,isViewWithFocusCycler as _0x5dea2b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as it,IconCheck as _0x2b8e36,IconCancel as _0x423d6e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as at,toWidget as _0x17e815}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x19b8dd,MoveOperation as _0x16c329,ModelPosition as _0x3e6074,ModelRange as _0xf97322,MarkerOperation as _0x2d2325,MergeOperation as _0x449d09,SplitOperation as _0x538f65,RenameOperation as _0xd699c5,AttributeOperation as _0x4e6230,ModelTreeWalker as _0x50227b,ModelText as _0x40132f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x22e7fa}from'diff';class C extends _0x30cb59{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x75ebbe,_0x44e88e){let _0x37bbb2;if(_0x44e88e||(_0x44e88e=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x44e88e?_0x37bbb2=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x37bbb2=this['context']['editors']['find'](_0x252de9=>_0x252de9['config']['get']('collaboration.channelId')==_0x44e88e)),!_0x37bbb2)throw new _0x4b3cdf('permissions-set-permissions-invalid-channel-id',null);const _0x5360cf=_0x37bbb2['plugins'],_0xefdffb=_0x5360cf['has']('CommentsRepository')?_0x5360cf['get']('CommentsRepository'):void 0x0,_0x42bc58=_0x5360cf['has']('CommentsOnly')&&_0x5360cf['get']('CommentsOnly'),_0x327378=_0x75ebbe['includes']('document:write'),_0x27de82=_0x75ebbe['includes']('comment:modify_all'),_0x3e08a8=_0x75ebbe['includes']('comment:admin'),_0x35fb29=_0x75ebbe['includes']('comment:write'),_0x56067b=_0x35fb29||_0x3e08a8,_0x3840a1=_0x56067b||_0x27de82,_0x234901=_0x327378||_0x56067b;(_0x42bc58&&(_0x42bc58['isEnabled']=!_0x327378&&_0x3840a1),_0x37bbb2 instanceof _0x5ba126)&&(!(_0x327378||_0x3840a1&&_0xefdffb)?_0x37bbb2['enableReadOnlyMode']('no-permissions'):_0x37bbb2['disableReadOnlyMode']('no-permissions'));if(_0xefdffb){_0xefdffb['setPermissions']({'admin':_0x3e08a8,'modifyAll':_0x27de82,'write':_0x35fb29,'resolve':_0x234901},_0x44e88e);const _0x322c3b=_0x37bbb2 instanceof _0x5ba126&&_0x37bbb2['commands']['get']('addCommentThread');_0x322c3b&&(_0x56067b?_0x322c3b['clearForceDisabled']('noPermissions'):_0x322c3b['forceDisabled']('noPermissions'));}}}function U(_0x26b88b,_0xa911ef){const t=_0x26b88b['t'];switch(_0xa911ef){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class ct extends _0x30cb59{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}constructor(_0x38555b){super(_0x38555b),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x5edf31(),this['_locale']=_0x38555b['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x2c67e8,name:_0x345035,..._0x2e8c0d}){if(!_0x2c67e8||'string'!=typeof _0x2c67e8)throw new _0x4b3cdf('users-add-invalid-id');if(this['users']['has'](_0x2c67e8))throw new _0x4b3cdf('users-add-duplicated-id',null,{'id':_0x2c67e8});const _0xf0d34f=this['context']['config']['get']('users.getInitialsCallback'),_0x13f9bc={..._0x2e8c0d,'id':_0x2c67e8,'name':A(this['_locale'],_0x345035),'color':this['_getNextColor']()};_0x13f9bc['name']=A(this['_locale'],_0x13f9bc['name']);const _0x421123=new lt(_0x13f9bc,_0xf0d34f);return this['users']['add'](_0x421123),_0x421123;}['getUser'](_0x493222){return this['users']['get'](_0x493222);}['useAnonymousUser'](){const _0x530dc3=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x530dc3);}['defineMe'](_0x567e40){if(this['_myId'])throw new _0x4b3cdf('users-me-already-defined',null);const _0x3c3bc8=this['getUser'](_0x567e40);if(!_0x3c3bc8)throw new _0x4b3cdf('users-me-missing-user',null);this['_myId']=_0x567e40,_0x3c3bc8['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x4d06e2=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x4d06e2&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x384714=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x384714,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x476999,_0x512f87){this['id']=_0x476999['id'],this['color']=_0x476999['color'],this['name']=_0x476999['name'],this['initials']=_0x512f87?_0x512f87(this['name']):this['_computeInitials'](),this['avatar']=_0x476999['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x4b6ee3=this['name']['split']('\x20')['filter'](_0x501fd9=>/^[\p{Letter}]/u['test'](_0x501fd9));return 0x1===_0x4b6ee3['length']?this['_getInitial'](_0x4b6ee3[0x0]):0x0===_0x4b6ee3['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x4b6ee3[0x0])+this['_getInitial'](_0x4b6ee3[_0x4b6ee3['length']-0x1]);}['_getInitial'](_0x3a58b3){return String['fromCodePoint'](_0x3a58b3['codePointAt'](0x0))['toUpperCase']();}}function A(_0x13b549,_0x4f656c=''){return''==(_0x4f656c=_0x4f656c['trim']())?U(_0x13b549,'Anonymous'):_0x4f656c;}class ut{['_id'];constructor(_0x35dc06){this['_id']=_0x35dc06;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}}class ht extends _0x3fc88d{['name'];['notificationView'];constructor(_0x262fad,_0x138006,_0x26e6aa){super(_0x262fad),this['name']=_0x138006['name'],this['notificationView']=null;const _0x340874=['ck','ck-user'],_0x382835=['ck','ck-user__img'];if(_0x138006['isAnonymous']&&_0x382835['push']('ck-user__anonymous'),!_0x138006['isAnonymous']&&_0x138006['isMe']&&_0x340874['push']('ck-user_me'),_0x138006['avatar']&&_0x382835['push']('ck-user__avatar'),_0x26e6aa){const _0x5c3be2=new st();_0x5c3be2['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x5c3be2['content']=it,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x26e6aa},'children':[_0x5c3be2]};}const _0x18c505=[{'tag':'div','attributes':{'class':_0x382835,'style':{'background-image':_0x138006['avatar']?'url(\x27'+_0x138006['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x138006['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x138006['name']},'children':[{'text':_0x138006['initials']}]}];this['notificationView']&&_0x18c505['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x340874,'data-user-id':_0x138006['id']},'children':_0x18c505});}}class dt extends _0x3fc88d{['id'];constructor(_0x20f62e,_0x27c017){super(_0x20f62e),this['id']='ck-aria-description-'+_0x2eb5d1(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x27c017}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x4effb6{['render'](){super['render'](),re(this);}}function re(_0x45d2d9){_0x45d2d9['listenTo'](_0x45d2d9['element'],'mousedown',(_0x1cfffe,_0x535f13)=>{_0x535f13['stopPropagation'](),_0x535f13['preventDefault']();}),_0x45d2d9['listenTo'](_0x45d2d9['element'],'mouseup',()=>{_0x45d2d9['element']['focus']();});}function v(_0x29cb6a){const _0x43f5e0=_0x29cb6a['split'](':');return{'group':_0x43f5e0[0x0],'type':_0x43f5e0[0x1],'subType':_0x43f5e0['length']>=0x5?_0x43f5e0[0x2]:null,'id':_0x43f5e0['length']<0x5?_0x43f5e0[0x2]:_0x43f5e0[0x3],'authorId':_0x43f5e0['length']<0x5?_0x43f5e0[0x3]:_0x43f5e0[0x4],'markerCount':0x6==_0x43f5e0['length']?_0x43f5e0[0x5]:null};}function mt(_0x4253ec,_0x133307){const _0x3964f7=_0x4253ec['end']['nodeBefore'];if(_0x3964f7&&_0x3964f7['is']('element')&&_0x133307['schema']['isBlock'](_0x3964f7)&&!_0x133307['schema']['isObject'](_0x3964f7)){const _0x248757=_0x133307['createPositionAt'](_0x3964f7,'end');return _0x133307['createRange'](_0x4253ec['start'],_0x248757);}return _0x4253ec;}class M extends _0x125212{['afterInit'](){const _0x28e00a=this['editor'];if(!_0x28e00a['plugins']['has']('AlignmentEditing'))return;_0x28e00a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x125212{['afterInit'](){const _0x3bde30=this['editor'],_0x13f1d8=_0x3bde30['plugins']['get']('SuggestionsConversion');for(const _0x2421ac of ii){if(!_0x3bde30['plugins']['has'](_0x2421ac))continue;const _0x5cf95f=_0x2421ac['slice'](0x0,-0x7)['toLowerCase']();_0x13f1d8['registerInlineAttribute'](_0x5cf95f);}}}class I extends _0x125212{['afterInit'](){const _0x30a05f=this['editor'],_0xf44c7e=_0x30a05f['plugins']['get']('SuggestionsConversion');_0x30a05f['plugins']['has']('BookmarkEditing')&&_0xf44c7e['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x125212{['afterInit'](){const _0x3242a2=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x5557fb,commandName:_0xbc4406}of no)this['editor']['plugins']['has'](_0x5557fb)&&_0x3242a2['registerInlineAttribute'](_0xbc4406);}}class T extends _0x125212{['afterInit'](){const {editor:_0x1b0054}=this;if(!_0x1b0054['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x25bb00=_0x1b0054['plugins']['get']('SuggestionsConversion');_0x25bb00['registerBlockAttribute']('footnotesListStyle'),_0x25bb00['registerBlockAttribute']('footnotesListStart');}}class E extends _0x125212{['afterInit'](){const _0x5f0a3e=this['editor'];if(!_0x5f0a3e['plugins']['has']('HighlightEditing'))return;_0x5f0a3e['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x125212{['afterInit'](){const _0x22989a=this['editor'];if(!_0x22989a['plugins']['has']('HtmlEmbed'))return;_0x22989a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x125212{['afterInit'](){const _0x169e76=this['editor'];if(!_0x169e76['plugins']['has']('ImageEditing'))return;const _0x573ed1=_0x169e76['plugins']['get']('SuggestionsConversion');_0x573ed1['registerBlockAttribute']('src'),_0x169e76['plugins']['has']('ImageResize')&&_0x573ed1['registerBlockAttribute']('resizedWidth'),_0x169e76['plugins']['has']('ImageTextAlternativeEditing')&&_0x573ed1['registerBlockAttribute']('alt'),_0x169e76['plugins']['has']('PictureEditing')&&_0x573ed1['registerBlockAttribute']('sources'),_0x169e76['plugins']['has']('ImageSizeAttributes')&&(_0x573ed1['registerBlockAttribute']('width'),_0x573ed1['registerBlockAttribute']('height'));}}class x extends _0x125212{['afterInit'](){const _0x266937=this['editor'],_0x236c1e=_0x266937['plugins']['get']('SuggestionsConversion');_0x266937['plugins']['has']('IndentBlock')&&(_0x236c1e['registerBlockAttribute']('blockIndent'),_0x266937['plugins']['has']('ListEditing')&&(_0x236c1e['registerBlockAttribute']('blockIndentList'),_0x236c1e['registerBlockAttribute']('blockIndentListItem')));}}class H extends _0x125212{['afterInit'](){const _0x1bd6e6=this['editor'];if(!_0x1bd6e6['plugins']['has']('LineHeight'))return;_0x1bd6e6['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x125212{['afterInit'](){const _0x36d7b9=this['editor'];if(!_0x36d7b9['plugins']['has']('LinkEditing'))return;const _0x5270d7=_0x36d7b9['plugins']['get']('SuggestionsConversion'),_0x3a6cf3=_0x36d7b9['commands']['get']('link');_0x5270d7['registerInlineAttribute']('linkHref');for(const _0x512279 of _0x3a6cf3['manualDecorators'])_0x5270d7['registerInlineAttribute'](_0x512279['id']);}}class P extends _0x125212{['afterInit'](){const _0x5e60b4=this['editor'];if(!_0x5e60b4['plugins']['has']('ListEditing'))return;const _0x4dae8d=_0x5e60b4['plugins']['get']('SuggestionsConversion'),_0x211e53=_0x5e60b4['plugins']['has']('TodoListEditing');_0x4dae8d['registerBlockAttribute']('listItemId'),_0x4dae8d['registerBlockAttribute']('listType'),_0x4dae8d['registerBlockAttribute']('listIndent'),_0x211e53&&_0x4dae8d['registerBlockAttribute']('todoListChecked');}}class K extends _0x125212{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x752af1=this['editor']['config']['get']('list.properties'),_0x330ed4=this['editor']['plugins']['get']('SuggestionsConversion');_0x752af1['styles']&&_0x330ed4['registerBlockAttribute']('listStyle'),_0x752af1['reversed']&&_0x330ed4['registerBlockAttribute']('listReversed'),_0x752af1['startIndex']&&_0x330ed4['registerBlockAttribute']('listStart');}}class q extends _0x125212{['afterInit'](){const _0x4bba91=this['editor'],_0x1fdb9c=_0x4bba91['plugins']['get']('SuggestionsConversion');_0x4bba91['plugins']['has']('MultiLevelList')&&_0x1fdb9c['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x125212{['afterInit'](){const _0x179f0a=this['editor'];if(!_0x179f0a['plugins']['has']('Style')||!_0x179f0a['plugins']['has']('DataSchema')||!_0x179f0a['config']['get']('style.definitions'))return;const _0xb582ef=_0x179f0a['plugins']['get']('SuggestionsConversion'),_0x4b0c76=_0x179f0a['config']['get']('style.definitions'),_0xd03db2=_0x179f0a['plugins']['get']('GeneralHtmlSupport'),_0x1b309f=_0x179f0a['plugins']['get']('StyleUtils')['normalizeConfig'](_0x179f0a['plugins']['get']('DataSchema'),_0x4b0c76),_0x3ae2c8=new Set();for(const _0x1a173c of _0x1b309f['block']){const _0x175153=_0xd03db2['getGhsAttributeNameForElement'](_0x1a173c['element']);_0x3ae2c8['add'](_0x175153);}const _0x512f3e=new Set();for(const _0x3a5370 of _0x1b309f['inline']){const _0x249de4=_0xd03db2['getGhsAttributeNameForElement'](_0x3a5370['element']);_0x512f3e['add'](_0x249de4);for(const _0x1e154b of _0x3a5370['ghsAttributes'])_0x512f3e['add'](_0x1e154b);}for(const _0x531413 of _0x3ae2c8)_0xb582ef['registerBlockAttribute'](_0x531413);for(const _0x3e8ef2 of _0x512f3e)_0xb582ef['registerInlineAttribute'](_0x3e8ef2);}}class O extends _0x125212{['afterInit'](){const _0x1187ac=this['editor'];if(!_0x1187ac['plugins']['has']('TableEditing'))return;const _0x2fbda0=_0x1187ac['plugins']['get']('SuggestionsConversion');_0x2fbda0['registerBlockAttribute']('headingRows'),_0x2fbda0['registerBlockAttribute']('headingColumns');}}class R extends _0x125212{['afterInit'](){const {plugins:_0x26facd}=this['editor'];if(!_0x26facd['has']('TablePropertiesEditing'))return;const _0x1e5622=_0x26facd['get']('SuggestionsConversion'),_0x320116=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x157c55 of _0x320116)_0x1e5622['registerBlockAttribute'](_0x157c55);}}class F extends _0x125212{['afterInit'](){const _0x4b956f=this['editor'],_0x2dd69b=_0x4b956f['plugins']['get']('SuggestionsConversion');_0x4b956f['plugins']['has']('TableLayout')&&_0x2dd69b['registerBlockAttribute']('tableType');}}class G extends _0x125212{['afterInit'](){const _0x5e60f7=this['editor'],_0x4a5843=this['editor']['plugins']['get']('SuggestionsConversion');_0x5e60f7['plugins']['has']('Uploadcare')&&_0x5e60f7['plugins']['has']('UploadcareImageEdit')&&_0x4a5843['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x125212{['afterInit'](){const _0x28acda=this['editor'];if(!_0x28acda['plugins']['has']('ShiftEnter'))return;const _0x3f1cb4=_0x28acda['plugins']['get']('SuggestionsConversion'),_0xba8e38=(_0x323995,_0x3ae5f6,_0x171f5d,_0x269185)=>{if(_0x269185&&!_0x171f5d['options']['showSuggestionHighlights'])return;if(!_0x171f5d['consumable']['test'](_0x3ae5f6['markerRange'],_0x323995['name']))return;const _0x3243d0=_0x28acda['model'];for(const _0x13404d of _0x3ae5f6['markerRange']['getItems']()){if(!_0x13404d['is']('element','softBreak'))continue;const _0x45b1dc='deletion'==_0x3ae5f6['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x274164,authorId:_0xeddc89}=v(_0x3ae5f6['markerName']),_0xf45a17=_0x171f5d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x45b1dc,'data-suggestion':_0x274164,'data-author-id':_0xeddc89}),_0x347792=_0x171f5d['mapper']['toViewPosition'](_0x3243d0['createPositionBefore'](_0x13404d));!_0x269185&&_0x3f1cb4['_activeMarkers']['includes'](_0x3ae5f6['markerName'])&&_0x171f5d['writer']['addClass']('ck-suggestion-marker--active',_0xf45a17),_0x171f5d['writer']['insert'](_0x347792,_0xf45a17),_0x171f5d['mapper']['bindElementToMarker'](_0xf45a17,_0x3ae5f6['markerName']);}};_0x28acda['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x17032b,_0x5e0f22,_0x364553)=>{_0xba8e38(_0x17032b,_0x5e0f22,_0x364553,!0x1);},{'priority':'high'}),_0x28acda['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x1aedbd,_0x1b0cec,_0x1a8c07)=>{_0xba8e38(_0x1aedbd,_0x1b0cec,_0x1a8c07,!0x0);},{'priority':'high'});}}class L extends _0x125212{['afterInit'](){const _0x58808b=this['editor'];_0x58808b['plugins']['has']('MediaEmbedEditing')&&(_0x58808b['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x1170cb,{writer:_0x53e7a5,options:_0x323e53})=>{if(_0x323e53['showSuggestionHighlights'])return _0x53e7a5['createEmptyElement']('div');},'converterPriority':'high'}),_0x58808b['data']['downcastDispatcher']['on']('attribute:url:media',(_0x52f4bb,_0x695ee5,_0x38bae5)=>{_0x38bae5['options']['showSuggestionHighlights']&&_0x52f4bb['stop']();},{'priority':'high'}));}}class Q extends _0x125212{['afterInit'](){const _0x4971f6=this['editor'];if(!_0x4971f6['plugins']['has']('Table'))return;_0x4971f6['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x1fb4d9,_0x3b2350,_0x769b10)=>{((_0x11bd1d,_0x449572,_0x5a79c7)=>{if(!_0x5a79c7['options']['showSuggestionHighlights'])return;const _0x100739=_0x449572['item'];if(!_0x100739||!_0x100739['is']('element','tableCell'))return;const _0x474608=_0x5a79c7['mapper']['toViewElement'](_0x100739);if(_0x474608){const {id:_0x331b8e,authorId:_0x47dd11}=v(_0x449572['markerName']);at(_0x474608,_0x5a79c7['writer'],(_0x55a31f,_0x7997a9,_0x4acf3d)=>{_0x4acf3d['addClass'](rt(_0x7997a9['classes']),_0x55a31f),_0x4acf3d['setAttribute']('data-suggestion-id',_0x331b8e,_0x55a31f),_0x4acf3d['setAttribute']('data-author-id',_0x47dd11,_0x55a31f);});}})(0x0,_0x3b2350,_0x769b10);},{'priority':'highest'});}}class V extends _0x125212{['afterInit'](){const _0x25e57e=this['editor'];_0x25e57e['plugins']['has']('HorizontalLineEditing')&&_0x25e57e['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x34b9ac,{writer:_0x28f257,options:_0x549adc})=>{if(!_0x549adc['showSuggestionHighlights'])return null;const _0x4d4d10=_0x28f257['createContainerElement']('div'),_0x4f332e=_0x28f257['createEmptyElement']('hr');return _0x28f257['addClass']('ck-horizontal-line',_0x4d4d10),_0x28f257['insert'](_0x28f257['createPositionAt'](_0x4d4d10,0x0),_0x4f332e),_0x4d4d10;},'converterPriority':'high'});}}class W extends _0x125212{['afterInit'](){const {plugins:_0x335d8c,model:_0x2d72a8}=this['editor'];if(!_0x335d8c['has']('TableCellPropertiesEditing'))return;const _0x5448b7=_0x335d8c['get']('SuggestionsConversion'),_0x5a2970=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x4a04d7 of _0x5a2970)_0x5448b7['registerBlockAttribute'](_0x4a04d7);_0x2d72a8['schema']['checkAttribute']('tableCell','tableCellType')&&_0x5448b7['registerBlockAttribute']('tableCellType');}}class kt extends _0x125212{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[M,D,I,B,T,E,V,S,$,x,H,N,P,K,L,q,J,z,Q,O,F,W,R,G];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x130eaf=this['editor'],_0x444358=(_0x1586ed,_0x1834cd,_0x54728d)=>{const {id:_0x2736ed,authorId:_0x4b40eb,type:_0x5f569c,subType:_0x9c7c94}=v(_0x1586ed['markerName']),_0x282848=['ck-suggestion-marker',this['_getClassName'](_0x5f569c,_0x9c7c94)];let _0x378ad7=0xbb8;return!_0x54728d&&(this['_activeMarkers']['includes'](_0x1586ed['markerName'])&&(_0x282848['push']('ck-suggestion-marker--active'),_0x378ad7=0xbc2)),('deletion'==_0x5f569c&&(_0x378ad7+=0x5),{'classes':_0x282848,'attributes':{'data-suggestion':_0x2736ed,'data-author-id':_0x4b40eb},'priority':_0x378ad7});};_0x130eaf['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x8eda51,_0x4774f4)=>_0x444358(_0x8eda51,0x0,!0x1)}),_0x130eaf['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0xbc5810,_0x601f8c)=>_0x444358(_0xbc5810,0x0,!0x0)}),_0x130eaf['conversion']['for']('dataDowncast')['add'](_0xbd0878=>{_0xbd0878['on']('addMarker:suggestion',(_0x33374d,_0x51d775,_0xcb2a61)=>{if(!_0xcb2a61['options']['showSuggestionHighlights'])return;const _0x4fc020=_0x51d775['item'];if(!_0x4fc020)return;const _0x2196d4=_0xcb2a61['mapper']['toViewElement'](_0x4fc020);_0x130eaf['model']['schema']['isObject'](_0x4fc020)&&_0x2196d4&&!_0x2196d4['getCustomProperty']('widget')&&_0x2196d4['is']('containerElement')&&_0x17e815(_0x2196d4,_0xcb2a61['writer']);},{'priority':'high'});});const _0x23c4cb=(_0x17c474,_0x5c4870,_0x1849e7,_0xda4925,_0x443b63)=>{if(_0xda4925&&!_0x1849e7['options']['showSuggestionHighlights'])return;if(!_0x5c4870['item'])return;const {id:_0x3d84ba,authorId:_0x388a52,subType:_0x1c5dad}=v(_0x5c4870['markerName']);if(_0x443b63){const _0xfd9ce5=_0x1c5dad['split']('|')[0x0];if(!this['isBlockAttribute'](_0xfd9ce5))return;}if(_0x5c4870['item']['is']('selection'))return void _0x1849e7['consumable']['consume'](_0x5c4870['item'],_0x17c474['name']);const _0x494cca=_0x1849e7['mapper']['toViewElement'](_0x5c4870['item']);if(_0x5c4870['item']['is']('element')&&_0x130eaf['model']['schema']['isBlock'](_0x5c4870['item'])&&!_0x494cca['getCustomProperty']('addHighlight')){_0x1849e7['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x494cca),_0x1849e7['writer']['setAttribute']('data-suggestion',_0x3d84ba,_0x494cca),_0x1849e7['writer']['setAttribute']('data-author-id',_0x388a52,_0x494cca),_0x1849e7['mapper']['bindElementToMarker'](_0x494cca,_0x5c4870['markerName']),_0xda4925||(this['_activeMarkers']['includes'](_0x5c4870['markerName'])?_0x1849e7['writer']['addClass']('ck-suggestion-marker--active',_0x494cca):_0x1849e7['writer']['removeClass']('ck-suggestion-marker--active',_0x494cca));for(const _0x50dc22 of _0x130eaf['model']['createRangeIn'](_0x5c4870['item'])['getItems']())_0x1849e7['consumable']['consume'](_0x50dc22,_0x17c474['name']);_0x1849e7['consumable']['consume'](_0x5c4870['item'],_0x17c474['name']);}},_0x1667e8=(_0x2b75ca,_0x470653,_0x5ac776,_0x44a07a)=>{const _0x3bc4a0=_0x5ac776['mapper']['markerNameToElements'](_0x470653['markerName']);if(_0x3bc4a0){if(_0x44a07a){const {subType:_0xcb95ed}=v(_0x470653['markerName']),_0x34f733=_0xcb95ed['split']('|')[0x0];if(!this['isBlockAttribute'](_0x34f733))return;}for(const _0x47390d of _0x3bc4a0)_0x47390d['getCustomProperty']('addHighlight')||(_0x5ac776['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x47390d),_0x5ac776['writer']['removeAttribute']('data-suggestion',_0x47390d),_0x5ac776['writer']['removeAttribute']('data-author-id',_0x47390d),_0x5ac776['mapper']['unbindElementFromMarkerName'](_0x47390d,_0x470653['markerName']));}};_0x130eaf['conversion']['for']('editingDowncast')['add'](_0x5ebe6b=>{_0x5ebe6b['on']('addMarker:suggestion:formatBlock',(_0x170270,_0x3446d0,_0x4c5e1a)=>{_0x23c4cb(_0x170270,_0x3446d0,_0x4c5e1a,!0x1,!0x1);},{'priority':'high'});}),_0x130eaf['conversion']['for']('editingDowncast')['add'](_0x527b3b=>{_0x527b3b['on']('addMarker:suggestion:attribute',(_0xcba1a8,_0x573d99,_0x1da38a)=>{_0x23c4cb(_0xcba1a8,_0x573d99,_0x1da38a,!0x1,!0x0);},{'priority':'high'});}),_0x130eaf['conversion']['for']('editingDowncast')['add'](_0x573ca4=>{_0x573ca4['on']('removeMarker:suggestion:formatBlock',(_0x208863,_0x4d1cb0,_0x2f7752)=>{_0x1667e8(0x0,_0x4d1cb0,_0x2f7752,!0x1);},{'priority':'high'});}),_0x130eaf['conversion']['for']('editingDowncast')['add'](_0x36ca40=>{_0x36ca40['on']('removeMarker:suggestion:attribute',(_0x1a8f7e,_0x52b1cd,_0x3c9562)=>{_0x1667e8(0x0,_0x52b1cd,_0x3c9562,!0x0);},{'priority':'high'});}),_0x130eaf['conversion']['for']('dataDowncast')['add'](_0x4cf71a=>{_0x4cf71a['on']('addMarker:suggestion:formatBlock',(_0x115cd8,_0x21345c,_0x20035a)=>{_0x23c4cb(_0x115cd8,_0x21345c,_0x20035a,!0x0,!0x1);},{'priority':'highest'});}),_0x130eaf['conversion']['for']('dataDowncast')['add'](_0xd139fd=>{_0xd139fd['on']('addMarker:suggestion:attribute',(_0x2bda71,_0x3d1b67,_0x5866e7)=>{_0x23c4cb(_0x2bda71,_0x3d1b67,_0x5866e7,!0x0,!0x0);},{'priority':'highest'});}),_0x130eaf['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x5bfa0d,_0x194b1f)=>{if(_0x194b1f['options']['showSuggestionHighlights']){const {id:_0x592a0a,authorId:_0x4c164a}=v(_0x5bfa0d);return _0x5bfa0d['includes'](':split')||_0x5bfa0d['includes'](':merge')?{'group':'suggestion','name':_0x5bfa0d['substr'](0xb),'attributes':{'data-suggestion':_0x592a0a,'data-author-id':_0x4c164a}}:null;}return{'group':'suggestion','name':_0x5bfa0d['substr'](0xb)};}});const _0x44b318=(_0x196c5e,_0x4468c3,_0x13952d,_0x1d22f3,_0x4e7f1e)=>{if(_0x1d22f3&&!_0x13952d['options']['showSuggestionHighlights'])return;if(!_0x13952d['consumable']['test'](_0x4468c3['markerRange'],_0x196c5e['name']))return;const _0x549678=this['_activeMarkers'],_0x423eba=_0x4468c3['markerRange']['getWalker'](),_0x970e1d=_0x4468c3['markerRange']['start'],_0x4574ad=_0x130eaf['model']['schema'];let _0x22c060=null,_0x1329f3=null,_0x3bed19=!0x1,_0x3c78f7=!0x1;for(const _0x4ac982 of _0x423eba){const _0xe23921=_0x4ac982['item'];_0x3bed19=_0x3bed19||_0x4574ad['isContent'](_0xe23921);const _0x231e44=_0x13952d['mapper']['toViewElement'](_0xe23921);if(_0x231e44&&_0x231e44['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4ac982['type']&&(_0x4574ad['isBlock'](_0xe23921)&&!_0x4574ad['isLimit'](_0xe23921)&&(_0xe23921['nextSibling']||_0x970e1d['isAtEnd']?_0x22c060&&_0x22c060['parent']==_0xe23921||(_0x22c060=_0xe23921,_0x2a1b07(_0x4ac982['previousPosition']),_0x3c78f7=!0x0):_0x1329f3=_0x1329f3||_0x4ac982['previousPosition']));}function _0x2a1b07(_0x5baef2){const {id:_0x330d6e,authorId:_0x2e3f42}=v(_0x4468c3['markerName']),_0x2c489a=_0x13952d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4e7f1e,'data-suggestion':_0x330d6e,'data-author-id':_0x2e3f42}),_0x43bca5=_0x13952d['mapper']['toViewPosition'](_0x5baef2);!_0x1d22f3&&_0x549678['includes'](_0x4468c3['markerName'])&&_0x13952d['writer']['addClass']('ck-suggestion-marker--active',_0x2c489a),_0x13952d['writer']['insert'](_0x43bca5,_0x2c489a),_0x13952d['mapper']['bindElementToMarker'](_0x2c489a,_0x4468c3['markerName']);}_0x3bed19||_0x3c78f7||!_0x1329f3||_0x2a1b07(_0x1329f3);};_0x130eaf['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4e3c5f,_0x3c61f5,_0x45d43a)=>{_0x44b318(_0x4e3c5f,_0x3c61f5,_0x45d43a,!0x1,'merge');},{'priority':'high'}),_0x130eaf['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2d421c,_0x3a7fc6,_0x5bef20)=>{_0x44b318(_0x2d421c,_0x3a7fc6,_0x5bef20,!0x0,'merge');},{'priority':'high'}),_0x130eaf['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1c351a,_0x4f639a,_0x8a2388)=>{_0x44b318(_0x1c351a,_0x4f639a,_0x8a2388,!0x1,'split');},{'priority':'high'}),_0x130eaf['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x484a34,_0x286aaa,_0x292a23)=>{_0x44b318(_0x484a34,_0x286aaa,_0x292a23,!0x0,'split');},{'priority':'high'}),_0x130eaf['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x41bd2,_0x40bac1,_0x1a3d61)=>{((_0x50b2de,_0x4e71ea,_0x2c3d98)=>{const _0x1d68be=_0x2c3d98['mapper']['markerNameToElements'](_0x4e71ea['markerName']);if(_0x1d68be){for(const _0x31d37a of _0x1d68be)(_0x31d37a['hasClass']('ck-suggestion-marker-split')||_0x31d37a['hasClass']('ck-suggestion-marker-merge'))&&(_0x2c3d98['mapper']['unbindElementFromMarkerName'](_0x31d37a,_0x4e71ea['markerName']),_0x2c3d98['writer']['remove'](_0x31d37a));}})(0x0,_0x40bac1,_0x1a3d61);},{'priority':'high'});const _0x9ae832=(_0x43e1f3,_0x1419ad,_0x10daa3,_0x443b23)=>{if(_0x443b23&&!_0x10daa3['options']['showSuggestionHighlights'])return;const _0x40c21c=_0x1419ad['markerRange']['start'],_0x4f6ece=_0x1419ad['markerRange']['end'],_0x5e5b05=_0x130eaf['model']['schema'];if(!_0x40c21c['isTouching'](_0x4f6ece)||!_0x40c21c['nodeAfter'])return;const _0x1a93ec=_0x40c21c['nodeAfter'];if(_0x5e5b05['isBlock'](_0x1a93ec)&&!_0x5e5b05['isLimit'](_0x1a93ec)&&_0x5e5b05['checkChild'](_0x1a93ec,'$text')){if(!_0x10daa3['consumable']['consume'](_0x1419ad['markerRange'],_0x43e1f3['name']))return;const {id:_0x25ecc4,authorId:_0x216f10}=v(_0x1419ad['markerName']),_0x3af0a1=_0x10daa3['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x25ecc4,'data-author-id':_0x216f10}),_0x145ae8=_0x10daa3['mapper']['toViewPosition'](_0x4f6ece);!_0x443b23&&this['_activeMarkers']['includes'](_0x1419ad['markerName'])&&_0x10daa3['writer']['addClass']('ck-suggestion-marker--active',_0x3af0a1),_0x10daa3['writer']['insert'](_0x145ae8,_0x3af0a1),_0x10daa3['mapper']['bindElementToMarker'](_0x3af0a1,_0x1419ad['markerName']);}};_0x130eaf['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1103f3,_0x3f4fde,_0x5bb4e2)=>{_0x9ae832(_0x1103f3,_0x3f4fde,_0x5bb4e2,!0x1);},{'priority':'high'}),_0x130eaf['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x30f485,_0x128c80,_0x233669)=>{_0x9ae832(_0x30f485,_0x128c80,_0x233669,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x559914,_0x32492,_0x2a23ca)=>{this['_activeMarkers']=_0x2a23ca['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0xf22c3e){this['_blockAttributeKeys']['add'](_0xf22c3e);}['registerInlineAttribute'](_0x330877){this['_inlineAttributeKeys']['add'](_0x330877);}['isBlockAttribute'](_0x5a149a){return this['_blockAttributeKeys']['has'](_0x5a149a);}['isInlineAttribute'](_0x6b6772){return this['_inlineAttributeKeys']['has'](_0x6b6772);}['isRegisteredAttribute'](_0x108d84){return this['isInlineAttribute'](_0x108d84)||this['isBlockAttribute'](_0x108d84);}['_getClassName'](_0x453632,_0x438031){if('attribute'!=_0x453632)return'ck-suggestion-marker-'+_0x453632;const _0x439717=_0x438031['split']('|')[0x0];return this['isBlockAttribute'](_0x439717)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x15b849={},_0x2343f0){if(void 0x0!==_0x15b849['dateTimeFormat']&&'function'!=typeof _0x15b849['dateTimeFormat'])throw new _0x4b3cdf('invalid-date-time-format');return _0x44f197=>{const _0x27e3bf='string'==typeof _0x44f197?tt['fromISO'](_0x44f197):tt['fromJSDate'](_0x44f197),_0x2c87bd=tt['now'](),_0xf10fe7=Math['floor'](_0x2c87bd['diff'](_0x27e3bf,'days')['days']);return _0x15b849['dateTimeFormat']?_0x15b849['dateTimeFormat'](_0x27e3bf['toJSDate'](),_0x2343f0&&_0x2343f0['t']?_0x2343f0['t']:void 0x0):0x0===_0xf10fe7?_0x2343f0?U(_0x2343f0,'Today')+'\x20'+_0x27e3bf['toFormat']('hh:mma'):_0x27e3bf['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0xf10fe7?_0x2343f0?U(_0x2343f0,'Yesterday')+'\x20'+_0x27e3bf['toFormat']('hh:mma'):_0x27e3bf['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0xf10fe7<0x7?_0x2343f0?U(_0x2343f0,'Last')+'\x20'+U(_0x2343f0,_0x27e3bf['toFormat']('EEEE'))+'\x20'+_0x27e3bf['toFormat']('hh:mma'):_0x27e3bf['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x27e3bf['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x5abee4,_0x184ba8){const _0x20412a=_0x5abee4['mapper']['markerNameToElements'](_0x184ba8['name']);if(!_0x20412a)return null;const _0x25d092=_0x4bc8c2(_0x20412a['values']());return _0x5abee4['view']['domConverter']['mapViewToDom'](_0x25d092)||null;}function wt(_0x3ceb9a,_0x5394de){if(0x0===_0x5394de['length'])return null;const _0x4564f2=[],_0xef3032=_0x3ceb9a['view']['domConverter'];for(const _0x42a1d1 of _0x5394de){const _0x3e3fd5=_0x3ceb9a['mapper']['markerNameToElements'](_0x42a1d1['name']);if(!_0x3e3fd5)continue;const _0x22992f=Array['from'](_0x3e3fd5)['map'](_0x2beb04=>_0xef3032['mapViewToDom'](_0x2beb04))['filter'](_0x27e8ad=>!!_0x27e8ad);_0x4564f2['push'](..._0x22992f);}if(0x0===_0x4564f2['length'])return null;const _0x237a66=[];for(const _0x973adc of _0x4564f2){const _0x3c9191=_0x973adc['getClientRects']()['item'](0x0);_0x3c9191&&_0x237a66['push']({'x':_0x3c9191['x'],'y':_0x3c9191['y'],'domElement':_0x973adc});}return 0x0===_0x237a66['length']?null:(_0x237a66['sort']((_0x380348,_0x16fc57)=>_0x380348['y']-_0x16fc57['y']||_0x380348['x']-_0x16fc57['x']),_0x237a66['map'](_0x1fb6c2=>_0x1fb6c2['domElement']));}function bt(_0x276cf7,{limit:_0xf2cfa4,suffix:_0xcd05a1='...'}){const _0x1d71fb=[];let _0x42e950=0x0;const _0x4cf182=_0x276cf7['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x24957d=0x0;_0x24957d<_0x4cf182['length'];_0x24957d++){let _0x2d944e=_0x4cf182[_0x24957d];const _0x1f47cf=tn(_0x2d944e);if(_0x2d944e['startsWith']('<')){if(_0x42e950>=_0xf2cfa4){const _0x2d7e9d=_0x2d944e['match'](/[a-zA-Z]+/);if(!_0x2d7e9d){_0x4cf182[_0x24957d]='';continue;}const _0x4630a7=_0x2d7e9d[0x0];_0x2d944e['startsWith']('</')?(_0x1d71fb['length']&&(_0x2d944e=''),_0x1d71fb['pop']()):(_0x1d71fb['push'](_0x4630a7),_0x2d944e='');}}else{if(_0x42e950>=_0xf2cfa4)_0x2d944e='';else{if(_0x42e950+_0x1f47cf['length']>=_0xf2cfa4){let _0x1d8541=_0xf2cfa4-_0x42e950;if('\x20'===_0x1f47cf[_0x1d8541-0x1])_0x1d8541--;else{const _0x234935=_0x1f47cf['slice'](_0x1d8541)['indexOf']('\x20');-0x1!==_0x234935?_0x1d8541+=_0x234935:_0x1d8541=_0x2d944e['length'];}_0x2d944e=_0x1f47cf['slice'](0x0,_0x1d8541)['join']('')+_0xcd05a1,_0x42e950=_0xf2cfa4;}else _0x42e950+=_0x1f47cf['length'];}}_0x4cf182[_0x24957d]=_0x2d944e;}return _0x4cf182['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x3e3e4e){const _0xbb4153=[];for(let _0x5df728=0x0;_0x5df728<_0x3e3e4e['length'];_0x5df728++){const _0x585603=_0x3e3e4e['substring'](_0x5df728)['match'](/^&[a-z0-9#]+;/);if(_0x585603){const _0x46b0a9=_0x585603[0x0];_0xbb4153['push'](_0x46b0a9),_0x5df728+=_0x46b0a9['length']-0x1;}else _0xbb4153['push'](_0x3e3e4e[_0x5df728]);}return _0xbb4153;}class X extends _0x3fc88d{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x1acaa3){super(_0x1acaa3);const _0x53145e=this['bindTemplate'];this['set']('message',U(_0x1acaa3,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x1acaa3,U(_0x1acaa3,'Yes'),_0x2b8e36,'submit'),this['cancelView']=this['_createButtonView'](_0x1acaa3,U(_0x1acaa3,'No'),_0x423d6e,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x5ed173(),this['keystrokes']=new _0x2ed7d2(),this['focusCycler']=new _0x1ea549({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x53145e['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x1a6770,_0x304975,_0x2ca778,_0x1e17b1){const _0x5d1d7a=new ts(_0x1a6770);return _0x5d1d7a['label']=_0x304975,_0x5d1d7a['icon']=_0x2ca778,_0x5d1d7a['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x1e17b1}}),_0x5d1d7a['on']('execute',()=>this['fire'](_0x1e17b1)),_0x5d1d7a;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x2e70dd=>{this['keystrokes']['listenTo'](_0x2e70dd['element']),this['focusTracker']['add'](_0x2e70dd['element']);}),this['keystrokes']['set']('esc',(_0x25908c,_0x59905b)=>{this['fire']('cancel'),_0x59905b();});}}function vt(_0x3a86b4){return class extends _0x3a86b4{['showConfirm'](_0x68d738,_0x3a7e54){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x68d738,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x3a7e54['appendChild'](this['confirmView']['element']),_0x3a7e54['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x3e464f,_0x312d43,_0x754818)=>{_0x754818||_0x3a7e54['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x1180a9=>this['confirmView']['on']('submit',_0x1180a9));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function k(_0x4890e1){let _0x3dced5=0x0,_0x15c0dd=0x0;for(const _0x2a158e of ne(_0x4890e1))_0x3dced5=(_0x3dced5<<0x5)-_0x3dced5+_0x2a158e,_0x3dced5&=_0x3dced5,[_0x3dced5,_0x15c0dd]=[_0x15c0dd,_0x3dced5];return ie(_0x3dced5)+ie(_0x15c0dd);}function*ee(_0x21ef99){null==_0x21ef99||null==_0x21ef99?yield 0x12b9b0a1:0x0===_0x21ef99||!0x1===_0x21ef99?yield 0x0:0x1===_0x21ef99||0x1==_0x21ef99?yield 0x1:Array['isArray'](_0x21ef99)?yield*function*(_0x14839f){for(const _0x279933 of _0x14839f)yield*ee(_0x279933);}(_0x21ef99):'object'==typeof _0x21ef99?yield*ne(_0x21ef99):'string'==typeof _0x21ef99?yield*oe(_0x21ef99):'number'==typeof _0x21ef99&&(yield _0x21ef99);}function*ne(_0x37b0c3){if(yield te('{'),_0x37b0c3){const _0x58b2c1=Object['keys'](_0x37b0c3)['sort']();for(const _0x58f62c of _0x58b2c1){yield*oe(_0x58f62c),yield te(':');const _0x3be153=_0x37b0c3[_0x58f62c];yield*ee(_0x3be153);}}yield te('}');}function*oe(_0x4fde11){yield te('\x22');for(const _0xf6625b of _0x4fde11)yield te(_0xf6625b);yield te('\x22');}function te(_0x4f50b7){return _0x4f50b7['charCodeAt'](0x0);}function ie(_0x90979){return(_0x90979*=Math['sign'](_0x90979))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x1e79a5,_0x56cb46,_0x42fbe0,_0x3bfae4=[]){const _0x3a4826='string'==typeof _0x1e79a5?_0x42fbe0['get'](_0x1e79a5)['constructor']:_0x1e79a5['prototype']['constructor'];if(_0x56cb46['has'](_0x3a4826))return _0x56cb46['get'](_0x3a4826);_0x56cb46['set'](_0x3a4826,!0x0);const _0x4ad5de=[...et,..._0x3bfae4]['map'](_0xe81737=>{if(_0x42fbe0['has'](_0xe81737))return _0x42fbe0['get'](_0xe81737)['constructor'];})['filter'](_0x454f96=>_0x454f96);if(_0x3a4826&&_0x4ad5de['includes'](_0x3a4826))return _0x56cb46['set'](_0x3a4826,!0x1),!0x1;if(!_0x3a4826['requires'])return _0x56cb46['set'](_0x3a4826,!0x0),!0x0;const _0x5293e4=_0x3a4826['requires']['every'](_0x3dbef2=>ot(_0x3dbef2,_0x56cb46,_0x42fbe0,_0x3bfae4));return _0x56cb46['set'](_0x3a4826,_0x5293e4),_0x5293e4;}function Ct(_0x28c37a,_0x5b91c5){const _0x20e2de={};for(const _0x585738 of _0x28c37a['config']['names']())nt['includes'](_0x585738)||(_0x20e2de[_0x585738]=_0x28c37a['config']['get'](_0x585738));const _0x193a0e=_0x20e2de['plugins']||[],_0x3eca25=_0x28c37a['constructor']['builtinPlugins']||[],_0x3de621=_0x193a0e['length']?_0x193a0e:_0x3eca25,_0x271f87=_0x20e2de['extraPlugins']||[];delete _0x20e2de['extraPlugins'];const _0x552e57=_0x20e2de['removePlugins']||[];delete _0x20e2de['removePlugins'];const _0x5f05b3=_0x28c37a['_context']['config']['get']('plugins')||[],_0x1a81ea=_0x3de621['concat'](_0x271f87)['concat'](_0x5f05b3)['map'](_0x6d3b4e=>'string'==typeof _0x6d3b4e?_0x3eca25['find'](_0x381e0b=>_0x381e0b['pluginName']==_0x6d3b4e):_0x6d3b4e)['filter'](_0x127a19=>!_0x552e57['includes'](_0x127a19)&&!_0x552e57['includes'](_0x127a19['pluginName'])),_0x1074d9=Array['from'](new Set(_0x1a81ea)),_0xacdc66=new Map();return _0x20e2de['plugins']=_0x1074d9['filter'](_0x327600=>ot(_0x327600,_0xacdc66,_0x28c37a['plugins'],_0x5b91c5)),_0x20e2de;}function xt(_0x595970,_0x4b32c8){const _0x42af1e=[];_0x595970['document']['selection']['on']('change:range',()=>{const _0x40fad4=function(_0x50a5f1,_0xb27600){const _0x57d0d1=[];for(const _0x57e20a of _0x50a5f1['markers']){const _0x20e344=_0x57e20a['getRange']();(_0x20e344['containsPosition'](_0xb27600)||_0x20e344['start']['isEqual'](_0xb27600)||_0x20e344['end']['isEqual'](_0xb27600))&&_0x57d0d1['push'](_0x57e20a);}return _0x57d0d1;}(_0x595970,_0x595970['document']['selection']['focus']),_0x208780=[],_0x2f9ff1=[],_0x41e5d0=[];for(const _0x4598b7 of _0x42af1e)_0x40fad4['includes'](_0x4598b7)||_0x208780['push'](_0x4598b7);for(const _0x282b33 of _0x40fad4)_0x42af1e['includes'](_0x282b33)||_0x2f9ff1['push'](_0x282b33),_0x41e5d0['push'](_0x282b33);(_0x208780['length']||_0x2f9ff1['length'])&&_0x4b32c8({'left':_0x208780,'entered':_0x2f9ff1}),_0x42af1e['length']=0x0,_0x42af1e['push'](..._0x41e5d0);});}const It='Ctrl+Shift+E';function _t(_0x1dcb66,_0x4203b5){const _0x5cdab1=_0x1dcb66['element'];_0x1dcb66['keystrokes']['listenTo'](_0x5cdab1);for(const _0x30cc5e of _0x4203b5)ro(_0x1dcb66,_0x30cc5e);_0x4203b5['on']('change',(_0x1e92b5,_0x4d4d7b)=>{for(const _0x531fc0 of _0x4d4d7b['removed'])to(_0x1dcb66,_0x531fc0);for(const _0xdf595f of Array['from'](_0x4d4d7b['added'])['reverse']())ro(_0x1dcb66,_0xdf595f);}),_0x1dcb66['keystrokes']['set']('enter',(_0x7e3dfb,_0x26fe01)=>{_0x5cdab1===_0x7e3dfb['target']&&(_0x1dcb66['focusCycler']['focusFirst'](),_0x26fe01());},{'filter':_0x515798=>_0x515798['target']===_0x5cdab1}),_0x1dcb66['keystrokes']['set']('esc',(_0x2c2cf3,_0xcbed73)=>{_0x5cdab1!==_0x2c2cf3['target']?_0x1dcb66['focus']():_0x1dcb66['fire']('escape'),_0xcbed73();}),_0x1dcb66['keystrokes']['set']('arrowdown',(_0x5c1105,_0x45b1a1)=>{_0x5cdab1===_0x5c1105['target']&&(_0x1dcb66['fire']('arrowdown'),_0x45b1a1());}),_0x1dcb66['keystrokes']['set']('arrowup',(_0x59ede3,_0x293455)=>{_0x5cdab1===_0x59ede3['target']&&(_0x1dcb66['fire']('arrowup'),_0x293455());});}function ro(_0x5bbbad,_0x68adc2){_0x68adc2['isRendered']&&(_0x5bbbad['focusTracker']['add'](_0x68adc2['element']),_0x5bbbad['keystrokes']['listenTo'](_0x68adc2['element']),_0x5dea2b(_0x68adc2)&&function(_0x1ca0f5,_0x274569){const _0x16a7a7=_0x1ca0f5['actions'],_0x31d481=_0x274569['actions'];for(const _0x23d532 of Object['keys'](_0x16a7a7))if(_0x23d532 in _0x31d481&&_0x16a7a7[_0x23d532]!==_0x31d481[_0x23d532])return!0x1;return!0x0;}(_0x5bbbad['focusCycler'],_0x68adc2['focusCycler'])&&_0x5bbbad['focusCycler']['chain'](_0x68adc2['focusCycler']));}function to(_0x3b0eae,_0x513efb){_0x3b0eae['focusTracker']['remove'](_0x513efb['element']),_0x3b0eae['keystrokes']['stopListening'](_0x513efb['element']),_0x5dea2b(_0x513efb)&&_0x3b0eae['focusCycler']['unchain'](_0x513efb['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x30cb59{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x5ba126?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x16c75e,_0x391e3a)=>{_0x391e3a['on']('ready',()=>{this['_integrateEditor'](_0x391e3a);});});}get['editor'](){if(this['context']instanceof _0x5ba126)return this['context'];{const _0xde048=this['context']['editors']['first'];if(!_0xde048)throw new _0x4b3cdf('documentcompare-no-editor',this);return _0xde048;}}['getDiff'](_0x4438f6,_0x394d08,_0x32a3df={'anchor':'main','markDeletions':!0x1}){let _0x4d94f9,_0x5b1acb;const _0x5ef679=this['editor'];if('string'==typeof _0x32a3df['anchor']){const _0x5b0b90=_0x5ef679['model']['document']['getRoot'](_0x32a3df['anchor']);if(!_0x5b0b90)throw new _0x4b3cdf('documentcompare-compare-no-root',this,{'anchor':_0x32a3df['anchor']});_0x4d94f9=_0x5b0b90,_0x5b1acb=_0x5ef679['model']['createPositionAt'](_0x5b0b90,0x0);}else _0x4d94f9=_0x32a3df['anchor']['clone'](),_0x5b1acb=_0x32a3df['anchor']['clone']();const _0x17c123=_0x5ef679['data']['parse'](_0x4438f6,_0x4d94f9),_0x430d84=_0x5ef679['data']['parse'](_0x394d08,_0x4d94f9);return new Mt(_0x17c123,_0x430d84,_0x5ef679,{'anchor':_0x5b1acb,'markDeletions':_0x32a3df['markDeletions']});}['isMarkedRemoveOperation'](_0x537b21){return'marker'==_0x537b21['type']&&_0x537b21['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x59f915){_0x59f915['conversion']['for']('upcast')['add'](_0x2527da=>{_0x2527da['on']('element',(_0x7bcd27,_0x14aa22,_0xa5e24d)=>{if(_0x14aa22['modelRange'])for(const _0x5c7cbb of _0x14aa22['modelRange']['getItems']({'shallow':!0x0})){if(_0x5c7cbb['is']('$textProxy'))continue;const _0x1e59d9=_0x14aa22['viewItem']['getAttribute'](Et);_0x1e59d9&&_0xa5e24d['writer']['setAttribute'](St,_0x1e59d9,_0x5c7cbb);}},{'priority':'lowest'});}),_0x59f915['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x2b506f,_0x5e769a,_0x1fbddc,_0x14d1ed){this['_editor']=_0x1fbddc,this['_markDeletions']=!!_0x14d1ed['markDeletions'],this['_anchor']=_0x14d1ed['anchor'];const _0x122271=this['_tokenizeModel'](_0x2b506f),_0x2020e0=this['_tokenizeModel'](_0x5e769a);this['_diffItems']=this['_diffModelTokens'](_0x122271,_0x2020e0),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x2b506f['markers'],_0x5e769a['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0xc46ea0=this['_editor']['model']['document'],_0x471ac2=[];let _0x2bfbaf=_0xc46ea0['version'];for(const _0x43d906 of this['_operationsData'])switch(_0x43d906['type']){case'attribute':{const _0x2eb469=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['path']),_0x3561ab=_0x2eb469['getShiftedBy'](_0x43d906['howMany']),_0x560787=new _0xf97322(_0x2eb469,_0x3561ab),_0x5a5d74=JSON['parse'](_0x43d906['oldValue']),_0x15969c=JSON['parse'](_0x43d906['newValue']);_0x471ac2['push'](new _0x4e6230(_0x560787,_0x43d906['key'],_0x5a5d74,_0x15969c,_0x2bfbaf++));break;}case'insert':{const _0x106835=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['path']),_0x557858=this['_makeModelFromTokens'](_0x43d906['tokens']);_0x471ac2['push'](new _0x19b8dd(_0x106835,_0x557858,_0x2bfbaf++));break;}case'remove':{const _0x126bcd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['path']),_0x3e66ce=new _0x3e6074(_0xc46ea0['graveyard'],[0x0]);_0x471ac2['push'](new _0x16c329(_0x126bcd,_0x43d906['howMany'],_0x3e66ce,_0x2bfbaf++));break;}case'rename':{const _0x408075=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['path']);_0x471ac2['push'](new _0xd699c5(_0x408075,_0x43d906['oldName'],_0x43d906['newName'],_0x2bfbaf++));break;}case'split':{const _0x3a236d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['path']),_0x53fb64=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['path']['slice'](0x0,-0x1));_0x53fb64['offset']++,_0x471ac2['push'](new _0x538f65(_0x3a236d,Number['NEGATIVE_INFINITY'],_0x53fb64,null,_0x2bfbaf++));break;}case'merge':{const _0x149097=_0x43d906['path']['slice'](),_0x417a03=_0x149097['slice'](0x0,-0x1);_0x417a03[_0x417a03['length']-0x1]++,_0x417a03['push'](0x0);const _0x18a493=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x417a03),_0x42b76e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x149097),_0x92f95e=new _0x3e6074(_0xc46ea0['graveyard'],[0x0]);_0x471ac2['push'](new _0x449d09(_0x18a493,Number['NEGATIVE_INFINITY'],_0x42b76e,_0x92f95e,_0x2bfbaf++));break;}case'marker':case'markedRemove':{let _0x450dca=null;if(_0x43d906['range']){const _0x3d00ba=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['range']['start']),_0xdbf338=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['range']['end']);_0x450dca=new _0xf97322(_0x3d00ba,_0xdbf338);}const _0x51578c='marker'==_0x43d906['type']?_0x43d906['name']:'$markedRemove:'+_0x2eb5d1();_0x471ac2['push'](new _0x2d2325(_0x51578c,null,_0x450dca,_0xc46ea0['model']['markers'],!0x0,_0x2bfbaf++));break;}case'unwrap':{const _0x162595=_0x43d906['path']['slice']();_0x162595['push'](0x0);const _0x56a2b3=_0x43d906['path']['slice'](),_0x4af3ac=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x162595),_0x58ad9e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56a2b3),_0xd0a463=new _0x3e6074(_0xc46ea0['graveyard'],[0x0]);_0x471ac2['push'](new _0x16c329(_0x4af3ac,_0x43d906['howMany'],_0x58ad9e,_0x2bfbaf++)),_0x471ac2['push'](new _0x16c329(_0x58ad9e['getShiftedBy'](_0x43d906['howMany']),0x1,_0xd0a463,_0x2bfbaf++));break;}case'wrap':{const _0x403e77=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['range']['start']),_0x3bfc15=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x43d906['range']['end']),_0x5f2118=_0x43d906['token']['element']['_clone'](!0x1),_0x42de8b=_0x43d906['range']['end']['slice']();_0x42de8b['push'](0x0);const _0x54d211=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x42de8b);_0x471ac2['push'](new _0x19b8dd(_0x3bfc15,_0x5f2118,_0x2bfbaf++)),_0x471ac2['push'](new _0x16c329(_0x403e77,_0x3bfc15['offset']-_0x403e77['offset'],_0x54d211,_0x2bfbaf++));break;}}return _0x471ac2;}['_tokenizeModel'](_0x5d779c){const _0x2761fc=[],_0x52c3cf=_0xf97322['_createIn'](_0x5d779c),_0x3516aa=new _0x50227b({'boundaries':_0x52c3cf});let _0x19f95e='',_0x3d3a3e=null;const _0x15b792=[''],_0x231230=new Map();for(const _0x491308 of _0x3516aa)if('elementStart'==_0x491308['type']||'elementEnd'==_0x491308['type']){let _0x226858=_0x15b792[0x0];''!==_0x19f95e&&(_0x2761fc['push'](...this['_makeTokensFromTextByWords'](_0x19f95e,_0x3d3a3e,_0x226858)),_0x19f95e='');const _0x3d11aa=_0x491308['item'];let _0x37d251;_0x3d11aa['getAttribute'](St)?_0x37d251=_0x3d11aa['getAttribute'](St):'elementStart'==_0x491308['type']?(_0x37d251=_(_0x3d11aa),_0x231230['set'](_0x3d11aa,_0x37d251)):_0x37d251=_0x231230['get'](_0x3d11aa);const _0x310b8e=this['_getElementCategory'](_0x3d11aa);'solid'==_0x310b8e&&('elementStart'==_0x491308['type']?(_0x226858=_0x37d251,_0x15b792['unshift'](_0x226858)):_0x15b792['shift']());const _0x5a52f2={'type':'element','element':_0x3d11aa,'elementId':_0x37d251,'category':_0x310b8e,'isStart':'elementStart'==_0x491308['type'],'limitId':_0x226858};_0x2761fc['push'](_0x5a52f2);}else''==_0x19f95e&&(_0x3d3a3e=_0x491308['previousPosition']['clone']()),_0x19f95e+=_0x491308['item']['data'];return''!==_0x19f95e&&_0x2761fc['push'](...this['_makeTokensFromTextByWords'](_0x19f95e,_0x3d3a3e,_0x15b792[0x0])),_0x2761fc;}['_makeTokensFromTextByWords'](_0x20d095,_0x945abd,_0x45b013){const _0x3a9bf6=_0x20d095['matchAll'](/(\s)/g),_0x167ab2=Array['from'](_0x3a9bf6)['map'](_0x5b468c=>_0x5b468c['index']);_0x167ab2['push'](_0x20d095['length']),0x0==_0x167ab2[0x0]&&_0x167ab2['shift']();const _0x129f0d=[],_0x410bc4=_0x945abd['parent'];let _0x32fc7b=0x0,_0xa686e5=_0x945abd['offset'];for(let _0x432dbe=0x0;_0x432dbe<_0x167ab2['length'];_0x432dbe++)_0x129f0d['push']({'type':'text','data':_0x20d095['slice'](_0x32fc7b,_0x167ab2[_0x432dbe]),'parent':_0x410bc4,'offset':_0xa686e5,'limitId':_0x45b013}),_0x32fc7b=_0x167ab2[_0x432dbe],_0xa686e5=_0x945abd['offset']+_0x167ab2[_0x432dbe];return _0x129f0d;}['_getElementCategory'](_0x51d8d4){const _0x3801db=this['_editor']['model']['schema'];return _0x3801db['isLimit'](_0x51d8d4)||_0x3801db['isContent'](_0x51d8d4)||_0x3801db['isInline'](_0x51d8d4)?'solid':_0x3801db['isBlock'](_0x51d8d4)?'block':'container';}['_diffModelTokens'](_0x47d8bb,_0x960eab){const _0x5ac429=_0x22e7fa(_0x47d8bb,_0x960eab,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x5ac429);const _0x329823=_0x5ac429['flatMap'](_0xa64873=>{const _0x11bd39=_0xa64873['added']?'added':_0xa64873['removed']?'removed':'unchanged';return _0xa64873['value']['map'](_0x18b975=>({'token':_0x18b975,'change':_0x11bd39}));});let _0x1207b1=0x0;for(const _0x111c99 of _0x329823)'added'!=_0x111c99['change']&&('unchanged'==_0x111c99['change']&&(_0x111c99['before']=_0x47d8bb[_0x1207b1]),_0x1207b1++);return _0x329823;}['_handleUnclosedBlockOpeningTags'](_0x47a6ab){for(let _0x5ca126=0x0;_0x5ca126<_0x47a6ab['length']-0x1;_0x5ca126++)if(_0x47a6ab[_0x5ca126]['removed']&&_0x47a6ab[_0x5ca126+0x1]['added']){const _0x1ba1ee=this['_findUnclosedBlockOpeningToken'](_0x47a6ab[_0x5ca126]['value']);if(null!==_0x1ba1ee){const _0x868094=this['_findUnclosedBlockOpeningToken'](_0x47a6ab[_0x5ca126+0x1]['value']),_0x941b1=_0x47a6ab[_0x5ca126]['value']['splice'](_0x1ba1ee),_0x41e57c=_0x47a6ab[_0x5ca126+0x1]['value']['splice'](_0x868094),_0x49c98c=[_0x41e57c['shift']()];_0x941b1['shift']();const _0x5d65ba={'value':_0x941b1,'removed':!0x0},_0x481997={'value':_0x41e57c,'added':!0x0},_0x58582f={'value':_0x49c98c};_0x47a6ab['splice'](_0x5ca126+0x2,0x0,_0x58582f,_0x5d65ba,_0x481997);}}}['_findUnclosedBlockOpeningToken'](_0x12b6d9){let _0x5142a1=0x0,_0x14dc69=-0x1;for(let _0x6cb461=0x0;_0x6cb461<_0x12b6d9['length'];_0x6cb461++){const _0x13a164=_0x12b6d9[_0x6cb461];'element'==_0x13a164['type']&&'block'==_0x13a164['category']&&(_0x5142a1+=_0x13a164['isStart']?0x1:-0x1,_0x13a164['isStart']&&(_0x14dc69=_0x6cb461));}return 0x0===_0x5142a1?null:_0x14dc69;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x42f4b0=0x0;_0x42f4b0<this['_diffItems']['length'];_0x42f4b0++){const _0x2c8c23=this['_diffItems'][_0x42f4b0]['change'],_0x387ee6=[];_0x387ee6['push'](this['_diffItems'][_0x42f4b0]);let _0x286348=_0x42f4b0+0x1;for(;this['_diffItems'][_0x286348]&&this['_diffItems'][_0x286348]['change']==_0x2c8c23;)_0x387ee6['push'](this['_diffItems'][_0x286348]),_0x286348++,_0x42f4b0++;const _0x2cb559=_0x387ee6['map'](_0x3843f2=>_0x3843f2['token']);if('unchanged'==_0x2c8c23)_0x387ee6['map'](_0x250c69=>_0x250c69['before'])['forEach'](_0x61424f=>this['_traverseOverItem'](_0x61424f));else{if('removed'==_0x2c8c23){if(this['_markDeletions']){const _0x5214bb=this['_path']['slice']();_0x2cb559['forEach'](_0x7903fc=>this['_traverseOverItem'](_0x7903fc));const _0x4d78ba=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x5214bb,'end':_0x4d78ba}});}else this['_handleChanged'](_0x2cb559,!0x0,this['_path']['slice']());}else{const _0x78b264=_0x2cb559['filter'](_0x3bf29d=>'element'!=_0x3bf29d['type']||'container'!=_0x3bf29d['category']);this['_handleChanged'](_0x78b264,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x3fc623=0x0;_0x3fc623<this['_diffItems']['length'];_0x3fc623++){const _0xd14ccd=this['_diffItems'][_0x3fc623]['change'],_0xb5520b=[];_0xb5520b['push'](this['_diffItems'][_0x3fc623]);let _0x468b01=_0x3fc623+0x1;for(;this['_diffItems'][_0x468b01]&&this['_diffItems'][_0x468b01]['change']==_0xd14ccd;)_0xb5520b['push'](this['_diffItems'][_0x468b01]),_0x468b01++,_0x3fc623++;const _0x274785=_0xb5520b['map'](_0x31b452=>_0x31b452['token']);if('unchanged'==_0xd14ccd){const _0x417a7b=_0xb5520b['map'](_0x41828a=>_0x41828a['before']);this['_handleUnchanged'](_0x417a7b,_0x274785);}else('removed'!=_0xd14ccd||this['_markDeletions'])&&_0x274785['forEach'](_0x23d2dd=>{this['_traverseOverItem'](_0x23d2dd);});}}['_calculateMarkersOperationsData'](_0x440422,_0x55703d){const _0x24dd2f={};for(const [_0x865d60]of _0x440422)_0x24dd2f[_0x865d60]=null;for(const [_0x270f7a,_0x219fed]of _0x55703d)_0x24dd2f[_0x270f7a]=_0x219fed;const _0x32eb7b=Object['entries'](_0x24dd2f)['map'](([_0x49cc79,_0x4679d2])=>({'type':'marker','name':_0x49cc79,'range':_0x4679d2?{'start':_0x4679d2['start']['path']['slice'](),'end':_0x4679d2['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x32eb7b);}['_handleUnwraps'](){const _0x169439=new Map(),_0x44ad61=[],_0xd320cb=[0x0];let _0x2eaa00=this['_diffItems']['length']+0x1;for(let _0x2b5e1d=this['_diffItems']['length']-0x1;_0x2b5e1d>=0x0;_0x2b5e1d--){const {token:_0x141a4f,before:_0x58b576,change:_0x578c41}=this['_diffItems'][_0x2b5e1d];if('removed'!=_0x578c41&&(_0x2eaa00=_0x2b5e1d),'element'!=_0x141a4f['type']||'container'!=_0x141a4f['category']||'added'==_0x578c41)continue;const _0x840590=_0x58b576?_0x58b576['element']:_0x141a4f['element'];if(_0x141a4f['isStart']){const _0x1b4522=_0x169439['get'](_0x840590),_0x59ce8d=this['_diffItems'][_0x1b4522];('removed'==_0x578c41||'removed'==_0x59ce8d['change'])&&_0x2eaa00<_0x1b4522&&(this['_operationsData']['push']({'type':'unwrap','path':_0x840590['getPath'](),'howMany':_0x840590['maxOffset']+_0xd320cb[0x0]}),_0xd320cb['shift'](),_0xd320cb[0x0]+=_0x840590['maxOffset']-0x1,_0x44ad61['push'](_0x2b5e1d),_0x44ad61['push'](_0x1b4522));}else _0x169439['set'](_0x840590,_0x2b5e1d),_0xd320cb['unshift'](0x0);}_0x44ad61['sort']((_0x57ce90,_0x53e0c9)=>_0x53e0c9-_0x57ce90),_0x44ad61['forEach'](_0x2d70a0=>{const _0x317a34=this['_diffItems'][_0x2d70a0];'removed'==_0x317a34['change']?this['_diffItems']['splice'](_0x2d70a0,0x1):(_0x317a34['change']='added',delete _0x317a34['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x4ab694=[];for(let _0x4945f4=0x0;_0x4945f4<this['_diffItems']['length'];_0x4945f4++){const {change:_0x5284ae,token:_0xbfb15b}=this['_diffItems'][_0x4945f4];if('added'==_0x5284ae&&'element'==_0xbfb15b['type']&&'container'==_0xbfb15b['category']){if(_0xbfb15b['isStart'])_0x4ab694['push'](this['_path']['slice']());else{if(!_0xbfb15b['isStart']){const _0x16e722=_0x4ab694['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x16e722,'end':this['_path']['slice']()},'token':_0xbfb15b}),this['_path'][this['_path']['length']-0x1]=_0x16e722[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x5284ae||this['_markDeletions'])&&this['_traverseOverItem'](_0xbfb15b);}}['_handleUnchanged'](_0x156a35,_0x226215){for(let _0x203dec=0x0;_0x203dec<_0x156a35['length'];_0x203dec++){const _0x1595c5=_0x156a35[_0x203dec];if('element'==_0x1595c5['type']&&_0x1595c5['isStart']){const _0x1e30a5=_0x226215[_0x203dec];'block'==_0x1595c5['category']&&this['_handleElementRename'](_0x1595c5['element'],_0x1e30a5['element'],this['_path']),this['_handleElementAttributeChanges'](_0x1595c5['element'],_0x1e30a5['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x1e30a5);}else{if('element'!=_0x1595c5['type']||_0x1595c5['isStart']){if('text'==_0x1595c5['type']){const _0x1a2cab=this['_path']['slice'](),_0x311a62=[],_0x3e6566=[];for(;_0x156a35[_0x203dec]&&'text'==_0x156a35[_0x203dec]['type'];)_0x311a62['push'](_0x156a35[_0x203dec]),_0x3e6566['push'](_0x226215[_0x203dec]),this['_path'][this['_path']['length']-0x1]+=_0x156a35[_0x203dec]['data']['length'],_0x203dec++;_0x203dec--,this['_handleTextAttributeChanges'](_0x311a62,_0x3e6566,_0x1a2cab);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x3bb8b2,_0x40481d,_0x17ae45){const _0x444911=[],_0x47b6f4=[],_0x3c4327=_0x17ae45['slice']();for(let _0x67d534=0x0;_0x67d534<_0x3bb8b2['length'];_0x67d534++){const _0x5ed91d=_0x3bb8b2[_0x67d534],_0x388d27=_0x17ae45['slice']();if('element'!=_0x5ed91d['type']||_0x5ed91d['isStart'])'element'==_0x5ed91d['type']&&_0x5ed91d['isStart']?(_0x17ae45['push'](0x0),_0x40481d||this['_parents']['push'](_0x5ed91d),_0x47b6f4['push']({'before':_0x388d27,'after':_0x17ae45['slice'](),'index':_0x67d534})):_0x17ae45[_0x17ae45['length']-0x1]+=_0x5ed91d['data']['length'];else{let _0x30c239;_0x17ae45['pop'](),_0x17ae45[_0x17ae45['length']-0x1]++,_0x30c239=_0x40481d?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x47b6f4['length']?_0x47b6f4['pop']():_0x444911['push']({'before':_0x388d27,'after':_0x17ae45['slice'](),'index':_0x67d534,'related':_0x30c239});}}if(_0x47b6f4['length']!==_0x444911['length'])throw new _0x4b3cdf('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x3bb8b2,'isRemove':_0x40481d});const _0x309e30=[{'after':_0x3c4327['slice'](),'index':-0x1},..._0x444911,..._0x47b6f4,{'before':_0x17ae45['slice'](),'index':_0x3bb8b2['length']}];if(_0x40481d){for(let _0x3b0d2d=_0x309e30['length']-0x1;_0x3b0d2d>=0x1;_0x3b0d2d--){const _0x592c85=_0x309e30[_0x3b0d2d-0x1]['after'],_0x2f3538=_0x309e30[_0x3b0d2d]['before'],_0x4d42eb=_0x2f3538[_0x2f3538['length']-0x1]-_0x592c85[_0x592c85['length']-0x1];_0x4d42eb&&(this['_operationsData']['push']({'type':'remove','path':_0x592c85,'howMany':_0x4d42eb}),_0x2f3538[_0x2f3538['length']-0x1]-=_0x4d42eb);}for(const {before:_0x5c4dda}of _0x444911)this['_operationsData']['push']({'type':'merge','path':_0x5c4dda});}else for(let _0x162ae5=0x0;_0x162ae5<_0x309e30['length']-0x1;_0x162ae5++){const _0x505b11=_0x309e30[_0x162ae5]['after'],_0x336d49=_0x309e30[_0x162ae5+0x1]['before'],_0x3d19cd=_0x309e30[_0x162ae5]['index']+0x1,_0x59c888=_0x309e30[_0x162ae5+0x1]['index'];if(_0x3d19cd!==_0x59c888&&this['_operationsData']['push']({'type':'insert','path':_0x505b11,'tokens':_0x3bb8b2['slice'](_0x3d19cd,_0x59c888)}),_0x162ae5<_0x444911['length']){this['_operationsData']['push']({'type':'split','path':_0x336d49});const _0x7c5524=_0x3bb8b2[_0x47b6f4[_0x47b6f4['length']-0x1-_0x162ae5]['index']],_0x505d43=_0x444911[_0x162ae5]['after'],_0x468b53=_0x444911[_0x162ae5]['related']['element'];this['_handleElementRename'](_0x468b53,_0x7c5524['element'],_0x505d43),this['_handleElementAttributeChanges'](_0x468b53,_0x7c5524['element'],_0x505d43);}}}['_traverseOverItem'](_0x159725){'element'==_0x159725['type']&&_0x159725['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x159725)):'element'!=_0x159725['type']||_0x159725['isStart']?'text'==_0x159725['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x159725['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x1cdffd,_0x282d66,_0x41ce6c){_0x1cdffd['name']!=_0x282d66['name']&&this['_operationsData']['push']({'type':'rename','path':_0x41ce6c['slice'](),'oldName':_0x1cdffd['name'],'newName':_0x282d66['name']});}['_handleElementAttributeChanges'](_0x22c905,_0x25f210,_0x581d6a){const _0x1ee757=this['_getAttributeChanges'](_0x22c905['getAttributes'](),_0x25f210['getAttributes']());for(const _0x21cabd in _0x1ee757){const {oldValue:_0x42aae4,newValue:_0x2b9865}=_0x1ee757[_0x21cabd];this['_operationsData']['push']({'type':'attribute','path':_0x581d6a['slice'](),'howMany':0x1,'key':_0x21cabd,'oldValue':_0x42aae4,'newValue':_0x2b9865});}}['_handleTextAttributeChanges'](_0x3d36c4,_0x2dc3e9,_0x150f8e){const _0x2d8c92=this['_operationsData'],_0x319ebc=_0x3d36c4[0x0]['parent'],_0x15573d=_0x3d36c4[0x0]['offset'],_0x52b7ed=_0x2dc3e9[0x0]['parent'],_0x4e8a8a=_0x2dc3e9[0x0]['offset'],_0x4b59a1=_0x3d36c4['reduce']((_0x596df9,_0x42b65c)=>_0x596df9+_0x42b65c['data']['length'],0x0),_0x58be3d=this['_getAttrsForOffsets'](_0x319ebc,_0x15573d,_0x4b59a1),_0x21184b=this['_getAttrsForOffsets'](_0x52b7ed,_0x4e8a8a,_0x4b59a1),_0x301498={};for(let _0x3b2a37=0x0;_0x3b2a37<_0x4b59a1;_0x3b2a37++){const _0x59a9f0=_0x58be3d[_0x15573d+_0x3b2a37],_0x505e77=_0x21184b[_0x4e8a8a+_0x3b2a37],_0x3d18e3=this['_getAttributeChanges'](_0x59a9f0,_0x505e77);for(const _0x3add1f in _0x301498)_0x3d18e3[_0x3add1f]||_0x578d84(_0x3add1f);for(const _0x48558c in _0x3d18e3){const {oldValue:_0x287548,newValue:_0x4ce4ee}=_0x3d18e3[_0x48558c],_0x443262=_0x301498[_0x48558c];_0x443262?_0x443262['oldValue']==_0x287548&&_0x443262['newValue']==_0x4ce4ee?_0x443262['length']++:(_0x578d84(_0x48558c),_0x301498[_0x48558c]={'oldValue':_0x287548,'newValue':_0x4ce4ee,'start':_0x3b2a37,'length':0x1}):_0x301498[_0x48558c]={'oldValue':_0x287548,'newValue':_0x4ce4ee,'start':_0x3b2a37,'length':0x1};}}for(const _0x4e0230 in _0x301498)_0x578d84(_0x4e0230);function _0x578d84(_0x3e7550){const _0x3596af=_0x301498[_0x3e7550],_0x335e7b=_0x150f8e['slice']();_0x335e7b[_0x335e7b['length']-0x1]+=_0x3596af['start'],_0x2d8c92['push']({'type':'attribute','path':_0x335e7b,'howMany':_0x3596af['length'],'key':_0x3e7550,'oldValue':_0x3596af['oldValue'],'newValue':_0x3596af['newValue']}),delete _0x301498[_0x3e7550];}}['_getAttributeChanges'](_0x9695f3,_0x53999e){const _0xfea185={};for(const [_0x4a7eda,_0xdab5dd]of _0x9695f3)_0xfea185[_0x4a7eda]={'oldValue':JSON['stringify'](_0xdab5dd),'newValue':'null'};for(const [_0x3bdf2e,_0x12a5fb]of _0x53999e){const _0x4487b9=JSON['stringify'](_0x12a5fb);_0xfea185[_0x3bdf2e]?_0xfea185[_0x3bdf2e]['oldValue']==_0x4487b9?delete _0xfea185[_0x3bdf2e]:_0xfea185[_0x3bdf2e]['newValue']=_0x4487b9:_0xfea185[_0x3bdf2e]={'oldValue':'null','newValue':_0x4487b9};}return delete _0xfea185[St],_0xfea185;}['_getAttrsForOffsets'](_0x3e9039,_0x449416,_0xefce2b){const _0x3bdda1=new Array(_0x449416+_0xefce2b);let _0x1ba203=_0x3e9039['getChildAtOffset'](_0x449416),_0x4d9999=_0x1ba203['startOffset'];for(;_0x1ba203&&_0x4d9999<_0x449416+_0xefce2b;){const _0x399b4e=Array['from'](_0x1ba203['getAttributes']());_0x3bdda1['fill'](_0x399b4e,_0x4d9999,_0x4d9999+_0x1ba203['offsetSize']),_0x4d9999+=_0x1ba203['offsetSize'],_0x1ba203=_0x1ba203['nextSibling'];}return _0x3bdda1;}['_getPositionFromAnchorAndPath'](_0x2386c4,_0x49653c){const _0x625830=[..._0x2386c4['path']['slice'](0x0,-0x1),_0x2386c4['offset']+_0x49653c[0x0],..._0x49653c['slice'](0x1)];return new _0x3e6074(_0x2386c4['root'],_0x625830);}['_makeModelFromTokens'](_0x2a02f7){const _0x4b3266=[];let _0x585b18=null;for(const _0x7c8c1c of _0x2a02f7)if('element'!=_0x7c8c1c['type']||_0x7c8c1c['isStart']||_0x585b18!=_0x7c8c1c['element']){if(!_0x585b18){if('text'==_0x7c8c1c['type']){const _0x3e38ce=_0x3e6074['_createAt'](_0x7c8c1c['parent'],_0x7c8c1c['offset']),_0x92f3ff=_0xf97322['_createFromPositionAndShift'](_0x3e38ce,_0x7c8c1c['data']['length']),_0x2c37a6=Array['from'](_0x92f3ff['getItems']())['map'](_0x13b8d4=>new _0x40132f(_0x13b8d4['data'],_0x13b8d4['getAttributes']()));_0x4b3266['push'](..._0x2c37a6);}else{_0x585b18=_0x7c8c1c['element'];const _0x4ec2d3=_0x7c8c1c['element']['_clone'](!0x0);_0x4ec2d3['_removeAttribute'](St);for(const _0x2a0d6d of this['_editor']['model']['createRangeIn'](_0x4ec2d3)['getItems']())_0x2a0d6d['is']('element')&&_0x2a0d6d['_removeAttribute'](St);_0x4b3266['push'](_0x4ec2d3);}}}else _0x585b18=null;return _0x4b3266;}}function g(_0x2d0592,_0x263e05){return _0x2d0592['type']===_0x263e05['type']&&(_0x2d0592['limitId']===_0x263e05['limitId']&&('text'==_0x2d0592['type']?_0x2d0592['data']==_0x263e05['data']:function(_0x10d88d,_0x3e4c29){if(_0x10d88d['isStart']!=_0x3e4c29['isStart'])return!0x1;if(_0x10d88d['isStart']&&_0x10d88d['elementId']!=_0x3e4c29['elementId'])return!0x1;if(_0x10d88d['category']!=_0x3e4c29['category'])return!0x1;if('block'==_0x10d88d['category'])return!0x0;if('container'==_0x10d88d['category']&&_0x10d88d['elementId']!=_0x3e4c29['elementId'])return!0x1;return _0x10d88d['element']['name']==_0x3e4c29['element']['name'];}(_0x2d0592,_0x263e05)));}function _(_0x2fc414){return k({'name':_0x2fc414['name'],...Object['fromEntries'](_0x2fc414['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,It as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,ct as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,_t as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,xt as surroundingMarkersDetector,bt as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x33fbb5,Editor as _0x41003b,Plugin as _0x402f9a}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x59de08,Collection as _0x351cc6,uid as _0x3cf2b9,toArray as rt,first as _0x348435,FocusTracker as _0x3a633f,KeystrokeHandler as _0x4a5ee5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x2ad091,IconView as st,ButtonView as ts,DropdownButtonView as _0x2d88e0,FocusCycler as _0xe40d05,isViewWithFocusCycler as _0x4581c7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as it,IconCheck as _0x50c073,IconCancel as _0x53e99f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as at,toWidget as _0x1784a7}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x30b6b1,MoveOperation as _0xe709e7,ModelPosition as _0x293106,ModelRange as _0x12763e,MarkerOperation as _0x41205b,MergeOperation as _0x3ae8c9,SplitOperation as _0x21db56,RenameOperation as _0x4f13eb,AttributeOperation as _0x2360ba,ModelTreeWalker as _0x1ce609,ModelText as _0x11d5d8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x72fdf6}from'diff';class C extends _0x33fbb5{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x5699d4,_0x2abd47){let _0xd2d63a;if(_0x2abd47||(_0x2abd47=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x2abd47?_0xd2d63a=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0xd2d63a=this['context']['editors']['find'](_0x5f46c9=>_0x5f46c9['config']['get']('collaboration.channelId')==_0x2abd47)),!_0xd2d63a)throw new _0x59de08('permissions-set-permissions-invalid-channel-id',null);const _0x2da4ed=_0xd2d63a['plugins'],_0x87cbdd=_0x2da4ed['has']('CommentsRepository')?_0x2da4ed['get']('CommentsRepository'):void 0x0,_0x11376d=_0x2da4ed['has']('CommentsOnly')&&_0x2da4ed['get']('CommentsOnly'),_0x1912ab=_0x5699d4['includes']('document:write'),_0x3c4f10=_0x5699d4['includes']('comment:modify_all'),_0x113076=_0x5699d4['includes']('comment:admin'),_0x5bf248=_0x5699d4['includes']('comment:write'),_0x598829=_0x5bf248||_0x113076,_0x4c56a1=_0x598829||_0x3c4f10,_0x331192=_0x1912ab||_0x598829;(_0x11376d&&(_0x11376d['isEnabled']=!_0x1912ab&&_0x4c56a1),_0xd2d63a instanceof _0x41003b)&&(!(_0x1912ab||_0x4c56a1&&_0x87cbdd)?_0xd2d63a['enableReadOnlyMode']('no-permissions'):_0xd2d63a['disableReadOnlyMode']('no-permissions'));if(_0x87cbdd){_0x87cbdd['setPermissions']({'admin':_0x113076,'modifyAll':_0x3c4f10,'write':_0x5bf248,'resolve':_0x331192},_0x2abd47);const _0x5c0353=_0xd2d63a instanceof _0x41003b&&_0xd2d63a['commands']['get']('addCommentThread');_0x5c0353&&(_0x598829?_0x5c0353['clearForceDisabled']('noPermissions'):_0x5c0353['forceDisabled']('noPermissions'));}}}function U(_0x402431,_0x1a6e03){const t=_0x402431['t'];switch(_0x1a6e03){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class ct extends _0x33fbb5{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}constructor(_0x221c56){super(_0x221c56),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x351cc6(),this['_locale']=_0x221c56['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x2e895e,name:_0x17a5e3,..._0x5192d4}){if(!_0x2e895e||'string'!=typeof _0x2e895e)throw new _0x59de08('users-add-invalid-id');if(this['users']['has'](_0x2e895e))throw new _0x59de08('users-add-duplicated-id',null,{'id':_0x2e895e});const _0x43b77c=this['context']['config']['get']('users.getInitialsCallback'),_0x10bc3f={..._0x5192d4,'id':_0x2e895e,'name':A(this['_locale'],_0x17a5e3),'color':this['_getNextColor']()};_0x10bc3f['name']=A(this['_locale'],_0x10bc3f['name']);const _0x49aca9=new lt(_0x10bc3f,_0x43b77c);return this['users']['add'](_0x49aca9),_0x49aca9;}['getUser'](_0x3c1f09){return this['users']['get'](_0x3c1f09);}['useAnonymousUser'](){const _0x5b1bb5=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x5b1bb5);}['defineMe'](_0x29c145){if(this['_myId'])throw new _0x59de08('users-me-already-defined',null);const _0x25c876=this['getUser'](_0x29c145);if(!_0x25c876)throw new _0x59de08('users-me-missing-user',null);this['_myId']=_0x29c145,_0x25c876['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x2513ed=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2513ed&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x145450=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x145450,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x11e22f,_0x4147ef){this['id']=_0x11e22f['id'],this['color']=_0x11e22f['color'],this['name']=_0x11e22f['name'],this['initials']=_0x4147ef?_0x4147ef(this['name']):this['_computeInitials'](),this['avatar']=_0x11e22f['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x57fc55=this['name']['split']('\x20')['filter'](_0x25a176=>/^[\p{Letter}]/u['test'](_0x25a176));return 0x1===_0x57fc55['length']?this['_getInitial'](_0x57fc55[0x0]):0x0===_0x57fc55['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x57fc55[0x0])+this['_getInitial'](_0x57fc55[_0x57fc55['length']-0x1]);}['_getInitial'](_0x6da622){return String['fromCodePoint'](_0x6da622['codePointAt'](0x0))['toUpperCase']();}}function A(_0x4b1436,_0x132402=''){return''==(_0x132402=_0x132402['trim']())?U(_0x4b1436,'Anonymous'):_0x132402;}class ut{['_id'];constructor(_0x7c6254){this['_id']=_0x7c6254;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}}class ht extends _0x2ad091{['name'];['notificationView'];constructor(_0x47a45f,_0x5128b0,_0x1c396f){super(_0x47a45f),this['name']=_0x5128b0['name'],this['notificationView']=null;const _0x17476b=['ck','ck-user'],_0x1d31b9=['ck','ck-user__img'];if(_0x5128b0['isAnonymous']&&_0x1d31b9['push']('ck-user__anonymous'),!_0x5128b0['isAnonymous']&&_0x5128b0['isMe']&&_0x17476b['push']('ck-user_me'),_0x5128b0['avatar']&&_0x1d31b9['push']('ck-user__avatar'),_0x1c396f){const _0x2decea=new st();_0x2decea['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x2decea['content']=it,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x1c396f},'children':[_0x2decea]};}const _0x3acbef=[{'tag':'div','attributes':{'class':_0x1d31b9,'style':{'background-image':_0x5128b0['avatar']?'url(\x27'+_0x5128b0['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x5128b0['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x5128b0['name']},'children':[{'text':_0x5128b0['initials']}]}];this['notificationView']&&_0x3acbef['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x17476b,'data-user-id':_0x5128b0['id']},'children':_0x3acbef});}}class dt extends _0x2ad091{['id'];constructor(_0x53a3f3,_0xadb2f3){super(_0x53a3f3),this['id']='ck-aria-description-'+_0x3cf2b9(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0xadb2f3}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x2d88e0{['render'](){super['render'](),re(this);}}function re(_0x280aed){_0x280aed['listenTo'](_0x280aed['element'],'mousedown',(_0x5c5c82,_0x2c3f31)=>{_0x2c3f31['stopPropagation'](),_0x2c3f31['preventDefault']();}),_0x280aed['listenTo'](_0x280aed['element'],'mouseup',()=>{_0x280aed['element']['focus']();});}function v(_0x1b2cc7){const _0x454d7d=_0x1b2cc7['split'](':');return{'group':_0x454d7d[0x0],'type':_0x454d7d[0x1],'subType':_0x454d7d['length']>=0x5?_0x454d7d[0x2]:null,'id':_0x454d7d['length']<0x5?_0x454d7d[0x2]:_0x454d7d[0x3],'authorId':_0x454d7d['length']<0x5?_0x454d7d[0x3]:_0x454d7d[0x4],'markerCount':0x6==_0x454d7d['length']?_0x454d7d[0x5]:null};}function mt(_0x2b5657,_0x49230c){const _0x565aab=_0x2b5657['end']['nodeBefore'];if(_0x565aab&&_0x565aab['is']('element')&&_0x49230c['schema']['isBlock'](_0x565aab)&&!_0x49230c['schema']['isObject'](_0x565aab)){const _0xd45cc8=_0x49230c['createPositionAt'](_0x565aab,'end');return _0x49230c['createRange'](_0x2b5657['start'],_0xd45cc8);}return _0x2b5657;}class M extends _0x402f9a{['afterInit'](){const _0x3bd583=this['editor'];if(!_0x3bd583['plugins']['has']('AlignmentEditing'))return;_0x3bd583['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x402f9a{['afterInit'](){const _0x3a9d5b=this['editor'],_0x12f50b=_0x3a9d5b['plugins']['get']('SuggestionsConversion');for(const _0x4ede34 of ii){if(!_0x3a9d5b['plugins']['has'](_0x4ede34))continue;const _0xbe6fbb=_0x4ede34['slice'](0x0,-0x7)['toLowerCase']();_0x12f50b['registerInlineAttribute'](_0xbe6fbb);}}}class I extends _0x402f9a{['afterInit'](){const _0x33dce2=this['editor'],_0xdfb6b1=_0x33dce2['plugins']['get']('SuggestionsConversion');_0x33dce2['plugins']['has']('BookmarkEditing')&&_0xdfb6b1['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x402f9a{['afterInit'](){const _0x5758a9=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x235cb2,commandName:_0x5be882}of no)this['editor']['plugins']['has'](_0x235cb2)&&_0x5758a9['registerInlineAttribute'](_0x5be882);}}class T extends _0x402f9a{['afterInit'](){const {editor:_0x116b62}=this;if(!_0x116b62['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x224d40=_0x116b62['plugins']['get']('SuggestionsConversion');_0x224d40['registerBlockAttribute']('footnotesListStyle'),_0x224d40['registerBlockAttribute']('footnotesListStart');}}class E extends _0x402f9a{['afterInit'](){const _0x53d7d5=this['editor'];if(!_0x53d7d5['plugins']['has']('HighlightEditing'))return;_0x53d7d5['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x402f9a{['afterInit'](){const _0x3fdb70=this['editor'];if(!_0x3fdb70['plugins']['has']('HtmlEmbed'))return;_0x3fdb70['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x402f9a{['afterInit'](){const _0x31c1ac=this['editor'];if(!_0x31c1ac['plugins']['has']('ImageEditing'))return;const _0x427d9e=_0x31c1ac['plugins']['get']('SuggestionsConversion');_0x427d9e['registerBlockAttribute']('src'),_0x31c1ac['plugins']['has']('ImageResize')&&_0x427d9e['registerBlockAttribute']('resizedWidth'),_0x31c1ac['plugins']['has']('ImageTextAlternativeEditing')&&_0x427d9e['registerBlockAttribute']('alt'),_0x31c1ac['plugins']['has']('PictureEditing')&&_0x427d9e['registerBlockAttribute']('sources'),_0x31c1ac['plugins']['has']('ImageSizeAttributes')&&(_0x427d9e['registerBlockAttribute']('width'),_0x427d9e['registerBlockAttribute']('height'));}}class x extends _0x402f9a{['afterInit'](){const _0x48d0da=this['editor'],_0x41a4cf=_0x48d0da['plugins']['get']('SuggestionsConversion');_0x48d0da['plugins']['has']('IndentBlock')&&(_0x41a4cf['registerBlockAttribute']('blockIndent'),_0x48d0da['plugins']['has']('ListEditing')&&(_0x41a4cf['registerBlockAttribute']('blockIndentList'),_0x41a4cf['registerBlockAttribute']('blockIndentListItem')));}}class H extends _0x402f9a{['afterInit'](){const _0xc6d057=this['editor'];if(!_0xc6d057['plugins']['has']('LineHeight'))return;_0xc6d057['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x402f9a{['afterInit'](){const _0x36e4a1=this['editor'];if(!_0x36e4a1['plugins']['has']('LinkEditing'))return;const _0x159ebb=_0x36e4a1['plugins']['get']('SuggestionsConversion'),_0x58a1b7=_0x36e4a1['commands']['get']('link');_0x159ebb['registerInlineAttribute']('linkHref');for(const _0x1cd54b of _0x58a1b7['manualDecorators'])_0x159ebb['registerInlineAttribute'](_0x1cd54b['id']);}}class P extends _0x402f9a{['afterInit'](){const _0x9ed3f6=this['editor'];if(!_0x9ed3f6['plugins']['has']('ListEditing'))return;const _0x58f93e=_0x9ed3f6['plugins']['get']('SuggestionsConversion'),_0x5bc475=_0x9ed3f6['plugins']['has']('TodoListEditing');_0x58f93e['registerBlockAttribute']('listItemId'),_0x58f93e['registerBlockAttribute']('listType'),_0x58f93e['registerBlockAttribute']('listIndent'),_0x5bc475&&_0x58f93e['registerBlockAttribute']('todoListChecked');}}class K extends _0x402f9a{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x4a0dcc=this['editor']['config']['get']('list.properties'),_0x5a3edd=this['editor']['plugins']['get']('SuggestionsConversion');_0x4a0dcc['styles']&&_0x5a3edd['registerBlockAttribute']('listStyle'),_0x4a0dcc['reversed']&&_0x5a3edd['registerBlockAttribute']('listReversed'),_0x4a0dcc['startIndex']&&_0x5a3edd['registerBlockAttribute']('listStart');}}class q extends _0x402f9a{['afterInit'](){const _0x31d279=this['editor'],_0x3af765=_0x31d279['plugins']['get']('SuggestionsConversion');_0x31d279['plugins']['has']('MultiLevelList')&&_0x3af765['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x402f9a{['afterInit'](){const _0x404112=this['editor'];if(!_0x404112['plugins']['has']('Style')||!_0x404112['plugins']['has']('DataSchema')||!_0x404112['config']['get']('style.definitions'))return;const _0x5bdd19=_0x404112['plugins']['get']('SuggestionsConversion'),_0x498f59=_0x404112['config']['get']('style.definitions'),_0x43374c=_0x404112['plugins']['get']('GeneralHtmlSupport'),_0x2a53f8=_0x404112['plugins']['get']('StyleUtils')['normalizeConfig'](_0x404112['plugins']['get']('DataSchema'),_0x498f59),_0x2bd30b=new Set();for(const _0x15b2f0 of _0x2a53f8['block']){const _0x37a7b8=_0x43374c['getGhsAttributeNameForElement'](_0x15b2f0['element']);_0x2bd30b['add'](_0x37a7b8);}const _0x948461=new Set();for(const _0x2ccfe5 of _0x2a53f8['inline']){const _0x374ade=_0x43374c['getGhsAttributeNameForElement'](_0x2ccfe5['element']);_0x948461['add'](_0x374ade);for(const _0x2d22c7 of _0x2ccfe5['ghsAttributes'])_0x948461['add'](_0x2d22c7);}for(const _0x5bf3d2 of _0x2bd30b)_0x5bdd19['registerBlockAttribute'](_0x5bf3d2);for(const _0x29de99 of _0x948461)_0x5bdd19['registerInlineAttribute'](_0x29de99);}}class O extends _0x402f9a{['afterInit'](){const _0x2d63c1=this['editor'];if(!_0x2d63c1['plugins']['has']('TableEditing'))return;const _0x55c8d6=_0x2d63c1['plugins']['get']('SuggestionsConversion');_0x55c8d6['registerBlockAttribute']('headingRows'),_0x55c8d6['registerBlockAttribute']('headingColumns');}}class R extends _0x402f9a{['afterInit'](){const {plugins:_0x2a6652}=this['editor'];if(!_0x2a6652['has']('TablePropertiesEditing'))return;const _0xe52cc=_0x2a6652['get']('SuggestionsConversion'),_0x2afaf6=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x1c4412 of _0x2afaf6)_0xe52cc['registerBlockAttribute'](_0x1c4412);}}class F extends _0x402f9a{['afterInit'](){const _0x247ce2=this['editor'],_0x599608=_0x247ce2['plugins']['get']('SuggestionsConversion');_0x247ce2['plugins']['has']('TableLayout')&&_0x599608['registerBlockAttribute']('tableType');}}class G extends _0x402f9a{['afterInit'](){const _0x58c029=this['editor'],_0xcd0aa7=this['editor']['plugins']['get']('SuggestionsConversion');_0x58c029['plugins']['has']('Uploadcare')&&_0x58c029['plugins']['has']('UploadcareImageEdit')&&_0xcd0aa7['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x402f9a{['afterInit'](){const _0x3fc44c=this['editor'];if(!_0x3fc44c['plugins']['has']('ShiftEnter'))return;const _0x12de61=_0x3fc44c['plugins']['get']('SuggestionsConversion'),_0x5c8648=(_0x48e504,_0x4c4cdd,_0xfb80c9,_0x4ff111)=>{if(_0x4ff111&&!_0xfb80c9['options']['showSuggestionHighlights'])return;if(!_0xfb80c9['consumable']['test'](_0x4c4cdd['markerRange'],_0x48e504['name']))return;const _0x29f54=_0x3fc44c['model'];for(const _0x46ba65 of _0x4c4cdd['markerRange']['getItems']()){if(!_0x46ba65['is']('element','softBreak'))continue;const _0x54704f='deletion'==_0x4c4cdd['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x12bfc9,authorId:_0x110c97}=v(_0x4c4cdd['markerName']),_0x81c4e4=_0xfb80c9['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x54704f,'data-suggestion':_0x12bfc9,'data-author-id':_0x110c97}),_0x55e176=_0xfb80c9['mapper']['toViewPosition'](_0x29f54['createPositionBefore'](_0x46ba65));!_0x4ff111&&_0x12de61['_activeMarkers']['includes'](_0x4c4cdd['markerName'])&&_0xfb80c9['writer']['addClass']('ck-suggestion-marker--active',_0x81c4e4),_0xfb80c9['writer']['insert'](_0x55e176,_0x81c4e4),_0xfb80c9['mapper']['bindElementToMarker'](_0x81c4e4,_0x4c4cdd['markerName']);}};_0x3fc44c['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x5de6f2,_0x2ee83e,_0x45ad38)=>{_0x5c8648(_0x5de6f2,_0x2ee83e,_0x45ad38,!0x1);},{'priority':'high'}),_0x3fc44c['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x30e249,_0x14eef8,_0x5aff8b)=>{_0x5c8648(_0x30e249,_0x14eef8,_0x5aff8b,!0x0);},{'priority':'high'});}}class L extends _0x402f9a{['afterInit'](){const _0x3977d0=this['editor'];_0x3977d0['plugins']['has']('MediaEmbedEditing')&&(_0x3977d0['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x299374,{writer:_0x3700b2,options:_0x93da41})=>{if(_0x93da41['showSuggestionHighlights'])return _0x3700b2['createEmptyElement']('div');},'converterPriority':'high'}),_0x3977d0['data']['downcastDispatcher']['on']('attribute:url:media',(_0x2b2a11,_0x1693c2,_0x55e6b9)=>{_0x55e6b9['options']['showSuggestionHighlights']&&_0x2b2a11['stop']();},{'priority':'high'}));}}class Q extends _0x402f9a{['afterInit'](){const _0x1cea83=this['editor'];if(!_0x1cea83['plugins']['has']('Table'))return;_0x1cea83['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x5e37cf,_0x1a51f6,_0xe0ce5b)=>{((_0x30ee06,_0x1d63f8,_0x5c72ed)=>{if(!_0x5c72ed['options']['showSuggestionHighlights'])return;const _0x5523ad=_0x1d63f8['item'];if(!_0x5523ad||!_0x5523ad['is']('element','tableCell'))return;const _0x41de32=_0x5c72ed['mapper']['toViewElement'](_0x5523ad);if(_0x41de32){const {id:_0x551ee3,authorId:_0x5cd0c8}=v(_0x1d63f8['markerName']);at(_0x41de32,_0x5c72ed['writer'],(_0x45b5cb,_0x36ec0f,_0x14f6f5)=>{_0x14f6f5['addClass'](rt(_0x36ec0f['classes']),_0x45b5cb),_0x14f6f5['setAttribute']('data-suggestion-id',_0x551ee3,_0x45b5cb),_0x14f6f5['setAttribute']('data-author-id',_0x5cd0c8,_0x45b5cb);});}})(0x0,_0x1a51f6,_0xe0ce5b);},{'priority':'highest'});}}class V extends _0x402f9a{['afterInit'](){const _0x4900f8=this['editor'];_0x4900f8['plugins']['has']('HorizontalLineEditing')&&_0x4900f8['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x2c3931,{writer:_0x39cb52,options:_0x9e85fb})=>{if(!_0x9e85fb['showSuggestionHighlights'])return null;const _0x5f1fd0=_0x39cb52['createContainerElement']('div'),_0x38005a=_0x39cb52['createEmptyElement']('hr');return _0x39cb52['addClass']('ck-horizontal-line',_0x5f1fd0),_0x39cb52['insert'](_0x39cb52['createPositionAt'](_0x5f1fd0,0x0),_0x38005a),_0x5f1fd0;},'converterPriority':'high'});}}class W extends _0x402f9a{['afterInit'](){const {plugins:_0x2c8d36,model:_0x49c7a8}=this['editor'];if(!_0x2c8d36['has']('TableCellPropertiesEditing'))return;const _0x110a88=_0x2c8d36['get']('SuggestionsConversion'),_0x2cf4c0=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x3acd2a of _0x2cf4c0)_0x110a88['registerBlockAttribute'](_0x3acd2a);_0x49c7a8['schema']['checkAttribute']('tableCell','tableCellType')&&_0x110a88['registerBlockAttribute']('tableCellType');}}class kt extends _0x402f9a{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[M,D,I,B,T,E,V,S,$,x,H,N,P,K,L,q,J,z,Q,O,F,W,R,G];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x29ab88=this['editor'],_0x3354d4=(_0x182dac,_0x5b1d4f,_0x478df0)=>{const {id:_0x334a93,authorId:_0x5a6ea1,type:_0x4f5e50,subType:_0x3f85b3}=v(_0x182dac['markerName']),_0x3a6e51=['ck-suggestion-marker',this['_getClassName'](_0x4f5e50,_0x3f85b3)];let _0x1625c4=0xbb8;return!_0x478df0&&(this['_activeMarkers']['includes'](_0x182dac['markerName'])&&(_0x3a6e51['push']('ck-suggestion-marker--active'),_0x1625c4=0xbc2)),('deletion'==_0x4f5e50&&(_0x1625c4+=0x5),{'classes':_0x3a6e51,'attributes':{'data-suggestion':_0x334a93,'data-author-id':_0x5a6ea1},'priority':_0x1625c4});};_0x29ab88['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0xc3c2eb,_0x170121)=>_0x3354d4(_0xc3c2eb,0x0,!0x1)}),_0x29ab88['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x229dec,_0x2632d3)=>_0x3354d4(_0x229dec,0x0,!0x0)}),_0x29ab88['conversion']['for']('dataDowncast')['add'](_0x39642c=>{_0x39642c['on']('addMarker:suggestion',(_0x345ba7,_0x5ae343,_0x3ff568)=>{if(!_0x3ff568['options']['showSuggestionHighlights'])return;const _0x5020f5=_0x5ae343['item'];if(!_0x5020f5)return;const _0x44cfad=_0x3ff568['mapper']['toViewElement'](_0x5020f5);_0x29ab88['model']['schema']['isObject'](_0x5020f5)&&_0x44cfad&&!_0x44cfad['getCustomProperty']('widget')&&_0x44cfad['is']('containerElement')&&_0x1784a7(_0x44cfad,_0x3ff568['writer']);},{'priority':'high'});});const _0x3a9e18=(_0x4d3c46,_0x5738b3,_0x37bdb6,_0x5bee92,_0x13856e)=>{if(_0x5bee92&&!_0x37bdb6['options']['showSuggestionHighlights'])return;if(!_0x5738b3['item'])return;const {id:_0x1322d6,authorId:_0x5aeea3,subType:_0x35542f}=v(_0x5738b3['markerName']);if(_0x13856e){const _0x5b072a=_0x35542f['split']('|')[0x0];if(!this['isBlockAttribute'](_0x5b072a))return;}if(_0x5738b3['item']['is']('selection'))return void _0x37bdb6['consumable']['consume'](_0x5738b3['item'],_0x4d3c46['name']);const _0x1a2f1f=_0x37bdb6['mapper']['toViewElement'](_0x5738b3['item']);if(_0x5738b3['item']['is']('element')&&_0x29ab88['model']['schema']['isBlock'](_0x5738b3['item'])&&!_0x1a2f1f['getCustomProperty']('addHighlight')){_0x37bdb6['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x1a2f1f),_0x37bdb6['writer']['setAttribute']('data-suggestion',_0x1322d6,_0x1a2f1f),_0x37bdb6['writer']['setAttribute']('data-author-id',_0x5aeea3,_0x1a2f1f),_0x37bdb6['mapper']['bindElementToMarker'](_0x1a2f1f,_0x5738b3['markerName']),_0x5bee92||(this['_activeMarkers']['includes'](_0x5738b3['markerName'])?_0x37bdb6['writer']['addClass']('ck-suggestion-marker--active',_0x1a2f1f):_0x37bdb6['writer']['removeClass']('ck-suggestion-marker--active',_0x1a2f1f));for(const _0x193797 of _0x29ab88['model']['createRangeIn'](_0x5738b3['item'])['getItems']())_0x37bdb6['consumable']['consume'](_0x193797,_0x4d3c46['name']);_0x37bdb6['consumable']['consume'](_0x5738b3['item'],_0x4d3c46['name']);}},_0x2f5a8c=(_0x7d44a7,_0x2d2173,_0x4e2338,_0x2a0bd2)=>{const _0x4fc396=_0x4e2338['mapper']['markerNameToElements'](_0x2d2173['markerName']);if(_0x4fc396){if(_0x2a0bd2){const {subType:_0x620d6d}=v(_0x2d2173['markerName']),_0xae4b00=_0x620d6d['split']('|')[0x0];if(!this['isBlockAttribute'](_0xae4b00))return;}for(const _0x58f658 of _0x4fc396)_0x58f658['getCustomProperty']('addHighlight')||(_0x4e2338['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x58f658),_0x4e2338['writer']['removeAttribute']('data-suggestion',_0x58f658),_0x4e2338['writer']['removeAttribute']('data-author-id',_0x58f658),_0x4e2338['mapper']['unbindElementFromMarkerName'](_0x58f658,_0x2d2173['markerName']));}};_0x29ab88['conversion']['for']('editingDowncast')['add'](_0x5e6a57=>{_0x5e6a57['on']('addMarker:suggestion:formatBlock',(_0x49178d,_0x58ef35,_0x3e9dd1)=>{_0x3a9e18(_0x49178d,_0x58ef35,_0x3e9dd1,!0x1,!0x1);},{'priority':'high'});}),_0x29ab88['conversion']['for']('editingDowncast')['add'](_0x5bc8f8=>{_0x5bc8f8['on']('addMarker:suggestion:attribute',(_0x4adf59,_0x52b152,_0x382da5)=>{_0x3a9e18(_0x4adf59,_0x52b152,_0x382da5,!0x1,!0x0);},{'priority':'high'});}),_0x29ab88['conversion']['for']('editingDowncast')['add'](_0x33302d=>{_0x33302d['on']('removeMarker:suggestion:formatBlock',(_0x298aed,_0x101216,_0x2ef7c7)=>{_0x2f5a8c(0x0,_0x101216,_0x2ef7c7,!0x1);},{'priority':'high'});}),_0x29ab88['conversion']['for']('editingDowncast')['add'](_0x539da0=>{_0x539da0['on']('removeMarker:suggestion:attribute',(_0x352bd7,_0x2fd1bc,_0x49559f)=>{_0x2f5a8c(0x0,_0x2fd1bc,_0x49559f,!0x0);},{'priority':'high'});}),_0x29ab88['conversion']['for']('dataDowncast')['add'](_0x44e44e=>{_0x44e44e['on']('addMarker:suggestion:formatBlock',(_0x499cc8,_0x43117f,_0x3238ec)=>{_0x3a9e18(_0x499cc8,_0x43117f,_0x3238ec,!0x0,!0x1);},{'priority':'highest'});}),_0x29ab88['conversion']['for']('dataDowncast')['add'](_0x13166c=>{_0x13166c['on']('addMarker:suggestion:attribute',(_0x1de816,_0x17923c,_0x20270f)=>{_0x3a9e18(_0x1de816,_0x17923c,_0x20270f,!0x0,!0x0);},{'priority':'highest'});}),_0x29ab88['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x25f025,_0x55600b)=>{if(_0x55600b['options']['showSuggestionHighlights']){const {id:_0x2ef337,authorId:_0xb609ba}=v(_0x25f025);return _0x25f025['includes'](':split')||_0x25f025['includes'](':merge')?{'group':'suggestion','name':_0x25f025['substr'](0xb),'attributes':{'data-suggestion':_0x2ef337,'data-author-id':_0xb609ba}}:null;}return{'group':'suggestion','name':_0x25f025['substr'](0xb)};}});const _0x473fdb=(_0x13d3b1,_0x2dda1b,_0x8466aa,_0x256702,_0x53b67c)=>{if(_0x256702&&!_0x8466aa['options']['showSuggestionHighlights'])return;if(!_0x8466aa['consumable']['test'](_0x2dda1b['markerRange'],_0x13d3b1['name']))return;const _0x5f5920=this['_activeMarkers'],_0x58ac66=_0x2dda1b['markerRange']['getWalker'](),_0x519277=_0x2dda1b['markerRange']['start'],_0xab8f94=_0x29ab88['model']['schema'];let _0x3122fa=null,_0xfe4b7c=null,_0x3f2314=!0x1,_0x1ce087=!0x1;for(const _0x543c84 of _0x58ac66){const _0x5f58b7=_0x543c84['item'];_0x3f2314=_0x3f2314||_0xab8f94['isContent'](_0x5f58b7);const _0x3de548=_0x8466aa['mapper']['toViewElement'](_0x5f58b7);if(_0x3de548&&_0x3de548['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x543c84['type']&&(_0xab8f94['isBlock'](_0x5f58b7)&&!_0xab8f94['isLimit'](_0x5f58b7)&&(_0x5f58b7['nextSibling']||_0x519277['isAtEnd']?_0x3122fa&&_0x3122fa['parent']==_0x5f58b7||(_0x3122fa=_0x5f58b7,_0x58983d(_0x543c84['previousPosition']),_0x1ce087=!0x0):_0xfe4b7c=_0xfe4b7c||_0x543c84['previousPosition']));}function _0x58983d(_0x177f8f){const {id:_0x5506eb,authorId:_0x45a382}=v(_0x2dda1b['markerName']),_0x2c6649=_0x8466aa['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x53b67c,'data-suggestion':_0x5506eb,'data-author-id':_0x45a382}),_0x383b55=_0x8466aa['mapper']['toViewPosition'](_0x177f8f);!_0x256702&&_0x5f5920['includes'](_0x2dda1b['markerName'])&&_0x8466aa['writer']['addClass']('ck-suggestion-marker--active',_0x2c6649),_0x8466aa['writer']['insert'](_0x383b55,_0x2c6649),_0x8466aa['mapper']['bindElementToMarker'](_0x2c6649,_0x2dda1b['markerName']);}_0x3f2314||_0x1ce087||!_0xfe4b7c||_0x58983d(_0xfe4b7c);};_0x29ab88['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0xa02b17,_0x3ce811,_0x440315)=>{_0x473fdb(_0xa02b17,_0x3ce811,_0x440315,!0x1,'merge');},{'priority':'high'}),_0x29ab88['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x253e7d,_0x444e63,_0x5bc131)=>{_0x473fdb(_0x253e7d,_0x444e63,_0x5bc131,!0x0,'merge');},{'priority':'high'}),_0x29ab88['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x588e3f,_0x3a712c,_0x228b99)=>{_0x473fdb(_0x588e3f,_0x3a712c,_0x228b99,!0x1,'split');},{'priority':'high'}),_0x29ab88['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2a4b25,_0xc0ac50,_0x599ca6)=>{_0x473fdb(_0x2a4b25,_0xc0ac50,_0x599ca6,!0x0,'split');},{'priority':'high'}),_0x29ab88['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0xd4337f,_0x40816d,_0x1703c9)=>{((_0x43aef3,_0x18abe6,_0x2314b5)=>{const _0x14fbe0=_0x2314b5['mapper']['markerNameToElements'](_0x18abe6['markerName']);if(_0x14fbe0){for(const _0x3385a6 of _0x14fbe0)(_0x3385a6['hasClass']('ck-suggestion-marker-split')||_0x3385a6['hasClass']('ck-suggestion-marker-merge'))&&(_0x2314b5['mapper']['unbindElementFromMarkerName'](_0x3385a6,_0x18abe6['markerName']),_0x2314b5['writer']['remove'](_0x3385a6));}})(0x0,_0x40816d,_0x1703c9);},{'priority':'high'});const _0x591e3f=(_0x2d5848,_0x526a93,_0x333669,_0x540aeb)=>{if(_0x540aeb&&!_0x333669['options']['showSuggestionHighlights'])return;const _0x17fe92=_0x526a93['markerRange']['start'],_0x96417c=_0x526a93['markerRange']['end'],_0x47295b=_0x29ab88['model']['schema'];if(!_0x17fe92['isTouching'](_0x96417c)||!_0x17fe92['nodeAfter'])return;const _0x5264da=_0x17fe92['nodeAfter'];if(_0x47295b['isBlock'](_0x5264da)&&!_0x47295b['isLimit'](_0x5264da)&&_0x47295b['checkChild'](_0x5264da,'$text')){if(!_0x333669['consumable']['consume'](_0x526a93['markerRange'],_0x2d5848['name']))return;const {id:_0x53f095,authorId:_0x33731a}=v(_0x526a93['markerName']),_0x2f58bd=_0x333669['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x53f095,'data-author-id':_0x33731a}),_0x2e0459=_0x333669['mapper']['toViewPosition'](_0x96417c);!_0x540aeb&&this['_activeMarkers']['includes'](_0x526a93['markerName'])&&_0x333669['writer']['addClass']('ck-suggestion-marker--active',_0x2f58bd),_0x333669['writer']['insert'](_0x2e0459,_0x2f58bd),_0x333669['mapper']['bindElementToMarker'](_0x2f58bd,_0x526a93['markerName']);}};_0x29ab88['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x38d7e7,_0x50fbdf,_0x30e1ad)=>{_0x591e3f(_0x38d7e7,_0x50fbdf,_0x30e1ad,!0x1);},{'priority':'high'}),_0x29ab88['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x8f9277,_0x447642,_0x30ba48)=>{_0x591e3f(_0x8f9277,_0x447642,_0x30ba48,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x5bdfbd,_0x339341,_0x4171a2)=>{this['_activeMarkers']=_0x4171a2['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x2a1d87){this['_blockAttributeKeys']['add'](_0x2a1d87);}['registerInlineAttribute'](_0x2df4b2){this['_inlineAttributeKeys']['add'](_0x2df4b2);}['isBlockAttribute'](_0x49ce9e){return this['_blockAttributeKeys']['has'](_0x49ce9e);}['isInlineAttribute'](_0x2035d1){return this['_inlineAttributeKeys']['has'](_0x2035d1);}['isRegisteredAttribute'](_0x174e90){return this['isInlineAttribute'](_0x174e90)||this['isBlockAttribute'](_0x174e90);}['_getClassName'](_0x2cf356,_0xac2d5c){if('attribute'!=_0x2cf356)return'ck-suggestion-marker-'+_0x2cf356;const _0x54d620=_0xac2d5c['split']('|')[0x0];return this['isBlockAttribute'](_0x54d620)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x5ff6a={},_0x5ddf97){if(void 0x0!==_0x5ff6a['dateTimeFormat']&&'function'!=typeof _0x5ff6a['dateTimeFormat'])throw new _0x59de08('invalid-date-time-format');return _0x26ad78=>{const _0x5b1a99='string'==typeof _0x26ad78?tt['fromISO'](_0x26ad78):tt['fromJSDate'](_0x26ad78),_0x2c5851=tt['now'](),_0x2d73bd=Math['floor'](_0x2c5851['diff'](_0x5b1a99,'days')['days']);return _0x5ff6a['dateTimeFormat']?_0x5ff6a['dateTimeFormat'](_0x5b1a99['toJSDate'](),_0x5ddf97&&_0x5ddf97['t']?_0x5ddf97['t']:void 0x0):0x0===_0x2d73bd?_0x5ddf97?U(_0x5ddf97,'Today')+'\x20'+_0x5b1a99['toFormat']('hh:mma'):_0x5b1a99['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x2d73bd?_0x5ddf97?U(_0x5ddf97,'Yesterday')+'\x20'+_0x5b1a99['toFormat']('hh:mma'):_0x5b1a99['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x2d73bd<0x7?_0x5ddf97?U(_0x5ddf97,'Last')+'\x20'+U(_0x5ddf97,_0x5b1a99['toFormat']('EEEE'))+'\x20'+_0x5b1a99['toFormat']('hh:mma'):_0x5b1a99['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x5b1a99['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x20974a,_0x297e3a){const _0x5506ad=_0x20974a['mapper']['markerNameToElements'](_0x297e3a['name']);if(!_0x5506ad)return null;const _0x50f461=_0x348435(_0x5506ad['values']());return _0x20974a['view']['domConverter']['mapViewToDom'](_0x50f461)||null;}function wt(_0xdc1719,_0x12dc0f){if(0x0===_0x12dc0f['length'])return null;const _0x24dc2f=[],_0x2767e8=_0xdc1719['view']['domConverter'];for(const _0x1ff8b1 of _0x12dc0f){const _0x53562f=_0xdc1719['mapper']['markerNameToElements'](_0x1ff8b1['name']);if(!_0x53562f)continue;const _0x2453ae=Array['from'](_0x53562f)['map'](_0xc6cd1=>_0x2767e8['mapViewToDom'](_0xc6cd1))['filter'](_0x15ac9c=>!!_0x15ac9c);_0x24dc2f['push'](..._0x2453ae);}if(0x0===_0x24dc2f['length'])return null;const _0x35ff3d=[];for(const _0x873435 of _0x24dc2f){const _0x2c8429=_0x873435['getClientRects']()['item'](0x0);_0x2c8429&&_0x35ff3d['push']({'x':_0x2c8429['x'],'y':_0x2c8429['y'],'domElement':_0x873435});}return 0x0===_0x35ff3d['length']?null:(_0x35ff3d['sort']((_0x2fccc0,_0x4222c3)=>_0x2fccc0['y']-_0x4222c3['y']||_0x2fccc0['x']-_0x4222c3['x']),_0x35ff3d['map'](_0x486043=>_0x486043['domElement']));}function bt(_0x570c11,{limit:_0x226b4d,suffix:_0x4d9e7b='...'}){const _0x30737f=[];let _0x39b743=0x0;const _0x1daee0=_0x570c11['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x54891a=0x0;_0x54891a<_0x1daee0['length'];_0x54891a++){let _0x5db9d4=_0x1daee0[_0x54891a];const _0x46eda8=tn(_0x5db9d4);if(_0x5db9d4['startsWith']('<')){if(_0x39b743>=_0x226b4d){const _0xf6261c=_0x5db9d4['match'](/[a-zA-Z]+/);if(!_0xf6261c){_0x1daee0[_0x54891a]='';continue;}const _0x545b8e=_0xf6261c[0x0];_0x5db9d4['startsWith']('</')?(_0x30737f['length']&&(_0x5db9d4=''),_0x30737f['pop']()):(_0x30737f['push'](_0x545b8e),_0x5db9d4='');}}else{if(_0x39b743>=_0x226b4d)_0x5db9d4='';else{if(_0x39b743+_0x46eda8['length']>=_0x226b4d){let _0xc67e54=_0x226b4d-_0x39b743;if('\x20'===_0x46eda8[_0xc67e54-0x1])_0xc67e54--;else{const _0x326c74=_0x46eda8['slice'](_0xc67e54)['indexOf']('\x20');-0x1!==_0x326c74?_0xc67e54+=_0x326c74:_0xc67e54=_0x5db9d4['length'];}_0x5db9d4=_0x46eda8['slice'](0x0,_0xc67e54)['join']('')+_0x4d9e7b,_0x39b743=_0x226b4d;}else _0x39b743+=_0x46eda8['length'];}}_0x1daee0[_0x54891a]=_0x5db9d4;}return _0x1daee0['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x2bcd73){const _0x4f801a=[];for(let _0x5bc656=0x0;_0x5bc656<_0x2bcd73['length'];_0x5bc656++){const _0xc5db16=_0x2bcd73['substring'](_0x5bc656)['match'](/^&[a-z0-9#]+;/);if(_0xc5db16){const _0x3fdf00=_0xc5db16[0x0];_0x4f801a['push'](_0x3fdf00),_0x5bc656+=_0x3fdf00['length']-0x1;}else _0x4f801a['push'](_0x2bcd73[_0x5bc656]);}return _0x4f801a;}class X extends _0x2ad091{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x5b5001){super(_0x5b5001);const _0x59d912=this['bindTemplate'];this['set']('message',U(_0x5b5001,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x5b5001,U(_0x5b5001,'Yes'),_0x50c073,'submit'),this['cancelView']=this['_createButtonView'](_0x5b5001,U(_0x5b5001,'No'),_0x53e99f,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x3a633f(),this['keystrokes']=new _0x4a5ee5(),this['focusCycler']=new _0xe40d05({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x59d912['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x118d2b,_0x5f3a45,_0x6580b8,_0x28d45c){const _0x492ea2=new ts(_0x118d2b);return _0x492ea2['label']=_0x5f3a45,_0x492ea2['icon']=_0x6580b8,_0x492ea2['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x28d45c}}),_0x492ea2['on']('execute',()=>this['fire'](_0x28d45c)),_0x492ea2;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x34af0f=>{this['keystrokes']['listenTo'](_0x34af0f['element']),this['focusTracker']['add'](_0x34af0f['element']);}),this['keystrokes']['set']('esc',(_0xb3897d,_0x45c53a)=>{this['fire']('cancel'),_0x45c53a();});}}function vt(_0x42eee5){return class extends _0x42eee5{['showConfirm'](_0x86f055,_0x2c4959){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x86f055,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x2c4959['appendChild'](this['confirmView']['element']),_0x2c4959['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x312db7,_0x555eea,_0x93a4ad)=>{_0x93a4ad||_0x2c4959['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x3945cf=>this['confirmView']['on']('submit',_0x3945cf));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function k(_0x2b9c85){let _0x219733=0x0,_0x23f389=0x0;for(const _0x110475 of ne(_0x2b9c85))_0x219733=(_0x219733<<0x5)-_0x219733+_0x110475,_0x219733&=_0x219733,[_0x219733,_0x23f389]=[_0x23f389,_0x219733];return ie(_0x219733)+ie(_0x23f389);}function*ee(_0x184768){null==_0x184768||null==_0x184768?yield 0x12b9b0a1:0x0===_0x184768||!0x1===_0x184768?yield 0x0:0x1===_0x184768||0x1==_0x184768?yield 0x1:Array['isArray'](_0x184768)?yield*function*(_0x30cdc2){for(const _0x4c314b of _0x30cdc2)yield*ee(_0x4c314b);}(_0x184768):'object'==typeof _0x184768?yield*ne(_0x184768):'string'==typeof _0x184768?yield*oe(_0x184768):'number'==typeof _0x184768&&(yield _0x184768);}function*ne(_0x2b9449){if(yield te('{'),_0x2b9449){const _0x1baf88=Object['keys'](_0x2b9449)['sort']();for(const _0x1cd08a of _0x1baf88){yield*oe(_0x1cd08a),yield te(':');const _0x24d277=_0x2b9449[_0x1cd08a];yield*ee(_0x24d277);}}yield te('}');}function*oe(_0x7b6674){yield te('\x22');for(const _0x817e2c of _0x7b6674)yield te(_0x817e2c);yield te('\x22');}function te(_0x14df5d){return _0x14df5d['charCodeAt'](0x0);}function ie(_0x477fa7){return(_0x477fa7*=Math['sign'](_0x477fa7))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x47a427,_0x3caf55,_0x5dee0d,_0x18e45f=[]){const _0x507a52='string'==typeof _0x47a427?_0x5dee0d['get'](_0x47a427)['constructor']:_0x47a427['prototype']['constructor'];if(_0x3caf55['has'](_0x507a52))return _0x3caf55['get'](_0x507a52);_0x3caf55['set'](_0x507a52,!0x0);const _0x415b07=[...et,..._0x18e45f]['map'](_0x29280e=>{if(_0x5dee0d['has'](_0x29280e))return _0x5dee0d['get'](_0x29280e)['constructor'];})['filter'](_0x576318=>_0x576318);if(_0x507a52&&_0x415b07['includes'](_0x507a52))return _0x3caf55['set'](_0x507a52,!0x1),!0x1;if(!_0x507a52['requires'])return _0x3caf55['set'](_0x507a52,!0x0),!0x0;const _0x9001d=_0x507a52['requires']['every'](_0xf42813=>ot(_0xf42813,_0x3caf55,_0x5dee0d,_0x18e45f));return _0x3caf55['set'](_0x507a52,_0x9001d),_0x9001d;}function Ct(_0xe4f19,_0x20bc2d){const _0x2db2b3={};for(const _0x4bf528 of _0xe4f19['config']['names']())nt['includes'](_0x4bf528)||(_0x2db2b3[_0x4bf528]=_0xe4f19['config']['get'](_0x4bf528));const _0x40da51=_0x2db2b3['plugins']||[],_0x2aa443=_0xe4f19['constructor']['builtinPlugins']||[],_0x2f67e8=_0x40da51['length']?_0x40da51:_0x2aa443,_0x366dab=_0x2db2b3['extraPlugins']||[];delete _0x2db2b3['extraPlugins'];const _0x188bfe=_0x2db2b3['removePlugins']||[];delete _0x2db2b3['removePlugins'];const _0x5c6690=_0xe4f19['_context']['config']['get']('plugins')||[],_0x207583=_0x2f67e8['concat'](_0x366dab)['concat'](_0x5c6690)['map'](_0x564183=>'string'==typeof _0x564183?_0x2aa443['find'](_0x5da9b5=>_0x5da9b5['pluginName']==_0x564183):_0x564183)['filter'](_0x2c6d63=>!_0x188bfe['includes'](_0x2c6d63)&&!_0x188bfe['includes'](_0x2c6d63['pluginName'])),_0x1f77b0=Array['from'](new Set(_0x207583)),_0x462928=new Map();return _0x2db2b3['plugins']=_0x1f77b0['filter'](_0x1a05c2=>ot(_0x1a05c2,_0x462928,_0xe4f19['plugins'],_0x20bc2d)),_0x2db2b3;}function xt(_0x2c98d3,_0x563cd5){const _0x34c5f0=[];_0x2c98d3['document']['selection']['on']('change:range',()=>{const _0x490cdb=function(_0x4485c1,_0x202a98){const _0xdaf298=[];for(const _0x4beeed of _0x4485c1['markers']){const _0x885cea=_0x4beeed['getRange']();(_0x885cea['containsPosition'](_0x202a98)||_0x885cea['start']['isEqual'](_0x202a98)||_0x885cea['end']['isEqual'](_0x202a98))&&_0xdaf298['push'](_0x4beeed);}return _0xdaf298;}(_0x2c98d3,_0x2c98d3['document']['selection']['focus']),_0x60614d=[],_0xeeaed6=[],_0xec811c=[];for(const _0x5f3593 of _0x34c5f0)_0x490cdb['includes'](_0x5f3593)||_0x60614d['push'](_0x5f3593);for(const _0x213300 of _0x490cdb)_0x34c5f0['includes'](_0x213300)||_0xeeaed6['push'](_0x213300),_0xec811c['push'](_0x213300);(_0x60614d['length']||_0xeeaed6['length'])&&_0x563cd5({'left':_0x60614d,'entered':_0xeeaed6}),_0x34c5f0['length']=0x0,_0x34c5f0['push'](..._0xec811c);});}const It='Ctrl+Shift+E';function _t(_0x5dbaba,_0x53be3d){const _0x17c4c4=_0x5dbaba['element'];_0x5dbaba['keystrokes']['listenTo'](_0x17c4c4);for(const _0x3a91e3 of _0x53be3d)ro(_0x5dbaba,_0x3a91e3);_0x53be3d['on']('change',(_0x476fdc,_0x57f74e)=>{for(const _0xe62ae0 of _0x57f74e['removed'])to(_0x5dbaba,_0xe62ae0);for(const _0x9c8c73 of Array['from'](_0x57f74e['added'])['reverse']())ro(_0x5dbaba,_0x9c8c73);}),_0x5dbaba['keystrokes']['set']('enter',(_0x14a07c,_0x26c03d)=>{_0x17c4c4===_0x14a07c['target']&&(_0x5dbaba['focusCycler']['focusFirst'](),_0x26c03d());},{'filter':_0x29d1b0=>_0x29d1b0['target']===_0x17c4c4}),_0x5dbaba['keystrokes']['set']('esc',(_0x2d571e,_0x57a715)=>{_0x17c4c4!==_0x2d571e['target']?_0x5dbaba['focus']():_0x5dbaba['fire']('escape'),_0x57a715();}),_0x5dbaba['keystrokes']['set']('arrowdown',(_0x595fa1,_0x668f1f)=>{_0x17c4c4===_0x595fa1['target']&&(_0x5dbaba['fire']('arrowdown'),_0x668f1f());}),_0x5dbaba['keystrokes']['set']('arrowup',(_0x11068c,_0x990914)=>{_0x17c4c4===_0x11068c['target']&&(_0x5dbaba['fire']('arrowup'),_0x990914());});}function ro(_0x119753,_0x9e1ca){_0x9e1ca['isRendered']&&(_0x119753['focusTracker']['add'](_0x9e1ca['element']),_0x119753['keystrokes']['listenTo'](_0x9e1ca['element']),_0x4581c7(_0x9e1ca)&&function(_0x328e85,_0x4b22b9){const _0x1d2bb4=_0x328e85['actions'],_0x4e5d87=_0x4b22b9['actions'];for(const _0x1e786a of Object['keys'](_0x1d2bb4))if(_0x1e786a in _0x4e5d87&&_0x1d2bb4[_0x1e786a]!==_0x4e5d87[_0x1e786a])return!0x1;return!0x0;}(_0x119753['focusCycler'],_0x9e1ca['focusCycler'])&&_0x119753['focusCycler']['chain'](_0x9e1ca['focusCycler']));}function to(_0x2e6080,_0x26afd8){_0x2e6080['focusTracker']['remove'](_0x26afd8['element']),_0x2e6080['keystrokes']['stopListening'](_0x26afd8['element']),_0x4581c7(_0x26afd8)&&_0x2e6080['focusCycler']['unchain'](_0x26afd8['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x33fbb5{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x41003b?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x4e4da8,_0x2c8800)=>{_0x2c8800['on']('ready',()=>{this['_integrateEditor'](_0x2c8800);});});}get['editor'](){if(this['context']instanceof _0x41003b)return this['context'];{const _0x1d0b68=this['context']['editors']['first'];if(!_0x1d0b68)throw new _0x59de08('documentcompare-no-editor',this);return _0x1d0b68;}}['getDiff'](_0x1e6056,_0xa5147d,_0x108810={'anchor':'main','markDeletions':!0x1}){let _0x4782b1,_0x1c3263;const _0x2bffc9=this['editor'];if('string'==typeof _0x108810['anchor']){const _0x4f747a=_0x2bffc9['model']['document']['getRoot'](_0x108810['anchor']);if(!_0x4f747a)throw new _0x59de08('documentcompare-compare-no-root',this,{'anchor':_0x108810['anchor']});_0x4782b1=_0x4f747a,_0x1c3263=_0x2bffc9['model']['createPositionAt'](_0x4f747a,0x0);}else _0x4782b1=_0x108810['anchor']['clone'](),_0x1c3263=_0x108810['anchor']['clone']();const _0x5ee6eb=_0x2bffc9['data']['parse'](_0x1e6056,_0x4782b1),_0x3ed6a6=_0x2bffc9['data']['parse'](_0xa5147d,_0x4782b1);return new Mt(_0x5ee6eb,_0x3ed6a6,_0x2bffc9,{'anchor':_0x1c3263,'markDeletions':_0x108810['markDeletions']});}['isMarkedRemoveOperation'](_0x53699e){return'marker'==_0x53699e['type']&&_0x53699e['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x5906f){_0x5906f['conversion']['for']('upcast')['add'](_0x2da36a=>{_0x2da36a['on']('element',(_0x1898a1,_0x4af92b,_0xde6d2a)=>{if(_0x4af92b['modelRange'])for(const _0x2789cb of _0x4af92b['modelRange']['getItems']({'shallow':!0x0})){if(_0x2789cb['is']('$textProxy'))continue;const _0x4a5a32=_0x4af92b['viewItem']['getAttribute'](Et);_0x4a5a32&&_0xde6d2a['writer']['setAttribute'](St,_0x4a5a32,_0x2789cb);}},{'priority':'lowest'});}),_0x5906f['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x3c2d0f,_0xab806b,_0x39fde3,_0x1ef111){this['_editor']=_0x39fde3,this['_markDeletions']=!!_0x1ef111['markDeletions'],this['_anchor']=_0x1ef111['anchor'];const _0x333e01=this['_tokenizeModel'](_0x3c2d0f),_0x41e52a=this['_tokenizeModel'](_0xab806b);this['_diffItems']=this['_diffModelTokens'](_0x333e01,_0x41e52a),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x3c2d0f['markers'],_0xab806b['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x2627bf=this['_editor']['model']['document'],_0x27b2e1=[];let _0x352c80=_0x2627bf['version'];for(const _0x399199 of this['_operationsData'])switch(_0x399199['type']){case'attribute':{const _0x552b05=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x399199['path']),_0x4322f4=_0x552b05['getShiftedBy'](_0x399199['howMany']),_0x5862a2=new _0x12763e(_0x552b05,_0x4322f4),_0x364c5a=JSON['parse'](_0x399199['oldValue']),_0x1d8a57=JSON['parse'](_0x399199['newValue']);_0x27b2e1['push'](new _0x2360ba(_0x5862a2,_0x399199['key'],_0x364c5a,_0x1d8a57,_0x352c80++));break;}case'insert':{const _0x2845ab=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x399199['path']),_0x508c19=this['_makeModelFromTokens'](_0x399199['tokens']);_0x27b2e1['push'](new _0x30b6b1(_0x2845ab,_0x508c19,_0x352c80++));break;}case'remove':{const _0x34fe63=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x399199['path']),_0x2c4f0a=new _0x293106(_0x2627bf['graveyard'],[0x0]);_0x27b2e1['push'](new _0xe709e7(_0x34fe63,_0x399199['howMany'],_0x2c4f0a,_0x352c80++));break;}case'rename':{const _0x2a19a8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x399199['path']);_0x27b2e1['push'](new _0x4f13eb(_0x2a19a8,_0x399199['oldName'],_0x399199['newName'],_0x352c80++));break;}case'split':{const _0x5a4ff8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x399199['path']),_0x1debc7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x399199['path']['slice'](0x0,-0x1));_0x1debc7['offset']++,_0x27b2e1['push'](new _0x21db56(_0x5a4ff8,Number['NEGATIVE_INFINITY'],_0x1debc7,null,_0x352c80++));break;}case'merge':{const _0x251444=_0x399199['path']['slice'](),_0x23a3e7=_0x251444['slice'](0x0,-0x1);_0x23a3e7[_0x23a3e7['length']-0x1]++,_0x23a3e7['push'](0x0);const _0x3788bb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x23a3e7),_0x4d3411=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x251444),_0x42bcac=new _0x293106(_0x2627bf['graveyard'],[0x0]);_0x27b2e1['push'](new _0x3ae8c9(_0x3788bb,Number['NEGATIVE_INFINITY'],_0x4d3411,_0x42bcac,_0x352c80++));break;}case'marker':case'markedRemove':{let _0x2d347b=null;if(_0x399199['range']){const _0x2bfb50=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x399199['range']['start']),_0x5eda32=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x399199['range']['end']);_0x2d347b=new _0x12763e(_0x2bfb50,_0x5eda32);}const _0x24677f='marker'==_0x399199['type']?_0x399199['name']:'$markedRemove:'+_0x3cf2b9();_0x27b2e1['push'](new _0x41205b(_0x24677f,null,_0x2d347b,_0x2627bf['model']['markers'],!0x0,_0x352c80++));break;}case'unwrap':{const _0x133920=_0x399199['path']['slice']();_0x133920['push'](0x0);const _0x17c4a4=_0x399199['path']['slice'](),_0x447a5f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x133920),_0xb05dd6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x17c4a4),_0x4cdc75=new _0x293106(_0x2627bf['graveyard'],[0x0]);_0x27b2e1['push'](new _0xe709e7(_0x447a5f,_0x399199['howMany'],_0xb05dd6,_0x352c80++)),_0x27b2e1['push'](new _0xe709e7(_0xb05dd6['getShiftedBy'](_0x399199['howMany']),0x1,_0x4cdc75,_0x352c80++));break;}case'wrap':{const _0x28c021=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x399199['range']['start']),_0x30d40e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x399199['range']['end']),_0x50037a=_0x399199['token']['element']['_clone'](!0x1),_0x362653=_0x399199['range']['end']['slice']();_0x362653['push'](0x0);const _0x3a63c1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x362653);_0x27b2e1['push'](new _0x30b6b1(_0x30d40e,_0x50037a,_0x352c80++)),_0x27b2e1['push'](new _0xe709e7(_0x28c021,_0x30d40e['offset']-_0x28c021['offset'],_0x3a63c1,_0x352c80++));break;}}return _0x27b2e1;}['_tokenizeModel'](_0x17e15c){const _0x440a36=[],_0x44a517=_0x12763e['_createIn'](_0x17e15c),_0x20ab80=new _0x1ce609({'boundaries':_0x44a517});let _0x2463cc='',_0x2be3b2=null;const _0x1fa795=[''],_0x1cdfe5=new Map();for(const _0x3153bd of _0x20ab80)if('elementStart'==_0x3153bd['type']||'elementEnd'==_0x3153bd['type']){let _0x314810=_0x1fa795[0x0];''!==_0x2463cc&&(_0x440a36['push'](...this['_makeTokensFromTextByWords'](_0x2463cc,_0x2be3b2,_0x314810)),_0x2463cc='');const _0x194ef5=_0x3153bd['item'];let _0xe2ee87;_0x194ef5['getAttribute'](St)?_0xe2ee87=_0x194ef5['getAttribute'](St):'elementStart'==_0x3153bd['type']?(_0xe2ee87=_(_0x194ef5),_0x1cdfe5['set'](_0x194ef5,_0xe2ee87)):_0xe2ee87=_0x1cdfe5['get'](_0x194ef5);const _0x20b500=this['_getElementCategory'](_0x194ef5);'solid'==_0x20b500&&('elementStart'==_0x3153bd['type']?(_0x314810=_0xe2ee87,_0x1fa795['unshift'](_0x314810)):_0x1fa795['shift']());const _0x5ad9ec={'type':'element','element':_0x194ef5,'elementId':_0xe2ee87,'category':_0x20b500,'isStart':'elementStart'==_0x3153bd['type'],'limitId':_0x314810};_0x440a36['push'](_0x5ad9ec);}else''==_0x2463cc&&(_0x2be3b2=_0x3153bd['previousPosition']['clone']()),_0x2463cc+=_0x3153bd['item']['data'];return''!==_0x2463cc&&_0x440a36['push'](...this['_makeTokensFromTextByWords'](_0x2463cc,_0x2be3b2,_0x1fa795[0x0])),_0x440a36;}['_makeTokensFromTextByWords'](_0x14bf7f,_0x484daa,_0x41c741){const _0x4ef8d3=_0x14bf7f['matchAll'](/(\s)/g),_0x17c5eb=Array['from'](_0x4ef8d3)['map'](_0x21c632=>_0x21c632['index']);_0x17c5eb['push'](_0x14bf7f['length']),0x0==_0x17c5eb[0x0]&&_0x17c5eb['shift']();const _0x15fbd8=[],_0x835df3=_0x484daa['parent'];let _0x3ed966=0x0,_0x3606d0=_0x484daa['offset'];for(let _0x2d9bbb=0x0;_0x2d9bbb<_0x17c5eb['length'];_0x2d9bbb++)_0x15fbd8['push']({'type':'text','data':_0x14bf7f['slice'](_0x3ed966,_0x17c5eb[_0x2d9bbb]),'parent':_0x835df3,'offset':_0x3606d0,'limitId':_0x41c741}),_0x3ed966=_0x17c5eb[_0x2d9bbb],_0x3606d0=_0x484daa['offset']+_0x17c5eb[_0x2d9bbb];return _0x15fbd8;}['_getElementCategory'](_0xe6ac7a){const _0x3ee0e0=this['_editor']['model']['schema'];return _0x3ee0e0['isLimit'](_0xe6ac7a)||_0x3ee0e0['isContent'](_0xe6ac7a)||_0x3ee0e0['isInline'](_0xe6ac7a)?'solid':_0x3ee0e0['isBlock'](_0xe6ac7a)?'block':'container';}['_diffModelTokens'](_0x19322a,_0x233cf3){const _0x39e1dd=_0x72fdf6(_0x19322a,_0x233cf3,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x39e1dd);const _0x388f31=_0x39e1dd['flatMap'](_0x41c6d7=>{const _0x7ed6b5=_0x41c6d7['added']?'added':_0x41c6d7['removed']?'removed':'unchanged';return _0x41c6d7['value']['map'](_0x56049c=>({'token':_0x56049c,'change':_0x7ed6b5}));});let _0x4d87b8=0x0;for(const _0x219570 of _0x388f31)'added'!=_0x219570['change']&&('unchanged'==_0x219570['change']&&(_0x219570['before']=_0x19322a[_0x4d87b8]),_0x4d87b8++);return _0x388f31;}['_handleUnclosedBlockOpeningTags'](_0x397330){for(let _0x3a231b=0x0;_0x3a231b<_0x397330['length']-0x1;_0x3a231b++)if(_0x397330[_0x3a231b]['removed']&&_0x397330[_0x3a231b+0x1]['added']){const _0x14d7b3=this['_findUnclosedBlockOpeningToken'](_0x397330[_0x3a231b]['value']);if(null!==_0x14d7b3){const _0x3fda8a=this['_findUnclosedBlockOpeningToken'](_0x397330[_0x3a231b+0x1]['value']),_0x352a5d=_0x397330[_0x3a231b]['value']['splice'](_0x14d7b3),_0x1f1c16=_0x397330[_0x3a231b+0x1]['value']['splice'](_0x3fda8a),_0x2428d6=[_0x1f1c16['shift']()];_0x352a5d['shift']();const _0x59cf43={'value':_0x352a5d,'removed':!0x0},_0xefad3a={'value':_0x1f1c16,'added':!0x0},_0x47476f={'value':_0x2428d6};_0x397330['splice'](_0x3a231b+0x2,0x0,_0x47476f,_0x59cf43,_0xefad3a);}}}['_findUnclosedBlockOpeningToken'](_0x42ab0e){let _0x3b5325=0x0,_0x1627ca=-0x1;for(let _0xc089f4=0x0;_0xc089f4<_0x42ab0e['length'];_0xc089f4++){const _0x179e76=_0x42ab0e[_0xc089f4];'element'==_0x179e76['type']&&'block'==_0x179e76['category']&&(_0x3b5325+=_0x179e76['isStart']?0x1:-0x1,_0x179e76['isStart']&&(_0x1627ca=_0xc089f4));}return 0x0===_0x3b5325?null:_0x1627ca;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x2b668e=0x0;_0x2b668e<this['_diffItems']['length'];_0x2b668e++){const _0xd960ea=this['_diffItems'][_0x2b668e]['change'],_0x1e998b=[];_0x1e998b['push'](this['_diffItems'][_0x2b668e]);let _0x11264e=_0x2b668e+0x1;for(;this['_diffItems'][_0x11264e]&&this['_diffItems'][_0x11264e]['change']==_0xd960ea;)_0x1e998b['push'](this['_diffItems'][_0x11264e]),_0x11264e++,_0x2b668e++;const _0x1ec8b6=_0x1e998b['map'](_0x3c3fba=>_0x3c3fba['token']);if('unchanged'==_0xd960ea)_0x1e998b['map'](_0x5da95e=>_0x5da95e['before'])['forEach'](_0x3b0b1a=>this['_traverseOverItem'](_0x3b0b1a));else{if('removed'==_0xd960ea){if(this['_markDeletions']){const _0x23ba10=this['_path']['slice']();_0x1ec8b6['forEach'](_0x4aedbc=>this['_traverseOverItem'](_0x4aedbc));const _0x34494d=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x23ba10,'end':_0x34494d}});}else this['_handleChanged'](_0x1ec8b6,!0x0,this['_path']['slice']());}else{const _0x317b67=_0x1ec8b6['filter'](_0x330de9=>'element'!=_0x330de9['type']||'container'!=_0x330de9['category']);this['_handleChanged'](_0x317b67,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0xbbf5e1=0x0;_0xbbf5e1<this['_diffItems']['length'];_0xbbf5e1++){const _0x37f55e=this['_diffItems'][_0xbbf5e1]['change'],_0x396e24=[];_0x396e24['push'](this['_diffItems'][_0xbbf5e1]);let _0x568240=_0xbbf5e1+0x1;for(;this['_diffItems'][_0x568240]&&this['_diffItems'][_0x568240]['change']==_0x37f55e;)_0x396e24['push'](this['_diffItems'][_0x568240]),_0x568240++,_0xbbf5e1++;const _0x1dbca7=_0x396e24['map'](_0x2b5c64=>_0x2b5c64['token']);if('unchanged'==_0x37f55e){const _0x5f016e=_0x396e24['map'](_0x31a791=>_0x31a791['before']);this['_handleUnchanged'](_0x5f016e,_0x1dbca7);}else('removed'!=_0x37f55e||this['_markDeletions'])&&_0x1dbca7['forEach'](_0x4b9380=>{this['_traverseOverItem'](_0x4b9380);});}}['_calculateMarkersOperationsData'](_0x55e90f,_0xdb7900){const _0x456592={};for(const [_0x5d11ea]of _0x55e90f)_0x456592[_0x5d11ea]=null;for(const [_0x19c87d,_0x46de4d]of _0xdb7900)_0x456592[_0x19c87d]=_0x46de4d;const _0xf82e4d=Object['entries'](_0x456592)['map'](([_0x3758c6,_0x1652f5])=>({'type':'marker','name':_0x3758c6,'range':_0x1652f5?{'start':_0x1652f5['start']['path']['slice'](),'end':_0x1652f5['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0xf82e4d);}['_handleUnwraps'](){const _0x3a3498=new Map(),_0x268370=[],_0x2002f8=[0x0];let _0x18e6fe=this['_diffItems']['length']+0x1;for(let _0x5f1f7a=this['_diffItems']['length']-0x1;_0x5f1f7a>=0x0;_0x5f1f7a--){const {token:_0x4a0751,before:_0x155df,change:_0x4591f3}=this['_diffItems'][_0x5f1f7a];if('removed'!=_0x4591f3&&(_0x18e6fe=_0x5f1f7a),'element'!=_0x4a0751['type']||'container'!=_0x4a0751['category']||'added'==_0x4591f3)continue;const _0x5885e9=_0x155df?_0x155df['element']:_0x4a0751['element'];if(_0x4a0751['isStart']){const _0x31f38c=_0x3a3498['get'](_0x5885e9),_0x44c18c=this['_diffItems'][_0x31f38c];('removed'==_0x4591f3||'removed'==_0x44c18c['change'])&&_0x18e6fe<_0x31f38c&&(this['_operationsData']['push']({'type':'unwrap','path':_0x5885e9['getPath'](),'howMany':_0x5885e9['maxOffset']+_0x2002f8[0x0]}),_0x2002f8['shift'](),_0x2002f8[0x0]+=_0x5885e9['maxOffset']-0x1,_0x268370['push'](_0x5f1f7a),_0x268370['push'](_0x31f38c));}else _0x3a3498['set'](_0x5885e9,_0x5f1f7a),_0x2002f8['unshift'](0x0);}_0x268370['sort']((_0x572691,_0x48dc6b)=>_0x48dc6b-_0x572691),_0x268370['forEach'](_0x329c35=>{const _0x3110bf=this['_diffItems'][_0x329c35];'removed'==_0x3110bf['change']?this['_diffItems']['splice'](_0x329c35,0x1):(_0x3110bf['change']='added',delete _0x3110bf['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x5c70cf=[];for(let _0x18d7cc=0x0;_0x18d7cc<this['_diffItems']['length'];_0x18d7cc++){const {change:_0x51be09,token:_0x14d38c}=this['_diffItems'][_0x18d7cc];if('added'==_0x51be09&&'element'==_0x14d38c['type']&&'container'==_0x14d38c['category']){if(_0x14d38c['isStart'])_0x5c70cf['push'](this['_path']['slice']());else{if(!_0x14d38c['isStart']){const _0x518052=_0x5c70cf['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x518052,'end':this['_path']['slice']()},'token':_0x14d38c}),this['_path'][this['_path']['length']-0x1]=_0x518052[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x51be09||this['_markDeletions'])&&this['_traverseOverItem'](_0x14d38c);}}['_handleUnchanged'](_0x4986cc,_0x3f33e0){for(let _0x45c493=0x0;_0x45c493<_0x4986cc['length'];_0x45c493++){const _0x27ee68=_0x4986cc[_0x45c493];if('element'==_0x27ee68['type']&&_0x27ee68['isStart']){const _0x41d8fd=_0x3f33e0[_0x45c493];'block'==_0x27ee68['category']&&this['_handleElementRename'](_0x27ee68['element'],_0x41d8fd['element'],this['_path']),this['_handleElementAttributeChanges'](_0x27ee68['element'],_0x41d8fd['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x41d8fd);}else{if('element'!=_0x27ee68['type']||_0x27ee68['isStart']){if('text'==_0x27ee68['type']){const _0x31027a=this['_path']['slice'](),_0x3bfe20=[],_0x536f51=[];for(;_0x4986cc[_0x45c493]&&'text'==_0x4986cc[_0x45c493]['type'];)_0x3bfe20['push'](_0x4986cc[_0x45c493]),_0x536f51['push'](_0x3f33e0[_0x45c493]),this['_path'][this['_path']['length']-0x1]+=_0x4986cc[_0x45c493]['data']['length'],_0x45c493++;_0x45c493--,this['_handleTextAttributeChanges'](_0x3bfe20,_0x536f51,_0x31027a);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x533443,_0xed829f,_0x87512d){const _0x146586=[],_0x321cc1=[],_0x448d1b=_0x87512d['slice']();for(let _0x18f38a=0x0;_0x18f38a<_0x533443['length'];_0x18f38a++){const _0x58d713=_0x533443[_0x18f38a],_0x26a7b9=_0x87512d['slice']();if('element'!=_0x58d713['type']||_0x58d713['isStart'])'element'==_0x58d713['type']&&_0x58d713['isStart']?(_0x87512d['push'](0x0),_0xed829f||this['_parents']['push'](_0x58d713),_0x321cc1['push']({'before':_0x26a7b9,'after':_0x87512d['slice'](),'index':_0x18f38a})):_0x87512d[_0x87512d['length']-0x1]+=_0x58d713['data']['length'];else{let _0x2801b7;_0x87512d['pop'](),_0x87512d[_0x87512d['length']-0x1]++,_0x2801b7=_0xed829f?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x321cc1['length']?_0x321cc1['pop']():_0x146586['push']({'before':_0x26a7b9,'after':_0x87512d['slice'](),'index':_0x18f38a,'related':_0x2801b7});}}if(_0x321cc1['length']!==_0x146586['length'])throw new _0x59de08('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x533443,'isRemove':_0xed829f});const _0x4691a6=[{'after':_0x448d1b['slice'](),'index':-0x1},..._0x146586,..._0x321cc1,{'before':_0x87512d['slice'](),'index':_0x533443['length']}];if(_0xed829f){for(let _0x2dcecc=_0x4691a6['length']-0x1;_0x2dcecc>=0x1;_0x2dcecc--){const _0x532ae0=_0x4691a6[_0x2dcecc-0x1]['after'],_0x32f14e=_0x4691a6[_0x2dcecc]['before'],_0x3ab002=_0x32f14e[_0x32f14e['length']-0x1]-_0x532ae0[_0x532ae0['length']-0x1];_0x3ab002&&(this['_operationsData']['push']({'type':'remove','path':_0x532ae0,'howMany':_0x3ab002}),_0x32f14e[_0x32f14e['length']-0x1]-=_0x3ab002);}for(const {before:_0x510ed}of _0x146586)this['_operationsData']['push']({'type':'merge','path':_0x510ed});}else for(let _0xc49bc=0x0;_0xc49bc<_0x4691a6['length']-0x1;_0xc49bc++){const _0x81276b=_0x4691a6[_0xc49bc]['after'],_0x40c0d5=_0x4691a6[_0xc49bc+0x1]['before'],_0x41f83c=_0x4691a6[_0xc49bc]['index']+0x1,_0xdef982=_0x4691a6[_0xc49bc+0x1]['index'];if(_0x41f83c!==_0xdef982&&this['_operationsData']['push']({'type':'insert','path':_0x81276b,'tokens':_0x533443['slice'](_0x41f83c,_0xdef982)}),_0xc49bc<_0x146586['length']){this['_operationsData']['push']({'type':'split','path':_0x40c0d5});const _0x4586f9=_0x533443[_0x321cc1[_0x321cc1['length']-0x1-_0xc49bc]['index']],_0x3d6f85=_0x146586[_0xc49bc]['after'],_0x59318b=_0x146586[_0xc49bc]['related']['element'];this['_handleElementRename'](_0x59318b,_0x4586f9['element'],_0x3d6f85),this['_handleElementAttributeChanges'](_0x59318b,_0x4586f9['element'],_0x3d6f85);}}}['_traverseOverItem'](_0x40f6e5){'element'==_0x40f6e5['type']&&_0x40f6e5['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x40f6e5)):'element'!=_0x40f6e5['type']||_0x40f6e5['isStart']?'text'==_0x40f6e5['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x40f6e5['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x2388cc,_0x40c7f9,_0x2609f5){_0x2388cc['name']!=_0x40c7f9['name']&&this['_operationsData']['push']({'type':'rename','path':_0x2609f5['slice'](),'oldName':_0x2388cc['name'],'newName':_0x40c7f9['name']});}['_handleElementAttributeChanges'](_0x2ae7f2,_0x36382a,_0x1d4d85){const _0x29d81d=this['_getAttributeChanges'](_0x2ae7f2['getAttributes'](),_0x36382a['getAttributes']());for(const _0x335a4a in _0x29d81d){const {oldValue:_0x12ec1e,newValue:_0x5e27d4}=_0x29d81d[_0x335a4a];this['_operationsData']['push']({'type':'attribute','path':_0x1d4d85['slice'](),'howMany':0x1,'key':_0x335a4a,'oldValue':_0x12ec1e,'newValue':_0x5e27d4});}}['_handleTextAttributeChanges'](_0x32fa7c,_0x2e1ac5,_0xfea6b0){const _0x25e45b=this['_operationsData'],_0x42c444=_0x32fa7c[0x0]['parent'],_0x1255e6=_0x32fa7c[0x0]['offset'],_0x12c274=_0x2e1ac5[0x0]['parent'],_0x5a5bb0=_0x2e1ac5[0x0]['offset'],_0x37b008=_0x32fa7c['reduce']((_0x5245fe,_0x4aefa6)=>_0x5245fe+_0x4aefa6['data']['length'],0x0),_0x528f47=this['_getAttrsForOffsets'](_0x42c444,_0x1255e6,_0x37b008),_0x1043d5=this['_getAttrsForOffsets'](_0x12c274,_0x5a5bb0,_0x37b008),_0xc4f2ef={};for(let _0x1e9ed0=0x0;_0x1e9ed0<_0x37b008;_0x1e9ed0++){const _0x2527f3=_0x528f47[_0x1255e6+_0x1e9ed0],_0x568d86=_0x1043d5[_0x5a5bb0+_0x1e9ed0],_0x294399=this['_getAttributeChanges'](_0x2527f3,_0x568d86);for(const _0xff82c9 in _0xc4f2ef)_0x294399[_0xff82c9]||_0x3b4cb5(_0xff82c9);for(const _0x5515db in _0x294399){const {oldValue:_0x34fc54,newValue:_0x26fedc}=_0x294399[_0x5515db],_0xdec25e=_0xc4f2ef[_0x5515db];_0xdec25e?_0xdec25e['oldValue']==_0x34fc54&&_0xdec25e['newValue']==_0x26fedc?_0xdec25e['length']++:(_0x3b4cb5(_0x5515db),_0xc4f2ef[_0x5515db]={'oldValue':_0x34fc54,'newValue':_0x26fedc,'start':_0x1e9ed0,'length':0x1}):_0xc4f2ef[_0x5515db]={'oldValue':_0x34fc54,'newValue':_0x26fedc,'start':_0x1e9ed0,'length':0x1};}}for(const _0x36921e in _0xc4f2ef)_0x3b4cb5(_0x36921e);function _0x3b4cb5(_0x4dddd3){const _0x2c7c61=_0xc4f2ef[_0x4dddd3],_0x40d8e2=_0xfea6b0['slice']();_0x40d8e2[_0x40d8e2['length']-0x1]+=_0x2c7c61['start'],_0x25e45b['push']({'type':'attribute','path':_0x40d8e2,'howMany':_0x2c7c61['length'],'key':_0x4dddd3,'oldValue':_0x2c7c61['oldValue'],'newValue':_0x2c7c61['newValue']}),delete _0xc4f2ef[_0x4dddd3];}}['_getAttributeChanges'](_0x543a04,_0x132097){const _0x1b9d4a={};for(const [_0xcfb851,_0x446071]of _0x543a04)_0x1b9d4a[_0xcfb851]={'oldValue':JSON['stringify'](_0x446071),'newValue':'null'};for(const [_0x4861db,_0x3a372c]of _0x132097){const _0x583aa4=JSON['stringify'](_0x3a372c);_0x1b9d4a[_0x4861db]?_0x1b9d4a[_0x4861db]['oldValue']==_0x583aa4?delete _0x1b9d4a[_0x4861db]:_0x1b9d4a[_0x4861db]['newValue']=_0x583aa4:_0x1b9d4a[_0x4861db]={'oldValue':'null','newValue':_0x583aa4};}return delete _0x1b9d4a[St],_0x1b9d4a;}['_getAttrsForOffsets'](_0x18f392,_0x41a807,_0x49a572){const _0x5f1215=new Array(_0x41a807+_0x49a572);let _0x32612e=_0x18f392['getChildAtOffset'](_0x41a807),_0x2a4208=_0x32612e['startOffset'];for(;_0x32612e&&_0x2a4208<_0x41a807+_0x49a572;){const _0x450d0f=Array['from'](_0x32612e['getAttributes']());_0x5f1215['fill'](_0x450d0f,_0x2a4208,_0x2a4208+_0x32612e['offsetSize']),_0x2a4208+=_0x32612e['offsetSize'],_0x32612e=_0x32612e['nextSibling'];}return _0x5f1215;}['_getPositionFromAnchorAndPath'](_0x4181a1,_0x1311b5){const _0x604f83=[..._0x4181a1['path']['slice'](0x0,-0x1),_0x4181a1['offset']+_0x1311b5[0x0],..._0x1311b5['slice'](0x1)];return new _0x293106(_0x4181a1['root'],_0x604f83);}['_makeModelFromTokens'](_0x353c06){const _0xe0eb17=[];let _0x462965=null;for(const _0x18fc5a of _0x353c06)if('element'!=_0x18fc5a['type']||_0x18fc5a['isStart']||_0x462965!=_0x18fc5a['element']){if(!_0x462965){if('text'==_0x18fc5a['type']){const _0x18e697=_0x293106['_createAt'](_0x18fc5a['parent'],_0x18fc5a['offset']),_0x441b0b=_0x12763e['_createFromPositionAndShift'](_0x18e697,_0x18fc5a['data']['length']),_0x2e2b8a=Array['from'](_0x441b0b['getItems']())['map'](_0x15ab17=>new _0x11d5d8(_0x15ab17['data'],_0x15ab17['getAttributes']()));_0xe0eb17['push'](..._0x2e2b8a);}else{_0x462965=_0x18fc5a['element'];const _0x47908a=_0x18fc5a['element']['_clone'](!0x0);_0x47908a['_removeAttribute'](St);for(const _0x224b48 of this['_editor']['model']['createRangeIn'](_0x47908a)['getItems']())_0x224b48['is']('element')&&_0x224b48['_removeAttribute'](St);_0xe0eb17['push'](_0x47908a);}}}else _0x462965=null;return _0xe0eb17;}}function g(_0x5057d6,_0x433716){return _0x5057d6['type']===_0x433716['type']&&(_0x5057d6['limitId']===_0x433716['limitId']&&('text'==_0x5057d6['type']?_0x5057d6['data']==_0x433716['data']:function(_0x540c43,_0x4c236f){if(_0x540c43['isStart']!=_0x4c236f['isStart'])return!0x1;if(_0x540c43['isStart']&&_0x540c43['elementId']!=_0x4c236f['elementId'])return!0x1;if(_0x540c43['category']!=_0x4c236f['category'])return!0x1;if('block'==_0x540c43['category'])return!0x0;if('container'==_0x540c43['category']&&_0x540c43['elementId']!=_0x4c236f['elementId'])return!0x1;return _0x540c43['element']['name']==_0x4c236f['element']['name'];}(_0x5057d6,_0x433716)));}function _(_0x5b1d94){return k({'name':_0x5b1d94['name'],...Object['fromEntries'](_0x5b1d94['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,It as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,ct as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,_t as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,xt as surroundingMarkersDetector,bt as trimHtml};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x3af836=>0x1!=_0x3af836}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e0b94=>{const {af:{dictionary:_0x1d93d0,getPluralForm:_0x19a119}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x271b59=>0x1!=_0x271b59}};_0x2e0b94['af']||={'dictionary':{},'getPluralForm':null},_0x2e0b94['af']['dictionary']=Object['assign'](_0x2e0b94['af']['dictionary'],_0x1d93d0),_0x2e0b94['af']['getPluralForm']=_0x19a119;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x165b47=>0x0==_0x165b47?0x0:0x1==_0x165b47?0x1:0x2==_0x165b47?0x2:_0x165b47%0x64>=0x3&&_0x165b47%0x64<=0xa?0x3:_0x165b47%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ae280=>{const {ar:{dictionary:_0x1b384f,getPluralForm:_0x366d83}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x543fb2=>0x0==_0x543fb2?0x0:0x1==_0x543fb2?0x1:0x2==_0x543fb2?0x2:_0x543fb2%0x64>=0x3&&_0x543fb2%0x64<=0xa?0x3:_0x543fb2%0x64>=0xb?0x4:0x5}};_0x4ae280['ar']||={'dictionary':{},'getPluralForm':null},_0x4ae280['ar']['dictionary']=Object['assign'](_0x4ae280['ar']['dictionary'],_0x1b384f),_0x4ae280['ar']['getPluralForm']=_0x366d83;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x38ce76=>0x1!=_0x38ce76}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5ea212=>{const {ast:{dictionary:_0x374dba,getPluralForm:_0x406464}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x3834a8=>0x1!=_0x3834a8}};_0x5ea212['ast']||={'dictionary':{},'getPluralForm':null},_0x5ea212['ast']['dictionary']=Object['assign'](_0x5ea212['ast']['dictionary'],_0x374dba),_0x5ea212['ast']['getPluralForm']=_0x406464;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x3bda1e=>0x1!=_0x3bda1e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d1854=>{const {az:{dictionary:_0x4d5bbf,getPluralForm:_0x36338f}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x443c10=>0x1!=_0x443c10}};_0x2d1854['az']||={'dictionary':{},'getPluralForm':null},_0x2d1854['az']['dictionary']=Object['assign'](_0x2d1854['az']['dictionary'],_0x4d5bbf),_0x2d1854['az']['getPluralForm']=_0x36338f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x529d97=>_0x529d97%0xa==0x1&&_0x529d97%0x64!=0xb?0x0:_0x529d97%0xa>=0x2&&_0x529d97%0xa<=0x4&&(_0x529d97%0x64<0xa||_0x529d97%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1580b6=>{const {be:{dictionary:_0x48d385,getPluralForm:_0x10fb3e}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x5c0c44=>_0x5c0c44%0xa==0x1&&_0x5c0c44%0x64!=0xb?0x0:_0x5c0c44%0xa>=0x2&&_0x5c0c44%0xa<=0x4&&(_0x5c0c44%0x64<0xa||_0x5c0c44%0x64>=0x14)?0x1:0x2}};_0x1580b6['be']||={'dictionary':{},'getPluralForm':null},_0x1580b6['be']['dictionary']=Object['assign'](_0x1580b6['be']['dictionary'],_0x48d385),_0x1580b6['be']['getPluralForm']=_0x10fb3e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':
|
|
23
|
+
export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x307c9a=>0x1!=_0x307c9a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x409919=>{const {bg:{dictionary:_0x5d803d,getPluralForm:_0x2b81c7}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x2dedd6=>0x1!=_0x2dedd6}};_0x409919['bg']||={'dictionary':{},'getPluralForm':null},_0x409919['bg']['dictionary']=Object['assign'](_0x409919['bg']['dictionary'],_0x5d803d),_0x409919['bg']['getPluralForm']=_0x2b81c7;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':_0x278fa0=>0x1!=_0x278fa0}};
|