@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250509.0 → 0.0.0-nightly-20250511.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4b3c4d=_0x1d9f;(function(_0xb709be,_0x59d50b){const _0x284826=_0x1d9f,_0x11fc5b=_0xb709be();while(!![]){try{const _0x49f717=parseInt(_0x284826(0x13c))/0x1*(parseInt(_0x284826(0x167))/0x2)+-parseInt(_0x284826(0x181))/0x3+parseInt(_0x284826(0x13d))/0x4+parseInt(_0x284826(0x133))/0x5*(parseInt(_0x284826(0x143))/0x6)+-parseInt(_0x284826(0x170))/0x7+parseInt(_0x284826(0x157))/0x8+-parseInt(_0x284826(0x14a))/0x9;if(_0x49f717===_0x59d50b)break;else _0x11fc5b['push'](_0x11fc5b['shift']());}catch(_0x3aa3f5){_0x11fc5b['push'](_0x11fc5b['shift']());}}}(_0x51e1,0xd15f7));import{Plugin as _0x5c5aee}from'ckeditor5/src/core.js';function _0x51e1(){const _0x406ccd=['_initCtx','downcast','4658616PdnOLu','configElement','#uc-icon-arrow-down','uc-config','pluginName','destroy','for','fromCharCode','join','data-uc-image-id','execute','cleanupImage','get','5667128GsVpBt','schema','afterInit','config','document','replaceImageSource','locale','_ctxElement','contentLanguage','uploadcare.uploader','model','isRegistered','once','requires','_initImageProcessingIndicator','render','10BKqHSp','view','\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','_initConversion','_initSchema','imageInline','href','insertImage','editing','5529720ctMaVm','input[uploadcare-file-input]','commands','imageBlock','closeMax','UploadcareEditing','body','conversion','isOfficialPlugin','appendChild','extend','upcast','map','attributeToAttribute','uploadcare','uploadcareImageId','getSelectedElement','4986201XTyuCE','isPremiumPlugin','removeAttribute','editor','uploader','5qLYIkI','elementToAttribute','true','_initConfig','uc-upload-ctx-provider','selection','add','uploadcareImageReplace','_configElement','254917NOtoOT','3529276RmosQE','uploadcare.pubkey','iconHrefResolver','ctxElement','remove','PictureEditing','5771682XfYudC','getAttribute','querySelector','listenTo','init'];_0x51e1=function(){return _0x406ccd;};return _0x51e1();}import{Dialog as _0x411cac}from'ckeditor5/src/ui.js';function _0x1d9f(_0x24cadd,_0x6d91ca){const _0x51e1e0=_0x51e1();return _0x1d9f=function(_0x1d9f69,_0x333651){_0x1d9f69=_0x1d9f69-0x130;let _0x307a6d=_0x51e1e0[_0x1d9f69];return _0x307a6d;},_0x1d9f(_0x24cadd,_0x6d91ca);}import{createElement as _0x79d33e,global as _0x14e748,uid as _0x5a4703}from'ckeditor5/src/utils.js';import _0x3de206 from'./uploadcarecommand.js';import _0x31844a from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1de05c}from'./utils/editingutils.js';export default class i extends _0x5c5aee{[_0x4b3c4d(0x13b)]=null;[_0x4b3c4d(0x15e)]=null;static get[_0x4b3c4d(0x14e)](){const _0x29b286=_0x4b3c4d;return _0x29b286(0x175);}static get[_0x4b3c4d(0x164)](){const _0x378d93=_0x4b3c4d;return[_0x378d93(0x142),_0x31844a,_0x411cac];}static get[_0x4b3c4d(0x178)](){return!0x0;}static get[_0x4b3c4d(0x182)](){return!0x0;}get[_0x4b3c4d(0x14b)](){const _0x37091b=_0x4b3c4d;return this[_0x37091b(0x13b)];}get[_0x4b3c4d(0x140)](){const _0x1e6b23=_0x4b3c4d;return this[_0x1e6b23(0x15e)];}[_0x4b3c4d(0x147)](){const _0xe54f4f=_0x4b3c4d,_0x3e2824=this[_0xe54f4f(0x131)];_0x3e2824[_0xe54f4f(0x172)][_0xe54f4f(0x139)](_0xe54f4f(0x17e),new _0x3de206(_0x3e2824));}[_0x4b3c4d(0x159)](){const _0x572edb=_0x4b3c4d;this[_0x572edb(0x16b)](),this[_0x572edb(0x16a)](),this[_0x572edb(0x136)](),this[_0x572edb(0x148)](),this[_0x572edb(0x165)](),this[_0x572edb(0x146)](this[_0x572edb(0x131)],_0x572edb(0x14f),()=>{const _0x177944=_0x572edb;this[_0x177944(0x13b)]&&(this[_0x177944(0x13b)][_0x177944(0x141)](),this[_0x177944(0x13b)]=null),this[_0x177944(0x15e)]&&(this[_0x177944(0x15e)][_0x177944(0x141)](),this[_0x177944(0x15e)]=null);const _0x214159=_0x14e748[_0x177944(0x15b)][_0x177944(0x145)](_0x177944(0x171));_0x214159&&_0x214159[_0x177944(0x141)]();}),async function(_0x1d249a){const _0x2a1643=_0x393b66([0x72,0x62,0x54,0x4c,0x70,0x33,0x32,0x55,0x43,0x45,0x75,0x69,0x79,0x6d,0x66,0x36,0x6c,0x30,0x50,0x52,0x5a,0x47,0x4b,0x6a,0x44,0x76,0x48,0x4a,0x73,0x63,0x74,0x59,0x39,0x4f,0x4d,0x68,0x53,0x64,0x67,0x61,0x78,0x38,0x41,0x51,0x31,0x6f,0x42,0x4e,0x7a,0x57,0x65,0x46,0x6b,0x37,0x58,0x56,0x71,0x49,0x77,0x34,0x35,0x6e]),_0x2a477f=0x3918baf8,_0xda339=0x391fdda0^_0x2a477f,_0x3466c9=window[_0x393b66([0x44,0x61,0x74,0x65])][_0x393b66([0x6e,0x6f,0x77])](),_0x451e87=_0x1d249a[_0x393b66([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x564345=new window[(_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24378b=>{_0x451e87[_0x393b66([0x6f,0x6e,0x63,0x65])](_0x393b66([0x72,0x65,0x61,0x64,0x79]),_0x24378b);}),_0x1533cc={[_0x393b66([0x6b,0x74,0x79])]:_0x393b66([0x45,0x43]),[_0x393b66([0x75,0x73,0x65])]:_0x393b66([0x73,0x69,0x67]),[_0x393b66([0x63,0x72,0x76])]:_0x393b66([0x50,0x2d,0x32,0x35,0x36]),[_0x393b66([0x78])]:_0x393b66([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]),[_0x393b66([0x79])]:_0x393b66([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]),[_0x393b66([0x61,0x6c,0x67])]:_0x393b66([0x45,0x53,0x32,0x35,0x36])},_0x38747b=_0x451e87[_0x393b66([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x393b66([0x67,0x65,0x74])](_0x393b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xad4c84(){let _0x3abcbf,_0x496bd3=null,_0x805d7a=null;try{if(_0x38747b==_0x393b66([0x47,0x50,0x4c]))return _0x393b66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3abcbf=_0x4ac6a1(),!_0x3abcbf)return _0x393b66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3abcbf[_0x393b66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x805d7a=_0x4d1fbe(_0x3abcbf[_0x393b66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3abcbf[_0x393b66([0x6a,0x74,0x69])])),await _0x4b58b0()?_0x2d3a9b()?_0x464731()?_0x393b66([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39a942()?(_0x3abcbf[_0x393b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x393b66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x496bd3=_0x404831(_0x393b66([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3abcbf[_0x393b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x393b66([0x74,0x72,0x69,0x61,0x6c])&&(_0x496bd3=_0x404831(_0x393b66([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x908a3d()):_0x393b66([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x393b66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x393b66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x56a3d5){return _0x393b66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x464731(){const _0x2de7d3=[_0x393b66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x393b66([0x74,0x72,0x69,0x61,0x6c])][_0x393b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3abcbf[_0x393b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3466c9/0x3e8:0xe10*_0xda339;return _0x3abcbf[_0x393b66([0x65,0x78,0x70])]<_0x2de7d3;}function _0x2d3a9b(){const _0x17cdf5=_0x3abcbf[_0x393b66([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17cdf5&&(!!_0x17cdf5[_0x393b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x393b66([0x2a]))||!!_0x17cdf5[_0x393b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x393b66([0x55,0x50,0x4c,0x43])));}function _0x39a942(){const _0x2212aa=_0x1d9f,_0x3fea83=_0x3abcbf[_0x393b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3fea83||0x0==_0x3fea83[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57da67}=new URL(window[_0x393b66([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2212aa(0x16d)]);if(_0x3fea83[_0x393b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57da67))return!0x0;const _0x2c206c=_0x57da67[_0x393b66([0x73,0x70,0x6c,0x69,0x74])](_0x393b66([0x2e]));return _0x3fea83[_0x393b66([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x462a7b=>_0x462a7b[_0x393b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x393b66([0x2a])))[_0x393b66([0x6d,0x61,0x70])](_0x4a11e6=>_0x4a11e6[_0x393b66([0x73,0x70,0x6c,0x69,0x74])](_0x393b66([0x2e])))[_0x393b66([0x73,0x6f,0x6d,0x65])](_0x2899e6=>_0x2c206c[_0x393b66([0x65,0x76,0x65,0x72,0x79])]((_0x575d20,_0x45e458)=>_0x2899e6[_0x45e458]===_0x575d20||_0x2899e6[_0x45e458]===_0x393b66([0x2a])));}function _0x908a3d(){return _0x496bd3&&_0x805d7a?new window[(_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29066c,_0x2841a1)=>{_0x496bd3[_0x393b66([0x74,0x68,0x65,0x6e])](_0x29066c,_0x2841a1),_0x805d7a[_0x393b66([0x74,0x68,0x65,0x6e])](_0x33856a=>{_0x33856a!=_0x393b66([0x56,0x61,0x6c,0x69,0x64])&&_0x29066c(_0x33856a);},_0x2841a1);}):_0x496bd3||_0x805d7a||_0x393b66([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d1fbe(_0x4d4b23,_0x42729d){return new window[(_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x358547=>{if(_0x18bcc5())return _0x358547(_0x393b66([0x56,0x61,0x6c,0x69,0x64]));_0x4d8c77(),_0x451e87[_0x393b66([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x393b66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x374036=!0x1;const _0x50390f=_0x5a4703();function _0x4f42b9(_0xf51959){return!!_0xf51959&&(typeof _0xf51959===_0x393b66([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf51959===_0x393b66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf51959[_0x393b66([0x74,0x68,0x65,0x6e])]===_0x393b66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf51959[_0x393b66([0x63,0x61,0x74,0x63,0x68])]===_0x393b66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x15f0f0(_0x4487bf){_0x5c078c(_0x4487bf)[_0x393b66([0x74,0x68,0x65,0x6e])](_0x54d59e=>{if(!_0x54d59e||_0x54d59e[_0x393b66([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x393b66([0x6f,0x6b]))return _0x393b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49574e(_0xe86b6b(_0x50390f+_0x42729d))!=_0x54d59e[_0x393b66([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x393b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x393b66([0x56,0x61,0x6c,0x69,0x64]);})[_0x393b66([0x74,0x68,0x65,0x6e])](_0x58bf0c=>(_0x41ee35(),_0x58bf0c),()=>{const _0x185acc=_0x356897();return null==_0x185acc?(_0x41ee35(),_0x393b66([0x56,0x61,0x6c,0x69,0x64])):_0x393b66(_0x3466c9-_0x185acc>(0x1d143ef8^_0x2a477f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x393b66([0x74,0x68,0x65,0x6e])](_0x358547)[_0x393b66([0x63,0x61,0x74,0x63,0x68])](()=>{_0x358547(_0x393b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f2acc=0x392e5478^_0x2a477f;function _0x41ee35(){const _0x27afb5=_0x393b66([0x6c,0x6c,0x63,0x74,0x2d])+_0x49574e(_0xe86b6b(_0x4d4b23)),_0x2b4fda=_0x5e0766(_0x49574e(window[_0x393b66([0x4d,0x61,0x74,0x68])][_0x393b66([0x63,0x65,0x69,0x6c])](_0x3466c9/_0x1f2acc)));window[_0x393b66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x393b66([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27afb5,_0x2b4fda);}function _0x356897(){const _0xc9ee8b=_0x393b66([0x6c,0x6c,0x63,0x74,0x2d])+_0x49574e(_0xe86b6b(_0x4d4b23)),_0x55d4cc=window[_0x393b66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x393b66([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc9ee8b);return _0x55d4cc?window[_0x393b66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e0766(_0x55d4cc),0x10)*_0x1f2acc:null;}function _0x5c078c(_0x1a570c){return new window[(_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56c8f6,_0x11b147)=>{_0x1a570c[_0x393b66([0x74,0x68,0x65,0x6e])](_0x56c8f6,_0x11b147),window[_0x393b66([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x11b147,0x39196e38^_0x2a477f);});}}_0x451e87[_0x393b66([0x6f,0x6e])](_0x393b66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x87c363,_0x29e6d9)=>{if(_0x29e6d9[0x0]!=_0x4d4b23)return _0x358547(_0x393b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29e6d9[0x1]={..._0x29e6d9[0x1],[_0x393b66([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50390f};},{[_0x393b66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x393b66([0x68,0x69,0x67,0x68])}),_0x451e87[_0x393b66([0x6f,0x6e])](_0x393b66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2905b0=>{_0x4f42b9(_0x2905b0[_0x393b66([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x374036=!0x0,_0x15f0f0(_0x2905b0[_0x393b66([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x393b66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x393b66([0x6c,0x6f,0x77])}),_0x564345[_0x393b66([0x74,0x68,0x65,0x6e])](()=>{_0x374036||_0x358547(_0x393b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18bcc5(){return _0x451e87[_0x393b66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x393b66([0x76,0x69,0x65,0x77])][_0x393b66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x393b66([0x61,0x75,0x74,0x6f]);}function _0x4d8c77(){_0x451e87[_0x393b66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x393b66([0x76,0x69,0x65,0x77])][_0x393b66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x393b66([0x61,0x75,0x74,0x6f]);}}function _0x404831(_0x22d2e5){const _0x5ae2ff=[new window[(_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ef6d2=>setTimeout(_0x1ef6d2,0x39118434^_0x2a477f)),_0x564345[_0x393b66([0x74,0x68,0x65,0x6e])](()=>new window[(_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7f1d3e=>{let _0x56308a=0x0;_0x451e87[_0x393b66([0x6d,0x6f,0x64,0x65,0x6c])][_0x393b66([0x6f,0x6e])](_0x393b66([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x404fe0,_0x728cda)=>{_0x728cda[0x0][_0x393b66([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56308a++,_0x56308a==(0x3918bb00^_0x2a477f)&&(_0x7f1d3e(),_0x404fe0[_0x393b66([0x6f,0x66,0x66])]());});}))];return window[_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x393b66([0x72,0x61,0x63,0x65])](_0x5ae2ff)[_0x393b66([0x74,0x68,0x65,0x6e])](()=>_0x22d2e5);}async function _0x2ce325(){await _0x564345,_0x451e87[_0x393b66([0x6d,0x6f,0x64,0x65,0x6c])][_0x393b66([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x159b9c,_0x451e87[_0x393b66([0x6d,0x6f,0x64,0x65,0x6c])][_0x393b66([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x159b9c,_0x451e87[_0x393b66([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x393b66([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x54f332(_0x15f248){const _0xe25e0d=_0x1d03af();_0x451e87[_0xe25e0d]=_0x393b66([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x15f248,_0x15f248!=_0x393b66([0x56,0x61,0x6c,0x69,0x64])&&_0x2ce325();}function _0x1d03af(){const _0x350a9e=window[_0x393b66([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x393b66([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x393b66([0x6e,0x6f,0x77])]())[_0x393b66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x393b66([0x2e]),'');let _0x35a526=_0x393b66([0x72]);for(let _0x4a83bb=0x0;_0x4a83bb<_0x350a9e[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a83bb+=0x2){let _0x260a39=window[_0x393b66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x350a9e[_0x393b66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a83bb,_0x4a83bb+0x2));_0x260a39>=_0x2a1643[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x260a39-=_0x2a1643[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35a526+=_0x2a1643[_0x260a39];}return _0x35a526;}function _0x4ac6a1(){const _0x17f43a=_0x38747b[_0x393b66([0x73,0x70,0x6c,0x69,0x74])](_0x393b66([0x2e]));if(0x3!=_0x17f43a[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a3420(_0x17f43a[0x1]);function _0x1a3420(_0x5bac01){const _0x26e947=_0x409292(_0x5bac01);return _0x26e947&&_0x10d82e()?_0x26e947:null;function _0x10d82e(){const _0x5aceca=_0x26e947[_0x393b66([0x6a,0x74,0x69])],_0x1bffaf=window[_0x393b66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5aceca[_0x393b66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5aceca[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x207ec3={..._0x26e947,[_0x393b66([0x6a,0x74,0x69])]:_0x5aceca[_0x393b66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5aceca[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x207ec3[_0x393b66([0x76,0x63])],_0xe86b6b(_0x207ec3)==_0x1bffaf;}}}async function _0x4b58b0(){let _0x196ac0=!0x0;try{const _0x307339=_0x38747b[_0x393b66([0x73,0x70,0x6c,0x69,0x74])](_0x393b66([0x2e])),[_0x4d73ce,_0xe77dd3,_0x47a7ff]=_0x307339;return _0x4fa4fa(_0x4d73ce),await _0x544733(_0x4d73ce,_0xe77dd3,_0x47a7ff),_0x196ac0;}catch(_0x592dc2){return!0x1;}function _0x4fa4fa(_0x22291a){const _0x346ba8=_0x409292(_0x22291a);_0x346ba8&&_0x346ba8[_0x393b66([0x61,0x6c,0x67])]==_0x393b66([0x45,0x53,0x32,0x35,0x36])||(_0x196ac0=!0x1);}async function _0x544733(_0x4425ef,_0x3bf0cc,_0x5689c0){const _0x7a1a4a=window[_0x393b66([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x393b66([0x66,0x72,0x6f,0x6d])](_0x27188a(_0x5689c0),_0x33aec1=>_0x33aec1[_0x393b66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x150cf2=new window[(_0x393b66([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x393b66([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4425ef+_0x393b66([0x2e])+_0x3bf0cc),_0x53e374=window[_0x393b66([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x393b66([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53e374)return;const _0x1e5bfb=await _0x53e374[_0x393b66([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x393b66([0x6a,0x77,0x6b]),_0x1533cc,{[_0x393b66([0x6e,0x61,0x6d,0x65])]:_0x393b66([0x45,0x43,0x44,0x53,0x41]),[_0x393b66([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x393b66([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x393b66([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53e374[_0x393b66([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x393b66([0x6e,0x61,0x6d,0x65])]:_0x393b66([0x45,0x43,0x44,0x53,0x41]),[_0x393b66([0x68,0x61,0x73,0x68])]:{[_0x393b66([0x6e,0x61,0x6d,0x65])]:_0x393b66([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e5bfb,_0x7a1a4a,_0x150cf2)||(_0x196ac0=!0x1);}}function _0x409292(_0x31b436){return _0x31b436[_0x393b66([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x393b66([0x65,0x79]))?JSON[_0x393b66([0x70,0x61,0x72,0x73,0x65])](_0x27188a(_0x31b436)):null;}function _0x27188a(_0x3c7898){return window[_0x393b66([0x61,0x74,0x6f,0x62])](_0x3c7898[_0x393b66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x393b66([0x2b]))[_0x393b66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x393b66([0x2f])));}function _0xe86b6b(_0x44bdcf){let _0x2dc0cf=0x1505;function _0x1342b4(_0x155296){for(let _0x666477=0x0;_0x666477<_0x155296[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x666477++){const _0x537e3e=_0x155296[_0x393b66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x666477);_0x2dc0cf=(_0x2dc0cf<<0x5)+_0x2dc0cf+_0x537e3e,_0x2dc0cf&=_0x2dc0cf;}}function _0xcf1273(_0x3bb13f){Array[_0x393b66([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3bb13f)?_0x3bb13f[_0x393b66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xcf1273):_0x3bb13f&&typeof _0x3bb13f==_0x393b66([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x393b66([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3bb13f)[_0x393b66([0x73,0x6f,0x72,0x74])]()[_0x393b66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x116222,_0x769641])=>{_0x1342b4(_0x116222),_0xcf1273(_0x769641);}):_0x1342b4(window[_0x393b66([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3bb13f));}return _0xcf1273(_0x44bdcf),_0x2dc0cf>>>0x0;}function _0x49574e(_0x16870e){return _0x16870e[_0x393b66([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x393b66([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x393b66([0x30]));}function _0x5e0766(_0xf6543c){return _0xf6543c[_0x393b66([0x73,0x70,0x6c,0x69,0x74])]('')[_0x393b66([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x393b66([0x6a,0x6f,0x69,0x6e])]('');}function _0x159b9c(){}function _0x393b66(_0x21f4cd){const _0x3602e3=_0x1d9f;return _0x21f4cd[_0x3602e3(0x17c)](_0x3eebec=>String[_0x3602e3(0x151)](_0x3eebec))[_0x3602e3(0x152)]('');}_0x54f332(await _0xad4c84());}(this);}[_0x4b3c4d(0x16b)](){const _0x23c3a9=_0x4b3c4d,_0x218a8f=this[_0x23c3a9(0x131)][_0x23c3a9(0x161)][_0x23c3a9(0x158)];_0x218a8f[_0x23c3a9(0x162)](_0x23c3a9(0x173))&&_0x218a8f[_0x23c3a9(0x17a)](_0x23c3a9(0x173),{'allowAttributes':[_0x23c3a9(0x17f)]}),_0x218a8f[_0x23c3a9(0x162)](_0x23c3a9(0x16c))&&_0x218a8f[_0x23c3a9(0x17a)](_0x23c3a9(0x16c),{'allowAttributes':[_0x23c3a9(0x17f)]});}[_0x4b3c4d(0x16a)](){const _0x47d205=_0x4b3c4d,_0x9de889=this[_0x47d205(0x131)];_0x9de889[_0x47d205(0x177)][_0x47d205(0x150)](_0x47d205(0x149))[_0x47d205(0x17d)]({'model':_0x47d205(0x17f),'view':_0x47d205(0x153)}),_0x9de889[_0x47d205(0x177)][_0x47d205(0x150)](_0x47d205(0x17b))[_0x47d205(0x134)]({'model':{'key':_0x47d205(0x17f),'value':_0x4cf039=>_0x4cf039[_0x47d205(0x144)](_0x47d205(0x153))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1ff187=_0x9de889[_0x47d205(0x172)][_0x47d205(0x156)](_0x47d205(0x15c));_0x1ff187&&this[_0x47d205(0x146)](_0x1ff187,_0x47d205(0x155),(_0x12fac4,[_0x46210e,_0xf05d56])=>{const _0x5375a2=_0x47d205;_0x46210e[_0x5375a2(0x130)](_0x5375a2(0x17f),_0xf05d56);});}[_0x4b3c4d(0x136)](){const _0x22afd6=_0x4b3c4d,_0x98d388=this[_0x22afd6(0x131)][_0x22afd6(0x15a)][_0x22afd6(0x156)](_0x22afd6(0x160))||{},_0x569a5d=this[_0x22afd6(0x131)][_0x22afd6(0x15a)][_0x22afd6(0x156)](_0x22afd6(0x13e))||'';this[_0x22afd6(0x13b)]=_0x79d33e(_0x14e748[_0x22afd6(0x15b)],_0x22afd6(0x14d),{..._0x98d388,'pubkey':_0x569a5d,'ctx-name':_0x22afd6(0x132),'sourceList':'','imgOnly':_0x22afd6(0x135),'removeCopyright':_0x22afd6(0x135),'localeName':this[_0x22afd6(0x131)][_0x22afd6(0x15d)][_0x22afd6(0x15f)],'externalSourcesEmbedCss':_0x22afd6(0x169)}),this[_0x22afd6(0x13b)][_0x22afd6(0x13f)]=_0x2c1032=>{const _0x1a785e=_0x22afd6;if(_0x1a785e(0x174)==_0x2c1032)return _0x1a785e(0x14c);},_0x14e748[_0x22afd6(0x15b)][_0x22afd6(0x176)][_0x22afd6(0x179)](this[_0x22afd6(0x13b)]);}[_0x4b3c4d(0x148)](){const _0x2e41e5=_0x4b3c4d;this[_0x2e41e5(0x15e)]=_0x79d33e(_0x14e748[_0x2e41e5(0x15b)],_0x2e41e5(0x137),{'ctx-name':_0x2e41e5(0x132)}),_0x14e748[_0x2e41e5(0x15b)][_0x2e41e5(0x176)][_0x2e41e5(0x179)](this[_0x2e41e5(0x15e)]);}[_0x4b3c4d(0x165)](){const _0x23c1f1=_0x4b3c4d,_0x47ee27=this[_0x23c1f1(0x131)][_0x23c1f1(0x172)][_0x23c1f1(0x156)](_0x23c1f1(0x16e));_0x47ee27&&this[_0x23c1f1(0x146)](_0x47ee27,_0x23c1f1(0x154),()=>{const _0x43f3eb=_0x23c1f1,_0x1d2dbb=this[_0x43f3eb(0x131)][_0x43f3eb(0x161)][_0x43f3eb(0x15b)][_0x43f3eb(0x138)][_0x43f3eb(0x180)]();_0x1d2dbb&&_0x1d2dbb[_0x43f3eb(0x144)](_0x43f3eb(0x17f))&&this[_0x43f3eb(0x131)][_0x43f3eb(0x16f)][_0x43f3eb(0x168)][_0x43f3eb(0x163)](_0x43f3eb(0x166),()=>{const _0x45034e=_0x43f3eb;_0x1de05c(this[_0x45034e(0x131)],_0x1d2dbb);});});const _0x1f1fd0=this[_0x23c1f1(0x131)][_0x23c1f1(0x172)][_0x23c1f1(0x156)](_0x23c1f1(0x13a));_0x1f1fd0&&this[_0x23c1f1(0x146)](_0x1f1fd0,_0x23c1f1(0x154),()=>{const _0x3edfe1=_0x23c1f1,_0x4756fa=this[_0x3edfe1(0x131)][_0x3edfe1(0x161)][_0x3edfe1(0x15b)][_0x3edfe1(0x138)][_0x3edfe1(0x180)]();_0x4756fa&&_0x4756fa[_0x3edfe1(0x144)](_0x3edfe1(0x17f))&&this[_0x3edfe1(0x131)][_0x3edfe1(0x16f)][_0x3edfe1(0x168)][_0x3edfe1(0x163)](_0x3edfe1(0x166),()=>{const _0x1f5533=_0x3edfe1;_0x1de05c(this[_0x1f5533(0x131)],_0x4756fa);});});}}
|
|
23
|
+
const _0x3a4b8c=_0x405f;(function(_0xaf6063,_0x240a8f){const _0x176442=_0x405f,_0x25bb14=_0xaf6063();while(!![]){try{const _0x51fb60=parseInt(_0x176442(0x216))/0x1+parseInt(_0x176442(0x226))/0x2+-parseInt(_0x176442(0x1e9))/0x3+-parseInt(_0x176442(0x225))/0x4*(parseInt(_0x176442(0x214))/0x5)+parseInt(_0x176442(0x207))/0x6+-parseInt(_0x176442(0x212))/0x7*(-parseInt(_0x176442(0x1f9))/0x8)+-parseInt(_0x176442(0x1f8))/0x9*(-parseInt(_0x176442(0x223))/0xa);if(_0x51fb60===_0x240a8f)break;else _0x25bb14['push'](_0x25bb14['shift']());}catch(_0x17e317){_0x25bb14['push'](_0x25bb14['shift']());}}}(_0xc45c,0x658be));function _0xc45c(){const _0x2fee22=['2540WPkylO','contentLanguage','453685ayxwtD','map','uploadcareImageId','uploader','render','view','href','uploadcare.uploader','uploadcare','_initConversion','replaceImageSource','elementToAttribute','add','2432590TVASMx','listenTo','2872kmyoIi','76442IWBKYJ','isOfficialPlugin','execute','get','getAttribute','upcast','uc-config','config','model','configElement','#uc-icon-arrow-down','conversion','for','_initImageProcessingIndicator','document','querySelector','once','cleanupImage','data-uc-image-id','input[uploadcare-file-input]','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','locale','1310271bYbFfy','UploadcareEditing','getSelectedElement','uploadcareImageReplace','downcast','isRegistered','_initSchema','uc-upload-ctx-provider','isPremiumPlugin','_ctxElement','imageBlock','PictureEditing','_configElement','destroy','remove','18TEmxWy','272yPikFD','attributeToAttribute','join','removeAttribute','insertImage','editor','init','_initConfig','pluginName','schema','true','editing','selection','iconHrefResolver','873270SZhKKL','imageInline','body','afterInit','fromCharCode','closeMax','_initCtx','appendChild','requires','commands','uploadcare.pubkey','19243OPuzCk','extend'];_0xc45c=function(){return _0x2fee22;};return _0xc45c();}function _0x405f(_0x3fc4bf,_0x44d005){const _0xc45cfa=_0xc45c();return _0x405f=function(_0x405f18,_0x57c126){_0x405f18=_0x405f18-0x1dc;let _0x377fa5=_0xc45cfa[_0x405f18];return _0x377fa5;},_0x405f(_0x3fc4bf,_0x44d005);}import{Plugin as _0x51baca}from'ckeditor5/src/core.js';import{Dialog as _0x4dfcf6}from'ckeditor5/src/ui.js';import{createElement as _0x16f67b,global as _0x3abfb7,uid as _0x362b1e}from'ckeditor5/src/utils.js';import _0x5758d3 from'./uploadcarecommand.js';import _0x14d67e from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x589c62}from'./utils/editingutils.js';export default class i extends _0x51baca{[_0x3a4b8c(0x1f5)]=null;[_0x3a4b8c(0x1f2)]=null;static get[_0x3a4b8c(0x201)](){const _0x1ed5b9=_0x3a4b8c;return _0x1ed5b9(0x1ea);}static get[_0x3a4b8c(0x20f)](){const _0xfeea6=_0x3a4b8c;return[_0xfeea6(0x1f4),_0x14d67e,_0x4dfcf6];}static get[_0x3a4b8c(0x227)](){return!0x0;}static get[_0x3a4b8c(0x1f1)](){return!0x0;}get[_0x3a4b8c(0x22f)](){const _0x3dbfd6=_0x3a4b8c;return this[_0x3dbfd6(0x1f5)];}get[_0x3a4b8c(0x1e6)](){const _0x5043f9=_0x3a4b8c;return this[_0x5043f9(0x1f2)];}[_0x3a4b8c(0x1ff)](){const _0x271ea2=_0x3a4b8c,_0xd4d2e8=this[_0x271ea2(0x1fe)];_0xd4d2e8[_0x271ea2(0x210)][_0x271ea2(0x222)](_0x271ea2(0x21e),new _0x5758d3(_0xd4d2e8));}[_0x3a4b8c(0x20a)](){const _0x388c27=_0x3a4b8c;this[_0x388c27(0x1ef)](),this[_0x388c27(0x21f)](),this[_0x388c27(0x200)](),this[_0x388c27(0x20d)](),this[_0x388c27(0x1df)](),this[_0x388c27(0x224)](this[_0x388c27(0x1fe)],_0x388c27(0x1f6),()=>{const _0x726a26=_0x388c27;this[_0x726a26(0x1f5)]&&(this[_0x726a26(0x1f5)][_0x726a26(0x1f7)](),this[_0x726a26(0x1f5)]=null),this[_0x726a26(0x1f2)]&&(this[_0x726a26(0x1f2)][_0x726a26(0x1f7)](),this[_0x726a26(0x1f2)]=null);const _0x33f1e9=_0x3abfb7[_0x726a26(0x1e0)][_0x726a26(0x1e1)](_0x726a26(0x1e5));_0x33f1e9&&_0x33f1e9[_0x726a26(0x1f7)]();}),async function(_0x450af1){const _0x26ed75=_0x20891b([0x53,0x6e,0x6a,0x34,0x57,0x4a,0x69,0x43,0x78,0x39,0x4f,0x38,0x6d,0x4d,0x41,0x42,0x33,0x76,0x35,0x30,0x68,0x4e,0x6c,0x65,0x32,0x67,0x52,0x74,0x48,0x63,0x46,0x49,0x7a,0x54,0x59,0x70,0x64,0x37,0x36,0x75,0x50,0x6f,0x77,0x73,0x47,0x5a,0x44,0x55,0x72,0x45,0x61,0x58,0x4b,0x31,0x79,0x51,0x6b,0x71,0x66,0x56,0x62,0x4c]),_0x54ed07=0xd248338,_0x5dad2f=0xd23e4b0^_0x54ed07,_0x37477e=window[_0x20891b([0x44,0x61,0x74,0x65])][_0x20891b([0x6e,0x6f,0x77])](),_0x41544d=_0x450af1[_0x20891b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1875de=new window[(_0x20891b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30f822=>{_0x41544d[_0x20891b([0x6f,0x6e,0x63,0x65])](_0x20891b([0x72,0x65,0x61,0x64,0x79]),_0x30f822);}),_0x4d0e54={[_0x20891b([0x6b,0x74,0x79])]:_0x20891b([0x45,0x43]),[_0x20891b([0x75,0x73,0x65])]:_0x20891b([0x73,0x69,0x67]),[_0x20891b([0x63,0x72,0x76])]:_0x20891b([0x50,0x2d,0x32,0x35,0x36]),[_0x20891b([0x78])]:_0x20891b([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]),[_0x20891b([0x79])]:_0x20891b([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]),[_0x20891b([0x61,0x6c,0x67])]:_0x20891b([0x45,0x53,0x32,0x35,0x36])},_0x27c73c=_0x41544d[_0x20891b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20891b([0x67,0x65,0x74])](_0x20891b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51b45a(){let _0x30f024,_0x4c6b5c=null,_0x501666=null;try{if(_0x27c73c==_0x20891b([0x47,0x50,0x4c]))return _0x20891b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30f024=_0x4fa7a3(),!_0x30f024)return _0x20891b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30f024[_0x20891b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x501666=_0x1f4b2a(_0x30f024[_0x20891b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30f024[_0x20891b([0x6a,0x74,0x69])])),await _0x330b07()?_0x3eb0e0()?_0x4ee660()?_0x20891b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f1309()?(_0x30f024[_0x20891b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20891b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c6b5c=_0x83c3fd(_0x20891b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30f024[_0x20891b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20891b([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c6b5c=_0x83c3fd(_0x20891b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa4ae17()):_0x20891b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20891b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20891b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xb7f060){return _0x20891b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ee660(){const _0x77eee9=[_0x20891b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20891b([0x74,0x72,0x69,0x61,0x6c])][_0x20891b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30f024[_0x20891b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37477e/0x3e8:0xe10*_0x5dad2f;return _0x30f024[_0x20891b([0x65,0x78,0x70])]<_0x77eee9;}function _0x3eb0e0(){const _0x2c9c77=_0x30f024[_0x20891b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c9c77&&(!!_0x2c9c77[_0x20891b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20891b([0x2a]))||!!_0x2c9c77[_0x20891b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20891b([0x55,0x50,0x4c,0x43])));}function _0x4f1309(){const _0x4bd105=_0x405f,_0x460399=_0x30f024[_0x20891b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x460399||0x0==_0x460399[_0x20891b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x373c5b}=new URL(window[_0x20891b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4bd105(0x21c)]);if(_0x460399[_0x20891b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x373c5b))return!0x0;const _0x2b4396=_0x373c5b[_0x20891b([0x73,0x70,0x6c,0x69,0x74])](_0x20891b([0x2e]));return _0x460399[_0x20891b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x146434=>_0x146434[_0x20891b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20891b([0x2a])))[_0x20891b([0x6d,0x61,0x70])](_0x1b31e6=>_0x1b31e6[_0x20891b([0x73,0x70,0x6c,0x69,0x74])](_0x20891b([0x2e])))[_0x20891b([0x73,0x6f,0x6d,0x65])](_0x9f56e1=>_0x2b4396[_0x20891b([0x65,0x76,0x65,0x72,0x79])]((_0x2e041b,_0x33296f)=>_0x9f56e1[_0x33296f]===_0x2e041b||_0x9f56e1[_0x33296f]===_0x20891b([0x2a])));}function _0xa4ae17(){return _0x4c6b5c&&_0x501666?new window[(_0x20891b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x462d9a,_0x447f55)=>{_0x4c6b5c[_0x20891b([0x74,0x68,0x65,0x6e])](_0x462d9a,_0x447f55),_0x501666[_0x20891b([0x74,0x68,0x65,0x6e])](_0x4bc158=>{_0x4bc158!=_0x20891b([0x56,0x61,0x6c,0x69,0x64])&&_0x462d9a(_0x4bc158);},_0x447f55);}):_0x4c6b5c||_0x501666||_0x20891b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f4b2a(_0xb6cf80,_0x4170c3){return new window[(_0x20891b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25a597=>{if(_0x586171())return _0x25a597(_0x20891b([0x56,0x61,0x6c,0x69,0x64]));_0x7830fe(),_0x41544d[_0x20891b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20891b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36a30d=!0x1;const _0x3d3696=_0x362b1e();function _0x29467c(_0x572946){return!!_0x572946&&(typeof _0x572946===_0x20891b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x572946===_0x20891b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x572946[_0x20891b([0x74,0x68,0x65,0x6e])]===_0x20891b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x572946[_0x20891b([0x63,0x61,0x74,0x63,0x68])]===_0x20891b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5cadc3(_0x42cca9){_0x1dc5f7(_0x42cca9)[_0x20891b([0x74,0x68,0x65,0x6e])](_0x2669b1=>{if(!_0x2669b1||_0x2669b1[_0x20891b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20891b([0x6f,0x6b]))return _0x20891b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ed8a0(_0x3ec8b7(_0x3d3696+_0x4170c3))!=_0x2669b1[_0x20891b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20891b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20891b([0x56,0x61,0x6c,0x69,0x64]);})[_0x20891b([0x74,0x68,0x65,0x6e])](_0x5185c=>(_0x127317(),_0x5185c),()=>{const _0x38cbf2=_0x2d8f17();return null==_0x38cbf2?(_0x127317(),_0x20891b([0x56,0x61,0x6c,0x69,0x64])):_0x20891b(_0x37477e-_0x38cbf2>(0x29280738^_0x54ed07)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20891b([0x74,0x68,0x65,0x6e])](_0x25a597)[_0x20891b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25a597(_0x20891b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x326a30=0xd126db8^_0x54ed07;function _0x127317(){const _0x4cb907=_0x20891b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ed8a0(_0x3ec8b7(_0xb6cf80)),_0x4ec434=_0xbaaf0d(_0x1ed8a0(window[_0x20891b([0x4d,0x61,0x74,0x68])][_0x20891b([0x63,0x65,0x69,0x6c])](_0x37477e/_0x326a30)));window[_0x20891b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20891b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4cb907,_0x4ec434);}function _0x2d8f17(){const _0x305095=_0x20891b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ed8a0(_0x3ec8b7(_0xb6cf80)),_0x5597a1=window[_0x20891b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20891b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x305095);return _0x5597a1?window[_0x20891b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbaaf0d(_0x5597a1),0x10)*_0x326a30:null;}function _0x1dc5f7(_0x50704b){return new window[(_0x20891b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x332018,_0x1417a6)=>{_0x50704b[_0x20891b([0x74,0x68,0x65,0x6e])](_0x332018,_0x1417a6),window[_0x20891b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1417a6,0xd2557f8^_0x54ed07);});}}_0x41544d[_0x20891b([0x6f,0x6e])](_0x20891b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x39cd36,_0x35ddbd)=>{if(_0x35ddbd[0x0]!=_0xb6cf80)return _0x25a597(_0x20891b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35ddbd[0x1]={..._0x35ddbd[0x1],[_0x20891b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d3696};},{[_0x20891b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20891b([0x68,0x69,0x67,0x68])}),_0x41544d[_0x20891b([0x6f,0x6e])](_0x20891b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x384cd6=>{_0x29467c(_0x384cd6[_0x20891b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36a30d=!0x0,_0x5cadc3(_0x384cd6[_0x20891b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20891b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20891b([0x6c,0x6f,0x77])}),_0x1875de[_0x20891b([0x74,0x68,0x65,0x6e])](()=>{_0x36a30d||_0x25a597(_0x20891b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x586171(){return _0x41544d[_0x20891b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20891b([0x76,0x69,0x65,0x77])][_0x20891b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20891b([0x61,0x75,0x74,0x6f]);}function _0x7830fe(){_0x41544d[_0x20891b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20891b([0x76,0x69,0x65,0x77])][_0x20891b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20891b([0x61,0x75,0x74,0x6f]);}}function _0x83c3fd(_0x304762){const _0x5e6447=[new window[(_0x20891b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ed5d6=>setTimeout(_0x4ed5d6,0xd2dbdf4^_0x54ed07)),_0x1875de[_0x20891b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20891b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17e073=>{let _0x4fda3b=0x0;_0x41544d[_0x20891b([0x6d,0x6f,0x64,0x65,0x6c])][_0x20891b([0x6f,0x6e])](_0x20891b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b06b9,_0x7d383d)=>{_0x7d383d[0x0][_0x20891b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4fda3b++,_0x4fda3b==(0xd2482c0^_0x54ed07)&&(_0x17e073(),_0x4b06b9[_0x20891b([0x6f,0x66,0x66])]());});}))];return window[_0x20891b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20891b([0x72,0x61,0x63,0x65])](_0x5e6447)[_0x20891b([0x74,0x68,0x65,0x6e])](()=>_0x304762);}async function _0xb5a915(){await _0x1875de,_0x41544d[_0x20891b([0x6d,0x6f,0x64,0x65,0x6c])][_0x20891b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8c665e,_0x41544d[_0x20891b([0x6d,0x6f,0x64,0x65,0x6c])][_0x20891b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8c665e,_0x41544d[_0x20891b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20891b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58b709(_0x29ccd6){const _0x25dc08=_0x26e653();_0x41544d[_0x25dc08]=_0x20891b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29ccd6,_0x29ccd6!=_0x20891b([0x56,0x61,0x6c,0x69,0x64])&&_0xb5a915();}function _0x26e653(){const _0x2f84c7=window[_0x20891b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20891b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20891b([0x6e,0x6f,0x77])]())[_0x20891b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20891b([0x2e]),'');let _0x86cb3a=_0x20891b([0x53]);for(let _0x583287=0x0;_0x583287<_0x2f84c7[_0x20891b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x583287+=0x2){let _0x725248=window[_0x20891b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f84c7[_0x20891b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x583287,_0x583287+0x2));_0x725248>=_0x26ed75[_0x20891b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x725248-=_0x26ed75[_0x20891b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x86cb3a+=_0x26ed75[_0x725248];}return _0x86cb3a;}function _0x4fa7a3(){const _0x519fde=_0x27c73c[_0x20891b([0x73,0x70,0x6c,0x69,0x74])](_0x20891b([0x2e]));if(0x3!=_0x519fde[_0x20891b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ca51e(_0x519fde[0x1]);function _0x2ca51e(_0x2d24fc){const _0x33cf02=_0x3b8045(_0x2d24fc);return _0x33cf02&&_0x437c94()?_0x33cf02:null;function _0x437c94(){const _0x28724d=_0x33cf02[_0x20891b([0x6a,0x74,0x69])],_0x5564f8=window[_0x20891b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28724d[_0x20891b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28724d[_0x20891b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x374777={..._0x33cf02,[_0x20891b([0x6a,0x74,0x69])]:_0x28724d[_0x20891b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28724d[_0x20891b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x374777[_0x20891b([0x76,0x63])],_0x3ec8b7(_0x374777)==_0x5564f8;}}}async function _0x330b07(){let _0x5229c9=!0x0;try{const _0x276f2b=_0x27c73c[_0x20891b([0x73,0x70,0x6c,0x69,0x74])](_0x20891b([0x2e])),[_0x5b435e,_0x49c7d7,_0x5c14d0]=_0x276f2b;return _0x288885(_0x5b435e),await _0x84a83f(_0x5b435e,_0x49c7d7,_0x5c14d0),_0x5229c9;}catch(_0x5dba07){return!0x1;}function _0x288885(_0x2f4c6a){const _0x5e9866=_0x3b8045(_0x2f4c6a);_0x5e9866&&_0x5e9866[_0x20891b([0x61,0x6c,0x67])]==_0x20891b([0x45,0x53,0x32,0x35,0x36])||(_0x5229c9=!0x1);}async function _0x84a83f(_0x399869,_0x5c9b1b,_0x14abf6){const _0x463bab=window[_0x20891b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20891b([0x66,0x72,0x6f,0x6d])](_0x54f9c5(_0x14abf6),_0x425286=>_0x425286[_0x20891b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x317f5f=new window[(_0x20891b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20891b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x399869+_0x20891b([0x2e])+_0x5c9b1b),_0x49d147=window[_0x20891b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20891b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49d147)return;const _0x111338=await _0x49d147[_0x20891b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20891b([0x6a,0x77,0x6b]),_0x4d0e54,{[_0x20891b([0x6e,0x61,0x6d,0x65])]:_0x20891b([0x45,0x43,0x44,0x53,0x41]),[_0x20891b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20891b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20891b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49d147[_0x20891b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20891b([0x6e,0x61,0x6d,0x65])]:_0x20891b([0x45,0x43,0x44,0x53,0x41]),[_0x20891b([0x68,0x61,0x73,0x68])]:{[_0x20891b([0x6e,0x61,0x6d,0x65])]:_0x20891b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x111338,_0x463bab,_0x317f5f)||(_0x5229c9=!0x1);}}function _0x3b8045(_0xf919a1){return _0xf919a1[_0x20891b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20891b([0x65,0x79]))?JSON[_0x20891b([0x70,0x61,0x72,0x73,0x65])](_0x54f9c5(_0xf919a1)):null;}function _0x54f9c5(_0x26b702){return window[_0x20891b([0x61,0x74,0x6f,0x62])](_0x26b702[_0x20891b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20891b([0x2b]))[_0x20891b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20891b([0x2f])));}function _0x3ec8b7(_0xa983e1){let _0x586c7b=0x1505;function _0x2a67e6(_0x929826){for(let _0x14cc7c=0x0;_0x14cc7c<_0x929826[_0x20891b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14cc7c++){const _0x29ea1e=_0x929826[_0x20891b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14cc7c);_0x586c7b=(_0x586c7b<<0x5)+_0x586c7b+_0x29ea1e,_0x586c7b&=_0x586c7b;}}function _0xfc906c(_0x1554be){Array[_0x20891b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1554be)?_0x1554be[_0x20891b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xfc906c):_0x1554be&&typeof _0x1554be==_0x20891b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20891b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1554be)[_0x20891b([0x73,0x6f,0x72,0x74])]()[_0x20891b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x48efc5,_0x52ea78])=>{_0x2a67e6(_0x48efc5),_0xfc906c(_0x52ea78);}):_0x2a67e6(window[_0x20891b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1554be));}return _0xfc906c(_0xa983e1),_0x586c7b>>>0x0;}function _0x1ed8a0(_0x2f885c){return _0x2f885c[_0x20891b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20891b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20891b([0x30]));}function _0xbaaf0d(_0x6e137){return _0x6e137[_0x20891b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20891b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20891b([0x6a,0x6f,0x69,0x6e])]('');}function _0x8c665e(){}function _0x20891b(_0x3c5f00){const _0x3b555b=_0x405f;return _0x3c5f00[_0x3b555b(0x217)](_0x3b0706=>String[_0x3b555b(0x20b)](_0x3b0706))[_0x3b555b(0x1fb)]('');}_0x58b709(await _0x51b45a());}(this);}[_0x3a4b8c(0x1ef)](){const _0x235989=_0x3a4b8c,_0x38795e=this[_0x235989(0x1fe)][_0x235989(0x22e)][_0x235989(0x202)];_0x38795e[_0x235989(0x1ee)](_0x235989(0x1f3))&&_0x38795e[_0x235989(0x213)](_0x235989(0x1f3),{'allowAttributes':[_0x235989(0x218)]}),_0x38795e[_0x235989(0x1ee)](_0x235989(0x208))&&_0x38795e[_0x235989(0x213)](_0x235989(0x208),{'allowAttributes':[_0x235989(0x218)]});}[_0x3a4b8c(0x21f)](){const _0x557b46=_0x3a4b8c,_0x5b35bd=this[_0x557b46(0x1fe)];_0x5b35bd[_0x557b46(0x1dd)][_0x557b46(0x1de)](_0x557b46(0x1ed))[_0x557b46(0x1fa)]({'model':_0x557b46(0x218),'view':_0x557b46(0x1e4)}),_0x5b35bd[_0x557b46(0x1dd)][_0x557b46(0x1de)](_0x557b46(0x22b))[_0x557b46(0x221)]({'model':{'key':_0x557b46(0x218),'value':_0x5e5237=>_0x5e5237[_0x557b46(0x22a)](_0x557b46(0x1e4))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5237b8=_0x5b35bd[_0x557b46(0x210)][_0x557b46(0x229)](_0x557b46(0x220));_0x5237b8&&this[_0x557b46(0x224)](_0x5237b8,_0x557b46(0x1e3),(_0x540aa7,[_0x473a0e,_0x3e4f70])=>{const _0x1d8676=_0x557b46;_0x473a0e[_0x1d8676(0x1fc)](_0x1d8676(0x218),_0x3e4f70);});}[_0x3a4b8c(0x200)](){const _0x4eecd2=_0x3a4b8c,_0x2fbcf6=this[_0x4eecd2(0x1fe)][_0x4eecd2(0x22d)][_0x4eecd2(0x229)](_0x4eecd2(0x21d))||{},_0xe8944b=this[_0x4eecd2(0x1fe)][_0x4eecd2(0x22d)][_0x4eecd2(0x229)](_0x4eecd2(0x211))||'';this[_0x4eecd2(0x1f5)]=_0x16f67b(_0x3abfb7[_0x4eecd2(0x1e0)],_0x4eecd2(0x22c),{..._0x2fbcf6,'pubkey':_0xe8944b,'ctx-name':_0x4eecd2(0x219),'sourceList':'','imgOnly':_0x4eecd2(0x203),'removeCopyright':_0x4eecd2(0x203),'localeName':this[_0x4eecd2(0x1fe)][_0x4eecd2(0x1e8)][_0x4eecd2(0x215)],'externalSourcesEmbedCss':_0x4eecd2(0x1e7)}),this[_0x4eecd2(0x1f5)][_0x4eecd2(0x206)]=_0x28fe1a=>{const _0x2cd3aa=_0x4eecd2;if(_0x2cd3aa(0x20c)==_0x28fe1a)return _0x2cd3aa(0x1dc);},_0x3abfb7[_0x4eecd2(0x1e0)][_0x4eecd2(0x209)][_0x4eecd2(0x20e)](this[_0x4eecd2(0x1f5)]);}[_0x3a4b8c(0x20d)](){const _0x19e952=_0x3a4b8c;this[_0x19e952(0x1f2)]=_0x16f67b(_0x3abfb7[_0x19e952(0x1e0)],_0x19e952(0x1f0),{'ctx-name':_0x19e952(0x219)}),_0x3abfb7[_0x19e952(0x1e0)][_0x19e952(0x209)][_0x19e952(0x20e)](this[_0x19e952(0x1f2)]);}[_0x3a4b8c(0x1df)](){const _0x4d0db3=_0x3a4b8c,_0x15bbbd=this[_0x4d0db3(0x1fe)][_0x4d0db3(0x210)][_0x4d0db3(0x229)](_0x4d0db3(0x1fd));_0x15bbbd&&this[_0x4d0db3(0x224)](_0x15bbbd,_0x4d0db3(0x228),()=>{const _0x1c2249=_0x4d0db3,_0x3285eb=this[_0x1c2249(0x1fe)][_0x1c2249(0x22e)][_0x1c2249(0x1e0)][_0x1c2249(0x205)][_0x1c2249(0x1eb)]();_0x3285eb&&_0x3285eb[_0x1c2249(0x22a)](_0x1c2249(0x218))&&this[_0x1c2249(0x1fe)][_0x1c2249(0x204)][_0x1c2249(0x21b)][_0x1c2249(0x1e2)](_0x1c2249(0x21a),()=>{const _0x17952b=_0x1c2249;_0x589c62(this[_0x17952b(0x1fe)],_0x3285eb);});});const _0x38b078=this[_0x4d0db3(0x1fe)][_0x4d0db3(0x210)][_0x4d0db3(0x229)](_0x4d0db3(0x1ec));_0x38b078&&this[_0x4d0db3(0x224)](_0x38b078,_0x4d0db3(0x228),()=>{const _0xee8906=_0x4d0db3,_0x509210=this[_0xee8906(0x1fe)][_0xee8906(0x22e)][_0xee8906(0x1e0)][_0xee8906(0x205)][_0xee8906(0x1eb)]();_0x509210&&_0x509210[_0xee8906(0x22a)](_0xee8906(0x218))&&this[_0xee8906(0x1fe)][_0xee8906(0x204)][_0xee8906(0x21b)][_0xee8906(0x1e2)](_0xee8906(0x21a),()=>{const _0x4ab650=_0xee8906;_0x589c62(this[_0x4ab650(0x1fe)],_0x509210);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x4a00a9,ObservableMixin as _0x332b3f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x56bc4f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5ac425}from'ckeditor5/src/icons.js';import _0xc77e8d from'./uploadcareimageeditformview.js';import _0x4bbc92 from'../../utils/uploadutils.js';import{getImageUrls as _0x1ae8c7,getImageDimension as _0x23f17f}from'../../utils/editingutils.js';import{isAncestor as _0x1ea953}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x332b3f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3d4342,_0x58adc5,_0x5f388f){super(),this['_editor']=_0x3d4342,this['_dialog']=_0x58adc5,this['_imageElement']=_0x5f388f,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 _0xa70d13=this['_imageElement'],_0x5e13ad=_0xa70d13['getAttribute']('uploadcareImageId'),_0x575362=_0xa70d13['getAttribute']('src');if(_0x5e13ad)await this['_loadImageInfo'](_0x5e13ad,_0x575362);else{if(this['_imageCache']['has'](_0x575362)){const _0x202eb6=this['_imageCache']['get'](_0x575362);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x202eb6['url'],this['imageDimension']=_0x202eb6['dimension'],this['imageId']=_0x202eb6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2a2658}=this['_editor'],t=_0x2a2658['t'],_0x2dca44=new _0xc77e8d(_0x2a2658,this['imageStatus'],this['_attributes']);_0x2dca44['bind']('status')['to'](this,'imageStatus'),_0x2dca44['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2dca44['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2dca44['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2dca44,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5ac425,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2dca44,'position':_0x56bc4f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2dca44['focus']();},'onHide':()=>{_0x2dca44['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xc6a36e=>!_0x1ea953(_0xc6a36e,_0x2dca44['element'])}});}['_loadImageInfo'](_0x4bdc51,_0x30f728){return _0x4bbc92['getInfo'](_0x4bdc51,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x20f1e2=>{const {width:_0x36995c,height:_0x14221c}=_0x20f1e2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x30f728,this['imageDimension']={'width':_0x36995c,'height':_0x14221c},this['imageId']=_0x4bdc51;})['catch'](_0x434b03=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x434b03['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3eba65,_0x46ed60){return this['_getImageAsFile'](_0x3eba65)['then'](_0x392261=>_0x4bbc92['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x46ed60['signal'],'file':_0x392261,'onProgress':_0x48f09d=>{_0x48f09d&&_0x48f09d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x48f09d['value']));}}))['then'](_0x19eed6=>{const {width:_0x5e8e7e,height:_0x49de96}=_0x19eed6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x19eed6['cdnUrl'],this['imageDimension']={'width':_0x5e8e7e,'height':_0x49de96},this['imageId']=_0x19eed6['uuid'],this['imageUploadProgress']=null;const _0x25c220=_0x3eba65['getAttribute']('src');this['_imageCache']['set'](_0x25c220,{'id':_0x19eed6['uuid'],'url':_0x19eed6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x55bafb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x55bafb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3a26c2,_0x38b0dd){_0x3a26c2['on']('apply',(_0x38860a,_0x2ab9bd)=>{this['_replaceImage'](_0x38b0dd,_0x2ab9bd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3a26c2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3a26c2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x42514f,_0x511c40,_0x54bc60){const _0x5ef847=this['_editor'],{width:_0xd519b0,height:_0x2299eb}=_0x23f17f(_0x511c40,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x23d165,imageSources:_0x58bbcb}=_0x1ae8c7(_0x511c40,_0xd519b0);_0x5ef847['model']['change'](_0x567895=>{if('$graveyard'===_0x42514f['root']['rootName']){_0x5ef847['execute']('insertImage',{'imageType':_0x42514f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x42514f['getAttributes']()),'uploadcareImageId':_0x54bc60,'src':_0x23d165,'sources':_0x58bbcb,'width':_0xd519b0,'height':_0x2299eb}});const _0x36dd6a=_0x42514f['getChildren']();_0x42514f=_0x5ef847['model']['document']['selection']['getSelectedElement']();for(const _0x33d089 of _0x36dd6a)_0x567895['append'](_0x567895['cloneElement'](_0x33d089),_0x42514f);}else _0x567895['setSelection'](_0x42514f,'on'),_0x5ef847['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x42514f['getAttributes']()),'uploadcareImageId':_0x54bc60,'src':_0x23d165,'sources':_0x58bbcb,'width':_0xd519b0,'height':_0x2299eb},_0x42514f);_0x567895['setSelection'](_0x42514f,'on');});}async['_getImageAsFile'](_0x54c77f){const _0x672665=_0x4a00a9['window'],_0x39b21c=_0x4a00a9['document']['location']['href'],_0x3fdb6d=new _0x672665['URL'](_0x54c77f['getAttribute']('src'),_0x39b21c);if('data:'===_0x3fdb6d['protocol']){const _0x1afb70=_0x3fdb6d['href']['split'](','),_0x41df8b=_0x1afb70[0x0]['match'](/:(.*?);/)[0x1],_0x40a38d=_0x41df8b['split']('/')[0x1],_0x45cec0=_0x672665['atob'](_0x1afb70[_0x1afb70['length']-0x1]);let _0x2239ab=_0x45cec0['length'];const _0x84110a=new _0x672665['Uint8Array'](_0x2239ab);for(;_0x2239ab--;)_0x84110a[_0x2239ab]=_0x45cec0['charCodeAt'](_0x2239ab);return new _0x672665['File']([_0x84110a],'image.'+_0x40a38d,{'type':_0x41df8b});}const _0x13245c=_0x3fdb6d['href']['split']('/'),_0x433781=_0x13245c[_0x13245c['length']-0x1],_0x361b64=_0x433781['split']('.')[0x1];return _0x672665['fetch'](_0x3fdb6d['href'])['then'](_0x760d9f=>_0x760d9f['clone']()['blob']())['then'](_0x438a4e=>new _0x672665['File']([_0x438a4e],_0x433781,{'type':'image/'+_0x361b64}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x39e057,_0x3e2efd){const _0x2650b7=_0x3891,_0x16414b=_0x39e057();while(!![]){try{const _0x4e2b6f=-parseInt(_0x2650b7(0x184))/0x1+-parseInt(_0x2650b7(0x187))/0x2+parseInt(_0x2650b7(0x182))/0x3*(parseInt(_0x2650b7(0x188))/0x4)+parseInt(_0x2650b7(0x181))/0x5*(-parseInt(_0x2650b7(0x17f))/0x6)+-parseInt(_0x2650b7(0x17e))/0x7+parseInt(_0x2650b7(0x18c))/0x8+parseInt(_0x2650b7(0x18d))/0x9;if(_0x4e2b6f===_0x3e2efd)break;else _0x16414b['push'](_0x16414b['shift']());}catch(_0x1f5ccc){_0x16414b['push'](_0x16414b['shift']());}}}(_0x50a8,0xc1529));function _0x50a8(){const _0x3ec9d2=['uc-cloud-image-editor','imageSrc','image-edit','10827080sWEKaW','21153438egmNfc','setTemplate','5959100oOyQyz','1791138VMwCFQ','uc-light','25eSaCjM','949491dGIDBa','ck-uploadcare-theme','304043JTxKfs','set','bindTemplate','1160914RxRYMU','4Gumgzx'];_0x50a8=function(){return _0x3ec9d2;};return _0x50a8();}import{View as _0x500681}from'ckeditor5/src/ui.js';function _0x3891(_0x56a579,_0x406ca2){const _0x50a828=_0x50a8();return _0x3891=function(_0x389121,_0x4775bc){_0x389121=_0x389121-0x17e;let _0x18f6bf=_0x50a828[_0x389121];return _0x18f6bf;},_0x3891(_0x56a579,_0x406ca2);}export default class tt extends _0x500681{constructor(_0x497391,_0x326712){const _0x7665a=_0x3891;super(_0x497391);const _0x2a1de0=this[_0x7665a(0x186)];this[_0x7665a(0x185)](_0x7665a(0x18a),''),this[_0x7665a(0x18e)]({'tag':_0x7665a(0x189),'attributes':{..._0x326712,'class':[_0x7665a(0x180),_0x7665a(0x183)],'ctx-name':_0x7665a(0x18b),'cdn-url':_0x2a1de0['to'](_0x7665a(0x18a))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as
|
|
23
|
+
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x36144e,IconView as at,View as _0x3bbb3b}from'ckeditor5/src/ui.js';export default class rt extends _0x3bbb3b{constructor(_0x142e68){super(_0x142e68);const t=_0x142e68['t'];this['set']('errorType',null);const _0x165e9b=new _0x36144e(_0x142e68);_0x165e9b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x165e9b['withText']=!0x0,_0x165e9b['class']='ck-button-action',_0x165e9b['on']('execute',()=>{this['fire']('retry');}),_0x165e9b['bind']('isVisible')['to'](this,'errorType',_0x329864=>'NotFound'!==_0x329864);const _0x504f64=new at();_0x504f64['content']=et,_0x504f64['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3d583d=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':[_0x504f64,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3d583d['to']('errorType',_0x12cd1f=>t('NotFound'!==_0x12cd1f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x165e9b]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{SpinnerView as
|
|
23
|
+
import{SpinnerView as _0x43b55b,View as _0x1cd48a}from'ckeditor5/src/ui.js';export default class ta extends _0x1cd48a{constructor(_0xbab235){super(_0xbab235);const t=_0xbab235['t'],_0x563604=this['bindTemplate'],_0x3f6fd2=new _0x43b55b();_0x3f6fd2['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':[_0x3f6fd2,{'text':_0x563604['to']('imageUploadProgress',_0x43ac01=>t('Loading\x20image...')+'\x20('+(_0x43ac01||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x34fa(){const _0xa9c36e=['add','_setView','clear','1729055rTRCgA','1840564TItuaW','length','set','_addUploadcareImageEditorListeners','filter','getFocusableElement','addEventListener','addedNodes','disconnect','uploading','_editingView','28nECKcU','detail','addMany','50896EhIqEz','_loadingView','fire','setTemplate','error','ck-reset_all-excluded','change:status','cancel','ck-uploadcare-form','observe','750714XzKRDP','ready','querySelector','781pVuhmR','3DFhDHC','once','_items','div','7RkcWph','96730pfrXyK','retry','target','render','toLowerCase','_addErrorViewListeners','focus','status','3892528ohiQxg','nodeName','createCollection','uc-cloud-image-editor','apply','cdnUrl','element','_errorView','_waitForImageEditorComponent','_focusableView','1403343gXFfbH'];_0x34fa=function(){return _0xa9c36e;};return _0x34fa();}const _0x5370d2=_0x2b1b;(function(_0xe2e8f6,_0x281a62){const _0x26563c=_0x2b1b,_0xfbf1ae=_0xe2e8f6();while(!![]){try{const _0x2286dd=parseInt(_0x26563c(0x1e0))/0x1*(-parseInt(_0x26563c(0x1ce))/0x2)+-parseInt(_0x26563c(0x1dc))/0x3*(parseInt(_0x26563c(0x1c0))/0x4)+parseInt(_0x26563c(0x1bf))/0x5+-parseInt(_0x26563c(0x1d8))/0x6*(-parseInt(_0x26563c(0x1cb))/0x7)+-parseInt(_0x26563c(0x1e9))/0x8+-parseInt(_0x26563c(0x1bb))/0x9+-parseInt(_0x26563c(0x1e1))/0xa*(-parseInt(_0x26563c(0x1db))/0xb);if(_0x2286dd===_0x281a62)break;else _0xfbf1ae['push'](_0xfbf1ae['shift']());}catch(_0x4f6e73){_0xfbf1ae['push'](_0xfbf1ae['shift']());}}}(_0x34fa,0x3d98c));import{View as _0x91bfe8}from'ckeditor5/src/ui.js';function _0x2b1b(_0xf74588,_0xd757ed){const _0x34fa2c=_0x34fa();return _0x2b1b=function(_0x2b1be1,_0x7744d){_0x2b1be1=_0x2b1be1-0x1b8;let _0x1c2881=_0x34fa2c[_0x2b1be1];return _0x1c2881;},_0x2b1b(_0xf74588,_0xd757ed);}import _0x15731c from'./uploadcareimageeditformloadingview.js';import _0x1f4fd0 from'./uploadcareimageeditformerrorview.js';import _0x15c4fc from'./uploadcareimageeditformeditingview.js';import _0x487721 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x487721{[_0x5370d2(0x1de)];[_0x5370d2(0x1cf)];[_0x5370d2(0x1b8)];[_0x5370d2(0x1ca)];[_0x5370d2(0x1ba)];constructor(_0x34b374,_0x450fef,_0xdf4721){const _0x1f41f2=_0x5370d2;super(_0x34b374),this[_0x1f41f2(0x1de)]=this[_0x1f41f2(0x1eb)](),this[_0x1f41f2(0x1cf)]=new _0x15731c(_0x34b374),this[_0x1f41f2(0x1b8)]=new _0x1f4fd0(_0x34b374),this[_0x1f41f2(0x1ca)]=new _0x15c4fc(_0x34b374,_0xdf4721),this[_0x1f41f2(0x1ba)]=new _0x91bfe8(_0x34b374),this[_0x1f41f2(0x1ba)][_0x1f41f2(0x1d1)](this[_0x1f41f2(0x1c5)]()),this[_0x1f41f2(0x1c2)](_0x1f41f2(0x1e8),_0x450fef),this[_0x1f41f2(0x1d1)]({'tag':_0x1f41f2(0x1df),'attributes':{'class':['ck',_0x1f41f2(0x1d3),_0x1f41f2(0x1d6)],'tabindex':'-1'},'children':this[_0x1f41f2(0x1de)]}),this[_0x1f41f2(0x1bd)](),this[_0x1f41f2(0x1dd)](_0x1f41f2(0x1e4),()=>{const _0x4214fa=_0x1f41f2;this[_0x4214fa(0x1b9)](this[_0x4214fa(0x1ef)],_0x3e6d70=>{const _0x42b238=_0x4214fa;this[_0x42b238(0x1c3)](_0x3e6d70);});}),this['on'](_0x1f41f2(0x1d4),()=>{const _0x3031de=_0x1f41f2;this[_0x3031de(0x1bd)]();}),this[_0x1f41f2(0x1e6)]();}[_0x5370d2(0x1e7)](){const _0x3e7a70=_0x5370d2;this[_0x3e7a70(0x1ef)][_0x3e7a70(0x1e7)]();}[_0x5370d2(0x1bd)](){const _0x33a607=_0x5370d2;switch(this[_0x33a607(0x1de)][_0x33a607(0x1be)](),this[_0x33a607(0x1e8)]){case _0x33a607(0x1c9):this[_0x33a607(0x1de)][_0x33a607(0x1bc)](this[_0x33a607(0x1cf)]);break;case _0x33a607(0x1d2):this[_0x33a607(0x1de)][_0x33a607(0x1bc)](this[_0x33a607(0x1b8)]);break;case _0x33a607(0x1d9):this[_0x33a607(0x1de)][_0x33a607(0x1cd)]([this[_0x33a607(0x1ca)],this[_0x33a607(0x1ba)]]);}}[_0x5370d2(0x1b9)](_0x424cbb,_0x313e6e){const _0x35f39f=_0x5370d2,_0x356913=_0x35f39f(0x1ec),_0x4953fc=_0x424cbb[_0x35f39f(0x1da)](_0x356913);if(_0x4953fc)return _0x313e6e(_0x4953fc);const _0xbe517f=new MutationObserver(_0x12a310=>{const _0x3732d2=_0x35f39f,_0x501044=_0x12a310[_0x3732d2(0x1c4)](_0x44b071=>_0x44b071[_0x3732d2(0x1e3)]===_0x424cbb&&_0x44b071[_0x3732d2(0x1c7)][_0x3732d2(0x1c1)]>0x0&&_0x44b071[_0x3732d2(0x1c7)][0x0][_0x3732d2(0x1ea)][_0x3732d2(0x1e5)]()===_0x356913);_0x501044[_0x3732d2(0x1c1)]&&(_0xbe517f[_0x3732d2(0x1c8)](),_0x313e6e(_0x501044[0x0][_0x3732d2(0x1c7)][0x0]));});_0xbe517f[_0x35f39f(0x1d7)](_0x424cbb,{'childList':!0x0,'subtree':!0x0});}[_0x5370d2(0x1c3)](_0x4cd402){const _0x1ae188=_0x5370d2;_0x4cd402[_0x1ae188(0x1c6)](_0x1ae188(0x1ed),_0x4d4da2=>{const _0x39bb16=_0x1ae188;this[_0x39bb16(0x1d0)](_0x39bb16(0x1ed),{'imageSrc':_0x4d4da2[_0x39bb16(0x1cc)][_0x39bb16(0x1ee)]});}),_0x4cd402[_0x1ae188(0x1c6)](_0x1ae188(0x1d5),()=>{const _0x3423db=_0x1ae188;this[_0x3423db(0x1d0)](_0x3423db(0x1d5));});}[_0x5370d2(0x1e6)](){const _0x490c51=_0x5370d2;this[_0x490c51(0x1b8)]['on'](_0x490c51(0x1e2),()=>{const _0xd8225b=_0x490c51;this[_0xd8225b(0x1d0)](_0xd8225b(0x1e2));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xfd1010=_0x541d;(function(_0x50e231,_0x31a4f8){const _0x33a3a8=_0x541d,_0x3c3b8c=_0x50e231();while(!![]){try{const _0x337ace=parseInt(_0x33a3a8(0xa1))/0x1+-parseInt(_0x33a3a8(0xa9))/0x2*(parseInt(_0x33a3a8(0xb6))/0x3)+parseInt(_0x33a3a8(0xae))/0x4+-parseInt(_0x33a3a8(0xb0))/0x5+parseInt(_0x33a3a8(0xb7))/0x6+parseInt(_0x33a3a8(0x9f))/0x7*(parseInt(_0x33a3a8(0xa6))/0x8)+-parseInt(_0x33a3a8(0xab))/0x9;if(_0x337ace===_0x31a4f8)break;else _0x3c3b8c['push'](_0x3c3b8c['shift']());}catch(_0xd6ae7a){_0x3c3b8c['push'](_0x3c3b8c['shift']());}}}(_0x218e,0xb3d0b));import{Command as _0x243dc2}from'ckeditor5/src/core.js';import{Dialog as _0x54a986}from'ckeditor5/src/ui.js';import _0x2e271d from'./ui/uploadcareimageeditcontroller.js';function _0x218e(){const _0x541092=['get','_isEditable','plugins','7868CZrtxQ','isActive','340254qEKmda','editor','imageBlock','document','bind','10424KXOLzV','execute','getSelectedElement','34460tBSKtW','set','1390806GbbXWE','uploadcare.allowExternalImagesEditing','element','614724PAVHRM','config','6683970kMToGn','model','imageEditController','selection','unbind','requires','87DCNhna','4614084dnDBzH','isEnabled','refresh','imageInline'];_0x218e=function(){return _0x541092;};return _0x218e();}function _0x541d(_0x109865,_0xa9ced0){const _0x218e4b=_0x218e();return _0x541d=function(_0x541ddf,_0x26be45){_0x541ddf=_0x541ddf-0x9f;let _0x5ba679=_0x218e4b[_0x541ddf];return _0x5ba679;},_0x541d(_0x109865,_0xa9ced0);}import{createEditabilityChecker as _0x32fc22}from'../utils/editingutils.js';export default class J extends _0x243dc2{[_0xfd1010(0xb2)];static get[_0xfd1010(0xb5)](){return[_0x54a986];}[_0xfd1010(0xbc)];constructor(_0xde1d9e){const _0x38d43e=_0xfd1010;super(_0xde1d9e),this[_0x38d43e(0xb2)]=void 0x0,this[_0x38d43e(0xbc)]=_0x32fc22(_0xde1d9e[_0x38d43e(0xaf)][_0x38d43e(0xbb)](_0x38d43e(0xac))||[]),this[_0x38d43e(0xaa)]({'isActive':!0x1});}[_0xfd1010(0xb9)](){const _0x34c7a7=_0xfd1010,_0x488d43=this[_0x34c7a7(0xa2)][_0x34c7a7(0xb1)][_0x34c7a7(0xa4)][_0x34c7a7(0xb3)][_0x34c7a7(0xa8)]();this[_0x34c7a7(0xb8)]=this[_0x34c7a7(0xbc)](_0x488d43);}[_0xfd1010(0xa7)](){const _0x3139dd=_0xfd1010;this[_0x3139dd(0xb2)]&&(this[_0x3139dd(0xb4)](_0x3139dd(0xa0)),this[_0x3139dd(0xb2)]=void 0x0);const _0x535906=this[_0x3139dd(0xa2)][_0x3139dd(0xb1)][_0x3139dd(0xa4)][_0x3139dd(0xb3)][_0x3139dd(0xa8)]();_0x535906&&(_0x535906['is'](_0x3139dd(0xad),_0x3139dd(0xa3))||_0x535906['is'](_0x3139dd(0xad),_0x3139dd(0xba)))&&(this[_0x3139dd(0xb2)]=new _0x2e271d(this[_0x3139dd(0xa2)],this[_0x3139dd(0xa2)][_0x3139dd(0xbd)][_0x3139dd(0xbb)](_0x54a986),_0x535906),this[_0x3139dd(0xa5)](_0x3139dd(0xa0))['to'](this[_0x3139dd(0xb2)],_0x3139dd(0xa0)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1be8de=_0xeeb4;(function(_0x47c46d,_0xb18cbe){const _0x60e3fe=_0xeeb4,_0x504762=_0x47c46d();while(!![]){try{const _0x2a9a83=-parseInt(_0x60e3fe(0x120))/0x1*(parseInt(_0x60e3fe(0x12d))/0x2)+-parseInt(_0x60e3fe(0x11f))/0x3+parseInt(_0x60e3fe(0x12b))/0x4+parseInt(_0x60e3fe(0x124))/0x5+parseInt(_0x60e3fe(0x11a))/0x6*(parseInt(_0x60e3fe(0x11e))/0x7)+-parseInt(_0x60e3fe(0x11d))/0x8+parseInt(_0x60e3fe(0x127))/0x9;if(_0x2a9a83===_0xb18cbe)break;else _0x504762['push'](_0x504762['shift']());}catch(_0x4d36d5){_0x504762['push'](_0x504762['shift']());}}}(_0x2e6a,0xedb0c));import{Plugin as _0xf3b061}from'ckeditor5/src/core.js';import{Notification as _0x1162ce}from'ckeditor5/src/ui.js';import _0x34cd48 from'./uploadcareimageeditcommand.js';import _0x53f42d from'./uploadcareimagereplacecommand.js';function _0xeeb4(_0x17f67,_0x47aed9){const _0x2e6adf=_0x2e6a();return _0xeeb4=function(_0xeeb473,_0x35a6ef){_0xeeb473=_0xeeb473-0x11a;let _0x5c8a2a=_0x2e6adf[_0xeeb473];return _0x5c8a2a;},_0xeeb4(_0x17f67,_0x47aed9);}import _0x12bd99 from'../uploadcareediting.js';export default class g extends _0xf3b061{static get[_0x1be8de(0x11c)](){const _0x38d82d=_0x1be8de;return _0x38d82d(0x129);}static get[_0x1be8de(0x11b)](){const _0x2b0fb3=_0x1be8de;return[_0x12bd99,_0x1162ce,_0x2b0fb3(0x12c),_0x2b0fb3(0x12e)];}static get[_0x1be8de(0x125)](){return!0x0;}static get[_0x1be8de(0x123)](){return!0x0;}[_0x1be8de(0x126)](){const _0x8d3f93=_0x1be8de,{editor:_0x1ce7db}=this;_0x1ce7db[_0x8d3f93(0x12a)][_0x8d3f93(0x122)](_0x8d3f93(0x128),new _0x34cd48(_0x1ce7db)),_0x1ce7db[_0x8d3f93(0x12a)][_0x8d3f93(0x122)](_0x8d3f93(0x121),new _0x53f42d(_0x1ce7db));}}function _0x2e6a(){const _0x3b4b88=['uploadcareImageReplace','add','isPremiumPlugin','4518515PkOZGN','isOfficialPlugin','init','4910625VuZWHR','uploadcareImageEdit','UploadcareImageEditEditing','commands','5838580unrWKQ','ImageUtils','1876DcDSTG','ImageEditing','6MKhHzb','requires','pluginName','8998056RUvjER','2612645ipwyZt','1190667RACaWR','839jBeLxB'];_0x2e6a=function(){return _0x3b4b88;};return _0x2e6a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x18245c}from'ckeditor5/src/core.js';import{ButtonView as _0x3aab28}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x51421e}from'ckeditor5/src/icons.js';import{createElement as _0x13cf56}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x18245c{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x48c94d=this['editor'];_0x48c94d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x29bcaa=>{const _0x27fa8f=_0x48c94d['commands']['get']('uploadcareImageEdit'),_0x4ab601=new _0x3aab28(_0x29bcaa),t=_0x29bcaa['t'];return _0x4ab601['set']({'icon':_0x51421e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4ab601['bind']('isEnabled')['to'](_0x27fa8f),_0x4ab601['bind']('isOn')['to'](_0x27fa8f,'isActive'),this['listenTo'](_0x4ab601,'execute',()=>{_0x48c94d['execute']('uploadcareImageEdit'),_0x48c94d['editing']['view']['focus']();}),_0x4ab601;}),this['_initConfig']();}['_initConfig'](){const _0x8a50e2=_0x13cf56(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x8a50e2),this['listenTo'](this['editor'],'destroy',()=>{_0x8a50e2['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5196f3=_0x5535;(function(_0x30d38a,_0x30f1a8){const _0xbeb6f8=_0x5535,_0x64ce63=_0x30d38a();while(!![]){try{const _0x2a4437=-parseInt(_0xbeb6f8(0x138))/0x1+parseInt(_0xbeb6f8(0x13b))/0x2+parseInt(_0xbeb6f8(0x141))/0x3*(parseInt(_0xbeb6f8(0x13d))/0x4)+parseInt(_0xbeb6f8(0x13a))/0x5+parseInt(_0xbeb6f8(0x12f))/0x6+-parseInt(_0xbeb6f8(0x13e))/0x7*(parseInt(_0xbeb6f8(0x139))/0x8)+-parseInt(_0xbeb6f8(0x135))/0x9*(parseInt(_0xbeb6f8(0x130))/0xa);if(_0x2a4437===_0x30f1a8)break;else _0x64ce63['push'](_0x64ce63['shift']());}catch(_0x323e46){_0x64ce63['push'](_0x64ce63['shift']());}}}(_0x51d8,0x7da78));import{Command as _0x246472}from'ckeditor5/src/core.js';export default class O extends _0x246472{[_0x5196f3(0x132)](){const _0x102685=_0x5196f3,_0x388f6b=this[_0x102685(0x13f)][_0x102685(0x146)][_0x102685(0x140)][_0x102685(0x13c)][_0x102685(0x147)]();this[_0x102685(0x136)]=Boolean(_0x388f6b&&(_0x388f6b['is'](_0x102685(0x137),_0x102685(0x145))||_0x388f6b['is'](_0x102685(0x137),_0x102685(0x144))));}[_0x5196f3(0x143)](_0x35de89){const _0x1843d9=_0x5196f3,_0x17a953=this[_0x1843d9(0x13f)][_0x1843d9(0x146)][_0x1843d9(0x140)][_0x1843d9(0x13c)][_0x1843d9(0x147)]();this[_0x1843d9(0x13f)][_0x1843d9(0x146)][_0x1843d9(0x131)](_0x255915=>{const _0x4c5942=_0x1843d9;_0x255915[_0x4c5942(0x142)](_0x35de89,_0x17a953),_0x255915[_0x4c5942(0x133)](_0x4c5942(0x134),_0x17a953),_0x255915[_0x4c5942(0x133)](_0x4c5942(0x12e),_0x17a953);});}}function _0x5535(_0x4dfb4b,_0x5105af){const _0x51d848=_0x51d8();return _0x5535=function(_0x553575,_0x264c21){_0x553575=_0x553575-0x12e;let _0x37f76c=_0x51d848[_0x553575];return _0x37f76c;},_0x5535(_0x4dfb4b,_0x5105af);}function _0x51d8(){const _0x44bff3=['1557YgWJOO','setAttributes','execute','imageInline','imageBlock','model','getSelectedElement','sizes','5496720lsXQrG','100mByLqL','change','refresh','removeAttribute','srcset','434619JKnTnn','isEnabled','element','882683ibYZUS','24ZoscRT','1009650sEWjRK','1907984QvQGNQ','selection','5992xJZegc','2261539kacaVD','editor','document'];_0x51d8=function(){return _0x44bff3;};return _0x51d8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x518c3b=_0x14e4;(function(_0x1fe7ce,_0x3c27ac){var _0xb18bc3=_0x14e4,_0x1675e2=_0x1fe7ce();while(!![]){try{var _0x53089f=-parseInt(_0xb18bc3(0xf3))/0x1*(-parseInt(_0xb18bc3(0xf8))/0x2)+parseInt(_0xb18bc3(0xf4))/0x3*(-parseInt(_0xb18bc3(0xfe))/0x4)+-parseInt(_0xb18bc3(0xf6))/0x5*(parseInt(_0xb18bc3(0xfc))/0x6)+-parseInt(_0xb18bc3(0xf7))/0x7+parseInt(_0xb18bc3(0x101))/0x8*(-parseInt(_0xb18bc3(0x100))/0x9)+-parseInt(_0xb18bc3(0xf5))/0xa*(parseInt(_0xb18bc3(0xf9))/0xb)+parseInt(_0xb18bc3(0xfa))/0xc;if(_0x53089f===_0x3c27ac)break;else _0x1675e2['push'](_0x1675e2['shift']());}catch(_0x58371d){_0x1675e2['push'](_0x1675e2['shift']());}}}(_0x190e,0x2f90b));import{Plugin as _0x5eb7e4}from'ckeditor5/src/core.js';import _0x41af18 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x190e(){var _0x260cbb=['requires','24cRfVRv','pluginName','333QvOJET','36152jjedRb','UploadcareImageEdit','isPremiumPlugin','2iXfxcC','52455jmvYIB','110toPVxM','56625qcglqh','2715265drfogY','375682ZlUera','165275aEItRl','12081936vdfENL','isOfficialPlugin','192ThQdxR'];_0x190e=function(){return _0x260cbb;};return _0x190e();}function _0x14e4(_0x41cfd5,_0x5d3761){var _0x190e2b=_0x190e();return _0x14e4=function(_0x14e4a4,_0x6f3ce4){_0x14e4a4=_0x14e4a4-0xf1;var _0x23870b=_0x190e2b[_0x14e4a4];return _0x23870b;},_0x14e4(_0x41cfd5,_0x5d3761);}import _0x2d9eaf from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x5eb7e4{static get[_0x518c3b(0xff)](){var _0xefb886=_0x518c3b;return _0xefb886(0xf1);}static get[_0x518c3b(0xfd)](){return[_0x41af18,_0x2d9eaf];}static get[_0x518c3b(0xfb)](){return!0x0;}static get[_0x518c3b(0xf2)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x28ae95=_0x5cb7;(function(_0x35920d,_0x70b4cb){const _0x5eba7e=_0x5cb7,_0x4993e9=_0x35920d();while(!![]){try{const _0x225956=parseInt(_0x5eba7e(0x169))/0x1*(parseInt(_0x5eba7e(0x1b1))/0x2)+parseInt(_0x5eba7e(0x191))/0x3+parseInt(_0x5eba7e(0x165))/0x4*(-parseInt(_0x5eba7e(0x16e))/0x5)+parseInt(_0x5eba7e(0x192))/0x6*(parseInt(_0x5eba7e(0x166))/0x7)+-parseInt(_0x5eba7e(0x176))/0x8*(parseInt(_0x5eba7e(0x19b))/0x9)+-parseInt(_0x5eba7e(0x194))/0xa*(-parseInt(_0x5eba7e(0x17a))/0xb)+-parseInt(_0x5eba7e(0x198))/0xc;if(_0x225956===_0x70b4cb)break;else _0x4993e9['push'](_0x4993e9['shift']());}catch(_0x274f16){_0x4993e9['push'](_0x4993e9['shift']());}}}(_0x25d5,0x916e9));import{Plugin as _0x5acfe6}from'ckeditor5/src/core.js';import{IconDropbox as _0x12cc41,IconFacebook as _0x502202,IconGoogleDrive as _0x22d540,IconGooglePhotos as _0x354091,IconUploadcareImageUpload as _0x12f534,IconUploadcareLink as _0x4d9372,IconOneDrive as _0x55ab11}from'ckeditor5/src/icons.js';import{ButtonView as _0x3d99f3,MenuBarMenuListItemButtonView as _0x3da310}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x357c3d}from'./uploadcareconfig.js';function _0x25d5(){const _0x9b78e=['config','isImageSelected','text','uploadcareLicenseKeyEvaluationLimit','trialLimit','Insert','usageLimit','featureNotAllowed','Replace','init','reduce','licenseKey','uploadcare','_showLicenseError','isPremiumPlugin','expired','1833642Vovswr','2022954IdSKqv','forEach','10VpAinw','_getIntegrationKey','uploadcareLicenseKeyTrialLimit','_createMenuBarButtons','16214220iTIIQp','domainLimit','OneDrive','2351907NFHzmD','type','UploadcareUI','evaluationLimit','entries','_createButton','editor','plugins','locale','has','URL','isOfficialPlugin','upload','assetManager','_createDropdownButtons','destroy','GPhotos','Uploadcare','uploadcareLicenseKeyValid','afterInit','_normalizeConfigSourceList','registerIntegration','2140LvvUov','Facebook','uploadcareLicenseKeyInvalid','execute','shortText','_createToolbarButton','tooltip','28vrnjWG','7zxVTMU','url','uploadcareLicenseKeyExpired','723DSDTJR','GDrive','uploadcareLicenseKeyUsageLimit','_licenseKeyCheckInterval','bind','120585qxdGTx','invalid','push','uploadcareLicenseKeyDomainLimit','uploadcare.uploader.sourceList','icon','commands','isEnabled','8gOwvlQ','map','get','Dropbox','7205363veDuwU','withText','Local','uploadcareLicenseKeyNotAllowed','ImageInsertUI','pluginName','label'];_0x25d5=function(){return _0x9b78e;};return _0x25d5();}import{getTranslation as _0x35e161}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x5cb7(_0x4cfe02,_0x2699dd){const _0x25d58f=_0x25d5();return _0x5cb7=function(_0x5cb7ac,_0x41a974){_0x5cb7ac=_0x5cb7ac-0x162;let _0x2beef1=_0x25d58f[_0x5cb7ac];return _0x2beef1;},_0x5cb7(_0x4cfe02,_0x2699dd);}export default class e extends _0x5acfe6{[_0x28ae95(0x18c)];[_0x28ae95(0x16c)];static get[_0x28ae95(0x17f)](){const _0x7b95ff=_0x28ae95;return _0x7b95ff(0x19d);}static get[_0x28ae95(0x1a6)](){return!0x0;}static get[_0x28ae95(0x18f)](){return!0x0;}[_0x28ae95(0x18a)](){const _0x5ea6fa=_0x28ae95;this[_0x5ea6fa(0x18c)]=this[_0x5ea6fa(0x1a1)][_0x5ea6fa(0x181)][_0x5ea6fa(0x178)](_0x5ea6fa(0x18c));const _0x4022d9=this[_0x5ea6fa(0x1a1)];this[_0x5ea6fa(0x16c)]=setInterval(()=>{const _0x593061=_0x5ea6fa;let _0x12c530;for(const _0xeb24ee in _0x4022d9){const _0x5bffbc=_0xeb24ee,_0x2cf61b=_0x4022d9[_0x5bffbc];if(_0x593061(0x1ad)==_0x2cf61b||_0x593061(0x1b3)==_0x2cf61b||_0x593061(0x168)==_0x2cf61b||_0x593061(0x171)==_0x2cf61b||_0x593061(0x17d)==_0x2cf61b||_0x593061(0x184)==_0x2cf61b||_0x593061(0x196)==_0x2cf61b||_0x593061(0x16b)==_0x2cf61b){delete _0x4022d9[_0x5bffbc],_0x12c530=_0x2cf61b,clearInterval(this[_0x593061(0x16c)]),this[_0x593061(0x16c)]=void 0x0;break;}}_0x593061(0x1b3)==_0x12c530&&_0x4022d9[_0x593061(0x18e)](_0x593061(0x16f)),_0x593061(0x168)==_0x12c530&&_0x4022d9[_0x593061(0x18e)](_0x593061(0x190)),_0x593061(0x171)==_0x12c530&&_0x4022d9[_0x593061(0x18e)](_0x593061(0x199)),_0x593061(0x17d)==_0x12c530&&_0x4022d9[_0x593061(0x18e)](_0x593061(0x188),_0x593061(0x1ac)),_0x593061(0x184)==_0x12c530&&_0x4022d9[_0x593061(0x18e)](_0x593061(0x19e)),_0x593061(0x196)==_0x12c530&&_0x4022d9[_0x593061(0x18e)](_0x593061(0x185)),_0x593061(0x16b)==_0x12c530&&_0x4022d9[_0x593061(0x18e)](_0x593061(0x187));},0x3e8);}[_0x28ae95(0x1ae)](){const _0x488802=_0x28ae95,{editor:_0x5bbb12}=this,_0x1fa758=_0x5bbb12[_0x488802(0x174)][_0x488802(0x178)](_0x488802(0x18d));if(!_0x1fa758)return;const _0x2b2ab2=this[_0x488802(0x1af)](_0x5bbb12[_0x488802(0x181)][_0x488802(0x178)](_0x488802(0x172)))[_0x488802(0x18b)]((_0x470050,_0x25dd6b)=>{const _0x7069c=_0x488802,_0x520745=this[_0x7069c(0x195)](_0x25dd6b[_0x7069c(0x19c)]);return _0x470050[_0x520745]||(_0x470050[_0x520745]=[]),_0x470050[_0x520745][_0x7069c(0x170)](_0x25dd6b),_0x470050;},{});_0x5bbb12[_0x488802(0x1a2)][_0x488802(0x1a4)](_0x488802(0x17e))&&_0x5bbb12[_0x488802(0x174)][_0x488802(0x178)](_0x488802(0x18d))&&Object[_0x488802(0x19f)](_0x2b2ab2)[_0x488802(0x193)](([_0x289092,_0x569028])=>{const _0x2df461=_0x488802;_0x5bbb12[_0x2df461(0x1a2)][_0x2df461(0x178)](_0x2df461(0x17e))[_0x2df461(0x1b0)]({'name':_0x289092,'observable':()=>_0x1fa758,'buttonViewCreator':()=>this[_0x2df461(0x163)](_0x569028),'formViewCreator':()=>this[_0x2df461(0x1a9)](_0x569028),'menuBarButtonViewCreator':()=>this[_0x2df461(0x197)](_0x569028),'override':_0x2df461(0x1a8)!==_0x289092});});}[_0x28ae95(0x1aa)](){const _0x25aa8c=_0x28ae95;super[_0x25aa8c(0x1aa)](),this[_0x25aa8c(0x16c)]&&clearInterval(this[_0x25aa8c(0x16c)]);}[_0x28ae95(0x1af)](_0x17278c){const _0x1f88b8=_0x28ae95,{locale:_0xaf9134}=this[_0x1f88b8(0x1a1)];return _0x17278c[_0x1f88b8(0x177)](_0x17b4af=>{const _0x1c84fe=_0x1f88b8,_0x2dc814=_0x35e161(_0xaf9134,_0x17b4af,_0x1c84fe(0x186));switch(_0x17b4af){case _0x357c3d[_0x1c84fe(0x17c)]:return{'icon':_0x12f534,'type':_0x357c3d[_0x1c84fe(0x17c)],..._0x2dc814};case _0x357c3d[_0x1c84fe(0x1a5)]:return{'icon':_0x4d9372,'type':_0x357c3d[_0x1c84fe(0x1a5)],..._0x2dc814};case _0x357c3d[_0x1c84fe(0x179)]:return{'icon':_0x12cc41,'type':_0x357c3d[_0x1c84fe(0x179)],..._0x2dc814};case _0x357c3d[_0x1c84fe(0x1b2)]:return{'icon':_0x502202,'type':_0x357c3d[_0x1c84fe(0x1b2)],..._0x2dc814};case _0x357c3d[_0x1c84fe(0x16a)]:return{'icon':_0x22d540,'type':_0x357c3d[_0x1c84fe(0x16a)],..._0x2dc814};case _0x357c3d[_0x1c84fe(0x1ab)]:return{'icon':_0x354091,'type':_0x357c3d[_0x1c84fe(0x1ab)],..._0x2dc814};case _0x357c3d[_0x1c84fe(0x19a)]:return{'icon':_0x55ab11,'type':_0x357c3d[_0x1c84fe(0x19a)],..._0x2dc814};}});}[_0x28ae95(0x195)](_0x7b4f2b){const _0x48681d=_0x28ae95;switch(_0x7b4f2b){case _0x357c3d[_0x48681d(0x17c)]:return _0x48681d(0x1a7);case _0x357c3d[_0x48681d(0x1a5)]:return _0x48681d(0x167);default:return _0x48681d(0x1a8);}}[_0x28ae95(0x1a0)](_0x4865d2,_0x2309d4){const _0x58f7af=_0x28ae95,_0x4df193=this[_0x58f7af(0x1a1)],_0x905c80=new _0x4865d2(_0x4df193[_0x58f7af(0x1a3)]),_0x33d1f5=_0x4df193[_0x58f7af(0x174)][_0x58f7af(0x178)](_0x58f7af(0x18d));return _0x905c80[_0x58f7af(0x16d)](_0x58f7af(0x175))['to'](_0x33d1f5),_0x905c80['on'](_0x58f7af(0x1b4),()=>{const _0x46db8a=_0x58f7af;_0x33d1f5[_0x46db8a(0x1b4)](_0x2309d4);}),_0x905c80;}[_0x28ae95(0x163)](_0x2aff8d){const _0x865a78=_0x28ae95,{locale:_0x5443d7}=this[_0x865a78(0x1a1)],_0x20b510=this[_0x865a78(0x1a1)][_0x865a78(0x1a2)][_0x865a78(0x178)](_0x865a78(0x17e)),_0x19bcad=_0x2aff8d[0x0],_0x44e7dc=this[_0x865a78(0x1a0)](_0x3d99f3,_0x19bcad[_0x865a78(0x19c)]);return _0x44e7dc[_0x865a78(0x173)]=_0x19bcad[_0x865a78(0x173)],_0x44e7dc[_0x865a78(0x16d)](_0x865a78(0x180))['to'](_0x20b510,_0x865a78(0x182),_0x38519b=>_0x35e161(_0x5443d7,_0x19bcad[_0x865a78(0x19c)],_0x38519b?_0x865a78(0x189):_0x865a78(0x186))[_0x865a78(0x183)]),_0x44e7dc[_0x865a78(0x164)]=!0x0,_0x44e7dc;}[_0x28ae95(0x1a9)](_0x38df5c){const _0x1f8772=_0x28ae95,{locale:_0x54599b}=this[_0x1f8772(0x1a1)],_0x14bc47=this[_0x1f8772(0x1a1)][_0x1f8772(0x1a2)][_0x1f8772(0x178)](_0x1f8772(0x17e));return _0x38df5c[_0x1f8772(0x177)](_0x230673=>{const _0x1b2f8c=_0x1f8772,_0x2b6bbb=this[_0x1b2f8c(0x1a0)](_0x3d99f3,_0x230673[_0x1b2f8c(0x19c)]);return _0x2b6bbb[_0x1b2f8c(0x17b)]=!0x0,_0x2b6bbb[_0x1b2f8c(0x173)]=_0x230673[_0x1b2f8c(0x173)],_0x2b6bbb[_0x1b2f8c(0x16d)](_0x1b2f8c(0x180))['to'](_0x14bc47,_0x1b2f8c(0x182),_0x10814a=>_0x35e161(_0x54599b,_0x230673[_0x1b2f8c(0x19c)],_0x10814a?_0x1b2f8c(0x189):_0x1b2f8c(0x186))[_0x1b2f8c(0x183)]),_0x2b6bbb;});}[_0x28ae95(0x197)](_0x83e5d4){const _0x259f03=_0x28ae95;return _0x83e5d4[_0x259f03(0x177)](_0x13a1d8=>{const _0x2460bd=_0x259f03,_0x404118=this[_0x2460bd(0x1a0)](_0x3da310,_0x13a1d8[_0x2460bd(0x19c)]);return _0x404118[_0x2460bd(0x173)]=_0x13a1d8[_0x2460bd(0x173)],_0x404118[_0x2460bd(0x180)]=_0x13a1d8[_0x2460bd(0x162)],_0x404118;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x3108ed}from'ckeditor5/src/core.js';import{FileRepository as _0x13b9b6}from'ckeditor5/src/upload.js';import _0xdde4f4 from'./uploadcareediting.js';import _0x268df7 from'./utils/uploadutils.js';import{getImageUrls as _0x2436ec}from'./utils/editingutils.js';export default class p extends _0x3108ed{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x13b9b6,_0xdde4f4];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x414b4f=this['editor'];if(!!!_0x414b4f['config']['get']('uploadcare'))return;_0x414b4f['plugins']['get'](_0x13b9b6)['createUploadAdapter']=_0x50baac=>new x(_0x50baac,_0x414b4f),_0x414b4f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x18af69,{imageElement:_0x296c89,data:_0x36064c})=>{_0x414b4f['model']['change'](_0x501817=>{_0x501817['setAttribute']('uploadcareImageId',_0x36064c['uploadcareImageId'],_0x296c89);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2453fd,_0x104258){this['loader']=_0x2453fd,this['editor']=_0x104258,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x51055=this['editor']['config']['get']('uploadcare.pubkey'),_0x2bb566=await this['loader']['file'];return _0x268df7['upload']({'file':_0x2bb566,'publicKey':_0x51055,'signal':this['controller']['signal'],'onProgress':_0x448f08=>{_0x448f08&&_0x448f08['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x448f08['value']);}})['then'](async _0x16a868=>{const {imageFallbackUrl:_0xf96492,imageSources:_0x3ff78}=_0x2436ec(_0x16a868['cdnUrl'],_0x16a868['imageInfo']['width']);return{'uploadcareImageId':_0x16a868['uuid'],'default':_0xf96492,'sources':_0x3ff78};})['catch'](()=>{const _0x438b80=t('Cannot\x20upload\x20file:')+('\x20'+_0x2bb566['name']+'.');return Promise['reject'](_0x438b80);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x4afd08}from'../uploadcareconfig.js';export function getTranslation(_0x4348d3,_0x6a05d6,_0x13e782){const t=_0x4348d3['t'],_0x556326=_0x4348d3['t'];switch(_0x6a05d6){case _0x4afd08['Local']:return{'text':_0x556326('Insert'===_0x13e782?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x556326('From\x20computer')};case _0x4afd08['URL']:return{'text':'Insert'===_0x13e782?_0x556326('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x556326('Via\x20URL')};case _0x4afd08['Dropbox']:return{'text':t('Insert'===_0x13e782?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4afd08['Facebook']:return{'text':t('Insert'===_0x13e782?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4afd08['GDrive']:return{'text':t('Insert'===_0x13e782?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4afd08['GPhotos']:return{'text':t('Insert'===_0x13e782?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4afd08['OneDrive']:return{'text':t('Insert'===_0x13e782?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x6a05d6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2150a4=_0x2c02;(function(_0x27fdd6,_0x11c07e){var _0x45d886=_0x2c02,_0x1f037e=_0x27fdd6();while(!![]){try{var _0x473737=-parseInt(_0x45d886(0x1fd))/0x1+parseInt(_0x45d886(0x200))/0x2+-parseInt(_0x45d886(0x1fc))/0x3*(parseInt(_0x45d886(0x1ff))/0x4)+parseInt(_0x45d886(0x1f4))/0x5+-parseInt(_0x45d886(0x1f6))/0x6+-parseInt(_0x45d886(0x1f9))/0x7*(-parseInt(_0x45d886(0x205))/0x8)+-parseInt(_0x45d886(0x1fb))/0x9*(-parseInt(_0x45d886(0x1f5))/0xa);if(_0x473737===_0x11c07e)break;else _0x1f037e['push'](_0x1f037e['shift']());}catch(_0x1d9d44){_0x1f037e['push'](_0x1f037e['shift']());}}}(_0x4b69,0xb50ff));import{FocusTracker as _0x3dc834}from'ckeditor5/src/utils.js';import{View as _0x404d7f,FocusCycler as _0x122e23}from'ckeditor5/src/ui.js';function _0x4b69(){var _0x3b204e=['9BZBjgp','18PCCZji','973563iimarS','forwardCycle','220636MrMzzQ','889132deCUMo','focusTracker','fire','focusCycler','bindTemplate','16176hPfNZS','div','1105005nVggQW','5059150dNWKHy','1727904eiMVaA','true','getFocusableElement','4025dGjmhS','createCollection'];_0x4b69=function(){return _0x3b204e;};return _0x4b69();}import'../../theme/uploadcare-form.css';function _0x2c02(_0x610e81,_0x11a0d0){var _0x4b693a=_0x4b69();return _0x2c02=function(_0x2c02c2,_0x2f8fd7){_0x2c02c2=_0x2c02c2-0x1f4;var _0x4b5e40=_0x4b693a[_0x2c02c2];return _0x4b5e40;},_0x2c02(_0x610e81,_0x11a0d0);}export default class q extends _0x404d7f{[_0x2150a4(0x201)];[_0x2150a4(0x203)];constructor(_0x1c82ed){var _0x15c3a8=_0x2150a4;super(_0x1c82ed),this[_0x15c3a8(0x201)]=new _0x3dc834(),this[_0x15c3a8(0x203)]=new _0x122e23({'focusables':this[_0x15c3a8(0x1fa)](),'focusTracker':this[_0x15c3a8(0x201)]});}[_0x2150a4(0x1f8)](){var _0x1293f3=_0x2150a4;return{'tag':_0x1293f3(0x206),'attributes':{'aria-hidden':_0x1293f3(0x1f7),'tabindex':'0'},'on':{'focus':this[_0x1293f3(0x204)]['to'](()=>{var _0x376dbb=_0x1293f3;this[_0x376dbb(0x203)][_0x376dbb(0x202)](_0x376dbb(0x1fe));})}};}}
|