@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250414.0 → 0.0.0-nightly-20250417.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4795e5,Command as _0x1f2fdf}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x27d626,IconGooglePhotos as _0x7b0b2e,IconGoogleDrive as _0x5cbcfe,IconFacebook as _0x5de27b,IconDropbox as _0x1f3291,IconUploadcareLink as _0x23bfd4,IconUploadcareImageUpload as _0x50852b,IconError as et,IconUploadcareImageEdit as _0x34fc54}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2d1fe9,MenuBarMenuListItemButtonView as _0x3e1b81,View as _0xf06871,FocusCycler as _0x2c97ab,Dialog as _0x254d21,DialogViewPosition as _0xf27e0,SpinnerView as _0x42e712,IconView as at,Notification as _0x30ce61}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2428bb,DomEmitterMixin as _0x1c95ac,global as _0x1eb234,getAncestors as _0x39b347,ObservableMixin as _0x4715c1,createElement as _0xb378bf,uid as _0x392b88}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x35ff3e}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x22d38d,info as _0x484749}from'@uploadcare/upload-client';import*as _0x55c367 from'@uploadcare/file-uploader';var o=function(_0x33bda4){return _0x33bda4['Local']='local',_0x33bda4['URL']='url',_0x33bda4['Dropbox']='dropbox',_0x33bda4['GDrive']='gdrive',_0x33bda4['Facebook']='facebook',_0x33bda4['GPhotos']='gphotos',_0x33bda4['OneDrive']='onedrive',_0x33bda4;}({});function _(_0xa7d13e,_0x4f3a35,_0x26cd3c){const t=_0xa7d13e['t'],_0x34a9ae=_0xa7d13e['t'];switch(_0x4f3a35){case o['Local']:return{'text':_0x34a9ae('Insert'===_0x26cd3c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x34a9ae('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x26cd3c?_0x34a9ae('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x34a9ae('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x26cd3c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x26cd3c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x26cd3c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x26cd3c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x26cd3c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4f3a35;}}class e extends _0x4795e5{['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 _0x40d920=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3ff8b5;for(const _0x43cfd5 in _0x40d920){const _0x8e5300=_0x43cfd5,_0xa42556=_0x40d920[_0x8e5300];if('uploadcareLicenseKeyValid'==_0xa42556||'uploadcareLicenseKeyInvalid'==_0xa42556||'uploadcareLicenseKeyExpired'==_0xa42556||'uploadcareLicenseKeyDomainLimit'==_0xa42556||'uploadcareLicenseKeyNotAllowed'==_0xa42556||'uploadcareLicenseKeyEvaluationLimit'==_0xa42556||'uploadcareLicenseKeyTrialLimit'==_0xa42556||'uploadcareLicenseKeyUsageLimit'==_0xa42556){delete _0x40d920[_0x8e5300],_0x3ff8b5=_0xa42556,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3ff8b5&&_0x40d920['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3ff8b5&&_0x40d920['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3ff8b5&&_0x40d920['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3ff8b5&&_0x40d920['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3ff8b5&&_0x40d920['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3ff8b5&&_0x40d920['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3ff8b5&&_0x40d920['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x353228}=this,_0x5bc023=_0x353228['commands']['get']('uploadcare');if(!_0x5bc023)return;const _0x2987d9=this['_normalizeConfigSourceList'](_0x353228['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x162d5c,_0x3c8f1d)=>{const _0x454135=this['_getIntegrationKey'](_0x3c8f1d['type']);return _0x162d5c[_0x454135]||(_0x162d5c[_0x454135]=[]),_0x162d5c[_0x454135]['push'](_0x3c8f1d),_0x162d5c;},{});_0x353228['plugins']['has']('ImageInsertUI')&&_0x353228['commands']['get']('uploadcare')&&Object['entries'](_0x2987d9)['forEach'](([_0x3289e1,_0x28c8f9])=>{_0x353228['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3289e1,'observable':()=>_0x5bc023,'buttonViewCreator':()=>this['_createToolbarButton'](_0x28c8f9),'formViewCreator':()=>this['_createDropdownButtons'](_0x28c8f9),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x28c8f9),'override':'assetManager'!==_0x3289e1});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x53082d){const {locale:_0x170fa6}=this['editor'];return _0x53082d['map'](_0x2eb1d9=>{const _0x221204=_(_0x170fa6,_0x2eb1d9,'Insert');switch(_0x2eb1d9){case o['Local']:return{'icon':_0x50852b,'type':o['Local'],..._0x221204};case o['URL']:return{'icon':_0x23bfd4,'type':o['URL'],..._0x221204};case o['Dropbox']:return{'icon':_0x1f3291,'type':o['Dropbox'],..._0x221204};case o['Facebook']:return{'icon':_0x5de27b,'type':o['Facebook'],..._0x221204};case o['GDrive']:return{'icon':_0x5cbcfe,'type':o['GDrive'],..._0x221204};case o['GPhotos']:return{'icon':_0x7b0b2e,'type':o['GPhotos'],..._0x221204};case o['OneDrive']:return{'icon':_0x27d626,'type':o['OneDrive'],..._0x221204};}});}['_getIntegrationKey'](_0x325be9){switch(_0x325be9){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x6e9727,_0x5ab8f8){const _0x409121=this['editor'],_0x279bb0=new _0x6e9727(_0x409121['locale']),_0x4a947e=_0x409121['commands']['get']('uploadcare');return _0x279bb0['bind']('isEnabled')['to'](_0x4a947e),_0x279bb0['on']('execute',()=>{_0x4a947e['execute'](_0x5ab8f8);}),_0x279bb0;}['_createToolbarButton'](_0x1b99b2){const {locale:_0x2d4d9c}=this['editor'],_0x3b2f41=this['editor']['plugins']['get']('ImageInsertUI'),_0x150b8c=_0x1b99b2[0x0],_0x1ecc03=this['_createButton'](_0x2d1fe9,_0x150b8c['type']);return _0x1ecc03['icon']=_0x150b8c['icon'],_0x1ecc03['bind']('label')['to'](_0x3b2f41,'isImageSelected',_0xd270d6=>_(_0x2d4d9c,_0x150b8c['type'],_0xd270d6?'Replace':'Insert')['text']),_0x1ecc03['tooltip']=!0x0,_0x1ecc03;}['_createDropdownButtons'](_0x3c723c){const {locale:_0x2892a8}=this['editor'],_0x37d478=this['editor']['plugins']['get']('ImageInsertUI');return _0x3c723c['map'](_0x770baf=>{const _0x3c4da6=this['_createButton'](_0x2d1fe9,_0x770baf['type']);return _0x3c4da6['withText']=!0x0,_0x3c4da6['icon']=_0x770baf['icon'],_0x3c4da6['bind']('label')['to'](_0x37d478,'isImageSelected',_0x1e625a=>_(_0x2892a8,_0x770baf['type'],_0x1e625a?'Replace':'Insert')['text']),_0x3c4da6;});}['_createMenuBarButtons'](_0x59ed27){return _0x59ed27['map'](_0x5f09ed=>{const _0xfd4ea8=this['_createButton'](_0x3e1b81,_0x5f09ed['type']);return _0xfd4ea8['icon']=_0x5f09ed['icon'],_0xfd4ea8['label']=_0x5f09ed['shortText'],_0xfd4ea8;});}}class q extends _0xf06871{['focusTracker'];['focusCycler'];constructor(_0x144c77){super(_0x144c77),this['focusTracker']=new _0x2428bb(),this['focusCycler']=new _0x2c97ab({'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(_0x3a12ab){super(_0x3a12ab),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(_0x15452b,_0x445782){const _0x1c4f2e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1e9510=>_0x1e9510<=_0x445782)['map'](_0x1c59ae=>_0x15452b['replace'](/\/$/,'')+'/-/resize/'+_0x1c59ae+'x/\x20'+_0x1c59ae+'w');return{'imageFallbackUrl':_0x15452b,'imageSources':[{'srcset':_0x1c4f2e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x445782+'px)\x20100vw,\x20'+_0x445782+'px','type':'image/webp'}]};}function A(_0x133fc7,_0x5ac008,_0x270571){const _0x3ff1b4=_0x133fc7['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3ff1b4?parseInt(_0x3ff1b4[0x1],0xa):_0x5ac008,'height':_0x3ff1b4?parseInt(_0x3ff1b4[0x2],0xa):_0x270571};}function m(_0x32c233,_0x4d9c99){const _0x380cf1=Object['create'](_0x1c95ac),_0x64ac41=_0x32c233['plugins']['get']('ImageUtils'),_0x591990=_0x32c233['editing']['mapper']['toViewElement'](_0x4d9c99),_0x55fe7d=_0x64ac41['findViewImgElement'](_0x591990),_0x1f1cf8=_0x32c233['editing']['view']['domConverter']['viewToDom'](_0x55fe7d),_0xc54b61=_0x4d9c99['getAttribute']('width'),_0x1412a6=_0x4d9c99['getAttribute']('height'),_0x131eda='image-processing';_0x32c233['editing']['view']['change'](_0xf6ee87=>{_0xf6ee87['addClass'](_0x131eda,_0x591990),_0xf6ee87['setStyle']('aspect-ratio',_0xc54b61+'/'+_0x1412a6,_0x55fe7d);}),_0x380cf1['listenTo'](_0x1f1cf8,'load',()=>{_0x380cf1['stopListening'](_0x1f1cf8,'load'),_0x32c233['editing']['view']['change'](_0x3371fa=>{_0x3371fa['removeClass'](_0x131eda,_0x591990),_0x3371fa['removeStyle']('aspect-ratio',_0x55fe7d);});});}function V(_0x5532dd){if(Array['isArray'](_0x5532dd)){const _0x3c6c73=_0x5532dd['map'](V);return _0x172dcd=>_0x3c6c73['some'](_0x3908e9=>_0x3908e9(_0x172dcd));}if('origin'==_0x5532dd){const _0x457fde=_0x1eb234['window']['location']['origin'];return _0x35e3cd=>new URL(_0x35e3cd,_0x1eb234['document']['baseURI'])['origin']==_0x457fde;}return'function'==typeof _0x5532dd?_0x5532dd:_0x5532dd instanceof RegExp?_0x43ed04=>!(!_0x43ed04['match'](_0x5532dd)&&!_0x43ed04['replace'](/^https?:\/\//,'')['match'](_0x5532dd)):()=>!0x1;}function F(_0x50d56a,_0x736cc){return _0x39b347(_0x50d56a['target'])['includes'](_0x736cc);}class l extends/* #__PURE__ -- @preserve */
24
- _0x4715c1(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0xb5e908,_0x59a84d,_0x563877){super(),this['_editor']=_0xb5e908,this['_editing']=_0x59a84d,this['_dialog']=_0xb5e908['plugins']['get'](_0x254d21),this['_api']=_0x59a84d['ctxElement']['getAPI'](),this['_type']=_0x563877,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:_0x58c943,model:_0x22ff7c}=this['_editor'],_0x5020b5=_0x22ff7c['document']['selection']['getSelectedElement'](),_0x29a920=_0x5020b5&&(_0x5020b5['is']('element','imageBlock')||_0x5020b5['is']('element','imageInline'));this['_formView']=new S(_0x58c943),this['_dialog']['show']({'id':'uploadCare','icon':_0x50852b,'title':_(_0x58c943,this['_type'],_0x29a920?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xf27e0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4974c3=>!F(_0x4974c3,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3025be}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x18abbe=>{const _0xdf0af1=_0x3025be['length'];for(const _0xfbdd58 of _0x3025be){const _0x53f65b=_0xfbdd58===_0x3025be[_0xdf0af1-0x1],{cdnUrl:_0x1084eb,fileInfo:_0x37c9d3}=_0xfbdd58;if(!_0x1084eb||!_0x37c9d3)continue;const {width:_0x23b814,height:_0x11a024}=_0x37c9d3['imageInfo'],_0x5834c6=A(_0x1084eb,_0x23b814,_0x11a024),_0xf64640=E(_0x1084eb,_0x5834c6['width']),_0x2bd05b={'id':_0x37c9d3['uuid'],'type':'image','attributes':{'imageDimension':_0x5834c6,..._0xf64640}};this['_insertAsset'](_0x2bd05b,_0x53f65b,_0x18abbe);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x42108a=>{'idle'===_0x42108a['detail']['status']&&!_0x42108a['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x217e59,_0x5478c4,_0x235ae2){const _0x3706d1=this['_editor']['model']['document']['selection'],_0x5d4e16=_0x3706d1['getSelectedElement'](),_0x4074ce=!(!_0x5d4e16||!_0x5d4e16['is']('element','imageInline'));_0x235ae2['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x217e59,_0x4074ce),_0x5478c4||_0x235ae2['setSelection'](_0x3706d1['getLastPosition']());}['_insertImage'](_0xb52973,_0x2a4f03){const _0x4aa25d=this['_editor'],{imageDimension:_0x466c36,imageFallbackUrl:_0x4bcf85,imageSources:_0x390b34}=_0xb52973['attributes'];_0x4aa25d['execute']('insertImage',{'imageType':_0x2a4f03?'imageInline':null,'source':{'uploadcareImageId':_0xb52973['id'],'src':_0x4bcf85,'sources':_0x390b34,..._0x466c36}});}}class n extends _0x1f2fdf{['_editing'];['_controller']=null;static get['requires'](){return[_0x254d21,i];}constructor(_0x45fe70){super(_0x45fe70),this['_editing']=_0x45fe70['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x53f58c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x53f58c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x36cdf2,publicKey:_0x418522,signal:_0xadd2b,onProgress:_0x3adfe5}){return _0x22d38d(_0x36cdf2,{'publicKey':_0x418522,'store':'auto','signal':_0xadd2b,'onProgress':_0x3adfe5});}static['getInfo'](_0xcf3c03,_0x2ae6d0){return _0x484749(_0xcf3c03,_0x2ae6d0);}}class p extends _0x4795e5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x35ff3e,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2e7364=this['editor'];if(!!!_0x2e7364['config']['get']('uploadcare'))return;_0x2e7364['plugins']['get'](_0x35ff3e)['createUploadAdapter']=_0x364496=>new x(_0x364496,_0x2e7364),_0x2e7364['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xaaad83,{imageElement:_0x32c8d4,data:_0x5209f0})=>{_0x2e7364['model']['change'](_0x586e2f=>{_0x586e2f['setAttribute']('uploadcareImageId',_0x5209f0['uploadcareImageId'],_0x32c8d4);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x331a60,_0x3062e2){this['loader']=_0x331a60,this['editor']=_0x3062e2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5a1019=this['editor']['config']['get']('uploadcare.pubkey'),_0x5d0309=await this['loader']['file'];return C['upload']({'file':_0x5d0309,'publicKey':_0x5a1019,'signal':this['controller']['signal'],'onProgress':_0x5d43c9=>{_0x5d43c9&&_0x5d43c9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5d43c9['value']);}})['then'](async _0x40f002=>{const {imageFallbackUrl:_0x449d9b,imageSources:_0x5437e9}=E(_0x40f002['cdnUrl'],_0x40f002['imageInfo']['width']);return{'uploadcareImageId':_0x40f002['uuid'],'default':_0x449d9b,'sources':_0x5437e9};})['catch'](()=>{const _0x4410a1=t('Cannot\x20upload\x20file:')+('\x20'+_0x5d0309['name']+'.');return Promise['reject'](_0x4410a1);});}['abort'](){this['controller']['abort']();}}class i extends _0x4795e5{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x254d21];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x1cba7b=this['editor'];_0x1cba7b['commands']['add']('uploadcare',new n(_0x1cba7b));}['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 _0x55a24a=_0x1eb234['document']['querySelector']('input[uploadcare-file-input]');_0x55a24a&&_0x55a24a['remove']();}),async function(_0x558de3){const _0x37be92=_0x113db0([0x36,0x62,0x6c,0x31,0x33,0x7a,0x69,0x53,0x65,0x63,0x30,0x37,0x71,0x32,0x6b,0x58,0x5a,0x51,0x34,0x77,0x75,0x70,0x79,0x46,0x41,0x72,0x6e,0x38,0x74,0x67,0x4c,0x35,0x64,0x55,0x44,0x56,0x66,0x78,0x49,0x54,0x47,0x4e,0x61,0x6d,0x39,0x4f,0x68,0x42,0x4d,0x45,0x50,0x52,0x6f,0x59,0x48,0x76,0x57,0x43,0x73,0x4b,0x4a,0x6a]),_0x2569a4=0x5f1a9ec5,_0x3caf5c=0x5f1dfbc5^_0x2569a4,_0x2278bb=window[_0x113db0([0x44,0x61,0x74,0x65])][_0x113db0([0x6e,0x6f,0x77])](),_0x1084c8=_0x558de3[_0x113db0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x329b67=new window[(_0x113db0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c91a2=>{_0x1084c8[_0x113db0([0x6f,0x6e,0x63,0x65])](_0x113db0([0x72,0x65,0x61,0x64,0x79]),_0x5c91a2);}),_0x4e10a1={[_0x113db0([0x6b,0x74,0x79])]:_0x113db0([0x45,0x43]),[_0x113db0([0x75,0x73,0x65])]:_0x113db0([0x73,0x69,0x67]),[_0x113db0([0x63,0x72,0x76])]:_0x113db0([0x50,0x2d,0x32,0x35,0x36]),[_0x113db0([0x78])]:_0x113db0([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]),[_0x113db0([0x79])]:_0x113db0([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]),[_0x113db0([0x61,0x6c,0x67])]:_0x113db0([0x45,0x53,0x32,0x35,0x36])},_0x3a2331=_0x1084c8[_0x113db0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x113db0([0x67,0x65,0x74])](_0x113db0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x193094(){let _0x4676e1,_0x455075=null,_0x430cde=null;try{if(_0x3a2331==_0x113db0([0x47,0x50,0x4c]))return _0x113db0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4676e1=_0x4c52e7(),!_0x4676e1)return _0x113db0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4676e1[_0x113db0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x430cde=_0xbe9750(_0x4676e1[_0x113db0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4676e1[_0x113db0([0x6a,0x74,0x69])])),await _0x2b359e()?_0x16d41e()?_0x323232()?_0x113db0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3db43c()?(_0x4676e1[_0x113db0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x113db0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x455075=_0x1e0a94(_0x113db0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4676e1[_0x113db0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x113db0([0x74,0x72,0x69,0x61,0x6c])&&(_0x455075=_0x1e0a94(_0x113db0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6e359c()):_0x113db0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x113db0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x113db0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x426d89){return _0x113db0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x323232(){const _0x2cf9e7=[_0x113db0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x113db0([0x74,0x72,0x69,0x61,0x6c])][_0x113db0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4676e1[_0x113db0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2278bb/0x3e8:0xe10*_0x3caf5c;return _0x4676e1[_0x113db0([0x65,0x78,0x70])]<_0x2cf9e7;}function _0x16d41e(){const _0x14ce93=_0x4676e1[_0x113db0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14ce93&&(!!_0x14ce93[_0x113db0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113db0([0x2a]))||!!_0x14ce93[_0x113db0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113db0([0x55,0x50,0x4c,0x43])));}function _0x3db43c(){const _0x489710=_0x4676e1[_0x113db0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x489710||0x0==_0x489710[_0x113db0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31d0e1}=new URL(window[_0x113db0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x489710[_0x113db0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31d0e1))return!0x0;const _0x510290=_0x31d0e1[_0x113db0([0x73,0x70,0x6c,0x69,0x74])](_0x113db0([0x2e]));return _0x489710[_0x113db0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27cf74=>_0x27cf74[_0x113db0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113db0([0x2a])))[_0x113db0([0x6d,0x61,0x70])](_0x251b9c=>_0x251b9c[_0x113db0([0x73,0x70,0x6c,0x69,0x74])](_0x113db0([0x2e])))[_0x113db0([0x73,0x6f,0x6d,0x65])](_0x3f326a=>_0x510290[_0x113db0([0x65,0x76,0x65,0x72,0x79])]((_0x5b1db3,_0x52d917)=>_0x3f326a[_0x52d917]===_0x5b1db3||_0x3f326a[_0x52d917]===_0x113db0([0x2a])));}function _0x6e359c(){return _0x455075&&_0x430cde?new window[(_0x113db0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a41ee,_0x4877ed)=>{_0x455075[_0x113db0([0x74,0x68,0x65,0x6e])](_0x2a41ee,_0x4877ed),_0x430cde[_0x113db0([0x74,0x68,0x65,0x6e])](_0x193065=>{_0x193065!=_0x113db0([0x56,0x61,0x6c,0x69,0x64])&&_0x2a41ee(_0x193065);},_0x4877ed);}):_0x455075||_0x430cde||_0x113db0([0x56,0x61,0x6c,0x69,0x64]);}}function _0xbe9750(_0x480367,_0x18ade7){return new window[(_0x113db0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15d291=>{if(_0x29f04d())return _0x15d291(_0x113db0([0x56,0x61,0x6c,0x69,0x64]));_0x382f2b(),_0x1084c8[_0x113db0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x113db0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4fc0b9=!0x1;const _0x4f24fe=_0x392b88();function _0x56df57(_0x82f578){return!!_0x82f578&&(typeof _0x82f578===_0x113db0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x82f578===_0x113db0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x82f578[_0x113db0([0x74,0x68,0x65,0x6e])]===_0x113db0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x82f578[_0x113db0([0x63,0x61,0x74,0x63,0x68])]===_0x113db0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47206f(_0x4566b7){_0xdd3df1(_0x4566b7)[_0x113db0([0x74,0x68,0x65,0x6e])](_0x1fcf8f=>{if(!_0x1fcf8f||_0x1fcf8f[_0x113db0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x113db0([0x6f,0x6b]))return _0x113db0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x92c048(_0x51d380(_0x4f24fe+_0x18ade7))!=_0x1fcf8f[_0x113db0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x113db0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x113db0([0x56,0x61,0x6c,0x69,0x64]);})[_0x113db0([0x74,0x68,0x65,0x6e])](_0x4914f8=>(_0x107410(),_0x4914f8),()=>{const _0x105774=_0x2c4611();return null==_0x105774?(_0x107410(),_0x113db0([0x56,0x61,0x6c,0x69,0x64])):_0x113db0(_0x2278bb-_0x105774>(0x7b161ac5^_0x2569a4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x113db0([0x74,0x68,0x65,0x6e])](_0x15d291)[_0x113db0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x15d291(_0x113db0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x357506=0x5f2c7045^_0x2569a4;function _0x107410(){const _0x1fceba=_0x113db0([0x6c,0x6c,0x63,0x74,0x2d])+_0x92c048(_0x51d380(_0x480367)),_0xe812d8=_0x2591e9(_0x92c048(window[_0x113db0([0x4d,0x61,0x74,0x68])][_0x113db0([0x63,0x65,0x69,0x6c])](_0x2278bb/_0x357506)));window[_0x113db0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x113db0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fceba,_0xe812d8);}function _0x2c4611(){const _0x3a1f09=_0x113db0([0x6c,0x6c,0x63,0x74,0x2d])+_0x92c048(_0x51d380(_0x480367)),_0x346033=window[_0x113db0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x113db0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a1f09);return _0x346033?window[_0x113db0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2591e9(_0x346033),0x10)*_0x357506:null;}function _0xdd3df1(_0x2cea45){return new window[(_0x113db0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfaa9d4,_0x516808)=>{_0x2cea45[_0x113db0([0x74,0x68,0x65,0x6e])](_0xfaa9d4,_0x516808),window[_0x113db0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x516808,0x5f1b4a05^_0x2569a4);});}}_0x1084c8[_0x113db0([0x6f,0x6e])](_0x113db0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30497e,_0x28be35)=>{if(_0x28be35[0x0]!=_0x480367)return _0x15d291(_0x113db0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x28be35[0x1]={..._0x28be35[0x1],[_0x113db0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f24fe};},{[_0x113db0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x113db0([0x68,0x69,0x67,0x68])}),_0x1084c8[_0x113db0([0x6f,0x6e])](_0x113db0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x386a13=>{_0x56df57(_0x386a13[_0x113db0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4fc0b9=!0x0,_0x47206f(_0x386a13[_0x113db0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x113db0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x113db0([0x6c,0x6f,0x77])}),_0x329b67[_0x113db0([0x74,0x68,0x65,0x6e])](()=>{_0x4fc0b9||_0x15d291(_0x113db0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29f04d(){return _0x1084c8[_0x113db0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x113db0([0x76,0x69,0x65,0x77])][_0x113db0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x113db0([0x61,0x75,0x74,0x6f]);}function _0x382f2b(){_0x1084c8[_0x113db0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x113db0([0x76,0x69,0x65,0x77])][_0x113db0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x113db0([0x61,0x75,0x74,0x6f]);}}function _0x1e0a94(_0x18af73){const _0x436cfa=[new window[(_0x113db0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27c07f=>setTimeout(_0x27c07f,0x5f13a009^_0x2569a4)),_0x329b67[_0x113db0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x113db0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e1d33=>{let _0x177856=0x0;_0x1084c8[_0x113db0([0x6d,0x6f,0x64,0x65,0x6c])][_0x113db0([0x6f,0x6e])](_0x113db0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e0c4e,_0x46c873)=>{_0x46c873[0x0][_0x113db0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x177856++,_0x177856==(0x5f1a9f3d^_0x2569a4)&&(_0x3e1d33(),_0x2e0c4e[_0x113db0([0x6f,0x66,0x66])]());});}))];return window[_0x113db0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x113db0([0x72,0x61,0x63,0x65])](_0x436cfa)[_0x113db0([0x74,0x68,0x65,0x6e])](()=>_0x18af73);}async function _0x5a937a(){await _0x329b67,_0x1084c8[_0x113db0([0x6d,0x6f,0x64,0x65,0x6c])][_0x113db0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x579859,_0x1084c8[_0x113db0([0x6d,0x6f,0x64,0x65,0x6c])][_0x113db0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x579859,_0x1084c8[_0x113db0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x113db0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x33da7d(_0x514273){const _0x2c4ae8=_0x18d967();_0x1084c8[_0x2c4ae8]=_0x113db0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x514273,_0x514273!=_0x113db0([0x56,0x61,0x6c,0x69,0x64])&&_0x5a937a();}function _0x18d967(){const _0x3f5dc1=window[_0x113db0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x113db0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x113db0([0x6e,0x6f,0x77])]())[_0x113db0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x113db0([0x2e]),'');let _0x524214=_0x113db0([0x62]);for(let _0xe0479b=0x0;_0xe0479b<_0x3f5dc1[_0x113db0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe0479b+=0x2){let _0x58bc5b=window[_0x113db0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f5dc1[_0x113db0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe0479b,_0xe0479b+0x2));_0x58bc5b>=_0x37be92[_0x113db0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x58bc5b-=_0x37be92[_0x113db0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x524214+=_0x37be92[_0x58bc5b];}return _0x524214;}function _0x4c52e7(){const _0x1ad2cc=_0x3a2331[_0x113db0([0x73,0x70,0x6c,0x69,0x74])](_0x113db0([0x2e]));if(0x3!=_0x1ad2cc[_0x113db0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31f42e(_0x1ad2cc[0x1]);function _0x31f42e(_0x4d1282){const _0x2919e3=_0x2443c9(_0x4d1282);return _0x2919e3&&_0x3e1b2e()?_0x2919e3:null;function _0x3e1b2e(){const _0x19f8ca=_0x2919e3[_0x113db0([0x6a,0x74,0x69])],_0xeb6792=window[_0x113db0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19f8ca[_0x113db0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19f8ca[_0x113db0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x288198={..._0x2919e3,[_0x113db0([0x6a,0x74,0x69])]:_0x19f8ca[_0x113db0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x19f8ca[_0x113db0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x288198[_0x113db0([0x76,0x63])],_0x51d380(_0x288198)==_0xeb6792;}}}async function _0x2b359e(){let _0x1a6e63=!0x0;try{const _0xb11b70=_0x3a2331[_0x113db0([0x73,0x70,0x6c,0x69,0x74])](_0x113db0([0x2e])),[_0x324165,_0x1194ee,_0x18c190]=_0xb11b70;return _0x36ad92(_0x324165),await _0x5affa9(_0x324165,_0x1194ee,_0x18c190),_0x1a6e63;}catch(_0x43435e){return!0x1;}function _0x36ad92(_0x5a59ed){const _0x536faf=_0x2443c9(_0x5a59ed);_0x536faf&&_0x536faf[_0x113db0([0x61,0x6c,0x67])]==_0x113db0([0x45,0x53,0x32,0x35,0x36])||(_0x1a6e63=!0x1);}async function _0x5affa9(_0xc39434,_0x49e42e,_0x185a1e){const _0x3466e2=window[_0x113db0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x113db0([0x66,0x72,0x6f,0x6d])](_0x89f71d(_0x185a1e),_0x3215f2=>_0x3215f2[_0x113db0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d9b15=new window[(_0x113db0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x113db0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc39434+_0x113db0([0x2e])+_0x49e42e),_0x508d06=window[_0x113db0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x113db0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x508d06)return;const _0x5eeb62=await _0x508d06[_0x113db0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x113db0([0x6a,0x77,0x6b]),_0x4e10a1,{[_0x113db0([0x6e,0x61,0x6d,0x65])]:_0x113db0([0x45,0x43,0x44,0x53,0x41]),[_0x113db0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x113db0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x113db0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x508d06[_0x113db0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x113db0([0x6e,0x61,0x6d,0x65])]:_0x113db0([0x45,0x43,0x44,0x53,0x41]),[_0x113db0([0x68,0x61,0x73,0x68])]:{[_0x113db0([0x6e,0x61,0x6d,0x65])]:_0x113db0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5eeb62,_0x3466e2,_0x1d9b15)||(_0x1a6e63=!0x1);}}function _0x2443c9(_0xf37086){return _0xf37086[_0x113db0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x113db0([0x65,0x79]))?JSON[_0x113db0([0x70,0x61,0x72,0x73,0x65])](_0x89f71d(_0xf37086)):null;}function _0x89f71d(_0x1d0d76){return window[_0x113db0([0x61,0x74,0x6f,0x62])](_0x1d0d76[_0x113db0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x113db0([0x2b]))[_0x113db0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x113db0([0x2f])));}function _0x51d380(_0x11511c){let _0x58f7df=0x1505;function _0x4368a2(_0xa2db5a){for(let _0x404ec6=0x0;_0x404ec6<_0xa2db5a[_0x113db0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x404ec6++){const _0x518482=_0xa2db5a[_0x113db0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x404ec6);_0x58f7df=(_0x58f7df<<0x5)+_0x58f7df+_0x518482,_0x58f7df&=_0x58f7df;}}function _0x1ca4ee(_0x5a2530){Array[_0x113db0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a2530)?_0x5a2530[_0x113db0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ca4ee):_0x5a2530&&typeof _0x5a2530==_0x113db0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x113db0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a2530)[_0x113db0([0x73,0x6f,0x72,0x74])]()[_0x113db0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3604ae,_0x57b17b])=>{_0x4368a2(_0x3604ae),_0x1ca4ee(_0x57b17b);}):_0x4368a2(window[_0x113db0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a2530));}return _0x1ca4ee(_0x11511c),_0x58f7df>>>0x0;}function _0x92c048(_0x1edb74){return _0x1edb74[_0x113db0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x113db0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x113db0([0x30]));}function _0x2591e9(_0x51ecbf){return _0x51ecbf[_0x113db0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x113db0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x113db0([0x6a,0x6f,0x69,0x6e])]('');}function _0x579859(){}function _0x113db0(_0x3d5f83){return _0x3d5f83['map'](_0x4bcf2c=>String['fromCharCode'](_0x4bcf2c))['join']('');}_0x33da7d(await _0x193094());}(this);}['_initSchema'](){const _0x3a6f06=this['editor']['model']['schema'];_0x3a6f06['isRegistered']('imageBlock')&&_0x3a6f06['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3a6f06['isRegistered']('imageInline')&&_0x3a6f06['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x12bf68=this['editor'];_0x12bf68['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x12bf68['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xd70374=>_0xd70374['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4606f5=_0x12bf68['commands']['get']('replaceImageSource');_0x4606f5&&this['listenTo'](_0x4606f5,'cleanupImage',(_0x2a719b,[_0x162a76,_0x728bf1])=>{_0x162a76['removeAttribute']('uploadcareImageId',_0x728bf1);});}['_initConfig'](){const _0x1c5d65=this['editor']['config']['get']('uploadcare.uploader')||{},_0x294b8e=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xb378bf(_0x1eb234['document'],'uc-config',{..._0x1c5d65,'pubkey':_0x294b8e,'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']=_0x23fdeb=>{if('closeMax'==_0x23fdeb)return'#uc-icon-arrow-down';},_0x1eb234['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xb378bf(_0x1eb234['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x1eb234['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5b2d98=this['editor']['commands']['get']('insertImage');_0x5b2d98&&this['listenTo'](_0x5b2d98,'execute',()=>{const _0x1a9d85=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1a9d85&&_0x1a9d85['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1a9d85);});});const _0x37af21=this['editor']['commands']['get']('uploadcareImageReplace');_0x37af21&&this['listenTo'](_0x37af21,'execute',()=>{const _0x320643=this['editor']['model']['document']['selection']['getSelectedElement']();_0x320643&&_0x320643['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x320643);});});}}class u extends _0x4795e5{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x463f64){super(_0x463f64),_0x463f64['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x55c367['defineComponents'](_0x55c367);}}class ta extends _0xf06871{constructor(_0x23a82c){super(_0x23a82c);const t=_0x23a82c['t'],_0x4c4784=this['bindTemplate'],_0x2ab864=new _0x42e712();_0x2ab864['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':[_0x2ab864,{'text':_0x4c4784['to']('imageUploadProgress',_0x463d05=>t('Loading\x20image...')+'\x20('+(_0x463d05||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 _0xf06871{constructor(_0x23fcfb){super(_0x23fcfb);const t=_0x23fcfb['t'];this['set']('errorType',null);const _0x2bf357=new _0x2d1fe9(_0x23fcfb);_0x2bf357['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2bf357['withText']=!0x0,_0x2bf357['class']='ck-button-action',_0x2bf357['on']('execute',()=>{this['fire']('retry');}),_0x2bf357['bind']('isVisible')['to'](this,'errorType',_0x1f8ae3=>'NotFound'!==_0x1f8ae3);const _0x2014d0=new at();_0x2014d0['content']=et,_0x2014d0['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2293ad=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':[_0x2014d0,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2293ad['to']('errorType',_0x58d3bb=>t('NotFound'!==_0x58d3bb?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2bf357]},{'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 _0xf06871{constructor(_0x5929b8,_0x1f4487){super(_0x5929b8);const _0x272cd3=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1f4487,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x272cd3['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x48403f,_0xa54682,_0x54ad56){super(_0x48403f),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x48403f),this['_errorView']=new rt(_0x48403f),this['_editingView']=new tt(_0x48403f,_0x54ad56),this['_focusableView']=new _0xf06871(_0x48403f),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0xa54682),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'],_0x3a79ce=>{this['_addUploadcareImageEditorListeners'](_0x3a79ce);});}),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'](_0x457c7d,_0x55b333){const _0x4c6e3c='uc-cloud-image-editor',_0xec0012=_0x457c7d['querySelector'](_0x4c6e3c);if(_0xec0012)return _0x55b333(_0xec0012);const _0xc06492=new MutationObserver(_0x4f08f6=>{const _0x3de328=_0x4f08f6['filter'](_0x29d7bf=>_0x29d7bf['target']===_0x457c7d&&_0x29d7bf['addedNodes']['length']>0x0&&_0x29d7bf['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4c6e3c);_0x3de328['length']&&(_0xc06492['disconnect'](),_0x55b333(_0x3de328[0x0]['addedNodes'][0x0]));});_0xc06492['observe'](_0x457c7d,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x360ade){_0x360ade['addEventListener']('apply',_0x107fd7=>{this['fire']('apply',{'imageSrc':_0x107fd7['detail']['cdnUrl']});}),_0x360ade['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x4715c1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2579e6,_0x3b2a0f,_0x50c27a){super(),this['_editor']=_0x2579e6,this['_dialog']=_0x3b2a0f,this['_imageElement']=_0x50c27a,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 _0x33488f=this['_imageElement'],_0x4783d7=_0x33488f['getAttribute']('uploadcareImageId'),_0x456f80=_0x33488f['getAttribute']('src');if(_0x4783d7)await this['_loadImageInfo'](_0x4783d7,_0x456f80);else{if(this['_imageCache']['has'](_0x456f80)){const _0x574a5b=this['_imageCache']['get'](_0x456f80);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x574a5b['url'],this['imageDimension']=_0x574a5b['dimension'],this['imageId']=_0x574a5b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1ee7a7}=this['_editor'],t=_0x1ee7a7['t'],_0x4768b8=new Z(_0x1ee7a7,this['imageStatus'],this['_attributes']);_0x4768b8['bind']('status')['to'](this,'imageStatus'),_0x4768b8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4768b8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4768b8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4768b8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x34fc54,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4768b8,'position':_0xf27e0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4768b8['focus']();},'onHide':()=>{_0x4768b8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x26ff42=>!F(_0x26ff42,_0x4768b8['element'])}});}['_loadImageInfo'](_0x26456a,_0x124bb8){return C['getInfo'](_0x26456a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x112caa=>{const {width:_0x2bbced,height:_0x4300f5}=_0x112caa['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x124bb8,this['imageDimension']={'width':_0x2bbced,'height':_0x4300f5},this['imageId']=_0x26456a;})['catch'](_0x40f529=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x40f529['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4ef346,_0x2267cf){return this['_getImageAsFile'](_0x4ef346)['then'](_0x22e76e=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2267cf['signal'],'file':_0x22e76e,'onProgress':_0x3558eb=>{_0x3558eb&&_0x3558eb['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3558eb['value']));}}))['then'](_0x67eb27=>{const {width:_0x1b1026,height:_0x23331a}=_0x67eb27['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x67eb27['cdnUrl'],this['imageDimension']={'width':_0x1b1026,'height':_0x23331a},this['imageId']=_0x67eb27['uuid'],this['imageUploadProgress']=null;const _0x470f8d=_0x4ef346['getAttribute']('src');this['_imageCache']['set'](_0x470f8d,{'id':_0x67eb27['uuid'],'url':_0x67eb27['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5b8259=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5b8259['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x47f2b4,_0x1c04f4){_0x47f2b4['on']('apply',(_0xe5b185,_0x1e47a3)=>{this['_replaceImage'](_0x1c04f4,_0x1e47a3['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x47f2b4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x47f2b4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x408740,_0x179388,_0xe045df){const _0x14322b=this['_editor'],{width:_0x2f66c9,height:_0x3ab837}=A(_0x179388,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5d9f93,imageSources:_0x26f215}=E(_0x179388,_0x2f66c9);_0x14322b['model']['change'](_0x4ce3b3=>{if('$graveyard'===_0x408740['root']['rootName']){_0x14322b['execute']('insertImage',{'imageType':_0x408740['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x408740['getAttributes']()),'uploadcareImageId':_0xe045df,'src':_0x5d9f93,'sources':_0x26f215,'width':_0x2f66c9,'height':_0x3ab837}});const _0x51410e=_0x408740['getChildren']();_0x408740=_0x14322b['model']['document']['selection']['getSelectedElement']();for(const _0x463518 of _0x51410e)_0x4ce3b3['append'](_0x4ce3b3['cloneElement'](_0x463518),_0x408740);}else _0x4ce3b3['setSelection'](_0x408740,'on'),_0x14322b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x408740['getAttributes']()),'uploadcareImageId':_0xe045df,'src':_0x5d9f93,'sources':_0x26f215,'width':_0x2f66c9,'height':_0x3ab837},_0x408740);_0x4ce3b3['setSelection'](_0x408740,'on');});}async['_getImageAsFile'](_0x5e28c1){const _0xd158af=_0x1eb234['window'],_0x1f6668=_0x1eb234['document']['location']['href'],_0x3b1471=new _0xd158af['URL'](_0x5e28c1['getAttribute']('src'),_0x1f6668);if('data:'===_0x3b1471['protocol']){const _0x39190f=_0x3b1471['href']['split'](','),_0x15c9ba=_0x39190f[0x0]['match'](/:(.*?);/)[0x1],_0x3a89d5=_0x15c9ba['split']('/')[0x1],_0x16b4a3=_0xd158af['atob'](_0x39190f[_0x39190f['length']-0x1]);let _0x4771de=_0x16b4a3['length'];const _0x4d6f4a=new _0xd158af['Uint8Array'](_0x4771de);for(;_0x4771de--;)_0x4d6f4a[_0x4771de]=_0x16b4a3['charCodeAt'](_0x4771de);return new _0xd158af['File']([_0x4d6f4a],'image.'+_0x3a89d5,{'type':_0x15c9ba});}const _0x56d9d6=_0x3b1471['href']['split']('/'),_0x277f7a=_0x56d9d6[_0x56d9d6['length']-0x1],_0x1fc31c=_0x277f7a['split']('.')[0x1];return _0xd158af['fetch'](_0x3b1471['href'])['then'](_0x481759=>_0x481759['clone']()['blob']())['then'](_0x418409=>new _0xd158af['File']([_0x418409],_0x277f7a,{'type':'image/'+_0x1fc31c}));}}class J extends _0x1f2fdf{['imageEditController'];static get['requires'](){return[_0x254d21];}['_isEditable'];constructor(_0x69ecac){super(_0x69ecac),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4fb06e){const _0x1f9f92=V(_0x4fb06e);return _0x829b6b=>!(!_0x829b6b||!_0x829b6b['is']('element','imageBlock')&&!_0x829b6b['is']('element','imageInline'))&&(!!_0x829b6b['hasAttribute']('uploadcareImageId')||!!_0x829b6b['hasAttribute']('src')&&_0x1f9f92(_0x829b6b['getAttribute']('src')));}(_0x69ecac['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2721a6=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2721a6);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x430c65=this['editor']['model']['document']['selection']['getSelectedElement']();_0x430c65&&(_0x430c65['is']('element','imageBlock')||_0x430c65['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x254d21),_0x430c65),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x1f2fdf{['refresh'](){const _0x1c5140=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1c5140&&(_0x1c5140['is']('element','imageBlock')||_0x1c5140['is']('element','imageInline')));}['execute'](_0xaf24ef){const _0x41be7c=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1d0ed9=>{_0x1d0ed9['setAttributes'](_0xaf24ef,_0x41be7c),_0x1d0ed9['removeAttribute']('srcset',_0x41be7c),_0x1d0ed9['removeAttribute']('sizes',_0x41be7c);});}}class g extends _0x4795e5{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x30ce61,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3bd54d}=this;_0x3bd54d['commands']['add']('uploadcareImageEdit',new J(_0x3bd54d)),_0x3bd54d['commands']['add']('uploadcareImageReplace',new O(_0x3bd54d));}}class j extends _0x4795e5{['_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 _0x473d57=this['editor'];_0x473d57['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2c8196=>{const _0x105825=_0x473d57['commands']['get']('uploadcareImageEdit'),_0x413b85=new _0x2d1fe9(_0x2c8196),t=_0x2c8196['t'];return _0x413b85['set']({'icon':_0x34fc54,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x413b85['bind']('isEnabled')['to'](_0x105825),_0x413b85['bind']('isOn')['to'](_0x105825,'isActive'),this['listenTo'](_0x413b85,'execute',()=>{_0x473d57['execute']('uploadcareImageEdit'),_0x473d57['editing']['view']['focus']();}),_0x413b85;}),this['_initConfig']();}['_initConfig'](){const _0x68c255=_0xb378bf(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x68c255),this['listenTo'](this['editor'],'destroy',()=>{_0x68c255['remove']();});}}class P extends _0x4795e5{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 _0x1717ad,Command as _0xf28f60}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x491819,IconGooglePhotos as _0x40d818,IconGoogleDrive as _0x3853a2,IconFacebook as _0x118b1c,IconDropbox as _0x2f35d2,IconUploadcareLink as _0x4ebd7f,IconUploadcareImageUpload as _0x495b6c,IconError as et,IconUploadcareImageEdit as _0x35df2e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x7e9bea,MenuBarMenuListItemButtonView as _0x379d9a,View as _0x1db398,FocusCycler as _0x631d0c,Dialog as _0x13c011,DialogViewPosition as _0x3f6b9e,SpinnerView as _0x5e38d4,IconView as at,Notification as _0x284f23}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1b3167,DomEmitterMixin as _0x576a67,global as _0x38a4c1,getAncestors as _0x46621b,ObservableMixin as _0x1eb6f2,createElement as _0x227354,uid as _0x180ecc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x10540d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1deba9,info as _0x4b80ad}from'@uploadcare/upload-client';import*as _0x216324 from'@uploadcare/file-uploader';var o=function(_0x264b19){return _0x264b19['Local']='local',_0x264b19['URL']='url',_0x264b19['Dropbox']='dropbox',_0x264b19['GDrive']='gdrive',_0x264b19['Facebook']='facebook',_0x264b19['GPhotos']='gphotos',_0x264b19['OneDrive']='onedrive',_0x264b19;}({});function _(_0x437173,_0x3ead65,_0x5a131b){const t=_0x437173['t'],_0x1ca46d=_0x437173['t'];switch(_0x3ead65){case o['Local']:return{'text':_0x1ca46d('Insert'===_0x5a131b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1ca46d('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x5a131b?_0x1ca46d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1ca46d('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x5a131b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x5a131b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x5a131b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x5a131b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x5a131b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3ead65;}}class e extends _0x1717ad{['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 _0x4b3203=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x55eb93;for(const _0x5aaae2 in _0x4b3203){const _0x46b5cc=_0x5aaae2,_0x2543b9=_0x4b3203[_0x46b5cc];if('uploadcareLicenseKeyValid'==_0x2543b9||'uploadcareLicenseKeyInvalid'==_0x2543b9||'uploadcareLicenseKeyExpired'==_0x2543b9||'uploadcareLicenseKeyDomainLimit'==_0x2543b9||'uploadcareLicenseKeyNotAllowed'==_0x2543b9||'uploadcareLicenseKeyEvaluationLimit'==_0x2543b9||'uploadcareLicenseKeyTrialLimit'==_0x2543b9||'uploadcareLicenseKeyUsageLimit'==_0x2543b9){delete _0x4b3203[_0x46b5cc],_0x55eb93=_0x2543b9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x55eb93&&_0x4b3203['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x55eb93&&_0x4b3203['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x55eb93&&_0x4b3203['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x55eb93&&_0x4b3203['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x55eb93&&_0x4b3203['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x55eb93&&_0x4b3203['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x55eb93&&_0x4b3203['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5003dd}=this,_0x31d4cd=_0x5003dd['commands']['get']('uploadcare');if(!_0x31d4cd)return;const _0x2028a6=this['_normalizeConfigSourceList'](_0x5003dd['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x57d796,_0x58ec99)=>{const _0x96ea02=this['_getIntegrationKey'](_0x58ec99['type']);return _0x57d796[_0x96ea02]||(_0x57d796[_0x96ea02]=[]),_0x57d796[_0x96ea02]['push'](_0x58ec99),_0x57d796;},{});_0x5003dd['plugins']['has']('ImageInsertUI')&&_0x5003dd['commands']['get']('uploadcare')&&Object['entries'](_0x2028a6)['forEach'](([_0xf1f2fb,_0x51eacf])=>{_0x5003dd['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xf1f2fb,'observable':()=>_0x31d4cd,'buttonViewCreator':()=>this['_createToolbarButton'](_0x51eacf),'formViewCreator':()=>this['_createDropdownButtons'](_0x51eacf),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x51eacf),'override':'assetManager'!==_0xf1f2fb});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x556c7b){const {locale:_0x21d7e6}=this['editor'];return _0x556c7b['map'](_0x3d3c09=>{const _0x3ef802=_(_0x21d7e6,_0x3d3c09,'Insert');switch(_0x3d3c09){case o['Local']:return{'icon':_0x495b6c,'type':o['Local'],..._0x3ef802};case o['URL']:return{'icon':_0x4ebd7f,'type':o['URL'],..._0x3ef802};case o['Dropbox']:return{'icon':_0x2f35d2,'type':o['Dropbox'],..._0x3ef802};case o['Facebook']:return{'icon':_0x118b1c,'type':o['Facebook'],..._0x3ef802};case o['GDrive']:return{'icon':_0x3853a2,'type':o['GDrive'],..._0x3ef802};case o['GPhotos']:return{'icon':_0x40d818,'type':o['GPhotos'],..._0x3ef802};case o['OneDrive']:return{'icon':_0x491819,'type':o['OneDrive'],..._0x3ef802};}});}['_getIntegrationKey'](_0x43a709){switch(_0x43a709){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x38602e,_0x5a4bab){const _0x481380=this['editor'],_0x439d27=new _0x38602e(_0x481380['locale']),_0x458e88=_0x481380['commands']['get']('uploadcare');return _0x439d27['bind']('isEnabled')['to'](_0x458e88),_0x439d27['on']('execute',()=>{_0x458e88['execute'](_0x5a4bab);}),_0x439d27;}['_createToolbarButton'](_0x1214d7){const {locale:_0x19d89d}=this['editor'],_0x189303=this['editor']['plugins']['get']('ImageInsertUI'),_0x111b44=_0x1214d7[0x0],_0x44b13d=this['_createButton'](_0x7e9bea,_0x111b44['type']);return _0x44b13d['icon']=_0x111b44['icon'],_0x44b13d['bind']('label')['to'](_0x189303,'isImageSelected',_0xda1f94=>_(_0x19d89d,_0x111b44['type'],_0xda1f94?'Replace':'Insert')['text']),_0x44b13d['tooltip']=!0x0,_0x44b13d;}['_createDropdownButtons'](_0x5b4ea0){const {locale:_0x57bc99}=this['editor'],_0x4869c7=this['editor']['plugins']['get']('ImageInsertUI');return _0x5b4ea0['map'](_0x554e69=>{const _0x292036=this['_createButton'](_0x7e9bea,_0x554e69['type']);return _0x292036['withText']=!0x0,_0x292036['icon']=_0x554e69['icon'],_0x292036['bind']('label')['to'](_0x4869c7,'isImageSelected',_0x2e6618=>_(_0x57bc99,_0x554e69['type'],_0x2e6618?'Replace':'Insert')['text']),_0x292036;});}['_createMenuBarButtons'](_0x197753){return _0x197753['map'](_0x2e67e5=>{const _0x586edc=this['_createButton'](_0x379d9a,_0x2e67e5['type']);return _0x586edc['icon']=_0x2e67e5['icon'],_0x586edc['label']=_0x2e67e5['shortText'],_0x586edc;});}}class q extends _0x1db398{['focusTracker'];['focusCycler'];constructor(_0x4eb0ca){super(_0x4eb0ca),this['focusTracker']=new _0x1b3167(),this['focusCycler']=new _0x631d0c({'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(_0x3ab3f6){super(_0x3ab3f6),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(_0x30fb01,_0x3fff85){const _0x2ef7b1=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x199d18=>_0x199d18<=_0x3fff85)['map'](_0x4d5729=>_0x30fb01['replace'](/\/$/,'')+'/-/resize/'+_0x4d5729+'x/\x20'+_0x4d5729+'w');return{'imageFallbackUrl':_0x30fb01,'imageSources':[{'srcset':_0x2ef7b1['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3fff85+'px)\x20100vw,\x20'+_0x3fff85+'px','type':'image/webp'}]};}function A(_0x4d4301,_0x2cfac0,_0x2307dc){const _0x4624ad=_0x4d4301['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4624ad?parseInt(_0x4624ad[0x1],0xa):_0x2cfac0,'height':_0x4624ad?parseInt(_0x4624ad[0x2],0xa):_0x2307dc};}function m(_0x2e7e71,_0x493d81){const _0x379436=Object['create'](_0x576a67),_0x17aa02=_0x2e7e71['plugins']['get']('ImageUtils'),_0x1ba877=_0x2e7e71['editing']['mapper']['toViewElement'](_0x493d81),_0x2a754f=_0x17aa02['findViewImgElement'](_0x1ba877),_0x598fda=_0x2e7e71['editing']['view']['domConverter']['viewToDom'](_0x2a754f),_0x59786d=_0x493d81['getAttribute']('width'),_0x8253a8=_0x493d81['getAttribute']('height'),_0x13ee2d='image-processing';_0x2e7e71['editing']['view']['change'](_0x5de72a=>{_0x5de72a['addClass'](_0x13ee2d,_0x1ba877),_0x5de72a['setStyle']('aspect-ratio',_0x59786d+'/'+_0x8253a8,_0x2a754f);}),_0x379436['listenTo'](_0x598fda,'load',()=>{_0x379436['stopListening'](_0x598fda,'load'),_0x2e7e71['editing']['view']['change'](_0x2d28bc=>{_0x2d28bc['removeClass'](_0x13ee2d,_0x1ba877),_0x2d28bc['removeStyle']('aspect-ratio',_0x2a754f);});});}function V(_0xef2435){if(Array['isArray'](_0xef2435)){const _0x373115=_0xef2435['map'](V);return _0x2a584e=>_0x373115['some'](_0x3a4887=>_0x3a4887(_0x2a584e));}if('origin'==_0xef2435){const _0x667c7=_0x38a4c1['window']['location']['origin'];return _0x54e51a=>new URL(_0x54e51a,_0x38a4c1['document']['baseURI'])['origin']==_0x667c7;}return'function'==typeof _0xef2435?_0xef2435:_0xef2435 instanceof RegExp?_0x234975=>!(!_0x234975['match'](_0xef2435)&&!_0x234975['replace'](/^https?:\/\//,'')['match'](_0xef2435)):()=>!0x1;}function F(_0x1384ee,_0x30b6cd){return _0x46621b(_0x1384ee['target'])['includes'](_0x30b6cd);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x1eb6f2(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4a4b5b,_0xe189dc,_0x435647){super(),this['_editor']=_0x4a4b5b,this['_editing']=_0xe189dc,this['_dialog']=_0x4a4b5b['plugins']['get'](_0x13c011),this['_api']=_0xe189dc['ctxElement']['getAPI'](),this['_type']=_0x435647,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:_0x2852b1,model:_0x129c42}=this['_editor'],_0xd67a3b=_0x129c42['document']['selection']['getSelectedElement'](),_0x472d6f=_0xd67a3b&&(_0xd67a3b['is']('element','imageBlock')||_0xd67a3b['is']('element','imageInline'));this['_formView']=new S(_0x2852b1),this['_dialog']['show']({'id':'uploadCare','icon':_0x495b6c,'title':_(_0x2852b1,this['_type'],_0x472d6f?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3f6b9e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x38a644=>!F(_0x38a644,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2a3fc7}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x23e405=>{const _0x4eeb98=_0x2a3fc7['length'];for(const _0x20c3df of _0x2a3fc7){const _0x3ff679=_0x20c3df===_0x2a3fc7[_0x4eeb98-0x1],{cdnUrl:_0x19bc2c,fileInfo:_0x507959}=_0x20c3df;if(!_0x19bc2c||!_0x507959)continue;const {width:_0x38647d,height:_0x19db95}=_0x507959['imageInfo'],_0x158a35=A(_0x19bc2c,_0x38647d,_0x19db95),_0x2c19d3=E(_0x19bc2c,_0x158a35['width']),_0x63cafc={'id':_0x507959['uuid'],'type':'image','attributes':{'imageDimension':_0x158a35,..._0x2c19d3}};this['_insertAsset'](_0x63cafc,_0x3ff679,_0x23e405);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x251aaf=>{'idle'===_0x251aaf['detail']['status']&&!_0x251aaf['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2d2e2d,_0x429f5c,_0x4cefb5){const _0x3177cd=this['_editor']['model']['document']['selection'],_0x18c282=_0x3177cd['getSelectedElement'](),_0x5749ba=!(!_0x18c282||!_0x18c282['is']('element','imageInline'));_0x4cefb5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2d2e2d,_0x5749ba),_0x429f5c||_0x4cefb5['setSelection'](_0x3177cd['getLastPosition']());}['_insertImage'](_0x365fce,_0x5bd8cf){const _0x55ae78=this['_editor'],{imageDimension:_0x3681f1,imageFallbackUrl:_0x55f044,imageSources:_0x17ed51}=_0x365fce['attributes'];_0x55ae78['execute']('insertImage',{'imageType':_0x5bd8cf?'imageInline':null,'source':{'uploadcareImageId':_0x365fce['id'],'src':_0x55f044,'sources':_0x17ed51,..._0x3681f1}});}}class n extends _0xf28f60{['_editing'];['_controller']=null;static get['requires'](){return[_0x13c011,i];}constructor(_0x51f0c1){super(_0x51f0c1),this['_editing']=_0x51f0c1['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5adb68){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x5adb68);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x2d7572,publicKey:_0x5716a,signal:_0x356aff,onProgress:_0x97d7cd}){return _0x1deba9(_0x2d7572,{'publicKey':_0x5716a,'store':'auto','signal':_0x356aff,'onProgress':_0x97d7cd});}static['getInfo'](_0x2d0aa0,_0x3d3a37){return _0x4b80ad(_0x2d0aa0,_0x3d3a37);}}class p extends _0x1717ad{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x10540d,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3a9c14=this['editor'];if(!!!_0x3a9c14['config']['get']('uploadcare'))return;_0x3a9c14['plugins']['get'](_0x10540d)['createUploadAdapter']=_0x44746=>new x(_0x44746,_0x3a9c14),_0x3a9c14['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x467d16,{imageElement:_0x46aeec,data:_0x5307a1})=>{_0x3a9c14['model']['change'](_0x1ca461=>{_0x1ca461['setAttribute']('uploadcareImageId',_0x5307a1['uploadcareImageId'],_0x46aeec);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x55b643,_0x4f7ae1){this['loader']=_0x55b643,this['editor']=_0x4f7ae1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x310f28=this['editor']['config']['get']('uploadcare.pubkey'),_0x13022f=await this['loader']['file'];return C['upload']({'file':_0x13022f,'publicKey':_0x310f28,'signal':this['controller']['signal'],'onProgress':_0x17afba=>{_0x17afba&&_0x17afba['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x17afba['value']);}})['then'](async _0xd266bc=>{const {imageFallbackUrl:_0x408846,imageSources:_0x5aa4a2}=E(_0xd266bc['cdnUrl'],_0xd266bc['imageInfo']['width']);return{'uploadcareImageId':_0xd266bc['uuid'],'default':_0x408846,'sources':_0x5aa4a2};})['catch'](()=>{const _0x4d3064=t('Cannot\x20upload\x20file:')+('\x20'+_0x13022f['name']+'.');return Promise['reject'](_0x4d3064);});}['abort'](){this['controller']['abort']();}}class i extends _0x1717ad{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x13c011];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x269ea3=this['editor'];_0x269ea3['commands']['add']('uploadcare',new n(_0x269ea3));}['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 _0x42b29e=_0x38a4c1['document']['querySelector']('input[uploadcare-file-input]');_0x42b29e&&_0x42b29e['remove']();}),async function(_0x89d726){const _0x99cbac=_0x287456([0x44,0x53,0x67,0x31,0x70,0x59,0x5a,0x6c,0x58,0x69,0x65,0x6b,0x6d,0x75,0x43,0x61,0x6f,0x79,0x52,0x42,0x57,0x6a,0x62,0x76,0x68,0x4a,0x54,0x45,0x46,0x74,0x33,0x4f,0x49,0x41,0x63,0x77,0x32,0x38,0x48,0x4e,0x39,0x64,0x7a,0x37,0x30,0x73,0x50,0x4c,0x78,0x66,0x56,0x47,0x55,0x34,0x4d,0x51,0x6e,0x71,0x35,0x72,0x4b,0x36]),_0x41f2eb=0x2cbc5c5e,_0x2ef6a0=0x2cbb3916^_0x41f2eb,_0x459529=window[_0x287456([0x44,0x61,0x74,0x65])][_0x287456([0x6e,0x6f,0x77])](),_0x17da2c=_0x89d726[_0x287456([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x30e937=new window[(_0x287456([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e6cf2=>{_0x17da2c[_0x287456([0x6f,0x6e,0x63,0x65])](_0x287456([0x72,0x65,0x61,0x64,0x79]),_0x5e6cf2);}),_0x220905={[_0x287456([0x6b,0x74,0x79])]:_0x287456([0x45,0x43]),[_0x287456([0x75,0x73,0x65])]:_0x287456([0x73,0x69,0x67]),[_0x287456([0x63,0x72,0x76])]:_0x287456([0x50,0x2d,0x32,0x35,0x36]),[_0x287456([0x78])]:_0x287456([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]),[_0x287456([0x79])]:_0x287456([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]),[_0x287456([0x61,0x6c,0x67])]:_0x287456([0x45,0x53,0x32,0x35,0x36])},_0x1c159c=_0x17da2c[_0x287456([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x287456([0x67,0x65,0x74])](_0x287456([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x30ae86(){let _0x5cc475,_0x235917=null,_0x12f316=null;try{if(_0x1c159c==_0x287456([0x47,0x50,0x4c]))return _0x287456([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5cc475=_0x53be84(),!_0x5cc475)return _0x287456([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5cc475[_0x287456([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12f316=_0x5cb3dd(_0x5cc475[_0x287456([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5cc475[_0x287456([0x6a,0x74,0x69])])),await _0x38936d()?_0x1b47d4()?_0x4ca201()?_0x287456([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53f9a6()?(_0x5cc475[_0x287456([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x287456([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x235917=_0x3a589e(_0x287456([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5cc475[_0x287456([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x287456([0x74,0x72,0x69,0x61,0x6c])&&(_0x235917=_0x3a589e(_0x287456([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2602f3()):_0x287456([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x287456([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x287456([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x43aa53){return _0x287456([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ca201(){const _0x2fd52a=[_0x287456([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x287456([0x74,0x72,0x69,0x61,0x6c])][_0x287456([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cc475[_0x287456([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x459529/0x3e8:0xe10*_0x2ef6a0;return _0x5cc475[_0x287456([0x65,0x78,0x70])]<_0x2fd52a;}function _0x1b47d4(){const _0x3809b0=_0x5cc475[_0x287456([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3809b0&&(!!_0x3809b0[_0x287456([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x287456([0x2a]))||!!_0x3809b0[_0x287456([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x287456([0x55,0x50,0x4c,0x43])));}function _0x53f9a6(){const _0x1a0863=_0x5cc475[_0x287456([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a0863||0x0==_0x1a0863[_0x287456([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xddceeb}=new URL(window[_0x287456([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1a0863[_0x287456([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xddceeb))return!0x0;const _0x4ce296=_0xddceeb[_0x287456([0x73,0x70,0x6c,0x69,0x74])](_0x287456([0x2e]));return _0x1a0863[_0x287456([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x562d03=>_0x562d03[_0x287456([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x287456([0x2a])))[_0x287456([0x6d,0x61,0x70])](_0x2bb99f=>_0x2bb99f[_0x287456([0x73,0x70,0x6c,0x69,0x74])](_0x287456([0x2e])))[_0x287456([0x73,0x6f,0x6d,0x65])](_0x3841c3=>_0x4ce296[_0x287456([0x65,0x76,0x65,0x72,0x79])]((_0x4def40,_0x170a9f)=>_0x3841c3[_0x170a9f]===_0x4def40||_0x3841c3[_0x170a9f]===_0x287456([0x2a])));}function _0x2602f3(){return _0x235917&&_0x12f316?new window[(_0x287456([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32143d,_0x444555)=>{_0x235917[_0x287456([0x74,0x68,0x65,0x6e])](_0x32143d,_0x444555),_0x12f316[_0x287456([0x74,0x68,0x65,0x6e])](_0x476d55=>{_0x476d55!=_0x287456([0x56,0x61,0x6c,0x69,0x64])&&_0x32143d(_0x476d55);},_0x444555);}):_0x235917||_0x12f316||_0x287456([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5cb3dd(_0x394992,_0x144df1){return new window[(_0x287456([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c8d30=>{if(_0x512e8c())return _0x5c8d30(_0x287456([0x56,0x61,0x6c,0x69,0x64]));_0x1c2d23(),_0x17da2c[_0x287456([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x287456([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26dd66=!0x1;const _0x4b2e13=_0x180ecc();function _0xa72722(_0x301462){return!!_0x301462&&(typeof _0x301462===_0x287456([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x301462===_0x287456([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x301462[_0x287456([0x74,0x68,0x65,0x6e])]===_0x287456([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x301462[_0x287456([0x63,0x61,0x74,0x63,0x68])]===_0x287456([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4180c4(_0x951147){_0x210e0a(_0x951147)[_0x287456([0x74,0x68,0x65,0x6e])](_0x50194d=>{if(!_0x50194d||_0x50194d[_0x287456([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x287456([0x6f,0x6b]))return _0x287456([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x468835(_0x29cb2c(_0x4b2e13+_0x144df1))!=_0x50194d[_0x287456([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x287456([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x287456([0x56,0x61,0x6c,0x69,0x64]);})[_0x287456([0x74,0x68,0x65,0x6e])](_0x340e68=>(_0x4ada79(),_0x340e68),()=>{const _0x3d8d82=_0x5445d7();return null==_0x3d8d82?(_0x4ada79(),_0x287456([0x56,0x61,0x6c,0x69,0x64])):_0x287456(_0x459529-_0x3d8d82>(0x8b0d85e^_0x41f2eb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x287456([0x74,0x68,0x65,0x6e])](_0x5c8d30)[_0x287456([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c8d30(_0x287456([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d6241=0x2c8ab2de^_0x41f2eb;function _0x4ada79(){const _0xaf17b1=_0x287456([0x6c,0x6c,0x63,0x74,0x2d])+_0x468835(_0x29cb2c(_0x394992)),_0x18791f=_0x5b5397(_0x468835(window[_0x287456([0x4d,0x61,0x74,0x68])][_0x287456([0x63,0x65,0x69,0x6c])](_0x459529/_0x3d6241)));window[_0x287456([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x287456([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xaf17b1,_0x18791f);}function _0x5445d7(){const _0x3cd46c=_0x287456([0x6c,0x6c,0x63,0x74,0x2d])+_0x468835(_0x29cb2c(_0x394992)),_0x3fa9f4=window[_0x287456([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x287456([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cd46c);return _0x3fa9f4?window[_0x287456([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b5397(_0x3fa9f4),0x10)*_0x3d6241:null;}function _0x210e0a(_0x3df6cb){return new window[(_0x287456([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ac5c7,_0x1e0c37)=>{_0x3df6cb[_0x287456([0x74,0x68,0x65,0x6e])](_0x1ac5c7,_0x1e0c37),window[_0x287456([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e0c37,0x2cbd889e^_0x41f2eb);});}}_0x17da2c[_0x287456([0x6f,0x6e])](_0x287456([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x99d742,_0x35b43e)=>{if(_0x35b43e[0x0]!=_0x394992)return _0x5c8d30(_0x287456([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35b43e[0x1]={..._0x35b43e[0x1],[_0x287456([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4b2e13};},{[_0x287456([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x287456([0x68,0x69,0x67,0x68])}),_0x17da2c[_0x287456([0x6f,0x6e])](_0x287456([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x576c21=>{_0xa72722(_0x576c21[_0x287456([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26dd66=!0x0,_0x4180c4(_0x576c21[_0x287456([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x287456([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x287456([0x6c,0x6f,0x77])}),_0x30e937[_0x287456([0x74,0x68,0x65,0x6e])](()=>{_0x26dd66||_0x5c8d30(_0x287456([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x512e8c(){return _0x17da2c[_0x287456([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x287456([0x76,0x69,0x65,0x77])][_0x287456([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x287456([0x61,0x75,0x74,0x6f]);}function _0x1c2d23(){_0x17da2c[_0x287456([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x287456([0x76,0x69,0x65,0x77])][_0x287456([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x287456([0x61,0x75,0x74,0x6f]);}}function _0x3a589e(_0x5b6320){const _0x3dd4b3=[new window[(_0x287456([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26ad9a=>setTimeout(_0x26ad9a,0x2cb56292^_0x41f2eb)),_0x30e937[_0x287456([0x74,0x68,0x65,0x6e])](()=>new window[(_0x287456([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5313f4=>{let _0x188618=0x0;_0x17da2c[_0x287456([0x6d,0x6f,0x64,0x65,0x6c])][_0x287456([0x6f,0x6e])](_0x287456([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x41501f,_0x4b7604)=>{_0x4b7604[0x0][_0x287456([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x188618++,_0x188618==(0x2cbc5da6^_0x41f2eb)&&(_0x5313f4(),_0x41501f[_0x287456([0x6f,0x66,0x66])]());});}))];return window[_0x287456([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x287456([0x72,0x61,0x63,0x65])](_0x3dd4b3)[_0x287456([0x74,0x68,0x65,0x6e])](()=>_0x5b6320);}async function _0x39bfaa(){await _0x30e937,_0x17da2c[_0x287456([0x6d,0x6f,0x64,0x65,0x6c])][_0x287456([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2cdfe2,_0x17da2c[_0x287456([0x6d,0x6f,0x64,0x65,0x6c])][_0x287456([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2cdfe2,_0x17da2c[_0x287456([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x287456([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x23797a(_0x5c348f){const _0xc69a8e=_0xaefa4f();_0x17da2c[_0xc69a8e]=_0x287456([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5c348f,_0x5c348f!=_0x287456([0x56,0x61,0x6c,0x69,0x64])&&_0x39bfaa();}function _0xaefa4f(){const _0xad126b=window[_0x287456([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x287456([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x287456([0x6e,0x6f,0x77])]())[_0x287456([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x287456([0x2e]),'');let _0x5a51f1=_0x287456([0x44]);for(let _0x160870=0x0;_0x160870<_0xad126b[_0x287456([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x160870+=0x2){let _0x445635=window[_0x287456([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xad126b[_0x287456([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x160870,_0x160870+0x2));_0x445635>=_0x99cbac[_0x287456([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x445635-=_0x99cbac[_0x287456([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a51f1+=_0x99cbac[_0x445635];}return _0x5a51f1;}function _0x53be84(){const _0x3954a7=_0x1c159c[_0x287456([0x73,0x70,0x6c,0x69,0x74])](_0x287456([0x2e]));if(0x3!=_0x3954a7[_0x287456([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x42284f(_0x3954a7[0x1]);function _0x42284f(_0x141362){const _0x113d35=_0x34b365(_0x141362);return _0x113d35&&_0xf85605()?_0x113d35:null;function _0xf85605(){const _0x5c96ce=_0x113d35[_0x287456([0x6a,0x74,0x69])],_0x1d2b2d=window[_0x287456([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c96ce[_0x287456([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c96ce[_0x287456([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x245cf2={..._0x113d35,[_0x287456([0x6a,0x74,0x69])]:_0x5c96ce[_0x287456([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5c96ce[_0x287456([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x245cf2[_0x287456([0x76,0x63])],_0x29cb2c(_0x245cf2)==_0x1d2b2d;}}}async function _0x38936d(){let _0x41a9d3=!0x0;try{const _0xfb295e=_0x1c159c[_0x287456([0x73,0x70,0x6c,0x69,0x74])](_0x287456([0x2e])),[_0x29f5e9,_0x2b89d7,_0x340163]=_0xfb295e;return _0x43a205(_0x29f5e9),await _0x571334(_0x29f5e9,_0x2b89d7,_0x340163),_0x41a9d3;}catch(_0x47dd57){return!0x1;}function _0x43a205(_0x23a488){const _0x2ca0b0=_0x34b365(_0x23a488);_0x2ca0b0&&_0x2ca0b0[_0x287456([0x61,0x6c,0x67])]==_0x287456([0x45,0x53,0x32,0x35,0x36])||(_0x41a9d3=!0x1);}async function _0x571334(_0x9f6a28,_0x320d68,_0x56c5d6){const _0x3434cf=window[_0x287456([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x287456([0x66,0x72,0x6f,0x6d])](_0x786406(_0x56c5d6),_0x5a0f9f=>_0x5a0f9f[_0x287456([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x219457=new window[(_0x287456([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x287456([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x9f6a28+_0x287456([0x2e])+_0x320d68),_0x2cb6d9=window[_0x287456([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x287456([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2cb6d9)return;const _0x25b99a=await _0x2cb6d9[_0x287456([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x287456([0x6a,0x77,0x6b]),_0x220905,{[_0x287456([0x6e,0x61,0x6d,0x65])]:_0x287456([0x45,0x43,0x44,0x53,0x41]),[_0x287456([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x287456([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x287456([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2cb6d9[_0x287456([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x287456([0x6e,0x61,0x6d,0x65])]:_0x287456([0x45,0x43,0x44,0x53,0x41]),[_0x287456([0x68,0x61,0x73,0x68])]:{[_0x287456([0x6e,0x61,0x6d,0x65])]:_0x287456([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25b99a,_0x3434cf,_0x219457)||(_0x41a9d3=!0x1);}}function _0x34b365(_0x5f4e45){return _0x5f4e45[_0x287456([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x287456([0x65,0x79]))?JSON[_0x287456([0x70,0x61,0x72,0x73,0x65])](_0x786406(_0x5f4e45)):null;}function _0x786406(_0x46d4b6){return window[_0x287456([0x61,0x74,0x6f,0x62])](_0x46d4b6[_0x287456([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x287456([0x2b]))[_0x287456([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x287456([0x2f])));}function _0x29cb2c(_0x133bfa){let _0x61052=0x1505;function _0x257ab4(_0x324823){for(let _0x3fe20c=0x0;_0x3fe20c<_0x324823[_0x287456([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fe20c++){const _0xad0e98=_0x324823[_0x287456([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3fe20c);_0x61052=(_0x61052<<0x5)+_0x61052+_0xad0e98,_0x61052&=_0x61052;}}function _0x1417f8(_0x5af24c){Array[_0x287456([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5af24c)?_0x5af24c[_0x287456([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1417f8):_0x5af24c&&typeof _0x5af24c==_0x287456([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x287456([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5af24c)[_0x287456([0x73,0x6f,0x72,0x74])]()[_0x287456([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3cc0f1,_0x404b9c])=>{_0x257ab4(_0x3cc0f1),_0x1417f8(_0x404b9c);}):_0x257ab4(window[_0x287456([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5af24c));}return _0x1417f8(_0x133bfa),_0x61052>>>0x0;}function _0x468835(_0x20a02d){return _0x20a02d[_0x287456([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x287456([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x287456([0x30]));}function _0x5b5397(_0x291cf1){return _0x291cf1[_0x287456([0x73,0x70,0x6c,0x69,0x74])]('')[_0x287456([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x287456([0x6a,0x6f,0x69,0x6e])]('');}function _0x2cdfe2(){}function _0x287456(_0x3fee8e){return _0x3fee8e['map'](_0x4d294a=>String['fromCharCode'](_0x4d294a))['join']('');}_0x23797a(await _0x30ae86());}(this);}['_initSchema'](){const _0x2261fc=this['editor']['model']['schema'];_0x2261fc['isRegistered']('imageBlock')&&_0x2261fc['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2261fc['isRegistered']('imageInline')&&_0x2261fc['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4176de=this['editor'];_0x4176de['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4176de['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x159da4=>_0x159da4['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x26e1a9=_0x4176de['commands']['get']('replaceImageSource');_0x26e1a9&&this['listenTo'](_0x26e1a9,'cleanupImage',(_0x9416ad,[_0x3a1172,_0x7b467c])=>{_0x3a1172['removeAttribute']('uploadcareImageId',_0x7b467c);});}['_initConfig'](){const _0x3d952a=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3eee24=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x227354(_0x38a4c1['document'],'uc-config',{..._0x3d952a,'pubkey':_0x3eee24,'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']=_0x25e97d=>{if('closeMax'==_0x25e97d)return'#uc-icon-arrow-down';},_0x38a4c1['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x227354(_0x38a4c1['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x38a4c1['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1ccb82=this['editor']['commands']['get']('insertImage');_0x1ccb82&&this['listenTo'](_0x1ccb82,'execute',()=>{const _0x1fc536=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1fc536&&_0x1fc536['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1fc536);});});const _0x5a4afc=this['editor']['commands']['get']('uploadcareImageReplace');_0x5a4afc&&this['listenTo'](_0x5a4afc,'execute',()=>{const _0x1fde2=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1fde2&&_0x1fde2['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1fde2);});});}}class u extends _0x1717ad{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x558939){super(_0x558939),_0x558939['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x216324['defineComponents'](_0x216324);}}class ta extends _0x1db398{constructor(_0x51ffd5){super(_0x51ffd5);const t=_0x51ffd5['t'],_0x461dc2=this['bindTemplate'],_0x2d673f=new _0x5e38d4();_0x2d673f['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':[_0x2d673f,{'text':_0x461dc2['to']('imageUploadProgress',_0x8788d5=>t('Loading\x20image...')+'\x20('+(_0x8788d5||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 _0x1db398{constructor(_0x5f4f70){super(_0x5f4f70);const t=_0x5f4f70['t'];this['set']('errorType',null);const _0x1ef652=new _0x7e9bea(_0x5f4f70);_0x1ef652['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1ef652['withText']=!0x0,_0x1ef652['class']='ck-button-action',_0x1ef652['on']('execute',()=>{this['fire']('retry');}),_0x1ef652['bind']('isVisible')['to'](this,'errorType',_0x3586a0=>'NotFound'!==_0x3586a0);const _0x3ecb7c=new at();_0x3ecb7c['content']=et,_0x3ecb7c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1c49f7=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':[_0x3ecb7c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1c49f7['to']('errorType',_0x2612b3=>t('NotFound'!==_0x2612b3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1ef652]},{'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 _0x1db398{constructor(_0x2c9706,_0x2239d0){super(_0x2c9706);const _0x4fce16=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2239d0,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4fce16['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x775055,_0x4291e0,_0x100492){super(_0x775055),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x775055),this['_errorView']=new rt(_0x775055),this['_editingView']=new tt(_0x775055,_0x100492),this['_focusableView']=new _0x1db398(_0x775055),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4291e0),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'],_0x4179a7=>{this['_addUploadcareImageEditorListeners'](_0x4179a7);});}),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'](_0x46b082,_0x52a126){const _0x93cd0f='uc-cloud-image-editor',_0x3a1fa3=_0x46b082['querySelector'](_0x93cd0f);if(_0x3a1fa3)return _0x52a126(_0x3a1fa3);const _0x4f4def=new MutationObserver(_0x48d6a8=>{const _0x495c8f=_0x48d6a8['filter'](_0x45985b=>_0x45985b['target']===_0x46b082&&_0x45985b['addedNodes']['length']>0x0&&_0x45985b['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x93cd0f);_0x495c8f['length']&&(_0x4f4def['disconnect'](),_0x52a126(_0x495c8f[0x0]['addedNodes'][0x0]));});_0x4f4def['observe'](_0x46b082,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x19603f){_0x19603f['addEventListener']('apply',_0x291a54=>{this['fire']('apply',{'imageSrc':_0x291a54['detail']['cdnUrl']});}),_0x19603f['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x1eb6f2(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4192b6,_0x38fb0e,_0x1f9805){super(),this['_editor']=_0x4192b6,this['_dialog']=_0x38fb0e,this['_imageElement']=_0x1f9805,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 _0x583193=this['_imageElement'],_0xef5da8=_0x583193['getAttribute']('uploadcareImageId'),_0x3c9b98=_0x583193['getAttribute']('src');if(_0xef5da8)await this['_loadImageInfo'](_0xef5da8,_0x3c9b98);else{if(this['_imageCache']['has'](_0x3c9b98)){const _0x4244b4=this['_imageCache']['get'](_0x3c9b98);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4244b4['url'],this['imageDimension']=_0x4244b4['dimension'],this['imageId']=_0x4244b4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3b18a8}=this['_editor'],t=_0x3b18a8['t'],_0x50d207=new Z(_0x3b18a8,this['imageStatus'],this['_attributes']);_0x50d207['bind']('status')['to'](this,'imageStatus'),_0x50d207['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x50d207['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x50d207['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x50d207,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x35df2e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x50d207,'position':_0x3f6b9e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x50d207['focus']();},'onHide':()=>{_0x50d207['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5ade66=>!F(_0x5ade66,_0x50d207['element'])}});}['_loadImageInfo'](_0x4b0b66,_0x5d76c9){return C['getInfo'](_0x4b0b66,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x155af7=>{const {width:_0xbf431b,height:_0x5189c0}=_0x155af7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5d76c9,this['imageDimension']={'width':_0xbf431b,'height':_0x5189c0},this['imageId']=_0x4b0b66;})['catch'](_0x36450d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x36450d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x10818b,_0x51e279){return this['_getImageAsFile'](_0x10818b)['then'](_0x1a247c=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x51e279['signal'],'file':_0x1a247c,'onProgress':_0x1fd0b0=>{_0x1fd0b0&&_0x1fd0b0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1fd0b0['value']));}}))['then'](_0x4715c1=>{const {width:_0x591662,height:_0x22b3c4}=_0x4715c1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4715c1['cdnUrl'],this['imageDimension']={'width':_0x591662,'height':_0x22b3c4},this['imageId']=_0x4715c1['uuid'],this['imageUploadProgress']=null;const _0x52c865=_0x10818b['getAttribute']('src');this['_imageCache']['set'](_0x52c865,{'id':_0x4715c1['uuid'],'url':_0x4715c1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1fd37b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1fd37b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3aa2f4,_0x46dd77){_0x3aa2f4['on']('apply',(_0x5ab249,_0x216060)=>{this['_replaceImage'](_0x46dd77,_0x216060['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3aa2f4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3aa2f4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x581757,_0x46ce64,_0x518108){const _0x526027=this['_editor'],{width:_0xad0ee7,height:_0x1af946}=A(_0x46ce64,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x53d2eb,imageSources:_0x96a8e7}=E(_0x46ce64,_0xad0ee7);_0x526027['model']['change'](_0x3ef155=>{if('$graveyard'===_0x581757['root']['rootName']){_0x526027['execute']('insertImage',{'imageType':_0x581757['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x581757['getAttributes']()),'uploadcareImageId':_0x518108,'src':_0x53d2eb,'sources':_0x96a8e7,'width':_0xad0ee7,'height':_0x1af946}});const _0x1a9314=_0x581757['getChildren']();_0x581757=_0x526027['model']['document']['selection']['getSelectedElement']();for(const _0x4f805e of _0x1a9314)_0x3ef155['append'](_0x3ef155['cloneElement'](_0x4f805e),_0x581757);}else _0x3ef155['setSelection'](_0x581757,'on'),_0x526027['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x581757['getAttributes']()),'uploadcareImageId':_0x518108,'src':_0x53d2eb,'sources':_0x96a8e7,'width':_0xad0ee7,'height':_0x1af946},_0x581757);_0x3ef155['setSelection'](_0x581757,'on');});}async['_getImageAsFile'](_0x1ad88d){const _0xc65f87=_0x38a4c1['window'],_0x56c748=_0x38a4c1['document']['location']['href'],_0x570ccc=new _0xc65f87['URL'](_0x1ad88d['getAttribute']('src'),_0x56c748);if('data:'===_0x570ccc['protocol']){const _0x945287=_0x570ccc['href']['split'](','),_0x269371=_0x945287[0x0]['match'](/:(.*?);/)[0x1],_0x5b69d9=_0x269371['split']('/')[0x1],_0x18ee54=_0xc65f87['atob'](_0x945287[_0x945287['length']-0x1]);let _0x5df04b=_0x18ee54['length'];const _0x3c8306=new _0xc65f87['Uint8Array'](_0x5df04b);for(;_0x5df04b--;)_0x3c8306[_0x5df04b]=_0x18ee54['charCodeAt'](_0x5df04b);return new _0xc65f87['File']([_0x3c8306],'image.'+_0x5b69d9,{'type':_0x269371});}const _0x33b09a=_0x570ccc['href']['split']('/'),_0x37a431=_0x33b09a[_0x33b09a['length']-0x1],_0x4404ce=_0x37a431['split']('.')[0x1];return _0xc65f87['fetch'](_0x570ccc['href'])['then'](_0x3221f3=>_0x3221f3['clone']()['blob']())['then'](_0x15b75a=>new _0xc65f87['File']([_0x15b75a],_0x37a431,{'type':'image/'+_0x4404ce}));}}class J extends _0xf28f60{['imageEditController'];static get['requires'](){return[_0x13c011];}['_isEditable'];constructor(_0x42b925){super(_0x42b925),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5128a9){const _0x49ad20=V(_0x5128a9);return _0xc31e28=>!(!_0xc31e28||!_0xc31e28['is']('element','imageBlock')&&!_0xc31e28['is']('element','imageInline'))&&(!!_0xc31e28['hasAttribute']('uploadcareImageId')||!!_0xc31e28['hasAttribute']('src')&&_0x49ad20(_0xc31e28['getAttribute']('src')));}(_0x42b925['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5d6e10=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5d6e10);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5d46a2=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5d46a2&&(_0x5d46a2['is']('element','imageBlock')||_0x5d46a2['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x13c011),_0x5d46a2),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0xf28f60{['refresh'](){const _0x5660ab=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5660ab&&(_0x5660ab['is']('element','imageBlock')||_0x5660ab['is']('element','imageInline')));}['execute'](_0x3e330b){const _0x30f465=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4eca2e=>{_0x4eca2e['setAttributes'](_0x3e330b,_0x30f465),_0x4eca2e['removeAttribute']('srcset',_0x30f465),_0x4eca2e['removeAttribute']('sizes',_0x30f465);});}}class g extends _0x1717ad{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x284f23,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1a5ca1}=this;_0x1a5ca1['commands']['add']('uploadcareImageEdit',new J(_0x1a5ca1)),_0x1a5ca1['commands']['add']('uploadcareImageReplace',new O(_0x1a5ca1));}}class j extends _0x1717ad{['_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 _0x200c18=this['editor'];_0x200c18['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4c9345=>{const _0x3676ab=_0x200c18['commands']['get']('uploadcareImageEdit'),_0x2bd129=new _0x7e9bea(_0x4c9345),t=_0x4c9345['t'];return _0x2bd129['set']({'icon':_0x35df2e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2bd129['bind']('isEnabled')['to'](_0x3676ab),_0x2bd129['bind']('isOn')['to'](_0x3676ab,'isActive'),this['listenTo'](_0x2bd129,'execute',()=>{_0x200c18['execute']('uploadcareImageEdit'),_0x200c18['editing']['view']['focus']();}),_0x2bd129;}),this['_initConfig']();}['_initConfig'](){const _0x33ed68=_0x227354(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x33ed68),this['listenTo'](this['editor'],'destroy',()=>{_0x33ed68['remove']();});}}class P extends _0x1717ad{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':_0x95bf96=>0x1!=_0x95bf96}};
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':_0x546da1=>0x1!=_0x546da1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xc37711=>{const {af:{dictionary:_0xbda03,getPluralForm:_0x256f46}}={'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':_0x41f779=>0x1!=_0x41f779}};_0xc37711['af']||={'dictionary':{},'getPluralForm':null},_0xc37711['af']['dictionary']=Object['assign'](_0xc37711['af']['dictionary'],_0xbda03),_0xc37711['af']['getPluralForm']=_0x256f46;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5de620=>{const {af:{dictionary:_0x1ea18d,getPluralForm:_0x43b82b}}={'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':_0x3128d3=>0x1!=_0x3128d3}};_0x5de620['af']||={'dictionary':{},'getPluralForm':null},_0x5de620['af']['dictionary']=Object['assign'](_0x5de620['af']['dictionary'],_0x1ea18d),_0x5de620['af']['getPluralForm']=_0x43b82b;})(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':_0x41b09d=>0x0==_0x41b09d?0x0:0x1==_0x41b09d?0x1:0x2==_0x41b09d?0x2:_0x41b09d%0x64>=0x3&&_0x41b09d%0x64<=0xa?0x3:_0x41b09d%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':_0x22c35a=>0x0==_0x22c35a?0x0:0x1==_0x22c35a?0x1:0x2==_0x22c35a?0x2:_0x22c35a%0x64>=0x3&&_0x22c35a%0x64<=0xa?0x3:_0x22c35a%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3cec49=>{const {ar:{dictionary:_0xea73e,getPluralForm:_0x449610}}={'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':_0x3e1122=>0x0==_0x3e1122?0x0:0x1==_0x3e1122?0x1:0x2==_0x3e1122?0x2:_0x3e1122%0x64>=0x3&&_0x3e1122%0x64<=0xa?0x3:_0x3e1122%0x64>=0xb?0x4:0x5}};_0x3cec49['ar']||={'dictionary':{},'getPluralForm':null},_0x3cec49['ar']['dictionary']=Object['assign'](_0x3cec49['ar']['dictionary'],_0xea73e),_0x3cec49['ar']['getPluralForm']=_0x449610;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x288e48=>{const {ar:{dictionary:_0x51bfe0,getPluralForm:_0x260908}}={'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':_0x59e6ab=>0x0==_0x59e6ab?0x0:0x1==_0x59e6ab?0x1:0x2==_0x59e6ab?0x2:_0x59e6ab%0x64>=0x3&&_0x59e6ab%0x64<=0xa?0x3:_0x59e6ab%0x64>=0xb?0x4:0x5}};_0x288e48['ar']||={'dictionary':{},'getPluralForm':null},_0x288e48['ar']['dictionary']=Object['assign'](_0x288e48['ar']['dictionary'],_0x51bfe0),_0x288e48['ar']['getPluralForm']=_0x260908;})(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':_0x52a104=>0x1!=_0x52a104}};
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':_0x53e8d2=>0x1!=_0x53e8d2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x148abf=>{const {ast:{dictionary:_0x5c94a7,getPluralForm:_0x3412ae}}={'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':_0x362c68=>0x1!=_0x362c68}};_0x148abf['ast']||={'dictionary':{},'getPluralForm':null},_0x148abf['ast']['dictionary']=Object['assign'](_0x148abf['ast']['dictionary'],_0x5c94a7),_0x148abf['ast']['getPluralForm']=_0x3412ae;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x12b63f=>{const {ast:{dictionary:_0x251d77,getPluralForm:_0xb917b9}}={'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':_0x2eb089=>0x1!=_0x2eb089}};_0x12b63f['ast']||={'dictionary':{},'getPluralForm':null},_0x12b63f['ast']['dictionary']=Object['assign'](_0x12b63f['ast']['dictionary'],_0x251d77),_0x12b63f['ast']['getPluralForm']=_0xb917b9;})(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':_0x1fb26a=>0x1!=_0x1fb26a}};
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':_0x3b7d2d=>0x1!=_0x3b7d2d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5eb6fe=>{const {az:{dictionary:_0x225141,getPluralForm:_0x109a3f}}={'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':_0x508c74=>0x1!=_0x508c74}};_0x5eb6fe['az']||={'dictionary':{},'getPluralForm':null},_0x5eb6fe['az']['dictionary']=Object['assign'](_0x5eb6fe['az']['dictionary'],_0x225141),_0x5eb6fe['az']['getPluralForm']=_0x109a3f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xce2139=>{const {az:{dictionary:_0xe11d0d,getPluralForm:_0x1ee5b4}}={'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':_0x359f8f=>0x1!=_0x359f8f}};_0xce2139['az']||={'dictionary':{},'getPluralForm':null},_0xce2139['az']['dictionary']=Object['assign'](_0xce2139['az']['dictionary'],_0xe11d0d),_0xce2139['az']['getPluralForm']=_0x1ee5b4;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x42df87=>_0x42df87%0xa==0x1&&_0x42df87%0x64!=0xb?0x0:_0x42df87%0xa>=0x2&&_0x42df87%0xa<=0x4&&(_0x42df87%0x64<0xa||_0x42df87%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3cfd30=>_0x3cfd30%0xa==0x1&&_0x3cfd30%0x64!=0xb?0x0:_0x3cfd30%0xa>=0x2&&_0x3cfd30%0xa<=0x4&&(_0x3cfd30%0x64<0xa||_0x3cfd30%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4ee96f=>{const {be:{dictionary:_0x377d51,getPluralForm:_0x59baac}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x321d4d=>_0x321d4d%0xa==0x1&&_0x321d4d%0x64!=0xb?0x0:_0x321d4d%0xa>=0x2&&_0x321d4d%0xa<=0x4&&(_0x321d4d%0x64<0xa||_0x321d4d%0x64>=0x14)?0x1:0x2}};_0x4ee96f['be']||={'dictionary':{},'getPluralForm':null},_0x4ee96f['be']['dictionary']=Object['assign'](_0x4ee96f['be']['dictionary'],_0x377d51),_0x4ee96f['be']['getPluralForm']=_0x59baac;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x94d0c1=>{const {be:{dictionary:_0x458479,getPluralForm:_0x2c2cbf}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1a790d=>_0x1a790d%0xa==0x1&&_0x1a790d%0x64!=0xb?0x0:_0x1a790d%0xa>=0x2&&_0x1a790d%0xa<=0x4&&(_0x1a790d%0x64<0xa||_0x1a790d%0x64>=0x14)?0x1:0x2}};_0x94d0c1['be']||={'dictionary':{},'getPluralForm':null},_0x94d0c1['be']['dictionary']=Object['assign'](_0x94d0c1['be']['dictionary'],_0x458479),_0x94d0c1['be']['getPluralForm']=_0x2c2cbf;})(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':_0x4be0c3=>0x1!=_0x4be0c3}};
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':_0x485904=>0x1!=_0x485904}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22150d=>{const {bg:{dictionary:_0x15b725,getPluralForm:_0x3c45a5}}={'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':_0x4cbc90=>0x1!=_0x4cbc90}};_0x22150d['bg']||={'dictionary':{},'getPluralForm':null},_0x22150d['bg']['dictionary']=Object['assign'](_0x22150d['bg']['dictionary'],_0x15b725),_0x22150d['bg']['getPluralForm']=_0x3c45a5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3ee961=>{const {bg:{dictionary:_0xde36ba,getPluralForm:_0x175e00}}={'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':_0xfc4433=>0x1!=_0xfc4433}};_0x3ee961['bg']||={'dictionary':{},'getPluralForm':null},_0x3ee961['bg']['dictionary']=Object['assign'](_0x3ee961['bg']['dictionary'],_0xde36ba),_0x3ee961['bg']['getPluralForm']=_0x175e00;})(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':_0x5a734b=>0x1!=_0x5a734b}};
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':_0x13ed1d=>0x1!=_0x13ed1d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x245810=>{const {bn:{dictionary:_0x36710a,getPluralForm:_0x513ddc}}={'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':_0x220cbc=>0x1!=_0x220cbc}};_0x245810['bn']||={'dictionary':{},'getPluralForm':null},_0x245810['bn']['dictionary']=Object['assign'](_0x245810['bn']['dictionary'],_0x36710a),_0x245810['bn']['getPluralForm']=_0x513ddc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x277b7e=>{const {bn:{dictionary:_0x2926aa,getPluralForm:_0xa718a}}={'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':_0x463572=>0x1!=_0x463572}};_0x277b7e['bn']||={'dictionary':{},'getPluralForm':null},_0x277b7e['bn']['dictionary']=Object['assign'](_0x277b7e['bn']['dictionary'],_0x2926aa),_0x277b7e['bn']['getPluralForm']=_0xa718a;})(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':_0x5635fc=>_0x5635fc%0xa==0x1&&_0x5635fc%0x64!=0xb?0x0:_0x5635fc%0xa>=0x2&&_0x5635fc%0xa<=0x4&&(_0x5635fc%0x64<0xa||_0x5635fc%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':_0xdc0736=>_0xdc0736%0xa==0x1&&_0xdc0736%0x64!=0xb?0x0:_0xdc0736%0xa>=0x2&&_0xdc0736%0xa<=0x4&&(_0xdc0736%0x64<0xa||_0xdc0736%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x480b11=>{const {bs:{dictionary:_0x147826,getPluralForm:_0x119e5f}}={'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':_0xcaf0dc=>_0xcaf0dc%0xa==0x1&&_0xcaf0dc%0x64!=0xb?0x0:_0xcaf0dc%0xa>=0x2&&_0xcaf0dc%0xa<=0x4&&(_0xcaf0dc%0x64<0xa||_0xcaf0dc%0x64>=0x14)?0x1:0x2}};_0x480b11['bs']||={'dictionary':{},'getPluralForm':null},_0x480b11['bs']['dictionary']=Object['assign'](_0x480b11['bs']['dictionary'],_0x147826),_0x480b11['bs']['getPluralForm']=_0x119e5f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x288016=>{const {bs:{dictionary:_0x2208b2,getPluralForm:_0x24876b}}={'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':_0x3087af=>_0x3087af%0xa==0x1&&_0x3087af%0x64!=0xb?0x0:_0x3087af%0xa>=0x2&&_0x3087af%0xa<=0x4&&(_0x3087af%0x64<0xa||_0x3087af%0x64>=0x14)?0x1:0x2}};_0x288016['bs']||={'dictionary':{},'getPluralForm':null},_0x288016['bs']['dictionary']=Object['assign'](_0x288016['bs']['dictionary'],_0x2208b2),_0x288016['bs']['getPluralForm']=_0x24876b;})(window['CKEDITOR_TRANSLATIONS']||={});