@ckeditor/ckeditor5-collaboration-core 41.4.1 → 42.0.0-alpha.0
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/README.md +6 -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/az.js +1 -1
- package/dist/translations/az.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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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/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 +2 -2
- package/src/index.js +1 -1
- package/src/permissions.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/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/README.md
CHANGED
@@ -10,6 +10,12 @@ For more information about collaboration features visit [CKEditor 5 collabo
|
|
10
10
|
|
11
11
|
Also, make sure you visit the [CKEditor 5 changelog](https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md) whenever a new version of the package is released.
|
12
12
|
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
```bash
|
16
|
+
npm install ckeditor5-premium-features
|
17
|
+
```
|
18
|
+
|
13
19
|
## Getting support
|
14
20
|
|
15
21
|
CKEditor 5 collaboration core comes with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor 5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor 5 collaboration features with your application.
|
package/dist/index.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
import{ContextPlugin as _0x4b7e1d,Editor as _0x1b7795,icons as _0x36d88c}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0xa1e179,Collection as _0x1274d1,first as _0x2ad83a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x2c04e5,IconView as _0x27f03e,ButtonView as _0x454b22}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x170062 from'date-fns/format/index.js';import _0x237cda from'date-fns/parseISO/index.js';import _0x129ab4 from'date-fns/differenceInCalendarDays/index.js';class n extends _0x4b7e1d{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x3cda55,_0xd82d2a){let _0x578c1d;if(_0xd82d2a||(_0xd82d2a=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0xd82d2a?_0x578c1d=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x578c1d=this['context']['editors']['find'](_0x5995ae=>_0x5995ae['config']['get']('collaboration.channelId')==_0xd82d2a)),!_0x578c1d)throw new _0xa1e179('permissions-set-permissions-invalid-channel-id',null);const _0x110a17=_0x578c1d['plugins'],_0xa7e5ba=_0x110a17['has']('CommentsRepository')?_0x110a17['get']('CommentsRepository'):void 0x0,_0x3b89bf=_0x110a17['has']('CommentsOnly')&&_0x110a17['get']('CommentsOnly'),_0x168bed=_0x3cda55['includes']('document:write'),_0x120993=_0x3cda55['includes']('comment:modify_all'),_0x1c1220=_0x3cda55['includes']('comment:admin'),_0x53eb72=_0x3cda55['includes']('comment:write'),_0x10dd24=_0x53eb72||_0x1c1220,_0x531de2=_0x10dd24||_0x120993,_0x43a7d0=_0x168bed||_0x10dd24;(_0x3b89bf&&(_0x3b89bf['isEnabled']=!_0x168bed&&_0x531de2),_0x578c1d instanceof _0x1b7795)&&(!(_0x168bed||_0x531de2&&_0xa7e5ba)?_0x578c1d['enableReadOnlyMode']('no-permissions'):_0x578c1d['disableReadOnlyMode']('no-permissions'));if(_0xa7e5ba){_0xa7e5ba['setPermissions']({'admin':_0x1c1220,'modifyAll':_0x120993,'write':_0x53eb72,'resolve':_0x43a7d0},_0xd82d2a);const _0x25107e=_0x578c1d instanceof _0x1b7795&&_0x578c1d['commands']['get']('addCommentThread');_0x25107e&&(_0x10dd24?_0x25107e['clearForceDisabled']('noPermissions'):_0x25107e['forceDisabled']('noPermissions'));}}}function r(_0x5dbbb3,_0x37cb33){const t=_0x5dbbb3['t'];switch(_0x37cb33){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}class l extends _0x4b7e1d{static get['pluginName'](){return'Users';}static get['requires'](){return[n];}['init'](){const _0x362670=this['context'];this['licenseKey']=_0x362670['config']['get']('licenseKey');const _0x3366fb=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x596359;for(const _0x3b5c25 in _0x362670){const _0x17fa37=_0x362670[_0x3b5c25];if(_0x3366fb['includes'](_0x17fa37)){delete _0x362670[_0x3b5c25],_0x596359=_0x17fa37;break;}}if('licenseKeyInvalid'===_0x596359)throw clearInterval(this['_licenseKeyCheckInterval']),new _0xa1e179('invalid-license-key',null);if('licenseKeyTrial'===_0x596359&&console['info']('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'licenseKeyTrialLimit:operations'===_0x596359)throw clearInterval(this['_licenseKeyCheckInterval']),new _0xa1e179('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x596359)throw clearInterval(this['_licenseKeyCheckInterval']),new _0xa1e179('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x596359)throw clearInterval(this['_licenseKeyCheckInterval']),new _0xa1e179('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x596359&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x5de3cc,name:_0x53afae,..._0x25523e}){if(!_0x5de3cc||'string'!=typeof _0x5de3cc)throw new _0xa1e179('users-add-invalid-id');if(this['users']['has'](_0x5de3cc))throw new _0xa1e179('users-add-duplicated-id',null,{'id':_0x5de3cc});const _0x26c3eb={..._0x25523e,'id':_0x5de3cc,'name':a(this['_locale'],_0x53afae),'color':this['_getNextColor']()};_0x26c3eb['name']=a(this['_locale'],_0x26c3eb['name']);const _0x129804=new K(_0x26c3eb);return this['users']['add'](_0x129804),_0x129804;}['getUser'](_0x52f3b6){return this['users']['get'](_0x52f3b6);}['useAnonymousUser'](){const _0x509f6e=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x509f6e);}['defineMe'](_0x2b243e){if(this['_myId'])throw new _0xa1e179('users-me-already-defined',null);const _0x2e80e7=this['getUser'](_0x2b243e);if(!_0x2e80e7)throw new _0xa1e179('users-me-missing-user',null);this['_myId']=_0x2b243e,_0x2e80e7['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x77798d=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x77798d&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x3e8cd9=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x3e8cd9,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}constructor(_0x63c730){super(_0x63c730),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x1274d1(),this['_locale']=_0x63c730['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}}class K{get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x398e27=this['name']['split']('\x20');return 0x1===_0x398e27['length']?this['_getInitial'](_0x398e27[0x0]):this['_getInitial'](_0x398e27[0x0])+this['_getInitial'](_0x398e27[_0x398e27['length']-0x1]);}['_getInitial'](_0x2e14b7){return _0x2e14b7['charAt'](0x0)['toUpperCase']();}constructor(_0x5103b8){this['id']=_0x5103b8['id'],this['color']=_0x5103b8['color'],this['name']=_0x5103b8['name'],this['avatar']=_0x5103b8['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}}function a(_0x3d9fe2,_0x3614ab=''){return''==(_0x3614ab=_0x3614ab['trim']())?r(_0x3d9fe2,'Anonymous'):_0x3614ab;}class u{['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}constructor(_0x419ae0){this['_id']=_0x419ae0;}}class E extends _0x2c04e5{constructor(_0x362d80,_0x123142,_0x4a1b66){super(_0x362d80),this['name']=_0x123142['name'],this['notificationView']=null;const _0x9abd38=['ck','ck-user'],_0x2b0053=['ck','ck-user__img'];if(_0x123142['isAnonymous']&&_0x2b0053['push']('ck-user__anonymous'),!_0x123142['isAnonymous']&&_0x123142['isMe']&&_0x9abd38['push']('ck-user_me'),_0x123142['avatar']&&_0x2b0053['push']('ck-user__avatar'),_0x4a1b66){const _0x52d470=new _0x27f03e();_0x52d470['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x52d470['content']='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10\x200C4.48\x200\x200\x204.48\x200\x2010s4.48\x2010\x2010\x2010\x2010-4.48\x2010-10S15.52\x200\x2010\x200zm1\x2015H9v-2h2v2zm0-4H9V5h2v6z\x22/></svg>\x0a',this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4a1b66},'children':[_0x52d470]};}const _0x21a9f0=[{'tag':'div','attributes':{'class':_0x2b0053,'style':{'background-image':_0x123142['avatar']?'url(\x27'+_0x123142['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x123142['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x123142['initials']}]}];this['notificationView']&&_0x21a9f0['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x9abd38,'data-user-id':_0x123142['id']},'children':_0x21a9f0});}}function j(_0xc03dee={}){if(void 0x0!==_0xc03dee['dateTimeFormat']&&'function'!=typeof _0xc03dee['dateTimeFormat'])throw new _0xa1e179('invalid-date-time-format');return _0x132908=>{const _0x2bf7d7='string'==typeof _0x132908?_0x237cda(_0x132908):_0x132908,_0x1c4072=new Date(),_0x185a02=_0x129ab4(_0x1c4072,_0x2bf7d7);return _0xc03dee['dateTimeFormat']?_0xc03dee['dateTimeFormat'](_0x2bf7d7):_0x170062(_0x2bf7d7,0x0===_0x185a02?'\x27Today\x27\x20hh:mma':0x1===_0x185a02?'\x27Yesterday\x27\x20hh:mma':_0x185a02<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x45459e,_0x94516b){const _0x37b565=_0x45459e['mapper']['markerNameToElements'](_0x94516b['name']);if(!_0x37b565)return null;const _0x7bc03f=_0x2ad83a(_0x37b565['values']());return _0x45459e['view']['domConverter']['mapViewToDom'](_0x7bc03f)||null;}function I(_0xfd8f58,_0x1e91a1){if(0x0===_0x1e91a1['length'])return null;const _0x4e468c=[],_0x2db4f9=_0xfd8f58['view']['domConverter'];for(const _0x29d47d of _0x1e91a1){const _0x1979e8=_0xfd8f58['mapper']['markerNameToElements'](_0x29d47d['name']);if(!_0x1979e8)continue;const _0x3b0ddc=Array['from'](_0x1979e8)['map'](_0x85a8ff=>_0x2db4f9['mapViewToDom'](_0x85a8ff))['filter'](_0x9a9943=>!!_0x9a9943);_0x4e468c['push'](..._0x3b0ddc);}if(0x0===_0x4e468c['length'])return null;const _0xce1e17=[];for(const _0x3841d6 of _0x4e468c){const _0x4b5819=_0x3841d6['getClientRects']()['item'](0x0);_0x4b5819&&_0xce1e17['push']({'x':_0x4b5819['x'],'y':_0x4b5819['y'],'domElement':_0x3841d6});}return 0x0===_0xce1e17['length']?null:(_0xce1e17['sort']((_0x493a99,_0x1b80d4)=>_0x493a99['y']-_0x1b80d4['y']||_0x493a99['x']-_0x1b80d4['x']),_0xce1e17['map'](_0x171bd6=>_0x171bd6['domElement']));}function Z(_0x1918fd,{limit:_0x419a96,suffix:_0x2087c4='...'}){const _0x3a5043=[];let _0x178a51=0x0;const _0x4e7421=_0x1918fd['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x3fa5f6=0x0;_0x3fa5f6<_0x4e7421['length'];_0x3fa5f6++){let _0x22c21e=_0x4e7421[_0x3fa5f6];const _0x3f63a0=$(_0x22c21e);if(_0x22c21e['startsWith']('<')){if(_0x178a51>=_0x419a96){const _0x1c71c7=_0x22c21e['match'](/[a-zA-Z]+/);if(!_0x1c71c7){_0x4e7421[_0x3fa5f6]='';continue;}const _0xd082fa=_0x1c71c7[0x0];_0x22c21e['startsWith']('</')?(_0x3a5043['length']&&(_0x22c21e=''),_0x3a5043['pop']()):(_0x3a5043['push'](_0xd082fa),_0x22c21e='');}}else{if(_0x178a51>=_0x419a96)_0x22c21e='';else{if(_0x178a51+_0x3f63a0['length']>=_0x419a96){let _0x391863=_0x419a96-_0x178a51;if('\x20'===_0x3f63a0[_0x391863-0x1])_0x391863--;else{const _0x1a05ce=_0x3f63a0['slice'](_0x391863)['indexOf']('\x20');-0x1!==_0x1a05ce?_0x391863+=_0x1a05ce:_0x391863=_0x22c21e['length'];}_0x22c21e=_0x3f63a0['slice'](0x0,_0x391863)['join']('')+_0x2087c4,_0x178a51=_0x419a96;}else _0x178a51+=_0x3f63a0['length'];}}_0x4e7421[_0x3fa5f6]=_0x22c21e;}return _0x4e7421['join']('\x0a')['replace'](/\n/g,'');}function $(_0x36a289){const _0x1bdf31=[];for(let _0x10e66e=0x0;_0x10e66e<_0x36a289['length'];_0x10e66e++){const _0x48b3e3=_0x36a289['substring'](_0x10e66e)['match'](/^&[a-z0-9#]+;/);if(_0x48b3e3){const _0x2f3bfd=_0x48b3e3[0x0];_0x1bdf31['push'](_0x2f3bfd),_0x10e66e+=_0x2f3bfd['length']-0x1;}else _0x1bdf31['push'](_0x36a289[_0x10e66e]);}return _0x1bdf31;}class h extends _0x2c04e5{['_createButtonView'](_0x3c5033,_0x49da62,_0x2cab6f,_0x157a11){const _0x5126a3=new _0x454b22(_0x3c5033);return _0x5126a3['label']=_0x49da62,_0x5126a3['icon']=_0x2cab6f,_0x5126a3['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x157a11}}),_0x5126a3['on']('execute',()=>this['fire'](_0x157a11)),_0x5126a3;}constructor(_0xdcf02e){super(_0xdcf02e);const _0x114f46=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0xdcf02e,r(_0xdcf02e,'Yes'),_0x36d88c['check'],'submit'),this['cancelView']=this['_createButtonView'](_0xdcf02e,r(_0xdcf02e,'No'),_0x36d88c['cancel'],'cancel'),this['set']('message',r(_0xdcf02e,'Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x114f46['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}}function m(_0xc8960a){return class extends _0xc8960a{['showConfirm'](_0x705f2,_0x59fabb){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x705f2,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x59fabb['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x60726e=>this['confirmView']['on']('submit',_0x60726e));}['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['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function b(_0x294be6){let _0x32aca9=0x0,_0x1ca17c=0x0;for(const _0x5188f6 of A(_0x294be6))_0x32aca9=(_0x32aca9<<0x5)-_0x32aca9+_0x5188f6,_0x32aca9|=0x0,[_0x32aca9,_0x1ca17c]=[_0x1ca17c,_0x32aca9];return q(_0x32aca9)+q(_0x1ca17c);}function*g(_0x2447df){null==_0x2447df||null==_0x2447df?yield 0x12b9b0a1:0x0===_0x2447df||!0x1===_0x2447df?yield 0x0:0x1===_0x2447df||0x1==_0x2447df?yield 0x1:Array['isArray'](_0x2447df)?yield*function*(_0x5cc2b0){for(const _0xda70e of _0x5cc2b0)yield*g(_0xda70e);}(_0x2447df):'object'==typeof _0x2447df?yield*A(_0x2447df):'string'==typeof _0x2447df?yield*M(_0x2447df):'number'==typeof _0x2447df&&(yield _0x2447df);}function*A(_0x5a5acc){if(yield O('{'),_0x5a5acc){const _0x2fccca=Object['keys'](_0x5a5acc)['sort']();for(const _0x502341 of _0x2fccca){yield*M(_0x502341),yield O(':');const _0x5f42d4=_0x5a5acc[_0x502341];yield*g(_0x5f42d4);}}yield O('}');}function*M(_0x22881e){yield O('\x22');for(const _0x4a6afc of _0x22881e)yield O(_0x4a6afc);yield O('\x22');}function O(_0x381c1a){return _0x381c1a['charCodeAt'](0x0);}function q(_0x324062){return(_0x324062*=Math['sign'](_0x324062))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x309751,_0x3c914b,_0x25f9bc,_0x4fbfff=[]){const _0x79558c='string'==typeof _0x309751?_0x25f9bc['get'](_0x309751)['constructor']:_0x309751['prototype']['constructor'];if(_0x3c914b['has'](_0x79558c))return _0x3c914b['get'](_0x79558c);_0x3c914b['set'](_0x79558c,!0x0);const _0x40a4a6=[...W,..._0x4fbfff]['map'](_0x5b568b=>{if(_0x25f9bc['has'](_0x5b568b))return _0x25f9bc['get'](_0x5b568b)['constructor'];})['filter'](_0x3970da=>_0x3970da);if(_0x79558c&&_0x40a4a6['includes'](_0x79558c))return _0x3c914b['set'](_0x79558c,!0x1),!0x1;if(!_0x79558c['requires'])return _0x3c914b['set'](_0x79558c,!0x0),!0x0;const _0x4b10d8=_0x79558c['requires']['every'](_0x13fa85=>v(_0x13fa85,_0x3c914b,_0x25f9bc,_0x4fbfff));return _0x3c914b['set'](_0x79558c,_0x4b10d8),_0x4b10d8;}function D(_0x590cc3,_0xb36e8){const _0x295282={};for(const _0xa680bb of _0x590cc3['config']['names']())w['includes'](_0xa680bb)||(_0x295282[_0xa680bb]=_0x590cc3['config']['get'](_0xa680bb));const _0x20d4d9=_0x295282['plugins']||[],_0x1e8b6f=_0x590cc3['constructor']['builtinPlugins']||[],_0x31aff4=_0x20d4d9['length']?_0x20d4d9:_0x1e8b6f,_0x430319=_0x295282['extraPlugins']||[];delete _0x295282['extraPlugins'];const _0x1b54db=_0x295282['removePlugins']||[];delete _0x295282['removePlugins'];const _0x51b6c1=_0x590cc3['_context']['config']['get']('plugins')||[],_0x53317a=_0x31aff4['concat'](_0x430319)['concat'](_0x51b6c1)['map'](_0x3c2a5e=>'string'==typeof _0x3c2a5e?_0x1e8b6f['find'](_0xef750=>_0xef750['pluginName']==_0x3c2a5e):_0x3c2a5e)['filter'](_0xdfdcc4=>!_0x1b54db['includes'](_0xdfdcc4)&&!_0x1b54db['includes'](_0xdfdcc4['pluginName'])),_0x4748ea=Array['from'](new Set(_0x53317a)),_0x20907e=new Map();return _0x295282['plugins']=_0x4748ea['filter'](_0x4e732b=>v(_0x4e732b,_0x20907e,_0x590cc3['plugins'],_0xb36e8)),_0x295282;}function z(_0x1da904,_0x4a26d8){const _0x2f10f0=[];_0x1da904['document']['selection']['on']('change:range',()=>{const _0x5e481b=function(_0x5b9cab,_0x4ce3c){const _0x96f033=[];for(const _0x18683e of _0x5b9cab['markers']){const _0x54b203=_0x18683e['getRange']();(_0x54b203['containsPosition'](_0x4ce3c)||_0x54b203['start']['isEqual'](_0x4ce3c)||_0x54b203['end']['isEqual'](_0x4ce3c))&&_0x96f033['push'](_0x18683e);}return _0x96f033;}(_0x1da904,_0x1da904['document']['selection']['focus']),_0x1f3ada=[],_0x1d27ff=[],_0x31eb3a=[];for(const _0x3930e3 of _0x2f10f0)_0x5e481b['includes'](_0x3930e3)||_0x1f3ada['push'](_0x3930e3);for(const _0x57fcc5 of _0x5e481b)_0x2f10f0['includes'](_0x57fcc5)||_0x1d27ff['push'](_0x57fcc5),_0x31eb3a['push'](_0x57fcc5);(_0x1f3ada['length']||_0x1d27ff['length'])&&_0x4a26d8({'left':_0x1f3ada,'entered':_0x1d27ff}),_0x2f10f0['length']=0x0,_0x2f10f0['push'](..._0x31eb3a);});}export{m as ConfirmMixin,n as Permissions,E as UserView,l as Users,I as getAllMarkersDomElementsSorted,j as getDateTimeFormatter,k as getMarkerDomElement,b as hashObject,D as sanitizeEditorConfig,z as surroundingMarkersDetector,Z as trimHtml};
|
23
|
+
import{ContextPlugin as _0x28b9ff,Editor as _0x1f92b8,icons as _0x119609}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x486272,Collection as _0x1c0485,first as _0x1f19f1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x1e527c,IconView as _0x1874b7,ButtonView as _0x33d125}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x1e8be1 from'date-fns/format/index.js';import _0x2903c0 from'date-fns/parseISO/index.js';import _0x2c7ebd from'date-fns/differenceInCalendarDays/index.js';class n extends _0x28b9ff{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x3a5316,_0x37b3c1){let _0x23df74;if(_0x37b3c1||(_0x37b3c1=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x37b3c1?_0x23df74=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x23df74=this['context']['editors']['find'](_0x4c5924=>_0x4c5924['config']['get']('collaboration.channelId')==_0x37b3c1)),!_0x23df74)throw new _0x486272('permissions-set-permissions-invalid-channel-id',null);const _0x574a25=_0x23df74['plugins'],_0x4bc826=_0x574a25['has']('CommentsRepository')?_0x574a25['get']('CommentsRepository'):void 0x0,_0x543ef5=_0x574a25['has']('CommentsOnly')&&_0x574a25['get']('CommentsOnly'),_0x2b74c5=_0x3a5316['includes']('document:write'),_0x33117c=_0x3a5316['includes']('comment:modify_all'),_0x29b15f=_0x3a5316['includes']('comment:admin'),_0x9a013b=_0x3a5316['includes']('comment:write'),_0x57da52=_0x9a013b||_0x29b15f,_0xa87170=_0x57da52||_0x33117c,_0x2138ab=_0x2b74c5||_0x57da52;(_0x543ef5&&(_0x543ef5['isEnabled']=!_0x2b74c5&&_0xa87170),_0x23df74 instanceof _0x1f92b8)&&(!(_0x2b74c5||_0xa87170&&_0x4bc826)?_0x23df74['enableReadOnlyMode']('no-permissions'):_0x23df74['disableReadOnlyMode']('no-permissions'));if(_0x4bc826){_0x4bc826['setPermissions']({'admin':_0x29b15f,'modifyAll':_0x33117c,'write':_0x9a013b,'resolve':_0x2138ab},_0x37b3c1);const _0x42cb2d=_0x23df74 instanceof _0x1f92b8&&_0x23df74['commands']['get']('addCommentThread');_0x42cb2d&&(_0x57da52?_0x42cb2d['clearForceDisabled']('noPermissions'):_0x42cb2d['forceDisabled']('noPermissions'));}}}function r(_0x5629ab,_0x4d1342){const t=_0x5629ab['t'];switch(_0x4d1342){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}class l extends _0x28b9ff{['users'];['_licenseKeyCheckInterval'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['requires'](){return[n];}constructor(_0x556306){super(_0x556306),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x1c0485(),this['_locale']=_0x556306['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){const _0x3e1223=this['context'];this['licenseKey']=_0x3e1223['config']['get']('licenseKey');const _0x263ced=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x436a88;for(const _0x5876aa in _0x3e1223){const _0x4b2378=_0x3e1223[_0x5876aa];if(_0x263ced['includes'](_0x4b2378)){delete _0x3e1223[_0x5876aa],_0x436a88=_0x4b2378;break;}}if('licenseKeyInvalid'===_0x436a88)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x486272('invalid-license-key',null);if('licenseKeyTrial'===_0x436a88&&console['info']('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'licenseKeyTrialLimit:operations'===_0x436a88)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x486272('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x436a88)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x486272('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x436a88)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x486272('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x436a88&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x1b9d14,name:_0x42d1fd,..._0x2560fa}){if(!_0x1b9d14||'string'!=typeof _0x1b9d14)throw new _0x486272('users-add-invalid-id');if(this['users']['has'](_0x1b9d14))throw new _0x486272('users-add-duplicated-id',null,{'id':_0x1b9d14});const _0x466dca={..._0x2560fa,'id':_0x1b9d14,'name':a(this['_locale'],_0x42d1fd),'color':this['_getNextColor']()};_0x466dca['name']=a(this['_locale'],_0x466dca['name']);const _0x408624=new I(_0x466dca);return this['users']['add'](_0x408624),_0x408624;}['getUser'](_0x3236e5){return this['users']['get'](_0x3236e5);}['useAnonymousUser'](){const _0x4e6b22=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x4e6b22);}['defineMe'](_0x36f7d1){if(this['_myId'])throw new _0x486272('users-me-already-defined',null);const _0x28e898=this['getUser'](_0x36f7d1);if(!_0x28e898)throw new _0x486272('users-me-missing-user',null);this['_myId']=_0x36f7d1,_0x28e898['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x4acaa2=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x4acaa2&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x51d45e=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x51d45e,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class I{['id'];['color'];['name'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x43f85d){this['id']=_0x43f85d['id'],this['color']=_0x43f85d['color'],this['name']=_0x43f85d['name'],this['avatar']=_0x43f85d['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x4327d2=this['name']['split']('\x20');return 0x1===_0x4327d2['length']?this['_getInitial'](_0x4327d2[0x0]):this['_getInitial'](_0x4327d2[0x0])+this['_getInitial'](_0x4327d2[_0x4327d2['length']-0x1]);}['_getInitial'](_0x3ef1f6){return _0x3ef1f6['charAt'](0x0)['toUpperCase']();}}function a(_0x3241a1,_0x1405f0=''){return''==(_0x1405f0=_0x1405f0['trim']())?r(_0x3241a1,'Anonymous'):_0x1405f0;}class u{['_id'];constructor(_0x185af8){this['_id']=_0x185af8;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}}class E extends _0x1e527c{['name'];['notificationView'];constructor(_0x2fc977,_0x21c7cb,_0x3ff7d3){super(_0x2fc977),this['name']=_0x21c7cb['name'],this['notificationView']=null;const _0x4d5fed=['ck','ck-user'],_0x590fa7=['ck','ck-user__img'];if(_0x21c7cb['isAnonymous']&&_0x590fa7['push']('ck-user__anonymous'),!_0x21c7cb['isAnonymous']&&_0x21c7cb['isMe']&&_0x4d5fed['push']('ck-user_me'),_0x21c7cb['avatar']&&_0x590fa7['push']('ck-user__avatar'),_0x3ff7d3){const _0x2777bd=new _0x1874b7();_0x2777bd['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x2777bd['content']='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10\x200C4.48\x200\x200\x204.48\x200\x2010s4.48\x2010\x2010\x2010\x2010-4.48\x2010-10S15.52\x200\x2010\x200zm1\x2015H9v-2h2v2zm0-4H9V5h2v6z\x22/></svg>\x0a',this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x3ff7d3},'children':[_0x2777bd]};}const _0x3fbbca=[{'tag':'div','attributes':{'class':_0x590fa7,'style':{'background-image':_0x21c7cb['avatar']?'url(\x27'+_0x21c7cb['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x21c7cb['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x21c7cb['initials']}]}];this['notificationView']&&_0x3fbbca['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x4d5fed,'data-user-id':_0x21c7cb['id']},'children':_0x3fbbca});}}function j(_0x277d5a={}){if(void 0x0!==_0x277d5a['dateTimeFormat']&&'function'!=typeof _0x277d5a['dateTimeFormat'])throw new _0x486272('invalid-date-time-format');return _0x42b8a4=>{const _0x428770='string'==typeof _0x42b8a4?_0x2903c0(_0x42b8a4):_0x42b8a4,_0x2e561c=new Date(),_0x4a5221=_0x2c7ebd(_0x2e561c,_0x428770);return _0x277d5a['dateTimeFormat']?_0x277d5a['dateTimeFormat'](_0x428770):_0x1e8be1(_0x428770,0x0===_0x4a5221?'\x27Today\x27\x20hh:mma':0x1===_0x4a5221?'\x27Yesterday\x27\x20hh:mma':_0x4a5221<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x4378da,_0x30937d){const _0x3d3d31=_0x4378da['mapper']['markerNameToElements'](_0x30937d['name']);if(!_0x3d3d31)return null;const _0x45c440=_0x1f19f1(_0x3d3d31['values']());return _0x4378da['view']['domConverter']['mapViewToDom'](_0x45c440)||null;}function K(_0x6bafeb,_0x199654){if(0x0===_0x199654['length'])return null;const _0x20c411=[],_0x1810a7=_0x6bafeb['view']['domConverter'];for(const _0x4207d4 of _0x199654){const _0x62c51f=_0x6bafeb['mapper']['markerNameToElements'](_0x4207d4['name']);if(!_0x62c51f)continue;const _0x55f9c9=Array['from'](_0x62c51f)['map'](_0x2577d7=>_0x1810a7['mapViewToDom'](_0x2577d7))['filter'](_0x104461=>!!_0x104461);_0x20c411['push'](..._0x55f9c9);}if(0x0===_0x20c411['length'])return null;const _0x3f0b8d=[];for(const _0x439aed of _0x20c411){const _0x4c81a5=_0x439aed['getClientRects']()['item'](0x0);_0x4c81a5&&_0x3f0b8d['push']({'x':_0x4c81a5['x'],'y':_0x4c81a5['y'],'domElement':_0x439aed});}return 0x0===_0x3f0b8d['length']?null:(_0x3f0b8d['sort']((_0x19d0d3,_0x2f061e)=>_0x19d0d3['y']-_0x2f061e['y']||_0x19d0d3['x']-_0x2f061e['x']),_0x3f0b8d['map'](_0x175447=>_0x175447['domElement']));}function Z(_0x10268,{limit:_0xac7203,suffix:_0x123f55='...'}){const _0xa41f69=[];let _0x1ba265=0x0;const _0xd942d1=_0x10268['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x48d62c=0x0;_0x48d62c<_0xd942d1['length'];_0x48d62c++){let _0x5c1357=_0xd942d1[_0x48d62c];const _0x1f9e2c=$(_0x5c1357);if(_0x5c1357['startsWith']('<')){if(_0x1ba265>=_0xac7203){const _0x42e9e2=_0x5c1357['match'](/[a-zA-Z]+/);if(!_0x42e9e2){_0xd942d1[_0x48d62c]='';continue;}const _0x20a97a=_0x42e9e2[0x0];_0x5c1357['startsWith']('</')?(_0xa41f69['length']&&(_0x5c1357=''),_0xa41f69['pop']()):(_0xa41f69['push'](_0x20a97a),_0x5c1357='');}}else{if(_0x1ba265>=_0xac7203)_0x5c1357='';else{if(_0x1ba265+_0x1f9e2c['length']>=_0xac7203){let _0x31185e=_0xac7203-_0x1ba265;if('\x20'===_0x1f9e2c[_0x31185e-0x1])_0x31185e--;else{const _0x53ba14=_0x1f9e2c['slice'](_0x31185e)['indexOf']('\x20');-0x1!==_0x53ba14?_0x31185e+=_0x53ba14:_0x31185e=_0x5c1357['length'];}_0x5c1357=_0x1f9e2c['slice'](0x0,_0x31185e)['join']('')+_0x123f55,_0x1ba265=_0xac7203;}else _0x1ba265+=_0x1f9e2c['length'];}}_0xd942d1[_0x48d62c]=_0x5c1357;}return _0xd942d1['join']('\x0a')['replace'](/\n/g,'');}function $(_0x56a004){const _0x2eec03=[];for(let _0x46d90f=0x0;_0x46d90f<_0x56a004['length'];_0x46d90f++){const _0x133d7b=_0x56a004['substring'](_0x46d90f)['match'](/^&[a-z0-9#]+;/);if(_0x133d7b){const _0x187dc6=_0x133d7b[0x0];_0x2eec03['push'](_0x187dc6),_0x46d90f+=_0x187dc6['length']-0x1;}else _0x2eec03['push'](_0x56a004[_0x46d90f]);}return _0x2eec03;}class h extends _0x1e527c{['submitView'];['cancelView'];constructor(_0x3bb135){super(_0x3bb135);const _0x4eb387=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x3bb135,r(_0x3bb135,'Yes'),_0x119609['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x3bb135,r(_0x3bb135,'No'),_0x119609['cancel'],'cancel'),this['set']('message',r(_0x3bb135,'Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x4eb387['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['_createButtonView'](_0x187252,_0x1768ad,_0xf8efe3,_0x42f663){const _0x2c223d=new _0x33d125(_0x187252);return _0x2c223d['label']=_0x1768ad,_0x2c223d['icon']=_0xf8efe3,_0x2c223d['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x42f663}}),_0x2c223d['on']('execute',()=>this['fire'](_0x42f663)),_0x2c223d;}}function m(_0x1cccf9){return class extends _0x1cccf9{['showConfirm'](_0x55ea78,_0x212645){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x55ea78,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x212645['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x50a60c=>this['confirmView']['on']('submit',_0x50a60c));}['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['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function b(_0x135333){let _0x1f7384=0x0,_0x164ae9=0x0;for(const _0x1f0a58 of A(_0x135333))_0x1f7384=(_0x1f7384<<0x5)-_0x1f7384+_0x1f0a58,_0x1f7384|=0x0,[_0x1f7384,_0x164ae9]=[_0x164ae9,_0x1f7384];return q(_0x1f7384)+q(_0x164ae9);}function*g(_0x5d7ffd){null==_0x5d7ffd||null==_0x5d7ffd?yield 0x12b9b0a1:0x0===_0x5d7ffd||!0x1===_0x5d7ffd?yield 0x0:0x1===_0x5d7ffd||0x1==_0x5d7ffd?yield 0x1:Array['isArray'](_0x5d7ffd)?yield*function*(_0x4933bf){for(const _0x1bbc31 of _0x4933bf)yield*g(_0x1bbc31);}(_0x5d7ffd):'object'==typeof _0x5d7ffd?yield*A(_0x5d7ffd):'string'==typeof _0x5d7ffd?yield*M(_0x5d7ffd):'number'==typeof _0x5d7ffd&&(yield _0x5d7ffd);}function*A(_0x168008){if(yield O('{'),_0x168008){const _0x349af5=Object['keys'](_0x168008)['sort']();for(const _0x4468a2 of _0x349af5){yield*M(_0x4468a2),yield O(':');const _0xcb2c57=_0x168008[_0x4468a2];yield*g(_0xcb2c57);}}yield O('}');}function*M(_0x4baafb){yield O('\x22');for(const _0x241635 of _0x4baafb)yield O(_0x241635);yield O('\x22');}function O(_0x2638cf){return _0x2638cf['charCodeAt'](0x0);}function q(_0x16f13c){return(_0x16f13c*=Math['sign'](_0x16f13c))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x11bab1,_0x1416a7,_0x42c667,_0x251242=[]){const _0x4e2692='string'==typeof _0x11bab1?_0x42c667['get'](_0x11bab1)['constructor']:_0x11bab1['prototype']['constructor'];if(_0x1416a7['has'](_0x4e2692))return _0x1416a7['get'](_0x4e2692);_0x1416a7['set'](_0x4e2692,!0x0);const _0x55b8ed=[...W,..._0x251242]['map'](_0x35e3e2=>{if(_0x42c667['has'](_0x35e3e2))return _0x42c667['get'](_0x35e3e2)['constructor'];})['filter'](_0x564175=>_0x564175);if(_0x4e2692&&_0x55b8ed['includes'](_0x4e2692))return _0x1416a7['set'](_0x4e2692,!0x1),!0x1;if(!_0x4e2692['requires'])return _0x1416a7['set'](_0x4e2692,!0x0),!0x0;const _0x5ab127=_0x4e2692['requires']['every'](_0x1dfabe=>v(_0x1dfabe,_0x1416a7,_0x42c667,_0x251242));return _0x1416a7['set'](_0x4e2692,_0x5ab127),_0x5ab127;}function D(_0x3b1b43,_0x217b3d){const _0x501ffd={};for(const _0x468fd6 of _0x3b1b43['config']['names']())w['includes'](_0x468fd6)||(_0x501ffd[_0x468fd6]=_0x3b1b43['config']['get'](_0x468fd6));const _0x51d101=_0x501ffd['plugins']||[],_0x135759=_0x3b1b43['constructor']['builtinPlugins']||[],_0x13a7db=_0x51d101['length']?_0x51d101:_0x135759,_0x8d3049=_0x501ffd['extraPlugins']||[];delete _0x501ffd['extraPlugins'];const _0x14b59c=_0x501ffd['removePlugins']||[];delete _0x501ffd['removePlugins'];const _0x642967=_0x3b1b43['_context']['config']['get']('plugins')||[],_0x5a5642=_0x13a7db['concat'](_0x8d3049)['concat'](_0x642967)['map'](_0x2e70e0=>'string'==typeof _0x2e70e0?_0x135759['find'](_0x219a67=>_0x219a67['pluginName']==_0x2e70e0):_0x2e70e0)['filter'](_0x462dd2=>!_0x14b59c['includes'](_0x462dd2)&&!_0x14b59c['includes'](_0x462dd2['pluginName'])),_0x1b2acc=Array['from'](new Set(_0x5a5642)),_0x1ed3ff=new Map();return _0x501ffd['plugins']=_0x1b2acc['filter'](_0x578a89=>v(_0x578a89,_0x1ed3ff,_0x3b1b43['plugins'],_0x217b3d)),_0x501ffd;}function z(_0x4a47c2,_0x1fbb18){const _0x1c33cc=[];_0x4a47c2['document']['selection']['on']('change:range',()=>{const _0x43ab8e=function(_0x2abe71,_0x29a0cc){const _0x3aebd2=[];for(const _0x43a591 of _0x2abe71['markers']){const _0x101efd=_0x43a591['getRange']();(_0x101efd['containsPosition'](_0x29a0cc)||_0x101efd['start']['isEqual'](_0x29a0cc)||_0x101efd['end']['isEqual'](_0x29a0cc))&&_0x3aebd2['push'](_0x43a591);}return _0x3aebd2;}(_0x4a47c2,_0x4a47c2['document']['selection']['focus']),_0x68e7b5=[],_0x292a4a=[],_0x44d335=[];for(const _0x5b1088 of _0x1c33cc)_0x43ab8e['includes'](_0x5b1088)||_0x68e7b5['push'](_0x5b1088);for(const _0x5f3d6a of _0x43ab8e)_0x1c33cc['includes'](_0x5f3d6a)||_0x292a4a['push'](_0x5f3d6a),_0x44d335['push'](_0x5f3d6a);(_0x68e7b5['length']||_0x292a4a['length'])&&_0x1fbb18({'left':_0x68e7b5,'entered':_0x292a4a}),_0x1c33cc['length']=0x0,_0x1c33cc['push'](..._0x44d335);});}export{m as ConfirmMixin,n as Permissions,E as UserView,l as Users,K as getAllMarkersDomElementsSorted,j as getDateTimeFormatter,k as getMarkerDomElement,b as hashObject,D as sanitizeEditorConfig,z as surroundingMarkersDetector,Z 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?'},'getPluralForm':
|
23
|
+
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x28a87c=>0x1!=_0x28a87c}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x15e870=>{const {af:{dictionary:_0x21bd2a,getPluralForm:_0x122655}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x70a6c4=>0x1!=_0x70a6c4}};_0x15e870['af']||={'dictionary':{},'getPluralForm':null},_0x15e870['af']['dictionary']=Object['assign'](_0x15e870['af']['dictionary'],_0x21bd2a),_0x15e870['af']['getPluralForm']=_0x122655;})(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متأكد؟'},'getPluralForm':
|
23
|
+
export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x1bc1be=>0x0==_0x1bc1be?0x0:0x1==_0x1bc1be?0x1:0x2==_0x1bc1be?0x2:_0x1bc1be%0x64>=0x3&&_0x1bc1be%0x64<=0xa?0x3:_0x1bc1be%0x64>=0xb&&_0x1bc1be%0x64<=0x63?0x4:0x5}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0xce1296=>{const {ar:{dictionary:_0x4d6fca,getPluralForm:_0x2f9a7e}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x16361c=>0x0==_0x16361c?0x0:0x1==_0x16361c?0x1:0x2==_0x16361c?0x2:_0x16361c%0x64>=0x3&&_0x16361c%0x64<=0xa?0x3:_0x16361c%0x64>=0xb&&_0x16361c%0x64<=0x63?0x4:0x5}};_0xce1296['ar']||={'dictionary':{},'getPluralForm':null},_0xce1296['ar']['dictionary']=Object['assign'](_0xce1296['ar']['dictionary'],_0x4d6fca),_0xce1296['ar']['getPluralForm']=_0x2f9a7e;})(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?':''},'getPluralForm':
|
23
|
+
export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0x168013=>0x1!=_0x168013}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x325b9f=>{const {az:{dictionary:_0x412634,getPluralForm:_0x45ea9d}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0x2bf4fd=>0x1!=_0x2bf4fd}};_0x325b9f['az']||={'dictionary':{},'getPluralForm':null},_0x325b9f['az']['dictionary']=Object['assign'](_0x325b9f['az']['dictionary'],_0x412634),_0x325b9f['az']['getPluralForm']=_0x45ea9d;})(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сте?'},'getPluralForm':
|
23
|
+
export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0x2bb86a=>0x1!=_0x2bb86a}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1f7397=>{const {bg:{dictionary:_0x1c6bf1,getPluralForm:_0x1c50c5}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0x29a28f=>0x1!=_0x29a28f}};_0x1f7397['bg']||={'dictionary':{},'getPluralForm':null},_0x1f7397['bg']['dictionary']=Object['assign'](_0x1f7397['bg']['dictionary'],_0x1c6bf1),_0x1f7397['bg']['getPluralForm']=_0x1c50c5;})(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নিশ্চিত?'},'getPluralForm':
|
23
|
+
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x136de9=>0x1!=_0x136de9}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x306f22=>{const {bn:{dictionary:_0xf47742,getPluralForm:_0x3b21af}}={'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x227cb8=>0x1!=_0x227cb8}};_0x306f22['bn']||={'dictionary':{},'getPluralForm':null},_0x306f22['bn']['dictionary']=Object['assign'](_0x306f22['bn']['dictionary'],_0xf47742),_0x306f22['bn']['getPluralForm']=_0x3b21af;})(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?'},'getPluralForm':
|
23
|
+
export default{'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x349ea7=>_0x349ea7%0xa==0x1&&_0x349ea7%0x64!=0xb?0x0:_0x349ea7%0xa>=0x2&&_0x349ea7%0xa<=0x4&&(_0x349ea7%0x64<0xa||_0x349ea7%0x64>=0x14)?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x49d922=>{const {bs:{dictionary:_0x274d60,getPluralForm:_0x3a047c}}={'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x4786cb=>_0x4786cb%0xa==0x1&&_0x4786cb%0x64!=0xb?0x0:_0x4786cb%0xa>=0x2&&_0x4786cb%0xa<=0x4&&(_0x4786cb%0x64<0xa||_0x4786cb%0x64>=0x14)?0x1:0x2}};_0x49d922['bs']||={'dictionary':{},'getPluralForm':null},_0x49d922['bs']['dictionary']=Object['assign'](_0x49d922['bs']['dictionary'],_0x274d60),_0x49d922['bs']['getPluralForm']=_0x3a047c;})(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?'},'getPluralForm':
|
23
|
+
export default{'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':_0x44aef3=>0x1!=_0x44aef3}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5c72ce=>{const {ca:{dictionary:_0x402c8b,getPluralForm:_0x1c8e10}}={'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':_0x25a0bb=>0x1!=_0x25a0bb}};_0x5c72ce['ca']||={'dictionary':{},'getPluralForm':null},_0x5c72ce['ca']['dictionary']=Object['assign'](_0x5c72ce['ca']['dictionary'],_0x402c8b),_0x5c72ce['ca']['getPluralForm']=_0x1c8e10;})(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ý?'},'getPluralForm':
|
23
|
+
export default{'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':_0x1accd7=>0x1==_0x1accd7&&_0x1accd7%0x1==0x0?0x0:_0x1accd7>=0x2&&_0x1accd7<=0x4&&_0x1accd7%0x1==0x0?0x1:_0x1accd7%0x1!=0x0?0x2:0x3}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1075c5=>{const {cs:{dictionary:_0x29f57c,getPluralForm:_0x555d3c}}={'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':_0x1bc6e9=>0x1==_0x1bc6e9&&_0x1bc6e9%0x1==0x0?0x0:_0x1bc6e9>=0x2&&_0x1bc6e9<=0x4&&_0x1bc6e9%0x1==0x0?0x1:_0x1bc6e9%0x1!=0x0?0x2:0x3}};_0x1075c5['cs']||={'dictionary':{},'getPluralForm':null},_0x1075c5['cs']['dictionary']=Object['assign'](_0x1075c5['cs']['dictionary'],_0x29f57c),_0x1075c5['cs']['getPluralForm']=_0x555d3c;})(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?'},'getPluralForm':
|
23
|
+
export default{'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':_0xbf5b98=>0x1!=_0xbf5b98}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x472485=>{const {da:{dictionary:_0x41e8c1,getPluralForm:_0x31863b}}={'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':_0x4137c8=>0x1!=_0x4137c8}};_0x472485['da']||={'dictionary':{},'getPluralForm':null},_0x472485['da']['dictionary']=Object['assign'](_0x472485['da']['dictionary'],_0x41e8c1),_0x472485['da']['getPluralForm']=_0x31863b;})(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?'},'getPluralForm':
|
23
|
+
export default{'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x42b269=>0x1!=_0x42b269}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3c5f68=>{const {'de-ch':{dictionary:_0x31b958,getPluralForm:_0x451771}}={'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x5d4d47=>0x1!=_0x5d4d47}};_0x3c5f68['de-ch']||={'dictionary':{},'getPluralForm':null},_0x3c5f68['de-ch']['dictionary']=Object['assign'](_0x3c5f68['de-ch']['dictionary'],_0x31b958),_0x3c5f68['de-ch']['getPluralForm']=_0x451771;})(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?'},'getPluralForm':
|
23
|
+
export default{'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x422404=>0x1!=_0x422404}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x24840c=>{const {de:{dictionary:_0x2dc4d8,getPluralForm:_0x3201ad}}={'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x46720d=>0x1!=_0x46720d}};_0x24840c['de']||={'dictionary':{},'getPluralForm':null},_0x24840c['de']['dictionary']=Object['assign'](_0x24840c['de']['dictionary'],_0x2dc4d8),_0x24840c['de']['getPluralForm']=_0x3201ad;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/el.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':
|
23
|
+
export default{'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':_0x3724fc=>0x1!=_0x3724fc}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x51b401=>{const {el:{dictionary:_0x341c68,getPluralForm:_0x5f0bb4}}={'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':_0x467a30=>0x1!=_0x467a30}};_0x51b401['el']||={'dictionary':{},'getPluralForm':null},_0x51b401['el']['dictionary']=Object['assign'](_0x51b401['el']['dictionary'],_0x341c68),_0x51b401['el']['getPluralForm']=_0x5f0bb4;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':
|
23
|
+
export default{'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x40ccc6=>0x1!=_0x40ccc6}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3f0630=>{const {'en-au':{dictionary:_0x17df12,getPluralForm:_0x1d2d2e}}={'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x301d53=>0x1!=_0x301d53}};_0x3f0630['en-au']||={'dictionary':{},'getPluralForm':null},_0x3f0630['en-au']['dictionary']=Object['assign'](_0x3f0630['en-au']['dictionary'],_0x17df12),_0x3f0630['en-au']['getPluralForm']=_0x1d2d2e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x234e20=>{const {en:{dictionary:_0x486266,getPluralForm:_0x2a76f3}}={'en':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':null}};_0x234e20['en']||={'dictionary':{},'getPluralForm':null},_0x234e20['en']['dictionary']=Object['assign'](_0x234e20['en']['dictionary'],_0x486266),_0x234e20['en']['getPluralForm']=_0x2a76f3;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':
|
23
|
+
export default{'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':_0x167139=>0x1==_0x167139?0x0:0x0!=_0x167139&&_0x167139%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x35e245=>{const {'es-co':{dictionary:_0x39096c,getPluralForm:_0x1df076}}={'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':_0x3c0da7=>0x1==_0x3c0da7?0x0:0x0!=_0x3c0da7&&_0x3c0da7%0xf4240==0x0?0x1:0x2}};_0x35e245['es-co']||={'dictionary':{},'getPluralForm':null},_0x35e245['es-co']['dictionary']=Object['assign'](_0x35e245['es-co']['dictionary'],_0x39096c),_0x35e245['es-co']['getPluralForm']=_0x1df076;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/es.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'es':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Lo\x20confirma?'},'getPluralForm':
|
23
|
+
export default{'es':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Lo\x20confirma?'},'getPluralForm':_0x297c6a=>0x1==_0x297c6a?0x0:0x0!=_0x297c6a&&_0x297c6a%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1a2aa8=>{const {es:{dictionary:_0x1824d5,getPluralForm:_0x11d64a}}={'es':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Lo\x20confirma?'},'getPluralForm':_0x2ef171=>0x1==_0x2ef171?0x0:0x0!=_0x2ef171&&_0x2ef171%0xf4240==0x0?0x1:0x2}};_0x1a2aa8['es']||={'dictionary':{},'getPluralForm':null},_0x1a2aa8['es']['dictionary']=Object['assign'](_0x1a2aa8['es']['dictionary'],_0x1824d5),_0x1a2aa8['es']['getPluralForm']=_0x11d64a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/et.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'et':{'dictionary':{'Anonymous':'Anonüümne','Yes':'Jah','No':'Ei','Are\x20you\x20sure?':'Oled\x20sa\x20kindel?'},'getPluralForm':
|
23
|
+
export default{'et':{'dictionary':{'Anonymous':'Anonüümne','Yes':'Jah','No':'Ei','Are\x20you\x20sure?':'Oled\x20sa\x20kindel?'},'getPluralForm':_0x5db531=>0x1!=_0x5db531}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x493bc7=>{const {et:{dictionary:_0x388759,getPluralForm:_0x3a6490}}={'et':{'dictionary':{'Anonymous':'Anonüümne','Yes':'Jah','No':'Ei','Are\x20you\x20sure?':'Oled\x20sa\x20kindel?'},'getPluralForm':_0x43f130=>0x1!=_0x43f130}};_0x493bc7['et']||={'dictionary':{},'getPluralForm':null},_0x493bc7['et']['dictionary']=Object['assign'](_0x493bc7['et']['dictionary'],_0x388759),_0x493bc7['et']['getPluralForm']=_0x3a6490;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/fa.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'fa':{'dictionary':{'Anonymous':'ناشناس','Yes':'بله','No':'خیر','Are\x20you\x20sure?':'اطمینان\x20دارید؟'},'getPluralForm':
|
23
|
+
export default{'fa':{'dictionary':{'Anonymous':'ناشناس','Yes':'بله','No':'خیر','Are\x20you\x20sure?':'اطمینان\x20دارید؟'},'getPluralForm':_0x6c71c2=>_0x6c71c2>0x1}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3a2288=>{const {fa:{dictionary:_0xb70668,getPluralForm:_0xa27e9f}}={'fa':{'dictionary':{'Anonymous':'ناشناس','Yes':'بله','No':'خیر','Are\x20you\x20sure?':'اطمینان\x20دارید؟'},'getPluralForm':_0x4ad41a=>_0x4ad41a>0x1}};_0x3a2288['fa']||={'dictionary':{},'getPluralForm':null},_0x3a2288['fa']['dictionary']=Object['assign'](_0x3a2288['fa']['dictionary'],_0xb70668),_0x3a2288['fa']['getPluralForm']=_0xa27e9f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/fi.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'fi':{'dictionary':{'Anonymous':'Anonyymi','Yes':'Kyllä','No':'Ei','Are\x20you\x20sure?':'Oletko\x20varma?'},'getPluralForm':
|
23
|
+
export default{'fi':{'dictionary':{'Anonymous':'Anonyymi','Yes':'Kyllä','No':'Ei','Are\x20you\x20sure?':'Oletko\x20varma?'},'getPluralForm':_0x12603c=>0x1!=_0x12603c}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3889c7=>{const {fi:{dictionary:_0x27c661,getPluralForm:_0x521e2b}}={'fi':{'dictionary':{'Anonymous':'Anonyymi','Yes':'Kyllä','No':'Ei','Are\x20you\x20sure?':'Oletko\x20varma?'},'getPluralForm':_0x25e80f=>0x1!=_0x25e80f}};_0x3889c7['fi']||={'dictionary':{},'getPluralForm':null},_0x3889c7['fi']['dictionary']=Object['assign'](_0x3889c7['fi']['dictionary'],_0x27c661),_0x3889c7['fi']['getPluralForm']=_0x521e2b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/fr.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'fr':{'dictionary':{'Anonymous':'Anonyme','Yes':'Oui','No':'Non','Are\x20you\x20sure?':'Êtes-vous\x20sûr\x20?'},'getPluralForm':
|
23
|
+
export default{'fr':{'dictionary':{'Anonymous':'Anonyme','Yes':'Oui','No':'Non','Are\x20you\x20sure?':'Êtes-vous\x20sûr\x20?'},'getPluralForm':_0x147cc3=>0x0==_0x147cc3||0x1==_0x147cc3?0x0:0x0!=_0x147cc3&&_0x147cc3%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3fc93c=>{const {fr:{dictionary:_0x18a8c1,getPluralForm:_0x15f604}}={'fr':{'dictionary':{'Anonymous':'Anonyme','Yes':'Oui','No':'Non','Are\x20you\x20sure?':'Êtes-vous\x20sûr\x20?'},'getPluralForm':_0x51574f=>0x0==_0x51574f||0x1==_0x51574f?0x0:0x0!=_0x51574f&&_0x51574f%0xf4240==0x0?0x1:0x2}};_0x3fc93c['fr']||={'dictionary':{},'getPluralForm':null},_0x3fc93c['fr']['dictionary']=Object['assign'](_0x3fc93c['fr']['dictionary'],_0x18a8c1),_0x3fc93c['fr']['getPluralForm']=_0x15f604;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/gl.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'gl':{'dictionary':{'Anonymous':'Anónimo','Yes':'Si','No':'Non','Are\x20you\x20sure?':'Esta\x20seguro?'},'getPluralForm':
|
23
|
+
export default{'gl':{'dictionary':{'Anonymous':'Anónimo','Yes':'Si','No':'Non','Are\x20you\x20sure?':'Esta\x20seguro?'},'getPluralForm':_0x30073e=>0x1!=_0x30073e}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x125c4f=>{const {gl:{dictionary:_0x2b9321,getPluralForm:_0x892a8}}={'gl':{'dictionary':{'Anonymous':'Anónimo','Yes':'Si','No':'Non','Are\x20you\x20sure?':'Esta\x20seguro?'},'getPluralForm':_0x49b5a8=>0x1!=_0x49b5a8}};_0x125c4f['gl']||={'dictionary':{},'getPluralForm':null},_0x125c4f['gl']['dictionary']=Object['assign'](_0x125c4f['gl']['dictionary'],_0x2b9321),_0x125c4f['gl']['getPluralForm']=_0x892a8;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/he.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'he':{'dictionary':{'Anonymous':'אנונימי','Yes':'כן','No':'לא','Are\x20you\x20sure?':'האם\x20הנך\x20בטוח/ה?'},'getPluralForm':
|
23
|
+
export default{'he':{'dictionary':{'Anonymous':'אנונימי','Yes':'כן','No':'לא','Are\x20you\x20sure?':'האם\x20הנך\x20בטוח/ה?'},'getPluralForm':_0x3a33a9=>0x1==_0x3a33a9&&_0x3a33a9%0x1==0x0?0x0:0x2==_0x3a33a9&&_0x3a33a9%0x1==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x357f5b=>{const {he:{dictionary:_0x28937d,getPluralForm:_0x2223b9}}={'he':{'dictionary':{'Anonymous':'אנונימי','Yes':'כן','No':'לא','Are\x20you\x20sure?':'האם\x20הנך\x20בטוח/ה?'},'getPluralForm':_0x49af6d=>0x1==_0x49af6d&&_0x49af6d%0x1==0x0?0x0:0x2==_0x49af6d&&_0x49af6d%0x1==0x0?0x1:0x2}};_0x357f5b['he']||={'dictionary':{},'getPluralForm':null},_0x357f5b['he']['dictionary']=Object['assign'](_0x357f5b['he']['dictionary'],_0x28937d),_0x357f5b['he']['getPluralForm']=_0x2223b9;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/hi.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'hi':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':
|
23
|
+
export default{'hi':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x2d4f65=>0x1!=_0x2d4f65}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x240567=>{const {hi:{dictionary:_0x10a8f1,getPluralForm:_0x5cd9a8}}={'hi':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x59f5cb=>0x1!=_0x59f5cb}};_0x240567['hi']||={'dictionary':{},'getPluralForm':null},_0x240567['hi']['dictionary']=Object['assign'](_0x240567['hi']['dictionary'],_0x10a8f1),_0x240567['hi']['getPluralForm']=_0x5cd9a8;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/hr.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'hr':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Jeste\x20li\x20sigurni?'},'getPluralForm':
|
23
|
+
export default{'hr':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Jeste\x20li\x20sigurni?'},'getPluralForm':_0x40aefb=>_0x40aefb%0xa==0x1&&_0x40aefb%0x64!=0xb?0x0:_0x40aefb%0xa>=0x2&&_0x40aefb%0xa<=0x4&&(_0x40aefb%0x64<0xa||_0x40aefb%0x64>=0x14)?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x756e51=>{const {hr:{dictionary:_0x187890,getPluralForm:_0xe83f6e}}={'hr':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Jeste\x20li\x20sigurni?'},'getPluralForm':_0x690ed6=>_0x690ed6%0xa==0x1&&_0x690ed6%0x64!=0xb?0x0:_0x690ed6%0xa>=0x2&&_0x690ed6%0xa<=0x4&&(_0x690ed6%0x64<0xa||_0x690ed6%0x64>=0x14)?0x1:0x2}};_0x756e51['hr']||={'dictionary':{},'getPluralForm':null},_0x756e51['hr']['dictionary']=Object['assign'](_0x756e51['hr']['dictionary'],_0x187890),_0x756e51['hr']['getPluralForm']=_0xe83f6e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/hu.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'hu':{'dictionary':{'Anonymous':'Névtelen','Yes':'Igen','No':'Nem','Are\x20you\x20sure?':'Biztos\x20vagy\x20benn?'},'getPluralForm':
|
23
|
+
export default{'hu':{'dictionary':{'Anonymous':'Névtelen','Yes':'Igen','No':'Nem','Are\x20you\x20sure?':'Biztos\x20vagy\x20benn?'},'getPluralForm':_0x39143b=>0x1!=_0x39143b}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3e58a7=>{const {hu:{dictionary:_0x44a782,getPluralForm:_0x550843}}={'hu':{'dictionary':{'Anonymous':'Névtelen','Yes':'Igen','No':'Nem','Are\x20you\x20sure?':'Biztos\x20vagy\x20benn?'},'getPluralForm':_0x282ffa=>0x1!=_0x282ffa}};_0x3e58a7['hu']||={'dictionary':{},'getPluralForm':null},_0x3e58a7['hu']['dictionary']=Object['assign'](_0x3e58a7['hu']['dictionary'],_0x44a782),_0x3e58a7['hu']['getPluralForm']=_0x550843;})(window['CKEDITOR_TRANSLATIONS']||={});
|