@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250318.0 → 0.0.0-nightly-20250319.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3451e6,Command as _0x3cbfb6}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x16ef7d,IconGooglePhotos as _0x3dd8b1,IconGoogleDrive as _0x1cba7d,IconFacebook as _0x432c87,IconDropbox as _0x230cef,IconUploadcareLink as _0xe86684,IconUploadcareImageUpload as _0x5d96c0,IconError as et,IconUploadcareImageEdit as _0x4a4cd0}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1f72bc,MenuBarMenuListItemButtonView as _0x1dbe95,View as _0x13de72,FocusCycler as _0x2e1c11,Dialog as _0x58116a,DialogViewPosition as _0x2a5e5c,SpinnerView as _0x2c4921,IconView as at,Notification as _0x37fc51}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x41f5cb,DomEmitterMixin as _0x53509c,global as _0xf019ef,getAncestors as _0x4961a7,ObservableMixin as _0x3d8cda,createElement as _0x105b8d,uid as _0x27b714}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x33aab8}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xde04b7,info as _0x6dd400}from'@uploadcare/upload-client';import*as _0x2470da from'@uploadcare/file-uploader';var o=function(_0x4a3499){return _0x4a3499['Local']='local',_0x4a3499['URL']='url',_0x4a3499['Dropbox']='dropbox',_0x4a3499['GDrive']='gdrive',_0x4a3499['Facebook']='facebook',_0x4a3499['GPhotos']='gphotos',_0x4a3499['OneDrive']='onedrive',_0x4a3499;}({});function _(_0x5b1f06,_0x55edc5,_0x55311e){const t=_0x5b1f06['t'],_0x4cee97=_0x5b1f06['t'];switch(_0x55edc5){case o['Local']:return{'text':_0x4cee97('Insert'===_0x55311e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4cee97('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x55311e?_0x4cee97('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4cee97('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x55311e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x55311e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x55311e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x55311e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x55311e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x55edc5;}}class e extends _0x3451e6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x25bf76=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x51622a;for(const _0x20cdca in _0x25bf76){const _0x2b936b=_0x20cdca,_0x1c02a3=_0x25bf76[_0x2b936b];if('uploadcareLicenseKeyValid'==_0x1c02a3||'uploadcareLicenseKeyInvalid'==_0x1c02a3||'uploadcareLicenseKeyExpired'==_0x1c02a3||'uploadcareLicenseKeyDomainLimit'==_0x1c02a3||'uploadcareLicenseKeyNotAllowed'==_0x1c02a3||'uploadcareLicenseKeyEvaluationLimit'==_0x1c02a3||'uploadcareLicenseKeyTrialLimit'==_0x1c02a3||'uploadcareLicenseKeyUsageLimit'==_0x1c02a3){delete _0x25bf76[_0x2b936b],_0x51622a=_0x1c02a3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x51622a&&_0x25bf76['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x51622a&&_0x25bf76['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x51622a&&_0x25bf76['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x51622a&&_0x25bf76['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x51622a&&_0x25bf76['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x51622a&&_0x25bf76['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x51622a&&_0x25bf76['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xd9bc65}=this,_0x2ed15b=_0xd9bc65['commands']['get']('uploadcare');if(!_0x2ed15b)return;const _0x35bc1c=this['_normalizeConfigSourceList'](_0xd9bc65['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x28783b,_0x331f4f)=>{const _0x37978b=this['_getIntegrationKey'](_0x331f4f['type']);return _0x28783b[_0x37978b]||(_0x28783b[_0x37978b]=[]),_0x28783b[_0x37978b]['push'](_0x331f4f),_0x28783b;},{});_0xd9bc65['plugins']['has']('ImageInsertUI')&&_0xd9bc65['commands']['get']('uploadcare')&&Object['entries'](_0x35bc1c)['forEach'](([_0x4a1c8d,_0xfc4638])=>{_0xd9bc65['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4a1c8d,'observable':()=>_0x2ed15b,'buttonViewCreator':()=>this['_createToolbarButton'](_0xfc4638),'formViewCreator':()=>this['_createDropdownButtons'](_0xfc4638),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xfc4638),'override':'assetManager'!==_0x4a1c8d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x349d8c){const {locale:_0x5b03ff}=this['editor'];return _0x349d8c['map'](_0xe44a8f=>{const _0x231ba8=_(_0x5b03ff,_0xe44a8f,'Insert');switch(_0xe44a8f){case o['Local']:return{'icon':_0x5d96c0,'type':o['Local'],..._0x231ba8};case o['URL']:return{'icon':_0xe86684,'type':o['URL'],..._0x231ba8};case o['Dropbox']:return{'icon':_0x230cef,'type':o['Dropbox'],..._0x231ba8};case o['Facebook']:return{'icon':_0x432c87,'type':o['Facebook'],..._0x231ba8};case o['GDrive']:return{'icon':_0x1cba7d,'type':o['GDrive'],..._0x231ba8};case o['GPhotos']:return{'icon':_0x3dd8b1,'type':o['GPhotos'],..._0x231ba8};case o['OneDrive']:return{'icon':_0x16ef7d,'type':o['OneDrive'],..._0x231ba8};}});}['_getIntegrationKey'](_0x5b897f){switch(_0x5b897f){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5247dd,_0x36f8ba){const _0x30d153=this['editor'],_0xe2f57d=new _0x5247dd(_0x30d153['locale']),_0x2ba211=_0x30d153['commands']['get']('uploadcare');return _0xe2f57d['bind']('isEnabled')['to'](_0x2ba211),_0xe2f57d['on']('execute',()=>{_0x2ba211['execute'](_0x36f8ba);}),_0xe2f57d;}['_createToolbarButton'](_0x587994){const {locale:_0xbb0167}=this['editor'],_0x59d37f=this['editor']['plugins']['get']('ImageInsertUI'),_0xe022ee=_0x587994[0x0],_0x5d9aa9=this['_createButton'](_0x1f72bc,_0xe022ee['type']);return _0x5d9aa9['icon']=_0xe022ee['icon'],_0x5d9aa9['bind']('label')['to'](_0x59d37f,'isImageSelected',_0x4db785=>_(_0xbb0167,_0xe022ee['type'],_0x4db785?'Replace':'Insert')['text']),_0x5d9aa9['tooltip']=!0x0,_0x5d9aa9;}['_createDropdownButtons'](_0x352415){const {locale:_0x513607}=this['editor'],_0x4d9eb7=this['editor']['plugins']['get']('ImageInsertUI');return _0x352415['map'](_0x4c1415=>{const _0x450c51=this['_createButton'](_0x1f72bc,_0x4c1415['type']);return _0x450c51['withText']=!0x0,_0x450c51['icon']=_0x4c1415['icon'],_0x450c51['bind']('label')['to'](_0x4d9eb7,'isImageSelected',_0x30fb62=>_(_0x513607,_0x4c1415['type'],_0x30fb62?'Replace':'Insert')['text']),_0x450c51;});}['_createMenuBarButtons'](_0x584513){return _0x584513['map'](_0x28a355=>{const _0x292038=this['_createButton'](_0x1dbe95,_0x28a355['type']);return _0x292038['icon']=_0x28a355['icon'],_0x292038['label']=_0x28a355['shortText'],_0x292038;});}}class q extends _0x13de72{['focusTracker'];['focusCycler'];constructor(_0x416bf5){super(_0x416bf5),this['focusTracker']=new _0x41f5cb(),this['focusCycler']=new _0x2e1c11({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x230fe4){super(_0x230fe4),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x3b44d8,_0x279f93){const _0x2d85df=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x349cda=>_0x349cda<=_0x279f93)['map'](_0x3bfb53=>_0x3b44d8['replace'](/\/$/,'')+'/-/resize/'+_0x3bfb53+'x/\x20'+_0x3bfb53+'w');return{'imageFallbackUrl':_0x3b44d8,'imageSources':[{'srcset':_0x2d85df['join'](',\x20'),'sizes':'(max-width:\x20'+_0x279f93+'px)\x20100vw,\x20'+_0x279f93+'px','type':'image/webp'}]};}function A(_0x3fcc9f,_0x4c2c51,_0x4b4662){const _0x3f3091=_0x3fcc9f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3f3091?parseInt(_0x3f3091[0x1],0xa):_0x4c2c51,'height':_0x3f3091?parseInt(_0x3f3091[0x2],0xa):_0x4b4662};}function m(_0x84f7f8,_0x3829ba){const _0x2f98aa=Object['create'](_0x53509c),_0x1518a3=_0x84f7f8['plugins']['get']('ImageUtils'),_0x4445aa=_0x84f7f8['editing']['mapper']['toViewElement'](_0x3829ba),_0x21ae34=_0x1518a3['findViewImgElement'](_0x4445aa),_0x5ab2e7=_0x84f7f8['editing']['view']['domConverter']['viewToDom'](_0x21ae34),_0x5544e1=_0x3829ba['getAttribute']('width'),_0x549d11=_0x3829ba['getAttribute']('height'),_0x2c93b1='image-processing';_0x84f7f8['editing']['view']['change'](_0x3343e2=>{_0x3343e2['addClass'](_0x2c93b1,_0x4445aa),_0x3343e2['setStyle']('aspect-ratio',_0x5544e1+'/'+_0x549d11,_0x21ae34);}),_0x2f98aa['listenTo'](_0x5ab2e7,'load',()=>{_0x2f98aa['stopListening'](_0x5ab2e7,'load'),_0x84f7f8['editing']['view']['change'](_0x362603=>{_0x362603['removeClass'](_0x2c93b1,_0x4445aa),_0x362603['removeStyle']('aspect-ratio',_0x21ae34);});});}function V(_0x50c456){if(Array['isArray'](_0x50c456)){const _0x440644=_0x50c456['map'](V);return _0x58ef84=>_0x440644['some'](_0x258a15=>_0x258a15(_0x58ef84));}if('origin'==_0x50c456){const _0x85d941=_0xf019ef['window']['location']['origin'];return _0x1cec6f=>new URL(_0x1cec6f,_0xf019ef['document']['baseURI'])['origin']==_0x85d941;}return'function'==typeof _0x50c456?_0x50c456:_0x50c456 instanceof RegExp?_0x530b7b=>!(!_0x530b7b['match'](_0x50c456)&&!_0x530b7b['replace'](/^https?:\/\//,'')['match'](_0x50c456)):()=>!0x1;}function F(_0x99c43c,_0x9c7f5a){return _0x4961a7(_0x99c43c['target'])['includes'](_0x9c7f5a);}class l extends/* #__PURE__ -- @preserve */
24
- _0x3d8cda(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x1c7c35,_0x339100,_0x1c5dcd){super(),this['_editor']=_0x1c7c35,this['_editing']=_0x339100,this['_dialog']=_0x1c7c35['plugins']['get'](_0x58116a),this['_api']=_0x339100['ctxElement']['getAPI'](),this['_type']=_0x1c5dcd,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x133b14,model:_0x269467}=this['_editor'],_0x37f79c=_0x269467['document']['selection']['getSelectedElement'](),_0x24df94=_0x37f79c&&(_0x37f79c['is']('element','imageBlock')||_0x37f79c['is']('element','imageInline'));this['_formView']=new S(_0x133b14),this['_dialog']['show']({'id':'uploadCare','icon':_0x5d96c0,'title':_(_0x133b14,this['_type'],_0x24df94?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2a5e5c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3b7f6c=>!F(_0x3b7f6c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x484f5b}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3c6f29=>{const _0x4f1c32=_0x484f5b['length'];for(const _0x2de5c6 of _0x484f5b){const _0x5dff50=_0x2de5c6===_0x484f5b[_0x4f1c32-0x1],{cdnUrl:_0x119b73,fileInfo:_0x2b337c}=_0x2de5c6;if(!_0x119b73||!_0x2b337c)continue;const {width:_0x3077a2,height:_0x1775b1}=_0x2b337c['imageInfo'],_0x1873e7=A(_0x119b73,_0x3077a2,_0x1775b1),_0x107318=E(_0x119b73,_0x1873e7['width']),_0x406443={'id':_0x2b337c['uuid'],'type':'image','attributes':{'imageDimension':_0x1873e7,..._0x107318}};this['_insertAsset'](_0x406443,_0x5dff50,_0x3c6f29);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3f0d2c=>{'idle'===_0x3f0d2c['detail']['status']&&!_0x3f0d2c['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x46cee1,_0x13fa3e,_0x9bbcef){const _0x3459ac=this['_editor']['model']['document']['selection'],_0x16683a=_0x3459ac['getSelectedElement'](),_0x21571c=!(!_0x16683a||!_0x16683a['is']('element','imageInline'));_0x9bbcef['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x46cee1,_0x21571c),_0x13fa3e||_0x9bbcef['setSelection'](_0x3459ac['getLastPosition']());}['_insertImage'](_0xdbb6b1,_0x56bd99){const _0x1f8b9e=this['_editor'],{imageDimension:_0x1b6878,imageFallbackUrl:_0x4da306,imageSources:_0x5f2eaf}=_0xdbb6b1['attributes'];_0x1f8b9e['execute']('insertImage',{'imageType':_0x56bd99?'imageInline':null,'source':{'uploadcareImageId':_0xdbb6b1['id'],'src':_0x4da306,'sources':_0x5f2eaf,..._0x1b6878}});}}class n extends _0x3cbfb6{['_editing'];['_controller']=null;static get['requires'](){return[_0x58116a,i];}constructor(_0x4c60d3){super(_0x4c60d3),this['_editing']=_0x4c60d3['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x583701){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x583701);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x398b20,publicKey:_0x4a414c,signal:_0x4a8280,onProgress:_0x502980}){return _0xde04b7(_0x398b20,{'publicKey':_0x4a414c,'store':'auto','signal':_0x4a8280,'onProgress':_0x502980});}static['getInfo'](_0x2939ac,_0x44ee81){return _0x6dd400(_0x2939ac,_0x44ee81);}}class p extends _0x3451e6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x33aab8,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x52240a=this['editor'];if(!!!_0x52240a['config']['get']('uploadcare'))return;_0x52240a['plugins']['get'](_0x33aab8)['createUploadAdapter']=_0x481171=>new x(_0x481171,_0x52240a),_0x52240a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4e5da2,{imageElement:_0x13f07b,data:_0x3fa77f})=>{_0x52240a['model']['change'](_0x1d279b=>{_0x1d279b['setAttribute']('uploadcareImageId',_0x3fa77f['uploadcareImageId'],_0x13f07b);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x258d0c,_0x57194c){this['loader']=_0x258d0c,this['editor']=_0x57194c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x31b642=this['editor']['config']['get']('uploadcare.pubkey'),_0x51e4bb=await this['loader']['file'];return C['upload']({'file':_0x51e4bb,'publicKey':_0x31b642,'signal':this['controller']['signal'],'onProgress':_0x90bc32=>{_0x90bc32&&_0x90bc32['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x90bc32['value']);}})['then'](async _0x28dc6f=>{const {imageFallbackUrl:_0x44ef47,imageSources:_0x53940c}=E(_0x28dc6f['cdnUrl'],_0x28dc6f['imageInfo']['width']);return{'uploadcareImageId':_0x28dc6f['uuid'],'default':_0x44ef47,'sources':_0x53940c};})['catch'](()=>{const _0x71df8f=t('Cannot\x20upload\x20file:')+('\x20'+_0x51e4bb['name']+'.');return Promise['reject'](_0x71df8f);});}['abort'](){this['controller']['abort']();}}class i extends _0x3451e6{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x58116a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x562fe4=this['editor'];_0x562fe4['commands']['add']('uploadcare',new n(_0x562fe4));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x2b82a7=_0xf019ef['document']['querySelector']('input[uploadcare-file-input]');_0x2b82a7&&_0x2b82a7['remove']();}),async function(_0x543290){const _0x27c989=_0x5c528d([0x38,0x66,0x42,0x67,0x69,0x44,0x46,0x35,0x33,0x62,0x72,0x75,0x57,0x39,0x6c,0x34,0x49,0x47,0x4a,0x48,0x78,0x65,0x43,0x64,0x51,0x63,0x4b,0x70,0x6e,0x31,0x71,0x76,0x74,0x55,0x50,0x6a,0x6f,0x79,0x54,0x6b,0x56,0x7a,0x53,0x52,0x58,0x36,0x73,0x30,0x4c,0x59,0x32,0x4d,0x4e,0x68,0x77,0x4f,0x5a,0x37,0x61,0x41,0x45,0x6d]),_0x418411=0x1ac2f333,_0x586ef5=0x1ac5914b^_0x418411,_0x8488b0=window[_0x5c528d([0x44,0x61,0x74,0x65])][_0x5c528d([0x6e,0x6f,0x77])](),_0xc913b9=_0x543290[_0x5c528d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x20285a=new window[(_0x5c528d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c927d=>{_0xc913b9[_0x5c528d([0x6f,0x6e,0x63,0x65])](_0x5c528d([0x72,0x65,0x61,0x64,0x79]),_0x4c927d);}),_0x5aaa2f={[_0x5c528d([0x6b,0x74,0x79])]:_0x5c528d([0x45,0x43]),[_0x5c528d([0x75,0x73,0x65])]:_0x5c528d([0x73,0x69,0x67]),[_0x5c528d([0x63,0x72,0x76])]:_0x5c528d([0x50,0x2d,0x32,0x35,0x36]),[_0x5c528d([0x78])]:_0x5c528d([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]),[_0x5c528d([0x79])]:_0x5c528d([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]),[_0x5c528d([0x61,0x6c,0x67])]:_0x5c528d([0x45,0x53,0x32,0x35,0x36])},_0x5f59e2=_0xc913b9[_0x5c528d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c528d([0x67,0x65,0x74])](_0x5c528d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x585582(){let _0x6f3750,_0x426063=null,_0x50f864=null;try{if(_0x5f59e2==_0x5c528d([0x47,0x50,0x4c]))return _0x5c528d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6f3750=_0x2ffca0(),!_0x6f3750)return _0x5c528d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x6f3750[_0x5c528d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50f864=_0x186581(_0x6f3750[_0x5c528d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6f3750[_0x5c528d([0x6a,0x74,0x69])])),await _0x260e09()?_0xb5038b()?_0x406859()?_0x5c528d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c47be()?(_0x6f3750[_0x5c528d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c528d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x426063=_0x127ea0(_0x5c528d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x6f3750[_0x5c528d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c528d([0x74,0x72,0x69,0x61,0x6c])&&(_0x426063=_0x127ea0(_0x5c528d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x20a90f()):_0x5c528d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c528d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c528d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2b9c09){return _0x5c528d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x406859(){const _0x1006cf=[_0x5c528d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c528d([0x74,0x72,0x69,0x61,0x6c])][_0x5c528d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6f3750[_0x5c528d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x8488b0/0x3e8:0xe10*_0x586ef5;return _0x6f3750[_0x5c528d([0x65,0x78,0x70])]<_0x1006cf;}function _0xb5038b(){const _0x3a98f3=_0x6f3750[_0x5c528d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a98f3&&(!!_0x3a98f3[_0x5c528d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c528d([0x2a]))||!!_0x3a98f3[_0x5c528d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c528d([0x55,0x50,0x4c,0x43])));}function _0x2c47be(){const _0x16667f=_0x6f3750[_0x5c528d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x16667f||0x0==_0x16667f[_0x5c528d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3fa201}=new URL(window[_0x5c528d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x16667f[_0x5c528d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fa201))return!0x0;const _0x565459=_0x3fa201[_0x5c528d([0x73,0x70,0x6c,0x69,0x74])](_0x5c528d([0x2e]));return _0x16667f[_0x5c528d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f05d8=>_0x3f05d8[_0x5c528d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c528d([0x2a])))[_0x5c528d([0x6d,0x61,0x70])](_0x291da7=>_0x291da7[_0x5c528d([0x73,0x70,0x6c,0x69,0x74])](_0x5c528d([0x2e])))[_0x5c528d([0x73,0x6f,0x6d,0x65])](_0x6e19b9=>_0x565459[_0x5c528d([0x65,0x76,0x65,0x72,0x79])]((_0x11ee57,_0x35efdf)=>_0x6e19b9[_0x35efdf]===_0x11ee57||_0x6e19b9[_0x35efdf]===_0x5c528d([0x2a])));}function _0x20a90f(){return _0x426063&&_0x50f864?new window[(_0x5c528d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30b512,_0x3a00d7)=>{_0x426063[_0x5c528d([0x74,0x68,0x65,0x6e])](_0x30b512,_0x3a00d7),_0x50f864[_0x5c528d([0x74,0x68,0x65,0x6e])](_0x1960cc=>{_0x1960cc!=_0x5c528d([0x56,0x61,0x6c,0x69,0x64])&&_0x30b512(_0x1960cc);},_0x3a00d7);}):_0x426063||_0x50f864||_0x5c528d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x186581(_0x125961,_0x2a7b4e){return new window[(_0x5c528d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ad961=>{if(_0x47f25e())return _0x2ad961(_0x5c528d([0x56,0x61,0x6c,0x69,0x64]));_0x54bde2(),_0xc913b9[_0x5c528d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c528d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x48439c=!0x1;const _0x1bba30=_0x27b714();function _0x2ff550(_0x5f1642){return!!_0x5f1642&&(typeof _0x5f1642===_0x5c528d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f1642===_0x5c528d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f1642[_0x5c528d([0x74,0x68,0x65,0x6e])]===_0x5c528d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f1642[_0x5c528d([0x63,0x61,0x74,0x63,0x68])]===_0x5c528d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f60b4(_0x32f42a){_0x2f9c86(_0x32f42a)[_0x5c528d([0x74,0x68,0x65,0x6e])](_0x178c39=>{if(!_0x178c39||_0x178c39[_0x5c528d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c528d([0x6f,0x6b]))return _0x5c528d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x15c608(_0xd4ad0(_0x1bba30+_0x2a7b4e))!=_0x178c39[_0x5c528d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c528d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c528d([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c528d([0x74,0x68,0x65,0x6e])](_0x1af591=>(_0x18d901(),_0x1af591),()=>{const _0x3bbda0=_0x315860();return null==_0x3bbda0?(_0x18d901(),_0x5c528d([0x56,0x61,0x6c,0x69,0x64])):_0x5c528d(_0x8488b0-_0x3bbda0>(0x3ece7733^_0x418411)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c528d([0x74,0x68,0x65,0x6e])](_0x2ad961)[_0x5c528d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2ad961(_0x5c528d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2d282a=0x1af41db3^_0x418411;function _0x18d901(){const _0x59377b=_0x5c528d([0x6c,0x6c,0x63,0x74,0x2d])+_0x15c608(_0xd4ad0(_0x125961)),_0x56f356=_0x226b4f(_0x15c608(window[_0x5c528d([0x4d,0x61,0x74,0x68])][_0x5c528d([0x63,0x65,0x69,0x6c])](_0x8488b0/_0x2d282a)));window[_0x5c528d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c528d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59377b,_0x56f356);}function _0x315860(){const _0x3497e5=_0x5c528d([0x6c,0x6c,0x63,0x74,0x2d])+_0x15c608(_0xd4ad0(_0x125961)),_0x2b48ae=window[_0x5c528d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c528d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3497e5);return _0x2b48ae?window[_0x5c528d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x226b4f(_0x2b48ae),0x10)*_0x2d282a:null;}function _0x2f9c86(_0x2437f5){return new window[(_0x5c528d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5aea7e,_0x30c09c)=>{_0x2437f5[_0x5c528d([0x74,0x68,0x65,0x6e])](_0x5aea7e,_0x30c09c),window[_0x5c528d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x30c09c,0x1ac327f3^_0x418411);});}}_0xc913b9[_0x5c528d([0x6f,0x6e])](_0x5c528d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x71d8a6,_0x1b8f0e)=>{if(_0x1b8f0e[0x0]!=_0x125961)return _0x2ad961(_0x5c528d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b8f0e[0x1]={..._0x1b8f0e[0x1],[_0x5c528d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1bba30};},{[_0x5c528d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c528d([0x68,0x69,0x67,0x68])}),_0xc913b9[_0x5c528d([0x6f,0x6e])](_0x5c528d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19cd55=>{_0x2ff550(_0x19cd55[_0x5c528d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x48439c=!0x0,_0x4f60b4(_0x19cd55[_0x5c528d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c528d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c528d([0x6c,0x6f,0x77])}),_0x20285a[_0x5c528d([0x74,0x68,0x65,0x6e])](()=>{_0x48439c||_0x2ad961(_0x5c528d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47f25e(){return _0xc913b9[_0x5c528d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c528d([0x76,0x69,0x65,0x77])][_0x5c528d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c528d([0x61,0x75,0x74,0x6f]);}function _0x54bde2(){_0xc913b9[_0x5c528d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c528d([0x76,0x69,0x65,0x77])][_0x5c528d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c528d([0x61,0x75,0x74,0x6f]);}}function _0x127ea0(_0x3f99fc){const _0x27396a=[new window[(_0x5c528d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f6680=>setTimeout(_0x1f6680,0x1acbcdff^_0x418411)),_0x20285a[_0x5c528d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c528d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e48c4=>{let _0x5679b3=0x0;_0xc913b9[_0x5c528d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c528d([0x6f,0x6e])](_0x5c528d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f324e,_0x8d4e74)=>{_0x8d4e74[0x0][_0x5c528d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5679b3++,_0x5679b3==(0x1ac2f2cb^_0x418411)&&(_0x1e48c4(),_0x3f324e[_0x5c528d([0x6f,0x66,0x66])]());});}))];return window[_0x5c528d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c528d([0x72,0x61,0x63,0x65])](_0x27396a)[_0x5c528d([0x74,0x68,0x65,0x6e])](()=>_0x3f99fc);}async function _0x3f4a0a(){await _0x20285a,_0xc913b9[_0x5c528d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c528d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5d59db,_0xc913b9[_0x5c528d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c528d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5d59db,_0xc913b9[_0x5c528d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c528d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x46f463(_0x1f4115){const _0x466564=_0x2d98f4();_0xc913b9[_0x466564]=_0x5c528d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f4115,_0x1f4115!=_0x5c528d([0x56,0x61,0x6c,0x69,0x64])&&_0x3f4a0a();}function _0x2d98f4(){const _0x15e2f2=window[_0x5c528d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c528d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c528d([0x6e,0x6f,0x77])]())[_0x5c528d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c528d([0x2e]),'');let _0x4adc29=_0x5c528d([0x66]);for(let _0x35eaad=0x0;_0x35eaad<_0x15e2f2[_0x5c528d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35eaad+=0x2){let _0x3a7b12=window[_0x5c528d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15e2f2[_0x5c528d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35eaad,_0x35eaad+0x2));_0x3a7b12>=_0x27c989[_0x5c528d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a7b12-=_0x27c989[_0x5c528d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4adc29+=_0x27c989[_0x3a7b12];}return _0x4adc29;}function _0x2ffca0(){const _0x485f50=_0x5f59e2[_0x5c528d([0x73,0x70,0x6c,0x69,0x74])](_0x5c528d([0x2e]));if(0x3!=_0x485f50[_0x5c528d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46ab74(_0x485f50[0x1]);function _0x46ab74(_0x3a2a33){const _0x56faca=_0x276bfc(_0x3a2a33);return _0x56faca&&_0x581174()?_0x56faca:null;function _0x581174(){const _0x54b04d=_0x56faca[_0x5c528d([0x6a,0x74,0x69])],_0x279c73=window[_0x5c528d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54b04d[_0x5c528d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54b04d[_0x5c528d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d8370={..._0x56faca,[_0x5c528d([0x6a,0x74,0x69])]:_0x54b04d[_0x5c528d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x54b04d[_0x5c528d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d8370[_0x5c528d([0x76,0x63])],_0xd4ad0(_0x4d8370)==_0x279c73;}}}async function _0x260e09(){let _0x370eb3=!0x0;try{const _0x1e9f4b=_0x5f59e2[_0x5c528d([0x73,0x70,0x6c,0x69,0x74])](_0x5c528d([0x2e])),[_0x1b1bbf,_0x8e25cf,_0x1497e9]=_0x1e9f4b;return _0x3f88e6(_0x1b1bbf),await _0x151a54(_0x1b1bbf,_0x8e25cf,_0x1497e9),_0x370eb3;}catch(_0x2dcd31){return!0x1;}function _0x3f88e6(_0x56f954){const _0x592354=_0x276bfc(_0x56f954);_0x592354&&_0x592354[_0x5c528d([0x61,0x6c,0x67])]==_0x5c528d([0x45,0x53,0x32,0x35,0x36])||(_0x370eb3=!0x1);}async function _0x151a54(_0x3274b5,_0x546ce3,_0x5923c6){const _0x54fb08=window[_0x5c528d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c528d([0x66,0x72,0x6f,0x6d])](_0x47f0fd(_0x5923c6),_0x256577=>_0x256577[_0x5c528d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x292f30=new window[(_0x5c528d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c528d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3274b5+_0x5c528d([0x2e])+_0x546ce3),_0x45cf0b=window[_0x5c528d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c528d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x45cf0b)return;const _0x390bef=await _0x45cf0b[_0x5c528d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c528d([0x6a,0x77,0x6b]),_0x5aaa2f,{[_0x5c528d([0x6e,0x61,0x6d,0x65])]:_0x5c528d([0x45,0x43,0x44,0x53,0x41]),[_0x5c528d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c528d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c528d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x45cf0b[_0x5c528d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c528d([0x6e,0x61,0x6d,0x65])]:_0x5c528d([0x45,0x43,0x44,0x53,0x41]),[_0x5c528d([0x68,0x61,0x73,0x68])]:{[_0x5c528d([0x6e,0x61,0x6d,0x65])]:_0x5c528d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x390bef,_0x54fb08,_0x292f30)||(_0x370eb3=!0x1);}}function _0x276bfc(_0x3e6120){return _0x3e6120[_0x5c528d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c528d([0x65,0x79]))?JSON[_0x5c528d([0x70,0x61,0x72,0x73,0x65])](_0x47f0fd(_0x3e6120)):null;}function _0x47f0fd(_0x3ceb02){return window[_0x5c528d([0x61,0x74,0x6f,0x62])](_0x3ceb02[_0x5c528d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c528d([0x2b]))[_0x5c528d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c528d([0x2f])));}function _0xd4ad0(_0x4b8d8e){let _0x54a94a=0x1505;function _0x7fbff5(_0x536595){for(let _0x2990e7=0x0;_0x2990e7<_0x536595[_0x5c528d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2990e7++){const _0x3136aa=_0x536595[_0x5c528d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2990e7);_0x54a94a=(_0x54a94a<<0x5)+_0x54a94a+_0x3136aa,_0x54a94a&=_0x54a94a;}}function _0x3b7d62(_0x210355){Array[_0x5c528d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x210355)?_0x210355[_0x5c528d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b7d62):_0x210355&&typeof _0x210355==_0x5c528d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c528d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x210355)[_0x5c528d([0x73,0x6f,0x72,0x74])]()[_0x5c528d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x32b5c4,_0xbc55bc])=>{_0x7fbff5(_0x32b5c4),_0x3b7d62(_0xbc55bc);}):_0x7fbff5(window[_0x5c528d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x210355));}return _0x3b7d62(_0x4b8d8e),_0x54a94a>>>0x0;}function _0x15c608(_0x575255){return _0x575255[_0x5c528d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c528d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c528d([0x30]));}function _0x226b4f(_0x4fca27){return _0x4fca27[_0x5c528d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c528d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c528d([0x6a,0x6f,0x69,0x6e])]('');}function _0x5d59db(){}function _0x5c528d(_0x12b70e){return _0x12b70e['map'](_0x4be351=>String['fromCharCode'](_0x4be351))['join']('');}_0x46f463(await _0x585582());}(this);}['_initSchema'](){const _0x121f03=this['editor']['model']['schema'];_0x121f03['isRegistered']('imageBlock')&&_0x121f03['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x121f03['isRegistered']('imageInline')&&_0x121f03['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1e9fd5=this['editor'];_0x1e9fd5['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1e9fd5['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2b0130=>_0x2b0130['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3fb34e=_0x1e9fd5['commands']['get']('replaceImageSource');_0x3fb34e&&this['listenTo'](_0x3fb34e,'cleanupImage',(_0x5e3436,[_0x9a5b4e,_0x3528ac])=>{_0x9a5b4e['removeAttribute']('uploadcareImageId',_0x3528ac);});}['_initConfig'](){const _0xde7cb3=this['editor']['config']['get']('uploadcare.uploader')||{},_0x26c6a3=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x105b8d(_0xf019ef['document'],'uc-config',{..._0xde7cb3,'pubkey':_0x26c6a3,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\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'}),this['_configElement']['iconHrefResolver']=_0x930618=>{if('closeMax'==_0x930618)return'#uc-icon-arrow-down';},_0xf019ef['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x105b8d(_0xf019ef['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0xf019ef['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2a1d76=this['editor']['commands']['get']('insertImage');_0x2a1d76&&this['listenTo'](_0x2a1d76,'execute',()=>{const _0x35f8c5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x35f8c5&&_0x35f8c5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x35f8c5);});});const _0x4b149d=this['editor']['commands']['get']('uploadcareImageReplace');_0x4b149d&&this['listenTo'](_0x4b149d,'execute',()=>{const _0x5d6a0b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5d6a0b&&_0x5d6a0b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x5d6a0b);});});}}class u extends _0x3451e6{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x585ef1){super(_0x585ef1),_0x585ef1['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x2470da['defineComponents'](_0x2470da);}}class ta extends _0x13de72{constructor(_0x5269d5){super(_0x5269d5);const t=_0x5269d5['t'],_0x1dfa70=this['bindTemplate'],_0x10f885=new _0x2c4921();_0x10f885['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':[_0x10f885,{'text':_0x1dfa70['to']('imageUploadProgress',_0x56778b=>t('Loading\x20image...')+'\x20('+(_0x56778b||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'}]}]}]});}}class rt extends _0x13de72{constructor(_0x3a0071){super(_0x3a0071);const t=_0x3a0071['t'];this['set']('errorType',null);const _0xecfe20=new _0x1f72bc(_0x3a0071);_0xecfe20['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xecfe20['withText']=!0x0,_0xecfe20['class']='ck-button-action',_0xecfe20['on']('execute',()=>{this['fire']('retry');}),_0xecfe20['bind']('isVisible')['to'](this,'errorType',_0x45bd3c=>'NotFound'!==_0x45bd3c);const _0x209ca8=new at();_0x209ca8['content']=et,_0x209ca8['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3936dd=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':[_0x209ca8,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3936dd['to']('errorType',_0x16cf82=>t('NotFound'!==_0x16cf82?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xecfe20]},{'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'}]}]}]});}}class tt extends _0x13de72{constructor(_0x24b3d1,_0x3f8602){super(_0x24b3d1);const _0x510b61=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3f8602,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x510b61['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3292d3,_0x554eed,_0x196606){super(_0x3292d3),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x3292d3),this['_errorView']=new rt(_0x3292d3),this['_editingView']=new tt(_0x3292d3,_0x196606),this['_focusableView']=new _0x13de72(_0x3292d3),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x554eed),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x569b06=>{this['_addUploadcareImageEditorListeners'](_0x569b06);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x3f1e0f,_0x16442c){const _0x16247a='uc-cloud-image-editor',_0x2cc969=_0x3f1e0f['querySelector'](_0x16247a);if(_0x2cc969)return _0x16442c(_0x2cc969);const _0x1201f6=new MutationObserver(_0x2c5dec=>{const _0x54d410=_0x2c5dec['filter'](_0x49ac9e=>_0x49ac9e['target']===_0x3f1e0f&&_0x49ac9e['addedNodes']['length']>0x0&&_0x49ac9e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x16247a);_0x54d410['length']&&(_0x1201f6['disconnect'](),_0x16442c(_0x54d410[0x0]['addedNodes'][0x0]));});_0x1201f6['observe'](_0x3f1e0f,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x111a38){_0x111a38['addEventListener']('apply',_0xc91432=>{this['fire']('apply',{'imageSrc':_0xc91432['detail']['cdnUrl']});}),_0x111a38['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x3d8cda(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x582507,_0x1e894e,_0x33a333){super(),this['_editor']=_0x582507,this['_dialog']=_0x1e894e,this['_imageElement']=_0x33a333,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 _0x541363=this['_imageElement'],_0x4e6e80=_0x541363['getAttribute']('uploadcareImageId'),_0x2168f1=_0x541363['getAttribute']('src');if(_0x4e6e80)await this['_loadImageInfo'](_0x4e6e80,_0x2168f1);else{if(this['_imageCache']['has'](_0x2168f1)){const _0x168b2e=this['_imageCache']['get'](_0x2168f1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x168b2e['url'],this['imageDimension']=_0x168b2e['dimension'],this['imageId']=_0x168b2e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x299a8c}=this['_editor'],t=_0x299a8c['t'],_0x245ac0=new Z(_0x299a8c,this['imageStatus'],this['_attributes']);_0x245ac0['bind']('status')['to'](this,'imageStatus'),_0x245ac0['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x245ac0['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x245ac0['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x245ac0,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4a4cd0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x245ac0,'position':_0x2a5e5c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x245ac0['focus']();},'onHide':()=>{_0x245ac0['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x42f1c8=>!F(_0x42f1c8,_0x245ac0['element'])}});}['_loadImageInfo'](_0x5a9e03,_0x12c142){return C['getInfo'](_0x5a9e03,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xf11431=>{const {width:_0x5a48a5,height:_0x5146d5}=_0xf11431['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x12c142,this['imageDimension']={'width':_0x5a48a5,'height':_0x5146d5},this['imageId']=_0x5a9e03;})['catch'](_0x2be855=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2be855['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4bfbf0,_0x5448d1){return this['_getImageAsFile'](_0x4bfbf0)['then'](_0x2e5577=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5448d1['signal'],'file':_0x2e5577,'onProgress':_0x58fdcc=>{_0x58fdcc&&_0x58fdcc['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x58fdcc['value']));}}))['then'](_0x4bae2c=>{const {width:_0x1b7b38,height:_0x30de46}=_0x4bae2c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4bae2c['cdnUrl'],this['imageDimension']={'width':_0x1b7b38,'height':_0x30de46},this['imageId']=_0x4bae2c['uuid'],this['imageUploadProgress']=null;const _0x51c0ac=_0x4bfbf0['getAttribute']('src');this['_imageCache']['set'](_0x51c0ac,{'id':_0x4bae2c['uuid'],'url':_0x4bae2c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3d9fa7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3d9fa7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3258df,_0x48d608){_0x3258df['on']('apply',(_0x33f79b,_0xa9a85b)=>{this['_replaceImage'](_0x48d608,_0xa9a85b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3258df['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3258df['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2571d1,_0x3e71c7,_0x563028){const _0x5a5acf=this['_editor'],{width:_0x4f2d35,height:_0xfc55aa}=A(_0x3e71c7,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xbd177b,imageSources:_0x3d048a}=E(_0x3e71c7,_0x4f2d35);_0x5a5acf['model']['change'](_0x350978=>{if('$graveyard'===_0x2571d1['root']['rootName']){_0x5a5acf['execute']('insertImage',{'imageType':_0x2571d1['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2571d1['getAttributes']()),'uploadcareImageId':_0x563028,'src':_0xbd177b,'sources':_0x3d048a,'width':_0x4f2d35,'height':_0xfc55aa}});const _0x14169c=_0x2571d1['getChildren']();_0x2571d1=_0x5a5acf['model']['document']['selection']['getSelectedElement']();for(const _0x13518b of _0x14169c)_0x350978['append'](_0x350978['cloneElement'](_0x13518b),_0x2571d1);}else _0x350978['setSelection'](_0x2571d1,'on'),_0x5a5acf['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2571d1['getAttributes']()),'uploadcareImageId':_0x563028,'src':_0xbd177b,'sources':_0x3d048a,'width':_0x4f2d35,'height':_0xfc55aa},_0x2571d1);_0x350978['setSelection'](_0x2571d1,'on');});}async['_getImageAsFile'](_0x9e28fd){const _0x29d5e8=_0xf019ef['window'],_0x3ef1e6=_0xf019ef['document']['location']['href'],_0x2d5a07=new _0x29d5e8['URL'](_0x9e28fd['getAttribute']('src'),_0x3ef1e6);if('data:'===_0x2d5a07['protocol']){const _0x32d9b9=_0x2d5a07['href']['split'](','),_0x194172=_0x32d9b9[0x0]['match'](/:(.*?);/)[0x1],_0x4ed6c6=_0x194172['split']('/')[0x1],_0x368421=_0x29d5e8['atob'](_0x32d9b9[_0x32d9b9['length']-0x1]);let _0x57a243=_0x368421['length'];const _0x5e1390=new _0x29d5e8['Uint8Array'](_0x57a243);for(;_0x57a243--;)_0x5e1390[_0x57a243]=_0x368421['charCodeAt'](_0x57a243);return new _0x29d5e8['File']([_0x5e1390],'image.'+_0x4ed6c6,{'type':_0x194172});}const _0x10e489=_0x2d5a07['href']['split']('/'),_0x1be686=_0x10e489[_0x10e489['length']-0x1],_0x28a41b=_0x1be686['split']('.')[0x1];return _0x29d5e8['fetch'](_0x2d5a07['href'])['then'](_0xe416bf=>_0xe416bf['clone']()['blob']())['then'](_0x28f9a4=>new _0x29d5e8['File']([_0x28f9a4],_0x1be686,{'type':'image/'+_0x28a41b}));}}class J extends _0x3cbfb6{['imageEditController'];static get['requires'](){return[_0x58116a];}['_isEditable'];constructor(_0x29b614){super(_0x29b614),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x49445e){const _0x43d226=V(_0x49445e);return _0x4de5af=>!(!_0x4de5af||!_0x4de5af['is']('element','imageBlock')&&!_0x4de5af['is']('element','imageInline'))&&(!!_0x4de5af['hasAttribute']('uploadcareImageId')||!!_0x4de5af['hasAttribute']('src')&&_0x43d226(_0x4de5af['getAttribute']('src')));}(_0x29b614['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1b2b37=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1b2b37);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1dffee=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1dffee&&(_0x1dffee['is']('element','imageBlock')||_0x1dffee['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x58116a),_0x1dffee),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x3cbfb6{['refresh'](){const _0x3e3605=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3e3605&&(_0x3e3605['is']('element','imageBlock')||_0x3e3605['is']('element','imageInline')));}['execute'](_0x47e9d6){const _0x1a14b4=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2b8372=>{_0x2b8372['setAttributes'](_0x47e9d6,_0x1a14b4),_0x2b8372['removeAttribute']('srcset',_0x1a14b4),_0x2b8372['removeAttribute']('sizes',_0x1a14b4);});}}class g extends _0x3451e6{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x37fc51,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5134f}=this;_0x5134f['commands']['add']('uploadcareImageEdit',new J(_0x5134f)),_0x5134f['commands']['add']('uploadcareImageReplace',new O(_0x5134f));}}class j extends _0x3451e6{['_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 _0x22d888=this['editor'];_0x22d888['ui']['componentFactory']['add']('uploadcareImageEdit',_0x254f03=>{const _0x366334=_0x22d888['commands']['get']('uploadcareImageEdit'),_0x33fd13=new _0x1f72bc(_0x254f03),t=_0x254f03['t'];return _0x33fd13['set']({'icon':_0x4a4cd0,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x33fd13['bind']('isEnabled')['to'](_0x366334),_0x33fd13['bind']('isOn')['to'](_0x366334,'isActive'),this['listenTo'](_0x33fd13,'execute',()=>{_0x22d888['execute']('uploadcareImageEdit'),_0x22d888['editing']['view']['focus']();}),_0x33fd13;}),this['_initConfig']();}['_initConfig'](){const _0x4e2955=_0x105b8d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4e2955),this['listenTo'](this['editor'],'destroy',()=>{_0x4e2955['remove']();});}}class P extends _0x3451e6{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x4f7166,Command as _0x2ca77c}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3d14b5,IconGooglePhotos as _0x31b713,IconGoogleDrive as _0x1da66a,IconFacebook as _0x581732,IconDropbox as _0x4e03d4,IconUploadcareLink as _0x3a4f2a,IconUploadcareImageUpload as _0x48a872,IconError as et,IconUploadcareImageEdit as _0x50aa2f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xe8f4c3,MenuBarMenuListItemButtonView as _0xef246b,View as _0x11e024,FocusCycler as _0x2a08b9,Dialog as _0x24d3e1,DialogViewPosition as _0x5504d5,SpinnerView as _0xe21f89,IconView as at,Notification as _0x55de86}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x39dd11,DomEmitterMixin as _0x43b187,global as _0x4a962c,getAncestors as _0x292381,ObservableMixin as _0x187acf,createElement as _0x45f08f,uid as _0x476316}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1004a3}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3a2605,info as _0x2dd811}from'@uploadcare/upload-client';import*as _0x534462 from'@uploadcare/file-uploader';var o=function(_0x3d76fe){return _0x3d76fe['Local']='local',_0x3d76fe['URL']='url',_0x3d76fe['Dropbox']='dropbox',_0x3d76fe['GDrive']='gdrive',_0x3d76fe['Facebook']='facebook',_0x3d76fe['GPhotos']='gphotos',_0x3d76fe['OneDrive']='onedrive',_0x3d76fe;}({});function _(_0x264504,_0x27645f,_0x123793){const t=_0x264504['t'],_0x5a9441=_0x264504['t'];switch(_0x27645f){case o['Local']:return{'text':_0x5a9441('Insert'===_0x123793?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5a9441('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x123793?_0x5a9441('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5a9441('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x123793?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x123793?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x123793?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x123793?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x123793?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x27645f;}}class e extends _0x4f7166{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xe48771=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42a20a;for(const _0x4b9a94 in _0xe48771){const _0x4f4952=_0x4b9a94,_0x2f498e=_0xe48771[_0x4f4952];if('uploadcareLicenseKeyValid'==_0x2f498e||'uploadcareLicenseKeyInvalid'==_0x2f498e||'uploadcareLicenseKeyExpired'==_0x2f498e||'uploadcareLicenseKeyDomainLimit'==_0x2f498e||'uploadcareLicenseKeyNotAllowed'==_0x2f498e||'uploadcareLicenseKeyEvaluationLimit'==_0x2f498e||'uploadcareLicenseKeyTrialLimit'==_0x2f498e||'uploadcareLicenseKeyUsageLimit'==_0x2f498e){delete _0xe48771[_0x4f4952],_0x42a20a=_0x2f498e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x42a20a&&_0xe48771['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x42a20a&&_0xe48771['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x42a20a&&_0xe48771['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x42a20a&&_0xe48771['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x42a20a&&_0xe48771['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x42a20a&&_0xe48771['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x42a20a&&_0xe48771['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5db055}=this,_0x9e4c4a=_0x5db055['commands']['get']('uploadcare');if(!_0x9e4c4a)return;const _0x22c8da=this['_normalizeConfigSourceList'](_0x5db055['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x628277,_0x3c1849)=>{const _0x9c3345=this['_getIntegrationKey'](_0x3c1849['type']);return _0x628277[_0x9c3345]||(_0x628277[_0x9c3345]=[]),_0x628277[_0x9c3345]['push'](_0x3c1849),_0x628277;},{});_0x5db055['plugins']['has']('ImageInsertUI')&&_0x5db055['commands']['get']('uploadcare')&&Object['entries'](_0x22c8da)['forEach'](([_0x4a2be8,_0x4ba010])=>{_0x5db055['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4a2be8,'observable':()=>_0x9e4c4a,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4ba010),'formViewCreator':()=>this['_createDropdownButtons'](_0x4ba010),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4ba010),'override':'assetManager'!==_0x4a2be8});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x208b38){const {locale:_0x348643}=this['editor'];return _0x208b38['map'](_0xe1ac04=>{const _0x2bb92f=_(_0x348643,_0xe1ac04,'Insert');switch(_0xe1ac04){case o['Local']:return{'icon':_0x48a872,'type':o['Local'],..._0x2bb92f};case o['URL']:return{'icon':_0x3a4f2a,'type':o['URL'],..._0x2bb92f};case o['Dropbox']:return{'icon':_0x4e03d4,'type':o['Dropbox'],..._0x2bb92f};case o['Facebook']:return{'icon':_0x581732,'type':o['Facebook'],..._0x2bb92f};case o['GDrive']:return{'icon':_0x1da66a,'type':o['GDrive'],..._0x2bb92f};case o['GPhotos']:return{'icon':_0x31b713,'type':o['GPhotos'],..._0x2bb92f};case o['OneDrive']:return{'icon':_0x3d14b5,'type':o['OneDrive'],..._0x2bb92f};}});}['_getIntegrationKey'](_0x3052cf){switch(_0x3052cf){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x7203ee,_0x1896ac){const _0x256992=this['editor'],_0x109020=new _0x7203ee(_0x256992['locale']),_0x2101cd=_0x256992['commands']['get']('uploadcare');return _0x109020['bind']('isEnabled')['to'](_0x2101cd),_0x109020['on']('execute',()=>{_0x2101cd['execute'](_0x1896ac);}),_0x109020;}['_createToolbarButton'](_0xa7175f){const {locale:_0x4ca399}=this['editor'],_0x391e27=this['editor']['plugins']['get']('ImageInsertUI'),_0x571dcb=_0xa7175f[0x0],_0x26fb9b=this['_createButton'](_0xe8f4c3,_0x571dcb['type']);return _0x26fb9b['icon']=_0x571dcb['icon'],_0x26fb9b['bind']('label')['to'](_0x391e27,'isImageSelected',_0x390fff=>_(_0x4ca399,_0x571dcb['type'],_0x390fff?'Replace':'Insert')['text']),_0x26fb9b['tooltip']=!0x0,_0x26fb9b;}['_createDropdownButtons'](_0x427e32){const {locale:_0x348fe5}=this['editor'],_0x15c1cd=this['editor']['plugins']['get']('ImageInsertUI');return _0x427e32['map'](_0x116738=>{const _0x2e8e59=this['_createButton'](_0xe8f4c3,_0x116738['type']);return _0x2e8e59['withText']=!0x0,_0x2e8e59['icon']=_0x116738['icon'],_0x2e8e59['bind']('label')['to'](_0x15c1cd,'isImageSelected',_0x188677=>_(_0x348fe5,_0x116738['type'],_0x188677?'Replace':'Insert')['text']),_0x2e8e59;});}['_createMenuBarButtons'](_0x34efe8){return _0x34efe8['map'](_0x314bc5=>{const _0x47beca=this['_createButton'](_0xef246b,_0x314bc5['type']);return _0x47beca['icon']=_0x314bc5['icon'],_0x47beca['label']=_0x314bc5['shortText'],_0x47beca;});}}class q extends _0x11e024{['focusTracker'];['focusCycler'];constructor(_0x318d94){super(_0x318d94),this['focusTracker']=new _0x39dd11(),this['focusCycler']=new _0x2a08b9({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x2d72bc){super(_0x2d72bc),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x325322,_0x726a7){const _0x1e5dc2=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5cf785=>_0x5cf785<=_0x726a7)['map'](_0x18f308=>_0x325322['replace'](/\/$/,'')+'/-/resize/'+_0x18f308+'x/\x20'+_0x18f308+'w');return{'imageFallbackUrl':_0x325322,'imageSources':[{'srcset':_0x1e5dc2['join'](',\x20'),'sizes':'(max-width:\x20'+_0x726a7+'px)\x20100vw,\x20'+_0x726a7+'px','type':'image/webp'}]};}function A(_0x4f6aea,_0x278364,_0x459f01){const _0x4cc4b2=_0x4f6aea['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4cc4b2?parseInt(_0x4cc4b2[0x1],0xa):_0x278364,'height':_0x4cc4b2?parseInt(_0x4cc4b2[0x2],0xa):_0x459f01};}function m(_0xe4df9c,_0x1c27a0){const _0x39c6d5=Object['create'](_0x43b187),_0x31b103=_0xe4df9c['plugins']['get']('ImageUtils'),_0x3ce7e7=_0xe4df9c['editing']['mapper']['toViewElement'](_0x1c27a0),_0x5acff1=_0x31b103['findViewImgElement'](_0x3ce7e7),_0x98d862=_0xe4df9c['editing']['view']['domConverter']['viewToDom'](_0x5acff1),_0x24f4cb=_0x1c27a0['getAttribute']('width'),_0x261c14=_0x1c27a0['getAttribute']('height'),_0x151777='image-processing';_0xe4df9c['editing']['view']['change'](_0x5d019d=>{_0x5d019d['addClass'](_0x151777,_0x3ce7e7),_0x5d019d['setStyle']('aspect-ratio',_0x24f4cb+'/'+_0x261c14,_0x5acff1);}),_0x39c6d5['listenTo'](_0x98d862,'load',()=>{_0x39c6d5['stopListening'](_0x98d862,'load'),_0xe4df9c['editing']['view']['change'](_0x51af13=>{_0x51af13['removeClass'](_0x151777,_0x3ce7e7),_0x51af13['removeStyle']('aspect-ratio',_0x5acff1);});});}function V(_0x799ca0){if(Array['isArray'](_0x799ca0)){const _0x1c7a26=_0x799ca0['map'](V);return _0x40072f=>_0x1c7a26['some'](_0x368783=>_0x368783(_0x40072f));}if('origin'==_0x799ca0){const _0x3203c6=_0x4a962c['window']['location']['origin'];return _0x585e9f=>new URL(_0x585e9f,_0x4a962c['document']['baseURI'])['origin']==_0x3203c6;}return'function'==typeof _0x799ca0?_0x799ca0:_0x799ca0 instanceof RegExp?_0x23fce8=>!(!_0x23fce8['match'](_0x799ca0)&&!_0x23fce8['replace'](/^https?:\/\//,'')['match'](_0x799ca0)):()=>!0x1;}function F(_0x2dc178,_0x103af9){return _0x292381(_0x2dc178['target'])['includes'](_0x103af9);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x187acf(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2ec345,_0x1264d2,_0x16737e){super(),this['_editor']=_0x2ec345,this['_editing']=_0x1264d2,this['_dialog']=_0x2ec345['plugins']['get'](_0x24d3e1),this['_api']=_0x1264d2['ctxElement']['getAPI'](),this['_type']=_0x16737e,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x311fc1,model:_0x334d3b}=this['_editor'],_0x4c453b=_0x334d3b['document']['selection']['getSelectedElement'](),_0x31b3cf=_0x4c453b&&(_0x4c453b['is']('element','imageBlock')||_0x4c453b['is']('element','imageInline'));this['_formView']=new S(_0x311fc1),this['_dialog']['show']({'id':'uploadCare','icon':_0x48a872,'title':_(_0x311fc1,this['_type'],_0x31b3cf?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5504d5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xb88a38=>!F(_0xb88a38,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x51a3b6}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4653a3=>{const _0x106e5d=_0x51a3b6['length'];for(const _0x113c04 of _0x51a3b6){const _0x115e47=_0x113c04===_0x51a3b6[_0x106e5d-0x1],{cdnUrl:_0x3c37d2,fileInfo:_0x14309c}=_0x113c04;if(!_0x3c37d2||!_0x14309c)continue;const {width:_0x38616b,height:_0x185cbf}=_0x14309c['imageInfo'],_0x4ae52b=A(_0x3c37d2,_0x38616b,_0x185cbf),_0x240c8e=E(_0x3c37d2,_0x4ae52b['width']),_0x518b5f={'id':_0x14309c['uuid'],'type':'image','attributes':{'imageDimension':_0x4ae52b,..._0x240c8e}};this['_insertAsset'](_0x518b5f,_0x115e47,_0x4653a3);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x391c36=>{'idle'===_0x391c36['detail']['status']&&!_0x391c36['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xf23be4,_0x3720e8,_0x28a8ab){const _0x3d17a7=this['_editor']['model']['document']['selection'],_0x58924c=_0x3d17a7['getSelectedElement'](),_0x2f6a45=!(!_0x58924c||!_0x58924c['is']('element','imageInline'));_0x28a8ab['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xf23be4,_0x2f6a45),_0x3720e8||_0x28a8ab['setSelection'](_0x3d17a7['getLastPosition']());}['_insertImage'](_0x13ccf9,_0x3b4d2a){const _0x4b6917=this['_editor'],{imageDimension:_0x4446bc,imageFallbackUrl:_0xc1e88d,imageSources:_0x2bae6f}=_0x13ccf9['attributes'];_0x4b6917['execute']('insertImage',{'imageType':_0x3b4d2a?'imageInline':null,'source':{'uploadcareImageId':_0x13ccf9['id'],'src':_0xc1e88d,'sources':_0x2bae6f,..._0x4446bc}});}}class n extends _0x2ca77c{['_editing'];['_controller']=null;static get['requires'](){return[_0x24d3e1,i];}constructor(_0x430d55){super(_0x430d55),this['_editing']=_0x430d55['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4e4d2e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x4e4d2e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x12bbcb,publicKey:_0x19d178,signal:_0x3e2ef1,onProgress:_0x49f767}){return _0x3a2605(_0x12bbcb,{'publicKey':_0x19d178,'store':'auto','signal':_0x3e2ef1,'onProgress':_0x49f767});}static['getInfo'](_0x371293,_0x105761){return _0x2dd811(_0x371293,_0x105761);}}class p extends _0x4f7166{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1004a3,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1056e1=this['editor'];if(!!!_0x1056e1['config']['get']('uploadcare'))return;_0x1056e1['plugins']['get'](_0x1004a3)['createUploadAdapter']=_0x10ec37=>new x(_0x10ec37,_0x1056e1),_0x1056e1['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1c7e91,{imageElement:_0x48a191,data:_0x2fa104})=>{_0x1056e1['model']['change'](_0x121bb7=>{_0x121bb7['setAttribute']('uploadcareImageId',_0x2fa104['uploadcareImageId'],_0x48a191);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4cf5fe,_0x3794e5){this['loader']=_0x4cf5fe,this['editor']=_0x3794e5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x51e9a7=this['editor']['config']['get']('uploadcare.pubkey'),_0x56b514=await this['loader']['file'];return C['upload']({'file':_0x56b514,'publicKey':_0x51e9a7,'signal':this['controller']['signal'],'onProgress':_0x4d5172=>{_0x4d5172&&_0x4d5172['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4d5172['value']);}})['then'](async _0x20fc98=>{const {imageFallbackUrl:_0x244bc4,imageSources:_0x5812e0}=E(_0x20fc98['cdnUrl'],_0x20fc98['imageInfo']['width']);return{'uploadcareImageId':_0x20fc98['uuid'],'default':_0x244bc4,'sources':_0x5812e0};})['catch'](()=>{const _0x40b98d=t('Cannot\x20upload\x20file:')+('\x20'+_0x56b514['name']+'.');return Promise['reject'](_0x40b98d);});}['abort'](){this['controller']['abort']();}}class i extends _0x4f7166{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x24d3e1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x396ded=this['editor'];_0x396ded['commands']['add']('uploadcare',new n(_0x396ded));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x1fbd42=_0x4a962c['document']['querySelector']('input[uploadcare-file-input]');_0x1fbd42&&_0x1fbd42['remove']();}),async function(_0x1f2509){const _0x3b37a3=_0x4664da([0x70,0x39,0x79,0x76,0x31,0x58,0x4f,0x6d,0x55,0x50,0x75,0x36,0x63,0x30,0x41,0x73,0x6c,0x54,0x43,0x4d,0x59,0x67,0x33,0x35,0x57,0x72,0x64,0x42,0x74,0x44,0x37,0x6f,0x6b,0x52,0x45,0x6a,0x49,0x7a,0x4e,0x68,0x6e,0x65,0x4b,0x69,0x46,0x4c,0x51,0x56,0x47,0x66,0x53,0x32,0x61,0x38,0x71,0x4a,0x77,0x62,0x78,0x34,0x48,0x5a]),_0x201224=0x3b03ef53,_0x2df489=0x3b048dc3^_0x201224,_0x217c1b=window[_0x4664da([0x44,0x61,0x74,0x65])][_0x4664da([0x6e,0x6f,0x77])](),_0x199b3c=_0x1f2509[_0x4664da([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x433c7b=new window[(_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56f369=>{_0x199b3c[_0x4664da([0x6f,0x6e,0x63,0x65])](_0x4664da([0x72,0x65,0x61,0x64,0x79]),_0x56f369);}),_0x3d0cf7={[_0x4664da([0x6b,0x74,0x79])]:_0x4664da([0x45,0x43]),[_0x4664da([0x75,0x73,0x65])]:_0x4664da([0x73,0x69,0x67]),[_0x4664da([0x63,0x72,0x76])]:_0x4664da([0x50,0x2d,0x32,0x35,0x36]),[_0x4664da([0x78])]:_0x4664da([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]),[_0x4664da([0x79])]:_0x4664da([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]),[_0x4664da([0x61,0x6c,0x67])]:_0x4664da([0x45,0x53,0x32,0x35,0x36])},_0xf203cd=_0x199b3c[_0x4664da([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4664da([0x67,0x65,0x74])](_0x4664da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a66a4(){let _0x5077c8,_0x1f73ad=null,_0x17fc73=null;try{if(_0xf203cd==_0x4664da([0x47,0x50,0x4c]))return _0x4664da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5077c8=_0x3fdf12(),!_0x5077c8)return _0x4664da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5077c8[_0x4664da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x17fc73=_0x21d5b1(_0x5077c8[_0x4664da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5077c8[_0x4664da([0x6a,0x74,0x69])])),await _0x3c3720()?_0x53d74d()?_0x3815c5()?_0x4664da([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1beb5f()?(_0x5077c8[_0x4664da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4664da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f73ad=_0x28e934(_0x4664da([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5077c8[_0x4664da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4664da([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f73ad=_0x28e934(_0x4664da([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ac6bc()):_0x4664da([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4664da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4664da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4d183c){return _0x4664da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3815c5(){const _0x13f61b=[_0x4664da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4664da([0x74,0x72,0x69,0x61,0x6c])][_0x4664da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5077c8[_0x4664da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x217c1b/0x3e8:0xe10*_0x2df489;return _0x5077c8[_0x4664da([0x65,0x78,0x70])]<_0x13f61b;}function _0x53d74d(){const _0x372360=_0x5077c8[_0x4664da([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x372360&&(!!_0x372360[_0x4664da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4664da([0x2a]))||!!_0x372360[_0x4664da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4664da([0x55,0x50,0x4c,0x43])));}function _0x1beb5f(){const _0x1432e2=_0x5077c8[_0x4664da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1432e2||0x0==_0x1432e2[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5dec6b}=new URL(window[_0x4664da([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1432e2[_0x4664da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dec6b))return!0x0;const _0x47d491=_0x5dec6b[_0x4664da([0x73,0x70,0x6c,0x69,0x74])](_0x4664da([0x2e]));return _0x1432e2[_0x4664da([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x365adc=>_0x365adc[_0x4664da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4664da([0x2a])))[_0x4664da([0x6d,0x61,0x70])](_0x5454f8=>_0x5454f8[_0x4664da([0x73,0x70,0x6c,0x69,0x74])](_0x4664da([0x2e])))[_0x4664da([0x73,0x6f,0x6d,0x65])](_0x5615b2=>_0x47d491[_0x4664da([0x65,0x76,0x65,0x72,0x79])]((_0x4e8052,_0x5ac48e)=>_0x5615b2[_0x5ac48e]===_0x4e8052||_0x5615b2[_0x5ac48e]===_0x4664da([0x2a])));}function _0x3ac6bc(){return _0x1f73ad&&_0x17fc73?new window[(_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c3699,_0x10d9f1)=>{_0x1f73ad[_0x4664da([0x74,0x68,0x65,0x6e])](_0x1c3699,_0x10d9f1),_0x17fc73[_0x4664da([0x74,0x68,0x65,0x6e])](_0x26b826=>{_0x26b826!=_0x4664da([0x56,0x61,0x6c,0x69,0x64])&&_0x1c3699(_0x26b826);},_0x10d9f1);}):_0x1f73ad||_0x17fc73||_0x4664da([0x56,0x61,0x6c,0x69,0x64]);}}function _0x21d5b1(_0x3a1acb,_0x3809eb){return new window[(_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c5988=>{if(_0x4a4b39())return _0x2c5988(_0x4664da([0x56,0x61,0x6c,0x69,0x64]));_0x37de2d(),_0x199b3c[_0x4664da([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4664da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50777a=!0x1;const _0x1ccd91=_0x476316();function _0x22dea2(_0x30add4){return!!_0x30add4&&(typeof _0x30add4===_0x4664da([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30add4===_0x4664da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30add4[_0x4664da([0x74,0x68,0x65,0x6e])]===_0x4664da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30add4[_0x4664da([0x63,0x61,0x74,0x63,0x68])]===_0x4664da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x105606(_0x300a5f){_0x4e9d27(_0x300a5f)[_0x4664da([0x74,0x68,0x65,0x6e])](_0x2b49b8=>{if(!_0x2b49b8||_0x2b49b8[_0x4664da([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4664da([0x6f,0x6b]))return _0x4664da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2eb451(_0x3974cc(_0x1ccd91+_0x3809eb))!=_0x2b49b8[_0x4664da([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4664da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4664da([0x56,0x61,0x6c,0x69,0x64]);})[_0x4664da([0x74,0x68,0x65,0x6e])](_0x3f4e3b=>(_0x58223c(),_0x3f4e3b),()=>{const _0x3ef4ac=_0x23dc22();return null==_0x3ef4ac?(_0x58223c(),_0x4664da([0x56,0x61,0x6c,0x69,0x64])):_0x4664da(_0x217c1b-_0x3ef4ac>(0x1f0f6b53^_0x201224)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4664da([0x74,0x68,0x65,0x6e])](_0x2c5988)[_0x4664da([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c5988(_0x4664da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a6ce2=0x3b3501d3^_0x201224;function _0x58223c(){const _0x1f0663=_0x4664da([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eb451(_0x3974cc(_0x3a1acb)),_0x4a90f2=_0x138989(_0x2eb451(window[_0x4664da([0x4d,0x61,0x74,0x68])][_0x4664da([0x63,0x65,0x69,0x6c])](_0x217c1b/_0x4a6ce2)));window[_0x4664da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4664da([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f0663,_0x4a90f2);}function _0x23dc22(){const _0x40b003=_0x4664da([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eb451(_0x3974cc(_0x3a1acb)),_0x2289fc=window[_0x4664da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4664da([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40b003);return _0x2289fc?window[_0x4664da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x138989(_0x2289fc),0x10)*_0x4a6ce2:null;}function _0x4e9d27(_0x32f6d1){return new window[(_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3997e7,_0x203003)=>{_0x32f6d1[_0x4664da([0x74,0x68,0x65,0x6e])](_0x3997e7,_0x203003),window[_0x4664da([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x203003,0x3b023b93^_0x201224);});}}_0x199b3c[_0x4664da([0x6f,0x6e])](_0x4664da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x579c6a,_0x3ee6b3)=>{if(_0x3ee6b3[0x0]!=_0x3a1acb)return _0x2c5988(_0x4664da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ee6b3[0x1]={..._0x3ee6b3[0x1],[_0x4664da([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ccd91};},{[_0x4664da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4664da([0x68,0x69,0x67,0x68])}),_0x199b3c[_0x4664da([0x6f,0x6e])](_0x4664da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41e311=>{_0x22dea2(_0x41e311[_0x4664da([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50777a=!0x0,_0x105606(_0x41e311[_0x4664da([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4664da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4664da([0x6c,0x6f,0x77])}),_0x433c7b[_0x4664da([0x74,0x68,0x65,0x6e])](()=>{_0x50777a||_0x2c5988(_0x4664da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a4b39(){return _0x199b3c[_0x4664da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4664da([0x76,0x69,0x65,0x77])][_0x4664da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4664da([0x61,0x75,0x74,0x6f]);}function _0x37de2d(){_0x199b3c[_0x4664da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4664da([0x76,0x69,0x65,0x77])][_0x4664da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4664da([0x61,0x75,0x74,0x6f]);}}function _0x28e934(_0x43f9f5){const _0x3a234e=[new window[(_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22daf7=>setTimeout(_0x22daf7,0x3b0ad19f^_0x201224)),_0x433c7b[_0x4664da([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x454391=>{let _0x2ef16d=0x0;_0x199b3c[_0x4664da([0x6d,0x6f,0x64,0x65,0x6c])][_0x4664da([0x6f,0x6e])](_0x4664da([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x9d31f9,_0x6e5031)=>{_0x6e5031[0x0][_0x4664da([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ef16d++,_0x2ef16d==(0x3b03eeab^_0x201224)&&(_0x454391(),_0x9d31f9[_0x4664da([0x6f,0x66,0x66])]());});}))];return window[_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4664da([0x72,0x61,0x63,0x65])](_0x3a234e)[_0x4664da([0x74,0x68,0x65,0x6e])](()=>_0x43f9f5);}async function _0x2c4579(){await _0x433c7b,_0x199b3c[_0x4664da([0x6d,0x6f,0x64,0x65,0x6c])][_0x4664da([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ba56d,_0x199b3c[_0x4664da([0x6d,0x6f,0x64,0x65,0x6c])][_0x4664da([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ba56d,_0x199b3c[_0x4664da([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4664da([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13f208(_0x3aea56){const _0x22ced0=_0x18ee2d();_0x199b3c[_0x22ced0]=_0x4664da([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3aea56,_0x3aea56!=_0x4664da([0x56,0x61,0x6c,0x69,0x64])&&_0x2c4579();}function _0x18ee2d(){const _0x13a467=window[_0x4664da([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4664da([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4664da([0x6e,0x6f,0x77])]())[_0x4664da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4664da([0x2e]),'');let _0x130acc=_0x4664da([0x70]);for(let _0x3e2c37=0x0;_0x3e2c37<_0x13a467[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e2c37+=0x2){let _0x887942=window[_0x4664da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13a467[_0x4664da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e2c37,_0x3e2c37+0x2));_0x887942>=_0x3b37a3[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x887942-=_0x3b37a3[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x130acc+=_0x3b37a3[_0x887942];}return _0x130acc;}function _0x3fdf12(){const _0x4890ae=_0xf203cd[_0x4664da([0x73,0x70,0x6c,0x69,0x74])](_0x4664da([0x2e]));if(0x3!=_0x4890ae[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x221fd(_0x4890ae[0x1]);function _0x221fd(_0x526caf){const _0x13bb9e=_0x87e760(_0x526caf);return _0x13bb9e&&_0x1615e3()?_0x13bb9e:null;function _0x1615e3(){const _0x5f2faf=_0x13bb9e[_0x4664da([0x6a,0x74,0x69])],_0x11c13b=window[_0x4664da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f2faf[_0x4664da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f2faf[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x274d86={..._0x13bb9e,[_0x4664da([0x6a,0x74,0x69])]:_0x5f2faf[_0x4664da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5f2faf[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x274d86[_0x4664da([0x76,0x63])],_0x3974cc(_0x274d86)==_0x11c13b;}}}async function _0x3c3720(){let _0x408adc=!0x0;try{const _0x332b11=_0xf203cd[_0x4664da([0x73,0x70,0x6c,0x69,0x74])](_0x4664da([0x2e])),[_0x1059cf,_0x43b1aa,_0x3a8c49]=_0x332b11;return _0x326748(_0x1059cf),await _0x4ef6eb(_0x1059cf,_0x43b1aa,_0x3a8c49),_0x408adc;}catch(_0x5a149f){return!0x1;}function _0x326748(_0x3bcd70){const _0x229202=_0x87e760(_0x3bcd70);_0x229202&&_0x229202[_0x4664da([0x61,0x6c,0x67])]==_0x4664da([0x45,0x53,0x32,0x35,0x36])||(_0x408adc=!0x1);}async function _0x4ef6eb(_0x16470e,_0x239cea,_0x231016){const _0x512616=window[_0x4664da([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4664da([0x66,0x72,0x6f,0x6d])](_0x1694cc(_0x231016),_0x1cf2a5=>_0x1cf2a5[_0x4664da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cb285=new window[(_0x4664da([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4664da([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16470e+_0x4664da([0x2e])+_0x239cea),_0x52cd77=window[_0x4664da([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4664da([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52cd77)return;const _0x438801=await _0x52cd77[_0x4664da([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4664da([0x6a,0x77,0x6b]),_0x3d0cf7,{[_0x4664da([0x6e,0x61,0x6d,0x65])]:_0x4664da([0x45,0x43,0x44,0x53,0x41]),[_0x4664da([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4664da([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4664da([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52cd77[_0x4664da([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4664da([0x6e,0x61,0x6d,0x65])]:_0x4664da([0x45,0x43,0x44,0x53,0x41]),[_0x4664da([0x68,0x61,0x73,0x68])]:{[_0x4664da([0x6e,0x61,0x6d,0x65])]:_0x4664da([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x438801,_0x512616,_0x3cb285)||(_0x408adc=!0x1);}}function _0x87e760(_0x33d186){return _0x33d186[_0x4664da([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4664da([0x65,0x79]))?JSON[_0x4664da([0x70,0x61,0x72,0x73,0x65])](_0x1694cc(_0x33d186)):null;}function _0x1694cc(_0x22bb69){return window[_0x4664da([0x61,0x74,0x6f,0x62])](_0x22bb69[_0x4664da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4664da([0x2b]))[_0x4664da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4664da([0x2f])));}function _0x3974cc(_0x2462e6){let _0x3aa647=0x1505;function _0x266e47(_0xe37176){for(let _0x55203b=0x0;_0x55203b<_0xe37176[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55203b++){const _0x3db60e=_0xe37176[_0x4664da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55203b);_0x3aa647=(_0x3aa647<<0x5)+_0x3aa647+_0x3db60e,_0x3aa647&=_0x3aa647;}}function _0x392308(_0x1a7994){Array[_0x4664da([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a7994)?_0x1a7994[_0x4664da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x392308):_0x1a7994&&typeof _0x1a7994==_0x4664da([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4664da([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a7994)[_0x4664da([0x73,0x6f,0x72,0x74])]()[_0x4664da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x58c150,_0x14abe4])=>{_0x266e47(_0x58c150),_0x392308(_0x14abe4);}):_0x266e47(window[_0x4664da([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a7994));}return _0x392308(_0x2462e6),_0x3aa647>>>0x0;}function _0x2eb451(_0x591542){return _0x591542[_0x4664da([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4664da([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4664da([0x30]));}function _0x138989(_0x244eae){return _0x244eae[_0x4664da([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4664da([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4664da([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ba56d(){}function _0x4664da(_0x127118){return _0x127118['map'](_0x461dca=>String['fromCharCode'](_0x461dca))['join']('');}_0x13f208(await _0x4a66a4());}(this);}['_initSchema'](){const _0x13b34f=this['editor']['model']['schema'];_0x13b34f['isRegistered']('imageBlock')&&_0x13b34f['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x13b34f['isRegistered']('imageInline')&&_0x13b34f['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x26ae11=this['editor'];_0x26ae11['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x26ae11['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x563045=>_0x563045['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2f86de=_0x26ae11['commands']['get']('replaceImageSource');_0x2f86de&&this['listenTo'](_0x2f86de,'cleanupImage',(_0x4af4a9,[_0x1f3f5c,_0x911d7d])=>{_0x1f3f5c['removeAttribute']('uploadcareImageId',_0x911d7d);});}['_initConfig'](){const _0x5cba41=this['editor']['config']['get']('uploadcare.uploader')||{},_0xae956b=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x45f08f(_0x4a962c['document'],'uc-config',{..._0x5cba41,'pubkey':_0xae956b,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\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'}),this['_configElement']['iconHrefResolver']=_0x57abff=>{if('closeMax'==_0x57abff)return'#uc-icon-arrow-down';},_0x4a962c['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x45f08f(_0x4a962c['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x4a962c['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x47b3a8=this['editor']['commands']['get']('insertImage');_0x47b3a8&&this['listenTo'](_0x47b3a8,'execute',()=>{const _0x18109c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x18109c&&_0x18109c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x18109c);});});const _0x14c4b5=this['editor']['commands']['get']('uploadcareImageReplace');_0x14c4b5&&this['listenTo'](_0x14c4b5,'execute',()=>{const _0x131e93=this['editor']['model']['document']['selection']['getSelectedElement']();_0x131e93&&_0x131e93['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x131e93);});});}}class u extends _0x4f7166{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x949d36){super(_0x949d36),_0x949d36['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x534462['defineComponents'](_0x534462);}}class ta extends _0x11e024{constructor(_0x41d8e5){super(_0x41d8e5);const t=_0x41d8e5['t'],_0x19c479=this['bindTemplate'],_0x3af173=new _0xe21f89();_0x3af173['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':[_0x3af173,{'text':_0x19c479['to']('imageUploadProgress',_0x5a31a9=>t('Loading\x20image...')+'\x20('+(_0x5a31a9||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'}]}]}]});}}class rt extends _0x11e024{constructor(_0x4fb607){super(_0x4fb607);const t=_0x4fb607['t'];this['set']('errorType',null);const _0x513f20=new _0xe8f4c3(_0x4fb607);_0x513f20['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x513f20['withText']=!0x0,_0x513f20['class']='ck-button-action',_0x513f20['on']('execute',()=>{this['fire']('retry');}),_0x513f20['bind']('isVisible')['to'](this,'errorType',_0xb9737e=>'NotFound'!==_0xb9737e);const _0x5bfc4f=new at();_0x5bfc4f['content']=et,_0x5bfc4f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x56d489=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':[_0x5bfc4f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x56d489['to']('errorType',_0x265c8a=>t('NotFound'!==_0x265c8a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x513f20]},{'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'}]}]}]});}}class tt extends _0x11e024{constructor(_0x3c6642,_0x66b899){super(_0x3c6642);const _0x4531b9=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x66b899,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4531b9['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5dee9b,_0x27712a,_0x169190){super(_0x5dee9b),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x5dee9b),this['_errorView']=new rt(_0x5dee9b),this['_editingView']=new tt(_0x5dee9b,_0x169190),this['_focusableView']=new _0x11e024(_0x5dee9b),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x27712a),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x4bafce=>{this['_addUploadcareImageEditorListeners'](_0x4bafce);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x189775,_0x2f3d41){const _0x546b64='uc-cloud-image-editor',_0x451359=_0x189775['querySelector'](_0x546b64);if(_0x451359)return _0x2f3d41(_0x451359);const _0x358efd=new MutationObserver(_0x5b044a=>{const _0x283c51=_0x5b044a['filter'](_0x38baee=>_0x38baee['target']===_0x189775&&_0x38baee['addedNodes']['length']>0x0&&_0x38baee['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x546b64);_0x283c51['length']&&(_0x358efd['disconnect'](),_0x2f3d41(_0x283c51[0x0]['addedNodes'][0x0]));});_0x358efd['observe'](_0x189775,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1c783f){_0x1c783f['addEventListener']('apply',_0x536792=>{this['fire']('apply',{'imageSrc':_0x536792['detail']['cdnUrl']});}),_0x1c783f['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x187acf(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3ca67f,_0x3c6823,_0xff49c6){super(),this['_editor']=_0x3ca67f,this['_dialog']=_0x3c6823,this['_imageElement']=_0xff49c6,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 _0x4b16f7=this['_imageElement'],_0x5704e1=_0x4b16f7['getAttribute']('uploadcareImageId'),_0x2055c6=_0x4b16f7['getAttribute']('src');if(_0x5704e1)await this['_loadImageInfo'](_0x5704e1,_0x2055c6);else{if(this['_imageCache']['has'](_0x2055c6)){const _0x5ceffa=this['_imageCache']['get'](_0x2055c6);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5ceffa['url'],this['imageDimension']=_0x5ceffa['dimension'],this['imageId']=_0x5ceffa['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x90bffc}=this['_editor'],t=_0x90bffc['t'],_0x1c0f13=new Z(_0x90bffc,this['imageStatus'],this['_attributes']);_0x1c0f13['bind']('status')['to'](this,'imageStatus'),_0x1c0f13['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1c0f13['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1c0f13['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1c0f13,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x50aa2f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1c0f13,'position':_0x5504d5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1c0f13['focus']();},'onHide':()=>{_0x1c0f13['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2af348=>!F(_0x2af348,_0x1c0f13['element'])}});}['_loadImageInfo'](_0x5b25d1,_0x2bc88b){return C['getInfo'](_0x5b25d1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x353fbd=>{const {width:_0x48d29d,height:_0x284719}=_0x353fbd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2bc88b,this['imageDimension']={'width':_0x48d29d,'height':_0x284719},this['imageId']=_0x5b25d1;})['catch'](_0x3f63a8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f63a8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x430203,_0x5d0b09){return this['_getImageAsFile'](_0x430203)['then'](_0x533f12=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5d0b09['signal'],'file':_0x533f12,'onProgress':_0x4fb872=>{_0x4fb872&&_0x4fb872['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4fb872['value']));}}))['then'](_0x192d21=>{const {width:_0x1fc708,height:_0xc24ed0}=_0x192d21['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x192d21['cdnUrl'],this['imageDimension']={'width':_0x1fc708,'height':_0xc24ed0},this['imageId']=_0x192d21['uuid'],this['imageUploadProgress']=null;const _0x147f65=_0x430203['getAttribute']('src');this['_imageCache']['set'](_0x147f65,{'id':_0x192d21['uuid'],'url':_0x192d21['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x31307b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x31307b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x47d571,_0x1037fe){_0x47d571['on']('apply',(_0x25e7ab,_0x90067a)=>{this['_replaceImage'](_0x1037fe,_0x90067a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x47d571['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x47d571['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5be3b9,_0x31c551,_0x319ae9){const _0x31899e=this['_editor'],{width:_0x2af103,height:_0x28831b}=A(_0x31c551,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2b0c34,imageSources:_0x38a0cd}=E(_0x31c551,_0x2af103);_0x31899e['model']['change'](_0x1f2081=>{if('$graveyard'===_0x5be3b9['root']['rootName']){_0x31899e['execute']('insertImage',{'imageType':_0x5be3b9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5be3b9['getAttributes']()),'uploadcareImageId':_0x319ae9,'src':_0x2b0c34,'sources':_0x38a0cd,'width':_0x2af103,'height':_0x28831b}});const _0x10f309=_0x5be3b9['getChildren']();_0x5be3b9=_0x31899e['model']['document']['selection']['getSelectedElement']();for(const _0x4ba715 of _0x10f309)_0x1f2081['append'](_0x1f2081['cloneElement'](_0x4ba715),_0x5be3b9);}else _0x1f2081['setSelection'](_0x5be3b9,'on'),_0x31899e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5be3b9['getAttributes']()),'uploadcareImageId':_0x319ae9,'src':_0x2b0c34,'sources':_0x38a0cd,'width':_0x2af103,'height':_0x28831b},_0x5be3b9);_0x1f2081['setSelection'](_0x5be3b9,'on');});}async['_getImageAsFile'](_0xa1c48b){const _0x420b87=_0x4a962c['window'],_0x46cd8c=_0x4a962c['document']['location']['href'],_0x20549f=new _0x420b87['URL'](_0xa1c48b['getAttribute']('src'),_0x46cd8c);if('data:'===_0x20549f['protocol']){const _0x25ed49=_0x20549f['href']['split'](','),_0x28a47e=_0x25ed49[0x0]['match'](/:(.*?);/)[0x1],_0x5008cc=_0x28a47e['split']('/')[0x1],_0x5082e8=_0x420b87['atob'](_0x25ed49[_0x25ed49['length']-0x1]);let _0x10e589=_0x5082e8['length'];const _0x1d9a3e=new _0x420b87['Uint8Array'](_0x10e589);for(;_0x10e589--;)_0x1d9a3e[_0x10e589]=_0x5082e8['charCodeAt'](_0x10e589);return new _0x420b87['File']([_0x1d9a3e],'image.'+_0x5008cc,{'type':_0x28a47e});}const _0x200569=_0x20549f['href']['split']('/'),_0x226642=_0x200569[_0x200569['length']-0x1],_0x1e1c66=_0x226642['split']('.')[0x1];return _0x420b87['fetch'](_0x20549f['href'])['then'](_0x331299=>_0x331299['clone']()['blob']())['then'](_0x3b8a29=>new _0x420b87['File']([_0x3b8a29],_0x226642,{'type':'image/'+_0x1e1c66}));}}class J extends _0x2ca77c{['imageEditController'];static get['requires'](){return[_0x24d3e1];}['_isEditable'];constructor(_0x1d6ccb){super(_0x1d6ccb),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x13ab2a){const _0x46b5ca=V(_0x13ab2a);return _0x13ed89=>!(!_0x13ed89||!_0x13ed89['is']('element','imageBlock')&&!_0x13ed89['is']('element','imageInline'))&&(!!_0x13ed89['hasAttribute']('uploadcareImageId')||!!_0x13ed89['hasAttribute']('src')&&_0x46b5ca(_0x13ed89['getAttribute']('src')));}(_0x1d6ccb['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3330da=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3330da);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4c22c9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4c22c9&&(_0x4c22c9['is']('element','imageBlock')||_0x4c22c9['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x24d3e1),_0x4c22c9),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x2ca77c{['refresh'](){const _0x5de315=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5de315&&(_0x5de315['is']('element','imageBlock')||_0x5de315['is']('element','imageInline')));}['execute'](_0x4a14ac){const _0x13ca33=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1cd6e3=>{_0x1cd6e3['setAttributes'](_0x4a14ac,_0x13ca33),_0x1cd6e3['removeAttribute']('srcset',_0x13ca33),_0x1cd6e3['removeAttribute']('sizes',_0x13ca33);});}}class g extends _0x4f7166{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x55de86,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37f40}=this;_0x37f40['commands']['add']('uploadcareImageEdit',new J(_0x37f40)),_0x37f40['commands']['add']('uploadcareImageReplace',new O(_0x37f40));}}class j extends _0x4f7166{['_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 _0x1a389d=this['editor'];_0x1a389d['ui']['componentFactory']['add']('uploadcareImageEdit',_0xf5c8be=>{const _0x15a274=_0x1a389d['commands']['get']('uploadcareImageEdit'),_0x2c9f70=new _0xe8f4c3(_0xf5c8be),t=_0xf5c8be['t'];return _0x2c9f70['set']({'icon':_0x50aa2f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2c9f70['bind']('isEnabled')['to'](_0x15a274),_0x2c9f70['bind']('isOn')['to'](_0x15a274,'isActive'),this['listenTo'](_0x2c9f70,'execute',()=>{_0x1a389d['execute']('uploadcareImageEdit'),_0x1a389d['editing']['view']['focus']();}),_0x2c9f70;}),this['_initConfig']();}['_initConfig'](){const _0x598ffa=_0x45f08f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x598ffa),this['listenTo'](this['editor'],'destroy',()=>{_0x598ffa['remove']();});}}class P extends _0x4f7166{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-uploadcare",
3
- "version": "0.0.0-nightly-20250318.0",
3
+ "version": "0.0.0-nightly-20250319.0",
4
4
  "description": "Uploadcare feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -23,14 +23,14 @@
23
23
  "framework"
24
24
  ],
25
25
  "dependencies": {
26
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250318.0",
27
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250318.0",
28
- "@ckeditor/ckeditor5-image": "0.0.0-nightly-20250318.0",
29
- "@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250318.0",
30
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250318.0",
31
- "@ckeditor/ckeditor5-upload": "0.0.0-nightly-20250318.0",
32
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250318.0",
33
- "ckeditor5": "0.0.0-nightly-20250318.0",
26
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250319.0",
27
+ "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250319.0",
28
+ "@ckeditor/ckeditor5-image": "0.0.0-nightly-20250319.0",
29
+ "@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250319.0",
30
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250319.0",
31
+ "@ckeditor/ckeditor5-upload": "0.0.0-nightly-20250319.0",
32
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250319.0",
33
+ "ckeditor5": "0.0.0-nightly-20250319.0",
34
34
  "@uploadcare/file-uploader": "1.12.0",
35
35
  "@uploadcare/upload-client": "6.14.1"
36
36
  },
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1bd2(){const _0x173adb=['imageBlock','uploadcare.pubkey','ctxElement','model','editing','true','input[uploadcare-file-input]','isPremiumPlugin','988648XmKAka','UploadcareEditing','imageInline','uploadcare.uploader','148nczzDv','_configElement','1417371dFJJct','uploadcareImageReplace','conversion','commands','data-uc-image-id','upcast','1926690EXiAze','selection','view','uc-config','configElement','_initSchema','requires','closeMax','8034048TrtXvW','elementToAttribute','2024600ljPDYz','\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','execute','isRegistered','PictureEditing','cleanupImage','href','uc-upload-ctx-provider','getSelectedElement','downcast','_initConversion','getAttribute','init','for','_ctxElement','editor','uploadcare','7irVwRn','afterInit','uploader','get','remove','uploadcareImageId','pluginName','config','iconHrefResolver','extend','4jnHBLh','once','10WiVbhD','map','contentLanguage','9567IseFce','_initCtx','attributeToAttribute','_initConfig','join','fromCharCode','_initImageProcessingIndicator','listenTo','body','document','render','querySelector','replaceImageSource','destroy','appendChild','#uc-icon-arrow-down','locale','add','schema','isOfficialPlugin','6637311fZuEBV','insertImage','removeAttribute'];_0x1bd2=function(){return _0x173adb;};return _0x1bd2();}const _0x3f61f6=_0xa0a1;(function(_0x4ab29c,_0x132fc0){const _0x5d42af=_0xa0a1,_0x57834c=_0x4ab29c();while(!![]){try{const _0x1495de=parseInt(_0x5d42af(0x187))/0x1*(parseInt(_0x5d42af(0x155))/0x2)+parseInt(_0x5d42af(0x157))/0x3*(-parseInt(_0x5d42af(0x182))/0x4)+parseInt(_0x5d42af(0x167))/0x5+parseInt(_0x5d42af(0x15d))/0x6*(-parseInt(_0x5d42af(0x178))/0x7)+parseInt(_0x5d42af(0x151))/0x8+parseInt(_0x5d42af(0x146))/0x9*(-parseInt(_0x5d42af(0x184))/0xa)+parseInt(_0x5d42af(0x165))/0xb;if(_0x1495de===_0x132fc0)break;else _0x57834c['push'](_0x57834c['shift']());}catch(_0x3346c9){_0x57834c['push'](_0x57834c['shift']());}}}(_0x1bd2,0x6a640));import{Plugin as _0x5246d9}from'ckeditor5/src/core.js';function _0xa0a1(_0x2af61e,_0x243b20){const _0x1bd252=_0x1bd2();return _0xa0a1=function(_0xa0a175,_0x57040e){_0xa0a175=_0xa0a175-0x133;let _0xb3da5=_0x1bd252[_0xa0a175];return _0xb3da5;},_0xa0a1(_0x2af61e,_0x243b20);}import{Dialog as _0x11d585}from'ckeditor5/src/ui.js';import{createElement as _0x2bd3f5,global as _0x3a9d64,uid as _0x2fa393}from'ckeditor5/src/utils.js';import _0x580799 from'./uploadcarecommand.js';import _0x5625a1 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4eb179}from'./utils/editingutils.js';export default class i extends _0x5246d9{[_0x3f61f6(0x156)]=null;[_0x3f61f6(0x175)]=null;static get[_0x3f61f6(0x17e)](){const _0x3722fd=_0x3f61f6;return _0x3722fd(0x152);}static get[_0x3f61f6(0x163)](){const _0x469067=_0x3f61f6;return[_0x469067(0x16b),_0x5625a1,_0x11d585];}static get[_0x3f61f6(0x145)](){return!0x0;}static get[_0x3f61f6(0x150)](){return!0x0;}get[_0x3f61f6(0x161)](){const _0x22a27c=_0x3f61f6;return this[_0x22a27c(0x156)];}get[_0x3f61f6(0x14b)](){const _0xacd77=_0x3f61f6;return this[_0xacd77(0x175)];}[_0x3f61f6(0x173)](){const _0x14e405=_0x3f61f6,_0x2b5b85=this[_0x14e405(0x176)];_0x2b5b85[_0x14e405(0x15a)][_0x14e405(0x143)](_0x14e405(0x177),new _0x580799(_0x2b5b85));}[_0x3f61f6(0x179)](){const _0x26cf39=_0x3f61f6;this[_0x26cf39(0x162)](),this[_0x26cf39(0x171)](),this[_0x26cf39(0x135)](),this[_0x26cf39(0x133)](),this[_0x26cf39(0x138)](),this[_0x26cf39(0x139)](this[_0x26cf39(0x176)],_0x26cf39(0x13f),()=>{const _0x2e7b1a=_0x26cf39;this[_0x2e7b1a(0x156)]&&(this[_0x2e7b1a(0x156)][_0x2e7b1a(0x17c)](),this[_0x2e7b1a(0x156)]=null),this[_0x2e7b1a(0x175)]&&(this[_0x2e7b1a(0x175)][_0x2e7b1a(0x17c)](),this[_0x2e7b1a(0x175)]=null);const _0x2dbbe0=_0x3a9d64[_0x2e7b1a(0x13b)][_0x2e7b1a(0x13d)](_0x2e7b1a(0x14f));_0x2dbbe0&&_0x2dbbe0[_0x2e7b1a(0x17c)]();}),async function(_0x3f84d6){const _0x5b5cba=_0x2d9830([0x38,0x66,0x42,0x67,0x69,0x44,0x46,0x35,0x33,0x62,0x72,0x75,0x57,0x39,0x6c,0x34,0x49,0x47,0x4a,0x48,0x78,0x65,0x43,0x64,0x51,0x63,0x4b,0x70,0x6e,0x31,0x71,0x76,0x74,0x55,0x50,0x6a,0x6f,0x79,0x54,0x6b,0x56,0x7a,0x53,0x52,0x58,0x36,0x73,0x30,0x4c,0x59,0x32,0x4d,0x4e,0x68,0x77,0x4f,0x5a,0x37,0x61,0x41,0x45,0x6d]),_0x33ea66=0x1ac2f333,_0x1b3f1a=0x1ac5914b^_0x33ea66,_0x10a66d=window[_0x2d9830([0x44,0x61,0x74,0x65])][_0x2d9830([0x6e,0x6f,0x77])](),_0x53bbca=_0x3f84d6[_0x2d9830([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34e8c4=new window[(_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50b440=>{_0x53bbca[_0x2d9830([0x6f,0x6e,0x63,0x65])](_0x2d9830([0x72,0x65,0x61,0x64,0x79]),_0x50b440);}),_0x3644e5={[_0x2d9830([0x6b,0x74,0x79])]:_0x2d9830([0x45,0x43]),[_0x2d9830([0x75,0x73,0x65])]:_0x2d9830([0x73,0x69,0x67]),[_0x2d9830([0x63,0x72,0x76])]:_0x2d9830([0x50,0x2d,0x32,0x35,0x36]),[_0x2d9830([0x78])]:_0x2d9830([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]),[_0x2d9830([0x79])]:_0x2d9830([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]),[_0x2d9830([0x61,0x6c,0x67])]:_0x2d9830([0x45,0x53,0x32,0x35,0x36])},_0x34f74c=_0x53bbca[_0x2d9830([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d9830([0x67,0x65,0x74])](_0x2d9830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e737c(){let _0x2064c7,_0x9659dc=null,_0x135c72=null;try{if(_0x34f74c==_0x2d9830([0x47,0x50,0x4c]))return _0x2d9830([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2064c7=_0x3905c9(),!_0x2064c7)return _0x2d9830([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2064c7[_0x2d9830([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x135c72=_0x4f9ee3(_0x2064c7[_0x2d9830([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2064c7[_0x2d9830([0x6a,0x74,0x69])])),await _0x338f84()?_0x50c899()?_0x575ffe()?_0x2d9830([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x457a3d()?(_0x2064c7[_0x2d9830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9830([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9659dc=_0x3c4d39(_0x2d9830([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2064c7[_0x2d9830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9830([0x74,0x72,0x69,0x61,0x6c])&&(_0x9659dc=_0x3c4d39(_0x2d9830([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x381367()):_0x2d9830([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9830([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d9830([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x528908){return _0x2d9830([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x575ffe(){const _0x2789c8=[_0x2d9830([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d9830([0x74,0x72,0x69,0x61,0x6c])][_0x2d9830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2064c7[_0x2d9830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10a66d/0x3e8:0xe10*_0x1b3f1a;return _0x2064c7[_0x2d9830([0x65,0x78,0x70])]<_0x2789c8;}function _0x50c899(){const _0x24fb27=_0x2064c7[_0x2d9830([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24fb27&&(!!_0x24fb27[_0x2d9830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9830([0x2a]))||!!_0x24fb27[_0x2d9830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9830([0x55,0x50,0x4c,0x43])));}function _0x457a3d(){const _0x4d3fb4=_0xa0a1,_0x253fb2=_0x2064c7[_0x2d9830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x253fb2||0x0==_0x253fb2[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x808f31}=new URL(window[_0x2d9830([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d3fb4(0x16d)]);if(_0x253fb2[_0x2d9830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x808f31))return!0x0;const _0x4c73c9=_0x808f31[_0x2d9830([0x73,0x70,0x6c,0x69,0x74])](_0x2d9830([0x2e]));return _0x253fb2[_0x2d9830([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53a759=>_0x53a759[_0x2d9830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9830([0x2a])))[_0x2d9830([0x6d,0x61,0x70])](_0x46e02a=>_0x46e02a[_0x2d9830([0x73,0x70,0x6c,0x69,0x74])](_0x2d9830([0x2e])))[_0x2d9830([0x73,0x6f,0x6d,0x65])](_0x4900ca=>_0x4c73c9[_0x2d9830([0x65,0x76,0x65,0x72,0x79])]((_0x51e8ec,_0x19d352)=>_0x4900ca[_0x19d352]===_0x51e8ec||_0x4900ca[_0x19d352]===_0x2d9830([0x2a])));}function _0x381367(){return _0x9659dc&&_0x135c72?new window[(_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43898a,_0x5029e4)=>{_0x9659dc[_0x2d9830([0x74,0x68,0x65,0x6e])](_0x43898a,_0x5029e4),_0x135c72[_0x2d9830([0x74,0x68,0x65,0x6e])](_0x1a53e5=>{_0x1a53e5!=_0x2d9830([0x56,0x61,0x6c,0x69,0x64])&&_0x43898a(_0x1a53e5);},_0x5029e4);}):_0x9659dc||_0x135c72||_0x2d9830([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f9ee3(_0x246b58,_0x584a1b){return new window[(_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a210f=>{if(_0x7fe0c0())return _0x5a210f(_0x2d9830([0x56,0x61,0x6c,0x69,0x64]));_0x38b9bc(),_0x53bbca[_0x2d9830([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d9830([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d6748=!0x1;const _0x14194f=_0x2fa393();function _0x15ed2d(_0x2d6871){return!!_0x2d6871&&(typeof _0x2d6871===_0x2d9830([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2d6871===_0x2d9830([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2d6871[_0x2d9830([0x74,0x68,0x65,0x6e])]===_0x2d9830([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2d6871[_0x2d9830([0x63,0x61,0x74,0x63,0x68])]===_0x2d9830([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x266e76(_0x540f07){_0x57dc95(_0x540f07)[_0x2d9830([0x74,0x68,0x65,0x6e])](_0x2031a5=>{if(!_0x2031a5||_0x2031a5[_0x2d9830([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d9830([0x6f,0x6b]))return _0x2d9830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1de681(_0x11ee6c(_0x14194f+_0x584a1b))!=_0x2031a5[_0x2d9830([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d9830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9830([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9830([0x74,0x68,0x65,0x6e])](_0x1abf49=>(_0x1f6d41(),_0x1abf49),()=>{const _0x358555=_0x812ffb();return null==_0x358555?(_0x1f6d41(),_0x2d9830([0x56,0x61,0x6c,0x69,0x64])):_0x2d9830(_0x10a66d-_0x358555>(0x3ece7733^_0x33ea66)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9830([0x74,0x68,0x65,0x6e])](_0x5a210f)[_0x2d9830([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a210f(_0x2d9830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd93d3d=0x1af41db3^_0x33ea66;function _0x1f6d41(){const _0x3add36=_0x2d9830([0x6c,0x6c,0x63,0x74,0x2d])+_0x1de681(_0x11ee6c(_0x246b58)),_0xc78fa2=_0x3d05cc(_0x1de681(window[_0x2d9830([0x4d,0x61,0x74,0x68])][_0x2d9830([0x63,0x65,0x69,0x6c])](_0x10a66d/_0xd93d3d)));window[_0x2d9830([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9830([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3add36,_0xc78fa2);}function _0x812ffb(){const _0x4465e3=_0x2d9830([0x6c,0x6c,0x63,0x74,0x2d])+_0x1de681(_0x11ee6c(_0x246b58)),_0x3d1cbd=window[_0x2d9830([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9830([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4465e3);return _0x3d1cbd?window[_0x2d9830([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d05cc(_0x3d1cbd),0x10)*_0xd93d3d:null;}function _0x57dc95(_0x190c80){return new window[(_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a2d3a,_0x4f0cf3)=>{_0x190c80[_0x2d9830([0x74,0x68,0x65,0x6e])](_0x1a2d3a,_0x4f0cf3),window[_0x2d9830([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f0cf3,0x1ac327f3^_0x33ea66);});}}_0x53bbca[_0x2d9830([0x6f,0x6e])](_0x2d9830([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5aaa9e,_0x40d701)=>{if(_0x40d701[0x0]!=_0x246b58)return _0x5a210f(_0x2d9830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40d701[0x1]={..._0x40d701[0x1],[_0x2d9830([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14194f};},{[_0x2d9830([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9830([0x68,0x69,0x67,0x68])}),_0x53bbca[_0x2d9830([0x6f,0x6e])](_0x2d9830([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e0941=>{_0x15ed2d(_0x1e0941[_0x2d9830([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d6748=!0x0,_0x266e76(_0x1e0941[_0x2d9830([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d9830([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9830([0x6c,0x6f,0x77])}),_0x34e8c4[_0x2d9830([0x74,0x68,0x65,0x6e])](()=>{_0x5d6748||_0x5a210f(_0x2d9830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x7fe0c0(){return _0x53bbca[_0x2d9830([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9830([0x76,0x69,0x65,0x77])][_0x2d9830([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d9830([0x61,0x75,0x74,0x6f]);}function _0x38b9bc(){_0x53bbca[_0x2d9830([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9830([0x76,0x69,0x65,0x77])][_0x2d9830([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d9830([0x61,0x75,0x74,0x6f]);}}function _0x3c4d39(_0x29ff17){const _0x17c727=[new window[(_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4abe1c=>setTimeout(_0x4abe1c,0x1acbcdff^_0x33ea66)),_0x34e8c4[_0x2d9830([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4073d3=>{let _0x4e01fd=0x0;_0x53bbca[_0x2d9830([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9830([0x6f,0x6e])](_0x2d9830([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6f2f8a,_0x58ec15)=>{_0x58ec15[0x0][_0x2d9830([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e01fd++,_0x4e01fd==(0x1ac2f2cb^_0x33ea66)&&(_0x4073d3(),_0x6f2f8a[_0x2d9830([0x6f,0x66,0x66])]());});}))];return window[_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d9830([0x72,0x61,0x63,0x65])](_0x17c727)[_0x2d9830([0x74,0x68,0x65,0x6e])](()=>_0x29ff17);}async function _0x5307dd(){await _0x34e8c4,_0x53bbca[_0x2d9830([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9830([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d992e,_0x53bbca[_0x2d9830([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9830([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d992e,_0x53bbca[_0x2d9830([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d9830([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb5fb92(_0xe25f2f){const _0x5813cb=_0x1cb473();_0x53bbca[_0x5813cb]=_0x2d9830([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe25f2f,_0xe25f2f!=_0x2d9830([0x56,0x61,0x6c,0x69,0x64])&&_0x5307dd();}function _0x1cb473(){const _0x12e483=window[_0x2d9830([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d9830([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d9830([0x6e,0x6f,0x77])]())[_0x2d9830([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d9830([0x2e]),'');let _0x1cbec9=_0x2d9830([0x66]);for(let _0x48b155=0x0;_0x48b155<_0x12e483[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48b155+=0x2){let _0x22e66c=window[_0x2d9830([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12e483[_0x2d9830([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48b155,_0x48b155+0x2));_0x22e66c>=_0x5b5cba[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22e66c-=_0x5b5cba[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1cbec9+=_0x5b5cba[_0x22e66c];}return _0x1cbec9;}function _0x3905c9(){const _0x7e854e=_0x34f74c[_0x2d9830([0x73,0x70,0x6c,0x69,0x74])](_0x2d9830([0x2e]));if(0x3!=_0x7e854e[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2f2d83(_0x7e854e[0x1]);function _0x2f2d83(_0x28f852){const _0x5d7b83=_0x1d88ca(_0x28f852);return _0x5d7b83&&_0x4eac9c()?_0x5d7b83:null;function _0x4eac9c(){const _0x26402d=_0x5d7b83[_0x2d9830([0x6a,0x74,0x69])],_0x32dec2=window[_0x2d9830([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26402d[_0x2d9830([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26402d[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x10a545={..._0x5d7b83,[_0x2d9830([0x6a,0x74,0x69])]:_0x26402d[_0x2d9830([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26402d[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x10a545[_0x2d9830([0x76,0x63])],_0x11ee6c(_0x10a545)==_0x32dec2;}}}async function _0x338f84(){let _0x7990ce=!0x0;try{const _0x22cf8d=_0x34f74c[_0x2d9830([0x73,0x70,0x6c,0x69,0x74])](_0x2d9830([0x2e])),[_0xbdbb3b,_0x2bfd08,_0x1c966f]=_0x22cf8d;return _0xe18499(_0xbdbb3b),await _0x504d71(_0xbdbb3b,_0x2bfd08,_0x1c966f),_0x7990ce;}catch(_0x606c5a){return!0x1;}function _0xe18499(_0x37d693){const _0x71dd0e=_0x1d88ca(_0x37d693);_0x71dd0e&&_0x71dd0e[_0x2d9830([0x61,0x6c,0x67])]==_0x2d9830([0x45,0x53,0x32,0x35,0x36])||(_0x7990ce=!0x1);}async function _0x504d71(_0x249d72,_0xba3590,_0xe85fd4){const _0xd1545e=window[_0x2d9830([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d9830([0x66,0x72,0x6f,0x6d])](_0x20f25a(_0xe85fd4),_0x3e6191=>_0x3e6191[_0x2d9830([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c5991=new window[(_0x2d9830([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d9830([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x249d72+_0x2d9830([0x2e])+_0xba3590),_0x50f935=window[_0x2d9830([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d9830([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x50f935)return;const _0x543c54=await _0x50f935[_0x2d9830([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d9830([0x6a,0x77,0x6b]),_0x3644e5,{[_0x2d9830([0x6e,0x61,0x6d,0x65])]:_0x2d9830([0x45,0x43,0x44,0x53,0x41]),[_0x2d9830([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d9830([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d9830([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x50f935[_0x2d9830([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d9830([0x6e,0x61,0x6d,0x65])]:_0x2d9830([0x45,0x43,0x44,0x53,0x41]),[_0x2d9830([0x68,0x61,0x73,0x68])]:{[_0x2d9830([0x6e,0x61,0x6d,0x65])]:_0x2d9830([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x543c54,_0xd1545e,_0x3c5991)||(_0x7990ce=!0x1);}}function _0x1d88ca(_0x2200d8){return _0x2200d8[_0x2d9830([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d9830([0x65,0x79]))?JSON[_0x2d9830([0x70,0x61,0x72,0x73,0x65])](_0x20f25a(_0x2200d8)):null;}function _0x20f25a(_0x4a3f92){return window[_0x2d9830([0x61,0x74,0x6f,0x62])](_0x4a3f92[_0x2d9830([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d9830([0x2b]))[_0x2d9830([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d9830([0x2f])));}function _0x11ee6c(_0xc2baf5){let _0x2510dc=0x1505;function _0x172ebb(_0x4cc979){for(let _0x1da94c=0x0;_0x1da94c<_0x4cc979[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1da94c++){const _0x4d7eab=_0x4cc979[_0x2d9830([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1da94c);_0x2510dc=(_0x2510dc<<0x5)+_0x2510dc+_0x4d7eab,_0x2510dc&=_0x2510dc;}}function _0x1df523(_0x4b725b){Array[_0x2d9830([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b725b)?_0x4b725b[_0x2d9830([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1df523):_0x4b725b&&typeof _0x4b725b==_0x2d9830([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d9830([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b725b)[_0x2d9830([0x73,0x6f,0x72,0x74])]()[_0x2d9830([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a585a,_0x26321b])=>{_0x172ebb(_0x5a585a),_0x1df523(_0x26321b);}):_0x172ebb(window[_0x2d9830([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b725b));}return _0x1df523(_0xc2baf5),_0x2510dc>>>0x0;}function _0x1de681(_0x188ce5){return _0x188ce5[_0x2d9830([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d9830([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d9830([0x30]));}function _0x3d05cc(_0x5e99f4){return _0x5e99f4[_0x2d9830([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d9830([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d9830([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d992e(){}function _0x2d9830(_0x37c49e){const _0x5a3b84=_0xa0a1;return _0x37c49e[_0x5a3b84(0x185)](_0x5854df=>String[_0x5a3b84(0x137)](_0x5854df))[_0x5a3b84(0x136)]('');}_0xb5fb92(await _0x5e737c());}(this);}[_0x3f61f6(0x162)](){const _0x11df54=_0x3f61f6,_0x296264=this[_0x11df54(0x176)][_0x11df54(0x14c)][_0x11df54(0x144)];_0x296264[_0x11df54(0x16a)](_0x11df54(0x149))&&_0x296264[_0x11df54(0x181)](_0x11df54(0x149),{'allowAttributes':[_0x11df54(0x17d)]}),_0x296264[_0x11df54(0x16a)](_0x11df54(0x153))&&_0x296264[_0x11df54(0x181)](_0x11df54(0x153),{'allowAttributes':[_0x11df54(0x17d)]});}[_0x3f61f6(0x171)](){const _0x21efcb=_0x3f61f6,_0x393a0c=this[_0x21efcb(0x176)];_0x393a0c[_0x21efcb(0x159)][_0x21efcb(0x174)](_0x21efcb(0x170))[_0x21efcb(0x134)]({'model':_0x21efcb(0x17d),'view':_0x21efcb(0x15b)}),_0x393a0c[_0x21efcb(0x159)][_0x21efcb(0x174)](_0x21efcb(0x15c))[_0x21efcb(0x166)]({'model':{'key':_0x21efcb(0x17d),'value':_0x1ad2f3=>_0x1ad2f3[_0x21efcb(0x172)](_0x21efcb(0x15b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x27fbe9=_0x393a0c[_0x21efcb(0x15a)][_0x21efcb(0x17b)](_0x21efcb(0x13e));_0x27fbe9&&this[_0x21efcb(0x139)](_0x27fbe9,_0x21efcb(0x16c),(_0x4efc5e,[_0xf92c71,_0x50948a])=>{const _0x26f1eb=_0x21efcb;_0xf92c71[_0x26f1eb(0x148)](_0x26f1eb(0x17d),_0x50948a);});}[_0x3f61f6(0x135)](){const _0x546fe1=_0x3f61f6,_0x31d3b0=this[_0x546fe1(0x176)][_0x546fe1(0x17f)][_0x546fe1(0x17b)](_0x546fe1(0x154))||{},_0x3d0429=this[_0x546fe1(0x176)][_0x546fe1(0x17f)][_0x546fe1(0x17b)](_0x546fe1(0x14a))||'';this[_0x546fe1(0x156)]=_0x2bd3f5(_0x3a9d64[_0x546fe1(0x13b)],_0x546fe1(0x160),{..._0x31d3b0,'pubkey':_0x3d0429,'ctx-name':_0x546fe1(0x17a),'sourceList':'','imgOnly':_0x546fe1(0x14e),'removeCopyright':_0x546fe1(0x14e),'localeName':this[_0x546fe1(0x176)][_0x546fe1(0x142)][_0x546fe1(0x186)],'externalSourcesEmbedCss':_0x546fe1(0x168)}),this[_0x546fe1(0x156)][_0x546fe1(0x180)]=_0x429de1=>{const _0x348630=_0x546fe1;if(_0x348630(0x164)==_0x429de1)return _0x348630(0x141);},_0x3a9d64[_0x546fe1(0x13b)][_0x546fe1(0x13a)][_0x546fe1(0x140)](this[_0x546fe1(0x156)]);}[_0x3f61f6(0x133)](){const _0x1c265d=_0x3f61f6;this[_0x1c265d(0x175)]=_0x2bd3f5(_0x3a9d64[_0x1c265d(0x13b)],_0x1c265d(0x16e),{'ctx-name':_0x1c265d(0x17a)}),_0x3a9d64[_0x1c265d(0x13b)][_0x1c265d(0x13a)][_0x1c265d(0x140)](this[_0x1c265d(0x175)]);}[_0x3f61f6(0x138)](){const _0x31f330=_0x3f61f6,_0xef551e=this[_0x31f330(0x176)][_0x31f330(0x15a)][_0x31f330(0x17b)](_0x31f330(0x147));_0xef551e&&this[_0x31f330(0x139)](_0xef551e,_0x31f330(0x169),()=>{const _0x2e8a17=_0x31f330,_0x38e06f=this[_0x2e8a17(0x176)][_0x2e8a17(0x14c)][_0x2e8a17(0x13b)][_0x2e8a17(0x15e)][_0x2e8a17(0x16f)]();_0x38e06f&&_0x38e06f[_0x2e8a17(0x172)](_0x2e8a17(0x17d))&&this[_0x2e8a17(0x176)][_0x2e8a17(0x14d)][_0x2e8a17(0x15f)][_0x2e8a17(0x183)](_0x2e8a17(0x13c),()=>{const _0x3e2126=_0x2e8a17;_0x4eb179(this[_0x3e2126(0x176)],_0x38e06f);});});const _0x31c887=this[_0x31f330(0x176)][_0x31f330(0x15a)][_0x31f330(0x17b)](_0x31f330(0x158));_0x31c887&&this[_0x31f330(0x139)](_0x31c887,_0x31f330(0x169),()=>{const _0x3e005e=_0x31f330,_0x132e61=this[_0x3e005e(0x176)][_0x3e005e(0x14c)][_0x3e005e(0x13b)][_0x3e005e(0x15e)][_0x3e005e(0x16f)]();_0x132e61&&_0x132e61[_0x3e005e(0x172)](_0x3e005e(0x17d))&&this[_0x3e005e(0x176)][_0x3e005e(0x14d)][_0x3e005e(0x15f)][_0x3e005e(0x183)](_0x3e005e(0x13c),()=>{const _0x4cc34b=_0x3e005e;_0x4eb179(this[_0x4cc34b(0x176)],_0x132e61);});});}}
23
+ const _0x518c56=_0x4dbc;(function(_0x55b078,_0x3233a1){const _0x404b18=_0x4dbc,_0x474239=_0x55b078();while(!![]){try{const _0x3ec4ff=-parseInt(_0x404b18(0x1b6))/0x1+parseInt(_0x404b18(0x1c5))/0x2+-parseInt(_0x404b18(0x1cb))/0x3*(parseInt(_0x404b18(0x1f4))/0x4)+parseInt(_0x404b18(0x1ee))/0x5+parseInt(_0x404b18(0x1b4))/0x6*(-parseInt(_0x404b18(0x1e4))/0x7)+parseInt(_0x404b18(0x1f9))/0x8*(-parseInt(_0x404b18(0x1d6))/0x9)+-parseInt(_0x404b18(0x1dd))/0xa*(-parseInt(_0x404b18(0x1ce))/0xb);if(_0x3ec4ff===_0x3233a1)break;else _0x474239['push'](_0x474239['shift']());}catch(_0x20c708){_0x474239['push'](_0x474239['shift']());}}}(_0x5a13,0x4c9c4));import{Plugin as _0x59a960}from'ckeditor5/src/core.js';import{Dialog as _0x1c4bdd}from'ckeditor5/src/ui.js';import{createElement as _0x5c47ef,global as _0x31501a,uid as _0x2c6770}from'ckeditor5/src/utils.js';import _0x52b891 from'./uploadcarecommand.js';import _0x46d1c1 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2b6420}from'./utils/editingutils.js';export default class i extends _0x59a960{[_0x518c56(0x1ff)]=null;[_0x518c56(0x1d2)]=null;static get[_0x518c56(0x1b5)](){const _0x3d698b=_0x518c56;return _0x3d698b(0x1ba);}static get[_0x518c56(0x1d9)](){const _0x4deaf6=_0x518c56;return[_0x4deaf6(0x1d5),_0x46d1c1,_0x1c4bdd];}static get[_0x518c56(0x1f7)](){return!0x0;}static get[_0x518c56(0x200)](){return!0x0;}get[_0x518c56(0x1e8)](){const _0x2b69c6=_0x518c56;return this[_0x2b69c6(0x1ff)];}get[_0x518c56(0x1fb)](){const _0xa23ce7=_0x518c56;return this[_0xa23ce7(0x1d2)];}[_0x518c56(0x203)](){const _0x1398e0=_0x518c56,_0x2ac20d=this[_0x1398e0(0x1b3)];_0x2ac20d[_0x1398e0(0x202)][_0x1398e0(0x1e1)](_0x1398e0(0x1bd),new _0x52b891(_0x2ac20d));}[_0x518c56(0x1b2)](){const _0x4b4f95=_0x518c56;this[_0x4b4f95(0x1fa)](),this[_0x4b4f95(0x1f8)](),this[_0x4b4f95(0x1de)](),this[_0x4b4f95(0x1dc)](),this[_0x4b4f95(0x1fd)](),this[_0x4b4f95(0x1cd)](this[_0x4b4f95(0x1b3)],_0x4b4f95(0x1e3),()=>{const _0x44fce2=_0x4b4f95;this[_0x44fce2(0x1ff)]&&(this[_0x44fce2(0x1ff)][_0x44fce2(0x1ec)](),this[_0x44fce2(0x1ff)]=null),this[_0x44fce2(0x1d2)]&&(this[_0x44fce2(0x1d2)][_0x44fce2(0x1ec)](),this[_0x44fce2(0x1d2)]=null);const _0x57fd10=_0x31501a[_0x44fce2(0x1db)][_0x44fce2(0x1f1)](_0x44fce2(0x1fe));_0x57fd10&&_0x57fd10[_0x44fce2(0x1ec)]();}),async function(_0x3f7b54){const _0x8c520=_0x13847b([0x70,0x39,0x79,0x76,0x31,0x58,0x4f,0x6d,0x55,0x50,0x75,0x36,0x63,0x30,0x41,0x73,0x6c,0x54,0x43,0x4d,0x59,0x67,0x33,0x35,0x57,0x72,0x64,0x42,0x74,0x44,0x37,0x6f,0x6b,0x52,0x45,0x6a,0x49,0x7a,0x4e,0x68,0x6e,0x65,0x4b,0x69,0x46,0x4c,0x51,0x56,0x47,0x66,0x53,0x32,0x61,0x38,0x71,0x4a,0x77,0x62,0x78,0x34,0x48,0x5a]),_0x2b4b47=0x3b03ef53,_0x3cf5f7=0x3b048dc3^_0x2b4b47,_0x5cfedf=window[_0x13847b([0x44,0x61,0x74,0x65])][_0x13847b([0x6e,0x6f,0x77])](),_0x3de3de=_0x3f7b54[_0x13847b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4bb314=new window[(_0x13847b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36bbd4=>{_0x3de3de[_0x13847b([0x6f,0x6e,0x63,0x65])](_0x13847b([0x72,0x65,0x61,0x64,0x79]),_0x36bbd4);}),_0x476575={[_0x13847b([0x6b,0x74,0x79])]:_0x13847b([0x45,0x43]),[_0x13847b([0x75,0x73,0x65])]:_0x13847b([0x73,0x69,0x67]),[_0x13847b([0x63,0x72,0x76])]:_0x13847b([0x50,0x2d,0x32,0x35,0x36]),[_0x13847b([0x78])]:_0x13847b([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]),[_0x13847b([0x79])]:_0x13847b([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]),[_0x13847b([0x61,0x6c,0x67])]:_0x13847b([0x45,0x53,0x32,0x35,0x36])},_0x2d29b3=_0x3de3de[_0x13847b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x13847b([0x67,0x65,0x74])](_0x13847b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x7f2800(){let _0x26d8de,_0x1b2344=null,_0x7106f0=null;try{if(_0x2d29b3==_0x13847b([0x47,0x50,0x4c]))return _0x13847b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x26d8de=_0xf5e316(),!_0x26d8de)return _0x13847b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x26d8de[_0x13847b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x7106f0=_0x79faba(_0x26d8de[_0x13847b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x26d8de[_0x13847b([0x6a,0x74,0x69])])),await _0x3c455e()?_0x5d2372()?_0x5267b2()?_0x13847b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb440d9()?(_0x26d8de[_0x13847b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13847b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b2344=_0x2f74ed(_0x13847b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x26d8de[_0x13847b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13847b([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b2344=_0x2f74ed(_0x13847b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x14ab68()):_0x13847b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x13847b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x13847b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xf9b85c){return _0x13847b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5267b2(){const _0x4b8229=[_0x13847b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x13847b([0x74,0x72,0x69,0x61,0x6c])][_0x13847b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26d8de[_0x13847b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5cfedf/0x3e8:0xe10*_0x3cf5f7;return _0x26d8de[_0x13847b([0x65,0x78,0x70])]<_0x4b8229;}function _0x5d2372(){const _0x42aa9a=_0x26d8de[_0x13847b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42aa9a&&(!!_0x42aa9a[_0x13847b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13847b([0x2a]))||!!_0x42aa9a[_0x13847b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13847b([0x55,0x50,0x4c,0x43])));}function _0xb440d9(){const _0x435b4c=_0x4dbc,_0xffe334=_0x26d8de[_0x13847b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xffe334||0x0==_0xffe334[_0x13847b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1bdc8b}=new URL(window[_0x13847b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x435b4c(0x1d1)]);if(_0xffe334[_0x13847b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bdc8b))return!0x0;const _0x50b7ec=_0x1bdc8b[_0x13847b([0x73,0x70,0x6c,0x69,0x74])](_0x13847b([0x2e]));return _0xffe334[_0x13847b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x436851=>_0x436851[_0x13847b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13847b([0x2a])))[_0x13847b([0x6d,0x61,0x70])](_0x5536ab=>_0x5536ab[_0x13847b([0x73,0x70,0x6c,0x69,0x74])](_0x13847b([0x2e])))[_0x13847b([0x73,0x6f,0x6d,0x65])](_0x2c51ec=>_0x50b7ec[_0x13847b([0x65,0x76,0x65,0x72,0x79])]((_0x40916a,_0x3d4ce8)=>_0x2c51ec[_0x3d4ce8]===_0x40916a||_0x2c51ec[_0x3d4ce8]===_0x13847b([0x2a])));}function _0x14ab68(){return _0x1b2344&&_0x7106f0?new window[(_0x13847b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x83c169,_0x44bb)=>{_0x1b2344[_0x13847b([0x74,0x68,0x65,0x6e])](_0x83c169,_0x44bb),_0x7106f0[_0x13847b([0x74,0x68,0x65,0x6e])](_0xf71f7e=>{_0xf71f7e!=_0x13847b([0x56,0x61,0x6c,0x69,0x64])&&_0x83c169(_0xf71f7e);},_0x44bb);}):_0x1b2344||_0x7106f0||_0x13847b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x79faba(_0x4c828b,_0x4e142e){return new window[(_0x13847b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fcfe5=>{if(_0x3516ca())return _0x4fcfe5(_0x13847b([0x56,0x61,0x6c,0x69,0x64]));_0x562cea(),_0x3de3de[_0x13847b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x13847b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ef0e6=!0x1;const _0x4194f6=_0x2c6770();function _0x3d5b7d(_0x12301e){return!!_0x12301e&&(typeof _0x12301e===_0x13847b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12301e===_0x13847b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12301e[_0x13847b([0x74,0x68,0x65,0x6e])]===_0x13847b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12301e[_0x13847b([0x63,0x61,0x74,0x63,0x68])]===_0x13847b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x439970(_0x360403){_0x933b6b(_0x360403)[_0x13847b([0x74,0x68,0x65,0x6e])](_0x4cfb4d=>{if(!_0x4cfb4d||_0x4cfb4d[_0x13847b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x13847b([0x6f,0x6b]))return _0x13847b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2cecdc(_0x4a46ef(_0x4194f6+_0x4e142e))!=_0x4cfb4d[_0x13847b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x13847b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x13847b([0x56,0x61,0x6c,0x69,0x64]);})[_0x13847b([0x74,0x68,0x65,0x6e])](_0x498eeb=>(_0x57cd3b(),_0x498eeb),()=>{const _0xdb0f9a=_0x5baba7();return null==_0xdb0f9a?(_0x57cd3b(),_0x13847b([0x56,0x61,0x6c,0x69,0x64])):_0x13847b(_0x5cfedf-_0xdb0f9a>(0x1f0f6b53^_0x2b4b47)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x13847b([0x74,0x68,0x65,0x6e])](_0x4fcfe5)[_0x13847b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4fcfe5(_0x13847b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x52bc35=0x3b3501d3^_0x2b4b47;function _0x57cd3b(){const _0x226e26=_0x13847b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cecdc(_0x4a46ef(_0x4c828b)),_0x4492ce=_0xee7527(_0x2cecdc(window[_0x13847b([0x4d,0x61,0x74,0x68])][_0x13847b([0x63,0x65,0x69,0x6c])](_0x5cfedf/_0x52bc35)));window[_0x13847b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13847b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x226e26,_0x4492ce);}function _0x5baba7(){const _0x5b4027=_0x13847b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cecdc(_0x4a46ef(_0x4c828b)),_0x1b786b=window[_0x13847b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13847b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b4027);return _0x1b786b?window[_0x13847b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xee7527(_0x1b786b),0x10)*_0x52bc35:null;}function _0x933b6b(_0x1179f3){return new window[(_0x13847b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46ac32,_0x3f025f)=>{_0x1179f3[_0x13847b([0x74,0x68,0x65,0x6e])](_0x46ac32,_0x3f025f),window[_0x13847b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f025f,0x3b023b93^_0x2b4b47);});}}_0x3de3de[_0x13847b([0x6f,0x6e])](_0x13847b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x50967b,_0xa69dd0)=>{if(_0xa69dd0[0x0]!=_0x4c828b)return _0x4fcfe5(_0x13847b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa69dd0[0x1]={..._0xa69dd0[0x1],[_0x13847b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4194f6};},{[_0x13847b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13847b([0x68,0x69,0x67,0x68])}),_0x3de3de[_0x13847b([0x6f,0x6e])](_0x13847b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41aac3=>{_0x3d5b7d(_0x41aac3[_0x13847b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ef0e6=!0x0,_0x439970(_0x41aac3[_0x13847b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x13847b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13847b([0x6c,0x6f,0x77])}),_0x4bb314[_0x13847b([0x74,0x68,0x65,0x6e])](()=>{_0x3ef0e6||_0x4fcfe5(_0x13847b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3516ca(){return _0x3de3de[_0x13847b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13847b([0x76,0x69,0x65,0x77])][_0x13847b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x13847b([0x61,0x75,0x74,0x6f]);}function _0x562cea(){_0x3de3de[_0x13847b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13847b([0x76,0x69,0x65,0x77])][_0x13847b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x13847b([0x61,0x75,0x74,0x6f]);}}function _0x2f74ed(_0x23148d){const _0x3a3fd8=[new window[(_0x13847b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x385b96=>setTimeout(_0x385b96,0x3b0ad19f^_0x2b4b47)),_0x4bb314[_0x13847b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x13847b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cd69d=>{let _0x13a3e6=0x0;_0x3de3de[_0x13847b([0x6d,0x6f,0x64,0x65,0x6c])][_0x13847b([0x6f,0x6e])](_0x13847b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x267af6,_0x39ce3f)=>{_0x39ce3f[0x0][_0x13847b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x13a3e6++,_0x13a3e6==(0x3b03eeab^_0x2b4b47)&&(_0x4cd69d(),_0x267af6[_0x13847b([0x6f,0x66,0x66])]());});}))];return window[_0x13847b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x13847b([0x72,0x61,0x63,0x65])](_0x3a3fd8)[_0x13847b([0x74,0x68,0x65,0x6e])](()=>_0x23148d);}async function _0x555f65(){await _0x4bb314,_0x3de3de[_0x13847b([0x6d,0x6f,0x64,0x65,0x6c])][_0x13847b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4533b3,_0x3de3de[_0x13847b([0x6d,0x6f,0x64,0x65,0x6c])][_0x13847b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4533b3,_0x3de3de[_0x13847b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13847b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2dc57a(_0x498b51){const _0x47fc0e=_0x2d8bbb();_0x3de3de[_0x47fc0e]=_0x13847b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x498b51,_0x498b51!=_0x13847b([0x56,0x61,0x6c,0x69,0x64])&&_0x555f65();}function _0x2d8bbb(){const _0x4a6497=window[_0x13847b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x13847b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x13847b([0x6e,0x6f,0x77])]())[_0x13847b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x13847b([0x2e]),'');let _0x737ab4=_0x13847b([0x70]);for(let _0xc63a39=0x0;_0xc63a39<_0x4a6497[_0x13847b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc63a39+=0x2){let _0xe4e435=window[_0x13847b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a6497[_0x13847b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc63a39,_0xc63a39+0x2));_0xe4e435>=_0x8c520[_0x13847b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe4e435-=_0x8c520[_0x13847b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x737ab4+=_0x8c520[_0xe4e435];}return _0x737ab4;}function _0xf5e316(){const _0x5b8418=_0x2d29b3[_0x13847b([0x73,0x70,0x6c,0x69,0x74])](_0x13847b([0x2e]));if(0x3!=_0x5b8418[_0x13847b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1500b4(_0x5b8418[0x1]);function _0x1500b4(_0x3b9b68){const _0x2aa215=_0x244348(_0x3b9b68);return _0x2aa215&&_0x2299f0()?_0x2aa215:null;function _0x2299f0(){const _0x5abe11=_0x2aa215[_0x13847b([0x6a,0x74,0x69])],_0x3803fd=window[_0x13847b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5abe11[_0x13847b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5abe11[_0x13847b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x42a8dc={..._0x2aa215,[_0x13847b([0x6a,0x74,0x69])]:_0x5abe11[_0x13847b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5abe11[_0x13847b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x42a8dc[_0x13847b([0x76,0x63])],_0x4a46ef(_0x42a8dc)==_0x3803fd;}}}async function _0x3c455e(){let _0x43d09a=!0x0;try{const _0x4e1f7f=_0x2d29b3[_0x13847b([0x73,0x70,0x6c,0x69,0x74])](_0x13847b([0x2e])),[_0x478e15,_0x5d1913,_0x4ff88e]=_0x4e1f7f;return _0x1c179d(_0x478e15),await _0x5c327c(_0x478e15,_0x5d1913,_0x4ff88e),_0x43d09a;}catch(_0x1765bf){return!0x1;}function _0x1c179d(_0x3de48c){const _0x2c3f19=_0x244348(_0x3de48c);_0x2c3f19&&_0x2c3f19[_0x13847b([0x61,0x6c,0x67])]==_0x13847b([0x45,0x53,0x32,0x35,0x36])||(_0x43d09a=!0x1);}async function _0x5c327c(_0x2bb3ee,_0x4ff258,_0x5a6d03){const _0x3cac29=window[_0x13847b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x13847b([0x66,0x72,0x6f,0x6d])](_0x402366(_0x5a6d03),_0x45a67a=>_0x45a67a[_0x13847b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x31de80=new window[(_0x13847b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x13847b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2bb3ee+_0x13847b([0x2e])+_0x4ff258),_0x33819d=window[_0x13847b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x13847b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33819d)return;const _0x821581=await _0x33819d[_0x13847b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x13847b([0x6a,0x77,0x6b]),_0x476575,{[_0x13847b([0x6e,0x61,0x6d,0x65])]:_0x13847b([0x45,0x43,0x44,0x53,0x41]),[_0x13847b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x13847b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x13847b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33819d[_0x13847b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x13847b([0x6e,0x61,0x6d,0x65])]:_0x13847b([0x45,0x43,0x44,0x53,0x41]),[_0x13847b([0x68,0x61,0x73,0x68])]:{[_0x13847b([0x6e,0x61,0x6d,0x65])]:_0x13847b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x821581,_0x3cac29,_0x31de80)||(_0x43d09a=!0x1);}}function _0x244348(_0x1da687){return _0x1da687[_0x13847b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x13847b([0x65,0x79]))?JSON[_0x13847b([0x70,0x61,0x72,0x73,0x65])](_0x402366(_0x1da687)):null;}function _0x402366(_0x1429b6){return window[_0x13847b([0x61,0x74,0x6f,0x62])](_0x1429b6[_0x13847b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x13847b([0x2b]))[_0x13847b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x13847b([0x2f])));}function _0x4a46ef(_0x47b92e){let _0x13c8f0=0x1505;function _0x2b11c4(_0x26a00c){for(let _0x2425f0=0x0;_0x2425f0<_0x26a00c[_0x13847b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2425f0++){const _0x2c976c=_0x26a00c[_0x13847b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2425f0);_0x13c8f0=(_0x13c8f0<<0x5)+_0x13c8f0+_0x2c976c,_0x13c8f0&=_0x13c8f0;}}function _0x4848ec(_0x395e45){Array[_0x13847b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x395e45)?_0x395e45[_0x13847b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4848ec):_0x395e45&&typeof _0x395e45==_0x13847b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x13847b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x395e45)[_0x13847b([0x73,0x6f,0x72,0x74])]()[_0x13847b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x54852f,_0x2dc139])=>{_0x2b11c4(_0x54852f),_0x4848ec(_0x2dc139);}):_0x2b11c4(window[_0x13847b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x395e45));}return _0x4848ec(_0x47b92e),_0x13c8f0>>>0x0;}function _0x2cecdc(_0x4a4941){return _0x4a4941[_0x13847b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x13847b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x13847b([0x30]));}function _0xee7527(_0x5b9c79){return _0x5b9c79[_0x13847b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x13847b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x13847b([0x6a,0x6f,0x69,0x6e])]('');}function _0x4533b3(){}function _0x13847b(_0x2d172f){const _0x39375e=_0x4dbc;return _0x2d172f[_0x39375e(0x1e6)](_0xbc60ad=>String[_0x39375e(0x1b7)](_0xbc60ad))[_0x39375e(0x1d0)]('');}_0x2dc57a(await _0x7f2800());}(this);}[_0x518c56(0x1fa)](){const _0x1cfaa3=_0x518c56,_0x208898=this[_0x1cfaa3(0x1b3)][_0x1cfaa3(0x1e2)][_0x1cfaa3(0x1cf)];_0x208898[_0x1cfaa3(0x1ef)](_0x1cfaa3(0x1d4))&&_0x208898[_0x1cfaa3(0x1da)](_0x1cfaa3(0x1d4),{'allowAttributes':[_0x1cfaa3(0x1c1)]}),_0x208898[_0x1cfaa3(0x1ef)](_0x1cfaa3(0x1e9))&&_0x208898[_0x1cfaa3(0x1da)](_0x1cfaa3(0x1e9),{'allowAttributes':[_0x1cfaa3(0x1c1)]});}[_0x518c56(0x1f8)](){const _0x2f50de=_0x518c56,_0x3fd11e=this[_0x2f50de(0x1b3)];_0x3fd11e[_0x2f50de(0x1f6)][_0x2f50de(0x1bf)](_0x2f50de(0x1f3))[_0x2f50de(0x1c6)]({'model':_0x2f50de(0x1c1),'view':_0x2f50de(0x1df)}),_0x3fd11e[_0x2f50de(0x1f6)][_0x2f50de(0x1bf)](_0x2f50de(0x1bb))[_0x2f50de(0x1eb)]({'model':{'key':_0x2f50de(0x1c1),'value':_0x3deafc=>_0x3deafc[_0x2f50de(0x1cc)](_0x2f50de(0x1df))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x45eadc=_0x3fd11e[_0x2f50de(0x202)][_0x2f50de(0x1ea)](_0x2f50de(0x1d7));_0x45eadc&&this[_0x2f50de(0x1cd)](_0x45eadc,_0x2f50de(0x1e0),(_0x4ea0e6,[_0x30881b,_0x2f7651])=>{const _0x59053e=_0x2f50de;_0x30881b[_0x59053e(0x1e7)](_0x59053e(0x1c1),_0x2f7651);});}[_0x518c56(0x1de)](){const _0xdc21da=_0x518c56,_0x4d7c26=this[_0xdc21da(0x1b3)][_0xdc21da(0x1c8)][_0xdc21da(0x1ea)](_0xdc21da(0x1c4))||{},_0xc0c99d=this[_0xdc21da(0x1b3)][_0xdc21da(0x1c8)][_0xdc21da(0x1ea)](_0xdc21da(0x1c7))||'';this[_0xdc21da(0x1ff)]=_0x5c47ef(_0x31501a[_0xdc21da(0x1db)],_0xdc21da(0x1c0),{..._0x4d7c26,'pubkey':_0xc0c99d,'ctx-name':_0xdc21da(0x205),'sourceList':'','imgOnly':_0xdc21da(0x1b8),'removeCopyright':_0xdc21da(0x1b8),'localeName':this[_0xdc21da(0x1b3)][_0xdc21da(0x1d3)][_0xdc21da(0x1c9)],'externalSourcesEmbedCss':_0xdc21da(0x1be)}),this[_0xdc21da(0x1ff)][_0xdc21da(0x1bc)]=_0x296634=>{const _0x71bb5a=_0xdc21da;if(_0x71bb5a(0x206)==_0x296634)return _0x71bb5a(0x1ed);},_0x31501a[_0xdc21da(0x1db)][_0xdc21da(0x204)][_0xdc21da(0x1ca)](this[_0xdc21da(0x1ff)]);}[_0x518c56(0x1dc)](){const _0x33d876=_0x518c56;this[_0x33d876(0x1d2)]=_0x5c47ef(_0x31501a[_0x33d876(0x1db)],_0x33d876(0x1f0),{'ctx-name':_0x33d876(0x205)}),_0x31501a[_0x33d876(0x1db)][_0x33d876(0x204)][_0x33d876(0x1ca)](this[_0x33d876(0x1d2)]);}[_0x518c56(0x1fd)](){const _0x3ec35e=_0x518c56,_0x38c364=this[_0x3ec35e(0x1b3)][_0x3ec35e(0x202)][_0x3ec35e(0x1ea)](_0x3ec35e(0x1c3));_0x38c364&&this[_0x3ec35e(0x1cd)](_0x38c364,_0x3ec35e(0x1e5),()=>{const _0x52afc1=_0x3ec35e,_0x1f51c6=this[_0x52afc1(0x1b3)][_0x52afc1(0x1e2)][_0x52afc1(0x1db)][_0x52afc1(0x1f5)][_0x52afc1(0x1d8)]();_0x1f51c6&&_0x1f51c6[_0x52afc1(0x1cc)](_0x52afc1(0x1c1))&&this[_0x52afc1(0x1b3)][_0x52afc1(0x1b9)][_0x52afc1(0x1f2)][_0x52afc1(0x1c2)](_0x52afc1(0x201),()=>{const _0x2fdffa=_0x52afc1;_0x2b6420(this[_0x2fdffa(0x1b3)],_0x1f51c6);});});const _0x4988f5=this[_0x3ec35e(0x1b3)][_0x3ec35e(0x202)][_0x3ec35e(0x1ea)](_0x3ec35e(0x1fc));_0x4988f5&&this[_0x3ec35e(0x1cd)](_0x4988f5,_0x3ec35e(0x1e5),()=>{const _0x2c8f4c=_0x3ec35e,_0x166cc2=this[_0x2c8f4c(0x1b3)][_0x2c8f4c(0x1e2)][_0x2c8f4c(0x1db)][_0x2c8f4c(0x1f5)][_0x2c8f4c(0x1d8)]();_0x166cc2&&_0x166cc2[_0x2c8f4c(0x1cc)](_0x2c8f4c(0x1c1))&&this[_0x2c8f4c(0x1b3)][_0x2c8f4c(0x1b9)][_0x2c8f4c(0x1f2)][_0x2c8f4c(0x1c2)](_0x2c8f4c(0x201),()=>{const _0x527aff=_0x2c8f4c;_0x2b6420(this[_0x527aff(0x1b3)],_0x166cc2);});});}}function _0x4dbc(_0x71fd60,_0x8e1228){const _0x5a1392=_0x5a13();return _0x4dbc=function(_0x4dbc8b,_0x88f353){_0x4dbc8b=_0x4dbc8b-0x1b2;let _0x4d2e65=_0x5a1392[_0x4dbc8b];return _0x4d2e65;},_0x4dbc(_0x71fd60,_0x8e1228);}function _0x5a13(){const _0x47470d=['extend','document','_initCtx','42270GzPOWF','_initConfig','data-uc-image-id','cleanupImage','add','model','destroy','105slqqsg','execute','map','removeAttribute','configElement','imageInline','get','elementToAttribute','remove','#uc-icon-arrow-down','74020tUxosr','isRegistered','uc-upload-ctx-provider','querySelector','view','downcast','4KYAAhT','selection','conversion','isOfficialPlugin','_initConversion','40272ceRsTN','_initSchema','ctxElement','uploadcareImageReplace','_initImageProcessingIndicator','input[uploadcare-file-input]','_configElement','isPremiumPlugin','render','commands','init','body','uploader','closeMax','afterInit','editor','10770SfOyyG','pluginName','616387gdiPWH','fromCharCode','true','editing','UploadcareEditing','upcast','iconHrefResolver','uploadcare','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','for','uc-config','uploadcareImageId','once','insertImage','uploadcare.uploader','964616FgbAXR','attributeToAttribute','uploadcare.pubkey','config','contentLanguage','appendChild','1109169iUsUYm','getAttribute','listenTo','3443xdWoBw','schema','join','href','_ctxElement','locale','imageBlock','PictureEditing','882BCmQFh','replaceImageSource','getSelectedElement','requires'];_0x5a13=function(){return _0x47470d;};return _0x5a13();}