@ckeditor/ckeditor5-uploadcare 46.0.1-alpha.4 → 46.0.1-alpha.6

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 _0x511535,Command as _0x1322bd}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x430922,IconGooglePhotos as _0x490e3,IconGoogleDrive as _0x1ce41b,IconFacebook as _0x44f48f,IconDropbox as _0x75e6dc,IconUploadcareLink as _0x33e964,IconUploadcareImageUpload as _0x5134cb,IconError as _0x403606,IconUploadcareImageEdit as _0x3bb4ea}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5bb4bc,MenuBarMenuListItemButtonView as _0xc340f3,View as _0x11bee3,FocusCycler as _0x1bff0a,Dialog as _0x6efc3,DialogViewPosition as _0x4f6012,SpinnerView as _0x5636a1,IconView as _0x57ed87,Notification as _0x54b827}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2ba674,DomEmitterMixin as _0x2caeda,global as _0x281122,getAncestors as _0xb6092b,ObservableMixin as _0x5b07b1,uid as _0x3fc1ef,createElement as _0x3eb04a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xaa0f15}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2a5491,info as _0x578b47}from'@uploadcare/upload-client';import*as _0xd14136 from'@uploadcare/file-uploader';var i=function(_0x32128c){return _0x32128c['Local']='local',_0x32128c['URL']='url',_0x32128c['Dropbox']='dropbox',_0x32128c['GDrive']='gdrive',_0x32128c['Facebook']='facebook',_0x32128c['GPhotos']='gphotos',_0x32128c['OneDrive']='onedrive',_0x32128c;}({});function _(_0x1f5836,_0xf9e5a,_0x25aedb){const t=_0x1f5836['t'],_0xcd01e3=_0x1f5836['t'];switch(_0xf9e5a){case i['Local']:return{'text':_0xcd01e3('Insert'===_0x25aedb?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xcd01e3('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x25aedb?_0xcd01e3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xcd01e3('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x25aedb?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x25aedb?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x25aedb?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x25aedb?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x25aedb?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xf9e5a;}}class e extends _0x511535{['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 _0x1530f3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x16e875;for(const _0xf8f57a in _0x1530f3){const _0x2cb408=_0xf8f57a,_0x478f88=_0x1530f3[_0x2cb408];if('uploadcareLicenseKeyValid'==_0x478f88||'uploadcareLicenseKeyInvalid'==_0x478f88||'uploadcareLicenseKeyExpired'==_0x478f88||'uploadcareLicenseKeyDomainLimit'==_0x478f88||'uploadcareLicenseKeyNotAllowed'==_0x478f88||'uploadcareLicenseKeyEvaluationLimit'==_0x478f88||'uploadcareLicenseKeyTrialLimit'==_0x478f88||'uploadcareLicenseKeyUsageLimit'==_0x478f88){delete _0x1530f3[_0x2cb408],_0x16e875=_0x478f88,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x16e875&&_0x1530f3['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x16e875&&_0x1530f3['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x16e875&&_0x1530f3['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x16e875&&_0x1530f3['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x16e875&&_0x1530f3['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x16e875&&_0x1530f3['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x16e875&&_0x1530f3['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4c1384}=this,_0x45316c=_0x4c1384['commands']['get']('uploadcare');if(!_0x45316c)return;const _0xc36ea9=this['_normalizeConfigSourceList'](_0x4c1384['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x598a31,_0x235461)=>{const _0x5ae6e2=this['_getIntegrationKey'](_0x235461['type']);return _0x598a31[_0x5ae6e2]||(_0x598a31[_0x5ae6e2]=[]),_0x598a31[_0x5ae6e2]['push'](_0x235461),_0x598a31;},{});_0x4c1384['plugins']['has']('ImageInsertUI')&&_0x4c1384['commands']['get']('uploadcare')&&Object['entries'](_0xc36ea9)['forEach'](([_0xf2197f,_0x493873])=>{_0x4c1384['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xf2197f,'observable':()=>_0x45316c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x493873),'formViewCreator':()=>this['_createDropdownButtons'](_0x493873),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x493873),'override':'assetManager'!==_0xf2197f});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x45ff3c){const {locale:_0x10c24d}=this['editor'];return _0x45ff3c['map'](_0x5de1de=>{const _0x14b4e7=_(_0x10c24d,_0x5de1de,'Insert');switch(_0x5de1de){case i['Local']:return{'icon':_0x5134cb,'type':i['Local'],..._0x14b4e7};case i['URL']:return{'icon':_0x33e964,'type':i['URL'],..._0x14b4e7};case i['Dropbox']:return{'icon':_0x75e6dc,'type':i['Dropbox'],..._0x14b4e7};case i['Facebook']:return{'icon':_0x44f48f,'type':i['Facebook'],..._0x14b4e7};case i['GDrive']:return{'icon':_0x1ce41b,'type':i['GDrive'],..._0x14b4e7};case i['GPhotos']:return{'icon':_0x490e3,'type':i['GPhotos'],..._0x14b4e7};case i['OneDrive']:return{'icon':_0x430922,'type':i['OneDrive'],..._0x14b4e7};}});}['_getIntegrationKey'](_0x5cd0a0){switch(_0x5cd0a0){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x13c8c9,_0x1baed1){const _0x212ce0=this['editor'],_0xe4e287=new _0x13c8c9(_0x212ce0['locale']),_0x510a11=_0x212ce0['commands']['get']('uploadcare');return _0xe4e287['bind']('isEnabled')['to'](_0x510a11),_0xe4e287['on']('execute',()=>{_0x510a11['execute'](_0x1baed1);}),_0xe4e287;}['_createToolbarButton'](_0x3b4bd0){const {locale:_0x24fde4}=this['editor'],_0x69a37f=this['editor']['plugins']['get']('ImageInsertUI'),_0x4f7c8c=_0x3b4bd0[0x0],_0x55a3e7=this['_createButton'](_0x5bb4bc,_0x4f7c8c['type']);return _0x55a3e7['icon']=_0x4f7c8c['icon'],_0x55a3e7['bind']('label')['to'](_0x69a37f,'isImageSelected',_0x229a83=>_(_0x24fde4,_0x4f7c8c['type'],_0x229a83?'Replace':'Insert')['text']),_0x55a3e7['tooltip']=!0x0,_0x55a3e7;}['_createDropdownButtons'](_0x93db0b){const {locale:_0x535d89}=this['editor'],_0x32656b=this['editor']['plugins']['get']('ImageInsertUI');return _0x93db0b['map'](_0x143707=>{const _0x541dcb=this['_createButton'](_0x5bb4bc,_0x143707['type']);return _0x541dcb['withText']=!0x0,_0x541dcb['icon']=_0x143707['icon'],_0x541dcb['bind']('label')['to'](_0x32656b,'isImageSelected',_0x36f9b3=>_(_0x535d89,_0x143707['type'],_0x36f9b3?'Replace':'Insert')['text']),_0x541dcb;});}['_createMenuBarButtons'](_0x324a66){return _0x324a66['map'](_0x18bebf=>{const _0x9f2f60=this['_createButton'](_0xc340f3,_0x18bebf['type']);return _0x9f2f60['icon']=_0x18bebf['icon'],_0x9f2f60['label']=_0x18bebf['shortText'],_0x9f2f60;});}}class F extends _0x11bee3{['focusTracker'];['focusCycler'];constructor(_0x2f9333){super(_0x2f9333),this['focusTracker']=new _0x2ba674(),this['focusCycler']=new _0x1bff0a({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x26bee6,_0x526cda){super(_0x26bee6),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-'+_0x526cda}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x3d9267,_0x3302c9){const _0x51123d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x152e00=>_0x152e00<=_0x3302c9)['map'](_0x31af30=>_0x3d9267['replace'](/\/$/,'')+'/-/resize/'+_0x31af30+'x/\x20'+_0x31af30+'w');return{'imageFallbackUrl':_0x3d9267,'imageSources':[{'srcset':_0x51123d['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3302c9+'px)\x20100vw,\x20'+_0x3302c9+'px','type':'image/webp'}]};}function C(_0x5d84f9,_0x4baea8,_0x2ba285){const _0x48f2d8=_0x5d84f9['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x48f2d8?parseInt(_0x48f2d8[0x1],0xa):_0x4baea8,'height':_0x48f2d8?parseInt(_0x48f2d8[0x2],0xa):_0x2ba285};}function p(_0x4b86ea,_0x4f7531){const _0x1d68ef=new(_0x2caeda())(),_0xbbaaf0=_0x4b86ea['plugins']['get']('ImageUtils'),_0x382a4e=_0x4b86ea['editing']['mapper']['toViewElement'](_0x4f7531),_0x432fbd=_0xbbaaf0['findViewImgElement'](_0x382a4e),_0x52993f=_0x4b86ea['editing']['view']['domConverter']['viewToDom'](_0x432fbd),_0x4a1b4d=_0x4f7531['getAttribute']('width'),_0x1f5325=_0x4f7531['getAttribute']('height'),_0x42116f='image-processing';_0x4b86ea['editing']['view']['change'](_0x17cda4=>{_0x17cda4['addClass'](_0x42116f,_0x382a4e),_0x17cda4['setStyle']('aspect-ratio',_0x4a1b4d+'/'+_0x1f5325,_0x432fbd);}),_0x1d68ef['listenTo'](_0x52993f,'load',()=>{_0x1d68ef['stopListening'](_0x52993f,'load'),_0x4b86ea['editing']['view']['change'](_0x589bfc=>{_0x589bfc['removeClass'](_0x42116f,_0x382a4e),_0x589bfc['removeStyle']('aspect-ratio',_0x432fbd);});});}function z(_0x30b2da){if(Array['isArray'](_0x30b2da)){const _0x4bd51d=_0x30b2da['map'](z);return _0x2466ea=>_0x4bd51d['some'](_0x46e96d=>_0x46e96d(_0x2466ea));}if('origin'==_0x30b2da){const _0x326bad=_0x281122['window']['location']['origin'];return _0x20627f=>new URL(_0x20627f,_0x281122['document']['baseURI'])['origin']==_0x326bad;}return'function'==typeof _0x30b2da?_0x30b2da:_0x30b2da instanceof RegExp?_0x586ac0=>!(!_0x586ac0['match'](_0x30b2da)&&!_0x586ac0['replace'](/^https?:\/\//,'')['match'](_0x30b2da)):()=>!0x1;}function S(_0x2db6ee,_0x3ae718){return _0xb6092b(_0x2db6ee['target'])['includes'](_0x3ae718);}class n extends/* #__PURE__ -- @preserve */
24
- _0x5b07b1(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x257328,_0x4e22ee,_0x44a817){super(),this['_editor']=_0x257328,this['_editing']=_0x4e22ee,this['_dialog']=_0x257328['plugins']['get'](_0x6efc3),this['_api']=_0x4e22ee['ctxElement']['getAPI'](),this['_type']=_0x44a817,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:_0x4ec293,model:_0xa13c4a}=this['_editor'],_0x403e68=_0xa13c4a['document']['selection']['getSelectedElement'](),_0x194e6a=_0x403e68&&(_0x403e68['is']('element','imageBlock')||_0x403e68['is']('element','imageInline'));this['_formView']=new x(_0x4ec293,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5134cb,'title':_(_0x4ec293,this['_type'],_0x194e6a?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4f6012['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4c9170=>!S(_0x4c9170,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x480ddc}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x49c025=>{const _0x14dd73=_0x480ddc['length'];for(const _0x14792a of _0x480ddc){const _0x3331ce=_0x14792a===_0x480ddc[_0x14dd73-0x1],{cdnUrl:_0x38655b,fileInfo:_0x1e9645}=_0x14792a;if(!_0x38655b||!_0x1e9645)continue;const {width:_0x49412a,height:_0x2cbc6e}=_0x1e9645['imageInfo'],_0x5cd340=C(_0x38655b,_0x49412a,_0x2cbc6e),_0x563fb6=k(_0x38655b,_0x5cd340['width']),_0x376ee6={'id':_0x1e9645['uuid'],'type':'image','attributes':{'imageDimension':_0x5cd340,..._0x563fb6}};this['_insertAsset'](_0x376ee6,_0x3331ce,_0x49c025);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x53bcf8=>{'idle'===_0x53bcf8['detail']['status']&&!_0x53bcf8['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1e98a8,_0x8e7c0,_0x569cfd){const _0x575d49=this['_editor']['model']['document']['selection'],_0x351926=_0x575d49['getSelectedElement'](),_0x5720c9=!(!_0x351926||!_0x351926['is']('element','imageInline'));_0x569cfd['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1e98a8,_0x5720c9),_0x8e7c0||_0x569cfd['setSelection'](_0x575d49['getLastPosition']());}['_insertImage'](_0x1f0db8,_0x538e1f){const _0x2d0ba9=this['_editor'],{imageDimension:_0x2a4640,imageFallbackUrl:_0x103564,imageSources:_0x33557e}=_0x1f0db8['attributes'];_0x2d0ba9['execute']('insertImage',{'imageType':_0x538e1f?'imageInline':null,'source':{'uploadcareImageId':_0x1f0db8['id'],'src':_0x103564,'sources':_0x33557e,..._0x2a4640}});}}class w extends _0x1322bd{['_editing'];['_controller']=null;static get['requires'](){return[_0x6efc3,o];}constructor(_0x42ac0e){super(_0x42ac0e),this['_editing']=_0x42ac0e['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x23bf79){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x23bf79);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x544048,publicKey:_0x743edb,signal:_0x568151,onProgress:_0x29ecfa}){return _0x2a5491(_0x544048,{'publicKey':_0x743edb,'store':'auto','signal':_0x568151,'onProgress':_0x29ecfa});}static['getInfo'](_0x5598c0,_0x221e60){return _0x578b47(_0x5598c0,_0x221e60);}}class f extends _0x511535{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xaa0f15,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x11abdb=this['editor'];if(!!!_0x11abdb['config']['get']('uploadcare'))return;_0x11abdb['plugins']['get'](_0xaa0f15)['createUploadAdapter']=_0x290ff4=>new A(_0x290ff4,_0x11abdb),_0x11abdb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x375f52,{imageElement:_0x2c7ac7,data:_0x3f6602})=>{_0x11abdb['model']['change'](_0x5ed036=>{_0x5ed036['setAttribute']('uploadcareImageId',_0x3f6602['uploadcareImageId'],_0x2c7ac7);});});}}class A{['loader'];['editor'];['controller'];constructor(_0xe3bfe3,_0x46c171){this['loader']=_0xe3bfe3,this['editor']=_0x46c171,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4ff33b=this['editor']['config']['get']('uploadcare.pubkey'),_0x45cc27=await this['loader']['file'];return j['upload']({'file':_0x45cc27,'publicKey':_0x4ff33b,'signal':this['controller']['signal'],'onProgress':_0x2ad462=>{_0x2ad462&&_0x2ad462['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2ad462['value']);}})['then'](async _0x30462c=>{const {imageFallbackUrl:_0x432964,imageSources:_0x43f296}=k(_0x30462c['cdnUrl'],_0x30462c['imageInfo']['width']);return{'uploadcareImageId':_0x30462c['uuid'],'default':_0x432964,'sources':_0x43f296};})['catch'](()=>{const _0x6643fc=t('Cannot\x20upload\x20file:')+('\x20'+_0x45cc27['name']+'.');return Promise['reject'](_0x6643fc);});}['abort'](){this['controller']['abort']();}}class o extends _0x511535{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x6efc3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x2b6b13){super(_0x2b6b13),this['ucContextId']=_0x3fc1ef();}['init'](){const _0x199fbe=this['editor'];_0x199fbe['commands']['add']('uploadcare',new w(_0x199fbe));}['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 _0x598c5c=_0x281122['document']['querySelector']('input[uploadcare-file-input]');_0x598c5c&&_0x598c5c['remove']();}),async function(_0x17848d){const _0x187ff7=_0x59fe28([0x41,0x78,0x6f,0x45,0x62,0x39,0x6d,0x46,0x56,0x5a,0x59,0x77,0x42,0x47,0x49,0x74,0x7a,0x30,0x55,0x33,0x44,0x43,0x4e,0x65,0x63,0x4f,0x76,0x36,0x4b,0x72,0x58,0x4d,0x34,0x37,0x31,0x32,0x50,0x6e,0x68,0x70,0x75,0x6c,0x48,0x66,0x53,0x38,0x52,0x4c,0x6a,0x35,0x69,0x54,0x73,0x6b,0x64,0x67,0x57,0x79,0x61,0x71,0x51,0x4a]),_0x180d55=0x101a9e7e,_0x7b660f=0x101df116^_0x180d55,_0x2f568c=window[_0x59fe28([0x44,0x61,0x74,0x65])][_0x59fe28([0x6e,0x6f,0x77])](),_0x363a80=_0x17848d[_0x59fe28([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ee1a2=new window[(_0x59fe28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16aaec=>{_0x363a80[_0x59fe28([0x6f,0x6e,0x63,0x65])](_0x59fe28([0x72,0x65,0x61,0x64,0x79]),_0x16aaec);}),_0x211005={[_0x59fe28([0x6b,0x74,0x79])]:_0x59fe28([0x45,0x43]),[_0x59fe28([0x75,0x73,0x65])]:_0x59fe28([0x73,0x69,0x67]),[_0x59fe28([0x63,0x72,0x76])]:_0x59fe28([0x50,0x2d,0x32,0x35,0x36]),[_0x59fe28([0x78])]:_0x59fe28([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]),[_0x59fe28([0x79])]:_0x59fe28([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]),[_0x59fe28([0x61,0x6c,0x67])]:_0x59fe28([0x45,0x53,0x32,0x35,0x36])},_0x24357c=_0x363a80[_0x59fe28([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x59fe28([0x67,0x65,0x74])](_0x59fe28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe05168(){let _0x26048b,_0x4697a8=null,_0x4da66b=null;try{if(_0x24357c==_0x59fe28([0x47,0x50,0x4c]))return _0x59fe28([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x26048b=_0x2e2579(),!_0x26048b)return _0x59fe28([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x26048b[_0x59fe28([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4da66b=_0x1d634a(_0x26048b[_0x59fe28([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x26048b[_0x59fe28([0x6a,0x74,0x69])])),await _0x24ac8b()?_0x5b6e9e()?_0x56a361()?_0x59fe28([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f156()?(_0x26048b[_0x59fe28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59fe28([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4697a8=_0x3b5d6e(_0x59fe28([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x26048b[_0x59fe28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59fe28([0x74,0x72,0x69,0x61,0x6c])&&(_0x4697a8=_0x3b5d6e(_0x59fe28([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x18d305()):_0x59fe28([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x59fe28([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x59fe28([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x59fe28([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56a361(){const _0x58391b=[_0x59fe28([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x59fe28([0x74,0x72,0x69,0x61,0x6c])][_0x59fe28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26048b[_0x59fe28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f568c/0x3e8:0xe10*_0x7b660f;return _0x26048b[_0x59fe28([0x65,0x78,0x70])]<_0x58391b;}function _0x5b6e9e(){const _0x51ddac=_0x26048b[_0x59fe28([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x51ddac&&(!!_0x51ddac[_0x59fe28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59fe28([0x2a]))||!!_0x51ddac[_0x59fe28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59fe28([0x55,0x50,0x4c,0x43])));}function _0x4f156(){const _0x2de6d6=_0x26048b[_0x59fe28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2de6d6||0x0==_0x2de6d6[_0x59fe28([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6f3161}=new URL(window[_0x59fe28([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2de6d6[_0x59fe28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6f3161))return!0x0;const _0x3fa605=_0x6f3161[_0x59fe28([0x73,0x70,0x6c,0x69,0x74])](_0x59fe28([0x2e]));return _0x2de6d6[_0x59fe28([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x320da2=>_0x320da2[_0x59fe28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59fe28([0x2a])))[_0x59fe28([0x6d,0x61,0x70])](_0x358743=>_0x358743[_0x59fe28([0x73,0x70,0x6c,0x69,0x74])](_0x59fe28([0x2e])))[_0x59fe28([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f4391=>_0x1f4391[_0x59fe28([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3fa605[_0x59fe28([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59fe28([0x6d,0x61,0x70])](_0x1e6f0f=>Array(_0x3fa605[_0x59fe28([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e6f0f[_0x59fe28([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59fe28([0x66,0x69,0x6c,0x6c])](_0x1e6f0f[0x0]===_0x59fe28([0x2a])?_0x59fe28([0x2a]):'')[_0x59fe28([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e6f0f))[_0x59fe28([0x73,0x6f,0x6d,0x65])](_0x34521d=>_0x3fa605[_0x59fe28([0x65,0x76,0x65,0x72,0x79])]((_0x432734,_0x3f43b1)=>_0x34521d[_0x3f43b1]===_0x432734||_0x34521d[_0x3f43b1]===_0x59fe28([0x2a])));}function _0x18d305(){return _0x4697a8&&_0x4da66b?new window[(_0x59fe28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa3fb45,_0x31e492)=>{_0x4697a8[_0x59fe28([0x74,0x68,0x65,0x6e])](_0xa3fb45,_0x31e492),_0x4da66b[_0x59fe28([0x74,0x68,0x65,0x6e])](_0x334dbe=>{_0x334dbe!=_0x59fe28([0x56,0x61,0x6c,0x69,0x64])&&_0xa3fb45(_0x334dbe);},_0x31e492);}):_0x4697a8||_0x4da66b||_0x59fe28([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1d634a(_0x4e530e,_0x49766e){return new window[(_0x59fe28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x91473=>{if(_0x3d9c47())return _0x91473(_0x59fe28([0x56,0x61,0x6c,0x69,0x64]));_0x355b7c(),_0x363a80[_0x59fe28([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x59fe28([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c5cab=!0x1;const _0x52b4a2=_0x3fc1ef();function _0x2d3b79(_0x24a644){return!!_0x24a644&&(typeof _0x24a644===_0x59fe28([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x24a644===_0x59fe28([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x24a644[_0x59fe28([0x74,0x68,0x65,0x6e])]===_0x59fe28([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x24a644[_0x59fe28([0x63,0x61,0x74,0x63,0x68])]===_0x59fe28([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x87fb04(_0xf5a55b){_0x3d231b(_0xf5a55b)[_0x59fe28([0x74,0x68,0x65,0x6e])](_0x4757c4=>{if(!_0x4757c4||_0x4757c4[_0x59fe28([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x59fe28([0x6f,0x6b]))return _0x59fe28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d4e6b(_0x3eb870(_0x52b4a2+_0x49766e))!=_0x4757c4[_0x59fe28([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x59fe28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x59fe28([0x56,0x61,0x6c,0x69,0x64]);})[_0x59fe28([0x74,0x68,0x65,0x6e])](_0xfd4a18=>(_0x148e8c(),_0xfd4a18),()=>{const _0x30fae9=_0x242779();return null==_0x30fae9?(_0x148e8c(),_0x59fe28([0x56,0x61,0x6c,0x69,0x64])):_0x59fe28(_0x2f568c-_0x30fae9>(0x34161a7e^_0x180d55)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x59fe28([0x74,0x68,0x65,0x6e])](_0x91473)[_0x59fe28([0x63,0x61,0x74,0x63,0x68])](()=>{_0x91473(_0x59fe28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29be84=0x102c70fe^_0x180d55;function _0x148e8c(){const _0x4de122=_0x59fe28([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d4e6b(_0x3eb870(_0x4e530e)),_0x2fae57=_0x3e247c(_0x2d4e6b(window[_0x59fe28([0x4d,0x61,0x74,0x68])][_0x59fe28([0x63,0x65,0x69,0x6c])](_0x2f568c/_0x29be84)));window[_0x59fe28([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59fe28([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4de122,_0x2fae57);}function _0x242779(){const _0x3c9ce6=_0x59fe28([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d4e6b(_0x3eb870(_0x4e530e)),_0x25cd13=window[_0x59fe28([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59fe28([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c9ce6);return _0x25cd13?window[_0x59fe28([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e247c(_0x25cd13),0x10)*_0x29be84:null;}function _0x3d231b(_0x5ba241){return new window[(_0x59fe28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c5c60,_0x5c8ae6)=>{_0x5ba241[_0x59fe28([0x74,0x68,0x65,0x6e])](_0x2c5c60,_0x5c8ae6),window[_0x59fe28([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c8ae6,0x101b4abe^_0x180d55);});}}_0x363a80[_0x59fe28([0x6f,0x6e])](_0x59fe28([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd24bd4,_0x1fdb5c)=>{if(_0x1fdb5c[0x0]!=_0x4e530e)return _0x91473(_0x59fe28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fdb5c[0x1]={..._0x1fdb5c[0x1],[_0x59fe28([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52b4a2};},{[_0x59fe28([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59fe28([0x68,0x69,0x67,0x68])}),_0x363a80[_0x59fe28([0x6f,0x6e])](_0x59fe28([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc0606f=>{_0x2d3b79(_0xc0606f[_0x59fe28([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c5cab=!0x0,_0x87fb04(_0xc0606f[_0x59fe28([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x59fe28([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59fe28([0x6c,0x6f,0x77])}),_0x1ee1a2[_0x59fe28([0x74,0x68,0x65,0x6e])](()=>{_0x1c5cab||_0x91473(_0x59fe28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d9c47(){return _0x363a80[_0x59fe28([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59fe28([0x76,0x69,0x65,0x77])][_0x59fe28([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x59fe28([0x61,0x75,0x74,0x6f]);}function _0x355b7c(){_0x363a80[_0x59fe28([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59fe28([0x76,0x69,0x65,0x77])][_0x59fe28([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x59fe28([0x61,0x75,0x74,0x6f]);}}function _0x3b5d6e(_0x5f4e57){const _0x32e259=[new window[(_0x59fe28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37d6ae=>setTimeout(_0x37d6ae,0x1013a0b2^_0x180d55)),_0x1ee1a2[_0x59fe28([0x74,0x68,0x65,0x6e])](()=>new window[(_0x59fe28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28b8c1=>{let _0x497122=0x0;_0x363a80[_0x59fe28([0x6d,0x6f,0x64,0x65,0x6c])][_0x59fe28([0x6f,0x6e])](_0x59fe28([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e9966,_0x29acb7)=>{_0x29acb7[0x0][_0x59fe28([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x497122++,_0x497122==(0x101a9f86^_0x180d55)&&(_0x28b8c1(),_0x3e9966[_0x59fe28([0x6f,0x66,0x66])]());});}))];return window[_0x59fe28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x59fe28([0x72,0x61,0x63,0x65])](_0x32e259)[_0x59fe28([0x74,0x68,0x65,0x6e])](()=>_0x5f4e57);}async function _0x4bbc75(){await _0x1ee1a2,_0x363a80[_0x59fe28([0x6d,0x6f,0x64,0x65,0x6c])][_0x59fe28([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x16d8b3,_0x363a80[_0x59fe28([0x6d,0x6f,0x64,0x65,0x6c])][_0x59fe28([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x16d8b3,_0x363a80[_0x59fe28([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x59fe28([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58a5c8(_0x3d7134){const _0x249e9c=_0x374480();_0x363a80[_0x249e9c]=_0x59fe28([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d7134,_0x3d7134!=_0x59fe28([0x56,0x61,0x6c,0x69,0x64])&&_0x4bbc75();}function _0x374480(){const _0xce7717=window[_0x59fe28([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x59fe28([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x59fe28([0x6e,0x6f,0x77])]())[_0x59fe28([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x59fe28([0x2e]),'');let _0x2990a0=_0x59fe28([0x41]);for(let _0xbc47d4=0x0;_0xbc47d4<_0xce7717[_0x59fe28([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xbc47d4+=0x2){let _0x24d49c=window[_0x59fe28([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xce7717[_0x59fe28([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbc47d4,_0xbc47d4+0x2));_0x24d49c>=_0x187ff7[_0x59fe28([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24d49c-=_0x187ff7[_0x59fe28([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2990a0+=_0x187ff7[_0x24d49c];}return _0x2990a0;}function _0x2e2579(){const _0x4de20d=_0x24357c[_0x59fe28([0x73,0x70,0x6c,0x69,0x74])](_0x59fe28([0x2e]));if(0x3!=_0x4de20d[_0x59fe28([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x47f2df(_0x4de20d[0x1]);function _0x47f2df(_0x293c69){const _0x9dc427=_0x19249b(_0x293c69);return _0x9dc427&&_0x117414()?_0x9dc427:null;function _0x117414(){const _0x385446=_0x9dc427[_0x59fe28([0x6a,0x74,0x69])],_0x2c8ca0=window[_0x59fe28([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x385446[_0x59fe28([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x385446[_0x59fe28([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x389926={..._0x9dc427,[_0x59fe28([0x6a,0x74,0x69])]:_0x385446[_0x59fe28([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x385446[_0x59fe28([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x389926[_0x59fe28([0x76,0x63])],_0x3eb870(_0x389926)==_0x2c8ca0;}}}async function _0x24ac8b(){let _0x87deb4=!0x0;try{const _0x418591=_0x24357c[_0x59fe28([0x73,0x70,0x6c,0x69,0x74])](_0x59fe28([0x2e])),[_0xb2f3fa,_0x18fe3e,_0x4ce2b0]=_0x418591;return _0x395228(_0xb2f3fa),await _0x1cbbe9(_0xb2f3fa,_0x18fe3e,_0x4ce2b0),_0x87deb4;}catch{return!0x1;}function _0x395228(_0x5f5c43){const _0x1fd4ae=_0x19249b(_0x5f5c43);_0x1fd4ae&&_0x1fd4ae[_0x59fe28([0x61,0x6c,0x67])]==_0x59fe28([0x45,0x53,0x32,0x35,0x36])||(_0x87deb4=!0x1);}async function _0x1cbbe9(_0x33ec61,_0x1cfdc4,_0x2dda37){const _0x2b67cb=window[_0x59fe28([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x59fe28([0x66,0x72,0x6f,0x6d])](_0x4f04f6(_0x2dda37),_0x5725a1=>_0x5725a1[_0x59fe28([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x13bc73=new window[(_0x59fe28([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x59fe28([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x33ec61+_0x59fe28([0x2e])+_0x1cfdc4),_0x506dde=window[_0x59fe28([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x59fe28([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x506dde)return;const _0x502742=await _0x506dde[_0x59fe28([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x59fe28([0x6a,0x77,0x6b]),_0x211005,{[_0x59fe28([0x6e,0x61,0x6d,0x65])]:_0x59fe28([0x45,0x43,0x44,0x53,0x41]),[_0x59fe28([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x59fe28([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x59fe28([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x506dde[_0x59fe28([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x59fe28([0x6e,0x61,0x6d,0x65])]:_0x59fe28([0x45,0x43,0x44,0x53,0x41]),[_0x59fe28([0x68,0x61,0x73,0x68])]:{[_0x59fe28([0x6e,0x61,0x6d,0x65])]:_0x59fe28([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x502742,_0x2b67cb,_0x13bc73)||(_0x87deb4=!0x1);}}function _0x19249b(_0x565150){return _0x565150[_0x59fe28([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x59fe28([0x65,0x79]))?JSON[_0x59fe28([0x70,0x61,0x72,0x73,0x65])](_0x4f04f6(_0x565150)):null;}function _0x4f04f6(_0x3b5804){return window[_0x59fe28([0x61,0x74,0x6f,0x62])](_0x3b5804[_0x59fe28([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x59fe28([0x2b]))[_0x59fe28([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x59fe28([0x2f])));}function _0x3eb870(_0x5707bc){let _0x3500ed=0x1505;function _0x3d90ad(_0x568310){for(let _0xf9c784=0x0;_0xf9c784<_0x568310[_0x59fe28([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf9c784++){const _0x1fd50b=_0x568310[_0x59fe28([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf9c784);_0x3500ed=(_0x3500ed<<0x5)+_0x3500ed+_0x1fd50b,_0x3500ed&=_0x3500ed;}}function _0x383f91(_0x1331da){Array[_0x59fe28([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1331da)?_0x1331da[_0x59fe28([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x383f91):_0x1331da&&typeof _0x1331da==_0x59fe28([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x59fe28([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1331da)[_0x59fe28([0x73,0x6f,0x72,0x74])]()[_0x59fe28([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ca7b8,_0x3aec32])=>{_0x3d90ad(_0x2ca7b8),_0x383f91(_0x3aec32);}):_0x3d90ad(window[_0x59fe28([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1331da));}return _0x383f91(_0x5707bc),_0x3500ed>>>0x0;}function _0x2d4e6b(_0x29597d){return _0x29597d[_0x59fe28([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x59fe28([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x59fe28([0x30]));}function _0x3e247c(_0x4f6f45){return _0x4f6f45[_0x59fe28([0x73,0x70,0x6c,0x69,0x74])]('')[_0x59fe28([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x59fe28([0x6a,0x6f,0x69,0x6e])]('');}function _0x16d8b3(){}function _0x59fe28(_0x32733d){return _0x32733d['map'](_0x1a742d=>String['fromCharCode'](_0x1a742d))['join']('');}_0x58a5c8(await _0xe05168());}(this);}['_initSchema'](){const _0x16e1f4=this['editor']['model']['schema'];_0x16e1f4['isRegistered']('imageBlock')&&_0x16e1f4['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x16e1f4['isRegistered']('imageInline')&&_0x16e1f4['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x49c1f2=this['editor'];_0x49c1f2['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x49c1f2['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x41dfce=>_0x41dfce['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4bbc53=_0x49c1f2['commands']['get']('replaceImageSource');_0x4bbc53&&this['listenTo'](_0x4bbc53,'cleanupImage',(_0x2378b9,[_0x528a2f,_0x5401b6])=>{_0x528a2f['removeAttribute']('uploadcareImageId',_0x5401b6);});}['_initConfig'](){const _0xe28dcc=this['editor']['config']['get']('uploadcare.uploader')||{},_0x17c902=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3eb04a(_0x281122['document'],'uc-config',{..._0xe28dcc,'pubkey':_0x17c902,'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']=_0xab7952=>{if('closeMax'==_0xab7952)return'#uc-icon-arrow-down';},_0x281122['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3eb04a(_0x281122['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x281122['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x102a9b=this['editor']['commands']['get']('insertImage');_0x102a9b&&this['listenTo'](_0x102a9b,'execute',()=>{const _0x3dad4e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3dad4e&&_0x3dad4e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3dad4e);});});const _0x25c6e2=this['editor']['commands']['get']('uploadcareImageReplace');_0x25c6e2&&this['listenTo'](_0x25c6e2,'execute',()=>{const _0x465046=this['editor']['model']['document']['selection']['getSelectedElement']();_0x465046&&_0x465046['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x465046);});});}}class tt extends _0x511535{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x318178){super(_0x318178),_0x318178['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0xd14136['defineComponents'](_0xd14136);}}class ii extends _0x11bee3{constructor(_0x3ec8f6){super(_0x3ec8f6);const t=_0x3ec8f6['t'],_0x23cca0=this['bindTemplate'],_0x9428be=new _0x5636a1();_0x9428be['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':[_0x9428be,{'text':_0x23cca0['to']('imageUploadProgress',_0x4ba35e=>t('Loading\x20image...')+'\x20('+(_0x4ba35e||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 _0x11bee3{constructor(_0x46971b){super(_0x46971b);const t=_0x46971b['t'];this['set']('errorType',null);const _0x4dfac5=new _0x5bb4bc(_0x46971b);_0x4dfac5['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4dfac5['withText']=!0x0,_0x4dfac5['class']='ck-button-action',_0x4dfac5['on']('execute',()=>{this['fire']('retry');}),_0x4dfac5['bind']('isVisible')['to'](this,'errorType',_0x1a043b=>'NotFound'!==_0x1a043b);const _0x576743=new _0x57ed87();_0x576743['content']=_0x403606,_0x576743['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5379e0=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':[_0x576743,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5379e0['to']('errorType',_0x4869d9=>t('NotFound'!==_0x4869d9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4dfac5]},{'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 _0x11bee3{constructor(_0x4d76db,_0x2c3d54){super(_0x4d76db);const _0xfe8164=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2c3d54,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xfe8164['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x33285e,_0x5b823e,_0xafd1d8){super(_0x33285e),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x33285e),this['_errorView']=new ti(_0x33285e),this['_editingView']=new ei(_0x33285e,_0xafd1d8),this['_focusableView']=new _0x11bee3(_0x33285e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5b823e),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'],_0x346a09=>{this['_addUploadcareImageEditorListeners'](_0x346a09);});}),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'](_0x37df5f,_0xf761c3){const _0x3c1a2a='uc-cloud-image-editor',_0x1533ad=_0x37df5f['querySelector'](_0x3c1a2a);if(_0x1533ad)return _0xf761c3(_0x1533ad);const _0x5b8883=new MutationObserver(_0x378cd5=>{const _0x274674=_0x378cd5['filter'](_0x37541f=>_0x37541f['target']===_0x37df5f&&_0x37541f['addedNodes']['length']>0x0&&_0x37541f['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3c1a2a);_0x274674['length']&&(_0x5b8883['disconnect'](),_0xf761c3(_0x274674[0x0]['addedNodes'][0x0]));});_0x5b8883['observe'](_0x37df5f,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x450173){_0x450173['addEventListener']('apply',_0x1496d7=>{this['fire']('apply',{'imageSrc':_0x1496d7['detail']['cdnUrl']});}),_0x450173['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x5b07b1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x52ae79,_0x1e439f,_0x345050){super(),this['_editor']=_0x52ae79,this['_dialog']=_0x1e439f,this['_imageElement']=_0x345050,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 _0x5f295a=this['_imageElement'],_0x147efa=_0x5f295a['getAttribute']('uploadcareImageId'),_0x31db6a=_0x5f295a['getAttribute']('src');if(_0x147efa)await this['_loadImageInfo'](_0x147efa,_0x31db6a);else{if(this['_imageCache']['has'](_0x31db6a)){const _0x1d68e7=this['_imageCache']['get'](_0x31db6a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1d68e7['url'],this['imageDimension']=_0x1d68e7['dimension'],this['imageId']=_0x1d68e7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x37a0b9}=this['_editor'],t=_0x37a0b9['t'],_0x27b8d9=new X(_0x37a0b9,this['imageStatus'],this['_attributes']);_0x27b8d9['bind']('status')['to'](this,'imageStatus'),_0x27b8d9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x27b8d9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x27b8d9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x27b8d9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3bb4ea,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x27b8d9,'position':_0x4f6012['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x27b8d9['focus']();},'onHide':()=>{_0x27b8d9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4a8b2e=>!S(_0x4a8b2e,_0x27b8d9['element'])}});}['_loadImageInfo'](_0x13b0ca,_0x31735a){return j['getInfo'](_0x13b0ca,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x46aeb3=>{const {width:_0x4ad787,height:_0x1f65ff}=_0x46aeb3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x31735a,this['imageDimension']={'width':_0x4ad787,'height':_0x1f65ff},this['imageId']=_0x13b0ca;})['catch'](_0x383b93=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x383b93['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xc78281,_0x46c85e){return this['_getImageAsFile'](_0xc78281)['then'](_0x216079=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x46c85e['signal'],'file':_0x216079,'onProgress':_0x190c05=>{_0x190c05&&_0x190c05['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x190c05['value']));}}))['then'](_0x20fc4d=>{const {width:_0xaf1eca,height:_0x17a95d}=_0x20fc4d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x20fc4d['cdnUrl'],this['imageDimension']={'width':_0xaf1eca,'height':_0x17a95d},this['imageId']=_0x20fc4d['uuid'],this['imageUploadProgress']=null;const _0x21021=_0xc78281['getAttribute']('src');this['_imageCache']['set'](_0x21021,{'id':_0x20fc4d['uuid'],'url':_0x20fc4d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x186b05=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x186b05['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4df92f,_0x4c128e){_0x4df92f['on']('apply',(_0x3e3268,_0x6c6af)=>{this['_replaceImage'](_0x4c128e,_0x6c6af['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4df92f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4df92f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xeeb5b0,_0x4fbcb3,_0x2a0eaf){const _0x3a3d0f=this['_editor'],{width:_0x2c9510,height:_0x1fdb90}=C(_0x4fbcb3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x38d334,imageSources:_0x103ee2}=k(_0x4fbcb3,_0x2c9510);_0x3a3d0f['model']['change'](_0x220b8c=>{if('$graveyard'===_0xeeb5b0['root']['rootName']){_0x3a3d0f['execute']('insertImage',{'imageType':_0xeeb5b0['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xeeb5b0['getAttributes']()),'uploadcareImageId':_0x2a0eaf,'src':_0x38d334,'sources':_0x103ee2,'width':_0x2c9510,'height':_0x1fdb90}});const _0x1c092a=_0xeeb5b0['getChildren']();_0xeeb5b0=_0x3a3d0f['model']['document']['selection']['getSelectedElement']();for(const _0x47ab2c of _0x1c092a)_0x220b8c['append'](_0x220b8c['cloneElement'](_0x47ab2c),_0xeeb5b0);}else _0x220b8c['setSelection'](_0xeeb5b0,'on'),_0x3a3d0f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xeeb5b0['getAttributes']()),'uploadcareImageId':_0x2a0eaf,'src':_0x38d334,'sources':_0x103ee2,'width':_0x2c9510,'height':_0x1fdb90},_0xeeb5b0);_0x220b8c['setSelection'](_0xeeb5b0,'on');});}async['_getImageAsFile'](_0x42cf92){const _0x2893f3=_0x281122['window'],_0x20b824=_0x281122['document']['location']['href'],_0x2827de=new _0x2893f3['URL'](_0x42cf92['getAttribute']('src'),_0x20b824);if('data:'===_0x2827de['protocol']){const _0x3ec4b4=_0x2827de['href']['split'](','),_0xd81219=_0x3ec4b4[0x0]['match'](/:(.*?);/)[0x1],_0x27c3ef=_0xd81219['split']('/')[0x1],_0x342a83=_0x2893f3['atob'](_0x3ec4b4[_0x3ec4b4['length']-0x1]);let _0x4de5b9=_0x342a83['length'];const _0x21e101=new _0x2893f3['Uint8Array'](_0x4de5b9);for(;_0x4de5b9--;)_0x21e101[_0x4de5b9]=_0x342a83['charCodeAt'](_0x4de5b9);return new _0x2893f3['File']([_0x21e101],'image.'+_0x27c3ef,{'type':_0xd81219});}const _0x7e7b28=_0x2827de['href']['split']('/'),_0x8f6a93=_0x7e7b28[_0x7e7b28['length']-0x1],_0x2e61a7=_0x8f6a93['split']('.')[0x1];return _0x2893f3['fetch'](_0x2827de['href'])['then'](_0x352658=>_0x352658['clone']()['blob']())['then'](_0x4091fc=>new _0x2893f3['File']([_0x4091fc],_0x8f6a93,{'type':'image/'+_0x2e61a7}));}}class Q extends _0x1322bd{['imageEditController'];static get['requires'](){return[_0x6efc3];}['_isEditable'];constructor(_0x131245){super(_0x131245),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2f048b){const _0x1a0000=z(_0x2f048b);return _0x331a70=>!(!_0x331a70||!_0x331a70['is']('element','imageBlock')&&!_0x331a70['is']('element','imageInline'))&&(!!_0x331a70['hasAttribute']('uploadcareImageId')||!!_0x331a70['hasAttribute']('src')&&_0x1a0000(_0x331a70['getAttribute']('src')));}(_0x131245['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x446ac5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x446ac5);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x344ea3=this['editor']['model']['document']['selection']['getSelectedElement']();_0x344ea3&&(_0x344ea3['is']('element','imageBlock')||_0x344ea3['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x6efc3),_0x344ea3),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x1322bd{['refresh'](){const _0x3d3431=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3d3431&&(_0x3d3431['is']('element','imageBlock')||_0x3d3431['is']('element','imageInline')));}['execute'](_0x284471){const _0x21347d=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3171af=>{_0x3171af['setAttributes'](_0x284471,_0x21347d),_0x3171af['removeAttribute']('srcset',_0x21347d),_0x3171af['removeAttribute']('sizes',_0x21347d);});}}class m extends _0x511535{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x54b827,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x239f7e}=this;_0x239f7e['commands']['add']('uploadcareImageEdit',new Q(_0x239f7e)),_0x239f7e['commands']['add']('uploadcareImageReplace',new V(_0x239f7e));}}class g extends _0x511535{['_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 _0x54a79c=this['editor'];_0x54a79c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x358f24=>{const _0x1c1508=_0x54a79c['commands']['get']('uploadcareImageEdit'),_0x4217a8=new _0x5bb4bc(_0x358f24),t=_0x358f24['t'];return _0x4217a8['set']({'icon':_0x3bb4ea,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4217a8['bind']('isEnabled')['to'](_0x1c1508),_0x4217a8['bind']('isOn')['to'](_0x1c1508,'isActive'),this['listenTo'](_0x4217a8,'execute',()=>{_0x54a79c['execute']('uploadcareImageEdit'),_0x54a79c['editing']['view']['focus']();}),_0x4217a8;}),this['_initConfig']();}['_initConfig'](){const _0x2019f8=_0x3eb04a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2019f8),this['listenTo'](this['editor'],'destroy',()=>{_0x2019f8['remove']();});}}class et extends _0x511535{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x55a113,Command as _0x3f6046}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0xc572a5,IconGooglePhotos as _0x1eb195,IconGoogleDrive as _0x1598c4,IconFacebook as _0xdacb46,IconDropbox as _0x4bdf52,IconUploadcareLink as _0x43d718,IconUploadcareImageUpload as _0xb99d8b,IconError as _0x215ab4,IconUploadcareImageEdit as _0x3b9c15}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5ea8d3,MenuBarMenuListItemButtonView as _0x3f9762,View as _0x3e4927,FocusCycler as _0x10f8ef,Dialog as _0x3fbc44,DialogViewPosition as _0x13c8d0,SpinnerView as _0x585c4d,IconView as _0x5382c5,Notification as _0x196691}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xd1694c,DomEmitterMixin as _0x45ba55,global as _0x524ab6,getAncestors as _0x542c52,ObservableMixin as _0x236f34,uid as _0x1592db,createElement as _0x3fc7fa}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x17eb35}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3bb220,info as _0x29df84}from'@uploadcare/upload-client';import*as _0x2a4f67 from'@uploadcare/file-uploader';var i=function(_0xae3537){return _0xae3537['Local']='local',_0xae3537['URL']='url',_0xae3537['Dropbox']='dropbox',_0xae3537['GDrive']='gdrive',_0xae3537['Facebook']='facebook',_0xae3537['GPhotos']='gphotos',_0xae3537['OneDrive']='onedrive',_0xae3537;}({});function _(_0xc50667,_0x40a458,_0x22d63d){const t=_0xc50667['t'],_0x30f778=_0xc50667['t'];switch(_0x40a458){case i['Local']:return{'text':_0x30f778('Insert'===_0x22d63d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x30f778('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x22d63d?_0x30f778('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x30f778('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x40a458;}}class e extends _0x55a113{['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 _0x54c8dc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x48ca3c;for(const _0x1d9ecf in _0x54c8dc){const _0x1898d0=_0x1d9ecf,_0x16e005=_0x54c8dc[_0x1898d0];if('uploadcareLicenseKeyValid'==_0x16e005||'uploadcareLicenseKeyInvalid'==_0x16e005||'uploadcareLicenseKeyExpired'==_0x16e005||'uploadcareLicenseKeyDomainLimit'==_0x16e005||'uploadcareLicenseKeyNotAllowed'==_0x16e005||'uploadcareLicenseKeyEvaluationLimit'==_0x16e005||'uploadcareLicenseKeyTrialLimit'==_0x16e005||'uploadcareLicenseKeyUsageLimit'==_0x16e005){delete _0x54c8dc[_0x1898d0],_0x48ca3c=_0x16e005,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4fde9e}=this,_0x5812f1=_0x4fde9e['commands']['get']('uploadcare');if(!_0x5812f1)return;const _0x41b311=this['_normalizeConfigSourceList'](_0x4fde9e['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x517ecf,_0x5b8ac6)=>{const _0x3c9d3b=this['_getIntegrationKey'](_0x5b8ac6['type']);return _0x517ecf[_0x3c9d3b]||(_0x517ecf[_0x3c9d3b]=[]),_0x517ecf[_0x3c9d3b]['push'](_0x5b8ac6),_0x517ecf;},{});_0x4fde9e['plugins']['has']('ImageInsertUI')&&_0x4fde9e['commands']['get']('uploadcare')&&Object['entries'](_0x41b311)['forEach'](([_0x25a0e9,_0x5cb3a8])=>{_0x4fde9e['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x25a0e9,'observable':()=>_0x5812f1,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5cb3a8),'formViewCreator':()=>this['_createDropdownButtons'](_0x5cb3a8),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5cb3a8),'override':'assetManager'!==_0x25a0e9});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x46e312){const {locale:_0x80d726}=this['editor'];return _0x46e312['map'](_0x11b44a=>{const _0x45ca8e=_(_0x80d726,_0x11b44a,'Insert');switch(_0x11b44a){case i['Local']:return{'icon':_0xb99d8b,'type':i['Local'],..._0x45ca8e};case i['URL']:return{'icon':_0x43d718,'type':i['URL'],..._0x45ca8e};case i['Dropbox']:return{'icon':_0x4bdf52,'type':i['Dropbox'],..._0x45ca8e};case i['Facebook']:return{'icon':_0xdacb46,'type':i['Facebook'],..._0x45ca8e};case i['GDrive']:return{'icon':_0x1598c4,'type':i['GDrive'],..._0x45ca8e};case i['GPhotos']:return{'icon':_0x1eb195,'type':i['GPhotos'],..._0x45ca8e};case i['OneDrive']:return{'icon':_0xc572a5,'type':i['OneDrive'],..._0x45ca8e};}});}['_getIntegrationKey'](_0x46d6d7){switch(_0x46d6d7){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4e6fee,_0x118b1c){const _0x4a5b4e=this['editor'],_0x402ae2=new _0x4e6fee(_0x4a5b4e['locale']),_0x18a4ed=_0x4a5b4e['commands']['get']('uploadcare');return _0x402ae2['bind']('isEnabled')['to'](_0x18a4ed),_0x402ae2['on']('execute',()=>{_0x18a4ed['execute'](_0x118b1c);}),_0x402ae2;}['_createToolbarButton'](_0x2e76cc){const {locale:_0x93e1a6}=this['editor'],_0x28ed2f=this['editor']['plugins']['get']('ImageInsertUI'),_0x37522a=_0x2e76cc[0x0],_0x3d1049=this['_createButton'](_0x5ea8d3,_0x37522a['type']);return _0x3d1049['icon']=_0x37522a['icon'],_0x3d1049['bind']('label')['to'](_0x28ed2f,'isImageSelected',_0x841949=>_(_0x93e1a6,_0x37522a['type'],_0x841949?'Replace':'Insert')['text']),_0x3d1049['tooltip']=!0x0,_0x3d1049;}['_createDropdownButtons'](_0x5d91f3){const {locale:_0x2b9918}=this['editor'],_0x47b5be=this['editor']['plugins']['get']('ImageInsertUI');return _0x5d91f3['map'](_0x4e3563=>{const _0x5916cc=this['_createButton'](_0x5ea8d3,_0x4e3563['type']);return _0x5916cc['withText']=!0x0,_0x5916cc['icon']=_0x4e3563['icon'],_0x5916cc['bind']('label')['to'](_0x47b5be,'isImageSelected',_0x1f1029=>_(_0x2b9918,_0x4e3563['type'],_0x1f1029?'Replace':'Insert')['text']),_0x5916cc;});}['_createMenuBarButtons'](_0x267fc4){return _0x267fc4['map'](_0x46ee25=>{const _0x3705a3=this['_createButton'](_0x3f9762,_0x46ee25['type']);return _0x3705a3['icon']=_0x46ee25['icon'],_0x3705a3['label']=_0x46ee25['shortText'],_0x3705a3;});}}class F extends _0x3e4927{['focusTracker'];['focusCycler'];constructor(_0xd0a5){super(_0xd0a5),this['focusTracker']=new _0xd1694c(),this['focusCycler']=new _0x10f8ef({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x46a917,_0x4136b1){super(_0x46a917),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-'+_0x4136b1}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x58a8c7,_0x5e2c46){const _0x2cbc76=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4c67f5=>_0x4c67f5<=_0x5e2c46)['map'](_0x188cf4=>_0x58a8c7['replace'](/\/$/,'')+'/-/resize/'+_0x188cf4+'x/\x20'+_0x188cf4+'w');return{'imageFallbackUrl':_0x58a8c7,'imageSources':[{'srcset':_0x2cbc76['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5e2c46+'px)\x20100vw,\x20'+_0x5e2c46+'px','type':'image/webp'}]};}function C(_0x2b1f6a,_0x5256ce,_0x1fe7af){const _0x184da7=_0x2b1f6a['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x184da7?parseInt(_0x184da7[0x1],0xa):_0x5256ce,'height':_0x184da7?parseInt(_0x184da7[0x2],0xa):_0x1fe7af};}function p(_0x545d16,_0x3731a4){const _0x5f4f1e=new(_0x45ba55())(),_0x25264b=_0x545d16['plugins']['get']('ImageUtils'),_0x533f7e=_0x545d16['editing']['mapper']['toViewElement'](_0x3731a4),_0x430330=_0x25264b['findViewImgElement'](_0x533f7e),_0x963f22=_0x545d16['editing']['view']['domConverter']['viewToDom'](_0x430330),_0x2d1fdc=_0x3731a4['getAttribute']('width'),_0x51adc1=_0x3731a4['getAttribute']('height'),_0x358f2b='image-processing';_0x545d16['editing']['view']['change'](_0xde0f8f=>{_0xde0f8f['addClass'](_0x358f2b,_0x533f7e),_0xde0f8f['setStyle']('aspect-ratio',_0x2d1fdc+'/'+_0x51adc1,_0x430330);}),_0x5f4f1e['listenTo'](_0x963f22,'load',()=>{_0x5f4f1e['stopListening'](_0x963f22,'load'),_0x545d16['editing']['view']['change'](_0x49d6eb=>{_0x49d6eb['removeClass'](_0x358f2b,_0x533f7e),_0x49d6eb['removeStyle']('aspect-ratio',_0x430330);});});}function G(_0x1a4cc1){if(Array['isArray'](_0x1a4cc1)){const _0x1b21a3=_0x1a4cc1['map'](G);return _0xbfb1da=>_0x1b21a3['some'](_0x2b8d85=>_0x2b8d85(_0xbfb1da));}if('origin'==_0x1a4cc1){const _0x1ad198=_0x524ab6['window']['location']['origin'];return _0x54bacf=>new URL(_0x54bacf,_0x524ab6['document']['baseURI'])['origin']==_0x1ad198;}return'function'==typeof _0x1a4cc1?_0x1a4cc1:_0x1a4cc1 instanceof RegExp?_0x9a120=>!(!_0x9a120['match'](_0x1a4cc1)&&!_0x9a120['replace'](/^https?:\/\//,'')['match'](_0x1a4cc1)):()=>!0x1;}function S(_0x3c945,_0x59219b){return _0x542c52(_0x3c945['target'])['includes'](_0x59219b);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x236f34(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x38200d,_0x1a69c3,_0x8bd95c){super(),this['_editor']=_0x38200d,this['_editing']=_0x1a69c3,this['_dialog']=_0x38200d['plugins']['get'](_0x3fbc44),this['_api']=_0x1a69c3['ctxElement']['getAPI'](),this['_type']=_0x8bd95c,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:_0x3d0d43,model:_0x546cc8}=this['_editor'],_0x41eb30=_0x546cc8['document']['selection']['getSelectedElement'](),_0xc2624b=_0x41eb30&&(_0x41eb30['is']('element','imageBlock')||_0x41eb30['is']('element','imageInline'));this['_formView']=new x(_0x3d0d43,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xb99d8b,'title':_(_0x3d0d43,this['_type'],_0xc2624b?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x13c8d0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x108ed5=>!S(_0x108ed5,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x43d3af}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x14c6eb=>{const _0x1aa09c=_0x43d3af['length'];for(const _0x53686a of _0x43d3af){const _0xf9e395=_0x53686a===_0x43d3af[_0x1aa09c-0x1],{cdnUrl:_0x544f44,fileInfo:_0x3c8a06}=_0x53686a;if(!_0x544f44||!_0x3c8a06)continue;const {width:_0x743065,height:_0xd49a28}=_0x3c8a06['imageInfo'],_0x5a9007=C(_0x544f44,_0x743065,_0xd49a28),_0x358746=k(_0x544f44,_0x5a9007['width']),_0x4d5c29={'id':_0x3c8a06['uuid'],'type':'image','attributes':{'imageDimension':_0x5a9007,..._0x358746}};this['_insertAsset'](_0x4d5c29,_0xf9e395,_0x14c6eb);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x244c9f=>{'idle'===_0x244c9f['detail']['status']&&!_0x244c9f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4cee0c,_0x3536f3,_0x50feeb){const _0x1c7451=this['_editor']['model']['document']['selection'],_0x3a128f=_0x1c7451['getSelectedElement'](),_0x3d71a0=!(!_0x3a128f||!_0x3a128f['is']('element','imageInline'));_0x50feeb['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4cee0c,_0x3d71a0),_0x3536f3||_0x50feeb['setSelection'](_0x1c7451['getLastPosition']());}['_insertImage'](_0x5cf5b7,_0x3eed72){const _0x131869=this['_editor'],{imageDimension:_0x1e016e,imageFallbackUrl:_0x31c8c9,imageSources:_0x4a72cf}=_0x5cf5b7['attributes'];_0x131869['execute']('insertImage',{'imageType':_0x3eed72?'imageInline':null,'source':{'uploadcareImageId':_0x5cf5b7['id'],'src':_0x31c8c9,'sources':_0x4a72cf,..._0x1e016e}});}}class w extends _0x3f6046{['_editing'];['_controller']=null;static get['requires'](){return[_0x3fbc44,o];}constructor(_0x486e6e){super(_0x486e6e),this['_editing']=_0x486e6e['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xd4df3e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0xd4df3e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x209ec2,publicKey:_0x29f98e,signal:_0x3491b2,onProgress:_0x14a6ec}){return _0x3bb220(_0x209ec2,{'publicKey':_0x29f98e,'store':'auto','signal':_0x3491b2,'onProgress':_0x14a6ec});}static['getInfo'](_0x37b1cb,_0x2e3d26){return _0x29df84(_0x37b1cb,_0x2e3d26);}}class f extends _0x55a113{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x17eb35,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2a3b13=this['editor'];if(!!!_0x2a3b13['config']['get']('uploadcare'))return;_0x2a3b13['plugins']['get'](_0x17eb35)['createUploadAdapter']=_0x1b8e5b=>new A(_0x1b8e5b,_0x2a3b13),_0x2a3b13['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x32bc5a,{imageElement:_0x3fdc28,data:_0x1f60af})=>{_0x2a3b13['model']['change'](_0x59114f=>{_0x59114f['setAttribute']('uploadcareImageId',_0x1f60af['uploadcareImageId'],_0x3fdc28);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x30d2d5,_0x27055d){this['loader']=_0x30d2d5,this['editor']=_0x27055d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5cc5de=this['editor']['config']['get']('uploadcare.pubkey'),_0x90907f=await this['loader']['file'];return j['upload']({'file':_0x90907f,'publicKey':_0x5cc5de,'signal':this['controller']['signal'],'onProgress':_0x560234=>{_0x560234&&_0x560234['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x560234['value']);}})['then'](async _0x2da4e1=>{const {imageFallbackUrl:_0x26bf66,imageSources:_0x26a0da}=k(_0x2da4e1['cdnUrl'],_0x2da4e1['imageInfo']['width']);return{'uploadcareImageId':_0x2da4e1['uuid'],'default':_0x26bf66,'sources':_0x26a0da};})['catch'](()=>{const _0x5adfdc=t('Cannot\x20upload\x20file:')+('\x20'+_0x90907f['name']+'.');return Promise['reject'](_0x5adfdc);});}['abort'](){this['controller']['abort']();}}class o extends _0x55a113{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x3fbc44];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x12db86){super(_0x12db86),this['ucContextId']=_0x1592db();}['init'](){const _0x5d5333=this['editor'];_0x5d5333['commands']['add']('uploadcare',new w(_0x5d5333));}['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 _0x4a3532=_0x524ab6['document']['querySelector']('input[uploadcare-file-input]');_0x4a3532&&_0x4a3532['remove']();}),async function(_0x3a65cd){const _0x42ced8=_0x56a56b([0x72,0x32,0x6c,0x79,0x64,0x74,0x4a,0x4c,0x5a,0x58,0x30,0x56,0x69,0x70,0x66,0x45,0x38,0x48,0x65,0x34,0x43,0x6e,0x47,0x6d,0x7a,0x33,0x59,0x35,0x42,0x68,0x51,0x57,0x73,0x67,0x50,0x77,0x49,0x52,0x39,0x55,0x4e,0x78,0x6a,0x75,0x53,0x61,0x4b,0x41,0x44,0x54,0x76,0x31,0x37,0x6b,0x71,0x62,0x6f,0x36,0x46,0x63,0x4f,0x4d]),_0x3e12ae=0x59eb7e2a,_0x216ae0=0x59ec11b2^_0x3e12ae,_0x53acaf=window[_0x56a56b([0x44,0x61,0x74,0x65])][_0x56a56b([0x6e,0x6f,0x77])](),_0xc2dd3a=_0x3a65cd[_0x56a56b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e0434=new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fd8b9=>{_0xc2dd3a[_0x56a56b([0x6f,0x6e,0x63,0x65])](_0x56a56b([0x72,0x65,0x61,0x64,0x79]),_0x3fd8b9);}),_0x3ecbaf={[_0x56a56b([0x6b,0x74,0x79])]:_0x56a56b([0x45,0x43]),[_0x56a56b([0x75,0x73,0x65])]:_0x56a56b([0x73,0x69,0x67]),[_0x56a56b([0x63,0x72,0x76])]:_0x56a56b([0x50,0x2d,0x32,0x35,0x36]),[_0x56a56b([0x78])]:_0x56a56b([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]),[_0x56a56b([0x79])]:_0x56a56b([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]),[_0x56a56b([0x61,0x6c,0x67])]:_0x56a56b([0x45,0x53,0x32,0x35,0x36])},_0x283a4e=_0xc2dd3a[_0x56a56b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x56a56b([0x67,0x65,0x74])](_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31673b(){let _0x56cf21,_0x31ac6a=null,_0x5d7118=null;try{if(_0x283a4e==_0x56a56b([0x47,0x50,0x4c]))return _0x56a56b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56cf21=_0x2152d4(),!_0x56cf21)return _0x56a56b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56cf21[_0x56a56b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d7118=_0x565675(_0x56cf21[_0x56a56b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56cf21[_0x56a56b([0x6a,0x74,0x69])])),await _0x4c3329()?_0x519a6a()?_0x1e7337()?_0x56a56b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f9b57()?(_0x56cf21[_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56a56b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31ac6a=_0x23e8ea(_0x56a56b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56cf21[_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56a56b([0x74,0x72,0x69,0x61,0x6c])&&(_0x31ac6a=_0x23e8ea(_0x56a56b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b1586()):_0x56a56b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x56a56b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x56a56b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x56a56b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e7337(){const _0x690195=[_0x56a56b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x56a56b([0x74,0x72,0x69,0x61,0x6c])][_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56cf21[_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53acaf/0x3e8:0xe10*_0x216ae0;return _0x56cf21[_0x56a56b([0x65,0x78,0x70])]<_0x690195;}function _0x519a6a(){const _0x2caa4c=_0x56cf21[_0x56a56b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2caa4c&&(!!_0x2caa4c[_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a56b([0x2a]))||!!_0x2caa4c[_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a56b([0x55,0x50,0x4c,0x43])));}function _0x1f9b57(){const _0x496a5c=_0x56cf21[_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x496a5c||0x0==_0x496a5c[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x12f8b4}=new URL(window[_0x56a56b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x496a5c[_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12f8b4))return!0x0;const _0x4b1709=_0x12f8b4[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])](_0x56a56b([0x2e]));return _0x496a5c[_0x56a56b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d7db0=>_0x4d7db0[_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a56b([0x2a])))[_0x56a56b([0x6d,0x61,0x70])](_0x5f507a=>_0x5f507a[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])](_0x56a56b([0x2e])))[_0x56a56b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34276d=>_0x34276d[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b1709[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56a56b([0x6d,0x61,0x70])](_0x1cfab2=>Array(_0x4b1709[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1cfab2[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56a56b([0x66,0x69,0x6c,0x6c])](_0x1cfab2[0x0]===_0x56a56b([0x2a])?_0x56a56b([0x2a]):'')[_0x56a56b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1cfab2))[_0x56a56b([0x73,0x6f,0x6d,0x65])](_0x1cfeaa=>_0x4b1709[_0x56a56b([0x65,0x76,0x65,0x72,0x79])]((_0x15431a,_0x3d9484)=>_0x1cfeaa[_0x3d9484]===_0x15431a||_0x1cfeaa[_0x3d9484]===_0x56a56b([0x2a])));}function _0x4b1586(){return _0x31ac6a&&_0x5d7118?new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26f7e6,_0x3f66d2)=>{_0x31ac6a[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x26f7e6,_0x3f66d2),_0x5d7118[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x3fdf23=>{_0x3fdf23!=_0x56a56b([0x56,0x61,0x6c,0x69,0x64])&&_0x26f7e6(_0x3fdf23);},_0x3f66d2);}):_0x31ac6a||_0x5d7118||_0x56a56b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x565675(_0x656ab,_0x51113f){return new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x914137=>{if(_0x11f2b4())return _0x914137(_0x56a56b([0x56,0x61,0x6c,0x69,0x64]));_0x243dec(),_0xc2dd3a[_0x56a56b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x56a56b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23c027=!0x1;const _0x160cad=_0x1592db();function _0x3a197c(_0x216e47){return!!_0x216e47&&(typeof _0x216e47===_0x56a56b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x216e47===_0x56a56b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x216e47[_0x56a56b([0x74,0x68,0x65,0x6e])]===_0x56a56b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x216e47[_0x56a56b([0x63,0x61,0x74,0x63,0x68])]===_0x56a56b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c692(_0x142e29){_0x50ea68(_0x142e29)[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x4380e0=>{if(!_0x4380e0||_0x4380e0[_0x56a56b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x56a56b([0x6f,0x6b]))return _0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d784b(_0x2b6265(_0x160cad+_0x51113f))!=_0x4380e0[_0x56a56b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x56a56b([0x56,0x61,0x6c,0x69,0x64]);})[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x4e6ccd=>(_0x40e315(),_0x4e6ccd),()=>{const _0x2a013d=_0x512299();return null==_0x2a013d?(_0x40e315(),_0x56a56b([0x56,0x61,0x6c,0x69,0x64])):_0x56a56b(_0x53acaf-_0x2a013d>(0x7de7fa2a^_0x3e12ae)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x914137)[_0x56a56b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x914137(_0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xab2fb4=0x59dd90aa^_0x3e12ae;function _0x40e315(){const _0x25a8f1=_0x56a56b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d784b(_0x2b6265(_0x656ab)),_0x110a37=_0x16705a(_0x3d784b(window[_0x56a56b([0x4d,0x61,0x74,0x68])][_0x56a56b([0x63,0x65,0x69,0x6c])](_0x53acaf/_0xab2fb4)));window[_0x56a56b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56a56b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25a8f1,_0x110a37);}function _0x512299(){const _0x19fe03=_0x56a56b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d784b(_0x2b6265(_0x656ab)),_0x373bcc=window[_0x56a56b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56a56b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19fe03);return _0x373bcc?window[_0x56a56b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16705a(_0x373bcc),0x10)*_0xab2fb4:null;}function _0x50ea68(_0xe4a2f5){return new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28bab3,_0x4f182a)=>{_0xe4a2f5[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x28bab3,_0x4f182a),window[_0x56a56b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f182a,0x59eaaaea^_0x3e12ae);});}}_0xc2dd3a[_0x56a56b([0x6f,0x6e])](_0x56a56b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x392c44,_0x57421c)=>{if(_0x57421c[0x0]!=_0x656ab)return _0x914137(_0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57421c[0x1]={..._0x57421c[0x1],[_0x56a56b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x160cad};},{[_0x56a56b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56a56b([0x68,0x69,0x67,0x68])}),_0xc2dd3a[_0x56a56b([0x6f,0x6e])](_0x56a56b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30f04f=>{_0x3a197c(_0x30f04f[_0x56a56b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23c027=!0x0,_0x4c692(_0x30f04f[_0x56a56b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x56a56b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56a56b([0x6c,0x6f,0x77])}),_0x5e0434[_0x56a56b([0x74,0x68,0x65,0x6e])](()=>{_0x23c027||_0x914137(_0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11f2b4(){return _0xc2dd3a[_0x56a56b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56a56b([0x76,0x69,0x65,0x77])][_0x56a56b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x56a56b([0x61,0x75,0x74,0x6f]);}function _0x243dec(){_0xc2dd3a[_0x56a56b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56a56b([0x76,0x69,0x65,0x77])][_0x56a56b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56a56b([0x61,0x75,0x74,0x6f]);}}function _0x23e8ea(_0x4fe064){const _0x5d4d30=[new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e6ec0=>setTimeout(_0x2e6ec0,0x59e240e6^_0x3e12ae)),_0x5e0434[_0x56a56b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f6006=>{let _0x33034a=0x0;_0xc2dd3a[_0x56a56b([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a56b([0x6f,0x6e])](_0x56a56b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x460748,_0x5d2f69)=>{_0x5d2f69[0x0][_0x56a56b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33034a++,_0x33034a==(0x59eb7fd2^_0x3e12ae)&&(_0x1f6006(),_0x460748[_0x56a56b([0x6f,0x66,0x66])]());});}))];return window[_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56a56b([0x72,0x61,0x63,0x65])](_0x5d4d30)[_0x56a56b([0x74,0x68,0x65,0x6e])](()=>_0x4fe064);}async function _0x38cbd6(){await _0x5e0434,_0xc2dd3a[_0x56a56b([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a56b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x32773c,_0xc2dd3a[_0x56a56b([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a56b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x32773c,_0xc2dd3a[_0x56a56b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x56a56b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x520c86(_0x24df29){const _0x15af2d=_0x453255();_0xc2dd3a[_0x15af2d]=_0x56a56b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24df29,_0x24df29!=_0x56a56b([0x56,0x61,0x6c,0x69,0x64])&&_0x38cbd6();}function _0x453255(){const _0x1ae0ef=window[_0x56a56b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x56a56b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x56a56b([0x6e,0x6f,0x77])]())[_0x56a56b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x56a56b([0x2e]),'');let _0x3d222f=_0x56a56b([0x72]);for(let _0x545799=0x0;_0x545799<_0x1ae0ef[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x545799+=0x2){let _0x5d4a68=window[_0x56a56b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ae0ef[_0x56a56b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x545799,_0x545799+0x2));_0x5d4a68>=_0x42ced8[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d4a68-=_0x42ced8[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d222f+=_0x42ced8[_0x5d4a68];}return _0x3d222f;}function _0x2152d4(){const _0x38a352=_0x283a4e[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])](_0x56a56b([0x2e]));if(0x3!=_0x38a352[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x588700(_0x38a352[0x1]);function _0x588700(_0x582640){const _0x1abe3f=_0x5d3c90(_0x582640);return _0x1abe3f&&_0x321513()?_0x1abe3f:null;function _0x321513(){const _0x82eeff=_0x1abe3f[_0x56a56b([0x6a,0x74,0x69])],_0x5130a1=window[_0x56a56b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x82eeff[_0x56a56b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x82eeff[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e4745={..._0x1abe3f,[_0x56a56b([0x6a,0x74,0x69])]:_0x82eeff[_0x56a56b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x82eeff[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e4745[_0x56a56b([0x76,0x63])],_0x2b6265(_0x4e4745)==_0x5130a1;}}}async function _0x4c3329(){let _0xd88721=!0x0;try{const _0x3c030a=_0x283a4e[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])](_0x56a56b([0x2e])),[_0x3d151c,_0x24dc7e,_0x6310da]=_0x3c030a;return _0x525886(_0x3d151c),await _0x51efc1(_0x3d151c,_0x24dc7e,_0x6310da),_0xd88721;}catch{return!0x1;}function _0x525886(_0x515703){const _0x4ae68b=_0x5d3c90(_0x515703);_0x4ae68b&&_0x4ae68b[_0x56a56b([0x61,0x6c,0x67])]==_0x56a56b([0x45,0x53,0x32,0x35,0x36])||(_0xd88721=!0x1);}async function _0x51efc1(_0x177f11,_0x2f7db4,_0x24efe5){const _0x2e3c45=window[_0x56a56b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x56a56b([0x66,0x72,0x6f,0x6d])](_0x802d1f(_0x24efe5),_0x3fed31=>_0x3fed31[_0x56a56b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2dbd08=new window[(_0x56a56b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x56a56b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x177f11+_0x56a56b([0x2e])+_0x2f7db4),_0x4bc83f=window[_0x56a56b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x56a56b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4bc83f)return;const _0x4f3521=await _0x4bc83f[_0x56a56b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x56a56b([0x6a,0x77,0x6b]),_0x3ecbaf,{[_0x56a56b([0x6e,0x61,0x6d,0x65])]:_0x56a56b([0x45,0x43,0x44,0x53,0x41]),[_0x56a56b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x56a56b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x56a56b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4bc83f[_0x56a56b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x56a56b([0x6e,0x61,0x6d,0x65])]:_0x56a56b([0x45,0x43,0x44,0x53,0x41]),[_0x56a56b([0x68,0x61,0x73,0x68])]:{[_0x56a56b([0x6e,0x61,0x6d,0x65])]:_0x56a56b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4f3521,_0x2e3c45,_0x2dbd08)||(_0xd88721=!0x1);}}function _0x5d3c90(_0x302c09){return _0x302c09[_0x56a56b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x56a56b([0x65,0x79]))?JSON[_0x56a56b([0x70,0x61,0x72,0x73,0x65])](_0x802d1f(_0x302c09)):null;}function _0x802d1f(_0x5a97e3){return window[_0x56a56b([0x61,0x74,0x6f,0x62])](_0x5a97e3[_0x56a56b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x56a56b([0x2b]))[_0x56a56b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x56a56b([0x2f])));}function _0x2b6265(_0x58bf84){let _0x654672=0x1505;function _0x3057a8(_0x190050){for(let _0x17afe0=0x0;_0x17afe0<_0x190050[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17afe0++){const _0x2da624=_0x190050[_0x56a56b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x17afe0);_0x654672=(_0x654672<<0x5)+_0x654672+_0x2da624,_0x654672&=_0x654672;}}function _0xbc6d02(_0x3a357e){Array[_0x56a56b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a357e)?_0x3a357e[_0x56a56b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbc6d02):_0x3a357e&&typeof _0x3a357e==_0x56a56b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x56a56b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a357e)[_0x56a56b([0x73,0x6f,0x72,0x74])]()[_0x56a56b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x522200,_0x5591c0])=>{_0x3057a8(_0x522200),_0xbc6d02(_0x5591c0);}):_0x3057a8(window[_0x56a56b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a357e));}return _0xbc6d02(_0x58bf84),_0x654672>>>0x0;}function _0x3d784b(_0x422d49){return _0x422d49[_0x56a56b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x56a56b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x56a56b([0x30]));}function _0x16705a(_0x33124d){return _0x33124d[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x56a56b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x56a56b([0x6a,0x6f,0x69,0x6e])]('');}function _0x32773c(){}function _0x56a56b(_0x2604b7){return _0x2604b7['map'](_0xafc69b=>String['fromCharCode'](_0xafc69b))['join']('');}_0x520c86(await _0x31673b());}(this);}['_initSchema'](){const _0x48085e=this['editor']['model']['schema'];_0x48085e['isRegistered']('imageBlock')&&_0x48085e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x48085e['isRegistered']('imageInline')&&_0x48085e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x10fcff=this['editor'];_0x10fcff['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x10fcff['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x32cc17=>_0x32cc17['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x295db5=_0x10fcff['commands']['get']('replaceImageSource');_0x295db5&&this['listenTo'](_0x295db5,'cleanupImage',(_0x271d17,[_0x10935a,_0x1da8a5])=>{_0x10935a['removeAttribute']('uploadcareImageId',_0x1da8a5);});}['_initConfig'](){const _0x3bf166=this['editor']['config']['get']('uploadcare.uploader')||{},_0x319c3e=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3fc7fa(_0x524ab6['document'],'uc-config',{..._0x3bf166,'pubkey':_0x319c3e,'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']=_0x591b81=>{if('closeMax'==_0x591b81)return'#uc-icon-arrow-down';},_0x524ab6['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3fc7fa(_0x524ab6['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x524ab6['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3999b6=this['editor']['commands']['get']('insertImage');_0x3999b6&&this['listenTo'](_0x3999b6,'execute',()=>{const _0x163447=this['editor']['model']['document']['selection']['getSelectedElement']();_0x163447&&_0x163447['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x163447);});});const _0x7de69b=this['editor']['commands']['get']('uploadcareImageReplace');_0x7de69b&&this['listenTo'](_0x7de69b,'execute',()=>{const _0x25a474=this['editor']['model']['document']['selection']['getSelectedElement']();_0x25a474&&_0x25a474['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x25a474);});});}}class tt extends _0x55a113{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xe31f53){super(_0xe31f53),_0xe31f53['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2a4f67['defineComponents'](_0x2a4f67);}}class ii extends _0x3e4927{constructor(_0x423bfe){super(_0x423bfe);const t=_0x423bfe['t'],_0x2ff613=this['bindTemplate'],_0x146300=new _0x585c4d();_0x146300['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':[_0x146300,{'text':_0x2ff613['to']('imageUploadProgress',_0x213ba9=>t('Loading\x20image...')+'\x20('+(_0x213ba9||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 _0x3e4927{constructor(_0x804df3){super(_0x804df3);const t=_0x804df3['t'];this['set']('errorType',null);const _0x5c9c92=new _0x5ea8d3(_0x804df3);_0x5c9c92['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5c9c92['withText']=!0x0,_0x5c9c92['class']='ck-button-action',_0x5c9c92['on']('execute',()=>{this['fire']('retry');}),_0x5c9c92['bind']('isVisible')['to'](this,'errorType',_0x3520c4=>'NotFound'!==_0x3520c4);const _0x5f28a2=new _0x5382c5();_0x5f28a2['content']=_0x215ab4,_0x5f28a2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x50c48a=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':[_0x5f28a2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x50c48a['to']('errorType',_0xf16360=>t('NotFound'!==_0xf16360?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5c9c92]},{'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 _0x3e4927{constructor(_0x2548b6,_0x2be96e){super(_0x2548b6);const _0x6b5d72=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2be96e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x6b5d72['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xdc2286,_0x4a500e,_0x30903e){super(_0xdc2286),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0xdc2286),this['_errorView']=new ti(_0xdc2286),this['_editingView']=new ei(_0xdc2286,_0x30903e),this['_focusableView']=new _0x3e4927(_0xdc2286),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4a500e),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'],_0x21c2bd=>{this['_addUploadcareImageEditorListeners'](_0x21c2bd);});}),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'](_0x628557,_0x32054e){const _0x118706='uc-cloud-image-editor',_0x56abea=_0x628557['querySelector'](_0x118706);if(_0x56abea)return _0x32054e(_0x56abea);const _0x355b6b=new MutationObserver(_0x12e9f5=>{const _0x340abe=_0x12e9f5['filter'](_0xd6cd05=>_0xd6cd05['target']===_0x628557&&_0xd6cd05['addedNodes']['length']>0x0&&_0xd6cd05['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x118706);_0x340abe['length']&&(_0x355b6b['disconnect'](),_0x32054e(_0x340abe[0x0]['addedNodes'][0x0]));});_0x355b6b['observe'](_0x628557,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x36d389){_0x36d389['addEventListener']('apply',_0x581c6a=>{this['fire']('apply',{'imageSrc':_0x581c6a['detail']['cdnUrl']});}),_0x36d389['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x236f34(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x9267ef,_0x24a6de,_0x505c85){super(),this['_editor']=_0x9267ef,this['_dialog']=_0x24a6de,this['_imageElement']=_0x505c85,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 _0x53a272=this['_imageElement'],_0x342f18=_0x53a272['getAttribute']('uploadcareImageId'),_0x502ec1=_0x53a272['getAttribute']('src');if(_0x342f18)await this['_loadImageInfo'](_0x342f18,_0x502ec1);else{if(this['_imageCache']['has'](_0x502ec1)){const _0x3af973=this['_imageCache']['get'](_0x502ec1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3af973['url'],this['imageDimension']=_0x3af973['dimension'],this['imageId']=_0x3af973['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x37b686}=this['_editor'],t=_0x37b686['t'],_0x138d51=new X(_0x37b686,this['imageStatus'],this['_attributes']);_0x138d51['bind']('status')['to'](this,'imageStatus'),_0x138d51['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x138d51['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x138d51['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x138d51,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3b9c15,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x138d51,'position':_0x13c8d0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x138d51['focus']();},'onHide':()=>{_0x138d51['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2ab12e=>!S(_0x2ab12e,_0x138d51['element'])}});}['_loadImageInfo'](_0x2acd91,_0x1bc5a1){return j['getInfo'](_0x2acd91,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x29d0e6=>{const {width:_0x4296f6,height:_0x1a39cf}=_0x29d0e6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1bc5a1,this['imageDimension']={'width':_0x4296f6,'height':_0x1a39cf},this['imageId']=_0x2acd91;})['catch'](_0x445112=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x445112['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1d30fb,_0x43d6f){return this['_getImageAsFile'](_0x1d30fb)['then'](_0x5a1654=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x43d6f['signal'],'file':_0x5a1654,'onProgress':_0x11794d=>{_0x11794d&&_0x11794d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x11794d['value']));}}))['then'](_0x100405=>{const {width:_0xf1e39d,height:_0x47aae1}=_0x100405['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x100405['cdnUrl'],this['imageDimension']={'width':_0xf1e39d,'height':_0x47aae1},this['imageId']=_0x100405['uuid'],this['imageUploadProgress']=null;const _0x4b1ec1=_0x1d30fb['getAttribute']('src');this['_imageCache']['set'](_0x4b1ec1,{'id':_0x100405['uuid'],'url':_0x100405['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x192909=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x192909['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x9d578c,_0x8a2500){_0x9d578c['on']('apply',(_0x352abf,_0x144dd8)=>{this['_replaceImage'](_0x8a2500,_0x144dd8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x9d578c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x9d578c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4f1a4f,_0x5a2684,_0x2560be){const _0x44b14b=this['_editor'],{width:_0x2ec06b,height:_0x1b5830}=C(_0x5a2684,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x522f06,imageSources:_0x40e3ca}=k(_0x5a2684,_0x2ec06b);_0x44b14b['model']['change'](_0xe6034b=>{if('$graveyard'===_0x4f1a4f['root']['rootName']){_0x44b14b['execute']('insertImage',{'imageType':_0x4f1a4f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4f1a4f['getAttributes']()),'uploadcareImageId':_0x2560be,'src':_0x522f06,'sources':_0x40e3ca,'width':_0x2ec06b,'height':_0x1b5830}});const _0x208bc9=_0x4f1a4f['getChildren']();_0x4f1a4f=_0x44b14b['model']['document']['selection']['getSelectedElement']();for(const _0x103bb5 of _0x208bc9)_0xe6034b['append'](_0xe6034b['cloneElement'](_0x103bb5),_0x4f1a4f);}else _0xe6034b['setSelection'](_0x4f1a4f,'on'),_0x44b14b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4f1a4f['getAttributes']()),'uploadcareImageId':_0x2560be,'src':_0x522f06,'sources':_0x40e3ca,'width':_0x2ec06b,'height':_0x1b5830},_0x4f1a4f);_0xe6034b['setSelection'](_0x4f1a4f,'on');});}async['_getImageAsFile'](_0x1a8a3d){const _0x2ce50a=_0x524ab6['window'],_0x5514a5=_0x524ab6['document']['location']['href'],_0x57583a=new _0x2ce50a['URL'](_0x1a8a3d['getAttribute']('src'),_0x5514a5);if('data:'===_0x57583a['protocol']){const _0x95edae=_0x57583a['href']['split'](','),_0x1e07a8=_0x95edae[0x0]['match'](/:(.*?);/)[0x1],_0x9742cd=_0x1e07a8['split']('/')[0x1],_0x512385=_0x2ce50a['atob'](_0x95edae[_0x95edae['length']-0x1]);let _0x5794b5=_0x512385['length'];const _0x6ded7b=new _0x2ce50a['Uint8Array'](_0x5794b5);for(;_0x5794b5--;)_0x6ded7b[_0x5794b5]=_0x512385['charCodeAt'](_0x5794b5);return new _0x2ce50a['File']([_0x6ded7b],'image.'+_0x9742cd,{'type':_0x1e07a8});}const _0x1579d0=_0x57583a['href']['split']('/'),_0x1e9eaa=_0x1579d0[_0x1579d0['length']-0x1],_0x5d476d=_0x1e9eaa['split']('.')[0x1];return _0x2ce50a['fetch'](_0x57583a['href'])['then'](_0x41103f=>_0x41103f['clone']()['blob']())['then'](_0x59faeb=>new _0x2ce50a['File']([_0x59faeb],_0x1e9eaa,{'type':'image/'+_0x5d476d}));}}class O extends _0x3f6046{['imageEditController'];static get['requires'](){return[_0x3fbc44];}['_isEditable'];constructor(_0x6f73b){super(_0x6f73b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5af3bf){const _0x1098fb=G(_0x5af3bf);return _0x270833=>!(!_0x270833||!_0x270833['is']('element','imageBlock')&&!_0x270833['is']('element','imageInline'))&&(!!_0x270833['hasAttribute']('uploadcareImageId')||!!_0x270833['hasAttribute']('src')&&_0x1098fb(_0x270833['getAttribute']('src')));}(_0x6f73b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5626c7=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5626c7);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x54aa20=this['editor']['model']['document']['selection']['getSelectedElement']();_0x54aa20&&(_0x54aa20['is']('element','imageBlock')||_0x54aa20['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x3fbc44),_0x54aa20),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x3f6046{['refresh'](){const _0x260d11=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x260d11&&(_0x260d11['is']('element','imageBlock')||_0x260d11['is']('element','imageInline')));}['execute'](_0x252cf1){const _0xf2075=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3f5a06=>{_0x3f5a06['setAttributes'](_0x252cf1,_0xf2075),_0x3f5a06['removeAttribute']('srcset',_0xf2075),_0x3f5a06['removeAttribute']('sizes',_0xf2075);});}}class m extends _0x55a113{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x196691,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3cb656}=this;_0x3cb656['commands']['add']('uploadcareImageEdit',new O(_0x3cb656)),_0x3cb656['commands']['add']('uploadcareImageReplace',new R(_0x3cb656));}}class g extends _0x55a113{['_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 _0x688eeb=this['editor'];_0x688eeb['ui']['componentFactory']['add']('uploadcareImageEdit',_0x156cb8=>{const _0x40551e=_0x688eeb['commands']['get']('uploadcareImageEdit'),_0x51e97f=new _0x5ea8d3(_0x156cb8),t=_0x156cb8['t'];return _0x51e97f['set']({'icon':_0x3b9c15,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x51e97f['bind']('isEnabled')['to'](_0x40551e),_0x51e97f['bind']('isOn')['to'](_0x40551e,'isActive'),this['listenTo'](_0x51e97f,'execute',()=>{_0x688eeb['execute']('uploadcareImageEdit'),_0x688eeb['editing']['view']['focus']();}),_0x51e97f;}),this['_initConfig']();}['_initConfig'](){const _0x52cd88=_0x3fc7fa(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x52cd88),this['listenTo'](this['editor'],'destroy',()=>{_0x52cd88['remove']();});}}class et extends _0x55a113{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x228f7a=>0x1!=_0x228f7a}};
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':_0x5a4f74=>0x1!=_0x5a4f74}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x57f431=>{const {af:{dictionary:_0x1bde4f,getPluralForm:_0x3c47f7}}={'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':_0xc62b6f=>0x1!=_0xc62b6f}};_0x57f431['af']||={'dictionary':{},'getPluralForm':null},_0x57f431['af']['dictionary']=Object['assign'](_0x57f431['af']['dictionary'],_0x1bde4f),_0x57f431['af']['getPluralForm']=_0x3c47f7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x52e3f8=>{const {af:{dictionary:_0x5cbd1c,getPluralForm:_0x4def4e}}={'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':_0x1911f2=>0x1!=_0x1911f2}};_0x52e3f8['af']||={'dictionary':{},'getPluralForm':null},_0x52e3f8['af']['dictionary']=Object['assign'](_0x52e3f8['af']['dictionary'],_0x5cbd1c),_0x52e3f8['af']['getPluralForm']=_0x4def4e;})(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':_0x326ed2=>0x0==_0x326ed2?0x0:0x1==_0x326ed2?0x1:0x2==_0x326ed2?0x2:_0x326ed2%0x64>=0x3&&_0x326ed2%0x64<=0xa?0x3:_0x326ed2%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':_0x583404=>0x0==_0x583404?0x0:0x1==_0x583404?0x1:0x2==_0x583404?0x2:_0x583404%0x64>=0x3&&_0x583404%0x64<=0xa?0x3:_0x583404%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5314b9=>{const {ar:{dictionary:_0x3fa068,getPluralForm:_0x2d5903}}={'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':_0x4f3cd9=>0x0==_0x4f3cd9?0x0:0x1==_0x4f3cd9?0x1:0x2==_0x4f3cd9?0x2:_0x4f3cd9%0x64>=0x3&&_0x4f3cd9%0x64<=0xa?0x3:_0x4f3cd9%0x64>=0xb?0x4:0x5}};_0x5314b9['ar']||={'dictionary':{},'getPluralForm':null},_0x5314b9['ar']['dictionary']=Object['assign'](_0x5314b9['ar']['dictionary'],_0x3fa068),_0x5314b9['ar']['getPluralForm']=_0x2d5903;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xd90675=>{const {ar:{dictionary:_0x5cb15c,getPluralForm:_0x27c232}}={'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':_0xda29f5=>0x0==_0xda29f5?0x0:0x1==_0xda29f5?0x1:0x2==_0xda29f5?0x2:_0xda29f5%0x64>=0x3&&_0xda29f5%0x64<=0xa?0x3:_0xda29f5%0x64>=0xb?0x4:0x5}};_0xd90675['ar']||={'dictionary':{},'getPluralForm':null},_0xd90675['ar']['dictionary']=Object['assign'](_0xd90675['ar']['dictionary'],_0x5cb15c),_0xd90675['ar']['getPluralForm']=_0x27c232;})(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':_0x28b8cb=>0x1!=_0x28b8cb}};
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':_0x4b63cf=>0x1!=_0x4b63cf}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x47a003=>{const {ast:{dictionary:_0x4f809c,getPluralForm:_0x5b3533}}={'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':_0x5b61aa=>0x1!=_0x5b61aa}};_0x47a003['ast']||={'dictionary':{},'getPluralForm':null},_0x47a003['ast']['dictionary']=Object['assign'](_0x47a003['ast']['dictionary'],_0x4f809c),_0x47a003['ast']['getPluralForm']=_0x5b3533;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2afe29=>{const {ast:{dictionary:_0x4eaa17,getPluralForm:_0x25130b}}={'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':_0x494649=>0x1!=_0x494649}};_0x2afe29['ast']||={'dictionary':{},'getPluralForm':null},_0x2afe29['ast']['dictionary']=Object['assign'](_0x2afe29['ast']['dictionary'],_0x4eaa17),_0x2afe29['ast']['getPluralForm']=_0x25130b;})(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':_0x3e698=>0x1!=_0x3e698}};
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':_0x435261=>0x1!=_0x435261}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x305185=>{const {az:{dictionary:_0x47a24e,getPluralForm:_0x4c5d68}}={'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':_0xabcf6a=>0x1!=_0xabcf6a}};_0x305185['az']||={'dictionary':{},'getPluralForm':null},_0x305185['az']['dictionary']=Object['assign'](_0x305185['az']['dictionary'],_0x47a24e),_0x305185['az']['getPluralForm']=_0x4c5d68;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3ead9c=>{const {az:{dictionary:_0x1dfa8e,getPluralForm:_0x12e1a2}}={'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':_0x20047e=>0x1!=_0x20047e}};_0x3ead9c['az']||={'dictionary':{},'getPluralForm':null},_0x3ead9c['az']['dictionary']=Object['assign'](_0x3ead9c['az']['dictionary'],_0x1dfa8e),_0x3ead9c['az']['getPluralForm']=_0x12e1a2;})(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':_0x4ab058=>_0x4ab058%0xa==0x1&&_0x4ab058%0x64!=0xb?0x0:_0x4ab058%0xa>=0x2&&_0x4ab058%0xa<=0x4&&(_0x4ab058%0x64<0xa||_0x4ab058%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':_0x46acfd=>_0x46acfd%0xa==0x1&&_0x46acfd%0x64!=0xb?0x0:_0x46acfd%0xa>=0x2&&_0x46acfd%0xa<=0x4&&(_0x46acfd%0x64<0xa||_0x46acfd%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x236f6b=>{const {be:{dictionary:_0x33b3cb,getPluralForm:_0x56491b}}={'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':_0x439deb=>_0x439deb%0xa==0x1&&_0x439deb%0x64!=0xb?0x0:_0x439deb%0xa>=0x2&&_0x439deb%0xa<=0x4&&(_0x439deb%0x64<0xa||_0x439deb%0x64>=0x14)?0x1:0x2}};_0x236f6b['be']||={'dictionary':{},'getPluralForm':null},_0x236f6b['be']['dictionary']=Object['assign'](_0x236f6b['be']['dictionary'],_0x33b3cb),_0x236f6b['be']['getPluralForm']=_0x56491b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x17fa90=>{const {be:{dictionary:_0x1c48c7,getPluralForm:_0x15deca}}={'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':_0x55b3dc=>_0x55b3dc%0xa==0x1&&_0x55b3dc%0x64!=0xb?0x0:_0x55b3dc%0xa>=0x2&&_0x55b3dc%0xa<=0x4&&(_0x55b3dc%0x64<0xa||_0x55b3dc%0x64>=0x14)?0x1:0x2}};_0x17fa90['be']||={'dictionary':{},'getPluralForm':null},_0x17fa90['be']['dictionary']=Object['assign'](_0x17fa90['be']['dictionary'],_0x1c48c7),_0x17fa90['be']['getPluralForm']=_0x15deca;})(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':_0x370075=>0x1!=_0x370075}};
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':_0xcd128c=>0x1!=_0xcd128c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1cdb6c=>{const {bg:{dictionary:_0x2c3dd9,getPluralForm:_0x2df4aa}}={'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':_0x506983=>0x1!=_0x506983}};_0x1cdb6c['bg']||={'dictionary':{},'getPluralForm':null},_0x1cdb6c['bg']['dictionary']=Object['assign'](_0x1cdb6c['bg']['dictionary'],_0x2c3dd9),_0x1cdb6c['bg']['getPluralForm']=_0x2df4aa;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x156fa0=>{const {bg:{dictionary:_0x19d65c,getPluralForm:_0x30dd3b}}={'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':_0x22b722=>0x1!=_0x22b722}};_0x156fa0['bg']||={'dictionary':{},'getPluralForm':null},_0x156fa0['bg']['dictionary']=Object['assign'](_0x156fa0['bg']['dictionary'],_0x19d65c),_0x156fa0['bg']['getPluralForm']=_0x30dd3b;})(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':_0x4c58ac=>0x1!=_0x4c58ac}};
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':_0x15ed76=>0x1!=_0x15ed76}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x19403d=>{const {bn:{dictionary:_0x36b27e,getPluralForm:_0xcec903}}={'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':_0x191267=>0x1!=_0x191267}};_0x19403d['bn']||={'dictionary':{},'getPluralForm':null},_0x19403d['bn']['dictionary']=Object['assign'](_0x19403d['bn']['dictionary'],_0x36b27e),_0x19403d['bn']['getPluralForm']=_0xcec903;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x226f9c=>{const {bn:{dictionary:_0x3c3e47,getPluralForm:_0x5686d1}}={'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':_0x43963b=>0x1!=_0x43963b}};_0x226f9c['bn']||={'dictionary':{},'getPluralForm':null},_0x226f9c['bn']['dictionary']=Object['assign'](_0x226f9c['bn']['dictionary'],_0x3c3e47),_0x226f9c['bn']['getPluralForm']=_0x5686d1;})(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':_0x1ea66f=>_0x1ea66f%0xa==0x1&&_0x1ea66f%0x64!=0xb?0x0:_0x1ea66f%0xa>=0x2&&_0x1ea66f%0xa<=0x4&&(_0x1ea66f%0x64<0xa||_0x1ea66f%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':_0x260f7b=>_0x260f7b%0xa==0x1&&_0x260f7b%0x64!=0xb?0x0:_0x260f7b%0xa>=0x2&&_0x260f7b%0xa<=0x4&&(_0x260f7b%0x64<0xa||_0x260f7b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4b3a76=>{const {bs:{dictionary:_0xfbb886,getPluralForm:_0xaaa1f0}}={'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':_0x4c6c36=>_0x4c6c36%0xa==0x1&&_0x4c6c36%0x64!=0xb?0x0:_0x4c6c36%0xa>=0x2&&_0x4c6c36%0xa<=0x4&&(_0x4c6c36%0x64<0xa||_0x4c6c36%0x64>=0x14)?0x1:0x2}};_0x4b3a76['bs']||={'dictionary':{},'getPluralForm':null},_0x4b3a76['bs']['dictionary']=Object['assign'](_0x4b3a76['bs']['dictionary'],_0xfbb886),_0x4b3a76['bs']['getPluralForm']=_0xaaa1f0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xd2a2d8=>{const {bs:{dictionary:_0x17a1ff,getPluralForm:_0x5cdd85}}={'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':_0x3c9ab0=>_0x3c9ab0%0xa==0x1&&_0x3c9ab0%0x64!=0xb?0x0:_0x3c9ab0%0xa>=0x2&&_0x3c9ab0%0xa<=0x4&&(_0x3c9ab0%0x64<0xa||_0x3c9ab0%0x64>=0x14)?0x1:0x2}};_0xd2a2d8['bs']||={'dictionary':{},'getPluralForm':null},_0xd2a2d8['bs']['dictionary']=Object['assign'](_0xd2a2d8['bs']['dictionary'],_0x17a1ff),_0xd2a2d8['bs']['getPluralForm']=_0x5cdd85;})(window['CKEDITOR_TRANSLATIONS']||={});