@ckeditor/ckeditor5-uploadcare 46.0.0-alpha.8 → 46.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 _0x72abbd,Command as _0x471491}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x112089,IconGooglePhotos as _0x4dff3f,IconGoogleDrive as _0xb9805f,IconFacebook as _0x168055,IconDropbox as _0x2cfcd5,IconUploadcareLink as _0x4615b5,IconUploadcareImageUpload as _0x2f840e,IconError as _0xb44d0d,IconUploadcareImageEdit as _0x1f0837}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xb75ef0,MenuBarMenuListItemButtonView as _0x249ed9,View as _0x52c383,FocusCycler as _0x885e08,Dialog as _0x124449,DialogViewPosition as _0xb9d9d6,SpinnerView as _0x90359e,IconView as _0x3a1398,Notification as _0x171add}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x401826,DomEmitterMixin as _0x599382,global as _0x480712,getAncestors as _0x2b1852,ObservableMixin as _0x4deaf7,uid as _0x3a5c2a,createElement as _0x141cd4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5555d5}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4a33a5,info as _0x172945}from'@uploadcare/upload-client';import*as _0x334e31 from'@uploadcare/file-uploader';var i=function(_0x299651){return _0x299651['Local']='local',_0x299651['URL']='url',_0x299651['Dropbox']='dropbox',_0x299651['GDrive']='gdrive',_0x299651['Facebook']='facebook',_0x299651['GPhotos']='gphotos',_0x299651['OneDrive']='onedrive',_0x299651;}({});function _(_0x22a2fd,_0x54d6df,_0x28cd5f){const t=_0x22a2fd['t'],_0x2fa8fe=_0x22a2fd['t'];switch(_0x54d6df){case i['Local']:return{'text':_0x2fa8fe('Insert'===_0x28cd5f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2fa8fe('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x28cd5f?_0x2fa8fe('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2fa8fe('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x28cd5f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x28cd5f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x28cd5f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x28cd5f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x28cd5f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x54d6df;}}class e extends _0x72abbd{['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 _0x178969=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x205355;for(const _0x13009f in _0x178969){const _0x4522fa=_0x13009f,_0x2cceae=_0x178969[_0x4522fa];if('uploadcareLicenseKeyValid'==_0x2cceae||'uploadcareLicenseKeyInvalid'==_0x2cceae||'uploadcareLicenseKeyExpired'==_0x2cceae||'uploadcareLicenseKeyDomainLimit'==_0x2cceae||'uploadcareLicenseKeyNotAllowed'==_0x2cceae||'uploadcareLicenseKeyEvaluationLimit'==_0x2cceae||'uploadcareLicenseKeyTrialLimit'==_0x2cceae||'uploadcareLicenseKeyUsageLimit'==_0x2cceae){delete _0x178969[_0x4522fa],_0x205355=_0x2cceae,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x205355&&_0x178969['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x205355&&_0x178969['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x205355&&_0x178969['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x205355&&_0x178969['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x205355&&_0x178969['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x205355&&_0x178969['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x205355&&_0x178969['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5b6735}=this,_0x154a34=_0x5b6735['commands']['get']('uploadcare');if(!_0x154a34)return;const _0x2be412=this['_normalizeConfigSourceList'](_0x5b6735['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3f6a55,_0x18b94b)=>{const _0x59c16b=this['_getIntegrationKey'](_0x18b94b['type']);return _0x3f6a55[_0x59c16b]||(_0x3f6a55[_0x59c16b]=[]),_0x3f6a55[_0x59c16b]['push'](_0x18b94b),_0x3f6a55;},{});_0x5b6735['plugins']['has']('ImageInsertUI')&&_0x5b6735['commands']['get']('uploadcare')&&Object['entries'](_0x2be412)['forEach'](([_0x1fb314,_0x28c8f9])=>{_0x5b6735['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1fb314,'observable':()=>_0x154a34,'buttonViewCreator':()=>this['_createToolbarButton'](_0x28c8f9),'formViewCreator':()=>this['_createDropdownButtons'](_0x28c8f9),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x28c8f9),'override':'assetManager'!==_0x1fb314});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3ea937){const {locale:_0x126402}=this['editor'];return _0x3ea937['map'](_0x487c3b=>{const _0x5d8754=_(_0x126402,_0x487c3b,'Insert');switch(_0x487c3b){case i['Local']:return{'icon':_0x2f840e,'type':i['Local'],..._0x5d8754};case i['URL']:return{'icon':_0x4615b5,'type':i['URL'],..._0x5d8754};case i['Dropbox']:return{'icon':_0x2cfcd5,'type':i['Dropbox'],..._0x5d8754};case i['Facebook']:return{'icon':_0x168055,'type':i['Facebook'],..._0x5d8754};case i['GDrive']:return{'icon':_0xb9805f,'type':i['GDrive'],..._0x5d8754};case i['GPhotos']:return{'icon':_0x4dff3f,'type':i['GPhotos'],..._0x5d8754};case i['OneDrive']:return{'icon':_0x112089,'type':i['OneDrive'],..._0x5d8754};}});}['_getIntegrationKey'](_0x4b5ada){switch(_0x4b5ada){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4c2b9e,_0x373554){const _0x9a64d2=this['editor'],_0x1ec130=new _0x4c2b9e(_0x9a64d2['locale']),_0x51fb61=_0x9a64d2['commands']['get']('uploadcare');return _0x1ec130['bind']('isEnabled')['to'](_0x51fb61),_0x1ec130['on']('execute',()=>{_0x51fb61['execute'](_0x373554);}),_0x1ec130;}['_createToolbarButton'](_0x39db92){const {locale:_0x3b23d7}=this['editor'],_0x1d06f5=this['editor']['plugins']['get']('ImageInsertUI'),_0x201bea=_0x39db92[0x0],_0x31206a=this['_createButton'](_0xb75ef0,_0x201bea['type']);return _0x31206a['icon']=_0x201bea['icon'],_0x31206a['bind']('label')['to'](_0x1d06f5,'isImageSelected',_0x3ec51f=>_(_0x3b23d7,_0x201bea['type'],_0x3ec51f?'Replace':'Insert')['text']),_0x31206a['tooltip']=!0x0,_0x31206a;}['_createDropdownButtons'](_0x50dd30){const {locale:_0x2c7396}=this['editor'],_0x537d3f=this['editor']['plugins']['get']('ImageInsertUI');return _0x50dd30['map'](_0x4abb94=>{const _0x86116b=this['_createButton'](_0xb75ef0,_0x4abb94['type']);return _0x86116b['withText']=!0x0,_0x86116b['icon']=_0x4abb94['icon'],_0x86116b['bind']('label')['to'](_0x537d3f,'isImageSelected',_0x571de3=>_(_0x2c7396,_0x4abb94['type'],_0x571de3?'Replace':'Insert')['text']),_0x86116b;});}['_createMenuBarButtons'](_0x5505a7){return _0x5505a7['map'](_0x1c234f=>{const _0x5724a4=this['_createButton'](_0x249ed9,_0x1c234f['type']);return _0x5724a4['icon']=_0x1c234f['icon'],_0x5724a4['label']=_0x1c234f['shortText'],_0x5724a4;});}}class V extends _0x52c383{['focusTracker'];['focusCycler'];constructor(_0x536b57){super(_0x536b57),this['focusTracker']=new _0x401826(),this['focusCycler']=new _0x885e08({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends V{constructor(_0x326b4c,_0x43e4ca){super(_0x326b4c),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-'+_0x43e4ca}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x5dfb13,_0x2455fd){const _0x1b47b6=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1fc391=>_0x1fc391<=_0x2455fd)['map'](_0xff2cd=>_0x5dfb13['replace'](/\/$/,'')+'/-/resize/'+_0xff2cd+'x/\x20'+_0xff2cd+'w');return{'imageFallbackUrl':_0x5dfb13,'imageSources':[{'srcset':_0x1b47b6['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2455fd+'px)\x20100vw,\x20'+_0x2455fd+'px','type':'image/webp'}]};}function F(_0x4ab100,_0x18e1cf,_0x353fe2){const _0x753a1a=_0x4ab100['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x753a1a?parseInt(_0x753a1a[0x1],0xa):_0x18e1cf,'height':_0x753a1a?parseInt(_0x753a1a[0x2],0xa):_0x353fe2};}function p(_0x3d8e5d,_0xb73e5c){const _0x277c48=new(_0x599382())(),_0x5c0c78=_0x3d8e5d['plugins']['get']('ImageUtils'),_0x482845=_0x3d8e5d['editing']['mapper']['toViewElement'](_0xb73e5c),_0x548d0f=_0x5c0c78['findViewImgElement'](_0x482845),_0xbabcd7=_0x3d8e5d['editing']['view']['domConverter']['viewToDom'](_0x548d0f),_0x5ce178=_0xb73e5c['getAttribute']('width'),_0x54b7e3=_0xb73e5c['getAttribute']('height'),_0x4328f4='image-processing';_0x3d8e5d['editing']['view']['change'](_0x46832c=>{_0x46832c['addClass'](_0x4328f4,_0x482845),_0x46832c['setStyle']('aspect-ratio',_0x5ce178+'/'+_0x54b7e3,_0x548d0f);}),_0x277c48['listenTo'](_0xbabcd7,'load',()=>{_0x277c48['stopListening'](_0xbabcd7,'load'),_0x3d8e5d['editing']['view']['change'](_0x3d25cb=>{_0x3d25cb['removeClass'](_0x4328f4,_0x482845),_0x3d25cb['removeStyle']('aspect-ratio',_0x548d0f);});});}function R(_0xb081e6){if(Array['isArray'](_0xb081e6)){const _0x590f6c=_0xb081e6['map'](R);return _0x3aca6d=>_0x590f6c['some'](_0x5e53e1=>_0x5e53e1(_0x3aca6d));}if('origin'==_0xb081e6){const _0xa79f0=_0x480712['window']['location']['origin'];return _0x577292=>new URL(_0x577292,_0x480712['document']['baseURI'])['origin']==_0xa79f0;}return'function'==typeof _0xb081e6?_0xb081e6:_0xb081e6 instanceof RegExp?_0x1acff4=>!(!_0x1acff4['match'](_0xb081e6)&&!_0x1acff4['replace'](/^https?:\/\//,'')['match'](_0xb081e6)):()=>!0x1;}function M(_0x8ff0bb,_0xa9e2f4){return _0x2b1852(_0x8ff0bb['target'])['includes'](_0xa9e2f4);}class n extends/* #__PURE__ -- @preserve */
24
- _0x4deaf7(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x23b271,_0x6ee957,_0x19c2b0){super(),this['_editor']=_0x23b271,this['_editing']=_0x6ee957,this['_dialog']=_0x23b271['plugins']['get'](_0x124449),this['_api']=_0x6ee957['ctxElement']['getAPI'](),this['_type']=_0x19c2b0,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:_0x236e34,model:_0x2dafa5}=this['_editor'],_0x349327=_0x2dafa5['document']['selection']['getSelectedElement'](),_0x3b9cb8=_0x349327&&(_0x349327['is']('element','imageBlock')||_0x349327['is']('element','imageInline'));this['_formView']=new S(_0x236e34,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x2f840e,'title':_(_0x236e34,this['_type'],_0x3b9cb8?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xb9d9d6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x38c4b2=>!M(_0x38c4b2,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3a827a}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x37e6a8=>{const _0x39fee7=_0x3a827a['length'];for(const _0xcace79 of _0x3a827a){const _0x2f5fad=_0xcace79===_0x3a827a[_0x39fee7-0x1],{cdnUrl:_0x4747ab,fileInfo:_0x58275f}=_0xcace79;if(!_0x4747ab||!_0x58275f)continue;const {width:_0x2c1800,height:_0x5b7e6e}=_0x58275f['imageInfo'],_0x172159=F(_0x4747ab,_0x2c1800,_0x5b7e6e),_0x20b7b4=k(_0x4747ab,_0x172159['width']),_0x473bcf={'id':_0x58275f['uuid'],'type':'image','attributes':{'imageDimension':_0x172159,..._0x20b7b4}};this['_insertAsset'](_0x473bcf,_0x2f5fad,_0x37e6a8);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x461505=>{'idle'===_0x461505['detail']['status']&&!_0x461505['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xe1d580,_0x5083e7,_0x49e329){const _0x277428=this['_editor']['model']['document']['selection'],_0x21cb36=_0x277428['getSelectedElement'](),_0x30dd7a=!(!_0x21cb36||!_0x21cb36['is']('element','imageInline'));_0x49e329['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xe1d580,_0x30dd7a),_0x5083e7||_0x49e329['setSelection'](_0x277428['getLastPosition']());}['_insertImage'](_0x2be696,_0x3421d1){const _0x3acb69=this['_editor'],{imageDimension:_0xe09264,imageFallbackUrl:_0x9b8c2d,imageSources:_0x51dd46}=_0x2be696['attributes'];_0x3acb69['execute']('insertImage',{'imageType':_0x3421d1?'imageInline':null,'source':{'uploadcareImageId':_0x2be696['id'],'src':_0x9b8c2d,'sources':_0x51dd46,..._0xe09264}});}}class w extends _0x471491{['_editing'];['_controller']=null;static get['requires'](){return[_0x124449,o];}constructor(_0x261412){super(_0x261412),this['_editing']=_0x261412['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x366bd5){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x366bd5);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4b9adb,publicKey:_0x238a3a,signal:_0x13b75a,onProgress:_0x2ea2bd}){return _0x4a33a5(_0x4b9adb,{'publicKey':_0x238a3a,'store':'auto','signal':_0x13b75a,'onProgress':_0x2ea2bd});}static['getInfo'](_0x14f4f7,_0x35885e){return _0x172945(_0x14f4f7,_0x35885e);}}class f extends _0x72abbd{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5555d5,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1ec5db=this['editor'];if(!!!_0x1ec5db['config']['get']('uploadcare'))return;_0x1ec5db['plugins']['get'](_0x5555d5)['createUploadAdapter']=_0x5c57ea=>new A(_0x5c57ea,_0x1ec5db),_0x1ec5db['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x57fb1f,{imageElement:_0x4889ca,data:_0x1d2c34})=>{_0x1ec5db['model']['change'](_0x4c18b0=>{_0x4c18b0['setAttribute']('uploadcareImageId',_0x1d2c34['uploadcareImageId'],_0x4889ca);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x30f4e9,_0x3b5d0b){this['loader']=_0x30f4e9,this['editor']=_0x3b5d0b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x513bd4=this['editor']['config']['get']('uploadcare.pubkey'),_0x397916=await this['loader']['file'];return j['upload']({'file':_0x397916,'publicKey':_0x513bd4,'signal':this['controller']['signal'],'onProgress':_0x317f14=>{_0x317f14&&_0x317f14['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x317f14['value']);}})['then'](async _0x844699=>{const {imageFallbackUrl:_0x52c8c1,imageSources:_0x4d04f6}=k(_0x844699['cdnUrl'],_0x844699['imageInfo']['width']);return{'uploadcareImageId':_0x844699['uuid'],'default':_0x52c8c1,'sources':_0x4d04f6};})['catch'](()=>{const _0x5d1d76=t('Cannot\x20upload\x20file:')+('\x20'+_0x397916['name']+'.');return Promise['reject'](_0x5d1d76);});}['abort'](){this['controller']['abort']();}}class o extends _0x72abbd{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x124449];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0xfb382){super(_0xfb382),this['ucContextId']=_0x3a5c2a();}['init'](){const _0x3b83dd=this['editor'];_0x3b83dd['commands']['add']('uploadcare',new w(_0x3b83dd));}['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 _0x1e563a=_0x480712['document']['querySelector']('input[uploadcare-file-input]');_0x1e563a&&_0x1e563a['remove']();}),async function(_0x4441f4){const _0x49fc1c=_0x3fb4af([0x6b,0x68,0x38,0x4d,0x41,0x79,0x49,0x71,0x46,0x36,0x6a,0x59,0x56,0x39,0x64,0x55,0x32,0x62,0x5a,0x45,0x63,0x31,0x73,0x66,0x6f,0x61,0x34,0x50,0x44,0x4e,0x42,0x33,0x78,0x58,0x72,0x4b,0x74,0x4a,0x76,0x77,0x37,0x4c,0x69,0x53,0x7a,0x70,0x6e,0x6d,0x51,0x4f,0x48,0x30,0x75,0x43,0x52,0x57,0x47,0x67,0x65,0x54,0x35,0x6c]),_0x1d1f3a=0x56308af4,_0x5a6806=0x5637e7e4^_0x1d1f3a,_0x125c0e=window[_0x3fb4af([0x44,0x61,0x74,0x65])][_0x3fb4af([0x6e,0x6f,0x77])](),_0x230948=_0x4441f4[_0x3fb4af([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49fd61=new window[(_0x3fb4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58360e=>{_0x230948[_0x3fb4af([0x6f,0x6e,0x63,0x65])](_0x3fb4af([0x72,0x65,0x61,0x64,0x79]),_0x58360e);}),_0x5e9e18={[_0x3fb4af([0x6b,0x74,0x79])]:_0x3fb4af([0x45,0x43]),[_0x3fb4af([0x75,0x73,0x65])]:_0x3fb4af([0x73,0x69,0x67]),[_0x3fb4af([0x63,0x72,0x76])]:_0x3fb4af([0x50,0x2d,0x32,0x35,0x36]),[_0x3fb4af([0x78])]:_0x3fb4af([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]),[_0x3fb4af([0x79])]:_0x3fb4af([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]),[_0x3fb4af([0x61,0x6c,0x67])]:_0x3fb4af([0x45,0x53,0x32,0x35,0x36])},_0x244eb5=_0x230948[_0x3fb4af([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fb4af([0x67,0x65,0x74])](_0x3fb4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1e4eb6(){let _0x4e53d2,_0x4f5551=null,_0x2d9dd6=null;try{if(_0x244eb5==_0x3fb4af([0x47,0x50,0x4c]))return _0x3fb4af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4e53d2=_0xd1c9f8(),!_0x4e53d2)return _0x3fb4af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4e53d2[_0x3fb4af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d9dd6=_0x146e75(_0x4e53d2[_0x3fb4af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4e53d2[_0x3fb4af([0x6a,0x74,0x69])])),await _0x412e16()?_0xa5fd80()?_0x329447()?_0x3fb4af([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c084c()?(_0x4e53d2[_0x3fb4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fb4af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f5551=_0x13820f(_0x3fb4af([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4e53d2[_0x3fb4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fb4af([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f5551=_0x13820f(_0x3fb4af([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3db262()):_0x3fb4af([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fb4af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fb4af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fb4af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x329447(){const _0x267a4d=[_0x3fb4af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fb4af([0x74,0x72,0x69,0x61,0x6c])][_0x3fb4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e53d2[_0x3fb4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x125c0e/0x3e8:0xe10*_0x5a6806;return _0x4e53d2[_0x3fb4af([0x65,0x78,0x70])]<_0x267a4d;}function _0xa5fd80(){const _0x21a5de=_0x4e53d2[_0x3fb4af([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21a5de&&(!!_0x21a5de[_0x3fb4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb4af([0x2a]))||!!_0x21a5de[_0x3fb4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb4af([0x55,0x50,0x4c,0x43])));}function _0x4c084c(){const _0x78fbc5=_0x4e53d2[_0x3fb4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x78fbc5||0x0==_0x78fbc5[_0x3fb4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x464f66}=new URL(window[_0x3fb4af([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x78fbc5[_0x3fb4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x464f66))return!0x0;const _0x1e8c37=_0x464f66[_0x3fb4af([0x73,0x70,0x6c,0x69,0x74])](_0x3fb4af([0x2e]));return _0x78fbc5[_0x3fb4af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29d102=>_0x29d102[_0x3fb4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb4af([0x2a])))[_0x3fb4af([0x6d,0x61,0x70])](_0x5c4fe7=>_0x5c4fe7[_0x3fb4af([0x73,0x70,0x6c,0x69,0x74])](_0x3fb4af([0x2e])))[_0x3fb4af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46926e=>_0x46926e[_0x3fb4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1e8c37[_0x3fb4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fb4af([0x6d,0x61,0x70])](_0x5d10c1=>Array(_0x1e8c37[_0x3fb4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d10c1[_0x3fb4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fb4af([0x66,0x69,0x6c,0x6c])](_0x5d10c1[0x0]===_0x3fb4af([0x2a])?_0x3fb4af([0x2a]):'')[_0x3fb4af([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d10c1))[_0x3fb4af([0x73,0x6f,0x6d,0x65])](_0x55ab5f=>_0x1e8c37[_0x3fb4af([0x65,0x76,0x65,0x72,0x79])]((_0x224f73,_0x2976bc)=>_0x55ab5f[_0x2976bc]===_0x224f73||_0x55ab5f[_0x2976bc]===_0x3fb4af([0x2a])));}function _0x3db262(){return _0x4f5551&&_0x2d9dd6?new window[(_0x3fb4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x336033,_0x19ffaf)=>{_0x4f5551[_0x3fb4af([0x74,0x68,0x65,0x6e])](_0x336033,_0x19ffaf),_0x2d9dd6[_0x3fb4af([0x74,0x68,0x65,0x6e])](_0x53fa3f=>{_0x53fa3f!=_0x3fb4af([0x56,0x61,0x6c,0x69,0x64])&&_0x336033(_0x53fa3f);},_0x19ffaf);}):_0x4f5551||_0x2d9dd6||_0x3fb4af([0x56,0x61,0x6c,0x69,0x64]);}}function _0x146e75(_0x5bb7cc,_0x300726){return new window[(_0x3fb4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40b12d=>{if(_0x44838a())return _0x40b12d(_0x3fb4af([0x56,0x61,0x6c,0x69,0x64]));_0x5d49a4(),_0x230948[_0x3fb4af([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fb4af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16fbd3=!0x1;const _0x21f1c2=_0x3a5c2a();function _0x3c9e88(_0x2b790a){return!!_0x2b790a&&(typeof _0x2b790a===_0x3fb4af([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b790a===_0x3fb4af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b790a[_0x3fb4af([0x74,0x68,0x65,0x6e])]===_0x3fb4af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b790a[_0x3fb4af([0x63,0x61,0x74,0x63,0x68])]===_0x3fb4af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4324a0(_0x185398){_0x42d614(_0x185398)[_0x3fb4af([0x74,0x68,0x65,0x6e])](_0x5e7496=>{if(!_0x5e7496||_0x5e7496[_0x3fb4af([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fb4af([0x6f,0x6b]))return _0x3fb4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b6c5d(_0x598a6d(_0x21f1c2+_0x300726))!=_0x5e7496[_0x3fb4af([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fb4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fb4af([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fb4af([0x74,0x68,0x65,0x6e])](_0x4d956e=>(_0x2b4fd5(),_0x4d956e),()=>{const _0x5d120b=_0x37f00a();return null==_0x5d120b?(_0x2b4fd5(),_0x3fb4af([0x56,0x61,0x6c,0x69,0x64])):_0x3fb4af(_0x125c0e-_0x5d120b>(0x723c0ef4^_0x1d1f3a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fb4af([0x74,0x68,0x65,0x6e])](_0x40b12d)[_0x3fb4af([0x63,0x61,0x74,0x63,0x68])](()=>{_0x40b12d(_0x3fb4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x8ac422=0x56066474^_0x1d1f3a;function _0x2b4fd5(){const _0x400c60=_0x3fb4af([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b6c5d(_0x598a6d(_0x5bb7cc)),_0x2b1f2c=_0x1cced7(_0x5b6c5d(window[_0x3fb4af([0x4d,0x61,0x74,0x68])][_0x3fb4af([0x63,0x65,0x69,0x6c])](_0x125c0e/_0x8ac422)));window[_0x3fb4af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fb4af([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x400c60,_0x2b1f2c);}function _0x37f00a(){const _0x3d9303=_0x3fb4af([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b6c5d(_0x598a6d(_0x5bb7cc)),_0x4e2ff8=window[_0x3fb4af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fb4af([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d9303);return _0x4e2ff8?window[_0x3fb4af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cced7(_0x4e2ff8),0x10)*_0x8ac422:null;}function _0x42d614(_0x5f59b9){return new window[(_0x3fb4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x412712,_0x45db1b)=>{_0x5f59b9[_0x3fb4af([0x74,0x68,0x65,0x6e])](_0x412712,_0x45db1b),window[_0x3fb4af([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x45db1b,0x56315e34^_0x1d1f3a);});}}_0x230948[_0x3fb4af([0x6f,0x6e])](_0x3fb4af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xbfa45e,_0x51192c)=>{if(_0x51192c[0x0]!=_0x5bb7cc)return _0x40b12d(_0x3fb4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x51192c[0x1]={..._0x51192c[0x1],[_0x3fb4af([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21f1c2};},{[_0x3fb4af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fb4af([0x68,0x69,0x67,0x68])}),_0x230948[_0x3fb4af([0x6f,0x6e])](_0x3fb4af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3b6627=>{_0x3c9e88(_0x3b6627[_0x3fb4af([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16fbd3=!0x0,_0x4324a0(_0x3b6627[_0x3fb4af([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fb4af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fb4af([0x6c,0x6f,0x77])}),_0x49fd61[_0x3fb4af([0x74,0x68,0x65,0x6e])](()=>{_0x16fbd3||_0x40b12d(_0x3fb4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x44838a(){return _0x230948[_0x3fb4af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fb4af([0x76,0x69,0x65,0x77])][_0x3fb4af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fb4af([0x61,0x75,0x74,0x6f]);}function _0x5d49a4(){_0x230948[_0x3fb4af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fb4af([0x76,0x69,0x65,0x77])][_0x3fb4af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fb4af([0x61,0x75,0x74,0x6f]);}}function _0x13820f(_0x4d2f54){const _0x8b40a7=[new window[(_0x3fb4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e43de=>setTimeout(_0x3e43de,0x5639b438^_0x1d1f3a)),_0x49fd61[_0x3fb4af([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fb4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1151bd=>{let _0x508048=0x0;_0x230948[_0x3fb4af([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fb4af([0x6f,0x6e])](_0x3fb4af([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x348d0f,_0x29f8d1)=>{_0x29f8d1[0x0][_0x3fb4af([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x508048++,_0x508048==(0x56308b0c^_0x1d1f3a)&&(_0x1151bd(),_0x348d0f[_0x3fb4af([0x6f,0x66,0x66])]());});}))];return window[_0x3fb4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fb4af([0x72,0x61,0x63,0x65])](_0x8b40a7)[_0x3fb4af([0x74,0x68,0x65,0x6e])](()=>_0x4d2f54);}async function _0x884588(){await _0x49fd61,_0x230948[_0x3fb4af([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fb4af([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x135778,_0x230948[_0x3fb4af([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fb4af([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x135778,_0x230948[_0x3fb4af([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fb4af([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35c43e(_0xc59af4){const _0x50da54=_0x49c80c();_0x230948[_0x50da54]=_0x3fb4af([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xc59af4,_0xc59af4!=_0x3fb4af([0x56,0x61,0x6c,0x69,0x64])&&_0x884588();}function _0x49c80c(){const _0x5ed2c6=window[_0x3fb4af([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fb4af([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fb4af([0x6e,0x6f,0x77])]())[_0x3fb4af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fb4af([0x2e]),'');let _0xd89815=_0x3fb4af([0x6b]);for(let _0x4c3ac7=0x0;_0x4c3ac7<_0x5ed2c6[_0x3fb4af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c3ac7+=0x2){let _0x1b2b22=window[_0x3fb4af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ed2c6[_0x3fb4af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c3ac7,_0x4c3ac7+0x2));_0x1b2b22>=_0x49fc1c[_0x3fb4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1b2b22-=_0x49fc1c[_0x3fb4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd89815+=_0x49fc1c[_0x1b2b22];}return _0xd89815;}function _0xd1c9f8(){const _0x53a7be=_0x244eb5[_0x3fb4af([0x73,0x70,0x6c,0x69,0x74])](_0x3fb4af([0x2e]));if(0x3!=_0x53a7be[_0x3fb4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x166141(_0x53a7be[0x1]);function _0x166141(_0x3f21c8){const _0x1fa464=_0x3d5e17(_0x3f21c8);return _0x1fa464&&_0x9ce94a()?_0x1fa464:null;function _0x9ce94a(){const _0x320990=_0x1fa464[_0x3fb4af([0x6a,0x74,0x69])],_0x19a043=window[_0x3fb4af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x320990[_0x3fb4af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x320990[_0x3fb4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3a30af={..._0x1fa464,[_0x3fb4af([0x6a,0x74,0x69])]:_0x320990[_0x3fb4af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x320990[_0x3fb4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3a30af[_0x3fb4af([0x76,0x63])],_0x598a6d(_0x3a30af)==_0x19a043;}}}async function _0x412e16(){let _0x1371ed=!0x0;try{const _0x3bbbaa=_0x244eb5[_0x3fb4af([0x73,0x70,0x6c,0x69,0x74])](_0x3fb4af([0x2e])),[_0x159b26,_0x18b88b,_0x44d88e]=_0x3bbbaa;return _0xa750fd(_0x159b26),await _0x4fead0(_0x159b26,_0x18b88b,_0x44d88e),_0x1371ed;}catch{return!0x1;}function _0xa750fd(_0x140edd){const _0x3274ed=_0x3d5e17(_0x140edd);_0x3274ed&&_0x3274ed[_0x3fb4af([0x61,0x6c,0x67])]==_0x3fb4af([0x45,0x53,0x32,0x35,0x36])||(_0x1371ed=!0x1);}async function _0x4fead0(_0x5d93f3,_0xe747de,_0x3f7162){const _0x1d48d3=window[_0x3fb4af([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fb4af([0x66,0x72,0x6f,0x6d])](_0x47b785(_0x3f7162),_0xcb3169=>_0xcb3169[_0x3fb4af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22ea56=new window[(_0x3fb4af([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fb4af([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d93f3+_0x3fb4af([0x2e])+_0xe747de),_0x539b6e=window[_0x3fb4af([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fb4af([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x539b6e)return;const _0x27a233=await _0x539b6e[_0x3fb4af([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fb4af([0x6a,0x77,0x6b]),_0x5e9e18,{[_0x3fb4af([0x6e,0x61,0x6d,0x65])]:_0x3fb4af([0x45,0x43,0x44,0x53,0x41]),[_0x3fb4af([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fb4af([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fb4af([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x539b6e[_0x3fb4af([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fb4af([0x6e,0x61,0x6d,0x65])]:_0x3fb4af([0x45,0x43,0x44,0x53,0x41]),[_0x3fb4af([0x68,0x61,0x73,0x68])]:{[_0x3fb4af([0x6e,0x61,0x6d,0x65])]:_0x3fb4af([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x27a233,_0x1d48d3,_0x22ea56)||(_0x1371ed=!0x1);}}function _0x3d5e17(_0x1972ef){return _0x1972ef[_0x3fb4af([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fb4af([0x65,0x79]))?JSON[_0x3fb4af([0x70,0x61,0x72,0x73,0x65])](_0x47b785(_0x1972ef)):null;}function _0x47b785(_0x5f5435){return window[_0x3fb4af([0x61,0x74,0x6f,0x62])](_0x5f5435[_0x3fb4af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fb4af([0x2b]))[_0x3fb4af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fb4af([0x2f])));}function _0x598a6d(_0x3cad4f){let _0x53cf00=0x1505;function _0x3a5e25(_0x4f200a){for(let _0x24319f=0x0;_0x24319f<_0x4f200a[_0x3fb4af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24319f++){const _0x506889=_0x4f200a[_0x3fb4af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24319f);_0x53cf00=(_0x53cf00<<0x5)+_0x53cf00+_0x506889,_0x53cf00&=_0x53cf00;}}function _0x219242(_0x5b2604){Array[_0x3fb4af([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b2604)?_0x5b2604[_0x3fb4af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x219242):_0x5b2604&&typeof _0x5b2604==_0x3fb4af([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fb4af([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b2604)[_0x3fb4af([0x73,0x6f,0x72,0x74])]()[_0x3fb4af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b4b66,_0x31e7fc])=>{_0x3a5e25(_0x5b4b66),_0x219242(_0x31e7fc);}):_0x3a5e25(window[_0x3fb4af([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b2604));}return _0x219242(_0x3cad4f),_0x53cf00>>>0x0;}function _0x5b6c5d(_0x205f9d){return _0x205f9d[_0x3fb4af([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fb4af([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fb4af([0x30]));}function _0x1cced7(_0x3a8f32){return _0x3a8f32[_0x3fb4af([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fb4af([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fb4af([0x6a,0x6f,0x69,0x6e])]('');}function _0x135778(){}function _0x3fb4af(_0x669709){return _0x669709['map'](_0x3d4502=>String['fromCharCode'](_0x3d4502))['join']('');}_0x35c43e(await _0x1e4eb6());}(this);}['_initSchema'](){const _0x2a60ba=this['editor']['model']['schema'];_0x2a60ba['isRegistered']('imageBlock')&&_0x2a60ba['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2a60ba['isRegistered']('imageInline')&&_0x2a60ba['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x18896d=this['editor'];_0x18896d['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x18896d['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xa39683=>_0xa39683['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1dece1=_0x18896d['commands']['get']('replaceImageSource');_0x1dece1&&this['listenTo'](_0x1dece1,'cleanupImage',(_0x1e8fa2,[_0x55d926,_0x3f3874])=>{_0x55d926['removeAttribute']('uploadcareImageId',_0x3f3874);});}['_initConfig'](){const _0x2c0dc4=this['editor']['config']['get']('uploadcare.uploader')||{},_0x213c82=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x141cd4(_0x480712['document'],'uc-config',{..._0x2c0dc4,'pubkey':_0x213c82,'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']=_0x43dfd9=>{if('closeMax'==_0x43dfd9)return'#uc-icon-arrow-down';},_0x480712['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x141cd4(_0x480712['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x480712['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x52e37a=this['editor']['commands']['get']('insertImage');_0x52e37a&&this['listenTo'](_0x52e37a,'execute',()=>{const _0x3d794b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3d794b&&_0x3d794b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3d794b);});});const _0x525ea2=this['editor']['commands']['get']('uploadcareImageReplace');_0x525ea2&&this['listenTo'](_0x525ea2,'execute',()=>{const _0x545c50=this['editor']['model']['document']['selection']['getSelectedElement']();_0x545c50&&_0x545c50['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x545c50);});});}}class tt extends _0x72abbd{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x57b642){super(_0x57b642),_0x57b642['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x334e31['defineComponents'](_0x334e31);}}class ii extends _0x52c383{constructor(_0x53ed4e){super(_0x53ed4e);const t=_0x53ed4e['t'],_0x5c9d96=this['bindTemplate'],_0x1454a9=new _0x90359e();_0x1454a9['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':[_0x1454a9,{'text':_0x5c9d96['to']('imageUploadProgress',_0x2fc197=>t('Loading\x20image...')+'\x20('+(_0x2fc197||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 _0x52c383{constructor(_0x5e1f9f){super(_0x5e1f9f);const t=_0x5e1f9f['t'];this['set']('errorType',null);const _0xca6ff9=new _0xb75ef0(_0x5e1f9f);_0xca6ff9['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xca6ff9['withText']=!0x0,_0xca6ff9['class']='ck-button-action',_0xca6ff9['on']('execute',()=>{this['fire']('retry');}),_0xca6ff9['bind']('isVisible')['to'](this,'errorType',_0x2e667f=>'NotFound'!==_0x2e667f);const _0x338a13=new _0x3a1398();_0x338a13['content']=_0xb44d0d,_0x338a13['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x15e675=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':[_0x338a13,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x15e675['to']('errorType',_0x3a6bb0=>t('NotFound'!==_0x3a6bb0?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xca6ff9]},{'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 _0x52c383{constructor(_0x533507,_0x4e92b8){super(_0x533507);const _0x54eb40=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4e92b8,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x54eb40['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5cd6f4,_0x53c67d,_0x1a3596){super(_0x5cd6f4),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5cd6f4),this['_errorView']=new ti(_0x5cd6f4),this['_editingView']=new ei(_0x5cd6f4,_0x1a3596),this['_focusableView']=new _0x52c383(_0x5cd6f4),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x53c67d),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'],_0x5c1c58=>{this['_addUploadcareImageEditorListeners'](_0x5c1c58);});}),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'](_0x255eeb,_0x460771){const _0x2ca688='uc-cloud-image-editor',_0x228738=_0x255eeb['querySelector'](_0x2ca688);if(_0x228738)return _0x460771(_0x228738);const _0x299d87=new MutationObserver(_0x12fb20=>{const _0x2517ae=_0x12fb20['filter'](_0x9d05aa=>_0x9d05aa['target']===_0x255eeb&&_0x9d05aa['addedNodes']['length']>0x0&&_0x9d05aa['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2ca688);_0x2517ae['length']&&(_0x299d87['disconnect'](),_0x460771(_0x2517ae[0x0]['addedNodes'][0x0]));});_0x299d87['observe'](_0x255eeb,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3074fc){_0x3074fc['addEventListener']('apply',_0x3052ac=>{this['fire']('apply',{'imageSrc':_0x3052ac['detail']['cdnUrl']});}),_0x3074fc['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x4deaf7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3c28d3,_0x28204f,_0x83999c){super(),this['_editor']=_0x3c28d3,this['_dialog']=_0x28204f,this['_imageElement']=_0x83999c,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 _0xeb56c8=this['_imageElement'],_0x2fca38=_0xeb56c8['getAttribute']('uploadcareImageId'),_0x27dfb2=_0xeb56c8['getAttribute']('src');if(_0x2fca38)await this['_loadImageInfo'](_0x2fca38,_0x27dfb2);else{if(this['_imageCache']['has'](_0x27dfb2)){const _0x39ec42=this['_imageCache']['get'](_0x27dfb2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x39ec42['url'],this['imageDimension']=_0x39ec42['dimension'],this['imageId']=_0x39ec42['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x29973f}=this['_editor'],t=_0x29973f['t'],_0x43aa11=new X(_0x29973f,this['imageStatus'],this['_attributes']);_0x43aa11['bind']('status')['to'](this,'imageStatus'),_0x43aa11['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x43aa11['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x43aa11['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x43aa11,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1f0837,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x43aa11,'position':_0xb9d9d6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x43aa11['focus']();},'onHide':()=>{_0x43aa11['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x49fdca=>!M(_0x49fdca,_0x43aa11['element'])}});}['_loadImageInfo'](_0x319455,_0x1bc90b){return j['getInfo'](_0x319455,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1a233c=>{const {width:_0x562be7,height:_0x15bdb2}=_0x1a233c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1bc90b,this['imageDimension']={'width':_0x562be7,'height':_0x15bdb2},this['imageId']=_0x319455;})['catch'](_0x55f503=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x55f503['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2af3bc,_0x130dad){return this['_getImageAsFile'](_0x2af3bc)['then'](_0x33b97e=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x130dad['signal'],'file':_0x33b97e,'onProgress':_0x45f38e=>{_0x45f38e&&_0x45f38e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x45f38e['value']));}}))['then'](_0x985a26=>{const {width:_0x4a86e7,height:_0x1d9e87}=_0x985a26['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x985a26['cdnUrl'],this['imageDimension']={'width':_0x4a86e7,'height':_0x1d9e87},this['imageId']=_0x985a26['uuid'],this['imageUploadProgress']=null;const _0x546385=_0x2af3bc['getAttribute']('src');this['_imageCache']['set'](_0x546385,{'id':_0x985a26['uuid'],'url':_0x985a26['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x13c82f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x13c82f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x18dc26,_0x192b21){_0x18dc26['on']('apply',(_0x214d04,_0x12c633)=>{this['_replaceImage'](_0x192b21,_0x12c633['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x18dc26['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x18dc26['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x58267d,_0x21cb68,_0x12c9ae){const _0x3bf894=this['_editor'],{width:_0x335a1b,height:_0xcbfd1c}=F(_0x21cb68,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2481cc,imageSources:_0x565a77}=k(_0x21cb68,_0x335a1b);_0x3bf894['model']['change'](_0x404384=>{if('$graveyard'===_0x58267d['root']['rootName']){_0x3bf894['execute']('insertImage',{'imageType':_0x58267d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x58267d['getAttributes']()),'uploadcareImageId':_0x12c9ae,'src':_0x2481cc,'sources':_0x565a77,'width':_0x335a1b,'height':_0xcbfd1c}});const _0x29d26c=_0x58267d['getChildren']();_0x58267d=_0x3bf894['model']['document']['selection']['getSelectedElement']();for(const _0x296e82 of _0x29d26c)_0x404384['append'](_0x404384['cloneElement'](_0x296e82),_0x58267d);}else _0x404384['setSelection'](_0x58267d,'on'),_0x3bf894['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x58267d['getAttributes']()),'uploadcareImageId':_0x12c9ae,'src':_0x2481cc,'sources':_0x565a77,'width':_0x335a1b,'height':_0xcbfd1c},_0x58267d);_0x404384['setSelection'](_0x58267d,'on');});}async['_getImageAsFile'](_0x130a2e){const _0x23d65d=_0x480712['window'],_0x9b7593=_0x480712['document']['location']['href'],_0xacfc1d=new _0x23d65d['URL'](_0x130a2e['getAttribute']('src'),_0x9b7593);if('data:'===_0xacfc1d['protocol']){const _0x1fb45c=_0xacfc1d['href']['split'](','),_0x2a7cce=_0x1fb45c[0x0]['match'](/:(.*?);/)[0x1],_0x433e46=_0x2a7cce['split']('/')[0x1],_0x15839c=_0x23d65d['atob'](_0x1fb45c[_0x1fb45c['length']-0x1]);let _0x5a402a=_0x15839c['length'];const _0x391862=new _0x23d65d['Uint8Array'](_0x5a402a);for(;_0x5a402a--;)_0x391862[_0x5a402a]=_0x15839c['charCodeAt'](_0x5a402a);return new _0x23d65d['File']([_0x391862],'image.'+_0x433e46,{'type':_0x2a7cce});}const _0x50f3ea=_0xacfc1d['href']['split']('/'),_0x48c96d=_0x50f3ea[_0x50f3ea['length']-0x1],_0x29e2da=_0x48c96d['split']('.')[0x1];return _0x23d65d['fetch'](_0xacfc1d['href'])['then'](_0x1bf809=>_0x1bf809['clone']()['blob']())['then'](_0x443a55=>new _0x23d65d['File']([_0x443a55],_0x48c96d,{'type':'image/'+_0x29e2da}));}}class N extends _0x471491{['imageEditController'];static get['requires'](){return[_0x124449];}['_isEditable'];constructor(_0x60aff9){super(_0x60aff9),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5ef79b){const _0x9bb8b8=R(_0x5ef79b);return _0x2278f0=>!(!_0x2278f0||!_0x2278f0['is']('element','imageBlock')&&!_0x2278f0['is']('element','imageInline'))&&(!!_0x2278f0['hasAttribute']('uploadcareImageId')||!!_0x2278f0['hasAttribute']('src')&&_0x9bb8b8(_0x2278f0['getAttribute']('src')));}(_0x60aff9['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3a3dd6=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3a3dd6);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x40c74a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x40c74a&&(_0x40c74a['is']('element','imageBlock')||_0x40c74a['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x124449),_0x40c74a),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x471491{['refresh'](){const _0x25f409=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x25f409&&(_0x25f409['is']('element','imageBlock')||_0x25f409['is']('element','imageInline')));}['execute'](_0x56e27d){const _0x41d6e9=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3b5d0f=>{_0x3b5d0f['setAttributes'](_0x56e27d,_0x41d6e9),_0x3b5d0f['removeAttribute']('srcset',_0x41d6e9),_0x3b5d0f['removeAttribute']('sizes',_0x41d6e9);});}}class m extends _0x72abbd{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x171add,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xe44830}=this;_0xe44830['commands']['add']('uploadcareImageEdit',new N(_0xe44830)),_0xe44830['commands']['add']('uploadcareImageReplace',new O(_0xe44830));}}class g extends _0x72abbd{['_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 _0x25f521=this['editor'];_0x25f521['ui']['componentFactory']['add']('uploadcareImageEdit',_0x18247f=>{const _0x3d7098=_0x25f521['commands']['get']('uploadcareImageEdit'),_0x410668=new _0xb75ef0(_0x18247f),t=_0x18247f['t'];return _0x410668['set']({'icon':_0x1f0837,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x410668['bind']('isEnabled')['to'](_0x3d7098),_0x410668['bind']('isOn')['to'](_0x3d7098,'isActive'),this['listenTo'](_0x410668,'execute',()=>{_0x25f521['execute']('uploadcareImageEdit'),_0x25f521['editing']['view']['focus']();}),_0x410668;}),this['_initConfig']();}['_initConfig'](){const _0x5e792b=_0x141cd4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5e792b),this['listenTo'](this['editor'],'destroy',()=>{_0x5e792b['remove']();});}}class et extends _0x72abbd{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,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x54e9e2,Command as _0x109621}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x53e5b1,IconGooglePhotos as _0x36d1c2,IconGoogleDrive as _0x3a89e5,IconFacebook as _0x3f24f1,IconDropbox as _0x35d5a3,IconUploadcareLink as _0x25da78,IconUploadcareImageUpload as _0x4625e4,IconError as _0x441fa4,IconUploadcareImageEdit as _0x2e0f2d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1188e9,MenuBarMenuListItemButtonView as _0xa9f411,View as _0x431bc7,FocusCycler as _0x2e881b,Dialog as _0x5d957e,DialogViewPosition as _0x594e76,SpinnerView as _0x1c5988,IconView as _0x4539fc,Notification as _0x3f3a18}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x32bf2b,DomEmitterMixin as _0x2a56d9,global as _0x528061,getAncestors as _0x29cf45,ObservableMixin as _0x5438c0,uid as _0x4464f1,createElement as _0x4ddcb4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xe44dc6}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x225002,info as _0x16fe1c}from'@uploadcare/upload-client';import*as _0xb4b1d6 from'@uploadcare/file-uploader';var i=function(_0x2a4db6){return _0x2a4db6['Local']='local',_0x2a4db6['URL']='url',_0x2a4db6['Dropbox']='dropbox',_0x2a4db6['GDrive']='gdrive',_0x2a4db6['Facebook']='facebook',_0x2a4db6['GPhotos']='gphotos',_0x2a4db6['OneDrive']='onedrive',_0x2a4db6;}({});function _(_0x542a07,_0x3a4e60,_0x18d5b5){const t=_0x542a07['t'],_0x5542fa=_0x542a07['t'];switch(_0x3a4e60){case i['Local']:return{'text':_0x5542fa('Insert'===_0x18d5b5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5542fa('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x18d5b5?_0x5542fa('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5542fa('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x18d5b5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x18d5b5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x18d5b5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x18d5b5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x18d5b5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3a4e60;}}class e extends _0x54e9e2{['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 _0x31aaa4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x22d4c6;for(const _0x34ec32 in _0x31aaa4){const _0x48717b=_0x34ec32,_0xd6ea1=_0x31aaa4[_0x48717b];if('uploadcareLicenseKeyValid'==_0xd6ea1||'uploadcareLicenseKeyInvalid'==_0xd6ea1||'uploadcareLicenseKeyExpired'==_0xd6ea1||'uploadcareLicenseKeyDomainLimit'==_0xd6ea1||'uploadcareLicenseKeyNotAllowed'==_0xd6ea1||'uploadcareLicenseKeyEvaluationLimit'==_0xd6ea1||'uploadcareLicenseKeyTrialLimit'==_0xd6ea1||'uploadcareLicenseKeyUsageLimit'==_0xd6ea1){delete _0x31aaa4[_0x48717b],_0x22d4c6=_0xd6ea1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x22d4c6&&_0x31aaa4['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x22d4c6&&_0x31aaa4['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x22d4c6&&_0x31aaa4['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x22d4c6&&_0x31aaa4['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x22d4c6&&_0x31aaa4['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x22d4c6&&_0x31aaa4['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x22d4c6&&_0x31aaa4['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x509aa6}=this,_0x4618c0=_0x509aa6['commands']['get']('uploadcare');if(!_0x4618c0)return;const _0x49af2a=this['_normalizeConfigSourceList'](_0x509aa6['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5d5622,_0x4d88d6)=>{const _0x50ee23=this['_getIntegrationKey'](_0x4d88d6['type']);return _0x5d5622[_0x50ee23]||(_0x5d5622[_0x50ee23]=[]),_0x5d5622[_0x50ee23]['push'](_0x4d88d6),_0x5d5622;},{});_0x509aa6['plugins']['has']('ImageInsertUI')&&_0x509aa6['commands']['get']('uploadcare')&&Object['entries'](_0x49af2a)['forEach'](([_0x243949,_0xf46261])=>{_0x509aa6['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x243949,'observable':()=>_0x4618c0,'buttonViewCreator':()=>this['_createToolbarButton'](_0xf46261),'formViewCreator':()=>this['_createDropdownButtons'](_0xf46261),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xf46261),'override':'assetManager'!==_0x243949});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2a7ae3){const {locale:_0x3e57b7}=this['editor'];return _0x2a7ae3['map'](_0x541dd7=>{const _0x5eb660=_(_0x3e57b7,_0x541dd7,'Insert');switch(_0x541dd7){case i['Local']:return{'icon':_0x4625e4,'type':i['Local'],..._0x5eb660};case i['URL']:return{'icon':_0x25da78,'type':i['URL'],..._0x5eb660};case i['Dropbox']:return{'icon':_0x35d5a3,'type':i['Dropbox'],..._0x5eb660};case i['Facebook']:return{'icon':_0x3f24f1,'type':i['Facebook'],..._0x5eb660};case i['GDrive']:return{'icon':_0x3a89e5,'type':i['GDrive'],..._0x5eb660};case i['GPhotos']:return{'icon':_0x36d1c2,'type':i['GPhotos'],..._0x5eb660};case i['OneDrive']:return{'icon':_0x53e5b1,'type':i['OneDrive'],..._0x5eb660};}});}['_getIntegrationKey'](_0x5e49e7){switch(_0x5e49e7){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1fcb67,_0x50b077){const _0x56196c=this['editor'],_0xf7fd77=new _0x1fcb67(_0x56196c['locale']),_0x414ca3=_0x56196c['commands']['get']('uploadcare');return _0xf7fd77['bind']('isEnabled')['to'](_0x414ca3),_0xf7fd77['on']('execute',()=>{_0x414ca3['execute'](_0x50b077);}),_0xf7fd77;}['_createToolbarButton'](_0x3639ad){const {locale:_0x3cb95e}=this['editor'],_0x2c7991=this['editor']['plugins']['get']('ImageInsertUI'),_0xbc437b=_0x3639ad[0x0],_0x925f30=this['_createButton'](_0x1188e9,_0xbc437b['type']);return _0x925f30['icon']=_0xbc437b['icon'],_0x925f30['bind']('label')['to'](_0x2c7991,'isImageSelected',_0x340f4a=>_(_0x3cb95e,_0xbc437b['type'],_0x340f4a?'Replace':'Insert')['text']),_0x925f30['tooltip']=!0x0,_0x925f30;}['_createDropdownButtons'](_0x18a4af){const {locale:_0x2a18d2}=this['editor'],_0x1f4e92=this['editor']['plugins']['get']('ImageInsertUI');return _0x18a4af['map'](_0x5cecda=>{const _0x569bbc=this['_createButton'](_0x1188e9,_0x5cecda['type']);return _0x569bbc['withText']=!0x0,_0x569bbc['icon']=_0x5cecda['icon'],_0x569bbc['bind']('label')['to'](_0x1f4e92,'isImageSelected',_0x558b24=>_(_0x2a18d2,_0x5cecda['type'],_0x558b24?'Replace':'Insert')['text']),_0x569bbc;});}['_createMenuBarButtons'](_0x2ad620){return _0x2ad620['map'](_0x3a95fa=>{const _0x49c71b=this['_createButton'](_0xa9f411,_0x3a95fa['type']);return _0x49c71b['icon']=_0x3a95fa['icon'],_0x49c71b['label']=_0x3a95fa['shortText'],_0x49c71b;});}}class F extends _0x431bc7{['focusTracker'];['focusCycler'];constructor(_0x4a45ea){super(_0x4a45ea),this['focusTracker']=new _0x32bf2b(),this['focusCycler']=new _0x2e881b({'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(_0x2864a3,_0x5be788){super(_0x2864a3),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-'+_0x5be788}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x369003,_0x45419f){const _0x1aae60=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xbfd4de=>_0xbfd4de<=_0x45419f)['map'](_0x453dbb=>_0x369003['replace'](/\/$/,'')+'/-/resize/'+_0x453dbb+'x/\x20'+_0x453dbb+'w');return{'imageFallbackUrl':_0x369003,'imageSources':[{'srcset':_0x1aae60['join'](',\x20'),'sizes':'(max-width:\x20'+_0x45419f+'px)\x20100vw,\x20'+_0x45419f+'px','type':'image/webp'}]};}function C(_0x503aa9,_0x23cc10,_0x55e4f4){const _0x4b1c92=_0x503aa9['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4b1c92?parseInt(_0x4b1c92[0x1],0xa):_0x23cc10,'height':_0x4b1c92?parseInt(_0x4b1c92[0x2],0xa):_0x55e4f4};}function p(_0x5d71e3,_0xc4773d){const _0xf7ff9f=new(_0x2a56d9())(),_0x443597=_0x5d71e3['plugins']['get']('ImageUtils'),_0xeba917=_0x5d71e3['editing']['mapper']['toViewElement'](_0xc4773d),_0xc7214d=_0x443597['findViewImgElement'](_0xeba917),_0x444ebf=_0x5d71e3['editing']['view']['domConverter']['viewToDom'](_0xc7214d),_0xbbc136=_0xc4773d['getAttribute']('width'),_0x405534=_0xc4773d['getAttribute']('height'),_0x41398a='image-processing';_0x5d71e3['editing']['view']['change'](_0x5c23ee=>{_0x5c23ee['addClass'](_0x41398a,_0xeba917),_0x5c23ee['setStyle']('aspect-ratio',_0xbbc136+'/'+_0x405534,_0xc7214d);}),_0xf7ff9f['listenTo'](_0x444ebf,'load',()=>{_0xf7ff9f['stopListening'](_0x444ebf,'load'),_0x5d71e3['editing']['view']['change'](_0x23172e=>{_0x23172e['removeClass'](_0x41398a,_0xeba917),_0x23172e['removeStyle']('aspect-ratio',_0xc7214d);});});}function G(_0x44cc5a){if(Array['isArray'](_0x44cc5a)){const _0x30fb26=_0x44cc5a['map'](G);return _0x3bbf6f=>_0x30fb26['some'](_0x1256f4=>_0x1256f4(_0x3bbf6f));}if('origin'==_0x44cc5a){const _0x48dc3c=_0x528061['window']['location']['origin'];return _0x3a80e5=>new URL(_0x3a80e5,_0x528061['document']['baseURI'])['origin']==_0x48dc3c;}return'function'==typeof _0x44cc5a?_0x44cc5a:_0x44cc5a instanceof RegExp?_0x1af502=>!(!_0x1af502['match'](_0x44cc5a)&&!_0x1af502['replace'](/^https?:\/\//,'')['match'](_0x44cc5a)):()=>!0x1;}function S(_0x4ec406,_0x5949be){return _0x29cf45(_0x4ec406['target'])['includes'](_0x5949be);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x5438c0(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x193595,_0x42b493,_0x1dfe18){super(),this['_editor']=_0x193595,this['_editing']=_0x42b493,this['_dialog']=_0x193595['plugins']['get'](_0x5d957e),this['_api']=_0x42b493['ctxElement']['getAPI'](),this['_type']=_0x1dfe18,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:_0x1e2080,model:_0x52cc56}=this['_editor'],_0x5bc101=_0x52cc56['document']['selection']['getSelectedElement'](),_0x327c85=_0x5bc101&&(_0x5bc101['is']('element','imageBlock')||_0x5bc101['is']('element','imageInline'));this['_formView']=new x(_0x1e2080,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4625e4,'title':_(_0x1e2080,this['_type'],_0x327c85?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x594e76['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x183f87=>!S(_0x183f87,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xf68d62}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x47f45c=>{const _0x38bb76=_0xf68d62['length'];for(const _0x1f85cb of _0xf68d62){const _0x3a28ce=_0x1f85cb===_0xf68d62[_0x38bb76-0x1],{cdnUrl:_0x95bfe0,fileInfo:_0x42fb24}=_0x1f85cb;if(!_0x95bfe0||!_0x42fb24)continue;const {width:_0x1e3acf,height:_0x59ddd8}=_0x42fb24['imageInfo'],_0x1d287e=C(_0x95bfe0,_0x1e3acf,_0x59ddd8),_0x3a07e8=k(_0x95bfe0,_0x1d287e['width']),_0x550602={'id':_0x42fb24['uuid'],'type':'image','attributes':{'imageDimension':_0x1d287e,..._0x3a07e8}};this['_insertAsset'](_0x550602,_0x3a28ce,_0x47f45c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x4b82fd=>{'idle'===_0x4b82fd['detail']['status']&&!_0x4b82fd['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xfc014a,_0x206d87,_0x14dac3){const _0x1e3658=this['_editor']['model']['document']['selection'],_0x506805=_0x1e3658['getSelectedElement'](),_0x47cb9d=!(!_0x506805||!_0x506805['is']('element','imageInline'));_0x14dac3['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xfc014a,_0x47cb9d),_0x206d87||_0x14dac3['setSelection'](_0x1e3658['getLastPosition']());}['_insertImage'](_0x27bbe7,_0x333a8e){const _0x768d55=this['_editor'],{imageDimension:_0xad9ecc,imageFallbackUrl:_0x6de96d,imageSources:_0x11f8c2}=_0x27bbe7['attributes'];_0x768d55['execute']('insertImage',{'imageType':_0x333a8e?'imageInline':null,'source':{'uploadcareImageId':_0x27bbe7['id'],'src':_0x6de96d,'sources':_0x11f8c2,..._0xad9ecc}});}}class w extends _0x109621{['_editing'];['_controller']=null;static get['requires'](){return[_0x5d957e,o];}constructor(_0x568420){super(_0x568420),this['_editing']=_0x568420['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x44b5de){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x44b5de);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x254734,publicKey:_0x53514b,signal:_0x2c68db,onProgress:_0x3cfc33}){return _0x225002(_0x254734,{'publicKey':_0x53514b,'store':'auto','signal':_0x2c68db,'onProgress':_0x3cfc33});}static['getInfo'](_0x5f0aba,_0x3dcc9e){return _0x16fe1c(_0x5f0aba,_0x3dcc9e);}}class f extends _0x54e9e2{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xe44dc6,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x139313=this['editor'];if(!!!_0x139313['config']['get']('uploadcare'))return;_0x139313['plugins']['get'](_0xe44dc6)['createUploadAdapter']=_0x3c18dc=>new A(_0x3c18dc,_0x139313),_0x139313['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1fdb97,{imageElement:_0x3e67d3,data:_0x43023f})=>{_0x139313['model']['change'](_0x2db88c=>{_0x2db88c['setAttribute']('uploadcareImageId',_0x43023f['uploadcareImageId'],_0x3e67d3);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x5c86eb,_0x36932a){this['loader']=_0x5c86eb,this['editor']=_0x36932a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5e8209=this['editor']['config']['get']('uploadcare.pubkey'),_0x220586=await this['loader']['file'];return j['upload']({'file':_0x220586,'publicKey':_0x5e8209,'signal':this['controller']['signal'],'onProgress':_0x35a22f=>{_0x35a22f&&_0x35a22f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x35a22f['value']);}})['then'](async _0x3596ba=>{const {imageFallbackUrl:_0x4e74c0,imageSources:_0x26a4d6}=k(_0x3596ba['cdnUrl'],_0x3596ba['imageInfo']['width']);return{'uploadcareImageId':_0x3596ba['uuid'],'default':_0x4e74c0,'sources':_0x26a4d6};})['catch'](()=>{const _0x129c36=t('Cannot\x20upload\x20file:')+('\x20'+_0x220586['name']+'.');return Promise['reject'](_0x129c36);});}['abort'](){this['controller']['abort']();}}class o extends _0x54e9e2{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x5d957e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x9d4d21){super(_0x9d4d21),this['ucContextId']=_0x4464f1();}['init'](){const _0x4f0824=this['editor'];_0x4f0824['commands']['add']('uploadcare',new w(_0x4f0824));}['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 _0x58aaa9=_0x528061['document']['querySelector']('input[uploadcare-file-input]');_0x58aaa9&&_0x58aaa9['remove']();}),async function(_0x43bce6){const _0xe0b57a=_0x29ee20([0x37,0x36,0x53,0x6f,0x73,0x50,0x43,0x4f,0x65,0x41,0x59,0x39,0x61,0x6b,0x31,0x49,0x51,0x56,0x6e,0x6a,0x32,0x34,0x5a,0x63,0x4b,0x66,0x6c,0x62,0x38,0x72,0x64,0x42,0x44,0x33,0x70,0x48,0x4e,0x75,0x67,0x52,0x4c,0x6d,0x4d,0x35,0x71,0x55,0x68,0x74,0x4a,0x69,0x47,0x78,0x54,0x57,0x76,0x46,0x45,0x7a,0x30,0x79,0x58,0x77]),_0x13c900=0x65711734,_0x2cdd60=0x65767a24^_0x13c900,_0x12452b=window[_0x29ee20([0x44,0x61,0x74,0x65])][_0x29ee20([0x6e,0x6f,0x77])](),_0x193184=_0x43bce6[_0x29ee20([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xf8dbe3=new window[(_0x29ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd0fce5=>{_0x193184[_0x29ee20([0x6f,0x6e,0x63,0x65])](_0x29ee20([0x72,0x65,0x61,0x64,0x79]),_0xd0fce5);}),_0x497620={[_0x29ee20([0x6b,0x74,0x79])]:_0x29ee20([0x45,0x43]),[_0x29ee20([0x75,0x73,0x65])]:_0x29ee20([0x73,0x69,0x67]),[_0x29ee20([0x63,0x72,0x76])]:_0x29ee20([0x50,0x2d,0x32,0x35,0x36]),[_0x29ee20([0x78])]:_0x29ee20([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]),[_0x29ee20([0x79])]:_0x29ee20([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]),[_0x29ee20([0x61,0x6c,0x67])]:_0x29ee20([0x45,0x53,0x32,0x35,0x36])},_0x3e28d1=_0x193184[_0x29ee20([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29ee20([0x67,0x65,0x74])](_0x29ee20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x251f68(){let _0x41755d,_0x29e464=null,_0x34f9af=null;try{if(_0x3e28d1==_0x29ee20([0x47,0x50,0x4c]))return _0x29ee20([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x41755d=_0x1ee523(),!_0x41755d)return _0x29ee20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x41755d[_0x29ee20([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x34f9af=_0x16b5c4(_0x41755d[_0x29ee20([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x41755d[_0x29ee20([0x6a,0x74,0x69])])),await _0x57cc37()?_0x5a6096()?_0x449390()?_0x29ee20([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f8bb7()?(_0x41755d[_0x29ee20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29ee20([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29e464=_0x4f11ab(_0x29ee20([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x41755d[_0x29ee20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29ee20([0x74,0x72,0x69,0x61,0x6c])&&(_0x29e464=_0x4f11ab(_0x29ee20([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x55d4f9()):_0x29ee20([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29ee20([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29ee20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29ee20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x449390(){const _0x19b974=[_0x29ee20([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29ee20([0x74,0x72,0x69,0x61,0x6c])][_0x29ee20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41755d[_0x29ee20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12452b/0x3e8:0xe10*_0x2cdd60;return _0x41755d[_0x29ee20([0x65,0x78,0x70])]<_0x19b974;}function _0x5a6096(){const _0x3a30c2=_0x41755d[_0x29ee20([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a30c2&&(!!_0x3a30c2[_0x29ee20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29ee20([0x2a]))||!!_0x3a30c2[_0x29ee20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29ee20([0x55,0x50,0x4c,0x43])));}function _0x1f8bb7(){const _0x4bcb39=_0x41755d[_0x29ee20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bcb39||0x0==_0x4bcb39[_0x29ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x69b4b0}=new URL(window[_0x29ee20([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4bcb39[_0x29ee20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x69b4b0))return!0x0;const _0x2176de=_0x69b4b0[_0x29ee20([0x73,0x70,0x6c,0x69,0x74])](_0x29ee20([0x2e]));return _0x4bcb39[_0x29ee20([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3084d3=>_0x3084d3[_0x29ee20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29ee20([0x2a])))[_0x29ee20([0x6d,0x61,0x70])](_0x2fa640=>_0x2fa640[_0x29ee20([0x73,0x70,0x6c,0x69,0x74])](_0x29ee20([0x2e])))[_0x29ee20([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f0d50=>_0x1f0d50[_0x29ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2176de[_0x29ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29ee20([0x6d,0x61,0x70])](_0xdfdabc=>Array(_0x2176de[_0x29ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xdfdabc[_0x29ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29ee20([0x66,0x69,0x6c,0x6c])](_0xdfdabc[0x0]===_0x29ee20([0x2a])?_0x29ee20([0x2a]):'')[_0x29ee20([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xdfdabc))[_0x29ee20([0x73,0x6f,0x6d,0x65])](_0xa4a200=>_0x2176de[_0x29ee20([0x65,0x76,0x65,0x72,0x79])]((_0x253924,_0x15f8ab)=>_0xa4a200[_0x15f8ab]===_0x253924||_0xa4a200[_0x15f8ab]===_0x29ee20([0x2a])));}function _0x55d4f9(){return _0x29e464&&_0x34f9af?new window[(_0x29ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x238d8e,_0x22cdd6)=>{_0x29e464[_0x29ee20([0x74,0x68,0x65,0x6e])](_0x238d8e,_0x22cdd6),_0x34f9af[_0x29ee20([0x74,0x68,0x65,0x6e])](_0x53c994=>{_0x53c994!=_0x29ee20([0x56,0x61,0x6c,0x69,0x64])&&_0x238d8e(_0x53c994);},_0x22cdd6);}):_0x29e464||_0x34f9af||_0x29ee20([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16b5c4(_0x2a42a0,_0x3a3f2c){return new window[(_0x29ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51afae=>{if(_0x5cc47d())return _0x51afae(_0x29ee20([0x56,0x61,0x6c,0x69,0x64]));_0x26f129(),_0x193184[_0x29ee20([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29ee20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5eee57=!0x1;const _0x55d23d=_0x4464f1();function _0x45a264(_0x2f94cc){return!!_0x2f94cc&&(typeof _0x2f94cc===_0x29ee20([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2f94cc===_0x29ee20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2f94cc[_0x29ee20([0x74,0x68,0x65,0x6e])]===_0x29ee20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2f94cc[_0x29ee20([0x63,0x61,0x74,0x63,0x68])]===_0x29ee20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc9a2db(_0x258596){_0x4a0278(_0x258596)[_0x29ee20([0x74,0x68,0x65,0x6e])](_0xc47c4c=>{if(!_0xc47c4c||_0xc47c4c[_0x29ee20([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29ee20([0x6f,0x6b]))return _0x29ee20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e3559(_0x559fe2(_0x55d23d+_0x3a3f2c))!=_0xc47c4c[_0x29ee20([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29ee20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29ee20([0x56,0x61,0x6c,0x69,0x64]);})[_0x29ee20([0x74,0x68,0x65,0x6e])](_0x3c03db=>(_0x11fa21(),_0x3c03db),()=>{const _0x1b3159=_0x416c0b();return null==_0x1b3159?(_0x11fa21(),_0x29ee20([0x56,0x61,0x6c,0x69,0x64])):_0x29ee20(_0x12452b-_0x1b3159>(0x417d9334^_0x13c900)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29ee20([0x74,0x68,0x65,0x6e])](_0x51afae)[_0x29ee20([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51afae(_0x29ee20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb348f0=0x6547f9b4^_0x13c900;function _0x11fa21(){const _0x5534ef=_0x29ee20([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e3559(_0x559fe2(_0x2a42a0)),_0x3f3280=_0x1f3959(_0x4e3559(window[_0x29ee20([0x4d,0x61,0x74,0x68])][_0x29ee20([0x63,0x65,0x69,0x6c])](_0x12452b/_0xb348f0)));window[_0x29ee20([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29ee20([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5534ef,_0x3f3280);}function _0x416c0b(){const _0x45638e=_0x29ee20([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e3559(_0x559fe2(_0x2a42a0)),_0x67ab22=window[_0x29ee20([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29ee20([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45638e);return _0x67ab22?window[_0x29ee20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f3959(_0x67ab22),0x10)*_0xb348f0:null;}function _0x4a0278(_0x53a85c){return new window[(_0x29ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d2731,_0x5aa9b2)=>{_0x53a85c[_0x29ee20([0x74,0x68,0x65,0x6e])](_0x2d2731,_0x5aa9b2),window[_0x29ee20([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5aa9b2,0x6570c3f4^_0x13c900);});}}_0x193184[_0x29ee20([0x6f,0x6e])](_0x29ee20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c8572,_0xe5f2fc)=>{if(_0xe5f2fc[0x0]!=_0x2a42a0)return _0x51afae(_0x29ee20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe5f2fc[0x1]={..._0xe5f2fc[0x1],[_0x29ee20([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x55d23d};},{[_0x29ee20([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29ee20([0x68,0x69,0x67,0x68])}),_0x193184[_0x29ee20([0x6f,0x6e])](_0x29ee20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x208695=>{_0x45a264(_0x208695[_0x29ee20([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5eee57=!0x0,_0xc9a2db(_0x208695[_0x29ee20([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29ee20([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29ee20([0x6c,0x6f,0x77])}),_0xf8dbe3[_0x29ee20([0x74,0x68,0x65,0x6e])](()=>{_0x5eee57||_0x51afae(_0x29ee20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5cc47d(){return _0x193184[_0x29ee20([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29ee20([0x76,0x69,0x65,0x77])][_0x29ee20([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29ee20([0x61,0x75,0x74,0x6f]);}function _0x26f129(){_0x193184[_0x29ee20([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29ee20([0x76,0x69,0x65,0x77])][_0x29ee20([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29ee20([0x61,0x75,0x74,0x6f]);}}function _0x4f11ab(_0x57b64f){const _0x10ab4b=[new window[(_0x29ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x429d4a=>setTimeout(_0x429d4a,0x657829f8^_0x13c900)),_0xf8dbe3[_0x29ee20([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58e7e0=>{let _0x2b2cb3=0x0;_0x193184[_0x29ee20([0x6d,0x6f,0x64,0x65,0x6c])][_0x29ee20([0x6f,0x6e])](_0x29ee20([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x34d054,_0x27962b)=>{_0x27962b[0x0][_0x29ee20([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b2cb3++,_0x2b2cb3==(0x657116cc^_0x13c900)&&(_0x58e7e0(),_0x34d054[_0x29ee20([0x6f,0x66,0x66])]());});}))];return window[_0x29ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29ee20([0x72,0x61,0x63,0x65])](_0x10ab4b)[_0x29ee20([0x74,0x68,0x65,0x6e])](()=>_0x57b64f);}async function _0x4e0248(){await _0xf8dbe3,_0x193184[_0x29ee20([0x6d,0x6f,0x64,0x65,0x6c])][_0x29ee20([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x15cb18,_0x193184[_0x29ee20([0x6d,0x6f,0x64,0x65,0x6c])][_0x29ee20([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x15cb18,_0x193184[_0x29ee20([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29ee20([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x315a91(_0x4b728d){const _0x4da520=_0x3409e7();_0x193184[_0x4da520]=_0x29ee20([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4b728d,_0x4b728d!=_0x29ee20([0x56,0x61,0x6c,0x69,0x64])&&_0x4e0248();}function _0x3409e7(){const _0x71193f=window[_0x29ee20([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29ee20([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29ee20([0x6e,0x6f,0x77])]())[_0x29ee20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29ee20([0x2e]),'');let _0x159a02=_0x29ee20([0x53]);for(let _0xe08f49=0x0;_0xe08f49<_0x71193f[_0x29ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe08f49+=0x2){let _0x289c66=window[_0x29ee20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x71193f[_0x29ee20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe08f49,_0xe08f49+0x2));_0x289c66>=_0xe0b57a[_0x29ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x289c66-=_0xe0b57a[_0x29ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x159a02+=_0xe0b57a[_0x289c66];}return _0x159a02;}function _0x1ee523(){const _0x5ae5f6=_0x3e28d1[_0x29ee20([0x73,0x70,0x6c,0x69,0x74])](_0x29ee20([0x2e]));if(0x3!=_0x5ae5f6[_0x29ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29271a(_0x5ae5f6[0x1]);function _0x29271a(_0x42c828){const _0x32d120=_0x4e1da8(_0x42c828);return _0x32d120&&_0xd9def1()?_0x32d120:null;function _0xd9def1(){const _0x307b07=_0x32d120[_0x29ee20([0x6a,0x74,0x69])],_0x13de70=window[_0x29ee20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x307b07[_0x29ee20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x307b07[_0x29ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3fab66={..._0x32d120,[_0x29ee20([0x6a,0x74,0x69])]:_0x307b07[_0x29ee20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x307b07[_0x29ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3fab66[_0x29ee20([0x76,0x63])],_0x559fe2(_0x3fab66)==_0x13de70;}}}async function _0x57cc37(){let _0x34eba1=!0x0;try{const _0x408d45=_0x3e28d1[_0x29ee20([0x73,0x70,0x6c,0x69,0x74])](_0x29ee20([0x2e])),[_0x5e0f19,_0x3b6de9,_0x49daef]=_0x408d45;return _0x4c1e33(_0x5e0f19),await _0x101e44(_0x5e0f19,_0x3b6de9,_0x49daef),_0x34eba1;}catch{return!0x1;}function _0x4c1e33(_0x5b7e34){const _0x24b082=_0x4e1da8(_0x5b7e34);_0x24b082&&_0x24b082[_0x29ee20([0x61,0x6c,0x67])]==_0x29ee20([0x45,0x53,0x32,0x35,0x36])||(_0x34eba1=!0x1);}async function _0x101e44(_0x5dd7ba,_0x4309c8,_0x503763){const _0xebacf=window[_0x29ee20([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29ee20([0x66,0x72,0x6f,0x6d])](_0x465a79(_0x503763),_0x4a8ce6=>_0x4a8ce6[_0x29ee20([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5ad3dc=new window[(_0x29ee20([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29ee20([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5dd7ba+_0x29ee20([0x2e])+_0x4309c8),_0x2794b3=window[_0x29ee20([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29ee20([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2794b3)return;const _0xa3e9eb=await _0x2794b3[_0x29ee20([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29ee20([0x6a,0x77,0x6b]),_0x497620,{[_0x29ee20([0x6e,0x61,0x6d,0x65])]:_0x29ee20([0x45,0x43,0x44,0x53,0x41]),[_0x29ee20([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29ee20([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29ee20([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2794b3[_0x29ee20([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29ee20([0x6e,0x61,0x6d,0x65])]:_0x29ee20([0x45,0x43,0x44,0x53,0x41]),[_0x29ee20([0x68,0x61,0x73,0x68])]:{[_0x29ee20([0x6e,0x61,0x6d,0x65])]:_0x29ee20([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa3e9eb,_0xebacf,_0x5ad3dc)||(_0x34eba1=!0x1);}}function _0x4e1da8(_0x330351){return _0x330351[_0x29ee20([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29ee20([0x65,0x79]))?JSON[_0x29ee20([0x70,0x61,0x72,0x73,0x65])](_0x465a79(_0x330351)):null;}function _0x465a79(_0x3dae77){return window[_0x29ee20([0x61,0x74,0x6f,0x62])](_0x3dae77[_0x29ee20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29ee20([0x2b]))[_0x29ee20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29ee20([0x2f])));}function _0x559fe2(_0x37dbcc){let _0x515db7=0x1505;function _0x261e85(_0x100e37){for(let _0x319efa=0x0;_0x319efa<_0x100e37[_0x29ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x319efa++){const _0x37fa4c=_0x100e37[_0x29ee20([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x319efa);_0x515db7=(_0x515db7<<0x5)+_0x515db7+_0x37fa4c,_0x515db7&=_0x515db7;}}function _0x3b6596(_0x138ae7){Array[_0x29ee20([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x138ae7)?_0x138ae7[_0x29ee20([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b6596):_0x138ae7&&typeof _0x138ae7==_0x29ee20([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29ee20([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x138ae7)[_0x29ee20([0x73,0x6f,0x72,0x74])]()[_0x29ee20([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28c5d0,_0x15103c])=>{_0x261e85(_0x28c5d0),_0x3b6596(_0x15103c);}):_0x261e85(window[_0x29ee20([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x138ae7));}return _0x3b6596(_0x37dbcc),_0x515db7>>>0x0;}function _0x4e3559(_0x58a8d1){return _0x58a8d1[_0x29ee20([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29ee20([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29ee20([0x30]));}function _0x1f3959(_0x2f3944){return _0x2f3944[_0x29ee20([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29ee20([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29ee20([0x6a,0x6f,0x69,0x6e])]('');}function _0x15cb18(){}function _0x29ee20(_0x5a3021){return _0x5a3021['map'](_0x103bab=>String['fromCharCode'](_0x103bab))['join']('');}_0x315a91(await _0x251f68());}(this);}['_initSchema'](){const _0x1e9589=this['editor']['model']['schema'];_0x1e9589['isRegistered']('imageBlock')&&_0x1e9589['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1e9589['isRegistered']('imageInline')&&_0x1e9589['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4de52b=this['editor'];_0x4de52b['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4de52b['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2a38ab=>_0x2a38ab['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4c8359=_0x4de52b['commands']['get']('replaceImageSource');_0x4c8359&&this['listenTo'](_0x4c8359,'cleanupImage',(_0x3973de,[_0x57d48c,_0x273ae2])=>{_0x57d48c['removeAttribute']('uploadcareImageId',_0x273ae2);});}['_initConfig'](){const _0x571e19=this['editor']['config']['get']('uploadcare.uploader')||{},_0x39c95c=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4ddcb4(_0x528061['document'],'uc-config',{..._0x571e19,'pubkey':_0x39c95c,'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']=_0x589e88=>{if('closeMax'==_0x589e88)return'#uc-icon-arrow-down';},_0x528061['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4ddcb4(_0x528061['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x528061['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1bcb71=this['editor']['commands']['get']('insertImage');_0x1bcb71&&this['listenTo'](_0x1bcb71,'execute',()=>{const _0x275106=this['editor']['model']['document']['selection']['getSelectedElement']();_0x275106&&_0x275106['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x275106);});});const _0x35fe1d=this['editor']['commands']['get']('uploadcareImageReplace');_0x35fe1d&&this['listenTo'](_0x35fe1d,'execute',()=>{const _0x41f0e3=this['editor']['model']['document']['selection']['getSelectedElement']();_0x41f0e3&&_0x41f0e3['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x41f0e3);});});}}class tt extends _0x54e9e2{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x382813){super(_0x382813),_0x382813['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0xb4b1d6['defineComponents'](_0xb4b1d6);}}class ii extends _0x431bc7{constructor(_0x12ef60){super(_0x12ef60);const t=_0x12ef60['t'],_0x2e4324=this['bindTemplate'],_0x390136=new _0x1c5988();_0x390136['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':[_0x390136,{'text':_0x2e4324['to']('imageUploadProgress',_0x18f6d1=>t('Loading\x20image...')+'\x20('+(_0x18f6d1||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 _0x431bc7{constructor(_0x1fb29d){super(_0x1fb29d);const t=_0x1fb29d['t'];this['set']('errorType',null);const _0x3eded4=new _0x1188e9(_0x1fb29d);_0x3eded4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3eded4['withText']=!0x0,_0x3eded4['class']='ck-button-action',_0x3eded4['on']('execute',()=>{this['fire']('retry');}),_0x3eded4['bind']('isVisible')['to'](this,'errorType',_0x113ff7=>'NotFound'!==_0x113ff7);const _0x49d219=new _0x4539fc();_0x49d219['content']=_0x441fa4,_0x49d219['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x36c25e=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':[_0x49d219,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x36c25e['to']('errorType',_0x54860f=>t('NotFound'!==_0x54860f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3eded4]},{'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 _0x431bc7{constructor(_0xb52af6,_0x5bada8){super(_0xb52af6);const _0x25d41a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5bada8,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x25d41a['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x518c20,_0x211634,_0x3ff45b){super(_0x518c20),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x518c20),this['_errorView']=new ti(_0x518c20),this['_editingView']=new ei(_0x518c20,_0x3ff45b),this['_focusableView']=new _0x431bc7(_0x518c20),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x211634),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'],_0xe6401=>{this['_addUploadcareImageEditorListeners'](_0xe6401);});}),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'](_0x413789,_0x55574f){const _0x12cc91='uc-cloud-image-editor',_0x13be85=_0x413789['querySelector'](_0x12cc91);if(_0x13be85)return _0x55574f(_0x13be85);const _0x1b450c=new MutationObserver(_0x2343c5=>{const _0x288877=_0x2343c5['filter'](_0x15e23d=>_0x15e23d['target']===_0x413789&&_0x15e23d['addedNodes']['length']>0x0&&_0x15e23d['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x12cc91);_0x288877['length']&&(_0x1b450c['disconnect'](),_0x55574f(_0x288877[0x0]['addedNodes'][0x0]));});_0x1b450c['observe'](_0x413789,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x57d642){_0x57d642['addEventListener']('apply',_0x3bbd7f=>{this['fire']('apply',{'imageSrc':_0x3bbd7f['detail']['cdnUrl']});}),_0x57d642['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x5438c0(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x169b97,_0x5a2b26,_0xe89dc5){super(),this['_editor']=_0x169b97,this['_dialog']=_0x5a2b26,this['_imageElement']=_0xe89dc5,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 _0x1a5f23=this['_imageElement'],_0x33d5c6=_0x1a5f23['getAttribute']('uploadcareImageId'),_0x11cd37=_0x1a5f23['getAttribute']('src');if(_0x33d5c6)await this['_loadImageInfo'](_0x33d5c6,_0x11cd37);else{if(this['_imageCache']['has'](_0x11cd37)){const _0x4f039e=this['_imageCache']['get'](_0x11cd37);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4f039e['url'],this['imageDimension']=_0x4f039e['dimension'],this['imageId']=_0x4f039e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2a6dcb}=this['_editor'],t=_0x2a6dcb['t'],_0x3fd3f9=new X(_0x2a6dcb,this['imageStatus'],this['_attributes']);_0x3fd3f9['bind']('status')['to'](this,'imageStatus'),_0x3fd3f9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3fd3f9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3fd3f9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3fd3f9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2e0f2d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3fd3f9,'position':_0x594e76['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3fd3f9['focus']();},'onHide':()=>{_0x3fd3f9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x197827=>!S(_0x197827,_0x3fd3f9['element'])}});}['_loadImageInfo'](_0x39840c,_0x49d674){return j['getInfo'](_0x39840c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3a2fb6=>{const {width:_0x51cb04,height:_0x575c23}=_0x3a2fb6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x49d674,this['imageDimension']={'width':_0x51cb04,'height':_0x575c23},this['imageId']=_0x39840c;})['catch'](_0x1990b8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1990b8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x434b94,_0xecaa9f){return this['_getImageAsFile'](_0x434b94)['then'](_0x4c01aa=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xecaa9f['signal'],'file':_0x4c01aa,'onProgress':_0x1fd11b=>{_0x1fd11b&&_0x1fd11b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1fd11b['value']));}}))['then'](_0x2def39=>{const {width:_0x6c4e3,height:_0x986fbc}=_0x2def39['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2def39['cdnUrl'],this['imageDimension']={'width':_0x6c4e3,'height':_0x986fbc},this['imageId']=_0x2def39['uuid'],this['imageUploadProgress']=null;const _0x20c537=_0x434b94['getAttribute']('src');this['_imageCache']['set'](_0x20c537,{'id':_0x2def39['uuid'],'url':_0x2def39['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x113f5b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x113f5b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2e0f4d,_0x3a890b){_0x2e0f4d['on']('apply',(_0x3d7733,_0xdebf63)=>{this['_replaceImage'](_0x3a890b,_0xdebf63['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2e0f4d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2e0f4d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3a8708,_0x3f7e59,_0x2fbfe7){const _0x57867b=this['_editor'],{width:_0x2bb1e3,height:_0x550678}=C(_0x3f7e59,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5e70f1,imageSources:_0x5b88fb}=k(_0x3f7e59,_0x2bb1e3);_0x57867b['model']['change'](_0x537fc2=>{if('$graveyard'===_0x3a8708['root']['rootName']){_0x57867b['execute']('insertImage',{'imageType':_0x3a8708['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3a8708['getAttributes']()),'uploadcareImageId':_0x2fbfe7,'src':_0x5e70f1,'sources':_0x5b88fb,'width':_0x2bb1e3,'height':_0x550678}});const _0x512594=_0x3a8708['getChildren']();_0x3a8708=_0x57867b['model']['document']['selection']['getSelectedElement']();for(const _0x33862a of _0x512594)_0x537fc2['append'](_0x537fc2['cloneElement'](_0x33862a),_0x3a8708);}else _0x537fc2['setSelection'](_0x3a8708,'on'),_0x57867b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3a8708['getAttributes']()),'uploadcareImageId':_0x2fbfe7,'src':_0x5e70f1,'sources':_0x5b88fb,'width':_0x2bb1e3,'height':_0x550678},_0x3a8708);_0x537fc2['setSelection'](_0x3a8708,'on');});}async['_getImageAsFile'](_0x3bbd60){const _0x3a4e1b=_0x528061['window'],_0x551da1=_0x528061['document']['location']['href'],_0x4687ed=new _0x3a4e1b['URL'](_0x3bbd60['getAttribute']('src'),_0x551da1);if('data:'===_0x4687ed['protocol']){const _0x375e40=_0x4687ed['href']['split'](','),_0x5aaaa7=_0x375e40[0x0]['match'](/:(.*?);/)[0x1],_0x3e8884=_0x5aaaa7['split']('/')[0x1],_0x20bff2=_0x3a4e1b['atob'](_0x375e40[_0x375e40['length']-0x1]);let _0x36dbd5=_0x20bff2['length'];const _0x2ad395=new _0x3a4e1b['Uint8Array'](_0x36dbd5);for(;_0x36dbd5--;)_0x2ad395[_0x36dbd5]=_0x20bff2['charCodeAt'](_0x36dbd5);return new _0x3a4e1b['File']([_0x2ad395],'image.'+_0x3e8884,{'type':_0x5aaaa7});}const _0x4f2052=_0x4687ed['href']['split']('/'),_0x538da5=_0x4f2052[_0x4f2052['length']-0x1],_0x55f0df=_0x538da5['split']('.')[0x1];return _0x3a4e1b['fetch'](_0x4687ed['href'])['then'](_0x535d5f=>_0x535d5f['clone']()['blob']())['then'](_0x464924=>new _0x3a4e1b['File']([_0x464924],_0x538da5,{'type':'image/'+_0x55f0df}));}}class O extends _0x109621{['imageEditController'];static get['requires'](){return[_0x5d957e];}['_isEditable'];constructor(_0x523f99){super(_0x523f99),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xcdceb9){const _0x423e1b=G(_0xcdceb9);return _0x200f0c=>!(!_0x200f0c||!_0x200f0c['is']('element','imageBlock')&&!_0x200f0c['is']('element','imageInline'))&&(!!_0x200f0c['hasAttribute']('uploadcareImageId')||!!_0x200f0c['hasAttribute']('src')&&_0x423e1b(_0x200f0c['getAttribute']('src')));}(_0x523f99['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x51623d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x51623d);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xe8d80f=this['editor']['model']['document']['selection']['getSelectedElement']();_0xe8d80f&&(_0xe8d80f['is']('element','imageBlock')||_0xe8d80f['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x5d957e),_0xe8d80f),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x109621{['refresh'](){const _0x577d2a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x577d2a&&(_0x577d2a['is']('element','imageBlock')||_0x577d2a['is']('element','imageInline')));}['execute'](_0x41ebec){const _0x3f5cdc=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4500e3=>{_0x4500e3['setAttributes'](_0x41ebec,_0x3f5cdc),_0x4500e3['removeAttribute']('srcset',_0x3f5cdc),_0x4500e3['removeAttribute']('sizes',_0x3f5cdc);});}}class m extends _0x54e9e2{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3f3a18,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x53469c}=this;_0x53469c['commands']['add']('uploadcareImageEdit',new O(_0x53469c)),_0x53469c['commands']['add']('uploadcareImageReplace',new R(_0x53469c));}}class g extends _0x54e9e2{['_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 _0x212831=this['editor'];_0x212831['ui']['componentFactory']['add']('uploadcareImageEdit',_0x89f4a0=>{const _0x3aff2b=_0x212831['commands']['get']('uploadcareImageEdit'),_0x3c66f9=new _0x1188e9(_0x89f4a0),t=_0x89f4a0['t'];return _0x3c66f9['set']({'icon':_0x2e0f2d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3c66f9['bind']('isEnabled')['to'](_0x3aff2b),_0x3c66f9['bind']('isOn')['to'](_0x3aff2b,'isActive'),this['listenTo'](_0x3c66f9,'execute',()=>{_0x212831['execute']('uploadcareImageEdit'),_0x212831['editing']['view']['focus']();}),_0x3c66f9;}),this['_initConfig']();}['_initConfig'](){const _0x965e1d=_0x4ddcb4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x965e1d),this['listenTo'](this['editor'],'destroy',()=>{_0x965e1d['remove']();});}}class et extends _0x54e9e2{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':_0x27e925=>0x1!=_0x27e925}};
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':_0x260d48=>0x1!=_0x260d48}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5c4719=>{const {af:{dictionary:_0x53a355,getPluralForm:_0x570f4b}}={'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':_0x12c719=>0x1!=_0x12c719}};_0x5c4719['af']||={'dictionary':{},'getPluralForm':null},_0x5c4719['af']['dictionary']=Object['assign'](_0x5c4719['af']['dictionary'],_0x53a355),_0x5c4719['af']['getPluralForm']=_0x570f4b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3ab9c7=>{const {af:{dictionary:_0x5de0d1,getPluralForm:_0x5cd14a}}={'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':_0x5662fd=>0x1!=_0x5662fd}};_0x3ab9c7['af']||={'dictionary':{},'getPluralForm':null},_0x3ab9c7['af']['dictionary']=Object['assign'](_0x3ab9c7['af']['dictionary'],_0x5de0d1),_0x3ab9c7['af']['getPluralForm']=_0x5cd14a;})(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':_0x1a6bf6=>0x0==_0x1a6bf6?0x0:0x1==_0x1a6bf6?0x1:0x2==_0x1a6bf6?0x2:_0x1a6bf6%0x64>=0x3&&_0x1a6bf6%0x64<=0xa?0x3:_0x1a6bf6%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':_0x51869f=>0x0==_0x51869f?0x0:0x1==_0x51869f?0x1:0x2==_0x51869f?0x2:_0x51869f%0x64>=0x3&&_0x51869f%0x64<=0xa?0x3:_0x51869f%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x739f52=>{const {ar:{dictionary:_0x1790fb,getPluralForm:_0x1684c5}}={'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':_0xe71258=>0x0==_0xe71258?0x0:0x1==_0xe71258?0x1:0x2==_0xe71258?0x2:_0xe71258%0x64>=0x3&&_0xe71258%0x64<=0xa?0x3:_0xe71258%0x64>=0xb?0x4:0x5}};_0x739f52['ar']||={'dictionary':{},'getPluralForm':null},_0x739f52['ar']['dictionary']=Object['assign'](_0x739f52['ar']['dictionary'],_0x1790fb),_0x739f52['ar']['getPluralForm']=_0x1684c5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1af46e=>{const {ar:{dictionary:_0xdbf33c,getPluralForm:_0x373bee}}={'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':_0x417daa=>0x0==_0x417daa?0x0:0x1==_0x417daa?0x1:0x2==_0x417daa?0x2:_0x417daa%0x64>=0x3&&_0x417daa%0x64<=0xa?0x3:_0x417daa%0x64>=0xb?0x4:0x5}};_0x1af46e['ar']||={'dictionary':{},'getPluralForm':null},_0x1af46e['ar']['dictionary']=Object['assign'](_0x1af46e['ar']['dictionary'],_0xdbf33c),_0x1af46e['ar']['getPluralForm']=_0x373bee;})(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':_0x44e65d=>0x1!=_0x44e65d}};
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':_0x252d8e=>0x1!=_0x252d8e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x38a12f=>{const {ast:{dictionary:_0x3d6cc2,getPluralForm:_0x5763e7}}={'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':_0xb9bf56=>0x1!=_0xb9bf56}};_0x38a12f['ast']||={'dictionary':{},'getPluralForm':null},_0x38a12f['ast']['dictionary']=Object['assign'](_0x38a12f['ast']['dictionary'],_0x3d6cc2),_0x38a12f['ast']['getPluralForm']=_0x5763e7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x208a9e=>{const {ast:{dictionary:_0x6ba66b,getPluralForm:_0x3c5737}}={'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':_0x32255b=>0x1!=_0x32255b}};_0x208a9e['ast']||={'dictionary':{},'getPluralForm':null},_0x208a9e['ast']['dictionary']=Object['assign'](_0x208a9e['ast']['dictionary'],_0x6ba66b),_0x208a9e['ast']['getPluralForm']=_0x3c5737;})(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':_0x4d2a3c=>0x1!=_0x4d2a3c}};
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':_0x5a900a=>0x1!=_0x5a900a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x41ae4d=>{const {az:{dictionary:_0x3ba7b9,getPluralForm:_0x3edc67}}={'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':_0x3480f9=>0x1!=_0x3480f9}};_0x41ae4d['az']||={'dictionary':{},'getPluralForm':null},_0x41ae4d['az']['dictionary']=Object['assign'](_0x41ae4d['az']['dictionary'],_0x3ba7b9),_0x41ae4d['az']['getPluralForm']=_0x3edc67;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x38244b=>{const {az:{dictionary:_0x338ba5,getPluralForm:_0x44dfcd}}={'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':_0x4851d7=>0x1!=_0x4851d7}};_0x38244b['az']||={'dictionary':{},'getPluralForm':null},_0x38244b['az']['dictionary']=Object['assign'](_0x38244b['az']['dictionary'],_0x338ba5),_0x38244b['az']['getPluralForm']=_0x44dfcd;})(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':_0x22d921=>_0x22d921%0xa==0x1&&_0x22d921%0x64!=0xb?0x0:_0x22d921%0xa>=0x2&&_0x22d921%0xa<=0x4&&(_0x22d921%0x64<0xa||_0x22d921%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':_0x22dd62=>_0x22dd62%0xa==0x1&&_0x22dd62%0x64!=0xb?0x0:_0x22dd62%0xa>=0x2&&_0x22dd62%0xa<=0x4&&(_0x22dd62%0x64<0xa||_0x22dd62%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xb3b87e=>{const {be:{dictionary:_0x22817d,getPluralForm:_0x3cc084}}={'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':_0x2793a2=>_0x2793a2%0xa==0x1&&_0x2793a2%0x64!=0xb?0x0:_0x2793a2%0xa>=0x2&&_0x2793a2%0xa<=0x4&&(_0x2793a2%0x64<0xa||_0x2793a2%0x64>=0x14)?0x1:0x2}};_0xb3b87e['be']||={'dictionary':{},'getPluralForm':null},_0xb3b87e['be']['dictionary']=Object['assign'](_0xb3b87e['be']['dictionary'],_0x22817d),_0xb3b87e['be']['getPluralForm']=_0x3cc084;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x54db75=>{const {be:{dictionary:_0x48ab2a,getPluralForm:_0x455863}}={'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':_0x3c3271=>_0x3c3271%0xa==0x1&&_0x3c3271%0x64!=0xb?0x0:_0x3c3271%0xa>=0x2&&_0x3c3271%0xa<=0x4&&(_0x3c3271%0x64<0xa||_0x3c3271%0x64>=0x14)?0x1:0x2}};_0x54db75['be']||={'dictionary':{},'getPluralForm':null},_0x54db75['be']['dictionary']=Object['assign'](_0x54db75['be']['dictionary'],_0x48ab2a),_0x54db75['be']['getPluralForm']=_0x455863;})(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':_0x3ef079=>0x1!=_0x3ef079}};
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':_0xc01aa2=>0x1!=_0xc01aa2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3bef98=>{const {bg:{dictionary:_0x1e1117,getPluralForm:_0x3a800}}={'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':_0x3301b0=>0x1!=_0x3301b0}};_0x3bef98['bg']||={'dictionary':{},'getPluralForm':null},_0x3bef98['bg']['dictionary']=Object['assign'](_0x3bef98['bg']['dictionary'],_0x1e1117),_0x3bef98['bg']['getPluralForm']=_0x3a800;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5f4591=>{const {bg:{dictionary:_0x380081,getPluralForm:_0x24759e}}={'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':_0x154de0=>0x1!=_0x154de0}};_0x5f4591['bg']||={'dictionary':{},'getPluralForm':null},_0x5f4591['bg']['dictionary']=Object['assign'](_0x5f4591['bg']['dictionary'],_0x380081),_0x5f4591['bg']['getPluralForm']=_0x24759e;})(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':_0x30ef72=>0x1!=_0x30ef72}};
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':_0x58a085=>0x1!=_0x58a085}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1b6313=>{const {bn:{dictionary:_0x152759,getPluralForm:_0x322581}}={'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':_0x42babd=>0x1!=_0x42babd}};_0x1b6313['bn']||={'dictionary':{},'getPluralForm':null},_0x1b6313['bn']['dictionary']=Object['assign'](_0x1b6313['bn']['dictionary'],_0x152759),_0x1b6313['bn']['getPluralForm']=_0x322581;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1cd7a7=>{const {bn:{dictionary:_0x2dbf11,getPluralForm:_0xd66a89}}={'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':_0x5ae965=>0x1!=_0x5ae965}};_0x1cd7a7['bn']||={'dictionary':{},'getPluralForm':null},_0x1cd7a7['bn']['dictionary']=Object['assign'](_0x1cd7a7['bn']['dictionary'],_0x2dbf11),_0x1cd7a7['bn']['getPluralForm']=_0xd66a89;})(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':_0x4cb7a9=>_0x4cb7a9%0xa==0x1&&_0x4cb7a9%0x64!=0xb?0x0:_0x4cb7a9%0xa>=0x2&&_0x4cb7a9%0xa<=0x4&&(_0x4cb7a9%0x64<0xa||_0x4cb7a9%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':_0xee89d3=>_0xee89d3%0xa==0x1&&_0xee89d3%0x64!=0xb?0x0:_0xee89d3%0xa>=0x2&&_0xee89d3%0xa<=0x4&&(_0xee89d3%0x64<0xa||_0xee89d3%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x537efc=>{const {bs:{dictionary:_0x23913a,getPluralForm:_0x3c5a7e}}={'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':_0xff0430=>_0xff0430%0xa==0x1&&_0xff0430%0x64!=0xb?0x0:_0xff0430%0xa>=0x2&&_0xff0430%0xa<=0x4&&(_0xff0430%0x64<0xa||_0xff0430%0x64>=0x14)?0x1:0x2}};_0x537efc['bs']||={'dictionary':{},'getPluralForm':null},_0x537efc['bs']['dictionary']=Object['assign'](_0x537efc['bs']['dictionary'],_0x23913a),_0x537efc['bs']['getPluralForm']=_0x3c5a7e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3b4b66=>{const {bs:{dictionary:_0x2110b5,getPluralForm:_0x574183}}={'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':_0x6b4bf3=>_0x6b4bf3%0xa==0x1&&_0x6b4bf3%0x64!=0xb?0x0:_0x6b4bf3%0xa>=0x2&&_0x6b4bf3%0xa<=0x4&&(_0x6b4bf3%0x64<0xa||_0x6b4bf3%0x64>=0x14)?0x1:0x2}};_0x3b4b66['bs']||={'dictionary':{},'getPluralForm':null},_0x3b4b66['bs']['dictionary']=Object['assign'](_0x3b4b66['bs']['dictionary'],_0x2110b5),_0x3b4b66['bs']['getPluralForm']=_0x574183;})(window['CKEDITOR_TRANSLATIONS']||={});