@ckeditor/ckeditor5-uploadcare 45.1.0-alpha.1 → 45.1.0-alpha.3

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 _0x46c2fe,Command as _0x39d543}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x557665,IconGooglePhotos as _0x57b5ee,IconGoogleDrive as _0x5cac58,IconFacebook as _0x350405,IconDropbox as _0x1cb802,IconUploadcareLink as _0x120b42,IconUploadcareImageUpload as _0x42cdae,IconError as et,IconUploadcareImageEdit as _0x318c1b}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xa6b267,MenuBarMenuListItemButtonView as _0xd527c9,View as _0x10bc53,FocusCycler as _0x18cfa4,Dialog as _0x324185,DialogViewPosition as _0xc3e8b,SpinnerView as _0x541b8e,IconView as at,Notification as _0xa72122}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xc5265,DomEmitterMixin as _0x3bc6f8,global as _0x459f38,getAncestors as _0xae05e6,ObservableMixin as _0x345e3f,createElement as _0x4bcdac,uid as _0x46df2a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x331ab8}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5cda30,info as _0x1430fa}from'@uploadcare/upload-client';import*as _0x41031f from'@uploadcare/file-uploader';var o=function(_0x2f5846){return _0x2f5846['Local']='local',_0x2f5846['URL']='url',_0x2f5846['Dropbox']='dropbox',_0x2f5846['GDrive']='gdrive',_0x2f5846['Facebook']='facebook',_0x2f5846['GPhotos']='gphotos',_0x2f5846['OneDrive']='onedrive',_0x2f5846;}({});function _(_0x4b0076,_0x41e40a,_0x34e2b7){const t=_0x4b0076['t'],_0x3bedcf=_0x4b0076['t'];switch(_0x41e40a){case o['Local']:return{'text':_0x3bedcf('Insert'===_0x34e2b7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3bedcf('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x34e2b7?_0x3bedcf('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3bedcf('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x34e2b7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x34e2b7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x34e2b7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x34e2b7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x34e2b7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x41e40a;}}class e extends _0x46c2fe{['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 _0x35b942=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3b149a;for(const _0x126d7b in _0x35b942){const _0x1fc1e3=_0x126d7b,_0x2a2610=_0x35b942[_0x1fc1e3];if('uploadcareLicenseKeyValid'==_0x2a2610||'uploadcareLicenseKeyInvalid'==_0x2a2610||'uploadcareLicenseKeyExpired'==_0x2a2610||'uploadcareLicenseKeyDomainLimit'==_0x2a2610||'uploadcareLicenseKeyNotAllowed'==_0x2a2610||'uploadcareLicenseKeyEvaluationLimit'==_0x2a2610||'uploadcareLicenseKeyTrialLimit'==_0x2a2610||'uploadcareLicenseKeyUsageLimit'==_0x2a2610){delete _0x35b942[_0x1fc1e3],_0x3b149a=_0x2a2610,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3b149a&&_0x35b942['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3b149a&&_0x35b942['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3b149a&&_0x35b942['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3b149a&&_0x35b942['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3b149a&&_0x35b942['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3b149a&&_0x35b942['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3b149a&&_0x35b942['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x442332}=this,_0x5bb301=_0x442332['commands']['get']('uploadcare');if(!_0x5bb301)return;const _0x3d866a=this['_normalizeConfigSourceList'](_0x442332['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x36c544,_0x4af45e)=>{const _0x40c017=this['_getIntegrationKey'](_0x4af45e['type']);return _0x36c544[_0x40c017]||(_0x36c544[_0x40c017]=[]),_0x36c544[_0x40c017]['push'](_0x4af45e),_0x36c544;},{});_0x442332['plugins']['has']('ImageInsertUI')&&_0x442332['commands']['get']('uploadcare')&&Object['entries'](_0x3d866a)['forEach'](([_0x42ecec,_0x52a35e])=>{_0x442332['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x42ecec,'observable':()=>_0x5bb301,'buttonViewCreator':()=>this['_createToolbarButton'](_0x52a35e),'formViewCreator':()=>this['_createDropdownButtons'](_0x52a35e),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x52a35e),'override':'assetManager'!==_0x42ecec});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5ed3f2){const {locale:_0x58c3e4}=this['editor'];return _0x5ed3f2['map'](_0x10ae21=>{const _0x3f3b19=_(_0x58c3e4,_0x10ae21,'Insert');switch(_0x10ae21){case o['Local']:return{'icon':_0x42cdae,'type':o['Local'],..._0x3f3b19};case o['URL']:return{'icon':_0x120b42,'type':o['URL'],..._0x3f3b19};case o['Dropbox']:return{'icon':_0x1cb802,'type':o['Dropbox'],..._0x3f3b19};case o['Facebook']:return{'icon':_0x350405,'type':o['Facebook'],..._0x3f3b19};case o['GDrive']:return{'icon':_0x5cac58,'type':o['GDrive'],..._0x3f3b19};case o['GPhotos']:return{'icon':_0x57b5ee,'type':o['GPhotos'],..._0x3f3b19};case o['OneDrive']:return{'icon':_0x557665,'type':o['OneDrive'],..._0x3f3b19};}});}['_getIntegrationKey'](_0x3ec6cd){switch(_0x3ec6cd){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5d6546,_0x5762a4){const _0x21216c=this['editor'],_0x4735d9=new _0x5d6546(_0x21216c['locale']),_0x503366=_0x21216c['commands']['get']('uploadcare');return _0x4735d9['bind']('isEnabled')['to'](_0x503366),_0x4735d9['on']('execute',()=>{_0x503366['execute'](_0x5762a4);}),_0x4735d9;}['_createToolbarButton'](_0x379241){const {locale:_0x4cd384}=this['editor'],_0x44bde5=this['editor']['plugins']['get']('ImageInsertUI'),_0x9278c0=_0x379241[0x0],_0x423615=this['_createButton'](_0xa6b267,_0x9278c0['type']);return _0x423615['icon']=_0x9278c0['icon'],_0x423615['bind']('label')['to'](_0x44bde5,'isImageSelected',_0x2d5a47=>_(_0x4cd384,_0x9278c0['type'],_0x2d5a47?'Replace':'Insert')['text']),_0x423615['tooltip']=!0x0,_0x423615;}['_createDropdownButtons'](_0x3b46ae){const {locale:_0x217d9f}=this['editor'],_0x58e455=this['editor']['plugins']['get']('ImageInsertUI');return _0x3b46ae['map'](_0x4205e8=>{const _0x4027f4=this['_createButton'](_0xa6b267,_0x4205e8['type']);return _0x4027f4['withText']=!0x0,_0x4027f4['icon']=_0x4205e8['icon'],_0x4027f4['bind']('label')['to'](_0x58e455,'isImageSelected',_0x3ef661=>_(_0x217d9f,_0x4205e8['type'],_0x3ef661?'Replace':'Insert')['text']),_0x4027f4;});}['_createMenuBarButtons'](_0x17bca5){return _0x17bca5['map'](_0x566dab=>{const _0xccd85a=this['_createButton'](_0xd527c9,_0x566dab['type']);return _0xccd85a['icon']=_0x566dab['icon'],_0xccd85a['label']=_0x566dab['shortText'],_0xccd85a;});}}class q extends _0x10bc53{['focusTracker'];['focusCycler'];constructor(_0x22efbe){super(_0x22efbe),this['focusTracker']=new _0xc5265(),this['focusCycler']=new _0x18cfa4({'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(_0x5030c7){super(_0x5030c7),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(_0x2797c7,_0x2e3090){const _0x3efbee=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4858d9=>_0x4858d9<=_0x2e3090)['map'](_0x413a97=>_0x2797c7['replace'](/\/$/,'')+'/-/resize/'+_0x413a97+'x/\x20'+_0x413a97+'w');return{'imageFallbackUrl':_0x2797c7,'imageSources':[{'srcset':_0x3efbee['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2e3090+'px)\x20100vw,\x20'+_0x2e3090+'px','type':'image/webp'}]};}function A(_0xf1483,_0x414a27,_0x44ac62){const _0x52fc7e=_0xf1483['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x52fc7e?parseInt(_0x52fc7e[0x1],0xa):_0x414a27,'height':_0x52fc7e?parseInt(_0x52fc7e[0x2],0xa):_0x44ac62};}function m(_0x1bed15,_0x6853c5){const _0x37f036=Object['create'](_0x3bc6f8),_0x100218=_0x1bed15['plugins']['get']('ImageUtils'),_0x3d4fb8=_0x1bed15['editing']['mapper']['toViewElement'](_0x6853c5),_0x521ec7=_0x100218['findViewImgElement'](_0x3d4fb8),_0x5782be=_0x1bed15['editing']['view']['domConverter']['viewToDom'](_0x521ec7),_0x29a6f9=_0x6853c5['getAttribute']('width'),_0x16ee1a=_0x6853c5['getAttribute']('height'),_0x4f3447='image-processing';_0x1bed15['editing']['view']['change'](_0x3e1ef7=>{_0x3e1ef7['addClass'](_0x4f3447,_0x3d4fb8),_0x3e1ef7['setStyle']('aspect-ratio',_0x29a6f9+'/'+_0x16ee1a,_0x521ec7);}),_0x37f036['listenTo'](_0x5782be,'load',()=>{_0x37f036['stopListening'](_0x5782be,'load'),_0x1bed15['editing']['view']['change'](_0x1f4bd8=>{_0x1f4bd8['removeClass'](_0x4f3447,_0x3d4fb8),_0x1f4bd8['removeStyle']('aspect-ratio',_0x521ec7);});});}function V(_0x1823b7){if(Array['isArray'](_0x1823b7)){const _0x1a8f76=_0x1823b7['map'](V);return _0x28d9ad=>_0x1a8f76['some'](_0x1786e2=>_0x1786e2(_0x28d9ad));}if('origin'==_0x1823b7){const _0x175b3c=_0x459f38['window']['location']['origin'];return _0xfe7eaf=>new URL(_0xfe7eaf,_0x459f38['document']['baseURI'])['origin']==_0x175b3c;}return'function'==typeof _0x1823b7?_0x1823b7:_0x1823b7 instanceof RegExp?_0x45a95c=>!(!_0x45a95c['match'](_0x1823b7)&&!_0x45a95c['replace'](/^https?:\/\//,'')['match'](_0x1823b7)):()=>!0x1;}function F(_0x2067bc,_0x2d28cf){return _0xae05e6(_0x2067bc['target'])['includes'](_0x2d28cf);}class l extends/* #__PURE__ -- @preserve */
24
- _0x345e3f(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x3e259f,_0x5f599a,_0x1b72c7){super(),this['_editor']=_0x3e259f,this['_editing']=_0x5f599a,this['_dialog']=_0x3e259f['plugins']['get'](_0x324185),this['_api']=_0x5f599a['ctxElement']['getAPI'](),this['_type']=_0x1b72c7,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:_0x24e54a,model:_0x2ae863}=this['_editor'],_0x5d0477=_0x2ae863['document']['selection']['getSelectedElement'](),_0x552afc=_0x5d0477&&(_0x5d0477['is']('element','imageBlock')||_0x5d0477['is']('element','imageInline'));this['_formView']=new S(_0x24e54a),this['_dialog']['show']({'id':'uploadCare','icon':_0x42cdae,'title':_(_0x24e54a,this['_type'],_0x552afc?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xc3e8b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x49c607=>!F(_0x49c607,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1fa3d4}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x14e50c=>{const _0x159a70=_0x1fa3d4['length'];for(const _0x47c71a of _0x1fa3d4){const _0x398bdd=_0x47c71a===_0x1fa3d4[_0x159a70-0x1],{cdnUrl:_0x3ec0bc,fileInfo:_0x1e934b}=_0x47c71a;if(!_0x3ec0bc||!_0x1e934b)continue;const {width:_0x4d13b9,height:_0x4511a2}=_0x1e934b['imageInfo'],_0x1f4981=A(_0x3ec0bc,_0x4d13b9,_0x4511a2),_0x19427f=E(_0x3ec0bc,_0x1f4981['width']),_0x32878c={'id':_0x1e934b['uuid'],'type':'image','attributes':{'imageDimension':_0x1f4981,..._0x19427f}};this['_insertAsset'](_0x32878c,_0x398bdd,_0x14e50c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5292be=>{'idle'===_0x5292be['detail']['status']&&!_0x5292be['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4d5030,_0x5d745d,_0x1761f5){const _0x375970=this['_editor']['model']['document']['selection'],_0x43e2e9=_0x375970['getSelectedElement'](),_0x397e32=!(!_0x43e2e9||!_0x43e2e9['is']('element','imageInline'));_0x1761f5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4d5030,_0x397e32),_0x5d745d||_0x1761f5['setSelection'](_0x375970['getLastPosition']());}['_insertImage'](_0x1cf11e,_0xea6d5f){const _0x337f64=this['_editor'],{imageDimension:_0x6860a8,imageFallbackUrl:_0x2db21c,imageSources:_0x9e8680}=_0x1cf11e['attributes'];_0x337f64['execute']('insertImage',{'imageType':_0xea6d5f?'imageInline':null,'source':{'uploadcareImageId':_0x1cf11e['id'],'src':_0x2db21c,'sources':_0x9e8680,..._0x6860a8}});}}class n extends _0x39d543{['_editing'];['_controller']=null;static get['requires'](){return[_0x324185,i];}constructor(_0x978131){super(_0x978131),this['_editing']=_0x978131['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x29efcc){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x29efcc);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x1634c7,publicKey:_0xa67c83,signal:_0xdf06dd,onProgress:_0x40c41c}){return _0x5cda30(_0x1634c7,{'publicKey':_0xa67c83,'store':'auto','signal':_0xdf06dd,'onProgress':_0x40c41c});}static['getInfo'](_0x32f4f5,_0xd82bc3){return _0x1430fa(_0x32f4f5,_0xd82bc3);}}class p extends _0x46c2fe{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x331ab8,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x242bc6=this['editor'];if(!!!_0x242bc6['config']['get']('uploadcare'))return;_0x242bc6['plugins']['get'](_0x331ab8)['createUploadAdapter']=_0x2a9df5=>new x(_0x2a9df5,_0x242bc6),_0x242bc6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x36cfbd,{imageElement:_0x27715e,data:_0x3f026a})=>{_0x242bc6['model']['change'](_0xc1cbff=>{_0xc1cbff['setAttribute']('uploadcareImageId',_0x3f026a['uploadcareImageId'],_0x27715e);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x5a2f2c,_0x246efe){this['loader']=_0x5a2f2c,this['editor']=_0x246efe,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xb8bd78=this['editor']['config']['get']('uploadcare.pubkey'),_0x4e142e=await this['loader']['file'];return C['upload']({'file':_0x4e142e,'publicKey':_0xb8bd78,'signal':this['controller']['signal'],'onProgress':_0xa1263a=>{_0xa1263a&&_0xa1263a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xa1263a['value']);}})['then'](async _0x11d247=>{const {imageFallbackUrl:_0x10924b,imageSources:_0x15cac1}=E(_0x11d247['cdnUrl'],_0x11d247['imageInfo']['width']);return{'uploadcareImageId':_0x11d247['uuid'],'default':_0x10924b,'sources':_0x15cac1};})['catch'](()=>{const _0x165062=t('Cannot\x20upload\x20file:')+('\x20'+_0x4e142e['name']+'.');return Promise['reject'](_0x165062);});}['abort'](){this['controller']['abort']();}}class i extends _0x46c2fe{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x324185];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x1505c7=this['editor'];_0x1505c7['commands']['add']('uploadcare',new n(_0x1505c7));}['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 _0x1cbc3c=_0x459f38['document']['querySelector']('input[uploadcare-file-input]');_0x1cbc3c&&_0x1cbc3c['remove']();}),async function(_0x1827cd){const _0x43839d=_0x5d7c28([0x35,0x57,0x76,0x6b,0x6d,0x6a,0x4a,0x4c,0x65,0x69,0x73,0x54,0x55,0x61,0x7a,0x51,0x37,0x62,0x48,0x64,0x38,0x52,0x53,0x41,0x47,0x66,0x49,0x79,0x4b,0x4d,0x34,0x77,0x43,0x75,0x56,0x58,0x63,0x42,0x33,0x72,0x70,0x4f,0x68,0x50,0x59,0x31,0x32,0x78,0x46,0x71,0x6c,0x74,0x39,0x5a,0x45,0x6e,0x67,0x44,0x6f,0x4e,0x30,0x36]),_0xe51ffa=0x5032bd09,_0x1169ef=0x5035da49^_0xe51ffa,_0x55172c=window[_0x5d7c28([0x44,0x61,0x74,0x65])][_0x5d7c28([0x6e,0x6f,0x77])](),_0x4f29c9=_0x1827cd[_0x5d7c28([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ad288=new window[(_0x5d7c28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26cfba=>{_0x4f29c9[_0x5d7c28([0x6f,0x6e,0x63,0x65])](_0x5d7c28([0x72,0x65,0x61,0x64,0x79]),_0x26cfba);}),_0x4745c2={[_0x5d7c28([0x6b,0x74,0x79])]:_0x5d7c28([0x45,0x43]),[_0x5d7c28([0x75,0x73,0x65])]:_0x5d7c28([0x73,0x69,0x67]),[_0x5d7c28([0x63,0x72,0x76])]:_0x5d7c28([0x50,0x2d,0x32,0x35,0x36]),[_0x5d7c28([0x78])]:_0x5d7c28([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]),[_0x5d7c28([0x79])]:_0x5d7c28([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]),[_0x5d7c28([0x61,0x6c,0x67])]:_0x5d7c28([0x45,0x53,0x32,0x35,0x36])},_0x51cf02=_0x4f29c9[_0x5d7c28([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d7c28([0x67,0x65,0x74])](_0x5d7c28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1c1a7a(){let _0x43ca3c,_0x108d11=null,_0x4f179d=null;try{if(_0x51cf02==_0x5d7c28([0x47,0x50,0x4c]))return _0x5d7c28([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43ca3c=_0x5779f8(),!_0x43ca3c)return _0x5d7c28([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x43ca3c[_0x5d7c28([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4f179d=_0x12bc96(_0x43ca3c[_0x5d7c28([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43ca3c[_0x5d7c28([0x6a,0x74,0x69])])),await _0x32144b()?_0x550e17()?_0x43052c()?_0x5d7c28([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35d7c8()?(_0x43ca3c[_0x5d7c28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d7c28([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x108d11=_0x5698fd(_0x5d7c28([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x43ca3c[_0x5d7c28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d7c28([0x74,0x72,0x69,0x61,0x6c])&&(_0x108d11=_0x5698fd(_0x5d7c28([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc432bf()):_0x5d7c28([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d7c28([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d7c28([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3e1e56){return _0x5d7c28([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x43052c(){const _0x196e4a=[_0x5d7c28([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d7c28([0x74,0x72,0x69,0x61,0x6c])][_0x5d7c28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43ca3c[_0x5d7c28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55172c/0x3e8:0xe10*_0x1169ef;return _0x43ca3c[_0x5d7c28([0x65,0x78,0x70])]<_0x196e4a;}function _0x550e17(){const _0x51e289=_0x43ca3c[_0x5d7c28([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x51e289&&(!!_0x51e289[_0x5d7c28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d7c28([0x2a]))||!!_0x51e289[_0x5d7c28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d7c28([0x55,0x50,0x4c,0x43])));}function _0x35d7c8(){const _0x5343b7=_0x43ca3c[_0x5d7c28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5343b7||0x0==_0x5343b7[_0x5d7c28([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e07b7}=new URL(window[_0x5d7c28([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5343b7[_0x5d7c28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e07b7))return!0x0;const _0x483e5b=_0x2e07b7[_0x5d7c28([0x73,0x70,0x6c,0x69,0x74])](_0x5d7c28([0x2e]));return _0x5343b7[_0x5d7c28([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cbee0=>_0x5cbee0[_0x5d7c28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d7c28([0x2a])))[_0x5d7c28([0x6d,0x61,0x70])](_0x19982c=>_0x19982c[_0x5d7c28([0x73,0x70,0x6c,0x69,0x74])](_0x5d7c28([0x2e])))[_0x5d7c28([0x73,0x6f,0x6d,0x65])](_0x35eb0=>_0x483e5b[_0x5d7c28([0x65,0x76,0x65,0x72,0x79])]((_0x1a05f9,_0x4269e2)=>_0x35eb0[_0x4269e2]===_0x1a05f9||_0x35eb0[_0x4269e2]===_0x5d7c28([0x2a])));}function _0xc432bf(){return _0x108d11&&_0x4f179d?new window[(_0x5d7c28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x310107,_0x1bddb4)=>{_0x108d11[_0x5d7c28([0x74,0x68,0x65,0x6e])](_0x310107,_0x1bddb4),_0x4f179d[_0x5d7c28([0x74,0x68,0x65,0x6e])](_0x463db0=>{_0x463db0!=_0x5d7c28([0x56,0x61,0x6c,0x69,0x64])&&_0x310107(_0x463db0);},_0x1bddb4);}):_0x108d11||_0x4f179d||_0x5d7c28([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12bc96(_0xa70bc,_0x1fc3c0){return new window[(_0x5d7c28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a9301=>{if(_0x5c02c4())return _0x2a9301(_0x5d7c28([0x56,0x61,0x6c,0x69,0x64]));_0x277cca(),_0x4f29c9[_0x5d7c28([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d7c28([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x351346=!0x1;const _0x4aa89b=_0x46df2a();function _0x51cbb1(_0x3be341){return!!_0x3be341&&(typeof _0x3be341===_0x5d7c28([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3be341===_0x5d7c28([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3be341[_0x5d7c28([0x74,0x68,0x65,0x6e])]===_0x5d7c28([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3be341[_0x5d7c28([0x63,0x61,0x74,0x63,0x68])]===_0x5d7c28([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4db7c7(_0x3466e6){_0x2b123e(_0x3466e6)[_0x5d7c28([0x74,0x68,0x65,0x6e])](_0x1488e9=>{if(!_0x1488e9||_0x1488e9[_0x5d7c28([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d7c28([0x6f,0x6b]))return _0x5d7c28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1dbcfd(_0x2ab9e1(_0x4aa89b+_0x1fc3c0))!=_0x1488e9[_0x5d7c28([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d7c28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d7c28([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d7c28([0x74,0x68,0x65,0x6e])](_0x56850d=>(_0x479972(),_0x56850d),()=>{const _0x31cc9e=_0x41e7a8();return null==_0x31cc9e?(_0x479972(),_0x5d7c28([0x56,0x61,0x6c,0x69,0x64])):_0x5d7c28(_0x55172c-_0x31cc9e>(0x743e3909^_0xe51ffa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d7c28([0x74,0x68,0x65,0x6e])](_0x2a9301)[_0x5d7c28([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a9301(_0x5d7c28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12e7ad=0x50045389^_0xe51ffa;function _0x479972(){const _0x49558d=_0x5d7c28([0x6c,0x6c,0x63,0x74,0x2d])+_0x1dbcfd(_0x2ab9e1(_0xa70bc)),_0x27b6d5=_0x95421d(_0x1dbcfd(window[_0x5d7c28([0x4d,0x61,0x74,0x68])][_0x5d7c28([0x63,0x65,0x69,0x6c])](_0x55172c/_0x12e7ad)));window[_0x5d7c28([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d7c28([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49558d,_0x27b6d5);}function _0x41e7a8(){const _0x58c44b=_0x5d7c28([0x6c,0x6c,0x63,0x74,0x2d])+_0x1dbcfd(_0x2ab9e1(_0xa70bc)),_0x56e735=window[_0x5d7c28([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d7c28([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58c44b);return _0x56e735?window[_0x5d7c28([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x95421d(_0x56e735),0x10)*_0x12e7ad:null;}function _0x2b123e(_0x3f9fb7){return new window[(_0x5d7c28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1257b8,_0x962af5)=>{_0x3f9fb7[_0x5d7c28([0x74,0x68,0x65,0x6e])](_0x1257b8,_0x962af5),window[_0x5d7c28([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x962af5,0x503369c9^_0xe51ffa);});}}_0x4f29c9[_0x5d7c28([0x6f,0x6e])](_0x5d7c28([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x41f473,_0x430ffe)=>{if(_0x430ffe[0x0]!=_0xa70bc)return _0x2a9301(_0x5d7c28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x430ffe[0x1]={..._0x430ffe[0x1],[_0x5d7c28([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4aa89b};},{[_0x5d7c28([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d7c28([0x68,0x69,0x67,0x68])}),_0x4f29c9[_0x5d7c28([0x6f,0x6e])](_0x5d7c28([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58e8a7=>{_0x51cbb1(_0x58e8a7[_0x5d7c28([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x351346=!0x0,_0x4db7c7(_0x58e8a7[_0x5d7c28([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d7c28([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d7c28([0x6c,0x6f,0x77])}),_0x3ad288[_0x5d7c28([0x74,0x68,0x65,0x6e])](()=>{_0x351346||_0x2a9301(_0x5d7c28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c02c4(){return _0x4f29c9[_0x5d7c28([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d7c28([0x76,0x69,0x65,0x77])][_0x5d7c28([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d7c28([0x61,0x75,0x74,0x6f]);}function _0x277cca(){_0x4f29c9[_0x5d7c28([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d7c28([0x76,0x69,0x65,0x77])][_0x5d7c28([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d7c28([0x61,0x75,0x74,0x6f]);}}function _0x5698fd(_0x184bc6){const _0x292f31=[new window[(_0x5d7c28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x173e3d=>setTimeout(_0x173e3d,0x503b83c5^_0xe51ffa)),_0x3ad288[_0x5d7c28([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d7c28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e227c=>{let _0x1bebec=0x0;_0x4f29c9[_0x5d7c28([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d7c28([0x6f,0x6e])](_0x5d7c28([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x69fe10,_0x5120ab)=>{_0x5120ab[0x0][_0x5d7c28([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1bebec++,_0x1bebec==(0x5032bcf1^_0xe51ffa)&&(_0x2e227c(),_0x69fe10[_0x5d7c28([0x6f,0x66,0x66])]());});}))];return window[_0x5d7c28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d7c28([0x72,0x61,0x63,0x65])](_0x292f31)[_0x5d7c28([0x74,0x68,0x65,0x6e])](()=>_0x184bc6);}async function _0x4ac01d(){await _0x3ad288,_0x4f29c9[_0x5d7c28([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d7c28([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18f88c,_0x4f29c9[_0x5d7c28([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d7c28([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18f88c,_0x4f29c9[_0x5d7c28([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d7c28([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4aafd1(_0x940c93){const _0x340491=_0x3c5d8f();_0x4f29c9[_0x340491]=_0x5d7c28([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x940c93,_0x940c93!=_0x5d7c28([0x56,0x61,0x6c,0x69,0x64])&&_0x4ac01d();}function _0x3c5d8f(){const _0x1d123c=window[_0x5d7c28([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d7c28([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d7c28([0x6e,0x6f,0x77])]())[_0x5d7c28([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d7c28([0x2e]),'');let _0x1d6260=_0x5d7c28([0x57]);for(let _0x2c52c6=0x0;_0x2c52c6<_0x1d123c[_0x5d7c28([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c52c6+=0x2){let _0x68d331=window[_0x5d7c28([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d123c[_0x5d7c28([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c52c6,_0x2c52c6+0x2));_0x68d331>=_0x43839d[_0x5d7c28([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x68d331-=_0x43839d[_0x5d7c28([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d6260+=_0x43839d[_0x68d331];}return _0x1d6260;}function _0x5779f8(){const _0x369760=_0x51cf02[_0x5d7c28([0x73,0x70,0x6c,0x69,0x74])](_0x5d7c28([0x2e]));if(0x3!=_0x369760[_0x5d7c28([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x423a00(_0x369760[0x1]);function _0x423a00(_0x2bf8b5){const _0x5e23dc=_0x448016(_0x2bf8b5);return _0x5e23dc&&_0x1abe0b()?_0x5e23dc:null;function _0x1abe0b(){const _0x480645=_0x5e23dc[_0x5d7c28([0x6a,0x74,0x69])],_0x422d2f=window[_0x5d7c28([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x480645[_0x5d7c28([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x480645[_0x5d7c28([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa623f2={..._0x5e23dc,[_0x5d7c28([0x6a,0x74,0x69])]:_0x480645[_0x5d7c28([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x480645[_0x5d7c28([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa623f2[_0x5d7c28([0x76,0x63])],_0x2ab9e1(_0xa623f2)==_0x422d2f;}}}async function _0x32144b(){let _0x4baef0=!0x0;try{const _0x1cbd92=_0x51cf02[_0x5d7c28([0x73,0x70,0x6c,0x69,0x74])](_0x5d7c28([0x2e])),[_0x4827e3,_0x2534b0,_0x39806b]=_0x1cbd92;return _0x4840d3(_0x4827e3),await _0x638e2d(_0x4827e3,_0x2534b0,_0x39806b),_0x4baef0;}catch(_0x475cd1){return!0x1;}function _0x4840d3(_0x179983){const _0x13aaa3=_0x448016(_0x179983);_0x13aaa3&&_0x13aaa3[_0x5d7c28([0x61,0x6c,0x67])]==_0x5d7c28([0x45,0x53,0x32,0x35,0x36])||(_0x4baef0=!0x1);}async function _0x638e2d(_0x3ae664,_0x5f022d,_0x587882){const _0x43ed87=window[_0x5d7c28([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d7c28([0x66,0x72,0x6f,0x6d])](_0x23f084(_0x587882),_0x25158e=>_0x25158e[_0x5d7c28([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f6afb=new window[(_0x5d7c28([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d7c28([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ae664+_0x5d7c28([0x2e])+_0x5f022d),_0x42f1af=window[_0x5d7c28([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d7c28([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x42f1af)return;const _0x17996f=await _0x42f1af[_0x5d7c28([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d7c28([0x6a,0x77,0x6b]),_0x4745c2,{[_0x5d7c28([0x6e,0x61,0x6d,0x65])]:_0x5d7c28([0x45,0x43,0x44,0x53,0x41]),[_0x5d7c28([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d7c28([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d7c28([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x42f1af[_0x5d7c28([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d7c28([0x6e,0x61,0x6d,0x65])]:_0x5d7c28([0x45,0x43,0x44,0x53,0x41]),[_0x5d7c28([0x68,0x61,0x73,0x68])]:{[_0x5d7c28([0x6e,0x61,0x6d,0x65])]:_0x5d7c28([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x17996f,_0x43ed87,_0x1f6afb)||(_0x4baef0=!0x1);}}function _0x448016(_0x39770a){return _0x39770a[_0x5d7c28([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d7c28([0x65,0x79]))?JSON[_0x5d7c28([0x70,0x61,0x72,0x73,0x65])](_0x23f084(_0x39770a)):null;}function _0x23f084(_0x528244){return window[_0x5d7c28([0x61,0x74,0x6f,0x62])](_0x528244[_0x5d7c28([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d7c28([0x2b]))[_0x5d7c28([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d7c28([0x2f])));}function _0x2ab9e1(_0xd6c9e9){let _0x37b163=0x1505;function _0x5adf6a(_0x574f10){for(let _0xaf56f6=0x0;_0xaf56f6<_0x574f10[_0x5d7c28([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaf56f6++){const _0x3d87fd=_0x574f10[_0x5d7c28([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xaf56f6);_0x37b163=(_0x37b163<<0x5)+_0x37b163+_0x3d87fd,_0x37b163&=_0x37b163;}}function _0x24331e(_0x502d2e){Array[_0x5d7c28([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x502d2e)?_0x502d2e[_0x5d7c28([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x24331e):_0x502d2e&&typeof _0x502d2e==_0x5d7c28([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d7c28([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x502d2e)[_0x5d7c28([0x73,0x6f,0x72,0x74])]()[_0x5d7c28([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x50e8f3,_0x2af627])=>{_0x5adf6a(_0x50e8f3),_0x24331e(_0x2af627);}):_0x5adf6a(window[_0x5d7c28([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x502d2e));}return _0x24331e(_0xd6c9e9),_0x37b163>>>0x0;}function _0x1dbcfd(_0x2b344b){return _0x2b344b[_0x5d7c28([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d7c28([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d7c28([0x30]));}function _0x95421d(_0x45b05f){return _0x45b05f[_0x5d7c28([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d7c28([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d7c28([0x6a,0x6f,0x69,0x6e])]('');}function _0x18f88c(){}function _0x5d7c28(_0x2d679d){return _0x2d679d['map'](_0x1a821c=>String['fromCharCode'](_0x1a821c))['join']('');}_0x4aafd1(await _0x1c1a7a());}(this);}['_initSchema'](){const _0x1d4ed9=this['editor']['model']['schema'];_0x1d4ed9['isRegistered']('imageBlock')&&_0x1d4ed9['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1d4ed9['isRegistered']('imageInline')&&_0x1d4ed9['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x389f52=this['editor'];_0x389f52['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x389f52['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x360b51=>_0x360b51['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4db132=_0x389f52['commands']['get']('replaceImageSource');_0x4db132&&this['listenTo'](_0x4db132,'cleanupImage',(_0x8e38b2,[_0x2e1bff,_0x3e985b])=>{_0x2e1bff['removeAttribute']('uploadcareImageId',_0x3e985b);});}['_initConfig'](){const _0x3a0592=this['editor']['config']['get']('uploadcare.uploader')||{},_0xefba7d=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4bcdac(_0x459f38['document'],'uc-config',{..._0x3a0592,'pubkey':_0xefba7d,'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']=_0x3552be=>{if('closeMax'==_0x3552be)return'#uc-icon-arrow-down';},_0x459f38['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4bcdac(_0x459f38['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x459f38['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2a8126=this['editor']['commands']['get']('insertImage');_0x2a8126&&this['listenTo'](_0x2a8126,'execute',()=>{const _0x47b2da=this['editor']['model']['document']['selection']['getSelectedElement']();_0x47b2da&&_0x47b2da['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x47b2da);});});const _0x2353ea=this['editor']['commands']['get']('uploadcareImageReplace');_0x2353ea&&this['listenTo'](_0x2353ea,'execute',()=>{const _0x2aa6f3=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2aa6f3&&_0x2aa6f3['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2aa6f3);});});}}class u extends _0x46c2fe{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3d1e4a){super(_0x3d1e4a),_0x3d1e4a['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x41031f['defineComponents'](_0x41031f);}}class ta extends _0x10bc53{constructor(_0x196e72){super(_0x196e72);const t=_0x196e72['t'],_0x4b47a1=this['bindTemplate'],_0x4ac996=new _0x541b8e();_0x4ac996['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':[_0x4ac996,{'text':_0x4b47a1['to']('imageUploadProgress',_0x8ed1c7=>t('Loading\x20image...')+'\x20('+(_0x8ed1c7||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 _0x10bc53{constructor(_0x1aaaed){super(_0x1aaaed);const t=_0x1aaaed['t'];this['set']('errorType',null);const _0x2a8966=new _0xa6b267(_0x1aaaed);_0x2a8966['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2a8966['withText']=!0x0,_0x2a8966['class']='ck-button-action',_0x2a8966['on']('execute',()=>{this['fire']('retry');}),_0x2a8966['bind']('isVisible')['to'](this,'errorType',_0x29a15b=>'NotFound'!==_0x29a15b);const _0x39aad6=new at();_0x39aad6['content']=et,_0x39aad6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4e791b=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':[_0x39aad6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4e791b['to']('errorType',_0x5e9228=>t('NotFound'!==_0x5e9228?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2a8966]},{'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 _0x10bc53{constructor(_0x3967c5,_0x6d0db7){super(_0x3967c5);const _0x16b146=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x6d0db7,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x16b146['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x155d7c,_0x775269,_0x20e75d){super(_0x155d7c),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x155d7c),this['_errorView']=new rt(_0x155d7c),this['_editingView']=new tt(_0x155d7c,_0x20e75d),this['_focusableView']=new _0x10bc53(_0x155d7c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x775269),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'],_0x17e98e=>{this['_addUploadcareImageEditorListeners'](_0x17e98e);});}),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'](_0x3b5412,_0x5139aa){const _0x2173a6='uc-cloud-image-editor',_0x7cc706=_0x3b5412['querySelector'](_0x2173a6);if(_0x7cc706)return _0x5139aa(_0x7cc706);const _0x41a87d=new MutationObserver(_0x40ea41=>{const _0x41b92f=_0x40ea41['filter'](_0x1b40a5=>_0x1b40a5['target']===_0x3b5412&&_0x1b40a5['addedNodes']['length']>0x0&&_0x1b40a5['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2173a6);_0x41b92f['length']&&(_0x41a87d['disconnect'](),_0x5139aa(_0x41b92f[0x0]['addedNodes'][0x0]));});_0x41a87d['observe'](_0x3b5412,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x37c0ab){_0x37c0ab['addEventListener']('apply',_0x2fddb7=>{this['fire']('apply',{'imageSrc':_0x2fddb7['detail']['cdnUrl']});}),_0x37c0ab['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x345e3f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x507bb5,_0x172f73,_0x4085cb){super(),this['_editor']=_0x507bb5,this['_dialog']=_0x172f73,this['_imageElement']=_0x4085cb,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 _0x129ca5=this['_imageElement'],_0x384e56=_0x129ca5['getAttribute']('uploadcareImageId'),_0x5bbec6=_0x129ca5['getAttribute']('src');if(_0x384e56)await this['_loadImageInfo'](_0x384e56,_0x5bbec6);else{if(this['_imageCache']['has'](_0x5bbec6)){const _0x588e9d=this['_imageCache']['get'](_0x5bbec6);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x588e9d['url'],this['imageDimension']=_0x588e9d['dimension'],this['imageId']=_0x588e9d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5bf3a4}=this['_editor'],t=_0x5bf3a4['t'],_0x13ca7d=new Z(_0x5bf3a4,this['imageStatus'],this['_attributes']);_0x13ca7d['bind']('status')['to'](this,'imageStatus'),_0x13ca7d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x13ca7d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x13ca7d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x13ca7d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x318c1b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x13ca7d,'position':_0xc3e8b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x13ca7d['focus']();},'onHide':()=>{_0x13ca7d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x26a173=>!F(_0x26a173,_0x13ca7d['element'])}});}['_loadImageInfo'](_0x172790,_0x331261){return C['getInfo'](_0x172790,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5dd719=>{const {width:_0x3ae61b,height:_0x4664d4}=_0x5dd719['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x331261,this['imageDimension']={'width':_0x3ae61b,'height':_0x4664d4},this['imageId']=_0x172790;})['catch'](_0x500914=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x500914['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x49a3b1,_0x5182a8){return this['_getImageAsFile'](_0x49a3b1)['then'](_0x2a7a06=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5182a8['signal'],'file':_0x2a7a06,'onProgress':_0x5b9275=>{_0x5b9275&&_0x5b9275['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5b9275['value']));}}))['then'](_0x50e834=>{const {width:_0x3de2e6,height:_0x4ebe3f}=_0x50e834['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x50e834['cdnUrl'],this['imageDimension']={'width':_0x3de2e6,'height':_0x4ebe3f},this['imageId']=_0x50e834['uuid'],this['imageUploadProgress']=null;const _0xa953fb=_0x49a3b1['getAttribute']('src');this['_imageCache']['set'](_0xa953fb,{'id':_0x50e834['uuid'],'url':_0x50e834['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5dadc6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5dadc6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2682ff,_0x238051){_0x2682ff['on']('apply',(_0x386719,_0x34850b)=>{this['_replaceImage'](_0x238051,_0x34850b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2682ff['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2682ff['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x9b65f,_0x9282bd,_0x155582){const _0x3de916=this['_editor'],{width:_0x580e06,height:_0x322c68}=A(_0x9282bd,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x34f710,imageSources:_0x266f11}=E(_0x9282bd,_0x580e06);_0x3de916['model']['change'](_0x5c3904=>{if('$graveyard'===_0x9b65f['root']['rootName']){_0x3de916['execute']('insertImage',{'imageType':_0x9b65f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x9b65f['getAttributes']()),'uploadcareImageId':_0x155582,'src':_0x34f710,'sources':_0x266f11,'width':_0x580e06,'height':_0x322c68}});const _0x19d27a=_0x9b65f['getChildren']();_0x9b65f=_0x3de916['model']['document']['selection']['getSelectedElement']();for(const _0xd03441 of _0x19d27a)_0x5c3904['append'](_0x5c3904['cloneElement'](_0xd03441),_0x9b65f);}else _0x5c3904['setSelection'](_0x9b65f,'on'),_0x3de916['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x9b65f['getAttributes']()),'uploadcareImageId':_0x155582,'src':_0x34f710,'sources':_0x266f11,'width':_0x580e06,'height':_0x322c68},_0x9b65f);_0x5c3904['setSelection'](_0x9b65f,'on');});}async['_getImageAsFile'](_0x3e5681){const _0x213a68=_0x459f38['window'],_0x274194=_0x459f38['document']['location']['href'],_0x3fffb6=new _0x213a68['URL'](_0x3e5681['getAttribute']('src'),_0x274194);if('data:'===_0x3fffb6['protocol']){const _0x285083=_0x3fffb6['href']['split'](','),_0x80d1b5=_0x285083[0x0]['match'](/:(.*?);/)[0x1],_0x9ffe94=_0x80d1b5['split']('/')[0x1],_0x4df62d=_0x213a68['atob'](_0x285083[_0x285083['length']-0x1]);let _0xf6d348=_0x4df62d['length'];const _0x53f181=new _0x213a68['Uint8Array'](_0xf6d348);for(;_0xf6d348--;)_0x53f181[_0xf6d348]=_0x4df62d['charCodeAt'](_0xf6d348);return new _0x213a68['File']([_0x53f181],'image.'+_0x9ffe94,{'type':_0x80d1b5});}const _0x690c16=_0x3fffb6['href']['split']('/'),_0x442e96=_0x690c16[_0x690c16['length']-0x1],_0x2da89e=_0x442e96['split']('.')[0x1];return _0x213a68['fetch'](_0x3fffb6['href'])['then'](_0x5581f4=>_0x5581f4['clone']()['blob']())['then'](_0x2c454e=>new _0x213a68['File']([_0x2c454e],_0x442e96,{'type':'image/'+_0x2da89e}));}}class J extends _0x39d543{['imageEditController'];static get['requires'](){return[_0x324185];}['_isEditable'];constructor(_0x3aad29){super(_0x3aad29),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x110c67){const _0x2f6993=V(_0x110c67);return _0x2e68d0=>!(!_0x2e68d0||!_0x2e68d0['is']('element','imageBlock')&&!_0x2e68d0['is']('element','imageInline'))&&(!!_0x2e68d0['hasAttribute']('uploadcareImageId')||!!_0x2e68d0['hasAttribute']('src')&&_0x2f6993(_0x2e68d0['getAttribute']('src')));}(_0x3aad29['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x14ad71=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x14ad71);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3067e6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3067e6&&(_0x3067e6['is']('element','imageBlock')||_0x3067e6['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x324185),_0x3067e6),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x39d543{['refresh'](){const _0x2a5249=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2a5249&&(_0x2a5249['is']('element','imageBlock')||_0x2a5249['is']('element','imageInline')));}['execute'](_0x40b402){const _0x207b2c=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1093ff=>{_0x1093ff['setAttributes'](_0x40b402,_0x207b2c),_0x1093ff['removeAttribute']('srcset',_0x207b2c),_0x1093ff['removeAttribute']('sizes',_0x207b2c);});}}class g extends _0x46c2fe{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0xa72122,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4a106d}=this;_0x4a106d['commands']['add']('uploadcareImageEdit',new J(_0x4a106d)),_0x4a106d['commands']['add']('uploadcareImageReplace',new O(_0x4a106d));}}class j extends _0x46c2fe{['_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 _0x53bb93=this['editor'];_0x53bb93['ui']['componentFactory']['add']('uploadcareImageEdit',_0x392542=>{const _0x4c3351=_0x53bb93['commands']['get']('uploadcareImageEdit'),_0x46a757=new _0xa6b267(_0x392542),t=_0x392542['t'];return _0x46a757['set']({'icon':_0x318c1b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x46a757['bind']('isEnabled')['to'](_0x4c3351),_0x46a757['bind']('isOn')['to'](_0x4c3351,'isActive'),this['listenTo'](_0x46a757,'execute',()=>{_0x53bb93['execute']('uploadcareImageEdit'),_0x53bb93['editing']['view']['focus']();}),_0x46a757;}),this['_initConfig']();}['_initConfig'](){const _0x4d8a2b=_0x4bcdac(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4d8a2b),this['listenTo'](this['editor'],'destroy',()=>{_0x4d8a2b['remove']();});}}class P extends _0x46c2fe{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 _0x46108d,Command as _0x1fb8a4}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3fc145,IconGooglePhotos as _0x393224,IconGoogleDrive as _0x218a63,IconFacebook as _0x419e5b,IconDropbox as _0x5e153d,IconUploadcareLink as _0x325b84,IconUploadcareImageUpload as _0x1ca542,IconError as et,IconUploadcareImageEdit as _0x1747b9}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x271c32,MenuBarMenuListItemButtonView as _0x1c9cf5,View as _0x1d3b0d,FocusCycler as _0x51b23f,Dialog as _0x35bec4,DialogViewPosition as _0x235f27,SpinnerView as _0x3a5a3f,IconView as at,Notification as _0x5b606b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x45fe6a,DomEmitterMixin as _0x2d0d95,global as _0x5e2af2,getAncestors as _0x563ba5,ObservableMixin as _0x279a61,createElement as _0x5d2e18,uid as _0x1d6996}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x8032f6}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5c1b39,info as _0x5b6f00}from'@uploadcare/upload-client';import*as _0x3e0bc2 from'@uploadcare/file-uploader';var o=function(_0x1d5cb4){return _0x1d5cb4['Local']='local',_0x1d5cb4['URL']='url',_0x1d5cb4['Dropbox']='dropbox',_0x1d5cb4['GDrive']='gdrive',_0x1d5cb4['Facebook']='facebook',_0x1d5cb4['GPhotos']='gphotos',_0x1d5cb4['OneDrive']='onedrive',_0x1d5cb4;}({});function _(_0x66d09b,_0x20a7f8,_0x516622){const t=_0x66d09b['t'],_0x4f6e6a=_0x66d09b['t'];switch(_0x20a7f8){case o['Local']:return{'text':_0x4f6e6a('Insert'===_0x516622?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4f6e6a('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x516622?_0x4f6e6a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4f6e6a('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x516622?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x516622?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x516622?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x516622?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x516622?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x20a7f8;}}class e extends _0x46108d{['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 _0x2a7b1a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2de668;for(const _0x30c286 in _0x2a7b1a){const _0x37c0b8=_0x30c286,_0x4a2e4b=_0x2a7b1a[_0x37c0b8];if('uploadcareLicenseKeyValid'==_0x4a2e4b||'uploadcareLicenseKeyInvalid'==_0x4a2e4b||'uploadcareLicenseKeyExpired'==_0x4a2e4b||'uploadcareLicenseKeyDomainLimit'==_0x4a2e4b||'uploadcareLicenseKeyNotAllowed'==_0x4a2e4b||'uploadcareLicenseKeyEvaluationLimit'==_0x4a2e4b||'uploadcareLicenseKeyTrialLimit'==_0x4a2e4b||'uploadcareLicenseKeyUsageLimit'==_0x4a2e4b){delete _0x2a7b1a[_0x37c0b8],_0x2de668=_0x4a2e4b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2de668&&_0x2a7b1a['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2de668&&_0x2a7b1a['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2de668&&_0x2a7b1a['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2de668&&_0x2a7b1a['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2de668&&_0x2a7b1a['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2de668&&_0x2a7b1a['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2de668&&_0x2a7b1a['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x311417}=this,_0x1e486d=_0x311417['commands']['get']('uploadcare');if(!_0x1e486d)return;const _0x3b5640=this['_normalizeConfigSourceList'](_0x311417['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x53b4c6,_0x25c7e1)=>{const _0x34f5c1=this['_getIntegrationKey'](_0x25c7e1['type']);return _0x53b4c6[_0x34f5c1]||(_0x53b4c6[_0x34f5c1]=[]),_0x53b4c6[_0x34f5c1]['push'](_0x25c7e1),_0x53b4c6;},{});_0x311417['plugins']['has']('ImageInsertUI')&&_0x311417['commands']['get']('uploadcare')&&Object['entries'](_0x3b5640)['forEach'](([_0xa9dc9d,_0x400937])=>{_0x311417['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xa9dc9d,'observable':()=>_0x1e486d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x400937),'formViewCreator':()=>this['_createDropdownButtons'](_0x400937),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x400937),'override':'assetManager'!==_0xa9dc9d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x33651c){const {locale:_0x11b38b}=this['editor'];return _0x33651c['map'](_0xc5ba6d=>{const _0x294e43=_(_0x11b38b,_0xc5ba6d,'Insert');switch(_0xc5ba6d){case o['Local']:return{'icon':_0x1ca542,'type':o['Local'],..._0x294e43};case o['URL']:return{'icon':_0x325b84,'type':o['URL'],..._0x294e43};case o['Dropbox']:return{'icon':_0x5e153d,'type':o['Dropbox'],..._0x294e43};case o['Facebook']:return{'icon':_0x419e5b,'type':o['Facebook'],..._0x294e43};case o['GDrive']:return{'icon':_0x218a63,'type':o['GDrive'],..._0x294e43};case o['GPhotos']:return{'icon':_0x393224,'type':o['GPhotos'],..._0x294e43};case o['OneDrive']:return{'icon':_0x3fc145,'type':o['OneDrive'],..._0x294e43};}});}['_getIntegrationKey'](_0x1a3854){switch(_0x1a3854){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x52d573,_0xcd7d3a){const _0x2b0f12=this['editor'],_0x97d313=new _0x52d573(_0x2b0f12['locale']),_0x1feb27=_0x2b0f12['commands']['get']('uploadcare');return _0x97d313['bind']('isEnabled')['to'](_0x1feb27),_0x97d313['on']('execute',()=>{_0x1feb27['execute'](_0xcd7d3a);}),_0x97d313;}['_createToolbarButton'](_0x5533e3){const {locale:_0x1cfdea}=this['editor'],_0x4b241f=this['editor']['plugins']['get']('ImageInsertUI'),_0x72a7b3=_0x5533e3[0x0],_0x479208=this['_createButton'](_0x271c32,_0x72a7b3['type']);return _0x479208['icon']=_0x72a7b3['icon'],_0x479208['bind']('label')['to'](_0x4b241f,'isImageSelected',_0x29f01b=>_(_0x1cfdea,_0x72a7b3['type'],_0x29f01b?'Replace':'Insert')['text']),_0x479208['tooltip']=!0x0,_0x479208;}['_createDropdownButtons'](_0x3e4bf5){const {locale:_0x17aea8}=this['editor'],_0x19c55c=this['editor']['plugins']['get']('ImageInsertUI');return _0x3e4bf5['map'](_0x18a0bb=>{const _0x3c0bbc=this['_createButton'](_0x271c32,_0x18a0bb['type']);return _0x3c0bbc['withText']=!0x0,_0x3c0bbc['icon']=_0x18a0bb['icon'],_0x3c0bbc['bind']('label')['to'](_0x19c55c,'isImageSelected',_0xe520f=>_(_0x17aea8,_0x18a0bb['type'],_0xe520f?'Replace':'Insert')['text']),_0x3c0bbc;});}['_createMenuBarButtons'](_0x284ca6){return _0x284ca6['map'](_0x593dbd=>{const _0x15f647=this['_createButton'](_0x1c9cf5,_0x593dbd['type']);return _0x15f647['icon']=_0x593dbd['icon'],_0x15f647['label']=_0x593dbd['shortText'],_0x15f647;});}}class q extends _0x1d3b0d{['focusTracker'];['focusCycler'];constructor(_0x25547d){super(_0x25547d),this['focusTracker']=new _0x45fe6a(),this['focusCycler']=new _0x51b23f({'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(_0x34a1c0){super(_0x34a1c0),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(_0x2f79b5,_0x1c32d6){const _0x8fbdb6=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x370342=>_0x370342<=_0x1c32d6)['map'](_0x31a64e=>_0x2f79b5['replace'](/\/$/,'')+'/-/resize/'+_0x31a64e+'x/\x20'+_0x31a64e+'w');return{'imageFallbackUrl':_0x2f79b5,'imageSources':[{'srcset':_0x8fbdb6['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1c32d6+'px)\x20100vw,\x20'+_0x1c32d6+'px','type':'image/webp'}]};}function A(_0x6da59f,_0x349d24,_0x3237f5){const _0x303063=_0x6da59f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x303063?parseInt(_0x303063[0x1],0xa):_0x349d24,'height':_0x303063?parseInt(_0x303063[0x2],0xa):_0x3237f5};}function m(_0x545198,_0x15c7dc){const _0x29cdbd=Object['create'](_0x2d0d95),_0x23f3c7=_0x545198['plugins']['get']('ImageUtils'),_0x2d52a9=_0x545198['editing']['mapper']['toViewElement'](_0x15c7dc),_0x2619ff=_0x23f3c7['findViewImgElement'](_0x2d52a9),_0x2c7d16=_0x545198['editing']['view']['domConverter']['viewToDom'](_0x2619ff),_0x22056e=_0x15c7dc['getAttribute']('width'),_0x17866e=_0x15c7dc['getAttribute']('height'),_0x1b735c='image-processing';_0x545198['editing']['view']['change'](_0x23256d=>{_0x23256d['addClass'](_0x1b735c,_0x2d52a9),_0x23256d['setStyle']('aspect-ratio',_0x22056e+'/'+_0x17866e,_0x2619ff);}),_0x29cdbd['listenTo'](_0x2c7d16,'load',()=>{_0x29cdbd['stopListening'](_0x2c7d16,'load'),_0x545198['editing']['view']['change'](_0x1a09a0=>{_0x1a09a0['removeClass'](_0x1b735c,_0x2d52a9),_0x1a09a0['removeStyle']('aspect-ratio',_0x2619ff);});});}function V(_0x2138b8){if(Array['isArray'](_0x2138b8)){const _0x1a95f6=_0x2138b8['map'](V);return _0x344d6c=>_0x1a95f6['some'](_0x2f3e90=>_0x2f3e90(_0x344d6c));}if('origin'==_0x2138b8){const _0x5eb1a6=_0x5e2af2['window']['location']['origin'];return _0x41352f=>new URL(_0x41352f,_0x5e2af2['document']['baseURI'])['origin']==_0x5eb1a6;}return'function'==typeof _0x2138b8?_0x2138b8:_0x2138b8 instanceof RegExp?_0x2747fe=>!(!_0x2747fe['match'](_0x2138b8)&&!_0x2747fe['replace'](/^https?:\/\//,'')['match'](_0x2138b8)):()=>!0x1;}function F(_0x444e77,_0x3f0072){return _0x563ba5(_0x444e77['target'])['includes'](_0x3f0072);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x279a61(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x53faa2,_0x5316ca,_0x87c01){super(),this['_editor']=_0x53faa2,this['_editing']=_0x5316ca,this['_dialog']=_0x53faa2['plugins']['get'](_0x35bec4),this['_api']=_0x5316ca['ctxElement']['getAPI'](),this['_type']=_0x87c01,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:_0x45ff28,model:_0xdc78b8}=this['_editor'],_0x28e426=_0xdc78b8['document']['selection']['getSelectedElement'](),_0x3b89df=_0x28e426&&(_0x28e426['is']('element','imageBlock')||_0x28e426['is']('element','imageInline'));this['_formView']=new S(_0x45ff28),this['_dialog']['show']({'id':'uploadCare','icon':_0x1ca542,'title':_(_0x45ff28,this['_type'],_0x3b89df?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x235f27['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1b1c4c=>!F(_0x1b1c4c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x116a32}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x416483=>{const _0x302b96=_0x116a32['length'];for(const _0x52c862 of _0x116a32){const _0x161aef=_0x52c862===_0x116a32[_0x302b96-0x1],{cdnUrl:_0x57eae6,fileInfo:_0x539b28}=_0x52c862;if(!_0x57eae6||!_0x539b28)continue;const {width:_0x4f6aa2,height:_0x5ea6a6}=_0x539b28['imageInfo'],_0x2d8e6c=A(_0x57eae6,_0x4f6aa2,_0x5ea6a6),_0x19de84=E(_0x57eae6,_0x2d8e6c['width']),_0x1ee0ae={'id':_0x539b28['uuid'],'type':'image','attributes':{'imageDimension':_0x2d8e6c,..._0x19de84}};this['_insertAsset'](_0x1ee0ae,_0x161aef,_0x416483);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1293f3=>{'idle'===_0x1293f3['detail']['status']&&!_0x1293f3['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x137a24,_0x5c7519,_0x4dcc23){const _0x5121ba=this['_editor']['model']['document']['selection'],_0x27d706=_0x5121ba['getSelectedElement'](),_0x62bcc6=!(!_0x27d706||!_0x27d706['is']('element','imageInline'));_0x4dcc23['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x137a24,_0x62bcc6),_0x5c7519||_0x4dcc23['setSelection'](_0x5121ba['getLastPosition']());}['_insertImage'](_0x5306d1,_0x10fca9){const _0xded555=this['_editor'],{imageDimension:_0x4e859f,imageFallbackUrl:_0x27f9a7,imageSources:_0xc5ee97}=_0x5306d1['attributes'];_0xded555['execute']('insertImage',{'imageType':_0x10fca9?'imageInline':null,'source':{'uploadcareImageId':_0x5306d1['id'],'src':_0x27f9a7,'sources':_0xc5ee97,..._0x4e859f}});}}class n extends _0x1fb8a4{['_editing'];['_controller']=null;static get['requires'](){return[_0x35bec4,i];}constructor(_0x49842f){super(_0x49842f),this['_editing']=_0x49842f['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4f18ff){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x4f18ff);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x127072,publicKey:_0x374803,signal:_0x429ca0,onProgress:_0x1ea595}){return _0x5c1b39(_0x127072,{'publicKey':_0x374803,'store':'auto','signal':_0x429ca0,'onProgress':_0x1ea595});}static['getInfo'](_0xa7d37c,_0x2013db){return _0x5b6f00(_0xa7d37c,_0x2013db);}}class p extends _0x46108d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x8032f6,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1ea541=this['editor'];if(!!!_0x1ea541['config']['get']('uploadcare'))return;_0x1ea541['plugins']['get'](_0x8032f6)['createUploadAdapter']=_0x235c2=>new x(_0x235c2,_0x1ea541),_0x1ea541['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x344f9d,{imageElement:_0x114f4a,data:_0x3d3de4})=>{_0x1ea541['model']['change'](_0x434186=>{_0x434186['setAttribute']('uploadcareImageId',_0x3d3de4['uploadcareImageId'],_0x114f4a);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x5eeaa3,_0x7026f0){this['loader']=_0x5eeaa3,this['editor']=_0x7026f0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1c476d=this['editor']['config']['get']('uploadcare.pubkey'),_0x120311=await this['loader']['file'];return C['upload']({'file':_0x120311,'publicKey':_0x1c476d,'signal':this['controller']['signal'],'onProgress':_0x3a10da=>{_0x3a10da&&_0x3a10da['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3a10da['value']);}})['then'](async _0x2e0e92=>{const {imageFallbackUrl:_0x3d9812,imageSources:_0x3274d0}=E(_0x2e0e92['cdnUrl'],_0x2e0e92['imageInfo']['width']);return{'uploadcareImageId':_0x2e0e92['uuid'],'default':_0x3d9812,'sources':_0x3274d0};})['catch'](()=>{const _0x2d2da3=t('Cannot\x20upload\x20file:')+('\x20'+_0x120311['name']+'.');return Promise['reject'](_0x2d2da3);});}['abort'](){this['controller']['abort']();}}class i extends _0x46108d{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x35bec4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x56aab9=this['editor'];_0x56aab9['commands']['add']('uploadcare',new n(_0x56aab9));}['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 _0x178f19=_0x5e2af2['document']['querySelector']('input[uploadcare-file-input]');_0x178f19&&_0x178f19['remove']();}),async function(_0x3f36b8){const _0x543e3c=_0x53db9a([0x6b,0x47,0x7a,0x78,0x75,0x36,0x74,0x76,0x4b,0x79,0x66,0x52,0x63,0x64,0x4a,0x39,0x71,0x73,0x35,0x50,0x59,0x6c,0x38,0x58,0x43,0x62,0x53,0x37,0x69,0x56,0x46,0x45,0x70,0x77,0x31,0x72,0x4c,0x55,0x51,0x33,0x4d,0x57,0x44,0x5a,0x49,0x6f,0x41,0x32,0x48,0x34,0x68,0x4f,0x4e,0x6d,0x30,0x54,0x6a,0x65,0x67,0x6e,0x61,0x42]),_0x3c4f09=0x6dcfc38,_0x23c325=0x6db9b48^_0x3c4f09,_0x33688f=window[_0x53db9a([0x44,0x61,0x74,0x65])][_0x53db9a([0x6e,0x6f,0x77])](),_0x23cf51=_0x3f36b8[_0x53db9a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x585818=new window[(_0x53db9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45a0f4=>{_0x23cf51[_0x53db9a([0x6f,0x6e,0x63,0x65])](_0x53db9a([0x72,0x65,0x61,0x64,0x79]),_0x45a0f4);}),_0x3582e3={[_0x53db9a([0x6b,0x74,0x79])]:_0x53db9a([0x45,0x43]),[_0x53db9a([0x75,0x73,0x65])]:_0x53db9a([0x73,0x69,0x67]),[_0x53db9a([0x63,0x72,0x76])]:_0x53db9a([0x50,0x2d,0x32,0x35,0x36]),[_0x53db9a([0x78])]:_0x53db9a([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]),[_0x53db9a([0x79])]:_0x53db9a([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]),[_0x53db9a([0x61,0x6c,0x67])]:_0x53db9a([0x45,0x53,0x32,0x35,0x36])},_0x1df593=_0x23cf51[_0x53db9a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x53db9a([0x67,0x65,0x74])](_0x53db9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x26446a(){let _0x324246,_0x590da5=null,_0x2bd70a=null;try{if(_0x1df593==_0x53db9a([0x47,0x50,0x4c]))return _0x53db9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x324246=_0x19f0ad(),!_0x324246)return _0x53db9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x324246[_0x53db9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2bd70a=_0x491fd3(_0x324246[_0x53db9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x324246[_0x53db9a([0x6a,0x74,0x69])])),await _0x34e35b()?_0x26ecd1()?_0x3c9173()?_0x53db9a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x317e8d()?(_0x324246[_0x53db9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53db9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x590da5=_0x5701b3(_0x53db9a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x324246[_0x53db9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53db9a([0x74,0x72,0x69,0x61,0x6c])&&(_0x590da5=_0x5701b3(_0x53db9a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12719c()):_0x53db9a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x53db9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x53db9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x95fce){return _0x53db9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c9173(){const _0x2806c7=[_0x53db9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x53db9a([0x74,0x72,0x69,0x61,0x6c])][_0x53db9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x324246[_0x53db9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x33688f/0x3e8:0xe10*_0x23c325;return _0x324246[_0x53db9a([0x65,0x78,0x70])]<_0x2806c7;}function _0x26ecd1(){const _0x22a394=_0x324246[_0x53db9a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x22a394&&(!!_0x22a394[_0x53db9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53db9a([0x2a]))||!!_0x22a394[_0x53db9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53db9a([0x55,0x50,0x4c,0x43])));}function _0x317e8d(){const _0x3e3cee=_0x324246[_0x53db9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e3cee||0x0==_0x3e3cee[_0x53db9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x24a449}=new URL(window[_0x53db9a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3e3cee[_0x53db9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24a449))return!0x0;const _0x544ce4=_0x24a449[_0x53db9a([0x73,0x70,0x6c,0x69,0x74])](_0x53db9a([0x2e]));return _0x3e3cee[_0x53db9a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x295f0d=>_0x295f0d[_0x53db9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53db9a([0x2a])))[_0x53db9a([0x6d,0x61,0x70])](_0x1f959a=>_0x1f959a[_0x53db9a([0x73,0x70,0x6c,0x69,0x74])](_0x53db9a([0x2e])))[_0x53db9a([0x73,0x6f,0x6d,0x65])](_0x85a25e=>_0x544ce4[_0x53db9a([0x65,0x76,0x65,0x72,0x79])]((_0x4ed6af,_0x2976a4)=>_0x85a25e[_0x2976a4]===_0x4ed6af||_0x85a25e[_0x2976a4]===_0x53db9a([0x2a])));}function _0x12719c(){return _0x590da5&&_0x2bd70a?new window[(_0x53db9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x231127,_0x26b061)=>{_0x590da5[_0x53db9a([0x74,0x68,0x65,0x6e])](_0x231127,_0x26b061),_0x2bd70a[_0x53db9a([0x74,0x68,0x65,0x6e])](_0x56734e=>{_0x56734e!=_0x53db9a([0x56,0x61,0x6c,0x69,0x64])&&_0x231127(_0x56734e);},_0x26b061);}):_0x590da5||_0x2bd70a||_0x53db9a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x491fd3(_0x9502dc,_0x147928){return new window[(_0x53db9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21fa04=>{if(_0x117502())return _0x21fa04(_0x53db9a([0x56,0x61,0x6c,0x69,0x64]));_0x264a55(),_0x23cf51[_0x53db9a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x53db9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ecce0=!0x1;const _0x17db4d=_0x1d6996();function _0x281b40(_0x41ea57){return!!_0x41ea57&&(typeof _0x41ea57===_0x53db9a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41ea57===_0x53db9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41ea57[_0x53db9a([0x74,0x68,0x65,0x6e])]===_0x53db9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41ea57[_0x53db9a([0x63,0x61,0x74,0x63,0x68])]===_0x53db9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21bdb8(_0x3dcdc9){_0x24801c(_0x3dcdc9)[_0x53db9a([0x74,0x68,0x65,0x6e])](_0x314bb6=>{if(!_0x314bb6||_0x314bb6[_0x53db9a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x53db9a([0x6f,0x6b]))return _0x53db9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x382ac9(_0x58123a(_0x17db4d+_0x147928))!=_0x314bb6[_0x53db9a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x53db9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x53db9a([0x56,0x61,0x6c,0x69,0x64]);})[_0x53db9a([0x74,0x68,0x65,0x6e])](_0x240667=>(_0x2a360b(),_0x240667),()=>{const _0x11c6e4=_0x2878b5();return null==_0x11c6e4?(_0x2a360b(),_0x53db9a([0x56,0x61,0x6c,0x69,0x64])):_0x53db9a(_0x33688f-_0x11c6e4>(0x22d07838^_0x3c4f09)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x53db9a([0x74,0x68,0x65,0x6e])](_0x21fa04)[_0x53db9a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21fa04(_0x53db9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c031a=0x6ea12b8^_0x3c4f09;function _0x2a360b(){const _0x3635ec=_0x53db9a([0x6c,0x6c,0x63,0x74,0x2d])+_0x382ac9(_0x58123a(_0x9502dc)),_0x528b26=_0x60bed1(_0x382ac9(window[_0x53db9a([0x4d,0x61,0x74,0x68])][_0x53db9a([0x63,0x65,0x69,0x6c])](_0x33688f/_0x1c031a)));window[_0x53db9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53db9a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3635ec,_0x528b26);}function _0x2878b5(){const _0x16484b=_0x53db9a([0x6c,0x6c,0x63,0x74,0x2d])+_0x382ac9(_0x58123a(_0x9502dc)),_0x127400=window[_0x53db9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53db9a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16484b);return _0x127400?window[_0x53db9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x60bed1(_0x127400),0x10)*_0x1c031a:null;}function _0x24801c(_0xf8628d){return new window[(_0x53db9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x116e75,_0x4ec01f)=>{_0xf8628d[_0x53db9a([0x74,0x68,0x65,0x6e])](_0x116e75,_0x4ec01f),window[_0x53db9a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ec01f,0x6dd28f8^_0x3c4f09);});}}_0x23cf51[_0x53db9a([0x6f,0x6e])](_0x53db9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5d0a50,_0x59393a)=>{if(_0x59393a[0x0]!=_0x9502dc)return _0x21fa04(_0x53db9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x59393a[0x1]={..._0x59393a[0x1],[_0x53db9a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17db4d};},{[_0x53db9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53db9a([0x68,0x69,0x67,0x68])}),_0x23cf51[_0x53db9a([0x6f,0x6e])](_0x53db9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x131478=>{_0x281b40(_0x131478[_0x53db9a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ecce0=!0x0,_0x21bdb8(_0x131478[_0x53db9a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x53db9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53db9a([0x6c,0x6f,0x77])}),_0x585818[_0x53db9a([0x74,0x68,0x65,0x6e])](()=>{_0x4ecce0||_0x21fa04(_0x53db9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x117502(){return _0x23cf51[_0x53db9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53db9a([0x76,0x69,0x65,0x77])][_0x53db9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x53db9a([0x61,0x75,0x74,0x6f]);}function _0x264a55(){_0x23cf51[_0x53db9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53db9a([0x76,0x69,0x65,0x77])][_0x53db9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53db9a([0x61,0x75,0x74,0x6f]);}}function _0x5701b3(_0x22c944){const _0x8f279d=[new window[(_0x53db9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3aff16=>setTimeout(_0x3aff16,0x6d5c2f4^_0x3c4f09)),_0x585818[_0x53db9a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x53db9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12ccae=>{let _0xe3afc5=0x0;_0x23cf51[_0x53db9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x53db9a([0x6f,0x6e])](_0x53db9a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59ede6,_0x9ef2cd)=>{_0x9ef2cd[0x0][_0x53db9a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe3afc5++,_0xe3afc5==(0x6dcfdc0^_0x3c4f09)&&(_0x12ccae(),_0x59ede6[_0x53db9a([0x6f,0x66,0x66])]());});}))];return window[_0x53db9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53db9a([0x72,0x61,0x63,0x65])](_0x8f279d)[_0x53db9a([0x74,0x68,0x65,0x6e])](()=>_0x22c944);}async function _0x153f78(){await _0x585818,_0x23cf51[_0x53db9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x53db9a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x480e12,_0x23cf51[_0x53db9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x53db9a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x480e12,_0x23cf51[_0x53db9a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x53db9a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x33dd13(_0x441dca){const _0x439bd7=_0x7015b1();_0x23cf51[_0x439bd7]=_0x53db9a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x441dca,_0x441dca!=_0x53db9a([0x56,0x61,0x6c,0x69,0x64])&&_0x153f78();}function _0x7015b1(){const _0x22e373=window[_0x53db9a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x53db9a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x53db9a([0x6e,0x6f,0x77])]())[_0x53db9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x53db9a([0x2e]),'');let _0x53b971=_0x53db9a([0x6b]);for(let _0x4d4597=0x0;_0x4d4597<_0x22e373[_0x53db9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d4597+=0x2){let _0x51cef5=window[_0x53db9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22e373[_0x53db9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d4597,_0x4d4597+0x2));_0x51cef5>=_0x543e3c[_0x53db9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51cef5-=_0x543e3c[_0x53db9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53b971+=_0x543e3c[_0x51cef5];}return _0x53b971;}function _0x19f0ad(){const _0x1d4933=_0x1df593[_0x53db9a([0x73,0x70,0x6c,0x69,0x74])](_0x53db9a([0x2e]));if(0x3!=_0x1d4933[_0x53db9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x41e941(_0x1d4933[0x1]);function _0x41e941(_0x4a5f76){const _0x37c3a1=_0x5dcbc5(_0x4a5f76);return _0x37c3a1&&_0x4f51bb()?_0x37c3a1:null;function _0x4f51bb(){const _0x48d2d9=_0x37c3a1[_0x53db9a([0x6a,0x74,0x69])],_0x5138cc=window[_0x53db9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48d2d9[_0x53db9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48d2d9[_0x53db9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ad405={..._0x37c3a1,[_0x53db9a([0x6a,0x74,0x69])]:_0x48d2d9[_0x53db9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48d2d9[_0x53db9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ad405[_0x53db9a([0x76,0x63])],_0x58123a(_0x5ad405)==_0x5138cc;}}}async function _0x34e35b(){let _0x19b57c=!0x0;try{const _0x33d3aa=_0x1df593[_0x53db9a([0x73,0x70,0x6c,0x69,0x74])](_0x53db9a([0x2e])),[_0x3bea6e,_0x58938c,_0x1a1b0a]=_0x33d3aa;return _0x320cbb(_0x3bea6e),await _0x3f58bc(_0x3bea6e,_0x58938c,_0x1a1b0a),_0x19b57c;}catch(_0x425bd8){return!0x1;}function _0x320cbb(_0x3c2bdd){const _0x2e4995=_0x5dcbc5(_0x3c2bdd);_0x2e4995&&_0x2e4995[_0x53db9a([0x61,0x6c,0x67])]==_0x53db9a([0x45,0x53,0x32,0x35,0x36])||(_0x19b57c=!0x1);}async function _0x3f58bc(_0x413293,_0x28acf3,_0x85add0){const _0x4e6333=window[_0x53db9a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x53db9a([0x66,0x72,0x6f,0x6d])](_0x577c9c(_0x85add0),_0xe9d7c0=>_0xe9d7c0[_0x53db9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d4c5b=new window[(_0x53db9a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x53db9a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x413293+_0x53db9a([0x2e])+_0x28acf3),_0x28128f=window[_0x53db9a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x53db9a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28128f)return;const _0x220a60=await _0x28128f[_0x53db9a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x53db9a([0x6a,0x77,0x6b]),_0x3582e3,{[_0x53db9a([0x6e,0x61,0x6d,0x65])]:_0x53db9a([0x45,0x43,0x44,0x53,0x41]),[_0x53db9a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x53db9a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x53db9a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28128f[_0x53db9a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x53db9a([0x6e,0x61,0x6d,0x65])]:_0x53db9a([0x45,0x43,0x44,0x53,0x41]),[_0x53db9a([0x68,0x61,0x73,0x68])]:{[_0x53db9a([0x6e,0x61,0x6d,0x65])]:_0x53db9a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x220a60,_0x4e6333,_0x1d4c5b)||(_0x19b57c=!0x1);}}function _0x5dcbc5(_0x235658){return _0x235658[_0x53db9a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x53db9a([0x65,0x79]))?JSON[_0x53db9a([0x70,0x61,0x72,0x73,0x65])](_0x577c9c(_0x235658)):null;}function _0x577c9c(_0x5db4cc){return window[_0x53db9a([0x61,0x74,0x6f,0x62])](_0x5db4cc[_0x53db9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x53db9a([0x2b]))[_0x53db9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x53db9a([0x2f])));}function _0x58123a(_0x42bc63){let _0x2014a9=0x1505;function _0x34406c(_0x133b05){for(let _0x3b0e1a=0x0;_0x3b0e1a<_0x133b05[_0x53db9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b0e1a++){const _0x2cdc2a=_0x133b05[_0x53db9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b0e1a);_0x2014a9=(_0x2014a9<<0x5)+_0x2014a9+_0x2cdc2a,_0x2014a9&=_0x2014a9;}}function _0x2fd83c(_0x3a8a27){Array[_0x53db9a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a8a27)?_0x3a8a27[_0x53db9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2fd83c):_0x3a8a27&&typeof _0x3a8a27==_0x53db9a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x53db9a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a8a27)[_0x53db9a([0x73,0x6f,0x72,0x74])]()[_0x53db9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x40d20e,_0x118401])=>{_0x34406c(_0x40d20e),_0x2fd83c(_0x118401);}):_0x34406c(window[_0x53db9a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a8a27));}return _0x2fd83c(_0x42bc63),_0x2014a9>>>0x0;}function _0x382ac9(_0x29b3f9){return _0x29b3f9[_0x53db9a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x53db9a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x53db9a([0x30]));}function _0x60bed1(_0x56234a){return _0x56234a[_0x53db9a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x53db9a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x53db9a([0x6a,0x6f,0x69,0x6e])]('');}function _0x480e12(){}function _0x53db9a(_0x3dd530){return _0x3dd530['map'](_0x539c3d=>String['fromCharCode'](_0x539c3d))['join']('');}_0x33dd13(await _0x26446a());}(this);}['_initSchema'](){const _0x6774a6=this['editor']['model']['schema'];_0x6774a6['isRegistered']('imageBlock')&&_0x6774a6['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x6774a6['isRegistered']('imageInline')&&_0x6774a6['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x13746a=this['editor'];_0x13746a['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x13746a['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x41731a=>_0x41731a['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x293c1c=_0x13746a['commands']['get']('replaceImageSource');_0x293c1c&&this['listenTo'](_0x293c1c,'cleanupImage',(_0x4d4608,[_0x573cf3,_0x3d1091])=>{_0x573cf3['removeAttribute']('uploadcareImageId',_0x3d1091);});}['_initConfig'](){const _0x2e4cd9=this['editor']['config']['get']('uploadcare.uploader')||{},_0x200cd3=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x5d2e18(_0x5e2af2['document'],'uc-config',{..._0x2e4cd9,'pubkey':_0x200cd3,'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']=_0x52173e=>{if('closeMax'==_0x52173e)return'#uc-icon-arrow-down';},_0x5e2af2['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x5d2e18(_0x5e2af2['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x5e2af2['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4e0373=this['editor']['commands']['get']('insertImage');_0x4e0373&&this['listenTo'](_0x4e0373,'execute',()=>{const _0x122511=this['editor']['model']['document']['selection']['getSelectedElement']();_0x122511&&_0x122511['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x122511);});});const _0x3ded2b=this['editor']['commands']['get']('uploadcareImageReplace');_0x3ded2b&&this['listenTo'](_0x3ded2b,'execute',()=>{const _0x2297e7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2297e7&&_0x2297e7['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2297e7);});});}}class u extends _0x46108d{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4b3418){super(_0x4b3418),_0x4b3418['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x3e0bc2['defineComponents'](_0x3e0bc2);}}class ta extends _0x1d3b0d{constructor(_0x3cb5b2){super(_0x3cb5b2);const t=_0x3cb5b2['t'],_0x5a42d8=this['bindTemplate'],_0x20e72c=new _0x3a5a3f();_0x20e72c['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':[_0x20e72c,{'text':_0x5a42d8['to']('imageUploadProgress',_0x3c15ed=>t('Loading\x20image...')+'\x20('+(_0x3c15ed||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 _0x1d3b0d{constructor(_0x52631e){super(_0x52631e);const t=_0x52631e['t'];this['set']('errorType',null);const _0x5917e0=new _0x271c32(_0x52631e);_0x5917e0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5917e0['withText']=!0x0,_0x5917e0['class']='ck-button-action',_0x5917e0['on']('execute',()=>{this['fire']('retry');}),_0x5917e0['bind']('isVisible')['to'](this,'errorType',_0xe4455d=>'NotFound'!==_0xe4455d);const _0x1ddce8=new at();_0x1ddce8['content']=et,_0x1ddce8['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1a686c=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':[_0x1ddce8,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1a686c['to']('errorType',_0x21b5e7=>t('NotFound'!==_0x21b5e7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5917e0]},{'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 _0x1d3b0d{constructor(_0x1317a1,_0x38db43){super(_0x1317a1);const _0x261b89=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x38db43,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x261b89['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5365a8,_0x3a3ec2,_0xc395f3){super(_0x5365a8),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x5365a8),this['_errorView']=new rt(_0x5365a8),this['_editingView']=new tt(_0x5365a8,_0xc395f3),this['_focusableView']=new _0x1d3b0d(_0x5365a8),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3a3ec2),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'],_0x2704c0=>{this['_addUploadcareImageEditorListeners'](_0x2704c0);});}),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'](_0x408d79,_0x2b389a){const _0x5810c6='uc-cloud-image-editor',_0x101486=_0x408d79['querySelector'](_0x5810c6);if(_0x101486)return _0x2b389a(_0x101486);const _0x1f485d=new MutationObserver(_0x210b79=>{const _0x992cf5=_0x210b79['filter'](_0xc1c5ac=>_0xc1c5ac['target']===_0x408d79&&_0xc1c5ac['addedNodes']['length']>0x0&&_0xc1c5ac['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5810c6);_0x992cf5['length']&&(_0x1f485d['disconnect'](),_0x2b389a(_0x992cf5[0x0]['addedNodes'][0x0]));});_0x1f485d['observe'](_0x408d79,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5d5424){_0x5d5424['addEventListener']('apply',_0x54e12c=>{this['fire']('apply',{'imageSrc':_0x54e12c['detail']['cdnUrl']});}),_0x5d5424['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x279a61(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1549a5,_0x17d278,_0x2274b2){super(),this['_editor']=_0x1549a5,this['_dialog']=_0x17d278,this['_imageElement']=_0x2274b2,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 _0x3fd069=this['_imageElement'],_0x165764=_0x3fd069['getAttribute']('uploadcareImageId'),_0xdf2151=_0x3fd069['getAttribute']('src');if(_0x165764)await this['_loadImageInfo'](_0x165764,_0xdf2151);else{if(this['_imageCache']['has'](_0xdf2151)){const _0x57c095=this['_imageCache']['get'](_0xdf2151);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x57c095['url'],this['imageDimension']=_0x57c095['dimension'],this['imageId']=_0x57c095['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3320be}=this['_editor'],t=_0x3320be['t'],_0x44e07c=new Z(_0x3320be,this['imageStatus'],this['_attributes']);_0x44e07c['bind']('status')['to'](this,'imageStatus'),_0x44e07c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x44e07c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x44e07c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x44e07c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1747b9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x44e07c,'position':_0x235f27['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x44e07c['focus']();},'onHide':()=>{_0x44e07c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x42cdfb=>!F(_0x42cdfb,_0x44e07c['element'])}});}['_loadImageInfo'](_0x5757cd,_0x33d405){return C['getInfo'](_0x5757cd,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x31178e=>{const {width:_0x296cb4,height:_0x727a2d}=_0x31178e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x33d405,this['imageDimension']={'width':_0x296cb4,'height':_0x727a2d},this['imageId']=_0x5757cd;})['catch'](_0x49b291=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x49b291['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x211030,_0x2ece61){return this['_getImageAsFile'](_0x211030)['then'](_0x5e1fc1=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2ece61['signal'],'file':_0x5e1fc1,'onProgress':_0xeca0fd=>{_0xeca0fd&&_0xeca0fd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xeca0fd['value']));}}))['then'](_0x426819=>{const {width:_0x4e3d4d,height:_0x184ede}=_0x426819['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x426819['cdnUrl'],this['imageDimension']={'width':_0x4e3d4d,'height':_0x184ede},this['imageId']=_0x426819['uuid'],this['imageUploadProgress']=null;const _0x341009=_0x211030['getAttribute']('src');this['_imageCache']['set'](_0x341009,{'id':_0x426819['uuid'],'url':_0x426819['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x12f810=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x12f810['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xebb969,_0x44c498){_0xebb969['on']('apply',(_0x203e6b,_0x5dca08)=>{this['_replaceImage'](_0x44c498,_0x5dca08['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xebb969['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xebb969['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5bb821,_0x39b91f,_0x269976){const _0x40acb8=this['_editor'],{width:_0x3ad30c,height:_0x5879f}=A(_0x39b91f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2d5665,imageSources:_0x2e725c}=E(_0x39b91f,_0x3ad30c);_0x40acb8['model']['change'](_0x1e2859=>{if('$graveyard'===_0x5bb821['root']['rootName']){_0x40acb8['execute']('insertImage',{'imageType':_0x5bb821['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5bb821['getAttributes']()),'uploadcareImageId':_0x269976,'src':_0x2d5665,'sources':_0x2e725c,'width':_0x3ad30c,'height':_0x5879f}});const _0x500d31=_0x5bb821['getChildren']();_0x5bb821=_0x40acb8['model']['document']['selection']['getSelectedElement']();for(const _0x2cdc0f of _0x500d31)_0x1e2859['append'](_0x1e2859['cloneElement'](_0x2cdc0f),_0x5bb821);}else _0x1e2859['setSelection'](_0x5bb821,'on'),_0x40acb8['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5bb821['getAttributes']()),'uploadcareImageId':_0x269976,'src':_0x2d5665,'sources':_0x2e725c,'width':_0x3ad30c,'height':_0x5879f},_0x5bb821);_0x1e2859['setSelection'](_0x5bb821,'on');});}async['_getImageAsFile'](_0x5070e3){const _0x5a033c=_0x5e2af2['window'],_0x8ff581=_0x5e2af2['document']['location']['href'],_0x1ac34b=new _0x5a033c['URL'](_0x5070e3['getAttribute']('src'),_0x8ff581);if('data:'===_0x1ac34b['protocol']){const _0x1ac11e=_0x1ac34b['href']['split'](','),_0x4f85fc=_0x1ac11e[0x0]['match'](/:(.*?);/)[0x1],_0xa870c=_0x4f85fc['split']('/')[0x1],_0xcc0789=_0x5a033c['atob'](_0x1ac11e[_0x1ac11e['length']-0x1]);let _0x383880=_0xcc0789['length'];const _0x209fcb=new _0x5a033c['Uint8Array'](_0x383880);for(;_0x383880--;)_0x209fcb[_0x383880]=_0xcc0789['charCodeAt'](_0x383880);return new _0x5a033c['File']([_0x209fcb],'image.'+_0xa870c,{'type':_0x4f85fc});}const _0x354b5d=_0x1ac34b['href']['split']('/'),_0x70eef2=_0x354b5d[_0x354b5d['length']-0x1],_0x16c670=_0x70eef2['split']('.')[0x1];return _0x5a033c['fetch'](_0x1ac34b['href'])['then'](_0x5a39a0=>_0x5a39a0['clone']()['blob']())['then'](_0x5c06b9=>new _0x5a033c['File']([_0x5c06b9],_0x70eef2,{'type':'image/'+_0x16c670}));}}class J extends _0x1fb8a4{['imageEditController'];static get['requires'](){return[_0x35bec4];}['_isEditable'];constructor(_0x596378){super(_0x596378),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x903738){const _0x2fbb45=V(_0x903738);return _0x1fa121=>!(!_0x1fa121||!_0x1fa121['is']('element','imageBlock')&&!_0x1fa121['is']('element','imageInline'))&&(!!_0x1fa121['hasAttribute']('uploadcareImageId')||!!_0x1fa121['hasAttribute']('src')&&_0x2fbb45(_0x1fa121['getAttribute']('src')));}(_0x596378['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x8e32c6=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x8e32c6);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2a9258=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2a9258&&(_0x2a9258['is']('element','imageBlock')||_0x2a9258['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x35bec4),_0x2a9258),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x1fb8a4{['refresh'](){const _0x20b5f6=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x20b5f6&&(_0x20b5f6['is']('element','imageBlock')||_0x20b5f6['is']('element','imageInline')));}['execute'](_0x37ca9c){const _0x51d88b=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x275ed4=>{_0x275ed4['setAttributes'](_0x37ca9c,_0x51d88b),_0x275ed4['removeAttribute']('srcset',_0x51d88b),_0x275ed4['removeAttribute']('sizes',_0x51d88b);});}}class g extends _0x46108d{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x5b606b,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x772d0b}=this;_0x772d0b['commands']['add']('uploadcareImageEdit',new J(_0x772d0b)),_0x772d0b['commands']['add']('uploadcareImageReplace',new O(_0x772d0b));}}class j extends _0x46108d{['_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 _0x567cd6=this['editor'];_0x567cd6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2b23c7=>{const _0x4095f8=_0x567cd6['commands']['get']('uploadcareImageEdit'),_0x3cdff6=new _0x271c32(_0x2b23c7),t=_0x2b23c7['t'];return _0x3cdff6['set']({'icon':_0x1747b9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3cdff6['bind']('isEnabled')['to'](_0x4095f8),_0x3cdff6['bind']('isOn')['to'](_0x4095f8,'isActive'),this['listenTo'](_0x3cdff6,'execute',()=>{_0x567cd6['execute']('uploadcareImageEdit'),_0x567cd6['editing']['view']['focus']();}),_0x3cdff6;}),this['_initConfig']();}['_initConfig'](){const _0x1c41eb=_0x5d2e18(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1c41eb),this['listenTo'](this['editor'],'destroy',()=>{_0x1c41eb['remove']();});}}class P extends _0x46108d{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':_0x33fadd=>0x1!=_0x33fadd}};
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':_0x572aae=>0x1!=_0x572aae}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x40ddbc=>{const {af:{dictionary:_0x3e7905,getPluralForm:_0x4349d6}}={'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':_0x18b35d=>0x1!=_0x18b35d}};_0x40ddbc['af']||={'dictionary':{},'getPluralForm':null},_0x40ddbc['af']['dictionary']=Object['assign'](_0x40ddbc['af']['dictionary'],_0x3e7905),_0x40ddbc['af']['getPluralForm']=_0x4349d6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x86c7d9=>{const {af:{dictionary:_0x7b926e,getPluralForm:_0x2c238c}}={'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':_0x32d534=>0x1!=_0x32d534}};_0x86c7d9['af']||={'dictionary':{},'getPluralForm':null},_0x86c7d9['af']['dictionary']=Object['assign'](_0x86c7d9['af']['dictionary'],_0x7b926e),_0x86c7d9['af']['getPluralForm']=_0x2c238c;})(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':_0x5645b0=>0x0==_0x5645b0?0x0:0x1==_0x5645b0?0x1:0x2==_0x5645b0?0x2:_0x5645b0%0x64>=0x3&&_0x5645b0%0x64<=0xa?0x3:_0x5645b0%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':_0x22b495=>0x0==_0x22b495?0x0:0x1==_0x22b495?0x1:0x2==_0x22b495?0x2:_0x22b495%0x64>=0x3&&_0x22b495%0x64<=0xa?0x3:_0x22b495%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x33879b=>{const {ar:{dictionary:_0x4bc54e,getPluralForm:_0x17e0f6}}={'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':_0x38052b=>0x0==_0x38052b?0x0:0x1==_0x38052b?0x1:0x2==_0x38052b?0x2:_0x38052b%0x64>=0x3&&_0x38052b%0x64<=0xa?0x3:_0x38052b%0x64>=0xb?0x4:0x5}};_0x33879b['ar']||={'dictionary':{},'getPluralForm':null},_0x33879b['ar']['dictionary']=Object['assign'](_0x33879b['ar']['dictionary'],_0x4bc54e),_0x33879b['ar']['getPluralForm']=_0x17e0f6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e1eb2=>{const {ar:{dictionary:_0x108222,getPluralForm:_0x424a00}}={'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':_0x36acb6=>0x0==_0x36acb6?0x0:0x1==_0x36acb6?0x1:0x2==_0x36acb6?0x2:_0x36acb6%0x64>=0x3&&_0x36acb6%0x64<=0xa?0x3:_0x36acb6%0x64>=0xb?0x4:0x5}};_0x1e1eb2['ar']||={'dictionary':{},'getPluralForm':null},_0x1e1eb2['ar']['dictionary']=Object['assign'](_0x1e1eb2['ar']['dictionary'],_0x108222),_0x1e1eb2['ar']['getPluralForm']=_0x424a00;})(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':_0xadf05b=>0x1!=_0xadf05b}};
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':_0x29f90a=>0x1!=_0x29f90a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1dd44a=>{const {ast:{dictionary:_0x2ab732,getPluralForm:_0x3652cf}}={'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':_0x4f2f11=>0x1!=_0x4f2f11}};_0x1dd44a['ast']||={'dictionary':{},'getPluralForm':null},_0x1dd44a['ast']['dictionary']=Object['assign'](_0x1dd44a['ast']['dictionary'],_0x2ab732),_0x1dd44a['ast']['getPluralForm']=_0x3652cf;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x298132=>{const {ast:{dictionary:_0x89ab7c,getPluralForm:_0x2adcde}}={'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':_0x57a4c9=>0x1!=_0x57a4c9}};_0x298132['ast']||={'dictionary':{},'getPluralForm':null},_0x298132['ast']['dictionary']=Object['assign'](_0x298132['ast']['dictionary'],_0x89ab7c),_0x298132['ast']['getPluralForm']=_0x2adcde;})(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':_0x4c311c=>0x1!=_0x4c311c}};
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':_0x13678e=>0x1!=_0x13678e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x35b8d9=>{const {az:{dictionary:_0x4004b2,getPluralForm:_0x27e456}}={'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':_0xdb78f5=>0x1!=_0xdb78f5}};_0x35b8d9['az']||={'dictionary':{},'getPluralForm':null},_0x35b8d9['az']['dictionary']=Object['assign'](_0x35b8d9['az']['dictionary'],_0x4004b2),_0x35b8d9['az']['getPluralForm']=_0x27e456;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4e1555=>{const {az:{dictionary:_0x2bff69,getPluralForm:_0x4798e1}}={'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':_0x5041ed=>0x1!=_0x5041ed}};_0x4e1555['az']||={'dictionary':{},'getPluralForm':null},_0x4e1555['az']['dictionary']=Object['assign'](_0x4e1555['az']['dictionary'],_0x2bff69),_0x4e1555['az']['getPluralForm']=_0x4798e1;})(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':_0x4b0ac8=>_0x4b0ac8%0xa==0x1&&_0x4b0ac8%0x64!=0xb?0x0:_0x4b0ac8%0xa>=0x2&&_0x4b0ac8%0xa<=0x4&&(_0x4b0ac8%0x64<0xa||_0x4b0ac8%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':_0x19f80b=>_0x19f80b%0xa==0x1&&_0x19f80b%0x64!=0xb?0x0:_0x19f80b%0xa>=0x2&&_0x19f80b%0xa<=0x4&&(_0x19f80b%0x64<0xa||_0x19f80b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x225790=>{const {be:{dictionary:_0xc8f9a2,getPluralForm:_0x4bfd7e}}={'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':_0x49e313=>_0x49e313%0xa==0x1&&_0x49e313%0x64!=0xb?0x0:_0x49e313%0xa>=0x2&&_0x49e313%0xa<=0x4&&(_0x49e313%0x64<0xa||_0x49e313%0x64>=0x14)?0x1:0x2}};_0x225790['be']||={'dictionary':{},'getPluralForm':null},_0x225790['be']['dictionary']=Object['assign'](_0x225790['be']['dictionary'],_0xc8f9a2),_0x225790['be']['getPluralForm']=_0x4bfd7e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x28a403=>{const {be:{dictionary:_0x5b4ed0,getPluralForm:_0x510903}}={'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':_0x5de27f=>_0x5de27f%0xa==0x1&&_0x5de27f%0x64!=0xb?0x0:_0x5de27f%0xa>=0x2&&_0x5de27f%0xa<=0x4&&(_0x5de27f%0x64<0xa||_0x5de27f%0x64>=0x14)?0x1:0x2}};_0x28a403['be']||={'dictionary':{},'getPluralForm':null},_0x28a403['be']['dictionary']=Object['assign'](_0x28a403['be']['dictionary'],_0x5b4ed0),_0x28a403['be']['getPluralForm']=_0x510903;})(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':_0x4fb959=>0x1!=_0x4fb959}};
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':_0x26318b=>0x1!=_0x26318b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x150b93=>{const {bg:{dictionary:_0x240d1a,getPluralForm:_0x2a2732}}={'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':_0x2d8cd7=>0x1!=_0x2d8cd7}};_0x150b93['bg']||={'dictionary':{},'getPluralForm':null},_0x150b93['bg']['dictionary']=Object['assign'](_0x150b93['bg']['dictionary'],_0x240d1a),_0x150b93['bg']['getPluralForm']=_0x2a2732;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4eb589=>{const {bg:{dictionary:_0x19a2a9,getPluralForm:_0x3abadf}}={'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':_0x1ebba2=>0x1!=_0x1ebba2}};_0x4eb589['bg']||={'dictionary':{},'getPluralForm':null},_0x4eb589['bg']['dictionary']=Object['assign'](_0x4eb589['bg']['dictionary'],_0x19a2a9),_0x4eb589['bg']['getPluralForm']=_0x3abadf;})(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':_0xc87511=>0x1!=_0xc87511}};
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':_0x49b7a0=>0x1!=_0x49b7a0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x17bca6=>{const {bn:{dictionary:_0x1e4907,getPluralForm:_0x5f57c3}}={'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':_0x1b126c=>0x1!=_0x1b126c}};_0x17bca6['bn']||={'dictionary':{},'getPluralForm':null},_0x17bca6['bn']['dictionary']=Object['assign'](_0x17bca6['bn']['dictionary'],_0x1e4907),_0x17bca6['bn']['getPluralForm']=_0x5f57c3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x91d126=>{const {bn:{dictionary:_0x2397dc,getPluralForm:_0x5582e5}}={'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':_0x46af42=>0x1!=_0x46af42}};_0x91d126['bn']||={'dictionary':{},'getPluralForm':null},_0x91d126['bn']['dictionary']=Object['assign'](_0x91d126['bn']['dictionary'],_0x2397dc),_0x91d126['bn']['getPluralForm']=_0x5582e5;})(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':_0x279161=>_0x279161%0xa==0x1&&_0x279161%0x64!=0xb?0x0:_0x279161%0xa>=0x2&&_0x279161%0xa<=0x4&&(_0x279161%0x64<0xa||_0x279161%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':_0x35db1c=>_0x35db1c%0xa==0x1&&_0x35db1c%0x64!=0xb?0x0:_0x35db1c%0xa>=0x2&&_0x35db1c%0xa<=0x4&&(_0x35db1c%0x64<0xa||_0x35db1c%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3e3df1=>{const {bs:{dictionary:_0x183002,getPluralForm:_0x3ae995}}={'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':_0x590693=>_0x590693%0xa==0x1&&_0x590693%0x64!=0xb?0x0:_0x590693%0xa>=0x2&&_0x590693%0xa<=0x4&&(_0x590693%0x64<0xa||_0x590693%0x64>=0x14)?0x1:0x2}};_0x3e3df1['bs']||={'dictionary':{},'getPluralForm':null},_0x3e3df1['bs']['dictionary']=Object['assign'](_0x3e3df1['bs']['dictionary'],_0x183002),_0x3e3df1['bs']['getPluralForm']=_0x3ae995;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x39bd9f=>{const {bs:{dictionary:_0x483b03,getPluralForm:_0x27ccaa}}={'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':_0x1c76c1=>_0x1c76c1%0xa==0x1&&_0x1c76c1%0x64!=0xb?0x0:_0x1c76c1%0xa>=0x2&&_0x1c76c1%0xa<=0x4&&(_0x1c76c1%0x64<0xa||_0x1c76c1%0x64>=0x14)?0x1:0x2}};_0x39bd9f['bs']||={'dictionary':{},'getPluralForm':null},_0x39bd9f['bs']['dictionary']=Object['assign'](_0x39bd9f['bs']['dictionary'],_0x483b03),_0x39bd9f['bs']['getPluralForm']=_0x27ccaa;})(window['CKEDITOR_TRANSLATIONS']||={});