@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260119.0 → 0.0.0-nightly-next-20260119.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/ckeditor5-metadata.json +2 -2
- 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/{src → dist}/ui/uploadcarecontroller.d.ts +3 -3
- package/{src → dist}/ui/uploadcareformview.d.ts +1 -1
- package/{src → dist}/uploadcare.d.ts +1 -1
- package/{src → dist}/uploadcarecommand.d.ts +2 -2
- package/{src → dist}/uploadcareconfig.d.ts +1 -1
- package/{src → dist}/uploadcareediting.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit.d.ts +1 -1
- package/{src → dist}/uploadcareui.d.ts +1 -1
- package/{src → dist}/uploadcareuploadadapter.d.ts +2 -2
- package/{src → dist}/utils/dialogfocusmanagerview.d.ts +2 -2
- package/package.json +23 -46
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/build/uploadcare.js +0 -5
- package/lang/contexts.json +0 -24
- package/lang/translations/af.po +0 -100
- package/lang/translations/ar.po +0 -100
- package/lang/translations/ast.po +0 -100
- package/lang/translations/az.po +0 -100
- package/lang/translations/be.po +0 -100
- package/lang/translations/bg.po +0 -100
- package/lang/translations/bn.po +0 -100
- package/lang/translations/bs.po +0 -100
- package/lang/translations/ca.po +0 -100
- package/lang/translations/cs.po +0 -100
- package/lang/translations/da.po +0 -100
- package/lang/translations/de-ch.po +0 -100
- package/lang/translations/de.po +0 -100
- package/lang/translations/el.po +0 -100
- package/lang/translations/en-au.po +0 -100
- package/lang/translations/en-gb.po +0 -100
- package/lang/translations/en.po +0 -100
- package/lang/translations/eo.po +0 -100
- package/lang/translations/es-co.po +0 -100
- package/lang/translations/es.po +0 -100
- package/lang/translations/et.po +0 -100
- package/lang/translations/eu.po +0 -100
- package/lang/translations/fa.po +0 -100
- package/lang/translations/fi.po +0 -100
- package/lang/translations/fr.po +0 -100
- package/lang/translations/gl.po +0 -100
- package/lang/translations/gu.po +0 -100
- package/lang/translations/he.po +0 -100
- package/lang/translations/hi.po +0 -100
- package/lang/translations/hr.po +0 -100
- package/lang/translations/hu.po +0 -100
- package/lang/translations/hy.po +0 -100
- package/lang/translations/id.po +0 -100
- package/lang/translations/it.po +0 -100
- package/lang/translations/ja.po +0 -100
- package/lang/translations/jv.po +0 -100
- package/lang/translations/kk.po +0 -100
- package/lang/translations/km.po +0 -100
- package/lang/translations/kn.po +0 -100
- package/lang/translations/ko.po +0 -100
- package/lang/translations/ku.po +0 -100
- package/lang/translations/lt.po +0 -100
- package/lang/translations/lv.po +0 -100
- package/lang/translations/ms.po +0 -100
- package/lang/translations/nb.po +0 -100
- package/lang/translations/ne.po +0 -100
- package/lang/translations/nl.po +0 -100
- package/lang/translations/no.po +0 -100
- package/lang/translations/oc.po +0 -100
- package/lang/translations/pl.po +0 -100
- package/lang/translations/pt-br.po +0 -100
- package/lang/translations/pt.po +0 -100
- package/lang/translations/ro.po +0 -100
- package/lang/translations/ru.po +0 -100
- package/lang/translations/si.po +0 -100
- package/lang/translations/sk.po +0 -100
- package/lang/translations/sl.po +0 -100
- package/lang/translations/sq.po +0 -100
- package/lang/translations/sr-latn.po +0 -100
- package/lang/translations/sr.po +0 -100
- package/lang/translations/sv.po +0 -100
- package/lang/translations/th.po +0 -100
- package/lang/translations/ti.po +0 -100
- package/lang/translations/tk.po +0 -100
- package/lang/translations/tr.po +0 -100
- package/lang/translations/tt.po +0 -100
- package/lang/translations/ug.po +0 -100
- package/lang/translations/uk.po +0 -100
- package/lang/translations/ur.po +0 -100
- package/lang/translations/uz.po +0 -100
- package/lang/translations/vi.po +0 -100
- package/lang/translations/zh-cn.po +0 -100
- package/lang/translations/zh.po +0 -100
- package/src/augmentation.js +0 -23
- package/src/index.js +0 -23
- package/src/ui/uploadcarecontroller.js +0 -24
- package/src/ui/uploadcareformview.js +0 -23
- package/src/uploadcare.js +0 -23
- package/src/uploadcarecommand.js +0 -23
- package/src/uploadcareconfig.js +0 -23
- package/src/uploadcareediting.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +0 -24
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditui.js +0 -23
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +0 -23
- package/src/uploadcareimageedit.js +0 -23
- package/src/uploadcareui.js +0 -23
- package/src/uploadcareuploadadapter.js +0 -23
- package/src/utils/common-translations.js +0 -23
- package/src/utils/dialogfocusmanagerview.js +0 -23
- package/src/utils/editingutils.js +0 -23
- package/src/utils/isancestor.js +0 -23
- package/src/utils/uploadutils.js +0 -23
- package/theme/uploadcare-form.css +0 -201
- package/theme/uploadcare-theme.css +0 -20
- package/theme/uploadcareimageedit.css +0 -64
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/utils/common-translations.d.ts +0 -0
- /package/{src → dist}/utils/editingutils.d.ts +0 -0
- /package/{src → dist}/utils/isancestor.d.ts +0 -0
- /package/{src → dist}/utils/uploadutils.d.ts +0 -0
package/ckeditor5-metadata.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"className": "Uploadcare",
|
|
6
6
|
"description": "Allows inserting images into the rich-text editor content and to the Uploadcare cloud.",
|
|
7
7
|
"docs": "",
|
|
8
|
-
"path": "src/uploadcare.
|
|
8
|
+
"path": "src/uploadcare.ts",
|
|
9
9
|
"requires": [
|
|
10
10
|
[
|
|
11
11
|
"ImageBlock",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"className": "UploadcareImageEdit",
|
|
32
32
|
"description": "Allows editing images.",
|
|
33
33
|
"docs": "",
|
|
34
|
-
"path": "src/uploadcareimageedit.
|
|
34
|
+
"path": "src/uploadcareimageedit.ts",
|
|
35
35
|
"requires": [
|
|
36
36
|
"Uploadcare"
|
|
37
37
|
],
|
package/dist/index.js
CHANGED
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x3106aa,Command as _0x284940}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1a4c0e,IconGooglePhotos as _0x295527,IconGoogleDrive as _0xddcb76,IconFacebook as _0x433cee,IconDropbox as _0x1dc51b,IconUploadcareLink as _0x2f592a,IconUploadcareImageUpload as _0x5be734,IconError as _0x172267,IconUploadcareImageEdit as _0x7704a6}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1ee50a,MenuBarMenuListItemButtonView as _0x3f4b14,View as _0xaefcf9,FocusCycler as _0x322e23,Dialog as _0x54735e,DialogViewPosition as _0x29d86c,SpinnerView as _0x4a7705,IconView as _0x494dea,Notification as _0x311613}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2d9d3a,DomEmitterMixin as _0x2431ea,global as _0x549fe9,getAncestors as _0x1a2a5a,ObservableMixin as _0x467891,uid as _0x462318,createElement as _0x5de064}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x76063b}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xd5fe97,info as _0x98ea4b}from'@uploadcare/upload-client';import*as _0x5882de from'@uploadcare/file-uploader';var i=function(_0x479401){return _0x479401['Local']='local',_0x479401['URL']='url',_0x479401['Dropbox']='dropbox',_0x479401['GDrive']='gdrive',_0x479401['Facebook']='facebook',_0x479401['GPhotos']='gphotos',_0x479401['OneDrive']='onedrive',_0x479401;}({});function _(_0x2629fc,_0x5984a5,_0x9c6d70){const t=_0x2629fc['t'],_0x5f31b9=_0x2629fc['t'];switch(_0x5984a5){case i['Local']:return{'text':_0x5f31b9('Insert'===_0x9c6d70?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5f31b9('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x9c6d70?_0x5f31b9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5f31b9('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x9c6d70?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x9c6d70?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x9c6d70?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x9c6d70?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x9c6d70?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5984a5;}}class e extends _0x3106aa{['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 _0x118e3e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4175b7;for(const _0xdb737 in _0x118e3e){const _0x4a90dc=_0xdb737,_0x28d22b=_0x118e3e[_0x4a90dc];if('uploadcareLicenseKeyValid'==_0x28d22b||'uploadcareLicenseKeyInvalid'==_0x28d22b||'uploadcareLicenseKeyExpired'==_0x28d22b||'uploadcareLicenseKeyDomainLimit'==_0x28d22b||'uploadcareLicenseKeyNotAllowed'==_0x28d22b||'uploadcareLicenseKeyEvaluationLimit'==_0x28d22b||'uploadcareLicenseKeyUsageLimit'==_0x28d22b){delete _0x118e3e[_0x4a90dc],_0x4175b7=_0x28d22b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4175b7&&_0x118e3e['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4175b7&&_0x118e3e['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4175b7&&_0x118e3e['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4175b7&&_0x118e3e['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4175b7&&_0x118e3e['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4175b7&&_0x118e3e['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5149a0}=this,_0x27cbc0=_0x5149a0['commands']['get']('uploadcare');if(!_0x27cbc0)return;const _0x596a94=this['_normalizeConfigSourceList'](_0x5149a0['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x96b842,_0x1db735)=>{const _0x4f6207=this['_getIntegrationKey'](_0x1db735['type']);return _0x96b842[_0x4f6207]||(_0x96b842[_0x4f6207]=[]),_0x96b842[_0x4f6207]['push'](_0x1db735),_0x96b842;},{});_0x5149a0['plugins']['has']('ImageInsertUI')&&_0x5149a0['commands']['get']('uploadcare')&&Object['entries'](_0x596a94)['forEach'](([_0x1d52d2,_0x121fae])=>{_0x5149a0['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1d52d2,'observable':()=>_0x27cbc0,'buttonViewCreator':()=>this['_createToolbarButton'](_0x121fae),'formViewCreator':()=>this['_createDropdownButtons'](_0x121fae),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x121fae),'override':'assetManager'!==_0x1d52d2});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x598c4c){const {locale:_0x473f9f}=this['editor'];return _0x598c4c['map'](_0x26dd1a=>{const _0x31294d=_(_0x473f9f,_0x26dd1a,'Insert');switch(_0x26dd1a){case i['Local']:return{'icon':_0x5be734,'type':i['Local'],..._0x31294d};case i['URL']:return{'icon':_0x2f592a,'type':i['URL'],..._0x31294d};case i['Dropbox']:return{'icon':_0x1dc51b,'type':i['Dropbox'],..._0x31294d};case i['Facebook']:return{'icon':_0x433cee,'type':i['Facebook'],..._0x31294d};case i['GDrive']:return{'icon':_0xddcb76,'type':i['GDrive'],..._0x31294d};case i['GPhotos']:return{'icon':_0x295527,'type':i['GPhotos'],..._0x31294d};case i['OneDrive']:return{'icon':_0x1a4c0e,'type':i['OneDrive'],..._0x31294d};}});}['_getIntegrationKey'](_0x3ae159){switch(_0x3ae159){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3c7950,_0x4865cd){const _0x255972=this['editor'],_0x123a75=new _0x3c7950(_0x255972['locale']),_0x44fa62=_0x255972['commands']['get']('uploadcare');return _0x123a75['bind']('isEnabled')['to'](_0x44fa62),_0x123a75['on']('execute',()=>{_0x44fa62['execute'](_0x4865cd);}),_0x123a75;}['_createToolbarButton'](_0x144f39){const {locale:_0x576545}=this['editor'],_0x21f6ae=this['editor']['plugins']['get']('ImageInsertUI'),_0x34ddc3=_0x144f39[0x0],_0x1411b9=this['_createButton'](_0x1ee50a,_0x34ddc3['type']);return _0x1411b9['icon']=_0x34ddc3['icon'],_0x1411b9['bind']('label')['to'](_0x21f6ae,'isImageSelected',_0x21f222=>_(_0x576545,_0x34ddc3['type'],_0x21f222?'Replace':'Insert')['text']),_0x1411b9['tooltip']=!0x0,_0x1411b9;}['_createDropdownButtons'](_0x419ca5){const {locale:_0x545894}=this['editor'],_0xa5453=this['editor']['plugins']['get']('ImageInsertUI');return _0x419ca5['map'](_0x2129ea=>{const _0x1c66f1=this['_createButton'](_0x1ee50a,_0x2129ea['type']);return _0x1c66f1['withText']=!0x0,_0x1c66f1['icon']=_0x2129ea['icon'],_0x1c66f1['bind']('label')['to'](_0xa5453,'isImageSelected',_0x11ac55=>_(_0x545894,_0x2129ea['type'],_0x11ac55?'Replace':'Insert')['text']),_0x1c66f1;});}['_createMenuBarButtons'](_0x3fc7df){return _0x3fc7df['map'](_0x4fb833=>{const _0x1cae9f=this['_createButton'](_0x3f4b14,_0x4fb833['type']);return _0x1cae9f['icon']=_0x4fb833['icon'],_0x1cae9f['label']=_0x4fb833['shortText'],_0x1cae9f;});}}class F extends _0xaefcf9{['focusTracker'];['focusCycler'];constructor(_0x2aeaa){super(_0x2aeaa),this['focusTracker']=new _0x2d9d3a(),this['focusCycler']=new _0x322e23({'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 x extends F{constructor(_0x4c3131,_0x1215dd){super(_0x4c3131),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-'+_0x1215dd}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x13eb74,_0x44fdbc){const _0xbfffe7=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x19b982=>_0x19b982<=_0x44fdbc)['map'](_0x1ef8d0=>_0x13eb74['replace'](/\/$/,'')+'/-/resize/'+_0x1ef8d0+'x/\x20'+_0x1ef8d0+'w');return{'imageFallbackUrl':_0x13eb74,'imageSources':[{'srcset':_0xbfffe7['join'](',\x20'),'sizes':'(max-width:\x20'+_0x44fdbc+'px)\x20100vw,\x20'+_0x44fdbc+'px','type':'image/webp'}]};}function S(_0x359c05,_0x253204,_0x135190){const _0x1d6acb=_0x359c05['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1d6acb?parseInt(_0x1d6acb[0x1],0xa):_0x253204,'height':_0x1d6acb?parseInt(_0x1d6acb[0x2],0xa):_0x135190};}function p(_0x52c53d,_0x5356f4){const _0x2bca3a=new(_0x2431ea())(),_0x20491c=_0x52c53d['plugins']['get']('ImageUtils'),_0x3d1a64=_0x52c53d['editing']['mapper']['toViewElement'](_0x5356f4),_0x4edb01=_0x20491c['findViewImgElement'](_0x3d1a64),_0x86a5d3=_0x52c53d['editing']['view']['domConverter']['viewToDom'](_0x4edb01),_0x44d8d0=_0x5356f4['getAttribute']('width'),_0x4b744b=_0x5356f4['getAttribute']('height'),_0x36eb8b='image-processing';_0x52c53d['editing']['view']['change'](_0x10fdc1=>{_0x10fdc1['addClass'](_0x36eb8b,_0x3d1a64),_0x10fdc1['setStyle']('aspect-ratio',_0x44d8d0+'/'+_0x4b744b,_0x4edb01);}),_0x2bca3a['listenTo'](_0x86a5d3,'load',()=>{_0x2bca3a['stopListening'](_0x86a5d3,'load'),_0x52c53d['editing']['view']['change'](_0x23048e=>{_0x23048e['removeClass'](_0x36eb8b,_0x3d1a64),_0x23048e['removeStyle']('aspect-ratio',_0x4edb01);});});}function z(_0x241044){if(Array['isArray'](_0x241044)){const _0x3528e3=_0x241044['map'](z);return _0x250d98=>_0x3528e3['some'](_0x256588=>_0x256588(_0x250d98));}if('origin'==_0x241044){const _0x260e61=_0x549fe9['window']['location']['origin'];return _0x8f805=>new URL(_0x8f805,_0x549fe9['document']['baseURI'])['origin']==_0x260e61;}return'function'==typeof _0x241044?_0x241044:_0x241044 instanceof RegExp?_0x3928bd=>!(!_0x3928bd['match'](_0x241044)&&!_0x3928bd['replace'](/^https?:\/\//,'')['match'](_0x241044)):()=>!0x1;}function A(_0x5adf93,_0x15d430){return _0x1a2a5a(_0x5adf93['target'])['includes'](_0x15d430);}class n extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x467891(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5538a1,_0x5f3e9f,_0x9b9aab){super(),this['_editor']=_0x5538a1,this['_editing']=_0x5f3e9f,this['_dialog']=_0x5538a1['plugins']['get'](_0x54735e),this['_api']=_0x5f3e9f['ctxElement']['getAPI'](),this['_type']=_0x9b9aab,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:_0x1eb42a,model:_0x4acd98}=this['_editor'],_0x165688=_0x4acd98['document']['selection']['getSelectedElement'](),_0x59581d=_0x165688&&(_0x165688['is']('element','imageBlock')||_0x165688['is']('element','imageInline'));this['_formView']=new x(_0x1eb42a,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5be734,'title':_(_0x1eb42a,this['_type'],_0x59581d?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x29d86c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5436ec=>!A(_0x5436ec,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4f94a1}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5ccd97=>{const _0x2ff75a=_0x4f94a1['length'];for(const _0x182c2a of _0x4f94a1){const _0x1fe201=_0x182c2a===_0x4f94a1[_0x2ff75a-0x1],{cdnUrl:_0xdcaa8,fileInfo:_0x1f5bdc}=_0x182c2a;if(!_0xdcaa8||!_0x1f5bdc)continue;const {width:_0x1f73a2,height:_0x4baa61}=_0x1f5bdc['imageInfo'],_0x204bf0=S(_0xdcaa8,_0x1f73a2,_0x4baa61),_0x144006=C(_0xdcaa8,_0x204bf0['width']),_0x3b143e={'id':_0x1f5bdc['uuid'],'type':'image','attributes':{'imageDimension':_0x204bf0,..._0x144006}};this['_insertAsset'](_0x3b143e,_0x1fe201,_0x5ccd97);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x50b03e=>{'idle'===_0x50b03e['detail']['status']&&!_0x50b03e['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x5a3715,_0x2e3a93,_0x5b82bf){const _0x34598a=this['_editor']['model']['document']['selection'],_0x202823=_0x34598a['getSelectedElement'](),_0x4832df=!(!_0x202823||!_0x202823['is']('element','imageInline'));_0x5b82bf['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x5a3715,_0x4832df),_0x2e3a93||_0x5b82bf['setSelection'](_0x34598a['getLastPosition']());}['_insertImage'](_0x3df207,_0x5e5ef2){const _0x304c40=this['_editor'],{imageDimension:_0x548257,imageFallbackUrl:_0x408279,imageSources:_0x559a5a}=_0x3df207['attributes'];_0x304c40['execute']('insertImage',{'imageType':_0x5e5ef2?'imageInline':null,'source':{'uploadcareImageId':_0x3df207['id'],'src':_0x408279,'sources':_0x559a5a,..._0x548257}});}}class w extends _0x284940{['_editing'];['_controller']=null;static get['requires'](){return[_0x54735e,o];}constructor(_0x99f5f5){super(_0x99f5f5),this['_editing']=_0x99f5f5['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x342836){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x342836);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3a5f05,..._0x1c99e5}){return _0xd5fe97(_0x3a5f05,_0x1c99e5);}static['getInfo'](_0x134ba,_0x1c1ecc){return _0x98ea4b(_0x134ba,_0x1c1ecc);}}class f extends _0x3106aa{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x76063b,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x230e10=this['editor'];if(!!!_0x230e10['config']['get']('uploadcare'))return;_0x230e10['plugins']['get'](_0x76063b)['createUploadAdapter']=_0x4eb484=>new k(_0x4eb484,_0x230e10),_0x230e10['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1a6973,{imageElement:_0x1de6fe,data:_0x410d85})=>{_0x230e10['model']['change'](_0x3342cd=>{_0x3342cd['setAttribute']('uploadcareImageId',_0x410d85['uploadcareImageId'],_0x1de6fe);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3014a2,_0x472d21){this['loader']=_0x3014a2,this['editor']=_0x472d21,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x39c67f=await this['loader']['file'];return j['upload']({'file':_0x39c67f,'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':_0x384c4e=>{_0x384c4e&&_0x384c4e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x384c4e['value']);}})['then'](async _0x370fe6=>{const {imageFallbackUrl:_0xe76878,imageSources:_0x40e014}=C(_0x370fe6['cdnUrl'],_0x370fe6['imageInfo']['width']);return{'uploadcareImageId':_0x370fe6['uuid'],'default':_0xe76878,'sources':_0x40e014};})['catch'](()=>{const _0x5ca2ae=t('Cannot\x20upload\x20file:')+('\x20'+_0x39c67f['name']+'.');return Promise['reject'](_0x5ca2ae);});}['abort'](){this['controller']['abort']();}}class o extends _0x3106aa{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x54735e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x46bda3){super(_0x46bda3),this['ucContextId']=_0x462318();}['init'](){const _0x5f5442=this['editor'];_0x5f5442['commands']['add']('uploadcare',new w(_0x5f5442));}['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 _0x1f0229=_0x549fe9['document']['querySelector']('input[uploadcare-file-input]');_0x1f0229&&_0x1f0229['remove']();}),async function(_0x1a4f3a){const _0x28aa99=_0xc43567([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]),_0x4ba5d9=0x535f8c3a,_0x5d7e71=0x5358f37a^_0x4ba5d9,_0x51e6f2=window[_0xc43567([0x44,0x61,0x74,0x65])][_0xc43567([0x6e,0x6f,0x77])](),_0x254389=_0x1a4f3a[_0xc43567([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x57cfab=new window[(_0xc43567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fa5bc=>{_0x254389[_0xc43567([0x6f,0x6e,0x63,0x65])](_0xc43567([0x72,0x65,0x61,0x64,0x79]),_0x2fa5bc);}),_0x9a6ac9={[_0xc43567([0x6b,0x74,0x79])]:_0xc43567([0x45,0x43]),[_0xc43567([0x75,0x73,0x65])]:_0xc43567([0x73,0x69,0x67]),[_0xc43567([0x63,0x72,0x76])]:_0xc43567([0x50,0x2d,0x32,0x35,0x36]),[_0xc43567([0x78])]:_0xc43567([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]),[_0xc43567([0x79])]:_0xc43567([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]),[_0xc43567([0x61,0x6c,0x67])]:_0xc43567([0x45,0x53,0x32,0x35,0x36])},_0x18e68e=_0x254389[_0xc43567([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc43567([0x67,0x65,0x74])](_0xc43567([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x58acb7(){let _0x404ddc,_0x893158=null,_0xdbbeca=null;try{if(_0x18e68e==_0xc43567([0x47,0x50,0x4c]))return _0xc43567([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x404ddc=_0x1a4a1d(),!_0x404ddc)return _0xc43567([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x404ddc[_0xc43567([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xdbbeca=_0x337e4c(_0x404ddc[_0xc43567([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x404ddc[_0xc43567([0x6a,0x74,0x69])])),await _0x58aa9f()?_0x1c31ae()?_0xac066b()?_0xc43567([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x170140()?(_0x404ddc[_0xc43567([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc43567([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x893158=_0x4e8a53(_0xc43567([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x588f04()):_0xc43567([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc43567([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc43567([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xc43567([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xac066b(){const _0x43c3fc=[_0xc43567([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc43567([0x74,0x72,0x69,0x61,0x6c])][_0xc43567([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x404ddc[_0xc43567([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51e6f2/0x3e8:0xe10*_0x5d7e71;return _0x404ddc[_0xc43567([0x65,0x78,0x70])]<_0x43c3fc;}function _0x1c31ae(){const _0x306eca=_0x404ddc[_0xc43567([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x306eca&&(!!_0x306eca[_0xc43567([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc43567([0x2a]))||!!_0x306eca[_0xc43567([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc43567([0x55,0x50,0x4c,0x43])));}function _0x170140(){const _0x1ab28e=_0x404ddc[_0xc43567([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ab28e||0x0==_0x1ab28e[_0xc43567([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2475ec}=new URL(window[_0xc43567([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1ab28e[_0xc43567([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2475ec))return!0x0;const _0x5a5dee=_0x2475ec[_0xc43567([0x73,0x70,0x6c,0x69,0x74])](_0xc43567([0x2e]));return _0x1ab28e[_0xc43567([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4eaf7c=>_0x4eaf7c[_0xc43567([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc43567([0x2a])))[_0xc43567([0x6d,0x61,0x70])](_0x6935a6=>_0x6935a6[_0xc43567([0x73,0x70,0x6c,0x69,0x74])](_0xc43567([0x2e])))[_0xc43567([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x320559=>_0x320559[_0xc43567([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a5dee[_0xc43567([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc43567([0x6d,0x61,0x70])](_0x998f6a=>Array(_0x5a5dee[_0xc43567([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x998f6a[_0xc43567([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc43567([0x66,0x69,0x6c,0x6c])](_0x998f6a[0x0]===_0xc43567([0x2a])?_0xc43567([0x2a]):'')[_0xc43567([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x998f6a))[_0xc43567([0x73,0x6f,0x6d,0x65])](_0x15c0e9=>_0x5a5dee[_0xc43567([0x65,0x76,0x65,0x72,0x79])]((_0x180951,_0x32c68f)=>_0x15c0e9[_0x32c68f]===_0x180951||_0x15c0e9[_0x32c68f]===_0xc43567([0x2a])));}function _0x588f04(){return _0x893158&&_0xdbbeca?new window[(_0xc43567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40d00d,_0x5a5dc9)=>{_0x893158[_0xc43567([0x74,0x68,0x65,0x6e])](_0x40d00d,_0x5a5dc9),_0xdbbeca[_0xc43567([0x74,0x68,0x65,0x6e])](_0x501a67=>{_0x501a67!=_0xc43567([0x56,0x61,0x6c,0x69,0x64])&&_0x40d00d(_0x501a67);},_0x5a5dc9);}):_0x893158||_0xdbbeca||_0xc43567([0x56,0x61,0x6c,0x69,0x64]);}}function _0x337e4c(_0x3691bb,_0x2e7967){return new window[(_0xc43567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x417645=>{if(_0x3e9aac())return _0x417645(_0xc43567([0x56,0x61,0x6c,0x69,0x64]));_0x1f6ad1(),_0x254389[_0xc43567([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc43567([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5dc90f=!0x1;const _0x1b0c38=_0x462318();function _0x53d804(_0x229872){return!!_0x229872&&(typeof _0x229872===_0xc43567([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x229872===_0xc43567([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x229872[_0xc43567([0x74,0x68,0x65,0x6e])]===_0xc43567([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x229872[_0xc43567([0x63,0x61,0x74,0x63,0x68])]===_0xc43567([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x34684d(_0x102f3a){_0x4d26c1(_0x102f3a)[_0xc43567([0x74,0x68,0x65,0x6e])](_0x2a7836=>{if(!_0x2a7836||_0x2a7836[_0xc43567([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc43567([0x6f,0x6b]))return _0xc43567([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a686c(_0x30239e(_0x1b0c38+_0x2e7967))!=_0x2a7836[_0xc43567([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc43567([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc43567([0x56,0x61,0x6c,0x69,0x64]);})[_0xc43567([0x74,0x68,0x65,0x6e])](_0x12d2f3=>(_0x330afa(),_0x12d2f3),()=>{const _0x560c90=_0x384061();return null==_0x560c90?(_0x330afa(),_0xc43567([0x56,0x61,0x6c,0x69,0x64])):_0xc43567(_0x51e6f2-_0x560c90>(0x7753083a^_0x4ba5d9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc43567([0x74,0x68,0x65,0x6e])](_0x417645)[_0xc43567([0x63,0x61,0x74,0x63,0x68])](()=>{_0x417645(_0xc43567([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x26384a=0x536962ba^_0x4ba5d9;function _0x330afa(){const _0x5b93fd=_0xc43567([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a686c(_0x30239e(_0x3691bb)),_0x18c348=_0x243fa0(_0x1a686c(window[_0xc43567([0x4d,0x61,0x74,0x68])][_0xc43567([0x63,0x65,0x69,0x6c])](_0x51e6f2/_0x26384a)));window[_0xc43567([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc43567([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b93fd,_0x18c348);}function _0x384061(){const _0x2e3e2f=_0xc43567([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a686c(_0x30239e(_0x3691bb)),_0x48ab6a=window[_0xc43567([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc43567([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e3e2f);return _0x48ab6a?window[_0xc43567([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x243fa0(_0x48ab6a),0x10)*_0x26384a:null;}function _0x4d26c1(_0x4fc485){return new window[(_0xc43567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24774f,_0x59e955)=>{_0x4fc485[_0xc43567([0x74,0x68,0x65,0x6e])](_0x24774f,_0x59e955),window[_0xc43567([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59e955,0x535e58fa^_0x4ba5d9);});}}_0x254389[_0xc43567([0x6f,0x6e])](_0xc43567([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2147fd,_0x389dce)=>{if(_0x389dce[0x0]!=_0x3691bb)return _0x417645(_0xc43567([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x389dce[0x1]={..._0x389dce[0x1],[_0xc43567([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b0c38};},{[_0xc43567([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc43567([0x68,0x69,0x67,0x68])}),_0x254389[_0xc43567([0x6f,0x6e])](_0xc43567([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x23a820=>{_0x53d804(_0x23a820[_0xc43567([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5dc90f=!0x0,_0x34684d(_0x23a820[_0xc43567([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc43567([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc43567([0x6c,0x6f,0x77])}),_0x57cfab[_0xc43567([0x74,0x68,0x65,0x6e])](()=>{_0x5dc90f||_0x417645(_0xc43567([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e9aac(){return _0x254389[_0xc43567([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc43567([0x76,0x69,0x65,0x77])][_0xc43567([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc43567([0x61,0x75,0x74,0x6f]);}function _0x1f6ad1(){_0x254389[_0xc43567([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc43567([0x76,0x69,0x65,0x77])][_0xc43567([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc43567([0x61,0x75,0x74,0x6f]);}}function _0x4e8a53(_0x525226){const _0x341a0b=[new window[(_0xc43567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10cd0f=>setTimeout(_0x10cd0f,0x5356b2f6^_0x4ba5d9)),_0x57cfab[_0xc43567([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc43567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17632d=>{let _0x40f78e=0x0;_0x254389[_0xc43567([0x6d,0x6f,0x64,0x65,0x6c])][_0xc43567([0x6f,0x6e])](_0xc43567([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x180862,_0x27073c)=>{_0x27073c[0x0][_0xc43567([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40f78e++,_0x40f78e==(0x535f89d2^_0x4ba5d9)&&(_0x17632d(),_0x180862[_0xc43567([0x6f,0x66,0x66])]());});}))];return window[_0xc43567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc43567([0x72,0x61,0x63,0x65])](_0x341a0b)[_0xc43567([0x74,0x68,0x65,0x6e])](()=>_0x525226);}async function _0x4976c1(){await _0x57cfab,_0x254389[_0xc43567([0x6d,0x6f,0x64,0x65,0x6c])][_0xc43567([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b9d35,_0x254389[_0xc43567([0x6d,0x6f,0x64,0x65,0x6c])][_0xc43567([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b9d35,_0x254389[_0xc43567([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc43567([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x462482(_0x3fe208){const _0x5e4d05=_0x516fd9();_0x254389[_0x5e4d05]=_0xc43567([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3fe208,_0x3fe208!=_0xc43567([0x56,0x61,0x6c,0x69,0x64])&&_0x4976c1();}function _0x516fd9(){const _0x166b27=window[_0xc43567([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc43567([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc43567([0x6e,0x6f,0x77])]())[_0xc43567([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc43567([0x2e]),'');let _0x47cb24=_0xc43567([0x68]);for(let _0x3810b0=0x0;_0x3810b0<_0x166b27[_0xc43567([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3810b0+=0x2){let _0x49374b=window[_0xc43567([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x166b27[_0xc43567([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3810b0,_0x3810b0+0x2));_0x49374b>=_0x28aa99[_0xc43567([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x49374b-=_0x28aa99[_0xc43567([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x47cb24+=_0x28aa99[_0x49374b];}return _0x47cb24;}function _0x1a4a1d(){const _0x1be740=_0x18e68e[_0xc43567([0x73,0x70,0x6c,0x69,0x74])](_0xc43567([0x2e]));if(0x3!=_0x1be740[_0xc43567([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x12780a(_0x1be740[0x1]);function _0x12780a(_0x4766cb){const _0x5a7c96=_0x5271ef(_0x4766cb);return _0x5a7c96&&_0x4ecf27()?_0x5a7c96:null;function _0x4ecf27(){const _0x4bee87=_0x5a7c96[_0xc43567([0x6a,0x74,0x69])],_0x4d7043=window[_0xc43567([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bee87[_0xc43567([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bee87[_0xc43567([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45abcc={..._0x5a7c96,[_0xc43567([0x6a,0x74,0x69])]:_0x4bee87[_0xc43567([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4bee87[_0xc43567([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45abcc[_0xc43567([0x76,0x63])],_0x30239e(_0x45abcc)==_0x4d7043;}}}async function _0x58aa9f(){let _0x3fd27f=!0x0;try{const _0xa7b5ed=_0x18e68e[_0xc43567([0x73,0x70,0x6c,0x69,0x74])](_0xc43567([0x2e])),[_0x4bfc3c,_0x592143,_0x49d3e8]=_0xa7b5ed;return _0x4aac72(_0x4bfc3c),await _0x237ea5(_0x4bfc3c,_0x592143,_0x49d3e8),_0x3fd27f;}catch{return!0x1;}function _0x4aac72(_0x30af13){const _0x45d61d=_0x5271ef(_0x30af13);_0x45d61d&&_0x45d61d[_0xc43567([0x61,0x6c,0x67])]==_0xc43567([0x45,0x53,0x32,0x35,0x36])||(_0x3fd27f=!0x1);}async function _0x237ea5(_0xb2a5c7,_0x1042bf,_0x4b4b99){const _0xf821c=window[_0xc43567([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc43567([0x66,0x72,0x6f,0x6d])](_0x954db3(_0x4b4b99),_0x18a186=>_0x18a186[_0xc43567([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f3c0d=new window[(_0xc43567([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc43567([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb2a5c7+_0xc43567([0x2e])+_0x1042bf),_0x2878be=window[_0xc43567([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc43567([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2878be)return;const _0x56dfb1=await _0x2878be[_0xc43567([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc43567([0x6a,0x77,0x6b]),_0x9a6ac9,{[_0xc43567([0x6e,0x61,0x6d,0x65])]:_0xc43567([0x45,0x43,0x44,0x53,0x41]),[_0xc43567([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc43567([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc43567([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2878be[_0xc43567([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc43567([0x6e,0x61,0x6d,0x65])]:_0xc43567([0x45,0x43,0x44,0x53,0x41]),[_0xc43567([0x68,0x61,0x73,0x68])]:{[_0xc43567([0x6e,0x61,0x6d,0x65])]:_0xc43567([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56dfb1,_0xf821c,_0x2f3c0d)||(_0x3fd27f=!0x1);}}function _0x5271ef(_0x1324f8){return _0x1324f8[_0xc43567([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc43567([0x65,0x79]))?JSON[_0xc43567([0x70,0x61,0x72,0x73,0x65])](_0x954db3(_0x1324f8)):null;}function _0x954db3(_0x4b9119){return window[_0xc43567([0x61,0x74,0x6f,0x62])](_0x4b9119[_0xc43567([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc43567([0x2b]))[_0xc43567([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc43567([0x2f])));}function _0x30239e(_0x28c459){let _0x10311a=0x1505;function _0x5af2c7(_0x50a1e5){for(let _0x6ddcef=0x0;_0x6ddcef<_0x50a1e5[_0xc43567([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6ddcef++){const _0x279869=_0x50a1e5[_0xc43567([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x6ddcef);_0x10311a=(_0x10311a<<0x5)+_0x10311a+_0x279869,_0x10311a&=_0x10311a;}}function _0x3ce391(_0x449824){Array[_0xc43567([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x449824)?_0x449824[_0xc43567([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ce391):_0x449824&&typeof _0x449824==_0xc43567([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc43567([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x449824)[_0xc43567([0x73,0x6f,0x72,0x74])]()[_0xc43567([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x451143,_0x2a3d3f])=>{_0x5af2c7(_0x451143),_0x3ce391(_0x2a3d3f);}):_0x5af2c7(window[_0xc43567([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x449824));}return _0x3ce391(_0x28c459),_0x10311a>>>0x0;}function _0x1a686c(_0xd2b76c){return _0xd2b76c[_0xc43567([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc43567([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc43567([0x30]));}function _0x243fa0(_0x5b5244){return _0x5b5244[_0xc43567([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc43567([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc43567([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b9d35(){}function _0xc43567(_0x16034c){return _0x16034c['map'](_0x5885b0=>String['fromCharCode'](_0x5885b0))['join']('');}_0x462482(await _0x58acb7());}(this);}['_initSchema'](){const _0x3ed82d=this['editor']['model']['schema'];_0x3ed82d['isRegistered']('imageBlock')&&_0x3ed82d['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3ed82d['isRegistered']('imageInline')&&_0x3ed82d['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xc34b91=this['editor'];_0xc34b91['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xc34b91['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x11670a=>_0x11670a['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5c245c=_0xc34b91['commands']['get']('replaceImageSource');_0x5c245c&&this['listenTo'](_0x5c245c,'cleanupImage',(_0x43f51a,[_0x38f867,_0x1e515a])=>{_0x38f867['removeAttribute']('uploadcareImageId',_0x1e515a);});}['_initConfig'](){const _0x493853=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5c080a=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x5de064(_0x549fe9['document'],'uc-config',{..._0x493853,'pubkey':_0x5c080a,'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']=_0x2a2f2d=>{if('closeMax'==_0x2a2f2d)return'#uc-icon-arrow-down';},_0x549fe9['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x5de064(_0x549fe9['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x549fe9['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3dc99a=this['editor']['commands']['get']('insertImage');_0x3dc99a&&this['listenTo'](_0x3dc99a,'execute',()=>{const _0x2a35ae=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2a35ae&&_0x2a35ae['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2a35ae);});});const _0x50d120=this['editor']['commands']['get']('uploadcareImageReplace');_0x50d120&&this['listenTo'](_0x50d120,'execute',()=>{const _0x59f490=this['editor']['model']['document']['selection']['getSelectedElement']();_0x59f490&&_0x59f490['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x59f490);});});}}class tt extends _0x3106aa{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x956a12){super(_0x956a12),_0x956a12['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5882de['defineComponents'](_0x5882de),this['_defineLocale']();}['_defineLocale'](){const _0x5c3832=this['editor']['config']['get']('uploadcare.locale'),_0xf996dd=this['editor']['locale']['contentLanguage'];_0x5c3832&&_0x5882de['defineLocale'](_0xf996dd,_0x5c3832);}}class ii extends _0xaefcf9{constructor(_0x6af9b6){super(_0x6af9b6);const t=_0x6af9b6['t'],_0x3a95e3=this['bindTemplate'],_0x556c88=new _0x4a7705();_0x556c88['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':[_0x556c88,{'text':_0x3a95e3['to']('imageUploadProgress',_0x26fc77=>t('Loading\x20image...')+'\x20('+(_0x26fc77||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 ti extends _0xaefcf9{constructor(_0x1ac8fc){super(_0x1ac8fc);const t=_0x1ac8fc['t'];this['set']('errorType',null);const _0x40b54c=new _0x1ee50a(_0x1ac8fc);_0x40b54c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x40b54c['withText']=!0x0,_0x40b54c['class']='ck-button-action',_0x40b54c['on']('execute',()=>{this['fire']('retry');}),_0x40b54c['bind']('isVisible')['to'](this,'errorType',_0x5a67fc=>'NotFound'!==_0x5a67fc);const _0x3b344c=new _0x494dea();_0x3b344c['content']=_0x172267,_0x3b344c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x368ee6=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':[_0x3b344c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x368ee6['to']('errorType',_0x27ba0a=>t('NotFound'!==_0x27ba0a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x40b54c]},{'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 ei extends _0xaefcf9{constructor(_0x4f5828,_0x3fac06){super(_0x4f5828);const _0x3c01ac=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3fac06,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3c01ac['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5783e0,_0x4ca864,_0x3cd190){super(_0x5783e0),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5783e0),this['_errorView']=new ti(_0x5783e0),this['_editingView']=new ei(_0x5783e0,_0x3cd190),this['_focusableView']=new _0xaefcf9(_0x5783e0),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4ca864),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'],_0x7da201=>{this['_addUploadcareImageEditorListeners'](_0x7da201);});}),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'](_0x333e66,_0x35131a){const _0x253863='uc-cloud-image-editor',_0x376683=_0x333e66['querySelector'](_0x253863);if(_0x376683)return _0x35131a(_0x376683);const _0x43e57b=new MutationObserver(_0x43d429=>{const _0xd52295=_0x43d429['filter'](_0x43fc95=>_0x43fc95['target']===_0x333e66&&_0x43fc95['addedNodes']['length']>0x0&&_0x43fc95['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x253863);_0xd52295['length']&&(_0x43e57b['disconnect'](),_0x35131a(_0xd52295[0x0]['addedNodes'][0x0]));});_0x43e57b['observe'](_0x333e66,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x52e7aa){_0x52e7aa['addEventListener']('apply',_0x2e250d=>{this['fire']('apply',{'imageSrc':_0x2e250d['detail']['cdnUrl']});}),_0x52e7aa['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x467891(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x36ad96,_0x2ebd9c,_0x4363c1){super(),this['_editor']=_0x36ad96,this['_dialog']=_0x2ebd9c,this['_imageElement']=_0x4363c1,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 _0x4a1e93=this['_imageElement'],_0x1d3b82=_0x4a1e93['getAttribute']('uploadcareImageId'),_0x40f951=_0x4a1e93['getAttribute']('src');if(_0x1d3b82)await this['_loadImageInfo'](_0x1d3b82,_0x40f951);else{if(this['_imageCache']['has'](_0x40f951)){const _0x134e96=this['_imageCache']['get'](_0x40f951);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x134e96['url'],this['imageDimension']=_0x134e96['dimension'],this['imageId']=_0x134e96['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1fac2c}=this['_editor'],t=_0x1fac2c['t'],_0x24e796=new X(_0x1fac2c,this['imageStatus'],this['_attributes']);_0x24e796['bind']('status')['to'](this,'imageStatus'),_0x24e796['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x24e796['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x24e796['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x24e796,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x7704a6,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x24e796,'position':_0x29d86c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x24e796['focus']();},'onHide':()=>{_0x24e796['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2a0f2f=>!A(_0x2a0f2f,_0x24e796['element'])}});}['_loadImageInfo'](_0x4d8544,_0x2eee7a){return j['getInfo'](_0x4d8544,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1d659d=>{const {width:_0x111be8,height:_0x2da49b}=_0x1d659d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2eee7a,this['imageDimension']={'width':_0x111be8,'height':_0x2da49b},this['imageId']=_0x4d8544;})['catch'](_0x1896b0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1896b0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2bde7f,_0x33e6b2){return this['_getImageAsFile'](_0x2bde7f)['then'](_0x5861a6=>j['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':_0x33e6b2['signal'],'file':_0x5861a6,'onProgress':_0x4cabee=>{_0x4cabee&&_0x4cabee['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4cabee['value']));}}))['then'](_0x33d483=>{const {width:_0xb9dd97,height:_0x144089}=_0x33d483['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x33d483['cdnUrl'],this['imageDimension']={'width':_0xb9dd97,'height':_0x144089},this['imageId']=_0x33d483['uuid'],this['imageUploadProgress']=null;const _0x3e5291=_0x2bde7f['getAttribute']('src');this['_imageCache']['set'](_0x3e5291,{'id':_0x33d483['uuid'],'url':_0x33d483['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2b0a91=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b0a91['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1db88b,_0x252d84){_0x1db88b['on']('apply',(_0x5e76cb,_0x1907e8)=>{this['_replaceImage'](_0x252d84,_0x1907e8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1db88b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1db88b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xe5fbac,_0xa1b2d4,_0x29d59c){const _0x1ba92a=this['_editor'],{width:_0x523b4d,height:_0x3f5d37}=S(_0xa1b2d4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xb1acaa,imageSources:_0x5675d8}=C(_0xa1b2d4,_0x523b4d);_0x1ba92a['model']['change'](_0x6f88b3=>{if('$graveyard'===_0xe5fbac['root']['rootName']){_0x1ba92a['execute']('insertImage',{'imageType':_0xe5fbac['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xe5fbac['getAttributes']()),'uploadcareImageId':_0x29d59c,'src':_0xb1acaa,'sources':_0x5675d8,'width':_0x523b4d,'height':_0x3f5d37}});const _0x2e7d6b=_0xe5fbac['getChildren']();_0xe5fbac=_0x1ba92a['model']['document']['selection']['getSelectedElement']();for(const _0x253471 of _0x2e7d6b)_0x6f88b3['append'](_0x6f88b3['cloneElement'](_0x253471),_0xe5fbac);}else _0x6f88b3['setSelection'](_0xe5fbac,'on'),_0x1ba92a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xe5fbac['getAttributes']()),'uploadcareImageId':_0x29d59c,'src':_0xb1acaa,'sources':_0x5675d8,'width':_0x523b4d,'height':_0x3f5d37},_0xe5fbac);_0x6f88b3['setSelection'](_0xe5fbac,'on');});}async['_getImageAsFile'](_0x432131){const _0x283c78=_0x549fe9['window'],_0x329a6c=_0x549fe9['document']['location']['href'],_0x1562a2=new _0x283c78['URL'](_0x432131['getAttribute']('src'),_0x329a6c);if('data:'===_0x1562a2['protocol']){const _0x5081ef=_0x1562a2['href']['split'](','),_0x2f6fb0=_0x5081ef[0x0]['match'](/:(.*?);/)[0x1],_0x428787=_0x2f6fb0['split']('/')[0x1],_0x2b2498=_0x283c78['atob'](_0x5081ef[_0x5081ef['length']-0x1]);let _0x2f5fee=_0x2b2498['length'];const _0xe4e68b=new _0x283c78['Uint8Array'](_0x2f5fee);for(;_0x2f5fee--;)_0xe4e68b[_0x2f5fee]=_0x2b2498['charCodeAt'](_0x2f5fee);return new _0x283c78['File']([_0xe4e68b],'image.'+_0x428787,{'type':_0x2f6fb0});}const _0x31836f=_0x1562a2['href']['split']('/'),_0x1e14a6=_0x31836f[_0x31836f['length']-0x1],_0xdd6ee0=_0x1e14a6['split']('.')[0x1];return _0x283c78['fetch'](_0x1562a2['href'])['then'](_0x3c9e76=>_0x3c9e76['clone']()['blob']())['then'](_0x145738=>new _0x283c78['File']([_0x145738],_0x1e14a6,{'type':'image/'+_0xdd6ee0}));}}class Q extends _0x284940{['imageEditController'];static get['requires'](){return[_0x54735e];}['_isEditable'];constructor(_0x477f93){super(_0x477f93),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1b1786){const _0x6a44ad=z(_0x1b1786);return _0x2e8ac6=>!(!_0x2e8ac6||!_0x2e8ac6['is']('element','imageBlock')&&!_0x2e8ac6['is']('element','imageInline'))&&(!!_0x2e8ac6['hasAttribute']('uploadcareImageId')||!!_0x2e8ac6['hasAttribute']('src')&&_0x6a44ad(_0x2e8ac6['getAttribute']('src')));}(_0x477f93['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x448339=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x448339);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x285d86=this['editor']['model']['document']['selection']['getSelectedElement']();_0x285d86&&(_0x285d86['is']('element','imageBlock')||_0x285d86['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x54735e),_0x285d86),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x284940{['refresh'](){const _0x3dcf03=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3dcf03&&(_0x3dcf03['is']('element','imageBlock')||_0x3dcf03['is']('element','imageInline')));}['execute'](_0x395f9e){const _0x2fde55=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2fa555=>{_0x2fa555['setAttributes'](_0x395f9e,_0x2fde55),_0x2fa555['removeAttribute']('srcset',_0x2fde55),_0x2fa555['removeAttribute']('sizes',_0x2fde55);});}}class m extends _0x3106aa{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x311613,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x223509}=this;_0x223509['commands']['add']('uploadcareImageEdit',new Q(_0x223509)),_0x223509['commands']['add']('uploadcareImageReplace',new V(_0x223509));}}class g extends _0x3106aa{['_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 _0x3b84f7=this['editor'];_0x3b84f7['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3c3acc=>{const _0x5d0e71=_0x3b84f7['commands']['get']('uploadcareImageEdit'),_0x57c2c5=new _0x1ee50a(_0x3c3acc),t=_0x3c3acc['t'];return _0x57c2c5['set']({'icon':_0x7704a6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x57c2c5['bind']('isEnabled')['to'](_0x5d0e71),_0x57c2c5['bind']('isOn')['to'](_0x5d0e71,'isActive'),this['listenTo'](_0x57c2c5,'execute',()=>{_0x3b84f7['execute']('uploadcareImageEdit'),_0x3b84f7['editing']['view']['focus']();}),_0x57c2c5;}),this['_initConfig']();}['_initConfig'](){const _0x2d5a30=_0x5de064(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2d5a30),this['listenTo'](this['editor'],'destroy',()=>{_0x2d5a30['remove']();});}}class et extends _0x3106aa{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
|
|
23
|
+
import{Plugin as _0x521f17,Command as _0x30df83}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x9247a,IconGooglePhotos as _0x59a9b6,IconGoogleDrive as _0x2de0bf,IconFacebook as _0x63468f,IconDropbox as _0x27b305,IconUploadcareLink as _0x4f8a02,IconUploadcareImageUpload as _0x33152e,IconError as _0x542478,IconUploadcareImageEdit as _0x3f8b15}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1f56d8,MenuBarMenuListItemButtonView as _0x12b511,View as _0x4d5d2c,FocusCycler as _0x3cfafe,Dialog as _0x1a4abd,DialogViewPosition as _0x3cfb73,SpinnerView as _0x54f70c,IconView as _0x55ff67,Notification as _0x454319}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x49d230,DomEmitterMixin as _0x11f777,global as _0xba4554,getAncestors as _0x1368fe,ObservableMixin as _0x241f84,uid as _0x43528f,createElement as _0x3b538e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xf4f0f4}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2e98ee,info as _0x41f858}from'@uploadcare/upload-client';import*as _0x39459d from'@uploadcare/file-uploader';var S=function(_0x269e33){return _0x269e33['Local']='local',_0x269e33['URL']='url',_0x269e33['Dropbox']='dropbox',_0x269e33['GDrive']='gdrive',_0x269e33['Facebook']='facebook',_0x269e33['GPhotos']='gphotos',_0x269e33['OneDrive']='onedrive',_0x269e33;}({});function T(_0x1cca5b,_0x2a175d,_0xc60196){const t=_0x1cca5b['t'],_0x2d4485=_0x1cca5b['t'];switch(_0x2a175d){case S['Local']:return{'text':_0x2d4485('Insert'===_0xc60196?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2d4485('From\x20computer')};case S['URL']:return{'text':'Insert'===_0xc60196?_0x2d4485('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2d4485('Via\x20URL')};case S['Dropbox']:return{'text':t('Insert'===_0xc60196?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case S['Facebook']:return{'text':t('Insert'===_0xc60196?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case S['GDrive']:return{'text':t('Insert'===_0xc60196?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case S['GPhotos']:return{'text':t('Insert'===_0xc60196?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case S['OneDrive']:return{'text':t('Insert'===_0xc60196?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2a175d;}}class A extends _0x521f17{['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 _0x4e6021=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d190e;for(const _0x47debd in _0x4e6021){const _0x12c896=_0x47debd,_0x160146=_0x4e6021[_0x12c896];if('uploadcareLicenseKeyValid'==_0x160146||'uploadcareLicenseKeyInvalid'==_0x160146||'uploadcareLicenseKeyExpired'==_0x160146||'uploadcareLicenseKeyDomainLimit'==_0x160146||'uploadcareLicenseKeyNotAllowed'==_0x160146||'uploadcareLicenseKeyEvaluationLimit'==_0x160146||'uploadcareLicenseKeyUsageLimit'==_0x160146){delete _0x4e6021[_0x12c896],_0x1d190e=_0x160146,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1d190e&&_0x4e6021['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1d190e&&_0x4e6021['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1d190e&&_0x4e6021['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1d190e&&_0x4e6021['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1d190e&&_0x4e6021['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1d190e&&_0x4e6021['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5f2650}=this,_0x4957f8=_0x5f2650['commands']['get']('uploadcare');if(!_0x4957f8)return;const _0x5a9d50=this['_normalizeConfigSourceList'](_0x5f2650['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x22c2d7,_0x244e8c)=>{const _0xc14a06=this['_getIntegrationKey'](_0x244e8c['type']);return _0x22c2d7[_0xc14a06]||(_0x22c2d7[_0xc14a06]=[]),_0x22c2d7[_0xc14a06]['push'](_0x244e8c),_0x22c2d7;},{});_0x5f2650['plugins']['has']('ImageInsertUI')&&_0x5f2650['commands']['get']('uploadcare')&&Object['entries'](_0x5a9d50)['forEach'](([_0x25755b,_0x351e71])=>{_0x5f2650['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x25755b,'observable':()=>_0x4957f8,'buttonViewCreator':()=>this['_createToolbarButton'](_0x351e71),'formViewCreator':()=>this['_createDropdownButtons'](_0x351e71),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x351e71),'override':'assetManager'!==_0x25755b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x44fa34){const {locale:_0x312ef2}=this['editor'];return _0x44fa34['map'](_0x38c654=>{const _0x2c280b=T(_0x312ef2,_0x38c654,'Insert');switch(_0x38c654){case S['Local']:return{'icon':_0x33152e,'type':S['Local'],..._0x2c280b};case S['URL']:return{'icon':_0x4f8a02,'type':S['URL'],..._0x2c280b};case S['Dropbox']:return{'icon':_0x27b305,'type':S['Dropbox'],..._0x2c280b};case S['Facebook']:return{'icon':_0x63468f,'type':S['Facebook'],..._0x2c280b};case S['GDrive']:return{'icon':_0x2de0bf,'type':S['GDrive'],..._0x2c280b};case S['GPhotos']:return{'icon':_0x59a9b6,'type':S['GPhotos'],..._0x2c280b};case S['OneDrive']:return{'icon':_0x9247a,'type':S['OneDrive'],..._0x2c280b};}});}['_getIntegrationKey'](_0x529bc4){switch(_0x529bc4){case S['Local']:return'upload';case S['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x258df8,_0x1e2f0f){const _0x1d6ddb=this['editor'],_0x418ef6=new _0x258df8(_0x1d6ddb['locale']),_0x44e7d1=_0x1d6ddb['commands']['get']('uploadcare');return _0x418ef6['bind']('isEnabled')['to'](_0x44e7d1),_0x418ef6['on']('execute',()=>{_0x44e7d1['execute'](_0x1e2f0f);}),_0x418ef6;}['_createToolbarButton'](_0x2c6936){const {locale:_0x441630}=this['editor'],_0x30dcaa=this['editor']['plugins']['get']('ImageInsertUI'),_0x8622b6=_0x2c6936[0x0],_0x238a3a=this['_createButton'](_0x1f56d8,_0x8622b6['type']);return _0x238a3a['icon']=_0x8622b6['icon'],_0x238a3a['bind']('label')['to'](_0x30dcaa,'isImageSelected',_0x44b141=>T(_0x441630,_0x8622b6['type'],_0x44b141?'Replace':'Insert')['text']),_0x238a3a['tooltip']=!0x0,_0x238a3a;}['_createDropdownButtons'](_0x40c8f8){const {locale:_0x3aee16}=this['editor'],_0x54ada5=this['editor']['plugins']['get']('ImageInsertUI');return _0x40c8f8['map'](_0xa37dd3=>{const _0x377141=this['_createButton'](_0x1f56d8,_0xa37dd3['type']);return _0x377141['withText']=!0x0,_0x377141['icon']=_0xa37dd3['icon'],_0x377141['bind']('label')['to'](_0x54ada5,'isImageSelected',_0x144c1c=>T(_0x3aee16,_0xa37dd3['type'],_0x144c1c?'Replace':'Insert')['text']),_0x377141;});}['_createMenuBarButtons'](_0x13dc31){return _0x13dc31['map'](_0x3a84d0=>{const _0x14f0cf=this['_createButton'](_0x12b511,_0x3a84d0['type']);return _0x14f0cf['icon']=_0x3a84d0['icon'],_0x14f0cf['label']=_0x3a84d0['shortText'],_0x14f0cf;});}}class K extends _0x4d5d2c{['focusTracker'];['focusCycler'];constructor(_0x4406ef){super(_0x4406ef),this['focusTracker']=new _0x49d230(),this['focusCycler']=new _0x3cfafe({'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(_0x454a7d,_0x57e7f7){super(_0x454a7d),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-'+_0x57e7f7}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function D(_0x235e55,_0x12e383){const _0x5c6295=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4d14b1=>_0x4d14b1<=_0x12e383)['map'](_0x4b0d39=>_0x235e55['replace'](/\/$/,'')+'/-/resize/'+_0x4b0d39+'x/\x20'+_0x4b0d39+'w');return{'imageFallbackUrl':_0x235e55,'imageSources':[{'srcset':_0x5c6295['join'](',\x20'),'sizes':'(max-width:\x20'+_0x12e383+'px)\x20100vw,\x20'+_0x12e383+'px','type':'image/webp'}]};}function F(_0x54ab82,_0x37ee88,_0x436e49){const _0x1ba6bd=_0x54ab82['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1ba6bd?parseInt(_0x1ba6bd[0x1],0xa):_0x37ee88,'height':_0x1ba6bd?parseInt(_0x1ba6bd[0x2],0xa):_0x436e49};}function $(_0x2b7362,_0x1193ad){const _0x5a3c59=new(_0x11f777())(),_0x571135=_0x2b7362['plugins']['get']('ImageUtils'),_0x3eacbb=_0x2b7362['editing']['mapper']['toViewElement'](_0x1193ad),_0x9b9237=_0x571135['findViewImgElement'](_0x3eacbb),_0x158a70=_0x2b7362['editing']['view']['domConverter']['viewToDom'](_0x9b9237),_0x303fb1=_0x1193ad['getAttribute']('width'),_0x2895ce=_0x1193ad['getAttribute']('height'),_0x1912f7='image-processing';_0x2b7362['editing']['view']['change'](_0x507e3c=>{_0x507e3c['addClass'](_0x1912f7,_0x3eacbb),_0x507e3c['setStyle']('aspect-ratio',_0x303fb1+'/'+_0x2895ce,_0x9b9237);}),_0x5a3c59['listenTo'](_0x158a70,'load',()=>{_0x5a3c59['stopListening'](_0x158a70,'load'),_0x2b7362['editing']['view']['change'](_0xb4ff39=>{_0xb4ff39['removeClass'](_0x1912f7,_0x3eacbb),_0xb4ff39['removeStyle']('aspect-ratio',_0x9b9237);});});}function B(_0x4120f9){if(Array['isArray'](_0x4120f9)){const _0xb25b2c=_0x4120f9['map'](B);return _0x4598a2=>_0xb25b2c['some'](_0x12850a=>_0x12850a(_0x4598a2));}if('origin'==_0x4120f9){const _0x53e416=_0xba4554['window']['location']['origin'];return _0x55e145=>new URL(_0x55e145,_0xba4554['document']['baseURI'])['origin']==_0x53e416;}return'function'==typeof _0x4120f9?_0x4120f9:_0x4120f9 instanceof RegExp?_0x21f54e=>!(!_0x21f54e['match'](_0x4120f9)&&!_0x21f54e['replace'](/^https?:\/\//,'')['match'](_0x4120f9)):()=>!0x1;}function V(_0x4e2367,_0x4a33be){return _0x1368fe(_0x4e2367['target'])['includes'](_0x4a33be);}class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x241f84(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x339d20,_0x519080,_0x140e0c){super(),this['_editor']=_0x339d20,this['_editing']=_0x519080,this['_dialog']=_0x339d20['plugins']['get'](_0x1a4abd),this['_api']=_0x519080['ctxElement']['getAPI'](),this['_type']=_0x140e0c,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:_0x49b123,model:_0x2ad541}=this['_editor'],_0x3d8f1d=_0x2ad541['document']['selection']['getSelectedElement'](),_0x1d97ea=_0x3d8f1d&&(_0x3d8f1d['is']('element','imageBlock')||_0x3d8f1d['is']('element','imageInline'));this['_formView']=new O(_0x49b123,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x33152e,'title':T(_0x49b123,this['_type'],_0x1d97ea?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3cfb73['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x51d9b2=>!V(_0x51d9b2,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1ea8f9}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1dcafc=>{const _0x1fb8b0=_0x1ea8f9['length'];for(const _0x2c228d of _0x1ea8f9){const _0x515d2a=_0x2c228d===_0x1ea8f9[_0x1fb8b0-0x1],{cdnUrl:_0x492c22,fileInfo:_0x15f3ae}=_0x2c228d;if(!_0x492c22||!_0x15f3ae)continue;const {width:_0x124246,height:_0x451726}=_0x15f3ae['imageInfo'],_0x3ea0f1=F(_0x492c22,_0x124246,_0x451726),_0x1cdaf9=D(_0x492c22,_0x3ea0f1['width']),_0x3c11d2={'id':_0x15f3ae['uuid'],'type':'image','attributes':{'imageDimension':_0x3ea0f1,..._0x1cdaf9}};this['_insertAsset'](_0x3c11d2,_0x515d2a,_0x1dcafc);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3bf6cb=>{'idle'===_0x3bf6cb['detail']['status']&&!_0x3bf6cb['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===S['Local']?this['_api']['setCurrentActivity'](S['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1e2bf0,_0x553dca,_0x501465){const _0x14cf1e=this['_editor']['model']['document']['selection'],_0x1ef8f5=_0x14cf1e['getSelectedElement'](),_0x296215=!(!_0x1ef8f5||!_0x1ef8f5['is']('element','imageInline'));_0x501465['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1e2bf0,_0x296215),_0x553dca||_0x501465['setSelection'](_0x14cf1e['getLastPosition']());}['_insertImage'](_0xe75072,_0xebda29){const _0x3bab2a=this['_editor'],{imageDimension:_0x3dc9c5,imageFallbackUrl:_0x482f1b,imageSources:_0x14afc7}=_0xe75072['attributes'];_0x3bab2a['execute']('insertImage',{'imageType':_0xebda29?'imageInline':null,'source':{'uploadcareImageId':_0xe75072['id'],'src':_0x482f1b,'sources':_0x14afc7,..._0x3dc9c5}});}}class M extends _0x30df83{['_editing'];['_controller']=null;static get['requires'](){return[_0x1a4abd,z];}constructor(_0x24b5d1){super(_0x24b5d1),this['_editing']=_0x24b5d1['plugins']['get'](z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x342f34){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new j(this['editor'],this['_editing'],_0x342f34);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class q{static['upload']({file:_0x1abfec,..._0x27fb07}){return _0x2e98ee(_0x1abfec,_0x27fb07);}static['getInfo'](_0x44e957,_0x144b52){return _0x41f858(_0x44e957,_0x144b52);}}class W extends _0x521f17{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xf4f0f4,z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2c4cbb=this['editor'];if(!!!_0x2c4cbb['config']['get']('uploadcare'))return;_0x2c4cbb['plugins']['get'](_0xf4f0f4)['createUploadAdapter']=_0xa159d=>new G(_0xa159d,_0x2c4cbb),_0x2c4cbb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4c0949,{imageElement:_0x433eb5,data:_0x1e8fbf})=>{_0x2c4cbb['model']['change'](_0x13d699=>{_0x13d699['setAttribute']('uploadcareImageId',_0x1e8fbf['uploadcareImageId'],_0x433eb5);});});}}class G{['loader'];['editor'];['controller'];constructor(_0x7bf9cb,_0xdc130c){this['loader']=_0x7bf9cb,this['editor']=_0xdc130c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x29acc1=await this['loader']['file'];return q['upload']({'file':_0x29acc1,'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':_0x239fe0=>{_0x239fe0&&_0x239fe0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x239fe0['value']);}})['then'](async _0x4ab4c4=>{const {imageFallbackUrl:_0x2a99e3,imageSources:_0x5e95ff}=D(_0x4ab4c4['cdnUrl'],_0x4ab4c4['imageInfo']['width']);return{'uploadcareImageId':_0x4ab4c4['uuid'],'default':_0x2a99e3,'sources':_0x5e95ff};})['catch'](()=>{const _0x242ab9=t('Cannot\x20upload\x20file:')+('\x20'+_0x29acc1['name']+'.');return Promise['reject'](_0x242ab9);});}['abort'](){this['controller']['abort']();}}class z extends _0x521f17{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',W,_0x1a4abd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3492dd){super(_0x3492dd),this['ucContextId']=_0x43528f();}['init'](){const _0x5a56f5=this['editor'];_0x5a56f5['commands']['add']('uploadcare',new M(_0x5a56f5));}['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 _0x1933de=_0xba4554['document']['querySelector']('input[uploadcare-file-input]');_0x1933de&&_0x1933de['remove']();}),async function(_0x3ae001){const _0x469e23=_0x4b08da([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]),_0x3692f5=0x535f8c3a,_0x495beb=0x5358f37a^_0x3692f5,_0x34b27f=window[_0x4b08da([0x44,0x61,0x74,0x65])][_0x4b08da([0x6e,0x6f,0x77])](),_0x1bb41d=_0x3ae001[_0x4b08da([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e4466=new window[(_0x4b08da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56cb60=>{_0x1bb41d[_0x4b08da([0x6f,0x6e,0x63,0x65])](_0x4b08da([0x72,0x65,0x61,0x64,0x79]),_0x56cb60);}),_0x1fb8e4={[_0x4b08da([0x6b,0x74,0x79])]:_0x4b08da([0x45,0x43]),[_0x4b08da([0x75,0x73,0x65])]:_0x4b08da([0x73,0x69,0x67]),[_0x4b08da([0x63,0x72,0x76])]:_0x4b08da([0x50,0x2d,0x32,0x35,0x36]),[_0x4b08da([0x78])]:_0x4b08da([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]),[_0x4b08da([0x79])]:_0x4b08da([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]),[_0x4b08da([0x61,0x6c,0x67])]:_0x4b08da([0x45,0x53,0x32,0x35,0x36])},_0x48324c=_0x1bb41d[_0x4b08da([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b08da([0x67,0x65,0x74])](_0x4b08da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6af0ab(){let _0x36d145,_0x5ccc35=null,_0x29d639=null;try{if(_0x48324c==_0x4b08da([0x47,0x50,0x4c]))return _0x4b08da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36d145=_0x168042(),!_0x36d145)return _0x4b08da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36d145[_0x4b08da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29d639=_0x573b21(_0x36d145[_0x4b08da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36d145[_0x4b08da([0x6a,0x74,0x69])])),await _0x1ca6d5()?_0x3fb834()?_0x2436fd()?_0x4b08da([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x255800()?(_0x36d145[_0x4b08da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b08da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ccc35=_0xf9d275(_0x4b08da([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x38cc59()):_0x4b08da([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b08da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b08da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b08da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2436fd(){const _0x29cf07=[_0x4b08da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b08da([0x74,0x72,0x69,0x61,0x6c])][_0x4b08da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36d145[_0x4b08da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34b27f/0x3e8:0xe10*_0x495beb;return _0x36d145[_0x4b08da([0x65,0x78,0x70])]<_0x29cf07;}function _0x3fb834(){const _0x182c64=_0x36d145[_0x4b08da([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x182c64&&(!!_0x182c64[_0x4b08da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b08da([0x2a]))||!!_0x182c64[_0x4b08da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b08da([0x55,0x50,0x4c,0x43])));}function _0x255800(){const _0x397f89=_0x36d145[_0x4b08da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x397f89||0x0==_0x397f89[_0x4b08da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2711a5}=new URL(window[_0x4b08da([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x397f89[_0x4b08da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2711a5))return!0x0;const _0x51c36f=_0x2711a5[_0x4b08da([0x73,0x70,0x6c,0x69,0x74])](_0x4b08da([0x2e]));return _0x397f89[_0x4b08da([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ed34f=>_0x3ed34f[_0x4b08da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b08da([0x2a])))[_0x4b08da([0x6d,0x61,0x70])](_0x3ad13b=>_0x3ad13b[_0x4b08da([0x73,0x70,0x6c,0x69,0x74])](_0x4b08da([0x2e])))[_0x4b08da([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c9477=>_0x4c9477[_0x4b08da([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x51c36f[_0x4b08da([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b08da([0x6d,0x61,0x70])](_0x340b53=>Array(_0x51c36f[_0x4b08da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x340b53[_0x4b08da([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b08da([0x66,0x69,0x6c,0x6c])](_0x340b53[0x0]===_0x4b08da([0x2a])?_0x4b08da([0x2a]):'')[_0x4b08da([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x340b53))[_0x4b08da([0x73,0x6f,0x6d,0x65])](_0x279f10=>_0x51c36f[_0x4b08da([0x65,0x76,0x65,0x72,0x79])]((_0x1e628e,_0x3b612f)=>_0x279f10[_0x3b612f]===_0x1e628e||_0x279f10[_0x3b612f]===_0x4b08da([0x2a])));}function _0x38cc59(){return _0x5ccc35&&_0x29d639?new window[(_0x4b08da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc4efdd,_0x233fcd)=>{_0x5ccc35[_0x4b08da([0x74,0x68,0x65,0x6e])](_0xc4efdd,_0x233fcd),_0x29d639[_0x4b08da([0x74,0x68,0x65,0x6e])](_0x5ef75a=>{_0x5ef75a!=_0x4b08da([0x56,0x61,0x6c,0x69,0x64])&&_0xc4efdd(_0x5ef75a);},_0x233fcd);}):_0x5ccc35||_0x29d639||_0x4b08da([0x56,0x61,0x6c,0x69,0x64]);}}function _0x573b21(_0x4384ee,_0x5aa47a){return new window[(_0x4b08da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x170ab4=>{if(_0xa205fd())return _0x170ab4(_0x4b08da([0x56,0x61,0x6c,0x69,0x64]));_0x51109b(),_0x1bb41d[_0x4b08da([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b08da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd394cb=!0x1;const _0x4a7fa4=_0x43528f();function _0x566661(_0x31220e){return!!_0x31220e&&(typeof _0x31220e===_0x4b08da([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31220e===_0x4b08da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31220e[_0x4b08da([0x74,0x68,0x65,0x6e])]===_0x4b08da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31220e[_0x4b08da([0x63,0x61,0x74,0x63,0x68])]===_0x4b08da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf4a2a4(_0x29edc9){_0x542fe7(_0x29edc9)[_0x4b08da([0x74,0x68,0x65,0x6e])](_0x2cf303=>{if(!_0x2cf303||_0x2cf303[_0x4b08da([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b08da([0x6f,0x6b]))return _0x4b08da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40117a(_0x5aff2d(_0x4a7fa4+_0x5aa47a))!=_0x2cf303[_0x4b08da([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b08da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b08da([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b08da([0x74,0x68,0x65,0x6e])](_0x554eeb=>(_0x56dfa6(),_0x554eeb),()=>{const _0x4dd854=_0x5ebb0f();return null==_0x4dd854?(_0x56dfa6(),_0x4b08da([0x56,0x61,0x6c,0x69,0x64])):_0x4b08da(_0x34b27f-_0x4dd854>(0x7753083a^_0x3692f5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b08da([0x74,0x68,0x65,0x6e])](_0x170ab4)[_0x4b08da([0x63,0x61,0x74,0x63,0x68])](()=>{_0x170ab4(_0x4b08da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3db89d=0x536962ba^_0x3692f5;function _0x56dfa6(){const _0x252edc=_0x4b08da([0x6c,0x6c,0x63,0x74,0x2d])+_0x40117a(_0x5aff2d(_0x4384ee)),_0x504bfd=_0x1b2874(_0x40117a(window[_0x4b08da([0x4d,0x61,0x74,0x68])][_0x4b08da([0x63,0x65,0x69,0x6c])](_0x34b27f/_0x3db89d)));window[_0x4b08da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b08da([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x252edc,_0x504bfd);}function _0x5ebb0f(){const _0x4f61af=_0x4b08da([0x6c,0x6c,0x63,0x74,0x2d])+_0x40117a(_0x5aff2d(_0x4384ee)),_0x42e691=window[_0x4b08da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b08da([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f61af);return _0x42e691?window[_0x4b08da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b2874(_0x42e691),0x10)*_0x3db89d:null;}function _0x542fe7(_0x188616){return new window[(_0x4b08da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c0192,_0x5be382)=>{_0x188616[_0x4b08da([0x74,0x68,0x65,0x6e])](_0x2c0192,_0x5be382),window[_0x4b08da([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5be382,0x535e58fa^_0x3692f5);});}}_0x1bb41d[_0x4b08da([0x6f,0x6e])](_0x4b08da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52f47c,_0x4f2978)=>{if(_0x4f2978[0x0]!=_0x4384ee)return _0x170ab4(_0x4b08da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f2978[0x1]={..._0x4f2978[0x1],[_0x4b08da([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a7fa4};},{[_0x4b08da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b08da([0x68,0x69,0x67,0x68])}),_0x1bb41d[_0x4b08da([0x6f,0x6e])](_0x4b08da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e0d34=>{_0x566661(_0x3e0d34[_0x4b08da([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd394cb=!0x0,_0xf4a2a4(_0x3e0d34[_0x4b08da([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b08da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b08da([0x6c,0x6f,0x77])}),_0x2e4466[_0x4b08da([0x74,0x68,0x65,0x6e])](()=>{_0xd394cb||_0x170ab4(_0x4b08da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xa205fd(){return _0x1bb41d[_0x4b08da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b08da([0x76,0x69,0x65,0x77])][_0x4b08da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b08da([0x61,0x75,0x74,0x6f]);}function _0x51109b(){_0x1bb41d[_0x4b08da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b08da([0x76,0x69,0x65,0x77])][_0x4b08da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b08da([0x61,0x75,0x74,0x6f]);}}function _0xf9d275(_0x4d3aa6){const _0x473ee6=[new window[(_0x4b08da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9638be=>setTimeout(_0x9638be,0x5356b2f6^_0x3692f5)),_0x2e4466[_0x4b08da([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b08da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50b7a2=>{let _0x458ab0=0x0;_0x1bb41d[_0x4b08da([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b08da([0x6f,0x6e])](_0x4b08da([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x493188,_0x44152e)=>{_0x44152e[0x0][_0x4b08da([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x458ab0++,_0x458ab0==(0x535f89d2^_0x3692f5)&&(_0x50b7a2(),_0x493188[_0x4b08da([0x6f,0x66,0x66])]());});}))];return window[_0x4b08da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b08da([0x72,0x61,0x63,0x65])](_0x473ee6)[_0x4b08da([0x74,0x68,0x65,0x6e])](()=>_0x4d3aa6);}async function _0x3547bc(){await _0x2e4466,_0x1bb41d[_0x4b08da([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b08da([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x176296,_0x1bb41d[_0x4b08da([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b08da([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x176296,_0x1bb41d[_0x4b08da([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b08da([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1fbf62(_0x4c8c8b){const _0x14c133=_0x1867c3();_0x1bb41d[_0x14c133]=_0x4b08da([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c8c8b,_0x4c8c8b!=_0x4b08da([0x56,0x61,0x6c,0x69,0x64])&&_0x3547bc();}function _0x1867c3(){const _0x3830ad=window[_0x4b08da([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b08da([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b08da([0x6e,0x6f,0x77])]())[_0x4b08da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b08da([0x2e]),'');let _0x26a888=_0x4b08da([0x68]);for(let _0x5ef5ff=0x0;_0x5ef5ff<_0x3830ad[_0x4b08da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ef5ff+=0x2){let _0x590dfd=window[_0x4b08da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3830ad[_0x4b08da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ef5ff,_0x5ef5ff+0x2));_0x590dfd>=_0x469e23[_0x4b08da([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x590dfd-=_0x469e23[_0x4b08da([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26a888+=_0x469e23[_0x590dfd];}return _0x26a888;}function _0x168042(){const _0x53ec5e=_0x48324c[_0x4b08da([0x73,0x70,0x6c,0x69,0x74])](_0x4b08da([0x2e]));if(0x3!=_0x53ec5e[_0x4b08da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x35c614(_0x53ec5e[0x1]);function _0x35c614(_0x20bd47){const _0x8fca8a=_0x2fddf9(_0x20bd47);return _0x8fca8a&&_0x1c1d44()?_0x8fca8a:null;function _0x1c1d44(){const _0x3197c7=_0x8fca8a[_0x4b08da([0x6a,0x74,0x69])],_0xe4d4e=window[_0x4b08da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3197c7[_0x4b08da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3197c7[_0x4b08da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x516e08={..._0x8fca8a,[_0x4b08da([0x6a,0x74,0x69])]:_0x3197c7[_0x4b08da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3197c7[_0x4b08da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x516e08[_0x4b08da([0x76,0x63])],_0x5aff2d(_0x516e08)==_0xe4d4e;}}}async function _0x1ca6d5(){let _0x492526=!0x0;try{const _0x355b7e=_0x48324c[_0x4b08da([0x73,0x70,0x6c,0x69,0x74])](_0x4b08da([0x2e])),[_0x5bd3da,_0x41253a,_0x1e4e61]=_0x355b7e;return _0x1efaea(_0x5bd3da),await _0x57899d(_0x5bd3da,_0x41253a,_0x1e4e61),_0x492526;}catch{return!0x1;}function _0x1efaea(_0x11fcb6){const _0x4f135c=_0x2fddf9(_0x11fcb6);_0x4f135c&&_0x4f135c[_0x4b08da([0x61,0x6c,0x67])]==_0x4b08da([0x45,0x53,0x32,0x35,0x36])||(_0x492526=!0x1);}async function _0x57899d(_0x777ecd,_0x2612f0,_0x2db491){const _0x13676a=window[_0x4b08da([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b08da([0x66,0x72,0x6f,0x6d])](_0x42f0b9(_0x2db491),_0x5228fb=>_0x5228fb[_0x4b08da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e22af=new window[(_0x4b08da([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b08da([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x777ecd+_0x4b08da([0x2e])+_0x2612f0),_0x567f0c=window[_0x4b08da([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b08da([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x567f0c)return;const _0x3391ae=await _0x567f0c[_0x4b08da([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b08da([0x6a,0x77,0x6b]),_0x1fb8e4,{[_0x4b08da([0x6e,0x61,0x6d,0x65])]:_0x4b08da([0x45,0x43,0x44,0x53,0x41]),[_0x4b08da([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b08da([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b08da([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x567f0c[_0x4b08da([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b08da([0x6e,0x61,0x6d,0x65])]:_0x4b08da([0x45,0x43,0x44,0x53,0x41]),[_0x4b08da([0x68,0x61,0x73,0x68])]:{[_0x4b08da([0x6e,0x61,0x6d,0x65])]:_0x4b08da([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3391ae,_0x13676a,_0x2e22af)||(_0x492526=!0x1);}}function _0x2fddf9(_0x10f5aa){return _0x10f5aa[_0x4b08da([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b08da([0x65,0x79]))?JSON[_0x4b08da([0x70,0x61,0x72,0x73,0x65])](_0x42f0b9(_0x10f5aa)):null;}function _0x42f0b9(_0x287496){return window[_0x4b08da([0x61,0x74,0x6f,0x62])](_0x287496[_0x4b08da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b08da([0x2b]))[_0x4b08da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b08da([0x2f])));}function _0x5aff2d(_0x553d5e){let _0x32c520=0x1505;function _0x5405b8(_0x1febd2){for(let _0x1d562c=0x0;_0x1d562c<_0x1febd2[_0x4b08da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d562c++){const _0x4a13d3=_0x1febd2[_0x4b08da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d562c);_0x32c520=(_0x32c520<<0x5)+_0x32c520+_0x4a13d3,_0x32c520&=_0x32c520;}}function _0x39a18c(_0x50cb67){Array[_0x4b08da([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50cb67)?_0x50cb67[_0x4b08da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39a18c):_0x50cb67&&typeof _0x50cb67==_0x4b08da([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b08da([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50cb67)[_0x4b08da([0x73,0x6f,0x72,0x74])]()[_0x4b08da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35ac32,_0x2302a9])=>{_0x5405b8(_0x35ac32),_0x39a18c(_0x2302a9);}):_0x5405b8(window[_0x4b08da([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50cb67));}return _0x39a18c(_0x553d5e),_0x32c520>>>0x0;}function _0x40117a(_0x4c33a0){return _0x4c33a0[_0x4b08da([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b08da([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b08da([0x30]));}function _0x1b2874(_0x58f204){return _0x58f204[_0x4b08da([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b08da([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b08da([0x6a,0x6f,0x69,0x6e])]('');}function _0x176296(){}function _0x4b08da(_0x1e3540){return _0x1e3540['map'](_0x2424c0=>String['fromCharCode'](_0x2424c0))['join']('');}_0x1fbf62(await _0x6af0ab());}(this);}['_initSchema'](){const _0x3f4a1f=this['editor']['model']['schema'];_0x3f4a1f['isRegistered']('imageBlock')&&_0x3f4a1f['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3f4a1f['isRegistered']('imageInline')&&_0x3f4a1f['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2fa97a=this['editor'];_0x2fa97a['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2fa97a['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5ce878=>_0x5ce878['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2ad02c=_0x2fa97a['commands']['get']('replaceImageSource');_0x2ad02c&&this['listenTo'](_0x2ad02c,'cleanupImage',(_0x5f4d1a,[_0x8ddabb,_0x3682cf])=>{_0x8ddabb['removeAttribute']('uploadcareImageId',_0x3682cf);});}['_initConfig'](){const _0x14b647=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2da4de=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3b538e(_0xba4554['document'],'uc-config',{..._0x14b647,'pubkey':_0x2da4de,'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']=_0x125e4f=>{if('closeMax'==_0x125e4f)return'#uc-icon-arrow-down';},_0xba4554['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3b538e(_0xba4554['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0xba4554['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x12b3d4=this['editor']['commands']['get']('insertImage');_0x12b3d4&&this['listenTo'](_0x12b3d4,'execute',()=>{const _0x5b4275=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5b4275&&_0x5b4275['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x5b4275);});});const _0x37980b=this['editor']['commands']['get']('uploadcareImageReplace');_0x37980b&&this['listenTo'](_0x37980b,'execute',()=>{const _0x56499a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x56499a&&_0x56499a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x56499a);});});}}class H extends _0x521f17{static get['requires'](){return[z,A];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x73b341){super(_0x73b341),_0x73b341['config']['define']('uploadcare.uploader.sourceList',[S['Local'],S['URL']]),_0x39459d['defineComponents'](_0x39459d),this['_defineLocale']();}['_defineLocale'](){const _0x4fda1d=this['editor']['config']['get']('uploadcare.locale'),_0x274a2e=this['editor']['locale']['contentLanguage'];_0x4fda1d&&_0x39459d['defineLocale'](_0x274a2e,_0x4fda1d);}}class J extends _0x4d5d2c{constructor(_0xfbb8fc){super(_0xfbb8fc);const t=_0xfbb8fc['t'],_0x321615=this['bindTemplate'],_0x47f98e=new _0x54f70c();_0x47f98e['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':[_0x47f98e,{'text':_0x321615['to']('imageUploadProgress',_0x560a76=>t('Loading\x20image...')+'\x20('+(_0x560a76||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 _0x4d5d2c{constructor(_0x14e9ce){super(_0x14e9ce);const t=_0x14e9ce['t'];this['set']('errorType',null);const _0x1c19c9=new _0x1f56d8(_0x14e9ce);_0x1c19c9['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1c19c9['withText']=!0x0,_0x1c19c9['class']='ck-button-action',_0x1c19c9['on']('execute',()=>{this['fire']('retry');}),_0x1c19c9['bind']('isVisible')['to'](this,'errorType',_0x1350fe=>'NotFound'!==_0x1350fe);const _0x409bfc=new _0x55ff67();_0x409bfc['content']=_0x542478,_0x409bfc['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3a39f1=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':[_0x409bfc,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3a39f1['to']('errorType',_0x433920=>t('NotFound'!==_0x433920?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1c19c9]},{'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 _0x4d5d2c{constructor(_0x182aef,_0x5603ba){super(_0x182aef);const _0x2f7a86=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5603ba,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2f7a86['to']('imageSrc')}});}}class X extends K{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4726fe,_0x207f2c,_0x1a48ee){super(_0x4726fe),this['_items']=this['createCollection'](),this['_loadingView']=new J(_0x4726fe),this['_errorView']=new Z(_0x4726fe),this['_editingView']=new Q(_0x4726fe,_0x1a48ee),this['_focusableView']=new _0x4d5d2c(_0x4726fe),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x207f2c),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'],_0x48cd7f=>{this['_addUploadcareImageEditorListeners'](_0x48cd7f);});}),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'](_0x5e8346,_0x50c76b){const _0x4fb83e='uc-cloud-image-editor',_0x37c180=_0x5e8346['querySelector'](_0x4fb83e);if(_0x37c180)return _0x50c76b(_0x37c180);const _0x586aab=new MutationObserver(_0x6ef6fd=>{const _0x2c2e82=_0x6ef6fd['filter'](_0x53096e=>_0x53096e['target']===_0x5e8346&&_0x53096e['addedNodes']['length']>0x0&&_0x53096e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4fb83e);_0x2c2e82['length']&&(_0x586aab['disconnect'](),_0x50c76b(_0x2c2e82[0x0]['addedNodes'][0x0]));});_0x586aab['observe'](_0x5e8346,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4112da){_0x4112da['addEventListener']('apply',_0x30eff9=>{this['fire']('apply',{'imageSrc':_0x30eff9['detail']['cdnUrl']});}),_0x4112da['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class Y extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x241f84(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2f9c4b,_0x4613ad,_0x4c3d2c){super(),this['_editor']=_0x2f9c4b,this['_dialog']=_0x4613ad,this['_imageElement']=_0x4c3d2c,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 _0x54aebb=this['_imageElement'],_0x31614c=_0x54aebb['getAttribute']('uploadcareImageId'),_0x5ebf7b=_0x54aebb['getAttribute']('src');if(_0x31614c)await this['_loadImageInfo'](_0x31614c,_0x5ebf7b);else{if(this['_imageCache']['has'](_0x5ebf7b)){const _0x1d8e6a=this['_imageCache']['get'](_0x5ebf7b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1d8e6a['url'],this['imageDimension']=_0x1d8e6a['dimension'],this['imageId']=_0x1d8e6a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x322fa3}=this['_editor'],t=_0x322fa3['t'],_0x31a706=new X(_0x322fa3,this['imageStatus'],this['_attributes']);_0x31a706['bind']('status')['to'](this,'imageStatus'),_0x31a706['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x31a706['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x31a706['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x31a706,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3f8b15,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x31a706,'position':_0x3cfb73['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x31a706['focus']();},'onHide':()=>{_0x31a706['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xc0f6b4=>!V(_0xc0f6b4,_0x31a706['element'])}});}['_loadImageInfo'](_0x215f83,_0x4805ca){return q['getInfo'](_0x215f83,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x52271f=>{const {width:_0x1f95ba,height:_0x1c5938}=_0x52271f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4805ca,this['imageDimension']={'width':_0x1f95ba,'height':_0x1c5938},this['imageId']=_0x215f83;})['catch'](_0x5a0dd2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5a0dd2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x35b4ba,_0x4f3a83){return this['_getImageAsFile'](_0x35b4ba)['then'](_0x11708c=>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':_0x4f3a83['signal'],'file':_0x11708c,'onProgress':_0x4d202f=>{_0x4d202f&&_0x4d202f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4d202f['value']));}}))['then'](_0x395d2d=>{const {width:_0x1b6f7a,height:_0x4c7c09}=_0x395d2d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x395d2d['cdnUrl'],this['imageDimension']={'width':_0x1b6f7a,'height':_0x4c7c09},this['imageId']=_0x395d2d['uuid'],this['imageUploadProgress']=null;const _0x470b92=_0x35b4ba['getAttribute']('src');this['_imageCache']['set'](_0x470b92,{'id':_0x395d2d['uuid'],'url':_0x395d2d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x37775a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x37775a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3e5544,_0x38d3f4){_0x3e5544['on']('apply',(_0x499fd8,_0x14a238)=>{this['_replaceImage'](_0x38d3f4,_0x14a238['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3e5544['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3e5544['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1661d3,_0x2c9c67,_0x1d9a12){const _0x1986e2=this['_editor'],{width:_0x1d7857,height:_0x34b4c4}=F(_0x2c9c67,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x74fcc4,imageSources:_0x448fe6}=D(_0x2c9c67,_0x1d7857);_0x1986e2['model']['change'](_0x12a87f=>{if('$graveyard'===_0x1661d3['root']['rootName']){_0x1986e2['execute']('insertImage',{'imageType':_0x1661d3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1661d3['getAttributes']()),'uploadcareImageId':_0x1d9a12,'src':_0x74fcc4,'sources':_0x448fe6,'width':_0x1d7857,'height':_0x34b4c4}});const _0x5a7ce3=_0x1661d3['getChildren']();_0x1661d3=_0x1986e2['model']['document']['selection']['getSelectedElement']();for(const _0x40ddc3 of _0x5a7ce3)_0x12a87f['append'](_0x12a87f['cloneElement'](_0x40ddc3),_0x1661d3);}else _0x12a87f['setSelection'](_0x1661d3,'on'),_0x1986e2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1661d3['getAttributes']()),'uploadcareImageId':_0x1d9a12,'src':_0x74fcc4,'sources':_0x448fe6,'width':_0x1d7857,'height':_0x34b4c4},_0x1661d3);_0x12a87f['setSelection'](_0x1661d3,'on');});}async['_getImageAsFile'](_0x203e82){const _0x51e499=_0xba4554['window'],_0x226b77=_0xba4554['document']['location']['href'],_0xe06933=new _0x51e499['URL'](_0x203e82['getAttribute']('src'),_0x226b77);if('data:'===_0xe06933['protocol']){const _0x1678c6=_0xe06933['href']['split'](','),_0x391e46=_0x1678c6[0x0]['match'](/:(.*?);/)[0x1],_0x504a34=_0x391e46['split']('/')[0x1],_0x4a521d=_0x51e499['atob'](_0x1678c6[_0x1678c6['length']-0x1]);let _0x5cf1e1=_0x4a521d['length'];const _0x7b017e=new _0x51e499['Uint8Array'](_0x5cf1e1);for(;_0x5cf1e1--;)_0x7b017e[_0x5cf1e1]=_0x4a521d['charCodeAt'](_0x5cf1e1);return new _0x51e499['File']([_0x7b017e],'image.'+_0x504a34,{'type':_0x391e46});}const _0x159801=_0xe06933['href']['split']('/'),_0x1307b2=_0x159801[_0x159801['length']-0x1],_0x437009=_0x1307b2['split']('.')[0x1];return _0x51e499['fetch'](_0xe06933['href'])['then'](_0x54843e=>_0x54843e['clone']()['blob']())['then'](_0x189364=>new _0x51e499['File']([_0x189364],_0x1307b2,{'type':'image/'+_0x437009}));}}class tt extends _0x30df83{['imageEditController'];static get['requires'](){return[_0x1a4abd];}['_isEditable'];constructor(_0x417eb0){super(_0x417eb0),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4fe2e7){const _0x391b33=B(_0x4fe2e7);return _0x5a5f43=>!(!_0x5a5f43||!_0x5a5f43['is']('element','imageBlock')&&!_0x5a5f43['is']('element','imageInline'))&&(!!_0x5a5f43['hasAttribute']('uploadcareImageId')||!!_0x5a5f43['hasAttribute']('src')&&_0x391b33(_0x5a5f43['getAttribute']('src')));}(_0x417eb0['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x25206c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x25206c);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5d8e08=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5d8e08&&(_0x5d8e08['is']('element','imageBlock')||_0x5d8e08['is']('element','imageInline'))&&(this['imageEditController']=new Y(this['editor'],this['editor']['plugins']['get'](_0x1a4abd),_0x5d8e08),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class et extends _0x30df83{['refresh'](){const _0x3ffb54=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3ffb54&&(_0x3ffb54['is']('element','imageBlock')||_0x3ffb54['is']('element','imageInline')));}['execute'](_0x47b8aa){const _0x31b4c7=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x238b65=>{_0x238b65['setAttributes'](_0x47b8aa,_0x31b4c7),_0x238b65['removeAttribute']('srcset',_0x31b4c7),_0x238b65['removeAttribute']('sizes',_0x31b4c7);});}}class it extends _0x521f17{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[z,_0x454319,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xe80509}=this;_0xe80509['commands']['add']('uploadcareImageEdit',new tt(_0xe80509)),_0xe80509['commands']['add']('uploadcareImageReplace',new et(_0xe80509));}}class st extends _0x521f17{['_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 _0x303ef5=this['editor'];_0x303ef5['ui']['componentFactory']['add']('uploadcareImageEdit',_0x362c70=>{const _0x5dac6c=_0x303ef5['commands']['get']('uploadcareImageEdit'),_0x2c6a0b=new _0x1f56d8(_0x362c70),t=_0x362c70['t'];return _0x2c6a0b['set']({'icon':_0x3f8b15,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2c6a0b['bind']('isEnabled')['to'](_0x5dac6c),_0x2c6a0b['bind']('isOn')['to'](_0x5dac6c,'isActive'),this['listenTo'](_0x2c6a0b,'execute',()=>{_0x303ef5['execute']('uploadcareImageEdit'),_0x303ef5['editing']['view']['focus']();}),_0x2c6a0b;}),this['_initConfig']();}['_initConfig'](){const _0x57f96d=_0x3b538e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x57f96d),this['listenTo'](this['editor'],'destroy',()=>{_0x57f96d['remove']();});}}class nt extends _0x521f17{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':_0x4817ca=>0x1!=_0x4817ca}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e4b52=>{const {af:{dictionary:_0x363c5a,getPluralForm:_0x593962}}={'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':_0x5b7280=>0x1!=_0x5b7280}};_0x2e4b52['af']||={'dictionary':{},'getPluralForm':null},_0x2e4b52['af']['dictionary']=Object['assign'](_0x2e4b52['af']['dictionary'],_0x363c5a),_0x2e4b52['af']['getPluralForm']=_0x593962;})(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':_0x2e537b=>0x0==_0x2e537b?0x0:0x1==_0x2e537b?0x1:0x2==_0x2e537b?0x2:_0x2e537b%0x64>=0x3&&_0x2e537b%0x64<=0xa?0x3:_0x2e537b%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3ab765=>{const {ar:{dictionary:_0x3872da,getPluralForm:_0x2be926}}={'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':_0x4a6183=>0x0==_0x4a6183?0x0:0x1==_0x4a6183?0x1:0x2==_0x4a6183?0x2:_0x4a6183%0x64>=0x3&&_0x4a6183%0x64<=0xa?0x3:_0x4a6183%0x64>=0xb?0x4:0x5}};_0x3ab765['ar']||={'dictionary':{},'getPluralForm':null},_0x3ab765['ar']['dictionary']=Object['assign'](_0x3ab765['ar']['dictionary'],_0x3872da),_0x3ab765['ar']['getPluralForm']=_0x2be926;})(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':_0x3d09f7=>0x1!=_0x3d09f7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x547a7e=>{const {ast:{dictionary:_0x41bbbd,getPluralForm:_0x5cfc0c}}={'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':_0x59c965=>0x1!=_0x59c965}};_0x547a7e['ast']||={'dictionary':{},'getPluralForm':null},_0x547a7e['ast']['dictionary']=Object['assign'](_0x547a7e['ast']['dictionary'],_0x41bbbd),_0x547a7e['ast']['getPluralForm']=_0x5cfc0c;})(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':_0x159f1c=>0x1!=_0x159f1c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x296319=>{const {az:{dictionary:_0x2395b1,getPluralForm:_0x272745}}={'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':_0x567188=>0x1!=_0x567188}};_0x296319['az']||={'dictionary':{},'getPluralForm':null},_0x296319['az']['dictionary']=Object['assign'](_0x296319['az']['dictionary'],_0x2395b1),_0x296319['az']['getPluralForm']=_0x272745;})(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':_0x32c90f=>_0x32c90f%0xa==0x1&&_0x32c90f%0x64!=0xb?0x0:_0x32c90f%0xa>=0x2&&_0x32c90f%0xa<=0x4&&(_0x32c90f%0x64<0xa||_0x32c90f%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x41d692=>{const {be:{dictionary:_0x526ccd,getPluralForm:_0x4c9470}}={'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':_0x34c8df=>_0x34c8df%0xa==0x1&&_0x34c8df%0x64!=0xb?0x0:_0x34c8df%0xa>=0x2&&_0x34c8df%0xa<=0x4&&(_0x34c8df%0x64<0xa||_0x34c8df%0x64>=0x14)?0x1:0x2}};_0x41d692['be']||={'dictionary':{},'getPluralForm':null},_0x41d692['be']['dictionary']=Object['assign'](_0x41d692['be']['dictionary'],_0x526ccd),_0x41d692['be']['getPluralForm']=_0x4c9470;})(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':_0x1339c2=>0x1!=_0x1339c2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6fc0c5=>{const {bg:{dictionary:_0x15fba4,getPluralForm:_0x318ce7}}={'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':_0x1ab848=>0x1!=_0x1ab848}};_0x6fc0c5['bg']||={'dictionary':{},'getPluralForm':null},_0x6fc0c5['bg']['dictionary']=Object['assign'](_0x6fc0c5['bg']['dictionary'],_0x15fba4),_0x6fc0c5['bg']['getPluralForm']=_0x318ce7;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','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পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','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পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x4289b8=>0x1!=_0x4289b8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e58d1=>{const {bn:{dictionary:_0x2cf71f,getPluralForm:_0x442e97}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','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পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x4c9b0c=>0x1!=_0x4c9b0c}};_0x3e58d1['bn']||={'dictionary':{},'getPluralForm':null},_0x3e58d1['bn']['dictionary']=Object['assign'](_0x3e58d1['bn']['dictionary'],_0x2cf71f),_0x3e58d1['bn']['getPluralForm']=_0x442e97;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'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{'bs':{'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':_0x2f1d22=>_0x2f1d22%0xa==0x1&&_0x2f1d22%0x64!=0xb?0x0:_0x2f1d22%0xa>=0x2&&_0x2f1d22%0xa<=0x4&&(_0x2f1d22%0x64<0xa||_0x2f1d22%0x64>=0x14)?0x1:0x2}};
|