@ckeditor/ckeditor5-uploadcare 44.2.0-alpha.16 → 44.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/build/uploadcare.js +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/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 +3 -0
- package/lang/translations/af.po +12 -0
- package/lang/translations/ar.po +12 -0
- package/lang/translations/ast.po +12 -0
- package/lang/translations/az.po +12 -0
- package/lang/translations/bg.po +12 -0
- package/lang/translations/bn.po +12 -0
- package/lang/translations/bs.po +12 -0
- package/lang/translations/ca.po +12 -0
- package/lang/translations/cs.po +12 -0
- package/lang/translations/da.po +12 -0
- package/lang/translations/de-ch.po +12 -0
- package/lang/translations/de.po +12 -0
- package/lang/translations/el.po +12 -0
- package/lang/translations/en-au.po +12 -0
- package/lang/translations/en-gb.po +12 -0
- package/lang/translations/en.po +12 -0
- package/lang/translations/eo.po +12 -0
- package/lang/translations/es-co.po +12 -0
- package/lang/translations/es.po +12 -0
- package/lang/translations/et.po +12 -0
- package/lang/translations/eu.po +12 -0
- package/lang/translations/fa.po +12 -0
- package/lang/translations/fi.po +12 -0
- package/lang/translations/fr.po +12 -0
- package/lang/translations/gl.po +12 -0
- package/lang/translations/gu.po +12 -0
- package/lang/translations/he.po +12 -0
- package/lang/translations/hi.po +12 -0
- package/lang/translations/hr.po +12 -0
- package/lang/translations/hu.po +12 -0
- package/lang/translations/hy.po +12 -0
- package/lang/translations/id.po +12 -0
- package/lang/translations/it.po +12 -0
- package/lang/translations/ja.po +12 -0
- package/lang/translations/jv.po +12 -0
- package/lang/translations/kk.po +12 -0
- package/lang/translations/km.po +12 -0
- package/lang/translations/kn.po +12 -0
- package/lang/translations/ko.po +12 -0
- package/lang/translations/ku.po +12 -0
- package/lang/translations/lt.po +12 -0
- package/lang/translations/lv.po +12 -0
- package/lang/translations/ms.po +12 -0
- package/lang/translations/nb.po +12 -0
- package/lang/translations/ne.po +12 -0
- package/lang/translations/nl.po +12 -0
- package/lang/translations/no.po +12 -0
- package/lang/translations/oc.po +12 -0
- package/lang/translations/pl.po +12 -0
- package/lang/translations/pt-br.po +12 -0
- package/lang/translations/pt.po +12 -0
- package/lang/translations/ro.po +12 -0
- package/lang/translations/ru.po +12 -0
- package/lang/translations/si.po +12 -0
- package/lang/translations/sk.po +12 -0
- package/lang/translations/sl.po +12 -0
- package/lang/translations/sq.po +12 -0
- package/lang/translations/sr-latn.po +12 -0
- package/lang/translations/sr.po +12 -0
- package/lang/translations/sv.po +12 -0
- package/lang/translations/th.po +12 -0
- package/lang/translations/ti.po +12 -0
- package/lang/translations/tk.po +12 -0
- package/lang/translations/tr.po +12 -0
- package/lang/translations/tt.po +12 -0
- package/lang/translations/ug.po +12 -0
- package/lang/translations/uk.po +12 -0
- package/lang/translations/ur.po +12 -0
- package/lang/translations/uz.po +12 -0
- package/lang/translations/vi.po +12 -0
- package/lang/translations/zh-cn.po +12 -0
- package/lang/translations/zh.po +12 -0
- package/package.json +8 -8
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.d.ts +8 -9
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
- package/theme/icons/instagram.svg +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-uploadcare",
|
|
3
|
-
"version": "44.2.0-alpha.
|
|
3
|
+
"version": "44.2.0-alpha.2",
|
|
4
4
|
"description": "Uploadcare feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"framework"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@ckeditor/ckeditor5-core": "44.2.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-image": "44.2.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-ui": "44.2.0-alpha.
|
|
30
|
-
"@ckeditor/ckeditor5-upload": "44.2.0-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-utils": "44.2.0-alpha.
|
|
32
|
-
"ckeditor5": "44.2.0-alpha.
|
|
26
|
+
"@ckeditor/ckeditor5-core": "44.2.0-alpha.2",
|
|
27
|
+
"@ckeditor/ckeditor5-image": "44.2.0-alpha.2",
|
|
28
|
+
"@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.2",
|
|
29
|
+
"@ckeditor/ckeditor5-ui": "44.2.0-alpha.2",
|
|
30
|
+
"@ckeditor/ckeditor5-upload": "44.2.0-alpha.2",
|
|
31
|
+
"@ckeditor/ckeditor5-utils": "44.2.0-alpha.2",
|
|
32
|
+
"ckeditor5": "44.2.0-alpha.2",
|
|
33
33
|
"@uploadcare/file-uploader": "1.12.0",
|
|
34
34
|
"@uploadcare/upload-client": "6.14.1"
|
|
35
35
|
},
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5c28(){var _0x2d8e80=['664750JpvTNr','16347ZqMCcc','4uNrvMB','64wYjdVu','2602059FpOFEk','1310840XfImqD','1196069maVkpB','979101kPugkI','114bZhfmB','8140332EYovlZ'];_0x5c28=function(){return _0x2d8e80;};return _0x5c28();}(function(_0x199260,_0x5dc89b){var _0xb5516=_0x2577,_0x2ce88a=_0x199260();while(!![]){try{var _0x4622fb=-parseInt(_0xb5516(0xc2))/0x1*(parseInt(_0xb5516(0xc9))/0x2)+parseInt(_0xb5516(0xc5))/0x3*(-parseInt(_0xb5516(0xc3))/0x4)+-parseInt(_0xb5516(0xc6))/0x5+parseInt(_0xb5516(0xc0))/0x6+-parseInt(_0xb5516(0xc7))/0x7*(-parseInt(_0xb5516(0xc4))/0x8)+parseInt(_0xb5516(0xc8))/0x9+-parseInt(_0xb5516(0xc1))/0xa;if(_0x4622fb===_0x5dc89b)break;else _0x2ce88a['push'](_0x2ce88a['shift']());}catch(_0x32cc58){_0x2ce88a['push'](_0x2ce88a['shift']());}}}(_0x5c28,0xac0a0));export{default as Uploadcare}from'./uploadcare.js';export{default as UploadcareEditing}from'./uploadcareediting.js';export{default as UploadcareUI}from'./uploadcareui.js';export{default as UploadcareImageEdit}from'./uploadcareimageedit.js';export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x2577(_0x353064,_0x10ce07){var _0x5c28db=_0x5c28();return _0x2577=function(_0x257709,_0x4ae1c6){_0x257709=_0x257709-0xc0;var _0x3b3afe=_0x5c28db[_0x257709];return _0x3b3afe;},_0x2577(_0x353064,_0x10ce07);}export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';import'./augmentation.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x25844d=_0x9d7e;(function(_0x3dfdc5,_0x52fba8){const _0x2eea74=_0x9d7e,_0x1460db=_0x3dfdc5();while(!![]){try{const _0x398cdd=-parseInt(_0x2eea74(0x127))/0x1*(-parseInt(_0x2eea74(0x118))/0x2)+parseInt(_0x2eea74(0xf1))/0x3*(-parseInt(_0x2eea74(0x105))/0x4)+parseInt(_0x2eea74(0x135))/0x5*(-parseInt(_0x2eea74(0x131))/0x6)+parseInt(_0x2eea74(0x119))/0x7+-parseInt(_0x2eea74(0x133))/0x8*(parseInt(_0x2eea74(0x138))/0x9)+-parseInt(_0x2eea74(0xf5))/0xa+-parseInt(_0x2eea74(0x123))/0xb*(-parseInt(_0x2eea74(0xf4))/0xc);if(_0x398cdd===_0x52fba8)break;else _0x1460db['push'](_0x1460db['shift']());}catch(_0x2137ad){_0x1460db['push'](_0x1460db['shift']());}}}(_0x4ca4,0xe39c7));function _0x9d7e(_0x1ed072,_0x214654){const _0x4ca435=_0x4ca4();return _0x9d7e=function(_0x9d7e32,_0x3b1f38){_0x9d7e32=_0x9d7e32-0xed;let _0x2db2d6=_0x4ca435[_0x9d7e32];return _0x2db2d6;},_0x9d7e(_0x1ed072,_0x214654);}import{icons as _0x386a13}from'ckeditor5/src/core.js';import{ObservableMixin as _0x1039ae}from'ckeditor5/src/utils.js';import{Dialog as _0x59087f,DialogViewPosition as _0x5196c1}from'ckeditor5/src/ui.js';import _0x21df3e from'./uploadcareformview.js';import{UploadcareSource as _0x24b973}from'../uploadcareconfig.js';import{getTranslation as _0x29b464}from'../utils/common-translations.js';import{getImageUrls as _0x3f39e8,getImageDimension as _0x4c59ad}from'../utils/editingutils.js';import{isAncestor as _0x16c950}from'../utils/isancestor.js';function _0x4ca4(){const _0x404015=['hide','get','_api','source-list','40xkkzZM','insertImage','length','selection','linkHref','Insert','getOutputCollectionState','stopDelegating','initFlow','attributes','idle','doneFlow','allEntries','execute','ctxElement','image','imageBlock','width','setCurrentActivity','2TKREWC','3981971nuALYd','configElement','text','change','stopListening','detail','model','removeAllFiles','_editor','getAPI','4292365bIGCiT','_insertImage','isOpen','element','1836511dmGgjW','addEventListener','Replace','EDITOR_TOP_CENTER','_type','_initDialog','removeSelectionAttribute','_initListeners','document','imageUpload','281598PFvnnC','done-click','6472cCPOcB','setAttribute','25fmIWCC','uuid','editing','16398wjkhqz','_dialog','_formView','view','show','74397EsoYtk','_editing','_insertAsset','72WLdpyw','18577060fmcYSh','status','destroy','Local','getSelectedElement','setSelection','imageInline','plugins','getLastPosition','imageInfo','focus','uploadCare'];_0x4ca4=function(){return _0x404015;};return _0x4ca4();}export default class h extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1039ae(){constructor(_0x3c1ae1,_0x392a0b,_0x24b345){const _0x515119=_0x9d7e;super(),this[_0x515119(0x12b)]=null,this[_0x515119(0xee)]=null,this[_0x515119(0x121)]=_0x3c1ae1,this[_0x515119(0xf2)]=_0x392a0b,this[_0x515119(0xed)]=_0x3c1ae1[_0x515119(0xfc)][_0x515119(0x102)](_0x59087f),this[_0x515119(0x103)]=_0x392a0b[_0x515119(0x113)][_0x515119(0x122)](),this[_0x515119(0x12b)]=_0x24b345,this[_0x515119(0xf2)][_0x515119(0x11a)][_0x515119(0x134)](_0x515119(0x104),this[_0x515119(0x12b)]),this[_0x515119(0x12c)](),this[_0x515119(0x12e)](),this[_0x515119(0x103)][_0x515119(0x10d)]();}[_0x25844d(0xf7)](){const _0x31e0f8=_0x25844d;this[_0x31e0f8(0xee)]&&(this[_0x31e0f8(0xee)][_0x31e0f8(0xf7)](),this[_0x31e0f8(0xee)]=null),this[_0x31e0f8(0x103)]&&this[_0x31e0f8(0x103)][_0x31e0f8(0x110)](),this[_0x31e0f8(0x11d)](),this[_0x31e0f8(0x10c)]();}[_0x25844d(0x12c)](){const _0x44639f=_0x25844d,{locale:_0x394c1e,model:_0x227049}=this[_0x44639f(0x121)],_0x1b08ea=_0x227049[_0x44639f(0x12f)][_0x44639f(0x108)][_0x44639f(0xf9)](),_0xc35281=_0x1b08ea&&(_0x1b08ea['is'](_0x44639f(0x126),_0x44639f(0x115))||_0x1b08ea['is'](_0x44639f(0x126),_0x44639f(0xfb)));this[_0x44639f(0xee)]=new _0x21df3e(_0x394c1e),this[_0x44639f(0xed)][_0x44639f(0xf0)]({'id':_0x44639f(0x100),'icon':_0x386a13[_0x44639f(0x130)],'title':_0x29b464(_0x394c1e,this[_0x44639f(0x12b)],_0xc35281?_0x44639f(0x129):_0x44639f(0x10a))[_0x44639f(0x11b)],'content':this[_0x44639f(0xee)],'position':_0x5196c1[_0x44639f(0x12a)],'isModal':!0x0,'onShow':()=>{const _0x4dea92=_0x44639f;this[_0x4dea92(0xee)][_0x4dea92(0xff)]();},'onHide':()=>{const _0x1feb9f=_0x44639f;this[_0x1feb9f(0x103)][_0x1feb9f(0x120)](),this[_0x1feb9f(0x121)][_0x1feb9f(0x137)][_0x1feb9f(0xef)][_0x1feb9f(0xff)](),this[_0x1feb9f(0xf7)]();},'keystrokeHandlerOptions':{'filter':_0x4bfd1a=>!_0x16c950(_0x4bfd1a,this[_0x44639f(0xee)][_0x44639f(0x126)])}});}[_0x25844d(0x12e)](){const _0x1131cf=_0x25844d;this[_0x1131cf(0xf2)][_0x1131cf(0x113)][_0x1131cf(0x128)](_0x1131cf(0x132),()=>{const _0x40dfae=_0x1131cf,{allEntries:_0xc9becd}=this[_0x40dfae(0x103)][_0x40dfae(0x10b)]();this[_0x40dfae(0x121)][_0x40dfae(0x11f)][_0x40dfae(0x11c)](_0xa854cd=>{const _0x197a2c=_0x40dfae,_0x854ec2=_0xc9becd[_0x197a2c(0x107)];for(const _0x171e51 of _0xc9becd){const _0x1c0fe1=_0x171e51===_0xc9becd[_0x854ec2-0x1],{cdnUrl:_0x463f3c,fileInfo:_0x5923ac}=_0x171e51;if(!_0x463f3c||!_0x5923ac)continue;const {width:_0x1b2b77,height:_0x1cf509}=_0x5923ac[_0x197a2c(0xfe)],_0x3b9eb0=_0x4c59ad(_0x463f3c,_0x1b2b77,_0x1cf509),_0x2d6edf=_0x3f39e8(_0x463f3c,_0x3b9eb0[_0x197a2c(0x116)]),_0x31b458={'id':_0x5923ac[_0x197a2c(0x136)],'type':_0x197a2c(0x114),'attributes':{'imageDimension':_0x3b9eb0,..._0x2d6edf}};this[_0x197a2c(0xf3)](_0x31b458,_0x1c0fe1,_0xa854cd);}}),this[_0x40dfae(0xed)][_0x40dfae(0x101)]();}),this[_0x1131cf(0xf2)][_0x1131cf(0x113)][_0x1131cf(0x128)](_0x1131cf(0x11c),_0xc56bb1=>{const _0x4e1fa2=_0x1131cf;_0x4e1fa2(0x10f)===_0xc56bb1[_0x4e1fa2(0x11e)][_0x4e1fa2(0xf6)]&&!_0xc56bb1[_0x4e1fa2(0x11e)][_0x4e1fa2(0x111)][_0x4e1fa2(0x107)]&&this[_0x4e1fa2(0xed)][_0x4e1fa2(0x125)]&&(this[_0x4e1fa2(0x12b)]===_0x24b973[_0x4e1fa2(0xf8)]?this[_0x4e1fa2(0x103)][_0x4e1fa2(0x117)](_0x24b973[_0x4e1fa2(0xf8)]):this[_0x4e1fa2(0x103)][_0x4e1fa2(0x10d)]());});}[_0x25844d(0xf3)](_0xa056df,_0x50f059,_0x552b5a){const _0x32cbcd=_0x25844d,_0x50ba9b=this[_0x32cbcd(0x121)][_0x32cbcd(0x11f)][_0x32cbcd(0x12f)][_0x32cbcd(0x108)],_0x368ff2=_0x50ba9b[_0x32cbcd(0xf9)](),_0x3d8a83=!(!_0x368ff2||!_0x368ff2['is'](_0x32cbcd(0x126),_0x32cbcd(0xfb)));_0x552b5a[_0x32cbcd(0x12d)](_0x32cbcd(0x109)),this[_0x32cbcd(0x124)](_0xa056df,_0x3d8a83),_0x50f059||_0x552b5a[_0x32cbcd(0xfa)](_0x50ba9b[_0x32cbcd(0xfd)]());}[_0x25844d(0x124)](_0x10c167,_0x2253c7){const _0x3d5c40=_0x25844d,_0x10057e=this[_0x3d5c40(0x121)],{imageDimension:_0x37709b,imageFallbackUrl:_0x1c1753,imageSources:_0x16aff9}=_0x10c167[_0x3d5c40(0x10e)];_0x10057e[_0x3d5c40(0x112)](_0x3d5c40(0x106),{'imageType':_0x2253c7?_0x3d5c40(0xfb):null,'source':{'uploadcareImageId':_0x10c167['id'],'src':_0x1c1753,'sources':_0x16aff9,..._0x37709b}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x483bf3=_0x38ea;(function(_0x56c870,_0x46edc5){var _0x233334=_0x38ea,_0x671934=_0x56c870();while(!![]){try{var _0x5ca7c2=parseInt(_0x233334(0x117))/0x1+-parseInt(_0x233334(0x122))/0x2*(parseInt(_0x233334(0x11e))/0x3)+-parseInt(_0x233334(0x119))/0x4+-parseInt(_0x233334(0x11f))/0x5+-parseInt(_0x233334(0x121))/0x6+-parseInt(_0x233334(0x11a))/0x7+parseInt(_0x233334(0x118))/0x8;if(_0x5ca7c2===_0x46edc5)break;else _0x671934['push'](_0x671934['shift']());}catch(_0x4c466d){_0x671934['push'](_0x671934['shift']());}}}(_0x375b,0xc3b69));import _0x2edea7 from'../utils/dialogfocusmanagerview.js';function _0x38ea(_0x30139e,_0x55acff){var _0x375b19=_0x375b();return _0x38ea=function(_0x38eac5,_0x1c5e0c){_0x38eac5=_0x38eac5-0x113;var _0x3781f1=_0x375b19[_0x38eac5];return _0x3781f1;},_0x38ea(_0x30139e,_0x55acff);}import'../../theme/uploadcare-form.css';function _0x375b(){var _0x4ee4fd=['8538846BifnEO','29514SrgOZA','ck-reset_all-excluded','ck-uploadcare-theme','uc-light','element','getFocusableElement','uploader','setTemplate','920565QBhYhI','37812232zcQJlS','5927232MPTNqU','8000139WGPMJp','focus','div','uc-file-uploader-inline','12iiowIH','3692995QdVoKO','ck-uploadcare-form'];_0x375b=function(){return _0x4ee4fd;};return _0x375b();}export default class S extends _0x2edea7{constructor(_0x2f21d8){var _0x570f6d=_0x38ea;super(_0x2f21d8),this[_0x570f6d(0x116)]({'tag':_0x570f6d(0x11c),'attributes':{'class':['ck',_0x570f6d(0x123),_0x570f6d(0x120)],'tabindex':'-1'},'children':[{'tag':_0x570f6d(0x11d),'attributes':{'class':[_0x570f6d(0x125),_0x570f6d(0x124)],'ctx-name':_0x570f6d(0x115)}},this[_0x570f6d(0x114)]()]});}[_0x483bf3(0x11b)](){var _0x576ec5=_0x483bf3;this[_0x576ec5(0x113)][_0x576ec5(0x11b)]();}}
|
package/src/uploadcare.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4a2203=_0x4f88;(function(_0xf0cd81,_0x5cea1a){var _0xce218c=_0x4f88,_0xeaf57a=_0xf0cd81();while(!![]){try{var _0x22b502=-parseInt(_0xce218c(0x18b))/0x1*(-parseInt(_0xce218c(0x189))/0x2)+-parseInt(_0xce218c(0x19c))/0x3+-parseInt(_0xce218c(0x193))/0x4*(-parseInt(_0xce218c(0x18c))/0x5)+-parseInt(_0xce218c(0x194))/0x6+-parseInt(_0xce218c(0x19a))/0x7*(-parseInt(_0xce218c(0x18f))/0x8)+parseInt(_0xce218c(0x190))/0x9+-parseInt(_0xce218c(0x18e))/0xa;if(_0x22b502===_0x5cea1a)break;else _0xeaf57a['push'](_0xeaf57a['shift']());}catch(_0x269a78){_0xeaf57a['push'](_0xeaf57a['shift']());}}}(_0x5311,0xe5947));function _0x5311(){var _0x2da934=['Local','uploadcare.uploader.sourceList','4707458rlOsPl','isOfficialPlugin','2678448MPCokz','pluginName','725188EREbvS','define','2ypZWVv','193190yPLtkZ','Uploadcare','1421140prAQpo','16fOyyYA','11819538vABCJm','config','defineComponents','8liZMfs','8912670FINHfr','isPremiumPlugin','requires','URL'];_0x5311=function(){return _0x2da934;};return _0x5311();}import{Plugin as _0x4fea04}from'ckeditor5/src/core.js';import _0x4cf2b8 from'./uploadcareui.js';import _0x3e9e6d from'./uploadcareediting.js';import{UploadcareSource as _0x179bca}from'./uploadcareconfig.js';function _0x4f88(_0x64f4cb,_0x114d54){var _0x531172=_0x5311();return _0x4f88=function(_0x4f88fc,_0x4a9073){_0x4f88fc=_0x4f88fc-0x188;var _0x597576=_0x531172[_0x4f88fc];return _0x597576;},_0x4f88(_0x64f4cb,_0x114d54);}import*as _0x1317ba from'@uploadcare/file-uploader';export default class u extends _0x4fea04{static get[_0x4a2203(0x196)](){return[_0x3e9e6d,_0x4cf2b8];}static get[_0x4a2203(0x188)](){var _0x5b7ebc=_0x4a2203;return _0x5b7ebc(0x18d);}static get[_0x4a2203(0x19b)](){return!0x0;}static get[_0x4a2203(0x195)](){return!0x0;}constructor(_0x591341){var _0x175cc2=_0x4a2203;super(_0x591341),_0x591341[_0x175cc2(0x191)][_0x175cc2(0x18a)](_0x175cc2(0x199),[_0x179bca[_0x175cc2(0x198)],_0x179bca[_0x175cc2(0x197)]]),_0x1317ba[_0x175cc2(0x192)](_0x1317ba);}}
|
package/src/uploadcarecommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x25ba1d=_0x2788;function _0x2788(_0x480082,_0x1444bb){var _0x36c78d=_0x36c7();return _0x2788=function(_0x2788ed,_0x58fbd6){_0x2788ed=_0x2788ed-0x75;var _0x4c7f6e=_0x36c78d[_0x2788ed];return _0x4c7f6e;},_0x2788(_0x480082,_0x1444bb);}(function(_0x57a5d8,_0x227c8b){var _0x3100e7=_0x2788,_0x212318=_0x57a5d8();while(!![]){try{var _0x4e4da0=parseInt(_0x3100e7(0x8b))/0x1*(parseInt(_0x3100e7(0x82))/0x2)+parseInt(_0x3100e7(0x7c))/0x3*(-parseInt(_0x3100e7(0x89))/0x4)+-parseInt(_0x3100e7(0x88))/0x5+parseInt(_0x3100e7(0x87))/0x6*(-parseInt(_0x3100e7(0x85))/0x7)+parseInt(_0x3100e7(0x83))/0x8+parseInt(_0x3100e7(0x8d))/0x9*(parseInt(_0x3100e7(0x79))/0xa)+parseInt(_0x3100e7(0x81))/0xb*(parseInt(_0x3100e7(0x76))/0xc);if(_0x4e4da0===_0x227c8b)break;else _0x212318['push'](_0x212318['shift']());}catch(_0x2190a2){_0x212318['push'](_0x212318['shift']());}}}(_0x36c7,0x2ee7c));import{Command as _0xa0c269}from'ckeditor5/src/core.js';function _0x36c7(){var _0x38be59=['120232liPicg','destroy','36232pZltoG','plugins','276WXNrVC','1344165ZozsAb','269924FEZiyH','requires','1ljBZNj','_controller','36fLPZIB','get','384276ZKcBBs','refresh','commands','789730yqGiAj','isEnabled','insertImage','3kYiPYe','_checkEnabled','execute','editor','_editing','66dFHgvk','486950ZDjmED'];_0x36c7=function(){return _0x38be59;};return _0x36c7();}import{Dialog as _0x5c9d0b}from'ckeditor5/src/ui.js';import _0x1d3a17 from'./uploadcareediting.js';import _0x37a770 from'./ui/uploadcarecontroller.js';export default class l extends _0xa0c269{static get[_0x25ba1d(0x8a)](){return[_0x5c9d0b,_0x1d3a17];}constructor(_0x16d037){var _0x2c85c4=_0x25ba1d;super(_0x16d037),this[_0x2c85c4(0x8c)]=null,this[_0x2c85c4(0x80)]=_0x16d037[_0x2c85c4(0x86)][_0x2c85c4(0x75)](_0x1d3a17);}[_0x25ba1d(0x77)](){var _0x925903=_0x25ba1d;this[_0x925903(0x7a)]=this[_0x925903(0x7d)]();}[_0x25ba1d(0x7e)](_0x3d9f42){var _0x4d0f2b=_0x25ba1d;this[_0x4d0f2b(0x8c)]&&(this[_0x4d0f2b(0x8c)][_0x4d0f2b(0x84)](),this[_0x4d0f2b(0x8c)]=null),this[_0x4d0f2b(0x8c)]=new _0x37a770(this[_0x4d0f2b(0x7f)],this[_0x4d0f2b(0x80)],_0x3d9f42);}[_0x25ba1d(0x7d)](){var _0x4322ca=_0x25ba1d;return this[_0x4322ca(0x7f)][_0x4322ca(0x78)][_0x4322ca(0x75)](_0x4322ca(0x7b))[_0x4322ca(0x7a)];}}
|
|
@@ -35,6 +35,7 @@ import type { ConfigType } from '@uploadcare/file-uploader';
|
|
|
35
35
|
* sourceList: [
|
|
36
36
|
* 'local',
|
|
37
37
|
* 'url',
|
|
38
|
+
* 'instagram',
|
|
38
39
|
* 'gdrive'
|
|
39
40
|
* ],
|
|
40
41
|
* },
|
|
@@ -47,7 +48,7 @@ import type { ConfigType } from '@uploadcare/file-uploader';
|
|
|
47
48
|
*
|
|
48
49
|
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
49
50
|
*/
|
|
50
|
-
export interface UploadcareConfig {
|
|
51
|
+
export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
|
|
51
52
|
/**
|
|
52
53
|
* The public key used for communication with the Uploadcare services.
|
|
53
54
|
*
|
|
@@ -66,6 +67,7 @@ export interface UploadcareConfig {
|
|
|
66
67
|
* * 'gdrive'
|
|
67
68
|
* * 'facebook'
|
|
68
69
|
* * 'gphotos'
|
|
70
|
+
* * 'instagram'
|
|
69
71
|
* * 'onedrive'
|
|
70
72
|
*
|
|
71
73
|
* Additionally, below options are not supported:
|
|
@@ -79,7 +81,7 @@ export interface UploadcareConfig {
|
|
|
79
81
|
*
|
|
80
82
|
* All other options documented in the Uploadcare documentation are supported.
|
|
81
83
|
*/
|
|
82
|
-
uploader
|
|
84
|
+
uploader: UploadcareUploaderConfig;
|
|
83
85
|
/**
|
|
84
86
|
* Configuration for the Image Editor component. The component allows editing existing images in the CKEditor.
|
|
85
87
|
*
|
|
@@ -89,7 +91,7 @@ export interface UploadcareConfig {
|
|
|
89
91
|
* Please note that the `cdn-url` and `uuid` attributes are automatically handled by the Uploadcare plugin and
|
|
90
92
|
* are not supported in the config options.
|
|
91
93
|
*/
|
|
92
|
-
editor
|
|
94
|
+
editor: UploadcareEditorConfig;
|
|
93
95
|
/**
|
|
94
96
|
* Allows editing images that are not hosted in Uploadcare service.
|
|
95
97
|
*
|
|
@@ -114,13 +116,13 @@ export interface UploadcareConfig {
|
|
|
114
116
|
*
|
|
115
117
|
* You can find detailed information in the [Uploadcare documentation](https://uploadcare.com/docs/file-uploader/options/).
|
|
116
118
|
*/
|
|
117
|
-
export interface UploadcareUploaderConfig extends
|
|
119
|
+
export interface UploadcareUploaderConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
|
|
118
120
|
/**
|
|
119
121
|
* Comma-separated list of file sources.
|
|
120
122
|
*
|
|
121
123
|
* @default [ 'local', 'url' ]
|
|
122
124
|
*/
|
|
123
|
-
sourceList?: Array<
|
|
125
|
+
sourceList?: Array<UploadcareSource>;
|
|
124
126
|
}
|
|
125
127
|
/**
|
|
126
128
|
* Configuration for the Uploadcare Image Editor component.
|
|
@@ -146,12 +148,9 @@ export declare enum UploadcareSource {
|
|
|
146
148
|
GDrive = "gdrive",
|
|
147
149
|
Facebook = "facebook",
|
|
148
150
|
GPhotos = "gphotos",
|
|
151
|
+
Instagram = "instagram",
|
|
149
152
|
OneDrive = "onedrive"
|
|
150
153
|
}
|
|
151
|
-
/**
|
|
152
|
-
* Values for all available upload sources.
|
|
153
|
-
*/
|
|
154
|
-
export type UploadcareSourceValue = `${UploadcareSource}`;
|
|
155
154
|
/**
|
|
156
155
|
* Image asset definition.
|
|
157
156
|
*
|
package/src/uploadcareconfig.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0xea61af,_0x3fe486){var _0x245309=_0x3fef,_0xa2d99d=_0xea61af();while(!![]){try{var _0x18261d=parseInt(_0x245309(0x76))/0x1*(-parseInt(_0x245309(0x6e))/0x2)+parseInt(_0x245309(0x7a))/0x3*(-parseInt(_0x245309(0x70))/0x4)+-parseInt(_0x245309(0x74))/0x5*(parseInt(_0x245309(0x78))/0x6)+-parseInt(_0x245309(0x84))/0x7*(-parseInt(_0x245309(0x86))/0x8)+-parseInt(_0x245309(0x6d))/0x9+parseInt(_0x245309(0x82))/0xa*(-parseInt(_0x245309(0x7b))/0xb)+parseInt(_0x245309(0x75))/0xc;if(_0x18261d===_0x3fe486)break;else _0xa2d99d['push'](_0xa2d99d['shift']());}catch(_0x5a1905){_0xa2d99d['push'](_0xa2d99d['shift']());}}}(_0x1386,0x322d2));function _0x3fef(_0x497cea,_0x3f1db8){var _0x138605=_0x1386();return _0x3fef=function(_0x3fef21,_0x88d60c){_0x3fef21=_0x3fef21-0x6c;var _0x36ffe3=_0x138605[_0x3fef21];return _0x36ffe3;},_0x3fef(_0x497cea,_0x3f1db8);}export var UploadcareSource;!function(_0x1f956b){var _0x58a5ec=_0x3fef;_0x1f956b[_0x58a5ec(0x7f)]=_0x58a5ec(0x7d),_0x1f956b[_0x58a5ec(0x85)]=_0x58a5ec(0x71),_0x1f956b[_0x58a5ec(0x81)]=_0x58a5ec(0x73),_0x1f956b[_0x58a5ec(0x83)]=_0x58a5ec(0x7c),_0x1f956b[_0x58a5ec(0x80)]=_0x58a5ec(0x72),_0x1f956b[_0x58a5ec(0x7e)]=_0x58a5ec(0x79),_0x1f956b[_0x58a5ec(0x87)]=_0x58a5ec(0x6c),_0x1f956b[_0x58a5ec(0x6f)]=_0x58a5ec(0x77);}(UploadcareSource||(UploadcareSource={}));function _0x1386(){var _0xc14670=['gphotos','1509jxAYqh','44aqdsrf','gdrive','local','GPhotos','Local','Facebook','Dropbox','86980zCYqAS','GDrive','1135743UJPjrn','URL','8IWpupC','Instagram','instagram','349443QJDfJH','2roMPII','OneDrive','1292swezzN','url','facebook','dropbox','1403515vHbNTw','10120884tVjyHJ','283343ACUWQl','onedrive','6nrFZPF'];_0x1386=function(){return _0xc14670;};return _0x1386();}
|
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x15ae9b=_0x563a;(function(_0x26a8cc,_0x3dc0b8){const _0x17646d=_0x563a,_0x207cd4=_0x26a8cc();while(!![]){try{const _0x6a2a61=parseInt(_0x17646d(0x1cf))/0x1*(-parseInt(_0x17646d(0x1fa))/0x2)+parseInt(_0x17646d(0x1d3))/0x3*(parseInt(_0x17646d(0x1de))/0x4)+parseInt(_0x17646d(0x1f8))/0x5+-parseInt(_0x17646d(0x1fd))/0x6*(-parseInt(_0x17646d(0x1f9))/0x7)+-parseInt(_0x17646d(0x1ea))/0x8*(parseInt(_0x17646d(0x1ce))/0x9)+-parseInt(_0x17646d(0x1e5))/0xa*(-parseInt(_0x17646d(0x1c4))/0xb)+-parseInt(_0x17646d(0x1dd))/0xc;if(_0x6a2a61===_0x3dc0b8)break;else _0x207cd4['push'](_0x207cd4['shift']());}catch(_0x2e00cc){_0x207cd4['push'](_0x207cd4['shift']());}}}(_0x5893,0x7da2f));function _0x563a(_0x5ad413,_0x339afe){const _0x5893da=_0x5893();return _0x563a=function(_0x563a86,_0x3f3c84){_0x563a86=_0x563a86-0x1b6;let _0x321c0a=_0x5893da[_0x563a86];return _0x321c0a;},_0x563a(_0x5ad413,_0x339afe);}function _0x5893(){const _0x2fb138=['3124212LXIKwm','77972IrkXEk','contentLanguage','remove','listenTo','commands','requires','_initConfig','1077770xAsIVC','upcast','replaceImageSource','\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','removeAttribute','8bsIOqs','PictureEditing','uc-upload-ctx-provider','uploadcare.uploader','_initImageProcessingIndicator','document','map','editor','downcast','_initCtx','isRegistered','imageBlock','destroy','uploadcareImageReplace','2703065HaXEeR','77pAoezg','18438itHLtf','render','UploadcareEditing','19410XCYIIG','getAttribute','iconHrefResolver','isOfficialPlugin','cleanupImage','data-uc-image-id','elementToAttribute','conversion','uploadcare','uploadcareImageId','imageInline','editing','locale','input[uploadcare-file-input]','attributeToAttribute','_ctxElement','getSelectedElement','closeMax','uc-config','init','href','isPremiumPlugin','add','_configElement','uploader','for','uploadcare.pubkey','schema','#uc-icon-arrow-down','33ZQnMwV','afterInit','fromCharCode','join','_initConversion','execute','once','extend','configElement','_initSchema','5424093EYAWrp','1RLjwDB','ctxElement','model','view','75ESCOmW','get','config','appendChild','selection','querySelector','pluginName','true','body','insertImage'];_0x5893=function(){return _0x2fb138;};return _0x5893();}import{Plugin as _0x30b717}from'ckeditor5/src/core.js';import{Dialog as _0x172430}from'ckeditor5/src/ui.js';import{createElement as _0x22f86c,global as _0xab8f92,uid as _0x4bed9a}from'ckeditor5/src/utils.js';import _0x564c85 from'./uploadcarecommand.js';import _0x4b3689 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x56d6e6}from'./utils/editingutils.js';export default class i extends _0x30b717{constructor(){const _0x2b65ff=_0x563a;super(...arguments),this[_0x2b65ff(0x1be)]=null,this[_0x2b65ff(0x1b6)]=null;}static get[_0x15ae9b(0x1d9)](){const _0x2012a8=_0x15ae9b;return _0x2012a8(0x1fc);}static get[_0x15ae9b(0x1e3)](){const _0x373da5=_0x15ae9b;return[_0x373da5(0x1eb),_0x4b3689,_0x172430];}static get[_0x15ae9b(0x200)](){return!0x0;}static get[_0x15ae9b(0x1bc)](){return!0x0;}get[_0x15ae9b(0x1cc)](){const _0x4308ee=_0x15ae9b;return this[_0x4308ee(0x1be)];}get[_0x15ae9b(0x1d0)](){const _0x51216d=_0x15ae9b;return this[_0x51216d(0x1b6)];}[_0x15ae9b(0x1ba)](){const _0x450adf=_0x15ae9b,_0x29ea52=this[_0x450adf(0x1f1)];_0x29ea52[_0x450adf(0x1e2)][_0x450adf(0x1bd)](_0x450adf(0x205),new _0x564c85(_0x29ea52));}[_0x15ae9b(0x1c5)](){const _0x46da1d=_0x15ae9b;this[_0x46da1d(0x1cd)](),this[_0x46da1d(0x1c8)](),this[_0x46da1d(0x1e4)](),this[_0x46da1d(0x1f3)](),this[_0x46da1d(0x1ee)](),this[_0x46da1d(0x1e1)](this[_0x46da1d(0x1f1)],_0x46da1d(0x1f6),()=>{const _0x368a72=_0x46da1d;this[_0x368a72(0x1be)]&&(this[_0x368a72(0x1be)][_0x368a72(0x1e0)](),this[_0x368a72(0x1be)]=null),this[_0x368a72(0x1b6)]&&(this[_0x368a72(0x1b6)][_0x368a72(0x1e0)](),this[_0x368a72(0x1b6)]=null);const _0x84e44=_0xab8f92[_0x368a72(0x1ef)][_0x368a72(0x1d8)](_0x368a72(0x20a));_0x84e44&&_0x84e44[_0x368a72(0x1e0)]();}),async function(_0xeb0ebc){const _0x46d0a0=_0x1cb041([0x39,0x48,0x62,0x69,0x36,0x47,0x6e,0x56,0x31,0x41,0x4b,0x4f,0x51,0x75,0x70,0x33,0x64,0x50,0x76,0x77,0x68,0x32,0x6a,0x43,0x35,0x61,0x67,0x54,0x5a,0x73,0x65,0x45,0x72,0x6b,0x44,0x7a,0x6f,0x4d,0x38,0x57,0x37,0x30,0x4e,0x78,0x4a,0x55,0x59,0x6c,0x74,0x42,0x79,0x63,0x58,0x6d,0x34,0x66,0x46,0x53,0x71,0x4c,0x49,0x52]),_0x280d66=0x728798b7,_0x4f6a1b=0x7280c7ff^_0x280d66,_0x3c8300=window[_0x1cb041([0x44,0x61,0x74,0x65])][_0x1cb041([0x6e,0x6f,0x77])](),_0x235f5d=_0xeb0ebc[_0x1cb041([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f5a53=new window[(_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40c7d1=>{_0x235f5d[_0x1cb041([0x6f,0x6e,0x63,0x65])](_0x1cb041([0x72,0x65,0x61,0x64,0x79]),_0x40c7d1);}),_0x5c2938={[_0x1cb041([0x6b,0x74,0x79])]:_0x1cb041([0x45,0x43]),[_0x1cb041([0x75,0x73,0x65])]:_0x1cb041([0x73,0x69,0x67]),[_0x1cb041([0x63,0x72,0x76])]:_0x1cb041([0x50,0x2d,0x32,0x35,0x36]),[_0x1cb041([0x78])]:_0x1cb041([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]),[_0x1cb041([0x79])]:_0x1cb041([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]),[_0x1cb041([0x61,0x6c,0x67])]:_0x1cb041([0x45,0x53,0x32,0x35,0x36])},_0x3ea09a=_0x235f5d[_0x1cb041([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1cb041([0x67,0x65,0x74])](_0x1cb041([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x583543(){let _0x3df960,_0x59b3c2=null,_0x1e9a8e=null;try{if(_0x3ea09a==_0x1cb041([0x47,0x50,0x4c]))return _0x1cb041([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3df960=_0x27c941(),!_0x3df960)return _0x1cb041([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3df960[_0x1cb041([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e9a8e=_0x2da505(_0x3df960[_0x1cb041([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3df960[_0x1cb041([0x6a,0x74,0x69])])),await _0x5b36b8()?_0x149ba0()?_0x32786e()?_0x1cb041([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x27bfbd()?(_0x3df960[_0x1cb041([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cb041([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59b3c2=_0x5886f0(_0x1cb041([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3df960[_0x1cb041([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cb041([0x74,0x72,0x69,0x61,0x6c])&&(_0x59b3c2=_0x5886f0(_0x1cb041([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4848f9()):_0x1cb041([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1cb041([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1cb041([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x35f8b1){return _0x1cb041([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32786e(){const _0x55a459=[_0x1cb041([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1cb041([0x74,0x72,0x69,0x61,0x6c])][_0x1cb041([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3df960[_0x1cb041([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c8300/0x3e8:0xe10*_0x4f6a1b;return _0x3df960[_0x1cb041([0x65,0x78,0x70])]<_0x55a459;}function _0x149ba0(){const _0x5bad8a=_0x3df960[_0x1cb041([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5bad8a&&(!!_0x5bad8a[_0x1cb041([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cb041([0x2a]))||!!_0x5bad8a[_0x1cb041([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cb041([0x55,0x50,0x4c,0x43])));}function _0x27bfbd(){const _0x3414f0=_0x563a,_0x2fe1fd=_0x3df960[_0x1cb041([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2fe1fd||0x0==_0x2fe1fd[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3eae36}=new URL(window[_0x1cb041([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3414f0(0x1bb)]);if(_0x2fe1fd[_0x1cb041([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3eae36))return!0x0;const _0x3b2e4f=_0x3eae36[_0x1cb041([0x73,0x70,0x6c,0x69,0x74])](_0x1cb041([0x2e]));return _0x2fe1fd[_0x1cb041([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x204aa5=>_0x204aa5[_0x1cb041([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cb041([0x2a])))[_0x1cb041([0x6d,0x61,0x70])](_0xcdfacd=>_0xcdfacd[_0x1cb041([0x73,0x70,0x6c,0x69,0x74])](_0x1cb041([0x2e])))[_0x1cb041([0x73,0x6f,0x6d,0x65])](_0x5b2d7d=>_0x3b2e4f[_0x1cb041([0x65,0x76,0x65,0x72,0x79])]((_0x5a3ab7,_0x1a856e)=>_0x5b2d7d[_0x1a856e]===_0x5a3ab7||_0x5b2d7d[_0x1a856e]===_0x1cb041([0x2a])));}function _0x4848f9(){return _0x59b3c2&&_0x1e9a8e?new window[(_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a79ea,_0x48703c)=>{_0x59b3c2[_0x1cb041([0x74,0x68,0x65,0x6e])](_0x2a79ea,_0x48703c),_0x1e9a8e[_0x1cb041([0x74,0x68,0x65,0x6e])](_0x59204d=>{_0x59204d!=_0x1cb041([0x56,0x61,0x6c,0x69,0x64])&&_0x2a79ea(_0x59204d);},_0x48703c);}):_0x59b3c2||_0x1e9a8e||_0x1cb041([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2da505(_0x4e5b7c,_0xe03c89){return new window[(_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc42547=>{if(_0x4f8f24())return _0xc42547(_0x1cb041([0x56,0x61,0x6c,0x69,0x64]));_0x644d65(),_0x235f5d[_0x1cb041([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1cb041([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54f760=!0x1;const _0xec23b6=_0x4bed9a();function _0x2b94e5(_0x303ac0){return!!_0x303ac0&&(typeof _0x303ac0===_0x1cb041([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x303ac0===_0x1cb041([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x303ac0[_0x1cb041([0x74,0x68,0x65,0x6e])]===_0x1cb041([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x303ac0[_0x1cb041([0x63,0x61,0x74,0x63,0x68])]===_0x1cb041([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x368feb(_0x535d51){_0x2cb5f0(_0x535d51)[_0x1cb041([0x74,0x68,0x65,0x6e])](_0x41a7e7=>{if(!_0x41a7e7||_0x41a7e7[_0x1cb041([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1cb041([0x6f,0x6b]))return _0x1cb041([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x586ee1(_0x2047ac(_0xec23b6+_0xe03c89))!=_0x41a7e7[_0x1cb041([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1cb041([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1cb041([0x56,0x61,0x6c,0x69,0x64]);})[_0x1cb041([0x74,0x68,0x65,0x6e])](_0x1d2841=>(_0x59148f(),_0x1d2841),()=>{const _0x31f495=_0x540d6b();return null==_0x31f495?(_0x59148f(),_0x1cb041([0x56,0x61,0x6c,0x69,0x64])):_0x1cb041(_0x3c8300-_0x31f495>(0x568b1cb7^_0x280d66)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1cb041([0x74,0x68,0x65,0x6e])](_0xc42547)[_0x1cb041([0x63,0x61,0x74,0x63,0x68])](()=>{_0xc42547(_0x1cb041([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3fe1c5=0x72b17637^_0x280d66;function _0x59148f(){const _0x75bb1a=_0x1cb041([0x6c,0x6c,0x63,0x74,0x2d])+_0x586ee1(_0x2047ac(_0x4e5b7c)),_0x456525=_0x4207aa(_0x586ee1(window[_0x1cb041([0x4d,0x61,0x74,0x68])][_0x1cb041([0x63,0x65,0x69,0x6c])](_0x3c8300/_0x3fe1c5)));window[_0x1cb041([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cb041([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x75bb1a,_0x456525);}function _0x540d6b(){const _0x2f7aea=_0x1cb041([0x6c,0x6c,0x63,0x74,0x2d])+_0x586ee1(_0x2047ac(_0x4e5b7c)),_0x37ccc9=window[_0x1cb041([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cb041([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f7aea);return _0x37ccc9?window[_0x1cb041([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4207aa(_0x37ccc9),0x10)*_0x3fe1c5:null;}function _0x2cb5f0(_0x500343){return new window[(_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x283777,_0x2abf14)=>{_0x500343[_0x1cb041([0x74,0x68,0x65,0x6e])](_0x283777,_0x2abf14),window[_0x1cb041([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2abf14,0x72864c77^_0x280d66);});}}_0x235f5d[_0x1cb041([0x6f,0x6e])](_0x1cb041([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d5ab3,_0x317cc0)=>{if(_0x317cc0[0x0]!=_0x4e5b7c)return _0xc42547(_0x1cb041([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x317cc0[0x1]={..._0x317cc0[0x1],[_0x1cb041([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xec23b6};},{[_0x1cb041([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cb041([0x68,0x69,0x67,0x68])}),_0x235f5d[_0x1cb041([0x6f,0x6e])](_0x1cb041([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b5f87=>{_0x2b94e5(_0x1b5f87[_0x1cb041([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54f760=!0x0,_0x368feb(_0x1b5f87[_0x1cb041([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1cb041([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cb041([0x6c,0x6f,0x77])}),_0x2f5a53[_0x1cb041([0x74,0x68,0x65,0x6e])](()=>{_0x54f760||_0xc42547(_0x1cb041([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f8f24(){return _0x235f5d[_0x1cb041([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cb041([0x76,0x69,0x65,0x77])][_0x1cb041([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1cb041([0x61,0x75,0x74,0x6f]);}function _0x644d65(){_0x235f5d[_0x1cb041([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cb041([0x76,0x69,0x65,0x77])][_0x1cb041([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1cb041([0x61,0x75,0x74,0x6f]);}}function _0x5886f0(_0x3d000){const _0x39ebbb=[new window[(_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x768ddc=>setTimeout(_0x768ddc,0x728ea67b^_0x280d66)),_0x2f5a53[_0x1cb041([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15239e=>{let _0x10ac78=0x0;_0x235f5d[_0x1cb041([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cb041([0x6f,0x6e])](_0x1cb041([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3cc2bc,_0x41bf6a)=>{_0x41bf6a[0x0][_0x1cb041([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10ac78++,_0x10ac78==(0x7287994f^_0x280d66)&&(_0x15239e(),_0x3cc2bc[_0x1cb041([0x6f,0x66,0x66])]());});}))];return window[_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1cb041([0x72,0x61,0x63,0x65])](_0x39ebbb)[_0x1cb041([0x74,0x68,0x65,0x6e])](()=>_0x3d000);}async function _0x2d670a(){await _0x2f5a53,_0x235f5d[_0x1cb041([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cb041([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xdad34b,_0x235f5d[_0x1cb041([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cb041([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xdad34b,_0x235f5d[_0x1cb041([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1cb041([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2cc404(_0x140110){const _0x216c13=_0x3d0f3f();_0x235f5d[_0x216c13]=_0x1cb041([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x140110,_0x140110!=_0x1cb041([0x56,0x61,0x6c,0x69,0x64])&&_0x2d670a();}function _0x3d0f3f(){const _0x37604d=window[_0x1cb041([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1cb041([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1cb041([0x6e,0x6f,0x77])]())[_0x1cb041([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1cb041([0x2e]),'');let _0x51e39e=_0x1cb041([0x48]);for(let _0x4c782b=0x0;_0x4c782b<_0x37604d[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c782b+=0x2){let _0x3a529d=window[_0x1cb041([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37604d[_0x1cb041([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c782b,_0x4c782b+0x2));_0x3a529d>=_0x46d0a0[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a529d-=_0x46d0a0[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51e39e+=_0x46d0a0[_0x3a529d];}return _0x51e39e;}function _0x27c941(){const _0x2194b0=_0x3ea09a[_0x1cb041([0x73,0x70,0x6c,0x69,0x74])](_0x1cb041([0x2e]));if(0x3!=_0x2194b0[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x387571(_0x2194b0[0x1]);function _0x387571(_0x5bc141){const _0xc52d00=_0x6eef5a(_0x5bc141);return _0xc52d00&&_0x9b5a8c()?_0xc52d00:null;function _0x9b5a8c(){const _0x25aa75=_0xc52d00[_0x1cb041([0x6a,0x74,0x69])],_0x29e2b5=window[_0x1cb041([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25aa75[_0x1cb041([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25aa75[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40c938={..._0xc52d00,[_0x1cb041([0x6a,0x74,0x69])]:_0x25aa75[_0x1cb041([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x25aa75[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40c938[_0x1cb041([0x76,0x63])],_0x2047ac(_0x40c938)==_0x29e2b5;}}}async function _0x5b36b8(){let _0x3ce6bb=!0x0;try{const _0x1da194=_0x3ea09a[_0x1cb041([0x73,0x70,0x6c,0x69,0x74])](_0x1cb041([0x2e])),[_0x432e58,_0x34b908,_0x38f85a]=_0x1da194;return _0x5444b0(_0x432e58),await _0x1d9ef5(_0x432e58,_0x34b908,_0x38f85a),_0x3ce6bb;}catch(_0x70d151){return!0x1;}function _0x5444b0(_0x341509){const _0x483b41=_0x6eef5a(_0x341509);_0x483b41&&_0x483b41[_0x1cb041([0x61,0x6c,0x67])]==_0x1cb041([0x45,0x53,0x32,0x35,0x36])||(_0x3ce6bb=!0x1);}async function _0x1d9ef5(_0x11fde6,_0x9f045d,_0x58253d){const _0x18ac81=window[_0x1cb041([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1cb041([0x66,0x72,0x6f,0x6d])](_0x3881af(_0x58253d),_0x4f996b=>_0x4f996b[_0x1cb041([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3011b8=new window[(_0x1cb041([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1cb041([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11fde6+_0x1cb041([0x2e])+_0x9f045d),_0x355e13=window[_0x1cb041([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1cb041([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x355e13)return;const _0x2fcbed=await _0x355e13[_0x1cb041([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1cb041([0x6a,0x77,0x6b]),_0x5c2938,{[_0x1cb041([0x6e,0x61,0x6d,0x65])]:_0x1cb041([0x45,0x43,0x44,0x53,0x41]),[_0x1cb041([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1cb041([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1cb041([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x355e13[_0x1cb041([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1cb041([0x6e,0x61,0x6d,0x65])]:_0x1cb041([0x45,0x43,0x44,0x53,0x41]),[_0x1cb041([0x68,0x61,0x73,0x68])]:{[_0x1cb041([0x6e,0x61,0x6d,0x65])]:_0x1cb041([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2fcbed,_0x18ac81,_0x3011b8)||(_0x3ce6bb=!0x1);}}function _0x6eef5a(_0x21f382){return _0x21f382[_0x1cb041([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1cb041([0x65,0x79]))?JSON[_0x1cb041([0x70,0x61,0x72,0x73,0x65])](_0x3881af(_0x21f382)):null;}function _0x3881af(_0x570afe){return window[_0x1cb041([0x61,0x74,0x6f,0x62])](_0x570afe[_0x1cb041([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1cb041([0x2b]))[_0x1cb041([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1cb041([0x2f])));}function _0x2047ac(_0x5495e1){let _0x337a08=0x1505;function _0x9c577c(_0xbbbed6){for(let _0xb37dc5=0x0;_0xb37dc5<_0xbbbed6[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb37dc5++){const _0x3e057c=_0xbbbed6[_0x1cb041([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xb37dc5);_0x337a08=(_0x337a08<<0x5)+_0x337a08+_0x3e057c,_0x337a08&=_0x337a08;}}function _0x13de96(_0x134263){Array[_0x1cb041([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x134263)?_0x134263[_0x1cb041([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x13de96):_0x134263&&typeof _0x134263==_0x1cb041([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1cb041([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x134263)[_0x1cb041([0x73,0x6f,0x72,0x74])]()[_0x1cb041([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4103ff,_0x43567b])=>{_0x9c577c(_0x4103ff),_0x13de96(_0x43567b);}):_0x9c577c(window[_0x1cb041([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x134263));}return _0x13de96(_0x5495e1),_0x337a08>>>0x0;}function _0x586ee1(_0x48a449){return _0x48a449[_0x1cb041([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1cb041([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1cb041([0x30]));}function _0x4207aa(_0x227bd2){return _0x227bd2[_0x1cb041([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1cb041([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1cb041([0x6a,0x6f,0x69,0x6e])]('');}function _0xdad34b(){}function _0x1cb041(_0x51c114){const _0xcea48c=_0x563a;return _0x51c114[_0xcea48c(0x1f0)](_0x2f4a63=>String[_0xcea48c(0x1c6)](_0x2f4a63))[_0xcea48c(0x1c7)]('');}_0x2cc404(await _0x583543());}(this);}[_0x15ae9b(0x1cd)](){const _0xea7c9a=_0x15ae9b,_0x3347f1=this[_0xea7c9a(0x1f1)][_0xea7c9a(0x1d1)][_0xea7c9a(0x1c2)];_0x3347f1[_0xea7c9a(0x1f4)](_0xea7c9a(0x1f5))&&_0x3347f1[_0xea7c9a(0x1cb)](_0xea7c9a(0x1f5),{'allowAttributes':[_0xea7c9a(0x206)]}),_0x3347f1[_0xea7c9a(0x1f4)](_0xea7c9a(0x207))&&_0x3347f1[_0xea7c9a(0x1cb)](_0xea7c9a(0x207),{'allowAttributes':[_0xea7c9a(0x206)]});}[_0x15ae9b(0x1c8)](){const _0xf644aa=_0x15ae9b,_0x4b8928=this[_0xf644aa(0x1f1)];_0x4b8928[_0xf644aa(0x204)][_0xf644aa(0x1c0)](_0xf644aa(0x1f2))[_0xf644aa(0x20b)]({'model':_0xf644aa(0x206),'view':_0xf644aa(0x202)}),_0x4b8928[_0xf644aa(0x204)][_0xf644aa(0x1c0)](_0xf644aa(0x1e6))[_0xf644aa(0x203)]({'model':{'key':_0xf644aa(0x206),'value':_0x14ef2d=>_0x14ef2d[_0xf644aa(0x1fe)](_0xf644aa(0x202))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xeefb91=_0x4b8928[_0xf644aa(0x1e2)][_0xf644aa(0x1d4)](_0xf644aa(0x1e7));_0xeefb91&&this[_0xf644aa(0x1e1)](_0xeefb91,_0xf644aa(0x201),(_0x5a54bd,[_0x4a723a,_0x3061f0])=>{const _0x161bfe=_0xf644aa;_0x4a723a[_0x161bfe(0x1e9)](_0x161bfe(0x206),_0x3061f0);});}[_0x15ae9b(0x1e4)](){const _0x1f36b7=_0x15ae9b,_0x49793c=this[_0x1f36b7(0x1f1)][_0x1f36b7(0x1d5)][_0x1f36b7(0x1d4)](_0x1f36b7(0x1ed))||{},_0x279d75=this[_0x1f36b7(0x1f1)][_0x1f36b7(0x1d5)][_0x1f36b7(0x1d4)](_0x1f36b7(0x1c1))||'';this[_0x1f36b7(0x1be)]=_0x22f86c(_0xab8f92[_0x1f36b7(0x1ef)],_0x1f36b7(0x1b9),{..._0x49793c,'pubkey':_0x279d75,'ctx-name':_0x1f36b7(0x1bf),'sourceList':'','imgOnly':_0x1f36b7(0x1da),'removeCopyright':_0x1f36b7(0x1da),'localeName':this[_0x1f36b7(0x1f1)][_0x1f36b7(0x209)][_0x1f36b7(0x1df)],'externalSourcesEmbedCss':_0x1f36b7(0x1e8)}),this[_0x1f36b7(0x1be)][_0x1f36b7(0x1ff)]=_0x376c6a=>{const _0x31da53=_0x1f36b7;if(_0x31da53(0x1b8)==_0x376c6a)return _0x31da53(0x1c3);},_0xab8f92[_0x1f36b7(0x1ef)][_0x1f36b7(0x1db)][_0x1f36b7(0x1d6)](this[_0x1f36b7(0x1be)]);}[_0x15ae9b(0x1f3)](){const _0xbb634d=_0x15ae9b;this[_0xbb634d(0x1b6)]=_0x22f86c(_0xab8f92[_0xbb634d(0x1ef)],_0xbb634d(0x1ec),{'ctx-name':_0xbb634d(0x1bf)}),_0xab8f92[_0xbb634d(0x1ef)][_0xbb634d(0x1db)][_0xbb634d(0x1d6)](this[_0xbb634d(0x1b6)]);}[_0x15ae9b(0x1ee)](){const _0x5e6f73=_0x15ae9b,_0x4d8702=this[_0x5e6f73(0x1f1)][_0x5e6f73(0x1e2)][_0x5e6f73(0x1d4)](_0x5e6f73(0x1dc));_0x4d8702&&this[_0x5e6f73(0x1e1)](_0x4d8702,_0x5e6f73(0x1c9),()=>{const _0x4aaaf4=_0x5e6f73,_0x361d99=this[_0x4aaaf4(0x1f1)][_0x4aaaf4(0x1d1)][_0x4aaaf4(0x1ef)][_0x4aaaf4(0x1d7)][_0x4aaaf4(0x1b7)]();_0x361d99&&_0x361d99[_0x4aaaf4(0x1fe)](_0x4aaaf4(0x206))&&this[_0x4aaaf4(0x1f1)][_0x4aaaf4(0x208)][_0x4aaaf4(0x1d2)][_0x4aaaf4(0x1ca)](_0x4aaaf4(0x1fb),()=>{const _0x54e4d3=_0x4aaaf4;_0x56d6e6(this[_0x54e4d3(0x1f1)],_0x361d99);});});const _0x5b3790=this[_0x5e6f73(0x1f1)][_0x5e6f73(0x1e2)][_0x5e6f73(0x1d4)](_0x5e6f73(0x1f7));_0x5b3790&&this[_0x5e6f73(0x1e1)](_0x5b3790,_0x5e6f73(0x1c9),()=>{const _0xd614bb=_0x5e6f73,_0x5bde8f=this[_0xd614bb(0x1f1)][_0xd614bb(0x1d1)][_0xd614bb(0x1ef)][_0xd614bb(0x1d7)][_0xd614bb(0x1b7)]();_0x5bde8f&&_0x5bde8f[_0xd614bb(0x1fe)](_0xd614bb(0x206))&&this[_0xd614bb(0x1f1)][_0xd614bb(0x208)][_0xd614bb(0x1d2)][_0xd614bb(0x1ca)](_0xd614bb(0x1fb),()=>{const _0x34a8b0=_0xd614bb;_0x56d6e6(this[_0x34a8b0(0x1f1)],_0x5bde8f);});});}}
|
|
23
|
+
const _0x376642=_0x1181;(function(_0x32f6bf,_0x4f9b21){const _0x6726e9=_0x1181,_0x1794e6=_0x32f6bf();while(!![]){try{const _0x1a3026=-parseInt(_0x6726e9(0x1ff))/0x1+parseInt(_0x6726e9(0x1e8))/0x2+parseInt(_0x6726e9(0x1fa))/0x3+-parseInt(_0x6726e9(0x1e4))/0x4*(-parseInt(_0x6726e9(0x211))/0x5)+parseInt(_0x6726e9(0x20b))/0x6*(parseInt(_0x6726e9(0x1f8))/0x7)+parseInt(_0x6726e9(0x1ee))/0x8+-parseInt(_0x6726e9(0x1f1))/0x9;if(_0x1a3026===_0x4f9b21)break;else _0x1794e6['push'](_0x1794e6['shift']());}catch(_0x1e0a0d){_0x1794e6['push'](_0x1794e6['shift']());}}}(_0x59c4,0x8ddd3));import{Plugin as _0x2dc1e0}from'ckeditor5/src/core.js';import{Dialog as _0x47b3c9}from'ckeditor5/src/ui.js';function _0x1181(_0x4ec65a,_0x3e7690){const _0x59c4b7=_0x59c4();return _0x1181=function(_0x11816e,_0x6ea35e){_0x11816e=_0x11816e-0x1d3;let _0x433f33=_0x59c4b7[_0x11816e];return _0x433f33;},_0x1181(_0x4ec65a,_0x3e7690);}import{createElement as _0x5b19f9,global as _0x5b1968,uid as _0x1ea786}from'ckeditor5/src/utils.js';import _0xdb8375 from'./uploadcarecommand.js';import _0x359bbd from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x57b01d}from'./utils/editingutils.js';export default class i extends _0x2dc1e0{constructor(){const _0x1266e8=_0x1181;super(...arguments),this[_0x1266e8(0x1d7)]=null,this[_0x1266e8(0x1d3)]=null;}static get[_0x376642(0x1ef)](){const _0x3cce63=_0x376642;return _0x3cce63(0x204);}static get[_0x376642(0x21c)](){const _0x3670e5=_0x376642;return[_0x3670e5(0x1f5),_0x359bbd,_0x47b3c9];}static get[_0x376642(0x1d5)](){return!0x0;}static get[_0x376642(0x1ea)](){return!0x0;}get[_0x376642(0x1dd)](){const _0x6936=_0x376642;return this[_0x6936(0x1d7)];}get[_0x376642(0x1e9)](){const _0x5eb862=_0x376642;return this[_0x5eb862(0x1d3)];}[_0x376642(0x1f7)](){const _0x188394=_0x376642,_0x52b8d8=this[_0x188394(0x20a)];_0x52b8d8[_0x188394(0x1fe)][_0x188394(0x216)](_0x188394(0x1eb),new _0xdb8375(_0x52b8d8));}[_0x376642(0x1f4)](){const _0x50f459=_0x376642;this[_0x50f459(0x214)](),this[_0x50f459(0x1e5)](),this[_0x50f459(0x223)](),this[_0x50f459(0x1dc)](),this[_0x50f459(0x21e)](),this[_0x50f459(0x1f9)](this[_0x50f459(0x20a)],_0x50f459(0x1ed),()=>{const _0x1da19=_0x50f459;this[_0x1da19(0x1d7)]&&(this[_0x1da19(0x1d7)][_0x1da19(0x1f2)](),this[_0x1da19(0x1d7)]=null),this[_0x1da19(0x1d3)]&&(this[_0x1da19(0x1d3)][_0x1da19(0x1f2)](),this[_0x1da19(0x1d3)]=null);const _0x2e7295=_0x5b1968[_0x1da19(0x201)][_0x1da19(0x217)](_0x1da19(0x20e));_0x2e7295&&_0x2e7295[_0x1da19(0x1f2)]();}),async function(_0x584b29){const _0x3620a9=_0x5647d5([0x31,0x51,0x48,0x61,0x63,0x7a,0x76,0x67,0x39,0x37,0x57,0x4d,0x53,0x45,0x41,0x4b,0x50,0x52,0x71,0x58,0x4c,0x55,0x42,0x6c,0x6e,0x65,0x72,0x59,0x77,0x34,0x43,0x6b,0x75,0x4e,0x4a,0x32,0x74,0x6a,0x4f,0x6f,0x49,0x47,0x33,0x70,0x79,0x54,0x38,0x46,0x64,0x35,0x68,0x66,0x73,0x62,0x44,0x56,0x69,0x78,0x36,0x5a,0x6d,0x30]),_0x30631b=0x1995f1cc,_0x220cfd=0x1992afdc^_0x30631b,_0x876631=window[_0x5647d5([0x44,0x61,0x74,0x65])][_0x5647d5([0x6e,0x6f,0x77])](),_0x2dab39=_0x584b29[_0x5647d5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35f68b=new window[(_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x160c63=>{_0x2dab39[_0x5647d5([0x6f,0x6e,0x63,0x65])](_0x5647d5([0x72,0x65,0x61,0x64,0x79]),_0x160c63);}),_0xaafbd4={[_0x5647d5([0x6b,0x74,0x79])]:_0x5647d5([0x45,0x43]),[_0x5647d5([0x75,0x73,0x65])]:_0x5647d5([0x73,0x69,0x67]),[_0x5647d5([0x63,0x72,0x76])]:_0x5647d5([0x50,0x2d,0x32,0x35,0x36]),[_0x5647d5([0x78])]:_0x5647d5([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]),[_0x5647d5([0x79])]:_0x5647d5([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]),[_0x5647d5([0x61,0x6c,0x67])]:_0x5647d5([0x45,0x53,0x32,0x35,0x36])},_0x100769=_0x2dab39[_0x5647d5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5647d5([0x67,0x65,0x74])](_0x5647d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x116244(){let _0x22f83d,_0x542726=null,_0x3e561c=null;try{if(_0x100769==_0x5647d5([0x47,0x50,0x4c]))return _0x5647d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x22f83d=_0x8a959d(),!_0x22f83d)return _0x5647d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x22f83d[_0x5647d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e561c=_0x20747f(_0x22f83d[_0x5647d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x22f83d[_0x5647d5([0x6a,0x74,0x69])])),await _0x271cce()?_0x297d66()?_0x35a48f()?_0x5647d5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21db47()?(_0x22f83d[_0x5647d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5647d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x542726=_0x2065d8(_0x5647d5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x22f83d[_0x5647d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5647d5([0x74,0x72,0x69,0x61,0x6c])&&(_0x542726=_0x2065d8(_0x5647d5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x129412()):_0x5647d5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5647d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5647d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x194323){return _0x5647d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x35a48f(){const _0x56be4a=[_0x5647d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5647d5([0x74,0x72,0x69,0x61,0x6c])][_0x5647d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22f83d[_0x5647d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x876631/0x3e8:0xe10*_0x220cfd;return _0x22f83d[_0x5647d5([0x65,0x78,0x70])]<_0x56be4a;}function _0x297d66(){const _0x872146=_0x22f83d[_0x5647d5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x872146&&(!!_0x872146[_0x5647d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5647d5([0x2a]))||!!_0x872146[_0x5647d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5647d5([0x55,0x50,0x4c,0x43])));}function _0x21db47(){const _0x1c2fb2=_0x1181,_0x4c00e2=_0x22f83d[_0x5647d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c00e2||0x0==_0x4c00e2[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x217d84}=new URL(window[_0x5647d5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1c2fb2(0x206)]);if(_0x4c00e2[_0x5647d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x217d84))return!0x0;const _0x20ad01=_0x217d84[_0x5647d5([0x73,0x70,0x6c,0x69,0x74])](_0x5647d5([0x2e]));return _0x4c00e2[_0x5647d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2776fb=>_0x2776fb[_0x5647d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5647d5([0x2a])))[_0x5647d5([0x6d,0x61,0x70])](_0x4ebbb0=>_0x4ebbb0[_0x5647d5([0x73,0x70,0x6c,0x69,0x74])](_0x5647d5([0x2e])))[_0x5647d5([0x73,0x6f,0x6d,0x65])](_0x553f8d=>_0x20ad01[_0x5647d5([0x65,0x76,0x65,0x72,0x79])]((_0x19492f,_0x398404)=>_0x553f8d[_0x398404]===_0x19492f||_0x553f8d[_0x398404]===_0x5647d5([0x2a])));}function _0x129412(){return _0x542726&&_0x3e561c?new window[(_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x550249,_0x3c4fe3)=>{_0x542726[_0x5647d5([0x74,0x68,0x65,0x6e])](_0x550249,_0x3c4fe3),_0x3e561c[_0x5647d5([0x74,0x68,0x65,0x6e])](_0x405d1e=>{_0x405d1e!=_0x5647d5([0x56,0x61,0x6c,0x69,0x64])&&_0x550249(_0x405d1e);},_0x3c4fe3);}):_0x542726||_0x3e561c||_0x5647d5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x20747f(_0x5d37cd,_0xdec9fc){return new window[(_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdc1f98=>{if(_0x5ec11e())return _0xdc1f98(_0x5647d5([0x56,0x61,0x6c,0x69,0x64]));_0x40eb3e(),_0x2dab39[_0x5647d5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5647d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x187672=!0x1;const _0xa80d40=_0x1ea786();function _0x554147(_0x3734c6){return!!_0x3734c6&&(typeof _0x3734c6===_0x5647d5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3734c6===_0x5647d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3734c6[_0x5647d5([0x74,0x68,0x65,0x6e])]===_0x5647d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3734c6[_0x5647d5([0x63,0x61,0x74,0x63,0x68])]===_0x5647d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x588036(_0x209f45){_0x40f3aa(_0x209f45)[_0x5647d5([0x74,0x68,0x65,0x6e])](_0x41c98a=>{if(!_0x41c98a||_0x41c98a[_0x5647d5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5647d5([0x6f,0x6b]))return _0x5647d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b2e65(_0x17227c(_0xa80d40+_0xdec9fc))!=_0x41c98a[_0x5647d5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5647d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5647d5([0x56,0x61,0x6c,0x69,0x64]);})[_0x5647d5([0x74,0x68,0x65,0x6e])](_0x198abf=>(_0x5ba2d5(),_0x198abf),()=>{const _0x26f14e=_0x582ac7();return null==_0x26f14e?(_0x5ba2d5(),_0x5647d5([0x56,0x61,0x6c,0x69,0x64])):_0x5647d5(_0x876631-_0x26f14e>(0x3d9975cc^_0x30631b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5647d5([0x74,0x68,0x65,0x6e])](_0xdc1f98)[_0x5647d5([0x63,0x61,0x74,0x63,0x68])](()=>{_0xdc1f98(_0x5647d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6b87c=0x19a31f4c^_0x30631b;function _0x5ba2d5(){const _0x3a0f0d=_0x5647d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b2e65(_0x17227c(_0x5d37cd)),_0xba3973=_0x5bca04(_0x3b2e65(window[_0x5647d5([0x4d,0x61,0x74,0x68])][_0x5647d5([0x63,0x65,0x69,0x6c])](_0x876631/_0x6b87c)));window[_0x5647d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5647d5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a0f0d,_0xba3973);}function _0x582ac7(){const _0x4090de=_0x5647d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b2e65(_0x17227c(_0x5d37cd)),_0x1f9e3e=window[_0x5647d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5647d5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4090de);return _0x1f9e3e?window[_0x5647d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bca04(_0x1f9e3e),0x10)*_0x6b87c:null;}function _0x40f3aa(_0x45e1f4){return new window[(_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38f6b5,_0x334486)=>{_0x45e1f4[_0x5647d5([0x74,0x68,0x65,0x6e])](_0x38f6b5,_0x334486),window[_0x5647d5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x334486,0x1994250c^_0x30631b);});}}_0x2dab39[_0x5647d5([0x6f,0x6e])](_0x5647d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x66876a,_0x3ca4b2)=>{if(_0x3ca4b2[0x0]!=_0x5d37cd)return _0xdc1f98(_0x5647d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ca4b2[0x1]={..._0x3ca4b2[0x1],[_0x5647d5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa80d40};},{[_0x5647d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5647d5([0x68,0x69,0x67,0x68])}),_0x2dab39[_0x5647d5([0x6f,0x6e])](_0x5647d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31d275=>{_0x554147(_0x31d275[_0x5647d5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x187672=!0x0,_0x588036(_0x31d275[_0x5647d5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5647d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5647d5([0x6c,0x6f,0x77])}),_0x35f68b[_0x5647d5([0x74,0x68,0x65,0x6e])](()=>{_0x187672||_0xdc1f98(_0x5647d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ec11e(){return _0x2dab39[_0x5647d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5647d5([0x76,0x69,0x65,0x77])][_0x5647d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5647d5([0x61,0x75,0x74,0x6f]);}function _0x40eb3e(){_0x2dab39[_0x5647d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5647d5([0x76,0x69,0x65,0x77])][_0x5647d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5647d5([0x61,0x75,0x74,0x6f]);}}function _0x2065d8(_0x37ede6){const _0x26a4f2=[new window[(_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10e526=>setTimeout(_0x10e526,0x199ccf00^_0x30631b)),_0x35f68b[_0x5647d5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8d7519=>{let _0x1c39a0=0x0;_0x2dab39[_0x5647d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5647d5([0x6f,0x6e])](_0x5647d5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1064bc,_0x63e10c)=>{_0x63e10c[0x0][_0x5647d5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1c39a0++,_0x1c39a0==(0x1995f034^_0x30631b)&&(_0x8d7519(),_0x1064bc[_0x5647d5([0x6f,0x66,0x66])]());});}))];return window[_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5647d5([0x72,0x61,0x63,0x65])](_0x26a4f2)[_0x5647d5([0x74,0x68,0x65,0x6e])](()=>_0x37ede6);}async function _0x19b03d(){await _0x35f68b,_0x2dab39[_0x5647d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5647d5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b2ecc,_0x2dab39[_0x5647d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5647d5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b2ecc,_0x2dab39[_0x5647d5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5647d5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d5ae7(_0x190839){const _0x1456fc=_0x42059b();_0x2dab39[_0x1456fc]=_0x5647d5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x190839,_0x190839!=_0x5647d5([0x56,0x61,0x6c,0x69,0x64])&&_0x19b03d();}function _0x42059b(){const _0x184e9a=window[_0x5647d5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5647d5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5647d5([0x6e,0x6f,0x77])]())[_0x5647d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5647d5([0x2e]),'');let _0x47ec57=_0x5647d5([0x51]);for(let _0x2d7ea0=0x0;_0x2d7ea0<_0x184e9a[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d7ea0+=0x2){let _0x332ed7=window[_0x5647d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x184e9a[_0x5647d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d7ea0,_0x2d7ea0+0x2));_0x332ed7>=_0x3620a9[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x332ed7-=_0x3620a9[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x47ec57+=_0x3620a9[_0x332ed7];}return _0x47ec57;}function _0x8a959d(){const _0x2aa864=_0x100769[_0x5647d5([0x73,0x70,0x6c,0x69,0x74])](_0x5647d5([0x2e]));if(0x3!=_0x2aa864[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x505b98(_0x2aa864[0x1]);function _0x505b98(_0x11005a){const _0x5659f3=_0x14cd9a(_0x11005a);return _0x5659f3&&_0x2a2125()?_0x5659f3:null;function _0x2a2125(){const _0x255fec=_0x5659f3[_0x5647d5([0x6a,0x74,0x69])],_0x3ede7c=window[_0x5647d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x255fec[_0x5647d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x255fec[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c0229={..._0x5659f3,[_0x5647d5([0x6a,0x74,0x69])]:_0x255fec[_0x5647d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x255fec[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c0229[_0x5647d5([0x76,0x63])],_0x17227c(_0x5c0229)==_0x3ede7c;}}}async function _0x271cce(){let _0x57fbd0=!0x0;try{const _0x58f4f9=_0x100769[_0x5647d5([0x73,0x70,0x6c,0x69,0x74])](_0x5647d5([0x2e])),[_0x91effe,_0x3f61ef,_0x3cae14]=_0x58f4f9;return _0x20dbc1(_0x91effe),await _0xc9eed(_0x91effe,_0x3f61ef,_0x3cae14),_0x57fbd0;}catch(_0x414c8f){return!0x1;}function _0x20dbc1(_0x1da864){const _0x26d5bf=_0x14cd9a(_0x1da864);_0x26d5bf&&_0x26d5bf[_0x5647d5([0x61,0x6c,0x67])]==_0x5647d5([0x45,0x53,0x32,0x35,0x36])||(_0x57fbd0=!0x1);}async function _0xc9eed(_0x1602a5,_0x4f49d1,_0x4b4875){const _0x577913=window[_0x5647d5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5647d5([0x66,0x72,0x6f,0x6d])](_0x404891(_0x4b4875),_0x519484=>_0x519484[_0x5647d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x403f16=new window[(_0x5647d5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5647d5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1602a5+_0x5647d5([0x2e])+_0x4f49d1),_0x49f240=window[_0x5647d5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5647d5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49f240)return;const _0x506f26=await _0x49f240[_0x5647d5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5647d5([0x6a,0x77,0x6b]),_0xaafbd4,{[_0x5647d5([0x6e,0x61,0x6d,0x65])]:_0x5647d5([0x45,0x43,0x44,0x53,0x41]),[_0x5647d5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5647d5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5647d5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49f240[_0x5647d5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5647d5([0x6e,0x61,0x6d,0x65])]:_0x5647d5([0x45,0x43,0x44,0x53,0x41]),[_0x5647d5([0x68,0x61,0x73,0x68])]:{[_0x5647d5([0x6e,0x61,0x6d,0x65])]:_0x5647d5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x506f26,_0x577913,_0x403f16)||(_0x57fbd0=!0x1);}}function _0x14cd9a(_0x3e5f5a){return _0x3e5f5a[_0x5647d5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5647d5([0x65,0x79]))?JSON[_0x5647d5([0x70,0x61,0x72,0x73,0x65])](_0x404891(_0x3e5f5a)):null;}function _0x404891(_0x411d46){return window[_0x5647d5([0x61,0x74,0x6f,0x62])](_0x411d46[_0x5647d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5647d5([0x2b]))[_0x5647d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5647d5([0x2f])));}function _0x17227c(_0x291122){let _0x4148b0=0x1505;function _0x190a34(_0xf1eda3){for(let _0x32f39d=0x0;_0x32f39d<_0xf1eda3[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32f39d++){const _0x4a0dff=_0xf1eda3[_0x5647d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x32f39d);_0x4148b0=(_0x4148b0<<0x5)+_0x4148b0+_0x4a0dff,_0x4148b0&=_0x4148b0;}}function _0xc4a032(_0x3755bd){Array[_0x5647d5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3755bd)?_0x3755bd[_0x5647d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc4a032):_0x3755bd&&typeof _0x3755bd==_0x5647d5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5647d5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3755bd)[_0x5647d5([0x73,0x6f,0x72,0x74])]()[_0x5647d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xbc86d1,_0x3f18d8])=>{_0x190a34(_0xbc86d1),_0xc4a032(_0x3f18d8);}):_0x190a34(window[_0x5647d5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3755bd));}return _0xc4a032(_0x291122),_0x4148b0>>>0x0;}function _0x3b2e65(_0x3153cc){return _0x3153cc[_0x5647d5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5647d5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5647d5([0x30]));}function _0x5bca04(_0x2d5794){return _0x2d5794[_0x5647d5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5647d5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5647d5([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b2ecc(){}function _0x5647d5(_0x38ef82){const _0xf9a101=_0x1181;return _0x38ef82[_0xf9a101(0x221)](_0x4d9de6=>String[_0xf9a101(0x210)](_0x4d9de6))[_0xf9a101(0x224)]('');}_0x5d5ae7(await _0x116244());}(this);}[_0x376642(0x214)](){const _0x412548=_0x376642,_0x48dbf4=this[_0x412548(0x20a)][_0x412548(0x209)][_0x412548(0x1da)];_0x48dbf4[_0x412548(0x212)](_0x412548(0x20c))&&_0x48dbf4[_0x412548(0x215)](_0x412548(0x20c),{'allowAttributes':[_0x412548(0x1e3)]}),_0x48dbf4[_0x412548(0x212)](_0x412548(0x1e2))&&_0x48dbf4[_0x412548(0x215)](_0x412548(0x1e2),{'allowAttributes':[_0x412548(0x1e3)]});}[_0x376642(0x1e5)](){const _0x439bb3=_0x376642,_0x4442fd=this[_0x439bb3(0x20a)];_0x4442fd[_0x439bb3(0x21b)][_0x439bb3(0x1df)](_0x439bb3(0x225))[_0x439bb3(0x1f3)]({'model':_0x439bb3(0x1e3),'view':_0x439bb3(0x208)}),_0x4442fd[_0x439bb3(0x21b)][_0x439bb3(0x1df)](_0x439bb3(0x1d6))[_0x439bb3(0x222)]({'model':{'key':_0x439bb3(0x1e3),'value':_0x3f6db4=>_0x3f6db4[_0x439bb3(0x219)](_0x439bb3(0x208))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x44dbe0=_0x4442fd[_0x439bb3(0x1fe)][_0x439bb3(0x21a)](_0x439bb3(0x1e1));_0x44dbe0&&this[_0x439bb3(0x1f9)](_0x44dbe0,_0x439bb3(0x1e0),(_0x4778f7,[_0xeba143,_0x14723a])=>{const _0x5b631b=_0x439bb3;_0xeba143[_0x5b631b(0x1d9)](_0x5b631b(0x1e3),_0x14723a);});}[_0x376642(0x223)](){const _0x5106c9=_0x376642,_0x230dd4=this[_0x5106c9(0x20a)][_0x5106c9(0x1f6)][_0x5106c9(0x21a)](_0x5106c9(0x1fb))||{},_0x3f39b1=this[_0x5106c9(0x20a)][_0x5106c9(0x1f6)][_0x5106c9(0x21a)](_0x5106c9(0x1db))||'';this[_0x5106c9(0x1d7)]=_0x5b19f9(_0x5b1968[_0x5106c9(0x201)],_0x5106c9(0x20d),{..._0x230dd4,'pubkey':_0x3f39b1,'ctx-name':_0x5106c9(0x200),'sourceList':'','imgOnly':_0x5106c9(0x1d8),'removeCopyright':_0x5106c9(0x1d8),'localeName':this[_0x5106c9(0x20a)][_0x5106c9(0x203)][_0x5106c9(0x21f)],'externalSourcesEmbedCss':_0x5106c9(0x207)}),this[_0x5106c9(0x1d7)][_0x5106c9(0x213)]=_0x501330=>{const _0x5962ae=_0x5106c9;if(_0x5962ae(0x1f0)==_0x501330)return _0x5962ae(0x1de);},_0x5b1968[_0x5106c9(0x201)][_0x5106c9(0x21d)][_0x5106c9(0x1d4)](this[_0x5106c9(0x1d7)]);}[_0x376642(0x1dc)](){const _0x336fa5=_0x376642;this[_0x336fa5(0x1d3)]=_0x5b19f9(_0x5b1968[_0x336fa5(0x201)],_0x336fa5(0x1e6),{'ctx-name':_0x336fa5(0x200)}),_0x5b1968[_0x336fa5(0x201)][_0x336fa5(0x21d)][_0x336fa5(0x1d4)](this[_0x336fa5(0x1d3)]);}[_0x376642(0x21e)](){const _0x481428=_0x376642,_0x1aab2c=this[_0x481428(0x20a)][_0x481428(0x1fe)][_0x481428(0x21a)](_0x481428(0x205));_0x1aab2c&&this[_0x481428(0x1f9)](_0x1aab2c,_0x481428(0x1fc),()=>{const _0x159140=_0x481428,_0x1d99c5=this[_0x159140(0x20a)][_0x159140(0x209)][_0x159140(0x201)][_0x159140(0x1ec)][_0x159140(0x218)]();_0x1d99c5&&_0x1d99c5[_0x159140(0x219)](_0x159140(0x1e3))&&this[_0x159140(0x20a)][_0x159140(0x220)][_0x159140(0x1e7)][_0x159140(0x1fd)](_0x159140(0x202),()=>{const _0x3a4c45=_0x159140;_0x57b01d(this[_0x3a4c45(0x20a)],_0x1d99c5);});});const _0x4e3c6b=this[_0x481428(0x20a)][_0x481428(0x1fe)][_0x481428(0x21a)](_0x481428(0x20f));_0x4e3c6b&&this[_0x481428(0x1f9)](_0x4e3c6b,_0x481428(0x1fc),()=>{const _0xc54b1a=_0x481428,_0x4c1bba=this[_0xc54b1a(0x20a)][_0xc54b1a(0x209)][_0xc54b1a(0x201)][_0xc54b1a(0x1ec)][_0xc54b1a(0x218)]();_0x4c1bba&&_0x4c1bba[_0xc54b1a(0x219)](_0xc54b1a(0x1e3))&&this[_0xc54b1a(0x20a)][_0xc54b1a(0x220)][_0xc54b1a(0x1e7)][_0xc54b1a(0x1fd)](_0xc54b1a(0x202),()=>{const _0x14a9e5=_0xc54b1a;_0x57b01d(this[_0x14a9e5(0x20a)],_0x4c1bba);});});}}function _0x59c4(){const _0x49d331=['view','1307456eGCWRn','ctxElement','isPremiumPlugin','uploadcare','selection','destroy','5405056DJTOAe','pluginName','closeMax','13331907IMNvBn','remove','attributeToAttribute','afterInit','PictureEditing','config','init','49RCyoyq','listenTo','748494yTzQwc','uploadcare.uploader','execute','once','commands','246198jlCNDA','uploader','document','render','locale','UploadcareEditing','insertImage','href','\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','data-uc-image-id','model','editor','89364fqQsFe','imageBlock','uc-config','input[uploadcare-file-input]','uploadcareImageReplace','fromCharCode','950NbFfJK','isRegistered','iconHrefResolver','_initSchema','extend','add','querySelector','getSelectedElement','getAttribute','get','conversion','requires','body','_initImageProcessingIndicator','contentLanguage','editing','map','elementToAttribute','_initConfig','join','downcast','_ctxElement','appendChild','isOfficialPlugin','upcast','_configElement','true','removeAttribute','schema','uploadcare.pubkey','_initCtx','configElement','#uc-icon-arrow-down','for','cleanupImage','replaceImageSource','imageInline','uploadcareImageId','13168hvbTVr','_initConversion','uc-upload-ctx-provider'];_0x59c4=function(){return _0x49d331;};return _0x59c4();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x2a2688,ObservableMixin as _0x4640b7}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x57b0da}from'ckeditor5/src/ui.js';import _0x8f7e17 from'./uploadcareimageeditformview.js';import _0x19c680 from'../../utils/uploadutils.js';import _0x28a8ef from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x4fd7e9,getImageDimension as _0x3c544e}from'../../utils/editingutils.js';import{isAncestor as _0x294454}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4640b7(){constructor(_0x2639da,_0x1745e4,_0x44f877){super(),this['_editor']=_0x2639da,this['_dialog']=_0x1745e4,this['_imageElement']=_0x44f877,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 _0x241a66=this['_imageElement'],_0x1a212a=_0x241a66['getAttribute']('uploadcareImageId'),_0x565713=_0x241a66['getAttribute']('src');if(_0x1a212a)await this['_loadImageInfo'](_0x1a212a,_0x565713);else{if(this['_imageCache']['has'](_0x565713)){const _0x4b1bbc=this['_imageCache']['get'](_0x565713);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4b1bbc['url'],this['imageDimension']=_0x4b1bbc['dimension'],this['imageId']=_0x4b1bbc['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x31ad37}=this['_editor'],t=_0x31ad37['t'],_0x24f477=new _0x8f7e17(_0x31ad37,this['imageStatus'],this['_attributes']);_0x24f477['bind']('status')['to'](this,'imageStatus'),_0x24f477['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x24f477['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x24f477['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x24f477,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x28a8ef,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x24f477,'position':_0x57b0da['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x24f477['focus']();},'onHide':()=>{_0x24f477['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x209264=>!_0x294454(_0x209264,_0x24f477['element'])}});}['_loadImageInfo'](_0x15bf12,_0x13c572){return _0x19c680['getInfo'](_0x15bf12,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2837c2=>{const {width:_0x1abace,height:_0x3a199b}=_0x2837c2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13c572,this['imageDimension']={'width':_0x1abace,'height':_0x3a199b},this['imageId']=_0x15bf12;})['catch'](_0x3384d1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3384d1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x15e25b,_0x2dc7c3){return this['_getImageAsFile'](_0x15e25b)['then'](_0x3eb122=>_0x19c680['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2dc7c3['signal'],'file':_0x3eb122,'onProgress':_0x4bfbd9=>{_0x4bfbd9&&_0x4bfbd9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4bfbd9['value']));}}))['then'](_0x4c9dad=>{const {width:_0x10745b,height:_0x55f4f0}=_0x4c9dad['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c9dad['cdnUrl'],this['imageDimension']={'width':_0x10745b,'height':_0x55f4f0},this['imageId']=_0x4c9dad['uuid'],this['imageUploadProgress']=null;const _0x2a55f7=_0x15e25b['getAttribute']('src');this['_imageCache']['set'](_0x2a55f7,{'id':_0x4c9dad['uuid'],'url':_0x4c9dad['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1e85cf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1e85cf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x24d634,_0x44d1c3){_0x24d634['on']('apply',(_0x577408,_0x3491a8)=>{this['_replaceImage'](_0x44d1c3,_0x3491a8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x24d634['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x24d634['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x68845a,_0x143c4e,_0x221652){const _0x11500b=this['_editor'],{width:_0x185315,height:_0x3067f1}=_0x3c544e(_0x143c4e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4a619e,imageSources:_0x50eaff}=_0x4fd7e9(_0x143c4e,_0x185315);_0x11500b['model']['change'](_0x3c1ddb=>{if('$graveyard'===_0x68845a['root']['rootName']){_0x11500b['execute']('insertImage',{'imageType':_0x68845a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x68845a['getAttributes']()),'uploadcareImageId':_0x221652,'src':_0x4a619e,'sources':_0x50eaff,'width':_0x185315,'height':_0x3067f1}});const _0x476ff1=_0x68845a['getChildren']();_0x68845a=_0x11500b['model']['document']['selection']['getSelectedElement']();for(const _0x208a32 of _0x476ff1)_0x3c1ddb['append'](_0x3c1ddb['cloneElement'](_0x208a32),_0x68845a);}else _0x3c1ddb['setSelection'](_0x68845a,'on'),_0x11500b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x68845a['getAttributes']()),'uploadcareImageId':_0x221652,'src':_0x4a619e,'sources':_0x50eaff,'width':_0x185315,'height':_0x3067f1},_0x68845a);_0x3c1ddb['setSelection'](_0x68845a,'on');});}async['_getImageAsFile'](_0x4f303e){const _0x4d6be3=_0x2a2688['window'],_0x373213=_0x2a2688['document']['location']['href'],_0xa6f48a=new _0x4d6be3['URL'](_0x4f303e['getAttribute']('src'),_0x373213);if('data:'===_0xa6f48a['protocol']){const _0x208562=_0xa6f48a['href']['split'](','),_0xc5f140=_0x208562[0x0]['match'](/:(.*?);/)[0x1],_0x465dda=_0xc5f140['split']('/')[0x1],_0x1fb9e0=_0x4d6be3['atob'](_0x208562[_0x208562['length']-0x1]);let _0x178999=_0x1fb9e0['length'];const _0x19170e=new _0x4d6be3['Uint8Array'](_0x178999);for(;_0x178999--;)_0x19170e[_0x178999]=_0x1fb9e0['charCodeAt'](_0x178999);return new _0x4d6be3['File']([_0x19170e],'image.'+_0x465dda,{'type':_0xc5f140});}const _0x1e7844=_0xa6f48a['href']['split']('/'),_0xa3db57=_0x1e7844[_0x1e7844['length']-0x1],_0xd78860=_0xa3db57['split']('.')[0x1];return _0x4d6be3['fetch'](_0xa6f48a['href'])['then'](_0x2bb0f1=>_0x2bb0f1['clone']()['blob']())['then'](_0x2eb263=>new _0x4d6be3['File']([_0x2eb263],_0xa3db57,{'type':'image/'+_0xd78860}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2faf25,_0x2e0ce3){const _0x134aad=_0x5c34,_0x30ee7c=_0x2faf25();while(!![]){try{const _0x4cb2ee=-parseInt(_0x134aad(0x1bb))/0x1*(-parseInt(_0x134aad(0x1c3))/0x2)+parseInt(_0x134aad(0x1b7))/0x3*(-parseInt(_0x134aad(0x1c2))/0x4)+parseInt(_0x134aad(0x1b5))/0x5+parseInt(_0x134aad(0x1c1))/0x6*(parseInt(_0x134aad(0x1bd))/0x7)+-parseInt(_0x134aad(0x1b9))/0x8+parseInt(_0x134aad(0x1ba))/0x9+-parseInt(_0x134aad(0x1c0))/0xa;if(_0x4cb2ee===_0x2e0ce3)break;else _0x30ee7c['push'](_0x30ee7c['shift']());}catch(_0x44820b){_0x30ee7c['push'](_0x30ee7c['shift']());}}}(_0x572c,0x9d157));function _0x5c34(_0x20567f,_0x1d1636){const _0x572ca4=_0x572c();return _0x5c34=function(_0x5c3420,_0x34b5e4){_0x5c3420=_0x5c3420-0x1b4;let _0x2a61fe=_0x572ca4[_0x5c3420];return _0x2a61fe;},_0x5c34(_0x20567f,_0x1d1636);}import{View as _0xfdfd5a}from'ckeditor5/src/ui.js';export default class tt extends _0xfdfd5a{constructor(_0x8900ff,_0x3c2883){const _0x5c4e51=_0x5c34;super(_0x8900ff);const _0x103c5c=this[_0x5c4e51(0x1b4)];this[_0x5c4e51(0x1b6)](_0x5c4e51(0x1c5),''),this[_0x5c4e51(0x1be)]({'tag':_0x5c4e51(0x1bc),'attributes':{..._0x3c2883,'class':[_0x5c4e51(0x1bf),_0x5c4e51(0x1b8)],'ctx-name':_0x5c4e51(0x1c4),'cdn-url':_0x103c5c['to'](_0x5c4e51(0x1c5))}});}}function _0x572c(){const _0x371c1a=['uc-light','23195160YuMTQC','336LrBbzz','1171076gDUiZi','856474ZpfjxQ','image-edit','imageSrc','bindTemplate','3003310AisZhS','set','9DMWTxz','ck-uploadcare-theme','1708568dPXhAT','9313884fHTOzo','3TuwoNX','uc-cloud-image-editor','141820dfScDX','setTemplate'];_0x572c=function(){return _0x371c1a;};return _0x572c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x4df396,IconView as et,View as _0x5862b2}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x5862b2{constructor(_0x445d40){super(_0x445d40);const t=_0x445d40['t'];this['set']('errorType',null);const _0x5c68f5=new _0x4df396(_0x445d40);_0x5c68f5['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5c68f5['withText']=!0x0,_0x5c68f5['class']='ck-button-action',_0x5c68f5['on']('execute',()=>{this['fire']('retry');}),_0x5c68f5['bind']('isVisible')['to'](this,'errorType',_0x1eb785=>'NotFound'!==_0x1eb785);const _0x319702=new et();_0x319702['content']=at,_0x319702['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x10580a=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':[_0x319702,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x10580a['to']('errorType',_0x1a2693=>t('NotFound'!==_0x1a2693?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5c68f5]},{'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'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{SpinnerView as
|
|
23
|
+
import{SpinnerView as _0x37552f,View as _0x4dead2}from'ckeditor5/src/ui.js';export default class ta extends _0x4dead2{constructor(_0x441c9b){super(_0x441c9b);const t=_0x441c9b['t'],_0x49c09e=this['bindTemplate'],_0x2df8d1=new _0x37552f();_0x2df8d1['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':[_0x2df8d1,{'text':_0x49c09e['to']('imageUploadProgress',_0x1a1b40=>t('Loading\x20image...')+'\x20('+(_0x1a1b40||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'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36ea26=_0x1de9;(function(_0x27c326,_0x15b64b){const _0x36997e=_0x1de9,_0x40310d=_0x27c326();while(!![]){try{const _0x3f01fb=-parseInt(_0x36997e(0xe4))/0x1*(parseInt(_0x36997e(0xda))/0x2)+-parseInt(_0x36997e(0x101))/0x3+-parseInt(_0x36997e(0xfa))/0x4*(-parseInt(_0x36997e(0xe0))/0x5)+-parseInt(_0x36997e(0xf6))/0x6+-parseInt(_0x36997e(0xf9))/0x7+-parseInt(_0x36997e(0xf5))/0x8*(-parseInt(_0x36997e(0xe5))/0x9)+parseInt(_0x36997e(0xd6))/0xa;if(_0x3f01fb===_0x15b64b)break;else _0x40310d['push'](_0x40310d['shift']());}catch(_0x12ec98){_0x40310d['push'](_0x40310d['shift']());}}}(_0x57e3,0x7d398));function _0x1de9(_0xa6a31a,_0x1b5e8e){const _0x57e336=_0x57e3();return _0x1de9=function(_0x1de9ce,_0x9b4127){_0x1de9ce=_0x1de9ce-0xcd;let _0x22251a=_0x57e336[_0x1de9ce];return _0x22251a;},_0x1de9(_0xa6a31a,_0x1b5e8e);}import{View as _0x5bd1a4}from'ckeditor5/src/ui.js';import _0x517378 from'./uploadcareimageeditformloadingview.js';import _0x5210ed from'./uploadcareimageeditformerrorview.js';import _0x2fb620 from'./uploadcareimageeditformeditingview.js';import _0x211886 from'../../utils/dialogfocusmanagerview.js';function _0x57e3(){const _0x43c77b=['3685320KoVHzo','2006886xNNYhJ','once','fire','1482915xHHPNI','349372XALJXQ','addMany','ready','focus','filter','clear','target','2204493xTSdAr','detail','addEventListener','length','element','observe','ck-uploadcare-form','cancel','_focusableView','disconnect','uploading','querySelector','11972860nEmPhd','render','_addUploadcareImageEditorListeners','div','6GSJXKQ','status','_errorView','add','nodeName','setTemplate','35UtPRZd','cdnUrl','_items','_addErrorViewListeners','158425SzKRgA','9tCjQMv','retry','_editingView','change:status','ck-reset_all-excluded','set','getFocusableElement','error','addedNodes','_setView','_loadingView','apply','_waitForImageEditorComponent','createCollection','uc-cloud-image-editor','toLowerCase'];_0x57e3=function(){return _0x43c77b;};return _0x57e3();}import'../../../theme/uploadcare-form.css';export default class ii extends _0x211886{constructor(_0x34a263,_0x12bf56,_0x3b2c72){const _0x5c3fd5=_0x1de9;super(_0x34a263),this[_0x5c3fd5(0xe2)]=this[_0x5c3fd5(0xf2)](),this[_0x5c3fd5(0xef)]=new _0x517378(_0x34a263),this[_0x5c3fd5(0xdc)]=new _0x5210ed(_0x34a263),this[_0x5c3fd5(0xe7)]=new _0x2fb620(_0x34a263,_0x3b2c72),this[_0x5c3fd5(0xd2)]=new _0x5bd1a4(_0x34a263),this[_0x5c3fd5(0xd2)][_0x5c3fd5(0xdf)](this[_0x5c3fd5(0xeb)]()),this[_0x5c3fd5(0xea)](_0x5c3fd5(0xdb),_0x12bf56),this[_0x5c3fd5(0xdf)]({'tag':_0x5c3fd5(0xd9),'attributes':{'class':['ck',_0x5c3fd5(0xe9),_0x5c3fd5(0xd0)],'tabindex':'-1'},'children':this[_0x5c3fd5(0xe2)]}),this[_0x5c3fd5(0xee)](),this[_0x5c3fd5(0xf7)](_0x5c3fd5(0xd7),()=>{const _0x4b1702=_0x5c3fd5;this[_0x4b1702(0xf1)](this[_0x4b1702(0xce)],_0x38e2b8=>{const _0x418c41=_0x4b1702;this[_0x418c41(0xd8)](_0x38e2b8);});}),this['on'](_0x5c3fd5(0xe8),()=>{const _0x1cf299=_0x5c3fd5;this[_0x1cf299(0xee)]();}),this[_0x5c3fd5(0xe3)]();}[_0x36ea26(0xfd)](){const _0x51da3a=_0x36ea26;this[_0x51da3a(0xce)][_0x51da3a(0xfd)]();}[_0x36ea26(0xee)](){const _0x5edb47=_0x36ea26;switch(this[_0x5edb47(0xe2)][_0x5edb47(0xff)](),this[_0x5edb47(0xdb)]){case _0x5edb47(0xd4):this[_0x5edb47(0xe2)][_0x5edb47(0xdd)](this[_0x5edb47(0xef)]);break;case _0x5edb47(0xec):this[_0x5edb47(0xe2)][_0x5edb47(0xdd)](this[_0x5edb47(0xdc)]);break;case _0x5edb47(0xfc):this[_0x5edb47(0xe2)][_0x5edb47(0xfb)]([this[_0x5edb47(0xe7)],this[_0x5edb47(0xd2)]]);}}[_0x36ea26(0xf1)](_0xe466b7,_0x2f25d4){const _0x1ccf9e=_0x36ea26,_0x1e2e02=_0x1ccf9e(0xf3),_0x328dea=_0xe466b7[_0x1ccf9e(0xd5)](_0x1e2e02);if(_0x328dea)return _0x2f25d4(_0x328dea);const _0x59c3cf=new MutationObserver(_0x98266a=>{const _0x16e9d3=_0x1ccf9e,_0x4da0c2=_0x98266a[_0x16e9d3(0xfe)](_0x313613=>_0x313613[_0x16e9d3(0x100)]===_0xe466b7&&_0x313613[_0x16e9d3(0xed)][_0x16e9d3(0xcd)]>0x0&&_0x313613[_0x16e9d3(0xed)][0x0][_0x16e9d3(0xde)][_0x16e9d3(0xf4)]()===_0x1e2e02);_0x4da0c2[_0x16e9d3(0xcd)]&&(_0x59c3cf[_0x16e9d3(0xd3)](),_0x2f25d4(_0x4da0c2[0x0][_0x16e9d3(0xed)][0x0]));});_0x59c3cf[_0x1ccf9e(0xcf)](_0xe466b7,{'childList':!0x0,'subtree':!0x0});}[_0x36ea26(0xd8)](_0x548219){const _0x18ce35=_0x36ea26;_0x548219[_0x18ce35(0x103)](_0x18ce35(0xf0),_0x348198=>{const _0x2bcb3d=_0x18ce35;this[_0x2bcb3d(0xf8)](_0x2bcb3d(0xf0),{'imageSrc':_0x348198[_0x2bcb3d(0x102)][_0x2bcb3d(0xe1)]});}),_0x548219[_0x18ce35(0x103)](_0x18ce35(0xd1),()=>{const _0x4a573a=_0x18ce35;this[_0x4a573a(0xf8)](_0x4a573a(0xd1));});}[_0x36ea26(0xe3)](){const _0x4c8588=_0x36ea26;this[_0x4c8588(0xdc)]['on'](_0x4c8588(0xe6),()=>{const _0x3c85fa=_0x4c8588;this[_0x3c85fa(0xf8)](_0x3c85fa(0xe6));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25a268=_0x391c;function _0x3d6c(){const _0x256765=['getSelectedElement','get','isEnabled','requires','imageEditController','set','config','625206SjBNUK','8491kQSuaA','1726900gbJwLS','element','execute','plugins','204vzfbfa','imageInline','editor','uploadcare.allowExternalImagesEditing','1450520izoIAo','model','selection','bind','349872FPKewl','850341IEDdNR','_isEditable','imageBlock','document','refresh','isActive','998964gMRpze','unbind'];_0x3d6c=function(){return _0x256765;};return _0x3d6c();}(function(_0x397a99,_0x30b55c){const _0x2f1991=_0x391c,_0x21f160=_0x397a99();while(!![]){try{const _0x38e912=parseInt(_0x2f1991(0x185))/0x1+-parseInt(_0x2f1991(0x195))/0x2+parseInt(_0x2f1991(0x186))/0x3+-parseInt(_0x2f1991(0x18c))/0x4+parseInt(_0x2f1991(0x197))/0x5+parseInt(_0x2f1991(0x17d))/0x6*(-parseInt(_0x2f1991(0x196))/0x7)+-parseInt(_0x2f1991(0x181))/0x8;if(_0x38e912===_0x30b55c)break;else _0x21f160['push'](_0x21f160['shift']());}catch(_0x41bd1c){_0x21f160['push'](_0x21f160['shift']());}}}(_0x3d6c,0x2f506));import{Command as _0x12e7a6}from'ckeditor5/src/core.js';function _0x391c(_0x21288d,_0x29c33f){const _0x3d6c90=_0x3d6c();return _0x391c=function(_0x391c8f,_0x174a16){_0x391c8f=_0x391c8f-0x17c;let _0x379a04=_0x3d6c90[_0x391c8f];return _0x379a04;},_0x391c(_0x21288d,_0x29c33f);}import{Dialog as _0x173efb}from'ckeditor5/src/ui.js';import _0x247ade from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3965d0}from'../utils/editingutils.js';export default class J extends _0x12e7a6{static get[_0x25a268(0x191)](){return[_0x173efb];}constructor(_0x4acc37){const _0x528faf=_0x25a268;super(_0x4acc37),this[_0x528faf(0x192)]=void 0x0,this[_0x528faf(0x187)]=_0x3965d0(_0x4acc37[_0x528faf(0x194)][_0x528faf(0x18f)](_0x528faf(0x180))||[]),this[_0x528faf(0x193)]({'isActive':!0x1});}[_0x25a268(0x18a)](){const _0x15ec88=_0x25a268,_0x363396=this[_0x15ec88(0x17f)][_0x15ec88(0x182)][_0x15ec88(0x189)][_0x15ec88(0x183)][_0x15ec88(0x18e)]();this[_0x15ec88(0x190)]=this[_0x15ec88(0x187)](_0x363396);}[_0x25a268(0x199)](){const _0x40b82f=_0x25a268;this[_0x40b82f(0x192)]&&(this[_0x40b82f(0x18d)](_0x40b82f(0x18b)),this[_0x40b82f(0x192)]=void 0x0);const _0x48f921=this[_0x40b82f(0x17f)][_0x40b82f(0x182)][_0x40b82f(0x189)][_0x40b82f(0x183)][_0x40b82f(0x18e)]();_0x48f921&&(_0x48f921['is'](_0x40b82f(0x198),_0x40b82f(0x188))||_0x48f921['is'](_0x40b82f(0x198),_0x40b82f(0x17e)))&&(this[_0x40b82f(0x192)]=new _0x247ade(this[_0x40b82f(0x17f)],this[_0x40b82f(0x17f)][_0x40b82f(0x17c)][_0x40b82f(0x18f)](_0x173efb),_0x48f921),this[_0x40b82f(0x184)](_0x40b82f(0x18b))['to'](this[_0x40b82f(0x192)],_0x40b82f(0x18b)));}}
|