@ckeditor/ckeditor5-collaboration-core 47.6.0-alpha.8 → 47.6.0-alpha.9
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 _0x599dd4,Editor as _0x1d60eb,Plugin as _0x203f87}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x36d35e,Collection as _0x2144f7,uid as _0x21e0d6,toArray as rt,first as _0x2825cb,FocusTracker as _0x25a297,KeystrokeHandler as _0x17972b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0xf88a3b,IconView as st,ButtonView as ts,DropdownButtonView as _0x4673e5,FocusCycler as _0x158877,isViewWithFocusCycler as _0x1d74d9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as ct,IconCheck as _0x4527be,IconCancel as _0x32cc21}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as it,toWidget as _0xdfee73}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x26592a,MoveOperation as _0x417e9d,ModelPosition as _0x26ff72,ModelRange as _0x1abbd6,MarkerOperation as _0x293484,MergeOperation as _0x1c2a5b,SplitOperation as _0x2c9c07,RenameOperation as _0x543a65,AttributeOperation as _0x8b2371,ModelTreeWalker as _0x5e3ea0,ModelText as _0x53bdfc}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x877c4}from'diff';class C extends _0x599dd4{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x2fdcd3,_0x4a94a5){let _0x26ab26;if(_0x4a94a5||(_0x4a94a5=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x4a94a5?_0x26ab26=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x26ab26=this['context']['editors']['find'](_0x5be3e5=>_0x5be3e5['config']['get']('collaboration.channelId')==_0x4a94a5)),!_0x26ab26)throw new _0x36d35e('permissions-set-permissions-invalid-channel-id',null);const _0x574cf6=_0x26ab26['plugins'],_0x576dbd=_0x574cf6['has']('CommentsRepository')?_0x574cf6['get']('CommentsRepository'):void 0x0,_0x1e93e1=_0x574cf6['has']('CommentsOnly')&&_0x574cf6['get']('CommentsOnly'),_0x3edb9b=_0x2fdcd3['includes']('document:write'),_0x33b719=_0x2fdcd3['includes']('comment:modify_all'),_0x4031d8=_0x2fdcd3['includes']('comment:admin'),_0x477b66=_0x2fdcd3['includes']('comment:write'),_0x3e368a=_0x477b66||_0x4031d8,_0x39e3e0=_0x3e368a||_0x33b719,_0x2054e7=_0x3edb9b||_0x3e368a;(_0x1e93e1&&(_0x1e93e1['isEnabled']=!_0x3edb9b&&_0x39e3e0),_0x26ab26 instanceof _0x1d60eb)&&(!(_0x3edb9b||_0x39e3e0&&_0x576dbd)?_0x26ab26['enableReadOnlyMode']('no-permissions'):_0x26ab26['disableReadOnlyMode']('no-permissions'));if(_0x576dbd){_0x576dbd['setPermissions']({'admin':_0x4031d8,'modifyAll':_0x33b719,'write':_0x477b66,'resolve':_0x2054e7},_0x4a94a5);const _0x27c3ba=_0x26ab26 instanceof _0x1d60eb&&_0x26ab26['commands']['get']('addCommentThread');_0x27c3ba&&(_0x3e368a?_0x27c3ba['clearForceDisabled']('noPermissions'):_0x27c3ba['forceDisabled']('noPermissions'));}}}function U(_0x47bb59,_0xc5770d){const t=_0x47bb59['t'];switch(_0xc5770d){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 at extends _0x599dd4{['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(_0x14ff4e){super(_0x14ff4e),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x2144f7(),this['_locale']=_0x14ff4e['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:_0x5697d4,name:_0xe64cbe,..._0x5de255}){if(!_0x5697d4||'string'!=typeof _0x5697d4)throw new _0x36d35e('users-add-invalid-id');if(this['users']['has'](_0x5697d4))throw new _0x36d35e('users-add-duplicated-id',null,{'id':_0x5697d4});const _0x351123=this['context']['config']['get']('users.getInitialsCallback'),_0x2ce0f9={..._0x5de255,'id':_0x5697d4,'name':A(this['_locale'],_0xe64cbe),'color':this['_getNextColor']()};_0x2ce0f9['name']=A(this['_locale'],_0x2ce0f9['name']);const _0x5bb873=new lt(_0x2ce0f9,_0x351123);return this['users']['add'](_0x5bb873),_0x5bb873;}['getUser'](_0x1ee14b){return this['users']['get'](_0x1ee14b);}['useAnonymousUser'](){const _0x3f4120=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x3f4120);}['defineMe'](_0x10d805){if(this['_myId'])throw new _0x36d35e('users-me-already-defined',null);const _0x1cf362=this['getUser'](_0x10d805);if(!_0x1cf362)throw new _0x36d35e('users-me-missing-user',null);this['_myId']=_0x10d805,_0x1cf362['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x1a93f3=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x1a93f3&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x5e64fe=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x5e64fe,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x35f9be,_0x1f8798){this['id']=_0x35f9be['id'],this['color']=_0x35f9be['color'],this['name']=_0x35f9be['name'],this['initials']=_0x1f8798?_0x1f8798(this['name']):this['_computeInitials'](),this['avatar']=_0x35f9be['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x4a2a8b=this['name']['split']('\x20')['filter'](_0xb00ab=>/^[\p{Letter}]/u['test'](_0xb00ab));return 0x1===_0x4a2a8b['length']?this['_getInitial'](_0x4a2a8b[0x0]):0x0===_0x4a2a8b['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x4a2a8b[0x0])+this['_getInitial'](_0x4a2a8b[_0x4a2a8b['length']-0x1]);}['_getInitial'](_0x47ab5d){return String['fromCodePoint'](_0x47ab5d['codePointAt'](0x0))['toUpperCase']();}}function A(_0x39a197,_0x40435d=''){return''==(_0x40435d=_0x40435d['trim']())?U(_0x39a197,'Anonymous'):_0x40435d;}class ut{['_id'];constructor(_0x36282e){this['_id']=_0x36282e;}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 _0xf88a3b{['name'];['notificationView'];constructor(_0x39fe41,_0x3c0b98,_0x4c1afe){super(_0x39fe41),this['name']=_0x3c0b98['name'],this['notificationView']=null;const _0x11960a=['ck','ck-user'],_0x2af127=['ck','ck-user__img'];if(_0x3c0b98['isAnonymous']&&_0x2af127['push']('ck-user__anonymous'),!_0x3c0b98['isAnonymous']&&_0x3c0b98['isMe']&&_0x11960a['push']('ck-user_me'),_0x3c0b98['avatar']&&_0x2af127['push']('ck-user__avatar'),_0x4c1afe){const _0x159d60=new st();_0x159d60['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x159d60['content']=ct,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4c1afe},'children':[_0x159d60]};}const _0x71201a=[{'tag':'div','attributes':{'class':_0x2af127,'style':{'background-image':_0x3c0b98['avatar']?'url(\x27'+_0x3c0b98['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x3c0b98['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x3c0b98['name']},'children':[{'text':_0x3c0b98['initials']}]}];this['notificationView']&&_0x71201a['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x11960a,'data-user-id':_0x3c0b98['id']},'children':_0x71201a});}}class dt extends _0xf88a3b{['id'];constructor(_0x1fc56c,_0x457fac){super(_0x1fc56c),this['id']='ck-aria-description-'+_0x21e0d6(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x457fac}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x4673e5{['render'](){super['render'](),re(this);}}function re(_0x3915ed){_0x3915ed['listenTo'](_0x3915ed['element'],'mousedown',(_0x38bed5,_0x5030ab)=>{_0x5030ab['stopPropagation'](),_0x5030ab['preventDefault']();}),_0x3915ed['listenTo'](_0x3915ed['element'],'mouseup',()=>{_0x3915ed['element']['focus']();});}function v(_0x28a4ea){const _0x11ba47=_0x28a4ea['split'](':');return{'group':_0x11ba47[0x0],'type':_0x11ba47[0x1],'subType':_0x11ba47['length']>=0x5?_0x11ba47[0x2]:null,'id':_0x11ba47['length']<0x5?_0x11ba47[0x2]:_0x11ba47[0x3],'authorId':_0x11ba47['length']<0x5?_0x11ba47[0x3]:_0x11ba47[0x4],'markerCount':0x6==_0x11ba47['length']?_0x11ba47[0x5]:null};}function mt(_0x382fdd,_0x4f00ca){const _0x42b540=_0x382fdd['end']['nodeBefore'];if(_0x42b540&&_0x42b540['is']('element')&&_0x4f00ca['schema']['isBlock'](_0x42b540)&&!_0x4f00ca['schema']['isObject'](_0x42b540)){const _0x55b63d=_0x4f00ca['createPositionAt'](_0x42b540,'end');return _0x4f00ca['createRange'](_0x382fdd['start'],_0x55b63d);}return _0x382fdd;}class M extends _0x203f87{['afterInit'](){const _0x1bd9f8=this['editor'];if(!_0x1bd9f8['plugins']['has']('AlignmentEditing'))return;_0x1bd9f8['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x203f87{['afterInit'](){const _0x1a20a3=this['editor'],_0x25e68d=_0x1a20a3['plugins']['get']('SuggestionsConversion');for(const _0x4be267 of ii){if(!_0x1a20a3['plugins']['has'](_0x4be267))continue;const _0x5dbabb=_0x4be267['slice'](0x0,-0x7)['toLowerCase']();_0x25e68d['registerInlineAttribute'](_0x5dbabb);}}}class I extends _0x203f87{['afterInit'](){const _0x5bf4f0=this['editor'],_0x58ddd0=_0x5bf4f0['plugins']['get']('SuggestionsConversion');_0x5bf4f0['plugins']['has']('BookmarkEditing')&&_0x58ddd0['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x203f87{['afterInit'](){const _0x73b5ff=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x36144e,commandName:_0x4b1613}of no)this['editor']['plugins']['has'](_0x36144e)&&_0x73b5ff['registerInlineAttribute'](_0x4b1613);}}class T extends _0x203f87{['afterInit'](){const {editor:_0x188639}=this;if(!_0x188639['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x358084=_0x188639['plugins']['get']('SuggestionsConversion');_0x358084['registerBlockAttribute']('footnotesListStyle'),_0x358084['registerBlockAttribute']('footnotesListStart');}}class E extends _0x203f87{['afterInit'](){const _0x4e2993=this['editor'];if(!_0x4e2993['plugins']['has']('HighlightEditing'))return;_0x4e2993['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x203f87{['afterInit'](){const _0x16069d=this['editor'];if(!_0x16069d['plugins']['has']('HtmlEmbed'))return;_0x16069d['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x203f87{['afterInit'](){const _0x4cb0ca=this['editor'];if(!_0x4cb0ca['plugins']['has']('ImageEditing'))return;const _0x53802a=_0x4cb0ca['plugins']['get']('SuggestionsConversion');_0x53802a['registerBlockAttribute']('src'),_0x4cb0ca['plugins']['has']('ImageResize')&&_0x53802a['registerBlockAttribute']('resizedWidth'),_0x4cb0ca['plugins']['has']('ImageTextAlternativeEditing')&&_0x53802a['registerBlockAttribute']('alt'),_0x4cb0ca['plugins']['has']('PictureEditing')&&_0x53802a['registerBlockAttribute']('sources'),_0x4cb0ca['plugins']['has']('ImageSizeAttributes')&&(_0x53802a['registerBlockAttribute']('width'),_0x53802a['registerBlockAttribute']('height'));}}class x extends _0x203f87{['afterInit'](){const _0x1d0ff7=this['editor'],_0x161aaa=_0x1d0ff7['plugins']['get']('SuggestionsConversion');_0x1d0ff7['plugins']['has']('IndentBlock')&&(_0x161aaa['registerBlockAttribute']('blockIndent'),_0x1d0ff7['plugins']['has']('ListEditing')&&(_0x161aaa['registerBlockAttribute']('blockIndentList'),_0x161aaa['registerBlockAttribute']('blockIndentListItem')));}}class H extends _0x203f87{['afterInit'](){const _0x3a2ec5=this['editor'];if(!_0x3a2ec5['plugins']['has']('LineHeight'))return;_0x3a2ec5['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x203f87{['afterInit'](){const _0x377060=this['editor'];if(!_0x377060['plugins']['has']('LinkEditing'))return;const _0x1cfce2=_0x377060['plugins']['get']('SuggestionsConversion'),_0x4cb444=_0x377060['commands']['get']('link');_0x1cfce2['registerInlineAttribute']('linkHref');for(const _0x41c126 of _0x4cb444['manualDecorators'])_0x1cfce2['registerInlineAttribute'](_0x41c126['id']);}}class P extends _0x203f87{['afterInit'](){const _0x42bfa3=this['editor'];if(!_0x42bfa3['plugins']['has']('ListEditing'))return;const _0x6a23ae=_0x42bfa3['plugins']['get']('SuggestionsConversion'),_0x13b93a=_0x42bfa3['plugins']['has']('TodoListEditing');_0x6a23ae['registerBlockAttribute']('listItemId'),_0x6a23ae['registerBlockAttribute']('listType'),_0x6a23ae['registerBlockAttribute']('listIndent'),_0x13b93a&&_0x6a23ae['registerBlockAttribute']('todoListChecked');}}class K extends _0x203f87{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x1ee34e=this['editor']['config']['get']('list.properties'),_0xd64add=this['editor']['plugins']['get']('SuggestionsConversion');_0x1ee34e['styles']&&_0xd64add['registerBlockAttribute']('listStyle'),_0x1ee34e['reversed']&&_0xd64add['registerBlockAttribute']('listReversed'),_0x1ee34e['startIndex']&&_0xd64add['registerBlockAttribute']('listStart');}}class q extends _0x203f87{['afterInit'](){const _0x3d347f=this['editor'],_0xbf3c57=_0x3d347f['plugins']['get']('SuggestionsConversion');_0x3d347f['plugins']['has']('MultiLevelList')&&_0xbf3c57['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x203f87{['afterInit'](){const _0x2eb594=this['editor'];if(!_0x2eb594['plugins']['has']('Style')||!_0x2eb594['plugins']['has']('DataSchema')||!_0x2eb594['config']['get']('style.definitions'))return;const _0x2d7708=_0x2eb594['plugins']['get']('SuggestionsConversion'),_0x463ac0=_0x2eb594['config']['get']('style.definitions'),_0x49e1c6=_0x2eb594['plugins']['get']('GeneralHtmlSupport'),_0x1856ad=_0x2eb594['plugins']['get']('StyleUtils')['normalizeConfig'](_0x2eb594['plugins']['get']('DataSchema'),_0x463ac0),_0x3b33c7=new Set();for(const _0x3a9179 of _0x1856ad['block']){const _0x2fb696=_0x49e1c6['getGhsAttributeNameForElement'](_0x3a9179['element']);_0x3b33c7['add'](_0x2fb696);}const _0x4d9462=new Set();for(const _0x58dbdc of _0x1856ad['inline']){const _0x461bf3=_0x49e1c6['getGhsAttributeNameForElement'](_0x58dbdc['element']);_0x4d9462['add'](_0x461bf3);for(const _0x48ac85 of _0x58dbdc['ghsAttributes'])_0x4d9462['add'](_0x48ac85);}for(const _0xe42cb3 of _0x3b33c7)_0x2d7708['registerBlockAttribute'](_0xe42cb3);for(const _0x5dc2fa of _0x4d9462)_0x2d7708['registerInlineAttribute'](_0x5dc2fa);}}class O extends _0x203f87{['afterInit'](){const _0x23dbfd=this['editor'];if(!_0x23dbfd['plugins']['has']('TableEditing'))return;const _0x260399=_0x23dbfd['plugins']['get']('SuggestionsConversion');_0x260399['registerBlockAttribute']('headingRows'),_0x260399['registerBlockAttribute']('headingColumns');}}class R extends _0x203f87{['afterInit'](){const {plugins:_0x4782e0}=this['editor'];if(!_0x4782e0['has']('TablePropertiesEditing'))return;const _0x37634b=_0x4782e0['get']('SuggestionsConversion'),_0x40571c=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x936d10 of _0x40571c)_0x37634b['registerBlockAttribute'](_0x936d10);}}class F extends _0x203f87{['afterInit'](){const _0x24c237=this['editor'],_0x51697e=_0x24c237['plugins']['get']('SuggestionsConversion');_0x24c237['plugins']['has']('TableLayout')&&_0x51697e['registerBlockAttribute']('tableType');}}class G extends _0x203f87{['afterInit'](){const _0x5ba14e=this['editor'],_0x1f1efa=this['editor']['plugins']['get']('SuggestionsConversion');_0x5ba14e['plugins']['has']('Uploadcare')&&_0x5ba14e['plugins']['has']('UploadcareImageEdit')&&_0x1f1efa['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x203f87{['afterInit'](){const _0x422346=this['editor'];if(!_0x422346['plugins']['has']('ShiftEnter'))return;const _0x4b855f=_0x422346['plugins']['get']('SuggestionsConversion'),_0x6e561f=(_0x1141c0,_0x1ea0c2,_0x58d7fa,_0x542d8e)=>{if(_0x542d8e&&!_0x58d7fa['options']['showSuggestionHighlights'])return;if(!_0x58d7fa['consumable']['test'](_0x1ea0c2['markerRange'],_0x1141c0['name']))return;const _0x5a9a87=_0x422346['model'];for(const _0x33280e of _0x1ea0c2['markerRange']['getItems']()){if(!_0x33280e['is']('element','softBreak'))continue;const _0x66022b='deletion'==_0x1ea0c2['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x3ba6ca,authorId:_0x390669}=v(_0x1ea0c2['markerName']),_0x18e47b=_0x58d7fa['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x66022b,'data-suggestion':_0x3ba6ca,'data-author-id':_0x390669}),_0x261cb2=_0x58d7fa['mapper']['toViewPosition'](_0x5a9a87['createPositionBefore'](_0x33280e));!_0x542d8e&&_0x4b855f['_activeMarkers']['includes'](_0x1ea0c2['markerName'])&&_0x58d7fa['writer']['addClass']('ck-suggestion-marker--active',_0x18e47b),_0x58d7fa['writer']['insert'](_0x261cb2,_0x18e47b),_0x58d7fa['mapper']['bindElementToMarker'](_0x18e47b,_0x1ea0c2['markerName']);}};_0x422346['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0xaacfef,_0x4b2a0c,_0x42b531)=>{_0x6e561f(_0xaacfef,_0x4b2a0c,_0x42b531,!0x1);},{'priority':'high'}),_0x422346['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2b9ac6,_0x39bd0c,_0x30c77f)=>{_0x6e561f(_0x2b9ac6,_0x39bd0c,_0x30c77f,!0x0);},{'priority':'high'});}}class L extends _0x203f87{['afterInit'](){const _0x1b1c26=this['editor'];_0x1b1c26['plugins']['has']('MediaEmbedEditing')&&(_0x1b1c26['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x24d9de,{writer:_0xab2541,options:_0x2e886c})=>{if(_0x2e886c['showSuggestionHighlights'])return _0xab2541['createEmptyElement']('div');},'converterPriority':'high'}),_0x1b1c26['data']['downcastDispatcher']['on']('attribute:url:media',(_0x249933,_0x3b7682,_0x1e6718)=>{_0x1e6718['options']['showSuggestionHighlights']&&_0x249933['stop']();},{'priority':'high'}));}}class Q extends _0x203f87{['afterInit'](){const _0x325237=this['editor'];if(!_0x325237['plugins']['has']('Table'))return;_0x325237['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4514fc,_0x541d3c,_0x2a49aa)=>{((_0x208be6,_0x328e54,_0x37c43a)=>{if(!_0x37c43a['options']['showSuggestionHighlights'])return;const _0x42da02=_0x328e54['item'];if(!_0x42da02||!_0x42da02['is']('element','tableCell'))return;const _0x5acddf=_0x37c43a['mapper']['toViewElement'](_0x42da02);if(_0x5acddf){const {id:_0xf17044,authorId:_0x45d7d7}=v(_0x328e54['markerName']);it(_0x5acddf,_0x37c43a['writer'],(_0xeff35a,_0x55614e,_0x431e8e)=>{_0x431e8e['addClass'](rt(_0x55614e['classes']),_0xeff35a),_0x431e8e['setAttribute']('data-suggestion-id',_0xf17044,_0xeff35a),_0x431e8e['setAttribute']('data-author-id',_0x45d7d7,_0xeff35a);});}})(0x0,_0x541d3c,_0x2a49aa);},{'priority':'highest'});}}class V extends _0x203f87{['afterInit'](){const _0x2b063c=this['editor'];_0x2b063c['plugins']['has']('HorizontalLineEditing')&&_0x2b063c['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x46618e,{writer:_0x470812,options:_0x5d1f7b})=>{if(!_0x5d1f7b['showSuggestionHighlights'])return null;const _0x2fd721=_0x470812['createContainerElement']('div'),_0x52d338=_0x470812['createEmptyElement']('hr');return _0x470812['addClass']('ck-horizontal-line',_0x2fd721),_0x470812['insert'](_0x470812['createPositionAt'](_0x2fd721,0x0),_0x52d338),_0x2fd721;},'converterPriority':'high'});}}class W extends _0x203f87{['afterInit'](){const {plugins:_0x304b90,model:_0x4f32fb}=this['editor'];if(!_0x304b90['has']('TableCellPropertiesEditing'))return;const _0x28547c=_0x304b90['get']('SuggestionsConversion'),_0x384d90=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x1c27d3 of _0x384d90)_0x28547c['registerBlockAttribute'](_0x1c27d3);_0x4f32fb['schema']['checkAttribute']('tableCell','tableCellType')&&_0x28547c['registerBlockAttribute']('tableCellType');}}class kt extends _0x203f87{['_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 _0xe42191=this['editor'],_0x1f0526=(_0x2898df,_0x387581,_0x512263)=>{const {id:_0x50e4bc,authorId:_0x128f5a,type:_0x19e8fb,subType:_0x51ff74}=v(_0x2898df['markerName']),_0x4010b7=['ck-suggestion-marker',this['_getClassName'](_0x19e8fb,_0x51ff74)];let _0x23d50e=0xbb8;return!_0x512263&&(this['_activeMarkers']['includes'](_0x2898df['markerName'])&&(_0x4010b7['push']('ck-suggestion-marker--active'),_0x23d50e=0xbc2)),('deletion'==_0x19e8fb&&(_0x23d50e+=0x5),{'classes':_0x4010b7,'attributes':{'data-suggestion':_0x50e4bc,'data-author-id':_0x128f5a},'priority':_0x23d50e});};_0xe42191['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x5c731d,_0x3717bc)=>_0x1f0526(_0x5c731d,0x0,!0x1)}),_0xe42191['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0xcce370,_0x3b7c72)=>_0x1f0526(_0xcce370,0x0,!0x0)}),_0xe42191['conversion']['for']('dataDowncast')['add'](_0x3941f4=>{_0x3941f4['on']('addMarker:suggestion',(_0x5ae52e,_0x110854,_0x21472f)=>{if(!_0x21472f['options']['showSuggestionHighlights'])return;const _0x5f2dbf=_0x110854['item'];if(!_0x5f2dbf)return;const _0x16425a=_0x21472f['mapper']['toViewElement'](_0x5f2dbf);_0xe42191['model']['schema']['isObject'](_0x5f2dbf)&&_0x16425a&&!_0x16425a['getCustomProperty']('widget')&&_0x16425a['is']('containerElement')&&_0xdfee73(_0x16425a,_0x21472f['writer']);},{'priority':'high'});});const _0x4b2628=(_0x58cd76,_0x291e52,_0x202d57,_0x319ee1,_0x11e365)=>{if(_0x319ee1&&!_0x202d57['options']['showSuggestionHighlights'])return;if(!_0x291e52['item'])return;const {id:_0x1bc643,authorId:_0x28f808,subType:_0x2b5f9d}=v(_0x291e52['markerName']);if(_0x11e365){const _0x2aaa54=_0x2b5f9d['split']('|')[0x0];if(!this['isBlockAttribute'](_0x2aaa54))return;}if(_0x291e52['item']['is']('selection'))return void _0x202d57['consumable']['consume'](_0x291e52['item'],_0x58cd76['name']);const _0x5b3a6b=_0x202d57['mapper']['toViewElement'](_0x291e52['item']);if(_0x291e52['item']['is']('element')&&_0xe42191['model']['schema']['isBlock'](_0x291e52['item'])&&!_0x5b3a6b['getCustomProperty']('addHighlight')){_0x202d57['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x5b3a6b),_0x202d57['writer']['setAttribute']('data-suggestion',_0x1bc643,_0x5b3a6b),_0x202d57['writer']['setAttribute']('data-author-id',_0x28f808,_0x5b3a6b),_0x202d57['mapper']['bindElementToMarker'](_0x5b3a6b,_0x291e52['markerName']),_0x319ee1||(this['_activeMarkers']['includes'](_0x291e52['markerName'])?_0x202d57['writer']['addClass']('ck-suggestion-marker--active',_0x5b3a6b):_0x202d57['writer']['removeClass']('ck-suggestion-marker--active',_0x5b3a6b));for(const _0x833e23 of _0xe42191['model']['createRangeIn'](_0x291e52['item'])['getItems']())_0x202d57['consumable']['consume'](_0x833e23,_0x58cd76['name']);_0x202d57['consumable']['consume'](_0x291e52['item'],_0x58cd76['name']);}},_0x47a5f9=(_0x5df93f,_0x4313b6,_0x947114,_0x4bb964)=>{const _0x921302=_0x947114['mapper']['markerNameToElements'](_0x4313b6['markerName']);if(_0x921302){if(_0x4bb964){const {subType:_0x5c0a7d}=v(_0x4313b6['markerName']),_0x2cc7ae=_0x5c0a7d['split']('|')[0x0];if(!this['isBlockAttribute'](_0x2cc7ae))return;}for(const _0x459a3e of _0x921302)_0x459a3e['getCustomProperty']('addHighlight')||(_0x947114['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x459a3e),_0x947114['writer']['removeAttribute']('data-suggestion',_0x459a3e),_0x947114['writer']['removeAttribute']('data-author-id',_0x459a3e),_0x947114['mapper']['unbindElementFromMarkerName'](_0x459a3e,_0x4313b6['markerName']));}};_0xe42191['conversion']['for']('editingDowncast')['add'](_0x3df290=>{_0x3df290['on']('addMarker:suggestion:formatBlock',(_0x5d51b8,_0xc9d262,_0x1bece3)=>{_0x4b2628(_0x5d51b8,_0xc9d262,_0x1bece3,!0x1,!0x1);},{'priority':'high'});}),_0xe42191['conversion']['for']('editingDowncast')['add'](_0x5bdc91=>{_0x5bdc91['on']('addMarker:suggestion:attribute',(_0x416556,_0x3df984,_0x365c8a)=>{_0x4b2628(_0x416556,_0x3df984,_0x365c8a,!0x1,!0x0);},{'priority':'high'});}),_0xe42191['conversion']['for']('editingDowncast')['add'](_0x495b4d=>{_0x495b4d['on']('removeMarker:suggestion:formatBlock',(_0x289e6b,_0x5cec74,_0x39a3bd)=>{_0x47a5f9(0x0,_0x5cec74,_0x39a3bd,!0x1);},{'priority':'high'});}),_0xe42191['conversion']['for']('editingDowncast')['add'](_0x17ff36=>{_0x17ff36['on']('removeMarker:suggestion:attribute',(_0x50fd7b,_0xb8507e,_0xc9ef2c)=>{_0x47a5f9(0x0,_0xb8507e,_0xc9ef2c,!0x0);},{'priority':'high'});}),_0xe42191['conversion']['for']('dataDowncast')['add'](_0xb42a0a=>{_0xb42a0a['on']('addMarker:suggestion:formatBlock',(_0x316280,_0x899887,_0x760d18)=>{_0x4b2628(_0x316280,_0x899887,_0x760d18,!0x0,!0x1);},{'priority':'highest'});}),_0xe42191['conversion']['for']('dataDowncast')['add'](_0xc6347a=>{_0xc6347a['on']('addMarker:suggestion:attribute',(_0x227889,_0x57192d,_0x5472cf)=>{_0x4b2628(_0x227889,_0x57192d,_0x5472cf,!0x0,!0x0);},{'priority':'highest'});}),_0xe42191['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x1ee74f,_0x3f8620)=>{if(_0x3f8620['options']['showSuggestionHighlights']){const {id:_0x5ae8a5,authorId:_0x2e2ac2}=v(_0x1ee74f);return _0x1ee74f['includes'](':split')||_0x1ee74f['includes'](':merge')?{'group':'suggestion','name':_0x1ee74f['substr'](0xb),'attributes':{'data-suggestion':_0x5ae8a5,'data-author-id':_0x2e2ac2}}:null;}return{'group':'suggestion','name':_0x1ee74f['substr'](0xb)};}});const _0x47cfb3=(_0x4cffb9,_0x618050,_0x536386,_0x2aed5a,_0x2939a3)=>{if(_0x2aed5a&&!_0x536386['options']['showSuggestionHighlights'])return;if(!_0x536386['consumable']['test'](_0x618050['markerRange'],_0x4cffb9['name']))return;const _0x5eb1b3=this['_activeMarkers'],_0x4f39c3=_0x618050['markerRange']['getWalker'](),_0x2e4404=_0x618050['markerRange']['start'],_0x5abcd3=_0xe42191['model']['schema'];let _0x16ad4c=null,_0x1a5c3b=null,_0x1b20a3=!0x1,_0x3b8d83=!0x1;for(const _0x1cd561 of _0x4f39c3){const _0x235ee9=_0x1cd561['item'];_0x1b20a3=_0x1b20a3||_0x5abcd3['isContent'](_0x235ee9);const _0x42c394=_0x536386['mapper']['toViewElement'](_0x235ee9);if(_0x42c394&&_0x42c394['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1cd561['type']&&(_0x5abcd3['isBlock'](_0x235ee9)&&!_0x5abcd3['isLimit'](_0x235ee9)&&(_0x235ee9['nextSibling']||_0x2e4404['isAtEnd']?_0x16ad4c&&_0x16ad4c['parent']==_0x235ee9||(_0x16ad4c=_0x235ee9,_0x2499e9(_0x1cd561['previousPosition']),_0x3b8d83=!0x0):_0x1a5c3b=_0x1a5c3b||_0x1cd561['previousPosition']));}function _0x2499e9(_0x167c4e){const {id:_0x521321,authorId:_0x1745fa}=v(_0x618050['markerName']),_0x59606a=_0x536386['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2939a3,'data-suggestion':_0x521321,'data-author-id':_0x1745fa}),_0x3e9b82=_0x536386['mapper']['toViewPosition'](_0x167c4e);!_0x2aed5a&&_0x5eb1b3['includes'](_0x618050['markerName'])&&_0x536386['writer']['addClass']('ck-suggestion-marker--active',_0x59606a),_0x536386['writer']['insert'](_0x3e9b82,_0x59606a),_0x536386['mapper']['bindElementToMarker'](_0x59606a,_0x618050['markerName']);}_0x1b20a3||_0x3b8d83||!_0x1a5c3b||_0x2499e9(_0x1a5c3b);};_0xe42191['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x5d3699,_0x4c4348,_0x44eb14)=>{_0x47cfb3(_0x5d3699,_0x4c4348,_0x44eb14,!0x1,'merge');},{'priority':'high'}),_0xe42191['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2e5aa4,_0x18f0af,_0x352152)=>{_0x47cfb3(_0x2e5aa4,_0x18f0af,_0x352152,!0x0,'merge');},{'priority':'high'}),_0xe42191['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4561de,_0x47f174,_0x19d393)=>{_0x47cfb3(_0x4561de,_0x47f174,_0x19d393,!0x1,'split');},{'priority':'high'}),_0xe42191['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x22e75e,_0x1c9514,_0x3f8c86)=>{_0x47cfb3(_0x22e75e,_0x1c9514,_0x3f8c86,!0x0,'split');},{'priority':'high'}),_0xe42191['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x262248,_0x291f80,_0x1f2528)=>{((_0x272a1f,_0x59c330,_0x3527f8)=>{const _0x6b4230=_0x3527f8['mapper']['markerNameToElements'](_0x59c330['markerName']);if(_0x6b4230){for(const _0x10e687 of _0x6b4230)(_0x10e687['hasClass']('ck-suggestion-marker-split')||_0x10e687['hasClass']('ck-suggestion-marker-merge'))&&(_0x3527f8['mapper']['unbindElementFromMarkerName'](_0x10e687,_0x59c330['markerName']),_0x3527f8['writer']['remove'](_0x10e687));}})(0x0,_0x291f80,_0x1f2528);},{'priority':'high'});const _0x1bd752=(_0x12c1b2,_0x451f4a,_0x2d19e6,_0x595f49)=>{if(_0x595f49&&!_0x2d19e6['options']['showSuggestionHighlights'])return;const _0x633a31=_0x451f4a['markerRange']['start'],_0x54b48d=_0x451f4a['markerRange']['end'],_0x7f2707=_0xe42191['model']['schema'];if(!_0x633a31['isTouching'](_0x54b48d)||!_0x633a31['nodeAfter'])return;const _0x97e623=_0x633a31['nodeAfter'];if(_0x7f2707['isBlock'](_0x97e623)&&!_0x7f2707['isLimit'](_0x97e623)&&_0x7f2707['checkChild'](_0x97e623,'$text')){if(!_0x2d19e6['consumable']['consume'](_0x451f4a['markerRange'],_0x12c1b2['name']))return;const {id:_0x1f713f,authorId:_0x261e48}=v(_0x451f4a['markerName']),_0x43546b=_0x2d19e6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x1f713f,'data-author-id':_0x261e48}),_0x437f6c=_0x2d19e6['mapper']['toViewPosition'](_0x54b48d);!_0x595f49&&this['_activeMarkers']['includes'](_0x451f4a['markerName'])&&_0x2d19e6['writer']['addClass']('ck-suggestion-marker--active',_0x43546b),_0x2d19e6['writer']['insert'](_0x437f6c,_0x43546b),_0x2d19e6['mapper']['bindElementToMarker'](_0x43546b,_0x451f4a['markerName']);}};_0xe42191['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x914258,_0x54de8c,_0x3374db)=>{_0x1bd752(_0x914258,_0x54de8c,_0x3374db,!0x1);},{'priority':'high'}),_0xe42191['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2b56b6,_0x59f565,_0x184c8e)=>{_0x1bd752(_0x2b56b6,_0x59f565,_0x184c8e,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x90f584,_0x570687,_0x249146)=>{this['_activeMarkers']=_0x249146['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x558209){this['_blockAttributeKeys']['add'](_0x558209);}['registerInlineAttribute'](_0x23c341){this['_inlineAttributeKeys']['add'](_0x23c341);}['isBlockAttribute'](_0x37018b){return this['_blockAttributeKeys']['has'](_0x37018b);}['isInlineAttribute'](_0x5edb2c){return this['_inlineAttributeKeys']['has'](_0x5edb2c);}['isRegisteredAttribute'](_0xdeb380){return this['isInlineAttribute'](_0xdeb380)||this['isBlockAttribute'](_0xdeb380);}['_getClassName'](_0x18be11,_0x3f2855){if('attribute'!=_0x18be11)return'ck-suggestion-marker-'+_0x18be11;const _0x5c8523=_0x3f2855['split']('|')[0x0];return this['isBlockAttribute'](_0x5c8523)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x4c49eb={},_0x349720){if(void 0x0!==_0x4c49eb['dateTimeFormat']&&'function'!=typeof _0x4c49eb['dateTimeFormat'])throw new _0x36d35e('invalid-date-time-format');return _0x445bee=>{const _0x50ffc6='string'==typeof _0x445bee?tt['fromISO'](_0x445bee):tt['fromJSDate'](_0x445bee),_0x319a67=tt['now'](),_0x1ad6b6=Math['floor'](_0x319a67['diff'](_0x50ffc6,'days')['days']);return _0x4c49eb['dateTimeFormat']?_0x4c49eb['dateTimeFormat'](_0x50ffc6['toJSDate'](),_0x349720&&_0x349720['t']?_0x349720['t']:void 0x0):0x0===_0x1ad6b6?_0x349720?U(_0x349720,'Today')+'\x20'+_0x50ffc6['toFormat']('hh:mma'):_0x50ffc6['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x1ad6b6?_0x349720?U(_0x349720,'Yesterday')+'\x20'+_0x50ffc6['toFormat']('hh:mma'):_0x50ffc6['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x1ad6b6<0x7?_0x349720?U(_0x349720,'Last')+'\x20'+U(_0x349720,_0x50ffc6['toFormat']('EEEE'))+'\x20'+_0x50ffc6['toFormat']('hh:mma'):_0x50ffc6['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x50ffc6['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x348b3e,_0x3dcc18){const _0x57180a=_0x348b3e['mapper']['markerNameToElements'](_0x3dcc18['name']);if(!_0x57180a)return null;const _0x34d3dc=_0x2825cb(_0x57180a['values']());return _0x348b3e['view']['domConverter']['mapViewToDom'](_0x34d3dc)||null;}function wt(_0x1bcdda,_0x17e73c){if(0x0===_0x17e73c['length'])return null;const _0x5a2412=[],_0x146d61=_0x1bcdda['view']['domConverter'];for(const _0x2d34ff of _0x17e73c){const _0x46640a=_0x1bcdda['mapper']['markerNameToElements'](_0x2d34ff['name']);if(!_0x46640a)continue;const _0x4220dd=Array['from'](_0x46640a)['map'](_0x41159e=>_0x146d61['mapViewToDom'](_0x41159e))['filter'](_0x410b95=>!!_0x410b95);_0x5a2412['push'](..._0x4220dd);}if(0x0===_0x5a2412['length'])return null;const _0x2db88e=[];for(const _0x363743 of _0x5a2412){const _0x47aac8=_0x363743['getClientRects']()['item'](0x0);_0x47aac8&&_0x2db88e['push']({'x':_0x47aac8['x'],'y':_0x47aac8['y'],'domElement':_0x363743});}return 0x0===_0x2db88e['length']?null:(_0x2db88e['sort']((_0x3e07f6,_0x224951)=>_0x3e07f6['y']-_0x224951['y']||_0x3e07f6['x']-_0x224951['x']),_0x2db88e['map'](_0x5cb420=>_0x5cb420['domElement']));}function bt(_0x23c437,{limit:_0x2f551f,suffix:_0x13a314='...'}){const _0x104060=[];let _0x37ddc6=0x0;const _0x311f4c=_0x23c437['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x22116b=0x0;_0x22116b<_0x311f4c['length'];_0x22116b++){let _0x26e7f0=_0x311f4c[_0x22116b];const _0x53cf11=tn(_0x26e7f0);if(_0x26e7f0['startsWith']('<')){if(_0x37ddc6>=_0x2f551f){const _0x8c1d36=_0x26e7f0['match'](/[a-zA-Z]+/);if(!_0x8c1d36){_0x311f4c[_0x22116b]='';continue;}const _0x3a4d6d=_0x8c1d36[0x0];_0x26e7f0['startsWith']('</')?(_0x104060['length']&&(_0x26e7f0=''),_0x104060['pop']()):(_0x104060['push'](_0x3a4d6d),_0x26e7f0='');}}else{if(_0x37ddc6>=_0x2f551f)_0x26e7f0='';else{if(_0x37ddc6+_0x53cf11['length']>=_0x2f551f){let _0x28d98a=_0x2f551f-_0x37ddc6;if('\x20'===_0x53cf11[_0x28d98a-0x1])_0x28d98a--;else{const _0x4384ff=_0x53cf11['slice'](_0x28d98a)['indexOf']('\x20');-0x1!==_0x4384ff?_0x28d98a+=_0x4384ff:_0x28d98a=_0x26e7f0['length'];}_0x26e7f0=_0x53cf11['slice'](0x0,_0x28d98a)['join']('')+_0x13a314,_0x37ddc6=_0x2f551f;}else _0x37ddc6+=_0x53cf11['length'];}}_0x311f4c[_0x22116b]=_0x26e7f0;}return _0x311f4c['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x364ee6){const _0x110117=[];for(let _0x297478=0x0;_0x297478<_0x364ee6['length'];_0x297478++){const _0x2cad64=_0x364ee6['substring'](_0x297478)['match'](/^&[a-z0-9#]+;/);if(_0x2cad64){const _0x282864=_0x2cad64[0x0];_0x110117['push'](_0x282864),_0x297478+=_0x282864['length']-0x1;}else _0x110117['push'](_0x364ee6[_0x297478]);}return _0x110117;}class X extends _0xf88a3b{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x5e30a1){super(_0x5e30a1);const _0x370266=this['bindTemplate'];this['set']('message',U(_0x5e30a1,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x5e30a1,U(_0x5e30a1,'Yes'),_0x4527be,'submit'),this['cancelView']=this['_createButtonView'](_0x5e30a1,U(_0x5e30a1,'No'),_0x32cc21,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x25a297(),this['keystrokes']=new _0x17972b(),this['focusCycler']=new _0x158877({'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':_0x370266['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'](_0x2ae4e0,_0x5226de,_0x2f86f7,_0x2a891a){const _0x3dce9e=new ts(_0x2ae4e0);return _0x3dce9e['label']=_0x5226de,_0x3dce9e['icon']=_0x2f86f7,_0x3dce9e['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x2a891a}}),_0x3dce9e['on']('execute',()=>this['fire'](_0x2a891a)),_0x3dce9e;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x531f6c=>{this['keystrokes']['listenTo'](_0x531f6c['element']),this['focusTracker']['add'](_0x531f6c['element']);}),this['keystrokes']['set']('esc',(_0xac4e38,_0x2ca13f)=>{this['fire']('cancel'),_0x2ca13f();});}}function vt(_0x306990){return class extends _0x306990{['showConfirm'](_0x4c3fb9,_0x4605e8){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x4c3fb9,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x4605e8['appendChild'](this['confirmView']['element']),_0x4605e8['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x4ce9f6,_0x582f72,_0x352a66)=>{_0x352a66||_0x4605e8['classList']['remove']('ck-confirm-view-active');}),new Promise(_0xe75850=>this['confirmView']['on']('submit',_0xe75850));}['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(_0x45458e){let _0x51277b=0x0,_0x2b96e1=0x0;for(const _0x3c7822 of ne(_0x45458e))_0x51277b=(_0x51277b<<0x5)-_0x51277b+_0x3c7822,_0x51277b&=_0x51277b,[_0x51277b,_0x2b96e1]=[_0x2b96e1,_0x51277b];return ie(_0x51277b)+ie(_0x2b96e1);}function*ee(_0xcad328){null==_0xcad328||null==_0xcad328?yield 0x12b9b0a1:0x0===_0xcad328||!0x1===_0xcad328?yield 0x0:0x1===_0xcad328||0x1==_0xcad328?yield 0x1:Array['isArray'](_0xcad328)?yield*function*(_0x440d70){for(const _0x44a928 of _0x440d70)yield*ee(_0x44a928);}(_0xcad328):'object'==typeof _0xcad328?yield*ne(_0xcad328):'string'==typeof _0xcad328?yield*oe(_0xcad328):'number'==typeof _0xcad328&&(yield _0xcad328);}function*ne(_0x53916b){if(yield te('{'),_0x53916b){const _0x2b0bb4=Object['keys'](_0x53916b)['sort']();for(const _0x5cc7ac of _0x2b0bb4){yield*oe(_0x5cc7ac),yield te(':');const _0x4fc4c5=_0x53916b[_0x5cc7ac];yield*ee(_0x4fc4c5);}}yield te('}');}function*oe(_0x410920){yield te('\x22');for(const _0x15b6a2 of _0x410920)yield te(_0x15b6a2);yield te('\x22');}function te(_0x55d8ce){return _0x55d8ce['charCodeAt'](0x0);}function ie(_0x4a1b2d){return(_0x4a1b2d*=Math['sign'](_0x4a1b2d))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x5ba711,_0x51f09d,_0x2a15f5,_0x2be6cd=[]){const _0x56e4ad='string'==typeof _0x5ba711?_0x2a15f5['get'](_0x5ba711)['constructor']:_0x5ba711['prototype']['constructor'];if(_0x51f09d['has'](_0x56e4ad))return _0x51f09d['get'](_0x56e4ad);_0x51f09d['set'](_0x56e4ad,!0x0);const _0x46c693=[...et,..._0x2be6cd]['map'](_0x78ba8=>{if(_0x2a15f5['has'](_0x78ba8))return _0x2a15f5['get'](_0x78ba8)['constructor'];})['filter'](_0x7fc3aa=>_0x7fc3aa);if(_0x56e4ad&&_0x46c693['includes'](_0x56e4ad))return _0x51f09d['set'](_0x56e4ad,!0x1),!0x1;if(!_0x56e4ad['requires'])return _0x51f09d['set'](_0x56e4ad,!0x0),!0x0;const _0x53e360=_0x56e4ad['requires']['every'](_0x2980b2=>ot(_0x2980b2,_0x51f09d,_0x2a15f5,_0x2be6cd));return _0x51f09d['set'](_0x56e4ad,_0x53e360),_0x53e360;}function Ct(_0x9eea01,_0x2d2b89){const _0x5aeb06={};for(const _0x50f65b of _0x9eea01['config']['names']())nt['includes'](_0x50f65b)||(_0x5aeb06[_0x50f65b]=_0x9eea01['config']['get'](_0x50f65b));const _0x1024b8=_0x5aeb06['plugins']||[],_0x26b55a=_0x9eea01['constructor']['builtinPlugins']||[],_0x16c818=_0x1024b8['length']?_0x1024b8:_0x26b55a,_0x393392=_0x5aeb06['extraPlugins']||[];delete _0x5aeb06['extraPlugins'];const _0x23a503=_0x5aeb06['removePlugins']||[];delete _0x5aeb06['removePlugins'];const _0x406a43=_0x9eea01['_context']['config']['get']('plugins')||[],_0x373bc9=_0x16c818['concat'](_0x393392)['concat'](_0x406a43)['map'](_0x5d15ac=>'string'==typeof _0x5d15ac?_0x26b55a['find'](_0x372f3c=>_0x372f3c['pluginName']==_0x5d15ac):_0x5d15ac)['filter'](_0x3cb0f4=>!_0x23a503['includes'](_0x3cb0f4)&&!_0x23a503['includes'](_0x3cb0f4['pluginName'])),_0x5c9a78=Array['from'](new Set(_0x373bc9)),_0x469038=new Map();return _0x5aeb06['plugins']=_0x5c9a78['filter'](_0x290caf=>ot(_0x290caf,_0x469038,_0x9eea01['plugins'],_0x2d2b89)),_0x5aeb06;}function xt(_0x1a937e,_0x2d0f35){const _0x20d6be=[];_0x1a937e['document']['selection']['on']('change:range',()=>{const _0x3ec8f6=function(_0x4abf3c,_0x1dea56){const _0x22d18c=[];for(const _0x2ad4cd of _0x4abf3c['markers']){const _0x18f320=_0x2ad4cd['getRange']();(_0x18f320['containsPosition'](_0x1dea56)||_0x18f320['start']['isEqual'](_0x1dea56)||_0x18f320['end']['isEqual'](_0x1dea56))&&_0x22d18c['push'](_0x2ad4cd);}return _0x22d18c;}(_0x1a937e,_0x1a937e['document']['selection']['focus']),_0x4400c7=[],_0x21cad0=[],_0x28cbf3=[];for(const _0x4ff2e8 of _0x20d6be)_0x3ec8f6['includes'](_0x4ff2e8)||_0x4400c7['push'](_0x4ff2e8);for(const _0x5a8934 of _0x3ec8f6)_0x20d6be['includes'](_0x5a8934)||_0x21cad0['push'](_0x5a8934),_0x28cbf3['push'](_0x5a8934);(_0x4400c7['length']||_0x21cad0['length'])&&_0x2d0f35({'left':_0x4400c7,'entered':_0x21cad0}),_0x20d6be['length']=0x0,_0x20d6be['push'](..._0x28cbf3);});}const It='Ctrl+Shift+E';function _t(_0xb564f8,_0x4d4fc7){const _0x5239cb=_0xb564f8['element'];_0xb564f8['keystrokes']['listenTo'](_0x5239cb);for(const _0x1f2bbc of _0x4d4fc7)ro(_0xb564f8,_0x1f2bbc);_0x4d4fc7['on']('change',(_0xe7bf03,_0x4903d2)=>{for(const _0x3b37fe of _0x4903d2['removed'])to(_0xb564f8,_0x3b37fe);for(const _0x16a3b5 of Array['from'](_0x4903d2['added'])['reverse']())ro(_0xb564f8,_0x16a3b5);}),_0xb564f8['keystrokes']['set']('enter',(_0x42392a,_0x2ab7f2)=>{_0x5239cb===_0x42392a['target']&&(_0xb564f8['focusCycler']['focusFirst'](),_0x2ab7f2());},{'filter':_0x5a4b29=>_0x5a4b29['target']===_0x5239cb}),_0xb564f8['keystrokes']['set']('esc',(_0x474102,_0x5da644)=>{_0x5239cb!==_0x474102['target']?_0xb564f8['focus']():_0xb564f8['fire']('escape'),_0x5da644();}),_0xb564f8['keystrokes']['set']('arrowdown',(_0x4c614a,_0x34b27c)=>{_0x5239cb===_0x4c614a['target']&&(_0xb564f8['fire']('arrowdown'),_0x34b27c());}),_0xb564f8['keystrokes']['set']('arrowup',(_0x5eb1d7,_0x3f78c6)=>{_0x5239cb===_0x5eb1d7['target']&&(_0xb564f8['fire']('arrowup'),_0x3f78c6());});}function ro(_0xa1bc5f,_0x39651a){_0x39651a['isRendered']&&(_0xa1bc5f['focusTracker']['add'](_0x39651a['element']),_0xa1bc5f['keystrokes']['listenTo'](_0x39651a['element']),_0x1d74d9(_0x39651a)&&function(_0x54dd1b,_0x504e94){const _0x5442a9=_0x54dd1b['actions'],_0x226e68=_0x504e94['actions'];for(const _0x2fcef5 of Object['keys'](_0x5442a9))if(_0x2fcef5 in _0x226e68&&_0x5442a9[_0x2fcef5]!==_0x226e68[_0x2fcef5])return!0x1;return!0x0;}(_0xa1bc5f['focusCycler'],_0x39651a['focusCycler'])&&_0xa1bc5f['focusCycler']['chain'](_0x39651a['focusCycler']));}function to(_0x10937b,_0x3c4712){_0x10937b['focusTracker']['remove'](_0x3c4712['element']),_0x10937b['keystrokes']['stopListening'](_0x3c4712['element']),_0x1d74d9(_0x3c4712)&&_0x10937b['focusCycler']['unchain'](_0x3c4712['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x599dd4{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x1d60eb?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x3e8223,_0x5c300a)=>{_0x5c300a['on']('ready',()=>{this['_integrateEditor'](_0x5c300a);});});}get['editor'](){if(this['context']instanceof _0x1d60eb)return this['context'];{const _0x35c15f=this['context']['editors']['first'];if(!_0x35c15f)throw new _0x36d35e('documentcompare-no-editor',this);return _0x35c15f;}}['getDiff'](_0x108bf3,_0x1ce78c,_0x2f475f={'anchor':'main','markDeletions':!0x1}){let _0x124dba,_0x1bf697;const _0x21b784=this['editor'];if('string'==typeof _0x2f475f['anchor']){const _0x5f4d02=_0x21b784['model']['document']['getRoot'](_0x2f475f['anchor']);if(!_0x5f4d02)throw new _0x36d35e('documentcompare-compare-no-root',this,{'anchor':_0x2f475f['anchor']});_0x124dba=_0x5f4d02,_0x1bf697=_0x21b784['model']['createPositionAt'](_0x5f4d02,0x0);}else _0x124dba=_0x2f475f['anchor']['clone'](),_0x1bf697=_0x2f475f['anchor']['clone']();const _0xc8aa0d=_0x21b784['data']['parse'](_0x108bf3,_0x124dba),_0x1d126e=_0x21b784['data']['parse'](_0x1ce78c,_0x124dba);return new Mt(_0xc8aa0d,_0x1d126e,_0x21b784,{'anchor':_0x1bf697,'markDeletions':_0x2f475f['markDeletions']});}['isMarkedRemoveOperation'](_0x5be33f){return'marker'==_0x5be33f['type']&&_0x5be33f['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x3d9c79){_0x3d9c79['conversion']['for']('upcast')['add'](_0x2741c4=>{_0x2741c4['on']('element',(_0x4764e1,_0x1be421,_0x385065)=>{if(_0x1be421['modelRange'])for(const _0x544ebe of _0x1be421['modelRange']['getItems']({'shallow':!0x0})){if(_0x544ebe['is']('$textProxy'))continue;const _0x1e7a86=_0x1be421['viewItem']['getAttribute'](Et);_0x1e7a86&&_0x385065['writer']['setAttribute'](St,_0x1e7a86,_0x544ebe);}},{'priority':'lowest'});}),_0x3d9c79['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x30427c,_0x3dc143,_0x39720f,_0x4dd18c){this['_editor']=_0x39720f,this['_markDeletions']=!!_0x4dd18c['markDeletions'],this['_anchor']=_0x4dd18c['anchor'];const _0x35558c=this['_tokenizeModel'](_0x30427c),_0x32454d=this['_tokenizeModel'](_0x3dc143);this['_diffItems']=this['_diffModelTokens'](_0x35558c,_0x32454d),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x30427c['markers'],_0x3dc143['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x515ef2=this['_editor']['model']['document'],_0xcc6681=[];let _0x5b8e37=_0x515ef2['version'];for(const _0x36298b of this['_operationsData'])switch(_0x36298b['type']){case'attribute':{const _0x1530d7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x36298b['path']),_0x21711d=_0x1530d7['getShiftedBy'](_0x36298b['howMany']),_0x58a055=new _0x1abbd6(_0x1530d7,_0x21711d),_0x58b85a=JSON['parse'](_0x36298b['oldValue']),_0x3adb0a=JSON['parse'](_0x36298b['newValue']);_0xcc6681['push'](new _0x8b2371(_0x58a055,_0x36298b['key'],_0x58b85a,_0x3adb0a,_0x5b8e37++));break;}case'insert':{const _0x1a4641=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x36298b['path']),_0x3c64c0=this['_makeModelFromTokens'](_0x36298b['tokens']);_0xcc6681['push'](new _0x26592a(_0x1a4641,_0x3c64c0,_0x5b8e37++));break;}case'remove':{const _0x4ebd3f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x36298b['path']),_0x54d382=new _0x26ff72(_0x515ef2['graveyard'],[0x0]);_0xcc6681['push'](new _0x417e9d(_0x4ebd3f,_0x36298b['howMany'],_0x54d382,_0x5b8e37++));break;}case'rename':{const _0x5470f5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x36298b['path']);_0xcc6681['push'](new _0x543a65(_0x5470f5,_0x36298b['oldName'],_0x36298b['newName'],_0x5b8e37++));break;}case'split':{const _0x53c946=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x36298b['path']),_0x35af02=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x36298b['path']['slice'](0x0,-0x1));_0x35af02['offset']++,_0xcc6681['push'](new _0x2c9c07(_0x53c946,Number['NEGATIVE_INFINITY'],_0x35af02,null,_0x5b8e37++));break;}case'merge':{const _0x444b81=_0x36298b['path']['slice'](),_0x4c5c83=_0x444b81['slice'](0x0,-0x1);_0x4c5c83[_0x4c5c83['length']-0x1]++,_0x4c5c83['push'](0x0);const _0x2e4575=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4c5c83),_0x1c478d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x444b81),_0x3fbafd=new _0x26ff72(_0x515ef2['graveyard'],[0x0]);_0xcc6681['push'](new _0x1c2a5b(_0x2e4575,Number['NEGATIVE_INFINITY'],_0x1c478d,_0x3fbafd,_0x5b8e37++));break;}case'marker':case'markedRemove':{let _0x20a608=null;if(_0x36298b['range']){const _0x50ded7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x36298b['range']['start']),_0x4722e8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x36298b['range']['end']);_0x20a608=new _0x1abbd6(_0x50ded7,_0x4722e8);}const _0x1d2441='marker'==_0x36298b['type']?_0x36298b['name']:'$markedRemove:'+_0x21e0d6();_0xcc6681['push'](new _0x293484(_0x1d2441,null,_0x20a608,_0x515ef2['model']['markers'],!0x0,_0x5b8e37++));break;}case'unwrap':{const _0x41d379=_0x36298b['path']['slice']();_0x41d379['push'](0x0);const _0x17f336=_0x36298b['path']['slice'](),_0x242bb8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x41d379),_0x3244a8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x17f336),_0x90a112=new _0x26ff72(_0x515ef2['graveyard'],[0x0]);_0xcc6681['push'](new _0x417e9d(_0x242bb8,_0x36298b['howMany'],_0x3244a8,_0x5b8e37++)),_0xcc6681['push'](new _0x417e9d(_0x3244a8['getShiftedBy'](_0x36298b['howMany']),0x1,_0x90a112,_0x5b8e37++));break;}case'wrap':{const _0xa4d0c4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x36298b['range']['start']),_0x389e08=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x36298b['range']['end']),_0x16813c=_0x36298b['token']['element']['_clone'](!0x1),_0x5c8003=_0x36298b['range']['end']['slice']();_0x5c8003['push'](0x0);const _0x27f5fe=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5c8003);_0xcc6681['push'](new _0x26592a(_0x389e08,_0x16813c,_0x5b8e37++)),_0xcc6681['push'](new _0x417e9d(_0xa4d0c4,_0x389e08['offset']-_0xa4d0c4['offset'],_0x27f5fe,_0x5b8e37++));break;}}return _0xcc6681;}['_tokenizeModel'](_0x2c9988){const _0x22ab44=[],_0xf3174e=_0x1abbd6['_createIn'](_0x2c9988),_0x41278b=new _0x5e3ea0({'boundaries':_0xf3174e});let _0x2754f0='',_0x17dbd0=null;const _0x1e061d=[''],_0x2d6e3f=new Map();for(const _0x2218c9 of _0x41278b)if('elementStart'==_0x2218c9['type']||'elementEnd'==_0x2218c9['type']){let _0x138313=_0x1e061d[0x0];''!==_0x2754f0&&(_0x22ab44['push'](...this['_makeTokensFromTextByWords'](_0x2754f0,_0x17dbd0,_0x138313)),_0x2754f0='');const _0x54db01=_0x2218c9['item'];let _0x4cfabe;_0x54db01['getAttribute'](St)?_0x4cfabe=_0x54db01['getAttribute'](St):'elementStart'==_0x2218c9['type']?(_0x4cfabe=_(_0x54db01),_0x2d6e3f['set'](_0x54db01,_0x4cfabe)):_0x4cfabe=_0x2d6e3f['get'](_0x54db01);const _0x513aa7=this['_getElementCategory'](_0x54db01);'solid'==_0x513aa7&&('elementStart'==_0x2218c9['type']?(_0x138313=_0x4cfabe,_0x1e061d['unshift'](_0x138313)):_0x1e061d['shift']());const _0x2b0a1c={'type':'element','element':_0x54db01,'elementId':_0x4cfabe,'category':_0x513aa7,'isStart':'elementStart'==_0x2218c9['type'],'limitId':_0x138313};_0x22ab44['push'](_0x2b0a1c);}else''==_0x2754f0&&(_0x17dbd0=_0x2218c9['previousPosition']['clone']()),_0x2754f0+=_0x2218c9['item']['data'];return''!==_0x2754f0&&_0x22ab44['push'](...this['_makeTokensFromTextByWords'](_0x2754f0,_0x17dbd0,_0x1e061d[0x0])),_0x22ab44;}['_makeTokensFromTextByWords'](_0xb55d95,_0x26a9d9,_0x3a4a9b){const _0x3d43e0=_0xb55d95['matchAll'](/(\s)/g),_0x216d95=Array['from'](_0x3d43e0)['map'](_0x1aa0b4=>_0x1aa0b4['index']);_0x216d95['push'](_0xb55d95['length']),0x0==_0x216d95[0x0]&&_0x216d95['shift']();const _0x978588=[],_0x1cc89c=_0x26a9d9['parent'];let _0x4a5dc0=0x0,_0x4cb738=_0x26a9d9['offset'];for(let _0x9bb66=0x0;_0x9bb66<_0x216d95['length'];_0x9bb66++)_0x978588['push']({'type':'text','data':_0xb55d95['slice'](_0x4a5dc0,_0x216d95[_0x9bb66]),'parent':_0x1cc89c,'offset':_0x4cb738,'limitId':_0x3a4a9b}),_0x4a5dc0=_0x216d95[_0x9bb66],_0x4cb738=_0x26a9d9['offset']+_0x216d95[_0x9bb66];return _0x978588;}['_getElementCategory'](_0x1947d4){const _0x33cf1b=this['_editor']['model']['schema'];return _0x33cf1b['isLimit'](_0x1947d4)||_0x33cf1b['isContent'](_0x1947d4)||_0x33cf1b['isInline'](_0x1947d4)?'solid':_0x33cf1b['isBlock'](_0x1947d4)?'block':'container';}['_diffModelTokens'](_0x53fb28,_0x174088){const _0x5169b3=_0x877c4(_0x53fb28,_0x174088,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x5169b3);const _0xdc950a=_0x5169b3['flatMap'](_0x2df621=>{const _0x5c4273=_0x2df621['added']?'added':_0x2df621['removed']?'removed':'unchanged';return _0x2df621['value']['map'](_0x40b4dd=>({'token':_0x40b4dd,'change':_0x5c4273}));});let _0x3233b8=0x0;for(const _0x5afae2 of _0xdc950a)'added'!=_0x5afae2['change']&&('unchanged'==_0x5afae2['change']&&(_0x5afae2['before']=_0x53fb28[_0x3233b8]),_0x3233b8++);return _0xdc950a;}['_handleUnclosedBlockOpeningTags'](_0x115089){for(let _0x35f363=0x0;_0x35f363<_0x115089['length']-0x1;_0x35f363++)if(_0x115089[_0x35f363]['removed']&&_0x115089[_0x35f363+0x1]['added']){const _0x1f2396=this['_findUnclosedBlockOpeningToken'](_0x115089[_0x35f363]['value']);if(null!==_0x1f2396){const _0x4719bf=this['_findUnclosedBlockOpeningToken'](_0x115089[_0x35f363+0x1]['value']),_0x2bd8c0=_0x115089[_0x35f363]['value']['splice'](_0x1f2396),_0x27093f=_0x115089[_0x35f363+0x1]['value']['splice'](_0x4719bf),_0x15e2e8=[_0x27093f['shift']()];_0x2bd8c0['shift']();const _0x4e9361={'value':_0x2bd8c0,'removed':!0x0},_0x45d168={'value':_0x27093f,'added':!0x0},_0x2200bd={'value':_0x15e2e8};_0x115089['splice'](_0x35f363+0x2,0x0,_0x2200bd,_0x4e9361,_0x45d168);}}}['_findUnclosedBlockOpeningToken'](_0x4e37fd){let _0x2c736c=0x0,_0x507ce5=-0x1;for(let _0x2cc461=0x0;_0x2cc461<_0x4e37fd['length'];_0x2cc461++){const _0x290b8d=_0x4e37fd[_0x2cc461];'element'==_0x290b8d['type']&&'block'==_0x290b8d['category']&&(_0x2c736c+=_0x290b8d['isStart']?0x1:-0x1,_0x290b8d['isStart']&&(_0x507ce5=_0x2cc461));}return 0x0===_0x2c736c?null:_0x507ce5;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x1fcb6f=0x0;_0x1fcb6f<this['_diffItems']['length'];_0x1fcb6f++){const _0x1271bf=this['_diffItems'][_0x1fcb6f]['change'],_0x2a5882=[];_0x2a5882['push'](this['_diffItems'][_0x1fcb6f]);let _0x197f43=_0x1fcb6f+0x1;for(;this['_diffItems'][_0x197f43]&&this['_diffItems'][_0x197f43]['change']==_0x1271bf;)_0x2a5882['push'](this['_diffItems'][_0x197f43]),_0x197f43++,_0x1fcb6f++;const _0xb837ef=_0x2a5882['map'](_0x4a7729=>_0x4a7729['token']);if('unchanged'==_0x1271bf)_0x2a5882['map'](_0x4e36f8=>_0x4e36f8['before'])['forEach'](_0x2e7522=>this['_traverseOverItem'](_0x2e7522));else{if('removed'==_0x1271bf){if(this['_markDeletions']){const _0x1eff1d=this['_path']['slice']();_0xb837ef['forEach'](_0x24a6fe=>this['_traverseOverItem'](_0x24a6fe));const _0x3dce65=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x1eff1d,'end':_0x3dce65}});}else this['_handleChanged'](_0xb837ef,!0x0,this['_path']['slice']());}else{const _0x3fe4a1=_0xb837ef['filter'](_0x5ef193=>'element'!=_0x5ef193['type']||'container'!=_0x5ef193['category']);this['_handleChanged'](_0x3fe4a1,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4cdf27=0x0;_0x4cdf27<this['_diffItems']['length'];_0x4cdf27++){const _0x31776d=this['_diffItems'][_0x4cdf27]['change'],_0x34b94f=[];_0x34b94f['push'](this['_diffItems'][_0x4cdf27]);let _0x86178a=_0x4cdf27+0x1;for(;this['_diffItems'][_0x86178a]&&this['_diffItems'][_0x86178a]['change']==_0x31776d;)_0x34b94f['push'](this['_diffItems'][_0x86178a]),_0x86178a++,_0x4cdf27++;const _0x298853=_0x34b94f['map'](_0x437a7b=>_0x437a7b['token']);if('unchanged'==_0x31776d){const _0x824d47=_0x34b94f['map'](_0x5ae440=>_0x5ae440['before']);this['_handleUnchanged'](_0x824d47,_0x298853);}else('removed'!=_0x31776d||this['_markDeletions'])&&_0x298853['forEach'](_0x4c690c=>{this['_traverseOverItem'](_0x4c690c);});}}['_calculateMarkersOperationsData'](_0xb8c1eb,_0x10d9b2){const _0x339093={};for(const [_0x5d3745]of _0xb8c1eb)_0x339093[_0x5d3745]=null;for(const [_0x53cfc8,_0xdf163a]of _0x10d9b2)_0x339093[_0x53cfc8]=_0xdf163a;const _0x3193eb=Object['entries'](_0x339093)['map'](([_0x45074c,_0x4d658c])=>({'type':'marker','name':_0x45074c,'range':_0x4d658c?{'start':_0x4d658c['start']['path']['slice'](),'end':_0x4d658c['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x3193eb);}['_handleUnwraps'](){const _0x177780=new Map(),_0x55c442=[],_0x795bca=[0x0];let _0x14a2af=this['_diffItems']['length']+0x1;for(let _0x33fc72=this['_diffItems']['length']-0x1;_0x33fc72>=0x0;_0x33fc72--){const {token:_0x4106f5,before:_0x36dc26,change:_0x588828}=this['_diffItems'][_0x33fc72];if('removed'!=_0x588828&&(_0x14a2af=_0x33fc72),'element'!=_0x4106f5['type']||'container'!=_0x4106f5['category']||'added'==_0x588828)continue;const _0x3b0d99=_0x36dc26?_0x36dc26['element']:_0x4106f5['element'];if(_0x4106f5['isStart']){const _0x101613=_0x177780['get'](_0x3b0d99),_0x241a4a=this['_diffItems'][_0x101613];('removed'==_0x588828||'removed'==_0x241a4a['change'])&&_0x14a2af<_0x101613&&(this['_operationsData']['push']({'type':'unwrap','path':_0x3b0d99['getPath'](),'howMany':_0x3b0d99['maxOffset']+_0x795bca[0x0]}),_0x795bca['shift'](),_0x795bca[0x0]+=_0x3b0d99['maxOffset']-0x1,_0x55c442['push'](_0x33fc72),_0x55c442['push'](_0x101613));}else _0x177780['set'](_0x3b0d99,_0x33fc72),_0x795bca['unshift'](0x0);}_0x55c442['sort']((_0x31af93,_0xf1c4e5)=>_0xf1c4e5-_0x31af93),_0x55c442['forEach'](_0x1f3f01=>{const _0x1a048e=this['_diffItems'][_0x1f3f01];'removed'==_0x1a048e['change']?this['_diffItems']['splice'](_0x1f3f01,0x1):(_0x1a048e['change']='added',delete _0x1a048e['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x4448d8=[];for(let _0x2d46ee=0x0;_0x2d46ee<this['_diffItems']['length'];_0x2d46ee++){const {change:_0x4fa559,token:_0x38b1b2}=this['_diffItems'][_0x2d46ee];if('added'==_0x4fa559&&'element'==_0x38b1b2['type']&&'container'==_0x38b1b2['category']){if(_0x38b1b2['isStart'])_0x4448d8['push'](this['_path']['slice']());else{if(!_0x38b1b2['isStart']){const _0x2fc91f=_0x4448d8['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x2fc91f,'end':this['_path']['slice']()},'token':_0x38b1b2}),this['_path'][this['_path']['length']-0x1]=_0x2fc91f[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x4fa559||this['_markDeletions'])&&this['_traverseOverItem'](_0x38b1b2);}}['_handleUnchanged'](_0x28f2dc,_0x4412d1){for(let _0x4aa280=0x0;_0x4aa280<_0x28f2dc['length'];_0x4aa280++){const _0x5be756=_0x28f2dc[_0x4aa280];if('element'==_0x5be756['type']&&_0x5be756['isStart']){const _0x5a4f45=_0x4412d1[_0x4aa280];'block'==_0x5be756['category']&&this['_handleElementRename'](_0x5be756['element'],_0x5a4f45['element'],this['_path']),this['_handleElementAttributeChanges'](_0x5be756['element'],_0x5a4f45['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x5a4f45);}else{if('element'!=_0x5be756['type']||_0x5be756['isStart']){if('text'==_0x5be756['type']){const _0xa148b0=this['_path']['slice'](),_0x45fd39=[],_0x1dc789=[];for(;_0x28f2dc[_0x4aa280]&&'text'==_0x28f2dc[_0x4aa280]['type'];)_0x45fd39['push'](_0x28f2dc[_0x4aa280]),_0x1dc789['push'](_0x4412d1[_0x4aa280]),this['_path'][this['_path']['length']-0x1]+=_0x28f2dc[_0x4aa280]['data']['length'],_0x4aa280++;_0x4aa280--,this['_handleTextAttributeChanges'](_0x45fd39,_0x1dc789,_0xa148b0);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x523e06,_0x244751,_0x2f401b){const _0x44e40c=[],_0x397d6b=[],_0x7e85a9=_0x2f401b['slice']();for(let _0x5acfde=0x0;_0x5acfde<_0x523e06['length'];_0x5acfde++){const _0x3ffc6a=_0x523e06[_0x5acfde],_0x4aded2=_0x2f401b['slice']();if('element'!=_0x3ffc6a['type']||_0x3ffc6a['isStart'])'element'==_0x3ffc6a['type']&&_0x3ffc6a['isStart']?(_0x2f401b['push'](0x0),_0x244751||this['_parents']['push'](_0x3ffc6a),_0x397d6b['push']({'before':_0x4aded2,'after':_0x2f401b['slice'](),'index':_0x5acfde})):_0x2f401b[_0x2f401b['length']-0x1]+=_0x3ffc6a['data']['length'];else{let _0x5873be;_0x2f401b['pop'](),_0x2f401b[_0x2f401b['length']-0x1]++,_0x5873be=_0x244751?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x397d6b['length']?_0x397d6b['pop']():_0x44e40c['push']({'before':_0x4aded2,'after':_0x2f401b['slice'](),'index':_0x5acfde,'related':_0x5873be});}}if(_0x397d6b['length']!==_0x44e40c['length'])throw new _0x36d35e('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x523e06,'isRemove':_0x244751});const _0xcb38db=[{'after':_0x7e85a9['slice'](),'index':-0x1},..._0x44e40c,..._0x397d6b,{'before':_0x2f401b['slice'](),'index':_0x523e06['length']}];if(_0x244751){for(let _0x21ca2a=_0xcb38db['length']-0x1;_0x21ca2a>=0x1;_0x21ca2a--){const _0x17f543=_0xcb38db[_0x21ca2a-0x1]['after'],_0x35e2e9=_0xcb38db[_0x21ca2a]['before'],_0x55788d=_0x35e2e9[_0x35e2e9['length']-0x1]-_0x17f543[_0x17f543['length']-0x1];_0x55788d&&(this['_operationsData']['push']({'type':'remove','path':_0x17f543,'howMany':_0x55788d}),_0x35e2e9[_0x35e2e9['length']-0x1]-=_0x55788d);}for(const {before:_0x6b2c9f}of _0x44e40c)this['_operationsData']['push']({'type':'merge','path':_0x6b2c9f});}else for(let _0x5e07fa=0x0;_0x5e07fa<_0xcb38db['length']-0x1;_0x5e07fa++){const _0x38364d=_0xcb38db[_0x5e07fa]['after'],_0x1f9f9d=_0xcb38db[_0x5e07fa+0x1]['before'],_0x58d5fa=_0xcb38db[_0x5e07fa]['index']+0x1,_0x43f0d4=_0xcb38db[_0x5e07fa+0x1]['index'];if(_0x58d5fa!==_0x43f0d4&&this['_operationsData']['push']({'type':'insert','path':_0x38364d,'tokens':_0x523e06['slice'](_0x58d5fa,_0x43f0d4)}),_0x5e07fa<_0x44e40c['length']){this['_operationsData']['push']({'type':'split','path':_0x1f9f9d});const _0x54fe85=_0x523e06[_0x397d6b[_0x397d6b['length']-0x1-_0x5e07fa]['index']],_0x2e0389=_0x44e40c[_0x5e07fa]['after'],_0x53d04c=_0x44e40c[_0x5e07fa]['related']['element'];this['_handleElementRename'](_0x53d04c,_0x54fe85['element'],_0x2e0389),this['_handleElementAttributeChanges'](_0x53d04c,_0x54fe85['element'],_0x2e0389);}}}['_traverseOverItem'](_0x2b55a7){'element'==_0x2b55a7['type']&&_0x2b55a7['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x2b55a7)):'element'!=_0x2b55a7['type']||_0x2b55a7['isStart']?'text'==_0x2b55a7['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x2b55a7['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x73ce8d,_0x461ebc,_0x296855){_0x73ce8d['name']!=_0x461ebc['name']&&this['_operationsData']['push']({'type':'rename','path':_0x296855['slice'](),'oldName':_0x73ce8d['name'],'newName':_0x461ebc['name']});}['_handleElementAttributeChanges'](_0x28f191,_0x28b089,_0x3dbc81){const _0x17a7ec=this['_getAttributeChanges'](_0x28f191['getAttributes'](),_0x28b089['getAttributes']());for(const _0x43746f in _0x17a7ec){const {oldValue:_0x3cc1af,newValue:_0x391bb2}=_0x17a7ec[_0x43746f];this['_operationsData']['push']({'type':'attribute','path':_0x3dbc81['slice'](),'howMany':0x1,'key':_0x43746f,'oldValue':_0x3cc1af,'newValue':_0x391bb2});}}['_handleTextAttributeChanges'](_0x30c722,_0x284fc7,_0x390ab4){const _0x4d72d3=this['_operationsData'],_0x280715=_0x30c722[0x0]['parent'],_0x430af5=_0x30c722[0x0]['offset'],_0x39e194=_0x284fc7[0x0]['parent'],_0xa5a1b1=_0x284fc7[0x0]['offset'],_0xe69dcb=_0x30c722['reduce']((_0x42d808,_0x2b1d35)=>_0x42d808+_0x2b1d35['data']['length'],0x0),_0x1e9d62=this['_getAttrsForOffsets'](_0x280715,_0x430af5,_0xe69dcb),_0x237be7=this['_getAttrsForOffsets'](_0x39e194,_0xa5a1b1,_0xe69dcb),_0x400a60={};for(let _0x3011f6=0x0;_0x3011f6<_0xe69dcb;_0x3011f6++){const _0xaea733=_0x1e9d62[_0x430af5+_0x3011f6],_0x46c904=_0x237be7[_0xa5a1b1+_0x3011f6],_0x313a64=this['_getAttributeChanges'](_0xaea733,_0x46c904);for(const _0x2ca45d in _0x400a60)_0x313a64[_0x2ca45d]||_0x4893c3(_0x2ca45d);for(const _0x52f059 in _0x313a64){const {oldValue:_0x2ef8d9,newValue:_0x1dffb6}=_0x313a64[_0x52f059],_0xf3329d=_0x400a60[_0x52f059];_0xf3329d?_0xf3329d['oldValue']==_0x2ef8d9&&_0xf3329d['newValue']==_0x1dffb6?_0xf3329d['length']++:(_0x4893c3(_0x52f059),_0x400a60[_0x52f059]={'oldValue':_0x2ef8d9,'newValue':_0x1dffb6,'start':_0x3011f6,'length':0x1}):_0x400a60[_0x52f059]={'oldValue':_0x2ef8d9,'newValue':_0x1dffb6,'start':_0x3011f6,'length':0x1};}}for(const _0x22e856 in _0x400a60)_0x4893c3(_0x22e856);function _0x4893c3(_0x26c183){const _0x4e8a13=_0x400a60[_0x26c183],_0x462928=_0x390ab4['slice']();_0x462928[_0x462928['length']-0x1]+=_0x4e8a13['start'],_0x4d72d3['push']({'type':'attribute','path':_0x462928,'howMany':_0x4e8a13['length'],'key':_0x26c183,'oldValue':_0x4e8a13['oldValue'],'newValue':_0x4e8a13['newValue']}),delete _0x400a60[_0x26c183];}}['_getAttributeChanges'](_0x21399e,_0x808cf5){const _0x3e1656={};for(const [_0xb1c969,_0x54cb29]of _0x21399e)_0x3e1656[_0xb1c969]={'oldValue':JSON['stringify'](_0x54cb29),'newValue':'null'};for(const [_0x2b08c5,_0xef0ff0]of _0x808cf5){const _0x3d2156=JSON['stringify'](_0xef0ff0);_0x3e1656[_0x2b08c5]?_0x3e1656[_0x2b08c5]['oldValue']==_0x3d2156?delete _0x3e1656[_0x2b08c5]:_0x3e1656[_0x2b08c5]['newValue']=_0x3d2156:_0x3e1656[_0x2b08c5]={'oldValue':'null','newValue':_0x3d2156};}return delete _0x3e1656[St],_0x3e1656;}['_getAttrsForOffsets'](_0x3fb95f,_0x1576c8,_0x4eef33){const _0x2eed17=new Array(_0x1576c8+_0x4eef33);let _0x2f6ffc=_0x3fb95f['getChildAtOffset'](_0x1576c8),_0x3c28f6=_0x2f6ffc['startOffset'];for(;_0x2f6ffc&&_0x3c28f6<_0x1576c8+_0x4eef33;){const _0x57d988=Array['from'](_0x2f6ffc['getAttributes']());_0x2eed17['fill'](_0x57d988,_0x3c28f6,_0x3c28f6+_0x2f6ffc['offsetSize']),_0x3c28f6+=_0x2f6ffc['offsetSize'],_0x2f6ffc=_0x2f6ffc['nextSibling'];}return _0x2eed17;}['_getPositionFromAnchorAndPath'](_0x234f0f,_0x39d2a5){const _0x15a2fd=[..._0x234f0f['path']['slice'](0x0,-0x1),_0x234f0f['offset']+_0x39d2a5[0x0],..._0x39d2a5['slice'](0x1)];return new _0x26ff72(_0x234f0f['root'],_0x15a2fd);}['_makeModelFromTokens'](_0x1c3a30){const _0x59ef6a=[];let _0x1b679f=null;for(const _0x5494d8 of _0x1c3a30)if('element'!=_0x5494d8['type']||_0x5494d8['isStart']||_0x1b679f!=_0x5494d8['element']){if(!_0x1b679f){if('text'==_0x5494d8['type']){const _0x4d3784=_0x26ff72['_createAt'](_0x5494d8['parent'],_0x5494d8['offset']),_0x1d2996=_0x1abbd6['_createFromPositionAndShift'](_0x4d3784,_0x5494d8['data']['length']),_0x2a9c11=Array['from'](_0x1d2996['getItems']())['map'](_0x2f8e64=>new _0x53bdfc(_0x2f8e64['data'],_0x2f8e64['getAttributes']()));_0x59ef6a['push'](..._0x2a9c11);}else{_0x1b679f=_0x5494d8['element'];const _0x525f1b=_0x5494d8['element']['_clone'](!0x0);_0x525f1b['_removeAttribute'](St);for(const _0x4b0911 of this['_editor']['model']['createRangeIn'](_0x525f1b)['getItems']())_0x4b0911['is']('element')&&_0x4b0911['_removeAttribute'](St);_0x59ef6a['push'](_0x525f1b);}}}else _0x1b679f=null;return _0x59ef6a;}}function g(_0x5966fd,_0x3cfa39){return _0x5966fd['type']===_0x3cfa39['type']&&(_0x5966fd['limitId']===_0x3cfa39['limitId']&&('text'==_0x5966fd['type']?_0x5966fd['data']==_0x3cfa39['data']:function(_0x4635c1,_0x4d0a39){if(_0x4635c1['isStart']!=_0x4d0a39['isStart'])return!0x1;if(_0x4635c1['isStart']&&_0x4635c1['elementId']!=_0x4d0a39['elementId'])return!0x1;if(_0x4635c1['category']!=_0x4d0a39['category'])return!0x1;if('block'==_0x4635c1['category'])return!0x0;if('container'==_0x4635c1['category']&&_0x4635c1['elementId']!=_0x4d0a39['elementId'])return!0x1;return _0x4635c1['element']['name']==_0x4d0a39['element']['name'];}(_0x5966fd,_0x3cfa39)));}function _(_0x3f4cce){return k({'name':_0x3f4cce['name'],...Object['fromEntries'](_0x3f4cce['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,at 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}};
|