@ckeditor/ckeditor5-collaboration-core 48.2.0-alpha.1 → 48.2.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +12 -12
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0x2a85c9,Editor as _0x367b55,Plugin as _0x5081dc}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4d7225,Collection as _0x13b4a3,uid as _0x3dbf29,toArray as _0x381d18,first as _0x572b9d,FocusTracker as _0x735350,KeystrokeHandler as _0x3ca1e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x524bf9,IconView as _0x421ee5,ButtonView as _0x4ecfbd,DropdownButtonView as _0x5ba027,FocusCycler as _0x27b696,isViewWithFocusCycler as _0x2fd18a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x226bdd,IconCheck as _0x3dcac5,IconCancel as _0x2cb796}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as _0x299082,toWidget as _0x4e82cf}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as _0x524556}from'luxon';import{InsertOperation as _0x201ebc,MoveOperation as _0x41b155,ModelPosition as _0x54a02c,ModelRange as _0x403aae,MarkerOperation as _0xb7c079,MergeOperation as _0x9c6490,SplitOperation as _0x5d25c7,RenameOperation as _0x293034,AttributeOperation as _0x1ea353,ModelTreeWalker as _0x131c0b,ModelText as _0xab6ad1}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x287eb6}from'diff';class Permissions extends _0x2a85c9{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x25da87,_0x4cfdda){let _0x3abb4e;if(_0x4cfdda||(_0x4cfdda=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x4cfdda?_0x3abb4e=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x3abb4e=this['context']['editors']['find'](_0x33ea1f=>_0x33ea1f['config']['get']('collaboration.channelId')==_0x4cfdda)),!_0x3abb4e)throw new _0x4d7225('permissions-set-permissions-invalid-channel-id',null);const _0x4c1707=_0x3abb4e['plugins'],_0x616260=_0x4c1707['has']('CommentsRepository')?_0x4c1707['get']('CommentsRepository'):void 0x0,_0xd324a=_0x4c1707['has']('CommentsOnly')&&_0x4c1707['get']('CommentsOnly'),_0x2d5f37=_0x25da87['includes']('document:write'),_0x4a394e=_0x25da87['includes']('comment:modify_all'),_0x4d401d=_0x25da87['includes']('comment:admin'),_0x1864a9=_0x25da87['includes']('comment:write'),_0x587e4a=_0x1864a9||_0x4d401d,_0x4e236f=_0x587e4a||_0x4a394e,_0x19f1cc=_0x2d5f37||_0x587e4a;(_0xd324a&&(_0xd324a['isEnabled']=!_0x2d5f37&&_0x4e236f),_0x3abb4e instanceof _0x367b55)&&(!(_0x2d5f37||_0x4e236f&&_0x616260)?_0x3abb4e['enableReadOnlyMode']('no-permissions'):_0x3abb4e['disableReadOnlyMode']('no-permissions'));if(_0x616260){_0x616260['setPermissions']({'admin':_0x4d401d,'modifyAll':_0x4a394e,'write':_0x1864a9,'resolve':_0x19f1cc},_0x4cfdda);const _0x5c0d40=_0x3abb4e instanceof _0x367b55&&_0x3abb4e['commands']['get']('addCommentThread');_0x5c0d40&&(_0x587e4a?_0x5c0d40['clearForceDisabled']('noPermissions'):_0x5c0d40['forceDisabled']('noPermissions'));}}}function B(_0x1ace2e,_0xdcdabf){const t=_0x1ace2e['t'];switch(_0xdcdabf){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 Users extends _0x2a85c9{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Permissions];}constructor(_0x5a60cd){super(_0x5a60cd),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x13b4a3(),this['_locale']=_0x5a60cd['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:_0x3c1b0f,name:_0x58e1ec,..._0x422ca5}){if(!_0x3c1b0f||'string'!=typeof _0x3c1b0f)throw new _0x4d7225('users-add-invalid-id');if(this['users']['has'](_0x3c1b0f))throw new _0x4d7225('users-add-duplicated-id',null,{'id':_0x3c1b0f});const _0x291584=this['context']['config']['get']('users.getInitialsCallback'),_0x563fb2={..._0x422ca5,'id':_0x3c1b0f,'name':N(this['_locale'],_0x58e1ec),'color':this['_getNextColor']()};_0x563fb2['name']=N(this['_locale'],_0x563fb2['name']);const _0x2ffa2c=new User(_0x563fb2,_0x291584);return this['users']['add'](_0x2ffa2c),_0x2ffa2c;}['getUser'](_0x1da36e){return this['users']['get'](_0x1da36e);}['useAnonymousUser'](){const _0x379e04=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x379e04);}['defineMe'](_0x339034){if(this['_myId'])throw new _0x4d7225('users-me-already-defined',null);const _0x58ead5=this['getUser'](_0x339034);if(!_0x58ead5)throw new _0x4d7225('users-me-missing-user',null);this['_myId']=_0x339034,_0x58ead5['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x409edf=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x409edf&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x3c02d9=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x3c02d9,'name':B(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class User{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x415899,_0x35b911){this['id']=_0x415899['id'],this['color']=_0x415899['color'],this['name']=_0x415899['name'],this['initials']=_0x35b911?_0x35b911(this['name']):this['_computeInitials'](),this['avatar']=_0x415899['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0xcbd940=this['name']['split']('\x20')['filter'](_0x287034=>/^[\p{Letter}]/u['test'](_0x287034));return 0x1===_0xcbd940['length']?this['_getInitial'](_0xcbd940[0x0]):0x0===_0xcbd940['length']?this['_getInitial'](this['name']):this['_getInitial'](_0xcbd940[0x0])+this['_getInitial'](_0xcbd940[_0xcbd940['length']-0x1]);}['_getInitial'](_0x1a4106){return String['fromCodePoint'](_0x1a4106['codePointAt'](0x0))['toUpperCase']();}}function N(_0x2510c4,_0x548a03=''){return''==(_0x548a03=_0x548a03['trim']())?B(_0x2510c4,'Anonymous'):_0x548a03;}class CollaborationUserColor{['_id'];constructor(_0x40cef0){this['_id']=_0x40cef0;}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'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}}class UserView extends _0x524bf9{['name'];['notificationView'];constructor(_0x48508c,_0x23f303,_0x4f8f84){super(_0x48508c),this['name']=_0x23f303['name'],this['notificationView']=null;const _0x593aa0=['ck','ck-user'],_0x5dc3a9=['ck','ck-user__img'];if(_0x23f303['isAnonymous']&&_0x5dc3a9['push']('ck-user__anonymous'),!_0x23f303['isAnonymous']&&_0x23f303['isMe']&&_0x593aa0['push']('ck-user_me'),_0x23f303['avatar']&&_0x5dc3a9['push']('ck-user__avatar'),_0x4f8f84){const _0x29eedf=new _0x421ee5();_0x29eedf['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x29eedf['content']=_0x226bdd,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4f8f84},'children':[_0x29eedf]};}const _0x29cd24=[{'tag':'div','attributes':{'class':_0x5dc3a9,'style':{'background-image':_0x23f303['avatar']?'url(\x27'+_0x23f303['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x23f303['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x23f303['name']},'children':[{'text':_0x23f303['initials']}]}];this['notificationView']&&_0x29cd24['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x593aa0,'data-user-id':_0x23f303['id']},'children':_0x29cd24});}}class AriaDescriptionView extends _0x524bf9{['id'];constructor(_0x2a3972,_0x3e6326){super(_0x2a3972),this['id']='ck-aria-description-'+_0x3dbf29(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x3e6326}]});}}class LateFocusButtonView extends _0x4ecfbd{['render'](){super['render'](),H(this);}}class LateFocusDropdownButtonView extends _0x5ba027{['render'](){super['render'](),H(this);}}function H(_0x2c5bea){_0x2c5bea['listenTo'](_0x2c5bea['element'],'mousedown',(_0x1181dc,_0x380656)=>{_0x380656['stopPropagation'](),_0x380656['preventDefault']();}),_0x2c5bea['listenTo'](_0x2c5bea['element'],'mouseup',()=>{_0x2c5bea['element']['focus']();});}function O(_0x5be09c){const _0x55d79b=_0x5be09c['split'](':');return{'group':_0x55d79b[0x0],'type':_0x55d79b[0x1],'subType':_0x55d79b['length']>=0x5?_0x55d79b[0x2]:null,'id':_0x55d79b['length']<0x5?_0x55d79b[0x2]:_0x55d79b[0x3],'authorId':_0x55d79b['length']<0x5?_0x55d79b[0x3]:_0x55d79b[0x4],'markerCount':0x6==_0x55d79b['length']?_0x55d79b[0x5]:null};}function U(_0x7f2cd0,_0x5ca41e){const _0x1b5b7d=_0x7f2cd0['end']['nodeBefore'];if(_0x1b5b7d&&_0x1b5b7d['is']('element')&&_0x5ca41e['schema']['isBlock'](_0x1b5b7d)&&!_0x5ca41e['schema']['isObject'](_0x1b5b7d)){const _0x4f118b=_0x5ca41e['createPositionAt'](_0x1b5b7d,'end');return _0x5ca41e['createRange'](_0x7f2cd0['start'],_0x4f118b);}return _0x7f2cd0;}class SuggestionsConversionAlignment extends _0x5081dc{['afterInit'](){const _0x4c9d2d=this['editor'];if(!_0x4c9d2d['plugins']['has']('AlignmentEditing'))return;_0x4c9d2d['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const $=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x5081dc{['afterInit'](){const _0x252f99=this['editor'],_0x139a79=_0x252f99['plugins']['get']('SuggestionsConversion');for(const _0x15dd63 of $){if(!_0x252f99['plugins']['has'](_0x15dd63))continue;const _0x141abb=_0x15dd63['slice'](0x0,-0x7)['toLowerCase']();_0x139a79['registerInlineAttribute'](_0x141abb);}}}class SuggestionsConversionBookmark extends _0x5081dc{['afterInit'](){const _0x54f6d3=this['editor'],_0x49738c=_0x54f6d3['plugins']['get']('SuggestionsConversion');_0x54f6d3['plugins']['has']('BookmarkEditing')&&_0x49738c['registerBlockAttribute']('bookmarkId');}}const F=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x5081dc{['afterInit'](){const _0x267f29=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x587593,commandName:_0x32a7d4}of F)this['editor']['plugins']['has'](_0x587593)&&_0x267f29['registerInlineAttribute'](_0x32a7d4);}}class SuggestionsConversionFootnotes extends _0x5081dc{['afterInit'](){const {editor:_0x1e46d5}=this;if(!_0x1e46d5['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x1cb014=_0x1e46d5['plugins']['get']('SuggestionsConversion');_0x1cb014['registerBlockAttribute']('footnotesListStyle'),_0x1cb014['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionGeneralHtmlSupport extends _0x5081dc{['afterInit'](){const _0x4e0072=this['editor'];if(!_0x4e0072['plugins']['has']('GeneralHtmlSupport')||!_0x4e0072['plugins']['has']('DataSchema'))return;const _0x3c6c9f=_0x4e0072['plugins']['get']('SuggestionsConversion'),_0x382fc7=_0x4e0072['plugins']['get']('GeneralHtmlSupport'),_0x1452d2=_0x4e0072['plugins']['get']('DataSchema');for(const _0x1f077d of _0x1452d2['getDefinitionsForView'](/.*/,!0x1)){const _0x152155=_0x382fc7['getGhsAttributeNameForElement'](_0x1f077d['view']);_0x1f077d['isInline']&&!_0x1f077d['isObject']&&!('appliesToBlock'in _0x1f077d&&_0x1f077d['appliesToBlock'])?_0x3c6c9f['registerInlineAttribute'](_0x152155):_0x3c6c9f['registerBlockAttribute'](_0x152155);}}}class SuggestionsConversionHighlight extends _0x5081dc{['afterInit'](){const _0x27bba7=this['editor'];if(!_0x27bba7['plugins']['has']('HighlightEditing'))return;_0x27bba7['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x5081dc{['afterInit'](){const _0x1f5f0e=this['editor'];if(!_0x1f5f0e['plugins']['has']('HtmlEmbed'))return;_0x1f5f0e['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x5081dc{['afterInit'](){const _0x15fbbb=this['editor'];if(!_0x15fbbb['plugins']['has']('ImageEditing'))return;const _0x1167dc=_0x15fbbb['plugins']['get']('SuggestionsConversion');_0x1167dc['registerBlockAttribute']('src'),_0x15fbbb['plugins']['has']('ImageResize')&&_0x1167dc['registerBlockAttribute']('resizedWidth'),_0x15fbbb['plugins']['has']('ImageTextAlternativeEditing')&&_0x1167dc['registerBlockAttribute']('alt'),_0x15fbbb['plugins']['has']('PictureEditing')&&_0x1167dc['registerBlockAttribute']('sources'),_0x15fbbb['plugins']['has']('ImageSizeAttributes')&&(_0x1167dc['registerBlockAttribute']('width'),_0x1167dc['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x5081dc{['afterInit'](){const _0x31c888=this['editor'],_0x11686a=_0x31c888['plugins']['get']('SuggestionsConversion');_0x31c888['plugins']['has']('IndentBlock')&&(_0x11686a['registerBlockAttribute']('blockIndent'),_0x31c888['plugins']['has']('ListEditing')&&(_0x11686a['registerBlockAttribute']('blockIndentList'),_0x11686a['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x5081dc{['afterInit'](){const _0x431d1a=this['editor'];if(!_0x431d1a['plugins']['has']('LineHeight'))return;_0x431d1a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x5081dc{['afterInit'](){const _0x12f951=this['editor'];if(!_0x12f951['plugins']['has']('LinkEditing'))return;const _0x178f34=_0x12f951['plugins']['get']('SuggestionsConversion'),_0x11727b=_0x12f951['commands']['get']('link');_0x178f34['registerInlineAttribute']('linkHref');for(const _0x2086c3 of _0x11727b['manualDecorators'])_0x178f34['registerInlineAttribute'](_0x2086c3['id']);}}class SuggestionsConversionList extends _0x5081dc{['afterInit'](){const _0x2aee7c=this['editor'];if(!_0x2aee7c['plugins']['has']('ListEditing'))return;const _0x559e14=_0x2aee7c['plugins']['get']('SuggestionsConversion'),_0x554dd2=_0x2aee7c['plugins']['has']('TodoListEditing');_0x559e14['registerBlockAttribute']('listItemId'),_0x559e14['registerBlockAttribute']('listType'),_0x559e14['registerBlockAttribute']('listIndent'),_0x554dd2&&_0x559e14['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x5081dc{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x2a2be6=this['editor']['config']['get']('list.properties'),_0x83d45b=this['editor']['plugins']['get']('SuggestionsConversion');_0x2a2be6['styles']&&_0x83d45b['registerBlockAttribute']('listStyle'),_0x2a2be6['reversed']&&_0x83d45b['registerBlockAttribute']('listReversed'),_0x2a2be6['startIndex']&&_0x83d45b['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x5081dc{['afterInit'](){const _0x1a2234=this['editor'],_0x5c2a38=_0x1a2234['plugins']['get']('SuggestionsConversion');_0x1a2234['plugins']['has']('MultiLevelList')&&_0x5c2a38['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionTableHeadings extends _0x5081dc{['afterInit'](){const _0x117cc7=this['editor'];if(!_0x117cc7['plugins']['has']('TableEditing'))return;const _0x45b6f9=_0x117cc7['plugins']['get']('SuggestionsConversion');_0x45b6f9['registerBlockAttribute']('headingRows'),_0x45b6f9['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x5081dc{['afterInit'](){const {plugins:_0x5982db}=this['editor'];if(!_0x5982db['has']('TablePropertiesEditing'))return;const _0x1c6978=_0x5982db['get']('SuggestionsConversion'),_0x2e2870=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x127a52 of _0x2e2870)_0x1c6978['registerBlockAttribute'](_0x127a52);}}class SuggestionsConversionTableLayout extends _0x5081dc{['afterInit'](){const _0x153f5a=this['editor'],_0x12d8a2=_0x153f5a['plugins']['get']('SuggestionsConversion');_0x153f5a['plugins']['has']('TableLayout')&&_0x12d8a2['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x5081dc{['afterInit'](){const _0x4c34cf=this['editor'],_0xd95e4d=this['editor']['plugins']['get']('SuggestionsConversion');_0x4c34cf['plugins']['has']('Uploadcare')&&_0x4c34cf['plugins']['has']('UploadcareImageEdit')&&_0xd95e4d['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x5081dc{['afterInit'](){const _0xb5de73=this['editor'];if(!_0xb5de73['plugins']['has']('ShiftEnter'))return;const _0x383b3a=_0xb5de73['plugins']['get']('SuggestionsConversion'),_0x44aca2=(_0x4a93c0,_0x46afdf,_0x58fe5f,_0x1e8ff7)=>{if(_0x1e8ff7&&!_0x58fe5f['options']['showSuggestionHighlights'])return;if(!_0x58fe5f['consumable']['test'](_0x46afdf['markerRange'],_0x4a93c0['name']))return;const _0x3fc24d=_0xb5de73['model'];for(const _0x795f5b of _0x46afdf['markerRange']['getItems']()){if(!_0x795f5b['is']('element','softBreak'))continue;const _0x30571b='deletion'==_0x46afdf['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x35580c,authorId:_0x5f2853}=O(_0x46afdf['markerName']),_0x10f647=_0x58fe5f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x30571b,'data-suggestion':_0x35580c,'data-author-id':_0x5f2853}),_0x3ea1fb=_0x58fe5f['mapper']['toViewPosition'](_0x3fc24d['createPositionBefore'](_0x795f5b));!_0x1e8ff7&&_0x383b3a['_activeMarkers']['includes'](_0x46afdf['markerName'])&&_0x58fe5f['writer']['addClass']('ck-suggestion-marker--active',_0x10f647),_0x58fe5f['writer']['insert'](_0x3ea1fb,_0x10f647),_0x58fe5f['mapper']['bindElementToMarker'](_0x10f647,_0x46afdf['markerName']);}};_0xb5de73['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x41a484,_0x1c4cd5,_0x1e3369)=>{_0x44aca2(_0x41a484,_0x1c4cd5,_0x1e3369,!0x1);},{'priority':'high'}),_0xb5de73['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3600f3,_0x4eae45,_0x42a5ec)=>{_0x44aca2(_0x3600f3,_0x4eae45,_0x42a5ec,!0x1);},{'priority':'high'}),_0xb5de73['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3d6ef1,_0x212d53,_0x58275d)=>{_0x44aca2(_0x3d6ef1,_0x212d53,_0x58275d,!0x0);},{'priority':'high'}),_0xb5de73['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x574593,_0x4cf0ba,_0x4ebc2b)=>{_0x44aca2(_0x574593,_0x4cf0ba,_0x4ebc2b,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x5081dc{['afterInit'](){const _0x1136da=this['editor'];if(!_0x1136da['plugins']['has']('MediaEmbedEditing'))return;const _0x1370d3=_0x1136da['plugins']['get']('SuggestionsConversion');_0x1136da['plugins']['has']('MediaEmbedResizeEditing')&&_0x1370d3['registerBlockAttribute']('resizedWidth'),_0x1136da['plugins']['has']('MediaEmbedStyleEditing')&&_0x1370d3['registerBlockAttribute']('mediaStyle'),_0x1136da['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x558552,{writer:_0x500f15,options:_0x5df60e})=>{if(_0x5df60e['showSuggestionHighlights'])return _0x500f15['createEmptyElement']('div');},'converterPriority':'high'}),_0x1136da['data']['downcastDispatcher']['on']('attribute:url:media',(_0x2ecf8a,_0x2a8819,_0x50c7a1)=>{_0x50c7a1['options']['showSuggestionHighlights']&&_0x2ecf8a['stop']();},{'priority':'high'});}}class SuggestionsConversionTable extends _0x5081dc{['afterInit'](){const _0x5cd705=this['editor'];if(!_0x5cd705['plugins']['has']('Table'))return;_0x5cd705['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x32bfc6,_0x21d4c4,_0x230a21)=>{((_0x5f5654,_0x34f2d5,_0x2ed29b)=>{if(!_0x2ed29b['options']['showSuggestionHighlights'])return;const _0xeba5f4=_0x34f2d5['item'];if(!_0xeba5f4||!_0xeba5f4['is']('element','tableCell'))return;const _0x502fc7=_0x2ed29b['mapper']['toViewElement'](_0xeba5f4);if(_0x502fc7){const {id:_0x2b0c9c,authorId:_0x4aab99}=O(_0x34f2d5['markerName']);_0x299082(_0x502fc7,_0x2ed29b['writer'],(_0x3d106a,_0x52b6ea,_0xbdc227)=>{_0xbdc227['addClass'](_0x381d18(_0x52b6ea['classes']),_0x3d106a),_0xbdc227['setAttribute']('data-suggestion',_0x2b0c9c,_0x3d106a),_0xbdc227['setAttribute']('data-author-id',_0x4aab99,_0x3d106a);});}})(0x0,_0x21d4c4,_0x230a21);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x5081dc{['afterInit'](){const _0x2da416=this['editor'];_0x2da416['plugins']['has']('HorizontalLineEditing')&&_0x2da416['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x37b126,{writer:_0x56c60a,options:_0x1c2040})=>{if(!_0x1c2040['showSuggestionHighlights'])return null;const _0xb2d00a=_0x56c60a['createContainerElement']('div'),_0x17acbb=_0x56c60a['createEmptyElement']('hr');return _0x56c60a['addClass']('ck-horizontal-line',_0xb2d00a),_0x56c60a['insert'](_0x56c60a['createPositionAt'](_0xb2d00a,0x0),_0x17acbb),_0xb2d00a;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x5081dc{['afterInit'](){const {plugins:_0xe518a4,model:_0x365386}=this['editor'];if(!_0xe518a4['has']('TableCellPropertiesEditing'))return;const _0x552c7e=_0xe518a4['get']('SuggestionsConversion'),_0x12266e=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x1e6f06 of _0x12266e)_0x552c7e['registerBlockAttribute'](_0x1e6f06);_0x365386['schema']['checkAttribute']('tableCell','tableCellType')&&_0x552c7e['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends _0x5081dc{['afterInit'](){const _0x3f77a2=this['editor'];if(!_0x3f77a2['plugins']['has']('TableEditing')||!_0x3f77a2['config']['get']('table.enableFooters'))return;_0x3f77a2['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends _0x5081dc{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionGeneralHtmlSupport,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableFooters,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3ba7cd=this['editor'],_0x1607b5=(_0x2f2e20,_0x1ec90e,_0x35ee50)=>{const {id:_0x540153,authorId:_0x1ff74b,type:_0x2168e9,subType:_0x3e37db}=O(_0x2f2e20['markerName']),_0xb5db89=['ck-suggestion-marker',this['_getClassName'](_0x2168e9,_0x3e37db)];let _0x1483a6=0xbb8;return!_0x35ee50&&(this['_activeMarkers']['includes'](_0x2f2e20['markerName'])&&(_0xb5db89['push']('ck-suggestion-marker--active'),_0x1483a6=0xbc2)),('deletion'==_0x2168e9&&(_0x1483a6+=0x5),{'classes':_0xb5db89,'attributes':{'data-suggestion':_0x540153,'data-author-id':_0x1ff74b},'priority':_0x1483a6});};_0x3ba7cd['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x4b52b0,_0xc3ad48)=>_0x1607b5(_0x4b52b0,0x0,!0x1)}),_0x3ba7cd['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x26811a,_0x1f9139)=>_0x1607b5(_0x26811a,0x0,!0x0)}),_0x3ba7cd['conversion']['for']('dataDowncast')['add'](_0x2eb53c=>{_0x2eb53c['on']('addMarker:suggestion',(_0x562af7,_0x208f41,_0xe83203)=>{if(!_0xe83203['options']['showSuggestionHighlights'])return;const _0x55be15=_0x208f41['item'];if(!_0x55be15)return;const _0x13c71f=_0xe83203['mapper']['toViewElement'](_0x55be15);_0x3ba7cd['model']['schema']['isObject'](_0x55be15)&&_0x13c71f&&!_0x13c71f['getCustomProperty']('widget')&&_0x13c71f['is']('containerElement')&&_0x4e82cf(_0x13c71f,_0xe83203['writer']);},{'priority':'high'});});const _0x13bcd5=(_0x4f706f,_0x3137b4,_0x336a36,_0x2abe3b,_0x2bef54)=>{if(_0x2abe3b&&!_0x336a36['options']['showSuggestionHighlights'])return;if(!_0x3137b4['item'])return;const {id:_0x1e67e5,authorId:_0x3f839f,subType:_0x27d79e}=O(_0x3137b4['markerName']);if(_0x2bef54){const _0x38eb18=_0x27d79e['split']('|')[0x0];if(!this['isBlockAttribute'](_0x38eb18))return;}if(_0x3137b4['item']['is']('selection'))return void _0x336a36['consumable']['consume'](_0x3137b4['item'],_0x4f706f['name']);const _0x353c50=_0x336a36['mapper']['toViewElement'](_0x3137b4['item']);if(_0x3137b4['item']['is']('element')&&_0x3ba7cd['model']['schema']['isBlock'](_0x3137b4['item'])&&!_0x353c50['getCustomProperty']('addHighlight')){_0x336a36['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x353c50),_0x336a36['writer']['setAttribute']('data-suggestion',_0x1e67e5,_0x353c50),_0x336a36['writer']['setAttribute']('data-author-id',_0x3f839f,_0x353c50),_0x336a36['mapper']['bindElementToMarker'](_0x353c50,_0x3137b4['markerName']),_0x2abe3b||(this['_activeMarkers']['includes'](_0x3137b4['markerName'])?_0x336a36['writer']['addClass']('ck-suggestion-marker--active',_0x353c50):_0x336a36['writer']['removeClass']('ck-suggestion-marker--active',_0x353c50));for(const _0x3c0cd4 of _0x3ba7cd['model']['createRangeIn'](_0x3137b4['item'])['getItems']())_0x336a36['consumable']['consume'](_0x3c0cd4,_0x4f706f['name']);_0x336a36['consumable']['consume'](_0x3137b4['item'],_0x4f706f['name']);}},_0x25b690=(_0x138d61,_0x5b3b03,_0x3af4da,_0x3e4747)=>{const _0x5283f3=_0x3af4da['mapper']['markerNameToElements'](_0x5b3b03['markerName']);if(_0x5283f3){if(_0x3e4747){const {subType:_0x18d9d9}=O(_0x5b3b03['markerName']),_0x275dc5=_0x18d9d9['split']('|')[0x0];if(!this['isBlockAttribute'](_0x275dc5))return;}for(const _0x34e63d of _0x5283f3)_0x34e63d['getCustomProperty']('addHighlight')||(_0x3af4da['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x34e63d),_0x3af4da['writer']['removeAttribute']('data-suggestion',_0x34e63d),_0x3af4da['writer']['removeAttribute']('data-author-id',_0x34e63d),_0x3af4da['mapper']['unbindElementFromMarkerName'](_0x34e63d,_0x5b3b03['markerName']));}};_0x3ba7cd['conversion']['for']('editingDowncast')['add'](_0x15559b=>{_0x15559b['on']('addMarker:suggestion:formatBlock',(_0x4a2474,_0xf65c96,_0xd114a3)=>{_0x13bcd5(_0x4a2474,_0xf65c96,_0xd114a3,!0x1,!0x1);},{'priority':'high'});}),_0x3ba7cd['conversion']['for']('editingDowncast')['add'](_0x9e45a9=>{_0x9e45a9['on']('addMarker:suggestion:attribute',(_0x18ac83,_0x11fcd5,_0x3312a5)=>{_0x13bcd5(_0x18ac83,_0x11fcd5,_0x3312a5,!0x1,!0x0);},{'priority':'high'});}),_0x3ba7cd['conversion']['for']('editingDowncast')['add'](_0x1b9ddb=>{_0x1b9ddb['on']('removeMarker:suggestion:formatBlock',(_0x4843bf,_0x3014ed,_0x56ab88)=>{_0x25b690(0x0,_0x3014ed,_0x56ab88,!0x1);},{'priority':'high'});}),_0x3ba7cd['conversion']['for']('editingDowncast')['add'](_0x9e5194=>{_0x9e5194['on']('removeMarker:suggestion:attribute',(_0x11ea4d,_0x4fad10,_0x49ec4b)=>{_0x25b690(0x0,_0x4fad10,_0x49ec4b,!0x0);},{'priority':'high'});}),_0x3ba7cd['conversion']['for']('dataDowncast')['add'](_0x588a4a=>{_0x588a4a['on']('addMarker:suggestion:formatBlock',(_0x196e03,_0x159b5f,_0x3cca23)=>{_0x13bcd5(_0x196e03,_0x159b5f,_0x3cca23,!0x0,!0x1);},{'priority':'highest'});}),_0x3ba7cd['conversion']['for']('dataDowncast')['add'](_0x864c4f=>{_0x864c4f['on']('addMarker:suggestion:attribute',(_0x1a27f6,_0x3b1488,_0x12eaf4)=>{_0x13bcd5(_0x1a27f6,_0x3b1488,_0x12eaf4,!0x0,!0x0);},{'priority':'highest'});}),_0x3ba7cd['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x2e06f2,_0x2a5bbd)=>_0x2a5bbd['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x2e06f2['substr'](0xb)}});const _0xad83e0=(_0x4f8b03,_0x491940,_0x1e788b,_0x34bcb9,_0x415645)=>{if(_0x34bcb9&&!_0x1e788b['options']['showSuggestionHighlights'])return;if(!_0x1e788b['consumable']['test'](_0x491940['markerRange'],_0x4f8b03['name']))return;const _0x10190c=this['_activeMarkers'],_0x5026f6=_0x491940['markerRange']['getWalker'](),_0x4cac3a=_0x491940['markerRange']['start'],_0x218c0f=_0x3ba7cd['model']['schema'];let _0x140711=null,_0x5db4f8=null,_0x4fc5c2=!0x1,_0x1b5779=!0x1;for(const _0x53cc97 of _0x5026f6){const _0x236291=_0x53cc97['item'];_0x4fc5c2=_0x4fc5c2||_0x218c0f['isContent'](_0x236291);const _0x5da91f=_0x1e788b['mapper']['toViewElement'](_0x236291);if(_0x5da91f&&_0x5da91f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x53cc97['type']&&(_0x218c0f['isBlock'](_0x236291)&&!_0x218c0f['isLimit'](_0x236291)&&(_0x236291['nextSibling']||_0x4cac3a['isAtEnd']?_0x140711&&_0x140711['parent']==_0x236291||(_0x140711=_0x236291,_0x5dc865(_0x53cc97['previousPosition']),_0x1b5779=!0x0):_0x5db4f8=_0x5db4f8||_0x53cc97['previousPosition']));}function _0x5dc865(_0x5147a0){const {id:_0x41b470,authorId:_0x1c854f}=O(_0x491940['markerName']),_0x1bda9f=_0x1e788b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x415645,'data-suggestion':_0x41b470,'data-author-id':_0x1c854f}),_0x5cbe4c=_0x1e788b['mapper']['toViewPosition'](_0x5147a0);!_0x34bcb9&&_0x10190c['includes'](_0x491940['markerName'])&&_0x1e788b['writer']['addClass']('ck-suggestion-marker--active',_0x1bda9f),_0x1e788b['writer']['insert'](_0x5cbe4c,_0x1bda9f),_0x1e788b['mapper']['bindElementToMarker'](_0x1bda9f,_0x491940['markerName']);}_0x4fc5c2||_0x1b5779||!_0x5db4f8||_0x5dc865(_0x5db4f8);};_0x3ba7cd['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x16160c,_0x266605,_0x122dbe)=>{_0xad83e0(_0x16160c,_0x266605,_0x122dbe,!0x1,'merge');},{'priority':'high'}),_0x3ba7cd['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x5ec1e0,_0x33f0b9,_0x43f404)=>{_0xad83e0(_0x5ec1e0,_0x33f0b9,_0x43f404,!0x0,'merge');},{'priority':'high'}),_0x3ba7cd['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x38a744,_0x496c1a,_0x5a90f5)=>{_0xad83e0(_0x38a744,_0x496c1a,_0x5a90f5,!0x1,'split');},{'priority':'high'}),_0x3ba7cd['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x45b5a4,_0x31b9e4,_0x4e968b)=>{_0xad83e0(_0x45b5a4,_0x31b9e4,_0x4e968b,!0x0,'split');},{'priority':'high'}),_0x3ba7cd['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x5d67cb,_0x456c49,_0x5b256e)=>{((_0x423471,_0x375cec,_0x3d837e)=>{const _0x301f82=_0x3d837e['mapper']['markerNameToElements'](_0x375cec['markerName']);if(_0x301f82){for(const _0x4a9330 of _0x301f82)(_0x4a9330['hasClass']('ck-suggestion-marker-split')||_0x4a9330['hasClass']('ck-suggestion-marker-merge'))&&(_0x3d837e['mapper']['unbindElementFromMarkerName'](_0x4a9330,_0x375cec['markerName']),_0x3d837e['writer']['remove'](_0x4a9330));}})(0x0,_0x456c49,_0x5b256e);},{'priority':'high'});const _0x4f34a5=(_0x44a5c0,_0x33e79d,_0x532f34,_0x316a48)=>{if(_0x316a48&&!_0x532f34['options']['showSuggestionHighlights'])return;const _0x5c67c6=_0x33e79d['markerRange']['start'],_0x1ac53b=_0x33e79d['markerRange']['end'],_0x242455=_0x3ba7cd['model']['schema'];if(!_0x5c67c6['isTouching'](_0x1ac53b)||!_0x5c67c6['nodeAfter'])return;const _0x4ff7be=_0x5c67c6['nodeAfter'];if(_0x242455['isBlock'](_0x4ff7be)&&!_0x242455['isLimit'](_0x4ff7be)&&_0x242455['checkChild'](_0x4ff7be,'$text')){if(!_0x532f34['consumable']['consume'](_0x33e79d['markerRange'],_0x44a5c0['name']))return;const {id:_0x2bff8f,authorId:_0x2a3dd1}=O(_0x33e79d['markerName']),_0xb06285=_0x532f34['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x2bff8f,'data-author-id':_0x2a3dd1}),_0x3f2933=_0x532f34['mapper']['toViewPosition'](_0x1ac53b);!_0x316a48&&this['_activeMarkers']['includes'](_0x33e79d['markerName'])&&_0x532f34['writer']['addClass']('ck-suggestion-marker--active',_0xb06285),_0x532f34['writer']['insert'](_0x3f2933,_0xb06285),_0x532f34['mapper']['bindElementToMarker'](_0xb06285,_0x33e79d['markerName']);}};_0x3ba7cd['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x439cb1,_0x596dae,_0x5ea2ca)=>{_0x4f34a5(_0x439cb1,_0x596dae,_0x5ea2ca,!0x1);},{'priority':'high'}),_0x3ba7cd['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x413f3f,_0x20259b,_0x44b512)=>{_0x4f34a5(_0x413f3f,_0x20259b,_0x44b512,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x3f8565,_0x4bf8db,_0x1bf660)=>{this['_activeMarkers']=_0x1bf660['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x13cc55){this['_blockAttributeKeys']['add'](_0x13cc55);}['registerInlineAttribute'](_0x529bb4){this['_inlineAttributeKeys']['add'](_0x529bb4);}['isBlockAttribute'](_0x5df4ae){return this['_blockAttributeKeys']['has'](_0x5df4ae);}['isInlineAttribute'](_0x253cb9){return this['_inlineAttributeKeys']['has'](_0x253cb9);}['isRegisteredAttribute'](_0x1a98b6){return this['isInlineAttribute'](_0x1a98b6)||this['isBlockAttribute'](_0x1a98b6);}['_getClassName'](_0x2a0f3a,_0x57aaeb){if('attribute'!=_0x2a0f3a)return'ck-suggestion-marker-'+_0x2a0f3a;const _0x3a6c20=_0x57aaeb['split']('|')[0x0];return this['isBlockAttribute'](_0x3a6c20)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function z(_0x182725={},_0x10b2d8){if(void 0x0!==_0x182725['dateTimeFormat']&&'function'!=typeof _0x182725['dateTimeFormat'])throw new _0x4d7225('invalid-date-time-format');return _0x815dd1=>{const _0x534aae='string'==typeof _0x815dd1?_0x524556['fromISO'](_0x815dd1):_0x524556['fromJSDate'](_0x815dd1),_0x305136=_0x524556['now'](),_0x8f130a=Math['floor'](_0x305136['diff'](_0x534aae,'days')['days']);return _0x182725['dateTimeFormat']?_0x182725['dateTimeFormat'](_0x534aae['toJSDate'](),_0x10b2d8&&_0x10b2d8['t']?_0x10b2d8['t']:void 0x0):0x0===_0x8f130a?_0x10b2d8?B(_0x10b2d8,'Today')+'\x20'+_0x534aae['toFormat']('hh:mma'):_0x534aae['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x8f130a?_0x10b2d8?B(_0x10b2d8,'Yesterday')+'\x20'+_0x534aae['toFormat']('hh:mma'):_0x534aae['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x8f130a<0x7?_0x10b2d8?B(_0x10b2d8,'Last')+'\x20'+B(_0x10b2d8,_0x534aae['toFormat']('EEEE'))+'\x20'+_0x534aae['toFormat']('hh:mma'):_0x534aae['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x534aae['toFormat']('LL-dd-yyyy\x20hh:mma');};}function R(_0x16680c,_0x1dd4a1){const _0x4821c0=_0x16680c['mapper']['markerNameToElements'](_0x1dd4a1['name']);if(!_0x4821c0)return null;const _0x491ad0=_0x572b9d(_0x4821c0['values']());return _0x16680c['view']['domConverter']['mapViewToDom'](_0x491ad0)||null;}function W(_0x4147ac,_0x604847){if(0x0===_0x604847['length'])return null;const _0x1e2a44=[],_0x7688b8=_0x4147ac['view']['domConverter'];for(const _0x1b087a of _0x604847){const _0x47822b=_0x4147ac['mapper']['markerNameToElements'](_0x1b087a['name']);if(!_0x47822b)continue;const _0x20c7a6=Array['from'](_0x47822b)['map'](_0x1af73b=>_0x7688b8['mapViewToDom'](_0x1af73b))['filter'](_0x5b4fdf=>!!_0x5b4fdf);_0x1e2a44['push'](..._0x20c7a6);}if(0x0===_0x1e2a44['length'])return null;const _0x76666f=[];for(const _0x25ec58 of _0x1e2a44){const _0x384f64=_0x25ec58['getClientRects']()['item'](0x0);_0x384f64&&_0x76666f['push']({'x':_0x384f64['x'],'y':_0x384f64['y'],'domElement':_0x25ec58});}return 0x0===_0x76666f['length']?null:(_0x76666f['sort']((_0x1fa088,_0x15632b)=>_0x1fa088['y']-_0x15632b['y']||_0x1fa088['x']-_0x15632b['x']),_0x76666f['map'](_0x248ff6=>_0x248ff6['domElement']));}function j(_0x1d90f3,{limit:_0x2e0b6a,suffix:_0x30cb18='...'}){const _0x2b73ae=[];let _0x2d3049=0x0;const _0x16e244=_0x1d90f3['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x57aa22=0x0;_0x57aa22<_0x16e244['length'];_0x57aa22++){let _0x4ae21d=_0x16e244[_0x57aa22];const _0xb8b6e4=Y(_0x4ae21d);if(_0x4ae21d['startsWith']('<')){if(_0x2d3049>=_0x2e0b6a){const _0x199bd2=_0x4ae21d['match'](/[a-zA-Z]+/);if(!_0x199bd2){_0x16e244[_0x57aa22]='';continue;}const _0x1a5018=_0x199bd2[0x0];_0x4ae21d['startsWith']('</')?(_0x2b73ae['length']&&(_0x4ae21d=''),_0x2b73ae['pop']()):(_0x2b73ae['push'](_0x1a5018),_0x4ae21d='');}}else{if(_0x2d3049>=_0x2e0b6a)_0x4ae21d='';else{if(_0x2d3049+_0xb8b6e4['length']>=_0x2e0b6a){let _0x1c23ff=_0x2e0b6a-_0x2d3049;if('\x20'===_0xb8b6e4[_0x1c23ff-0x1])_0x1c23ff--;else{const _0x392b3b=_0xb8b6e4['slice'](_0x1c23ff)['indexOf']('\x20');-0x1!==_0x392b3b?_0x1c23ff+=_0x392b3b:_0x1c23ff=_0x4ae21d['length'];}_0x4ae21d=_0xb8b6e4['slice'](0x0,_0x1c23ff)['join']('')+_0x30cb18,_0x2d3049=_0x2e0b6a;}else _0x2d3049+=_0xb8b6e4['length'];}}_0x16e244[_0x57aa22]=_0x4ae21d;}return _0x16e244['join']('\x0a')['replace'](/\n/g,'');}function Y(_0x1ec0b9){const _0x5a7512=[];for(let _0x4f56c2=0x0;_0x4f56c2<_0x1ec0b9['length'];_0x4f56c2++){const _0x356dc7=_0x1ec0b9['substring'](_0x4f56c2)['match'](/^&[a-z0-9#]+;/);if(_0x356dc7){const _0x29ada8=_0x356dc7[0x0];_0x5a7512['push'](_0x29ada8),_0x4f56c2+=_0x29ada8['length']-0x1;}else _0x5a7512['push'](_0x1ec0b9[_0x4f56c2]);}return _0x5a7512;}class ConfirmView extends _0x524bf9{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0xbf2d24){super(_0xbf2d24);const _0x3bde23=this['bindTemplate'];this['set']('message',B(_0xbf2d24,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0xbf2d24,B(_0xbf2d24,'Yes'),_0x3dcac5,'submit'),this['cancelView']=this['_createButtonView'](_0xbf2d24,B(_0xbf2d24,'No'),_0x2cb796,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x735350(),this['keystrokes']=new _0x3ca1e(),this['focusCycler']=new _0x27b696({'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':_0x3bde23['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'](_0x23c9a7,_0x3c13bc,_0x5a4ca9,_0x575f37){const _0x4e6590=new _0x4ecfbd(_0x23c9a7);return _0x4e6590['label']=_0x3c13bc,_0x4e6590['icon']=_0x5a4ca9,_0x4e6590['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x575f37}}),_0x4e6590['on']('execute',()=>this['fire'](_0x575f37)),_0x4e6590;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x54f41c=>{this['keystrokes']['listenTo'](_0x54f41c['element']),this['focusTracker']['add'](_0x54f41c['element']);}),this['keystrokes']['set']('esc',(_0x5c1379,_0x2fc49f)=>{this['fire']('cancel'),_0x2fc49f();});}}function G(_0x29d42a){return class _0x405d2c extends _0x29d42a{['showConfirm'](_0x2492f1,_0xc03196){return this['confirmView']=new ConfirmView(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x2492f1,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0xc03196['appendChild'](this['confirmView']['element']),_0xc03196['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x2c4d41,_0x5e3161,_0x3a3c51)=>{_0x3a3c51||_0xc03196['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x1c87d7=>this['confirmView']['on']('submit',_0x1c87d7));}['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 J(_0x1b8bc5){let _0x7c6e6f=0x0,_0x1f5838=0x0;for(const _0xe98499 of q(_0x1b8bc5))_0x7c6e6f=(_0x7c6e6f<<0x5)-_0x7c6e6f+_0xe98499,_0x7c6e6f&=_0x7c6e6f,[_0x7c6e6f,_0x1f5838]=[_0x1f5838,_0x7c6e6f];return X(_0x7c6e6f)+X(_0x1f5838);}function*K(_0x20e551){null==_0x20e551||null==_0x20e551?yield 0x12b9b0a1:0x0===_0x20e551||!0x1===_0x20e551?yield 0x0:0x1===_0x20e551||0x1==_0x20e551?yield 0x1:Array['isArray'](_0x20e551)?yield*function*(_0xe234b6){for(const _0x38a426 of _0xe234b6)yield*K(_0x38a426);}(_0x20e551):'object'==typeof _0x20e551?yield*q(_0x20e551):'string'==typeof _0x20e551?yield*Z(_0x20e551):'number'==typeof _0x20e551&&(yield _0x20e551);}function*q(_0x1f00a2){if(yield Q('{'),_0x1f00a2){const _0x73d29a=Object['keys'](_0x1f00a2)['sort']();for(const _0x496ebf of _0x73d29a){yield*Z(_0x496ebf),yield Q(':');const _0x597270=_0x1f00a2[_0x496ebf];yield*K(_0x597270);}}yield Q('}');}function*Z(_0x173bb9){yield Q('\x22');for(const _0x54296b of _0x173bb9)yield Q(_0x54296b);yield Q('\x22');}function Q(_0x1beb95){return _0x1beb95['charCodeAt'](0x0);}function X(_0x3b96a2){return(_0x3b96a2*=Math['sign'](_0x3b96a2))['toString'](0x24);}const tt=['root','roots','initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function st(_0x4223ce,_0x2dcfcf,_0x59e495,_0x408afe=[]){const _0x258d89='string'==typeof _0x4223ce?_0x59e495['get'](_0x4223ce)['constructor']:_0x4223ce['prototype']['constructor'];if(_0x2dcfcf['has'](_0x258d89))return _0x2dcfcf['get'](_0x258d89);_0x2dcfcf['set'](_0x258d89,!0x0);const _0x4909cc=[...et,..._0x408afe]['map'](_0x5b2d0f=>{if(_0x59e495['has'](_0x5b2d0f))return _0x59e495['get'](_0x5b2d0f)['constructor'];})['filter'](_0x4454a7=>_0x4454a7);if(_0x258d89&&_0x4909cc['includes'](_0x258d89))return _0x2dcfcf['set'](_0x258d89,!0x1),!0x1;if(!_0x258d89['requires'])return _0x2dcfcf['set'](_0x258d89,!0x0),!0x0;const _0x3872df=_0x258d89['requires']['every'](_0x599870=>st(_0x599870,_0x2dcfcf,_0x59e495,_0x408afe));return _0x2dcfcf['set'](_0x258d89,_0x3872df),_0x3872df;}function it(_0x4c5126,_0x150384){const _0x430db5={};for(const _0x58417a of _0x4c5126['config']['names']())tt['includes'](_0x58417a)||(_0x430db5[_0x58417a]=_0x4c5126['config']['get'](_0x58417a));const _0x19a267=_0x430db5['plugins']||[],_0x52d332=_0x4c5126['constructor']['builtinPlugins']||[],_0x31c3a9=_0x19a267['length']?_0x19a267:_0x52d332,_0x4a185a=_0x430db5['extraPlugins']||[];delete _0x430db5['extraPlugins'];const _0x39e8f5=_0x430db5['removePlugins']||[];delete _0x430db5['removePlugins'];const _0x54d55c=_0x4c5126['_context']['config']['get']('plugins')||[],_0x338098=_0x31c3a9['concat'](_0x4a185a)['concat'](_0x54d55c)['map'](_0x2607ed=>'string'==typeof _0x2607ed?_0x52d332['find'](_0x4fd61d=>_0x4fd61d['pluginName']==_0x2607ed):_0x2607ed)['filter'](_0x499545=>!_0x39e8f5['includes'](_0x499545)&&!_0x39e8f5['includes'](_0x499545['pluginName'])),_0x2a3d36=Array['from'](new Set(_0x338098)),_0xae0a9d=new Map();return _0x430db5['plugins']=_0x2a3d36['filter'](_0x4bd6c6=>st(_0x4bd6c6,_0xae0a9d,_0x4c5126['plugins'],_0x150384)),_0x430db5;}function nt(_0x37ed99,_0x167ddb){const _0x1cfdf9=[];_0x37ed99['document']['selection']['on']('change:range',()=>{const _0xc3000c=function(_0x2b3de9,_0x57785c){const _0x238207=[];for(const _0xefb53d of _0x2b3de9['markers']){const _0x2cf3da=_0xefb53d['getRange']();(_0x2cf3da['containsPosition'](_0x57785c)||_0x2cf3da['start']['isEqual'](_0x57785c)||_0x2cf3da['end']['isEqual'](_0x57785c))&&_0x238207['push'](_0xefb53d);}return _0x238207;}(_0x37ed99,_0x37ed99['document']['selection']['focus']),_0x3437aa=[],_0x31ff03=[],_0xdfa529=[];for(const _0x9553ac of _0x1cfdf9)_0xc3000c['includes'](_0x9553ac)||_0x3437aa['push'](_0x9553ac);for(const _0x5902ef of _0xc3000c)_0x1cfdf9['includes'](_0x5902ef)||_0x31ff03['push'](_0x5902ef),_0xdfa529['push'](_0x5902ef);(_0x3437aa['length']||_0x31ff03['length'])&&_0x167ddb({'left':_0x3437aa,'entered':_0x31ff03}),_0x1cfdf9['length']=0x0,_0x1cfdf9['push'](..._0xdfa529);});}const ot='Ctrl+Shift+E';function rt(_0x535f1c,_0x5ef80c){const _0x5afa0e=_0x535f1c['element'];_0x535f1c['keystrokes']['listenTo'](_0x5afa0e);for(const _0x37f684 of _0x5ef80c)at(_0x535f1c,_0x37f684);_0x5ef80c['on']('change',(_0x48edfb,_0x32f755)=>{for(const _0x3702fd of _0x32f755['removed'])ct(_0x535f1c,_0x3702fd);for(const _0x569354 of Array['from'](_0x32f755['added'])['reverse']())at(_0x535f1c,_0x569354);}),_0x535f1c['keystrokes']['set']('enter',(_0x9d4e42,_0x2506f6)=>{_0x5afa0e===_0x9d4e42['target']&&(_0x535f1c['focusCycler']['focusFirst'](),_0x2506f6());},{'filter':_0x3c6966=>_0x3c6966['target']===_0x5afa0e}),_0x535f1c['keystrokes']['set']('esc',(_0x2099e7,_0x2566f5)=>{_0x5afa0e!==_0x2099e7['target']?_0x535f1c['focus']():_0x535f1c['fire']('escape'),_0x2566f5();}),_0x535f1c['keystrokes']['set']('arrowdown',(_0x112fd3,_0x1a48a9)=>{_0x5afa0e===_0x112fd3['target']&&(_0x535f1c['fire']('arrowdown'),_0x1a48a9());}),_0x535f1c['keystrokes']['set']('arrowup',(_0x1eda89,_0x4ea744)=>{_0x5afa0e===_0x1eda89['target']&&(_0x535f1c['fire']('arrowup'),_0x4ea744());});}function at(_0x2f6588,_0x10239e){_0x10239e['isRendered']&&(_0x2f6588['focusTracker']['add'](_0x10239e['element']),_0x2f6588['keystrokes']['listenTo'](_0x10239e['element']),_0x2fd18a(_0x10239e)&&function(_0x455fc3,_0x2938a3){const _0x1b0528=_0x455fc3['actions'],_0x4ff6d3=_0x2938a3['actions'];for(const _0x5bb859 of Object['keys'](_0x1b0528))if(_0x5bb859 in _0x4ff6d3&&_0x1b0528[_0x5bb859]!==_0x4ff6d3[_0x5bb859])return!0x1;return!0x0;}(_0x2f6588['focusCycler'],_0x10239e['focusCycler'])&&_0x2f6588['focusCycler']['chain'](_0x10239e['focusCycler']));}function ct(_0x552b7a,_0x4967ca){_0x552b7a['focusTracker']['remove'](_0x4967ca['element']),_0x552b7a['keystrokes']['stopListening'](_0x4967ca['element']),_0x2fd18a(_0x4967ca)&&_0x552b7a['focusCycler']['unchain'](_0x4967ca['focusCycler']);}const lt='$elementId',ut='data-id';class DocumentCompare extends _0x2a85c9{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x367b55?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x631075,_0x19efad)=>{_0x19efad['on']('ready',()=>{this['_integrateEditor'](_0x19efad);});});}get['editor'](){if(this['context']instanceof _0x367b55)return this['context'];{const _0x7ad64f=this['context']['editors']['first'];if(!_0x7ad64f)throw new _0x4d7225('documentcompare-no-editor',this);return _0x7ad64f;}}['getDiff'](_0x4b5013,_0x3d7404,_0x258a6e={'anchor':'main','markDeletions':!0x1}){const _0x3d1975=_0x258a6e['targetEditor']||this['editor'];let _0x18cc81,_0x5f548f;if('string'==typeof _0x258a6e['anchor']){const _0x5084b7=_0x3d1975['model']['document']['getRoot'](_0x258a6e['anchor']);if(!_0x5084b7)throw new _0x4d7225('documentcompare-compare-no-root',this,{'anchor':_0x258a6e['anchor']});_0x18cc81=_0x5084b7,_0x5f548f=_0x3d1975['model']['createPositionAt'](_0x5084b7,0x0);}else _0x18cc81=_0x258a6e['anchor']['clone'](),_0x5f548f=_0x258a6e['anchor']['clone']();const _0x39ba03=_0x3d1975['data']['parse'](_0x4b5013,_0x18cc81),_0x2edf7b=_0x3d1975['data']['parse'](_0x3d7404,_0x18cc81);return new DocumentDiff({'editor':_0x3d1975,'before':_0x39ba03,'after':_0x2edf7b,'options':{'anchor':_0x5f548f,'markDeletions':_0x258a6e['markDeletions']}});}['isMarkedRemoveOperation'](_0x2f9c86){return'marker'==_0x2f9c86['type']&&_0x2f9c86['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x5a81d6){_0x5a81d6['conversion']['for']('upcast')['add'](_0x160079=>{_0x160079['on']('element',(_0xa04941,_0x35cf91,_0x23ec02)=>{if(_0x35cf91['modelRange']&&_0x23ec02['consumable']['consume'](_0x35cf91['viewItem'],{'attributes':'data-id'}))for(const _0x483cc9 of _0x35cf91['modelRange']['getItems']({'shallow':!0x0})){if(_0x483cc9['is']('$textProxy'))continue;const _0x363376=_0x35cf91['viewItem']['getAttribute'](ut);_0x363376&&_0x23ec02['writer']['setAttribute'](lt,_0x363376,_0x483cc9);}},{'priority':'low'});}),_0x5a81d6['model']['schema']['addAttributeCheck'](()=>!0x0,lt);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x5a0b1a,before:_0x1a1f1c,after:_0x5b47cf,options:_0x12cc1c}){this['_editor']=_0x5a0b1a,this['_markDeletions']=!!_0x12cc1c['markDeletions'],this['_anchor']=_0x12cc1c['anchor'];const _0x33dd39=this['_tokenizeModel'](_0x1a1f1c),_0x43e5bf=this['_tokenizeModel'](_0x5b47cf);this['_diffItems']=this['_diffModelTokens'](_0x33dd39,_0x43e5bf),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x1a1f1c['markers'],_0x5b47cf['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x559923=this['_editor']['model']['document'],_0x3fb728=[];let _0x981caa=_0x559923['version'];for(const _0x1ac028 of this['_operationsData'])switch(_0x1ac028['type']){case'attribute':{const _0x5e9edd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ac028['path']),_0x3ded0e=_0x5e9edd['getShiftedBy'](_0x1ac028['howMany']),_0xc3526=new _0x403aae(_0x5e9edd,_0x3ded0e),_0x322932=JSON['parse'](_0x1ac028['oldValue']),_0x10e166=JSON['parse'](_0x1ac028['newValue']);_0x3fb728['push'](new _0x1ea353(_0xc3526,_0x1ac028['key'],_0x322932,_0x10e166,_0x981caa++));break;}case'insert':{const _0x3f31b7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ac028['path']),_0x371174=this['_makeModelFromTokens'](_0x1ac028['tokens']);_0x3fb728['push'](new _0x201ebc(_0x3f31b7,_0x371174,_0x981caa++));break;}case'remove':{const _0x468fc8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ac028['path']),_0x29f91c=new _0x54a02c(_0x559923['graveyard'],[0x0]);_0x3fb728['push'](new _0x41b155(_0x468fc8,_0x1ac028['howMany'],_0x29f91c,_0x981caa++));break;}case'rename':{const _0x54c267=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ac028['path']);_0x3fb728['push'](new _0x293034(_0x54c267,_0x1ac028['oldName'],_0x1ac028['newName'],_0x981caa++));break;}case'split':{const _0x274671=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ac028['path']),_0x1acbde=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ac028['path']['slice'](0x0,-0x1));_0x1acbde['offset']++,_0x3fb728['push'](new _0x5d25c7(_0x274671,Number['NEGATIVE_INFINITY'],_0x1acbde,null,_0x981caa++));break;}case'merge':{const _0x2df5e3=_0x1ac028['path']['slice'](),_0x54eaf0=_0x2df5e3['slice'](0x0,-0x1);_0x54eaf0[_0x54eaf0['length']-0x1]++,_0x54eaf0['push'](0x0);const _0x31b935=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x54eaf0),_0x2b8f1c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2df5e3),_0x5adf56=new _0x54a02c(_0x559923['graveyard'],[0x0]);_0x3fb728['push'](new _0x9c6490(_0x31b935,Number['NEGATIVE_INFINITY'],_0x2b8f1c,_0x5adf56,_0x981caa++));break;}case'marker':case'markedRemove':{let _0x516092=null;if(_0x1ac028['range']){const _0x47023f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ac028['range']['start']),_0x40ce64=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ac028['range']['end']);_0x516092=new _0x403aae(_0x47023f,_0x40ce64);}const _0x50e714='marker'==_0x1ac028['type']?_0x1ac028['name']:'$markedRemove:'+_0x3dbf29();_0x3fb728['push'](new _0xb7c079(_0x50e714,null,_0x516092,_0x559923['model']['markers'],!0x0,_0x981caa++));break;}case'unwrap':{const _0x3f4b16=_0x1ac028['path']['slice']();_0x3f4b16['push'](0x0);const _0x508d4f=_0x1ac028['path']['slice'](),_0x2ed73a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3f4b16),_0x309e3c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x508d4f),_0x39b644=new _0x54a02c(_0x559923['graveyard'],[0x0]);_0x3fb728['push'](new _0x41b155(_0x2ed73a,_0x1ac028['howMany'],_0x309e3c,_0x981caa++)),_0x3fb728['push'](new _0x41b155(_0x309e3c['getShiftedBy'](_0x1ac028['howMany']),0x1,_0x39b644,_0x981caa++));break;}case'wrap':{const _0x5cb1bf=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ac028['range']['start']),_0x10d13f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ac028['range']['end']),_0x581f16=_0x1ac028['token']['element']['_clone'](!0x1);_0x581f16['_removeAttribute'](lt);const _0x53b96e=_0x1ac028['range']['end']['slice']();_0x53b96e['push'](0x0);const _0x559526=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x53b96e);_0x3fb728['push'](new _0x201ebc(_0x10d13f,_0x581f16,_0x981caa++)),_0x3fb728['push'](new _0x41b155(_0x5cb1bf,_0x10d13f['offset']-_0x5cb1bf['offset'],_0x559526,_0x981caa++));break;}}return _0x3fb728;}['_tokenizeModel'](_0x5d07f9){const _0x505f73=[],_0x38e1e7=_0x403aae['_createIn'](_0x5d07f9),_0x3d56f7=new _0x131c0b({'boundaries':_0x38e1e7});let _0x2b1d6b='',_0x3c0c95=null;const _0x3f043a=[''],_0x5dfcbb=new Map();for(const _0x5d70e5 of _0x3d56f7)if('elementStart'==_0x5d70e5['type']||'elementEnd'==_0x5d70e5['type']){let _0x3c920f=_0x3f043a[0x0];''!==_0x2b1d6b&&(_0x505f73['push'](...this['_makeTokensFromTextByWords'](_0x2b1d6b,_0x3c0c95,_0x3c920f)),_0x2b1d6b='');const _0x4b4052=_0x5d70e5['item'];let _0x435493;_0x4b4052['getAttribute'](lt)?_0x435493=_0x4b4052['getAttribute'](lt):'elementStart'==_0x5d70e5['type']?(_0x435493=dt(_0x4b4052),_0x5dfcbb['set'](_0x4b4052,_0x435493)):_0x435493=_0x5dfcbb['get'](_0x4b4052);const _0x53e503=this['_getElementCategory'](_0x4b4052);'solid'==_0x53e503&&('elementStart'==_0x5d70e5['type']?(_0x3c920f=_0x435493,_0x3f043a['unshift'](_0x3c920f)):_0x3f043a['shift']());const _0x13bef0={'type':'element','element':_0x4b4052,'elementId':_0x435493,'category':_0x53e503,'isStart':'elementStart'==_0x5d70e5['type'],'limitId':_0x3c920f};_0x505f73['push'](_0x13bef0);}else''==_0x2b1d6b&&(_0x3c0c95=_0x5d70e5['previousPosition']['clone']()),_0x2b1d6b+=_0x5d70e5['item']['data'];return''!==_0x2b1d6b&&_0x505f73['push'](...this['_makeTokensFromTextByWords'](_0x2b1d6b,_0x3c0c95,_0x3f043a[0x0])),_0x505f73;}['_makeTokensFromTextByWords'](_0x3bde81,_0x33fe00,_0x287d54){const _0x5bd0bc=_0x3bde81['matchAll'](/(\s)/g),_0x194d1f=Array['from'](_0x5bd0bc)['map'](_0x462f45=>_0x462f45['index']);_0x194d1f['push'](_0x3bde81['length']),0x0==_0x194d1f[0x0]&&_0x194d1f['shift']();const _0x1bd824=[],_0x5989ca=_0x33fe00['parent'];let _0x2fe881=0x0,_0x5ce27f=_0x33fe00['offset'];for(let _0xbce8d6=0x0;_0xbce8d6<_0x194d1f['length'];_0xbce8d6++)_0x1bd824['push']({'type':'text','data':_0x3bde81['slice'](_0x2fe881,_0x194d1f[_0xbce8d6]),'parent':_0x5989ca,'offset':_0x5ce27f,'limitId':_0x287d54}),_0x2fe881=_0x194d1f[_0xbce8d6],_0x5ce27f=_0x33fe00['offset']+_0x194d1f[_0xbce8d6];return _0x1bd824;}['_getElementCategory'](_0x7ab4fe){const _0x1618d0=this['_editor']['model']['schema'];return _0x1618d0['isLimit'](_0x7ab4fe)||_0x1618d0['isContent'](_0x7ab4fe)||_0x1618d0['isInline'](_0x7ab4fe)?'solid':_0x1618d0['isBlock'](_0x7ab4fe)?'block':function(_0x539254,_0x357057){const _0x2569c7=_0x539254['parent'];if(!_0x2569c7||_0x2569c7['is']('documentFragment'))return!0x1;if(_0x357057['checkChild'](_0x2569c7,'$text'))return!0x1;for(const _0x4284dc of _0x539254['getChildren']())if(_0x4284dc['is']('$text'))return!0x0;return!0x1;}(_0x7ab4fe,_0x1618d0)?'solid':'container';}['_diffModelTokens'](_0x4850de,_0x66ff01){const _0xc2aa9e=_0x287eb6(_0x4850de,_0x66ff01,{'comparator':ht});this['_handleUnclosedBlockOpeningTags'](_0xc2aa9e);const _0x144e08=_0xc2aa9e['flatMap'](_0x456546=>{const _0x354d37=_0x456546['added']?'added':_0x456546['removed']?'removed':'unchanged';return _0x456546['value']['map'](_0x5352ef=>({'token':_0x5352ef,'change':_0x354d37}));});let _0x373bc5=0x0;for(const _0x50bdc7 of _0x144e08)'added'!=_0x50bdc7['change']&&('unchanged'==_0x50bdc7['change']&&(_0x50bdc7['before']=_0x4850de[_0x373bc5]),_0x373bc5++);return _0x144e08;}['_handleUnclosedBlockOpeningTags'](_0x4f8c94){for(let _0x4500c3=0x0;_0x4500c3<_0x4f8c94['length']-0x1;_0x4500c3++)if(_0x4f8c94[_0x4500c3]['removed']&&_0x4f8c94[_0x4500c3+0x1]['added']){const _0x791fdf=this['_findUnclosedBlockOpeningToken'](_0x4f8c94[_0x4500c3]['value']);if(null!==_0x791fdf){const _0x3295d2=this['_findUnclosedBlockOpeningToken'](_0x4f8c94[_0x4500c3+0x1]['value']),_0x3bd3dc=_0x4f8c94[_0x4500c3]['value']['splice'](_0x791fdf),_0x31ac7e=_0x4f8c94[_0x4500c3+0x1]['value']['splice'](_0x3295d2),_0x26b6a3=[_0x31ac7e['shift']()];_0x3bd3dc['shift']();const _0x15930e={'value':_0x3bd3dc,'removed':!0x0},_0x34557b={'value':_0x31ac7e,'added':!0x0},_0x56d377={'value':_0x26b6a3};_0x4f8c94['splice'](_0x4500c3+0x2,0x0,_0x56d377,_0x15930e,_0x34557b);}}}['_findUnclosedBlockOpeningToken'](_0x20d560){let _0x4910d3=0x0,_0x1542e6=-0x1;for(let _0x52587d=0x0;_0x52587d<_0x20d560['length'];_0x52587d++){const _0x1a486d=_0x20d560[_0x52587d];'element'==_0x1a486d['type']&&'block'==_0x1a486d['category']&&(_0x4910d3+=_0x1a486d['isStart']?0x1:-0x1,_0x1a486d['isStart']&&(_0x1542e6=_0x52587d));}return 0x0===_0x4910d3?null:_0x1542e6;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x32321e=0x0;_0x32321e<this['_diffItems']['length'];_0x32321e++){const _0x25494d=this['_diffItems'][_0x32321e]['change'],_0x2f25ac=[];_0x2f25ac['push'](this['_diffItems'][_0x32321e]);let _0x4e7136=_0x32321e+0x1;for(;this['_diffItems'][_0x4e7136]&&this['_diffItems'][_0x4e7136]['change']==_0x25494d;)_0x2f25ac['push'](this['_diffItems'][_0x4e7136]),_0x4e7136++,_0x32321e++;const _0x2bd5d3=_0x2f25ac['map'](_0x164b36=>_0x164b36['token']);if('unchanged'==_0x25494d)_0x2f25ac['map'](_0x1496ea=>_0x1496ea['before'])['forEach'](_0x303083=>this['_traverseOverItem'](_0x303083));else{if('removed'==_0x25494d){if(this['_markDeletions']){const _0x51ab27=this['_path']['slice']();_0x2bd5d3['forEach'](_0x537398=>this['_traverseOverItem'](_0x537398));const _0x42a63c=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x51ab27,'end':_0x42a63c}});}else this['_handleChanged'](_0x2bd5d3,!0x0,this['_path']['slice']());}else{const _0x22e303=_0x2bd5d3['filter'](_0x1aa77a=>'element'!=_0x1aa77a['type']||'container'!=_0x1aa77a['category']);this['_handleChanged'](_0x22e303,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x5b3a01=0x0;_0x5b3a01<this['_diffItems']['length'];_0x5b3a01++){const _0xe2dd67=this['_diffItems'][_0x5b3a01]['change'],_0x37ef2b=[];_0x37ef2b['push'](this['_diffItems'][_0x5b3a01]);let _0x46856a=_0x5b3a01+0x1;for(;this['_diffItems'][_0x46856a]&&this['_diffItems'][_0x46856a]['change']==_0xe2dd67;)_0x37ef2b['push'](this['_diffItems'][_0x46856a]),_0x46856a++,_0x5b3a01++;const _0x297801=_0x37ef2b['map'](_0x59aa62=>_0x59aa62['token']);if('unchanged'==_0xe2dd67){const _0x5c4279=_0x37ef2b['map'](_0x265634=>_0x265634['before']);this['_handleUnchanged'](_0x5c4279,_0x297801);}else('added'==_0xe2dd67||this['_markDeletions'])&&_0x297801['forEach'](_0x566349=>{'element'==_0x566349['type']&&_0x566349['isStart']&&this['_splitPostponedData']['has'](_0x566349['element'])&&this['_handleSplitPostponedData'](_0x566349['element'],this['_path']),this['_traverseOverItem'](_0x566349);});}}['_handleSplitPostponedData'](_0x23c793,_0x5d416b){const _0x76efc6=this['_splitPostponedData']['get'](_0x23c793);for(const _0x2c2068 of _0x76efc6)'rename'==_0x2c2068['type']?this['_operationsData']['push']({'type':'rename','path':_0x5d416b['slice'](),'oldName':_0x2c2068['oldValue'],'newName':_0x23c793['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x5d416b['slice'](),'howMany':0x1,'key':_0x2c2068['key'],'oldValue':_0x2c2068['oldValue'],'newValue':JSON['stringify'](_0x23c793['getAttribute'](_0x2c2068['key'])??null)});}['_calculateMarkersOperationsData'](_0x404d49,_0x4768dc){const _0x150e18={};for(const [_0xee9ac6]of _0x404d49)_0x150e18[_0xee9ac6]=null;for(const [_0x5b891b,_0x2609b4]of _0x4768dc)_0x150e18[_0x5b891b]=_0x2609b4;const _0x19de62=Object['entries'](_0x150e18)['map'](([_0xfb8c04,_0x42057a])=>({'type':'marker','name':_0xfb8c04,'range':_0x42057a?{'start':_0x42057a['start']['path']['slice'](),'end':_0x42057a['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x19de62);}['_handleUnwraps'](){const _0x38e37f=new Map(),_0x34a03b=[],_0x44b4e4=[0x0];let _0x3ae067=this['_diffItems']['length']+0x1;for(let _0x364a38=this['_diffItems']['length']-0x1;_0x364a38>=0x0;_0x364a38--){const {token:_0x5627d5,before:_0x2b8171,change:_0x4bb73c}=this['_diffItems'][_0x364a38];if('removed'!=_0x4bb73c&&(_0x3ae067=_0x364a38),'element'!=_0x5627d5['type']||'container'!=_0x5627d5['category']||'added'==_0x4bb73c)continue;const _0x5be5a3=_0x2b8171?_0x2b8171['element']:_0x5627d5['element'];if(_0x5627d5['isStart']){const _0x29ce81=_0x38e37f['get'](_0x5be5a3),_0x3974f3=this['_diffItems'][_0x29ce81];('removed'==_0x4bb73c||'removed'==_0x3974f3['change'])&&_0x3ae067<_0x29ce81&&(this['_operationsData']['push']({'type':'unwrap','path':_0x5be5a3['getPath'](),'howMany':_0x5be5a3['maxOffset']+_0x44b4e4[0x0]}),_0x44b4e4['shift'](),_0x44b4e4[0x0]+=_0x5be5a3['maxOffset']-0x1,_0x34a03b['push'](_0x364a38),_0x34a03b['push'](_0x29ce81));}else _0x38e37f['set'](_0x5be5a3,_0x364a38),_0x44b4e4['unshift'](0x0);}_0x34a03b['sort']((_0x5555e3,_0x5329c6)=>_0x5329c6-_0x5555e3),_0x34a03b['forEach'](_0x39fa1e=>{const _0x1302cf=this['_diffItems'][_0x39fa1e];'removed'==_0x1302cf['change']?this['_diffItems']['splice'](_0x39fa1e,0x1):(_0x1302cf['change']='added',delete _0x1302cf['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x30ebb7=[];for(let _0x181ea4=0x0;_0x181ea4<this['_diffItems']['length'];_0x181ea4++){const {change:_0x4ba9f9,token:_0x70453d}=this['_diffItems'][_0x181ea4];if('added'==_0x4ba9f9&&'element'==_0x70453d['type']&&'container'==_0x70453d['category']){if(_0x70453d['isStart'])_0x30ebb7['push'](this['_path']['slice']());else{if(!_0x70453d['isStart']){const _0x5bb3f9=_0x30ebb7['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x5bb3f9,'end':this['_path']['slice']()},'token':_0x70453d}),this['_path'][this['_path']['length']-0x1]=_0x5bb3f9[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x4ba9f9||this['_markDeletions'])&&this['_traverseOverItem'](_0x70453d);}}['_handleUnchanged'](_0x553914,_0x81ab5a){for(let _0xd54eea=0x0;_0xd54eea<_0x553914['length'];_0xd54eea++){const _0x1fc903=_0x553914[_0xd54eea];if('element'==_0x1fc903['type']&&_0x1fc903['isStart']){const _0x363609=_0x81ab5a[_0xd54eea];'block'==_0x1fc903['category']&&this['_handleElementRename'](_0x1fc903['element'],_0x363609['element'],this['_path']),this['_handleElementAttributeChanges'](_0x1fc903['element'],_0x363609['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x363609);}else{if('element'!=_0x1fc903['type']||_0x1fc903['isStart']){if('text'==_0x1fc903['type']){const _0x2bf2c2=this['_path']['slice'](),_0x55c7c2=[],_0x5dd569=[];for(;_0x553914[_0xd54eea]&&'text'==_0x553914[_0xd54eea]['type'];)_0x55c7c2['push'](_0x553914[_0xd54eea]),_0x5dd569['push'](_0x81ab5a[_0xd54eea]),this['_path'][this['_path']['length']-0x1]+=_0x553914[_0xd54eea]['data']['length'],_0xd54eea++;_0xd54eea--,this['_handleTextAttributeChanges'](_0x55c7c2,_0x5dd569,_0x2bf2c2);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x4bd0d5,_0x169d20,_0x2b32b6){const _0x3f6e71=[],_0x16c148=[],_0x15315c=_0x2b32b6['slice']();let _0x14f545=this['_parents']['length']-0x1;for(let _0x47d55c=0x0;_0x47d55c<_0x4bd0d5['length'];_0x47d55c++){const _0x51afc9=_0x4bd0d5[_0x47d55c],_0xd4d373=_0x2b32b6['slice']();'element'!=_0x51afc9['type']||_0x51afc9['isStart']?'element'==_0x51afc9['type']&&_0x51afc9['isStart']?(_0x2b32b6['push'](0x0),_0x14f545++,_0x16c148['push']({'before':_0xd4d373,'after':_0x2b32b6['slice'](),'index':_0x47d55c})):_0x2b32b6[_0x2b32b6['length']-0x1]+=_0x51afc9['data']['length']:(_0x2b32b6['pop'](),_0x2b32b6[_0x2b32b6['length']-0x1]++,_0x14f545--,_0x16c148['length']?_0x16c148['pop']():_0x3f6e71['push']({'before':_0xd4d373,'after':_0x2b32b6['slice'](),'index':_0x47d55c}));}if(_0x16c148['length']!==_0x3f6e71['length'])throw new _0x4d7225('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x4bd0d5,'isRemove':_0x169d20});const _0x2ed467=[{'after':_0x15315c['slice'](),'index':-0x1},..._0x3f6e71,..._0x16c148,{'before':_0x2b32b6['slice'](),'index':_0x4bd0d5['length']}];if(_0x169d20){for(let _0x5a35bc=_0x2ed467['length']-0x1;_0x5a35bc>=0x1;_0x5a35bc--){const _0x33c985=_0x2ed467[_0x5a35bc-0x1]['after'],_0xc5d4ce=_0x2ed467[_0x5a35bc]['before'],_0x4045e8=_0xc5d4ce[_0xc5d4ce['length']-0x1]-_0x33c985[_0x33c985['length']-0x1];_0x4045e8&&(this['_operationsData']['push']({'type':'remove','path':_0x33c985,'howMany':_0x4045e8}),_0xc5d4ce[_0xc5d4ce['length']-0x1]-=_0x4045e8);}for(const {before:_0x159dc7}of _0x3f6e71)this['_operationsData']['push']({'type':'merge','path':_0x159dc7});}else for(let _0x3262c9=0x0;_0x3262c9<_0x2ed467['length']-0x1;_0x3262c9++){const _0xbaecd5=_0x2ed467[_0x3262c9]['after'],_0x229a6d=_0x2ed467[_0x3262c9+0x1]['before'],_0xca1fa9=_0x2ed467[_0x3262c9]['index']+0x1,_0x54c53a=_0x2ed467[_0x3262c9+0x1]['index'];if(_0xca1fa9!==_0x54c53a&&this['_operationsData']['push']({'type':'insert','path':_0xbaecd5,'tokens':_0x4bd0d5['slice'](_0xca1fa9,_0x54c53a)}),_0x3262c9<_0x3f6e71['length']){this['_operationsData']['push']({'type':'split','path':_0x229a6d});const _0x1cc916=_0x4bd0d5[_0x16c148[_0x16c148['length']-0x1-_0x3262c9]['index']],_0x19183e=this['_parents'][_0x14f545]['element'];_0x19183e['name']!=_0x1cc916['element']['name']&&this['_addSplitPostponedData'](_0x1cc916['element'],{'type':'rename','oldValue':_0x19183e['name']});const _0xc47b4f=this['_getAttributeChanges'](_0x19183e['getAttributes'](),_0x1cc916['element']['getAttributes']());for(const _0x19e100 in _0xc47b4f){const _0x6a5ea9=_0xc47b4f[_0x19e100]['oldValue'];this['_addSplitPostponedData'](_0x1cc916['element'],{'type':'attribute','key':_0x19e100,'oldValue':_0x6a5ea9});}}}}['_addSplitPostponedData'](_0x23ede3,_0x545903){const _0x4e59b2=this['_splitPostponedData']['get'](_0x23ede3)||[];_0x4e59b2['push'](_0x545903),this['_splitPostponedData']['set'](_0x23ede3,_0x4e59b2);}['_traverseOverItem'](_0x1d222a){'element'==_0x1d222a['type']&&_0x1d222a['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x1d222a)):'element'!=_0x1d222a['type']||_0x1d222a['isStart']?'text'==_0x1d222a['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x1d222a['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x4e9328,_0x599754,_0x46bd82){_0x4e9328['name']!=_0x599754['name']&&this['_operationsData']['push']({'type':'rename','path':_0x46bd82['slice'](),'oldName':_0x4e9328['name'],'newName':_0x599754['name']});}['_handleElementAttributeChanges'](_0x23d5c3,_0x4a4e47,_0x223508){const _0x439d3a=this['_getAttributeChanges'](_0x23d5c3['getAttributes'](),_0x4a4e47['getAttributes']());for(const _0x5bb6cc in _0x439d3a){const {oldValue:_0x24220b,newValue:_0xd0f5f}=_0x439d3a[_0x5bb6cc];this['_operationsData']['push']({'type':'attribute','path':_0x223508['slice'](),'howMany':0x1,'key':_0x5bb6cc,'oldValue':_0x24220b,'newValue':_0xd0f5f});}}['_handleTextAttributeChanges'](_0x33412b,_0x3c258f,_0x1b96e8){const _0x3e948f=this['_operationsData'],_0x93eed=_0x33412b[0x0]['parent'],_0x1b682d=_0x33412b[0x0]['offset'],_0x14ff9e=_0x3c258f[0x0]['parent'],_0x4ed17b=_0x3c258f[0x0]['offset'],_0x4eb138=_0x33412b['reduce']((_0x4148ac,_0x26175a)=>_0x4148ac+_0x26175a['data']['length'],0x0),_0x5702b8=this['_getAttrsForOffsets'](_0x93eed,_0x1b682d,_0x4eb138),_0x1ee935=this['_getAttrsForOffsets'](_0x14ff9e,_0x4ed17b,_0x4eb138),_0x1f130d={};for(let _0x36a514=0x0;_0x36a514<_0x4eb138;_0x36a514++){const _0x16fbb5=_0x5702b8[_0x1b682d+_0x36a514],_0x26337a=_0x1ee935[_0x4ed17b+_0x36a514],_0x3d85ea=this['_getAttributeChanges'](_0x16fbb5,_0x26337a);for(const _0x256567 in _0x1f130d)_0x3d85ea[_0x256567]||_0x2e4496(_0x256567);for(const _0x159626 in _0x3d85ea){const {oldValue:_0x416fc3,newValue:_0x1e5d6a}=_0x3d85ea[_0x159626],_0x4076be=_0x1f130d[_0x159626];_0x4076be?_0x4076be['oldValue']==_0x416fc3&&_0x4076be['newValue']==_0x1e5d6a?_0x4076be['length']++:(_0x2e4496(_0x159626),_0x1f130d[_0x159626]={'oldValue':_0x416fc3,'newValue':_0x1e5d6a,'start':_0x36a514,'length':0x1}):_0x1f130d[_0x159626]={'oldValue':_0x416fc3,'newValue':_0x1e5d6a,'start':_0x36a514,'length':0x1};}}for(const _0xd0b67e in _0x1f130d)_0x2e4496(_0xd0b67e);function _0x2e4496(_0x510294){const _0x45ff81=_0x1f130d[_0x510294],_0x4608b6=_0x1b96e8['slice']();_0x4608b6[_0x4608b6['length']-0x1]+=_0x45ff81['start'],_0x3e948f['push']({'type':'attribute','path':_0x4608b6,'howMany':_0x45ff81['length'],'key':_0x510294,'oldValue':_0x45ff81['oldValue'],'newValue':_0x45ff81['newValue']}),delete _0x1f130d[_0x510294];}}['_getAttributeChanges'](_0x53f6a6,_0x1dc14a){const _0x8c3b8d={};for(const [_0x57996a,_0x1ded8b]of _0x53f6a6)_0x8c3b8d[_0x57996a]={'oldValue':JSON['stringify'](_0x1ded8b),'newValue':'null'};for(const [_0x2cf7ac,_0x2b070a]of _0x1dc14a){const _0x2acb3f=JSON['stringify'](_0x2b070a);_0x8c3b8d[_0x2cf7ac]?_0x8c3b8d[_0x2cf7ac]['oldValue']==_0x2acb3f?delete _0x8c3b8d[_0x2cf7ac]:_0x8c3b8d[_0x2cf7ac]['newValue']=_0x2acb3f:_0x8c3b8d[_0x2cf7ac]={'oldValue':'null','newValue':_0x2acb3f};}return delete _0x8c3b8d[lt],_0x8c3b8d;}['_getAttrsForOffsets'](_0x46c6af,_0x305805,_0x4aa7f9){const _0x512f52=new Array(_0x305805+_0x4aa7f9);let _0x25c79a=_0x46c6af['getChildAtOffset'](_0x305805),_0x20b9fb=_0x25c79a['startOffset'];for(;_0x25c79a&&_0x20b9fb<_0x305805+_0x4aa7f9;){const _0x575077=Array['from'](_0x25c79a['getAttributes']());_0x512f52['fill'](_0x575077,_0x20b9fb,_0x20b9fb+_0x25c79a['offsetSize']),_0x20b9fb+=_0x25c79a['offsetSize'],_0x25c79a=_0x25c79a['nextSibling'];}return _0x512f52;}['_getPositionFromAnchorAndPath'](_0x18068d,_0x2ad380){const _0x28c2a1=[..._0x18068d['path']['slice'](0x0,-0x1),_0x18068d['offset']+_0x2ad380[0x0],..._0x2ad380['slice'](0x1)];return new _0x54a02c(_0x18068d['root'],_0x28c2a1);}['_makeModelFromTokens'](_0x5d8f27){const _0xd365fb=[];let _0x46a251=null;for(const _0x407c7d of _0x5d8f27)if('element'!=_0x407c7d['type']||_0x407c7d['isStart']||_0x46a251!=_0x407c7d['element']){if(!_0x46a251){if('text'==_0x407c7d['type']){const _0x5522e9=_0x54a02c['_createAt'](_0x407c7d['parent'],_0x407c7d['offset']),_0x4fdf8e=_0x403aae['_createFromPositionAndShift'](_0x5522e9,_0x407c7d['data']['length']),_0x410df9=Array['from'](_0x4fdf8e['getItems']())['map'](_0x2be637=>new _0xab6ad1(_0x2be637['data'],_0x2be637['getAttributes']()));_0xd365fb['push'](..._0x410df9);}else{_0x46a251=_0x407c7d['element'];const _0x288f95=_0x407c7d['element']['_clone'](!0x0);_0x288f95['_removeAttribute'](lt);for(const _0x4edecb of this['_editor']['model']['createRangeIn'](_0x288f95)['getItems']())_0x4edecb['is']('element')&&_0x4edecb['_removeAttribute'](lt);_0xd365fb['push'](_0x288f95);}}}else _0x46a251=null;return _0xd365fb;}}function ht(_0x166f8c,_0x564892){return _0x166f8c['type']===_0x564892['type']&&(_0x166f8c['limitId']===_0x564892['limitId']&&('text'==_0x166f8c['type']?_0x166f8c['data']==_0x564892['data']:function(_0x1fa0cd,_0x58d03b){if(_0x1fa0cd['isStart']!=_0x58d03b['isStart'])return!0x1;if(_0x1fa0cd['isStart']&&_0x1fa0cd['elementId']!=_0x58d03b['elementId'])return!0x1;if(_0x1fa0cd['category']!=_0x58d03b['category'])return!0x1;if('block'==_0x1fa0cd['category'])return!0x0;if('container'==_0x1fa0cd['category']&&_0x1fa0cd['elementId']!=_0x58d03b['elementId'])return!0x1;return _0x1fa0cd['element']['name']==_0x58d03b['element']['name'];}(_0x166f8c,_0x564892)));}function dt(_0x222871){return J({'name':_0x222871['name'],...Object['fromEntries'](_0x222871['getAttributes']())});}export{AriaDescriptionView,CollaborationUserColor,G as ConfirmMixin,lt as DATA_ID_MODEL_ATTRIBUTE,ut as DATA_ID_VIEW_ATTRIBUTE,DocumentCompare,DocumentDiff,ot as FOCUS_ANNOTATION_KEYSTROKE,LateFocusButtonView,LateFocusDropdownButtonView,Permissions,SuggestionsConversion,User,UserView,Users,U as fixElementSuggestionRange,W as getAllMarkersDomElementsSorted,z as getDateTimeFormatter,R as getMarkerDomElement,J as hashObject,it as sanitizeEditorConfig,rt as setupThreadKeyboardNavigation,O as splitSuggestionMarkerName,nt as surroundingMarkersDetector,j as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x5f4d50,Editor as _0x13ecb9,Plugin as _0x393882}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x567c0e,Collection as _0x128c5a,uid as _0x5a10eb,toArray as _0x220abb,first as _0x1d19c4,FocusTracker as _0x53a071,KeystrokeHandler as _0x2791dd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x45be95,IconView as _0x59ea30,ButtonView as _0x5d82e5,DropdownButtonView as _0xdd1e8d,FocusCycler as _0xd272a1,isViewWithFocusCycler as _0x7bf6d9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x11cb97,IconCheck as _0x181c6a,IconCancel as _0x104c29}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as _0x1ec96e,toWidget as _0x48cc44}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as _0x513239}from'luxon';import{InsertOperation as _0x8fd55f,MoveOperation as _0x705622,ModelPosition as _0x6b9db2,ModelRange as _0x326622,MarkerOperation as _0xeb30b8,MergeOperation as _0x188696,SplitOperation as _0x50165a,RenameOperation as _0x22d213,AttributeOperation as _0x2ca4e3,ModelTreeWalker as _0x2de74f,ModelText as _0x1f4480}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x14add3}from'diff';class Permissions extends _0x5f4d50{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x1f6514,_0x22cc74){let _0x30ac9c;if(_0x22cc74||(_0x22cc74=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x22cc74?_0x30ac9c=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x30ac9c=this['context']['editors']['find'](_0x1db488=>_0x1db488['config']['get']('collaboration.channelId')==_0x22cc74)),!_0x30ac9c)throw new _0x567c0e('permissions-set-permissions-invalid-channel-id',null);const _0xb730e=_0x30ac9c['plugins'],_0x3d45b1=_0xb730e['has']('CommentsRepository')?_0xb730e['get']('CommentsRepository'):void 0x0,_0x4a8c9a=_0xb730e['has']('CommentsOnly')&&_0xb730e['get']('CommentsOnly'),_0x580c85=_0x1f6514['includes']('document:write'),_0x3b0a36=_0x1f6514['includes']('comment:modify_all'),_0xe7cfed=_0x1f6514['includes']('comment:admin'),_0xed2252=_0x1f6514['includes']('comment:write'),_0x4b8142=_0xed2252||_0xe7cfed,_0x36a2e3=_0x4b8142||_0x3b0a36,_0x3de337=_0x580c85||_0x4b8142;(_0x4a8c9a&&(_0x4a8c9a['isEnabled']=!_0x580c85&&_0x36a2e3),_0x30ac9c instanceof _0x13ecb9)&&(!(_0x580c85||_0x36a2e3&&_0x3d45b1)?_0x30ac9c['enableReadOnlyMode']('no-permissions'):_0x30ac9c['disableReadOnlyMode']('no-permissions'));if(_0x3d45b1){_0x3d45b1['setPermissions']({'admin':_0xe7cfed,'modifyAll':_0x3b0a36,'write':_0xed2252,'resolve':_0x3de337},_0x22cc74);const _0x34e9ea=_0x30ac9c instanceof _0x13ecb9&&_0x30ac9c['commands']['get']('addCommentThread');_0x34e9ea&&(_0x4b8142?_0x34e9ea['clearForceDisabled']('noPermissions'):_0x34e9ea['forceDisabled']('noPermissions'));}}}function B(_0x243ed3,_0x38542c){const t=_0x243ed3['t'];switch(_0x38542c){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 Users extends _0x5f4d50{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Permissions];}constructor(_0x2d9ff8){super(_0x2d9ff8),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x128c5a(),this['_locale']=_0x2d9ff8['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:_0x2c7468,name:_0x2b1804,..._0xa7eea9}){if(!_0x2c7468||'string'!=typeof _0x2c7468)throw new _0x567c0e('users-add-invalid-id');if(this['users']['has'](_0x2c7468))throw new _0x567c0e('users-add-duplicated-id',null,{'id':_0x2c7468});const _0x4c6839=this['context']['config']['get']('users.getInitialsCallback'),_0x14979b={..._0xa7eea9,'id':_0x2c7468,'name':N(this['_locale'],_0x2b1804),'color':this['_getNextColor']()};_0x14979b['name']=N(this['_locale'],_0x14979b['name']);const _0x60072=new User(_0x14979b,_0x4c6839);return this['users']['add'](_0x60072),_0x60072;}['getUser'](_0x2e49d2){return this['users']['get'](_0x2e49d2);}['useAnonymousUser'](){const _0x41bb43=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x41bb43);}['defineMe'](_0x5a72b5){if(this['_myId'])throw new _0x567c0e('users-me-already-defined',null);const _0x2b494f=this['getUser'](_0x5a72b5);if(!_0x2b494f)throw new _0x567c0e('users-me-missing-user',null);this['_myId']=_0x5a72b5,_0x2b494f['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x3b0e70=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x3b0e70&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x5e46a5=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x5e46a5,'name':B(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class User{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x581fd9,_0x5637e5){this['id']=_0x581fd9['id'],this['color']=_0x581fd9['color'],this['name']=_0x581fd9['name'],this['initials']=_0x5637e5?_0x5637e5(this['name']):this['_computeInitials'](),this['avatar']=_0x581fd9['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x4b01a1=this['name']['split']('\x20')['filter'](_0x178004=>/^[\p{Letter}]/u['test'](_0x178004));return 0x1===_0x4b01a1['length']?this['_getInitial'](_0x4b01a1[0x0]):0x0===_0x4b01a1['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x4b01a1[0x0])+this['_getInitial'](_0x4b01a1[_0x4b01a1['length']-0x1]);}['_getInitial'](_0x59e248){return String['fromCodePoint'](_0x59e248['codePointAt'](0x0))['toUpperCase']();}}function N(_0x5d35f8,_0x22664d=''){return''==(_0x22664d=_0x22664d['trim']())?B(_0x5d35f8,'Anonymous'):_0x22664d;}class CollaborationUserColor{['_id'];constructor(_0x30b9f4){this['_id']=_0x30b9f4;}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'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}}class UserView extends _0x45be95{['name'];['notificationView'];constructor(_0x302006,_0x1b25c4,_0x4ec77e){super(_0x302006),this['name']=_0x1b25c4['name'],this['notificationView']=null;const _0xf51651=['ck','ck-user'],_0x5ebe8c=['ck','ck-user__img'];if(_0x1b25c4['isAnonymous']&&_0x5ebe8c['push']('ck-user__anonymous'),!_0x1b25c4['isAnonymous']&&_0x1b25c4['isMe']&&_0xf51651['push']('ck-user_me'),_0x1b25c4['avatar']&&_0x5ebe8c['push']('ck-user__avatar'),_0x4ec77e){const _0x472b1f=new _0x59ea30();_0x472b1f['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x472b1f['content']=_0x11cb97,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4ec77e},'children':[_0x472b1f]};}const _0x649f90=[{'tag':'div','attributes':{'class':_0x5ebe8c,'style':{'background-image':_0x1b25c4['avatar']?'url(\x27'+_0x1b25c4['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x1b25c4['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x1b25c4['name']},'children':[{'text':_0x1b25c4['initials']}]}];this['notificationView']&&_0x649f90['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0xf51651,'data-user-id':_0x1b25c4['id']},'children':_0x649f90});}}class AriaDescriptionView extends _0x45be95{['id'];constructor(_0x70e00,_0x194573){super(_0x70e00),this['id']='ck-aria-description-'+_0x5a10eb(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x194573}]});}}class LateFocusButtonView extends _0x5d82e5{['render'](){super['render'](),H(this);}}class LateFocusDropdownButtonView extends _0xdd1e8d{['render'](){super['render'](),H(this);}}function H(_0x2a9915){_0x2a9915['listenTo'](_0x2a9915['element'],'mousedown',(_0x101d47,_0x1da413)=>{_0x1da413['stopPropagation'](),_0x1da413['preventDefault']();}),_0x2a9915['listenTo'](_0x2a9915['element'],'mouseup',()=>{_0x2a9915['element']['focus']();});}function O(_0x2e5492){const _0x54a429=_0x2e5492['split'](':');return{'group':_0x54a429[0x0],'type':_0x54a429[0x1],'subType':_0x54a429['length']>=0x5?_0x54a429[0x2]:null,'id':_0x54a429['length']<0x5?_0x54a429[0x2]:_0x54a429[0x3],'authorId':_0x54a429['length']<0x5?_0x54a429[0x3]:_0x54a429[0x4],'markerCount':0x6==_0x54a429['length']?_0x54a429[0x5]:null};}function U(_0x27f883,_0x4e53a4){const _0x228278=_0x27f883['end']['nodeBefore'];if(_0x228278&&_0x228278['is']('element')&&_0x4e53a4['schema']['isBlock'](_0x228278)&&!_0x4e53a4['schema']['isObject'](_0x228278)){const _0x224fa1=_0x4e53a4['createPositionAt'](_0x228278,'end');return _0x4e53a4['createRange'](_0x27f883['start'],_0x224fa1);}return _0x27f883;}class SuggestionsConversionAlignment extends _0x393882{['afterInit'](){const _0x134c8d=this['editor'];if(!_0x134c8d['plugins']['has']('AlignmentEditing'))return;_0x134c8d['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const $=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x393882{['afterInit'](){const _0x1ee8a1=this['editor'],_0x4ce511=_0x1ee8a1['plugins']['get']('SuggestionsConversion');for(const _0x30f8ac of $){if(!_0x1ee8a1['plugins']['has'](_0x30f8ac))continue;const _0x4a25df=_0x30f8ac['slice'](0x0,-0x7)['toLowerCase']();_0x4ce511['registerInlineAttribute'](_0x4a25df);}}}class SuggestionsConversionBookmark extends _0x393882{['afterInit'](){const _0x185d83=this['editor'],_0x3c7188=_0x185d83['plugins']['get']('SuggestionsConversion');_0x185d83['plugins']['has']('BookmarkEditing')&&_0x3c7188['registerBlockAttribute']('bookmarkId');}}const F=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x393882{['afterInit'](){const _0x5c6df0=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x7194e3,commandName:_0x2f76eb}of F)this['editor']['plugins']['has'](_0x7194e3)&&_0x5c6df0['registerInlineAttribute'](_0x2f76eb);}}class SuggestionsConversionFootnotes extends _0x393882{['afterInit'](){const {editor:_0xcb3536}=this;if(!_0xcb3536['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x4919d9=_0xcb3536['plugins']['get']('SuggestionsConversion');_0x4919d9['registerBlockAttribute']('footnotesListStyle'),_0x4919d9['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionGeneralHtmlSupport extends _0x393882{['afterInit'](){const _0x9a4e9f=this['editor'];if(!_0x9a4e9f['plugins']['has']('GeneralHtmlSupport')||!_0x9a4e9f['plugins']['has']('DataSchema'))return;const _0x275c9e=_0x9a4e9f['plugins']['get']('SuggestionsConversion'),_0x34474d=_0x9a4e9f['plugins']['get']('GeneralHtmlSupport'),_0x2d5760=_0x9a4e9f['plugins']['get']('DataSchema');for(const _0x16a58b of _0x2d5760['getDefinitionsForView'](/.*/,!0x1)){const _0x2ecd8b=_0x34474d['getGhsAttributeNameForElement'](_0x16a58b['view']);_0x16a58b['isInline']&&!_0x16a58b['isObject']&&!('appliesToBlock'in _0x16a58b&&_0x16a58b['appliesToBlock'])?_0x275c9e['registerInlineAttribute'](_0x2ecd8b):_0x275c9e['registerBlockAttribute'](_0x2ecd8b);}}}class SuggestionsConversionHighlight extends _0x393882{['afterInit'](){const _0x34bf32=this['editor'];if(!_0x34bf32['plugins']['has']('HighlightEditing'))return;_0x34bf32['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x393882{['afterInit'](){const _0xc43a31=this['editor'];if(!_0xc43a31['plugins']['has']('HtmlEmbed'))return;_0xc43a31['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x393882{['afterInit'](){const _0x4e1215=this['editor'];if(!_0x4e1215['plugins']['has']('ImageEditing'))return;const _0x18a350=_0x4e1215['plugins']['get']('SuggestionsConversion');_0x18a350['registerBlockAttribute']('src'),_0x4e1215['plugins']['has']('ImageResize')&&_0x18a350['registerBlockAttribute']('resizedWidth'),_0x4e1215['plugins']['has']('ImageTextAlternativeEditing')&&_0x18a350['registerBlockAttribute']('alt'),_0x4e1215['plugins']['has']('PictureEditing')&&_0x18a350['registerBlockAttribute']('sources'),_0x4e1215['plugins']['has']('ImageSizeAttributes')&&(_0x18a350['registerBlockAttribute']('width'),_0x18a350['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x393882{['afterInit'](){const _0x287562=this['editor'],_0x4459d8=_0x287562['plugins']['get']('SuggestionsConversion');_0x287562['plugins']['has']('IndentBlock')&&(_0x4459d8['registerBlockAttribute']('blockIndent'),_0x287562['plugins']['has']('ListEditing')&&(_0x4459d8['registerBlockAttribute']('blockIndentList'),_0x4459d8['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x393882{['afterInit'](){const _0x298d0e=this['editor'];if(!_0x298d0e['plugins']['has']('LineHeight'))return;_0x298d0e['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x393882{['afterInit'](){const _0x255059=this['editor'];if(!_0x255059['plugins']['has']('LinkEditing'))return;const _0x84294e=_0x255059['plugins']['get']('SuggestionsConversion'),_0x215039=_0x255059['commands']['get']('link');_0x84294e['registerInlineAttribute']('linkHref');for(const _0x4d7c86 of _0x215039['manualDecorators'])_0x84294e['registerInlineAttribute'](_0x4d7c86['id']);}}class SuggestionsConversionList extends _0x393882{['afterInit'](){const _0x10a6f0=this['editor'];if(!_0x10a6f0['plugins']['has']('ListEditing'))return;const _0x2633a4=_0x10a6f0['plugins']['get']('SuggestionsConversion'),_0x19ce55=_0x10a6f0['plugins']['has']('TodoListEditing');_0x2633a4['registerBlockAttribute']('listItemId'),_0x2633a4['registerBlockAttribute']('listType'),_0x2633a4['registerBlockAttribute']('listIndent'),_0x19ce55&&_0x2633a4['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x393882{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x1e20a8=this['editor']['config']['get']('list.properties'),_0x345d64=this['editor']['plugins']['get']('SuggestionsConversion');_0x1e20a8['styles']&&_0x345d64['registerBlockAttribute']('listStyle'),_0x1e20a8['reversed']&&_0x345d64['registerBlockAttribute']('listReversed'),_0x1e20a8['startIndex']&&_0x345d64['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x393882{['afterInit'](){const _0x47d144=this['editor'],_0x4e4c87=_0x47d144['plugins']['get']('SuggestionsConversion');_0x47d144['plugins']['has']('MultiLevelList')&&_0x4e4c87['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionTableHeadings extends _0x393882{['afterInit'](){const _0x55f446=this['editor'];if(!_0x55f446['plugins']['has']('TableEditing'))return;const _0x5ae845=_0x55f446['plugins']['get']('SuggestionsConversion');_0x5ae845['registerBlockAttribute']('headingRows'),_0x5ae845['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x393882{['afterInit'](){const {plugins:_0x3cafd0}=this['editor'];if(!_0x3cafd0['has']('TablePropertiesEditing'))return;const _0x3f1c5b=_0x3cafd0['get']('SuggestionsConversion'),_0x185729=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x168a1e of _0x185729)_0x3f1c5b['registerBlockAttribute'](_0x168a1e);}}class SuggestionsConversionTableLayout extends _0x393882{['afterInit'](){const _0x56989c=this['editor'],_0x17bcac=_0x56989c['plugins']['get']('SuggestionsConversion');_0x56989c['plugins']['has']('TableLayout')&&_0x17bcac['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x393882{['afterInit'](){const _0x3f5dce=this['editor'],_0x1da80b=this['editor']['plugins']['get']('SuggestionsConversion');_0x3f5dce['plugins']['has']('Uploadcare')&&_0x3f5dce['plugins']['has']('UploadcareImageEdit')&&_0x1da80b['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x393882{['afterInit'](){const _0x25f82a=this['editor'];if(!_0x25f82a['plugins']['has']('ShiftEnter'))return;const _0x1a9e6d=_0x25f82a['plugins']['get']('SuggestionsConversion'),_0x24768d=(_0x3d97a6,_0x2a26b4,_0x1f2c47,_0x541ad4)=>{if(_0x541ad4&&!_0x1f2c47['options']['showSuggestionHighlights'])return;if(!_0x1f2c47['consumable']['test'](_0x2a26b4['markerRange'],_0x3d97a6['name']))return;const _0x1c4dc8=_0x25f82a['model'];for(const _0x54d9ad of _0x2a26b4['markerRange']['getItems']()){if(!_0x54d9ad['is']('element','softBreak'))continue;const _0x252b2d='deletion'==_0x2a26b4['markerName']['split'](':')[0x1]?'merge':'split',{id:_0xf905dd,authorId:_0xe768aa}=O(_0x2a26b4['markerName']),_0x2891e5=_0x1f2c47['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x252b2d,'data-suggestion':_0xf905dd,'data-author-id':_0xe768aa}),_0x135280=_0x1f2c47['mapper']['toViewPosition'](_0x1c4dc8['createPositionBefore'](_0x54d9ad));!_0x541ad4&&_0x1a9e6d['_activeMarkers']['includes'](_0x2a26b4['markerName'])&&_0x1f2c47['writer']['addClass']('ck-suggestion-marker--active',_0x2891e5),_0x1f2c47['writer']['insert'](_0x135280,_0x2891e5),_0x1f2c47['mapper']['bindElementToMarker'](_0x2891e5,_0x2a26b4['markerName']);}};_0x25f82a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x44592e,_0xde0265,_0x8a79f2)=>{_0x24768d(_0x44592e,_0xde0265,_0x8a79f2,!0x1);},{'priority':'high'}),_0x25f82a['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2ccd25,_0x59080e,_0x5ea3a2)=>{_0x24768d(_0x2ccd25,_0x59080e,_0x5ea3a2,!0x1);},{'priority':'high'}),_0x25f82a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4887e1,_0x47b8ea,_0x4308a6)=>{_0x24768d(_0x4887e1,_0x47b8ea,_0x4308a6,!0x0);},{'priority':'high'}),_0x25f82a['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x55e533,_0x44b6fe,_0x537165)=>{_0x24768d(_0x55e533,_0x44b6fe,_0x537165,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x393882{['afterInit'](){const _0xc725fd=this['editor'];if(!_0xc725fd['plugins']['has']('MediaEmbedEditing'))return;const _0x44da02=_0xc725fd['plugins']['get']('SuggestionsConversion');_0xc725fd['plugins']['has']('MediaEmbedResizeEditing')&&_0x44da02['registerBlockAttribute']('resizedWidth'),_0xc725fd['plugins']['has']('MediaEmbedStyleEditing')&&_0x44da02['registerBlockAttribute']('mediaStyle'),_0xc725fd['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x5787e3,{writer:_0x1f0fa5,options:_0x1c16cb})=>{if(_0x1c16cb['showSuggestionHighlights'])return _0x1f0fa5['createEmptyElement']('div');},'converterPriority':'high'}),_0xc725fd['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5bc864,_0x2bcf65,_0x876039)=>{_0x876039['options']['showSuggestionHighlights']&&_0x5bc864['stop']();},{'priority':'high'});}}class SuggestionsConversionTable extends _0x393882{['afterInit'](){const _0xae46cb=this['editor'];if(!_0xae46cb['plugins']['has']('Table'))return;_0xae46cb['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4d16dd,_0x2ee361,_0x3e0092)=>{((_0x1cfedd,_0x3b4626,_0x4e14f2)=>{if(!_0x4e14f2['options']['showSuggestionHighlights'])return;const _0x4a719b=_0x3b4626['item'];if(!_0x4a719b||!_0x4a719b['is']('element','tableCell'))return;const _0x472bc4=_0x4e14f2['mapper']['toViewElement'](_0x4a719b);if(_0x472bc4){const {id:_0x250ad8,authorId:_0x1b1ce8}=O(_0x3b4626['markerName']);_0x1ec96e(_0x472bc4,_0x4e14f2['writer'],(_0x448556,_0x277610,_0x29fe92)=>{_0x29fe92['addClass'](_0x220abb(_0x277610['classes']),_0x448556),_0x29fe92['setAttribute']('data-suggestion',_0x250ad8,_0x448556),_0x29fe92['setAttribute']('data-author-id',_0x1b1ce8,_0x448556);});}})(0x0,_0x2ee361,_0x3e0092);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x393882{['afterInit'](){const _0x3a7b87=this['editor'];_0x3a7b87['plugins']['has']('HorizontalLineEditing')&&_0x3a7b87['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0xf72f71,{writer:_0x7369f4,options:_0x25af13})=>{if(!_0x25af13['showSuggestionHighlights'])return null;const _0x1fa4ae=_0x7369f4['createContainerElement']('div'),_0x42a1cb=_0x7369f4['createEmptyElement']('hr');return _0x7369f4['addClass']('ck-horizontal-line',_0x1fa4ae),_0x7369f4['insert'](_0x7369f4['createPositionAt'](_0x1fa4ae,0x0),_0x42a1cb),_0x1fa4ae;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x393882{['afterInit'](){const {plugins:_0x4b2a71,model:_0x503bd2}=this['editor'];if(!_0x4b2a71['has']('TableCellPropertiesEditing'))return;const _0xdcadfd=_0x4b2a71['get']('SuggestionsConversion'),_0x3a90a4=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x3ebe4d of _0x3a90a4)_0xdcadfd['registerBlockAttribute'](_0x3ebe4d);_0x503bd2['schema']['checkAttribute']('tableCell','tableCellType')&&_0xdcadfd['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends _0x393882{['afterInit'](){const _0x572dd0=this['editor'];if(!_0x572dd0['plugins']['has']('TableEditing')||!_0x572dd0['config']['get']('table.enableFooters'))return;_0x572dd0['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends _0x393882{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionGeneralHtmlSupport,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableFooters,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x307867=this['editor'],_0x2dd299=(_0x3d93fb,_0x7ae66e,_0x41b60f)=>{const {id:_0x2730cc,authorId:_0x44007d,type:_0x2a67bf,subType:_0x4ac90d}=O(_0x3d93fb['markerName']),_0x11fed5=['ck-suggestion-marker',this['_getClassName'](_0x2a67bf,_0x4ac90d)];let _0x557417=0xbb8;return!_0x41b60f&&(this['_activeMarkers']['includes'](_0x3d93fb['markerName'])&&(_0x11fed5['push']('ck-suggestion-marker--active'),_0x557417=0xbc2)),('deletion'==_0x2a67bf&&(_0x557417+=0x5),{'classes':_0x11fed5,'attributes':{'data-suggestion':_0x2730cc,'data-author-id':_0x44007d},'priority':_0x557417});};_0x307867['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x434998,_0x5a518d)=>_0x2dd299(_0x434998,0x0,!0x1)}),_0x307867['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x141509,_0x551521)=>_0x2dd299(_0x141509,0x0,!0x0)}),_0x307867['conversion']['for']('dataDowncast')['add'](_0xc3fce1=>{_0xc3fce1['on']('addMarker:suggestion',(_0xad3803,_0x20dd2f,_0x1f62d7)=>{if(!_0x1f62d7['options']['showSuggestionHighlights'])return;const _0x39272d=_0x20dd2f['item'];if(!_0x39272d)return;const _0x3ccb42=_0x1f62d7['mapper']['toViewElement'](_0x39272d);_0x307867['model']['schema']['isObject'](_0x39272d)&&_0x3ccb42&&!_0x3ccb42['getCustomProperty']('widget')&&_0x3ccb42['is']('containerElement')&&_0x48cc44(_0x3ccb42,_0x1f62d7['writer']);},{'priority':'high'});});const _0x199ae7=(_0x517cba,_0x373166,_0x4cb088,_0x52cd8d,_0x20aaf6)=>{if(_0x52cd8d&&!_0x4cb088['options']['showSuggestionHighlights'])return;if(!_0x373166['item'])return;const {id:_0x4d0fcf,authorId:_0x2e4975,subType:_0x306aff}=O(_0x373166['markerName']);if(_0x20aaf6){const _0x223834=_0x306aff['split']('|')[0x0];if(!this['isBlockAttribute'](_0x223834))return;}if(_0x373166['item']['is']('selection'))return void _0x4cb088['consumable']['consume'](_0x373166['item'],_0x517cba['name']);const _0x36ab9e=_0x4cb088['mapper']['toViewElement'](_0x373166['item']);if(_0x373166['item']['is']('element')&&_0x307867['model']['schema']['isBlock'](_0x373166['item'])&&!_0x36ab9e['getCustomProperty']('addHighlight')){_0x4cb088['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x36ab9e),_0x4cb088['writer']['setAttribute']('data-suggestion',_0x4d0fcf,_0x36ab9e),_0x4cb088['writer']['setAttribute']('data-author-id',_0x2e4975,_0x36ab9e),_0x4cb088['mapper']['bindElementToMarker'](_0x36ab9e,_0x373166['markerName']),_0x52cd8d||(this['_activeMarkers']['includes'](_0x373166['markerName'])?_0x4cb088['writer']['addClass']('ck-suggestion-marker--active',_0x36ab9e):_0x4cb088['writer']['removeClass']('ck-suggestion-marker--active',_0x36ab9e));for(const _0x1077d4 of _0x307867['model']['createRangeIn'](_0x373166['item'])['getItems']())_0x4cb088['consumable']['consume'](_0x1077d4,_0x517cba['name']);_0x4cb088['consumable']['consume'](_0x373166['item'],_0x517cba['name']);}},_0xa0ba40=(_0x1381e2,_0x32ed63,_0x2e1c60,_0x5c1421)=>{const _0x5840e2=_0x2e1c60['mapper']['markerNameToElements'](_0x32ed63['markerName']);if(_0x5840e2){if(_0x5c1421){const {subType:_0x23efbc}=O(_0x32ed63['markerName']),_0x494a4d=_0x23efbc['split']('|')[0x0];if(!this['isBlockAttribute'](_0x494a4d))return;}for(const _0x4a6b8c of _0x5840e2)_0x4a6b8c['getCustomProperty']('addHighlight')||(_0x2e1c60['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x4a6b8c),_0x2e1c60['writer']['removeAttribute']('data-suggestion',_0x4a6b8c),_0x2e1c60['writer']['removeAttribute']('data-author-id',_0x4a6b8c),_0x2e1c60['mapper']['unbindElementFromMarkerName'](_0x4a6b8c,_0x32ed63['markerName']));}};_0x307867['conversion']['for']('editingDowncast')['add'](_0x2fe688=>{_0x2fe688['on']('addMarker:suggestion:formatBlock',(_0x76aa2c,_0x37f1a6,_0x4af76d)=>{_0x199ae7(_0x76aa2c,_0x37f1a6,_0x4af76d,!0x1,!0x1);},{'priority':'high'});}),_0x307867['conversion']['for']('editingDowncast')['add'](_0x596de7=>{_0x596de7['on']('addMarker:suggestion:attribute',(_0x4c6731,_0x4a39dd,_0x26796e)=>{_0x199ae7(_0x4c6731,_0x4a39dd,_0x26796e,!0x1,!0x0);},{'priority':'high'});}),_0x307867['conversion']['for']('editingDowncast')['add'](_0x4372df=>{_0x4372df['on']('removeMarker:suggestion:formatBlock',(_0x14d9c2,_0x39b688,_0x4f0a31)=>{_0xa0ba40(0x0,_0x39b688,_0x4f0a31,!0x1);},{'priority':'high'});}),_0x307867['conversion']['for']('editingDowncast')['add'](_0x2c4909=>{_0x2c4909['on']('removeMarker:suggestion:attribute',(_0x418e32,_0x12c984,_0x2db047)=>{_0xa0ba40(0x0,_0x12c984,_0x2db047,!0x0);},{'priority':'high'});}),_0x307867['conversion']['for']('dataDowncast')['add'](_0x2deede=>{_0x2deede['on']('addMarker:suggestion:formatBlock',(_0x1456e2,_0x2c7fba,_0x49eb85)=>{_0x199ae7(_0x1456e2,_0x2c7fba,_0x49eb85,!0x0,!0x1);},{'priority':'highest'});}),_0x307867['conversion']['for']('dataDowncast')['add'](_0x162a2f=>{_0x162a2f['on']('addMarker:suggestion:attribute',(_0x30f20d,_0x33e4c9,_0x2b76db)=>{_0x199ae7(_0x30f20d,_0x33e4c9,_0x2b76db,!0x0,!0x0);},{'priority':'highest'});}),_0x307867['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x4e3807,_0x3cc099)=>_0x3cc099['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x4e3807['substr'](0xb)}});const _0x21e868=(_0x504541,_0x4f1f83,_0xd05fc2,_0x4f58f5,_0x27b563)=>{if(_0x4f58f5&&!_0xd05fc2['options']['showSuggestionHighlights'])return;if(!_0xd05fc2['consumable']['test'](_0x4f1f83['markerRange'],_0x504541['name']))return;const _0x598627=this['_activeMarkers'],_0x1a4251=_0x4f1f83['markerRange']['getWalker'](),_0x5efea0=_0x4f1f83['markerRange']['start'],_0x4c60de=_0x307867['model']['schema'];let _0x175fe1=null,_0x5c54cb=null,_0x52dfe6=!0x1,_0x429072=!0x1;for(const _0x4f2f81 of _0x1a4251){const _0x27ddd4=_0x4f2f81['item'];_0x52dfe6=_0x52dfe6||_0x4c60de['isContent'](_0x27ddd4);const _0x57f59e=_0xd05fc2['mapper']['toViewElement'](_0x27ddd4);if(_0x57f59e&&_0x57f59e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4f2f81['type']&&(_0x4c60de['isBlock'](_0x27ddd4)&&!_0x4c60de['isLimit'](_0x27ddd4)&&(_0x27ddd4['nextSibling']||_0x5efea0['isAtEnd']?_0x175fe1&&_0x175fe1['parent']==_0x27ddd4||(_0x175fe1=_0x27ddd4,_0x4152d5(_0x4f2f81['previousPosition']),_0x429072=!0x0):_0x5c54cb=_0x5c54cb||_0x4f2f81['previousPosition']));}function _0x4152d5(_0x296035){const {id:_0x232255,authorId:_0xb31c2c}=O(_0x4f1f83['markerName']),_0x35959f=_0xd05fc2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x27b563,'data-suggestion':_0x232255,'data-author-id':_0xb31c2c}),_0xf59a0b=_0xd05fc2['mapper']['toViewPosition'](_0x296035);!_0x4f58f5&&_0x598627['includes'](_0x4f1f83['markerName'])&&_0xd05fc2['writer']['addClass']('ck-suggestion-marker--active',_0x35959f),_0xd05fc2['writer']['insert'](_0xf59a0b,_0x35959f),_0xd05fc2['mapper']['bindElementToMarker'](_0x35959f,_0x4f1f83['markerName']);}_0x52dfe6||_0x429072||!_0x5c54cb||_0x4152d5(_0x5c54cb);};_0x307867['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x26e650,_0x236812,_0x553cfa)=>{_0x21e868(_0x26e650,_0x236812,_0x553cfa,!0x1,'merge');},{'priority':'high'}),_0x307867['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x541da4,_0x38d2fc,_0x28fbb7)=>{_0x21e868(_0x541da4,_0x38d2fc,_0x28fbb7,!0x0,'merge');},{'priority':'high'}),_0x307867['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5f28fc,_0xc90b8d,_0x335afa)=>{_0x21e868(_0x5f28fc,_0xc90b8d,_0x335afa,!0x1,'split');},{'priority':'high'}),_0x307867['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2be9c9,_0x45f948,_0x5e437b)=>{_0x21e868(_0x2be9c9,_0x45f948,_0x5e437b,!0x0,'split');},{'priority':'high'}),_0x307867['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x424027,_0x5d3c5d,_0x1618c4)=>{((_0x391ace,_0x4f2808,_0x11c3c5)=>{const _0x53fa34=_0x11c3c5['mapper']['markerNameToElements'](_0x4f2808['markerName']);if(_0x53fa34){for(const _0x561880 of _0x53fa34)(_0x561880['hasClass']('ck-suggestion-marker-split')||_0x561880['hasClass']('ck-suggestion-marker-merge'))&&(_0x11c3c5['mapper']['unbindElementFromMarkerName'](_0x561880,_0x4f2808['markerName']),_0x11c3c5['writer']['remove'](_0x561880));}})(0x0,_0x5d3c5d,_0x1618c4);},{'priority':'high'});const _0x1c84d8=(_0xb0ea13,_0x4b7a2f,_0xe6fd26,_0x23758c)=>{if(_0x23758c&&!_0xe6fd26['options']['showSuggestionHighlights'])return;const _0x27e90e=_0x4b7a2f['markerRange']['start'],_0x406987=_0x4b7a2f['markerRange']['end'],_0x139eec=_0x307867['model']['schema'];if(!_0x27e90e['isTouching'](_0x406987)||!_0x27e90e['nodeAfter'])return;const _0x2d3cf5=_0x27e90e['nodeAfter'];if(_0x139eec['isBlock'](_0x2d3cf5)&&!_0x139eec['isLimit'](_0x2d3cf5)&&_0x139eec['checkChild'](_0x2d3cf5,'$text')){if(!_0xe6fd26['consumable']['consume'](_0x4b7a2f['markerRange'],_0xb0ea13['name']))return;const {id:_0x2abc78,authorId:_0xc45bee}=O(_0x4b7a2f['markerName']),_0x54e235=_0xe6fd26['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x2abc78,'data-author-id':_0xc45bee}),_0xe474f0=_0xe6fd26['mapper']['toViewPosition'](_0x406987);!_0x23758c&&this['_activeMarkers']['includes'](_0x4b7a2f['markerName'])&&_0xe6fd26['writer']['addClass']('ck-suggestion-marker--active',_0x54e235),_0xe6fd26['writer']['insert'](_0xe474f0,_0x54e235),_0xe6fd26['mapper']['bindElementToMarker'](_0x54e235,_0x4b7a2f['markerName']);}};_0x307867['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2e30eb,_0x13867b,_0x4a27fa)=>{_0x1c84d8(_0x2e30eb,_0x13867b,_0x4a27fa,!0x1);},{'priority':'high'}),_0x307867['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x53b7f9,_0x24f555,_0x4fe1a1)=>{_0x1c84d8(_0x53b7f9,_0x24f555,_0x4fe1a1,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x470e54,_0x4e793d,_0x1d6051)=>{this['_activeMarkers']=_0x1d6051['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x19f65d){this['_blockAttributeKeys']['add'](_0x19f65d);}['registerInlineAttribute'](_0x55e488){this['_inlineAttributeKeys']['add'](_0x55e488);}['isBlockAttribute'](_0x5f4c01){return this['_blockAttributeKeys']['has'](_0x5f4c01);}['isInlineAttribute'](_0xe2bcb){return this['_inlineAttributeKeys']['has'](_0xe2bcb);}['isRegisteredAttribute'](_0x23360d){return this['isInlineAttribute'](_0x23360d)||this['isBlockAttribute'](_0x23360d);}['_getClassName'](_0x3f328c,_0x4142a8){if('attribute'!=_0x3f328c)return'ck-suggestion-marker-'+_0x3f328c;const _0x683489=_0x4142a8['split']('|')[0x0];return this['isBlockAttribute'](_0x683489)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function z(_0x198537={},_0x6873bc){if(void 0x0!==_0x198537['dateTimeFormat']&&'function'!=typeof _0x198537['dateTimeFormat'])throw new _0x567c0e('invalid-date-time-format');return _0x366470=>{const _0x514fec='string'==typeof _0x366470?_0x513239['fromISO'](_0x366470):_0x513239['fromJSDate'](_0x366470),_0x421406=_0x513239['now'](),_0x9e6c30=Math['floor'](_0x421406['diff'](_0x514fec,'days')['days']);return _0x198537['dateTimeFormat']?_0x198537['dateTimeFormat'](_0x514fec['toJSDate'](),_0x6873bc&&_0x6873bc['t']?_0x6873bc['t']:void 0x0):0x0===_0x9e6c30?_0x6873bc?B(_0x6873bc,'Today')+'\x20'+_0x514fec['toFormat']('hh:mma'):_0x514fec['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x9e6c30?_0x6873bc?B(_0x6873bc,'Yesterday')+'\x20'+_0x514fec['toFormat']('hh:mma'):_0x514fec['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x9e6c30<0x7?_0x6873bc?B(_0x6873bc,'Last')+'\x20'+B(_0x6873bc,_0x514fec['toFormat']('EEEE'))+'\x20'+_0x514fec['toFormat']('hh:mma'):_0x514fec['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x514fec['toFormat']('LL-dd-yyyy\x20hh:mma');};}function R(_0x51afc1,_0x58e8f9){const _0x47a5be=_0x51afc1['mapper']['markerNameToElements'](_0x58e8f9['name']);if(!_0x47a5be)return null;const _0x3b2634=_0x1d19c4(_0x47a5be['values']());return _0x51afc1['view']['domConverter']['mapViewToDom'](_0x3b2634)||null;}function W(_0x25f327,_0x4b0255){if(0x0===_0x4b0255['length'])return null;const _0x3fb524=[],_0x146d03=_0x25f327['view']['domConverter'];for(const _0x441a83 of _0x4b0255){const _0x217775=_0x25f327['mapper']['markerNameToElements'](_0x441a83['name']);if(!_0x217775)continue;const _0x117311=Array['from'](_0x217775)['map'](_0x5223bb=>_0x146d03['mapViewToDom'](_0x5223bb))['filter'](_0x172577=>!!_0x172577);_0x3fb524['push'](..._0x117311);}if(0x0===_0x3fb524['length'])return null;const _0x509cb5=[];for(const _0x30defe of _0x3fb524){const _0x4ab07b=_0x30defe['getClientRects']()['item'](0x0);_0x4ab07b&&_0x509cb5['push']({'x':_0x4ab07b['x'],'y':_0x4ab07b['y'],'domElement':_0x30defe});}return 0x0===_0x509cb5['length']?null:(_0x509cb5['sort']((_0x3b455a,_0x3073e4)=>_0x3b455a['y']-_0x3073e4['y']||_0x3b455a['x']-_0x3073e4['x']),_0x509cb5['map'](_0x4a4691=>_0x4a4691['domElement']));}function j(_0x2baffd,{limit:_0x22c374,suffix:_0x3b480c='...'}){const _0x3c16a3=[];let _0x17e719=0x0;const _0x26dbf4=_0x2baffd['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0xfa0d30=0x0;_0xfa0d30<_0x26dbf4['length'];_0xfa0d30++){let _0x37196e=_0x26dbf4[_0xfa0d30];const _0x18b7d6=Y(_0x37196e);if(_0x37196e['startsWith']('<')){if(_0x17e719>=_0x22c374){const _0xe2363e=_0x37196e['match'](/[a-zA-Z]+/);if(!_0xe2363e){_0x26dbf4[_0xfa0d30]='';continue;}const _0x2afed7=_0xe2363e[0x0];_0x37196e['startsWith']('</')?(_0x3c16a3['length']&&(_0x37196e=''),_0x3c16a3['pop']()):(_0x3c16a3['push'](_0x2afed7),_0x37196e='');}}else{if(_0x17e719>=_0x22c374)_0x37196e='';else{if(_0x17e719+_0x18b7d6['length']>=_0x22c374){let _0x4ba81b=_0x22c374-_0x17e719;if('\x20'===_0x18b7d6[_0x4ba81b-0x1])_0x4ba81b--;else{const _0xbaf989=_0x18b7d6['slice'](_0x4ba81b)['indexOf']('\x20');-0x1!==_0xbaf989?_0x4ba81b+=_0xbaf989:_0x4ba81b=_0x37196e['length'];}_0x37196e=_0x18b7d6['slice'](0x0,_0x4ba81b)['join']('')+_0x3b480c,_0x17e719=_0x22c374;}else _0x17e719+=_0x18b7d6['length'];}}_0x26dbf4[_0xfa0d30]=_0x37196e;}return _0x26dbf4['join']('\x0a')['replace'](/\n/g,'');}function Y(_0x589906){const _0x2b3d2d=[];for(let _0x49c68d=0x0;_0x49c68d<_0x589906['length'];_0x49c68d++){const _0x4faeaa=_0x589906['substring'](_0x49c68d)['match'](/^&[a-z0-9#]+;/);if(_0x4faeaa){const _0xd1161d=_0x4faeaa[0x0];_0x2b3d2d['push'](_0xd1161d),_0x49c68d+=_0xd1161d['length']-0x1;}else _0x2b3d2d['push'](_0x589906[_0x49c68d]);}return _0x2b3d2d;}class ConfirmView extends _0x45be95{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x6b8ce7){super(_0x6b8ce7);const _0x504a53=this['bindTemplate'];this['set']('message',B(_0x6b8ce7,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x6b8ce7,B(_0x6b8ce7,'Yes'),_0x181c6a,'submit'),this['cancelView']=this['_createButtonView'](_0x6b8ce7,B(_0x6b8ce7,'No'),_0x104c29,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x53a071(),this['keystrokes']=new _0x2791dd(),this['focusCycler']=new _0xd272a1({'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':_0x504a53['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'](_0x9cc92c,_0xa57153,_0x335037,_0x4ca41f){const _0x5727fe=new _0x5d82e5(_0x9cc92c);return _0x5727fe['label']=_0xa57153,_0x5727fe['icon']=_0x335037,_0x5727fe['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x4ca41f}}),_0x5727fe['on']('execute',()=>this['fire'](_0x4ca41f)),_0x5727fe;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x2b6bbc=>{this['keystrokes']['listenTo'](_0x2b6bbc['element']),this['focusTracker']['add'](_0x2b6bbc['element']);}),this['keystrokes']['set']('esc',(_0x37ba6e,_0x56c836)=>{this['fire']('cancel'),_0x56c836();});}}function G(_0x3497c4){return class _0x3f95d9 extends _0x3497c4{['showConfirm'](_0x5904a2,_0x12f1be){return this['confirmView']=new ConfirmView(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x5904a2,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x12f1be['appendChild'](this['confirmView']['element']),_0x12f1be['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x453288,_0x1882c5,_0x40b037)=>{_0x40b037||_0x12f1be['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x1eb9e4=>this['confirmView']['on']('submit',_0x1eb9e4));}['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 J(_0x2ca38d){let _0x13788c=0x0,_0xa8c5b=0x0;for(const _0x377481 of q(_0x2ca38d))_0x13788c=(_0x13788c<<0x5)-_0x13788c+_0x377481,_0x13788c&=_0x13788c,[_0x13788c,_0xa8c5b]=[_0xa8c5b,_0x13788c];return X(_0x13788c)+X(_0xa8c5b);}function*K(_0x44ad4b){null==_0x44ad4b||null==_0x44ad4b?yield 0x12b9b0a1:0x0===_0x44ad4b||!0x1===_0x44ad4b?yield 0x0:0x1===_0x44ad4b||0x1==_0x44ad4b?yield 0x1:Array['isArray'](_0x44ad4b)?yield*function*(_0x3d613d){for(const _0x47e383 of _0x3d613d)yield*K(_0x47e383);}(_0x44ad4b):'object'==typeof _0x44ad4b?yield*q(_0x44ad4b):'string'==typeof _0x44ad4b?yield*Z(_0x44ad4b):'number'==typeof _0x44ad4b&&(yield _0x44ad4b);}function*q(_0x50cef0){if(yield Q('{'),_0x50cef0){const _0x3b59a8=Object['keys'](_0x50cef0)['sort']();for(const _0x4c385b of _0x3b59a8){yield*Z(_0x4c385b),yield Q(':');const _0x1ab164=_0x50cef0[_0x4c385b];yield*K(_0x1ab164);}}yield Q('}');}function*Z(_0x3a1902){yield Q('\x22');for(const _0x4151b5 of _0x3a1902)yield Q(_0x4151b5);yield Q('\x22');}function Q(_0x1ac4b4){return _0x1ac4b4['charCodeAt'](0x0);}function X(_0x58de9a){return(_0x58de9a*=Math['sign'](_0x58de9a))['toString'](0x24);}const tt=['root','roots','initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function st(_0x37a4fd,_0x25f850,_0x5d3ead,_0x4e0768=[]){const _0x5ba644='string'==typeof _0x37a4fd?_0x5d3ead['get'](_0x37a4fd)['constructor']:_0x37a4fd['prototype']['constructor'];if(_0x25f850['has'](_0x5ba644))return _0x25f850['get'](_0x5ba644);_0x25f850['set'](_0x5ba644,!0x0);const _0x5a0729=[...et,..._0x4e0768]['map'](_0x322d3b=>{if(_0x5d3ead['has'](_0x322d3b))return _0x5d3ead['get'](_0x322d3b)['constructor'];})['filter'](_0x38064b=>_0x38064b);if(_0x5ba644&&_0x5a0729['includes'](_0x5ba644))return _0x25f850['set'](_0x5ba644,!0x1),!0x1;if(!_0x5ba644['requires'])return _0x25f850['set'](_0x5ba644,!0x0),!0x0;const _0x35ace8=_0x5ba644['requires']['every'](_0x2350d4=>st(_0x2350d4,_0x25f850,_0x5d3ead,_0x4e0768));return _0x25f850['set'](_0x5ba644,_0x35ace8),_0x35ace8;}function it(_0x2d8c44,_0x230f15){const _0x50e201={};for(const _0x41146e of _0x2d8c44['config']['names']())tt['includes'](_0x41146e)||(_0x50e201[_0x41146e]=_0x2d8c44['config']['get'](_0x41146e));const _0x1f7233=_0x50e201['plugins']||[],_0x48115d=_0x2d8c44['constructor']['builtinPlugins']||[],_0x1663a3=_0x1f7233['length']?_0x1f7233:_0x48115d,_0x59fed0=_0x50e201['extraPlugins']||[];delete _0x50e201['extraPlugins'];const _0x1b1c9b=_0x50e201['removePlugins']||[];delete _0x50e201['removePlugins'];const _0xe6d2d=_0x2d8c44['_context']['config']['get']('plugins')||[],_0x496976=_0x1663a3['concat'](_0x59fed0)['concat'](_0xe6d2d)['map'](_0x1987aa=>'string'==typeof _0x1987aa?_0x48115d['find'](_0x1753c9=>_0x1753c9['pluginName']==_0x1987aa):_0x1987aa)['filter'](_0x39dab8=>!_0x1b1c9b['includes'](_0x39dab8)&&!_0x1b1c9b['includes'](_0x39dab8['pluginName'])),_0x54b1d4=Array['from'](new Set(_0x496976)),_0x10d2cf=new Map();return _0x50e201['plugins']=_0x54b1d4['filter'](_0x6f70a=>st(_0x6f70a,_0x10d2cf,_0x2d8c44['plugins'],_0x230f15)),_0x50e201;}function nt(_0x530548,_0x5aae49){const _0x3eceeb=[];_0x530548['document']['selection']['on']('change:range',()=>{const _0xe6d7fc=function(_0x5eaccb,_0x58154b){const _0x4949cf=[];for(const _0x3d5cd9 of _0x5eaccb['markers']){const _0x3b6f43=_0x3d5cd9['getRange']();(_0x3b6f43['containsPosition'](_0x58154b)||_0x3b6f43['start']['isEqual'](_0x58154b)||_0x3b6f43['end']['isEqual'](_0x58154b))&&_0x4949cf['push'](_0x3d5cd9);}return _0x4949cf;}(_0x530548,_0x530548['document']['selection']['focus']),_0x4a57b3=[],_0x5a296c=[],_0x29ec6f=[];for(const _0x3701c1 of _0x3eceeb)_0xe6d7fc['includes'](_0x3701c1)||_0x4a57b3['push'](_0x3701c1);for(const _0x459562 of _0xe6d7fc)_0x3eceeb['includes'](_0x459562)||_0x5a296c['push'](_0x459562),_0x29ec6f['push'](_0x459562);(_0x4a57b3['length']||_0x5a296c['length'])&&_0x5aae49({'left':_0x4a57b3,'entered':_0x5a296c}),_0x3eceeb['length']=0x0,_0x3eceeb['push'](..._0x29ec6f);});}const ot='Ctrl+Shift+E';function rt(_0x5c46a8,_0x5bd73e){const _0x313981=_0x5c46a8['element'];_0x5c46a8['keystrokes']['listenTo'](_0x313981);for(const _0x15a35a of _0x5bd73e)at(_0x5c46a8,_0x15a35a);_0x5bd73e['on']('change',(_0x4c8ce6,_0x488fd4)=>{for(const _0xfc3167 of _0x488fd4['removed'])ct(_0x5c46a8,_0xfc3167);for(const _0x27c2d6 of Array['from'](_0x488fd4['added'])['reverse']())at(_0x5c46a8,_0x27c2d6);}),_0x5c46a8['keystrokes']['set']('enter',(_0x577fce,_0x39aaee)=>{_0x313981===_0x577fce['target']&&(_0x5c46a8['focusCycler']['focusFirst'](),_0x39aaee());},{'filter':_0x1e73c4=>_0x1e73c4['target']===_0x313981}),_0x5c46a8['keystrokes']['set']('esc',(_0x33f7d0,_0x2e8811)=>{_0x313981!==_0x33f7d0['target']?_0x5c46a8['focus']():_0x5c46a8['fire']('escape'),_0x2e8811();}),_0x5c46a8['keystrokes']['set']('arrowdown',(_0x13ef83,_0x1dfec6)=>{_0x313981===_0x13ef83['target']&&(_0x5c46a8['fire']('arrowdown'),_0x1dfec6());}),_0x5c46a8['keystrokes']['set']('arrowup',(_0xfb346d,_0xf51a53)=>{_0x313981===_0xfb346d['target']&&(_0x5c46a8['fire']('arrowup'),_0xf51a53());});}function at(_0x227085,_0x1f6382){_0x1f6382['isRendered']&&(_0x227085['focusTracker']['add'](_0x1f6382['element']),_0x227085['keystrokes']['listenTo'](_0x1f6382['element']),_0x7bf6d9(_0x1f6382)&&function(_0xb68f50,_0x2263a1){const _0x6dcff5=_0xb68f50['actions'],_0x4be0c7=_0x2263a1['actions'];for(const _0x1c8266 of Object['keys'](_0x6dcff5))if(_0x1c8266 in _0x4be0c7&&_0x6dcff5[_0x1c8266]!==_0x4be0c7[_0x1c8266])return!0x1;return!0x0;}(_0x227085['focusCycler'],_0x1f6382['focusCycler'])&&_0x227085['focusCycler']['chain'](_0x1f6382['focusCycler']));}function ct(_0x1c7e90,_0x19ac3a){_0x1c7e90['focusTracker']['remove'](_0x19ac3a['element']),_0x1c7e90['keystrokes']['stopListening'](_0x19ac3a['element']),_0x7bf6d9(_0x19ac3a)&&_0x1c7e90['focusCycler']['unchain'](_0x19ac3a['focusCycler']);}const lt='$elementId',ut='data-id';class DocumentCompare extends _0x5f4d50{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x13ecb9?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x47f69e,_0x1271d9)=>{_0x1271d9['on']('ready',()=>{this['_integrateEditor'](_0x1271d9);});});}get['editor'](){if(this['context']instanceof _0x13ecb9)return this['context'];{const _0x2ed41=this['context']['editors']['first'];if(!_0x2ed41)throw new _0x567c0e('documentcompare-no-editor',this);return _0x2ed41;}}['getDiff'](_0x4b2d2a,_0x26f8d7,_0x3dc858={'anchor':'main','markDeletions':!0x1}){const _0x4db1a9=_0x3dc858['targetEditor']||this['editor'];let _0x377d51,_0x570298;if('string'==typeof _0x3dc858['anchor']){const _0x429989=_0x4db1a9['model']['document']['getRoot'](_0x3dc858['anchor']);if(!_0x429989)throw new _0x567c0e('documentcompare-compare-no-root',this,{'anchor':_0x3dc858['anchor']});_0x377d51=_0x429989,_0x570298=_0x4db1a9['model']['createPositionAt'](_0x429989,0x0);}else _0x377d51=_0x3dc858['anchor']['clone'](),_0x570298=_0x3dc858['anchor']['clone']();const _0x216961=_0x4db1a9['data']['parse'](_0x4b2d2a,_0x377d51),_0x160114=_0x4db1a9['data']['parse'](_0x26f8d7,_0x377d51);return new DocumentDiff({'editor':_0x4db1a9,'before':_0x216961,'after':_0x160114,'options':{'anchor':_0x570298,'markDeletions':_0x3dc858['markDeletions']}});}['isMarkedRemoveOperation'](_0x386e95){return'marker'==_0x386e95['type']&&_0x386e95['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x8af23a){_0x8af23a['conversion']['for']('upcast')['add'](_0x551a8f=>{_0x551a8f['on']('element',(_0x225294,_0xd10f07,_0x3bb6c0)=>{if(_0xd10f07['modelRange']&&_0x3bb6c0['consumable']['consume'](_0xd10f07['viewItem'],{'attributes':'data-id'}))for(const _0x15d241 of _0xd10f07['modelRange']['getItems']({'shallow':!0x0})){if(_0x15d241['is']('$textProxy'))continue;const _0xc4ff9f=_0xd10f07['viewItem']['getAttribute'](ut);_0xc4ff9f&&_0x3bb6c0['writer']['setAttribute'](lt,_0xc4ff9f,_0x15d241);}},{'priority':'low'});}),_0x8af23a['model']['schema']['addAttributeCheck'](()=>!0x0,lt);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x3604eb,before:_0xe2d385,after:_0x18a033,options:_0x402a67}){this['_editor']=_0x3604eb,this['_markDeletions']=!!_0x402a67['markDeletions'],this['_anchor']=_0x402a67['anchor'];const _0x267b06=this['_tokenizeModel'](_0xe2d385),_0x5a02e6=this['_tokenizeModel'](_0x18a033);this['_diffItems']=this['_diffModelTokens'](_0x267b06,_0x5a02e6),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0xe2d385['markers'],_0x18a033['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x324981=this['_editor']['model']['document'],_0xf74ac9=[];let _0x1d324b=_0x324981['version'];for(const _0x462dbb of this['_operationsData'])switch(_0x462dbb['type']){case'attribute':{const _0x3fb321=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']),_0x1510fd=_0x3fb321['getShiftedBy'](_0x462dbb['howMany']),_0x359c75=new _0x326622(_0x3fb321,_0x1510fd),_0x3e9612=JSON['parse'](_0x462dbb['oldValue']),_0x102164=JSON['parse'](_0x462dbb['newValue']);_0xf74ac9['push'](new _0x2ca4e3(_0x359c75,_0x462dbb['key'],_0x3e9612,_0x102164,_0x1d324b++));break;}case'insert':{const _0x2f1111=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']),_0x1ad83c=this['_makeModelFromTokens'](_0x462dbb['tokens']);_0xf74ac9['push'](new _0x8fd55f(_0x2f1111,_0x1ad83c,_0x1d324b++));break;}case'remove':{const _0x59cb34=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']),_0x583305=new _0x6b9db2(_0x324981['graveyard'],[0x0]);_0xf74ac9['push'](new _0x705622(_0x59cb34,_0x462dbb['howMany'],_0x583305,_0x1d324b++));break;}case'rename':{const _0x5e5a20=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']);_0xf74ac9['push'](new _0x22d213(_0x5e5a20,_0x462dbb['oldName'],_0x462dbb['newName'],_0x1d324b++));break;}case'split':{const _0xd6f34b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']),_0x376c09=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']['slice'](0x0,-0x1));_0x376c09['offset']++,_0xf74ac9['push'](new _0x50165a(_0xd6f34b,Number['NEGATIVE_INFINITY'],_0x376c09,null,_0x1d324b++));break;}case'merge':{const _0x5b7b48=_0x462dbb['path']['slice'](),_0x3c6f16=_0x5b7b48['slice'](0x0,-0x1);_0x3c6f16[_0x3c6f16['length']-0x1]++,_0x3c6f16['push'](0x0);const _0x15ba55=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c6f16),_0x1843df=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b7b48),_0x12d3bd=new _0x6b9db2(_0x324981['graveyard'],[0x0]);_0xf74ac9['push'](new _0x188696(_0x15ba55,Number['NEGATIVE_INFINITY'],_0x1843df,_0x12d3bd,_0x1d324b++));break;}case'marker':case'markedRemove':{let _0x44b12a=null;if(_0x462dbb['range']){const _0x13be12=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['range']['start']),_0xe30f51=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['range']['end']);_0x44b12a=new _0x326622(_0x13be12,_0xe30f51);}const _0x1e9ffb='marker'==_0x462dbb['type']?_0x462dbb['name']:'$markedRemove:'+_0x5a10eb();_0xf74ac9['push'](new _0xeb30b8(_0x1e9ffb,null,_0x44b12a,_0x324981['model']['markers'],!0x0,_0x1d324b++));break;}case'unwrap':{const _0x45e939=_0x462dbb['path']['slice']();_0x45e939['push'](0x0);const _0x41abe3=_0x462dbb['path']['slice'](),_0x35d6ab=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x45e939),_0x52f0e0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x41abe3),_0x973122=new _0x6b9db2(_0x324981['graveyard'],[0x0]);_0xf74ac9['push'](new _0x705622(_0x35d6ab,_0x462dbb['howMany'],_0x52f0e0,_0x1d324b++)),_0xf74ac9['push'](new _0x705622(_0x52f0e0['getShiftedBy'](_0x462dbb['howMany']),0x1,_0x973122,_0x1d324b++));break;}case'wrap':{const _0x2babdb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['range']['start']),_0x1a21a8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['range']['end']),_0x4d7667=_0x462dbb['token']['element']['_clone'](!0x1);_0x4d7667['_removeAttribute'](lt);const _0xc25bec=_0x462dbb['range']['end']['slice']();_0xc25bec['push'](0x0);const _0x2e41f2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xc25bec);_0xf74ac9['push'](new _0x8fd55f(_0x1a21a8,_0x4d7667,_0x1d324b++)),_0xf74ac9['push'](new _0x705622(_0x2babdb,_0x1a21a8['offset']-_0x2babdb['offset'],_0x2e41f2,_0x1d324b++));break;}}return _0xf74ac9;}['_tokenizeModel'](_0x152dbc){const _0x189371=[],_0x2d8648=_0x326622['_createIn'](_0x152dbc),_0x515cd0=new _0x2de74f({'boundaries':_0x2d8648});let _0x4cb7c4='',_0x33900e=null;const _0x3a7b7e=[''],_0x2f7eec=new Map();for(const _0x1a78af of _0x515cd0)if('elementStart'==_0x1a78af['type']||'elementEnd'==_0x1a78af['type']){let _0x3264df=_0x3a7b7e[0x0];''!==_0x4cb7c4&&(_0x189371['push'](...this['_makeTokensFromTextByWords'](_0x4cb7c4,_0x33900e,_0x3264df)),_0x4cb7c4='');const _0x1bbd40=_0x1a78af['item'];let _0x3eeb0c;_0x1bbd40['getAttribute'](lt)?_0x3eeb0c=_0x1bbd40['getAttribute'](lt):'elementStart'==_0x1a78af['type']?(_0x3eeb0c=dt(_0x1bbd40),_0x2f7eec['set'](_0x1bbd40,_0x3eeb0c)):_0x3eeb0c=_0x2f7eec['get'](_0x1bbd40);const _0x22b75b=this['_getElementCategory'](_0x1bbd40);'solid'==_0x22b75b&&('elementStart'==_0x1a78af['type']?(_0x3264df=_0x3eeb0c,_0x3a7b7e['unshift'](_0x3264df)):_0x3a7b7e['shift']());const _0x1e26f2={'type':'element','element':_0x1bbd40,'elementId':_0x3eeb0c,'category':_0x22b75b,'isStart':'elementStart'==_0x1a78af['type'],'limitId':_0x3264df};_0x189371['push'](_0x1e26f2);}else''==_0x4cb7c4&&(_0x33900e=_0x1a78af['previousPosition']['clone']()),_0x4cb7c4+=_0x1a78af['item']['data'];return''!==_0x4cb7c4&&_0x189371['push'](...this['_makeTokensFromTextByWords'](_0x4cb7c4,_0x33900e,_0x3a7b7e[0x0])),_0x189371;}['_makeTokensFromTextByWords'](_0xccbbac,_0x4d2d92,_0x5e2502){const _0x1d66a3=_0xccbbac['matchAll'](/(\s)/g),_0x34c07c=Array['from'](_0x1d66a3)['map'](_0x445aec=>_0x445aec['index']);_0x34c07c['push'](_0xccbbac['length']),0x0==_0x34c07c[0x0]&&_0x34c07c['shift']();const _0x137a08=[],_0x11de99=_0x4d2d92['parent'];let _0x4dff0b=0x0,_0xac42b=_0x4d2d92['offset'];for(let _0x1fb7bc=0x0;_0x1fb7bc<_0x34c07c['length'];_0x1fb7bc++)_0x137a08['push']({'type':'text','data':_0xccbbac['slice'](_0x4dff0b,_0x34c07c[_0x1fb7bc]),'parent':_0x11de99,'offset':_0xac42b,'limitId':_0x5e2502}),_0x4dff0b=_0x34c07c[_0x1fb7bc],_0xac42b=_0x4d2d92['offset']+_0x34c07c[_0x1fb7bc];return _0x137a08;}['_getElementCategory'](_0x36a004){const _0x343b52=this['_editor']['model']['schema'];return _0x343b52['isLimit'](_0x36a004)||_0x343b52['isContent'](_0x36a004)||_0x343b52['isInline'](_0x36a004)?'solid':_0x343b52['isBlock'](_0x36a004)?'block':function(_0x577a19,_0x58dc5e){const _0x1c96eb=_0x577a19['parent'];if(!_0x1c96eb||_0x1c96eb['is']('documentFragment'))return!0x1;if(_0x58dc5e['checkChild'](_0x1c96eb,'$text'))return!0x1;for(const _0x20ea6f of _0x577a19['getChildren']())if(_0x20ea6f['is']('$text'))return!0x0;return!0x1;}(_0x36a004,_0x343b52)?'solid':'container';}['_diffModelTokens'](_0x8b2e8c,_0x11aec3){const _0x144ee6=_0x14add3(_0x8b2e8c,_0x11aec3,{'comparator':ht});this['_handleUnclosedBlockOpeningTags'](_0x144ee6);const _0x35de54=_0x144ee6['flatMap'](_0x251718=>{const _0x39b0ff=_0x251718['added']?'added':_0x251718['removed']?'removed':'unchanged';return _0x251718['value']['map'](_0x161276=>({'token':_0x161276,'change':_0x39b0ff}));});let _0x249acb=0x0;for(const _0x4fcbb9 of _0x35de54)'added'!=_0x4fcbb9['change']&&('unchanged'==_0x4fcbb9['change']&&(_0x4fcbb9['before']=_0x8b2e8c[_0x249acb]),_0x249acb++);return _0x35de54;}['_handleUnclosedBlockOpeningTags'](_0x4e475a){for(let _0x4791d3=0x0;_0x4791d3<_0x4e475a['length']-0x1;_0x4791d3++)if(_0x4e475a[_0x4791d3]['removed']&&_0x4e475a[_0x4791d3+0x1]['added']){const _0x45bade=this['_findUnclosedBlockOpeningToken'](_0x4e475a[_0x4791d3]['value']);if(null!==_0x45bade){const _0x3688f4=this['_findUnclosedBlockOpeningToken'](_0x4e475a[_0x4791d3+0x1]['value']),_0x5525e0=_0x4e475a[_0x4791d3]['value']['splice'](_0x45bade),_0x3970c3=_0x4e475a[_0x4791d3+0x1]['value']['splice'](_0x3688f4),_0x165c0f=[_0x3970c3['shift']()];_0x5525e0['shift']();const _0xd01433={'value':_0x5525e0,'removed':!0x0},_0x996998={'value':_0x3970c3,'added':!0x0},_0x2aa93c={'value':_0x165c0f};_0x4e475a['splice'](_0x4791d3+0x2,0x0,_0x2aa93c,_0xd01433,_0x996998);}}}['_findUnclosedBlockOpeningToken'](_0x5ab9f1){let _0x46f73b=0x0,_0xb1f56c=-0x1;for(let _0x1aa452=0x0;_0x1aa452<_0x5ab9f1['length'];_0x1aa452++){const _0x1286b5=_0x5ab9f1[_0x1aa452];'element'==_0x1286b5['type']&&'block'==_0x1286b5['category']&&(_0x46f73b+=_0x1286b5['isStart']?0x1:-0x1,_0x1286b5['isStart']&&(_0xb1f56c=_0x1aa452));}return 0x0===_0x46f73b?null:_0xb1f56c;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x37d356=0x0;_0x37d356<this['_diffItems']['length'];_0x37d356++){const _0x1a6c85=this['_diffItems'][_0x37d356]['change'],_0x5a7567=[];_0x5a7567['push'](this['_diffItems'][_0x37d356]);let _0x2d84f7=_0x37d356+0x1;for(;this['_diffItems'][_0x2d84f7]&&this['_diffItems'][_0x2d84f7]['change']==_0x1a6c85;)_0x5a7567['push'](this['_diffItems'][_0x2d84f7]),_0x2d84f7++,_0x37d356++;const _0x5f341e=_0x5a7567['map'](_0x141282=>_0x141282['token']);if('unchanged'==_0x1a6c85)_0x5a7567['map'](_0x54aae0=>_0x54aae0['before'])['forEach'](_0x2cdb08=>this['_traverseOverItem'](_0x2cdb08));else{if('removed'==_0x1a6c85){if(this['_markDeletions']){const _0x3c3ff0=this['_path']['slice']();_0x5f341e['forEach'](_0x1dc5ee=>this['_traverseOverItem'](_0x1dc5ee));const _0x4367ad=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x3c3ff0,'end':_0x4367ad}});}else this['_handleChanged'](_0x5f341e,!0x0,this['_path']['slice']());}else{const _0x3196e3=_0x5f341e['filter'](_0x8ca125=>'element'!=_0x8ca125['type']||'container'!=_0x8ca125['category']);this['_handleChanged'](_0x3196e3,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x568727=0x0;_0x568727<this['_diffItems']['length'];_0x568727++){const _0x14c92f=this['_diffItems'][_0x568727]['change'],_0x1c024c=[];_0x1c024c['push'](this['_diffItems'][_0x568727]);let _0x34f62f=_0x568727+0x1;for(;this['_diffItems'][_0x34f62f]&&this['_diffItems'][_0x34f62f]['change']==_0x14c92f;)_0x1c024c['push'](this['_diffItems'][_0x34f62f]),_0x34f62f++,_0x568727++;const _0x1046eb=_0x1c024c['map'](_0xea791e=>_0xea791e['token']);if('unchanged'==_0x14c92f){const _0x5d5639=_0x1c024c['map'](_0x1f47b1=>_0x1f47b1['before']);this['_handleUnchanged'](_0x5d5639,_0x1046eb);}else('added'==_0x14c92f||this['_markDeletions'])&&_0x1046eb['forEach'](_0x74272=>{'element'==_0x74272['type']&&_0x74272['isStart']&&this['_splitPostponedData']['has'](_0x74272['element'])&&this['_handleSplitPostponedData'](_0x74272['element'],this['_path']),this['_traverseOverItem'](_0x74272);});}}['_handleSplitPostponedData'](_0x1b6146,_0x7c5e1a){const _0x50e3b1=this['_splitPostponedData']['get'](_0x1b6146);for(const _0x5dac75 of _0x50e3b1)'rename'==_0x5dac75['type']?this['_operationsData']['push']({'type':'rename','path':_0x7c5e1a['slice'](),'oldName':_0x5dac75['oldValue'],'newName':_0x1b6146['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x7c5e1a['slice'](),'howMany':0x1,'key':_0x5dac75['key'],'oldValue':_0x5dac75['oldValue'],'newValue':JSON['stringify'](_0x1b6146['getAttribute'](_0x5dac75['key'])??null)});}['_calculateMarkersOperationsData'](_0x2adf38,_0x9b7d76){const _0x99d8e0={};for(const [_0x3edb04]of _0x2adf38)_0x99d8e0[_0x3edb04]=null;for(const [_0x127162,_0x5801f4]of _0x9b7d76)_0x99d8e0[_0x127162]=_0x5801f4;const _0x3b0cf3=Object['entries'](_0x99d8e0)['map'](([_0x2d619e,_0x5711ed])=>({'type':'marker','name':_0x2d619e,'range':_0x5711ed?{'start':_0x5711ed['start']['path']['slice'](),'end':_0x5711ed['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x3b0cf3);}['_handleUnwraps'](){const _0x22e105=new Map(),_0x31e03d=[],_0x505a56=[0x0];let _0x2c23c6=this['_diffItems']['length']+0x1;for(let _0xc85838=this['_diffItems']['length']-0x1;_0xc85838>=0x0;_0xc85838--){const {token:_0x459054,before:_0x52ec36,change:_0x41411e}=this['_diffItems'][_0xc85838];if('removed'!=_0x41411e&&(_0x2c23c6=_0xc85838),'element'!=_0x459054['type']||'container'!=_0x459054['category']||'added'==_0x41411e)continue;const _0x17cf87=_0x52ec36?_0x52ec36['element']:_0x459054['element'];if(_0x459054['isStart']){const _0x55c62c=_0x22e105['get'](_0x17cf87),_0x35a609=this['_diffItems'][_0x55c62c];('removed'==_0x41411e||'removed'==_0x35a609['change'])&&_0x2c23c6<_0x55c62c&&(this['_operationsData']['push']({'type':'unwrap','path':_0x17cf87['getPath'](),'howMany':_0x17cf87['maxOffset']+_0x505a56[0x0]}),_0x505a56['shift'](),_0x505a56[0x0]+=_0x17cf87['maxOffset']-0x1,_0x31e03d['push'](_0xc85838),_0x31e03d['push'](_0x55c62c));}else _0x22e105['set'](_0x17cf87,_0xc85838),_0x505a56['unshift'](0x0);}_0x31e03d['sort']((_0xd1da16,_0x3594c4)=>_0x3594c4-_0xd1da16),_0x31e03d['forEach'](_0x421277=>{const _0x34db24=this['_diffItems'][_0x421277];'removed'==_0x34db24['change']?this['_diffItems']['splice'](_0x421277,0x1):(_0x34db24['change']='added',delete _0x34db24['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x11b33a=[];for(let _0xc3750b=0x0;_0xc3750b<this['_diffItems']['length'];_0xc3750b++){const {change:_0x2ac2d0,token:_0x4a1682}=this['_diffItems'][_0xc3750b];if('added'==_0x2ac2d0&&'element'==_0x4a1682['type']&&'container'==_0x4a1682['category']){if(_0x4a1682['isStart'])_0x11b33a['push'](this['_path']['slice']());else{if(!_0x4a1682['isStart']){const _0x3752b2=_0x11b33a['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x3752b2,'end':this['_path']['slice']()},'token':_0x4a1682}),this['_path'][this['_path']['length']-0x1]=_0x3752b2[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x2ac2d0||this['_markDeletions'])&&this['_traverseOverItem'](_0x4a1682);}}['_handleUnchanged'](_0x471e96,_0x2c4e5b){for(let _0x1326da=0x0;_0x1326da<_0x471e96['length'];_0x1326da++){const _0x44f7a5=_0x471e96[_0x1326da];if('element'==_0x44f7a5['type']&&_0x44f7a5['isStart']){const _0x1a5ccb=_0x2c4e5b[_0x1326da];'block'==_0x44f7a5['category']&&this['_handleElementRename'](_0x44f7a5['element'],_0x1a5ccb['element'],this['_path']),this['_handleElementAttributeChanges'](_0x44f7a5['element'],_0x1a5ccb['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x1a5ccb);}else{if('element'!=_0x44f7a5['type']||_0x44f7a5['isStart']){if('text'==_0x44f7a5['type']){const _0x401148=this['_path']['slice'](),_0x1dd7c5=[],_0xc98002=[];for(;_0x471e96[_0x1326da]&&'text'==_0x471e96[_0x1326da]['type'];)_0x1dd7c5['push'](_0x471e96[_0x1326da]),_0xc98002['push'](_0x2c4e5b[_0x1326da]),this['_path'][this['_path']['length']-0x1]+=_0x471e96[_0x1326da]['data']['length'],_0x1326da++;_0x1326da--,this['_handleTextAttributeChanges'](_0x1dd7c5,_0xc98002,_0x401148);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x35164b,_0xcdf610,_0x32e89a){const _0x73704c=[],_0x106616=[],_0x1ae3e4=_0x32e89a['slice']();let _0x5b6947=this['_parents']['length']-0x1;for(let _0x5414ef=0x0;_0x5414ef<_0x35164b['length'];_0x5414ef++){const _0x48e50d=_0x35164b[_0x5414ef],_0x4188af=_0x32e89a['slice']();'element'!=_0x48e50d['type']||_0x48e50d['isStart']?'element'==_0x48e50d['type']&&_0x48e50d['isStart']?(_0x32e89a['push'](0x0),_0x5b6947++,_0x106616['push']({'before':_0x4188af,'after':_0x32e89a['slice'](),'index':_0x5414ef})):_0x32e89a[_0x32e89a['length']-0x1]+=_0x48e50d['data']['length']:(_0x32e89a['pop'](),_0x32e89a[_0x32e89a['length']-0x1]++,_0x5b6947--,_0x106616['length']?_0x106616['pop']():_0x73704c['push']({'before':_0x4188af,'after':_0x32e89a['slice'](),'index':_0x5414ef}));}if(_0x106616['length']!==_0x73704c['length'])throw new _0x567c0e('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x35164b,'isRemove':_0xcdf610});const _0x3b543d=[{'after':_0x1ae3e4['slice'](),'index':-0x1},..._0x73704c,..._0x106616,{'before':_0x32e89a['slice'](),'index':_0x35164b['length']}];if(_0xcdf610){for(let _0x5e90b4=_0x3b543d['length']-0x1;_0x5e90b4>=0x1;_0x5e90b4--){const _0x4f6f94=_0x3b543d[_0x5e90b4-0x1]['after'],_0x31b87f=_0x3b543d[_0x5e90b4]['before'],_0x522ab7=_0x31b87f[_0x31b87f['length']-0x1]-_0x4f6f94[_0x4f6f94['length']-0x1];_0x522ab7&&(this['_operationsData']['push']({'type':'remove','path':_0x4f6f94,'howMany':_0x522ab7}),_0x31b87f[_0x31b87f['length']-0x1]-=_0x522ab7);}for(const {before:_0x5a16f6}of _0x73704c)this['_operationsData']['push']({'type':'merge','path':_0x5a16f6});}else for(let _0x117fb1=0x0;_0x117fb1<_0x3b543d['length']-0x1;_0x117fb1++){const _0x1529c2=_0x3b543d[_0x117fb1]['after'],_0xf6c1fb=_0x3b543d[_0x117fb1+0x1]['before'],_0xb1e5aa=_0x3b543d[_0x117fb1]['index']+0x1,_0x82c30=_0x3b543d[_0x117fb1+0x1]['index'];if(_0xb1e5aa!==_0x82c30&&this['_operationsData']['push']({'type':'insert','path':_0x1529c2,'tokens':_0x35164b['slice'](_0xb1e5aa,_0x82c30)}),_0x117fb1<_0x73704c['length']){this['_operationsData']['push']({'type':'split','path':_0xf6c1fb});const _0x12642c=_0x35164b[_0x106616[_0x106616['length']-0x1-_0x117fb1]['index']],_0xf4218e=this['_parents'][_0x5b6947]['element'];_0xf4218e['name']!=_0x12642c['element']['name']&&this['_addSplitPostponedData'](_0x12642c['element'],{'type':'rename','oldValue':_0xf4218e['name']});const _0x1e7f57=this['_getAttributeChanges'](_0xf4218e['getAttributes'](),_0x12642c['element']['getAttributes']());for(const _0x3c7219 in _0x1e7f57){const _0x54f731=_0x1e7f57[_0x3c7219]['oldValue'];this['_addSplitPostponedData'](_0x12642c['element'],{'type':'attribute','key':_0x3c7219,'oldValue':_0x54f731});}}}}['_addSplitPostponedData'](_0x371a3d,_0xf5b3eb){const _0x1f619d=this['_splitPostponedData']['get'](_0x371a3d)||[];_0x1f619d['push'](_0xf5b3eb),this['_splitPostponedData']['set'](_0x371a3d,_0x1f619d);}['_traverseOverItem'](_0x533fe0){'element'==_0x533fe0['type']&&_0x533fe0['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x533fe0)):'element'!=_0x533fe0['type']||_0x533fe0['isStart']?'text'==_0x533fe0['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x533fe0['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x49ef21,_0x1cb4e7,_0x427da2){_0x49ef21['name']!=_0x1cb4e7['name']&&this['_operationsData']['push']({'type':'rename','path':_0x427da2['slice'](),'oldName':_0x49ef21['name'],'newName':_0x1cb4e7['name']});}['_handleElementAttributeChanges'](_0x400d6b,_0x308990,_0x4ee7b1){const _0xb1049=this['_getAttributeChanges'](_0x400d6b['getAttributes'](),_0x308990['getAttributes']());for(const _0x1e11be in _0xb1049){const {oldValue:_0x44e5ee,newValue:_0x112147}=_0xb1049[_0x1e11be];this['_operationsData']['push']({'type':'attribute','path':_0x4ee7b1['slice'](),'howMany':0x1,'key':_0x1e11be,'oldValue':_0x44e5ee,'newValue':_0x112147});}}['_handleTextAttributeChanges'](_0x340783,_0x1db707,_0x4614b3){const _0x5103bf=this['_operationsData'],_0x645f1e=_0x340783[0x0]['parent'],_0x2d1a45=_0x340783[0x0]['offset'],_0x1ad686=_0x1db707[0x0]['parent'],_0x9c18b9=_0x1db707[0x0]['offset'],_0x380d99=_0x340783['reduce']((_0x1f9b09,_0x328efc)=>_0x1f9b09+_0x328efc['data']['length'],0x0),_0xce7bbc=this['_getAttrsForOffsets'](_0x645f1e,_0x2d1a45,_0x380d99),_0x543567=this['_getAttrsForOffsets'](_0x1ad686,_0x9c18b9,_0x380d99),_0x2fec66={};for(let _0x1b695f=0x0;_0x1b695f<_0x380d99;_0x1b695f++){const _0x207d2b=_0xce7bbc[_0x2d1a45+_0x1b695f],_0x2c72fb=_0x543567[_0x9c18b9+_0x1b695f],_0x59e610=this['_getAttributeChanges'](_0x207d2b,_0x2c72fb);for(const _0x824137 in _0x2fec66)_0x59e610[_0x824137]||_0x4dcd2(_0x824137);for(const _0x5ec84e in _0x59e610){const {oldValue:_0x126774,newValue:_0x31e50b}=_0x59e610[_0x5ec84e],_0x37303b=_0x2fec66[_0x5ec84e];_0x37303b?_0x37303b['oldValue']==_0x126774&&_0x37303b['newValue']==_0x31e50b?_0x37303b['length']++:(_0x4dcd2(_0x5ec84e),_0x2fec66[_0x5ec84e]={'oldValue':_0x126774,'newValue':_0x31e50b,'start':_0x1b695f,'length':0x1}):_0x2fec66[_0x5ec84e]={'oldValue':_0x126774,'newValue':_0x31e50b,'start':_0x1b695f,'length':0x1};}}for(const _0x272726 in _0x2fec66)_0x4dcd2(_0x272726);function _0x4dcd2(_0x5cecc5){const _0x18ee94=_0x2fec66[_0x5cecc5],_0x24e5f5=_0x4614b3['slice']();_0x24e5f5[_0x24e5f5['length']-0x1]+=_0x18ee94['start'],_0x5103bf['push']({'type':'attribute','path':_0x24e5f5,'howMany':_0x18ee94['length'],'key':_0x5cecc5,'oldValue':_0x18ee94['oldValue'],'newValue':_0x18ee94['newValue']}),delete _0x2fec66[_0x5cecc5];}}['_getAttributeChanges'](_0x2369ca,_0xe1a1c3){const _0x4fa4c8={};for(const [_0x12a03f,_0x3d988b]of _0x2369ca)_0x4fa4c8[_0x12a03f]={'oldValue':JSON['stringify'](_0x3d988b),'newValue':'null'};for(const [_0x4823a4,_0x23ca49]of _0xe1a1c3){const _0x8a6589=JSON['stringify'](_0x23ca49);_0x4fa4c8[_0x4823a4]?_0x4fa4c8[_0x4823a4]['oldValue']==_0x8a6589?delete _0x4fa4c8[_0x4823a4]:_0x4fa4c8[_0x4823a4]['newValue']=_0x8a6589:_0x4fa4c8[_0x4823a4]={'oldValue':'null','newValue':_0x8a6589};}return delete _0x4fa4c8[lt],_0x4fa4c8;}['_getAttrsForOffsets'](_0x456c40,_0x1b5dba,_0x586be1){const _0x1bb818=new Array(_0x1b5dba+_0x586be1);let _0x15b150=_0x456c40['getChildAtOffset'](_0x1b5dba),_0x1b2c98=_0x15b150['startOffset'];for(;_0x15b150&&_0x1b2c98<_0x1b5dba+_0x586be1;){const _0x5bbab6=Array['from'](_0x15b150['getAttributes']());_0x1bb818['fill'](_0x5bbab6,_0x1b2c98,_0x1b2c98+_0x15b150['offsetSize']),_0x1b2c98+=_0x15b150['offsetSize'],_0x15b150=_0x15b150['nextSibling'];}return _0x1bb818;}['_getPositionFromAnchorAndPath'](_0x2ae690,_0x1fa064){const _0x2a0404=[..._0x2ae690['path']['slice'](0x0,-0x1),_0x2ae690['offset']+_0x1fa064[0x0],..._0x1fa064['slice'](0x1)];return new _0x6b9db2(_0x2ae690['root'],_0x2a0404);}['_makeModelFromTokens'](_0xfa19b3){const _0x2f374a=[];let _0x34f5ae=null;for(const _0x1a7edb of _0xfa19b3)if('element'!=_0x1a7edb['type']||_0x1a7edb['isStart']||_0x34f5ae!=_0x1a7edb['element']){if(!_0x34f5ae){if('text'==_0x1a7edb['type']){const _0x975d64=_0x6b9db2['_createAt'](_0x1a7edb['parent'],_0x1a7edb['offset']),_0x20a21f=_0x326622['_createFromPositionAndShift'](_0x975d64,_0x1a7edb['data']['length']),_0x560655=Array['from'](_0x20a21f['getItems']())['map'](_0x49b199=>new _0x1f4480(_0x49b199['data'],_0x49b199['getAttributes']()));_0x2f374a['push'](..._0x560655);}else{_0x34f5ae=_0x1a7edb['element'];const _0x558491=_0x1a7edb['element']['_clone'](!0x0);_0x558491['_removeAttribute'](lt);for(const _0x556074 of this['_editor']['model']['createRangeIn'](_0x558491)['getItems']())_0x556074['is']('element')&&_0x556074['_removeAttribute'](lt);_0x2f374a['push'](_0x558491);}}}else _0x34f5ae=null;return _0x2f374a;}}function ht(_0x31f48d,_0x400f3d){return _0x31f48d['type']===_0x400f3d['type']&&(_0x31f48d['limitId']===_0x400f3d['limitId']&&('text'==_0x31f48d['type']?_0x31f48d['data']==_0x400f3d['data']:function(_0x2b707d,_0x43038d){if(_0x2b707d['isStart']!=_0x43038d['isStart'])return!0x1;if(_0x2b707d['isStart']&&_0x2b707d['elementId']!=_0x43038d['elementId'])return!0x1;if(_0x2b707d['category']!=_0x43038d['category'])return!0x1;if('block'==_0x2b707d['category'])return!0x0;if('container'==_0x2b707d['category']&&_0x2b707d['elementId']!=_0x43038d['elementId'])return!0x1;return _0x2b707d['element']['name']==_0x43038d['element']['name'];}(_0x31f48d,_0x400f3d)));}function dt(_0xbdd363){return J({'name':_0xbdd363['name'],...Object['fromEntries'](_0xbdd363['getAttributes']())});}export{AriaDescriptionView,CollaborationUserColor,G as ConfirmMixin,lt as DATA_ID_MODEL_ATTRIBUTE,ut as DATA_ID_VIEW_ATTRIBUTE,DocumentCompare,DocumentDiff,ot as FOCUS_ANNOTATION_KEYSTROKE,LateFocusButtonView,LateFocusDropdownButtonView,Permissions,SuggestionsConversion,User,UserView,Users,U as fixElementSuggestionRange,W as getAllMarkersDomElementsSorted,z as getDateTimeFormatter,R as getMarkerDomElement,J as hashObject,it as sanitizeEditorConfig,rt as setupThreadKeyboardNavigation,O as splitSuggestionMarkerName,nt as surroundingMarkersDetector,j 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':_0x3087f0=>0x1!=_0x3087f0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x19c366=>{const {af:{dictionary:_0x3193d2,getPluralForm:_0x115f32}}={'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':_0x323ce0=>0x1!=_0x323ce0}};_0x19c366['af']||={'dictionary':{},'getPluralForm':null},_0x19c366['af']['dictionary']=Object['assign'](_0x19c366['af']['dictionary'],_0x3193d2),_0x19c366['af']['getPluralForm']=_0x115f32;})(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':_0x415b4b=>0x0==_0x415b4b?0x0:0x1==_0x415b4b?0x1:0x2==_0x415b4b?0x2:_0x415b4b%0x64>=0x3&&_0x415b4b%0x64<=0xa?0x3:_0x415b4b%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x459760=>{const {ar:{dictionary:_0x54e6f5,getPluralForm:_0x292053}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x4acc5f=>0x0==_0x4acc5f?0x0:0x1==_0x4acc5f?0x1:0x2==_0x4acc5f?0x2:_0x4acc5f%0x64>=0x3&&_0x4acc5f%0x64<=0xa?0x3:_0x4acc5f%0x64>=0xb?0x4:0x5}};_0x459760['ar']||={'dictionary':{},'getPluralForm':null},_0x459760['ar']['dictionary']=Object['assign'](_0x459760['ar']['dictionary'],_0x54e6f5),_0x459760['ar']['getPluralForm']=_0x292053;})(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':_0x2c753e=>0x1!=_0x2c753e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x420253=>{const {ast:{dictionary:_0xc5ef76,getPluralForm:_0x1ee92b}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x24b5b7=>0x1!=_0x24b5b7}};_0x420253['ast']||={'dictionary':{},'getPluralForm':null},_0x420253['ast']['dictionary']=Object['assign'](_0x420253['ast']['dictionary'],_0xc5ef76),_0x420253['ast']['getPluralForm']=_0x1ee92b;})(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':_0x3ba1b8=>0x1!=_0x3ba1b8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2900aa=>{const {az:{dictionary:_0xe0b822,getPluralForm:_0x23d7b4}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x49ef03=>0x1!=_0x49ef03}};_0x2900aa['az']||={'dictionary':{},'getPluralForm':null},_0x2900aa['az']['dictionary']=Object['assign'](_0x2900aa['az']['dictionary'],_0xe0b822),_0x2900aa['az']['getPluralForm']=_0x23d7b4;})(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':_0x28839a=>_0x28839a%0xa==0x1&&_0x28839a%0x64!=0xb?0x0:_0x28839a%0xa>=0x2&&_0x28839a%0xa<=0x4&&(_0x28839a%0x64<0xa||_0x28839a%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xef97aa=>{const {be:{dictionary:_0x2e2044,getPluralForm:_0x414408}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x258345=>_0x258345%0xa==0x1&&_0x258345%0x64!=0xb?0x0:_0x258345%0xa>=0x2&&_0x258345%0xa<=0x4&&(_0x258345%0x64<0xa||_0x258345%0x64>=0x14)?0x1:0x2}};_0xef97aa['be']||={'dictionary':{},'getPluralForm':null},_0xef97aa['be']['dictionary']=Object['assign'](_0xef97aa['be']['dictionary'],_0x2e2044),_0xef97aa['be']['getPluralForm']=_0x414408;})(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':_0xf8c72c=>0x1!=_0xf8c72c}};
|