@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260124.0 → 0.0.0-nightly-20260125.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/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/be.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/build/uploadcare.js +5 -0
- 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/lang/contexts.json +24 -0
- package/lang/translations/af.po +100 -0
- package/lang/translations/ar.po +100 -0
- package/lang/translations/ast.po +100 -0
- package/lang/translations/az.po +100 -0
- package/lang/translations/be.po +100 -0
- package/lang/translations/bg.po +100 -0
- package/lang/translations/bn.po +100 -0
- package/lang/translations/bs.po +100 -0
- package/lang/translations/ca.po +100 -0
- package/lang/translations/cs.po +100 -0
- package/lang/translations/da.po +100 -0
- package/lang/translations/de-ch.po +100 -0
- package/lang/translations/de.po +100 -0
- package/lang/translations/el.po +100 -0
- package/lang/translations/en-au.po +100 -0
- package/lang/translations/en-gb.po +100 -0
- package/lang/translations/en.po +100 -0
- package/lang/translations/eo.po +100 -0
- package/lang/translations/es-co.po +100 -0
- package/lang/translations/es.po +100 -0
- package/lang/translations/et.po +100 -0
- package/lang/translations/eu.po +100 -0
- package/lang/translations/fa.po +100 -0
- package/lang/translations/fi.po +100 -0
- package/lang/translations/fr.po +100 -0
- package/lang/translations/gl.po +100 -0
- package/lang/translations/gu.po +100 -0
- package/lang/translations/he.po +100 -0
- package/lang/translations/hi.po +100 -0
- package/lang/translations/hr.po +100 -0
- package/lang/translations/hu.po +100 -0
- package/lang/translations/hy.po +100 -0
- package/lang/translations/id.po +100 -0
- package/lang/translations/it.po +100 -0
- package/lang/translations/ja.po +100 -0
- package/lang/translations/jv.po +100 -0
- package/lang/translations/kk.po +100 -0
- package/lang/translations/km.po +100 -0
- package/lang/translations/kn.po +100 -0
- package/lang/translations/ko.po +100 -0
- package/lang/translations/ku.po +100 -0
- package/lang/translations/lt.po +100 -0
- package/lang/translations/lv.po +100 -0
- package/lang/translations/ms.po +100 -0
- package/lang/translations/nb.po +100 -0
- package/lang/translations/ne.po +100 -0
- package/lang/translations/nl.po +100 -0
- package/lang/translations/no.po +100 -0
- package/lang/translations/oc.po +100 -0
- package/lang/translations/pl.po +100 -0
- package/lang/translations/pt-br.po +100 -0
- package/lang/translations/pt.po +100 -0
- package/lang/translations/ro.po +100 -0
- package/lang/translations/ru.po +100 -0
- package/lang/translations/si.po +100 -0
- package/lang/translations/sk.po +100 -0
- package/lang/translations/sl.po +100 -0
- package/lang/translations/sq.po +100 -0
- package/lang/translations/sr-latn.po +100 -0
- package/lang/translations/sr.po +100 -0
- package/lang/translations/sv.po +100 -0
- package/lang/translations/th.po +100 -0
- package/lang/translations/ti.po +100 -0
- package/lang/translations/tk.po +100 -0
- package/lang/translations/tr.po +100 -0
- package/lang/translations/tt.po +100 -0
- package/lang/translations/ug.po +100 -0
- package/lang/translations/uk.po +100 -0
- package/lang/translations/ur.po +100 -0
- package/lang/translations/uz.po +100 -0
- package/lang/translations/vi.po +100 -0
- package/lang/translations/zh-cn.po +100 -0
- package/lang/translations/zh.po +100 -0
- package/package.json +46 -23
- package/src/augmentation.js +23 -0
- package/src/index.js +23 -0
- package/{dist → src}/ui/uploadcarecontroller.d.ts +3 -3
- package/src/ui/uploadcarecontroller.js +24 -0
- package/{dist → src}/ui/uploadcareformview.d.ts +1 -1
- package/src/ui/uploadcareformview.js +23 -0
- package/{dist → src}/uploadcare.d.ts +1 -1
- package/src/uploadcare.js +23 -0
- package/{dist → src}/uploadcarecommand.d.ts +2 -2
- package/src/uploadcarecommand.js +23 -0
- package/{dist → src}/uploadcareconfig.d.ts +1 -1
- package/src/uploadcareconfig.js +23 -0
- package/{dist → src}/uploadcareediting.d.ts +2 -2
- package/src/uploadcareediting.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +24 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +23 -0
- package/{dist → src}/uploadcareimageedit.d.ts +1 -1
- package/src/uploadcareimageedit.js +23 -0
- package/{dist → src}/uploadcareui.d.ts +1 -1
- package/src/uploadcareui.js +23 -0
- package/{dist → src}/uploadcareuploadadapter.d.ts +2 -2
- package/src/uploadcareuploadadapter.js +23 -0
- package/src/utils/common-translations.js +23 -0
- package/{dist → src}/utils/dialogfocusmanagerview.d.ts +2 -2
- package/src/utils/dialogfocusmanagerview.js +23 -0
- package/src/utils/editingutils.js +23 -0
- package/src/utils/isancestor.js +23 -0
- package/src/utils/uploadutils.js +23 -0
- package/theme/uploadcare-form.css +201 -0
- package/theme/uploadcare-theme.css +20 -0
- package/theme/uploadcareimageedit.css +64 -0
- /package/{dist → src}/augmentation.d.ts +0 -0
- /package/{dist → src}/index.d.ts +0 -0
- /package/{dist → src}/utils/common-translations.d.ts +0 -0
- /package/{dist → src}/utils/editingutils.d.ts +0 -0
- /package/{dist → src}/utils/isancestor.d.ts +0 -0
- /package/{dist → src}/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.js",
|
|
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.js",
|
|
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 _0x150695,Command as _0x35863b}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x228dd5,IconGooglePhotos as _0x139280,IconGoogleDrive as _0x1afef5,IconFacebook as _0x3c5dfd,IconDropbox as _0xfe594d,IconUploadcareLink as _0x319d94,IconUploadcareImageUpload as _0x565d2d,IconError as _0x3b0889,IconUploadcareImageEdit as _0x178804}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x56987c,MenuBarMenuListItemButtonView as _0x26feca,View as _0x39157e,FocusCycler as _0x38dbeb,Dialog as _0x3ac812,DialogViewPosition as _0x5773c9,SpinnerView as _0x4e4daa,IconView as _0x311890,Notification as _0x181562}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2f7f6f,DomEmitterMixin as _0x588bb3,global as _0x34be63,getAncestors as _0x20d0c4,ObservableMixin as _0x391e1b,uid as _0x146068,createElement as _0x4adfc6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x433da8}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1c39d4,info as _0x5759b9}from'@uploadcare/upload-client';import*as _0x349517 from'@uploadcare/file-uploader';var S=function(_0x72d442){return _0x72d442['Local']='local',_0x72d442['URL']='url',_0x72d442['Dropbox']='dropbox',_0x72d442['GDrive']='gdrive',_0x72d442['Facebook']='facebook',_0x72d442['GPhotos']='gphotos',_0x72d442['OneDrive']='onedrive',_0x72d442;}({});function T(_0x3aecf1,_0x4dc96c,_0x201536){const t=_0x3aecf1['t'],_0x221ee9=_0x3aecf1['t'];switch(_0x4dc96c){case S['Local']:return{'text':_0x221ee9('Insert'===_0x201536?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x221ee9('From\x20computer')};case S['URL']:return{'text':'Insert'===_0x201536?_0x221ee9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x221ee9('Via\x20URL')};case S['Dropbox']:return{'text':t('Insert'===_0x201536?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case S['Facebook']:return{'text':t('Insert'===_0x201536?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case S['GDrive']:return{'text':t('Insert'===_0x201536?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case S['GPhotos']:return{'text':t('Insert'===_0x201536?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case S['OneDrive']:return{'text':t('Insert'===_0x201536?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4dc96c;}}class A extends _0x150695{['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 _0x373699=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f36c4;for(const _0x2731c3 in _0x373699){const _0x2f7dbf=_0x2731c3,_0x431393=_0x373699[_0x2f7dbf];if('uploadcareLicenseKeyValid'==_0x431393||'uploadcareLicenseKeyInvalid'==_0x431393||'uploadcareLicenseKeyExpired'==_0x431393||'uploadcareLicenseKeyDomainLimit'==_0x431393||'uploadcareLicenseKeyNotAllowed'==_0x431393||'uploadcareLicenseKeyEvaluationLimit'==_0x431393||'uploadcareLicenseKeyUsageLimit'==_0x431393){delete _0x373699[_0x2f7dbf],_0x1f36c4=_0x431393,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1f36c4&&_0x373699['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1f36c4&&_0x373699['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1f36c4&&_0x373699['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1f36c4&&_0x373699['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1f36c4&&_0x373699['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1f36c4&&_0x373699['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x15f7a6}=this,_0x5dbcb6=_0x15f7a6['commands']['get']('uploadcare');if(!_0x5dbcb6)return;const _0x1e3109=this['_normalizeConfigSourceList'](_0x15f7a6['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5a91cc,_0x717e1a)=>{const _0x2f1b74=this['_getIntegrationKey'](_0x717e1a['type']);return _0x5a91cc[_0x2f1b74]||(_0x5a91cc[_0x2f1b74]=[]),_0x5a91cc[_0x2f1b74]['push'](_0x717e1a),_0x5a91cc;},{});_0x15f7a6['plugins']['has']('ImageInsertUI')&&_0x15f7a6['commands']['get']('uploadcare')&&Object['entries'](_0x1e3109)['forEach'](([_0x3f55a8,_0xbcf306])=>{_0x15f7a6['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3f55a8,'observable':()=>_0x5dbcb6,'buttonViewCreator':()=>this['_createToolbarButton'](_0xbcf306),'formViewCreator':()=>this['_createDropdownButtons'](_0xbcf306),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xbcf306),'override':'assetManager'!==_0x3f55a8});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x122111){const {locale:_0x46990c}=this['editor'];return _0x122111['map'](_0x45dd77=>{const _0x278888=T(_0x46990c,_0x45dd77,'Insert');switch(_0x45dd77){case S['Local']:return{'icon':_0x565d2d,'type':S['Local'],..._0x278888};case S['URL']:return{'icon':_0x319d94,'type':S['URL'],..._0x278888};case S['Dropbox']:return{'icon':_0xfe594d,'type':S['Dropbox'],..._0x278888};case S['Facebook']:return{'icon':_0x3c5dfd,'type':S['Facebook'],..._0x278888};case S['GDrive']:return{'icon':_0x1afef5,'type':S['GDrive'],..._0x278888};case S['GPhotos']:return{'icon':_0x139280,'type':S['GPhotos'],..._0x278888};case S['OneDrive']:return{'icon':_0x228dd5,'type':S['OneDrive'],..._0x278888};}});}['_getIntegrationKey'](_0x18a269){switch(_0x18a269){case S['Local']:return'upload';case S['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x94d8d5,_0x3c481c){const _0x5ddd2b=this['editor'],_0x264222=new _0x94d8d5(_0x5ddd2b['locale']),_0x4ef557=_0x5ddd2b['commands']['get']('uploadcare');return _0x264222['bind']('isEnabled')['to'](_0x4ef557),_0x264222['on']('execute',()=>{_0x4ef557['execute'](_0x3c481c);}),_0x264222;}['_createToolbarButton'](_0x32d84c){const {locale:_0x408744}=this['editor'],_0x1aad20=this['editor']['plugins']['get']('ImageInsertUI'),_0x3270d3=_0x32d84c[0x0],_0x24e571=this['_createButton'](_0x56987c,_0x3270d3['type']);return _0x24e571['icon']=_0x3270d3['icon'],_0x24e571['bind']('label')['to'](_0x1aad20,'isImageSelected',_0x1524c9=>T(_0x408744,_0x3270d3['type'],_0x1524c9?'Replace':'Insert')['text']),_0x24e571['tooltip']=!0x0,_0x24e571;}['_createDropdownButtons'](_0x2b5810){const {locale:_0x28b1f0}=this['editor'],_0x683004=this['editor']['plugins']['get']('ImageInsertUI');return _0x2b5810['map'](_0xbd0e88=>{const _0x509f0b=this['_createButton'](_0x56987c,_0xbd0e88['type']);return _0x509f0b['withText']=!0x0,_0x509f0b['icon']=_0xbd0e88['icon'],_0x509f0b['bind']('label')['to'](_0x683004,'isImageSelected',_0x302e4d=>T(_0x28b1f0,_0xbd0e88['type'],_0x302e4d?'Replace':'Insert')['text']),_0x509f0b;});}['_createMenuBarButtons'](_0x320e73){return _0x320e73['map'](_0x538a51=>{const _0x2d5b4e=this['_createButton'](_0x26feca,_0x538a51['type']);return _0x2d5b4e['icon']=_0x538a51['icon'],_0x2d5b4e['label']=_0x538a51['shortText'],_0x2d5b4e;});}}class K extends _0x39157e{['focusTracker'];['focusCycler'];constructor(_0x27b63c){super(_0x27b63c),this['focusTracker']=new _0x2f7f6f(),this['focusCycler']=new _0x38dbeb({'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(_0x5731cb,_0x3c46cc){super(_0x5731cb),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-'+_0x3c46cc}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function D(_0x59b8ac,_0xf26c28){const _0x3a47c2=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x56fd0f=>_0x56fd0f<=_0xf26c28)['map'](_0x4cded2=>_0x59b8ac['replace'](/\/$/,'')+'/-/resize/'+_0x4cded2+'x/\x20'+_0x4cded2+'w');return{'imageFallbackUrl':_0x59b8ac,'imageSources':[{'srcset':_0x3a47c2['join'](',\x20'),'sizes':'(max-width:\x20'+_0xf26c28+'px)\x20100vw,\x20'+_0xf26c28+'px','type':'image/webp'}]};}function F(_0x51eea5,_0x2e48e5,_0x5b588e){const _0x5ccfc2=_0x51eea5['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5ccfc2?parseInt(_0x5ccfc2[0x1],0xa):_0x2e48e5,'height':_0x5ccfc2?parseInt(_0x5ccfc2[0x2],0xa):_0x5b588e};}function $(_0x50f891,_0x4358b8){const _0x1576bd=new(_0x588bb3())(),_0x1195e2=_0x50f891['plugins']['get']('ImageUtils'),_0x4ce9b7=_0x50f891['editing']['mapper']['toViewElement'](_0x4358b8),_0x45e04a=_0x1195e2['findViewImgElement'](_0x4ce9b7),_0x323fde=_0x50f891['editing']['view']['domConverter']['viewToDom'](_0x45e04a),_0x3f2f0f=_0x4358b8['getAttribute']('width'),_0x54a66b=_0x4358b8['getAttribute']('height'),_0x69a7d1='image-processing';_0x50f891['editing']['view']['change'](_0x4974b0=>{_0x4974b0['addClass'](_0x69a7d1,_0x4ce9b7),_0x4974b0['setStyle']('aspect-ratio',_0x3f2f0f+'/'+_0x54a66b,_0x45e04a);}),_0x1576bd['listenTo'](_0x323fde,'load',()=>{_0x1576bd['stopListening'](_0x323fde,'load'),_0x50f891['editing']['view']['change'](_0x5913ab=>{_0x5913ab['removeClass'](_0x69a7d1,_0x4ce9b7),_0x5913ab['removeStyle']('aspect-ratio',_0x45e04a);});});}function B(_0x5830a6){if(Array['isArray'](_0x5830a6)){const _0x5b7e75=_0x5830a6['map'](B);return _0x117379=>_0x5b7e75['some'](_0x9ebcfb=>_0x9ebcfb(_0x117379));}if('origin'==_0x5830a6){const _0x4518e7=_0x34be63['window']['location']['origin'];return _0x3b3279=>new URL(_0x3b3279,_0x34be63['document']['baseURI'])['origin']==_0x4518e7;}return'function'==typeof _0x5830a6?_0x5830a6:_0x5830a6 instanceof RegExp?_0x5b8c13=>!(!_0x5b8c13['match'](_0x5830a6)&&!_0x5b8c13['replace'](/^https?:\/\//,'')['match'](_0x5830a6)):()=>!0x1;}function V(_0x1cdacf,_0xa82f75){return _0x20d0c4(_0x1cdacf['target'])['includes'](_0xa82f75);}class j extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x391e1b(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x19a5c4,_0x8a7da3,_0x36ce8f){super(),this['_editor']=_0x19a5c4,this['_editing']=_0x8a7da3,this['_dialog']=_0x19a5c4['plugins']['get'](_0x3ac812),this['_api']=_0x8a7da3['ctxElement']['getAPI'](),this['_type']=_0x36ce8f,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:_0x2acbbc,model:_0x50b369}=this['_editor'],_0x4f518e=_0x50b369['document']['selection']['getSelectedElement'](),_0x165fe6=_0x4f518e&&(_0x4f518e['is']('element','imageBlock')||_0x4f518e['is']('element','imageInline'));this['_formView']=new O(_0x2acbbc,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x565d2d,'title':T(_0x2acbbc,this['_type'],_0x165fe6?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5773c9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x51ea92=>!V(_0x51ea92,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4cc76c}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1d55b3=>{const _0x4e3963=_0x4cc76c['length'];for(const _0x366ea7 of _0x4cc76c){const _0xdbfec=_0x366ea7===_0x4cc76c[_0x4e3963-0x1],{cdnUrl:_0x4bcfdb,fileInfo:_0x4edb90}=_0x366ea7;if(!_0x4bcfdb||!_0x4edb90)continue;const {width:_0x32ed39,height:_0x1e0408}=_0x4edb90['imageInfo'],_0x566c17=F(_0x4bcfdb,_0x32ed39,_0x1e0408),_0x148c65=D(_0x4bcfdb,_0x566c17['width']),_0x5491a4={'id':_0x4edb90['uuid'],'type':'image','attributes':{'imageDimension':_0x566c17,..._0x148c65}};this['_insertAsset'](_0x5491a4,_0xdbfec,_0x1d55b3);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x589181=>{'idle'===_0x589181['detail']['status']&&!_0x589181['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===S['Local']?this['_api']['setCurrentActivity'](S['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x6de567,_0x1f5472,_0x4305d5){const _0x35d5e7=this['_editor']['model']['document']['selection'],_0x376629=_0x35d5e7['getSelectedElement'](),_0x47fb2d=!(!_0x376629||!_0x376629['is']('element','imageInline'));_0x4305d5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x6de567,_0x47fb2d),_0x1f5472||_0x4305d5['setSelection'](_0x35d5e7['getLastPosition']());}['_insertImage'](_0x315221,_0x2c2660){const _0x896cbd=this['_editor'],{imageDimension:_0x42fe68,imageFallbackUrl:_0xb1a90,imageSources:_0x1ff826}=_0x315221['attributes'];_0x896cbd['execute']('insertImage',{'imageType':_0x2c2660?'imageInline':null,'source':{'uploadcareImageId':_0x315221['id'],'src':_0xb1a90,'sources':_0x1ff826,..._0x42fe68}});}}class M extends _0x35863b{['_editing'];['_controller']=null;static get['requires'](){return[_0x3ac812,z];}constructor(_0x278def){super(_0x278def),this['_editing']=_0x278def['plugins']['get'](z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x11ac00){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new j(this['editor'],this['_editing'],_0x11ac00);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class q{static['upload']({file:_0x5dcec4,..._0x40370c}){return _0x1c39d4(_0x5dcec4,_0x40370c);}static['getInfo'](_0x461ec1,_0x5418a4){return _0x5759b9(_0x461ec1,_0x5418a4);}}class W extends _0x150695{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x433da8,z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4cdaf6=this['editor'];if(!!!_0x4cdaf6['config']['get']('uploadcare'))return;_0x4cdaf6['plugins']['get'](_0x433da8)['createUploadAdapter']=_0x3b97c0=>new G(_0x3b97c0,_0x4cdaf6),_0x4cdaf6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4a695c,{imageElement:_0x4df60f,data:_0xbd4162})=>{_0x4cdaf6['model']['change'](_0x53e15a=>{_0x53e15a['setAttribute']('uploadcareImageId',_0xbd4162['uploadcareImageId'],_0x4df60f);});});}}class G{['loader'];['editor'];['controller'];constructor(_0x1382a0,_0x3853f6){this['loader']=_0x1382a0,this['editor']=_0x3853f6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x15bef4=await this['loader']['file'];return q['upload']({'file':_0x15bef4,'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':_0x3d4e57=>{_0x3d4e57&&_0x3d4e57['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3d4e57['value']);}})['then'](async _0x31f2de=>{const {imageFallbackUrl:_0x59a683,imageSources:_0x53e2a9}=D(_0x31f2de['cdnUrl'],_0x31f2de['imageInfo']['width']);return{'uploadcareImageId':_0x31f2de['uuid'],'default':_0x59a683,'sources':_0x53e2a9};})['catch'](()=>{const _0x3b77cf=t('Cannot\x20upload\x20file:')+('\x20'+_0x15bef4['name']+'.');return Promise['reject'](_0x3b77cf);});}['abort'](){this['controller']['abort']();}}class z extends _0x150695{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',W,_0x3ac812];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x59c069){super(_0x59c069),this['ucContextId']=_0x146068();}['init'](){const _0x3d6c80=this['editor'];_0x3d6c80['commands']['add']('uploadcare',new M(_0x3d6c80));}['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 _0x32fa8c=_0x34be63['document']['querySelector']('input[uploadcare-file-input]');_0x32fa8c&&_0x32fa8c['remove']();}),async function(_0x23dce2){const _0x207b37=_0x534a5c([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]),_0x105c89=0x535f8c3a,_0x540a0a=0x5358f382^_0x105c89,_0x458512=window[_0x534a5c([0x44,0x61,0x74,0x65])][_0x534a5c([0x6e,0x6f,0x77])](),_0x352c12=_0x23dce2[_0x534a5c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x7bbdcd=new window[(_0x534a5c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x586903=>{_0x352c12[_0x534a5c([0x6f,0x6e,0x63,0x65])](_0x534a5c([0x72,0x65,0x61,0x64,0x79]),_0x586903);}),_0x14ae8b={[_0x534a5c([0x6b,0x74,0x79])]:_0x534a5c([0x45,0x43]),[_0x534a5c([0x75,0x73,0x65])]:_0x534a5c([0x73,0x69,0x67]),[_0x534a5c([0x63,0x72,0x76])]:_0x534a5c([0x50,0x2d,0x32,0x35,0x36]),[_0x534a5c([0x78])]:_0x534a5c([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]),[_0x534a5c([0x79])]:_0x534a5c([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]),[_0x534a5c([0x61,0x6c,0x67])]:_0x534a5c([0x45,0x53,0x32,0x35,0x36])},_0x47359b=_0x352c12[_0x534a5c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x534a5c([0x67,0x65,0x74])](_0x534a5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f5af5(){let _0x579cbc,_0x5293f4=null,_0x4a275f=null;try{if(_0x47359b==_0x534a5c([0x47,0x50,0x4c]))return _0x534a5c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x579cbc=_0xf8ed3c(),!_0x579cbc)return _0x534a5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x579cbc[_0x534a5c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4a275f=_0x58361d(_0x579cbc[_0x534a5c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x579cbc[_0x534a5c([0x6a,0x74,0x69])])),await _0x3e1ecb()?_0x22bf1e()?_0x31ae5f()?_0x534a5c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7678ef()?(_0x579cbc[_0x534a5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x534a5c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5293f4=_0x480178(_0x534a5c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe7a6c9()):_0x534a5c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x534a5c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x534a5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x534a5c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31ae5f(){const _0x118b8b=[_0x534a5c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x534a5c([0x74,0x72,0x69,0x61,0x6c])][_0x534a5c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x579cbc[_0x534a5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x458512/0x3e8:0xe10*_0x540a0a;return _0x579cbc[_0x534a5c([0x65,0x78,0x70])]<_0x118b8b;}function _0x22bf1e(){const _0x375877=_0x579cbc[_0x534a5c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x375877&&(!!_0x375877[_0x534a5c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x534a5c([0x2a]))||!!_0x375877[_0x534a5c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x534a5c([0x55,0x50,0x4c,0x43])));}function _0x7678ef(){const _0xa4148d=_0x579cbc[_0x534a5c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa4148d||0x0==_0xa4148d[_0x534a5c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x59eb41}=new URL(window[_0x534a5c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa4148d[_0x534a5c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59eb41))return!0x0;const _0x19c9a7=_0x59eb41[_0x534a5c([0x73,0x70,0x6c,0x69,0x74])](_0x534a5c([0x2e]));return _0xa4148d[_0x534a5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xaf1230=>_0xaf1230[_0x534a5c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x534a5c([0x2a])))[_0x534a5c([0x6d,0x61,0x70])](_0x383cb1=>_0x383cb1[_0x534a5c([0x73,0x70,0x6c,0x69,0x74])](_0x534a5c([0x2e])))[_0x534a5c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f2567=>_0x5f2567[_0x534a5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x19c9a7[_0x534a5c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x534a5c([0x6d,0x61,0x70])](_0x415e16=>Array(_0x19c9a7[_0x534a5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x415e16[_0x534a5c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x534a5c([0x66,0x69,0x6c,0x6c])](_0x415e16[0x0]===_0x534a5c([0x2a])?_0x534a5c([0x2a]):'')[_0x534a5c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x415e16))[_0x534a5c([0x73,0x6f,0x6d,0x65])](_0x1022f4=>_0x19c9a7[_0x534a5c([0x65,0x76,0x65,0x72,0x79])]((_0x177698,_0x42870c)=>_0x1022f4[_0x42870c]===_0x177698||_0x1022f4[_0x42870c]===_0x534a5c([0x2a])));}function _0xe7a6c9(){return _0x5293f4&&_0x4a275f?new window[(_0x534a5c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1683b9,_0x5f6454)=>{_0x5293f4[_0x534a5c([0x74,0x68,0x65,0x6e])](_0x1683b9,_0x5f6454),_0x4a275f[_0x534a5c([0x74,0x68,0x65,0x6e])](_0x57e788=>{_0x57e788!=_0x534a5c([0x56,0x61,0x6c,0x69,0x64])&&_0x1683b9(_0x57e788);},_0x5f6454);}):_0x5293f4||_0x4a275f||_0x534a5c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x58361d(_0x4938f8,_0x527c4f){return new window[(_0x534a5c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b5397=>{if(_0x52816b())return _0x2b5397(_0x534a5c([0x56,0x61,0x6c,0x69,0x64]));_0x3b4627(),_0x352c12[_0x534a5c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x534a5c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f0490=!0x1;const _0x31c126=_0x146068();function _0x5088a1(_0x4adfcb){return!!_0x4adfcb&&(typeof _0x4adfcb===_0x534a5c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4adfcb===_0x534a5c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4adfcb[_0x534a5c([0x74,0x68,0x65,0x6e])]===_0x534a5c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4adfcb[_0x534a5c([0x63,0x61,0x74,0x63,0x68])]===_0x534a5c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x82fbf3(_0x502074){_0x28d75b(_0x502074)[_0x534a5c([0x74,0x68,0x65,0x6e])](_0x3b68c4=>{if(!_0x3b68c4||_0x3b68c4[_0x534a5c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x534a5c([0x6f,0x6b]))return _0x534a5c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x28f511(_0x5b20a7(_0x31c126+_0x527c4f))!=_0x3b68c4[_0x534a5c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x534a5c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x534a5c([0x56,0x61,0x6c,0x69,0x64]);})[_0x534a5c([0x74,0x68,0x65,0x6e])](_0x3fa48b=>(_0x37fe30(),_0x3fa48b),()=>{const _0x2a8cc8=_0x5e3612();return null==_0x2a8cc8?(_0x37fe30(),_0x534a5c([0x56,0x61,0x6c,0x69,0x64])):_0x534a5c(_0x458512-_0x2a8cc8>(0x7753083a^_0x105c89)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x534a5c([0x74,0x68,0x65,0x6e])](_0x2b5397)[_0x534a5c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b5397(_0x534a5c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e73f8=0x536962ba^_0x105c89;function _0x37fe30(){const _0x24f389=_0x534a5c([0x6c,0x6c,0x63,0x74,0x2d])+_0x28f511(_0x5b20a7(_0x4938f8)),_0x3ab324=_0x122ca8(_0x28f511(window[_0x534a5c([0x4d,0x61,0x74,0x68])][_0x534a5c([0x63,0x65,0x69,0x6c])](_0x458512/_0x1e73f8)));window[_0x534a5c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x534a5c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24f389,_0x3ab324);}function _0x5e3612(){const _0x36e376=_0x534a5c([0x6c,0x6c,0x63,0x74,0x2d])+_0x28f511(_0x5b20a7(_0x4938f8)),_0x54fd5d=window[_0x534a5c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x534a5c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36e376);return _0x54fd5d?window[_0x534a5c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x122ca8(_0x54fd5d),0x10)*_0x1e73f8:null;}function _0x28d75b(_0x36a874){return new window[(_0x534a5c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x81727d,_0x54e2a3)=>{_0x36a874[_0x534a5c([0x74,0x68,0x65,0x6e])](_0x81727d,_0x54e2a3),window[_0x534a5c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54e2a3,0x535e58fa^_0x105c89);});}}_0x352c12[_0x534a5c([0x6f,0x6e])](_0x534a5c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa7fe0b,_0x84f598)=>{if(_0x84f598[0x0]!=_0x4938f8)return _0x2b5397(_0x534a5c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x84f598[0x1]={..._0x84f598[0x1],[_0x534a5c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31c126};},{[_0x534a5c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x534a5c([0x68,0x69,0x67,0x68])}),_0x352c12[_0x534a5c([0x6f,0x6e])](_0x534a5c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31e746=>{_0x5088a1(_0x31e746[_0x534a5c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f0490=!0x0,_0x82fbf3(_0x31e746[_0x534a5c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x534a5c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x534a5c([0x6c,0x6f,0x77])}),_0x7bbdcd[_0x534a5c([0x74,0x68,0x65,0x6e])](()=>{_0x2f0490||_0x2b5397(_0x534a5c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52816b(){return _0x352c12[_0x534a5c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x534a5c([0x76,0x69,0x65,0x77])][_0x534a5c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x534a5c([0x61,0x75,0x74,0x6f]);}function _0x3b4627(){_0x352c12[_0x534a5c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x534a5c([0x76,0x69,0x65,0x77])][_0x534a5c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x534a5c([0x61,0x75,0x74,0x6f]);}}function _0x480178(_0x106661){const _0x3f7aaa=[new window[(_0x534a5c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b625b=>setTimeout(_0x5b625b,0x5356b2f6^_0x105c89)),_0x7bbdcd[_0x534a5c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x534a5c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51695b=>{let _0x51fd06=0x0;_0x352c12[_0x534a5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x534a5c([0x6f,0x6e])](_0x534a5c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a2510,_0x476069)=>{_0x476069[0x0][_0x534a5c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51fd06++,_0x51fd06==(0x535f89d2^_0x105c89)&&(_0x51695b(),_0x2a2510[_0x534a5c([0x6f,0x66,0x66])]());});}))];return window[_0x534a5c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x534a5c([0x72,0x61,0x63,0x65])](_0x3f7aaa)[_0x534a5c([0x74,0x68,0x65,0x6e])](()=>_0x106661);}async function _0x364a18(){await _0x7bbdcd,_0x352c12[_0x534a5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x534a5c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20611d,_0x352c12[_0x534a5c([0x6d,0x6f,0x64,0x65,0x6c])][_0x534a5c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20611d,_0x352c12[_0x534a5c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x534a5c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2f5ad7(_0x4b13da){const _0x51e83a=_0x3f7738();_0x352c12[_0x51e83a]=_0x534a5c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4b13da,_0x4b13da!=_0x534a5c([0x56,0x61,0x6c,0x69,0x64])&&_0x364a18();}function _0x3f7738(){const _0x5af017=window[_0x534a5c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x534a5c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x534a5c([0x6e,0x6f,0x77])]())[_0x534a5c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x534a5c([0x2e]),'');let _0x31cf62=_0x534a5c([0x68]);for(let _0x4bb6e8=0x0;_0x4bb6e8<_0x5af017[_0x534a5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bb6e8+=0x2){let _0x29c21a=window[_0x534a5c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5af017[_0x534a5c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bb6e8,_0x4bb6e8+0x2));_0x29c21a>=_0x207b37[_0x534a5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29c21a-=_0x207b37[_0x534a5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x31cf62+=_0x207b37[_0x29c21a];}return _0x31cf62;}function _0xf8ed3c(){const _0x277317=_0x47359b[_0x534a5c([0x73,0x70,0x6c,0x69,0x74])](_0x534a5c([0x2e]));if(0x3!=_0x277317[_0x534a5c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c0dd1(_0x277317[0x1]);function _0x4c0dd1(_0x25087b){const _0x38bac4=_0x1e0168(_0x25087b);return _0x38bac4&&_0x4210ff()?_0x38bac4:null;function _0x4210ff(){const _0x838372=_0x38bac4[_0x534a5c([0x6a,0x74,0x69])],_0x283f19=window[_0x534a5c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x838372[_0x534a5c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x838372[_0x534a5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x481e19={..._0x38bac4,[_0x534a5c([0x6a,0x74,0x69])]:_0x838372[_0x534a5c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x838372[_0x534a5c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x481e19[_0x534a5c([0x76,0x63])],_0x5b20a7(_0x481e19)==_0x283f19;}}}async function _0x3e1ecb(){let _0x1cc9fb=!0x0;try{const _0x1ed99e=_0x47359b[_0x534a5c([0x73,0x70,0x6c,0x69,0x74])](_0x534a5c([0x2e])),[_0x114d18,_0x4c2ea1,_0x2bb914]=_0x1ed99e;return _0x43a431(_0x114d18),await _0x14456c(_0x114d18,_0x4c2ea1,_0x2bb914),_0x1cc9fb;}catch{return!0x1;}function _0x43a431(_0x1f1a32){const _0x2116be=_0x1e0168(_0x1f1a32);_0x2116be&&_0x2116be[_0x534a5c([0x61,0x6c,0x67])]==_0x534a5c([0x45,0x53,0x32,0x35,0x36])||(_0x1cc9fb=!0x1);}async function _0x14456c(_0x5c1d9b,_0x13989d,_0x77bde0){const _0x10d71b=window[_0x534a5c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x534a5c([0x66,0x72,0x6f,0x6d])](_0x596d82(_0x77bde0),_0x435859=>_0x435859[_0x534a5c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5cf478=new window[(_0x534a5c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x534a5c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c1d9b+_0x534a5c([0x2e])+_0x13989d),_0x8a1007=window[_0x534a5c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x534a5c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x8a1007)return;const _0x53560b=await _0x8a1007[_0x534a5c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x534a5c([0x6a,0x77,0x6b]),_0x14ae8b,{[_0x534a5c([0x6e,0x61,0x6d,0x65])]:_0x534a5c([0x45,0x43,0x44,0x53,0x41]),[_0x534a5c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x534a5c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x534a5c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x8a1007[_0x534a5c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x534a5c([0x6e,0x61,0x6d,0x65])]:_0x534a5c([0x45,0x43,0x44,0x53,0x41]),[_0x534a5c([0x68,0x61,0x73,0x68])]:{[_0x534a5c([0x6e,0x61,0x6d,0x65])]:_0x534a5c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53560b,_0x10d71b,_0x5cf478)||(_0x1cc9fb=!0x1);}}function _0x1e0168(_0x36fd52){return _0x36fd52[_0x534a5c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x534a5c([0x65,0x79]))?JSON[_0x534a5c([0x70,0x61,0x72,0x73,0x65])](_0x596d82(_0x36fd52)):null;}function _0x596d82(_0x29d9d8){return window[_0x534a5c([0x61,0x74,0x6f,0x62])](_0x29d9d8[_0x534a5c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x534a5c([0x2b]))[_0x534a5c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x534a5c([0x2f])));}function _0x5b20a7(_0x39fbd3){let _0x8a8f0b=0x1505;function _0x2154f0(_0x29ac2f){for(let _0x4a97e8=0x0;_0x4a97e8<_0x29ac2f[_0x534a5c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a97e8++){const _0x1247a5=_0x29ac2f[_0x534a5c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a97e8);_0x8a8f0b=(_0x8a8f0b<<0x5)+_0x8a8f0b+_0x1247a5,_0x8a8f0b&=_0x8a8f0b;}}function _0x25ea82(_0x17bed6){Array[_0x534a5c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17bed6)?_0x17bed6[_0x534a5c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25ea82):_0x17bed6&&typeof _0x17bed6==_0x534a5c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x534a5c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17bed6)[_0x534a5c([0x73,0x6f,0x72,0x74])]()[_0x534a5c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x7f92d2,_0xc25384])=>{_0x2154f0(_0x7f92d2),_0x25ea82(_0xc25384);}):_0x2154f0(window[_0x534a5c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17bed6));}return _0x25ea82(_0x39fbd3),_0x8a8f0b>>>0x0;}function _0x28f511(_0x2565d2){return _0x2565d2[_0x534a5c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x534a5c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x534a5c([0x30]));}function _0x122ca8(_0x43588a){return _0x43588a[_0x534a5c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x534a5c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x534a5c([0x6a,0x6f,0x69,0x6e])]('');}function _0x20611d(){}function _0x534a5c(_0x4e804e){return _0x4e804e['map'](_0x27e192=>String['fromCharCode'](_0x27e192))['join']('');}_0x2f5ad7(await _0x1f5af5());}(this);}['_initSchema'](){const _0x58a3ac=this['editor']['model']['schema'];_0x58a3ac['isRegistered']('imageBlock')&&_0x58a3ac['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x58a3ac['isRegistered']('imageInline')&&_0x58a3ac['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x14cdd1=this['editor'];_0x14cdd1['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x14cdd1['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3fb064=>_0x3fb064['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4b3d4a=_0x14cdd1['commands']['get']('replaceImageSource');_0x4b3d4a&&this['listenTo'](_0x4b3d4a,'cleanupImage',(_0x4b3ee9,[_0x55de4d,_0x24dac1])=>{_0x55de4d['removeAttribute']('uploadcareImageId',_0x24dac1);});}['_initConfig'](){const _0x52780b=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3a6541=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4adfc6(_0x34be63['document'],'uc-config',{..._0x52780b,'pubkey':_0x3a6541,'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']=_0x121c6c=>{if('closeMax'==_0x121c6c)return'#uc-icon-arrow-down';},_0x34be63['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4adfc6(_0x34be63['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x34be63['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5d10de=this['editor']['commands']['get']('insertImage');_0x5d10de&&this['listenTo'](_0x5d10de,'execute',()=>{const _0x5b1b1a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5b1b1a&&_0x5b1b1a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x5b1b1a);});});const _0x1967b=this['editor']['commands']['get']('uploadcareImageReplace');_0x1967b&&this['listenTo'](_0x1967b,'execute',()=>{const _0x32c7a6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x32c7a6&&_0x32c7a6['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x32c7a6);});});}}class H extends _0x150695{static get['requires'](){return[z,A];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x79f40d){super(_0x79f40d),_0x79f40d['config']['define']('uploadcare.uploader.sourceList',[S['Local'],S['URL']]),_0x349517['defineComponents'](_0x349517),this['_defineLocale']();}['_defineLocale'](){const _0x96e92f=this['editor']['config']['get']('uploadcare.locale'),_0x5a0a1a=this['editor']['locale']['contentLanguage'];_0x96e92f&&_0x349517['defineLocale'](_0x5a0a1a,_0x96e92f);}}class J extends _0x39157e{constructor(_0x878d39){super(_0x878d39);const t=_0x878d39['t'],_0x2967c2=this['bindTemplate'],_0x5e188c=new _0x4e4daa();_0x5e188c['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':[_0x5e188c,{'text':_0x2967c2['to']('imageUploadProgress',_0x4da655=>t('Loading\x20image...')+'\x20('+(_0x4da655||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 _0x39157e{constructor(_0x3b0163){super(_0x3b0163);const t=_0x3b0163['t'];this['set']('errorType',null);const _0x4b8c9e=new _0x56987c(_0x3b0163);_0x4b8c9e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4b8c9e['withText']=!0x0,_0x4b8c9e['class']='ck-button-action',_0x4b8c9e['on']('execute',()=>{this['fire']('retry');}),_0x4b8c9e['bind']('isVisible')['to'](this,'errorType',_0x363e27=>'NotFound'!==_0x363e27);const _0x5be9ae=new _0x311890();_0x5be9ae['content']=_0x3b0889,_0x5be9ae['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1716d2=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':[_0x5be9ae,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1716d2['to']('errorType',_0x316d01=>t('NotFound'!==_0x316d01?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4b8c9e]},{'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 _0x39157e{constructor(_0xbf1c95,_0x56890b){super(_0xbf1c95);const _0xfc90b2=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x56890b,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xfc90b2['to']('imageSrc')}});}}class X extends K{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xd42fcb,_0x2e7efb,_0x115fc9){super(_0xd42fcb),this['_items']=this['createCollection'](),this['_loadingView']=new J(_0xd42fcb),this['_errorView']=new Z(_0xd42fcb),this['_editingView']=new Q(_0xd42fcb,_0x115fc9),this['_focusableView']=new _0x39157e(_0xd42fcb),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2e7efb),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'],_0x58756f=>{this['_addUploadcareImageEditorListeners'](_0x58756f);});}),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'](_0x2cf7a6,_0x308e26){const _0xa7feae='uc-cloud-image-editor',_0x442747=_0x2cf7a6['querySelector'](_0xa7feae);if(_0x442747)return _0x308e26(_0x442747);const _0x476b13=new MutationObserver(_0x3ec5ef=>{const _0xeba31d=_0x3ec5ef['filter'](_0x9a4504=>_0x9a4504['target']===_0x2cf7a6&&_0x9a4504['addedNodes']['length']>0x0&&_0x9a4504['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xa7feae);_0xeba31d['length']&&(_0x476b13['disconnect'](),_0x308e26(_0xeba31d[0x0]['addedNodes'][0x0]));});_0x476b13['observe'](_0x2cf7a6,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2e37f3){_0x2e37f3['addEventListener']('apply',_0x2c817d=>{this['fire']('apply',{'imageSrc':_0x2c817d['detail']['cdnUrl']});}),_0x2e37f3['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class Y extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x391e1b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5cbb66,_0x22854c,_0x35dead){super(),this['_editor']=_0x5cbb66,this['_dialog']=_0x22854c,this['_imageElement']=_0x35dead,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 _0x1890b5=this['_imageElement'],_0x4db2a5=_0x1890b5['getAttribute']('uploadcareImageId'),_0x21c557=_0x1890b5['getAttribute']('src');if(_0x4db2a5)await this['_loadImageInfo'](_0x4db2a5,_0x21c557);else{if(this['_imageCache']['has'](_0x21c557)){const _0x209e1d=this['_imageCache']['get'](_0x21c557);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x209e1d['url'],this['imageDimension']=_0x209e1d['dimension'],this['imageId']=_0x209e1d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2903cf}=this['_editor'],t=_0x2903cf['t'],_0x225434=new X(_0x2903cf,this['imageStatus'],this['_attributes']);_0x225434['bind']('status')['to'](this,'imageStatus'),_0x225434['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x225434['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x225434['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x225434,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x178804,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x225434,'position':_0x5773c9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x225434['focus']();},'onHide':()=>{_0x225434['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x29eb78=>!V(_0x29eb78,_0x225434['element'])}});}['_loadImageInfo'](_0x11518f,_0x269405){return q['getInfo'](_0x11518f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x288bef=>{const {width:_0x5945e1,height:_0x38084b}=_0x288bef['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x269405,this['imageDimension']={'width':_0x5945e1,'height':_0x38084b},this['imageId']=_0x11518f;})['catch'](_0x21b076=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x21b076['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5c96c,_0x2f9452){return this['_getImageAsFile'](_0x5c96c)['then'](_0x1579fa=>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':_0x2f9452['signal'],'file':_0x1579fa,'onProgress':_0x140bbd=>{_0x140bbd&&_0x140bbd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x140bbd['value']));}}))['then'](_0x3adffb=>{const {width:_0x4adc14,height:_0x42e324}=_0x3adffb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3adffb['cdnUrl'],this['imageDimension']={'width':_0x4adc14,'height':_0x42e324},this['imageId']=_0x3adffb['uuid'],this['imageUploadProgress']=null;const _0x4d54e2=_0x5c96c['getAttribute']('src');this['_imageCache']['set'](_0x4d54e2,{'id':_0x3adffb['uuid'],'url':_0x3adffb['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1226b0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1226b0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5a9984,_0x13bc49){_0x5a9984['on']('apply',(_0x423a86,_0x34b9ca)=>{this['_replaceImage'](_0x13bc49,_0x34b9ca['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5a9984['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5a9984['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3e42f6,_0xeec200,_0x1d8c90){const _0x58ea95=this['_editor'],{width:_0x4a18b0,height:_0x264353}=F(_0xeec200,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3bc652,imageSources:_0x808e57}=D(_0xeec200,_0x4a18b0);_0x58ea95['model']['change'](_0x33509b=>{if('$graveyard'===_0x3e42f6['root']['rootName']){_0x58ea95['execute']('insertImage',{'imageType':_0x3e42f6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3e42f6['getAttributes']()),'uploadcareImageId':_0x1d8c90,'src':_0x3bc652,'sources':_0x808e57,'width':_0x4a18b0,'height':_0x264353}});const _0x3b40b7=_0x3e42f6['getChildren']();_0x3e42f6=_0x58ea95['model']['document']['selection']['getSelectedElement']();for(const _0x13b74a of _0x3b40b7)_0x33509b['append'](_0x33509b['cloneElement'](_0x13b74a),_0x3e42f6);}else _0x33509b['setSelection'](_0x3e42f6,'on'),_0x58ea95['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3e42f6['getAttributes']()),'uploadcareImageId':_0x1d8c90,'src':_0x3bc652,'sources':_0x808e57,'width':_0x4a18b0,'height':_0x264353},_0x3e42f6);_0x33509b['setSelection'](_0x3e42f6,'on');});}async['_getImageAsFile'](_0x5e7d6d){const _0x56e2f5=_0x34be63['window'],_0x2b0179=_0x34be63['document']['location']['href'],_0x3ae347=new _0x56e2f5['URL'](_0x5e7d6d['getAttribute']('src'),_0x2b0179);if('data:'===_0x3ae347['protocol']){const _0x19fdeb=_0x3ae347['href']['split'](','),_0x5c55d7=_0x19fdeb[0x0]['match'](/:(.*?);/)[0x1],_0x186ae4=_0x5c55d7['split']('/')[0x1],_0x234116=_0x56e2f5['atob'](_0x19fdeb[_0x19fdeb['length']-0x1]);let _0x121706=_0x234116['length'];const _0x30e48f=new _0x56e2f5['Uint8Array'](_0x121706);for(;_0x121706--;)_0x30e48f[_0x121706]=_0x234116['charCodeAt'](_0x121706);return new _0x56e2f5['File']([_0x30e48f],'image.'+_0x186ae4,{'type':_0x5c55d7});}const _0x92c709=_0x3ae347['href']['split']('/'),_0x53e26b=_0x92c709[_0x92c709['length']-0x1],_0x2c6b59=_0x53e26b['split']('.')[0x1];return _0x56e2f5['fetch'](_0x3ae347['href'])['then'](_0x49ffb7=>_0x49ffb7['clone']()['blob']())['then'](_0xdae698=>new _0x56e2f5['File']([_0xdae698],_0x53e26b,{'type':'image/'+_0x2c6b59}));}}class tt extends _0x35863b{['imageEditController'];static get['requires'](){return[_0x3ac812];}['_isEditable'];constructor(_0x53d341){super(_0x53d341),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x307c83){const _0x438f33=B(_0x307c83);return _0xa56faa=>!(!_0xa56faa||!_0xa56faa['is']('element','imageBlock')&&!_0xa56faa['is']('element','imageInline'))&&(!!_0xa56faa['hasAttribute']('uploadcareImageId')||!!_0xa56faa['hasAttribute']('src')&&_0x438f33(_0xa56faa['getAttribute']('src')));}(_0x53d341['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x228941=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x228941);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5ac13e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5ac13e&&(_0x5ac13e['is']('element','imageBlock')||_0x5ac13e['is']('element','imageInline'))&&(this['imageEditController']=new Y(this['editor'],this['editor']['plugins']['get'](_0x3ac812),_0x5ac13e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class et extends _0x35863b{['refresh'](){const _0x300ac3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x300ac3&&(_0x300ac3['is']('element','imageBlock')||_0x300ac3['is']('element','imageInline')));}['execute'](_0x4dd0c8){const _0x1eccfd=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2542d4=>{_0x2542d4['setAttributes'](_0x4dd0c8,_0x1eccfd),_0x2542d4['removeAttribute']('srcset',_0x1eccfd),_0x2542d4['removeAttribute']('sizes',_0x1eccfd);});}}class it extends _0x150695{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[z,_0x181562,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x486685}=this;_0x486685['commands']['add']('uploadcareImageEdit',new tt(_0x486685)),_0x486685['commands']['add']('uploadcareImageReplace',new et(_0x486685));}}class st extends _0x150695{['_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 _0x45e4b0=this['editor'];_0x45e4b0['ui']['componentFactory']['add']('uploadcareImageEdit',_0xad1b98=>{const _0x145910=_0x45e4b0['commands']['get']('uploadcareImageEdit'),_0x28571a=new _0x56987c(_0xad1b98),t=_0xad1b98['t'];return _0x28571a['set']({'icon':_0x178804,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x28571a['bind']('isEnabled')['to'](_0x145910),_0x28571a['bind']('isOn')['to'](_0x145910,'isActive'),this['listenTo'](_0x28571a,'execute',()=>{_0x45e4b0['execute']('uploadcareImageEdit'),_0x45e4b0['editing']['view']['focus']();}),_0x28571a;}),this['_initConfig']();}['_initConfig'](){const _0xdb5bd1=_0x4adfc6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xdb5bd1),this['listenTo'](this['editor'],'destroy',()=>{_0xdb5bd1['remove']();});}}class nt extends _0x150695{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};
|
|
23
|
+
import{Plugin as _0x27fa93,Command as _0x45278d}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x116a1a,IconGooglePhotos as _0x257269,IconGoogleDrive as _0xb02420,IconFacebook as _0x45f0c7,IconDropbox as _0x4b4286,IconUploadcareLink as _0x1983df,IconUploadcareImageUpload as _0x3638b3,IconError as _0x2e5b40,IconUploadcareImageEdit as _0xb51fd6}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x43235,MenuBarMenuListItemButtonView as _0x863b36,View as _0xb4225f,FocusCycler as _0x36bf49,Dialog as _0x3c0f0f,DialogViewPosition as _0x40af34,SpinnerView as _0x1d0767,IconView as _0x484228,Notification as _0x5c2864}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x20bc40,DomEmitterMixin as _0x44d3cc,global as _0x1312d8,getAncestors as _0x2af2bf,ObservableMixin as _0x523aa2,uid as _0x2a9b8d,createElement as _0x184083}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xaed829}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x402ae7,info as _0xf755cb}from'@uploadcare/upload-client';import*as _0x226517 from'@uploadcare/file-uploader';var i=function(_0x4b0412){return _0x4b0412['Local']='local',_0x4b0412['URL']='url',_0x4b0412['Dropbox']='dropbox',_0x4b0412['GDrive']='gdrive',_0x4b0412['Facebook']='facebook',_0x4b0412['GPhotos']='gphotos',_0x4b0412['OneDrive']='onedrive',_0x4b0412;}({});function _(_0x428fa7,_0xc79048,_0x3eec26){const t=_0x428fa7['t'],_0x16a6d8=_0x428fa7['t'];switch(_0xc79048){case i['Local']:return{'text':_0x16a6d8('Insert'===_0x3eec26?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x16a6d8('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x3eec26?_0x16a6d8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x16a6d8('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x3eec26?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x3eec26?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x3eec26?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x3eec26?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x3eec26?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xc79048;}}class e extends _0x27fa93{['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 _0x1792e3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x149b48;for(const _0x42bd64 in _0x1792e3){const _0x880371=_0x42bd64,_0x34318d=_0x1792e3[_0x880371];if('uploadcareLicenseKeyValid'==_0x34318d||'uploadcareLicenseKeyInvalid'==_0x34318d||'uploadcareLicenseKeyExpired'==_0x34318d||'uploadcareLicenseKeyDomainLimit'==_0x34318d||'uploadcareLicenseKeyNotAllowed'==_0x34318d||'uploadcareLicenseKeyEvaluationLimit'==_0x34318d||'uploadcareLicenseKeyUsageLimit'==_0x34318d){delete _0x1792e3[_0x880371],_0x149b48=_0x34318d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x149b48&&_0x1792e3['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x149b48&&_0x1792e3['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x149b48&&_0x1792e3['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x149b48&&_0x1792e3['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x149b48&&_0x1792e3['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x149b48&&_0x1792e3['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5372fc}=this,_0x37910d=_0x5372fc['commands']['get']('uploadcare');if(!_0x37910d)return;const _0x475864=this['_normalizeConfigSourceList'](_0x5372fc['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3188e6,_0x5166cf)=>{const _0x50d70c=this['_getIntegrationKey'](_0x5166cf['type']);return _0x3188e6[_0x50d70c]||(_0x3188e6[_0x50d70c]=[]),_0x3188e6[_0x50d70c]['push'](_0x5166cf),_0x3188e6;},{});_0x5372fc['plugins']['has']('ImageInsertUI')&&_0x5372fc['commands']['get']('uploadcare')&&Object['entries'](_0x475864)['forEach'](([_0x453dbd,_0x58b4b1])=>{_0x5372fc['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x453dbd,'observable':()=>_0x37910d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x58b4b1),'formViewCreator':()=>this['_createDropdownButtons'](_0x58b4b1),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x58b4b1),'override':'assetManager'!==_0x453dbd});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3793a4){const {locale:_0x1a0880}=this['editor'];return _0x3793a4['map'](_0x20470d=>{const _0x2e56f0=_(_0x1a0880,_0x20470d,'Insert');switch(_0x20470d){case i['Local']:return{'icon':_0x3638b3,'type':i['Local'],..._0x2e56f0};case i['URL']:return{'icon':_0x1983df,'type':i['URL'],..._0x2e56f0};case i['Dropbox']:return{'icon':_0x4b4286,'type':i['Dropbox'],..._0x2e56f0};case i['Facebook']:return{'icon':_0x45f0c7,'type':i['Facebook'],..._0x2e56f0};case i['GDrive']:return{'icon':_0xb02420,'type':i['GDrive'],..._0x2e56f0};case i['GPhotos']:return{'icon':_0x257269,'type':i['GPhotos'],..._0x2e56f0};case i['OneDrive']:return{'icon':_0x116a1a,'type':i['OneDrive'],..._0x2e56f0};}});}['_getIntegrationKey'](_0x166405){switch(_0x166405){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1f0cf7,_0x50bc5f){const _0x33376b=this['editor'],_0xcdc17e=new _0x1f0cf7(_0x33376b['locale']),_0x4097cd=_0x33376b['commands']['get']('uploadcare');return _0xcdc17e['bind']('isEnabled')['to'](_0x4097cd),_0xcdc17e['on']('execute',()=>{_0x4097cd['execute'](_0x50bc5f);}),_0xcdc17e;}['_createToolbarButton'](_0xf6e9af){const {locale:_0x53a007}=this['editor'],_0x176172=this['editor']['plugins']['get']('ImageInsertUI'),_0x356e9c=_0xf6e9af[0x0],_0x6dce08=this['_createButton'](_0x43235,_0x356e9c['type']);return _0x6dce08['icon']=_0x356e9c['icon'],_0x6dce08['bind']('label')['to'](_0x176172,'isImageSelected',_0x3ff6cf=>_(_0x53a007,_0x356e9c['type'],_0x3ff6cf?'Replace':'Insert')['text']),_0x6dce08['tooltip']=!0x0,_0x6dce08;}['_createDropdownButtons'](_0x59c8b6){const {locale:_0x2ddfce}=this['editor'],_0x3871e7=this['editor']['plugins']['get']('ImageInsertUI');return _0x59c8b6['map'](_0x548c27=>{const _0x4cfd9c=this['_createButton'](_0x43235,_0x548c27['type']);return _0x4cfd9c['withText']=!0x0,_0x4cfd9c['icon']=_0x548c27['icon'],_0x4cfd9c['bind']('label')['to'](_0x3871e7,'isImageSelected',_0x512b90=>_(_0x2ddfce,_0x548c27['type'],_0x512b90?'Replace':'Insert')['text']),_0x4cfd9c;});}['_createMenuBarButtons'](_0x1fcea9){return _0x1fcea9['map'](_0x52b8c3=>{const _0xdf4792=this['_createButton'](_0x863b36,_0x52b8c3['type']);return _0xdf4792['icon']=_0x52b8c3['icon'],_0xdf4792['label']=_0x52b8c3['shortText'],_0xdf4792;});}}class F extends _0xb4225f{['focusTracker'];['focusCycler'];constructor(_0x4e7343){super(_0x4e7343),this['focusTracker']=new _0x20bc40(),this['focusCycler']=new _0x36bf49({'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(_0x5c9b58,_0x1eda99){super(_0x5c9b58),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-'+_0x1eda99}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x46afc4,_0x5ec2b3){const _0x4dbf6f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x49f3de=>_0x49f3de<=_0x5ec2b3)['map'](_0x2b255f=>_0x46afc4['replace'](/\/$/,'')+'/-/resize/'+_0x2b255f+'x/\x20'+_0x2b255f+'w');return{'imageFallbackUrl':_0x46afc4,'imageSources':[{'srcset':_0x4dbf6f['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5ec2b3+'px)\x20100vw,\x20'+_0x5ec2b3+'px','type':'image/webp'}]};}function S(_0x57024a,_0x2a508b,_0x38995f){const _0x28eb2b=_0x57024a['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x28eb2b?parseInt(_0x28eb2b[0x1],0xa):_0x2a508b,'height':_0x28eb2b?parseInt(_0x28eb2b[0x2],0xa):_0x38995f};}function p(_0x453919,_0x1657fa){const _0x251cd8=new(_0x44d3cc())(),_0x8a3438=_0x453919['plugins']['get']('ImageUtils'),_0x4ac1c2=_0x453919['editing']['mapper']['toViewElement'](_0x1657fa),_0x41710f=_0x8a3438['findViewImgElement'](_0x4ac1c2),_0x2c6c07=_0x453919['editing']['view']['domConverter']['viewToDom'](_0x41710f),_0x471b30=_0x1657fa['getAttribute']('width'),_0x12166b=_0x1657fa['getAttribute']('height'),_0x233e98='image-processing';_0x453919['editing']['view']['change'](_0x15719a=>{_0x15719a['addClass'](_0x233e98,_0x4ac1c2),_0x15719a['setStyle']('aspect-ratio',_0x471b30+'/'+_0x12166b,_0x41710f);}),_0x251cd8['listenTo'](_0x2c6c07,'load',()=>{_0x251cd8['stopListening'](_0x2c6c07,'load'),_0x453919['editing']['view']['change'](_0x5159c4=>{_0x5159c4['removeClass'](_0x233e98,_0x4ac1c2),_0x5159c4['removeStyle']('aspect-ratio',_0x41710f);});});}function G(_0x18b5b0){if(Array['isArray'](_0x18b5b0)){const _0x344f90=_0x18b5b0['map'](G);return _0x5e2204=>_0x344f90['some'](_0x29bf65=>_0x29bf65(_0x5e2204));}if('origin'==_0x18b5b0){const _0xccdad8=_0x1312d8['window']['location']['origin'];return _0x245ad7=>new URL(_0x245ad7,_0x1312d8['document']['baseURI'])['origin']==_0xccdad8;}return'function'==typeof _0x18b5b0?_0x18b5b0:_0x18b5b0 instanceof RegExp?_0x1937e6=>!(!_0x1937e6['match'](_0x18b5b0)&&!_0x1937e6['replace'](/^https?:\/\//,'')['match'](_0x18b5b0)):()=>!0x1;}function A(_0x57d107,_0x337b7d){return _0x2af2bf(_0x57d107['target'])['includes'](_0x337b7d);}class n extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x523aa2(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2e5066,_0x559454,_0x3a0c83){super(),this['_editor']=_0x2e5066,this['_editing']=_0x559454,this['_dialog']=_0x2e5066['plugins']['get'](_0x3c0f0f),this['_api']=_0x559454['ctxElement']['getAPI'](),this['_type']=_0x3a0c83,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:_0x1fcc96,model:_0x12cf7a}=this['_editor'],_0x2d974f=_0x12cf7a['document']['selection']['getSelectedElement'](),_0x5cb329=_0x2d974f&&(_0x2d974f['is']('element','imageBlock')||_0x2d974f['is']('element','imageInline'));this['_formView']=new x(_0x1fcc96,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3638b3,'title':_(_0x1fcc96,this['_type'],_0x5cb329?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x40af34['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xc06b82=>!A(_0xc06b82,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2f4fd0}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4554cc=>{const _0x4675c2=_0x2f4fd0['length'];for(const _0x4eaf5c of _0x2f4fd0){const _0x477f57=_0x4eaf5c===_0x2f4fd0[_0x4675c2-0x1],{cdnUrl:_0x2a114d,fileInfo:_0x3ae7bd}=_0x4eaf5c;if(!_0x2a114d||!_0x3ae7bd)continue;const {width:_0x5afe95,height:_0x4291ea}=_0x3ae7bd['imageInfo'],_0x5f5c37=S(_0x2a114d,_0x5afe95,_0x4291ea),_0x46c755=C(_0x2a114d,_0x5f5c37['width']),_0x125c45={'id':_0x3ae7bd['uuid'],'type':'image','attributes':{'imageDimension':_0x5f5c37,..._0x46c755}};this['_insertAsset'](_0x125c45,_0x477f57,_0x4554cc);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5b42a0=>{'idle'===_0x5b42a0['detail']['status']&&!_0x5b42a0['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x290442,_0x28ca07,_0x202346){const _0x270e69=this['_editor']['model']['document']['selection'],_0x3e2b3e=_0x270e69['getSelectedElement'](),_0x3adf7d=!(!_0x3e2b3e||!_0x3e2b3e['is']('element','imageInline'));_0x202346['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x290442,_0x3adf7d),_0x28ca07||_0x202346['setSelection'](_0x270e69['getLastPosition']());}['_insertImage'](_0x69a0c0,_0x29df2d){const _0x449cb2=this['_editor'],{imageDimension:_0x14fed5,imageFallbackUrl:_0x3cc4ce,imageSources:_0x30cbb0}=_0x69a0c0['attributes'];_0x449cb2['execute']('insertImage',{'imageType':_0x29df2d?'imageInline':null,'source':{'uploadcareImageId':_0x69a0c0['id'],'src':_0x3cc4ce,'sources':_0x30cbb0,..._0x14fed5}});}}class w extends _0x45278d{['_editing'];['_controller']=null;static get['requires'](){return[_0x3c0f0f,o];}constructor(_0x30408c){super(_0x30408c),this['_editing']=_0x30408c['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1ace59){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1ace59);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x43f3b5,..._0x5da492}){return _0x402ae7(_0x43f3b5,_0x5da492);}static['getInfo'](_0x37a13e,_0x4a5c50){return _0xf755cb(_0x37a13e,_0x4a5c50);}}class f extends _0x27fa93{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xaed829,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5d9e86=this['editor'];if(!!!_0x5d9e86['config']['get']('uploadcare'))return;_0x5d9e86['plugins']['get'](_0xaed829)['createUploadAdapter']=_0x4257e6=>new k(_0x4257e6,_0x5d9e86),_0x5d9e86['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xb97470,{imageElement:_0x335863,data:_0x26387a})=>{_0x5d9e86['model']['change'](_0x1f84c8=>{_0x1f84c8['setAttribute']('uploadcareImageId',_0x26387a['uploadcareImageId'],_0x335863);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x7cf7ce,_0x347925){this['loader']=_0x7cf7ce,this['editor']=_0x347925,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x28a994=await this['loader']['file'];return j['upload']({'file':_0x28a994,'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':_0x8c52aa=>{_0x8c52aa&&_0x8c52aa['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x8c52aa['value']);}})['then'](async _0x1882e9=>{const {imageFallbackUrl:_0x182558,imageSources:_0x35d2e8}=C(_0x1882e9['cdnUrl'],_0x1882e9['imageInfo']['width']);return{'uploadcareImageId':_0x1882e9['uuid'],'default':_0x182558,'sources':_0x35d2e8};})['catch'](()=>{const _0x1c7455=t('Cannot\x20upload\x20file:')+('\x20'+_0x28a994['name']+'.');return Promise['reject'](_0x1c7455);});}['abort'](){this['controller']['abort']();}}class o extends _0x27fa93{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x3c0f0f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4602b9){super(_0x4602b9),this['ucContextId']=_0x2a9b8d();}['init'](){const _0x9b145f=this['editor'];_0x9b145f['commands']['add']('uploadcare',new w(_0x9b145f));}['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 _0x48f1ab=_0x1312d8['document']['querySelector']('input[uploadcare-file-input]');_0x48f1ab&&_0x48f1ab['remove']();}),async function(_0x3bd4f7){const _0x2315c5=_0x2781af([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]),_0x1027ef=0x535f8c3a,_0x14239b=0x5358f3ea^_0x1027ef,_0xe874da=window[_0x2781af([0x44,0x61,0x74,0x65])][_0x2781af([0x6e,0x6f,0x77])](),_0x1f17c7=_0x3bd4f7[_0x2781af([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x31e215=new window[(_0x2781af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1100db=>{_0x1f17c7[_0x2781af([0x6f,0x6e,0x63,0x65])](_0x2781af([0x72,0x65,0x61,0x64,0x79]),_0x1100db);}),_0x5bfaf8={[_0x2781af([0x6b,0x74,0x79])]:_0x2781af([0x45,0x43]),[_0x2781af([0x75,0x73,0x65])]:_0x2781af([0x73,0x69,0x67]),[_0x2781af([0x63,0x72,0x76])]:_0x2781af([0x50,0x2d,0x32,0x35,0x36]),[_0x2781af([0x78])]:_0x2781af([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]),[_0x2781af([0x79])]:_0x2781af([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]),[_0x2781af([0x61,0x6c,0x67])]:_0x2781af([0x45,0x53,0x32,0x35,0x36])},_0x56cf04=_0x1f17c7[_0x2781af([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2781af([0x67,0x65,0x74])](_0x2781af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x152753(){let _0x333060,_0x47d85f=null,_0x5b863b=null;try{if(_0x56cf04==_0x2781af([0x47,0x50,0x4c]))return _0x2781af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x333060=_0x168b9a(),!_0x333060)return _0x2781af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x333060[_0x2781af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b863b=_0x1bb64b(_0x333060[_0x2781af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x333060[_0x2781af([0x6a,0x74,0x69])])),await _0x32a4ee()?_0x1b34c9()?_0x53da4a()?_0x2781af([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46ab35()?(_0x333060[_0x2781af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2781af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x47d85f=_0x4d21db(_0x2781af([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c2a35()):_0x2781af([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2781af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2781af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2781af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53da4a(){const _0x6246aa=[_0x2781af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2781af([0x74,0x72,0x69,0x61,0x6c])][_0x2781af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x333060[_0x2781af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xe874da/0x3e8:0xe10*_0x14239b;return _0x333060[_0x2781af([0x65,0x78,0x70])]<_0x6246aa;}function _0x1b34c9(){const _0x59463c=_0x333060[_0x2781af([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59463c&&(!!_0x59463c[_0x2781af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2781af([0x2a]))||!!_0x59463c[_0x2781af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2781af([0x55,0x50,0x4c,0x43])));}function _0x46ab35(){const _0x3310ef=_0x333060[_0x2781af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3310ef||0x0==_0x3310ef[_0x2781af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4e7ca4}=new URL(window[_0x2781af([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3310ef[_0x2781af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7ca4))return!0x0;const _0x5e3d68=_0x4e7ca4[_0x2781af([0x73,0x70,0x6c,0x69,0x74])](_0x2781af([0x2e]));return _0x3310ef[_0x2781af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a1b47=>_0x1a1b47[_0x2781af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2781af([0x2a])))[_0x2781af([0x6d,0x61,0x70])](_0x19ede7=>_0x19ede7[_0x2781af([0x73,0x70,0x6c,0x69,0x74])](_0x2781af([0x2e])))[_0x2781af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51b524=>_0x51b524[_0x2781af([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e3d68[_0x2781af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2781af([0x6d,0x61,0x70])](_0x38a4ce=>Array(_0x5e3d68[_0x2781af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38a4ce[_0x2781af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2781af([0x66,0x69,0x6c,0x6c])](_0x38a4ce[0x0]===_0x2781af([0x2a])?_0x2781af([0x2a]):'')[_0x2781af([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38a4ce))[_0x2781af([0x73,0x6f,0x6d,0x65])](_0x157c92=>_0x5e3d68[_0x2781af([0x65,0x76,0x65,0x72,0x79])]((_0xfeaff8,_0x4214ad)=>_0x157c92[_0x4214ad]===_0xfeaff8||_0x157c92[_0x4214ad]===_0x2781af([0x2a])));}function _0x4c2a35(){return _0x47d85f&&_0x5b863b?new window[(_0x2781af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a6dea,_0x2630fb)=>{_0x47d85f[_0x2781af([0x74,0x68,0x65,0x6e])](_0x2a6dea,_0x2630fb),_0x5b863b[_0x2781af([0x74,0x68,0x65,0x6e])](_0x5c82a0=>{_0x5c82a0!=_0x2781af([0x56,0x61,0x6c,0x69,0x64])&&_0x2a6dea(_0x5c82a0);},_0x2630fb);}):_0x47d85f||_0x5b863b||_0x2781af([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1bb64b(_0x4b64c4,_0x5442fb){return new window[(_0x2781af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23fe7c=>{if(_0x1307e9())return _0x23fe7c(_0x2781af([0x56,0x61,0x6c,0x69,0x64]));_0x3043e9(),_0x1f17c7[_0x2781af([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2781af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a6ba2=!0x1;const _0x289dbe=_0x2a9b8d();function _0x269a48(_0x2b6cec){return!!_0x2b6cec&&(typeof _0x2b6cec===_0x2781af([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b6cec===_0x2781af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b6cec[_0x2781af([0x74,0x68,0x65,0x6e])]===_0x2781af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b6cec[_0x2781af([0x63,0x61,0x74,0x63,0x68])]===_0x2781af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x595572(_0x143d8b){_0x408a84(_0x143d8b)[_0x2781af([0x74,0x68,0x65,0x6e])](_0x4ba9d6=>{if(!_0x4ba9d6||_0x4ba9d6[_0x2781af([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2781af([0x6f,0x6b]))return _0x2781af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1056bf(_0x4cc6fe(_0x289dbe+_0x5442fb))!=_0x4ba9d6[_0x2781af([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2781af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2781af([0x56,0x61,0x6c,0x69,0x64]);})[_0x2781af([0x74,0x68,0x65,0x6e])](_0x47c9d6=>(_0x426a4c(),_0x47c9d6),()=>{const _0x349e0c=_0x149351();return null==_0x349e0c?(_0x426a4c(),_0x2781af([0x56,0x61,0x6c,0x69,0x64])):_0x2781af(_0xe874da-_0x349e0c>(0x7753083a^_0x1027ef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2781af([0x74,0x68,0x65,0x6e])](_0x23fe7c)[_0x2781af([0x63,0x61,0x74,0x63,0x68])](()=>{_0x23fe7c(_0x2781af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1af351=0x536962ba^_0x1027ef;function _0x426a4c(){const _0x216eda=_0x2781af([0x6c,0x6c,0x63,0x74,0x2d])+_0x1056bf(_0x4cc6fe(_0x4b64c4)),_0x207b7a=_0x3791ec(_0x1056bf(window[_0x2781af([0x4d,0x61,0x74,0x68])][_0x2781af([0x63,0x65,0x69,0x6c])](_0xe874da/_0x1af351)));window[_0x2781af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2781af([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x216eda,_0x207b7a);}function _0x149351(){const _0x3c7cc5=_0x2781af([0x6c,0x6c,0x63,0x74,0x2d])+_0x1056bf(_0x4cc6fe(_0x4b64c4)),_0x28bc33=window[_0x2781af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2781af([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c7cc5);return _0x28bc33?window[_0x2781af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3791ec(_0x28bc33),0x10)*_0x1af351:null;}function _0x408a84(_0x1cdee1){return new window[(_0x2781af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1205d4,_0xc19361)=>{_0x1cdee1[_0x2781af([0x74,0x68,0x65,0x6e])](_0x1205d4,_0xc19361),window[_0x2781af([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc19361,0x535e58fa^_0x1027ef);});}}_0x1f17c7[_0x2781af([0x6f,0x6e])](_0x2781af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b5ee5,_0x1b2dd9)=>{if(_0x1b2dd9[0x0]!=_0x4b64c4)return _0x23fe7c(_0x2781af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b2dd9[0x1]={..._0x1b2dd9[0x1],[_0x2781af([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x289dbe};},{[_0x2781af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2781af([0x68,0x69,0x67,0x68])}),_0x1f17c7[_0x2781af([0x6f,0x6e])](_0x2781af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1f82d4=>{_0x269a48(_0x1f82d4[_0x2781af([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a6ba2=!0x0,_0x595572(_0x1f82d4[_0x2781af([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2781af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2781af([0x6c,0x6f,0x77])}),_0x31e215[_0x2781af([0x74,0x68,0x65,0x6e])](()=>{_0x2a6ba2||_0x23fe7c(_0x2781af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1307e9(){return _0x1f17c7[_0x2781af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2781af([0x76,0x69,0x65,0x77])][_0x2781af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2781af([0x61,0x75,0x74,0x6f]);}function _0x3043e9(){_0x1f17c7[_0x2781af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2781af([0x76,0x69,0x65,0x77])][_0x2781af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2781af([0x61,0x75,0x74,0x6f]);}}function _0x4d21db(_0x292b18){const _0x15f721=[new window[(_0x2781af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb722b0=>setTimeout(_0xb722b0,0x5356b2f6^_0x1027ef)),_0x31e215[_0x2781af([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2781af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36b886=>{let _0x789c3e=0x0;_0x1f17c7[_0x2781af([0x6d,0x6f,0x64,0x65,0x6c])][_0x2781af([0x6f,0x6e])](_0x2781af([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c70b5,_0x1921e5)=>{_0x1921e5[0x0][_0x2781af([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x789c3e++,_0x789c3e==(0x535f89d2^_0x1027ef)&&(_0x36b886(),_0x4c70b5[_0x2781af([0x6f,0x66,0x66])]());});}))];return window[_0x2781af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2781af([0x72,0x61,0x63,0x65])](_0x15f721)[_0x2781af([0x74,0x68,0x65,0x6e])](()=>_0x292b18);}async function _0x5e91ec(){await _0x31e215,_0x1f17c7[_0x2781af([0x6d,0x6f,0x64,0x65,0x6c])][_0x2781af([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x480202,_0x1f17c7[_0x2781af([0x6d,0x6f,0x64,0x65,0x6c])][_0x2781af([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x480202,_0x1f17c7[_0x2781af([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2781af([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x599a55(_0x1eaea9){const _0x28959f=_0x1ce065();_0x1f17c7[_0x28959f]=_0x2781af([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1eaea9,_0x1eaea9!=_0x2781af([0x56,0x61,0x6c,0x69,0x64])&&_0x5e91ec();}function _0x1ce065(){const _0x501db2=window[_0x2781af([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2781af([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2781af([0x6e,0x6f,0x77])]())[_0x2781af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2781af([0x2e]),'');let _0x25aab7=_0x2781af([0x68]);for(let _0x154187=0x0;_0x154187<_0x501db2[_0x2781af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x154187+=0x2){let _0x325133=window[_0x2781af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x501db2[_0x2781af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x154187,_0x154187+0x2));_0x325133>=_0x2315c5[_0x2781af([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x325133-=_0x2315c5[_0x2781af([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25aab7+=_0x2315c5[_0x325133];}return _0x25aab7;}function _0x168b9a(){const _0x3f3198=_0x56cf04[_0x2781af([0x73,0x70,0x6c,0x69,0x74])](_0x2781af([0x2e]));if(0x3!=_0x3f3198[_0x2781af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d754e(_0x3f3198[0x1]);function _0x4d754e(_0x103049){const _0x52558c=_0x600e83(_0x103049);return _0x52558c&&_0x167f35()?_0x52558c:null;function _0x167f35(){const _0x154449=_0x52558c[_0x2781af([0x6a,0x74,0x69])],_0x4bdc88=window[_0x2781af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x154449[_0x2781af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x154449[_0x2781af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44b5ae={..._0x52558c,[_0x2781af([0x6a,0x74,0x69])]:_0x154449[_0x2781af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x154449[_0x2781af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44b5ae[_0x2781af([0x76,0x63])],_0x4cc6fe(_0x44b5ae)==_0x4bdc88;}}}async function _0x32a4ee(){let _0x1ecc74=!0x0;try{const _0x16910d=_0x56cf04[_0x2781af([0x73,0x70,0x6c,0x69,0x74])](_0x2781af([0x2e])),[_0x1f45a9,_0x149c70,_0x3407f6]=_0x16910d;return _0x182dae(_0x1f45a9),await _0x481e65(_0x1f45a9,_0x149c70,_0x3407f6),_0x1ecc74;}catch{return!0x1;}function _0x182dae(_0xc0b0a1){const _0x2771ca=_0x600e83(_0xc0b0a1);_0x2771ca&&_0x2771ca[_0x2781af([0x61,0x6c,0x67])]==_0x2781af([0x45,0x53,0x32,0x35,0x36])||(_0x1ecc74=!0x1);}async function _0x481e65(_0x52d6ae,_0x53227b,_0x32106a){const _0x4254be=window[_0x2781af([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2781af([0x66,0x72,0x6f,0x6d])](_0x188981(_0x32106a),_0x38a560=>_0x38a560[_0x2781af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5279b1=new window[(_0x2781af([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2781af([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x52d6ae+_0x2781af([0x2e])+_0x53227b),_0x54c576=window[_0x2781af([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2781af([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54c576)return;const _0x318b59=await _0x54c576[_0x2781af([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2781af([0x6a,0x77,0x6b]),_0x5bfaf8,{[_0x2781af([0x6e,0x61,0x6d,0x65])]:_0x2781af([0x45,0x43,0x44,0x53,0x41]),[_0x2781af([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2781af([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2781af([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54c576[_0x2781af([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2781af([0x6e,0x61,0x6d,0x65])]:_0x2781af([0x45,0x43,0x44,0x53,0x41]),[_0x2781af([0x68,0x61,0x73,0x68])]:{[_0x2781af([0x6e,0x61,0x6d,0x65])]:_0x2781af([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x318b59,_0x4254be,_0x5279b1)||(_0x1ecc74=!0x1);}}function _0x600e83(_0x29ffc1){return _0x29ffc1[_0x2781af([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2781af([0x65,0x79]))?JSON[_0x2781af([0x70,0x61,0x72,0x73,0x65])](_0x188981(_0x29ffc1)):null;}function _0x188981(_0x48eec5){return window[_0x2781af([0x61,0x74,0x6f,0x62])](_0x48eec5[_0x2781af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2781af([0x2b]))[_0x2781af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2781af([0x2f])));}function _0x4cc6fe(_0x1946b4){let _0x2d8928=0x1505;function _0x52a56f(_0x3f3336){for(let _0x3be4b9=0x0;_0x3be4b9<_0x3f3336[_0x2781af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3be4b9++){const _0x13ec26=_0x3f3336[_0x2781af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3be4b9);_0x2d8928=(_0x2d8928<<0x5)+_0x2d8928+_0x13ec26,_0x2d8928&=_0x2d8928;}}function _0x4be1af(_0x2bb282){Array[_0x2781af([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2bb282)?_0x2bb282[_0x2781af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4be1af):_0x2bb282&&typeof _0x2bb282==_0x2781af([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2781af([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2bb282)[_0x2781af([0x73,0x6f,0x72,0x74])]()[_0x2781af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37c3a3,_0x5f3add])=>{_0x52a56f(_0x37c3a3),_0x4be1af(_0x5f3add);}):_0x52a56f(window[_0x2781af([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2bb282));}return _0x4be1af(_0x1946b4),_0x2d8928>>>0x0;}function _0x1056bf(_0x158c6f){return _0x158c6f[_0x2781af([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2781af([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2781af([0x30]));}function _0x3791ec(_0x2ec90f){return _0x2ec90f[_0x2781af([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2781af([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2781af([0x6a,0x6f,0x69,0x6e])]('');}function _0x480202(){}function _0x2781af(_0x1abc22){return _0x1abc22['map'](_0x2a3c6f=>String['fromCharCode'](_0x2a3c6f))['join']('');}_0x599a55(await _0x152753());}(this);}['_initSchema'](){const _0x54ade9=this['editor']['model']['schema'];_0x54ade9['isRegistered']('imageBlock')&&_0x54ade9['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x54ade9['isRegistered']('imageInline')&&_0x54ade9['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5268d0=this['editor'];_0x5268d0['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5268d0['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3befed=>_0x3befed['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x74ba2d=_0x5268d0['commands']['get']('replaceImageSource');_0x74ba2d&&this['listenTo'](_0x74ba2d,'cleanupImage',(_0x287386,[_0x11ca4a,_0x38ac30])=>{_0x11ca4a['removeAttribute']('uploadcareImageId',_0x38ac30);});}['_initConfig'](){const _0x589df1=this['editor']['config']['get']('uploadcare.uploader')||{},_0x126197=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x184083(_0x1312d8['document'],'uc-config',{..._0x589df1,'pubkey':_0x126197,'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']=_0x4b382f=>{if('closeMax'==_0x4b382f)return'#uc-icon-arrow-down';},_0x1312d8['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x184083(_0x1312d8['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1312d8['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xa32dc4=this['editor']['commands']['get']('insertImage');_0xa32dc4&&this['listenTo'](_0xa32dc4,'execute',()=>{const _0x1c907e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1c907e&&_0x1c907e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1c907e);});});const _0x222797=this['editor']['commands']['get']('uploadcareImageReplace');_0x222797&&this['listenTo'](_0x222797,'execute',()=>{const _0x328fbb=this['editor']['model']['document']['selection']['getSelectedElement']();_0x328fbb&&_0x328fbb['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x328fbb);});});}}class tt extends _0x27fa93{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5f7a9e){super(_0x5f7a9e),_0x5f7a9e['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x226517['defineComponents'](_0x226517),this['_defineLocale']();}['_defineLocale'](){const _0x263777=this['editor']['config']['get']('uploadcare.locale'),_0x5cc815=this['editor']['locale']['contentLanguage'];_0x263777&&_0x226517['defineLocale'](_0x5cc815,_0x263777);}}class ii extends _0xb4225f{constructor(_0x12a443){super(_0x12a443);const t=_0x12a443['t'],_0x11cb11=this['bindTemplate'],_0x340ca0=new _0x1d0767();_0x340ca0['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':[_0x340ca0,{'text':_0x11cb11['to']('imageUploadProgress',_0x2650a2=>t('Loading\x20image...')+'\x20('+(_0x2650a2||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 _0xb4225f{constructor(_0x5b96b4){super(_0x5b96b4);const t=_0x5b96b4['t'];this['set']('errorType',null);const _0x41773e=new _0x43235(_0x5b96b4);_0x41773e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x41773e['withText']=!0x0,_0x41773e['class']='ck-button-action',_0x41773e['on']('execute',()=>{this['fire']('retry');}),_0x41773e['bind']('isVisible')['to'](this,'errorType',_0x1e9b58=>'NotFound'!==_0x1e9b58);const _0xb28e3f=new _0x484228();_0xb28e3f['content']=_0x2e5b40,_0xb28e3f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x25b491=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':[_0xb28e3f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x25b491['to']('errorType',_0x4a60b3=>t('NotFound'!==_0x4a60b3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x41773e]},{'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 _0xb4225f{constructor(_0x538acc,_0x2250e4){super(_0x538acc);const _0x3380c8=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2250e4,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3380c8['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5c8a8b,_0x45353d,_0x4078ba){super(_0x5c8a8b),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5c8a8b),this['_errorView']=new ti(_0x5c8a8b),this['_editingView']=new ei(_0x5c8a8b,_0x4078ba),this['_focusableView']=new _0xb4225f(_0x5c8a8b),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x45353d),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'],_0x3cd74a=>{this['_addUploadcareImageEditorListeners'](_0x3cd74a);});}),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'](_0x1b2bc6,_0x3a37e8){const _0xc9406b='uc-cloud-image-editor',_0x2e4087=_0x1b2bc6['querySelector'](_0xc9406b);if(_0x2e4087)return _0x3a37e8(_0x2e4087);const _0x587005=new MutationObserver(_0xe4d7bd=>{const _0x578c19=_0xe4d7bd['filter'](_0xf8e1bb=>_0xf8e1bb['target']===_0x1b2bc6&&_0xf8e1bb['addedNodes']['length']>0x0&&_0xf8e1bb['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xc9406b);_0x578c19['length']&&(_0x587005['disconnect'](),_0x3a37e8(_0x578c19[0x0]['addedNodes'][0x0]));});_0x587005['observe'](_0x1b2bc6,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xb2f2bc){_0xb2f2bc['addEventListener']('apply',_0x55c6d4=>{this['fire']('apply',{'imageSrc':_0x55c6d4['detail']['cdnUrl']});}),_0xb2f2bc['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x523aa2(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x39c0c4,_0x4c1004,_0x3d67f0){super(),this['_editor']=_0x39c0c4,this['_dialog']=_0x4c1004,this['_imageElement']=_0x3d67f0,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 _0x370bbf=this['_imageElement'],_0x14325b=_0x370bbf['getAttribute']('uploadcareImageId'),_0x1e83b3=_0x370bbf['getAttribute']('src');if(_0x14325b)await this['_loadImageInfo'](_0x14325b,_0x1e83b3);else{if(this['_imageCache']['has'](_0x1e83b3)){const _0x43d992=this['_imageCache']['get'](_0x1e83b3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x43d992['url'],this['imageDimension']=_0x43d992['dimension'],this['imageId']=_0x43d992['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2493b9}=this['_editor'],t=_0x2493b9['t'],_0x5bfaa5=new X(_0x2493b9,this['imageStatus'],this['_attributes']);_0x5bfaa5['bind']('status')['to'](this,'imageStatus'),_0x5bfaa5['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5bfaa5['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5bfaa5['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5bfaa5,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xb51fd6,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5bfaa5,'position':_0x40af34['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5bfaa5['focus']();},'onHide':()=>{_0x5bfaa5['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x310219=>!A(_0x310219,_0x5bfaa5['element'])}});}['_loadImageInfo'](_0x235e33,_0x13c904){return j['getInfo'](_0x235e33,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1404fa=>{const {width:_0x5ced09,height:_0x74f422}=_0x1404fa['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13c904,this['imageDimension']={'width':_0x5ced09,'height':_0x74f422},this['imageId']=_0x235e33;})['catch'](_0x4b7d50=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4b7d50['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xf37a0d,_0xa1ec98){return this['_getImageAsFile'](_0xf37a0d)['then'](_0x2b82e6=>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':_0xa1ec98['signal'],'file':_0x2b82e6,'onProgress':_0x212152=>{_0x212152&&_0x212152['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x212152['value']));}}))['then'](_0x14a6bf=>{const {width:_0xd9034a,height:_0x5132e4}=_0x14a6bf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x14a6bf['cdnUrl'],this['imageDimension']={'width':_0xd9034a,'height':_0x5132e4},this['imageId']=_0x14a6bf['uuid'],this['imageUploadProgress']=null;const _0x3bd727=_0xf37a0d['getAttribute']('src');this['_imageCache']['set'](_0x3bd727,{'id':_0x14a6bf['uuid'],'url':_0x14a6bf['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4b78ca=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4b78ca['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2fe830,_0x2d976b){_0x2fe830['on']('apply',(_0x3b1b4e,_0xbe63b2)=>{this['_replaceImage'](_0x2d976b,_0xbe63b2['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2fe830['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2fe830['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x100edf,_0x55a1dd,_0x1cb513){const _0x1716f3=this['_editor'],{width:_0x2ec63c,height:_0x2031e8}=S(_0x55a1dd,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x71361d,imageSources:_0x569b33}=C(_0x55a1dd,_0x2ec63c);_0x1716f3['model']['change'](_0xdfecd1=>{if('$graveyard'===_0x100edf['root']['rootName']){_0x1716f3['execute']('insertImage',{'imageType':_0x100edf['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x100edf['getAttributes']()),'uploadcareImageId':_0x1cb513,'src':_0x71361d,'sources':_0x569b33,'width':_0x2ec63c,'height':_0x2031e8}});const _0x112427=_0x100edf['getChildren']();_0x100edf=_0x1716f3['model']['document']['selection']['getSelectedElement']();for(const _0x200476 of _0x112427)_0xdfecd1['append'](_0xdfecd1['cloneElement'](_0x200476),_0x100edf);}else _0xdfecd1['setSelection'](_0x100edf,'on'),_0x1716f3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x100edf['getAttributes']()),'uploadcareImageId':_0x1cb513,'src':_0x71361d,'sources':_0x569b33,'width':_0x2ec63c,'height':_0x2031e8},_0x100edf);_0xdfecd1['setSelection'](_0x100edf,'on');});}async['_getImageAsFile'](_0x23aa83){const _0x27d354=_0x1312d8['window'],_0x485933=_0x1312d8['document']['location']['href'],_0x436427=new _0x27d354['URL'](_0x23aa83['getAttribute']('src'),_0x485933);if('data:'===_0x436427['protocol']){const _0x316cf3=_0x436427['href']['split'](','),_0x372426=_0x316cf3[0x0]['match'](/:(.*?);/)[0x1],_0x589e21=_0x372426['split']('/')[0x1],_0x2f479d=_0x27d354['atob'](_0x316cf3[_0x316cf3['length']-0x1]);let _0x404362=_0x2f479d['length'];const _0x5a499f=new _0x27d354['Uint8Array'](_0x404362);for(;_0x404362--;)_0x5a499f[_0x404362]=_0x2f479d['charCodeAt'](_0x404362);return new _0x27d354['File']([_0x5a499f],'image.'+_0x589e21,{'type':_0x372426});}const _0x5e3368=_0x436427['href']['split']('/'),_0x4dd84f=_0x5e3368[_0x5e3368['length']-0x1],_0xa690f5=_0x4dd84f['split']('.')[0x1];return _0x27d354['fetch'](_0x436427['href'])['then'](_0x4b5a18=>_0x4b5a18['clone']()['blob']())['then'](_0x4672f6=>new _0x27d354['File']([_0x4672f6],_0x4dd84f,{'type':'image/'+_0xa690f5}));}}class O extends _0x45278d{['imageEditController'];static get['requires'](){return[_0x3c0f0f];}['_isEditable'];constructor(_0x5e3e41){super(_0x5e3e41),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x182a25){const _0x9b1287=G(_0x182a25);return _0x8e1a78=>!(!_0x8e1a78||!_0x8e1a78['is']('element','imageBlock')&&!_0x8e1a78['is']('element','imageInline'))&&(!!_0x8e1a78['hasAttribute']('uploadcareImageId')||!!_0x8e1a78['hasAttribute']('src')&&_0x9b1287(_0x8e1a78['getAttribute']('src')));}(_0x5e3e41['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x163376=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x163376);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x16470b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x16470b&&(_0x16470b['is']('element','imageBlock')||_0x16470b['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x3c0f0f),_0x16470b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x45278d{['refresh'](){const _0x2c34f6=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2c34f6&&(_0x2c34f6['is']('element','imageBlock')||_0x2c34f6['is']('element','imageInline')));}['execute'](_0x3d94e6){const _0x1ff71e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x52febd=>{_0x52febd['setAttributes'](_0x3d94e6,_0x1ff71e),_0x52febd['removeAttribute']('srcset',_0x1ff71e),_0x52febd['removeAttribute']('sizes',_0x1ff71e);});}}class m extends _0x27fa93{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x5c2864,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xde65bd}=this;_0xde65bd['commands']['add']('uploadcareImageEdit',new O(_0xde65bd)),_0xde65bd['commands']['add']('uploadcareImageReplace',new R(_0xde65bd));}}class g extends _0x27fa93{['_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 _0x36cb6b=this['editor'];_0x36cb6b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4ebee0=>{const _0x408700=_0x36cb6b['commands']['get']('uploadcareImageEdit'),_0x20e549=new _0x43235(_0x4ebee0),t=_0x4ebee0['t'];return _0x20e549['set']({'icon':_0xb51fd6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x20e549['bind']('isEnabled')['to'](_0x408700),_0x20e549['bind']('isOn')['to'](_0x408700,'isActive'),this['listenTo'](_0x20e549,'execute',()=>{_0x36cb6b['execute']('uploadcareImageEdit'),_0x36cb6b['editing']['view']['focus']();}),_0x20e549;}),this['_initConfig']();}['_initConfig'](){const _0x507539=_0x184083(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x507539),this['listenTo'](this['editor'],'destroy',()=>{_0x507539['remove']();});}}class et extends _0x27fa93{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,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f 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':_0xeecad6=>0x1!=_0xeecad6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3f012d=>{const {af:{dictionary:_0x54ab54,getPluralForm:_0x4787e4}}={'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':_0x277588=>0x1!=_0x277588}};_0x3f012d['af']||={'dictionary':{},'getPluralForm':null},_0x3f012d['af']['dictionary']=Object['assign'](_0x3f012d['af']['dictionary'],_0x54ab54),_0x3f012d['af']['getPluralForm']=_0x4787e4;})(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':_0x137de7=>0x0==_0x137de7?0x0:0x1==_0x137de7?0x1:0x2==_0x137de7?0x2:_0x137de7%0x64>=0x3&&_0x137de7%0x64<=0xa?0x3:_0x137de7%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x45a915=>{const {ar:{dictionary:_0x407aa6,getPluralForm:_0x258343}}={'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':_0x3474f8=>0x0==_0x3474f8?0x0:0x1==_0x3474f8?0x1:0x2==_0x3474f8?0x2:_0x3474f8%0x64>=0x3&&_0x3474f8%0x64<=0xa?0x3:_0x3474f8%0x64>=0xb?0x4:0x5}};_0x45a915['ar']||={'dictionary':{},'getPluralForm':null},_0x45a915['ar']['dictionary']=Object['assign'](_0x45a915['ar']['dictionary'],_0x407aa6),_0x45a915['ar']['getPluralForm']=_0x258343;})(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':_0x3e1ca3=>0x1!=_0x3e1ca3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x45f534=>{const {ast:{dictionary:_0x5d12d7,getPluralForm:_0x1d2922}}={'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':_0x52da92=>0x1!=_0x52da92}};_0x45f534['ast']||={'dictionary':{},'getPluralForm':null},_0x45f534['ast']['dictionary']=Object['assign'](_0x45f534['ast']['dictionary'],_0x5d12d7),_0x45f534['ast']['getPluralForm']=_0x1d2922;})(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':_0x485955=>0x1!=_0x485955}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x21a3e0=>{const {az:{dictionary:_0x5b8169,getPluralForm:_0x5dad3f}}={'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':_0xc0441=>0x1!=_0xc0441}};_0x21a3e0['az']||={'dictionary':{},'getPluralForm':null},_0x21a3e0['az']['dictionary']=Object['assign'](_0x21a3e0['az']['dictionary'],_0x5b8169),_0x21a3e0['az']['getPluralForm']=_0x5dad3f;})(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':_0x785318=>_0x785318%0xa==0x1&&_0x785318%0x64!=0xb?0x0:_0x785318%0xa>=0x2&&_0x785318%0xa<=0x4&&(_0x785318%0x64<0xa||_0x785318%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x30acef=>{const {be:{dictionary:_0xb8f984,getPluralForm:_0x3bcbb4}}={'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':_0x1ec90c=>_0x1ec90c%0xa==0x1&&_0x1ec90c%0x64!=0xb?0x0:_0x1ec90c%0xa>=0x2&&_0x1ec90c%0xa<=0x4&&(_0x1ec90c%0x64<0xa||_0x1ec90c%0x64>=0x14)?0x1:0x2}};_0x30acef['be']||={'dictionary':{},'getPluralForm':null},_0x30acef['be']['dictionary']=Object['assign'](_0x30acef['be']['dictionary'],_0xb8f984),_0x30acef['be']['getPluralForm']=_0x3bcbb4;})(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':_0x2689b6=>0x1!=_0x2689b6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x139616=>{const {bg:{dictionary:_0x4b6896,getPluralForm:_0x513d53}}={'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':_0x47f06a=>0x1!=_0x47f06a}};_0x139616['bg']||={'dictionary':{},'getPluralForm':null},_0x139616['bg']['dictionary']=Object['assign'](_0x139616['bg']['dictionary'],_0x4b6896),_0x139616['bg']['getPluralForm']=_0x513d53;})(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':_0x241d40=>0x1!=_0x241d40}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x450dfb=>{const {bn:{dictionary:_0xe590c3,getPluralForm:_0x3dc36f}}={'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':_0x2858dd=>0x1!=_0x2858dd}};_0x450dfb['bn']||={'dictionary':{},'getPluralForm':null},_0x450dfb['bn']['dictionary']=Object['assign'](_0x450dfb['bn']['dictionary'],_0xe590c3),_0x450dfb['bn']['getPluralForm']=_0x3dc36f;})(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':_0x57fd12=>_0x57fd12%0xa==0x1&&_0x57fd12%0x64!=0xb?0x0:_0x57fd12%0xa>=0x2&&_0x57fd12%0xa<=0x4&&(_0x57fd12%0x64<0xa||_0x57fd12%0x64>=0x14)?0x1:0x2}};
|