@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260107.0 → 0.0.0-nightly-next-20260108.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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/dist/augmentation.d.ts +1 -1
- package/dist/index.css +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- 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/dist/ui/uploadcarecontroller.d.ts +1 -1
- package/dist/ui/uploadcareformview.d.ts +1 -1
- package/dist/uploadcare.d.ts +1 -1
- package/dist/uploadcarecommand.d.ts +1 -1
- package/dist/uploadcareconfig.d.ts +1 -1
- package/dist/uploadcareediting.d.ts +1 -1
- package/dist/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +1 -1
- package/dist/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +1 -1
- package/dist/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +1 -1
- package/dist/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +1 -1
- package/dist/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
- package/dist/uploadcareimageedit/uploadcareimageeditcommand.d.ts +1 -1
- package/dist/uploadcareimageedit/uploadcareimageeditediting.d.ts +1 -1
- package/dist/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/dist/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/dist/uploadcareimageedit.d.ts +1 -1
- package/dist/uploadcareui.d.ts +1 -1
- package/dist/uploadcareuploadadapter.d.ts +1 -1
- package/dist/utils/common-translations.d.ts +1 -1
- package/dist/utils/dialogfocusmanagerview.d.ts +1 -1
- package/dist/utils/editingutils.d.ts +1 -1
- package/dist/utils/isancestor.d.ts +1 -1
- package/dist/utils/uploadutils.d.ts +1 -1
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/be.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +9 -9
- package/theme/uploadcare-form.css +1 -1
- package/theme/uploadcare-theme.css +1 -1
- package/theme/uploadcareimageedit.css +1 -1
package/LICENSE.md
CHANGED
|
@@ -2,7 +2,7 @@ Software License Agreement
|
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
4
|
**CKEditor 5 Uploadcare feature** – https://github.com/ckeditor/ckeditor5-uploadcare <br>
|
|
5
|
-
Copyright (c) 2003–
|
|
5
|
+
Copyright (c) 2003–2026, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
6
6
|
|
|
7
7
|
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
|
|
8
8
|
|
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ As a licensed CKEditor 5 Uploadcare feature user you can report bugs and re
|
|
|
38
38
|
## License
|
|
39
39
|
|
|
40
40
|
**CKEditor 5 Uploadcare** (https://ckeditor.com/ckeditor-5/)<br>
|
|
41
|
-
Copyright (c) 2003–
|
|
41
|
+
Copyright (c) 2003–2026, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
42
42
|
|
|
43
43
|
CKEditor 5 Uploadcare feature is licensed under a commercial license and is protected by copyright law. For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
|
|
44
44
|
|
package/dist/augmentation.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* @license Copyright (c) 2003-
|
|
6
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
import type { Uploadcare, UploadcareEditing, UploadcareCommand, UploadcareConfig } from './index.js';
|
package/dist/index.css
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
34
34
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
35
35
|
*
|
|
36
|
-
* Copyright (c) 2003-
|
|
36
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
37
37
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
38
38
|
*/
|
|
39
39
|
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
121
121
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
122
122
|
*
|
|
123
|
-
* Copyright (c) 2003-
|
|
123
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
124
124
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
125
125
|
*/
|
|
126
126
|
|
|
@@ -141,12 +141,12 @@
|
|
|
141
141
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
142
142
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
143
143
|
*
|
|
144
|
-
* Copyright (c) 2003-
|
|
144
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
145
145
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
146
146
|
*/
|
|
147
147
|
|
|
148
148
|
/*
|
|
149
|
-
* Copyright (c) 2003-
|
|
149
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
150
150
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
151
151
|
*/
|
|
152
152
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* @license Copyright (c) 2003-
|
|
6
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
/**
|
package/dist/index.js
CHANGED
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0xa7313f,Command as _0x20d127}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x4883b8,IconGooglePhotos as _0x434744,IconGoogleDrive as _0x198cf0,IconFacebook as _0x189f6f,IconDropbox as _0x3723b6,IconUploadcareLink as _0x38340d,IconUploadcareImageUpload as _0x38cc43,IconError as _0xc3e620,IconUploadcareImageEdit as _0x2622f3}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x33cbd5,MenuBarMenuListItemButtonView as _0x418114,View as _0xcae530,FocusCycler as _0x5f469c,Dialog as _0x479684,DialogViewPosition as _0xdd4e71,SpinnerView as _0x523e4d,IconView as _0x3b03f7,Notification as _0xe7f899}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x99e339,DomEmitterMixin as _0x14c5d7,global as _0x3997ed,getAncestors as _0x30dcf9,ObservableMixin as _0x11d3dc,uid as _0x110a1a,createElement as _0x4aaac7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x15dd7e}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2a0406,info as _0x40f4c2}from'@uploadcare/upload-client';import*as _0x53a18b from'@uploadcare/file-uploader';var K=function(_0x316ce9){return _0x316ce9['Local']='local',_0x316ce9['URL']='url',_0x316ce9['Dropbox']='dropbox',_0x316ce9['GDrive']='gdrive',_0x316ce9['Facebook']='facebook',_0x316ce9['GPhotos']='gphotos',_0x316ce9['OneDrive']='onedrive',_0x316ce9;}({});function R(_0x2d92b4,_0x1af8f1,_0x5085f8){const t=_0x2d92b4['t'],_0x1cddf9=_0x2d92b4['t'];switch(_0x1af8f1){case K['Local']:return{'text':_0x1cddf9('Insert'===_0x5085f8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1cddf9('From\x20computer')};case K['URL']:return{'text':'Insert'===_0x5085f8?_0x1cddf9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1cddf9('Via\x20URL')};case K['Dropbox']:return{'text':t('Insert'===_0x5085f8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case K['Facebook']:return{'text':t('Insert'===_0x5085f8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case K['GDrive']:return{'text':t('Insert'===_0x5085f8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case K['GPhotos']:return{'text':t('Insert'===_0x5085f8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case K['OneDrive']:return{'text':t('Insert'===_0x5085f8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1af8f1;}}class S extends _0xa7313f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x569736=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x25f9a1;for(const _0x1af592 in _0x569736){const _0x105f2b=_0x1af592,_0x386893=_0x569736[_0x105f2b];if('uploadcareLicenseKeyValid'==_0x386893||'uploadcareLicenseKeyInvalid'==_0x386893||'uploadcareLicenseKeyExpired'==_0x386893||'uploadcareLicenseKeyDomainLimit'==_0x386893||'uploadcareLicenseKeyNotAllowed'==_0x386893||'uploadcareLicenseKeyEvaluationLimit'==_0x386893||'uploadcareLicenseKeyTrialLimit'==_0x386893||'uploadcareLicenseKeyUsageLimit'==_0x386893){delete _0x569736[_0x105f2b],_0x25f9a1=_0x386893,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x25f9a1&&_0x569736['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x25f9a1&&_0x569736['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x25f9a1&&_0x569736['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x25f9a1&&_0x569736['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x25f9a1&&_0x569736['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x25f9a1&&_0x569736['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x25f9a1&&_0x569736['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x40f4dc}=this,_0x5cc45a=_0x40f4dc['commands']['get']('uploadcare');if(!_0x5cc45a)return;const _0x2bc41b=this['_normalizeConfigSourceList'](_0x40f4dc['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x452c26,_0x96fb4a)=>{const _0x3535c2=this['_getIntegrationKey'](_0x96fb4a['type']);return _0x452c26[_0x3535c2]||(_0x452c26[_0x3535c2]=[]),_0x452c26[_0x3535c2]['push'](_0x96fb4a),_0x452c26;},{});_0x40f4dc['plugins']['has']('ImageInsertUI')&&_0x40f4dc['commands']['get']('uploadcare')&&Object['entries'](_0x2bc41b)['forEach'](([_0x3d8942,_0x801712])=>{_0x40f4dc['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3d8942,'observable':()=>_0x5cc45a,'buttonViewCreator':()=>this['_createToolbarButton'](_0x801712),'formViewCreator':()=>this['_createDropdownButtons'](_0x801712),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x801712),'override':'assetManager'!==_0x3d8942});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3cd725){const {locale:_0x1c6a01}=this['editor'];return _0x3cd725['map'](_0x4f77cf=>{const _0x9bde3b=R(_0x1c6a01,_0x4f77cf,'Insert');switch(_0x4f77cf){case K['Local']:return{'icon':_0x38cc43,'type':K['Local'],..._0x9bde3b};case K['URL']:return{'icon':_0x38340d,'type':K['URL'],..._0x9bde3b};case K['Dropbox']:return{'icon':_0x3723b6,'type':K['Dropbox'],..._0x9bde3b};case K['Facebook']:return{'icon':_0x189f6f,'type':K['Facebook'],..._0x9bde3b};case K['GDrive']:return{'icon':_0x198cf0,'type':K['GDrive'],..._0x9bde3b};case K['GPhotos']:return{'icon':_0x434744,'type':K['GPhotos'],..._0x9bde3b};case K['OneDrive']:return{'icon':_0x4883b8,'type':K['OneDrive'],..._0x9bde3b};}});}['_getIntegrationKey'](_0x5e4108){switch(_0x5e4108){case K['Local']:return'upload';case K['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xc3144c,_0x21c6a8){const _0x14ef1c=this['editor'],_0xc93a73=new _0xc3144c(_0x14ef1c['locale']),_0x4ba83e=_0x14ef1c['commands']['get']('uploadcare');return _0xc93a73['bind']('isEnabled')['to'](_0x4ba83e),_0xc93a73['on']('execute',()=>{_0x4ba83e['execute'](_0x21c6a8);}),_0xc93a73;}['_createToolbarButton'](_0x57478c){const {locale:_0x5390f8}=this['editor'],_0x545cec=this['editor']['plugins']['get']('ImageInsertUI'),_0x432d15=_0x57478c[0x0],_0xb7f8f1=this['_createButton'](_0x33cbd5,_0x432d15['type']);return _0xb7f8f1['icon']=_0x432d15['icon'],_0xb7f8f1['bind']('label')['to'](_0x545cec,'isImageSelected',_0x60d0f3=>R(_0x5390f8,_0x432d15['type'],_0x60d0f3?'Replace':'Insert')['text']),_0xb7f8f1['tooltip']=!0x0,_0xb7f8f1;}['_createDropdownButtons'](_0x59ee84){const {locale:_0x324ec4}=this['editor'],_0xb75db9=this['editor']['plugins']['get']('ImageInsertUI');return _0x59ee84['map'](_0x1b257c=>{const _0xd7b158=this['_createButton'](_0x33cbd5,_0x1b257c['type']);return _0xd7b158['withText']=!0x0,_0xd7b158['icon']=_0x1b257c['icon'],_0xd7b158['bind']('label')['to'](_0xb75db9,'isImageSelected',_0x483294=>R(_0x324ec4,_0x1b257c['type'],_0x483294?'Replace':'Insert')['text']),_0xd7b158;});}['_createMenuBarButtons'](_0x404dd8){return _0x404dd8['map'](_0x3b313e=>{const _0x3582af=this['_createButton'](_0x418114,_0x3b313e['type']);return _0x3582af['icon']=_0x3b313e['icon'],_0x3582af['label']=_0x3b313e['shortText'],_0x3582af;});}}class A extends _0xcae530{['focusTracker'];['focusCycler'];constructor(_0x1d5471){super(_0x1d5471),this['focusTracker']=new _0x99e339(),this['focusCycler']=new _0x5f469c({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class O extends A{constructor(_0x861ea7,_0x3f579f){super(_0x861ea7),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x3f579f}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function D(_0x275022,_0xe848d0){const _0x415b9f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4a65d9=>_0x4a65d9<=_0xe848d0)['map'](_0x1c4865=>_0x275022['replace'](/\/$/,'')+'/-/resize/'+_0x1c4865+'x/\x20'+_0x1c4865+'w');return{'imageFallbackUrl':_0x275022,'imageSources':[{'srcset':_0x415b9f['join'](',\x20'),'sizes':'(max-width:\x20'+_0xe848d0+'px)\x20100vw,\x20'+_0xe848d0+'px','type':'image/webp'}]};}function F(_0x471ce5,_0x30c15e,_0x4a9b10){const _0x52af17=_0x471ce5['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x52af17?parseInt(_0x52af17[0x1],0xa):_0x30c15e,'height':_0x52af17?parseInt(_0x52af17[0x2],0xa):_0x4a9b10};}function $(_0x300d86,_0x408aad){const _0x3f3055=new(_0x14c5d7())(),_0x28f524=_0x300d86['plugins']['get']('ImageUtils'),_0x2e0206=_0x300d86['editing']['mapper']['toViewElement'](_0x408aad),_0x1c3fa9=_0x28f524['findViewImgElement'](_0x2e0206),_0x4d72f6=_0x300d86['editing']['view']['domConverter']['viewToDom'](_0x1c3fa9),_0x165050=_0x408aad['getAttribute']('width'),_0x58df4a=_0x408aad['getAttribute']('height'),_0x3f0b19='image-processing';_0x300d86['editing']['view']['change'](_0x2f27e1=>{_0x2f27e1['addClass'](_0x3f0b19,_0x2e0206),_0x2f27e1['setStyle']('aspect-ratio',_0x165050+'/'+_0x58df4a,_0x1c3fa9);}),_0x3f3055['listenTo'](_0x4d72f6,'load',()=>{_0x3f3055['stopListening'](_0x4d72f6,'load'),_0x300d86['editing']['view']['change'](_0x1b4c5e=>{_0x1b4c5e['removeClass'](_0x3f0b19,_0x2e0206),_0x1b4c5e['removeStyle']('aspect-ratio',_0x1c3fa9);});});}function B(_0x2ae0c8){if(Array['isArray'](_0x2ae0c8)){const _0x46dd4f=_0x2ae0c8['map'](B);return _0x218ed8=>_0x46dd4f['some'](_0x4f35a2=>_0x4f35a2(_0x218ed8));}if('origin'==_0x2ae0c8){const _0x1c250a=_0x3997ed['window']['location']['origin'];return _0x1559b0=>new URL(_0x1559b0,_0x3997ed['document']['baseURI'])['origin']==_0x1c250a;}return'function'==typeof _0x2ae0c8?_0x2ae0c8:_0x2ae0c8 instanceof RegExp?_0x40abc2=>!(!_0x40abc2['match'](_0x2ae0c8)&&!_0x40abc2['replace'](/^https?:\/\//,'')['match'](_0x2ae0c8)):()=>!0x1;}function V(_0x3e5ecf,_0x24a70d){return _0x30dcf9(_0x3e5ecf['target'])['includes'](_0x24a70d);}class j extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x11d3dc(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x91e752,_0x527a82,_0x55c9f4){super(),this['_editor']=_0x91e752,this['_editing']=_0x527a82,this['_dialog']=_0x91e752['plugins']['get'](_0x479684),this['_api']=_0x527a82['ctxElement']['getAPI'](),this['_type']=_0x55c9f4,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x30d042,model:_0x443bba}=this['_editor'],_0x55206a=_0x443bba['document']['selection']['getSelectedElement'](),_0x1701b6=_0x55206a&&(_0x55206a['is']('element','imageBlock')||_0x55206a['is']('element','imageInline'));this['_formView']=new O(_0x30d042,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x38cc43,'title':R(_0x30d042,this['_type'],_0x1701b6?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xdd4e71['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x17b8d5=>!V(_0x17b8d5,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x314a0a}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x344685=>{const _0x3be181=_0x314a0a['length'];for(const _0x1d49e8 of _0x314a0a){const _0x118fdd=_0x1d49e8===_0x314a0a[_0x3be181-0x1],{cdnUrl:_0x3a8d9f,fileInfo:_0x518469}=_0x1d49e8;if(!_0x3a8d9f||!_0x518469)continue;const {width:_0x453771,height:_0x1143d9}=_0x518469['imageInfo'],_0x32570e=F(_0x3a8d9f,_0x453771,_0x1143d9),_0x1f87cd=D(_0x3a8d9f,_0x32570e['width']),_0x1c6cbf={'id':_0x518469['uuid'],'type':'image','attributes':{'imageDimension':_0x32570e,..._0x1f87cd}};this['_insertAsset'](_0x1c6cbf,_0x118fdd,_0x344685);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x34488e=>{'idle'===_0x34488e['detail']['status']&&!_0x34488e['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===K['Local']?this['_api']['setCurrentActivity'](K['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x215a7a,_0x5c5b03,_0x36e89b){const _0x3aa73a=this['_editor']['model']['document']['selection'],_0x24abe0=_0x3aa73a['getSelectedElement'](),_0x360c08=!(!_0x24abe0||!_0x24abe0['is']('element','imageInline'));_0x36e89b['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x215a7a,_0x360c08),_0x5c5b03||_0x36e89b['setSelection'](_0x3aa73a['getLastPosition']());}['_insertImage'](_0x3d318c,_0xf67463){const _0x225e8b=this['_editor'],{imageDimension:_0x21f39b,imageFallbackUrl:_0x38c4f4,imageSources:_0x339444}=_0x3d318c['attributes'];_0x225e8b['execute']('insertImage',{'imageType':_0xf67463?'imageInline':null,'source':{'uploadcareImageId':_0x3d318c['id'],'src':_0x38c4f4,'sources':_0x339444,..._0x21f39b}});}}class M extends _0x20d127{['_editing'];['_controller']=null;static get['requires'](){return[_0x479684,z];}constructor(_0x5094a5){super(_0x5094a5),this['_editing']=_0x5094a5['plugins']['get'](z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2e987c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new j(this['editor'],this['_editing'],_0x2e987c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class q{static['upload']({file:_0x3fbe94,..._0x2ac7e2}){return _0x2a0406(_0x3fbe94,_0x2ac7e2);}static['getInfo'](_0x5d0c96,_0x18f60f){return _0x40f4c2(_0x5d0c96,_0x18f60f);}}class W extends _0xa7313f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x15dd7e,z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x524796=this['editor'];if(!!!_0x524796['config']['get']('uploadcare'))return;_0x524796['plugins']['get'](_0x15dd7e)['createUploadAdapter']=_0x5941a8=>new G(_0x5941a8,_0x524796),_0x524796['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5ccaa4,{imageElement:_0x2a488e,data:_0x297031})=>{_0x524796['model']['change'](_0x489850=>{_0x489850['setAttribute']('uploadcareImageId',_0x297031['uploadcareImageId'],_0x2a488e);});});}}class G{['loader'];['editor'];['controller'];constructor(_0x18bb85,_0x15cbba){this['loader']=_0x18bb85,this['editor']=_0x15cbba,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xd9d8ff=await this['loader']['file'];return q['upload']({'file':_0xd9d8ff,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x127e54=>{_0x127e54&&_0x127e54['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x127e54['value']);}})['then'](async _0x42dfcb=>{const {imageFallbackUrl:_0x564722,imageSources:_0x55e650}=D(_0x42dfcb['cdnUrl'],_0x42dfcb['imageInfo']['width']);return{'uploadcareImageId':_0x42dfcb['uuid'],'default':_0x564722,'sources':_0x55e650};})['catch'](()=>{const _0xd97f3f=t('Cannot\x20upload\x20file:')+('\x20'+_0xd9d8ff['name']+'.');return Promise['reject'](_0xd97f3f);});}['abort'](){this['controller']['abort']();}}class z extends _0xa7313f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',W,_0x479684];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3ada2d){super(_0x3ada2d),this['ucContextId']=_0x110a1a();}['init'](){const _0x523ece=this['editor'];_0x523ece['commands']['add']('uploadcare',new M(_0x523ece));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x525150=_0x3997ed['document']['querySelector']('input[uploadcare-file-input]');_0x525150&&_0x525150['remove']();}),async function(_0x307178){const _0x134122=_0x4f462f([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x1272bb=0x535f8c3a,_0x4e3276=0x5358f21a^_0x1272bb,_0x12cd19=window[_0x4f462f([0x44,0x61,0x74,0x65])][_0x4f462f([0x6e,0x6f,0x77])](),_0x426518=_0x307178[_0x4f462f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5f4126=new window[(_0x4f462f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a2cbe=>{_0x426518[_0x4f462f([0x6f,0x6e,0x63,0x65])](_0x4f462f([0x72,0x65,0x61,0x64,0x79]),_0x5a2cbe);}),_0x356a24={[_0x4f462f([0x6b,0x74,0x79])]:_0x4f462f([0x45,0x43]),[_0x4f462f([0x75,0x73,0x65])]:_0x4f462f([0x73,0x69,0x67]),[_0x4f462f([0x63,0x72,0x76])]:_0x4f462f([0x50,0x2d,0x32,0x35,0x36]),[_0x4f462f([0x78])]:_0x4f462f([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4f462f([0x79])]:_0x4f462f([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4f462f([0x61,0x6c,0x67])]:_0x4f462f([0x45,0x53,0x32,0x35,0x36])},_0x9fd2a8=_0x426518[_0x4f462f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f462f([0x67,0x65,0x74])](_0x4f462f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2aceca(){let _0x429af2,_0x38ae67=null,_0x4a9bfa=null;try{if(_0x9fd2a8==_0x4f462f([0x47,0x50,0x4c]))return _0x4f462f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x429af2=_0x3cc19e(),!_0x429af2)return _0x4f462f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x429af2[_0x4f462f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4a9bfa=_0x1fbbc3(_0x429af2[_0x4f462f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x429af2[_0x4f462f([0x6a,0x74,0x69])])),await _0x43e71c()?_0x59aee0()?_0x2ac229()?_0x4f462f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x23bb00()?(_0x429af2[_0x4f462f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f462f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38ae67=_0x18e0ca(_0x4f462f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x429af2[_0x4f462f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f462f([0x74,0x72,0x69,0x61,0x6c])&&(_0x38ae67=_0x18e0ca(_0x4f462f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ab445()):_0x4f462f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f462f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f462f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f462f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ac229(){const _0x47f5ef=[_0x4f462f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f462f([0x74,0x72,0x69,0x61,0x6c])][_0x4f462f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x429af2[_0x4f462f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12cd19/0x3e8:0xe10*_0x4e3276;return _0x429af2[_0x4f462f([0x65,0x78,0x70])]<_0x47f5ef;}function _0x59aee0(){const _0x47a9d0=_0x429af2[_0x4f462f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47a9d0&&(!!_0x47a9d0[_0x4f462f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f462f([0x2a]))||!!_0x47a9d0[_0x4f462f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f462f([0x55,0x50,0x4c,0x43])));}function _0x23bb00(){const _0x50de14=_0x429af2[_0x4f462f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50de14||0x0==_0x50de14[_0x4f462f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x32f4f2}=new URL(window[_0x4f462f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50de14[_0x4f462f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32f4f2))return!0x0;const _0x1682ce=_0x32f4f2[_0x4f462f([0x73,0x70,0x6c,0x69,0x74])](_0x4f462f([0x2e]));return _0x50de14[_0x4f462f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd5cd61=>_0xd5cd61[_0x4f462f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f462f([0x2a])))[_0x4f462f([0x6d,0x61,0x70])](_0x2273cc=>_0x2273cc[_0x4f462f([0x73,0x70,0x6c,0x69,0x74])](_0x4f462f([0x2e])))[_0x4f462f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xfa6155=>_0xfa6155[_0x4f462f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1682ce[_0x4f462f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f462f([0x6d,0x61,0x70])](_0x1317b7=>Array(_0x1682ce[_0x4f462f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1317b7[_0x4f462f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f462f([0x66,0x69,0x6c,0x6c])](_0x1317b7[0x0]===_0x4f462f([0x2a])?_0x4f462f([0x2a]):'')[_0x4f462f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1317b7))[_0x4f462f([0x73,0x6f,0x6d,0x65])](_0xdb7a99=>_0x1682ce[_0x4f462f([0x65,0x76,0x65,0x72,0x79])]((_0x421b7f,_0x3390c7)=>_0xdb7a99[_0x3390c7]===_0x421b7f||_0xdb7a99[_0x3390c7]===_0x4f462f([0x2a])));}function _0x5ab445(){return _0x38ae67&&_0x4a9bfa?new window[(_0x4f462f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58ba0f,_0x34a2ff)=>{_0x38ae67[_0x4f462f([0x74,0x68,0x65,0x6e])](_0x58ba0f,_0x34a2ff),_0x4a9bfa[_0x4f462f([0x74,0x68,0x65,0x6e])](_0x2f6b66=>{_0x2f6b66!=_0x4f462f([0x56,0x61,0x6c,0x69,0x64])&&_0x58ba0f(_0x2f6b66);},_0x34a2ff);}):_0x38ae67||_0x4a9bfa||_0x4f462f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1fbbc3(_0x338f15,_0x3ca8ba){return new window[(_0x4f462f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x377002=>{if(_0x12eebc())return _0x377002(_0x4f462f([0x56,0x61,0x6c,0x69,0x64]));_0x2c8bae(),_0x426518[_0x4f462f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f462f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cb766=!0x1;const _0x55e073=_0x110a1a();function _0x26645e(_0x140727){return!!_0x140727&&(typeof _0x140727===_0x4f462f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x140727===_0x4f462f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x140727[_0x4f462f([0x74,0x68,0x65,0x6e])]===_0x4f462f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x140727[_0x4f462f([0x63,0x61,0x74,0x63,0x68])]===_0x4f462f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x351cb4(_0x508d93){_0x2298b9(_0x508d93)[_0x4f462f([0x74,0x68,0x65,0x6e])](_0x58c66d=>{if(!_0x58c66d||_0x58c66d[_0x4f462f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f462f([0x6f,0x6b]))return _0x4f462f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d1fb0(_0x597bc9(_0x55e073+_0x3ca8ba))!=_0x58c66d[_0x4f462f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f462f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f462f([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f462f([0x74,0x68,0x65,0x6e])](_0x2d5934=>(_0x170e09(),_0x2d5934),()=>{const _0x221bb4=_0x266a2c();return null==_0x221bb4?(_0x170e09(),_0x4f462f([0x56,0x61,0x6c,0x69,0x64])):_0x4f462f(_0x12cd19-_0x221bb4>(0x7753083a^_0x1272bb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f462f([0x74,0x68,0x65,0x6e])](_0x377002)[_0x4f462f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x377002(_0x4f462f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57f69b=0x536962ba^_0x1272bb;function _0x170e09(){const _0x265aa3=_0x4f462f([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d1fb0(_0x597bc9(_0x338f15)),_0xaf878d=_0x309556(_0x5d1fb0(window[_0x4f462f([0x4d,0x61,0x74,0x68])][_0x4f462f([0x63,0x65,0x69,0x6c])](_0x12cd19/_0x57f69b)));window[_0x4f462f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f462f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x265aa3,_0xaf878d);}function _0x266a2c(){const _0x393d94=_0x4f462f([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d1fb0(_0x597bc9(_0x338f15)),_0x3774e3=window[_0x4f462f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f462f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x393d94);return _0x3774e3?window[_0x4f462f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x309556(_0x3774e3),0x10)*_0x57f69b:null;}function _0x2298b9(_0x407b84){return new window[(_0x4f462f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x582478,_0x589027)=>{_0x407b84[_0x4f462f([0x74,0x68,0x65,0x6e])](_0x582478,_0x589027),window[_0x4f462f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x589027,0x535e58fa^_0x1272bb);});}}_0x426518[_0x4f462f([0x6f,0x6e])](_0x4f462f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x40977e,_0x376802)=>{if(_0x376802[0x0]!=_0x338f15)return _0x377002(_0x4f462f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x376802[0x1]={..._0x376802[0x1],[_0x4f462f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x55e073};},{[_0x4f462f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f462f([0x68,0x69,0x67,0x68])}),_0x426518[_0x4f462f([0x6f,0x6e])](_0x4f462f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x36061d=>{_0x26645e(_0x36061d[_0x4f462f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cb766=!0x0,_0x351cb4(_0x36061d[_0x4f462f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f462f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f462f([0x6c,0x6f,0x77])}),_0x5f4126[_0x4f462f([0x74,0x68,0x65,0x6e])](()=>{_0x4cb766||_0x377002(_0x4f462f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12eebc(){return _0x426518[_0x4f462f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f462f([0x76,0x69,0x65,0x77])][_0x4f462f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f462f([0x61,0x75,0x74,0x6f]);}function _0x2c8bae(){_0x426518[_0x4f462f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f462f([0x76,0x69,0x65,0x77])][_0x4f462f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f462f([0x61,0x75,0x74,0x6f]);}}function _0x18e0ca(_0x51fc25){const _0x3addf0=[new window[(_0x4f462f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ffc1c=>setTimeout(_0x4ffc1c,0x5356b2f6^_0x1272bb)),_0x5f4126[_0x4f462f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f462f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x329e09=>{let _0xeb877=0x0;_0x426518[_0x4f462f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f462f([0x6f,0x6e])](_0x4f462f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a33fc,_0x927dcb)=>{_0x927dcb[0x0][_0x4f462f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xeb877++,_0xeb877==(0x535f89d2^_0x1272bb)&&(_0x329e09(),_0x1a33fc[_0x4f462f([0x6f,0x66,0x66])]());});}))];return window[_0x4f462f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f462f([0x72,0x61,0x63,0x65])](_0x3addf0)[_0x4f462f([0x74,0x68,0x65,0x6e])](()=>_0x51fc25);}async function _0x41baa3(){await _0x5f4126,_0x426518[_0x4f462f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f462f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x404bdb,_0x426518[_0x4f462f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f462f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x404bdb,_0x426518[_0x4f462f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f462f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x24e262(_0x59633d){const _0x450c08=_0x137791();_0x426518[_0x450c08]=_0x4f462f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x59633d,_0x59633d!=_0x4f462f([0x56,0x61,0x6c,0x69,0x64])&&_0x41baa3();}function _0x137791(){const _0x6687a6=window[_0x4f462f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f462f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f462f([0x6e,0x6f,0x77])]())[_0x4f462f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f462f([0x2e]),'');let _0x2b441c=_0x4f462f([0x68]);for(let _0x5b342d=0x0;_0x5b342d<_0x6687a6[_0x4f462f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b342d+=0x2){let _0x791baf=window[_0x4f462f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6687a6[_0x4f462f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b342d,_0x5b342d+0x2));_0x791baf>=_0x134122[_0x4f462f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x791baf-=_0x134122[_0x4f462f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b441c+=_0x134122[_0x791baf];}return _0x2b441c;}function _0x3cc19e(){const _0x3f1fcc=_0x9fd2a8[_0x4f462f([0x73,0x70,0x6c,0x69,0x74])](_0x4f462f([0x2e]));if(0x3!=_0x3f1fcc[_0x4f462f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2def86(_0x3f1fcc[0x1]);function _0x2def86(_0x195a94){const _0x41cc81=_0x40b923(_0x195a94);return _0x41cc81&&_0x32c043()?_0x41cc81:null;function _0x32c043(){const _0x35b670=_0x41cc81[_0x4f462f([0x6a,0x74,0x69])],_0x416e2f=window[_0x4f462f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35b670[_0x4f462f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35b670[_0x4f462f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x295af4={..._0x41cc81,[_0x4f462f([0x6a,0x74,0x69])]:_0x35b670[_0x4f462f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x35b670[_0x4f462f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x295af4[_0x4f462f([0x76,0x63])],_0x597bc9(_0x295af4)==_0x416e2f;}}}async function _0x43e71c(){let _0x2d5fc5=!0x0;try{const _0x2ab865=_0x9fd2a8[_0x4f462f([0x73,0x70,0x6c,0x69,0x74])](_0x4f462f([0x2e])),[_0x1a7d04,_0x35e128,_0x26f346]=_0x2ab865;return _0xfa4a26(_0x1a7d04),await _0xd2e69e(_0x1a7d04,_0x35e128,_0x26f346),_0x2d5fc5;}catch{return!0x1;}function _0xfa4a26(_0x47713b){const _0x511369=_0x40b923(_0x47713b);_0x511369&&_0x511369[_0x4f462f([0x61,0x6c,0x67])]==_0x4f462f([0x45,0x53,0x32,0x35,0x36])||(_0x2d5fc5=!0x1);}async function _0xd2e69e(_0x53b0f3,_0xb6119,_0x3941bc){const _0x2197e7=window[_0x4f462f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f462f([0x66,0x72,0x6f,0x6d])](_0x2a6d21(_0x3941bc),_0x913c7d=>_0x913c7d[_0x4f462f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x50f460=new window[(_0x4f462f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f462f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53b0f3+_0x4f462f([0x2e])+_0xb6119),_0x434089=window[_0x4f462f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f462f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x434089)return;const _0x1618c9=await _0x434089[_0x4f462f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f462f([0x6a,0x77,0x6b]),_0x356a24,{[_0x4f462f([0x6e,0x61,0x6d,0x65])]:_0x4f462f([0x45,0x43,0x44,0x53,0x41]),[_0x4f462f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f462f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f462f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x434089[_0x4f462f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f462f([0x6e,0x61,0x6d,0x65])]:_0x4f462f([0x45,0x43,0x44,0x53,0x41]),[_0x4f462f([0x68,0x61,0x73,0x68])]:{[_0x4f462f([0x6e,0x61,0x6d,0x65])]:_0x4f462f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1618c9,_0x2197e7,_0x50f460)||(_0x2d5fc5=!0x1);}}function _0x40b923(_0x5337da){return _0x5337da[_0x4f462f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f462f([0x65,0x79]))?JSON[_0x4f462f([0x70,0x61,0x72,0x73,0x65])](_0x2a6d21(_0x5337da)):null;}function _0x2a6d21(_0x5924c4){return window[_0x4f462f([0x61,0x74,0x6f,0x62])](_0x5924c4[_0x4f462f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f462f([0x2b]))[_0x4f462f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f462f([0x2f])));}function _0x597bc9(_0x1f2e98){let _0x14d1f3=0x1505;function _0xff13c9(_0x1ac209){for(let _0x43730f=0x0;_0x43730f<_0x1ac209[_0x4f462f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43730f++){const _0x50a8c0=_0x1ac209[_0x4f462f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x43730f);_0x14d1f3=(_0x14d1f3<<0x5)+_0x14d1f3+_0x50a8c0,_0x14d1f3&=_0x14d1f3;}}function _0x17b7c6(_0x19e773){Array[_0x4f462f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19e773)?_0x19e773[_0x4f462f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17b7c6):_0x19e773&&typeof _0x19e773==_0x4f462f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f462f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19e773)[_0x4f462f([0x73,0x6f,0x72,0x74])]()[_0x4f462f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3333d6,_0x5efe65])=>{_0xff13c9(_0x3333d6),_0x17b7c6(_0x5efe65);}):_0xff13c9(window[_0x4f462f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19e773));}return _0x17b7c6(_0x1f2e98),_0x14d1f3>>>0x0;}function _0x5d1fb0(_0xb6d900){return _0xb6d900[_0x4f462f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f462f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f462f([0x30]));}function _0x309556(_0x278e2d){return _0x278e2d[_0x4f462f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f462f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f462f([0x6a,0x6f,0x69,0x6e])]('');}function _0x404bdb(){}function _0x4f462f(_0x168cf3){return _0x168cf3['map'](_0x32dc5e=>String['fromCharCode'](_0x32dc5e))['join']('');}_0x24e262(await _0x2aceca());}(this);}['_initSchema'](){const _0x343f57=this['editor']['model']['schema'];_0x343f57['isRegistered']('imageBlock')&&_0x343f57['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x343f57['isRegistered']('imageInline')&&_0x343f57['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x390a96=this['editor'];_0x390a96['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x390a96['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xef2155=>_0xef2155['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5f3ac0=_0x390a96['commands']['get']('replaceImageSource');_0x5f3ac0&&this['listenTo'](_0x5f3ac0,'cleanupImage',(_0x1c9028,[_0xc6df40,_0x3a36b7])=>{_0xc6df40['removeAttribute']('uploadcareImageId',_0x3a36b7);});}['_initConfig'](){const _0x15aafc=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4f75d4=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4aaac7(_0x3997ed['document'],'uc-config',{..._0x15aafc,'pubkey':_0x4f75d4,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x48e635=>{if('closeMax'==_0x48e635)return'#uc-icon-arrow-down';},_0x3997ed['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4aaac7(_0x3997ed['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3997ed['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x8f440c=this['editor']['commands']['get']('insertImage');_0x8f440c&&this['listenTo'](_0x8f440c,'execute',()=>{const _0x274537=this['editor']['model']['document']['selection']['getSelectedElement']();_0x274537&&_0x274537['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x274537);});});const _0x5dd39e=this['editor']['commands']['get']('uploadcareImageReplace');_0x5dd39e&&this['listenTo'](_0x5dd39e,'execute',()=>{const _0x338752=this['editor']['model']['document']['selection']['getSelectedElement']();_0x338752&&_0x338752['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x338752);});});}}class H extends _0xa7313f{static get['requires'](){return[z,S];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x81295a){super(_0x81295a),_0x81295a['config']['define']('uploadcare.uploader.sourceList',[K['Local'],K['URL']]),_0x53a18b['defineComponents'](_0x53a18b),this['_defineLocale']();}['_defineLocale'](){const _0x12a919=this['editor']['config']['get']('uploadcare.locale'),_0x1cec24=this['editor']['locale']['contentLanguage'];_0x12a919&&_0x53a18b['defineLocale'](_0x1cec24,_0x12a919);}}class J extends _0xcae530{constructor(_0x85725f){super(_0x85725f);const t=_0x85725f['t'],_0x560c12=this['bindTemplate'],_0x5a75a2=new _0x523e4d();_0x5a75a2['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x5a75a2,{'text':_0x560c12['to']('imageUploadProgress',_0x1b749e=>t('Loading\x20image...')+'\x20('+(_0x1b749e||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class Z extends _0xcae530{constructor(_0x1e7b5c){super(_0x1e7b5c);const t=_0x1e7b5c['t'];this['set']('errorType',null);const _0x208574=new _0x33cbd5(_0x1e7b5c);_0x208574['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x208574['withText']=!0x0,_0x208574['class']='ck-button-action',_0x208574['on']('execute',()=>{this['fire']('retry');}),_0x208574['bind']('isVisible')['to'](this,'errorType',_0x46534f=>'NotFound'!==_0x46534f);const _0x421b9f=new _0x3b03f7();_0x421b9f['content']=_0xc3e620,_0x421b9f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x16a94=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x421b9f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x16a94['to']('errorType',_0x2daafa=>t('NotFound'!==_0x2daafa?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x208574]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class Q extends _0xcae530{constructor(_0x303db3,_0x3c5936){super(_0x303db3);const _0x5a2bce=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3c5936,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5a2bce['to']('imageSrc')}});}}class X extends A{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xf3b72f,_0xf58605,_0x5a7cb5){super(_0xf3b72f),this['_items']=this['createCollection'](),this['_loadingView']=new J(_0xf3b72f),this['_errorView']=new Z(_0xf3b72f),this['_editingView']=new Q(_0xf3b72f,_0x5a7cb5),this['_focusableView']=new _0xcae530(_0xf3b72f),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0xf58605),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x529af0=>{this['_addUploadcareImageEditorListeners'](_0x529af0);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x4f73c9,_0x3267b8){const _0x4a9f95='uc-cloud-image-editor',_0x19af70=_0x4f73c9['querySelector'](_0x4a9f95);if(_0x19af70)return _0x3267b8(_0x19af70);const _0x2abba4=new MutationObserver(_0x4f48e5=>{const _0x42bd2b=_0x4f48e5['filter'](_0x1dcb72=>_0x1dcb72['target']===_0x4f73c9&&_0x1dcb72['addedNodes']['length']>0x0&&_0x1dcb72['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4a9f95);_0x42bd2b['length']&&(_0x2abba4['disconnect'](),_0x3267b8(_0x42bd2b[0x0]['addedNodes'][0x0]));});_0x2abba4['observe'](_0x4f73c9,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x52beb0){_0x52beb0['addEventListener']('apply',_0x1d1c92=>{this['fire']('apply',{'imageSrc':_0x1d1c92['detail']['cdnUrl']});}),_0x52beb0['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class Y extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x11d3dc(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xc72b7e,_0x4ec740,_0x3fa4b7){super(),this['_editor']=_0xc72b7e,this['_dialog']=_0x4ec740,this['_imageElement']=_0x3fa4b7,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x5d91a3=this['_imageElement'],_0x548a0e=_0x5d91a3['getAttribute']('uploadcareImageId'),_0x5e530a=_0x5d91a3['getAttribute']('src');if(_0x548a0e)await this['_loadImageInfo'](_0x548a0e,_0x5e530a);else{if(this['_imageCache']['has'](_0x5e530a)){const _0x3a322c=this['_imageCache']['get'](_0x5e530a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a322c['url'],this['imageDimension']=_0x3a322c['dimension'],this['imageId']=_0x3a322c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x56dfa6}=this['_editor'],t=_0x56dfa6['t'],_0x689d31=new X(_0x56dfa6,this['imageStatus'],this['_attributes']);_0x689d31['bind']('status')['to'](this,'imageStatus'),_0x689d31['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x689d31['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x689d31['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x689d31,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2622f3,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x689d31,'position':_0xdd4e71['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x689d31['focus']();},'onHide':()=>{_0x689d31['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x464d97=>!V(_0x464d97,_0x689d31['element'])}});}['_loadImageInfo'](_0x2a4860,_0x214078){return q['getInfo'](_0x2a4860,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2a9f67=>{const {width:_0x39ab48,height:_0x20997c}=_0x2a9f67['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x214078,this['imageDimension']={'width':_0x39ab48,'height':_0x20997c},this['imageId']=_0x2a4860;})['catch'](_0x130cd3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x130cd3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3decdd,_0x59290a){return this['_getImageAsFile'](_0x3decdd)['then'](_0x263012=>q['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x59290a['signal'],'file':_0x263012,'onProgress':_0x51ccbe=>{_0x51ccbe&&_0x51ccbe['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x51ccbe['value']));}}))['then'](_0x44d024=>{const {width:_0x25237b,height:_0x48a5a0}=_0x44d024['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x44d024['cdnUrl'],this['imageDimension']={'width':_0x25237b,'height':_0x48a5a0},this['imageId']=_0x44d024['uuid'],this['imageUploadProgress']=null;const _0x3c48ef=_0x3decdd['getAttribute']('src');this['_imageCache']['set'](_0x3c48ef,{'id':_0x44d024['uuid'],'url':_0x44d024['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5d72b3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5d72b3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2a08e1,_0x17182c){_0x2a08e1['on']('apply',(_0x490e58,_0x412b3d)=>{this['_replaceImage'](_0x17182c,_0x412b3d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2a08e1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2a08e1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x9248da,_0x3b7357,_0x21d853){const _0x419aef=this['_editor'],{width:_0x37ee8d,height:_0x2c5e5d}=F(_0x3b7357,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x224caa,imageSources:_0x2ffa37}=D(_0x3b7357,_0x37ee8d);_0x419aef['model']['change'](_0x202f0e=>{if('$graveyard'===_0x9248da['root']['rootName']){_0x419aef['execute']('insertImage',{'imageType':_0x9248da['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x9248da['getAttributes']()),'uploadcareImageId':_0x21d853,'src':_0x224caa,'sources':_0x2ffa37,'width':_0x37ee8d,'height':_0x2c5e5d}});const _0x120b6e=_0x9248da['getChildren']();_0x9248da=_0x419aef['model']['document']['selection']['getSelectedElement']();for(const _0x367ef4 of _0x120b6e)_0x202f0e['append'](_0x202f0e['cloneElement'](_0x367ef4),_0x9248da);}else _0x202f0e['setSelection'](_0x9248da,'on'),_0x419aef['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x9248da['getAttributes']()),'uploadcareImageId':_0x21d853,'src':_0x224caa,'sources':_0x2ffa37,'width':_0x37ee8d,'height':_0x2c5e5d},_0x9248da);_0x202f0e['setSelection'](_0x9248da,'on');});}async['_getImageAsFile'](_0x2ec6ca){const _0x337327=_0x3997ed['window'],_0x4c3afa=_0x3997ed['document']['location']['href'],_0x196737=new _0x337327['URL'](_0x2ec6ca['getAttribute']('src'),_0x4c3afa);if('data:'===_0x196737['protocol']){const _0x46825e=_0x196737['href']['split'](','),_0x32bd08=_0x46825e[0x0]['match'](/:(.*?);/)[0x1],_0x2d01fd=_0x32bd08['split']('/')[0x1],_0x3dbfd5=_0x337327['atob'](_0x46825e[_0x46825e['length']-0x1]);let _0x19ebe2=_0x3dbfd5['length'];const _0x585911=new _0x337327['Uint8Array'](_0x19ebe2);for(;_0x19ebe2--;)_0x585911[_0x19ebe2]=_0x3dbfd5['charCodeAt'](_0x19ebe2);return new _0x337327['File']([_0x585911],'image.'+_0x2d01fd,{'type':_0x32bd08});}const _0x1e1f4d=_0x196737['href']['split']('/'),_0x1d0c92=_0x1e1f4d[_0x1e1f4d['length']-0x1],_0x126552=_0x1d0c92['split']('.')[0x1];return _0x337327['fetch'](_0x196737['href'])['then'](_0x2856fa=>_0x2856fa['clone']()['blob']())['then'](_0x844178=>new _0x337327['File']([_0x844178],_0x1d0c92,{'type':'image/'+_0x126552}));}}class tt extends _0x20d127{['imageEditController'];static get['requires'](){return[_0x479684];}['_isEditable'];constructor(_0x50904d){super(_0x50904d),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5a517d){const _0x4d6f2e=B(_0x5a517d);return _0x5e77c5=>!(!_0x5e77c5||!_0x5e77c5['is']('element','imageBlock')&&!_0x5e77c5['is']('element','imageInline'))&&(!!_0x5e77c5['hasAttribute']('uploadcareImageId')||!!_0x5e77c5['hasAttribute']('src')&&_0x4d6f2e(_0x5e77c5['getAttribute']('src')));}(_0x50904d['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x213671=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x213671);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2b2faf=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2b2faf&&(_0x2b2faf['is']('element','imageBlock')||_0x2b2faf['is']('element','imageInline'))&&(this['imageEditController']=new Y(this['editor'],this['editor']['plugins']['get'](_0x479684),_0x2b2faf),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class et extends _0x20d127{['refresh'](){const _0x12e250=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x12e250&&(_0x12e250['is']('element','imageBlock')||_0x12e250['is']('element','imageInline')));}['execute'](_0x194a0f){const _0x1e216a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3ba9c1=>{_0x3ba9c1['setAttributes'](_0x194a0f,_0x1e216a),_0x3ba9c1['removeAttribute']('srcset',_0x1e216a),_0x3ba9c1['removeAttribute']('sizes',_0x1e216a);});}}class it extends _0xa7313f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[z,_0xe7f899,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x51b56e}=this;_0x51b56e['commands']['add']('uploadcareImageEdit',new tt(_0x51b56e)),_0x51b56e['commands']['add']('uploadcareImageReplace',new et(_0x51b56e));}}class st extends _0xa7313f{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x5ac267=this['editor'];_0x5ac267['ui']['componentFactory']['add']('uploadcareImageEdit',_0x34251d=>{const _0x3dd0d8=_0x5ac267['commands']['get']('uploadcareImageEdit'),_0x27de86=new _0x33cbd5(_0x34251d),t=_0x34251d['t'];return _0x27de86['set']({'icon':_0x2622f3,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x27de86['bind']('isEnabled')['to'](_0x3dd0d8),_0x27de86['bind']('isOn')['to'](_0x3dd0d8,'isActive'),this['listenTo'](_0x27de86,'execute',()=>{_0x5ac267['execute']('uploadcareImageEdit'),_0x5ac267['editing']['view']['focus']();}),_0x27de86;}),this['_initConfig']();}['_initConfig'](){const _0xe6d176=_0x4aaac7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xe6d176),this['listenTo'](this['editor'],'destroy',()=>{_0xe6d176['remove']();});}}class nt extends _0xa7313f{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[it,st];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{H as Uploadcare,M as UploadcareCommand,z as UploadcareEditing,nt as UploadcareImageEdit,tt as UploadcareImageEditCommand,it as UploadcareImageEditEditing,st as UploadcareImageEditUI,S as UploadcareUI,W as UploadcareUploadAdapter};
|
|
23
|
+
import{Plugin as _0x563d32,Command as _0x340173}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0xc1ba55,IconGooglePhotos as _0x2d458a,IconGoogleDrive as _0x319f48,IconFacebook as _0x31b73a,IconDropbox as _0x4d8829,IconUploadcareLink as _0x5308aa,IconUploadcareImageUpload as _0x5019ae,IconError as _0x1cd0c4,IconUploadcareImageEdit as _0x14ca36}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xc28d4f,MenuBarMenuListItemButtonView as _0x26275d,View as _0x12e055,FocusCycler as _0x1f8da5,Dialog as _0x58e17d,DialogViewPosition as _0x4f83bd,SpinnerView as _0x13d23f,IconView as _0x3f7b31,Notification as _0x5df520}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x226452,DomEmitterMixin as _0x65b6d9,global as _0x18328e,getAncestors as _0x43ba8f,ObservableMixin as _0x9f08b1,uid as _0x469bd6,createElement as _0x3f310}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2e178d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3212b1,info as _0x5cc00e}from'@uploadcare/upload-client';import*as _0x2a34cf from'@uploadcare/file-uploader';var S=function(_0x1e2340){return _0x1e2340['Local']='local',_0x1e2340['URL']='url',_0x1e2340['Dropbox']='dropbox',_0x1e2340['GDrive']='gdrive',_0x1e2340['Facebook']='facebook',_0x1e2340['GPhotos']='gphotos',_0x1e2340['OneDrive']='onedrive',_0x1e2340;}({});function T(_0x2a9c81,_0x1bf9e4,_0x595a1c){const t=_0x2a9c81['t'],_0x19c9e0=_0x2a9c81['t'];switch(_0x1bf9e4){case S['Local']:return{'text':_0x19c9e0('Insert'===_0x595a1c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x19c9e0('From\x20computer')};case S['URL']:return{'text':'Insert'===_0x595a1c?_0x19c9e0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x19c9e0('Via\x20URL')};case S['Dropbox']:return{'text':t('Insert'===_0x595a1c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case S['Facebook']:return{'text':t('Insert'===_0x595a1c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case S['GDrive']:return{'text':t('Insert'===_0x595a1c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case S['GPhotos']:return{'text':t('Insert'===_0x595a1c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case S['OneDrive']:return{'text':t('Insert'===_0x595a1c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1bf9e4;}}class A extends _0x563d32{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x266b70=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4bace0;for(const _0x39a775 in _0x266b70){const _0x3f9770=_0x39a775,_0x1812ae=_0x266b70[_0x3f9770];if('uploadcareLicenseKeyValid'==_0x1812ae||'uploadcareLicenseKeyInvalid'==_0x1812ae||'uploadcareLicenseKeyExpired'==_0x1812ae||'uploadcareLicenseKeyDomainLimit'==_0x1812ae||'uploadcareLicenseKeyNotAllowed'==_0x1812ae||'uploadcareLicenseKeyEvaluationLimit'==_0x1812ae||'uploadcareLicenseKeyUsageLimit'==_0x1812ae){delete _0x266b70[_0x3f9770],_0x4bace0=_0x1812ae,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4bace0&&_0x266b70['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4bace0&&_0x266b70['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4bace0&&_0x266b70['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4bace0&&_0x266b70['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4bace0&&_0x266b70['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4bace0&&_0x266b70['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x25678d}=this,_0x1ef9da=_0x25678d['commands']['get']('uploadcare');if(!_0x1ef9da)return;const _0x1344fa=this['_normalizeConfigSourceList'](_0x25678d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2ae337,_0x489383)=>{const _0x26adff=this['_getIntegrationKey'](_0x489383['type']);return _0x2ae337[_0x26adff]||(_0x2ae337[_0x26adff]=[]),_0x2ae337[_0x26adff]['push'](_0x489383),_0x2ae337;},{});_0x25678d['plugins']['has']('ImageInsertUI')&&_0x25678d['commands']['get']('uploadcare')&&Object['entries'](_0x1344fa)['forEach'](([_0x34a90c,_0x4955fe])=>{_0x25678d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x34a90c,'observable':()=>_0x1ef9da,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4955fe),'formViewCreator':()=>this['_createDropdownButtons'](_0x4955fe),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4955fe),'override':'assetManager'!==_0x34a90c});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x6d2826){const {locale:_0xd1e9d9}=this['editor'];return _0x6d2826['map'](_0x32d3ee=>{const _0x5b54ce=T(_0xd1e9d9,_0x32d3ee,'Insert');switch(_0x32d3ee){case S['Local']:return{'icon':_0x5019ae,'type':S['Local'],..._0x5b54ce};case S['URL']:return{'icon':_0x5308aa,'type':S['URL'],..._0x5b54ce};case S['Dropbox']:return{'icon':_0x4d8829,'type':S['Dropbox'],..._0x5b54ce};case S['Facebook']:return{'icon':_0x31b73a,'type':S['Facebook'],..._0x5b54ce};case S['GDrive']:return{'icon':_0x319f48,'type':S['GDrive'],..._0x5b54ce};case S['GPhotos']:return{'icon':_0x2d458a,'type':S['GPhotos'],..._0x5b54ce};case S['OneDrive']:return{'icon':_0xc1ba55,'type':S['OneDrive'],..._0x5b54ce};}});}['_getIntegrationKey'](_0x1e97c1){switch(_0x1e97c1){case S['Local']:return'upload';case S['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x156ef6,_0x23d0ae){const _0xdc7f90=this['editor'],_0xf40180=new _0x156ef6(_0xdc7f90['locale']),_0x2b72b3=_0xdc7f90['commands']['get']('uploadcare');return _0xf40180['bind']('isEnabled')['to'](_0x2b72b3),_0xf40180['on']('execute',()=>{_0x2b72b3['execute'](_0x23d0ae);}),_0xf40180;}['_createToolbarButton'](_0x5f2b35){const {locale:_0x4ca4be}=this['editor'],_0x398be0=this['editor']['plugins']['get']('ImageInsertUI'),_0x346d24=_0x5f2b35[0x0],_0x52607b=this['_createButton'](_0xc28d4f,_0x346d24['type']);return _0x52607b['icon']=_0x346d24['icon'],_0x52607b['bind']('label')['to'](_0x398be0,'isImageSelected',_0x4a668f=>T(_0x4ca4be,_0x346d24['type'],_0x4a668f?'Replace':'Insert')['text']),_0x52607b['tooltip']=!0x0,_0x52607b;}['_createDropdownButtons'](_0x2fe3f0){const {locale:_0x19ae44}=this['editor'],_0x3d2e68=this['editor']['plugins']['get']('ImageInsertUI');return _0x2fe3f0['map'](_0x47b832=>{const _0x30c1f7=this['_createButton'](_0xc28d4f,_0x47b832['type']);return _0x30c1f7['withText']=!0x0,_0x30c1f7['icon']=_0x47b832['icon'],_0x30c1f7['bind']('label')['to'](_0x3d2e68,'isImageSelected',_0x2717fe=>T(_0x19ae44,_0x47b832['type'],_0x2717fe?'Replace':'Insert')['text']),_0x30c1f7;});}['_createMenuBarButtons'](_0x35cbcc){return _0x35cbcc['map'](_0x36507c=>{const _0x4a67c7=this['_createButton'](_0x26275d,_0x36507c['type']);return _0x4a67c7['icon']=_0x36507c['icon'],_0x4a67c7['label']=_0x36507c['shortText'],_0x4a67c7;});}}class K extends _0x12e055{['focusTracker'];['focusCycler'];constructor(_0x30174f){super(_0x30174f),this['focusTracker']=new _0x226452(),this['focusCycler']=new _0x1f8da5({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class O extends K{constructor(_0xb5fa3e,_0x239c12){super(_0xb5fa3e),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x239c12}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function D(_0x33dc6c,_0x8d0ef3){const _0x33d015=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x372327=>_0x372327<=_0x8d0ef3)['map'](_0x286637=>_0x33dc6c['replace'](/\/$/,'')+'/-/resize/'+_0x286637+'x/\x20'+_0x286637+'w');return{'imageFallbackUrl':_0x33dc6c,'imageSources':[{'srcset':_0x33d015['join'](',\x20'),'sizes':'(max-width:\x20'+_0x8d0ef3+'px)\x20100vw,\x20'+_0x8d0ef3+'px','type':'image/webp'}]};}function F(_0x1a980a,_0x309a23,_0x351b66){const _0x4a501e=_0x1a980a['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4a501e?parseInt(_0x4a501e[0x1],0xa):_0x309a23,'height':_0x4a501e?parseInt(_0x4a501e[0x2],0xa):_0x351b66};}function $(_0x336ae6,_0x21cec5){const _0x2a7c27=new(_0x65b6d9())(),_0x1affff=_0x336ae6['plugins']['get']('ImageUtils'),_0x6424b=_0x336ae6['editing']['mapper']['toViewElement'](_0x21cec5),_0x250b0a=_0x1affff['findViewImgElement'](_0x6424b),_0x31e47a=_0x336ae6['editing']['view']['domConverter']['viewToDom'](_0x250b0a),_0x1b09d0=_0x21cec5['getAttribute']('width'),_0x4fcce2=_0x21cec5['getAttribute']('height'),_0x2adced='image-processing';_0x336ae6['editing']['view']['change'](_0x14f298=>{_0x14f298['addClass'](_0x2adced,_0x6424b),_0x14f298['setStyle']('aspect-ratio',_0x1b09d0+'/'+_0x4fcce2,_0x250b0a);}),_0x2a7c27['listenTo'](_0x31e47a,'load',()=>{_0x2a7c27['stopListening'](_0x31e47a,'load'),_0x336ae6['editing']['view']['change'](_0x4f500b=>{_0x4f500b['removeClass'](_0x2adced,_0x6424b),_0x4f500b['removeStyle']('aspect-ratio',_0x250b0a);});});}function B(_0x3be910){if(Array['isArray'](_0x3be910)){const _0x10f79a=_0x3be910['map'](B);return _0xb13723=>_0x10f79a['some'](_0x8d7753=>_0x8d7753(_0xb13723));}if('origin'==_0x3be910){const _0x4fcac2=_0x18328e['window']['location']['origin'];return _0x1081bf=>new URL(_0x1081bf,_0x18328e['document']['baseURI'])['origin']==_0x4fcac2;}return'function'==typeof _0x3be910?_0x3be910:_0x3be910 instanceof RegExp?_0x599df4=>!(!_0x599df4['match'](_0x3be910)&&!_0x599df4['replace'](/^https?:\/\//,'')['match'](_0x3be910)):()=>!0x1;}function V(_0x41b0e9,_0x263638){return _0x43ba8f(_0x41b0e9['target'])['includes'](_0x263638);}class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x9f08b1(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x101110,_0xa7accd,_0x3ae433){super(),this['_editor']=_0x101110,this['_editing']=_0xa7accd,this['_dialog']=_0x101110['plugins']['get'](_0x58e17d),this['_api']=_0xa7accd['ctxElement']['getAPI'](),this['_type']=_0x3ae433,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0xdd8524,model:_0x419f30}=this['_editor'],_0x5b7cef=_0x419f30['document']['selection']['getSelectedElement'](),_0x174380=_0x5b7cef&&(_0x5b7cef['is']('element','imageBlock')||_0x5b7cef['is']('element','imageInline'));this['_formView']=new O(_0xdd8524,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5019ae,'title':T(_0xdd8524,this['_type'],_0x174380?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4f83bd['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3e9248=>!V(_0x3e9248,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x14e7d7}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xa8c3dc=>{const _0x14b110=_0x14e7d7['length'];for(const _0x558fde of _0x14e7d7){const _0x4876be=_0x558fde===_0x14e7d7[_0x14b110-0x1],{cdnUrl:_0xcae523,fileInfo:_0x5279bc}=_0x558fde;if(!_0xcae523||!_0x5279bc)continue;const {width:_0x5eadd6,height:_0x5335fa}=_0x5279bc['imageInfo'],_0x36f9d0=F(_0xcae523,_0x5eadd6,_0x5335fa),_0x5f1823=D(_0xcae523,_0x36f9d0['width']),_0x1cd474={'id':_0x5279bc['uuid'],'type':'image','attributes':{'imageDimension':_0x36f9d0,..._0x5f1823}};this['_insertAsset'](_0x1cd474,_0x4876be,_0xa8c3dc);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xd51b0d=>{'idle'===_0xd51b0d['detail']['status']&&!_0xd51b0d['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===S['Local']?this['_api']['setCurrentActivity'](S['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x57b3dc,_0x11a436,_0x1a1bac){const _0x2cc56f=this['_editor']['model']['document']['selection'],_0x18e179=_0x2cc56f['getSelectedElement'](),_0xdaa721=!(!_0x18e179||!_0x18e179['is']('element','imageInline'));_0x1a1bac['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x57b3dc,_0xdaa721),_0x11a436||_0x1a1bac['setSelection'](_0x2cc56f['getLastPosition']());}['_insertImage'](_0x4e58e3,_0x778687){const _0x1f53ec=this['_editor'],{imageDimension:_0x556472,imageFallbackUrl:_0x5c731a,imageSources:_0x2c3a49}=_0x4e58e3['attributes'];_0x1f53ec['execute']('insertImage',{'imageType':_0x778687?'imageInline':null,'source':{'uploadcareImageId':_0x4e58e3['id'],'src':_0x5c731a,'sources':_0x2c3a49,..._0x556472}});}}class M extends _0x340173{['_editing'];['_controller']=null;static get['requires'](){return[_0x58e17d,z];}constructor(_0x26816b){super(_0x26816b),this['_editing']=_0x26816b['plugins']['get'](z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x205a12){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new j(this['editor'],this['_editing'],_0x205a12);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class q{static['upload']({file:_0x5082e8,..._0x3722ed}){return _0x3212b1(_0x5082e8,_0x3722ed);}static['getInfo'](_0x48c709,_0x29ceae){return _0x5cc00e(_0x48c709,_0x29ceae);}}class W extends _0x563d32{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2e178d,z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2aa819=this['editor'];if(!!!_0x2aa819['config']['get']('uploadcare'))return;_0x2aa819['plugins']['get'](_0x2e178d)['createUploadAdapter']=_0x2a2186=>new G(_0x2a2186,_0x2aa819),_0x2aa819['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x344af0,{imageElement:_0x4a610c,data:_0x518203})=>{_0x2aa819['model']['change'](_0x30069b=>{_0x30069b['setAttribute']('uploadcareImageId',_0x518203['uploadcareImageId'],_0x4a610c);});});}}class G{['loader'];['editor'];['controller'];constructor(_0x32d07d,_0x444148){this['loader']=_0x32d07d,this['editor']=_0x444148,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x270348=await this['loader']['file'];return q['upload']({'file':_0x270348,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x5a5968=>{_0x5a5968&&_0x5a5968['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5a5968['value']);}})['then'](async _0x555deb=>{const {imageFallbackUrl:_0x4b0461,imageSources:_0x2d6570}=D(_0x555deb['cdnUrl'],_0x555deb['imageInfo']['width']);return{'uploadcareImageId':_0x555deb['uuid'],'default':_0x4b0461,'sources':_0x2d6570};})['catch'](()=>{const _0x26be6c=t('Cannot\x20upload\x20file:')+('\x20'+_0x270348['name']+'.');return Promise['reject'](_0x26be6c);});}['abort'](){this['controller']['abort']();}}class z extends _0x563d32{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',W,_0x58e17d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x36380b){super(_0x36380b),this['ucContextId']=_0x469bd6();}['init'](){const _0x209bc9=this['editor'];_0x209bc9['commands']['add']('uploadcare',new M(_0x209bc9));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x40f235=_0x18328e['document']['querySelector']('input[uploadcare-file-input]');_0x40f235&&_0x40f235['remove']();}),async function(_0x222ae8){const _0x4096d8=_0x529110([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x4f2699=0x535f8c3a,_0x17275d=0x5358f202^_0x4f2699,_0x25d9a0=window[_0x529110([0x44,0x61,0x74,0x65])][_0x529110([0x6e,0x6f,0x77])](),_0x56922b=_0x222ae8[_0x529110([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3737dd=new window[(_0x529110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8d7c5d=>{_0x56922b[_0x529110([0x6f,0x6e,0x63,0x65])](_0x529110([0x72,0x65,0x61,0x64,0x79]),_0x8d7c5d);}),_0x200a5f={[_0x529110([0x6b,0x74,0x79])]:_0x529110([0x45,0x43]),[_0x529110([0x75,0x73,0x65])]:_0x529110([0x73,0x69,0x67]),[_0x529110([0x63,0x72,0x76])]:_0x529110([0x50,0x2d,0x32,0x35,0x36]),[_0x529110([0x78])]:_0x529110([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x529110([0x79])]:_0x529110([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x529110([0x61,0x6c,0x67])]:_0x529110([0x45,0x53,0x32,0x35,0x36])},_0x322a59=_0x56922b[_0x529110([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x529110([0x67,0x65,0x74])](_0x529110([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4633db(){let _0x472f44,_0x36f8fe=null,_0x27de90=null;try{if(_0x322a59==_0x529110([0x47,0x50,0x4c]))return _0x529110([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x472f44=_0x202326(),!_0x472f44)return _0x529110([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x472f44[_0x529110([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27de90=_0x9e5f92(_0x472f44[_0x529110([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x472f44[_0x529110([0x6a,0x74,0x69])])),await _0x4d94e3()?_0x33838e()?_0x29fd4c()?_0x529110([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xae44eb()?(_0x472f44[_0x529110([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x529110([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36f8fe=_0x1f5afa(_0x529110([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1554e3()):_0x529110([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x529110([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x529110([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x529110([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29fd4c(){const _0x2bc49e=[_0x529110([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x529110([0x74,0x72,0x69,0x61,0x6c])][_0x529110([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x472f44[_0x529110([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x25d9a0/0x3e8:0xe10*_0x17275d;return _0x472f44[_0x529110([0x65,0x78,0x70])]<_0x2bc49e;}function _0x33838e(){const _0xc4fdba=_0x472f44[_0x529110([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xc4fdba&&(!!_0xc4fdba[_0x529110([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x529110([0x2a]))||!!_0xc4fdba[_0x529110([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x529110([0x55,0x50,0x4c,0x43])));}function _0xae44eb(){const _0x2f8e78=_0x472f44[_0x529110([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2f8e78||0x0==_0x2f8e78[_0x529110([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2548b6}=new URL(window[_0x529110([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2f8e78[_0x529110([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2548b6))return!0x0;const _0x8045c0=_0x2548b6[_0x529110([0x73,0x70,0x6c,0x69,0x74])](_0x529110([0x2e]));return _0x2f8e78[_0x529110([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e00c8=>_0x5e00c8[_0x529110([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x529110([0x2a])))[_0x529110([0x6d,0x61,0x70])](_0x1d0459=>_0x1d0459[_0x529110([0x73,0x70,0x6c,0x69,0x74])](_0x529110([0x2e])))[_0x529110([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52857d=>_0x52857d[_0x529110([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x8045c0[_0x529110([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x529110([0x6d,0x61,0x70])](_0x1bc1bc=>Array(_0x8045c0[_0x529110([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1bc1bc[_0x529110([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x529110([0x66,0x69,0x6c,0x6c])](_0x1bc1bc[0x0]===_0x529110([0x2a])?_0x529110([0x2a]):'')[_0x529110([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1bc1bc))[_0x529110([0x73,0x6f,0x6d,0x65])](_0x1d2653=>_0x8045c0[_0x529110([0x65,0x76,0x65,0x72,0x79])]((_0x4e1ec5,_0x3e880f)=>_0x1d2653[_0x3e880f]===_0x4e1ec5||_0x1d2653[_0x3e880f]===_0x529110([0x2a])));}function _0x1554e3(){return _0x36f8fe&&_0x27de90?new window[(_0x529110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fd099,_0x534de9)=>{_0x36f8fe[_0x529110([0x74,0x68,0x65,0x6e])](_0x3fd099,_0x534de9),_0x27de90[_0x529110([0x74,0x68,0x65,0x6e])](_0x81924c=>{_0x81924c!=_0x529110([0x56,0x61,0x6c,0x69,0x64])&&_0x3fd099(_0x81924c);},_0x534de9);}):_0x36f8fe||_0x27de90||_0x529110([0x56,0x61,0x6c,0x69,0x64]);}}function _0x9e5f92(_0x4c8e39,_0x59c67f){return new window[(_0x529110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e21f1=>{if(_0x11b8c9())return _0x4e21f1(_0x529110([0x56,0x61,0x6c,0x69,0x64]));_0xad3bf0(),_0x56922b[_0x529110([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x529110([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d8158=!0x1;const _0x201b82=_0x469bd6();function _0x382fdf(_0x1d80b5){return!!_0x1d80b5&&(typeof _0x1d80b5===_0x529110([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d80b5===_0x529110([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d80b5[_0x529110([0x74,0x68,0x65,0x6e])]===_0x529110([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d80b5[_0x529110([0x63,0x61,0x74,0x63,0x68])]===_0x529110([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x37ffd2(_0x13efc9){_0x4e91d7(_0x13efc9)[_0x529110([0x74,0x68,0x65,0x6e])](_0x34c1d1=>{if(!_0x34c1d1||_0x34c1d1[_0x529110([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x529110([0x6f,0x6b]))return _0x529110([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35f9c3(_0x5458f2(_0x201b82+_0x59c67f))!=_0x34c1d1[_0x529110([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x529110([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x529110([0x56,0x61,0x6c,0x69,0x64]);})[_0x529110([0x74,0x68,0x65,0x6e])](_0x1d7997=>(_0x3b8e73(),_0x1d7997),()=>{const _0x2e6310=_0x33a67c();return null==_0x2e6310?(_0x3b8e73(),_0x529110([0x56,0x61,0x6c,0x69,0x64])):_0x529110(_0x25d9a0-_0x2e6310>(0x7753083a^_0x4f2699)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x529110([0x74,0x68,0x65,0x6e])](_0x4e21f1)[_0x529110([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e21f1(_0x529110([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23cd75=0x536962ba^_0x4f2699;function _0x3b8e73(){const _0x481eb8=_0x529110([0x6c,0x6c,0x63,0x74,0x2d])+_0x35f9c3(_0x5458f2(_0x4c8e39)),_0x305649=_0x703522(_0x35f9c3(window[_0x529110([0x4d,0x61,0x74,0x68])][_0x529110([0x63,0x65,0x69,0x6c])](_0x25d9a0/_0x23cd75)));window[_0x529110([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x529110([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x481eb8,_0x305649);}function _0x33a67c(){const _0x3d3d8d=_0x529110([0x6c,0x6c,0x63,0x74,0x2d])+_0x35f9c3(_0x5458f2(_0x4c8e39)),_0x46900b=window[_0x529110([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x529110([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d3d8d);return _0x46900b?window[_0x529110([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x703522(_0x46900b),0x10)*_0x23cd75:null;}function _0x4e91d7(_0x414a64){return new window[(_0x529110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4081a,_0x1bf271)=>{_0x414a64[_0x529110([0x74,0x68,0x65,0x6e])](_0x4081a,_0x1bf271),window[_0x529110([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1bf271,0x535e58fa^_0x4f2699);});}}_0x56922b[_0x529110([0x6f,0x6e])](_0x529110([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x574365,_0x44144d)=>{if(_0x44144d[0x0]!=_0x4c8e39)return _0x4e21f1(_0x529110([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44144d[0x1]={..._0x44144d[0x1],[_0x529110([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x201b82};},{[_0x529110([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x529110([0x68,0x69,0x67,0x68])}),_0x56922b[_0x529110([0x6f,0x6e])](_0x529110([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe1050f=>{_0x382fdf(_0xe1050f[_0x529110([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d8158=!0x0,_0x37ffd2(_0xe1050f[_0x529110([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x529110([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x529110([0x6c,0x6f,0x77])}),_0x3737dd[_0x529110([0x74,0x68,0x65,0x6e])](()=>{_0x1d8158||_0x4e21f1(_0x529110([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11b8c9(){return _0x56922b[_0x529110([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x529110([0x76,0x69,0x65,0x77])][_0x529110([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x529110([0x61,0x75,0x74,0x6f]);}function _0xad3bf0(){_0x56922b[_0x529110([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x529110([0x76,0x69,0x65,0x77])][_0x529110([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x529110([0x61,0x75,0x74,0x6f]);}}function _0x1f5afa(_0x6845cc){const _0x2241b6=[new window[(_0x529110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x266449=>setTimeout(_0x266449,0x5356b2f6^_0x4f2699)),_0x3737dd[_0x529110([0x74,0x68,0x65,0x6e])](()=>new window[(_0x529110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29c72b=>{let _0x54c875=0x0;_0x56922b[_0x529110([0x6d,0x6f,0x64,0x65,0x6c])][_0x529110([0x6f,0x6e])](_0x529110([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x279eba,_0x3b8e4b)=>{_0x3b8e4b[0x0][_0x529110([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x54c875++,_0x54c875==(0x535f89d2^_0x4f2699)&&(_0x29c72b(),_0x279eba[_0x529110([0x6f,0x66,0x66])]());});}))];return window[_0x529110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x529110([0x72,0x61,0x63,0x65])](_0x2241b6)[_0x529110([0x74,0x68,0x65,0x6e])](()=>_0x6845cc);}async function _0x632222(){await _0x3737dd,_0x56922b[_0x529110([0x6d,0x6f,0x64,0x65,0x6c])][_0x529110([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20e977,_0x56922b[_0x529110([0x6d,0x6f,0x64,0x65,0x6c])][_0x529110([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20e977,_0x56922b[_0x529110([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x529110([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x461390(_0x1749c2){const _0x44eb68=_0x54b502();_0x56922b[_0x44eb68]=_0x529110([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1749c2,_0x1749c2!=_0x529110([0x56,0x61,0x6c,0x69,0x64])&&_0x632222();}function _0x54b502(){const _0x3ad42e=window[_0x529110([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x529110([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x529110([0x6e,0x6f,0x77])]())[_0x529110([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x529110([0x2e]),'');let _0x350e8a=_0x529110([0x68]);for(let _0x4fb9f9=0x0;_0x4fb9f9<_0x3ad42e[_0x529110([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4fb9f9+=0x2){let _0x713446=window[_0x529110([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ad42e[_0x529110([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4fb9f9,_0x4fb9f9+0x2));_0x713446>=_0x4096d8[_0x529110([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x713446-=_0x4096d8[_0x529110([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x350e8a+=_0x4096d8[_0x713446];}return _0x350e8a;}function _0x202326(){const _0x590ce9=_0x322a59[_0x529110([0x73,0x70,0x6c,0x69,0x74])](_0x529110([0x2e]));if(0x3!=_0x590ce9[_0x529110([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x34b8f4(_0x590ce9[0x1]);function _0x34b8f4(_0x2e1d7d){const _0x504390=_0x113909(_0x2e1d7d);return _0x504390&&_0xe41ef5()?_0x504390:null;function _0xe41ef5(){const _0x4d3b69=_0x504390[_0x529110([0x6a,0x74,0x69])],_0x22b649=window[_0x529110([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d3b69[_0x529110([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d3b69[_0x529110([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x383a0c={..._0x504390,[_0x529110([0x6a,0x74,0x69])]:_0x4d3b69[_0x529110([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d3b69[_0x529110([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x383a0c[_0x529110([0x76,0x63])],_0x5458f2(_0x383a0c)==_0x22b649;}}}async function _0x4d94e3(){let _0x3630d4=!0x0;try{const _0x14c690=_0x322a59[_0x529110([0x73,0x70,0x6c,0x69,0x74])](_0x529110([0x2e])),[_0x494c14,_0x120e58,_0x1b4a2a]=_0x14c690;return _0x51d77a(_0x494c14),await _0xf6aa(_0x494c14,_0x120e58,_0x1b4a2a),_0x3630d4;}catch{return!0x1;}function _0x51d77a(_0x3d47cc){const _0x2d56bc=_0x113909(_0x3d47cc);_0x2d56bc&&_0x2d56bc[_0x529110([0x61,0x6c,0x67])]==_0x529110([0x45,0x53,0x32,0x35,0x36])||(_0x3630d4=!0x1);}async function _0xf6aa(_0x10fcd8,_0x1310ba,_0x44e272){const _0x41a785=window[_0x529110([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x529110([0x66,0x72,0x6f,0x6d])](_0x3d1017(_0x44e272),_0x6a06e9=>_0x6a06e9[_0x529110([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x122361=new window[(_0x529110([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x529110([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x10fcd8+_0x529110([0x2e])+_0x1310ba),_0x209f86=window[_0x529110([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x529110([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x209f86)return;const _0x5cef36=await _0x209f86[_0x529110([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x529110([0x6a,0x77,0x6b]),_0x200a5f,{[_0x529110([0x6e,0x61,0x6d,0x65])]:_0x529110([0x45,0x43,0x44,0x53,0x41]),[_0x529110([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x529110([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x529110([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x209f86[_0x529110([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x529110([0x6e,0x61,0x6d,0x65])]:_0x529110([0x45,0x43,0x44,0x53,0x41]),[_0x529110([0x68,0x61,0x73,0x68])]:{[_0x529110([0x6e,0x61,0x6d,0x65])]:_0x529110([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5cef36,_0x41a785,_0x122361)||(_0x3630d4=!0x1);}}function _0x113909(_0x354e9a){return _0x354e9a[_0x529110([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x529110([0x65,0x79]))?JSON[_0x529110([0x70,0x61,0x72,0x73,0x65])](_0x3d1017(_0x354e9a)):null;}function _0x3d1017(_0x386008){return window[_0x529110([0x61,0x74,0x6f,0x62])](_0x386008[_0x529110([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x529110([0x2b]))[_0x529110([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x529110([0x2f])));}function _0x5458f2(_0x4d1a5d){let _0xc0586=0x1505;function _0x531b29(_0x4397f0){for(let _0x5bbb44=0x0;_0x5bbb44<_0x4397f0[_0x529110([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5bbb44++){const _0x2238f2=_0x4397f0[_0x529110([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5bbb44);_0xc0586=(_0xc0586<<0x5)+_0xc0586+_0x2238f2,_0xc0586&=_0xc0586;}}function _0x425b77(_0x481ce3){Array[_0x529110([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x481ce3)?_0x481ce3[_0x529110([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x425b77):_0x481ce3&&typeof _0x481ce3==_0x529110([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x529110([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x481ce3)[_0x529110([0x73,0x6f,0x72,0x74])]()[_0x529110([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4fcd05,_0x26bea9])=>{_0x531b29(_0x4fcd05),_0x425b77(_0x26bea9);}):_0x531b29(window[_0x529110([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x481ce3));}return _0x425b77(_0x4d1a5d),_0xc0586>>>0x0;}function _0x35f9c3(_0x46d550){return _0x46d550[_0x529110([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x529110([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x529110([0x30]));}function _0x703522(_0x1ec675){return _0x1ec675[_0x529110([0x73,0x70,0x6c,0x69,0x74])]('')[_0x529110([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x529110([0x6a,0x6f,0x69,0x6e])]('');}function _0x20e977(){}function _0x529110(_0x240704){return _0x240704['map'](_0x1f0ae7=>String['fromCharCode'](_0x1f0ae7))['join']('');}_0x461390(await _0x4633db());}(this);}['_initSchema'](){const _0xedd03a=this['editor']['model']['schema'];_0xedd03a['isRegistered']('imageBlock')&&_0xedd03a['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xedd03a['isRegistered']('imageInline')&&_0xedd03a['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5c4de1=this['editor'];_0x5c4de1['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5c4de1['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x55c366=>_0x55c366['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3bc7ab=_0x5c4de1['commands']['get']('replaceImageSource');_0x3bc7ab&&this['listenTo'](_0x3bc7ab,'cleanupImage',(_0x4cd98a,[_0x56e1cb,_0x5c7b5f])=>{_0x56e1cb['removeAttribute']('uploadcareImageId',_0x5c7b5f);});}['_initConfig'](){const _0x37b7c1=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4cfa3d=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3f310(_0x18328e['document'],'uc-config',{..._0x37b7c1,'pubkey':_0x4cfa3d,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0xac5d6f=>{if('closeMax'==_0xac5d6f)return'#uc-icon-arrow-down';},_0x18328e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3f310(_0x18328e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x18328e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x45a1f9=this['editor']['commands']['get']('insertImage');_0x45a1f9&&this['listenTo'](_0x45a1f9,'execute',()=>{const _0x1bfe8c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1bfe8c&&_0x1bfe8c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x1bfe8c);});});const _0x243ec6=this['editor']['commands']['get']('uploadcareImageReplace');_0x243ec6&&this['listenTo'](_0x243ec6,'execute',()=>{const _0x5e0776=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5e0776&&_0x5e0776['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x5e0776);});});}}class H extends _0x563d32{static get['requires'](){return[z,A];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3dec82){super(_0x3dec82),_0x3dec82['config']['define']('uploadcare.uploader.sourceList',[S['Local'],S['URL']]),_0x2a34cf['defineComponents'](_0x2a34cf),this['_defineLocale']();}['_defineLocale'](){const _0x125287=this['editor']['config']['get']('uploadcare.locale'),_0x111207=this['editor']['locale']['contentLanguage'];_0x125287&&_0x2a34cf['defineLocale'](_0x111207,_0x125287);}}class J extends _0x12e055{constructor(_0x900804){super(_0x900804);const t=_0x900804['t'],_0x8d9d64=this['bindTemplate'],_0x59120a=new _0x13d23f();_0x59120a['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x59120a,{'text':_0x8d9d64['to']('imageUploadProgress',_0x1d3560=>t('Loading\x20image...')+'\x20('+(_0x1d3560||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class Z extends _0x12e055{constructor(_0x16ce4e){super(_0x16ce4e);const t=_0x16ce4e['t'];this['set']('errorType',null);const _0x4e53d=new _0xc28d4f(_0x16ce4e);_0x4e53d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4e53d['withText']=!0x0,_0x4e53d['class']='ck-button-action',_0x4e53d['on']('execute',()=>{this['fire']('retry');}),_0x4e53d['bind']('isVisible')['to'](this,'errorType',_0xad4d67=>'NotFound'!==_0xad4d67);const _0x52a0f5=new _0x3f7b31();_0x52a0f5['content']=_0x1cd0c4,_0x52a0f5['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x290c93=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x52a0f5,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x290c93['to']('errorType',_0x109337=>t('NotFound'!==_0x109337?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4e53d]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class Q extends _0x12e055{constructor(_0x2592ad,_0x219206){super(_0x2592ad);const _0xbf03b8=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x219206,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xbf03b8['to']('imageSrc')}});}}class X extends K{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x823bbe,_0x5db6cc,_0x1373df){super(_0x823bbe),this['_items']=this['createCollection'](),this['_loadingView']=new J(_0x823bbe),this['_errorView']=new Z(_0x823bbe),this['_editingView']=new Q(_0x823bbe,_0x1373df),this['_focusableView']=new _0x12e055(_0x823bbe),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5db6cc),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x460e7e=>{this['_addUploadcareImageEditorListeners'](_0x460e7e);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0xd31e9b,_0x5641cb){const _0x1037d2='uc-cloud-image-editor',_0x28c93b=_0xd31e9b['querySelector'](_0x1037d2);if(_0x28c93b)return _0x5641cb(_0x28c93b);const _0x39ef9d=new MutationObserver(_0x225e33=>{const _0xd7efa6=_0x225e33['filter'](_0x345d60=>_0x345d60['target']===_0xd31e9b&&_0x345d60['addedNodes']['length']>0x0&&_0x345d60['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1037d2);_0xd7efa6['length']&&(_0x39ef9d['disconnect'](),_0x5641cb(_0xd7efa6[0x0]['addedNodes'][0x0]));});_0x39ef9d['observe'](_0xd31e9b,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2896a6){_0x2896a6['addEventListener']('apply',_0x1e4bc5=>{this['fire']('apply',{'imageSrc':_0x1e4bc5['detail']['cdnUrl']});}),_0x2896a6['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class Y extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x9f08b1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x42e5f8,_0x506ed7,_0x455ba4){super(),this['_editor']=_0x42e5f8,this['_dialog']=_0x506ed7,this['_imageElement']=_0x455ba4,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x34a126=this['_imageElement'],_0x52d76e=_0x34a126['getAttribute']('uploadcareImageId'),_0x2c6f0d=_0x34a126['getAttribute']('src');if(_0x52d76e)await this['_loadImageInfo'](_0x52d76e,_0x2c6f0d);else{if(this['_imageCache']['has'](_0x2c6f0d)){const _0x192c89=this['_imageCache']['get'](_0x2c6f0d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x192c89['url'],this['imageDimension']=_0x192c89['dimension'],this['imageId']=_0x192c89['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x520de7}=this['_editor'],t=_0x520de7['t'],_0x1dbd1e=new X(_0x520de7,this['imageStatus'],this['_attributes']);_0x1dbd1e['bind']('status')['to'](this,'imageStatus'),_0x1dbd1e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1dbd1e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1dbd1e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1dbd1e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x14ca36,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1dbd1e,'position':_0x4f83bd['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1dbd1e['focus']();},'onHide':()=>{_0x1dbd1e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xe5c790=>!V(_0xe5c790,_0x1dbd1e['element'])}});}['_loadImageInfo'](_0x53daca,_0x5ef166){return q['getInfo'](_0x53daca,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x495aab=>{const {width:_0x4d68a9,height:_0xd2cd70}=_0x495aab['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5ef166,this['imageDimension']={'width':_0x4d68a9,'height':_0xd2cd70},this['imageId']=_0x53daca;})['catch'](_0x214bf9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x214bf9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x200c3c,_0xe2e39d){return this['_getImageAsFile'](_0x200c3c)['then'](_0xd9ab11=>q['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0xe2e39d['signal'],'file':_0xd9ab11,'onProgress':_0x2e1b08=>{_0x2e1b08&&_0x2e1b08['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2e1b08['value']));}}))['then'](_0x2d47ad=>{const {width:_0x1e736d,height:_0x1762c3}=_0x2d47ad['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d47ad['cdnUrl'],this['imageDimension']={'width':_0x1e736d,'height':_0x1762c3},this['imageId']=_0x2d47ad['uuid'],this['imageUploadProgress']=null;const _0x5476fb=_0x200c3c['getAttribute']('src');this['_imageCache']['set'](_0x5476fb,{'id':_0x2d47ad['uuid'],'url':_0x2d47ad['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x465d7b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x465d7b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1f8b9f,_0x1ef8cd){_0x1f8b9f['on']('apply',(_0x1a4cf3,_0x5aa79e)=>{this['_replaceImage'](_0x1ef8cd,_0x5aa79e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1f8b9f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1f8b9f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1aa763,_0x2ba778,_0x3b416e){const _0x54da66=this['_editor'],{width:_0x2587f6,height:_0x375dd7}=F(_0x2ba778,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x16406b,imageSources:_0x2ab8a8}=D(_0x2ba778,_0x2587f6);_0x54da66['model']['change'](_0x3d36d5=>{if('$graveyard'===_0x1aa763['root']['rootName']){_0x54da66['execute']('insertImage',{'imageType':_0x1aa763['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1aa763['getAttributes']()),'uploadcareImageId':_0x3b416e,'src':_0x16406b,'sources':_0x2ab8a8,'width':_0x2587f6,'height':_0x375dd7}});const _0x6547a9=_0x1aa763['getChildren']();_0x1aa763=_0x54da66['model']['document']['selection']['getSelectedElement']();for(const _0x2a7038 of _0x6547a9)_0x3d36d5['append'](_0x3d36d5['cloneElement'](_0x2a7038),_0x1aa763);}else _0x3d36d5['setSelection'](_0x1aa763,'on'),_0x54da66['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1aa763['getAttributes']()),'uploadcareImageId':_0x3b416e,'src':_0x16406b,'sources':_0x2ab8a8,'width':_0x2587f6,'height':_0x375dd7},_0x1aa763);_0x3d36d5['setSelection'](_0x1aa763,'on');});}async['_getImageAsFile'](_0x2e0d66){const _0x258c34=_0x18328e['window'],_0x20e7d1=_0x18328e['document']['location']['href'],_0x2efa47=new _0x258c34['URL'](_0x2e0d66['getAttribute']('src'),_0x20e7d1);if('data:'===_0x2efa47['protocol']){const _0x384445=_0x2efa47['href']['split'](','),_0x4d053a=_0x384445[0x0]['match'](/:(.*?);/)[0x1],_0x3ade5e=_0x4d053a['split']('/')[0x1],_0x180a1c=_0x258c34['atob'](_0x384445[_0x384445['length']-0x1]);let _0x393d9b=_0x180a1c['length'];const _0x142f28=new _0x258c34['Uint8Array'](_0x393d9b);for(;_0x393d9b--;)_0x142f28[_0x393d9b]=_0x180a1c['charCodeAt'](_0x393d9b);return new _0x258c34['File']([_0x142f28],'image.'+_0x3ade5e,{'type':_0x4d053a});}const _0x43b778=_0x2efa47['href']['split']('/'),_0xea24af=_0x43b778[_0x43b778['length']-0x1],_0x548593=_0xea24af['split']('.')[0x1];return _0x258c34['fetch'](_0x2efa47['href'])['then'](_0x47bfc6=>_0x47bfc6['clone']()['blob']())['then'](_0x59f36b=>new _0x258c34['File']([_0x59f36b],_0xea24af,{'type':'image/'+_0x548593}));}}class tt extends _0x340173{['imageEditController'];static get['requires'](){return[_0x58e17d];}['_isEditable'];constructor(_0x53c05d){super(_0x53c05d),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x99d9da){const _0x2d04e1=B(_0x99d9da);return _0x3fcae4=>!(!_0x3fcae4||!_0x3fcae4['is']('element','imageBlock')&&!_0x3fcae4['is']('element','imageInline'))&&(!!_0x3fcae4['hasAttribute']('uploadcareImageId')||!!_0x3fcae4['hasAttribute']('src')&&_0x2d04e1(_0x3fcae4['getAttribute']('src')));}(_0x53c05d['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4c3e1a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4c3e1a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x432188=this['editor']['model']['document']['selection']['getSelectedElement']();_0x432188&&(_0x432188['is']('element','imageBlock')||_0x432188['is']('element','imageInline'))&&(this['imageEditController']=new Y(this['editor'],this['editor']['plugins']['get'](_0x58e17d),_0x432188),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class et extends _0x340173{['refresh'](){const _0x3e2746=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3e2746&&(_0x3e2746['is']('element','imageBlock')||_0x3e2746['is']('element','imageInline')));}['execute'](_0x16b783){const _0x52da00=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x13400a=>{_0x13400a['setAttributes'](_0x16b783,_0x52da00),_0x13400a['removeAttribute']('srcset',_0x52da00),_0x13400a['removeAttribute']('sizes',_0x52da00);});}}class it extends _0x563d32{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[z,_0x5df520,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2e44e0}=this;_0x2e44e0['commands']['add']('uploadcareImageEdit',new tt(_0x2e44e0)),_0x2e44e0['commands']['add']('uploadcareImageReplace',new et(_0x2e44e0));}}class st extends _0x563d32{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x5b558c=this['editor'];_0x5b558c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x34883e=>{const _0x3793cf=_0x5b558c['commands']['get']('uploadcareImageEdit'),_0x327853=new _0xc28d4f(_0x34883e),t=_0x34883e['t'];return _0x327853['set']({'icon':_0x14ca36,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x327853['bind']('isEnabled')['to'](_0x3793cf),_0x327853['bind']('isOn')['to'](_0x3793cf,'isActive'),this['listenTo'](_0x327853,'execute',()=>{_0x5b558c['execute']('uploadcareImageEdit'),_0x5b558c['editing']['view']['focus']();}),_0x327853;}),this['_initConfig']();}['_initConfig'](){const _0x3b0638=_0x3f310(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3b0638),this['listenTo'](this['editor'],'destroy',()=>{_0x3b0638['remove']();});}}class nt extends _0x563d32{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[it,st];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{H as Uploadcare,M as UploadcareCommand,z as UploadcareEditing,nt as UploadcareImageEdit,tt as UploadcareImageEditCommand,it as UploadcareImageEditEditing,st as UploadcareImageEditUI,A as UploadcareUI,W as UploadcareUploadAdapter};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x272fde=>0x1!=_0x272fde}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36b538=>{const {af:{dictionary:_0x520133,getPluralForm:_0x1c5050}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1e1d8c=>0x1!=_0x1e1d8c}};_0x36b538['af']||={'dictionary':{},'getPluralForm':null},_0x36b538['af']['dictionary']=Object['assign'](_0x36b538['af']['dictionary'],_0x520133),_0x36b538['af']['getPluralForm']=_0x1c5050;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x41023c=>0x0==_0x41023c?0x0:0x1==_0x41023c?0x1:0x2==_0x41023c?0x2:_0x41023c%0x64>=0x3&&_0x41023c%0x64<=0xa?0x3:_0x41023c%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa7b9d2=>{const {ar:{dictionary:_0x295422,getPluralForm:_0x37bc97}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x4a6cbd=>0x0==_0x4a6cbd?0x0:0x1==_0x4a6cbd?0x1:0x2==_0x4a6cbd?0x2:_0x4a6cbd%0x64>=0x3&&_0x4a6cbd%0x64<=0xa?0x3:_0x4a6cbd%0x64>=0xb?0x4:0x5}};_0xa7b9d2['ar']||={'dictionary':{},'getPluralForm':null},_0xa7b9d2['ar']['dictionary']=Object['assign'](_0xa7b9d2['ar']['dictionary'],_0x295422),_0xa7b9d2['ar']['getPluralForm']=_0x37bc97;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0xff6f56=>0x1!=_0xff6f56}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36553f=>{const {ast:{dictionary:_0xd887a3,getPluralForm:_0x1146bc}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1b4bff=>0x1!=_0x1b4bff}};_0x36553f['ast']||={'dictionary':{},'getPluralForm':null},_0x36553f['ast']['dictionary']=Object['assign'](_0x36553f['ast']['dictionary'],_0xd887a3),_0x36553f['ast']['getPluralForm']=_0x1146bc;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1e9ba9=>0x1!=_0x1e9ba9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3bcbf2=>{const {az:{dictionary:_0x95bfd3,getPluralForm:_0x1c50da}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x378ed9=>0x1!=_0x378ed9}};_0x3bcbf2['az']||={'dictionary':{},'getPluralForm':null},_0x3bcbf2['az']['dictionary']=Object['assign'](_0x3bcbf2['az']['dictionary'],_0x95bfd3),_0x3bcbf2['az']['getPluralForm']=_0x1c50da;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5ca74b=>_0x5ca74b%0xa==0x1&&_0x5ca74b%0x64!=0xb?0x0:_0x5ca74b%0xa>=0x2&&_0x5ca74b%0xa<=0x4&&(_0x5ca74b%0x64<0xa||_0x5ca74b%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x516454=>{const {be:{dictionary:_0x4caeb5,getPluralForm:_0x194105}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x217394=>_0x217394%0xa==0x1&&_0x217394%0x64!=0xb?0x0:_0x217394%0xa>=0x2&&_0x217394%0xa<=0x4&&(_0x217394%0x64<0xa||_0x217394%0x64>=0x14)?0x1:0x2}};_0x516454['be']||={'dictionary':{},'getPluralForm':null},_0x516454['be']['dictionary']=Object['assign'](_0x516454['be']['dictionary'],_0x4caeb5),_0x516454['be']['getPluralForm']=_0x194105;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':
|
|
23
|
+
export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x3d2a72=>0x1!=_0x3d2a72}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36511c=>{const {bg:{dictionary:_0x59d3df,getPluralForm:_0x5bb58b}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x154506=>0x1!=_0x154506}};_0x36511c['bg']||={'dictionary':{},'getPluralForm':null},_0x36511c['bg']['dictionary']=Object['assign'](_0x36511c['bg']['dictionary'],_0x59d3df),_0x36511c['bg']['getPluralForm']=_0x5bb58b;})(window['CKEDITOR_TRANSLATIONS']||={});
|