@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250623.0 → 0.0.0-nightly-20250625.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 _0x51aeb2,Command as _0x171c79}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0xa9b378,IconGooglePhotos as _0x4d691c,IconGoogleDrive as _0x9d70fc,IconFacebook as _0x5a173c,IconDropbox as _0x4a4219,IconUploadcareLink as _0x31a991,IconUploadcareImageUpload as _0x6322f7,IconError as _0x189bf2,IconUploadcareImageEdit as _0x2b2768}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x301bef,MenuBarMenuListItemButtonView as _0x59d353,View as _0x1617d6,FocusCycler as _0x23abb0,Dialog as _0x4c838d,DialogViewPosition as _0x4cabd7,SpinnerView as _0x336f73,IconView as _0x45880a,Notification as _0x3307fe}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x226558,DomEmitterMixin as _0x4944c3,global as _0x1db3bc,getAncestors as _0x17e112,ObservableMixin as _0x12e2cc,uid as _0x3a6e6f,createElement as _0x546f48}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3b719b}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2e9aa1,info as _0x272a89}from'@uploadcare/upload-client';import*as _0x4f7afa from'@uploadcare/file-uploader';var i=function(_0xcbde49){return _0xcbde49['Local']='local',_0xcbde49['URL']='url',_0xcbde49['Dropbox']='dropbox',_0xcbde49['GDrive']='gdrive',_0xcbde49['Facebook']='facebook',_0xcbde49['GPhotos']='gphotos',_0xcbde49['OneDrive']='onedrive',_0xcbde49;}({});function _(_0x178d24,_0x21fe9c,_0x233391){const t=_0x178d24['t'],_0x4d765b=_0x178d24['t'];switch(_0x21fe9c){case i['Local']:return{'text':_0x4d765b('Insert'===_0x233391?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4d765b('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x233391?_0x4d765b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4d765b('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x233391?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x233391?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x233391?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x233391?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x233391?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x21fe9c;}}class e extends _0x51aeb2{['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 _0x3dbed5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x30af3a;for(const _0x1732b3 in _0x3dbed5){const _0x105a78=_0x1732b3,_0x50576a=_0x3dbed5[_0x105a78];if('uploadcareLicenseKeyValid'==_0x50576a||'uploadcareLicenseKeyInvalid'==_0x50576a||'uploadcareLicenseKeyExpired'==_0x50576a||'uploadcareLicenseKeyDomainLimit'==_0x50576a||'uploadcareLicenseKeyNotAllowed'==_0x50576a||'uploadcareLicenseKeyEvaluationLimit'==_0x50576a||'uploadcareLicenseKeyTrialLimit'==_0x50576a||'uploadcareLicenseKeyUsageLimit'==_0x50576a){delete _0x3dbed5[_0x105a78],_0x30af3a=_0x50576a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x30af3a&&_0x3dbed5['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x30af3a&&_0x3dbed5['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x30af3a&&_0x3dbed5['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x30af3a&&_0x3dbed5['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x30af3a&&_0x3dbed5['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x30af3a&&_0x3dbed5['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x30af3a&&_0x3dbed5['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x29b4c4}=this,_0x518548=_0x29b4c4['commands']['get']('uploadcare');if(!_0x518548)return;const _0x2a330e=this['_normalizeConfigSourceList'](_0x29b4c4['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3daf22,_0x4ad585)=>{const _0x596a36=this['_getIntegrationKey'](_0x4ad585['type']);return _0x3daf22[_0x596a36]||(_0x3daf22[_0x596a36]=[]),_0x3daf22[_0x596a36]['push'](_0x4ad585),_0x3daf22;},{});_0x29b4c4['plugins']['has']('ImageInsertUI')&&_0x29b4c4['commands']['get']('uploadcare')&&Object['entries'](_0x2a330e)['forEach'](([_0x51fee0,_0x2a9925])=>{_0x29b4c4['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x51fee0,'observable':()=>_0x518548,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2a9925),'formViewCreator':()=>this['_createDropdownButtons'](_0x2a9925),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2a9925),'override':'assetManager'!==_0x51fee0});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2c175d){const {locale:_0x5e98a6}=this['editor'];return _0x2c175d['map'](_0x3de216=>{const _0x256344=_(_0x5e98a6,_0x3de216,'Insert');switch(_0x3de216){case i['Local']:return{'icon':_0x6322f7,'type':i['Local'],..._0x256344};case i['URL']:return{'icon':_0x31a991,'type':i['URL'],..._0x256344};case i['Dropbox']:return{'icon':_0x4a4219,'type':i['Dropbox'],..._0x256344};case i['Facebook']:return{'icon':_0x5a173c,'type':i['Facebook'],..._0x256344};case i['GDrive']:return{'icon':_0x9d70fc,'type':i['GDrive'],..._0x256344};case i['GPhotos']:return{'icon':_0x4d691c,'type':i['GPhotos'],..._0x256344};case i['OneDrive']:return{'icon':_0xa9b378,'type':i['OneDrive'],..._0x256344};}});}['_getIntegrationKey'](_0x175f7d){switch(_0x175f7d){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x484b48,_0xa5c8d8){const _0x31545d=this['editor'],_0x3a71e4=new _0x484b48(_0x31545d['locale']),_0x4d30ab=_0x31545d['commands']['get']('uploadcare');return _0x3a71e4['bind']('isEnabled')['to'](_0x4d30ab),_0x3a71e4['on']('execute',()=>{_0x4d30ab['execute'](_0xa5c8d8);}),_0x3a71e4;}['_createToolbarButton'](_0x21b004){const {locale:_0x1036d1}=this['editor'],_0x5ab75b=this['editor']['plugins']['get']('ImageInsertUI'),_0x4f90cc=_0x21b004[0x0],_0xfcae94=this['_createButton'](_0x301bef,_0x4f90cc['type']);return _0xfcae94['icon']=_0x4f90cc['icon'],_0xfcae94['bind']('label')['to'](_0x5ab75b,'isImageSelected',_0x1fd386=>_(_0x1036d1,_0x4f90cc['type'],_0x1fd386?'Replace':'Insert')['text']),_0xfcae94['tooltip']=!0x0,_0xfcae94;}['_createDropdownButtons'](_0x3f01d9){const {locale:_0x2a8f90}=this['editor'],_0x236c8b=this['editor']['plugins']['get']('ImageInsertUI');return _0x3f01d9['map'](_0x106c97=>{const _0x22135b=this['_createButton'](_0x301bef,_0x106c97['type']);return _0x22135b['withText']=!0x0,_0x22135b['icon']=_0x106c97['icon'],_0x22135b['bind']('label')['to'](_0x236c8b,'isImageSelected',_0x46b768=>_(_0x2a8f90,_0x106c97['type'],_0x46b768?'Replace':'Insert')['text']),_0x22135b;});}['_createMenuBarButtons'](_0x3ae523){return _0x3ae523['map'](_0x73afc7=>{const _0x4928de=this['_createButton'](_0x59d353,_0x73afc7['type']);return _0x4928de['icon']=_0x73afc7['icon'],_0x4928de['label']=_0x73afc7['shortText'],_0x4928de;});}}class F extends _0x1617d6{['focusTracker'];['focusCycler'];constructor(_0x1bbfd1){super(_0x1bbfd1),this['focusTracker']=new _0x226558(),this['focusCycler']=new _0x23abb0({'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(_0x4eb29c,_0x1d9312){super(_0x4eb29c),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-'+_0x1d9312}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x9c245,_0x466c60){const _0x3f9a08=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1c25f5=>_0x1c25f5<=_0x466c60)['map'](_0x2e6e3e=>_0x9c245['replace'](/\/$/,'')+'/-/resize/'+_0x2e6e3e+'x/\x20'+_0x2e6e3e+'w');return{'imageFallbackUrl':_0x9c245,'imageSources':[{'srcset':_0x3f9a08['join'](',\x20'),'sizes':'(max-width:\x20'+_0x466c60+'px)\x20100vw,\x20'+_0x466c60+'px','type':'image/webp'}]};}function C(_0x31d1bb,_0x4f40f5,_0x110f34){const _0x4c9ef0=_0x31d1bb['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4c9ef0?parseInt(_0x4c9ef0[0x1],0xa):_0x4f40f5,'height':_0x4c9ef0?parseInt(_0x4c9ef0[0x2],0xa):_0x110f34};}function p(_0x5527dc,_0x229d38){const _0x2b5f80=new(_0x4944c3())(),_0xb8dd3a=_0x5527dc['plugins']['get']('ImageUtils'),_0x1f50d3=_0x5527dc['editing']['mapper']['toViewElement'](_0x229d38),_0x12d716=_0xb8dd3a['findViewImgElement'](_0x1f50d3),_0x5da383=_0x5527dc['editing']['view']['domConverter']['viewToDom'](_0x12d716),_0x99f7f7=_0x229d38['getAttribute']('width'),_0x4c7440=_0x229d38['getAttribute']('height'),_0x2e9cf6='image-processing';_0x5527dc['editing']['view']['change'](_0x274ca2=>{_0x274ca2['addClass'](_0x2e9cf6,_0x1f50d3),_0x274ca2['setStyle']('aspect-ratio',_0x99f7f7+'/'+_0x4c7440,_0x12d716);}),_0x2b5f80['listenTo'](_0x5da383,'load',()=>{_0x2b5f80['stopListening'](_0x5da383,'load'),_0x5527dc['editing']['view']['change'](_0x527986=>{_0x527986['removeClass'](_0x2e9cf6,_0x1f50d3),_0x527986['removeStyle']('aspect-ratio',_0x12d716);});});}function G(_0xd91c4e){if(Array['isArray'](_0xd91c4e)){const _0x5b6067=_0xd91c4e['map'](G);return _0x1aa0aa=>_0x5b6067['some'](_0x400a60=>_0x400a60(_0x1aa0aa));}if('origin'==_0xd91c4e){const _0x5b8117=_0x1db3bc['window']['location']['origin'];return _0xacc5a5=>new URL(_0xacc5a5,_0x1db3bc['document']['baseURI'])['origin']==_0x5b8117;}return'function'==typeof _0xd91c4e?_0xd91c4e:_0xd91c4e instanceof RegExp?_0x50b150=>!(!_0x50b150['match'](_0xd91c4e)&&!_0x50b150['replace'](/^https?:\/\//,'')['match'](_0xd91c4e)):()=>!0x1;}function S(_0x30d294,_0x45554a){return _0x17e112(_0x30d294['target'])['includes'](_0x45554a);}class n extends/* #__PURE__ -- @preserve */
24
- _0x12e2cc(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2dd55c,_0x57366c,_0x2bcb0d){super(),this['_editor']=_0x2dd55c,this['_editing']=_0x57366c,this['_dialog']=_0x2dd55c['plugins']['get'](_0x4c838d),this['_api']=_0x57366c['ctxElement']['getAPI'](),this['_type']=_0x2bcb0d,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:_0x503fec,model:_0x49a132}=this['_editor'],_0x233821=_0x49a132['document']['selection']['getSelectedElement'](),_0x48f1b1=_0x233821&&(_0x233821['is']('element','imageBlock')||_0x233821['is']('element','imageInline'));this['_formView']=new x(_0x503fec,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x6322f7,'title':_(_0x503fec,this['_type'],_0x48f1b1?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4cabd7['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xb64e22=>!S(_0xb64e22,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4e2e8a}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x7196e1=>{const _0x303177=_0x4e2e8a['length'];for(const _0x3977dd of _0x4e2e8a){const _0x14e2ec=_0x3977dd===_0x4e2e8a[_0x303177-0x1],{cdnUrl:_0x303bba,fileInfo:_0x3b860f}=_0x3977dd;if(!_0x303bba||!_0x3b860f)continue;const {width:_0x1801c9,height:_0x8824ab}=_0x3b860f['imageInfo'],_0xd88438=C(_0x303bba,_0x1801c9,_0x8824ab),_0x182807=k(_0x303bba,_0xd88438['width']),_0x407698={'id':_0x3b860f['uuid'],'type':'image','attributes':{'imageDimension':_0xd88438,..._0x182807}};this['_insertAsset'](_0x407698,_0x14e2ec,_0x7196e1);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5cbae2=>{'idle'===_0x5cbae2['detail']['status']&&!_0x5cbae2['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2a4073,_0x165e86,_0x5e69ab){const _0x1b1777=this['_editor']['model']['document']['selection'],_0x9e8f1c=_0x1b1777['getSelectedElement'](),_0x26178d=!(!_0x9e8f1c||!_0x9e8f1c['is']('element','imageInline'));_0x5e69ab['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2a4073,_0x26178d),_0x165e86||_0x5e69ab['setSelection'](_0x1b1777['getLastPosition']());}['_insertImage'](_0xe83842,_0x147d89){const _0x43364c=this['_editor'],{imageDimension:_0x596097,imageFallbackUrl:_0x7a2e1a,imageSources:_0x53dcf8}=_0xe83842['attributes'];_0x43364c['execute']('insertImage',{'imageType':_0x147d89?'imageInline':null,'source':{'uploadcareImageId':_0xe83842['id'],'src':_0x7a2e1a,'sources':_0x53dcf8,..._0x596097}});}}class w extends _0x171c79{['_editing'];['_controller']=null;static get['requires'](){return[_0x4c838d,o];}constructor(_0x4f2ff1){super(_0x4f2ff1),this['_editing']=_0x4f2ff1['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3bc55c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x3bc55c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3022b9,publicKey:_0x25087e,signal:_0x19ef60,onProgress:_0x2da196}){return _0x2e9aa1(_0x3022b9,{'publicKey':_0x25087e,'store':'auto','signal':_0x19ef60,'onProgress':_0x2da196});}static['getInfo'](_0x3741cc,_0x299fd7){return _0x272a89(_0x3741cc,_0x299fd7);}}class f extends _0x51aeb2{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3b719b,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x54101f=this['editor'];if(!!!_0x54101f['config']['get']('uploadcare'))return;_0x54101f['plugins']['get'](_0x3b719b)['createUploadAdapter']=_0x33f875=>new A(_0x33f875,_0x54101f),_0x54101f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x38c071,{imageElement:_0x33a27a,data:_0x2b6c5a})=>{_0x54101f['model']['change'](_0x3252d9=>{_0x3252d9['setAttribute']('uploadcareImageId',_0x2b6c5a['uploadcareImageId'],_0x33a27a);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x411500,_0x2dd506){this['loader']=_0x411500,this['editor']=_0x2dd506,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x27e232=this['editor']['config']['get']('uploadcare.pubkey'),_0x3c6d56=await this['loader']['file'];return j['upload']({'file':_0x3c6d56,'publicKey':_0x27e232,'signal':this['controller']['signal'],'onProgress':_0x28059e=>{_0x28059e&&_0x28059e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x28059e['value']);}})['then'](async _0x269016=>{const {imageFallbackUrl:_0x5a8587,imageSources:_0x1d5256}=k(_0x269016['cdnUrl'],_0x269016['imageInfo']['width']);return{'uploadcareImageId':_0x269016['uuid'],'default':_0x5a8587,'sources':_0x1d5256};})['catch'](()=>{const _0x2e9018=t('Cannot\x20upload\x20file:')+('\x20'+_0x3c6d56['name']+'.');return Promise['reject'](_0x2e9018);});}['abort'](){this['controller']['abort']();}}class o extends _0x51aeb2{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4c838d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0xc27cec){super(_0xc27cec),this['ucContextId']=_0x3a6e6f();}['init'](){const _0x416c2c=this['editor'];_0x416c2c['commands']['add']('uploadcare',new w(_0x416c2c));}['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 _0x26aa53=_0x1db3bc['document']['querySelector']('input[uploadcare-file-input]');_0x26aa53&&_0x26aa53['remove']();}),async function(_0x1af12c){const _0x17bc80=_0x336a84([0x69,0x61,0x38,0x37,0x71,0x77,0x6c,0x74,0x75,0x72,0x34,0x66,0x76,0x47,0x65,0x33,0x45,0x39,0x54,0x6b,0x7a,0x32,0x35,0x59,0x30,0x78,0x52,0x63,0x44,0x6f,0x41,0x4b,0x48,0x4a,0x64,0x42,0x62,0x4e,0x6a,0x79,0x31,0x49,0x56,0x6d,0x70,0x4d,0x51,0x53,0x4f,0x55,0x67,0x68,0x73,0x57,0x50,0x58,0x6e,0x46,0x5a,0x4c,0x36,0x43]),_0x3e9126=0x35bd5841,_0x29ec0b=0x35ba33d1^_0x3e9126,_0x16b15c=window[_0x336a84([0x44,0x61,0x74,0x65])][_0x336a84([0x6e,0x6f,0x77])](),_0x599aaa=_0x1af12c[_0x336a84([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x345b1f=new window[(_0x336a84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b729f=>{_0x599aaa[_0x336a84([0x6f,0x6e,0x63,0x65])](_0x336a84([0x72,0x65,0x61,0x64,0x79]),_0x5b729f);}),_0x1273d4={[_0x336a84([0x6b,0x74,0x79])]:_0x336a84([0x45,0x43]),[_0x336a84([0x75,0x73,0x65])]:_0x336a84([0x73,0x69,0x67]),[_0x336a84([0x63,0x72,0x76])]:_0x336a84([0x50,0x2d,0x32,0x35,0x36]),[_0x336a84([0x78])]:_0x336a84([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]),[_0x336a84([0x79])]:_0x336a84([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]),[_0x336a84([0x61,0x6c,0x67])]:_0x336a84([0x45,0x53,0x32,0x35,0x36])},_0x1e860d=_0x599aaa[_0x336a84([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x336a84([0x67,0x65,0x74])](_0x336a84([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5b8721(){let _0x16f1e3,_0x29ba03=null,_0x5e8e5d=null;try{if(_0x1e860d==_0x336a84([0x47,0x50,0x4c]))return _0x336a84([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x16f1e3=_0x13d19f(),!_0x16f1e3)return _0x336a84([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x16f1e3[_0x336a84([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e8e5d=_0x1c1a49(_0x16f1e3[_0x336a84([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x16f1e3[_0x336a84([0x6a,0x74,0x69])])),await _0x1c440d()?_0x128020()?_0x1180ba()?_0x336a84([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x282b81()?(_0x16f1e3[_0x336a84([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x336a84([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29ba03=_0x38d0bc(_0x336a84([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x16f1e3[_0x336a84([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x336a84([0x74,0x72,0x69,0x61,0x6c])&&(_0x29ba03=_0x38d0bc(_0x336a84([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x175968()):_0x336a84([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x336a84([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x336a84([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x336a84([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1180ba(){const _0x1b6dad=[_0x336a84([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x336a84([0x74,0x72,0x69,0x61,0x6c])][_0x336a84([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16f1e3[_0x336a84([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16b15c/0x3e8:0xe10*_0x29ec0b;return _0x16f1e3[_0x336a84([0x65,0x78,0x70])]<_0x1b6dad;}function _0x128020(){const _0x4776cd=_0x16f1e3[_0x336a84([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4776cd&&(!!_0x4776cd[_0x336a84([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x336a84([0x2a]))||!!_0x4776cd[_0x336a84([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x336a84([0x55,0x50,0x4c,0x43])));}function _0x282b81(){const _0x46775b=_0x16f1e3[_0x336a84([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x46775b||0x0==_0x46775b[_0x336a84([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54fb0a}=new URL(window[_0x336a84([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x46775b[_0x336a84([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54fb0a))return!0x0;const _0x1a0817=_0x54fb0a[_0x336a84([0x73,0x70,0x6c,0x69,0x74])](_0x336a84([0x2e]));return _0x46775b[_0x336a84([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x335c64=>_0x335c64[_0x336a84([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x336a84([0x2a])))[_0x336a84([0x6d,0x61,0x70])](_0x2ce4c2=>_0x2ce4c2[_0x336a84([0x73,0x70,0x6c,0x69,0x74])](_0x336a84([0x2e])))[_0x336a84([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e407c=>_0x3e407c[_0x336a84([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a0817[_0x336a84([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x336a84([0x6d,0x61,0x70])](_0x591635=>Array(_0x1a0817[_0x336a84([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x591635[_0x336a84([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x336a84([0x66,0x69,0x6c,0x6c])](_0x591635[0x0]===_0x336a84([0x2a])?_0x336a84([0x2a]):'')[_0x336a84([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x591635))[_0x336a84([0x73,0x6f,0x6d,0x65])](_0x2388b3=>_0x1a0817[_0x336a84([0x65,0x76,0x65,0x72,0x79])]((_0x3e1bac,_0x23047d)=>_0x2388b3[_0x23047d]===_0x3e1bac||_0x2388b3[_0x23047d]===_0x336a84([0x2a])));}function _0x175968(){return _0x29ba03&&_0x5e8e5d?new window[(_0x336a84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ec696,_0x1ca8d1)=>{_0x29ba03[_0x336a84([0x74,0x68,0x65,0x6e])](_0x5ec696,_0x1ca8d1),_0x5e8e5d[_0x336a84([0x74,0x68,0x65,0x6e])](_0x24988d=>{_0x24988d!=_0x336a84([0x56,0x61,0x6c,0x69,0x64])&&_0x5ec696(_0x24988d);},_0x1ca8d1);}):_0x29ba03||_0x5e8e5d||_0x336a84([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c1a49(_0x2a4b76,_0x318cbe){return new window[(_0x336a84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdaad71=>{if(_0x3b8269())return _0xdaad71(_0x336a84([0x56,0x61,0x6c,0x69,0x64]));_0x4a2b0c(),_0x599aaa[_0x336a84([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x336a84([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4db797=!0x1;const _0x3620ce=_0x3a6e6f();function _0x2e64f2(_0x5dfef9){return!!_0x5dfef9&&(typeof _0x5dfef9===_0x336a84([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5dfef9===_0x336a84([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5dfef9[_0x336a84([0x74,0x68,0x65,0x6e])]===_0x336a84([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5dfef9[_0x336a84([0x63,0x61,0x74,0x63,0x68])]===_0x336a84([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x42bea4(_0x51a0ef){_0x23ddef(_0x51a0ef)[_0x336a84([0x74,0x68,0x65,0x6e])](_0x39a4b6=>{if(!_0x39a4b6||_0x39a4b6[_0x336a84([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x336a84([0x6f,0x6b]))return _0x336a84([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x309aad(_0x2331ff(_0x3620ce+_0x318cbe))!=_0x39a4b6[_0x336a84([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x336a84([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x336a84([0x56,0x61,0x6c,0x69,0x64]);})[_0x336a84([0x74,0x68,0x65,0x6e])](_0x7306f6=>(_0x3d138d(),_0x7306f6),()=>{const _0x2a21bc=_0xd31af2();return null==_0x2a21bc?(_0x3d138d(),_0x336a84([0x56,0x61,0x6c,0x69,0x64])):_0x336a84(_0x16b15c-_0x2a21bc>(0x11b1dc41^_0x3e9126)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x336a84([0x74,0x68,0x65,0x6e])](_0xdaad71)[_0x336a84([0x63,0x61,0x74,0x63,0x68])](()=>{_0xdaad71(_0x336a84([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6bc414=0x358bb6c1^_0x3e9126;function _0x3d138d(){const _0x461caa=_0x336a84([0x6c,0x6c,0x63,0x74,0x2d])+_0x309aad(_0x2331ff(_0x2a4b76)),_0x40fd75=_0x3c88d8(_0x309aad(window[_0x336a84([0x4d,0x61,0x74,0x68])][_0x336a84([0x63,0x65,0x69,0x6c])](_0x16b15c/_0x6bc414)));window[_0x336a84([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x336a84([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x461caa,_0x40fd75);}function _0xd31af2(){const _0xb4e4b9=_0x336a84([0x6c,0x6c,0x63,0x74,0x2d])+_0x309aad(_0x2331ff(_0x2a4b76)),_0x2c3643=window[_0x336a84([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x336a84([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb4e4b9);return _0x2c3643?window[_0x336a84([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c88d8(_0x2c3643),0x10)*_0x6bc414:null;}function _0x23ddef(_0x21d21a){return new window[(_0x336a84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x401012,_0xb4da72)=>{_0x21d21a[_0x336a84([0x74,0x68,0x65,0x6e])](_0x401012,_0xb4da72),window[_0x336a84([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb4da72,0x35bc8c81^_0x3e9126);});}}_0x599aaa[_0x336a84([0x6f,0x6e])](_0x336a84([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d2416,_0x2b61a9)=>{if(_0x2b61a9[0x0]!=_0x2a4b76)return _0xdaad71(_0x336a84([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b61a9[0x1]={..._0x2b61a9[0x1],[_0x336a84([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3620ce};},{[_0x336a84([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x336a84([0x68,0x69,0x67,0x68])}),_0x599aaa[_0x336a84([0x6f,0x6e])](_0x336a84([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x470779=>{_0x2e64f2(_0x470779[_0x336a84([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4db797=!0x0,_0x42bea4(_0x470779[_0x336a84([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x336a84([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x336a84([0x6c,0x6f,0x77])}),_0x345b1f[_0x336a84([0x74,0x68,0x65,0x6e])](()=>{_0x4db797||_0xdaad71(_0x336a84([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b8269(){return _0x599aaa[_0x336a84([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x336a84([0x76,0x69,0x65,0x77])][_0x336a84([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x336a84([0x61,0x75,0x74,0x6f]);}function _0x4a2b0c(){_0x599aaa[_0x336a84([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x336a84([0x76,0x69,0x65,0x77])][_0x336a84([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x336a84([0x61,0x75,0x74,0x6f]);}}function _0x38d0bc(_0x574aa6){const _0x1510d8=[new window[(_0x336a84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cf65a=>setTimeout(_0x3cf65a,0x35b4668d^_0x3e9126)),_0x345b1f[_0x336a84([0x74,0x68,0x65,0x6e])](()=>new window[(_0x336a84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42f436=>{let _0x1b599c=0x0;_0x599aaa[_0x336a84([0x6d,0x6f,0x64,0x65,0x6c])][_0x336a84([0x6f,0x6e])](_0x336a84([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4cedc7,_0x3e4cdc)=>{_0x3e4cdc[0x0][_0x336a84([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b599c++,_0x1b599c==(0x35bd59b9^_0x3e9126)&&(_0x42f436(),_0x4cedc7[_0x336a84([0x6f,0x66,0x66])]());});}))];return window[_0x336a84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x336a84([0x72,0x61,0x63,0x65])](_0x1510d8)[_0x336a84([0x74,0x68,0x65,0x6e])](()=>_0x574aa6);}async function _0x185108(){await _0x345b1f,_0x599aaa[_0x336a84([0x6d,0x6f,0x64,0x65,0x6c])][_0x336a84([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1f6e8f,_0x599aaa[_0x336a84([0x6d,0x6f,0x64,0x65,0x6c])][_0x336a84([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1f6e8f,_0x599aaa[_0x336a84([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x336a84([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x366eb8(_0x507962){const _0x36113a=_0x1b6bb3();_0x599aaa[_0x36113a]=_0x336a84([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x507962,_0x507962!=_0x336a84([0x56,0x61,0x6c,0x69,0x64])&&_0x185108();}function _0x1b6bb3(){const _0x57712d=window[_0x336a84([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x336a84([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x336a84([0x6e,0x6f,0x77])]())[_0x336a84([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x336a84([0x2e]),'');let _0x49e693=_0x336a84([0x69]);for(let _0x1062c8=0x0;_0x1062c8<_0x57712d[_0x336a84([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1062c8+=0x2){let _0x1131d2=window[_0x336a84([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57712d[_0x336a84([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1062c8,_0x1062c8+0x2));_0x1131d2>=_0x17bc80[_0x336a84([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1131d2-=_0x17bc80[_0x336a84([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x49e693+=_0x17bc80[_0x1131d2];}return _0x49e693;}function _0x13d19f(){const _0x4d3212=_0x1e860d[_0x336a84([0x73,0x70,0x6c,0x69,0x74])](_0x336a84([0x2e]));if(0x3!=_0x4d3212[_0x336a84([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3af472(_0x4d3212[0x1]);function _0x3af472(_0x319954){const _0x18982d=_0x3419a9(_0x319954);return _0x18982d&&_0x450e54()?_0x18982d:null;function _0x450e54(){const _0x26a915=_0x18982d[_0x336a84([0x6a,0x74,0x69])],_0x23aba1=window[_0x336a84([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26a915[_0x336a84([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26a915[_0x336a84([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b280b={..._0x18982d,[_0x336a84([0x6a,0x74,0x69])]:_0x26a915[_0x336a84([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26a915[_0x336a84([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b280b[_0x336a84([0x76,0x63])],_0x2331ff(_0x3b280b)==_0x23aba1;}}}async function _0x1c440d(){let _0x51c434=!0x0;try{const _0x29565b=_0x1e860d[_0x336a84([0x73,0x70,0x6c,0x69,0x74])](_0x336a84([0x2e])),[_0x31fcc0,_0x4dcbbb,_0x10f667]=_0x29565b;return _0x481f86(_0x31fcc0),await _0x4782b0(_0x31fcc0,_0x4dcbbb,_0x10f667),_0x51c434;}catch{return!0x1;}function _0x481f86(_0x4bbdc5){const _0x129125=_0x3419a9(_0x4bbdc5);_0x129125&&_0x129125[_0x336a84([0x61,0x6c,0x67])]==_0x336a84([0x45,0x53,0x32,0x35,0x36])||(_0x51c434=!0x1);}async function _0x4782b0(_0x8e6fcc,_0x48e136,_0x444cf9){const _0x27f37a=window[_0x336a84([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x336a84([0x66,0x72,0x6f,0x6d])](_0x28dd83(_0x444cf9),_0x4a8aae=>_0x4a8aae[_0x336a84([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3bdc7a=new window[(_0x336a84([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x336a84([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8e6fcc+_0x336a84([0x2e])+_0x48e136),_0x134858=window[_0x336a84([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x336a84([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x134858)return;const _0x59204f=await _0x134858[_0x336a84([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x336a84([0x6a,0x77,0x6b]),_0x1273d4,{[_0x336a84([0x6e,0x61,0x6d,0x65])]:_0x336a84([0x45,0x43,0x44,0x53,0x41]),[_0x336a84([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x336a84([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x336a84([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x134858[_0x336a84([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x336a84([0x6e,0x61,0x6d,0x65])]:_0x336a84([0x45,0x43,0x44,0x53,0x41]),[_0x336a84([0x68,0x61,0x73,0x68])]:{[_0x336a84([0x6e,0x61,0x6d,0x65])]:_0x336a84([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59204f,_0x27f37a,_0x3bdc7a)||(_0x51c434=!0x1);}}function _0x3419a9(_0x5bdeaa){return _0x5bdeaa[_0x336a84([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x336a84([0x65,0x79]))?JSON[_0x336a84([0x70,0x61,0x72,0x73,0x65])](_0x28dd83(_0x5bdeaa)):null;}function _0x28dd83(_0x522312){return window[_0x336a84([0x61,0x74,0x6f,0x62])](_0x522312[_0x336a84([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x336a84([0x2b]))[_0x336a84([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x336a84([0x2f])));}function _0x2331ff(_0x4534fe){let _0x569b52=0x1505;function _0x593966(_0x3f48e0){for(let _0x4416c2=0x0;_0x4416c2<_0x3f48e0[_0x336a84([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4416c2++){const _0x1e496d=_0x3f48e0[_0x336a84([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4416c2);_0x569b52=(_0x569b52<<0x5)+_0x569b52+_0x1e496d,_0x569b52&=_0x569b52;}}function _0x7fa93b(_0x41b482){Array[_0x336a84([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41b482)?_0x41b482[_0x336a84([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7fa93b):_0x41b482&&typeof _0x41b482==_0x336a84([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x336a84([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41b482)[_0x336a84([0x73,0x6f,0x72,0x74])]()[_0x336a84([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c00ee,_0x180b01])=>{_0x593966(_0x1c00ee),_0x7fa93b(_0x180b01);}):_0x593966(window[_0x336a84([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41b482));}return _0x7fa93b(_0x4534fe),_0x569b52>>>0x0;}function _0x309aad(_0x3cf10a){return _0x3cf10a[_0x336a84([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x336a84([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x336a84([0x30]));}function _0x3c88d8(_0x2a12ae){return _0x2a12ae[_0x336a84([0x73,0x70,0x6c,0x69,0x74])]('')[_0x336a84([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x336a84([0x6a,0x6f,0x69,0x6e])]('');}function _0x1f6e8f(){}function _0x336a84(_0x14fd87){return _0x14fd87['map'](_0x16e0a6=>String['fromCharCode'](_0x16e0a6))['join']('');}_0x366eb8(await _0x5b8721());}(this);}['_initSchema'](){const _0x1d149e=this['editor']['model']['schema'];_0x1d149e['isRegistered']('imageBlock')&&_0x1d149e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1d149e['isRegistered']('imageInline')&&_0x1d149e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2f6dce=this['editor'];_0x2f6dce['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2f6dce['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3c9438=>_0x3c9438['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x380016=_0x2f6dce['commands']['get']('replaceImageSource');_0x380016&&this['listenTo'](_0x380016,'cleanupImage',(_0x51b6e8,[_0x1536a0,_0x48d6f8])=>{_0x1536a0['removeAttribute']('uploadcareImageId',_0x48d6f8);});}['_initConfig'](){const _0x4f564c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x135534=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x546f48(_0x1db3bc['document'],'uc-config',{..._0x4f564c,'pubkey':_0x135534,'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']=_0x4ba061=>{if('closeMax'==_0x4ba061)return'#uc-icon-arrow-down';},_0x1db3bc['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x546f48(_0x1db3bc['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1db3bc['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2e13d1=this['editor']['commands']['get']('insertImage');_0x2e13d1&&this['listenTo'](_0x2e13d1,'execute',()=>{const _0x4be5ad=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4be5ad&&_0x4be5ad['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4be5ad);});});const _0x474919=this['editor']['commands']['get']('uploadcareImageReplace');_0x474919&&this['listenTo'](_0x474919,'execute',()=>{const _0x14f483=this['editor']['model']['document']['selection']['getSelectedElement']();_0x14f483&&_0x14f483['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x14f483);});});}}class tt extends _0x51aeb2{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x494bd1){super(_0x494bd1),_0x494bd1['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4f7afa['defineComponents'](_0x4f7afa);}}class ii extends _0x1617d6{constructor(_0x3d7a1a){super(_0x3d7a1a);const t=_0x3d7a1a['t'],_0x16d273=this['bindTemplate'],_0x43a530=new _0x336f73();_0x43a530['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':[_0x43a530,{'text':_0x16d273['to']('imageUploadProgress',_0x28e58a=>t('Loading\x20image...')+'\x20('+(_0x28e58a||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 _0x1617d6{constructor(_0x2168e1){super(_0x2168e1);const t=_0x2168e1['t'];this['set']('errorType',null);const _0x1bdeb8=new _0x301bef(_0x2168e1);_0x1bdeb8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1bdeb8['withText']=!0x0,_0x1bdeb8['class']='ck-button-action',_0x1bdeb8['on']('execute',()=>{this['fire']('retry');}),_0x1bdeb8['bind']('isVisible')['to'](this,'errorType',_0x333174=>'NotFound'!==_0x333174);const _0x4724d2=new _0x45880a();_0x4724d2['content']=_0x189bf2,_0x4724d2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2ca4d3=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':[_0x4724d2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2ca4d3['to']('errorType',_0x544914=>t('NotFound'!==_0x544914?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1bdeb8]},{'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 _0x1617d6{constructor(_0x447d03,_0x26da17){super(_0x447d03);const _0x337a3a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x26da17,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x337a3a['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x32ae95,_0x4eac10,_0x470901){super(_0x32ae95),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x32ae95),this['_errorView']=new ti(_0x32ae95),this['_editingView']=new ei(_0x32ae95,_0x470901),this['_focusableView']=new _0x1617d6(_0x32ae95),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4eac10),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'],_0x7bd74=>{this['_addUploadcareImageEditorListeners'](_0x7bd74);});}),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'](_0x1a1675,_0x45669e){const _0x3514dd='uc-cloud-image-editor',_0x275748=_0x1a1675['querySelector'](_0x3514dd);if(_0x275748)return _0x45669e(_0x275748);const _0x477990=new MutationObserver(_0x32ac73=>{const _0x429e2d=_0x32ac73['filter'](_0x1eb2ba=>_0x1eb2ba['target']===_0x1a1675&&_0x1eb2ba['addedNodes']['length']>0x0&&_0x1eb2ba['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3514dd);_0x429e2d['length']&&(_0x477990['disconnect'](),_0x45669e(_0x429e2d[0x0]['addedNodes'][0x0]));});_0x477990['observe'](_0x1a1675,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x225827){_0x225827['addEventListener']('apply',_0x5239ff=>{this['fire']('apply',{'imageSrc':_0x5239ff['detail']['cdnUrl']});}),_0x225827['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x12e2cc(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3ffaf3,_0xf285e3,_0x5cd1c5){super(),this['_editor']=_0x3ffaf3,this['_dialog']=_0xf285e3,this['_imageElement']=_0x5cd1c5,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 _0x957b78=this['_imageElement'],_0x4dea5a=_0x957b78['getAttribute']('uploadcareImageId'),_0x4fe450=_0x957b78['getAttribute']('src');if(_0x4dea5a)await this['_loadImageInfo'](_0x4dea5a,_0x4fe450);else{if(this['_imageCache']['has'](_0x4fe450)){const _0x47649b=this['_imageCache']['get'](_0x4fe450);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x47649b['url'],this['imageDimension']=_0x47649b['dimension'],this['imageId']=_0x47649b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x57a0e5}=this['_editor'],t=_0x57a0e5['t'],_0x42559d=new X(_0x57a0e5,this['imageStatus'],this['_attributes']);_0x42559d['bind']('status')['to'](this,'imageStatus'),_0x42559d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x42559d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x42559d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x42559d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2b2768,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x42559d,'position':_0x4cabd7['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x42559d['focus']();},'onHide':()=>{_0x42559d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5d660d=>!S(_0x5d660d,_0x42559d['element'])}});}['_loadImageInfo'](_0x8912cc,_0xf5cf5e){return j['getInfo'](_0x8912cc,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x408750=>{const {width:_0x17b308,height:_0x1dd37e}=_0x408750['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xf5cf5e,this['imageDimension']={'width':_0x17b308,'height':_0x1dd37e},this['imageId']=_0x8912cc;})['catch'](_0x3140bb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3140bb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x293466,_0x256096){return this['_getImageAsFile'](_0x293466)['then'](_0x5f59d6=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x256096['signal'],'file':_0x5f59d6,'onProgress':_0x1168b2=>{_0x1168b2&&_0x1168b2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1168b2['value']));}}))['then'](_0x15fc36=>{const {width:_0x172ad5,height:_0x583e46}=_0x15fc36['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15fc36['cdnUrl'],this['imageDimension']={'width':_0x172ad5,'height':_0x583e46},this['imageId']=_0x15fc36['uuid'],this['imageUploadProgress']=null;const _0x10f0c9=_0x293466['getAttribute']('src');this['_imageCache']['set'](_0x10f0c9,{'id':_0x15fc36['uuid'],'url':_0x15fc36['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x448c4a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x448c4a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x297a4e,_0x148f40){_0x297a4e['on']('apply',(_0x3979f3,_0x589745)=>{this['_replaceImage'](_0x148f40,_0x589745['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x297a4e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x297a4e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3f5342,_0x9629c0,_0x5adc34){const _0xaa4e37=this['_editor'],{width:_0xdf1b87,height:_0x59225c}=C(_0x9629c0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5c3f06,imageSources:_0x3a28bb}=k(_0x9629c0,_0xdf1b87);_0xaa4e37['model']['change'](_0xebf4ad=>{if('$graveyard'===_0x3f5342['root']['rootName']){_0xaa4e37['execute']('insertImage',{'imageType':_0x3f5342['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3f5342['getAttributes']()),'uploadcareImageId':_0x5adc34,'src':_0x5c3f06,'sources':_0x3a28bb,'width':_0xdf1b87,'height':_0x59225c}});const _0x326070=_0x3f5342['getChildren']();_0x3f5342=_0xaa4e37['model']['document']['selection']['getSelectedElement']();for(const _0x2153f4 of _0x326070)_0xebf4ad['append'](_0xebf4ad['cloneElement'](_0x2153f4),_0x3f5342);}else _0xebf4ad['setSelection'](_0x3f5342,'on'),_0xaa4e37['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3f5342['getAttributes']()),'uploadcareImageId':_0x5adc34,'src':_0x5c3f06,'sources':_0x3a28bb,'width':_0xdf1b87,'height':_0x59225c},_0x3f5342);_0xebf4ad['setSelection'](_0x3f5342,'on');});}async['_getImageAsFile'](_0x4cb48e){const _0x7edfce=_0x1db3bc['window'],_0x2755fe=_0x1db3bc['document']['location']['href'],_0x254b6d=new _0x7edfce['URL'](_0x4cb48e['getAttribute']('src'),_0x2755fe);if('data:'===_0x254b6d['protocol']){const _0x23abe4=_0x254b6d['href']['split'](','),_0x342af8=_0x23abe4[0x0]['match'](/:(.*?);/)[0x1],_0x556b68=_0x342af8['split']('/')[0x1],_0x2c1b20=_0x7edfce['atob'](_0x23abe4[_0x23abe4['length']-0x1]);let _0x588938=_0x2c1b20['length'];const _0xd4ccde=new _0x7edfce['Uint8Array'](_0x588938);for(;_0x588938--;)_0xd4ccde[_0x588938]=_0x2c1b20['charCodeAt'](_0x588938);return new _0x7edfce['File']([_0xd4ccde],'image.'+_0x556b68,{'type':_0x342af8});}const _0x10adca=_0x254b6d['href']['split']('/'),_0x52329a=_0x10adca[_0x10adca['length']-0x1],_0x30903a=_0x52329a['split']('.')[0x1];return _0x7edfce['fetch'](_0x254b6d['href'])['then'](_0x2a8b78=>_0x2a8b78['clone']()['blob']())['then'](_0x5ef18f=>new _0x7edfce['File']([_0x5ef18f],_0x52329a,{'type':'image/'+_0x30903a}));}}class O extends _0x171c79{['imageEditController'];static get['requires'](){return[_0x4c838d];}['_isEditable'];constructor(_0x403ba3){super(_0x403ba3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x47bbf5){const _0x2e3e51=G(_0x47bbf5);return _0x3fa895=>!(!_0x3fa895||!_0x3fa895['is']('element','imageBlock')&&!_0x3fa895['is']('element','imageInline'))&&(!!_0x3fa895['hasAttribute']('uploadcareImageId')||!!_0x3fa895['hasAttribute']('src')&&_0x2e3e51(_0x3fa895['getAttribute']('src')));}(_0x403ba3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x248cdf=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x248cdf);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x59e0e0=this['editor']['model']['document']['selection']['getSelectedElement']();_0x59e0e0&&(_0x59e0e0['is']('element','imageBlock')||_0x59e0e0['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4c838d),_0x59e0e0),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x171c79{['refresh'](){const _0x2edb2f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2edb2f&&(_0x2edb2f['is']('element','imageBlock')||_0x2edb2f['is']('element','imageInline')));}['execute'](_0x1c948e){const _0x20d91a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xb695e3=>{_0xb695e3['setAttributes'](_0x1c948e,_0x20d91a),_0xb695e3['removeAttribute']('srcset',_0x20d91a),_0xb695e3['removeAttribute']('sizes',_0x20d91a);});}}class m extends _0x51aeb2{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3307fe,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x15c1da}=this;_0x15c1da['commands']['add']('uploadcareImageEdit',new O(_0x15c1da)),_0x15c1da['commands']['add']('uploadcareImageReplace',new R(_0x15c1da));}}class g extends _0x51aeb2{['_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 _0x3bf157=this['editor'];_0x3bf157['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4ef31f=>{const _0x5ad90d=_0x3bf157['commands']['get']('uploadcareImageEdit'),_0x2fed58=new _0x301bef(_0x4ef31f),t=_0x4ef31f['t'];return _0x2fed58['set']({'icon':_0x2b2768,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2fed58['bind']('isEnabled')['to'](_0x5ad90d),_0x2fed58['bind']('isOn')['to'](_0x5ad90d,'isActive'),this['listenTo'](_0x2fed58,'execute',()=>{_0x3bf157['execute']('uploadcareImageEdit'),_0x3bf157['editing']['view']['focus']();}),_0x2fed58;}),this['_initConfig']();}['_initConfig'](){const _0x384ec6=_0x546f48(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x384ec6),this['listenTo'](this['editor'],'destroy',()=>{_0x384ec6['remove']();});}}class et extends _0x51aeb2{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};
23
+ import{Plugin as _0x64b0c1,Command as _0x72b6b2}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x326dd2,IconGooglePhotos as _0x1479f7,IconGoogleDrive as _0x1bb7d9,IconFacebook as _0x29f3ee,IconDropbox as _0x48b100,IconUploadcareLink as _0xe76c7,IconUploadcareImageUpload as _0x22d28a,IconError as _0x2adfbd,IconUploadcareImageEdit as _0x58ca3d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x27a69a,MenuBarMenuListItemButtonView as _0x445781,View as _0x23c78f,FocusCycler as _0x19366d,Dialog as _0x52292b,DialogViewPosition as _0x2d9095,SpinnerView as _0xfe3083,IconView as _0x186825,Notification as _0x4e4d60}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3f8e93,DomEmitterMixin as _0x2234ac,global as _0x10af84,getAncestors as _0x2f12f9,ObservableMixin as _0xedee2c,uid as _0x785288,createElement as _0x3d42f0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x4275fb}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3ca124,info as _0x4d3be6}from'@uploadcare/upload-client';import*as _0x1df517 from'@uploadcare/file-uploader';var i=function(_0x25bc6d){return _0x25bc6d['Local']='local',_0x25bc6d['URL']='url',_0x25bc6d['Dropbox']='dropbox',_0x25bc6d['GDrive']='gdrive',_0x25bc6d['Facebook']='facebook',_0x25bc6d['GPhotos']='gphotos',_0x25bc6d['OneDrive']='onedrive',_0x25bc6d;}({});function _(_0x25bec8,_0x535800,_0x53199f){const t=_0x25bec8['t'],_0x44fd96=_0x25bec8['t'];switch(_0x535800){case i['Local']:return{'text':_0x44fd96('Insert'===_0x53199f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x44fd96('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x53199f?_0x44fd96('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x44fd96('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x53199f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x53199f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x53199f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x53199f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x53199f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x535800;}}class e extends _0x64b0c1{['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 _0x518837=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xeaf16f;for(const _0xf21762 in _0x518837){const _0x56d052=_0xf21762,_0x4ac063=_0x518837[_0x56d052];if('uploadcareLicenseKeyValid'==_0x4ac063||'uploadcareLicenseKeyInvalid'==_0x4ac063||'uploadcareLicenseKeyExpired'==_0x4ac063||'uploadcareLicenseKeyDomainLimit'==_0x4ac063||'uploadcareLicenseKeyNotAllowed'==_0x4ac063||'uploadcareLicenseKeyEvaluationLimit'==_0x4ac063||'uploadcareLicenseKeyTrialLimit'==_0x4ac063||'uploadcareLicenseKeyUsageLimit'==_0x4ac063){delete _0x518837[_0x56d052],_0xeaf16f=_0x4ac063,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xeaf16f&&_0x518837['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xeaf16f&&_0x518837['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xeaf16f&&_0x518837['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xeaf16f&&_0x518837['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xeaf16f&&_0x518837['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xeaf16f&&_0x518837['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xeaf16f&&_0x518837['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4ff194}=this,_0x590af2=_0x4ff194['commands']['get']('uploadcare');if(!_0x590af2)return;const _0x4e6b4e=this['_normalizeConfigSourceList'](_0x4ff194['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x411b88,_0x25e532)=>{const _0x3226bb=this['_getIntegrationKey'](_0x25e532['type']);return _0x411b88[_0x3226bb]||(_0x411b88[_0x3226bb]=[]),_0x411b88[_0x3226bb]['push'](_0x25e532),_0x411b88;},{});_0x4ff194['plugins']['has']('ImageInsertUI')&&_0x4ff194['commands']['get']('uploadcare')&&Object['entries'](_0x4e6b4e)['forEach'](([_0x79557e,_0x37c740])=>{_0x4ff194['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x79557e,'observable':()=>_0x590af2,'buttonViewCreator':()=>this['_createToolbarButton'](_0x37c740),'formViewCreator':()=>this['_createDropdownButtons'](_0x37c740),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x37c740),'override':'assetManager'!==_0x79557e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3d14fb){const {locale:_0xa603ef}=this['editor'];return _0x3d14fb['map'](_0x4c1d7f=>{const _0x1c65d4=_(_0xa603ef,_0x4c1d7f,'Insert');switch(_0x4c1d7f){case i['Local']:return{'icon':_0x22d28a,'type':i['Local'],..._0x1c65d4};case i['URL']:return{'icon':_0xe76c7,'type':i['URL'],..._0x1c65d4};case i['Dropbox']:return{'icon':_0x48b100,'type':i['Dropbox'],..._0x1c65d4};case i['Facebook']:return{'icon':_0x29f3ee,'type':i['Facebook'],..._0x1c65d4};case i['GDrive']:return{'icon':_0x1bb7d9,'type':i['GDrive'],..._0x1c65d4};case i['GPhotos']:return{'icon':_0x1479f7,'type':i['GPhotos'],..._0x1c65d4};case i['OneDrive']:return{'icon':_0x326dd2,'type':i['OneDrive'],..._0x1c65d4};}});}['_getIntegrationKey'](_0x23bec6){switch(_0x23bec6){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1ab45c,_0x3a0256){const _0x5375b0=this['editor'],_0x15d667=new _0x1ab45c(_0x5375b0['locale']),_0x45df61=_0x5375b0['commands']['get']('uploadcare');return _0x15d667['bind']('isEnabled')['to'](_0x45df61),_0x15d667['on']('execute',()=>{_0x45df61['execute'](_0x3a0256);}),_0x15d667;}['_createToolbarButton'](_0x40461e){const {locale:_0x110ddc}=this['editor'],_0x9ca74c=this['editor']['plugins']['get']('ImageInsertUI'),_0x2f31db=_0x40461e[0x0],_0x5eb809=this['_createButton'](_0x27a69a,_0x2f31db['type']);return _0x5eb809['icon']=_0x2f31db['icon'],_0x5eb809['bind']('label')['to'](_0x9ca74c,'isImageSelected',_0x26da9e=>_(_0x110ddc,_0x2f31db['type'],_0x26da9e?'Replace':'Insert')['text']),_0x5eb809['tooltip']=!0x0,_0x5eb809;}['_createDropdownButtons'](_0x3b4c49){const {locale:_0x42c371}=this['editor'],_0x5ae313=this['editor']['plugins']['get']('ImageInsertUI');return _0x3b4c49['map'](_0x3e15c8=>{const _0x593308=this['_createButton'](_0x27a69a,_0x3e15c8['type']);return _0x593308['withText']=!0x0,_0x593308['icon']=_0x3e15c8['icon'],_0x593308['bind']('label')['to'](_0x5ae313,'isImageSelected',_0x16c448=>_(_0x42c371,_0x3e15c8['type'],_0x16c448?'Replace':'Insert')['text']),_0x593308;});}['_createMenuBarButtons'](_0x5b062d){return _0x5b062d['map'](_0x167db7=>{const _0x267389=this['_createButton'](_0x445781,_0x167db7['type']);return _0x267389['icon']=_0x167db7['icon'],_0x267389['label']=_0x167db7['shortText'],_0x267389;});}}class F extends _0x23c78f{['focusTracker'];['focusCycler'];constructor(_0x3869cf){super(_0x3869cf),this['focusTracker']=new _0x3f8e93(),this['focusCycler']=new _0x19366d({'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(_0x1f5437,_0xccbb4e){super(_0x1f5437),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-'+_0xccbb4e}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x48264f,_0x56668c){const _0x19684b=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x42d645=>_0x42d645<=_0x56668c)['map'](_0x622f67=>_0x48264f['replace'](/\/$/,'')+'/-/resize/'+_0x622f67+'x/\x20'+_0x622f67+'w');return{'imageFallbackUrl':_0x48264f,'imageSources':[{'srcset':_0x19684b['join'](',\x20'),'sizes':'(max-width:\x20'+_0x56668c+'px)\x20100vw,\x20'+_0x56668c+'px','type':'image/webp'}]};}function C(_0x3bb390,_0x505a13,_0x481ee4){const _0x3b132c=_0x3bb390['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3b132c?parseInt(_0x3b132c[0x1],0xa):_0x505a13,'height':_0x3b132c?parseInt(_0x3b132c[0x2],0xa):_0x481ee4};}function p(_0x18a6ce,_0x212b74){const _0x4558fe=new(_0x2234ac())(),_0x2b8ba4=_0x18a6ce['plugins']['get']('ImageUtils'),_0x433cdc=_0x18a6ce['editing']['mapper']['toViewElement'](_0x212b74),_0x5e4324=_0x2b8ba4['findViewImgElement'](_0x433cdc),_0x5e49c6=_0x18a6ce['editing']['view']['domConverter']['viewToDom'](_0x5e4324),_0x29370d=_0x212b74['getAttribute']('width'),_0x4d3424=_0x212b74['getAttribute']('height'),_0x2aca72='image-processing';_0x18a6ce['editing']['view']['change'](_0x36faf8=>{_0x36faf8['addClass'](_0x2aca72,_0x433cdc),_0x36faf8['setStyle']('aspect-ratio',_0x29370d+'/'+_0x4d3424,_0x5e4324);}),_0x4558fe['listenTo'](_0x5e49c6,'load',()=>{_0x4558fe['stopListening'](_0x5e49c6,'load'),_0x18a6ce['editing']['view']['change'](_0x135af2=>{_0x135af2['removeClass'](_0x2aca72,_0x433cdc),_0x135af2['removeStyle']('aspect-ratio',_0x5e4324);});});}function G(_0x286b44){if(Array['isArray'](_0x286b44)){const _0x1ed5f2=_0x286b44['map'](G);return _0x3640a2=>_0x1ed5f2['some'](_0x573661=>_0x573661(_0x3640a2));}if('origin'==_0x286b44){const _0x4350b7=_0x10af84['window']['location']['origin'];return _0x2e7036=>new URL(_0x2e7036,_0x10af84['document']['baseURI'])['origin']==_0x4350b7;}return'function'==typeof _0x286b44?_0x286b44:_0x286b44 instanceof RegExp?_0x215f9a=>!(!_0x215f9a['match'](_0x286b44)&&!_0x215f9a['replace'](/^https?:\/\//,'')['match'](_0x286b44)):()=>!0x1;}function S(_0x172112,_0x38c345){return _0x2f12f9(_0x172112['target'])['includes'](_0x38c345);}class n extends/* #__PURE__ -- @preserve */
24
+ _0xedee2c(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x9757e6,_0x273f1e,_0x5dc216){super(),this['_editor']=_0x9757e6,this['_editing']=_0x273f1e,this['_dialog']=_0x9757e6['plugins']['get'](_0x52292b),this['_api']=_0x273f1e['ctxElement']['getAPI'](),this['_type']=_0x5dc216,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:_0x56645e,model:_0x20449f}=this['_editor'],_0x463142=_0x20449f['document']['selection']['getSelectedElement'](),_0xef2291=_0x463142&&(_0x463142['is']('element','imageBlock')||_0x463142['is']('element','imageInline'));this['_formView']=new x(_0x56645e,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x22d28a,'title':_(_0x56645e,this['_type'],_0xef2291?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2d9095['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x103aee=>!S(_0x103aee,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2e4592}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x142dc5=>{const _0x5971cd=_0x2e4592['length'];for(const _0x509ebf of _0x2e4592){const _0x23ab1a=_0x509ebf===_0x2e4592[_0x5971cd-0x1],{cdnUrl:_0x1bac7a,fileInfo:_0x376589}=_0x509ebf;if(!_0x1bac7a||!_0x376589)continue;const {width:_0x2bfbb1,height:_0x426e4e}=_0x376589['imageInfo'],_0x51c395=C(_0x1bac7a,_0x2bfbb1,_0x426e4e),_0x162cff=k(_0x1bac7a,_0x51c395['width']),_0x562ef4={'id':_0x376589['uuid'],'type':'image','attributes':{'imageDimension':_0x51c395,..._0x162cff}};this['_insertAsset'](_0x562ef4,_0x23ab1a,_0x142dc5);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x4f9847=>{'idle'===_0x4f9847['detail']['status']&&!_0x4f9847['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x108377,_0xf21724,_0x7ca8cc){const _0x4bbe8b=this['_editor']['model']['document']['selection'],_0xf0e9c9=_0x4bbe8b['getSelectedElement'](),_0x321965=!(!_0xf0e9c9||!_0xf0e9c9['is']('element','imageInline'));_0x7ca8cc['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x108377,_0x321965),_0xf21724||_0x7ca8cc['setSelection'](_0x4bbe8b['getLastPosition']());}['_insertImage'](_0x2c139c,_0x5a0770){const _0x2509f6=this['_editor'],{imageDimension:_0x5e8d4b,imageFallbackUrl:_0x5ec444,imageSources:_0x2f3a30}=_0x2c139c['attributes'];_0x2509f6['execute']('insertImage',{'imageType':_0x5a0770?'imageInline':null,'source':{'uploadcareImageId':_0x2c139c['id'],'src':_0x5ec444,'sources':_0x2f3a30,..._0x5e8d4b}});}}class w extends _0x72b6b2{['_editing'];['_controller']=null;static get['requires'](){return[_0x52292b,o];}constructor(_0x16c06b){super(_0x16c06b),this['_editing']=_0x16c06b['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xc16f5f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0xc16f5f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x1e0d1c,publicKey:_0x3d7575,signal:_0x4b3b2d,onProgress:_0x48a81e}){return _0x3ca124(_0x1e0d1c,{'publicKey':_0x3d7575,'store':'auto','signal':_0x4b3b2d,'onProgress':_0x48a81e});}static['getInfo'](_0x342df3,_0x14af1c){return _0x4d3be6(_0x342df3,_0x14af1c);}}class f extends _0x64b0c1{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4275fb,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2b54a9=this['editor'];if(!!!_0x2b54a9['config']['get']('uploadcare'))return;_0x2b54a9['plugins']['get'](_0x4275fb)['createUploadAdapter']=_0x482341=>new A(_0x482341,_0x2b54a9),_0x2b54a9['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3e5ba4,{imageElement:_0x4de7b4,data:_0x40c969})=>{_0x2b54a9['model']['change'](_0x58a86a=>{_0x58a86a['setAttribute']('uploadcareImageId',_0x40c969['uploadcareImageId'],_0x4de7b4);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x1e0ee1,_0x43e067){this['loader']=_0x1e0ee1,this['editor']=_0x43e067,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x792977=this['editor']['config']['get']('uploadcare.pubkey'),_0x2c8926=await this['loader']['file'];return j['upload']({'file':_0x2c8926,'publicKey':_0x792977,'signal':this['controller']['signal'],'onProgress':_0x2219a3=>{_0x2219a3&&_0x2219a3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2219a3['value']);}})['then'](async _0x1739b4=>{const {imageFallbackUrl:_0x39b806,imageSources:_0xf25914}=k(_0x1739b4['cdnUrl'],_0x1739b4['imageInfo']['width']);return{'uploadcareImageId':_0x1739b4['uuid'],'default':_0x39b806,'sources':_0xf25914};})['catch'](()=>{const _0x4bcfcc=t('Cannot\x20upload\x20file:')+('\x20'+_0x2c8926['name']+'.');return Promise['reject'](_0x4bcfcc);});}['abort'](){this['controller']['abort']();}}class o extends _0x64b0c1{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x52292b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x40b2ff){super(_0x40b2ff),this['ucContextId']=_0x785288();}['init'](){const _0xd049c3=this['editor'];_0xd049c3['commands']['add']('uploadcare',new w(_0xd049c3));}['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 _0x47eb70=_0x10af84['document']['querySelector']('input[uploadcare-file-input]');_0x47eb70&&_0x47eb70['remove']();}),async function(_0x3ef055){const _0x68d2a6=_0x16e652([0x59,0x58,0x54,0x67,0x61,0x32,0x46,0x43,0x62,0x55,0x77,0x38,0x71,0x56,0x34,0x68,0x69,0x5a,0x50,0x51,0x4f,0x75,0x41,0x73,0x57,0x33,0x30,0x4c,0x49,0x47,0x4b,0x79,0x39,0x6f,0x53,0x6a,0x6b,0x72,0x42,0x45,0x44,0x6e,0x63,0x4a,0x64,0x78,0x48,0x31,0x76,0x37,0x66,0x74,0x35,0x52,0x4e,0x65,0x6d,0x6c,0x36,0x70,0x4d,0x7a]),_0x543263=0x44c8bb75,_0xd2822d=0x44cfd0b5^_0x543263,_0x507da4=window[_0x16e652([0x44,0x61,0x74,0x65])][_0x16e652([0x6e,0x6f,0x77])](),_0x2aa29d=_0x3ef055[_0x16e652([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2bf663=new window[(_0x16e652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f7801=>{_0x2aa29d[_0x16e652([0x6f,0x6e,0x63,0x65])](_0x16e652([0x72,0x65,0x61,0x64,0x79]),_0x3f7801);}),_0x43ea2a={[_0x16e652([0x6b,0x74,0x79])]:_0x16e652([0x45,0x43]),[_0x16e652([0x75,0x73,0x65])]:_0x16e652([0x73,0x69,0x67]),[_0x16e652([0x63,0x72,0x76])]:_0x16e652([0x50,0x2d,0x32,0x35,0x36]),[_0x16e652([0x78])]:_0x16e652([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]),[_0x16e652([0x79])]:_0x16e652([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]),[_0x16e652([0x61,0x6c,0x67])]:_0x16e652([0x45,0x53,0x32,0x35,0x36])},_0x180ac=_0x2aa29d[_0x16e652([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16e652([0x67,0x65,0x74])](_0x16e652([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x7e2959(){let _0x4978cd,_0x3485bd=null,_0x330032=null;try{if(_0x180ac==_0x16e652([0x47,0x50,0x4c]))return _0x16e652([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4978cd=_0xa3db92(),!_0x4978cd)return _0x16e652([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4978cd[_0x16e652([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x330032=_0x43e355(_0x4978cd[_0x16e652([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4978cd[_0x16e652([0x6a,0x74,0x69])])),await _0x4b78e5()?_0x2e13fd()?_0x51c1e8()?_0x16e652([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x139c1c()?(_0x4978cd[_0x16e652([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16e652([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3485bd=_0x32fe79(_0x16e652([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4978cd[_0x16e652([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16e652([0x74,0x72,0x69,0x61,0x6c])&&(_0x3485bd=_0x32fe79(_0x16e652([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4219cd()):_0x16e652([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16e652([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16e652([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16e652([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x51c1e8(){const _0xab477f=[_0x16e652([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16e652([0x74,0x72,0x69,0x61,0x6c])][_0x16e652([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4978cd[_0x16e652([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x507da4/0x3e8:0xe10*_0xd2822d;return _0x4978cd[_0x16e652([0x65,0x78,0x70])]<_0xab477f;}function _0x2e13fd(){const _0x265220=_0x4978cd[_0x16e652([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x265220&&(!!_0x265220[_0x16e652([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e652([0x2a]))||!!_0x265220[_0x16e652([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e652([0x55,0x50,0x4c,0x43])));}function _0x139c1c(){const _0x3b19d0=_0x4978cd[_0x16e652([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3b19d0||0x0==_0x3b19d0[_0x16e652([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3e36cd}=new URL(window[_0x16e652([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3b19d0[_0x16e652([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e36cd))return!0x0;const _0x364b75=_0x3e36cd[_0x16e652([0x73,0x70,0x6c,0x69,0x74])](_0x16e652([0x2e]));return _0x3b19d0[_0x16e652([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55f546=>_0x55f546[_0x16e652([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e652([0x2a])))[_0x16e652([0x6d,0x61,0x70])](_0x454a87=>_0x454a87[_0x16e652([0x73,0x70,0x6c,0x69,0x74])](_0x16e652([0x2e])))[_0x16e652([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8e8bb1=>_0x8e8bb1[_0x16e652([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x364b75[_0x16e652([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16e652([0x6d,0x61,0x70])](_0x1d03f4=>Array(_0x364b75[_0x16e652([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1d03f4[_0x16e652([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16e652([0x66,0x69,0x6c,0x6c])](_0x1d03f4[0x0]===_0x16e652([0x2a])?_0x16e652([0x2a]):'')[_0x16e652([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1d03f4))[_0x16e652([0x73,0x6f,0x6d,0x65])](_0x2bbbff=>_0x364b75[_0x16e652([0x65,0x76,0x65,0x72,0x79])]((_0x53246a,_0xb8cca7)=>_0x2bbbff[_0xb8cca7]===_0x53246a||_0x2bbbff[_0xb8cca7]===_0x16e652([0x2a])));}function _0x4219cd(){return _0x3485bd&&_0x330032?new window[(_0x16e652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cf255,_0x540abf)=>{_0x3485bd[_0x16e652([0x74,0x68,0x65,0x6e])](_0x1cf255,_0x540abf),_0x330032[_0x16e652([0x74,0x68,0x65,0x6e])](_0x13dbf0=>{_0x13dbf0!=_0x16e652([0x56,0x61,0x6c,0x69,0x64])&&_0x1cf255(_0x13dbf0);},_0x540abf);}):_0x3485bd||_0x330032||_0x16e652([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43e355(_0xbd4ffc,_0x1f33f0){return new window[(_0x16e652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e26d7=>{if(_0x15de6b())return _0x4e26d7(_0x16e652([0x56,0x61,0x6c,0x69,0x64]));_0x3b5953(),_0x2aa29d[_0x16e652([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16e652([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xef4d8b=!0x1;const _0xea329=_0x785288();function _0x103657(_0x1e4185){return!!_0x1e4185&&(typeof _0x1e4185===_0x16e652([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1e4185===_0x16e652([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1e4185[_0x16e652([0x74,0x68,0x65,0x6e])]===_0x16e652([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1e4185[_0x16e652([0x63,0x61,0x74,0x63,0x68])]===_0x16e652([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29074e(_0x3185e6){_0x524507(_0x3185e6)[_0x16e652([0x74,0x68,0x65,0x6e])](_0x540950=>{if(!_0x540950||_0x540950[_0x16e652([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16e652([0x6f,0x6b]))return _0x16e652([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f0f31(_0x1b1369(_0xea329+_0x1f33f0))!=_0x540950[_0x16e652([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16e652([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16e652([0x56,0x61,0x6c,0x69,0x64]);})[_0x16e652([0x74,0x68,0x65,0x6e])](_0x2381fb=>(_0x3ffb4d(),_0x2381fb),()=>{const _0x434bb8=_0x489372();return null==_0x434bb8?(_0x3ffb4d(),_0x16e652([0x56,0x61,0x6c,0x69,0x64])):_0x16e652(_0x507da4-_0x434bb8>(0x60c43f75^_0x543263)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16e652([0x74,0x68,0x65,0x6e])](_0x4e26d7)[_0x16e652([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e26d7(_0x16e652([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x37ec2b=0x44fe55f5^_0x543263;function _0x3ffb4d(){const _0x1c4082=_0x16e652([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f0f31(_0x1b1369(_0xbd4ffc)),_0x4e17ce=_0x52b718(_0x2f0f31(window[_0x16e652([0x4d,0x61,0x74,0x68])][_0x16e652([0x63,0x65,0x69,0x6c])](_0x507da4/_0x37ec2b)));window[_0x16e652([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16e652([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c4082,_0x4e17ce);}function _0x489372(){const _0x4c9ed3=_0x16e652([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f0f31(_0x1b1369(_0xbd4ffc)),_0x48784b=window[_0x16e652([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16e652([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c9ed3);return _0x48784b?window[_0x16e652([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52b718(_0x48784b),0x10)*_0x37ec2b:null;}function _0x524507(_0x1f404e){return new window[(_0x16e652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x500f8d,_0x28db99)=>{_0x1f404e[_0x16e652([0x74,0x68,0x65,0x6e])](_0x500f8d,_0x28db99),window[_0x16e652([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x28db99,0x44c96fb5^_0x543263);});}}_0x2aa29d[_0x16e652([0x6f,0x6e])](_0x16e652([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d7c87,_0x56cad2)=>{if(_0x56cad2[0x0]!=_0xbd4ffc)return _0x4e26d7(_0x16e652([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x56cad2[0x1]={..._0x56cad2[0x1],[_0x16e652([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xea329};},{[_0x16e652([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16e652([0x68,0x69,0x67,0x68])}),_0x2aa29d[_0x16e652([0x6f,0x6e])](_0x16e652([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x521240=>{_0x103657(_0x521240[_0x16e652([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xef4d8b=!0x0,_0x29074e(_0x521240[_0x16e652([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16e652([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16e652([0x6c,0x6f,0x77])}),_0x2bf663[_0x16e652([0x74,0x68,0x65,0x6e])](()=>{_0xef4d8b||_0x4e26d7(_0x16e652([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x15de6b(){return _0x2aa29d[_0x16e652([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16e652([0x76,0x69,0x65,0x77])][_0x16e652([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16e652([0x61,0x75,0x74,0x6f]);}function _0x3b5953(){_0x2aa29d[_0x16e652([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16e652([0x76,0x69,0x65,0x77])][_0x16e652([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16e652([0x61,0x75,0x74,0x6f]);}}function _0x32fe79(_0x550380){const _0x1b1e66=[new window[(_0x16e652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x659599=>setTimeout(_0x659599,0x44c185b9^_0x543263)),_0x2bf663[_0x16e652([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16e652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xccb9a0=>{let _0x1f9c70=0x0;_0x2aa29d[_0x16e652([0x6d,0x6f,0x64,0x65,0x6c])][_0x16e652([0x6f,0x6e])](_0x16e652([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e8da7,_0x3ffc35)=>{_0x3ffc35[0x0][_0x16e652([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1f9c70++,_0x1f9c70==(0x44c8ba8d^_0x543263)&&(_0xccb9a0(),_0x3e8da7[_0x16e652([0x6f,0x66,0x66])]());});}))];return window[_0x16e652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16e652([0x72,0x61,0x63,0x65])](_0x1b1e66)[_0x16e652([0x74,0x68,0x65,0x6e])](()=>_0x550380);}async function _0x4925f4(){await _0x2bf663,_0x2aa29d[_0x16e652([0x6d,0x6f,0x64,0x65,0x6c])][_0x16e652([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x46cfb4,_0x2aa29d[_0x16e652([0x6d,0x6f,0x64,0x65,0x6c])][_0x16e652([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x46cfb4,_0x2aa29d[_0x16e652([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16e652([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3bfa0c(_0x5739e4){const _0x262f1c=_0x59825f();_0x2aa29d[_0x262f1c]=_0x16e652([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5739e4,_0x5739e4!=_0x16e652([0x56,0x61,0x6c,0x69,0x64])&&_0x4925f4();}function _0x59825f(){const _0x2dba9b=window[_0x16e652([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16e652([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16e652([0x6e,0x6f,0x77])]())[_0x16e652([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16e652([0x2e]),'');let _0x130af9=_0x16e652([0x59]);for(let _0x3aec70=0x0;_0x3aec70<_0x2dba9b[_0x16e652([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3aec70+=0x2){let _0x5b6acf=window[_0x16e652([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2dba9b[_0x16e652([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3aec70,_0x3aec70+0x2));_0x5b6acf>=_0x68d2a6[_0x16e652([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b6acf-=_0x68d2a6[_0x16e652([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x130af9+=_0x68d2a6[_0x5b6acf];}return _0x130af9;}function _0xa3db92(){const _0x401a98=_0x180ac[_0x16e652([0x73,0x70,0x6c,0x69,0x74])](_0x16e652([0x2e]));if(0x3!=_0x401a98[_0x16e652([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x49b162(_0x401a98[0x1]);function _0x49b162(_0x187fff){const _0x231c96=_0x4fd573(_0x187fff);return _0x231c96&&_0x102944()?_0x231c96:null;function _0x102944(){const _0x53a8b0=_0x231c96[_0x16e652([0x6a,0x74,0x69])],_0x2b8cc0=window[_0x16e652([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53a8b0[_0x16e652([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53a8b0[_0x16e652([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x537e7e={..._0x231c96,[_0x16e652([0x6a,0x74,0x69])]:_0x53a8b0[_0x16e652([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53a8b0[_0x16e652([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x537e7e[_0x16e652([0x76,0x63])],_0x1b1369(_0x537e7e)==_0x2b8cc0;}}}async function _0x4b78e5(){let _0x9a3186=!0x0;try{const _0x4c8edd=_0x180ac[_0x16e652([0x73,0x70,0x6c,0x69,0x74])](_0x16e652([0x2e])),[_0xd400ef,_0x15c98f,_0x1b8c03]=_0x4c8edd;return _0x435505(_0xd400ef),await _0x351362(_0xd400ef,_0x15c98f,_0x1b8c03),_0x9a3186;}catch{return!0x1;}function _0x435505(_0x3642e9){const _0x1db91b=_0x4fd573(_0x3642e9);_0x1db91b&&_0x1db91b[_0x16e652([0x61,0x6c,0x67])]==_0x16e652([0x45,0x53,0x32,0x35,0x36])||(_0x9a3186=!0x1);}async function _0x351362(_0x517ea5,_0x4d5eb6,_0x1fddb7){const _0x35f83c=window[_0x16e652([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16e652([0x66,0x72,0x6f,0x6d])](_0x452a91(_0x1fddb7),_0x2ae095=>_0x2ae095[_0x16e652([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x162493=new window[(_0x16e652([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16e652([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x517ea5+_0x16e652([0x2e])+_0x4d5eb6),_0x36800c=window[_0x16e652([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16e652([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36800c)return;const _0x5e0781=await _0x36800c[_0x16e652([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16e652([0x6a,0x77,0x6b]),_0x43ea2a,{[_0x16e652([0x6e,0x61,0x6d,0x65])]:_0x16e652([0x45,0x43,0x44,0x53,0x41]),[_0x16e652([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16e652([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16e652([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36800c[_0x16e652([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16e652([0x6e,0x61,0x6d,0x65])]:_0x16e652([0x45,0x43,0x44,0x53,0x41]),[_0x16e652([0x68,0x61,0x73,0x68])]:{[_0x16e652([0x6e,0x61,0x6d,0x65])]:_0x16e652([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e0781,_0x35f83c,_0x162493)||(_0x9a3186=!0x1);}}function _0x4fd573(_0x426614){return _0x426614[_0x16e652([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16e652([0x65,0x79]))?JSON[_0x16e652([0x70,0x61,0x72,0x73,0x65])](_0x452a91(_0x426614)):null;}function _0x452a91(_0x2ad676){return window[_0x16e652([0x61,0x74,0x6f,0x62])](_0x2ad676[_0x16e652([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16e652([0x2b]))[_0x16e652([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16e652([0x2f])));}function _0x1b1369(_0x332533){let _0x4de73e=0x1505;function _0x5fad75(_0x12ccd9){for(let _0x138fe5=0x0;_0x138fe5<_0x12ccd9[_0x16e652([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x138fe5++){const _0x26f84d=_0x12ccd9[_0x16e652([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x138fe5);_0x4de73e=(_0x4de73e<<0x5)+_0x4de73e+_0x26f84d,_0x4de73e&=_0x4de73e;}}function _0x23ff51(_0x15937b){Array[_0x16e652([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x15937b)?_0x15937b[_0x16e652([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x23ff51):_0x15937b&&typeof _0x15937b==_0x16e652([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16e652([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x15937b)[_0x16e652([0x73,0x6f,0x72,0x74])]()[_0x16e652([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f669b,_0x52bb06])=>{_0x5fad75(_0x1f669b),_0x23ff51(_0x52bb06);}):_0x5fad75(window[_0x16e652([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x15937b));}return _0x23ff51(_0x332533),_0x4de73e>>>0x0;}function _0x2f0f31(_0x59f129){return _0x59f129[_0x16e652([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16e652([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16e652([0x30]));}function _0x52b718(_0x52b091){return _0x52b091[_0x16e652([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16e652([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16e652([0x6a,0x6f,0x69,0x6e])]('');}function _0x46cfb4(){}function _0x16e652(_0x3df4a5){return _0x3df4a5['map'](_0x4c0043=>String['fromCharCode'](_0x4c0043))['join']('');}_0x3bfa0c(await _0x7e2959());}(this);}['_initSchema'](){const _0x5ab6b4=this['editor']['model']['schema'];_0x5ab6b4['isRegistered']('imageBlock')&&_0x5ab6b4['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5ab6b4['isRegistered']('imageInline')&&_0x5ab6b4['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4bef5c=this['editor'];_0x4bef5c['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4bef5c['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x16b365=>_0x16b365['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5d9f7c=_0x4bef5c['commands']['get']('replaceImageSource');_0x5d9f7c&&this['listenTo'](_0x5d9f7c,'cleanupImage',(_0x36b102,[_0x180c63,_0x198689])=>{_0x180c63['removeAttribute']('uploadcareImageId',_0x198689);});}['_initConfig'](){const _0x14dd48=this['editor']['config']['get']('uploadcare.uploader')||{},_0x24dba1=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3d42f0(_0x10af84['document'],'uc-config',{..._0x14dd48,'pubkey':_0x24dba1,'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']=_0x411eb1=>{if('closeMax'==_0x411eb1)return'#uc-icon-arrow-down';},_0x10af84['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3d42f0(_0x10af84['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x10af84['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x12a687=this['editor']['commands']['get']('insertImage');_0x12a687&&this['listenTo'](_0x12a687,'execute',()=>{const _0x51b09c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x51b09c&&_0x51b09c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x51b09c);});});const _0xa156c5=this['editor']['commands']['get']('uploadcareImageReplace');_0xa156c5&&this['listenTo'](_0xa156c5,'execute',()=>{const _0x252c6b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x252c6b&&_0x252c6b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x252c6b);});});}}class tt extends _0x64b0c1{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5759f5){super(_0x5759f5),_0x5759f5['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x1df517['defineComponents'](_0x1df517);}}class ii extends _0x23c78f{constructor(_0x3d2187){super(_0x3d2187);const t=_0x3d2187['t'],_0x4df89f=this['bindTemplate'],_0x363e18=new _0xfe3083();_0x363e18['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':[_0x363e18,{'text':_0x4df89f['to']('imageUploadProgress',_0x46bf96=>t('Loading\x20image...')+'\x20('+(_0x46bf96||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 _0x23c78f{constructor(_0xe25251){super(_0xe25251);const t=_0xe25251['t'];this['set']('errorType',null);const _0x4ec4c1=new _0x27a69a(_0xe25251);_0x4ec4c1['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4ec4c1['withText']=!0x0,_0x4ec4c1['class']='ck-button-action',_0x4ec4c1['on']('execute',()=>{this['fire']('retry');}),_0x4ec4c1['bind']('isVisible')['to'](this,'errorType',_0x374532=>'NotFound'!==_0x374532);const _0x819c3c=new _0x186825();_0x819c3c['content']=_0x2adfbd,_0x819c3c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2034a8=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':[_0x819c3c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2034a8['to']('errorType',_0x5cc402=>t('NotFound'!==_0x5cc402?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4ec4c1]},{'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 _0x23c78f{constructor(_0xbed8ac,_0x5ca095){super(_0xbed8ac);const _0x4f0ee0=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5ca095,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4f0ee0['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x22c2d7,_0x3f11b1,_0x348597){super(_0x22c2d7),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x22c2d7),this['_errorView']=new ti(_0x22c2d7),this['_editingView']=new ei(_0x22c2d7,_0x348597),this['_focusableView']=new _0x23c78f(_0x22c2d7),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3f11b1),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'],_0x49aea9=>{this['_addUploadcareImageEditorListeners'](_0x49aea9);});}),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'](_0x197c3c,_0x4f21af){const _0x3ea512='uc-cloud-image-editor',_0x40ffd3=_0x197c3c['querySelector'](_0x3ea512);if(_0x40ffd3)return _0x4f21af(_0x40ffd3);const _0x412723=new MutationObserver(_0x3bdf5f=>{const _0xb6356b=_0x3bdf5f['filter'](_0x3bf1cd=>_0x3bf1cd['target']===_0x197c3c&&_0x3bf1cd['addedNodes']['length']>0x0&&_0x3bf1cd['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3ea512);_0xb6356b['length']&&(_0x412723['disconnect'](),_0x4f21af(_0xb6356b[0x0]['addedNodes'][0x0]));});_0x412723['observe'](_0x197c3c,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2785fa){_0x2785fa['addEventListener']('apply',_0x499b8c=>{this['fire']('apply',{'imageSrc':_0x499b8c['detail']['cdnUrl']});}),_0x2785fa['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0xedee2c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5c48cd,_0x2cd1bd,_0x55d1d4){super(),this['_editor']=_0x5c48cd,this['_dialog']=_0x2cd1bd,this['_imageElement']=_0x55d1d4,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 _0x17e21f=this['_imageElement'],_0x2a3d38=_0x17e21f['getAttribute']('uploadcareImageId'),_0x168545=_0x17e21f['getAttribute']('src');if(_0x2a3d38)await this['_loadImageInfo'](_0x2a3d38,_0x168545);else{if(this['_imageCache']['has'](_0x168545)){const _0x1f7f9b=this['_imageCache']['get'](_0x168545);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1f7f9b['url'],this['imageDimension']=_0x1f7f9b['dimension'],this['imageId']=_0x1f7f9b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5e1cde}=this['_editor'],t=_0x5e1cde['t'],_0x5c3c9f=new X(_0x5e1cde,this['imageStatus'],this['_attributes']);_0x5c3c9f['bind']('status')['to'](this,'imageStatus'),_0x5c3c9f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5c3c9f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5c3c9f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5c3c9f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x58ca3d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5c3c9f,'position':_0x2d9095['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5c3c9f['focus']();},'onHide':()=>{_0x5c3c9f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2ac3ea=>!S(_0x2ac3ea,_0x5c3c9f['element'])}});}['_loadImageInfo'](_0x155244,_0x1f6a46){return j['getInfo'](_0x155244,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x443d5e=>{const {width:_0x490b18,height:_0x492164}=_0x443d5e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1f6a46,this['imageDimension']={'width':_0x490b18,'height':_0x492164},this['imageId']=_0x155244;})['catch'](_0x42a324=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x42a324['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4702e3,_0x2c45c6){return this['_getImageAsFile'](_0x4702e3)['then'](_0x2472c0=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2c45c6['signal'],'file':_0x2472c0,'onProgress':_0x291ee8=>{_0x291ee8&&_0x291ee8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x291ee8['value']));}}))['then'](_0x5a5634=>{const {width:_0x57801e,height:_0x3072be}=_0x5a5634['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a5634['cdnUrl'],this['imageDimension']={'width':_0x57801e,'height':_0x3072be},this['imageId']=_0x5a5634['uuid'],this['imageUploadProgress']=null;const _0x342889=_0x4702e3['getAttribute']('src');this['_imageCache']['set'](_0x342889,{'id':_0x5a5634['uuid'],'url':_0x5a5634['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4f4247=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f4247['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x23f0f6,_0x31f8f1){_0x23f0f6['on']('apply',(_0x50ef95,_0x1eca54)=>{this['_replaceImage'](_0x31f8f1,_0x1eca54['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x23f0f6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x23f0f6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5b13c8,_0x1a3b4e,_0xa21207){const _0x3e0b38=this['_editor'],{width:_0x5d8946,height:_0x32b53d}=C(_0x1a3b4e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x48ca10,imageSources:_0xab0a5c}=k(_0x1a3b4e,_0x5d8946);_0x3e0b38['model']['change'](_0x29a1d9=>{if('$graveyard'===_0x5b13c8['root']['rootName']){_0x3e0b38['execute']('insertImage',{'imageType':_0x5b13c8['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5b13c8['getAttributes']()),'uploadcareImageId':_0xa21207,'src':_0x48ca10,'sources':_0xab0a5c,'width':_0x5d8946,'height':_0x32b53d}});const _0x527abb=_0x5b13c8['getChildren']();_0x5b13c8=_0x3e0b38['model']['document']['selection']['getSelectedElement']();for(const _0x4d37ef of _0x527abb)_0x29a1d9['append'](_0x29a1d9['cloneElement'](_0x4d37ef),_0x5b13c8);}else _0x29a1d9['setSelection'](_0x5b13c8,'on'),_0x3e0b38['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5b13c8['getAttributes']()),'uploadcareImageId':_0xa21207,'src':_0x48ca10,'sources':_0xab0a5c,'width':_0x5d8946,'height':_0x32b53d},_0x5b13c8);_0x29a1d9['setSelection'](_0x5b13c8,'on');});}async['_getImageAsFile'](_0xdda1fb){const _0x258170=_0x10af84['window'],_0x2c879f=_0x10af84['document']['location']['href'],_0x272c02=new _0x258170['URL'](_0xdda1fb['getAttribute']('src'),_0x2c879f);if('data:'===_0x272c02['protocol']){const _0x226d20=_0x272c02['href']['split'](','),_0x57cc06=_0x226d20[0x0]['match'](/:(.*?);/)[0x1],_0x587502=_0x57cc06['split']('/')[0x1],_0x5d2e45=_0x258170['atob'](_0x226d20[_0x226d20['length']-0x1]);let _0x18b9a1=_0x5d2e45['length'];const _0x18e02b=new _0x258170['Uint8Array'](_0x18b9a1);for(;_0x18b9a1--;)_0x18e02b[_0x18b9a1]=_0x5d2e45['charCodeAt'](_0x18b9a1);return new _0x258170['File']([_0x18e02b],'image.'+_0x587502,{'type':_0x57cc06});}const _0x2f90ef=_0x272c02['href']['split']('/'),_0x5a26e6=_0x2f90ef[_0x2f90ef['length']-0x1],_0x90a573=_0x5a26e6['split']('.')[0x1];return _0x258170['fetch'](_0x272c02['href'])['then'](_0x34e084=>_0x34e084['clone']()['blob']())['then'](_0x391b58=>new _0x258170['File']([_0x391b58],_0x5a26e6,{'type':'image/'+_0x90a573}));}}class O extends _0x72b6b2{['imageEditController'];static get['requires'](){return[_0x52292b];}['_isEditable'];constructor(_0x22991a){super(_0x22991a),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4169de){const _0x4738ec=G(_0x4169de);return _0x4a24b6=>!(!_0x4a24b6||!_0x4a24b6['is']('element','imageBlock')&&!_0x4a24b6['is']('element','imageInline'))&&(!!_0x4a24b6['hasAttribute']('uploadcareImageId')||!!_0x4a24b6['hasAttribute']('src')&&_0x4738ec(_0x4a24b6['getAttribute']('src')));}(_0x22991a['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x53387d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x53387d);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x25451d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x25451d&&(_0x25451d['is']('element','imageBlock')||_0x25451d['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x52292b),_0x25451d),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x72b6b2{['refresh'](){const _0x4178b0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4178b0&&(_0x4178b0['is']('element','imageBlock')||_0x4178b0['is']('element','imageInline')));}['execute'](_0x3dadce){const _0x312d23=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xf8a281=>{_0xf8a281['setAttributes'](_0x3dadce,_0x312d23),_0xf8a281['removeAttribute']('srcset',_0x312d23),_0xf8a281['removeAttribute']('sizes',_0x312d23);});}}class m extends _0x64b0c1{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x4e4d60,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x413c57}=this;_0x413c57['commands']['add']('uploadcareImageEdit',new O(_0x413c57)),_0x413c57['commands']['add']('uploadcareImageReplace',new R(_0x413c57));}}class g extends _0x64b0c1{['_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 _0x1c3f5d=this['editor'];_0x1c3f5d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4f626f=>{const _0x3e81e7=_0x1c3f5d['commands']['get']('uploadcareImageEdit'),_0xaeeb3a=new _0x27a69a(_0x4f626f),t=_0x4f626f['t'];return _0xaeeb3a['set']({'icon':_0x58ca3d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xaeeb3a['bind']('isEnabled')['to'](_0x3e81e7),_0xaeeb3a['bind']('isOn')['to'](_0x3e81e7,'isActive'),this['listenTo'](_0xaeeb3a,'execute',()=>{_0x1c3f5d['execute']('uploadcareImageEdit'),_0x1c3f5d['editing']['view']['focus']();}),_0xaeeb3a;}),this['_initConfig']();}['_initConfig'](){const _0x23807a=_0x3d42f0(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x23807a),this['listenTo'](this['editor'],'destroy',()=>{_0x23807a['remove']();});}}class et extends _0x64b0c1{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':_0x2daa87=>0x1!=_0x2daa87}};
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':_0x24c5c8=>0x1!=_0x24c5c8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x39cc96=>{const {af:{dictionary:_0x317442,getPluralForm:_0xc10829}}={'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':_0x14c35b=>0x1!=_0x14c35b}};_0x39cc96['af']||={'dictionary':{},'getPluralForm':null},_0x39cc96['af']['dictionary']=Object['assign'](_0x39cc96['af']['dictionary'],_0x317442),_0x39cc96['af']['getPluralForm']=_0xc10829;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x717fef=>{const {af:{dictionary:_0x1a2946,getPluralForm:_0x13612a}}={'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':_0x53358d=>0x1!=_0x53358d}};_0x717fef['af']||={'dictionary':{},'getPluralForm':null},_0x717fef['af']['dictionary']=Object['assign'](_0x717fef['af']['dictionary'],_0x1a2946),_0x717fef['af']['getPluralForm']=_0x13612a;})(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':_0xd993f0=>0x0==_0xd993f0?0x0:0x1==_0xd993f0?0x1:0x2==_0xd993f0?0x2:_0xd993f0%0x64>=0x3&&_0xd993f0%0x64<=0xa?0x3:_0xd993f0%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':_0x40ea87=>0x0==_0x40ea87?0x0:0x1==_0x40ea87?0x1:0x2==_0x40ea87?0x2:_0x40ea87%0x64>=0x3&&_0x40ea87%0x64<=0xa?0x3:_0x40ea87%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4dbd46=>{const {ar:{dictionary:_0x4ea27d,getPluralForm:_0x1df14e}}={'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':_0x5025a3=>0x0==_0x5025a3?0x0:0x1==_0x5025a3?0x1:0x2==_0x5025a3?0x2:_0x5025a3%0x64>=0x3&&_0x5025a3%0x64<=0xa?0x3:_0x5025a3%0x64>=0xb?0x4:0x5}};_0x4dbd46['ar']||={'dictionary':{},'getPluralForm':null},_0x4dbd46['ar']['dictionary']=Object['assign'](_0x4dbd46['ar']['dictionary'],_0x4ea27d),_0x4dbd46['ar']['getPluralForm']=_0x1df14e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xa1a807=>{const {ar:{dictionary:_0x533f66,getPluralForm:_0x594977}}={'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':_0x170f08=>0x0==_0x170f08?0x0:0x1==_0x170f08?0x1:0x2==_0x170f08?0x2:_0x170f08%0x64>=0x3&&_0x170f08%0x64<=0xa?0x3:_0x170f08%0x64>=0xb?0x4:0x5}};_0xa1a807['ar']||={'dictionary':{},'getPluralForm':null},_0xa1a807['ar']['dictionary']=Object['assign'](_0xa1a807['ar']['dictionary'],_0x533f66),_0xa1a807['ar']['getPluralForm']=_0x594977;})(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':_0x4df124=>0x1!=_0x4df124}};
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':_0x372d0b=>0x1!=_0x372d0b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x287360=>{const {ast:{dictionary:_0x3d1e89,getPluralForm:_0x2fe37d}}={'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':_0x15729b=>0x1!=_0x15729b}};_0x287360['ast']||={'dictionary':{},'getPluralForm':null},_0x287360['ast']['dictionary']=Object['assign'](_0x287360['ast']['dictionary'],_0x3d1e89),_0x287360['ast']['getPluralForm']=_0x2fe37d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x38872c=>{const {ast:{dictionary:_0x2cd04f,getPluralForm:_0x3cbb11}}={'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':_0x54aef2=>0x1!=_0x54aef2}};_0x38872c['ast']||={'dictionary':{},'getPluralForm':null},_0x38872c['ast']['dictionary']=Object['assign'](_0x38872c['ast']['dictionary'],_0x2cd04f),_0x38872c['ast']['getPluralForm']=_0x3cbb11;})(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':_0x16cb83=>0x1!=_0x16cb83}};
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':_0x44280a=>0x1!=_0x44280a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x127552=>{const {az:{dictionary:_0x48e7eb,getPluralForm:_0xe9ce48}}={'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':_0x4c0ad2=>0x1!=_0x4c0ad2}};_0x127552['az']||={'dictionary':{},'getPluralForm':null},_0x127552['az']['dictionary']=Object['assign'](_0x127552['az']['dictionary'],_0x48e7eb),_0x127552['az']['getPluralForm']=_0xe9ce48;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x12faed=>{const {az:{dictionary:_0x1a1478,getPluralForm:_0x36df96}}={'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':_0x372f69=>0x1!=_0x372f69}};_0x12faed['az']||={'dictionary':{},'getPluralForm':null},_0x12faed['az']['dictionary']=Object['assign'](_0x12faed['az']['dictionary'],_0x1a1478),_0x12faed['az']['getPluralForm']=_0x36df96;})(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':_0x4647c8=>_0x4647c8%0xa==0x1&&_0x4647c8%0x64!=0xb?0x0:_0x4647c8%0xa>=0x2&&_0x4647c8%0xa<=0x4&&(_0x4647c8%0x64<0xa||_0x4647c8%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':_0x52c572=>_0x52c572%0xa==0x1&&_0x52c572%0x64!=0xb?0x0:_0x52c572%0xa>=0x2&&_0x52c572%0xa<=0x4&&(_0x52c572%0x64<0xa||_0x52c572%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2633c1=>{const {be:{dictionary:_0x4d0f36,getPluralForm:_0x3151c4}}={'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':_0x18ec29=>_0x18ec29%0xa==0x1&&_0x18ec29%0x64!=0xb?0x0:_0x18ec29%0xa>=0x2&&_0x18ec29%0xa<=0x4&&(_0x18ec29%0x64<0xa||_0x18ec29%0x64>=0x14)?0x1:0x2}};_0x2633c1['be']||={'dictionary':{},'getPluralForm':null},_0x2633c1['be']['dictionary']=Object['assign'](_0x2633c1['be']['dictionary'],_0x4d0f36),_0x2633c1['be']['getPluralForm']=_0x3151c4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x32913f=>{const {be:{dictionary:_0x328f2c,getPluralForm:_0x442ff0}}={'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':_0x150779=>_0x150779%0xa==0x1&&_0x150779%0x64!=0xb?0x0:_0x150779%0xa>=0x2&&_0x150779%0xa<=0x4&&(_0x150779%0x64<0xa||_0x150779%0x64>=0x14)?0x1:0x2}};_0x32913f['be']||={'dictionary':{},'getPluralForm':null},_0x32913f['be']['dictionary']=Object['assign'](_0x32913f['be']['dictionary'],_0x328f2c),_0x32913f['be']['getPluralForm']=_0x442ff0;})(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':_0x1c40bd=>0x1!=_0x1c40bd}};
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':_0x461699=>0x1!=_0x461699}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xfdb3ee=>{const {bg:{dictionary:_0x3cddd8,getPluralForm:_0x29651b}}={'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':_0x50a0c8=>0x1!=_0x50a0c8}};_0xfdb3ee['bg']||={'dictionary':{},'getPluralForm':null},_0xfdb3ee['bg']['dictionary']=Object['assign'](_0xfdb3ee['bg']['dictionary'],_0x3cddd8),_0xfdb3ee['bg']['getPluralForm']=_0x29651b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x43ae20=>{const {bg:{dictionary:_0x404f7f,getPluralForm:_0x488593}}={'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':_0x4493ef=>0x1!=_0x4493ef}};_0x43ae20['bg']||={'dictionary':{},'getPluralForm':null},_0x43ae20['bg']['dictionary']=Object['assign'](_0x43ae20['bg']['dictionary'],_0x404f7f),_0x43ae20['bg']['getPluralForm']=_0x488593;})(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':_0x340631=>0x1!=_0x340631}};
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':_0x9be5d8=>0x1!=_0x9be5d8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4cc545=>{const {bn:{dictionary:_0x29bee4,getPluralForm:_0x5b81c4}}={'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':_0x15e335=>0x1!=_0x15e335}};_0x4cc545['bn']||={'dictionary':{},'getPluralForm':null},_0x4cc545['bn']['dictionary']=Object['assign'](_0x4cc545['bn']['dictionary'],_0x29bee4),_0x4cc545['bn']['getPluralForm']=_0x5b81c4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x43cbc6=>{const {bn:{dictionary:_0x2b7ac6,getPluralForm:_0x2c071a}}={'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':_0x5d3cbc=>0x1!=_0x5d3cbc}};_0x43cbc6['bn']||={'dictionary':{},'getPluralForm':null},_0x43cbc6['bn']['dictionary']=Object['assign'](_0x43cbc6['bn']['dictionary'],_0x2b7ac6),_0x43cbc6['bn']['getPluralForm']=_0x2c071a;})(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':_0x5c2fcd=>_0x5c2fcd%0xa==0x1&&_0x5c2fcd%0x64!=0xb?0x0:_0x5c2fcd%0xa>=0x2&&_0x5c2fcd%0xa<=0x4&&(_0x5c2fcd%0x64<0xa||_0x5c2fcd%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':_0x4f5b4d=>_0x4f5b4d%0xa==0x1&&_0x4f5b4d%0x64!=0xb?0x0:_0x4f5b4d%0xa>=0x2&&_0x4f5b4d%0xa<=0x4&&(_0x4f5b4d%0x64<0xa||_0x4f5b4d%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5a05d3=>{const {bs:{dictionary:_0x5d8a6e,getPluralForm:_0x26866d}}={'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':_0x11405a=>_0x11405a%0xa==0x1&&_0x11405a%0x64!=0xb?0x0:_0x11405a%0xa>=0x2&&_0x11405a%0xa<=0x4&&(_0x11405a%0x64<0xa||_0x11405a%0x64>=0x14)?0x1:0x2}};_0x5a05d3['bs']||={'dictionary':{},'getPluralForm':null},_0x5a05d3['bs']['dictionary']=Object['assign'](_0x5a05d3['bs']['dictionary'],_0x5d8a6e),_0x5a05d3['bs']['getPluralForm']=_0x26866d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5f1b51=>{const {bs:{dictionary:_0x3204f5,getPluralForm:_0x738541}}={'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':_0x19ce01=>_0x19ce01%0xa==0x1&&_0x19ce01%0x64!=0xb?0x0:_0x19ce01%0xa>=0x2&&_0x19ce01%0xa<=0x4&&(_0x19ce01%0x64<0xa||_0x19ce01%0x64>=0x14)?0x1:0x2}};_0x5f1b51['bs']||={'dictionary':{},'getPluralForm':null},_0x5f1b51['bs']['dictionary']=Object['assign'](_0x5f1b51['bs']['dictionary'],_0x3204f5),_0x5f1b51['bs']['getPluralForm']=_0x738541;})(window['CKEDITOR_TRANSLATIONS']||={});