@ckeditor/ckeditor5-collaboration-core 47.7.0-alpha.3 → 47.7.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +13 -13
- package/src/documentcompare.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestions/integrations/alignment.js +1 -1
- package/src/suggestions/integrations/basicstyles.js +1 -1
- package/src/suggestions/integrations/bookmark.js +1 -1
- package/src/suggestions/integrations/font.js +1 -1
- package/src/suggestions/integrations/footnotes.js +1 -1
- package/src/suggestions/integrations/highlight.js +1 -1
- package/src/suggestions/integrations/horizontalline.js +1 -1
- package/src/suggestions/integrations/htmlembed.js +1 -1
- package/src/suggestions/integrations/image.js +1 -1
- package/src/suggestions/integrations/indent.js +1 -1
- package/src/suggestions/integrations/lineheight.js +1 -1
- package/src/suggestions/integrations/link.js +1 -1
- package/src/suggestions/integrations/list.js +1 -1
- package/src/suggestions/integrations/listproperties.js +1 -1
- package/src/suggestions/integrations/mediaembed.js +1 -1
- package/src/suggestions/integrations/multilevellist.js +1 -1
- package/src/suggestions/integrations/shiftenter.js +1 -1
- package/src/suggestions/integrations/style.js +1 -1
- package/src/suggestions/integrations/table.js +1 -1
- package/src/suggestions/integrations/tablecellproperties.js +1 -1
- package/src/suggestions/integrations/tableheadings.js +1 -1
- package/src/suggestions/integrations/tablelayout.js +1 -1
- package/src/suggestions/integrations/tableproperties.js +1 -1
- package/src/suggestions/integrations/uploadcare.js +1 -1
- package/src/suggestions/suggestionsconversion.js +1 -1
- package/src/suggestions/view/ariadescriptionview.js +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/setupthreadkeyboardnavigation.js +1 -1
- package/src/utils/suggestionmarkerutils.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0x48658f,Editor as _0xfd27a3,Plugin as _0x5b9864}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x3a4944,Collection as _0x456ce3,uid as _0x20b13b,toArray as rt,first as _0x534f32,FocusTracker as _0x105693,KeystrokeHandler as _0x523adf}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0xe7353f,IconView as st,ButtonView as ts,DropdownButtonView as _0x33ad50,FocusCycler as _0x362368,isViewWithFocusCycler as _0x40fbf3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as it,IconCheck as _0xa42e04,IconCancel as _0x540837}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as at,toWidget as _0x2977e1}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0xd1b70,MoveOperation as _0x9af5fd,ModelPosition as _0x215bb7,ModelRange as _0xce3873,MarkerOperation as _0x3055f8,MergeOperation as _0x1c5119,SplitOperation as _0x2d8e5b,RenameOperation as _0x28010f,AttributeOperation as _0xe7a38b,ModelTreeWalker as _0x4c48a,ModelText as _0x44e0ab}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x4905fb}from'diff';class C extends _0x48658f{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x4d6421,_0x242b26){let _0x21f7a2;if(_0x242b26||(_0x242b26=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x242b26?_0x21f7a2=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x21f7a2=this['context']['editors']['find'](_0x3fc549=>_0x3fc549['config']['get']('collaboration.channelId')==_0x242b26)),!_0x21f7a2)throw new _0x3a4944('permissions-set-permissions-invalid-channel-id',null);const _0x1db422=_0x21f7a2['plugins'],_0x1f2661=_0x1db422['has']('CommentsRepository')?_0x1db422['get']('CommentsRepository'):void 0x0,_0x3d2bab=_0x1db422['has']('CommentsOnly')&&_0x1db422['get']('CommentsOnly'),_0x35975a=_0x4d6421['includes']('document:write'),_0x4e602a=_0x4d6421['includes']('comment:modify_all'),_0x523f45=_0x4d6421['includes']('comment:admin'),_0x2ab6fd=_0x4d6421['includes']('comment:write'),_0x2ecd81=_0x2ab6fd||_0x523f45,_0x5d012e=_0x2ecd81||_0x4e602a,_0x40df0a=_0x35975a||_0x2ecd81;(_0x3d2bab&&(_0x3d2bab['isEnabled']=!_0x35975a&&_0x5d012e),_0x21f7a2 instanceof _0xfd27a3)&&(!(_0x35975a||_0x5d012e&&_0x1f2661)?_0x21f7a2['enableReadOnlyMode']('no-permissions'):_0x21f7a2['disableReadOnlyMode']('no-permissions'));if(_0x1f2661){_0x1f2661['setPermissions']({'admin':_0x523f45,'modifyAll':_0x4e602a,'write':_0x2ab6fd,'resolve':_0x40df0a},_0x242b26);const _0x16b112=_0x21f7a2 instanceof _0xfd27a3&&_0x21f7a2['commands']['get']('addCommentThread');_0x16b112&&(_0x2ecd81?_0x16b112['clearForceDisabled']('noPermissions'):_0x16b112['forceDisabled']('noPermissions'));}}}function U(_0x151252,_0x5d6555){const t=_0x151252['t'];switch(_0x5d6555){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class ct extends _0x48658f{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}constructor(_0x42abb4){super(_0x42abb4),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x456ce3(),this['_locale']=_0x42abb4['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:_0x10f01b,name:_0x143773,..._0x2d8d70}){if(!_0x10f01b||'string'!=typeof _0x10f01b)throw new _0x3a4944('users-add-invalid-id');if(this['users']['has'](_0x10f01b))throw new _0x3a4944('users-add-duplicated-id',null,{'id':_0x10f01b});const _0x16db26=this['context']['config']['get']('users.getInitialsCallback'),_0x3d63d0={..._0x2d8d70,'id':_0x10f01b,'name':A(this['_locale'],_0x143773),'color':this['_getNextColor']()};_0x3d63d0['name']=A(this['_locale'],_0x3d63d0['name']);const _0x475f5c=new lt(_0x3d63d0,_0x16db26);return this['users']['add'](_0x475f5c),_0x475f5c;}['getUser'](_0x33cc9c){return this['users']['get'](_0x33cc9c);}['useAnonymousUser'](){const _0x5c7bf8=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x5c7bf8);}['defineMe'](_0x3d9733){if(this['_myId'])throw new _0x3a4944('users-me-already-defined',null);const _0x1230dd=this['getUser'](_0x3d9733);if(!_0x1230dd)throw new _0x3a4944('users-me-missing-user',null);this['_myId']=_0x3d9733,_0x1230dd['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x2fa063=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2fa063&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x1f5009=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x1f5009,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x4b9c55,_0x158156){this['id']=_0x4b9c55['id'],this['color']=_0x4b9c55['color'],this['name']=_0x4b9c55['name'],this['initials']=_0x158156?_0x158156(this['name']):this['_computeInitials'](),this['avatar']=_0x4b9c55['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x5566f2=this['name']['split']('\x20')['filter'](_0x7c8d31=>/^[\p{Letter}]/u['test'](_0x7c8d31));return 0x1===_0x5566f2['length']?this['_getInitial'](_0x5566f2[0x0]):0x0===_0x5566f2['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x5566f2[0x0])+this['_getInitial'](_0x5566f2[_0x5566f2['length']-0x1]);}['_getInitial'](_0x45908e){return String['fromCodePoint'](_0x45908e['codePointAt'](0x0))['toUpperCase']();}}function A(_0x78f7b,_0x40b3f0=''){return''==(_0x40b3f0=_0x40b3f0['trim']())?U(_0x78f7b,'Anonymous'):_0x40b3f0;}class ut{['_id'];constructor(_0x2af456){this['_id']=_0x2af456;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}}class ht extends _0xe7353f{['name'];['notificationView'];constructor(_0xa253b4,_0x53ba8b,_0x4b5e29){super(_0xa253b4),this['name']=_0x53ba8b['name'],this['notificationView']=null;const _0x280cfe=['ck','ck-user'],_0x491886=['ck','ck-user__img'];if(_0x53ba8b['isAnonymous']&&_0x491886['push']('ck-user__anonymous'),!_0x53ba8b['isAnonymous']&&_0x53ba8b['isMe']&&_0x280cfe['push']('ck-user_me'),_0x53ba8b['avatar']&&_0x491886['push']('ck-user__avatar'),_0x4b5e29){const _0x1c499=new st();_0x1c499['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x1c499['content']=it,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4b5e29},'children':[_0x1c499]};}const _0x5a2775=[{'tag':'div','attributes':{'class':_0x491886,'style':{'background-image':_0x53ba8b['avatar']?'url(\x27'+_0x53ba8b['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x53ba8b['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x53ba8b['name']},'children':[{'text':_0x53ba8b['initials']}]}];this['notificationView']&&_0x5a2775['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x280cfe,'data-user-id':_0x53ba8b['id']},'children':_0x5a2775});}}class dt extends _0xe7353f{['id'];constructor(_0x8e46e6,_0x355601){super(_0x8e46e6),this['id']='ck-aria-description-'+_0x20b13b(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x355601}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x33ad50{['render'](){super['render'](),re(this);}}function re(_0x1f3d6f){_0x1f3d6f['listenTo'](_0x1f3d6f['element'],'mousedown',(_0x242b16,_0x44055d)=>{_0x44055d['stopPropagation'](),_0x44055d['preventDefault']();}),_0x1f3d6f['listenTo'](_0x1f3d6f['element'],'mouseup',()=>{_0x1f3d6f['element']['focus']();});}function v(_0x2e96d9){const _0x1a1356=_0x2e96d9['split'](':');return{'group':_0x1a1356[0x0],'type':_0x1a1356[0x1],'subType':_0x1a1356['length']>=0x5?_0x1a1356[0x2]:null,'id':_0x1a1356['length']<0x5?_0x1a1356[0x2]:_0x1a1356[0x3],'authorId':_0x1a1356['length']<0x5?_0x1a1356[0x3]:_0x1a1356[0x4],'markerCount':0x6==_0x1a1356['length']?_0x1a1356[0x5]:null};}function mt(_0x4d1d3a,_0x32830f){const _0x5cf93f=_0x4d1d3a['end']['nodeBefore'];if(_0x5cf93f&&_0x5cf93f['is']('element')&&_0x32830f['schema']['isBlock'](_0x5cf93f)&&!_0x32830f['schema']['isObject'](_0x5cf93f)){const _0xce0461=_0x32830f['createPositionAt'](_0x5cf93f,'end');return _0x32830f['createRange'](_0x4d1d3a['start'],_0xce0461);}return _0x4d1d3a;}class M extends _0x5b9864{['afterInit'](){const _0x5e0d41=this['editor'];if(!_0x5e0d41['plugins']['has']('AlignmentEditing'))return;_0x5e0d41['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x5b9864{['afterInit'](){const _0xfc6297=this['editor'],_0x48a426=_0xfc6297['plugins']['get']('SuggestionsConversion');for(const _0x24c933 of ii){if(!_0xfc6297['plugins']['has'](_0x24c933))continue;const _0x221638=_0x24c933['slice'](0x0,-0x7)['toLowerCase']();_0x48a426['registerInlineAttribute'](_0x221638);}}}class I extends _0x5b9864{['afterInit'](){const _0x4bb445=this['editor'],_0x2ca514=_0x4bb445['plugins']['get']('SuggestionsConversion');_0x4bb445['plugins']['has']('BookmarkEditing')&&_0x2ca514['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x5b9864{['afterInit'](){const _0x51b070=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x5bb3ee,commandName:_0x4738c9}of no)this['editor']['plugins']['has'](_0x5bb3ee)&&_0x51b070['registerInlineAttribute'](_0x4738c9);}}class T extends _0x5b9864{['afterInit'](){const {editor:_0x537764}=this;if(!_0x537764['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x34359f=_0x537764['plugins']['get']('SuggestionsConversion');_0x34359f['registerBlockAttribute']('footnotesListStyle'),_0x34359f['registerBlockAttribute']('footnotesListStart');}}class E extends _0x5b9864{['afterInit'](){const _0x24f361=this['editor'];if(!_0x24f361['plugins']['has']('HighlightEditing'))return;_0x24f361['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x5b9864{['afterInit'](){const _0x538c15=this['editor'];if(!_0x538c15['plugins']['has']('HtmlEmbed'))return;_0x538c15['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x5b9864{['afterInit'](){const _0x5d7a18=this['editor'];if(!_0x5d7a18['plugins']['has']('ImageEditing'))return;const _0x48624d=_0x5d7a18['plugins']['get']('SuggestionsConversion');_0x48624d['registerBlockAttribute']('src'),_0x5d7a18['plugins']['has']('ImageResize')&&_0x48624d['registerBlockAttribute']('resizedWidth'),_0x5d7a18['plugins']['has']('ImageTextAlternativeEditing')&&_0x48624d['registerBlockAttribute']('alt'),_0x5d7a18['plugins']['has']('PictureEditing')&&_0x48624d['registerBlockAttribute']('sources'),_0x5d7a18['plugins']['has']('ImageSizeAttributes')&&(_0x48624d['registerBlockAttribute']('width'),_0x48624d['registerBlockAttribute']('height'));}}class x extends _0x5b9864{['afterInit'](){const _0x4bcb9a=this['editor'],_0x1a5c12=_0x4bcb9a['plugins']['get']('SuggestionsConversion');_0x4bcb9a['plugins']['has']('IndentBlock')&&(_0x1a5c12['registerBlockAttribute']('blockIndent'),_0x4bcb9a['plugins']['has']('ListEditing')&&(_0x1a5c12['registerBlockAttribute']('blockIndentList'),_0x1a5c12['registerBlockAttribute']('blockIndentListItem')));}}class H extends _0x5b9864{['afterInit'](){const _0x1288e1=this['editor'];if(!_0x1288e1['plugins']['has']('LineHeight'))return;_0x1288e1['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x5b9864{['afterInit'](){const _0x285265=this['editor'];if(!_0x285265['plugins']['has']('LinkEditing'))return;const _0x323047=_0x285265['plugins']['get']('SuggestionsConversion'),_0x3af24c=_0x285265['commands']['get']('link');_0x323047['registerInlineAttribute']('linkHref');for(const _0x2c28d5 of _0x3af24c['manualDecorators'])_0x323047['registerInlineAttribute'](_0x2c28d5['id']);}}class P extends _0x5b9864{['afterInit'](){const _0x3ab926=this['editor'];if(!_0x3ab926['plugins']['has']('ListEditing'))return;const _0x4578fb=_0x3ab926['plugins']['get']('SuggestionsConversion'),_0x26a8bd=_0x3ab926['plugins']['has']('TodoListEditing');_0x4578fb['registerBlockAttribute']('listItemId'),_0x4578fb['registerBlockAttribute']('listType'),_0x4578fb['registerBlockAttribute']('listIndent'),_0x26a8bd&&_0x4578fb['registerBlockAttribute']('todoListChecked');}}class K extends _0x5b9864{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x54824e=this['editor']['config']['get']('list.properties'),_0x51a5b7=this['editor']['plugins']['get']('SuggestionsConversion');_0x54824e['styles']&&_0x51a5b7['registerBlockAttribute']('listStyle'),_0x54824e['reversed']&&_0x51a5b7['registerBlockAttribute']('listReversed'),_0x54824e['startIndex']&&_0x51a5b7['registerBlockAttribute']('listStart');}}class q extends _0x5b9864{['afterInit'](){const _0x1e14ad=this['editor'],_0x377248=_0x1e14ad['plugins']['get']('SuggestionsConversion');_0x1e14ad['plugins']['has']('MultiLevelList')&&_0x377248['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x5b9864{['afterInit'](){const _0x376538=this['editor'];if(!_0x376538['plugins']['has']('Style')||!_0x376538['plugins']['has']('DataSchema')||!_0x376538['config']['get']('style.definitions'))return;const _0x4ee09a=_0x376538['plugins']['get']('SuggestionsConversion'),_0x316528=_0x376538['config']['get']('style.definitions'),_0x38d081=_0x376538['plugins']['get']('GeneralHtmlSupport'),_0x5d93c3=_0x376538['plugins']['get']('StyleUtils')['normalizeConfig'](_0x376538['plugins']['get']('DataSchema'),_0x316528),_0x106e59=new Set();for(const _0x33b876 of _0x5d93c3['block']){const _0xc9692d=_0x38d081['getGhsAttributeNameForElement'](_0x33b876['element']);_0x106e59['add'](_0xc9692d);}const _0xa845fa=new Set();for(const _0x3b6eb1 of _0x5d93c3['inline']){const _0x4ee5c8=_0x38d081['getGhsAttributeNameForElement'](_0x3b6eb1['element']);_0xa845fa['add'](_0x4ee5c8);for(const _0x35eec4 of _0x3b6eb1['ghsAttributes'])_0xa845fa['add'](_0x35eec4);}for(const _0x4b40a1 of _0x106e59)_0x4ee09a['registerBlockAttribute'](_0x4b40a1);for(const _0x557a50 of _0xa845fa)_0x4ee09a['registerInlineAttribute'](_0x557a50);}}class O extends _0x5b9864{['afterInit'](){const _0x3bb602=this['editor'];if(!_0x3bb602['plugins']['has']('TableEditing'))return;const _0x136c10=_0x3bb602['plugins']['get']('SuggestionsConversion');_0x136c10['registerBlockAttribute']('headingRows'),_0x136c10['registerBlockAttribute']('headingColumns');}}class R extends _0x5b9864{['afterInit'](){const {plugins:_0x4b8b84}=this['editor'];if(!_0x4b8b84['has']('TablePropertiesEditing'))return;const _0x9191e6=_0x4b8b84['get']('SuggestionsConversion'),_0x27efe0=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x1be6b7 of _0x27efe0)_0x9191e6['registerBlockAttribute'](_0x1be6b7);}}class F extends _0x5b9864{['afterInit'](){const _0x5d2970=this['editor'],_0x2b5c29=_0x5d2970['plugins']['get']('SuggestionsConversion');_0x5d2970['plugins']['has']('TableLayout')&&_0x2b5c29['registerBlockAttribute']('tableType');}}class G extends _0x5b9864{['afterInit'](){const _0x5ec632=this['editor'],_0x497deb=this['editor']['plugins']['get']('SuggestionsConversion');_0x5ec632['plugins']['has']('Uploadcare')&&_0x5ec632['plugins']['has']('UploadcareImageEdit')&&_0x497deb['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x5b9864{['afterInit'](){const _0x42f8b2=this['editor'];if(!_0x42f8b2['plugins']['has']('ShiftEnter'))return;const _0xbd583c=_0x42f8b2['plugins']['get']('SuggestionsConversion'),_0x4d2bf9=(_0x50680b,_0x1186ec,_0x19ee98,_0x1b4766)=>{if(_0x1b4766&&!_0x19ee98['options']['showSuggestionHighlights'])return;if(!_0x19ee98['consumable']['test'](_0x1186ec['markerRange'],_0x50680b['name']))return;const _0x13130d=_0x42f8b2['model'];for(const _0x5dea07 of _0x1186ec['markerRange']['getItems']()){if(!_0x5dea07['is']('element','softBreak'))continue;const _0x300e4f='deletion'==_0x1186ec['markerName']['split'](':')[0x1]?'merge':'split',{id:_0xc2edb,authorId:_0x4e9996}=v(_0x1186ec['markerName']),_0x41fe34=_0x19ee98['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x300e4f,'data-suggestion':_0xc2edb,'data-author-id':_0x4e9996}),_0x31f1e3=_0x19ee98['mapper']['toViewPosition'](_0x13130d['createPositionBefore'](_0x5dea07));!_0x1b4766&&_0xbd583c['_activeMarkers']['includes'](_0x1186ec['markerName'])&&_0x19ee98['writer']['addClass']('ck-suggestion-marker--active',_0x41fe34),_0x19ee98['writer']['insert'](_0x31f1e3,_0x41fe34),_0x19ee98['mapper']['bindElementToMarker'](_0x41fe34,_0x1186ec['markerName']);}};_0x42f8b2['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x26736b,_0x1153d3,_0x348fb8)=>{_0x4d2bf9(_0x26736b,_0x1153d3,_0x348fb8,!0x1);},{'priority':'high'}),_0x42f8b2['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x64ebc1,_0x5e89a9,_0x31cf45)=>{_0x4d2bf9(_0x64ebc1,_0x5e89a9,_0x31cf45,!0x0);},{'priority':'high'});}}class L extends _0x5b9864{['afterInit'](){const _0x2af74a=this['editor'];_0x2af74a['plugins']['has']('MediaEmbedEditing')&&(_0x2af74a['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x44e8f5,{writer:_0x3460a1,options:_0x637b38})=>{if(_0x637b38['showSuggestionHighlights'])return _0x3460a1['createEmptyElement']('div');},'converterPriority':'high'}),_0x2af74a['data']['downcastDispatcher']['on']('attribute:url:media',(_0x3c16f4,_0x370d2f,_0x5105cc)=>{_0x5105cc['options']['showSuggestionHighlights']&&_0x3c16f4['stop']();},{'priority':'high'}));}}class Q extends _0x5b9864{['afterInit'](){const _0x55c8a8=this['editor'];if(!_0x55c8a8['plugins']['has']('Table'))return;_0x55c8a8['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x110bc7,_0x26fd31,_0x3d39d2)=>{((_0x2d1e16,_0x835426,_0x26cde7)=>{if(!_0x26cde7['options']['showSuggestionHighlights'])return;const _0xc631af=_0x835426['item'];if(!_0xc631af||!_0xc631af['is']('element','tableCell'))return;const _0x49992a=_0x26cde7['mapper']['toViewElement'](_0xc631af);if(_0x49992a){const {id:_0xc681f,authorId:_0x23861c}=v(_0x835426['markerName']);at(_0x49992a,_0x26cde7['writer'],(_0x1b3492,_0x2c8461,_0xecc4e2)=>{_0xecc4e2['addClass'](rt(_0x2c8461['classes']),_0x1b3492),_0xecc4e2['setAttribute']('data-suggestion-id',_0xc681f,_0x1b3492),_0xecc4e2['setAttribute']('data-author-id',_0x23861c,_0x1b3492);});}})(0x0,_0x26fd31,_0x3d39d2);},{'priority':'highest'});}}class V extends _0x5b9864{['afterInit'](){const _0x8e93d5=this['editor'];_0x8e93d5['plugins']['has']('HorizontalLineEditing')&&_0x8e93d5['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x19976c,{writer:_0x338b4b,options:_0xbf0e2d})=>{if(!_0xbf0e2d['showSuggestionHighlights'])return null;const _0x5e1599=_0x338b4b['createContainerElement']('div'),_0x2c9cfb=_0x338b4b['createEmptyElement']('hr');return _0x338b4b['addClass']('ck-horizontal-line',_0x5e1599),_0x338b4b['insert'](_0x338b4b['createPositionAt'](_0x5e1599,0x0),_0x2c9cfb),_0x5e1599;},'converterPriority':'high'});}}class W extends _0x5b9864{['afterInit'](){const {plugins:_0x1e5dae,model:_0x739d61}=this['editor'];if(!_0x1e5dae['has']('TableCellPropertiesEditing'))return;const _0x270689=_0x1e5dae['get']('SuggestionsConversion'),_0x29aa51=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x2bd929 of _0x29aa51)_0x270689['registerBlockAttribute'](_0x2bd929);_0x739d61['schema']['checkAttribute']('tableCell','tableCellType')&&_0x270689['registerBlockAttribute']('tableCellType');}}class kt extends _0x5b9864{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[M,D,I,B,T,E,V,S,$,x,H,N,P,K,L,q,J,z,Q,O,F,W,R,G];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5b9e20=this['editor'],_0x1bb9f3=(_0x5df3cb,_0x46ed5a,_0x1fa5ba)=>{const {id:_0xd7506,authorId:_0x3218c0,type:_0x15b7c1,subType:_0x268438}=v(_0x5df3cb['markerName']),_0x55c974=['ck-suggestion-marker',this['_getClassName'](_0x15b7c1,_0x268438)];let _0xbaf0b2=0xbb8;return!_0x1fa5ba&&(this['_activeMarkers']['includes'](_0x5df3cb['markerName'])&&(_0x55c974['push']('ck-suggestion-marker--active'),_0xbaf0b2=0xbc2)),('deletion'==_0x15b7c1&&(_0xbaf0b2+=0x5),{'classes':_0x55c974,'attributes':{'data-suggestion':_0xd7506,'data-author-id':_0x3218c0},'priority':_0xbaf0b2});};_0x5b9e20['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x3ee5a0,_0x1b9d78)=>_0x1bb9f3(_0x3ee5a0,0x0,!0x1)}),_0x5b9e20['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0xa51308,_0x48754a)=>_0x1bb9f3(_0xa51308,0x0,!0x0)}),_0x5b9e20['conversion']['for']('dataDowncast')['add'](_0x9cd977=>{_0x9cd977['on']('addMarker:suggestion',(_0x90d733,_0x306769,_0x3aec95)=>{if(!_0x3aec95['options']['showSuggestionHighlights'])return;const _0x249747=_0x306769['item'];if(!_0x249747)return;const _0x271267=_0x3aec95['mapper']['toViewElement'](_0x249747);_0x5b9e20['model']['schema']['isObject'](_0x249747)&&_0x271267&&!_0x271267['getCustomProperty']('widget')&&_0x271267['is']('containerElement')&&_0x2977e1(_0x271267,_0x3aec95['writer']);},{'priority':'high'});});const _0x438e08=(_0x93adcb,_0x57aa5d,_0x2b745e,_0x2ac8de,_0x25f607)=>{if(_0x2ac8de&&!_0x2b745e['options']['showSuggestionHighlights'])return;if(!_0x57aa5d['item'])return;const {id:_0x502725,authorId:_0x2a5ec2,subType:_0x378472}=v(_0x57aa5d['markerName']);if(_0x25f607){const _0x3f51a9=_0x378472['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3f51a9))return;}if(_0x57aa5d['item']['is']('selection'))return void _0x2b745e['consumable']['consume'](_0x57aa5d['item'],_0x93adcb['name']);const _0x4b5836=_0x2b745e['mapper']['toViewElement'](_0x57aa5d['item']);if(_0x57aa5d['item']['is']('element')&&_0x5b9e20['model']['schema']['isBlock'](_0x57aa5d['item'])&&!_0x4b5836['getCustomProperty']('addHighlight')){_0x2b745e['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x4b5836),_0x2b745e['writer']['setAttribute']('data-suggestion',_0x502725,_0x4b5836),_0x2b745e['writer']['setAttribute']('data-author-id',_0x2a5ec2,_0x4b5836),_0x2b745e['mapper']['bindElementToMarker'](_0x4b5836,_0x57aa5d['markerName']),_0x2ac8de||(this['_activeMarkers']['includes'](_0x57aa5d['markerName'])?_0x2b745e['writer']['addClass']('ck-suggestion-marker--active',_0x4b5836):_0x2b745e['writer']['removeClass']('ck-suggestion-marker--active',_0x4b5836));for(const _0x5563dc of _0x5b9e20['model']['createRangeIn'](_0x57aa5d['item'])['getItems']())_0x2b745e['consumable']['consume'](_0x5563dc,_0x93adcb['name']);_0x2b745e['consumable']['consume'](_0x57aa5d['item'],_0x93adcb['name']);}},_0x1a1a4a=(_0x3912fa,_0x2def24,_0x506ed1,_0xcdeb76)=>{const _0x5f8d60=_0x506ed1['mapper']['markerNameToElements'](_0x2def24['markerName']);if(_0x5f8d60){if(_0xcdeb76){const {subType:_0x31e7a4}=v(_0x2def24['markerName']),_0x3af72c=_0x31e7a4['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3af72c))return;}for(const _0x2b67d1 of _0x5f8d60)_0x2b67d1['getCustomProperty']('addHighlight')||(_0x506ed1['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x2b67d1),_0x506ed1['writer']['removeAttribute']('data-suggestion',_0x2b67d1),_0x506ed1['writer']['removeAttribute']('data-author-id',_0x2b67d1),_0x506ed1['mapper']['unbindElementFromMarkerName'](_0x2b67d1,_0x2def24['markerName']));}};_0x5b9e20['conversion']['for']('editingDowncast')['add'](_0x436748=>{_0x436748['on']('addMarker:suggestion:formatBlock',(_0x52f181,_0x4fc764,_0x3faf10)=>{_0x438e08(_0x52f181,_0x4fc764,_0x3faf10,!0x1,!0x1);},{'priority':'high'});}),_0x5b9e20['conversion']['for']('editingDowncast')['add'](_0x1e205b=>{_0x1e205b['on']('addMarker:suggestion:attribute',(_0x2e8c87,_0x2b6469,_0x12625c)=>{_0x438e08(_0x2e8c87,_0x2b6469,_0x12625c,!0x1,!0x0);},{'priority':'high'});}),_0x5b9e20['conversion']['for']('editingDowncast')['add'](_0x1d4c39=>{_0x1d4c39['on']('removeMarker:suggestion:formatBlock',(_0x57dc6c,_0x282265,_0x5be8f0)=>{_0x1a1a4a(0x0,_0x282265,_0x5be8f0,!0x1);},{'priority':'high'});}),_0x5b9e20['conversion']['for']('editingDowncast')['add'](_0xe4424a=>{_0xe4424a['on']('removeMarker:suggestion:attribute',(_0x2e0d62,_0x59b6f0,_0x440187)=>{_0x1a1a4a(0x0,_0x59b6f0,_0x440187,!0x0);},{'priority':'high'});}),_0x5b9e20['conversion']['for']('dataDowncast')['add'](_0x3e72e2=>{_0x3e72e2['on']('addMarker:suggestion:formatBlock',(_0x1b113b,_0x42cd7f,_0x3abdde)=>{_0x438e08(_0x1b113b,_0x42cd7f,_0x3abdde,!0x0,!0x1);},{'priority':'highest'});}),_0x5b9e20['conversion']['for']('dataDowncast')['add'](_0x623092=>{_0x623092['on']('addMarker:suggestion:attribute',(_0x28cc12,_0x3cf5c6,_0x49bef8)=>{_0x438e08(_0x28cc12,_0x3cf5c6,_0x49bef8,!0x0,!0x0);},{'priority':'highest'});}),_0x5b9e20['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x2468bd,_0x31dbb6)=>{if(_0x31dbb6['options']['showSuggestionHighlights']){const {id:_0x521314,authorId:_0x28f519}=v(_0x2468bd);return _0x2468bd['includes'](':split')||_0x2468bd['includes'](':merge')?{'group':'suggestion','name':_0x2468bd['substr'](0xb),'attributes':{'data-suggestion':_0x521314,'data-author-id':_0x28f519}}:null;}return{'group':'suggestion','name':_0x2468bd['substr'](0xb)};}});const _0x57e584=(_0x40969d,_0x416c14,_0x16b074,_0x17e793,_0x35cd6a)=>{if(_0x17e793&&!_0x16b074['options']['showSuggestionHighlights'])return;if(!_0x16b074['consumable']['test'](_0x416c14['markerRange'],_0x40969d['name']))return;const _0x364d83=this['_activeMarkers'],_0x5fda9a=_0x416c14['markerRange']['getWalker'](),_0x3a5b23=_0x416c14['markerRange']['start'],_0x1a40b2=_0x5b9e20['model']['schema'];let _0x2e286e=null,_0x3f65ce=null,_0x1302a8=!0x1,_0x1008aa=!0x1;for(const _0x3e9f83 of _0x5fda9a){const _0x4dd8d3=_0x3e9f83['item'];_0x1302a8=_0x1302a8||_0x1a40b2['isContent'](_0x4dd8d3);const _0x1a9131=_0x16b074['mapper']['toViewElement'](_0x4dd8d3);if(_0x1a9131&&_0x1a9131['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3e9f83['type']&&(_0x1a40b2['isBlock'](_0x4dd8d3)&&!_0x1a40b2['isLimit'](_0x4dd8d3)&&(_0x4dd8d3['nextSibling']||_0x3a5b23['isAtEnd']?_0x2e286e&&_0x2e286e['parent']==_0x4dd8d3||(_0x2e286e=_0x4dd8d3,_0x3397c4(_0x3e9f83['previousPosition']),_0x1008aa=!0x0):_0x3f65ce=_0x3f65ce||_0x3e9f83['previousPosition']));}function _0x3397c4(_0xa6c67c){const {id:_0x208bb3,authorId:_0x35866f}=v(_0x416c14['markerName']),_0x1caae5=_0x16b074['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x35cd6a,'data-suggestion':_0x208bb3,'data-author-id':_0x35866f}),_0x2207f0=_0x16b074['mapper']['toViewPosition'](_0xa6c67c);!_0x17e793&&_0x364d83['includes'](_0x416c14['markerName'])&&_0x16b074['writer']['addClass']('ck-suggestion-marker--active',_0x1caae5),_0x16b074['writer']['insert'](_0x2207f0,_0x1caae5),_0x16b074['mapper']['bindElementToMarker'](_0x1caae5,_0x416c14['markerName']);}_0x1302a8||_0x1008aa||!_0x3f65ce||_0x3397c4(_0x3f65ce);};_0x5b9e20['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4fbb4b,_0x23ae0b,_0x4acd1d)=>{_0x57e584(_0x4fbb4b,_0x23ae0b,_0x4acd1d,!0x1,'merge');},{'priority':'high'}),_0x5b9e20['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x27620c,_0x3f7337,_0x30b25b)=>{_0x57e584(_0x27620c,_0x3f7337,_0x30b25b,!0x0,'merge');},{'priority':'high'}),_0x5b9e20['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x467554,_0x4e2c24,_0x2f285e)=>{_0x57e584(_0x467554,_0x4e2c24,_0x2f285e,!0x1,'split');},{'priority':'high'}),_0x5b9e20['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x12e5a7,_0xc345b0,_0x5b200f)=>{_0x57e584(_0x12e5a7,_0xc345b0,_0x5b200f,!0x0,'split');},{'priority':'high'}),_0x5b9e20['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x590c6b,_0x348577,_0x2c3ee0)=>{((_0x3f74e8,_0x242c54,_0x44596)=>{const _0x4dc4a7=_0x44596['mapper']['markerNameToElements'](_0x242c54['markerName']);if(_0x4dc4a7){for(const _0x437491 of _0x4dc4a7)(_0x437491['hasClass']('ck-suggestion-marker-split')||_0x437491['hasClass']('ck-suggestion-marker-merge'))&&(_0x44596['mapper']['unbindElementFromMarkerName'](_0x437491,_0x242c54['markerName']),_0x44596['writer']['remove'](_0x437491));}})(0x0,_0x348577,_0x2c3ee0);},{'priority':'high'});const _0x2131cc=(_0x4bc538,_0x5eb0e1,_0x4c81b8,_0x14850f)=>{if(_0x14850f&&!_0x4c81b8['options']['showSuggestionHighlights'])return;const _0x4a2929=_0x5eb0e1['markerRange']['start'],_0x3c443f=_0x5eb0e1['markerRange']['end'],_0x4531a0=_0x5b9e20['model']['schema'];if(!_0x4a2929['isTouching'](_0x3c443f)||!_0x4a2929['nodeAfter'])return;const _0x5501de=_0x4a2929['nodeAfter'];if(_0x4531a0['isBlock'](_0x5501de)&&!_0x4531a0['isLimit'](_0x5501de)&&_0x4531a0['checkChild'](_0x5501de,'$text')){if(!_0x4c81b8['consumable']['consume'](_0x5eb0e1['markerRange'],_0x4bc538['name']))return;const {id:_0x1754d2,authorId:_0x449a37}=v(_0x5eb0e1['markerName']),_0x5048b1=_0x4c81b8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x1754d2,'data-author-id':_0x449a37}),_0x4fe82e=_0x4c81b8['mapper']['toViewPosition'](_0x3c443f);!_0x14850f&&this['_activeMarkers']['includes'](_0x5eb0e1['markerName'])&&_0x4c81b8['writer']['addClass']('ck-suggestion-marker--active',_0x5048b1),_0x4c81b8['writer']['insert'](_0x4fe82e,_0x5048b1),_0x4c81b8['mapper']['bindElementToMarker'](_0x5048b1,_0x5eb0e1['markerName']);}};_0x5b9e20['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x433db6,_0xf4db29,_0x7523cc)=>{_0x2131cc(_0x433db6,_0xf4db29,_0x7523cc,!0x1);},{'priority':'high'}),_0x5b9e20['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4c869d,_0x44bb9e,_0x4b2c73)=>{_0x2131cc(_0x4c869d,_0x44bb9e,_0x4b2c73,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x1698c7,_0x47a0d9,_0x2e03c5)=>{this['_activeMarkers']=_0x2e03c5['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x216b5f){this['_blockAttributeKeys']['add'](_0x216b5f);}['registerInlineAttribute'](_0x4b2c04){this['_inlineAttributeKeys']['add'](_0x4b2c04);}['isBlockAttribute'](_0x42fc8f){return this['_blockAttributeKeys']['has'](_0x42fc8f);}['isInlineAttribute'](_0x323ec0){return this['_inlineAttributeKeys']['has'](_0x323ec0);}['isRegisteredAttribute'](_0x58b7dd){return this['isInlineAttribute'](_0x58b7dd)||this['isBlockAttribute'](_0x58b7dd);}['_getClassName'](_0x1b311f,_0x1f5dff){if('attribute'!=_0x1b311f)return'ck-suggestion-marker-'+_0x1b311f;const _0x348390=_0x1f5dff['split']('|')[0x0];return this['isBlockAttribute'](_0x348390)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x1fe442={},_0x28031d){if(void 0x0!==_0x1fe442['dateTimeFormat']&&'function'!=typeof _0x1fe442['dateTimeFormat'])throw new _0x3a4944('invalid-date-time-format');return _0x23c7cc=>{const _0x1c3986='string'==typeof _0x23c7cc?tt['fromISO'](_0x23c7cc):tt['fromJSDate'](_0x23c7cc),_0x1c73a7=tt['now'](),_0x158424=Math['floor'](_0x1c73a7['diff'](_0x1c3986,'days')['days']);return _0x1fe442['dateTimeFormat']?_0x1fe442['dateTimeFormat'](_0x1c3986['toJSDate'](),_0x28031d&&_0x28031d['t']?_0x28031d['t']:void 0x0):0x0===_0x158424?_0x28031d?U(_0x28031d,'Today')+'\x20'+_0x1c3986['toFormat']('hh:mma'):_0x1c3986['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x158424?_0x28031d?U(_0x28031d,'Yesterday')+'\x20'+_0x1c3986['toFormat']('hh:mma'):_0x1c3986['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x158424<0x7?_0x28031d?U(_0x28031d,'Last')+'\x20'+U(_0x28031d,_0x1c3986['toFormat']('EEEE'))+'\x20'+_0x1c3986['toFormat']('hh:mma'):_0x1c3986['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x1c3986['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x14525f,_0x3c5755){const _0x4f587d=_0x14525f['mapper']['markerNameToElements'](_0x3c5755['name']);if(!_0x4f587d)return null;const _0x30f6d8=_0x534f32(_0x4f587d['values']());return _0x14525f['view']['domConverter']['mapViewToDom'](_0x30f6d8)||null;}function wt(_0x2272cb,_0x40b99b){if(0x0===_0x40b99b['length'])return null;const _0x1bc3b5=[],_0x9ecb70=_0x2272cb['view']['domConverter'];for(const _0x25086b of _0x40b99b){const _0x2a5368=_0x2272cb['mapper']['markerNameToElements'](_0x25086b['name']);if(!_0x2a5368)continue;const _0x15f493=Array['from'](_0x2a5368)['map'](_0x3670c1=>_0x9ecb70['mapViewToDom'](_0x3670c1))['filter'](_0x552ae0=>!!_0x552ae0);_0x1bc3b5['push'](..._0x15f493);}if(0x0===_0x1bc3b5['length'])return null;const _0x1e5571=[];for(const _0x20cc38 of _0x1bc3b5){const _0x562349=_0x20cc38['getClientRects']()['item'](0x0);_0x562349&&_0x1e5571['push']({'x':_0x562349['x'],'y':_0x562349['y'],'domElement':_0x20cc38});}return 0x0===_0x1e5571['length']?null:(_0x1e5571['sort']((_0x18101a,_0x3e7307)=>_0x18101a['y']-_0x3e7307['y']||_0x18101a['x']-_0x3e7307['x']),_0x1e5571['map'](_0x340f1a=>_0x340f1a['domElement']));}function bt(_0x33d1f5,{limit:_0x396a31,suffix:_0x291e09='...'}){const _0x5e9486=[];let _0x10287f=0x0;const _0x39d2de=_0x33d1f5['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x30a214=0x0;_0x30a214<_0x39d2de['length'];_0x30a214++){let _0x11ead3=_0x39d2de[_0x30a214];const _0x5405de=tn(_0x11ead3);if(_0x11ead3['startsWith']('<')){if(_0x10287f>=_0x396a31){const _0x14e25f=_0x11ead3['match'](/[a-zA-Z]+/);if(!_0x14e25f){_0x39d2de[_0x30a214]='';continue;}const _0xfaa7d6=_0x14e25f[0x0];_0x11ead3['startsWith']('</')?(_0x5e9486['length']&&(_0x11ead3=''),_0x5e9486['pop']()):(_0x5e9486['push'](_0xfaa7d6),_0x11ead3='');}}else{if(_0x10287f>=_0x396a31)_0x11ead3='';else{if(_0x10287f+_0x5405de['length']>=_0x396a31){let _0x2caece=_0x396a31-_0x10287f;if('\x20'===_0x5405de[_0x2caece-0x1])_0x2caece--;else{const _0x408d13=_0x5405de['slice'](_0x2caece)['indexOf']('\x20');-0x1!==_0x408d13?_0x2caece+=_0x408d13:_0x2caece=_0x11ead3['length'];}_0x11ead3=_0x5405de['slice'](0x0,_0x2caece)['join']('')+_0x291e09,_0x10287f=_0x396a31;}else _0x10287f+=_0x5405de['length'];}}_0x39d2de[_0x30a214]=_0x11ead3;}return _0x39d2de['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x42d21d){const _0x23aed0=[];for(let _0x42cd08=0x0;_0x42cd08<_0x42d21d['length'];_0x42cd08++){const _0x3fb3a0=_0x42d21d['substring'](_0x42cd08)['match'](/^&[a-z0-9#]+;/);if(_0x3fb3a0){const _0x3587c8=_0x3fb3a0[0x0];_0x23aed0['push'](_0x3587c8),_0x42cd08+=_0x3587c8['length']-0x1;}else _0x23aed0['push'](_0x42d21d[_0x42cd08]);}return _0x23aed0;}class X extends _0xe7353f{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x4cfbb7){super(_0x4cfbb7);const _0x93c8a0=this['bindTemplate'];this['set']('message',U(_0x4cfbb7,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x4cfbb7,U(_0x4cfbb7,'Yes'),_0xa42e04,'submit'),this['cancelView']=this['_createButtonView'](_0x4cfbb7,U(_0x4cfbb7,'No'),_0x540837,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x105693(),this['keystrokes']=new _0x523adf(),this['focusCycler']=new _0x362368({'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':_0x93c8a0['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'](_0x229fc0,_0x1b6809,_0x116a2b,_0xace43e){const _0xdce833=new ts(_0x229fc0);return _0xdce833['label']=_0x1b6809,_0xdce833['icon']=_0x116a2b,_0xdce833['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0xace43e}}),_0xdce833['on']('execute',()=>this['fire'](_0xace43e)),_0xdce833;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x25a9fd=>{this['keystrokes']['listenTo'](_0x25a9fd['element']),this['focusTracker']['add'](_0x25a9fd['element']);}),this['keystrokes']['set']('esc',(_0x2071bc,_0x32f7ed)=>{this['fire']('cancel'),_0x32f7ed();});}}function vt(_0x25920a){return class extends _0x25920a{['showConfirm'](_0x10bc09,_0x28571d){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x10bc09,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x28571d['appendChild'](this['confirmView']['element']),_0x28571d['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0xc90770,_0x272fba,_0x30a43a)=>{_0x30a43a||_0x28571d['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x1a17a5=>this['confirmView']['on']('submit',_0x1a17a5));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function k(_0x45ec01){let _0x1b9c41=0x0,_0x46b440=0x0;for(const _0x5a64cd of ne(_0x45ec01))_0x1b9c41=(_0x1b9c41<<0x5)-_0x1b9c41+_0x5a64cd,_0x1b9c41&=_0x1b9c41,[_0x1b9c41,_0x46b440]=[_0x46b440,_0x1b9c41];return ie(_0x1b9c41)+ie(_0x46b440);}function*ee(_0x79b4fa){null==_0x79b4fa||null==_0x79b4fa?yield 0x12b9b0a1:0x0===_0x79b4fa||!0x1===_0x79b4fa?yield 0x0:0x1===_0x79b4fa||0x1==_0x79b4fa?yield 0x1:Array['isArray'](_0x79b4fa)?yield*function*(_0x571808){for(const _0x27e868 of _0x571808)yield*ee(_0x27e868);}(_0x79b4fa):'object'==typeof _0x79b4fa?yield*ne(_0x79b4fa):'string'==typeof _0x79b4fa?yield*oe(_0x79b4fa):'number'==typeof _0x79b4fa&&(yield _0x79b4fa);}function*ne(_0x518346){if(yield te('{'),_0x518346){const _0x1884fd=Object['keys'](_0x518346)['sort']();for(const _0x179557 of _0x1884fd){yield*oe(_0x179557),yield te(':');const _0x44f104=_0x518346[_0x179557];yield*ee(_0x44f104);}}yield te('}');}function*oe(_0x24df9f){yield te('\x22');for(const _0x432ba9 of _0x24df9f)yield te(_0x432ba9);yield te('\x22');}function te(_0x28dc6d){return _0x28dc6d['charCodeAt'](0x0);}function ie(_0x59cd78){return(_0x59cd78*=Math['sign'](_0x59cd78))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x5a4169,_0x3be377,_0x4625c1,_0x515f14=[]){const _0x3e0c09='string'==typeof _0x5a4169?_0x4625c1['get'](_0x5a4169)['constructor']:_0x5a4169['prototype']['constructor'];if(_0x3be377['has'](_0x3e0c09))return _0x3be377['get'](_0x3e0c09);_0x3be377['set'](_0x3e0c09,!0x0);const _0x58c33c=[...et,..._0x515f14]['map'](_0x162b6a=>{if(_0x4625c1['has'](_0x162b6a))return _0x4625c1['get'](_0x162b6a)['constructor'];})['filter'](_0x76c780=>_0x76c780);if(_0x3e0c09&&_0x58c33c['includes'](_0x3e0c09))return _0x3be377['set'](_0x3e0c09,!0x1),!0x1;if(!_0x3e0c09['requires'])return _0x3be377['set'](_0x3e0c09,!0x0),!0x0;const _0x22b2b4=_0x3e0c09['requires']['every'](_0x23389e=>ot(_0x23389e,_0x3be377,_0x4625c1,_0x515f14));return _0x3be377['set'](_0x3e0c09,_0x22b2b4),_0x22b2b4;}function Ct(_0x189fbf,_0x30a31c){const _0x42eff0={};for(const _0x1fa2b6 of _0x189fbf['config']['names']())nt['includes'](_0x1fa2b6)||(_0x42eff0[_0x1fa2b6]=_0x189fbf['config']['get'](_0x1fa2b6));const _0x242168=_0x42eff0['plugins']||[],_0x2fa817=_0x189fbf['constructor']['builtinPlugins']||[],_0x3290f5=_0x242168['length']?_0x242168:_0x2fa817,_0x32dbd4=_0x42eff0['extraPlugins']||[];delete _0x42eff0['extraPlugins'];const _0x5a273b=_0x42eff0['removePlugins']||[];delete _0x42eff0['removePlugins'];const _0x372165=_0x189fbf['_context']['config']['get']('plugins')||[],_0x4ba0a8=_0x3290f5['concat'](_0x32dbd4)['concat'](_0x372165)['map'](_0x26aea1=>'string'==typeof _0x26aea1?_0x2fa817['find'](_0x1c10e3=>_0x1c10e3['pluginName']==_0x26aea1):_0x26aea1)['filter'](_0x291ee8=>!_0x5a273b['includes'](_0x291ee8)&&!_0x5a273b['includes'](_0x291ee8['pluginName'])),_0x206230=Array['from'](new Set(_0x4ba0a8)),_0xf25c27=new Map();return _0x42eff0['plugins']=_0x206230['filter'](_0x4861d8=>ot(_0x4861d8,_0xf25c27,_0x189fbf['plugins'],_0x30a31c)),_0x42eff0;}function xt(_0x86875b,_0x2e3804){const _0x1d25df=[];_0x86875b['document']['selection']['on']('change:range',()=>{const _0x2e5d7b=function(_0x424bb3,_0x1191a7){const _0xd88158=[];for(const _0x1f69f3 of _0x424bb3['markers']){const _0x42f17c=_0x1f69f3['getRange']();(_0x42f17c['containsPosition'](_0x1191a7)||_0x42f17c['start']['isEqual'](_0x1191a7)||_0x42f17c['end']['isEqual'](_0x1191a7))&&_0xd88158['push'](_0x1f69f3);}return _0xd88158;}(_0x86875b,_0x86875b['document']['selection']['focus']),_0x3a3911=[],_0x123eab=[],_0x4f5ac2=[];for(const _0x641081 of _0x1d25df)_0x2e5d7b['includes'](_0x641081)||_0x3a3911['push'](_0x641081);for(const _0x507446 of _0x2e5d7b)_0x1d25df['includes'](_0x507446)||_0x123eab['push'](_0x507446),_0x4f5ac2['push'](_0x507446);(_0x3a3911['length']||_0x123eab['length'])&&_0x2e3804({'left':_0x3a3911,'entered':_0x123eab}),_0x1d25df['length']=0x0,_0x1d25df['push'](..._0x4f5ac2);});}const It='Ctrl+Shift+E';function _t(_0x22ec2a,_0x2d4e7d){const _0x20524c=_0x22ec2a['element'];_0x22ec2a['keystrokes']['listenTo'](_0x20524c);for(const _0x1f6372 of _0x2d4e7d)ro(_0x22ec2a,_0x1f6372);_0x2d4e7d['on']('change',(_0x3a2e76,_0x45f4f1)=>{for(const _0x95bbbd of _0x45f4f1['removed'])to(_0x22ec2a,_0x95bbbd);for(const _0x1e277c of Array['from'](_0x45f4f1['added'])['reverse']())ro(_0x22ec2a,_0x1e277c);}),_0x22ec2a['keystrokes']['set']('enter',(_0x1ecd10,_0x3d72b0)=>{_0x20524c===_0x1ecd10['target']&&(_0x22ec2a['focusCycler']['focusFirst'](),_0x3d72b0());},{'filter':_0x144a0a=>_0x144a0a['target']===_0x20524c}),_0x22ec2a['keystrokes']['set']('esc',(_0x3aca4f,_0x234753)=>{_0x20524c!==_0x3aca4f['target']?_0x22ec2a['focus']():_0x22ec2a['fire']('escape'),_0x234753();}),_0x22ec2a['keystrokes']['set']('arrowdown',(_0x16e0c9,_0x34f566)=>{_0x20524c===_0x16e0c9['target']&&(_0x22ec2a['fire']('arrowdown'),_0x34f566());}),_0x22ec2a['keystrokes']['set']('arrowup',(_0x4baf47,_0x4c1ddc)=>{_0x20524c===_0x4baf47['target']&&(_0x22ec2a['fire']('arrowup'),_0x4c1ddc());});}function ro(_0x47f552,_0x352763){_0x352763['isRendered']&&(_0x47f552['focusTracker']['add'](_0x352763['element']),_0x47f552['keystrokes']['listenTo'](_0x352763['element']),_0x40fbf3(_0x352763)&&function(_0x4e5e6c,_0x3e904f){const _0x4b5db4=_0x4e5e6c['actions'],_0x144b96=_0x3e904f['actions'];for(const _0x5886dc of Object['keys'](_0x4b5db4))if(_0x5886dc in _0x144b96&&_0x4b5db4[_0x5886dc]!==_0x144b96[_0x5886dc])return!0x1;return!0x0;}(_0x47f552['focusCycler'],_0x352763['focusCycler'])&&_0x47f552['focusCycler']['chain'](_0x352763['focusCycler']));}function to(_0xb93c1c,_0x244d02){_0xb93c1c['focusTracker']['remove'](_0x244d02['element']),_0xb93c1c['keystrokes']['stopListening'](_0x244d02['element']),_0x40fbf3(_0x244d02)&&_0xb93c1c['focusCycler']['unchain'](_0x244d02['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x48658f{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0xfd27a3?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x5cc78b,_0x232f1d)=>{_0x232f1d['on']('ready',()=>{this['_integrateEditor'](_0x232f1d);});});}get['editor'](){if(this['context']instanceof _0xfd27a3)return this['context'];{const _0x47b8d9=this['context']['editors']['first'];if(!_0x47b8d9)throw new _0x3a4944('documentcompare-no-editor',this);return _0x47b8d9;}}['getDiff'](_0x49f6ba,_0x58fc28,_0x48fc81={'anchor':'main','markDeletions':!0x1}){let _0x190845,_0x4bbd44;const _0x4806a4=this['editor'];if('string'==typeof _0x48fc81['anchor']){const _0x293003=_0x4806a4['model']['document']['getRoot'](_0x48fc81['anchor']);if(!_0x293003)throw new _0x3a4944('documentcompare-compare-no-root',this,{'anchor':_0x48fc81['anchor']});_0x190845=_0x293003,_0x4bbd44=_0x4806a4['model']['createPositionAt'](_0x293003,0x0);}else _0x190845=_0x48fc81['anchor']['clone'](),_0x4bbd44=_0x48fc81['anchor']['clone']();const _0x43fbd5=_0x4806a4['data']['parse'](_0x49f6ba,_0x190845),_0x1a3b53=_0x4806a4['data']['parse'](_0x58fc28,_0x190845);return new Mt(_0x43fbd5,_0x1a3b53,_0x4806a4,{'anchor':_0x4bbd44,'markDeletions':_0x48fc81['markDeletions']});}['isMarkedRemoveOperation'](_0x33ceb4){return'marker'==_0x33ceb4['type']&&_0x33ceb4['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x497a51){_0x497a51['conversion']['for']('upcast')['add'](_0x276329=>{_0x276329['on']('element',(_0x5f5042,_0x180086,_0x4fc20a)=>{if(_0x180086['modelRange'])for(const _0x55b557 of _0x180086['modelRange']['getItems']({'shallow':!0x0})){if(_0x55b557['is']('$textProxy'))continue;const _0x1be4ab=_0x180086['viewItem']['getAttribute'](Et);_0x1be4ab&&_0x4fc20a['writer']['setAttribute'](St,_0x1be4ab,_0x55b557);}},{'priority':'lowest'});}),_0x497a51['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x571c6f,_0x568ee8,_0x324ddb,_0x35a3cb){this['_editor']=_0x324ddb,this['_markDeletions']=!!_0x35a3cb['markDeletions'],this['_anchor']=_0x35a3cb['anchor'];const _0x218980=this['_tokenizeModel'](_0x571c6f),_0x55e74c=this['_tokenizeModel'](_0x568ee8);this['_diffItems']=this['_diffModelTokens'](_0x218980,_0x55e74c),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x571c6f['markers'],_0x568ee8['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x327e0e=this['_editor']['model']['document'],_0x5b4660=[];let _0x210b82=_0x327e0e['version'];for(const _0x5a9257 of this['_operationsData'])switch(_0x5a9257['type']){case'attribute':{const _0x4ebb35=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['path']),_0x156bf5=_0x4ebb35['getShiftedBy'](_0x5a9257['howMany']),_0x36401e=new _0xce3873(_0x4ebb35,_0x156bf5),_0x4aab6b=JSON['parse'](_0x5a9257['oldValue']),_0x32a85=JSON['parse'](_0x5a9257['newValue']);_0x5b4660['push'](new _0xe7a38b(_0x36401e,_0x5a9257['key'],_0x4aab6b,_0x32a85,_0x210b82++));break;}case'insert':{const _0x3452a7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['path']),_0x3738bc=this['_makeModelFromTokens'](_0x5a9257['tokens']);_0x5b4660['push'](new _0xd1b70(_0x3452a7,_0x3738bc,_0x210b82++));break;}case'remove':{const _0x2c6046=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['path']),_0x3f3c47=new _0x215bb7(_0x327e0e['graveyard'],[0x0]);_0x5b4660['push'](new _0x9af5fd(_0x2c6046,_0x5a9257['howMany'],_0x3f3c47,_0x210b82++));break;}case'rename':{const _0xf30b13=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['path']);_0x5b4660['push'](new _0x28010f(_0xf30b13,_0x5a9257['oldName'],_0x5a9257['newName'],_0x210b82++));break;}case'split':{const _0x2386e4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['path']),_0x2dc0e4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['path']['slice'](0x0,-0x1));_0x2dc0e4['offset']++,_0x5b4660['push'](new _0x2d8e5b(_0x2386e4,Number['NEGATIVE_INFINITY'],_0x2dc0e4,null,_0x210b82++));break;}case'merge':{const _0x5afafa=_0x5a9257['path']['slice'](),_0x4fd974=_0x5afafa['slice'](0x0,-0x1);_0x4fd974[_0x4fd974['length']-0x1]++,_0x4fd974['push'](0x0);const _0x1c9c02=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4fd974),_0x3b055f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5afafa),_0x4625a6=new _0x215bb7(_0x327e0e['graveyard'],[0x0]);_0x5b4660['push'](new _0x1c5119(_0x1c9c02,Number['NEGATIVE_INFINITY'],_0x3b055f,_0x4625a6,_0x210b82++));break;}case'marker':case'markedRemove':{let _0x2c0279=null;if(_0x5a9257['range']){const _0x5d6d1e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['range']['start']),_0x5f1770=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['range']['end']);_0x2c0279=new _0xce3873(_0x5d6d1e,_0x5f1770);}const _0xf8f477='marker'==_0x5a9257['type']?_0x5a9257['name']:'$markedRemove:'+_0x20b13b();_0x5b4660['push'](new _0x3055f8(_0xf8f477,null,_0x2c0279,_0x327e0e['model']['markers'],!0x0,_0x210b82++));break;}case'unwrap':{const _0x325113=_0x5a9257['path']['slice']();_0x325113['push'](0x0);const _0x1085b5=_0x5a9257['path']['slice'](),_0x8a5ed8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x325113),_0x186a40=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1085b5),_0x28487d=new _0x215bb7(_0x327e0e['graveyard'],[0x0]);_0x5b4660['push'](new _0x9af5fd(_0x8a5ed8,_0x5a9257['howMany'],_0x186a40,_0x210b82++)),_0x5b4660['push'](new _0x9af5fd(_0x186a40['getShiftedBy'](_0x5a9257['howMany']),0x1,_0x28487d,_0x210b82++));break;}case'wrap':{const _0x491e1d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['range']['start']),_0x2b13b7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['range']['end']),_0x124500=_0x5a9257['token']['element']['_clone'](!0x1),_0x515b59=_0x5a9257['range']['end']['slice']();_0x515b59['push'](0x0);const _0x39245e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x515b59);_0x5b4660['push'](new _0xd1b70(_0x2b13b7,_0x124500,_0x210b82++)),_0x5b4660['push'](new _0x9af5fd(_0x491e1d,_0x2b13b7['offset']-_0x491e1d['offset'],_0x39245e,_0x210b82++));break;}}return _0x5b4660;}['_tokenizeModel'](_0x26a275){const _0x413a6f=[],_0x16c76d=_0xce3873['_createIn'](_0x26a275),_0x45387a=new _0x4c48a({'boundaries':_0x16c76d});let _0x11d652='',_0x404ab4=null;const _0x3b6fb2=[''],_0x2e4b16=new Map();for(const _0xbab17e of _0x45387a)if('elementStart'==_0xbab17e['type']||'elementEnd'==_0xbab17e['type']){let _0x26384a=_0x3b6fb2[0x0];''!==_0x11d652&&(_0x413a6f['push'](...this['_makeTokensFromTextByWords'](_0x11d652,_0x404ab4,_0x26384a)),_0x11d652='');const _0x58834e=_0xbab17e['item'];let _0x33a683;_0x58834e['getAttribute'](St)?_0x33a683=_0x58834e['getAttribute'](St):'elementStart'==_0xbab17e['type']?(_0x33a683=_(_0x58834e),_0x2e4b16['set'](_0x58834e,_0x33a683)):_0x33a683=_0x2e4b16['get'](_0x58834e);const _0x3dc19f=this['_getElementCategory'](_0x58834e);'solid'==_0x3dc19f&&('elementStart'==_0xbab17e['type']?(_0x26384a=_0x33a683,_0x3b6fb2['unshift'](_0x26384a)):_0x3b6fb2['shift']());const _0x23e4f7={'type':'element','element':_0x58834e,'elementId':_0x33a683,'category':_0x3dc19f,'isStart':'elementStart'==_0xbab17e['type'],'limitId':_0x26384a};_0x413a6f['push'](_0x23e4f7);}else''==_0x11d652&&(_0x404ab4=_0xbab17e['previousPosition']['clone']()),_0x11d652+=_0xbab17e['item']['data'];return''!==_0x11d652&&_0x413a6f['push'](...this['_makeTokensFromTextByWords'](_0x11d652,_0x404ab4,_0x3b6fb2[0x0])),_0x413a6f;}['_makeTokensFromTextByWords'](_0x3a0d7e,_0x1897a5,_0x3b59a6){const _0x20c591=_0x3a0d7e['matchAll'](/(\s)/g),_0x3dc0d1=Array['from'](_0x20c591)['map'](_0x135c45=>_0x135c45['index']);_0x3dc0d1['push'](_0x3a0d7e['length']),0x0==_0x3dc0d1[0x0]&&_0x3dc0d1['shift']();const _0x1accee=[],_0x3a6ec6=_0x1897a5['parent'];let _0x4cd2e4=0x0,_0xe92e4=_0x1897a5['offset'];for(let _0x154a0e=0x0;_0x154a0e<_0x3dc0d1['length'];_0x154a0e++)_0x1accee['push']({'type':'text','data':_0x3a0d7e['slice'](_0x4cd2e4,_0x3dc0d1[_0x154a0e]),'parent':_0x3a6ec6,'offset':_0xe92e4,'limitId':_0x3b59a6}),_0x4cd2e4=_0x3dc0d1[_0x154a0e],_0xe92e4=_0x1897a5['offset']+_0x3dc0d1[_0x154a0e];return _0x1accee;}['_getElementCategory'](_0x54b653){const _0xad73a5=this['_editor']['model']['schema'];return _0xad73a5['isLimit'](_0x54b653)||_0xad73a5['isContent'](_0x54b653)||_0xad73a5['isInline'](_0x54b653)?'solid':_0xad73a5['isBlock'](_0x54b653)?'block':'container';}['_diffModelTokens'](_0x30b90b,_0x1ad3e2){const _0x4a375a=_0x4905fb(_0x30b90b,_0x1ad3e2,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x4a375a);const _0xe8ad59=_0x4a375a['flatMap'](_0x5d0447=>{const _0x13039c=_0x5d0447['added']?'added':_0x5d0447['removed']?'removed':'unchanged';return _0x5d0447['value']['map'](_0x536c4b=>({'token':_0x536c4b,'change':_0x13039c}));});let _0x406192=0x0;for(const _0x20fa39 of _0xe8ad59)'added'!=_0x20fa39['change']&&('unchanged'==_0x20fa39['change']&&(_0x20fa39['before']=_0x30b90b[_0x406192]),_0x406192++);return _0xe8ad59;}['_handleUnclosedBlockOpeningTags'](_0x255a58){for(let _0x150ef0=0x0;_0x150ef0<_0x255a58['length']-0x1;_0x150ef0++)if(_0x255a58[_0x150ef0]['removed']&&_0x255a58[_0x150ef0+0x1]['added']){const _0x447c4a=this['_findUnclosedBlockOpeningToken'](_0x255a58[_0x150ef0]['value']);if(null!==_0x447c4a){const _0x1995b9=this['_findUnclosedBlockOpeningToken'](_0x255a58[_0x150ef0+0x1]['value']),_0x1908ed=_0x255a58[_0x150ef0]['value']['splice'](_0x447c4a),_0x2015fe=_0x255a58[_0x150ef0+0x1]['value']['splice'](_0x1995b9),_0x3dc3fb=[_0x2015fe['shift']()];_0x1908ed['shift']();const _0x31f92f={'value':_0x1908ed,'removed':!0x0},_0x5f1463={'value':_0x2015fe,'added':!0x0},_0x582980={'value':_0x3dc3fb};_0x255a58['splice'](_0x150ef0+0x2,0x0,_0x582980,_0x31f92f,_0x5f1463);}}}['_findUnclosedBlockOpeningToken'](_0x5a2d22){let _0x132bc3=0x0,_0x36bc45=-0x1;for(let _0x541f42=0x0;_0x541f42<_0x5a2d22['length'];_0x541f42++){const _0x1467dd=_0x5a2d22[_0x541f42];'element'==_0x1467dd['type']&&'block'==_0x1467dd['category']&&(_0x132bc3+=_0x1467dd['isStart']?0x1:-0x1,_0x1467dd['isStart']&&(_0x36bc45=_0x541f42));}return 0x0===_0x132bc3?null:_0x36bc45;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x162401=0x0;_0x162401<this['_diffItems']['length'];_0x162401++){const _0x3906c8=this['_diffItems'][_0x162401]['change'],_0x32fc59=[];_0x32fc59['push'](this['_diffItems'][_0x162401]);let _0x11a855=_0x162401+0x1;for(;this['_diffItems'][_0x11a855]&&this['_diffItems'][_0x11a855]['change']==_0x3906c8;)_0x32fc59['push'](this['_diffItems'][_0x11a855]),_0x11a855++,_0x162401++;const _0x2e57b8=_0x32fc59['map'](_0x4ab3f8=>_0x4ab3f8['token']);if('unchanged'==_0x3906c8)_0x32fc59['map'](_0x31b2aa=>_0x31b2aa['before'])['forEach'](_0x35fc8a=>this['_traverseOverItem'](_0x35fc8a));else{if('removed'==_0x3906c8){if(this['_markDeletions']){const _0x37cf45=this['_path']['slice']();_0x2e57b8['forEach'](_0xdf760b=>this['_traverseOverItem'](_0xdf760b));const _0xcd4d1=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x37cf45,'end':_0xcd4d1}});}else this['_handleChanged'](_0x2e57b8,!0x0,this['_path']['slice']());}else{const _0x26b414=_0x2e57b8['filter'](_0x516a42=>'element'!=_0x516a42['type']||'container'!=_0x516a42['category']);this['_handleChanged'](_0x26b414,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x48e92c=0x0;_0x48e92c<this['_diffItems']['length'];_0x48e92c++){const _0x440d5a=this['_diffItems'][_0x48e92c]['change'],_0x45c530=[];_0x45c530['push'](this['_diffItems'][_0x48e92c]);let _0x17bf49=_0x48e92c+0x1;for(;this['_diffItems'][_0x17bf49]&&this['_diffItems'][_0x17bf49]['change']==_0x440d5a;)_0x45c530['push'](this['_diffItems'][_0x17bf49]),_0x17bf49++,_0x48e92c++;const _0x353d6d=_0x45c530['map'](_0x156fe4=>_0x156fe4['token']);if('unchanged'==_0x440d5a){const _0xb1cc39=_0x45c530['map'](_0x42ef07=>_0x42ef07['before']);this['_handleUnchanged'](_0xb1cc39,_0x353d6d);}else('removed'!=_0x440d5a||this['_markDeletions'])&&_0x353d6d['forEach'](_0x9999d4=>{this['_traverseOverItem'](_0x9999d4);});}}['_calculateMarkersOperationsData'](_0x543046,_0x5348d7){const _0x30aaf7={};for(const [_0x2af796]of _0x543046)_0x30aaf7[_0x2af796]=null;for(const [_0xdaa85,_0x4bd709]of _0x5348d7)_0x30aaf7[_0xdaa85]=_0x4bd709;const _0xa2c434=Object['entries'](_0x30aaf7)['map'](([_0x3eb491,_0x4d27b9])=>({'type':'marker','name':_0x3eb491,'range':_0x4d27b9?{'start':_0x4d27b9['start']['path']['slice'](),'end':_0x4d27b9['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0xa2c434);}['_handleUnwraps'](){const _0x413078=new Map(),_0x3fc203=[],_0x358a84=[0x0];let _0x34aff9=this['_diffItems']['length']+0x1;for(let _0x4427da=this['_diffItems']['length']-0x1;_0x4427da>=0x0;_0x4427da--){const {token:_0xa8ef92,before:_0x1d1dd8,change:_0x52f7b7}=this['_diffItems'][_0x4427da];if('removed'!=_0x52f7b7&&(_0x34aff9=_0x4427da),'element'!=_0xa8ef92['type']||'container'!=_0xa8ef92['category']||'added'==_0x52f7b7)continue;const _0x43a62c=_0x1d1dd8?_0x1d1dd8['element']:_0xa8ef92['element'];if(_0xa8ef92['isStart']){const _0x496d61=_0x413078['get'](_0x43a62c),_0x1c0038=this['_diffItems'][_0x496d61];('removed'==_0x52f7b7||'removed'==_0x1c0038['change'])&&_0x34aff9<_0x496d61&&(this['_operationsData']['push']({'type':'unwrap','path':_0x43a62c['getPath'](),'howMany':_0x43a62c['maxOffset']+_0x358a84[0x0]}),_0x358a84['shift'](),_0x358a84[0x0]+=_0x43a62c['maxOffset']-0x1,_0x3fc203['push'](_0x4427da),_0x3fc203['push'](_0x496d61));}else _0x413078['set'](_0x43a62c,_0x4427da),_0x358a84['unshift'](0x0);}_0x3fc203['sort']((_0x8e66b5,_0x120a1b)=>_0x120a1b-_0x8e66b5),_0x3fc203['forEach'](_0x2b7ec2=>{const _0x383f30=this['_diffItems'][_0x2b7ec2];'removed'==_0x383f30['change']?this['_diffItems']['splice'](_0x2b7ec2,0x1):(_0x383f30['change']='added',delete _0x383f30['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x1df48a=[];for(let _0x2c4ef3=0x0;_0x2c4ef3<this['_diffItems']['length'];_0x2c4ef3++){const {change:_0x40398c,token:_0x347763}=this['_diffItems'][_0x2c4ef3];if('added'==_0x40398c&&'element'==_0x347763['type']&&'container'==_0x347763['category']){if(_0x347763['isStart'])_0x1df48a['push'](this['_path']['slice']());else{if(!_0x347763['isStart']){const _0x16cdf0=_0x1df48a['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x16cdf0,'end':this['_path']['slice']()},'token':_0x347763}),this['_path'][this['_path']['length']-0x1]=_0x16cdf0[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x40398c||this['_markDeletions'])&&this['_traverseOverItem'](_0x347763);}}['_handleUnchanged'](_0x560f4e,_0x3c14fb){for(let _0x4884f8=0x0;_0x4884f8<_0x560f4e['length'];_0x4884f8++){const _0x240e93=_0x560f4e[_0x4884f8];if('element'==_0x240e93['type']&&_0x240e93['isStart']){const _0x419700=_0x3c14fb[_0x4884f8];'block'==_0x240e93['category']&&this['_handleElementRename'](_0x240e93['element'],_0x419700['element'],this['_path']),this['_handleElementAttributeChanges'](_0x240e93['element'],_0x419700['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x419700);}else{if('element'!=_0x240e93['type']||_0x240e93['isStart']){if('text'==_0x240e93['type']){const _0x33e880=this['_path']['slice'](),_0x8fae0d=[],_0x31085c=[];for(;_0x560f4e[_0x4884f8]&&'text'==_0x560f4e[_0x4884f8]['type'];)_0x8fae0d['push'](_0x560f4e[_0x4884f8]),_0x31085c['push'](_0x3c14fb[_0x4884f8]),this['_path'][this['_path']['length']-0x1]+=_0x560f4e[_0x4884f8]['data']['length'],_0x4884f8++;_0x4884f8--,this['_handleTextAttributeChanges'](_0x8fae0d,_0x31085c,_0x33e880);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0xb5bfc0,_0x1d78bb,_0x9725df){const _0x5a7893=[],_0xc44eda=[],_0x43da8e=_0x9725df['slice']();for(let _0x29f3e3=0x0;_0x29f3e3<_0xb5bfc0['length'];_0x29f3e3++){const _0x46e54d=_0xb5bfc0[_0x29f3e3],_0x214433=_0x9725df['slice']();if('element'!=_0x46e54d['type']||_0x46e54d['isStart'])'element'==_0x46e54d['type']&&_0x46e54d['isStart']?(_0x9725df['push'](0x0),_0x1d78bb||this['_parents']['push'](_0x46e54d),_0xc44eda['push']({'before':_0x214433,'after':_0x9725df['slice'](),'index':_0x29f3e3})):_0x9725df[_0x9725df['length']-0x1]+=_0x46e54d['data']['length'];else{let _0x2155ca;_0x9725df['pop'](),_0x9725df[_0x9725df['length']-0x1]++,_0x2155ca=_0x1d78bb?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0xc44eda['length']?_0xc44eda['pop']():_0x5a7893['push']({'before':_0x214433,'after':_0x9725df['slice'](),'index':_0x29f3e3,'related':_0x2155ca});}}if(_0xc44eda['length']!==_0x5a7893['length'])throw new _0x3a4944('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0xb5bfc0,'isRemove':_0x1d78bb});const _0x393079=[{'after':_0x43da8e['slice'](),'index':-0x1},..._0x5a7893,..._0xc44eda,{'before':_0x9725df['slice'](),'index':_0xb5bfc0['length']}];if(_0x1d78bb){for(let _0x1fa147=_0x393079['length']-0x1;_0x1fa147>=0x1;_0x1fa147--){const _0x145548=_0x393079[_0x1fa147-0x1]['after'],_0x30a273=_0x393079[_0x1fa147]['before'],_0x16c11f=_0x30a273[_0x30a273['length']-0x1]-_0x145548[_0x145548['length']-0x1];_0x16c11f&&(this['_operationsData']['push']({'type':'remove','path':_0x145548,'howMany':_0x16c11f}),_0x30a273[_0x30a273['length']-0x1]-=_0x16c11f);}for(const {before:_0x1267be}of _0x5a7893)this['_operationsData']['push']({'type':'merge','path':_0x1267be});}else for(let _0x131504=0x0;_0x131504<_0x393079['length']-0x1;_0x131504++){const _0x1db06d=_0x393079[_0x131504]['after'],_0x24474d=_0x393079[_0x131504+0x1]['before'],_0x53040d=_0x393079[_0x131504]['index']+0x1,_0x5ce32d=_0x393079[_0x131504+0x1]['index'];if(_0x53040d!==_0x5ce32d&&this['_operationsData']['push']({'type':'insert','path':_0x1db06d,'tokens':_0xb5bfc0['slice'](_0x53040d,_0x5ce32d)}),_0x131504<_0x5a7893['length']){this['_operationsData']['push']({'type':'split','path':_0x24474d});const _0x2ee561=_0xb5bfc0[_0xc44eda[_0xc44eda['length']-0x1-_0x131504]['index']],_0x371571=_0x5a7893[_0x131504]['after'],_0x3db1ef=_0x5a7893[_0x131504]['related']['element'];this['_handleElementRename'](_0x3db1ef,_0x2ee561['element'],_0x371571),this['_handleElementAttributeChanges'](_0x3db1ef,_0x2ee561['element'],_0x371571);}}}['_traverseOverItem'](_0x1e112e){'element'==_0x1e112e['type']&&_0x1e112e['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x1e112e)):'element'!=_0x1e112e['type']||_0x1e112e['isStart']?'text'==_0x1e112e['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x1e112e['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x49ea16,_0x91bccf,_0x3abfbe){_0x49ea16['name']!=_0x91bccf['name']&&this['_operationsData']['push']({'type':'rename','path':_0x3abfbe['slice'](),'oldName':_0x49ea16['name'],'newName':_0x91bccf['name']});}['_handleElementAttributeChanges'](_0x3d7098,_0x3779a2,_0x597bb9){const _0x33d152=this['_getAttributeChanges'](_0x3d7098['getAttributes'](),_0x3779a2['getAttributes']());for(const _0xa3624c in _0x33d152){const {oldValue:_0x21f32c,newValue:_0x1ea751}=_0x33d152[_0xa3624c];this['_operationsData']['push']({'type':'attribute','path':_0x597bb9['slice'](),'howMany':0x1,'key':_0xa3624c,'oldValue':_0x21f32c,'newValue':_0x1ea751});}}['_handleTextAttributeChanges'](_0x361bcb,_0x5505ce,_0x32da85){const _0x2e9088=this['_operationsData'],_0x59c557=_0x361bcb[0x0]['parent'],_0x211684=_0x361bcb[0x0]['offset'],_0x319e52=_0x5505ce[0x0]['parent'],_0x1798c5=_0x5505ce[0x0]['offset'],_0x18ec66=_0x361bcb['reduce']((_0xb2a553,_0x5e0eae)=>_0xb2a553+_0x5e0eae['data']['length'],0x0),_0x3d3886=this['_getAttrsForOffsets'](_0x59c557,_0x211684,_0x18ec66),_0x5543cb=this['_getAttrsForOffsets'](_0x319e52,_0x1798c5,_0x18ec66),_0x4795f4={};for(let _0x24760e=0x0;_0x24760e<_0x18ec66;_0x24760e++){const _0x1e7cd6=_0x3d3886[_0x211684+_0x24760e],_0x1dbe9d=_0x5543cb[_0x1798c5+_0x24760e],_0x5b2196=this['_getAttributeChanges'](_0x1e7cd6,_0x1dbe9d);for(const _0x51a7ab in _0x4795f4)_0x5b2196[_0x51a7ab]||_0x459af9(_0x51a7ab);for(const _0x4d5d84 in _0x5b2196){const {oldValue:_0x55d409,newValue:_0x462435}=_0x5b2196[_0x4d5d84],_0x8530a3=_0x4795f4[_0x4d5d84];_0x8530a3?_0x8530a3['oldValue']==_0x55d409&&_0x8530a3['newValue']==_0x462435?_0x8530a3['length']++:(_0x459af9(_0x4d5d84),_0x4795f4[_0x4d5d84]={'oldValue':_0x55d409,'newValue':_0x462435,'start':_0x24760e,'length':0x1}):_0x4795f4[_0x4d5d84]={'oldValue':_0x55d409,'newValue':_0x462435,'start':_0x24760e,'length':0x1};}}for(const _0x540db2 in _0x4795f4)_0x459af9(_0x540db2);function _0x459af9(_0x4b1e7f){const _0xc30931=_0x4795f4[_0x4b1e7f],_0x38b4cd=_0x32da85['slice']();_0x38b4cd[_0x38b4cd['length']-0x1]+=_0xc30931['start'],_0x2e9088['push']({'type':'attribute','path':_0x38b4cd,'howMany':_0xc30931['length'],'key':_0x4b1e7f,'oldValue':_0xc30931['oldValue'],'newValue':_0xc30931['newValue']}),delete _0x4795f4[_0x4b1e7f];}}['_getAttributeChanges'](_0x3532e3,_0x26c7dd){const _0x474109={};for(const [_0x4cf219,_0x1783c6]of _0x3532e3)_0x474109[_0x4cf219]={'oldValue':JSON['stringify'](_0x1783c6),'newValue':'null'};for(const [_0x2ad231,_0x4bcba4]of _0x26c7dd){const _0x206430=JSON['stringify'](_0x4bcba4);_0x474109[_0x2ad231]?_0x474109[_0x2ad231]['oldValue']==_0x206430?delete _0x474109[_0x2ad231]:_0x474109[_0x2ad231]['newValue']=_0x206430:_0x474109[_0x2ad231]={'oldValue':'null','newValue':_0x206430};}return delete _0x474109[St],_0x474109;}['_getAttrsForOffsets'](_0x2cf801,_0x4fbc6f,_0x1e9c45){const _0x3f36e5=new Array(_0x4fbc6f+_0x1e9c45);let _0x17be91=_0x2cf801['getChildAtOffset'](_0x4fbc6f),_0x2c0c0c=_0x17be91['startOffset'];for(;_0x17be91&&_0x2c0c0c<_0x4fbc6f+_0x1e9c45;){const _0x4123ea=Array['from'](_0x17be91['getAttributes']());_0x3f36e5['fill'](_0x4123ea,_0x2c0c0c,_0x2c0c0c+_0x17be91['offsetSize']),_0x2c0c0c+=_0x17be91['offsetSize'],_0x17be91=_0x17be91['nextSibling'];}return _0x3f36e5;}['_getPositionFromAnchorAndPath'](_0x21e7fb,_0x55ee00){const _0x2659bc=[..._0x21e7fb['path']['slice'](0x0,-0x1),_0x21e7fb['offset']+_0x55ee00[0x0],..._0x55ee00['slice'](0x1)];return new _0x215bb7(_0x21e7fb['root'],_0x2659bc);}['_makeModelFromTokens'](_0x58ecca){const _0x390636=[];let _0x3c4efe=null;for(const _0x2305f9 of _0x58ecca)if('element'!=_0x2305f9['type']||_0x2305f9['isStart']||_0x3c4efe!=_0x2305f9['element']){if(!_0x3c4efe){if('text'==_0x2305f9['type']){const _0x31cfe3=_0x215bb7['_createAt'](_0x2305f9['parent'],_0x2305f9['offset']),_0x3af52f=_0xce3873['_createFromPositionAndShift'](_0x31cfe3,_0x2305f9['data']['length']),_0x4f0d73=Array['from'](_0x3af52f['getItems']())['map'](_0x3b3c4f=>new _0x44e0ab(_0x3b3c4f['data'],_0x3b3c4f['getAttributes']()));_0x390636['push'](..._0x4f0d73);}else{_0x3c4efe=_0x2305f9['element'];const _0x3bbf67=_0x2305f9['element']['_clone'](!0x0);_0x3bbf67['_removeAttribute'](St);for(const _0x565a44 of this['_editor']['model']['createRangeIn'](_0x3bbf67)['getItems']())_0x565a44['is']('element')&&_0x565a44['_removeAttribute'](St);_0x390636['push'](_0x3bbf67);}}}else _0x3c4efe=null;return _0x390636;}}function g(_0xd50bf1,_0x807ec1){return _0xd50bf1['type']===_0x807ec1['type']&&(_0xd50bf1['limitId']===_0x807ec1['limitId']&&('text'==_0xd50bf1['type']?_0xd50bf1['data']==_0x807ec1['data']:function(_0x4bcfad,_0x59c075){if(_0x4bcfad['isStart']!=_0x59c075['isStart'])return!0x1;if(_0x4bcfad['isStart']&&_0x4bcfad['elementId']!=_0x59c075['elementId'])return!0x1;if(_0x4bcfad['category']!=_0x59c075['category'])return!0x1;if('block'==_0x4bcfad['category'])return!0x0;if('container'==_0x4bcfad['category']&&_0x4bcfad['elementId']!=_0x59c075['elementId'])return!0x1;return _0x4bcfad['element']['name']==_0x59c075['element']['name'];}(_0xd50bf1,_0x807ec1)));}function _(_0x52c43c){return k({'name':_0x52c43c['name'],...Object['fromEntries'](_0x52c43c['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,It as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,ct as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,_t as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,xt as surroundingMarkersDetector,bt as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0xc5ed8,Editor as _0x2056fb,Plugin as _0x400641}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x1008d5,Collection as _0x61322d,uid as _0x22a9cb,toArray as rt,first as _0x2ff7bb,FocusTracker as _0x3b8190,KeystrokeHandler as _0xd851cf}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0xe54118,IconView as st,ButtonView as ts,DropdownButtonView as _0x14abf0,FocusCycler as _0x30deae,isViewWithFocusCycler as _0x4e9b28}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as ct,IconCheck as _0x138842,IconCancel as _0x253983}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as it,toWidget as _0x430c5d}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x3ebcb8,MoveOperation as _0x36bb2f,ModelPosition as _0x816e35,ModelRange as _0x2b05c1,MarkerOperation as _0x31c580,MergeOperation as _0x2842bd,SplitOperation as _0x305667,RenameOperation as _0x418001,AttributeOperation as _0x100ebf,ModelTreeWalker as _0x2e4c85,ModelText as _0x316047}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x5f2cd9}from'diff';class C extends _0xc5ed8{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x2b7f44,_0x44a7bc){let _0x226c6a;if(_0x44a7bc||(_0x44a7bc=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x44a7bc?_0x226c6a=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x226c6a=this['context']['editors']['find'](_0x1a6b00=>_0x1a6b00['config']['get']('collaboration.channelId')==_0x44a7bc)),!_0x226c6a)throw new _0x1008d5('permissions-set-permissions-invalid-channel-id',null);const _0x270cce=_0x226c6a['plugins'],_0x2c4ad7=_0x270cce['has']('CommentsRepository')?_0x270cce['get']('CommentsRepository'):void 0x0,_0x5c80da=_0x270cce['has']('CommentsOnly')&&_0x270cce['get']('CommentsOnly'),_0xc77448=_0x2b7f44['includes']('document:write'),_0x5388fc=_0x2b7f44['includes']('comment:modify_all'),_0x247a71=_0x2b7f44['includes']('comment:admin'),_0x1f1b4e=_0x2b7f44['includes']('comment:write'),_0xcf38a9=_0x1f1b4e||_0x247a71,_0x40295e=_0xcf38a9||_0x5388fc,_0x26ce18=_0xc77448||_0xcf38a9;(_0x5c80da&&(_0x5c80da['isEnabled']=!_0xc77448&&_0x40295e),_0x226c6a instanceof _0x2056fb)&&(!(_0xc77448||_0x40295e&&_0x2c4ad7)?_0x226c6a['enableReadOnlyMode']('no-permissions'):_0x226c6a['disableReadOnlyMode']('no-permissions'));if(_0x2c4ad7){_0x2c4ad7['setPermissions']({'admin':_0x247a71,'modifyAll':_0x5388fc,'write':_0x1f1b4e,'resolve':_0x26ce18},_0x44a7bc);const _0xe5b4af=_0x226c6a instanceof _0x2056fb&&_0x226c6a['commands']['get']('addCommentThread');_0xe5b4af&&(_0xcf38a9?_0xe5b4af['clearForceDisabled']('noPermissions'):_0xe5b4af['forceDisabled']('noPermissions'));}}}function U(_0x47c73f,_0x35a8bd){const t=_0x47c73f['t'];switch(_0x35a8bd){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class at extends _0xc5ed8{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}constructor(_0x349ffb){super(_0x349ffb),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x61322d(),this['_locale']=_0x349ffb['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:_0x26c0bf,name:_0x30856b,..._0x15412a}){if(!_0x26c0bf||'string'!=typeof _0x26c0bf)throw new _0x1008d5('users-add-invalid-id');if(this['users']['has'](_0x26c0bf))throw new _0x1008d5('users-add-duplicated-id',null,{'id':_0x26c0bf});const _0x44e8b5=this['context']['config']['get']('users.getInitialsCallback'),_0x1066b7={..._0x15412a,'id':_0x26c0bf,'name':A(this['_locale'],_0x30856b),'color':this['_getNextColor']()};_0x1066b7['name']=A(this['_locale'],_0x1066b7['name']);const _0x3d12b4=new lt(_0x1066b7,_0x44e8b5);return this['users']['add'](_0x3d12b4),_0x3d12b4;}['getUser'](_0x36f2de){return this['users']['get'](_0x36f2de);}['useAnonymousUser'](){const _0x2e25e8=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x2e25e8);}['defineMe'](_0x18917e){if(this['_myId'])throw new _0x1008d5('users-me-already-defined',null);const _0x2babd2=this['getUser'](_0x18917e);if(!_0x2babd2)throw new _0x1008d5('users-me-missing-user',null);this['_myId']=_0x18917e,_0x2babd2['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x167046=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x167046&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x34b3f3=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x34b3f3,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x404a97,_0x511056){this['id']=_0x404a97['id'],this['color']=_0x404a97['color'],this['name']=_0x404a97['name'],this['initials']=_0x511056?_0x511056(this['name']):this['_computeInitials'](),this['avatar']=_0x404a97['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x3eb804=this['name']['split']('\x20')['filter'](_0x258bb2=>/^[\p{Letter}]/u['test'](_0x258bb2));return 0x1===_0x3eb804['length']?this['_getInitial'](_0x3eb804[0x0]):0x0===_0x3eb804['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x3eb804[0x0])+this['_getInitial'](_0x3eb804[_0x3eb804['length']-0x1]);}['_getInitial'](_0x44e1cb){return String['fromCodePoint'](_0x44e1cb['codePointAt'](0x0))['toUpperCase']();}}function A(_0x375ef2,_0x5b6994=''){return''==(_0x5b6994=_0x5b6994['trim']())?U(_0x375ef2,'Anonymous'):_0x5b6994;}class ut{['_id'];constructor(_0x453c07){this['_id']=_0x453c07;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}}class ht extends _0xe54118{['name'];['notificationView'];constructor(_0x3e3ab5,_0x59c0ef,_0x1cf486){super(_0x3e3ab5),this['name']=_0x59c0ef['name'],this['notificationView']=null;const _0x339122=['ck','ck-user'],_0x17e638=['ck','ck-user__img'];if(_0x59c0ef['isAnonymous']&&_0x17e638['push']('ck-user__anonymous'),!_0x59c0ef['isAnonymous']&&_0x59c0ef['isMe']&&_0x339122['push']('ck-user_me'),_0x59c0ef['avatar']&&_0x17e638['push']('ck-user__avatar'),_0x1cf486){const _0x594835=new st();_0x594835['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x594835['content']=ct,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x1cf486},'children':[_0x594835]};}const _0x2a2283=[{'tag':'div','attributes':{'class':_0x17e638,'style':{'background-image':_0x59c0ef['avatar']?'url(\x27'+_0x59c0ef['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x59c0ef['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x59c0ef['name']},'children':[{'text':_0x59c0ef['initials']}]}];this['notificationView']&&_0x2a2283['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x339122,'data-user-id':_0x59c0ef['id']},'children':_0x2a2283});}}class dt extends _0xe54118{['id'];constructor(_0x3ab307,_0x2e52e5){super(_0x3ab307),this['id']='ck-aria-description-'+_0x22a9cb(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x2e52e5}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x14abf0{['render'](){super['render'](),re(this);}}function re(_0x56fafb){_0x56fafb['listenTo'](_0x56fafb['element'],'mousedown',(_0x1c23ed,_0x1dc341)=>{_0x1dc341['stopPropagation'](),_0x1dc341['preventDefault']();}),_0x56fafb['listenTo'](_0x56fafb['element'],'mouseup',()=>{_0x56fafb['element']['focus']();});}function v(_0x3712ac){const _0x580c0c=_0x3712ac['split'](':');return{'group':_0x580c0c[0x0],'type':_0x580c0c[0x1],'subType':_0x580c0c['length']>=0x5?_0x580c0c[0x2]:null,'id':_0x580c0c['length']<0x5?_0x580c0c[0x2]:_0x580c0c[0x3],'authorId':_0x580c0c['length']<0x5?_0x580c0c[0x3]:_0x580c0c[0x4],'markerCount':0x6==_0x580c0c['length']?_0x580c0c[0x5]:null};}function mt(_0x441cc2,_0x298153){const _0x3e69da=_0x441cc2['end']['nodeBefore'];if(_0x3e69da&&_0x3e69da['is']('element')&&_0x298153['schema']['isBlock'](_0x3e69da)&&!_0x298153['schema']['isObject'](_0x3e69da)){const _0x11d0b8=_0x298153['createPositionAt'](_0x3e69da,'end');return _0x298153['createRange'](_0x441cc2['start'],_0x11d0b8);}return _0x441cc2;}class M extends _0x400641{['afterInit'](){const _0x1d7c4c=this['editor'];if(!_0x1d7c4c['plugins']['has']('AlignmentEditing'))return;_0x1d7c4c['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x400641{['afterInit'](){const _0x46274d=this['editor'],_0x2cd2df=_0x46274d['plugins']['get']('SuggestionsConversion');for(const _0x173b86 of ii){if(!_0x46274d['plugins']['has'](_0x173b86))continue;const _0x1a1759=_0x173b86['slice'](0x0,-0x7)['toLowerCase']();_0x2cd2df['registerInlineAttribute'](_0x1a1759);}}}class I extends _0x400641{['afterInit'](){const _0x395cef=this['editor'],_0x211380=_0x395cef['plugins']['get']('SuggestionsConversion');_0x395cef['plugins']['has']('BookmarkEditing')&&_0x211380['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x400641{['afterInit'](){const _0x1b2693=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x5e6521,commandName:_0x14a26a}of no)this['editor']['plugins']['has'](_0x5e6521)&&_0x1b2693['registerInlineAttribute'](_0x14a26a);}}class T extends _0x400641{['afterInit'](){const {editor:_0x162570}=this;if(!_0x162570['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x2a6dfb=_0x162570['plugins']['get']('SuggestionsConversion');_0x2a6dfb['registerBlockAttribute']('footnotesListStyle'),_0x2a6dfb['registerBlockAttribute']('footnotesListStart');}}class E extends _0x400641{['afterInit'](){const _0x28ea46=this['editor'];if(!_0x28ea46['plugins']['has']('HighlightEditing'))return;_0x28ea46['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x400641{['afterInit'](){const _0x50d623=this['editor'];if(!_0x50d623['plugins']['has']('HtmlEmbed'))return;_0x50d623['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x400641{['afterInit'](){const _0x3ece97=this['editor'];if(!_0x3ece97['plugins']['has']('ImageEditing'))return;const _0x54ba33=_0x3ece97['plugins']['get']('SuggestionsConversion');_0x54ba33['registerBlockAttribute']('src'),_0x3ece97['plugins']['has']('ImageResize')&&_0x54ba33['registerBlockAttribute']('resizedWidth'),_0x3ece97['plugins']['has']('ImageTextAlternativeEditing')&&_0x54ba33['registerBlockAttribute']('alt'),_0x3ece97['plugins']['has']('PictureEditing')&&_0x54ba33['registerBlockAttribute']('sources'),_0x3ece97['plugins']['has']('ImageSizeAttributes')&&(_0x54ba33['registerBlockAttribute']('width'),_0x54ba33['registerBlockAttribute']('height'));}}class x extends _0x400641{['afterInit'](){const _0x89e00e=this['editor'],_0x527d2c=_0x89e00e['plugins']['get']('SuggestionsConversion');_0x89e00e['plugins']['has']('IndentBlock')&&(_0x527d2c['registerBlockAttribute']('blockIndent'),_0x89e00e['plugins']['has']('ListEditing')&&(_0x527d2c['registerBlockAttribute']('blockIndentList'),_0x527d2c['registerBlockAttribute']('blockIndentListItem')));}}class H extends _0x400641{['afterInit'](){const _0x44bb7a=this['editor'];if(!_0x44bb7a['plugins']['has']('LineHeight'))return;_0x44bb7a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x400641{['afterInit'](){const _0x38c21d=this['editor'];if(!_0x38c21d['plugins']['has']('LinkEditing'))return;const _0x3e50f8=_0x38c21d['plugins']['get']('SuggestionsConversion'),_0xc3625c=_0x38c21d['commands']['get']('link');_0x3e50f8['registerInlineAttribute']('linkHref');for(const _0x5b9949 of _0xc3625c['manualDecorators'])_0x3e50f8['registerInlineAttribute'](_0x5b9949['id']);}}class P extends _0x400641{['afterInit'](){const _0x186927=this['editor'];if(!_0x186927['plugins']['has']('ListEditing'))return;const _0x3e7951=_0x186927['plugins']['get']('SuggestionsConversion'),_0x210987=_0x186927['plugins']['has']('TodoListEditing');_0x3e7951['registerBlockAttribute']('listItemId'),_0x3e7951['registerBlockAttribute']('listType'),_0x3e7951['registerBlockAttribute']('listIndent'),_0x210987&&_0x3e7951['registerBlockAttribute']('todoListChecked');}}class K extends _0x400641{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0xace798=this['editor']['config']['get']('list.properties'),_0x2d90aa=this['editor']['plugins']['get']('SuggestionsConversion');_0xace798['styles']&&_0x2d90aa['registerBlockAttribute']('listStyle'),_0xace798['reversed']&&_0x2d90aa['registerBlockAttribute']('listReversed'),_0xace798['startIndex']&&_0x2d90aa['registerBlockAttribute']('listStart');}}class q extends _0x400641{['afterInit'](){const _0x1b1dc2=this['editor'],_0x49187d=_0x1b1dc2['plugins']['get']('SuggestionsConversion');_0x1b1dc2['plugins']['has']('MultiLevelList')&&_0x49187d['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x400641{['afterInit'](){const _0x442417=this['editor'];if(!_0x442417['plugins']['has']('Style')||!_0x442417['plugins']['has']('DataSchema')||!_0x442417['config']['get']('style.definitions'))return;const _0x13a3e4=_0x442417['plugins']['get']('SuggestionsConversion'),_0x17484b=_0x442417['config']['get']('style.definitions'),_0x494081=_0x442417['plugins']['get']('GeneralHtmlSupport'),_0x543db7=_0x442417['plugins']['get']('StyleUtils')['normalizeConfig'](_0x442417['plugins']['get']('DataSchema'),_0x17484b),_0x2e99c5=new Set();for(const _0x1c4e10 of _0x543db7['block']){const _0x12db47=_0x494081['getGhsAttributeNameForElement'](_0x1c4e10['element']);_0x2e99c5['add'](_0x12db47);}const _0x3e9a05=new Set();for(const _0x345f32 of _0x543db7['inline']){const _0x3aecbb=_0x494081['getGhsAttributeNameForElement'](_0x345f32['element']);_0x3e9a05['add'](_0x3aecbb);for(const _0xb67d0a of _0x345f32['ghsAttributes'])_0x3e9a05['add'](_0xb67d0a);}for(const _0x1eb7f4 of _0x2e99c5)_0x13a3e4['registerBlockAttribute'](_0x1eb7f4);for(const _0x9d956 of _0x3e9a05)_0x13a3e4['registerInlineAttribute'](_0x9d956);}}class O extends _0x400641{['afterInit'](){const _0x467dbd=this['editor'];if(!_0x467dbd['plugins']['has']('TableEditing'))return;const _0x5e0876=_0x467dbd['plugins']['get']('SuggestionsConversion');_0x5e0876['registerBlockAttribute']('headingRows'),_0x5e0876['registerBlockAttribute']('headingColumns');}}class R extends _0x400641{['afterInit'](){const {plugins:_0x557f80}=this['editor'];if(!_0x557f80['has']('TablePropertiesEditing'))return;const _0x52e420=_0x557f80['get']('SuggestionsConversion'),_0x291b4c=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x55b278 of _0x291b4c)_0x52e420['registerBlockAttribute'](_0x55b278);}}class F extends _0x400641{['afterInit'](){const _0x57247b=this['editor'],_0x3e1609=_0x57247b['plugins']['get']('SuggestionsConversion');_0x57247b['plugins']['has']('TableLayout')&&_0x3e1609['registerBlockAttribute']('tableType');}}class G extends _0x400641{['afterInit'](){const _0x5df65f=this['editor'],_0x467da3=this['editor']['plugins']['get']('SuggestionsConversion');_0x5df65f['plugins']['has']('Uploadcare')&&_0x5df65f['plugins']['has']('UploadcareImageEdit')&&_0x467da3['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x400641{['afterInit'](){const _0x499880=this['editor'];if(!_0x499880['plugins']['has']('ShiftEnter'))return;const _0x1bd316=_0x499880['plugins']['get']('SuggestionsConversion'),_0x1b7cd0=(_0x4e82c3,_0x134835,_0x5df2c6,_0x3e5909)=>{if(_0x3e5909&&!_0x5df2c6['options']['showSuggestionHighlights'])return;if(!_0x5df2c6['consumable']['test'](_0x134835['markerRange'],_0x4e82c3['name']))return;const _0x4588f3=_0x499880['model'];for(const _0x59159a of _0x134835['markerRange']['getItems']()){if(!_0x59159a['is']('element','softBreak'))continue;const _0x1fe16='deletion'==_0x134835['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x1e9bac,authorId:_0x6eb239}=v(_0x134835['markerName']),_0x52c0e7=_0x5df2c6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1fe16,'data-suggestion':_0x1e9bac,'data-author-id':_0x6eb239}),_0x3312a7=_0x5df2c6['mapper']['toViewPosition'](_0x4588f3['createPositionBefore'](_0x59159a));!_0x3e5909&&_0x1bd316['_activeMarkers']['includes'](_0x134835['markerName'])&&_0x5df2c6['writer']['addClass']('ck-suggestion-marker--active',_0x52c0e7),_0x5df2c6['writer']['insert'](_0x3312a7,_0x52c0e7),_0x5df2c6['mapper']['bindElementToMarker'](_0x52c0e7,_0x134835['markerName']);}};_0x499880['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2065ae,_0x4ab153,_0x52b609)=>{_0x1b7cd0(_0x2065ae,_0x4ab153,_0x52b609,!0x1);},{'priority':'high'}),_0x499880['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x38384d,_0x5a4b5e,_0x295078)=>{_0x1b7cd0(_0x38384d,_0x5a4b5e,_0x295078,!0x0);},{'priority':'high'});}}class L extends _0x400641{['afterInit'](){const _0x490abb=this['editor'];_0x490abb['plugins']['has']('MediaEmbedEditing')&&(_0x490abb['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x4999ff,{writer:_0x3c1094,options:_0x4a3a2b})=>{if(_0x4a3a2b['showSuggestionHighlights'])return _0x3c1094['createEmptyElement']('div');},'converterPriority':'high'}),_0x490abb['data']['downcastDispatcher']['on']('attribute:url:media',(_0x1fea33,_0x49ab58,_0x5eb2ea)=>{_0x5eb2ea['options']['showSuggestionHighlights']&&_0x1fea33['stop']();},{'priority':'high'}));}}class Q extends _0x400641{['afterInit'](){const _0x1623f7=this['editor'];if(!_0x1623f7['plugins']['has']('Table'))return;_0x1623f7['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x186f61,_0x45a924,_0x549228)=>{((_0x42d34f,_0x1ed470,_0x325edf)=>{if(!_0x325edf['options']['showSuggestionHighlights'])return;const _0x5614db=_0x1ed470['item'];if(!_0x5614db||!_0x5614db['is']('element','tableCell'))return;const _0x3ee3bc=_0x325edf['mapper']['toViewElement'](_0x5614db);if(_0x3ee3bc){const {id:_0x322ac2,authorId:_0x5a3159}=v(_0x1ed470['markerName']);it(_0x3ee3bc,_0x325edf['writer'],(_0x2f14bd,_0x399035,_0x4aff17)=>{_0x4aff17['addClass'](rt(_0x399035['classes']),_0x2f14bd),_0x4aff17['setAttribute']('data-suggestion-id',_0x322ac2,_0x2f14bd),_0x4aff17['setAttribute']('data-author-id',_0x5a3159,_0x2f14bd);});}})(0x0,_0x45a924,_0x549228);},{'priority':'highest'});}}class V extends _0x400641{['afterInit'](){const _0x55b449=this['editor'];_0x55b449['plugins']['has']('HorizontalLineEditing')&&_0x55b449['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x3bef9a,{writer:_0x90469c,options:_0x273ab9})=>{if(!_0x273ab9['showSuggestionHighlights'])return null;const _0x2361ea=_0x90469c['createContainerElement']('div'),_0x2cc6ad=_0x90469c['createEmptyElement']('hr');return _0x90469c['addClass']('ck-horizontal-line',_0x2361ea),_0x90469c['insert'](_0x90469c['createPositionAt'](_0x2361ea,0x0),_0x2cc6ad),_0x2361ea;},'converterPriority':'high'});}}class W extends _0x400641{['afterInit'](){const {plugins:_0x450217,model:_0x36bd27}=this['editor'];if(!_0x450217['has']('TableCellPropertiesEditing'))return;const _0x8141b0=_0x450217['get']('SuggestionsConversion'),_0x5248eb=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x4cf73f of _0x5248eb)_0x8141b0['registerBlockAttribute'](_0x4cf73f);_0x36bd27['schema']['checkAttribute']('tableCell','tableCellType')&&_0x8141b0['registerBlockAttribute']('tableCellType');}}class kt extends _0x400641{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[M,D,I,B,T,E,V,S,$,x,H,N,P,K,L,q,J,z,Q,O,F,W,R,G];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2d85e4=this['editor'],_0x22a92a=(_0x9ed45b,_0x3445f8,_0x12f476)=>{const {id:_0x51e67e,authorId:_0x19b0de,type:_0x304ef3,subType:_0x52964a}=v(_0x9ed45b['markerName']),_0x44868d=['ck-suggestion-marker',this['_getClassName'](_0x304ef3,_0x52964a)];let _0x287d65=0xbb8;return!_0x12f476&&(this['_activeMarkers']['includes'](_0x9ed45b['markerName'])&&(_0x44868d['push']('ck-suggestion-marker--active'),_0x287d65=0xbc2)),('deletion'==_0x304ef3&&(_0x287d65+=0x5),{'classes':_0x44868d,'attributes':{'data-suggestion':_0x51e67e,'data-author-id':_0x19b0de},'priority':_0x287d65});};_0x2d85e4['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x4b581c,_0x6c5a97)=>_0x22a92a(_0x4b581c,0x0,!0x1)}),_0x2d85e4['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x49bc02,_0x4cc5d6)=>_0x22a92a(_0x49bc02,0x0,!0x0)}),_0x2d85e4['conversion']['for']('dataDowncast')['add'](_0x218bbe=>{_0x218bbe['on']('addMarker:suggestion',(_0x3be505,_0x585eb9,_0x4ed13d)=>{if(!_0x4ed13d['options']['showSuggestionHighlights'])return;const _0x4b5c04=_0x585eb9['item'];if(!_0x4b5c04)return;const _0xaef735=_0x4ed13d['mapper']['toViewElement'](_0x4b5c04);_0x2d85e4['model']['schema']['isObject'](_0x4b5c04)&&_0xaef735&&!_0xaef735['getCustomProperty']('widget')&&_0xaef735['is']('containerElement')&&_0x430c5d(_0xaef735,_0x4ed13d['writer']);},{'priority':'high'});});const _0x5468c7=(_0x2d9c0c,_0x3009ac,_0x36094c,_0x27d92a,_0x1a643e)=>{if(_0x27d92a&&!_0x36094c['options']['showSuggestionHighlights'])return;if(!_0x3009ac['item'])return;const {id:_0x4c17ae,authorId:_0xb5ba75,subType:_0x3ea4ff}=v(_0x3009ac['markerName']);if(_0x1a643e){const _0x1beb17=_0x3ea4ff['split']('|')[0x0];if(!this['isBlockAttribute'](_0x1beb17))return;}if(_0x3009ac['item']['is']('selection'))return void _0x36094c['consumable']['consume'](_0x3009ac['item'],_0x2d9c0c['name']);const _0x126056=_0x36094c['mapper']['toViewElement'](_0x3009ac['item']);if(_0x3009ac['item']['is']('element')&&_0x2d85e4['model']['schema']['isBlock'](_0x3009ac['item'])&&!_0x126056['getCustomProperty']('addHighlight')){_0x36094c['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x126056),_0x36094c['writer']['setAttribute']('data-suggestion',_0x4c17ae,_0x126056),_0x36094c['writer']['setAttribute']('data-author-id',_0xb5ba75,_0x126056),_0x36094c['mapper']['bindElementToMarker'](_0x126056,_0x3009ac['markerName']),_0x27d92a||(this['_activeMarkers']['includes'](_0x3009ac['markerName'])?_0x36094c['writer']['addClass']('ck-suggestion-marker--active',_0x126056):_0x36094c['writer']['removeClass']('ck-suggestion-marker--active',_0x126056));for(const _0x4f3b0b of _0x2d85e4['model']['createRangeIn'](_0x3009ac['item'])['getItems']())_0x36094c['consumable']['consume'](_0x4f3b0b,_0x2d9c0c['name']);_0x36094c['consumable']['consume'](_0x3009ac['item'],_0x2d9c0c['name']);}},_0x359183=(_0x2e5e4c,_0x17b915,_0x43c35a,_0x972536)=>{const _0x207750=_0x43c35a['mapper']['markerNameToElements'](_0x17b915['markerName']);if(_0x207750){if(_0x972536){const {subType:_0x2c2a18}=v(_0x17b915['markerName']),_0x182cae=_0x2c2a18['split']('|')[0x0];if(!this['isBlockAttribute'](_0x182cae))return;}for(const _0x3a67f1 of _0x207750)_0x3a67f1['getCustomProperty']('addHighlight')||(_0x43c35a['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x3a67f1),_0x43c35a['writer']['removeAttribute']('data-suggestion',_0x3a67f1),_0x43c35a['writer']['removeAttribute']('data-author-id',_0x3a67f1),_0x43c35a['mapper']['unbindElementFromMarkerName'](_0x3a67f1,_0x17b915['markerName']));}};_0x2d85e4['conversion']['for']('editingDowncast')['add'](_0x7da78c=>{_0x7da78c['on']('addMarker:suggestion:formatBlock',(_0xdcf4c7,_0x327eb4,_0x3254fd)=>{_0x5468c7(_0xdcf4c7,_0x327eb4,_0x3254fd,!0x1,!0x1);},{'priority':'high'});}),_0x2d85e4['conversion']['for']('editingDowncast')['add'](_0x59594b=>{_0x59594b['on']('addMarker:suggestion:attribute',(_0x29fbcf,_0x2768c5,_0x4ea866)=>{_0x5468c7(_0x29fbcf,_0x2768c5,_0x4ea866,!0x1,!0x0);},{'priority':'high'});}),_0x2d85e4['conversion']['for']('editingDowncast')['add'](_0xcb0730=>{_0xcb0730['on']('removeMarker:suggestion:formatBlock',(_0x27905f,_0xfea7df,_0x1cbcdd)=>{_0x359183(0x0,_0xfea7df,_0x1cbcdd,!0x1);},{'priority':'high'});}),_0x2d85e4['conversion']['for']('editingDowncast')['add'](_0x5b44e3=>{_0x5b44e3['on']('removeMarker:suggestion:attribute',(_0x36daf0,_0x4d09a9,_0x39b87c)=>{_0x359183(0x0,_0x4d09a9,_0x39b87c,!0x0);},{'priority':'high'});}),_0x2d85e4['conversion']['for']('dataDowncast')['add'](_0x20feef=>{_0x20feef['on']('addMarker:suggestion:formatBlock',(_0x5ef912,_0xa51fec,_0x147cc8)=>{_0x5468c7(_0x5ef912,_0xa51fec,_0x147cc8,!0x0,!0x1);},{'priority':'highest'});}),_0x2d85e4['conversion']['for']('dataDowncast')['add'](_0x1108ce=>{_0x1108ce['on']('addMarker:suggestion:attribute',(_0x2d416a,_0x1b9530,_0x5b307b)=>{_0x5468c7(_0x2d416a,_0x1b9530,_0x5b307b,!0x0,!0x0);},{'priority':'highest'});}),_0x2d85e4['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x2e5526,_0x2854f2)=>{if(_0x2854f2['options']['showSuggestionHighlights']){const {id:_0x40255d,authorId:_0x1a45be}=v(_0x2e5526);return _0x2e5526['includes'](':split')||_0x2e5526['includes'](':merge')?{'group':'suggestion','name':_0x2e5526['substr'](0xb),'attributes':{'data-suggestion':_0x40255d,'data-author-id':_0x1a45be}}:null;}return{'group':'suggestion','name':_0x2e5526['substr'](0xb)};}});const _0x1cda57=(_0x5009fd,_0x45da1a,_0x5c08ad,_0xa49275,_0x472706)=>{if(_0xa49275&&!_0x5c08ad['options']['showSuggestionHighlights'])return;if(!_0x5c08ad['consumable']['test'](_0x45da1a['markerRange'],_0x5009fd['name']))return;const _0x2af7dc=this['_activeMarkers'],_0x1f0915=_0x45da1a['markerRange']['getWalker'](),_0x1a9d76=_0x45da1a['markerRange']['start'],_0x4f4782=_0x2d85e4['model']['schema'];let _0x4d050b=null,_0x4e4d15=null,_0x5ce941=!0x1,_0x2c87ea=!0x1;for(const _0xe2dfc3 of _0x1f0915){const _0x29af90=_0xe2dfc3['item'];_0x5ce941=_0x5ce941||_0x4f4782['isContent'](_0x29af90);const _0xabb691=_0x5c08ad['mapper']['toViewElement'](_0x29af90);if(_0xabb691&&_0xabb691['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xe2dfc3['type']&&(_0x4f4782['isBlock'](_0x29af90)&&!_0x4f4782['isLimit'](_0x29af90)&&(_0x29af90['nextSibling']||_0x1a9d76['isAtEnd']?_0x4d050b&&_0x4d050b['parent']==_0x29af90||(_0x4d050b=_0x29af90,_0x559f31(_0xe2dfc3['previousPosition']),_0x2c87ea=!0x0):_0x4e4d15=_0x4e4d15||_0xe2dfc3['previousPosition']));}function _0x559f31(_0xcd39f0){const {id:_0x1e94c4,authorId:_0x8b6db8}=v(_0x45da1a['markerName']),_0x573b93=_0x5c08ad['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x472706,'data-suggestion':_0x1e94c4,'data-author-id':_0x8b6db8}),_0x53e324=_0x5c08ad['mapper']['toViewPosition'](_0xcd39f0);!_0xa49275&&_0x2af7dc['includes'](_0x45da1a['markerName'])&&_0x5c08ad['writer']['addClass']('ck-suggestion-marker--active',_0x573b93),_0x5c08ad['writer']['insert'](_0x53e324,_0x573b93),_0x5c08ad['mapper']['bindElementToMarker'](_0x573b93,_0x45da1a['markerName']);}_0x5ce941||_0x2c87ea||!_0x4e4d15||_0x559f31(_0x4e4d15);};_0x2d85e4['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1bfd5f,_0x733910,_0x285e5a)=>{_0x1cda57(_0x1bfd5f,_0x733910,_0x285e5a,!0x1,'merge');},{'priority':'high'}),_0x2d85e4['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4f5610,_0x444905,_0x5cbf4f)=>{_0x1cda57(_0x4f5610,_0x444905,_0x5cbf4f,!0x0,'merge');},{'priority':'high'}),_0x2d85e4['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x58ed47,_0x4edf6c,_0x8c8abf)=>{_0x1cda57(_0x58ed47,_0x4edf6c,_0x8c8abf,!0x1,'split');},{'priority':'high'}),_0x2d85e4['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2549dc,_0x1b5387,_0x589ec9)=>{_0x1cda57(_0x2549dc,_0x1b5387,_0x589ec9,!0x0,'split');},{'priority':'high'}),_0x2d85e4['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x2f01fd,_0x7059b,_0x27674a)=>{((_0x1c09e7,_0xdb6278,_0x14945e)=>{const _0x46ce07=_0x14945e['mapper']['markerNameToElements'](_0xdb6278['markerName']);if(_0x46ce07){for(const _0x2d9042 of _0x46ce07)(_0x2d9042['hasClass']('ck-suggestion-marker-split')||_0x2d9042['hasClass']('ck-suggestion-marker-merge'))&&(_0x14945e['mapper']['unbindElementFromMarkerName'](_0x2d9042,_0xdb6278['markerName']),_0x14945e['writer']['remove'](_0x2d9042));}})(0x0,_0x7059b,_0x27674a);},{'priority':'high'});const _0x328de6=(_0x5a9731,_0x4e7dea,_0x6b5bd6,_0x20ae59)=>{if(_0x20ae59&&!_0x6b5bd6['options']['showSuggestionHighlights'])return;const _0x24a986=_0x4e7dea['markerRange']['start'],_0x3a53fc=_0x4e7dea['markerRange']['end'],_0x439b34=_0x2d85e4['model']['schema'];if(!_0x24a986['isTouching'](_0x3a53fc)||!_0x24a986['nodeAfter'])return;const _0xc8f542=_0x24a986['nodeAfter'];if(_0x439b34['isBlock'](_0xc8f542)&&!_0x439b34['isLimit'](_0xc8f542)&&_0x439b34['checkChild'](_0xc8f542,'$text')){if(!_0x6b5bd6['consumable']['consume'](_0x4e7dea['markerRange'],_0x5a9731['name']))return;const {id:_0x592876,authorId:_0x371b14}=v(_0x4e7dea['markerName']),_0x1d2a2a=_0x6b5bd6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x592876,'data-author-id':_0x371b14}),_0x4509df=_0x6b5bd6['mapper']['toViewPosition'](_0x3a53fc);!_0x20ae59&&this['_activeMarkers']['includes'](_0x4e7dea['markerName'])&&_0x6b5bd6['writer']['addClass']('ck-suggestion-marker--active',_0x1d2a2a),_0x6b5bd6['writer']['insert'](_0x4509df,_0x1d2a2a),_0x6b5bd6['mapper']['bindElementToMarker'](_0x1d2a2a,_0x4e7dea['markerName']);}};_0x2d85e4['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5f0980,_0xe8eead,_0x224580)=>{_0x328de6(_0x5f0980,_0xe8eead,_0x224580,!0x1);},{'priority':'high'}),_0x2d85e4['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x581b70,_0x541d16,_0x3da4eb)=>{_0x328de6(_0x581b70,_0x541d16,_0x3da4eb,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x100c3d,_0x11a808,_0x289fd8)=>{this['_activeMarkers']=_0x289fd8['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x347924){this['_blockAttributeKeys']['add'](_0x347924);}['registerInlineAttribute'](_0x402006){this['_inlineAttributeKeys']['add'](_0x402006);}['isBlockAttribute'](_0x3adf7c){return this['_blockAttributeKeys']['has'](_0x3adf7c);}['isInlineAttribute'](_0x2b2468){return this['_inlineAttributeKeys']['has'](_0x2b2468);}['isRegisteredAttribute'](_0x5d54fa){return this['isInlineAttribute'](_0x5d54fa)||this['isBlockAttribute'](_0x5d54fa);}['_getClassName'](_0x45cedd,_0x3de027){if('attribute'!=_0x45cedd)return'ck-suggestion-marker-'+_0x45cedd;const _0x6fb421=_0x3de027['split']('|')[0x0];return this['isBlockAttribute'](_0x6fb421)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x4d528c={},_0x25307d){if(void 0x0!==_0x4d528c['dateTimeFormat']&&'function'!=typeof _0x4d528c['dateTimeFormat'])throw new _0x1008d5('invalid-date-time-format');return _0x2546c8=>{const _0x278a00='string'==typeof _0x2546c8?tt['fromISO'](_0x2546c8):tt['fromJSDate'](_0x2546c8),_0x4a0f1a=tt['now'](),_0x1b5241=Math['floor'](_0x4a0f1a['diff'](_0x278a00,'days')['days']);return _0x4d528c['dateTimeFormat']?_0x4d528c['dateTimeFormat'](_0x278a00['toJSDate'](),_0x25307d&&_0x25307d['t']?_0x25307d['t']:void 0x0):0x0===_0x1b5241?_0x25307d?U(_0x25307d,'Today')+'\x20'+_0x278a00['toFormat']('hh:mma'):_0x278a00['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x1b5241?_0x25307d?U(_0x25307d,'Yesterday')+'\x20'+_0x278a00['toFormat']('hh:mma'):_0x278a00['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x1b5241<0x7?_0x25307d?U(_0x25307d,'Last')+'\x20'+U(_0x25307d,_0x278a00['toFormat']('EEEE'))+'\x20'+_0x278a00['toFormat']('hh:mma'):_0x278a00['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x278a00['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x23ec3e,_0x457093){const _0x218e5f=_0x23ec3e['mapper']['markerNameToElements'](_0x457093['name']);if(!_0x218e5f)return null;const _0x23169a=_0x2ff7bb(_0x218e5f['values']());return _0x23ec3e['view']['domConverter']['mapViewToDom'](_0x23169a)||null;}function wt(_0x270029,_0x4742dd){if(0x0===_0x4742dd['length'])return null;const _0x13c97f=[],_0x1b40aa=_0x270029['view']['domConverter'];for(const _0x3fcf0b of _0x4742dd){const _0x1c68e8=_0x270029['mapper']['markerNameToElements'](_0x3fcf0b['name']);if(!_0x1c68e8)continue;const _0x5a793c=Array['from'](_0x1c68e8)['map'](_0x5e1988=>_0x1b40aa['mapViewToDom'](_0x5e1988))['filter'](_0x22ddce=>!!_0x22ddce);_0x13c97f['push'](..._0x5a793c);}if(0x0===_0x13c97f['length'])return null;const _0x542ca8=[];for(const _0xba1308 of _0x13c97f){const _0x11314e=_0xba1308['getClientRects']()['item'](0x0);_0x11314e&&_0x542ca8['push']({'x':_0x11314e['x'],'y':_0x11314e['y'],'domElement':_0xba1308});}return 0x0===_0x542ca8['length']?null:(_0x542ca8['sort']((_0x5ac521,_0x1a706d)=>_0x5ac521['y']-_0x1a706d['y']||_0x5ac521['x']-_0x1a706d['x']),_0x542ca8['map'](_0x4c3b14=>_0x4c3b14['domElement']));}function bt(_0x29c04f,{limit:_0x534406,suffix:_0x271457='...'}){const _0x365845=[];let _0x2de86f=0x0;const _0x4cd10a=_0x29c04f['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x27660b=0x0;_0x27660b<_0x4cd10a['length'];_0x27660b++){let _0x2e0c72=_0x4cd10a[_0x27660b];const _0x4c4778=tn(_0x2e0c72);if(_0x2e0c72['startsWith']('<')){if(_0x2de86f>=_0x534406){const _0x13a68a=_0x2e0c72['match'](/[a-zA-Z]+/);if(!_0x13a68a){_0x4cd10a[_0x27660b]='';continue;}const _0x235622=_0x13a68a[0x0];_0x2e0c72['startsWith']('</')?(_0x365845['length']&&(_0x2e0c72=''),_0x365845['pop']()):(_0x365845['push'](_0x235622),_0x2e0c72='');}}else{if(_0x2de86f>=_0x534406)_0x2e0c72='';else{if(_0x2de86f+_0x4c4778['length']>=_0x534406){let _0x2a58b9=_0x534406-_0x2de86f;if('\x20'===_0x4c4778[_0x2a58b9-0x1])_0x2a58b9--;else{const _0x2e5b36=_0x4c4778['slice'](_0x2a58b9)['indexOf']('\x20');-0x1!==_0x2e5b36?_0x2a58b9+=_0x2e5b36:_0x2a58b9=_0x2e0c72['length'];}_0x2e0c72=_0x4c4778['slice'](0x0,_0x2a58b9)['join']('')+_0x271457,_0x2de86f=_0x534406;}else _0x2de86f+=_0x4c4778['length'];}}_0x4cd10a[_0x27660b]=_0x2e0c72;}return _0x4cd10a['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x2a2bf4){const _0x45cb5e=[];for(let _0x42ada5=0x0;_0x42ada5<_0x2a2bf4['length'];_0x42ada5++){const _0xa2b957=_0x2a2bf4['substring'](_0x42ada5)['match'](/^&[a-z0-9#]+;/);if(_0xa2b957){const _0x1ca6b9=_0xa2b957[0x0];_0x45cb5e['push'](_0x1ca6b9),_0x42ada5+=_0x1ca6b9['length']-0x1;}else _0x45cb5e['push'](_0x2a2bf4[_0x42ada5]);}return _0x45cb5e;}class X extends _0xe54118{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x1945f4){super(_0x1945f4);const _0x40590e=this['bindTemplate'];this['set']('message',U(_0x1945f4,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x1945f4,U(_0x1945f4,'Yes'),_0x138842,'submit'),this['cancelView']=this['_createButtonView'](_0x1945f4,U(_0x1945f4,'No'),_0x253983,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x3b8190(),this['keystrokes']=new _0xd851cf(),this['focusCycler']=new _0x30deae({'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':_0x40590e['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'](_0x4766ae,_0x4008a9,_0x13330d,_0x192caf){const _0x4b69e5=new ts(_0x4766ae);return _0x4b69e5['label']=_0x4008a9,_0x4b69e5['icon']=_0x13330d,_0x4b69e5['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x192caf}}),_0x4b69e5['on']('execute',()=>this['fire'](_0x192caf)),_0x4b69e5;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x2e1629=>{this['keystrokes']['listenTo'](_0x2e1629['element']),this['focusTracker']['add'](_0x2e1629['element']);}),this['keystrokes']['set']('esc',(_0x56df34,_0x5f07c5)=>{this['fire']('cancel'),_0x5f07c5();});}}function vt(_0x28aa0f){return class extends _0x28aa0f{['showConfirm'](_0x3b1f19,_0x5cd459){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x3b1f19,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x5cd459['appendChild'](this['confirmView']['element']),_0x5cd459['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0xb6475c,_0xcf92b1,_0x457d3e)=>{_0x457d3e||_0x5cd459['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x1f7d2a=>this['confirmView']['on']('submit',_0x1f7d2a));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function k(_0xf4021f){let _0x50055f=0x0,_0x5c031d=0x0;for(const _0x3a9922 of ne(_0xf4021f))_0x50055f=(_0x50055f<<0x5)-_0x50055f+_0x3a9922,_0x50055f&=_0x50055f,[_0x50055f,_0x5c031d]=[_0x5c031d,_0x50055f];return ie(_0x50055f)+ie(_0x5c031d);}function*ee(_0x47aa87){null==_0x47aa87||null==_0x47aa87?yield 0x12b9b0a1:0x0===_0x47aa87||!0x1===_0x47aa87?yield 0x0:0x1===_0x47aa87||0x1==_0x47aa87?yield 0x1:Array['isArray'](_0x47aa87)?yield*function*(_0x53267e){for(const _0x1265c8 of _0x53267e)yield*ee(_0x1265c8);}(_0x47aa87):'object'==typeof _0x47aa87?yield*ne(_0x47aa87):'string'==typeof _0x47aa87?yield*oe(_0x47aa87):'number'==typeof _0x47aa87&&(yield _0x47aa87);}function*ne(_0x38415c){if(yield te('{'),_0x38415c){const _0x2a7375=Object['keys'](_0x38415c)['sort']();for(const _0x4a7851 of _0x2a7375){yield*oe(_0x4a7851),yield te(':');const _0x1fa31b=_0x38415c[_0x4a7851];yield*ee(_0x1fa31b);}}yield te('}');}function*oe(_0x1d5260){yield te('\x22');for(const _0x4b2144 of _0x1d5260)yield te(_0x4b2144);yield te('\x22');}function te(_0x1574f3){return _0x1574f3['charCodeAt'](0x0);}function ie(_0x16638d){return(_0x16638d*=Math['sign'](_0x16638d))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0xacc082,_0x21190e,_0x629478,_0x32fb6d=[]){const _0x296148='string'==typeof _0xacc082?_0x629478['get'](_0xacc082)['constructor']:_0xacc082['prototype']['constructor'];if(_0x21190e['has'](_0x296148))return _0x21190e['get'](_0x296148);_0x21190e['set'](_0x296148,!0x0);const _0x2380a3=[...et,..._0x32fb6d]['map'](_0xd297a3=>{if(_0x629478['has'](_0xd297a3))return _0x629478['get'](_0xd297a3)['constructor'];})['filter'](_0x539f39=>_0x539f39);if(_0x296148&&_0x2380a3['includes'](_0x296148))return _0x21190e['set'](_0x296148,!0x1),!0x1;if(!_0x296148['requires'])return _0x21190e['set'](_0x296148,!0x0),!0x0;const _0x3fd271=_0x296148['requires']['every'](_0xcf7f24=>ot(_0xcf7f24,_0x21190e,_0x629478,_0x32fb6d));return _0x21190e['set'](_0x296148,_0x3fd271),_0x3fd271;}function Ct(_0x1b12d8,_0x3d465d){const _0x193d8f={};for(const _0x4e3659 of _0x1b12d8['config']['names']())nt['includes'](_0x4e3659)||(_0x193d8f[_0x4e3659]=_0x1b12d8['config']['get'](_0x4e3659));const _0x4680ba=_0x193d8f['plugins']||[],_0x55e3d1=_0x1b12d8['constructor']['builtinPlugins']||[],_0x5f502f=_0x4680ba['length']?_0x4680ba:_0x55e3d1,_0x38ba2d=_0x193d8f['extraPlugins']||[];delete _0x193d8f['extraPlugins'];const _0x4f5cbd=_0x193d8f['removePlugins']||[];delete _0x193d8f['removePlugins'];const _0x304235=_0x1b12d8['_context']['config']['get']('plugins')||[],_0x167fb6=_0x5f502f['concat'](_0x38ba2d)['concat'](_0x304235)['map'](_0x1e0f7a=>'string'==typeof _0x1e0f7a?_0x55e3d1['find'](_0x4fcd7b=>_0x4fcd7b['pluginName']==_0x1e0f7a):_0x1e0f7a)['filter'](_0x3679f9=>!_0x4f5cbd['includes'](_0x3679f9)&&!_0x4f5cbd['includes'](_0x3679f9['pluginName'])),_0xb99ab1=Array['from'](new Set(_0x167fb6)),_0x42fd96=new Map();return _0x193d8f['plugins']=_0xb99ab1['filter'](_0x241320=>ot(_0x241320,_0x42fd96,_0x1b12d8['plugins'],_0x3d465d)),_0x193d8f;}function xt(_0x861fde,_0x550524){const _0x4b7ec5=[];_0x861fde['document']['selection']['on']('change:range',()=>{const _0x2cc885=function(_0x455384,_0x3e6ab3){const _0x3c66a3=[];for(const _0x47c7be of _0x455384['markers']){const _0x533848=_0x47c7be['getRange']();(_0x533848['containsPosition'](_0x3e6ab3)||_0x533848['start']['isEqual'](_0x3e6ab3)||_0x533848['end']['isEqual'](_0x3e6ab3))&&_0x3c66a3['push'](_0x47c7be);}return _0x3c66a3;}(_0x861fde,_0x861fde['document']['selection']['focus']),_0x4b37e9=[],_0x59eb8d=[],_0x231950=[];for(const _0x1d4c00 of _0x4b7ec5)_0x2cc885['includes'](_0x1d4c00)||_0x4b37e9['push'](_0x1d4c00);for(const _0xc100dc of _0x2cc885)_0x4b7ec5['includes'](_0xc100dc)||_0x59eb8d['push'](_0xc100dc),_0x231950['push'](_0xc100dc);(_0x4b37e9['length']||_0x59eb8d['length'])&&_0x550524({'left':_0x4b37e9,'entered':_0x59eb8d}),_0x4b7ec5['length']=0x0,_0x4b7ec5['push'](..._0x231950);});}const It='Ctrl+Shift+E';function _t(_0x3adb06,_0x48db5f){const _0x280fb5=_0x3adb06['element'];_0x3adb06['keystrokes']['listenTo'](_0x280fb5);for(const _0x4b441d of _0x48db5f)ro(_0x3adb06,_0x4b441d);_0x48db5f['on']('change',(_0xaf5f3b,_0x3e8e81)=>{for(const _0x4208c6 of _0x3e8e81['removed'])to(_0x3adb06,_0x4208c6);for(const _0x5942e5 of Array['from'](_0x3e8e81['added'])['reverse']())ro(_0x3adb06,_0x5942e5);}),_0x3adb06['keystrokes']['set']('enter',(_0x1fc383,_0x2ca981)=>{_0x280fb5===_0x1fc383['target']&&(_0x3adb06['focusCycler']['focusFirst'](),_0x2ca981());},{'filter':_0x4a9017=>_0x4a9017['target']===_0x280fb5}),_0x3adb06['keystrokes']['set']('esc',(_0x431d46,_0x384fff)=>{_0x280fb5!==_0x431d46['target']?_0x3adb06['focus']():_0x3adb06['fire']('escape'),_0x384fff();}),_0x3adb06['keystrokes']['set']('arrowdown',(_0x28f848,_0x189965)=>{_0x280fb5===_0x28f848['target']&&(_0x3adb06['fire']('arrowdown'),_0x189965());}),_0x3adb06['keystrokes']['set']('arrowup',(_0x3338dc,_0x19dddc)=>{_0x280fb5===_0x3338dc['target']&&(_0x3adb06['fire']('arrowup'),_0x19dddc());});}function ro(_0x14db56,_0x5b5c20){_0x5b5c20['isRendered']&&(_0x14db56['focusTracker']['add'](_0x5b5c20['element']),_0x14db56['keystrokes']['listenTo'](_0x5b5c20['element']),_0x4e9b28(_0x5b5c20)&&function(_0x5d2504,_0x504681){const _0x2f57bf=_0x5d2504['actions'],_0x3ddd09=_0x504681['actions'];for(const _0x18b592 of Object['keys'](_0x2f57bf))if(_0x18b592 in _0x3ddd09&&_0x2f57bf[_0x18b592]!==_0x3ddd09[_0x18b592])return!0x1;return!0x0;}(_0x14db56['focusCycler'],_0x5b5c20['focusCycler'])&&_0x14db56['focusCycler']['chain'](_0x5b5c20['focusCycler']));}function to(_0x190dfe,_0x1ddc26){_0x190dfe['focusTracker']['remove'](_0x1ddc26['element']),_0x190dfe['keystrokes']['stopListening'](_0x1ddc26['element']),_0x4e9b28(_0x1ddc26)&&_0x190dfe['focusCycler']['unchain'](_0x1ddc26['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0xc5ed8{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x2056fb?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x48aaad,_0x1ed167)=>{_0x1ed167['on']('ready',()=>{this['_integrateEditor'](_0x1ed167);});});}get['editor'](){if(this['context']instanceof _0x2056fb)return this['context'];{const _0x3ec63f=this['context']['editors']['first'];if(!_0x3ec63f)throw new _0x1008d5('documentcompare-no-editor',this);return _0x3ec63f;}}['getDiff'](_0x3b1253,_0x2821a1,_0x41a4ed={'anchor':'main','markDeletions':!0x1}){let _0x3fcdd7,_0x11f5b7;const _0x2e2603=this['editor'];if('string'==typeof _0x41a4ed['anchor']){const _0x2e2114=_0x2e2603['model']['document']['getRoot'](_0x41a4ed['anchor']);if(!_0x2e2114)throw new _0x1008d5('documentcompare-compare-no-root',this,{'anchor':_0x41a4ed['anchor']});_0x3fcdd7=_0x2e2114,_0x11f5b7=_0x2e2603['model']['createPositionAt'](_0x2e2114,0x0);}else _0x3fcdd7=_0x41a4ed['anchor']['clone'](),_0x11f5b7=_0x41a4ed['anchor']['clone']();const _0x207b75=_0x2e2603['data']['parse'](_0x3b1253,_0x3fcdd7),_0x2fda9c=_0x2e2603['data']['parse'](_0x2821a1,_0x3fcdd7);return new Mt(_0x207b75,_0x2fda9c,_0x2e2603,{'anchor':_0x11f5b7,'markDeletions':_0x41a4ed['markDeletions']});}['isMarkedRemoveOperation'](_0x35d101){return'marker'==_0x35d101['type']&&_0x35d101['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x20617b){_0x20617b['conversion']['for']('upcast')['add'](_0x4d3a2f=>{_0x4d3a2f['on']('element',(_0x31ee91,_0x15aa10,_0x2ec437)=>{if(_0x15aa10['modelRange'])for(const _0x590ecf of _0x15aa10['modelRange']['getItems']({'shallow':!0x0})){if(_0x590ecf['is']('$textProxy'))continue;const _0x4cce0e=_0x15aa10['viewItem']['getAttribute'](Et);_0x4cce0e&&_0x2ec437['writer']['setAttribute'](St,_0x4cce0e,_0x590ecf);}},{'priority':'lowest'});}),_0x20617b['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x1ba4d0,_0x360dd0,_0xad0b85,_0x738342){this['_editor']=_0xad0b85,this['_markDeletions']=!!_0x738342['markDeletions'],this['_anchor']=_0x738342['anchor'];const _0x35dff9=this['_tokenizeModel'](_0x1ba4d0),_0x21ebc1=this['_tokenizeModel'](_0x360dd0);this['_diffItems']=this['_diffModelTokens'](_0x35dff9,_0x21ebc1),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x1ba4d0['markers'],_0x360dd0['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x40321f=this['_editor']['model']['document'],_0x177e5d=[];let _0x3036ed=_0x40321f['version'];for(const _0x2f21e3 of this['_operationsData'])switch(_0x2f21e3['type']){case'attribute':{const _0x63340d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2f21e3['path']),_0x460c81=_0x63340d['getShiftedBy'](_0x2f21e3['howMany']),_0x3b3a72=new _0x2b05c1(_0x63340d,_0x460c81),_0x2b1254=JSON['parse'](_0x2f21e3['oldValue']),_0x273f2a=JSON['parse'](_0x2f21e3['newValue']);_0x177e5d['push'](new _0x100ebf(_0x3b3a72,_0x2f21e3['key'],_0x2b1254,_0x273f2a,_0x3036ed++));break;}case'insert':{const _0x1bf574=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2f21e3['path']),_0x1c1073=this['_makeModelFromTokens'](_0x2f21e3['tokens']);_0x177e5d['push'](new _0x3ebcb8(_0x1bf574,_0x1c1073,_0x3036ed++));break;}case'remove':{const _0x2e7580=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2f21e3['path']),_0x32a981=new _0x816e35(_0x40321f['graveyard'],[0x0]);_0x177e5d['push'](new _0x36bb2f(_0x2e7580,_0x2f21e3['howMany'],_0x32a981,_0x3036ed++));break;}case'rename':{const _0x29a6b7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2f21e3['path']);_0x177e5d['push'](new _0x418001(_0x29a6b7,_0x2f21e3['oldName'],_0x2f21e3['newName'],_0x3036ed++));break;}case'split':{const _0x43292c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2f21e3['path']),_0x51a511=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2f21e3['path']['slice'](0x0,-0x1));_0x51a511['offset']++,_0x177e5d['push'](new _0x305667(_0x43292c,Number['NEGATIVE_INFINITY'],_0x51a511,null,_0x3036ed++));break;}case'merge':{const _0x54307b=_0x2f21e3['path']['slice'](),_0x178936=_0x54307b['slice'](0x0,-0x1);_0x178936[_0x178936['length']-0x1]++,_0x178936['push'](0x0);const _0x4de3d5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x178936),_0x28b878=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x54307b),_0x226363=new _0x816e35(_0x40321f['graveyard'],[0x0]);_0x177e5d['push'](new _0x2842bd(_0x4de3d5,Number['NEGATIVE_INFINITY'],_0x28b878,_0x226363,_0x3036ed++));break;}case'marker':case'markedRemove':{let _0x129f36=null;if(_0x2f21e3['range']){const _0x4feb15=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2f21e3['range']['start']),_0x3df93e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2f21e3['range']['end']);_0x129f36=new _0x2b05c1(_0x4feb15,_0x3df93e);}const _0x27615d='marker'==_0x2f21e3['type']?_0x2f21e3['name']:'$markedRemove:'+_0x22a9cb();_0x177e5d['push'](new _0x31c580(_0x27615d,null,_0x129f36,_0x40321f['model']['markers'],!0x0,_0x3036ed++));break;}case'unwrap':{const _0x6bf898=_0x2f21e3['path']['slice']();_0x6bf898['push'](0x0);const _0x213488=_0x2f21e3['path']['slice'](),_0x3d1d2c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x6bf898),_0x33b15b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x213488),_0x4d1b4e=new _0x816e35(_0x40321f['graveyard'],[0x0]);_0x177e5d['push'](new _0x36bb2f(_0x3d1d2c,_0x2f21e3['howMany'],_0x33b15b,_0x3036ed++)),_0x177e5d['push'](new _0x36bb2f(_0x33b15b['getShiftedBy'](_0x2f21e3['howMany']),0x1,_0x4d1b4e,_0x3036ed++));break;}case'wrap':{const _0x3d2cbb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2f21e3['range']['start']),_0xe209cc=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2f21e3['range']['end']),_0x4e5eab=_0x2f21e3['token']['element']['_clone'](!0x1),_0x15554c=_0x2f21e3['range']['end']['slice']();_0x15554c['push'](0x0);const _0xdf4176=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x15554c);_0x177e5d['push'](new _0x3ebcb8(_0xe209cc,_0x4e5eab,_0x3036ed++)),_0x177e5d['push'](new _0x36bb2f(_0x3d2cbb,_0xe209cc['offset']-_0x3d2cbb['offset'],_0xdf4176,_0x3036ed++));break;}}return _0x177e5d;}['_tokenizeModel'](_0x5c0936){const _0x10fa65=[],_0x4ee37c=_0x2b05c1['_createIn'](_0x5c0936),_0xb2a384=new _0x2e4c85({'boundaries':_0x4ee37c});let _0x1ff393='',_0x2d5d85=null;const _0x3f8ff0=[''],_0x4aa2c8=new Map();for(const _0x2dd7b5 of _0xb2a384)if('elementStart'==_0x2dd7b5['type']||'elementEnd'==_0x2dd7b5['type']){let _0x1a5a2b=_0x3f8ff0[0x0];''!==_0x1ff393&&(_0x10fa65['push'](...this['_makeTokensFromTextByWords'](_0x1ff393,_0x2d5d85,_0x1a5a2b)),_0x1ff393='');const _0x7f53a3=_0x2dd7b5['item'];let _0x505b52;_0x7f53a3['getAttribute'](St)?_0x505b52=_0x7f53a3['getAttribute'](St):'elementStart'==_0x2dd7b5['type']?(_0x505b52=_(_0x7f53a3),_0x4aa2c8['set'](_0x7f53a3,_0x505b52)):_0x505b52=_0x4aa2c8['get'](_0x7f53a3);const _0x3d8e61=this['_getElementCategory'](_0x7f53a3);'solid'==_0x3d8e61&&('elementStart'==_0x2dd7b5['type']?(_0x1a5a2b=_0x505b52,_0x3f8ff0['unshift'](_0x1a5a2b)):_0x3f8ff0['shift']());const _0x3bcea5={'type':'element','element':_0x7f53a3,'elementId':_0x505b52,'category':_0x3d8e61,'isStart':'elementStart'==_0x2dd7b5['type'],'limitId':_0x1a5a2b};_0x10fa65['push'](_0x3bcea5);}else''==_0x1ff393&&(_0x2d5d85=_0x2dd7b5['previousPosition']['clone']()),_0x1ff393+=_0x2dd7b5['item']['data'];return''!==_0x1ff393&&_0x10fa65['push'](...this['_makeTokensFromTextByWords'](_0x1ff393,_0x2d5d85,_0x3f8ff0[0x0])),_0x10fa65;}['_makeTokensFromTextByWords'](_0x1036a2,_0x3820dd,_0x43d011){const _0x3bd5ed=_0x1036a2['matchAll'](/(\s)/g),_0x312f3a=Array['from'](_0x3bd5ed)['map'](_0x87ddd8=>_0x87ddd8['index']);_0x312f3a['push'](_0x1036a2['length']),0x0==_0x312f3a[0x0]&&_0x312f3a['shift']();const _0x1e913d=[],_0x2a1132=_0x3820dd['parent'];let _0x455bae=0x0,_0x529b6d=_0x3820dd['offset'];for(let _0x2526e0=0x0;_0x2526e0<_0x312f3a['length'];_0x2526e0++)_0x1e913d['push']({'type':'text','data':_0x1036a2['slice'](_0x455bae,_0x312f3a[_0x2526e0]),'parent':_0x2a1132,'offset':_0x529b6d,'limitId':_0x43d011}),_0x455bae=_0x312f3a[_0x2526e0],_0x529b6d=_0x3820dd['offset']+_0x312f3a[_0x2526e0];return _0x1e913d;}['_getElementCategory'](_0x5cd355){const _0xa4f4a1=this['_editor']['model']['schema'];return _0xa4f4a1['isLimit'](_0x5cd355)||_0xa4f4a1['isContent'](_0x5cd355)||_0xa4f4a1['isInline'](_0x5cd355)?'solid':_0xa4f4a1['isBlock'](_0x5cd355)?'block':'container';}['_diffModelTokens'](_0x1e509b,_0x1cc68b){const _0x52c2fd=_0x5f2cd9(_0x1e509b,_0x1cc68b,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x52c2fd);const _0x38b178=_0x52c2fd['flatMap'](_0x544c0f=>{const _0x5e6409=_0x544c0f['added']?'added':_0x544c0f['removed']?'removed':'unchanged';return _0x544c0f['value']['map'](_0x1236fa=>({'token':_0x1236fa,'change':_0x5e6409}));});let _0x44d868=0x0;for(const _0x22fd81 of _0x38b178)'added'!=_0x22fd81['change']&&('unchanged'==_0x22fd81['change']&&(_0x22fd81['before']=_0x1e509b[_0x44d868]),_0x44d868++);return _0x38b178;}['_handleUnclosedBlockOpeningTags'](_0x5cf295){for(let _0x4cb6f2=0x0;_0x4cb6f2<_0x5cf295['length']-0x1;_0x4cb6f2++)if(_0x5cf295[_0x4cb6f2]['removed']&&_0x5cf295[_0x4cb6f2+0x1]['added']){const _0x133d7b=this['_findUnclosedBlockOpeningToken'](_0x5cf295[_0x4cb6f2]['value']);if(null!==_0x133d7b){const _0x5bd967=this['_findUnclosedBlockOpeningToken'](_0x5cf295[_0x4cb6f2+0x1]['value']),_0x318330=_0x5cf295[_0x4cb6f2]['value']['splice'](_0x133d7b),_0x4ba3fb=_0x5cf295[_0x4cb6f2+0x1]['value']['splice'](_0x5bd967),_0x1888cc=[_0x4ba3fb['shift']()];_0x318330['shift']();const _0x5ad364={'value':_0x318330,'removed':!0x0},_0x24473f={'value':_0x4ba3fb,'added':!0x0},_0x342769={'value':_0x1888cc};_0x5cf295['splice'](_0x4cb6f2+0x2,0x0,_0x342769,_0x5ad364,_0x24473f);}}}['_findUnclosedBlockOpeningToken'](_0x1b7b6d){let _0x40d4b2=0x0,_0x405e28=-0x1;for(let _0x2cc4fd=0x0;_0x2cc4fd<_0x1b7b6d['length'];_0x2cc4fd++){const _0x5ae184=_0x1b7b6d[_0x2cc4fd];'element'==_0x5ae184['type']&&'block'==_0x5ae184['category']&&(_0x40d4b2+=_0x5ae184['isStart']?0x1:-0x1,_0x5ae184['isStart']&&(_0x405e28=_0x2cc4fd));}return 0x0===_0x40d4b2?null:_0x405e28;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x23e20b=0x0;_0x23e20b<this['_diffItems']['length'];_0x23e20b++){const _0x1ece76=this['_diffItems'][_0x23e20b]['change'],_0x117fca=[];_0x117fca['push'](this['_diffItems'][_0x23e20b]);let _0x2becc7=_0x23e20b+0x1;for(;this['_diffItems'][_0x2becc7]&&this['_diffItems'][_0x2becc7]['change']==_0x1ece76;)_0x117fca['push'](this['_diffItems'][_0x2becc7]),_0x2becc7++,_0x23e20b++;const _0x363993=_0x117fca['map'](_0x4000df=>_0x4000df['token']);if('unchanged'==_0x1ece76)_0x117fca['map'](_0x23c6ff=>_0x23c6ff['before'])['forEach'](_0x1d6665=>this['_traverseOverItem'](_0x1d6665));else{if('removed'==_0x1ece76){if(this['_markDeletions']){const _0x5638f5=this['_path']['slice']();_0x363993['forEach'](_0x176d44=>this['_traverseOverItem'](_0x176d44));const _0x1cac01=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x5638f5,'end':_0x1cac01}});}else this['_handleChanged'](_0x363993,!0x0,this['_path']['slice']());}else{const _0xefd655=_0x363993['filter'](_0x1a591e=>'element'!=_0x1a591e['type']||'container'!=_0x1a591e['category']);this['_handleChanged'](_0xefd655,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0xd15dba=0x0;_0xd15dba<this['_diffItems']['length'];_0xd15dba++){const _0x296b5f=this['_diffItems'][_0xd15dba]['change'],_0x32896d=[];_0x32896d['push'](this['_diffItems'][_0xd15dba]);let _0x7aa87a=_0xd15dba+0x1;for(;this['_diffItems'][_0x7aa87a]&&this['_diffItems'][_0x7aa87a]['change']==_0x296b5f;)_0x32896d['push'](this['_diffItems'][_0x7aa87a]),_0x7aa87a++,_0xd15dba++;const _0x455252=_0x32896d['map'](_0x2555cb=>_0x2555cb['token']);if('unchanged'==_0x296b5f){const _0x25934b=_0x32896d['map'](_0x3582c8=>_0x3582c8['before']);this['_handleUnchanged'](_0x25934b,_0x455252);}else('removed'!=_0x296b5f||this['_markDeletions'])&&_0x455252['forEach'](_0x3ed9cc=>{this['_traverseOverItem'](_0x3ed9cc);});}}['_calculateMarkersOperationsData'](_0x556f15,_0x3545d5){const _0x2b87f5={};for(const [_0x3f8419]of _0x556f15)_0x2b87f5[_0x3f8419]=null;for(const [_0x4173ae,_0x3ca357]of _0x3545d5)_0x2b87f5[_0x4173ae]=_0x3ca357;const _0x4ef33c=Object['entries'](_0x2b87f5)['map'](([_0x41ff69,_0x505f5a])=>({'type':'marker','name':_0x41ff69,'range':_0x505f5a?{'start':_0x505f5a['start']['path']['slice'](),'end':_0x505f5a['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x4ef33c);}['_handleUnwraps'](){const _0x4c46b9=new Map(),_0x714a18=[],_0x4f083b=[0x0];let _0x563c7a=this['_diffItems']['length']+0x1;for(let _0x35f962=this['_diffItems']['length']-0x1;_0x35f962>=0x0;_0x35f962--){const {token:_0x2acd8c,before:_0x4b9f2c,change:_0x47d6b6}=this['_diffItems'][_0x35f962];if('removed'!=_0x47d6b6&&(_0x563c7a=_0x35f962),'element'!=_0x2acd8c['type']||'container'!=_0x2acd8c['category']||'added'==_0x47d6b6)continue;const _0x597e7c=_0x4b9f2c?_0x4b9f2c['element']:_0x2acd8c['element'];if(_0x2acd8c['isStart']){const _0x3ad0ef=_0x4c46b9['get'](_0x597e7c),_0x546efa=this['_diffItems'][_0x3ad0ef];('removed'==_0x47d6b6||'removed'==_0x546efa['change'])&&_0x563c7a<_0x3ad0ef&&(this['_operationsData']['push']({'type':'unwrap','path':_0x597e7c['getPath'](),'howMany':_0x597e7c['maxOffset']+_0x4f083b[0x0]}),_0x4f083b['shift'](),_0x4f083b[0x0]+=_0x597e7c['maxOffset']-0x1,_0x714a18['push'](_0x35f962),_0x714a18['push'](_0x3ad0ef));}else _0x4c46b9['set'](_0x597e7c,_0x35f962),_0x4f083b['unshift'](0x0);}_0x714a18['sort']((_0x3274bc,_0x2e8690)=>_0x2e8690-_0x3274bc),_0x714a18['forEach'](_0x147b4a=>{const _0x26110d=this['_diffItems'][_0x147b4a];'removed'==_0x26110d['change']?this['_diffItems']['splice'](_0x147b4a,0x1):(_0x26110d['change']='added',delete _0x26110d['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x5b21e5=[];for(let _0x440604=0x0;_0x440604<this['_diffItems']['length'];_0x440604++){const {change:_0x41e7ed,token:_0x4692d0}=this['_diffItems'][_0x440604];if('added'==_0x41e7ed&&'element'==_0x4692d0['type']&&'container'==_0x4692d0['category']){if(_0x4692d0['isStart'])_0x5b21e5['push'](this['_path']['slice']());else{if(!_0x4692d0['isStart']){const _0x78f6f5=_0x5b21e5['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x78f6f5,'end':this['_path']['slice']()},'token':_0x4692d0}),this['_path'][this['_path']['length']-0x1]=_0x78f6f5[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x41e7ed||this['_markDeletions'])&&this['_traverseOverItem'](_0x4692d0);}}['_handleUnchanged'](_0x192c86,_0x557ff1){for(let _0x4c24bb=0x0;_0x4c24bb<_0x192c86['length'];_0x4c24bb++){const _0x35be10=_0x192c86[_0x4c24bb];if('element'==_0x35be10['type']&&_0x35be10['isStart']){const _0x26d807=_0x557ff1[_0x4c24bb];'block'==_0x35be10['category']&&this['_handleElementRename'](_0x35be10['element'],_0x26d807['element'],this['_path']),this['_handleElementAttributeChanges'](_0x35be10['element'],_0x26d807['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x26d807);}else{if('element'!=_0x35be10['type']||_0x35be10['isStart']){if('text'==_0x35be10['type']){const _0x47e67a=this['_path']['slice'](),_0x4e1c11=[],_0x594637=[];for(;_0x192c86[_0x4c24bb]&&'text'==_0x192c86[_0x4c24bb]['type'];)_0x4e1c11['push'](_0x192c86[_0x4c24bb]),_0x594637['push'](_0x557ff1[_0x4c24bb]),this['_path'][this['_path']['length']-0x1]+=_0x192c86[_0x4c24bb]['data']['length'],_0x4c24bb++;_0x4c24bb--,this['_handleTextAttributeChanges'](_0x4e1c11,_0x594637,_0x47e67a);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x1a240e,_0x33bb23,_0x5d4239){const _0x453eca=[],_0x347624=[],_0x172ec8=_0x5d4239['slice']();for(let _0x20b3bb=0x0;_0x20b3bb<_0x1a240e['length'];_0x20b3bb++){const _0x596b42=_0x1a240e[_0x20b3bb],_0x418f0e=_0x5d4239['slice']();if('element'!=_0x596b42['type']||_0x596b42['isStart'])'element'==_0x596b42['type']&&_0x596b42['isStart']?(_0x5d4239['push'](0x0),_0x33bb23||this['_parents']['push'](_0x596b42),_0x347624['push']({'before':_0x418f0e,'after':_0x5d4239['slice'](),'index':_0x20b3bb})):_0x5d4239[_0x5d4239['length']-0x1]+=_0x596b42['data']['length'];else{let _0x5bf888;_0x5d4239['pop'](),_0x5d4239[_0x5d4239['length']-0x1]++,_0x5bf888=_0x33bb23?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x347624['length']?_0x347624['pop']():_0x453eca['push']({'before':_0x418f0e,'after':_0x5d4239['slice'](),'index':_0x20b3bb,'related':_0x5bf888});}}if(_0x347624['length']!==_0x453eca['length'])throw new _0x1008d5('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x1a240e,'isRemove':_0x33bb23});const _0x474749=[{'after':_0x172ec8['slice'](),'index':-0x1},..._0x453eca,..._0x347624,{'before':_0x5d4239['slice'](),'index':_0x1a240e['length']}];if(_0x33bb23){for(let _0x3ef7b0=_0x474749['length']-0x1;_0x3ef7b0>=0x1;_0x3ef7b0--){const _0x1890cd=_0x474749[_0x3ef7b0-0x1]['after'],_0x132ab4=_0x474749[_0x3ef7b0]['before'],_0x4070e5=_0x132ab4[_0x132ab4['length']-0x1]-_0x1890cd[_0x1890cd['length']-0x1];_0x4070e5&&(this['_operationsData']['push']({'type':'remove','path':_0x1890cd,'howMany':_0x4070e5}),_0x132ab4[_0x132ab4['length']-0x1]-=_0x4070e5);}for(const {before:_0x279dd7}of _0x453eca)this['_operationsData']['push']({'type':'merge','path':_0x279dd7});}else for(let _0x18aa61=0x0;_0x18aa61<_0x474749['length']-0x1;_0x18aa61++){const _0x111ce7=_0x474749[_0x18aa61]['after'],_0x198591=_0x474749[_0x18aa61+0x1]['before'],_0x2d5767=_0x474749[_0x18aa61]['index']+0x1,_0x36d633=_0x474749[_0x18aa61+0x1]['index'];if(_0x2d5767!==_0x36d633&&this['_operationsData']['push']({'type':'insert','path':_0x111ce7,'tokens':_0x1a240e['slice'](_0x2d5767,_0x36d633)}),_0x18aa61<_0x453eca['length']){this['_operationsData']['push']({'type':'split','path':_0x198591});const _0x2783b0=_0x1a240e[_0x347624[_0x347624['length']-0x1-_0x18aa61]['index']],_0x26c191=_0x453eca[_0x18aa61]['after'],_0x20668a=_0x453eca[_0x18aa61]['related']['element'];this['_handleElementRename'](_0x20668a,_0x2783b0['element'],_0x26c191),this['_handleElementAttributeChanges'](_0x20668a,_0x2783b0['element'],_0x26c191);}}}['_traverseOverItem'](_0x4dc5fd){'element'==_0x4dc5fd['type']&&_0x4dc5fd['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x4dc5fd)):'element'!=_0x4dc5fd['type']||_0x4dc5fd['isStart']?'text'==_0x4dc5fd['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x4dc5fd['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x1d3fd9,_0x44ee28,_0x2aa459){_0x1d3fd9['name']!=_0x44ee28['name']&&this['_operationsData']['push']({'type':'rename','path':_0x2aa459['slice'](),'oldName':_0x1d3fd9['name'],'newName':_0x44ee28['name']});}['_handleElementAttributeChanges'](_0x62115a,_0x5088c5,_0x2a6491){const _0x364003=this['_getAttributeChanges'](_0x62115a['getAttributes'](),_0x5088c5['getAttributes']());for(const _0x22735c in _0x364003){const {oldValue:_0x262cc1,newValue:_0x3e4987}=_0x364003[_0x22735c];this['_operationsData']['push']({'type':'attribute','path':_0x2a6491['slice'](),'howMany':0x1,'key':_0x22735c,'oldValue':_0x262cc1,'newValue':_0x3e4987});}}['_handleTextAttributeChanges'](_0x8ade92,_0x12823e,_0x14d7f1){const _0x5bbe2b=this['_operationsData'],_0x24554a=_0x8ade92[0x0]['parent'],_0x51ab46=_0x8ade92[0x0]['offset'],_0x3485d8=_0x12823e[0x0]['parent'],_0x217f38=_0x12823e[0x0]['offset'],_0x479c8e=_0x8ade92['reduce']((_0x141a03,_0x4de41d)=>_0x141a03+_0x4de41d['data']['length'],0x0),_0x595ade=this['_getAttrsForOffsets'](_0x24554a,_0x51ab46,_0x479c8e),_0x4cf273=this['_getAttrsForOffsets'](_0x3485d8,_0x217f38,_0x479c8e),_0x2737a3={};for(let _0x5e23ed=0x0;_0x5e23ed<_0x479c8e;_0x5e23ed++){const _0x4683bb=_0x595ade[_0x51ab46+_0x5e23ed],_0x5462db=_0x4cf273[_0x217f38+_0x5e23ed],_0x2376c3=this['_getAttributeChanges'](_0x4683bb,_0x5462db);for(const _0x1b8d7b in _0x2737a3)_0x2376c3[_0x1b8d7b]||_0xf18e6a(_0x1b8d7b);for(const _0x2312fd in _0x2376c3){const {oldValue:_0x411be6,newValue:_0x1f4a35}=_0x2376c3[_0x2312fd],_0x4dd3b9=_0x2737a3[_0x2312fd];_0x4dd3b9?_0x4dd3b9['oldValue']==_0x411be6&&_0x4dd3b9['newValue']==_0x1f4a35?_0x4dd3b9['length']++:(_0xf18e6a(_0x2312fd),_0x2737a3[_0x2312fd]={'oldValue':_0x411be6,'newValue':_0x1f4a35,'start':_0x5e23ed,'length':0x1}):_0x2737a3[_0x2312fd]={'oldValue':_0x411be6,'newValue':_0x1f4a35,'start':_0x5e23ed,'length':0x1};}}for(const _0x5e1629 in _0x2737a3)_0xf18e6a(_0x5e1629);function _0xf18e6a(_0x2f8e75){const _0x2f4a8f=_0x2737a3[_0x2f8e75],_0x12a969=_0x14d7f1['slice']();_0x12a969[_0x12a969['length']-0x1]+=_0x2f4a8f['start'],_0x5bbe2b['push']({'type':'attribute','path':_0x12a969,'howMany':_0x2f4a8f['length'],'key':_0x2f8e75,'oldValue':_0x2f4a8f['oldValue'],'newValue':_0x2f4a8f['newValue']}),delete _0x2737a3[_0x2f8e75];}}['_getAttributeChanges'](_0x3d7a53,_0x5c9a3d){const _0x5dc222={};for(const [_0x1d8cea,_0x23829c]of _0x3d7a53)_0x5dc222[_0x1d8cea]={'oldValue':JSON['stringify'](_0x23829c),'newValue':'null'};for(const [_0x5ab3e0,_0x323b75]of _0x5c9a3d){const _0x2ebff4=JSON['stringify'](_0x323b75);_0x5dc222[_0x5ab3e0]?_0x5dc222[_0x5ab3e0]['oldValue']==_0x2ebff4?delete _0x5dc222[_0x5ab3e0]:_0x5dc222[_0x5ab3e0]['newValue']=_0x2ebff4:_0x5dc222[_0x5ab3e0]={'oldValue':'null','newValue':_0x2ebff4};}return delete _0x5dc222[St],_0x5dc222;}['_getAttrsForOffsets'](_0x56568a,_0x43fda7,_0x51df0e){const _0x18474a=new Array(_0x43fda7+_0x51df0e);let _0x1ad834=_0x56568a['getChildAtOffset'](_0x43fda7),_0x2cb036=_0x1ad834['startOffset'];for(;_0x1ad834&&_0x2cb036<_0x43fda7+_0x51df0e;){const _0x105eb1=Array['from'](_0x1ad834['getAttributes']());_0x18474a['fill'](_0x105eb1,_0x2cb036,_0x2cb036+_0x1ad834['offsetSize']),_0x2cb036+=_0x1ad834['offsetSize'],_0x1ad834=_0x1ad834['nextSibling'];}return _0x18474a;}['_getPositionFromAnchorAndPath'](_0x1af3e2,_0x2f07c5){const _0x3d6bfa=[..._0x1af3e2['path']['slice'](0x0,-0x1),_0x1af3e2['offset']+_0x2f07c5[0x0],..._0x2f07c5['slice'](0x1)];return new _0x816e35(_0x1af3e2['root'],_0x3d6bfa);}['_makeModelFromTokens'](_0x397fad){const _0x3db21b=[];let _0x275331=null;for(const _0x4669ab of _0x397fad)if('element'!=_0x4669ab['type']||_0x4669ab['isStart']||_0x275331!=_0x4669ab['element']){if(!_0x275331){if('text'==_0x4669ab['type']){const _0x256aa1=_0x816e35['_createAt'](_0x4669ab['parent'],_0x4669ab['offset']),_0x2a4456=_0x2b05c1['_createFromPositionAndShift'](_0x256aa1,_0x4669ab['data']['length']),_0x28307f=Array['from'](_0x2a4456['getItems']())['map'](_0x3435c4=>new _0x316047(_0x3435c4['data'],_0x3435c4['getAttributes']()));_0x3db21b['push'](..._0x28307f);}else{_0x275331=_0x4669ab['element'];const _0x234828=_0x4669ab['element']['_clone'](!0x0);_0x234828['_removeAttribute'](St);for(const _0x4a2fb2 of this['_editor']['model']['createRangeIn'](_0x234828)['getItems']())_0x4a2fb2['is']('element')&&_0x4a2fb2['_removeAttribute'](St);_0x3db21b['push'](_0x234828);}}}else _0x275331=null;return _0x3db21b;}}function g(_0x34885c,_0x1ac20e){return _0x34885c['type']===_0x1ac20e['type']&&(_0x34885c['limitId']===_0x1ac20e['limitId']&&('text'==_0x34885c['type']?_0x34885c['data']==_0x1ac20e['data']:function(_0xaa41a9,_0x429cd5){if(_0xaa41a9['isStart']!=_0x429cd5['isStart'])return!0x1;if(_0xaa41a9['isStart']&&_0xaa41a9['elementId']!=_0x429cd5['elementId'])return!0x1;if(_0xaa41a9['category']!=_0x429cd5['category'])return!0x1;if('block'==_0xaa41a9['category'])return!0x0;if('container'==_0xaa41a9['category']&&_0xaa41a9['elementId']!=_0x429cd5['elementId'])return!0x1;return _0xaa41a9['element']['name']==_0x429cd5['element']['name'];}(_0x34885c,_0x1ac20e)));}function _(_0x53380b){return k({'name':_0x53380b['name'],...Object['fromEntries'](_0x53380b['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,It as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,at as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,_t as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,xt as surroundingMarkersDetector,bt as trimHtml};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x52171d=>0x1!=_0x52171d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1396a4=>{const {af:{dictionary:_0x72b500,getPluralForm:_0x3ffe10}}={'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':_0x3a9534=>0x1!=_0x3a9534}};_0x1396a4['af']||={'dictionary':{},'getPluralForm':null},_0x1396a4['af']['dictionary']=Object['assign'](_0x1396a4['af']['dictionary'],_0x72b500),_0x1396a4['af']['getPluralForm']=_0x3ffe10;})(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':_0x874781=>0x0==_0x874781?0x0:0x1==_0x874781?0x1:0x2==_0x874781?0x2:_0x874781%0x64>=0x3&&_0x874781%0x64<=0xa?0x3:_0x874781%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3cec9d=>{const {ar:{dictionary:_0x5cd0a9,getPluralForm:_0x293880}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x2082ec=>0x0==_0x2082ec?0x0:0x1==_0x2082ec?0x1:0x2==_0x2082ec?0x2:_0x2082ec%0x64>=0x3&&_0x2082ec%0x64<=0xa?0x3:_0x2082ec%0x64>=0xb?0x4:0x5}};_0x3cec9d['ar']||={'dictionary':{},'getPluralForm':null},_0x3cec9d['ar']['dictionary']=Object['assign'](_0x3cec9d['ar']['dictionary'],_0x5cd0a9),_0x3cec9d['ar']['getPluralForm']=_0x293880;})(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':_0x3c3aab=>0x1!=_0x3c3aab}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f7ea4=>{const {ast:{dictionary:_0x9e665b,getPluralForm:_0x29a415}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x41a4ce=>0x1!=_0x41a4ce}};_0x4f7ea4['ast']||={'dictionary':{},'getPluralForm':null},_0x4f7ea4['ast']['dictionary']=Object['assign'](_0x4f7ea4['ast']['dictionary'],_0x9e665b),_0x4f7ea4['ast']['getPluralForm']=_0x29a415;})(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':_0x3e90e6=>0x1!=_0x3e90e6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e3b80=>{const {az:{dictionary:_0x548af0,getPluralForm:_0x59df9c}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x3f3e8a=>0x1!=_0x3f3e8a}};_0x3e3b80['az']||={'dictionary':{},'getPluralForm':null},_0x3e3b80['az']['dictionary']=Object['assign'](_0x3e3b80['az']['dictionary'],_0x548af0),_0x3e3b80['az']['getPluralForm']=_0x59df9c;})(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':_0x4818cd=>_0x4818cd%0xa==0x1&&_0x4818cd%0x64!=0xb?0x0:_0x4818cd%0xa>=0x2&&_0x4818cd%0xa<=0x4&&(_0x4818cd%0x64<0xa||_0x4818cd%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc6452=>{const {be:{dictionary:_0x254e0b,getPluralForm:_0xd46cb6}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x4a374d=>_0x4a374d%0xa==0x1&&_0x4a374d%0x64!=0xb?0x0:_0x4a374d%0xa>=0x2&&_0x4a374d%0xa<=0x4&&(_0x4a374d%0x64<0xa||_0x4a374d%0x64>=0x14)?0x1:0x2}};_0xc6452['be']||={'dictionary':{},'getPluralForm':null},_0xc6452['be']['dictionary']=Object['assign'](_0xc6452['be']['dictionary'],_0x254e0b),_0xc6452['be']['getPluralForm']=_0xd46cb6;})(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':_0x5a6a9c=>0x1!=_0x5a6a9c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4bb2ed=>{const {bg:{dictionary:_0x2dee46,getPluralForm:_0x2d8a7d}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x2eaee6=>0x1!=_0x2eaee6}};_0x4bb2ed['bg']||={'dictionary':{},'getPluralForm':null},_0x4bb2ed['bg']['dictionary']=Object['assign'](_0x4bb2ed['bg']['dictionary'],_0x2dee46),_0x4bb2ed['bg']['getPluralForm']=_0x2d8a7d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':_0x4b1382=>0x1!=_0x4b1382}};
|