@ckeditor/ckeditor5-collaboration-core 48.4.0-alpha.0 → 48.4.0-alpha.2
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 _0x37f27d,Editor as _0x5483eb,Plugin as _0x1f67da}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x2ed40a,Collection as _0x449024,FocusTracker as _0x33a34f,KeystrokeHandler as _0x149e7e,first as _0x5819e4,toArray as _0x24b44d,uid as _0x294bfc}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x16dd91,DropdownButtonView as _0x354691,FocusCycler as _0x13b8a3,IconView as _0x351170,View as _0x56c67c,isViewWithFocusCycler as _0x1488d5}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0xdfa83c,IconCheck as _0x361f60,IconNotification as _0xc55f5b}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x221e2c,toWidget as _0x1819c4}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x1acb75}from'luxon';import{AttributeOperation as _0x81dec2,InsertOperation as _0x3c448e,MarkerOperation as _0x23d8eb,MergeOperation as _0x5288f2,ModelPosition as _0x224efa,ModelRange as _0x5e9b44,ModelText as _0x272f0e,ModelTreeWalker as _0x384a2d,MoveOperation as _0x16d21e,RenameOperation as _0x118b44,SplitOperation as _0x338267}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x563a26}from'diff';var B=class extends _0x37f27d{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}setPermissions(_0x5306ef,_0x5959d6){let _0x44fda4;if(_0x5959d6||(_0x5959d6=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x5959d6?_0x44fda4=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x44fda4=this['context']['editors']['find'](_0x3771c2=>_0x3771c2['config']['get']('collaboration.channelId')==_0x5959d6)),!_0x44fda4)throw new _0x2ed40a('permissions-set-permissions-invalid-channel-id',null);const _0x4d4524=_0x44fda4['plugins'],_0x27e024=_0x4d4524['has']('CommentsRepository')?_0x4d4524['get']('CommentsRepository'):void 0x0,_0xdc07ca=_0x4d4524['has']('CommentsOnly')&&_0x4d4524['get']('CommentsOnly'),_0x296c52=_0x5306ef['includes']('document:write'),_0x936dbe=_0x5306ef['includes']('comment:modify_all'),_0x35d11e=_0x5306ef['includes']('comment:admin'),_0xc9c9f6=_0x5306ef['includes']('comment:write'),_0x110b50=_0xc9c9f6||_0x35d11e,_0xf5790=_0x110b50||_0x936dbe,_0x426195=_0x296c52||_0x110b50;if(_0xdc07ca&&(_0xdc07ca['isEnabled']=!_0x296c52&&_0xf5790),_0x44fda4 instanceof _0x5483eb&&(_0x296c52||_0xf5790&&_0x27e024?_0x44fda4['disableReadOnlyMode']('no-permissions'):_0x44fda4['enableReadOnlyMode']('no-permissions')),_0x27e024){_0x27e024['setPermissions']({'admin':_0x35d11e,'modifyAll':_0x936dbe,'write':_0xc9c9f6,'resolve':_0x426195},_0x5959d6);const _0x17b5b5=_0x44fda4 instanceof _0x5483eb&&_0x44fda4['commands']['get']('addCommentThread');_0x17b5b5&&(_0x110b50?_0x17b5b5['clearForceDisabled']('noPermissions'):_0x17b5b5['forceDisabled']('noPermissions'));}}};function D(_0x541a12,_0x2cde9b){const t=_0x541a12['t'];switch(_0x2cde9b){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'';}}var $=class extends _0x37f27d{['users'];_lastColor;['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[B];}constructor(_0xd69a6){super(_0xd69a6),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x449024(),this['_locale']=_0xd69a6['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:_0x5be2bd,name:_0x19ad5f,..._0x938732}){if(!_0x5be2bd||'string'!=typeof _0x5be2bd)throw new _0x2ed40a('users-add-invalid-id');if(this['users']['has'](_0x5be2bd))throw new _0x2ed40a('users-add-duplicated-id',null,{'id':_0x5be2bd});const _0x1acbc2=this['context']['config']['get']('users.getInitialsCallback'),_0x3562a0={..._0x938732,'id':_0x5be2bd,'name':R(this['_locale'],_0x19ad5f),'color':this['_getNextColor']()};_0x3562a0['name']=R(this['_locale'],_0x3562a0['name']);const _0x477b80=new L(_0x3562a0,_0x1acbc2);return this['users']['add'](_0x477b80),_0x477b80;}getUser(_0x5b9b87){return this['users']['get'](_0x5b9b87);}['useAnonymousUser'](){const _0x5091de=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x5091de);}['defineMe'](_0x5ee635){if(this['_myId'])throw new _0x2ed40a('users-me-already-defined',null);const _0x41f221=this['getUser'](_0x5ee635);if(!_0x41f221)throw new _0x2ed40a('users-me-missing-user',null);this['_myId']=_0x5ee635,_0x41f221['_isMe']=!0x0;}getOperationAuthor(){return this['me'];}_getNextColor(){const _0x3c5ce2=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x3c5ce2&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x5bf1f5=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x5bf1f5,'name':D(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];initials;avatar;['_isMe'];['_isAnonymous'];constructor(_0x5eb017,_0x5f516f){this['id']=_0x5eb017['id'],this['color']=_0x5eb017['color'],this['name']=_0x5eb017['name'],this['initials']=_0x5f516f?_0x5f516f(this['name']):this['_computeInitials'](),this['avatar']=_0x5eb017['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}_computeInitials(){const _0x549a60=this['name']['split']('\x20')['filter'](_0x25ea91=>/^[\p{Letter}]/u['test'](_0x25ea91));return 0x1===_0x549a60['length']?this['_getInitial'](_0x549a60[0x0]):0x0===_0x549a60['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x549a60[0x0])+this['_getInitial'](_0x549a60[_0x549a60['length']-0x1]);}_getInitial(_0x29ff5a){return String['fromCodePoint'](_0x29ff5a['codePointAt'](0x0))['toUpperCase']();}};function R(_0xb57067,_0x258412=''){return''==(_0x258412=_0x258412['trim']())?D(_0xb57067,'Anonymous'):_0x258412;}var F=class{['_id'];constructor(_0x5ee3b5){this['_id']=_0x5ee3b5;}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))';}},H=class extends _0x56c67c{['name'];notificationView;constructor(_0x5ef2fc,_0x246ad2,_0x178ca1,_0x2f777c){super(_0x5ef2fc),this['name']=_0x246ad2['name'],this['notificationView']=null;const _0x527618=['ck','ck-user'],_0x1b2ba4=['ck','ck-user__img'];_0x246ad2['isAnonymous']&&_0x1b2ba4['push']('ck-user__anonymous'),!_0x246ad2['isAnonymous']&&_0x246ad2['isMe']&&_0x527618['push']('ck-user_me'),(_0x246ad2['avatar']||_0x2f777c)&&_0x1b2ba4['push']('ck-user__avatar');let _0x192c25=null;if(_0x2f777c&&(_0x192c25=new _0x351170(),_0x192c25['content']=_0x2f777c,_0x192c25['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x178ca1){const _0x68dfa9=new _0x351170();_0x68dfa9['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x68dfa9['content']=_0xc55f5b,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x178ca1},'children':[_0x68dfa9]};}const _0x1e036e=[{'tag':'div','attributes':{'class':_0x1b2ba4,'style':{'background-image':_0x246ad2['avatar']&&!_0x2f777c?'url(\x27'+_0x246ad2['avatar']+'\x27)':''}},'children':_0x192c25?[_0x192c25]:[]},{'tag':'div','attributes':{'class':_0x246ad2['avatar']||_0x2f777c?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x246ad2['name']},'children':[{'text':_0x246ad2['initials']}]}];this['notificationView']&&_0x1e036e['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x527618,'data-user-id':_0x246ad2['id']},'children':_0x1e036e});}},U=class extends _0x56c67c{['children'];['iconView'];['labelView'];constructor(_0x15f00e){super(_0x15f00e);const _0x3b6712=this['bindTemplate'];this['set']('icon',void 0x0),this['set']('label',void 0x0),this['set']('tooltip',void 0x0),this['set']('tooltipPosition','n'),this['set']('tooltipClass',void 0x0),this['set']('iconPosition','left'),this['set']('class',void 0x0),this['children']=this['createCollection'](),this['iconView']=this['_createIconView'](),this['labelView']=this['_createLabelView'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill',_0x3b6712['to']('class'),_0x3b6712['to']('iconPosition',_0x3e2839=>'right'===_0x3e2839?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x3b6712['to']('tooltip'),'data-cke-tooltip-position':_0x3b6712['to']('tooltipPosition'),'data-cke-tooltip-class':_0x3b6712['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x413161,_0x16fd4a,_0x2a307b,_0x504bd1)=>{_0x2a307b&&!_0x504bd1?this['children']['add'](this['iconView'],0x0):!_0x2a307b&&_0x504bd1&&this['children']['remove'](this['iconView']);});}_createIconView(){const _0x457249=new _0x351170();return _0x457249['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x457249['bind']('content')['to'](this,'icon'),_0x457249;}_createLabelView(){const _0x2b1d37=new _0x56c67c(this['locale']),_0x1d74c6=this['bindTemplate'];return _0x2b1d37['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x1d74c6['to']('label')}]}),_0x2b1d37;}},z=class extends _0x56c67c{['id'];constructor(_0x4521ee,_0x36e5b8){super(_0x4521ee),this['id']='ck-aria-description-'+_0x294bfc(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x36e5b8}]});}},W=class extends _0x16dd91{['render'](){super['render'](),j(this);}},Y=class extends _0x354691{['render'](){super['render'](),j(this);}};function j(_0x27e78c){_0x27e78c['listenTo'](_0x27e78c['element'],'mousedown',(_0x4e28cd,_0x3585e3)=>{_0x3585e3['stopPropagation'](),_0x3585e3['preventDefault']();}),_0x27e78c['listenTo'](_0x27e78c['element'],'mouseup',()=>{_0x27e78c['element']['focus']();});}function J(_0xdaf1dd){const _0x53341c=_0xdaf1dd['split'](':');return{'group':_0x53341c[0x0],'type':_0x53341c[0x1],'subType':_0x53341c['length']>=0x5?_0x53341c[0x2]:null,'id':_0x53341c['length']<0x5?_0x53341c[0x2]:_0x53341c[0x3],'authorId':_0x53341c['length']<0x5?_0x53341c[0x3]:_0x53341c[0x4],'markerCount':0x6==_0x53341c['length']?_0x53341c[0x5]:null};}function G(_0x5a4dc0,_0x4f9f89){const _0xf2ed16=_0x5a4dc0['end']['nodeBefore'];if(_0xf2ed16&&_0xf2ed16['is']('element')&&_0x4f9f89['schema']['isBlock'](_0xf2ed16)&&!_0x4f9f89['schema']['isObject'](_0xf2ed16)){const _0x5dc191=_0x4f9f89['createPositionAt'](_0xf2ed16,'end');return _0x4f9f89['createRange'](_0x5a4dc0['start'],_0x5dc191);}return _0x5a4dc0;}var K=class extends _0x1f67da{afterInit(){const _0xebcefe=this['editor'];_0xebcefe['plugins']['has']('AlignmentEditing')&&_0xebcefe['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x1f67da{afterInit(){const _0x5aad26=this['editor'],_0x1bafa9=_0x5aad26['plugins']['get']('SuggestionsConversion');for(const _0x37189d of q){if(!_0x5aad26['plugins']['has'](_0x37189d))continue;const _0x3dd2af=_0x37189d['slice'](0x0,-0x7)['toLowerCase']();_0x1bafa9['registerInlineAttribute'](_0x3dd2af);}}},Q=class extends _0x1f67da{afterInit(){const _0x64ac80=this['editor'],_0x59db58=_0x64ac80['plugins']['get']('SuggestionsConversion');_0x64ac80['plugins']['has']('BookmarkEditing')&&_0x59db58['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x1f67da{afterInit(){const _0x14afa9=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x5a7f52,commandName:_0xf2ee23}of X)this['editor']['plugins']['has'](_0x5a7f52)&&_0x14afa9['registerInlineAttribute'](_0xf2ee23);}},et=class extends _0x1f67da{afterInit(){const {editor:_0x4f75e8}=this;if(!_0x4f75e8['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x232352=_0x4f75e8['plugins']['get']('SuggestionsConversion');_0x232352['registerBlockAttribute']('footnotesListStyle'),_0x232352['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x1f67da{afterInit(){const _0x468b9e=this['editor'];if(!_0x468b9e['plugins']['has']('GeneralHtmlSupport')||!_0x468b9e['plugins']['has']('DataSchema'))return;const _0x56f490=_0x468b9e['plugins']['get']('SuggestionsConversion'),_0x3f5f93=_0x468b9e['plugins']['get']('GeneralHtmlSupport'),_0x198f58=_0x468b9e['plugins']['get']('DataSchema');for(const _0x1e4301 of _0x198f58['getDefinitionsForView'](/.*/,!0x1)){const _0x4f43c1=_0x3f5f93['getGhsAttributeNameForElement'](_0x1e4301['view']);!_0x1e4301['isInline']||_0x1e4301['isObject']||'appliesToBlock'in _0x1e4301&&_0x1e4301['appliesToBlock']?_0x56f490['registerBlockAttribute'](_0x4f43c1):_0x56f490['registerInlineAttribute'](_0x4f43c1);}}},it=class extends _0x1f67da{afterInit(){const _0x50dd02=this['editor'];_0x50dd02['plugins']['has']('HighlightEditing')&&_0x50dd02['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x1f67da{afterInit(){const _0x25d0ec=this['editor'];_0x25d0ec['plugins']['has']('HtmlEmbed')&&_0x25d0ec['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x1f67da{afterInit(){const _0x111f34=this['editor'];if(!_0x111f34['plugins']['has']('ImageEditing'))return;const _0x51b2cb=_0x111f34['plugins']['get']('SuggestionsConversion');_0x51b2cb['registerBlockAttribute']('src'),_0x111f34['plugins']['has']('ImageResize')&&_0x51b2cb['registerBlockAttribute']('resizedWidth'),_0x111f34['plugins']['has']('ImageTextAlternativeEditing')&&_0x51b2cb['registerBlockAttribute']('alt'),_0x111f34['plugins']['has']('PictureEditing')&&_0x51b2cb['registerBlockAttribute']('sources'),_0x111f34['plugins']['has']('ImageSizeAttributes')&&(_0x51b2cb['registerBlockAttribute']('width'),_0x51b2cb['registerBlockAttribute']('height'));}},rt=class extends _0x1f67da{afterInit(){const _0x1f11d7=this['editor'],_0x598305=_0x1f11d7['plugins']['get']('SuggestionsConversion');_0x1f11d7['plugins']['has']('IndentBlock')&&(_0x598305['registerBlockAttribute']('blockIndent'),_0x1f11d7['plugins']['has']('ListEditing')&&(_0x598305['registerBlockAttribute']('blockIndentList'),_0x598305['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x1f67da{afterInit(){const _0xf7f05b=this['editor'];_0xf7f05b['plugins']['has']('LineHeight')&&_0xf7f05b['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x1f67da{afterInit(){const _0x2e2faa=this['editor'];if(!_0x2e2faa['plugins']['has']('LinkEditing'))return;const _0x4e13a0=_0x2e2faa['plugins']['get']('SuggestionsConversion'),_0x539b45=_0x2e2faa['commands']['get']('link');_0x4e13a0['registerInlineAttribute']('linkHref');for(const _0x402cb0 of _0x539b45['manualDecorators'])_0x4e13a0['registerInlineAttribute'](_0x402cb0['id']);}},lt=class extends _0x1f67da{afterInit(){const _0x5224d3=this['editor'];if(!_0x5224d3['plugins']['has']('ListEditing'))return;const _0x380a67=_0x5224d3['plugins']['get']('SuggestionsConversion'),_0x48c5e6=_0x5224d3['plugins']['has']('TodoListEditing');_0x380a67['registerBlockAttribute']('listItemId'),_0x380a67['registerBlockAttribute']('listType'),_0x380a67['registerBlockAttribute']('listIndent'),_0x48c5e6&&_0x380a67['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x1f67da{afterInit(){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3c658a=this['editor']['config']['get']('list.properties'),_0x1c2a1b=this['editor']['plugins']['get']('SuggestionsConversion');_0x3c658a['styles']&&_0x1c2a1b['registerBlockAttribute']('listStyle'),_0x3c658a['reversed']&&_0x1c2a1b['registerBlockAttribute']('listReversed'),_0x3c658a['startIndex']&&_0x1c2a1b['registerBlockAttribute']('listStart');}},ut=class extends _0x1f67da{afterInit(){const _0x381fc6=this['editor'],_0x4c4c6c=_0x381fc6['plugins']['get']('SuggestionsConversion');_0x381fc6['plugins']['has']('MultiLevelList')&&_0x4c4c6c['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x1f67da{afterInit(){const _0x474cdc=this['editor'];if(!_0x474cdc['plugins']['has']('TableEditing'))return;const _0x1c450b=_0x474cdc['plugins']['get']('SuggestionsConversion');_0x1c450b['registerBlockAttribute']('headingRows'),_0x1c450b['registerBlockAttribute']('headingColumns');}},gt=class extends _0x1f67da{afterInit(){const {plugins:_0x3ba645}=this['editor'];if(!_0x3ba645['has']('TablePropertiesEditing'))return;const _0x30a0cb=_0x3ba645['get']('SuggestionsConversion');for(const _0x357031 of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x30a0cb['registerBlockAttribute'](_0x357031);}},ft=class extends _0x1f67da{afterInit(){const _0x31cddd=this['editor'],_0x36f2e7=_0x31cddd['plugins']['get']('SuggestionsConversion');_0x31cddd['plugins']['has']('TableLayout')&&_0x36f2e7['registerBlockAttribute']('tableType');}},mt=class extends _0x1f67da{afterInit(){const _0x226e2a=this['editor'],_0x117410=this['editor']['plugins']['get']('SuggestionsConversion');_0x226e2a['plugins']['has']('Uploadcare')&&_0x226e2a['plugins']['has']('UploadcareImageEdit')&&_0x117410['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x1f67da{afterInit(){const _0x149f5a=this['editor'];if(!_0x149f5a['plugins']['has']('ShiftEnter'))return;const _0x1e2a93=_0x149f5a['plugins']['get']('SuggestionsConversion'),_0x51c4e7=(_0x4132ec,_0x1ac69d,_0xfeb23,_0x169de8)=>{if(_0x169de8&&!_0xfeb23['options']['showSuggestionHighlights'])return;if(!_0xfeb23['consumable']['test'](_0x1ac69d['markerRange'],_0x4132ec['name']))return;const _0x2a4a3b=_0x149f5a['model'];for(const _0x277185 of _0x1ac69d['markerRange']['getItems']()){if(!_0x277185['is']('element','softBreak'))continue;const _0x1a9abb='deletion'==_0x1ac69d['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x970275,authorId:_0x11b9ee}=J(_0x1ac69d['markerName']),_0x427c10=_0xfeb23['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1a9abb,'data-suggestion':_0x970275,'data-author-id':_0x11b9ee}),_0xdc0ecc=_0xfeb23['mapper']['toViewPosition'](_0x2a4a3b['createPositionBefore'](_0x277185));!_0x169de8&&_0x1e2a93['_activeMarkers']['includes'](_0x1ac69d['markerName'])&&_0xfeb23['writer']['addClass']('ck-suggestion-marker--active',_0x427c10),_0xfeb23['writer']['insert'](_0xdc0ecc,_0x427c10),_0xfeb23['mapper']['bindElementToMarker'](_0x427c10,_0x1ac69d['markerName']);}};_0x149f5a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x49d3ff,_0x18f749,_0x4a2e9d)=>{_0x51c4e7(_0x49d3ff,_0x18f749,_0x4a2e9d,!0x1);},{'priority':'high'}),_0x149f5a['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4cbbea,_0x593e07,_0x23eb93)=>{_0x51c4e7(_0x4cbbea,_0x593e07,_0x23eb93,!0x1);},{'priority':'high'}),_0x149f5a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x154aea,_0x538e1e,_0x918624)=>{_0x51c4e7(_0x154aea,_0x538e1e,_0x918624,!0x0);},{'priority':'high'}),_0x149f5a['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x14565f,_0x1b1013,_0x1f8582)=>{_0x51c4e7(_0x14565f,_0x1b1013,_0x1f8582,!0x0);},{'priority':'high'});}},kt=class extends _0x1f67da{afterInit(){const _0x4209c9=this['editor'];if(!_0x4209c9['plugins']['has']('MediaEmbedEditing'))return;const _0x11b3f3=_0x4209c9['plugins']['get']('SuggestionsConversion');_0x4209c9['plugins']['has']('MediaEmbedResizeEditing')&&_0x11b3f3['registerBlockAttribute']('resizedWidth'),_0x4209c9['plugins']['has']('MediaEmbedStyleEditing')&&_0x11b3f3['registerBlockAttribute']('mediaStyle'),_0x4209c9['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x4ead8b,{writer:_0x36710a,options:_0x46d995})=>{if(_0x46d995['showSuggestionHighlights'])return _0x36710a['createEmptyElement']('div');},'converterPriority':'high'}),_0x4209c9['data']['downcastDispatcher']['on']('attribute:url:media',(_0x3bbbad,_0x1c8f9e,_0x1a3e26)=>{_0x1a3e26['options']['showSuggestionHighlights']&&_0x3bbbad['stop']();},{'priority':'high'});}},yt=class extends _0x1f67da{afterInit(){const _0x1f1a9c=this['editor'];if(!_0x1f1a9c['plugins']['has']('Table'))return;_0x1f1a9c['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4e6496,_0x246306,_0x4a7ba9)=>{((_0x25d55a,_0x19c5b8,_0x4a3b69)=>{if(!_0x4a3b69['options']['showSuggestionHighlights'])return;const _0x4cbd09=_0x19c5b8['item'];if(!_0x4cbd09||!_0x4cbd09['is']('element','tableCell'))return;const _0x212e85=_0x4a3b69['mapper']['toViewElement'](_0x4cbd09);if(_0x212e85){const {id:_0x579b2f,authorId:_0x29a0c5}=J(_0x19c5b8['markerName']);_0x221e2c(_0x212e85,_0x4a3b69['writer'],(_0x4f83da,_0x1a36a6,_0x24208c)=>{_0x24208c['addClass'](_0x24b44d(_0x1a36a6['classes']),_0x4f83da),_0x24208c['setAttribute']('data-suggestion',_0x579b2f,_0x4f83da),_0x24208c['setAttribute']('data-author-id',_0x29a0c5,_0x4f83da);});}})(0x0,_0x246306,_0x4a7ba9);},{'priority':'highest'});}},bt=class extends _0x1f67da{afterInit(){const _0x7d88c=this['editor'];_0x7d88c['plugins']['has']('HorizontalLineEditing')&&_0x7d88c['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x3c945e,{writer:_0x670dd7,options:_0x10ff40})=>{if(!_0x10ff40['showSuggestionHighlights'])return null;const _0x47f911=_0x670dd7['createContainerElement']('div'),_0x39e6af=_0x670dd7['createEmptyElement']('hr');return _0x670dd7['addClass']('ck-horizontal-line',_0x47f911),_0x670dd7['insert'](_0x670dd7['createPositionAt'](_0x47f911,0x0),_0x39e6af),_0x47f911;},'converterPriority':'high'});}},wt=class extends _0x1f67da{afterInit(){const {plugins:_0x21a408,model:_0x4612e1}=this['editor'];if(!_0x21a408['has']('TableCellPropertiesEditing'))return;const _0x14232d=_0x21a408['get']('SuggestionsConversion');for(const _0x651f8 of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x14232d['registerBlockAttribute'](_0x651f8);_0x4612e1['schema']['checkAttribute']('tableCell','tableCellType')&&_0x14232d['registerBlockAttribute']('tableCellType');}},vt=class extends _0x1f67da{afterInit(){const _0x4ee9ed=this['editor'];_0x4ee9ed['plugins']['has']('TableEditing')&&_0x4ee9ed['config']['get']('table.enableFooters')&&_0x4ee9ed['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x1f67da{_activeMarkers=[];_blockAttributeKeys=new Set(['$elementName']);_inlineAttributeKeys=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get requires(){return[K,Z,Q,tt,et,st,it,bt,nt,ot,rt,at,ct,lt,ht,kt,ut,pt,yt,dt,vt,ft,wt,gt,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x14420b=this['editor'],_0xc1029e=(_0x57f0a2,_0x41ac97,_0x1a7b6c)=>{const {id:_0x2afd0d,authorId:_0x17a3da,type:_0x40ec2d,subType:_0x16cf02}=J(_0x57f0a2['markerName']),_0x12bbc1=['ck-suggestion-marker',this['_getClassName'](_0x40ec2d,_0x16cf02)];let _0x4d9b5a=0xbb8;return _0x1a7b6c||this['_activeMarkers']['includes'](_0x57f0a2['markerName'])&&(_0x12bbc1['push']('ck-suggestion-marker--active'),_0x4d9b5a=0xbc2),'deletion'==_0x40ec2d&&(_0x4d9b5a+=0x5),{'classes':_0x12bbc1,'attributes':{'data-suggestion':_0x2afd0d,'data-author-id':_0x17a3da},'priority':_0x4d9b5a};};_0x14420b['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x64a3a1,_0x39e952)=>_0xc1029e(_0x64a3a1,0x0,!0x1)}),_0x14420b['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x134a29,_0x212573)=>_0xc1029e(_0x134a29,0x0,!0x0)}),_0x14420b['conversion']['for']('dataDowncast')['add'](_0x7a79dc=>{_0x7a79dc['on']('addMarker:suggestion',(_0x3b0446,_0x56906e,_0x43179c)=>{if(!_0x43179c['options']['showSuggestionHighlights'])return;const _0x2fa475=_0x56906e['item'];if(!_0x2fa475)return;const _0x2c2693=_0x43179c['mapper']['toViewElement'](_0x2fa475);_0x14420b['model']['schema']['isObject'](_0x2fa475)&&_0x2c2693&&!_0x2c2693['getCustomProperty']('widget')&&_0x2c2693['is']('containerElement')&&_0x1819c4(_0x2c2693,_0x43179c['writer']);},{'priority':'high'});});const _0x4c9f77=(_0x26e6dc,_0x17a261,_0x26081f,_0x4b7ebf,_0x4160ed)=>{if(_0x4b7ebf&&!_0x26081f['options']['showSuggestionHighlights'])return;if(!_0x17a261['item'])return;const {id:_0x5d41bb,authorId:_0x1ab743,subType:_0xdb95fb}=J(_0x17a261['markerName']);if(_0x4160ed){const _0x3d0916=_0xdb95fb['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3d0916))return;}if(_0x17a261['item']['is']('selection'))return void _0x26081f['consumable']['consume'](_0x17a261['item'],_0x26e6dc['name']);const _0x18dc75=_0x26081f['mapper']['toViewElement'](_0x17a261['item']);if(_0x17a261['item']['is']('element')&&_0x14420b['model']['schema']['isBlock'](_0x17a261['item'])&&!_0x18dc75['getCustomProperty']('addHighlight')){_0x26081f['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x18dc75),_0x26081f['writer']['setAttribute']('data-suggestion',_0x5d41bb,_0x18dc75),_0x26081f['writer']['setAttribute']('data-author-id',_0x1ab743,_0x18dc75),_0x26081f['mapper']['bindElementToMarker'](_0x18dc75,_0x17a261['markerName']),_0x4b7ebf||(this['_activeMarkers']['includes'](_0x17a261['markerName'])?_0x26081f['writer']['addClass']('ck-suggestion-marker--active',_0x18dc75):_0x26081f['writer']['removeClass']('ck-suggestion-marker--active',_0x18dc75));for(const _0x235240 of _0x14420b['model']['createRangeIn'](_0x17a261['item'])['getItems']())_0x26081f['consumable']['consume'](_0x235240,_0x26e6dc['name']);_0x26081f['consumable']['consume'](_0x17a261['item'],_0x26e6dc['name']);}},_0x386bd2=(_0x1af7b3,_0x23d788,_0x1c4f76,_0x3f9163)=>{const _0x21838a=_0x1c4f76['mapper']['markerNameToElements'](_0x23d788['markerName']);if(_0x21838a){if(_0x3f9163){const {subType:_0x5cf474}=J(_0x23d788['markerName']),_0x253cfa=_0x5cf474['split']('|')[0x0];if(!this['isBlockAttribute'](_0x253cfa))return;}for(const _0x56d434 of _0x21838a)_0x56d434['getCustomProperty']('addHighlight')||(_0x1c4f76['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x56d434),_0x1c4f76['writer']['removeAttribute']('data-suggestion',_0x56d434),_0x1c4f76['writer']['removeAttribute']('data-author-id',_0x56d434),_0x1c4f76['mapper']['unbindElementFromMarkerName'](_0x56d434,_0x23d788['markerName']));}};_0x14420b['conversion']['for']('editingDowncast')['add'](_0xbb01a0=>{_0xbb01a0['on']('addMarker:suggestion:formatBlock',(_0x383e2f,_0x3c3dfd,_0x38b7aa)=>{_0x4c9f77(_0x383e2f,_0x3c3dfd,_0x38b7aa,!0x1,!0x1);},{'priority':'high'});}),_0x14420b['conversion']['for']('editingDowncast')['add'](_0x158987=>{_0x158987['on']('addMarker:suggestion:attribute',(_0x4da807,_0x27ccc7,_0x2653a6)=>{_0x4c9f77(_0x4da807,_0x27ccc7,_0x2653a6,!0x1,!0x0);},{'priority':'high'});}),_0x14420b['conversion']['for']('editingDowncast')['add'](_0x5ca9d6=>{_0x5ca9d6['on']('removeMarker:suggestion:formatBlock',(_0x2f4d2d,_0x19877b,_0x30cf91)=>{_0x386bd2(0x0,_0x19877b,_0x30cf91,!0x1);},{'priority':'high'});}),_0x14420b['conversion']['for']('editingDowncast')['add'](_0x30a2d1=>{_0x30a2d1['on']('removeMarker:suggestion:attribute',(_0x313411,_0x562165,_0x3c989c)=>{_0x386bd2(0x0,_0x562165,_0x3c989c,!0x0);},{'priority':'high'});}),_0x14420b['conversion']['for']('dataDowncast')['add'](_0x311900=>{_0x311900['on']('addMarker:suggestion:formatBlock',(_0x33fbff,_0x329627,_0x27cdf9)=>{_0x4c9f77(_0x33fbff,_0x329627,_0x27cdf9,!0x0,!0x1);},{'priority':'highest'});}),_0x14420b['conversion']['for']('dataDowncast')['add'](_0x528e79=>{_0x528e79['on']('addMarker:suggestion:attribute',(_0x3ab256,_0x5497e6,_0x1a732e)=>{_0x4c9f77(_0x3ab256,_0x5497e6,_0x1a732e,!0x0,!0x0);},{'priority':'highest'});}),_0x14420b['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x32ed9a,_0x5736b5)=>_0x5736b5['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x32ed9a['substr'](0xb)}});const _0x1400b5=(_0x3c7a81,_0x1a37a2,_0x343745,_0x27bad7,_0x401abd)=>{if(_0x27bad7&&!_0x343745['options']['showSuggestionHighlights'])return;if(!_0x343745['consumable']['test'](_0x1a37a2['markerRange'],_0x3c7a81['name']))return;const _0x3ef5ea=this['_activeMarkers'],_0x257890=_0x1a37a2['markerRange']['getWalker'](),_0x109f82=_0x1a37a2['markerRange']['start'],_0x50f85b=_0x14420b['model']['schema'];let _0x481b9b=null,_0x2d841e=null,_0x5ccfc8=!0x1,_0x3681b4=!0x1;for(const _0x5205e4 of _0x257890){const _0x5a0275=_0x5205e4['item'];_0x5ccfc8=_0x5ccfc8||_0x50f85b['isContent'](_0x5a0275);const _0x9b18a8=_0x343745['mapper']['toViewElement'](_0x5a0275);if(_0x9b18a8&&_0x9b18a8['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5205e4['type']&&(_0x50f85b['isBlock'](_0x5a0275)&&!_0x50f85b['isLimit'](_0x5a0275)&&(_0x5a0275['nextSibling']||_0x109f82['isAtEnd']?_0x481b9b&&_0x481b9b['parent']==_0x5a0275||(_0x481b9b=_0x5a0275,_0x53feeb(_0x5205e4['previousPosition']),_0x3681b4=!0x0):_0x2d841e=_0x2d841e||_0x5205e4['previousPosition']));}function _0x53feeb(_0x2c64d6){const {id:_0x2fad08,authorId:_0x45488f}=J(_0x1a37a2['markerName']),_0x504df2=_0x343745['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x401abd,'data-suggestion':_0x2fad08,'data-author-id':_0x45488f}),_0x2f0c7c=_0x343745['mapper']['toViewPosition'](_0x2c64d6);!_0x27bad7&&_0x3ef5ea['includes'](_0x1a37a2['markerName'])&&_0x343745['writer']['addClass']('ck-suggestion-marker--active',_0x504df2),_0x343745['writer']['insert'](_0x2f0c7c,_0x504df2),_0x343745['mapper']['bindElementToMarker'](_0x504df2,_0x1a37a2['markerName']);}_0x5ccfc8||_0x3681b4||!_0x2d841e||_0x53feeb(_0x2d841e);};_0x14420b['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x236eba,_0x57b0a4,_0x9a8fbd)=>{_0x1400b5(_0x236eba,_0x57b0a4,_0x9a8fbd,!0x1,'merge');},{'priority':'high'}),_0x14420b['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2a831e,_0x7ef3f9,_0x491c76)=>{_0x1400b5(_0x2a831e,_0x7ef3f9,_0x491c76,!0x0,'merge');},{'priority':'high'}),_0x14420b['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x20bac2,_0x3197bf,_0x44243a)=>{_0x1400b5(_0x20bac2,_0x3197bf,_0x44243a,!0x1,'split');},{'priority':'high'}),_0x14420b['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1514d0,_0x47e477,_0x36a4b7)=>{_0x1400b5(_0x1514d0,_0x47e477,_0x36a4b7,!0x0,'split');},{'priority':'high'}),_0x14420b['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0xb980e9,_0x228cf2,_0x2eebdb)=>{((_0x5869a2,_0x2ab208,_0x36ca36)=>{const _0x2e4888=_0x36ca36['mapper']['markerNameToElements'](_0x2ab208['markerName']);if(_0x2e4888){for(const _0x459c17 of _0x2e4888)(_0x459c17['hasClass']('ck-suggestion-marker-split')||_0x459c17['hasClass']('ck-suggestion-marker-merge'))&&(_0x36ca36['mapper']['unbindElementFromMarkerName'](_0x459c17,_0x2ab208['markerName']),_0x36ca36['writer']['remove'](_0x459c17));}})(0x0,_0x228cf2,_0x2eebdb);},{'priority':'high'});const _0x4a82a3=(_0x16ba4e,_0x57e303,_0x58ab30,_0x16ed50)=>{if(_0x16ed50&&!_0x58ab30['options']['showSuggestionHighlights'])return;const _0x5e6511=_0x57e303['markerRange']['start'],_0x8c9a60=_0x57e303['markerRange']['end'],_0x3fc956=_0x14420b['model']['schema'];if(!_0x5e6511['isTouching'](_0x8c9a60)||!_0x5e6511['nodeAfter'])return;const _0x3e0b69=_0x5e6511['nodeAfter'];if(_0x3fc956['isBlock'](_0x3e0b69)&&!_0x3fc956['isLimit'](_0x3e0b69)&&_0x3fc956['checkChild'](_0x3e0b69,'$text')){if(!_0x58ab30['consumable']['consume'](_0x57e303['markerRange'],_0x16ba4e['name']))return;const {id:_0x53b01c,authorId:_0x46ea78}=J(_0x57e303['markerName']),_0x514702=_0x58ab30['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x53b01c,'data-author-id':_0x46ea78}),_0x433591=_0x58ab30['mapper']['toViewPosition'](_0x8c9a60);!_0x16ed50&&this['_activeMarkers']['includes'](_0x57e303['markerName'])&&_0x58ab30['writer']['addClass']('ck-suggestion-marker--active',_0x514702),_0x58ab30['writer']['insert'](_0x433591,_0x514702),_0x58ab30['mapper']['bindElementToMarker'](_0x514702,_0x57e303['markerName']);}};_0x14420b['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x52fd15,_0x938bf7,_0x374f89)=>{_0x4a82a3(_0x52fd15,_0x938bf7,_0x374f89,!0x1);},{'priority':'high'}),_0x14420b['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1ea14a,_0x406d98,_0x3811ce)=>{_0x4a82a3(_0x1ea14a,_0x406d98,_0x3811ce,!0x0);},{'priority':'high'});}afterInit(){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x4ade74,_0x30041b,_0x2c6228)=>{this['_activeMarkers']=_0x2c6228['slice']();},{'priority':'highest'});}registerBlockAttribute(_0x5e2f48){this['_blockAttributeKeys']['add'](_0x5e2f48);}registerInlineAttribute(_0x563a23){this['_inlineAttributeKeys']['add'](_0x563a23);}isBlockAttribute(_0x4303b3){return this['_blockAttributeKeys']['has'](_0x4303b3);}isInlineAttribute(_0x122e3b){return this['_inlineAttributeKeys']['has'](_0x122e3b);}isRegisteredAttribute(_0x473a20){return this['isInlineAttribute'](_0x473a20)||this['isBlockAttribute'](_0x473a20);}_getClassName(_0x50951d,_0x44aaad){if('attribute'!=_0x50951d)return'ck-suggestion-marker-'+_0x50951d;const _0x22bf2d=_0x44aaad['split']('|')[0x0];return this['isBlockAttribute'](_0x22bf2d)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x12d08a={},_0x22a68f){if(void 0x0!==_0x12d08a['dateTimeFormat']&&'function'!=typeof _0x12d08a['dateTimeFormat'])throw new _0x2ed40a('invalid-date-time-format');return _0x5dd2da=>{const _0x2b8104='string'==typeof _0x5dd2da?_0x1acb75['fromISO'](_0x5dd2da):_0x1acb75['fromJSDate'](_0x5dd2da),_0x411a28=_0x1acb75['now'](),_0x507ad1=Math['floor'](_0x411a28['diff'](_0x2b8104,'days')['days']);return _0x12d08a['dateTimeFormat']?_0x12d08a['dateTimeFormat'](_0x2b8104['toJSDate'](),_0x22a68f&&_0x22a68f['t']?_0x22a68f['t']:void 0x0):0x0===_0x507ad1?_0x22a68f?D(_0x22a68f,'Today')+'\x20'+_0x2b8104['toFormat']('hh:mma'):_0x2b8104['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x507ad1?_0x22a68f?D(_0x22a68f,'Yesterday')+'\x20'+_0x2b8104['toFormat']('hh:mma'):_0x2b8104['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x507ad1<0x7?_0x22a68f?D(_0x22a68f,'Last')+'\x20'+D(_0x22a68f,_0x2b8104['toFormat']('EEEE'))+'\x20'+_0x2b8104['toFormat']('hh:mma'):_0x2b8104['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x2b8104['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x22c372,_0x160e6e){const _0x560618=_0x22c372['mapper']['markerNameToElements'](_0x160e6e['name']);if(!_0x560618)return null;const _0x59d57d=_0x5819e4(_0x560618['values']());return _0x22c372['view']['domConverter']['mapViewToDom'](_0x59d57d)||null;}function It(_0x54d419,_0x76bf78){if(0x0===_0x76bf78['length'])return null;const _0x4893b1=[],_0xc40b=_0x54d419['view']['domConverter'];for(const _0x57d88d of _0x76bf78){const _0x5bdcbf=_0x54d419['mapper']['markerNameToElements'](_0x57d88d['name']);if(!_0x5bdcbf)continue;const _0x17b236=Array['from'](_0x5bdcbf)['map'](_0x232c11=>_0xc40b['mapViewToDom'](_0x232c11))['filter'](_0x4b0ef2=>!!_0x4b0ef2);_0x4893b1['push'](..._0x17b236);}if(0x0===_0x4893b1['length'])return null;const _0x3fbcfa=[];for(const _0x5c695e of _0x4893b1){const _0x4ab3b7=_0x5c695e['getClientRects']()['item'](0x0);_0x4ab3b7&&_0x3fbcfa['push']({'x':_0x4ab3b7['x'],'y':_0x4ab3b7['y'],'domElement':_0x5c695e});}return 0x0===_0x3fbcfa['length']?null:(_0x3fbcfa['sort']((_0x27272c,_0x56282d)=>_0x27272c['y']-_0x56282d['y']||_0x27272c['x']-_0x56282d['x']),_0x3fbcfa['map'](_0x56c659=>_0x56c659['domElement']));}function St(_0x324617,{limit:_0x26bcdc,suffix:_0xdb49ce='...'}){const _0x403773=[];let _0x581ff3=0x0;const _0x116fd1=_0x324617['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x1a4ae4=0x0;_0x1a4ae4<_0x116fd1['length'];_0x1a4ae4++){let _0x552ab3=_0x116fd1[_0x1a4ae4];const _0x550939=Et(_0x552ab3);if(_0x552ab3['startsWith']('<')){if(_0x581ff3>=_0x26bcdc){const _0x33729e=_0x552ab3['match'](/[a-zA-Z]+/);if(!_0x33729e){_0x116fd1[_0x1a4ae4]='';continue;}const _0x46c487=_0x33729e[0x0];_0x552ab3['startsWith']('</')?(_0x403773['length']&&(_0x552ab3=''),_0x403773['pop']()):(_0x403773['push'](_0x46c487),_0x552ab3='');}}else{if(_0x581ff3>=_0x26bcdc)_0x552ab3='';else{if(_0x581ff3+_0x550939['length']>=_0x26bcdc){let _0x172663=_0x26bcdc-_0x581ff3;if('\x20'===_0x550939[_0x172663-0x1])_0x172663--;else{const _0xe55781=_0x550939['slice'](_0x172663)['indexOf']('\x20');-0x1!==_0xe55781?_0x172663+=_0xe55781:_0x172663=_0x552ab3['length'];}_0x552ab3=_0x550939['slice'](0x0,_0x172663)['join']('')+_0xdb49ce,_0x581ff3=_0x26bcdc;}else _0x581ff3+=_0x550939['length'];}}_0x116fd1[_0x1a4ae4]=_0x552ab3;}return _0x116fd1['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x223ab2){const _0x507c72=[];for(let _0x3fbb92=0x0;_0x3fbb92<_0x223ab2['length'];_0x3fbb92++){const _0x453457=_0x223ab2['substring'](_0x3fbb92)['match'](/^&[a-z0-9#]+;/);if(_0x453457){const _0x54761a=_0x453457[0x0];_0x507c72['push'](_0x54761a),_0x3fbb92+=_0x54761a['length']-0x1;}else _0x507c72['push'](_0x223ab2[_0x3fbb92]);}return _0x507c72;}var Mt=class extends _0x56c67c{submitView;['cancelView'];['focusTracker'];keystrokes;['focusCycler'];['focusables'];constructor(_0x59403c){super(_0x59403c);const _0x11e6a0=this['bindTemplate'];this['set']('message',D(_0x59403c,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x59403c,D(_0x59403c,'Yes'),_0x361f60,'submit'),this['cancelView']=this['_createButtonView'](_0x59403c,D(_0x59403c,'No'),_0xdfa83c,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x33a34f(),this['keystrokes']=new _0x149e7e(),this['focusCycler']=new _0x13b8a3({'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':_0x11e6a0['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(_0x21c2a3,_0x5556c2,_0x2304d9,_0x4d4d1c){const _0x3e813b=new _0x16dd91(_0x21c2a3);return _0x3e813b['label']=_0x5556c2,_0x3e813b['icon']=_0x2304d9,_0x3e813b['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x4d4d1c}}),_0x3e813b['on']('execute',()=>this['fire'](_0x4d4d1c)),_0x3e813b;}_setupKeyboardNavigation(){this['focusables']['forEach'](_0x406713=>{this['keystrokes']['listenTo'](_0x406713['element']),this['focusTracker']['add'](_0x406713['element']);}),this['keystrokes']['set']('esc',(_0x5b12f0,_0x4b8fdd)=>{this['fire']('cancel'),_0x4b8fdd();});}};function At(_0x374f15){return class _0x3db009 extends _0x374f15{['showConfirm'](_0x873a4c,_0x15fb23){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x873a4c,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x15fb23['appendChild'](this['confirmView']['element']),_0x15fb23['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x24655c,_0x9a4a46,_0x11fe0d)=>{_0x11fe0d||_0x15fb23['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x6a4f1c=>this['confirmView']['on']('submit',_0x6a4f1c));}['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 Tt(_0x3ac43a){let _0x5ec816=0x0,_0x47e1c7=0x0;for(const _0x41c697 of Nt(_0x3ac43a))_0x5ec816=(_0x5ec816<<0x5)-_0x5ec816+_0x41c697,_0x5ec816&=_0x5ec816,[_0x5ec816,_0x47e1c7]=[_0x47e1c7,_0x5ec816];return Bt(_0x5ec816)+Bt(_0x47e1c7);}function*Pt(_0x595fd8){null==_0x595fd8||null==_0x595fd8?yield 0x12b9b0a1:0x0===_0x595fd8||!0x1===_0x595fd8?yield 0x0:0x1===_0x595fd8||0x1==_0x595fd8?yield 0x1:Array['isArray'](_0x595fd8)?yield*function*(_0x4d0b57){for(const _0x1ecfc2 of _0x4d0b57)yield*Pt(_0x1ecfc2);}(_0x595fd8):'object'==typeof _0x595fd8?yield*Nt(_0x595fd8):'string'==typeof _0x595fd8?yield*Vt(_0x595fd8):'number'==typeof _0x595fd8&&(yield _0x595fd8);}function*Nt(_0x2bec2c){if(yield Ot('{'),_0x2bec2c){const _0x3f4dd9=Object['keys'](_0x2bec2c)['sort']();for(const _0x2da4f3 of _0x3f4dd9){yield*Vt(_0x2da4f3),yield Ot(':');const _0x3335ff=_0x2bec2c[_0x2da4f3];yield*Pt(_0x3335ff);}}yield Ot('}');}function*Vt(_0x5ce9ae){yield Ot('\x22');for(const _0x2bd7a1 of _0x5ce9ae)yield Ot(_0x2bd7a1);yield Ot('\x22');}function Ot(_0x2c3b61){return _0x2c3b61['charCodeAt'](0x0);}function Bt(_0x5cab94){return(_0x5cab94*=Math['sign'](_0x5cab94))['toString'](0x24);}function Dt(_0xc55b72){if('addAttribute'!=_0xc55b72['type']&&'removeAttribute'!=_0xc55b72['type']&&'changeAttribute'!=_0xc55b72['type'])return!0x1;try{return _0xc55b72['_validate'](),!0x1;}catch{return!0x0;}}const $t=['root','roots','initialData','context','toolbar','rootsAttributes'],Lt=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Rt(_0x462998,_0x26dc94,_0x19e268,_0x193cff=[]){const _0x22d3fd='string'==typeof _0x462998?_0x19e268['get'](_0x462998)['constructor']:_0x462998['prototype']['constructor'];if(_0x26dc94['has'](_0x22d3fd))return _0x26dc94['get'](_0x22d3fd);_0x26dc94['set'](_0x22d3fd,!0x0);const _0x3b667e=[...Lt,..._0x193cff]['map'](_0x10325a=>{if(_0x19e268['has'](_0x10325a))return _0x19e268['get'](_0x10325a)['constructor'];})['filter'](_0x44048e=>_0x44048e);if(_0x22d3fd&&_0x3b667e['includes'](_0x22d3fd))return _0x26dc94['set'](_0x22d3fd,!0x1),!0x1;if(!_0x22d3fd['requires'])return _0x26dc94['set'](_0x22d3fd,!0x0),!0x0;const _0x574144=_0x22d3fd['requires']['every'](_0x5b53c4=>Rt(_0x5b53c4,_0x26dc94,_0x19e268,_0x193cff));return _0x26dc94['set'](_0x22d3fd,_0x574144),_0x574144;}function Ft(_0xe5221e,_0x28f8d6){const _0x5ad827={};for(const _0x5216c3 of _0xe5221e['config']['names']())$t['includes'](_0x5216c3)||(_0x5ad827[_0x5216c3]=_0xe5221e['config']['get'](_0x5216c3));const _0x1452f5=_0x5ad827['plugins']||[],_0x43c32a=_0xe5221e['constructor']['builtinPlugins']||[],_0x38173f=_0x1452f5['length']?_0x1452f5:_0x43c32a,_0x777b99=_0x5ad827['extraPlugins']||[];delete _0x5ad827['extraPlugins'];const _0xa88489=_0x5ad827['removePlugins']||[];delete _0x5ad827['removePlugins'];const _0x539427=_0xe5221e['_context']['config']['get']('plugins')||[],_0x38caac=_0x38173f['concat'](_0x777b99)['concat'](_0x539427)['map'](_0x1ae56a=>'string'==typeof _0x1ae56a?_0x43c32a['find'](_0x104e20=>_0x104e20['pluginName']==_0x1ae56a):_0x1ae56a)['filter'](_0xc9afbb=>!_0xa88489['includes'](_0xc9afbb)&&!_0xa88489['includes'](_0xc9afbb['pluginName'])),_0x2c924a=Array['from'](new Set(_0x38caac)),_0x37c226=new Map();return _0x5ad827['plugins']=_0x2c924a['filter'](_0x3bc85b=>Rt(_0x3bc85b,_0x37c226,_0xe5221e['plugins'],_0x28f8d6)),_0x5ad827;}function Ht(_0x193c28,_0x1b9373){const _0x26366d=[];_0x193c28['document']['selection']['on']('change:range',()=>{const _0x37219f=function(_0x2e900c,_0x302fcd){const _0x4ac8ba=[];for(const _0x251656 of _0x2e900c['markers']){const _0x386de5=_0x251656['getRange']();(_0x386de5['containsPosition'](_0x302fcd)||_0x386de5['start']['isEqual'](_0x302fcd)||_0x386de5['end']['isEqual'](_0x302fcd))&&_0x4ac8ba['push'](_0x251656);}return _0x4ac8ba;}(_0x193c28,_0x193c28['document']['selection']['focus']),_0x409980=[],_0x188525=[],_0xcb8afb=[];for(const _0xae7b46 of _0x26366d)_0x37219f['includes'](_0xae7b46)||_0x409980['push'](_0xae7b46);for(const _0x3049d5 of _0x37219f)_0x26366d['includes'](_0x3049d5)||_0x188525['push'](_0x3049d5),_0xcb8afb['push'](_0x3049d5);(_0x409980['length']||_0x188525['length'])&&_0x1b9373({'left':_0x409980,'entered':_0x188525}),_0x26366d['length']=0x0,_0x26366d['push'](..._0xcb8afb);});}const Ut='Ctrl+Shift+E';function zt(_0x4737a4,_0x45b3ba){const _0x3b4db0=_0x4737a4['element'];_0x4737a4['keystrokes']['listenTo'](_0x3b4db0);for(const _0x2cb095 of _0x45b3ba)Wt(_0x4737a4,_0x2cb095);_0x45b3ba['on']('change',(_0x4cabaa,_0xc226e8)=>{for(const _0x3ccfaa of _0xc226e8['removed'])Yt(_0x4737a4,_0x3ccfaa);for(const _0x15f9dc of Array['from'](_0xc226e8['added'])['reverse']())Wt(_0x4737a4,_0x15f9dc);}),_0x4737a4['keystrokes']['set']('enter',(_0x164ebf,_0x2ffa28)=>{_0x3b4db0===_0x164ebf['target']&&(_0x4737a4['focusCycler']['focusFirst'](),_0x2ffa28());},{'filter':_0x4e851b=>_0x4e851b['target']===_0x3b4db0}),_0x4737a4['keystrokes']['set']('esc',(_0x466429,_0x26a021)=>{_0x3b4db0!==_0x466429['target']?_0x4737a4['focus']():_0x4737a4['fire']('escape'),_0x26a021();}),_0x4737a4['keystrokes']['set']('arrowdown',(_0x5b295b,_0x268471)=>{_0x3b4db0===_0x5b295b['target']&&(_0x4737a4['fire']('arrowdown'),_0x268471());}),_0x4737a4['keystrokes']['set']('arrowup',(_0x96551d,_0x54b117)=>{_0x3b4db0===_0x96551d['target']&&(_0x4737a4['fire']('arrowup'),_0x54b117());});}function Wt(_0x59c8e9,_0x57e4d0){_0x57e4d0['isRendered']&&(_0x59c8e9['focusTracker']['add'](_0x57e4d0['element']),_0x59c8e9['keystrokes']['listenTo'](_0x57e4d0['element']),_0x1488d5(_0x57e4d0)&&function(_0x3c6866,_0x17615a){const _0x142297=_0x3c6866['actions'],_0x37b496=_0x17615a['actions'];for(const _0x2194a0 of Object['keys'](_0x142297))if(_0x2194a0 in _0x37b496&&_0x142297[_0x2194a0]!==_0x37b496[_0x2194a0])return!0x1;return!0x0;}(_0x59c8e9['focusCycler'],_0x57e4d0['focusCycler'])&&_0x59c8e9['focusCycler']['chain'](_0x57e4d0['focusCycler']));}function Yt(_0xf17e87,_0x413efd){_0xf17e87['focusTracker']['remove'](_0x413efd['element']),_0xf17e87['keystrokes']['stopListening'](_0x413efd['element']),_0x1488d5(_0x413efd)&&_0xf17e87['focusCycler']['unchain'](_0x413efd['focusCycler']);}const jt='$elementId',Jt='data-id';var Gt=class extends _0x37f27d{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async init(){this['context']instanceof _0x5483eb?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x4ee93d,_0x413354)=>{_0x413354['on']('ready',()=>{this['_integrateEditor'](_0x413354);});});}get editor(){if(this['context']instanceof _0x5483eb)return this['context'];{const _0x5b3585=this['context']['editors']['first'];if(!_0x5b3585)throw new _0x2ed40a('documentcompare-no-editor',this);return _0x5b3585;}}getDiff(_0x2823fb,_0x366303,_0x3eebcd={'anchor':'main','markDeletions':!0x1}){const _0x48c190=_0x3eebcd['targetEditor']||this['editor'],_0x1ba249=_0x3eebcd['anchor']??'main';let _0x473af2,_0x1f9185;if('string'==typeof _0x1ba249){const _0x2573f3=_0x48c190['model']['document']['getRoot'](_0x1ba249);if(!_0x2573f3)throw new _0x2ed40a('documentcompare-compare-no-root',this,{'anchor':_0x1ba249});_0x473af2=_0x2573f3,_0x1f9185=_0x48c190['model']['createPositionAt'](_0x2573f3,0x0);}else _0x473af2=_0x1ba249['clone'](),_0x1f9185=_0x1ba249['clone']();const _0x2bbd10=_0x48c190['data']['parse'](_0x2823fb,_0x473af2),_0x43ffa9=_0x48c190['data']['parse'](_0x366303,_0x473af2);return new Kt({'editor':_0x48c190,'before':_0x2bbd10,'after':_0x43ffa9,'options':{'anchor':_0x1f9185,'markDeletions':_0x3eebcd['markDeletions']}});}isMarkedRemoveOperation(_0x179306){return'marker'==_0x179306['type']&&_0x179306['name']['startsWith']('$markedRemove');}applyOperations(_0x1c8eb7,_0xa82eda){const _0x2ed2bf=_0x1c8eb7['model'];for(const _0x4e81a4 of _0xa82eda)Dt(_0x4e81a4)||(_0x4e81a4 instanceof _0x16d21e?_0x1c8eb7['_addOperationForAffectedMarkers']('move',_0x5e9b44['_createFromPositionAndShift'](_0x4e81a4['sourcePosition'],_0x4e81a4['howMany'])):_0x4e81a4 instanceof _0x5288f2?_0x1c8eb7['_addOperationForAffectedMarkers']('merge',_0x4e81a4['deletionPosition']):_0x4e81a4 instanceof _0x23d8eb&&this['_fixMarkerOperationOldRange'](_0x2ed2bf,_0x4e81a4),_0x4e81a4['baseVersion']=_0x2ed2bf['document']['version'],_0x1c8eb7['batch']['addOperation'](_0x4e81a4),_0x2ed2bf['applyOperation'](_0x4e81a4));}_fixMarkerOperationOldRange(_0x138e24,_0xe6aaa0){const _0x1c41c0=_0x138e24['markers']['get'](_0xe6aaa0['name']);_0x1c41c0&&(_0xe6aaa0['oldRange']=_0x1c41c0['getRange']());}_integrateEditor(_0x4593cc){_0x4593cc['conversion']['for']('upcast')['add'](_0x2a93c3=>{_0x2a93c3['on']('element',(_0x2178ca,_0x2ca096,_0xb7646f)=>{if(_0x2ca096['modelRange']&&_0xb7646f['consumable']['consume'](_0x2ca096['viewItem'],{'attributes':'data-id'}))for(const _0x3abd89 of _0x2ca096['modelRange']['getItems']({'shallow':!0x0})){if(_0x3abd89['is']('$textProxy'))continue;const _0x16a8ca=_0x2ca096['viewItem']['getAttribute'](Jt);_0x16a8ca&&_0xb7646f['writer']['setAttribute'](jt,_0x16a8ca,_0x3abd89);}},{'priority':'low'});}),_0x4593cc['model']['schema']['addAttributeCheck'](()=>!0x0,jt);}},Kt=class{_editor;_diffItems=[];_markDeletions;['_anchor'];_operationsData=[];_path=[0x0];_parents=[];_splitPostponedData=new Map();constructor({editor:_0x12e994,before:_0x4ac06c,after:_0x15e496,options:_0x348387}){this['_editor']=_0x12e994,this['_markDeletions']=!!_0x348387['markDeletions'],this['_anchor']=_0x348387['anchor'];const _0x4ea806=this['_tokenizeModel'](_0x4ac06c),_0x10b1ec=this['_tokenizeModel'](_0x15e496);this['_diffItems']=this['_diffModelTokens'](_0x4ea806,_0x10b1ec),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x4ac06c['markers'],_0x15e496['markers']);}getOperationsData(){return this['_operationsData'];}getOperations(){const _0x16a0c8=this['_editor']['model']['document'],_0x441f39=[];let _0x19d0df=_0x16a0c8['version'];for(const _0x806d1c of this['_operationsData'])switch(_0x806d1c['type']){case'attribute':{const _0x20eb25=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']),_0x1c865c=new _0x5e9b44(_0x20eb25,_0x20eb25['getShiftedBy'](_0x806d1c['howMany'])),_0x4f64ed=JSON['parse'](_0x806d1c['oldValue']),_0x4624b3=JSON['parse'](_0x806d1c['newValue']);_0x441f39['push'](new _0x81dec2(_0x1c865c,_0x806d1c['key'],_0x4f64ed,_0x4624b3,_0x19d0df++));break;}case'insert':{const _0x307ac3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']),_0x1b315a=this['_makeModelFromTokens'](_0x806d1c['tokens']);_0x441f39['push'](new _0x3c448e(_0x307ac3,_0x1b315a,_0x19d0df++));break;}case'remove':{const _0x21512c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']),_0x52157e=new _0x224efa(_0x16a0c8['graveyard'],[0x0]);_0x441f39['push'](new _0x16d21e(_0x21512c,_0x806d1c['howMany'],_0x52157e,_0x19d0df++));break;}case'rename':{const _0x535aa6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']);_0x441f39['push'](new _0x118b44(_0x535aa6,_0x806d1c['oldName'],_0x806d1c['newName'],_0x19d0df++));break;}case'split':{const _0x2a7850=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']),_0x4fbeaa=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']['slice'](0x0,-0x1));_0x4fbeaa['offset']++,_0x441f39['push'](new _0x338267(_0x2a7850,Number['NEGATIVE_INFINITY'],_0x4fbeaa,null,_0x19d0df++));break;}case'merge':{const _0x468244=_0x806d1c['path']['slice'](),_0x2ed1b3=_0x468244['slice'](0x0,-0x1);_0x2ed1b3[_0x2ed1b3['length']-0x1]++,_0x2ed1b3['push'](0x0);const _0x2a8b66=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ed1b3),_0x584675=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x468244),_0xc630ff=new _0x224efa(_0x16a0c8['graveyard'],[0x0]);_0x441f39['push'](new _0x5288f2(_0x2a8b66,Number['NEGATIVE_INFINITY'],_0x584675,_0xc630ff,_0x19d0df++));break;}case'marker':case'markedRemove':{let _0x3ca5c4=null;_0x806d1c['range']&&(_0x3ca5c4=new _0x5e9b44(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['range']['end'])));const _0x1ea992='marker'==_0x806d1c['type']?_0x806d1c['name']:'$markedRemove:'+_0x294bfc();_0x441f39['push'](new _0x23d8eb(_0x1ea992,null,_0x3ca5c4,_0x16a0c8['model']['markers'],!0x0,_0x19d0df++));break;}case'unwrap':{const _0x4fb6e5=_0x806d1c['path']['slice']();_0x4fb6e5['push'](0x0);const _0x4614dd=_0x806d1c['path']['slice'](),_0x5e0742=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4fb6e5),_0x3a28e2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4614dd),_0x54fe52=new _0x224efa(_0x16a0c8['graveyard'],[0x0]);_0x441f39['push'](new _0x16d21e(_0x5e0742,_0x806d1c['howMany'],_0x3a28e2,_0x19d0df++)),_0x441f39['push'](new _0x16d21e(_0x3a28e2['getShiftedBy'](_0x806d1c['howMany']),0x1,_0x54fe52,_0x19d0df++));break;}case'wrap':{const _0x3e39e2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['range']['start']),_0x5f38a9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['range']['end']),_0x542252=_0x806d1c['token']['element']['_clone'](!0x1);_0x542252['_removeAttribute'](jt);const _0x4755b1=_0x806d1c['range']['end']['slice']();_0x4755b1['push'](0x0);const _0x34e7fa=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4755b1);_0x441f39['push'](new _0x3c448e(_0x5f38a9,_0x542252,_0x19d0df++)),_0x441f39['push'](new _0x16d21e(_0x3e39e2,_0x5f38a9['offset']-_0x3e39e2['offset'],_0x34e7fa,_0x19d0df++));break;}}return _0x441f39;}_tokenizeModel(_0x4eb54a){const _0x2e6e79=[],_0x46610a=new _0x384a2d({'boundaries':_0x5e9b44['_createIn'](_0x4eb54a)});let _0x3a4edf='',_0x3c59e7=null;const _0x25f0a1=[''],_0x4a5f1c=new Map();for(const _0x175dfc of _0x46610a)if('elementStart'==_0x175dfc['type']||'elementEnd'==_0x175dfc['type']){let _0x3ebffb=_0x25f0a1[0x0];''!==_0x3a4edf&&(_0x2e6e79['push'](...this['_makeTokensFromTextByWords'](_0x3a4edf,_0x3c59e7,_0x3ebffb)),_0x3a4edf='');const _0x20f06b=_0x175dfc['item'];let _0x43c9a9;_0x20f06b['getAttribute']('$elementId')?_0x43c9a9=_0x20f06b['getAttribute'](jt):'elementStart'==_0x175dfc['type']?(_0x43c9a9=Zt(_0x20f06b),_0x4a5f1c['set'](_0x20f06b,_0x43c9a9)):_0x43c9a9=_0x4a5f1c['get'](_0x20f06b);const _0x38b10c=this['_getElementCategory'](_0x20f06b);'solid'==_0x38b10c&&('elementStart'==_0x175dfc['type']?(_0x3ebffb=_0x43c9a9,_0x25f0a1['unshift'](_0x3ebffb)):_0x25f0a1['shift']());const _0x4495ca={'type':'element','element':_0x20f06b,'elementId':_0x43c9a9,'category':_0x38b10c,'isStart':'elementStart'==_0x175dfc['type'],'limitId':_0x3ebffb};_0x2e6e79['push'](_0x4495ca);}else''==_0x3a4edf&&(_0x3c59e7=_0x175dfc['previousPosition']['clone']()),_0x3a4edf+=_0x175dfc['item']['data'];return''!==_0x3a4edf&&_0x2e6e79['push'](...this['_makeTokensFromTextByWords'](_0x3a4edf,_0x3c59e7,_0x25f0a1[0x0])),_0x2e6e79;}_makeTokensFromTextByWords(_0x10f2a5,_0x47a5ee,_0x2825af){const _0xd820a0=_0x10f2a5['matchAll'](/(\s)/g),_0x515207=Array['from'](_0xd820a0)['map'](_0x12ea27=>_0x12ea27['index']);_0x515207['push'](_0x10f2a5['length']),0x0==_0x515207[0x0]&&_0x515207['shift']();const _0x3cada7=[],_0x58b6e0=_0x47a5ee['parent'];let _0x3fc046=0x0,_0x29e50e=_0x47a5ee['offset'];for(let _0x589b96=0x0;_0x589b96<_0x515207['length'];_0x589b96++)_0x3cada7['push']({'type':'text','data':_0x10f2a5['slice'](_0x3fc046,_0x515207[_0x589b96]),'parent':_0x58b6e0,'offset':_0x29e50e,'limitId':_0x2825af}),_0x3fc046=_0x515207[_0x589b96],_0x29e50e=_0x47a5ee['offset']+_0x515207[_0x589b96];return _0x3cada7;}_getElementCategory(_0x57a0eb){const _0x351d61=this['_editor']['model']['schema'];return _0x351d61['isLimit'](_0x57a0eb)||_0x351d61['isContent'](_0x57a0eb)||_0x351d61['isInline'](_0x57a0eb)?'solid':_0x351d61['isBlock'](_0x57a0eb)?'block':function(_0x3b6bc3,_0x1cfb67){const _0x7ea1b8=_0x3b6bc3['parent'];if(!_0x7ea1b8||_0x7ea1b8['is']('documentFragment'))return!0x1;if(_0x1cfb67['checkChild'](_0x7ea1b8,'$text'))return!0x1;for(const _0x251ec1 of _0x3b6bc3['getChildren']())if(_0x251ec1['is']('$text'))return!0x0;return!0x1;}(_0x57a0eb,_0x351d61)?'solid':'container';}['_diffModelTokens'](_0x5295be,_0x5f2735){const _0x3dcff3=_0x563a26(_0x5295be,_0x5f2735,{'comparator':qt});this['_handleUnclosedBlockOpeningTags'](_0x3dcff3);const _0x2a17ec=_0x3dcff3['flatMap'](_0x1ebb7f=>{const _0x59efd5=_0x1ebb7f['added']?'added':_0x1ebb7f['removed']?'removed':'unchanged';return _0x1ebb7f['value']['map'](_0x3aae95=>({'token':_0x3aae95,'change':_0x59efd5}));});let _0x801155=0x0;for(const _0x437f1b of _0x2a17ec)'added'!=_0x437f1b['change']&&('unchanged'==_0x437f1b['change']&&(_0x437f1b['before']=_0x5295be[_0x801155]),_0x801155++);return _0x2a17ec;}['_handleUnclosedBlockOpeningTags'](_0x2acbf6){for(let _0x117167=0x0;_0x117167<_0x2acbf6['length']-0x1;_0x117167++)if(_0x2acbf6[_0x117167]['removed']&&_0x2acbf6[_0x117167+0x1]['added']){const _0x3deda9=this['_findUnclosedBlockOpeningToken'](_0x2acbf6[_0x117167]['value']);if(null!==_0x3deda9){const _0x3ac27b=this['_findUnclosedBlockOpeningToken'](_0x2acbf6[_0x117167+0x1]['value']),_0x3896cc=_0x2acbf6[_0x117167]['value']['splice'](_0x3deda9),_0x27a7b4=_0x2acbf6[_0x117167+0x1]['value']['splice'](_0x3ac27b),_0x555bdd=[_0x27a7b4['shift']()];_0x3896cc['shift']();const _0x35c14b={'value':_0x3896cc,'removed':!0x0},_0xbcbdf6={'value':_0x27a7b4,'added':!0x0},_0x4888ca={'value':_0x555bdd};_0x2acbf6['splice'](_0x117167+0x2,0x0,_0x4888ca,_0x35c14b,_0xbcbdf6);}}}['_findUnclosedBlockOpeningToken'](_0x1e8132){let _0x402b10=0x0,_0x4bd5b4=-0x1;for(let _0x6305e5=0x0;_0x6305e5<_0x1e8132['length'];_0x6305e5++){const _0x4bc600=_0x1e8132[_0x6305e5];'element'==_0x4bc600['type']&&'block'==_0x4bc600['category']&&(_0x402b10+=_0x4bc600['isStart']?0x1:-0x1,_0x4bc600['isStart']&&(_0x4bd5b4=_0x6305e5));}return 0x0===_0x402b10?null:_0x4bd5b4;}_calculateOperationsData(){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x5df9e2=0x0;_0x5df9e2<this['_diffItems']['length'];_0x5df9e2++){const _0x37ab91=this['_diffItems'][_0x5df9e2]['change'],_0x15edd4=[];_0x15edd4['push'](this['_diffItems'][_0x5df9e2]);let _0x56c65e=_0x5df9e2+0x1;for(;this['_diffItems'][_0x56c65e]&&this['_diffItems'][_0x56c65e]['change']==_0x37ab91;)_0x15edd4['push'](this['_diffItems'][_0x56c65e]),_0x56c65e++,_0x5df9e2++;const _0x3bac3e=_0x15edd4['map'](_0x2ae725=>_0x2ae725['token']);if('unchanged'==_0x37ab91)_0x15edd4['map'](_0x37a0ef=>_0x37a0ef['before'])['forEach'](_0x41993b=>this['_traverseOverItem'](_0x41993b));else{if('removed'==_0x37ab91){if(this['_markDeletions']){const _0x41c38e=this['_path']['slice']();_0x3bac3e['forEach'](_0x4faa9f=>this['_traverseOverItem'](_0x4faa9f));const _0xb434b4=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x41c38e,'end':_0xb434b4}});}else this['_handleChanged'](_0x3bac3e,!0x0,this['_path']['slice']());}else{const _0x5a187c=_0x3bac3e['filter'](_0x2b634d=>'element'!=_0x2b634d['type']||'container'!=_0x2b634d['category']);this['_handleChanged'](_0x5a187c,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x102b65=0x0;_0x102b65<this['_diffItems']['length'];_0x102b65++){const _0x5e1db8=this['_diffItems'][_0x102b65]['change'],_0x169e09=[];_0x169e09['push'](this['_diffItems'][_0x102b65]);let _0x101be4=_0x102b65+0x1;for(;this['_diffItems'][_0x101be4]&&this['_diffItems'][_0x101be4]['change']==_0x5e1db8;)_0x169e09['push'](this['_diffItems'][_0x101be4]),_0x101be4++,_0x102b65++;const _0x592cd4=_0x169e09['map'](_0x218e43=>_0x218e43['token']);if('unchanged'==_0x5e1db8){const _0x10f9a4=_0x169e09['map'](_0x45f9f2=>_0x45f9f2['before']);this['_handleUnchanged'](_0x10f9a4,_0x592cd4);}else('added'==_0x5e1db8||this['_markDeletions'])&&_0x592cd4['forEach'](_0x508945=>{'element'==_0x508945['type']&&_0x508945['isStart']&&this['_splitPostponedData']['has'](_0x508945['element'])&&this['_handleSplitPostponedData'](_0x508945['element'],this['_path']),this['_traverseOverItem'](_0x508945);});}}_handleSplitPostponedData(_0x2de1b5,_0x177336){const _0x327c0f=this['_splitPostponedData']['get'](_0x2de1b5);for(const _0x8495f8 of _0x327c0f)'rename'==_0x8495f8['type']?this['_operationsData']['push']({'type':'rename','path':_0x177336['slice'](),'oldName':_0x8495f8['oldValue'],'newName':_0x2de1b5['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x177336['slice'](),'howMany':0x1,'key':_0x8495f8['key'],'oldValue':_0x8495f8['oldValue'],'newValue':JSON['stringify'](_0x2de1b5['getAttribute'](_0x8495f8['key'])??null)});}_calculateMarkersOperationsData(_0x22d626,_0x565703){const _0x3a3c8d={};for(const [_0x182a64]of _0x22d626)_0x3a3c8d[_0x182a64]=null;for(const [_0x1c8448,_0x5a3628]of _0x565703)_0x3a3c8d[_0x1c8448]=_0x5a3628;const _0x2e490d=Object['entries'](_0x3a3c8d)['map'](([_0x3a8ad9,_0x10f3e3])=>({'type':'marker','name':_0x3a8ad9,'range':_0x10f3e3?{'start':_0x10f3e3['start']['path']['slice'](),'end':_0x10f3e3['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x2e490d);}['_handleUnwraps'](){const _0x13dd19=new Map(),_0x2e64a9=[],_0x2f711a=[0x0];let _0x16f813=this['_diffItems']['length']+0x1;for(let _0x34cb69=this['_diffItems']['length']-0x1;_0x34cb69>=0x0;_0x34cb69--){const {token:_0x31a667,before:_0x4aa5e9,change:_0x226ff4}=this['_diffItems'][_0x34cb69];if('removed'!=_0x226ff4&&(_0x16f813=_0x34cb69),'element'!=_0x31a667['type']||'container'!=_0x31a667['category']||'added'==_0x226ff4)continue;const _0x1f4191=_0x4aa5e9?_0x4aa5e9['element']:_0x31a667['element'];if(_0x31a667['isStart']){const _0x2b32b3=_0x13dd19['get'](_0x1f4191),_0x199f5f=this['_diffItems'][_0x2b32b3];('removed'==_0x226ff4||'removed'==_0x199f5f['change'])&&_0x16f813<_0x2b32b3&&(this['_operationsData']['push']({'type':'unwrap','path':_0x1f4191['getPath'](),'howMany':_0x1f4191['maxOffset']+_0x2f711a[0x0]}),_0x2f711a['shift'](),_0x2f711a[0x0]+=_0x1f4191['maxOffset']-0x1,_0x2e64a9['push'](_0x34cb69),_0x2e64a9['push'](_0x2b32b3));}else _0x13dd19['set'](_0x1f4191,_0x34cb69),_0x2f711a['unshift'](0x0);}_0x2e64a9['sort']((_0x485ef4,_0x21a72c)=>_0x21a72c-_0x485ef4),_0x2e64a9['forEach'](_0x5b04f6=>{const _0x3da12a=this['_diffItems'][_0x5b04f6];'removed'==_0x3da12a['change']?this['_diffItems']['splice'](_0x5b04f6,0x1):(_0x3da12a['change']='added',delete _0x3da12a['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x28076b=[];for(let _0x126acf=0x0;_0x126acf<this['_diffItems']['length'];_0x126acf++){const {change:_0x43aeb8,token:_0x465017}=this['_diffItems'][_0x126acf];if('added'==_0x43aeb8&&'element'==_0x465017['type']&&'container'==_0x465017['category']){if(_0x465017['isStart'])_0x28076b['push'](this['_path']['slice']());else{if(!_0x465017['isStart']){const _0x20dd91=_0x28076b['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x20dd91,'end':this['_path']['slice']()},'token':_0x465017}),this['_path'][this['_path']['length']-0x1]=_0x20dd91[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x43aeb8||this['_markDeletions'])&&this['_traverseOverItem'](_0x465017);}}['_handleUnchanged'](_0x1b9540,_0x1c7a4a){for(let _0x5d6021=0x0;_0x5d6021<_0x1b9540['length'];_0x5d6021++){const _0x414a45=_0x1b9540[_0x5d6021];if('element'==_0x414a45['type']&&_0x414a45['isStart']){const _0x3112f8=_0x1c7a4a[_0x5d6021];'block'==_0x414a45['category']&&this['_handleElementRename'](_0x414a45['element'],_0x3112f8['element'],this['_path']),this['_handleElementAttributeChanges'](_0x414a45['element'],_0x3112f8['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x3112f8);}else{if('element'!=_0x414a45['type']||_0x414a45['isStart']){if('text'==_0x414a45['type']){const _0x46de69=this['_path']['slice'](),_0x41d9cb=[],_0x3f5890=[];for(;_0x1b9540[_0x5d6021]&&'text'==_0x1b9540[_0x5d6021]['type'];)_0x41d9cb['push'](_0x1b9540[_0x5d6021]),_0x3f5890['push'](_0x1c7a4a[_0x5d6021]),this['_path'][this['_path']['length']-0x1]+=_0x1b9540[_0x5d6021]['data']['length'],_0x5d6021++;_0x5d6021--,this['_handleTextAttributeChanges'](_0x41d9cb,_0x3f5890,_0x46de69);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x19bf0a,_0x265f45,_0x3aa7c3){const _0x561e4f=[],_0x2ff438=[],_0x36fae8=_0x3aa7c3['slice']();let _0x3c04bd=this['_parents']['length']-0x1;for(let _0x2ce306=0x0;_0x2ce306<_0x19bf0a['length'];_0x2ce306++){const _0x299580=_0x19bf0a[_0x2ce306],_0x5d85f5=_0x3aa7c3['slice']();'element'!=_0x299580['type']||_0x299580['isStart']?'element'==_0x299580['type']&&_0x299580['isStart']?(_0x3aa7c3['push'](0x0),_0x3c04bd++,_0x2ff438['push']({'before':_0x5d85f5,'after':_0x3aa7c3['slice'](),'index':_0x2ce306})):_0x3aa7c3[_0x3aa7c3['length']-0x1]+=_0x299580['data']['length']:(_0x3aa7c3['pop'](),_0x3aa7c3[_0x3aa7c3['length']-0x1]++,_0x3c04bd--,_0x2ff438['length']?_0x2ff438['pop']():_0x561e4f['push']({'before':_0x5d85f5,'after':_0x3aa7c3['slice'](),'index':_0x2ce306}));}if(_0x2ff438['length']!==_0x561e4f['length'])throw new _0x2ed40a('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x19bf0a,'isRemove':_0x265f45});const _0x4e4f6a=[{'after':_0x36fae8['slice'](),'index':-0x1},..._0x561e4f,..._0x2ff438,{'before':_0x3aa7c3['slice'](),'index':_0x19bf0a['length']}];if(_0x265f45){for(let _0x4cc4a9=_0x4e4f6a['length']-0x1;_0x4cc4a9>=0x1;_0x4cc4a9--){const _0xef103b=_0x4e4f6a[_0x4cc4a9-0x1]['after'],_0x13c18a=_0x4e4f6a[_0x4cc4a9]['before'],_0x3e8f0a=_0x13c18a[_0x13c18a['length']-0x1]-_0xef103b[_0xef103b['length']-0x1];_0x3e8f0a&&(this['_operationsData']['push']({'type':'remove','path':_0xef103b,'howMany':_0x3e8f0a}),_0x13c18a[_0x13c18a['length']-0x1]-=_0x3e8f0a);}for(const {before:_0x319af2}of _0x561e4f)this['_operationsData']['push']({'type':'merge','path':_0x319af2});}else for(let _0x36f47f=0x0;_0x36f47f<_0x4e4f6a['length']-0x1;_0x36f47f++){const _0x1b2d6b=_0x4e4f6a[_0x36f47f]['after'],_0x379c05=_0x4e4f6a[_0x36f47f+0x1]['before'],_0x390ede=_0x4e4f6a[_0x36f47f]['index']+0x1,_0x96a7ec=_0x4e4f6a[_0x36f47f+0x1]['index'];if(_0x390ede!==_0x96a7ec&&this['_operationsData']['push']({'type':'insert','path':_0x1b2d6b,'tokens':_0x19bf0a['slice'](_0x390ede,_0x96a7ec)}),_0x36f47f<_0x561e4f['length']){this['_operationsData']['push']({'type':'split','path':_0x379c05});const _0x274c52=_0x19bf0a[_0x2ff438[_0x2ff438['length']-0x1-_0x36f47f]['index']],_0x550db8=this['_parents'][_0x3c04bd]['element'];_0x550db8['name']!=_0x274c52['element']['name']&&this['_addSplitPostponedData'](_0x274c52['element'],{'type':'rename','oldValue':_0x550db8['name']});const _0x46fb15=this['_getAttributeChanges'](_0x550db8['getAttributes'](),_0x274c52['element']['getAttributes']());for(const _0x446fa5 in _0x46fb15){const _0x34016d=_0x46fb15[_0x446fa5]['oldValue'];this['_addSplitPostponedData'](_0x274c52['element'],{'type':'attribute','key':_0x446fa5,'oldValue':_0x34016d});}}}}_addSplitPostponedData(_0x4afc22,_0x58f903){const _0x1bb7ff=this['_splitPostponedData']['get'](_0x4afc22)||[];_0x1bb7ff['push'](_0x58f903),this['_splitPostponedData']['set'](_0x4afc22,_0x1bb7ff);}_traverseOverItem(_0x5cc104){'element'==_0x5cc104['type']&&_0x5cc104['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x5cc104)):'element'!=_0x5cc104['type']||_0x5cc104['isStart']?'text'==_0x5cc104['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x5cc104['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}_handleElementRename(_0x577d02,_0x4e9f96,_0x4475aa){_0x577d02['name']!=_0x4e9f96['name']&&this['_operationsData']['push']({'type':'rename','path':_0x4475aa['slice'](),'oldName':_0x577d02['name'],'newName':_0x4e9f96['name']});}_handleElementAttributeChanges(_0x48d7ba,_0x4da0cf,_0x1c4c1b){const _0x2ec762=this['_getAttributeChanges'](_0x48d7ba['getAttributes'](),_0x4da0cf['getAttributes']());for(const _0x79148f in _0x2ec762){const {oldValue:_0x35b1d9,newValue:_0x34ae32}=_0x2ec762[_0x79148f];this['_operationsData']['push']({'type':'attribute','path':_0x1c4c1b['slice'](),'howMany':0x1,'key':_0x79148f,'oldValue':_0x35b1d9,'newValue':_0x34ae32});}}_handleTextAttributeChanges(_0x464961,_0x1c9f3a,_0x343c91){const _0x207c94=this['_operationsData'],_0x1d48ae=_0x464961[0x0]['parent'],_0x4797e9=_0x464961[0x0]['offset'],_0x5ac429=_0x1c9f3a[0x0]['parent'],_0x354cb4=_0x1c9f3a[0x0]['offset'],_0x35a98b=_0x464961['reduce']((_0x1dd0a1,_0x20783b)=>_0x1dd0a1+_0x20783b['data']['length'],0x0),_0x45e832=this['_getAttrsForOffsets'](_0x1d48ae,_0x4797e9,_0x35a98b),_0x220905=this['_getAttrsForOffsets'](_0x5ac429,_0x354cb4,_0x35a98b),_0x351f57={};for(let _0x2efd72=0x0;_0x2efd72<_0x35a98b;_0x2efd72++){const _0x5d8b5d=_0x45e832[_0x4797e9+_0x2efd72],_0x2070d5=_0x220905[_0x354cb4+_0x2efd72],_0x2177cf=this['_getAttributeChanges'](_0x5d8b5d,_0x2070d5);for(const _0x5d02be in _0x351f57)_0x2177cf[_0x5d02be]||_0xc16c85(_0x5d02be);for(const _0x69c761 in _0x2177cf){const {oldValue:_0x50d89c,newValue:_0x2f8a3a}=_0x2177cf[_0x69c761],_0x4f1cb2=_0x351f57[_0x69c761];_0x4f1cb2?_0x4f1cb2['oldValue']==_0x50d89c&&_0x4f1cb2['newValue']==_0x2f8a3a?_0x4f1cb2['length']++:(_0xc16c85(_0x69c761),_0x351f57[_0x69c761]={'oldValue':_0x50d89c,'newValue':_0x2f8a3a,'start':_0x2efd72,'length':0x1}):_0x351f57[_0x69c761]={'oldValue':_0x50d89c,'newValue':_0x2f8a3a,'start':_0x2efd72,'length':0x1};}}for(const _0x3ce481 in _0x351f57)_0xc16c85(_0x3ce481);function _0xc16c85(_0x48d3b7){const _0x808b00=_0x351f57[_0x48d3b7],_0x375dcb=_0x343c91['slice']();_0x375dcb[_0x375dcb['length']-0x1]+=_0x808b00['start'],_0x207c94['push']({'type':'attribute','path':_0x375dcb,'howMany':_0x808b00['length'],'key':_0x48d3b7,'oldValue':_0x808b00['oldValue'],'newValue':_0x808b00['newValue']}),delete _0x351f57[_0x48d3b7];}}_getAttributeChanges(_0x56c42e,_0x28cb48){const _0x3d96e8={};for(const [_0x3a3f87,_0x300541]of _0x56c42e)_0x3d96e8[_0x3a3f87]={'oldValue':JSON['stringify'](_0x300541),'newValue':'null'};for(const [_0x293103,_0x4e1418]of _0x28cb48){const _0x31acdf=JSON['stringify'](_0x4e1418);_0x3d96e8[_0x293103]?_0x3d96e8[_0x293103]['oldValue']==_0x31acdf?delete _0x3d96e8[_0x293103]:_0x3d96e8[_0x293103]['newValue']=_0x31acdf:_0x3d96e8[_0x293103]={'oldValue':'null','newValue':_0x31acdf};}return delete _0x3d96e8[jt],_0x3d96e8;}_getAttrsForOffsets(_0x42bda4,_0x278a6d,_0x4460af){const _0x315a2c=new Array(_0x278a6d+_0x4460af);let _0x8e8038=_0x42bda4['getChildAtOffset'](_0x278a6d),_0x2902d1=_0x8e8038['startOffset'];for(;_0x8e8038&&_0x2902d1<_0x278a6d+_0x4460af;){const _0x445e36=Array['from'](_0x8e8038['getAttributes']());_0x315a2c['fill'](_0x445e36,_0x2902d1,_0x2902d1+_0x8e8038['offsetSize']),_0x2902d1+=_0x8e8038['offsetSize'],_0x8e8038=_0x8e8038['nextSibling'];}return _0x315a2c;}_getPositionFromAnchorAndPath(_0x9e03d7,_0x48a047){const _0x261d7=[..._0x9e03d7['path']['slice'](0x0,-0x1),_0x9e03d7['offset']+_0x48a047[0x0],..._0x48a047['slice'](0x1)];return new _0x224efa(_0x9e03d7['root'],_0x261d7);}['_makeModelFromTokens'](_0x5a8ea5){const _0x247c42=[];let _0x31d012=null;for(const _0x41903e of _0x5a8ea5)if('element'!=_0x41903e['type']||_0x41903e['isStart']||_0x31d012!=_0x41903e['element']){if(!_0x31d012){if('text'==_0x41903e['type']){const _0x16b3e9=_0x224efa['_createAt'](_0x41903e['parent'],_0x41903e['offset']),_0xe8c5cf=_0x5e9b44['_createFromPositionAndShift'](_0x16b3e9,_0x41903e['data']['length']),_0x44aeb8=Array['from'](_0xe8c5cf['getItems']())['map'](_0x2f8892=>new _0x272f0e(_0x2f8892['data'],_0x2f8892['getAttributes']()));_0x247c42['push'](..._0x44aeb8);}else{_0x31d012=_0x41903e['element'];const _0x28d444=_0x41903e['element']['_clone'](!0x0);_0x28d444['_removeAttribute'](jt);for(const _0x1696e5 of this['_editor']['model']['createRangeIn'](_0x28d444)['getItems']())_0x1696e5['is']('element')&&_0x1696e5['_removeAttribute'](jt);_0x247c42['push'](_0x28d444);}}}else _0x31d012=null;return _0x247c42;}};function qt(_0x43e1c6,_0x576f21){return _0x43e1c6['type']===_0x576f21['type']&&(_0x43e1c6['limitId']===_0x576f21['limitId']&&('text'==_0x43e1c6['type']?_0x43e1c6['data']==_0x576f21['data']:function(_0xcc0ab,_0x44223a){if(_0xcc0ab['isStart']!=_0x44223a['isStart'])return!0x1;if(_0xcc0ab['isStart']&&_0xcc0ab['elementId']!=_0x44223a['elementId'])return!0x1;if(_0xcc0ab['category']!=_0x44223a['category'])return!0x1;if('block'==_0xcc0ab['category'])return!0x0;if('container'==_0xcc0ab['category']&&_0xcc0ab['elementId']!=_0x44223a['elementId'])return!0x1;return _0xcc0ab['element']['name']==_0x44223a['element']['name'];}(_0x43e1c6,_0x576f21)));}function Zt(_0x346a0f){return Tt({'name':_0x346a0f['name'],...Object['fromEntries'](_0x346a0f['getAttributes']())});}export{z as AriaDescriptionView,F as CollaborationUserColor,At as ConfirmMixin,jt as DATA_ID_MODEL_ATTRIBUTE,Jt as DATA_ID_VIEW_ATTRIBUTE,Gt as DocumentCompare,Kt as DocumentDiff,Ut as FOCUS_ANNOTATION_KEYSTROKE,W as LateFocusButtonView,Y as LateFocusDropdownButtonView,B as Permissions,U as PillView,Ct as SuggestionsConversion,L as User,H as UserView,$ as Users,G as fixElementSuggestionRange,It as getAllMarkersDomElementsSorted,_t as getDateTimeFormatter,xt as getMarkerDomElement,Tt as hashObject,Dt as isInvalidAttributeOperation,Ft as sanitizeEditorConfig,zt as setupThreadKeyboardNavigation,J as splitSuggestionMarkerName,Ht as surroundingMarkersDetector,St as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x1c6a95,Editor as _0x27fa3e,Plugin as _0x5e14a4}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x9e3258,Collection as _0x15a4b4,FocusTracker as _0x28ca57,KeystrokeHandler as _0x4c3665,first as _0x2320e1,toArray as _0x33438b,uid as _0x268c42}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x4bbe2f,DropdownButtonView as _0x57bd55,FocusCycler as _0x108e75,IconView as _0x5f2985,View as _0x2d8650,isViewWithFocusCycler as _0x4039fc}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0x12aa15,IconCheck as _0x4500d8,IconNotification as _0x2f927b}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x3c5a3a,toWidget as _0x233b65}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x33762a}from'luxon';import{AttributeOperation as _0x597333,InsertOperation as _0x32923b,MarkerOperation as _0x31e822,MergeOperation as _0x3a3066,ModelPosition as _0x44c66f,ModelRange as _0x1f7020,ModelText as _0x96df45,ModelTreeWalker as _0x542f34,MoveOperation as _0x1fba41,RenameOperation as _0x2a8fa9,SplitOperation as _0x2a9d67}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x1b337b}from'diff';var B=class extends _0x1c6a95{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}setPermissions(_0x4fc50b,_0x39eb48){let _0xdb86f8;if(_0x39eb48||(_0x39eb48=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x39eb48?_0xdb86f8=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0xdb86f8=this['context']['editors']['find'](_0x3710ea=>_0x3710ea['config']['get']('collaboration.channelId')==_0x39eb48)),!_0xdb86f8)throw new _0x9e3258('permissions-set-permissions-invalid-channel-id',null);const _0x4193b7=_0xdb86f8['plugins'],_0x26b004=_0x4193b7['has']('CommentsRepository')?_0x4193b7['get']('CommentsRepository'):void 0x0,_0x4df292=_0x4193b7['has']('CommentsOnly')&&_0x4193b7['get']('CommentsOnly'),_0x4aa301=_0x4fc50b['includes']('document:write'),_0x5bce31=_0x4fc50b['includes']('comment:modify_all'),_0x5ec469=_0x4fc50b['includes']('comment:admin'),_0x5339cf=_0x4fc50b['includes']('comment:write'),_0x4e918a=_0x5339cf||_0x5ec469,_0x301ff9=_0x4e918a||_0x5bce31,_0x1cc64f=_0x4aa301||_0x4e918a;if(_0x4df292&&(_0x4df292['isEnabled']=!_0x4aa301&&_0x301ff9),_0xdb86f8 instanceof _0x27fa3e&&(_0x4aa301||_0x301ff9&&_0x26b004?_0xdb86f8['disableReadOnlyMode']('no-permissions'):_0xdb86f8['enableReadOnlyMode']('no-permissions')),_0x26b004){_0x26b004['setPermissions']({'admin':_0x5ec469,'modifyAll':_0x5bce31,'write':_0x5339cf,'resolve':_0x1cc64f},_0x39eb48);const _0x3d181b=_0xdb86f8 instanceof _0x27fa3e&&_0xdb86f8['commands']['get']('addCommentThread');_0x3d181b&&(_0x4e918a?_0x3d181b['clearForceDisabled']('noPermissions'):_0x3d181b['forceDisabled']('noPermissions'));}}};function D(_0x23cb72,_0x594cc8){const t=_0x23cb72['t'];switch(_0x594cc8){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'';}}var $=class extends _0x1c6a95{['users'];_lastColor;['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[B];}constructor(_0x471a01){super(_0x471a01),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x15a4b4(),this['_locale']=_0x471a01['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:_0x24ff61,name:_0x5bc532,..._0xe294b8}){if(!_0x24ff61||'string'!=typeof _0x24ff61)throw new _0x9e3258('users-add-invalid-id');if(this['users']['has'](_0x24ff61))throw new _0x9e3258('users-add-duplicated-id',null,{'id':_0x24ff61});const _0x288d90=this['context']['config']['get']('users.getInitialsCallback'),_0x7bf976={..._0xe294b8,'id':_0x24ff61,'name':R(this['_locale'],_0x5bc532),'color':this['_getNextColor']()};_0x7bf976['name']=R(this['_locale'],_0x7bf976['name']);const _0x283c8b=new L(_0x7bf976,_0x288d90);return this['users']['add'](_0x283c8b),_0x283c8b;}getUser(_0x2f3498){return this['users']['get'](_0x2f3498);}['useAnonymousUser'](){const _0x57f295=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x57f295);}['defineMe'](_0x238bd7){if(this['_myId'])throw new _0x9e3258('users-me-already-defined',null);const _0x3fce2e=this['getUser'](_0x238bd7);if(!_0x3fce2e)throw new _0x9e3258('users-me-missing-user',null);this['_myId']=_0x238bd7,_0x3fce2e['_isMe']=!0x0;}getOperationAuthor(){return this['me'];}_getNextColor(){const _0x2cc660=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2cc660&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4a132d=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x4a132d,'name':D(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];initials;avatar;['_isMe'];['_isAnonymous'];constructor(_0x48c14b,_0x37f240){this['id']=_0x48c14b['id'],this['color']=_0x48c14b['color'],this['name']=_0x48c14b['name'],this['initials']=_0x37f240?_0x37f240(this['name']):this['_computeInitials'](),this['avatar']=_0x48c14b['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}_computeInitials(){const _0x58a8e7=this['name']['split']('\x20')['filter'](_0x44e5d1=>/^[\p{Letter}]/u['test'](_0x44e5d1));return 0x1===_0x58a8e7['length']?this['_getInitial'](_0x58a8e7[0x0]):0x0===_0x58a8e7['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x58a8e7[0x0])+this['_getInitial'](_0x58a8e7[_0x58a8e7['length']-0x1]);}_getInitial(_0x2e56c7){return String['fromCodePoint'](_0x2e56c7['codePointAt'](0x0))['toUpperCase']();}};function R(_0x46d409,_0x3f1324=''){return''==(_0x3f1324=_0x3f1324['trim']())?D(_0x46d409,'Anonymous'):_0x3f1324;}var F=class{['_id'];constructor(_0x3e7d28){this['_id']=_0x3e7d28;}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))';}},H=class extends _0x2d8650{['name'];notificationView;constructor(_0x14cd8c,_0x47c6a4,_0x18845d,_0x502b8a){super(_0x14cd8c),this['name']=_0x47c6a4['name'],this['notificationView']=null;const _0x5d6b2a=['ck','ck-user'],_0x40a238=['ck','ck-user__img'];_0x47c6a4['isAnonymous']&&_0x40a238['push']('ck-user__anonymous'),!_0x47c6a4['isAnonymous']&&_0x47c6a4['isMe']&&_0x5d6b2a['push']('ck-user_me'),(_0x47c6a4['avatar']||_0x502b8a)&&_0x40a238['push']('ck-user__avatar');let _0x6011af=null;if(_0x502b8a&&(_0x6011af=new _0x5f2985(),_0x6011af['content']=_0x502b8a,_0x6011af['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x18845d){const _0x3464c0=new _0x5f2985();_0x3464c0['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x3464c0['content']=_0x2f927b,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x18845d},'children':[_0x3464c0]};}const _0x16f9fe=[{'tag':'div','attributes':{'class':_0x40a238,'style':{'background-image':_0x47c6a4['avatar']&&!_0x502b8a?'url(\x27'+_0x47c6a4['avatar']+'\x27)':''}},'children':_0x6011af?[_0x6011af]:[]},{'tag':'div','attributes':{'class':_0x47c6a4['avatar']||_0x502b8a?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x47c6a4['name']},'children':[{'text':_0x47c6a4['initials']}]}];this['notificationView']&&_0x16f9fe['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x5d6b2a,'data-user-id':_0x47c6a4['id']},'children':_0x16f9fe});}},U=class extends _0x2d8650{['children'];['iconView'];['labelView'];constructor(_0x5b1e92){super(_0x5b1e92);const _0x132e63=this['bindTemplate'];this['set']('icon',void 0x0),this['set']('label',void 0x0),this['set']('tooltip',void 0x0),this['set']('tooltipPosition','n'),this['set']('tooltipClass',void 0x0),this['set']('iconPosition','left'),this['set']('class',void 0x0),this['children']=this['createCollection'](),this['iconView']=this['_createIconView'](),this['labelView']=this['_createLabelView'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill',_0x132e63['to']('class'),_0x132e63['to']('iconPosition',_0x4b7ffe=>'right'===_0x4b7ffe?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x132e63['to']('tooltip'),'data-cke-tooltip-position':_0x132e63['to']('tooltipPosition'),'data-cke-tooltip-class':_0x132e63['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x2b6176,_0x29b011,_0x540879,_0x300598)=>{_0x540879&&!_0x300598?this['children']['add'](this['iconView'],0x0):!_0x540879&&_0x300598&&this['children']['remove'](this['iconView']);});}_createIconView(){const _0x5ab0f5=new _0x5f2985();return _0x5ab0f5['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x5ab0f5['bind']('content')['to'](this,'icon'),_0x5ab0f5;}_createLabelView(){const _0x24fd3b=new _0x2d8650(this['locale']),_0x371c4f=this['bindTemplate'];return _0x24fd3b['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x371c4f['to']('label')}]}),_0x24fd3b;}},z=class extends _0x2d8650{['id'];constructor(_0xfe74dd,_0x19a5a8){super(_0xfe74dd),this['id']='ck-aria-description-'+_0x268c42(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x19a5a8}]});}},W=class extends _0x4bbe2f{['render'](){super['render'](),j(this);}},Y=class extends _0x57bd55{['render'](){super['render'](),j(this);}};function j(_0xae825b){_0xae825b['listenTo'](_0xae825b['element'],'mousedown',(_0x2bc2b2,_0x45508a)=>{_0x45508a['stopPropagation'](),_0x45508a['preventDefault']();}),_0xae825b['listenTo'](_0xae825b['element'],'mouseup',()=>{_0xae825b['element']['focus']();});}function J(_0x322cdc){const _0x260e4a=_0x322cdc['split'](':');return{'group':_0x260e4a[0x0],'type':_0x260e4a[0x1],'subType':_0x260e4a['length']>=0x5?_0x260e4a[0x2]:null,'id':_0x260e4a['length']<0x5?_0x260e4a[0x2]:_0x260e4a[0x3],'authorId':_0x260e4a['length']<0x5?_0x260e4a[0x3]:_0x260e4a[0x4],'markerCount':0x6==_0x260e4a['length']?_0x260e4a[0x5]:null};}function G(_0x4600bc,_0x3c896c){const _0x25285c=_0x4600bc['end']['nodeBefore'];if(_0x25285c&&_0x25285c['is']('element')&&_0x3c896c['schema']['isBlock'](_0x25285c)&&!_0x3c896c['schema']['isObject'](_0x25285c)){const _0x407017=_0x3c896c['createPositionAt'](_0x25285c,'end');return _0x3c896c['createRange'](_0x4600bc['start'],_0x407017);}return _0x4600bc;}var K=class extends _0x5e14a4{afterInit(){const _0x2c36b3=this['editor'];_0x2c36b3['plugins']['has']('AlignmentEditing')&&_0x2c36b3['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x5e14a4{afterInit(){const _0xdaa1fd=this['editor'],_0x16f326=_0xdaa1fd['plugins']['get']('SuggestionsConversion');for(const _0x5daffe of q){if(!_0xdaa1fd['plugins']['has'](_0x5daffe))continue;const _0x1107b8=_0x5daffe['slice'](0x0,-0x7)['toLowerCase']();_0x16f326['registerInlineAttribute'](_0x1107b8);}}},Q=class extends _0x5e14a4{afterInit(){const _0x3befe4=this['editor'],_0x4d796f=_0x3befe4['plugins']['get']('SuggestionsConversion');_0x3befe4['plugins']['has']('BookmarkEditing')&&_0x4d796f['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x5e14a4{afterInit(){const _0x3bbfc2=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x1acc36,commandName:_0x52ade2}of X)this['editor']['plugins']['has'](_0x1acc36)&&_0x3bbfc2['registerInlineAttribute'](_0x52ade2);}},et=class extends _0x5e14a4{afterInit(){const {editor:_0x57f85e}=this;if(!_0x57f85e['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x3956cd=_0x57f85e['plugins']['get']('SuggestionsConversion');_0x3956cd['registerBlockAttribute']('footnotesListStyle'),_0x3956cd['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x5e14a4{afterInit(){const _0x60442f=this['editor'];if(!_0x60442f['plugins']['has']('GeneralHtmlSupport')||!_0x60442f['plugins']['has']('DataSchema'))return;const _0x417df6=_0x60442f['plugins']['get']('SuggestionsConversion'),_0x58a5fd=_0x60442f['plugins']['get']('GeneralHtmlSupport'),_0x4e0f27=_0x60442f['plugins']['get']('DataSchema');for(const _0x34e882 of _0x4e0f27['getDefinitionsForView'](/.*/,!0x1)){const _0x347a71=_0x58a5fd['getGhsAttributeNameForElement'](_0x34e882['view']);!_0x34e882['isInline']||_0x34e882['isObject']||'appliesToBlock'in _0x34e882&&_0x34e882['appliesToBlock']?_0x417df6['registerBlockAttribute'](_0x347a71):_0x417df6['registerInlineAttribute'](_0x347a71);}}},it=class extends _0x5e14a4{afterInit(){const _0x4620c4=this['editor'];_0x4620c4['plugins']['has']('HighlightEditing')&&_0x4620c4['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x5e14a4{afterInit(){const _0x2ef8f5=this['editor'];_0x2ef8f5['plugins']['has']('HtmlEmbed')&&_0x2ef8f5['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x5e14a4{afterInit(){const _0x1a2995=this['editor'];if(!_0x1a2995['plugins']['has']('ImageEditing'))return;const _0x3148c9=_0x1a2995['plugins']['get']('SuggestionsConversion');_0x3148c9['registerBlockAttribute']('src'),_0x1a2995['plugins']['has']('ImageResize')&&_0x3148c9['registerBlockAttribute']('resizedWidth'),_0x1a2995['plugins']['has']('ImageTextAlternativeEditing')&&_0x3148c9['registerBlockAttribute']('alt'),_0x1a2995['plugins']['has']('PictureEditing')&&_0x3148c9['registerBlockAttribute']('sources'),_0x1a2995['plugins']['has']('ImageSizeAttributes')&&(_0x3148c9['registerBlockAttribute']('width'),_0x3148c9['registerBlockAttribute']('height'));}},rt=class extends _0x5e14a4{afterInit(){const _0x1bc0b3=this['editor'],_0x533448=_0x1bc0b3['plugins']['get']('SuggestionsConversion');_0x1bc0b3['plugins']['has']('IndentBlock')&&(_0x533448['registerBlockAttribute']('blockIndent'),_0x1bc0b3['plugins']['has']('ListEditing')&&(_0x533448['registerBlockAttribute']('blockIndentList'),_0x533448['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x5e14a4{afterInit(){const _0x6598a0=this['editor'];_0x6598a0['plugins']['has']('LineHeight')&&_0x6598a0['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x5e14a4{afterInit(){const _0x13da50=this['editor'];if(!_0x13da50['plugins']['has']('LinkEditing'))return;const _0x4b1654=_0x13da50['plugins']['get']('SuggestionsConversion'),_0x2a3a83=_0x13da50['commands']['get']('link');_0x4b1654['registerInlineAttribute']('linkHref');for(const _0x412eb5 of _0x2a3a83['manualDecorators'])_0x4b1654['registerInlineAttribute'](_0x412eb5['id']);}},lt=class extends _0x5e14a4{afterInit(){const _0x3646a1=this['editor'];if(!_0x3646a1['plugins']['has']('ListEditing'))return;const _0x18655a=_0x3646a1['plugins']['get']('SuggestionsConversion'),_0x158821=_0x3646a1['plugins']['has']('TodoListEditing');_0x18655a['registerBlockAttribute']('listItemId'),_0x18655a['registerBlockAttribute']('listType'),_0x18655a['registerBlockAttribute']('listIndent'),_0x158821&&_0x18655a['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x5e14a4{afterInit(){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x4e4f94=this['editor']['config']['get']('list.properties'),_0x29b910=this['editor']['plugins']['get']('SuggestionsConversion');_0x4e4f94['styles']&&_0x29b910['registerBlockAttribute']('listStyle'),_0x4e4f94['reversed']&&_0x29b910['registerBlockAttribute']('listReversed'),_0x4e4f94['startIndex']&&_0x29b910['registerBlockAttribute']('listStart');}},ut=class extends _0x5e14a4{afterInit(){const _0x2f8e79=this['editor'],_0x22bdbc=_0x2f8e79['plugins']['get']('SuggestionsConversion');_0x2f8e79['plugins']['has']('MultiLevelList')&&_0x22bdbc['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x5e14a4{afterInit(){const _0x1e0c21=this['editor'];if(!_0x1e0c21['plugins']['has']('TableEditing'))return;const _0x3aa5cb=_0x1e0c21['plugins']['get']('SuggestionsConversion');_0x3aa5cb['registerBlockAttribute']('headingRows'),_0x3aa5cb['registerBlockAttribute']('headingColumns');}},gt=class extends _0x5e14a4{afterInit(){const {plugins:_0x22aafb}=this['editor'];if(!_0x22aafb['has']('TablePropertiesEditing'))return;const _0x30932f=_0x22aafb['get']('SuggestionsConversion');for(const _0x972bed of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x30932f['registerBlockAttribute'](_0x972bed);}},ft=class extends _0x5e14a4{afterInit(){const _0x38d0a0=this['editor'],_0x5a15c6=_0x38d0a0['plugins']['get']('SuggestionsConversion');_0x38d0a0['plugins']['has']('TableLayout')&&_0x5a15c6['registerBlockAttribute']('tableType');}},mt=class extends _0x5e14a4{afterInit(){const _0x4f03d9=this['editor'],_0x158206=this['editor']['plugins']['get']('SuggestionsConversion');_0x4f03d9['plugins']['has']('Uploadcare')&&_0x4f03d9['plugins']['has']('UploadcareImageEdit')&&_0x158206['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x5e14a4{afterInit(){const _0x1457c5=this['editor'];if(!_0x1457c5['plugins']['has']('ShiftEnter'))return;const _0x16fea7=_0x1457c5['plugins']['get']('SuggestionsConversion'),_0x5e1c32=(_0x1cc4e8,_0x1150ed,_0x46c732,_0x2cb722)=>{if(_0x2cb722&&!_0x46c732['options']['showSuggestionHighlights'])return;if(!_0x46c732['consumable']['test'](_0x1150ed['markerRange'],_0x1cc4e8['name']))return;const _0x14670e=_0x1457c5['model'];for(const _0x368f73 of _0x1150ed['markerRange']['getItems']()){if(!_0x368f73['is']('element','softBreak'))continue;const _0xeccfb3='deletion'==_0x1150ed['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x4708ba,authorId:_0x469d1e}=J(_0x1150ed['markerName']),_0x347473=_0x46c732['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xeccfb3,'data-suggestion':_0x4708ba,'data-author-id':_0x469d1e}),_0x53e4d1=_0x46c732['mapper']['toViewPosition'](_0x14670e['createPositionBefore'](_0x368f73));!_0x2cb722&&_0x16fea7['_activeMarkers']['includes'](_0x1150ed['markerName'])&&_0x46c732['writer']['addClass']('ck-suggestion-marker--active',_0x347473),_0x46c732['writer']['insert'](_0x53e4d1,_0x347473),_0x46c732['mapper']['bindElementToMarker'](_0x347473,_0x1150ed['markerName']);}};_0x1457c5['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2bf4da,_0x1a2a86,_0x3be815)=>{_0x5e1c32(_0x2bf4da,_0x1a2a86,_0x3be815,!0x1);},{'priority':'high'}),_0x1457c5['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x8a72a0,_0x25f9d6,_0x198fac)=>{_0x5e1c32(_0x8a72a0,_0x25f9d6,_0x198fac,!0x1);},{'priority':'high'}),_0x1457c5['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xdcfd61,_0xc9d4aa,_0x47947a)=>{_0x5e1c32(_0xdcfd61,_0xc9d4aa,_0x47947a,!0x0);},{'priority':'high'}),_0x1457c5['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x282fad,_0x151d58,_0x17b625)=>{_0x5e1c32(_0x282fad,_0x151d58,_0x17b625,!0x0);},{'priority':'high'});}},kt=class extends _0x5e14a4{afterInit(){const _0x3d62b2=this['editor'];if(!_0x3d62b2['plugins']['has']('MediaEmbedEditing'))return;const _0x118aff=_0x3d62b2['plugins']['get']('SuggestionsConversion');_0x3d62b2['plugins']['has']('MediaEmbedResizeEditing')&&_0x118aff['registerBlockAttribute']('resizedWidth'),_0x3d62b2['plugins']['has']('MediaEmbedStyleEditing')&&_0x118aff['registerBlockAttribute']('mediaStyle'),_0x3d62b2['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0xe9fbd9,{writer:_0x5e6cd9,options:_0xfd4c6d})=>{if(_0xfd4c6d['showSuggestionHighlights'])return _0x5e6cd9['createEmptyElement']('div');},'converterPriority':'high'}),_0x3d62b2['data']['downcastDispatcher']['on']('attribute:url:media',(_0x46b89e,_0x261a45,_0x1f50dc)=>{_0x1f50dc['options']['showSuggestionHighlights']&&_0x46b89e['stop']();},{'priority':'high'});}},yt=class extends _0x5e14a4{afterInit(){const _0x125fc9=this['editor'];if(!_0x125fc9['plugins']['has']('Table'))return;_0x125fc9['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x134939,_0x4155de,_0x1af962)=>{((_0x453e79,_0x44d168,_0x3cd94d)=>{if(!_0x3cd94d['options']['showSuggestionHighlights'])return;const _0x2d4749=_0x44d168['item'];if(!_0x2d4749||!_0x2d4749['is']('element','tableCell'))return;const _0x55cd6e=_0x3cd94d['mapper']['toViewElement'](_0x2d4749);if(_0x55cd6e){const {id:_0x1288e3,authorId:_0x37d8da}=J(_0x44d168['markerName']);_0x3c5a3a(_0x55cd6e,_0x3cd94d['writer'],(_0x26ff64,_0x944b35,_0x25067b)=>{_0x25067b['addClass'](_0x33438b(_0x944b35['classes']),_0x26ff64),_0x25067b['setAttribute']('data-suggestion',_0x1288e3,_0x26ff64),_0x25067b['setAttribute']('data-author-id',_0x37d8da,_0x26ff64);});}})(0x0,_0x4155de,_0x1af962);},{'priority':'highest'});}},bt=class extends _0x5e14a4{afterInit(){const _0x4a3071=this['editor'];_0x4a3071['plugins']['has']('HorizontalLineEditing')&&_0x4a3071['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x53b3c3,{writer:_0x2e01d8,options:_0x3d2b86})=>{if(!_0x3d2b86['showSuggestionHighlights'])return null;const _0x1b5292=_0x2e01d8['createContainerElement']('div'),_0x1381d3=_0x2e01d8['createEmptyElement']('hr');return _0x2e01d8['addClass']('ck-horizontal-line',_0x1b5292),_0x2e01d8['insert'](_0x2e01d8['createPositionAt'](_0x1b5292,0x0),_0x1381d3),_0x1b5292;},'converterPriority':'high'});}},wt=class extends _0x5e14a4{afterInit(){const {plugins:_0x122a9e,model:_0x41e6ed}=this['editor'];if(!_0x122a9e['has']('TableCellPropertiesEditing'))return;const _0x22efad=_0x122a9e['get']('SuggestionsConversion');for(const _0x4ccb5d of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x22efad['registerBlockAttribute'](_0x4ccb5d);_0x41e6ed['schema']['checkAttribute']('tableCell','tableCellType')&&_0x22efad['registerBlockAttribute']('tableCellType');}},vt=class extends _0x5e14a4{afterInit(){const _0x2b5355=this['editor'];_0x2b5355['plugins']['has']('TableEditing')&&_0x2b5355['config']['get']('table.enableFooters')&&_0x2b5355['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x5e14a4{_activeMarkers=[];_blockAttributeKeys=new Set(['$elementName']);_inlineAttributeKeys=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get requires(){return[K,Z,Q,tt,et,st,it,bt,nt,ot,rt,at,ct,lt,ht,kt,ut,pt,yt,dt,vt,ft,wt,gt,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x4ee326=this['editor'],_0x2b1dec=(_0x545941,_0x3bf89c,_0x352af5)=>{const {id:_0x58fbe0,authorId:_0x3cad68,type:_0x3c41aa,subType:_0x182111}=J(_0x545941['markerName']),_0x4445d4=['ck-suggestion-marker',this['_getClassName'](_0x3c41aa,_0x182111)];let _0x1cfb02=0xbb8;return _0x352af5||this['_activeMarkers']['includes'](_0x545941['markerName'])&&(_0x4445d4['push']('ck-suggestion-marker--active'),_0x1cfb02=0xbc2),'deletion'==_0x3c41aa&&(_0x1cfb02+=0x5),{'classes':_0x4445d4,'attributes':{'data-suggestion':_0x58fbe0,'data-author-id':_0x3cad68},'priority':_0x1cfb02};};_0x4ee326['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x468e53,_0x16c4a7)=>_0x2b1dec(_0x468e53,0x0,!0x1)}),_0x4ee326['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x15f15d,_0x3d4c2d)=>_0x2b1dec(_0x15f15d,0x0,!0x0)}),_0x4ee326['conversion']['for']('dataDowncast')['add'](_0x5cb625=>{_0x5cb625['on']('addMarker:suggestion',(_0x151cf2,_0x3458ad,_0x1f6933)=>{if(!_0x1f6933['options']['showSuggestionHighlights'])return;const _0x4e4acb=_0x3458ad['item'];if(!_0x4e4acb)return;const _0x246e4b=_0x1f6933['mapper']['toViewElement'](_0x4e4acb);_0x4ee326['model']['schema']['isObject'](_0x4e4acb)&&_0x246e4b&&!_0x246e4b['getCustomProperty']('widget')&&_0x246e4b['is']('containerElement')&&_0x233b65(_0x246e4b,_0x1f6933['writer']);},{'priority':'high'});});const _0x36126d=(_0x4f49dd,_0x5df77c,_0x404aee,_0x4afa56,_0x34aa41)=>{if(_0x4afa56&&!_0x404aee['options']['showSuggestionHighlights'])return;if(!_0x5df77c['item'])return;const {id:_0x5b6e0e,authorId:_0x3970ac,subType:_0x1e5e7c}=J(_0x5df77c['markerName']);if(_0x34aa41){const _0x3624b7=_0x1e5e7c['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3624b7))return;}if(_0x5df77c['item']['is']('selection'))return void _0x404aee['consumable']['consume'](_0x5df77c['item'],_0x4f49dd['name']);const _0x29873d=_0x404aee['mapper']['toViewElement'](_0x5df77c['item']);if(_0x5df77c['item']['is']('element')&&_0x4ee326['model']['schema']['isBlock'](_0x5df77c['item'])&&!_0x29873d['getCustomProperty']('addHighlight')){_0x404aee['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x29873d),_0x404aee['writer']['setAttribute']('data-suggestion',_0x5b6e0e,_0x29873d),_0x404aee['writer']['setAttribute']('data-author-id',_0x3970ac,_0x29873d),_0x404aee['mapper']['bindElementToMarker'](_0x29873d,_0x5df77c['markerName']),_0x4afa56||(this['_activeMarkers']['includes'](_0x5df77c['markerName'])?_0x404aee['writer']['addClass']('ck-suggestion-marker--active',_0x29873d):_0x404aee['writer']['removeClass']('ck-suggestion-marker--active',_0x29873d));for(const _0x229540 of _0x4ee326['model']['createRangeIn'](_0x5df77c['item'])['getItems']())_0x404aee['consumable']['consume'](_0x229540,_0x4f49dd['name']);_0x404aee['consumable']['consume'](_0x5df77c['item'],_0x4f49dd['name']);}},_0x2804a3=(_0x1b7e73,_0x47ace9,_0x4b178c,_0xe2a197)=>{const _0x338022=_0x4b178c['mapper']['markerNameToElements'](_0x47ace9['markerName']);if(_0x338022){if(_0xe2a197){const {subType:_0x41d107}=J(_0x47ace9['markerName']),_0x4daaed=_0x41d107['split']('|')[0x0];if(!this['isBlockAttribute'](_0x4daaed))return;}for(const _0x5bbd32 of _0x338022)_0x5bbd32['getCustomProperty']('addHighlight')||(_0x4b178c['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x5bbd32),_0x4b178c['writer']['removeAttribute']('data-suggestion',_0x5bbd32),_0x4b178c['writer']['removeAttribute']('data-author-id',_0x5bbd32),_0x4b178c['mapper']['unbindElementFromMarkerName'](_0x5bbd32,_0x47ace9['markerName']));}};_0x4ee326['conversion']['for']('editingDowncast')['add'](_0xa1e1f7=>{_0xa1e1f7['on']('addMarker:suggestion:formatBlock',(_0x3c7b8f,_0xf02323,_0x29b7da)=>{_0x36126d(_0x3c7b8f,_0xf02323,_0x29b7da,!0x1,!0x1);},{'priority':'high'});}),_0x4ee326['conversion']['for']('editingDowncast')['add'](_0x32e773=>{_0x32e773['on']('addMarker:suggestion:attribute',(_0x1356c6,_0x4d22f7,_0x1c896a)=>{_0x36126d(_0x1356c6,_0x4d22f7,_0x1c896a,!0x1,!0x0);},{'priority':'high'});}),_0x4ee326['conversion']['for']('editingDowncast')['add'](_0x37ffc3=>{_0x37ffc3['on']('removeMarker:suggestion:formatBlock',(_0x4ccaa2,_0x2b8261,_0x4dddec)=>{_0x2804a3(0x0,_0x2b8261,_0x4dddec,!0x1);},{'priority':'high'});}),_0x4ee326['conversion']['for']('editingDowncast')['add'](_0x23ad66=>{_0x23ad66['on']('removeMarker:suggestion:attribute',(_0x3c34a2,_0xc62b,_0x3e1fb2)=>{_0x2804a3(0x0,_0xc62b,_0x3e1fb2,!0x0);},{'priority':'high'});}),_0x4ee326['conversion']['for']('dataDowncast')['add'](_0x4aec79=>{_0x4aec79['on']('addMarker:suggestion:formatBlock',(_0x26ec40,_0x22f155,_0x281c62)=>{_0x36126d(_0x26ec40,_0x22f155,_0x281c62,!0x0,!0x1);},{'priority':'highest'});}),_0x4ee326['conversion']['for']('dataDowncast')['add'](_0x3739ee=>{_0x3739ee['on']('addMarker:suggestion:attribute',(_0xeece8d,_0x1a1c2e,_0x302b95)=>{_0x36126d(_0xeece8d,_0x1a1c2e,_0x302b95,!0x0,!0x0);},{'priority':'highest'});}),_0x4ee326['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x4fa582,_0x3f142b)=>_0x3f142b['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x4fa582['substr'](0xb)}});const _0x1fa364=(_0x5a3160,_0x49ccf7,_0x109827,_0x139d51,_0x5cc3b8)=>{if(_0x139d51&&!_0x109827['options']['showSuggestionHighlights'])return;if(!_0x109827['consumable']['test'](_0x49ccf7['markerRange'],_0x5a3160['name']))return;const _0x4b6e9d=this['_activeMarkers'],_0x331d45=_0x49ccf7['markerRange']['getWalker'](),_0x57a742=_0x49ccf7['markerRange']['start'],_0x3a0e33=_0x4ee326['model']['schema'];let _0x50cc8a=null,_0x25bd81=null,_0x1ca8a2=!0x1,_0x2d4004=!0x1;for(const _0x1c8add of _0x331d45){const _0x2edb15=_0x1c8add['item'];_0x1ca8a2=_0x1ca8a2||_0x3a0e33['isContent'](_0x2edb15);const _0x58855b=_0x109827['mapper']['toViewElement'](_0x2edb15);if(_0x58855b&&_0x58855b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1c8add['type']&&(_0x3a0e33['isBlock'](_0x2edb15)&&!_0x3a0e33['isLimit'](_0x2edb15)&&(_0x2edb15['nextSibling']||_0x57a742['isAtEnd']?_0x50cc8a&&_0x50cc8a['parent']==_0x2edb15||(_0x50cc8a=_0x2edb15,_0x5a1c2b(_0x1c8add['previousPosition']),_0x2d4004=!0x0):_0x25bd81=_0x25bd81||_0x1c8add['previousPosition']));}function _0x5a1c2b(_0x41afea){const {id:_0x373545,authorId:_0x305dc6}=J(_0x49ccf7['markerName']),_0x7d26ef=_0x109827['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5cc3b8,'data-suggestion':_0x373545,'data-author-id':_0x305dc6}),_0xb12fb5=_0x109827['mapper']['toViewPosition'](_0x41afea);!_0x139d51&&_0x4b6e9d['includes'](_0x49ccf7['markerName'])&&_0x109827['writer']['addClass']('ck-suggestion-marker--active',_0x7d26ef),_0x109827['writer']['insert'](_0xb12fb5,_0x7d26ef),_0x109827['mapper']['bindElementToMarker'](_0x7d26ef,_0x49ccf7['markerName']);}_0x1ca8a2||_0x2d4004||!_0x25bd81||_0x5a1c2b(_0x25bd81);};_0x4ee326['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3d8fa0,_0x44fef8,_0xc18491)=>{_0x1fa364(_0x3d8fa0,_0x44fef8,_0xc18491,!0x1,'merge');},{'priority':'high'}),_0x4ee326['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x57adfd,_0x2178cd,_0x450d0f)=>{_0x1fa364(_0x57adfd,_0x2178cd,_0x450d0f,!0x0,'merge');},{'priority':'high'}),_0x4ee326['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xf4ffbb,_0x216964,_0x547dff)=>{_0x1fa364(_0xf4ffbb,_0x216964,_0x547dff,!0x1,'split');},{'priority':'high'}),_0x4ee326['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x379aa0,_0x492581,_0x8b6307)=>{_0x1fa364(_0x379aa0,_0x492581,_0x8b6307,!0x0,'split');},{'priority':'high'}),_0x4ee326['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x3351b7,_0x140a3f,_0x24b560)=>{((_0x4d6595,_0x599715,_0x175a7d)=>{const _0x332b02=_0x175a7d['mapper']['markerNameToElements'](_0x599715['markerName']);if(_0x332b02){for(const _0x48b532 of _0x332b02)(_0x48b532['hasClass']('ck-suggestion-marker-split')||_0x48b532['hasClass']('ck-suggestion-marker-merge'))&&(_0x175a7d['mapper']['unbindElementFromMarkerName'](_0x48b532,_0x599715['markerName']),_0x175a7d['writer']['remove'](_0x48b532));}})(0x0,_0x140a3f,_0x24b560);},{'priority':'high'});const _0x4616ab=(_0x3192de,_0x2c199e,_0x599c43,_0x13ca3f)=>{if(_0x13ca3f&&!_0x599c43['options']['showSuggestionHighlights'])return;const _0x2041ea=_0x2c199e['markerRange']['start'],_0x6235b8=_0x2c199e['markerRange']['end'],_0x4d11ae=_0x4ee326['model']['schema'];if(!_0x2041ea['isTouching'](_0x6235b8)||!_0x2041ea['nodeAfter'])return;const _0x413fca=_0x2041ea['nodeAfter'];if(_0x4d11ae['isBlock'](_0x413fca)&&!_0x4d11ae['isLimit'](_0x413fca)&&_0x4d11ae['checkChild'](_0x413fca,'$text')){if(!_0x599c43['consumable']['consume'](_0x2c199e['markerRange'],_0x3192de['name']))return;const {id:_0x42f61c,authorId:_0x21ca5e}=J(_0x2c199e['markerName']),_0x4a584d=_0x599c43['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x42f61c,'data-author-id':_0x21ca5e}),_0x49b59b=_0x599c43['mapper']['toViewPosition'](_0x6235b8);!_0x13ca3f&&this['_activeMarkers']['includes'](_0x2c199e['markerName'])&&_0x599c43['writer']['addClass']('ck-suggestion-marker--active',_0x4a584d),_0x599c43['writer']['insert'](_0x49b59b,_0x4a584d),_0x599c43['mapper']['bindElementToMarker'](_0x4a584d,_0x2c199e['markerName']);}};_0x4ee326['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x554798,_0x5bc59d,_0x5e144f)=>{_0x4616ab(_0x554798,_0x5bc59d,_0x5e144f,!0x1);},{'priority':'high'}),_0x4ee326['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5135ba,_0x512b87,_0x49f4f3)=>{_0x4616ab(_0x5135ba,_0x512b87,_0x49f4f3,!0x0);},{'priority':'high'});}afterInit(){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x2ed77c,_0x9acc72,_0x4059ca)=>{this['_activeMarkers']=_0x4059ca['slice']();},{'priority':'highest'});}registerBlockAttribute(_0x1c7c3b){this['_blockAttributeKeys']['add'](_0x1c7c3b);}registerInlineAttribute(_0x379757){this['_inlineAttributeKeys']['add'](_0x379757);}isBlockAttribute(_0x5f2ed5){return this['_blockAttributeKeys']['has'](_0x5f2ed5);}isInlineAttribute(_0x1d2904){return this['_inlineAttributeKeys']['has'](_0x1d2904);}isRegisteredAttribute(_0x505a80){return this['isInlineAttribute'](_0x505a80)||this['isBlockAttribute'](_0x505a80);}_getClassName(_0x4aa3ff,_0x478799){if('attribute'!=_0x4aa3ff)return'ck-suggestion-marker-'+_0x4aa3ff;const _0x3bd5aa=_0x478799['split']('|')[0x0];return this['isBlockAttribute'](_0x3bd5aa)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x36e3d8={},_0x259343){if(void 0x0!==_0x36e3d8['dateTimeFormat']&&'function'!=typeof _0x36e3d8['dateTimeFormat'])throw new _0x9e3258('invalid-date-time-format');return _0x4cf5a8=>{const _0x41466e='string'==typeof _0x4cf5a8?_0x33762a['fromISO'](_0x4cf5a8):_0x33762a['fromJSDate'](_0x4cf5a8),_0x254dec=_0x33762a['now'](),_0x177104=Math['floor'](_0x254dec['diff'](_0x41466e,'days')['days']);return _0x36e3d8['dateTimeFormat']?_0x36e3d8['dateTimeFormat'](_0x41466e['toJSDate'](),_0x259343&&_0x259343['t']?_0x259343['t']:void 0x0):0x0===_0x177104?_0x259343?D(_0x259343,'Today')+'\x20'+_0x41466e['toFormat']('hh:mma'):_0x41466e['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x177104?_0x259343?D(_0x259343,'Yesterday')+'\x20'+_0x41466e['toFormat']('hh:mma'):_0x41466e['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x177104<0x7?_0x259343?D(_0x259343,'Last')+'\x20'+D(_0x259343,_0x41466e['toFormat']('EEEE'))+'\x20'+_0x41466e['toFormat']('hh:mma'):_0x41466e['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x41466e['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x20fa3c,_0xcb87e9){const _0x808ace=_0x20fa3c['mapper']['markerNameToElements'](_0xcb87e9['name']);if(!_0x808ace)return null;const _0x44435e=_0x2320e1(_0x808ace['values']());return _0x20fa3c['view']['domConverter']['mapViewToDom'](_0x44435e)||null;}function It(_0x23aace,_0x156e26){if(0x0===_0x156e26['length'])return null;const _0x239453=[],_0x5b1d67=_0x23aace['view']['domConverter'];for(const _0x48647e of _0x156e26){const _0x4f8932=_0x23aace['mapper']['markerNameToElements'](_0x48647e['name']);if(!_0x4f8932)continue;const _0x26acb8=Array['from'](_0x4f8932)['map'](_0x268013=>_0x5b1d67['mapViewToDom'](_0x268013))['filter'](_0x5e0d57=>!!_0x5e0d57);_0x239453['push'](..._0x26acb8);}if(0x0===_0x239453['length'])return null;const _0x101c2c=[];for(const _0x2b5f9c of _0x239453){const _0x461d7b=_0x2b5f9c['getClientRects']()['item'](0x0);_0x461d7b&&_0x101c2c['push']({'x':_0x461d7b['x'],'y':_0x461d7b['y'],'domElement':_0x2b5f9c});}return 0x0===_0x101c2c['length']?null:(_0x101c2c['sort']((_0x4ecbc1,_0x419077)=>_0x4ecbc1['y']-_0x419077['y']||_0x4ecbc1['x']-_0x419077['x']),_0x101c2c['map'](_0x4a8e68=>_0x4a8e68['domElement']));}function St(_0x1a1814,{limit:_0x4b9f52,suffix:_0x2cc3ec='...'}){const _0x2daf6b=[];let _0x30007c=0x0;const _0x34d8d9=_0x1a1814['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0xc7f113=0x0;_0xc7f113<_0x34d8d9['length'];_0xc7f113++){let _0x5bcf5c=_0x34d8d9[_0xc7f113];const _0x4df6bc=Et(_0x5bcf5c);if(_0x5bcf5c['startsWith']('<')){if(_0x30007c>=_0x4b9f52){const _0x5c88d1=_0x5bcf5c['match'](/[a-zA-Z]+/);if(!_0x5c88d1){_0x34d8d9[_0xc7f113]='';continue;}const _0x58ad59=_0x5c88d1[0x0];_0x5bcf5c['startsWith']('</')?(_0x2daf6b['length']&&(_0x5bcf5c=''),_0x2daf6b['pop']()):(_0x2daf6b['push'](_0x58ad59),_0x5bcf5c='');}}else{if(_0x30007c>=_0x4b9f52)_0x5bcf5c='';else{if(_0x30007c+_0x4df6bc['length']>=_0x4b9f52){let _0x17e22a=_0x4b9f52-_0x30007c;if('\x20'===_0x4df6bc[_0x17e22a-0x1])_0x17e22a--;else{const _0x22354d=_0x4df6bc['slice'](_0x17e22a)['indexOf']('\x20');-0x1!==_0x22354d?_0x17e22a+=_0x22354d:_0x17e22a=_0x5bcf5c['length'];}_0x5bcf5c=_0x4df6bc['slice'](0x0,_0x17e22a)['join']('')+_0x2cc3ec,_0x30007c=_0x4b9f52;}else _0x30007c+=_0x4df6bc['length'];}}_0x34d8d9[_0xc7f113]=_0x5bcf5c;}return _0x34d8d9['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x4727f2){const _0xfafd0d=[];for(let _0x33a97d=0x0;_0x33a97d<_0x4727f2['length'];_0x33a97d++){const _0xae2e34=_0x4727f2['substring'](_0x33a97d)['match'](/^&[a-z0-9#]+;/);if(_0xae2e34){const _0x480a9e=_0xae2e34[0x0];_0xfafd0d['push'](_0x480a9e),_0x33a97d+=_0x480a9e['length']-0x1;}else _0xfafd0d['push'](_0x4727f2[_0x33a97d]);}return _0xfafd0d;}var Mt=class extends _0x2d8650{submitView;['cancelView'];['focusTracker'];keystrokes;['focusCycler'];['focusables'];constructor(_0x5140f0){super(_0x5140f0);const _0x3d777e=this['bindTemplate'];this['set']('message',D(_0x5140f0,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x5140f0,D(_0x5140f0,'Yes'),_0x4500d8,'submit'),this['cancelView']=this['_createButtonView'](_0x5140f0,D(_0x5140f0,'No'),_0x12aa15,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x28ca57(),this['keystrokes']=new _0x4c3665(),this['focusCycler']=new _0x108e75({'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':_0x3d777e['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(_0x210f69,_0x47ee3c,_0x23f0a8,_0xa54200){const _0x454d04=new _0x4bbe2f(_0x210f69);return _0x454d04['label']=_0x47ee3c,_0x454d04['icon']=_0x23f0a8,_0x454d04['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0xa54200}}),_0x454d04['on']('execute',()=>this['fire'](_0xa54200)),_0x454d04;}_setupKeyboardNavigation(){this['focusables']['forEach'](_0x4840cb=>{this['keystrokes']['listenTo'](_0x4840cb['element']),this['focusTracker']['add'](_0x4840cb['element']);}),this['keystrokes']['set']('esc',(_0xab4676,_0x501cc7)=>{this['fire']('cancel'),_0x501cc7();});}};function At(_0x1a058f){return class _0x181926 extends _0x1a058f{['showConfirm'](_0x524b1c,_0x2748df){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x524b1c,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x2748df['appendChild'](this['confirmView']['element']),_0x2748df['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x98c301,_0x18d082,_0x4c3600)=>{_0x4c3600||_0x2748df['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x5eb4ac=>this['confirmView']['on']('submit',_0x5eb4ac));}['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 Tt(_0x27a08f){let _0x500987=0x0,_0x373c9e=0x0;for(const _0x3c1885 of Nt(_0x27a08f))_0x500987=(_0x500987<<0x5)-_0x500987+_0x3c1885,_0x500987&=_0x500987,[_0x500987,_0x373c9e]=[_0x373c9e,_0x500987];return Bt(_0x500987)+Bt(_0x373c9e);}function*Pt(_0x3b1996){null==_0x3b1996||null==_0x3b1996?yield 0x12b9b0a1:0x0===_0x3b1996||!0x1===_0x3b1996?yield 0x0:0x1===_0x3b1996||0x1==_0x3b1996?yield 0x1:Array['isArray'](_0x3b1996)?yield*function*(_0xf902b){for(const _0x52c14b of _0xf902b)yield*Pt(_0x52c14b);}(_0x3b1996):'object'==typeof _0x3b1996?yield*Nt(_0x3b1996):'string'==typeof _0x3b1996?yield*Vt(_0x3b1996):'number'==typeof _0x3b1996&&(yield _0x3b1996);}function*Nt(_0x3cd24e){if(yield Ot('{'),_0x3cd24e){const _0xb32b5f=Object['keys'](_0x3cd24e)['sort']();for(const _0x26f6df of _0xb32b5f){yield*Vt(_0x26f6df),yield Ot(':');const _0x4bcb7b=_0x3cd24e[_0x26f6df];yield*Pt(_0x4bcb7b);}}yield Ot('}');}function*Vt(_0x1a906d){yield Ot('\x22');for(const _0x26e03f of _0x1a906d)yield Ot(_0x26e03f);yield Ot('\x22');}function Ot(_0x9de681){return _0x9de681['charCodeAt'](0x0);}function Bt(_0x59e843){return(_0x59e843*=Math['sign'](_0x59e843))['toString'](0x24);}function Dt(_0x5e38c7){if('addAttribute'!=_0x5e38c7['type']&&'removeAttribute'!=_0x5e38c7['type']&&'changeAttribute'!=_0x5e38c7['type'])return!0x1;try{return _0x5e38c7['_validate'](),!0x1;}catch{return!0x0;}}const $t=['root','roots','initialData','context','toolbar','rootsAttributes'],Lt=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Rt(_0x1dcea3,_0x401269,_0x42eaf9,_0x3d5d6b=[]){const _0x4e33a8='string'==typeof _0x1dcea3?_0x42eaf9['get'](_0x1dcea3)['constructor']:_0x1dcea3['prototype']['constructor'];if(_0x401269['has'](_0x4e33a8))return _0x401269['get'](_0x4e33a8);_0x401269['set'](_0x4e33a8,!0x0);const _0x1de695=[...Lt,..._0x3d5d6b]['map'](_0x4e4973=>{if(_0x42eaf9['has'](_0x4e4973))return _0x42eaf9['get'](_0x4e4973)['constructor'];})['filter'](_0x172787=>_0x172787);if(_0x4e33a8&&_0x1de695['includes'](_0x4e33a8))return _0x401269['set'](_0x4e33a8,!0x1),!0x1;if(!_0x4e33a8['requires'])return _0x401269['set'](_0x4e33a8,!0x0),!0x0;const _0x2310a0=_0x4e33a8['requires']['every'](_0x5321d4=>Rt(_0x5321d4,_0x401269,_0x42eaf9,_0x3d5d6b));return _0x401269['set'](_0x4e33a8,_0x2310a0),_0x2310a0;}function Ft(_0x6f0f49,_0x43e9e9){const _0x14d31f={};for(const _0x131542 of _0x6f0f49['config']['names']())$t['includes'](_0x131542)||(_0x14d31f[_0x131542]=_0x6f0f49['config']['get'](_0x131542));const _0x2c8476=_0x14d31f['plugins']||[],_0x511c2a=_0x6f0f49['constructor']['builtinPlugins']||[],_0x39c7af=_0x2c8476['length']?_0x2c8476:_0x511c2a,_0x43f2e6=_0x14d31f['extraPlugins']||[];delete _0x14d31f['extraPlugins'];const _0x1daaf3=_0x14d31f['removePlugins']||[];delete _0x14d31f['removePlugins'];const _0xb24ad7=_0x6f0f49['_context']['config']['get']('plugins')||[],_0x4cd593=_0x39c7af['concat'](_0x43f2e6)['concat'](_0xb24ad7)['map'](_0x5d9113=>'string'==typeof _0x5d9113?_0x511c2a['find'](_0x75b2c0=>_0x75b2c0['pluginName']==_0x5d9113):_0x5d9113)['filter'](_0x557c8e=>!_0x1daaf3['includes'](_0x557c8e)&&!_0x1daaf3['includes'](_0x557c8e['pluginName'])),_0x11fa32=Array['from'](new Set(_0x4cd593)),_0x32afb7=new Map();return _0x14d31f['plugins']=_0x11fa32['filter'](_0x1b160b=>Rt(_0x1b160b,_0x32afb7,_0x6f0f49['plugins'],_0x43e9e9)),_0x14d31f;}function Ht(_0x2bbab7,_0x30935b){const _0x5cb627=[];_0x2bbab7['document']['selection']['on']('change:range',()=>{const _0x456457=function(_0x55d1e3,_0x528fb2){const _0x3bee39=[];for(const _0x203d4a of _0x55d1e3['markers']){const _0x443bf7=_0x203d4a['getRange']();(_0x443bf7['containsPosition'](_0x528fb2)||_0x443bf7['start']['isEqual'](_0x528fb2)||_0x443bf7['end']['isEqual'](_0x528fb2))&&_0x3bee39['push'](_0x203d4a);}return _0x3bee39;}(_0x2bbab7,_0x2bbab7['document']['selection']['focus']),_0x5ba1b1=[],_0x336fdc=[],_0x5cea29=[];for(const _0x3acdd3 of _0x5cb627)_0x456457['includes'](_0x3acdd3)||_0x5ba1b1['push'](_0x3acdd3);for(const _0x30a30d of _0x456457)_0x5cb627['includes'](_0x30a30d)||_0x336fdc['push'](_0x30a30d),_0x5cea29['push'](_0x30a30d);(_0x5ba1b1['length']||_0x336fdc['length'])&&_0x30935b({'left':_0x5ba1b1,'entered':_0x336fdc}),_0x5cb627['length']=0x0,_0x5cb627['push'](..._0x5cea29);});}const Ut='Ctrl+Shift+E';function zt(_0x5a899b,_0x2bb5d8){const _0x3268af=_0x5a899b['element'];_0x5a899b['keystrokes']['listenTo'](_0x3268af);for(const _0x1eaa10 of _0x2bb5d8)Wt(_0x5a899b,_0x1eaa10);_0x2bb5d8['on']('change',(_0x3040f5,_0x51eff5)=>{for(const _0x1f97d0 of _0x51eff5['removed'])Yt(_0x5a899b,_0x1f97d0);for(const _0x27fa8c of Array['from'](_0x51eff5['added'])['reverse']())Wt(_0x5a899b,_0x27fa8c);}),_0x5a899b['keystrokes']['set']('enter',(_0x36e9f9,_0x580e8e)=>{_0x3268af===_0x36e9f9['target']&&(_0x5a899b['focusCycler']['focusFirst'](),_0x580e8e());},{'filter':_0x337cb7=>_0x337cb7['target']===_0x3268af}),_0x5a899b['keystrokes']['set']('esc',(_0x5c51c1,_0x4c4742)=>{_0x3268af!==_0x5c51c1['target']?_0x5a899b['focus']():_0x5a899b['fire']('escape'),_0x4c4742();}),_0x5a899b['keystrokes']['set']('arrowdown',(_0x1d8969,_0x45572a)=>{_0x3268af===_0x1d8969['target']&&(_0x5a899b['fire']('arrowdown'),_0x45572a());}),_0x5a899b['keystrokes']['set']('arrowup',(_0xfe4f0c,_0x5734df)=>{_0x3268af===_0xfe4f0c['target']&&(_0x5a899b['fire']('arrowup'),_0x5734df());});}function Wt(_0x5a7bd7,_0x29e1f3){_0x29e1f3['isRendered']&&(_0x5a7bd7['focusTracker']['add'](_0x29e1f3['element']),_0x5a7bd7['keystrokes']['listenTo'](_0x29e1f3['element']),_0x4039fc(_0x29e1f3)&&function(_0xb32dfc,_0x26a8ee){const _0x28cda7=_0xb32dfc['actions'],_0x5039da=_0x26a8ee['actions'];for(const _0x52290c of Object['keys'](_0x28cda7))if(_0x52290c in _0x5039da&&_0x28cda7[_0x52290c]!==_0x5039da[_0x52290c])return!0x1;return!0x0;}(_0x5a7bd7['focusCycler'],_0x29e1f3['focusCycler'])&&_0x5a7bd7['focusCycler']['chain'](_0x29e1f3['focusCycler']));}function Yt(_0x27c407,_0x5aea45){_0x27c407['focusTracker']['remove'](_0x5aea45['element']),_0x27c407['keystrokes']['stopListening'](_0x5aea45['element']),_0x4039fc(_0x5aea45)&&_0x27c407['focusCycler']['unchain'](_0x5aea45['focusCycler']);}const jt='$elementId',Jt='data-id';var Gt=class extends _0x1c6a95{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async init(){this['context']instanceof _0x27fa3e?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x1fb3b2,_0x2a24ef)=>{_0x2a24ef['on']('ready',()=>{this['_integrateEditor'](_0x2a24ef);});});}get editor(){if(this['context']instanceof _0x27fa3e)return this['context'];{const _0x5f3b96=this['context']['editors']['first'];if(!_0x5f3b96)throw new _0x9e3258('documentcompare-no-editor',this);return _0x5f3b96;}}getDiff(_0x440f08,_0x579893,_0x4e923d={'anchor':'main','markDeletions':!0x1}){const _0x3f5765=_0x4e923d['targetEditor']||this['editor'],_0x174530=_0x4e923d['anchor']??'main';let _0x4e7b91,_0x2a6b9c;if('string'==typeof _0x174530){const _0x87e7b1=_0x3f5765['model']['document']['getRoot'](_0x174530);if(!_0x87e7b1)throw new _0x9e3258('documentcompare-compare-no-root',this,{'anchor':_0x174530});_0x4e7b91=_0x87e7b1,_0x2a6b9c=_0x3f5765['model']['createPositionAt'](_0x87e7b1,0x0);}else _0x4e7b91=_0x174530['clone'](),_0x2a6b9c=_0x174530['clone']();const _0xf94652=_0x3f5765['data']['parse'](_0x440f08,_0x4e7b91),_0x36a872=_0x3f5765['data']['parse'](_0x579893,_0x4e7b91);return new Kt({'editor':_0x3f5765,'before':_0xf94652,'after':_0x36a872,'options':{'anchor':_0x2a6b9c,'markDeletions':_0x4e923d['markDeletions']}});}isMarkedRemoveOperation(_0x383557){return'marker'==_0x383557['type']&&_0x383557['name']['startsWith']('$markedRemove');}applyOperations(_0x325582,_0x2e1c15){const _0xb0d684=_0x325582['model'];for(const _0x30b8c7 of _0x2e1c15)Dt(_0x30b8c7)||(_0x30b8c7 instanceof _0x1fba41?_0x325582['_addOperationForAffectedMarkers']('move',_0x1f7020['_createFromPositionAndShift'](_0x30b8c7['sourcePosition'],_0x30b8c7['howMany'])):_0x30b8c7 instanceof _0x3a3066?_0x325582['_addOperationForAffectedMarkers']('merge',_0x30b8c7['deletionPosition']):_0x30b8c7 instanceof _0x31e822&&this['_fixMarkerOperationOldRange'](_0xb0d684,_0x30b8c7),_0x30b8c7['baseVersion']=_0xb0d684['document']['version'],_0x325582['batch']['addOperation'](_0x30b8c7),_0xb0d684['applyOperation'](_0x30b8c7));}_fixMarkerOperationOldRange(_0x16e10f,_0x4e622c){const _0x7b72f=_0x16e10f['markers']['get'](_0x4e622c['name']);_0x7b72f&&(_0x4e622c['oldRange']=_0x7b72f['getRange']());}_integrateEditor(_0xad6027){_0xad6027['conversion']['for']('upcast')['add'](_0x521fce=>{_0x521fce['on']('element',(_0x138f43,_0x82a1b9,_0x419f3e)=>{if(_0x82a1b9['modelRange']&&_0x419f3e['consumable']['consume'](_0x82a1b9['viewItem'],{'attributes':'data-id'}))for(const _0x21a3a1 of _0x82a1b9['modelRange']['getItems']({'shallow':!0x0})){if(_0x21a3a1['is']('$textProxy'))continue;const _0x4d51ae=_0x82a1b9['viewItem']['getAttribute'](Jt);_0x4d51ae&&_0x419f3e['writer']['setAttribute'](jt,_0x4d51ae,_0x21a3a1);}},{'priority':'low'});}),_0xad6027['model']['schema']['addAttributeCheck'](()=>!0x0,jt);}},Kt=class{_editor;_diffItems=[];_markDeletions;['_anchor'];_operationsData=[];_path=[0x0];_parents=[];_splitPostponedData=new Map();constructor({editor:_0x5efc62,before:_0x4f6ccc,after:_0x35bd3e,options:_0x5b1874}){this['_editor']=_0x5efc62,this['_markDeletions']=!!_0x5b1874['markDeletions'],this['_anchor']=_0x5b1874['anchor'];const _0x1dba47=this['_tokenizeModel'](_0x4f6ccc),_0x1711d4=this['_tokenizeModel'](_0x35bd3e);this['_diffItems']=this['_diffModelTokens'](_0x1dba47,_0x1711d4),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x4f6ccc['markers'],_0x35bd3e['markers']);}getOperationsData(){return this['_operationsData'];}getOperations(){const _0x600820=this['_editor']['model']['document'],_0x29e983=[];let _0x4244c3=_0x600820['version'];for(const _0x5352fd of this['_operationsData'])switch(_0x5352fd['type']){case'attribute':{const _0x52e666=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']),_0x31d108=new _0x1f7020(_0x52e666,_0x52e666['getShiftedBy'](_0x5352fd['howMany'])),_0x21c4db=JSON['parse'](_0x5352fd['oldValue']),_0x1a7054=JSON['parse'](_0x5352fd['newValue']);_0x29e983['push'](new _0x597333(_0x31d108,_0x5352fd['key'],_0x21c4db,_0x1a7054,_0x4244c3++));break;}case'insert':{const _0x2314cb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']),_0x5b563f=this['_makeModelFromTokens'](_0x5352fd['tokens']);_0x29e983['push'](new _0x32923b(_0x2314cb,_0x5b563f,_0x4244c3++));break;}case'remove':{const _0x5dff49=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']),_0x2380ac=new _0x44c66f(_0x600820['graveyard'],[0x0]);_0x29e983['push'](new _0x1fba41(_0x5dff49,_0x5352fd['howMany'],_0x2380ac,_0x4244c3++));break;}case'rename':{const _0x83de8e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']);_0x29e983['push'](new _0x2a8fa9(_0x83de8e,_0x5352fd['oldName'],_0x5352fd['newName'],_0x4244c3++));break;}case'split':{const _0x387be9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']),_0x5c9aa1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']['slice'](0x0,-0x1));_0x5c9aa1['offset']++,_0x29e983['push'](new _0x2a9d67(_0x387be9,Number['NEGATIVE_INFINITY'],_0x5c9aa1,null,_0x4244c3++));break;}case'merge':{const _0x19fc18=_0x5352fd['path']['slice'](),_0x1ae179=_0x19fc18['slice'](0x0,-0x1);_0x1ae179[_0x1ae179['length']-0x1]++,_0x1ae179['push'](0x0);const _0x4e466d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ae179),_0x534b03=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x19fc18),_0x12a9ed=new _0x44c66f(_0x600820['graveyard'],[0x0]);_0x29e983['push'](new _0x3a3066(_0x4e466d,Number['NEGATIVE_INFINITY'],_0x534b03,_0x12a9ed,_0x4244c3++));break;}case'marker':case'markedRemove':{let _0x4d6715=null;_0x5352fd['range']&&(_0x4d6715=new _0x1f7020(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['range']['end'])));const _0x610e61='marker'==_0x5352fd['type']?_0x5352fd['name']:'$markedRemove:'+_0x268c42();_0x29e983['push'](new _0x31e822(_0x610e61,null,_0x4d6715,_0x600820['model']['markers'],!0x0,_0x4244c3++));break;}case'unwrap':{const _0x1e48c=_0x5352fd['path']['slice']();_0x1e48c['push'](0x0);const _0x450529=_0x5352fd['path']['slice'](),_0xb00343=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1e48c),_0x34293e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x450529),_0x20bbb1=new _0x44c66f(_0x600820['graveyard'],[0x0]);_0x29e983['push'](new _0x1fba41(_0xb00343,_0x5352fd['howMany'],_0x34293e,_0x4244c3++)),_0x29e983['push'](new _0x1fba41(_0x34293e['getShiftedBy'](_0x5352fd['howMany']),0x1,_0x20bbb1,_0x4244c3++));break;}case'wrap':{const _0x194bcb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['range']['start']),_0x299d6d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['range']['end']),_0x1bc05f=_0x5352fd['token']['element']['_clone'](!0x1);_0x1bc05f['_removeAttribute'](jt);const _0x56ac27=_0x5352fd['range']['end']['slice']();_0x56ac27['push'](0x0);const _0x40d34f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56ac27);_0x29e983['push'](new _0x32923b(_0x299d6d,_0x1bc05f,_0x4244c3++)),_0x29e983['push'](new _0x1fba41(_0x194bcb,_0x299d6d['offset']-_0x194bcb['offset'],_0x40d34f,_0x4244c3++));break;}}return _0x29e983;}_tokenizeModel(_0x4898f0){const _0x577be2=[],_0x3607ac=new _0x542f34({'boundaries':_0x1f7020['_createIn'](_0x4898f0)});let _0x4ede42='',_0x49a3a6=null;const _0x2ee558=[''],_0x36d80d=new Map();for(const _0x51d1b0 of _0x3607ac)if('elementStart'==_0x51d1b0['type']||'elementEnd'==_0x51d1b0['type']){let _0x72e901=_0x2ee558[0x0];''!==_0x4ede42&&(_0x577be2['push'](...this['_makeTokensFromTextByWords'](_0x4ede42,_0x49a3a6,_0x72e901)),_0x4ede42='');const _0x1a404e=_0x51d1b0['item'];let _0x2b448a;_0x1a404e['getAttribute']('$elementId')?_0x2b448a=_0x1a404e['getAttribute'](jt):'elementStart'==_0x51d1b0['type']?(_0x2b448a=Zt(_0x1a404e),_0x36d80d['set'](_0x1a404e,_0x2b448a)):_0x2b448a=_0x36d80d['get'](_0x1a404e);const _0x279ba1=this['_getElementCategory'](_0x1a404e);'solid'==_0x279ba1&&('elementStart'==_0x51d1b0['type']?(_0x72e901=_0x2b448a,_0x2ee558['unshift'](_0x72e901)):_0x2ee558['shift']());const _0x456866={'type':'element','element':_0x1a404e,'elementId':_0x2b448a,'category':_0x279ba1,'isStart':'elementStart'==_0x51d1b0['type'],'limitId':_0x72e901};_0x577be2['push'](_0x456866);}else''==_0x4ede42&&(_0x49a3a6=_0x51d1b0['previousPosition']['clone']()),_0x4ede42+=_0x51d1b0['item']['data'];return''!==_0x4ede42&&_0x577be2['push'](...this['_makeTokensFromTextByWords'](_0x4ede42,_0x49a3a6,_0x2ee558[0x0])),_0x577be2;}_makeTokensFromTextByWords(_0xcbdb1d,_0x555a0c,_0x2ea187){const _0x334232=_0xcbdb1d['matchAll'](/(\s)/g),_0x313d55=Array['from'](_0x334232)['map'](_0xc9a4e2=>_0xc9a4e2['index']);_0x313d55['push'](_0xcbdb1d['length']),0x0==_0x313d55[0x0]&&_0x313d55['shift']();const _0x434584=[],_0x439b43=_0x555a0c['parent'];let _0x10aa72=0x0,_0x20e2c0=_0x555a0c['offset'];for(let _0x4cfe65=0x0;_0x4cfe65<_0x313d55['length'];_0x4cfe65++)_0x434584['push']({'type':'text','data':_0xcbdb1d['slice'](_0x10aa72,_0x313d55[_0x4cfe65]),'parent':_0x439b43,'offset':_0x20e2c0,'limitId':_0x2ea187}),_0x10aa72=_0x313d55[_0x4cfe65],_0x20e2c0=_0x555a0c['offset']+_0x313d55[_0x4cfe65];return _0x434584;}_getElementCategory(_0x25698f){const _0x1eb472=this['_editor']['model']['schema'];return _0x1eb472['isLimit'](_0x25698f)||_0x1eb472['isContent'](_0x25698f)||_0x1eb472['isInline'](_0x25698f)?'solid':_0x1eb472['isBlock'](_0x25698f)?'block':function(_0x5a806c,_0x4e325e){const _0x100e7e=_0x5a806c['parent'];if(!_0x100e7e||_0x100e7e['is']('documentFragment'))return!0x1;if(_0x4e325e['checkChild'](_0x100e7e,'$text'))return!0x1;for(const _0x189894 of _0x5a806c['getChildren']())if(_0x189894['is']('$text'))return!0x0;return!0x1;}(_0x25698f,_0x1eb472)?'solid':'container';}['_diffModelTokens'](_0x3bd57c,_0x54734c){const _0x3b1434=_0x1b337b(_0x3bd57c,_0x54734c,{'comparator':qt});this['_handleUnclosedBlockOpeningTags'](_0x3b1434);const _0x566727=_0x3b1434['flatMap'](_0x9f2a14=>{const _0x3bf59c=_0x9f2a14['added']?'added':_0x9f2a14['removed']?'removed':'unchanged';return _0x9f2a14['value']['map'](_0x53d37b=>({'token':_0x53d37b,'change':_0x3bf59c}));});let _0x64dda=0x0;for(const _0x181808 of _0x566727)'added'!=_0x181808['change']&&('unchanged'==_0x181808['change']&&(_0x181808['before']=_0x3bd57c[_0x64dda]),_0x64dda++);return _0x566727;}['_handleUnclosedBlockOpeningTags'](_0x4c58c1){for(let _0x544e34=0x0;_0x544e34<_0x4c58c1['length']-0x1;_0x544e34++)if(_0x4c58c1[_0x544e34]['removed']&&_0x4c58c1[_0x544e34+0x1]['added']){const _0x478300=this['_findUnclosedBlockOpeningToken'](_0x4c58c1[_0x544e34]['value']);if(null!==_0x478300){const _0x1d0da4=this['_findUnclosedBlockOpeningToken'](_0x4c58c1[_0x544e34+0x1]['value']),_0x555c8d=_0x4c58c1[_0x544e34]['value']['splice'](_0x478300),_0xbab4f5=_0x4c58c1[_0x544e34+0x1]['value']['splice'](_0x1d0da4),_0x4fee63=[_0xbab4f5['shift']()];_0x555c8d['shift']();const _0x107577={'value':_0x555c8d,'removed':!0x0},_0x54cf4d={'value':_0xbab4f5,'added':!0x0},_0xc578d2={'value':_0x4fee63};_0x4c58c1['splice'](_0x544e34+0x2,0x0,_0xc578d2,_0x107577,_0x54cf4d);}}}['_findUnclosedBlockOpeningToken'](_0x2e8f9a){let _0x4cd400=0x0,_0x2843b7=-0x1;for(let _0xb0cc17=0x0;_0xb0cc17<_0x2e8f9a['length'];_0xb0cc17++){const _0x453648=_0x2e8f9a[_0xb0cc17];'element'==_0x453648['type']&&'block'==_0x453648['category']&&(_0x4cd400+=_0x453648['isStart']?0x1:-0x1,_0x453648['isStart']&&(_0x2843b7=_0xb0cc17));}return 0x0===_0x4cd400?null:_0x2843b7;}_calculateOperationsData(){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x5a4d0b=0x0;_0x5a4d0b<this['_diffItems']['length'];_0x5a4d0b++){const _0x3f6424=this['_diffItems'][_0x5a4d0b]['change'],_0x7662d2=[];_0x7662d2['push'](this['_diffItems'][_0x5a4d0b]);let _0x7d2901=_0x5a4d0b+0x1;for(;this['_diffItems'][_0x7d2901]&&this['_diffItems'][_0x7d2901]['change']==_0x3f6424;)_0x7662d2['push'](this['_diffItems'][_0x7d2901]),_0x7d2901++,_0x5a4d0b++;const _0x832d16=_0x7662d2['map'](_0x4fbe8f=>_0x4fbe8f['token']);if('unchanged'==_0x3f6424)_0x7662d2['map'](_0x36e66e=>_0x36e66e['before'])['forEach'](_0xe648cb=>this['_traverseOverItem'](_0xe648cb));else{if('removed'==_0x3f6424){if(this['_markDeletions']){const _0x314f25=this['_path']['slice']();_0x832d16['forEach'](_0x1c7b02=>this['_traverseOverItem'](_0x1c7b02));const _0x2dfc99=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x314f25,'end':_0x2dfc99}});}else this['_handleChanged'](_0x832d16,!0x0,this['_path']['slice']());}else{const _0x268476=_0x832d16['filter'](_0x4ae6d2=>'element'!=_0x4ae6d2['type']||'container'!=_0x4ae6d2['category']);this['_handleChanged'](_0x268476,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x115e20=0x0;_0x115e20<this['_diffItems']['length'];_0x115e20++){const _0xb9ca1a=this['_diffItems'][_0x115e20]['change'],_0x42a22d=[];_0x42a22d['push'](this['_diffItems'][_0x115e20]);let _0xbd78ca=_0x115e20+0x1;for(;this['_diffItems'][_0xbd78ca]&&this['_diffItems'][_0xbd78ca]['change']==_0xb9ca1a;)_0x42a22d['push'](this['_diffItems'][_0xbd78ca]),_0xbd78ca++,_0x115e20++;const _0x1fa678=_0x42a22d['map'](_0x192ab2=>_0x192ab2['token']);if('unchanged'==_0xb9ca1a){const _0x41a3c7=_0x42a22d['map'](_0x10b373=>_0x10b373['before']);this['_handleUnchanged'](_0x41a3c7,_0x1fa678);}else('added'==_0xb9ca1a||this['_markDeletions'])&&_0x1fa678['forEach'](_0x4bb9eb=>{'element'==_0x4bb9eb['type']&&_0x4bb9eb['isStart']&&this['_splitPostponedData']['has'](_0x4bb9eb['element'])&&this['_handleSplitPostponedData'](_0x4bb9eb['element'],this['_path']),this['_traverseOverItem'](_0x4bb9eb);});}}_handleSplitPostponedData(_0x2d3a13,_0x509a15){const _0x31c67f=this['_splitPostponedData']['get'](_0x2d3a13);for(const _0x180c0b of _0x31c67f)'rename'==_0x180c0b['type']?this['_operationsData']['push']({'type':'rename','path':_0x509a15['slice'](),'oldName':_0x180c0b['oldValue'],'newName':_0x2d3a13['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x509a15['slice'](),'howMany':0x1,'key':_0x180c0b['key'],'oldValue':_0x180c0b['oldValue'],'newValue':JSON['stringify'](_0x2d3a13['getAttribute'](_0x180c0b['key'])??null)});}_calculateMarkersOperationsData(_0x266868,_0x56a882){const _0x5a008b={};for(const [_0x21eb06]of _0x266868)_0x5a008b[_0x21eb06]=null;for(const [_0xd17ae7,_0x68b943]of _0x56a882)_0x5a008b[_0xd17ae7]=_0x68b943;const _0x4d46af=Object['entries'](_0x5a008b)['map'](([_0x41f0af,_0xea83d2])=>({'type':'marker','name':_0x41f0af,'range':_0xea83d2?{'start':_0xea83d2['start']['path']['slice'](),'end':_0xea83d2['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x4d46af);}['_handleUnwraps'](){const _0x5bd07c=new Map(),_0x3c53bf=[],_0x2d1428=[0x0];let _0xf29240=this['_diffItems']['length']+0x1;for(let _0x5e4b93=this['_diffItems']['length']-0x1;_0x5e4b93>=0x0;_0x5e4b93--){const {token:_0x2f7507,before:_0x2781e3,change:_0x328046}=this['_diffItems'][_0x5e4b93];if('removed'!=_0x328046&&(_0xf29240=_0x5e4b93),'element'!=_0x2f7507['type']||'container'!=_0x2f7507['category']||'added'==_0x328046)continue;const _0x440d40=_0x2781e3?_0x2781e3['element']:_0x2f7507['element'];if(_0x2f7507['isStart']){const _0x225d4f=_0x5bd07c['get'](_0x440d40),_0x297fd0=this['_diffItems'][_0x225d4f];('removed'==_0x328046||'removed'==_0x297fd0['change'])&&_0xf29240<_0x225d4f&&(this['_operationsData']['push']({'type':'unwrap','path':_0x440d40['getPath'](),'howMany':_0x440d40['maxOffset']+_0x2d1428[0x0]}),_0x2d1428['shift'](),_0x2d1428[0x0]+=_0x440d40['maxOffset']-0x1,_0x3c53bf['push'](_0x5e4b93),_0x3c53bf['push'](_0x225d4f));}else _0x5bd07c['set'](_0x440d40,_0x5e4b93),_0x2d1428['unshift'](0x0);}_0x3c53bf['sort']((_0xfa28ef,_0x24edd2)=>_0x24edd2-_0xfa28ef),_0x3c53bf['forEach'](_0x17430d=>{const _0x51636f=this['_diffItems'][_0x17430d];'removed'==_0x51636f['change']?this['_diffItems']['splice'](_0x17430d,0x1):(_0x51636f['change']='added',delete _0x51636f['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x42e79f=[];for(let _0x57021c=0x0;_0x57021c<this['_diffItems']['length'];_0x57021c++){const {change:_0x8c8db8,token:_0x344417}=this['_diffItems'][_0x57021c];if('added'==_0x8c8db8&&'element'==_0x344417['type']&&'container'==_0x344417['category']){if(_0x344417['isStart'])_0x42e79f['push'](this['_path']['slice']());else{if(!_0x344417['isStart']){const _0x3c535f=_0x42e79f['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x3c535f,'end':this['_path']['slice']()},'token':_0x344417}),this['_path'][this['_path']['length']-0x1]=_0x3c535f[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x8c8db8||this['_markDeletions'])&&this['_traverseOverItem'](_0x344417);}}['_handleUnchanged'](_0x4fe2d6,_0xa96046){for(let _0x4e7969=0x0;_0x4e7969<_0x4fe2d6['length'];_0x4e7969++){const _0x5f3878=_0x4fe2d6[_0x4e7969];if('element'==_0x5f3878['type']&&_0x5f3878['isStart']){const _0x359bad=_0xa96046[_0x4e7969];'block'==_0x5f3878['category']&&this['_handleElementRename'](_0x5f3878['element'],_0x359bad['element'],this['_path']),this['_handleElementAttributeChanges'](_0x5f3878['element'],_0x359bad['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x359bad);}else{if('element'!=_0x5f3878['type']||_0x5f3878['isStart']){if('text'==_0x5f3878['type']){const _0x52a4bf=this['_path']['slice'](),_0x3f8d32=[],_0x4b71e8=[];for(;_0x4fe2d6[_0x4e7969]&&'text'==_0x4fe2d6[_0x4e7969]['type'];)_0x3f8d32['push'](_0x4fe2d6[_0x4e7969]),_0x4b71e8['push'](_0xa96046[_0x4e7969]),this['_path'][this['_path']['length']-0x1]+=_0x4fe2d6[_0x4e7969]['data']['length'],_0x4e7969++;_0x4e7969--,this['_handleTextAttributeChanges'](_0x3f8d32,_0x4b71e8,_0x52a4bf);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x1783e5,_0xbbba68,_0x756ad9){const _0x2582dd=[],_0x2f3e38=[],_0x4b0b9c=_0x756ad9['slice']();let _0x2f38e7=this['_parents']['length']-0x1;for(let _0x3e0500=0x0;_0x3e0500<_0x1783e5['length'];_0x3e0500++){const _0x34261c=_0x1783e5[_0x3e0500],_0x4df7c7=_0x756ad9['slice']();'element'!=_0x34261c['type']||_0x34261c['isStart']?'element'==_0x34261c['type']&&_0x34261c['isStart']?(_0x756ad9['push'](0x0),_0x2f38e7++,_0x2f3e38['push']({'before':_0x4df7c7,'after':_0x756ad9['slice'](),'index':_0x3e0500})):_0x756ad9[_0x756ad9['length']-0x1]+=_0x34261c['data']['length']:(_0x756ad9['pop'](),_0x756ad9[_0x756ad9['length']-0x1]++,_0x2f38e7--,_0x2f3e38['length']?_0x2f3e38['pop']():_0x2582dd['push']({'before':_0x4df7c7,'after':_0x756ad9['slice'](),'index':_0x3e0500}));}if(_0x2f3e38['length']!==_0x2582dd['length'])throw new _0x9e3258('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x1783e5,'isRemove':_0xbbba68});const _0x231204=[{'after':_0x4b0b9c['slice'](),'index':-0x1},..._0x2582dd,..._0x2f3e38,{'before':_0x756ad9['slice'](),'index':_0x1783e5['length']}];if(_0xbbba68){for(let _0x3f1171=_0x231204['length']-0x1;_0x3f1171>=0x1;_0x3f1171--){const _0x48a7b4=_0x231204[_0x3f1171-0x1]['after'],_0x1502fb=_0x231204[_0x3f1171]['before'],_0x118bfb=_0x1502fb[_0x1502fb['length']-0x1]-_0x48a7b4[_0x48a7b4['length']-0x1];_0x118bfb&&(this['_operationsData']['push']({'type':'remove','path':_0x48a7b4,'howMany':_0x118bfb}),_0x1502fb[_0x1502fb['length']-0x1]-=_0x118bfb);}for(const {before:_0x54ba69}of _0x2582dd)this['_operationsData']['push']({'type':'merge','path':_0x54ba69});}else for(let _0x44199=0x0;_0x44199<_0x231204['length']-0x1;_0x44199++){const _0x45a3f0=_0x231204[_0x44199]['after'],_0x3adba4=_0x231204[_0x44199+0x1]['before'],_0x524adb=_0x231204[_0x44199]['index']+0x1,_0x48fb99=_0x231204[_0x44199+0x1]['index'];if(_0x524adb!==_0x48fb99&&this['_operationsData']['push']({'type':'insert','path':_0x45a3f0,'tokens':_0x1783e5['slice'](_0x524adb,_0x48fb99)}),_0x44199<_0x2582dd['length']){this['_operationsData']['push']({'type':'split','path':_0x3adba4});const _0x25f416=_0x1783e5[_0x2f3e38[_0x2f3e38['length']-0x1-_0x44199]['index']],_0x616bf1=this['_parents'][_0x2f38e7]['element'];_0x616bf1['name']!=_0x25f416['element']['name']&&this['_addSplitPostponedData'](_0x25f416['element'],{'type':'rename','oldValue':_0x616bf1['name']});const _0x52a43f=this['_getAttributeChanges'](_0x616bf1['getAttributes'](),_0x25f416['element']['getAttributes']());for(const _0x25309d in _0x52a43f){const _0xc08d2d=_0x52a43f[_0x25309d]['oldValue'];this['_addSplitPostponedData'](_0x25f416['element'],{'type':'attribute','key':_0x25309d,'oldValue':_0xc08d2d});}}}}_addSplitPostponedData(_0xcc194b,_0x1d84d3){const _0x5e05a4=this['_splitPostponedData']['get'](_0xcc194b)||[];_0x5e05a4['push'](_0x1d84d3),this['_splitPostponedData']['set'](_0xcc194b,_0x5e05a4);}_traverseOverItem(_0x4e794b){'element'==_0x4e794b['type']&&_0x4e794b['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x4e794b)):'element'!=_0x4e794b['type']||_0x4e794b['isStart']?'text'==_0x4e794b['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x4e794b['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}_handleElementRename(_0x82f6b7,_0x15fbbe,_0x382b21){_0x82f6b7['name']!=_0x15fbbe['name']&&this['_operationsData']['push']({'type':'rename','path':_0x382b21['slice'](),'oldName':_0x82f6b7['name'],'newName':_0x15fbbe['name']});}_handleElementAttributeChanges(_0x4c976f,_0x5ea542,_0xc98748){const _0xac0f79=this['_getAttributeChanges'](_0x4c976f['getAttributes'](),_0x5ea542['getAttributes']());for(const _0x17f641 in _0xac0f79){const {oldValue:_0x261027,newValue:_0x5d5b30}=_0xac0f79[_0x17f641];this['_operationsData']['push']({'type':'attribute','path':_0xc98748['slice'](),'howMany':0x1,'key':_0x17f641,'oldValue':_0x261027,'newValue':_0x5d5b30});}}_handleTextAttributeChanges(_0x242f99,_0xb3340a,_0x2736f7){const _0x194cbe=this['_operationsData'],_0x5b002a=_0x242f99[0x0]['parent'],_0x29c554=_0x242f99[0x0]['offset'],_0x3c287d=_0xb3340a[0x0]['parent'],_0x1e5e01=_0xb3340a[0x0]['offset'],_0x26f012=_0x242f99['reduce']((_0x411ffd,_0x5a519b)=>_0x411ffd+_0x5a519b['data']['length'],0x0),_0x13be26=this['_getAttrsForOffsets'](_0x5b002a,_0x29c554,_0x26f012),_0x2231f0=this['_getAttrsForOffsets'](_0x3c287d,_0x1e5e01,_0x26f012),_0x352d12={};for(let _0x52c686=0x0;_0x52c686<_0x26f012;_0x52c686++){const _0x3fbc3b=_0x13be26[_0x29c554+_0x52c686],_0x28d15d=_0x2231f0[_0x1e5e01+_0x52c686],_0x46e118=this['_getAttributeChanges'](_0x3fbc3b,_0x28d15d);for(const _0x46c8eb in _0x352d12)_0x46e118[_0x46c8eb]||_0x43277e(_0x46c8eb);for(const _0xddabe4 in _0x46e118){const {oldValue:_0x156fd3,newValue:_0x238cd3}=_0x46e118[_0xddabe4],_0x1c85d6=_0x352d12[_0xddabe4];_0x1c85d6?_0x1c85d6['oldValue']==_0x156fd3&&_0x1c85d6['newValue']==_0x238cd3?_0x1c85d6['length']++:(_0x43277e(_0xddabe4),_0x352d12[_0xddabe4]={'oldValue':_0x156fd3,'newValue':_0x238cd3,'start':_0x52c686,'length':0x1}):_0x352d12[_0xddabe4]={'oldValue':_0x156fd3,'newValue':_0x238cd3,'start':_0x52c686,'length':0x1};}}for(const _0x46356a in _0x352d12)_0x43277e(_0x46356a);function _0x43277e(_0x51513c){const _0x3b62b2=_0x352d12[_0x51513c],_0xa3e5bd=_0x2736f7['slice']();_0xa3e5bd[_0xa3e5bd['length']-0x1]+=_0x3b62b2['start'],_0x194cbe['push']({'type':'attribute','path':_0xa3e5bd,'howMany':_0x3b62b2['length'],'key':_0x51513c,'oldValue':_0x3b62b2['oldValue'],'newValue':_0x3b62b2['newValue']}),delete _0x352d12[_0x51513c];}}_getAttributeChanges(_0x3631c7,_0x5b3e2d){const _0x59d2e1={};for(const [_0x58bde1,_0x357fec]of _0x3631c7)_0x59d2e1[_0x58bde1]={'oldValue':JSON['stringify'](_0x357fec),'newValue':'null'};for(const [_0x531a86,_0x19526d]of _0x5b3e2d){const _0x4fcd7e=JSON['stringify'](_0x19526d);_0x59d2e1[_0x531a86]?_0x59d2e1[_0x531a86]['oldValue']==_0x4fcd7e?delete _0x59d2e1[_0x531a86]:_0x59d2e1[_0x531a86]['newValue']=_0x4fcd7e:_0x59d2e1[_0x531a86]={'oldValue':'null','newValue':_0x4fcd7e};}return delete _0x59d2e1[jt],_0x59d2e1;}_getAttrsForOffsets(_0x4f8774,_0x42b42e,_0xeebf7b){const _0x3b0a41=new Array(_0x42b42e+_0xeebf7b);let _0x16923b=_0x4f8774['getChildAtOffset'](_0x42b42e),_0x2e6d07=_0x16923b['startOffset'];for(;_0x16923b&&_0x2e6d07<_0x42b42e+_0xeebf7b;){const _0x4400b3=Array['from'](_0x16923b['getAttributes']());_0x3b0a41['fill'](_0x4400b3,_0x2e6d07,_0x2e6d07+_0x16923b['offsetSize']),_0x2e6d07+=_0x16923b['offsetSize'],_0x16923b=_0x16923b['nextSibling'];}return _0x3b0a41;}_getPositionFromAnchorAndPath(_0x2dcab0,_0x1fb586){const _0x42b1e8=[..._0x2dcab0['path']['slice'](0x0,-0x1),_0x2dcab0['offset']+_0x1fb586[0x0],..._0x1fb586['slice'](0x1)];return new _0x44c66f(_0x2dcab0['root'],_0x42b1e8);}['_makeModelFromTokens'](_0x1d2202){const _0x5c21ed=[];let _0x218154=null;for(const _0x182d56 of _0x1d2202)if('element'!=_0x182d56['type']||_0x182d56['isStart']||_0x218154!=_0x182d56['element']){if(!_0x218154){if('text'==_0x182d56['type']){const _0x52b528=_0x44c66f['_createAt'](_0x182d56['parent'],_0x182d56['offset']),_0x5410e5=_0x1f7020['_createFromPositionAndShift'](_0x52b528,_0x182d56['data']['length']),_0x10d907=Array['from'](_0x5410e5['getItems']())['map'](_0xb8644d=>new _0x96df45(_0xb8644d['data'],_0xb8644d['getAttributes']()));_0x5c21ed['push'](..._0x10d907);}else{_0x218154=_0x182d56['element'];const _0x1005b8=_0x182d56['element']['_clone'](!0x0);_0x1005b8['_removeAttribute'](jt);for(const _0x34462d of this['_editor']['model']['createRangeIn'](_0x1005b8)['getItems']())_0x34462d['is']('element')&&_0x34462d['_removeAttribute'](jt);_0x5c21ed['push'](_0x1005b8);}}}else _0x218154=null;return _0x5c21ed;}};function qt(_0x2c4bb8,_0x278fbc){return _0x2c4bb8['type']===_0x278fbc['type']&&(_0x2c4bb8['limitId']===_0x278fbc['limitId']&&('text'==_0x2c4bb8['type']?_0x2c4bb8['data']==_0x278fbc['data']:function(_0x5ed2e0,_0x24a831){if(_0x5ed2e0['isStart']!=_0x24a831['isStart'])return!0x1;if(_0x5ed2e0['isStart']&&_0x5ed2e0['elementId']!=_0x24a831['elementId'])return!0x1;if(_0x5ed2e0['category']!=_0x24a831['category'])return!0x1;if('block'==_0x5ed2e0['category'])return!0x0;if('container'==_0x5ed2e0['category']&&_0x5ed2e0['elementId']!=_0x24a831['elementId'])return!0x1;return _0x5ed2e0['element']['name']==_0x24a831['element']['name'];}(_0x2c4bb8,_0x278fbc)));}function Zt(_0x380d68){return Tt({'name':_0x380d68['name'],...Object['fromEntries'](_0x380d68['getAttributes']())});}export{z as AriaDescriptionView,F as CollaborationUserColor,At as ConfirmMixin,jt as DATA_ID_MODEL_ATTRIBUTE,Jt as DATA_ID_VIEW_ATTRIBUTE,Gt as DocumentCompare,Kt as DocumentDiff,Ut as FOCUS_ANNOTATION_KEYSTROKE,W as LateFocusButtonView,Y as LateFocusDropdownButtonView,B as Permissions,U as PillView,Ct as SuggestionsConversion,L as User,H as UserView,$ as Users,G as fixElementSuggestionRange,It as getAllMarkersDomElementsSorted,_t as getDateTimeFormatter,xt as getMarkerDomElement,Tt as hashObject,Dt as isInvalidAttributeOperation,Ft as sanitizeEditorConfig,zt as setupThreadKeyboardNavigation,J as splitSuggestionMarkerName,Ht as surroundingMarkersDetector,St 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':_0x49b332=>0x1!=_0x49b332}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3540b1=>{const {af:{dictionary:_0x5f0970,getPluralForm:_0x4f79d3}}={'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':_0x849fa5=>0x1!=_0x849fa5}};_0x3540b1['af']||={'dictionary':{},'getPluralForm':null},_0x3540b1['af']['dictionary']=Object['assign'](_0x3540b1['af']['dictionary'],_0x5f0970),_0x3540b1['af']['getPluralForm']=_0x4f79d3;})(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':_0x14d779=>0x0==_0x14d779?0x0:0x1==_0x14d779?0x1:0x2==_0x14d779?0x2:_0x14d779%0x64>=0x3&&_0x14d779%0x64<=0xa?0x3:_0x14d779%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4477ee=>{const {ar:{dictionary:_0x55c48f,getPluralForm:_0x3839c2}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x15043b=>0x0==_0x15043b?0x0:0x1==_0x15043b?0x1:0x2==_0x15043b?0x2:_0x15043b%0x64>=0x3&&_0x15043b%0x64<=0xa?0x3:_0x15043b%0x64>=0xb?0x4:0x5}};_0x4477ee['ar']||={'dictionary':{},'getPluralForm':null},_0x4477ee['ar']['dictionary']=Object['assign'](_0x4477ee['ar']['dictionary'],_0x55c48f),_0x4477ee['ar']['getPluralForm']=_0x3839c2;})(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':_0x52d1e3=>0x1!=_0x52d1e3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x301208=>{const {ast:{dictionary:_0x36a3ce,getPluralForm:_0x3816a2}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1adee2=>0x1!=_0x1adee2}};_0x301208['ast']||={'dictionary':{},'getPluralForm':null},_0x301208['ast']['dictionary']=Object['assign'](_0x301208['ast']['dictionary'],_0x36a3ce),_0x301208['ast']['getPluralForm']=_0x3816a2;})(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':_0x1d7e33=>0x1!=_0x1d7e33}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x305fdc=>{const {az:{dictionary:_0x1665f4,getPluralForm:_0x58fbd7}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x7ade1b=>0x1!=_0x7ade1b}};_0x305fdc['az']||={'dictionary':{},'getPluralForm':null},_0x305fdc['az']['dictionary']=Object['assign'](_0x305fdc['az']['dictionary'],_0x1665f4),_0x305fdc['az']['getPluralForm']=_0x58fbd7;})(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':_0x3e17d0=>_0x3e17d0%0xa==0x1&&_0x3e17d0%0x64!=0xb?0x0:_0x3e17d0%0xa>=0x2&&_0x3e17d0%0xa<=0x4&&(_0x3e17d0%0x64<0xa||_0x3e17d0%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4afa06=>{const {be:{dictionary:_0xa9e062,getPluralForm:_0x4c70b2}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x3c4d5e=>_0x3c4d5e%0xa==0x1&&_0x3c4d5e%0x64!=0xb?0x0:_0x3c4d5e%0xa>=0x2&&_0x3c4d5e%0xa<=0x4&&(_0x3c4d5e%0x64<0xa||_0x3c4d5e%0x64>=0x14)?0x1:0x2}};_0x4afa06['be']||={'dictionary':{},'getPluralForm':null},_0x4afa06['be']['dictionary']=Object['assign'](_0x4afa06['be']['dictionary'],_0xa9e062),_0x4afa06['be']['getPluralForm']=_0x4c70b2;})(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':_0x2c3bcf=>0x1!=_0x2c3bcf}};
|