@ckeditor/ckeditor5-collaboration-core 47.0.0-alpha.5 → 47.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +4 -0
- 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 +10 -10
- package/src/documentcompare.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestions/view/ariadescriptionview.js +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/setupthreadkeyboardnavigation.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/LICENSE.md
CHANGED
|
@@ -17,6 +17,10 @@ The following libraries are included in CKEditor 5 Collaboration features c
|
|
|
17
17
|
* @types/luxon - Copyright (c) DefinitelyTyped.
|
|
18
18
|
* luxon - Copyright (c) JS Foundation and other contributors.
|
|
19
19
|
|
|
20
|
+
The following libraries are included in CKEditor 5 Collaboration features core under the [BSD 3-Clause license](https://opensource.org/license/bsd-3-clause):
|
|
21
|
+
|
|
22
|
+
* diff - Copyright (c) 2009-2015, Kevin Decker.
|
|
23
|
+
|
|
20
24
|
Trademarks
|
|
21
25
|
----------
|
|
22
26
|
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0x399403,Editor as _0x2d82d9}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x381c52,Collection as _0x4360a0,uid as _0x53f818,first as _0xdc8599,FocusTracker as _0x1f0131,KeystrokeHandler as _0x2a8bd5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x10ecbd,IconView as _0x11b4b4,ButtonView as _0x221b73,DropdownButtonView as _0x31e83d,FocusCycler as _0x1d8998,isViewWithFocusCycler as _0xc14684}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x2de594,IconCheck as _0x282447,IconCancel as _0x3e8e8f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{DateTime as _0x3ef356}from'luxon';import{InsertOperation as _0x470797,MoveOperation as _0x1259a5,ModelPosition as _0x5dc26c,ModelRange as _0x3f5ead,MarkerOperation as _0x5b6662,MergeOperation as _0x15e45f,SplitOperation as _0x335b08,RenameOperation as _0x441082,AttributeOperation as _0x55c9ee,ModelTreeWalker as _0x1b4c42,ModelText as _0x5469d1}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x54188f}from'diff';class _ extends _0x399403{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x251870,_0x5a2da4){let _0x3b77f2;if(_0x5a2da4||(_0x5a2da4=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x5a2da4?_0x3b77f2=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x3b77f2=this['context']['editors']['find'](_0x552d94=>_0x552d94['config']['get']('collaboration.channelId')==_0x5a2da4)),!_0x3b77f2)throw new _0x381c52('permissions-set-permissions-invalid-channel-id',null);const _0x4d45d4=_0x3b77f2['plugins'],_0x4785d8=_0x4d45d4['has']('CommentsRepository')?_0x4d45d4['get']('CommentsRepository'):void 0x0,_0x40075b=_0x4d45d4['has']('CommentsOnly')&&_0x4d45d4['get']('CommentsOnly'),_0x162a93=_0x251870['includes']('document:write'),_0x314cd7=_0x251870['includes']('comment:modify_all'),_0x539f0c=_0x251870['includes']('comment:admin'),_0x36c6c5=_0x251870['includes']('comment:write'),_0x5e6081=_0x36c6c5||_0x539f0c,_0x240002=_0x5e6081||_0x314cd7,_0x1eb36c=_0x162a93||_0x5e6081;(_0x40075b&&(_0x40075b['isEnabled']=!_0x162a93&&_0x240002),_0x3b77f2 instanceof _0x2d82d9)&&(!(_0x162a93||_0x240002&&_0x4785d8)?_0x3b77f2['enableReadOnlyMode']('no-permissions'):_0x3b77f2['disableReadOnlyMode']('no-permissions'));if(_0x4785d8){_0x4785d8['setPermissions']({'admin':_0x539f0c,'modifyAll':_0x314cd7,'write':_0x36c6c5,'resolve':_0x1eb36c},_0x5a2da4);const _0x143a1f=_0x3b77f2 instanceof _0x2d82d9&&_0x3b77f2['commands']['get']('addCommentThread');_0x143a1f&&(_0x5e6081?_0x143a1f['clearForceDisabled']('noPermissions'):_0x143a1f['forceDisabled']('noPermissions'));}}}function y(_0x38f739,_0x1b1a1e){const t=_0x38f739['t'];switch(_0x1b1a1e){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class P extends _0x399403{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_];}constructor(_0x15a97f){super(_0x15a97f),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x4360a0(),this['_locale']=_0x15a97f['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:_0x3360d7,name:_0x2132d5,..._0x7fbd8d}){if(!_0x3360d7||'string'!=typeof _0x3360d7)throw new _0x381c52('users-add-invalid-id');if(this['users']['has'](_0x3360d7))throw new _0x381c52('users-add-duplicated-id',null,{'id':_0x3360d7});const _0x9d277=this['context']['config']['get']('users.getInitialsCallback'),_0x4b5517={..._0x7fbd8d,'id':_0x3360d7,'name':C(this['_locale'],_0x2132d5),'color':this['_getNextColor']()};_0x4b5517['name']=C(this['_locale'],_0x4b5517['name']);const _0x243167=new R(_0x4b5517,_0x9d277);return this['users']['add'](_0x243167),_0x243167;}['getUser'](_0x104edc){return this['users']['get'](_0x104edc);}['useAnonymousUser'](){const _0xf9bce8=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0xf9bce8);}['defineMe'](_0x223dbf){if(this['_myId'])throw new _0x381c52('users-me-already-defined',null);const _0x16d9a5=this['getUser'](_0x223dbf);if(!_0x16d9a5)throw new _0x381c52('users-me-missing-user',null);this['_myId']=_0x223dbf,_0x16d9a5['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0xfcc3ca=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0xfcc3ca&&(this['_lastColor']=0x0),new Y(this['_lastColor']++);}['_addAnonymousUser'](){const _0x44d600=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x44d600,'name':y(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class R{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x1c484d,_0x209c24){this['id']=_0x1c484d['id'],this['color']=_0x1c484d['color'],this['name']=_0x1c484d['name'],this['initials']=_0x209c24?_0x209c24(this['name']):this['_computeInitials'](),this['avatar']=_0x1c484d['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x102b13=this['name']['split']('\x20')['filter'](_0xfb4bfb=>/^[\p{Letter}]/u['test'](_0xfb4bfb));return 0x1===_0x102b13['length']?this['_getInitial'](_0x102b13[0x0]):0x0===_0x102b13['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x102b13[0x0])+this['_getInitial'](_0x102b13[_0x102b13['length']-0x1]);}['_getInitial'](_0x3d28e4){return String['fromCodePoint'](_0x3d28e4['codePointAt'](0x0))['toUpperCase']();}}function C(_0x1442a2,_0x7879e6=''){return''==(_0x7879e6=_0x7879e6['trim']())?y(_0x1442a2,'Anonymous'):_0x7879e6;}class Y{['_id'];constructor(_0x597e23){this['_id']=_0x597e23;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}}class Z extends _0x10ecbd{['name'];['notificationView'];constructor(_0x52d585,_0x4432ad,_0x45998a){super(_0x52d585),this['name']=_0x4432ad['name'],this['notificationView']=null;const _0x936a4b=['ck','ck-user'],_0x4dc466=['ck','ck-user__img'];if(_0x4432ad['isAnonymous']&&_0x4dc466['push']('ck-user__anonymous'),!_0x4432ad['isAnonymous']&&_0x4432ad['isMe']&&_0x936a4b['push']('ck-user_me'),_0x4432ad['avatar']&&_0x4dc466['push']('ck-user__avatar'),_0x45998a){const _0x311c35=new _0x11b4b4();_0x311c35['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x311c35['content']=_0x2de594,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x45998a},'children':[_0x311c35]};}const _0x272ddb=[{'tag':'div','attributes':{'class':_0x4dc466,'style':{'background-image':_0x4432ad['avatar']?'url(\x27'+_0x4432ad['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x4432ad['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x4432ad['name']},'children':[{'text':_0x4432ad['initials']}]}];this['notificationView']&&_0x272ddb['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x936a4b,'data-user-id':_0x4432ad['id']},'children':_0x272ddb});}}class Q extends _0x10ecbd{['id'];constructor(_0x44a9fd,_0x38008a){super(_0x44a9fd),this['id']='ck-aria-description-'+_0x53f818(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x38008a}]});}}class X extends _0x221b73{['render'](){super['render'](),J(this);}}class tt extends _0x31e83d{['render'](){super['render'](),J(this);}}function J(_0x3d3b2d){_0x3d3b2d['listenTo'](_0x3d3b2d['element'],'mousedown',(_0x530ca5,_0x416489)=>{_0x416489['stopPropagation'](),_0x416489['preventDefault']();}),_0x3d3b2d['listenTo'](_0x3d3b2d['element'],'mouseup',()=>{_0x3d3b2d['element']['focus']();});}function et(_0x2aad07={},_0x2c99ae){if(void 0x0!==_0x2aad07['dateTimeFormat']&&'function'!=typeof _0x2aad07['dateTimeFormat'])throw new _0x381c52('invalid-date-time-format');return _0x3d3de5=>{const _0x106884='string'==typeof _0x3d3de5?_0x3ef356['fromISO'](_0x3d3de5):_0x3ef356['fromJSDate'](_0x3d3de5),_0x373331=_0x3ef356['now'](),_0x14da99=Math['floor'](_0x373331['diff'](_0x106884,'days')['days']);return _0x2aad07['dateTimeFormat']?_0x2aad07['dateTimeFormat'](_0x106884['toJSDate'](),_0x2c99ae&&_0x2c99ae['t']?_0x2c99ae['t']:void 0x0):0x0===_0x14da99?_0x2c99ae?y(_0x2c99ae,'Today')+'\x20'+_0x106884['toFormat']('hh:mma'):_0x106884['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x14da99?_0x2c99ae?y(_0x2c99ae,'Yesterday')+'\x20'+_0x106884['toFormat']('hh:mma'):_0x106884['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x14da99<0x7?_0x2c99ae?y(_0x2c99ae,'Last')+'\x20'+y(_0x2c99ae,_0x106884['toFormat']('EEEE'))+'\x20'+_0x106884['toFormat']('hh:mma'):_0x106884['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x106884['toFormat']('LL-dd-yyyy\x20hh:mma');};}function st(_0x1ecbe8,_0xe80810){const _0x2b7fa2=_0x1ecbe8['mapper']['markerNameToElements'](_0xe80810['name']);if(!_0x2b7fa2)return null;const _0x1cf6bd=_0xdc8599(_0x2b7fa2['values']());return _0x1ecbe8['view']['domConverter']['mapViewToDom'](_0x1cf6bd)||null;}function nt(_0x58f5d6,_0x18cb94){if(0x0===_0x18cb94['length'])return null;const _0x788cd5=[],_0x2edcba=_0x58f5d6['view']['domConverter'];for(const _0x1e8444 of _0x18cb94){const _0xf79a3=_0x58f5d6['mapper']['markerNameToElements'](_0x1e8444['name']);if(!_0xf79a3)continue;const _0x5617e1=Array['from'](_0xf79a3)['map'](_0x5edddb=>_0x2edcba['mapViewToDom'](_0x5edddb))['filter'](_0x2ccd89=>!!_0x2ccd89);_0x788cd5['push'](..._0x5617e1);}if(0x0===_0x788cd5['length'])return null;const _0x5e8e77=[];for(const _0x1a5f44 of _0x788cd5){const _0x1d6156=_0x1a5f44['getClientRects']()['item'](0x0);_0x1d6156&&_0x5e8e77['push']({'x':_0x1d6156['x'],'y':_0x1d6156['y'],'domElement':_0x1a5f44});}return 0x0===_0x5e8e77['length']?null:(_0x5e8e77['sort']((_0x380495,_0x1c45a6)=>_0x380495['y']-_0x1c45a6['y']||_0x380495['x']-_0x1c45a6['x']),_0x5e8e77['map'](_0x5ddf86=>_0x5ddf86['domElement']));}function it(_0x47287e,{limit:_0xf9df92,suffix:_0x2a889c='...'}){const _0x1dbd24=[];let _0x4fa579=0x0;const _0x8d9727=_0x47287e['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x2a566b=0x0;_0x2a566b<_0x8d9727['length'];_0x2a566b++){let _0x255118=_0x8d9727[_0x2a566b];const _0x3ce129=H(_0x255118);if(_0x255118['startsWith']('<')){if(_0x4fa579>=_0xf9df92){const _0xb6b651=_0x255118['match'](/[a-zA-Z]+/);if(!_0xb6b651){_0x8d9727[_0x2a566b]='';continue;}const _0x2547b3=_0xb6b651[0x0];_0x255118['startsWith']('</')?(_0x1dbd24['length']&&(_0x255118=''),_0x1dbd24['pop']()):(_0x1dbd24['push'](_0x2547b3),_0x255118='');}}else{if(_0x4fa579>=_0xf9df92)_0x255118='';else{if(_0x4fa579+_0x3ce129['length']>=_0xf9df92){let _0x1c7f2b=_0xf9df92-_0x4fa579;if('\x20'===_0x3ce129[_0x1c7f2b-0x1])_0x1c7f2b--;else{const _0x5739a8=_0x3ce129['slice'](_0x1c7f2b)['indexOf']('\x20');-0x1!==_0x5739a8?_0x1c7f2b+=_0x5739a8:_0x1c7f2b=_0x255118['length'];}_0x255118=_0x3ce129['slice'](0x0,_0x1c7f2b)['join']('')+_0x2a889c,_0x4fa579=_0xf9df92;}else _0x4fa579+=_0x3ce129['length'];}}_0x8d9727[_0x2a566b]=_0x255118;}return _0x8d9727['join']('\x0a')['replace'](/\n/g,'');}function H(_0x1b3f3f){const _0x26f7ff=[];for(let _0x26c675=0x0;_0x26c675<_0x1b3f3f['length'];_0x26c675++){const _0x4f1cd9=_0x1b3f3f['substring'](_0x26c675)['match'](/^&[a-z0-9#]+;/);if(_0x4f1cd9){const _0x56c860=_0x4f1cd9[0x0];_0x26f7ff['push'](_0x56c860),_0x26c675+=_0x56c860['length']-0x1;}else _0x26f7ff['push'](_0x1b3f3f[_0x26c675]);}return _0x26f7ff;}class v extends _0x10ecbd{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x30be09){super(_0x30be09);const _0x36329e=this['bindTemplate'];this['set']('message',y(_0x30be09,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x30be09,y(_0x30be09,'Yes'),_0x282447,'submit'),this['cancelView']=this['_createButtonView'](_0x30be09,y(_0x30be09,'No'),_0x3e8e8f,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x1f0131(),this['keystrokes']=new _0x2a8bd5(),this['focusCycler']=new _0x1d8998({'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':_0x36329e['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'](_0x364909,_0x14c1d4,_0x56bc43,_0xa8aeef){const _0x2a53c7=new _0x221b73(_0x364909);return _0x2a53c7['label']=_0x14c1d4,_0x2a53c7['icon']=_0x56bc43,_0x2a53c7['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0xa8aeef}}),_0x2a53c7['on']('execute',()=>this['fire'](_0xa8aeef)),_0x2a53c7;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x280b6b=>{this['keystrokes']['listenTo'](_0x280b6b['element']),this['focusTracker']['add'](_0x280b6b['element']);}),this['keystrokes']['set']('esc',(_0x3526e5,_0x3ae916)=>{this['fire']('cancel'),_0x3ae916();});}}function ot(_0x854d49){return class extends _0x854d49{['showConfirm'](_0x233620,_0x49544d){return this['confirmView']=new v(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x233620,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x49544d['appendChild'](this['confirmView']['element']),_0x49544d['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x31201d,_0x5ce330,_0x3afb9c)=>{_0x3afb9c||_0x49544d['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x3b5be6=>this['confirmView']['on']('submit',_0x3b5be6));}['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 rt(_0x2ceb4a){let _0x1b92e1=0x0,_0x449d89=0x0;for(const _0x2d15c1 of M(_0x2ceb4a))_0x1b92e1=(_0x1b92e1<<0x5)-_0x1b92e1+_0x2d15c1,_0x1b92e1&=_0x1b92e1,[_0x1b92e1,_0x449d89]=[_0x449d89,_0x1b92e1];return B(_0x1b92e1)+B(_0x449d89);}function*O(_0x68c199){null==_0x68c199||null==_0x68c199?yield 0x12b9b0a1:0x0===_0x68c199||!0x1===_0x68c199?yield 0x0:0x1===_0x68c199||0x1==_0x68c199?yield 0x1:Array['isArray'](_0x68c199)?yield*function*(_0x3a4aa0){for(const _0x349f7b of _0x3a4aa0)yield*O(_0x349f7b);}(_0x68c199):'object'==typeof _0x68c199?yield*M(_0x68c199):'string'==typeof _0x68c199?yield*q(_0x68c199):'number'==typeof _0x68c199&&(yield _0x68c199);}function*M(_0x1fecbf){if(yield z('{'),_0x1fecbf){const _0x3b32b7=Object['keys'](_0x1fecbf)['sort']();for(const _0x321c18 of _0x3b32b7){yield*q(_0x321c18),yield z(':');const _0x5a06b6=_0x1fecbf[_0x321c18];yield*O(_0x5a06b6);}}yield z('}');}function*q(_0x2c1bb2){yield z('\x22');for(const _0x503af8 of _0x2c1bb2)yield z(_0x503af8);yield z('\x22');}function z(_0x15d536){return _0x15d536['charCodeAt'](0x0);}function B(_0x3b4f77){return(_0x3b4f77*=Math['sign'](_0x3b4f77))['toString'](0x24);}const W=['initialData','context','toolbar','rootsAttributes'],S=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function G(_0x29be75,_0x15aaa3,_0x4fe3d1,_0x14edf2=[]){const _0x4f786f='string'==typeof _0x29be75?_0x4fe3d1['get'](_0x29be75)['constructor']:_0x29be75['prototype']['constructor'];if(_0x15aaa3['has'](_0x4f786f))return _0x15aaa3['get'](_0x4f786f);_0x15aaa3['set'](_0x4f786f,!0x0);const _0x49a10b=[...S,..._0x14edf2]['map'](_0x21b9c5=>{if(_0x4fe3d1['has'](_0x21b9c5))return _0x4fe3d1['get'](_0x21b9c5)['constructor'];})['filter'](_0x2dd389=>_0x2dd389);if(_0x4f786f&&_0x49a10b['includes'](_0x4f786f))return _0x15aaa3['set'](_0x4f786f,!0x1),!0x1;if(!_0x4f786f['requires'])return _0x15aaa3['set'](_0x4f786f,!0x0),!0x0;const _0x3b5143=_0x4f786f['requires']['every'](_0x13f5b2=>G(_0x13f5b2,_0x15aaa3,_0x4fe3d1,_0x14edf2));return _0x15aaa3['set'](_0x4f786f,_0x3b5143),_0x3b5143;}function ct(_0x168dd7,_0x3e2315){const _0x1bdfdb={};for(const _0xf2c1f9 of _0x168dd7['config']['names']())W['includes'](_0xf2c1f9)||(_0x1bdfdb[_0xf2c1f9]=_0x168dd7['config']['get'](_0xf2c1f9));const _0x3a61ce=_0x1bdfdb['plugins']||[],_0x2be687=_0x168dd7['constructor']['builtinPlugins']||[],_0x22fc9e=_0x3a61ce['length']?_0x3a61ce:_0x2be687,_0xd334d9=_0x1bdfdb['extraPlugins']||[];delete _0x1bdfdb['extraPlugins'];const _0x222469=_0x1bdfdb['removePlugins']||[];delete _0x1bdfdb['removePlugins'];const _0x4c081d=_0x168dd7['_context']['config']['get']('plugins')||[],_0xe21909=_0x22fc9e['concat'](_0xd334d9)['concat'](_0x4c081d)['map'](_0x33340a=>'string'==typeof _0x33340a?_0x2be687['find'](_0x17d2a8=>_0x17d2a8['pluginName']==_0x33340a):_0x33340a)['filter'](_0x4f802a=>!_0x222469['includes'](_0x4f802a)&&!_0x222469['includes'](_0x4f802a['pluginName'])),_0x355e6f=Array['from'](new Set(_0xe21909)),_0x589569=new Map();return _0x1bdfdb['plugins']=_0x355e6f['filter'](_0x934fc6=>G(_0x934fc6,_0x589569,_0x168dd7['plugins'],_0x3e2315)),_0x1bdfdb;}function at(_0x3df146,_0x2bb960){const _0x2b79a4=[];_0x3df146['document']['selection']['on']('change:range',()=>{const _0x1eb4ce=function(_0x2beeed,_0x5a9d93){const _0x49f4fd=[];for(const _0x2d0bc3 of _0x2beeed['markers']){const _0x37823a=_0x2d0bc3['getRange']();(_0x37823a['containsPosition'](_0x5a9d93)||_0x37823a['start']['isEqual'](_0x5a9d93)||_0x37823a['end']['isEqual'](_0x5a9d93))&&_0x49f4fd['push'](_0x2d0bc3);}return _0x49f4fd;}(_0x3df146,_0x3df146['document']['selection']['focus']),_0x26aff5=[],_0x3c9f72=[],_0x2ebaf0=[];for(const _0x9ceefc of _0x2b79a4)_0x1eb4ce['includes'](_0x9ceefc)||_0x26aff5['push'](_0x9ceefc);for(const _0x344e4a of _0x1eb4ce)_0x2b79a4['includes'](_0x344e4a)||_0x3c9f72['push'](_0x344e4a),_0x2ebaf0['push'](_0x344e4a);(_0x26aff5['length']||_0x3c9f72['length'])&&_0x2bb960({'left':_0x26aff5,'entered':_0x3c9f72}),_0x2b79a4['length']=0x0,_0x2b79a4['push'](..._0x2ebaf0);});}const ht='Ctrl+Shift+E';function lt(_0x2964f0,_0x550908){const _0x36a207=_0x2964f0['element'];_0x2964f0['keystrokes']['listenTo'](_0x36a207);for(const _0x2f87c8 of _0x550908)F(_0x2964f0,_0x2f87c8);_0x550908['on']('change',(_0x2ffb53,_0x592a39)=>{for(const _0x1f48af of _0x592a39['removed'])I(_0x2964f0,_0x1f48af);for(const _0x5705d5 of Array['from'](_0x592a39['added'])['reverse']())F(_0x2964f0,_0x5705d5);}),_0x2964f0['keystrokes']['set']('enter',(_0x18dbe5,_0x51aa49)=>{_0x36a207===_0x18dbe5['target']&&(_0x2964f0['focusCycler']['focusFirst'](),_0x51aa49());},{'filter':_0x57ddb0=>_0x57ddb0['target']===_0x36a207}),_0x2964f0['keystrokes']['set']('esc',(_0x3528dd,_0x23310c)=>{_0x36a207!==_0x3528dd['target']?_0x2964f0['focus']():_0x2964f0['fire']('escape'),_0x23310c();}),_0x2964f0['keystrokes']['set']('arrowdown',(_0x278723,_0x97ef02)=>{_0x36a207===_0x278723['target']&&(_0x2964f0['fire']('arrowdown'),_0x97ef02());}),_0x2964f0['keystrokes']['set']('arrowup',(_0x5b8697,_0xf35220)=>{_0x36a207===_0x5b8697['target']&&(_0x2964f0['fire']('arrowup'),_0xf35220());});}function F(_0x1c1912,_0x4e6d98){_0x4e6d98['isRendered']&&(_0x1c1912['focusTracker']['add'](_0x4e6d98['element']),_0x1c1912['keystrokes']['listenTo'](_0x4e6d98['element']),_0xc14684(_0x4e6d98)&&function(_0x352b51,_0x43462e){const _0xe03f17=_0x352b51['actions'],_0x4fd1fa=_0x43462e['actions'];for(const _0x449f08 of Object['keys'](_0xe03f17))if(_0x449f08 in _0x4fd1fa&&_0xe03f17[_0x449f08]!==_0x4fd1fa[_0x449f08])return!0x1;return!0x0;}(_0x1c1912['focusCycler'],_0x4e6d98['focusCycler'])&&_0x1c1912['focusCycler']['chain'](_0x4e6d98['focusCycler']));}function I(_0x395ea2,_0x28e5a8){_0x395ea2['focusTracker']['remove'](_0x28e5a8['element']),_0x395ea2['keystrokes']['stopListening'](_0x28e5a8['element']),_0xc14684(_0x28e5a8)&&_0x395ea2['focusCycler']['unchain'](_0x28e5a8['focusCycler']);}const ut='$elementId',dt='data-id';class ft extends _0x399403{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x2d82d9?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x33321b,_0x205143)=>{_0x205143['on']('ready',()=>{this['_integrateEditor'](_0x205143);});});}get['editor'](){if(this['context']instanceof _0x2d82d9)return this['context'];{const _0x3d983e=this['context']['editors']['first'];if(!_0x3d983e)throw new _0x381c52('documentcompare-no-editor',this);return _0x3d983e;}}['getDiff'](_0x4b2742,_0x47c08d,_0x265d94={'anchor':'main','markDeletions':!0x1}){let _0x373e75,_0x604e9;const _0x3d02eb=this['editor'];if('string'==typeof _0x265d94['anchor']){const _0x434c86=_0x3d02eb['model']['document']['getRoot'](_0x265d94['anchor']);if(!_0x434c86)throw new _0x381c52('documentcompare-compare-no-root',this,{'anchor':_0x265d94['anchor']});_0x373e75=_0x434c86,_0x604e9=_0x3d02eb['model']['createPositionAt'](_0x434c86,0x0);}else _0x373e75=_0x265d94['anchor']['clone'](),_0x604e9=_0x265d94['anchor']['clone']();const _0x130d38=_0x3d02eb['data']['parse'](_0x4b2742,_0x373e75),_0x20cf24=_0x3d02eb['data']['parse'](_0x47c08d,_0x373e75);return new mt(_0x130d38,_0x20cf24,_0x3d02eb,{'anchor':_0x604e9,'markDeletions':_0x265d94['markDeletions']});}['isMarkedRemoveOperation'](_0x570c01){return'marker'==_0x570c01['type']&&_0x570c01['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x7b954d){_0x7b954d['conversion']['for']('upcast')['add'](_0x264339=>{_0x264339['on']('element',(_0x50ab3a,_0x45f8c0,_0x22d92c)=>{if(_0x45f8c0['modelRange'])for(const _0x2b8be2 of _0x45f8c0['modelRange']['getItems']({'shallow':!0x0})){if(_0x2b8be2['is']('$textProxy'))continue;const _0x40eda5=_0x45f8c0['viewItem']['getAttribute'](dt);_0x40eda5&&_0x22d92c['writer']['setAttribute'](ut,_0x40eda5,_0x2b8be2);}},{'priority':'lowest'});}),_0x7b954d['model']['schema']['addAttributeCheck'](()=>!0x0,ut);}}class mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x257d7e,_0x21ac04,_0x4acc75,_0x33a1d3){this['_editor']=_0x4acc75,this['_markDeletions']=!!_0x33a1d3['markDeletions'],this['_anchor']=_0x33a1d3['anchor'];const _0x22fb25=this['_tokenizeModel'](_0x257d7e),_0x312a7e=this['_tokenizeModel'](_0x21ac04);this['_diffItems']=this['_diffModelTokens'](_0x22fb25,_0x312a7e),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x257d7e['markers'],_0x21ac04['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x206be3=this['_editor']['model']['document'],_0x3f3c6e=[];let _0x516856=_0x206be3['version'];for(const _0x4eef9b of this['_operationsData'])switch(_0x4eef9b['type']){case'attribute':{const _0x342ed1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4eef9b['path']),_0x88076e=_0x342ed1['getShiftedBy'](_0x4eef9b['howMany']),_0x581136=new _0x3f5ead(_0x342ed1,_0x88076e),_0x304da7=JSON['parse'](_0x4eef9b['oldValue']),_0x2306d0=JSON['parse'](_0x4eef9b['newValue']);_0x3f3c6e['push'](new _0x55c9ee(_0x581136,_0x4eef9b['key'],_0x304da7,_0x2306d0,_0x516856++));break;}case'insert':{const _0x41374f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4eef9b['path']),_0x35ff0d=this['_makeModelFromTokens'](_0x4eef9b['tokens']);_0x3f3c6e['push'](new _0x470797(_0x41374f,_0x35ff0d,_0x516856++));break;}case'remove':{const _0x406bef=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4eef9b['path']),_0x44ba5c=new _0x5dc26c(_0x206be3['graveyard'],[0x0]);_0x3f3c6e['push'](new _0x1259a5(_0x406bef,_0x4eef9b['howMany'],_0x44ba5c,_0x516856++));break;}case'rename':{const _0x49042f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4eef9b['path']);_0x3f3c6e['push'](new _0x441082(_0x49042f,_0x4eef9b['oldName'],_0x4eef9b['newName'],_0x516856++));break;}case'split':{const _0x2984fc=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4eef9b['path']),_0x6927f8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4eef9b['path']['slice'](0x0,-0x1));_0x6927f8['offset']++,_0x3f3c6e['push'](new _0x335b08(_0x2984fc,Number['NEGATIVE_INFINITY'],_0x6927f8,null,_0x516856++));break;}case'merge':{const _0x197fa0=_0x4eef9b['path']['slice'](),_0x58bb11=_0x197fa0['slice'](0x0,-0x1);_0x58bb11[_0x58bb11['length']-0x1]++,_0x58bb11['push'](0x0);const _0x56a7ec=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x58bb11),_0x5d3f34=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x197fa0),_0x5ba2ac=new _0x5dc26c(_0x206be3['graveyard'],[0x0]);_0x3f3c6e['push'](new _0x15e45f(_0x56a7ec,Number['NEGATIVE_INFINITY'],_0x5d3f34,_0x5ba2ac,_0x516856++));break;}case'marker':case'markedRemove':{let _0x4c7726=null;if(_0x4eef9b['range']){const _0x264d02=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4eef9b['range']['start']),_0x495b91=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4eef9b['range']['end']);_0x4c7726=new _0x3f5ead(_0x264d02,_0x495b91);}const _0x244914='marker'==_0x4eef9b['type']?_0x4eef9b['name']:'$markedRemove:'+_0x53f818();_0x3f3c6e['push'](new _0x5b6662(_0x244914,null,_0x4c7726,_0x206be3['model']['markers'],!0x0,_0x516856++));break;}case'unwrap':{const _0x566078=_0x4eef9b['path']['slice']();_0x566078['push'](0x0);const _0xf71fce=_0x4eef9b['path']['slice'](),_0x5c4306=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x566078),_0x4eb804=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xf71fce),_0x27adfa=new _0x5dc26c(_0x206be3['graveyard'],[0x0]);_0x3f3c6e['push'](new _0x1259a5(_0x5c4306,_0x4eef9b['howMany'],_0x4eb804,_0x516856++)),_0x3f3c6e['push'](new _0x1259a5(_0x4eb804['getShiftedBy'](_0x4eef9b['howMany']),0x1,_0x27adfa,_0x516856++));break;}case'wrap':{const _0x3591c2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4eef9b['range']['start']),_0x418452=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4eef9b['range']['end']),_0x5cbe3f=_0x4eef9b['token']['element']['_clone'](!0x1),_0x5ced7c=_0x4eef9b['range']['end']['slice']();_0x5ced7c['push'](0x0);const _0x402543=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5ced7c);_0x3f3c6e['push'](new _0x470797(_0x418452,_0x5cbe3f,_0x516856++)),_0x3f3c6e['push'](new _0x1259a5(_0x3591c2,_0x418452['offset']-_0x3591c2['offset'],_0x402543,_0x516856++));break;}}return _0x3f3c6e;}['_tokenizeModel'](_0x99549c){const _0x40b6cd=[],_0x308090=_0x3f5ead['_createIn'](_0x99549c),_0x2c847a=new _0x1b4c42({'boundaries':_0x308090});let _0x1e104a='',_0x25d5c1=null;const _0x2632d6=[''],_0x27de04=new Map();for(const _0x621504 of _0x2c847a)if('elementStart'==_0x621504['type']||'elementEnd'==_0x621504['type']){let _0x385eb3=_0x2632d6[0x0];''!==_0x1e104a&&(_0x40b6cd['push'](...this['_makeTokensFromTextByWords'](_0x1e104a,_0x25d5c1,_0x385eb3)),_0x1e104a='');const _0x1a690f=_0x621504['item'];let _0x13a490;_0x1a690f['getAttribute'](ut)?_0x13a490=_0x1a690f['getAttribute'](ut):'elementStart'==_0x621504['type']?(_0x13a490=_0x53f818(),_0x27de04['set'](_0x1a690f,_0x13a490)):_0x13a490=_0x27de04['get'](_0x1a690f);const _0x3f2ecd=this['_getElementCategory'](_0x1a690f);'solid'==_0x3f2ecd&&('elementStart'==_0x621504['type']?(_0x385eb3=_0x13a490||'',_0x2632d6['unshift'](_0x385eb3)):_0x2632d6['shift']());const _0x59ce79={'type':'element','element':_0x1a690f,'elementId':_0x13a490,'category':_0x3f2ecd,'isStart':'elementStart'==_0x621504['type'],'limitId':_0x385eb3};_0x40b6cd['push'](_0x59ce79);}else''==_0x1e104a&&(_0x25d5c1=_0x621504['previousPosition']['clone']()),_0x1e104a+=_0x621504['item']['data'];return''!==_0x1e104a&&_0x40b6cd['push'](...this['_makeTokensFromTextByWords'](_0x1e104a,_0x25d5c1,_0x2632d6[0x0])),_0x40b6cd;}['_makeTokensFromTextByWords'](_0xdf50db,_0x547faa,_0x41d149){const _0x3808db=_0xdf50db['matchAll'](/(\s)/g),_0x1fafc2=Array['from'](_0x3808db)['map'](_0x503642=>_0x503642['index']);_0x1fafc2['push'](_0xdf50db['length']),0x0==_0x1fafc2[0x0]&&_0x1fafc2['shift']();const _0x1e2cdd=[],_0x663498=_0x547faa['parent'];let _0x22123e=0x0,_0x2118ca=_0x547faa['offset'];for(let _0xab5758=0x0;_0xab5758<_0x1fafc2['length'];_0xab5758++)_0x1e2cdd['push']({'type':'text','data':_0xdf50db['slice'](_0x22123e,_0x1fafc2[_0xab5758]),'parent':_0x663498,'offset':_0x2118ca,'limitId':_0x41d149}),_0x22123e=_0x1fafc2[_0xab5758],_0x2118ca=_0x547faa['offset']+_0x1fafc2[_0xab5758];return _0x1e2cdd;}['_getElementCategory'](_0x508b81){const _0x445d4f=this['_editor']['model']['schema'];return _0x445d4f['isLimit'](_0x508b81)||_0x445d4f['isContent'](_0x508b81)||_0x445d4f['isInline'](_0x508b81)?'solid':_0x445d4f['isBlock'](_0x508b81)?'block':'container';}['_diffModelTokens'](_0x33cfc8,_0x196792){const _0x1e9148=_0x54188f(_0x33cfc8,_0x196792,{'comparator':k});this['_handleUnclosedBlockOpeningTags'](_0x1e9148);const _0xe0233=_0x1e9148['flatMap'](_0x57e50e=>{const _0x2ecab1=_0x57e50e['added']?'added':_0x57e50e['removed']?'removed':'unchanged';return _0x57e50e['value']['map'](_0x141412=>({'token':_0x141412,'change':_0x2ecab1}));});let _0x7ca0c8=0x0;for(const _0x51c06d of _0xe0233)'added'!=_0x51c06d['change']&&('unchanged'==_0x51c06d['change']&&(_0x51c06d['before']=_0x33cfc8[_0x7ca0c8]),_0x7ca0c8++);return _0xe0233;}['_handleUnclosedBlockOpeningTags'](_0x2fddfb){for(let _0x470672=0x0;_0x470672<_0x2fddfb['length']-0x1;_0x470672++)if(_0x2fddfb[_0x470672]['removed']&&_0x2fddfb[_0x470672+0x1]['added']){const _0x54a4bf=this['_findUnclosedBlockOpeningToken'](_0x2fddfb[_0x470672]['value']);if(null!==_0x54a4bf){const _0x50e281=this['_findUnclosedBlockOpeningToken'](_0x2fddfb[_0x470672+0x1]['value']),_0x3a3019=_0x2fddfb[_0x470672]['value']['splice'](_0x54a4bf),_0x299624=_0x2fddfb[_0x470672+0x1]['value']['splice'](_0x50e281),_0x3c46a3=[_0x299624['shift']()];_0x3a3019['shift']();const _0x237dd2={'value':_0x3a3019,'removed':!0x0},_0x557a5e={'value':_0x299624,'added':!0x0},_0xff91d9={'value':_0x3c46a3};_0x2fddfb['splice'](_0x470672+0x2,0x0,_0xff91d9,_0x237dd2,_0x557a5e);}}}['_findUnclosedBlockOpeningToken'](_0x42c405){let _0x256174=0x0,_0x53fbbe=-0x1;for(let _0x500037=0x0;_0x500037<_0x42c405['length'];_0x500037++){const _0x7a7b6c=_0x42c405[_0x500037];'element'==_0x7a7b6c['type']&&'block'==_0x7a7b6c['category']&&(_0x256174+=_0x7a7b6c['isStart']?0x1:-0x1,_0x7a7b6c['isStart']&&(_0x53fbbe=_0x500037));}return 0x0===_0x256174?null:_0x53fbbe;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x2a4208=0x0;_0x2a4208<this['_diffItems']['length'];_0x2a4208++){const _0x2f1f1e=this['_diffItems'][_0x2a4208]['change'],_0x164d58=[];_0x164d58['push'](this['_diffItems'][_0x2a4208]);let _0x22a8cd=_0x2a4208+0x1;for(;this['_diffItems'][_0x22a8cd]&&this['_diffItems'][_0x22a8cd]['change']==_0x2f1f1e;)_0x164d58['push'](this['_diffItems'][_0x22a8cd]),_0x22a8cd++,_0x2a4208++;const _0xb7d741=_0x164d58['map'](_0x11e566=>_0x11e566['token']);if('unchanged'==_0x2f1f1e)_0x164d58['map'](_0x4a35ae=>_0x4a35ae['before'])['forEach'](_0x3a9eda=>this['_traverseOverItem'](_0x3a9eda));else{if('removed'==_0x2f1f1e){if(this['_markDeletions']){const _0x89d54b=this['_path']['slice']();_0xb7d741['forEach'](_0x502aa9=>this['_traverseOverItem'](_0x502aa9));const _0x3cae1b=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x89d54b,'end':_0x3cae1b}});}else this['_handleChanged'](_0xb7d741,!0x0,this['_path']['slice']());}else{const _0x1ed392=_0xb7d741['filter'](_0x52a6a6=>'element'!=_0x52a6a6['type']||'container'!=_0x52a6a6['category']);this['_handleChanged'](_0x1ed392,!0x1,this['_path']);}}}this['_path']=[0x0],this['_parents']=[];for(let _0x36d27a=0x0;_0x36d27a<this['_diffItems']['length'];_0x36d27a++){const _0x33be89=this['_diffItems'][_0x36d27a]['change'],_0x5e4ca0=[];_0x5e4ca0['push'](this['_diffItems'][_0x36d27a]);let _0x424874=_0x36d27a+0x1;for(;this['_diffItems'][_0x424874]&&this['_diffItems'][_0x424874]['change']==_0x33be89;)_0x5e4ca0['push'](this['_diffItems'][_0x424874]),_0x424874++,_0x36d27a++;const _0x3e4e4f=_0x5e4ca0['map'](_0x3ef371=>_0x3ef371['token']);if('unchanged'==_0x33be89){const _0x51344e=_0x5e4ca0['map'](_0x2d45f6=>_0x2d45f6['before']);this['_handleUnchanged'](_0x51344e,_0x3e4e4f);}else _0x3e4e4f['forEach'](_0x4cafd9=>{('removed'!=_0x33be89||this['_markDeletions'])&&this['_traverseOverItem'](_0x4cafd9);});}this['_handleWraps']();}['_calculateMarkersOperationsData'](_0x5974f7,_0x2af0a5){const _0x3de44c={};for(const [_0x50d9aa]of _0x5974f7)_0x3de44c[_0x50d9aa]=null;for(const [_0x1439d1,_0x4136f8]of _0x2af0a5)_0x3de44c[_0x1439d1]=_0x4136f8;const _0x1bb039=Object['entries'](_0x3de44c)['map'](([_0x1b92a1,_0x1a2223])=>({'type':'marker','name':_0x1b92a1,'range':_0x1a2223?{'start':_0x1a2223['start']['path']['slice'](),'end':_0x1a2223['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x1bb039);}['_handleUnwraps'](){const _0x3944cb=new Map(),_0x17b431=[],_0x251344=[0x0];for(let _0x3e0d55=this['_diffItems']['length']-0x1;_0x3e0d55>=0x0;_0x3e0d55--){const {token:_0x3145de,before:_0x2f9ed6,change:_0x1467bc}=this['_diffItems'][_0x3e0d55];if('element'!=_0x3145de['type']||'container'!=_0x3145de['category']||'added'==_0x1467bc)continue;const _0x55b222=_0x2f9ed6?_0x2f9ed6['element']:_0x3145de['element'];if(_0x3145de['isStart']){const _0x298ec5=_0x3944cb['get'](_0x55b222),_0x25a473=this['_diffItems'][_0x298ec5];'removed'!=_0x1467bc&&'removed'!=_0x25a473['change']||(this['_operationsData']['push']({'type':'unwrap','path':_0x55b222['getPath'](),'howMany':_0x55b222['maxOffset']+_0x251344[0x0]}),_0x251344['shift'](),_0x251344[0x0]+=_0x55b222['maxOffset']-0x1,_0x17b431['push'](_0x3e0d55),_0x17b431['push'](_0x298ec5));}else _0x3944cb['set'](_0x55b222,_0x3e0d55),_0x251344['unshift'](0x0);}_0x17b431['sort']((_0x2fdbb3,_0x3bcc15)=>_0x3bcc15-_0x2fdbb3),_0x17b431['forEach'](_0x202085=>{const _0x48d526=this['_diffItems'][_0x202085];'removed'==_0x48d526['change']?this['_diffItems']['splice'](_0x202085,0x1):(_0x48d526['change']='added',delete _0x48d526['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x149b78=[];for(let _0x540032=0x0;_0x540032<this['_diffItems']['length'];_0x540032++){const {change:_0x2494ad,token:_0x2f6dd7}=this['_diffItems'][_0x540032];if('added'==_0x2494ad&&'element'==_0x2f6dd7['type']&&'container'==_0x2f6dd7['category']){if(_0x2f6dd7['isStart'])_0x149b78['push'](this['_path']['slice']());else{if(!_0x2f6dd7['isStart']){const _0x45d951=_0x149b78['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x45d951,'end':this['_path']['slice']()},'token':_0x2f6dd7}),this['_path'][this['_path']['length']-0x1]=_0x45d951[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x2494ad||this['_markDeletions'])&&this['_traverseOverItem'](_0x2f6dd7);}}['_handleUnchanged'](_0x767fa0,_0x3c28a0){for(let _0x5550b4=0x0;_0x5550b4<_0x767fa0['length'];_0x5550b4++){const _0x22fc25=_0x767fa0[_0x5550b4];if('element'==_0x22fc25['type']&&_0x22fc25['isStart']){const _0x487aa0=_0x3c28a0[_0x5550b4];'block'==_0x22fc25['category']&&this['_handleElementRename'](_0x22fc25['element'],_0x487aa0['element'],this['_path']),this['_handleElementAttributeChanges'](_0x22fc25['element'],_0x487aa0['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x487aa0);}else{if('element'!=_0x22fc25['type']||_0x22fc25['isStart']){if('text'==_0x22fc25['type']){const _0x219771=this['_path']['slice'](),_0x40f19a=[],_0x122e7e=[];for(;_0x767fa0[_0x5550b4]&&'text'==_0x767fa0[_0x5550b4]['type'];)_0x40f19a['push'](_0x767fa0[_0x5550b4]),_0x122e7e['push'](_0x3c28a0[_0x5550b4]),this['_path'][this['_path']['length']-0x1]+=_0x767fa0[_0x5550b4]['data']['length'],_0x5550b4++;_0x5550b4--,this['_handleTextAttributeChanges'](_0x40f19a,_0x122e7e,_0x219771);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x385311,_0x545965,_0x46721f){const _0xdca2c3=[],_0x5156ad=[],_0xaee996=_0x46721f['slice']();for(let _0x527b82=0x0;_0x527b82<_0x385311['length'];_0x527b82++){const _0x44c5bc=_0x385311[_0x527b82],_0x2056e3=_0x46721f['slice']();if('element'!=_0x44c5bc['type']||_0x44c5bc['isStart'])'element'==_0x44c5bc['type']&&_0x44c5bc['isStart']?(_0x46721f['push'](0x0),_0x545965||this['_parents']['push'](_0x44c5bc),_0x5156ad['push']({'before':_0x2056e3,'after':_0x46721f['slice'](),'index':_0x527b82})):_0x46721f[_0x46721f['length']-0x1]+=_0x44c5bc['data']['length'];else{let _0x18671f;_0x46721f['pop'](),_0x46721f[_0x46721f['length']-0x1]++,_0x18671f=_0x545965?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x5156ad['length']?_0x5156ad['pop']():_0xdca2c3['push']({'before':_0x2056e3,'after':_0x46721f['slice'](),'index':_0x527b82,'related':_0x18671f});}}if(_0x5156ad['length']!==_0xdca2c3['length'])throw new _0x381c52('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x385311,'isRemove':_0x545965});const _0x498e64=[{'after':_0xaee996['slice'](),'index':-0x1},..._0xdca2c3,..._0x5156ad,{'before':_0x46721f['slice'](),'index':_0x385311['length']}];if(_0x545965){for(let _0x3a8d44=_0x498e64['length']-0x1;_0x3a8d44>=0x1;_0x3a8d44--){const _0x400c94=_0x498e64[_0x3a8d44-0x1]['after'],_0x3bedef=_0x498e64[_0x3a8d44]['before'],_0x4a3b4a=_0x3bedef[_0x3bedef['length']-0x1]-_0x400c94[_0x400c94['length']-0x1];_0x4a3b4a&&(this['_operationsData']['push']({'type':'remove','path':_0x400c94,'howMany':_0x4a3b4a}),_0x3bedef[_0x3bedef['length']-0x1]-=_0x4a3b4a);}for(const {before:_0x1c8e1a}of _0xdca2c3)this['_operationsData']['push']({'type':'merge','path':_0x1c8e1a});}else for(let _0x59b7c1=0x0;_0x59b7c1<_0x498e64['length']-0x1;_0x59b7c1++){const _0x11915f=_0x498e64[_0x59b7c1]['after'],_0x102213=_0x498e64[_0x59b7c1+0x1]['before'],_0x5623c3=_0x498e64[_0x59b7c1]['index']+0x1,_0x2fd060=_0x498e64[_0x59b7c1+0x1]['index'];if(_0x5623c3!==_0x2fd060&&this['_operationsData']['push']({'type':'insert','path':_0x11915f,'tokens':_0x385311['slice'](_0x5623c3,_0x2fd060)}),_0x59b7c1<_0xdca2c3['length']){this['_operationsData']['push']({'type':'split','path':_0x102213});const _0x22beba=_0x385311[_0x5156ad[_0x5156ad['length']-0x1-_0x59b7c1]['index']],_0x1fccb2=_0xdca2c3[_0x59b7c1]['after'],_0x233e90=_0xdca2c3[_0x59b7c1]['related']['element'];this['_handleElementRename'](_0x233e90,_0x22beba['element'],_0x1fccb2),this['_handleElementAttributeChanges'](_0x233e90,_0x22beba['element'],_0x1fccb2);}}}['_traverseOverItem'](_0x3fa6d0){'element'==_0x3fa6d0['type']&&_0x3fa6d0['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x3fa6d0)):'element'!=_0x3fa6d0['type']||_0x3fa6d0['isStart']?'text'==_0x3fa6d0['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x3fa6d0['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x2dcc51,_0x4bf267,_0x1f35a9){_0x2dcc51['name']!=_0x4bf267['name']&&this['_operationsData']['push']({'type':'rename','path':_0x1f35a9['slice'](),'oldName':_0x2dcc51['name'],'newName':_0x4bf267['name']});}['_handleElementAttributeChanges'](_0x1cbb33,_0x4f0b58,_0x8a103c){const _0x4999f2=this['_getAttributeChanges'](_0x1cbb33['getAttributes'](),_0x4f0b58['getAttributes']());for(const _0x126840 in _0x4999f2){const {oldValue:_0x29c92b,newValue:_0x6539c8}=_0x4999f2[_0x126840];this['_operationsData']['push']({'type':'attribute','path':_0x8a103c['slice'](),'howMany':0x1,'key':_0x126840,'oldValue':_0x29c92b,'newValue':_0x6539c8});}}['_handleTextAttributeChanges'](_0x1bac58,_0x1b4bad,_0x276eaa){const _0x25e05e=this['_operationsData'],_0x284d5a=_0x1bac58[0x0]['parent'],_0x5e3e09=_0x1bac58[0x0]['offset'],_0x58397a=_0x1b4bad[0x0]['parent'],_0xabcfb1=_0x1b4bad[0x0]['offset'],_0x12a07b=_0x1bac58['reduce']((_0x1cec02,_0x3ddded)=>_0x1cec02+_0x3ddded['data']['length'],0x0),_0x47e98d=this['_getAttrsForOffsets'](_0x284d5a,_0x5e3e09,_0x12a07b),_0x3ac014=this['_getAttrsForOffsets'](_0x58397a,_0xabcfb1,_0x12a07b),_0x37cf2b={};for(let _0x1cc810=0x0;_0x1cc810<_0x12a07b;_0x1cc810++){const _0x52bb1e=_0x47e98d[_0x5e3e09+_0x1cc810],_0x220541=_0x3ac014[_0xabcfb1+_0x1cc810],_0x850306=this['_getAttributeChanges'](_0x52bb1e,_0x220541);for(const _0x579af1 in _0x37cf2b)_0x850306[_0x579af1]||_0x873921(_0x579af1);for(const _0x5f0cc2 in _0x850306){const {oldValue:_0x4258d1,newValue:_0x3b8f34}=_0x850306[_0x5f0cc2],_0xa3d284=_0x37cf2b[_0x5f0cc2];_0xa3d284?_0xa3d284['oldValue']==_0x4258d1&&_0xa3d284['newValue']==_0x3b8f34?_0xa3d284['length']++:(_0x873921(_0x5f0cc2),_0x37cf2b[_0x5f0cc2]={'oldValue':_0x4258d1,'newValue':_0x3b8f34,'start':_0x1cc810,'length':0x1}):_0x37cf2b[_0x5f0cc2]={'oldValue':_0x4258d1,'newValue':_0x3b8f34,'start':_0x1cc810,'length':0x1};}}for(const _0xaa8a0e in _0x37cf2b)_0x873921(_0xaa8a0e);function _0x873921(_0xb7615a){const _0x9c8690=_0x37cf2b[_0xb7615a],_0x1c4bd2=_0x276eaa['slice']();_0x1c4bd2[_0x1c4bd2['length']-0x1]+=_0x9c8690['start'],_0x25e05e['push']({'type':'attribute','path':_0x1c4bd2,'howMany':_0x9c8690['length'],'key':_0xb7615a,'oldValue':_0x9c8690['oldValue'],'newValue':_0x9c8690['newValue']}),delete _0x37cf2b[_0xb7615a];}}['_getAttributeChanges'](_0x89cf66,_0x146395){const _0x9013bb={};for(const [_0x5dfd6b,_0x1c1d58]of _0x89cf66)_0x9013bb[_0x5dfd6b]={'oldValue':JSON['stringify'](_0x1c1d58),'newValue':'null'};for(const [_0x36f59a,_0x199d8d]of _0x146395){const _0x352c33=JSON['stringify'](_0x199d8d);_0x9013bb[_0x36f59a]?_0x9013bb[_0x36f59a]['oldValue']==_0x352c33?delete _0x9013bb[_0x36f59a]:_0x9013bb[_0x36f59a]['newValue']=_0x352c33:_0x9013bb[_0x36f59a]={'oldValue':'null','newValue':_0x352c33};}return delete _0x9013bb[ut],_0x9013bb;}['_getAttrsForOffsets'](_0x26203c,_0x219418,_0x8b868d){const _0x55c644=new Array(_0x219418+_0x8b868d);let _0x193ed4=_0x26203c['getChildAtOffset'](_0x219418),_0x2b2725=_0x193ed4['startOffset'];for(;_0x193ed4&&_0x2b2725<_0x219418+_0x8b868d;){const _0x370241=Array['from'](_0x193ed4['getAttributes']());_0x55c644['fill'](_0x370241,_0x2b2725,_0x2b2725+_0x193ed4['offsetSize']),_0x2b2725+=_0x193ed4['offsetSize'],_0x193ed4=_0x193ed4['nextSibling'];}return _0x55c644;}['_getPositionFromAnchorAndPath'](_0x1fe5dc,_0xe974e3){const _0x1fe902=[..._0x1fe5dc['path']['slice'](0x0,-0x1),_0x1fe5dc['offset']+_0xe974e3[0x0],..._0xe974e3['slice'](0x1)];return new _0x5dc26c(_0x1fe5dc['root'],_0x1fe902);}['_makeModelFromTokens'](_0x56c86e){const _0x3b1932=[];let _0x5b93de=null;for(const _0x4626d7 of _0x56c86e)if('element'!=_0x4626d7['type']||_0x4626d7['isStart']||_0x5b93de!=_0x4626d7['element']){if(!_0x5b93de){if('text'==_0x4626d7['type']){const _0x556d89=_0x5dc26c['_createAt'](_0x4626d7['parent'],_0x4626d7['offset']),_0x41621d=_0x3f5ead['_createFromPositionAndShift'](_0x556d89,_0x4626d7['data']['length']),_0x34eb3a=Array['from'](_0x41621d['getItems']())['map'](_0x2c004a=>new _0x5469d1(_0x2c004a['data'],_0x2c004a['getAttributes']()));_0x3b1932['push'](..._0x34eb3a);}else{_0x5b93de=_0x4626d7['element'];const _0x525a57=_0x4626d7['element']['_clone'](!0x0);_0x525a57['_removeAttribute'](ut),_0x3b1932['push'](_0x525a57);}}}else _0x5b93de=null;return _0x3b1932;}}function k(_0x5ab2b5,_0xf67c41){return _0x5ab2b5['type']===_0xf67c41['type']&&(_0x5ab2b5['limitId']===_0xf67c41['limitId']&&('text'==_0x5ab2b5['type']?_0x5ab2b5['data']==_0xf67c41['data']:function(_0x418b39,_0x108707){if(_0x418b39['isStart']!=_0x108707['isStart'])return!0x1;if(_0x418b39['isStart']&&_0x418b39['elementId']!=_0x108707['elementId'])return!0x1;if(_0x418b39['category']!=_0x108707['category'])return!0x1;if('block'==_0x418b39['category'])return!0x0;if('container'==_0x418b39['category']&&_0x418b39['elementId']!=_0x108707['elementId'])return!0x1;return _0x418b39['element']['name']==_0x108707['element']['name'];}(_0x5ab2b5,_0xf67c41)));}export{Q as AriaDescriptionView,ot as ConfirmMixin,ut as DATA_ID_MODEL_ATTRIBUTE,dt as DATA_ID_VIEW_ATTRIBUTE,ft as DocumentCompare,ht as FOCUS_ANNOTATION_KEYSTROKE,X as LateFocusButtonView,tt as LateFocusDropdownButtonView,_ as Permissions,Z as UserView,P as Users,nt as getAllMarkersDomElementsSorted,et as getDateTimeFormatter,st as getMarkerDomElement,rt as hashObject,ct as sanitizeEditorConfig,lt as setupThreadKeyboardNavigation,at as surroundingMarkersDetector,it as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x721b3e,Editor as _0x1b24b4}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4fd52c,Collection as _0x1442d6,uid as _0x578b07,first as _0x5a02de,FocusTracker as _0x1422bf,KeystrokeHandler as _0x205f78}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x4d9c1c,IconView as _0x36406b,ButtonView as _0x42d149,DropdownButtonView as _0x7b4fd8,FocusCycler as _0x2ade11,isViewWithFocusCycler as _0x575f3a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x4ec0d8,IconCheck as _0x2ba2ab,IconCancel as _0x250b18}from'@ckeditor/ckeditor5-icons/dist/index.js';import{DateTime as _0x3a233e}from'luxon';import{InsertOperation as _0x3abe65,MoveOperation as _0x54a846,ModelPosition as _0x2badb3,ModelRange as _0x1faba7,MarkerOperation as _0x21f0b7,MergeOperation as _0x5d2c1d,SplitOperation as _0x1c9045,RenameOperation as _0x10361c,AttributeOperation as _0x3f14a6,ModelTreeWalker as _0x6cfce2,ModelText as _0x28c70c}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x5a2877}from'diff';class _ extends _0x721b3e{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x26617f,_0x247f65){let _0x477092;if(_0x247f65||(_0x247f65=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x247f65?_0x477092=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x477092=this['context']['editors']['find'](_0x534bd8=>_0x534bd8['config']['get']('collaboration.channelId')==_0x247f65)),!_0x477092)throw new _0x4fd52c('permissions-set-permissions-invalid-channel-id',null);const _0x4c3d28=_0x477092['plugins'],_0x34ce71=_0x4c3d28['has']('CommentsRepository')?_0x4c3d28['get']('CommentsRepository'):void 0x0,_0x1d774a=_0x4c3d28['has']('CommentsOnly')&&_0x4c3d28['get']('CommentsOnly'),_0x98419f=_0x26617f['includes']('document:write'),_0x5c7b36=_0x26617f['includes']('comment:modify_all'),_0x19009e=_0x26617f['includes']('comment:admin'),_0x193905=_0x26617f['includes']('comment:write'),_0x5e274d=_0x193905||_0x19009e,_0x42f53f=_0x5e274d||_0x5c7b36,_0x4d5c07=_0x98419f||_0x5e274d;(_0x1d774a&&(_0x1d774a['isEnabled']=!_0x98419f&&_0x42f53f),_0x477092 instanceof _0x1b24b4)&&(!(_0x98419f||_0x42f53f&&_0x34ce71)?_0x477092['enableReadOnlyMode']('no-permissions'):_0x477092['disableReadOnlyMode']('no-permissions'));if(_0x34ce71){_0x34ce71['setPermissions']({'admin':_0x19009e,'modifyAll':_0x5c7b36,'write':_0x193905,'resolve':_0x4d5c07},_0x247f65);const _0xdbc991=_0x477092 instanceof _0x1b24b4&&_0x477092['commands']['get']('addCommentThread');_0xdbc991&&(_0x5e274d?_0xdbc991['clearForceDisabled']('noPermissions'):_0xdbc991['forceDisabled']('noPermissions'));}}}function y(_0x34c274,_0x4cd5b3){const t=_0x34c274['t'];switch(_0x4cd5b3){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class P extends _0x721b3e{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_];}constructor(_0x2486d1){super(_0x2486d1),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x1442d6(),this['_locale']=_0x2486d1['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:_0x150826,name:_0x841ec6,..._0x3fd059}){if(!_0x150826||'string'!=typeof _0x150826)throw new _0x4fd52c('users-add-invalid-id');if(this['users']['has'](_0x150826))throw new _0x4fd52c('users-add-duplicated-id',null,{'id':_0x150826});const _0x4cf59d=this['context']['config']['get']('users.getInitialsCallback'),_0x160d88={..._0x3fd059,'id':_0x150826,'name':C(this['_locale'],_0x841ec6),'color':this['_getNextColor']()};_0x160d88['name']=C(this['_locale'],_0x160d88['name']);const _0x2475fe=new R(_0x160d88,_0x4cf59d);return this['users']['add'](_0x2475fe),_0x2475fe;}['getUser'](_0x1feb21){return this['users']['get'](_0x1feb21);}['useAnonymousUser'](){const _0x1efda9=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x1efda9);}['defineMe'](_0x2b5f55){if(this['_myId'])throw new _0x4fd52c('users-me-already-defined',null);const _0x1f1aa7=this['getUser'](_0x2b5f55);if(!_0x1f1aa7)throw new _0x4fd52c('users-me-missing-user',null);this['_myId']=_0x2b5f55,_0x1f1aa7['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x2b83f1=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2b83f1&&(this['_lastColor']=0x0),new Y(this['_lastColor']++);}['_addAnonymousUser'](){const _0x32014d=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x32014d,'name':y(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class R{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x31e3fe,_0x5b5516){this['id']=_0x31e3fe['id'],this['color']=_0x31e3fe['color'],this['name']=_0x31e3fe['name'],this['initials']=_0x5b5516?_0x5b5516(this['name']):this['_computeInitials'](),this['avatar']=_0x31e3fe['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x21b981=this['name']['split']('\x20')['filter'](_0x4dfedd=>/^[\p{Letter}]/u['test'](_0x4dfedd));return 0x1===_0x21b981['length']?this['_getInitial'](_0x21b981[0x0]):0x0===_0x21b981['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x21b981[0x0])+this['_getInitial'](_0x21b981[_0x21b981['length']-0x1]);}['_getInitial'](_0x1c2f87){return String['fromCodePoint'](_0x1c2f87['codePointAt'](0x0))['toUpperCase']();}}function C(_0x35a955,_0x478b08=''){return''==(_0x478b08=_0x478b08['trim']())?y(_0x35a955,'Anonymous'):_0x478b08;}class Y{['_id'];constructor(_0x49faf1){this['_id']=_0x49faf1;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}}class Z extends _0x4d9c1c{['name'];['notificationView'];constructor(_0x346013,_0xfb6209,_0x416bee){super(_0x346013),this['name']=_0xfb6209['name'],this['notificationView']=null;const _0x1c2ada=['ck','ck-user'],_0x91af34=['ck','ck-user__img'];if(_0xfb6209['isAnonymous']&&_0x91af34['push']('ck-user__anonymous'),!_0xfb6209['isAnonymous']&&_0xfb6209['isMe']&&_0x1c2ada['push']('ck-user_me'),_0xfb6209['avatar']&&_0x91af34['push']('ck-user__avatar'),_0x416bee){const _0x44fce0=new _0x36406b();_0x44fce0['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x44fce0['content']=_0x4ec0d8,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x416bee},'children':[_0x44fce0]};}const _0x18aefb=[{'tag':'div','attributes':{'class':_0x91af34,'style':{'background-image':_0xfb6209['avatar']?'url(\x27'+_0xfb6209['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0xfb6209['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0xfb6209['name']},'children':[{'text':_0xfb6209['initials']}]}];this['notificationView']&&_0x18aefb['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x1c2ada,'data-user-id':_0xfb6209['id']},'children':_0x18aefb});}}class Q extends _0x4d9c1c{['id'];constructor(_0xf1c391,_0x4b203b){super(_0xf1c391),this['id']='ck-aria-description-'+_0x578b07(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x4b203b}]});}}class X extends _0x42d149{['render'](){super['render'](),J(this);}}class tt extends _0x7b4fd8{['render'](){super['render'](),J(this);}}function J(_0x190dcf){_0x190dcf['listenTo'](_0x190dcf['element'],'mousedown',(_0x93b067,_0x531d34)=>{_0x531d34['stopPropagation'](),_0x531d34['preventDefault']();}),_0x190dcf['listenTo'](_0x190dcf['element'],'mouseup',()=>{_0x190dcf['element']['focus']();});}function et(_0x20ec62={},_0x148097){if(void 0x0!==_0x20ec62['dateTimeFormat']&&'function'!=typeof _0x20ec62['dateTimeFormat'])throw new _0x4fd52c('invalid-date-time-format');return _0x562e26=>{const _0x394bd3='string'==typeof _0x562e26?_0x3a233e['fromISO'](_0x562e26):_0x3a233e['fromJSDate'](_0x562e26),_0x169a9f=_0x3a233e['now'](),_0xc1ad8a=Math['floor'](_0x169a9f['diff'](_0x394bd3,'days')['days']);return _0x20ec62['dateTimeFormat']?_0x20ec62['dateTimeFormat'](_0x394bd3['toJSDate'](),_0x148097&&_0x148097['t']?_0x148097['t']:void 0x0):0x0===_0xc1ad8a?_0x148097?y(_0x148097,'Today')+'\x20'+_0x394bd3['toFormat']('hh:mma'):_0x394bd3['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0xc1ad8a?_0x148097?y(_0x148097,'Yesterday')+'\x20'+_0x394bd3['toFormat']('hh:mma'):_0x394bd3['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0xc1ad8a<0x7?_0x148097?y(_0x148097,'Last')+'\x20'+y(_0x148097,_0x394bd3['toFormat']('EEEE'))+'\x20'+_0x394bd3['toFormat']('hh:mma'):_0x394bd3['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x394bd3['toFormat']('LL-dd-yyyy\x20hh:mma');};}function st(_0x14d0d4,_0x1b86c3){const _0x288827=_0x14d0d4['mapper']['markerNameToElements'](_0x1b86c3['name']);if(!_0x288827)return null;const _0x38b35c=_0x5a02de(_0x288827['values']());return _0x14d0d4['view']['domConverter']['mapViewToDom'](_0x38b35c)||null;}function nt(_0x235589,_0x54bdf0){if(0x0===_0x54bdf0['length'])return null;const _0x3b3e69=[],_0x33dca6=_0x235589['view']['domConverter'];for(const _0xe97f4 of _0x54bdf0){const _0x51133a=_0x235589['mapper']['markerNameToElements'](_0xe97f4['name']);if(!_0x51133a)continue;const _0x2bc6ab=Array['from'](_0x51133a)['map'](_0x168c4c=>_0x33dca6['mapViewToDom'](_0x168c4c))['filter'](_0x5742b0=>!!_0x5742b0);_0x3b3e69['push'](..._0x2bc6ab);}if(0x0===_0x3b3e69['length'])return null;const _0x5dad72=[];for(const _0x21c402 of _0x3b3e69){const _0xb36fac=_0x21c402['getClientRects']()['item'](0x0);_0xb36fac&&_0x5dad72['push']({'x':_0xb36fac['x'],'y':_0xb36fac['y'],'domElement':_0x21c402});}return 0x0===_0x5dad72['length']?null:(_0x5dad72['sort']((_0x53fb6b,_0x31dd51)=>_0x53fb6b['y']-_0x31dd51['y']||_0x53fb6b['x']-_0x31dd51['x']),_0x5dad72['map'](_0x429f72=>_0x429f72['domElement']));}function it(_0x462046,{limit:_0x430f8d,suffix:_0x10d2a1='...'}){const _0xa680bf=[];let _0xf08dd4=0x0;const _0x3a578f=_0x462046['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x12b54=0x0;_0x12b54<_0x3a578f['length'];_0x12b54++){let _0x5e137c=_0x3a578f[_0x12b54];const _0x416a54=H(_0x5e137c);if(_0x5e137c['startsWith']('<')){if(_0xf08dd4>=_0x430f8d){const _0x23ddbc=_0x5e137c['match'](/[a-zA-Z]+/);if(!_0x23ddbc){_0x3a578f[_0x12b54]='';continue;}const _0x21930f=_0x23ddbc[0x0];_0x5e137c['startsWith']('</')?(_0xa680bf['length']&&(_0x5e137c=''),_0xa680bf['pop']()):(_0xa680bf['push'](_0x21930f),_0x5e137c='');}}else{if(_0xf08dd4>=_0x430f8d)_0x5e137c='';else{if(_0xf08dd4+_0x416a54['length']>=_0x430f8d){let _0x32fd2f=_0x430f8d-_0xf08dd4;if('\x20'===_0x416a54[_0x32fd2f-0x1])_0x32fd2f--;else{const _0xfaebd7=_0x416a54['slice'](_0x32fd2f)['indexOf']('\x20');-0x1!==_0xfaebd7?_0x32fd2f+=_0xfaebd7:_0x32fd2f=_0x5e137c['length'];}_0x5e137c=_0x416a54['slice'](0x0,_0x32fd2f)['join']('')+_0x10d2a1,_0xf08dd4=_0x430f8d;}else _0xf08dd4+=_0x416a54['length'];}}_0x3a578f[_0x12b54]=_0x5e137c;}return _0x3a578f['join']('\x0a')['replace'](/\n/g,'');}function H(_0x57b5b4){const _0xd03d=[];for(let _0xd0f348=0x0;_0xd0f348<_0x57b5b4['length'];_0xd0f348++){const _0x54eb07=_0x57b5b4['substring'](_0xd0f348)['match'](/^&[a-z0-9#]+;/);if(_0x54eb07){const _0x10a237=_0x54eb07[0x0];_0xd03d['push'](_0x10a237),_0xd0f348+=_0x10a237['length']-0x1;}else _0xd03d['push'](_0x57b5b4[_0xd0f348]);}return _0xd03d;}class v extends _0x4d9c1c{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x2f03b8){super(_0x2f03b8);const _0x5cba9c=this['bindTemplate'];this['set']('message',y(_0x2f03b8,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x2f03b8,y(_0x2f03b8,'Yes'),_0x2ba2ab,'submit'),this['cancelView']=this['_createButtonView'](_0x2f03b8,y(_0x2f03b8,'No'),_0x250b18,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x1422bf(),this['keystrokes']=new _0x205f78(),this['focusCycler']=new _0x2ade11({'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':_0x5cba9c['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'](_0x1664d3,_0x57b9c6,_0x4b0b53,_0x2eca3b){const _0xed9ca4=new _0x42d149(_0x1664d3);return _0xed9ca4['label']=_0x57b9c6,_0xed9ca4['icon']=_0x4b0b53,_0xed9ca4['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x2eca3b}}),_0xed9ca4['on']('execute',()=>this['fire'](_0x2eca3b)),_0xed9ca4;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x3cc03e=>{this['keystrokes']['listenTo'](_0x3cc03e['element']),this['focusTracker']['add'](_0x3cc03e['element']);}),this['keystrokes']['set']('esc',(_0x287fe5,_0x433c96)=>{this['fire']('cancel'),_0x433c96();});}}function ot(_0x20704d){return class extends _0x20704d{['showConfirm'](_0x2788fe,_0x4d1756){return this['confirmView']=new v(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x2788fe,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x4d1756['appendChild'](this['confirmView']['element']),_0x4d1756['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0xb0c924,_0x2536bc,_0x354203)=>{_0x354203||_0x4d1756['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x151159=>this['confirmView']['on']('submit',_0x151159));}['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 rt(_0x4b4d67){let _0x2982d6=0x0,_0x5ae2e7=0x0;for(const _0x1a5227 of M(_0x4b4d67))_0x2982d6=(_0x2982d6<<0x5)-_0x2982d6+_0x1a5227,_0x2982d6&=_0x2982d6,[_0x2982d6,_0x5ae2e7]=[_0x5ae2e7,_0x2982d6];return B(_0x2982d6)+B(_0x5ae2e7);}function*O(_0x19fd68){null==_0x19fd68||null==_0x19fd68?yield 0x12b9b0a1:0x0===_0x19fd68||!0x1===_0x19fd68?yield 0x0:0x1===_0x19fd68||0x1==_0x19fd68?yield 0x1:Array['isArray'](_0x19fd68)?yield*function*(_0x3fefd0){for(const _0x522a98 of _0x3fefd0)yield*O(_0x522a98);}(_0x19fd68):'object'==typeof _0x19fd68?yield*M(_0x19fd68):'string'==typeof _0x19fd68?yield*q(_0x19fd68):'number'==typeof _0x19fd68&&(yield _0x19fd68);}function*M(_0x285e0b){if(yield z('{'),_0x285e0b){const _0x444048=Object['keys'](_0x285e0b)['sort']();for(const _0x13ca31 of _0x444048){yield*q(_0x13ca31),yield z(':');const _0x5e000d=_0x285e0b[_0x13ca31];yield*O(_0x5e000d);}}yield z('}');}function*q(_0x333ca8){yield z('\x22');for(const _0x2ea75c of _0x333ca8)yield z(_0x2ea75c);yield z('\x22');}function z(_0x3fcfc1){return _0x3fcfc1['charCodeAt'](0x0);}function B(_0x265602){return(_0x265602*=Math['sign'](_0x265602))['toString'](0x24);}const W=['initialData','context','toolbar','rootsAttributes'],S=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function G(_0x4b373e,_0x42272f,_0x280cf3,_0x26aabf=[]){const _0x1a5126='string'==typeof _0x4b373e?_0x280cf3['get'](_0x4b373e)['constructor']:_0x4b373e['prototype']['constructor'];if(_0x42272f['has'](_0x1a5126))return _0x42272f['get'](_0x1a5126);_0x42272f['set'](_0x1a5126,!0x0);const _0xc4b8cf=[...S,..._0x26aabf]['map'](_0x324446=>{if(_0x280cf3['has'](_0x324446))return _0x280cf3['get'](_0x324446)['constructor'];})['filter'](_0x16f873=>_0x16f873);if(_0x1a5126&&_0xc4b8cf['includes'](_0x1a5126))return _0x42272f['set'](_0x1a5126,!0x1),!0x1;if(!_0x1a5126['requires'])return _0x42272f['set'](_0x1a5126,!0x0),!0x0;const _0x59f406=_0x1a5126['requires']['every'](_0x1faae4=>G(_0x1faae4,_0x42272f,_0x280cf3,_0x26aabf));return _0x42272f['set'](_0x1a5126,_0x59f406),_0x59f406;}function ct(_0x3abd16,_0x4820f8){const _0x8b207={};for(const _0x5933e0 of _0x3abd16['config']['names']())W['includes'](_0x5933e0)||(_0x8b207[_0x5933e0]=_0x3abd16['config']['get'](_0x5933e0));const _0x13d6fd=_0x8b207['plugins']||[],_0x50cfd5=_0x3abd16['constructor']['builtinPlugins']||[],_0x2ae0bf=_0x13d6fd['length']?_0x13d6fd:_0x50cfd5,_0x4909a2=_0x8b207['extraPlugins']||[];delete _0x8b207['extraPlugins'];const _0xf97f37=_0x8b207['removePlugins']||[];delete _0x8b207['removePlugins'];const _0x2ef4a2=_0x3abd16['_context']['config']['get']('plugins')||[],_0x593aed=_0x2ae0bf['concat'](_0x4909a2)['concat'](_0x2ef4a2)['map'](_0x17d702=>'string'==typeof _0x17d702?_0x50cfd5['find'](_0x4da256=>_0x4da256['pluginName']==_0x17d702):_0x17d702)['filter'](_0x181ae2=>!_0xf97f37['includes'](_0x181ae2)&&!_0xf97f37['includes'](_0x181ae2['pluginName'])),_0x3ce2e3=Array['from'](new Set(_0x593aed)),_0x2c0cf5=new Map();return _0x8b207['plugins']=_0x3ce2e3['filter'](_0x2078ef=>G(_0x2078ef,_0x2c0cf5,_0x3abd16['plugins'],_0x4820f8)),_0x8b207;}function at(_0x1b1285,_0x53b03a){const _0x255088=[];_0x1b1285['document']['selection']['on']('change:range',()=>{const _0x3fa83a=function(_0x567ac0,_0x2fd8a9){const _0x73a788=[];for(const _0x5eaf25 of _0x567ac0['markers']){const _0x56e3ee=_0x5eaf25['getRange']();(_0x56e3ee['containsPosition'](_0x2fd8a9)||_0x56e3ee['start']['isEqual'](_0x2fd8a9)||_0x56e3ee['end']['isEqual'](_0x2fd8a9))&&_0x73a788['push'](_0x5eaf25);}return _0x73a788;}(_0x1b1285,_0x1b1285['document']['selection']['focus']),_0x4eb592=[],_0x43d9b1=[],_0x4dadc6=[];for(const _0x3e499b of _0x255088)_0x3fa83a['includes'](_0x3e499b)||_0x4eb592['push'](_0x3e499b);for(const _0x46b14a of _0x3fa83a)_0x255088['includes'](_0x46b14a)||_0x43d9b1['push'](_0x46b14a),_0x4dadc6['push'](_0x46b14a);(_0x4eb592['length']||_0x43d9b1['length'])&&_0x53b03a({'left':_0x4eb592,'entered':_0x43d9b1}),_0x255088['length']=0x0,_0x255088['push'](..._0x4dadc6);});}const ht='Ctrl+Shift+E';function lt(_0x34f3fd,_0x6b7939){const _0x2e0e60=_0x34f3fd['element'];_0x34f3fd['keystrokes']['listenTo'](_0x2e0e60);for(const _0x5ee7a3 of _0x6b7939)F(_0x34f3fd,_0x5ee7a3);_0x6b7939['on']('change',(_0x48186d,_0x201d1e)=>{for(const _0x149d07 of _0x201d1e['removed'])I(_0x34f3fd,_0x149d07);for(const _0x55ba0f of Array['from'](_0x201d1e['added'])['reverse']())F(_0x34f3fd,_0x55ba0f);}),_0x34f3fd['keystrokes']['set']('enter',(_0x441e91,_0x2b8878)=>{_0x2e0e60===_0x441e91['target']&&(_0x34f3fd['focusCycler']['focusFirst'](),_0x2b8878());},{'filter':_0x191c66=>_0x191c66['target']===_0x2e0e60}),_0x34f3fd['keystrokes']['set']('esc',(_0x291f3f,_0x29d912)=>{_0x2e0e60!==_0x291f3f['target']?_0x34f3fd['focus']():_0x34f3fd['fire']('escape'),_0x29d912();}),_0x34f3fd['keystrokes']['set']('arrowdown',(_0x326126,_0x2bb7b6)=>{_0x2e0e60===_0x326126['target']&&(_0x34f3fd['fire']('arrowdown'),_0x2bb7b6());}),_0x34f3fd['keystrokes']['set']('arrowup',(_0x3040ec,_0x129a7d)=>{_0x2e0e60===_0x3040ec['target']&&(_0x34f3fd['fire']('arrowup'),_0x129a7d());});}function F(_0x54229d,_0x88ff4c){_0x88ff4c['isRendered']&&(_0x54229d['focusTracker']['add'](_0x88ff4c['element']),_0x54229d['keystrokes']['listenTo'](_0x88ff4c['element']),_0x575f3a(_0x88ff4c)&&function(_0x5058c3,_0x145590){const _0x41bcff=_0x5058c3['actions'],_0x2f2d8d=_0x145590['actions'];for(const _0x1faf95 of Object['keys'](_0x41bcff))if(_0x1faf95 in _0x2f2d8d&&_0x41bcff[_0x1faf95]!==_0x2f2d8d[_0x1faf95])return!0x1;return!0x0;}(_0x54229d['focusCycler'],_0x88ff4c['focusCycler'])&&_0x54229d['focusCycler']['chain'](_0x88ff4c['focusCycler']));}function I(_0x41ed3b,_0x4a45e8){_0x41ed3b['focusTracker']['remove'](_0x4a45e8['element']),_0x41ed3b['keystrokes']['stopListening'](_0x4a45e8['element']),_0x575f3a(_0x4a45e8)&&_0x41ed3b['focusCycler']['unchain'](_0x4a45e8['focusCycler']);}const ut='$elementId',dt='data-id';class ft extends _0x721b3e{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x1b24b4?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x59b8ae,_0x4e4c9d)=>{_0x4e4c9d['on']('ready',()=>{this['_integrateEditor'](_0x4e4c9d);});});}get['editor'](){if(this['context']instanceof _0x1b24b4)return this['context'];{const _0x3976a9=this['context']['editors']['first'];if(!_0x3976a9)throw new _0x4fd52c('documentcompare-no-editor',this);return _0x3976a9;}}['getDiff'](_0xa98e2d,_0x2cc7c3,_0x269c1e={'anchor':'main','markDeletions':!0x1}){let _0xd06174,_0x16b9d5;const _0x57db31=this['editor'];if('string'==typeof _0x269c1e['anchor']){const _0x51da83=_0x57db31['model']['document']['getRoot'](_0x269c1e['anchor']);if(!_0x51da83)throw new _0x4fd52c('documentcompare-compare-no-root',this,{'anchor':_0x269c1e['anchor']});_0xd06174=_0x51da83,_0x16b9d5=_0x57db31['model']['createPositionAt'](_0x51da83,0x0);}else _0xd06174=_0x269c1e['anchor']['clone'](),_0x16b9d5=_0x269c1e['anchor']['clone']();const _0x551cbd=_0x57db31['data']['parse'](_0xa98e2d,_0xd06174),_0x5bb5e3=_0x57db31['data']['parse'](_0x2cc7c3,_0xd06174);return new mt(_0x551cbd,_0x5bb5e3,_0x57db31,{'anchor':_0x16b9d5,'markDeletions':_0x269c1e['markDeletions']});}['isMarkedRemoveOperation'](_0x3689d5){return'marker'==_0x3689d5['type']&&_0x3689d5['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x13de61){_0x13de61['conversion']['for']('upcast')['add'](_0x39ff9f=>{_0x39ff9f['on']('element',(_0x187b6e,_0x473048,_0x477b3d)=>{if(_0x473048['modelRange'])for(const _0x2153e9 of _0x473048['modelRange']['getItems']({'shallow':!0x0})){if(_0x2153e9['is']('$textProxy'))continue;const _0x354dc1=_0x473048['viewItem']['getAttribute'](dt);_0x354dc1&&_0x477b3d['writer']['setAttribute'](ut,_0x354dc1,_0x2153e9);}},{'priority':'lowest'});}),_0x13de61['model']['schema']['addAttributeCheck'](()=>!0x0,ut);}}class mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x52b980,_0x4a93c6,_0x41aaac,_0x2fda74){this['_editor']=_0x41aaac,this['_markDeletions']=!!_0x2fda74['markDeletions'],this['_anchor']=_0x2fda74['anchor'];const _0x1b0216=this['_tokenizeModel'](_0x52b980),_0x2129b9=this['_tokenizeModel'](_0x4a93c6);this['_diffItems']=this['_diffModelTokens'](_0x1b0216,_0x2129b9),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x52b980['markers'],_0x4a93c6['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x1aace5=this['_editor']['model']['document'],_0x1ae5a9=[];let _0x2a46c5=_0x1aace5['version'];for(const _0x182c4b of this['_operationsData'])switch(_0x182c4b['type']){case'attribute':{const _0x405121=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['path']),_0x4796e3=_0x405121['getShiftedBy'](_0x182c4b['howMany']),_0x3ae8a5=new _0x1faba7(_0x405121,_0x4796e3),_0x4c0857=JSON['parse'](_0x182c4b['oldValue']),_0x201963=JSON['parse'](_0x182c4b['newValue']);_0x1ae5a9['push'](new _0x3f14a6(_0x3ae8a5,_0x182c4b['key'],_0x4c0857,_0x201963,_0x2a46c5++));break;}case'insert':{const _0x238445=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['path']),_0x3c0ad0=this['_makeModelFromTokens'](_0x182c4b['tokens']);_0x1ae5a9['push'](new _0x3abe65(_0x238445,_0x3c0ad0,_0x2a46c5++));break;}case'remove':{const _0x1ff44f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['path']),_0x5c3d95=new _0x2badb3(_0x1aace5['graveyard'],[0x0]);_0x1ae5a9['push'](new _0x54a846(_0x1ff44f,_0x182c4b['howMany'],_0x5c3d95,_0x2a46c5++));break;}case'rename':{const _0x304ca5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['path']);_0x1ae5a9['push'](new _0x10361c(_0x304ca5,_0x182c4b['oldName'],_0x182c4b['newName'],_0x2a46c5++));break;}case'split':{const _0x563ee1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['path']),_0x4dc89c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['path']['slice'](0x0,-0x1));_0x4dc89c['offset']++,_0x1ae5a9['push'](new _0x1c9045(_0x563ee1,Number['NEGATIVE_INFINITY'],_0x4dc89c,null,_0x2a46c5++));break;}case'merge':{const _0x33479b=_0x182c4b['path']['slice'](),_0x208fe2=_0x33479b['slice'](0x0,-0x1);_0x208fe2[_0x208fe2['length']-0x1]++,_0x208fe2['push'](0x0);const _0x3df1c1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x208fe2),_0x9924f0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x33479b),_0x268567=new _0x2badb3(_0x1aace5['graveyard'],[0x0]);_0x1ae5a9['push'](new _0x5d2c1d(_0x3df1c1,Number['NEGATIVE_INFINITY'],_0x9924f0,_0x268567,_0x2a46c5++));break;}case'marker':case'markedRemove':{let _0x32638e=null;if(_0x182c4b['range']){const _0x59624a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['range']['start']),_0xd24e8c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['range']['end']);_0x32638e=new _0x1faba7(_0x59624a,_0xd24e8c);}const _0x59663e='marker'==_0x182c4b['type']?_0x182c4b['name']:'$markedRemove:'+_0x578b07();_0x1ae5a9['push'](new _0x21f0b7(_0x59663e,null,_0x32638e,_0x1aace5['model']['markers'],!0x0,_0x2a46c5++));break;}case'unwrap':{const _0x44b78b=_0x182c4b['path']['slice']();_0x44b78b['push'](0x0);const _0xca5f83=_0x182c4b['path']['slice'](),_0x7f561f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x44b78b),_0x46bd92=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xca5f83),_0x583af6=new _0x2badb3(_0x1aace5['graveyard'],[0x0]);_0x1ae5a9['push'](new _0x54a846(_0x7f561f,_0x182c4b['howMany'],_0x46bd92,_0x2a46c5++)),_0x1ae5a9['push'](new _0x54a846(_0x46bd92['getShiftedBy'](_0x182c4b['howMany']),0x1,_0x583af6,_0x2a46c5++));break;}case'wrap':{const _0x1e0e6e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['range']['start']),_0x472407=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['range']['end']),_0x4d2580=_0x182c4b['token']['element']['_clone'](!0x1),_0x51e095=_0x182c4b['range']['end']['slice']();_0x51e095['push'](0x0);const _0x16dd8b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x51e095);_0x1ae5a9['push'](new _0x3abe65(_0x472407,_0x4d2580,_0x2a46c5++)),_0x1ae5a9['push'](new _0x54a846(_0x1e0e6e,_0x472407['offset']-_0x1e0e6e['offset'],_0x16dd8b,_0x2a46c5++));break;}}return _0x1ae5a9;}['_tokenizeModel'](_0x4da1b2){const _0x163488=[],_0x14fc49=_0x1faba7['_createIn'](_0x4da1b2),_0x2d9620=new _0x6cfce2({'boundaries':_0x14fc49});let _0x38e2b7='',_0x313d4b=null;const _0x3cde48=[''],_0xb94946=new Map();for(const _0x5aa2c1 of _0x2d9620)if('elementStart'==_0x5aa2c1['type']||'elementEnd'==_0x5aa2c1['type']){let _0x21ccff=_0x3cde48[0x0];''!==_0x38e2b7&&(_0x163488['push'](...this['_makeTokensFromTextByWords'](_0x38e2b7,_0x313d4b,_0x21ccff)),_0x38e2b7='');const _0x171148=_0x5aa2c1['item'];let _0x79ec82;_0x171148['getAttribute'](ut)?_0x79ec82=_0x171148['getAttribute'](ut):'elementStart'==_0x5aa2c1['type']?(_0x79ec82=_0x578b07(),_0xb94946['set'](_0x171148,_0x79ec82)):_0x79ec82=_0xb94946['get'](_0x171148);const _0x1fcd7e=this['_getElementCategory'](_0x171148);'solid'==_0x1fcd7e&&('elementStart'==_0x5aa2c1['type']?(_0x21ccff=_0x79ec82,_0x3cde48['unshift'](_0x21ccff)):_0x3cde48['shift']());const _0x290246={'type':'element','element':_0x171148,'elementId':_0x79ec82,'category':_0x1fcd7e,'isStart':'elementStart'==_0x5aa2c1['type'],'limitId':_0x21ccff};_0x163488['push'](_0x290246);}else''==_0x38e2b7&&(_0x313d4b=_0x5aa2c1['previousPosition']['clone']()),_0x38e2b7+=_0x5aa2c1['item']['data'];return''!==_0x38e2b7&&_0x163488['push'](...this['_makeTokensFromTextByWords'](_0x38e2b7,_0x313d4b,_0x3cde48[0x0])),_0x163488;}['_makeTokensFromTextByWords'](_0x26fd86,_0x160787,_0x1e6a13){const _0x249a9c=_0x26fd86['matchAll'](/(\s)/g),_0x36150c=Array['from'](_0x249a9c)['map'](_0x4a165=>_0x4a165['index']);_0x36150c['push'](_0x26fd86['length']),0x0==_0x36150c[0x0]&&_0x36150c['shift']();const _0x20e298=[],_0x41d8ba=_0x160787['parent'];let _0x8b1803=0x0,_0x2535d9=_0x160787['offset'];for(let _0x12669b=0x0;_0x12669b<_0x36150c['length'];_0x12669b++)_0x20e298['push']({'type':'text','data':_0x26fd86['slice'](_0x8b1803,_0x36150c[_0x12669b]),'parent':_0x41d8ba,'offset':_0x2535d9,'limitId':_0x1e6a13}),_0x8b1803=_0x36150c[_0x12669b],_0x2535d9=_0x160787['offset']+_0x36150c[_0x12669b];return _0x20e298;}['_getElementCategory'](_0x3bf8be){const _0x472e43=this['_editor']['model']['schema'];return _0x472e43['isLimit'](_0x3bf8be)||_0x472e43['isContent'](_0x3bf8be)||_0x472e43['isInline'](_0x3bf8be)?'solid':_0x472e43['isBlock'](_0x3bf8be)?'block':'container';}['_diffModelTokens'](_0x4590d8,_0x4364ea){const _0x200d55=_0x5a2877(_0x4590d8,_0x4364ea,{'comparator':k});this['_handleUnclosedBlockOpeningTags'](_0x200d55);const _0x319209=_0x200d55['flatMap'](_0x2dfa1c=>{const _0x4f8d02=_0x2dfa1c['added']?'added':_0x2dfa1c['removed']?'removed':'unchanged';return _0x2dfa1c['value']['map'](_0x5858a6=>({'token':_0x5858a6,'change':_0x4f8d02}));});let _0x390531=0x0;for(const _0x11e431 of _0x319209)'added'!=_0x11e431['change']&&('unchanged'==_0x11e431['change']&&(_0x11e431['before']=_0x4590d8[_0x390531]),_0x390531++);return _0x319209;}['_handleUnclosedBlockOpeningTags'](_0x38f156){for(let _0x3a31b2=0x0;_0x3a31b2<_0x38f156['length']-0x1;_0x3a31b2++)if(_0x38f156[_0x3a31b2]['removed']&&_0x38f156[_0x3a31b2+0x1]['added']){const _0x1bbf2d=this['_findUnclosedBlockOpeningToken'](_0x38f156[_0x3a31b2]['value']);if(null!==_0x1bbf2d){const _0xa2184=this['_findUnclosedBlockOpeningToken'](_0x38f156[_0x3a31b2+0x1]['value']),_0x12ff57=_0x38f156[_0x3a31b2]['value']['splice'](_0x1bbf2d),_0x17705e=_0x38f156[_0x3a31b2+0x1]['value']['splice'](_0xa2184),_0x2b2fe2=[_0x17705e['shift']()];_0x12ff57['shift']();const _0x53eb3b={'value':_0x12ff57,'removed':!0x0},_0x88600d={'value':_0x17705e,'added':!0x0},_0x37d5cb={'value':_0x2b2fe2};_0x38f156['splice'](_0x3a31b2+0x2,0x0,_0x37d5cb,_0x53eb3b,_0x88600d);}}}['_findUnclosedBlockOpeningToken'](_0x443296){let _0x3146c7=0x0,_0x5df2c2=-0x1;for(let _0x4a290d=0x0;_0x4a290d<_0x443296['length'];_0x4a290d++){const _0x23ac02=_0x443296[_0x4a290d];'element'==_0x23ac02['type']&&'block'==_0x23ac02['category']&&(_0x3146c7+=_0x23ac02['isStart']?0x1:-0x1,_0x23ac02['isStart']&&(_0x5df2c2=_0x4a290d));}return 0x0===_0x3146c7?null:_0x5df2c2;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x2abaae=0x0;_0x2abaae<this['_diffItems']['length'];_0x2abaae++){const _0x464710=this['_diffItems'][_0x2abaae]['change'],_0x5e6d12=[];_0x5e6d12['push'](this['_diffItems'][_0x2abaae]);let _0x34ec88=_0x2abaae+0x1;for(;this['_diffItems'][_0x34ec88]&&this['_diffItems'][_0x34ec88]['change']==_0x464710;)_0x5e6d12['push'](this['_diffItems'][_0x34ec88]),_0x34ec88++,_0x2abaae++;const _0x62e934=_0x5e6d12['map'](_0x316b9f=>_0x316b9f['token']);if('unchanged'==_0x464710)_0x5e6d12['map'](_0x1138b6=>_0x1138b6['before'])['forEach'](_0x23cc53=>this['_traverseOverItem'](_0x23cc53));else{if('removed'==_0x464710){if(this['_markDeletions']){const _0x5a92b3=this['_path']['slice']();_0x62e934['forEach'](_0x272013=>this['_traverseOverItem'](_0x272013));const _0xe1ad58=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x5a92b3,'end':_0xe1ad58}});}else this['_handleChanged'](_0x62e934,!0x0,this['_path']['slice']());}else{const _0x43d3d9=_0x62e934['filter'](_0xa268b2=>'element'!=_0xa268b2['type']||'container'!=_0xa268b2['category']);this['_handleChanged'](_0x43d3d9,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x1a0d58=0x0;_0x1a0d58<this['_diffItems']['length'];_0x1a0d58++){const _0x2b9aad=this['_diffItems'][_0x1a0d58]['change'],_0x1d29b0=[];_0x1d29b0['push'](this['_diffItems'][_0x1a0d58]);let _0x422cc8=_0x1a0d58+0x1;for(;this['_diffItems'][_0x422cc8]&&this['_diffItems'][_0x422cc8]['change']==_0x2b9aad;)_0x1d29b0['push'](this['_diffItems'][_0x422cc8]),_0x422cc8++,_0x1a0d58++;const _0x1cf502=_0x1d29b0['map'](_0x43289b=>_0x43289b['token']);if('unchanged'==_0x2b9aad){const _0x91eb03=_0x1d29b0['map'](_0x1b24d8=>_0x1b24d8['before']);this['_handleUnchanged'](_0x91eb03,_0x1cf502);}else('removed'!=_0x2b9aad||this['_markDeletions'])&&_0x1cf502['forEach'](_0x261e82=>{this['_traverseOverItem'](_0x261e82);});}}['_calculateMarkersOperationsData'](_0x26acfa,_0x36439f){const _0x494170={};for(const [_0x5a2d4d]of _0x26acfa)_0x494170[_0x5a2d4d]=null;for(const [_0x1679e3,_0xba86ff]of _0x36439f)_0x494170[_0x1679e3]=_0xba86ff;const _0x3e31a5=Object['entries'](_0x494170)['map'](([_0x4930a4,_0x5f2005])=>({'type':'marker','name':_0x4930a4,'range':_0x5f2005?{'start':_0x5f2005['start']['path']['slice'](),'end':_0x5f2005['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x3e31a5);}['_handleUnwraps'](){const _0xd71812=new Map(),_0x216828=[],_0x37bcac=[0x0];let _0x25c9f3=this['_diffItems']['length']+0x1;for(let _0x5865ff=this['_diffItems']['length']-0x1;_0x5865ff>=0x0;_0x5865ff--){const {token:_0x2017c5,before:_0x43701a,change:_0x2b30cf}=this['_diffItems'][_0x5865ff];if('removed'!=_0x2b30cf&&(_0x25c9f3=_0x5865ff),'element'!=_0x2017c5['type']||'container'!=_0x2017c5['category']||'added'==_0x2b30cf)continue;const _0xe5a34c=_0x43701a?_0x43701a['element']:_0x2017c5['element'];if(_0x2017c5['isStart']){const _0x55cdb6=_0xd71812['get'](_0xe5a34c),_0x4093e4=this['_diffItems'][_0x55cdb6];('removed'==_0x2b30cf||'removed'==_0x4093e4['change'])&&_0x25c9f3<_0x55cdb6&&(this['_operationsData']['push']({'type':'unwrap','path':_0xe5a34c['getPath'](),'howMany':_0xe5a34c['maxOffset']+_0x37bcac[0x0]}),_0x37bcac['shift'](),_0x37bcac[0x0]+=_0xe5a34c['maxOffset']-0x1,_0x216828['push'](_0x5865ff),_0x216828['push'](_0x55cdb6));}else _0xd71812['set'](_0xe5a34c,_0x5865ff),_0x37bcac['unshift'](0x0);}_0x216828['sort']((_0x337143,_0x5995ba)=>_0x5995ba-_0x337143),_0x216828['forEach'](_0x126bd9=>{const _0x2d2f46=this['_diffItems'][_0x126bd9];'removed'==_0x2d2f46['change']?this['_diffItems']['splice'](_0x126bd9,0x1):(_0x2d2f46['change']='added',delete _0x2d2f46['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x121171=[];for(let _0x6d558f=0x0;_0x6d558f<this['_diffItems']['length'];_0x6d558f++){const {change:_0x31fe07,token:_0x4412ce}=this['_diffItems'][_0x6d558f];if('added'==_0x31fe07&&'element'==_0x4412ce['type']&&'container'==_0x4412ce['category']){if(_0x4412ce['isStart'])_0x121171['push'](this['_path']['slice']());else{if(!_0x4412ce['isStart']){const _0x55643d=_0x121171['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x55643d,'end':this['_path']['slice']()},'token':_0x4412ce}),this['_path'][this['_path']['length']-0x1]=_0x55643d[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x31fe07||this['_markDeletions'])&&this['_traverseOverItem'](_0x4412ce);}}['_handleUnchanged'](_0x58ad49,_0x4177ab){for(let _0x12f90a=0x0;_0x12f90a<_0x58ad49['length'];_0x12f90a++){const _0xfd8c67=_0x58ad49[_0x12f90a];if('element'==_0xfd8c67['type']&&_0xfd8c67['isStart']){const _0x23a443=_0x4177ab[_0x12f90a];'block'==_0xfd8c67['category']&&this['_handleElementRename'](_0xfd8c67['element'],_0x23a443['element'],this['_path']),this['_handleElementAttributeChanges'](_0xfd8c67['element'],_0x23a443['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x23a443);}else{if('element'!=_0xfd8c67['type']||_0xfd8c67['isStart']){if('text'==_0xfd8c67['type']){const _0xb0800f=this['_path']['slice'](),_0x546941=[],_0x224da2=[];for(;_0x58ad49[_0x12f90a]&&'text'==_0x58ad49[_0x12f90a]['type'];)_0x546941['push'](_0x58ad49[_0x12f90a]),_0x224da2['push'](_0x4177ab[_0x12f90a]),this['_path'][this['_path']['length']-0x1]+=_0x58ad49[_0x12f90a]['data']['length'],_0x12f90a++;_0x12f90a--,this['_handleTextAttributeChanges'](_0x546941,_0x224da2,_0xb0800f);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x5b222a,_0x1e3201,_0x5207f2){const _0x2d73f4=[],_0x2a9117=[],_0x2cd077=_0x5207f2['slice']();for(let _0x53b972=0x0;_0x53b972<_0x5b222a['length'];_0x53b972++){const _0x2101e4=_0x5b222a[_0x53b972],_0x3d96cc=_0x5207f2['slice']();if('element'!=_0x2101e4['type']||_0x2101e4['isStart'])'element'==_0x2101e4['type']&&_0x2101e4['isStart']?(_0x5207f2['push'](0x0),_0x1e3201||this['_parents']['push'](_0x2101e4),_0x2a9117['push']({'before':_0x3d96cc,'after':_0x5207f2['slice'](),'index':_0x53b972})):_0x5207f2[_0x5207f2['length']-0x1]+=_0x2101e4['data']['length'];else{let _0x286e8d;_0x5207f2['pop'](),_0x5207f2[_0x5207f2['length']-0x1]++,_0x286e8d=_0x1e3201?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x2a9117['length']?_0x2a9117['pop']():_0x2d73f4['push']({'before':_0x3d96cc,'after':_0x5207f2['slice'](),'index':_0x53b972,'related':_0x286e8d});}}if(_0x2a9117['length']!==_0x2d73f4['length'])throw new _0x4fd52c('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x5b222a,'isRemove':_0x1e3201});const _0x42cb3c=[{'after':_0x2cd077['slice'](),'index':-0x1},..._0x2d73f4,..._0x2a9117,{'before':_0x5207f2['slice'](),'index':_0x5b222a['length']}];if(_0x1e3201){for(let _0x1d8039=_0x42cb3c['length']-0x1;_0x1d8039>=0x1;_0x1d8039--){const _0x1cffa7=_0x42cb3c[_0x1d8039-0x1]['after'],_0x1759c8=_0x42cb3c[_0x1d8039]['before'],_0x3ab830=_0x1759c8[_0x1759c8['length']-0x1]-_0x1cffa7[_0x1cffa7['length']-0x1];_0x3ab830&&(this['_operationsData']['push']({'type':'remove','path':_0x1cffa7,'howMany':_0x3ab830}),_0x1759c8[_0x1759c8['length']-0x1]-=_0x3ab830);}for(const {before:_0x34b039}of _0x2d73f4)this['_operationsData']['push']({'type':'merge','path':_0x34b039});}else for(let _0x5b5eb3=0x0;_0x5b5eb3<_0x42cb3c['length']-0x1;_0x5b5eb3++){const _0x553074=_0x42cb3c[_0x5b5eb3]['after'],_0x17a0e3=_0x42cb3c[_0x5b5eb3+0x1]['before'],_0x150485=_0x42cb3c[_0x5b5eb3]['index']+0x1,_0x1282a4=_0x42cb3c[_0x5b5eb3+0x1]['index'];if(_0x150485!==_0x1282a4&&this['_operationsData']['push']({'type':'insert','path':_0x553074,'tokens':_0x5b222a['slice'](_0x150485,_0x1282a4)}),_0x5b5eb3<_0x2d73f4['length']){this['_operationsData']['push']({'type':'split','path':_0x17a0e3});const _0x520891=_0x5b222a[_0x2a9117[_0x2a9117['length']-0x1-_0x5b5eb3]['index']],_0x5bbe5f=_0x2d73f4[_0x5b5eb3]['after'],_0xf6bac5=_0x2d73f4[_0x5b5eb3]['related']['element'];this['_handleElementRename'](_0xf6bac5,_0x520891['element'],_0x5bbe5f),this['_handleElementAttributeChanges'](_0xf6bac5,_0x520891['element'],_0x5bbe5f);}}}['_traverseOverItem'](_0x2250a2){'element'==_0x2250a2['type']&&_0x2250a2['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x2250a2)):'element'!=_0x2250a2['type']||_0x2250a2['isStart']?'text'==_0x2250a2['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x2250a2['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x5e343a,_0x53974d,_0x43e0e1){_0x5e343a['name']!=_0x53974d['name']&&this['_operationsData']['push']({'type':'rename','path':_0x43e0e1['slice'](),'oldName':_0x5e343a['name'],'newName':_0x53974d['name']});}['_handleElementAttributeChanges'](_0x1e0e5a,_0x2a33df,_0x44f133){const _0x47546c=this['_getAttributeChanges'](_0x1e0e5a['getAttributes'](),_0x2a33df['getAttributes']());for(const _0xf4c38c in _0x47546c){const {oldValue:_0x258a72,newValue:_0x1f5679}=_0x47546c[_0xf4c38c];this['_operationsData']['push']({'type':'attribute','path':_0x44f133['slice'](),'howMany':0x1,'key':_0xf4c38c,'oldValue':_0x258a72,'newValue':_0x1f5679});}}['_handleTextAttributeChanges'](_0xda4b25,_0x4949fc,_0x49f1fc){const _0x25475f=this['_operationsData'],_0x295804=_0xda4b25[0x0]['parent'],_0x49dc6e=_0xda4b25[0x0]['offset'],_0x492398=_0x4949fc[0x0]['parent'],_0x20ad17=_0x4949fc[0x0]['offset'],_0x2323cb=_0xda4b25['reduce']((_0x1128f6,_0x429ae6)=>_0x1128f6+_0x429ae6['data']['length'],0x0),_0x134756=this['_getAttrsForOffsets'](_0x295804,_0x49dc6e,_0x2323cb),_0x556c83=this['_getAttrsForOffsets'](_0x492398,_0x20ad17,_0x2323cb),_0x80d20d={};for(let _0x2a3d27=0x0;_0x2a3d27<_0x2323cb;_0x2a3d27++){const _0x16824a=_0x134756[_0x49dc6e+_0x2a3d27],_0x428f57=_0x556c83[_0x20ad17+_0x2a3d27],_0x1cfedb=this['_getAttributeChanges'](_0x16824a,_0x428f57);for(const _0x27b6c8 in _0x80d20d)_0x1cfedb[_0x27b6c8]||_0x4a4c62(_0x27b6c8);for(const _0x497598 in _0x1cfedb){const {oldValue:_0x4743d1,newValue:_0x130740}=_0x1cfedb[_0x497598],_0x2b69db=_0x80d20d[_0x497598];_0x2b69db?_0x2b69db['oldValue']==_0x4743d1&&_0x2b69db['newValue']==_0x130740?_0x2b69db['length']++:(_0x4a4c62(_0x497598),_0x80d20d[_0x497598]={'oldValue':_0x4743d1,'newValue':_0x130740,'start':_0x2a3d27,'length':0x1}):_0x80d20d[_0x497598]={'oldValue':_0x4743d1,'newValue':_0x130740,'start':_0x2a3d27,'length':0x1};}}for(const _0xbbb043 in _0x80d20d)_0x4a4c62(_0xbbb043);function _0x4a4c62(_0x3de735){const _0x198f4d=_0x80d20d[_0x3de735],_0x4457f4=_0x49f1fc['slice']();_0x4457f4[_0x4457f4['length']-0x1]+=_0x198f4d['start'],_0x25475f['push']({'type':'attribute','path':_0x4457f4,'howMany':_0x198f4d['length'],'key':_0x3de735,'oldValue':_0x198f4d['oldValue'],'newValue':_0x198f4d['newValue']}),delete _0x80d20d[_0x3de735];}}['_getAttributeChanges'](_0xd37f51,_0x84e2d5){const _0x4d2c4={};for(const [_0x1d96db,_0x1b59c1]of _0xd37f51)_0x4d2c4[_0x1d96db]={'oldValue':JSON['stringify'](_0x1b59c1),'newValue':'null'};for(const [_0x874627,_0x3ec980]of _0x84e2d5){const _0x1ec433=JSON['stringify'](_0x3ec980);_0x4d2c4[_0x874627]?_0x4d2c4[_0x874627]['oldValue']==_0x1ec433?delete _0x4d2c4[_0x874627]:_0x4d2c4[_0x874627]['newValue']=_0x1ec433:_0x4d2c4[_0x874627]={'oldValue':'null','newValue':_0x1ec433};}return delete _0x4d2c4[ut],_0x4d2c4;}['_getAttrsForOffsets'](_0x14e08a,_0x30cc49,_0x26958f){const _0x25862d=new Array(_0x30cc49+_0x26958f);let _0x33466a=_0x14e08a['getChildAtOffset'](_0x30cc49),_0x1dfde1=_0x33466a['startOffset'];for(;_0x33466a&&_0x1dfde1<_0x30cc49+_0x26958f;){const _0x554276=Array['from'](_0x33466a['getAttributes']());_0x25862d['fill'](_0x554276,_0x1dfde1,_0x1dfde1+_0x33466a['offsetSize']),_0x1dfde1+=_0x33466a['offsetSize'],_0x33466a=_0x33466a['nextSibling'];}return _0x25862d;}['_getPositionFromAnchorAndPath'](_0xd460f9,_0x13dd40){const _0x16c824=[..._0xd460f9['path']['slice'](0x0,-0x1),_0xd460f9['offset']+_0x13dd40[0x0],..._0x13dd40['slice'](0x1)];return new _0x2badb3(_0xd460f9['root'],_0x16c824);}['_makeModelFromTokens'](_0x517ca0){const _0x1a66ca=[];let _0x2dbf2f=null;for(const _0x5b29f2 of _0x517ca0)if('element'!=_0x5b29f2['type']||_0x5b29f2['isStart']||_0x2dbf2f!=_0x5b29f2['element']){if(!_0x2dbf2f){if('text'==_0x5b29f2['type']){const _0x564900=_0x2badb3['_createAt'](_0x5b29f2['parent'],_0x5b29f2['offset']),_0x4d337c=_0x1faba7['_createFromPositionAndShift'](_0x564900,_0x5b29f2['data']['length']),_0x8c39b=Array['from'](_0x4d337c['getItems']())['map'](_0x444688=>new _0x28c70c(_0x444688['data'],_0x444688['getAttributes']()));_0x1a66ca['push'](..._0x8c39b);}else{_0x2dbf2f=_0x5b29f2['element'];const _0x1cb235=_0x5b29f2['element']['_clone'](!0x0);_0x1cb235['_removeAttribute'](ut);for(const _0x3a280e of this['_editor']['model']['createRangeIn'](_0x1cb235)['getItems']())_0x3a280e['is']('element')&&_0x3a280e['_removeAttribute'](ut);_0x1a66ca['push'](_0x1cb235);}}}else _0x2dbf2f=null;return _0x1a66ca;}}function k(_0x5f0fcf,_0x53bd7f){return _0x5f0fcf['type']===_0x53bd7f['type']&&(_0x5f0fcf['limitId']===_0x53bd7f['limitId']&&('text'==_0x5f0fcf['type']?_0x5f0fcf['data']==_0x53bd7f['data']:function(_0x3a306a,_0x2cd1bf){if(_0x3a306a['isStart']!=_0x2cd1bf['isStart'])return!0x1;if(_0x3a306a['isStart']&&_0x3a306a['elementId']!=_0x2cd1bf['elementId'])return!0x1;if(_0x3a306a['category']!=_0x2cd1bf['category'])return!0x1;if('block'==_0x3a306a['category'])return!0x0;if('container'==_0x3a306a['category']&&_0x3a306a['elementId']!=_0x2cd1bf['elementId'])return!0x1;return _0x3a306a['element']['name']==_0x2cd1bf['element']['name'];}(_0x5f0fcf,_0x53bd7f)));}export{Q as AriaDescriptionView,ot as ConfirmMixin,ut as DATA_ID_MODEL_ATTRIBUTE,dt as DATA_ID_VIEW_ATTRIBUTE,ft as DocumentCompare,ht as FOCUS_ANNOTATION_KEYSTROKE,X as LateFocusButtonView,tt as LateFocusDropdownButtonView,_ as Permissions,Z as UserView,P as Users,nt as getAllMarkersDomElementsSorted,et as getDateTimeFormatter,st as getMarkerDomElement,rt as hashObject,ct as sanitizeEditorConfig,lt as setupThreadKeyboardNavigation,at as surroundingMarkersDetector,it 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':_0x2210ef=>0x1!=_0x2210ef}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb47c34=>{const {af:{dictionary:_0xc68321,getPluralForm:_0x17779c}}={'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':_0x13797a=>0x1!=_0x13797a}};_0xb47c34['af']||={'dictionary':{},'getPluralForm':null},_0xb47c34['af']['dictionary']=Object['assign'](_0xb47c34['af']['dictionary'],_0xc68321),_0xb47c34['af']['getPluralForm']=_0x17779c;})(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':_0x49fddc=>0x0==_0x49fddc?0x0:0x1==_0x49fddc?0x1:0x2==_0x49fddc?0x2:_0x49fddc%0x64>=0x3&&_0x49fddc%0x64<=0xa?0x3:_0x49fddc%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe4573c=>{const {ar:{dictionary:_0x31ad28,getPluralForm:_0x149fa5}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x5053ad=>0x0==_0x5053ad?0x0:0x1==_0x5053ad?0x1:0x2==_0x5053ad?0x2:_0x5053ad%0x64>=0x3&&_0x5053ad%0x64<=0xa?0x3:_0x5053ad%0x64>=0xb?0x4:0x5}};_0xe4573c['ar']||={'dictionary':{},'getPluralForm':null},_0xe4573c['ar']['dictionary']=Object['assign'](_0xe4573c['ar']['dictionary'],_0x31ad28),_0xe4573c['ar']['getPluralForm']=_0x149fa5;})(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':_0x35498e=>0x1!=_0x35498e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57e1e6=>{const {ast:{dictionary:_0x4f5c37,getPluralForm:_0x5d5220}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x229812=>0x1!=_0x229812}};_0x57e1e6['ast']||={'dictionary':{},'getPluralForm':null},_0x57e1e6['ast']['dictionary']=Object['assign'](_0x57e1e6['ast']['dictionary'],_0x4f5c37),_0x57e1e6['ast']['getPluralForm']=_0x5d5220;})(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':_0x524ad3=>0x1!=_0x524ad3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2aa0c9=>{const {az:{dictionary:_0x4f05b0,getPluralForm:_0x270fff}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x206cdc=>0x1!=_0x206cdc}};_0x2aa0c9['az']||={'dictionary':{},'getPluralForm':null},_0x2aa0c9['az']['dictionary']=Object['assign'](_0x2aa0c9['az']['dictionary'],_0x4f05b0),_0x2aa0c9['az']['getPluralForm']=_0x270fff;})(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':_0x3d1892=>_0x3d1892%0xa==0x1&&_0x3d1892%0x64!=0xb?0x0:_0x3d1892%0xa>=0x2&&_0x3d1892%0xa<=0x4&&(_0x3d1892%0x64<0xa||_0x3d1892%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x322eb8=>{const {be:{dictionary:_0x37448d,getPluralForm:_0x1c4d4e}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0xb533af=>_0xb533af%0xa==0x1&&_0xb533af%0x64!=0xb?0x0:_0xb533af%0xa>=0x2&&_0xb533af%0xa<=0x4&&(_0xb533af%0x64<0xa||_0xb533af%0x64>=0x14)?0x1:0x2}};_0x322eb8['be']||={'dictionary':{},'getPluralForm':null},_0x322eb8['be']['dictionary']=Object['assign'](_0x322eb8['be']['dictionary'],_0x37448d),_0x322eb8['be']['getPluralForm']=_0x1c4d4e;})(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':_0x18ae8e=>0x1!=_0x18ae8e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10badf=>{const {bg:{dictionary:_0xc7e56b,getPluralForm:_0x571eaa}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x7325fc=>0x1!=_0x7325fc}};_0x10badf['bg']||={'dictionary':{},'getPluralForm':null},_0x10badf['bg']['dictionary']=Object['assign'](_0x10badf['bg']['dictionary'],_0xc7e56b),_0x10badf['bg']['getPluralForm']=_0x571eaa;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':_0xe76899=>0x1!=_0xe76899}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x33af8b=>{const {bn:{dictionary:_0x359442,getPluralForm:_0xa8eda}}={'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':_0x4b5232=>0x1!=_0x4b5232}};_0x33af8b['bn']||={'dictionary':{},'getPluralForm':null},_0x33af8b['bn']['dictionary']=Object['assign'](_0x33af8b['bn']['dictionary'],_0x359442),_0x33af8b['bn']['getPluralForm']=_0xa8eda;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x492abf=>_0x492abf%0xa==0x1&&_0x492abf%0x64!=0xb?0x0:_0x492abf%0xa>=0x2&&_0x492abf%0xa<=0x4&&(_0x492abf%0x64<0xa||_0x492abf%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x586aee=>{const {bs:{dictionary:_0x5b8b0f,getPluralForm:_0x55cc46}}={'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x2a556f=>_0x2a556f%0xa==0x1&&_0x2a556f%0x64!=0xb?0x0:_0x2a556f%0xa>=0x2&&_0x2a556f%0xa<=0x4&&(_0x2a556f%0x64<0xa||_0x2a556f%0x64>=0x14)?0x1:0x2}};_0x586aee['bs']||={'dictionary':{},'getPluralForm':null},_0x586aee['bs']['dictionary']=Object['assign'](_0x586aee['bs']['dictionary'],_0x5b8b0f),_0x586aee['bs']['getPluralForm']=_0x55cc46;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ca.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?','Today':'Avui','Yesterday':'Ahir','Last':'L\x27últim','Monday':'dilluns','Tuesday':'dimarts','Wednesday':'dimecres','Thursday':'dijous','Friday':'divendres','Saturday':'dissabte','Sunday':'diumenge'},'getPluralForm':
|
|
23
|
+
export default{'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?','Today':'Avui','Yesterday':'Ahir','Last':'L\x27últim','Monday':'dilluns','Tuesday':'dimarts','Wednesday':'dimecres','Thursday':'dijous','Friday':'divendres','Saturday':'dissabte','Sunday':'diumenge'},'getPluralForm':_0x300424=>0x1!=_0x300424}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x599a6f=>{const {ca:{dictionary:_0x38841a,getPluralForm:_0x443f64}}={'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?','Today':'Avui','Yesterday':'Ahir','Last':'L\x27últim','Monday':'dilluns','Tuesday':'dimarts','Wednesday':'dimecres','Thursday':'dijous','Friday':'divendres','Saturday':'dissabte','Sunday':'diumenge'},'getPluralForm':_0x201bec=>0x1!=_0x201bec}};_0x599a6f['ca']||={'dictionary':{},'getPluralForm':null},_0x599a6f['ca']['dictionary']=Object['assign'](_0x599a6f['ca']['dictionary'],_0x38841a),_0x599a6f['ca']['getPluralForm']=_0x443f64;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/cs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?','Today':'Dnes','Yesterday':'Včera','Last':'Poslední','Monday':'Pondělí','Tuesday':'Úterý','Wednesday':'Středa','Thursday':'Čtvrtek','Friday':'Pátek','Saturday':'Sobota','Sunday':'Neděle'},'getPluralForm':
|
|
23
|
+
export default{'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?','Today':'Dnes','Yesterday':'Včera','Last':'Poslední','Monday':'Pondělí','Tuesday':'Úterý','Wednesday':'Středa','Thursday':'Čtvrtek','Friday':'Pátek','Saturday':'Sobota','Sunday':'Neděle'},'getPluralForm':_0x119902=>0x1==_0x119902?0x0:_0x119902>=0x2&&_0x119902<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5f5316=>{const {cs:{dictionary:_0x56db9a,getPluralForm:_0x2523aa}}={'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?','Today':'Dnes','Yesterday':'Včera','Last':'Poslední','Monday':'Pondělí','Tuesday':'Úterý','Wednesday':'Středa','Thursday':'Čtvrtek','Friday':'Pátek','Saturday':'Sobota','Sunday':'Neděle'},'getPluralForm':_0xc0d785=>0x1==_0xc0d785?0x0:_0xc0d785>=0x2&&_0xc0d785<=0x4?0x1:0x2}};_0x5f5316['cs']||={'dictionary':{},'getPluralForm':null},_0x5f5316['cs']['dictionary']=Object['assign'](_0x5f5316['cs']['dictionary'],_0x56db9a),_0x5f5316['cs']['getPluralForm']=_0x2523aa;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/da.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?','Today':'I\x20dag','Yesterday':'I\x20går','Last':'Seneste','Monday':'Mandag','Tuesday':'Tirsdag','Wednesday':'Onsdag','Thursday':'Torsdag','Friday':'Fredag','Saturday':'Lørdag','Sunday':'Søndag'},'getPluralForm':
|
|
23
|
+
export default{'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?','Today':'I\x20dag','Yesterday':'I\x20går','Last':'Seneste','Monday':'Mandag','Tuesday':'Tirsdag','Wednesday':'Onsdag','Thursday':'Torsdag','Friday':'Fredag','Saturday':'Lørdag','Sunday':'Søndag'},'getPluralForm':_0x134061=>0x1!=_0x134061}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5aae50=>{const {da:{dictionary:_0x5cf9ed,getPluralForm:_0x1bd374}}={'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?','Today':'I\x20dag','Yesterday':'I\x20går','Last':'Seneste','Monday':'Mandag','Tuesday':'Tirsdag','Wednesday':'Onsdag','Thursday':'Torsdag','Friday':'Fredag','Saturday':'Lørdag','Sunday':'Søndag'},'getPluralForm':_0x2f46d6=>0x1!=_0x2f46d6}};_0x5aae50['da']||={'dictionary':{},'getPluralForm':null},_0x5aae50['da']['dictionary']=Object['assign'](_0x5aae50['da']['dictionary'],_0x5cf9ed),_0x5aae50['da']['getPluralForm']=_0x1bd374;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x32fa82=>0x1!=_0x32fa82}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1a61b9=>{const {'de-ch':{dictionary:_0x3d71d0,getPluralForm:_0x249cf}}={'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x2f53c6=>0x1!=_0x2f53c6}};_0x1a61b9['de-ch']||={'dictionary':{},'getPluralForm':null},_0x1a61b9['de-ch']['dictionary']=Object['assign'](_0x1a61b9['de-ch']['dictionary'],_0x3d71d0),_0x1a61b9['de-ch']['getPluralForm']=_0x249cf;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/de.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?','Today':'Heute','Yesterday':'Gestern','Last':'Letzten','Monday':'Montag','Tuesday':'Dienstag','Wednesday':'Mittwoch','Thursday':'Donnerstag','Friday':'Freitag','Saturday':'Samstag','Sunday':'Sonntag'},'getPluralForm':
|
|
23
|
+
export default{'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?','Today':'Heute','Yesterday':'Gestern','Last':'Letzten','Monday':'Montag','Tuesday':'Dienstag','Wednesday':'Mittwoch','Thursday':'Donnerstag','Friday':'Freitag','Saturday':'Samstag','Sunday':'Sonntag'},'getPluralForm':_0x41b8c9=>0x1!=_0x41b8c9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2aaa8b=>{const {de:{dictionary:_0x2397ec,getPluralForm:_0x38dce6}}={'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?','Today':'Heute','Yesterday':'Gestern','Last':'Letzten','Monday':'Montag','Tuesday':'Dienstag','Wednesday':'Mittwoch','Thursday':'Donnerstag','Friday':'Freitag','Saturday':'Samstag','Sunday':'Sonntag'},'getPluralForm':_0x583afd=>0x1!=_0x583afd}};_0x2aaa8b['de']||={'dictionary':{},'getPluralForm':null},_0x2aaa8b['de']['dictionary']=Object['assign'](_0x2aaa8b['de']['dictionary'],_0x2397ec),_0x2aaa8b['de']['getPluralForm']=_0x38dce6;})(window['CKEDITOR_TRANSLATIONS']||={});
|