@ckeditor/ckeditor5-uploadcare 46.0.0-alpha.1 → 46.0.0-alpha.3

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.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x29696b,Command as _0x468043}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x404707,IconGooglePhotos as _0x320594,IconGoogleDrive as _0x1e298a,IconFacebook as _0x1ddeb6,IconDropbox as _0x41bd33,IconUploadcareLink as _0x4f225b,IconUploadcareImageUpload as _0xd3953a,IconError as _0x5362b8,IconUploadcareImageEdit as _0x2bbec4}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3636bf,MenuBarMenuListItemButtonView as _0x239793,View as _0x4db710,FocusCycler as _0x33a5f8,Dialog as _0x50fd6c,DialogViewPosition as _0xa9e1eb,SpinnerView as _0x5cf200,IconView as _0x1cf3cf,Notification as _0x37d367}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x41ba66,DomEmitterMixin as _0x173d96,global as _0x230713,getAncestors as _0x4d8c01,ObservableMixin as _0x14b450,uid as _0x29cc85,createElement as _0x1fc52b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2ad47d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x12cf73,info as _0x4a4051}from'@uploadcare/upload-client';import*as _0x12b04a from'@uploadcare/file-uploader';var i=function(_0x1c7a44){return _0x1c7a44['Local']='local',_0x1c7a44['URL']='url',_0x1c7a44['Dropbox']='dropbox',_0x1c7a44['GDrive']='gdrive',_0x1c7a44['Facebook']='facebook',_0x1c7a44['GPhotos']='gphotos',_0x1c7a44['OneDrive']='onedrive',_0x1c7a44;}({});function _(_0x31a5a4,_0x565a17,_0x1d7804){const t=_0x31a5a4['t'],_0x429678=_0x31a5a4['t'];switch(_0x565a17){case i['Local']:return{'text':_0x429678('Insert'===_0x1d7804?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x429678('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x1d7804?_0x429678('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x429678('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x1d7804?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x1d7804?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x1d7804?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x1d7804?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x1d7804?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x565a17;}}class e extends _0x29696b{['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 _0x3ad903=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e79b2;for(const _0x32e935 in _0x3ad903){const _0x435178=_0x32e935,_0x5ee4fb=_0x3ad903[_0x435178];if('uploadcareLicenseKeyValid'==_0x5ee4fb||'uploadcareLicenseKeyInvalid'==_0x5ee4fb||'uploadcareLicenseKeyExpired'==_0x5ee4fb||'uploadcareLicenseKeyDomainLimit'==_0x5ee4fb||'uploadcareLicenseKeyNotAllowed'==_0x5ee4fb||'uploadcareLicenseKeyEvaluationLimit'==_0x5ee4fb||'uploadcareLicenseKeyTrialLimit'==_0x5ee4fb||'uploadcareLicenseKeyUsageLimit'==_0x5ee4fb){delete _0x3ad903[_0x435178],_0x2e79b2=_0x5ee4fb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2e79b2&&_0x3ad903['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2e79b2&&_0x3ad903['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2e79b2&&_0x3ad903['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2e79b2&&_0x3ad903['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2e79b2&&_0x3ad903['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2e79b2&&_0x3ad903['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2e79b2&&_0x3ad903['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x32c8fe}=this,_0x1ca10c=_0x32c8fe['commands']['get']('uploadcare');if(!_0x1ca10c)return;const _0x46136c=this['_normalizeConfigSourceList'](_0x32c8fe['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3fea83,_0x37e21b)=>{const _0x3977d6=this['_getIntegrationKey'](_0x37e21b['type']);return _0x3fea83[_0x3977d6]||(_0x3fea83[_0x3977d6]=[]),_0x3fea83[_0x3977d6]['push'](_0x37e21b),_0x3fea83;},{});_0x32c8fe['plugins']['has']('ImageInsertUI')&&_0x32c8fe['commands']['get']('uploadcare')&&Object['entries'](_0x46136c)['forEach'](([_0x3c269e,_0x18a0d1])=>{_0x32c8fe['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3c269e,'observable':()=>_0x1ca10c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x18a0d1),'formViewCreator':()=>this['_createDropdownButtons'](_0x18a0d1),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x18a0d1),'override':'assetManager'!==_0x3c269e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x21d956){const {locale:_0xb6d0a7}=this['editor'];return _0x21d956['map'](_0xde6c3=>{const _0x5c474b=_(_0xb6d0a7,_0xde6c3,'Insert');switch(_0xde6c3){case i['Local']:return{'icon':_0xd3953a,'type':i['Local'],..._0x5c474b};case i['URL']:return{'icon':_0x4f225b,'type':i['URL'],..._0x5c474b};case i['Dropbox']:return{'icon':_0x41bd33,'type':i['Dropbox'],..._0x5c474b};case i['Facebook']:return{'icon':_0x1ddeb6,'type':i['Facebook'],..._0x5c474b};case i['GDrive']:return{'icon':_0x1e298a,'type':i['GDrive'],..._0x5c474b};case i['GPhotos']:return{'icon':_0x320594,'type':i['GPhotos'],..._0x5c474b};case i['OneDrive']:return{'icon':_0x404707,'type':i['OneDrive'],..._0x5c474b};}});}['_getIntegrationKey'](_0x3664d4){switch(_0x3664d4){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3e2c12,_0xc40726){const _0x16d19a=this['editor'],_0x2326e4=new _0x3e2c12(_0x16d19a['locale']),_0x304e5e=_0x16d19a['commands']['get']('uploadcare');return _0x2326e4['bind']('isEnabled')['to'](_0x304e5e),_0x2326e4['on']('execute',()=>{_0x304e5e['execute'](_0xc40726);}),_0x2326e4;}['_createToolbarButton'](_0x5e1002){const {locale:_0x4464bb}=this['editor'],_0x5490e0=this['editor']['plugins']['get']('ImageInsertUI'),_0x1563a8=_0x5e1002[0x0],_0x54fc85=this['_createButton'](_0x3636bf,_0x1563a8['type']);return _0x54fc85['icon']=_0x1563a8['icon'],_0x54fc85['bind']('label')['to'](_0x5490e0,'isImageSelected',_0x452c92=>_(_0x4464bb,_0x1563a8['type'],_0x452c92?'Replace':'Insert')['text']),_0x54fc85['tooltip']=!0x0,_0x54fc85;}['_createDropdownButtons'](_0x4e18c5){const {locale:_0x426b1f}=this['editor'],_0x2fdc1c=this['editor']['plugins']['get']('ImageInsertUI');return _0x4e18c5['map'](_0x192fd7=>{const _0x2c0b5b=this['_createButton'](_0x3636bf,_0x192fd7['type']);return _0x2c0b5b['withText']=!0x0,_0x2c0b5b['icon']=_0x192fd7['icon'],_0x2c0b5b['bind']('label')['to'](_0x2fdc1c,'isImageSelected',_0x4e9b17=>_(_0x426b1f,_0x192fd7['type'],_0x4e9b17?'Replace':'Insert')['text']),_0x2c0b5b;});}['_createMenuBarButtons'](_0x1c38f3){return _0x1c38f3['map'](_0x5e85f1=>{const _0x406234=this['_createButton'](_0x239793,_0x5e85f1['type']);return _0x406234['icon']=_0x5e85f1['icon'],_0x406234['label']=_0x5e85f1['shortText'],_0x406234;});}}class F extends _0x4db710{['focusTracker'];['focusCycler'];constructor(_0x3093bb){super(_0x3093bb),this['focusTracker']=new _0x41ba66(),this['focusCycler']=new _0x33a5f8({'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 x extends F{constructor(_0xc3787e,_0x19c567){super(_0xc3787e),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-'+_0x19c567}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0xf9f625,_0xd8237f){const _0x4b7a1c=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3a9e14=>_0x3a9e14<=_0xd8237f)['map'](_0x15cdda=>_0xf9f625['replace'](/\/$/,'')+'/-/resize/'+_0x15cdda+'x/\x20'+_0x15cdda+'w');return{'imageFallbackUrl':_0xf9f625,'imageSources':[{'srcset':_0x4b7a1c['join'](',\x20'),'sizes':'(max-width:\x20'+_0xd8237f+'px)\x20100vw,\x20'+_0xd8237f+'px','type':'image/webp'}]};}function C(_0x3d83c5,_0x1b42b5,_0x2c2a67){const _0xe90fd7=_0x3d83c5['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xe90fd7?parseInt(_0xe90fd7[0x1],0xa):_0x1b42b5,'height':_0xe90fd7?parseInt(_0xe90fd7[0x2],0xa):_0x2c2a67};}function p(_0xe688b2,_0x12bc61){const _0x1526fa=new(_0x173d96())(),_0x55d25d=_0xe688b2['plugins']['get']('ImageUtils'),_0x5e4c81=_0xe688b2['editing']['mapper']['toViewElement'](_0x12bc61),_0x466670=_0x55d25d['findViewImgElement'](_0x5e4c81),_0x50af44=_0xe688b2['editing']['view']['domConverter']['viewToDom'](_0x466670),_0xc33ef2=_0x12bc61['getAttribute']('width'),_0x720d8d=_0x12bc61['getAttribute']('height'),_0x32bb82='image-processing';_0xe688b2['editing']['view']['change'](_0x15a768=>{_0x15a768['addClass'](_0x32bb82,_0x5e4c81),_0x15a768['setStyle']('aspect-ratio',_0xc33ef2+'/'+_0x720d8d,_0x466670);}),_0x1526fa['listenTo'](_0x50af44,'load',()=>{_0x1526fa['stopListening'](_0x50af44,'load'),_0xe688b2['editing']['view']['change'](_0x17eab1=>{_0x17eab1['removeClass'](_0x32bb82,_0x5e4c81),_0x17eab1['removeStyle']('aspect-ratio',_0x466670);});});}function z(_0x22c7f9){if(Array['isArray'](_0x22c7f9)){const _0x501985=_0x22c7f9['map'](z);return _0x499ca6=>_0x501985['some'](_0x40a31f=>_0x40a31f(_0x499ca6));}if('origin'==_0x22c7f9){const _0x356cf9=_0x230713['window']['location']['origin'];return _0x52e84b=>new URL(_0x52e84b,_0x230713['document']['baseURI'])['origin']==_0x356cf9;}return'function'==typeof _0x22c7f9?_0x22c7f9:_0x22c7f9 instanceof RegExp?_0x186d71=>!(!_0x186d71['match'](_0x22c7f9)&&!_0x186d71['replace'](/^https?:\/\//,'')['match'](_0x22c7f9)):()=>!0x1;}function S(_0x3af925,_0x4ac685){return _0x4d8c01(_0x3af925['target'])['includes'](_0x4ac685);}class n extends/* #__PURE__ -- @preserve */
24
- _0x14b450(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x1561ff,_0x275d5e,_0x2673b6){super(),this['_editor']=_0x1561ff,this['_editing']=_0x275d5e,this['_dialog']=_0x1561ff['plugins']['get'](_0x50fd6c),this['_api']=_0x275d5e['ctxElement']['getAPI'](),this['_type']=_0x2673b6,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:_0x3b9ce4,model:_0xa3c9c1}=this['_editor'],_0x3b7e22=_0xa3c9c1['document']['selection']['getSelectedElement'](),_0x56496f=_0x3b7e22&&(_0x3b7e22['is']('element','imageBlock')||_0x3b7e22['is']('element','imageInline'));this['_formView']=new x(_0x3b9ce4,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xd3953a,'title':_(_0x3b9ce4,this['_type'],_0x56496f?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xa9e1eb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2f1cec=>!S(_0x2f1cec,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x189445}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x30824f=>{const _0x4d9864=_0x189445['length'];for(const _0x594ad2 of _0x189445){const _0x533586=_0x594ad2===_0x189445[_0x4d9864-0x1],{cdnUrl:_0xf3c614,fileInfo:_0xe3dd6d}=_0x594ad2;if(!_0xf3c614||!_0xe3dd6d)continue;const {width:_0xa6a36f,height:_0x450036}=_0xe3dd6d['imageInfo'],_0x1aafe5=C(_0xf3c614,_0xa6a36f,_0x450036),_0xd9879e=k(_0xf3c614,_0x1aafe5['width']),_0x11ba6f={'id':_0xe3dd6d['uuid'],'type':'image','attributes':{'imageDimension':_0x1aafe5,..._0xd9879e}};this['_insertAsset'](_0x11ba6f,_0x533586,_0x30824f);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x339ddf=>{'idle'===_0x339ddf['detail']['status']&&!_0x339ddf['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3426ed,_0x2b9acb,_0x40132d){const _0x7773c5=this['_editor']['model']['document']['selection'],_0x1b3b40=_0x7773c5['getSelectedElement'](),_0xe9b216=!(!_0x1b3b40||!_0x1b3b40['is']('element','imageInline'));_0x40132d['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3426ed,_0xe9b216),_0x2b9acb||_0x40132d['setSelection'](_0x7773c5['getLastPosition']());}['_insertImage'](_0x34df24,_0x2af787){const _0x49b518=this['_editor'],{imageDimension:_0x30a598,imageFallbackUrl:_0x14fb9f,imageSources:_0x29ab88}=_0x34df24['attributes'];_0x49b518['execute']('insertImage',{'imageType':_0x2af787?'imageInline':null,'source':{'uploadcareImageId':_0x34df24['id'],'src':_0x14fb9f,'sources':_0x29ab88,..._0x30a598}});}}class w extends _0x468043{['_editing'];['_controller']=null;static get['requires'](){return[_0x50fd6c,o];}constructor(_0x5376a1){super(_0x5376a1),this['_editing']=_0x5376a1['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5e6806){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x5e6806);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3aef5a,publicKey:_0xdf6c1a,signal:_0x76b059,onProgress:_0x4b7fc7}){return _0x12cf73(_0x3aef5a,{'publicKey':_0xdf6c1a,'store':'auto','signal':_0x76b059,'onProgress':_0x4b7fc7});}static['getInfo'](_0x1a2674,_0x172485){return _0x4a4051(_0x1a2674,_0x172485);}}class f extends _0x29696b{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2ad47d,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2d3560=this['editor'];if(!!!_0x2d3560['config']['get']('uploadcare'))return;_0x2d3560['plugins']['get'](_0x2ad47d)['createUploadAdapter']=_0xa2dc4e=>new A(_0xa2dc4e,_0x2d3560),_0x2d3560['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x36b566,{imageElement:_0x5acbc7,data:_0x4ea363})=>{_0x2d3560['model']['change'](_0x3a5214=>{_0x3a5214['setAttribute']('uploadcareImageId',_0x4ea363['uploadcareImageId'],_0x5acbc7);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x4f45a4,_0x38d18e){this['loader']=_0x4f45a4,this['editor']=_0x38d18e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xcdfcfe=this['editor']['config']['get']('uploadcare.pubkey'),_0x558927=await this['loader']['file'];return j['upload']({'file':_0x558927,'publicKey':_0xcdfcfe,'signal':this['controller']['signal'],'onProgress':_0x2ec772=>{_0x2ec772&&_0x2ec772['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2ec772['value']);}})['then'](async _0x1c9cb5=>{const {imageFallbackUrl:_0x488a7d,imageSources:_0x4945a8}=k(_0x1c9cb5['cdnUrl'],_0x1c9cb5['imageInfo']['width']);return{'uploadcareImageId':_0x1c9cb5['uuid'],'default':_0x488a7d,'sources':_0x4945a8};})['catch'](()=>{const _0x8518e6=t('Cannot\x20upload\x20file:')+('\x20'+_0x558927['name']+'.');return Promise['reject'](_0x8518e6);});}['abort'](){this['controller']['abort']();}}class o extends _0x29696b{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x50fd6c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x511a04){super(_0x511a04),this['ucContextId']=_0x29cc85();}['init'](){const _0x308ade=this['editor'];_0x308ade['commands']['add']('uploadcare',new w(_0x308ade));}['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 _0x39003a=_0x230713['document']['querySelector']('input[uploadcare-file-input]');_0x39003a&&_0x39003a['remove']();}),async function(_0x2f8d2a){const _0x3407e9=_0x5ae8b4([0x35,0x64,0x66,0x76,0x56,0x32,0x5a,0x46,0x49,0x6d,0x47,0x4a,0x37,0x4d,0x57,0x63,0x4f,0x36,0x6c,0x65,0x48,0x74,0x50,0x71,0x6b,0x62,0x75,0x51,0x53,0x68,0x69,0x54,0x30,0x6e,0x44,0x45,0x41,0x4e,0x77,0x73,0x6a,0x33,0x70,0x38,0x43,0x78,0x72,0x31,0x61,0x52,0x42,0x67,0x55,0x4b,0x4c,0x7a,0x59,0x6f,0x58,0x34,0x79,0x39]),_0x2a6578=0x2cc1038,_0x4fb420=0x2cb7c50^_0x2a6578,_0x363dec=window[_0x5ae8b4([0x44,0x61,0x74,0x65])][_0x5ae8b4([0x6e,0x6f,0x77])](),_0x1964e4=_0x2f8d2a[_0x5ae8b4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x252add=new window[(_0x5ae8b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x164f9c=>{_0x1964e4[_0x5ae8b4([0x6f,0x6e,0x63,0x65])](_0x5ae8b4([0x72,0x65,0x61,0x64,0x79]),_0x164f9c);}),_0x4bc497={[_0x5ae8b4([0x6b,0x74,0x79])]:_0x5ae8b4([0x45,0x43]),[_0x5ae8b4([0x75,0x73,0x65])]:_0x5ae8b4([0x73,0x69,0x67]),[_0x5ae8b4([0x63,0x72,0x76])]:_0x5ae8b4([0x50,0x2d,0x32,0x35,0x36]),[_0x5ae8b4([0x78])]:_0x5ae8b4([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]),[_0x5ae8b4([0x79])]:_0x5ae8b4([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]),[_0x5ae8b4([0x61,0x6c,0x67])]:_0x5ae8b4([0x45,0x53,0x32,0x35,0x36])},_0x494fd3=_0x1964e4[_0x5ae8b4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ae8b4([0x67,0x65,0x74])](_0x5ae8b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2696ee(){let _0x388488,_0x34d541=null,_0x1d7b40=null;try{if(_0x494fd3==_0x5ae8b4([0x47,0x50,0x4c]))return _0x5ae8b4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x388488=_0x3dc9ad(),!_0x388488)return _0x5ae8b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x388488[_0x5ae8b4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d7b40=_0x288166(_0x388488[_0x5ae8b4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x388488[_0x5ae8b4([0x6a,0x74,0x69])])),await _0x2ab8b4()?_0x3f6a83()?_0x2a49be()?_0x5ae8b4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x903f66()?(_0x388488[_0x5ae8b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ae8b4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x34d541=_0x59f8fa(_0x5ae8b4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x388488[_0x5ae8b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ae8b4([0x74,0x72,0x69,0x61,0x6c])&&(_0x34d541=_0x59f8fa(_0x5ae8b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e8e19()):_0x5ae8b4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ae8b4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ae8b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5ae8b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a49be(){const _0xeeae48=[_0x5ae8b4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ae8b4([0x74,0x72,0x69,0x61,0x6c])][_0x5ae8b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x388488[_0x5ae8b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x363dec/0x3e8:0xe10*_0x4fb420;return _0x388488[_0x5ae8b4([0x65,0x78,0x70])]<_0xeeae48;}function _0x3f6a83(){const _0x41c093=_0x388488[_0x5ae8b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x41c093&&(!!_0x41c093[_0x5ae8b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ae8b4([0x2a]))||!!_0x41c093[_0x5ae8b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ae8b4([0x55,0x50,0x4c,0x43])));}function _0x903f66(){const _0x330b95=_0x388488[_0x5ae8b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x330b95||0x0==_0x330b95[_0x5ae8b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c0406}=new URL(window[_0x5ae8b4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x330b95[_0x5ae8b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c0406))return!0x0;const _0x1752cd=_0x4c0406[_0x5ae8b4([0x73,0x70,0x6c,0x69,0x74])](_0x5ae8b4([0x2e]));return _0x330b95[_0x5ae8b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xfaac5f=>_0xfaac5f[_0x5ae8b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ae8b4([0x2a])))[_0x5ae8b4([0x6d,0x61,0x70])](_0x5c2503=>_0x5c2503[_0x5ae8b4([0x73,0x70,0x6c,0x69,0x74])](_0x5ae8b4([0x2e])))[_0x5ae8b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d44d3=>_0x1d44d3[_0x5ae8b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1752cd[_0x5ae8b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ae8b4([0x6d,0x61,0x70])](_0x32787f=>Array(_0x1752cd[_0x5ae8b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x32787f[_0x5ae8b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ae8b4([0x66,0x69,0x6c,0x6c])](_0x32787f[0x0]===_0x5ae8b4([0x2a])?_0x5ae8b4([0x2a]):'')[_0x5ae8b4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x32787f))[_0x5ae8b4([0x73,0x6f,0x6d,0x65])](_0x147270=>_0x1752cd[_0x5ae8b4([0x65,0x76,0x65,0x72,0x79])]((_0x17d746,_0x423078)=>_0x147270[_0x423078]===_0x17d746||_0x147270[_0x423078]===_0x5ae8b4([0x2a])));}function _0x3e8e19(){return _0x34d541&&_0x1d7b40?new window[(_0x5ae8b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x62b0a3,_0xc00044)=>{_0x34d541[_0x5ae8b4([0x74,0x68,0x65,0x6e])](_0x62b0a3,_0xc00044),_0x1d7b40[_0x5ae8b4([0x74,0x68,0x65,0x6e])](_0x4bf457=>{_0x4bf457!=_0x5ae8b4([0x56,0x61,0x6c,0x69,0x64])&&_0x62b0a3(_0x4bf457);},_0xc00044);}):_0x34d541||_0x1d7b40||_0x5ae8b4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x288166(_0x5bd41d,_0x218a81){return new window[(_0x5ae8b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43fe03=>{if(_0x28e4ab())return _0x43fe03(_0x5ae8b4([0x56,0x61,0x6c,0x69,0x64]));_0x2fdfd1(),_0x1964e4[_0x5ae8b4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ae8b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x398b86=!0x1;const _0x48ea52=_0x29cc85();function _0x4c28d6(_0xacc64f){return!!_0xacc64f&&(typeof _0xacc64f===_0x5ae8b4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xacc64f===_0x5ae8b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xacc64f[_0x5ae8b4([0x74,0x68,0x65,0x6e])]===_0x5ae8b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xacc64f[_0x5ae8b4([0x63,0x61,0x74,0x63,0x68])]===_0x5ae8b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x106b96(_0x92e7cb){_0xbbaa62(_0x92e7cb)[_0x5ae8b4([0x74,0x68,0x65,0x6e])](_0x4d7c9a=>{if(!_0x4d7c9a||_0x4d7c9a[_0x5ae8b4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ae8b4([0x6f,0x6b]))return _0x5ae8b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3cd8cb(_0x107ccb(_0x48ea52+_0x218a81))!=_0x4d7c9a[_0x5ae8b4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ae8b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ae8b4([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ae8b4([0x74,0x68,0x65,0x6e])](_0x154af2=>(_0x2b6de6(),_0x154af2),()=>{const _0x192402=_0x4434b0();return null==_0x192402?(_0x2b6de6(),_0x5ae8b4([0x56,0x61,0x6c,0x69,0x64])):_0x5ae8b4(_0x363dec-_0x192402>(0x26c09438^_0x2a6578)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ae8b4([0x74,0x68,0x65,0x6e])](_0x43fe03)[_0x5ae8b4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43fe03(_0x5ae8b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x279220=0x2fafeb8^_0x2a6578;function _0x2b6de6(){const _0x2d000b=_0x5ae8b4([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cd8cb(_0x107ccb(_0x5bd41d)),_0x8859a9=_0x4a4079(_0x3cd8cb(window[_0x5ae8b4([0x4d,0x61,0x74,0x68])][_0x5ae8b4([0x63,0x65,0x69,0x6c])](_0x363dec/_0x279220)));window[_0x5ae8b4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ae8b4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d000b,_0x8859a9);}function _0x4434b0(){const _0x3cf8bd=_0x5ae8b4([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cd8cb(_0x107ccb(_0x5bd41d)),_0x232894=window[_0x5ae8b4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ae8b4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cf8bd);return _0x232894?window[_0x5ae8b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a4079(_0x232894),0x10)*_0x279220:null;}function _0xbbaa62(_0x5dc838){return new window[(_0x5ae8b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x138624,_0x54937d)=>{_0x5dc838[_0x5ae8b4([0x74,0x68,0x65,0x6e])](_0x138624,_0x54937d),window[_0x5ae8b4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54937d,0x2cdc4f8^_0x2a6578);});}}_0x1964e4[_0x5ae8b4([0x6f,0x6e])](_0x5ae8b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x11dfe4,_0x42306f)=>{if(_0x42306f[0x0]!=_0x5bd41d)return _0x43fe03(_0x5ae8b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42306f[0x1]={..._0x42306f[0x1],[_0x5ae8b4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x48ea52};},{[_0x5ae8b4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ae8b4([0x68,0x69,0x67,0x68])}),_0x1964e4[_0x5ae8b4([0x6f,0x6e])](_0x5ae8b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48470d=>{_0x4c28d6(_0x48470d[_0x5ae8b4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x398b86=!0x0,_0x106b96(_0x48470d[_0x5ae8b4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ae8b4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ae8b4([0x6c,0x6f,0x77])}),_0x252add[_0x5ae8b4([0x74,0x68,0x65,0x6e])](()=>{_0x398b86||_0x43fe03(_0x5ae8b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28e4ab(){return _0x1964e4[_0x5ae8b4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ae8b4([0x76,0x69,0x65,0x77])][_0x5ae8b4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ae8b4([0x61,0x75,0x74,0x6f]);}function _0x2fdfd1(){_0x1964e4[_0x5ae8b4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ae8b4([0x76,0x69,0x65,0x77])][_0x5ae8b4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ae8b4([0x61,0x75,0x74,0x6f]);}}function _0x59f8fa(_0x417ad3){const _0x455653=[new window[(_0x5ae8b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36b4d4=>setTimeout(_0x36b4d4,0x2c52ef4^_0x2a6578)),_0x252add[_0x5ae8b4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ae8b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e18d2=>{let _0x1b7c61=0x0;_0x1964e4[_0x5ae8b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ae8b4([0x6f,0x6e])](_0x5ae8b4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d4eb7,_0x3f40f0)=>{_0x3f40f0[0x0][_0x5ae8b4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b7c61++,_0x1b7c61==(0x2cc11c0^_0x2a6578)&&(_0x5e18d2(),_0x2d4eb7[_0x5ae8b4([0x6f,0x66,0x66])]());});}))];return window[_0x5ae8b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ae8b4([0x72,0x61,0x63,0x65])](_0x455653)[_0x5ae8b4([0x74,0x68,0x65,0x6e])](()=>_0x417ad3);}async function _0x3ef74c(){await _0x252add,_0x1964e4[_0x5ae8b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ae8b4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x536079,_0x1964e4[_0x5ae8b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ae8b4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x536079,_0x1964e4[_0x5ae8b4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ae8b4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1180a8(_0x561632){const _0x3bb12a=_0x1ac023();_0x1964e4[_0x3bb12a]=_0x5ae8b4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x561632,_0x561632!=_0x5ae8b4([0x56,0x61,0x6c,0x69,0x64])&&_0x3ef74c();}function _0x1ac023(){const _0x29309d=window[_0x5ae8b4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ae8b4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ae8b4([0x6e,0x6f,0x77])]())[_0x5ae8b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ae8b4([0x2e]),'');let _0x5be143=_0x5ae8b4([0x64]);for(let _0x12b631=0x0;_0x12b631<_0x29309d[_0x5ae8b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12b631+=0x2){let _0x5108b9=window[_0x5ae8b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29309d[_0x5ae8b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12b631,_0x12b631+0x2));_0x5108b9>=_0x3407e9[_0x5ae8b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5108b9-=_0x3407e9[_0x5ae8b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5be143+=_0x3407e9[_0x5108b9];}return _0x5be143;}function _0x3dc9ad(){const _0x215a06=_0x494fd3[_0x5ae8b4([0x73,0x70,0x6c,0x69,0x74])](_0x5ae8b4([0x2e]));if(0x3!=_0x215a06[_0x5ae8b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x369939(_0x215a06[0x1]);function _0x369939(_0x16ebb7){const _0x111f3e=_0x351190(_0x16ebb7);return _0x111f3e&&_0x526ca4()?_0x111f3e:null;function _0x526ca4(){const _0x4f1c97=_0x111f3e[_0x5ae8b4([0x6a,0x74,0x69])],_0x34559c=window[_0x5ae8b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f1c97[_0x5ae8b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f1c97[_0x5ae8b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x479038={..._0x111f3e,[_0x5ae8b4([0x6a,0x74,0x69])]:_0x4f1c97[_0x5ae8b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4f1c97[_0x5ae8b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x479038[_0x5ae8b4([0x76,0x63])],_0x107ccb(_0x479038)==_0x34559c;}}}async function _0x2ab8b4(){let _0x531df4=!0x0;try{const _0x5c9ec4=_0x494fd3[_0x5ae8b4([0x73,0x70,0x6c,0x69,0x74])](_0x5ae8b4([0x2e])),[_0x3d5e84,_0xdc31c9,_0x36a90a]=_0x5c9ec4;return _0x2801a4(_0x3d5e84),await _0x3d8cb9(_0x3d5e84,_0xdc31c9,_0x36a90a),_0x531df4;}catch{return!0x1;}function _0x2801a4(_0x56a432){const _0x445d93=_0x351190(_0x56a432);_0x445d93&&_0x445d93[_0x5ae8b4([0x61,0x6c,0x67])]==_0x5ae8b4([0x45,0x53,0x32,0x35,0x36])||(_0x531df4=!0x1);}async function _0x3d8cb9(_0x3a3e73,_0x179748,_0x17052d){const _0x1bca68=window[_0x5ae8b4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ae8b4([0x66,0x72,0x6f,0x6d])](_0x2664b9(_0x17052d),_0x4a23ca=>_0x4a23ca[_0x5ae8b4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a7191=new window[(_0x5ae8b4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ae8b4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a3e73+_0x5ae8b4([0x2e])+_0x179748),_0x2fe1c0=window[_0x5ae8b4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ae8b4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2fe1c0)return;const _0x2005bf=await _0x2fe1c0[_0x5ae8b4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ae8b4([0x6a,0x77,0x6b]),_0x4bc497,{[_0x5ae8b4([0x6e,0x61,0x6d,0x65])]:_0x5ae8b4([0x45,0x43,0x44,0x53,0x41]),[_0x5ae8b4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ae8b4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ae8b4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2fe1c0[_0x5ae8b4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ae8b4([0x6e,0x61,0x6d,0x65])]:_0x5ae8b4([0x45,0x43,0x44,0x53,0x41]),[_0x5ae8b4([0x68,0x61,0x73,0x68])]:{[_0x5ae8b4([0x6e,0x61,0x6d,0x65])]:_0x5ae8b4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2005bf,_0x1bca68,_0x4a7191)||(_0x531df4=!0x1);}}function _0x351190(_0x23399c){return _0x23399c[_0x5ae8b4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ae8b4([0x65,0x79]))?JSON[_0x5ae8b4([0x70,0x61,0x72,0x73,0x65])](_0x2664b9(_0x23399c)):null;}function _0x2664b9(_0x350522){return window[_0x5ae8b4([0x61,0x74,0x6f,0x62])](_0x350522[_0x5ae8b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ae8b4([0x2b]))[_0x5ae8b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ae8b4([0x2f])));}function _0x107ccb(_0x4ab311){let _0x4c65d0=0x1505;function _0x11ca24(_0x5d620a){for(let _0x4dcdd4=0x0;_0x4dcdd4<_0x5d620a[_0x5ae8b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4dcdd4++){const _0x59afaf=_0x5d620a[_0x5ae8b4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4dcdd4);_0x4c65d0=(_0x4c65d0<<0x5)+_0x4c65d0+_0x59afaf,_0x4c65d0&=_0x4c65d0;}}function _0x5acc70(_0x3f54e6){Array[_0x5ae8b4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f54e6)?_0x3f54e6[_0x5ae8b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5acc70):_0x3f54e6&&typeof _0x3f54e6==_0x5ae8b4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ae8b4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f54e6)[_0x5ae8b4([0x73,0x6f,0x72,0x74])]()[_0x5ae8b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b72b8,_0x2ee803])=>{_0x11ca24(_0x4b72b8),_0x5acc70(_0x2ee803);}):_0x11ca24(window[_0x5ae8b4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f54e6));}return _0x5acc70(_0x4ab311),_0x4c65d0>>>0x0;}function _0x3cd8cb(_0x4004b0){return _0x4004b0[_0x5ae8b4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ae8b4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ae8b4([0x30]));}function _0x4a4079(_0x7f92ca){return _0x7f92ca[_0x5ae8b4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ae8b4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ae8b4([0x6a,0x6f,0x69,0x6e])]('');}function _0x536079(){}function _0x5ae8b4(_0x597897){return _0x597897['map'](_0x4bbcce=>String['fromCharCode'](_0x4bbcce))['join']('');}_0x1180a8(await _0x2696ee());}(this);}['_initSchema'](){const _0x46023b=this['editor']['model']['schema'];_0x46023b['isRegistered']('imageBlock')&&_0x46023b['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x46023b['isRegistered']('imageInline')&&_0x46023b['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x579af2=this['editor'];_0x579af2['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x579af2['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x45d53b=>_0x45d53b['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3c0dca=_0x579af2['commands']['get']('replaceImageSource');_0x3c0dca&&this['listenTo'](_0x3c0dca,'cleanupImage',(_0x2f8372,[_0xab2b5c,_0x288376])=>{_0xab2b5c['removeAttribute']('uploadcareImageId',_0x288376);});}['_initConfig'](){const _0x216311=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2fc33c=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1fc52b(_0x230713['document'],'uc-config',{..._0x216311,'pubkey':_0x2fc33c,'ctx-name':'uploader-'+this['ucContextId'],'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']=_0x3e31ea=>{if('closeMax'==_0x3e31ea)return'#uc-icon-arrow-down';},_0x230713['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1fc52b(_0x230713['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x230713['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x280213=this['editor']['commands']['get']('insertImage');_0x280213&&this['listenTo'](_0x280213,'execute',()=>{const _0x2b7131=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2b7131&&_0x2b7131['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2b7131);});});const _0x1b6c7c=this['editor']['commands']['get']('uploadcareImageReplace');_0x1b6c7c&&this['listenTo'](_0x1b6c7c,'execute',()=>{const _0x20e563=this['editor']['model']['document']['selection']['getSelectedElement']();_0x20e563&&_0x20e563['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x20e563);});});}}class tt extends _0x29696b{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x47e4b1){super(_0x47e4b1),_0x47e4b1['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x12b04a['defineComponents'](_0x12b04a);}}class ii extends _0x4db710{constructor(_0x5d3bae){super(_0x5d3bae);const t=_0x5d3bae['t'],_0x5786d6=this['bindTemplate'],_0x2d267b=new _0x5cf200();_0x2d267b['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':[_0x2d267b,{'text':_0x5786d6['to']('imageUploadProgress',_0x446cfe=>t('Loading\x20image...')+'\x20('+(_0x446cfe||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 ti extends _0x4db710{constructor(_0x4e9dad){super(_0x4e9dad);const t=_0x4e9dad['t'];this['set']('errorType',null);const _0x265060=new _0x3636bf(_0x4e9dad);_0x265060['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x265060['withText']=!0x0,_0x265060['class']='ck-button-action',_0x265060['on']('execute',()=>{this['fire']('retry');}),_0x265060['bind']('isVisible')['to'](this,'errorType',_0x25fd3a=>'NotFound'!==_0x25fd3a);const _0x5545b6=new _0x1cf3cf();_0x5545b6['content']=_0x5362b8,_0x5545b6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1385d6=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':[_0x5545b6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1385d6['to']('errorType',_0x496e44=>t('NotFound'!==_0x496e44?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x265060]},{'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 ei extends _0x4db710{constructor(_0x1737d1,_0x3a1f5f){super(_0x1737d1);const _0x4f226e=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3a1f5f,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4f226e['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x307ef4,_0x1534d0,_0x4d71d3){super(_0x307ef4),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x307ef4),this['_errorView']=new ti(_0x307ef4),this['_editingView']=new ei(_0x307ef4,_0x4d71d3),this['_focusableView']=new _0x4db710(_0x307ef4),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1534d0),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'],_0x50fa11=>{this['_addUploadcareImageEditorListeners'](_0x50fa11);});}),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'](_0x45e1cd,_0x5efd07){const _0x18ed14='uc-cloud-image-editor',_0x376d4b=_0x45e1cd['querySelector'](_0x18ed14);if(_0x376d4b)return _0x5efd07(_0x376d4b);const _0x5b01de=new MutationObserver(_0xfd6c76=>{const _0x3173f9=_0xfd6c76['filter'](_0x1910e4=>_0x1910e4['target']===_0x45e1cd&&_0x1910e4['addedNodes']['length']>0x0&&_0x1910e4['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x18ed14);_0x3173f9['length']&&(_0x5b01de['disconnect'](),_0x5efd07(_0x3173f9[0x0]['addedNodes'][0x0]));});_0x5b01de['observe'](_0x45e1cd,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x221f47){_0x221f47['addEventListener']('apply',_0x5aee2b=>{this['fire']('apply',{'imageSrc':_0x5aee2b['detail']['cdnUrl']});}),_0x221f47['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x14b450(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x568032,_0x3df421,_0x199641){super(),this['_editor']=_0x568032,this['_dialog']=_0x3df421,this['_imageElement']=_0x199641,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 _0x339f97=this['_imageElement'],_0x3b40e0=_0x339f97['getAttribute']('uploadcareImageId'),_0xbb8612=_0x339f97['getAttribute']('src');if(_0x3b40e0)await this['_loadImageInfo'](_0x3b40e0,_0xbb8612);else{if(this['_imageCache']['has'](_0xbb8612)){const _0x546d23=this['_imageCache']['get'](_0xbb8612);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x546d23['url'],this['imageDimension']=_0x546d23['dimension'],this['imageId']=_0x546d23['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3aa6e8}=this['_editor'],t=_0x3aa6e8['t'],_0x4beda8=new X(_0x3aa6e8,this['imageStatus'],this['_attributes']);_0x4beda8['bind']('status')['to'](this,'imageStatus'),_0x4beda8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4beda8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4beda8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4beda8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2bbec4,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4beda8,'position':_0xa9e1eb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4beda8['focus']();},'onHide':()=>{_0x4beda8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1e5c36=>!S(_0x1e5c36,_0x4beda8['element'])}});}['_loadImageInfo'](_0x32c956,_0x1c1877){return j['getInfo'](_0x32c956,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3e372a=>{const {width:_0x360f49,height:_0x44862b}=_0x3e372a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1c1877,this['imageDimension']={'width':_0x360f49,'height':_0x44862b},this['imageId']=_0x32c956;})['catch'](_0x4ecbfb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ecbfb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2c84c2,_0x316841){return this['_getImageAsFile'](_0x2c84c2)['then'](_0x44c7e8=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x316841['signal'],'file':_0x44c7e8,'onProgress':_0x5361d7=>{_0x5361d7&&_0x5361d7['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5361d7['value']));}}))['then'](_0x542698=>{const {width:_0x15f391,height:_0x32e519}=_0x542698['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x542698['cdnUrl'],this['imageDimension']={'width':_0x15f391,'height':_0x32e519},this['imageId']=_0x542698['uuid'],this['imageUploadProgress']=null;const _0x587029=_0x2c84c2['getAttribute']('src');this['_imageCache']['set'](_0x587029,{'id':_0x542698['uuid'],'url':_0x542698['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x406e46=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x406e46['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3daa0e,_0x406e59){_0x3daa0e['on']('apply',(_0x508c6c,_0x1e0483)=>{this['_replaceImage'](_0x406e59,_0x1e0483['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3daa0e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3daa0e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x32650b,_0x707b4c,_0x2b97fb){const _0x238859=this['_editor'],{width:_0x31811a,height:_0x13a89e}=C(_0x707b4c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x20c45a,imageSources:_0x3dc3d5}=k(_0x707b4c,_0x31811a);_0x238859['model']['change'](_0x276a99=>{if('$graveyard'===_0x32650b['root']['rootName']){_0x238859['execute']('insertImage',{'imageType':_0x32650b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x32650b['getAttributes']()),'uploadcareImageId':_0x2b97fb,'src':_0x20c45a,'sources':_0x3dc3d5,'width':_0x31811a,'height':_0x13a89e}});const _0xa0d82f=_0x32650b['getChildren']();_0x32650b=_0x238859['model']['document']['selection']['getSelectedElement']();for(const _0x149c3a of _0xa0d82f)_0x276a99['append'](_0x276a99['cloneElement'](_0x149c3a),_0x32650b);}else _0x276a99['setSelection'](_0x32650b,'on'),_0x238859['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x32650b['getAttributes']()),'uploadcareImageId':_0x2b97fb,'src':_0x20c45a,'sources':_0x3dc3d5,'width':_0x31811a,'height':_0x13a89e},_0x32650b);_0x276a99['setSelection'](_0x32650b,'on');});}async['_getImageAsFile'](_0x3d2e8b){const _0x3334c4=_0x230713['window'],_0x505656=_0x230713['document']['location']['href'],_0x180e10=new _0x3334c4['URL'](_0x3d2e8b['getAttribute']('src'),_0x505656);if('data:'===_0x180e10['protocol']){const _0x3f76b0=_0x180e10['href']['split'](','),_0x3ebf40=_0x3f76b0[0x0]['match'](/:(.*?);/)[0x1],_0x20d2e5=_0x3ebf40['split']('/')[0x1],_0x5e2bec=_0x3334c4['atob'](_0x3f76b0[_0x3f76b0['length']-0x1]);let _0x3ba8e4=_0x5e2bec['length'];const _0x251642=new _0x3334c4['Uint8Array'](_0x3ba8e4);for(;_0x3ba8e4--;)_0x251642[_0x3ba8e4]=_0x5e2bec['charCodeAt'](_0x3ba8e4);return new _0x3334c4['File']([_0x251642],'image.'+_0x20d2e5,{'type':_0x3ebf40});}const _0x335e0e=_0x180e10['href']['split']('/'),_0x2471cb=_0x335e0e[_0x335e0e['length']-0x1],_0x5f1906=_0x2471cb['split']('.')[0x1];return _0x3334c4['fetch'](_0x180e10['href'])['then'](_0x3cbadd=>_0x3cbadd['clone']()['blob']())['then'](_0x2887e0=>new _0x3334c4['File']([_0x2887e0],_0x2471cb,{'type':'image/'+_0x5f1906}));}}class Q extends _0x468043{['imageEditController'];static get['requires'](){return[_0x50fd6c];}['_isEditable'];constructor(_0x4c8dcb){super(_0x4c8dcb),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x52a893){const _0x2e196b=z(_0x52a893);return _0x5202e3=>!(!_0x5202e3||!_0x5202e3['is']('element','imageBlock')&&!_0x5202e3['is']('element','imageInline'))&&(!!_0x5202e3['hasAttribute']('uploadcareImageId')||!!_0x5202e3['hasAttribute']('src')&&_0x2e196b(_0x5202e3['getAttribute']('src')));}(_0x4c8dcb['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4c35ba=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4c35ba);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xde2695=this['editor']['model']['document']['selection']['getSelectedElement']();_0xde2695&&(_0xde2695['is']('element','imageBlock')||_0xde2695['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x50fd6c),_0xde2695),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x468043{['refresh'](){const _0x3828fb=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3828fb&&(_0x3828fb['is']('element','imageBlock')||_0x3828fb['is']('element','imageInline')));}['execute'](_0x7b44cf){const _0x324b07=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x11c003=>{_0x11c003['setAttributes'](_0x7b44cf,_0x324b07),_0x11c003['removeAttribute']('srcset',_0x324b07),_0x11c003['removeAttribute']('sizes',_0x324b07);});}}class m extends _0x29696b{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x37d367,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4249d8}=this;_0x4249d8['commands']['add']('uploadcareImageEdit',new Q(_0x4249d8)),_0x4249d8['commands']['add']('uploadcareImageReplace',new V(_0x4249d8));}}class g extends _0x29696b{['_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 _0x2d2991=this['editor'];_0x2d2991['ui']['componentFactory']['add']('uploadcareImageEdit',_0xb8f84c=>{const _0x419ce4=_0x2d2991['commands']['get']('uploadcareImageEdit'),_0xf46ca8=new _0x3636bf(_0xb8f84c),t=_0xb8f84c['t'];return _0xf46ca8['set']({'icon':_0x2bbec4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xf46ca8['bind']('isEnabled')['to'](_0x419ce4),_0xf46ca8['bind']('isOn')['to'](_0x419ce4,'isActive'),this['listenTo'](_0xf46ca8,'execute',()=>{_0x2d2991['execute']('uploadcareImageEdit'),_0x2d2991['editing']['view']['focus']();}),_0xf46ca8;}),this['_initConfig']();}['_initConfig'](){const _0x14c898=_0x1fc52b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x14c898),this['listenTo'](this['editor'],'destroy',()=>{_0x14c898['remove']();});}}class et extends _0x29696b{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x4c80a7,Command as _0x21a6e6}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x577f4e,IconGooglePhotos as _0x614033,IconGoogleDrive as _0x53bd80,IconFacebook as _0xbd0b0d,IconDropbox as _0x32db47,IconUploadcareLink as _0x1c750a,IconUploadcareImageUpload as _0x184c12,IconError as _0x397844,IconUploadcareImageEdit as _0x304d1a}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3f2808,MenuBarMenuListItemButtonView as _0x3f0a9a,View as _0x28aaa9,FocusCycler as _0x44ad18,Dialog as _0x2d564f,DialogViewPosition as _0x321bbb,SpinnerView as _0x2e84fc,IconView as _0x45e94e,Notification as _0x196f0d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5a7c77,DomEmitterMixin as _0x449d7e,global as _0x205721,getAncestors as _0x3e1830,ObservableMixin as _0x3362e2,uid as _0x11fce7,createElement as _0x30f343}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5bf45d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4f7724,info as _0x178f50}from'@uploadcare/upload-client';import*as _0x378c9f from'@uploadcare/file-uploader';var i=function(_0x25e52c){return _0x25e52c['Local']='local',_0x25e52c['URL']='url',_0x25e52c['Dropbox']='dropbox',_0x25e52c['GDrive']='gdrive',_0x25e52c['Facebook']='facebook',_0x25e52c['GPhotos']='gphotos',_0x25e52c['OneDrive']='onedrive',_0x25e52c;}({});function _(_0x490f0c,_0x392a9a,_0x2bf4f5){const t=_0x490f0c['t'],_0x54e525=_0x490f0c['t'];switch(_0x392a9a){case i['Local']:return{'text':_0x54e525('Insert'===_0x2bf4f5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x54e525('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2bf4f5?_0x54e525('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x54e525('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2bf4f5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2bf4f5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2bf4f5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2bf4f5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2bf4f5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x392a9a;}}class e extends _0x4c80a7{['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 _0x101828=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x49cb0c;for(const _0x3a0ba0 in _0x101828){const _0x1f3c10=_0x3a0ba0,_0x317192=_0x101828[_0x1f3c10];if('uploadcareLicenseKeyValid'==_0x317192||'uploadcareLicenseKeyInvalid'==_0x317192||'uploadcareLicenseKeyExpired'==_0x317192||'uploadcareLicenseKeyDomainLimit'==_0x317192||'uploadcareLicenseKeyNotAllowed'==_0x317192||'uploadcareLicenseKeyEvaluationLimit'==_0x317192||'uploadcareLicenseKeyTrialLimit'==_0x317192||'uploadcareLicenseKeyUsageLimit'==_0x317192){delete _0x101828[_0x1f3c10],_0x49cb0c=_0x317192,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x49cb0c&&_0x101828['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x49cb0c&&_0x101828['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x49cb0c&&_0x101828['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x49cb0c&&_0x101828['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x49cb0c&&_0x101828['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x49cb0c&&_0x101828['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x49cb0c&&_0x101828['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x297558}=this,_0x9defd3=_0x297558['commands']['get']('uploadcare');if(!_0x9defd3)return;const _0x7a35ae=this['_normalizeConfigSourceList'](_0x297558['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3e2544,_0x220829)=>{const _0xc8eb2=this['_getIntegrationKey'](_0x220829['type']);return _0x3e2544[_0xc8eb2]||(_0x3e2544[_0xc8eb2]=[]),_0x3e2544[_0xc8eb2]['push'](_0x220829),_0x3e2544;},{});_0x297558['plugins']['has']('ImageInsertUI')&&_0x297558['commands']['get']('uploadcare')&&Object['entries'](_0x7a35ae)['forEach'](([_0x2b6bb1,_0x37c1bd])=>{_0x297558['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2b6bb1,'observable':()=>_0x9defd3,'buttonViewCreator':()=>this['_createToolbarButton'](_0x37c1bd),'formViewCreator':()=>this['_createDropdownButtons'](_0x37c1bd),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x37c1bd),'override':'assetManager'!==_0x2b6bb1});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xdd61c1){const {locale:_0x5d0a4b}=this['editor'];return _0xdd61c1['map'](_0x282011=>{const _0x5184d9=_(_0x5d0a4b,_0x282011,'Insert');switch(_0x282011){case i['Local']:return{'icon':_0x184c12,'type':i['Local'],..._0x5184d9};case i['URL']:return{'icon':_0x1c750a,'type':i['URL'],..._0x5184d9};case i['Dropbox']:return{'icon':_0x32db47,'type':i['Dropbox'],..._0x5184d9};case i['Facebook']:return{'icon':_0xbd0b0d,'type':i['Facebook'],..._0x5184d9};case i['GDrive']:return{'icon':_0x53bd80,'type':i['GDrive'],..._0x5184d9};case i['GPhotos']:return{'icon':_0x614033,'type':i['GPhotos'],..._0x5184d9};case i['OneDrive']:return{'icon':_0x577f4e,'type':i['OneDrive'],..._0x5184d9};}});}['_getIntegrationKey'](_0x5af2c7){switch(_0x5af2c7){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x15c605,_0x5b27a3){const _0x381d2e=this['editor'],_0x338228=new _0x15c605(_0x381d2e['locale']),_0x157a04=_0x381d2e['commands']['get']('uploadcare');return _0x338228['bind']('isEnabled')['to'](_0x157a04),_0x338228['on']('execute',()=>{_0x157a04['execute'](_0x5b27a3);}),_0x338228;}['_createToolbarButton'](_0x1542d5){const {locale:_0x204119}=this['editor'],_0x504a39=this['editor']['plugins']['get']('ImageInsertUI'),_0x5729c7=_0x1542d5[0x0],_0x1725e5=this['_createButton'](_0x3f2808,_0x5729c7['type']);return _0x1725e5['icon']=_0x5729c7['icon'],_0x1725e5['bind']('label')['to'](_0x504a39,'isImageSelected',_0x21d6a4=>_(_0x204119,_0x5729c7['type'],_0x21d6a4?'Replace':'Insert')['text']),_0x1725e5['tooltip']=!0x0,_0x1725e5;}['_createDropdownButtons'](_0x2fb87b){const {locale:_0x151aa0}=this['editor'],_0x388ba0=this['editor']['plugins']['get']('ImageInsertUI');return _0x2fb87b['map'](_0x2e37c0=>{const _0x3114bc=this['_createButton'](_0x3f2808,_0x2e37c0['type']);return _0x3114bc['withText']=!0x0,_0x3114bc['icon']=_0x2e37c0['icon'],_0x3114bc['bind']('label')['to'](_0x388ba0,'isImageSelected',_0x7fec51=>_(_0x151aa0,_0x2e37c0['type'],_0x7fec51?'Replace':'Insert')['text']),_0x3114bc;});}['_createMenuBarButtons'](_0x45255e){return _0x45255e['map'](_0xcb9ba1=>{const _0x38ba0b=this['_createButton'](_0x3f0a9a,_0xcb9ba1['type']);return _0x38ba0b['icon']=_0xcb9ba1['icon'],_0x38ba0b['label']=_0xcb9ba1['shortText'],_0x38ba0b;});}}class F extends _0x28aaa9{['focusTracker'];['focusCycler'];constructor(_0x363b93){super(_0x363b93),this['focusTracker']=new _0x5a7c77(),this['focusCycler']=new _0x44ad18({'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 x extends F{constructor(_0x599b1a,_0x167c77){super(_0x599b1a),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-'+_0x167c77}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x3f89fc,_0x2625db){const _0x3cd2e5=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x24d136=>_0x24d136<=_0x2625db)['map'](_0x33efad=>_0x3f89fc['replace'](/\/$/,'')+'/-/resize/'+_0x33efad+'x/\x20'+_0x33efad+'w');return{'imageFallbackUrl':_0x3f89fc,'imageSources':[{'srcset':_0x3cd2e5['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2625db+'px)\x20100vw,\x20'+_0x2625db+'px','type':'image/webp'}]};}function C(_0x5ebfbf,_0x237021,_0x4f791e){const _0x29faca=_0x5ebfbf['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x29faca?parseInt(_0x29faca[0x1],0xa):_0x237021,'height':_0x29faca?parseInt(_0x29faca[0x2],0xa):_0x4f791e};}function p(_0x5f03c5,_0x511f5e){const _0x2f0556=new(_0x449d7e())(),_0x1823b7=_0x5f03c5['plugins']['get']('ImageUtils'),_0x4fd277=_0x5f03c5['editing']['mapper']['toViewElement'](_0x511f5e),_0x18e35e=_0x1823b7['findViewImgElement'](_0x4fd277),_0x2d750d=_0x5f03c5['editing']['view']['domConverter']['viewToDom'](_0x18e35e),_0x3ac937=_0x511f5e['getAttribute']('width'),_0x45e8c6=_0x511f5e['getAttribute']('height'),_0xc12b30='image-processing';_0x5f03c5['editing']['view']['change'](_0x51f2ee=>{_0x51f2ee['addClass'](_0xc12b30,_0x4fd277),_0x51f2ee['setStyle']('aspect-ratio',_0x3ac937+'/'+_0x45e8c6,_0x18e35e);}),_0x2f0556['listenTo'](_0x2d750d,'load',()=>{_0x2f0556['stopListening'](_0x2d750d,'load'),_0x5f03c5['editing']['view']['change'](_0x3b7e30=>{_0x3b7e30['removeClass'](_0xc12b30,_0x4fd277),_0x3b7e30['removeStyle']('aspect-ratio',_0x18e35e);});});}function G(_0x43ec2){if(Array['isArray'](_0x43ec2)){const _0x29b539=_0x43ec2['map'](G);return _0x4480c1=>_0x29b539['some'](_0x302990=>_0x302990(_0x4480c1));}if('origin'==_0x43ec2){const _0x45964f=_0x205721['window']['location']['origin'];return _0x4a55da=>new URL(_0x4a55da,_0x205721['document']['baseURI'])['origin']==_0x45964f;}return'function'==typeof _0x43ec2?_0x43ec2:_0x43ec2 instanceof RegExp?_0x3ea606=>!(!_0x3ea606['match'](_0x43ec2)&&!_0x3ea606['replace'](/^https?:\/\//,'')['match'](_0x43ec2)):()=>!0x1;}function S(_0x20396,_0xc314b){return _0x3e1830(_0x20396['target'])['includes'](_0xc314b);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x3362e2(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x159b70,_0x19ff1d,_0x2adc9c){super(),this['_editor']=_0x159b70,this['_editing']=_0x19ff1d,this['_dialog']=_0x159b70['plugins']['get'](_0x2d564f),this['_api']=_0x19ff1d['ctxElement']['getAPI'](),this['_type']=_0x2adc9c,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:_0x5f14cf,model:_0x443c31}=this['_editor'],_0x56c4c0=_0x443c31['document']['selection']['getSelectedElement'](),_0x5a5ada=_0x56c4c0&&(_0x56c4c0['is']('element','imageBlock')||_0x56c4c0['is']('element','imageInline'));this['_formView']=new x(_0x5f14cf,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x184c12,'title':_(_0x5f14cf,this['_type'],_0x5a5ada?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x321bbb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x35e23a=>!S(_0x35e23a,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x265519}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3cb621=>{const _0x1e3849=_0x265519['length'];for(const _0xfa34ec of _0x265519){const _0x2386bf=_0xfa34ec===_0x265519[_0x1e3849-0x1],{cdnUrl:_0x12c195,fileInfo:_0x3dd674}=_0xfa34ec;if(!_0x12c195||!_0x3dd674)continue;const {width:_0x3d42f5,height:_0x31b085}=_0x3dd674['imageInfo'],_0x32f55b=C(_0x12c195,_0x3d42f5,_0x31b085),_0x333b6a=k(_0x12c195,_0x32f55b['width']),_0x2bf695={'id':_0x3dd674['uuid'],'type':'image','attributes':{'imageDimension':_0x32f55b,..._0x333b6a}};this['_insertAsset'](_0x2bf695,_0x2386bf,_0x3cb621);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x14f713=>{'idle'===_0x14f713['detail']['status']&&!_0x14f713['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xf71f40,_0x568f99,_0x4bd3e5){const _0x57a47d=this['_editor']['model']['document']['selection'],_0x15d1cb=_0x57a47d['getSelectedElement'](),_0x54420c=!(!_0x15d1cb||!_0x15d1cb['is']('element','imageInline'));_0x4bd3e5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xf71f40,_0x54420c),_0x568f99||_0x4bd3e5['setSelection'](_0x57a47d['getLastPosition']());}['_insertImage'](_0x2f7313,_0x430668){const _0x4c1fde=this['_editor'],{imageDimension:_0x4cb98b,imageFallbackUrl:_0x48a1c3,imageSources:_0xf9614e}=_0x2f7313['attributes'];_0x4c1fde['execute']('insertImage',{'imageType':_0x430668?'imageInline':null,'source':{'uploadcareImageId':_0x2f7313['id'],'src':_0x48a1c3,'sources':_0xf9614e,..._0x4cb98b}});}}class w extends _0x21a6e6{['_editing'];['_controller']=null;static get['requires'](){return[_0x2d564f,o];}constructor(_0x4777e0){super(_0x4777e0),this['_editing']=_0x4777e0['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x336893){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x336893);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x1debb0,publicKey:_0x5c3af6,signal:_0x119493,onProgress:_0x8a7753}){return _0x4f7724(_0x1debb0,{'publicKey':_0x5c3af6,'store':'auto','signal':_0x119493,'onProgress':_0x8a7753});}static['getInfo'](_0x8bd3e3,_0x2b8482){return _0x178f50(_0x8bd3e3,_0x2b8482);}}class f extends _0x4c80a7{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5bf45d,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3188fa=this['editor'];if(!!!_0x3188fa['config']['get']('uploadcare'))return;_0x3188fa['plugins']['get'](_0x5bf45d)['createUploadAdapter']=_0x591187=>new A(_0x591187,_0x3188fa),_0x3188fa['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3d9ff5,{imageElement:_0x19f5bf,data:_0x576fce})=>{_0x3188fa['model']['change'](_0x54029a=>{_0x54029a['setAttribute']('uploadcareImageId',_0x576fce['uploadcareImageId'],_0x19f5bf);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x593fe7,_0x2fd1c9){this['loader']=_0x593fe7,this['editor']=_0x2fd1c9,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xafd199=this['editor']['config']['get']('uploadcare.pubkey'),_0x30399c=await this['loader']['file'];return j['upload']({'file':_0x30399c,'publicKey':_0xafd199,'signal':this['controller']['signal'],'onProgress':_0x2980fe=>{_0x2980fe&&_0x2980fe['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2980fe['value']);}})['then'](async _0x17b4a4=>{const {imageFallbackUrl:_0xe72043,imageSources:_0x58c89d}=k(_0x17b4a4['cdnUrl'],_0x17b4a4['imageInfo']['width']);return{'uploadcareImageId':_0x17b4a4['uuid'],'default':_0xe72043,'sources':_0x58c89d};})['catch'](()=>{const _0x929d42=t('Cannot\x20upload\x20file:')+('\x20'+_0x30399c['name']+'.');return Promise['reject'](_0x929d42);});}['abort'](){this['controller']['abort']();}}class o extends _0x4c80a7{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2d564f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x247ea5){super(_0x247ea5),this['ucContextId']=_0x11fce7();}['init'](){const _0x33cfba=this['editor'];_0x33cfba['commands']['add']('uploadcare',new w(_0x33cfba));}['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 _0x53f709=_0x205721['document']['querySelector']('input[uploadcare-file-input]');_0x53f709&&_0x53f709['remove']();}),async function(_0x3e5c23){const _0x4e1b4a=_0x2981d5([0x76,0x72,0x6c,0x54,0x35,0x66,0x79,0x48,0x63,0x68,0x32,0x51,0x6e,0x43,0x77,0x56,0x49,0x39,0x46,0x65,0x47,0x70,0x71,0x59,0x61,0x52,0x45,0x4f,0x6b,0x42,0x7a,0x55,0x34,0x6d,0x37,0x62,0x53,0x58,0x5a,0x6f,0x69,0x4b,0x78,0x41,0x75,0x73,0x36,0x4a,0x57,0x38,0x33,0x44,0x4e,0x4d,0x30,0x67,0x31,0x6a,0x50,0x74,0x64,0x4c]),_0x19eb8b=0x2dca9494,_0x54a714=0x2dcdf80c^_0x19eb8b,_0x58e15d=window[_0x2981d5([0x44,0x61,0x74,0x65])][_0x2981d5([0x6e,0x6f,0x77])](),_0x3d142b=_0x3e5c23[_0x2981d5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28b509=new window[(_0x2981d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fcfaa=>{_0x3d142b[_0x2981d5([0x6f,0x6e,0x63,0x65])](_0x2981d5([0x72,0x65,0x61,0x64,0x79]),_0x2fcfaa);}),_0x3836f1={[_0x2981d5([0x6b,0x74,0x79])]:_0x2981d5([0x45,0x43]),[_0x2981d5([0x75,0x73,0x65])]:_0x2981d5([0x73,0x69,0x67]),[_0x2981d5([0x63,0x72,0x76])]:_0x2981d5([0x50,0x2d,0x32,0x35,0x36]),[_0x2981d5([0x78])]:_0x2981d5([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]),[_0x2981d5([0x79])]:_0x2981d5([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]),[_0x2981d5([0x61,0x6c,0x67])]:_0x2981d5([0x45,0x53,0x32,0x35,0x36])},_0x17e874=_0x3d142b[_0x2981d5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2981d5([0x67,0x65,0x74])](_0x2981d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18e7a2(){let _0x246dcc,_0x2a74d0=null,_0x150019=null;try{if(_0x17e874==_0x2981d5([0x47,0x50,0x4c]))return _0x2981d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x246dcc=_0x985c21(),!_0x246dcc)return _0x2981d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x246dcc[_0x2981d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x150019=_0x12eb1d(_0x246dcc[_0x2981d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x246dcc[_0x2981d5([0x6a,0x74,0x69])])),await _0x4e627e()?_0x22815a()?_0x483558()?_0x2981d5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e970b()?(_0x246dcc[_0x2981d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2981d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a74d0=_0x24ad14(_0x2981d5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x246dcc[_0x2981d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2981d5([0x74,0x72,0x69,0x61,0x6c])&&(_0x2a74d0=_0x24ad14(_0x2981d5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5378d6()):_0x2981d5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2981d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2981d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2981d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x483558(){const _0x1052e=[_0x2981d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2981d5([0x74,0x72,0x69,0x61,0x6c])][_0x2981d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x246dcc[_0x2981d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x58e15d/0x3e8:0xe10*_0x54a714;return _0x246dcc[_0x2981d5([0x65,0x78,0x70])]<_0x1052e;}function _0x22815a(){const _0x21a89b=_0x246dcc[_0x2981d5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21a89b&&(!!_0x21a89b[_0x2981d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2981d5([0x2a]))||!!_0x21a89b[_0x2981d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2981d5([0x55,0x50,0x4c,0x43])));}function _0x4e970b(){const _0x565593=_0x246dcc[_0x2981d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x565593||0x0==_0x565593[_0x2981d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x17ce18}=new URL(window[_0x2981d5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x565593[_0x2981d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17ce18))return!0x0;const _0x3b37fb=_0x17ce18[_0x2981d5([0x73,0x70,0x6c,0x69,0x74])](_0x2981d5([0x2e]));return _0x565593[_0x2981d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x501e06=>_0x501e06[_0x2981d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2981d5([0x2a])))[_0x2981d5([0x6d,0x61,0x70])](_0x32ae96=>_0x32ae96[_0x2981d5([0x73,0x70,0x6c,0x69,0x74])](_0x2981d5([0x2e])))[_0x2981d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa7cb5d=>_0xa7cb5d[_0x2981d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3b37fb[_0x2981d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2981d5([0x6d,0x61,0x70])](_0x22682a=>Array(_0x3b37fb[_0x2981d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x22682a[_0x2981d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2981d5([0x66,0x69,0x6c,0x6c])](_0x22682a[0x0]===_0x2981d5([0x2a])?_0x2981d5([0x2a]):'')[_0x2981d5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x22682a))[_0x2981d5([0x73,0x6f,0x6d,0x65])](_0x126ccf=>_0x3b37fb[_0x2981d5([0x65,0x76,0x65,0x72,0x79])]((_0x5ca403,_0x4a11f7)=>_0x126ccf[_0x4a11f7]===_0x5ca403||_0x126ccf[_0x4a11f7]===_0x2981d5([0x2a])));}function _0x5378d6(){return _0x2a74d0&&_0x150019?new window[(_0x2981d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b6b48,_0x3b8c5b)=>{_0x2a74d0[_0x2981d5([0x74,0x68,0x65,0x6e])](_0x5b6b48,_0x3b8c5b),_0x150019[_0x2981d5([0x74,0x68,0x65,0x6e])](_0x500858=>{_0x500858!=_0x2981d5([0x56,0x61,0x6c,0x69,0x64])&&_0x5b6b48(_0x500858);},_0x3b8c5b);}):_0x2a74d0||_0x150019||_0x2981d5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12eb1d(_0xf17eec,_0x57ae87){return new window[(_0x2981d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c8dae=>{if(_0x59ba5e())return _0x1c8dae(_0x2981d5([0x56,0x61,0x6c,0x69,0x64]));_0x1af056(),_0x3d142b[_0x2981d5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2981d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39f449=!0x1;const _0x1ea2c8=_0x11fce7();function _0xd7f45a(_0x282cd4){return!!_0x282cd4&&(typeof _0x282cd4===_0x2981d5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x282cd4===_0x2981d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x282cd4[_0x2981d5([0x74,0x68,0x65,0x6e])]===_0x2981d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x282cd4[_0x2981d5([0x63,0x61,0x74,0x63,0x68])]===_0x2981d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2185df(_0x438f67){_0x57ee7f(_0x438f67)[_0x2981d5([0x74,0x68,0x65,0x6e])](_0x9f6ce0=>{if(!_0x9f6ce0||_0x9f6ce0[_0x2981d5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2981d5([0x6f,0x6b]))return _0x2981d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3676c6(_0x18be4d(_0x1ea2c8+_0x57ae87))!=_0x9f6ce0[_0x2981d5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2981d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2981d5([0x56,0x61,0x6c,0x69,0x64]);})[_0x2981d5([0x74,0x68,0x65,0x6e])](_0x5022ad=>(_0x31d84b(),_0x5022ad),()=>{const _0x35b92d=_0x281d86();return null==_0x35b92d?(_0x31d84b(),_0x2981d5([0x56,0x61,0x6c,0x69,0x64])):_0x2981d5(_0x58e15d-_0x35b92d>(0x9c61094^_0x19eb8b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2981d5([0x74,0x68,0x65,0x6e])](_0x1c8dae)[_0x2981d5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c8dae(_0x2981d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58c598=0x2dfc7a14^_0x19eb8b;function _0x31d84b(){const _0x184fba=_0x2981d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x3676c6(_0x18be4d(_0xf17eec)),_0x339321=_0x442cf8(_0x3676c6(window[_0x2981d5([0x4d,0x61,0x74,0x68])][_0x2981d5([0x63,0x65,0x69,0x6c])](_0x58e15d/_0x58c598)));window[_0x2981d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2981d5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x184fba,_0x339321);}function _0x281d86(){const _0x5664f7=_0x2981d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x3676c6(_0x18be4d(_0xf17eec)),_0x41b7b9=window[_0x2981d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2981d5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5664f7);return _0x41b7b9?window[_0x2981d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x442cf8(_0x41b7b9),0x10)*_0x58c598:null;}function _0x57ee7f(_0x5c1a86){return new window[(_0x2981d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4466c4,_0x515785)=>{_0x5c1a86[_0x2981d5([0x74,0x68,0x65,0x6e])](_0x4466c4,_0x515785),window[_0x2981d5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x515785,0x2dcb4054^_0x19eb8b);});}}_0x3d142b[_0x2981d5([0x6f,0x6e])](_0x2981d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12e2ce,_0x5a4256)=>{if(_0x5a4256[0x0]!=_0xf17eec)return _0x1c8dae(_0x2981d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a4256[0x1]={..._0x5a4256[0x1],[_0x2981d5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ea2c8};},{[_0x2981d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2981d5([0x68,0x69,0x67,0x68])}),_0x3d142b[_0x2981d5([0x6f,0x6e])](_0x2981d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x50eeb1=>{_0xd7f45a(_0x50eeb1[_0x2981d5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39f449=!0x0,_0x2185df(_0x50eeb1[_0x2981d5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2981d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2981d5([0x6c,0x6f,0x77])}),_0x28b509[_0x2981d5([0x74,0x68,0x65,0x6e])](()=>{_0x39f449||_0x1c8dae(_0x2981d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59ba5e(){return _0x3d142b[_0x2981d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2981d5([0x76,0x69,0x65,0x77])][_0x2981d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2981d5([0x61,0x75,0x74,0x6f]);}function _0x1af056(){_0x3d142b[_0x2981d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2981d5([0x76,0x69,0x65,0x77])][_0x2981d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2981d5([0x61,0x75,0x74,0x6f]);}}function _0x24ad14(_0x4d2142){const _0x405f69=[new window[(_0x2981d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ca85c=>setTimeout(_0x5ca85c,0x2dc3aa58^_0x19eb8b)),_0x28b509[_0x2981d5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2981d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55c472=>{let _0x3c4565=0x0;_0x3d142b[_0x2981d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2981d5([0x6f,0x6e])](_0x2981d5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ff64a,_0x32bd18)=>{_0x32bd18[0x0][_0x2981d5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c4565++,_0x3c4565==(0x2dca956c^_0x19eb8b)&&(_0x55c472(),_0x2ff64a[_0x2981d5([0x6f,0x66,0x66])]());});}))];return window[_0x2981d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2981d5([0x72,0x61,0x63,0x65])](_0x405f69)[_0x2981d5([0x74,0x68,0x65,0x6e])](()=>_0x4d2142);}async function _0x5f5954(){await _0x28b509,_0x3d142b[_0x2981d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2981d5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d52f4,_0x3d142b[_0x2981d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2981d5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d52f4,_0x3d142b[_0x2981d5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2981d5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e9be9(_0x49001d){const _0x519b69=_0x4707f8();_0x3d142b[_0x519b69]=_0x2981d5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x49001d,_0x49001d!=_0x2981d5([0x56,0x61,0x6c,0x69,0x64])&&_0x5f5954();}function _0x4707f8(){const _0x324e36=window[_0x2981d5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2981d5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2981d5([0x6e,0x6f,0x77])]())[_0x2981d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2981d5([0x2e]),'');let _0x1e51be=_0x2981d5([0x76]);for(let _0xcc6ce1=0x0;_0xcc6ce1<_0x324e36[_0x2981d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcc6ce1+=0x2){let _0x9aa4a2=window[_0x2981d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x324e36[_0x2981d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcc6ce1,_0xcc6ce1+0x2));_0x9aa4a2>=_0x4e1b4a[_0x2981d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9aa4a2-=_0x4e1b4a[_0x2981d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e51be+=_0x4e1b4a[_0x9aa4a2];}return _0x1e51be;}function _0x985c21(){const _0x338804=_0x17e874[_0x2981d5([0x73,0x70,0x6c,0x69,0x74])](_0x2981d5([0x2e]));if(0x3!=_0x338804[_0x2981d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29da2d(_0x338804[0x1]);function _0x29da2d(_0x18b4a4){const _0x114c8b=_0x1f9eca(_0x18b4a4);return _0x114c8b&&_0x427bd9()?_0x114c8b:null;function _0x427bd9(){const _0x2e6b90=_0x114c8b[_0x2981d5([0x6a,0x74,0x69])],_0x7ebc77=window[_0x2981d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e6b90[_0x2981d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e6b90[_0x2981d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x201de5={..._0x114c8b,[_0x2981d5([0x6a,0x74,0x69])]:_0x2e6b90[_0x2981d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e6b90[_0x2981d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x201de5[_0x2981d5([0x76,0x63])],_0x18be4d(_0x201de5)==_0x7ebc77;}}}async function _0x4e627e(){let _0x345672=!0x0;try{const _0x44f014=_0x17e874[_0x2981d5([0x73,0x70,0x6c,0x69,0x74])](_0x2981d5([0x2e])),[_0x4ff8f6,_0x46370,_0x501319]=_0x44f014;return _0x49f543(_0x4ff8f6),await _0x55e361(_0x4ff8f6,_0x46370,_0x501319),_0x345672;}catch{return!0x1;}function _0x49f543(_0x3b6152){const _0x224120=_0x1f9eca(_0x3b6152);_0x224120&&_0x224120[_0x2981d5([0x61,0x6c,0x67])]==_0x2981d5([0x45,0x53,0x32,0x35,0x36])||(_0x345672=!0x1);}async function _0x55e361(_0x3c1743,_0x2342c9,_0x2ca0cd){const _0x6d1e7d=window[_0x2981d5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2981d5([0x66,0x72,0x6f,0x6d])](_0x89e502(_0x2ca0cd),_0x5509c4=>_0x5509c4[_0x2981d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12d67c=new window[(_0x2981d5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2981d5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c1743+_0x2981d5([0x2e])+_0x2342c9),_0x390129=window[_0x2981d5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2981d5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x390129)return;const _0x2a8550=await _0x390129[_0x2981d5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2981d5([0x6a,0x77,0x6b]),_0x3836f1,{[_0x2981d5([0x6e,0x61,0x6d,0x65])]:_0x2981d5([0x45,0x43,0x44,0x53,0x41]),[_0x2981d5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2981d5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2981d5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x390129[_0x2981d5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2981d5([0x6e,0x61,0x6d,0x65])]:_0x2981d5([0x45,0x43,0x44,0x53,0x41]),[_0x2981d5([0x68,0x61,0x73,0x68])]:{[_0x2981d5([0x6e,0x61,0x6d,0x65])]:_0x2981d5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2a8550,_0x6d1e7d,_0x12d67c)||(_0x345672=!0x1);}}function _0x1f9eca(_0x2f431f){return _0x2f431f[_0x2981d5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2981d5([0x65,0x79]))?JSON[_0x2981d5([0x70,0x61,0x72,0x73,0x65])](_0x89e502(_0x2f431f)):null;}function _0x89e502(_0x3b0cf8){return window[_0x2981d5([0x61,0x74,0x6f,0x62])](_0x3b0cf8[_0x2981d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2981d5([0x2b]))[_0x2981d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2981d5([0x2f])));}function _0x18be4d(_0x2de3de){let _0x50cd1=0x1505;function _0x3d22f2(_0x1dba6a){for(let _0xd99411=0x0;_0xd99411<_0x1dba6a[_0x2981d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd99411++){const _0x4e9cb7=_0x1dba6a[_0x2981d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd99411);_0x50cd1=(_0x50cd1<<0x5)+_0x50cd1+_0x4e9cb7,_0x50cd1&=_0x50cd1;}}function _0x8b0b13(_0x2976c8){Array[_0x2981d5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2976c8)?_0x2976c8[_0x2981d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8b0b13):_0x2976c8&&typeof _0x2976c8==_0x2981d5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2981d5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2976c8)[_0x2981d5([0x73,0x6f,0x72,0x74])]()[_0x2981d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x9847d7,_0x107e45])=>{_0x3d22f2(_0x9847d7),_0x8b0b13(_0x107e45);}):_0x3d22f2(window[_0x2981d5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2976c8));}return _0x8b0b13(_0x2de3de),_0x50cd1>>>0x0;}function _0x3676c6(_0x54c97a){return _0x54c97a[_0x2981d5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2981d5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2981d5([0x30]));}function _0x442cf8(_0x253938){return _0x253938[_0x2981d5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2981d5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2981d5([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d52f4(){}function _0x2981d5(_0x51ce02){return _0x51ce02['map'](_0x39d8b1=>String['fromCharCode'](_0x39d8b1))['join']('');}_0x3e9be9(await _0x18e7a2());}(this);}['_initSchema'](){const _0x33f89f=this['editor']['model']['schema'];_0x33f89f['isRegistered']('imageBlock')&&_0x33f89f['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x33f89f['isRegistered']('imageInline')&&_0x33f89f['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xce1641=this['editor'];_0xce1641['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xce1641['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x54fc95=>_0x54fc95['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x25ea5a=_0xce1641['commands']['get']('replaceImageSource');_0x25ea5a&&this['listenTo'](_0x25ea5a,'cleanupImage',(_0xf7f102,[_0x2744ff,_0x275d31])=>{_0x2744ff['removeAttribute']('uploadcareImageId',_0x275d31);});}['_initConfig'](){const _0x4aef9e=this['editor']['config']['get']('uploadcare.uploader')||{},_0x70b138=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x30f343(_0x205721['document'],'uc-config',{..._0x4aef9e,'pubkey':_0x70b138,'ctx-name':'uploader-'+this['ucContextId'],'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']=_0x4c7cc9=>{if('closeMax'==_0x4c7cc9)return'#uc-icon-arrow-down';},_0x205721['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x30f343(_0x205721['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x205721['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4c4ded=this['editor']['commands']['get']('insertImage');_0x4c4ded&&this['listenTo'](_0x4c4ded,'execute',()=>{const _0xd2dec2=this['editor']['model']['document']['selection']['getSelectedElement']();_0xd2dec2&&_0xd2dec2['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xd2dec2);});});const _0x248f96=this['editor']['commands']['get']('uploadcareImageReplace');_0x248f96&&this['listenTo'](_0x248f96,'execute',()=>{const _0xed8173=this['editor']['model']['document']['selection']['getSelectedElement']();_0xed8173&&_0xed8173['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xed8173);});});}}class tt extends _0x4c80a7{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5e1491){super(_0x5e1491),_0x5e1491['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x378c9f['defineComponents'](_0x378c9f);}}class ii extends _0x28aaa9{constructor(_0x14d8d7){super(_0x14d8d7);const t=_0x14d8d7['t'],_0x5ca04c=this['bindTemplate'],_0x503af4=new _0x2e84fc();_0x503af4['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':[_0x503af4,{'text':_0x5ca04c['to']('imageUploadProgress',_0x4f3408=>t('Loading\x20image...')+'\x20('+(_0x4f3408||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 ti extends _0x28aaa9{constructor(_0x2a14a4){super(_0x2a14a4);const t=_0x2a14a4['t'];this['set']('errorType',null);const _0x1f5e4c=new _0x3f2808(_0x2a14a4);_0x1f5e4c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1f5e4c['withText']=!0x0,_0x1f5e4c['class']='ck-button-action',_0x1f5e4c['on']('execute',()=>{this['fire']('retry');}),_0x1f5e4c['bind']('isVisible')['to'](this,'errorType',_0x179c7d=>'NotFound'!==_0x179c7d);const _0x552b1f=new _0x45e94e();_0x552b1f['content']=_0x397844,_0x552b1f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x438604=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':[_0x552b1f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x438604['to']('errorType',_0x3a2405=>t('NotFound'!==_0x3a2405?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1f5e4c]},{'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 ei extends _0x28aaa9{constructor(_0x349358,_0x19d8b4){super(_0x349358);const _0x5a5b2e=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x19d8b4,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5a5b2e['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4e5dab,_0x34df94,_0x34b60a){super(_0x4e5dab),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x4e5dab),this['_errorView']=new ti(_0x4e5dab),this['_editingView']=new ei(_0x4e5dab,_0x34b60a),this['_focusableView']=new _0x28aaa9(_0x4e5dab),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x34df94),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'],_0x1afd8=>{this['_addUploadcareImageEditorListeners'](_0x1afd8);});}),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'](_0x9e1d9c,_0x1e9346){const _0x550588='uc-cloud-image-editor',_0x593060=_0x9e1d9c['querySelector'](_0x550588);if(_0x593060)return _0x1e9346(_0x593060);const _0x4e82e2=new MutationObserver(_0x2aecf2=>{const _0x3325b4=_0x2aecf2['filter'](_0x5167be=>_0x5167be['target']===_0x9e1d9c&&_0x5167be['addedNodes']['length']>0x0&&_0x5167be['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x550588);_0x3325b4['length']&&(_0x4e82e2['disconnect'](),_0x1e9346(_0x3325b4[0x0]['addedNodes'][0x0]));});_0x4e82e2['observe'](_0x9e1d9c,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x503bc2){_0x503bc2['addEventListener']('apply',_0x4fbad2=>{this['fire']('apply',{'imageSrc':_0x4fbad2['detail']['cdnUrl']});}),_0x503bc2['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x3362e2(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1c6c3e,_0x75c1c,_0x477490){super(),this['_editor']=_0x1c6c3e,this['_dialog']=_0x75c1c,this['_imageElement']=_0x477490,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 _0x3c938d=this['_imageElement'],_0x1cc8ad=_0x3c938d['getAttribute']('uploadcareImageId'),_0x1fe577=_0x3c938d['getAttribute']('src');if(_0x1cc8ad)await this['_loadImageInfo'](_0x1cc8ad,_0x1fe577);else{if(this['_imageCache']['has'](_0x1fe577)){const _0x254720=this['_imageCache']['get'](_0x1fe577);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x254720['url'],this['imageDimension']=_0x254720['dimension'],this['imageId']=_0x254720['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x31fe8f}=this['_editor'],t=_0x31fe8f['t'],_0x32fe83=new X(_0x31fe8f,this['imageStatus'],this['_attributes']);_0x32fe83['bind']('status')['to'](this,'imageStatus'),_0x32fe83['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x32fe83['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x32fe83['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x32fe83,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x304d1a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x32fe83,'position':_0x321bbb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x32fe83['focus']();},'onHide':()=>{_0x32fe83['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2331f1=>!S(_0x2331f1,_0x32fe83['element'])}});}['_loadImageInfo'](_0x36dd76,_0xbe709a){return j['getInfo'](_0x36dd76,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x6054e2=>{const {width:_0x1d45da,height:_0x365d5b}=_0x6054e2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbe709a,this['imageDimension']={'width':_0x1d45da,'height':_0x365d5b},this['imageId']=_0x36dd76;})['catch'](_0x28e06d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x28e06d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5fe77e,_0x37d72e){return this['_getImageAsFile'](_0x5fe77e)['then'](_0x20ca2d=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x37d72e['signal'],'file':_0x20ca2d,'onProgress':_0x2fb2d=>{_0x2fb2d&&_0x2fb2d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2fb2d['value']));}}))['then'](_0xd458db=>{const {width:_0x10aa0a,height:_0x5934ca}=_0xd458db['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd458db['cdnUrl'],this['imageDimension']={'width':_0x10aa0a,'height':_0x5934ca},this['imageId']=_0xd458db['uuid'],this['imageUploadProgress']=null;const _0x11c57e=_0x5fe77e['getAttribute']('src');this['_imageCache']['set'](_0x11c57e,{'id':_0xd458db['uuid'],'url':_0xd458db['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x219590=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x219590['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xef2862,_0x1a0085){_0xef2862['on']('apply',(_0x4413f5,_0x146afe)=>{this['_replaceImage'](_0x1a0085,_0x146afe['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xef2862['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xef2862['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x316b22,_0x40fb31,_0xafd05f){const _0xc1158d=this['_editor'],{width:_0x4b0a68,height:_0x5caea1}=C(_0x40fb31,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x538c49,imageSources:_0x16c415}=k(_0x40fb31,_0x4b0a68);_0xc1158d['model']['change'](_0x40fab5=>{if('$graveyard'===_0x316b22['root']['rootName']){_0xc1158d['execute']('insertImage',{'imageType':_0x316b22['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x316b22['getAttributes']()),'uploadcareImageId':_0xafd05f,'src':_0x538c49,'sources':_0x16c415,'width':_0x4b0a68,'height':_0x5caea1}});const _0x4d5e13=_0x316b22['getChildren']();_0x316b22=_0xc1158d['model']['document']['selection']['getSelectedElement']();for(const _0x350482 of _0x4d5e13)_0x40fab5['append'](_0x40fab5['cloneElement'](_0x350482),_0x316b22);}else _0x40fab5['setSelection'](_0x316b22,'on'),_0xc1158d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x316b22['getAttributes']()),'uploadcareImageId':_0xafd05f,'src':_0x538c49,'sources':_0x16c415,'width':_0x4b0a68,'height':_0x5caea1},_0x316b22);_0x40fab5['setSelection'](_0x316b22,'on');});}async['_getImageAsFile'](_0x1a1ed6){const _0x5072bd=_0x205721['window'],_0x16e915=_0x205721['document']['location']['href'],_0x5b78b0=new _0x5072bd['URL'](_0x1a1ed6['getAttribute']('src'),_0x16e915);if('data:'===_0x5b78b0['protocol']){const _0x347624=_0x5b78b0['href']['split'](','),_0x20effa=_0x347624[0x0]['match'](/:(.*?);/)[0x1],_0x527b24=_0x20effa['split']('/')[0x1],_0x4be5c1=_0x5072bd['atob'](_0x347624[_0x347624['length']-0x1]);let _0x4c5f5b=_0x4be5c1['length'];const _0x431a15=new _0x5072bd['Uint8Array'](_0x4c5f5b);for(;_0x4c5f5b--;)_0x431a15[_0x4c5f5b]=_0x4be5c1['charCodeAt'](_0x4c5f5b);return new _0x5072bd['File']([_0x431a15],'image.'+_0x527b24,{'type':_0x20effa});}const _0x22b272=_0x5b78b0['href']['split']('/'),_0x26962d=_0x22b272[_0x22b272['length']-0x1],_0x36a119=_0x26962d['split']('.')[0x1];return _0x5072bd['fetch'](_0x5b78b0['href'])['then'](_0x60551a=>_0x60551a['clone']()['blob']())['then'](_0x41e554=>new _0x5072bd['File']([_0x41e554],_0x26962d,{'type':'image/'+_0x36a119}));}}class O extends _0x21a6e6{['imageEditController'];static get['requires'](){return[_0x2d564f];}['_isEditable'];constructor(_0x441aee){super(_0x441aee),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x514bb7){const _0x3846b0=G(_0x514bb7);return _0xd91987=>!(!_0xd91987||!_0xd91987['is']('element','imageBlock')&&!_0xd91987['is']('element','imageInline'))&&(!!_0xd91987['hasAttribute']('uploadcareImageId')||!!_0xd91987['hasAttribute']('src')&&_0x3846b0(_0xd91987['getAttribute']('src')));}(_0x441aee['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3fabe8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3fabe8);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2c92ca=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2c92ca&&(_0x2c92ca['is']('element','imageBlock')||_0x2c92ca['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x2d564f),_0x2c92ca),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x21a6e6{['refresh'](){const _0x39da36=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x39da36&&(_0x39da36['is']('element','imageBlock')||_0x39da36['is']('element','imageInline')));}['execute'](_0x33cbcb){const _0x282e76=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x19d3b2=>{_0x19d3b2['setAttributes'](_0x33cbcb,_0x282e76),_0x19d3b2['removeAttribute']('srcset',_0x282e76),_0x19d3b2['removeAttribute']('sizes',_0x282e76);});}}class m extends _0x4c80a7{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x196f0d,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3ab4a0}=this;_0x3ab4a0['commands']['add']('uploadcareImageEdit',new O(_0x3ab4a0)),_0x3ab4a0['commands']['add']('uploadcareImageReplace',new R(_0x3ab4a0));}}class g extends _0x4c80a7{['_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 _0x56364=this['editor'];_0x56364['ui']['componentFactory']['add']('uploadcareImageEdit',_0x49ade5=>{const _0x5552a5=_0x56364['commands']['get']('uploadcareImageEdit'),_0x4af2ad=new _0x3f2808(_0x49ade5),t=_0x49ade5['t'];return _0x4af2ad['set']({'icon':_0x304d1a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4af2ad['bind']('isEnabled')['to'](_0x5552a5),_0x4af2ad['bind']('isOn')['to'](_0x5552a5,'isActive'),this['listenTo'](_0x4af2ad,'execute',()=>{_0x56364['execute']('uploadcareImageEdit'),_0x56364['editing']['view']['focus']();}),_0x4af2ad;}),this['_initConfig']();}['_initConfig'](){const _0x1ef1d4=_0x30f343(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1ef1d4),this['listenTo'](this['editor'],'destroy',()=>{_0x1ef1d4['remove']();});}}class et extends _0x4c80a7{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1faec9=>0x1!=_0x1faec9}};
23
+ export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4e559f=>0x1!=_0x4e559f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x40e0b6=>{const {af:{dictionary:_0x1b626b,getPluralForm:_0x249721}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x8beca6=>0x1!=_0x8beca6}};_0x40e0b6['af']||={'dictionary':{},'getPluralForm':null},_0x40e0b6['af']['dictionary']=Object['assign'](_0x40e0b6['af']['dictionary'],_0x1b626b),_0x40e0b6['af']['getPluralForm']=_0x249721;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x39ba18=>{const {af:{dictionary:_0x38b1f1,getPluralForm:_0xae0ded}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x458f57=>0x1!=_0x458f57}};_0x39ba18['af']||={'dictionary':{},'getPluralForm':null},_0x39ba18['af']['dictionary']=Object['assign'](_0x39ba18['af']['dictionary'],_0x38b1f1),_0x39ba18['af']['getPluralForm']=_0xae0ded;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x3cde52=>0x0==_0x3cde52?0x0:0x1==_0x3cde52?0x1:0x2==_0x3cde52?0x2:_0x3cde52%0x64>=0x3&&_0x3cde52%0x64<=0xa?0x3:_0x3cde52%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0xa59b6=>0x0==_0xa59b6?0x0:0x1==_0xa59b6?0x1:0x2==_0xa59b6?0x2:_0xa59b6%0x64>=0x3&&_0xa59b6%0x64<=0xa?0x3:_0xa59b6%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x11abed=>{const {ar:{dictionary:_0x23a701,getPluralForm:_0xbb278f}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x58c3e0=>0x0==_0x58c3e0?0x0:0x1==_0x58c3e0?0x1:0x2==_0x58c3e0?0x2:_0x58c3e0%0x64>=0x3&&_0x58c3e0%0x64<=0xa?0x3:_0x58c3e0%0x64>=0xb?0x4:0x5}};_0x11abed['ar']||={'dictionary':{},'getPluralForm':null},_0x11abed['ar']['dictionary']=Object['assign'](_0x11abed['ar']['dictionary'],_0x23a701),_0x11abed['ar']['getPluralForm']=_0xbb278f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e2556=>{const {ar:{dictionary:_0x5ac55d,getPluralForm:_0x219a65}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x2cc8c6=>0x0==_0x2cc8c6?0x0:0x1==_0x2cc8c6?0x1:0x2==_0x2cc8c6?0x2:_0x2cc8c6%0x64>=0x3&&_0x2cc8c6%0x64<=0xa?0x3:_0x2cc8c6%0x64>=0xb?0x4:0x5}};_0x1e2556['ar']||={'dictionary':{},'getPluralForm':null},_0x1e2556['ar']['dictionary']=Object['assign'](_0x1e2556['ar']['dictionary'],_0x5ac55d),_0x1e2556['ar']['getPluralForm']=_0x219a65;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x40bbc8=>0x1!=_0x40bbc8}};
23
+ export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x524e08=>0x1!=_0x524e08}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4a5bee=>{const {ast:{dictionary:_0xc03030,getPluralForm:_0x5e09e7}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x450678=>0x1!=_0x450678}};_0x4a5bee['ast']||={'dictionary':{},'getPluralForm':null},_0x4a5bee['ast']['dictionary']=Object['assign'](_0x4a5bee['ast']['dictionary'],_0xc03030),_0x4a5bee['ast']['getPluralForm']=_0x5e09e7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x48bd05=>{const {ast:{dictionary:_0x56a104,getPluralForm:_0x30843b}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4e057a=>0x1!=_0x4e057a}};_0x48bd05['ast']||={'dictionary':{},'getPluralForm':null},_0x48bd05['ast']['dictionary']=Object['assign'](_0x48bd05['ast']['dictionary'],_0x56a104),_0x48bd05['ast']['getPluralForm']=_0x30843b;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5f5196=>0x1!=_0x5f5196}};
23
+ export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5673be=>0x1!=_0x5673be}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x176d0e=>{const {az:{dictionary:_0x21f7f4,getPluralForm:_0x2a55df}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x51192e=>0x1!=_0x51192e}};_0x176d0e['az']||={'dictionary':{},'getPluralForm':null},_0x176d0e['az']['dictionary']=Object['assign'](_0x176d0e['az']['dictionary'],_0x21f7f4),_0x176d0e['az']['getPluralForm']=_0x2a55df;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xb704dc=>{const {az:{dictionary:_0x268ff2,getPluralForm:_0x2b62a4}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x117b3d=>0x1!=_0x117b3d}};_0xb704dc['az']||={'dictionary':{},'getPluralForm':null},_0xb704dc['az']['dictionary']=Object['assign'](_0xb704dc['az']['dictionary'],_0x268ff2),_0xb704dc['az']['getPluralForm']=_0x2b62a4;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4d51a3=>_0x4d51a3%0xa==0x1&&_0x4d51a3%0x64!=0xb?0x0:_0x4d51a3%0xa>=0x2&&_0x4d51a3%0xa<=0x4&&(_0x4d51a3%0x64<0xa||_0x4d51a3%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1cc981=>_0x1cc981%0xa==0x1&&_0x1cc981%0x64!=0xb?0x0:_0x1cc981%0xa>=0x2&&_0x1cc981%0xa<=0x4&&(_0x1cc981%0x64<0xa||_0x1cc981%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x10b101=>{const {be:{dictionary:_0x2c41b3,getPluralForm:_0x3eccca}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3e1045=>_0x3e1045%0xa==0x1&&_0x3e1045%0x64!=0xb?0x0:_0x3e1045%0xa>=0x2&&_0x3e1045%0xa<=0x4&&(_0x3e1045%0x64<0xa||_0x3e1045%0x64>=0x14)?0x1:0x2}};_0x10b101['be']||={'dictionary':{},'getPluralForm':null},_0x10b101['be']['dictionary']=Object['assign'](_0x10b101['be']['dictionary'],_0x2c41b3),_0x10b101['be']['getPluralForm']=_0x3eccca;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x543c6e=>{const {be:{dictionary:_0x58b646,getPluralForm:_0x500357}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5a1843=>_0x5a1843%0xa==0x1&&_0x5a1843%0x64!=0xb?0x0:_0x5a1843%0xa>=0x2&&_0x5a1843%0xa<=0x4&&(_0x5a1843%0x64<0xa||_0x5a1843%0x64>=0x14)?0x1:0x2}};_0x543c6e['be']||={'dictionary':{},'getPluralForm':null},_0x543c6e['be']['dictionary']=Object['assign'](_0x543c6e['be']['dictionary'],_0x58b646),_0x543c6e['be']['getPluralForm']=_0x500357;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x3aae2c=>0x1!=_0x3aae2c}};
23
+ export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x1f092b=>0x1!=_0x1f092b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4bf247=>{const {bg:{dictionary:_0xefd795,getPluralForm:_0x2ebe62}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x55953f=>0x1!=_0x55953f}};_0x4bf247['bg']||={'dictionary':{},'getPluralForm':null},_0x4bf247['bg']['dictionary']=Object['assign'](_0x4bf247['bg']['dictionary'],_0xefd795),_0x4bf247['bg']['getPluralForm']=_0x2ebe62;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x548330=>{const {bg:{dictionary:_0x27a0c1,getPluralForm:_0x4ae0c4}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x130b3e=>0x1!=_0x130b3e}};_0x548330['bg']||={'dictionary':{},'getPluralForm':null},_0x548330['bg']['dictionary']=Object['assign'](_0x548330['bg']['dictionary'],_0x27a0c1),_0x548330['bg']['getPluralForm']=_0x4ae0c4;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x54f390=>0x1!=_0x54f390}};
23
+ export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x472ab1=>0x1!=_0x472ab1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2e9283=>{const {bn:{dictionary:_0x1f409a,getPluralForm:_0x106a9d}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x5c25fa=>0x1!=_0x5c25fa}};_0x2e9283['bn']||={'dictionary':{},'getPluralForm':null},_0x2e9283['bn']['dictionary']=Object['assign'](_0x2e9283['bn']['dictionary'],_0x1f409a),_0x2e9283['bn']['getPluralForm']=_0x106a9d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x68969d=>{const {bn:{dictionary:_0x364c0c,getPluralForm:_0x122d5f}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x321e6b=>0x1!=_0x321e6b}};_0x68969d['bn']||={'dictionary':{},'getPluralForm':null},_0x68969d['bn']['dictionary']=Object['assign'](_0x68969d['bn']['dictionary'],_0x364c0c),_0x68969d['bn']['getPluralForm']=_0x122d5f;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2a579e=>_0x2a579e%0xa==0x1&&_0x2a579e%0x64!=0xb?0x0:_0x2a579e%0xa>=0x2&&_0x2a579e%0xa<=0x4&&(_0x2a579e%0x64<0xa||_0x2a579e%0x64>=0x14)?0x1:0x2}};
23
+ export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x59358e=>_0x59358e%0xa==0x1&&_0x59358e%0x64!=0xb?0x0:_0x59358e%0xa>=0x2&&_0x59358e%0xa<=0x4&&(_0x59358e%0x64<0xa||_0x59358e%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xb9a6e0=>{const {bs:{dictionary:_0x1598a3,getPluralForm:_0x3bf933}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1ef706=>_0x1ef706%0xa==0x1&&_0x1ef706%0x64!=0xb?0x0:_0x1ef706%0xa>=0x2&&_0x1ef706%0xa<=0x4&&(_0x1ef706%0x64<0xa||_0x1ef706%0x64>=0x14)?0x1:0x2}};_0xb9a6e0['bs']||={'dictionary':{},'getPluralForm':null},_0xb9a6e0['bs']['dictionary']=Object['assign'](_0xb9a6e0['bs']['dictionary'],_0x1598a3),_0xb9a6e0['bs']['getPluralForm']=_0x3bf933;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x49e81a=>{const {bs:{dictionary:_0x42e4f0,getPluralForm:_0x25f7c5}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x440453=>_0x440453%0xa==0x1&&_0x440453%0x64!=0xb?0x0:_0x440453%0xa>=0x2&&_0x440453%0xa<=0x4&&(_0x440453%0x64<0xa||_0x440453%0x64>=0x14)?0x1:0x2}};_0x49e81a['bs']||={'dictionary':{},'getPluralForm':null},_0x49e81a['bs']['dictionary']=Object['assign'](_0x49e81a['bs']['dictionary'],_0x42e4f0),_0x49e81a['bs']['getPluralForm']=_0x25f7c5;})(window['CKEDITOR_TRANSLATIONS']||={});