@ckeditor/ckeditor5-uploadcare 0.0.0-internal-20251211.0 → 0.0.0-internal-20260121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +2 -2
- package/README.md +1 -1
- package/build/uploadcare.js +3 -3
- package/dist/index-content.css +1 -1
- package/dist/index-editor.css +41 -79
- package/dist/index.css +95 -85
- package/dist/index.js +4 -4
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +1 -1
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/be.d.ts +1 -1
- package/dist/translations/be.js +2 -2
- package/dist/translations/be.umd.js +2 -2
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +1 -1
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +1 -1
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +1 -1
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +1 -1
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +1 -1
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +1 -1
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +1 -1
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +1 -1
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +1 -1
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +1 -1
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +1 -1
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +1 -1
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +1 -1
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +1 -1
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/be.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +10 -10
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +2 -2
- package/src/ui/uploadcarecontroller.d.ts +1 -1
- package/src/ui/uploadcarecontroller.js +3 -3
- package/src/ui/uploadcareformview.d.ts +1 -1
- package/src/ui/uploadcareformview.js +2 -2
- package/src/uploadcare.d.ts +1 -1
- package/src/uploadcare.js +2 -2
- package/src/uploadcarecommand.d.ts +1 -1
- package/src/uploadcarecommand.js +2 -2
- package/src/uploadcareconfig.d.ts +1 -1
- package/src/uploadcareconfig.js +2 -2
- package/src/uploadcareediting.d.ts +1 -1
- package/src/uploadcareediting.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +3 -3
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +2 -2
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +2 -2
- package/src/uploadcareimageedit.d.ts +1 -1
- package/src/uploadcareimageedit.js +2 -2
- package/src/uploadcareui.d.ts +1 -1
- package/src/uploadcareui.js +2 -2
- package/src/uploadcareuploadadapter.d.ts +1 -1
- package/src/uploadcareuploadadapter.js +2 -2
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +2 -2
- package/src/utils/dialogfocusmanagerview.d.ts +1 -1
- package/src/utils/dialogfocusmanagerview.js +2 -2
- package/src/utils/editingutils.d.ts +1 -1
- package/src/utils/editingutils.js +2 -2
- package/src/utils/isancestor.d.ts +1 -1
- package/src/utils/isancestor.js +2 -2
- package/src/utils/uploadutils.d.ts +1 -1
- package/src/utils/uploadutils.js +2 -2
- package/theme/uploadcare-form.css +5 -2
- package/theme/uploadcare-theme.css +1 -1
- package/theme/uploadcareimageedit.css +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x5af20e=_0x58bc;function _0x3765(){const _0x33986c=['element','attributes','setSelection','1266748TMbxmP','imageInline','editing','imageBlock','ucContextId','execute','getSelectedElement','initFlow','1776075zaMzoe','_type','stopListening','done-click','Insert','2WqIHcE','_initDialog','getLastPosition','change','_dialog','uploadCare','EDITOR_TOP_CENTER','source-list','configElement','plugins','width','view','_insertImage','719130laqiMU','idle','Replace','getAPI','allEntries','_initListeners','insertImage','_insertAsset','hide','focus','ctxElement','status','text','Local','setAttribute','getOutputCollectionState','stopDelegating','imageInfo','_editing','setCurrentActivity','1394400DqTkeL','_formView','linkHref','get','uuid','removeSelectionAttribute','length','model','isOpen','show','11609752bzvnXU','detail','_api','selection','doneFlow','1953399sDhbNI','_editor','addEventListener','image','destroy','removeAllFiles','488789yKpbDY','document'];_0x3765=function(){return _0x33986c;};return _0x3765();}(function(_0x9846a2,_0x3d3db5){const _0x18b0ca=_0x58bc,_0x363113=_0x9846a2();while(!![]){try{const _0x46a0bb=parseInt(_0x18b0ca(0x1ea))/0x1*(-parseInt(_0x18b0ca(0x1fc))/0x2)+-parseInt(_0x18b0ca(0x1e4))/0x3+-parseInt(_0x18b0ca(0x1ef))/0x4+parseInt(_0x18b0ca(0x1f7))/0x5+-parseInt(_0x18b0ca(0x209))/0x6+parseInt(_0x18b0ca(0x1d5))/0x7+parseInt(_0x18b0ca(0x1df))/0x8;if(_0x46a0bb===_0x3d3db5)break;else _0x363113['push'](_0x363113['shift']());}catch(_0x1a6881){_0x363113['push'](_0x363113['shift']());}}}(_0x3765,0x68c72));import{IconUploadcareImageUpload as _0x42b8ed}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x211bf3}from'ckeditor5/src/utils.js';import{Dialog as _0x55a5b1,DialogViewPosition as _0x28cbec}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x4473c5}from'./uploadcareformview.js';import{UploadcareSource as _0x279f2a}from'../uploadcareconfig.js';import{getTranslation as _0x3e0481}from'../utils/common-translations.js';import{getImageUrls as _0x1dd8c2,getImageDimension as _0x1937e5}from'../utils/editingutils.js';import{isAncestor as _0x3a1f24}from'../utils/isancestor.js';function _0x58bc(_0x2c3630,_0x3a31b0){const _0x376537=_0x3765();return _0x58bc=function(_0x58bc86,_0x505c15){_0x58bc86=_0x58bc86-0x1d0;let _0x4b8e43=_0x376537[_0x58bc86];return _0x4b8e43;},_0x58bc(_0x2c3630,_0x3a31b0);}export class UploadcareController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x211bf3(){[_0x5af20e(0x1e5)];[_0x5af20e(0x200)];[_0x5af20e(0x1d3)];[_0x5af20e(0x1e1)];[_0x5af20e(0x1f8)]=null;[_0x5af20e(0x1d6)]=null;constructor(_0x3a5834,_0x188523,_0x392c8a){const _0x3acd40=_0x5af20e;super(),this[_0x3acd40(0x1e5)]=_0x3a5834,this[_0x3acd40(0x1d3)]=_0x188523,this[_0x3acd40(0x200)]=_0x3a5834[_0x3acd40(0x205)][_0x3acd40(0x1d8)](_0x55a5b1),this[_0x3acd40(0x1e1)]=_0x188523[_0x3acd40(0x213)][_0x3acd40(0x20c)](),this[_0x3acd40(0x1f8)]=_0x392c8a,this[_0x3acd40(0x1d3)][_0x3acd40(0x204)][_0x3acd40(0x217)](_0x3acd40(0x203),this[_0x3acd40(0x1f8)]),this[_0x3acd40(0x1fd)](),this[_0x3acd40(0x20e)](),this[_0x3acd40(0x1e1)][_0x3acd40(0x1f6)]();}[_0x5af20e(0x1e8)](){const _0x59a21e=_0x5af20e;this[_0x59a21e(0x1d6)]&&(this[_0x59a21e(0x1d6)][_0x59a21e(0x1e8)](),this[_0x59a21e(0x1d6)]=null),this[_0x59a21e(0x1e1)]&&this[_0x59a21e(0x1e1)][_0x59a21e(0x1e3)](),this[_0x59a21e(0x1f9)](),this[_0x59a21e(0x1d1)]();}[_0x5af20e(0x1fd)](){const _0x47da95=_0x5af20e,{locale:_0x131492,model:_0x5968e2}=this[_0x47da95(0x1e5)],_0x4b4d78=_0x5968e2[_0x47da95(0x1eb)][_0x47da95(0x1e2)][_0x47da95(0x1f5)](),_0x54f5e6=_0x4b4d78&&(_0x4b4d78['is'](_0x47da95(0x1ec),_0x47da95(0x1f2))||_0x4b4d78['is'](_0x47da95(0x1ec),_0x47da95(0x1f0)));this[_0x47da95(0x1d6)]=new _0x4473c5(_0x131492,this[_0x47da95(0x1d3)][_0x47da95(0x1f3)]),this[_0x47da95(0x200)][_0x47da95(0x1de)]({'id':_0x47da95(0x201),'icon':_0x42b8ed,'title':_0x3e0481(_0x131492,this[_0x47da95(0x1f8)],_0x54f5e6?_0x47da95(0x20b):_0x47da95(0x1fb))[_0x47da95(0x215)],'content':this[_0x47da95(0x1d6)],'position':_0x28cbec[_0x47da95(0x202)],'isModal':!0x0,'onShow':()=>{const _0x1c9490=_0x47da95;this[_0x1c9490(0x1d6)][_0x1c9490(0x212)]();},'onHide':()=>{const _0x1b6c0a=_0x47da95;this[_0x1b6c0a(0x1e1)][_0x1b6c0a(0x1e9)](),this[_0x1b6c0a(0x1e5)][_0x1b6c0a(0x1f1)][_0x1b6c0a(0x207)][_0x1b6c0a(0x212)](),this[_0x1b6c0a(0x1e8)]();},'keystrokeHandlerOptions':{'filter':_0x4e96eb=>!_0x3a1f24(_0x4e96eb,this[_0x47da95(0x1d6)][_0x47da95(0x1ec)])}});}[_0x5af20e(0x20e)](){const _0xa10272=_0x5af20e;this[_0xa10272(0x1d3)][_0xa10272(0x213)][_0xa10272(0x1e6)](_0xa10272(0x1fa),()=>{const _0x222a17=_0xa10272,{allEntries:_0x33c2c8}=this[_0x222a17(0x1e1)][_0x222a17(0x1d0)]();this[_0x222a17(0x1e5)][_0x222a17(0x1dc)][_0x222a17(0x1ff)](_0x5cf051=>{const _0x3432c1=_0x222a17,_0x16dfef=_0x33c2c8[_0x3432c1(0x1db)];for(const _0x4684dc of _0x33c2c8){const _0x1e8775=_0x4684dc===_0x33c2c8[_0x16dfef-0x1],{cdnUrl:_0x76801c,fileInfo:_0x5772c5}=_0x4684dc;if(!_0x76801c||!_0x5772c5)continue;const {width:_0x274de8,height:_0x526de9}=_0x5772c5[_0x3432c1(0x1d2)],_0x4ef1e3=_0x1937e5(_0x76801c,_0x274de8,_0x526de9),_0x252eb3=_0x1dd8c2(_0x76801c,_0x4ef1e3[_0x3432c1(0x206)]),_0x284548={'id':_0x5772c5[_0x3432c1(0x1d9)],'type':_0x3432c1(0x1e7),'attributes':{'imageDimension':_0x4ef1e3,..._0x252eb3}};this[_0x3432c1(0x210)](_0x284548,_0x1e8775,_0x5cf051);}}),this[_0x222a17(0x200)][_0x222a17(0x211)]();}),this[_0xa10272(0x1d3)][_0xa10272(0x213)][_0xa10272(0x1e6)](_0xa10272(0x1ff),_0x268bb5=>{const _0x4b25bb=_0xa10272;_0x4b25bb(0x20a)===_0x268bb5[_0x4b25bb(0x1e0)][_0x4b25bb(0x214)]&&!_0x268bb5[_0x4b25bb(0x1e0)][_0x4b25bb(0x20d)][_0x4b25bb(0x1db)]&&this[_0x4b25bb(0x200)][_0x4b25bb(0x1dd)]&&(this[_0x4b25bb(0x1f8)]===_0x279f2a[_0x4b25bb(0x216)]?this[_0x4b25bb(0x1e1)][_0x4b25bb(0x1d4)](_0x279f2a[_0x4b25bb(0x216)]):this[_0x4b25bb(0x1e1)][_0x4b25bb(0x1f6)]());});}[_0x5af20e(0x210)](_0x18e564,_0x4e6f50,_0x4a4ff2){const _0x4fa858=_0x5af20e,_0x2a27f9=this[_0x4fa858(0x1e5)][_0x4fa858(0x1dc)][_0x4fa858(0x1eb)][_0x4fa858(0x1e2)],_0x558ac7=_0x2a27f9[_0x4fa858(0x1f5)](),_0x2cd721=!(!_0x558ac7||!_0x558ac7['is'](_0x4fa858(0x1ec),_0x4fa858(0x1f0)));_0x4a4ff2[_0x4fa858(0x1da)](_0x4fa858(0x1d7)),this[_0x4fa858(0x208)](_0x18e564,_0x2cd721),_0x4e6f50||_0x4a4ff2[_0x4fa858(0x1ee)](_0x2a27f9[_0x4fa858(0x1fe)]());}[_0x5af20e(0x208)](_0x509667,_0x1209b5){const _0x534bb8=_0x5af20e,_0x508dcf=this[_0x534bb8(0x1e5)],{imageDimension:_0x352847,imageFallbackUrl:_0x58dee6,imageSources:_0x5938db}=_0x509667[_0x534bb8(0x1ed)];_0x508dcf[_0x534bb8(0x1f4)](_0x534bb8(0x20f),{'imageType':_0x1209b5?_0x534bb8(0x1f0):null,'source':{'uploadcareImageId':_0x509667['id'],'src':_0x58dee6,'sources':_0x5938db,..._0x352847}});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2f6a(_0x3c19a4,_0x42f452){var _0x5318eb=_0x5318();return _0x2f6a=function(_0x2f6a3c,_0x3c7a62){_0x2f6a3c=_0x2f6a3c-0xda;var _0x572381=_0x5318eb[_0x2f6a3c];return _0x572381;},_0x2f6a(_0x3c19a4,_0x42f452);}function _0x5318(){var _0x2479be=['setTemplate','12EAGYQv','78KkPYfl','73265tnPiWB','7635251QFYcYX','ck-uploadcare-form','element','uc-light','675286WDEHHt','2qKBxNs','getFocusableElement','uc-file-uploader-inline','uploader-','11Mxbbnq','1672350vIrBbM','389354yHTYCN','focus','div','2299540NCPXaF','ck-reset_all-excluded','117KzugmI','ck-uploadcare-theme','538952bDOQBV','184PISviX'];_0x5318=function(){return _0x2479be;};return _0x5318();}var _0x36dca7=_0x2f6a;(function(_0xccd37a,_0x43251f){var _0x2af357=_0x2f6a,_0x321f8b=_0xccd37a();while(!![]){try{var _0xab48a1=-parseInt(_0x2af357(0xe2))/0x1*(parseInt(_0x2af357(0xe1))/0x2)+-parseInt(_0x2af357(0xe7))/0x3+parseInt(_0x2af357(0xf0))/0x4*(-parseInt(_0x2af357(0xdc))/0x5)+parseInt(_0x2af357(0xdb))/0x6*(parseInt(_0x2af357(0xe8))/0x7)+parseInt(_0x2af357(0xef))/0x8*(parseInt(_0x2af357(0xed))/0x9)+-parseInt(_0x2af357(0xeb))/0xa*(-parseInt(_0x2af357(0xe6))/0xb)+-parseInt(_0x2af357(0xda))/0xc*(-parseInt(_0x2af357(0xdd))/0xd);if(_0xab48a1===_0x43251f)break;else _0x321f8b['push'](_0x321f8b['shift']());}catch(_0xd0c8f6){_0x321f8b['push'](_0x321f8b['shift']());}}}(_0x5318,0x7c5ce));import{DialogFocusManagerView as _0x22acd}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x22acd{constructor(_0x3a9f70,_0x36ca4a){var _0x2a83a6=_0x2f6a;super(_0x3a9f70),this[_0x2a83a6(0xf1)]({'tag':_0x2a83a6(0xea),'attributes':{'class':['ck',_0x2a83a6(0xec),_0x2a83a6(0xde)],'tabindex':'-1'},'children':[{'tag':_0x2a83a6(0xe4),'attributes':{'class':[_0x2a83a6(0xe0),_0x2a83a6(0xee)],'ctx-name':_0x2a83a6(0xe5)+_0x36ca4a}},this[_0x2a83a6(0xe3)]()]});}[_0x36dca7(0xe9)](){var _0x317108=_0x36dca7;this[_0x317108(0xdf)][_0x317108(0xe9)]();}}
|
package/src/uploadcare.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/uploadcare.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x52f306=_0x426c;(function(_0x2f3694,_0x36d60d){const _0x4240b4=_0x426c,_0x189de2=_0x2f3694();while(!![]){try{const _0x2aa4e9=parseInt(_0x4240b4(0xcf))/0x1+-parseInt(_0x4240b4(0xce))/0x2*(-parseInt(_0x4240b4(0xd8))/0x3)+parseInt(_0x4240b4(0xdd))/0x4*(parseInt(_0x4240b4(0xd1))/0x5)+-parseInt(_0x4240b4(0xe6))/0x6*(-parseInt(_0x4240b4(0xe7))/0x7)+-parseInt(_0x4240b4(0xe2))/0x8*(parseInt(_0x4240b4(0xcb))/0x9)+parseInt(_0x4240b4(0xd9))/0xa+-parseInt(_0x4240b4(0xcc))/0xb;if(_0x2aa4e9===_0x36d60d)break;else _0x189de2['push'](_0x189de2['shift']());}catch(_0x2e7e9d){_0x189de2['push'](_0x189de2['shift']());}}}(_0x3d93,0x231e1));import{Plugin as _0x427bd1}from'ckeditor5/src/core.js';function _0x426c(_0x1b50d7,_0xd96196){const _0x3d938e=_0x3d93();return _0x426c=function(_0x426c02,_0x52ef4c){_0x426c02=_0x426c02-0xcb;let _0x2e6499=_0x3d938e[_0x426c02];return _0x2e6499;},_0x426c(_0x1b50d7,_0xd96196);}import{UploadcareUI as _0x3952d4}from'./uploadcareui.js';import{UploadcareEditing as _0x2ea82d}from'./uploadcareediting.js';import{UploadcareSource as _0x585a6d}from'./uploadcareconfig.js';function _0x3d93(){const _0x44c824=['isPremiumPlugin','define','80368SSgWBX','Local','requires','defineLocale','630WQtaOp','10038NSVdcW','144fQpYUN','6077203aZKIQU','URL','2txoFxB','159989atBbjL','locale','5ilJcst','editor','contentLanguage','defineComponents','isOfficialPlugin','get','Uploadcare','675306dDyrTV','572980cNDXxe','uploadcare.uploader.sourceList','config','pluginName','1056364CezIDX','_defineLocale','uploadcare.locale'];_0x3d93=function(){return _0x44c824;};return _0x3d93();}import*as _0x181e20 from'@uploadcare/file-uploader';export class Uploadcare extends _0x427bd1{static get[_0x52f306(0xe4)](){return[_0x2ea82d,_0x3952d4];}static get[_0x52f306(0xdc)](){const _0x19384e=_0x52f306;return _0x19384e(0xd7);}static get[_0x52f306(0xd5)](){return!0x0;}static get[_0x52f306(0xe0)](){return!0x0;}constructor(_0x403b2d){const _0x1d6ec9=_0x52f306;super(_0x403b2d),_0x403b2d[_0x1d6ec9(0xdb)][_0x1d6ec9(0xe1)](_0x1d6ec9(0xda),[_0x585a6d[_0x1d6ec9(0xe3)],_0x585a6d[_0x1d6ec9(0xcd)]]),_0x181e20[_0x1d6ec9(0xd4)](_0x181e20),this[_0x1d6ec9(0xde)]();}[_0x52f306(0xde)](){const _0x2cb64e=_0x52f306,_0x2ce5f5=this[_0x2cb64e(0xd2)][_0x2cb64e(0xdb)][_0x2cb64e(0xd6)](_0x2cb64e(0xdf)),_0x24f84b=this[_0x2cb64e(0xd2)][_0x2cb64e(0xd0)][_0x2cb64e(0xd3)];_0x2ce5f5&&_0x181e20[_0x2cb64e(0xe5)](_0x24f84b,_0x2ce5f5);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/uploadcarecommand.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x7bcf3f=_0x2db3;function _0x2db3(_0x4c70ce,_0x34f25a){var _0x40a8ae=_0x40a8();return _0x2db3=function(_0x2db33d,_0x58a5d5){_0x2db33d=_0x2db33d-0xea;var _0xddb29f=_0x40a8ae[_0x2db33d];return _0xddb29f;},_0x2db3(_0x4c70ce,_0x34f25a);}(function(_0x35106b,_0x29cdf5){var _0x3c12f0=_0x2db3,_0x37c2f4=_0x35106b();while(!![]){try{var _0x15c998=-parseInt(_0x3c12f0(0xf1))/0x1+-parseInt(_0x3c12f0(0xf4))/0x2*(parseInt(_0x3c12f0(0xeb))/0x3)+-parseInt(_0x3c12f0(0xf9))/0x4*(-parseInt(_0x3c12f0(0xf0))/0x5)+-parseInt(_0x3c12f0(0xef))/0x6*(parseInt(_0x3c12f0(0x100))/0x7)+-parseInt(_0x3c12f0(0xea))/0x8+parseInt(_0x3c12f0(0x101))/0x9+parseInt(_0x3c12f0(0xff))/0xa*(parseInt(_0x3c12f0(0xf8))/0xb);if(_0x15c998===_0x29cdf5)break;else _0x37c2f4['push'](_0x37c2f4['shift']());}catch(_0x56c1cb){_0x37c2f4['push'](_0x37c2f4['shift']());}}}(_0x40a8,0xa75b6));import{Command as _0x12b3b1}from'ckeditor5/src/core.js';import{Dialog as _0x6abbda}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x2920a9}from'./uploadcareediting.js';function _0x40a8(){var _0xc99e7c=['9476456ANEhpa','4788hPoERT','_checkEnabled','insertImage','plugins','18syamOw','5wEvTnH','523824XXRdYx','execute','requires','1162kyudLB','isEnabled','refresh','destroy','11YzbCrh','2243552mQoosp','_controller','_editing','get','commands','editor','22055830nVnkzg','1794289kMIHBM','11912949DXThRx'];_0x40a8=function(){return _0xc99e7c;};return _0x40a8();}import{UploadcareController as _0x3b061a}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x12b3b1{[_0x7bcf3f(0xfb)];[_0x7bcf3f(0xfa)]=null;static get[_0x7bcf3f(0xf3)](){return[_0x6abbda,_0x2920a9];}constructor(_0xfdb817){var _0x2a979c=_0x7bcf3f;super(_0xfdb817),this[_0x2a979c(0xfb)]=_0xfdb817[_0x2a979c(0xee)][_0x2a979c(0xfc)](_0x2920a9);}[_0x7bcf3f(0xf6)](){var _0x23d7c7=_0x7bcf3f;this[_0x23d7c7(0xf5)]=this[_0x23d7c7(0xec)]();}[_0x7bcf3f(0xf2)](_0x2b31c9){var _0x52f080=_0x7bcf3f;this[_0x52f080(0xfa)]&&(this[_0x52f080(0xfa)][_0x52f080(0xf7)](),this[_0x52f080(0xfa)]=null),this[_0x52f080(0xfa)]=new _0x3b061a(this[_0x52f080(0xfe)],this[_0x52f080(0xfb)],_0x2b31c9);}[_0x7bcf3f(0xec)](){var _0x508fe0=_0x7bcf3f;return this[_0x508fe0(0xfe)][_0x508fe0(0xfd)][_0x508fe0(0xfc)](_0x508fe0(0xed))[_0x508fe0(0xf5)];}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/uploadcareconfig.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1f7a66,_0x42628d){var _0x234da2=_0x2bae,_0x4f6414=_0x1f7a66();while(!![]){try{var _0x11d4d4=-parseInt(_0x234da2(0xd8))/0x1*(parseInt(_0x234da2(0xcc))/0x2)+parseInt(_0x234da2(0xc4))/0x3*(parseInt(_0x234da2(0xd3))/0x4)+parseInt(_0x234da2(0xce))/0x5+-parseInt(_0x234da2(0xc8))/0x6*(-parseInt(_0x234da2(0xcb))/0x7)+parseInt(_0x234da2(0xc6))/0x8*(parseInt(_0x234da2(0xd9))/0x9)+-parseInt(_0x234da2(0xda))/0xa+-parseInt(_0x234da2(0xd2))/0xb;if(_0x11d4d4===_0x42628d)break;else _0x4f6414['push'](_0x4f6414['shift']());}catch(_0x39a679){_0x4f6414['push'](_0x4f6414['shift']());}}}(_0x538f,0x738c8));function _0x2bae(_0x3a77f8,_0x7ea9df){var _0x538fa9=_0x538f();return _0x2bae=function(_0x2baec5,_0x414e46){_0x2baec5=_0x2baec5-0xc3;var _0x42a87c=_0x538fa9[_0x2baec5];return _0x42a87c;},_0x2bae(_0x3a77f8,_0x7ea9df);}export var UploadcareSource;function _0x538f(){var _0x4f24a2=['18cPYNit','GPhotos','32PoIAsn','url','6bMutdq','Facebook','facebook','3178231XXhdmT','127790FsCKEz','GDrive','1999560AERtci','Local','gphotos','URL','4104617DkIJnr','86276LIZhYm','dropbox','Dropbox','onedrive','local','1BNaVvI','48213TOFmxo','944570hXPmvJ','OneDrive','gdrive'];_0x538f=function(){return _0x4f24a2;};return _0x538f();}!function(_0x5f01bb){var _0x1c6f32=_0x2bae;_0x5f01bb[_0x1c6f32(0xcf)]=_0x1c6f32(0xd7),_0x5f01bb[_0x1c6f32(0xd1)]=_0x1c6f32(0xc7),_0x5f01bb[_0x1c6f32(0xd5)]=_0x1c6f32(0xd4),_0x5f01bb[_0x1c6f32(0xcd)]=_0x1c6f32(0xc3),_0x5f01bb[_0x1c6f32(0xc9)]=_0x1c6f32(0xca),_0x5f01bb[_0x1c6f32(0xc5)]=_0x1c6f32(0xd0),_0x5f01bb[_0x1c6f32(0xdb)]=_0x1c6f32(0xd6);}(UploadcareSource||(UploadcareSource={}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/uploadcareediting.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x7246a1=_0xc614;function _0xc614(_0xe88b86,_0x442c67){const _0x58b022=_0x58b0();return _0xc614=function(_0xc614c4,_0x5d3966){_0xc614c4=_0xc614c4-0xaf;let _0x5dd73e=_0x58b022[_0xc614c4];return _0x5dd73e;},_0xc614(_0xe88b86,_0x442c67);}(function(_0x3d5082,_0x46db6e){const _0x435193=_0xc614,_0x68cff4=_0x3d5082();while(!![]){try{const _0x185732=-parseInt(_0x435193(0xdf))/0x1+-parseInt(_0x435193(0xb8))/0x2*(parseInt(_0x435193(0xf6))/0x3)+-parseInt(_0x435193(0xb2))/0x4*(parseInt(_0x435193(0xde))/0x5)+-parseInt(_0x435193(0xdb))/0x6+parseInt(_0x435193(0xd2))/0x7+parseInt(_0x435193(0xf0))/0x8+parseInt(_0x435193(0xb1))/0x9;if(_0x185732===_0x46db6e)break;else _0x68cff4['push'](_0x68cff4['shift']());}catch(_0x31bdb1){_0x68cff4['push'](_0x68cff4['shift']());}}}(_0x58b0,0xdf3ed));import{Plugin as _0x25df8b}from'ckeditor5/src/core.js';import{Dialog as _0x1c31b6}from'ckeditor5/src/ui.js';import{createElement as _0x1c201b,global as _0x490fe3,uid as _0xd153b6}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x275ced}from'./uploadcarecommand.js';function _0x58b0(){const _0x376dce=['14605xPSFkh','517003cfbjTV','editing','conversion','body','contentLanguage','href','iconHrefResolver','editor','render','imageInline','fromCharCode','PictureEditing','init','uc-config','once','document','cleanupImage','543800SQsOjn','_configElement','destroy','upcast','_initConfig','querySelector','6249fdWiSJ','for','pluginName','uploadcare.pubkey','add','isOfficialPlugin','\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','extend','execute','afterInit','schema','uploadcareImageId','_initCtx','ctxElement','18359010HTkHWs','1252exmXjQ','true','selection','elementToAttribute','_initSchema','requires','192JUAAQo','replaceImageSource','isPremiumPlugin','uploadcare.uploader','imageBlock','uploadcareImageReplace','view','commands','getAttribute','join','getSelectedElement','isRegistered','downcast','model','closeMax','map','locale','insertImage','attributeToAttribute','get','_initImageProcessingIndicator','_ctxElement','UploadcareEditing','ucContextId','uploadcare','uc-upload-ctx-provider','10509443hiciyM','configElement','removeAttribute','#uc-icon-arrow-down','_initConversion','appendChild','config','uploader-','remove','6381342jiWjFZ','input[uploadcare-file-input]','listenTo'];_0x58b0=function(){return _0x376dce;};return _0x58b0();}import{UploadcareUploadAdapter as _0x3fb762}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x545154}from'./utils/editingutils.js';export class UploadcareEditing extends _0x25df8b{[_0x7246a1(0xf1)]=null;[_0x7246a1(0xcd)]=null;static get[_0x7246a1(0xf8)](){const _0x2bc404=_0x7246a1;return _0x2bc404(0xce);}static get[_0x7246a1(0xb7)](){const _0x386c73=_0x7246a1;return[_0x386c73(0xea),_0x3fb762,_0x1c31b6];}static get[_0x7246a1(0xfb)](){return!0x0;}static get[_0x7246a1(0xba)](){return!0x0;}[_0x7246a1(0xcf)];get[_0x7246a1(0xd3)](){const _0x37166c=_0x7246a1;return this[_0x37166c(0xf1)];}get[_0x7246a1(0xb0)](){const _0x5754fa=_0x7246a1;return this[_0x5754fa(0xcd)];}constructor(_0x2089a9){const _0x36ab3d=_0x7246a1;super(_0x2089a9),this[_0x36ab3d(0xcf)]=_0xd153b6();}[_0x7246a1(0xeb)](){const _0x3dde5d=_0x7246a1,_0x2b7826=this[_0x3dde5d(0xe6)];_0x2b7826[_0x3dde5d(0xbf)][_0x3dde5d(0xfa)](_0x3dde5d(0xd0),new _0x275ced(_0x2b7826));}[_0x7246a1(0x100)](){const _0x5d22e0=_0x7246a1;this[_0x5d22e0(0xb6)](),this[_0x5d22e0(0xd6)](),this[_0x5d22e0(0xf4)](),this[_0x5d22e0(0xaf)](),this[_0x5d22e0(0xcc)](),this[_0x5d22e0(0xdd)](this[_0x5d22e0(0xe6)],_0x5d22e0(0xf2),()=>{const _0x41b459=_0x5d22e0;this[_0x41b459(0xf1)]&&(this[_0x41b459(0xf1)][_0x41b459(0xda)](),this[_0x41b459(0xf1)]=null),this[_0x41b459(0xcd)]&&(this[_0x41b459(0xcd)][_0x41b459(0xda)](),this[_0x41b459(0xcd)]=null);const _0x5a88e6=_0x490fe3[_0x41b459(0xee)][_0x41b459(0xf5)](_0x41b459(0xdc));_0x5a88e6&&_0x5a88e6[_0x41b459(0xda)]();}),async function(_0x1c1aef){const _0x52e55a=_0x3351b9([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x5ef953=0x535f8c3a,_0x5d6038=0x5358f7a2^_0x5ef953,_0x3a4b4e=window[_0x3351b9([0x44,0x61,0x74,0x65])][_0x3351b9([0x6e,0x6f,0x77])](),_0x550437=_0x1c1aef[_0x3351b9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x592695=new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x240af1=>{_0x550437[_0x3351b9([0x6f,0x6e,0x63,0x65])](_0x3351b9([0x72,0x65,0x61,0x64,0x79]),_0x240af1);}),_0x3252d1={[_0x3351b9([0x6b,0x74,0x79])]:_0x3351b9([0x45,0x43]),[_0x3351b9([0x75,0x73,0x65])]:_0x3351b9([0x73,0x69,0x67]),[_0x3351b9([0x63,0x72,0x76])]:_0x3351b9([0x50,0x2d,0x32,0x35,0x36]),[_0x3351b9([0x78])]:_0x3351b9([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]),[_0x3351b9([0x79])]:_0x3351b9([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]),[_0x3351b9([0x61,0x6c,0x67])]:_0x3351b9([0x45,0x53,0x32,0x35,0x36])},_0x58c2a5=_0x550437[_0x3351b9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3351b9([0x67,0x65,0x74])](_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bc78f(){let _0x34254a,_0x2a49b7=null,_0x12f02e=null;try{if(_0x58c2a5==_0x3351b9([0x47,0x50,0x4c]))return _0x3351b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34254a=_0x1878be(),!_0x34254a)return _0x3351b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34254a[_0x3351b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12f02e=_0x1b0988(_0x34254a[_0x3351b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34254a[_0x3351b9([0x6a,0x74,0x69])])),await _0x3f8cad()?_0x385964()?_0x13bc82()?_0x3351b9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x293373()?(_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3351b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a49b7=_0x19ea79(_0x3351b9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3351b9([0x74,0x72,0x69,0x61,0x6c])&&(_0x2a49b7=_0x19ea79(_0x3351b9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e58a8()):_0x3351b9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3351b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3351b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3351b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13bc82(){const _0xc1b905=[_0x3351b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3351b9([0x74,0x72,0x69,0x61,0x6c])][_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a4b4e/0x3e8:0xe10*_0x5d6038;return _0x34254a[_0x3351b9([0x65,0x78,0x70])]<_0xc1b905;}function _0x385964(){const _0x28f61e=_0x34254a[_0x3351b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28f61e&&(!!_0x28f61e[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3351b9([0x2a]))||!!_0x28f61e[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3351b9([0x55,0x50,0x4c,0x43])));}function _0x293373(){const _0x30a5df=_0xc614,_0x5e67f5=_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e67f5||0x0==_0x5e67f5[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x119360}=new URL(window[_0x3351b9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x30a5df(0xe4)]);if(_0x5e67f5[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x119360))return!0x0;const _0x5e9f00=_0x119360[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e]));return _0x5e67f5[_0x3351b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5236f8=>_0x5236f8[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3351b9([0x2a])))[_0x3351b9([0x6d,0x61,0x70])](_0x4500a7=>_0x4500a7[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e])))[_0x3351b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x104ced=>_0x104ced[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e9f00[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3351b9([0x6d,0x61,0x70])](_0x4959fa=>Array(_0x5e9f00[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4959fa[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3351b9([0x66,0x69,0x6c,0x6c])](_0x4959fa[0x0]===_0x3351b9([0x2a])?_0x3351b9([0x2a]):'')[_0x3351b9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4959fa))[_0x3351b9([0x73,0x6f,0x6d,0x65])](_0x2123a3=>_0x5e9f00[_0x3351b9([0x65,0x76,0x65,0x72,0x79])]((_0x4f80fc,_0x43e67e)=>_0x2123a3[_0x43e67e]===_0x4f80fc||_0x2123a3[_0x43e67e]===_0x3351b9([0x2a])));}function _0x3e58a8(){return _0x2a49b7&&_0x12f02e?new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9e29b1,_0x4d8a22)=>{_0x2a49b7[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x9e29b1,_0x4d8a22),_0x12f02e[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x164399=>{_0x164399!=_0x3351b9([0x56,0x61,0x6c,0x69,0x64])&&_0x9e29b1(_0x164399);},_0x4d8a22);}):_0x2a49b7||_0x12f02e||_0x3351b9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b0988(_0x5ef2e3,_0x14b8b4){return new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33b334=>{if(_0x39c36f())return _0x33b334(_0x3351b9([0x56,0x61,0x6c,0x69,0x64]));_0x1c8589(),_0x550437[_0x3351b9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3351b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6d6dd6=!0x1;const _0x49abae=_0xd153b6();function _0x2177e8(_0x2ad1ab){return!!_0x2ad1ab&&(typeof _0x2ad1ab===_0x3351b9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ad1ab===_0x3351b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ad1ab[_0x3351b9([0x74,0x68,0x65,0x6e])]===_0x3351b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ad1ab[_0x3351b9([0x63,0x61,0x74,0x63,0x68])]===_0x3351b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4bdb40(_0x3cf719){_0x2dd1f0(_0x3cf719)[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x504144=>{if(!_0x504144||_0x504144[_0x3351b9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3351b9([0x6f,0x6b]))return _0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x309061(_0x2e9e6f(_0x49abae+_0x14b8b4))!=_0x504144[_0x3351b9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3351b9([0x56,0x61,0x6c,0x69,0x64]);})[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x404ced=>(_0x4f9b55(),_0x404ced),()=>{const _0x473395=_0x52d41f();return null==_0x473395?(_0x4f9b55(),_0x3351b9([0x56,0x61,0x6c,0x69,0x64])):_0x3351b9(_0x3a4b4e-_0x473395>(0x7753083a^_0x5ef953)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x33b334)[_0x3351b9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33b334(_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf63ceb=0x536962ba^_0x5ef953;function _0x4f9b55(){const _0x33c063=_0x3351b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x309061(_0x2e9e6f(_0x5ef2e3)),_0x59c981=_0x428f14(_0x309061(window[_0x3351b9([0x4d,0x61,0x74,0x68])][_0x3351b9([0x63,0x65,0x69,0x6c])](_0x3a4b4e/_0xf63ceb)));window[_0x3351b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3351b9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33c063,_0x59c981);}function _0x52d41f(){const _0x8d5beb=_0x3351b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x309061(_0x2e9e6f(_0x5ef2e3)),_0x35e3d1=window[_0x3351b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3351b9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8d5beb);return _0x35e3d1?window[_0x3351b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x428f14(_0x35e3d1),0x10)*_0xf63ceb:null;}function _0x2dd1f0(_0x37c67b){return new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22708a,_0x354825)=>{_0x37c67b[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x22708a,_0x354825),window[_0x3351b9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x354825,0x535e58fa^_0x5ef953);});}}_0x550437[_0x3351b9([0x6f,0x6e])](_0x3351b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x601ddf,_0x52138b)=>{if(_0x52138b[0x0]!=_0x5ef2e3)return _0x33b334(_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52138b[0x1]={..._0x52138b[0x1],[_0x3351b9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49abae};},{[_0x3351b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3351b9([0x68,0x69,0x67,0x68])}),_0x550437[_0x3351b9([0x6f,0x6e])](_0x3351b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ff2ae=>{_0x2177e8(_0x4ff2ae[_0x3351b9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6d6dd6=!0x0,_0x4bdb40(_0x4ff2ae[_0x3351b9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3351b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3351b9([0x6c,0x6f,0x77])}),_0x592695[_0x3351b9([0x74,0x68,0x65,0x6e])](()=>{_0x6d6dd6||_0x33b334(_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39c36f(){return _0x550437[_0x3351b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3351b9([0x76,0x69,0x65,0x77])][_0x3351b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3351b9([0x61,0x75,0x74,0x6f]);}function _0x1c8589(){_0x550437[_0x3351b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3351b9([0x76,0x69,0x65,0x77])][_0x3351b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3351b9([0x61,0x75,0x74,0x6f]);}}function _0x19ea79(_0x52d8c7){const _0x5fbd40=[new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b54f6=>setTimeout(_0x3b54f6,0x5356b2f6^_0x5ef953)),_0x592695[_0x3351b9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x562406=>{let _0x28ccc0=0x0;_0x550437[_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3351b9([0x6f,0x6e])](_0x3351b9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c67fd,_0x177110)=>{_0x177110[0x0][_0x3351b9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28ccc0++,_0x28ccc0==(0x535f8dc2^_0x5ef953)&&(_0x562406(),_0x2c67fd[_0x3351b9([0x6f,0x66,0x66])]());});}))];return window[_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3351b9([0x72,0x61,0x63,0x65])](_0x5fbd40)[_0x3351b9([0x74,0x68,0x65,0x6e])](()=>_0x52d8c7);}async function _0x45770d(){await _0x592695,_0x550437[_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3351b9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a7734,_0x550437[_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3351b9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a7734,_0x550437[_0x3351b9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c28bb(_0xa0e0df){const _0x8987f4=_0x331346();_0x550437[_0x8987f4]=_0x3351b9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa0e0df,_0xa0e0df!=_0x3351b9([0x56,0x61,0x6c,0x69,0x64])&&_0x45770d();}function _0x331346(){const _0x1a1a1d=window[_0x3351b9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3351b9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3351b9([0x6e,0x6f,0x77])]())[_0x3351b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3351b9([0x2e]),'');let _0x864acf=_0x3351b9([0x68]);for(let _0x51948a=0x0;_0x51948a<_0x1a1a1d[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51948a+=0x2){let _0x2abdd9=window[_0x3351b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1a1d[_0x3351b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51948a,_0x51948a+0x2));_0x2abdd9>=_0x52e55a[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2abdd9-=_0x52e55a[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x864acf+=_0x52e55a[_0x2abdd9];}return _0x864acf;}function _0x1878be(){const _0x4259c5=_0x58c2a5[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e]));if(0x3!=_0x4259c5[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b22bd(_0x4259c5[0x1]);function _0x2b22bd(_0x54cb06){const _0x5414f4=_0xd3471e(_0x54cb06);return _0x5414f4&&_0x484618()?_0x5414f4:null;function _0x484618(){const _0x27184f=_0x5414f4[_0x3351b9([0x6a,0x74,0x69])],_0x2c83e9=window[_0x3351b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27184f[_0x3351b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27184f[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e7ae7={..._0x5414f4,[_0x3351b9([0x6a,0x74,0x69])]:_0x27184f[_0x3351b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27184f[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e7ae7[_0x3351b9([0x76,0x63])],_0x2e9e6f(_0x2e7ae7)==_0x2c83e9;}}}async function _0x3f8cad(){let _0x2d1c84=!0x0;try{const _0x2152ea=_0x58c2a5[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e])),[_0x10c918,_0x13d4fe,_0x2f2f2d]=_0x2152ea;return _0x2e2a05(_0x10c918),await _0x44d5ae(_0x10c918,_0x13d4fe,_0x2f2f2d),_0x2d1c84;}catch{return!0x1;}function _0x2e2a05(_0x439394){const _0x5ed1ee=_0xd3471e(_0x439394);_0x5ed1ee&&_0x5ed1ee[_0x3351b9([0x61,0x6c,0x67])]==_0x3351b9([0x45,0x53,0x32,0x35,0x36])||(_0x2d1c84=!0x1);}async function _0x44d5ae(_0x3d5525,_0xcd2d2d,_0x4375f5){const _0x24c70a=window[_0x3351b9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3351b9([0x66,0x72,0x6f,0x6d])](_0xb4cbe0(_0x4375f5),_0x30b516=>_0x30b516[_0x3351b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x571584=new window[(_0x3351b9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3351b9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d5525+_0x3351b9([0x2e])+_0xcd2d2d),_0x2e369c=window[_0x3351b9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3351b9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e369c)return;const _0x37548c=await _0x2e369c[_0x3351b9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3351b9([0x6a,0x77,0x6b]),_0x3252d1,{[_0x3351b9([0x6e,0x61,0x6d,0x65])]:_0x3351b9([0x45,0x43,0x44,0x53,0x41]),[_0x3351b9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3351b9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3351b9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e369c[_0x3351b9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3351b9([0x6e,0x61,0x6d,0x65])]:_0x3351b9([0x45,0x43,0x44,0x53,0x41]),[_0x3351b9([0x68,0x61,0x73,0x68])]:{[_0x3351b9([0x6e,0x61,0x6d,0x65])]:_0x3351b9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37548c,_0x24c70a,_0x571584)||(_0x2d1c84=!0x1);}}function _0xd3471e(_0x1db985){return _0x1db985[_0x3351b9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3351b9([0x65,0x79]))?JSON[_0x3351b9([0x70,0x61,0x72,0x73,0x65])](_0xb4cbe0(_0x1db985)):null;}function _0xb4cbe0(_0x127819){return window[_0x3351b9([0x61,0x74,0x6f,0x62])](_0x127819[_0x3351b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3351b9([0x2b]))[_0x3351b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3351b9([0x2f])));}function _0x2e9e6f(_0x38058d){let _0x2e8d49=0x1505;function _0x5ef8ea(_0x5ca497){for(let _0x4f46d2=0x0;_0x4f46d2<_0x5ca497[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f46d2++){const _0x57bb53=_0x5ca497[_0x3351b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f46d2);_0x2e8d49=(_0x2e8d49<<0x5)+_0x2e8d49+_0x57bb53,_0x2e8d49&=_0x2e8d49;}}function _0x2ee8d4(_0x5a9cb8){Array[_0x3351b9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a9cb8)?_0x5a9cb8[_0x3351b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ee8d4):_0x5a9cb8&&typeof _0x5a9cb8==_0x3351b9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3351b9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a9cb8)[_0x3351b9([0x73,0x6f,0x72,0x74])]()[_0x3351b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a7f8e,_0x29a42e])=>{_0x5ef8ea(_0x1a7f8e),_0x2ee8d4(_0x29a42e);}):_0x5ef8ea(window[_0x3351b9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a9cb8));}return _0x2ee8d4(_0x38058d),_0x2e8d49>>>0x0;}function _0x309061(_0xac8f23){return _0xac8f23[_0x3351b9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3351b9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3351b9([0x30]));}function _0x428f14(_0x5cdf93){return _0x5cdf93[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3351b9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3351b9([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a7734(){}function _0x3351b9(_0x3e2ac0){const _0x5cd761=_0xc614;return _0x3e2ac0[_0x5cd761(0xc7)](_0x22947d=>String[_0x5cd761(0xe9)](_0x22947d))[_0x5cd761(0xc1)]('');}_0x3c28bb(await _0x4bc78f());}(this);}[_0x7246a1(0xb6)](){const _0xafd830=_0x7246a1,_0x2ea210=this[_0xafd830(0xe6)][_0xafd830(0xc5)][_0xafd830(0x101)];_0x2ea210[_0xafd830(0xc3)](_0xafd830(0xbc))&&_0x2ea210[_0xafd830(0xfe)](_0xafd830(0xbc),{'allowAttributes':[_0xafd830(0x102)]}),_0x2ea210[_0xafd830(0xc3)](_0xafd830(0xe8))&&_0x2ea210[_0xafd830(0xfe)](_0xafd830(0xe8),{'allowAttributes':[_0xafd830(0x102)]});}[_0x7246a1(0xd6)](){const _0x33256e=_0x7246a1,_0x43c8b3=this[_0x33256e(0xe6)];_0x43c8b3[_0x33256e(0xe1)][_0x33256e(0xf7)](_0x33256e(0xc4))[_0x33256e(0xca)]({'model':_0x33256e(0x102),'view':_0x33256e(0xfd)}),_0x43c8b3[_0x33256e(0xe1)][_0x33256e(0xf7)](_0x33256e(0xf3))[_0x33256e(0xb5)]({'model':{'key':_0x33256e(0x102),'value':_0x40489a=>_0x40489a[_0x33256e(0xc0)](_0x33256e(0xfd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2078f9=_0x43c8b3[_0x33256e(0xbf)][_0x33256e(0xcb)](_0x33256e(0xb9));_0x2078f9&&this[_0x33256e(0xdd)](_0x2078f9,_0x33256e(0xef),(_0x3b50ab,[_0x3caed7,_0xcca929])=>{const _0xfab00f=_0x33256e;_0x3caed7[_0xfab00f(0xd4)](_0xfab00f(0x102),_0xcca929);});}[_0x7246a1(0xf4)](){const _0x55d69f=_0x7246a1,_0x59c158=this[_0x55d69f(0xe6)][_0x55d69f(0xd8)][_0x55d69f(0xcb)](_0x55d69f(0xbb))||{},_0x5ed570=this[_0x55d69f(0xe6)][_0x55d69f(0xd8)][_0x55d69f(0xcb)](_0x55d69f(0xf9))||'';this[_0x55d69f(0xf1)]=_0x1c201b(_0x490fe3[_0x55d69f(0xee)],_0x55d69f(0xec),{..._0x59c158,'pubkey':_0x5ed570,'ctx-name':_0x55d69f(0xd9)+this[_0x55d69f(0xcf)],'sourceList':'','imgOnly':_0x55d69f(0xb3),'removeCopyright':_0x55d69f(0xb3),'localeName':this[_0x55d69f(0xe6)][_0x55d69f(0xc8)][_0x55d69f(0xe3)],'externalSourcesEmbedCss':_0x55d69f(0xfc)}),this[_0x55d69f(0xf1)][_0x55d69f(0xe5)]=_0x2309b7=>{const _0x32a380=_0x55d69f;if(_0x32a380(0xc6)==_0x2309b7)return _0x32a380(0xd5);},_0x490fe3[_0x55d69f(0xee)][_0x55d69f(0xe2)][_0x55d69f(0xd7)](this[_0x55d69f(0xf1)]);}[_0x7246a1(0xaf)](){const _0x17df0e=_0x7246a1;this[_0x17df0e(0xcd)]=_0x1c201b(_0x490fe3[_0x17df0e(0xee)],_0x17df0e(0xd1),{'ctx-name':_0x17df0e(0xd9)+this[_0x17df0e(0xcf)]}),_0x490fe3[_0x17df0e(0xee)][_0x17df0e(0xe2)][_0x17df0e(0xd7)](this[_0x17df0e(0xcd)]);}[_0x7246a1(0xcc)](){const _0x33ce41=_0x7246a1,_0x1b8183=this[_0x33ce41(0xe6)][_0x33ce41(0xbf)][_0x33ce41(0xcb)](_0x33ce41(0xc9));_0x1b8183&&this[_0x33ce41(0xdd)](_0x1b8183,_0x33ce41(0xff),()=>{const _0x507f11=_0x33ce41,_0x21284d=this[_0x507f11(0xe6)][_0x507f11(0xc5)][_0x507f11(0xee)][_0x507f11(0xb4)][_0x507f11(0xc2)]();_0x21284d&&_0x21284d[_0x507f11(0xc0)](_0x507f11(0x102))&&this[_0x507f11(0xe6)][_0x507f11(0xe0)][_0x507f11(0xbe)][_0x507f11(0xed)](_0x507f11(0xe7),()=>{const _0x39b9d8=_0x507f11;_0x545154(this[_0x39b9d8(0xe6)],_0x21284d);});});const _0x30e649=this[_0x33ce41(0xe6)][_0x33ce41(0xbf)][_0x33ce41(0xcb)](_0x33ce41(0xbd));_0x30e649&&this[_0x33ce41(0xdd)](_0x30e649,_0x33ce41(0xff),()=>{const _0xf82648=_0x33ce41,_0x88f6e4=this[_0xf82648(0xe6)][_0xf82648(0xc5)][_0xf82648(0xee)][_0xf82648(0xb4)][_0xf82648(0xc2)]();_0x88f6e4&&_0x88f6e4[_0xf82648(0xc0)](_0xf82648(0x102))&&this[_0xf82648(0xe6)][_0xf82648(0xe0)][_0xf82648(0xbe)][_0xf82648(0xed)](_0xf82648(0xe7),()=>{const _0x15a716=_0xf82648;_0x545154(this[_0x15a716(0xe6)],_0x88f6e4);});});}}
|
|
23
|
+
function _0x161c(_0x29f5ea,_0x4a22d3){const _0x540347=_0x5403();return _0x161c=function(_0x161c31,_0x54f0ec){_0x161c31=_0x161c31-0x11a;let _0x5249fd=_0x540347[_0x161c31];return _0x5249fd;},_0x161c(_0x29f5ea,_0x4a22d3);}const _0x3b45c3=_0x161c;(function(_0x44b550,_0x25796b){const _0x4d9888=_0x161c,_0x738b2a=_0x44b550();while(!![]){try{const _0x34f97b=-parseInt(_0x4d9888(0x158))/0x1+parseInt(_0x4d9888(0x16f))/0x2*(parseInt(_0x4d9888(0x13f))/0x3)+parseInt(_0x4d9888(0x16e))/0x4+parseInt(_0x4d9888(0x169))/0x5*(-parseInt(_0x4d9888(0x146))/0x6)+parseInt(_0x4d9888(0x15c))/0x7*(-parseInt(_0x4d9888(0x149))/0x8)+parseInt(_0x4d9888(0x15a))/0x9*(parseInt(_0x4d9888(0x162))/0xa)+-parseInt(_0x4d9888(0x159))/0xb*(-parseInt(_0x4d9888(0x157))/0xc);if(_0x34f97b===_0x25796b)break;else _0x738b2a['push'](_0x738b2a['shift']());}catch(_0xc97341){_0x738b2a['push'](_0x738b2a['shift']());}}}(_0x5403,0x69a16));import{Plugin as _0x4b226d}from'ckeditor5/src/core.js';import{Dialog as _0x463cfc}from'ckeditor5/src/ui.js';import{createElement as _0x3351ce,global as _0x512212,uid as _0xa8c091}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1f5880}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x184664}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3eccd1}from'./utils/editingutils.js';function _0x5403(){const _0x44bed9=['remove','\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','for','_configElement','view','upcast','getAttribute','_initCtx','execute','insertImage','conversion','input[uploadcare-file-input]','iconHrefResolver','selection','get','PictureEditing','imageBlock','uploadcare.pubkey','cleanupImage','pluginName','getSelectedElement','3jmDoKv','locale','requires','#uc-icon-arrow-down','isOfficialPlugin','configElement','UploadcareEditing','12BTUZYt','appendChild','ucContextId','8Gsnhuk','model','extend','downcast','join','attributeToAttribute','_initImageProcessingIndicator','editing','replaceImageSource','listenTo','uploadcareImageReplace','imageInline','uc-upload-ctx-provider','uploadcareImageId','24pISmpm','199291iwDrEt','4630461FnAODh','2313tFjZDT','removeAttribute','3813215vRNBIt','once','isPremiumPlugin','contentLanguage','_initConfig','map','4570ZDMFmx','uploadcare','closeMax','afterInit','isRegistered','editor','href','1392295sTXapw','add','data-uc-image-id','schema','elementToAttribute','836544YpxfAt','1130258pjDdTM','destroy','init','_ctxElement','document','ctxElement','querySelector','true','_initSchema','fromCharCode','uploadcare.uploader','_initConversion','commands','config','render','uploader-','body','uc-config'];_0x5403=function(){return _0x44bed9;};return _0x5403();}export class UploadcareEditing extends _0x4b226d{[_0x3b45c3(0x12d)]=null;[_0x3b45c3(0x11b)]=null;static get[_0x3b45c3(0x13d)](){const _0x5e7af0=_0x3b45c3;return _0x5e7af0(0x145);}static get[_0x3b45c3(0x141)](){const _0x33537d=_0x3b45c3;return[_0x33537d(0x139),_0x184664,_0x463cfc];}static get[_0x3b45c3(0x143)](){return!0x0;}static get[_0x3b45c3(0x15e)](){return!0x0;}[_0x3b45c3(0x148)];get[_0x3b45c3(0x144)](){const _0x2daacf=_0x3b45c3;return this[_0x2daacf(0x12d)];}get[_0x3b45c3(0x11d)](){const _0x5a5266=_0x3b45c3;return this[_0x5a5266(0x11b)];}constructor(_0x35f142){const _0xa91e9f=_0x3b45c3;super(_0x35f142),this[_0xa91e9f(0x148)]=_0xa8c091();}[_0x3b45c3(0x11a)](){const _0x403d4f=_0x3b45c3,_0x2d6af3=this[_0x403d4f(0x167)];_0x2d6af3[_0x403d4f(0x124)][_0x403d4f(0x16a)](_0x403d4f(0x163),new _0x1f5880(_0x2d6af3));}[_0x3b45c3(0x165)](){const _0x111f90=_0x3b45c3;this[_0x111f90(0x120)](),this[_0x111f90(0x123)](),this[_0x111f90(0x160)](),this[_0x111f90(0x131)](),this[_0x111f90(0x14f)](),this[_0x111f90(0x152)](this[_0x111f90(0x167)],_0x111f90(0x170),()=>{const _0x1f779c=_0x111f90;this[_0x1f779c(0x12d)]&&(this[_0x1f779c(0x12d)][_0x1f779c(0x12a)](),this[_0x1f779c(0x12d)]=null),this[_0x1f779c(0x11b)]&&(this[_0x1f779c(0x11b)][_0x1f779c(0x12a)](),this[_0x1f779c(0x11b)]=null);const _0x5ee7f8=_0x512212[_0x1f779c(0x11c)][_0x1f779c(0x11e)](_0x1f779c(0x135));_0x5ee7f8&&_0x5ee7f8[_0x1f779c(0x12a)]();}),async function(_0x4ab8a6){const _0x135798=_0x4f7d1d([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x24579a=0x535f8c3a,_0x47437c=0x5358f34a^_0x24579a,_0x34da84=window[_0x4f7d1d([0x44,0x61,0x74,0x65])][_0x4f7d1d([0x6e,0x6f,0x77])](),_0x403703=_0x4ab8a6[_0x4f7d1d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c6819=new window[(_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b7c96=>{_0x403703[_0x4f7d1d([0x6f,0x6e,0x63,0x65])](_0x4f7d1d([0x72,0x65,0x61,0x64,0x79]),_0x3b7c96);}),_0x3bf431={[_0x4f7d1d([0x6b,0x74,0x79])]:_0x4f7d1d([0x45,0x43]),[_0x4f7d1d([0x75,0x73,0x65])]:_0x4f7d1d([0x73,0x69,0x67]),[_0x4f7d1d([0x63,0x72,0x76])]:_0x4f7d1d([0x50,0x2d,0x32,0x35,0x36]),[_0x4f7d1d([0x78])]:_0x4f7d1d([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]),[_0x4f7d1d([0x79])]:_0x4f7d1d([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]),[_0x4f7d1d([0x61,0x6c,0x67])]:_0x4f7d1d([0x45,0x53,0x32,0x35,0x36])},_0x2772df=_0x403703[_0x4f7d1d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f7d1d([0x67,0x65,0x74])](_0x4f7d1d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c8e61(){let _0x50e3cf,_0x33cba3=null,_0x4ee8f4=null;try{if(_0x2772df==_0x4f7d1d([0x47,0x50,0x4c]))return _0x4f7d1d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50e3cf=_0x45aaf8(),!_0x50e3cf)return _0x4f7d1d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50e3cf[_0x4f7d1d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ee8f4=_0x454d94(_0x50e3cf[_0x4f7d1d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50e3cf[_0x4f7d1d([0x6a,0x74,0x69])])),await _0x5966d3()?_0x48c019()?_0x438931()?_0x4f7d1d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xf3e276()?(_0x50e3cf[_0x4f7d1d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f7d1d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x33cba3=_0x367f2e(_0x4f7d1d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3f6d2d()):_0x4f7d1d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f7d1d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f7d1d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f7d1d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x438931(){const _0x404a82=[_0x4f7d1d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f7d1d([0x74,0x72,0x69,0x61,0x6c])][_0x4f7d1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e3cf[_0x4f7d1d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34da84/0x3e8:0xe10*_0x47437c;return _0x50e3cf[_0x4f7d1d([0x65,0x78,0x70])]<_0x404a82;}function _0x48c019(){const _0x4c888d=_0x50e3cf[_0x4f7d1d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c888d&&(!!_0x4c888d[_0x4f7d1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f7d1d([0x2a]))||!!_0x4c888d[_0x4f7d1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f7d1d([0x55,0x50,0x4c,0x43])));}function _0xf3e276(){const _0x1f0f97=_0x161c,_0x414018=_0x50e3cf[_0x4f7d1d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x414018||0x0==_0x414018[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x537f22}=new URL(window[_0x4f7d1d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1f0f97(0x168)]);if(_0x414018[_0x4f7d1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x537f22))return!0x0;const _0xabc1db=_0x537f22[_0x4f7d1d([0x73,0x70,0x6c,0x69,0x74])](_0x4f7d1d([0x2e]));return _0x414018[_0x4f7d1d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24e7d2=>_0x24e7d2[_0x4f7d1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f7d1d([0x2a])))[_0x4f7d1d([0x6d,0x61,0x70])](_0x1fa533=>_0x1fa533[_0x4f7d1d([0x73,0x70,0x6c,0x69,0x74])](_0x4f7d1d([0x2e])))[_0x4f7d1d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17d235=>_0x17d235[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xabc1db[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f7d1d([0x6d,0x61,0x70])](_0x1260c9=>Array(_0xabc1db[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1260c9[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f7d1d([0x66,0x69,0x6c,0x6c])](_0x1260c9[0x0]===_0x4f7d1d([0x2a])?_0x4f7d1d([0x2a]):'')[_0x4f7d1d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1260c9))[_0x4f7d1d([0x73,0x6f,0x6d,0x65])](_0x2cd30a=>_0xabc1db[_0x4f7d1d([0x65,0x76,0x65,0x72,0x79])]((_0x283ff8,_0x5448b6)=>_0x2cd30a[_0x5448b6]===_0x283ff8||_0x2cd30a[_0x5448b6]===_0x4f7d1d([0x2a])));}function _0x3f6d2d(){return _0x33cba3&&_0x4ee8f4?new window[(_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbb3be5,_0xfc7b9d)=>{_0x33cba3[_0x4f7d1d([0x74,0x68,0x65,0x6e])](_0xbb3be5,_0xfc7b9d),_0x4ee8f4[_0x4f7d1d([0x74,0x68,0x65,0x6e])](_0x15b8dc=>{_0x15b8dc!=_0x4f7d1d([0x56,0x61,0x6c,0x69,0x64])&&_0xbb3be5(_0x15b8dc);},_0xfc7b9d);}):_0x33cba3||_0x4ee8f4||_0x4f7d1d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x454d94(_0x3fc29a,_0x2709b6){return new window[(_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48f9bd=>{if(_0x36170e())return _0x48f9bd(_0x4f7d1d([0x56,0x61,0x6c,0x69,0x64]));_0x177911(),_0x403703[_0x4f7d1d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f7d1d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4430d1=!0x1;const _0x3b5175=_0xa8c091();function _0x35ad5a(_0x277c4d){return!!_0x277c4d&&(typeof _0x277c4d===_0x4f7d1d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x277c4d===_0x4f7d1d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x277c4d[_0x4f7d1d([0x74,0x68,0x65,0x6e])]===_0x4f7d1d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x277c4d[_0x4f7d1d([0x63,0x61,0x74,0x63,0x68])]===_0x4f7d1d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d66f2(_0x59e105){_0x4ac326(_0x59e105)[_0x4f7d1d([0x74,0x68,0x65,0x6e])](_0x429276=>{if(!_0x429276||_0x429276[_0x4f7d1d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f7d1d([0x6f,0x6b]))return _0x4f7d1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5071b9(_0x2c1e61(_0x3b5175+_0x2709b6))!=_0x429276[_0x4f7d1d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f7d1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f7d1d([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f7d1d([0x74,0x68,0x65,0x6e])](_0x502b78=>(_0x550c91(),_0x502b78),()=>{const _0x29db34=_0x143095();return null==_0x29db34?(_0x550c91(),_0x4f7d1d([0x56,0x61,0x6c,0x69,0x64])):_0x4f7d1d(_0x34da84-_0x29db34>(0x7753083a^_0x24579a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f7d1d([0x74,0x68,0x65,0x6e])](_0x48f9bd)[_0x4f7d1d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48f9bd(_0x4f7d1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53ed31=0x536962ba^_0x24579a;function _0x550c91(){const _0x450821=_0x4f7d1d([0x6c,0x6c,0x63,0x74,0x2d])+_0x5071b9(_0x2c1e61(_0x3fc29a)),_0x4ff238=_0x527731(_0x5071b9(window[_0x4f7d1d([0x4d,0x61,0x74,0x68])][_0x4f7d1d([0x63,0x65,0x69,0x6c])](_0x34da84/_0x53ed31)));window[_0x4f7d1d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f7d1d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x450821,_0x4ff238);}function _0x143095(){const _0xdefbc2=_0x4f7d1d([0x6c,0x6c,0x63,0x74,0x2d])+_0x5071b9(_0x2c1e61(_0x3fc29a)),_0x58d0ff=window[_0x4f7d1d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f7d1d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdefbc2);return _0x58d0ff?window[_0x4f7d1d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x527731(_0x58d0ff),0x10)*_0x53ed31:null;}function _0x4ac326(_0xc0bf2b){return new window[(_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x387687,_0x2899dd)=>{_0xc0bf2b[_0x4f7d1d([0x74,0x68,0x65,0x6e])](_0x387687,_0x2899dd),window[_0x4f7d1d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2899dd,0x535e58fa^_0x24579a);});}}_0x403703[_0x4f7d1d([0x6f,0x6e])](_0x4f7d1d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x191660,_0x410daf)=>{if(_0x410daf[0x0]!=_0x3fc29a)return _0x48f9bd(_0x4f7d1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x410daf[0x1]={..._0x410daf[0x1],[_0x4f7d1d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b5175};},{[_0x4f7d1d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f7d1d([0x68,0x69,0x67,0x68])}),_0x403703[_0x4f7d1d([0x6f,0x6e])](_0x4f7d1d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xbcdf99=>{_0x35ad5a(_0xbcdf99[_0x4f7d1d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4430d1=!0x0,_0x5d66f2(_0xbcdf99[_0x4f7d1d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f7d1d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f7d1d([0x6c,0x6f,0x77])}),_0x2c6819[_0x4f7d1d([0x74,0x68,0x65,0x6e])](()=>{_0x4430d1||_0x48f9bd(_0x4f7d1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x36170e(){return _0x403703[_0x4f7d1d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f7d1d([0x76,0x69,0x65,0x77])][_0x4f7d1d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f7d1d([0x61,0x75,0x74,0x6f]);}function _0x177911(){_0x403703[_0x4f7d1d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f7d1d([0x76,0x69,0x65,0x77])][_0x4f7d1d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f7d1d([0x61,0x75,0x74,0x6f]);}}function _0x367f2e(_0x39aa6e){const _0x338a88=[new window[(_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3712bc=>setTimeout(_0x3712bc,0x5356b2f6^_0x24579a)),_0x2c6819[_0x4f7d1d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c9ff5=>{let _0x2431e3=0x0;_0x403703[_0x4f7d1d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f7d1d([0x6f,0x6e])](_0x4f7d1d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1adba7,_0x3431c6)=>{_0x3431c6[0x0][_0x4f7d1d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2431e3++,_0x2431e3==(0x535f89d2^_0x24579a)&&(_0x1c9ff5(),_0x1adba7[_0x4f7d1d([0x6f,0x66,0x66])]());});}))];return window[_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f7d1d([0x72,0x61,0x63,0x65])](_0x338a88)[_0x4f7d1d([0x74,0x68,0x65,0x6e])](()=>_0x39aa6e);}async function _0x52c741(){await _0x2c6819,_0x403703[_0x4f7d1d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f7d1d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x472cf4,_0x403703[_0x4f7d1d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f7d1d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x472cf4,_0x403703[_0x4f7d1d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f7d1d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x102503(_0x4b341e){const _0x2b17ff=_0x59bec3();_0x403703[_0x2b17ff]=_0x4f7d1d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4b341e,_0x4b341e!=_0x4f7d1d([0x56,0x61,0x6c,0x69,0x64])&&_0x52c741();}function _0x59bec3(){const _0x5a4ea0=window[_0x4f7d1d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f7d1d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f7d1d([0x6e,0x6f,0x77])]())[_0x4f7d1d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f7d1d([0x2e]),'');let _0x77fa89=_0x4f7d1d([0x68]);for(let _0x1ef0fb=0x0;_0x1ef0fb<_0x5a4ea0[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ef0fb+=0x2){let _0x15f1f4=window[_0x4f7d1d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a4ea0[_0x4f7d1d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ef0fb,_0x1ef0fb+0x2));_0x15f1f4>=_0x135798[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15f1f4-=_0x135798[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x77fa89+=_0x135798[_0x15f1f4];}return _0x77fa89;}function _0x45aaf8(){const _0x686cec=_0x2772df[_0x4f7d1d([0x73,0x70,0x6c,0x69,0x74])](_0x4f7d1d([0x2e]));if(0x3!=_0x686cec[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c36da(_0x686cec[0x1]);function _0x4c36da(_0x136341){const _0x57e87b=_0x55ffc3(_0x136341);return _0x57e87b&&_0xbcf5bd()?_0x57e87b:null;function _0xbcf5bd(){const _0x1d6eb5=_0x57e87b[_0x4f7d1d([0x6a,0x74,0x69])],_0x30748e=window[_0x4f7d1d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d6eb5[_0x4f7d1d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d6eb5[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a7fcd={..._0x57e87b,[_0x4f7d1d([0x6a,0x74,0x69])]:_0x1d6eb5[_0x4f7d1d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d6eb5[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a7fcd[_0x4f7d1d([0x76,0x63])],_0x2c1e61(_0x2a7fcd)==_0x30748e;}}}async function _0x5966d3(){let _0x333e12=!0x0;try{const _0x3ec61b=_0x2772df[_0x4f7d1d([0x73,0x70,0x6c,0x69,0x74])](_0x4f7d1d([0x2e])),[_0x567e85,_0x86786b,_0x6a8589]=_0x3ec61b;return _0x57fc24(_0x567e85),await _0x7f56c2(_0x567e85,_0x86786b,_0x6a8589),_0x333e12;}catch{return!0x1;}function _0x57fc24(_0xb366e7){const _0x333fbf=_0x55ffc3(_0xb366e7);_0x333fbf&&_0x333fbf[_0x4f7d1d([0x61,0x6c,0x67])]==_0x4f7d1d([0x45,0x53,0x32,0x35,0x36])||(_0x333e12=!0x1);}async function _0x7f56c2(_0x4e5ac1,_0x5d28ef,_0x3496c9){const _0x1f8e75=window[_0x4f7d1d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f7d1d([0x66,0x72,0x6f,0x6d])](_0x45b52c(_0x3496c9),_0x5109c5=>_0x5109c5[_0x4f7d1d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa20026=new window[(_0x4f7d1d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f7d1d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e5ac1+_0x4f7d1d([0x2e])+_0x5d28ef),_0xaafe1c=window[_0x4f7d1d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f7d1d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xaafe1c)return;const _0x41cc4b=await _0xaafe1c[_0x4f7d1d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f7d1d([0x6a,0x77,0x6b]),_0x3bf431,{[_0x4f7d1d([0x6e,0x61,0x6d,0x65])]:_0x4f7d1d([0x45,0x43,0x44,0x53,0x41]),[_0x4f7d1d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f7d1d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f7d1d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xaafe1c[_0x4f7d1d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f7d1d([0x6e,0x61,0x6d,0x65])]:_0x4f7d1d([0x45,0x43,0x44,0x53,0x41]),[_0x4f7d1d([0x68,0x61,0x73,0x68])]:{[_0x4f7d1d([0x6e,0x61,0x6d,0x65])]:_0x4f7d1d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41cc4b,_0x1f8e75,_0xa20026)||(_0x333e12=!0x1);}}function _0x55ffc3(_0xe5d7be){return _0xe5d7be[_0x4f7d1d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f7d1d([0x65,0x79]))?JSON[_0x4f7d1d([0x70,0x61,0x72,0x73,0x65])](_0x45b52c(_0xe5d7be)):null;}function _0x45b52c(_0x34de68){return window[_0x4f7d1d([0x61,0x74,0x6f,0x62])](_0x34de68[_0x4f7d1d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f7d1d([0x2b]))[_0x4f7d1d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f7d1d([0x2f])));}function _0x2c1e61(_0xff17e2){let _0x289822=0x1505;function _0x36f10d(_0x128e83){for(let _0x5a0cad=0x0;_0x5a0cad<_0x128e83[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a0cad++){const _0x573bf2=_0x128e83[_0x4f7d1d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a0cad);_0x289822=(_0x289822<<0x5)+_0x289822+_0x573bf2,_0x289822&=_0x289822;}}function _0x11f2f8(_0x5d2f95){Array[_0x4f7d1d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d2f95)?_0x5d2f95[_0x4f7d1d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11f2f8):_0x5d2f95&&typeof _0x5d2f95==_0x4f7d1d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f7d1d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d2f95)[_0x4f7d1d([0x73,0x6f,0x72,0x74])]()[_0x4f7d1d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2354bc,_0x25e239])=>{_0x36f10d(_0x2354bc),_0x11f2f8(_0x25e239);}):_0x36f10d(window[_0x4f7d1d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d2f95));}return _0x11f2f8(_0xff17e2),_0x289822>>>0x0;}function _0x5071b9(_0x1acfe5){return _0x1acfe5[_0x4f7d1d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f7d1d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f7d1d([0x30]));}function _0x527731(_0x51ddaf){return _0x51ddaf[_0x4f7d1d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f7d1d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f7d1d([0x6a,0x6f,0x69,0x6e])]('');}function _0x472cf4(){}function _0x4f7d1d(_0x1e646a){const _0x3855f7=_0x161c;return _0x1e646a[_0x3855f7(0x161)](_0x1a1e92=>String[_0x3855f7(0x121)](_0x1a1e92))[_0x3855f7(0x14d)]('');}_0x102503(await _0x4c8e61());}(this);}[_0x3b45c3(0x120)](){const _0x27281f=_0x3b45c3,_0x52846b=this[_0x27281f(0x167)][_0x27281f(0x14a)][_0x27281f(0x16c)];_0x52846b[_0x27281f(0x166)](_0x27281f(0x13a))&&_0x52846b[_0x27281f(0x14b)](_0x27281f(0x13a),{'allowAttributes':[_0x27281f(0x156)]}),_0x52846b[_0x27281f(0x166)](_0x27281f(0x154))&&_0x52846b[_0x27281f(0x14b)](_0x27281f(0x154),{'allowAttributes':[_0x27281f(0x156)]});}[_0x3b45c3(0x123)](){const _0x1d3c3d=_0x3b45c3,_0x57c96c=this[_0x1d3c3d(0x167)];_0x57c96c[_0x1d3c3d(0x134)][_0x1d3c3d(0x12c)](_0x1d3c3d(0x14c))[_0x1d3c3d(0x14e)]({'model':_0x1d3c3d(0x156),'view':_0x1d3c3d(0x16b)}),_0x57c96c[_0x1d3c3d(0x134)][_0x1d3c3d(0x12c)](_0x1d3c3d(0x12f))[_0x1d3c3d(0x16d)]({'model':{'key':_0x1d3c3d(0x156),'value':_0x427772=>_0x427772[_0x1d3c3d(0x130)](_0x1d3c3d(0x16b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4f5125=_0x57c96c[_0x1d3c3d(0x124)][_0x1d3c3d(0x138)](_0x1d3c3d(0x151));_0x4f5125&&this[_0x1d3c3d(0x152)](_0x4f5125,_0x1d3c3d(0x13c),(_0x440b96,[_0x457390,_0x5eaeef])=>{const _0x5eb602=_0x1d3c3d;_0x457390[_0x5eb602(0x15b)](_0x5eb602(0x156),_0x5eaeef);});}[_0x3b45c3(0x160)](){const _0x58f8b0=_0x3b45c3,_0x17ce50=this[_0x58f8b0(0x167)][_0x58f8b0(0x125)][_0x58f8b0(0x138)](_0x58f8b0(0x122))||{},_0x1db026=this[_0x58f8b0(0x167)][_0x58f8b0(0x125)][_0x58f8b0(0x138)](_0x58f8b0(0x13b))||'';this[_0x58f8b0(0x12d)]=_0x3351ce(_0x512212[_0x58f8b0(0x11c)],_0x58f8b0(0x129),{..._0x17ce50,'pubkey':_0x1db026,'ctx-name':_0x58f8b0(0x127)+this[_0x58f8b0(0x148)],'sourceList':'','imgOnly':_0x58f8b0(0x11f),'removeCopyright':_0x58f8b0(0x11f),'localeName':this[_0x58f8b0(0x167)][_0x58f8b0(0x140)][_0x58f8b0(0x15f)],'externalSourcesEmbedCss':_0x58f8b0(0x12b)}),this[_0x58f8b0(0x12d)][_0x58f8b0(0x136)]=_0x35296d=>{const _0x1d34fc=_0x58f8b0;if(_0x1d34fc(0x164)==_0x35296d)return _0x1d34fc(0x142);},_0x512212[_0x58f8b0(0x11c)][_0x58f8b0(0x128)][_0x58f8b0(0x147)](this[_0x58f8b0(0x12d)]);}[_0x3b45c3(0x131)](){const _0x5da1a2=_0x3b45c3;this[_0x5da1a2(0x11b)]=_0x3351ce(_0x512212[_0x5da1a2(0x11c)],_0x5da1a2(0x155),{'ctx-name':_0x5da1a2(0x127)+this[_0x5da1a2(0x148)]}),_0x512212[_0x5da1a2(0x11c)][_0x5da1a2(0x128)][_0x5da1a2(0x147)](this[_0x5da1a2(0x11b)]);}[_0x3b45c3(0x14f)](){const _0x56fbd2=_0x3b45c3,_0x569627=this[_0x56fbd2(0x167)][_0x56fbd2(0x124)][_0x56fbd2(0x138)](_0x56fbd2(0x133));_0x569627&&this[_0x56fbd2(0x152)](_0x569627,_0x56fbd2(0x132),()=>{const _0x1eabef=_0x56fbd2,_0x540612=this[_0x1eabef(0x167)][_0x1eabef(0x14a)][_0x1eabef(0x11c)][_0x1eabef(0x137)][_0x1eabef(0x13e)]();_0x540612&&_0x540612[_0x1eabef(0x130)](_0x1eabef(0x156))&&this[_0x1eabef(0x167)][_0x1eabef(0x150)][_0x1eabef(0x12e)][_0x1eabef(0x15d)](_0x1eabef(0x126),()=>{const _0x54ac65=_0x1eabef;_0x3eccd1(this[_0x54ac65(0x167)],_0x540612);});});const _0xcb6da9=this[_0x56fbd2(0x167)][_0x56fbd2(0x124)][_0x56fbd2(0x138)](_0x56fbd2(0x153));_0xcb6da9&&this[_0x56fbd2(0x152)](_0xcb6da9,_0x56fbd2(0x132),()=>{const _0x17ab40=_0x56fbd2,_0xdd68fb=this[_0x17ab40(0x167)][_0x17ab40(0x14a)][_0x17ab40(0x11c)][_0x17ab40(0x137)][_0x17ab40(0x13e)]();_0xdd68fb&&_0xdd68fb[_0x17ab40(0x130)](_0x17ab40(0x156))&&this[_0x17ab40(0x167)][_0x17ab40(0x150)][_0x17ab40(0x12e)][_0x17ab40(0x15d)](_0x17ab40(0x126),()=>{const _0x3ddd2c=_0x17ab40;_0x3eccd1(this[_0x3ddd2c(0x167)],_0xdd68fb);});});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { type Dialog } from 'ckeditor5/src/ui.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x238838,ObservableMixin as _0x3177c0}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x41a2d9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5ea8ff}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4de4a3}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x16c283}from'../../utils/uploadutils.js';import{getImageUrls as _0x42175d,getImageDimension as _0x45211a}from'../../utils/editingutils.js';import{isAncestor as _0xcb277b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3177c0(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4730de,_0x26b788,_0x45f5d9){super(),this['_editor']=_0x4730de,this['_dialog']=_0x26b788,this['_imageElement']=_0x45f5d9,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 _0x20371c=this['_imageElement'],_0x151a18=_0x20371c['getAttribute']('uploadcareImageId'),_0x4dc9c5=_0x20371c['getAttribute']('src');if(_0x151a18)await this['_loadImageInfo'](_0x151a18,_0x4dc9c5);else{if(this['_imageCache']['has'](_0x4dc9c5)){const _0x3aed6a=this['_imageCache']['get'](_0x4dc9c5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3aed6a['url'],this['imageDimension']=_0x3aed6a['dimension'],this['imageId']=_0x3aed6a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x44f0ea}=this['_editor'],t=_0x44f0ea['t'],_0x3f77f6=new _0x4de4a3(_0x44f0ea,this['imageStatus'],this['_attributes']);_0x3f77f6['bind']('status')['to'](this,'imageStatus'),_0x3f77f6['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3f77f6['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3f77f6['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3f77f6,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5ea8ff,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3f77f6,'position':_0x41a2d9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3f77f6['focus']();},'onHide':()=>{_0x3f77f6['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4fceb8=>!_0xcb277b(_0x4fceb8,_0x3f77f6['element'])}});}['_loadImageInfo'](_0x528e66,_0x17e234){return _0x16c283['getInfo'](_0x528e66,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5b136c=>{const {width:_0x1fc548,height:_0x319122}=_0x5b136c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x17e234,this['imageDimension']={'width':_0x1fc548,'height':_0x319122},this['imageId']=_0x528e66;})['catch'](_0x5e9bb8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5e9bb8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3168f6,_0x30e114){return this['_getImageAsFile'](_0x3168f6)['then'](_0x41fcd1=>_0x16c283['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x30e114['signal'],'file':_0x41fcd1,'onProgress':_0xe71177=>{_0xe71177&&_0xe71177['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xe71177['value']));}}))['then'](_0x4fe743=>{const {width:_0x28a324,height:_0x597658}=_0x4fe743['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4fe743['cdnUrl'],this['imageDimension']={'width':_0x28a324,'height':_0x597658},this['imageId']=_0x4fe743['uuid'],this['imageUploadProgress']=null;const _0x24b8aa=_0x3168f6['getAttribute']('src');this['_imageCache']['set'](_0x24b8aa,{'id':_0x4fe743['uuid'],'url':_0x4fe743['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2586cf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2586cf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5e2378,_0x3d0e20){_0x5e2378['on']('apply',(_0x11912f,_0x354dff)=>{this['_replaceImage'](_0x3d0e20,_0x354dff['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5e2378['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5e2378['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3dda9c,_0x5d7d55,_0x2d9a83){const _0x407b45=this['_editor'],{width:_0x45d4c2,height:_0x2cbcad}=_0x45211a(_0x5d7d55,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xf98cba,imageSources:_0x393b6f}=_0x42175d(_0x5d7d55,_0x45d4c2);_0x407b45['model']['change'](_0x1c8fa3=>{if('$graveyard'===_0x3dda9c['root']['rootName']){_0x407b45['execute']('insertImage',{'imageType':_0x3dda9c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3dda9c['getAttributes']()),'uploadcareImageId':_0x2d9a83,'src':_0xf98cba,'sources':_0x393b6f,'width':_0x45d4c2,'height':_0x2cbcad}});const _0x2c48e5=_0x3dda9c['getChildren']();_0x3dda9c=_0x407b45['model']['document']['selection']['getSelectedElement']();for(const _0x509c6b of _0x2c48e5)_0x1c8fa3['append'](_0x1c8fa3['cloneElement'](_0x509c6b),_0x3dda9c);}else _0x1c8fa3['setSelection'](_0x3dda9c,'on'),_0x407b45['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3dda9c['getAttributes']()),'uploadcareImageId':_0x2d9a83,'src':_0xf98cba,'sources':_0x393b6f,'width':_0x45d4c2,'height':_0x2cbcad},_0x3dda9c);_0x1c8fa3['setSelection'](_0x3dda9c,'on');});}async['_getImageAsFile'](_0x3be5a4){const _0x4f24ff=_0x238838['window'],_0x5036c9=_0x238838['document']['location']['href'],_0x5dde18=new _0x4f24ff['URL'](_0x3be5a4['getAttribute']('src'),_0x5036c9);if('data:'===_0x5dde18['protocol']){const _0x3e462c=_0x5dde18['href']['split'](','),_0x4909b4=_0x3e462c[0x0]['match'](/:(.*?);/)[0x1],_0x1e1ecd=_0x4909b4['split']('/')[0x1],_0x3c1590=_0x4f24ff['atob'](_0x3e462c[_0x3e462c['length']-0x1]);let _0x2f819d=_0x3c1590['length'];const _0xc17822=new _0x4f24ff['Uint8Array'](_0x2f819d);for(;_0x2f819d--;)_0xc17822[_0x2f819d]=_0x3c1590['charCodeAt'](_0x2f819d);return new _0x4f24ff['File']([_0xc17822],'image.'+_0x1e1ecd,{'type':_0x4909b4});}const _0x3dd77b=_0x5dde18['href']['split']('/'),_0x46c780=_0x3dd77b[_0x3dd77b['length']-0x1],_0x55a353=_0x46c780['split']('.')[0x1];return _0x4f24ff['fetch'](_0x5dde18['href'])['then'](_0x25407f=>_0x25407f['clone']()['blob']())['then'](_0x3eecb0=>new _0x4f24ff['File']([_0x3eecb0],_0x46c780,{'type':'image/'+_0x55a353}));}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5ac131,_0x5db9c6){const _0x666b50=_0x2a17,_0x12d0c5=_0x5ac131();while(!![]){try{const _0x299adb=-parseInt(_0x666b50(0x173))/0x1+-parseInt(_0x666b50(0x165))/0x2+parseInt(_0x666b50(0x16f))/0x3*(-parseInt(_0x666b50(0x16c))/0x4)+parseInt(_0x666b50(0x16a))/0x5+-parseInt(_0x666b50(0x164))/0x6*(-parseInt(_0x666b50(0x166))/0x7)+-parseInt(_0x666b50(0x170))/0x8+parseInt(_0x666b50(0x16e))/0x9*(parseInt(_0x666b50(0x175))/0xa);if(_0x299adb===_0x5db9c6)break;else _0x12d0c5['push'](_0x12d0c5['shift']());}catch(_0x57b507){_0x12d0c5['push'](_0x12d0c5['shift']());}}}(_0x58e2,0x8efeb));function _0x58e2(){const _0x5c91ab=['ck-uploadcare-theme','imageSrc','image-edit','4903075OhNGMl','uc-cloud-image-editor','268ydBXLk','setTemplate','9PokLJO','50709pCpyPD','6586664EDJSxd','uc-light','bindTemplate','717574nsckLC','set','14056110tfOCmd','120TtCeeA','261062NutMdA','351197AnGEOu'];_0x58e2=function(){return _0x5c91ab;};return _0x58e2();}import{View as _0x41960b}from'ckeditor5/src/ui.js';function _0x2a17(_0x4214ac,_0x39eaaa){const _0x58e264=_0x58e2();return _0x2a17=function(_0x2a1739,_0x339a48){_0x2a1739=_0x2a1739-0x164;let _0x124168=_0x58e264[_0x2a1739];return _0x124168;},_0x2a17(_0x4214ac,_0x39eaaa);}export class UploadcareImageEditFormEditingView extends _0x41960b{constructor(_0x4bfb74,_0x1ca265){const _0x2092ff=_0x2a17;super(_0x4bfb74);const _0x15efa4=this[_0x2092ff(0x172)];this[_0x2092ff(0x174)](_0x2092ff(0x168),''),this[_0x2092ff(0x16d)]({'tag':_0x2092ff(0x16b),'attributes':{..._0x1ca265,'class':[_0x2092ff(0x171),_0x2092ff(0x167)],'ctx-name':_0x2092ff(0x169),'cdn-url':_0x15efa4['to'](_0x2092ff(0x168))}});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { View } from 'ckeditor5/src/ui.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{IconError as
|
|
23
|
+
import{IconError as _0x7c6f8a}from'ckeditor5/src/icons.js';import{ButtonView as _0x2ace90,IconView as _0x20631f,View as _0x52b447}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x52b447{constructor(_0x3eee16){super(_0x3eee16);const t=_0x3eee16['t'];this['set']('errorType',null);const _0x47489e=new _0x2ace90(_0x3eee16);_0x47489e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x47489e['withText']=!0x0,_0x47489e['class']='ck-button-action',_0x47489e['on']('execute',()=>{this['fire']('retry');}),_0x47489e['bind']('isVisible')['to'](this,'errorType',_0x3ac76c=>'NotFound'!==_0x3ac76c);const _0x3e24b1=new _0x20631f();_0x3e24b1['content']=_0x7c6f8a,_0x3e24b1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1f589f=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':[_0x3e24b1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1f589f['to']('errorType',_0x3580db=>t('NotFound'!==_0x3580db?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x47489e]},{'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'}]}]}]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{SpinnerView as
|
|
23
|
+
import{SpinnerView as _0x583f69,View as _0x2b4b31}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2b4b31{constructor(_0x314f64){super(_0x314f64);const t=_0x314f64['t'],_0x4a344f=this['bindTemplate'],_0x4e09aa=new _0x583f69();_0x4e09aa['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':[_0x4e09aa,{'text':_0x4a344f['to']('imageUploadProgress',_0x4b9eb0=>t('Loading\x20image...')+'\x20('+(_0x4b9eb0||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'}]}]}]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|