@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250306.0 → 0.0.0-nightly-20250308.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. 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 _0x16f1c0,Command as _0x532452}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1b4267,IconGooglePhotos as _0x39937d,IconGoogleDrive as _0x15d4f1,IconFacebook as _0x821519,IconDropbox as _0x3b5ff5,IconUploadcareLink as _0x2236b1,IconUploadcareImageUpload as _0x101fd9,IconError as et,IconUploadcareImageEdit as _0x408433}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x464040,MenuBarMenuListItemButtonView as _0x23f4df,View as _0x1be783,FocusCycler as _0x2dc08b,Dialog as _0x3b13be,DialogViewPosition as _0x485e52,SpinnerView as _0x1c2835,IconView as at,Notification as _0x5d268f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2557e6,DomEmitterMixin as _0x3567d9,global as _0x226ea3,getAncestors as _0x2b4822,ObservableMixin as _0x385e00,createElement as _0x20a450,uid as _0x909a43}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x15043d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x63a645,info as _0x26db17}from'@uploadcare/upload-client';import*as _0x40b237 from'@uploadcare/file-uploader';var o=function(_0x375be3){return _0x375be3['Local']='local',_0x375be3['URL']='url',_0x375be3['Dropbox']='dropbox',_0x375be3['GDrive']='gdrive',_0x375be3['Facebook']='facebook',_0x375be3['GPhotos']='gphotos',_0x375be3['OneDrive']='onedrive',_0x375be3;}({});function _(_0x67c67d,_0x27b848,_0x58d625){const t=_0x67c67d['t'],_0x496ddf=_0x67c67d['t'];switch(_0x27b848){case o['Local']:return{'text':_0x496ddf('Insert'===_0x58d625?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x496ddf('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x58d625?_0x496ddf('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x496ddf('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x58d625?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x58d625?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x58d625?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x58d625?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x58d625?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x27b848;}}class e extends _0x16f1c0{['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 _0x3e8eef=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x527b05;for(const _0x106a50 in _0x3e8eef){const _0x3e8318=_0x106a50,_0x267609=_0x3e8eef[_0x3e8318];if('uploadcareLicenseKeyValid'==_0x267609||'uploadcareLicenseKeyInvalid'==_0x267609||'uploadcareLicenseKeyExpired'==_0x267609||'uploadcareLicenseKeyDomainLimit'==_0x267609||'uploadcareLicenseKeyNotAllowed'==_0x267609||'uploadcareLicenseKeyEvaluationLimit'==_0x267609||'uploadcareLicenseKeyTrialLimit'==_0x267609||'uploadcareLicenseKeyUsageLimit'==_0x267609){delete _0x3e8eef[_0x3e8318],_0x527b05=_0x267609,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x527b05&&_0x3e8eef['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x527b05&&_0x3e8eef['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x527b05&&_0x3e8eef['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x527b05&&_0x3e8eef['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x527b05&&_0x3e8eef['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x527b05&&_0x3e8eef['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x527b05&&_0x3e8eef['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x152946}=this,_0x5e9a15=_0x152946['commands']['get']('uploadcare');if(!_0x5e9a15)return;const _0x14f8e0=this['_normalizeConfigSourceList'](_0x152946['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x54e1eb,_0x7ac0f5)=>{const _0x1113e7=this['_getIntegrationKey'](_0x7ac0f5['type']);return _0x54e1eb[_0x1113e7]||(_0x54e1eb[_0x1113e7]=[]),_0x54e1eb[_0x1113e7]['push'](_0x7ac0f5),_0x54e1eb;},{});_0x152946['plugins']['has']('ImageInsertUI')&&_0x152946['commands']['get']('uploadcare')&&Object['entries'](_0x14f8e0)['forEach'](([_0x35ac47,_0x29b23a])=>{_0x152946['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x35ac47,'observable':()=>_0x5e9a15,'buttonViewCreator':()=>this['_createToolbarButton'](_0x29b23a),'formViewCreator':()=>this['_createDropdownButtons'](_0x29b23a),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x29b23a),'override':'assetManager'!==_0x35ac47});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xff15a5){const {locale:_0x2eb1e6}=this['editor'];return _0xff15a5['map'](_0x2e490f=>{const _0x988af8=_(_0x2eb1e6,_0x2e490f,'Insert');switch(_0x2e490f){case o['Local']:return{'icon':_0x101fd9,'type':o['Local'],..._0x988af8};case o['URL']:return{'icon':_0x2236b1,'type':o['URL'],..._0x988af8};case o['Dropbox']:return{'icon':_0x3b5ff5,'type':o['Dropbox'],..._0x988af8};case o['Facebook']:return{'icon':_0x821519,'type':o['Facebook'],..._0x988af8};case o['GDrive']:return{'icon':_0x15d4f1,'type':o['GDrive'],..._0x988af8};case o['GPhotos']:return{'icon':_0x39937d,'type':o['GPhotos'],..._0x988af8};case o['OneDrive']:return{'icon':_0x1b4267,'type':o['OneDrive'],..._0x988af8};}});}['_getIntegrationKey'](_0x52a171){switch(_0x52a171){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3c0f6a,_0x3dc384){const _0x446479=this['editor'],_0x3a625c=new _0x3c0f6a(_0x446479['locale']),_0x22a7b7=_0x446479['commands']['get']('uploadcare');return _0x3a625c['bind']('isEnabled')['to'](_0x22a7b7),_0x3a625c['on']('execute',()=>{_0x22a7b7['execute'](_0x3dc384);}),_0x3a625c;}['_createToolbarButton'](_0x47ed80){const {locale:_0x101d25}=this['editor'],_0x10c1a8=this['editor']['plugins']['get']('ImageInsertUI'),_0x203fc3=_0x47ed80[0x0],_0x4f8e7f=this['_createButton'](_0x464040,_0x203fc3['type']);return _0x4f8e7f['icon']=_0x203fc3['icon'],_0x4f8e7f['bind']('label')['to'](_0x10c1a8,'isImageSelected',_0x3c5913=>_(_0x101d25,_0x203fc3['type'],_0x3c5913?'Replace':'Insert')['text']),_0x4f8e7f['tooltip']=!0x0,_0x4f8e7f;}['_createDropdownButtons'](_0x1d4381){const {locale:_0xd64cbd}=this['editor'],_0xa87fbd=this['editor']['plugins']['get']('ImageInsertUI');return _0x1d4381['map'](_0xd04c94=>{const _0x262c3e=this['_createButton'](_0x464040,_0xd04c94['type']);return _0x262c3e['withText']=!0x0,_0x262c3e['icon']=_0xd04c94['icon'],_0x262c3e['bind']('label')['to'](_0xa87fbd,'isImageSelected',_0x5431a5=>_(_0xd64cbd,_0xd04c94['type'],_0x5431a5?'Replace':'Insert')['text']),_0x262c3e;});}['_createMenuBarButtons'](_0x4f1eaa){return _0x4f1eaa['map'](_0x59a434=>{const _0x5b37f4=this['_createButton'](_0x23f4df,_0x59a434['type']);return _0x5b37f4['icon']=_0x59a434['icon'],_0x5b37f4['label']=_0x59a434['shortText'],_0x5b37f4;});}}class q extends _0x1be783{['focusTracker'];['focusCycler'];constructor(_0x146772){super(_0x146772),this['focusTracker']=new _0x2557e6(),this['focusCycler']=new _0x2dc08b({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x6fa688){super(_0x6fa688),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x1733d5,_0x474aba){const _0x5bf297=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4c40f1=>_0x4c40f1<=_0x474aba)['map'](_0x293dee=>_0x1733d5['replace'](/\/$/,'')+'/-/resize/'+_0x293dee+'x/\x20'+_0x293dee+'w');return{'imageFallbackUrl':_0x1733d5,'imageSources':[{'srcset':_0x5bf297['join'](',\x20'),'sizes':'(max-width:\x20'+_0x474aba+'px)\x20100vw,\x20'+_0x474aba+'px','type':'image/webp'}]};}function A(_0x41325d,_0x2413d2,_0x369e9f){const _0x46abb3=_0x41325d['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x46abb3?parseInt(_0x46abb3[0x1],0xa):_0x2413d2,'height':_0x46abb3?parseInt(_0x46abb3[0x2],0xa):_0x369e9f};}function m(_0xd4e419,_0x239ee3){const _0x4114f9=Object['create'](_0x3567d9),_0x31a5d7=_0xd4e419['plugins']['get']('ImageUtils'),_0x303bbd=_0xd4e419['editing']['mapper']['toViewElement'](_0x239ee3),_0x4340c8=_0x31a5d7['findViewImgElement'](_0x303bbd),_0x57c9e8=_0xd4e419['editing']['view']['domConverter']['viewToDom'](_0x4340c8),_0x50fc9d=_0x239ee3['getAttribute']('width'),_0x453a5e=_0x239ee3['getAttribute']('height'),_0x49d2e0='image-processing';_0xd4e419['editing']['view']['change'](_0x3e1077=>{_0x3e1077['addClass'](_0x49d2e0,_0x303bbd),_0x3e1077['setStyle']('aspect-ratio',_0x50fc9d+'/'+_0x453a5e,_0x4340c8);}),_0x4114f9['listenTo'](_0x57c9e8,'load',()=>{_0x4114f9['stopListening'](_0x57c9e8,'load'),_0xd4e419['editing']['view']['change'](_0x3b1ae6=>{_0x3b1ae6['removeClass'](_0x49d2e0,_0x303bbd),_0x3b1ae6['removeStyle']('aspect-ratio',_0x4340c8);});});}function V(_0x3ba94a){if(Array['isArray'](_0x3ba94a)){const _0x4b2244=_0x3ba94a['map'](V);return _0x3c7378=>_0x4b2244['some'](_0x42620e=>_0x42620e(_0x3c7378));}if('origin'==_0x3ba94a){const _0x317fdb=_0x226ea3['window']['location']['origin'];return _0x37a019=>new URL(_0x37a019,_0x226ea3['document']['baseURI'])['origin']==_0x317fdb;}return'function'==typeof _0x3ba94a?_0x3ba94a:_0x3ba94a instanceof RegExp?_0x4167f0=>!(!_0x4167f0['match'](_0x3ba94a)&&!_0x4167f0['replace'](/^https?:\/\//,'')['match'](_0x3ba94a)):()=>!0x1;}function F(_0x4af46c,_0x42e6ec){return _0x2b4822(_0x4af46c['target'])['includes'](_0x42e6ec);}class l extends/* #__PURE__ -- @preserve */
24
- _0x385e00(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2ce830,_0x2653cc,_0x59341b){super(),this['_editor']=_0x2ce830,this['_editing']=_0x2653cc,this['_dialog']=_0x2ce830['plugins']['get'](_0x3b13be),this['_api']=_0x2653cc['ctxElement']['getAPI'](),this['_type']=_0x59341b,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:_0x4d6263,model:_0x47de03}=this['_editor'],_0x227ecd=_0x47de03['document']['selection']['getSelectedElement'](),_0x40a9fc=_0x227ecd&&(_0x227ecd['is']('element','imageBlock')||_0x227ecd['is']('element','imageInline'));this['_formView']=new S(_0x4d6263),this['_dialog']['show']({'id':'uploadCare','icon':_0x101fd9,'title':_(_0x4d6263,this['_type'],_0x40a9fc?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x485e52['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x35fc8b=>!F(_0x35fc8b,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x355bf0}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1e71f5=>{const _0x2d8a1a=_0x355bf0['length'];for(const _0x3332dc of _0x355bf0){const _0x2b0b90=_0x3332dc===_0x355bf0[_0x2d8a1a-0x1],{cdnUrl:_0x2245ff,fileInfo:_0x28ae84}=_0x3332dc;if(!_0x2245ff||!_0x28ae84)continue;const {width:_0x2c10be,height:_0x40cbf3}=_0x28ae84['imageInfo'],_0x2f7cf5=A(_0x2245ff,_0x2c10be,_0x40cbf3),_0x452c73=E(_0x2245ff,_0x2f7cf5['width']),_0x258413={'id':_0x28ae84['uuid'],'type':'image','attributes':{'imageDimension':_0x2f7cf5,..._0x452c73}};this['_insertAsset'](_0x258413,_0x2b0b90,_0x1e71f5);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5482a6=>{'idle'===_0x5482a6['detail']['status']&&!_0x5482a6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1008d4,_0x48b99b,_0x16f059){const _0x55543a=this['_editor']['model']['document']['selection'],_0x5cfcff=_0x55543a['getSelectedElement'](),_0xbe44d0=!(!_0x5cfcff||!_0x5cfcff['is']('element','imageInline'));_0x16f059['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1008d4,_0xbe44d0),_0x48b99b||_0x16f059['setSelection'](_0x55543a['getLastPosition']());}['_insertImage'](_0x325c72,_0x5bea42){const _0x94d803=this['_editor'],{imageDimension:_0x2c7391,imageFallbackUrl:_0x3b98fa,imageSources:_0x4f58bb}=_0x325c72['attributes'];_0x94d803['execute']('insertImage',{'imageType':_0x5bea42?'imageInline':null,'source':{'uploadcareImageId':_0x325c72['id'],'src':_0x3b98fa,'sources':_0x4f58bb,..._0x2c7391}});}}class n extends _0x532452{['_editing'];['_controller']=null;static get['requires'](){return[_0x3b13be,i];}constructor(_0x5c3838){super(_0x5c3838),this['_editing']=_0x5c3838['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5aff23){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x5aff23);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x1e759a,publicKey:_0x341282,signal:_0x505435,onProgress:_0x3f5180}){return _0x63a645(_0x1e759a,{'publicKey':_0x341282,'store':'auto','signal':_0x505435,'onProgress':_0x3f5180});}static['getInfo'](_0x5917fe,_0x279e98){return _0x26db17(_0x5917fe,_0x279e98);}}class p extends _0x16f1c0{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x15043d,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x338077=this['editor'];if(!!!_0x338077['config']['get']('uploadcare'))return;_0x338077['plugins']['get'](_0x15043d)['createUploadAdapter']=_0x35a475=>new x(_0x35a475,_0x338077),_0x338077['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x125d51,{imageElement:_0x523d3b,data:_0x3f4abe})=>{_0x338077['model']['change'](_0xfe9141=>{_0xfe9141['setAttribute']('uploadcareImageId',_0x3f4abe['uploadcareImageId'],_0x523d3b);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4d0f16,_0x44f22e){this['loader']=_0x4d0f16,this['editor']=_0x44f22e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x6d7178=this['editor']['config']['get']('uploadcare.pubkey'),_0x10ae90=await this['loader']['file'];return C['upload']({'file':_0x10ae90,'publicKey':_0x6d7178,'signal':this['controller']['signal'],'onProgress':_0x31d37b=>{_0x31d37b&&_0x31d37b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x31d37b['value']);}})['then'](async _0x44a8f6=>{const {imageFallbackUrl:_0x33755d,imageSources:_0x30e482}=E(_0x44a8f6['cdnUrl'],_0x44a8f6['imageInfo']['width']);return{'uploadcareImageId':_0x44a8f6['uuid'],'default':_0x33755d,'sources':_0x30e482};})['catch'](()=>{const _0x415e38=t('Cannot\x20upload\x20file:')+('\x20'+_0x10ae90['name']+'.');return Promise['reject'](_0x415e38);});}['abort'](){this['controller']['abort']();}}class i extends _0x16f1c0{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x3b13be];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x436a7f=this['editor'];_0x436a7f['commands']['add']('uploadcare',new n(_0x436a7f));}['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 _0x1e981f=_0x226ea3['document']['querySelector']('input[uploadcare-file-input]');_0x1e981f&&_0x1e981f['remove']();}),async function(_0xbc8d05){const _0x433156=_0x25abf3([0x6d,0x64,0x49,0x52,0x4b,0x46,0x38,0x73,0x5a,0x42,0x72,0x66,0x50,0x4a,0x79,0x77,0x30,0x47,0x4c,0x63,0x68,0x76,0x6a,0x61,0x39,0x59,0x45,0x65,0x78,0x56,0x62,0x32,0x44,0x58,0x74,0x43,0x71,0x36,0x35,0x70,0x69,0x6b,0x6c,0x53,0x57,0x4d,0x7a,0x6e,0x55,0x54,0x4f,0x67,0x4e,0x48,0x31,0x6f,0x75,0x37,0x51,0x33,0x41,0x34]),_0xe570d6=0x16a33eb0,_0x27f894=0x16a45fe8^_0xe570d6,_0x39cb93=window[_0x25abf3([0x44,0x61,0x74,0x65])][_0x25abf3([0x6e,0x6f,0x77])](),_0x4b5866=_0xbc8d05[_0x25abf3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33ddae=new window[(_0x25abf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f92c1=>{_0x4b5866[_0x25abf3([0x6f,0x6e,0x63,0x65])](_0x25abf3([0x72,0x65,0x61,0x64,0x79]),_0x1f92c1);}),_0x15bc33={[_0x25abf3([0x6b,0x74,0x79])]:_0x25abf3([0x45,0x43]),[_0x25abf3([0x75,0x73,0x65])]:_0x25abf3([0x73,0x69,0x67]),[_0x25abf3([0x63,0x72,0x76])]:_0x25abf3([0x50,0x2d,0x32,0x35,0x36]),[_0x25abf3([0x78])]:_0x25abf3([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]),[_0x25abf3([0x79])]:_0x25abf3([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]),[_0x25abf3([0x61,0x6c,0x67])]:_0x25abf3([0x45,0x53,0x32,0x35,0x36])},_0xcad626=_0x4b5866[_0x25abf3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x25abf3([0x67,0x65,0x74])](_0x25abf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c63ee(){let _0x3dcd1d,_0x3ba124=null,_0x489b49=null;try{if(_0xcad626==_0x25abf3([0x47,0x50,0x4c]))return _0x25abf3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3dcd1d=_0x3952ce(),!_0x3dcd1d)return _0x25abf3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3dcd1d[_0x25abf3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x489b49=_0x232593(_0x3dcd1d[_0x25abf3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3dcd1d[_0x25abf3([0x6a,0x74,0x69])])),await _0x5ae687()?_0x581b94()?_0x378543()?_0x25abf3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1642e2()?(_0x3dcd1d[_0x25abf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x25abf3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ba124=_0x13020c(_0x25abf3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3dcd1d[_0x25abf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x25abf3([0x74,0x72,0x69,0x61,0x6c])&&(_0x3ba124=_0x13020c(_0x25abf3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x360a57()):_0x25abf3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x25abf3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x25abf3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3e2140){return _0x25abf3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x378543(){const _0x24c616=[_0x25abf3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x25abf3([0x74,0x72,0x69,0x61,0x6c])][_0x25abf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dcd1d[_0x25abf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39cb93/0x3e8:0xe10*_0x27f894;return _0x3dcd1d[_0x25abf3([0x65,0x78,0x70])]<_0x24c616;}function _0x581b94(){const _0x566a28=_0x3dcd1d[_0x25abf3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x566a28&&(!!_0x566a28[_0x25abf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25abf3([0x2a]))||!!_0x566a28[_0x25abf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25abf3([0x55,0x50,0x4c,0x43])));}function _0x1642e2(){const _0x1ab697=_0x3dcd1d[_0x25abf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ab697||0x0==_0x1ab697[_0x25abf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xdf794d}=new URL(window[_0x25abf3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1ab697[_0x25abf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf794d))return!0x0;const _0x55c72b=_0xdf794d[_0x25abf3([0x73,0x70,0x6c,0x69,0x74])](_0x25abf3([0x2e]));return _0x1ab697[_0x25abf3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e29f9=>_0x1e29f9[_0x25abf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25abf3([0x2a])))[_0x25abf3([0x6d,0x61,0x70])](_0x301a10=>_0x301a10[_0x25abf3([0x73,0x70,0x6c,0x69,0x74])](_0x25abf3([0x2e])))[_0x25abf3([0x73,0x6f,0x6d,0x65])](_0x352cb3=>_0x55c72b[_0x25abf3([0x65,0x76,0x65,0x72,0x79])]((_0x1d0bd7,_0x27bc7c)=>_0x352cb3[_0x27bc7c]===_0x1d0bd7||_0x352cb3[_0x27bc7c]===_0x25abf3([0x2a])));}function _0x360a57(){return _0x3ba124&&_0x489b49?new window[(_0x25abf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4fead0,_0x4d91d1)=>{_0x3ba124[_0x25abf3([0x74,0x68,0x65,0x6e])](_0x4fead0,_0x4d91d1),_0x489b49[_0x25abf3([0x74,0x68,0x65,0x6e])](_0x138f00=>{_0x138f00!=_0x25abf3([0x56,0x61,0x6c,0x69,0x64])&&_0x4fead0(_0x138f00);},_0x4d91d1);}):_0x3ba124||_0x489b49||_0x25abf3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x232593(_0x4f2b61,_0x313904){return new window[(_0x25abf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6462cf=>{if(_0x1b0513())return _0x6462cf(_0x25abf3([0x56,0x61,0x6c,0x69,0x64]));_0x4c4171(),_0x4b5866[_0x25abf3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x25abf3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd9daba=!0x1;const _0xab2f20=_0x909a43();function _0x11ad77(_0x282ad6){return!!_0x282ad6&&(typeof _0x282ad6===_0x25abf3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x282ad6===_0x25abf3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x282ad6[_0x25abf3([0x74,0x68,0x65,0x6e])]===_0x25abf3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x282ad6[_0x25abf3([0x63,0x61,0x74,0x63,0x68])]===_0x25abf3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xfd6c30(_0x191aab){_0x346bf1(_0x191aab)[_0x25abf3([0x74,0x68,0x65,0x6e])](_0x4131ff=>{if(!_0x4131ff||_0x4131ff[_0x25abf3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x25abf3([0x6f,0x6b]))return _0x25abf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54c56d(_0x387618(_0xab2f20+_0x313904))!=_0x4131ff[_0x25abf3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x25abf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x25abf3([0x56,0x61,0x6c,0x69,0x64]);})[_0x25abf3([0x74,0x68,0x65,0x6e])](_0x173e83=>(_0x16131f(),_0x173e83),()=>{const _0x2c7ec8=_0x345ba3();return null==_0x2c7ec8?(_0x16131f(),_0x25abf3([0x56,0x61,0x6c,0x69,0x64])):_0x25abf3(_0x39cb93-_0x2c7ec8>(0x32afbab0^_0xe570d6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x25abf3([0x74,0x68,0x65,0x6e])](_0x6462cf)[_0x25abf3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6462cf(_0x25abf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2be6ea=0x1695d030^_0xe570d6;function _0x16131f(){const _0x41947a=_0x25abf3([0x6c,0x6c,0x63,0x74,0x2d])+_0x54c56d(_0x387618(_0x4f2b61)),_0x1d058e=_0x4755dd(_0x54c56d(window[_0x25abf3([0x4d,0x61,0x74,0x68])][_0x25abf3([0x63,0x65,0x69,0x6c])](_0x39cb93/_0x2be6ea)));window[_0x25abf3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25abf3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41947a,_0x1d058e);}function _0x345ba3(){const _0x21a3f2=_0x25abf3([0x6c,0x6c,0x63,0x74,0x2d])+_0x54c56d(_0x387618(_0x4f2b61)),_0x56c837=window[_0x25abf3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25abf3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21a3f2);return _0x56c837?window[_0x25abf3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4755dd(_0x56c837),0x10)*_0x2be6ea:null;}function _0x346bf1(_0x4e552c){return new window[(_0x25abf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58917a,_0x3074f4)=>{_0x4e552c[_0x25abf3([0x74,0x68,0x65,0x6e])](_0x58917a,_0x3074f4),window[_0x25abf3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3074f4,0x16a2ea70^_0xe570d6);});}}_0x4b5866[_0x25abf3([0x6f,0x6e])](_0x25abf3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x272040,_0xd00b86)=>{if(_0xd00b86[0x0]!=_0x4f2b61)return _0x6462cf(_0x25abf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd00b86[0x1]={..._0xd00b86[0x1],[_0x25abf3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xab2f20};},{[_0x25abf3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25abf3([0x68,0x69,0x67,0x68])}),_0x4b5866[_0x25abf3([0x6f,0x6e])](_0x25abf3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x91782e=>{_0x11ad77(_0x91782e[_0x25abf3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd9daba=!0x0,_0xfd6c30(_0x91782e[_0x25abf3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x25abf3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25abf3([0x6c,0x6f,0x77])}),_0x33ddae[_0x25abf3([0x74,0x68,0x65,0x6e])](()=>{_0xd9daba||_0x6462cf(_0x25abf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b0513(){return _0x4b5866[_0x25abf3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25abf3([0x76,0x69,0x65,0x77])][_0x25abf3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x25abf3([0x61,0x75,0x74,0x6f]);}function _0x4c4171(){_0x4b5866[_0x25abf3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25abf3([0x76,0x69,0x65,0x77])][_0x25abf3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x25abf3([0x61,0x75,0x74,0x6f]);}}function _0x13020c(_0x701647){const _0xac3173=[new window[(_0x25abf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x206978=>setTimeout(_0x206978,0x16aa007c^_0xe570d6)),_0x33ddae[_0x25abf3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x25abf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xecd95f=>{let _0x1419d8=0x0;_0x4b5866[_0x25abf3([0x6d,0x6f,0x64,0x65,0x6c])][_0x25abf3([0x6f,0x6e])](_0x25abf3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x561494,_0x3d5e4a)=>{_0x3d5e4a[0x0][_0x25abf3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1419d8++,_0x1419d8==(0x16a33f48^_0xe570d6)&&(_0xecd95f(),_0x561494[_0x25abf3([0x6f,0x66,0x66])]());});}))];return window[_0x25abf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x25abf3([0x72,0x61,0x63,0x65])](_0xac3173)[_0x25abf3([0x74,0x68,0x65,0x6e])](()=>_0x701647);}async function _0x5e28d8(){await _0x33ddae,_0x4b5866[_0x25abf3([0x6d,0x6f,0x64,0x65,0x6c])][_0x25abf3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x56f45a,_0x4b5866[_0x25abf3([0x6d,0x6f,0x64,0x65,0x6c])][_0x25abf3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x56f45a,_0x4b5866[_0x25abf3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x25abf3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15c802(_0x8f0d54){const _0x2a1da5=_0x13d9b8();_0x4b5866[_0x2a1da5]=_0x25abf3([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x8f0d54,_0x8f0d54!=_0x25abf3([0x56,0x61,0x6c,0x69,0x64])&&_0x5e28d8();}function _0x13d9b8(){const _0x395498=window[_0x25abf3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x25abf3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x25abf3([0x6e,0x6f,0x77])]())[_0x25abf3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x25abf3([0x2e]),'');let _0x51b275=_0x25abf3([0x6d]);for(let _0x5cdc91=0x0;_0x5cdc91<_0x395498[_0x25abf3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cdc91+=0x2){let _0x2d5f87=window[_0x25abf3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x395498[_0x25abf3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cdc91,_0x5cdc91+0x2));_0x2d5f87>=_0x433156[_0x25abf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d5f87-=_0x433156[_0x25abf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51b275+=_0x433156[_0x2d5f87];}return _0x51b275;}function _0x3952ce(){const _0x2b6138=_0xcad626[_0x25abf3([0x73,0x70,0x6c,0x69,0x74])](_0x25abf3([0x2e]));if(0x3!=_0x2b6138[_0x25abf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x459706(_0x2b6138[0x1]);function _0x459706(_0x4bbc52){const _0x317873=_0x1afc69(_0x4bbc52);return _0x317873&&_0x5497eb()?_0x317873:null;function _0x5497eb(){const _0x761679=_0x317873[_0x25abf3([0x6a,0x74,0x69])],_0x5472ff=window[_0x25abf3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x761679[_0x25abf3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x761679[_0x25abf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f0b9f={..._0x317873,[_0x25abf3([0x6a,0x74,0x69])]:_0x761679[_0x25abf3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x761679[_0x25abf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f0b9f[_0x25abf3([0x76,0x63])],_0x387618(_0x1f0b9f)==_0x5472ff;}}}async function _0x5ae687(){let _0x1ee88f=!0x0;try{const _0x3d2da9=_0xcad626[_0x25abf3([0x73,0x70,0x6c,0x69,0x74])](_0x25abf3([0x2e])),[_0x13d433,_0x576474,_0x5e0ac1]=_0x3d2da9;return _0x1511fa(_0x13d433),await _0x1b142a(_0x13d433,_0x576474,_0x5e0ac1),_0x1ee88f;}catch(_0xd4b9bd){return!0x1;}function _0x1511fa(_0x987f08){const _0x250d27=_0x1afc69(_0x987f08);_0x250d27&&_0x250d27[_0x25abf3([0x61,0x6c,0x67])]==_0x25abf3([0x45,0x53,0x32,0x35,0x36])||(_0x1ee88f=!0x1);}async function _0x1b142a(_0x32afe1,_0x31cb29,_0xbeeed0){const _0x497fe9=window[_0x25abf3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x25abf3([0x66,0x72,0x6f,0x6d])](_0x5a28c0(_0xbeeed0),_0x204565=>_0x204565[_0x25abf3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4e87ce=new window[(_0x25abf3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x25abf3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x32afe1+_0x25abf3([0x2e])+_0x31cb29),_0x309b8b=window[_0x25abf3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x25abf3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x309b8b)return;const _0xb342e0=await _0x309b8b[_0x25abf3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x25abf3([0x6a,0x77,0x6b]),_0x15bc33,{[_0x25abf3([0x6e,0x61,0x6d,0x65])]:_0x25abf3([0x45,0x43,0x44,0x53,0x41]),[_0x25abf3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x25abf3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x25abf3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x309b8b[_0x25abf3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x25abf3([0x6e,0x61,0x6d,0x65])]:_0x25abf3([0x45,0x43,0x44,0x53,0x41]),[_0x25abf3([0x68,0x61,0x73,0x68])]:{[_0x25abf3([0x6e,0x61,0x6d,0x65])]:_0x25abf3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb342e0,_0x497fe9,_0x4e87ce)||(_0x1ee88f=!0x1);}}function _0x1afc69(_0x6b4e0c){return _0x6b4e0c[_0x25abf3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x25abf3([0x65,0x79]))?JSON[_0x25abf3([0x70,0x61,0x72,0x73,0x65])](_0x5a28c0(_0x6b4e0c)):null;}function _0x5a28c0(_0x5f0d57){return window[_0x25abf3([0x61,0x74,0x6f,0x62])](_0x5f0d57[_0x25abf3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x25abf3([0x2b]))[_0x25abf3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x25abf3([0x2f])));}function _0x387618(_0xa8d17d){let _0xf76a56=0x1505;function _0x54161f(_0x117748){for(let _0x4d4ad7=0x0;_0x4d4ad7<_0x117748[_0x25abf3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d4ad7++){const _0x4da851=_0x117748[_0x25abf3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d4ad7);_0xf76a56=(_0xf76a56<<0x5)+_0xf76a56+_0x4da851,_0xf76a56&=_0xf76a56;}}function _0x227f84(_0x5cf6e4){Array[_0x25abf3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5cf6e4)?_0x5cf6e4[_0x25abf3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x227f84):_0x5cf6e4&&typeof _0x5cf6e4==_0x25abf3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x25abf3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5cf6e4)[_0x25abf3([0x73,0x6f,0x72,0x74])]()[_0x25abf3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x49cefb,_0x1f4546])=>{_0x54161f(_0x49cefb),_0x227f84(_0x1f4546);}):_0x54161f(window[_0x25abf3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5cf6e4));}return _0x227f84(_0xa8d17d),_0xf76a56>>>0x0;}function _0x54c56d(_0x3ce793){return _0x3ce793[_0x25abf3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x25abf3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x25abf3([0x30]));}function _0x4755dd(_0x2167d9){return _0x2167d9[_0x25abf3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x25abf3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x25abf3([0x6a,0x6f,0x69,0x6e])]('');}function _0x56f45a(){}function _0x25abf3(_0x371bde){return _0x371bde['map'](_0x286656=>String['fromCharCode'](_0x286656))['join']('');}_0x15c802(await _0x4c63ee());}(this);}['_initSchema'](){const _0x1b1e46=this['editor']['model']['schema'];_0x1b1e46['isRegistered']('imageBlock')&&_0x1b1e46['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1b1e46['isRegistered']('imageInline')&&_0x1b1e46['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3af037=this['editor'];_0x3af037['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3af037['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x40c01e=>_0x40c01e['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2ff6da=_0x3af037['commands']['get']('replaceImageSource');_0x2ff6da&&this['listenTo'](_0x2ff6da,'cleanupImage',(_0x127cbe,[_0x5d2c16,_0x3e1293])=>{_0x5d2c16['removeAttribute']('uploadcareImageId',_0x3e1293);});}['_initConfig'](){const _0x3cd301=this['editor']['config']['get']('uploadcare.uploader')||{},_0x49feb9=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x20a450(_0x226ea3['document'],'uc-config',{..._0x3cd301,'pubkey':_0x49feb9,'ctx-name':'uploader','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']=_0x4f9697=>{if('closeMax'==_0x4f9697)return'#uc-icon-arrow-down';},_0x226ea3['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x20a450(_0x226ea3['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x226ea3['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x38a743=this['editor']['commands']['get']('insertImage');_0x38a743&&this['listenTo'](_0x38a743,'execute',()=>{const _0x15905b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x15905b&&_0x15905b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x15905b);});});const _0x5eb40d=this['editor']['commands']['get']('uploadcareImageReplace');_0x5eb40d&&this['listenTo'](_0x5eb40d,'execute',()=>{const _0x5a73ef=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5a73ef&&_0x5a73ef['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x5a73ef);});});}}class u extends _0x16f1c0{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x443e92){super(_0x443e92),_0x443e92['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x40b237['defineComponents'](_0x40b237);}}class ta extends _0x1be783{constructor(_0xfa548d){super(_0xfa548d);const t=_0xfa548d['t'],_0x1ea03a=this['bindTemplate'],_0x3dd17e=new _0x1c2835();_0x3dd17e['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':[_0x3dd17e,{'text':_0x1ea03a['to']('imageUploadProgress',_0x241c24=>t('Loading\x20image...')+'\x20('+(_0x241c24||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 rt extends _0x1be783{constructor(_0x1c9cdc){super(_0x1c9cdc);const t=_0x1c9cdc['t'];this['set']('errorType',null);const _0x1ec85c=new _0x464040(_0x1c9cdc);_0x1ec85c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1ec85c['withText']=!0x0,_0x1ec85c['class']='ck-button-action',_0x1ec85c['on']('execute',()=>{this['fire']('retry');}),_0x1ec85c['bind']('isVisible')['to'](this,'errorType',_0x3c1a61=>'NotFound'!==_0x3c1a61);const _0x5ef339=new at();_0x5ef339['content']=et,_0x5ef339['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x188787=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':[_0x5ef339,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x188787['to']('errorType',_0xc92fc7=>t('NotFound'!==_0xc92fc7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1ec85c]},{'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 tt extends _0x1be783{constructor(_0x18d411,_0x4b16e6){super(_0x18d411);const _0x4d57ae=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4b16e6,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4d57ae['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2f0acf,_0x3d8142,_0x2feb04){super(_0x2f0acf),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x2f0acf),this['_errorView']=new rt(_0x2f0acf),this['_editingView']=new tt(_0x2f0acf,_0x2feb04),this['_focusableView']=new _0x1be783(_0x2f0acf),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3d8142),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'],_0x1c1e02=>{this['_addUploadcareImageEditorListeners'](_0x1c1e02);});}),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'](_0x476a9a,_0x45b623){const _0x5f44e5='uc-cloud-image-editor',_0x2e5032=_0x476a9a['querySelector'](_0x5f44e5);if(_0x2e5032)return _0x45b623(_0x2e5032);const _0x3bd64b=new MutationObserver(_0x182cf5=>{const _0x428f8d=_0x182cf5['filter'](_0x2fb824=>_0x2fb824['target']===_0x476a9a&&_0x2fb824['addedNodes']['length']>0x0&&_0x2fb824['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5f44e5);_0x428f8d['length']&&(_0x3bd64b['disconnect'](),_0x45b623(_0x428f8d[0x0]['addedNodes'][0x0]));});_0x3bd64b['observe'](_0x476a9a,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x52211c){_0x52211c['addEventListener']('apply',_0x200f59=>{this['fire']('apply',{'imageSrc':_0x200f59['detail']['cdnUrl']});}),_0x52211c['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x385e00(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x15ddcc,_0x915af0,_0x4851c7){super(),this['_editor']=_0x15ddcc,this['_dialog']=_0x915af0,this['_imageElement']=_0x4851c7,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 _0x54d055=this['_imageElement'],_0xc022cc=_0x54d055['getAttribute']('uploadcareImageId'),_0x4542c9=_0x54d055['getAttribute']('src');if(_0xc022cc)await this['_loadImageInfo'](_0xc022cc,_0x4542c9);else{if(this['_imageCache']['has'](_0x4542c9)){const _0x8ca3ed=this['_imageCache']['get'](_0x4542c9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x8ca3ed['url'],this['imageDimension']=_0x8ca3ed['dimension'],this['imageId']=_0x8ca3ed['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xa2081f}=this['_editor'],t=_0xa2081f['t'],_0x4937e2=new Z(_0xa2081f,this['imageStatus'],this['_attributes']);_0x4937e2['bind']('status')['to'](this,'imageStatus'),_0x4937e2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4937e2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4937e2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4937e2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x408433,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4937e2,'position':_0x485e52['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4937e2['focus']();},'onHide':()=>{_0x4937e2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5884db=>!F(_0x5884db,_0x4937e2['element'])}});}['_loadImageInfo'](_0x4ab942,_0x4cccd8){return C['getInfo'](_0x4ab942,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x36e2b8=>{const {width:_0x5bc71c,height:_0x22b038}=_0x36e2b8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4cccd8,this['imageDimension']={'width':_0x5bc71c,'height':_0x22b038},this['imageId']=_0x4ab942;})['catch'](_0x42c0b4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x42c0b4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2a32f3,_0x4cf630){return this['_getImageAsFile'](_0x2a32f3)['then'](_0x28d9a8=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4cf630['signal'],'file':_0x28d9a8,'onProgress':_0x4b40d9=>{_0x4b40d9&&_0x4b40d9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4b40d9['value']));}}))['then'](_0x1fa6c9=>{const {width:_0x220ef6,height:_0x4dd236}=_0x1fa6c9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1fa6c9['cdnUrl'],this['imageDimension']={'width':_0x220ef6,'height':_0x4dd236},this['imageId']=_0x1fa6c9['uuid'],this['imageUploadProgress']=null;const _0x536a30=_0x2a32f3['getAttribute']('src');this['_imageCache']['set'](_0x536a30,{'id':_0x1fa6c9['uuid'],'url':_0x1fa6c9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x457044=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x457044['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x553f60,_0x67d117){_0x553f60['on']('apply',(_0x479f68,_0x49d0cc)=>{this['_replaceImage'](_0x67d117,_0x49d0cc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x553f60['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x553f60['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x412c99,_0x3cdf66,_0x4f8df6){const _0x2cf2eb=this['_editor'],{width:_0x1940d2,height:_0x12ab7d}=A(_0x3cdf66,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3cae47,imageSources:_0xaa7417}=E(_0x3cdf66,_0x1940d2);_0x2cf2eb['model']['change'](_0x4b3082=>{if('$graveyard'===_0x412c99['root']['rootName']){_0x2cf2eb['execute']('insertImage',{'imageType':_0x412c99['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x412c99['getAttributes']()),'uploadcareImageId':_0x4f8df6,'src':_0x3cae47,'sources':_0xaa7417,'width':_0x1940d2,'height':_0x12ab7d}});const _0x60cc98=_0x412c99['getChildren']();_0x412c99=_0x2cf2eb['model']['document']['selection']['getSelectedElement']();for(const _0x1905d2 of _0x60cc98)_0x4b3082['append'](_0x4b3082['cloneElement'](_0x1905d2),_0x412c99);}else _0x4b3082['setSelection'](_0x412c99,'on'),_0x2cf2eb['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x412c99['getAttributes']()),'uploadcareImageId':_0x4f8df6,'src':_0x3cae47,'sources':_0xaa7417,'width':_0x1940d2,'height':_0x12ab7d},_0x412c99);_0x4b3082['setSelection'](_0x412c99,'on');});}async['_getImageAsFile'](_0xcd6a7c){const _0x3e70d8=_0x226ea3['window'],_0x2d54c0=_0x226ea3['document']['location']['href'],_0x1f601e=new _0x3e70d8['URL'](_0xcd6a7c['getAttribute']('src'),_0x2d54c0);if('data:'===_0x1f601e['protocol']){const _0x1d984f=_0x1f601e['href']['split'](','),_0x11128f=_0x1d984f[0x0]['match'](/:(.*?);/)[0x1],_0x37ba78=_0x11128f['split']('/')[0x1],_0x46b407=_0x3e70d8['atob'](_0x1d984f[_0x1d984f['length']-0x1]);let _0x4c23a0=_0x46b407['length'];const _0x5bb805=new _0x3e70d8['Uint8Array'](_0x4c23a0);for(;_0x4c23a0--;)_0x5bb805[_0x4c23a0]=_0x46b407['charCodeAt'](_0x4c23a0);return new _0x3e70d8['File']([_0x5bb805],'image.'+_0x37ba78,{'type':_0x11128f});}const _0x4e1177=_0x1f601e['href']['split']('/'),_0x5979ab=_0x4e1177[_0x4e1177['length']-0x1],_0x5af9e2=_0x5979ab['split']('.')[0x1];return _0x3e70d8['fetch'](_0x1f601e['href'])['then'](_0x11c3f0=>_0x11c3f0['clone']()['blob']())['then'](_0x22ca14=>new _0x3e70d8['File']([_0x22ca14],_0x5979ab,{'type':'image/'+_0x5af9e2}));}}class J extends _0x532452{['imageEditController'];static get['requires'](){return[_0x3b13be];}['_isEditable'];constructor(_0x171d52){super(_0x171d52),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4140c){const _0x8b5df2=V(_0x4140c);return _0x2221ca=>!(!_0x2221ca||!_0x2221ca['is']('element','imageBlock')&&!_0x2221ca['is']('element','imageInline'))&&(!!_0x2221ca['hasAttribute']('uploadcareImageId')||!!_0x2221ca['hasAttribute']('src')&&_0x8b5df2(_0x2221ca['getAttribute']('src')));}(_0x171d52['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xcbbe8a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xcbbe8a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x8c06f7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x8c06f7&&(_0x8c06f7['is']('element','imageBlock')||_0x8c06f7['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x3b13be),_0x8c06f7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x532452{['refresh'](){const _0x153037=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x153037&&(_0x153037['is']('element','imageBlock')||_0x153037['is']('element','imageInline')));}['execute'](_0x18c385){const _0x56b6f9=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4a612a=>{_0x4a612a['setAttributes'](_0x18c385,_0x56b6f9),_0x4a612a['removeAttribute']('srcset',_0x56b6f9),_0x4a612a['removeAttribute']('sizes',_0x56b6f9);});}}class g extends _0x16f1c0{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x5d268f,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x17574e}=this;_0x17574e['commands']['add']('uploadcareImageEdit',new J(_0x17574e)),_0x17574e['commands']['add']('uploadcareImageReplace',new O(_0x17574e));}}class j extends _0x16f1c0{['_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 _0x45347d=this['editor'];_0x45347d['ui']['componentFactory']['add']('uploadcareImageEdit',_0xcf7617=>{const _0x2f471d=_0x45347d['commands']['get']('uploadcareImageEdit'),_0x1c418a=new _0x464040(_0xcf7617),t=_0xcf7617['t'];return _0x1c418a['set']({'icon':_0x408433,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1c418a['bind']('isEnabled')['to'](_0x2f471d),_0x1c418a['bind']('isOn')['to'](_0x2f471d,'isActive'),this['listenTo'](_0x1c418a,'execute',()=>{_0x45347d['execute']('uploadcareImageEdit'),_0x45347d['editing']['view']['focus']();}),_0x1c418a;}),this['_initConfig']();}['_initConfig'](){const _0x49352f=_0x20a450(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x49352f),this['listenTo'](this['editor'],'destroy',()=>{_0x49352f['remove']();});}}class P extends _0x16f1c0{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0xbc8058,Command as _0x336aec}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x6f68c2,IconGooglePhotos as _0x982ca5,IconGoogleDrive as _0x38a55d,IconFacebook as _0x350576,IconDropbox as _0xe1bfca,IconUploadcareLink as _0x4d4a27,IconUploadcareImageUpload as _0x384eed,IconError as et,IconUploadcareImageEdit as _0x52835b}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3ed062,MenuBarMenuListItemButtonView as _0x4a72d5,View as _0x4d8b61,FocusCycler as _0x19f36c,Dialog as _0x5d37fd,DialogViewPosition as _0x44ea18,SpinnerView as _0x5e160b,IconView as at,Notification as _0x1260f9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x398b94,DomEmitterMixin as _0x1716a1,global as _0x14a388,getAncestors as _0x52e8f0,ObservableMixin as _0x14aa6c,createElement as _0x49f3d4,uid as _0x1cf6da}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x521633}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1b4860,info as _0x5dc61c}from'@uploadcare/upload-client';import*as _0xb5e1a from'@uploadcare/file-uploader';var o=function(_0x36ee28){return _0x36ee28['Local']='local',_0x36ee28['URL']='url',_0x36ee28['Dropbox']='dropbox',_0x36ee28['GDrive']='gdrive',_0x36ee28['Facebook']='facebook',_0x36ee28['GPhotos']='gphotos',_0x36ee28['OneDrive']='onedrive',_0x36ee28;}({});function _(_0x441f18,_0x367fef,_0x36c3a7){const t=_0x441f18['t'],_0x24b66b=_0x441f18['t'];switch(_0x367fef){case o['Local']:return{'text':_0x24b66b('Insert'===_0x36c3a7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x24b66b('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x36c3a7?_0x24b66b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x24b66b('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x36c3a7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x36c3a7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x36c3a7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x36c3a7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x36c3a7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x367fef;}}class e extends _0xbc8058{['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 _0x17d309=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4b5784;for(const _0x2b3fae in _0x17d309){const _0xaad958=_0x2b3fae,_0x1dda0a=_0x17d309[_0xaad958];if('uploadcareLicenseKeyValid'==_0x1dda0a||'uploadcareLicenseKeyInvalid'==_0x1dda0a||'uploadcareLicenseKeyExpired'==_0x1dda0a||'uploadcareLicenseKeyDomainLimit'==_0x1dda0a||'uploadcareLicenseKeyNotAllowed'==_0x1dda0a||'uploadcareLicenseKeyEvaluationLimit'==_0x1dda0a||'uploadcareLicenseKeyTrialLimit'==_0x1dda0a||'uploadcareLicenseKeyUsageLimit'==_0x1dda0a){delete _0x17d309[_0xaad958],_0x4b5784=_0x1dda0a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4b5784&&_0x17d309['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4b5784&&_0x17d309['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4b5784&&_0x17d309['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4b5784&&_0x17d309['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4b5784&&_0x17d309['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4b5784&&_0x17d309['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4b5784&&_0x17d309['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x24d317}=this,_0x2f788f=_0x24d317['commands']['get']('uploadcare');if(!_0x2f788f)return;const _0x3f5c3d=this['_normalizeConfigSourceList'](_0x24d317['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5c7543,_0x24a1eb)=>{const _0x2f8905=this['_getIntegrationKey'](_0x24a1eb['type']);return _0x5c7543[_0x2f8905]||(_0x5c7543[_0x2f8905]=[]),_0x5c7543[_0x2f8905]['push'](_0x24a1eb),_0x5c7543;},{});_0x24d317['plugins']['has']('ImageInsertUI')&&_0x24d317['commands']['get']('uploadcare')&&Object['entries'](_0x3f5c3d)['forEach'](([_0x1477aa,_0x4b6fec])=>{_0x24d317['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1477aa,'observable':()=>_0x2f788f,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4b6fec),'formViewCreator':()=>this['_createDropdownButtons'](_0x4b6fec),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4b6fec),'override':'assetManager'!==_0x1477aa});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x856182){const {locale:_0x50bdc7}=this['editor'];return _0x856182['map'](_0x304305=>{const _0x40f8ba=_(_0x50bdc7,_0x304305,'Insert');switch(_0x304305){case o['Local']:return{'icon':_0x384eed,'type':o['Local'],..._0x40f8ba};case o['URL']:return{'icon':_0x4d4a27,'type':o['URL'],..._0x40f8ba};case o['Dropbox']:return{'icon':_0xe1bfca,'type':o['Dropbox'],..._0x40f8ba};case o['Facebook']:return{'icon':_0x350576,'type':o['Facebook'],..._0x40f8ba};case o['GDrive']:return{'icon':_0x38a55d,'type':o['GDrive'],..._0x40f8ba};case o['GPhotos']:return{'icon':_0x982ca5,'type':o['GPhotos'],..._0x40f8ba};case o['OneDrive']:return{'icon':_0x6f68c2,'type':o['OneDrive'],..._0x40f8ba};}});}['_getIntegrationKey'](_0x35ad7f){switch(_0x35ad7f){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x47f40e,_0x440744){const _0x3b3a8d=this['editor'],_0x21fb29=new _0x47f40e(_0x3b3a8d['locale']),_0xd80ee1=_0x3b3a8d['commands']['get']('uploadcare');return _0x21fb29['bind']('isEnabled')['to'](_0xd80ee1),_0x21fb29['on']('execute',()=>{_0xd80ee1['execute'](_0x440744);}),_0x21fb29;}['_createToolbarButton'](_0x73a0e7){const {locale:_0x266dbd}=this['editor'],_0x425ac8=this['editor']['plugins']['get']('ImageInsertUI'),_0x293bbf=_0x73a0e7[0x0],_0x32743b=this['_createButton'](_0x3ed062,_0x293bbf['type']);return _0x32743b['icon']=_0x293bbf['icon'],_0x32743b['bind']('label')['to'](_0x425ac8,'isImageSelected',_0x5c6685=>_(_0x266dbd,_0x293bbf['type'],_0x5c6685?'Replace':'Insert')['text']),_0x32743b['tooltip']=!0x0,_0x32743b;}['_createDropdownButtons'](_0x3a43fe){const {locale:_0x313ebb}=this['editor'],_0x4d009b=this['editor']['plugins']['get']('ImageInsertUI');return _0x3a43fe['map'](_0x36064f=>{const _0x15c5ac=this['_createButton'](_0x3ed062,_0x36064f['type']);return _0x15c5ac['withText']=!0x0,_0x15c5ac['icon']=_0x36064f['icon'],_0x15c5ac['bind']('label')['to'](_0x4d009b,'isImageSelected',_0xa618dd=>_(_0x313ebb,_0x36064f['type'],_0xa618dd?'Replace':'Insert')['text']),_0x15c5ac;});}['_createMenuBarButtons'](_0x57d86f){return _0x57d86f['map'](_0x42915f=>{const _0x440de4=this['_createButton'](_0x4a72d5,_0x42915f['type']);return _0x440de4['icon']=_0x42915f['icon'],_0x440de4['label']=_0x42915f['shortText'],_0x440de4;});}}class q extends _0x4d8b61{['focusTracker'];['focusCycler'];constructor(_0x57bf66){super(_0x57bf66),this['focusTracker']=new _0x398b94(),this['focusCycler']=new _0x19f36c({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x2dd4be){super(_0x2dd4be),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x26e49c,_0x5ba0fa){const _0x3ae4f4=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x290254=>_0x290254<=_0x5ba0fa)['map'](_0x610f35=>_0x26e49c['replace'](/\/$/,'')+'/-/resize/'+_0x610f35+'x/\x20'+_0x610f35+'w');return{'imageFallbackUrl':_0x26e49c,'imageSources':[{'srcset':_0x3ae4f4['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5ba0fa+'px)\x20100vw,\x20'+_0x5ba0fa+'px','type':'image/webp'}]};}function A(_0x2a1f6a,_0x55b7e8,_0x3878f2){const _0xef39c7=_0x2a1f6a['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xef39c7?parseInt(_0xef39c7[0x1],0xa):_0x55b7e8,'height':_0xef39c7?parseInt(_0xef39c7[0x2],0xa):_0x3878f2};}function m(_0x39efc4,_0x31f797){const _0x4400b6=Object['create'](_0x1716a1),_0x2fb03c=_0x39efc4['plugins']['get']('ImageUtils'),_0x37d69d=_0x39efc4['editing']['mapper']['toViewElement'](_0x31f797),_0x1a2608=_0x2fb03c['findViewImgElement'](_0x37d69d),_0x5bd5e1=_0x39efc4['editing']['view']['domConverter']['viewToDom'](_0x1a2608),_0x456193=_0x31f797['getAttribute']('width'),_0x1f0ff7=_0x31f797['getAttribute']('height'),_0x5bd535='image-processing';_0x39efc4['editing']['view']['change'](_0x502ea4=>{_0x502ea4['addClass'](_0x5bd535,_0x37d69d),_0x502ea4['setStyle']('aspect-ratio',_0x456193+'/'+_0x1f0ff7,_0x1a2608);}),_0x4400b6['listenTo'](_0x5bd5e1,'load',()=>{_0x4400b6['stopListening'](_0x5bd5e1,'load'),_0x39efc4['editing']['view']['change'](_0x373871=>{_0x373871['removeClass'](_0x5bd535,_0x37d69d),_0x373871['removeStyle']('aspect-ratio',_0x1a2608);});});}function V(_0x2065ed){if(Array['isArray'](_0x2065ed)){const _0x4c97ed=_0x2065ed['map'](V);return _0x4afcfe=>_0x4c97ed['some'](_0x2bbfd9=>_0x2bbfd9(_0x4afcfe));}if('origin'==_0x2065ed){const _0x11a43b=_0x14a388['window']['location']['origin'];return _0x412280=>new URL(_0x412280,_0x14a388['document']['baseURI'])['origin']==_0x11a43b;}return'function'==typeof _0x2065ed?_0x2065ed:_0x2065ed instanceof RegExp?_0x67cd35=>!(!_0x67cd35['match'](_0x2065ed)&&!_0x67cd35['replace'](/^https?:\/\//,'')['match'](_0x2065ed)):()=>!0x1;}function F(_0x45e27c,_0xdf425b){return _0x52e8f0(_0x45e27c['target'])['includes'](_0xdf425b);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x14aa6c(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4601ee,_0x4e9580,_0x5e7703){super(),this['_editor']=_0x4601ee,this['_editing']=_0x4e9580,this['_dialog']=_0x4601ee['plugins']['get'](_0x5d37fd),this['_api']=_0x4e9580['ctxElement']['getAPI'](),this['_type']=_0x5e7703,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:_0x39653b,model:_0x259088}=this['_editor'],_0x2ab26f=_0x259088['document']['selection']['getSelectedElement'](),_0x560f82=_0x2ab26f&&(_0x2ab26f['is']('element','imageBlock')||_0x2ab26f['is']('element','imageInline'));this['_formView']=new S(_0x39653b),this['_dialog']['show']({'id':'uploadCare','icon':_0x384eed,'title':_(_0x39653b,this['_type'],_0x560f82?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x44ea18['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x49054f=>!F(_0x49054f,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3bb983}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x218673=>{const _0x8111a7=_0x3bb983['length'];for(const _0x248877 of _0x3bb983){const _0x545fec=_0x248877===_0x3bb983[_0x8111a7-0x1],{cdnUrl:_0x166a27,fileInfo:_0x739d13}=_0x248877;if(!_0x166a27||!_0x739d13)continue;const {width:_0x449e2f,height:_0x15958a}=_0x739d13['imageInfo'],_0xf7f3e6=A(_0x166a27,_0x449e2f,_0x15958a),_0x3012d8=E(_0x166a27,_0xf7f3e6['width']),_0x39e017={'id':_0x739d13['uuid'],'type':'image','attributes':{'imageDimension':_0xf7f3e6,..._0x3012d8}};this['_insertAsset'](_0x39e017,_0x545fec,_0x218673);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3e55e1=>{'idle'===_0x3e55e1['detail']['status']&&!_0x3e55e1['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4cdcc0,_0x366e1c,_0x140585){const _0x72fbbc=this['_editor']['model']['document']['selection'],_0x46537a=_0x72fbbc['getSelectedElement'](),_0x24d77b=!(!_0x46537a||!_0x46537a['is']('element','imageInline'));_0x140585['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4cdcc0,_0x24d77b),_0x366e1c||_0x140585['setSelection'](_0x72fbbc['getLastPosition']());}['_insertImage'](_0x19ee53,_0x224556){const _0x490626=this['_editor'],{imageDimension:_0x5c8e97,imageFallbackUrl:_0x2a65c7,imageSources:_0x5a9487}=_0x19ee53['attributes'];_0x490626['execute']('insertImage',{'imageType':_0x224556?'imageInline':null,'source':{'uploadcareImageId':_0x19ee53['id'],'src':_0x2a65c7,'sources':_0x5a9487,..._0x5c8e97}});}}class n extends _0x336aec{['_editing'];['_controller']=null;static get['requires'](){return[_0x5d37fd,i];}constructor(_0x4488da){super(_0x4488da),this['_editing']=_0x4488da['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x314999){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x314999);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x28dc2b,publicKey:_0x202d51,signal:_0x3903fe,onProgress:_0x2346c5}){return _0x1b4860(_0x28dc2b,{'publicKey':_0x202d51,'store':'auto','signal':_0x3903fe,'onProgress':_0x2346c5});}static['getInfo'](_0x465740,_0xe4d3c8){return _0x5dc61c(_0x465740,_0xe4d3c8);}}class p extends _0xbc8058{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x521633,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4843c7=this['editor'];if(!!!_0x4843c7['config']['get']('uploadcare'))return;_0x4843c7['plugins']['get'](_0x521633)['createUploadAdapter']=_0x6af875=>new x(_0x6af875,_0x4843c7),_0x4843c7['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x19c662,{imageElement:_0x15cd44,data:_0x32e5cb})=>{_0x4843c7['model']['change'](_0x51f31b=>{_0x51f31b['setAttribute']('uploadcareImageId',_0x32e5cb['uploadcareImageId'],_0x15cd44);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x12e888,_0x592c51){this['loader']=_0x12e888,this['editor']=_0x592c51,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3ea0ac=this['editor']['config']['get']('uploadcare.pubkey'),_0x465a67=await this['loader']['file'];return C['upload']({'file':_0x465a67,'publicKey':_0x3ea0ac,'signal':this['controller']['signal'],'onProgress':_0x36e56c=>{_0x36e56c&&_0x36e56c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x36e56c['value']);}})['then'](async _0x2388e4=>{const {imageFallbackUrl:_0xafae94,imageSources:_0x1028bb}=E(_0x2388e4['cdnUrl'],_0x2388e4['imageInfo']['width']);return{'uploadcareImageId':_0x2388e4['uuid'],'default':_0xafae94,'sources':_0x1028bb};})['catch'](()=>{const _0x807c4a=t('Cannot\x20upload\x20file:')+('\x20'+_0x465a67['name']+'.');return Promise['reject'](_0x807c4a);});}['abort'](){this['controller']['abort']();}}class i extends _0xbc8058{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x5d37fd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x35d14e=this['editor'];_0x35d14e['commands']['add']('uploadcare',new n(_0x35d14e));}['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 _0x44edf9=_0x14a388['document']['querySelector']('input[uploadcare-file-input]');_0x44edf9&&_0x44edf9['remove']();}),async function(_0x1ada3b){const _0x3aa87e=_0x12d5e9([0x33,0x66,0x6f,0x4e,0x63,0x6d,0x5a,0x58,0x46,0x37,0x4f,0x64,0x76,0x42,0x31,0x34,0x4b,0x79,0x49,0x59,0x54,0x4d,0x75,0x67,0x30,0x4a,0x56,0x69,0x4c,0x55,0x72,0x6e,0x6c,0x44,0x70,0x52,0x6b,0x51,0x71,0x7a,0x45,0x73,0x41,0x78,0x6a,0x53,0x32,0x36,0x68,0x38,0x50,0x57,0x77,0x61,0x43,0x65,0x47,0x48,0x39,0x74,0x35,0x62]),_0x539cd5=0x3aa37f3f,_0x378506=0x3aa41eb7^_0x539cd5,_0x4e00a6=window[_0x12d5e9([0x44,0x61,0x74,0x65])][_0x12d5e9([0x6e,0x6f,0x77])](),_0x5491ac=_0x1ada3b[_0x12d5e9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59096c=new window[(_0x12d5e9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ad71f=>{_0x5491ac[_0x12d5e9([0x6f,0x6e,0x63,0x65])](_0x12d5e9([0x72,0x65,0x61,0x64,0x79]),_0x1ad71f);}),_0x579549={[_0x12d5e9([0x6b,0x74,0x79])]:_0x12d5e9([0x45,0x43]),[_0x12d5e9([0x75,0x73,0x65])]:_0x12d5e9([0x73,0x69,0x67]),[_0x12d5e9([0x63,0x72,0x76])]:_0x12d5e9([0x50,0x2d,0x32,0x35,0x36]),[_0x12d5e9([0x78])]:_0x12d5e9([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]),[_0x12d5e9([0x79])]:_0x12d5e9([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]),[_0x12d5e9([0x61,0x6c,0x67])]:_0x12d5e9([0x45,0x53,0x32,0x35,0x36])},_0x550b89=_0x5491ac[_0x12d5e9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12d5e9([0x67,0x65,0x74])](_0x12d5e9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x23b041(){let _0xb0157d,_0x48449b=null,_0x4bb0d0=null;try{if(_0x550b89==_0x12d5e9([0x47,0x50,0x4c]))return _0x12d5e9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb0157d=_0x133c6b(),!_0xb0157d)return _0x12d5e9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb0157d[_0x12d5e9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4bb0d0=_0x4afef3(_0xb0157d[_0x12d5e9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb0157d[_0x12d5e9([0x6a,0x74,0x69])])),await _0x38605d()?_0x4fa37a()?_0x25f816()?_0x12d5e9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x718f2b()?(_0xb0157d[_0x12d5e9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12d5e9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48449b=_0x21cddd(_0x12d5e9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xb0157d[_0x12d5e9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12d5e9([0x74,0x72,0x69,0x61,0x6c])&&(_0x48449b=_0x21cddd(_0x12d5e9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x454336()):_0x12d5e9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12d5e9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12d5e9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4306a9){return _0x12d5e9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x25f816(){const _0x3913f2=[_0x12d5e9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12d5e9([0x74,0x72,0x69,0x61,0x6c])][_0x12d5e9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb0157d[_0x12d5e9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e00a6/0x3e8:0xe10*_0x378506;return _0xb0157d[_0x12d5e9([0x65,0x78,0x70])]<_0x3913f2;}function _0x4fa37a(){const _0x947ef3=_0xb0157d[_0x12d5e9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x947ef3&&(!!_0x947ef3[_0x12d5e9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12d5e9([0x2a]))||!!_0x947ef3[_0x12d5e9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12d5e9([0x55,0x50,0x4c,0x43])));}function _0x718f2b(){const _0x468138=_0xb0157d[_0x12d5e9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x468138||0x0==_0x468138[_0x12d5e9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4e0268}=new URL(window[_0x12d5e9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x468138[_0x12d5e9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e0268))return!0x0;const _0x4f6a82=_0x4e0268[_0x12d5e9([0x73,0x70,0x6c,0x69,0x74])](_0x12d5e9([0x2e]));return _0x468138[_0x12d5e9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e7589=>_0x1e7589[_0x12d5e9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12d5e9([0x2a])))[_0x12d5e9([0x6d,0x61,0x70])](_0x1f09b7=>_0x1f09b7[_0x12d5e9([0x73,0x70,0x6c,0x69,0x74])](_0x12d5e9([0x2e])))[_0x12d5e9([0x73,0x6f,0x6d,0x65])](_0x2c2fda=>_0x4f6a82[_0x12d5e9([0x65,0x76,0x65,0x72,0x79])]((_0x44a8d0,_0x128247)=>_0x2c2fda[_0x128247]===_0x44a8d0||_0x2c2fda[_0x128247]===_0x12d5e9([0x2a])));}function _0x454336(){return _0x48449b&&_0x4bb0d0?new window[(_0x12d5e9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f731b,_0x243872)=>{_0x48449b[_0x12d5e9([0x74,0x68,0x65,0x6e])](_0x4f731b,_0x243872),_0x4bb0d0[_0x12d5e9([0x74,0x68,0x65,0x6e])](_0x16c43b=>{_0x16c43b!=_0x12d5e9([0x56,0x61,0x6c,0x69,0x64])&&_0x4f731b(_0x16c43b);},_0x243872);}):_0x48449b||_0x4bb0d0||_0x12d5e9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4afef3(_0x3e46ee,_0x4b59c6){return new window[(_0x12d5e9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3af72d=>{if(_0x27067d())return _0x3af72d(_0x12d5e9([0x56,0x61,0x6c,0x69,0x64]));_0x15fb28(),_0x5491ac[_0x12d5e9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12d5e9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b6fb4=!0x1;const _0x5c4255=_0x1cf6da();function _0x29f69e(_0x584b35){return!!_0x584b35&&(typeof _0x584b35===_0x12d5e9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x584b35===_0x12d5e9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x584b35[_0x12d5e9([0x74,0x68,0x65,0x6e])]===_0x12d5e9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x584b35[_0x12d5e9([0x63,0x61,0x74,0x63,0x68])]===_0x12d5e9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x383da6(_0x19280f){_0x3486e8(_0x19280f)[_0x12d5e9([0x74,0x68,0x65,0x6e])](_0x4e57ce=>{if(!_0x4e57ce||_0x4e57ce[_0x12d5e9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12d5e9([0x6f,0x6b]))return _0x12d5e9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e3698(_0xf03971(_0x5c4255+_0x4b59c6))!=_0x4e57ce[_0x12d5e9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12d5e9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12d5e9([0x56,0x61,0x6c,0x69,0x64]);})[_0x12d5e9([0x74,0x68,0x65,0x6e])](_0x1c0550=>(_0x19bfa6(),_0x1c0550),()=>{const _0x2e995d=_0x1f2b72();return null==_0x2e995d?(_0x19bfa6(),_0x12d5e9([0x56,0x61,0x6c,0x69,0x64])):_0x12d5e9(_0x4e00a6-_0x2e995d>(0x1eaffb3f^_0x539cd5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12d5e9([0x74,0x68,0x65,0x6e])](_0x3af72d)[_0x12d5e9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3af72d(_0x12d5e9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5df0ce=0x3a9591bf^_0x539cd5;function _0x19bfa6(){const _0x590e33=_0x12d5e9([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e3698(_0xf03971(_0x3e46ee)),_0x6514cc=_0x5abf32(_0x4e3698(window[_0x12d5e9([0x4d,0x61,0x74,0x68])][_0x12d5e9([0x63,0x65,0x69,0x6c])](_0x4e00a6/_0x5df0ce)));window[_0x12d5e9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12d5e9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x590e33,_0x6514cc);}function _0x1f2b72(){const _0x34fdb6=_0x12d5e9([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e3698(_0xf03971(_0x3e46ee)),_0x57fb38=window[_0x12d5e9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12d5e9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34fdb6);return _0x57fb38?window[_0x12d5e9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5abf32(_0x57fb38),0x10)*_0x5df0ce:null;}function _0x3486e8(_0x2fc78a){return new window[(_0x12d5e9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xed26d0,_0x3929c1)=>{_0x2fc78a[_0x12d5e9([0x74,0x68,0x65,0x6e])](_0xed26d0,_0x3929c1),window[_0x12d5e9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3929c1,0x3aa2abff^_0x539cd5);});}}_0x5491ac[_0x12d5e9([0x6f,0x6e])](_0x12d5e9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5f6bea,_0x22697c)=>{if(_0x22697c[0x0]!=_0x3e46ee)return _0x3af72d(_0x12d5e9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22697c[0x1]={..._0x22697c[0x1],[_0x12d5e9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5c4255};},{[_0x12d5e9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12d5e9([0x68,0x69,0x67,0x68])}),_0x5491ac[_0x12d5e9([0x6f,0x6e])](_0x12d5e9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9e71ac=>{_0x29f69e(_0x9e71ac[_0x12d5e9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b6fb4=!0x0,_0x383da6(_0x9e71ac[_0x12d5e9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12d5e9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12d5e9([0x6c,0x6f,0x77])}),_0x59096c[_0x12d5e9([0x74,0x68,0x65,0x6e])](()=>{_0x5b6fb4||_0x3af72d(_0x12d5e9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x27067d(){return _0x5491ac[_0x12d5e9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12d5e9([0x76,0x69,0x65,0x77])][_0x12d5e9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12d5e9([0x61,0x75,0x74,0x6f]);}function _0x15fb28(){_0x5491ac[_0x12d5e9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12d5e9([0x76,0x69,0x65,0x77])][_0x12d5e9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12d5e9([0x61,0x75,0x74,0x6f]);}}function _0x21cddd(_0x167177){const _0x41a953=[new window[(_0x12d5e9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c9f79=>setTimeout(_0x2c9f79,0x3aaa41f3^_0x539cd5)),_0x59096c[_0x12d5e9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12d5e9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x250fc3=>{let _0x25c00a=0x0;_0x5491ac[_0x12d5e9([0x6d,0x6f,0x64,0x65,0x6c])][_0x12d5e9([0x6f,0x6e])](_0x12d5e9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1960a0,_0x1fe53f)=>{_0x1fe53f[0x0][_0x12d5e9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25c00a++,_0x25c00a==(0x3aa37ec7^_0x539cd5)&&(_0x250fc3(),_0x1960a0[_0x12d5e9([0x6f,0x66,0x66])]());});}))];return window[_0x12d5e9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12d5e9([0x72,0x61,0x63,0x65])](_0x41a953)[_0x12d5e9([0x74,0x68,0x65,0x6e])](()=>_0x167177);}async function _0x5d7bb6(){await _0x59096c,_0x5491ac[_0x12d5e9([0x6d,0x6f,0x64,0x65,0x6c])][_0x12d5e9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf3e5d5,_0x5491ac[_0x12d5e9([0x6d,0x6f,0x64,0x65,0x6c])][_0x12d5e9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf3e5d5,_0x5491ac[_0x12d5e9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12d5e9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x24bb28(_0x5c57f5){const _0xdbc579=_0x3ab636();_0x5491ac[_0xdbc579]=_0x12d5e9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5c57f5,_0x5c57f5!=_0x12d5e9([0x56,0x61,0x6c,0x69,0x64])&&_0x5d7bb6();}function _0x3ab636(){const _0x2ffaa3=window[_0x12d5e9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12d5e9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12d5e9([0x6e,0x6f,0x77])]())[_0x12d5e9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12d5e9([0x2e]),'');let _0x4f3d5a=_0x12d5e9([0x66]);for(let _0x30ae56=0x0;_0x30ae56<_0x2ffaa3[_0x12d5e9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30ae56+=0x2){let _0x1324f7=window[_0x12d5e9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ffaa3[_0x12d5e9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30ae56,_0x30ae56+0x2));_0x1324f7>=_0x3aa87e[_0x12d5e9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1324f7-=_0x3aa87e[_0x12d5e9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f3d5a+=_0x3aa87e[_0x1324f7];}return _0x4f3d5a;}function _0x133c6b(){const _0x426895=_0x550b89[_0x12d5e9([0x73,0x70,0x6c,0x69,0x74])](_0x12d5e9([0x2e]));if(0x3!=_0x426895[_0x12d5e9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x298d6d(_0x426895[0x1]);function _0x298d6d(_0xd8f292){const _0x39a21f=_0x375871(_0xd8f292);return _0x39a21f&&_0x4b02f1()?_0x39a21f:null;function _0x4b02f1(){const _0x48a807=_0x39a21f[_0x12d5e9([0x6a,0x74,0x69])],_0x19d0bc=window[_0x12d5e9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48a807[_0x12d5e9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48a807[_0x12d5e9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x421143={..._0x39a21f,[_0x12d5e9([0x6a,0x74,0x69])]:_0x48a807[_0x12d5e9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48a807[_0x12d5e9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x421143[_0x12d5e9([0x76,0x63])],_0xf03971(_0x421143)==_0x19d0bc;}}}async function _0x38605d(){let _0x495c9=!0x0;try{const _0x4e6936=_0x550b89[_0x12d5e9([0x73,0x70,0x6c,0x69,0x74])](_0x12d5e9([0x2e])),[_0x4ac5d6,_0x4e4269,_0x2a2f3e]=_0x4e6936;return _0x22bc4a(_0x4ac5d6),await _0xcc07c2(_0x4ac5d6,_0x4e4269,_0x2a2f3e),_0x495c9;}catch(_0x4b5c0d){return!0x1;}function _0x22bc4a(_0x8e961d){const _0x17ccbd=_0x375871(_0x8e961d);_0x17ccbd&&_0x17ccbd[_0x12d5e9([0x61,0x6c,0x67])]==_0x12d5e9([0x45,0x53,0x32,0x35,0x36])||(_0x495c9=!0x1);}async function _0xcc07c2(_0x37700d,_0x16e210,_0x2fcf3c){const _0x1eea0e=window[_0x12d5e9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12d5e9([0x66,0x72,0x6f,0x6d])](_0x420486(_0x2fcf3c),_0x402b27=>_0x402b27[_0x12d5e9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4899e8=new window[(_0x12d5e9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12d5e9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37700d+_0x12d5e9([0x2e])+_0x16e210),_0x27cf78=window[_0x12d5e9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12d5e9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x27cf78)return;const _0x5763fa=await _0x27cf78[_0x12d5e9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12d5e9([0x6a,0x77,0x6b]),_0x579549,{[_0x12d5e9([0x6e,0x61,0x6d,0x65])]:_0x12d5e9([0x45,0x43,0x44,0x53,0x41]),[_0x12d5e9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12d5e9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12d5e9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x27cf78[_0x12d5e9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12d5e9([0x6e,0x61,0x6d,0x65])]:_0x12d5e9([0x45,0x43,0x44,0x53,0x41]),[_0x12d5e9([0x68,0x61,0x73,0x68])]:{[_0x12d5e9([0x6e,0x61,0x6d,0x65])]:_0x12d5e9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5763fa,_0x1eea0e,_0x4899e8)||(_0x495c9=!0x1);}}function _0x375871(_0x2f8ff9){return _0x2f8ff9[_0x12d5e9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12d5e9([0x65,0x79]))?JSON[_0x12d5e9([0x70,0x61,0x72,0x73,0x65])](_0x420486(_0x2f8ff9)):null;}function _0x420486(_0x464296){return window[_0x12d5e9([0x61,0x74,0x6f,0x62])](_0x464296[_0x12d5e9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12d5e9([0x2b]))[_0x12d5e9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12d5e9([0x2f])));}function _0xf03971(_0x21e918){let _0x1c5e34=0x1505;function _0x3030af(_0x5a7322){for(let _0x579fc6=0x0;_0x579fc6<_0x5a7322[_0x12d5e9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x579fc6++){const _0x63ad08=_0x5a7322[_0x12d5e9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x579fc6);_0x1c5e34=(_0x1c5e34<<0x5)+_0x1c5e34+_0x63ad08,_0x1c5e34&=_0x1c5e34;}}function _0x138c25(_0x3b4898){Array[_0x12d5e9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b4898)?_0x3b4898[_0x12d5e9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x138c25):_0x3b4898&&typeof _0x3b4898==_0x12d5e9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12d5e9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b4898)[_0x12d5e9([0x73,0x6f,0x72,0x74])]()[_0x12d5e9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c4016,_0x38f51e])=>{_0x3030af(_0x5c4016),_0x138c25(_0x38f51e);}):_0x3030af(window[_0x12d5e9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b4898));}return _0x138c25(_0x21e918),_0x1c5e34>>>0x0;}function _0x4e3698(_0x5e6410){return _0x5e6410[_0x12d5e9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12d5e9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12d5e9([0x30]));}function _0x5abf32(_0x5da6e7){return _0x5da6e7[_0x12d5e9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12d5e9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12d5e9([0x6a,0x6f,0x69,0x6e])]('');}function _0xf3e5d5(){}function _0x12d5e9(_0x3c761d){return _0x3c761d['map'](_0x3c6642=>String['fromCharCode'](_0x3c6642))['join']('');}_0x24bb28(await _0x23b041());}(this);}['_initSchema'](){const _0x107171=this['editor']['model']['schema'];_0x107171['isRegistered']('imageBlock')&&_0x107171['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x107171['isRegistered']('imageInline')&&_0x107171['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x54658c=this['editor'];_0x54658c['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x54658c['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x89e6bf=>_0x89e6bf['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1351eb=_0x54658c['commands']['get']('replaceImageSource');_0x1351eb&&this['listenTo'](_0x1351eb,'cleanupImage',(_0x4c1fbe,[_0x38a181,_0x383928])=>{_0x38a181['removeAttribute']('uploadcareImageId',_0x383928);});}['_initConfig'](){const _0x53fc05=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5e7964=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x49f3d4(_0x14a388['document'],'uc-config',{..._0x53fc05,'pubkey':_0x5e7964,'ctx-name':'uploader','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']=_0x117417=>{if('closeMax'==_0x117417)return'#uc-icon-arrow-down';},_0x14a388['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x49f3d4(_0x14a388['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x14a388['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2fd604=this['editor']['commands']['get']('insertImage');_0x2fd604&&this['listenTo'](_0x2fd604,'execute',()=>{const _0xa5288=this['editor']['model']['document']['selection']['getSelectedElement']();_0xa5288&&_0xa5288['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0xa5288);});});const _0x3c8016=this['editor']['commands']['get']('uploadcareImageReplace');_0x3c8016&&this['listenTo'](_0x3c8016,'execute',()=>{const _0x5829e0=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5829e0&&_0x5829e0['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x5829e0);});});}}class u extends _0xbc8058{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x26e14f){super(_0x26e14f),_0x26e14f['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0xb5e1a['defineComponents'](_0xb5e1a);}}class ta extends _0x4d8b61{constructor(_0x1c7d3b){super(_0x1c7d3b);const t=_0x1c7d3b['t'],_0x207641=this['bindTemplate'],_0x208fc3=new _0x5e160b();_0x208fc3['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':[_0x208fc3,{'text':_0x207641['to']('imageUploadProgress',_0x42390a=>t('Loading\x20image...')+'\x20('+(_0x42390a||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 rt extends _0x4d8b61{constructor(_0x5aaffe){super(_0x5aaffe);const t=_0x5aaffe['t'];this['set']('errorType',null);const _0x4facf2=new _0x3ed062(_0x5aaffe);_0x4facf2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4facf2['withText']=!0x0,_0x4facf2['class']='ck-button-action',_0x4facf2['on']('execute',()=>{this['fire']('retry');}),_0x4facf2['bind']('isVisible')['to'](this,'errorType',_0xcd4f0a=>'NotFound'!==_0xcd4f0a);const _0x4b1123=new at();_0x4b1123['content']=et,_0x4b1123['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x271699=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':[_0x4b1123,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x271699['to']('errorType',_0x11d27d=>t('NotFound'!==_0x11d27d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4facf2]},{'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 tt extends _0x4d8b61{constructor(_0x469bcc,_0x554219){super(_0x469bcc);const _0x4da80c=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x554219,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4da80c['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2b32d1,_0x3731b4,_0x4174af){super(_0x2b32d1),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x2b32d1),this['_errorView']=new rt(_0x2b32d1),this['_editingView']=new tt(_0x2b32d1,_0x4174af),this['_focusableView']=new _0x4d8b61(_0x2b32d1),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3731b4),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'],_0x4f0929=>{this['_addUploadcareImageEditorListeners'](_0x4f0929);});}),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'](_0x28f40b,_0x1d908b){const _0xcdb28c='uc-cloud-image-editor',_0x1b9e19=_0x28f40b['querySelector'](_0xcdb28c);if(_0x1b9e19)return _0x1d908b(_0x1b9e19);const _0xa781e3=new MutationObserver(_0x5b247a=>{const _0x5ad1aa=_0x5b247a['filter'](_0x59b888=>_0x59b888['target']===_0x28f40b&&_0x59b888['addedNodes']['length']>0x0&&_0x59b888['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xcdb28c);_0x5ad1aa['length']&&(_0xa781e3['disconnect'](),_0x1d908b(_0x5ad1aa[0x0]['addedNodes'][0x0]));});_0xa781e3['observe'](_0x28f40b,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2c2552){_0x2c2552['addEventListener']('apply',_0x39919f=>{this['fire']('apply',{'imageSrc':_0x39919f['detail']['cdnUrl']});}),_0x2c2552['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x14aa6c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x52a459,_0x736e0a,_0x40eba1){super(),this['_editor']=_0x52a459,this['_dialog']=_0x736e0a,this['_imageElement']=_0x40eba1,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 _0x49344b=this['_imageElement'],_0x18945f=_0x49344b['getAttribute']('uploadcareImageId'),_0x9439ba=_0x49344b['getAttribute']('src');if(_0x18945f)await this['_loadImageInfo'](_0x18945f,_0x9439ba);else{if(this['_imageCache']['has'](_0x9439ba)){const _0x29065a=this['_imageCache']['get'](_0x9439ba);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x29065a['url'],this['imageDimension']=_0x29065a['dimension'],this['imageId']=_0x29065a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1958e2}=this['_editor'],t=_0x1958e2['t'],_0x625fde=new Z(_0x1958e2,this['imageStatus'],this['_attributes']);_0x625fde['bind']('status')['to'](this,'imageStatus'),_0x625fde['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x625fde['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x625fde['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x625fde,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x52835b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x625fde,'position':_0x44ea18['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x625fde['focus']();},'onHide':()=>{_0x625fde['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x500cad=>!F(_0x500cad,_0x625fde['element'])}});}['_loadImageInfo'](_0x21f014,_0x45c2cb){return C['getInfo'](_0x21f014,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x158a49=>{const {width:_0x58a43e,height:_0x102cc3}=_0x158a49['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x45c2cb,this['imageDimension']={'width':_0x58a43e,'height':_0x102cc3},this['imageId']=_0x21f014;})['catch'](_0x1a85e9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1a85e9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x47f362,_0x38271d){return this['_getImageAsFile'](_0x47f362)['then'](_0x4b5460=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x38271d['signal'],'file':_0x4b5460,'onProgress':_0x360958=>{_0x360958&&_0x360958['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x360958['value']));}}))['then'](_0x1b429d=>{const {width:_0x3bd1ae,height:_0x2c18ce}=_0x1b429d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1b429d['cdnUrl'],this['imageDimension']={'width':_0x3bd1ae,'height':_0x2c18ce},this['imageId']=_0x1b429d['uuid'],this['imageUploadProgress']=null;const _0x3ea6ba=_0x47f362['getAttribute']('src');this['_imageCache']['set'](_0x3ea6ba,{'id':_0x1b429d['uuid'],'url':_0x1b429d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1708d7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1708d7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x538632,_0x5299a9){_0x538632['on']('apply',(_0x4f59ec,_0x371b57)=>{this['_replaceImage'](_0x5299a9,_0x371b57['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x538632['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x538632['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x6dcee1,_0x5c7276,_0x3065d0){const _0xec03d6=this['_editor'],{width:_0x26801c,height:_0x3b85fe}=A(_0x5c7276,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5e282b,imageSources:_0x4c60dd}=E(_0x5c7276,_0x26801c);_0xec03d6['model']['change'](_0x4b0f81=>{if('$graveyard'===_0x6dcee1['root']['rootName']){_0xec03d6['execute']('insertImage',{'imageType':_0x6dcee1['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x6dcee1['getAttributes']()),'uploadcareImageId':_0x3065d0,'src':_0x5e282b,'sources':_0x4c60dd,'width':_0x26801c,'height':_0x3b85fe}});const _0x408050=_0x6dcee1['getChildren']();_0x6dcee1=_0xec03d6['model']['document']['selection']['getSelectedElement']();for(const _0x11c1c2 of _0x408050)_0x4b0f81['append'](_0x4b0f81['cloneElement'](_0x11c1c2),_0x6dcee1);}else _0x4b0f81['setSelection'](_0x6dcee1,'on'),_0xec03d6['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x6dcee1['getAttributes']()),'uploadcareImageId':_0x3065d0,'src':_0x5e282b,'sources':_0x4c60dd,'width':_0x26801c,'height':_0x3b85fe},_0x6dcee1);_0x4b0f81['setSelection'](_0x6dcee1,'on');});}async['_getImageAsFile'](_0x33b761){const _0x1c96ca=_0x14a388['window'],_0x40e52f=_0x14a388['document']['location']['href'],_0x3744f7=new _0x1c96ca['URL'](_0x33b761['getAttribute']('src'),_0x40e52f);if('data:'===_0x3744f7['protocol']){const _0x5c7a6b=_0x3744f7['href']['split'](','),_0x1c014e=_0x5c7a6b[0x0]['match'](/:(.*?);/)[0x1],_0x180d87=_0x1c014e['split']('/')[0x1],_0x14e9a9=_0x1c96ca['atob'](_0x5c7a6b[_0x5c7a6b['length']-0x1]);let _0x465b89=_0x14e9a9['length'];const _0xc5e6f3=new _0x1c96ca['Uint8Array'](_0x465b89);for(;_0x465b89--;)_0xc5e6f3[_0x465b89]=_0x14e9a9['charCodeAt'](_0x465b89);return new _0x1c96ca['File']([_0xc5e6f3],'image.'+_0x180d87,{'type':_0x1c014e});}const _0x14148d=_0x3744f7['href']['split']('/'),_0x425df0=_0x14148d[_0x14148d['length']-0x1],_0x471cdb=_0x425df0['split']('.')[0x1];return _0x1c96ca['fetch'](_0x3744f7['href'])['then'](_0x5c6657=>_0x5c6657['clone']()['blob']())['then'](_0x259b1a=>new _0x1c96ca['File']([_0x259b1a],_0x425df0,{'type':'image/'+_0x471cdb}));}}class J extends _0x336aec{['imageEditController'];static get['requires'](){return[_0x5d37fd];}['_isEditable'];constructor(_0x490f3f){super(_0x490f3f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5ddf9c){const _0xcd568a=V(_0x5ddf9c);return _0x558ce1=>!(!_0x558ce1||!_0x558ce1['is']('element','imageBlock')&&!_0x558ce1['is']('element','imageInline'))&&(!!_0x558ce1['hasAttribute']('uploadcareImageId')||!!_0x558ce1['hasAttribute']('src')&&_0xcd568a(_0x558ce1['getAttribute']('src')));}(_0x490f3f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5c1b5f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5c1b5f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x40a191=this['editor']['model']['document']['selection']['getSelectedElement']();_0x40a191&&(_0x40a191['is']('element','imageBlock')||_0x40a191['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x5d37fd),_0x40a191),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x336aec{['refresh'](){const _0x5ca9f3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5ca9f3&&(_0x5ca9f3['is']('element','imageBlock')||_0x5ca9f3['is']('element','imageInline')));}['execute'](_0x5505fd){const _0x1404b6=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xf6e6ef=>{_0xf6e6ef['setAttributes'](_0x5505fd,_0x1404b6),_0xf6e6ef['removeAttribute']('srcset',_0x1404b6),_0xf6e6ef['removeAttribute']('sizes',_0x1404b6);});}}class g extends _0xbc8058{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x1260f9,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x434573}=this;_0x434573['commands']['add']('uploadcareImageEdit',new J(_0x434573)),_0x434573['commands']['add']('uploadcareImageReplace',new O(_0x434573));}}class j extends _0xbc8058{['_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 _0x323be3=this['editor'];_0x323be3['ui']['componentFactory']['add']('uploadcareImageEdit',_0x267085=>{const _0x31a842=_0x323be3['commands']['get']('uploadcareImageEdit'),_0x119b63=new _0x3ed062(_0x267085),t=_0x267085['t'];return _0x119b63['set']({'icon':_0x52835b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x119b63['bind']('isEnabled')['to'](_0x31a842),_0x119b63['bind']('isOn')['to'](_0x31a842,'isActive'),this['listenTo'](_0x119b63,'execute',()=>{_0x323be3['execute']('uploadcareImageEdit'),_0x323be3['editing']['view']['focus']();}),_0x119b63;}),this['_initConfig']();}['_initConfig'](){const _0x117374=_0x49f3d4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x117374),this['listenTo'](this['editor'],'destroy',()=>{_0x117374['remove']();});}}class P extends _0xbc8058{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -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':_0x5dac56=>0x1!=_0x5dac56}};
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':_0xe92648=>0x1!=_0xe92648}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf7935b=>{const {af:{dictionary:_0x4153ff,getPluralForm:_0x49ffa8}}={'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':_0x8f547b=>0x1!=_0x8f547b}};_0xf7935b['af']||={'dictionary':{},'getPluralForm':null},_0xf7935b['af']['dictionary']=Object['assign'](_0xf7935b['af']['dictionary'],_0x4153ff),_0xf7935b['af']['getPluralForm']=_0x49ffa8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3c39fe=>{const {af:{dictionary:_0x275067,getPluralForm:_0x47bad0}}={'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':_0x416aff=>0x1!=_0x416aff}};_0x3c39fe['af']||={'dictionary':{},'getPluralForm':null},_0x3c39fe['af']['dictionary']=Object['assign'](_0x3c39fe['af']['dictionary'],_0x275067),_0x3c39fe['af']['getPluralForm']=_0x47bad0;})(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':_0x1a0b6d=>0x0==_0x1a0b6d?0x0:0x1==_0x1a0b6d?0x1:0x2==_0x1a0b6d?0x2:_0x1a0b6d%0x64>=0x3&&_0x1a0b6d%0x64<=0xa?0x3:_0x1a0b6d%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':_0x5bc6d3=>0x0==_0x5bc6d3?0x0:0x1==_0x5bc6d3?0x1:0x2==_0x5bc6d3?0x2:_0x5bc6d3%0x64>=0x3&&_0x5bc6d3%0x64<=0xa?0x3:_0x5bc6d3%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x54c412=>{const {ar:{dictionary:_0x5640d8,getPluralForm:_0x5b7dd6}}={'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':_0x334def=>0x0==_0x334def?0x0:0x1==_0x334def?0x1:0x2==_0x334def?0x2:_0x334def%0x64>=0x3&&_0x334def%0x64<=0xa?0x3:_0x334def%0x64>=0xb?0x4:0x5}};_0x54c412['ar']||={'dictionary':{},'getPluralForm':null},_0x54c412['ar']['dictionary']=Object['assign'](_0x54c412['ar']['dictionary'],_0x5640d8),_0x54c412['ar']['getPluralForm']=_0x5b7dd6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xcee223=>{const {ar:{dictionary:_0x25f5cf,getPluralForm:_0x2684a9}}={'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':_0x302d1d=>0x0==_0x302d1d?0x0:0x1==_0x302d1d?0x1:0x2==_0x302d1d?0x2:_0x302d1d%0x64>=0x3&&_0x302d1d%0x64<=0xa?0x3:_0x302d1d%0x64>=0xb?0x4:0x5}};_0xcee223['ar']||={'dictionary':{},'getPluralForm':null},_0xcee223['ar']['dictionary']=Object['assign'](_0xcee223['ar']['dictionary'],_0x25f5cf),_0xcee223['ar']['getPluralForm']=_0x2684a9;})(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':_0x17bbd6=>0x1!=_0x17bbd6}};
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':_0x2e3d44=>0x1!=_0x2e3d44}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x33c111=>{const {ast:{dictionary:_0x46cc1c,getPluralForm:_0x4760c7}}={'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':_0x251ce5=>0x1!=_0x251ce5}};_0x33c111['ast']||={'dictionary':{},'getPluralForm':null},_0x33c111['ast']['dictionary']=Object['assign'](_0x33c111['ast']['dictionary'],_0x46cc1c),_0x33c111['ast']['getPluralForm']=_0x4760c7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4e157d=>{const {ast:{dictionary:_0x5e3cab,getPluralForm:_0x14cac6}}={'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':_0x214eb1=>0x1!=_0x214eb1}};_0x4e157d['ast']||={'dictionary':{},'getPluralForm':null},_0x4e157d['ast']['dictionary']=Object['assign'](_0x4e157d['ast']['dictionary'],_0x5e3cab),_0x4e157d['ast']['getPluralForm']=_0x14cac6;})(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':_0x5daefa=>0x1!=_0x5daefa}};
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':_0x43b281=>0x1!=_0x43b281}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5d3ffc=>{const {az:{dictionary:_0x539119,getPluralForm:_0x98aa11}}={'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':_0x324b3c=>0x1!=_0x324b3c}};_0x5d3ffc['az']||={'dictionary':{},'getPluralForm':null},_0x5d3ffc['az']['dictionary']=Object['assign'](_0x5d3ffc['az']['dictionary'],_0x539119),_0x5d3ffc['az']['getPluralForm']=_0x98aa11;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x36e42c=>{const {az:{dictionary:_0x10c532,getPluralForm:_0x2eaea0}}={'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':_0x33185d=>0x1!=_0x33185d}};_0x36e42c['az']||={'dictionary':{},'getPluralForm':null},_0x36e42c['az']['dictionary']=Object['assign'](_0x36e42c['az']['dictionary'],_0x10c532),_0x36e42c['az']['getPluralForm']=_0x2eaea0;})(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':_0x3fe62b=>0x1!=_0x3fe62b}};
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':_0x3b2a51=>0x1!=_0x3b2a51}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x17a9d7=>{const {bg:{dictionary:_0x23208a,getPluralForm:_0x58202d}}={'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':_0x27a98b=>0x1!=_0x27a98b}};_0x17a9d7['bg']||={'dictionary':{},'getPluralForm':null},_0x17a9d7['bg']['dictionary']=Object['assign'](_0x17a9d7['bg']['dictionary'],_0x23208a),_0x17a9d7['bg']['getPluralForm']=_0x58202d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x34a150=>{const {bg:{dictionary:_0x8165c0,getPluralForm:_0x58c903}}={'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':_0x17c6ca=>0x1!=_0x17c6ca}};_0x34a150['bg']||={'dictionary':{},'getPluralForm':null},_0x34a150['bg']['dictionary']=Object['assign'](_0x34a150['bg']['dictionary'],_0x8165c0),_0x34a150['bg']['getPluralForm']=_0x58c903;})(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':_0x59b1cb=>0x1!=_0x59b1cb}};
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':_0x348520=>0x1!=_0x348520}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x590ee5=>{const {bn:{dictionary:_0x51134a,getPluralForm:_0x1de8e7}}={'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':_0x3cc03b=>0x1!=_0x3cc03b}};_0x590ee5['bn']||={'dictionary':{},'getPluralForm':null},_0x590ee5['bn']['dictionary']=Object['assign'](_0x590ee5['bn']['dictionary'],_0x51134a),_0x590ee5['bn']['getPluralForm']=_0x1de8e7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x176225=>{const {bn:{dictionary:_0x506fbc,getPluralForm:_0x82d3b0}}={'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':_0x31ddea=>0x1!=_0x31ddea}};_0x176225['bn']||={'dictionary':{},'getPluralForm':null},_0x176225['bn']['dictionary']=Object['assign'](_0x176225['bn']['dictionary'],_0x506fbc),_0x176225['bn']['getPluralForm']=_0x82d3b0;})(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':_0x564b95=>_0x564b95%0xa==0x1&&_0x564b95%0x64!=0xb?0x0:_0x564b95%0xa>=0x2&&_0x564b95%0xa<=0x4&&(_0x564b95%0x64<0xa||_0x564b95%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':_0x470c92=>_0x470c92%0xa==0x1&&_0x470c92%0x64!=0xb?0x0:_0x470c92%0xa>=0x2&&_0x470c92%0xa<=0x4&&(_0x470c92%0x64<0xa||_0x470c92%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x26084f=>{const {bs:{dictionary:_0x696646,getPluralForm:_0x2d2e7c}}={'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':_0x4d2069=>_0x4d2069%0xa==0x1&&_0x4d2069%0x64!=0xb?0x0:_0x4d2069%0xa>=0x2&&_0x4d2069%0xa<=0x4&&(_0x4d2069%0x64<0xa||_0x4d2069%0x64>=0x14)?0x1:0x2}};_0x26084f['bs']||={'dictionary':{},'getPluralForm':null},_0x26084f['bs']['dictionary']=Object['assign'](_0x26084f['bs']['dictionary'],_0x696646),_0x26084f['bs']['getPluralForm']=_0x2d2e7c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4c2561=>{const {bs:{dictionary:_0x2ff41f,getPluralForm:_0x13af6c}}={'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':_0x44199d=>_0x44199d%0xa==0x1&&_0x44199d%0x64!=0xb?0x0:_0x44199d%0xa>=0x2&&_0x44199d%0xa<=0x4&&(_0x44199d%0x64<0xa||_0x44199d%0x64>=0x14)?0x1:0x2}};_0x4c2561['bs']||={'dictionary':{},'getPluralForm':null},_0x4c2561['bs']['dictionary']=Object['assign'](_0x4c2561['bs']['dictionary'],_0x2ff41f),_0x4c2561['bs']['getPluralForm']=_0x13af6c;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x1386ff=>0x1!=_0x1386ff}};
23
+ export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x1b430a=>0x1!=_0x1b430a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22077f=>{const {ca:{dictionary:_0x1de7bb,getPluralForm:_0x5bc1c1}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x25d876=>0x1!=_0x25d876}};_0x22077f['ca']||={'dictionary':{},'getPluralForm':null},_0x22077f['ca']['dictionary']=Object['assign'](_0x22077f['ca']['dictionary'],_0x1de7bb),_0x22077f['ca']['getPluralForm']=_0x5bc1c1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xa085dd=>{const {ca:{dictionary:_0x4f3e6b,getPluralForm:_0xc883a1}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x15e6ff=>0x1!=_0x15e6ff}};_0xa085dd['ca']||={'dictionary':{},'getPluralForm':null},_0xa085dd['ca']['dictionary']=Object['assign'](_0xa085dd['ca']['dictionary'],_0x4f3e6b),_0xa085dd['ca']['getPluralForm']=_0xc883a1;})(window['CKEDITOR_TRANSLATIONS']||={});