@ckeditor/ckeditor5-uploadcare 47.3.0 → 47.4.0-alpha.1
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 +11 -11
- 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
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x267cda=_0x1fb8;(function(_0x5de81d,_0x374a2c){const _0x4fbeab=_0x1fb8,_0x160493=_0x5de81d();while(!![]){try{const _0x367758=parseInt(_0x4fbeab(0x7d))/0x1+-parseInt(_0x4fbeab(0xa1))/0x2+-parseInt(_0x4fbeab(0x94))/0x3*(-parseInt(_0x4fbeab(0xa0))/0x4)+-parseInt(_0x4fbeab(0x7b))/0x5*(-parseInt(_0x4fbeab(0xad))/0x6)+-parseInt(_0x4fbeab(0x7a))/0x7+-parseInt(_0x4fbeab(0xa6))/0x8+parseInt(_0x4fbeab(0x77))/0x9;if(_0x367758===_0x374a2c)break;else _0x160493['push'](_0x160493['shift']());}catch(_0x9f9af1){_0x160493['push'](_0x160493['shift']());}}}(_0x5bf6,0x1be54));import{IconUploadcareImageUpload as _0x50b26d}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x518dca}from'ckeditor5/src/utils.js';import{Dialog as _0x5f39e7,DialogViewPosition as _0x1e536b}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x3a7bf4}from'./uploadcareformview.js';import{UploadcareSource as _0x4ce141}from'../uploadcareconfig.js';function _0x5bf6(){const _0x820c3=['text','addEventListener','Replace','detail','993DJlIYU','setCurrentActivity','image','uploadCare','_insertAsset','_initListeners','selection','_formView','model','removeAllFiles','_insertImage','destroy','1220fELeaT','450228mYtXsc','getSelectedElement','idle','getOutputCollectionState','stopDelegating','163944LOBlcq','uuid','_editor','configElement','focus','_initDialog','Local','921498WgEcGT','removeSelectionAttribute','setSelection','done-click','attributes','_dialog','_api','view','width','editing','length','initFlow','linkHref','hide','get','element','allEntries','show','doneFlow','1834974uBYHkE','source-list','stopListening','1598912FtErkp','5JxefOL','EDITOR_TOP_CENTER','129859DliBDj','imageInfo','change','plugins','_editing','imageInline','getLastPosition','execute','setAttribute','ucContextId','status','imageBlock','insertImage','_type','isOpen','document','ctxElement','Insert','getAPI'];_0x5bf6=function(){return _0x820c3;};return _0x5bf6();}function _0x1fb8(_0x49c2c8,_0x57aee7){const _0x5bf656=_0x5bf6();return _0x1fb8=function(_0x1fb890,_0x2a5718){_0x1fb890=_0x1fb890-0x6f;let _0x186b48=_0x5bf656[_0x1fb890];return _0x186b48;},_0x1fb8(_0x49c2c8,_0x57aee7);}import{getTranslation as _0x4d7469}from'../utils/common-translations.js';import{getImageUrls as _0xe6eb97,getImageDimension as _0x28d973}from'../utils/editingutils.js';import{isAncestor as _0x513257}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x518dca(){[_0x267cda(0xa8)];[_0x267cda(0xb2)];[_0x267cda(0x81)];[_0x267cda(0xb3)];[_0x267cda(0x8a)]=null;[_0x267cda(0x9b)]=null;constructor(_0xc1013a,_0x4fbeec,_0x28f97a){const _0x21a53b=_0x267cda;super(),this[_0x21a53b(0xa8)]=_0xc1013a,this[_0x21a53b(0x81)]=_0x4fbeec,this[_0x21a53b(0xb2)]=_0xc1013a[_0x21a53b(0x80)][_0x21a53b(0x72)](_0x5f39e7),this[_0x21a53b(0xb3)]=_0x4fbeec[_0x21a53b(0x8d)][_0x21a53b(0x8f)](),this[_0x21a53b(0x8a)]=_0x28f97a,this[_0x21a53b(0x81)][_0x21a53b(0xa9)][_0x21a53b(0x85)](_0x21a53b(0x78),this[_0x21a53b(0x8a)]),this[_0x21a53b(0xab)](),this[_0x21a53b(0x99)](),this[_0x21a53b(0xb3)][_0x21a53b(0x6f)]();}[_0x267cda(0x9f)](){const _0x2a9d40=_0x267cda;this[_0x2a9d40(0x9b)]&&(this[_0x2a9d40(0x9b)][_0x2a9d40(0x9f)](),this[_0x2a9d40(0x9b)]=null),this[_0x2a9d40(0xb3)]&&this[_0x2a9d40(0xb3)][_0x2a9d40(0x76)](),this[_0x2a9d40(0x79)](),this[_0x2a9d40(0xa5)]();}[_0x267cda(0xab)](){const _0x2d2677=_0x267cda,{locale:_0x5b4b8e,model:_0x308f7a}=this[_0x2d2677(0xa8)],_0x5f1fb7=_0x308f7a[_0x2d2677(0x8c)][_0x2d2677(0x9a)][_0x2d2677(0xa2)](),_0x5e5c0f=_0x5f1fb7&&(_0x5f1fb7['is'](_0x2d2677(0x73),_0x2d2677(0x88))||_0x5f1fb7['is'](_0x2d2677(0x73),_0x2d2677(0x82)));this[_0x2d2677(0x9b)]=new _0x3a7bf4(_0x5b4b8e,this[_0x2d2677(0x81)][_0x2d2677(0x86)]),this[_0x2d2677(0xb2)][_0x2d2677(0x75)]({'id':_0x2d2677(0x97),'icon':_0x50b26d,'title':_0x4d7469(_0x5b4b8e,this[_0x2d2677(0x8a)],_0x5e5c0f?_0x2d2677(0x92):_0x2d2677(0x8e))[_0x2d2677(0x90)],'content':this[_0x2d2677(0x9b)],'position':_0x1e536b[_0x2d2677(0x7c)],'isModal':!0x0,'onShow':()=>{const _0x52d7c0=_0x2d2677;this[_0x52d7c0(0x9b)][_0x52d7c0(0xaa)]();},'onHide':()=>{const _0x5c8bc4=_0x2d2677;this[_0x5c8bc4(0xb3)][_0x5c8bc4(0x9d)](),this[_0x5c8bc4(0xa8)][_0x5c8bc4(0xb6)][_0x5c8bc4(0xb4)][_0x5c8bc4(0xaa)](),this[_0x5c8bc4(0x9f)]();},'keystrokeHandlerOptions':{'filter':_0x153464=>!_0x513257(_0x153464,this[_0x2d2677(0x9b)][_0x2d2677(0x73)])}});}[_0x267cda(0x99)](){const _0x194928=_0x267cda;this[_0x194928(0x81)][_0x194928(0x8d)][_0x194928(0x91)](_0x194928(0xb0),()=>{const _0x52bea3=_0x194928,{allEntries:_0x167428}=this[_0x52bea3(0xb3)][_0x52bea3(0xa4)]();this[_0x52bea3(0xa8)][_0x52bea3(0x9c)][_0x52bea3(0x7f)](_0x1665d2=>{const _0x3bd3a6=_0x52bea3,_0x38d93c=_0x167428[_0x3bd3a6(0xb7)];for(const _0x465bfc of _0x167428){const _0xa0574d=_0x465bfc===_0x167428[_0x38d93c-0x1],{cdnUrl:_0x3e44da,fileInfo:_0xa4a973}=_0x465bfc;if(!_0x3e44da||!_0xa4a973)continue;const {width:_0xc3e4cf,height:_0x3e2fae}=_0xa4a973[_0x3bd3a6(0x7e)],_0x1146b4=_0x28d973(_0x3e44da,_0xc3e4cf,_0x3e2fae),_0xa17abb=_0xe6eb97(_0x3e44da,_0x1146b4[_0x3bd3a6(0xb5)]),_0x104743={'id':_0xa4a973[_0x3bd3a6(0xa7)],'type':_0x3bd3a6(0x96),'attributes':{'imageDimension':_0x1146b4,..._0xa17abb}};this[_0x3bd3a6(0x98)](_0x104743,_0xa0574d,_0x1665d2);}}),this[_0x52bea3(0xb2)][_0x52bea3(0x71)]();}),this[_0x194928(0x81)][_0x194928(0x8d)][_0x194928(0x91)](_0x194928(0x7f),_0x25a850=>{const _0x50cf21=_0x194928;_0x50cf21(0xa3)===_0x25a850[_0x50cf21(0x93)][_0x50cf21(0x87)]&&!_0x25a850[_0x50cf21(0x93)][_0x50cf21(0x74)][_0x50cf21(0xb7)]&&this[_0x50cf21(0xb2)][_0x50cf21(0x8b)]&&(this[_0x50cf21(0x8a)]===_0x4ce141[_0x50cf21(0xac)]?this[_0x50cf21(0xb3)][_0x50cf21(0x95)](_0x4ce141[_0x50cf21(0xac)]):this[_0x50cf21(0xb3)][_0x50cf21(0x6f)]());});}[_0x267cda(0x98)](_0x519971,_0x492212,_0x18073f){const _0x5b1f2a=_0x267cda,_0x1ad2f9=this[_0x5b1f2a(0xa8)][_0x5b1f2a(0x9c)][_0x5b1f2a(0x8c)][_0x5b1f2a(0x9a)],_0x1a6873=_0x1ad2f9[_0x5b1f2a(0xa2)](),_0x5f4650=!(!_0x1a6873||!_0x1a6873['is'](_0x5b1f2a(0x73),_0x5b1f2a(0x82)));_0x18073f[_0x5b1f2a(0xae)](_0x5b1f2a(0x70)),this[_0x5b1f2a(0x9e)](_0x519971,_0x5f4650),_0x492212||_0x18073f[_0x5b1f2a(0xaf)](_0x1ad2f9[_0x5b1f2a(0x83)]());}[_0x267cda(0x9e)](_0x2affa5,_0x46a10f){const _0x46c787=_0x267cda,_0x48a090=this[_0x46c787(0xa8)],{imageDimension:_0x4b6552,imageFallbackUrl:_0x383729,imageSources:_0x409eb7}=_0x2affa5[_0x46c787(0xb1)];_0x48a090[_0x46c787(0x84)](_0x46c787(0x89),{'imageType':_0x46a10f?_0x46c787(0x82):null,'source':{'uploadcareImageId':_0x2affa5['id'],'src':_0x383729,'sources':_0x409eb7,..._0x4b6552}});}}
|
|
@@ -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
|
+
var _0x406444=_0x3046;function _0x3046(_0x4f8d6e,_0x44b669){var _0x2db9fd=_0x2db9();return _0x3046=function(_0x30467a,_0x4e1112){_0x30467a=_0x30467a-0x1dc;var _0x8b070f=_0x2db9fd[_0x30467a];return _0x8b070f;},_0x3046(_0x4f8d6e,_0x44b669);}(function(_0x2780b7,_0x4a1f03){var _0x376b6f=_0x3046,_0x186518=_0x2780b7();while(!![]){try{var _0x584a94=parseInt(_0x376b6f(0x1ea))/0x1*(-parseInt(_0x376b6f(0x1df))/0x2)+parseInt(_0x376b6f(0x1e4))/0x3+-parseInt(_0x376b6f(0x1e0))/0x4+-parseInt(_0x376b6f(0x1e8))/0x5+-parseInt(_0x376b6f(0x1e5))/0x6*(-parseInt(_0x376b6f(0x1ed))/0x7)+parseInt(_0x376b6f(0x1ef))/0x8*(parseInt(_0x376b6f(0x1de))/0x9)+parseInt(_0x376b6f(0x1e1))/0xa;if(_0x584a94===_0x4a1f03)break;else _0x186518['push'](_0x186518['shift']());}catch(_0x5047cc){_0x186518['push'](_0x186518['shift']());}}}(_0x2db9,0xf348d));import{DialogFocusManagerView as _0x242472}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';function _0x2db9(){var _0x279a46=['417176DfNHnl','focus','div','ck-uploadcare-form','279tcnjsC','52TTPJWl','1340548HezkFi','12201800FsMWDY','ck-uploadcare-theme','uc-file-uploader-inline','533325IVeMgq','29814QKondp','getFocusableElement','ck-reset_all-excluded','7711195nAcDBd','setTemplate','39619YQTpkA','element','uploader-','1253BNvDZP','uc-light'];_0x2db9=function(){return _0x279a46;};return _0x2db9();}export class UploadcareFormView extends _0x242472{constructor(_0x3be08a,_0x34c0f4){var _0x22117c=_0x3046;super(_0x3be08a),this[_0x22117c(0x1e9)]({'tag':_0x22117c(0x1dc),'attributes':{'class':['ck',_0x22117c(0x1e7),_0x22117c(0x1dd)],'tabindex':'-1'},'children':[{'tag':_0x22117c(0x1e3),'attributes':{'class':[_0x22117c(0x1ee),_0x22117c(0x1e2)],'ctx-name':_0x22117c(0x1ec)+_0x34c0f4}},this[_0x22117c(0x1e6)]()]});}[_0x406444(0x1f0)](){var _0x4c0622=_0x406444;this[_0x4c0622(0x1eb)][_0x4c0622(0x1f0)]();}}
|
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
|
-
const
|
|
23
|
+
const _0x3b0a08=_0x15ff;function _0x12a5(){const _0x1d133b=['720ucDKnn','6116ZjQkMM','Local','pluginName','430130MsYAnj','2917538sBTQgg','defineLocale','2vxSybg','2295TxojGj','1232117WUaWHT','1548273TXflkJ','24egbyeE','URL','locale','5646zhwNsn','9772auWMTc','72536XnTXqH','contentLanguage','154qsczJx','_defineLocale','isPremiumPlugin','uploadcare.locale','Uploadcare','get','defineComponents','isOfficialPlugin','editor','requires','define','uploadcare.uploader.sourceList','config'];_0x12a5=function(){return _0x1d133b;};return _0x12a5();}function _0x15ff(_0x15161b,_0x5791e6){const _0x12a5e6=_0x12a5();return _0x15ff=function(_0x15ffe6,_0x3d9f5a){_0x15ffe6=_0x15ffe6-0xa5;let _0x258af7=_0x12a5e6[_0x15ffe6];return _0x258af7;},_0x15ff(_0x15161b,_0x5791e6);}(function(_0x4117f0,_0x9cfcae){const _0x174c9e=_0x15ff,_0x56c750=_0x4117f0();while(!![]){try{const _0x4d3b35=parseInt(_0x174c9e(0xb0))/0x1*(parseInt(_0x174c9e(0xae))/0x2)+-parseInt(_0x174c9e(0xb1))/0x3+-parseInt(_0x174c9e(0xa8))/0x4*(-parseInt(_0x174c9e(0xaf))/0x5)+-parseInt(_0x174c9e(0xb5))/0x6*(parseInt(_0x174c9e(0xb6))/0x7)+-parseInt(_0x174c9e(0xb7))/0x8*(-parseInt(_0x174c9e(0xa7))/0x9)+parseInt(_0x174c9e(0xab))/0xa*(parseInt(_0x174c9e(0xb9))/0xb)+-parseInt(_0x174c9e(0xb2))/0xc*(parseInt(_0x174c9e(0xac))/0xd);if(_0x4d3b35===_0x9cfcae)break;else _0x56c750['push'](_0x56c750['shift']());}catch(_0x1da6ce){_0x56c750['push'](_0x56c750['shift']());}}}(_0x12a5,0xeff6b));import{Plugin as _0x164aed}from'ckeditor5/src/core.js';import{UploadcareUI as _0x4309f3}from'./uploadcareui.js';import{UploadcareEditing as _0x371c22}from'./uploadcareediting.js';import{UploadcareSource as _0x17ba6e}from'./uploadcareconfig.js';import*as _0x263fc0 from'@uploadcare/file-uploader';export class Uploadcare extends _0x164aed{static get[_0x3b0a08(0xc2)](){return[_0x371c22,_0x4309f3];}static get[_0x3b0a08(0xaa)](){const _0x4bf037=_0x3b0a08;return _0x4bf037(0xbd);}static get[_0x3b0a08(0xc0)](){return!0x0;}static get[_0x3b0a08(0xbb)](){return!0x0;}constructor(_0x533a7c){const _0x4350c=_0x3b0a08;super(_0x533a7c),_0x533a7c[_0x4350c(0xa6)][_0x4350c(0xc3)](_0x4350c(0xa5),[_0x17ba6e[_0x4350c(0xa9)],_0x17ba6e[_0x4350c(0xb3)]]),_0x263fc0[_0x4350c(0xbf)](_0x263fc0),this[_0x4350c(0xba)]();}[_0x3b0a08(0xba)](){const _0x5822c4=_0x3b0a08,_0x35f516=this[_0x5822c4(0xc1)][_0x5822c4(0xa6)][_0x5822c4(0xbe)](_0x5822c4(0xbc)),_0x4af2db=this[_0x5822c4(0xc1)][_0x5822c4(0xb4)][_0x5822c4(0xb8)];_0x35f516&&_0x263fc0[_0x5822c4(0xad)](_0x4af2db,_0x35f516);}}
|
|
@@ -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 _0x119270=_0xd4c1;(function(_0xce9488,_0xa1437b){var _0x1eac1=_0xd4c1,_0x2881d6=_0xce9488();while(!![]){try{var _0x39cfbc=parseInt(_0x1eac1(0x82))/0x1+-parseInt(_0x1eac1(0x7a))/0x2*(parseInt(_0x1eac1(0x7c))/0x3)+-parseInt(_0x1eac1(0x89))/0x4+-parseInt(_0x1eac1(0x7b))/0x5+parseInt(_0x1eac1(0x7d))/0x6*(-parseInt(_0x1eac1(0x8e))/0x7)+parseInt(_0x1eac1(0x88))/0x8+parseInt(_0x1eac1(0x81))/0x9*(parseInt(_0x1eac1(0x87))/0xa);if(_0x39cfbc===_0xa1437b)break;else _0x2881d6['push'](_0x2881d6['shift']());}catch(_0x3b9aa1){_0x2881d6['push'](_0x2881d6['shift']());}}}(_0x1354,0xabaf5));import{Command as _0x5ed61f}from'ckeditor5/src/core.js';import{Dialog as _0x34e55d}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x13af00}from'./uploadcareediting.js';import{UploadcareController as _0x596dd4}from'./ui/uploadcarecontroller.js';function _0xd4c1(_0x345419,_0xe86e55){var _0x13540b=_0x1354();return _0xd4c1=function(_0xd4c112,_0x408b49){_0xd4c112=_0xd4c112-0x7a;var _0x42fa9b=_0x13540b[_0xd4c112];return _0x42fa9b;},_0xd4c1(_0x345419,_0xe86e55);}export class UploadcareCommand extends _0x5ed61f{[_0x119270(0x8a)];[_0x119270(0x84)]=null;static get[_0x119270(0x8d)](){return[_0x34e55d,_0x13af00];}constructor(_0x2a8bb7){var _0x2bf58a=_0x119270;super(_0x2a8bb7),this[_0x2bf58a(0x8a)]=_0x2a8bb7[_0x2bf58a(0x80)][_0x2bf58a(0x83)](_0x13af00);}[_0x119270(0x85)](){var _0x11ef27=_0x119270;this[_0x11ef27(0x8c)]=this[_0x11ef27(0x7e)]();}[_0x119270(0x8b)](_0x1dacd3){var _0x549d9e=_0x119270;this[_0x549d9e(0x84)]&&(this[_0x549d9e(0x84)][_0x549d9e(0x90)](),this[_0x549d9e(0x84)]=null),this[_0x549d9e(0x84)]=new _0x596dd4(this[_0x549d9e(0x8f)],this[_0x549d9e(0x8a)],_0x1dacd3);}[_0x119270(0x7e)](){var _0x2894f5=_0x119270;return this[_0x2894f5(0x8f)][_0x2894f5(0x86)][_0x2894f5(0x83)](_0x2894f5(0x7f))[_0x2894f5(0x8c)];}}function _0x1354(){var _0x4c3f30=['commands','590bqkZtH','3386568yHhxCL','3329116aZSnec','_editing','execute','isEnabled','requires','161gAvzum','editor','destroy','1058884myzoeU','4945840znhClv','3CvAYOj','122394QqHnDa','_checkEnabled','insertImage','plugins','393372kNhUYg','521194YbubXt','get','_controller','refresh'];_0x1354=function(){return _0x4c3f30;};return _0x1354();}
|
|
@@ -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
|
-
|
|
23
|
+
(function(_0x220aba,_0x2a7034){var _0x1faf94=_0x44c7,_0x3ad135=_0x220aba();while(!![]){try{var _0x8a351c=-parseInt(_0x1faf94(0x188))/0x1*(-parseInt(_0x1faf94(0x192))/0x2)+parseInt(_0x1faf94(0x190))/0x3+parseInt(_0x1faf94(0x184))/0x4+parseInt(_0x1faf94(0x180))/0x5+parseInt(_0x1faf94(0x191))/0x6*(-parseInt(_0x1faf94(0x18a))/0x7)+-parseInt(_0x1faf94(0x185))/0x8*(parseInt(_0x1faf94(0x181))/0x9)+-parseInt(_0x1faf94(0x18d))/0xa;if(_0x8a351c===_0x2a7034)break;else _0x3ad135['push'](_0x3ad135['shift']());}catch(_0x13d533){_0x3ad135['push'](_0x3ad135['shift']());}}}(_0x490e,0x44dc1));export var UploadcareSource;function _0x44c7(_0x4464f9,_0x48d2c1){var _0x490e29=_0x490e();return _0x44c7=function(_0x44c746,_0x3e19f8){_0x44c746=_0x44c746-0x17c;var _0x49ddd7=_0x490e29[_0x44c746];return _0x49ddd7;},_0x44c7(_0x4464f9,_0x48d2c1);}!function(_0x4e2782){var _0x9400b9=_0x44c7;_0x4e2782[_0x9400b9(0x189)]=_0x9400b9(0x18f),_0x4e2782[_0x9400b9(0x183)]=_0x9400b9(0x193),_0x4e2782[_0x9400b9(0x18c)]=_0x9400b9(0x17d),_0x4e2782[_0x9400b9(0x17e)]=_0x9400b9(0x18b),_0x4e2782[_0x9400b9(0x182)]=_0x9400b9(0x18e),_0x4e2782[_0x9400b9(0x17f)]=_0x9400b9(0x186),_0x4e2782[_0x9400b9(0x17c)]=_0x9400b9(0x187);}(UploadcareSource||(UploadcareSource={}));function _0x490e(){var _0x1cecc9=['Local','6167pWpjfq','gdrive','Dropbox','3833450ciPxfF','facebook','local','759636SQqkka','2034KZIYNo','370402TFlEuu','url','OneDrive','dropbox','GDrive','GPhotos','1316990NdUdRV','531ozNbzd','Facebook','URL','1904468gUKesi','54112vhwQYw','gphotos','onedrive','2aVZusy'];_0x490e=function(){return _0x1cecc9;};return _0x490e();}
|
|
@@ -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 _0x19a599=_0x13bf;(function(_0x229d0f,_0xb572d1){const _0x33c318=_0x13bf,_0x1cdac9=_0x229d0f();while(!![]){try{const _0x21c672=-parseInt(_0x33c318(0x19c))/0x1+parseInt(_0x33c318(0x185))/0x2*(parseInt(_0x33c318(0x17c))/0x3)+-parseInt(_0x33c318(0x1a2))/0x4*(parseInt(_0x33c318(0x1be))/0x5)+parseInt(_0x33c318(0x186))/0x6*(parseInt(_0x33c318(0x1ac))/0x7)+-parseInt(_0x33c318(0x1bf))/0x8+parseInt(_0x33c318(0x18b))/0x9+parseInt(_0x33c318(0x1c4))/0xa;if(_0x21c672===_0xb572d1)break;else _0x1cdac9['push'](_0x1cdac9['shift']());}catch(_0x28766c){_0x1cdac9['push'](_0x1cdac9['shift']());}}}(_0x4c00,0x61b97));import{Plugin as _0x3d0b36}from'ckeditor5/src/core.js';import{Dialog as _0x488f88}from'ckeditor5/src/ui.js';function _0x13bf(_0xd8fdff,_0x5dd410){const _0x4c00e3=_0x4c00();return _0x13bf=function(_0x13bfb0,_0x19b0c1){_0x13bfb0=_0x13bfb0-0x17c;let _0x2ac5b4=_0x4c00e3[_0x13bfb0];return _0x2ac5b4;},_0x13bf(_0xd8fdff,_0x5dd410);}import{createElement as _0xe8db05,global as _0x217cf7,uid as _0x26edbf}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2bcd93}from'./uploadcarecommand.js';function _0x4c00(){const _0xd2b01a=['uploadcare.pubkey','fromCharCode','getAttribute','locale','commands','querySelector','ctxElement','\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','57063FSKDFq','destroy','insertImage','once','_ctxElement','input[uploadcare-file-input]','selection','uploadcareImageReplace','for','54tDgZvG','627936ZhYuXZ','body','elementToAttribute','contentLanguage','requires','3796821uErnQv','_initConfig','downcast','config','extend','editor','render','uploader-','replaceImageSource','afterInit','join','uploadcare.uploader','_initCtx','pluginName','get','uploadcareImageId','getSelectedElement','94156DBaOYF','add','isOfficialPlugin','listenTo','attributeToAttribute','configElement','256268OMYBtL','_initSchema','uc-config','href','removeAttribute','cleanupImage','init','_configElement','editing','model','14nEqQhb','UploadcareEditing','uploadcare','document','uc-upload-ctx-provider','execute','view','schema','ucContextId','conversion','_initConversion','map','data-uc-image-id','imageInline','appendChild','#uc-icon-arrow-down','closeMax','remove','55VPhyjt','934544UnEfEv','upcast','true','_initImageProcessingIndicator','imageBlock','1712420PFMNKT','isRegistered','PictureEditing','isPremiumPlugin','iconHrefResolver'];_0x4c00=function(){return _0xd2b01a;};return _0x4c00();}import{UploadcareUploadAdapter as _0x391ec8}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3bc4a6}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3d0b36{[_0x19a599(0x1a9)]=null;[_0x19a599(0x180)]=null;static get[_0x19a599(0x198)](){const _0x30d28a=_0x19a599;return _0x30d28a(0x1ad);}static get[_0x19a599(0x18a)](){const _0x4bc600=_0x19a599;return[_0x4bc600(0x1c6),_0x391ec8,_0x488f88];}static get[_0x19a599(0x19e)](){return!0x0;}static get[_0x19a599(0x1c7)](){return!0x0;}[_0x19a599(0x1b4)];get[_0x19a599(0x1a1)](){const _0x427f46=_0x19a599;return this[_0x427f46(0x1a9)];}get[_0x19a599(0x1cf)](){const _0x1472d0=_0x19a599;return this[_0x1472d0(0x180)];}constructor(_0x55deda){const _0x3fc9f3=_0x19a599;super(_0x55deda),this[_0x3fc9f3(0x1b4)]=_0x26edbf();}[_0x19a599(0x1a8)](){const _0x18e3be=_0x19a599,_0x56d2eb=this[_0x18e3be(0x190)];_0x56d2eb[_0x18e3be(0x1cd)][_0x18e3be(0x19d)](_0x18e3be(0x1ae),new _0x2bcd93(_0x56d2eb));}[_0x19a599(0x194)](){const _0x29dc43=_0x19a599;this[_0x29dc43(0x1a3)](),this[_0x29dc43(0x1b6)](),this[_0x29dc43(0x18c)](),this[_0x29dc43(0x197)](),this[_0x29dc43(0x1c2)](),this[_0x29dc43(0x19f)](this[_0x29dc43(0x190)],_0x29dc43(0x17d),()=>{const _0x3aa619=_0x29dc43;this[_0x3aa619(0x1a9)]&&(this[_0x3aa619(0x1a9)][_0x3aa619(0x1bd)](),this[_0x3aa619(0x1a9)]=null),this[_0x3aa619(0x180)]&&(this[_0x3aa619(0x180)][_0x3aa619(0x1bd)](),this[_0x3aa619(0x180)]=null);const _0x520e87=_0x217cf7[_0x3aa619(0x1af)][_0x3aa619(0x1ce)](_0x3aa619(0x181));_0x520e87&&_0x520e87[_0x3aa619(0x1bd)]();}),async function(_0x59841b){const _0x5c0835=_0x12ca9e([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]),_0x435672=0x535f8c3a,_0x1ad9a2=0x5358f6e2^_0x435672,_0x12ff71=window[_0x12ca9e([0x44,0x61,0x74,0x65])][_0x12ca9e([0x6e,0x6f,0x77])](),_0x2675b1=_0x59841b[_0x12ca9e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x275acb=new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15b805=>{_0x2675b1[_0x12ca9e([0x6f,0x6e,0x63,0x65])](_0x12ca9e([0x72,0x65,0x61,0x64,0x79]),_0x15b805);}),_0x549d4a={[_0x12ca9e([0x6b,0x74,0x79])]:_0x12ca9e([0x45,0x43]),[_0x12ca9e([0x75,0x73,0x65])]:_0x12ca9e([0x73,0x69,0x67]),[_0x12ca9e([0x63,0x72,0x76])]:_0x12ca9e([0x50,0x2d,0x32,0x35,0x36]),[_0x12ca9e([0x78])]:_0x12ca9e([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]),[_0x12ca9e([0x79])]:_0x12ca9e([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]),[_0x12ca9e([0x61,0x6c,0x67])]:_0x12ca9e([0x45,0x53,0x32,0x35,0x36])},_0x4ace45=_0x2675b1[_0x12ca9e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12ca9e([0x67,0x65,0x74])](_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x7d293e(){let _0x4bd886,_0x542939=null,_0x51f7c7=null;try{if(_0x4ace45==_0x12ca9e([0x47,0x50,0x4c]))return _0x12ca9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4bd886=_0x5b42cd(),!_0x4bd886)return _0x12ca9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4bd886[_0x12ca9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x51f7c7=_0x1a2ecc(_0x4bd886[_0x12ca9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4bd886[_0x12ca9e([0x6a,0x74,0x69])])),await _0x4d16e3()?_0x186051()?_0x467b35()?_0x12ca9e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21f614()?(_0x4bd886[_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12ca9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x542939=_0x1e743e(_0x12ca9e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4bd886[_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12ca9e([0x74,0x72,0x69,0x61,0x6c])&&(_0x542939=_0x1e743e(_0x12ca9e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x328188()):_0x12ca9e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12ca9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12ca9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x12ca9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x467b35(){const _0x1ed3ef=[_0x12ca9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12ca9e([0x74,0x72,0x69,0x61,0x6c])][_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bd886[_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12ff71/0x3e8:0xe10*_0x1ad9a2;return _0x4bd886[_0x12ca9e([0x65,0x78,0x70])]<_0x1ed3ef;}function _0x186051(){const _0xd393f6=_0x4bd886[_0x12ca9e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd393f6&&(!!_0xd393f6[_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ca9e([0x2a]))||!!_0xd393f6[_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ca9e([0x55,0x50,0x4c,0x43])));}function _0x21f614(){const _0x2a3388=_0x13bf,_0x1415b4=_0x4bd886[_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1415b4||0x0==_0x1415b4[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf5a032}=new URL(window[_0x12ca9e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2a3388(0x1a5)]);if(_0x1415b4[_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf5a032))return!0x0;const _0x3c405f=_0xf5a032[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])](_0x12ca9e([0x2e]));return _0x1415b4[_0x12ca9e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e4233=>_0x5e4233[_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ca9e([0x2a])))[_0x12ca9e([0x6d,0x61,0x70])](_0x346015=>_0x346015[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])](_0x12ca9e([0x2e])))[_0x12ca9e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15458e=>_0x15458e[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c405f[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12ca9e([0x6d,0x61,0x70])](_0x17f431=>Array(_0x3c405f[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17f431[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12ca9e([0x66,0x69,0x6c,0x6c])](_0x17f431[0x0]===_0x12ca9e([0x2a])?_0x12ca9e([0x2a]):'')[_0x12ca9e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17f431))[_0x12ca9e([0x73,0x6f,0x6d,0x65])](_0x35f57c=>_0x3c405f[_0x12ca9e([0x65,0x76,0x65,0x72,0x79])]((_0x5cbeca,_0x36ba5e)=>_0x35f57c[_0x36ba5e]===_0x5cbeca||_0x35f57c[_0x36ba5e]===_0x12ca9e([0x2a])));}function _0x328188(){return _0x542939&&_0x51f7c7?new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa21cdb,_0x466290)=>{_0x542939[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0xa21cdb,_0x466290),_0x51f7c7[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0x1fe664=>{_0x1fe664!=_0x12ca9e([0x56,0x61,0x6c,0x69,0x64])&&_0xa21cdb(_0x1fe664);},_0x466290);}):_0x542939||_0x51f7c7||_0x12ca9e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a2ecc(_0x534fc4,_0x437314){return new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xce4f2=>{if(_0x3885fd())return _0xce4f2(_0x12ca9e([0x56,0x61,0x6c,0x69,0x64]));_0x5319b6(),_0x2675b1[_0x12ca9e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12ca9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29b627=!0x1;const _0x589bcf=_0x26edbf();function _0x248888(_0x47d4db){return!!_0x47d4db&&(typeof _0x47d4db===_0x12ca9e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47d4db===_0x12ca9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47d4db[_0x12ca9e([0x74,0x68,0x65,0x6e])]===_0x12ca9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47d4db[_0x12ca9e([0x63,0x61,0x74,0x63,0x68])]===_0x12ca9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ac8af(_0x26cd61){_0x5623b1(_0x26cd61)[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0x1ade2f=>{if(!_0x1ade2f||_0x1ade2f[_0x12ca9e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12ca9e([0x6f,0x6b]))return _0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b0022(_0x15ea34(_0x589bcf+_0x437314))!=_0x1ade2f[_0x12ca9e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12ca9e([0x56,0x61,0x6c,0x69,0x64]);})[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0x387605=>(_0x44a219(),_0x387605),()=>{const _0x51631d=_0x3ef930();return null==_0x51631d?(_0x44a219(),_0x12ca9e([0x56,0x61,0x6c,0x69,0x64])):_0x12ca9e(_0x12ff71-_0x51631d>(0x7753083a^_0x435672)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0xce4f2)[_0x12ca9e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xce4f2(_0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ee75d=0x536962ba^_0x435672;function _0x44a219(){const _0x1045e6=_0x12ca9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b0022(_0x15ea34(_0x534fc4)),_0x2cfba6=_0x5e77e9(_0x2b0022(window[_0x12ca9e([0x4d,0x61,0x74,0x68])][_0x12ca9e([0x63,0x65,0x69,0x6c])](_0x12ff71/_0x1ee75d)));window[_0x12ca9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12ca9e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1045e6,_0x2cfba6);}function _0x3ef930(){const _0x1c7a3e=_0x12ca9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b0022(_0x15ea34(_0x534fc4)),_0xeb9280=window[_0x12ca9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12ca9e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c7a3e);return _0xeb9280?window[_0x12ca9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e77e9(_0xeb9280),0x10)*_0x1ee75d:null;}function _0x5623b1(_0x543218){return new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a7633,_0x307a1e)=>{_0x543218[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0x4a7633,_0x307a1e),window[_0x12ca9e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x307a1e,0x535e58fa^_0x435672);});}}_0x2675b1[_0x12ca9e([0x6f,0x6e])](_0x12ca9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bd4f4,_0x54fceb)=>{if(_0x54fceb[0x0]!=_0x534fc4)return _0xce4f2(_0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x54fceb[0x1]={..._0x54fceb[0x1],[_0x12ca9e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x589bcf};},{[_0x12ca9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12ca9e([0x68,0x69,0x67,0x68])}),_0x2675b1[_0x12ca9e([0x6f,0x6e])](_0x12ca9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x345391=>{_0x248888(_0x345391[_0x12ca9e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29b627=!0x0,_0x3ac8af(_0x345391[_0x12ca9e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12ca9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12ca9e([0x6c,0x6f,0x77])}),_0x275acb[_0x12ca9e([0x74,0x68,0x65,0x6e])](()=>{_0x29b627||_0xce4f2(_0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3885fd(){return _0x2675b1[_0x12ca9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12ca9e([0x76,0x69,0x65,0x77])][_0x12ca9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12ca9e([0x61,0x75,0x74,0x6f]);}function _0x5319b6(){_0x2675b1[_0x12ca9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12ca9e([0x76,0x69,0x65,0x77])][_0x12ca9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12ca9e([0x61,0x75,0x74,0x6f]);}}function _0x1e743e(_0x1b70ab){const _0xd37e75=[new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f2cd2=>setTimeout(_0x3f2cd2,0x5356b2f6^_0x435672)),_0x275acb[_0x12ca9e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fb944=>{let _0x3b2515=0x0;_0x2675b1[_0x12ca9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ca9e([0x6f,0x6e])](_0x12ca9e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x527857,_0x508e10)=>{_0x508e10[0x0][_0x12ca9e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b2515++,_0x3b2515==(0x535f8dc2^_0x435672)&&(_0x1fb944(),_0x527857[_0x12ca9e([0x6f,0x66,0x66])]());});}))];return window[_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12ca9e([0x72,0x61,0x63,0x65])](_0xd37e75)[_0x12ca9e([0x74,0x68,0x65,0x6e])](()=>_0x1b70ab);}async function _0x32f291(){await _0x275acb,_0x2675b1[_0x12ca9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ca9e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x456228,_0x2675b1[_0x12ca9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ca9e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x456228,_0x2675b1[_0x12ca9e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12ca9e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ccb7e(_0x340c34){const _0x312b54=_0x3fb0ea();_0x2675b1[_0x312b54]=_0x12ca9e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x340c34,_0x340c34!=_0x12ca9e([0x56,0x61,0x6c,0x69,0x64])&&_0x32f291();}function _0x3fb0ea(){const _0x15ce7a=window[_0x12ca9e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12ca9e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12ca9e([0x6e,0x6f,0x77])]())[_0x12ca9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12ca9e([0x2e]),'');let _0x6f8f1b=_0x12ca9e([0x68]);for(let _0xf9b84e=0x0;_0xf9b84e<_0x15ce7a[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf9b84e+=0x2){let _0x3086fc=window[_0x12ca9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15ce7a[_0x12ca9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf9b84e,_0xf9b84e+0x2));_0x3086fc>=_0x5c0835[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3086fc-=_0x5c0835[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6f8f1b+=_0x5c0835[_0x3086fc];}return _0x6f8f1b;}function _0x5b42cd(){const _0x5bbfc3=_0x4ace45[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])](_0x12ca9e([0x2e]));if(0x3!=_0x5bbfc3[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd2a0d2(_0x5bbfc3[0x1]);function _0xd2a0d2(_0x335711){const _0x51f06f=_0x45c395(_0x335711);return _0x51f06f&&_0xbb7352()?_0x51f06f:null;function _0xbb7352(){const _0x75db2f=_0x51f06f[_0x12ca9e([0x6a,0x74,0x69])],_0x2d56a5=window[_0x12ca9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x75db2f[_0x12ca9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x75db2f[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x305bdb={..._0x51f06f,[_0x12ca9e([0x6a,0x74,0x69])]:_0x75db2f[_0x12ca9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x75db2f[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x305bdb[_0x12ca9e([0x76,0x63])],_0x15ea34(_0x305bdb)==_0x2d56a5;}}}async function _0x4d16e3(){let _0x25ff98=!0x0;try{const _0x820679=_0x4ace45[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])](_0x12ca9e([0x2e])),[_0xca8d45,_0x9d69ff,_0x370504]=_0x820679;return _0x429ec5(_0xca8d45),await _0x5be7cb(_0xca8d45,_0x9d69ff,_0x370504),_0x25ff98;}catch{return!0x1;}function _0x429ec5(_0x2ffe6b){const _0x3f34a5=_0x45c395(_0x2ffe6b);_0x3f34a5&&_0x3f34a5[_0x12ca9e([0x61,0x6c,0x67])]==_0x12ca9e([0x45,0x53,0x32,0x35,0x36])||(_0x25ff98=!0x1);}async function _0x5be7cb(_0x1a1d5e,_0x878002,_0x2b898e){const _0x28fb9a=window[_0x12ca9e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12ca9e([0x66,0x72,0x6f,0x6d])](_0x477622(_0x2b898e),_0x4f6a12=>_0x4f6a12[_0x12ca9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3620f6=new window[(_0x12ca9e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12ca9e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a1d5e+_0x12ca9e([0x2e])+_0x878002),_0x28f8da=window[_0x12ca9e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12ca9e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28f8da)return;const _0x2f0fdc=await _0x28f8da[_0x12ca9e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12ca9e([0x6a,0x77,0x6b]),_0x549d4a,{[_0x12ca9e([0x6e,0x61,0x6d,0x65])]:_0x12ca9e([0x45,0x43,0x44,0x53,0x41]),[_0x12ca9e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12ca9e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12ca9e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28f8da[_0x12ca9e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12ca9e([0x6e,0x61,0x6d,0x65])]:_0x12ca9e([0x45,0x43,0x44,0x53,0x41]),[_0x12ca9e([0x68,0x61,0x73,0x68])]:{[_0x12ca9e([0x6e,0x61,0x6d,0x65])]:_0x12ca9e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2f0fdc,_0x28fb9a,_0x3620f6)||(_0x25ff98=!0x1);}}function _0x45c395(_0x4177ce){return _0x4177ce[_0x12ca9e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12ca9e([0x65,0x79]))?JSON[_0x12ca9e([0x70,0x61,0x72,0x73,0x65])](_0x477622(_0x4177ce)):null;}function _0x477622(_0x38a555){return window[_0x12ca9e([0x61,0x74,0x6f,0x62])](_0x38a555[_0x12ca9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12ca9e([0x2b]))[_0x12ca9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12ca9e([0x2f])));}function _0x15ea34(_0x365c51){let _0x4a6797=0x1505;function _0x21d58b(_0x2c4e6c){for(let _0x36d3e9=0x0;_0x36d3e9<_0x2c4e6c[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36d3e9++){const _0x1f0b2b=_0x2c4e6c[_0x12ca9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36d3e9);_0x4a6797=(_0x4a6797<<0x5)+_0x4a6797+_0x1f0b2b,_0x4a6797&=_0x4a6797;}}function _0x2398b3(_0x5abd03){Array[_0x12ca9e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5abd03)?_0x5abd03[_0x12ca9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2398b3):_0x5abd03&&typeof _0x5abd03==_0x12ca9e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12ca9e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5abd03)[_0x12ca9e([0x73,0x6f,0x72,0x74])]()[_0x12ca9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x105176,_0x59b3de])=>{_0x21d58b(_0x105176),_0x2398b3(_0x59b3de);}):_0x21d58b(window[_0x12ca9e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5abd03));}return _0x2398b3(_0x365c51),_0x4a6797>>>0x0;}function _0x2b0022(_0x42b4c8){return _0x42b4c8[_0x12ca9e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12ca9e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12ca9e([0x30]));}function _0x5e77e9(_0x5da592){return _0x5da592[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12ca9e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12ca9e([0x6a,0x6f,0x69,0x6e])]('');}function _0x456228(){}function _0x12ca9e(_0x22dec8){const _0x256419=_0x13bf;return _0x22dec8[_0x256419(0x1b7)](_0x4ea99f=>String[_0x256419(0x1ca)](_0x4ea99f))[_0x256419(0x195)]('');}_0x3ccb7e(await _0x7d293e());}(this);}[_0x19a599(0x1a3)](){const _0x4ae8a5=_0x19a599,_0x4a1936=this[_0x4ae8a5(0x190)][_0x4ae8a5(0x1ab)][_0x4ae8a5(0x1b3)];_0x4a1936[_0x4ae8a5(0x1c5)](_0x4ae8a5(0x1c3))&&_0x4a1936[_0x4ae8a5(0x18f)](_0x4ae8a5(0x1c3),{'allowAttributes':[_0x4ae8a5(0x19a)]}),_0x4a1936[_0x4ae8a5(0x1c5)](_0x4ae8a5(0x1b9))&&_0x4a1936[_0x4ae8a5(0x18f)](_0x4ae8a5(0x1b9),{'allowAttributes':[_0x4ae8a5(0x19a)]});}[_0x19a599(0x1b6)](){const _0x558e4c=_0x19a599,_0x4c8008=this[_0x558e4c(0x190)];_0x4c8008[_0x558e4c(0x1b5)][_0x558e4c(0x184)](_0x558e4c(0x18d))[_0x558e4c(0x1a0)]({'model':_0x558e4c(0x19a),'view':_0x558e4c(0x1b8)}),_0x4c8008[_0x558e4c(0x1b5)][_0x558e4c(0x184)](_0x558e4c(0x1c0))[_0x558e4c(0x188)]({'model':{'key':_0x558e4c(0x19a),'value':_0x4929ed=>_0x4929ed[_0x558e4c(0x1cb)](_0x558e4c(0x1b8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x33edf5=_0x4c8008[_0x558e4c(0x1cd)][_0x558e4c(0x199)](_0x558e4c(0x193));_0x33edf5&&this[_0x558e4c(0x19f)](_0x33edf5,_0x558e4c(0x1a7),(_0x1d518f,[_0x1e6694,_0x16c518])=>{const _0x2764ff=_0x558e4c;_0x1e6694[_0x2764ff(0x1a6)](_0x2764ff(0x19a),_0x16c518);});}[_0x19a599(0x18c)](){const _0x4fbf3c=_0x19a599,_0x4f287d=this[_0x4fbf3c(0x190)][_0x4fbf3c(0x18e)][_0x4fbf3c(0x199)](_0x4fbf3c(0x196))||{},_0x4802bd=this[_0x4fbf3c(0x190)][_0x4fbf3c(0x18e)][_0x4fbf3c(0x199)](_0x4fbf3c(0x1c9))||'';this[_0x4fbf3c(0x1a9)]=_0xe8db05(_0x217cf7[_0x4fbf3c(0x1af)],_0x4fbf3c(0x1a4),{..._0x4f287d,'pubkey':_0x4802bd,'ctx-name':_0x4fbf3c(0x192)+this[_0x4fbf3c(0x1b4)],'sourceList':'','imgOnly':_0x4fbf3c(0x1c1),'removeCopyright':_0x4fbf3c(0x1c1),'localeName':this[_0x4fbf3c(0x190)][_0x4fbf3c(0x1cc)][_0x4fbf3c(0x189)],'externalSourcesEmbedCss':_0x4fbf3c(0x1d0)}),this[_0x4fbf3c(0x1a9)][_0x4fbf3c(0x1c8)]=_0x31814c=>{const _0x252dbe=_0x4fbf3c;if(_0x252dbe(0x1bc)==_0x31814c)return _0x252dbe(0x1bb);},_0x217cf7[_0x4fbf3c(0x1af)][_0x4fbf3c(0x187)][_0x4fbf3c(0x1ba)](this[_0x4fbf3c(0x1a9)]);}[_0x19a599(0x197)](){const _0x59c596=_0x19a599;this[_0x59c596(0x180)]=_0xe8db05(_0x217cf7[_0x59c596(0x1af)],_0x59c596(0x1b0),{'ctx-name':_0x59c596(0x192)+this[_0x59c596(0x1b4)]}),_0x217cf7[_0x59c596(0x1af)][_0x59c596(0x187)][_0x59c596(0x1ba)](this[_0x59c596(0x180)]);}[_0x19a599(0x1c2)](){const _0x2b242f=_0x19a599,_0x2a1d65=this[_0x2b242f(0x190)][_0x2b242f(0x1cd)][_0x2b242f(0x199)](_0x2b242f(0x17e));_0x2a1d65&&this[_0x2b242f(0x19f)](_0x2a1d65,_0x2b242f(0x1b1),()=>{const _0x2ff454=_0x2b242f,_0x2d1f2a=this[_0x2ff454(0x190)][_0x2ff454(0x1ab)][_0x2ff454(0x1af)][_0x2ff454(0x182)][_0x2ff454(0x19b)]();_0x2d1f2a&&_0x2d1f2a[_0x2ff454(0x1cb)](_0x2ff454(0x19a))&&this[_0x2ff454(0x190)][_0x2ff454(0x1aa)][_0x2ff454(0x1b2)][_0x2ff454(0x17f)](_0x2ff454(0x191),()=>{const _0x564736=_0x2ff454;_0x3bc4a6(this[_0x564736(0x190)],_0x2d1f2a);});});const _0x20079a=this[_0x2b242f(0x190)][_0x2b242f(0x1cd)][_0x2b242f(0x199)](_0x2b242f(0x183));_0x20079a&&this[_0x2b242f(0x19f)](_0x20079a,_0x2b242f(0x1b1),()=>{const _0x176f55=_0x2b242f,_0x30e4b4=this[_0x176f55(0x190)][_0x176f55(0x1ab)][_0x176f55(0x1af)][_0x176f55(0x182)][_0x176f55(0x19b)]();_0x30e4b4&&_0x30e4b4[_0x176f55(0x1cb)](_0x176f55(0x19a))&&this[_0x176f55(0x190)][_0x176f55(0x1aa)][_0x176f55(0x1b2)][_0x176f55(0x17f)](_0x176f55(0x191),()=>{const _0x5102d0=_0x176f55;_0x3bc4a6(this[_0x5102d0(0x190)],_0x30e4b4);});});}}
|
|
23
|
+
const _0x484458=_0x5335;(function(_0x1bcc25,_0x4d0d26){const _0x196a76=_0x5335,_0x3995bc=_0x1bcc25();while(!![]){try{const _0x49858c=parseInt(_0x196a76(0x225))/0x1+parseInt(_0x196a76(0x1f6))/0x2*(-parseInt(_0x196a76(0x20a))/0x3)+-parseInt(_0x196a76(0x209))/0x4+parseInt(_0x196a76(0x1ff))/0x5*(parseInt(_0x196a76(0x206))/0x6)+-parseInt(_0x196a76(0x1fe))/0x7+-parseInt(_0x196a76(0x1f8))/0x8+parseInt(_0x196a76(0x21b))/0x9;if(_0x49858c===_0x4d0d26)break;else _0x3995bc['push'](_0x3995bc['shift']());}catch(_0x2f1630){_0x3995bc['push'](_0x3995bc['shift']());}}}(_0x2a42,0x7fc1c));import{Plugin as _0x574f74}from'ckeditor5/src/core.js';import{Dialog as _0xb889d6}from'ckeditor5/src/ui.js';import{createElement as _0x279d44,global as _0x35a56e,uid as _0xfbd17}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x54d375}from'./uploadcarecommand.js';function _0x5335(_0x38f08a,_0x1b6587){const _0x2a42be=_0x2a42();return _0x5335=function(_0x533541,_0xc2870e){_0x533541=_0x533541-0x1dd;let _0x3e4f3f=_0x2a42be[_0x533541];return _0x3e4f3f;},_0x5335(_0x38f08a,_0x1b6587);}function _0x2a42(){const _0x2cef6f=['isOfficialPlugin','href','uploadcare.pubkey','editor','map','locale','body','uploadcareImageId','8698yssvGZ','elementToAttribute','6626632zPpQCw','cleanupImage','pluginName','_initImageProcessingIndicator','appendChild','removeAttribute','2444995lrNkKD','446565zyAQeM','_initConversion','uc-upload-ctx-provider','extend','getSelectedElement','#uc-icon-arrow-down','execute','54rkzYpK','ctxElement','ucContextId','3234308NPaGEu','249GPCbHW','_initSchema','replaceImageSource','get','uploadcare','UploadcareEditing','_initCtx','model','contentLanguage','destroy','querySelector','for','commands','isRegistered','insertImage','once','upcast','17257743QGnTLj','getAttribute','join','isPremiumPlugin','true','data-uc-image-id','fromCharCode','uc-config','iconHrefResolver','uploadcareImageReplace','149106uPjzwF','init','render','document','add','attributeToAttribute','requires','uploadcare.uploader','configElement','PictureEditing','downcast','\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','_ctxElement','closeMax','selection','_initConfig','imageInline','listenTo','editing','imageBlock','conversion','afterInit','config','_configElement','uploader-','remove','input[uploadcare-file-input]','view','schema'];_0x2a42=function(){return _0x2cef6f;};return _0x2a42();}import{UploadcareUploadAdapter as _0x9ba214}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x23016c}from'./utils/editingutils.js';export class UploadcareEditing extends _0x574f74{[_0x484458(0x1e8)]=null;[_0x484458(0x1dd)]=null;static get[_0x484458(0x1fa)](){const _0x49b5df=_0x484458;return _0x49b5df(0x20f);}static get[_0x484458(0x22b)](){const _0x38dd12=_0x484458;return[_0x38dd12(0x22e),_0x9ba214,_0xb889d6];}static get[_0x484458(0x1ee)](){return!0x0;}static get[_0x484458(0x21e)](){return!0x0;}[_0x484458(0x208)];get[_0x484458(0x22d)](){const _0xd695c3=_0x484458;return this[_0xd695c3(0x1e8)];}get[_0x484458(0x207)](){const _0x58781f=_0x484458;return this[_0x58781f(0x1dd)];}constructor(_0x19e31a){const _0x27e665=_0x484458;super(_0x19e31a),this[_0x27e665(0x208)]=_0xfbd17();}[_0x484458(0x226)](){const _0x4014be=_0x484458,_0xbc56cc=this[_0x4014be(0x1f1)];_0xbc56cc[_0x4014be(0x216)][_0x4014be(0x229)](_0x4014be(0x20e),new _0x54d375(_0xbc56cc));}[_0x484458(0x1e6)](){const _0x5c49e2=_0x484458;this[_0x5c49e2(0x20b)](),this[_0x5c49e2(0x200)](),this[_0x5c49e2(0x1e0)](),this[_0x5c49e2(0x210)](),this[_0x5c49e2(0x1fb)](),this[_0x5c49e2(0x1e2)](this[_0x5c49e2(0x1f1)],_0x5c49e2(0x213),()=>{const _0x2981cf=_0x5c49e2;this[_0x2981cf(0x1e8)]&&(this[_0x2981cf(0x1e8)][_0x2981cf(0x1ea)](),this[_0x2981cf(0x1e8)]=null),this[_0x2981cf(0x1dd)]&&(this[_0x2981cf(0x1dd)][_0x2981cf(0x1ea)](),this[_0x2981cf(0x1dd)]=null);const _0x1b3a24=_0x35a56e[_0x2981cf(0x228)][_0x2981cf(0x214)](_0x2981cf(0x1eb));_0x1b3a24&&_0x1b3a24[_0x2981cf(0x1ea)]();}),async function(_0x562cbc){const _0x3e4820=_0x2a5fab([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]),_0x375dcf=0x535f8c3a,_0x2a2fe6=0x5358f26a^_0x375dcf,_0x541f49=window[_0x2a5fab([0x44,0x61,0x74,0x65])][_0x2a5fab([0x6e,0x6f,0x77])](),_0x25b043=_0x562cbc[_0x2a5fab([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x373d09=new window[(_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x170fa5=>{_0x25b043[_0x2a5fab([0x6f,0x6e,0x63,0x65])](_0x2a5fab([0x72,0x65,0x61,0x64,0x79]),_0x170fa5);}),_0x23932d={[_0x2a5fab([0x6b,0x74,0x79])]:_0x2a5fab([0x45,0x43]),[_0x2a5fab([0x75,0x73,0x65])]:_0x2a5fab([0x73,0x69,0x67]),[_0x2a5fab([0x63,0x72,0x76])]:_0x2a5fab([0x50,0x2d,0x32,0x35,0x36]),[_0x2a5fab([0x78])]:_0x2a5fab([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]),[_0x2a5fab([0x79])]:_0x2a5fab([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]),[_0x2a5fab([0x61,0x6c,0x67])]:_0x2a5fab([0x45,0x53,0x32,0x35,0x36])},_0x5f1a5e=_0x25b043[_0x2a5fab([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a5fab([0x67,0x65,0x74])](_0x2a5fab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x589abe(){let _0xe976e5,_0x352606=null,_0x5ce30a=null;try{if(_0x5f1a5e==_0x2a5fab([0x47,0x50,0x4c]))return _0x2a5fab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe976e5=_0x1e84f0(),!_0xe976e5)return _0x2a5fab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe976e5[_0x2a5fab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ce30a=_0x5a3e43(_0xe976e5[_0x2a5fab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe976e5[_0x2a5fab([0x6a,0x74,0x69])])),await _0x2654c6()?_0x2122d9()?_0x4d0b51()?_0x2a5fab([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x8bd493()?(_0xe976e5[_0x2a5fab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a5fab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x352606=_0x4a0859(_0x2a5fab([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5dc318()):_0x2a5fab([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a5fab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a5fab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a5fab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d0b51(){const _0x1579cd=[_0x2a5fab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a5fab([0x74,0x72,0x69,0x61,0x6c])][_0x2a5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe976e5[_0x2a5fab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x541f49/0x3e8:0xe10*_0x2a2fe6;return _0xe976e5[_0x2a5fab([0x65,0x78,0x70])]<_0x1579cd;}function _0x2122d9(){const _0x546c79=_0xe976e5[_0x2a5fab([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x546c79&&(!!_0x546c79[_0x2a5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a5fab([0x2a]))||!!_0x546c79[_0x2a5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a5fab([0x55,0x50,0x4c,0x43])));}function _0x8bd493(){const _0x39518c=_0x5335,_0x348625=_0xe976e5[_0x2a5fab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x348625||0x0==_0x348625[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x121f80}=new URL(window[_0x2a5fab([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x39518c(0x1ef)]);if(_0x348625[_0x2a5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x121f80))return!0x0;const _0xfeb375=_0x121f80[_0x2a5fab([0x73,0x70,0x6c,0x69,0x74])](_0x2a5fab([0x2e]));return _0x348625[_0x2a5fab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x428224=>_0x428224[_0x2a5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a5fab([0x2a])))[_0x2a5fab([0x6d,0x61,0x70])](_0xe89f8=>_0xe89f8[_0x2a5fab([0x73,0x70,0x6c,0x69,0x74])](_0x2a5fab([0x2e])))[_0x2a5fab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x372392=>_0x372392[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xfeb375[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a5fab([0x6d,0x61,0x70])](_0x187f40=>Array(_0xfeb375[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x187f40[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a5fab([0x66,0x69,0x6c,0x6c])](_0x187f40[0x0]===_0x2a5fab([0x2a])?_0x2a5fab([0x2a]):'')[_0x2a5fab([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x187f40))[_0x2a5fab([0x73,0x6f,0x6d,0x65])](_0x28aa4a=>_0xfeb375[_0x2a5fab([0x65,0x76,0x65,0x72,0x79])]((_0x83fef6,_0x2956c1)=>_0x28aa4a[_0x2956c1]===_0x83fef6||_0x28aa4a[_0x2956c1]===_0x2a5fab([0x2a])));}function _0x5dc318(){return _0x352606&&_0x5ce30a?new window[(_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f1cfe,_0x1c78be)=>{_0x352606[_0x2a5fab([0x74,0x68,0x65,0x6e])](_0x1f1cfe,_0x1c78be),_0x5ce30a[_0x2a5fab([0x74,0x68,0x65,0x6e])](_0x38ad4c=>{_0x38ad4c!=_0x2a5fab([0x56,0x61,0x6c,0x69,0x64])&&_0x1f1cfe(_0x38ad4c);},_0x1c78be);}):_0x352606||_0x5ce30a||_0x2a5fab([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a3e43(_0x2d67a1,_0xf344b7){return new window[(_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d3377=>{if(_0x2bf313())return _0x3d3377(_0x2a5fab([0x56,0x61,0x6c,0x69,0x64]));_0x507a2c(),_0x25b043[_0x2a5fab([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a5fab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b6bce=!0x1;const _0x26d9bc=_0xfbd17();function _0x1c9f70(_0x31bcfa){return!!_0x31bcfa&&(typeof _0x31bcfa===_0x2a5fab([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31bcfa===_0x2a5fab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31bcfa[_0x2a5fab([0x74,0x68,0x65,0x6e])]===_0x2a5fab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31bcfa[_0x2a5fab([0x63,0x61,0x74,0x63,0x68])]===_0x2a5fab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30b520(_0x3d7d87){_0x318140(_0x3d7d87)[_0x2a5fab([0x74,0x68,0x65,0x6e])](_0x3fb838=>{if(!_0x3fb838||_0x3fb838[_0x2a5fab([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a5fab([0x6f,0x6b]))return _0x2a5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7b0789(_0x5636ac(_0x26d9bc+_0xf344b7))!=_0x3fb838[_0x2a5fab([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a5fab([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a5fab([0x74,0x68,0x65,0x6e])](_0x50dcae=>(_0x4de8c0(),_0x50dcae),()=>{const _0x5e95ca=_0x4c03b0();return null==_0x5e95ca?(_0x4de8c0(),_0x2a5fab([0x56,0x61,0x6c,0x69,0x64])):_0x2a5fab(_0x541f49-_0x5e95ca>(0x7753083a^_0x375dcf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a5fab([0x74,0x68,0x65,0x6e])](_0x3d3377)[_0x2a5fab([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d3377(_0x2a5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11029c=0x536962ba^_0x375dcf;function _0x4de8c0(){const _0x30b110=_0x2a5fab([0x6c,0x6c,0x63,0x74,0x2d])+_0x7b0789(_0x5636ac(_0x2d67a1)),_0x4dec5e=_0x286fe3(_0x7b0789(window[_0x2a5fab([0x4d,0x61,0x74,0x68])][_0x2a5fab([0x63,0x65,0x69,0x6c])](_0x541f49/_0x11029c)));window[_0x2a5fab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a5fab([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30b110,_0x4dec5e);}function _0x4c03b0(){const _0x3bffea=_0x2a5fab([0x6c,0x6c,0x63,0x74,0x2d])+_0x7b0789(_0x5636ac(_0x2d67a1)),_0x5c21a7=window[_0x2a5fab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a5fab([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bffea);return _0x5c21a7?window[_0x2a5fab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x286fe3(_0x5c21a7),0x10)*_0x11029c:null;}function _0x318140(_0x58fc88){return new window[(_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe00cb,_0x232e61)=>{_0x58fc88[_0x2a5fab([0x74,0x68,0x65,0x6e])](_0xe00cb,_0x232e61),window[_0x2a5fab([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x232e61,0x535e58fa^_0x375dcf);});}}_0x25b043[_0x2a5fab([0x6f,0x6e])](_0x2a5fab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x36acfe,_0x2413b4)=>{if(_0x2413b4[0x0]!=_0x2d67a1)return _0x3d3377(_0x2a5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2413b4[0x1]={..._0x2413b4[0x1],[_0x2a5fab([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x26d9bc};},{[_0x2a5fab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a5fab([0x68,0x69,0x67,0x68])}),_0x25b043[_0x2a5fab([0x6f,0x6e])](_0x2a5fab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3b2184=>{_0x1c9f70(_0x3b2184[_0x2a5fab([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b6bce=!0x0,_0x30b520(_0x3b2184[_0x2a5fab([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a5fab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a5fab([0x6c,0x6f,0x77])}),_0x373d09[_0x2a5fab([0x74,0x68,0x65,0x6e])](()=>{_0x5b6bce||_0x3d3377(_0x2a5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2bf313(){return _0x25b043[_0x2a5fab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a5fab([0x76,0x69,0x65,0x77])][_0x2a5fab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a5fab([0x61,0x75,0x74,0x6f]);}function _0x507a2c(){_0x25b043[_0x2a5fab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a5fab([0x76,0x69,0x65,0x77])][_0x2a5fab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a5fab([0x61,0x75,0x74,0x6f]);}}function _0x4a0859(_0x3bf450){const _0x34aa9d=[new window[(_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3718e2=>setTimeout(_0x3718e2,0x5356b2f6^_0x375dcf)),_0x373d09[_0x2a5fab([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e3dfa=>{let _0x5deff1=0x0;_0x25b043[_0x2a5fab([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a5fab([0x6f,0x6e])](_0x2a5fab([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x31d2d6,_0xd7abad)=>{_0xd7abad[0x0][_0x2a5fab([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5deff1++,_0x5deff1==(0x535f89d2^_0x375dcf)&&(_0x2e3dfa(),_0x31d2d6[_0x2a5fab([0x6f,0x66,0x66])]());});}))];return window[_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a5fab([0x72,0x61,0x63,0x65])](_0x34aa9d)[_0x2a5fab([0x74,0x68,0x65,0x6e])](()=>_0x3bf450);}async function _0x24d1e7(){await _0x373d09,_0x25b043[_0x2a5fab([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a5fab([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x119741,_0x25b043[_0x2a5fab([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a5fab([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x119741,_0x25b043[_0x2a5fab([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a5fab([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x20a8b8(_0x302a73){const _0x550668=_0x1c140a();_0x25b043[_0x550668]=_0x2a5fab([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x302a73,_0x302a73!=_0x2a5fab([0x56,0x61,0x6c,0x69,0x64])&&_0x24d1e7();}function _0x1c140a(){const _0x3505e8=window[_0x2a5fab([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a5fab([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a5fab([0x6e,0x6f,0x77])]())[_0x2a5fab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a5fab([0x2e]),'');let _0x4bed99=_0x2a5fab([0x68]);for(let _0x3acf3c=0x0;_0x3acf3c<_0x3505e8[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3acf3c+=0x2){let _0x4bf4b2=window[_0x2a5fab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3505e8[_0x2a5fab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3acf3c,_0x3acf3c+0x2));_0x4bf4b2>=_0x3e4820[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4bf4b2-=_0x3e4820[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4bed99+=_0x3e4820[_0x4bf4b2];}return _0x4bed99;}function _0x1e84f0(){const _0x53080e=_0x5f1a5e[_0x2a5fab([0x73,0x70,0x6c,0x69,0x74])](_0x2a5fab([0x2e]));if(0x3!=_0x53080e[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e713a(_0x53080e[0x1]);function _0x5e713a(_0x44e66c){const _0x5dc929=_0x2c8549(_0x44e66c);return _0x5dc929&&_0x40969f()?_0x5dc929:null;function _0x40969f(){const _0x4ab16b=_0x5dc929[_0x2a5fab([0x6a,0x74,0x69])],_0x2cfa29=window[_0x2a5fab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ab16b[_0x2a5fab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ab16b[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53f772={..._0x5dc929,[_0x2a5fab([0x6a,0x74,0x69])]:_0x4ab16b[_0x2a5fab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ab16b[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53f772[_0x2a5fab([0x76,0x63])],_0x5636ac(_0x53f772)==_0x2cfa29;}}}async function _0x2654c6(){let _0xe886fc=!0x0;try{const _0x34ff99=_0x5f1a5e[_0x2a5fab([0x73,0x70,0x6c,0x69,0x74])](_0x2a5fab([0x2e])),[_0x102c68,_0x20c613,_0x2f6ff8]=_0x34ff99;return _0x595ef4(_0x102c68),await _0x2a9fb7(_0x102c68,_0x20c613,_0x2f6ff8),_0xe886fc;}catch{return!0x1;}function _0x595ef4(_0x1c9b69){const _0x43c36d=_0x2c8549(_0x1c9b69);_0x43c36d&&_0x43c36d[_0x2a5fab([0x61,0x6c,0x67])]==_0x2a5fab([0x45,0x53,0x32,0x35,0x36])||(_0xe886fc=!0x1);}async function _0x2a9fb7(_0x1998a6,_0x2ec701,_0x37162c){const _0x3b1cb0=window[_0x2a5fab([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a5fab([0x66,0x72,0x6f,0x6d])](_0x53ef60(_0x37162c),_0x537d64=>_0x537d64[_0x2a5fab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x51ddbb=new window[(_0x2a5fab([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a5fab([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1998a6+_0x2a5fab([0x2e])+_0x2ec701),_0x140acd=window[_0x2a5fab([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a5fab([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x140acd)return;const _0x5a7bb5=await _0x140acd[_0x2a5fab([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a5fab([0x6a,0x77,0x6b]),_0x23932d,{[_0x2a5fab([0x6e,0x61,0x6d,0x65])]:_0x2a5fab([0x45,0x43,0x44,0x53,0x41]),[_0x2a5fab([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a5fab([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a5fab([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x140acd[_0x2a5fab([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a5fab([0x6e,0x61,0x6d,0x65])]:_0x2a5fab([0x45,0x43,0x44,0x53,0x41]),[_0x2a5fab([0x68,0x61,0x73,0x68])]:{[_0x2a5fab([0x6e,0x61,0x6d,0x65])]:_0x2a5fab([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a7bb5,_0x3b1cb0,_0x51ddbb)||(_0xe886fc=!0x1);}}function _0x2c8549(_0x1c2117){return _0x1c2117[_0x2a5fab([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a5fab([0x65,0x79]))?JSON[_0x2a5fab([0x70,0x61,0x72,0x73,0x65])](_0x53ef60(_0x1c2117)):null;}function _0x53ef60(_0x150aea){return window[_0x2a5fab([0x61,0x74,0x6f,0x62])](_0x150aea[_0x2a5fab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a5fab([0x2b]))[_0x2a5fab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a5fab([0x2f])));}function _0x5636ac(_0x3759d6){let _0x45f628=0x1505;function _0x5b1d4d(_0x5aec04){for(let _0x53f952=0x0;_0x53f952<_0x5aec04[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53f952++){const _0x5298b6=_0x5aec04[_0x2a5fab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53f952);_0x45f628=(_0x45f628<<0x5)+_0x45f628+_0x5298b6,_0x45f628&=_0x45f628;}}function _0x3a1636(_0xa5f9fb){Array[_0x2a5fab([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa5f9fb)?_0xa5f9fb[_0x2a5fab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a1636):_0xa5f9fb&&typeof _0xa5f9fb==_0x2a5fab([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a5fab([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa5f9fb)[_0x2a5fab([0x73,0x6f,0x72,0x74])]()[_0x2a5fab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bb56c,_0x466858])=>{_0x5b1d4d(_0x5bb56c),_0x3a1636(_0x466858);}):_0x5b1d4d(window[_0x2a5fab([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa5f9fb));}return _0x3a1636(_0x3759d6),_0x45f628>>>0x0;}function _0x7b0789(_0x46744d){return _0x46744d[_0x2a5fab([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a5fab([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a5fab([0x30]));}function _0x286fe3(_0x53d619){return _0x53d619[_0x2a5fab([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a5fab([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a5fab([0x6a,0x6f,0x69,0x6e])]('');}function _0x119741(){}function _0x2a5fab(_0x32cf07){const _0x152c20=_0x5335;return _0x32cf07[_0x152c20(0x1f2)](_0x30f6a=>String[_0x152c20(0x221)](_0x30f6a))[_0x152c20(0x21d)]('');}_0x20a8b8(await _0x589abe());}(this);}[_0x484458(0x20b)](){const _0x5d2449=_0x484458,_0x43b885=this[_0x5d2449(0x1f1)][_0x5d2449(0x211)][_0x5d2449(0x1ed)];_0x43b885[_0x5d2449(0x217)](_0x5d2449(0x1e4))&&_0x43b885[_0x5d2449(0x202)](_0x5d2449(0x1e4),{'allowAttributes':[_0x5d2449(0x1f5)]}),_0x43b885[_0x5d2449(0x217)](_0x5d2449(0x1e1))&&_0x43b885[_0x5d2449(0x202)](_0x5d2449(0x1e1),{'allowAttributes':[_0x5d2449(0x1f5)]});}[_0x484458(0x200)](){const _0x3a5152=_0x484458,_0x3b53f8=this[_0x3a5152(0x1f1)];_0x3b53f8[_0x3a5152(0x1e5)][_0x3a5152(0x215)](_0x3a5152(0x22f))[_0x3a5152(0x22a)]({'model':_0x3a5152(0x1f5),'view':_0x3a5152(0x220)}),_0x3b53f8[_0x3a5152(0x1e5)][_0x3a5152(0x215)](_0x3a5152(0x21a))[_0x3a5152(0x1f7)]({'model':{'key':_0x3a5152(0x1f5),'value':_0x316416=>_0x316416[_0x3a5152(0x21c)](_0x3a5152(0x220))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x143b15=_0x3b53f8[_0x3a5152(0x216)][_0x3a5152(0x20d)](_0x3a5152(0x20c));_0x143b15&&this[_0x3a5152(0x1e2)](_0x143b15,_0x3a5152(0x1f9),(_0xc578e6,[_0x4c8ec3,_0x415a77])=>{const _0x16e8cb=_0x3a5152;_0x4c8ec3[_0x16e8cb(0x1fd)](_0x16e8cb(0x1f5),_0x415a77);});}[_0x484458(0x1e0)](){const _0x48ed07=_0x484458,_0x582f7f=this[_0x48ed07(0x1f1)][_0x48ed07(0x1e7)][_0x48ed07(0x20d)](_0x48ed07(0x22c))||{},_0x341d5e=this[_0x48ed07(0x1f1)][_0x48ed07(0x1e7)][_0x48ed07(0x20d)](_0x48ed07(0x1f0))||'';this[_0x48ed07(0x1e8)]=_0x279d44(_0x35a56e[_0x48ed07(0x228)],_0x48ed07(0x222),{..._0x582f7f,'pubkey':_0x341d5e,'ctx-name':_0x48ed07(0x1e9)+this[_0x48ed07(0x208)],'sourceList':'','imgOnly':_0x48ed07(0x21f),'removeCopyright':_0x48ed07(0x21f),'localeName':this[_0x48ed07(0x1f1)][_0x48ed07(0x1f3)][_0x48ed07(0x212)],'externalSourcesEmbedCss':_0x48ed07(0x230)}),this[_0x48ed07(0x1e8)][_0x48ed07(0x223)]=_0x4f152c=>{const _0x46fc86=_0x48ed07;if(_0x46fc86(0x1de)==_0x4f152c)return _0x46fc86(0x204);},_0x35a56e[_0x48ed07(0x228)][_0x48ed07(0x1f4)][_0x48ed07(0x1fc)](this[_0x48ed07(0x1e8)]);}[_0x484458(0x210)](){const _0x4f4ef5=_0x484458;this[_0x4f4ef5(0x1dd)]=_0x279d44(_0x35a56e[_0x4f4ef5(0x228)],_0x4f4ef5(0x201),{'ctx-name':_0x4f4ef5(0x1e9)+this[_0x4f4ef5(0x208)]}),_0x35a56e[_0x4f4ef5(0x228)][_0x4f4ef5(0x1f4)][_0x4f4ef5(0x1fc)](this[_0x4f4ef5(0x1dd)]);}[_0x484458(0x1fb)](){const _0x165fae=_0x484458,_0x11eb9f=this[_0x165fae(0x1f1)][_0x165fae(0x216)][_0x165fae(0x20d)](_0x165fae(0x218));_0x11eb9f&&this[_0x165fae(0x1e2)](_0x11eb9f,_0x165fae(0x205),()=>{const _0x1098d8=_0x165fae,_0x3d5ea8=this[_0x1098d8(0x1f1)][_0x1098d8(0x211)][_0x1098d8(0x228)][_0x1098d8(0x1df)][_0x1098d8(0x203)]();_0x3d5ea8&&_0x3d5ea8[_0x1098d8(0x21c)](_0x1098d8(0x1f5))&&this[_0x1098d8(0x1f1)][_0x1098d8(0x1e3)][_0x1098d8(0x1ec)][_0x1098d8(0x219)](_0x1098d8(0x227),()=>{const _0x250dff=_0x1098d8;_0x23016c(this[_0x250dff(0x1f1)],_0x3d5ea8);});});const _0x20e8b6=this[_0x165fae(0x1f1)][_0x165fae(0x216)][_0x165fae(0x20d)](_0x165fae(0x224));_0x20e8b6&&this[_0x165fae(0x1e2)](_0x20e8b6,_0x165fae(0x205),()=>{const _0x53847a=_0x165fae,_0x37c5e0=this[_0x53847a(0x1f1)][_0x53847a(0x211)][_0x53847a(0x228)][_0x53847a(0x1df)][_0x53847a(0x203)]();_0x37c5e0&&_0x37c5e0[_0x53847a(0x21c)](_0x53847a(0x1f5))&&this[_0x53847a(0x1f1)][_0x53847a(0x1e3)][_0x53847a(0x1ec)][_0x53847a(0x219)](_0x53847a(0x227),()=>{const _0x75ed2b=_0x53847a;_0x23016c(this[_0x75ed2b(0x1f1)],_0x37c5e0);});});}}
|
|
@@ -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 _0x1889d4,ObservableMixin as _0x462f8c}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2a040c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1f1931}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x41ca14}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xfee528}from'../../utils/uploadutils.js';import{getImageUrls as _0x224571,getImageDimension as _0x5384b8}from'../../utils/editingutils.js';import{isAncestor as _0x3ec617}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x462f8c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x31e7dd,_0x4a4214,_0x112f2d){super(),this['_editor']=_0x31e7dd,this['_dialog']=_0x4a4214,this['_imageElement']=_0x112f2d,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 _0x270e5f=this['_imageElement'],_0x4b319c=_0x270e5f['getAttribute']('uploadcareImageId'),_0x51b058=_0x270e5f['getAttribute']('src');if(_0x4b319c)await this['_loadImageInfo'](_0x4b319c,_0x51b058);else{if(this['_imageCache']['has'](_0x51b058)){const _0x4a16df=this['_imageCache']['get'](_0x51b058);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a16df['url'],this['imageDimension']=_0x4a16df['dimension'],this['imageId']=_0x4a16df['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4c2c85}=this['_editor'],t=_0x4c2c85['t'],_0x31a55e=new _0x41ca14(_0x4c2c85,this['imageStatus'],this['_attributes']);_0x31a55e['bind']('status')['to'](this,'imageStatus'),_0x31a55e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x31a55e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x31a55e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x31a55e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1f1931,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x31a55e,'position':_0x2a040c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x31a55e['focus']();},'onHide':()=>{_0x31a55e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3da837=>!_0x3ec617(_0x3da837,_0x31a55e['element'])}});}['_loadImageInfo'](_0x526478,_0x5a3a7c){return _0xfee528['getInfo'](_0x526478,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2b8ce4=>{const {width:_0x1d436e,height:_0x4fbacb}=_0x2b8ce4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a3a7c,this['imageDimension']={'width':_0x1d436e,'height':_0x4fbacb},this['imageId']=_0x526478;})['catch'](_0x3b7198=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b7198['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4c0870,_0x3a62a9){return this['_getImageAsFile'](_0x4c0870)['then'](_0x3f9174=>_0xfee528['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':_0x3a62a9['signal'],'file':_0x3f9174,'onProgress':_0x5a8cc5=>{_0x5a8cc5&&_0x5a8cc5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5a8cc5['value']));}}))['then'](_0x25e7fb=>{const {width:_0x1fb459,height:_0x2ac8b5}=_0x25e7fb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x25e7fb['cdnUrl'],this['imageDimension']={'width':_0x1fb459,'height':_0x2ac8b5},this['imageId']=_0x25e7fb['uuid'],this['imageUploadProgress']=null;const _0x23b33d=_0x4c0870['getAttribute']('src');this['_imageCache']['set'](_0x23b33d,{'id':_0x25e7fb['uuid'],'url':_0x25e7fb['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x308989=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x308989['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1b47b8,_0x4b45ea){_0x1b47b8['on']('apply',(_0x2afa61,_0x40d0ed)=>{this['_replaceImage'](_0x4b45ea,_0x40d0ed['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1b47b8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1b47b8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1fd581,_0x14513f,_0x12dc67){const _0xdcdce5=this['_editor'],{width:_0xbc052f,height:_0x201857}=_0x5384b8(_0x14513f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4a9033,imageSources:_0x4b7baa}=_0x224571(_0x14513f,_0xbc052f);_0xdcdce5['model']['change'](_0xd278c5=>{if('$graveyard'===_0x1fd581['root']['rootName']){_0xdcdce5['execute']('insertImage',{'imageType':_0x1fd581['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1fd581['getAttributes']()),'uploadcareImageId':_0x12dc67,'src':_0x4a9033,'sources':_0x4b7baa,'width':_0xbc052f,'height':_0x201857}});const _0x541a10=_0x1fd581['getChildren']();_0x1fd581=_0xdcdce5['model']['document']['selection']['getSelectedElement']();for(const _0x4f99eb of _0x541a10)_0xd278c5['append'](_0xd278c5['cloneElement'](_0x4f99eb),_0x1fd581);}else _0xd278c5['setSelection'](_0x1fd581,'on'),_0xdcdce5['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1fd581['getAttributes']()),'uploadcareImageId':_0x12dc67,'src':_0x4a9033,'sources':_0x4b7baa,'width':_0xbc052f,'height':_0x201857},_0x1fd581);_0xd278c5['setSelection'](_0x1fd581,'on');});}async['_getImageAsFile'](_0x8112ec){const _0xd2daf2=_0x1889d4['window'],_0x1bdc22=_0x1889d4['document']['location']['href'],_0x5337b4=new _0xd2daf2['URL'](_0x8112ec['getAttribute']('src'),_0x1bdc22);if('data:'===_0x5337b4['protocol']){const _0x20da63=_0x5337b4['href']['split'](','),_0x12ea66=_0x20da63[0x0]['match'](/:(.*?);/)[0x1],_0x5aac06=_0x12ea66['split']('/')[0x1],_0x5da366=_0xd2daf2['atob'](_0x20da63[_0x20da63['length']-0x1]);let _0x52fc22=_0x5da366['length'];const _0x3be2d7=new _0xd2daf2['Uint8Array'](_0x52fc22);for(;_0x52fc22--;)_0x3be2d7[_0x52fc22]=_0x5da366['charCodeAt'](_0x52fc22);return new _0xd2daf2['File']([_0x3be2d7],'image.'+_0x5aac06,{'type':_0x12ea66});}const _0x47b766=_0x5337b4['href']['split']('/'),_0x127355=_0x47b766[_0x47b766['length']-0x1],_0x3fcadd=_0x127355['split']('.')[0x1];return _0xd2daf2['fetch'](_0x5337b4['href'])['then'](_0x5227b9=>_0x5227b9['clone']()['blob']())['then'](_0x5684c1=>new _0xd2daf2['File']([_0x5684c1],_0x127355,{'type':'image/'+_0x3fcadd}));}}
|
|
@@ -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 _0x21ef(){const _0x38ae9f=['ck-uploadcare-theme','1107150rDZxav','bindTemplate','image-edit','set','1455453kMtFxd','112SXCkvu','997262WaxDDM','536970upDSmW','1177568nkPQot','138NcKKnE','imageSrc','244210prrlkw','uc-cloud-image-editor','uc-light','43520mGieVc','setTemplate'];_0x21ef=function(){return _0x38ae9f;};return _0x21ef();}(function(_0xceb3ad,_0xb73029){const _0x55db5f=_0x254a,_0x4a7d1f=_0xceb3ad();while(!![]){try{const _0x545dbd=-parseInt(_0x55db5f(0x1f2))/0x1+-parseInt(_0x55db5f(0x1ef))/0x2+-parseInt(_0x55db5f(0x1f0))/0x3*(parseInt(_0x55db5f(0x1f5))/0x4)+-parseInt(_0x55db5f(0x1f8))/0x5+-parseInt(_0x55db5f(0x1ee))/0x6+-parseInt(_0x55db5f(0x1ed))/0x7+parseInt(_0x55db5f(0x1ec))/0x8*(parseInt(_0x55db5f(0x1eb))/0x9);if(_0x545dbd===_0xb73029)break;else _0x4a7d1f['push'](_0x4a7d1f['shift']());}catch(_0x5d9cc1){_0x4a7d1f['push'](_0x4a7d1f['shift']());}}}(_0x21ef,0x747f5));function _0x254a(_0x330fc3,_0xb45977){const _0x21efdc=_0x21ef();return _0x254a=function(_0x254a6f,_0x5eb741){_0x254a6f=_0x254a6f-0x1e8;let _0x335f47=_0x21efdc[_0x254a6f];return _0x335f47;},_0x254a(_0x330fc3,_0xb45977);}import{View as _0x3ae189}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x3ae189{constructor(_0x6b2cf7,_0x50e110){const _0x1d5e45=_0x254a;super(_0x6b2cf7);const _0x47d0a0=this[_0x1d5e45(0x1e8)];this[_0x1d5e45(0x1ea)](_0x1d5e45(0x1f1),''),this[_0x1d5e45(0x1f6)]({'tag':_0x1d5e45(0x1f3),'attributes':{..._0x50e110,'class':[_0x1d5e45(0x1f4),_0x1d5e45(0x1f7)],'ctx-name':_0x1d5e45(0x1e9),'cdn-url':_0x47d0a0['to'](_0x1d5e45(0x1f1))}});}}
|
|
@@ -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 _0x359108}from'ckeditor5/src/icons.js';import{ButtonView as _0x320e0c,IconView as _0x5782d2,View as _0x3cd4e8}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3cd4e8{constructor(_0x59b839){super(_0x59b839);const t=_0x59b839['t'];this['set']('errorType',null);const _0x331bee=new _0x320e0c(_0x59b839);_0x331bee['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x331bee['withText']=!0x0,_0x331bee['class']='ck-button-action',_0x331bee['on']('execute',()=>{this['fire']('retry');}),_0x331bee['bind']('isVisible')['to'](this,'errorType',_0x1e8459=>'NotFound'!==_0x1e8459);const _0x7464cd=new _0x5782d2();_0x7464cd['content']=_0x359108,_0x7464cd['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x523a9a=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':[_0x7464cd,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x523a9a['to']('errorType',_0x161006=>t('NotFound'!==_0x161006?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x331bee]},{'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 _0x2bcfef,View as _0x5d547b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5d547b{constructor(_0x29bbfd){super(_0x29bbfd);const t=_0x29bbfd['t'],_0x4b5cbb=this['bindTemplate'],_0x54590d=new _0x2bcfef();_0x54590d['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':[_0x54590d,{'text':_0x4b5cbb['to']('imageUploadProgress',_0x3d287d=>t('Loading\x20image...')+'\x20('+(_0x3d287d||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
|
/**
|