@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260105.0 → 0.0.0-nightly-20260106.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 _0x26298a,Command as _0x2f71fe}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0xcdd4e2,IconGooglePhotos as _0xbe40f,IconGoogleDrive as _0x174a4a,IconFacebook as _0x271657,IconDropbox as _0x1cc948,IconUploadcareLink as _0xfdba2e,IconUploadcareImageUpload as _0x21039e,IconError as _0x109435,IconUploadcareImageEdit as _0x31c427}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x20eb05,MenuBarMenuListItemButtonView as _0x3b32fa,View as _0x3c633e,FocusCycler as _0x2d1cdd,Dialog as _0x2d272c,DialogViewPosition as _0x29b8da,SpinnerView as _0x47bd20,IconView as _0x10fc9d,Notification as _0x36b556}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5e8cb3,DomEmitterMixin as _0x528f1e,global as _0x3b163d,getAncestors as _0xde8f8b,ObservableMixin as _0x1549c3,uid as _0x3e4bc9,createElement as _0xf43621}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1ddf6f}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x14d16d,info as _0x55c6e9}from'@uploadcare/upload-client';import*as _0x2443b2 from'@uploadcare/file-uploader';var i=function(_0x5dde4a){return _0x5dde4a['Local']='local',_0x5dde4a['URL']='url',_0x5dde4a['Dropbox']='dropbox',_0x5dde4a['GDrive']='gdrive',_0x5dde4a['Facebook']='facebook',_0x5dde4a['GPhotos']='gphotos',_0x5dde4a['OneDrive']='onedrive',_0x5dde4a;}({});function _(_0x3a9f8b,_0x40f595,_0x212141){const t=_0x3a9f8b['t'],_0x6b77d3=_0x3a9f8b['t'];switch(_0x40f595){case i['Local']:return{'text':_0x6b77d3('Insert'===_0x212141?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x6b77d3('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x212141?_0x6b77d3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x6b77d3('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x212141?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x212141?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x212141?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x212141?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x212141?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x40f595;}}class e extends _0x26298a{['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 _0x3ad480=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x437df8;for(const _0x39b3bd in _0x3ad480){const _0x5c490a=_0x39b3bd,_0x3c530b=_0x3ad480[_0x5c490a];if('uploadcareLicenseKeyValid'==_0x3c530b||'uploadcareLicenseKeyInvalid'==_0x3c530b||'uploadcareLicenseKeyExpired'==_0x3c530b||'uploadcareLicenseKeyDomainLimit'==_0x3c530b||'uploadcareLicenseKeyNotAllowed'==_0x3c530b||'uploadcareLicenseKeyEvaluationLimit'==_0x3c530b||'uploadcareLicenseKeyTrialLimit'==_0x3c530b||'uploadcareLicenseKeyUsageLimit'==_0x3c530b){delete _0x3ad480[_0x5c490a],_0x437df8=_0x3c530b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x437df8&&_0x3ad480['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x437df8&&_0x3ad480['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x437df8&&_0x3ad480['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x437df8&&_0x3ad480['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x437df8&&_0x3ad480['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x437df8&&_0x3ad480['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x437df8&&_0x3ad480['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5b5a3f}=this,_0x4e0170=_0x5b5a3f['commands']['get']('uploadcare');if(!_0x4e0170)return;const _0x5591a6=this['_normalizeConfigSourceList'](_0x5b5a3f['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4a4fe5,_0x3fea8a)=>{const _0x58a2b9=this['_getIntegrationKey'](_0x3fea8a['type']);return _0x4a4fe5[_0x58a2b9]||(_0x4a4fe5[_0x58a2b9]=[]),_0x4a4fe5[_0x58a2b9]['push'](_0x3fea8a),_0x4a4fe5;},{});_0x5b5a3f['plugins']['has']('ImageInsertUI')&&_0x5b5a3f['commands']['get']('uploadcare')&&Object['entries'](_0x5591a6)['forEach'](([_0x14e1ee,_0x47261b])=>{_0x5b5a3f['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x14e1ee,'observable':()=>_0x4e0170,'buttonViewCreator':()=>this['_createToolbarButton'](_0x47261b),'formViewCreator':()=>this['_createDropdownButtons'](_0x47261b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x47261b),'override':'assetManager'!==_0x14e1ee});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x524504){const {locale:_0x490eac}=this['editor'];return _0x524504['map'](_0x20336f=>{const _0xd3d1d5=_(_0x490eac,_0x20336f,'Insert');switch(_0x20336f){case i['Local']:return{'icon':_0x21039e,'type':i['Local'],..._0xd3d1d5};case i['URL']:return{'icon':_0xfdba2e,'type':i['URL'],..._0xd3d1d5};case i['Dropbox']:return{'icon':_0x1cc948,'type':i['Dropbox'],..._0xd3d1d5};case i['Facebook']:return{'icon':_0x271657,'type':i['Facebook'],..._0xd3d1d5};case i['GDrive']:return{'icon':_0x174a4a,'type':i['GDrive'],..._0xd3d1d5};case i['GPhotos']:return{'icon':_0xbe40f,'type':i['GPhotos'],..._0xd3d1d5};case i['OneDrive']:return{'icon':_0xcdd4e2,'type':i['OneDrive'],..._0xd3d1d5};}});}['_getIntegrationKey'](_0x48864f){switch(_0x48864f){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x57e251,_0x3263fd){const _0x52577=this['editor'],_0xfbce1f=new _0x57e251(_0x52577['locale']),_0x4c0b7e=_0x52577['commands']['get']('uploadcare');return _0xfbce1f['bind']('isEnabled')['to'](_0x4c0b7e),_0xfbce1f['on']('execute',()=>{_0x4c0b7e['execute'](_0x3263fd);}),_0xfbce1f;}['_createToolbarButton'](_0x78b11e){const {locale:_0x28a58d}=this['editor'],_0x1230f7=this['editor']['plugins']['get']('ImageInsertUI'),_0x4472ac=_0x78b11e[0x0],_0x17c6aa=this['_createButton'](_0x20eb05,_0x4472ac['type']);return _0x17c6aa['icon']=_0x4472ac['icon'],_0x17c6aa['bind']('label')['to'](_0x1230f7,'isImageSelected',_0x353f5c=>_(_0x28a58d,_0x4472ac['type'],_0x353f5c?'Replace':'Insert')['text']),_0x17c6aa['tooltip']=!0x0,_0x17c6aa;}['_createDropdownButtons'](_0xde15f6){const {locale:_0x5b903d}=this['editor'],_0x3a09ab=this['editor']['plugins']['get']('ImageInsertUI');return _0xde15f6['map'](_0x1d1b8c=>{const _0x4e2458=this['_createButton'](_0x20eb05,_0x1d1b8c['type']);return _0x4e2458['withText']=!0x0,_0x4e2458['icon']=_0x1d1b8c['icon'],_0x4e2458['bind']('label')['to'](_0x3a09ab,'isImageSelected',_0x425a34=>_(_0x5b903d,_0x1d1b8c['type'],_0x425a34?'Replace':'Insert')['text']),_0x4e2458;});}['_createMenuBarButtons'](_0x49612b){return _0x49612b['map'](_0x2148eb=>{const _0x298e0c=this['_createButton'](_0x3b32fa,_0x2148eb['type']);return _0x298e0c['icon']=_0x2148eb['icon'],_0x298e0c['label']=_0x2148eb['shortText'],_0x298e0c;});}}class V extends _0x3c633e{['focusTracker'];['focusCycler'];constructor(_0x88c285){super(_0x88c285),this['focusTracker']=new _0x5e8cb3(),this['focusCycler']=new _0x2d1cdd({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends V{constructor(_0x3736ef,_0x2956e7){super(_0x3736ef),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-'+_0x2956e7}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3de865,_0x40ab93){const _0x59b2b5=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x379b71=>_0x379b71<=_0x40ab93)['map'](_0x886235=>_0x3de865['replace'](/\/$/,'')+'/-/resize/'+_0x886235+'x/\x20'+_0x886235+'w');return{'imageFallbackUrl':_0x3de865,'imageSources':[{'srcset':_0x59b2b5['join'](',\x20'),'sizes':'(max-width:\x20'+_0x40ab93+'px)\x20100vw,\x20'+_0x40ab93+'px','type':'image/webp'}]};}function F(_0x1a9c4b,_0x48e384,_0x135883){const _0x36d5a4=_0x1a9c4b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x36d5a4?parseInt(_0x36d5a4[0x1],0xa):_0x48e384,'height':_0x36d5a4?parseInt(_0x36d5a4[0x2],0xa):_0x135883};}function p(_0x10e9c0,_0x46157b){const _0x305b8b=new(_0x528f1e())(),_0x46f7cb=_0x10e9c0['plugins']['get']('ImageUtils'),_0xa3d196=_0x10e9c0['editing']['mapper']['toViewElement'](_0x46157b),_0x357608=_0x46f7cb['findViewImgElement'](_0xa3d196),_0x11ef5e=_0x10e9c0['editing']['view']['domConverter']['viewToDom'](_0x357608),_0x1969ee=_0x46157b['getAttribute']('width'),_0xcc88e2=_0x46157b['getAttribute']('height'),_0x4f0929='image-processing';_0x10e9c0['editing']['view']['change'](_0x15ef11=>{_0x15ef11['addClass'](_0x4f0929,_0xa3d196),_0x15ef11['setStyle']('aspect-ratio',_0x1969ee+'/'+_0xcc88e2,_0x357608);}),_0x305b8b['listenTo'](_0x11ef5e,'load',()=>{_0x305b8b['stopListening'](_0x11ef5e,'load'),_0x10e9c0['editing']['view']['change'](_0x4e423d=>{_0x4e423d['removeClass'](_0x4f0929,_0xa3d196),_0x4e423d['removeStyle']('aspect-ratio',_0x357608);});});}function R(_0x1e3ab0){if(Array['isArray'](_0x1e3ab0)){const _0x4333d9=_0x1e3ab0['map'](R);return _0x356186=>_0x4333d9['some'](_0x840ca2=>_0x840ca2(_0x356186));}if('origin'==_0x1e3ab0){const _0x4a71d8=_0x3b163d['window']['location']['origin'];return _0x5e50fa=>new URL(_0x5e50fa,_0x3b163d['document']['baseURI'])['origin']==_0x4a71d8;}return'function'==typeof _0x1e3ab0?_0x1e3ab0:_0x1e3ab0 instanceof RegExp?_0x5cab6e=>!(!_0x5cab6e['match'](_0x1e3ab0)&&!_0x5cab6e['replace'](/^https?:\/\//,'')['match'](_0x1e3ab0)):()=>!0x1;}function M(_0x243e35,_0x5243ea){return _0xde8f8b(_0x243e35['target'])['includes'](_0x5243ea);}class n extends/* #__PURE__ -- @preserve */
24
- _0x1549c3(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x99b6e4,_0x28f667,_0x483ab0){super(),this['_editor']=_0x99b6e4,this['_editing']=_0x28f667,this['_dialog']=_0x99b6e4['plugins']['get'](_0x2d272c),this['_api']=_0x28f667['ctxElement']['getAPI'](),this['_type']=_0x483ab0,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:_0x264cda,model:_0x5407a1}=this['_editor'],_0x54cfd8=_0x5407a1['document']['selection']['getSelectedElement'](),_0xe5b91c=_0x54cfd8&&(_0x54cfd8['is']('element','imageBlock')||_0x54cfd8['is']('element','imageInline'));this['_formView']=new S(_0x264cda,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x21039e,'title':_(_0x264cda,this['_type'],_0xe5b91c?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x29b8da['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4d2477=>!M(_0x4d2477,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x32d950}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3fb89e=>{const _0x28a979=_0x32d950['length'];for(const _0x119450 of _0x32d950){const _0x394b44=_0x119450===_0x32d950[_0x28a979-0x1],{cdnUrl:_0x3afaef,fileInfo:_0xdd0e95}=_0x119450;if(!_0x3afaef||!_0xdd0e95)continue;const {width:_0x1af5da,height:_0x3e287c}=_0xdd0e95['imageInfo'],_0x3d30ed=F(_0x3afaef,_0x1af5da,_0x3e287c),_0x23229a=C(_0x3afaef,_0x3d30ed['width']),_0x1fcac6={'id':_0xdd0e95['uuid'],'type':'image','attributes':{'imageDimension':_0x3d30ed,..._0x23229a}};this['_insertAsset'](_0x1fcac6,_0x394b44,_0x3fb89e);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3e800c=>{'idle'===_0x3e800c['detail']['status']&&!_0x3e800c['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x30c9bf,_0x3a32c6,_0x193849){const _0x4753c1=this['_editor']['model']['document']['selection'],_0x1b6508=_0x4753c1['getSelectedElement'](),_0x4294ae=!(!_0x1b6508||!_0x1b6508['is']('element','imageInline'));_0x193849['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x30c9bf,_0x4294ae),_0x3a32c6||_0x193849['setSelection'](_0x4753c1['getLastPosition']());}['_insertImage'](_0x5be3d1,_0x38da2){const _0x2e8924=this['_editor'],{imageDimension:_0x130ab4,imageFallbackUrl:_0x1a72ab,imageSources:_0x221979}=_0x5be3d1['attributes'];_0x2e8924['execute']('insertImage',{'imageType':_0x38da2?'imageInline':null,'source':{'uploadcareImageId':_0x5be3d1['id'],'src':_0x1a72ab,'sources':_0x221979,..._0x130ab4}});}}class w extends _0x2f71fe{['_editing'];['_controller']=null;static get['requires'](){return[_0x2d272c,o];}constructor(_0x378cad){super(_0x378cad),this['_editing']=_0x378cad['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x7b2b77){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x7b2b77);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x51e57d,..._0x38692a}){return _0x14d16d(_0x51e57d,_0x38692a);}static['getInfo'](_0x224b05,_0x5ea326){return _0x55c6e9(_0x224b05,_0x5ea326);}}class f extends _0x26298a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1ddf6f,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x27431f=this['editor'];if(!!!_0x27431f['config']['get']('uploadcare'))return;_0x27431f['plugins']['get'](_0x1ddf6f)['createUploadAdapter']=_0x2b9c96=>new k(_0x2b9c96,_0x27431f),_0x27431f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x16165c,{imageElement:_0xe275d0,data:_0x517a65})=>{_0x27431f['model']['change'](_0x4f35d9=>{_0x4f35d9['setAttribute']('uploadcareImageId',_0x517a65['uploadcareImageId'],_0xe275d0);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3bf9de,_0x131597){this['loader']=_0x3bf9de,this['editor']=_0x131597,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5e1db0=await this['loader']['file'];return j['upload']({'file':_0x5e1db0,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x3db02a=>{_0x3db02a&&_0x3db02a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3db02a['value']);}})['then'](async _0x463bf3=>{const {imageFallbackUrl:_0x2fcf16,imageSources:_0x57d4a0}=C(_0x463bf3['cdnUrl'],_0x463bf3['imageInfo']['width']);return{'uploadcareImageId':_0x463bf3['uuid'],'default':_0x2fcf16,'sources':_0x57d4a0};})['catch'](()=>{const _0x43518b=t('Cannot\x20upload\x20file:')+('\x20'+_0x5e1db0['name']+'.');return Promise['reject'](_0x43518b);});}['abort'](){this['controller']['abort']();}}class o extends _0x26298a{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2d272c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x43cf89){super(_0x43cf89),this['ucContextId']=_0x3e4bc9();}['init'](){const _0x22bb64=this['editor'];_0x22bb64['commands']['add']('uploadcare',new w(_0x22bb64));}['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 _0x229085=_0x3b163d['document']['querySelector']('input[uploadcare-file-input]');_0x229085&&_0x229085['remove']();}),async function(_0x425218){const _0x3da3f0=_0x77190c([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x324f6f=0x535f8c3a,_0x95e329=0x5358f1ca^_0x324f6f,_0x351511=window[_0x77190c([0x44,0x61,0x74,0x65])][_0x77190c([0x6e,0x6f,0x77])](),_0x404a31=_0x425218[_0x77190c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x202055=new window[(_0x77190c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3066f3=>{_0x404a31[_0x77190c([0x6f,0x6e,0x63,0x65])](_0x77190c([0x72,0x65,0x61,0x64,0x79]),_0x3066f3);}),_0x5f5b1e={[_0x77190c([0x6b,0x74,0x79])]:_0x77190c([0x45,0x43]),[_0x77190c([0x75,0x73,0x65])]:_0x77190c([0x73,0x69,0x67]),[_0x77190c([0x63,0x72,0x76])]:_0x77190c([0x50,0x2d,0x32,0x35,0x36]),[_0x77190c([0x78])]:_0x77190c([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]),[_0x77190c([0x79])]:_0x77190c([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]),[_0x77190c([0x61,0x6c,0x67])]:_0x77190c([0x45,0x53,0x32,0x35,0x36])},_0x4aea65=_0x404a31[_0x77190c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x77190c([0x67,0x65,0x74])](_0x77190c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a1d05(){let _0x5f3e41,_0x42f177=null,_0x197b50=null;try{if(_0x4aea65==_0x77190c([0x47,0x50,0x4c]))return _0x77190c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5f3e41=_0x556d9a(),!_0x5f3e41)return _0x77190c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5f3e41[_0x77190c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x197b50=_0x28ca7e(_0x5f3e41[_0x77190c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5f3e41[_0x77190c([0x6a,0x74,0x69])])),await _0x2b6249()?_0x29eead()?_0x1c66da()?_0x77190c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x15d52e()?(_0x5f3e41[_0x77190c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x77190c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x42f177=_0x56c226(_0x77190c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5f3e41[_0x77190c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x77190c([0x74,0x72,0x69,0x61,0x6c])&&(_0x42f177=_0x56c226(_0x77190c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x26a125()):_0x77190c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x77190c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x77190c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x77190c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c66da(){const _0x32b0a5=[_0x77190c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x77190c([0x74,0x72,0x69,0x61,0x6c])][_0x77190c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3e41[_0x77190c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x351511/0x3e8:0xe10*_0x95e329;return _0x5f3e41[_0x77190c([0x65,0x78,0x70])]<_0x32b0a5;}function _0x29eead(){const _0xa6b208=_0x5f3e41[_0x77190c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xa6b208&&(!!_0xa6b208[_0x77190c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77190c([0x2a]))||!!_0xa6b208[_0x77190c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77190c([0x55,0x50,0x4c,0x43])));}function _0x15d52e(){const _0x3700ed=_0x5f3e41[_0x77190c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3700ed||0x0==_0x3700ed[_0x77190c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x148e6a}=new URL(window[_0x77190c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3700ed[_0x77190c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x148e6a))return!0x0;const _0x2c3cf5=_0x148e6a[_0x77190c([0x73,0x70,0x6c,0x69,0x74])](_0x77190c([0x2e]));return _0x3700ed[_0x77190c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x170977=>_0x170977[_0x77190c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77190c([0x2a])))[_0x77190c([0x6d,0x61,0x70])](_0x2caeef=>_0x2caeef[_0x77190c([0x73,0x70,0x6c,0x69,0x74])](_0x77190c([0x2e])))[_0x77190c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x263e48=>_0x263e48[_0x77190c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2c3cf5[_0x77190c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x77190c([0x6d,0x61,0x70])](_0x4467d2=>Array(_0x2c3cf5[_0x77190c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4467d2[_0x77190c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x77190c([0x66,0x69,0x6c,0x6c])](_0x4467d2[0x0]===_0x77190c([0x2a])?_0x77190c([0x2a]):'')[_0x77190c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4467d2))[_0x77190c([0x73,0x6f,0x6d,0x65])](_0x301af3=>_0x2c3cf5[_0x77190c([0x65,0x76,0x65,0x72,0x79])]((_0x188d36,_0x5b4108)=>_0x301af3[_0x5b4108]===_0x188d36||_0x301af3[_0x5b4108]===_0x77190c([0x2a])));}function _0x26a125(){return _0x42f177&&_0x197b50?new window[(_0x77190c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x27bd33,_0x54b334)=>{_0x42f177[_0x77190c([0x74,0x68,0x65,0x6e])](_0x27bd33,_0x54b334),_0x197b50[_0x77190c([0x74,0x68,0x65,0x6e])](_0x7eb35d=>{_0x7eb35d!=_0x77190c([0x56,0x61,0x6c,0x69,0x64])&&_0x27bd33(_0x7eb35d);},_0x54b334);}):_0x42f177||_0x197b50||_0x77190c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28ca7e(_0x2795b1,_0x33b2dd){return new window[(_0x77190c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4116d4=>{if(_0x10c3cf())return _0x4116d4(_0x77190c([0x56,0x61,0x6c,0x69,0x64]));_0x4e8825(),_0x404a31[_0x77190c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x77190c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x404839=!0x1;const _0x9a9add=_0x3e4bc9();function _0x2f9dc8(_0x16a238){return!!_0x16a238&&(typeof _0x16a238===_0x77190c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16a238===_0x77190c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16a238[_0x77190c([0x74,0x68,0x65,0x6e])]===_0x77190c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16a238[_0x77190c([0x63,0x61,0x74,0x63,0x68])]===_0x77190c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x196470(_0x1c6d7a){_0x5ce29b(_0x1c6d7a)[_0x77190c([0x74,0x68,0x65,0x6e])](_0x185752=>{if(!_0x185752||_0x185752[_0x77190c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x77190c([0x6f,0x6b]))return _0x77190c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x56f2e8(_0x221962(_0x9a9add+_0x33b2dd))!=_0x185752[_0x77190c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x77190c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x77190c([0x56,0x61,0x6c,0x69,0x64]);})[_0x77190c([0x74,0x68,0x65,0x6e])](_0x1bb772=>(_0x21d5bf(),_0x1bb772),()=>{const _0x319692=_0x4db22f();return null==_0x319692?(_0x21d5bf(),_0x77190c([0x56,0x61,0x6c,0x69,0x64])):_0x77190c(_0x351511-_0x319692>(0x7753083a^_0x324f6f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x77190c([0x74,0x68,0x65,0x6e])](_0x4116d4)[_0x77190c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4116d4(_0x77190c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1be21f=0x536962ba^_0x324f6f;function _0x21d5bf(){const _0x448bbc=_0x77190c([0x6c,0x6c,0x63,0x74,0x2d])+_0x56f2e8(_0x221962(_0x2795b1)),_0x122a5e=_0x179502(_0x56f2e8(window[_0x77190c([0x4d,0x61,0x74,0x68])][_0x77190c([0x63,0x65,0x69,0x6c])](_0x351511/_0x1be21f)));window[_0x77190c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x77190c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x448bbc,_0x122a5e);}function _0x4db22f(){const _0x1191dd=_0x77190c([0x6c,0x6c,0x63,0x74,0x2d])+_0x56f2e8(_0x221962(_0x2795b1)),_0x2a0eb0=window[_0x77190c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x77190c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1191dd);return _0x2a0eb0?window[_0x77190c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x179502(_0x2a0eb0),0x10)*_0x1be21f:null;}function _0x5ce29b(_0x3e924e){return new window[(_0x77190c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f451c,_0x2bf986)=>{_0x3e924e[_0x77190c([0x74,0x68,0x65,0x6e])](_0x5f451c,_0x2bf986),window[_0x77190c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2bf986,0x535e58fa^_0x324f6f);});}}_0x404a31[_0x77190c([0x6f,0x6e])](_0x77190c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a48b8,_0x2785c1)=>{if(_0x2785c1[0x0]!=_0x2795b1)return _0x4116d4(_0x77190c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2785c1[0x1]={..._0x2785c1[0x1],[_0x77190c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9a9add};},{[_0x77190c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x77190c([0x68,0x69,0x67,0x68])}),_0x404a31[_0x77190c([0x6f,0x6e])](_0x77190c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x595978=>{_0x2f9dc8(_0x595978[_0x77190c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x404839=!0x0,_0x196470(_0x595978[_0x77190c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x77190c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x77190c([0x6c,0x6f,0x77])}),_0x202055[_0x77190c([0x74,0x68,0x65,0x6e])](()=>{_0x404839||_0x4116d4(_0x77190c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10c3cf(){return _0x404a31[_0x77190c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x77190c([0x76,0x69,0x65,0x77])][_0x77190c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x77190c([0x61,0x75,0x74,0x6f]);}function _0x4e8825(){_0x404a31[_0x77190c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x77190c([0x76,0x69,0x65,0x77])][_0x77190c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x77190c([0x61,0x75,0x74,0x6f]);}}function _0x56c226(_0xd15485){const _0x2ffe29=[new window[(_0x77190c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e1bda=>setTimeout(_0x1e1bda,0x5356b2f6^_0x324f6f)),_0x202055[_0x77190c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x77190c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ea32e=>{let _0x9a0bd=0x0;_0x404a31[_0x77190c([0x6d,0x6f,0x64,0x65,0x6c])][_0x77190c([0x6f,0x6e])](_0x77190c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d5f0a,_0x4734cc)=>{_0x4734cc[0x0][_0x77190c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9a0bd++,_0x9a0bd==(0x535f89d2^_0x324f6f)&&(_0x3ea32e(),_0x5d5f0a[_0x77190c([0x6f,0x66,0x66])]());});}))];return window[_0x77190c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x77190c([0x72,0x61,0x63,0x65])](_0x2ffe29)[_0x77190c([0x74,0x68,0x65,0x6e])](()=>_0xd15485);}async function _0x3763d4(){await _0x202055,_0x404a31[_0x77190c([0x6d,0x6f,0x64,0x65,0x6c])][_0x77190c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e5983,_0x404a31[_0x77190c([0x6d,0x6f,0x64,0x65,0x6c])][_0x77190c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e5983,_0x404a31[_0x77190c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x77190c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfef9ea(_0x4c1398){const _0x7073ad=_0x1fb1d8();_0x404a31[_0x7073ad]=_0x77190c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c1398,_0x4c1398!=_0x77190c([0x56,0x61,0x6c,0x69,0x64])&&_0x3763d4();}function _0x1fb1d8(){const _0x205322=window[_0x77190c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x77190c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x77190c([0x6e,0x6f,0x77])]())[_0x77190c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x77190c([0x2e]),'');let _0x4f12fb=_0x77190c([0x68]);for(let _0x1e29b5=0x0;_0x1e29b5<_0x205322[_0x77190c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e29b5+=0x2){let _0x58bcf9=window[_0x77190c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x205322[_0x77190c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e29b5,_0x1e29b5+0x2));_0x58bcf9>=_0x3da3f0[_0x77190c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x58bcf9-=_0x3da3f0[_0x77190c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f12fb+=_0x3da3f0[_0x58bcf9];}return _0x4f12fb;}function _0x556d9a(){const _0x46b974=_0x4aea65[_0x77190c([0x73,0x70,0x6c,0x69,0x74])](_0x77190c([0x2e]));if(0x3!=_0x46b974[_0x77190c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31263d(_0x46b974[0x1]);function _0x31263d(_0xfea8dc){const _0x100ec0=_0x8158df(_0xfea8dc);return _0x100ec0&&_0x165235()?_0x100ec0:null;function _0x165235(){const _0x3a1659=_0x100ec0[_0x77190c([0x6a,0x74,0x69])],_0x5bb1c6=window[_0x77190c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a1659[_0x77190c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a1659[_0x77190c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33b2e8={..._0x100ec0,[_0x77190c([0x6a,0x74,0x69])]:_0x3a1659[_0x77190c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3a1659[_0x77190c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33b2e8[_0x77190c([0x76,0x63])],_0x221962(_0x33b2e8)==_0x5bb1c6;}}}async function _0x2b6249(){let _0x4af494=!0x0;try{const _0x235c1b=_0x4aea65[_0x77190c([0x73,0x70,0x6c,0x69,0x74])](_0x77190c([0x2e])),[_0x3c60e2,_0x353967,_0x78d043]=_0x235c1b;return _0x3c1400(_0x3c60e2),await _0x3f06d4(_0x3c60e2,_0x353967,_0x78d043),_0x4af494;}catch{return!0x1;}function _0x3c1400(_0x5a2764){const _0x4a8512=_0x8158df(_0x5a2764);_0x4a8512&&_0x4a8512[_0x77190c([0x61,0x6c,0x67])]==_0x77190c([0x45,0x53,0x32,0x35,0x36])||(_0x4af494=!0x1);}async function _0x3f06d4(_0x42cb43,_0x204f95,_0x3117c2){const _0x18deb9=window[_0x77190c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x77190c([0x66,0x72,0x6f,0x6d])](_0x5460fb(_0x3117c2),_0x3fa07b=>_0x3fa07b[_0x77190c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x180ac3=new window[(_0x77190c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x77190c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42cb43+_0x77190c([0x2e])+_0x204f95),_0x15b24d=window[_0x77190c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x77190c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15b24d)return;const _0x3f042c=await _0x15b24d[_0x77190c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x77190c([0x6a,0x77,0x6b]),_0x5f5b1e,{[_0x77190c([0x6e,0x61,0x6d,0x65])]:_0x77190c([0x45,0x43,0x44,0x53,0x41]),[_0x77190c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x77190c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x77190c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15b24d[_0x77190c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x77190c([0x6e,0x61,0x6d,0x65])]:_0x77190c([0x45,0x43,0x44,0x53,0x41]),[_0x77190c([0x68,0x61,0x73,0x68])]:{[_0x77190c([0x6e,0x61,0x6d,0x65])]:_0x77190c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f042c,_0x18deb9,_0x180ac3)||(_0x4af494=!0x1);}}function _0x8158df(_0x36efef){return _0x36efef[_0x77190c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x77190c([0x65,0x79]))?JSON[_0x77190c([0x70,0x61,0x72,0x73,0x65])](_0x5460fb(_0x36efef)):null;}function _0x5460fb(_0x46d820){return window[_0x77190c([0x61,0x74,0x6f,0x62])](_0x46d820[_0x77190c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x77190c([0x2b]))[_0x77190c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x77190c([0x2f])));}function _0x221962(_0x36b5fe){let _0x460879=0x1505;function _0x198a67(_0x54da6c){for(let _0x11904c=0x0;_0x11904c<_0x54da6c[_0x77190c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11904c++){const _0x36bb26=_0x54da6c[_0x77190c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x11904c);_0x460879=(_0x460879<<0x5)+_0x460879+_0x36bb26,_0x460879&=_0x460879;}}function _0x4db109(_0x15b947){Array[_0x77190c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x15b947)?_0x15b947[_0x77190c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4db109):_0x15b947&&typeof _0x15b947==_0x77190c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x77190c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x15b947)[_0x77190c([0x73,0x6f,0x72,0x74])]()[_0x77190c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x41a4fc,_0x2e33f7])=>{_0x198a67(_0x41a4fc),_0x4db109(_0x2e33f7);}):_0x198a67(window[_0x77190c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x15b947));}return _0x4db109(_0x36b5fe),_0x460879>>>0x0;}function _0x56f2e8(_0x3efbae){return _0x3efbae[_0x77190c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x77190c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x77190c([0x30]));}function _0x179502(_0x337711){return _0x337711[_0x77190c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x77190c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x77190c([0x6a,0x6f,0x69,0x6e])]('');}function _0x3e5983(){}function _0x77190c(_0x347092){return _0x347092['map'](_0x4aefdb=>String['fromCharCode'](_0x4aefdb))['join']('');}_0xfef9ea(await _0x3a1d05());}(this);}['_initSchema'](){const _0x36ed90=this['editor']['model']['schema'];_0x36ed90['isRegistered']('imageBlock')&&_0x36ed90['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x36ed90['isRegistered']('imageInline')&&_0x36ed90['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1f15c9=this['editor'];_0x1f15c9['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1f15c9['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x16dca9=>_0x16dca9['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x549c9b=_0x1f15c9['commands']['get']('replaceImageSource');_0x549c9b&&this['listenTo'](_0x549c9b,'cleanupImage',(_0x5ca385,[_0x4f9b55,_0x547e1e])=>{_0x4f9b55['removeAttribute']('uploadcareImageId',_0x547e1e);});}['_initConfig'](){const _0x39a5c0=this['editor']['config']['get']('uploadcare.uploader')||{},_0x17c9ee=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xf43621(_0x3b163d['document'],'uc-config',{..._0x39a5c0,'pubkey':_0x17c9ee,'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']=_0x593c7b=>{if('closeMax'==_0x593c7b)return'#uc-icon-arrow-down';},_0x3b163d['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xf43621(_0x3b163d['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3b163d['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x35a2ac=this['editor']['commands']['get']('insertImage');_0x35a2ac&&this['listenTo'](_0x35a2ac,'execute',()=>{const _0x19524e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x19524e&&_0x19524e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x19524e);});});const _0x4cb267=this['editor']['commands']['get']('uploadcareImageReplace');_0x4cb267&&this['listenTo'](_0x4cb267,'execute',()=>{const _0x4f91f7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4f91f7&&_0x4f91f7['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4f91f7);});});}}class tt extends _0x26298a{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4ab0e9){super(_0x4ab0e9),_0x4ab0e9['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2443b2['defineComponents'](_0x2443b2),this['_defineLocale']();}['_defineLocale'](){const _0xf00ddd=this['editor']['config']['get']('uploadcare.locale'),_0x249a6a=this['editor']['locale']['contentLanguage'];_0xf00ddd&&_0x2443b2['defineLocale'](_0x249a6a,_0xf00ddd);}}class ii extends _0x3c633e{constructor(_0x22e7ca){super(_0x22e7ca);const t=_0x22e7ca['t'],_0x134087=this['bindTemplate'],_0x4e7dfc=new _0x47bd20();_0x4e7dfc['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':[_0x4e7dfc,{'text':_0x134087['to']('imageUploadProgress',_0x307994=>t('Loading\x20image...')+'\x20('+(_0x307994||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 _0x3c633e{constructor(_0x3d721b){super(_0x3d721b);const t=_0x3d721b['t'];this['set']('errorType',null);const _0x17c1f4=new _0x20eb05(_0x3d721b);_0x17c1f4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x17c1f4['withText']=!0x0,_0x17c1f4['class']='ck-button-action',_0x17c1f4['on']('execute',()=>{this['fire']('retry');}),_0x17c1f4['bind']('isVisible')['to'](this,'errorType',_0x201796=>'NotFound'!==_0x201796);const _0x4e3dbd=new _0x10fc9d();_0x4e3dbd['content']=_0x109435,_0x4e3dbd['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x21529d=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':[_0x4e3dbd,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x21529d['to']('errorType',_0x3af02f=>t('NotFound'!==_0x3af02f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x17c1f4]},{'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 _0x3c633e{constructor(_0x44144d,_0x415776){super(_0x44144d);const _0x52868f=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x415776,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x52868f['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x26570c,_0x585c6c,_0x280dc4){super(_0x26570c),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x26570c),this['_errorView']=new ti(_0x26570c),this['_editingView']=new ei(_0x26570c,_0x280dc4),this['_focusableView']=new _0x3c633e(_0x26570c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x585c6c),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'],_0x2d846d=>{this['_addUploadcareImageEditorListeners'](_0x2d846d);});}),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'](_0x6d7bd7,_0x42012d){const _0x1a6bf9='uc-cloud-image-editor',_0x44b932=_0x6d7bd7['querySelector'](_0x1a6bf9);if(_0x44b932)return _0x42012d(_0x44b932);const _0x3990b6=new MutationObserver(_0x545f4b=>{const _0x1c418f=_0x545f4b['filter'](_0x111ba2=>_0x111ba2['target']===_0x6d7bd7&&_0x111ba2['addedNodes']['length']>0x0&&_0x111ba2['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1a6bf9);_0x1c418f['length']&&(_0x3990b6['disconnect'](),_0x42012d(_0x1c418f[0x0]['addedNodes'][0x0]));});_0x3990b6['observe'](_0x6d7bd7,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1c0304){_0x1c0304['addEventListener']('apply',_0x49bc1b=>{this['fire']('apply',{'imageSrc':_0x49bc1b['detail']['cdnUrl']});}),_0x1c0304['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x1549c3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5dbfd4,_0x390277,_0x580dd0){super(),this['_editor']=_0x5dbfd4,this['_dialog']=_0x390277,this['_imageElement']=_0x580dd0,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 _0x36fbd8=this['_imageElement'],_0x35f81b=_0x36fbd8['getAttribute']('uploadcareImageId'),_0x4461c2=_0x36fbd8['getAttribute']('src');if(_0x35f81b)await this['_loadImageInfo'](_0x35f81b,_0x4461c2);else{if(this['_imageCache']['has'](_0x4461c2)){const _0x15eda4=this['_imageCache']['get'](_0x4461c2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15eda4['url'],this['imageDimension']=_0x15eda4['dimension'],this['imageId']=_0x15eda4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x125a8c}=this['_editor'],t=_0x125a8c['t'],_0x21668c=new X(_0x125a8c,this['imageStatus'],this['_attributes']);_0x21668c['bind']('status')['to'](this,'imageStatus'),_0x21668c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x21668c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x21668c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x21668c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x31c427,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x21668c,'position':_0x29b8da['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x21668c['focus']();},'onHide':()=>{_0x21668c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x482fec=>!M(_0x482fec,_0x21668c['element'])}});}['_loadImageInfo'](_0x2ed593,_0x49a079){return j['getInfo'](_0x2ed593,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x22b435=>{const {width:_0xe8bb4a,height:_0x2582e8}=_0x22b435['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x49a079,this['imageDimension']={'width':_0xe8bb4a,'height':_0x2582e8},this['imageId']=_0x2ed593;})['catch'](_0x5b1ba=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5b1ba['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x54149a,_0x4b66f4){return this['_getImageAsFile'](_0x54149a)['then'](_0x1e949a=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x4b66f4['signal'],'file':_0x1e949a,'onProgress':_0x560a99=>{_0x560a99&&_0x560a99['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x560a99['value']));}}))['then'](_0x59f9df=>{const {width:_0x4daaf9,height:_0x59c59f}=_0x59f9df['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x59f9df['cdnUrl'],this['imageDimension']={'width':_0x4daaf9,'height':_0x59c59f},this['imageId']=_0x59f9df['uuid'],this['imageUploadProgress']=null;const _0x1c6ef4=_0x54149a['getAttribute']('src');this['_imageCache']['set'](_0x1c6ef4,{'id':_0x59f9df['uuid'],'url':_0x59f9df['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3cceb8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3cceb8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x136127,_0xcb8101){_0x136127['on']('apply',(_0x1de88b,_0x258e34)=>{this['_replaceImage'](_0xcb8101,_0x258e34['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x136127['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x136127['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x63f9bc,_0x51d0b6,_0x31e35f){const _0x28dbdc=this['_editor'],{width:_0x32d2d1,height:_0x2a834a}=F(_0x51d0b6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x43c2c5,imageSources:_0x269960}=C(_0x51d0b6,_0x32d2d1);_0x28dbdc['model']['change'](_0x17a55c=>{if('$graveyard'===_0x63f9bc['root']['rootName']){_0x28dbdc['execute']('insertImage',{'imageType':_0x63f9bc['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x63f9bc['getAttributes']()),'uploadcareImageId':_0x31e35f,'src':_0x43c2c5,'sources':_0x269960,'width':_0x32d2d1,'height':_0x2a834a}});const _0x5a54f6=_0x63f9bc['getChildren']();_0x63f9bc=_0x28dbdc['model']['document']['selection']['getSelectedElement']();for(const _0x4d0544 of _0x5a54f6)_0x17a55c['append'](_0x17a55c['cloneElement'](_0x4d0544),_0x63f9bc);}else _0x17a55c['setSelection'](_0x63f9bc,'on'),_0x28dbdc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x63f9bc['getAttributes']()),'uploadcareImageId':_0x31e35f,'src':_0x43c2c5,'sources':_0x269960,'width':_0x32d2d1,'height':_0x2a834a},_0x63f9bc);_0x17a55c['setSelection'](_0x63f9bc,'on');});}async['_getImageAsFile'](_0xb1fbaa){const _0x40be2e=_0x3b163d['window'],_0x45a85d=_0x3b163d['document']['location']['href'],_0x19b39d=new _0x40be2e['URL'](_0xb1fbaa['getAttribute']('src'),_0x45a85d);if('data:'===_0x19b39d['protocol']){const _0xc41666=_0x19b39d['href']['split'](','),_0x537c61=_0xc41666[0x0]['match'](/:(.*?);/)[0x1],_0x23feb1=_0x537c61['split']('/')[0x1],_0x11574e=_0x40be2e['atob'](_0xc41666[_0xc41666['length']-0x1]);let _0x461938=_0x11574e['length'];const _0x3d3678=new _0x40be2e['Uint8Array'](_0x461938);for(;_0x461938--;)_0x3d3678[_0x461938]=_0x11574e['charCodeAt'](_0x461938);return new _0x40be2e['File']([_0x3d3678],'image.'+_0x23feb1,{'type':_0x537c61});}const _0x443bd5=_0x19b39d['href']['split']('/'),_0x41bb74=_0x443bd5[_0x443bd5['length']-0x1],_0x40a08f=_0x41bb74['split']('.')[0x1];return _0x40be2e['fetch'](_0x19b39d['href'])['then'](_0x23d974=>_0x23d974['clone']()['blob']())['then'](_0x76579b=>new _0x40be2e['File']([_0x76579b],_0x41bb74,{'type':'image/'+_0x40a08f}));}}class N extends _0x2f71fe{['imageEditController'];static get['requires'](){return[_0x2d272c];}['_isEditable'];constructor(_0x2d076c){super(_0x2d076c),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1fc9e9){const _0x3bec51=R(_0x1fc9e9);return _0x4599a9=>!(!_0x4599a9||!_0x4599a9['is']('element','imageBlock')&&!_0x4599a9['is']('element','imageInline'))&&(!!_0x4599a9['hasAttribute']('uploadcareImageId')||!!_0x4599a9['hasAttribute']('src')&&_0x3bec51(_0x4599a9['getAttribute']('src')));}(_0x2d076c['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x406e53=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x406e53);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x12887c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x12887c&&(_0x12887c['is']('element','imageBlock')||_0x12887c['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x2d272c),_0x12887c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x2f71fe{['refresh'](){const _0x257d71=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x257d71&&(_0x257d71['is']('element','imageBlock')||_0x257d71['is']('element','imageInline')));}['execute'](_0x1bb0b6){const _0x84cffb=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2d524e=>{_0x2d524e['setAttributes'](_0x1bb0b6,_0x84cffb),_0x2d524e['removeAttribute']('srcset',_0x84cffb),_0x2d524e['removeAttribute']('sizes',_0x84cffb);});}}class m extends _0x26298a{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x36b556,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xddd4ee}=this;_0xddd4ee['commands']['add']('uploadcareImageEdit',new N(_0xddd4ee)),_0xddd4ee['commands']['add']('uploadcareImageReplace',new O(_0xddd4ee));}}class g extends _0x26298a{['_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 _0x4a52d4=this['editor'];_0x4a52d4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1a0891=>{const _0xac5159=_0x4a52d4['commands']['get']('uploadcareImageEdit'),_0x21d66f=new _0x20eb05(_0x1a0891),t=_0x1a0891['t'];return _0x21d66f['set']({'icon':_0x31c427,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x21d66f['bind']('isEnabled')['to'](_0xac5159),_0x21d66f['bind']('isOn')['to'](_0xac5159,'isActive'),this['listenTo'](_0x21d66f,'execute',()=>{_0x4a52d4['execute']('uploadcareImageEdit'),_0x4a52d4['editing']['view']['focus']();}),_0x21d66f;}),this['_initConfig']();}['_initConfig'](){const _0xb9ee0b=_0xf43621(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xb9ee0b),this['listenTo'](this['editor'],'destroy',()=>{_0xb9ee0b['remove']();});}}class et extends _0x26298a{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x55ddf0,Command as _0x269e16}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x328107,IconGooglePhotos as _0x7110fa,IconGoogleDrive as _0x17abc7,IconFacebook as _0x58cb1e,IconDropbox as _0x1d08e4,IconUploadcareLink as _0x3038e7,IconUploadcareImageUpload as _0x441948,IconError as _0x11c53b,IconUploadcareImageEdit as _0x4de65f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2912d2,MenuBarMenuListItemButtonView as _0x40ff32,View as _0x2e0ada,FocusCycler as _0x36d203,Dialog as _0x3f728a,DialogViewPosition as _0x2956ae,SpinnerView as _0x31f18b,IconView as _0x37d47d,Notification as _0x2b1861}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4ffd6e,DomEmitterMixin as _0x38187e,global as _0x46ac85,getAncestors as _0x4b9038,ObservableMixin as _0x284938,uid as _0x55b0bc,createElement as _0x32c812}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x25f42c}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1965d8,info as _0x20f17e}from'@uploadcare/upload-client';import*as _0x197638 from'@uploadcare/file-uploader';var i=function(_0x44f76e){return _0x44f76e['Local']='local',_0x44f76e['URL']='url',_0x44f76e['Dropbox']='dropbox',_0x44f76e['GDrive']='gdrive',_0x44f76e['Facebook']='facebook',_0x44f76e['GPhotos']='gphotos',_0x44f76e['OneDrive']='onedrive',_0x44f76e;}({});function _(_0x287b1c,_0x196551,_0x2efc27){const t=_0x287b1c['t'],_0x2298de=_0x287b1c['t'];switch(_0x196551){case i['Local']:return{'text':_0x2298de('Insert'===_0x2efc27?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2298de('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2efc27?_0x2298de('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2298de('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2efc27?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2efc27?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2efc27?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2efc27?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2efc27?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x196551;}}class e extends _0x55ddf0{['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 _0x582b76=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3ee99e;for(const _0x2f4cf3 in _0x582b76){const _0x415ad6=_0x2f4cf3,_0x3d34c5=_0x582b76[_0x415ad6];if('uploadcareLicenseKeyValid'==_0x3d34c5||'uploadcareLicenseKeyInvalid'==_0x3d34c5||'uploadcareLicenseKeyExpired'==_0x3d34c5||'uploadcareLicenseKeyDomainLimit'==_0x3d34c5||'uploadcareLicenseKeyNotAllowed'==_0x3d34c5||'uploadcareLicenseKeyEvaluationLimit'==_0x3d34c5||'uploadcareLicenseKeyTrialLimit'==_0x3d34c5||'uploadcareLicenseKeyUsageLimit'==_0x3d34c5){delete _0x582b76[_0x415ad6],_0x3ee99e=_0x3d34c5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3ee99e&&_0x582b76['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3ee99e&&_0x582b76['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3ee99e&&_0x582b76['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3ee99e&&_0x582b76['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3ee99e&&_0x582b76['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3ee99e&&_0x582b76['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3ee99e&&_0x582b76['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x431ee3}=this,_0x1845c2=_0x431ee3['commands']['get']('uploadcare');if(!_0x1845c2)return;const _0x35bc8e=this['_normalizeConfigSourceList'](_0x431ee3['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5acc16,_0x5f068f)=>{const _0x3b0855=this['_getIntegrationKey'](_0x5f068f['type']);return _0x5acc16[_0x3b0855]||(_0x5acc16[_0x3b0855]=[]),_0x5acc16[_0x3b0855]['push'](_0x5f068f),_0x5acc16;},{});_0x431ee3['plugins']['has']('ImageInsertUI')&&_0x431ee3['commands']['get']('uploadcare')&&Object['entries'](_0x35bc8e)['forEach'](([_0x5f815a,_0x21fc83])=>{_0x431ee3['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5f815a,'observable':()=>_0x1845c2,'buttonViewCreator':()=>this['_createToolbarButton'](_0x21fc83),'formViewCreator':()=>this['_createDropdownButtons'](_0x21fc83),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x21fc83),'override':'assetManager'!==_0x5f815a});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x10867f){const {locale:_0x423cca}=this['editor'];return _0x10867f['map'](_0x165ce5=>{const _0x33641c=_(_0x423cca,_0x165ce5,'Insert');switch(_0x165ce5){case i['Local']:return{'icon':_0x441948,'type':i['Local'],..._0x33641c};case i['URL']:return{'icon':_0x3038e7,'type':i['URL'],..._0x33641c};case i['Dropbox']:return{'icon':_0x1d08e4,'type':i['Dropbox'],..._0x33641c};case i['Facebook']:return{'icon':_0x58cb1e,'type':i['Facebook'],..._0x33641c};case i['GDrive']:return{'icon':_0x17abc7,'type':i['GDrive'],..._0x33641c};case i['GPhotos']:return{'icon':_0x7110fa,'type':i['GPhotos'],..._0x33641c};case i['OneDrive']:return{'icon':_0x328107,'type':i['OneDrive'],..._0x33641c};}});}['_getIntegrationKey'](_0x109857){switch(_0x109857){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x2bda55,_0x121a66){const _0x39a3a2=this['editor'],_0x4b688=new _0x2bda55(_0x39a3a2['locale']),_0xcbe70=_0x39a3a2['commands']['get']('uploadcare');return _0x4b688['bind']('isEnabled')['to'](_0xcbe70),_0x4b688['on']('execute',()=>{_0xcbe70['execute'](_0x121a66);}),_0x4b688;}['_createToolbarButton'](_0x2646c4){const {locale:_0x2ffa73}=this['editor'],_0x66e4c=this['editor']['plugins']['get']('ImageInsertUI'),_0x4ba7f1=_0x2646c4[0x0],_0x4eca73=this['_createButton'](_0x2912d2,_0x4ba7f1['type']);return _0x4eca73['icon']=_0x4ba7f1['icon'],_0x4eca73['bind']('label')['to'](_0x66e4c,'isImageSelected',_0x3d0e31=>_(_0x2ffa73,_0x4ba7f1['type'],_0x3d0e31?'Replace':'Insert')['text']),_0x4eca73['tooltip']=!0x0,_0x4eca73;}['_createDropdownButtons'](_0x450186){const {locale:_0x48734f}=this['editor'],_0x337769=this['editor']['plugins']['get']('ImageInsertUI');return _0x450186['map'](_0x19864f=>{const _0x3c5a6c=this['_createButton'](_0x2912d2,_0x19864f['type']);return _0x3c5a6c['withText']=!0x0,_0x3c5a6c['icon']=_0x19864f['icon'],_0x3c5a6c['bind']('label')['to'](_0x337769,'isImageSelected',_0x2e6c37=>_(_0x48734f,_0x19864f['type'],_0x2e6c37?'Replace':'Insert')['text']),_0x3c5a6c;});}['_createMenuBarButtons'](_0x2ac7dd){return _0x2ac7dd['map'](_0x5709e4=>{const _0xd05e31=this['_createButton'](_0x40ff32,_0x5709e4['type']);return _0xd05e31['icon']=_0x5709e4['icon'],_0xd05e31['label']=_0x5709e4['shortText'],_0xd05e31;});}}class V extends _0x2e0ada{['focusTracker'];['focusCycler'];constructor(_0x48f38a){super(_0x48f38a),this['focusTracker']=new _0x4ffd6e(),this['focusCycler']=new _0x36d203({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends V{constructor(_0x55c3db,_0xe2eb4a){super(_0x55c3db),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-'+_0xe2eb4a}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3ccad4,_0x4e371f){const _0x42acd9=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4058bf=>_0x4058bf<=_0x4e371f)['map'](_0x51ec01=>_0x3ccad4['replace'](/\/$/,'')+'/-/resize/'+_0x51ec01+'x/\x20'+_0x51ec01+'w');return{'imageFallbackUrl':_0x3ccad4,'imageSources':[{'srcset':_0x42acd9['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4e371f+'px)\x20100vw,\x20'+_0x4e371f+'px','type':'image/webp'}]};}function F(_0x1abe9e,_0x262688,_0x7747a4){const _0x34e083=_0x1abe9e['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x34e083?parseInt(_0x34e083[0x1],0xa):_0x262688,'height':_0x34e083?parseInt(_0x34e083[0x2],0xa):_0x7747a4};}function p(_0x2628b0,_0x1e8600){const _0xcc8d2b=new(_0x38187e())(),_0x256b1e=_0x2628b0['plugins']['get']('ImageUtils'),_0x4d9c0c=_0x2628b0['editing']['mapper']['toViewElement'](_0x1e8600),_0x33a5ae=_0x256b1e['findViewImgElement'](_0x4d9c0c),_0x2214a0=_0x2628b0['editing']['view']['domConverter']['viewToDom'](_0x33a5ae),_0x5d344c=_0x1e8600['getAttribute']('width'),_0x4c27c7=_0x1e8600['getAttribute']('height'),_0x5e1358='image-processing';_0x2628b0['editing']['view']['change'](_0x566e98=>{_0x566e98['addClass'](_0x5e1358,_0x4d9c0c),_0x566e98['setStyle']('aspect-ratio',_0x5d344c+'/'+_0x4c27c7,_0x33a5ae);}),_0xcc8d2b['listenTo'](_0x2214a0,'load',()=>{_0xcc8d2b['stopListening'](_0x2214a0,'load'),_0x2628b0['editing']['view']['change'](_0x45fd00=>{_0x45fd00['removeClass'](_0x5e1358,_0x4d9c0c),_0x45fd00['removeStyle']('aspect-ratio',_0x33a5ae);});});}function R(_0x13f82a){if(Array['isArray'](_0x13f82a)){const _0x121faf=_0x13f82a['map'](R);return _0x23bd82=>_0x121faf['some'](_0x651746=>_0x651746(_0x23bd82));}if('origin'==_0x13f82a){const _0x4de7a2=_0x46ac85['window']['location']['origin'];return _0xa65e24=>new URL(_0xa65e24,_0x46ac85['document']['baseURI'])['origin']==_0x4de7a2;}return'function'==typeof _0x13f82a?_0x13f82a:_0x13f82a instanceof RegExp?_0xe98723=>!(!_0xe98723['match'](_0x13f82a)&&!_0xe98723['replace'](/^https?:\/\//,'')['match'](_0x13f82a)):()=>!0x1;}function M(_0x7329bb,_0x28e5cf){return _0x4b9038(_0x7329bb['target'])['includes'](_0x28e5cf);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x284938(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x3d3dfe,_0x26deec,_0x668b55){super(),this['_editor']=_0x3d3dfe,this['_editing']=_0x26deec,this['_dialog']=_0x3d3dfe['plugins']['get'](_0x3f728a),this['_api']=_0x26deec['ctxElement']['getAPI'](),this['_type']=_0x668b55,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:_0x379f12,model:_0x554a49}=this['_editor'],_0x23cfaa=_0x554a49['document']['selection']['getSelectedElement'](),_0x529cb7=_0x23cfaa&&(_0x23cfaa['is']('element','imageBlock')||_0x23cfaa['is']('element','imageInline'));this['_formView']=new S(_0x379f12,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x441948,'title':_(_0x379f12,this['_type'],_0x529cb7?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2956ae['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4ae23f=>!M(_0x4ae23f,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5d465d}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5ddbd4=>{const _0x36a553=_0x5d465d['length'];for(const _0x42e86f of _0x5d465d){const _0x28db89=_0x42e86f===_0x5d465d[_0x36a553-0x1],{cdnUrl:_0x201330,fileInfo:_0x2fda67}=_0x42e86f;if(!_0x201330||!_0x2fda67)continue;const {width:_0x13e26f,height:_0x1d3baf}=_0x2fda67['imageInfo'],_0x11e54c=F(_0x201330,_0x13e26f,_0x1d3baf),_0x5b28aa=C(_0x201330,_0x11e54c['width']),_0x8e5d27={'id':_0x2fda67['uuid'],'type':'image','attributes':{'imageDimension':_0x11e54c,..._0x5b28aa}};this['_insertAsset'](_0x8e5d27,_0x28db89,_0x5ddbd4);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x170e49=>{'idle'===_0x170e49['detail']['status']&&!_0x170e49['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3c05f7,_0x22f9a0,_0x111371){const _0x415934=this['_editor']['model']['document']['selection'],_0x754981=_0x415934['getSelectedElement'](),_0x565e6c=!(!_0x754981||!_0x754981['is']('element','imageInline'));_0x111371['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3c05f7,_0x565e6c),_0x22f9a0||_0x111371['setSelection'](_0x415934['getLastPosition']());}['_insertImage'](_0x2f0e0f,_0x346d91){const _0x59e6ba=this['_editor'],{imageDimension:_0x2a2d1e,imageFallbackUrl:_0xa82a03,imageSources:_0x11191b}=_0x2f0e0f['attributes'];_0x59e6ba['execute']('insertImage',{'imageType':_0x346d91?'imageInline':null,'source':{'uploadcareImageId':_0x2f0e0f['id'],'src':_0xa82a03,'sources':_0x11191b,..._0x2a2d1e}});}}class w extends _0x269e16{['_editing'];['_controller']=null;static get['requires'](){return[_0x3f728a,o];}constructor(_0x540852){super(_0x540852),this['_editing']=_0x540852['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x26b810){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x26b810);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x440110,..._0x555013}){return _0x1965d8(_0x440110,_0x555013);}static['getInfo'](_0x3a8d47,_0x1a0e2b){return _0x20f17e(_0x3a8d47,_0x1a0e2b);}}class f extends _0x55ddf0{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x25f42c,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x9294c1=this['editor'];if(!!!_0x9294c1['config']['get']('uploadcare'))return;_0x9294c1['plugins']['get'](_0x25f42c)['createUploadAdapter']=_0x1da0a2=>new k(_0x1da0a2,_0x9294c1),_0x9294c1['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4451d3,{imageElement:_0x549a3b,data:_0x5f355f})=>{_0x9294c1['model']['change'](_0x56979a=>{_0x56979a['setAttribute']('uploadcareImageId',_0x5f355f['uploadcareImageId'],_0x549a3b);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x7417a5,_0x4cf52c){this['loader']=_0x7417a5,this['editor']=_0x4cf52c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1b2da9=await this['loader']['file'];return j['upload']({'file':_0x1b2da9,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x1ad0a3=>{_0x1ad0a3&&_0x1ad0a3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1ad0a3['value']);}})['then'](async _0x435d2c=>{const {imageFallbackUrl:_0x4359a6,imageSources:_0x5407cc}=C(_0x435d2c['cdnUrl'],_0x435d2c['imageInfo']['width']);return{'uploadcareImageId':_0x435d2c['uuid'],'default':_0x4359a6,'sources':_0x5407cc};})['catch'](()=>{const _0x258438=t('Cannot\x20upload\x20file:')+('\x20'+_0x1b2da9['name']+'.');return Promise['reject'](_0x258438);});}['abort'](){this['controller']['abort']();}}class o extends _0x55ddf0{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x3f728a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5dba28){super(_0x5dba28),this['ucContextId']=_0x55b0bc();}['init'](){const _0x4ce4b4=this['editor'];_0x4ce4b4['commands']['add']('uploadcare',new w(_0x4ce4b4));}['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 _0x8a72c3=_0x46ac85['document']['querySelector']('input[uploadcare-file-input]');_0x8a72c3&&_0x8a72c3['remove']();}),async function(_0x92c967){const _0x1d47c7=_0x468f68([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x2948b8=0x535f8c3a,_0x42bc36=0x5358f232^_0x2948b8,_0x32d561=window[_0x468f68([0x44,0x61,0x74,0x65])][_0x468f68([0x6e,0x6f,0x77])](),_0x14748f=_0x92c967[_0x468f68([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3682cd=new window[(_0x468f68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b3947=>{_0x14748f[_0x468f68([0x6f,0x6e,0x63,0x65])](_0x468f68([0x72,0x65,0x61,0x64,0x79]),_0x1b3947);}),_0x519662={[_0x468f68([0x6b,0x74,0x79])]:_0x468f68([0x45,0x43]),[_0x468f68([0x75,0x73,0x65])]:_0x468f68([0x73,0x69,0x67]),[_0x468f68([0x63,0x72,0x76])]:_0x468f68([0x50,0x2d,0x32,0x35,0x36]),[_0x468f68([0x78])]:_0x468f68([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]),[_0x468f68([0x79])]:_0x468f68([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]),[_0x468f68([0x61,0x6c,0x67])]:_0x468f68([0x45,0x53,0x32,0x35,0x36])},_0x10e2c0=_0x14748f[_0x468f68([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x468f68([0x67,0x65,0x74])](_0x468f68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8b2f10(){let _0x4f115d,_0x329f62=null,_0xf060f2=null;try{if(_0x10e2c0==_0x468f68([0x47,0x50,0x4c]))return _0x468f68([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f115d=_0x5ab84d(),!_0x4f115d)return _0x468f68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4f115d[_0x468f68([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf060f2=_0x1f4593(_0x4f115d[_0x468f68([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f115d[_0x468f68([0x6a,0x74,0x69])])),await _0x5a43de()?_0x477545()?_0xd4625b()?_0x468f68([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51d54e()?(_0x4f115d[_0x468f68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x468f68([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x329f62=_0x4d945e(_0x468f68([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4f115d[_0x468f68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x468f68([0x74,0x72,0x69,0x61,0x6c])&&(_0x329f62=_0x4d945e(_0x468f68([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd00e3()):_0x468f68([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x468f68([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x468f68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x468f68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd4625b(){const _0x20568a=[_0x468f68([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x468f68([0x74,0x72,0x69,0x61,0x6c])][_0x468f68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f115d[_0x468f68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x32d561/0x3e8:0xe10*_0x42bc36;return _0x4f115d[_0x468f68([0x65,0x78,0x70])]<_0x20568a;}function _0x477545(){const _0x24a330=_0x4f115d[_0x468f68([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24a330&&(!!_0x24a330[_0x468f68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468f68([0x2a]))||!!_0x24a330[_0x468f68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468f68([0x55,0x50,0x4c,0x43])));}function _0x51d54e(){const _0x5abd71=_0x4f115d[_0x468f68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5abd71||0x0==_0x5abd71[_0x468f68([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x197d14}=new URL(window[_0x468f68([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5abd71[_0x468f68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x197d14))return!0x0;const _0x318c73=_0x197d14[_0x468f68([0x73,0x70,0x6c,0x69,0x74])](_0x468f68([0x2e]));return _0x5abd71[_0x468f68([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1dc9b6=>_0x1dc9b6[_0x468f68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468f68([0x2a])))[_0x468f68([0x6d,0x61,0x70])](_0x504bbe=>_0x504bbe[_0x468f68([0x73,0x70,0x6c,0x69,0x74])](_0x468f68([0x2e])))[_0x468f68([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31b3d7=>_0x31b3d7[_0x468f68([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x318c73[_0x468f68([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x468f68([0x6d,0x61,0x70])](_0x21b547=>Array(_0x318c73[_0x468f68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x21b547[_0x468f68([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x468f68([0x66,0x69,0x6c,0x6c])](_0x21b547[0x0]===_0x468f68([0x2a])?_0x468f68([0x2a]):'')[_0x468f68([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x21b547))[_0x468f68([0x73,0x6f,0x6d,0x65])](_0xa1bb41=>_0x318c73[_0x468f68([0x65,0x76,0x65,0x72,0x79])]((_0x20242a,_0x4d9a4a)=>_0xa1bb41[_0x4d9a4a]===_0x20242a||_0xa1bb41[_0x4d9a4a]===_0x468f68([0x2a])));}function _0xd00e3(){return _0x329f62&&_0xf060f2?new window[(_0x468f68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36bcfe,_0x52aafc)=>{_0x329f62[_0x468f68([0x74,0x68,0x65,0x6e])](_0x36bcfe,_0x52aafc),_0xf060f2[_0x468f68([0x74,0x68,0x65,0x6e])](_0x513804=>{_0x513804!=_0x468f68([0x56,0x61,0x6c,0x69,0x64])&&_0x36bcfe(_0x513804);},_0x52aafc);}):_0x329f62||_0xf060f2||_0x468f68([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f4593(_0x19ca9f,_0x816b4c){return new window[(_0x468f68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ea7bb=>{if(_0x29ceb2())return _0x2ea7bb(_0x468f68([0x56,0x61,0x6c,0x69,0x64]));_0x26a62c(),_0x14748f[_0x468f68([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x468f68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49ba43=!0x1;const _0x53af7a=_0x55b0bc();function _0x3525db(_0xe6e557){return!!_0xe6e557&&(typeof _0xe6e557===_0x468f68([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe6e557===_0x468f68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe6e557[_0x468f68([0x74,0x68,0x65,0x6e])]===_0x468f68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe6e557[_0x468f68([0x63,0x61,0x74,0x63,0x68])]===_0x468f68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x237da4(_0x5c4a3c){_0x351005(_0x5c4a3c)[_0x468f68([0x74,0x68,0x65,0x6e])](_0x27202d=>{if(!_0x27202d||_0x27202d[_0x468f68([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x468f68([0x6f,0x6b]))return _0x468f68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1713f5(_0x20c018(_0x53af7a+_0x816b4c))!=_0x27202d[_0x468f68([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x468f68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x468f68([0x56,0x61,0x6c,0x69,0x64]);})[_0x468f68([0x74,0x68,0x65,0x6e])](_0x28bef5=>(_0x2746d5(),_0x28bef5),()=>{const _0x4d03a4=_0xe8fd7e();return null==_0x4d03a4?(_0x2746d5(),_0x468f68([0x56,0x61,0x6c,0x69,0x64])):_0x468f68(_0x32d561-_0x4d03a4>(0x7753083a^_0x2948b8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x468f68([0x74,0x68,0x65,0x6e])](_0x2ea7bb)[_0x468f68([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2ea7bb(_0x468f68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59c6c0=0x536962ba^_0x2948b8;function _0x2746d5(){const _0x371bd8=_0x468f68([0x6c,0x6c,0x63,0x74,0x2d])+_0x1713f5(_0x20c018(_0x19ca9f)),_0x2c5a07=_0x5558f2(_0x1713f5(window[_0x468f68([0x4d,0x61,0x74,0x68])][_0x468f68([0x63,0x65,0x69,0x6c])](_0x32d561/_0x59c6c0)));window[_0x468f68([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x468f68([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x371bd8,_0x2c5a07);}function _0xe8fd7e(){const _0x5d93f9=_0x468f68([0x6c,0x6c,0x63,0x74,0x2d])+_0x1713f5(_0x20c018(_0x19ca9f)),_0x589db1=window[_0x468f68([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x468f68([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d93f9);return _0x589db1?window[_0x468f68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5558f2(_0x589db1),0x10)*_0x59c6c0:null;}function _0x351005(_0xaa8206){return new window[(_0x468f68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x151f80,_0x1e4d4f)=>{_0xaa8206[_0x468f68([0x74,0x68,0x65,0x6e])](_0x151f80,_0x1e4d4f),window[_0x468f68([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e4d4f,0x535e58fa^_0x2948b8);});}}_0x14748f[_0x468f68([0x6f,0x6e])](_0x468f68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f2ae3,_0xf234e8)=>{if(_0xf234e8[0x0]!=_0x19ca9f)return _0x2ea7bb(_0x468f68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf234e8[0x1]={..._0xf234e8[0x1],[_0x468f68([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53af7a};},{[_0x468f68([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x468f68([0x68,0x69,0x67,0x68])}),_0x14748f[_0x468f68([0x6f,0x6e])](_0x468f68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x365e1c=>{_0x3525db(_0x365e1c[_0x468f68([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49ba43=!0x0,_0x237da4(_0x365e1c[_0x468f68([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x468f68([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x468f68([0x6c,0x6f,0x77])}),_0x3682cd[_0x468f68([0x74,0x68,0x65,0x6e])](()=>{_0x49ba43||_0x2ea7bb(_0x468f68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29ceb2(){return _0x14748f[_0x468f68([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x468f68([0x76,0x69,0x65,0x77])][_0x468f68([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x468f68([0x61,0x75,0x74,0x6f]);}function _0x26a62c(){_0x14748f[_0x468f68([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x468f68([0x76,0x69,0x65,0x77])][_0x468f68([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x468f68([0x61,0x75,0x74,0x6f]);}}function _0x4d945e(_0x95d2c5){const _0x1ba1a2=[new window[(_0x468f68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5845bc=>setTimeout(_0x5845bc,0x5356b2f6^_0x2948b8)),_0x3682cd[_0x468f68([0x74,0x68,0x65,0x6e])](()=>new window[(_0x468f68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x371dca=>{let _0x4e6f7f=0x0;_0x14748f[_0x468f68([0x6d,0x6f,0x64,0x65,0x6c])][_0x468f68([0x6f,0x6e])](_0x468f68([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40763a,_0x102a55)=>{_0x102a55[0x0][_0x468f68([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e6f7f++,_0x4e6f7f==(0x535f89d2^_0x2948b8)&&(_0x371dca(),_0x40763a[_0x468f68([0x6f,0x66,0x66])]());});}))];return window[_0x468f68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x468f68([0x72,0x61,0x63,0x65])](_0x1ba1a2)[_0x468f68([0x74,0x68,0x65,0x6e])](()=>_0x95d2c5);}async function _0x347694(){await _0x3682cd,_0x14748f[_0x468f68([0x6d,0x6f,0x64,0x65,0x6c])][_0x468f68([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2437ba,_0x14748f[_0x468f68([0x6d,0x6f,0x64,0x65,0x6c])][_0x468f68([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2437ba,_0x14748f[_0x468f68([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x468f68([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x43694f(_0x3fd8c4){const _0x3980aa=_0x2d6357();_0x14748f[_0x3980aa]=_0x468f68([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3fd8c4,_0x3fd8c4!=_0x468f68([0x56,0x61,0x6c,0x69,0x64])&&_0x347694();}function _0x2d6357(){const _0x7a6e9c=window[_0x468f68([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x468f68([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x468f68([0x6e,0x6f,0x77])]())[_0x468f68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x468f68([0x2e]),'');let _0x2e8cfd=_0x468f68([0x68]);for(let _0x29d6ac=0x0;_0x29d6ac<_0x7a6e9c[_0x468f68([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29d6ac+=0x2){let _0xcaa627=window[_0x468f68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7a6e9c[_0x468f68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29d6ac,_0x29d6ac+0x2));_0xcaa627>=_0x1d47c7[_0x468f68([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xcaa627-=_0x1d47c7[_0x468f68([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e8cfd+=_0x1d47c7[_0xcaa627];}return _0x2e8cfd;}function _0x5ab84d(){const _0x46dd5e=_0x10e2c0[_0x468f68([0x73,0x70,0x6c,0x69,0x74])](_0x468f68([0x2e]));if(0x3!=_0x46dd5e[_0x468f68([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x30f976(_0x46dd5e[0x1]);function _0x30f976(_0x1f5981){const _0x35b1ba=_0x23fe21(_0x1f5981);return _0x35b1ba&&_0x217dc3()?_0x35b1ba:null;function _0x217dc3(){const _0x1611c2=_0x35b1ba[_0x468f68([0x6a,0x74,0x69])],_0x1657af=window[_0x468f68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1611c2[_0x468f68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1611c2[_0x468f68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x145cd2={..._0x35b1ba,[_0x468f68([0x6a,0x74,0x69])]:_0x1611c2[_0x468f68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1611c2[_0x468f68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x145cd2[_0x468f68([0x76,0x63])],_0x20c018(_0x145cd2)==_0x1657af;}}}async function _0x5a43de(){let _0x2395d3=!0x0;try{const _0x4af232=_0x10e2c0[_0x468f68([0x73,0x70,0x6c,0x69,0x74])](_0x468f68([0x2e])),[_0x5a58c1,_0x447113,_0x1d8fe3]=_0x4af232;return _0x250db6(_0x5a58c1),await _0x290e89(_0x5a58c1,_0x447113,_0x1d8fe3),_0x2395d3;}catch{return!0x1;}function _0x250db6(_0x202609){const _0x128f45=_0x23fe21(_0x202609);_0x128f45&&_0x128f45[_0x468f68([0x61,0x6c,0x67])]==_0x468f68([0x45,0x53,0x32,0x35,0x36])||(_0x2395d3=!0x1);}async function _0x290e89(_0x27e937,_0x33763b,_0x14ee6c){const _0x44f7dd=window[_0x468f68([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x468f68([0x66,0x72,0x6f,0x6d])](_0x5caf96(_0x14ee6c),_0x9b6c87=>_0x9b6c87[_0x468f68([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x496dd5=new window[(_0x468f68([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x468f68([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27e937+_0x468f68([0x2e])+_0x33763b),_0x3cf80c=window[_0x468f68([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x468f68([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3cf80c)return;const _0x5c4f06=await _0x3cf80c[_0x468f68([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x468f68([0x6a,0x77,0x6b]),_0x519662,{[_0x468f68([0x6e,0x61,0x6d,0x65])]:_0x468f68([0x45,0x43,0x44,0x53,0x41]),[_0x468f68([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x468f68([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x468f68([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3cf80c[_0x468f68([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x468f68([0x6e,0x61,0x6d,0x65])]:_0x468f68([0x45,0x43,0x44,0x53,0x41]),[_0x468f68([0x68,0x61,0x73,0x68])]:{[_0x468f68([0x6e,0x61,0x6d,0x65])]:_0x468f68([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c4f06,_0x44f7dd,_0x496dd5)||(_0x2395d3=!0x1);}}function _0x23fe21(_0x36a6b5){return _0x36a6b5[_0x468f68([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x468f68([0x65,0x79]))?JSON[_0x468f68([0x70,0x61,0x72,0x73,0x65])](_0x5caf96(_0x36a6b5)):null;}function _0x5caf96(_0x11a7dd){return window[_0x468f68([0x61,0x74,0x6f,0x62])](_0x11a7dd[_0x468f68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x468f68([0x2b]))[_0x468f68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x468f68([0x2f])));}function _0x20c018(_0x1c9ad2){let _0x14d260=0x1505;function _0x684f3f(_0x56923f){for(let _0x5c3c28=0x0;_0x5c3c28<_0x56923f[_0x468f68([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c3c28++){const _0xf55647=_0x56923f[_0x468f68([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c3c28);_0x14d260=(_0x14d260<<0x5)+_0x14d260+_0xf55647,_0x14d260&=_0x14d260;}}function _0x264d78(_0x38662c){Array[_0x468f68([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x38662c)?_0x38662c[_0x468f68([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x264d78):_0x38662c&&typeof _0x38662c==_0x468f68([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x468f68([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x38662c)[_0x468f68([0x73,0x6f,0x72,0x74])]()[_0x468f68([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc28d9e,_0x3a6df9])=>{_0x684f3f(_0xc28d9e),_0x264d78(_0x3a6df9);}):_0x684f3f(window[_0x468f68([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x38662c));}return _0x264d78(_0x1c9ad2),_0x14d260>>>0x0;}function _0x1713f5(_0x540b89){return _0x540b89[_0x468f68([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x468f68([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x468f68([0x30]));}function _0x5558f2(_0x2b20ec){return _0x2b20ec[_0x468f68([0x73,0x70,0x6c,0x69,0x74])]('')[_0x468f68([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x468f68([0x6a,0x6f,0x69,0x6e])]('');}function _0x2437ba(){}function _0x468f68(_0x4f01a6){return _0x4f01a6['map'](_0xc2d545=>String['fromCharCode'](_0xc2d545))['join']('');}_0x43694f(await _0x8b2f10());}(this);}['_initSchema'](){const _0x32cfeb=this['editor']['model']['schema'];_0x32cfeb['isRegistered']('imageBlock')&&_0x32cfeb['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x32cfeb['isRegistered']('imageInline')&&_0x32cfeb['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x17e13d=this['editor'];_0x17e13d['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x17e13d['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1fcd5c=>_0x1fcd5c['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3338cc=_0x17e13d['commands']['get']('replaceImageSource');_0x3338cc&&this['listenTo'](_0x3338cc,'cleanupImage',(_0x36e9e6,[_0x2b7133,_0x1e75cb])=>{_0x2b7133['removeAttribute']('uploadcareImageId',_0x1e75cb);});}['_initConfig'](){const _0x5c366a=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4e9a6f=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x32c812(_0x46ac85['document'],'uc-config',{..._0x5c366a,'pubkey':_0x4e9a6f,'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']=_0x4543c2=>{if('closeMax'==_0x4543c2)return'#uc-icon-arrow-down';},_0x46ac85['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x32c812(_0x46ac85['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x46ac85['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x44f57d=this['editor']['commands']['get']('insertImage');_0x44f57d&&this['listenTo'](_0x44f57d,'execute',()=>{const _0x19e20e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x19e20e&&_0x19e20e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x19e20e);});});const _0xdb47cd=this['editor']['commands']['get']('uploadcareImageReplace');_0xdb47cd&&this['listenTo'](_0xdb47cd,'execute',()=>{const _0x36e2ab=this['editor']['model']['document']['selection']['getSelectedElement']();_0x36e2ab&&_0x36e2ab['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x36e2ab);});});}}class tt extends _0x55ddf0{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3bb7fd){super(_0x3bb7fd),_0x3bb7fd['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x197638['defineComponents'](_0x197638),this['_defineLocale']();}['_defineLocale'](){const _0x599718=this['editor']['config']['get']('uploadcare.locale'),_0x39b421=this['editor']['locale']['contentLanguage'];_0x599718&&_0x197638['defineLocale'](_0x39b421,_0x599718);}}class ii extends _0x2e0ada{constructor(_0x525d1f){super(_0x525d1f);const t=_0x525d1f['t'],_0x3286c0=this['bindTemplate'],_0x48628e=new _0x31f18b();_0x48628e['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':[_0x48628e,{'text':_0x3286c0['to']('imageUploadProgress',_0x45d44e=>t('Loading\x20image...')+'\x20('+(_0x45d44e||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 _0x2e0ada{constructor(_0x54cf0c){super(_0x54cf0c);const t=_0x54cf0c['t'];this['set']('errorType',null);const _0x2f2ff5=new _0x2912d2(_0x54cf0c);_0x2f2ff5['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2f2ff5['withText']=!0x0,_0x2f2ff5['class']='ck-button-action',_0x2f2ff5['on']('execute',()=>{this['fire']('retry');}),_0x2f2ff5['bind']('isVisible')['to'](this,'errorType',_0x4d5f84=>'NotFound'!==_0x4d5f84);const _0x2941f9=new _0x37d47d();_0x2941f9['content']=_0x11c53b,_0x2941f9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x793761=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':[_0x2941f9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x793761['to']('errorType',_0x45275d=>t('NotFound'!==_0x45275d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2f2ff5]},{'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 _0x2e0ada{constructor(_0x320fa3,_0x471854){super(_0x320fa3);const _0x584936=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x471854,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x584936['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x58bdad,_0x4e0b21,_0x2eab56){super(_0x58bdad),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x58bdad),this['_errorView']=new ti(_0x58bdad),this['_editingView']=new ei(_0x58bdad,_0x2eab56),this['_focusableView']=new _0x2e0ada(_0x58bdad),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4e0b21),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'],_0x12730b=>{this['_addUploadcareImageEditorListeners'](_0x12730b);});}),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'](_0x3110ab,_0x18f4da){const _0x58b7ec='uc-cloud-image-editor',_0x39c811=_0x3110ab['querySelector'](_0x58b7ec);if(_0x39c811)return _0x18f4da(_0x39c811);const _0x4e91ca=new MutationObserver(_0x485aaf=>{const _0x317147=_0x485aaf['filter'](_0x9925f1=>_0x9925f1['target']===_0x3110ab&&_0x9925f1['addedNodes']['length']>0x0&&_0x9925f1['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x58b7ec);_0x317147['length']&&(_0x4e91ca['disconnect'](),_0x18f4da(_0x317147[0x0]['addedNodes'][0x0]));});_0x4e91ca['observe'](_0x3110ab,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x464fb6){_0x464fb6['addEventListener']('apply',_0x56b7ee=>{this['fire']('apply',{'imageSrc':_0x56b7ee['detail']['cdnUrl']});}),_0x464fb6['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x284938(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3e5d3e,_0x2b4625,_0xece643){super(),this['_editor']=_0x3e5d3e,this['_dialog']=_0x2b4625,this['_imageElement']=_0xece643,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 _0x477160=this['_imageElement'],_0x12eb30=_0x477160['getAttribute']('uploadcareImageId'),_0x564a98=_0x477160['getAttribute']('src');if(_0x12eb30)await this['_loadImageInfo'](_0x12eb30,_0x564a98);else{if(this['_imageCache']['has'](_0x564a98)){const _0x338341=this['_imageCache']['get'](_0x564a98);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x338341['url'],this['imageDimension']=_0x338341['dimension'],this['imageId']=_0x338341['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4d039a}=this['_editor'],t=_0x4d039a['t'],_0x1618e0=new X(_0x4d039a,this['imageStatus'],this['_attributes']);_0x1618e0['bind']('status')['to'](this,'imageStatus'),_0x1618e0['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1618e0['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1618e0['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1618e0,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4de65f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1618e0,'position':_0x2956ae['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1618e0['focus']();},'onHide':()=>{_0x1618e0['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3881f1=>!M(_0x3881f1,_0x1618e0['element'])}});}['_loadImageInfo'](_0x485714,_0x4752b4){return j['getInfo'](_0x485714,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x394fb2=>{const {width:_0x4aed2f,height:_0x57ac0d}=_0x394fb2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4752b4,this['imageDimension']={'width':_0x4aed2f,'height':_0x57ac0d},this['imageId']=_0x485714;})['catch'](_0x17cfe0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x17cfe0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x53d1ad,_0x44ccdd){return this['_getImageAsFile'](_0x53d1ad)['then'](_0x4b913a=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x44ccdd['signal'],'file':_0x4b913a,'onProgress':_0x52ae84=>{_0x52ae84&&_0x52ae84['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x52ae84['value']));}}))['then'](_0x5d0733=>{const {width:_0x5e6fb2,height:_0x462917}=_0x5d0733['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5d0733['cdnUrl'],this['imageDimension']={'width':_0x5e6fb2,'height':_0x462917},this['imageId']=_0x5d0733['uuid'],this['imageUploadProgress']=null;const _0x3d75b8=_0x53d1ad['getAttribute']('src');this['_imageCache']['set'](_0x3d75b8,{'id':_0x5d0733['uuid'],'url':_0x5d0733['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x52235f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x52235f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1e56bc,_0x27ed31){_0x1e56bc['on']('apply',(_0x3a27a1,_0xedef75)=>{this['_replaceImage'](_0x27ed31,_0xedef75['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1e56bc['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1e56bc['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4bf642,_0x5b97ea,_0x81aead){const _0x420419=this['_editor'],{width:_0x2a9885,height:_0x4e21e7}=F(_0x5b97ea,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2b1472,imageSources:_0x182214}=C(_0x5b97ea,_0x2a9885);_0x420419['model']['change'](_0x5e4f84=>{if('$graveyard'===_0x4bf642['root']['rootName']){_0x420419['execute']('insertImage',{'imageType':_0x4bf642['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4bf642['getAttributes']()),'uploadcareImageId':_0x81aead,'src':_0x2b1472,'sources':_0x182214,'width':_0x2a9885,'height':_0x4e21e7}});const _0x4f9440=_0x4bf642['getChildren']();_0x4bf642=_0x420419['model']['document']['selection']['getSelectedElement']();for(const _0x48933a of _0x4f9440)_0x5e4f84['append'](_0x5e4f84['cloneElement'](_0x48933a),_0x4bf642);}else _0x5e4f84['setSelection'](_0x4bf642,'on'),_0x420419['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4bf642['getAttributes']()),'uploadcareImageId':_0x81aead,'src':_0x2b1472,'sources':_0x182214,'width':_0x2a9885,'height':_0x4e21e7},_0x4bf642);_0x5e4f84['setSelection'](_0x4bf642,'on');});}async['_getImageAsFile'](_0x3e06fd){const _0x5c214c=_0x46ac85['window'],_0x36c8f3=_0x46ac85['document']['location']['href'],_0x56d0d3=new _0x5c214c['URL'](_0x3e06fd['getAttribute']('src'),_0x36c8f3);if('data:'===_0x56d0d3['protocol']){const _0x2a19e1=_0x56d0d3['href']['split'](','),_0x122cd4=_0x2a19e1[0x0]['match'](/:(.*?);/)[0x1],_0x24b28b=_0x122cd4['split']('/')[0x1],_0x1b9146=_0x5c214c['atob'](_0x2a19e1[_0x2a19e1['length']-0x1]);let _0x4a533e=_0x1b9146['length'];const _0xe4b3a7=new _0x5c214c['Uint8Array'](_0x4a533e);for(;_0x4a533e--;)_0xe4b3a7[_0x4a533e]=_0x1b9146['charCodeAt'](_0x4a533e);return new _0x5c214c['File']([_0xe4b3a7],'image.'+_0x24b28b,{'type':_0x122cd4});}const _0x427a4d=_0x56d0d3['href']['split']('/'),_0x59d4c3=_0x427a4d[_0x427a4d['length']-0x1],_0x2207e8=_0x59d4c3['split']('.')[0x1];return _0x5c214c['fetch'](_0x56d0d3['href'])['then'](_0x3a83b0=>_0x3a83b0['clone']()['blob']())['then'](_0x42fce0=>new _0x5c214c['File']([_0x42fce0],_0x59d4c3,{'type':'image/'+_0x2207e8}));}}class N extends _0x269e16{['imageEditController'];static get['requires'](){return[_0x3f728a];}['_isEditable'];constructor(_0x48385d){super(_0x48385d),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2d6966){const _0xcef7fc=R(_0x2d6966);return _0x4246df=>!(!_0x4246df||!_0x4246df['is']('element','imageBlock')&&!_0x4246df['is']('element','imageInline'))&&(!!_0x4246df['hasAttribute']('uploadcareImageId')||!!_0x4246df['hasAttribute']('src')&&_0xcef7fc(_0x4246df['getAttribute']('src')));}(_0x48385d['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2f9f9e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2f9f9e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5d8a44=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5d8a44&&(_0x5d8a44['is']('element','imageBlock')||_0x5d8a44['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x3f728a),_0x5d8a44),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x269e16{['refresh'](){const _0x2e6192=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2e6192&&(_0x2e6192['is']('element','imageBlock')||_0x2e6192['is']('element','imageInline')));}['execute'](_0x2d2b2a){const _0x55c2ca=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xf1b9e9=>{_0xf1b9e9['setAttributes'](_0x2d2b2a,_0x55c2ca),_0xf1b9e9['removeAttribute']('srcset',_0x55c2ca),_0xf1b9e9['removeAttribute']('sizes',_0x55c2ca);});}}class m extends _0x55ddf0{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x2b1861,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x21464d}=this;_0x21464d['commands']['add']('uploadcareImageEdit',new N(_0x21464d)),_0x21464d['commands']['add']('uploadcareImageReplace',new O(_0x21464d));}}class g extends _0x55ddf0{['_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 _0x3a433c=this['editor'];_0x3a433c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x151b0c=>{const _0x336b37=_0x3a433c['commands']['get']('uploadcareImageEdit'),_0x437bb8=new _0x2912d2(_0x151b0c),t=_0x151b0c['t'];return _0x437bb8['set']({'icon':_0x4de65f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x437bb8['bind']('isEnabled')['to'](_0x336b37),_0x437bb8['bind']('isOn')['to'](_0x336b37,'isActive'),this['listenTo'](_0x437bb8,'execute',()=>{_0x3a433c['execute']('uploadcareImageEdit'),_0x3a433c['editing']['view']['focus']();}),_0x437bb8;}),this['_initConfig']();}['_initConfig'](){const _0x2e39cb=_0x32c812(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2e39cb),this['listenTo'](this['editor'],'destroy',()=>{_0x2e39cb['remove']();});}}class et extends _0x55ddf0{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -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':_0x1ca838=>0x1!=_0x1ca838}};
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':_0x9661e9=>0x1!=_0x9661e9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1edba7=>{const {af:{dictionary:_0x137e7d,getPluralForm:_0x4f19e7}}={'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':_0x1334eb=>0x1!=_0x1334eb}};_0x1edba7['af']||={'dictionary':{},'getPluralForm':null},_0x1edba7['af']['dictionary']=Object['assign'](_0x1edba7['af']['dictionary'],_0x137e7d),_0x1edba7['af']['getPluralForm']=_0x4f19e7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1bab88=>{const {af:{dictionary:_0x239ec8,getPluralForm:_0x33332d}}={'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':_0x526f75=>0x1!=_0x526f75}};_0x1bab88['af']||={'dictionary':{},'getPluralForm':null},_0x1bab88['af']['dictionary']=Object['assign'](_0x1bab88['af']['dictionary'],_0x239ec8),_0x1bab88['af']['getPluralForm']=_0x33332d;})(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':_0x16ff7e=>0x0==_0x16ff7e?0x0:0x1==_0x16ff7e?0x1:0x2==_0x16ff7e?0x2:_0x16ff7e%0x64>=0x3&&_0x16ff7e%0x64<=0xa?0x3:_0x16ff7e%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':_0x3cc291=>0x0==_0x3cc291?0x0:0x1==_0x3cc291?0x1:0x2==_0x3cc291?0x2:_0x3cc291%0x64>=0x3&&_0x3cc291%0x64<=0xa?0x3:_0x3cc291%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x21fcc2=>{const {ar:{dictionary:_0x3ae643,getPluralForm:_0xd110fa}}={'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':_0x38d414=>0x0==_0x38d414?0x0:0x1==_0x38d414?0x1:0x2==_0x38d414?0x2:_0x38d414%0x64>=0x3&&_0x38d414%0x64<=0xa?0x3:_0x38d414%0x64>=0xb?0x4:0x5}};_0x21fcc2['ar']||={'dictionary':{},'getPluralForm':null},_0x21fcc2['ar']['dictionary']=Object['assign'](_0x21fcc2['ar']['dictionary'],_0x3ae643),_0x21fcc2['ar']['getPluralForm']=_0xd110fa;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x21e52e=>{const {ar:{dictionary:_0x79f2d2,getPluralForm:_0x37301a}}={'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':_0xd493af=>0x0==_0xd493af?0x0:0x1==_0xd493af?0x1:0x2==_0xd493af?0x2:_0xd493af%0x64>=0x3&&_0xd493af%0x64<=0xa?0x3:_0xd493af%0x64>=0xb?0x4:0x5}};_0x21e52e['ar']||={'dictionary':{},'getPluralForm':null},_0x21e52e['ar']['dictionary']=Object['assign'](_0x21e52e['ar']['dictionary'],_0x79f2d2),_0x21e52e['ar']['getPluralForm']=_0x37301a;})(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':_0x32e7b4=>0x1!=_0x32e7b4}};
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':_0x326edb=>0x1!=_0x326edb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3d06db=>{const {ast:{dictionary:_0x11ebaa,getPluralForm:_0x4fe955}}={'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':_0x551aa8=>0x1!=_0x551aa8}};_0x3d06db['ast']||={'dictionary':{},'getPluralForm':null},_0x3d06db['ast']['dictionary']=Object['assign'](_0x3d06db['ast']['dictionary'],_0x11ebaa),_0x3d06db['ast']['getPluralForm']=_0x4fe955;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2c8547=>{const {ast:{dictionary:_0x12a04f,getPluralForm:_0x5c50bc}}={'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':_0x12c036=>0x1!=_0x12c036}};_0x2c8547['ast']||={'dictionary':{},'getPluralForm':null},_0x2c8547['ast']['dictionary']=Object['assign'](_0x2c8547['ast']['dictionary'],_0x12a04f),_0x2c8547['ast']['getPluralForm']=_0x5c50bc;})(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':_0x494ce5=>0x1!=_0x494ce5}};
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':_0x13d2df=>0x1!=_0x13d2df}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5d36e4=>{const {az:{dictionary:_0x1f2c0e,getPluralForm:_0x53cb90}}={'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':_0x4a447=>0x1!=_0x4a447}};_0x5d36e4['az']||={'dictionary':{},'getPluralForm':null},_0x5d36e4['az']['dictionary']=Object['assign'](_0x5d36e4['az']['dictionary'],_0x1f2c0e),_0x5d36e4['az']['getPluralForm']=_0x53cb90;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x27ea79=>{const {az:{dictionary:_0x302344,getPluralForm:_0xffb3b6}}={'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':_0xd9cde9=>0x1!=_0xd9cde9}};_0x27ea79['az']||={'dictionary':{},'getPluralForm':null},_0x27ea79['az']['dictionary']=Object['assign'](_0x27ea79['az']['dictionary'],_0x302344),_0x27ea79['az']['getPluralForm']=_0xffb3b6;})(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':_0x2cb64f=>_0x2cb64f%0xa==0x1&&_0x2cb64f%0x64!=0xb?0x0:_0x2cb64f%0xa>=0x2&&_0x2cb64f%0xa<=0x4&&(_0x2cb64f%0x64<0xa||_0x2cb64f%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':_0x5d4c30=>_0x5d4c30%0xa==0x1&&_0x5d4c30%0x64!=0xb?0x0:_0x5d4c30%0xa>=0x2&&_0x5d4c30%0xa<=0x4&&(_0x5d4c30%0x64<0xa||_0x5d4c30%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x36ec09=>{const {be:{dictionary:_0x446737,getPluralForm:_0x105be4}}={'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':_0x5a3b3d=>_0x5a3b3d%0xa==0x1&&_0x5a3b3d%0x64!=0xb?0x0:_0x5a3b3d%0xa>=0x2&&_0x5a3b3d%0xa<=0x4&&(_0x5a3b3d%0x64<0xa||_0x5a3b3d%0x64>=0x14)?0x1:0x2}};_0x36ec09['be']||={'dictionary':{},'getPluralForm':null},_0x36ec09['be']['dictionary']=Object['assign'](_0x36ec09['be']['dictionary'],_0x446737),_0x36ec09['be']['getPluralForm']=_0x105be4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x7c2a2=>{const {be:{dictionary:_0x168dd1,getPluralForm:_0x2211e8}}={'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':_0x5841f9=>_0x5841f9%0xa==0x1&&_0x5841f9%0x64!=0xb?0x0:_0x5841f9%0xa>=0x2&&_0x5841f9%0xa<=0x4&&(_0x5841f9%0x64<0xa||_0x5841f9%0x64>=0x14)?0x1:0x2}};_0x7c2a2['be']||={'dictionary':{},'getPluralForm':null},_0x7c2a2['be']['dictionary']=Object['assign'](_0x7c2a2['be']['dictionary'],_0x168dd1),_0x7c2a2['be']['getPluralForm']=_0x2211e8;})(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':_0x136de2=>0x1!=_0x136de2}};
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':_0x5cda04=>0x1!=_0x5cda04}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3cbff4=>{const {bg:{dictionary:_0x180368,getPluralForm:_0x263be6}}={'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':_0x589620=>0x1!=_0x589620}};_0x3cbff4['bg']||={'dictionary':{},'getPluralForm':null},_0x3cbff4['bg']['dictionary']=Object['assign'](_0x3cbff4['bg']['dictionary'],_0x180368),_0x3cbff4['bg']['getPluralForm']=_0x263be6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x10d2f0=>{const {bg:{dictionary:_0x5ca18d,getPluralForm:_0x9aca7d}}={'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':_0x4eafcd=>0x1!=_0x4eafcd}};_0x10d2f0['bg']||={'dictionary':{},'getPluralForm':null},_0x10d2f0['bg']['dictionary']=Object['assign'](_0x10d2f0['bg']['dictionary'],_0x5ca18d),_0x10d2f0['bg']['getPluralForm']=_0x9aca7d;})(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':_0x354802=>0x1!=_0x354802}};
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':_0x874b33=>0x1!=_0x874b33}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x287a23=>{const {bn:{dictionary:_0x3530c5,getPluralForm:_0x554c45}}={'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':_0x2ead94=>0x1!=_0x2ead94}};_0x287a23['bn']||={'dictionary':{},'getPluralForm':null},_0x287a23['bn']['dictionary']=Object['assign'](_0x287a23['bn']['dictionary'],_0x3530c5),_0x287a23['bn']['getPluralForm']=_0x554c45;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xa2c4c2=>{const {bn:{dictionary:_0xd42d3b,getPluralForm:_0xc8c3dc}}={'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':_0x1472b0=>0x1!=_0x1472b0}};_0xa2c4c2['bn']||={'dictionary':{},'getPluralForm':null},_0xa2c4c2['bn']['dictionary']=Object['assign'](_0xa2c4c2['bn']['dictionary'],_0xd42d3b),_0xa2c4c2['bn']['getPluralForm']=_0xc8c3dc;})(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':_0x54259b=>_0x54259b%0xa==0x1&&_0x54259b%0x64!=0xb?0x0:_0x54259b%0xa>=0x2&&_0x54259b%0xa<=0x4&&(_0x54259b%0x64<0xa||_0x54259b%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':_0x35d719=>_0x35d719%0xa==0x1&&_0x35d719%0x64!=0xb?0x0:_0x35d719%0xa>=0x2&&_0x35d719%0xa<=0x4&&(_0x35d719%0x64<0xa||_0x35d719%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5943a0=>{const {bs:{dictionary:_0x73c510,getPluralForm:_0x180294}}={'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':_0x178d43=>_0x178d43%0xa==0x1&&_0x178d43%0x64!=0xb?0x0:_0x178d43%0xa>=0x2&&_0x178d43%0xa<=0x4&&(_0x178d43%0x64<0xa||_0x178d43%0x64>=0x14)?0x1:0x2}};_0x5943a0['bs']||={'dictionary':{},'getPluralForm':null},_0x5943a0['bs']['dictionary']=Object['assign'](_0x5943a0['bs']['dictionary'],_0x73c510),_0x5943a0['bs']['getPluralForm']=_0x180294;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x141152=>{const {bs:{dictionary:_0x40ffdf,getPluralForm:_0x29bdf6}}={'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':_0x157bf8=>_0x157bf8%0xa==0x1&&_0x157bf8%0x64!=0xb?0x0:_0x157bf8%0xa>=0x2&&_0x157bf8%0xa<=0x4&&(_0x157bf8%0x64<0xa||_0x157bf8%0x64>=0x14)?0x1:0x2}};_0x141152['bs']||={'dictionary':{},'getPluralForm':null},_0x141152['bs']['dictionary']=Object['assign'](_0x141152['bs']['dictionary'],_0x40ffdf),_0x141152['bs']['getPluralForm']=_0x29bdf6;})(window['CKEDITOR_TRANSLATIONS']||={});