@ckeditor/ckeditor5-uploadcare 44.3.0-alpha.7 → 45.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/translations/be.js +1 -0
- package/build/uploadcare.js +1 -1
- package/ckeditor5-metadata.json +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.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.umd.js +23 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/be.po +100 -0
- package/package.json +9 -8
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.d.ts +2 -6
- 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.d.ts +1 -4
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
- package/theme/icons/dropbox.svg +0 -11
- package/theme/icons/error.svg +0 -1
- package/theme/icons/facebook.svg +0 -11
- package/theme/icons/google-drive.svg +0 -11
- package/theme/icons/google-photos.svg +0 -11
- package/theme/icons/image-upload.svg +0 -11
- package/theme/icons/link.svg +0 -11
- package/theme/icons/local.svg +0 -11
- package/theme/icons/onedrive.svg +0 -11
- package/theme/icons/uploadcare-image-edit.svg +0 -11
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x38da(_0x1b8bed,_0x4505dd){const _0x107e02=_0x107e();return _0x38da=function(_0x38da8f,_0x41c96e){_0x38da8f=_0x38da8f-0xe7;let _0x41aebb=_0x107e02[_0x38da8f];return _0x41aebb;},_0x38da(_0x1b8bed,_0x4505dd);}const _0x650a6c=_0x38da;(function(_0x82ac68,_0x554f4c){const _0x3145cd=_0x38da,_0x37fc8c=_0x82ac68();while(!![]){try{const _0x4b9a6d=-parseInt(_0x3145cd(0x100))/0x1+parseInt(_0x3145cd(0x102))/0x2+parseInt(_0x3145cd(0x103))/0x3*(-parseInt(_0x3145cd(0xeb))/0x4)+parseInt(_0x3145cd(0xfc))/0x5+-parseInt(_0x3145cd(0xe9))/0x6*(-parseInt(_0x3145cd(0x12a))/0x7)+parseInt(_0x3145cd(0x12e))/0x8+-parseInt(_0x3145cd(0x11a))/0x9;if(_0x4b9a6d===_0x554f4c)break;else _0x37fc8c['push'](_0x37fc8c['shift']());}catch(_0x1d1c79){_0x37fc8c['push'](_0x37fc8c['shift']());}}}(_0x107e,0x25753));import{IconUploadcareImageUpload as _0x3569f9}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x78a3be}from'ckeditor5/src/utils.js';import{Dialog as _0xcaf65a,DialogViewPosition as _0x510815}from'ckeditor5/src/ui.js';import _0xf62a0e from'./uploadcareformview.js';import{UploadcareSource as _0x5d71ef}from'../uploadcareconfig.js';import{getTranslation as _0xc04f86}from'../utils/common-translations.js';import{getImageUrls as _0x57f326,getImageDimension as _0x46a4c2}from'../utils/editingutils.js';import{isAncestor as _0x5f4cca}from'../utils/isancestor.js';export default class l extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x78a3be(){[_0x650a6c(0x10c)];[_0x650a6c(0x10b)];[_0x650a6c(0xf6)];[_0x650a6c(0x110)];[_0x650a6c(0x122)]=null;[_0x650a6c(0xf1)]=null;constructor(_0x3fd947,_0x11098a,_0x29a782){const _0x4e53bd=_0x650a6c;super(),this[_0x4e53bd(0x10c)]=_0x3fd947,this[_0x4e53bd(0xf6)]=_0x11098a,this[_0x4e53bd(0x10b)]=_0x3fd947[_0x4e53bd(0x104)][_0x4e53bd(0xec)](_0xcaf65a),this[_0x4e53bd(0x110)]=_0x11098a[_0x4e53bd(0x114)][_0x4e53bd(0xfa)](),this[_0x4e53bd(0x122)]=_0x29a782,this[_0x4e53bd(0xf6)][_0x4e53bd(0x126)][_0x4e53bd(0xf7)](_0x4e53bd(0xfd),this[_0x4e53bd(0x122)]),this[_0x4e53bd(0xe8)](),this[_0x4e53bd(0x10d)](),this[_0x4e53bd(0x110)][_0x4e53bd(0x105)]();}[_0x650a6c(0xf2)](){const _0x9b699b=_0x650a6c;this[_0x9b699b(0xf1)]&&(this[_0x9b699b(0xf1)][_0x9b699b(0xf2)](),this[_0x9b699b(0xf1)]=null),this[_0x9b699b(0x110)]&&this[_0x9b699b(0x110)][_0x9b699b(0x12d)](),this[_0x9b699b(0x11d)](),this[_0x9b699b(0x123)]();}[_0x650a6c(0xe8)](){const _0x215d1e=_0x650a6c,{locale:_0xd868b4,model:_0x5d3710}=this[_0x215d1e(0x10c)],_0x5391c2=_0x5d3710[_0x215d1e(0x109)][_0x215d1e(0x125)][_0x215d1e(0x12c)](),_0x1e7f0a=_0x5391c2&&(_0x5391c2['is'](_0x215d1e(0xef),_0x215d1e(0xed))||_0x5391c2['is'](_0x215d1e(0xef),_0x215d1e(0x12b)));this[_0x215d1e(0xf1)]=new _0xf62a0e(_0xd868b4),this[_0x215d1e(0x10b)][_0x215d1e(0x10f)]({'id':_0x215d1e(0xf0),'icon':_0x3569f9,'title':_0xc04f86(_0xd868b4,this[_0x215d1e(0x122)],_0x1e7f0a?_0x215d1e(0x11f):_0x215d1e(0x11e))[_0x215d1e(0xe7)],'content':this[_0x215d1e(0xf1)],'position':_0x510815[_0x215d1e(0xf4)],'isModal':!0x0,'onShow':()=>{const _0x1a6b69=_0x215d1e;this[_0x1a6b69(0xf1)][_0x1a6b69(0x128)]();},'onHide':()=>{const _0x3725b3=_0x215d1e;this[_0x3725b3(0x110)][_0x3725b3(0x107)](),this[_0x3725b3(0x10c)][_0x3725b3(0x108)][_0x3725b3(0x106)][_0x3725b3(0x128)](),this[_0x3725b3(0xf2)]();},'keystrokeHandlerOptions':{'filter':_0x1fcff4=>!_0x5f4cca(_0x1fcff4,this[_0x215d1e(0xf1)][_0x215d1e(0xef)])}});}[_0x650a6c(0x10d)](){const _0x36b05b=_0x650a6c;this[_0x36b05b(0xf6)][_0x36b05b(0x114)][_0x36b05b(0x116)](_0x36b05b(0xf9),()=>{const _0x599860=_0x36b05b,{allEntries:_0x10802e}=this[_0x599860(0x110)][_0x599860(0x11b)]();this[_0x599860(0x10c)][_0x599860(0x115)][_0x599860(0x111)](_0x424c26=>{const _0x427e4a=_0x599860,_0x5b1f29=_0x10802e[_0x427e4a(0xf5)];for(const _0x2cb721 of _0x10802e){const _0xbdbcff=_0x2cb721===_0x10802e[_0x5b1f29-0x1],{cdnUrl:_0x54f0c7,fileInfo:_0x233b92}=_0x2cb721;if(!_0x54f0c7||!_0x233b92)continue;const {width:_0x3c9d65,height:_0x29d263}=_0x233b92[_0x427e4a(0x101)],_0x4101f2=_0x46a4c2(_0x54f0c7,_0x3c9d65,_0x29d263),_0x4cdcd9=_0x57f326(_0x54f0c7,_0x4101f2[_0x427e4a(0x10a)]),_0x4ec2bd={'id':_0x233b92[_0x427e4a(0x120)],'type':_0x427e4a(0xfb),'attributes':{'imageDimension':_0x4101f2,..._0x4cdcd9}};this[_0x427e4a(0xea)](_0x4ec2bd,_0xbdbcff,_0x424c26);}}),this[_0x599860(0x10b)][_0x599860(0xff)]();}),this[_0x36b05b(0xf6)][_0x36b05b(0x114)][_0x36b05b(0x116)](_0x36b05b(0x111),_0x264119=>{const _0x54fa23=_0x36b05b;_0x54fa23(0xf8)===_0x264119[_0x54fa23(0x124)][_0x54fa23(0xf3)]&&!_0x264119[_0x54fa23(0x124)][_0x54fa23(0x127)][_0x54fa23(0xf5)]&&this[_0x54fa23(0x10b)][_0x54fa23(0x112)]&&(this[_0x54fa23(0x122)]===_0x5d71ef[_0x54fa23(0x10e)]?this[_0x54fa23(0x110)][_0x54fa23(0xee)](_0x5d71ef[_0x54fa23(0x10e)]):this[_0x54fa23(0x110)][_0x54fa23(0x105)]());});}[_0x650a6c(0xea)](_0x5bd54d,_0x528075,_0x561715){const _0x56307a=_0x650a6c,_0x3113a6=this[_0x56307a(0x10c)][_0x56307a(0x115)][_0x56307a(0x109)][_0x56307a(0x125)],_0x3a635d=_0x3113a6[_0x56307a(0x12c)](),_0x445a14=!(!_0x3a635d||!_0x3a635d['is'](_0x56307a(0xef),_0x56307a(0x12b)));_0x561715[_0x56307a(0x118)](_0x56307a(0x11c)),this[_0x56307a(0x129)](_0x5bd54d,_0x445a14),_0x528075||_0x561715[_0x56307a(0x113)](_0x3113a6[_0x56307a(0x119)]());}[_0x650a6c(0x129)](_0x243c04,_0x1aa162){const _0x1234eb=_0x650a6c,_0x5cc39c=this[_0x1234eb(0x10c)],{imageDimension:_0xf9dac8,imageFallbackUrl:_0x4665ba,imageSources:_0x3e8e10}=_0x243c04[_0x1234eb(0xfe)];_0x5cc39c[_0x1234eb(0x121)](_0x1234eb(0x117),{'imageType':_0x1aa162?_0x1234eb(0x12b):null,'source':{'uploadcareImageId':_0x243c04['id'],'src':_0x4665ba,'sources':_0x3e8e10,..._0xf9dac8}});}}function _0x107e(){const _0x365b72=['removeSelectionAttribute','getLastPosition','1041921KescDn','getOutputCollectionState','linkHref','stopListening','Insert','Replace','uuid','execute','_type','stopDelegating','detail','selection','configElement','allEntries','focus','_insertImage','7GAstut','imageInline','getSelectedElement','doneFlow','1511096OSwUjx','text','_initDialog','26454aOFzWF','_insertAsset','672gCVrKa','get','imageBlock','setCurrentActivity','element','uploadCare','_formView','destroy','status','EDITOR_TOP_CENTER','length','_editing','setAttribute','idle','done-click','getAPI','image','555810QcMKjv','source-list','attributes','hide','46765soEDjJ','imageInfo','534062ZPzhXV','4563bQqoFX','plugins','initFlow','view','removeAllFiles','editing','document','width','_dialog','_editor','_initListeners','Local','show','_api','change','isOpen','setSelection','ctxElement','model','addEventListener','insertImage'];_0x107e=function(){return _0x365b72;};return _0x107e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x140f(_0x28a128,_0x24a9d5){var _0x3c9958=_0x3c99();return _0x140f=function(_0x140f8d,_0x216058){_0x140f8d=_0x140f8d-0x17d;var _0x48f973=_0x3c9958[_0x140f8d];return _0x48f973;},_0x140f(_0x28a128,_0x24a9d5);}var _0x35c3a5=_0x140f;(function(_0x389be5,_0x42a65e){var _0x4d050f=_0x140f,_0x4a362f=_0x389be5();while(!![]){try{var _0x9bb4ae=-parseInt(_0x4d050f(0x17d))/0x1+-parseInt(_0x4d050f(0x18f))/0x2+parseInt(_0x4d050f(0x18d))/0x3+-parseInt(_0x4d050f(0x18b))/0x4*(-parseInt(_0x4d050f(0x18c))/0x5)+-parseInt(_0x4d050f(0x183))/0x6*(parseInt(_0x4d050f(0x190))/0x7)+-parseInt(_0x4d050f(0x18a))/0x8+parseInt(_0x4d050f(0x191))/0x9*(parseInt(_0x4d050f(0x184))/0xa);if(_0x9bb4ae===_0x42a65e)break;else _0x4a362f['push'](_0x4a362f['shift']());}catch(_0x464267){_0x4a362f['push'](_0x4a362f['shift']());}}}(_0x3c99,0xd8e33));function _0x3c99(){var _0x2da5ad=['uc-light','uploader','setTemplate','uc-file-uploader-inline','12060pwPFUM','200vBkyzm','ck-uploadcare-form','ck-reset_all-excluded','element','getFocusableElement','div','6144960RaAZmk','3548PvYrnU','2705HAoFGy','838044VOkufH','ck-uploadcare-theme','1868470suOylZ','1568rwcfTm','1392831gaRpWT','813429OEIcBz','focus'];_0x3c99=function(){return _0x2da5ad;};return _0x3c99();}import _0x314693 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export default class W extends _0x314693{constructor(_0x145e8d){var _0x42e78b=_0x140f;super(_0x145e8d),this[_0x42e78b(0x181)]({'tag':_0x42e78b(0x189),'attributes':{'class':['ck',_0x42e78b(0x186),_0x42e78b(0x185)],'tabindex':'-1'},'children':[{'tag':_0x42e78b(0x182),'attributes':{'class':[_0x42e78b(0x17f),_0x42e78b(0x18e)],'ctx-name':_0x42e78b(0x180)}},this[_0x42e78b(0x188)]()]});}[_0x35c3a5(0x17e)](){var _0x3eb2e8=_0x35c3a5;this[_0x3eb2e8(0x187)][_0x3eb2e8(0x17e)]();}}
|
package/src/uploadcare.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x3897d7=_0xcc46;(function(_0x5145b0,_0x155f7d){var _0x4be164=_0xcc46,_0xa2239f=_0x5145b0();while(!![]){try{var _0x9e65e1=parseInt(_0x4be164(0xdf))/0x1*(parseInt(_0x4be164(0xe2))/0x2)+-parseInt(_0x4be164(0xdb))/0x3+parseInt(_0x4be164(0xe1))/0x4*(-parseInt(_0x4be164(0xda))/0x5)+-parseInt(_0x4be164(0xd8))/0x6*(-parseInt(_0x4be164(0xe8))/0x7)+parseInt(_0x4be164(0xe3))/0x8*(-parseInt(_0x4be164(0xe0))/0x9)+parseInt(_0x4be164(0xdd))/0xa+parseInt(_0x4be164(0xe6))/0xb;if(_0x9e65e1===_0x155f7d)break;else _0xa2239f['push'](_0xa2239f['shift']());}catch(_0x400a47){_0xa2239f['push'](_0xa2239f['shift']());}}}(_0x1a97,0xaa3ed));import{Plugin as _0x3ec42f}from'ckeditor5/src/core.js';function _0xcc46(_0x5303b1,_0x25197c){var _0x1a973f=_0x1a97();return _0xcc46=function(_0xcc463f,_0x1ed5ac){_0xcc463f=_0xcc463f-0xd4;var _0x524552=_0x1a973f[_0xcc463f];return _0x524552;},_0xcc46(_0x5303b1,_0x25197c);}function _0x1a97(){var _0x222268=['uploadcare.uploader.sourceList','Local','config','define','8213988BVJeRQ','URL','30LQOpAJ','228915FOtGPV','isPremiumPlugin','262240cmyBeZ','pluginName','1bcSEZR','6714522oVKVwV','926524mLATFO','2573570rWBaWm','8lDkkej','Uploadcare','requires','2502137EiyVsk','isOfficialPlugin','7Pmyjla','defineComponents'];_0x1a97=function(){return _0x222268;};return _0x1a97();}import _0x3638a6 from'./uploadcareui.js';import _0x352337 from'./uploadcareediting.js';import{UploadcareSource as _0x56cd7b}from'./uploadcareconfig.js';import*as _0x3e2177 from'@uploadcare/file-uploader';export default class u extends _0x3ec42f{static get[_0x3897d7(0xe5)](){return[_0x352337,_0x3638a6];}static get[_0x3897d7(0xde)](){var _0x25913b=_0x3897d7;return _0x25913b(0xe4);}static get[_0x3897d7(0xe7)](){return!0x0;}static get[_0x3897d7(0xdc)](){return!0x0;}constructor(_0xb606c3){var _0x2604d4=_0x3897d7;super(_0xb606c3),_0xb606c3[_0x2604d4(0xd6)][_0x2604d4(0xd7)](_0x2604d4(0xd4),[_0x56cd7b[_0x2604d4(0xd5)],_0x56cd7b[_0x2604d4(0xd9)]]),_0x3e2177[_0x2604d4(0xe9)](_0x3e2177);}}
|
package/src/uploadcarecommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xafebce=_0x2335;(function(_0x910cab,_0xa14445){var _0x1a3143=_0x2335,_0x5f2a71=_0x910cab();while(!![]){try{var _0xfaceea=-parseInt(_0x1a3143(0x153))/0x1*(parseInt(_0x1a3143(0x159))/0x2)+parseInt(_0x1a3143(0x154))/0x3+-parseInt(_0x1a3143(0x158))/0x4+-parseInt(_0x1a3143(0x14f))/0x5*(-parseInt(_0x1a3143(0x15c))/0x6)+parseInt(_0x1a3143(0x15f))/0x7+parseInt(_0x1a3143(0x150))/0x8+-parseInt(_0x1a3143(0x161))/0x9*(-parseInt(_0x1a3143(0x15e))/0xa);if(_0xfaceea===_0xa14445)break;else _0x5f2a71['push'](_0x5f2a71['shift']());}catch(_0x49d1e8){_0x5f2a71['push'](_0x5f2a71['shift']());}}}(_0x2db2,0xbe7d4));function _0x2335(_0x420a8f,_0x3a84be){var _0x2db284=_0x2db2();return _0x2335=function(_0x23353d,_0x8359d1){_0x23353d=_0x23353d-0x14b;var _0x2fbd94=_0x2db284[_0x23353d];return _0x2fbd94;},_0x2335(_0x420a8f,_0x3a84be);}import{Command as _0x4068af}from'ckeditor5/src/core.js';import{Dialog as _0x1c2db4}from'ckeditor5/src/ui.js';function _0x2db2(){var _0x296be0=['4JUfcJn','1618965umKBlP','isEnabled','_controller','plugins','4046936HIJIzk','685970NQAuNu','insertImage','requires','1107372yMOJtp','editor','1020YEzOsB','9805607klUErY','_editing','17874qaZvcC','refresh','commands','_checkEnabled','get','10Tozbju','5214128RNUnOt','execute','destroy'];_0x2db2=function(){return _0x296be0;};return _0x2db2();}import _0x49604e from'./uploadcareediting.js';import _0xed0373 from'./ui/uploadcarecontroller.js';export default class n extends _0x4068af{[_0xafebce(0x160)];[_0xafebce(0x156)]=null;static get[_0xafebce(0x15b)](){return[_0x1c2db4,_0x49604e];}constructor(_0x2173b9){var _0x335608=_0xafebce;super(_0x2173b9),this[_0x335608(0x160)]=_0x2173b9[_0x335608(0x157)][_0x335608(0x14e)](_0x49604e);}[_0xafebce(0x14b)](){var _0x4aea4c=_0xafebce;this[_0x4aea4c(0x155)]=this[_0x4aea4c(0x14d)]();}[_0xafebce(0x151)](_0x57102c){var _0x24a708=_0xafebce;this[_0x24a708(0x156)]&&(this[_0x24a708(0x156)][_0x24a708(0x152)](),this[_0x24a708(0x156)]=null),this[_0x24a708(0x156)]=new _0xed0373(this[_0x24a708(0x15d)],this[_0x24a708(0x160)],_0x57102c);}[_0xafebce(0x14d)](){var _0x3ded6b=_0xafebce;return this[_0x3ded6b(0x15d)][_0x3ded6b(0x14c)][_0x3ded6b(0x14e)](_0x3ded6b(0x15a))[_0x3ded6b(0x155)];}}
|
package/src/uploadcareconfig.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x57a3(_0x337a92,_0x41f989){var _0x1e4e35=_0x1e4e();return _0x57a3=function(_0x57a3fa,_0x4ec3f6){_0x57a3fa=_0x57a3fa-0x16f;var _0x5582f5=_0x1e4e35[_0x57a3fa];return _0x5582f5;},_0x57a3(_0x337a92,_0x41f989);}(function(_0x335257,_0x5e5d3d){var _0x34099f=_0x57a3,_0x31f234=_0x335257();while(!![]){try{var _0x22fee2=parseInt(_0x34099f(0x17a))/0x1+parseInt(_0x34099f(0x179))/0x2*(-parseInt(_0x34099f(0x17b))/0x3)+-parseInt(_0x34099f(0x182))/0x4+parseInt(_0x34099f(0x171))/0x5+-parseInt(_0x34099f(0x178))/0x6+parseInt(_0x34099f(0x17e))/0x7+parseInt(_0x34099f(0x175))/0x8;if(_0x22fee2===_0x5e5d3d)break;else _0x31f234['push'](_0x31f234['shift']());}catch(_0x55e9f7){_0x31f234['push'](_0x31f234['shift']());}}}(_0x1e4e,0xcaf48));export var UploadcareSource;function _0x1e4e(){var _0x3d8f50=['183COnlAk','OneDrive','url','6829627ZTtDlz','local','gphotos','dropbox','5392892mUDrof','gdrive','Dropbox','GPhotos','GDrive','3301845YEmEPy','facebook','Facebook','URL','18183616wWNZXY','onedrive','Local','7723704rARddb','50518RCkBPO','1098628BvHqat'];_0x1e4e=function(){return _0x3d8f50;};return _0x1e4e();}!function(_0x37ad3e){var _0x2cff3d=_0x57a3;_0x37ad3e[_0x2cff3d(0x177)]=_0x2cff3d(0x17f),_0x37ad3e[_0x2cff3d(0x174)]=_0x2cff3d(0x17d),_0x37ad3e[_0x2cff3d(0x184)]=_0x2cff3d(0x181),_0x37ad3e[_0x2cff3d(0x170)]=_0x2cff3d(0x183),_0x37ad3e[_0x2cff3d(0x173)]=_0x2cff3d(0x172),_0x37ad3e[_0x2cff3d(0x16f)]=_0x2cff3d(0x180),_0x37ad3e[_0x2cff3d(0x17c)]=_0x2cff3d(0x176);}(UploadcareSource||(UploadcareSource={}));
|
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x169014=_0x2ab9;(function(_0x53d92f,_0x549ffc){const _0x41fc85=_0x2ab9,_0x4ab8bc=_0x53d92f();while(!![]){try{const _0x14ee12=-parseInt(_0x41fc85(0x130))/0x1*(-parseInt(_0x41fc85(0x155))/0x2)+parseInt(_0x41fc85(0x145))/0x3*(-parseInt(_0x41fc85(0x146))/0x4)+parseInt(_0x41fc85(0x152))/0x5*(parseInt(_0x41fc85(0x162))/0x6)+parseInt(_0x41fc85(0x12b))/0x7+parseInt(_0x41fc85(0x16d))/0x8*(-parseInt(_0x41fc85(0x14f))/0x9)+parseInt(_0x41fc85(0x172))/0xa+-parseInt(_0x41fc85(0x147))/0xb;if(_0x14ee12===_0x549ffc)break;else _0x4ab8bc['push'](_0x4ab8bc['shift']());}catch(_0x5f5d9f){_0x4ab8bc['push'](_0x4ab8bc['shift']());}}}(_0x2faf,0x271d2));import{Plugin as _0x3ae189}from'ckeditor5/src/core.js';function _0x2faf(){const _0x357a27=['490gSVuTF','init','input[uploadcare-file-input]','fromCharCode','imageInline','uploadcareImageReplace','upcast','_initCtx','removeAttribute','true','pluginName','add','getSelectedElement','344088QUYNZw','uc-config','view','href','_configElement','requires','getAttribute','uc-upload-ctx-provider','#uc-icon-arrow-down','editor','conversion','13792GuTrDO','_initImageProcessingIndicator','configElement','uploadcare','document','769730mfteXG','commands','_ctxElement','elementToAttribute','locale','_initConversion','body','schema','extend','ctxElement','map','imageBlock','config','_initConfig','1031324YxKWpP','querySelector','afterInit','destroy','once','1019xuxizj','uploadcare.pubkey','appendChild','attributeToAttribute','uploadcareImageId','UploadcareEditing','cleanupImage','contentLanguage','replaceImageSource','join','model','isRegistered','listenTo','for','execute','downcast','uploader','isOfficialPlugin','selection','remove','PictureEditing','22551VRoxzh','12xgrPaL','4911049ksyimv','isPremiumPlugin','editing','render','_initSchema','closeMax','insertImage','get','387HcjoMR','\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','uploadcare.uploader','20wpxFPb','data-uc-image-id','iconHrefResolver'];_0x2faf=function(){return _0x357a27;};return _0x2faf();}import{Dialog as _0x5a6526}from'ckeditor5/src/ui.js';import{createElement as _0x36750e,global as _0x1a74bf,uid as _0x23a768}from'ckeditor5/src/utils.js';import _0x33c905 from'./uploadcarecommand.js';function _0x2ab9(_0x43c941,_0x551215){const _0x2faf33=_0x2faf();return _0x2ab9=function(_0x2ab96f,_0x40d5ea){_0x2ab96f=_0x2ab96f-0x122;let _0x30b484=_0x2faf33[_0x2ab96f];return _0x30b484;},_0x2ab9(_0x43c941,_0x551215);}import _0x529255 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x47a663}from'./utils/editingutils.js';export default class i extends _0x3ae189{constructor(){const _0x103ace=_0x2ab9;super(...arguments),this[_0x103ace(0x166)]=null,this[_0x103ace(0x174)]=null;}static get[_0x169014(0x15f)](){const _0xc93433=_0x169014;return _0xc93433(0x135);}static get[_0x169014(0x167)](){const _0x1a17ff=_0x169014;return[_0x1a17ff(0x144),_0x529255,_0x5a6526];}static get[_0x169014(0x141)](){return!0x0;}static get[_0x169014(0x148)](){return!0x0;}get[_0x169014(0x16f)](){const _0x322d7a=_0x169014;return this[_0x322d7a(0x166)];}get[_0x169014(0x126)](){const _0x258d8d=_0x169014;return this[_0x258d8d(0x174)];}[_0x169014(0x156)](){const _0x46bd2e=_0x169014,_0x2bb4b8=this[_0x46bd2e(0x16b)];_0x2bb4b8[_0x46bd2e(0x173)][_0x46bd2e(0x160)](_0x46bd2e(0x170),new _0x33c905(_0x2bb4b8));}[_0x169014(0x12d)](){const _0x122e8e=_0x169014;this[_0x122e8e(0x14b)](),this[_0x122e8e(0x122)](),this[_0x122e8e(0x12a)](),this[_0x122e8e(0x15c)](),this[_0x122e8e(0x16e)](),this[_0x122e8e(0x13c)](this[_0x122e8e(0x16b)],_0x122e8e(0x12e),()=>{const _0x110ff5=_0x122e8e;this[_0x110ff5(0x166)]&&(this[_0x110ff5(0x166)][_0x110ff5(0x143)](),this[_0x110ff5(0x166)]=null),this[_0x110ff5(0x174)]&&(this[_0x110ff5(0x174)][_0x110ff5(0x143)](),this[_0x110ff5(0x174)]=null);const _0x10735e=_0x1a74bf[_0x110ff5(0x171)][_0x110ff5(0x12c)](_0x110ff5(0x157));_0x10735e&&_0x10735e[_0x110ff5(0x143)]();}),async function(_0xc7264d){const _0x4e4c0d=_0x129ec9([0x46,0x6f,0x42,0x77,0x56,0x35,0x58,0x36,0x52,0x37,0x44,0x53,0x5a,0x61,0x70,0x50,0x76,0x38,0x6b,0x62,0x67,0x6d,0x51,0x74,0x66,0x4d,0x4f,0x4c,0x43,0x59,0x55,0x6c,0x6a,0x45,0x33,0x7a,0x71,0x75,0x32,0x49,0x41,0x4a,0x54,0x30,0x64,0x65,0x31,0x4e,0x34,0x78,0x4b,0x68,0x6e,0x63,0x39,0x79,0x47,0x57,0x48,0x73,0x69,0x72]),_0x174f35=0x5661d4fa,_0x259609=0x5666b5ba^_0x174f35,_0x2a86ea=window[_0x129ec9([0x44,0x61,0x74,0x65])][_0x129ec9([0x6e,0x6f,0x77])](),_0x288e82=_0xc7264d[_0x129ec9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37638c=new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14933c=>{_0x288e82[_0x129ec9([0x6f,0x6e,0x63,0x65])](_0x129ec9([0x72,0x65,0x61,0x64,0x79]),_0x14933c);}),_0x446ebb={[_0x129ec9([0x6b,0x74,0x79])]:_0x129ec9([0x45,0x43]),[_0x129ec9([0x75,0x73,0x65])]:_0x129ec9([0x73,0x69,0x67]),[_0x129ec9([0x63,0x72,0x76])]:_0x129ec9([0x50,0x2d,0x32,0x35,0x36]),[_0x129ec9([0x78])]:_0x129ec9([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]),[_0x129ec9([0x79])]:_0x129ec9([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]),[_0x129ec9([0x61,0x6c,0x67])]:_0x129ec9([0x45,0x53,0x32,0x35,0x36])},_0x1ea59a=_0x288e82[_0x129ec9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x129ec9([0x67,0x65,0x74])](_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x192578(){let _0x316231,_0x18d237=null,_0x6e8a4b=null;try{if(_0x1ea59a==_0x129ec9([0x47,0x50,0x4c]))return _0x129ec9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x316231=_0x1e0660(),!_0x316231)return _0x129ec9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x316231[_0x129ec9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6e8a4b=_0x5631d5(_0x316231[_0x129ec9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x316231[_0x129ec9([0x6a,0x74,0x69])])),await _0x534e2d()?_0x5361ae()?_0x44fcdb()?_0x129ec9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x111ae4()?(_0x316231[_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x129ec9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18d237=_0x203fb7(_0x129ec9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x316231[_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x129ec9([0x74,0x72,0x69,0x61,0x6c])&&(_0x18d237=_0x203fb7(_0x129ec9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1a754b()):_0x129ec9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x129ec9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x129ec9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5b7aaa){return _0x129ec9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44fcdb(){const _0x1d42af=[_0x129ec9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x129ec9([0x74,0x72,0x69,0x61,0x6c])][_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x316231[_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a86ea/0x3e8:0xe10*_0x259609;return _0x316231[_0x129ec9([0x65,0x78,0x70])]<_0x1d42af;}function _0x5361ae(){const _0x26d347=_0x316231[_0x129ec9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x26d347&&(!!_0x26d347[_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x129ec9([0x2a]))||!!_0x26d347[_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x129ec9([0x55,0x50,0x4c,0x43])));}function _0x111ae4(){const _0x1e4777=_0x2ab9,_0x85f262=_0x316231[_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x85f262||0x0==_0x85f262[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x95c503}=new URL(window[_0x129ec9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1e4777(0x165)]);if(_0x85f262[_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x95c503))return!0x0;const _0x3c94f0=_0x95c503[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])](_0x129ec9([0x2e]));return _0x85f262[_0x129ec9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x454eec=>_0x454eec[_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x129ec9([0x2a])))[_0x129ec9([0x6d,0x61,0x70])](_0xe29a07=>_0xe29a07[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])](_0x129ec9([0x2e])))[_0x129ec9([0x73,0x6f,0x6d,0x65])](_0x502b9b=>_0x3c94f0[_0x129ec9([0x65,0x76,0x65,0x72,0x79])]((_0x372096,_0x1c307d)=>_0x502b9b[_0x1c307d]===_0x372096||_0x502b9b[_0x1c307d]===_0x129ec9([0x2a])));}function _0x1a754b(){return _0x18d237&&_0x6e8a4b?new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x111fbd,_0x5948a8)=>{_0x18d237[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x111fbd,_0x5948a8),_0x6e8a4b[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x150b20=>{_0x150b20!=_0x129ec9([0x56,0x61,0x6c,0x69,0x64])&&_0x111fbd(_0x150b20);},_0x5948a8);}):_0x18d237||_0x6e8a4b||_0x129ec9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5631d5(_0x4aed74,_0x27858b){return new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53efb0=>{if(_0xcc45df())return _0x53efb0(_0x129ec9([0x56,0x61,0x6c,0x69,0x64]));_0x597525(),_0x288e82[_0x129ec9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x129ec9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c6ab9=!0x1;const _0x248320=_0x23a768();function _0x4cf807(_0x5276ca){return!!_0x5276ca&&(typeof _0x5276ca===_0x129ec9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5276ca===_0x129ec9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5276ca[_0x129ec9([0x74,0x68,0x65,0x6e])]===_0x129ec9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5276ca[_0x129ec9([0x63,0x61,0x74,0x63,0x68])]===_0x129ec9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e6ced(_0x49eae7){_0x44e346(_0x49eae7)[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x530cd0=>{if(!_0x530cd0||_0x530cd0[_0x129ec9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x129ec9([0x6f,0x6b]))return _0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19e68b(_0x3a5340(_0x248320+_0x27858b))!=_0x530cd0[_0x129ec9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x129ec9([0x56,0x61,0x6c,0x69,0x64]);})[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x3865d3=>(_0x3756b8(),_0x3865d3),()=>{const _0x9faea0=_0x212e4e();return null==_0x9faea0?(_0x3756b8(),_0x129ec9([0x56,0x61,0x6c,0x69,0x64])):_0x129ec9(_0x2a86ea-_0x9faea0>(0x726d50fa^_0x174f35)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x53efb0)[_0x129ec9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53efb0(_0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x211985=0x56573a7a^_0x174f35;function _0x3756b8(){const _0x2f6a2d=_0x129ec9([0x6c,0x6c,0x63,0x74,0x2d])+_0x19e68b(_0x3a5340(_0x4aed74)),_0x4e51e9=_0x1bc65c(_0x19e68b(window[_0x129ec9([0x4d,0x61,0x74,0x68])][_0x129ec9([0x63,0x65,0x69,0x6c])](_0x2a86ea/_0x211985)));window[_0x129ec9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x129ec9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f6a2d,_0x4e51e9);}function _0x212e4e(){const _0x384b03=_0x129ec9([0x6c,0x6c,0x63,0x74,0x2d])+_0x19e68b(_0x3a5340(_0x4aed74)),_0x15dbe9=window[_0x129ec9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x129ec9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x384b03);return _0x15dbe9?window[_0x129ec9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bc65c(_0x15dbe9),0x10)*_0x211985:null;}function _0x44e346(_0x3cf946){return new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22745d,_0x223bff)=>{_0x3cf946[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x22745d,_0x223bff),window[_0x129ec9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x223bff,0x5660003a^_0x174f35);});}}_0x288e82[_0x129ec9([0x6f,0x6e])](_0x129ec9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5208eb,_0x424a1d)=>{if(_0x424a1d[0x0]!=_0x4aed74)return _0x53efb0(_0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x424a1d[0x1]={..._0x424a1d[0x1],[_0x129ec9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x248320};},{[_0x129ec9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x129ec9([0x68,0x69,0x67,0x68])}),_0x288e82[_0x129ec9([0x6f,0x6e])](_0x129ec9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1888fd=>{_0x4cf807(_0x1888fd[_0x129ec9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c6ab9=!0x0,_0x3e6ced(_0x1888fd[_0x129ec9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x129ec9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x129ec9([0x6c,0x6f,0x77])}),_0x37638c[_0x129ec9([0x74,0x68,0x65,0x6e])](()=>{_0x1c6ab9||_0x53efb0(_0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xcc45df(){return _0x288e82[_0x129ec9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x129ec9([0x76,0x69,0x65,0x77])][_0x129ec9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x129ec9([0x61,0x75,0x74,0x6f]);}function _0x597525(){_0x288e82[_0x129ec9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x129ec9([0x76,0x69,0x65,0x77])][_0x129ec9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x129ec9([0x61,0x75,0x74,0x6f]);}}function _0x203fb7(_0xe51369){const _0x19a620=[new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38c0e1=>setTimeout(_0x38c0e1,0x5668ea36^_0x174f35)),_0x37638c[_0x129ec9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26144e=>{let _0x126cb4=0x0;_0x288e82[_0x129ec9([0x6d,0x6f,0x64,0x65,0x6c])][_0x129ec9([0x6f,0x6e])](_0x129ec9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1bd788,_0x42a24f)=>{_0x42a24f[0x0][_0x129ec9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x126cb4++,_0x126cb4==(0x5661d502^_0x174f35)&&(_0x26144e(),_0x1bd788[_0x129ec9([0x6f,0x66,0x66])]());});}))];return window[_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x129ec9([0x72,0x61,0x63,0x65])](_0x19a620)[_0x129ec9([0x74,0x68,0x65,0x6e])](()=>_0xe51369);}async function _0x4b9677(){await _0x37638c,_0x288e82[_0x129ec9([0x6d,0x6f,0x64,0x65,0x6c])][_0x129ec9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12a8d1,_0x288e82[_0x129ec9([0x6d,0x6f,0x64,0x65,0x6c])][_0x129ec9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12a8d1,_0x288e82[_0x129ec9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x129ec9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4960df(_0x3ea155){const _0x1fbd68=_0x4e985e();_0x288e82[_0x1fbd68]=_0x129ec9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ea155,_0x3ea155!=_0x129ec9([0x56,0x61,0x6c,0x69,0x64])&&_0x4b9677();}function _0x4e985e(){const _0x3758d1=window[_0x129ec9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x129ec9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x129ec9([0x6e,0x6f,0x77])]())[_0x129ec9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x129ec9([0x2e]),'');let _0x5541ea=_0x129ec9([0x46]);for(let _0x355344=0x0;_0x355344<_0x3758d1[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x355344+=0x2){let _0x41794f=window[_0x129ec9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3758d1[_0x129ec9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x355344,_0x355344+0x2));_0x41794f>=_0x4e4c0d[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41794f-=_0x4e4c0d[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5541ea+=_0x4e4c0d[_0x41794f];}return _0x5541ea;}function _0x1e0660(){const _0x654f5e=_0x1ea59a[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])](_0x129ec9([0x2e]));if(0x3!=_0x654f5e[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52ccea(_0x654f5e[0x1]);function _0x52ccea(_0xfd158a){const _0x3cbdb3=_0x1bd894(_0xfd158a);return _0x3cbdb3&&_0x4a7dc7()?_0x3cbdb3:null;function _0x4a7dc7(){const _0x587a24=_0x3cbdb3[_0x129ec9([0x6a,0x74,0x69])],_0x4d7734=window[_0x129ec9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x587a24[_0x129ec9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x587a24[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x61dfb8={..._0x3cbdb3,[_0x129ec9([0x6a,0x74,0x69])]:_0x587a24[_0x129ec9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x587a24[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x61dfb8[_0x129ec9([0x76,0x63])],_0x3a5340(_0x61dfb8)==_0x4d7734;}}}async function _0x534e2d(){let _0x3e4948=!0x0;try{const _0x372c51=_0x1ea59a[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])](_0x129ec9([0x2e])),[_0xbd0434,_0x453cfb,_0x344a5a]=_0x372c51;return _0x224d50(_0xbd0434),await _0x4642b5(_0xbd0434,_0x453cfb,_0x344a5a),_0x3e4948;}catch(_0x373e3b){return!0x1;}function _0x224d50(_0x3ff169){const _0x1b6ac4=_0x1bd894(_0x3ff169);_0x1b6ac4&&_0x1b6ac4[_0x129ec9([0x61,0x6c,0x67])]==_0x129ec9([0x45,0x53,0x32,0x35,0x36])||(_0x3e4948=!0x1);}async function _0x4642b5(_0x46ced3,_0xef016e,_0x163289){const _0x1c553f=window[_0x129ec9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x129ec9([0x66,0x72,0x6f,0x6d])](_0xcc6026(_0x163289),_0x102fa0=>_0x102fa0[_0x129ec9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22dbea=new window[(_0x129ec9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x129ec9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46ced3+_0x129ec9([0x2e])+_0xef016e),_0x1dda3a=window[_0x129ec9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x129ec9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1dda3a)return;const _0x452d8f=await _0x1dda3a[_0x129ec9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x129ec9([0x6a,0x77,0x6b]),_0x446ebb,{[_0x129ec9([0x6e,0x61,0x6d,0x65])]:_0x129ec9([0x45,0x43,0x44,0x53,0x41]),[_0x129ec9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x129ec9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x129ec9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1dda3a[_0x129ec9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x129ec9([0x6e,0x61,0x6d,0x65])]:_0x129ec9([0x45,0x43,0x44,0x53,0x41]),[_0x129ec9([0x68,0x61,0x73,0x68])]:{[_0x129ec9([0x6e,0x61,0x6d,0x65])]:_0x129ec9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x452d8f,_0x1c553f,_0x22dbea)||(_0x3e4948=!0x1);}}function _0x1bd894(_0x3c3909){return _0x3c3909[_0x129ec9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x129ec9([0x65,0x79]))?JSON[_0x129ec9([0x70,0x61,0x72,0x73,0x65])](_0xcc6026(_0x3c3909)):null;}function _0xcc6026(_0x3c3027){return window[_0x129ec9([0x61,0x74,0x6f,0x62])](_0x3c3027[_0x129ec9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x129ec9([0x2b]))[_0x129ec9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x129ec9([0x2f])));}function _0x3a5340(_0x124e63){let _0x50dfee=0x1505;function _0x47c0bd(_0x4a4d1f){for(let _0x41565e=0x0;_0x41565e<_0x4a4d1f[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41565e++){const _0x1a65a3=_0x4a4d1f[_0x129ec9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41565e);_0x50dfee=(_0x50dfee<<0x5)+_0x50dfee+_0x1a65a3,_0x50dfee&=_0x50dfee;}}function _0x46c8eb(_0x2f2252){Array[_0x129ec9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f2252)?_0x2f2252[_0x129ec9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46c8eb):_0x2f2252&&typeof _0x2f2252==_0x129ec9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x129ec9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f2252)[_0x129ec9([0x73,0x6f,0x72,0x74])]()[_0x129ec9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d99fb,_0xc90909])=>{_0x47c0bd(_0x1d99fb),_0x46c8eb(_0xc90909);}):_0x47c0bd(window[_0x129ec9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f2252));}return _0x46c8eb(_0x124e63),_0x50dfee>>>0x0;}function _0x19e68b(_0x5954e8){return _0x5954e8[_0x129ec9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x129ec9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x129ec9([0x30]));}function _0x1bc65c(_0x11386d){return _0x11386d[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x129ec9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x129ec9([0x6a,0x6f,0x69,0x6e])]('');}function _0x12a8d1(){}function _0x129ec9(_0x32890c){const _0x23b638=_0x2ab9;return _0x32890c[_0x23b638(0x127)](_0x500d05=>String[_0x23b638(0x158)](_0x500d05))[_0x23b638(0x139)]('');}_0x4960df(await _0x192578());}(this);}[_0x169014(0x14b)](){const _0x442c58=_0x169014,_0x3f66b5=this[_0x442c58(0x16b)][_0x442c58(0x13a)][_0x442c58(0x124)];_0x3f66b5[_0x442c58(0x13b)](_0x442c58(0x128))&&_0x3f66b5[_0x442c58(0x125)](_0x442c58(0x128),{'allowAttributes':[_0x442c58(0x134)]}),_0x3f66b5[_0x442c58(0x13b)](_0x442c58(0x159))&&_0x3f66b5[_0x442c58(0x125)](_0x442c58(0x159),{'allowAttributes':[_0x442c58(0x134)]});}[_0x169014(0x122)](){const _0x1cbcd2=_0x169014,_0x1cea77=this[_0x1cbcd2(0x16b)];_0x1cea77[_0x1cbcd2(0x16c)][_0x1cbcd2(0x13d)](_0x1cbcd2(0x13f))[_0x1cbcd2(0x133)]({'model':_0x1cbcd2(0x134),'view':_0x1cbcd2(0x153)}),_0x1cea77[_0x1cbcd2(0x16c)][_0x1cbcd2(0x13d)](_0x1cbcd2(0x15b))[_0x1cbcd2(0x175)]({'model':{'key':_0x1cbcd2(0x134),'value':_0x39e3f8=>_0x39e3f8[_0x1cbcd2(0x168)](_0x1cbcd2(0x153))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xccd12f=_0x1cea77[_0x1cbcd2(0x173)][_0x1cbcd2(0x14e)](_0x1cbcd2(0x138));_0xccd12f&&this[_0x1cbcd2(0x13c)](_0xccd12f,_0x1cbcd2(0x136),(_0x4c8ce0,[_0x220a24,_0x364fd0])=>{const _0x13f174=_0x1cbcd2;_0x220a24[_0x13f174(0x15d)](_0x13f174(0x134),_0x364fd0);});}[_0x169014(0x12a)](){const _0x3af431=_0x169014,_0x2cbd90=this[_0x3af431(0x16b)][_0x3af431(0x129)][_0x3af431(0x14e)](_0x3af431(0x151))||{},_0x423860=this[_0x3af431(0x16b)][_0x3af431(0x129)][_0x3af431(0x14e)](_0x3af431(0x131))||'';this[_0x3af431(0x166)]=_0x36750e(_0x1a74bf[_0x3af431(0x171)],_0x3af431(0x163),{..._0x2cbd90,'pubkey':_0x423860,'ctx-name':_0x3af431(0x140),'sourceList':'','imgOnly':_0x3af431(0x15e),'removeCopyright':_0x3af431(0x15e),'localeName':this[_0x3af431(0x16b)][_0x3af431(0x176)][_0x3af431(0x137)],'externalSourcesEmbedCss':_0x3af431(0x150)}),this[_0x3af431(0x166)][_0x3af431(0x154)]=_0x5b9666=>{const _0x55bbc6=_0x3af431;if(_0x55bbc6(0x14c)==_0x5b9666)return _0x55bbc6(0x16a);},_0x1a74bf[_0x3af431(0x171)][_0x3af431(0x123)][_0x3af431(0x132)](this[_0x3af431(0x166)]);}[_0x169014(0x15c)](){const _0x3d939d=_0x169014;this[_0x3d939d(0x174)]=_0x36750e(_0x1a74bf[_0x3d939d(0x171)],_0x3d939d(0x169),{'ctx-name':_0x3d939d(0x140)}),_0x1a74bf[_0x3d939d(0x171)][_0x3d939d(0x123)][_0x3d939d(0x132)](this[_0x3d939d(0x174)]);}[_0x169014(0x16e)](){const _0x4db2e0=_0x169014,_0x278657=this[_0x4db2e0(0x16b)][_0x4db2e0(0x173)][_0x4db2e0(0x14e)](_0x4db2e0(0x14d));_0x278657&&this[_0x4db2e0(0x13c)](_0x278657,_0x4db2e0(0x13e),()=>{const _0x30a392=_0x4db2e0,_0x1a7d99=this[_0x30a392(0x16b)][_0x30a392(0x13a)][_0x30a392(0x171)][_0x30a392(0x142)][_0x30a392(0x161)]();_0x1a7d99&&_0x1a7d99[_0x30a392(0x168)](_0x30a392(0x134))&&this[_0x30a392(0x16b)][_0x30a392(0x149)][_0x30a392(0x164)][_0x30a392(0x12f)](_0x30a392(0x14a),()=>{const _0x3a3653=_0x30a392;_0x47a663(this[_0x3a3653(0x16b)],_0x1a7d99);});});const _0x4e744a=this[_0x4db2e0(0x16b)][_0x4db2e0(0x173)][_0x4db2e0(0x14e)](_0x4db2e0(0x15a));_0x4e744a&&this[_0x4db2e0(0x13c)](_0x4e744a,_0x4db2e0(0x13e),()=>{const _0x57af9c=_0x4db2e0,_0xd38fd0=this[_0x57af9c(0x16b)][_0x57af9c(0x13a)][_0x57af9c(0x171)][_0x57af9c(0x142)][_0x57af9c(0x161)]();_0xd38fd0&&_0xd38fd0[_0x57af9c(0x168)](_0x57af9c(0x134))&&this[_0x57af9c(0x16b)][_0x57af9c(0x149)][_0x57af9c(0x164)][_0x57af9c(0x12f)](_0x57af9c(0x14a),()=>{const _0x1cf4e4=_0x57af9c;_0x47a663(this[_0x1cf4e4(0x16b)],_0xd38fd0);});});}}
|
|
23
|
+
const _0x4bb3df=_0x672a;(function(_0x190d8f,_0x5e5f63){const _0x2fb6d9=_0x672a,_0x1864d4=_0x190d8f();while(!![]){try{const _0x5268d8=-parseInt(_0x2fb6d9(0x17e))/0x1*(-parseInt(_0x2fb6d9(0x1ae))/0x2)+parseInt(_0x2fb6d9(0x1bc))/0x3*(parseInt(_0x2fb6d9(0x199))/0x4)+-parseInt(_0x2fb6d9(0x18b))/0x5+-parseInt(_0x2fb6d9(0x1a4))/0x6*(parseInt(_0x2fb6d9(0x1cb))/0x7)+parseInt(_0x2fb6d9(0x1cf))/0x8+parseInt(_0x2fb6d9(0x198))/0x9*(-parseInt(_0x2fb6d9(0x18f))/0xa)+parseInt(_0x2fb6d9(0x18a))/0xb*(parseInt(_0x2fb6d9(0x18e))/0xc);if(_0x5268d8===_0x5e5f63)break;else _0x1864d4['push'](_0x1864d4['shift']());}catch(_0x2987b3){_0x1864d4['push'](_0x1864d4['shift']());}}}(_0x5e6a,0xc19c1));import{Plugin as _0x485687}from'ckeditor5/src/core.js';import{Dialog as _0x571aab}from'ckeditor5/src/ui.js';import{createElement as _0x2387d2,global as _0x57c9cb,uid as _0x2cfc5d}from'ckeditor5/src/utils.js';import _0x248e8e from'./uploadcarecommand.js';function _0x5e6a(){const _0x1f83ef=['querySelector','_configElement','execute','init','href','9TfMARq','20RwjRkl','#uc-icon-arrow-down','commands','pluginName','config','UploadcareEditing','imageBlock','add','getSelectedElement','for','join','6aEcBQf','isRegistered','map','input[uploadcare-file-input]','afterInit','isOfficialPlugin','editing','isPremiumPlugin','configElement','removeAttribute','114QumCsl','downcast','uc-upload-ctx-provider','uploadcare','remove','insertImage','getAttribute','fromCharCode','model','uploadcareImageReplace','listenTo','attributeToAttribute','_initCtx','PictureEditing','463383RBsOGF','uploadcare.pubkey','selection','upcast','requires','elementToAttribute','contentLanguage','get','uc-config','extend','imageInline','closeMax','ctxElement','cleanupImage','destroy','2320297BQfpHj','schema','true','_initSchema','11179792rNgPVT','data-uc-image-id','document','editor','_ctxElement','6563abUPCI','body','\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','appendChild','_initImageProcessingIndicator','uploader','_initConversion','_initConfig','uploadcare.uploader','render','uploadcareImageId','locale','203731YOQVPk','6730905tdtrHV','view','conversion','408PYVPhh','7029070teVrdn','replaceImageSource','once','iconHrefResolver'];_0x5e6a=function(){return _0x1f83ef;};return _0x5e6a();}import _0x2d3ae5 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x35eca9}from'./utils/editingutils.js';function _0x672a(_0x2f326e,_0x2b65ca){const _0x5e6aed=_0x5e6a();return _0x672a=function(_0x672ac6,_0x95e8e6){_0x672ac6=_0x672ac6-0x17d;let _0x441dad=_0x5e6aed[_0x672ac6];return _0x441dad;},_0x672a(_0x2f326e,_0x2b65ca);}export default class i extends _0x485687{[_0x4bb3df(0x194)]=null;[_0x4bb3df(0x17d)]=null;static get[_0x4bb3df(0x19c)](){const _0x35b2a1=_0x4bb3df;return _0x35b2a1(0x19e);}static get[_0x4bb3df(0x1c0)](){const _0x2fe810=_0x4bb3df;return[_0x2fe810(0x1bb),_0x2d3ae5,_0x571aab];}static get[_0x4bb3df(0x1a9)](){return!0x0;}static get[_0x4bb3df(0x1ab)](){return!0x0;}get[_0x4bb3df(0x1ac)](){const _0x435b52=_0x4bb3df;return this[_0x435b52(0x194)];}get[_0x4bb3df(0x1c8)](){const _0x205a5b=_0x4bb3df;return this[_0x205a5b(0x17d)];}[_0x4bb3df(0x196)](){const _0x35a6f6=_0x4bb3df,_0x38aa1e=this[_0x35a6f6(0x1d2)];_0x38aa1e[_0x35a6f6(0x19b)][_0x35a6f6(0x1a0)](_0x35a6f6(0x1b1),new _0x248e8e(_0x38aa1e));}[_0x4bb3df(0x1a8)](){const _0x1e1c6f=_0x4bb3df;this[_0x1e1c6f(0x1ce)](),this[_0x1e1c6f(0x184)](),this[_0x1e1c6f(0x185)](),this[_0x1e1c6f(0x1ba)](),this[_0x1e1c6f(0x182)](),this[_0x1e1c6f(0x1b8)](this[_0x1e1c6f(0x1d2)],_0x1e1c6f(0x1ca),()=>{const _0x328b53=_0x1e1c6f;this[_0x328b53(0x194)]&&(this[_0x328b53(0x194)][_0x328b53(0x1b2)](),this[_0x328b53(0x194)]=null),this[_0x328b53(0x17d)]&&(this[_0x328b53(0x17d)][_0x328b53(0x1b2)](),this[_0x328b53(0x17d)]=null);const _0x57317a=_0x57c9cb[_0x328b53(0x1d1)][_0x328b53(0x193)](_0x328b53(0x1a7));_0x57317a&&_0x57317a[_0x328b53(0x1b2)]();}),async function(_0x4104c1){const _0x4ae7cc=_0x557ce1([0x55,0x50,0x56,0x6e,0x69,0x63,0x38,0x79,0x4a,0x74,0x32,0x53,0x75,0x30,0x64,0x68,0x47,0x51,0x34,0x4b,0x62,0x41,0x46,0x58,0x6f,0x37,0x31,0x54,0x6b,0x72,0x36,0x6c,0x35,0x67,0x78,0x39,0x33,0x4d,0x4c,0x45,0x71,0x6d,0x52,0x61,0x5a,0x7a,0x4f,0x76,0x70,0x48,0x4e,0x6a,0x42,0x65,0x49,0x77,0x44,0x66,0x43,0x59,0x57,0x73]),_0x1b5ae0=0x130b9005,_0x957199=0x130cf33d^_0x1b5ae0,_0x492d98=window[_0x557ce1([0x44,0x61,0x74,0x65])][_0x557ce1([0x6e,0x6f,0x77])](),_0x57a89e=_0x4104c1[_0x557ce1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4327d3=new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x319a15=>{_0x57a89e[_0x557ce1([0x6f,0x6e,0x63,0x65])](_0x557ce1([0x72,0x65,0x61,0x64,0x79]),_0x319a15);}),_0x1becc6={[_0x557ce1([0x6b,0x74,0x79])]:_0x557ce1([0x45,0x43]),[_0x557ce1([0x75,0x73,0x65])]:_0x557ce1([0x73,0x69,0x67]),[_0x557ce1([0x63,0x72,0x76])]:_0x557ce1([0x50,0x2d,0x32,0x35,0x36]),[_0x557ce1([0x78])]:_0x557ce1([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]),[_0x557ce1([0x79])]:_0x557ce1([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]),[_0x557ce1([0x61,0x6c,0x67])]:_0x557ce1([0x45,0x53,0x32,0x35,0x36])},_0x419c34=_0x57a89e[_0x557ce1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x557ce1([0x67,0x65,0x74])](_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x366bf1(){let _0x2c3da8,_0x37c99c=null,_0x5a7e31=null;try{if(_0x419c34==_0x557ce1([0x47,0x50,0x4c]))return _0x557ce1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c3da8=_0x509cdb(),!_0x2c3da8)return _0x557ce1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c3da8[_0x557ce1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a7e31=_0x44c2ed(_0x2c3da8[_0x557ce1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c3da8[_0x557ce1([0x6a,0x74,0x69])])),await _0x5c196a()?_0x5ae4f7()?_0x2638f6()?_0x557ce1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4133e6()?(_0x2c3da8[_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x557ce1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x37c99c=_0x195858(_0x557ce1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2c3da8[_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x557ce1([0x74,0x72,0x69,0x61,0x6c])&&(_0x37c99c=_0x195858(_0x557ce1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a6d84()):_0x557ce1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x557ce1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x557ce1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x127ecc){return _0x557ce1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2638f6(){const _0xe3b2d6=[_0x557ce1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x557ce1([0x74,0x72,0x69,0x61,0x6c])][_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c3da8[_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x492d98/0x3e8:0xe10*_0x957199;return _0x2c3da8[_0x557ce1([0x65,0x78,0x70])]<_0xe3b2d6;}function _0x5ae4f7(){const _0x12cf9e=_0x2c3da8[_0x557ce1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12cf9e&&(!!_0x12cf9e[_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557ce1([0x2a]))||!!_0x12cf9e[_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557ce1([0x55,0x50,0x4c,0x43])));}function _0x4133e6(){const _0x3b52f5=_0x672a,_0x2c1111=_0x2c3da8[_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c1111||0x0==_0x2c1111[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2b075b}=new URL(window[_0x557ce1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3b52f5(0x197)]);if(_0x2c1111[_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b075b))return!0x0;const _0x44138a=_0x2b075b[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])](_0x557ce1([0x2e]));return _0x2c1111[_0x557ce1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c073d=>_0x1c073d[_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557ce1([0x2a])))[_0x557ce1([0x6d,0x61,0x70])](_0x2fdd6d=>_0x2fdd6d[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])](_0x557ce1([0x2e])))[_0x557ce1([0x73,0x6f,0x6d,0x65])](_0x5b2ef1=>_0x44138a[_0x557ce1([0x65,0x76,0x65,0x72,0x79])]((_0x406159,_0x4a5868)=>_0x5b2ef1[_0x4a5868]===_0x406159||_0x5b2ef1[_0x4a5868]===_0x557ce1([0x2a])));}function _0x3a6d84(){return _0x37c99c&&_0x5a7e31?new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd29a7f,_0x5ad0d4)=>{_0x37c99c[_0x557ce1([0x74,0x68,0x65,0x6e])](_0xd29a7f,_0x5ad0d4),_0x5a7e31[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x4da967=>{_0x4da967!=_0x557ce1([0x56,0x61,0x6c,0x69,0x64])&&_0xd29a7f(_0x4da967);},_0x5ad0d4);}):_0x37c99c||_0x5a7e31||_0x557ce1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44c2ed(_0x21e639,_0x362d98){return new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x594eaa=>{if(_0xaecaa1())return _0x594eaa(_0x557ce1([0x56,0x61,0x6c,0x69,0x64]));_0x428196(),_0x57a89e[_0x557ce1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x557ce1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29b863=!0x1;const _0x49df4a=_0x2cfc5d();function _0x3016f4(_0x5c37ec){return!!_0x5c37ec&&(typeof _0x5c37ec===_0x557ce1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c37ec===_0x557ce1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c37ec[_0x557ce1([0x74,0x68,0x65,0x6e])]===_0x557ce1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c37ec[_0x557ce1([0x63,0x61,0x74,0x63,0x68])]===_0x557ce1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57ea32(_0x1c0bcc){_0x30bf38(_0x1c0bcc)[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x430013=>{if(!_0x430013||_0x430013[_0x557ce1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x557ce1([0x6f,0x6b]))return _0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a96c6(_0x5ede6d(_0x49df4a+_0x362d98))!=_0x430013[_0x557ce1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x557ce1([0x56,0x61,0x6c,0x69,0x64]);})[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x5f303b=>(_0x347910(),_0x5f303b),()=>{const _0x4c9836=_0x4f132f();return null==_0x4c9836?(_0x347910(),_0x557ce1([0x56,0x61,0x6c,0x69,0x64])):_0x557ce1(_0x492d98-_0x4c9836>(0x37071405^_0x1b5ae0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x594eaa)[_0x557ce1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x594eaa(_0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3facf8=0x133d7e85^_0x1b5ae0;function _0x347910(){const _0x1a5688=_0x557ce1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a96c6(_0x5ede6d(_0x21e639)),_0x432b3e=_0x2ea8c2(_0x1a96c6(window[_0x557ce1([0x4d,0x61,0x74,0x68])][_0x557ce1([0x63,0x65,0x69,0x6c])](_0x492d98/_0x3facf8)));window[_0x557ce1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x557ce1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a5688,_0x432b3e);}function _0x4f132f(){const _0x4b82a6=_0x557ce1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a96c6(_0x5ede6d(_0x21e639)),_0xfdc2cc=window[_0x557ce1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x557ce1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b82a6);return _0xfdc2cc?window[_0x557ce1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ea8c2(_0xfdc2cc),0x10)*_0x3facf8:null;}function _0x30bf38(_0x3a94b0){return new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8844ee,_0x50a0f8)=>{_0x3a94b0[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x8844ee,_0x50a0f8),window[_0x557ce1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x50a0f8,0x130a44c5^_0x1b5ae0);});}}_0x57a89e[_0x557ce1([0x6f,0x6e])](_0x557ce1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34295f,_0x4eed22)=>{if(_0x4eed22[0x0]!=_0x21e639)return _0x594eaa(_0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4eed22[0x1]={..._0x4eed22[0x1],[_0x557ce1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49df4a};},{[_0x557ce1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x557ce1([0x68,0x69,0x67,0x68])}),_0x57a89e[_0x557ce1([0x6f,0x6e])](_0x557ce1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x253982=>{_0x3016f4(_0x253982[_0x557ce1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29b863=!0x0,_0x57ea32(_0x253982[_0x557ce1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x557ce1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x557ce1([0x6c,0x6f,0x77])}),_0x4327d3[_0x557ce1([0x74,0x68,0x65,0x6e])](()=>{_0x29b863||_0x594eaa(_0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xaecaa1(){return _0x57a89e[_0x557ce1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x557ce1([0x76,0x69,0x65,0x77])][_0x557ce1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x557ce1([0x61,0x75,0x74,0x6f]);}function _0x428196(){_0x57a89e[_0x557ce1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x557ce1([0x76,0x69,0x65,0x77])][_0x557ce1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x557ce1([0x61,0x75,0x74,0x6f]);}}function _0x195858(_0x720cf3){const _0x448d12=[new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x431987=>setTimeout(_0x431987,0x1302aec9^_0x1b5ae0)),_0x4327d3[_0x557ce1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x344f77=>{let _0x45cd7a=0x0;_0x57a89e[_0x557ce1([0x6d,0x6f,0x64,0x65,0x6c])][_0x557ce1([0x6f,0x6e])](_0x557ce1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e62b2,_0x24f2d4)=>{_0x24f2d4[0x0][_0x557ce1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x45cd7a++,_0x45cd7a==(0x130b91fd^_0x1b5ae0)&&(_0x344f77(),_0x2e62b2[_0x557ce1([0x6f,0x66,0x66])]());});}))];return window[_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x557ce1([0x72,0x61,0x63,0x65])](_0x448d12)[_0x557ce1([0x74,0x68,0x65,0x6e])](()=>_0x720cf3);}async function _0x85ebe0(){await _0x4327d3,_0x57a89e[_0x557ce1([0x6d,0x6f,0x64,0x65,0x6c])][_0x557ce1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bba1d,_0x57a89e[_0x557ce1([0x6d,0x6f,0x64,0x65,0x6c])][_0x557ce1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bba1d,_0x57a89e[_0x557ce1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x557ce1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b629f(_0x4c837c){const _0x34d321=_0x3bbc06();_0x57a89e[_0x34d321]=_0x557ce1([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c837c,_0x4c837c!=_0x557ce1([0x56,0x61,0x6c,0x69,0x64])&&_0x85ebe0();}function _0x3bbc06(){const _0x16f1b5=window[_0x557ce1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x557ce1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x557ce1([0x6e,0x6f,0x77])]())[_0x557ce1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x557ce1([0x2e]),'');let _0xe7e465=_0x557ce1([0x55]);for(let _0x556b25=0x0;_0x556b25<_0x16f1b5[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x556b25+=0x2){let _0x238421=window[_0x557ce1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16f1b5[_0x557ce1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x556b25,_0x556b25+0x2));_0x238421>=_0x4ae7cc[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x238421-=_0x4ae7cc[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe7e465+=_0x4ae7cc[_0x238421];}return _0xe7e465;}function _0x509cdb(){const _0x12f182=_0x419c34[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])](_0x557ce1([0x2e]));if(0x3!=_0x12f182[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2779a6(_0x12f182[0x1]);function _0x2779a6(_0x56a580){const _0x573697=_0x23b742(_0x56a580);return _0x573697&&_0x49c557()?_0x573697:null;function _0x49c557(){const _0x2500dd=_0x573697[_0x557ce1([0x6a,0x74,0x69])],_0x5a9ba0=window[_0x557ce1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2500dd[_0x557ce1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2500dd[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2682ff={..._0x573697,[_0x557ce1([0x6a,0x74,0x69])]:_0x2500dd[_0x557ce1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2500dd[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2682ff[_0x557ce1([0x76,0x63])],_0x5ede6d(_0x2682ff)==_0x5a9ba0;}}}async function _0x5c196a(){let _0x1cb9e4=!0x0;try{const _0x38e6ad=_0x419c34[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])](_0x557ce1([0x2e])),[_0x18c0c4,_0x459d12,_0x32052f]=_0x38e6ad;return _0xa9e2bc(_0x18c0c4),await _0x48f3b4(_0x18c0c4,_0x459d12,_0x32052f),_0x1cb9e4;}catch(_0x29d4c9){return!0x1;}function _0xa9e2bc(_0x1b7942){const _0x21e5e9=_0x23b742(_0x1b7942);_0x21e5e9&&_0x21e5e9[_0x557ce1([0x61,0x6c,0x67])]==_0x557ce1([0x45,0x53,0x32,0x35,0x36])||(_0x1cb9e4=!0x1);}async function _0x48f3b4(_0x40b006,_0x2cb86e,_0x227b13){const _0x2200e1=window[_0x557ce1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x557ce1([0x66,0x72,0x6f,0x6d])](_0x32f708(_0x227b13),_0x51a91f=>_0x51a91f[_0x557ce1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56db7e=new window[(_0x557ce1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x557ce1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40b006+_0x557ce1([0x2e])+_0x2cb86e),_0x10e6a4=window[_0x557ce1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x557ce1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10e6a4)return;const _0x51ab0a=await _0x10e6a4[_0x557ce1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x557ce1([0x6a,0x77,0x6b]),_0x1becc6,{[_0x557ce1([0x6e,0x61,0x6d,0x65])]:_0x557ce1([0x45,0x43,0x44,0x53,0x41]),[_0x557ce1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x557ce1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x557ce1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10e6a4[_0x557ce1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x557ce1([0x6e,0x61,0x6d,0x65])]:_0x557ce1([0x45,0x43,0x44,0x53,0x41]),[_0x557ce1([0x68,0x61,0x73,0x68])]:{[_0x557ce1([0x6e,0x61,0x6d,0x65])]:_0x557ce1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51ab0a,_0x2200e1,_0x56db7e)||(_0x1cb9e4=!0x1);}}function _0x23b742(_0x4b8b93){return _0x4b8b93[_0x557ce1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x557ce1([0x65,0x79]))?JSON[_0x557ce1([0x70,0x61,0x72,0x73,0x65])](_0x32f708(_0x4b8b93)):null;}function _0x32f708(_0x2a05bd){return window[_0x557ce1([0x61,0x74,0x6f,0x62])](_0x2a05bd[_0x557ce1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x557ce1([0x2b]))[_0x557ce1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x557ce1([0x2f])));}function _0x5ede6d(_0x433c66){let _0x1c65bf=0x1505;function _0x702c9b(_0x5dc3e1){for(let _0x11e774=0x0;_0x11e774<_0x5dc3e1[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11e774++){const _0x422057=_0x5dc3e1[_0x557ce1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x11e774);_0x1c65bf=(_0x1c65bf<<0x5)+_0x1c65bf+_0x422057,_0x1c65bf&=_0x1c65bf;}}function _0x44271c(_0x1caac8){Array[_0x557ce1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1caac8)?_0x1caac8[_0x557ce1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44271c):_0x1caac8&&typeof _0x1caac8==_0x557ce1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x557ce1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1caac8)[_0x557ce1([0x73,0x6f,0x72,0x74])]()[_0x557ce1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x247a11,_0x870c62])=>{_0x702c9b(_0x247a11),_0x44271c(_0x870c62);}):_0x702c9b(window[_0x557ce1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1caac8));}return _0x44271c(_0x433c66),_0x1c65bf>>>0x0;}function _0x1a96c6(_0x1111b5){return _0x1111b5[_0x557ce1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x557ce1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x557ce1([0x30]));}function _0x2ea8c2(_0x144ef3){return _0x144ef3[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x557ce1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x557ce1([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bba1d(){}function _0x557ce1(_0x2bf107){const _0x4d7cae=_0x672a;return _0x2bf107[_0x4d7cae(0x1a6)](_0x4492eb=>String[_0x4d7cae(0x1b5)](_0x4492eb))[_0x4d7cae(0x1a3)]('');}_0x4b629f(await _0x366bf1());}(this);}[_0x4bb3df(0x1ce)](){const _0xa17742=_0x4bb3df,_0x55a629=this[_0xa17742(0x1d2)][_0xa17742(0x1b6)][_0xa17742(0x1cc)];_0x55a629[_0xa17742(0x1a5)](_0xa17742(0x19f))&&_0x55a629[_0xa17742(0x1c5)](_0xa17742(0x19f),{'allowAttributes':[_0xa17742(0x188)]}),_0x55a629[_0xa17742(0x1a5)](_0xa17742(0x1c6))&&_0x55a629[_0xa17742(0x1c5)](_0xa17742(0x1c6),{'allowAttributes':[_0xa17742(0x188)]});}[_0x4bb3df(0x184)](){const _0x304fb8=_0x4bb3df,_0x2a59ed=this[_0x304fb8(0x1d2)];_0x2a59ed[_0x304fb8(0x18d)][_0x304fb8(0x1a2)](_0x304fb8(0x1af))[_0x304fb8(0x1b9)]({'model':_0x304fb8(0x188),'view':_0x304fb8(0x1d0)}),_0x2a59ed[_0x304fb8(0x18d)][_0x304fb8(0x1a2)](_0x304fb8(0x1bf))[_0x304fb8(0x1c1)]({'model':{'key':_0x304fb8(0x188),'value':_0x1a9e94=>_0x1a9e94[_0x304fb8(0x1b4)](_0x304fb8(0x1d0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2bbfa3=_0x2a59ed[_0x304fb8(0x19b)][_0x304fb8(0x1c3)](_0x304fb8(0x190));_0x2bbfa3&&this[_0x304fb8(0x1b8)](_0x2bbfa3,_0x304fb8(0x1c9),(_0x17688c,[_0x8d2fc0,_0x279759])=>{const _0x55e2d2=_0x304fb8;_0x8d2fc0[_0x55e2d2(0x1ad)](_0x55e2d2(0x188),_0x279759);});}[_0x4bb3df(0x185)](){const _0x5b6e7a=_0x4bb3df,_0x5b6c3=this[_0x5b6e7a(0x1d2)][_0x5b6e7a(0x19d)][_0x5b6e7a(0x1c3)](_0x5b6e7a(0x186))||{},_0x42e0a0=this[_0x5b6e7a(0x1d2)][_0x5b6e7a(0x19d)][_0x5b6e7a(0x1c3)](_0x5b6e7a(0x1bd))||'';this[_0x5b6e7a(0x194)]=_0x2387d2(_0x57c9cb[_0x5b6e7a(0x1d1)],_0x5b6e7a(0x1c4),{..._0x5b6c3,'pubkey':_0x42e0a0,'ctx-name':_0x5b6e7a(0x183),'sourceList':'','imgOnly':_0x5b6e7a(0x1cd),'removeCopyright':_0x5b6e7a(0x1cd),'localeName':this[_0x5b6e7a(0x1d2)][_0x5b6e7a(0x189)][_0x5b6e7a(0x1c2)],'externalSourcesEmbedCss':_0x5b6e7a(0x180)}),this[_0x5b6e7a(0x194)][_0x5b6e7a(0x192)]=_0x5ea1dd=>{const _0xd09279=_0x5b6e7a;if(_0xd09279(0x1c7)==_0x5ea1dd)return _0xd09279(0x19a);},_0x57c9cb[_0x5b6e7a(0x1d1)][_0x5b6e7a(0x17f)][_0x5b6e7a(0x181)](this[_0x5b6e7a(0x194)]);}[_0x4bb3df(0x1ba)](){const _0x7cdab4=_0x4bb3df;this[_0x7cdab4(0x17d)]=_0x2387d2(_0x57c9cb[_0x7cdab4(0x1d1)],_0x7cdab4(0x1b0),{'ctx-name':_0x7cdab4(0x183)}),_0x57c9cb[_0x7cdab4(0x1d1)][_0x7cdab4(0x17f)][_0x7cdab4(0x181)](this[_0x7cdab4(0x17d)]);}[_0x4bb3df(0x182)](){const _0x326568=_0x4bb3df,_0x31e506=this[_0x326568(0x1d2)][_0x326568(0x19b)][_0x326568(0x1c3)](_0x326568(0x1b3));_0x31e506&&this[_0x326568(0x1b8)](_0x31e506,_0x326568(0x195),()=>{const _0x37985c=_0x326568,_0x434175=this[_0x37985c(0x1d2)][_0x37985c(0x1b6)][_0x37985c(0x1d1)][_0x37985c(0x1be)][_0x37985c(0x1a1)]();_0x434175&&_0x434175[_0x37985c(0x1b4)](_0x37985c(0x188))&&this[_0x37985c(0x1d2)][_0x37985c(0x1aa)][_0x37985c(0x18c)][_0x37985c(0x191)](_0x37985c(0x187),()=>{const _0x33c231=_0x37985c;_0x35eca9(this[_0x33c231(0x1d2)],_0x434175);});});const _0x820574=this[_0x326568(0x1d2)][_0x326568(0x19b)][_0x326568(0x1c3)](_0x326568(0x1b7));_0x820574&&this[_0x326568(0x1b8)](_0x820574,_0x326568(0x195),()=>{const _0x20bbde=_0x326568,_0x35a69f=this[_0x20bbde(0x1d2)][_0x20bbde(0x1b6)][_0x20bbde(0x1d1)][_0x20bbde(0x1be)][_0x20bbde(0x1a1)]();_0x35a69f&&_0x35a69f[_0x20bbde(0x1b4)](_0x20bbde(0x188))&&this[_0x20bbde(0x1d2)][_0x20bbde(0x1aa)][_0x20bbde(0x18c)][_0x20bbde(0x191)](_0x20bbde(0x187),()=>{const _0x12a403=_0x20bbde;_0x35eca9(this[_0x12a403(0x1d2)],_0x35a69f);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x41e13e,ObservableMixin as _0x1f631a}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5569b3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x9e0c06}from'ckeditor5/src/icons.js';import _0x2c60cc from'./uploadcareimageeditformview.js';import _0x233b9e from'../../utils/uploadutils.js';import{getImageUrls as _0x5166f4,getImageDimension as _0x1e2d0c}from'../../utils/editingutils.js';import{isAncestor as _0x329fa9}from'../../utils/isancestor.js';export default class A extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1f631a(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2a33db,_0x3be1f4,_0x59b334){super(),this['_editor']=_0x2a33db,this['_dialog']=_0x3be1f4,this['_imageElement']=_0x59b334,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 _0x237c83=this['_imageElement'],_0x612156=_0x237c83['getAttribute']('uploadcareImageId'),_0x59073c=_0x237c83['getAttribute']('src');if(_0x612156)await this['_loadImageInfo'](_0x612156,_0x59073c);else{if(this['_imageCache']['has'](_0x59073c)){const _0x5b5975=this['_imageCache']['get'](_0x59073c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5b5975['url'],this['imageDimension']=_0x5b5975['dimension'],this['imageId']=_0x5b5975['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x696112}=this['_editor'],t=_0x696112['t'],_0x319b30=new _0x2c60cc(_0x696112,this['imageStatus'],this['_attributes']);_0x319b30['bind']('status')['to'](this,'imageStatus'),_0x319b30['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x319b30['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x319b30['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x319b30,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x9e0c06,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x319b30,'position':_0x5569b3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x319b30['focus']();},'onHide':()=>{_0x319b30['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x22b572=>!_0x329fa9(_0x22b572,_0x319b30['element'])}});}['_loadImageInfo'](_0x2e1cad,_0x19632c){return _0x233b9e['getInfo'](_0x2e1cad,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3f9763=>{const {width:_0xa414d0,height:_0x1e6f80}=_0x3f9763['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x19632c,this['imageDimension']={'width':_0xa414d0,'height':_0x1e6f80},this['imageId']=_0x2e1cad;})['catch'](_0x561d80=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x561d80['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2ebb08,_0x32a440){return this['_getImageAsFile'](_0x2ebb08)['then'](_0x22af8f=>_0x233b9e['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x32a440['signal'],'file':_0x22af8f,'onProgress':_0x47cc86=>{_0x47cc86&&_0x47cc86['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x47cc86['value']));}}))['then'](_0x53242f=>{const {width:_0x5b809b,height:_0x2468cf}=_0x53242f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53242f['cdnUrl'],this['imageDimension']={'width':_0x5b809b,'height':_0x2468cf},this['imageId']=_0x53242f['uuid'],this['imageUploadProgress']=null;const _0x3f3f74=_0x2ebb08['getAttribute']('src');this['_imageCache']['set'](_0x3f3f74,{'id':_0x53242f['uuid'],'url':_0x53242f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x45e8c7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x45e8c7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x360550,_0x4cba69){_0x360550['on']('apply',(_0x4568c9,_0x1e32b8)=>{this['_replaceImage'](_0x4cba69,_0x1e32b8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x360550['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x360550['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x22f6a2,_0x573f32,_0x2d893f){const _0x26669d=this['_editor'],{width:_0x1ecb16,height:_0x545ef8}=_0x1e2d0c(_0x573f32,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1e4c8a,imageSources:_0x5cdeff}=_0x5166f4(_0x573f32,_0x1ecb16);_0x26669d['model']['change'](_0x7d0360=>{if('$graveyard'===_0x22f6a2['root']['rootName']){_0x26669d['execute']('insertImage',{'imageType':_0x22f6a2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x22f6a2['getAttributes']()),'uploadcareImageId':_0x2d893f,'src':_0x1e4c8a,'sources':_0x5cdeff,'width':_0x1ecb16,'height':_0x545ef8}});const _0x33f8ec=_0x22f6a2['getChildren']();_0x22f6a2=_0x26669d['model']['document']['selection']['getSelectedElement']();for(const _0x4109aa of _0x33f8ec)_0x7d0360['append'](_0x7d0360['cloneElement'](_0x4109aa),_0x22f6a2);}else _0x7d0360['setSelection'](_0x22f6a2,'on'),_0x26669d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x22f6a2['getAttributes']()),'uploadcareImageId':_0x2d893f,'src':_0x1e4c8a,'sources':_0x5cdeff,'width':_0x1ecb16,'height':_0x545ef8},_0x22f6a2);_0x7d0360['setSelection'](_0x22f6a2,'on');});}async['_getImageAsFile'](_0x48838d){const _0x502b22=_0x41e13e['window'],_0x56b43c=_0x41e13e['document']['location']['href'],_0x5b0312=new _0x502b22['URL'](_0x48838d['getAttribute']('src'),_0x56b43c);if('data:'===_0x5b0312['protocol']){const _0x2b3368=_0x5b0312['href']['split'](','),_0x2b3b23=_0x2b3368[0x0]['match'](/:(.*?);/)[0x1],_0x15c826=_0x2b3b23['split']('/')[0x1],_0x3a7c6c=_0x502b22['atob'](_0x2b3368[_0x2b3368['length']-0x1]);let _0x584cc6=_0x3a7c6c['length'];const _0x1ff8d9=new _0x502b22['Uint8Array'](_0x584cc6);for(;_0x584cc6--;)_0x1ff8d9[_0x584cc6]=_0x3a7c6c['charCodeAt'](_0x584cc6);return new _0x502b22['File']([_0x1ff8d9],'image.'+_0x15c826,{'type':_0x2b3b23});}const _0x497880=_0x5b0312['href']['split']('/'),_0x5dae05=_0x497880[_0x497880['length']-0x1],_0x14d993=_0x5dae05['split']('.')[0x1];return _0x502b22['fetch'](_0x5b0312['href'])['then'](_0x4e0e72=>_0x4e0e72['clone']()['blob']())['then'](_0x3990db=>new _0x502b22['File']([_0x3990db],_0x5dae05,{'type':'image/'+_0x14d993}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x474a(_0x73d2f2,_0x2f6ab7){const _0x4d3f6f=_0x4d3f();return _0x474a=function(_0x474ae2,_0x2261ed){_0x474ae2=_0x474ae2-0x105;let _0x56f453=_0x4d3f6f[_0x474ae2];return _0x56f453;},_0x474a(_0x73d2f2,_0x2f6ab7);}(function(_0x21d655,_0x1d0149){const _0x41f959=_0x474a,_0x5def0a=_0x21d655();while(!![]){try{const _0x359997=-parseInt(_0x41f959(0x114))/0x1+-parseInt(_0x41f959(0x112))/0x2+-parseInt(_0x41f959(0x10c))/0x3*(parseInt(_0x41f959(0x10d))/0x4)+parseInt(_0x41f959(0x116))/0x5*(parseInt(_0x41f959(0x107))/0x6)+parseInt(_0x41f959(0x105))/0x7+-parseInt(_0x41f959(0x10a))/0x8*(parseInt(_0x41f959(0x10f))/0x9)+parseInt(_0x41f959(0x10e))/0xa;if(_0x359997===_0x1d0149)break;else _0x5def0a['push'](_0x5def0a['shift']());}catch(_0x140886){_0x5def0a['push'](_0x5def0a['shift']());}}}(_0x4d3f,0x5445c));function _0x4d3f(){const _0x49de10=['bindTemplate','image-edit','136cCGzRo','setTemplate','3psoCoY','90152pAuhMR','8571340HSVnfp','157851UPLlnd','uc-cloud-image-editor','ck-uploadcare-theme','864184McJCDi','set','222837ESVDHf','imageSrc','753295wyzesf','81893FssCjk','uc-light','18xFCYtF'];_0x4d3f=function(){return _0x49de10;};return _0x4d3f();}import{View as _0x98ff0b}from'ckeditor5/src/ui.js';export default class tt extends _0x98ff0b{constructor(_0x230648,_0x2284cf){const _0x349453=_0x474a;super(_0x230648);const _0x1ec448=this[_0x349453(0x108)];this[_0x349453(0x113)](_0x349453(0x115),''),this[_0x349453(0x10b)]({'tag':_0x349453(0x110),'attributes':{..._0x2284cf,'class':[_0x349453(0x106),_0x349453(0x111)],'ctx-name':_0x349453(0x109),'cdn-url':_0x1ec448['to'](_0x349453(0x115))}});}}
|
|
@@ -2,11 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
|
|
7
|
-
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
9
5
|
import { View } from 'ckeditor5/src/ui.js';
|
|
6
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
10
7
|
import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
|
|
11
8
|
/**
|
|
12
9
|
* A class representing the form error view of the Uploadcare image edit feature.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x14457d,IconView as at,View as _0x4493b6}from'ckeditor5/src/ui.js';export default class rt extends _0x4493b6{constructor(_0x19e7e5){super(_0x19e7e5);const t=_0x19e7e5['t'];this['set']('errorType',null);const _0x405fb6=new _0x14457d(_0x19e7e5);_0x405fb6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x405fb6['withText']=!0x0,_0x405fb6['class']='ck-button-action',_0x405fb6['on']('execute',()=>{this['fire']('retry');}),_0x405fb6['bind']('isVisible')['to'](this,'errorType',_0x587fb1=>'NotFound'!==_0x587fb1);const _0x1553d2=new at();_0x1553d2['content']=et,_0x1553d2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x167249=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':[_0x1553d2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x167249['to']('errorType',_0x269776=>t('NotFound'!==_0x269776?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x405fb6]},{'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 _0x2ef177,View as _0x2c5f21}from'ckeditor5/src/ui.js';export default class ta extends _0x2c5f21{constructor(_0x15a3be){super(_0x15a3be);const t=_0x15a3be['t'],_0x4c5a43=this['bindTemplate'],_0x1b38cb=new _0x2ef177();_0x1b38cb['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':[_0x1b38cb,{'text':_0x4c5a43['to']('imageUploadProgress',_0x12dafc=>t('Loading\x20image...')+'\x20('+(_0x12dafc||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31e509=_0x4653;(function(_0x285c93,_0x4e45db){const _0x76ae52=_0x4653,_0x2c1314=_0x285c93();while(!![]){try{const _0x12f165=parseInt(_0x76ae52(0xd7))/0x1*(-parseInt(_0x76ae52(0xde))/0x2)+-parseInt(_0x76ae52(0xe4))/0x3*(-parseInt(_0x76ae52(0xf7))/0x4)+parseInt(_0x76ae52(0x104))/0x5+-parseInt(_0x76ae52(0xef))/0x6*(parseInt(_0x76ae52(0xec))/0x7)+-parseInt(_0x76ae52(0xfe))/0x8+parseInt(_0x76ae52(0xee))/0x9*(-parseInt(_0x76ae52(0xd2))/0xa)+parseInt(_0x76ae52(0xdc))/0xb;if(_0x12f165===_0x4e45db)break;else _0x2c1314['push'](_0x2c1314['shift']());}catch(_0x40a0c5){_0x2c1314['push'](_0x2c1314['shift']());}}}(_0x11b0,0xac910));function _0x11b0(){const _0x45959a=['_waitForImageEditorComponent','ck-uploadcare-form','querySelector','5868544yWgmvJ','_addErrorViewListeners','22wfgilB','status','nodeName','element','uploading','retry','3ftkmPW','cdnUrl','setTemplate','disconnect','_setView','target','set','add','21cIlXpJ','_loadingView','198raoIZp','622938sMoaDD','fire','_errorView','_items','addEventListener','once','length','focus','4507324DpoeFi','ck-reset_all-excluded','filter','detail','clear','error','createCollection','1400664KbyRow','addMany','render','addedNodes','_editingView','cancel','618690CZnBIX','div','_addUploadcareImageEditorListeners','getFocusableElement','_focusableView','ready','228640YDfAJh','uc-cloud-image-editor','observe','change:status','toLowerCase','7971AeYbxM','apply'];_0x11b0=function(){return _0x45959a;};return _0x11b0();}function _0x4653(_0x408099,_0x47353e){const _0x11b01b=_0x11b0();return _0x4653=function(_0x4653a4,_0x41b9db){_0x4653a4=_0x4653a4-0xce;let _0x1b2bfd=_0x11b01b[_0x4653a4];return _0x1b2bfd;},_0x4653(_0x408099,_0x47353e);}import{View as _0x3ac29d}from'ckeditor5/src/ui.js';import _0x15c9d2 from'./uploadcareimageeditformloadingview.js';import _0x4dc12c from'./uploadcareimageeditformerrorview.js';import _0x5c9389 from'./uploadcareimageeditformeditingview.js';import _0x16b7ba from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x16b7ba{[_0x31e509(0xf2)];[_0x31e509(0xed)];[_0x31e509(0xf1)];[_0x31e509(0x102)];[_0x31e509(0xd0)];constructor(_0x3b61a7,_0x3240b2,_0x2cdda0){const _0x4603f8=_0x31e509;super(_0x3b61a7),this[_0x4603f8(0xf2)]=this[_0x4603f8(0xfd)](),this[_0x4603f8(0xed)]=new _0x15c9d2(_0x3b61a7),this[_0x4603f8(0xf1)]=new _0x4dc12c(_0x3b61a7),this[_0x4603f8(0x102)]=new _0x5c9389(_0x3b61a7,_0x2cdda0),this[_0x4603f8(0xd0)]=new _0x3ac29d(_0x3b61a7),this[_0x4603f8(0xd0)][_0x4603f8(0xe6)](this[_0x4603f8(0xcf)]()),this[_0x4603f8(0xea)](_0x4603f8(0xdf),_0x3240b2),this[_0x4603f8(0xe6)]({'tag':_0x4603f8(0x105),'attributes':{'class':['ck',_0x4603f8(0xf8),_0x4603f8(0xda)],'tabindex':'-1'},'children':this[_0x4603f8(0xf2)]}),this[_0x4603f8(0xe8)](),this[_0x4603f8(0xf4)](_0x4603f8(0x100),()=>{const _0x3dd975=_0x4603f8;this[_0x3dd975(0xd9)](this[_0x3dd975(0xe1)],_0x442640=>{const _0x4fd508=_0x3dd975;this[_0x4fd508(0xce)](_0x442640);});}),this['on'](_0x4603f8(0xd5),()=>{const _0x25719b=_0x4603f8;this[_0x25719b(0xe8)]();}),this[_0x4603f8(0xdd)]();}[_0x31e509(0xf6)](){const _0x4ca10b=_0x31e509;this[_0x4ca10b(0xe1)][_0x4ca10b(0xf6)]();}[_0x31e509(0xe8)](){const _0x2b3c0a=_0x31e509;switch(this[_0x2b3c0a(0xf2)][_0x2b3c0a(0xfb)](),this[_0x2b3c0a(0xdf)]){case _0x2b3c0a(0xe2):this[_0x2b3c0a(0xf2)][_0x2b3c0a(0xeb)](this[_0x2b3c0a(0xed)]);break;case _0x2b3c0a(0xfc):this[_0x2b3c0a(0xf2)][_0x2b3c0a(0xeb)](this[_0x2b3c0a(0xf1)]);break;case _0x2b3c0a(0xd1):this[_0x2b3c0a(0xf2)][_0x2b3c0a(0xff)]([this[_0x2b3c0a(0x102)],this[_0x2b3c0a(0xd0)]]);}}[_0x31e509(0xd9)](_0x565958,_0x4162c9){const _0x386aaf=_0x31e509,_0x41e8ec=_0x386aaf(0xd3),_0x188f63=_0x565958[_0x386aaf(0xdb)](_0x41e8ec);if(_0x188f63)return _0x4162c9(_0x188f63);const _0x401c46=new MutationObserver(_0x13f5af=>{const _0x78f152=_0x386aaf,_0x3447cd=_0x13f5af[_0x78f152(0xf9)](_0x4c469c=>_0x4c469c[_0x78f152(0xe9)]===_0x565958&&_0x4c469c[_0x78f152(0x101)][_0x78f152(0xf5)]>0x0&&_0x4c469c[_0x78f152(0x101)][0x0][_0x78f152(0xe0)][_0x78f152(0xd6)]()===_0x41e8ec);_0x3447cd[_0x78f152(0xf5)]&&(_0x401c46[_0x78f152(0xe7)](),_0x4162c9(_0x3447cd[0x0][_0x78f152(0x101)][0x0]));});_0x401c46[_0x386aaf(0xd4)](_0x565958,{'childList':!0x0,'subtree':!0x0});}[_0x31e509(0xce)](_0x1fdfc4){const _0xcff01c=_0x31e509;_0x1fdfc4[_0xcff01c(0xf3)](_0xcff01c(0xd8),_0x40bfef=>{const _0x1f205b=_0xcff01c;this[_0x1f205b(0xf0)](_0x1f205b(0xd8),{'imageSrc':_0x40bfef[_0x1f205b(0xfa)][_0x1f205b(0xe5)]});}),_0x1fdfc4[_0xcff01c(0xf3)](_0xcff01c(0x103),()=>{const _0xc3b8f9=_0xcff01c;this[_0xc3b8f9(0xf0)](_0xc3b8f9(0x103));});}[_0x31e509(0xdd)](){const _0x537acb=_0x31e509;this[_0x537acb(0xf1)]['on'](_0x537acb(0xe3),()=>{const _0x5058fe=_0x537acb;this[_0x5058fe(0xf0)](_0x5058fe(0xe3));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3bde14=_0x30a7;function _0x46f8(){const _0x27bb9e=['3725624RjuHLO','unbind','isActive','config','getSelectedElement','editor','model','element','isEnabled','99gtDgmj','set','plugins','get','_isEditable','bind','1141791ImtOEi','requires','6GNxTws','imageInline','1777314wDPlQO','uploadcare.allowExternalImagesEditing','refresh','6593512LwKYDq','document','1444778lWTGmm','imageBlock','execute','8810115omckAm','selection','5186871ekyHiK','imageEditController'];_0x46f8=function(){return _0x27bb9e;};return _0x46f8();}(function(_0x265933,_0x4a2f68){const _0x3fcb16=_0x30a7,_0x5844eb=_0x265933();while(!![]){try{const _0x3548d2=-parseInt(_0x3fcb16(0x16f))/0x1+-parseInt(_0x3fcb16(0x174))/0x2+-parseInt(_0x3fcb16(0x15a))/0x3+parseInt(_0x3fcb16(0x172))/0x4+parseInt(_0x3fcb16(0x177))/0x5*(-parseInt(_0x3fcb16(0x16d))/0x6)+parseInt(_0x3fcb16(0x16b))/0x7+-parseInt(_0x3fcb16(0x15c))/0x8*(-parseInt(_0x3fcb16(0x165))/0x9);if(_0x3548d2===_0x4a2f68)break;else _0x5844eb['push'](_0x5844eb['shift']());}catch(_0x5e0098){_0x5844eb['push'](_0x5844eb['shift']());}}}(_0x46f8,0xe65b5));function _0x30a7(_0x4d7a23,_0x2262e5){const _0x46f813=_0x46f8();return _0x30a7=function(_0x30a73c,_0xc58734){_0x30a73c=_0x30a73c-0x159;let _0x5055bc=_0x46f813[_0x30a73c];return _0x5055bc;},_0x30a7(_0x4d7a23,_0x2262e5);}import{Command as _0x239e0a}from'ckeditor5/src/core.js';import{Dialog as _0x3d63dd}from'ckeditor5/src/ui.js';import _0x1272c5 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3c9e04}from'../utils/editingutils.js';export default class z extends _0x239e0a{[_0x3bde14(0x15b)];static get[_0x3bde14(0x16c)](){return[_0x3d63dd];}[_0x3bde14(0x169)];constructor(_0x3c2e40){const _0x30e326=_0x3bde14;super(_0x3c2e40),this[_0x30e326(0x15b)]=void 0x0,this[_0x30e326(0x169)]=_0x3c9e04(_0x3c2e40[_0x30e326(0x15f)][_0x30e326(0x168)](_0x30e326(0x170))||[]),this[_0x30e326(0x166)]({'isActive':!0x1});}[_0x3bde14(0x171)](){const _0x2c76f8=_0x3bde14,_0x1be5cc=this[_0x2c76f8(0x161)][_0x2c76f8(0x162)][_0x2c76f8(0x173)][_0x2c76f8(0x159)][_0x2c76f8(0x160)]();this[_0x2c76f8(0x164)]=this[_0x2c76f8(0x169)](_0x1be5cc);}[_0x3bde14(0x176)](){const _0x1c0dc3=_0x3bde14;this[_0x1c0dc3(0x15b)]&&(this[_0x1c0dc3(0x15d)](_0x1c0dc3(0x15e)),this[_0x1c0dc3(0x15b)]=void 0x0);const _0x499a6d=this[_0x1c0dc3(0x161)][_0x1c0dc3(0x162)][_0x1c0dc3(0x173)][_0x1c0dc3(0x159)][_0x1c0dc3(0x160)]();_0x499a6d&&(_0x499a6d['is'](_0x1c0dc3(0x163),_0x1c0dc3(0x175))||_0x499a6d['is'](_0x1c0dc3(0x163),_0x1c0dc3(0x16e)))&&(this[_0x1c0dc3(0x15b)]=new _0x1272c5(this[_0x1c0dc3(0x161)],this[_0x1c0dc3(0x161)][_0x1c0dc3(0x167)][_0x1c0dc3(0x168)](_0x3d63dd),_0x499a6d),this[_0x1c0dc3(0x16a)](_0x1c0dc3(0x15e))['to'](this[_0x1c0dc3(0x15b)],_0x1c0dc3(0x15e)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50597d=_0x7cd0;(function(_0x531708,_0x2264a8){const _0xd9907=_0x7cd0,_0x1b97eb=_0x531708();while(!![]){try{const _0x4c4fcf=parseInt(_0xd9907(0x1b7))/0x1*(-parseInt(_0xd9907(0x1ba))/0x2)+-parseInt(_0xd9907(0x1c1))/0x3+-parseInt(_0xd9907(0x1b6))/0x4*(-parseInt(_0xd9907(0x1ae))/0x5)+-parseInt(_0xd9907(0x1c2))/0x6+-parseInt(_0xd9907(0x1b5))/0x7+-parseInt(_0xd9907(0x1b3))/0x8*(parseInt(_0xd9907(0x1bf))/0x9)+parseInt(_0xd9907(0x1af))/0xa;if(_0x4c4fcf===_0x2264a8)break;else _0x1b97eb['push'](_0x1b97eb['shift']());}catch(_0x23d9d3){_0x1b97eb['push'](_0x1b97eb['shift']());}}}(_0x1929,0x8e795));import{Plugin as _0x5b5563}from'ckeditor5/src/core.js';function _0x7cd0(_0x474de3,_0x56bf14){const _0x19292b=_0x1929();return _0x7cd0=function(_0x7cd007,_0x8f4420){_0x7cd007=_0x7cd007-0x1ae;let _0xb43e73=_0x19292b[_0x7cd007];return _0xb43e73;},_0x7cd0(_0x474de3,_0x56bf14);}import{Notification as _0x1ba2e4}from'ckeditor5/src/ui.js';import _0x5288f4 from'./uploadcareimageeditcommand.js';function _0x1929(){const _0x19287c=['UploadcareImageEditEditing','ImageUtils','isOfficialPlugin','isPremiumPlugin','7299EogSCf','ImageEditing','3376641MDmyMW','2989638AFAOAh','uploadcareImageReplace','954275ganohq','43887570FTFRdf','requires','pluginName','commands','10952xLTojH','add','7159257RaaypD','8PWAtFn','53758YkIAKb','uploadcareImageEdit','init','16FkdRHW'];_0x1929=function(){return _0x19287c;};return _0x1929();}import _0x5efa9d from'./uploadcareimagereplacecommand.js';import _0xf775e6 from'../uploadcareediting.js';export default class g extends _0x5b5563{static get[_0x50597d(0x1b1)](){const _0x540c36=_0x50597d;return _0x540c36(0x1bb);}static get[_0x50597d(0x1b0)](){const _0x3256c6=_0x50597d;return[_0xf775e6,_0x1ba2e4,_0x3256c6(0x1bc),_0x3256c6(0x1c0)];}static get[_0x50597d(0x1bd)](){return!0x0;}static get[_0x50597d(0x1be)](){return!0x0;}[_0x50597d(0x1b9)](){const _0x395a15=_0x50597d,{editor:_0x43d84d}=this;_0x43d84d[_0x395a15(0x1b2)][_0x395a15(0x1b4)](_0x395a15(0x1b8),new _0x5288f4(_0x43d84d)),_0x43d84d[_0x395a15(0x1b2)][_0x395a15(0x1b4)](_0x395a15(0x1c3),new _0x5efa9d(_0x43d84d));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x19c33b}from'ckeditor5/src/core.js';import{ButtonView as _0x30b9ee}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x483276}from'ckeditor5/src/icons.js';import{createElement as _0x46b72e}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 _0x19c33b{['_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 _0x545bd4=this['editor'];_0x545bd4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x50afff=>{const _0x1c573b=_0x545bd4['commands']['get']('uploadcareImageEdit'),_0x5106b8=new _0x30b9ee(_0x50afff),t=_0x50afff['t'];return _0x5106b8['set']({'icon':_0x483276,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5106b8['bind']('isEnabled')['to'](_0x1c573b),_0x5106b8['bind']('isOn')['to'](_0x1c573b,'isActive'),this['listenTo'](_0x5106b8,'execute',()=>{_0x545bd4['execute']('uploadcareImageEdit'),_0x545bd4['editing']['view']['focus']();}),_0x5106b8;}),this['_initConfig']();}['_initConfig'](){const _0x98dec=_0x46b72e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x98dec),this['listenTo'](this['editor'],'destroy',()=>{_0x98dec['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7a9256=_0x3dc6;function _0x4446(){const _0x2f0d34=['execute','selection','change','element','isEnabled','sizes','removeAttribute','document','205ogHxlQ','setAttributes','getSelectedElement','33jLPsbe','editor','1090634JxEBgk','206792HwVLgo','7ndKNVi','refresh','imageBlock','48GmuJJM','3167512sKPoHj','130554fsLtWA','2926503yNkXGy','imageInline','2zOoVUU','22764180haXLbb','model','srcset','2907010UWHJsL'];_0x4446=function(){return _0x2f0d34;};return _0x4446();}(function(_0x1153de,_0x1bbb02){const _0x39bb48=_0x3dc6,_0x29efd7=_0x1153de();while(!![]){try{const _0x43e990=parseInt(_0x39bb48(0xbc))/0x1*(-parseInt(_0x39bb48(0xb2))/0x2)+parseInt(_0x39bb48(0xb7))/0x3*(-parseInt(_0x39bb48(0xb3))/0x4)+parseInt(_0x39bb48(0xc9))/0x5*(parseInt(_0x39bb48(0xb9))/0x6)+parseInt(_0x39bb48(0xb4))/0x7*(parseInt(_0x39bb48(0xb8))/0x8)+parseInt(_0x39bb48(0xba))/0x9+-parseInt(_0x39bb48(0xc0))/0xa*(parseInt(_0x39bb48(0xcc))/0xb)+parseInt(_0x39bb48(0xbd))/0xc;if(_0x43e990===_0x1bbb02)break;else _0x29efd7['push'](_0x29efd7['shift']());}catch(_0x36c8d6){_0x29efd7['push'](_0x29efd7['shift']());}}}(_0x4446,0xafdcf));function _0x3dc6(_0x5162ce,_0x5131c5){const _0x44462d=_0x4446();return _0x3dc6=function(_0x3dc62c,_0x541f9d){_0x3dc62c=_0x3dc62c-0xb2;let _0x5392b0=_0x44462d[_0x3dc62c];return _0x5392b0;},_0x3dc6(_0x5162ce,_0x5131c5);}import{Command as _0x35456d}from'ckeditor5/src/core.js';export default class O extends _0x35456d{[_0x7a9256(0xb5)](){const _0x49cb3f=_0x7a9256,_0x5c9844=this[_0x49cb3f(0xcd)][_0x49cb3f(0xbe)][_0x49cb3f(0xc8)][_0x49cb3f(0xc2)][_0x49cb3f(0xcb)]();this[_0x49cb3f(0xc5)]=Boolean(_0x5c9844&&(_0x5c9844['is'](_0x49cb3f(0xc4),_0x49cb3f(0xb6))||_0x5c9844['is'](_0x49cb3f(0xc4),_0x49cb3f(0xbb))));}[_0x7a9256(0xc1)](_0x578983){const _0x341a74=_0x7a9256,_0x42dadd=this[_0x341a74(0xcd)][_0x341a74(0xbe)][_0x341a74(0xc8)][_0x341a74(0xc2)][_0x341a74(0xcb)]();this[_0x341a74(0xcd)][_0x341a74(0xbe)][_0x341a74(0xc3)](_0xe79183=>{const _0x483d93=_0x341a74;_0xe79183[_0x483d93(0xca)](_0x578983,_0x42dadd),_0xe79183[_0x483d93(0xc7)](_0x483d93(0xbf),_0x42dadd),_0xe79183[_0x483d93(0xc7)](_0x483d93(0xc6),_0x42dadd);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x157729=_0x12fa;(function(_0x5704e7,_0x5d0114){var _0x301b08=_0x12fa,_0x2a7e9c=_0x5704e7();while(!![]){try{var _0x5c775a=-parseInt(_0x301b08(0xb7))/0x1+parseInt(_0x301b08(0xbd))/0x2*(parseInt(_0x301b08(0xb5))/0x3)+-parseInt(_0x301b08(0xbc))/0x4*(parseInt(_0x301b08(0xb2))/0x5)+parseInt(_0x301b08(0xb9))/0x6+parseInt(_0x301b08(0xb8))/0x7+-parseInt(_0x301b08(0xb3))/0x8+-parseInt(_0x301b08(0xb6))/0x9;if(_0x5c775a===_0x5d0114)break;else _0x2a7e9c['push'](_0x2a7e9c['shift']());}catch(_0x2aa2be){_0x2a7e9c['push'](_0x2a7e9c['shift']());}}}(_0x2eb3,0x333e3));import{Plugin as _0x48ecfc}from'ckeditor5/src/core.js';function _0x12fa(_0x1fd87d,_0x1d6af4){var _0x2eb3fc=_0x2eb3();return _0x12fa=function(_0x12fa49,_0x2af05c){_0x12fa49=_0x12fa49-0xb2;var _0x27b89e=_0x2eb3fc[_0x12fa49];return _0x27b89e;},_0x12fa(_0x1fd87d,_0x1d6af4);}import _0x3f7284 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2eb3(){var _0x4b1dad=['requires','4QSvuxV','54qfGXCi','isOfficialPlugin','pluginName','730580HJniZG','2710216HibtJm','UploadcareImageEdit','1182HHZvCC','676035KFxFlt','13258wbnzWK','2475368Slqzgz','2513370XEpRAm','isPremiumPlugin'];_0x2eb3=function(){return _0x4b1dad;};return _0x2eb3();}import _0x4f9309 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x48ecfc{static get[_0x157729(0xbf)](){var _0x179968=_0x157729;return _0x179968(0xb4);}static get[_0x157729(0xbb)](){return[_0x3f7284,_0x4f9309];}static get[_0x157729(0xbe)](){return!0x0;}static get[_0x157729(0xba)](){return!0x0;}}
|