@ckeditor/ckeditor5-collaboration-core 48.2.0-alpha.5 → 48.2.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0x5f4d50,Editor as _0x13ecb9,Plugin as _0x393882}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x567c0e,Collection as _0x128c5a,uid as _0x5a10eb,toArray as _0x220abb,first as _0x1d19c4,FocusTracker as _0x53a071,KeystrokeHandler as _0x2791dd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x45be95,IconView as _0x59ea30,ButtonView as _0x5d82e5,DropdownButtonView as _0xdd1e8d,FocusCycler as _0xd272a1,isViewWithFocusCycler as _0x7bf6d9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x11cb97,IconCheck as _0x181c6a,IconCancel as _0x104c29}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as _0x1ec96e,toWidget as _0x48cc44}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as _0x513239}from'luxon';import{InsertOperation as _0x8fd55f,MoveOperation as _0x705622,ModelPosition as _0x6b9db2,ModelRange as _0x326622,MarkerOperation as _0xeb30b8,MergeOperation as _0x188696,SplitOperation as _0x50165a,RenameOperation as _0x22d213,AttributeOperation as _0x2ca4e3,ModelTreeWalker as _0x2de74f,ModelText as _0x1f4480}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x14add3}from'diff';class Permissions extends _0x5f4d50{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x1f6514,_0x22cc74){let _0x30ac9c;if(_0x22cc74||(_0x22cc74=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x22cc74?_0x30ac9c=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x30ac9c=this['context']['editors']['find'](_0x1db488=>_0x1db488['config']['get']('collaboration.channelId')==_0x22cc74)),!_0x30ac9c)throw new _0x567c0e('permissions-set-permissions-invalid-channel-id',null);const _0xb730e=_0x30ac9c['plugins'],_0x3d45b1=_0xb730e['has']('CommentsRepository')?_0xb730e['get']('CommentsRepository'):void 0x0,_0x4a8c9a=_0xb730e['has']('CommentsOnly')&&_0xb730e['get']('CommentsOnly'),_0x580c85=_0x1f6514['includes']('document:write'),_0x3b0a36=_0x1f6514['includes']('comment:modify_all'),_0xe7cfed=_0x1f6514['includes']('comment:admin'),_0xed2252=_0x1f6514['includes']('comment:write'),_0x4b8142=_0xed2252||_0xe7cfed,_0x36a2e3=_0x4b8142||_0x3b0a36,_0x3de337=_0x580c85||_0x4b8142;(_0x4a8c9a&&(_0x4a8c9a['isEnabled']=!_0x580c85&&_0x36a2e3),_0x30ac9c instanceof _0x13ecb9)&&(!(_0x580c85||_0x36a2e3&&_0x3d45b1)?_0x30ac9c['enableReadOnlyMode']('no-permissions'):_0x30ac9c['disableReadOnlyMode']('no-permissions'));if(_0x3d45b1){_0x3d45b1['setPermissions']({'admin':_0xe7cfed,'modifyAll':_0x3b0a36,'write':_0xed2252,'resolve':_0x3de337},_0x22cc74);const _0x34e9ea=_0x30ac9c instanceof _0x13ecb9&&_0x30ac9c['commands']['get']('addCommentThread');_0x34e9ea&&(_0x4b8142?_0x34e9ea['clearForceDisabled']('noPermissions'):_0x34e9ea['forceDisabled']('noPermissions'));}}}function B(_0x243ed3,_0x38542c){const t=_0x243ed3['t'];switch(_0x38542c){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class Users extends _0x5f4d50{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Permissions];}constructor(_0x2d9ff8){super(_0x2d9ff8),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x128c5a(),this['_locale']=_0x2d9ff8['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x2c7468,name:_0x2b1804,..._0xa7eea9}){if(!_0x2c7468||'string'!=typeof _0x2c7468)throw new _0x567c0e('users-add-invalid-id');if(this['users']['has'](_0x2c7468))throw new _0x567c0e('users-add-duplicated-id',null,{'id':_0x2c7468});const _0x4c6839=this['context']['config']['get']('users.getInitialsCallback'),_0x14979b={..._0xa7eea9,'id':_0x2c7468,'name':N(this['_locale'],_0x2b1804),'color':this['_getNextColor']()};_0x14979b['name']=N(this['_locale'],_0x14979b['name']);const _0x60072=new User(_0x14979b,_0x4c6839);return this['users']['add'](_0x60072),_0x60072;}['getUser'](_0x2e49d2){return this['users']['get'](_0x2e49d2);}['useAnonymousUser'](){const _0x41bb43=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x41bb43);}['defineMe'](_0x5a72b5){if(this['_myId'])throw new _0x567c0e('users-me-already-defined',null);const _0x2b494f=this['getUser'](_0x5a72b5);if(!_0x2b494f)throw new _0x567c0e('users-me-missing-user',null);this['_myId']=_0x5a72b5,_0x2b494f['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x3b0e70=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x3b0e70&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x5e46a5=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x5e46a5,'name':B(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class User{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x581fd9,_0x5637e5){this['id']=_0x581fd9['id'],this['color']=_0x581fd9['color'],this['name']=_0x581fd9['name'],this['initials']=_0x5637e5?_0x5637e5(this['name']):this['_computeInitials'](),this['avatar']=_0x581fd9['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x4b01a1=this['name']['split']('\x20')['filter'](_0x178004=>/^[\p{Letter}]/u['test'](_0x178004));return 0x1===_0x4b01a1['length']?this['_getInitial'](_0x4b01a1[0x0]):0x0===_0x4b01a1['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x4b01a1[0x0])+this['_getInitial'](_0x4b01a1[_0x4b01a1['length']-0x1]);}['_getInitial'](_0x59e248){return String['fromCodePoint'](_0x59e248['codePointAt'](0x0))['toUpperCase']();}}function N(_0x5d35f8,_0x22664d=''){return''==(_0x22664d=_0x22664d['trim']())?B(_0x5d35f8,'Anonymous'):_0x22664d;}class CollaborationUserColor{['_id'];constructor(_0x30b9f4){this['_id']=_0x30b9f4;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}}class UserView extends _0x45be95{['name'];['notificationView'];constructor(_0x302006,_0x1b25c4,_0x4ec77e){super(_0x302006),this['name']=_0x1b25c4['name'],this['notificationView']=null;const _0xf51651=['ck','ck-user'],_0x5ebe8c=['ck','ck-user__img'];if(_0x1b25c4['isAnonymous']&&_0x5ebe8c['push']('ck-user__anonymous'),!_0x1b25c4['isAnonymous']&&_0x1b25c4['isMe']&&_0xf51651['push']('ck-user_me'),_0x1b25c4['avatar']&&_0x5ebe8c['push']('ck-user__avatar'),_0x4ec77e){const _0x472b1f=new _0x59ea30();_0x472b1f['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x472b1f['content']=_0x11cb97,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4ec77e},'children':[_0x472b1f]};}const _0x649f90=[{'tag':'div','attributes':{'class':_0x5ebe8c,'style':{'background-image':_0x1b25c4['avatar']?'url(\x27'+_0x1b25c4['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x1b25c4['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x1b25c4['name']},'children':[{'text':_0x1b25c4['initials']}]}];this['notificationView']&&_0x649f90['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0xf51651,'data-user-id':_0x1b25c4['id']},'children':_0x649f90});}}class AriaDescriptionView extends _0x45be95{['id'];constructor(_0x70e00,_0x194573){super(_0x70e00),this['id']='ck-aria-description-'+_0x5a10eb(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x194573}]});}}class LateFocusButtonView extends _0x5d82e5{['render'](){super['render'](),H(this);}}class LateFocusDropdownButtonView extends _0xdd1e8d{['render'](){super['render'](),H(this);}}function H(_0x2a9915){_0x2a9915['listenTo'](_0x2a9915['element'],'mousedown',(_0x101d47,_0x1da413)=>{_0x1da413['stopPropagation'](),_0x1da413['preventDefault']();}),_0x2a9915['listenTo'](_0x2a9915['element'],'mouseup',()=>{_0x2a9915['element']['focus']();});}function O(_0x2e5492){const _0x54a429=_0x2e5492['split'](':');return{'group':_0x54a429[0x0],'type':_0x54a429[0x1],'subType':_0x54a429['length']>=0x5?_0x54a429[0x2]:null,'id':_0x54a429['length']<0x5?_0x54a429[0x2]:_0x54a429[0x3],'authorId':_0x54a429['length']<0x5?_0x54a429[0x3]:_0x54a429[0x4],'markerCount':0x6==_0x54a429['length']?_0x54a429[0x5]:null};}function U(_0x27f883,_0x4e53a4){const _0x228278=_0x27f883['end']['nodeBefore'];if(_0x228278&&_0x228278['is']('element')&&_0x4e53a4['schema']['isBlock'](_0x228278)&&!_0x4e53a4['schema']['isObject'](_0x228278)){const _0x224fa1=_0x4e53a4['createPositionAt'](_0x228278,'end');return _0x4e53a4['createRange'](_0x27f883['start'],_0x224fa1);}return _0x27f883;}class SuggestionsConversionAlignment extends _0x393882{['afterInit'](){const _0x134c8d=this['editor'];if(!_0x134c8d['plugins']['has']('AlignmentEditing'))return;_0x134c8d['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const $=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x393882{['afterInit'](){const _0x1ee8a1=this['editor'],_0x4ce511=_0x1ee8a1['plugins']['get']('SuggestionsConversion');for(const _0x30f8ac of $){if(!_0x1ee8a1['plugins']['has'](_0x30f8ac))continue;const _0x4a25df=_0x30f8ac['slice'](0x0,-0x7)['toLowerCase']();_0x4ce511['registerInlineAttribute'](_0x4a25df);}}}class SuggestionsConversionBookmark extends _0x393882{['afterInit'](){const _0x185d83=this['editor'],_0x3c7188=_0x185d83['plugins']['get']('SuggestionsConversion');_0x185d83['plugins']['has']('BookmarkEditing')&&_0x3c7188['registerBlockAttribute']('bookmarkId');}}const F=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x393882{['afterInit'](){const _0x5c6df0=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x7194e3,commandName:_0x2f76eb}of F)this['editor']['plugins']['has'](_0x7194e3)&&_0x5c6df0['registerInlineAttribute'](_0x2f76eb);}}class SuggestionsConversionFootnotes extends _0x393882{['afterInit'](){const {editor:_0xcb3536}=this;if(!_0xcb3536['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x4919d9=_0xcb3536['plugins']['get']('SuggestionsConversion');_0x4919d9['registerBlockAttribute']('footnotesListStyle'),_0x4919d9['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionGeneralHtmlSupport extends _0x393882{['afterInit'](){const _0x9a4e9f=this['editor'];if(!_0x9a4e9f['plugins']['has']('GeneralHtmlSupport')||!_0x9a4e9f['plugins']['has']('DataSchema'))return;const _0x275c9e=_0x9a4e9f['plugins']['get']('SuggestionsConversion'),_0x34474d=_0x9a4e9f['plugins']['get']('GeneralHtmlSupport'),_0x2d5760=_0x9a4e9f['plugins']['get']('DataSchema');for(const _0x16a58b of _0x2d5760['getDefinitionsForView'](/.*/,!0x1)){const _0x2ecd8b=_0x34474d['getGhsAttributeNameForElement'](_0x16a58b['view']);_0x16a58b['isInline']&&!_0x16a58b['isObject']&&!('appliesToBlock'in _0x16a58b&&_0x16a58b['appliesToBlock'])?_0x275c9e['registerInlineAttribute'](_0x2ecd8b):_0x275c9e['registerBlockAttribute'](_0x2ecd8b);}}}class SuggestionsConversionHighlight extends _0x393882{['afterInit'](){const _0x34bf32=this['editor'];if(!_0x34bf32['plugins']['has']('HighlightEditing'))return;_0x34bf32['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x393882{['afterInit'](){const _0xc43a31=this['editor'];if(!_0xc43a31['plugins']['has']('HtmlEmbed'))return;_0xc43a31['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x393882{['afterInit'](){const _0x4e1215=this['editor'];if(!_0x4e1215['plugins']['has']('ImageEditing'))return;const _0x18a350=_0x4e1215['plugins']['get']('SuggestionsConversion');_0x18a350['registerBlockAttribute']('src'),_0x4e1215['plugins']['has']('ImageResize')&&_0x18a350['registerBlockAttribute']('resizedWidth'),_0x4e1215['plugins']['has']('ImageTextAlternativeEditing')&&_0x18a350['registerBlockAttribute']('alt'),_0x4e1215['plugins']['has']('PictureEditing')&&_0x18a350['registerBlockAttribute']('sources'),_0x4e1215['plugins']['has']('ImageSizeAttributes')&&(_0x18a350['registerBlockAttribute']('width'),_0x18a350['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x393882{['afterInit'](){const _0x287562=this['editor'],_0x4459d8=_0x287562['plugins']['get']('SuggestionsConversion');_0x287562['plugins']['has']('IndentBlock')&&(_0x4459d8['registerBlockAttribute']('blockIndent'),_0x287562['plugins']['has']('ListEditing')&&(_0x4459d8['registerBlockAttribute']('blockIndentList'),_0x4459d8['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x393882{['afterInit'](){const _0x298d0e=this['editor'];if(!_0x298d0e['plugins']['has']('LineHeight'))return;_0x298d0e['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x393882{['afterInit'](){const _0x255059=this['editor'];if(!_0x255059['plugins']['has']('LinkEditing'))return;const _0x84294e=_0x255059['plugins']['get']('SuggestionsConversion'),_0x215039=_0x255059['commands']['get']('link');_0x84294e['registerInlineAttribute']('linkHref');for(const _0x4d7c86 of _0x215039['manualDecorators'])_0x84294e['registerInlineAttribute'](_0x4d7c86['id']);}}class SuggestionsConversionList extends _0x393882{['afterInit'](){const _0x10a6f0=this['editor'];if(!_0x10a6f0['plugins']['has']('ListEditing'))return;const _0x2633a4=_0x10a6f0['plugins']['get']('SuggestionsConversion'),_0x19ce55=_0x10a6f0['plugins']['has']('TodoListEditing');_0x2633a4['registerBlockAttribute']('listItemId'),_0x2633a4['registerBlockAttribute']('listType'),_0x2633a4['registerBlockAttribute']('listIndent'),_0x19ce55&&_0x2633a4['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x393882{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x1e20a8=this['editor']['config']['get']('list.properties'),_0x345d64=this['editor']['plugins']['get']('SuggestionsConversion');_0x1e20a8['styles']&&_0x345d64['registerBlockAttribute']('listStyle'),_0x1e20a8['reversed']&&_0x345d64['registerBlockAttribute']('listReversed'),_0x1e20a8['startIndex']&&_0x345d64['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x393882{['afterInit'](){const _0x47d144=this['editor'],_0x4e4c87=_0x47d144['plugins']['get']('SuggestionsConversion');_0x47d144['plugins']['has']('MultiLevelList')&&_0x4e4c87['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionTableHeadings extends _0x393882{['afterInit'](){const _0x55f446=this['editor'];if(!_0x55f446['plugins']['has']('TableEditing'))return;const _0x5ae845=_0x55f446['plugins']['get']('SuggestionsConversion');_0x5ae845['registerBlockAttribute']('headingRows'),_0x5ae845['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x393882{['afterInit'](){const {plugins:_0x3cafd0}=this['editor'];if(!_0x3cafd0['has']('TablePropertiesEditing'))return;const _0x3f1c5b=_0x3cafd0['get']('SuggestionsConversion'),_0x185729=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x168a1e of _0x185729)_0x3f1c5b['registerBlockAttribute'](_0x168a1e);}}class SuggestionsConversionTableLayout extends _0x393882{['afterInit'](){const _0x56989c=this['editor'],_0x17bcac=_0x56989c['plugins']['get']('SuggestionsConversion');_0x56989c['plugins']['has']('TableLayout')&&_0x17bcac['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x393882{['afterInit'](){const _0x3f5dce=this['editor'],_0x1da80b=this['editor']['plugins']['get']('SuggestionsConversion');_0x3f5dce['plugins']['has']('Uploadcare')&&_0x3f5dce['plugins']['has']('UploadcareImageEdit')&&_0x1da80b['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x393882{['afterInit'](){const _0x25f82a=this['editor'];if(!_0x25f82a['plugins']['has']('ShiftEnter'))return;const _0x1a9e6d=_0x25f82a['plugins']['get']('SuggestionsConversion'),_0x24768d=(_0x3d97a6,_0x2a26b4,_0x1f2c47,_0x541ad4)=>{if(_0x541ad4&&!_0x1f2c47['options']['showSuggestionHighlights'])return;if(!_0x1f2c47['consumable']['test'](_0x2a26b4['markerRange'],_0x3d97a6['name']))return;const _0x1c4dc8=_0x25f82a['model'];for(const _0x54d9ad of _0x2a26b4['markerRange']['getItems']()){if(!_0x54d9ad['is']('element','softBreak'))continue;const _0x252b2d='deletion'==_0x2a26b4['markerName']['split'](':')[0x1]?'merge':'split',{id:_0xf905dd,authorId:_0xe768aa}=O(_0x2a26b4['markerName']),_0x2891e5=_0x1f2c47['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x252b2d,'data-suggestion':_0xf905dd,'data-author-id':_0xe768aa}),_0x135280=_0x1f2c47['mapper']['toViewPosition'](_0x1c4dc8['createPositionBefore'](_0x54d9ad));!_0x541ad4&&_0x1a9e6d['_activeMarkers']['includes'](_0x2a26b4['markerName'])&&_0x1f2c47['writer']['addClass']('ck-suggestion-marker--active',_0x2891e5),_0x1f2c47['writer']['insert'](_0x135280,_0x2891e5),_0x1f2c47['mapper']['bindElementToMarker'](_0x2891e5,_0x2a26b4['markerName']);}};_0x25f82a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x44592e,_0xde0265,_0x8a79f2)=>{_0x24768d(_0x44592e,_0xde0265,_0x8a79f2,!0x1);},{'priority':'high'}),_0x25f82a['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2ccd25,_0x59080e,_0x5ea3a2)=>{_0x24768d(_0x2ccd25,_0x59080e,_0x5ea3a2,!0x1);},{'priority':'high'}),_0x25f82a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4887e1,_0x47b8ea,_0x4308a6)=>{_0x24768d(_0x4887e1,_0x47b8ea,_0x4308a6,!0x0);},{'priority':'high'}),_0x25f82a['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x55e533,_0x44b6fe,_0x537165)=>{_0x24768d(_0x55e533,_0x44b6fe,_0x537165,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x393882{['afterInit'](){const _0xc725fd=this['editor'];if(!_0xc725fd['plugins']['has']('MediaEmbedEditing'))return;const _0x44da02=_0xc725fd['plugins']['get']('SuggestionsConversion');_0xc725fd['plugins']['has']('MediaEmbedResizeEditing')&&_0x44da02['registerBlockAttribute']('resizedWidth'),_0xc725fd['plugins']['has']('MediaEmbedStyleEditing')&&_0x44da02['registerBlockAttribute']('mediaStyle'),_0xc725fd['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x5787e3,{writer:_0x1f0fa5,options:_0x1c16cb})=>{if(_0x1c16cb['showSuggestionHighlights'])return _0x1f0fa5['createEmptyElement']('div');},'converterPriority':'high'}),_0xc725fd['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5bc864,_0x2bcf65,_0x876039)=>{_0x876039['options']['showSuggestionHighlights']&&_0x5bc864['stop']();},{'priority':'high'});}}class SuggestionsConversionTable extends _0x393882{['afterInit'](){const _0xae46cb=this['editor'];if(!_0xae46cb['plugins']['has']('Table'))return;_0xae46cb['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4d16dd,_0x2ee361,_0x3e0092)=>{((_0x1cfedd,_0x3b4626,_0x4e14f2)=>{if(!_0x4e14f2['options']['showSuggestionHighlights'])return;const _0x4a719b=_0x3b4626['item'];if(!_0x4a719b||!_0x4a719b['is']('element','tableCell'))return;const _0x472bc4=_0x4e14f2['mapper']['toViewElement'](_0x4a719b);if(_0x472bc4){const {id:_0x250ad8,authorId:_0x1b1ce8}=O(_0x3b4626['markerName']);_0x1ec96e(_0x472bc4,_0x4e14f2['writer'],(_0x448556,_0x277610,_0x29fe92)=>{_0x29fe92['addClass'](_0x220abb(_0x277610['classes']),_0x448556),_0x29fe92['setAttribute']('data-suggestion',_0x250ad8,_0x448556),_0x29fe92['setAttribute']('data-author-id',_0x1b1ce8,_0x448556);});}})(0x0,_0x2ee361,_0x3e0092);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x393882{['afterInit'](){const _0x3a7b87=this['editor'];_0x3a7b87['plugins']['has']('HorizontalLineEditing')&&_0x3a7b87['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0xf72f71,{writer:_0x7369f4,options:_0x25af13})=>{if(!_0x25af13['showSuggestionHighlights'])return null;const _0x1fa4ae=_0x7369f4['createContainerElement']('div'),_0x42a1cb=_0x7369f4['createEmptyElement']('hr');return _0x7369f4['addClass']('ck-horizontal-line',_0x1fa4ae),_0x7369f4['insert'](_0x7369f4['createPositionAt'](_0x1fa4ae,0x0),_0x42a1cb),_0x1fa4ae;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x393882{['afterInit'](){const {plugins:_0x4b2a71,model:_0x503bd2}=this['editor'];if(!_0x4b2a71['has']('TableCellPropertiesEditing'))return;const _0xdcadfd=_0x4b2a71['get']('SuggestionsConversion'),_0x3a90a4=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x3ebe4d of _0x3a90a4)_0xdcadfd['registerBlockAttribute'](_0x3ebe4d);_0x503bd2['schema']['checkAttribute']('tableCell','tableCellType')&&_0xdcadfd['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends _0x393882{['afterInit'](){const _0x572dd0=this['editor'];if(!_0x572dd0['plugins']['has']('TableEditing')||!_0x572dd0['config']['get']('table.enableFooters'))return;_0x572dd0['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends _0x393882{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionGeneralHtmlSupport,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableFooters,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x307867=this['editor'],_0x2dd299=(_0x3d93fb,_0x7ae66e,_0x41b60f)=>{const {id:_0x2730cc,authorId:_0x44007d,type:_0x2a67bf,subType:_0x4ac90d}=O(_0x3d93fb['markerName']),_0x11fed5=['ck-suggestion-marker',this['_getClassName'](_0x2a67bf,_0x4ac90d)];let _0x557417=0xbb8;return!_0x41b60f&&(this['_activeMarkers']['includes'](_0x3d93fb['markerName'])&&(_0x11fed5['push']('ck-suggestion-marker--active'),_0x557417=0xbc2)),('deletion'==_0x2a67bf&&(_0x557417+=0x5),{'classes':_0x11fed5,'attributes':{'data-suggestion':_0x2730cc,'data-author-id':_0x44007d},'priority':_0x557417});};_0x307867['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x434998,_0x5a518d)=>_0x2dd299(_0x434998,0x0,!0x1)}),_0x307867['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x141509,_0x551521)=>_0x2dd299(_0x141509,0x0,!0x0)}),_0x307867['conversion']['for']('dataDowncast')['add'](_0xc3fce1=>{_0xc3fce1['on']('addMarker:suggestion',(_0xad3803,_0x20dd2f,_0x1f62d7)=>{if(!_0x1f62d7['options']['showSuggestionHighlights'])return;const _0x39272d=_0x20dd2f['item'];if(!_0x39272d)return;const _0x3ccb42=_0x1f62d7['mapper']['toViewElement'](_0x39272d);_0x307867['model']['schema']['isObject'](_0x39272d)&&_0x3ccb42&&!_0x3ccb42['getCustomProperty']('widget')&&_0x3ccb42['is']('containerElement')&&_0x48cc44(_0x3ccb42,_0x1f62d7['writer']);},{'priority':'high'});});const _0x199ae7=(_0x517cba,_0x373166,_0x4cb088,_0x52cd8d,_0x20aaf6)=>{if(_0x52cd8d&&!_0x4cb088['options']['showSuggestionHighlights'])return;if(!_0x373166['item'])return;const {id:_0x4d0fcf,authorId:_0x2e4975,subType:_0x306aff}=O(_0x373166['markerName']);if(_0x20aaf6){const _0x223834=_0x306aff['split']('|')[0x0];if(!this['isBlockAttribute'](_0x223834))return;}if(_0x373166['item']['is']('selection'))return void _0x4cb088['consumable']['consume'](_0x373166['item'],_0x517cba['name']);const _0x36ab9e=_0x4cb088['mapper']['toViewElement'](_0x373166['item']);if(_0x373166['item']['is']('element')&&_0x307867['model']['schema']['isBlock'](_0x373166['item'])&&!_0x36ab9e['getCustomProperty']('addHighlight')){_0x4cb088['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x36ab9e),_0x4cb088['writer']['setAttribute']('data-suggestion',_0x4d0fcf,_0x36ab9e),_0x4cb088['writer']['setAttribute']('data-author-id',_0x2e4975,_0x36ab9e),_0x4cb088['mapper']['bindElementToMarker'](_0x36ab9e,_0x373166['markerName']),_0x52cd8d||(this['_activeMarkers']['includes'](_0x373166['markerName'])?_0x4cb088['writer']['addClass']('ck-suggestion-marker--active',_0x36ab9e):_0x4cb088['writer']['removeClass']('ck-suggestion-marker--active',_0x36ab9e));for(const _0x1077d4 of _0x307867['model']['createRangeIn'](_0x373166['item'])['getItems']())_0x4cb088['consumable']['consume'](_0x1077d4,_0x517cba['name']);_0x4cb088['consumable']['consume'](_0x373166['item'],_0x517cba['name']);}},_0xa0ba40=(_0x1381e2,_0x32ed63,_0x2e1c60,_0x5c1421)=>{const _0x5840e2=_0x2e1c60['mapper']['markerNameToElements'](_0x32ed63['markerName']);if(_0x5840e2){if(_0x5c1421){const {subType:_0x23efbc}=O(_0x32ed63['markerName']),_0x494a4d=_0x23efbc['split']('|')[0x0];if(!this['isBlockAttribute'](_0x494a4d))return;}for(const _0x4a6b8c of _0x5840e2)_0x4a6b8c['getCustomProperty']('addHighlight')||(_0x2e1c60['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x4a6b8c),_0x2e1c60['writer']['removeAttribute']('data-suggestion',_0x4a6b8c),_0x2e1c60['writer']['removeAttribute']('data-author-id',_0x4a6b8c),_0x2e1c60['mapper']['unbindElementFromMarkerName'](_0x4a6b8c,_0x32ed63['markerName']));}};_0x307867['conversion']['for']('editingDowncast')['add'](_0x2fe688=>{_0x2fe688['on']('addMarker:suggestion:formatBlock',(_0x76aa2c,_0x37f1a6,_0x4af76d)=>{_0x199ae7(_0x76aa2c,_0x37f1a6,_0x4af76d,!0x1,!0x1);},{'priority':'high'});}),_0x307867['conversion']['for']('editingDowncast')['add'](_0x596de7=>{_0x596de7['on']('addMarker:suggestion:attribute',(_0x4c6731,_0x4a39dd,_0x26796e)=>{_0x199ae7(_0x4c6731,_0x4a39dd,_0x26796e,!0x1,!0x0);},{'priority':'high'});}),_0x307867['conversion']['for']('editingDowncast')['add'](_0x4372df=>{_0x4372df['on']('removeMarker:suggestion:formatBlock',(_0x14d9c2,_0x39b688,_0x4f0a31)=>{_0xa0ba40(0x0,_0x39b688,_0x4f0a31,!0x1);},{'priority':'high'});}),_0x307867['conversion']['for']('editingDowncast')['add'](_0x2c4909=>{_0x2c4909['on']('removeMarker:suggestion:attribute',(_0x418e32,_0x12c984,_0x2db047)=>{_0xa0ba40(0x0,_0x12c984,_0x2db047,!0x0);},{'priority':'high'});}),_0x307867['conversion']['for']('dataDowncast')['add'](_0x2deede=>{_0x2deede['on']('addMarker:suggestion:formatBlock',(_0x1456e2,_0x2c7fba,_0x49eb85)=>{_0x199ae7(_0x1456e2,_0x2c7fba,_0x49eb85,!0x0,!0x1);},{'priority':'highest'});}),_0x307867['conversion']['for']('dataDowncast')['add'](_0x162a2f=>{_0x162a2f['on']('addMarker:suggestion:attribute',(_0x30f20d,_0x33e4c9,_0x2b76db)=>{_0x199ae7(_0x30f20d,_0x33e4c9,_0x2b76db,!0x0,!0x0);},{'priority':'highest'});}),_0x307867['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x4e3807,_0x3cc099)=>_0x3cc099['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x4e3807['substr'](0xb)}});const _0x21e868=(_0x504541,_0x4f1f83,_0xd05fc2,_0x4f58f5,_0x27b563)=>{if(_0x4f58f5&&!_0xd05fc2['options']['showSuggestionHighlights'])return;if(!_0xd05fc2['consumable']['test'](_0x4f1f83['markerRange'],_0x504541['name']))return;const _0x598627=this['_activeMarkers'],_0x1a4251=_0x4f1f83['markerRange']['getWalker'](),_0x5efea0=_0x4f1f83['markerRange']['start'],_0x4c60de=_0x307867['model']['schema'];let _0x175fe1=null,_0x5c54cb=null,_0x52dfe6=!0x1,_0x429072=!0x1;for(const _0x4f2f81 of _0x1a4251){const _0x27ddd4=_0x4f2f81['item'];_0x52dfe6=_0x52dfe6||_0x4c60de['isContent'](_0x27ddd4);const _0x57f59e=_0xd05fc2['mapper']['toViewElement'](_0x27ddd4);if(_0x57f59e&&_0x57f59e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4f2f81['type']&&(_0x4c60de['isBlock'](_0x27ddd4)&&!_0x4c60de['isLimit'](_0x27ddd4)&&(_0x27ddd4['nextSibling']||_0x5efea0['isAtEnd']?_0x175fe1&&_0x175fe1['parent']==_0x27ddd4||(_0x175fe1=_0x27ddd4,_0x4152d5(_0x4f2f81['previousPosition']),_0x429072=!0x0):_0x5c54cb=_0x5c54cb||_0x4f2f81['previousPosition']));}function _0x4152d5(_0x296035){const {id:_0x232255,authorId:_0xb31c2c}=O(_0x4f1f83['markerName']),_0x35959f=_0xd05fc2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x27b563,'data-suggestion':_0x232255,'data-author-id':_0xb31c2c}),_0xf59a0b=_0xd05fc2['mapper']['toViewPosition'](_0x296035);!_0x4f58f5&&_0x598627['includes'](_0x4f1f83['markerName'])&&_0xd05fc2['writer']['addClass']('ck-suggestion-marker--active',_0x35959f),_0xd05fc2['writer']['insert'](_0xf59a0b,_0x35959f),_0xd05fc2['mapper']['bindElementToMarker'](_0x35959f,_0x4f1f83['markerName']);}_0x52dfe6||_0x429072||!_0x5c54cb||_0x4152d5(_0x5c54cb);};_0x307867['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x26e650,_0x236812,_0x553cfa)=>{_0x21e868(_0x26e650,_0x236812,_0x553cfa,!0x1,'merge');},{'priority':'high'}),_0x307867['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x541da4,_0x38d2fc,_0x28fbb7)=>{_0x21e868(_0x541da4,_0x38d2fc,_0x28fbb7,!0x0,'merge');},{'priority':'high'}),_0x307867['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5f28fc,_0xc90b8d,_0x335afa)=>{_0x21e868(_0x5f28fc,_0xc90b8d,_0x335afa,!0x1,'split');},{'priority':'high'}),_0x307867['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2be9c9,_0x45f948,_0x5e437b)=>{_0x21e868(_0x2be9c9,_0x45f948,_0x5e437b,!0x0,'split');},{'priority':'high'}),_0x307867['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x424027,_0x5d3c5d,_0x1618c4)=>{((_0x391ace,_0x4f2808,_0x11c3c5)=>{const _0x53fa34=_0x11c3c5['mapper']['markerNameToElements'](_0x4f2808['markerName']);if(_0x53fa34){for(const _0x561880 of _0x53fa34)(_0x561880['hasClass']('ck-suggestion-marker-split')||_0x561880['hasClass']('ck-suggestion-marker-merge'))&&(_0x11c3c5['mapper']['unbindElementFromMarkerName'](_0x561880,_0x4f2808['markerName']),_0x11c3c5['writer']['remove'](_0x561880));}})(0x0,_0x5d3c5d,_0x1618c4);},{'priority':'high'});const _0x1c84d8=(_0xb0ea13,_0x4b7a2f,_0xe6fd26,_0x23758c)=>{if(_0x23758c&&!_0xe6fd26['options']['showSuggestionHighlights'])return;const _0x27e90e=_0x4b7a2f['markerRange']['start'],_0x406987=_0x4b7a2f['markerRange']['end'],_0x139eec=_0x307867['model']['schema'];if(!_0x27e90e['isTouching'](_0x406987)||!_0x27e90e['nodeAfter'])return;const _0x2d3cf5=_0x27e90e['nodeAfter'];if(_0x139eec['isBlock'](_0x2d3cf5)&&!_0x139eec['isLimit'](_0x2d3cf5)&&_0x139eec['checkChild'](_0x2d3cf5,'$text')){if(!_0xe6fd26['consumable']['consume'](_0x4b7a2f['markerRange'],_0xb0ea13['name']))return;const {id:_0x2abc78,authorId:_0xc45bee}=O(_0x4b7a2f['markerName']),_0x54e235=_0xe6fd26['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x2abc78,'data-author-id':_0xc45bee}),_0xe474f0=_0xe6fd26['mapper']['toViewPosition'](_0x406987);!_0x23758c&&this['_activeMarkers']['includes'](_0x4b7a2f['markerName'])&&_0xe6fd26['writer']['addClass']('ck-suggestion-marker--active',_0x54e235),_0xe6fd26['writer']['insert'](_0xe474f0,_0x54e235),_0xe6fd26['mapper']['bindElementToMarker'](_0x54e235,_0x4b7a2f['markerName']);}};_0x307867['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2e30eb,_0x13867b,_0x4a27fa)=>{_0x1c84d8(_0x2e30eb,_0x13867b,_0x4a27fa,!0x1);},{'priority':'high'}),_0x307867['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x53b7f9,_0x24f555,_0x4fe1a1)=>{_0x1c84d8(_0x53b7f9,_0x24f555,_0x4fe1a1,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x470e54,_0x4e793d,_0x1d6051)=>{this['_activeMarkers']=_0x1d6051['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x19f65d){this['_blockAttributeKeys']['add'](_0x19f65d);}['registerInlineAttribute'](_0x55e488){this['_inlineAttributeKeys']['add'](_0x55e488);}['isBlockAttribute'](_0x5f4c01){return this['_blockAttributeKeys']['has'](_0x5f4c01);}['isInlineAttribute'](_0xe2bcb){return this['_inlineAttributeKeys']['has'](_0xe2bcb);}['isRegisteredAttribute'](_0x23360d){return this['isInlineAttribute'](_0x23360d)||this['isBlockAttribute'](_0x23360d);}['_getClassName'](_0x3f328c,_0x4142a8){if('attribute'!=_0x3f328c)return'ck-suggestion-marker-'+_0x3f328c;const _0x683489=_0x4142a8['split']('|')[0x0];return this['isBlockAttribute'](_0x683489)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function z(_0x198537={},_0x6873bc){if(void 0x0!==_0x198537['dateTimeFormat']&&'function'!=typeof _0x198537['dateTimeFormat'])throw new _0x567c0e('invalid-date-time-format');return _0x366470=>{const _0x514fec='string'==typeof _0x366470?_0x513239['fromISO'](_0x366470):_0x513239['fromJSDate'](_0x366470),_0x421406=_0x513239['now'](),_0x9e6c30=Math['floor'](_0x421406['diff'](_0x514fec,'days')['days']);return _0x198537['dateTimeFormat']?_0x198537['dateTimeFormat'](_0x514fec['toJSDate'](),_0x6873bc&&_0x6873bc['t']?_0x6873bc['t']:void 0x0):0x0===_0x9e6c30?_0x6873bc?B(_0x6873bc,'Today')+'\x20'+_0x514fec['toFormat']('hh:mma'):_0x514fec['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x9e6c30?_0x6873bc?B(_0x6873bc,'Yesterday')+'\x20'+_0x514fec['toFormat']('hh:mma'):_0x514fec['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x9e6c30<0x7?_0x6873bc?B(_0x6873bc,'Last')+'\x20'+B(_0x6873bc,_0x514fec['toFormat']('EEEE'))+'\x20'+_0x514fec['toFormat']('hh:mma'):_0x514fec['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x514fec['toFormat']('LL-dd-yyyy\x20hh:mma');};}function R(_0x51afc1,_0x58e8f9){const _0x47a5be=_0x51afc1['mapper']['markerNameToElements'](_0x58e8f9['name']);if(!_0x47a5be)return null;const _0x3b2634=_0x1d19c4(_0x47a5be['values']());return _0x51afc1['view']['domConverter']['mapViewToDom'](_0x3b2634)||null;}function W(_0x25f327,_0x4b0255){if(0x0===_0x4b0255['length'])return null;const _0x3fb524=[],_0x146d03=_0x25f327['view']['domConverter'];for(const _0x441a83 of _0x4b0255){const _0x217775=_0x25f327['mapper']['markerNameToElements'](_0x441a83['name']);if(!_0x217775)continue;const _0x117311=Array['from'](_0x217775)['map'](_0x5223bb=>_0x146d03['mapViewToDom'](_0x5223bb))['filter'](_0x172577=>!!_0x172577);_0x3fb524['push'](..._0x117311);}if(0x0===_0x3fb524['length'])return null;const _0x509cb5=[];for(const _0x30defe of _0x3fb524){const _0x4ab07b=_0x30defe['getClientRects']()['item'](0x0);_0x4ab07b&&_0x509cb5['push']({'x':_0x4ab07b['x'],'y':_0x4ab07b['y'],'domElement':_0x30defe});}return 0x0===_0x509cb5['length']?null:(_0x509cb5['sort']((_0x3b455a,_0x3073e4)=>_0x3b455a['y']-_0x3073e4['y']||_0x3b455a['x']-_0x3073e4['x']),_0x509cb5['map'](_0x4a4691=>_0x4a4691['domElement']));}function j(_0x2baffd,{limit:_0x22c374,suffix:_0x3b480c='...'}){const _0x3c16a3=[];let _0x17e719=0x0;const _0x26dbf4=_0x2baffd['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0xfa0d30=0x0;_0xfa0d30<_0x26dbf4['length'];_0xfa0d30++){let _0x37196e=_0x26dbf4[_0xfa0d30];const _0x18b7d6=Y(_0x37196e);if(_0x37196e['startsWith']('<')){if(_0x17e719>=_0x22c374){const _0xe2363e=_0x37196e['match'](/[a-zA-Z]+/);if(!_0xe2363e){_0x26dbf4[_0xfa0d30]='';continue;}const _0x2afed7=_0xe2363e[0x0];_0x37196e['startsWith']('</')?(_0x3c16a3['length']&&(_0x37196e=''),_0x3c16a3['pop']()):(_0x3c16a3['push'](_0x2afed7),_0x37196e='');}}else{if(_0x17e719>=_0x22c374)_0x37196e='';else{if(_0x17e719+_0x18b7d6['length']>=_0x22c374){let _0x4ba81b=_0x22c374-_0x17e719;if('\x20'===_0x18b7d6[_0x4ba81b-0x1])_0x4ba81b--;else{const _0xbaf989=_0x18b7d6['slice'](_0x4ba81b)['indexOf']('\x20');-0x1!==_0xbaf989?_0x4ba81b+=_0xbaf989:_0x4ba81b=_0x37196e['length'];}_0x37196e=_0x18b7d6['slice'](0x0,_0x4ba81b)['join']('')+_0x3b480c,_0x17e719=_0x22c374;}else _0x17e719+=_0x18b7d6['length'];}}_0x26dbf4[_0xfa0d30]=_0x37196e;}return _0x26dbf4['join']('\x0a')['replace'](/\n/g,'');}function Y(_0x589906){const _0x2b3d2d=[];for(let _0x49c68d=0x0;_0x49c68d<_0x589906['length'];_0x49c68d++){const _0x4faeaa=_0x589906['substring'](_0x49c68d)['match'](/^&[a-z0-9#]+;/);if(_0x4faeaa){const _0xd1161d=_0x4faeaa[0x0];_0x2b3d2d['push'](_0xd1161d),_0x49c68d+=_0xd1161d['length']-0x1;}else _0x2b3d2d['push'](_0x589906[_0x49c68d]);}return _0x2b3d2d;}class ConfirmView extends _0x45be95{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x6b8ce7){super(_0x6b8ce7);const _0x504a53=this['bindTemplate'];this['set']('message',B(_0x6b8ce7,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x6b8ce7,B(_0x6b8ce7,'Yes'),_0x181c6a,'submit'),this['cancelView']=this['_createButtonView'](_0x6b8ce7,B(_0x6b8ce7,'No'),_0x104c29,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x53a071(),this['keystrokes']=new _0x2791dd(),this['focusCycler']=new _0xd272a1({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x504a53['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x9cc92c,_0xa57153,_0x335037,_0x4ca41f){const _0x5727fe=new _0x5d82e5(_0x9cc92c);return _0x5727fe['label']=_0xa57153,_0x5727fe['icon']=_0x335037,_0x5727fe['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x4ca41f}}),_0x5727fe['on']('execute',()=>this['fire'](_0x4ca41f)),_0x5727fe;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x2b6bbc=>{this['keystrokes']['listenTo'](_0x2b6bbc['element']),this['focusTracker']['add'](_0x2b6bbc['element']);}),this['keystrokes']['set']('esc',(_0x37ba6e,_0x56c836)=>{this['fire']('cancel'),_0x56c836();});}}function G(_0x3497c4){return class _0x3f95d9 extends _0x3497c4{['showConfirm'](_0x5904a2,_0x12f1be){return this['confirmView']=new ConfirmView(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x5904a2,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x12f1be['appendChild'](this['confirmView']['element']),_0x12f1be['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x453288,_0x1882c5,_0x40b037)=>{_0x40b037||_0x12f1be['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x1eb9e4=>this['confirmView']['on']('submit',_0x1eb9e4));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function J(_0x2ca38d){let _0x13788c=0x0,_0xa8c5b=0x0;for(const _0x377481 of q(_0x2ca38d))_0x13788c=(_0x13788c<<0x5)-_0x13788c+_0x377481,_0x13788c&=_0x13788c,[_0x13788c,_0xa8c5b]=[_0xa8c5b,_0x13788c];return X(_0x13788c)+X(_0xa8c5b);}function*K(_0x44ad4b){null==_0x44ad4b||null==_0x44ad4b?yield 0x12b9b0a1:0x0===_0x44ad4b||!0x1===_0x44ad4b?yield 0x0:0x1===_0x44ad4b||0x1==_0x44ad4b?yield 0x1:Array['isArray'](_0x44ad4b)?yield*function*(_0x3d613d){for(const _0x47e383 of _0x3d613d)yield*K(_0x47e383);}(_0x44ad4b):'object'==typeof _0x44ad4b?yield*q(_0x44ad4b):'string'==typeof _0x44ad4b?yield*Z(_0x44ad4b):'number'==typeof _0x44ad4b&&(yield _0x44ad4b);}function*q(_0x50cef0){if(yield Q('{'),_0x50cef0){const _0x3b59a8=Object['keys'](_0x50cef0)['sort']();for(const _0x4c385b of _0x3b59a8){yield*Z(_0x4c385b),yield Q(':');const _0x1ab164=_0x50cef0[_0x4c385b];yield*K(_0x1ab164);}}yield Q('}');}function*Z(_0x3a1902){yield Q('\x22');for(const _0x4151b5 of _0x3a1902)yield Q(_0x4151b5);yield Q('\x22');}function Q(_0x1ac4b4){return _0x1ac4b4['charCodeAt'](0x0);}function X(_0x58de9a){return(_0x58de9a*=Math['sign'](_0x58de9a))['toString'](0x24);}const tt=['root','roots','initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function st(_0x37a4fd,_0x25f850,_0x5d3ead,_0x4e0768=[]){const _0x5ba644='string'==typeof _0x37a4fd?_0x5d3ead['get'](_0x37a4fd)['constructor']:_0x37a4fd['prototype']['constructor'];if(_0x25f850['has'](_0x5ba644))return _0x25f850['get'](_0x5ba644);_0x25f850['set'](_0x5ba644,!0x0);const _0x5a0729=[...et,..._0x4e0768]['map'](_0x322d3b=>{if(_0x5d3ead['has'](_0x322d3b))return _0x5d3ead['get'](_0x322d3b)['constructor'];})['filter'](_0x38064b=>_0x38064b);if(_0x5ba644&&_0x5a0729['includes'](_0x5ba644))return _0x25f850['set'](_0x5ba644,!0x1),!0x1;if(!_0x5ba644['requires'])return _0x25f850['set'](_0x5ba644,!0x0),!0x0;const _0x35ace8=_0x5ba644['requires']['every'](_0x2350d4=>st(_0x2350d4,_0x25f850,_0x5d3ead,_0x4e0768));return _0x25f850['set'](_0x5ba644,_0x35ace8),_0x35ace8;}function it(_0x2d8c44,_0x230f15){const _0x50e201={};for(const _0x41146e of _0x2d8c44['config']['names']())tt['includes'](_0x41146e)||(_0x50e201[_0x41146e]=_0x2d8c44['config']['get'](_0x41146e));const _0x1f7233=_0x50e201['plugins']||[],_0x48115d=_0x2d8c44['constructor']['builtinPlugins']||[],_0x1663a3=_0x1f7233['length']?_0x1f7233:_0x48115d,_0x59fed0=_0x50e201['extraPlugins']||[];delete _0x50e201['extraPlugins'];const _0x1b1c9b=_0x50e201['removePlugins']||[];delete _0x50e201['removePlugins'];const _0xe6d2d=_0x2d8c44['_context']['config']['get']('plugins')||[],_0x496976=_0x1663a3['concat'](_0x59fed0)['concat'](_0xe6d2d)['map'](_0x1987aa=>'string'==typeof _0x1987aa?_0x48115d['find'](_0x1753c9=>_0x1753c9['pluginName']==_0x1987aa):_0x1987aa)['filter'](_0x39dab8=>!_0x1b1c9b['includes'](_0x39dab8)&&!_0x1b1c9b['includes'](_0x39dab8['pluginName'])),_0x54b1d4=Array['from'](new Set(_0x496976)),_0x10d2cf=new Map();return _0x50e201['plugins']=_0x54b1d4['filter'](_0x6f70a=>st(_0x6f70a,_0x10d2cf,_0x2d8c44['plugins'],_0x230f15)),_0x50e201;}function nt(_0x530548,_0x5aae49){const _0x3eceeb=[];_0x530548['document']['selection']['on']('change:range',()=>{const _0xe6d7fc=function(_0x5eaccb,_0x58154b){const _0x4949cf=[];for(const _0x3d5cd9 of _0x5eaccb['markers']){const _0x3b6f43=_0x3d5cd9['getRange']();(_0x3b6f43['containsPosition'](_0x58154b)||_0x3b6f43['start']['isEqual'](_0x58154b)||_0x3b6f43['end']['isEqual'](_0x58154b))&&_0x4949cf['push'](_0x3d5cd9);}return _0x4949cf;}(_0x530548,_0x530548['document']['selection']['focus']),_0x4a57b3=[],_0x5a296c=[],_0x29ec6f=[];for(const _0x3701c1 of _0x3eceeb)_0xe6d7fc['includes'](_0x3701c1)||_0x4a57b3['push'](_0x3701c1);for(const _0x459562 of _0xe6d7fc)_0x3eceeb['includes'](_0x459562)||_0x5a296c['push'](_0x459562),_0x29ec6f['push'](_0x459562);(_0x4a57b3['length']||_0x5a296c['length'])&&_0x5aae49({'left':_0x4a57b3,'entered':_0x5a296c}),_0x3eceeb['length']=0x0,_0x3eceeb['push'](..._0x29ec6f);});}const ot='Ctrl+Shift+E';function rt(_0x5c46a8,_0x5bd73e){const _0x313981=_0x5c46a8['element'];_0x5c46a8['keystrokes']['listenTo'](_0x313981);for(const _0x15a35a of _0x5bd73e)at(_0x5c46a8,_0x15a35a);_0x5bd73e['on']('change',(_0x4c8ce6,_0x488fd4)=>{for(const _0xfc3167 of _0x488fd4['removed'])ct(_0x5c46a8,_0xfc3167);for(const _0x27c2d6 of Array['from'](_0x488fd4['added'])['reverse']())at(_0x5c46a8,_0x27c2d6);}),_0x5c46a8['keystrokes']['set']('enter',(_0x577fce,_0x39aaee)=>{_0x313981===_0x577fce['target']&&(_0x5c46a8['focusCycler']['focusFirst'](),_0x39aaee());},{'filter':_0x1e73c4=>_0x1e73c4['target']===_0x313981}),_0x5c46a8['keystrokes']['set']('esc',(_0x33f7d0,_0x2e8811)=>{_0x313981!==_0x33f7d0['target']?_0x5c46a8['focus']():_0x5c46a8['fire']('escape'),_0x2e8811();}),_0x5c46a8['keystrokes']['set']('arrowdown',(_0x13ef83,_0x1dfec6)=>{_0x313981===_0x13ef83['target']&&(_0x5c46a8['fire']('arrowdown'),_0x1dfec6());}),_0x5c46a8['keystrokes']['set']('arrowup',(_0xfb346d,_0xf51a53)=>{_0x313981===_0xfb346d['target']&&(_0x5c46a8['fire']('arrowup'),_0xf51a53());});}function at(_0x227085,_0x1f6382){_0x1f6382['isRendered']&&(_0x227085['focusTracker']['add'](_0x1f6382['element']),_0x227085['keystrokes']['listenTo'](_0x1f6382['element']),_0x7bf6d9(_0x1f6382)&&function(_0xb68f50,_0x2263a1){const _0x6dcff5=_0xb68f50['actions'],_0x4be0c7=_0x2263a1['actions'];for(const _0x1c8266 of Object['keys'](_0x6dcff5))if(_0x1c8266 in _0x4be0c7&&_0x6dcff5[_0x1c8266]!==_0x4be0c7[_0x1c8266])return!0x1;return!0x0;}(_0x227085['focusCycler'],_0x1f6382['focusCycler'])&&_0x227085['focusCycler']['chain'](_0x1f6382['focusCycler']));}function ct(_0x1c7e90,_0x19ac3a){_0x1c7e90['focusTracker']['remove'](_0x19ac3a['element']),_0x1c7e90['keystrokes']['stopListening'](_0x19ac3a['element']),_0x7bf6d9(_0x19ac3a)&&_0x1c7e90['focusCycler']['unchain'](_0x19ac3a['focusCycler']);}const lt='$elementId',ut='data-id';class DocumentCompare extends _0x5f4d50{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x13ecb9?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x47f69e,_0x1271d9)=>{_0x1271d9['on']('ready',()=>{this['_integrateEditor'](_0x1271d9);});});}get['editor'](){if(this['context']instanceof _0x13ecb9)return this['context'];{const _0x2ed41=this['context']['editors']['first'];if(!_0x2ed41)throw new _0x567c0e('documentcompare-no-editor',this);return _0x2ed41;}}['getDiff'](_0x4b2d2a,_0x26f8d7,_0x3dc858={'anchor':'main','markDeletions':!0x1}){const _0x4db1a9=_0x3dc858['targetEditor']||this['editor'];let _0x377d51,_0x570298;if('string'==typeof _0x3dc858['anchor']){const _0x429989=_0x4db1a9['model']['document']['getRoot'](_0x3dc858['anchor']);if(!_0x429989)throw new _0x567c0e('documentcompare-compare-no-root',this,{'anchor':_0x3dc858['anchor']});_0x377d51=_0x429989,_0x570298=_0x4db1a9['model']['createPositionAt'](_0x429989,0x0);}else _0x377d51=_0x3dc858['anchor']['clone'](),_0x570298=_0x3dc858['anchor']['clone']();const _0x216961=_0x4db1a9['data']['parse'](_0x4b2d2a,_0x377d51),_0x160114=_0x4db1a9['data']['parse'](_0x26f8d7,_0x377d51);return new DocumentDiff({'editor':_0x4db1a9,'before':_0x216961,'after':_0x160114,'options':{'anchor':_0x570298,'markDeletions':_0x3dc858['markDeletions']}});}['isMarkedRemoveOperation'](_0x386e95){return'marker'==_0x386e95['type']&&_0x386e95['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x8af23a){_0x8af23a['conversion']['for']('upcast')['add'](_0x551a8f=>{_0x551a8f['on']('element',(_0x225294,_0xd10f07,_0x3bb6c0)=>{if(_0xd10f07['modelRange']&&_0x3bb6c0['consumable']['consume'](_0xd10f07['viewItem'],{'attributes':'data-id'}))for(const _0x15d241 of _0xd10f07['modelRange']['getItems']({'shallow':!0x0})){if(_0x15d241['is']('$textProxy'))continue;const _0xc4ff9f=_0xd10f07['viewItem']['getAttribute'](ut);_0xc4ff9f&&_0x3bb6c0['writer']['setAttribute'](lt,_0xc4ff9f,_0x15d241);}},{'priority':'low'});}),_0x8af23a['model']['schema']['addAttributeCheck'](()=>!0x0,lt);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x3604eb,before:_0xe2d385,after:_0x18a033,options:_0x402a67}){this['_editor']=_0x3604eb,this['_markDeletions']=!!_0x402a67['markDeletions'],this['_anchor']=_0x402a67['anchor'];const _0x267b06=this['_tokenizeModel'](_0xe2d385),_0x5a02e6=this['_tokenizeModel'](_0x18a033);this['_diffItems']=this['_diffModelTokens'](_0x267b06,_0x5a02e6),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0xe2d385['markers'],_0x18a033['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x324981=this['_editor']['model']['document'],_0xf74ac9=[];let _0x1d324b=_0x324981['version'];for(const _0x462dbb of this['_operationsData'])switch(_0x462dbb['type']){case'attribute':{const _0x3fb321=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']),_0x1510fd=_0x3fb321['getShiftedBy'](_0x462dbb['howMany']),_0x359c75=new _0x326622(_0x3fb321,_0x1510fd),_0x3e9612=JSON['parse'](_0x462dbb['oldValue']),_0x102164=JSON['parse'](_0x462dbb['newValue']);_0xf74ac9['push'](new _0x2ca4e3(_0x359c75,_0x462dbb['key'],_0x3e9612,_0x102164,_0x1d324b++));break;}case'insert':{const _0x2f1111=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']),_0x1ad83c=this['_makeModelFromTokens'](_0x462dbb['tokens']);_0xf74ac9['push'](new _0x8fd55f(_0x2f1111,_0x1ad83c,_0x1d324b++));break;}case'remove':{const _0x59cb34=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']),_0x583305=new _0x6b9db2(_0x324981['graveyard'],[0x0]);_0xf74ac9['push'](new _0x705622(_0x59cb34,_0x462dbb['howMany'],_0x583305,_0x1d324b++));break;}case'rename':{const _0x5e5a20=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']);_0xf74ac9['push'](new _0x22d213(_0x5e5a20,_0x462dbb['oldName'],_0x462dbb['newName'],_0x1d324b++));break;}case'split':{const _0xd6f34b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']),_0x376c09=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']['slice'](0x0,-0x1));_0x376c09['offset']++,_0xf74ac9['push'](new _0x50165a(_0xd6f34b,Number['NEGATIVE_INFINITY'],_0x376c09,null,_0x1d324b++));break;}case'merge':{const _0x5b7b48=_0x462dbb['path']['slice'](),_0x3c6f16=_0x5b7b48['slice'](0x0,-0x1);_0x3c6f16[_0x3c6f16['length']-0x1]++,_0x3c6f16['push'](0x0);const _0x15ba55=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c6f16),_0x1843df=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b7b48),_0x12d3bd=new _0x6b9db2(_0x324981['graveyard'],[0x0]);_0xf74ac9['push'](new _0x188696(_0x15ba55,Number['NEGATIVE_INFINITY'],_0x1843df,_0x12d3bd,_0x1d324b++));break;}case'marker':case'markedRemove':{let _0x44b12a=null;if(_0x462dbb['range']){const _0x13be12=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['range']['start']),_0xe30f51=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['range']['end']);_0x44b12a=new _0x326622(_0x13be12,_0xe30f51);}const _0x1e9ffb='marker'==_0x462dbb['type']?_0x462dbb['name']:'$markedRemove:'+_0x5a10eb();_0xf74ac9['push'](new _0xeb30b8(_0x1e9ffb,null,_0x44b12a,_0x324981['model']['markers'],!0x0,_0x1d324b++));break;}case'unwrap':{const _0x45e939=_0x462dbb['path']['slice']();_0x45e939['push'](0x0);const _0x41abe3=_0x462dbb['path']['slice'](),_0x35d6ab=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x45e939),_0x52f0e0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x41abe3),_0x973122=new _0x6b9db2(_0x324981['graveyard'],[0x0]);_0xf74ac9['push'](new _0x705622(_0x35d6ab,_0x462dbb['howMany'],_0x52f0e0,_0x1d324b++)),_0xf74ac9['push'](new _0x705622(_0x52f0e0['getShiftedBy'](_0x462dbb['howMany']),0x1,_0x973122,_0x1d324b++));break;}case'wrap':{const _0x2babdb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['range']['start']),_0x1a21a8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['range']['end']),_0x4d7667=_0x462dbb['token']['element']['_clone'](!0x1);_0x4d7667['_removeAttribute'](lt);const _0xc25bec=_0x462dbb['range']['end']['slice']();_0xc25bec['push'](0x0);const _0x2e41f2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xc25bec);_0xf74ac9['push'](new _0x8fd55f(_0x1a21a8,_0x4d7667,_0x1d324b++)),_0xf74ac9['push'](new _0x705622(_0x2babdb,_0x1a21a8['offset']-_0x2babdb['offset'],_0x2e41f2,_0x1d324b++));break;}}return _0xf74ac9;}['_tokenizeModel'](_0x152dbc){const _0x189371=[],_0x2d8648=_0x326622['_createIn'](_0x152dbc),_0x515cd0=new _0x2de74f({'boundaries':_0x2d8648});let _0x4cb7c4='',_0x33900e=null;const _0x3a7b7e=[''],_0x2f7eec=new Map();for(const _0x1a78af of _0x515cd0)if('elementStart'==_0x1a78af['type']||'elementEnd'==_0x1a78af['type']){let _0x3264df=_0x3a7b7e[0x0];''!==_0x4cb7c4&&(_0x189371['push'](...this['_makeTokensFromTextByWords'](_0x4cb7c4,_0x33900e,_0x3264df)),_0x4cb7c4='');const _0x1bbd40=_0x1a78af['item'];let _0x3eeb0c;_0x1bbd40['getAttribute'](lt)?_0x3eeb0c=_0x1bbd40['getAttribute'](lt):'elementStart'==_0x1a78af['type']?(_0x3eeb0c=dt(_0x1bbd40),_0x2f7eec['set'](_0x1bbd40,_0x3eeb0c)):_0x3eeb0c=_0x2f7eec['get'](_0x1bbd40);const _0x22b75b=this['_getElementCategory'](_0x1bbd40);'solid'==_0x22b75b&&('elementStart'==_0x1a78af['type']?(_0x3264df=_0x3eeb0c,_0x3a7b7e['unshift'](_0x3264df)):_0x3a7b7e['shift']());const _0x1e26f2={'type':'element','element':_0x1bbd40,'elementId':_0x3eeb0c,'category':_0x22b75b,'isStart':'elementStart'==_0x1a78af['type'],'limitId':_0x3264df};_0x189371['push'](_0x1e26f2);}else''==_0x4cb7c4&&(_0x33900e=_0x1a78af['previousPosition']['clone']()),_0x4cb7c4+=_0x1a78af['item']['data'];return''!==_0x4cb7c4&&_0x189371['push'](...this['_makeTokensFromTextByWords'](_0x4cb7c4,_0x33900e,_0x3a7b7e[0x0])),_0x189371;}['_makeTokensFromTextByWords'](_0xccbbac,_0x4d2d92,_0x5e2502){const _0x1d66a3=_0xccbbac['matchAll'](/(\s)/g),_0x34c07c=Array['from'](_0x1d66a3)['map'](_0x445aec=>_0x445aec['index']);_0x34c07c['push'](_0xccbbac['length']),0x0==_0x34c07c[0x0]&&_0x34c07c['shift']();const _0x137a08=[],_0x11de99=_0x4d2d92['parent'];let _0x4dff0b=0x0,_0xac42b=_0x4d2d92['offset'];for(let _0x1fb7bc=0x0;_0x1fb7bc<_0x34c07c['length'];_0x1fb7bc++)_0x137a08['push']({'type':'text','data':_0xccbbac['slice'](_0x4dff0b,_0x34c07c[_0x1fb7bc]),'parent':_0x11de99,'offset':_0xac42b,'limitId':_0x5e2502}),_0x4dff0b=_0x34c07c[_0x1fb7bc],_0xac42b=_0x4d2d92['offset']+_0x34c07c[_0x1fb7bc];return _0x137a08;}['_getElementCategory'](_0x36a004){const _0x343b52=this['_editor']['model']['schema'];return _0x343b52['isLimit'](_0x36a004)||_0x343b52['isContent'](_0x36a004)||_0x343b52['isInline'](_0x36a004)?'solid':_0x343b52['isBlock'](_0x36a004)?'block':function(_0x577a19,_0x58dc5e){const _0x1c96eb=_0x577a19['parent'];if(!_0x1c96eb||_0x1c96eb['is']('documentFragment'))return!0x1;if(_0x58dc5e['checkChild'](_0x1c96eb,'$text'))return!0x1;for(const _0x20ea6f of _0x577a19['getChildren']())if(_0x20ea6f['is']('$text'))return!0x0;return!0x1;}(_0x36a004,_0x343b52)?'solid':'container';}['_diffModelTokens'](_0x8b2e8c,_0x11aec3){const _0x144ee6=_0x14add3(_0x8b2e8c,_0x11aec3,{'comparator':ht});this['_handleUnclosedBlockOpeningTags'](_0x144ee6);const _0x35de54=_0x144ee6['flatMap'](_0x251718=>{const _0x39b0ff=_0x251718['added']?'added':_0x251718['removed']?'removed':'unchanged';return _0x251718['value']['map'](_0x161276=>({'token':_0x161276,'change':_0x39b0ff}));});let _0x249acb=0x0;for(const _0x4fcbb9 of _0x35de54)'added'!=_0x4fcbb9['change']&&('unchanged'==_0x4fcbb9['change']&&(_0x4fcbb9['before']=_0x8b2e8c[_0x249acb]),_0x249acb++);return _0x35de54;}['_handleUnclosedBlockOpeningTags'](_0x4e475a){for(let _0x4791d3=0x0;_0x4791d3<_0x4e475a['length']-0x1;_0x4791d3++)if(_0x4e475a[_0x4791d3]['removed']&&_0x4e475a[_0x4791d3+0x1]['added']){const _0x45bade=this['_findUnclosedBlockOpeningToken'](_0x4e475a[_0x4791d3]['value']);if(null!==_0x45bade){const _0x3688f4=this['_findUnclosedBlockOpeningToken'](_0x4e475a[_0x4791d3+0x1]['value']),_0x5525e0=_0x4e475a[_0x4791d3]['value']['splice'](_0x45bade),_0x3970c3=_0x4e475a[_0x4791d3+0x1]['value']['splice'](_0x3688f4),_0x165c0f=[_0x3970c3['shift']()];_0x5525e0['shift']();const _0xd01433={'value':_0x5525e0,'removed':!0x0},_0x996998={'value':_0x3970c3,'added':!0x0},_0x2aa93c={'value':_0x165c0f};_0x4e475a['splice'](_0x4791d3+0x2,0x0,_0x2aa93c,_0xd01433,_0x996998);}}}['_findUnclosedBlockOpeningToken'](_0x5ab9f1){let _0x46f73b=0x0,_0xb1f56c=-0x1;for(let _0x1aa452=0x0;_0x1aa452<_0x5ab9f1['length'];_0x1aa452++){const _0x1286b5=_0x5ab9f1[_0x1aa452];'element'==_0x1286b5['type']&&'block'==_0x1286b5['category']&&(_0x46f73b+=_0x1286b5['isStart']?0x1:-0x1,_0x1286b5['isStart']&&(_0xb1f56c=_0x1aa452));}return 0x0===_0x46f73b?null:_0xb1f56c;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x37d356=0x0;_0x37d356<this['_diffItems']['length'];_0x37d356++){const _0x1a6c85=this['_diffItems'][_0x37d356]['change'],_0x5a7567=[];_0x5a7567['push'](this['_diffItems'][_0x37d356]);let _0x2d84f7=_0x37d356+0x1;for(;this['_diffItems'][_0x2d84f7]&&this['_diffItems'][_0x2d84f7]['change']==_0x1a6c85;)_0x5a7567['push'](this['_diffItems'][_0x2d84f7]),_0x2d84f7++,_0x37d356++;const _0x5f341e=_0x5a7567['map'](_0x141282=>_0x141282['token']);if('unchanged'==_0x1a6c85)_0x5a7567['map'](_0x54aae0=>_0x54aae0['before'])['forEach'](_0x2cdb08=>this['_traverseOverItem'](_0x2cdb08));else{if('removed'==_0x1a6c85){if(this['_markDeletions']){const _0x3c3ff0=this['_path']['slice']();_0x5f341e['forEach'](_0x1dc5ee=>this['_traverseOverItem'](_0x1dc5ee));const _0x4367ad=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x3c3ff0,'end':_0x4367ad}});}else this['_handleChanged'](_0x5f341e,!0x0,this['_path']['slice']());}else{const _0x3196e3=_0x5f341e['filter'](_0x8ca125=>'element'!=_0x8ca125['type']||'container'!=_0x8ca125['category']);this['_handleChanged'](_0x3196e3,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x568727=0x0;_0x568727<this['_diffItems']['length'];_0x568727++){const _0x14c92f=this['_diffItems'][_0x568727]['change'],_0x1c024c=[];_0x1c024c['push'](this['_diffItems'][_0x568727]);let _0x34f62f=_0x568727+0x1;for(;this['_diffItems'][_0x34f62f]&&this['_diffItems'][_0x34f62f]['change']==_0x14c92f;)_0x1c024c['push'](this['_diffItems'][_0x34f62f]),_0x34f62f++,_0x568727++;const _0x1046eb=_0x1c024c['map'](_0xea791e=>_0xea791e['token']);if('unchanged'==_0x14c92f){const _0x5d5639=_0x1c024c['map'](_0x1f47b1=>_0x1f47b1['before']);this['_handleUnchanged'](_0x5d5639,_0x1046eb);}else('added'==_0x14c92f||this['_markDeletions'])&&_0x1046eb['forEach'](_0x74272=>{'element'==_0x74272['type']&&_0x74272['isStart']&&this['_splitPostponedData']['has'](_0x74272['element'])&&this['_handleSplitPostponedData'](_0x74272['element'],this['_path']),this['_traverseOverItem'](_0x74272);});}}['_handleSplitPostponedData'](_0x1b6146,_0x7c5e1a){const _0x50e3b1=this['_splitPostponedData']['get'](_0x1b6146);for(const _0x5dac75 of _0x50e3b1)'rename'==_0x5dac75['type']?this['_operationsData']['push']({'type':'rename','path':_0x7c5e1a['slice'](),'oldName':_0x5dac75['oldValue'],'newName':_0x1b6146['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x7c5e1a['slice'](),'howMany':0x1,'key':_0x5dac75['key'],'oldValue':_0x5dac75['oldValue'],'newValue':JSON['stringify'](_0x1b6146['getAttribute'](_0x5dac75['key'])??null)});}['_calculateMarkersOperationsData'](_0x2adf38,_0x9b7d76){const _0x99d8e0={};for(const [_0x3edb04]of _0x2adf38)_0x99d8e0[_0x3edb04]=null;for(const [_0x127162,_0x5801f4]of _0x9b7d76)_0x99d8e0[_0x127162]=_0x5801f4;const _0x3b0cf3=Object['entries'](_0x99d8e0)['map'](([_0x2d619e,_0x5711ed])=>({'type':'marker','name':_0x2d619e,'range':_0x5711ed?{'start':_0x5711ed['start']['path']['slice'](),'end':_0x5711ed['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x3b0cf3);}['_handleUnwraps'](){const _0x22e105=new Map(),_0x31e03d=[],_0x505a56=[0x0];let _0x2c23c6=this['_diffItems']['length']+0x1;for(let _0xc85838=this['_diffItems']['length']-0x1;_0xc85838>=0x0;_0xc85838--){const {token:_0x459054,before:_0x52ec36,change:_0x41411e}=this['_diffItems'][_0xc85838];if('removed'!=_0x41411e&&(_0x2c23c6=_0xc85838),'element'!=_0x459054['type']||'container'!=_0x459054['category']||'added'==_0x41411e)continue;const _0x17cf87=_0x52ec36?_0x52ec36['element']:_0x459054['element'];if(_0x459054['isStart']){const _0x55c62c=_0x22e105['get'](_0x17cf87),_0x35a609=this['_diffItems'][_0x55c62c];('removed'==_0x41411e||'removed'==_0x35a609['change'])&&_0x2c23c6<_0x55c62c&&(this['_operationsData']['push']({'type':'unwrap','path':_0x17cf87['getPath'](),'howMany':_0x17cf87['maxOffset']+_0x505a56[0x0]}),_0x505a56['shift'](),_0x505a56[0x0]+=_0x17cf87['maxOffset']-0x1,_0x31e03d['push'](_0xc85838),_0x31e03d['push'](_0x55c62c));}else _0x22e105['set'](_0x17cf87,_0xc85838),_0x505a56['unshift'](0x0);}_0x31e03d['sort']((_0xd1da16,_0x3594c4)=>_0x3594c4-_0xd1da16),_0x31e03d['forEach'](_0x421277=>{const _0x34db24=this['_diffItems'][_0x421277];'removed'==_0x34db24['change']?this['_diffItems']['splice'](_0x421277,0x1):(_0x34db24['change']='added',delete _0x34db24['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x11b33a=[];for(let _0xc3750b=0x0;_0xc3750b<this['_diffItems']['length'];_0xc3750b++){const {change:_0x2ac2d0,token:_0x4a1682}=this['_diffItems'][_0xc3750b];if('added'==_0x2ac2d0&&'element'==_0x4a1682['type']&&'container'==_0x4a1682['category']){if(_0x4a1682['isStart'])_0x11b33a['push'](this['_path']['slice']());else{if(!_0x4a1682['isStart']){const _0x3752b2=_0x11b33a['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x3752b2,'end':this['_path']['slice']()},'token':_0x4a1682}),this['_path'][this['_path']['length']-0x1]=_0x3752b2[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x2ac2d0||this['_markDeletions'])&&this['_traverseOverItem'](_0x4a1682);}}['_handleUnchanged'](_0x471e96,_0x2c4e5b){for(let _0x1326da=0x0;_0x1326da<_0x471e96['length'];_0x1326da++){const _0x44f7a5=_0x471e96[_0x1326da];if('element'==_0x44f7a5['type']&&_0x44f7a5['isStart']){const _0x1a5ccb=_0x2c4e5b[_0x1326da];'block'==_0x44f7a5['category']&&this['_handleElementRename'](_0x44f7a5['element'],_0x1a5ccb['element'],this['_path']),this['_handleElementAttributeChanges'](_0x44f7a5['element'],_0x1a5ccb['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x1a5ccb);}else{if('element'!=_0x44f7a5['type']||_0x44f7a5['isStart']){if('text'==_0x44f7a5['type']){const _0x401148=this['_path']['slice'](),_0x1dd7c5=[],_0xc98002=[];for(;_0x471e96[_0x1326da]&&'text'==_0x471e96[_0x1326da]['type'];)_0x1dd7c5['push'](_0x471e96[_0x1326da]),_0xc98002['push'](_0x2c4e5b[_0x1326da]),this['_path'][this['_path']['length']-0x1]+=_0x471e96[_0x1326da]['data']['length'],_0x1326da++;_0x1326da--,this['_handleTextAttributeChanges'](_0x1dd7c5,_0xc98002,_0x401148);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x35164b,_0xcdf610,_0x32e89a){const _0x73704c=[],_0x106616=[],_0x1ae3e4=_0x32e89a['slice']();let _0x5b6947=this['_parents']['length']-0x1;for(let _0x5414ef=0x0;_0x5414ef<_0x35164b['length'];_0x5414ef++){const _0x48e50d=_0x35164b[_0x5414ef],_0x4188af=_0x32e89a['slice']();'element'!=_0x48e50d['type']||_0x48e50d['isStart']?'element'==_0x48e50d['type']&&_0x48e50d['isStart']?(_0x32e89a['push'](0x0),_0x5b6947++,_0x106616['push']({'before':_0x4188af,'after':_0x32e89a['slice'](),'index':_0x5414ef})):_0x32e89a[_0x32e89a['length']-0x1]+=_0x48e50d['data']['length']:(_0x32e89a['pop'](),_0x32e89a[_0x32e89a['length']-0x1]++,_0x5b6947--,_0x106616['length']?_0x106616['pop']():_0x73704c['push']({'before':_0x4188af,'after':_0x32e89a['slice'](),'index':_0x5414ef}));}if(_0x106616['length']!==_0x73704c['length'])throw new _0x567c0e('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x35164b,'isRemove':_0xcdf610});const _0x3b543d=[{'after':_0x1ae3e4['slice'](),'index':-0x1},..._0x73704c,..._0x106616,{'before':_0x32e89a['slice'](),'index':_0x35164b['length']}];if(_0xcdf610){for(let _0x5e90b4=_0x3b543d['length']-0x1;_0x5e90b4>=0x1;_0x5e90b4--){const _0x4f6f94=_0x3b543d[_0x5e90b4-0x1]['after'],_0x31b87f=_0x3b543d[_0x5e90b4]['before'],_0x522ab7=_0x31b87f[_0x31b87f['length']-0x1]-_0x4f6f94[_0x4f6f94['length']-0x1];_0x522ab7&&(this['_operationsData']['push']({'type':'remove','path':_0x4f6f94,'howMany':_0x522ab7}),_0x31b87f[_0x31b87f['length']-0x1]-=_0x522ab7);}for(const {before:_0x5a16f6}of _0x73704c)this['_operationsData']['push']({'type':'merge','path':_0x5a16f6});}else for(let _0x117fb1=0x0;_0x117fb1<_0x3b543d['length']-0x1;_0x117fb1++){const _0x1529c2=_0x3b543d[_0x117fb1]['after'],_0xf6c1fb=_0x3b543d[_0x117fb1+0x1]['before'],_0xb1e5aa=_0x3b543d[_0x117fb1]['index']+0x1,_0x82c30=_0x3b543d[_0x117fb1+0x1]['index'];if(_0xb1e5aa!==_0x82c30&&this['_operationsData']['push']({'type':'insert','path':_0x1529c2,'tokens':_0x35164b['slice'](_0xb1e5aa,_0x82c30)}),_0x117fb1<_0x73704c['length']){this['_operationsData']['push']({'type':'split','path':_0xf6c1fb});const _0x12642c=_0x35164b[_0x106616[_0x106616['length']-0x1-_0x117fb1]['index']],_0xf4218e=this['_parents'][_0x5b6947]['element'];_0xf4218e['name']!=_0x12642c['element']['name']&&this['_addSplitPostponedData'](_0x12642c['element'],{'type':'rename','oldValue':_0xf4218e['name']});const _0x1e7f57=this['_getAttributeChanges'](_0xf4218e['getAttributes'](),_0x12642c['element']['getAttributes']());for(const _0x3c7219 in _0x1e7f57){const _0x54f731=_0x1e7f57[_0x3c7219]['oldValue'];this['_addSplitPostponedData'](_0x12642c['element'],{'type':'attribute','key':_0x3c7219,'oldValue':_0x54f731});}}}}['_addSplitPostponedData'](_0x371a3d,_0xf5b3eb){const _0x1f619d=this['_splitPostponedData']['get'](_0x371a3d)||[];_0x1f619d['push'](_0xf5b3eb),this['_splitPostponedData']['set'](_0x371a3d,_0x1f619d);}['_traverseOverItem'](_0x533fe0){'element'==_0x533fe0['type']&&_0x533fe0['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x533fe0)):'element'!=_0x533fe0['type']||_0x533fe0['isStart']?'text'==_0x533fe0['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x533fe0['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x49ef21,_0x1cb4e7,_0x427da2){_0x49ef21['name']!=_0x1cb4e7['name']&&this['_operationsData']['push']({'type':'rename','path':_0x427da2['slice'](),'oldName':_0x49ef21['name'],'newName':_0x1cb4e7['name']});}['_handleElementAttributeChanges'](_0x400d6b,_0x308990,_0x4ee7b1){const _0xb1049=this['_getAttributeChanges'](_0x400d6b['getAttributes'](),_0x308990['getAttributes']());for(const _0x1e11be in _0xb1049){const {oldValue:_0x44e5ee,newValue:_0x112147}=_0xb1049[_0x1e11be];this['_operationsData']['push']({'type':'attribute','path':_0x4ee7b1['slice'](),'howMany':0x1,'key':_0x1e11be,'oldValue':_0x44e5ee,'newValue':_0x112147});}}['_handleTextAttributeChanges'](_0x340783,_0x1db707,_0x4614b3){const _0x5103bf=this['_operationsData'],_0x645f1e=_0x340783[0x0]['parent'],_0x2d1a45=_0x340783[0x0]['offset'],_0x1ad686=_0x1db707[0x0]['parent'],_0x9c18b9=_0x1db707[0x0]['offset'],_0x380d99=_0x340783['reduce']((_0x1f9b09,_0x328efc)=>_0x1f9b09+_0x328efc['data']['length'],0x0),_0xce7bbc=this['_getAttrsForOffsets'](_0x645f1e,_0x2d1a45,_0x380d99),_0x543567=this['_getAttrsForOffsets'](_0x1ad686,_0x9c18b9,_0x380d99),_0x2fec66={};for(let _0x1b695f=0x0;_0x1b695f<_0x380d99;_0x1b695f++){const _0x207d2b=_0xce7bbc[_0x2d1a45+_0x1b695f],_0x2c72fb=_0x543567[_0x9c18b9+_0x1b695f],_0x59e610=this['_getAttributeChanges'](_0x207d2b,_0x2c72fb);for(const _0x824137 in _0x2fec66)_0x59e610[_0x824137]||_0x4dcd2(_0x824137);for(const _0x5ec84e in _0x59e610){const {oldValue:_0x126774,newValue:_0x31e50b}=_0x59e610[_0x5ec84e],_0x37303b=_0x2fec66[_0x5ec84e];_0x37303b?_0x37303b['oldValue']==_0x126774&&_0x37303b['newValue']==_0x31e50b?_0x37303b['length']++:(_0x4dcd2(_0x5ec84e),_0x2fec66[_0x5ec84e]={'oldValue':_0x126774,'newValue':_0x31e50b,'start':_0x1b695f,'length':0x1}):_0x2fec66[_0x5ec84e]={'oldValue':_0x126774,'newValue':_0x31e50b,'start':_0x1b695f,'length':0x1};}}for(const _0x272726 in _0x2fec66)_0x4dcd2(_0x272726);function _0x4dcd2(_0x5cecc5){const _0x18ee94=_0x2fec66[_0x5cecc5],_0x24e5f5=_0x4614b3['slice']();_0x24e5f5[_0x24e5f5['length']-0x1]+=_0x18ee94['start'],_0x5103bf['push']({'type':'attribute','path':_0x24e5f5,'howMany':_0x18ee94['length'],'key':_0x5cecc5,'oldValue':_0x18ee94['oldValue'],'newValue':_0x18ee94['newValue']}),delete _0x2fec66[_0x5cecc5];}}['_getAttributeChanges'](_0x2369ca,_0xe1a1c3){const _0x4fa4c8={};for(const [_0x12a03f,_0x3d988b]of _0x2369ca)_0x4fa4c8[_0x12a03f]={'oldValue':JSON['stringify'](_0x3d988b),'newValue':'null'};for(const [_0x4823a4,_0x23ca49]of _0xe1a1c3){const _0x8a6589=JSON['stringify'](_0x23ca49);_0x4fa4c8[_0x4823a4]?_0x4fa4c8[_0x4823a4]['oldValue']==_0x8a6589?delete _0x4fa4c8[_0x4823a4]:_0x4fa4c8[_0x4823a4]['newValue']=_0x8a6589:_0x4fa4c8[_0x4823a4]={'oldValue':'null','newValue':_0x8a6589};}return delete _0x4fa4c8[lt],_0x4fa4c8;}['_getAttrsForOffsets'](_0x456c40,_0x1b5dba,_0x586be1){const _0x1bb818=new Array(_0x1b5dba+_0x586be1);let _0x15b150=_0x456c40['getChildAtOffset'](_0x1b5dba),_0x1b2c98=_0x15b150['startOffset'];for(;_0x15b150&&_0x1b2c98<_0x1b5dba+_0x586be1;){const _0x5bbab6=Array['from'](_0x15b150['getAttributes']());_0x1bb818['fill'](_0x5bbab6,_0x1b2c98,_0x1b2c98+_0x15b150['offsetSize']),_0x1b2c98+=_0x15b150['offsetSize'],_0x15b150=_0x15b150['nextSibling'];}return _0x1bb818;}['_getPositionFromAnchorAndPath'](_0x2ae690,_0x1fa064){const _0x2a0404=[..._0x2ae690['path']['slice'](0x0,-0x1),_0x2ae690['offset']+_0x1fa064[0x0],..._0x1fa064['slice'](0x1)];return new _0x6b9db2(_0x2ae690['root'],_0x2a0404);}['_makeModelFromTokens'](_0xfa19b3){const _0x2f374a=[];let _0x34f5ae=null;for(const _0x1a7edb of _0xfa19b3)if('element'!=_0x1a7edb['type']||_0x1a7edb['isStart']||_0x34f5ae!=_0x1a7edb['element']){if(!_0x34f5ae){if('text'==_0x1a7edb['type']){const _0x975d64=_0x6b9db2['_createAt'](_0x1a7edb['parent'],_0x1a7edb['offset']),_0x20a21f=_0x326622['_createFromPositionAndShift'](_0x975d64,_0x1a7edb['data']['length']),_0x560655=Array['from'](_0x20a21f['getItems']())['map'](_0x49b199=>new _0x1f4480(_0x49b199['data'],_0x49b199['getAttributes']()));_0x2f374a['push'](..._0x560655);}else{_0x34f5ae=_0x1a7edb['element'];const _0x558491=_0x1a7edb['element']['_clone'](!0x0);_0x558491['_removeAttribute'](lt);for(const _0x556074 of this['_editor']['model']['createRangeIn'](_0x558491)['getItems']())_0x556074['is']('element')&&_0x556074['_removeAttribute'](lt);_0x2f374a['push'](_0x558491);}}}else _0x34f5ae=null;return _0x2f374a;}}function ht(_0x31f48d,_0x400f3d){return _0x31f48d['type']===_0x400f3d['type']&&(_0x31f48d['limitId']===_0x400f3d['limitId']&&('text'==_0x31f48d['type']?_0x31f48d['data']==_0x400f3d['data']:function(_0x2b707d,_0x43038d){if(_0x2b707d['isStart']!=_0x43038d['isStart'])return!0x1;if(_0x2b707d['isStart']&&_0x2b707d['elementId']!=_0x43038d['elementId'])return!0x1;if(_0x2b707d['category']!=_0x43038d['category'])return!0x1;if('block'==_0x2b707d['category'])return!0x0;if('container'==_0x2b707d['category']&&_0x2b707d['elementId']!=_0x43038d['elementId'])return!0x1;return _0x2b707d['element']['name']==_0x43038d['element']['name'];}(_0x31f48d,_0x400f3d)));}function dt(_0xbdd363){return J({'name':_0xbdd363['name'],...Object['fromEntries'](_0xbdd363['getAttributes']())});}export{AriaDescriptionView,CollaborationUserColor,G as ConfirmMixin,lt as DATA_ID_MODEL_ATTRIBUTE,ut as DATA_ID_VIEW_ATTRIBUTE,DocumentCompare,DocumentDiff,ot as FOCUS_ANNOTATION_KEYSTROKE,LateFocusButtonView,LateFocusDropdownButtonView,Permissions,SuggestionsConversion,User,UserView,Users,U as fixElementSuggestionRange,W as getAllMarkersDomElementsSorted,z as getDateTimeFormatter,R as getMarkerDomElement,J as hashObject,it as sanitizeEditorConfig,rt as setupThreadKeyboardNavigation,O as splitSuggestionMarkerName,nt as surroundingMarkersDetector,j as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x2e4bce,Editor as _0x2b853a,Plugin as _0x20a8bb}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x47642c,Collection as _0x21886a,uid as _0x41bf63,toArray as _0x36efea,first as _0x146d81,FocusTracker as _0x3543f6,KeystrokeHandler as _0x1c009f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x5734d1,IconView as _0x251ce7,ButtonView as _0x23c71c,DropdownButtonView as _0x7e0906,FocusCycler as _0xe9d287,isViewWithFocusCycler as _0x1ef29b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x3059c5,IconCheck as _0x1dcf90,IconCancel as _0x19dec8}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as _0x3e53fa,toWidget as _0xc1a14c}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as _0x4a0022}from'luxon';import{InsertOperation as _0x3c8742,MoveOperation as _0x2f2a34,ModelPosition as _0xe5f221,ModelRange as _0x89429c,MarkerOperation as _0x5f5473,MergeOperation as _0x5d611c,SplitOperation as _0x18620c,RenameOperation as _0x26d972,AttributeOperation as _0x212522,ModelTreeWalker as _0x5c5e82,ModelText as _0x3813f2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x4b122f}from'diff';class Permissions extends _0x2e4bce{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0xe34ff5,_0x24a5fd){let _0x2c0039;if(_0x24a5fd||(_0x24a5fd=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x24a5fd?_0x2c0039=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x2c0039=this['context']['editors']['find'](_0x4e3f86=>_0x4e3f86['config']['get']('collaboration.channelId')==_0x24a5fd)),!_0x2c0039)throw new _0x47642c('permissions-set-permissions-invalid-channel-id',null);const _0x38c65=_0x2c0039['plugins'],_0x44ec22=_0x38c65['has']('CommentsRepository')?_0x38c65['get']('CommentsRepository'):void 0x0,_0x41679d=_0x38c65['has']('CommentsOnly')&&_0x38c65['get']('CommentsOnly'),_0x26db19=_0xe34ff5['includes']('document:write'),_0x300bc4=_0xe34ff5['includes']('comment:modify_all'),_0x2e8c65=_0xe34ff5['includes']('comment:admin'),_0x8f4bed=_0xe34ff5['includes']('comment:write'),_0x58a7cb=_0x8f4bed||_0x2e8c65,_0x1aa2df=_0x58a7cb||_0x300bc4,_0x462e4f=_0x26db19||_0x58a7cb;(_0x41679d&&(_0x41679d['isEnabled']=!_0x26db19&&_0x1aa2df),_0x2c0039 instanceof _0x2b853a)&&(!(_0x26db19||_0x1aa2df&&_0x44ec22)?_0x2c0039['enableReadOnlyMode']('no-permissions'):_0x2c0039['disableReadOnlyMode']('no-permissions'));if(_0x44ec22){_0x44ec22['setPermissions']({'admin':_0x2e8c65,'modifyAll':_0x300bc4,'write':_0x8f4bed,'resolve':_0x462e4f},_0x24a5fd);const _0x54f877=_0x2c0039 instanceof _0x2b853a&&_0x2c0039['commands']['get']('addCommentThread');_0x54f877&&(_0x58a7cb?_0x54f877['clearForceDisabled']('noPermissions'):_0x54f877['forceDisabled']('noPermissions'));}}}function B(_0x57e081,_0x1802e9){const t=_0x57e081['t'];switch(_0x1802e9){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class Users extends _0x2e4bce{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Permissions];}constructor(_0x9c1d20){super(_0x9c1d20),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x21886a(),this['_locale']=_0x9c1d20['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:_0x5c68bc,name:_0x4f1081,..._0x1c0e49}){if(!_0x5c68bc||'string'!=typeof _0x5c68bc)throw new _0x47642c('users-add-invalid-id');if(this['users']['has'](_0x5c68bc))throw new _0x47642c('users-add-duplicated-id',null,{'id':_0x5c68bc});const _0x5d838c=this['context']['config']['get']('users.getInitialsCallback'),_0x4ba2e7={..._0x1c0e49,'id':_0x5c68bc,'name':N(this['_locale'],_0x4f1081),'color':this['_getNextColor']()};_0x4ba2e7['name']=N(this['_locale'],_0x4ba2e7['name']);const _0x5aa0b4=new User(_0x4ba2e7,_0x5d838c);return this['users']['add'](_0x5aa0b4),_0x5aa0b4;}['getUser'](_0x595542){return this['users']['get'](_0x595542);}['useAnonymousUser'](){const _0x2cce2f=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x2cce2f);}['defineMe'](_0x420b5f){if(this['_myId'])throw new _0x47642c('users-me-already-defined',null);const _0x103e61=this['getUser'](_0x420b5f);if(!_0x103e61)throw new _0x47642c('users-me-missing-user',null);this['_myId']=_0x420b5f,_0x103e61['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x42b53b=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x42b53b&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x22728c=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x22728c,'name':B(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class User{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x159e67,_0x16164f){this['id']=_0x159e67['id'],this['color']=_0x159e67['color'],this['name']=_0x159e67['name'],this['initials']=_0x16164f?_0x16164f(this['name']):this['_computeInitials'](),this['avatar']=_0x159e67['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x443f74=this['name']['split']('\x20')['filter'](_0x50aa96=>/^[\p{Letter}]/u['test'](_0x50aa96));return 0x1===_0x443f74['length']?this['_getInitial'](_0x443f74[0x0]):0x0===_0x443f74['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x443f74[0x0])+this['_getInitial'](_0x443f74[_0x443f74['length']-0x1]);}['_getInitial'](_0x2944f4){return String['fromCodePoint'](_0x2944f4['codePointAt'](0x0))['toUpperCase']();}}function N(_0x4ef165,_0x139c28=''){return''==(_0x139c28=_0x139c28['trim']())?B(_0x4ef165,'Anonymous'):_0x139c28;}class CollaborationUserColor{['_id'];constructor(_0x3286d1){this['_id']=_0x3286d1;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}}class UserView extends _0x5734d1{['name'];['notificationView'];constructor(_0x346c2d,_0x3b25ec,_0x11e47a){super(_0x346c2d),this['name']=_0x3b25ec['name'],this['notificationView']=null;const _0x5bada7=['ck','ck-user'],_0x48aeab=['ck','ck-user__img'];if(_0x3b25ec['isAnonymous']&&_0x48aeab['push']('ck-user__anonymous'),!_0x3b25ec['isAnonymous']&&_0x3b25ec['isMe']&&_0x5bada7['push']('ck-user_me'),_0x3b25ec['avatar']&&_0x48aeab['push']('ck-user__avatar'),_0x11e47a){const _0x18bc96=new _0x251ce7();_0x18bc96['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x18bc96['content']=_0x3059c5,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x11e47a},'children':[_0x18bc96]};}const _0x400d7e=[{'tag':'div','attributes':{'class':_0x48aeab,'style':{'background-image':_0x3b25ec['avatar']?'url(\x27'+_0x3b25ec['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x3b25ec['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x3b25ec['name']},'children':[{'text':_0x3b25ec['initials']}]}];this['notificationView']&&_0x400d7e['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x5bada7,'data-user-id':_0x3b25ec['id']},'children':_0x400d7e});}}class AriaDescriptionView extends _0x5734d1{['id'];constructor(_0x3eaf01,_0x5e841a){super(_0x3eaf01),this['id']='ck-aria-description-'+_0x41bf63(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x5e841a}]});}}class LateFocusButtonView extends _0x23c71c{['render'](){super['render'](),H(this);}}class LateFocusDropdownButtonView extends _0x7e0906{['render'](){super['render'](),H(this);}}function H(_0x25288c){_0x25288c['listenTo'](_0x25288c['element'],'mousedown',(_0x3fdf7b,_0x3245a0)=>{_0x3245a0['stopPropagation'](),_0x3245a0['preventDefault']();}),_0x25288c['listenTo'](_0x25288c['element'],'mouseup',()=>{_0x25288c['element']['focus']();});}function O(_0x390fc7){const _0x1f54b9=_0x390fc7['split'](':');return{'group':_0x1f54b9[0x0],'type':_0x1f54b9[0x1],'subType':_0x1f54b9['length']>=0x5?_0x1f54b9[0x2]:null,'id':_0x1f54b9['length']<0x5?_0x1f54b9[0x2]:_0x1f54b9[0x3],'authorId':_0x1f54b9['length']<0x5?_0x1f54b9[0x3]:_0x1f54b9[0x4],'markerCount':0x6==_0x1f54b9['length']?_0x1f54b9[0x5]:null};}function U(_0x2a52bb,_0x294656){const _0x705dd6=_0x2a52bb['end']['nodeBefore'];if(_0x705dd6&&_0x705dd6['is']('element')&&_0x294656['schema']['isBlock'](_0x705dd6)&&!_0x294656['schema']['isObject'](_0x705dd6)){const _0x12d59d=_0x294656['createPositionAt'](_0x705dd6,'end');return _0x294656['createRange'](_0x2a52bb['start'],_0x12d59d);}return _0x2a52bb;}class SuggestionsConversionAlignment extends _0x20a8bb{['afterInit'](){const _0x1c945b=this['editor'];if(!_0x1c945b['plugins']['has']('AlignmentEditing'))return;_0x1c945b['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const $=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x20a8bb{['afterInit'](){const _0x42896f=this['editor'],_0x442dfa=_0x42896f['plugins']['get']('SuggestionsConversion');for(const _0x5cfb0a of $){if(!_0x42896f['plugins']['has'](_0x5cfb0a))continue;const _0x293f68=_0x5cfb0a['slice'](0x0,-0x7)['toLowerCase']();_0x442dfa['registerInlineAttribute'](_0x293f68);}}}class SuggestionsConversionBookmark extends _0x20a8bb{['afterInit'](){const _0xc76381=this['editor'],_0x177bd4=_0xc76381['plugins']['get']('SuggestionsConversion');_0xc76381['plugins']['has']('BookmarkEditing')&&_0x177bd4['registerBlockAttribute']('bookmarkId');}}const F=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x20a8bb{['afterInit'](){const _0x1cbb7a=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x42fde9,commandName:_0x59c2e7}of F)this['editor']['plugins']['has'](_0x42fde9)&&_0x1cbb7a['registerInlineAttribute'](_0x59c2e7);}}class SuggestionsConversionFootnotes extends _0x20a8bb{['afterInit'](){const {editor:_0x2d1712}=this;if(!_0x2d1712['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x37eb14=_0x2d1712['plugins']['get']('SuggestionsConversion');_0x37eb14['registerBlockAttribute']('footnotesListStyle'),_0x37eb14['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionGeneralHtmlSupport extends _0x20a8bb{['afterInit'](){const _0x455c28=this['editor'];if(!_0x455c28['plugins']['has']('GeneralHtmlSupport')||!_0x455c28['plugins']['has']('DataSchema'))return;const _0xc74747=_0x455c28['plugins']['get']('SuggestionsConversion'),_0x58e827=_0x455c28['plugins']['get']('GeneralHtmlSupport'),_0x3d6b15=_0x455c28['plugins']['get']('DataSchema');for(const _0x1a5ca7 of _0x3d6b15['getDefinitionsForView'](/.*/,!0x1)){const _0x23d79d=_0x58e827['getGhsAttributeNameForElement'](_0x1a5ca7['view']);_0x1a5ca7['isInline']&&!_0x1a5ca7['isObject']&&!('appliesToBlock'in _0x1a5ca7&&_0x1a5ca7['appliesToBlock'])?_0xc74747['registerInlineAttribute'](_0x23d79d):_0xc74747['registerBlockAttribute'](_0x23d79d);}}}class SuggestionsConversionHighlight extends _0x20a8bb{['afterInit'](){const _0x42f4e2=this['editor'];if(!_0x42f4e2['plugins']['has']('HighlightEditing'))return;_0x42f4e2['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x20a8bb{['afterInit'](){const _0x1c4a14=this['editor'];if(!_0x1c4a14['plugins']['has']('HtmlEmbed'))return;_0x1c4a14['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x20a8bb{['afterInit'](){const _0x5233ea=this['editor'];if(!_0x5233ea['plugins']['has']('ImageEditing'))return;const _0x7d6c4=_0x5233ea['plugins']['get']('SuggestionsConversion');_0x7d6c4['registerBlockAttribute']('src'),_0x5233ea['plugins']['has']('ImageResize')&&_0x7d6c4['registerBlockAttribute']('resizedWidth'),_0x5233ea['plugins']['has']('ImageTextAlternativeEditing')&&_0x7d6c4['registerBlockAttribute']('alt'),_0x5233ea['plugins']['has']('PictureEditing')&&_0x7d6c4['registerBlockAttribute']('sources'),_0x5233ea['plugins']['has']('ImageSizeAttributes')&&(_0x7d6c4['registerBlockAttribute']('width'),_0x7d6c4['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x20a8bb{['afterInit'](){const _0x3be1e=this['editor'],_0x53ffae=_0x3be1e['plugins']['get']('SuggestionsConversion');_0x3be1e['plugins']['has']('IndentBlock')&&(_0x53ffae['registerBlockAttribute']('blockIndent'),_0x3be1e['plugins']['has']('ListEditing')&&(_0x53ffae['registerBlockAttribute']('blockIndentList'),_0x53ffae['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x20a8bb{['afterInit'](){const _0x14a8d0=this['editor'];if(!_0x14a8d0['plugins']['has']('LineHeight'))return;_0x14a8d0['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x20a8bb{['afterInit'](){const _0x442f37=this['editor'];if(!_0x442f37['plugins']['has']('LinkEditing'))return;const _0x2d3c4e=_0x442f37['plugins']['get']('SuggestionsConversion'),_0x35dc14=_0x442f37['commands']['get']('link');_0x2d3c4e['registerInlineAttribute']('linkHref');for(const _0x67b8df of _0x35dc14['manualDecorators'])_0x2d3c4e['registerInlineAttribute'](_0x67b8df['id']);}}class SuggestionsConversionList extends _0x20a8bb{['afterInit'](){const _0x4bd036=this['editor'];if(!_0x4bd036['plugins']['has']('ListEditing'))return;const _0xa14db7=_0x4bd036['plugins']['get']('SuggestionsConversion'),_0x23d465=_0x4bd036['plugins']['has']('TodoListEditing');_0xa14db7['registerBlockAttribute']('listItemId'),_0xa14db7['registerBlockAttribute']('listType'),_0xa14db7['registerBlockAttribute']('listIndent'),_0x23d465&&_0xa14db7['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x20a8bb{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x552fd6=this['editor']['config']['get']('list.properties'),_0x6da2f0=this['editor']['plugins']['get']('SuggestionsConversion');_0x552fd6['styles']&&_0x6da2f0['registerBlockAttribute']('listStyle'),_0x552fd6['reversed']&&_0x6da2f0['registerBlockAttribute']('listReversed'),_0x552fd6['startIndex']&&_0x6da2f0['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x20a8bb{['afterInit'](){const _0xc19ed8=this['editor'],_0x42f701=_0xc19ed8['plugins']['get']('SuggestionsConversion');_0xc19ed8['plugins']['has']('MultiLevelList')&&_0x42f701['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionTableHeadings extends _0x20a8bb{['afterInit'](){const _0xd056a1=this['editor'];if(!_0xd056a1['plugins']['has']('TableEditing'))return;const _0x5879db=_0xd056a1['plugins']['get']('SuggestionsConversion');_0x5879db['registerBlockAttribute']('headingRows'),_0x5879db['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x20a8bb{['afterInit'](){const {plugins:_0xb46ad6}=this['editor'];if(!_0xb46ad6['has']('TablePropertiesEditing'))return;const _0x2088e8=_0xb46ad6['get']('SuggestionsConversion'),_0x39cf0d=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x42f11b of _0x39cf0d)_0x2088e8['registerBlockAttribute'](_0x42f11b);}}class SuggestionsConversionTableLayout extends _0x20a8bb{['afterInit'](){const _0x2b5fa9=this['editor'],_0x852dd4=_0x2b5fa9['plugins']['get']('SuggestionsConversion');_0x2b5fa9['plugins']['has']('TableLayout')&&_0x852dd4['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x20a8bb{['afterInit'](){const _0x158868=this['editor'],_0x135fe0=this['editor']['plugins']['get']('SuggestionsConversion');_0x158868['plugins']['has']('Uploadcare')&&_0x158868['plugins']['has']('UploadcareImageEdit')&&_0x135fe0['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x20a8bb{['afterInit'](){const _0xbfac4f=this['editor'];if(!_0xbfac4f['plugins']['has']('ShiftEnter'))return;const _0x3f693d=_0xbfac4f['plugins']['get']('SuggestionsConversion'),_0x4709bf=(_0x4951bf,_0x5c841c,_0x3365c1,_0xa28280)=>{if(_0xa28280&&!_0x3365c1['options']['showSuggestionHighlights'])return;if(!_0x3365c1['consumable']['test'](_0x5c841c['markerRange'],_0x4951bf['name']))return;const _0x4588e0=_0xbfac4f['model'];for(const _0x317bde of _0x5c841c['markerRange']['getItems']()){if(!_0x317bde['is']('element','softBreak'))continue;const _0x126842='deletion'==_0x5c841c['markerName']['split'](':')[0x1]?'merge':'split',{id:_0xaa9d75,authorId:_0x4de9a5}=O(_0x5c841c['markerName']),_0x20755d=_0x3365c1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x126842,'data-suggestion':_0xaa9d75,'data-author-id':_0x4de9a5}),_0x16292a=_0x3365c1['mapper']['toViewPosition'](_0x4588e0['createPositionBefore'](_0x317bde));!_0xa28280&&_0x3f693d['_activeMarkers']['includes'](_0x5c841c['markerName'])&&_0x3365c1['writer']['addClass']('ck-suggestion-marker--active',_0x20755d),_0x3365c1['writer']['insert'](_0x16292a,_0x20755d),_0x3365c1['mapper']['bindElementToMarker'](_0x20755d,_0x5c841c['markerName']);}};_0xbfac4f['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5910c6,_0x5cf5cd,_0x36e893)=>{_0x4709bf(_0x5910c6,_0x5cf5cd,_0x36e893,!0x1);},{'priority':'high'}),_0xbfac4f['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1189ae,_0x541d86,_0x3a8a5f)=>{_0x4709bf(_0x1189ae,_0x541d86,_0x3a8a5f,!0x1);},{'priority':'high'}),_0xbfac4f['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2570a0,_0x356edc,_0x16555c)=>{_0x4709bf(_0x2570a0,_0x356edc,_0x16555c,!0x0);},{'priority':'high'}),_0xbfac4f['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x5c9f9a,_0x3b26ad,_0x4c81b4)=>{_0x4709bf(_0x5c9f9a,_0x3b26ad,_0x4c81b4,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x20a8bb{['afterInit'](){const _0x4bb643=this['editor'];if(!_0x4bb643['plugins']['has']('MediaEmbedEditing'))return;const _0x277087=_0x4bb643['plugins']['get']('SuggestionsConversion');_0x4bb643['plugins']['has']('MediaEmbedResizeEditing')&&_0x277087['registerBlockAttribute']('resizedWidth'),_0x4bb643['plugins']['has']('MediaEmbedStyleEditing')&&_0x277087['registerBlockAttribute']('mediaStyle'),_0x4bb643['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x4b75de,{writer:_0x1781d6,options:_0x80f2a2})=>{if(_0x80f2a2['showSuggestionHighlights'])return _0x1781d6['createEmptyElement']('div');},'converterPriority':'high'}),_0x4bb643['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5f2a80,_0x48ece2,_0x1163c0)=>{_0x1163c0['options']['showSuggestionHighlights']&&_0x5f2a80['stop']();},{'priority':'high'});}}class SuggestionsConversionTable extends _0x20a8bb{['afterInit'](){const _0x49a619=this['editor'];if(!_0x49a619['plugins']['has']('Table'))return;_0x49a619['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4374e4,_0x1d1d53,_0x17f7dd)=>{((_0x166dd4,_0x22d7df,_0x140cbb)=>{if(!_0x140cbb['options']['showSuggestionHighlights'])return;const _0x4f5c2e=_0x22d7df['item'];if(!_0x4f5c2e||!_0x4f5c2e['is']('element','tableCell'))return;const _0x3171ae=_0x140cbb['mapper']['toViewElement'](_0x4f5c2e);if(_0x3171ae){const {id:_0xe40e8d,authorId:_0x4c4ab6}=O(_0x22d7df['markerName']);_0x3e53fa(_0x3171ae,_0x140cbb['writer'],(_0x5971ef,_0x238f37,_0xe50bfa)=>{_0xe50bfa['addClass'](_0x36efea(_0x238f37['classes']),_0x5971ef),_0xe50bfa['setAttribute']('data-suggestion',_0xe40e8d,_0x5971ef),_0xe50bfa['setAttribute']('data-author-id',_0x4c4ab6,_0x5971ef);});}})(0x0,_0x1d1d53,_0x17f7dd);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x20a8bb{['afterInit'](){const _0x37a883=this['editor'];_0x37a883['plugins']['has']('HorizontalLineEditing')&&_0x37a883['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x1e3416,{writer:_0x36dad7,options:_0x447726})=>{if(!_0x447726['showSuggestionHighlights'])return null;const _0x159bd6=_0x36dad7['createContainerElement']('div'),_0x2fb812=_0x36dad7['createEmptyElement']('hr');return _0x36dad7['addClass']('ck-horizontal-line',_0x159bd6),_0x36dad7['insert'](_0x36dad7['createPositionAt'](_0x159bd6,0x0),_0x2fb812),_0x159bd6;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x20a8bb{['afterInit'](){const {plugins:_0x2a836d,model:_0x3b8f33}=this['editor'];if(!_0x2a836d['has']('TableCellPropertiesEditing'))return;const _0x46161e=_0x2a836d['get']('SuggestionsConversion'),_0x497907=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x5675d8 of _0x497907)_0x46161e['registerBlockAttribute'](_0x5675d8);_0x3b8f33['schema']['checkAttribute']('tableCell','tableCellType')&&_0x46161e['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends _0x20a8bb{['afterInit'](){const _0x543b30=this['editor'];if(!_0x543b30['plugins']['has']('TableEditing')||!_0x543b30['config']['get']('table.enableFooters'))return;_0x543b30['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends _0x20a8bb{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionGeneralHtmlSupport,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableFooters,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x23150a=this['editor'],_0x16ae27=(_0x4da44b,_0x4c0240,_0x2b2aa3)=>{const {id:_0x47e365,authorId:_0x32835a,type:_0xc7258d,subType:_0x5e5256}=O(_0x4da44b['markerName']),_0x2fc003=['ck-suggestion-marker',this['_getClassName'](_0xc7258d,_0x5e5256)];let _0x1f96e0=0xbb8;return!_0x2b2aa3&&(this['_activeMarkers']['includes'](_0x4da44b['markerName'])&&(_0x2fc003['push']('ck-suggestion-marker--active'),_0x1f96e0=0xbc2)),('deletion'==_0xc7258d&&(_0x1f96e0+=0x5),{'classes':_0x2fc003,'attributes':{'data-suggestion':_0x47e365,'data-author-id':_0x32835a},'priority':_0x1f96e0});};_0x23150a['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x4b20ee,_0x3fb737)=>_0x16ae27(_0x4b20ee,0x0,!0x1)}),_0x23150a['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x47b683,_0x2336ba)=>_0x16ae27(_0x47b683,0x0,!0x0)}),_0x23150a['conversion']['for']('dataDowncast')['add'](_0x507b37=>{_0x507b37['on']('addMarker:suggestion',(_0x4acebb,_0x8c27af,_0x2dad58)=>{if(!_0x2dad58['options']['showSuggestionHighlights'])return;const _0x5cf231=_0x8c27af['item'];if(!_0x5cf231)return;const _0x8667f=_0x2dad58['mapper']['toViewElement'](_0x5cf231);_0x23150a['model']['schema']['isObject'](_0x5cf231)&&_0x8667f&&!_0x8667f['getCustomProperty']('widget')&&_0x8667f['is']('containerElement')&&_0xc1a14c(_0x8667f,_0x2dad58['writer']);},{'priority':'high'});});const _0x220b87=(_0x5e8f74,_0xed5d6,_0x39148f,_0xfc507,_0x33a169)=>{if(_0xfc507&&!_0x39148f['options']['showSuggestionHighlights'])return;if(!_0xed5d6['item'])return;const {id:_0x255f34,authorId:_0x1c9cce,subType:_0x3f256c}=O(_0xed5d6['markerName']);if(_0x33a169){const _0x8645c8=_0x3f256c['split']('|')[0x0];if(!this['isBlockAttribute'](_0x8645c8))return;}if(_0xed5d6['item']['is']('selection'))return void _0x39148f['consumable']['consume'](_0xed5d6['item'],_0x5e8f74['name']);const _0x26cdc7=_0x39148f['mapper']['toViewElement'](_0xed5d6['item']);if(_0xed5d6['item']['is']('element')&&_0x23150a['model']['schema']['isBlock'](_0xed5d6['item'])&&!_0x26cdc7['getCustomProperty']('addHighlight')){_0x39148f['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x26cdc7),_0x39148f['writer']['setAttribute']('data-suggestion',_0x255f34,_0x26cdc7),_0x39148f['writer']['setAttribute']('data-author-id',_0x1c9cce,_0x26cdc7),_0x39148f['mapper']['bindElementToMarker'](_0x26cdc7,_0xed5d6['markerName']),_0xfc507||(this['_activeMarkers']['includes'](_0xed5d6['markerName'])?_0x39148f['writer']['addClass']('ck-suggestion-marker--active',_0x26cdc7):_0x39148f['writer']['removeClass']('ck-suggestion-marker--active',_0x26cdc7));for(const _0x252b86 of _0x23150a['model']['createRangeIn'](_0xed5d6['item'])['getItems']())_0x39148f['consumable']['consume'](_0x252b86,_0x5e8f74['name']);_0x39148f['consumable']['consume'](_0xed5d6['item'],_0x5e8f74['name']);}},_0x4f50a8=(_0x474509,_0x1f26f6,_0x343d1d,_0x2bc1bf)=>{const _0x2f3c74=_0x343d1d['mapper']['markerNameToElements'](_0x1f26f6['markerName']);if(_0x2f3c74){if(_0x2bc1bf){const {subType:_0x43ec12}=O(_0x1f26f6['markerName']),_0x40848d=_0x43ec12['split']('|')[0x0];if(!this['isBlockAttribute'](_0x40848d))return;}for(const _0x5e3f12 of _0x2f3c74)_0x5e3f12['getCustomProperty']('addHighlight')||(_0x343d1d['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x5e3f12),_0x343d1d['writer']['removeAttribute']('data-suggestion',_0x5e3f12),_0x343d1d['writer']['removeAttribute']('data-author-id',_0x5e3f12),_0x343d1d['mapper']['unbindElementFromMarkerName'](_0x5e3f12,_0x1f26f6['markerName']));}};_0x23150a['conversion']['for']('editingDowncast')['add'](_0x2d9489=>{_0x2d9489['on']('addMarker:suggestion:formatBlock',(_0x3c20a1,_0x40206a,_0x4f3d1d)=>{_0x220b87(_0x3c20a1,_0x40206a,_0x4f3d1d,!0x1,!0x1);},{'priority':'high'});}),_0x23150a['conversion']['for']('editingDowncast')['add'](_0x277a6f=>{_0x277a6f['on']('addMarker:suggestion:attribute',(_0x226e11,_0x298ee5,_0x203c64)=>{_0x220b87(_0x226e11,_0x298ee5,_0x203c64,!0x1,!0x0);},{'priority':'high'});}),_0x23150a['conversion']['for']('editingDowncast')['add'](_0x4f5f9e=>{_0x4f5f9e['on']('removeMarker:suggestion:formatBlock',(_0x46e55b,_0x31ae97,_0x299533)=>{_0x4f50a8(0x0,_0x31ae97,_0x299533,!0x1);},{'priority':'high'});}),_0x23150a['conversion']['for']('editingDowncast')['add'](_0x5c6d05=>{_0x5c6d05['on']('removeMarker:suggestion:attribute',(_0x3145f2,_0x5bce4a,_0x5179e1)=>{_0x4f50a8(0x0,_0x5bce4a,_0x5179e1,!0x0);},{'priority':'high'});}),_0x23150a['conversion']['for']('dataDowncast')['add'](_0x4aa04c=>{_0x4aa04c['on']('addMarker:suggestion:formatBlock',(_0x1eb8ab,_0x563195,_0x8c1755)=>{_0x220b87(_0x1eb8ab,_0x563195,_0x8c1755,!0x0,!0x1);},{'priority':'highest'});}),_0x23150a['conversion']['for']('dataDowncast')['add'](_0x31433e=>{_0x31433e['on']('addMarker:suggestion:attribute',(_0x4aa144,_0x29e1fd,_0x2dbb63)=>{_0x220b87(_0x4aa144,_0x29e1fd,_0x2dbb63,!0x0,!0x0);},{'priority':'highest'});}),_0x23150a['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x1ce26a,_0x93f463)=>_0x93f463['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x1ce26a['substr'](0xb)}});const _0x360194=(_0x4d0415,_0x40c89b,_0xea05ce,_0x44eb47,_0x2058ca)=>{if(_0x44eb47&&!_0xea05ce['options']['showSuggestionHighlights'])return;if(!_0xea05ce['consumable']['test'](_0x40c89b['markerRange'],_0x4d0415['name']))return;const _0x197ac0=this['_activeMarkers'],_0x31f418=_0x40c89b['markerRange']['getWalker'](),_0x554d83=_0x40c89b['markerRange']['start'],_0x2fe720=_0x23150a['model']['schema'];let _0x1002f4=null,_0x3d63e4=null,_0x34b2a9=!0x1,_0x4df9eb=!0x1;for(const _0xebc985 of _0x31f418){const _0x4436f1=_0xebc985['item'];_0x34b2a9=_0x34b2a9||_0x2fe720['isContent'](_0x4436f1);const _0x1e9400=_0xea05ce['mapper']['toViewElement'](_0x4436f1);if(_0x1e9400&&_0x1e9400['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xebc985['type']&&(_0x2fe720['isBlock'](_0x4436f1)&&!_0x2fe720['isLimit'](_0x4436f1)&&(_0x4436f1['nextSibling']||_0x554d83['isAtEnd']?_0x1002f4&&_0x1002f4['parent']==_0x4436f1||(_0x1002f4=_0x4436f1,_0x2b348a(_0xebc985['previousPosition']),_0x4df9eb=!0x0):_0x3d63e4=_0x3d63e4||_0xebc985['previousPosition']));}function _0x2b348a(_0x3e5b03){const {id:_0x4d95fa,authorId:_0x3e74ac}=O(_0x40c89b['markerName']),_0x3a9ffd=_0xea05ce['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2058ca,'data-suggestion':_0x4d95fa,'data-author-id':_0x3e74ac}),_0x156c5f=_0xea05ce['mapper']['toViewPosition'](_0x3e5b03);!_0x44eb47&&_0x197ac0['includes'](_0x40c89b['markerName'])&&_0xea05ce['writer']['addClass']('ck-suggestion-marker--active',_0x3a9ffd),_0xea05ce['writer']['insert'](_0x156c5f,_0x3a9ffd),_0xea05ce['mapper']['bindElementToMarker'](_0x3a9ffd,_0x40c89b['markerName']);}_0x34b2a9||_0x4df9eb||!_0x3d63e4||_0x2b348a(_0x3d63e4);};_0x23150a['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x44993c,_0x2b225e,_0x19bf7e)=>{_0x360194(_0x44993c,_0x2b225e,_0x19bf7e,!0x1,'merge');},{'priority':'high'}),_0x23150a['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x14b5cf,_0x2a6c06,_0x227664)=>{_0x360194(_0x14b5cf,_0x2a6c06,_0x227664,!0x0,'merge');},{'priority':'high'}),_0x23150a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x29f430,_0xd2c069,_0x24a4a9)=>{_0x360194(_0x29f430,_0xd2c069,_0x24a4a9,!0x1,'split');},{'priority':'high'}),_0x23150a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x544108,_0x1586c2,_0x545231)=>{_0x360194(_0x544108,_0x1586c2,_0x545231,!0x0,'split');},{'priority':'high'}),_0x23150a['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x42e404,_0x8cfd84,_0x102bc0)=>{((_0x5989ef,_0x4f0cec,_0x4d0134)=>{const _0x200a90=_0x4d0134['mapper']['markerNameToElements'](_0x4f0cec['markerName']);if(_0x200a90){for(const _0x4c7fb2 of _0x200a90)(_0x4c7fb2['hasClass']('ck-suggestion-marker-split')||_0x4c7fb2['hasClass']('ck-suggestion-marker-merge'))&&(_0x4d0134['mapper']['unbindElementFromMarkerName'](_0x4c7fb2,_0x4f0cec['markerName']),_0x4d0134['writer']['remove'](_0x4c7fb2));}})(0x0,_0x8cfd84,_0x102bc0);},{'priority':'high'});const _0xa78195=(_0x2f813c,_0x6806ac,_0xf92c1f,_0x732760)=>{if(_0x732760&&!_0xf92c1f['options']['showSuggestionHighlights'])return;const _0xb09917=_0x6806ac['markerRange']['start'],_0x2e906f=_0x6806ac['markerRange']['end'],_0xf3f842=_0x23150a['model']['schema'];if(!_0xb09917['isTouching'](_0x2e906f)||!_0xb09917['nodeAfter'])return;const _0x5e4c19=_0xb09917['nodeAfter'];if(_0xf3f842['isBlock'](_0x5e4c19)&&!_0xf3f842['isLimit'](_0x5e4c19)&&_0xf3f842['checkChild'](_0x5e4c19,'$text')){if(!_0xf92c1f['consumable']['consume'](_0x6806ac['markerRange'],_0x2f813c['name']))return;const {id:_0x4006d1,authorId:_0x4fa9f1}=O(_0x6806ac['markerName']),_0xf6ea31=_0xf92c1f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x4006d1,'data-author-id':_0x4fa9f1}),_0x111928=_0xf92c1f['mapper']['toViewPosition'](_0x2e906f);!_0x732760&&this['_activeMarkers']['includes'](_0x6806ac['markerName'])&&_0xf92c1f['writer']['addClass']('ck-suggestion-marker--active',_0xf6ea31),_0xf92c1f['writer']['insert'](_0x111928,_0xf6ea31),_0xf92c1f['mapper']['bindElementToMarker'](_0xf6ea31,_0x6806ac['markerName']);}};_0x23150a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1ad410,_0x1790be,_0x2f07d4)=>{_0xa78195(_0x1ad410,_0x1790be,_0x2f07d4,!0x1);},{'priority':'high'}),_0x23150a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2855c7,_0x21b8eb,_0x21df9e)=>{_0xa78195(_0x2855c7,_0x21b8eb,_0x21df9e,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x3ade16,_0x42ada8,_0x4540fa)=>{this['_activeMarkers']=_0x4540fa['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x409682){this['_blockAttributeKeys']['add'](_0x409682);}['registerInlineAttribute'](_0x3a90f4){this['_inlineAttributeKeys']['add'](_0x3a90f4);}['isBlockAttribute'](_0x52b321){return this['_blockAttributeKeys']['has'](_0x52b321);}['isInlineAttribute'](_0x243052){return this['_inlineAttributeKeys']['has'](_0x243052);}['isRegisteredAttribute'](_0x14bbda){return this['isInlineAttribute'](_0x14bbda)||this['isBlockAttribute'](_0x14bbda);}['_getClassName'](_0x4b4b18,_0x1e3f6d){if('attribute'!=_0x4b4b18)return'ck-suggestion-marker-'+_0x4b4b18;const _0xef6fbb=_0x1e3f6d['split']('|')[0x0];return this['isBlockAttribute'](_0xef6fbb)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function z(_0xa09b46={},_0x1a00f8){if(void 0x0!==_0xa09b46['dateTimeFormat']&&'function'!=typeof _0xa09b46['dateTimeFormat'])throw new _0x47642c('invalid-date-time-format');return _0x1b59d3=>{const _0x19184e='string'==typeof _0x1b59d3?_0x4a0022['fromISO'](_0x1b59d3):_0x4a0022['fromJSDate'](_0x1b59d3),_0x28e477=_0x4a0022['now'](),_0x1fa7de=Math['floor'](_0x28e477['diff'](_0x19184e,'days')['days']);return _0xa09b46['dateTimeFormat']?_0xa09b46['dateTimeFormat'](_0x19184e['toJSDate'](),_0x1a00f8&&_0x1a00f8['t']?_0x1a00f8['t']:void 0x0):0x0===_0x1fa7de?_0x1a00f8?B(_0x1a00f8,'Today')+'\x20'+_0x19184e['toFormat']('hh:mma'):_0x19184e['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x1fa7de?_0x1a00f8?B(_0x1a00f8,'Yesterday')+'\x20'+_0x19184e['toFormat']('hh:mma'):_0x19184e['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x1fa7de<0x7?_0x1a00f8?B(_0x1a00f8,'Last')+'\x20'+B(_0x1a00f8,_0x19184e['toFormat']('EEEE'))+'\x20'+_0x19184e['toFormat']('hh:mma'):_0x19184e['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x19184e['toFormat']('LL-dd-yyyy\x20hh:mma');};}function R(_0x26fc71,_0x2b8d81){const _0x5e9271=_0x26fc71['mapper']['markerNameToElements'](_0x2b8d81['name']);if(!_0x5e9271)return null;const _0x2b5345=_0x146d81(_0x5e9271['values']());return _0x26fc71['view']['domConverter']['mapViewToDom'](_0x2b5345)||null;}function W(_0xedce13,_0xb5b842){if(0x0===_0xb5b842['length'])return null;const _0x14ad43=[],_0x356630=_0xedce13['view']['domConverter'];for(const _0x24ab2a of _0xb5b842){const _0x1ff3bc=_0xedce13['mapper']['markerNameToElements'](_0x24ab2a['name']);if(!_0x1ff3bc)continue;const _0xd6038=Array['from'](_0x1ff3bc)['map'](_0x9cd6ee=>_0x356630['mapViewToDom'](_0x9cd6ee))['filter'](_0x242198=>!!_0x242198);_0x14ad43['push'](..._0xd6038);}if(0x0===_0x14ad43['length'])return null;const _0x4e3e5e=[];for(const _0x51d270 of _0x14ad43){const _0x217fbf=_0x51d270['getClientRects']()['item'](0x0);_0x217fbf&&_0x4e3e5e['push']({'x':_0x217fbf['x'],'y':_0x217fbf['y'],'domElement':_0x51d270});}return 0x0===_0x4e3e5e['length']?null:(_0x4e3e5e['sort']((_0x45b75f,_0x485efc)=>_0x45b75f['y']-_0x485efc['y']||_0x45b75f['x']-_0x485efc['x']),_0x4e3e5e['map'](_0x4ade68=>_0x4ade68['domElement']));}function j(_0x5c4134,{limit:_0x2d8d69,suffix:_0x35f743='...'}){const _0x54c332=[];let _0x175c93=0x0;const _0x1d8513=_0x5c4134['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x59bfb3=0x0;_0x59bfb3<_0x1d8513['length'];_0x59bfb3++){let _0x2e2557=_0x1d8513[_0x59bfb3];const _0x4a9e08=Y(_0x2e2557);if(_0x2e2557['startsWith']('<')){if(_0x175c93>=_0x2d8d69){const _0x295989=_0x2e2557['match'](/[a-zA-Z]+/);if(!_0x295989){_0x1d8513[_0x59bfb3]='';continue;}const _0x16fb1a=_0x295989[0x0];_0x2e2557['startsWith']('</')?(_0x54c332['length']&&(_0x2e2557=''),_0x54c332['pop']()):(_0x54c332['push'](_0x16fb1a),_0x2e2557='');}}else{if(_0x175c93>=_0x2d8d69)_0x2e2557='';else{if(_0x175c93+_0x4a9e08['length']>=_0x2d8d69){let _0x49926b=_0x2d8d69-_0x175c93;if('\x20'===_0x4a9e08[_0x49926b-0x1])_0x49926b--;else{const _0x11d2c2=_0x4a9e08['slice'](_0x49926b)['indexOf']('\x20');-0x1!==_0x11d2c2?_0x49926b+=_0x11d2c2:_0x49926b=_0x2e2557['length'];}_0x2e2557=_0x4a9e08['slice'](0x0,_0x49926b)['join']('')+_0x35f743,_0x175c93=_0x2d8d69;}else _0x175c93+=_0x4a9e08['length'];}}_0x1d8513[_0x59bfb3]=_0x2e2557;}return _0x1d8513['join']('\x0a')['replace'](/\n/g,'');}function Y(_0x409e03){const _0x135159=[];for(let _0x271f11=0x0;_0x271f11<_0x409e03['length'];_0x271f11++){const _0x117962=_0x409e03['substring'](_0x271f11)['match'](/^&[a-z0-9#]+;/);if(_0x117962){const _0x561f6b=_0x117962[0x0];_0x135159['push'](_0x561f6b),_0x271f11+=_0x561f6b['length']-0x1;}else _0x135159['push'](_0x409e03[_0x271f11]);}return _0x135159;}class ConfirmView extends _0x5734d1{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x46df32){super(_0x46df32);const _0x54e545=this['bindTemplate'];this['set']('message',B(_0x46df32,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x46df32,B(_0x46df32,'Yes'),_0x1dcf90,'submit'),this['cancelView']=this['_createButtonView'](_0x46df32,B(_0x46df32,'No'),_0x19dec8,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x3543f6(),this['keystrokes']=new _0x1c009f(),this['focusCycler']=new _0xe9d287({'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':_0x54e545['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'](_0x227b89,_0x573c53,_0x3a5111,_0xb666df){const _0x3a6d36=new _0x23c71c(_0x227b89);return _0x3a6d36['label']=_0x573c53,_0x3a6d36['icon']=_0x3a5111,_0x3a6d36['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0xb666df}}),_0x3a6d36['on']('execute',()=>this['fire'](_0xb666df)),_0x3a6d36;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0xbec3f8=>{this['keystrokes']['listenTo'](_0xbec3f8['element']),this['focusTracker']['add'](_0xbec3f8['element']);}),this['keystrokes']['set']('esc',(_0x3b767b,_0x5178a7)=>{this['fire']('cancel'),_0x5178a7();});}}function G(_0x2f5e80){return class _0x24f79c extends _0x2f5e80{['showConfirm'](_0x28c205,_0x152f44){return this['confirmView']=new ConfirmView(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x28c205,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x152f44['appendChild'](this['confirmView']['element']),_0x152f44['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x1f6d76,_0x593283,_0x4beb0e)=>{_0x4beb0e||_0x152f44['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x25219e=>this['confirmView']['on']('submit',_0x25219e));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function J(_0x1d411c){let _0x1b451c=0x0,_0x44a178=0x0;for(const _0x14f62b of q(_0x1d411c))_0x1b451c=(_0x1b451c<<0x5)-_0x1b451c+_0x14f62b,_0x1b451c&=_0x1b451c,[_0x1b451c,_0x44a178]=[_0x44a178,_0x1b451c];return X(_0x1b451c)+X(_0x44a178);}function*K(_0x2ef268){null==_0x2ef268||null==_0x2ef268?yield 0x12b9b0a1:0x0===_0x2ef268||!0x1===_0x2ef268?yield 0x0:0x1===_0x2ef268||0x1==_0x2ef268?yield 0x1:Array['isArray'](_0x2ef268)?yield*function*(_0x48d35d){for(const _0x339da6 of _0x48d35d)yield*K(_0x339da6);}(_0x2ef268):'object'==typeof _0x2ef268?yield*q(_0x2ef268):'string'==typeof _0x2ef268?yield*Z(_0x2ef268):'number'==typeof _0x2ef268&&(yield _0x2ef268);}function*q(_0x2427be){if(yield Q('{'),_0x2427be){const _0x14f568=Object['keys'](_0x2427be)['sort']();for(const _0x19a1e2 of _0x14f568){yield*Z(_0x19a1e2),yield Q(':');const _0x52d9e5=_0x2427be[_0x19a1e2];yield*K(_0x52d9e5);}}yield Q('}');}function*Z(_0x43cbd5){yield Q('\x22');for(const _0x30fc54 of _0x43cbd5)yield Q(_0x30fc54);yield Q('\x22');}function Q(_0x1df3aa){return _0x1df3aa['charCodeAt'](0x0);}function X(_0x2d66d6){return(_0x2d66d6*=Math['sign'](_0x2d66d6))['toString'](0x24);}const tt=['root','roots','initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function st(_0x5ea923,_0x2f24f3,_0x547d23,_0x3d8485=[]){const _0x3f0bb4='string'==typeof _0x5ea923?_0x547d23['get'](_0x5ea923)['constructor']:_0x5ea923['prototype']['constructor'];if(_0x2f24f3['has'](_0x3f0bb4))return _0x2f24f3['get'](_0x3f0bb4);_0x2f24f3['set'](_0x3f0bb4,!0x0);const _0x323e35=[...et,..._0x3d8485]['map'](_0x26ea15=>{if(_0x547d23['has'](_0x26ea15))return _0x547d23['get'](_0x26ea15)['constructor'];})['filter'](_0x2b7eea=>_0x2b7eea);if(_0x3f0bb4&&_0x323e35['includes'](_0x3f0bb4))return _0x2f24f3['set'](_0x3f0bb4,!0x1),!0x1;if(!_0x3f0bb4['requires'])return _0x2f24f3['set'](_0x3f0bb4,!0x0),!0x0;const _0xf97940=_0x3f0bb4['requires']['every'](_0x4c69f1=>st(_0x4c69f1,_0x2f24f3,_0x547d23,_0x3d8485));return _0x2f24f3['set'](_0x3f0bb4,_0xf97940),_0xf97940;}function it(_0x2a7c6e,_0x389a57){const _0x521677={};for(const _0x521bb6 of _0x2a7c6e['config']['names']())tt['includes'](_0x521bb6)||(_0x521677[_0x521bb6]=_0x2a7c6e['config']['get'](_0x521bb6));const _0x17b412=_0x521677['plugins']||[],_0x419e10=_0x2a7c6e['constructor']['builtinPlugins']||[],_0x1692f6=_0x17b412['length']?_0x17b412:_0x419e10,_0x2cc198=_0x521677['extraPlugins']||[];delete _0x521677['extraPlugins'];const _0x566c0e=_0x521677['removePlugins']||[];delete _0x521677['removePlugins'];const _0x9d6b77=_0x2a7c6e['_context']['config']['get']('plugins')||[],_0x39a223=_0x1692f6['concat'](_0x2cc198)['concat'](_0x9d6b77)['map'](_0x3f37f8=>'string'==typeof _0x3f37f8?_0x419e10['find'](_0x1ab566=>_0x1ab566['pluginName']==_0x3f37f8):_0x3f37f8)['filter'](_0x375679=>!_0x566c0e['includes'](_0x375679)&&!_0x566c0e['includes'](_0x375679['pluginName'])),_0x4cac6f=Array['from'](new Set(_0x39a223)),_0x5656fb=new Map();return _0x521677['plugins']=_0x4cac6f['filter'](_0x3fb096=>st(_0x3fb096,_0x5656fb,_0x2a7c6e['plugins'],_0x389a57)),_0x521677;}function nt(_0x513581,_0x5d82a7){const _0x2bd572=[];_0x513581['document']['selection']['on']('change:range',()=>{const _0x4d2c6e=function(_0x40dfe0,_0x1c3e2d){const _0xec5485=[];for(const _0x262ca2 of _0x40dfe0['markers']){const _0x125aae=_0x262ca2['getRange']();(_0x125aae['containsPosition'](_0x1c3e2d)||_0x125aae['start']['isEqual'](_0x1c3e2d)||_0x125aae['end']['isEqual'](_0x1c3e2d))&&_0xec5485['push'](_0x262ca2);}return _0xec5485;}(_0x513581,_0x513581['document']['selection']['focus']),_0x32bdd1=[],_0x23f21d=[],_0x2281d7=[];for(const _0x3d313c of _0x2bd572)_0x4d2c6e['includes'](_0x3d313c)||_0x32bdd1['push'](_0x3d313c);for(const _0x14905a of _0x4d2c6e)_0x2bd572['includes'](_0x14905a)||_0x23f21d['push'](_0x14905a),_0x2281d7['push'](_0x14905a);(_0x32bdd1['length']||_0x23f21d['length'])&&_0x5d82a7({'left':_0x32bdd1,'entered':_0x23f21d}),_0x2bd572['length']=0x0,_0x2bd572['push'](..._0x2281d7);});}const ot='Ctrl+Shift+E';function rt(_0x587909,_0x42ac28){const _0x2b1763=_0x587909['element'];_0x587909['keystrokes']['listenTo'](_0x2b1763);for(const _0x43a722 of _0x42ac28)at(_0x587909,_0x43a722);_0x42ac28['on']('change',(_0x37034b,_0x414853)=>{for(const _0x53faa7 of _0x414853['removed'])ct(_0x587909,_0x53faa7);for(const _0x2b5079 of Array['from'](_0x414853['added'])['reverse']())at(_0x587909,_0x2b5079);}),_0x587909['keystrokes']['set']('enter',(_0x444627,_0x73305e)=>{_0x2b1763===_0x444627['target']&&(_0x587909['focusCycler']['focusFirst'](),_0x73305e());},{'filter':_0x468e44=>_0x468e44['target']===_0x2b1763}),_0x587909['keystrokes']['set']('esc',(_0x3dff21,_0x236322)=>{_0x2b1763!==_0x3dff21['target']?_0x587909['focus']():_0x587909['fire']('escape'),_0x236322();}),_0x587909['keystrokes']['set']('arrowdown',(_0x254553,_0x54c7ad)=>{_0x2b1763===_0x254553['target']&&(_0x587909['fire']('arrowdown'),_0x54c7ad());}),_0x587909['keystrokes']['set']('arrowup',(_0x1167e2,_0xe2a16f)=>{_0x2b1763===_0x1167e2['target']&&(_0x587909['fire']('arrowup'),_0xe2a16f());});}function at(_0x1bcd4f,_0x5a152c){_0x5a152c['isRendered']&&(_0x1bcd4f['focusTracker']['add'](_0x5a152c['element']),_0x1bcd4f['keystrokes']['listenTo'](_0x5a152c['element']),_0x1ef29b(_0x5a152c)&&function(_0x132624,_0x188baf){const _0x2df401=_0x132624['actions'],_0x41a441=_0x188baf['actions'];for(const _0x59d86a of Object['keys'](_0x2df401))if(_0x59d86a in _0x41a441&&_0x2df401[_0x59d86a]!==_0x41a441[_0x59d86a])return!0x1;return!0x0;}(_0x1bcd4f['focusCycler'],_0x5a152c['focusCycler'])&&_0x1bcd4f['focusCycler']['chain'](_0x5a152c['focusCycler']));}function ct(_0x8b9160,_0x5be661){_0x8b9160['focusTracker']['remove'](_0x5be661['element']),_0x8b9160['keystrokes']['stopListening'](_0x5be661['element']),_0x1ef29b(_0x5be661)&&_0x8b9160['focusCycler']['unchain'](_0x5be661['focusCycler']);}const lt='$elementId',ut='data-id';class DocumentCompare extends _0x2e4bce{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x2b853a?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x23ecc8,_0x4b0906)=>{_0x4b0906['on']('ready',()=>{this['_integrateEditor'](_0x4b0906);});});}get['editor'](){if(this['context']instanceof _0x2b853a)return this['context'];{const _0x2f40ba=this['context']['editors']['first'];if(!_0x2f40ba)throw new _0x47642c('documentcompare-no-editor',this);return _0x2f40ba;}}['getDiff'](_0x239e79,_0x3ea320,_0x27e964={'anchor':'main','markDeletions':!0x1}){const _0x5e5bef=_0x27e964['targetEditor']||this['editor'];let _0x4109ba,_0x1f1de0;if('string'==typeof _0x27e964['anchor']){const _0x1287c7=_0x5e5bef['model']['document']['getRoot'](_0x27e964['anchor']);if(!_0x1287c7)throw new _0x47642c('documentcompare-compare-no-root',this,{'anchor':_0x27e964['anchor']});_0x4109ba=_0x1287c7,_0x1f1de0=_0x5e5bef['model']['createPositionAt'](_0x1287c7,0x0);}else _0x4109ba=_0x27e964['anchor']['clone'](),_0x1f1de0=_0x27e964['anchor']['clone']();const _0x5220e6=_0x5e5bef['data']['parse'](_0x239e79,_0x4109ba),_0x5608cf=_0x5e5bef['data']['parse'](_0x3ea320,_0x4109ba);return new DocumentDiff({'editor':_0x5e5bef,'before':_0x5220e6,'after':_0x5608cf,'options':{'anchor':_0x1f1de0,'markDeletions':_0x27e964['markDeletions']}});}['isMarkedRemoveOperation'](_0x3099bd){return'marker'==_0x3099bd['type']&&_0x3099bd['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x3dfd46){_0x3dfd46['conversion']['for']('upcast')['add'](_0x49b8d7=>{_0x49b8d7['on']('element',(_0x5abef1,_0x20243,_0x5b7962)=>{if(_0x20243['modelRange']&&_0x5b7962['consumable']['consume'](_0x20243['viewItem'],{'attributes':'data-id'}))for(const _0x431e68 of _0x20243['modelRange']['getItems']({'shallow':!0x0})){if(_0x431e68['is']('$textProxy'))continue;const _0x2dff29=_0x20243['viewItem']['getAttribute'](ut);_0x2dff29&&_0x5b7962['writer']['setAttribute'](lt,_0x2dff29,_0x431e68);}},{'priority':'low'});}),_0x3dfd46['model']['schema']['addAttributeCheck'](()=>!0x0,lt);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x28e584,before:_0x222ad7,after:_0x54405f,options:_0x2b5107}){this['_editor']=_0x28e584,this['_markDeletions']=!!_0x2b5107['markDeletions'],this['_anchor']=_0x2b5107['anchor'];const _0x344ffa=this['_tokenizeModel'](_0x222ad7),_0x2b72c9=this['_tokenizeModel'](_0x54405f);this['_diffItems']=this['_diffModelTokens'](_0x344ffa,_0x2b72c9),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x222ad7['markers'],_0x54405f['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x312a6d=this['_editor']['model']['document'],_0x58ae78=[];let _0xb171ec=_0x312a6d['version'];for(const _0x2a4ecf of this['_operationsData'])switch(_0x2a4ecf['type']){case'attribute':{const _0x416902=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['path']),_0xadfecc=_0x416902['getShiftedBy'](_0x2a4ecf['howMany']),_0x2c228e=new _0x89429c(_0x416902,_0xadfecc),_0x423911=JSON['parse'](_0x2a4ecf['oldValue']),_0x437ea0=JSON['parse'](_0x2a4ecf['newValue']);_0x58ae78['push'](new _0x212522(_0x2c228e,_0x2a4ecf['key'],_0x423911,_0x437ea0,_0xb171ec++));break;}case'insert':{const _0x5e31fe=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['path']),_0x5e6d0b=this['_makeModelFromTokens'](_0x2a4ecf['tokens']);_0x58ae78['push'](new _0x3c8742(_0x5e31fe,_0x5e6d0b,_0xb171ec++));break;}case'remove':{const _0x31d122=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['path']),_0xa16867=new _0xe5f221(_0x312a6d['graveyard'],[0x0]);_0x58ae78['push'](new _0x2f2a34(_0x31d122,_0x2a4ecf['howMany'],_0xa16867,_0xb171ec++));break;}case'rename':{const _0x4ba0c4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['path']);_0x58ae78['push'](new _0x26d972(_0x4ba0c4,_0x2a4ecf['oldName'],_0x2a4ecf['newName'],_0xb171ec++));break;}case'split':{const _0x4148f7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['path']),_0x4b0721=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['path']['slice'](0x0,-0x1));_0x4b0721['offset']++,_0x58ae78['push'](new _0x18620c(_0x4148f7,Number['NEGATIVE_INFINITY'],_0x4b0721,null,_0xb171ec++));break;}case'merge':{const _0x361e2e=_0x2a4ecf['path']['slice'](),_0x94cc71=_0x361e2e['slice'](0x0,-0x1);_0x94cc71[_0x94cc71['length']-0x1]++,_0x94cc71['push'](0x0);const _0x4150d4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x94cc71),_0x416de0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x361e2e),_0x22c1a8=new _0xe5f221(_0x312a6d['graveyard'],[0x0]);_0x58ae78['push'](new _0x5d611c(_0x4150d4,Number['NEGATIVE_INFINITY'],_0x416de0,_0x22c1a8,_0xb171ec++));break;}case'marker':case'markedRemove':{let _0x138532=null;if(_0x2a4ecf['range']){const _0x224446=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['range']['start']),_0x146cd8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['range']['end']);_0x138532=new _0x89429c(_0x224446,_0x146cd8);}const _0x5643d3='marker'==_0x2a4ecf['type']?_0x2a4ecf['name']:'$markedRemove:'+_0x41bf63();_0x58ae78['push'](new _0x5f5473(_0x5643d3,null,_0x138532,_0x312a6d['model']['markers'],!0x0,_0xb171ec++));break;}case'unwrap':{const _0x193b26=_0x2a4ecf['path']['slice']();_0x193b26['push'](0x0);const _0xa47e23=_0x2a4ecf['path']['slice'](),_0x2fe946=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x193b26),_0x481e76=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xa47e23),_0x32eec2=new _0xe5f221(_0x312a6d['graveyard'],[0x0]);_0x58ae78['push'](new _0x2f2a34(_0x2fe946,_0x2a4ecf['howMany'],_0x481e76,_0xb171ec++)),_0x58ae78['push'](new _0x2f2a34(_0x481e76['getShiftedBy'](_0x2a4ecf['howMany']),0x1,_0x32eec2,_0xb171ec++));break;}case'wrap':{const _0x3dd390=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['range']['start']),_0x1158f5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['range']['end']),_0x137ee0=_0x2a4ecf['token']['element']['_clone'](!0x1);_0x137ee0['_removeAttribute'](lt);const _0x1d7dac=_0x2a4ecf['range']['end']['slice']();_0x1d7dac['push'](0x0);const _0x1669ec=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1d7dac);_0x58ae78['push'](new _0x3c8742(_0x1158f5,_0x137ee0,_0xb171ec++)),_0x58ae78['push'](new _0x2f2a34(_0x3dd390,_0x1158f5['offset']-_0x3dd390['offset'],_0x1669ec,_0xb171ec++));break;}}return _0x58ae78;}['_tokenizeModel'](_0x4cba07){const _0x59cb52=[],_0x3c4262=_0x89429c['_createIn'](_0x4cba07),_0x6362cf=new _0x5c5e82({'boundaries':_0x3c4262});let _0x59011b='',_0x442171=null;const _0x54bc05=[''],_0x2c223f=new Map();for(const _0x2c21cc of _0x6362cf)if('elementStart'==_0x2c21cc['type']||'elementEnd'==_0x2c21cc['type']){let _0x21e4d7=_0x54bc05[0x0];''!==_0x59011b&&(_0x59cb52['push'](...this['_makeTokensFromTextByWords'](_0x59011b,_0x442171,_0x21e4d7)),_0x59011b='');const _0x3f69a9=_0x2c21cc['item'];let _0x3c7d7a;_0x3f69a9['getAttribute'](lt)?_0x3c7d7a=_0x3f69a9['getAttribute'](lt):'elementStart'==_0x2c21cc['type']?(_0x3c7d7a=dt(_0x3f69a9),_0x2c223f['set'](_0x3f69a9,_0x3c7d7a)):_0x3c7d7a=_0x2c223f['get'](_0x3f69a9);const _0x2e6e17=this['_getElementCategory'](_0x3f69a9);'solid'==_0x2e6e17&&('elementStart'==_0x2c21cc['type']?(_0x21e4d7=_0x3c7d7a,_0x54bc05['unshift'](_0x21e4d7)):_0x54bc05['shift']());const _0x13b955={'type':'element','element':_0x3f69a9,'elementId':_0x3c7d7a,'category':_0x2e6e17,'isStart':'elementStart'==_0x2c21cc['type'],'limitId':_0x21e4d7};_0x59cb52['push'](_0x13b955);}else''==_0x59011b&&(_0x442171=_0x2c21cc['previousPosition']['clone']()),_0x59011b+=_0x2c21cc['item']['data'];return''!==_0x59011b&&_0x59cb52['push'](...this['_makeTokensFromTextByWords'](_0x59011b,_0x442171,_0x54bc05[0x0])),_0x59cb52;}['_makeTokensFromTextByWords'](_0x3dc28d,_0x1ee696,_0x50fc5f){const _0x57988e=_0x3dc28d['matchAll'](/(\s)/g),_0x1aa18f=Array['from'](_0x57988e)['map'](_0x56cab3=>_0x56cab3['index']);_0x1aa18f['push'](_0x3dc28d['length']),0x0==_0x1aa18f[0x0]&&_0x1aa18f['shift']();const _0x5757b4=[],_0x27f6d6=_0x1ee696['parent'];let _0x3c6a74=0x0,_0x1a857f=_0x1ee696['offset'];for(let _0x241c43=0x0;_0x241c43<_0x1aa18f['length'];_0x241c43++)_0x5757b4['push']({'type':'text','data':_0x3dc28d['slice'](_0x3c6a74,_0x1aa18f[_0x241c43]),'parent':_0x27f6d6,'offset':_0x1a857f,'limitId':_0x50fc5f}),_0x3c6a74=_0x1aa18f[_0x241c43],_0x1a857f=_0x1ee696['offset']+_0x1aa18f[_0x241c43];return _0x5757b4;}['_getElementCategory'](_0x3bfb3e){const _0x282e92=this['_editor']['model']['schema'];return _0x282e92['isLimit'](_0x3bfb3e)||_0x282e92['isContent'](_0x3bfb3e)||_0x282e92['isInline'](_0x3bfb3e)?'solid':_0x282e92['isBlock'](_0x3bfb3e)?'block':function(_0x2a4407,_0x48e2ac){const _0x3fcfae=_0x2a4407['parent'];if(!_0x3fcfae||_0x3fcfae['is']('documentFragment'))return!0x1;if(_0x48e2ac['checkChild'](_0x3fcfae,'$text'))return!0x1;for(const _0xcc101a of _0x2a4407['getChildren']())if(_0xcc101a['is']('$text'))return!0x0;return!0x1;}(_0x3bfb3e,_0x282e92)?'solid':'container';}['_diffModelTokens'](_0x34728e,_0x3d50a0){const _0x1366f8=_0x4b122f(_0x34728e,_0x3d50a0,{'comparator':ht});this['_handleUnclosedBlockOpeningTags'](_0x1366f8);const _0x271358=_0x1366f8['flatMap'](_0x537075=>{const _0x297185=_0x537075['added']?'added':_0x537075['removed']?'removed':'unchanged';return _0x537075['value']['map'](_0xe72f17=>({'token':_0xe72f17,'change':_0x297185}));});let _0x4b2a1f=0x0;for(const _0x4ea573 of _0x271358)'added'!=_0x4ea573['change']&&('unchanged'==_0x4ea573['change']&&(_0x4ea573['before']=_0x34728e[_0x4b2a1f]),_0x4b2a1f++);return _0x271358;}['_handleUnclosedBlockOpeningTags'](_0x1b0bc7){for(let _0x1e9f3d=0x0;_0x1e9f3d<_0x1b0bc7['length']-0x1;_0x1e9f3d++)if(_0x1b0bc7[_0x1e9f3d]['removed']&&_0x1b0bc7[_0x1e9f3d+0x1]['added']){const _0x18d8e2=this['_findUnclosedBlockOpeningToken'](_0x1b0bc7[_0x1e9f3d]['value']);if(null!==_0x18d8e2){const _0xa9bdb3=this['_findUnclosedBlockOpeningToken'](_0x1b0bc7[_0x1e9f3d+0x1]['value']),_0x2ee98d=_0x1b0bc7[_0x1e9f3d]['value']['splice'](_0x18d8e2),_0x311970=_0x1b0bc7[_0x1e9f3d+0x1]['value']['splice'](_0xa9bdb3),_0xb6aadf=[_0x311970['shift']()];_0x2ee98d['shift']();const _0x4a3f9b={'value':_0x2ee98d,'removed':!0x0},_0x128695={'value':_0x311970,'added':!0x0},_0x5a819c={'value':_0xb6aadf};_0x1b0bc7['splice'](_0x1e9f3d+0x2,0x0,_0x5a819c,_0x4a3f9b,_0x128695);}}}['_findUnclosedBlockOpeningToken'](_0x2882c4){let _0x59c846=0x0,_0xe5b297=-0x1;for(let _0xd63278=0x0;_0xd63278<_0x2882c4['length'];_0xd63278++){const _0x52c70e=_0x2882c4[_0xd63278];'element'==_0x52c70e['type']&&'block'==_0x52c70e['category']&&(_0x59c846+=_0x52c70e['isStart']?0x1:-0x1,_0x52c70e['isStart']&&(_0xe5b297=_0xd63278));}return 0x0===_0x59c846?null:_0xe5b297;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x164b20=0x0;_0x164b20<this['_diffItems']['length'];_0x164b20++){const _0x39ab38=this['_diffItems'][_0x164b20]['change'],_0x4bba27=[];_0x4bba27['push'](this['_diffItems'][_0x164b20]);let _0x3b9d65=_0x164b20+0x1;for(;this['_diffItems'][_0x3b9d65]&&this['_diffItems'][_0x3b9d65]['change']==_0x39ab38;)_0x4bba27['push'](this['_diffItems'][_0x3b9d65]),_0x3b9d65++,_0x164b20++;const _0x5cbb7a=_0x4bba27['map'](_0x57e527=>_0x57e527['token']);if('unchanged'==_0x39ab38)_0x4bba27['map'](_0x7e03a1=>_0x7e03a1['before'])['forEach'](_0x27114f=>this['_traverseOverItem'](_0x27114f));else{if('removed'==_0x39ab38){if(this['_markDeletions']){const _0x34218c=this['_path']['slice']();_0x5cbb7a['forEach'](_0x41bc7c=>this['_traverseOverItem'](_0x41bc7c));const _0x473811=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x34218c,'end':_0x473811}});}else this['_handleChanged'](_0x5cbb7a,!0x0,this['_path']['slice']());}else{const _0x51af59=_0x5cbb7a['filter'](_0xd9ed0b=>'element'!=_0xd9ed0b['type']||'container'!=_0xd9ed0b['category']);this['_handleChanged'](_0x51af59,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x13c749=0x0;_0x13c749<this['_diffItems']['length'];_0x13c749++){const _0x4131b1=this['_diffItems'][_0x13c749]['change'],_0x403e99=[];_0x403e99['push'](this['_diffItems'][_0x13c749]);let _0x415aed=_0x13c749+0x1;for(;this['_diffItems'][_0x415aed]&&this['_diffItems'][_0x415aed]['change']==_0x4131b1;)_0x403e99['push'](this['_diffItems'][_0x415aed]),_0x415aed++,_0x13c749++;const _0x18645d=_0x403e99['map'](_0x1d6c08=>_0x1d6c08['token']);if('unchanged'==_0x4131b1){const _0x42b8ee=_0x403e99['map'](_0x54f0c8=>_0x54f0c8['before']);this['_handleUnchanged'](_0x42b8ee,_0x18645d);}else('added'==_0x4131b1||this['_markDeletions'])&&_0x18645d['forEach'](_0x3a2b3d=>{'element'==_0x3a2b3d['type']&&_0x3a2b3d['isStart']&&this['_splitPostponedData']['has'](_0x3a2b3d['element'])&&this['_handleSplitPostponedData'](_0x3a2b3d['element'],this['_path']),this['_traverseOverItem'](_0x3a2b3d);});}}['_handleSplitPostponedData'](_0x1a9834,_0x4b195c){const _0x40db9d=this['_splitPostponedData']['get'](_0x1a9834);for(const _0x1e3628 of _0x40db9d)'rename'==_0x1e3628['type']?this['_operationsData']['push']({'type':'rename','path':_0x4b195c['slice'](),'oldName':_0x1e3628['oldValue'],'newName':_0x1a9834['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x4b195c['slice'](),'howMany':0x1,'key':_0x1e3628['key'],'oldValue':_0x1e3628['oldValue'],'newValue':JSON['stringify'](_0x1a9834['getAttribute'](_0x1e3628['key'])??null)});}['_calculateMarkersOperationsData'](_0x2d33d3,_0x3d40db){const _0xaefc40={};for(const [_0x1238bf]of _0x2d33d3)_0xaefc40[_0x1238bf]=null;for(const [_0x56826c,_0x4e4480]of _0x3d40db)_0xaefc40[_0x56826c]=_0x4e4480;const _0x179ca4=Object['entries'](_0xaefc40)['map'](([_0x4b3b79,_0x430a6f])=>({'type':'marker','name':_0x4b3b79,'range':_0x430a6f?{'start':_0x430a6f['start']['path']['slice'](),'end':_0x430a6f['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x179ca4);}['_handleUnwraps'](){const _0x23c8b5=new Map(),_0x58744a=[],_0x24208b=[0x0];let _0x4c06be=this['_diffItems']['length']+0x1;for(let _0x1e5847=this['_diffItems']['length']-0x1;_0x1e5847>=0x0;_0x1e5847--){const {token:_0x4a4677,before:_0x1825cc,change:_0x71ff33}=this['_diffItems'][_0x1e5847];if('removed'!=_0x71ff33&&(_0x4c06be=_0x1e5847),'element'!=_0x4a4677['type']||'container'!=_0x4a4677['category']||'added'==_0x71ff33)continue;const _0x195229=_0x1825cc?_0x1825cc['element']:_0x4a4677['element'];if(_0x4a4677['isStart']){const _0x1d7245=_0x23c8b5['get'](_0x195229),_0x52b267=this['_diffItems'][_0x1d7245];('removed'==_0x71ff33||'removed'==_0x52b267['change'])&&_0x4c06be<_0x1d7245&&(this['_operationsData']['push']({'type':'unwrap','path':_0x195229['getPath'](),'howMany':_0x195229['maxOffset']+_0x24208b[0x0]}),_0x24208b['shift'](),_0x24208b[0x0]+=_0x195229['maxOffset']-0x1,_0x58744a['push'](_0x1e5847),_0x58744a['push'](_0x1d7245));}else _0x23c8b5['set'](_0x195229,_0x1e5847),_0x24208b['unshift'](0x0);}_0x58744a['sort']((_0x583e33,_0x20365f)=>_0x20365f-_0x583e33),_0x58744a['forEach'](_0x1b7bbd=>{const _0x224e77=this['_diffItems'][_0x1b7bbd];'removed'==_0x224e77['change']?this['_diffItems']['splice'](_0x1b7bbd,0x1):(_0x224e77['change']='added',delete _0x224e77['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x14c7d9=[];for(let _0x4443ba=0x0;_0x4443ba<this['_diffItems']['length'];_0x4443ba++){const {change:_0x128337,token:_0x4eb34d}=this['_diffItems'][_0x4443ba];if('added'==_0x128337&&'element'==_0x4eb34d['type']&&'container'==_0x4eb34d['category']){if(_0x4eb34d['isStart'])_0x14c7d9['push'](this['_path']['slice']());else{if(!_0x4eb34d['isStart']){const _0x570547=_0x14c7d9['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x570547,'end':this['_path']['slice']()},'token':_0x4eb34d}),this['_path'][this['_path']['length']-0x1]=_0x570547[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x128337||this['_markDeletions'])&&this['_traverseOverItem'](_0x4eb34d);}}['_handleUnchanged'](_0x380827,_0x3241be){for(let _0x4a6174=0x0;_0x4a6174<_0x380827['length'];_0x4a6174++){const _0x21fe7f=_0x380827[_0x4a6174];if('element'==_0x21fe7f['type']&&_0x21fe7f['isStart']){const _0x2b2cdf=_0x3241be[_0x4a6174];'block'==_0x21fe7f['category']&&this['_handleElementRename'](_0x21fe7f['element'],_0x2b2cdf['element'],this['_path']),this['_handleElementAttributeChanges'](_0x21fe7f['element'],_0x2b2cdf['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x2b2cdf);}else{if('element'!=_0x21fe7f['type']||_0x21fe7f['isStart']){if('text'==_0x21fe7f['type']){const _0x3d192e=this['_path']['slice'](),_0x26ff3b=[],_0x25bfcf=[];for(;_0x380827[_0x4a6174]&&'text'==_0x380827[_0x4a6174]['type'];)_0x26ff3b['push'](_0x380827[_0x4a6174]),_0x25bfcf['push'](_0x3241be[_0x4a6174]),this['_path'][this['_path']['length']-0x1]+=_0x380827[_0x4a6174]['data']['length'],_0x4a6174++;_0x4a6174--,this['_handleTextAttributeChanges'](_0x26ff3b,_0x25bfcf,_0x3d192e);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x5b2178,_0x14c335,_0xdc54c1){const _0x15ade2=[],_0x5e67fc=[],_0x1f4b36=_0xdc54c1['slice']();let _0x1303a2=this['_parents']['length']-0x1;for(let _0x8e1642=0x0;_0x8e1642<_0x5b2178['length'];_0x8e1642++){const _0x5cecba=_0x5b2178[_0x8e1642],_0xf90247=_0xdc54c1['slice']();'element'!=_0x5cecba['type']||_0x5cecba['isStart']?'element'==_0x5cecba['type']&&_0x5cecba['isStart']?(_0xdc54c1['push'](0x0),_0x1303a2++,_0x5e67fc['push']({'before':_0xf90247,'after':_0xdc54c1['slice'](),'index':_0x8e1642})):_0xdc54c1[_0xdc54c1['length']-0x1]+=_0x5cecba['data']['length']:(_0xdc54c1['pop'](),_0xdc54c1[_0xdc54c1['length']-0x1]++,_0x1303a2--,_0x5e67fc['length']?_0x5e67fc['pop']():_0x15ade2['push']({'before':_0xf90247,'after':_0xdc54c1['slice'](),'index':_0x8e1642}));}if(_0x5e67fc['length']!==_0x15ade2['length'])throw new _0x47642c('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x5b2178,'isRemove':_0x14c335});const _0x4f7272=[{'after':_0x1f4b36['slice'](),'index':-0x1},..._0x15ade2,..._0x5e67fc,{'before':_0xdc54c1['slice'](),'index':_0x5b2178['length']}];if(_0x14c335){for(let _0x390ad3=_0x4f7272['length']-0x1;_0x390ad3>=0x1;_0x390ad3--){const _0x147d9c=_0x4f7272[_0x390ad3-0x1]['after'],_0x44baaa=_0x4f7272[_0x390ad3]['before'],_0x3c5924=_0x44baaa[_0x44baaa['length']-0x1]-_0x147d9c[_0x147d9c['length']-0x1];_0x3c5924&&(this['_operationsData']['push']({'type':'remove','path':_0x147d9c,'howMany':_0x3c5924}),_0x44baaa[_0x44baaa['length']-0x1]-=_0x3c5924);}for(const {before:_0xd0a75d}of _0x15ade2)this['_operationsData']['push']({'type':'merge','path':_0xd0a75d});}else for(let _0x52377d=0x0;_0x52377d<_0x4f7272['length']-0x1;_0x52377d++){const _0x463396=_0x4f7272[_0x52377d]['after'],_0x1ddaeb=_0x4f7272[_0x52377d+0x1]['before'],_0x103d4f=_0x4f7272[_0x52377d]['index']+0x1,_0x3082d7=_0x4f7272[_0x52377d+0x1]['index'];if(_0x103d4f!==_0x3082d7&&this['_operationsData']['push']({'type':'insert','path':_0x463396,'tokens':_0x5b2178['slice'](_0x103d4f,_0x3082d7)}),_0x52377d<_0x15ade2['length']){this['_operationsData']['push']({'type':'split','path':_0x1ddaeb});const _0x34f3b2=_0x5b2178[_0x5e67fc[_0x5e67fc['length']-0x1-_0x52377d]['index']],_0x35981b=this['_parents'][_0x1303a2]['element'];_0x35981b['name']!=_0x34f3b2['element']['name']&&this['_addSplitPostponedData'](_0x34f3b2['element'],{'type':'rename','oldValue':_0x35981b['name']});const _0x20b976=this['_getAttributeChanges'](_0x35981b['getAttributes'](),_0x34f3b2['element']['getAttributes']());for(const _0x3100c6 in _0x20b976){const _0x37cd18=_0x20b976[_0x3100c6]['oldValue'];this['_addSplitPostponedData'](_0x34f3b2['element'],{'type':'attribute','key':_0x3100c6,'oldValue':_0x37cd18});}}}}['_addSplitPostponedData'](_0x1cda4a,_0x492851){const _0x264c06=this['_splitPostponedData']['get'](_0x1cda4a)||[];_0x264c06['push'](_0x492851),this['_splitPostponedData']['set'](_0x1cda4a,_0x264c06);}['_traverseOverItem'](_0x4ce75e){'element'==_0x4ce75e['type']&&_0x4ce75e['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x4ce75e)):'element'!=_0x4ce75e['type']||_0x4ce75e['isStart']?'text'==_0x4ce75e['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x4ce75e['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x482ac0,_0x55b420,_0x35db67){_0x482ac0['name']!=_0x55b420['name']&&this['_operationsData']['push']({'type':'rename','path':_0x35db67['slice'](),'oldName':_0x482ac0['name'],'newName':_0x55b420['name']});}['_handleElementAttributeChanges'](_0x51fd35,_0x11dfa9,_0x12c4ae){const _0x41b999=this['_getAttributeChanges'](_0x51fd35['getAttributes'](),_0x11dfa9['getAttributes']());for(const _0x3cec53 in _0x41b999){const {oldValue:_0x24d280,newValue:_0x22c5a5}=_0x41b999[_0x3cec53];this['_operationsData']['push']({'type':'attribute','path':_0x12c4ae['slice'](),'howMany':0x1,'key':_0x3cec53,'oldValue':_0x24d280,'newValue':_0x22c5a5});}}['_handleTextAttributeChanges'](_0x79cf09,_0x3b8463,_0x47a29a){const _0x46e2b8=this['_operationsData'],_0x388bc4=_0x79cf09[0x0]['parent'],_0x3e932a=_0x79cf09[0x0]['offset'],_0x2c5195=_0x3b8463[0x0]['parent'],_0x561eef=_0x3b8463[0x0]['offset'],_0x56aa67=_0x79cf09['reduce']((_0x3a32ba,_0x502516)=>_0x3a32ba+_0x502516['data']['length'],0x0),_0x2d2638=this['_getAttrsForOffsets'](_0x388bc4,_0x3e932a,_0x56aa67),_0x11bc37=this['_getAttrsForOffsets'](_0x2c5195,_0x561eef,_0x56aa67),_0x573488={};for(let _0x188d50=0x0;_0x188d50<_0x56aa67;_0x188d50++){const _0x67db31=_0x2d2638[_0x3e932a+_0x188d50],_0x2078b4=_0x11bc37[_0x561eef+_0x188d50],_0x39f721=this['_getAttributeChanges'](_0x67db31,_0x2078b4);for(const _0x15da93 in _0x573488)_0x39f721[_0x15da93]||_0x171101(_0x15da93);for(const _0x4795a0 in _0x39f721){const {oldValue:_0x5537b0,newValue:_0x3fa9bd}=_0x39f721[_0x4795a0],_0x1207cf=_0x573488[_0x4795a0];_0x1207cf?_0x1207cf['oldValue']==_0x5537b0&&_0x1207cf['newValue']==_0x3fa9bd?_0x1207cf['length']++:(_0x171101(_0x4795a0),_0x573488[_0x4795a0]={'oldValue':_0x5537b0,'newValue':_0x3fa9bd,'start':_0x188d50,'length':0x1}):_0x573488[_0x4795a0]={'oldValue':_0x5537b0,'newValue':_0x3fa9bd,'start':_0x188d50,'length':0x1};}}for(const _0x4971ad in _0x573488)_0x171101(_0x4971ad);function _0x171101(_0x6f0a33){const _0x18dc29=_0x573488[_0x6f0a33],_0x2778c6=_0x47a29a['slice']();_0x2778c6[_0x2778c6['length']-0x1]+=_0x18dc29['start'],_0x46e2b8['push']({'type':'attribute','path':_0x2778c6,'howMany':_0x18dc29['length'],'key':_0x6f0a33,'oldValue':_0x18dc29['oldValue'],'newValue':_0x18dc29['newValue']}),delete _0x573488[_0x6f0a33];}}['_getAttributeChanges'](_0x3f0b02,_0x16b9e9){const _0x30155c={};for(const [_0x24463c,_0x5884d4]of _0x3f0b02)_0x30155c[_0x24463c]={'oldValue':JSON['stringify'](_0x5884d4),'newValue':'null'};for(const [_0x394355,_0x3da8ab]of _0x16b9e9){const _0x38e919=JSON['stringify'](_0x3da8ab);_0x30155c[_0x394355]?_0x30155c[_0x394355]['oldValue']==_0x38e919?delete _0x30155c[_0x394355]:_0x30155c[_0x394355]['newValue']=_0x38e919:_0x30155c[_0x394355]={'oldValue':'null','newValue':_0x38e919};}return delete _0x30155c[lt],_0x30155c;}['_getAttrsForOffsets'](_0x1bf119,_0x3383e3,_0x1a0cd8){const _0x716552=new Array(_0x3383e3+_0x1a0cd8);let _0x575155=_0x1bf119['getChildAtOffset'](_0x3383e3),_0x1bfe00=_0x575155['startOffset'];for(;_0x575155&&_0x1bfe00<_0x3383e3+_0x1a0cd8;){const _0x18da6b=Array['from'](_0x575155['getAttributes']());_0x716552['fill'](_0x18da6b,_0x1bfe00,_0x1bfe00+_0x575155['offsetSize']),_0x1bfe00+=_0x575155['offsetSize'],_0x575155=_0x575155['nextSibling'];}return _0x716552;}['_getPositionFromAnchorAndPath'](_0x1e2f28,_0x13afc9){const _0x460677=[..._0x1e2f28['path']['slice'](0x0,-0x1),_0x1e2f28['offset']+_0x13afc9[0x0],..._0x13afc9['slice'](0x1)];return new _0xe5f221(_0x1e2f28['root'],_0x460677);}['_makeModelFromTokens'](_0x250681){const _0x1557a4=[];let _0x31fdbb=null;for(const _0x417add of _0x250681)if('element'!=_0x417add['type']||_0x417add['isStart']||_0x31fdbb!=_0x417add['element']){if(!_0x31fdbb){if('text'==_0x417add['type']){const _0x55d242=_0xe5f221['_createAt'](_0x417add['parent'],_0x417add['offset']),_0x475275=_0x89429c['_createFromPositionAndShift'](_0x55d242,_0x417add['data']['length']),_0x50116c=Array['from'](_0x475275['getItems']())['map'](_0x4809fe=>new _0x3813f2(_0x4809fe['data'],_0x4809fe['getAttributes']()));_0x1557a4['push'](..._0x50116c);}else{_0x31fdbb=_0x417add['element'];const _0x5f0e32=_0x417add['element']['_clone'](!0x0);_0x5f0e32['_removeAttribute'](lt);for(const _0xe16315 of this['_editor']['model']['createRangeIn'](_0x5f0e32)['getItems']())_0xe16315['is']('element')&&_0xe16315['_removeAttribute'](lt);_0x1557a4['push'](_0x5f0e32);}}}else _0x31fdbb=null;return _0x1557a4;}}function ht(_0x4da486,_0x9641b8){return _0x4da486['type']===_0x9641b8['type']&&(_0x4da486['limitId']===_0x9641b8['limitId']&&('text'==_0x4da486['type']?_0x4da486['data']==_0x9641b8['data']:function(_0x1c71e8,_0x7fd06d){if(_0x1c71e8['isStart']!=_0x7fd06d['isStart'])return!0x1;if(_0x1c71e8['isStart']&&_0x1c71e8['elementId']!=_0x7fd06d['elementId'])return!0x1;if(_0x1c71e8['category']!=_0x7fd06d['category'])return!0x1;if('block'==_0x1c71e8['category'])return!0x0;if('container'==_0x1c71e8['category']&&_0x1c71e8['elementId']!=_0x7fd06d['elementId'])return!0x1;return _0x1c71e8['element']['name']==_0x7fd06d['element']['name'];}(_0x4da486,_0x9641b8)));}function dt(_0x117531){return J({'name':_0x117531['name'],...Object['fromEntries'](_0x117531['getAttributes']())});}export{AriaDescriptionView,CollaborationUserColor,G as ConfirmMixin,lt as DATA_ID_MODEL_ATTRIBUTE,ut as DATA_ID_VIEW_ATTRIBUTE,DocumentCompare,DocumentDiff,ot as FOCUS_ANNOTATION_KEYSTROKE,LateFocusButtonView,LateFocusDropdownButtonView,Permissions,SuggestionsConversion,User,UserView,Users,U as fixElementSuggestionRange,W as getAllMarkersDomElementsSorted,z as getDateTimeFormatter,R as getMarkerDomElement,J as hashObject,it as sanitizeEditorConfig,rt as setupThreadKeyboardNavigation,O as splitSuggestionMarkerName,nt as surroundingMarkersDetector,j as trimHtml};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x52bf12=>0x1!=_0x52bf12}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e4c92=>{const {af:{dictionary:_0x9ae641,getPluralForm:_0x17fcf2}}={'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':_0x2dbb4c=>0x1!=_0x2dbb4c}};_0x4e4c92['af']||={'dictionary':{},'getPluralForm':null},_0x4e4c92['af']['dictionary']=Object['assign'](_0x4e4c92['af']['dictionary'],_0x9ae641),_0x4e4c92['af']['getPluralForm']=_0x17fcf2;})(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':_0x4f9baf=>0x0==_0x4f9baf?0x0:0x1==_0x4f9baf?0x1:0x2==_0x4f9baf?0x2:_0x4f9baf%0x64>=0x3&&_0x4f9baf%0x64<=0xa?0x3:_0x4f9baf%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4471bc=>{const {ar:{dictionary:_0x35a9ce,getPluralForm:_0x6fe14f}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x3bee98=>0x0==_0x3bee98?0x0:0x1==_0x3bee98?0x1:0x2==_0x3bee98?0x2:_0x3bee98%0x64>=0x3&&_0x3bee98%0x64<=0xa?0x3:_0x3bee98%0x64>=0xb?0x4:0x5}};_0x4471bc['ar']||={'dictionary':{},'getPluralForm':null},_0x4471bc['ar']['dictionary']=Object['assign'](_0x4471bc['ar']['dictionary'],_0x35a9ce),_0x4471bc['ar']['getPluralForm']=_0x6fe14f;})(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':_0x2efcb8=>0x1!=_0x2efcb8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x13eca8=>{const {ast:{dictionary:_0x8183d9,getPluralForm:_0x392c82}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x31d109=>0x1!=_0x31d109}};_0x13eca8['ast']||={'dictionary':{},'getPluralForm':null},_0x13eca8['ast']['dictionary']=Object['assign'](_0x13eca8['ast']['dictionary'],_0x8183d9),_0x13eca8['ast']['getPluralForm']=_0x392c82;})(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':_0x2de2e9=>0x1!=_0x2de2e9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe4514c=>{const {az:{dictionary:_0xa36879,getPluralForm:_0x486e35}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x3e5165=>0x1!=_0x3e5165}};_0xe4514c['az']||={'dictionary':{},'getPluralForm':null},_0xe4514c['az']['dictionary']=Object['assign'](_0xe4514c['az']['dictionary'],_0xa36879),_0xe4514c['az']['getPluralForm']=_0x486e35;})(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':_0x410eed=>_0x410eed%0xa==0x1&&_0x410eed%0x64!=0xb?0x0:_0x410eed%0xa>=0x2&&_0x410eed%0xa<=0x4&&(_0x410eed%0x64<0xa||_0x410eed%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x33153c=>{const {be:{dictionary:_0x3cbb9f,getPluralForm:_0x1c0430}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x321da1=>_0x321da1%0xa==0x1&&_0x321da1%0x64!=0xb?0x0:_0x321da1%0xa>=0x2&&_0x321da1%0xa<=0x4&&(_0x321da1%0x64<0xa||_0x321da1%0x64>=0x14)?0x1:0x2}};_0x33153c['be']||={'dictionary':{},'getPluralForm':null},_0x33153c['be']['dictionary']=Object['assign'](_0x33153c['be']['dictionary'],_0x3cbb9f),_0x33153c['be']['getPluralForm']=_0x1c0430;})(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':_0x5c6a27=>0x1!=_0x5c6a27}};
|