@ckeditor/ckeditor5-uploadcare 47.1.0 → 47.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.d.ts +54 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
|
@@ -8,6 +8,16 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { ArrayOrItem } from 'ckeditor5/src/utils.js';
|
|
10
10
|
import type { ConfigType } from '@uploadcare/file-uploader';
|
|
11
|
+
/**
|
|
12
|
+
* Locale definition type matching Uploadcare `LocaleDefinition` type.
|
|
13
|
+
* A plain object with translation keys and values.
|
|
14
|
+
*/
|
|
15
|
+
export type UploadcareLocaleDefinition = Record<string, string>;
|
|
16
|
+
/**
|
|
17
|
+
* Locale definition resolver type matching Uploadcare `LocaleDefinitionResolver` type.
|
|
18
|
+
* A function that returns a Promise with `LocaleDefinition`.
|
|
19
|
+
*/
|
|
20
|
+
export type UploadcareLocaleDefinitionResolver = () => Promise<UploadcareLocaleDefinition>;
|
|
11
21
|
/**
|
|
12
22
|
* The configuration of the {@link module:uploadcare/uploadcare~Uploadcare Uploadcare feature}.
|
|
13
23
|
*
|
|
@@ -71,7 +81,7 @@ export interface UploadcareConfig {
|
|
|
71
81
|
* Additionally, below options are not supported:
|
|
72
82
|
* * `imgOnly` - It's `true` by default.
|
|
73
83
|
* * `removeCopyright` - It's `true` by default.
|
|
74
|
-
* * `localeName` -
|
|
84
|
+
* * `localeName` - Custom translations can be provided via the `locale` config option.
|
|
75
85
|
* * `confirmUpload` - It's `false` by default.
|
|
76
86
|
* * `cameraMirror` - The `camera` source is not supported.
|
|
77
87
|
* * `cameraCapture` - The `camera` source is not supported.
|
|
@@ -106,6 +116,49 @@ export interface UploadcareConfig {
|
|
|
106
116
|
* @default []
|
|
107
117
|
*/
|
|
108
118
|
allowExternalImagesEditing?: ArrayOrItem<RegExp | 'origin' | ((src: string) => boolean)>;
|
|
119
|
+
/**
|
|
120
|
+
* Locale configuration for Uploadcare components.
|
|
121
|
+
*
|
|
122
|
+
* The plugin automatically uses the editor's language (`editor.locale.contentLanguage`) as the locale name.
|
|
123
|
+
* If the editor language is different from 'en', you need to provide translations for that language.
|
|
124
|
+
* This property is used only to supply translations that will be used by Uploadcare components.
|
|
125
|
+
*
|
|
126
|
+
* For information on how to configure the editor's language, see the
|
|
127
|
+
* [CKEditor 5 localization documentation](https://ckeditor.com/docs/ckeditor5/latest/framework/deep-dive/ui/localization.html).
|
|
128
|
+
*
|
|
129
|
+
* Example with `UploadcareLocaleDefinition`:
|
|
130
|
+
* ```ts
|
|
131
|
+
* uploadcare: {
|
|
132
|
+
* pubkey: 'YOUR_PUBLIC_KEY',
|
|
133
|
+
* locale: {
|
|
134
|
+
* 'locale-id': 'de',
|
|
135
|
+
* 'social-source-lang': 'de',
|
|
136
|
+
* 'upload-file': 'Datei hochladen',
|
|
137
|
+
* 'file__one': 'Datei',
|
|
138
|
+
* 'file__other': 'Dateien',
|
|
139
|
+
* 'header-uploading': 'Lade {{count}} {{plural:file(count)}} hoch'
|
|
140
|
+
* }
|
|
141
|
+
* }
|
|
142
|
+
* ```
|
|
143
|
+
*
|
|
144
|
+
* Example with `UploadcareLocaleDefinitionResolver` (for CDN loading):
|
|
145
|
+
* ```ts
|
|
146
|
+
* uploadcare: {
|
|
147
|
+
* pubkey: 'YOUR_PUBLIC_KEY',
|
|
148
|
+
* locale: () => import('https://cdn.jsdelivr.net/npm/@uploadcare/file-uploader@v1/locales/file-uploader/de.js')
|
|
149
|
+
* .then( module => module.default )
|
|
150
|
+
* }
|
|
151
|
+
* ```
|
|
152
|
+
*
|
|
153
|
+
* For detailed information about locale definition format, available languages, and CDN translations,
|
|
154
|
+
* see the [Uploadcare localization documentation](https://uploadcare.com/docs/file-uploader/localization/).
|
|
155
|
+
*
|
|
156
|
+
* When translations are provided, they will be automatically applied to the Uploadcare
|
|
157
|
+
* components using `UC.defineLocale()` with the editor's language as the locale name.
|
|
158
|
+
*
|
|
159
|
+
* @default undefined
|
|
160
|
+
*/
|
|
161
|
+
locale?: UploadcareLocaleDefinition | UploadcareLocaleDefinitionResolver;
|
|
109
162
|
}
|
|
110
163
|
/**
|
|
111
164
|
* Configuration interface for the Uploadcare File Uploader component.
|
package/src/uploadcareconfig.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4e12(_0x32d70f,_0x339257){var _0x3a6e92=_0x3a6e();return _0x4e12=function(_0x4e12b7,_0x103f55){_0x4e12b7=_0x4e12b7-0xf8;var _0x26b339=_0x3a6e92[_0x4e12b7];return _0x26b339;},_0x4e12(_0x32d70f,_0x339257);}(function(_0xbba3de,_0x37be6a){var _0x13dddf=_0x4e12,_0x20feb2=_0xbba3de();while(!![]){try{var _0x37404e=parseInt(_0x13dddf(0x108))/0x1*(parseInt(_0x13dddf(0x10e))/0x2)+parseInt(_0x13dddf(0x10a))/0x3*(-parseInt(_0x13dddf(0xfa))/0x4)+parseInt(_0x13dddf(0x111))/0x5*(-parseInt(_0x13dddf(0xff))/0x6)+-parseInt(_0x13dddf(0xfc))/0x7*(-parseInt(_0x13dddf(0xfe))/0x8)+-parseInt(_0x13dddf(0x10d))/0x9+-parseInt(_0x13dddf(0x109))/0xa+parseInt(_0x13dddf(0x107))/0xb*(parseInt(_0x13dddf(0x106))/0xc);if(_0x37404e===_0x37be6a)break;else _0x20feb2['push'](_0x20feb2['shift']());}catch(_0x44c41b){_0x20feb2['push'](_0x20feb2['shift']());}}}(_0x3a6e,0x386e9));export var UploadcareSource;function _0x3a6e(){var _0x3d8985=['facebook','URL','GDrive','Facebook','onedrive','Local','11656176IxOttz','11TpFpsb','5ZCMsWI','3262320gNOXpo','3vVtuam','gphotos','gdrive','1601577gMIain','118jCpEMf','url','dropbox','2735EDhgOj','local','Dropbox','1419364yfibWl','OneDrive','714vvKJVf','GPhotos','24312LLCdgX','2100nPJYag'];_0x3a6e=function(){return _0x3d8985;};return _0x3a6e();}!function(_0xffed38){var _0x1732b4=_0x4e12;_0xffed38[_0x1732b4(0x105)]=_0x1732b4(0xf8),_0xffed38[_0x1732b4(0x101)]=_0x1732b4(0x10f),_0xffed38[_0x1732b4(0xf9)]=_0x1732b4(0x110),_0xffed38[_0x1732b4(0x102)]=_0x1732b4(0x10c),_0xffed38[_0x1732b4(0x103)]=_0x1732b4(0x100),_0xffed38[_0x1732b4(0xfd)]=_0x1732b4(0x10b),_0xffed38[_0x1732b4(0xfb)]=_0x1732b4(0x104);}(UploadcareSource||(UploadcareSource={}));
|
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1e87da=_0xd6ac;(function(_0x150ed0,_0x5c4d31){const _0x13e3ab=_0xd6ac,_0x43d531=_0x150ed0();while(!![]){try{const _0x53337a=-parseInt(_0x13e3ab(0xd5))/0x1*(parseInt(_0x13e3ab(0xbc))/0x2)+parseInt(_0x13e3ab(0xca))/0x3*(parseInt(_0x13e3ab(0xf8))/0x4)+-parseInt(_0x13e3ab(0xf9))/0x5*(parseInt(_0x13e3ab(0xe8))/0x6)+-parseInt(_0x13e3ab(0xf2))/0x7+parseInt(_0x13e3ab(0xf4))/0x8+-parseInt(_0x13e3ab(0xd6))/0x9+parseInt(_0x13e3ab(0xdc))/0xa*(parseInt(_0x13e3ab(0xc3))/0xb);if(_0x53337a===_0x5c4d31)break;else _0x43d531['push'](_0x43d531['shift']());}catch(_0x1a658c){_0x43d531['push'](_0x43d531['shift']());}}}(_0x14e6,0x47ef0));function _0xd6ac(_0x48d08b,_0x433cf5){const _0x14e64f=_0x14e6();return _0xd6ac=function(_0xd6ac64,_0x235e3e){_0xd6ac64=_0xd6ac64-0xa4;let _0x4d767f=_0x14e64f[_0xd6ac64];return _0x4d767f;},_0xd6ac(_0x48d08b,_0x433cf5);}function _0x14e6(){const _0x487acb=['editing','configElement','uploader-','598SFIPlV','4628115KHARnj','href','querySelector','UploadcareEditing','isRegistered','true','340VEbupS','schema','uploadcareImageId','config','listenTo','model','uploadcare.pubkey','fromCharCode','imageInline','_initSchema','_ctxElement','uploadcareImageReplace','1748382SnjiqY','commands','attributeToAttribute','data-uc-image-id','ctxElement','destroy','_initConfig','appendChild','selection','upcast','2358104BkfjiZ','_initImageProcessingIndicator','902328aihneW','extend','isOfficialPlugin','afterInit','32684AqsGaf','5xHGkBU','locale','insertImage','removeAttribute','uploadcare.uploader','init','editor','getSelectedElement','once','pluginName','downcast','_configElement','get','_initCtx','map','uc-upload-ctx-provider','\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','elementToAttribute','getAttribute','replaceImageSource','requires','body','isPremiumPlugin','for','372RgFCAc','iconHrefResolver','imageBlock','conversion','input[uploadcare-file-input]','closeMax','view','366641bVwMsf','_initConversion','document','PictureEditing','contentLanguage','remove','join','111zkmqbQ','cleanupImage','ucContextId','execute','uc-config','render','add','#uc-icon-arrow-down'];_0x14e6=function(){return _0x487acb;};return _0x14e6();}import{Plugin as _0x55f996}from'ckeditor5/src/core.js';import{Dialog as _0x14e42b}from'ckeditor5/src/ui.js';import{createElement as _0x526dea,global as _0x2bda02,uid as _0x19b02b}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x5e1eb4}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x46acec}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x462b0c}from'./utils/editingutils.js';export class UploadcareEditing extends _0x55f996{[_0x1e87da(0xae)]=null;[_0x1e87da(0xe6)]=null;static get[_0x1e87da(0xac)](){const _0x5c717d=_0x1e87da;return _0x5c717d(0xd9);}static get[_0x1e87da(0xb8)](){const _0x488f02=_0x1e87da;return[_0x488f02(0xc6),_0x46acec,_0x14e42b];}static get[_0x1e87da(0xf6)](){return!0x0;}static get[_0x1e87da(0xba)](){return!0x0;}[_0x1e87da(0xcc)];get[_0x1e87da(0xd3)](){const _0x48a095=_0x1e87da;return this[_0x48a095(0xae)];}get[_0x1e87da(0xec)](){const _0x1717e2=_0x1e87da;return this[_0x1717e2(0xe6)];}constructor(_0x2d97ca){const _0x173b3c=_0x1e87da;super(_0x2d97ca),this[_0x173b3c(0xcc)]=_0x19b02b();}[_0x1e87da(0xa8)](){const _0x48ad6d=_0x1e87da,_0x2a765a=this[_0x48ad6d(0xa9)];_0x2a765a[_0x48ad6d(0xe9)][_0x48ad6d(0xd0)](_0x48ad6d(0xb4),new _0x5e1eb4(_0x2a765a));}[_0x1e87da(0xf7)](){const _0x22c7ac=_0x1e87da;this[_0x22c7ac(0xe5)](),this[_0x22c7ac(0xc4)](),this[_0x22c7ac(0xee)](),this[_0x22c7ac(0xb0)](),this[_0x22c7ac(0xf3)](),this[_0x22c7ac(0xe0)](this[_0x22c7ac(0xa9)],_0x22c7ac(0xed),()=>{const _0x53712f=_0x22c7ac;this[_0x53712f(0xae)]&&(this[_0x53712f(0xae)][_0x53712f(0xc8)](),this[_0x53712f(0xae)]=null),this[_0x53712f(0xe6)]&&(this[_0x53712f(0xe6)][_0x53712f(0xc8)](),this[_0x53712f(0xe6)]=null);const _0x55b1db=_0x2bda02[_0x53712f(0xc5)][_0x53712f(0xd8)](_0x53712f(0xc0));_0x55b1db&&_0x55b1db[_0x53712f(0xc8)]();}),async function(_0x50b746){const _0x5e573b=_0x5c30a7([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x279432=0x3d8d0df,_0x53f1d4=0x3dfa687^_0x279432,_0x30776f=window[_0x5c30a7([0x44,0x61,0x74,0x65])][_0x5c30a7([0x6e,0x6f,0x77])](),_0xf4123a=_0x50b746[_0x5c30a7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4da084=new window[(_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36dac1=>{_0xf4123a[_0x5c30a7([0x6f,0x6e,0x63,0x65])](_0x5c30a7([0x72,0x65,0x61,0x64,0x79]),_0x36dac1);}),_0x435f22={[_0x5c30a7([0x6b,0x74,0x79])]:_0x5c30a7([0x45,0x43]),[_0x5c30a7([0x75,0x73,0x65])]:_0x5c30a7([0x73,0x69,0x67]),[_0x5c30a7([0x63,0x72,0x76])]:_0x5c30a7([0x50,0x2d,0x32,0x35,0x36]),[_0x5c30a7([0x78])]:_0x5c30a7([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]),[_0x5c30a7([0x79])]:_0x5c30a7([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]),[_0x5c30a7([0x61,0x6c,0x67])]:_0x5c30a7([0x45,0x53,0x32,0x35,0x36])},_0x101bb7=_0xf4123a[_0x5c30a7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c30a7([0x67,0x65,0x74])](_0x5c30a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c80c8(){let _0x47967c,_0x322c8a=null,_0x4000d8=null;try{if(_0x101bb7==_0x5c30a7([0x47,0x50,0x4c]))return _0x5c30a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47967c=_0x16832b(),!_0x47967c)return _0x5c30a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x47967c[_0x5c30a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4000d8=_0x578b2b(_0x47967c[_0x5c30a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47967c[_0x5c30a7([0x6a,0x74,0x69])])),await _0x1c63df()?_0x54753d()?_0x4d062d()?_0x5c30a7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x517e6b()?(_0x47967c[_0x5c30a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c30a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x322c8a=_0x4f28ed(_0x5c30a7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x47967c[_0x5c30a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c30a7([0x74,0x72,0x69,0x61,0x6c])&&(_0x322c8a=_0x4f28ed(_0x5c30a7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x8a6e6b()):_0x5c30a7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c30a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c30a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c30a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d062d(){const _0x12b888=[_0x5c30a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c30a7([0x74,0x72,0x69,0x61,0x6c])][_0x5c30a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47967c[_0x5c30a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x30776f/0x3e8:0xe10*_0x53f1d4;return _0x47967c[_0x5c30a7([0x65,0x78,0x70])]<_0x12b888;}function _0x54753d(){const _0x199d6b=_0x47967c[_0x5c30a7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x199d6b&&(!!_0x199d6b[_0x5c30a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c30a7([0x2a]))||!!_0x199d6b[_0x5c30a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c30a7([0x55,0x50,0x4c,0x43])));}function _0x517e6b(){const _0x35f0a8=_0xd6ac,_0x3486b6=_0x47967c[_0x5c30a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3486b6||0x0==_0x3486b6[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5bf3ec}=new URL(window[_0x5c30a7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x35f0a8(0xd7)]);if(_0x3486b6[_0x5c30a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bf3ec))return!0x0;const _0x49764c=_0x5bf3ec[_0x5c30a7([0x73,0x70,0x6c,0x69,0x74])](_0x5c30a7([0x2e]));return _0x3486b6[_0x5c30a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ec21d=>_0x3ec21d[_0x5c30a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c30a7([0x2a])))[_0x5c30a7([0x6d,0x61,0x70])](_0x45f7c4=>_0x45f7c4[_0x5c30a7([0x73,0x70,0x6c,0x69,0x74])](_0x5c30a7([0x2e])))[_0x5c30a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd57049=>_0xd57049[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x49764c[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c30a7([0x6d,0x61,0x70])](_0x2d477c=>Array(_0x49764c[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2d477c[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c30a7([0x66,0x69,0x6c,0x6c])](_0x2d477c[0x0]===_0x5c30a7([0x2a])?_0x5c30a7([0x2a]):'')[_0x5c30a7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2d477c))[_0x5c30a7([0x73,0x6f,0x6d,0x65])](_0x482d59=>_0x49764c[_0x5c30a7([0x65,0x76,0x65,0x72,0x79])]((_0x12fdb1,_0x14f83d)=>_0x482d59[_0x14f83d]===_0x12fdb1||_0x482d59[_0x14f83d]===_0x5c30a7([0x2a])));}function _0x8a6e6b(){return _0x322c8a&&_0x4000d8?new window[(_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x355311,_0x412618)=>{_0x322c8a[_0x5c30a7([0x74,0x68,0x65,0x6e])](_0x355311,_0x412618),_0x4000d8[_0x5c30a7([0x74,0x68,0x65,0x6e])](_0x15fbcd=>{_0x15fbcd!=_0x5c30a7([0x56,0x61,0x6c,0x69,0x64])&&_0x355311(_0x15fbcd);},_0x412618);}):_0x322c8a||_0x4000d8||_0x5c30a7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x578b2b(_0x39c01a,_0x472803){return new window[(_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x241d5b=>{if(_0x3a0973())return _0x241d5b(_0x5c30a7([0x56,0x61,0x6c,0x69,0x64]));_0xb9c60c(),_0xf4123a[_0x5c30a7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c30a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x71b29b=!0x1;const _0x2f7d43=_0x19b02b();function _0x99fc28(_0x179af2){return!!_0x179af2&&(typeof _0x179af2===_0x5c30a7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x179af2===_0x5c30a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x179af2[_0x5c30a7([0x74,0x68,0x65,0x6e])]===_0x5c30a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x179af2[_0x5c30a7([0x63,0x61,0x74,0x63,0x68])]===_0x5c30a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24b112(_0xc52b6e){_0x482104(_0xc52b6e)[_0x5c30a7([0x74,0x68,0x65,0x6e])](_0x1b6838=>{if(!_0x1b6838||_0x1b6838[_0x5c30a7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c30a7([0x6f,0x6b]))return _0x5c30a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x536de0(_0x4a2d3a(_0x2f7d43+_0x472803))!=_0x1b6838[_0x5c30a7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c30a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c30a7([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c30a7([0x74,0x68,0x65,0x6e])](_0x1a374d=>(_0x571015(),_0x1a374d),()=>{const _0xc25b96=_0xc1b354();return null==_0xc25b96?(_0x571015(),_0x5c30a7([0x56,0x61,0x6c,0x69,0x64])):_0x5c30a7(_0x30776f-_0xc25b96>(0x27d454df^_0x279432)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c30a7([0x74,0x68,0x65,0x6e])](_0x241d5b)[_0x5c30a7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x241d5b(_0x5c30a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x560c5c=0x3ee3e5f^_0x279432;function _0x571015(){const _0x833d00=_0x5c30a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x536de0(_0x4a2d3a(_0x39c01a)),_0x422eff=_0x37e3f6(_0x536de0(window[_0x5c30a7([0x4d,0x61,0x74,0x68])][_0x5c30a7([0x63,0x65,0x69,0x6c])](_0x30776f/_0x560c5c)));window[_0x5c30a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c30a7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x833d00,_0x422eff);}function _0xc1b354(){const _0x32d210=_0x5c30a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x536de0(_0x4a2d3a(_0x39c01a)),_0x28017d=window[_0x5c30a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c30a7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32d210);return _0x28017d?window[_0x5c30a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37e3f6(_0x28017d),0x10)*_0x560c5c:null;}function _0x482104(_0x54cc96){return new window[(_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x354851,_0x18889e)=>{_0x54cc96[_0x5c30a7([0x74,0x68,0x65,0x6e])](_0x354851,_0x18889e),window[_0x5c30a7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18889e,0x3d9041f^_0x279432);});}}_0xf4123a[_0x5c30a7([0x6f,0x6e])](_0x5c30a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44e08c,_0x7de3fe)=>{if(_0x7de3fe[0x0]!=_0x39c01a)return _0x241d5b(_0x5c30a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x7de3fe[0x1]={..._0x7de3fe[0x1],[_0x5c30a7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f7d43};},{[_0x5c30a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c30a7([0x68,0x69,0x67,0x68])}),_0xf4123a[_0x5c30a7([0x6f,0x6e])](_0x5c30a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x160d62=>{_0x99fc28(_0x160d62[_0x5c30a7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x71b29b=!0x0,_0x24b112(_0x160d62[_0x5c30a7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c30a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c30a7([0x6c,0x6f,0x77])}),_0x4da084[_0x5c30a7([0x74,0x68,0x65,0x6e])](()=>{_0x71b29b||_0x241d5b(_0x5c30a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a0973(){return _0xf4123a[_0x5c30a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c30a7([0x76,0x69,0x65,0x77])][_0x5c30a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c30a7([0x61,0x75,0x74,0x6f]);}function _0xb9c60c(){_0xf4123a[_0x5c30a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c30a7([0x76,0x69,0x65,0x77])][_0x5c30a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c30a7([0x61,0x75,0x74,0x6f]);}}function _0x4f28ed(_0x10fffd){const _0x40345a=[new window[(_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2048ad=>setTimeout(_0x2048ad,0x3d1ee13^_0x279432)),_0x4da084[_0x5c30a7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56009b=>{let _0x3e9208=0x0;_0xf4123a[_0x5c30a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c30a7([0x6f,0x6e])](_0x5c30a7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c6bc3,_0x2d287a)=>{_0x2d287a[0x0][_0x5c30a7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e9208++,_0x3e9208==(0x3d8d127^_0x279432)&&(_0x56009b(),_0x4c6bc3[_0x5c30a7([0x6f,0x66,0x66])]());});}))];return window[_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c30a7([0x72,0x61,0x63,0x65])](_0x40345a)[_0x5c30a7([0x74,0x68,0x65,0x6e])](()=>_0x10fffd);}async function _0x216e22(){await _0x4da084,_0xf4123a[_0x5c30a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c30a7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b3e4f,_0xf4123a[_0x5c30a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c30a7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b3e4f,_0xf4123a[_0x5c30a7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c30a7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf8b02b(_0xdb56b3){const _0x27871f=_0x102ca1();_0xf4123a[_0x27871f]=_0x5c30a7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xdb56b3,_0xdb56b3!=_0x5c30a7([0x56,0x61,0x6c,0x69,0x64])&&_0x216e22();}function _0x102ca1(){const _0x58d632=window[_0x5c30a7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c30a7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c30a7([0x6e,0x6f,0x77])]())[_0x5c30a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c30a7([0x2e]),'');let _0x4115cf=_0x5c30a7([0x52]);for(let _0x2ea2b0=0x0;_0x2ea2b0<_0x58d632[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ea2b0+=0x2){let _0x4e2164=window[_0x5c30a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58d632[_0x5c30a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ea2b0,_0x2ea2b0+0x2));_0x4e2164>=_0x5e573b[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e2164-=_0x5e573b[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4115cf+=_0x5e573b[_0x4e2164];}return _0x4115cf;}function _0x16832b(){const _0x1dcf48=_0x101bb7[_0x5c30a7([0x73,0x70,0x6c,0x69,0x74])](_0x5c30a7([0x2e]));if(0x3!=_0x1dcf48[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd7b038(_0x1dcf48[0x1]);function _0xd7b038(_0x41f13b){const _0xb19d62=_0x454140(_0x41f13b);return _0xb19d62&&_0x413752()?_0xb19d62:null;function _0x413752(){const _0x46906a=_0xb19d62[_0x5c30a7([0x6a,0x74,0x69])],_0x3d8918=window[_0x5c30a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46906a[_0x5c30a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46906a[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x39f445={..._0xb19d62,[_0x5c30a7([0x6a,0x74,0x69])]:_0x46906a[_0x5c30a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46906a[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x39f445[_0x5c30a7([0x76,0x63])],_0x4a2d3a(_0x39f445)==_0x3d8918;}}}async function _0x1c63df(){let _0x1d9b16=!0x0;try{const _0x5d8fa7=_0x101bb7[_0x5c30a7([0x73,0x70,0x6c,0x69,0x74])](_0x5c30a7([0x2e])),[_0xa143e8,_0x4de0e6,_0x6226e2]=_0x5d8fa7;return _0x422592(_0xa143e8),await _0x156e53(_0xa143e8,_0x4de0e6,_0x6226e2),_0x1d9b16;}catch{return!0x1;}function _0x422592(_0x273a29){const _0x5d64ce=_0x454140(_0x273a29);_0x5d64ce&&_0x5d64ce[_0x5c30a7([0x61,0x6c,0x67])]==_0x5c30a7([0x45,0x53,0x32,0x35,0x36])||(_0x1d9b16=!0x1);}async function _0x156e53(_0x1209be,_0x1dfaf9,_0x572822){const _0x2ab251=window[_0x5c30a7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c30a7([0x66,0x72,0x6f,0x6d])](_0x33e189(_0x572822),_0x1086c4=>_0x1086c4[_0x5c30a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x32c600=new window[(_0x5c30a7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c30a7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1209be+_0x5c30a7([0x2e])+_0x1dfaf9),_0x5aeb50=window[_0x5c30a7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c30a7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5aeb50)return;const _0x25edc5=await _0x5aeb50[_0x5c30a7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c30a7([0x6a,0x77,0x6b]),_0x435f22,{[_0x5c30a7([0x6e,0x61,0x6d,0x65])]:_0x5c30a7([0x45,0x43,0x44,0x53,0x41]),[_0x5c30a7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c30a7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c30a7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5aeb50[_0x5c30a7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c30a7([0x6e,0x61,0x6d,0x65])]:_0x5c30a7([0x45,0x43,0x44,0x53,0x41]),[_0x5c30a7([0x68,0x61,0x73,0x68])]:{[_0x5c30a7([0x6e,0x61,0x6d,0x65])]:_0x5c30a7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25edc5,_0x2ab251,_0x32c600)||(_0x1d9b16=!0x1);}}function _0x454140(_0x4a4f06){return _0x4a4f06[_0x5c30a7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c30a7([0x65,0x79]))?JSON[_0x5c30a7([0x70,0x61,0x72,0x73,0x65])](_0x33e189(_0x4a4f06)):null;}function _0x33e189(_0x25e8a1){return window[_0x5c30a7([0x61,0x74,0x6f,0x62])](_0x25e8a1[_0x5c30a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c30a7([0x2b]))[_0x5c30a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c30a7([0x2f])));}function _0x4a2d3a(_0x4af91c){let _0x47c22e=0x1505;function _0x2ab769(_0x12ffbe){for(let _0x131593=0x0;_0x131593<_0x12ffbe[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x131593++){const _0x499ad1=_0x12ffbe[_0x5c30a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x131593);_0x47c22e=(_0x47c22e<<0x5)+_0x47c22e+_0x499ad1,_0x47c22e&=_0x47c22e;}}function _0x1fd66c(_0x21ba3f){Array[_0x5c30a7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x21ba3f)?_0x21ba3f[_0x5c30a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1fd66c):_0x21ba3f&&typeof _0x21ba3f==_0x5c30a7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c30a7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x21ba3f)[_0x5c30a7([0x73,0x6f,0x72,0x74])]()[_0x5c30a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c43c4,_0x111a67])=>{_0x2ab769(_0x1c43c4),_0x1fd66c(_0x111a67);}):_0x2ab769(window[_0x5c30a7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x21ba3f));}return _0x1fd66c(_0x4af91c),_0x47c22e>>>0x0;}function _0x536de0(_0x594b31){return _0x594b31[_0x5c30a7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c30a7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c30a7([0x30]));}function _0x37e3f6(_0x187b3b){return _0x187b3b[_0x5c30a7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c30a7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c30a7([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b3e4f(){}function _0x5c30a7(_0xa38c4a){const _0x53b185=_0xd6ac;return _0xa38c4a[_0x53b185(0xb1)](_0x431f2f=>String[_0x53b185(0xe3)](_0x431f2f))[_0x53b185(0xc9)]('');}_0xf8b02b(await _0x4c80c8());}(this);}[_0x1e87da(0xe5)](){const _0x556e55=_0x1e87da,_0x49a97c=this[_0x556e55(0xa9)][_0x556e55(0xe1)][_0x556e55(0xdd)];_0x49a97c[_0x556e55(0xda)](_0x556e55(0xbe))&&_0x49a97c[_0x556e55(0xf5)](_0x556e55(0xbe),{'allowAttributes':[_0x556e55(0xde)]}),_0x49a97c[_0x556e55(0xda)](_0x556e55(0xe4))&&_0x49a97c[_0x556e55(0xf5)](_0x556e55(0xe4),{'allowAttributes':[_0x556e55(0xde)]});}[_0x1e87da(0xc4)](){const _0x3044aa=_0x1e87da,_0x326591=this[_0x3044aa(0xa9)];_0x326591[_0x3044aa(0xbf)][_0x3044aa(0xbb)](_0x3044aa(0xad))[_0x3044aa(0xea)]({'model':_0x3044aa(0xde),'view':_0x3044aa(0xeb)}),_0x326591[_0x3044aa(0xbf)][_0x3044aa(0xbb)](_0x3044aa(0xf1))[_0x3044aa(0xb5)]({'model':{'key':_0x3044aa(0xde),'value':_0x503a8c=>_0x503a8c[_0x3044aa(0xb6)](_0x3044aa(0xeb))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5c3e72=_0x326591[_0x3044aa(0xe9)][_0x3044aa(0xaf)](_0x3044aa(0xb7));_0x5c3e72&&this[_0x3044aa(0xe0)](_0x5c3e72,_0x3044aa(0xcb),(_0x3da7d8,[_0x3ba95f,_0x107d8f])=>{const _0x319e7e=_0x3044aa;_0x3ba95f[_0x319e7e(0xa6)](_0x319e7e(0xde),_0x107d8f);});}[_0x1e87da(0xee)](){const _0x2534ae=_0x1e87da,_0x304ce5=this[_0x2534ae(0xa9)][_0x2534ae(0xdf)][_0x2534ae(0xaf)](_0x2534ae(0xa7))||{},_0x2e28ef=this[_0x2534ae(0xa9)][_0x2534ae(0xdf)][_0x2534ae(0xaf)](_0x2534ae(0xe2))||'';this[_0x2534ae(0xae)]=_0x526dea(_0x2bda02[_0x2534ae(0xc5)],_0x2534ae(0xce),{..._0x304ce5,'pubkey':_0x2e28ef,'ctx-name':_0x2534ae(0xd4)+this[_0x2534ae(0xcc)],'sourceList':'','imgOnly':_0x2534ae(0xdb),'removeCopyright':_0x2534ae(0xdb),'localeName':this[_0x2534ae(0xa9)][_0x2534ae(0xa4)][_0x2534ae(0xc7)],'externalSourcesEmbedCss':_0x2534ae(0xb3)}),this[_0x2534ae(0xae)][_0x2534ae(0xbd)]=_0x259575=>{const _0x43303f=_0x2534ae;if(_0x43303f(0xc1)==_0x259575)return _0x43303f(0xd1);},_0x2bda02[_0x2534ae(0xc5)][_0x2534ae(0xb9)][_0x2534ae(0xef)](this[_0x2534ae(0xae)]);}[_0x1e87da(0xb0)](){const _0x5c247e=_0x1e87da;this[_0x5c247e(0xe6)]=_0x526dea(_0x2bda02[_0x5c247e(0xc5)],_0x5c247e(0xb2),{'ctx-name':_0x5c247e(0xd4)+this[_0x5c247e(0xcc)]}),_0x2bda02[_0x5c247e(0xc5)][_0x5c247e(0xb9)][_0x5c247e(0xef)](this[_0x5c247e(0xe6)]);}[_0x1e87da(0xf3)](){const _0x2e84ff=_0x1e87da,_0x21712b=this[_0x2e84ff(0xa9)][_0x2e84ff(0xe9)][_0x2e84ff(0xaf)](_0x2e84ff(0xa5));_0x21712b&&this[_0x2e84ff(0xe0)](_0x21712b,_0x2e84ff(0xcd),()=>{const _0x2757f2=_0x2e84ff,_0x47db9a=this[_0x2757f2(0xa9)][_0x2757f2(0xe1)][_0x2757f2(0xc5)][_0x2757f2(0xf0)][_0x2757f2(0xaa)]();_0x47db9a&&_0x47db9a[_0x2757f2(0xb6)](_0x2757f2(0xde))&&this[_0x2757f2(0xa9)][_0x2757f2(0xd2)][_0x2757f2(0xc2)][_0x2757f2(0xab)](_0x2757f2(0xcf),()=>{const _0x24a157=_0x2757f2;_0x462b0c(this[_0x24a157(0xa9)],_0x47db9a);});});const _0x286c8c=this[_0x2e84ff(0xa9)][_0x2e84ff(0xe9)][_0x2e84ff(0xaf)](_0x2e84ff(0xe7));_0x286c8c&&this[_0x2e84ff(0xe0)](_0x286c8c,_0x2e84ff(0xcd),()=>{const _0x41b639=_0x2e84ff,_0x24208e=this[_0x41b639(0xa9)][_0x41b639(0xe1)][_0x41b639(0xc5)][_0x41b639(0xf0)][_0x41b639(0xaa)]();_0x24208e&&_0x24208e[_0x41b639(0xb6)](_0x41b639(0xde))&&this[_0x41b639(0xa9)][_0x41b639(0xd2)][_0x41b639(0xc2)][_0x41b639(0xab)](_0x41b639(0xcf),()=>{const _0x566868=_0x41b639;_0x462b0c(this[_0x566868(0xa9)],_0x24208e);});});}}
|
|
23
|
+
const _0x11e630=_0x563a;function _0x2110(){const _0x13a624=['selection','getAttribute','elementToAttribute','isRegistered','map','destroy','7DPJcSi','2315848STQODo','cleanupImage','uploader-','uploadcareImageReplace','uc-upload-ctx-provider','_initImageProcessingIndicator','uploadcare.pubkey','conversion','959cwthpM','pluginName','225EbzINe','requires','config','init','_initSchema','ctxElement','uploadcare','2976475rFmQLt','true','imageInline','_initCtx','input[uploadcare-file-input]','#uc-icon-arrow-down','ucContextId','\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','fromCharCode','once','insertImage','configElement','commands','PictureEditing','editor','uc-config','add','UploadcareEditing','document','extend','uploadcare.uploader','65416TcnMMC','isOfficialPlugin','href','imageBlock','contentLanguage','get','join','listenTo','view','for','removeAttribute','execute','isPremiumPlugin','_ctxElement','upcast','downcast','querySelector','appendChild','1698327bMuIjq','schema','_initConversion','_initConfig','model','locale','getSelectedElement','uploadcareImageId','attributeToAttribute','data-uc-image-id','remove','render','closeMax','body','17034XnsSiL','147410LupwYi','_configElement','afterInit','editing','1879800eWmTxM','iconHrefResolver','replaceImageSource'];_0x2110=function(){return _0x13a624;};return _0x2110();}(function(_0x19e287,_0x319b9a){const _0x1593d4=_0x563a,_0x171592=_0x19e287();while(!![]){try{const _0x2c7482=-parseInt(_0x1593d4(0x1e0))/0x1*(-parseInt(_0x1593d4(0x207))/0x2)+parseInt(_0x1593d4(0x1c4))/0x3+parseInt(_0x1593d4(0x1d7))/0x4+-parseInt(_0x1593d4(0x1f2))/0x5+-parseInt(_0x1593d4(0x1d2))/0x6*(parseInt(_0x1593d4(0x1e9))/0x7)+-parseInt(_0x1593d4(0x1e1))/0x8+parseInt(_0x1593d4(0x1eb))/0x9*(parseInt(_0x1593d4(0x1d3))/0xa);if(_0x2c7482===_0x319b9a)break;else _0x171592['push'](_0x171592['shift']());}catch(_0x596a02){_0x171592['push'](_0x171592['shift']());}}}(_0x2110,0x57d8d));import{Plugin as _0x1f48db}from'ckeditor5/src/core.js';import{Dialog as _0x31b9fa}from'ckeditor5/src/ui.js';import{createElement as _0x2eea66,global as _0x275c22,uid as _0x5aab1b}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x52bdf5}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5ac34f}from'./uploadcareuploadadapter.js';function _0x563a(_0x471b50,_0x6051aa){const _0x211033=_0x2110();return _0x563a=function(_0x563ac3,_0x6910d3){_0x563ac3=_0x563ac3-0x1b6;let _0x17efa6=_0x211033[_0x563ac3];return _0x17efa6;},_0x563a(_0x471b50,_0x6051aa);}import{showImageProcessingIndicator as _0x305af2}from'./utils/editingutils.js';export class UploadcareEditing extends _0x1f48db{[_0x11e630(0x1d4)]=null;[_0x11e630(0x1bf)]=null;static get[_0x11e630(0x1ea)](){const _0x32321c=_0x11e630;return _0x32321c(0x203);}static get[_0x11e630(0x1ec)](){const _0x1f3f86=_0x11e630;return[_0x1f3f86(0x1ff),_0x5ac34f,_0x31b9fa];}static get[_0x11e630(0x208)](){return!0x0;}static get[_0x11e630(0x1be)](){return!0x0;}[_0x11e630(0x1f8)];get[_0x11e630(0x1fd)](){const _0x197022=_0x11e630;return this[_0x197022(0x1d4)];}get[_0x11e630(0x1f0)](){const _0x53e6da=_0x11e630;return this[_0x53e6da(0x1bf)];}constructor(_0x3e6d41){const _0x2d9cd2=_0x11e630;super(_0x3e6d41),this[_0x2d9cd2(0x1f8)]=_0x5aab1b();}[_0x11e630(0x1ee)](){const _0x7ef8a8=_0x11e630,_0x4aab33=this[_0x7ef8a8(0x200)];_0x4aab33[_0x7ef8a8(0x1fe)][_0x7ef8a8(0x202)](_0x7ef8a8(0x1f1),new _0x52bdf5(_0x4aab33));}[_0x11e630(0x1d5)](){const _0x170d4f=_0x11e630;this[_0x170d4f(0x1ef)](),this[_0x170d4f(0x1c6)](),this[_0x170d4f(0x1c7)](),this[_0x170d4f(0x1f5)](),this[_0x170d4f(0x1e6)](),this[_0x170d4f(0x1b9)](this[_0x170d4f(0x200)],_0x170d4f(0x1df),()=>{const _0x3a8069=_0x170d4f;this[_0x3a8069(0x1d4)]&&(this[_0x3a8069(0x1d4)][_0x3a8069(0x1ce)](),this[_0x3a8069(0x1d4)]=null),this[_0x3a8069(0x1bf)]&&(this[_0x3a8069(0x1bf)][_0x3a8069(0x1ce)](),this[_0x3a8069(0x1bf)]=null);const _0x55e846=_0x275c22[_0x3a8069(0x204)][_0x3a8069(0x1c2)](_0x3a8069(0x1f6));_0x55e846&&_0x55e846[_0x3a8069(0x1ce)]();}),async function(_0x5caf3d){const _0xbcf45e=_0x5b791f([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x29cb80=0x535f8c3a,_0x3f4682=0x5358fb92^_0x29cb80,_0xf69c76=window[_0x5b791f([0x44,0x61,0x74,0x65])][_0x5b791f([0x6e,0x6f,0x77])](),_0x50428f=_0x5caf3d[_0x5b791f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d6ef3=new window[(_0x5b791f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bda0d=>{_0x50428f[_0x5b791f([0x6f,0x6e,0x63,0x65])](_0x5b791f([0x72,0x65,0x61,0x64,0x79]),_0x1bda0d);}),_0xd9d681={[_0x5b791f([0x6b,0x74,0x79])]:_0x5b791f([0x45,0x43]),[_0x5b791f([0x75,0x73,0x65])]:_0x5b791f([0x73,0x69,0x67]),[_0x5b791f([0x63,0x72,0x76])]:_0x5b791f([0x50,0x2d,0x32,0x35,0x36]),[_0x5b791f([0x78])]:_0x5b791f([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]),[_0x5b791f([0x79])]:_0x5b791f([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]),[_0x5b791f([0x61,0x6c,0x67])]:_0x5b791f([0x45,0x53,0x32,0x35,0x36])},_0x1ee7f7=_0x50428f[_0x5b791f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b791f([0x67,0x65,0x74])](_0x5b791f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1589a4(){let _0x3e4d96,_0x18c87a=null,_0x5986d3=null;try{if(_0x1ee7f7==_0x5b791f([0x47,0x50,0x4c]))return _0x5b791f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e4d96=_0xcf0d1b(),!_0x3e4d96)return _0x5b791f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e4d96[_0x5b791f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5986d3=_0x28c2b2(_0x3e4d96[_0x5b791f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e4d96[_0x5b791f([0x6a,0x74,0x69])])),await _0x64d037()?_0x54f12f()?_0x50d131()?_0x5b791f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5c1d15()?(_0x3e4d96[_0x5b791f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b791f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18c87a=_0x4c5f97(_0x5b791f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e4d96[_0x5b791f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b791f([0x74,0x72,0x69,0x61,0x6c])&&(_0x18c87a=_0x4c5f97(_0x5b791f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f2ce8()):_0x5b791f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b791f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b791f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5b791f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50d131(){const _0x19efb0=[_0x5b791f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b791f([0x74,0x72,0x69,0x61,0x6c])][_0x5b791f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e4d96[_0x5b791f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf69c76/0x3e8:0xe10*_0x3f4682;return _0x3e4d96[_0x5b791f([0x65,0x78,0x70])]<_0x19efb0;}function _0x54f12f(){const _0x2af638=_0x3e4d96[_0x5b791f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2af638&&(!!_0x2af638[_0x5b791f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b791f([0x2a]))||!!_0x2af638[_0x5b791f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b791f([0x55,0x50,0x4c,0x43])));}function _0x5c1d15(){const _0x443154=_0x563a,_0x4b2571=_0x3e4d96[_0x5b791f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b2571||0x0==_0x4b2571[_0x5b791f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2af254}=new URL(window[_0x5b791f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x443154(0x209)]);if(_0x4b2571[_0x5b791f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2af254))return!0x0;const _0x55a3cd=_0x2af254[_0x5b791f([0x73,0x70,0x6c,0x69,0x74])](_0x5b791f([0x2e]));return _0x4b2571[_0x5b791f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a3759=>_0x5a3759[_0x5b791f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b791f([0x2a])))[_0x5b791f([0x6d,0x61,0x70])](_0x56e9d4=>_0x56e9d4[_0x5b791f([0x73,0x70,0x6c,0x69,0x74])](_0x5b791f([0x2e])))[_0x5b791f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ed679=>_0x5ed679[_0x5b791f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x55a3cd[_0x5b791f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b791f([0x6d,0x61,0x70])](_0x40aff6=>Array(_0x55a3cd[_0x5b791f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x40aff6[_0x5b791f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b791f([0x66,0x69,0x6c,0x6c])](_0x40aff6[0x0]===_0x5b791f([0x2a])?_0x5b791f([0x2a]):'')[_0x5b791f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x40aff6))[_0x5b791f([0x73,0x6f,0x6d,0x65])](_0x398a7c=>_0x55a3cd[_0x5b791f([0x65,0x76,0x65,0x72,0x79])]((_0x472ef6,_0x54a8ae)=>_0x398a7c[_0x54a8ae]===_0x472ef6||_0x398a7c[_0x54a8ae]===_0x5b791f([0x2a])));}function _0x5f2ce8(){return _0x18c87a&&_0x5986d3?new window[(_0x5b791f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f4936,_0x318ab8)=>{_0x18c87a[_0x5b791f([0x74,0x68,0x65,0x6e])](_0x1f4936,_0x318ab8),_0x5986d3[_0x5b791f([0x74,0x68,0x65,0x6e])](_0x257f87=>{_0x257f87!=_0x5b791f([0x56,0x61,0x6c,0x69,0x64])&&_0x1f4936(_0x257f87);},_0x318ab8);}):_0x18c87a||_0x5986d3||_0x5b791f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28c2b2(_0x5d59ad,_0x4a11ea){return new window[(_0x5b791f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42d0c2=>{if(_0x1f7e03())return _0x42d0c2(_0x5b791f([0x56,0x61,0x6c,0x69,0x64]));_0x59d380(),_0x50428f[_0x5b791f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b791f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c1844=!0x1;const _0x3dc9e=_0x5aab1b();function _0x37ee47(_0x4e9b9e){return!!_0x4e9b9e&&(typeof _0x4e9b9e===_0x5b791f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e9b9e===_0x5b791f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e9b9e[_0x5b791f([0x74,0x68,0x65,0x6e])]===_0x5b791f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e9b9e[_0x5b791f([0x63,0x61,0x74,0x63,0x68])]===_0x5b791f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f060b(_0x5d7cf8){_0x47db04(_0x5d7cf8)[_0x5b791f([0x74,0x68,0x65,0x6e])](_0x532bd3=>{if(!_0x532bd3||_0x532bd3[_0x5b791f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b791f([0x6f,0x6b]))return _0x5b791f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x12be9d(_0x4db1d2(_0x3dc9e+_0x4a11ea))!=_0x532bd3[_0x5b791f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b791f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b791f([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b791f([0x74,0x68,0x65,0x6e])](_0x11cba3=>(_0x45b7d1(),_0x11cba3),()=>{const _0xb133e8=_0x5a6113();return null==_0xb133e8?(_0x45b7d1(),_0x5b791f([0x56,0x61,0x6c,0x69,0x64])):_0x5b791f(_0xf69c76-_0xb133e8>(0x7753083a^_0x29cb80)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b791f([0x74,0x68,0x65,0x6e])](_0x42d0c2)[_0x5b791f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x42d0c2(_0x5b791f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb3c57c=0x536962ba^_0x29cb80;function _0x45b7d1(){const _0x4b9db7=_0x5b791f([0x6c,0x6c,0x63,0x74,0x2d])+_0x12be9d(_0x4db1d2(_0x5d59ad)),_0x4c4f13=_0xa036e0(_0x12be9d(window[_0x5b791f([0x4d,0x61,0x74,0x68])][_0x5b791f([0x63,0x65,0x69,0x6c])](_0xf69c76/_0xb3c57c)));window[_0x5b791f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b791f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b9db7,_0x4c4f13);}function _0x5a6113(){const _0x2dd8a5=_0x5b791f([0x6c,0x6c,0x63,0x74,0x2d])+_0x12be9d(_0x4db1d2(_0x5d59ad)),_0x56b23a=window[_0x5b791f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b791f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2dd8a5);return _0x56b23a?window[_0x5b791f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa036e0(_0x56b23a),0x10)*_0xb3c57c:null;}function _0x47db04(_0x2097e7){return new window[(_0x5b791f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x616089,_0x34633f)=>{_0x2097e7[_0x5b791f([0x74,0x68,0x65,0x6e])](_0x616089,_0x34633f),window[_0x5b791f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x34633f,0x535e58fa^_0x29cb80);});}}_0x50428f[_0x5b791f([0x6f,0x6e])](_0x5b791f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e47a0,_0x5500ea)=>{if(_0x5500ea[0x0]!=_0x5d59ad)return _0x42d0c2(_0x5b791f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5500ea[0x1]={..._0x5500ea[0x1],[_0x5b791f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3dc9e};},{[_0x5b791f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b791f([0x68,0x69,0x67,0x68])}),_0x50428f[_0x5b791f([0x6f,0x6e])](_0x5b791f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xac6a18=>{_0x37ee47(_0xac6a18[_0x5b791f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c1844=!0x0,_0x1f060b(_0xac6a18[_0x5b791f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b791f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b791f([0x6c,0x6f,0x77])}),_0x5d6ef3[_0x5b791f([0x74,0x68,0x65,0x6e])](()=>{_0x1c1844||_0x42d0c2(_0x5b791f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f7e03(){return _0x50428f[_0x5b791f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b791f([0x76,0x69,0x65,0x77])][_0x5b791f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b791f([0x61,0x75,0x74,0x6f]);}function _0x59d380(){_0x50428f[_0x5b791f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b791f([0x76,0x69,0x65,0x77])][_0x5b791f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b791f([0x61,0x75,0x74,0x6f]);}}function _0x4c5f97(_0xd52219){const _0x2ddab1=[new window[(_0x5b791f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a75b8=>setTimeout(_0x2a75b8,0x5356b2f6^_0x29cb80)),_0x5d6ef3[_0x5b791f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b791f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d0a39=>{let _0x144cfa=0x0;_0x50428f[_0x5b791f([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b791f([0x6f,0x6e])](_0x5b791f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4bbd5b,_0x51944e)=>{_0x51944e[0x0][_0x5b791f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x144cfa++,_0x144cfa==(0x535f8dc2^_0x29cb80)&&(_0x4d0a39(),_0x4bbd5b[_0x5b791f([0x6f,0x66,0x66])]());});}))];return window[_0x5b791f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b791f([0x72,0x61,0x63,0x65])](_0x2ddab1)[_0x5b791f([0x74,0x68,0x65,0x6e])](()=>_0xd52219);}async function _0x3b8018(){await _0x5d6ef3,_0x50428f[_0x5b791f([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b791f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x135b68,_0x50428f[_0x5b791f([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b791f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x135b68,_0x50428f[_0x5b791f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b791f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x7fb0f4(_0x32162f){const _0x4f4c33=_0x571981();_0x50428f[_0x4f4c33]=_0x5b791f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x32162f,_0x32162f!=_0x5b791f([0x56,0x61,0x6c,0x69,0x64])&&_0x3b8018();}function _0x571981(){const _0x9500a0=window[_0x5b791f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b791f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b791f([0x6e,0x6f,0x77])]())[_0x5b791f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b791f([0x2e]),'');let _0x32ea8e=_0x5b791f([0x68]);for(let _0x4470b4=0x0;_0x4470b4<_0x9500a0[_0x5b791f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4470b4+=0x2){let _0x568b63=window[_0x5b791f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9500a0[_0x5b791f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4470b4,_0x4470b4+0x2));_0x568b63>=_0xbcf45e[_0x5b791f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x568b63-=_0xbcf45e[_0x5b791f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32ea8e+=_0xbcf45e[_0x568b63];}return _0x32ea8e;}function _0xcf0d1b(){const _0x254547=_0x1ee7f7[_0x5b791f([0x73,0x70,0x6c,0x69,0x74])](_0x5b791f([0x2e]));if(0x3!=_0x254547[_0x5b791f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5bbe33(_0x254547[0x1]);function _0x5bbe33(_0x281004){const _0x22ce3f=_0x5be4ff(_0x281004);return _0x22ce3f&&_0x425f72()?_0x22ce3f:null;function _0x425f72(){const _0x1d5eb8=_0x22ce3f[_0x5b791f([0x6a,0x74,0x69])],_0x3ecf08=window[_0x5b791f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d5eb8[_0x5b791f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d5eb8[_0x5b791f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48db25={..._0x22ce3f,[_0x5b791f([0x6a,0x74,0x69])]:_0x1d5eb8[_0x5b791f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d5eb8[_0x5b791f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48db25[_0x5b791f([0x76,0x63])],_0x4db1d2(_0x48db25)==_0x3ecf08;}}}async function _0x64d037(){let _0x148540=!0x0;try{const _0x19dc67=_0x1ee7f7[_0x5b791f([0x73,0x70,0x6c,0x69,0x74])](_0x5b791f([0x2e])),[_0x829f36,_0x395c91,_0xc16bbd]=_0x19dc67;return _0x2f9a08(_0x829f36),await _0x244901(_0x829f36,_0x395c91,_0xc16bbd),_0x148540;}catch{return!0x1;}function _0x2f9a08(_0x2e291d){const _0x21248f=_0x5be4ff(_0x2e291d);_0x21248f&&_0x21248f[_0x5b791f([0x61,0x6c,0x67])]==_0x5b791f([0x45,0x53,0x32,0x35,0x36])||(_0x148540=!0x1);}async function _0x244901(_0x473277,_0x30d51c,_0xe7d447){const _0x4edf19=window[_0x5b791f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b791f([0x66,0x72,0x6f,0x6d])](_0x51ddaf(_0xe7d447),_0x4c29a3=>_0x4c29a3[_0x5b791f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2db60c=new window[(_0x5b791f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b791f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x473277+_0x5b791f([0x2e])+_0x30d51c),_0x523278=window[_0x5b791f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b791f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x523278)return;const _0x4c332f=await _0x523278[_0x5b791f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b791f([0x6a,0x77,0x6b]),_0xd9d681,{[_0x5b791f([0x6e,0x61,0x6d,0x65])]:_0x5b791f([0x45,0x43,0x44,0x53,0x41]),[_0x5b791f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b791f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b791f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x523278[_0x5b791f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b791f([0x6e,0x61,0x6d,0x65])]:_0x5b791f([0x45,0x43,0x44,0x53,0x41]),[_0x5b791f([0x68,0x61,0x73,0x68])]:{[_0x5b791f([0x6e,0x61,0x6d,0x65])]:_0x5b791f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c332f,_0x4edf19,_0x2db60c)||(_0x148540=!0x1);}}function _0x5be4ff(_0x41dd6b){return _0x41dd6b[_0x5b791f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b791f([0x65,0x79]))?JSON[_0x5b791f([0x70,0x61,0x72,0x73,0x65])](_0x51ddaf(_0x41dd6b)):null;}function _0x51ddaf(_0x4e702f){return window[_0x5b791f([0x61,0x74,0x6f,0x62])](_0x4e702f[_0x5b791f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b791f([0x2b]))[_0x5b791f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b791f([0x2f])));}function _0x4db1d2(_0x101cdf){let _0x699426=0x1505;function _0x52da87(_0x567610){for(let _0x418ef1=0x0;_0x418ef1<_0x567610[_0x5b791f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x418ef1++){const _0x2bacdf=_0x567610[_0x5b791f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x418ef1);_0x699426=(_0x699426<<0x5)+_0x699426+_0x2bacdf,_0x699426&=_0x699426;}}function _0x20f797(_0x2ecdb4){Array[_0x5b791f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ecdb4)?_0x2ecdb4[_0x5b791f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20f797):_0x2ecdb4&&typeof _0x2ecdb4==_0x5b791f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b791f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ecdb4)[_0x5b791f([0x73,0x6f,0x72,0x74])]()[_0x5b791f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4866d0,_0x36262a])=>{_0x52da87(_0x4866d0),_0x20f797(_0x36262a);}):_0x52da87(window[_0x5b791f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ecdb4));}return _0x20f797(_0x101cdf),_0x699426>>>0x0;}function _0x12be9d(_0x3bf4f5){return _0x3bf4f5[_0x5b791f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b791f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b791f([0x30]));}function _0xa036e0(_0x548e06){return _0x548e06[_0x5b791f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b791f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b791f([0x6a,0x6f,0x69,0x6e])]('');}function _0x135b68(){}function _0x5b791f(_0x249c1b){const _0x2c6716=_0x563a;return _0x249c1b[_0x2c6716(0x1de)](_0x34ecf3=>String[_0x2c6716(0x1fa)](_0x34ecf3))[_0x2c6716(0x1b8)]('');}_0x7fb0f4(await _0x1589a4());}(this);}[_0x11e630(0x1ef)](){const _0xb58775=_0x11e630,_0x117a6f=this[_0xb58775(0x200)][_0xb58775(0x1c8)][_0xb58775(0x1c5)];_0x117a6f[_0xb58775(0x1dd)](_0xb58775(0x20a))&&_0x117a6f[_0xb58775(0x205)](_0xb58775(0x20a),{'allowAttributes':[_0xb58775(0x1cb)]}),_0x117a6f[_0xb58775(0x1dd)](_0xb58775(0x1f4))&&_0x117a6f[_0xb58775(0x205)](_0xb58775(0x1f4),{'allowAttributes':[_0xb58775(0x1cb)]});}[_0x11e630(0x1c6)](){const _0x53fa76=_0x11e630,_0x523316=this[_0x53fa76(0x200)];_0x523316[_0x53fa76(0x1e8)][_0x53fa76(0x1bb)](_0x53fa76(0x1c1))[_0x53fa76(0x1cc)]({'model':_0x53fa76(0x1cb),'view':_0x53fa76(0x1cd)}),_0x523316[_0x53fa76(0x1e8)][_0x53fa76(0x1bb)](_0x53fa76(0x1c0))[_0x53fa76(0x1dc)]({'model':{'key':_0x53fa76(0x1cb),'value':_0x2120d4=>_0x2120d4[_0x53fa76(0x1db)](_0x53fa76(0x1cd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x454784=_0x523316[_0x53fa76(0x1fe)][_0x53fa76(0x1b7)](_0x53fa76(0x1d9));_0x454784&&this[_0x53fa76(0x1b9)](_0x454784,_0x53fa76(0x1e2),(_0x14e6b7,[_0x3aa13c,_0x105e73])=>{const _0x50e6a6=_0x53fa76;_0x3aa13c[_0x50e6a6(0x1bc)](_0x50e6a6(0x1cb),_0x105e73);});}[_0x11e630(0x1c7)](){const _0x123744=_0x11e630,_0x3e227d=this[_0x123744(0x200)][_0x123744(0x1ed)][_0x123744(0x1b7)](_0x123744(0x206))||{},_0xdac80a=this[_0x123744(0x200)][_0x123744(0x1ed)][_0x123744(0x1b7)](_0x123744(0x1e7))||'';this[_0x123744(0x1d4)]=_0x2eea66(_0x275c22[_0x123744(0x204)],_0x123744(0x201),{..._0x3e227d,'pubkey':_0xdac80a,'ctx-name':_0x123744(0x1e3)+this[_0x123744(0x1f8)],'sourceList':'','imgOnly':_0x123744(0x1f3),'removeCopyright':_0x123744(0x1f3),'localeName':this[_0x123744(0x200)][_0x123744(0x1c9)][_0x123744(0x1b6)],'externalSourcesEmbedCss':_0x123744(0x1f9)}),this[_0x123744(0x1d4)][_0x123744(0x1d8)]=_0x367aa2=>{const _0x4b561a=_0x123744;if(_0x4b561a(0x1d0)==_0x367aa2)return _0x4b561a(0x1f7);},_0x275c22[_0x123744(0x204)][_0x123744(0x1d1)][_0x123744(0x1c3)](this[_0x123744(0x1d4)]);}[_0x11e630(0x1f5)](){const _0x54cd93=_0x11e630;this[_0x54cd93(0x1bf)]=_0x2eea66(_0x275c22[_0x54cd93(0x204)],_0x54cd93(0x1e5),{'ctx-name':_0x54cd93(0x1e3)+this[_0x54cd93(0x1f8)]}),_0x275c22[_0x54cd93(0x204)][_0x54cd93(0x1d1)][_0x54cd93(0x1c3)](this[_0x54cd93(0x1bf)]);}[_0x11e630(0x1e6)](){const _0xe6f17b=_0x11e630,_0x2b2448=this[_0xe6f17b(0x200)][_0xe6f17b(0x1fe)][_0xe6f17b(0x1b7)](_0xe6f17b(0x1fc));_0x2b2448&&this[_0xe6f17b(0x1b9)](_0x2b2448,_0xe6f17b(0x1bd),()=>{const _0xc531c1=_0xe6f17b,_0x3d6490=this[_0xc531c1(0x200)][_0xc531c1(0x1c8)][_0xc531c1(0x204)][_0xc531c1(0x1da)][_0xc531c1(0x1ca)]();_0x3d6490&&_0x3d6490[_0xc531c1(0x1db)](_0xc531c1(0x1cb))&&this[_0xc531c1(0x200)][_0xc531c1(0x1d6)][_0xc531c1(0x1ba)][_0xc531c1(0x1fb)](_0xc531c1(0x1cf),()=>{const _0x36f8a6=_0xc531c1;_0x305af2(this[_0x36f8a6(0x200)],_0x3d6490);});});const _0x289e19=this[_0xe6f17b(0x200)][_0xe6f17b(0x1fe)][_0xe6f17b(0x1b7)](_0xe6f17b(0x1e4));_0x289e19&&this[_0xe6f17b(0x1b9)](_0x289e19,_0xe6f17b(0x1bd),()=>{const _0x154f78=_0xe6f17b,_0x3cb95f=this[_0x154f78(0x200)][_0x154f78(0x1c8)][_0x154f78(0x204)][_0x154f78(0x1da)][_0x154f78(0x1ca)]();_0x3cb95f&&_0x3cb95f[_0x154f78(0x1db)](_0x154f78(0x1cb))&&this[_0x154f78(0x200)][_0x154f78(0x1d6)][_0x154f78(0x1ba)][_0x154f78(0x1fb)](_0x154f78(0x1cf),()=>{const _0x8a0b44=_0x154f78;_0x305af2(this[_0x8a0b44(0x200)],_0x3cb95f);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x45162b,ObservableMixin as _0x5006ab}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xb8c5fc}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2a5da6}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3e0429}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x25a11a}from'../../utils/uploadutils.js';import{getImageUrls as _0x5d765f,getImageDimension as _0x88bd19}from'../../utils/editingutils.js';import{isAncestor as _0x595d40}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5006ab(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x7cc06a,_0x13958a,_0x31b0c1){super(),this['_editor']=_0x7cc06a,this['_dialog']=_0x13958a,this['_imageElement']=_0x31b0c1,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 _0x3fe283=this['_imageElement'],_0x4ba9fa=_0x3fe283['getAttribute']('uploadcareImageId'),_0x8dd2fd=_0x3fe283['getAttribute']('src');if(_0x4ba9fa)await this['_loadImageInfo'](_0x4ba9fa,_0x8dd2fd);else{if(this['_imageCache']['has'](_0x8dd2fd)){const _0x2e0045=this['_imageCache']['get'](_0x8dd2fd);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2e0045['url'],this['imageDimension']=_0x2e0045['dimension'],this['imageId']=_0x2e0045['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xff3f8f}=this['_editor'],t=_0xff3f8f['t'],_0xb6e430=new _0x3e0429(_0xff3f8f,this['imageStatus'],this['_attributes']);_0xb6e430['bind']('status')['to'](this,'imageStatus'),_0xb6e430['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xb6e430['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xb6e430['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xb6e430,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2a5da6,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xb6e430,'position':_0xb8c5fc['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xb6e430['focus']();},'onHide':()=>{_0xb6e430['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x17f0b3=>!_0x595d40(_0x17f0b3,_0xb6e430['element'])}});}['_loadImageInfo'](_0x4b91a2,_0x338ad6){return _0x25a11a['getInfo'](_0x4b91a2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2ec574=>{const {width:_0x28413d,height:_0x4dadd4}=_0x2ec574['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x338ad6,this['imageDimension']={'width':_0x28413d,'height':_0x4dadd4},this['imageId']=_0x4b91a2;})['catch'](_0x2fad1c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2fad1c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x52d617,_0x58e212){return this['_getImageAsFile'](_0x52d617)['then'](_0x4fee49=>_0x25a11a['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x58e212['signal'],'file':_0x4fee49,'onProgress':_0x1fe706=>{_0x1fe706&&_0x1fe706['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1fe706['value']));}}))['then'](_0x3d4f77=>{const {width:_0x40d0ac,height:_0x2a0e52}=_0x3d4f77['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d4f77['cdnUrl'],this['imageDimension']={'width':_0x40d0ac,'height':_0x2a0e52},this['imageId']=_0x3d4f77['uuid'],this['imageUploadProgress']=null;const _0x377a38=_0x52d617['getAttribute']('src');this['_imageCache']['set'](_0x377a38,{'id':_0x3d4f77['uuid'],'url':_0x3d4f77['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x49107d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x49107d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5ea85,_0x8c790f){_0x5ea85['on']('apply',(_0x44c1cf,_0x36fe13)=>{this['_replaceImage'](_0x8c790f,_0x36fe13['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5ea85['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5ea85['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x232a45,_0x4ce053,_0x236a91){const _0x5e7330=this['_editor'],{width:_0x2d9f44,height:_0x86d09c}=_0x88bd19(_0x4ce053,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x35a904,imageSources:_0x1cbaf6}=_0x5d765f(_0x4ce053,_0x2d9f44);_0x5e7330['model']['change'](_0x4a32ca=>{if('$graveyard'===_0x232a45['root']['rootName']){_0x5e7330['execute']('insertImage',{'imageType':_0x232a45['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x232a45['getAttributes']()),'uploadcareImageId':_0x236a91,'src':_0x35a904,'sources':_0x1cbaf6,'width':_0x2d9f44,'height':_0x86d09c}});const _0xeda765=_0x232a45['getChildren']();_0x232a45=_0x5e7330['model']['document']['selection']['getSelectedElement']();for(const _0x478cb7 of _0xeda765)_0x4a32ca['append'](_0x4a32ca['cloneElement'](_0x478cb7),_0x232a45);}else _0x4a32ca['setSelection'](_0x232a45,'on'),_0x5e7330['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x232a45['getAttributes']()),'uploadcareImageId':_0x236a91,'src':_0x35a904,'sources':_0x1cbaf6,'width':_0x2d9f44,'height':_0x86d09c},_0x232a45);_0x4a32ca['setSelection'](_0x232a45,'on');});}async['_getImageAsFile'](_0x1a1b65){const _0x4230dd=_0x45162b['window'],_0x35e504=_0x45162b['document']['location']['href'],_0x223a0f=new _0x4230dd['URL'](_0x1a1b65['getAttribute']('src'),_0x35e504);if('data:'===_0x223a0f['protocol']){const _0xfe0cd3=_0x223a0f['href']['split'](','),_0x1ea4a9=_0xfe0cd3[0x0]['match'](/:(.*?);/)[0x1],_0x43eff4=_0x1ea4a9['split']('/')[0x1],_0x410a7d=_0x4230dd['atob'](_0xfe0cd3[_0xfe0cd3['length']-0x1]);let _0x5703eb=_0x410a7d['length'];const _0x7b7ebc=new _0x4230dd['Uint8Array'](_0x5703eb);for(;_0x5703eb--;)_0x7b7ebc[_0x5703eb]=_0x410a7d['charCodeAt'](_0x5703eb);return new _0x4230dd['File']([_0x7b7ebc],'image.'+_0x43eff4,{'type':_0x1ea4a9});}const _0x5246ef=_0x223a0f['href']['split']('/'),_0x371d07=_0x5246ef[_0x5246ef['length']-0x1],_0x52acb2=_0x371d07['split']('.')[0x1];return _0x4230dd['fetch'](_0x223a0f['href'])['then'](_0x2b4674=>_0x2b4674['clone']()['blob']())['then'](_0x300b13=>new _0x4230dd['File']([_0x300b13],_0x371d07,{'type':'image/'+_0x52acb2}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5253(){const _0x2eb744=['3886515MgAvTw','384141bMOKhU','163280NFAIeg','11KfhZTK','bindTemplate','imageSrc','image-edit','7598ZLYrpU','537gtmoCR','setTemplate','uc-light','5684292Evptdn','4DwFEbf','195970fVxeSn','ck-uploadcare-theme','set','uc-cloud-image-editor','9tOmsmA','1245138FlkWgz','7eJThIB'];_0x5253=function(){return _0x2eb744;};return _0x5253();}(function(_0xc3ae65,_0x166965){const _0x40edc0=_0xb3d2,_0xc10832=_0xc3ae65();while(!![]){try{const _0x43c7bf=-parseInt(_0x40edc0(0xb3))/0x1+-parseInt(_0x40edc0(0xb9))/0x2*(-parseInt(_0x40edc0(0xba))/0x3)+parseInt(_0x40edc0(0xbe))/0x4*(parseInt(_0x40edc0(0xc6))/0x5)+-parseInt(_0x40edc0(0xc4))/0x6*(parseInt(_0x40edc0(0xc5))/0x7)+parseInt(_0x40edc0(0xb4))/0x8+parseInt(_0x40edc0(0xc3))/0x9*(-parseInt(_0x40edc0(0xbf))/0xa)+parseInt(_0x40edc0(0xb5))/0xb*(-parseInt(_0x40edc0(0xbd))/0xc);if(_0x43c7bf===_0x166965)break;else _0xc10832['push'](_0xc10832['shift']());}catch(_0x12cdff){_0xc10832['push'](_0xc10832['shift']());}}}(_0x5253,0x5fe4e));import{View as _0x1f6972}from'ckeditor5/src/ui.js';function _0xb3d2(_0x5722fb,_0x4070a2){const _0x52539d=_0x5253();return _0xb3d2=function(_0xb3d24d,_0x5c8f3c){_0xb3d24d=_0xb3d24d-0xb3;let _0x20d67d=_0x52539d[_0xb3d24d];return _0x20d67d;},_0xb3d2(_0x5722fb,_0x4070a2);}export class UploadcareImageEditFormEditingView extends _0x1f6972{constructor(_0x4f90be,_0xc98ac0){const _0x301815=_0xb3d2;super(_0x4f90be);const _0x4f929d=this[_0x301815(0xb6)];this[_0x301815(0xc1)](_0x301815(0xb7),''),this[_0x301815(0xbb)]({'tag':_0x301815(0xc2),'attributes':{..._0xc98ac0,'class':[_0x301815(0xbc),_0x301815(0xc0)],'ctx-name':_0x301815(0xb8),'cdn-url':_0x4f929d['to'](_0x301815(0xb7))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{IconError as
|
|
23
|
+
import{IconError as _0x4426a9}from'ckeditor5/src/icons.js';import{ButtonView as _0x580513,IconView as _0x58e3fb,View as _0x48a4c6}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x48a4c6{constructor(_0x304247){super(_0x304247);const t=_0x304247['t'];this['set']('errorType',null);const _0x21f360=new _0x580513(_0x304247);_0x21f360['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x21f360['withText']=!0x0,_0x21f360['class']='ck-button-action',_0x21f360['on']('execute',()=>{this['fire']('retry');}),_0x21f360['bind']('isVisible')['to'](this,'errorType',_0x2f4b2a=>'NotFound'!==_0x2f4b2a);const _0x1b4bb0=new _0x58e3fb();_0x1b4bb0['content']=_0x4426a9,_0x1b4bb0['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xfc2d2=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':[_0x1b4bb0,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xfc2d2['to']('errorType',_0x603e56=>t('NotFound'!==_0x603e56?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x21f360]},{'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 _0x593bc5,View as _0x2563dc}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2563dc{constructor(_0x508c7a){super(_0x508c7a);const t=_0x508c7a['t'],_0x5412cd=this['bindTemplate'],_0x277479=new _0x593bc5();_0x277479['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':[_0x277479,{'text':_0x5412cd['to']('imageUploadProgress',_0x552bc3=>t('Loading\x20image...')+'\x20('+(_0x552bc3||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 _0x368dc6=_0x2222;function _0x2222(_0x501c8f,_0x356b82){const _0x3bdc25=_0x3bdc();return _0x2222=function(_0x222219,_0x552b4b){_0x222219=_0x222219-0x1c8;let _0x354d0a=_0x3bdc25[_0x222219];return _0x354d0a;},_0x2222(_0x501c8f,_0x356b82);}(function(_0x17720e,_0x3a958f){const _0x317ba6=_0x2222,_0x4aec8f=_0x17720e();while(!![]){try{const _0x3fd98e=parseInt(_0x317ba6(0x1fd))/0x1*(-parseInt(_0x317ba6(0x1d6))/0x2)+-parseInt(_0x317ba6(0x1dc))/0x3*(-parseInt(_0x317ba6(0x1d0))/0x4)+parseInt(_0x317ba6(0x1eb))/0x5*(-parseInt(_0x317ba6(0x1cc))/0x6)+parseInt(_0x317ba6(0x1cd))/0x7*(-parseInt(_0x317ba6(0x1d2))/0x8)+parseInt(_0x317ba6(0x1ef))/0x9+-parseInt(_0x317ba6(0x1dd))/0xa+parseInt(_0x317ba6(0x1f6))/0xb;if(_0x3fd98e===_0x3a958f)break;else _0x4aec8f['push'](_0x4aec8f['shift']());}catch(_0x5902bb){_0x4aec8f['push'](_0x4aec8f['shift']());}}}(_0x3bdc,0x89a14));import{View as _0x1c9c59}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x38245a}from'./uploadcareimageeditformloadingview.js';function _0x3bdc(){const _0x20ae6d=['_editingView','filter','div','set','addMany','1046238kTnmhQ','930027cxOdiT','_addUploadcareImageEditorListeners','cdnUrl','27528LgEtym','clear','32ydOswl','nodeName','_loadingView','change:status','33062oOXmNT','observe','focus','_focusableView','length','cancel','333UavdLd','7830810CqcySL','toLowerCase','_waitForImageEditorComponent','render','retry','uploading','error','addEventListener','_setView','setTemplate','addedNodes','apply','getFocusableElement','once','15pEMnLV','ck-uploadcare-form','ready','createCollection','4099518HhrEQP','element','add','status','target','detail','_addErrorViewListeners','21911901HDJasZ','fire','ck-reset_all-excluded','querySelector','_errorView','disconnect','_items','49gjlwHv','uc-cloud-image-editor'];_0x3bdc=function(){return _0x20ae6d;};return _0x3bdc();}import{UploadcareImageEditFormErrorView as _0x3efc59}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x170491}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0xc4ee25}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0xc4ee25{[_0x368dc6(0x1fc)];[_0x368dc6(0x1d4)];[_0x368dc6(0x1fa)];[_0x368dc6(0x1ff)];[_0x368dc6(0x1d9)];constructor(_0x51ccb0,_0xf55c9d,_0x66027f){const _0xac082=_0x368dc6;super(_0x51ccb0),this[_0xac082(0x1fc)]=this[_0xac082(0x1ee)](),this[_0xac082(0x1d4)]=new _0x38245a(_0x51ccb0),this[_0xac082(0x1fa)]=new _0x3efc59(_0x51ccb0),this[_0xac082(0x1ff)]=new _0x170491(_0x51ccb0,_0x66027f),this[_0xac082(0x1d9)]=new _0x1c9c59(_0x51ccb0),this[_0xac082(0x1d9)][_0xac082(0x1e6)](this[_0xac082(0x1e9)]()),this[_0xac082(0x1ca)](_0xac082(0x1f2),_0xf55c9d),this[_0xac082(0x1e6)]({'tag':_0xac082(0x1c9),'attributes':{'class':['ck',_0xac082(0x1f8),_0xac082(0x1ec)],'tabindex':'-1'},'children':this[_0xac082(0x1fc)]}),this[_0xac082(0x1e5)](),this[_0xac082(0x1ea)](_0xac082(0x1e0),()=>{const _0x52f9f0=_0xac082;this[_0x52f9f0(0x1df)](this[_0x52f9f0(0x1f0)],_0x569c3e=>{const _0x242dfa=_0x52f9f0;this[_0x242dfa(0x1ce)](_0x569c3e);});}),this['on'](_0xac082(0x1d5),()=>{const _0x11d4d8=_0xac082;this[_0x11d4d8(0x1e5)]();}),this[_0xac082(0x1f5)]();}[_0x368dc6(0x1d8)](){const _0xce68aa=_0x368dc6;this[_0xce68aa(0x1f0)][_0xce68aa(0x1d8)]();}[_0x368dc6(0x1e5)](){const _0x89d92=_0x368dc6;switch(this[_0x89d92(0x1fc)][_0x89d92(0x1d1)](),this[_0x89d92(0x1f2)]){case _0x89d92(0x1e2):this[_0x89d92(0x1fc)][_0x89d92(0x1f1)](this[_0x89d92(0x1d4)]);break;case _0x89d92(0x1e3):this[_0x89d92(0x1fc)][_0x89d92(0x1f1)](this[_0x89d92(0x1fa)]);break;case _0x89d92(0x1ed):this[_0x89d92(0x1fc)][_0x89d92(0x1cb)]([this[_0x89d92(0x1ff)],this[_0x89d92(0x1d9)]]);}}[_0x368dc6(0x1df)](_0x307de8,_0x18e865){const _0x34b133=_0x368dc6,_0x364d9b=_0x34b133(0x1fe),_0x101d2d=_0x307de8[_0x34b133(0x1f9)](_0x364d9b);if(_0x101d2d)return _0x18e865(_0x101d2d);const _0x24fcdc=new MutationObserver(_0x3897e4=>{const _0x4bd64b=_0x34b133,_0x144d79=_0x3897e4[_0x4bd64b(0x1c8)](_0x2e46f9=>_0x2e46f9[_0x4bd64b(0x1f3)]===_0x307de8&&_0x2e46f9[_0x4bd64b(0x1e7)][_0x4bd64b(0x1da)]>0x0&&_0x2e46f9[_0x4bd64b(0x1e7)][0x0][_0x4bd64b(0x1d3)][_0x4bd64b(0x1de)]()===_0x364d9b);_0x144d79[_0x4bd64b(0x1da)]&&(_0x24fcdc[_0x4bd64b(0x1fb)](),_0x18e865(_0x144d79[0x0][_0x4bd64b(0x1e7)][0x0]));});_0x24fcdc[_0x34b133(0x1d7)](_0x307de8,{'childList':!0x0,'subtree':!0x0});}[_0x368dc6(0x1ce)](_0x4adf93){const _0x929687=_0x368dc6;_0x4adf93[_0x929687(0x1e4)](_0x929687(0x1e8),_0x53de1e=>{const _0x3511a9=_0x929687;this[_0x3511a9(0x1f7)](_0x3511a9(0x1e8),{'imageSrc':_0x53de1e[_0x3511a9(0x1f4)][_0x3511a9(0x1cf)]});}),_0x4adf93[_0x929687(0x1e4)](_0x929687(0x1db),()=>{const _0x239674=_0x929687;this[_0x239674(0x1f7)](_0x239674(0x1db));});}[_0x368dc6(0x1f5)](){const _0x4722cb=_0x368dc6;this[_0x4722cb(0x1fa)]['on'](_0x4722cb(0x1e1),()=>{const _0x4e140e=_0x4722cb;this[_0x4e140e(0x1f7)](_0x4e140e(0x1e1));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3aad19=_0x5e70;function _0x5063(){const _0x2dd987=['_isEditable','plugins','542157bNvJzB','imageBlock','5fWmmzE','1812884QSTpOt','editor','466717Tnoeqk','refresh','document','390924WiFhux','execute','4241664ymshyK','isEnabled','getSelectedElement','element','isActive','6296768UgQptl','imageEditController','requires','unbind','1459056NuqMPR','get','4APmbIc','bind','config','model','selection','set','uploadcare.allowExternalImagesEditing','imageInline'];_0x5063=function(){return _0x2dd987;};return _0x5063();}(function(_0x581509,_0x9ef005){const _0x22182e=_0x5e70,_0x2f0192=_0x581509();while(!![]){try{const _0x22f215=-parseInt(_0x22182e(0x1bb))/0x1*(-parseInt(_0x22182e(0x1ac))/0x2)+-parseInt(_0x22182e(0x1aa))/0x3+-parseInt(_0x22182e(0x1b9))/0x4*(-parseInt(_0x22182e(0x1b8))/0x5)+parseInt(_0x22182e(0x1c0))/0x6+parseInt(_0x22182e(0x1b6))/0x7+-parseInt(_0x22182e(0x1c5))/0x8+-parseInt(_0x22182e(0x1be))/0x9;if(_0x22f215===_0x9ef005)break;else _0x2f0192['push'](_0x2f0192['shift']());}catch(_0x3d02be){_0x2f0192['push'](_0x2f0192['shift']());}}}(_0x5063,0xd0896));import{Command as _0x57fb3e}from'ckeditor5/src/core.js';import{Dialog as _0x249448}from'ckeditor5/src/ui.js';function _0x5e70(_0x373579,_0x3398c0){const _0x50639b=_0x5063();return _0x5e70=function(_0x5e7047,_0x15b088){_0x5e7047=_0x5e7047-0x1a8;let _0x497a9b=_0x50639b[_0x5e7047];return _0x497a9b;},_0x5e70(_0x373579,_0x3398c0);}import{UploadcareImageEditController as _0x3fc247}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x557cbf}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x57fb3e{[_0x3aad19(0x1c6)];static get[_0x3aad19(0x1a8)](){return[_0x249448];}[_0x3aad19(0x1b4)];constructor(_0x5051b0){const _0x3815a8=_0x3aad19;super(_0x5051b0),this[_0x3815a8(0x1c6)]=void 0x0,this[_0x3815a8(0x1b4)]=_0x557cbf(_0x5051b0[_0x3815a8(0x1ae)][_0x3815a8(0x1ab)](_0x3815a8(0x1b2))||[]),this[_0x3815a8(0x1b1)]({'isActive':!0x1});}[_0x3aad19(0x1bc)](){const _0xe696f1=_0x3aad19,_0x413ec7=this[_0xe696f1(0x1ba)][_0xe696f1(0x1af)][_0xe696f1(0x1bd)][_0xe696f1(0x1b0)][_0xe696f1(0x1c2)]();this[_0xe696f1(0x1c1)]=this[_0xe696f1(0x1b4)](_0x413ec7);}[_0x3aad19(0x1bf)](){const _0x31a7eb=_0x3aad19;this[_0x31a7eb(0x1c6)]&&(this[_0x31a7eb(0x1a9)](_0x31a7eb(0x1c4)),this[_0x31a7eb(0x1c6)]=void 0x0);const _0x54f46a=this[_0x31a7eb(0x1ba)][_0x31a7eb(0x1af)][_0x31a7eb(0x1bd)][_0x31a7eb(0x1b0)][_0x31a7eb(0x1c2)]();_0x54f46a&&(_0x54f46a['is'](_0x31a7eb(0x1c3),_0x31a7eb(0x1b7))||_0x54f46a['is'](_0x31a7eb(0x1c3),_0x31a7eb(0x1b3)))&&(this[_0x31a7eb(0x1c6)]=new _0x3fc247(this[_0x31a7eb(0x1ba)],this[_0x31a7eb(0x1ba)][_0x31a7eb(0x1b5)][_0x31a7eb(0x1ab)](_0x249448),_0x54f46a),this[_0x31a7eb(0x1ad)](_0x31a7eb(0x1c4))['to'](this[_0x31a7eb(0x1c6)],_0x31a7eb(0x1c4)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5c17(){const _0x2acb44=['uploadcareImageEdit','2078170viWpYa','UploadcareImageEditEditing','4524552DGTqKr','5426918oYeOQc','add','9218952vbHsSO','pluginName','2532345rNJUBx','requires','45KdXoPe','commands','isOfficialPlugin','uploadcareImageReplace','ImageUtils','627666ogObQD','ImageEditing','init','isPremiumPlugin','123020BAjLQf'];_0x5c17=function(){return _0x2acb44;};return _0x5c17();}const _0x1a32f3=_0x4bdb;(function(_0x22d8ea,_0x4b0a14){const _0x1045b1=_0x4bdb,_0x8a89f4=_0x22d8ea();while(!![]){try{const _0x2f9c5c=parseInt(_0x1045b1(0x102))/0x1+-parseInt(_0x1045b1(0x104))/0x2+-parseInt(_0x1045b1(0x10b))/0x3+parseInt(_0x1045b1(0x106))/0x4+-parseInt(_0x1045b1(0xf9))/0x5*(-parseInt(_0x1045b1(0xfe))/0x6)+-parseInt(_0x1045b1(0x107))/0x7+parseInt(_0x1045b1(0x109))/0x8;if(_0x2f9c5c===_0x4b0a14)break;else _0x8a89f4['push'](_0x8a89f4['shift']());}catch(_0x50eed8){_0x8a89f4['push'](_0x8a89f4['shift']());}}}(_0x5c17,0xa8590));import{Plugin as _0x59b265}from'ckeditor5/src/core.js';import{Notification as _0x28d39e}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x37abfd}from'./uploadcareimageeditcommand.js';function _0x4bdb(_0x16dfbc,_0x2a7a19){const _0x5c173e=_0x5c17();return _0x4bdb=function(_0x4bdb56,_0x246a3b){_0x4bdb56=_0x4bdb56-0xf9;let _0x2b520e=_0x5c173e[_0x4bdb56];return _0x2b520e;},_0x4bdb(_0x16dfbc,_0x2a7a19);}import{UploadcareImageReplaceCommand as _0x290629}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2f3197}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x59b265{static get[_0x1a32f3(0x10a)](){const _0x2f098a=_0x1a32f3;return _0x2f098a(0x105);}static get[_0x1a32f3(0x10c)](){const _0x39a560=_0x1a32f3;return[_0x2f3197,_0x28d39e,_0x39a560(0xfd),_0x39a560(0xff)];}static get[_0x1a32f3(0xfb)](){return!0x0;}static get[_0x1a32f3(0x101)](){return!0x0;}[_0x1a32f3(0x100)](){const _0x2e74da=_0x1a32f3,{editor:_0x378459}=this;_0x378459[_0x2e74da(0xfa)][_0x2e74da(0x108)](_0x2e74da(0x103),new _0x37abfd(_0x378459)),_0x378459[_0x2e74da(0xfa)][_0x2e74da(0x108)](_0x2e74da(0xfc),new _0x290629(_0x378459));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1bbd11}from'ckeditor5/src/core.js';import{ButtonView as _0x4c6cd1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x289753}from'ckeditor5/src/icons.js';import{createElement as _0x3ce2ec}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x1bbd11{['_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 _0x7c4ee6=this['editor'];_0x7c4ee6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x35a193=>{const _0x122fa9=_0x7c4ee6['commands']['get']('uploadcareImageEdit'),_0x4b57a2=new _0x4c6cd1(_0x35a193),t=_0x35a193['t'];return _0x4b57a2['set']({'icon':_0x289753,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4b57a2['bind']('isEnabled')['to'](_0x122fa9),_0x4b57a2['bind']('isOn')['to'](_0x122fa9,'isActive'),this['listenTo'](_0x4b57a2,'execute',()=>{_0x7c4ee6['execute']('uploadcareImageEdit'),_0x7c4ee6['editing']['view']['focus']();}),_0x4b57a2;}),this['_initConfig']();}['_initConfig'](){const _0x1e1766=_0x3ce2ec(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1e1766),this['listenTo'](this['editor'],'destroy',()=>{_0x1e1766['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xd2c992=_0x20e9;(function(_0x4ab508,_0x80937a){const _0x5e0020=_0x20e9,_0x1843e6=_0x4ab508();while(!![]){try{const _0x4a10ae=-parseInt(_0x5e0020(0xad))/0x1+-parseInt(_0x5e0020(0xac))/0x2+-parseInt(_0x5e0020(0xa3))/0x3+-parseInt(_0x5e0020(0xa7))/0x4+-parseInt(_0x5e0020(0xa8))/0x5+parseInt(_0x5e0020(0xa2))/0x6+-parseInt(_0x5e0020(0xb4))/0x7*(-parseInt(_0x5e0020(0xab))/0x8);if(_0x4a10ae===_0x80937a)break;else _0x1843e6['push'](_0x1843e6['shift']());}catch(_0x41bef6){_0x1843e6['push'](_0x1843e6['shift']());}}}(_0x5bcf,0x9e421));import{Command as _0x4d9ebf}from'ckeditor5/src/core.js';function _0x5bcf(){const _0x380c7a=['execute','getSelectedElement','29491kbYlaZ','sizes','model','removeAttribute','change','imageBlock','5849490djMhlS','2290803vcEZpd','document','imageInline','editor','1831280fyROlF','3703395dUELLb','srcset','isEnabled','5992OfeSVC','1589502zlDoSm','725376kOryKx','element','selection','refresh','setAttributes'];_0x5bcf=function(){return _0x380c7a;};return _0x5bcf();}function _0x20e9(_0x3493e7,_0x37be69){const _0x5bcf8d=_0x5bcf();return _0x20e9=function(_0x20e98b,_0x5066f2){_0x20e98b=_0x20e98b-0xa0;let _0x2b35c5=_0x5bcf8d[_0x20e98b];return _0x2b35c5;},_0x20e9(_0x3493e7,_0x37be69);}export class UploadcareImageReplaceCommand extends _0x4d9ebf{[_0xd2c992(0xb0)](){const _0x25d2f1=_0xd2c992,_0x5eb65d=this[_0x25d2f1(0xa6)][_0x25d2f1(0xb6)][_0x25d2f1(0xa4)][_0x25d2f1(0xaf)][_0x25d2f1(0xb3)]();this[_0x25d2f1(0xaa)]=Boolean(_0x5eb65d&&(_0x5eb65d['is'](_0x25d2f1(0xae),_0x25d2f1(0xa1))||_0x5eb65d['is'](_0x25d2f1(0xae),_0x25d2f1(0xa5))));}[_0xd2c992(0xb2)](_0x5afae9){const _0x1678db=_0xd2c992,_0x5a178f=this[_0x1678db(0xa6)][_0x1678db(0xb6)][_0x1678db(0xa4)][_0x1678db(0xaf)][_0x1678db(0xb3)]();this[_0x1678db(0xa6)][_0x1678db(0xb6)][_0x1678db(0xa0)](_0x1ef9fb=>{const _0x4841f3=_0x1678db;_0x1ef9fb[_0x4841f3(0xb1)](_0x5afae9,_0x5a178f),_0x1ef9fb[_0x4841f3(0xb7)](_0x4841f3(0xa9),_0x5a178f),_0x1ef9fb[_0x4841f3(0xb7)](_0x4841f3(0xb5),_0x5a178f);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xb63071=_0x4274;function _0x4274(_0x5cba91,_0xabb886){var _0x209e28=_0x209e();return _0x4274=function(_0x427484,_0x46bebe){_0x427484=_0x427484-0xfd;var _0x3e70a3=_0x209e28[_0x427484];return _0x3e70a3;},_0x4274(_0x5cba91,_0xabb886);}(function(_0x5c5836,_0x313726){var _0x118df6=_0x4274,_0x1b7983=_0x5c5836();while(!![]){try{var _0x4ae468=-parseInt(_0x118df6(0x105))/0x1*(-parseInt(_0x118df6(0x108))/0x2)+parseInt(_0x118df6(0xff))/0x3+-parseInt(_0x118df6(0x106))/0x4+-parseInt(_0x118df6(0x109))/0x5+parseInt(_0x118df6(0x103))/0x6+-parseInt(_0x118df6(0x102))/0x7*(-parseInt(_0x118df6(0xfe))/0x8)+parseInt(_0x118df6(0xfd))/0x9*(-parseInt(_0x118df6(0x100))/0xa);if(_0x4ae468===_0x313726)break;else _0x1b7983['push'](_0x1b7983['shift']());}catch(_0x169014){_0x1b7983['push'](_0x1b7983['shift']());}}}(_0x209e,0xdb432));import{Plugin as _0x4e5059}from'ckeditor5/src/core.js';function _0x209e(){var _0x28527b=['UploadcareImageEdit','2513246IhWNGX','4698070ycckBE','isOfficialPlugin','isPremiumPlugin','115497iCRdLt','8qpQaVd','4302660drPqFr','2300HkNcig','pluginName','8502109HWyQNE','7055574lDkWiD','requires','1FFqHiZ','1168228zrvQnj'];_0x209e=function(){return _0x28527b;};return _0x209e();}import{UploadcareImageEditEditing as _0xc47503}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x25e699}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x4e5059{static get[_0xb63071(0x101)](){var _0x102109=_0xb63071;return _0x102109(0x107);}static get[_0xb63071(0x104)](){return[_0xc47503,_0x25e699];}static get[_0xb63071(0x10a)](){return!0x0;}static get[_0xb63071(0x10b)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a23dd=_0xe39d;(function(_0x757d1f,_0xf50112){const _0x259a29=_0xe39d,_0x157a8e=_0x757d1f();while(!![]){try{const _0x54c211=parseInt(_0x259a29(0x164))/0x1*(-parseInt(_0x259a29(0x141))/0x2)+parseInt(_0x259a29(0x14a))/0x3+parseInt(_0x259a29(0x142))/0x4+-parseInt(_0x259a29(0x163))/0x5*(parseInt(_0x259a29(0x173))/0x6)+parseInt(_0x259a29(0x151))/0x7+-parseInt(_0x259a29(0x146))/0x8+parseInt(_0x259a29(0x13d))/0x9*(parseInt(_0x259a29(0x143))/0xa);if(_0x54c211===_0xf50112)break;else _0x157a8e['push'](_0x157a8e['shift']());}catch(_0x116aa4){_0x157a8e['push'](_0x157a8e['shift']());}}}(_0x4414,0x421f0));import{Plugin as _0x13f922}from'ckeditor5/src/core.js';import{IconDropbox as _0x3848ff,IconFacebook as _0x39aa99,IconGoogleDrive as _0x2a526f,IconGooglePhotos as _0x25ddff,IconUploadcareImageUpload as _0x301116,IconUploadcareLink as _0x29787a,IconOneDrive as _0xbc8a51}from'ckeditor5/src/icons.js';import{ButtonView as _0xac7c06,MenuBarMenuListItemButtonView as _0x263af6}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x13d5fa}from'./uploadcareconfig.js';import{getTranslation as _0x544f30}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0xe39d(_0xe5262a,_0x598f88){const _0x4414d3=_0x4414();return _0xe39d=function(_0xe39d8c,_0x31dd75){_0xe39d8c=_0xe39d8c-0x138;let _0x2e121b=_0x4414d3[_0xe39d8c];return _0x2e121b;},_0xe39d(_0xe5262a,_0x598f88);}import'../theme/uploadcareimageedit.css';function _0x4414(){const _0xfdcd5f=['uploadcareLicenseKeyTrialLimit','destroy','label','reduce','_createMenuBarButtons','plugins','config','registerIntegration','_createToolbarButton','url','forEach','18oyILjR','uploadcareLicenseKeyNotAllowed','trialLimit','uploadcareLicenseKeyValid','194AnMtvN','224732qdrhhq','608830oSVIEh','afterInit','_showLicenseError','256152neUgHu','uploadcareLicenseKeyInvalid','assetManager','invalid','951825PhISav','Uploadcare','entries','withText','bind','UploadcareUI','GPhotos','2922577HurvDJ','locale','upload','Facebook','isEnabled','pluginName','text','isImageSelected','Insert','Dropbox','editor','OneDrive','uploadcareLicenseKeyUsageLimit','push','isOfficialPlugin','execute','uploadcareLicenseKeyEvaluationLimit','has','5AcYkFT','1567yYaQGo','licenseKey','domainLimit','type','URL','commands','get','tooltip','shortText','_normalizeConfigSourceList','icon','_licenseKeyCheckInterval','GDrive','map','expired','2747310ibfnZu','Local','uploadcare','isPremiumPlugin','uploadcareLicenseKeyDomainLimit','featureNotAllowed','Replace','evaluationLimit','init','_createButton','usageLimit','_createDropdownButtons','ImageInsertUI','uploadcareLicenseKeyExpired','uploadcare.uploader.sourceList','_getIntegrationKey'];_0x4414=function(){return _0xfdcd5f;};return _0x4414();}export class UploadcareUI extends _0x13f922{[_0x5a23dd(0x165)];[_0x5a23dd(0x16f)];static get[_0x5a23dd(0x156)](){const _0x33431b=_0x5a23dd;return _0x33431b(0x14f);}static get[_0x5a23dd(0x15f)](){return!0x0;}static get[_0x5a23dd(0x176)](){return!0x0;}[_0x5a23dd(0x17b)](){const _0x56e27a=_0x5a23dd;this[_0x56e27a(0x165)]=this[_0x56e27a(0x15b)][_0x56e27a(0x138)][_0x56e27a(0x16a)](_0x56e27a(0x165));const _0x57b391=this[_0x56e27a(0x15b)];this[_0x56e27a(0x16f)]=setInterval(()=>{const _0x3270ed=_0x56e27a;let _0x4eb459;for(const _0x1558ec in _0x57b391){const _0x113d1a=_0x1558ec,_0x5a73ab=_0x57b391[_0x113d1a];if(_0x3270ed(0x140)==_0x5a73ab||_0x3270ed(0x147)==_0x5a73ab||_0x3270ed(0x180)==_0x5a73ab||_0x3270ed(0x177)==_0x5a73ab||_0x3270ed(0x13e)==_0x5a73ab||_0x3270ed(0x161)==_0x5a73ab||_0x3270ed(0x183)==_0x5a73ab||_0x3270ed(0x15d)==_0x5a73ab){delete _0x57b391[_0x113d1a],_0x4eb459=_0x5a73ab,clearInterval(this[_0x3270ed(0x16f)]),this[_0x3270ed(0x16f)]=void 0x0;break;}}_0x3270ed(0x147)==_0x4eb459&&_0x57b391[_0x3270ed(0x145)](_0x3270ed(0x149)),_0x3270ed(0x180)==_0x4eb459&&_0x57b391[_0x3270ed(0x145)](_0x3270ed(0x172)),_0x3270ed(0x177)==_0x4eb459&&_0x57b391[_0x3270ed(0x145)](_0x3270ed(0x166)),_0x3270ed(0x13e)==_0x4eb459&&_0x57b391[_0x3270ed(0x145)](_0x3270ed(0x178),_0x3270ed(0x14b)),_0x3270ed(0x161)==_0x4eb459&&_0x57b391[_0x3270ed(0x145)](_0x3270ed(0x17a)),_0x3270ed(0x183)==_0x4eb459&&_0x57b391[_0x3270ed(0x145)](_0x3270ed(0x13f)),_0x3270ed(0x15d)==_0x4eb459&&_0x57b391[_0x3270ed(0x145)](_0x3270ed(0x17d));},0x3e8);}[_0x5a23dd(0x144)](){const _0x32141e=_0x5a23dd,{editor:_0x57d983}=this,_0x55c8aa=_0x57d983[_0x32141e(0x169)][_0x32141e(0x16a)](_0x32141e(0x175));if(!_0x55c8aa)return;const _0x437558=this[_0x32141e(0x16d)](_0x57d983[_0x32141e(0x138)][_0x32141e(0x16a)](_0x32141e(0x181)))[_0x32141e(0x186)]((_0xebf580,_0x145c49)=>{const _0x161e1a=_0x32141e,_0x29eb0b=this[_0x161e1a(0x182)](_0x145c49[_0x161e1a(0x167)]);return _0xebf580[_0x29eb0b]||(_0xebf580[_0x29eb0b]=[]),_0xebf580[_0x29eb0b][_0x161e1a(0x15e)](_0x145c49),_0xebf580;},{});_0x57d983[_0x32141e(0x188)][_0x32141e(0x162)](_0x32141e(0x17f))&&_0x57d983[_0x32141e(0x169)][_0x32141e(0x16a)](_0x32141e(0x175))&&Object[_0x32141e(0x14c)](_0x437558)[_0x32141e(0x13c)](([_0x5922c0,_0x36896a])=>{const _0x28d2cf=_0x32141e;_0x57d983[_0x28d2cf(0x188)][_0x28d2cf(0x16a)](_0x28d2cf(0x17f))[_0x28d2cf(0x139)]({'name':_0x5922c0,'observable':()=>_0x55c8aa,'buttonViewCreator':()=>this[_0x28d2cf(0x13a)](_0x36896a),'formViewCreator':()=>this[_0x28d2cf(0x17e)](_0x36896a),'menuBarButtonViewCreator':()=>this[_0x28d2cf(0x187)](_0x36896a),'override':_0x28d2cf(0x148)!==_0x5922c0});});}[_0x5a23dd(0x184)](){const _0x210fb5=_0x5a23dd;super[_0x210fb5(0x184)](),this[_0x210fb5(0x16f)]&&clearInterval(this[_0x210fb5(0x16f)]);}[_0x5a23dd(0x16d)](_0x429f8d){const _0x5cc1ba=_0x5a23dd,{locale:_0x13975f}=this[_0x5cc1ba(0x15b)];return _0x429f8d[_0x5cc1ba(0x171)](_0xc3a8fe=>{const _0x39a23c=_0x5cc1ba,_0x15f342=_0x544f30(_0x13975f,_0xc3a8fe,_0x39a23c(0x159));switch(_0xc3a8fe){case _0x13d5fa[_0x39a23c(0x174)]:return{'icon':_0x301116,'type':_0x13d5fa[_0x39a23c(0x174)],..._0x15f342};case _0x13d5fa[_0x39a23c(0x168)]:return{'icon':_0x29787a,'type':_0x13d5fa[_0x39a23c(0x168)],..._0x15f342};case _0x13d5fa[_0x39a23c(0x15a)]:return{'icon':_0x3848ff,'type':_0x13d5fa[_0x39a23c(0x15a)],..._0x15f342};case _0x13d5fa[_0x39a23c(0x154)]:return{'icon':_0x39aa99,'type':_0x13d5fa[_0x39a23c(0x154)],..._0x15f342};case _0x13d5fa[_0x39a23c(0x170)]:return{'icon':_0x2a526f,'type':_0x13d5fa[_0x39a23c(0x170)],..._0x15f342};case _0x13d5fa[_0x39a23c(0x150)]:return{'icon':_0x25ddff,'type':_0x13d5fa[_0x39a23c(0x150)],..._0x15f342};case _0x13d5fa[_0x39a23c(0x15c)]:return{'icon':_0xbc8a51,'type':_0x13d5fa[_0x39a23c(0x15c)],..._0x15f342};}});}[_0x5a23dd(0x182)](_0x457a5a){const _0x27d625=_0x5a23dd;switch(_0x457a5a){case _0x13d5fa[_0x27d625(0x174)]:return _0x27d625(0x153);case _0x13d5fa[_0x27d625(0x168)]:return _0x27d625(0x13b);default:return _0x27d625(0x148);}}[_0x5a23dd(0x17c)](_0x358a67,_0x2ccfe7){const _0x14fcf3=_0x5a23dd,_0x5e3e7b=this[_0x14fcf3(0x15b)],_0x4ccf81=new _0x358a67(_0x5e3e7b[_0x14fcf3(0x152)]),_0x303a25=_0x5e3e7b[_0x14fcf3(0x169)][_0x14fcf3(0x16a)](_0x14fcf3(0x175));return _0x4ccf81[_0x14fcf3(0x14e)](_0x14fcf3(0x155))['to'](_0x303a25),_0x4ccf81['on'](_0x14fcf3(0x160),()=>{const _0x3d3265=_0x14fcf3;_0x303a25[_0x3d3265(0x160)](_0x2ccfe7);}),_0x4ccf81;}[_0x5a23dd(0x13a)](_0x38482d){const _0x4a179b=_0x5a23dd,{locale:_0xefb6d1}=this[_0x4a179b(0x15b)],_0x4f18b5=this[_0x4a179b(0x15b)][_0x4a179b(0x188)][_0x4a179b(0x16a)](_0x4a179b(0x17f)),_0x11feb1=_0x38482d[0x0],_0x40722c=this[_0x4a179b(0x17c)](_0xac7c06,_0x11feb1[_0x4a179b(0x167)]);return _0x40722c[_0x4a179b(0x16e)]=_0x11feb1[_0x4a179b(0x16e)],_0x40722c[_0x4a179b(0x14e)](_0x4a179b(0x185))['to'](_0x4f18b5,_0x4a179b(0x158),_0x38ed24=>_0x544f30(_0xefb6d1,_0x11feb1[_0x4a179b(0x167)],_0x38ed24?_0x4a179b(0x179):_0x4a179b(0x159))[_0x4a179b(0x157)]),_0x40722c[_0x4a179b(0x16b)]=!0x0,_0x40722c;}[_0x5a23dd(0x17e)](_0x2754db){const _0x3a11aa=_0x5a23dd,{locale:_0x3008ed}=this[_0x3a11aa(0x15b)],_0x3c70a1=this[_0x3a11aa(0x15b)][_0x3a11aa(0x188)][_0x3a11aa(0x16a)](_0x3a11aa(0x17f));return _0x2754db[_0x3a11aa(0x171)](_0x2ed754=>{const _0x46b903=_0x3a11aa,_0x234410=this[_0x46b903(0x17c)](_0xac7c06,_0x2ed754[_0x46b903(0x167)]);return _0x234410[_0x46b903(0x14d)]=!0x0,_0x234410[_0x46b903(0x16e)]=_0x2ed754[_0x46b903(0x16e)],_0x234410[_0x46b903(0x14e)](_0x46b903(0x185))['to'](_0x3c70a1,_0x46b903(0x158),_0x5a9513=>_0x544f30(_0x3008ed,_0x2ed754[_0x46b903(0x167)],_0x5a9513?_0x46b903(0x179):_0x46b903(0x159))[_0x46b903(0x157)]),_0x234410;});}[_0x5a23dd(0x187)](_0x44df56){const _0x60afe1=_0x5a23dd;return _0x44df56[_0x60afe1(0x171)](_0x3c9856=>{const _0x2db620=_0x60afe1,_0x17d24a=this[_0x2db620(0x17c)](_0x263af6,_0x3c9856[_0x2db620(0x167)]);return _0x17d24a[_0x2db620(0x16e)]=_0x3c9856[_0x2db620(0x16e)],_0x17d24a[_0x2db620(0x185)]=_0x3c9856[_0x2db620(0x16c)],_0x17d24a;});}}
|