@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250326.0 → 0.0.0-nightly-20250326.2

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 _0x6be8e9,Command as _0x467e0d}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x48a1e4,IconGooglePhotos as _0x3b52db,IconGoogleDrive as _0x4d72ee,IconFacebook as _0x4aa119,IconDropbox as _0x4a0e82,IconUploadcareLink as _0x22a498,IconUploadcareImageUpload as _0x4dea85,IconError as et,IconUploadcareImageEdit as _0x5a1234}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x295ee8,MenuBarMenuListItemButtonView as _0x2ed04b,View as _0x32bb23,FocusCycler as _0x2346d2,Dialog as _0x20b547,DialogViewPosition as _0x2a79c8,SpinnerView as _0x53aca3,IconView as at,Notification as _0x16c1e5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xf01cf4,DomEmitterMixin as _0x5c4b4f,global as _0x30aaf7,getAncestors as _0xef6074,ObservableMixin as _0x3d2fbe,createElement as _0x3a1da0,uid as _0x12920a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3c95e8}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x809282,info as _0x137c11}from'@uploadcare/upload-client';import*as _0x3aa22e from'@uploadcare/file-uploader';var o=function(_0xb8febf){return _0xb8febf['Local']='local',_0xb8febf['URL']='url',_0xb8febf['Dropbox']='dropbox',_0xb8febf['GDrive']='gdrive',_0xb8febf['Facebook']='facebook',_0xb8febf['GPhotos']='gphotos',_0xb8febf['OneDrive']='onedrive',_0xb8febf;}({});function _(_0xe7c2a7,_0x23131a,_0x19ddd9){const t=_0xe7c2a7['t'],_0x3f2d04=_0xe7c2a7['t'];switch(_0x23131a){case o['Local']:return{'text':_0x3f2d04('Insert'===_0x19ddd9?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3f2d04('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x19ddd9?_0x3f2d04('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3f2d04('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x19ddd9?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x19ddd9?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x19ddd9?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x19ddd9?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x19ddd9?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x23131a;}}class e extends _0x6be8e9{['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 _0x3a5eb8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x154559;for(const _0x1ee715 in _0x3a5eb8){const _0x45ff54=_0x1ee715,_0x188c65=_0x3a5eb8[_0x45ff54];if('uploadcareLicenseKeyValid'==_0x188c65||'uploadcareLicenseKeyInvalid'==_0x188c65||'uploadcareLicenseKeyExpired'==_0x188c65||'uploadcareLicenseKeyDomainLimit'==_0x188c65||'uploadcareLicenseKeyNotAllowed'==_0x188c65||'uploadcareLicenseKeyEvaluationLimit'==_0x188c65||'uploadcareLicenseKeyTrialLimit'==_0x188c65||'uploadcareLicenseKeyUsageLimit'==_0x188c65){delete _0x3a5eb8[_0x45ff54],_0x154559=_0x188c65,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x154559&&_0x3a5eb8['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x154559&&_0x3a5eb8['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x154559&&_0x3a5eb8['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x154559&&_0x3a5eb8['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x154559&&_0x3a5eb8['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x154559&&_0x3a5eb8['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x154559&&_0x3a5eb8['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4c1a2a}=this,_0x3b3e81=_0x4c1a2a['commands']['get']('uploadcare');if(!_0x3b3e81)return;const _0x26df2b=this['_normalizeConfigSourceList'](_0x4c1a2a['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x10c5b2,_0xc65b58)=>{const _0x4b3be5=this['_getIntegrationKey'](_0xc65b58['type']);return _0x10c5b2[_0x4b3be5]||(_0x10c5b2[_0x4b3be5]=[]),_0x10c5b2[_0x4b3be5]['push'](_0xc65b58),_0x10c5b2;},{});_0x4c1a2a['plugins']['has']('ImageInsertUI')&&_0x4c1a2a['commands']['get']('uploadcare')&&Object['entries'](_0x26df2b)['forEach'](([_0x155cf3,_0x46f049])=>{_0x4c1a2a['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x155cf3,'observable':()=>_0x3b3e81,'buttonViewCreator':()=>this['_createToolbarButton'](_0x46f049),'formViewCreator':()=>this['_createDropdownButtons'](_0x46f049),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x46f049),'override':'assetManager'!==_0x155cf3});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1e97a2){const {locale:_0x14d3fe}=this['editor'];return _0x1e97a2['map'](_0x2e45f9=>{const _0x6d99d1=_(_0x14d3fe,_0x2e45f9,'Insert');switch(_0x2e45f9){case o['Local']:return{'icon':_0x4dea85,'type':o['Local'],..._0x6d99d1};case o['URL']:return{'icon':_0x22a498,'type':o['URL'],..._0x6d99d1};case o['Dropbox']:return{'icon':_0x4a0e82,'type':o['Dropbox'],..._0x6d99d1};case o['Facebook']:return{'icon':_0x4aa119,'type':o['Facebook'],..._0x6d99d1};case o['GDrive']:return{'icon':_0x4d72ee,'type':o['GDrive'],..._0x6d99d1};case o['GPhotos']:return{'icon':_0x3b52db,'type':o['GPhotos'],..._0x6d99d1};case o['OneDrive']:return{'icon':_0x48a1e4,'type':o['OneDrive'],..._0x6d99d1};}});}['_getIntegrationKey'](_0x2e655c){switch(_0x2e655c){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1d6ddd,_0x490131){const _0x32631f=this['editor'],_0x500492=new _0x1d6ddd(_0x32631f['locale']),_0xeb3819=_0x32631f['commands']['get']('uploadcare');return _0x500492['bind']('isEnabled')['to'](_0xeb3819),_0x500492['on']('execute',()=>{_0xeb3819['execute'](_0x490131);}),_0x500492;}['_createToolbarButton'](_0x255c23){const {locale:_0x52486c}=this['editor'],_0x3e80b7=this['editor']['plugins']['get']('ImageInsertUI'),_0x29760b=_0x255c23[0x0],_0x4f16fb=this['_createButton'](_0x295ee8,_0x29760b['type']);return _0x4f16fb['icon']=_0x29760b['icon'],_0x4f16fb['bind']('label')['to'](_0x3e80b7,'isImageSelected',_0x563eb1=>_(_0x52486c,_0x29760b['type'],_0x563eb1?'Replace':'Insert')['text']),_0x4f16fb['tooltip']=!0x0,_0x4f16fb;}['_createDropdownButtons'](_0x32705d){const {locale:_0x19f974}=this['editor'],_0x1f60c4=this['editor']['plugins']['get']('ImageInsertUI');return _0x32705d['map'](_0x1748cf=>{const _0x4c907e=this['_createButton'](_0x295ee8,_0x1748cf['type']);return _0x4c907e['withText']=!0x0,_0x4c907e['icon']=_0x1748cf['icon'],_0x4c907e['bind']('label')['to'](_0x1f60c4,'isImageSelected',_0x342b3c=>_(_0x19f974,_0x1748cf['type'],_0x342b3c?'Replace':'Insert')['text']),_0x4c907e;});}['_createMenuBarButtons'](_0x14e8fb){return _0x14e8fb['map'](_0x4cd4ac=>{const _0x4fc745=this['_createButton'](_0x2ed04b,_0x4cd4ac['type']);return _0x4fc745['icon']=_0x4cd4ac['icon'],_0x4fc745['label']=_0x4cd4ac['shortText'],_0x4fc745;});}}class G extends _0x32bb23{['focusTracker'];['focusCycler'];constructor(_0x44698a){super(_0x44698a),this['focusTracker']=new _0xf01cf4(),this['focusCycler']=new _0x2346d2({'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 G{constructor(_0x3a3594){super(_0x3a3594),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(_0x58ee8e,_0x525346){const _0x4b79f4=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3cc096=>_0x3cc096<=_0x525346)['map'](_0x5ce3e6=>_0x58ee8e['replace'](/\/$/,'')+'/-/resize/'+_0x5ce3e6+'x/\x20'+_0x5ce3e6+'w');return{'imageFallbackUrl':_0x58ee8e,'imageSources':[{'srcset':_0x4b79f4['join'](',\x20'),'sizes':'(max-width:\x20'+_0x525346+'px)\x20100vw,\x20'+_0x525346+'px','type':'image/webp'}]};}function F(_0x3c1e73,_0x240342,_0x434125){const _0x4eabd4=_0x3c1e73['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4eabd4?parseInt(_0x4eabd4[0x1],0xa):_0x240342,'height':_0x4eabd4?parseInt(_0x4eabd4[0x2],0xa):_0x434125};}function m(_0x35887d,_0x26785c){const _0x2c7a79=Object['create'](_0x5c4b4f),_0x1c41e4=_0x35887d['plugins']['get']('ImageUtils'),_0x1d93e8=_0x35887d['editing']['mapper']['toViewElement'](_0x26785c),_0x30256c=_0x1c41e4['findViewImgElement'](_0x1d93e8),_0x208ae8=_0x35887d['editing']['view']['domConverter']['viewToDom'](_0x30256c),_0x44ad42=_0x26785c['getAttribute']('width'),_0x2d3a4d=_0x26785c['getAttribute']('height'),_0x4c8efc='image-processing';_0x35887d['editing']['view']['change'](_0x5f4d4e=>{_0x5f4d4e['addClass'](_0x4c8efc,_0x1d93e8),_0x5f4d4e['setStyle']('aspect-ratio',_0x44ad42+'/'+_0x2d3a4d,_0x30256c);}),_0x2c7a79['listenTo'](_0x208ae8,'load',()=>{_0x2c7a79['stopListening'](_0x208ae8,'load'),_0x35887d['editing']['view']['change'](_0x122ca1=>{_0x122ca1['removeClass'](_0x4c8efc,_0x1d93e8),_0x122ca1['removeStyle']('aspect-ratio',_0x30256c);});});}function V(_0x4fbc63){if(Array['isArray'](_0x4fbc63)){const _0x48a0dd=_0x4fbc63['map'](V);return _0x118c92=>_0x48a0dd['some'](_0x30a5bd=>_0x30a5bd(_0x118c92));}if('origin'==_0x4fbc63){const _0x203bc3=_0x30aaf7['window']['location']['origin'];return _0xe64ea7=>new URL(_0xe64ea7,_0x30aaf7['document']['baseURI'])['origin']==_0x203bc3;}return'function'==typeof _0x4fbc63?_0x4fbc63:_0x4fbc63 instanceof RegExp?_0x54317a=>!(!_0x54317a['match'](_0x4fbc63)&&!_0x54317a['replace'](/^https?:\/\//,'')['match'](_0x4fbc63)):()=>!0x1;}function R(_0x543174,_0x55963d){return _0xef6074(_0x543174['target'])['includes'](_0x55963d);}class l extends/* #__PURE__ -- @preserve */
24
- _0x3d2fbe(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x9f764f,_0x1c848f,_0x415b35){super(),this['_editor']=_0x9f764f,this['_editing']=_0x1c848f,this['_dialog']=_0x9f764f['plugins']['get'](_0x20b547),this['_api']=_0x1c848f['ctxElement']['getAPI'](),this['_type']=_0x415b35,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:_0x46d2f0,model:_0x1ec528}=this['_editor'],_0x56dd8c=_0x1ec528['document']['selection']['getSelectedElement'](),_0x4329bd=_0x56dd8c&&(_0x56dd8c['is']('element','imageBlock')||_0x56dd8c['is']('element','imageInline'));this['_formView']=new S(_0x46d2f0),this['_dialog']['show']({'id':'uploadCare','icon':_0x4dea85,'title':_(_0x46d2f0,this['_type'],_0x4329bd?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2a79c8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x202dc2=>!R(_0x202dc2,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1d24c3}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x40d7a2=>{const _0x2a0b27=_0x1d24c3['length'];for(const _0x6f0025 of _0x1d24c3){const _0x17f7b1=_0x6f0025===_0x1d24c3[_0x2a0b27-0x1],{cdnUrl:_0x4800b0,fileInfo:_0x539d6f}=_0x6f0025;if(!_0x4800b0||!_0x539d6f)continue;const {width:_0x32a7b2,height:_0x8738ea}=_0x539d6f['imageInfo'],_0x301a3e=F(_0x4800b0,_0x32a7b2,_0x8738ea),_0x190e16=E(_0x4800b0,_0x301a3e['width']),_0x3c2ecd={'id':_0x539d6f['uuid'],'type':'image','attributes':{'imageDimension':_0x301a3e,..._0x190e16}};this['_insertAsset'](_0x3c2ecd,_0x17f7b1,_0x40d7a2);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x551bf8=>{'idle'===_0x551bf8['detail']['status']&&!_0x551bf8['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x91b51,_0x3137b8,_0x531cd2){const _0x4b51c8=this['_editor']['model']['document']['selection'],_0x499727=_0x4b51c8['getSelectedElement'](),_0x14b7a7=!(!_0x499727||!_0x499727['is']('element','imageInline'));_0x531cd2['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x91b51,_0x14b7a7),_0x3137b8||_0x531cd2['setSelection'](_0x4b51c8['getLastPosition']());}['_insertImage'](_0x4db4a5,_0x5b1223){const _0x75971c=this['_editor'],{imageDimension:_0x31e633,imageFallbackUrl:_0x51d0db,imageSources:_0x5eb9e0}=_0x4db4a5['attributes'];_0x75971c['execute']('insertImage',{'imageType':_0x5b1223?'imageInline':null,'source':{'uploadcareImageId':_0x4db4a5['id'],'src':_0x51d0db,'sources':_0x5eb9e0,..._0x31e633}});}}class n extends _0x467e0d{['_editing'];['_controller']=null;static get['requires'](){return[_0x20b547,i];}constructor(_0x39e5a3){super(_0x39e5a3),this['_editing']=_0x39e5a3['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x15382a){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x15382a);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x144600,publicKey:_0x2c4a97,signal:_0x3fd850,onProgress:_0x2abfd8}){return _0x809282(_0x144600,{'publicKey':_0x2c4a97,'store':'auto','signal':_0x3fd850,'onProgress':_0x2abfd8});}static['getInfo'](_0x4e7384,_0x59ea81){return _0x137c11(_0x4e7384,_0x59ea81);}}class p extends _0x6be8e9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3c95e8,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4b338a=this['editor'];if(!!!_0x4b338a['config']['get']('uploadcare'))return;_0x4b338a['plugins']['get'](_0x3c95e8)['createUploadAdapter']=_0x2176ca=>new x(_0x2176ca,_0x4b338a),_0x4b338a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x34225d,{imageElement:_0x97d116,data:_0xd3e172})=>{_0x4b338a['model']['change'](_0x2f8b36=>{_0x2f8b36['setAttribute']('uploadcareImageId',_0xd3e172['uploadcareImageId'],_0x97d116);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x10a9b4,_0x137d8b){this['loader']=_0x10a9b4,this['editor']=_0x137d8b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2bdd7f=this['editor']['config']['get']('uploadcare.pubkey'),_0x48d955=await this['loader']['file'];return C['upload']({'file':_0x48d955,'publicKey':_0x2bdd7f,'signal':this['controller']['signal'],'onProgress':_0x405326=>{_0x405326&&_0x405326['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x405326['value']);}})['then'](async _0x522f5a=>{const {imageFallbackUrl:_0x1d04f2,imageSources:_0xbfb7fb}=E(_0x522f5a['cdnUrl'],_0x522f5a['imageInfo']['width']);return{'uploadcareImageId':_0x522f5a['uuid'],'default':_0x1d04f2,'sources':_0xbfb7fb};})['catch'](()=>{const _0x43cad9=t('Cannot\x20upload\x20file:')+('\x20'+_0x48d955['name']+'.');return Promise['reject'](_0x43cad9);});}['abort'](){this['controller']['abort']();}}class i extends _0x6be8e9{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x20b547];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x336210=this['editor'];_0x336210['commands']['add']('uploadcare',new n(_0x336210));}['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 _0xde8753=_0x30aaf7['document']['querySelector']('input[uploadcare-file-input]');_0xde8753&&_0xde8753['remove']();}),async function(_0x1d0f0b){const _0x4990b7=_0x34b6a7([0x42,0x73,0x49,0x38,0x53,0x5a,0x6d,0x72,0x6a,0x4d,0x74,0x33,0x30,0x31,0x54,0x79,0x34,0x37,0x4a,0x32,0x68,0x50,0x6b,0x4b,0x61,0x6c,0x63,0x51,0x48,0x65,0x52,0x62,0x4f,0x7a,0x6e,0x67,0x6f,0x71,0x4e,0x56,0x47,0x69,0x46,0x66,0x75,0x41,0x39,0x36,0x43,0x44,0x35,0x4c,0x76,0x64,0x58,0x55,0x70,0x59,0x78,0x77,0x57,0x45]),_0x5d5c4f=0x12e5975b,_0xe98628=0x12e2f463^_0x5d5c4f,_0x4a6a8c=window[_0x34b6a7([0x44,0x61,0x74,0x65])][_0x34b6a7([0x6e,0x6f,0x77])](),_0x577454=_0x1d0f0b[_0x34b6a7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35d6a9=new window[(_0x34b6a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54b788=>{_0x577454[_0x34b6a7([0x6f,0x6e,0x63,0x65])](_0x34b6a7([0x72,0x65,0x61,0x64,0x79]),_0x54b788);}),_0x582268={[_0x34b6a7([0x6b,0x74,0x79])]:_0x34b6a7([0x45,0x43]),[_0x34b6a7([0x75,0x73,0x65])]:_0x34b6a7([0x73,0x69,0x67]),[_0x34b6a7([0x63,0x72,0x76])]:_0x34b6a7([0x50,0x2d,0x32,0x35,0x36]),[_0x34b6a7([0x78])]:_0x34b6a7([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]),[_0x34b6a7([0x79])]:_0x34b6a7([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]),[_0x34b6a7([0x61,0x6c,0x67])]:_0x34b6a7([0x45,0x53,0x32,0x35,0x36])},_0x4970a0=_0x577454[_0x34b6a7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34b6a7([0x67,0x65,0x74])](_0x34b6a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21012c(){let _0x42f2fb,_0x1a6f8c=null,_0xa0d2ba=null;try{if(_0x4970a0==_0x34b6a7([0x47,0x50,0x4c]))return _0x34b6a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x42f2fb=_0x10923f(),!_0x42f2fb)return _0x34b6a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x42f2fb[_0x34b6a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xa0d2ba=_0xa16dff(_0x42f2fb[_0x34b6a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x42f2fb[_0x34b6a7([0x6a,0x74,0x69])])),await _0x507401()?_0x4040ef()?_0x3417d8()?_0x34b6a7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1de4ff()?(_0x42f2fb[_0x34b6a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34b6a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a6f8c=_0x5e1344(_0x34b6a7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x42f2fb[_0x34b6a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34b6a7([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a6f8c=_0x5e1344(_0x34b6a7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x55b6f1()):_0x34b6a7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34b6a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34b6a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4cd2d6){return _0x34b6a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3417d8(){const _0xed3e8d=[_0x34b6a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34b6a7([0x74,0x72,0x69,0x61,0x6c])][_0x34b6a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42f2fb[_0x34b6a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4a6a8c/0x3e8:0xe10*_0xe98628;return _0x42f2fb[_0x34b6a7([0x65,0x78,0x70])]<_0xed3e8d;}function _0x4040ef(){const _0x23c7b1=_0x42f2fb[_0x34b6a7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x23c7b1&&(!!_0x23c7b1[_0x34b6a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34b6a7([0x2a]))||!!_0x23c7b1[_0x34b6a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34b6a7([0x55,0x50,0x4c,0x43])));}function _0x1de4ff(){const _0x2d2a71=_0x42f2fb[_0x34b6a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d2a71||0x0==_0x2d2a71[_0x34b6a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x417585}=new URL(window[_0x34b6a7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2d2a71[_0x34b6a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x417585))return!0x0;const _0x2ee514=_0x417585[_0x34b6a7([0x73,0x70,0x6c,0x69,0x74])](_0x34b6a7([0x2e]));return _0x2d2a71[_0x34b6a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c5e05=>_0x4c5e05[_0x34b6a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34b6a7([0x2a])))[_0x34b6a7([0x6d,0x61,0x70])](_0x2c7edf=>_0x2c7edf[_0x34b6a7([0x73,0x70,0x6c,0x69,0x74])](_0x34b6a7([0x2e])))[_0x34b6a7([0x73,0x6f,0x6d,0x65])](_0x4bb9a7=>_0x2ee514[_0x34b6a7([0x65,0x76,0x65,0x72,0x79])]((_0x4fb45a,_0x14006c)=>_0x4bb9a7[_0x14006c]===_0x4fb45a||_0x4bb9a7[_0x14006c]===_0x34b6a7([0x2a])));}function _0x55b6f1(){return _0x1a6f8c&&_0xa0d2ba?new window[(_0x34b6a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x477444,_0x91b5c8)=>{_0x1a6f8c[_0x34b6a7([0x74,0x68,0x65,0x6e])](_0x477444,_0x91b5c8),_0xa0d2ba[_0x34b6a7([0x74,0x68,0x65,0x6e])](_0x2dedc8=>{_0x2dedc8!=_0x34b6a7([0x56,0x61,0x6c,0x69,0x64])&&_0x477444(_0x2dedc8);},_0x91b5c8);}):_0x1a6f8c||_0xa0d2ba||_0x34b6a7([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa16dff(_0x5a83aa,_0x2acff3){return new window[(_0x34b6a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59bd08=>{if(_0x13b1ca())return _0x59bd08(_0x34b6a7([0x56,0x61,0x6c,0x69,0x64]));_0x2d13c9(),_0x577454[_0x34b6a7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34b6a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4351ce=!0x1;const _0xc4408c=_0x12920a();function _0x268015(_0x1e4976){return!!_0x1e4976&&(typeof _0x1e4976===_0x34b6a7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1e4976===_0x34b6a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1e4976[_0x34b6a7([0x74,0x68,0x65,0x6e])]===_0x34b6a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1e4976[_0x34b6a7([0x63,0x61,0x74,0x63,0x68])]===_0x34b6a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x571fb8(_0x35ade8){_0x444d2f(_0x35ade8)[_0x34b6a7([0x74,0x68,0x65,0x6e])](_0x14ab4f=>{if(!_0x14ab4f||_0x14ab4f[_0x34b6a7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34b6a7([0x6f,0x6b]))return _0x34b6a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x469337(_0x403ae1(_0xc4408c+_0x2acff3))!=_0x14ab4f[_0x34b6a7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34b6a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34b6a7([0x56,0x61,0x6c,0x69,0x64]);})[_0x34b6a7([0x74,0x68,0x65,0x6e])](_0x3bcf22=>(_0x885ab9(),_0x3bcf22),()=>{const _0x245877=_0x26cef8();return null==_0x245877?(_0x885ab9(),_0x34b6a7([0x56,0x61,0x6c,0x69,0x64])):_0x34b6a7(_0x4a6a8c-_0x245877>(0x36e9135b^_0x5d5c4f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34b6a7([0x74,0x68,0x65,0x6e])](_0x59bd08)[_0x34b6a7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x59bd08(_0x34b6a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a5520=0x12d379db^_0x5d5c4f;function _0x885ab9(){const _0x580203=_0x34b6a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x469337(_0x403ae1(_0x5a83aa)),_0x36db3c=_0x4ae29d(_0x469337(window[_0x34b6a7([0x4d,0x61,0x74,0x68])][_0x34b6a7([0x63,0x65,0x69,0x6c])](_0x4a6a8c/_0x5a5520)));window[_0x34b6a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34b6a7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x580203,_0x36db3c);}function _0x26cef8(){const _0x2caad4=_0x34b6a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x469337(_0x403ae1(_0x5a83aa)),_0x281225=window[_0x34b6a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34b6a7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2caad4);return _0x281225?window[_0x34b6a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ae29d(_0x281225),0x10)*_0x5a5520:null;}function _0x444d2f(_0x19255a){return new window[(_0x34b6a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x245890,_0xcf205)=>{_0x19255a[_0x34b6a7([0x74,0x68,0x65,0x6e])](_0x245890,_0xcf205),window[_0x34b6a7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xcf205,0x12e4439b^_0x5d5c4f);});}}_0x577454[_0x34b6a7([0x6f,0x6e])](_0x34b6a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14fed6,_0x36dd1a)=>{if(_0x36dd1a[0x0]!=_0x5a83aa)return _0x59bd08(_0x34b6a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x36dd1a[0x1]={..._0x36dd1a[0x1],[_0x34b6a7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc4408c};},{[_0x34b6a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34b6a7([0x68,0x69,0x67,0x68])}),_0x577454[_0x34b6a7([0x6f,0x6e])](_0x34b6a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc5c8b4=>{_0x268015(_0xc5c8b4[_0x34b6a7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4351ce=!0x0,_0x571fb8(_0xc5c8b4[_0x34b6a7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34b6a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34b6a7([0x6c,0x6f,0x77])}),_0x35d6a9[_0x34b6a7([0x74,0x68,0x65,0x6e])](()=>{_0x4351ce||_0x59bd08(_0x34b6a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x13b1ca(){return _0x577454[_0x34b6a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34b6a7([0x76,0x69,0x65,0x77])][_0x34b6a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34b6a7([0x61,0x75,0x74,0x6f]);}function _0x2d13c9(){_0x577454[_0x34b6a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34b6a7([0x76,0x69,0x65,0x77])][_0x34b6a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34b6a7([0x61,0x75,0x74,0x6f]);}}function _0x5e1344(_0x2634a7){const _0x4ab965=[new window[(_0x34b6a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x177398=>setTimeout(_0x177398,0x12eca997^_0x5d5c4f)),_0x35d6a9[_0x34b6a7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34b6a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4db18f=>{let _0x2920d2=0x0;_0x577454[_0x34b6a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x34b6a7([0x6f,0x6e])](_0x34b6a7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a5bff,_0x398613)=>{_0x398613[0x0][_0x34b6a7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2920d2++,_0x2920d2==(0x12e596a3^_0x5d5c4f)&&(_0x4db18f(),_0x3a5bff[_0x34b6a7([0x6f,0x66,0x66])]());});}))];return window[_0x34b6a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34b6a7([0x72,0x61,0x63,0x65])](_0x4ab965)[_0x34b6a7([0x74,0x68,0x65,0x6e])](()=>_0x2634a7);}async function _0x104b3b(){await _0x35d6a9,_0x577454[_0x34b6a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x34b6a7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b2e2d,_0x577454[_0x34b6a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x34b6a7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b2e2d,_0x577454[_0x34b6a7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34b6a7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c4eff(_0x55cb60){const _0x4bbf32=_0x74eb01();_0x577454[_0x4bbf32]=_0x34b6a7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x55cb60,_0x55cb60!=_0x34b6a7([0x56,0x61,0x6c,0x69,0x64])&&_0x104b3b();}function _0x74eb01(){const _0x4eff7d=window[_0x34b6a7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34b6a7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34b6a7([0x6e,0x6f,0x77])]())[_0x34b6a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34b6a7([0x2e]),'');let _0x26c8bc=_0x34b6a7([0x42]);for(let _0x4f1312=0x0;_0x4f1312<_0x4eff7d[_0x34b6a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f1312+=0x2){let _0x59ec9a=window[_0x34b6a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4eff7d[_0x34b6a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f1312,_0x4f1312+0x2));_0x59ec9a>=_0x4990b7[_0x34b6a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59ec9a-=_0x4990b7[_0x34b6a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26c8bc+=_0x4990b7[_0x59ec9a];}return _0x26c8bc;}function _0x10923f(){const _0x1cb3b7=_0x4970a0[_0x34b6a7([0x73,0x70,0x6c,0x69,0x74])](_0x34b6a7([0x2e]));if(0x3!=_0x1cb3b7[_0x34b6a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x59a2db(_0x1cb3b7[0x1]);function _0x59a2db(_0x32b90c){const _0xf70b9d=_0x23ceee(_0x32b90c);return _0xf70b9d&&_0x1f675b()?_0xf70b9d:null;function _0x1f675b(){const _0x3fe514=_0xf70b9d[_0x34b6a7([0x6a,0x74,0x69])],_0x220da1=window[_0x34b6a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fe514[_0x34b6a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3fe514[_0x34b6a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2927df={..._0xf70b9d,[_0x34b6a7([0x6a,0x74,0x69])]:_0x3fe514[_0x34b6a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3fe514[_0x34b6a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2927df[_0x34b6a7([0x76,0x63])],_0x403ae1(_0x2927df)==_0x220da1;}}}async function _0x507401(){let _0x485cc8=!0x0;try{const _0x4194af=_0x4970a0[_0x34b6a7([0x73,0x70,0x6c,0x69,0x74])](_0x34b6a7([0x2e])),[_0x230e45,_0x3726e9,_0x1f73cc]=_0x4194af;return _0x1cd1d0(_0x230e45),await _0x4c2af9(_0x230e45,_0x3726e9,_0x1f73cc),_0x485cc8;}catch(_0x33e29b){return!0x1;}function _0x1cd1d0(_0x35db02){const _0x542b87=_0x23ceee(_0x35db02);_0x542b87&&_0x542b87[_0x34b6a7([0x61,0x6c,0x67])]==_0x34b6a7([0x45,0x53,0x32,0x35,0x36])||(_0x485cc8=!0x1);}async function _0x4c2af9(_0x2e7615,_0x43fb88,_0x488f1c){const _0x33bf0d=window[_0x34b6a7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34b6a7([0x66,0x72,0x6f,0x6d])](_0x4f5385(_0x488f1c),_0x4c221f=>_0x4c221f[_0x34b6a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2304c2=new window[(_0x34b6a7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34b6a7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e7615+_0x34b6a7([0x2e])+_0x43fb88),_0xfbadb6=window[_0x34b6a7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34b6a7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xfbadb6)return;const _0x56eaec=await _0xfbadb6[_0x34b6a7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34b6a7([0x6a,0x77,0x6b]),_0x582268,{[_0x34b6a7([0x6e,0x61,0x6d,0x65])]:_0x34b6a7([0x45,0x43,0x44,0x53,0x41]),[_0x34b6a7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34b6a7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34b6a7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xfbadb6[_0x34b6a7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34b6a7([0x6e,0x61,0x6d,0x65])]:_0x34b6a7([0x45,0x43,0x44,0x53,0x41]),[_0x34b6a7([0x68,0x61,0x73,0x68])]:{[_0x34b6a7([0x6e,0x61,0x6d,0x65])]:_0x34b6a7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56eaec,_0x33bf0d,_0x2304c2)||(_0x485cc8=!0x1);}}function _0x23ceee(_0x3d00ab){return _0x3d00ab[_0x34b6a7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34b6a7([0x65,0x79]))?JSON[_0x34b6a7([0x70,0x61,0x72,0x73,0x65])](_0x4f5385(_0x3d00ab)):null;}function _0x4f5385(_0x569ad1){return window[_0x34b6a7([0x61,0x74,0x6f,0x62])](_0x569ad1[_0x34b6a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34b6a7([0x2b]))[_0x34b6a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34b6a7([0x2f])));}function _0x403ae1(_0x441ba7){let _0x3194db=0x1505;function _0x340cb0(_0x2a1b0b){for(let _0x838e77=0x0;_0x838e77<_0x2a1b0b[_0x34b6a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x838e77++){const _0x3f483c=_0x2a1b0b[_0x34b6a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x838e77);_0x3194db=(_0x3194db<<0x5)+_0x3194db+_0x3f483c,_0x3194db&=_0x3194db;}}function _0x2a5ba1(_0x2f3aa1){Array[_0x34b6a7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f3aa1)?_0x2f3aa1[_0x34b6a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a5ba1):_0x2f3aa1&&typeof _0x2f3aa1==_0x34b6a7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34b6a7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f3aa1)[_0x34b6a7([0x73,0x6f,0x72,0x74])]()[_0x34b6a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x54f524,_0x2bb608])=>{_0x340cb0(_0x54f524),_0x2a5ba1(_0x2bb608);}):_0x340cb0(window[_0x34b6a7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f3aa1));}return _0x2a5ba1(_0x441ba7),_0x3194db>>>0x0;}function _0x469337(_0x464edf){return _0x464edf[_0x34b6a7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34b6a7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34b6a7([0x30]));}function _0x4ae29d(_0x29fee1){return _0x29fee1[_0x34b6a7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34b6a7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34b6a7([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b2e2d(){}function _0x34b6a7(_0x1dab73){return _0x1dab73['map'](_0x13be91=>String['fromCharCode'](_0x13be91))['join']('');}_0x1c4eff(await _0x21012c());}(this);}['_initSchema'](){const _0x11a8cb=this['editor']['model']['schema'];_0x11a8cb['isRegistered']('imageBlock')&&_0x11a8cb['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x11a8cb['isRegistered']('imageInline')&&_0x11a8cb['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xecdffa=this['editor'];_0xecdffa['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xecdffa['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x8e8c61=>_0x8e8c61['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x9379d3=_0xecdffa['commands']['get']('replaceImageSource');_0x9379d3&&this['listenTo'](_0x9379d3,'cleanupImage',(_0x5e4f60,[_0x4f7685,_0x3c92f4])=>{_0x4f7685['removeAttribute']('uploadcareImageId',_0x3c92f4);});}['_initConfig'](){const _0x14ffd1=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3c0177=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3a1da0(_0x30aaf7['document'],'uc-config',{..._0x14ffd1,'pubkey':_0x3c0177,'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']=_0x117a61=>{if('closeMax'==_0x117a61)return'#uc-icon-arrow-down';},_0x30aaf7['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3a1da0(_0x30aaf7['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x30aaf7['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x15857b=this['editor']['commands']['get']('insertImage');_0x15857b&&this['listenTo'](_0x15857b,'execute',()=>{const _0xdacfae=this['editor']['model']['document']['selection']['getSelectedElement']();_0xdacfae&&_0xdacfae['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0xdacfae);});});const _0x2e2132=this['editor']['commands']['get']('uploadcareImageReplace');_0x2e2132&&this['listenTo'](_0x2e2132,'execute',()=>{const _0x31efcd=this['editor']['model']['document']['selection']['getSelectedElement']();_0x31efcd&&_0x31efcd['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x31efcd);});});}}class u extends _0x6be8e9{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2b4182){super(_0x2b4182),_0x2b4182['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x3aa22e['defineComponents'](_0x3aa22e);}}class ta extends _0x32bb23{constructor(_0x25728a){super(_0x25728a);const t=_0x25728a['t'],_0x516b65=this['bindTemplate'],_0x266bf0=new _0x53aca3();_0x266bf0['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':[_0x266bf0,{'text':_0x516b65['to']('imageUploadProgress',_0x4dda8f=>t('Loading\x20image...')+'\x20('+(_0x4dda8f||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 _0x32bb23{constructor(_0x1b35b1){super(_0x1b35b1);const t=_0x1b35b1['t'];this['set']('errorType',null);const _0x40c653=new _0x295ee8(_0x1b35b1);_0x40c653['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x40c653['withText']=!0x0,_0x40c653['class']='ck-button-action',_0x40c653['on']('execute',()=>{this['fire']('retry');}),_0x40c653['bind']('isVisible')['to'](this,'errorType',_0x499438=>'NotFound'!==_0x499438);const _0x2ddeec=new at();_0x2ddeec['content']=et,_0x2ddeec['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x352857=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':[_0x2ddeec,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x352857['to']('errorType',_0x195ba7=>t('NotFound'!==_0x195ba7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x40c653]},{'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 _0x32bb23{constructor(_0xb3e1dd,_0x4644fc){super(_0xb3e1dd);const _0x32c5d1=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4644fc,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x32c5d1['to']('imageSrc')}});}}class Z extends G{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2f0a84,_0x10bafe,_0xdf28d1){super(_0x2f0a84),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x2f0a84),this['_errorView']=new rt(_0x2f0a84),this['_editingView']=new tt(_0x2f0a84,_0xdf28d1),this['_focusableView']=new _0x32bb23(_0x2f0a84),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x10bafe),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'],_0x2eb999=>{this['_addUploadcareImageEditorListeners'](_0x2eb999);});}),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'](_0x2229ff,_0x37f1a9){const _0x216f0b='uc-cloud-image-editor',_0x80c4c4=_0x2229ff['querySelector'](_0x216f0b);if(_0x80c4c4)return _0x37f1a9(_0x80c4c4);const _0x5803d3=new MutationObserver(_0x59769c=>{const _0x2176ab=_0x59769c['filter'](_0xaad9f5=>_0xaad9f5['target']===_0x2229ff&&_0xaad9f5['addedNodes']['length']>0x0&&_0xaad9f5['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x216f0b);_0x2176ab['length']&&(_0x5803d3['disconnect'](),_0x37f1a9(_0x2176ab[0x0]['addedNodes'][0x0]));});_0x5803d3['observe'](_0x2229ff,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x326c29){_0x326c29['addEventListener']('apply',_0x40129a=>{this['fire']('apply',{'imageSrc':_0x40129a['detail']['cdnUrl']});}),_0x326c29['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class A extends/* #__PURE__ -- @preserve */
25
- _0x3d2fbe(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5de902,_0x1d2083,_0x322070){super(),this['_editor']=_0x5de902,this['_dialog']=_0x1d2083,this['_imageElement']=_0x322070,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 _0x2561ab=this['_imageElement'],_0x31867c=_0x2561ab['getAttribute']('uploadcareImageId'),_0x518f14=_0x2561ab['getAttribute']('src');if(_0x31867c)await this['_loadImageInfo'](_0x31867c,_0x518f14);else{if(this['_imageCache']['has'](_0x518f14)){const _0x38f2bd=this['_imageCache']['get'](_0x518f14);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x38f2bd['url'],this['imageDimension']=_0x38f2bd['dimension'],this['imageId']=_0x38f2bd['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x21ef37}=this['_editor'],t=_0x21ef37['t'],_0x41f78b=new Z(_0x21ef37,this['imageStatus'],this['_attributes']);_0x41f78b['bind']('status')['to'](this,'imageStatus'),_0x41f78b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x41f78b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x41f78b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x41f78b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5a1234,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x41f78b,'position':_0x2a79c8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x41f78b['focus']();},'onHide':()=>{_0x41f78b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4db27c=>!R(_0x4db27c,_0x41f78b['element'])}});}['_loadImageInfo'](_0x181b4e,_0xefc855){return C['getInfo'](_0x181b4e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x35c276=>{const {width:_0x57a4c2,height:_0x4e5553}=_0x35c276['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xefc855,this['imageDimension']={'width':_0x57a4c2,'height':_0x4e5553},this['imageId']=_0x181b4e;})['catch'](_0x4ecdfc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ecdfc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x61361,_0x2994ac){return this['_getImageAsFile'](_0x61361)['then'](_0x423faa=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2994ac['signal'],'file':_0x423faa,'onProgress':_0x3c5370=>{_0x3c5370&&_0x3c5370['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3c5370['value']));}}))['then'](_0x180e52=>{const {width:_0x20d7bb,height:_0x21c5f4}=_0x180e52['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x180e52['cdnUrl'],this['imageDimension']={'width':_0x20d7bb,'height':_0x21c5f4},this['imageId']=_0x180e52['uuid'],this['imageUploadProgress']=null;const _0x4fff1e=_0x61361['getAttribute']('src');this['_imageCache']['set'](_0x4fff1e,{'id':_0x180e52['uuid'],'url':_0x180e52['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xa5746=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xa5746['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x11c4a5,_0x536786){_0x11c4a5['on']('apply',(_0x369335,_0x49c491)=>{this['_replaceImage'](_0x536786,_0x49c491['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x11c4a5['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x11c4a5['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1376c1,_0x49cdab,_0x37736b){const _0x3a9fce=this['_editor'],{width:_0x4fb1a4,height:_0x45a728}=F(_0x49cdab,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x545c19,imageSources:_0x33a32e}=E(_0x49cdab,_0x4fb1a4);_0x3a9fce['model']['change'](_0x179792=>{if('$graveyard'===_0x1376c1['root']['rootName']){_0x3a9fce['execute']('insertImage',{'imageType':_0x1376c1['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1376c1['getAttributes']()),'uploadcareImageId':_0x37736b,'src':_0x545c19,'sources':_0x33a32e,'width':_0x4fb1a4,'height':_0x45a728}});const _0xf870cf=_0x1376c1['getChildren']();_0x1376c1=_0x3a9fce['model']['document']['selection']['getSelectedElement']();for(const _0x11a457 of _0xf870cf)_0x179792['append'](_0x179792['cloneElement'](_0x11a457),_0x1376c1);}else _0x179792['setSelection'](_0x1376c1,'on'),_0x3a9fce['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1376c1['getAttributes']()),'uploadcareImageId':_0x37736b,'src':_0x545c19,'sources':_0x33a32e,'width':_0x4fb1a4,'height':_0x45a728},_0x1376c1);_0x179792['setSelection'](_0x1376c1,'on');});}async['_getImageAsFile'](_0x27afa4){const _0x52d72f=_0x30aaf7['window'],_0x211fe0=_0x30aaf7['document']['location']['href'],_0x1fcd51=new _0x52d72f['URL'](_0x27afa4['getAttribute']('src'),_0x211fe0);if('data:'===_0x1fcd51['protocol']){const _0x18cd6d=_0x1fcd51['href']['split'](','),_0x17b53a=_0x18cd6d[0x0]['match'](/:(.*?);/)[0x1],_0x27837b=_0x17b53a['split']('/')[0x1],_0x18b748=_0x52d72f['atob'](_0x18cd6d[_0x18cd6d['length']-0x1]);let _0x10fcb0=_0x18b748['length'];const _0x364d9f=new _0x52d72f['Uint8Array'](_0x10fcb0);for(;_0x10fcb0--;)_0x364d9f[_0x10fcb0]=_0x18b748['charCodeAt'](_0x10fcb0);return new _0x52d72f['File']([_0x364d9f],'image.'+_0x27837b,{'type':_0x17b53a});}const _0x32e4f2=_0x1fcd51['href']['split']('/'),_0x3f0b71=_0x32e4f2[_0x32e4f2['length']-0x1],_0x5c12ed=_0x3f0b71['split']('.')[0x1];return _0x52d72f['fetch'](_0x1fcd51['href'])['then'](_0x1d38e9=>_0x1d38e9['clone']()['blob']())['then'](_0x338f8e=>new _0x52d72f['File']([_0x338f8e],_0x3f0b71,{'type':'image/'+_0x5c12ed}));}}class z extends _0x467e0d{['imageEditController'];static get['requires'](){return[_0x20b547];}['_isEditable'];constructor(_0x1562e5){super(_0x1562e5),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4bbc33){const _0x2336a3=V(_0x4bbc33);return _0x469f29=>!(!_0x469f29||!_0x469f29['is']('element','imageBlock')&&!_0x469f29['is']('element','imageInline'))&&(!!_0x469f29['hasAttribute']('uploadcareImageId')||!!_0x469f29['hasAttribute']('src')&&_0x2336a3(_0x469f29['getAttribute']('src')));}(_0x1562e5['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x259e5a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x259e5a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3cd739=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3cd739&&(_0x3cd739['is']('element','imageBlock')||_0x3cd739['is']('element','imageInline'))&&(this['imageEditController']=new A(this['editor'],this['editor']['plugins']['get'](_0x20b547),_0x3cd739),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x467e0d{['refresh'](){const _0x2ac495=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2ac495&&(_0x2ac495['is']('element','imageBlock')||_0x2ac495['is']('element','imageInline')));}['execute'](_0x114e37){const _0x1c8792=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4ae4c4=>{_0x4ae4c4['setAttributes'](_0x114e37,_0x1c8792),_0x4ae4c4['removeAttribute']('srcset',_0x1c8792),_0x4ae4c4['removeAttribute']('sizes',_0x1c8792);});}}class g extends _0x6be8e9{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x16c1e5,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4b716b}=this;_0x4b716b['commands']['add']('uploadcareImageEdit',new z(_0x4b716b)),_0x4b716b['commands']['add']('uploadcareImageReplace',new O(_0x4b716b));}}class j extends _0x6be8e9{['_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 _0x3d8401=this['editor'];_0x3d8401['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5ed35c=>{const _0x5a8ab4=_0x3d8401['commands']['get']('uploadcareImageEdit'),_0x5382b8=new _0x295ee8(_0x5ed35c),t=_0x5ed35c['t'];return _0x5382b8['set']({'icon':_0x5a1234,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5382b8['bind']('isEnabled')['to'](_0x5a8ab4),_0x5382b8['bind']('isOn')['to'](_0x5a8ab4,'isActive'),this['listenTo'](_0x5382b8,'execute',()=>{_0x3d8401['execute']('uploadcareImageEdit'),_0x3d8401['editing']['view']['focus']();}),_0x5382b8;}),this['_initConfig']();}['_initConfig'](){const _0x546828=_0x3a1da0(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x546828),this['listenTo'](this['editor'],'destroy',()=>{_0x546828['remove']();});}}class P extends _0x6be8e9{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 _0x104de3,Command as _0x3d427f}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x475bf7,IconGooglePhotos as _0x5a96ba,IconGoogleDrive as _0x1a2469,IconFacebook as _0x4a1243,IconDropbox as _0x1d25b3,IconUploadcareLink as _0x3f183f,IconUploadcareImageUpload as _0x5dd385,IconError as et,IconUploadcareImageEdit as _0x5b1d80}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2f3090,MenuBarMenuListItemButtonView as _0x538422,View as _0x2e7d62,FocusCycler as _0x54fc7a,Dialog as _0x5233ef,DialogViewPosition as _0xe3ad40,SpinnerView as _0x4701be,IconView as at,Notification as _0x1f6484}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3d18ef,DomEmitterMixin as _0x1a6819,global as _0x56c1f8,getAncestors as _0x35e516,ObservableMixin as _0x3ae3f5,createElement as _0x2fa43a,uid as _0x3d4442}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5a2bdc}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x49256c,info as _0x4b07bb}from'@uploadcare/upload-client';import*as _0x1faf76 from'@uploadcare/file-uploader';var o=function(_0x26e80d){return _0x26e80d['Local']='local',_0x26e80d['URL']='url',_0x26e80d['Dropbox']='dropbox',_0x26e80d['GDrive']='gdrive',_0x26e80d['Facebook']='facebook',_0x26e80d['GPhotos']='gphotos',_0x26e80d['OneDrive']='onedrive',_0x26e80d;}({});function _(_0x44b199,_0x1791a7,_0x358d03){const t=_0x44b199['t'],_0x30c8c6=_0x44b199['t'];switch(_0x1791a7){case o['Local']:return{'text':_0x30c8c6('Insert'===_0x358d03?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x30c8c6('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x358d03?_0x30c8c6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x30c8c6('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x358d03?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x358d03?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x358d03?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x358d03?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x358d03?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1791a7;}}class e extends _0x104de3{['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 _0x5585c6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x55ba12;for(const _0x20a2d9 in _0x5585c6){const _0x5896fb=_0x20a2d9,_0x43fabf=_0x5585c6[_0x5896fb];if('uploadcareLicenseKeyValid'==_0x43fabf||'uploadcareLicenseKeyInvalid'==_0x43fabf||'uploadcareLicenseKeyExpired'==_0x43fabf||'uploadcareLicenseKeyDomainLimit'==_0x43fabf||'uploadcareLicenseKeyNotAllowed'==_0x43fabf||'uploadcareLicenseKeyEvaluationLimit'==_0x43fabf||'uploadcareLicenseKeyTrialLimit'==_0x43fabf||'uploadcareLicenseKeyUsageLimit'==_0x43fabf){delete _0x5585c6[_0x5896fb],_0x55ba12=_0x43fabf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x55ba12&&_0x5585c6['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x55ba12&&_0x5585c6['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x55ba12&&_0x5585c6['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x55ba12&&_0x5585c6['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x55ba12&&_0x5585c6['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x55ba12&&_0x5585c6['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x55ba12&&_0x5585c6['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3a3376}=this,_0x1294a8=_0x3a3376['commands']['get']('uploadcare');if(!_0x1294a8)return;const _0x44df98=this['_normalizeConfigSourceList'](_0x3a3376['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x469c85,_0x3e4150)=>{const _0xa24c65=this['_getIntegrationKey'](_0x3e4150['type']);return _0x469c85[_0xa24c65]||(_0x469c85[_0xa24c65]=[]),_0x469c85[_0xa24c65]['push'](_0x3e4150),_0x469c85;},{});_0x3a3376['plugins']['has']('ImageInsertUI')&&_0x3a3376['commands']['get']('uploadcare')&&Object['entries'](_0x44df98)['forEach'](([_0x2c85af,_0x1526e1])=>{_0x3a3376['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2c85af,'observable':()=>_0x1294a8,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1526e1),'formViewCreator':()=>this['_createDropdownButtons'](_0x1526e1),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1526e1),'override':'assetManager'!==_0x2c85af});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x41c91f){const {locale:_0x573659}=this['editor'];return _0x41c91f['map'](_0x467836=>{const _0x53144f=_(_0x573659,_0x467836,'Insert');switch(_0x467836){case o['Local']:return{'icon':_0x5dd385,'type':o['Local'],..._0x53144f};case o['URL']:return{'icon':_0x3f183f,'type':o['URL'],..._0x53144f};case o['Dropbox']:return{'icon':_0x1d25b3,'type':o['Dropbox'],..._0x53144f};case o['Facebook']:return{'icon':_0x4a1243,'type':o['Facebook'],..._0x53144f};case o['GDrive']:return{'icon':_0x1a2469,'type':o['GDrive'],..._0x53144f};case o['GPhotos']:return{'icon':_0x5a96ba,'type':o['GPhotos'],..._0x53144f};case o['OneDrive']:return{'icon':_0x475bf7,'type':o['OneDrive'],..._0x53144f};}});}['_getIntegrationKey'](_0x161b68){switch(_0x161b68){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x58138c,_0x4e2bee){const _0x448f89=this['editor'],_0x1b502a=new _0x58138c(_0x448f89['locale']),_0x3f2e38=_0x448f89['commands']['get']('uploadcare');return _0x1b502a['bind']('isEnabled')['to'](_0x3f2e38),_0x1b502a['on']('execute',()=>{_0x3f2e38['execute'](_0x4e2bee);}),_0x1b502a;}['_createToolbarButton'](_0x28d613){const {locale:_0x1ac43c}=this['editor'],_0x461703=this['editor']['plugins']['get']('ImageInsertUI'),_0x4b07f6=_0x28d613[0x0],_0x44927d=this['_createButton'](_0x2f3090,_0x4b07f6['type']);return _0x44927d['icon']=_0x4b07f6['icon'],_0x44927d['bind']('label')['to'](_0x461703,'isImageSelected',_0x35836f=>_(_0x1ac43c,_0x4b07f6['type'],_0x35836f?'Replace':'Insert')['text']),_0x44927d['tooltip']=!0x0,_0x44927d;}['_createDropdownButtons'](_0x4a3d5f){const {locale:_0x1c258c}=this['editor'],_0x9be75c=this['editor']['plugins']['get']('ImageInsertUI');return _0x4a3d5f['map'](_0x23b6ea=>{const _0x3dcc90=this['_createButton'](_0x2f3090,_0x23b6ea['type']);return _0x3dcc90['withText']=!0x0,_0x3dcc90['icon']=_0x23b6ea['icon'],_0x3dcc90['bind']('label')['to'](_0x9be75c,'isImageSelected',_0x292720=>_(_0x1c258c,_0x23b6ea['type'],_0x292720?'Replace':'Insert')['text']),_0x3dcc90;});}['_createMenuBarButtons'](_0x11fd65){return _0x11fd65['map'](_0x279748=>{const _0x11efdc=this['_createButton'](_0x538422,_0x279748['type']);return _0x11efdc['icon']=_0x279748['icon'],_0x11efdc['label']=_0x279748['shortText'],_0x11efdc;});}}class q extends _0x2e7d62{['focusTracker'];['focusCycler'];constructor(_0x4664b1){super(_0x4664b1),this['focusTracker']=new _0x3d18ef(),this['focusCycler']=new _0x54fc7a({'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(_0x25d12c){super(_0x25d12c),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(_0x3448ed,_0x195d08){const _0x4ab807=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3768bc=>_0x3768bc<=_0x195d08)['map'](_0x46182f=>_0x3448ed['replace'](/\/$/,'')+'/-/resize/'+_0x46182f+'x/\x20'+_0x46182f+'w');return{'imageFallbackUrl':_0x3448ed,'imageSources':[{'srcset':_0x4ab807['join'](',\x20'),'sizes':'(max-width:\x20'+_0x195d08+'px)\x20100vw,\x20'+_0x195d08+'px','type':'image/webp'}]};}function A(_0x2bc7e3,_0xee6133,_0x3a6058){const _0x57ef0c=_0x2bc7e3['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x57ef0c?parseInt(_0x57ef0c[0x1],0xa):_0xee6133,'height':_0x57ef0c?parseInt(_0x57ef0c[0x2],0xa):_0x3a6058};}function m(_0x3219ce,_0x45df96){const _0xe4b87d=Object['create'](_0x1a6819),_0x4d940b=_0x3219ce['plugins']['get']('ImageUtils'),_0x2ef5a8=_0x3219ce['editing']['mapper']['toViewElement'](_0x45df96),_0x27f62e=_0x4d940b['findViewImgElement'](_0x2ef5a8),_0x4ce472=_0x3219ce['editing']['view']['domConverter']['viewToDom'](_0x27f62e),_0x273869=_0x45df96['getAttribute']('width'),_0x45b812=_0x45df96['getAttribute']('height'),_0x3a6ac4='image-processing';_0x3219ce['editing']['view']['change'](_0x20009f=>{_0x20009f['addClass'](_0x3a6ac4,_0x2ef5a8),_0x20009f['setStyle']('aspect-ratio',_0x273869+'/'+_0x45b812,_0x27f62e);}),_0xe4b87d['listenTo'](_0x4ce472,'load',()=>{_0xe4b87d['stopListening'](_0x4ce472,'load'),_0x3219ce['editing']['view']['change'](_0x1be487=>{_0x1be487['removeClass'](_0x3a6ac4,_0x2ef5a8),_0x1be487['removeStyle']('aspect-ratio',_0x27f62e);});});}function V(_0x55a16d){if(Array['isArray'](_0x55a16d)){const _0x35e191=_0x55a16d['map'](V);return _0x3a8254=>_0x35e191['some'](_0x56758f=>_0x56758f(_0x3a8254));}if('origin'==_0x55a16d){const _0x949afd=_0x56c1f8['window']['location']['origin'];return _0x26164b=>new URL(_0x26164b,_0x56c1f8['document']['baseURI'])['origin']==_0x949afd;}return'function'==typeof _0x55a16d?_0x55a16d:_0x55a16d instanceof RegExp?_0x324cd9=>!(!_0x324cd9['match'](_0x55a16d)&&!_0x324cd9['replace'](/^https?:\/\//,'')['match'](_0x55a16d)):()=>!0x1;}function F(_0x230de9,_0x22451c){return _0x35e516(_0x230de9['target'])['includes'](_0x22451c);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x3ae3f5(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x27186,_0x413354,_0x156c6e){super(),this['_editor']=_0x27186,this['_editing']=_0x413354,this['_dialog']=_0x27186['plugins']['get'](_0x5233ef),this['_api']=_0x413354['ctxElement']['getAPI'](),this['_type']=_0x156c6e,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:_0x13b821,model:_0x5be58b}=this['_editor'],_0x5486d1=_0x5be58b['document']['selection']['getSelectedElement'](),_0x27a16c=_0x5486d1&&(_0x5486d1['is']('element','imageBlock')||_0x5486d1['is']('element','imageInline'));this['_formView']=new S(_0x13b821),this['_dialog']['show']({'id':'uploadCare','icon':_0x5dd385,'title':_(_0x13b821,this['_type'],_0x27a16c?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xe3ad40['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4fb2b4=>!F(_0x4fb2b4,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5740ef}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5aba20=>{const _0xf7bf8b=_0x5740ef['length'];for(const _0x5ee677 of _0x5740ef){const _0x46987c=_0x5ee677===_0x5740ef[_0xf7bf8b-0x1],{cdnUrl:_0x4c6992,fileInfo:_0x401e42}=_0x5ee677;if(!_0x4c6992||!_0x401e42)continue;const {width:_0x1c95e9,height:_0x3193eb}=_0x401e42['imageInfo'],_0x37ff78=A(_0x4c6992,_0x1c95e9,_0x3193eb),_0x9846e5=E(_0x4c6992,_0x37ff78['width']),_0x136866={'id':_0x401e42['uuid'],'type':'image','attributes':{'imageDimension':_0x37ff78,..._0x9846e5}};this['_insertAsset'](_0x136866,_0x46987c,_0x5aba20);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x187537=>{'idle'===_0x187537['detail']['status']&&!_0x187537['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1c1ba5,_0x1541a9,_0x212b4a){const _0x3b6844=this['_editor']['model']['document']['selection'],_0x252922=_0x3b6844['getSelectedElement'](),_0x202fcb=!(!_0x252922||!_0x252922['is']('element','imageInline'));_0x212b4a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1c1ba5,_0x202fcb),_0x1541a9||_0x212b4a['setSelection'](_0x3b6844['getLastPosition']());}['_insertImage'](_0x402d9e,_0x15551e){const _0x1ed70b=this['_editor'],{imageDimension:_0x41402f,imageFallbackUrl:_0xbcf7d4,imageSources:_0x4d8bc2}=_0x402d9e['attributes'];_0x1ed70b['execute']('insertImage',{'imageType':_0x15551e?'imageInline':null,'source':{'uploadcareImageId':_0x402d9e['id'],'src':_0xbcf7d4,'sources':_0x4d8bc2,..._0x41402f}});}}class n extends _0x3d427f{['_editing'];['_controller']=null;static get['requires'](){return[_0x5233ef,i];}constructor(_0xc98dc8){super(_0xc98dc8),this['_editing']=_0xc98dc8['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3cfe74){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x3cfe74);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x4f73f2,publicKey:_0x52a039,signal:_0xf779c3,onProgress:_0x4b73cc}){return _0x49256c(_0x4f73f2,{'publicKey':_0x52a039,'store':'auto','signal':_0xf779c3,'onProgress':_0x4b73cc});}static['getInfo'](_0x1018e9,_0x486a9d){return _0x4b07bb(_0x1018e9,_0x486a9d);}}class p extends _0x104de3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5a2bdc,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xbc2c68=this['editor'];if(!!!_0xbc2c68['config']['get']('uploadcare'))return;_0xbc2c68['plugins']['get'](_0x5a2bdc)['createUploadAdapter']=_0x200962=>new x(_0x200962,_0xbc2c68),_0xbc2c68['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xaec2fc,{imageElement:_0x1342be,data:_0x46592f})=>{_0xbc2c68['model']['change'](_0xd5e53b=>{_0xd5e53b['setAttribute']('uploadcareImageId',_0x46592f['uploadcareImageId'],_0x1342be);});});}}class x{['loader'];['editor'];['controller'];constructor(_0xb8c847,_0x2ae12a){this['loader']=_0xb8c847,this['editor']=_0x2ae12a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x39b8e5=this['editor']['config']['get']('uploadcare.pubkey'),_0x1d2c1e=await this['loader']['file'];return C['upload']({'file':_0x1d2c1e,'publicKey':_0x39b8e5,'signal':this['controller']['signal'],'onProgress':_0x1db232=>{_0x1db232&&_0x1db232['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1db232['value']);}})['then'](async _0x26465d=>{const {imageFallbackUrl:_0x2698c9,imageSources:_0xa1803}=E(_0x26465d['cdnUrl'],_0x26465d['imageInfo']['width']);return{'uploadcareImageId':_0x26465d['uuid'],'default':_0x2698c9,'sources':_0xa1803};})['catch'](()=>{const _0x200e6d=t('Cannot\x20upload\x20file:')+('\x20'+_0x1d2c1e['name']+'.');return Promise['reject'](_0x200e6d);});}['abort'](){this['controller']['abort']();}}class i extends _0x104de3{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x5233ef];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x4373db=this['editor'];_0x4373db['commands']['add']('uploadcare',new n(_0x4373db));}['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 _0x58675c=_0x56c1f8['document']['querySelector']('input[uploadcare-file-input]');_0x58675c&&_0x58675c['remove']();}),async function(_0x4ca8be){const _0x4bf373=_0x1ad5ea([0x34,0x65,0x63,0x32,0x6b,0x37,0x75,0x6a,0x74,0x44,0x33,0x79,0x48,0x4c,0x6d,0x58,0x68,0x4e,0x73,0x42,0x4d,0x46,0x4f,0x64,0x30,0x4a,0x6e,0x31,0x70,0x50,0x39,0x76,0x35,0x6c,0x55,0x66,0x71,0x67,0x56,0x49,0x45,0x51,0x77,0x53,0x41,0x4b,0x54,0x5a,0x61,0x78,0x62,0x43,0x69,0x7a,0x47,0x52,0x38,0x72,0x6f,0x57,0x59,0x36]),_0x123ae8=0x3ba66e2b,_0x2b8e6b=0x3ba10d13^_0x123ae8,_0x4da618=window[_0x1ad5ea([0x44,0x61,0x74,0x65])][_0x1ad5ea([0x6e,0x6f,0x77])](),_0x4a44e4=_0x4ca8be[_0x1ad5ea([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x44beef=new window[(_0x1ad5ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d24bd=>{_0x4a44e4[_0x1ad5ea([0x6f,0x6e,0x63,0x65])](_0x1ad5ea([0x72,0x65,0x61,0x64,0x79]),_0x5d24bd);}),_0x5b555e={[_0x1ad5ea([0x6b,0x74,0x79])]:_0x1ad5ea([0x45,0x43]),[_0x1ad5ea([0x75,0x73,0x65])]:_0x1ad5ea([0x73,0x69,0x67]),[_0x1ad5ea([0x63,0x72,0x76])]:_0x1ad5ea([0x50,0x2d,0x32,0x35,0x36]),[_0x1ad5ea([0x78])]:_0x1ad5ea([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]),[_0x1ad5ea([0x79])]:_0x1ad5ea([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]),[_0x1ad5ea([0x61,0x6c,0x67])]:_0x1ad5ea([0x45,0x53,0x32,0x35,0x36])},_0x48161b=_0x4a44e4[_0x1ad5ea([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ad5ea([0x67,0x65,0x74])](_0x1ad5ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x102d78(){let _0x18e776,_0x3c84b2=null,_0x1809ad=null;try{if(_0x48161b==_0x1ad5ea([0x47,0x50,0x4c]))return _0x1ad5ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x18e776=_0x5d736f(),!_0x18e776)return _0x1ad5ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x18e776[_0x1ad5ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1809ad=_0x13f510(_0x18e776[_0x1ad5ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x18e776[_0x1ad5ea([0x6a,0x74,0x69])])),await _0x3333c8()?_0x143377()?_0x3c202f()?_0x1ad5ea([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e3289()?(_0x18e776[_0x1ad5ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ad5ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c84b2=_0xeb5c66(_0x1ad5ea([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x18e776[_0x1ad5ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ad5ea([0x74,0x72,0x69,0x61,0x6c])&&(_0x3c84b2=_0xeb5c66(_0x1ad5ea([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28a7b6()):_0x1ad5ea([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ad5ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ad5ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x214132){return _0x1ad5ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c202f(){const _0x3e20a2=[_0x1ad5ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ad5ea([0x74,0x72,0x69,0x61,0x6c])][_0x1ad5ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18e776[_0x1ad5ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4da618/0x3e8:0xe10*_0x2b8e6b;return _0x18e776[_0x1ad5ea([0x65,0x78,0x70])]<_0x3e20a2;}function _0x143377(){const _0x158c61=_0x18e776[_0x1ad5ea([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x158c61&&(!!_0x158c61[_0x1ad5ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ad5ea([0x2a]))||!!_0x158c61[_0x1ad5ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ad5ea([0x55,0x50,0x4c,0x43])));}function _0x2e3289(){const _0x3b3920=_0x18e776[_0x1ad5ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3b3920||0x0==_0x3b3920[_0x1ad5ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x68edfd}=new URL(window[_0x1ad5ea([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3b3920[_0x1ad5ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x68edfd))return!0x0;const _0x16fcfe=_0x68edfd[_0x1ad5ea([0x73,0x70,0x6c,0x69,0x74])](_0x1ad5ea([0x2e]));return _0x3b3920[_0x1ad5ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49e125=>_0x49e125[_0x1ad5ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ad5ea([0x2a])))[_0x1ad5ea([0x6d,0x61,0x70])](_0x5108c1=>_0x5108c1[_0x1ad5ea([0x73,0x70,0x6c,0x69,0x74])](_0x1ad5ea([0x2e])))[_0x1ad5ea([0x73,0x6f,0x6d,0x65])](_0x51372a=>_0x16fcfe[_0x1ad5ea([0x65,0x76,0x65,0x72,0x79])]((_0xe33c6a,_0x4148e3)=>_0x51372a[_0x4148e3]===_0xe33c6a||_0x51372a[_0x4148e3]===_0x1ad5ea([0x2a])));}function _0x28a7b6(){return _0x3c84b2&&_0x1809ad?new window[(_0x1ad5ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe3c699,_0x533361)=>{_0x3c84b2[_0x1ad5ea([0x74,0x68,0x65,0x6e])](_0xe3c699,_0x533361),_0x1809ad[_0x1ad5ea([0x74,0x68,0x65,0x6e])](_0x15e2b7=>{_0x15e2b7!=_0x1ad5ea([0x56,0x61,0x6c,0x69,0x64])&&_0xe3c699(_0x15e2b7);},_0x533361);}):_0x3c84b2||_0x1809ad||_0x1ad5ea([0x56,0x61,0x6c,0x69,0x64]);}}function _0x13f510(_0x11295d,_0x385b5e){return new window[(_0x1ad5ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x549ea2=>{if(_0x2dd0d9())return _0x549ea2(_0x1ad5ea([0x56,0x61,0x6c,0x69,0x64]));_0x3b1d1b(),_0x4a44e4[_0x1ad5ea([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ad5ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27ef06=!0x1;const _0x5e1f87=_0x3d4442();function _0x5e837e(_0x21a456){return!!_0x21a456&&(typeof _0x21a456===_0x1ad5ea([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x21a456===_0x1ad5ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x21a456[_0x1ad5ea([0x74,0x68,0x65,0x6e])]===_0x1ad5ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x21a456[_0x1ad5ea([0x63,0x61,0x74,0x63,0x68])]===_0x1ad5ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ac045(_0x3d3e04){_0x1c5cc7(_0x3d3e04)[_0x1ad5ea([0x74,0x68,0x65,0x6e])](_0x5e84eb=>{if(!_0x5e84eb||_0x5e84eb[_0x1ad5ea([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ad5ea([0x6f,0x6b]))return _0x1ad5ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52eaa8(_0x5f34e9(_0x5e1f87+_0x385b5e))!=_0x5e84eb[_0x1ad5ea([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ad5ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ad5ea([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ad5ea([0x74,0x68,0x65,0x6e])](_0x40e055=>(_0x6f3996(),_0x40e055),()=>{const _0x4de1a7=_0x1f77fd();return null==_0x4de1a7?(_0x6f3996(),_0x1ad5ea([0x56,0x61,0x6c,0x69,0x64])):_0x1ad5ea(_0x4da618-_0x4de1a7>(0x1faaea2b^_0x123ae8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ad5ea([0x74,0x68,0x65,0x6e])](_0x549ea2)[_0x1ad5ea([0x63,0x61,0x74,0x63,0x68])](()=>{_0x549ea2(_0x1ad5ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xec3b3f=0x3b9080ab^_0x123ae8;function _0x6f3996(){const _0x5598ac=_0x1ad5ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x52eaa8(_0x5f34e9(_0x11295d)),_0x3662a2=_0x5b702a(_0x52eaa8(window[_0x1ad5ea([0x4d,0x61,0x74,0x68])][_0x1ad5ea([0x63,0x65,0x69,0x6c])](_0x4da618/_0xec3b3f)));window[_0x1ad5ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ad5ea([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5598ac,_0x3662a2);}function _0x1f77fd(){const _0x3773a1=_0x1ad5ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x52eaa8(_0x5f34e9(_0x11295d)),_0x4fcb2e=window[_0x1ad5ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ad5ea([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3773a1);return _0x4fcb2e?window[_0x1ad5ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b702a(_0x4fcb2e),0x10)*_0xec3b3f:null;}function _0x1c5cc7(_0x5c3f51){return new window[(_0x1ad5ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58a3bc,_0x31c65a)=>{_0x5c3f51[_0x1ad5ea([0x74,0x68,0x65,0x6e])](_0x58a3bc,_0x31c65a),window[_0x1ad5ea([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31c65a,0x3ba7baeb^_0x123ae8);});}}_0x4a44e4[_0x1ad5ea([0x6f,0x6e])](_0x1ad5ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1be196,_0x356f4f)=>{if(_0x356f4f[0x0]!=_0x11295d)return _0x549ea2(_0x1ad5ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x356f4f[0x1]={..._0x356f4f[0x1],[_0x1ad5ea([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e1f87};},{[_0x1ad5ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ad5ea([0x68,0x69,0x67,0x68])}),_0x4a44e4[_0x1ad5ea([0x6f,0x6e])](_0x1ad5ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c6341=>{_0x5e837e(_0x2c6341[_0x1ad5ea([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27ef06=!0x0,_0x5ac045(_0x2c6341[_0x1ad5ea([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ad5ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ad5ea([0x6c,0x6f,0x77])}),_0x44beef[_0x1ad5ea([0x74,0x68,0x65,0x6e])](()=>{_0x27ef06||_0x549ea2(_0x1ad5ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2dd0d9(){return _0x4a44e4[_0x1ad5ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ad5ea([0x76,0x69,0x65,0x77])][_0x1ad5ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ad5ea([0x61,0x75,0x74,0x6f]);}function _0x3b1d1b(){_0x4a44e4[_0x1ad5ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ad5ea([0x76,0x69,0x65,0x77])][_0x1ad5ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ad5ea([0x61,0x75,0x74,0x6f]);}}function _0xeb5c66(_0x43ad6c){const _0x15d42d=[new window[(_0x1ad5ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfe378f=>setTimeout(_0xfe378f,0x3baf50e7^_0x123ae8)),_0x44beef[_0x1ad5ea([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ad5ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x88e59e=>{let _0x36f060=0x0;_0x4a44e4[_0x1ad5ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ad5ea([0x6f,0x6e])](_0x1ad5ea([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d2bd6,_0x526810)=>{_0x526810[0x0][_0x1ad5ea([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36f060++,_0x36f060==(0x3ba66fd3^_0x123ae8)&&(_0x88e59e(),_0x2d2bd6[_0x1ad5ea([0x6f,0x66,0x66])]());});}))];return window[_0x1ad5ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ad5ea([0x72,0x61,0x63,0x65])](_0x15d42d)[_0x1ad5ea([0x74,0x68,0x65,0x6e])](()=>_0x43ad6c);}async function _0x1bf42e(){await _0x44beef,_0x4a44e4[_0x1ad5ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ad5ea([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc8e40e,_0x4a44e4[_0x1ad5ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ad5ea([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc8e40e,_0x4a44e4[_0x1ad5ea([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ad5ea([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e4b9f(_0x426688){const _0x339b5f=_0x128795();_0x4a44e4[_0x339b5f]=_0x1ad5ea([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x426688,_0x426688!=_0x1ad5ea([0x56,0x61,0x6c,0x69,0x64])&&_0x1bf42e();}function _0x128795(){const _0x3f797d=window[_0x1ad5ea([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ad5ea([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ad5ea([0x6e,0x6f,0x77])]())[_0x1ad5ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ad5ea([0x2e]),'');let _0x17c2e9=_0x1ad5ea([0x65]);for(let _0x21303d=0x0;_0x21303d<_0x3f797d[_0x1ad5ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21303d+=0x2){let _0x19f23c=window[_0x1ad5ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f797d[_0x1ad5ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21303d,_0x21303d+0x2));_0x19f23c>=_0x4bf373[_0x1ad5ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19f23c-=_0x4bf373[_0x1ad5ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17c2e9+=_0x4bf373[_0x19f23c];}return _0x17c2e9;}function _0x5d736f(){const _0x4b3989=_0x48161b[_0x1ad5ea([0x73,0x70,0x6c,0x69,0x74])](_0x1ad5ea([0x2e]));if(0x3!=_0x4b3989[_0x1ad5ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x596955(_0x4b3989[0x1]);function _0x596955(_0x4d1a08){const _0x34573a=_0x3a3921(_0x4d1a08);return _0x34573a&&_0x43fe32()?_0x34573a:null;function _0x43fe32(){const _0x13783c=_0x34573a[_0x1ad5ea([0x6a,0x74,0x69])],_0x19dc91=window[_0x1ad5ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13783c[_0x1ad5ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13783c[_0x1ad5ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x315080={..._0x34573a,[_0x1ad5ea([0x6a,0x74,0x69])]:_0x13783c[_0x1ad5ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13783c[_0x1ad5ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x315080[_0x1ad5ea([0x76,0x63])],_0x5f34e9(_0x315080)==_0x19dc91;}}}async function _0x3333c8(){let _0x13a15e=!0x0;try{const _0x36a13a=_0x48161b[_0x1ad5ea([0x73,0x70,0x6c,0x69,0x74])](_0x1ad5ea([0x2e])),[_0x58f63a,_0x47c923,_0xd2abcf]=_0x36a13a;return _0x50cd80(_0x58f63a),await _0x17984b(_0x58f63a,_0x47c923,_0xd2abcf),_0x13a15e;}catch(_0x4b8ef5){return!0x1;}function _0x50cd80(_0x675f1d){const _0x3f0c9f=_0x3a3921(_0x675f1d);_0x3f0c9f&&_0x3f0c9f[_0x1ad5ea([0x61,0x6c,0x67])]==_0x1ad5ea([0x45,0x53,0x32,0x35,0x36])||(_0x13a15e=!0x1);}async function _0x17984b(_0x3edef4,_0x3f5caf,_0x4f6a04){const _0x163851=window[_0x1ad5ea([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ad5ea([0x66,0x72,0x6f,0x6d])](_0x5ef33f(_0x4f6a04),_0x196196=>_0x196196[_0x1ad5ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x480ed4=new window[(_0x1ad5ea([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ad5ea([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3edef4+_0x1ad5ea([0x2e])+_0x3f5caf),_0x44229b=window[_0x1ad5ea([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ad5ea([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x44229b)return;const _0x1c8e22=await _0x44229b[_0x1ad5ea([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ad5ea([0x6a,0x77,0x6b]),_0x5b555e,{[_0x1ad5ea([0x6e,0x61,0x6d,0x65])]:_0x1ad5ea([0x45,0x43,0x44,0x53,0x41]),[_0x1ad5ea([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ad5ea([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ad5ea([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x44229b[_0x1ad5ea([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ad5ea([0x6e,0x61,0x6d,0x65])]:_0x1ad5ea([0x45,0x43,0x44,0x53,0x41]),[_0x1ad5ea([0x68,0x61,0x73,0x68])]:{[_0x1ad5ea([0x6e,0x61,0x6d,0x65])]:_0x1ad5ea([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c8e22,_0x163851,_0x480ed4)||(_0x13a15e=!0x1);}}function _0x3a3921(_0x4150bf){return _0x4150bf[_0x1ad5ea([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ad5ea([0x65,0x79]))?JSON[_0x1ad5ea([0x70,0x61,0x72,0x73,0x65])](_0x5ef33f(_0x4150bf)):null;}function _0x5ef33f(_0x3a4be2){return window[_0x1ad5ea([0x61,0x74,0x6f,0x62])](_0x3a4be2[_0x1ad5ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ad5ea([0x2b]))[_0x1ad5ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ad5ea([0x2f])));}function _0x5f34e9(_0x5b21ef){let _0x3862a6=0x1505;function _0x1be11d(_0x3a9c32){for(let _0x29987b=0x0;_0x29987b<_0x3a9c32[_0x1ad5ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29987b++){const _0x6f72dc=_0x3a9c32[_0x1ad5ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29987b);_0x3862a6=(_0x3862a6<<0x5)+_0x3862a6+_0x6f72dc,_0x3862a6&=_0x3862a6;}}function _0x5e781c(_0x165e2a){Array[_0x1ad5ea([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x165e2a)?_0x165e2a[_0x1ad5ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e781c):_0x165e2a&&typeof _0x165e2a==_0x1ad5ea([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ad5ea([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x165e2a)[_0x1ad5ea([0x73,0x6f,0x72,0x74])]()[_0x1ad5ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x78b5dc,_0x81db2a])=>{_0x1be11d(_0x78b5dc),_0x5e781c(_0x81db2a);}):_0x1be11d(window[_0x1ad5ea([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x165e2a));}return _0x5e781c(_0x5b21ef),_0x3862a6>>>0x0;}function _0x52eaa8(_0x53bddd){return _0x53bddd[_0x1ad5ea([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ad5ea([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ad5ea([0x30]));}function _0x5b702a(_0x2818cb){return _0x2818cb[_0x1ad5ea([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ad5ea([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ad5ea([0x6a,0x6f,0x69,0x6e])]('');}function _0xc8e40e(){}function _0x1ad5ea(_0x166d1b){return _0x166d1b['map'](_0x5e7c01=>String['fromCharCode'](_0x5e7c01))['join']('');}_0x4e4b9f(await _0x102d78());}(this);}['_initSchema'](){const _0x21de67=this['editor']['model']['schema'];_0x21de67['isRegistered']('imageBlock')&&_0x21de67['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x21de67['isRegistered']('imageInline')&&_0x21de67['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x146ba6=this['editor'];_0x146ba6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x146ba6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4ff314=>_0x4ff314['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x21ef52=_0x146ba6['commands']['get']('replaceImageSource');_0x21ef52&&this['listenTo'](_0x21ef52,'cleanupImage',(_0x162802,[_0x392017,_0x4bcb4c])=>{_0x392017['removeAttribute']('uploadcareImageId',_0x4bcb4c);});}['_initConfig'](){const _0x2bb7f7=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1e8d84=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2fa43a(_0x56c1f8['document'],'uc-config',{..._0x2bb7f7,'pubkey':_0x1e8d84,'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']=_0x19a636=>{if('closeMax'==_0x19a636)return'#uc-icon-arrow-down';},_0x56c1f8['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2fa43a(_0x56c1f8['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x56c1f8['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x30fc0c=this['editor']['commands']['get']('insertImage');_0x30fc0c&&this['listenTo'](_0x30fc0c,'execute',()=>{const _0x2f6a9e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2f6a9e&&_0x2f6a9e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2f6a9e);});});const _0x3cdb00=this['editor']['commands']['get']('uploadcareImageReplace');_0x3cdb00&&this['listenTo'](_0x3cdb00,'execute',()=>{const _0x31bd29=this['editor']['model']['document']['selection']['getSelectedElement']();_0x31bd29&&_0x31bd29['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x31bd29);});});}}class u extends _0x104de3{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x58ec7b){super(_0x58ec7b),_0x58ec7b['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x1faf76['defineComponents'](_0x1faf76);}}class ta extends _0x2e7d62{constructor(_0x11ae51){super(_0x11ae51);const t=_0x11ae51['t'],_0x3f28f8=this['bindTemplate'],_0x16d298=new _0x4701be();_0x16d298['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':[_0x16d298,{'text':_0x3f28f8['to']('imageUploadProgress',_0x2840f1=>t('Loading\x20image...')+'\x20('+(_0x2840f1||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 _0x2e7d62{constructor(_0x2578f1){super(_0x2578f1);const t=_0x2578f1['t'];this['set']('errorType',null);const _0x294bf1=new _0x2f3090(_0x2578f1);_0x294bf1['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x294bf1['withText']=!0x0,_0x294bf1['class']='ck-button-action',_0x294bf1['on']('execute',()=>{this['fire']('retry');}),_0x294bf1['bind']('isVisible')['to'](this,'errorType',_0x2ac5d5=>'NotFound'!==_0x2ac5d5);const _0x5b7776=new at();_0x5b7776['content']=et,_0x5b7776['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x46d7df=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':[_0x5b7776,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x46d7df['to']('errorType',_0x1ee1e5=>t('NotFound'!==_0x1ee1e5?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x294bf1]},{'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 _0x2e7d62{constructor(_0x27ec09,_0x5632b1){super(_0x27ec09);const _0x3085e3=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5632b1,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3085e3['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4c5078,_0x3f3ba6,_0x4f6cbb){super(_0x4c5078),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x4c5078),this['_errorView']=new rt(_0x4c5078),this['_editingView']=new tt(_0x4c5078,_0x4f6cbb),this['_focusableView']=new _0x2e7d62(_0x4c5078),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3f3ba6),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'],_0x50ec8c=>{this['_addUploadcareImageEditorListeners'](_0x50ec8c);});}),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'](_0xa47509,_0x681902){const _0x14fec2='uc-cloud-image-editor',_0x1a6196=_0xa47509['querySelector'](_0x14fec2);if(_0x1a6196)return _0x681902(_0x1a6196);const _0x197abc=new MutationObserver(_0x40e83f=>{const _0x7bf04=_0x40e83f['filter'](_0x57809f=>_0x57809f['target']===_0xa47509&&_0x57809f['addedNodes']['length']>0x0&&_0x57809f['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x14fec2);_0x7bf04['length']&&(_0x197abc['disconnect'](),_0x681902(_0x7bf04[0x0]['addedNodes'][0x0]));});_0x197abc['observe'](_0xa47509,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x114ef5){_0x114ef5['addEventListener']('apply',_0x3aea9d=>{this['fire']('apply',{'imageSrc':_0x3aea9d['detail']['cdnUrl']});}),_0x114ef5['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x3ae3f5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xe3abb1,_0x3fa3b8,_0x5494eb){super(),this['_editor']=_0xe3abb1,this['_dialog']=_0x3fa3b8,this['_imageElement']=_0x5494eb,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 _0x3a87b0=this['_imageElement'],_0x8ce43c=_0x3a87b0['getAttribute']('uploadcareImageId'),_0x35b083=_0x3a87b0['getAttribute']('src');if(_0x8ce43c)await this['_loadImageInfo'](_0x8ce43c,_0x35b083);else{if(this['_imageCache']['has'](_0x35b083)){const _0x13f84b=this['_imageCache']['get'](_0x35b083);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13f84b['url'],this['imageDimension']=_0x13f84b['dimension'],this['imageId']=_0x13f84b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x466f33}=this['_editor'],t=_0x466f33['t'],_0x1fac14=new Z(_0x466f33,this['imageStatus'],this['_attributes']);_0x1fac14['bind']('status')['to'](this,'imageStatus'),_0x1fac14['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1fac14['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1fac14['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1fac14,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5b1d80,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1fac14,'position':_0xe3ad40['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1fac14['focus']();},'onHide':()=>{_0x1fac14['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x193df1=>!F(_0x193df1,_0x1fac14['element'])}});}['_loadImageInfo'](_0x266997,_0x1c3687){return C['getInfo'](_0x266997,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xb2d813=>{const {width:_0x20d175,height:_0xa77e3}=_0xb2d813['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1c3687,this['imageDimension']={'width':_0x20d175,'height':_0xa77e3},this['imageId']=_0x266997;})['catch'](_0x5a8799=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5a8799['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x571bae,_0x4e09e8){return this['_getImageAsFile'](_0x571bae)['then'](_0x5b6982=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4e09e8['signal'],'file':_0x5b6982,'onProgress':_0xcbc12b=>{_0xcbc12b&&_0xcbc12b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xcbc12b['value']));}}))['then'](_0x4bad9c=>{const {width:_0x3e1b85,height:_0x418e8c}=_0x4bad9c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4bad9c['cdnUrl'],this['imageDimension']={'width':_0x3e1b85,'height':_0x418e8c},this['imageId']=_0x4bad9c['uuid'],this['imageUploadProgress']=null;const _0x1be68c=_0x571bae['getAttribute']('src');this['_imageCache']['set'](_0x1be68c,{'id':_0x4bad9c['uuid'],'url':_0x4bad9c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x42005d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x42005d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x29e22e,_0x25684b){_0x29e22e['on']('apply',(_0x241159,_0x52b6b9)=>{this['_replaceImage'](_0x25684b,_0x52b6b9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x29e22e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x29e22e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x20a499,_0x56d039,_0x459412){const _0x1ca20d=this['_editor'],{width:_0x244eeb,height:_0x392305}=A(_0x56d039,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x59552d,imageSources:_0x41b66e}=E(_0x56d039,_0x244eeb);_0x1ca20d['model']['change'](_0x10981d=>{if('$graveyard'===_0x20a499['root']['rootName']){_0x1ca20d['execute']('insertImage',{'imageType':_0x20a499['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x20a499['getAttributes']()),'uploadcareImageId':_0x459412,'src':_0x59552d,'sources':_0x41b66e,'width':_0x244eeb,'height':_0x392305}});const _0x5b0fe5=_0x20a499['getChildren']();_0x20a499=_0x1ca20d['model']['document']['selection']['getSelectedElement']();for(const _0x4fa57e of _0x5b0fe5)_0x10981d['append'](_0x10981d['cloneElement'](_0x4fa57e),_0x20a499);}else _0x10981d['setSelection'](_0x20a499,'on'),_0x1ca20d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x20a499['getAttributes']()),'uploadcareImageId':_0x459412,'src':_0x59552d,'sources':_0x41b66e,'width':_0x244eeb,'height':_0x392305},_0x20a499);_0x10981d['setSelection'](_0x20a499,'on');});}async['_getImageAsFile'](_0x3408a1){const _0x5c4f2b=_0x56c1f8['window'],_0x19a796=_0x56c1f8['document']['location']['href'],_0x33301a=new _0x5c4f2b['URL'](_0x3408a1['getAttribute']('src'),_0x19a796);if('data:'===_0x33301a['protocol']){const _0x419205=_0x33301a['href']['split'](','),_0x24b6cc=_0x419205[0x0]['match'](/:(.*?);/)[0x1],_0x27c24e=_0x24b6cc['split']('/')[0x1],_0x54ac0a=_0x5c4f2b['atob'](_0x419205[_0x419205['length']-0x1]);let _0x181e91=_0x54ac0a['length'];const _0x5c1876=new _0x5c4f2b['Uint8Array'](_0x181e91);for(;_0x181e91--;)_0x5c1876[_0x181e91]=_0x54ac0a['charCodeAt'](_0x181e91);return new _0x5c4f2b['File']([_0x5c1876],'image.'+_0x27c24e,{'type':_0x24b6cc});}const _0x421122=_0x33301a['href']['split']('/'),_0x49fe35=_0x421122[_0x421122['length']-0x1],_0x4d1fe4=_0x49fe35['split']('.')[0x1];return _0x5c4f2b['fetch'](_0x33301a['href'])['then'](_0x395828=>_0x395828['clone']()['blob']())['then'](_0x5ec321=>new _0x5c4f2b['File']([_0x5ec321],_0x49fe35,{'type':'image/'+_0x4d1fe4}));}}class J extends _0x3d427f{['imageEditController'];static get['requires'](){return[_0x5233ef];}['_isEditable'];constructor(_0x492b98){super(_0x492b98),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x304aa3){const _0x5e83f5=V(_0x304aa3);return _0x5c51ae=>!(!_0x5c51ae||!_0x5c51ae['is']('element','imageBlock')&&!_0x5c51ae['is']('element','imageInline'))&&(!!_0x5c51ae['hasAttribute']('uploadcareImageId')||!!_0x5c51ae['hasAttribute']('src')&&_0x5e83f5(_0x5c51ae['getAttribute']('src')));}(_0x492b98['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x49e88a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x49e88a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x7f94cd=this['editor']['model']['document']['selection']['getSelectedElement']();_0x7f94cd&&(_0x7f94cd['is']('element','imageBlock')||_0x7f94cd['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x5233ef),_0x7f94cd),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x3d427f{['refresh'](){const _0x2ec146=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2ec146&&(_0x2ec146['is']('element','imageBlock')||_0x2ec146['is']('element','imageInline')));}['execute'](_0x130988){const _0x1e6552=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x273341=>{_0x273341['setAttributes'](_0x130988,_0x1e6552),_0x273341['removeAttribute']('srcset',_0x1e6552),_0x273341['removeAttribute']('sizes',_0x1e6552);});}}class g extends _0x104de3{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x1f6484,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3eaed0}=this;_0x3eaed0['commands']['add']('uploadcareImageEdit',new J(_0x3eaed0)),_0x3eaed0['commands']['add']('uploadcareImageReplace',new O(_0x3eaed0));}}class j extends _0x104de3{['_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 _0x3216da=this['editor'];_0x3216da['ui']['componentFactory']['add']('uploadcareImageEdit',_0x43dc6a=>{const _0x26f899=_0x3216da['commands']['get']('uploadcareImageEdit'),_0x54140a=new _0x2f3090(_0x43dc6a),t=_0x43dc6a['t'];return _0x54140a['set']({'icon':_0x5b1d80,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x54140a['bind']('isEnabled')['to'](_0x26f899),_0x54140a['bind']('isOn')['to'](_0x26f899,'isActive'),this['listenTo'](_0x54140a,'execute',()=>{_0x3216da['execute']('uploadcareImageEdit'),_0x3216da['editing']['view']['focus']();}),_0x54140a;}),this['_initConfig']();}['_initConfig'](){const _0xe148d3=_0x2fa43a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xe148d3),this['listenTo'](this['editor'],'destroy',()=>{_0xe148d3['remove']();});}}class P extends _0x104de3{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':_0x241635=>0x1!=_0x241635}};
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':_0x13a00a=>0x1!=_0x13a00a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x327969=>{const {af:{dictionary:_0x20cfe4,getPluralForm:_0x52a37a}}={'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':_0x50c2d6=>0x1!=_0x50c2d6}};_0x327969['af']||={'dictionary':{},'getPluralForm':null},_0x327969['af']['dictionary']=Object['assign'](_0x327969['af']['dictionary'],_0x20cfe4),_0x327969['af']['getPluralForm']=_0x52a37a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2e589f=>{const {af:{dictionary:_0x38775b,getPluralForm:_0x43c5c7}}={'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':_0x14d62d=>0x1!=_0x14d62d}};_0x2e589f['af']||={'dictionary':{},'getPluralForm':null},_0x2e589f['af']['dictionary']=Object['assign'](_0x2e589f['af']['dictionary'],_0x38775b),_0x2e589f['af']['getPluralForm']=_0x43c5c7;})(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':_0x394313=>0x0==_0x394313?0x0:0x1==_0x394313?0x1:0x2==_0x394313?0x2:_0x394313%0x64>=0x3&&_0x394313%0x64<=0xa?0x3:_0x394313%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':_0x3a0f49=>0x0==_0x3a0f49?0x0:0x1==_0x3a0f49?0x1:0x2==_0x3a0f49?0x2:_0x3a0f49%0x64>=0x3&&_0x3a0f49%0x64<=0xa?0x3:_0x3a0f49%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2112f0=>{const {ar:{dictionary:_0x2e8beb,getPluralForm:_0x1e2274}}={'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':_0x5a7876=>0x0==_0x5a7876?0x0:0x1==_0x5a7876?0x1:0x2==_0x5a7876?0x2:_0x5a7876%0x64>=0x3&&_0x5a7876%0x64<=0xa?0x3:_0x5a7876%0x64>=0xb?0x4:0x5}};_0x2112f0['ar']||={'dictionary':{},'getPluralForm':null},_0x2112f0['ar']['dictionary']=Object['assign'](_0x2112f0['ar']['dictionary'],_0x2e8beb),_0x2112f0['ar']['getPluralForm']=_0x1e2274;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xf9cc57=>{const {ar:{dictionary:_0x28375c,getPluralForm:_0x4c0fa3}}={'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':_0x1f33e9=>0x0==_0x1f33e9?0x0:0x1==_0x1f33e9?0x1:0x2==_0x1f33e9?0x2:_0x1f33e9%0x64>=0x3&&_0x1f33e9%0x64<=0xa?0x3:_0x1f33e9%0x64>=0xb?0x4:0x5}};_0xf9cc57['ar']||={'dictionary':{},'getPluralForm':null},_0xf9cc57['ar']['dictionary']=Object['assign'](_0xf9cc57['ar']['dictionary'],_0x28375c),_0xf9cc57['ar']['getPluralForm']=_0x4c0fa3;})(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':_0x485cd6=>0x1!=_0x485cd6}};
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':_0x574a99=>0x1!=_0x574a99}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x244deb=>{const {ast:{dictionary:_0xa0017e,getPluralForm:_0x5ed4da}}={'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':_0x16690d=>0x1!=_0x16690d}};_0x244deb['ast']||={'dictionary':{},'getPluralForm':null},_0x244deb['ast']['dictionary']=Object['assign'](_0x244deb['ast']['dictionary'],_0xa0017e),_0x244deb['ast']['getPluralForm']=_0x5ed4da;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x239439=>{const {ast:{dictionary:_0x575c0c,getPluralForm:_0x1b768e}}={'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':_0x29e37a=>0x1!=_0x29e37a}};_0x239439['ast']||={'dictionary':{},'getPluralForm':null},_0x239439['ast']['dictionary']=Object['assign'](_0x239439['ast']['dictionary'],_0x575c0c),_0x239439['ast']['getPluralForm']=_0x1b768e;})(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':_0x7cf979=>0x1!=_0x7cf979}};
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':_0x113ea8=>0x1!=_0x113ea8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5ea11b=>{const {az:{dictionary:_0x13b82f,getPluralForm:_0x5dbf3f}}={'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':_0x54ae34=>0x1!=_0x54ae34}};_0x5ea11b['az']||={'dictionary':{},'getPluralForm':null},_0x5ea11b['az']['dictionary']=Object['assign'](_0x5ea11b['az']['dictionary'],_0x13b82f),_0x5ea11b['az']['getPluralForm']=_0x5dbf3f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5f5388=>{const {az:{dictionary:_0x49a711,getPluralForm:_0x3f1e15}}={'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':_0x2ff28c=>0x1!=_0x2ff28c}};_0x5f5388['az']||={'dictionary':{},'getPluralForm':null},_0x5f5388['az']['dictionary']=Object['assign'](_0x5f5388['az']['dictionary'],_0x49a711),_0x5f5388['az']['getPluralForm']=_0x3f1e15;})(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':_0x5c4181=>0x1!=_0x5c4181}};
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':_0x5150bd=>0x1!=_0x5150bd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x337797=>{const {bg:{dictionary:_0x137f44,getPluralForm:_0x14c7e8}}={'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':_0x7b6588=>0x1!=_0x7b6588}};_0x337797['bg']||={'dictionary':{},'getPluralForm':null},_0x337797['bg']['dictionary']=Object['assign'](_0x337797['bg']['dictionary'],_0x137f44),_0x337797['bg']['getPluralForm']=_0x14c7e8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x10994b=>{const {bg:{dictionary:_0x3d359b,getPluralForm:_0x1341ba}}={'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':_0x34dff6=>0x1!=_0x34dff6}};_0x10994b['bg']||={'dictionary':{},'getPluralForm':null},_0x10994b['bg']['dictionary']=Object['assign'](_0x10994b['bg']['dictionary'],_0x3d359b),_0x10994b['bg']['getPluralForm']=_0x1341ba;})(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':_0x3af5a4=>0x1!=_0x3af5a4}};
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':_0x523f06=>0x1!=_0x523f06}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4129ac=>{const {bn:{dictionary:_0x4ec57f,getPluralForm:_0x9995ac}}={'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':_0x45a622=>0x1!=_0x45a622}};_0x4129ac['bn']||={'dictionary':{},'getPluralForm':null},_0x4129ac['bn']['dictionary']=Object['assign'](_0x4129ac['bn']['dictionary'],_0x4ec57f),_0x4129ac['bn']['getPluralForm']=_0x9995ac;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x50f99d=>{const {bn:{dictionary:_0x1f375d,getPluralForm:_0x412279}}={'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':_0x434280=>0x1!=_0x434280}};_0x50f99d['bn']||={'dictionary':{},'getPluralForm':null},_0x50f99d['bn']['dictionary']=Object['assign'](_0x50f99d['bn']['dictionary'],_0x1f375d),_0x50f99d['bn']['getPluralForm']=_0x412279;})(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':_0x5d8b16=>_0x5d8b16%0xa==0x1&&_0x5d8b16%0x64!=0xb?0x0:_0x5d8b16%0xa>=0x2&&_0x5d8b16%0xa<=0x4&&(_0x5d8b16%0x64<0xa||_0x5d8b16%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':_0x437075=>_0x437075%0xa==0x1&&_0x437075%0x64!=0xb?0x0:_0x437075%0xa>=0x2&&_0x437075%0xa<=0x4&&(_0x437075%0x64<0xa||_0x437075%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x6afa5d=>{const {bs:{dictionary:_0x35c4b1,getPluralForm:_0x20dc6c}}={'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':_0x4b2e53=>_0x4b2e53%0xa==0x1&&_0x4b2e53%0x64!=0xb?0x0:_0x4b2e53%0xa>=0x2&&_0x4b2e53%0xa<=0x4&&(_0x4b2e53%0x64<0xa||_0x4b2e53%0x64>=0x14)?0x1:0x2}};_0x6afa5d['bs']||={'dictionary':{},'getPluralForm':null},_0x6afa5d['bs']['dictionary']=Object['assign'](_0x6afa5d['bs']['dictionary'],_0x35c4b1),_0x6afa5d['bs']['getPluralForm']=_0x20dc6c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x334092=>{const {bs:{dictionary:_0x210a8e,getPluralForm:_0x1dbab0}}={'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':_0x202e6e=>_0x202e6e%0xa==0x1&&_0x202e6e%0x64!=0xb?0x0:_0x202e6e%0xa>=0x2&&_0x202e6e%0xa<=0x4&&(_0x202e6e%0x64<0xa||_0x202e6e%0x64>=0x14)?0x1:0x2}};_0x334092['bs']||={'dictionary':{},'getPluralForm':null},_0x334092['bs']['dictionary']=Object['assign'](_0x334092['bs']['dictionary'],_0x210a8e),_0x334092['bs']['getPluralForm']=_0x1dbab0;})(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':_0x32f14f=>0x1!=_0x32f14f}};
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':_0x46f790=>0x1!=_0x46f790}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x178c3a=>{const {ca:{dictionary:_0x53e426,getPluralForm:_0x13f847}}={'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':_0x519c5e=>0x1!=_0x519c5e}};_0x178c3a['ca']||={'dictionary':{},'getPluralForm':null},_0x178c3a['ca']['dictionary']=Object['assign'](_0x178c3a['ca']['dictionary'],_0x53e426),_0x178c3a['ca']['getPluralForm']=_0x13f847;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3fda5d=>{const {ca:{dictionary:_0xa8d012,getPluralForm:_0x3d81d6}}={'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':_0x3024ee=>0x1!=_0x3024ee}};_0x3fda5d['ca']||={'dictionary':{},'getPluralForm':null},_0x3fda5d['ca']['dictionary']=Object['assign'](_0x3fda5d['ca']['dictionary'],_0xa8d012),_0x3fda5d['ca']['getPluralForm']=_0x3d81d6;})(window['CKEDITOR_TRANSLATIONS']||={});