@ckeditor/ckeditor5-uploadcare 45.2.1-alpha.9 → 45.2.1

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 _0x235cec,Command as _0x3e6fbf}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x146b8a,IconGooglePhotos as _0x295fb9,IconGoogleDrive as _0x40bd1d,IconFacebook as _0x4ef90f,IconDropbox as _0x1d6618,IconUploadcareLink as _0x18f5c4,IconUploadcareImageUpload as _0x4fce07,IconError as et,IconUploadcareImageEdit as _0x51fdd7}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1b8a4c,MenuBarMenuListItemButtonView as _0x24f818,View as _0x3d2ea6,FocusCycler as _0x5af8cd,Dialog as _0x1c972a,DialogViewPosition as _0x3818a0,SpinnerView as _0x2619a0,IconView as at,Notification as _0x3dcad6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x13d675,DomEmitterMixin as _0x1c8e8b,global as _0x58c00a,getAncestors as _0x2db418,ObservableMixin as _0x4155d8,createElement as _0x2f0913,uid as _0x243f71}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x7b6070}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x7ce2a9,info as _0xc9e5e8}from'@uploadcare/upload-client';import*as _0x34f4b0 from'@uploadcare/file-uploader';var o=function(_0x417222){return _0x417222['Local']='local',_0x417222['URL']='url',_0x417222['Dropbox']='dropbox',_0x417222['GDrive']='gdrive',_0x417222['Facebook']='facebook',_0x417222['GPhotos']='gphotos',_0x417222['OneDrive']='onedrive',_0x417222;}({});function _(_0x109e51,_0x2f077e,_0x4c4434){const t=_0x109e51['t'],_0x236189=_0x109e51['t'];switch(_0x2f077e){case o['Local']:return{'text':_0x236189('Insert'===_0x4c4434?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x236189('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x4c4434?_0x236189('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x236189('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x4c4434?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x4c4434?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x4c4434?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x4c4434?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x4c4434?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2f077e;}}class e extends _0x235cec{['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 _0x405145=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x473276;for(const _0x3f4766 in _0x405145){const _0x319947=_0x3f4766,_0x2242d6=_0x405145[_0x319947];if('uploadcareLicenseKeyValid'==_0x2242d6||'uploadcareLicenseKeyInvalid'==_0x2242d6||'uploadcareLicenseKeyExpired'==_0x2242d6||'uploadcareLicenseKeyDomainLimit'==_0x2242d6||'uploadcareLicenseKeyNotAllowed'==_0x2242d6||'uploadcareLicenseKeyEvaluationLimit'==_0x2242d6||'uploadcareLicenseKeyTrialLimit'==_0x2242d6||'uploadcareLicenseKeyUsageLimit'==_0x2242d6){delete _0x405145[_0x319947],_0x473276=_0x2242d6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x473276&&_0x405145['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x473276&&_0x405145['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x473276&&_0x405145['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x473276&&_0x405145['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x473276&&_0x405145['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x473276&&_0x405145['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x473276&&_0x405145['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xf0d7a5}=this,_0x58ee3d=_0xf0d7a5['commands']['get']('uploadcare');if(!_0x58ee3d)return;const _0x5493e1=this['_normalizeConfigSourceList'](_0xf0d7a5['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x402b02,_0xbd5290)=>{const _0x4c31d8=this['_getIntegrationKey'](_0xbd5290['type']);return _0x402b02[_0x4c31d8]||(_0x402b02[_0x4c31d8]=[]),_0x402b02[_0x4c31d8]['push'](_0xbd5290),_0x402b02;},{});_0xf0d7a5['plugins']['has']('ImageInsertUI')&&_0xf0d7a5['commands']['get']('uploadcare')&&Object['entries'](_0x5493e1)['forEach'](([_0x57b317,_0x4dd23f])=>{_0xf0d7a5['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x57b317,'observable':()=>_0x58ee3d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4dd23f),'formViewCreator':()=>this['_createDropdownButtons'](_0x4dd23f),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4dd23f),'override':'assetManager'!==_0x57b317});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3b1187){const {locale:_0x1b0443}=this['editor'];return _0x3b1187['map'](_0x367f7f=>{const _0x49ecbd=_(_0x1b0443,_0x367f7f,'Insert');switch(_0x367f7f){case o['Local']:return{'icon':_0x4fce07,'type':o['Local'],..._0x49ecbd};case o['URL']:return{'icon':_0x18f5c4,'type':o['URL'],..._0x49ecbd};case o['Dropbox']:return{'icon':_0x1d6618,'type':o['Dropbox'],..._0x49ecbd};case o['Facebook']:return{'icon':_0x4ef90f,'type':o['Facebook'],..._0x49ecbd};case o['GDrive']:return{'icon':_0x40bd1d,'type':o['GDrive'],..._0x49ecbd};case o['GPhotos']:return{'icon':_0x295fb9,'type':o['GPhotos'],..._0x49ecbd};case o['OneDrive']:return{'icon':_0x146b8a,'type':o['OneDrive'],..._0x49ecbd};}});}['_getIntegrationKey'](_0x29ba9f){switch(_0x29ba9f){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x440099,_0x1685f0){const _0xd81475=this['editor'],_0x7ab231=new _0x440099(_0xd81475['locale']),_0x394821=_0xd81475['commands']['get']('uploadcare');return _0x7ab231['bind']('isEnabled')['to'](_0x394821),_0x7ab231['on']('execute',()=>{_0x394821['execute'](_0x1685f0);}),_0x7ab231;}['_createToolbarButton'](_0x25c116){const {locale:_0x50ca8d}=this['editor'],_0x19da89=this['editor']['plugins']['get']('ImageInsertUI'),_0x133332=_0x25c116[0x0],_0x2653f1=this['_createButton'](_0x1b8a4c,_0x133332['type']);return _0x2653f1['icon']=_0x133332['icon'],_0x2653f1['bind']('label')['to'](_0x19da89,'isImageSelected',_0x59f9e3=>_(_0x50ca8d,_0x133332['type'],_0x59f9e3?'Replace':'Insert')['text']),_0x2653f1['tooltip']=!0x0,_0x2653f1;}['_createDropdownButtons'](_0x344239){const {locale:_0x2957e8}=this['editor'],_0x1f3076=this['editor']['plugins']['get']('ImageInsertUI');return _0x344239['map'](_0x57ba91=>{const _0x1d4528=this['_createButton'](_0x1b8a4c,_0x57ba91['type']);return _0x1d4528['withText']=!0x0,_0x1d4528['icon']=_0x57ba91['icon'],_0x1d4528['bind']('label')['to'](_0x1f3076,'isImageSelected',_0x471762=>_(_0x2957e8,_0x57ba91['type'],_0x471762?'Replace':'Insert')['text']),_0x1d4528;});}['_createMenuBarButtons'](_0x5e58a9){return _0x5e58a9['map'](_0x138422=>{const _0x52b6b0=this['_createButton'](_0x24f818,_0x138422['type']);return _0x52b6b0['icon']=_0x138422['icon'],_0x52b6b0['label']=_0x138422['shortText'],_0x52b6b0;});}}class q extends _0x3d2ea6{['focusTracker'];['focusCycler'];constructor(_0x532304){super(_0x532304),this['focusTracker']=new _0x13d675(),this['focusCycler']=new _0x5af8cd({'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(_0x1c34d3){super(_0x1c34d3),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(_0x39b272,_0x528a09){const _0x54a681=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x35feaa=>_0x35feaa<=_0x528a09)['map'](_0x4fce49=>_0x39b272['replace'](/\/$/,'')+'/-/resize/'+_0x4fce49+'x/\x20'+_0x4fce49+'w');return{'imageFallbackUrl':_0x39b272,'imageSources':[{'srcset':_0x54a681['join'](',\x20'),'sizes':'(max-width:\x20'+_0x528a09+'px)\x20100vw,\x20'+_0x528a09+'px','type':'image/webp'}]};}function A(_0xab6809,_0x3bd011,_0x2b9879){const _0x13b096=_0xab6809['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x13b096?parseInt(_0x13b096[0x1],0xa):_0x3bd011,'height':_0x13b096?parseInt(_0x13b096[0x2],0xa):_0x2b9879};}function m(_0x14c0a6,_0xa6c6cb){const _0x56aa11=Object['create'](_0x1c8e8b),_0x3ff381=_0x14c0a6['plugins']['get']('ImageUtils'),_0x26d6fe=_0x14c0a6['editing']['mapper']['toViewElement'](_0xa6c6cb),_0x2d676b=_0x3ff381['findViewImgElement'](_0x26d6fe),_0x5f262a=_0x14c0a6['editing']['view']['domConverter']['viewToDom'](_0x2d676b),_0x48c4d4=_0xa6c6cb['getAttribute']('width'),_0x57ef71=_0xa6c6cb['getAttribute']('height'),_0x240b09='image-processing';_0x14c0a6['editing']['view']['change'](_0x4d1d88=>{_0x4d1d88['addClass'](_0x240b09,_0x26d6fe),_0x4d1d88['setStyle']('aspect-ratio',_0x48c4d4+'/'+_0x57ef71,_0x2d676b);}),_0x56aa11['listenTo'](_0x5f262a,'load',()=>{_0x56aa11['stopListening'](_0x5f262a,'load'),_0x14c0a6['editing']['view']['change'](_0x500e6d=>{_0x500e6d['removeClass'](_0x240b09,_0x26d6fe),_0x500e6d['removeStyle']('aspect-ratio',_0x2d676b);});});}function V(_0x3f173f){if(Array['isArray'](_0x3f173f)){const _0x45d242=_0x3f173f['map'](V);return _0x442653=>_0x45d242['some'](_0xd32ba5=>_0xd32ba5(_0x442653));}if('origin'==_0x3f173f){const _0x38e3bb=_0x58c00a['window']['location']['origin'];return _0x442aba=>new URL(_0x442aba,_0x58c00a['document']['baseURI'])['origin']==_0x38e3bb;}return'function'==typeof _0x3f173f?_0x3f173f:_0x3f173f instanceof RegExp?_0x3a553c=>!(!_0x3a553c['match'](_0x3f173f)&&!_0x3a553c['replace'](/^https?:\/\//,'')['match'](_0x3f173f)):()=>!0x1;}function F(_0x458403,_0x4f0728){return _0x2db418(_0x458403['target'])['includes'](_0x4f0728);}class l extends/* #__PURE__ -- @preserve */
24
- _0x4155d8(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5572b0,_0x169e41,_0x2b308c){super(),this['_editor']=_0x5572b0,this['_editing']=_0x169e41,this['_dialog']=_0x5572b0['plugins']['get'](_0x1c972a),this['_api']=_0x169e41['ctxElement']['getAPI'](),this['_type']=_0x2b308c,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:_0x454b5b,model:_0x3a75df}=this['_editor'],_0x464536=_0x3a75df['document']['selection']['getSelectedElement'](),_0x11d354=_0x464536&&(_0x464536['is']('element','imageBlock')||_0x464536['is']('element','imageInline'));this['_formView']=new S(_0x454b5b),this['_dialog']['show']({'id':'uploadCare','icon':_0x4fce07,'title':_(_0x454b5b,this['_type'],_0x11d354?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3818a0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x413c8d=>!F(_0x413c8d,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x534f54}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5ec7c0=>{const _0x5c7d92=_0x534f54['length'];for(const _0x17ce92 of _0x534f54){const _0x582a85=_0x17ce92===_0x534f54[_0x5c7d92-0x1],{cdnUrl:_0x317ae1,fileInfo:_0x4c7006}=_0x17ce92;if(!_0x317ae1||!_0x4c7006)continue;const {width:_0x4f93d6,height:_0x2e7a73}=_0x4c7006['imageInfo'],_0x566733=A(_0x317ae1,_0x4f93d6,_0x2e7a73),_0x3e0bd3=E(_0x317ae1,_0x566733['width']),_0x441b2e={'id':_0x4c7006['uuid'],'type':'image','attributes':{'imageDimension':_0x566733,..._0x3e0bd3}};this['_insertAsset'](_0x441b2e,_0x582a85,_0x5ec7c0);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2a4289=>{'idle'===_0x2a4289['detail']['status']&&!_0x2a4289['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x28c719,_0xd8f427,_0x4fcdf3){const _0x3592e0=this['_editor']['model']['document']['selection'],_0x400ec2=_0x3592e0['getSelectedElement'](),_0x45d808=!(!_0x400ec2||!_0x400ec2['is']('element','imageInline'));_0x4fcdf3['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x28c719,_0x45d808),_0xd8f427||_0x4fcdf3['setSelection'](_0x3592e0['getLastPosition']());}['_insertImage'](_0x1334be,_0x570318){const _0x45f3c0=this['_editor'],{imageDimension:_0x201f9d,imageFallbackUrl:_0x442ea0,imageSources:_0x2b81da}=_0x1334be['attributes'];_0x45f3c0['execute']('insertImage',{'imageType':_0x570318?'imageInline':null,'source':{'uploadcareImageId':_0x1334be['id'],'src':_0x442ea0,'sources':_0x2b81da,..._0x201f9d}});}}class n extends _0x3e6fbf{['_editing'];['_controller']=null;static get['requires'](){return[_0x1c972a,i];}constructor(_0x7be9a5){super(_0x7be9a5),this['_editing']=_0x7be9a5['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x19d6a3){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x19d6a3);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x2c42d6,publicKey:_0x10d69e,signal:_0x3c6e8c,onProgress:_0x1f021c}){return _0x7ce2a9(_0x2c42d6,{'publicKey':_0x10d69e,'store':'auto','signal':_0x3c6e8c,'onProgress':_0x1f021c});}static['getInfo'](_0x56ce42,_0x18b727){return _0xc9e5e8(_0x56ce42,_0x18b727);}}class p extends _0x235cec{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x7b6070,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x28afb6=this['editor'];if(!!!_0x28afb6['config']['get']('uploadcare'))return;_0x28afb6['plugins']['get'](_0x7b6070)['createUploadAdapter']=_0x47ee4e=>new x(_0x47ee4e,_0x28afb6),_0x28afb6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x346193,{imageElement:_0x5e0602,data:_0x3d6272})=>{_0x28afb6['model']['change'](_0xa528fd=>{_0xa528fd['setAttribute']('uploadcareImageId',_0x3d6272['uploadcareImageId'],_0x5e0602);});});}}class x{['loader'];['editor'];['controller'];constructor(_0xe41557,_0x3645a2){this['loader']=_0xe41557,this['editor']=_0x3645a2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x352469=this['editor']['config']['get']('uploadcare.pubkey'),_0x5d649a=await this['loader']['file'];return C['upload']({'file':_0x5d649a,'publicKey':_0x352469,'signal':this['controller']['signal'],'onProgress':_0x4d739b=>{_0x4d739b&&_0x4d739b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4d739b['value']);}})['then'](async _0x2e7712=>{const {imageFallbackUrl:_0x3d66c5,imageSources:_0xd10ba9}=E(_0x2e7712['cdnUrl'],_0x2e7712['imageInfo']['width']);return{'uploadcareImageId':_0x2e7712['uuid'],'default':_0x3d66c5,'sources':_0xd10ba9};})['catch'](()=>{const _0x49fb13=t('Cannot\x20upload\x20file:')+('\x20'+_0x5d649a['name']+'.');return Promise['reject'](_0x49fb13);});}['abort'](){this['controller']['abort']();}}class i extends _0x235cec{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x1c972a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x517a92=this['editor'];_0x517a92['commands']['add']('uploadcare',new n(_0x517a92));}['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 _0x30d408=_0x58c00a['document']['querySelector']('input[uploadcare-file-input]');_0x30d408&&_0x30d408['remove']();}),async function(_0x1de610){const _0x190e45=_0x39dc00([0x53,0x65,0x38,0x43,0x4e,0x75,0x42,0x58,0x71,0x4a,0x31,0x77,0x66,0x70,0x78,0x72,0x6c,0x6e,0x52,0x45,0x48,0x35,0x6a,0x68,0x73,0x64,0x74,0x39,0x5a,0x69,0x59,0x61,0x4c,0x76,0x30,0x55,0x57,0x6b,0x4f,0x41,0x79,0x47,0x56,0x51,0x36,0x62,0x6d,0x4d,0x67,0x50,0x7a,0x32,0x54,0x44,0x37,0x49,0x46,0x6f,0x33,0x63,0x4b,0x34]),_0xda6464=0x59d118f7,_0x264690=0x59d67367^_0xda6464,_0x1e2b5a=window[_0x39dc00([0x44,0x61,0x74,0x65])][_0x39dc00([0x6e,0x6f,0x77])](),_0x468cd9=_0x1de610[_0x39dc00([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3556ee=new window[(_0x39dc00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x401028=>{_0x468cd9[_0x39dc00([0x6f,0x6e,0x63,0x65])](_0x39dc00([0x72,0x65,0x61,0x64,0x79]),_0x401028);}),_0x1c08ce={[_0x39dc00([0x6b,0x74,0x79])]:_0x39dc00([0x45,0x43]),[_0x39dc00([0x75,0x73,0x65])]:_0x39dc00([0x73,0x69,0x67]),[_0x39dc00([0x63,0x72,0x76])]:_0x39dc00([0x50,0x2d,0x32,0x35,0x36]),[_0x39dc00([0x78])]:_0x39dc00([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]),[_0x39dc00([0x79])]:_0x39dc00([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]),[_0x39dc00([0x61,0x6c,0x67])]:_0x39dc00([0x45,0x53,0x32,0x35,0x36])},_0x559091=_0x468cd9[_0x39dc00([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39dc00([0x67,0x65,0x74])](_0x39dc00([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x53ae98(){let _0xba6236,_0x5d64ec=null,_0x443f68=null;try{if(_0x559091==_0x39dc00([0x47,0x50,0x4c]))return _0x39dc00([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xba6236=_0x3783a7(),!_0xba6236)return _0x39dc00([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xba6236[_0x39dc00([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x443f68=_0x526e53(_0xba6236[_0x39dc00([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xba6236[_0x39dc00([0x6a,0x74,0x69])])),await _0x4ce722()?_0x1a7cac()?_0xd8962b()?_0x39dc00([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c005a()?(_0xba6236[_0x39dc00([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39dc00([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d64ec=_0x352c59(_0x39dc00([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xba6236[_0x39dc00([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39dc00([0x74,0x72,0x69,0x61,0x6c])&&(_0x5d64ec=_0x352c59(_0x39dc00([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x254b87()):_0x39dc00([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39dc00([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39dc00([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x39dc00([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd8962b(){const _0x109ce3=[_0x39dc00([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39dc00([0x74,0x72,0x69,0x61,0x6c])][_0x39dc00([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xba6236[_0x39dc00([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e2b5a/0x3e8:0xe10*_0x264690;return _0xba6236[_0x39dc00([0x65,0x78,0x70])]<_0x109ce3;}function _0x1a7cac(){const _0x3d06f5=_0xba6236[_0x39dc00([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d06f5&&(!!_0x3d06f5[_0x39dc00([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39dc00([0x2a]))||!!_0x3d06f5[_0x39dc00([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39dc00([0x55,0x50,0x4c,0x43])));}function _0x3c005a(){const _0x25bd60=_0xba6236[_0x39dc00([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x25bd60||0x0==_0x25bd60[_0x39dc00([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4faf45}=new URL(window[_0x39dc00([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x25bd60[_0x39dc00([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4faf45))return!0x0;const _0xe2bba=_0x4faf45[_0x39dc00([0x73,0x70,0x6c,0x69,0x74])](_0x39dc00([0x2e]));return _0x25bd60[_0x39dc00([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13a86b=>_0x13a86b[_0x39dc00([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39dc00([0x2a])))[_0x39dc00([0x6d,0x61,0x70])](_0x57181e=>_0x57181e[_0x39dc00([0x73,0x70,0x6c,0x69,0x74])](_0x39dc00([0x2e])))[_0x39dc00([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x531f95=>_0x531f95[_0x39dc00([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe2bba[_0x39dc00([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39dc00([0x6d,0x61,0x70])](_0x29af38=>Array(_0xe2bba[_0x39dc00([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x29af38[_0x39dc00([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39dc00([0x66,0x69,0x6c,0x6c])](_0x29af38[0x0]===_0x39dc00([0x2a])?_0x39dc00([0x2a]):'')[_0x39dc00([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x29af38))[_0x39dc00([0x73,0x6f,0x6d,0x65])](_0x220433=>_0xe2bba[_0x39dc00([0x65,0x76,0x65,0x72,0x79])]((_0x48ab29,_0x53334b)=>_0x220433[_0x53334b]===_0x48ab29||_0x220433[_0x53334b]===_0x39dc00([0x2a])));}function _0x254b87(){return _0x5d64ec&&_0x443f68?new window[(_0x39dc00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe266ea,_0x3d7d7e)=>{_0x5d64ec[_0x39dc00([0x74,0x68,0x65,0x6e])](_0xe266ea,_0x3d7d7e),_0x443f68[_0x39dc00([0x74,0x68,0x65,0x6e])](_0x2f4700=>{_0x2f4700!=_0x39dc00([0x56,0x61,0x6c,0x69,0x64])&&_0xe266ea(_0x2f4700);},_0x3d7d7e);}):_0x5d64ec||_0x443f68||_0x39dc00([0x56,0x61,0x6c,0x69,0x64]);}}function _0x526e53(_0x106467,_0x48aac0){return new window[(_0x39dc00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x264e75=>{if(_0x459fc6())return _0x264e75(_0x39dc00([0x56,0x61,0x6c,0x69,0x64]));_0x431d23(),_0x468cd9[_0x39dc00([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39dc00([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x582ac4=!0x1;const _0x201f44=_0x243f71();function _0x321a2a(_0xce897a){return!!_0xce897a&&(typeof _0xce897a===_0x39dc00([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xce897a===_0x39dc00([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xce897a[_0x39dc00([0x74,0x68,0x65,0x6e])]===_0x39dc00([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xce897a[_0x39dc00([0x63,0x61,0x74,0x63,0x68])]===_0x39dc00([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a7010(_0x29bbeb){_0x102c78(_0x29bbeb)[_0x39dc00([0x74,0x68,0x65,0x6e])](_0x4afdfa=>{if(!_0x4afdfa||_0x4afdfa[_0x39dc00([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39dc00([0x6f,0x6b]))return _0x39dc00([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x47c469(_0xed7402(_0x201f44+_0x48aac0))!=_0x4afdfa[_0x39dc00([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39dc00([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39dc00([0x56,0x61,0x6c,0x69,0x64]);})[_0x39dc00([0x74,0x68,0x65,0x6e])](_0x27f2b5=>(_0x10b540(),_0x27f2b5),()=>{const _0x334303=_0x48e7c9();return null==_0x334303?(_0x10b540(),_0x39dc00([0x56,0x61,0x6c,0x69,0x64])):_0x39dc00(_0x1e2b5a-_0x334303>(0x7ddd9cf7^_0xda6464)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39dc00([0x74,0x68,0x65,0x6e])](_0x264e75)[_0x39dc00([0x63,0x61,0x74,0x63,0x68])](()=>{_0x264e75(_0x39dc00([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x10b617=0x59e7f677^_0xda6464;function _0x10b540(){const _0x26f587=_0x39dc00([0x6c,0x6c,0x63,0x74,0x2d])+_0x47c469(_0xed7402(_0x106467)),_0x333dc7=_0x4e6f86(_0x47c469(window[_0x39dc00([0x4d,0x61,0x74,0x68])][_0x39dc00([0x63,0x65,0x69,0x6c])](_0x1e2b5a/_0x10b617)));window[_0x39dc00([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39dc00([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26f587,_0x333dc7);}function _0x48e7c9(){const _0x614050=_0x39dc00([0x6c,0x6c,0x63,0x74,0x2d])+_0x47c469(_0xed7402(_0x106467)),_0x1b54e3=window[_0x39dc00([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39dc00([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x614050);return _0x1b54e3?window[_0x39dc00([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e6f86(_0x1b54e3),0x10)*_0x10b617:null;}function _0x102c78(_0x179f2b){return new window[(_0x39dc00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36402b,_0x4d1c0c)=>{_0x179f2b[_0x39dc00([0x74,0x68,0x65,0x6e])](_0x36402b,_0x4d1c0c),window[_0x39dc00([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d1c0c,0x59d0cc37^_0xda6464);});}}_0x468cd9[_0x39dc00([0x6f,0x6e])](_0x39dc00([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44cbcc,_0x18410b)=>{if(_0x18410b[0x0]!=_0x106467)return _0x264e75(_0x39dc00([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x18410b[0x1]={..._0x18410b[0x1],[_0x39dc00([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x201f44};},{[_0x39dc00([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39dc00([0x68,0x69,0x67,0x68])}),_0x468cd9[_0x39dc00([0x6f,0x6e])](_0x39dc00([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47af0d=>{_0x321a2a(_0x47af0d[_0x39dc00([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x582ac4=!0x0,_0x2a7010(_0x47af0d[_0x39dc00([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39dc00([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39dc00([0x6c,0x6f,0x77])}),_0x3556ee[_0x39dc00([0x74,0x68,0x65,0x6e])](()=>{_0x582ac4||_0x264e75(_0x39dc00([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x459fc6(){return _0x468cd9[_0x39dc00([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39dc00([0x76,0x69,0x65,0x77])][_0x39dc00([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39dc00([0x61,0x75,0x74,0x6f]);}function _0x431d23(){_0x468cd9[_0x39dc00([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39dc00([0x76,0x69,0x65,0x77])][_0x39dc00([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39dc00([0x61,0x75,0x74,0x6f]);}}function _0x352c59(_0x160089){const _0x3a2a75=[new window[(_0x39dc00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a26ff=>setTimeout(_0x3a26ff,0x59d8263b^_0xda6464)),_0x3556ee[_0x39dc00([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39dc00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb94340=>{let _0x28c571=0x0;_0x468cd9[_0x39dc00([0x6d,0x6f,0x64,0x65,0x6c])][_0x39dc00([0x6f,0x6e])](_0x39dc00([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14ecb6,_0x3f248e)=>{_0x3f248e[0x0][_0x39dc00([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28c571++,_0x28c571==(0x59d1190f^_0xda6464)&&(_0xb94340(),_0x14ecb6[_0x39dc00([0x6f,0x66,0x66])]());});}))];return window[_0x39dc00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39dc00([0x72,0x61,0x63,0x65])](_0x3a2a75)[_0x39dc00([0x74,0x68,0x65,0x6e])](()=>_0x160089);}async function _0xf8054e(){await _0x3556ee,_0x468cd9[_0x39dc00([0x6d,0x6f,0x64,0x65,0x6c])][_0x39dc00([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c9798,_0x468cd9[_0x39dc00([0x6d,0x6f,0x64,0x65,0x6c])][_0x39dc00([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c9798,_0x468cd9[_0x39dc00([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39dc00([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c495d(_0x3dc436){const _0x5be09b=_0x3d95c9();_0x468cd9[_0x5be09b]=_0x39dc00([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3dc436,_0x3dc436!=_0x39dc00([0x56,0x61,0x6c,0x69,0x64])&&_0xf8054e();}function _0x3d95c9(){const _0x2135ef=window[_0x39dc00([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39dc00([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39dc00([0x6e,0x6f,0x77])]())[_0x39dc00([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39dc00([0x2e]),'');let _0x36e247=_0x39dc00([0x53]);for(let _0x282766=0x0;_0x282766<_0x2135ef[_0x39dc00([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x282766+=0x2){let _0xdbaf5=window[_0x39dc00([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2135ef[_0x39dc00([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x282766,_0x282766+0x2));_0xdbaf5>=_0x190e45[_0x39dc00([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xdbaf5-=_0x190e45[_0x39dc00([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x36e247+=_0x190e45[_0xdbaf5];}return _0x36e247;}function _0x3783a7(){const _0x575f44=_0x559091[_0x39dc00([0x73,0x70,0x6c,0x69,0x74])](_0x39dc00([0x2e]));if(0x3!=_0x575f44[_0x39dc00([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x47cd32(_0x575f44[0x1]);function _0x47cd32(_0x52f55c){const _0x52c390=_0x23619d(_0x52f55c);return _0x52c390&&_0x18a834()?_0x52c390:null;function _0x18a834(){const _0x4c3eca=_0x52c390[_0x39dc00([0x6a,0x74,0x69])],_0x4e553b=window[_0x39dc00([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c3eca[_0x39dc00([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c3eca[_0x39dc00([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4906a3={..._0x52c390,[_0x39dc00([0x6a,0x74,0x69])]:_0x4c3eca[_0x39dc00([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c3eca[_0x39dc00([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4906a3[_0x39dc00([0x76,0x63])],_0xed7402(_0x4906a3)==_0x4e553b;}}}async function _0x4ce722(){let _0x2385ad=!0x0;try{const _0x3fecdb=_0x559091[_0x39dc00([0x73,0x70,0x6c,0x69,0x74])](_0x39dc00([0x2e])),[_0x9627df,_0x5f82e6,_0x3840fa]=_0x3fecdb;return _0x54e082(_0x9627df),await _0x2fe6fa(_0x9627df,_0x5f82e6,_0x3840fa),_0x2385ad;}catch{return!0x1;}function _0x54e082(_0x5589e9){const _0x163053=_0x23619d(_0x5589e9);_0x163053&&_0x163053[_0x39dc00([0x61,0x6c,0x67])]==_0x39dc00([0x45,0x53,0x32,0x35,0x36])||(_0x2385ad=!0x1);}async function _0x2fe6fa(_0x57c08a,_0x147898,_0x487d25){const _0x1dd27b=window[_0x39dc00([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39dc00([0x66,0x72,0x6f,0x6d])](_0x5bd49b(_0x487d25),_0x593978=>_0x593978[_0x39dc00([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x138459=new window[(_0x39dc00([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39dc00([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57c08a+_0x39dc00([0x2e])+_0x147898),_0x12fb59=window[_0x39dc00([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39dc00([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x12fb59)return;const _0x529a38=await _0x12fb59[_0x39dc00([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39dc00([0x6a,0x77,0x6b]),_0x1c08ce,{[_0x39dc00([0x6e,0x61,0x6d,0x65])]:_0x39dc00([0x45,0x43,0x44,0x53,0x41]),[_0x39dc00([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39dc00([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39dc00([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x12fb59[_0x39dc00([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39dc00([0x6e,0x61,0x6d,0x65])]:_0x39dc00([0x45,0x43,0x44,0x53,0x41]),[_0x39dc00([0x68,0x61,0x73,0x68])]:{[_0x39dc00([0x6e,0x61,0x6d,0x65])]:_0x39dc00([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x529a38,_0x1dd27b,_0x138459)||(_0x2385ad=!0x1);}}function _0x23619d(_0x344e48){return _0x344e48[_0x39dc00([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39dc00([0x65,0x79]))?JSON[_0x39dc00([0x70,0x61,0x72,0x73,0x65])](_0x5bd49b(_0x344e48)):null;}function _0x5bd49b(_0x385184){return window[_0x39dc00([0x61,0x74,0x6f,0x62])](_0x385184[_0x39dc00([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39dc00([0x2b]))[_0x39dc00([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39dc00([0x2f])));}function _0xed7402(_0x341e9b){let _0x31ccd8=0x1505;function _0x7962(_0x4d7af3){for(let _0x2bf8ac=0x0;_0x2bf8ac<_0x4d7af3[_0x39dc00([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bf8ac++){const _0x54146b=_0x4d7af3[_0x39dc00([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2bf8ac);_0x31ccd8=(_0x31ccd8<<0x5)+_0x31ccd8+_0x54146b,_0x31ccd8&=_0x31ccd8;}}function _0x3a3134(_0x3d5c93){Array[_0x39dc00([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d5c93)?_0x3d5c93[_0x39dc00([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a3134):_0x3d5c93&&typeof _0x3d5c93==_0x39dc00([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39dc00([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d5c93)[_0x39dc00([0x73,0x6f,0x72,0x74])]()[_0x39dc00([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29b4b0,_0xfdbe1])=>{_0x7962(_0x29b4b0),_0x3a3134(_0xfdbe1);}):_0x7962(window[_0x39dc00([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d5c93));}return _0x3a3134(_0x341e9b),_0x31ccd8>>>0x0;}function _0x47c469(_0x564046){return _0x564046[_0x39dc00([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39dc00([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39dc00([0x30]));}function _0x4e6f86(_0x4c63f6){return _0x4c63f6[_0x39dc00([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39dc00([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39dc00([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c9798(){}function _0x39dc00(_0xbc3d93){return _0xbc3d93['map'](_0x12ca67=>String['fromCharCode'](_0x12ca67))['join']('');}_0x5c495d(await _0x53ae98());}(this);}['_initSchema'](){const _0x1ec70a=this['editor']['model']['schema'];_0x1ec70a['isRegistered']('imageBlock')&&_0x1ec70a['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1ec70a['isRegistered']('imageInline')&&_0x1ec70a['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x50213b=this['editor'];_0x50213b['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x50213b['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3c769d=>_0x3c769d['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1a8e08=_0x50213b['commands']['get']('replaceImageSource');_0x1a8e08&&this['listenTo'](_0x1a8e08,'cleanupImage',(_0x203015,[_0x1f4674,_0x2155a7])=>{_0x1f4674['removeAttribute']('uploadcareImageId',_0x2155a7);});}['_initConfig'](){const _0x1ef124=this['editor']['config']['get']('uploadcare.uploader')||{},_0x131d72=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2f0913(_0x58c00a['document'],'uc-config',{..._0x1ef124,'pubkey':_0x131d72,'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']=_0x422ae0=>{if('closeMax'==_0x422ae0)return'#uc-icon-arrow-down';},_0x58c00a['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2f0913(_0x58c00a['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x58c00a['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x476425=this['editor']['commands']['get']('insertImage');_0x476425&&this['listenTo'](_0x476425,'execute',()=>{const _0x30e074=this['editor']['model']['document']['selection']['getSelectedElement']();_0x30e074&&_0x30e074['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x30e074);});});const _0x3607af=this['editor']['commands']['get']('uploadcareImageReplace');_0x3607af&&this['listenTo'](_0x3607af,'execute',()=>{const _0x3907fd=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3907fd&&_0x3907fd['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x3907fd);});});}}class u extends _0x235cec{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x226b4b){super(_0x226b4b),_0x226b4b['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x34f4b0['defineComponents'](_0x34f4b0);}}class ta extends _0x3d2ea6{constructor(_0x3bd477){super(_0x3bd477);const t=_0x3bd477['t'],_0xbc9a11=this['bindTemplate'],_0x45f9e5=new _0x2619a0();_0x45f9e5['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':[_0x45f9e5,{'text':_0xbc9a11['to']('imageUploadProgress',_0xdc29f9=>t('Loading\x20image...')+'\x20('+(_0xdc29f9||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 _0x3d2ea6{constructor(_0x4ae59){super(_0x4ae59);const t=_0x4ae59['t'];this['set']('errorType',null);const _0x3385ea=new _0x1b8a4c(_0x4ae59);_0x3385ea['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3385ea['withText']=!0x0,_0x3385ea['class']='ck-button-action',_0x3385ea['on']('execute',()=>{this['fire']('retry');}),_0x3385ea['bind']('isVisible')['to'](this,'errorType',_0x187f6f=>'NotFound'!==_0x187f6f);const _0x4f7bc9=new at();_0x4f7bc9['content']=et,_0x4f7bc9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1241e7=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':[_0x4f7bc9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1241e7['to']('errorType',_0x3145ec=>t('NotFound'!==_0x3145ec?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3385ea]},{'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 _0x3d2ea6{constructor(_0x10ebb9,_0x3a4e08){super(_0x10ebb9);const _0x34162d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3a4e08,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x34162d['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4e245d,_0x3c0eb3,_0x407bd8){super(_0x4e245d),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x4e245d),this['_errorView']=new rt(_0x4e245d),this['_editingView']=new tt(_0x4e245d,_0x407bd8),this['_focusableView']=new _0x3d2ea6(_0x4e245d),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3c0eb3),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'],_0x26b0a7=>{this['_addUploadcareImageEditorListeners'](_0x26b0a7);});}),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'](_0x375c98,_0x580926){const _0x330c4c='uc-cloud-image-editor',_0x5eaa33=_0x375c98['querySelector'](_0x330c4c);if(_0x5eaa33)return _0x580926(_0x5eaa33);const _0x52ec51=new MutationObserver(_0x2b2bae=>{const _0x52904b=_0x2b2bae['filter'](_0x15a926=>_0x15a926['target']===_0x375c98&&_0x15a926['addedNodes']['length']>0x0&&_0x15a926['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x330c4c);_0x52904b['length']&&(_0x52ec51['disconnect'](),_0x580926(_0x52904b[0x0]['addedNodes'][0x0]));});_0x52ec51['observe'](_0x375c98,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x6e3d4a){_0x6e3d4a['addEventListener']('apply',_0x8c883f=>{this['fire']('apply',{'imageSrc':_0x8c883f['detail']['cdnUrl']});}),_0x6e3d4a['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x4155d8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xa0d2b6,_0x2b8d00,_0xcd6588){super(),this['_editor']=_0xa0d2b6,this['_dialog']=_0x2b8d00,this['_imageElement']=_0xcd6588,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 _0x229f62=this['_imageElement'],_0x3b1742=_0x229f62['getAttribute']('uploadcareImageId'),_0x533ffc=_0x229f62['getAttribute']('src');if(_0x3b1742)await this['_loadImageInfo'](_0x3b1742,_0x533ffc);else{if(this['_imageCache']['has'](_0x533ffc)){const _0x107efb=this['_imageCache']['get'](_0x533ffc);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x107efb['url'],this['imageDimension']=_0x107efb['dimension'],this['imageId']=_0x107efb['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x261a8a}=this['_editor'],t=_0x261a8a['t'],_0x342f98=new Z(_0x261a8a,this['imageStatus'],this['_attributes']);_0x342f98['bind']('status')['to'](this,'imageStatus'),_0x342f98['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x342f98['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x342f98['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x342f98,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x51fdd7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x342f98,'position':_0x3818a0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x342f98['focus']();},'onHide':()=>{_0x342f98['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x703ade=>!F(_0x703ade,_0x342f98['element'])}});}['_loadImageInfo'](_0xe6641a,_0x339ff3){return C['getInfo'](_0xe6641a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1c618e=>{const {width:_0x2abae2,height:_0x281f8e}=_0x1c618e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x339ff3,this['imageDimension']={'width':_0x2abae2,'height':_0x281f8e},this['imageId']=_0xe6641a;})['catch'](_0x49d784=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x49d784['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x795ff2,_0x3a05a5){return this['_getImageAsFile'](_0x795ff2)['then'](_0x369b45=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3a05a5['signal'],'file':_0x369b45,'onProgress':_0x406db0=>{_0x406db0&&_0x406db0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x406db0['value']));}}))['then'](_0x392446=>{const {width:_0x1c6962,height:_0x438bf1}=_0x392446['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x392446['cdnUrl'],this['imageDimension']={'width':_0x1c6962,'height':_0x438bf1},this['imageId']=_0x392446['uuid'],this['imageUploadProgress']=null;const _0x77e1b0=_0x795ff2['getAttribute']('src');this['_imageCache']['set'](_0x77e1b0,{'id':_0x392446['uuid'],'url':_0x392446['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x576ba1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x576ba1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x24eb08,_0x3b750d){_0x24eb08['on']('apply',(_0x51255c,_0x33d49c)=>{this['_replaceImage'](_0x3b750d,_0x33d49c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x24eb08['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x24eb08['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x28bfd7,_0x3ba839,_0x6439f9){const _0x4301e5=this['_editor'],{width:_0x345502,height:_0x2a9e24}=A(_0x3ba839,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x44574c,imageSources:_0x289f94}=E(_0x3ba839,_0x345502);_0x4301e5['model']['change'](_0x252c0c=>{if('$graveyard'===_0x28bfd7['root']['rootName']){_0x4301e5['execute']('insertImage',{'imageType':_0x28bfd7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x28bfd7['getAttributes']()),'uploadcareImageId':_0x6439f9,'src':_0x44574c,'sources':_0x289f94,'width':_0x345502,'height':_0x2a9e24}});const _0x19d3eb=_0x28bfd7['getChildren']();_0x28bfd7=_0x4301e5['model']['document']['selection']['getSelectedElement']();for(const _0x12a3d2 of _0x19d3eb)_0x252c0c['append'](_0x252c0c['cloneElement'](_0x12a3d2),_0x28bfd7);}else _0x252c0c['setSelection'](_0x28bfd7,'on'),_0x4301e5['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x28bfd7['getAttributes']()),'uploadcareImageId':_0x6439f9,'src':_0x44574c,'sources':_0x289f94,'width':_0x345502,'height':_0x2a9e24},_0x28bfd7);_0x252c0c['setSelection'](_0x28bfd7,'on');});}async['_getImageAsFile'](_0x314778){const _0x140a21=_0x58c00a['window'],_0x3e3677=_0x58c00a['document']['location']['href'],_0x4ded68=new _0x140a21['URL'](_0x314778['getAttribute']('src'),_0x3e3677);if('data:'===_0x4ded68['protocol']){const _0x434b19=_0x4ded68['href']['split'](','),_0x2448fb=_0x434b19[0x0]['match'](/:(.*?);/)[0x1],_0x2ae3f9=_0x2448fb['split']('/')[0x1],_0x3bd4da=_0x140a21['atob'](_0x434b19[_0x434b19['length']-0x1]);let _0x2e8da9=_0x3bd4da['length'];const _0x3c30a0=new _0x140a21['Uint8Array'](_0x2e8da9);for(;_0x2e8da9--;)_0x3c30a0[_0x2e8da9]=_0x3bd4da['charCodeAt'](_0x2e8da9);return new _0x140a21['File']([_0x3c30a0],'image.'+_0x2ae3f9,{'type':_0x2448fb});}const _0x26e70e=_0x4ded68['href']['split']('/'),_0x40b7bc=_0x26e70e[_0x26e70e['length']-0x1],_0xd01544=_0x40b7bc['split']('.')[0x1];return _0x140a21['fetch'](_0x4ded68['href'])['then'](_0xc57aba=>_0xc57aba['clone']()['blob']())['then'](_0x76d89=>new _0x140a21['File']([_0x76d89],_0x40b7bc,{'type':'image/'+_0xd01544}));}}class J extends _0x3e6fbf{['imageEditController'];static get['requires'](){return[_0x1c972a];}['_isEditable'];constructor(_0x43e832){super(_0x43e832),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4f2ffa){const _0x575181=V(_0x4f2ffa);return _0x2276c6=>!(!_0x2276c6||!_0x2276c6['is']('element','imageBlock')&&!_0x2276c6['is']('element','imageInline'))&&(!!_0x2276c6['hasAttribute']('uploadcareImageId')||!!_0x2276c6['hasAttribute']('src')&&_0x575181(_0x2276c6['getAttribute']('src')));}(_0x43e832['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5e71cf=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5e71cf);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x204c41=this['editor']['model']['document']['selection']['getSelectedElement']();_0x204c41&&(_0x204c41['is']('element','imageBlock')||_0x204c41['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x1c972a),_0x204c41),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x3e6fbf{['refresh'](){const _0x2d646=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2d646&&(_0x2d646['is']('element','imageBlock')||_0x2d646['is']('element','imageInline')));}['execute'](_0x23e8ad){const _0x275265=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x99e31f=>{_0x99e31f['setAttributes'](_0x23e8ad,_0x275265),_0x99e31f['removeAttribute']('srcset',_0x275265),_0x99e31f['removeAttribute']('sizes',_0x275265);});}}class g extends _0x235cec{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x3dcad6,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x147190}=this;_0x147190['commands']['add']('uploadcareImageEdit',new J(_0x147190)),_0x147190['commands']['add']('uploadcareImageReplace',new O(_0x147190));}}class j extends _0x235cec{['_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 _0x1422c0=this['editor'];_0x1422c0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4c5dc7=>{const _0x1f6ae4=_0x1422c0['commands']['get']('uploadcareImageEdit'),_0x18ccf9=new _0x1b8a4c(_0x4c5dc7),t=_0x4c5dc7['t'];return _0x18ccf9['set']({'icon':_0x51fdd7,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x18ccf9['bind']('isEnabled')['to'](_0x1f6ae4),_0x18ccf9['bind']('isOn')['to'](_0x1f6ae4,'isActive'),this['listenTo'](_0x18ccf9,'execute',()=>{_0x1422c0['execute']('uploadcareImageEdit'),_0x1422c0['editing']['view']['focus']();}),_0x18ccf9;}),this['_initConfig']();}['_initConfig'](){const _0x57d1bd=_0x2f0913(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x57d1bd),this['listenTo'](this['editor'],'destroy',()=>{_0x57d1bd['remove']();});}}class P extends _0x235cec{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 _0x1769d3,Command as _0x32bdc0}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x15d74f,IconGooglePhotos as _0x3c6324,IconGoogleDrive as _0x5f3f79,IconFacebook as _0x530464,IconDropbox as _0x2fb32a,IconUploadcareLink as _0x341924,IconUploadcareImageUpload as _0x3e2b1e,IconError as et,IconUploadcareImageEdit as _0x39f740}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x48aa9e,MenuBarMenuListItemButtonView as _0x2a4db3,View as _0x3822f2,FocusCycler as _0x4a255e,Dialog as _0x25b26d,DialogViewPosition as _0x31d511,SpinnerView as _0x283b8a,IconView as at,Notification as _0x51efc6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5d27bd,DomEmitterMixin as _0x336085,global as _0x1578fe,getAncestors as _0xed0a7b,ObservableMixin as _0x30b385,createElement as _0x73f991,uid as _0x239872}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x45d27c}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2da76c,info as _0x13c4e6}from'@uploadcare/upload-client';import*as _0x3d1c38 from'@uploadcare/file-uploader';var o=function(_0x1ac3de){return _0x1ac3de['Local']='local',_0x1ac3de['URL']='url',_0x1ac3de['Dropbox']='dropbox',_0x1ac3de['GDrive']='gdrive',_0x1ac3de['Facebook']='facebook',_0x1ac3de['GPhotos']='gphotos',_0x1ac3de['OneDrive']='onedrive',_0x1ac3de;}({});function _(_0x265726,_0x5284a8,_0x118587){const t=_0x265726['t'],_0x163a19=_0x265726['t'];switch(_0x5284a8){case o['Local']:return{'text':_0x163a19('Insert'===_0x118587?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x163a19('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x118587?_0x163a19('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x163a19('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x118587?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x118587?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x118587?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x118587?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x118587?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5284a8;}}class e extends _0x1769d3{['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 _0x1ff6a3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x557386;for(const _0x39cf40 in _0x1ff6a3){const _0x560932=_0x39cf40,_0x143bcf=_0x1ff6a3[_0x560932];if('uploadcareLicenseKeyValid'==_0x143bcf||'uploadcareLicenseKeyInvalid'==_0x143bcf||'uploadcareLicenseKeyExpired'==_0x143bcf||'uploadcareLicenseKeyDomainLimit'==_0x143bcf||'uploadcareLicenseKeyNotAllowed'==_0x143bcf||'uploadcareLicenseKeyEvaluationLimit'==_0x143bcf||'uploadcareLicenseKeyTrialLimit'==_0x143bcf||'uploadcareLicenseKeyUsageLimit'==_0x143bcf){delete _0x1ff6a3[_0x560932],_0x557386=_0x143bcf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x557386&&_0x1ff6a3['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x557386&&_0x1ff6a3['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x557386&&_0x1ff6a3['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x557386&&_0x1ff6a3['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x557386&&_0x1ff6a3['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x557386&&_0x1ff6a3['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x557386&&_0x1ff6a3['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x13523f}=this,_0x4271d3=_0x13523f['commands']['get']('uploadcare');if(!_0x4271d3)return;const _0xb3560a=this['_normalizeConfigSourceList'](_0x13523f['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x51330b,_0x9c082)=>{const _0xc54408=this['_getIntegrationKey'](_0x9c082['type']);return _0x51330b[_0xc54408]||(_0x51330b[_0xc54408]=[]),_0x51330b[_0xc54408]['push'](_0x9c082),_0x51330b;},{});_0x13523f['plugins']['has']('ImageInsertUI')&&_0x13523f['commands']['get']('uploadcare')&&Object['entries'](_0xb3560a)['forEach'](([_0x1b4236,_0x4d8c26])=>{_0x13523f['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1b4236,'observable':()=>_0x4271d3,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4d8c26),'formViewCreator':()=>this['_createDropdownButtons'](_0x4d8c26),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4d8c26),'override':'assetManager'!==_0x1b4236});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x520b4b){const {locale:_0x385602}=this['editor'];return _0x520b4b['map'](_0x10a988=>{const _0x13cd11=_(_0x385602,_0x10a988,'Insert');switch(_0x10a988){case o['Local']:return{'icon':_0x3e2b1e,'type':o['Local'],..._0x13cd11};case o['URL']:return{'icon':_0x341924,'type':o['URL'],..._0x13cd11};case o['Dropbox']:return{'icon':_0x2fb32a,'type':o['Dropbox'],..._0x13cd11};case o['Facebook']:return{'icon':_0x530464,'type':o['Facebook'],..._0x13cd11};case o['GDrive']:return{'icon':_0x5f3f79,'type':o['GDrive'],..._0x13cd11};case o['GPhotos']:return{'icon':_0x3c6324,'type':o['GPhotos'],..._0x13cd11};case o['OneDrive']:return{'icon':_0x15d74f,'type':o['OneDrive'],..._0x13cd11};}});}['_getIntegrationKey'](_0x54540d){switch(_0x54540d){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1b5488,_0x2e5890){const _0x1a0633=this['editor'],_0x1b7e79=new _0x1b5488(_0x1a0633['locale']),_0x1099b7=_0x1a0633['commands']['get']('uploadcare');return _0x1b7e79['bind']('isEnabled')['to'](_0x1099b7),_0x1b7e79['on']('execute',()=>{_0x1099b7['execute'](_0x2e5890);}),_0x1b7e79;}['_createToolbarButton'](_0x270f70){const {locale:_0x3cd2f8}=this['editor'],_0x3b9152=this['editor']['plugins']['get']('ImageInsertUI'),_0x4a5c0f=_0x270f70[0x0],_0x49a547=this['_createButton'](_0x48aa9e,_0x4a5c0f['type']);return _0x49a547['icon']=_0x4a5c0f['icon'],_0x49a547['bind']('label')['to'](_0x3b9152,'isImageSelected',_0x240fbe=>_(_0x3cd2f8,_0x4a5c0f['type'],_0x240fbe?'Replace':'Insert')['text']),_0x49a547['tooltip']=!0x0,_0x49a547;}['_createDropdownButtons'](_0x370b1c){const {locale:_0x44aa5a}=this['editor'],_0x543862=this['editor']['plugins']['get']('ImageInsertUI');return _0x370b1c['map'](_0x256aa0=>{const _0x54e746=this['_createButton'](_0x48aa9e,_0x256aa0['type']);return _0x54e746['withText']=!0x0,_0x54e746['icon']=_0x256aa0['icon'],_0x54e746['bind']('label')['to'](_0x543862,'isImageSelected',_0x5b0948=>_(_0x44aa5a,_0x256aa0['type'],_0x5b0948?'Replace':'Insert')['text']),_0x54e746;});}['_createMenuBarButtons'](_0x38accf){return _0x38accf['map'](_0x57355e=>{const _0x2f5c29=this['_createButton'](_0x2a4db3,_0x57355e['type']);return _0x2f5c29['icon']=_0x57355e['icon'],_0x2f5c29['label']=_0x57355e['shortText'],_0x2f5c29;});}}class q extends _0x3822f2{['focusTracker'];['focusCycler'];constructor(_0x59e92a){super(_0x59e92a),this['focusTracker']=new _0x5d27bd(),this['focusCycler']=new _0x4a255e({'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(_0x1572e4){super(_0x1572e4),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(_0x4d38cd,_0x4fee72){const _0x18667e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5eace8=>_0x5eace8<=_0x4fee72)['map'](_0x31ad39=>_0x4d38cd['replace'](/\/$/,'')+'/-/resize/'+_0x31ad39+'x/\x20'+_0x31ad39+'w');return{'imageFallbackUrl':_0x4d38cd,'imageSources':[{'srcset':_0x18667e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4fee72+'px)\x20100vw,\x20'+_0x4fee72+'px','type':'image/webp'}]};}function A(_0x9e2adf,_0x180da1,_0x3a2167){const _0x48149e=_0x9e2adf['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x48149e?parseInt(_0x48149e[0x1],0xa):_0x180da1,'height':_0x48149e?parseInt(_0x48149e[0x2],0xa):_0x3a2167};}function m(_0x27da39,_0x210765){const _0x361f19=Object['create'](_0x336085),_0x2be007=_0x27da39['plugins']['get']('ImageUtils'),_0x13eacf=_0x27da39['editing']['mapper']['toViewElement'](_0x210765),_0x2b4e5f=_0x2be007['findViewImgElement'](_0x13eacf),_0x2cc944=_0x27da39['editing']['view']['domConverter']['viewToDom'](_0x2b4e5f),_0x1dea2c=_0x210765['getAttribute']('width'),_0x538c96=_0x210765['getAttribute']('height'),_0x51b425='image-processing';_0x27da39['editing']['view']['change'](_0x247518=>{_0x247518['addClass'](_0x51b425,_0x13eacf),_0x247518['setStyle']('aspect-ratio',_0x1dea2c+'/'+_0x538c96,_0x2b4e5f);}),_0x361f19['listenTo'](_0x2cc944,'load',()=>{_0x361f19['stopListening'](_0x2cc944,'load'),_0x27da39['editing']['view']['change'](_0x660669=>{_0x660669['removeClass'](_0x51b425,_0x13eacf),_0x660669['removeStyle']('aspect-ratio',_0x2b4e5f);});});}function V(_0x547791){if(Array['isArray'](_0x547791)){const _0x6974ce=_0x547791['map'](V);return _0x1af3dd=>_0x6974ce['some'](_0x484d0e=>_0x484d0e(_0x1af3dd));}if('origin'==_0x547791){const _0x39fdf4=_0x1578fe['window']['location']['origin'];return _0x3927d6=>new URL(_0x3927d6,_0x1578fe['document']['baseURI'])['origin']==_0x39fdf4;}return'function'==typeof _0x547791?_0x547791:_0x547791 instanceof RegExp?_0xc82887=>!(!_0xc82887['match'](_0x547791)&&!_0xc82887['replace'](/^https?:\/\//,'')['match'](_0x547791)):()=>!0x1;}function F(_0x5a2d46,_0x4c0eca){return _0xed0a7b(_0x5a2d46['target'])['includes'](_0x4c0eca);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x30b385(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5bab31,_0x48d20c,_0x5cbb3a){super(),this['_editor']=_0x5bab31,this['_editing']=_0x48d20c,this['_dialog']=_0x5bab31['plugins']['get'](_0x25b26d),this['_api']=_0x48d20c['ctxElement']['getAPI'](),this['_type']=_0x5cbb3a,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:_0x2b9a47,model:_0x4b7e49}=this['_editor'],_0x110fad=_0x4b7e49['document']['selection']['getSelectedElement'](),_0xdd0907=_0x110fad&&(_0x110fad['is']('element','imageBlock')||_0x110fad['is']('element','imageInline'));this['_formView']=new S(_0x2b9a47),this['_dialog']['show']({'id':'uploadCare','icon':_0x3e2b1e,'title':_(_0x2b9a47,this['_type'],_0xdd0907?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x31d511['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x219278=>!F(_0x219278,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1229d8}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x10c998=>{const _0x9f789e=_0x1229d8['length'];for(const _0x1de4d3 of _0x1229d8){const _0x224c91=_0x1de4d3===_0x1229d8[_0x9f789e-0x1],{cdnUrl:_0x2eaa95,fileInfo:_0x5ee165}=_0x1de4d3;if(!_0x2eaa95||!_0x5ee165)continue;const {width:_0x45b1a5,height:_0x392ba5}=_0x5ee165['imageInfo'],_0x25d7dd=A(_0x2eaa95,_0x45b1a5,_0x392ba5),_0x30098d=E(_0x2eaa95,_0x25d7dd['width']),_0x34c109={'id':_0x5ee165['uuid'],'type':'image','attributes':{'imageDimension':_0x25d7dd,..._0x30098d}};this['_insertAsset'](_0x34c109,_0x224c91,_0x10c998);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x53318d=>{'idle'===_0x53318d['detail']['status']&&!_0x53318d['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x14ce94,_0x1519c6,_0x5e76fd){const _0x16b8ff=this['_editor']['model']['document']['selection'],_0x38bac9=_0x16b8ff['getSelectedElement'](),_0x4982a8=!(!_0x38bac9||!_0x38bac9['is']('element','imageInline'));_0x5e76fd['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x14ce94,_0x4982a8),_0x1519c6||_0x5e76fd['setSelection'](_0x16b8ff['getLastPosition']());}['_insertImage'](_0x504fc5,_0x21fc72){const _0x41e182=this['_editor'],{imageDimension:_0x275c4a,imageFallbackUrl:_0x4df8dc,imageSources:_0x2ff6fb}=_0x504fc5['attributes'];_0x41e182['execute']('insertImage',{'imageType':_0x21fc72?'imageInline':null,'source':{'uploadcareImageId':_0x504fc5['id'],'src':_0x4df8dc,'sources':_0x2ff6fb,..._0x275c4a}});}}class n extends _0x32bdc0{['_editing'];['_controller']=null;static get['requires'](){return[_0x25b26d,i];}constructor(_0x15e637){super(_0x15e637),this['_editing']=_0x15e637['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x574bd1){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x574bd1);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x255af0,publicKey:_0x244648,signal:_0x523e40,onProgress:_0x24594d}){return _0x2da76c(_0x255af0,{'publicKey':_0x244648,'store':'auto','signal':_0x523e40,'onProgress':_0x24594d});}static['getInfo'](_0x2bd40d,_0x1e0dca){return _0x13c4e6(_0x2bd40d,_0x1e0dca);}}class p extends _0x1769d3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x45d27c,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xa331b4=this['editor'];if(!!!_0xa331b4['config']['get']('uploadcare'))return;_0xa331b4['plugins']['get'](_0x45d27c)['createUploadAdapter']=_0x1fc847=>new x(_0x1fc847,_0xa331b4),_0xa331b4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x28d83a,{imageElement:_0x3357cf,data:_0x5ad849})=>{_0xa331b4['model']['change'](_0x3a6c8e=>{_0x3a6c8e['setAttribute']('uploadcareImageId',_0x5ad849['uploadcareImageId'],_0x3357cf);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x235e6f,_0xef5802){this['loader']=_0x235e6f,this['editor']=_0xef5802,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x14ce88=this['editor']['config']['get']('uploadcare.pubkey'),_0x2be70f=await this['loader']['file'];return C['upload']({'file':_0x2be70f,'publicKey':_0x14ce88,'signal':this['controller']['signal'],'onProgress':_0x422b16=>{_0x422b16&&_0x422b16['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x422b16['value']);}})['then'](async _0x16d406=>{const {imageFallbackUrl:_0x40538,imageSources:_0x4c8685}=E(_0x16d406['cdnUrl'],_0x16d406['imageInfo']['width']);return{'uploadcareImageId':_0x16d406['uuid'],'default':_0x40538,'sources':_0x4c8685};})['catch'](()=>{const _0x195477=t('Cannot\x20upload\x20file:')+('\x20'+_0x2be70f['name']+'.');return Promise['reject'](_0x195477);});}['abort'](){this['controller']['abort']();}}class i extends _0x1769d3{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x25b26d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x4a4d35=this['editor'];_0x4a4d35['commands']['add']('uploadcare',new n(_0x4a4d35));}['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 _0x198a9e=_0x1578fe['document']['querySelector']('input[uploadcare-file-input]');_0x198a9e&&_0x198a9e['remove']();}),async function(_0x2f1055){const _0x1101f0=_0x1f1d73([0x66,0x33,0x71,0x67,0x68,0x61,0x36,0x4c,0x49,0x6b,0x37,0x4e,0x78,0x44,0x70,0x6a,0x55,0x73,0x30,0x77,0x6d,0x75,0x64,0x6f,0x31,0x4f,0x32,0x57,0x79,0x6e,0x6c,0x45,0x56,0x42,0x34,0x4d,0x53,0x4a,0x47,0x7a,0x72,0x59,0x69,0x58,0x5a,0x65,0x38,0x4b,0x48,0x50,0x62,0x52,0x46,0x63,0x39,0x76,0x35,0x51,0x74,0x54,0x41,0x43]),_0x208360=0x6eda3144,_0x2a0639=0x6edd5aec^_0x208360,_0x4b552d=window[_0x1f1d73([0x44,0x61,0x74,0x65])][_0x1f1d73([0x6e,0x6f,0x77])](),_0x4d9d90=_0x2f1055[_0x1f1d73([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x417950=new window[(_0x1f1d73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46260a=>{_0x4d9d90[_0x1f1d73([0x6f,0x6e,0x63,0x65])](_0x1f1d73([0x72,0x65,0x61,0x64,0x79]),_0x46260a);}),_0x471b7a={[_0x1f1d73([0x6b,0x74,0x79])]:_0x1f1d73([0x45,0x43]),[_0x1f1d73([0x75,0x73,0x65])]:_0x1f1d73([0x73,0x69,0x67]),[_0x1f1d73([0x63,0x72,0x76])]:_0x1f1d73([0x50,0x2d,0x32,0x35,0x36]),[_0x1f1d73([0x78])]:_0x1f1d73([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]),[_0x1f1d73([0x79])]:_0x1f1d73([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]),[_0x1f1d73([0x61,0x6c,0x67])]:_0x1f1d73([0x45,0x53,0x32,0x35,0x36])},_0x4cb984=_0x4d9d90[_0x1f1d73([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f1d73([0x67,0x65,0x74])](_0x1f1d73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x409005(){let _0x2b644e,_0x19592f=null,_0xf29d52=null;try{if(_0x4cb984==_0x1f1d73([0x47,0x50,0x4c]))return _0x1f1d73([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b644e=_0x306642(),!_0x2b644e)return _0x1f1d73([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b644e[_0x1f1d73([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf29d52=_0x2f8ff2(_0x2b644e[_0x1f1d73([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b644e[_0x1f1d73([0x6a,0x74,0x69])])),await _0x5aa246()?_0x279864()?_0x385a06()?_0x1f1d73([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x185b7c()?(_0x2b644e[_0x1f1d73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f1d73([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x19592f=_0x267e44(_0x1f1d73([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2b644e[_0x1f1d73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f1d73([0x74,0x72,0x69,0x61,0x6c])&&(_0x19592f=_0x267e44(_0x1f1d73([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x54ded1()):_0x1f1d73([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f1d73([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f1d73([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f1d73([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x385a06(){const _0x39032f=[_0x1f1d73([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f1d73([0x74,0x72,0x69,0x61,0x6c])][_0x1f1d73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b644e[_0x1f1d73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4b552d/0x3e8:0xe10*_0x2a0639;return _0x2b644e[_0x1f1d73([0x65,0x78,0x70])]<_0x39032f;}function _0x279864(){const _0x386de6=_0x2b644e[_0x1f1d73([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x386de6&&(!!_0x386de6[_0x1f1d73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1d73([0x2a]))||!!_0x386de6[_0x1f1d73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1d73([0x55,0x50,0x4c,0x43])));}function _0x185b7c(){const _0x5ccef9=_0x2b644e[_0x1f1d73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ccef9||0x0==_0x5ccef9[_0x1f1d73([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2ed5c7}=new URL(window[_0x1f1d73([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5ccef9[_0x1f1d73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ed5c7))return!0x0;const _0x572bbf=_0x2ed5c7[_0x1f1d73([0x73,0x70,0x6c,0x69,0x74])](_0x1f1d73([0x2e]));return _0x5ccef9[_0x1f1d73([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b32a2=>_0x1b32a2[_0x1f1d73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1d73([0x2a])))[_0x1f1d73([0x6d,0x61,0x70])](_0x394d7f=>_0x394d7f[_0x1f1d73([0x73,0x70,0x6c,0x69,0x74])](_0x1f1d73([0x2e])))[_0x1f1d73([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c3d1a=>_0x1c3d1a[_0x1f1d73([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x572bbf[_0x1f1d73([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f1d73([0x6d,0x61,0x70])](_0xa7301=>Array(_0x572bbf[_0x1f1d73([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xa7301[_0x1f1d73([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f1d73([0x66,0x69,0x6c,0x6c])](_0xa7301[0x0]===_0x1f1d73([0x2a])?_0x1f1d73([0x2a]):'')[_0x1f1d73([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xa7301))[_0x1f1d73([0x73,0x6f,0x6d,0x65])](_0x5afb06=>_0x572bbf[_0x1f1d73([0x65,0x76,0x65,0x72,0x79])]((_0xa51432,_0x4cfa82)=>_0x5afb06[_0x4cfa82]===_0xa51432||_0x5afb06[_0x4cfa82]===_0x1f1d73([0x2a])));}function _0x54ded1(){return _0x19592f&&_0xf29d52?new window[(_0x1f1d73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c7b8d,_0x2b9aa6)=>{_0x19592f[_0x1f1d73([0x74,0x68,0x65,0x6e])](_0x2c7b8d,_0x2b9aa6),_0xf29d52[_0x1f1d73([0x74,0x68,0x65,0x6e])](_0x1ed829=>{_0x1ed829!=_0x1f1d73([0x56,0x61,0x6c,0x69,0x64])&&_0x2c7b8d(_0x1ed829);},_0x2b9aa6);}):_0x19592f||_0xf29d52||_0x1f1d73([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f8ff2(_0x3448ef,_0x25b9ce){return new window[(_0x1f1d73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5889ee=>{if(_0x5aae6f())return _0x5889ee(_0x1f1d73([0x56,0x61,0x6c,0x69,0x64]));_0x4b596a(),_0x4d9d90[_0x1f1d73([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f1d73([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x599077=!0x1;const _0x3b3c8b=_0x239872();function _0x18e96e(_0x2f22fa){return!!_0x2f22fa&&(typeof _0x2f22fa===_0x1f1d73([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2f22fa===_0x1f1d73([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2f22fa[_0x1f1d73([0x74,0x68,0x65,0x6e])]===_0x1f1d73([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2f22fa[_0x1f1d73([0x63,0x61,0x74,0x63,0x68])]===_0x1f1d73([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12fa73(_0x59ffd6){_0x4d9ec3(_0x59ffd6)[_0x1f1d73([0x74,0x68,0x65,0x6e])](_0x3157fe=>{if(!_0x3157fe||_0x3157fe[_0x1f1d73([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f1d73([0x6f,0x6b]))return _0x1f1d73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x12c462(_0x8b7d7b(_0x3b3c8b+_0x25b9ce))!=_0x3157fe[_0x1f1d73([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f1d73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f1d73([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f1d73([0x74,0x68,0x65,0x6e])](_0x3287cf=>(_0x471577(),_0x3287cf),()=>{const _0x3d7c05=_0xd0b090();return null==_0x3d7c05?(_0x471577(),_0x1f1d73([0x56,0x61,0x6c,0x69,0x64])):_0x1f1d73(_0x4b552d-_0x3d7c05>(0x4ad6b544^_0x208360)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f1d73([0x74,0x68,0x65,0x6e])](_0x5889ee)[_0x1f1d73([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5889ee(_0x1f1d73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x110808=0x6eecdfc4^_0x208360;function _0x471577(){const _0x5778d0=_0x1f1d73([0x6c,0x6c,0x63,0x74,0x2d])+_0x12c462(_0x8b7d7b(_0x3448ef)),_0x1e61dd=_0x39e52e(_0x12c462(window[_0x1f1d73([0x4d,0x61,0x74,0x68])][_0x1f1d73([0x63,0x65,0x69,0x6c])](_0x4b552d/_0x110808)));window[_0x1f1d73([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f1d73([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5778d0,_0x1e61dd);}function _0xd0b090(){const _0x995d6b=_0x1f1d73([0x6c,0x6c,0x63,0x74,0x2d])+_0x12c462(_0x8b7d7b(_0x3448ef)),_0x39f761=window[_0x1f1d73([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f1d73([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x995d6b);return _0x39f761?window[_0x1f1d73([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39e52e(_0x39f761),0x10)*_0x110808:null;}function _0x4d9ec3(_0x47e34a){return new window[(_0x1f1d73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40bf1e,_0x516c6e)=>{_0x47e34a[_0x1f1d73([0x74,0x68,0x65,0x6e])](_0x40bf1e,_0x516c6e),window[_0x1f1d73([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x516c6e,0x6edbe584^_0x208360);});}}_0x4d9d90[_0x1f1d73([0x6f,0x6e])](_0x1f1d73([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x306bd8,_0x14324a)=>{if(_0x14324a[0x0]!=_0x3448ef)return _0x5889ee(_0x1f1d73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14324a[0x1]={..._0x14324a[0x1],[_0x1f1d73([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b3c8b};},{[_0x1f1d73([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f1d73([0x68,0x69,0x67,0x68])}),_0x4d9d90[_0x1f1d73([0x6f,0x6e])](_0x1f1d73([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1be1e3=>{_0x18e96e(_0x1be1e3[_0x1f1d73([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x599077=!0x0,_0x12fa73(_0x1be1e3[_0x1f1d73([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f1d73([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f1d73([0x6c,0x6f,0x77])}),_0x417950[_0x1f1d73([0x74,0x68,0x65,0x6e])](()=>{_0x599077||_0x5889ee(_0x1f1d73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5aae6f(){return _0x4d9d90[_0x1f1d73([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f1d73([0x76,0x69,0x65,0x77])][_0x1f1d73([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f1d73([0x61,0x75,0x74,0x6f]);}function _0x4b596a(){_0x4d9d90[_0x1f1d73([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f1d73([0x76,0x69,0x65,0x77])][_0x1f1d73([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f1d73([0x61,0x75,0x74,0x6f]);}}function _0x267e44(_0x831f2c){const _0x371696=[new window[(_0x1f1d73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e6a50=>setTimeout(_0x5e6a50,0x6ed30f88^_0x208360)),_0x417950[_0x1f1d73([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f1d73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cb4f6=>{let _0x43feec=0x0;_0x4d9d90[_0x1f1d73([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f1d73([0x6f,0x6e])](_0x1f1d73([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a2308,_0x31bf76)=>{_0x31bf76[0x0][_0x1f1d73([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43feec++,_0x43feec==(0x6eda30bc^_0x208360)&&(_0x2cb4f6(),_0x1a2308[_0x1f1d73([0x6f,0x66,0x66])]());});}))];return window[_0x1f1d73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f1d73([0x72,0x61,0x63,0x65])](_0x371696)[_0x1f1d73([0x74,0x68,0x65,0x6e])](()=>_0x831f2c);}async function _0x31015a(){await _0x417950,_0x4d9d90[_0x1f1d73([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f1d73([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43b0c4,_0x4d9d90[_0x1f1d73([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f1d73([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43b0c4,_0x4d9d90[_0x1f1d73([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f1d73([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e496d(_0x2adaca){const _0x2f401d=_0x290e9d();_0x4d9d90[_0x2f401d]=_0x1f1d73([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2adaca,_0x2adaca!=_0x1f1d73([0x56,0x61,0x6c,0x69,0x64])&&_0x31015a();}function _0x290e9d(){const _0x6ab2ae=window[_0x1f1d73([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f1d73([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f1d73([0x6e,0x6f,0x77])]())[_0x1f1d73([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f1d73([0x2e]),'');let _0x2b8636=_0x1f1d73([0x66]);for(let _0x4021f5=0x0;_0x4021f5<_0x6ab2ae[_0x1f1d73([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4021f5+=0x2){let _0x463807=window[_0x1f1d73([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6ab2ae[_0x1f1d73([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4021f5,_0x4021f5+0x2));_0x463807>=_0x1101f0[_0x1f1d73([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x463807-=_0x1101f0[_0x1f1d73([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b8636+=_0x1101f0[_0x463807];}return _0x2b8636;}function _0x306642(){const _0x31d7e2=_0x4cb984[_0x1f1d73([0x73,0x70,0x6c,0x69,0x74])](_0x1f1d73([0x2e]));if(0x3!=_0x31d7e2[_0x1f1d73([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x153309(_0x31d7e2[0x1]);function _0x153309(_0x50f20c){const _0x93ff6=_0x3ee3ed(_0x50f20c);return _0x93ff6&&_0x473a8f()?_0x93ff6:null;function _0x473a8f(){const _0x4021ff=_0x93ff6[_0x1f1d73([0x6a,0x74,0x69])],_0x398a02=window[_0x1f1d73([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4021ff[_0x1f1d73([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4021ff[_0x1f1d73([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x258c82={..._0x93ff6,[_0x1f1d73([0x6a,0x74,0x69])]:_0x4021ff[_0x1f1d73([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4021ff[_0x1f1d73([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x258c82[_0x1f1d73([0x76,0x63])],_0x8b7d7b(_0x258c82)==_0x398a02;}}}async function _0x5aa246(){let _0x27852b=!0x0;try{const _0x215cd3=_0x4cb984[_0x1f1d73([0x73,0x70,0x6c,0x69,0x74])](_0x1f1d73([0x2e])),[_0x1ce320,_0x20b630,_0x160c5c]=_0x215cd3;return _0x1b34e7(_0x1ce320),await _0x3194e5(_0x1ce320,_0x20b630,_0x160c5c),_0x27852b;}catch{return!0x1;}function _0x1b34e7(_0x225edb){const _0x4bb66f=_0x3ee3ed(_0x225edb);_0x4bb66f&&_0x4bb66f[_0x1f1d73([0x61,0x6c,0x67])]==_0x1f1d73([0x45,0x53,0x32,0x35,0x36])||(_0x27852b=!0x1);}async function _0x3194e5(_0x40af0c,_0x3c9e83,_0x372adc){const _0x20f5f8=window[_0x1f1d73([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f1d73([0x66,0x72,0x6f,0x6d])](_0x381091(_0x372adc),_0x29a671=>_0x29a671[_0x1f1d73([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x407c0b=new window[(_0x1f1d73([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f1d73([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40af0c+_0x1f1d73([0x2e])+_0x3c9e83),_0x38c94e=window[_0x1f1d73([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f1d73([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x38c94e)return;const _0x46bddd=await _0x38c94e[_0x1f1d73([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f1d73([0x6a,0x77,0x6b]),_0x471b7a,{[_0x1f1d73([0x6e,0x61,0x6d,0x65])]:_0x1f1d73([0x45,0x43,0x44,0x53,0x41]),[_0x1f1d73([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f1d73([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f1d73([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x38c94e[_0x1f1d73([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f1d73([0x6e,0x61,0x6d,0x65])]:_0x1f1d73([0x45,0x43,0x44,0x53,0x41]),[_0x1f1d73([0x68,0x61,0x73,0x68])]:{[_0x1f1d73([0x6e,0x61,0x6d,0x65])]:_0x1f1d73([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46bddd,_0x20f5f8,_0x407c0b)||(_0x27852b=!0x1);}}function _0x3ee3ed(_0x5a1266){return _0x5a1266[_0x1f1d73([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f1d73([0x65,0x79]))?JSON[_0x1f1d73([0x70,0x61,0x72,0x73,0x65])](_0x381091(_0x5a1266)):null;}function _0x381091(_0x1949a9){return window[_0x1f1d73([0x61,0x74,0x6f,0x62])](_0x1949a9[_0x1f1d73([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f1d73([0x2b]))[_0x1f1d73([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f1d73([0x2f])));}function _0x8b7d7b(_0x3e5d9e){let _0x2beca8=0x1505;function _0x30425b(_0x502679){for(let _0x4ca35d=0x0;_0x4ca35d<_0x502679[_0x1f1d73([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ca35d++){const _0x446086=_0x502679[_0x1f1d73([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ca35d);_0x2beca8=(_0x2beca8<<0x5)+_0x2beca8+_0x446086,_0x2beca8&=_0x2beca8;}}function _0xecebc2(_0x10ed00){Array[_0x1f1d73([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10ed00)?_0x10ed00[_0x1f1d73([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xecebc2):_0x10ed00&&typeof _0x10ed00==_0x1f1d73([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f1d73([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10ed00)[_0x1f1d73([0x73,0x6f,0x72,0x74])]()[_0x1f1d73([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x12e6e9,_0x2cd03d])=>{_0x30425b(_0x12e6e9),_0xecebc2(_0x2cd03d);}):_0x30425b(window[_0x1f1d73([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10ed00));}return _0xecebc2(_0x3e5d9e),_0x2beca8>>>0x0;}function _0x12c462(_0x49c185){return _0x49c185[_0x1f1d73([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f1d73([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f1d73([0x30]));}function _0x39e52e(_0x3933f5){return _0x3933f5[_0x1f1d73([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f1d73([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f1d73([0x6a,0x6f,0x69,0x6e])]('');}function _0x43b0c4(){}function _0x1f1d73(_0xce9b8a){return _0xce9b8a['map'](_0x3b9709=>String['fromCharCode'](_0x3b9709))['join']('');}_0x3e496d(await _0x409005());}(this);}['_initSchema'](){const _0x1df03b=this['editor']['model']['schema'];_0x1df03b['isRegistered']('imageBlock')&&_0x1df03b['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1df03b['isRegistered']('imageInline')&&_0x1df03b['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x21ce42=this['editor'];_0x21ce42['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x21ce42['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x56b515=>_0x56b515['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3b3e26=_0x21ce42['commands']['get']('replaceImageSource');_0x3b3e26&&this['listenTo'](_0x3b3e26,'cleanupImage',(_0x5517d3,[_0x132b4a,_0x2337ab])=>{_0x132b4a['removeAttribute']('uploadcareImageId',_0x2337ab);});}['_initConfig'](){const _0x30dc49=this['editor']['config']['get']('uploadcare.uploader')||{},_0x352aff=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x73f991(_0x1578fe['document'],'uc-config',{..._0x30dc49,'pubkey':_0x352aff,'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']=_0xd1f17a=>{if('closeMax'==_0xd1f17a)return'#uc-icon-arrow-down';},_0x1578fe['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x73f991(_0x1578fe['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x1578fe['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x20c226=this['editor']['commands']['get']('insertImage');_0x20c226&&this['listenTo'](_0x20c226,'execute',()=>{const _0x4a4ee3=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4a4ee3&&_0x4a4ee3['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x4a4ee3);});});const _0x46ade2=this['editor']['commands']['get']('uploadcareImageReplace');_0x46ade2&&this['listenTo'](_0x46ade2,'execute',()=>{const _0x2aeedf=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2aeedf&&_0x2aeedf['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2aeedf);});});}}class u extends _0x1769d3{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x221bac){super(_0x221bac),_0x221bac['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x3d1c38['defineComponents'](_0x3d1c38);}}class ta extends _0x3822f2{constructor(_0x3f41ae){super(_0x3f41ae);const t=_0x3f41ae['t'],_0x273a00=this['bindTemplate'],_0x31e633=new _0x283b8a();_0x31e633['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':[_0x31e633,{'text':_0x273a00['to']('imageUploadProgress',_0x40102f=>t('Loading\x20image...')+'\x20('+(_0x40102f||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 _0x3822f2{constructor(_0x2a8448){super(_0x2a8448);const t=_0x2a8448['t'];this['set']('errorType',null);const _0x10f2f6=new _0x48aa9e(_0x2a8448);_0x10f2f6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x10f2f6['withText']=!0x0,_0x10f2f6['class']='ck-button-action',_0x10f2f6['on']('execute',()=>{this['fire']('retry');}),_0x10f2f6['bind']('isVisible')['to'](this,'errorType',_0x44543c=>'NotFound'!==_0x44543c);const _0x1425e6=new at();_0x1425e6['content']=et,_0x1425e6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x29b258=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':[_0x1425e6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x29b258['to']('errorType',_0x5ca483=>t('NotFound'!==_0x5ca483?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x10f2f6]},{'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 _0x3822f2{constructor(_0x8cceb5,_0x59876c){super(_0x8cceb5);const _0x71e14d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x59876c,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x71e14d['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x121100,_0x220b08,_0x1467cc){super(_0x121100),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x121100),this['_errorView']=new rt(_0x121100),this['_editingView']=new tt(_0x121100,_0x1467cc),this['_focusableView']=new _0x3822f2(_0x121100),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x220b08),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'],_0x389178=>{this['_addUploadcareImageEditorListeners'](_0x389178);});}),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'](_0x37c6b9,_0x5f558a){const _0x17faaf='uc-cloud-image-editor',_0x635749=_0x37c6b9['querySelector'](_0x17faaf);if(_0x635749)return _0x5f558a(_0x635749);const _0x49e012=new MutationObserver(_0x275593=>{const _0x2df4bc=_0x275593['filter'](_0x469169=>_0x469169['target']===_0x37c6b9&&_0x469169['addedNodes']['length']>0x0&&_0x469169['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x17faaf);_0x2df4bc['length']&&(_0x49e012['disconnect'](),_0x5f558a(_0x2df4bc[0x0]['addedNodes'][0x0]));});_0x49e012['observe'](_0x37c6b9,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2c61fa){_0x2c61fa['addEventListener']('apply',_0x5d1ea1=>{this['fire']('apply',{'imageSrc':_0x5d1ea1['detail']['cdnUrl']});}),_0x2c61fa['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x30b385(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x6123b8,_0x1aa1b9,_0x6eb547){super(),this['_editor']=_0x6123b8,this['_dialog']=_0x1aa1b9,this['_imageElement']=_0x6eb547,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 _0xbba68f=this['_imageElement'],_0x11c726=_0xbba68f['getAttribute']('uploadcareImageId'),_0x1405f3=_0xbba68f['getAttribute']('src');if(_0x11c726)await this['_loadImageInfo'](_0x11c726,_0x1405f3);else{if(this['_imageCache']['has'](_0x1405f3)){const _0x27b4e3=this['_imageCache']['get'](_0x1405f3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x27b4e3['url'],this['imageDimension']=_0x27b4e3['dimension'],this['imageId']=_0x27b4e3['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5b2268}=this['_editor'],t=_0x5b2268['t'],_0x1d9e2b=new Z(_0x5b2268,this['imageStatus'],this['_attributes']);_0x1d9e2b['bind']('status')['to'](this,'imageStatus'),_0x1d9e2b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1d9e2b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1d9e2b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1d9e2b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x39f740,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1d9e2b,'position':_0x31d511['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1d9e2b['focus']();},'onHide':()=>{_0x1d9e2b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x210e84=>!F(_0x210e84,_0x1d9e2b['element'])}});}['_loadImageInfo'](_0x158a80,_0x3d8561){return C['getInfo'](_0x158a80,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x11d151=>{const {width:_0x528685,height:_0x54bae9}=_0x11d151['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d8561,this['imageDimension']={'width':_0x528685,'height':_0x54bae9},this['imageId']=_0x158a80;})['catch'](_0x22802b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x22802b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5d4704,_0xfa2c46){return this['_getImageAsFile'](_0x5d4704)['then'](_0x60957c=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xfa2c46['signal'],'file':_0x60957c,'onProgress':_0x5ec83b=>{_0x5ec83b&&_0x5ec83b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5ec83b['value']));}}))['then'](_0x4d9d5b=>{const {width:_0x3d3a64,height:_0x333020}=_0x4d9d5b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4d9d5b['cdnUrl'],this['imageDimension']={'width':_0x3d3a64,'height':_0x333020},this['imageId']=_0x4d9d5b['uuid'],this['imageUploadProgress']=null;const _0x427c28=_0x5d4704['getAttribute']('src');this['_imageCache']['set'](_0x427c28,{'id':_0x4d9d5b['uuid'],'url':_0x4d9d5b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x35e2e8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x35e2e8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4d4362,_0x3c2364){_0x4d4362['on']('apply',(_0x44656b,_0x55b6e4)=>{this['_replaceImage'](_0x3c2364,_0x55b6e4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4d4362['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4d4362['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3cd24f,_0x2baefd,_0x1ff7b0){const _0x80ccf3=this['_editor'],{width:_0x5e0e29,height:_0x54ea93}=A(_0x2baefd,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x8dcdee,imageSources:_0x53bbb0}=E(_0x2baefd,_0x5e0e29);_0x80ccf3['model']['change'](_0x595323=>{if('$graveyard'===_0x3cd24f['root']['rootName']){_0x80ccf3['execute']('insertImage',{'imageType':_0x3cd24f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3cd24f['getAttributes']()),'uploadcareImageId':_0x1ff7b0,'src':_0x8dcdee,'sources':_0x53bbb0,'width':_0x5e0e29,'height':_0x54ea93}});const _0x21cf53=_0x3cd24f['getChildren']();_0x3cd24f=_0x80ccf3['model']['document']['selection']['getSelectedElement']();for(const _0x374a89 of _0x21cf53)_0x595323['append'](_0x595323['cloneElement'](_0x374a89),_0x3cd24f);}else _0x595323['setSelection'](_0x3cd24f,'on'),_0x80ccf3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3cd24f['getAttributes']()),'uploadcareImageId':_0x1ff7b0,'src':_0x8dcdee,'sources':_0x53bbb0,'width':_0x5e0e29,'height':_0x54ea93},_0x3cd24f);_0x595323['setSelection'](_0x3cd24f,'on');});}async['_getImageAsFile'](_0x422c62){const _0x373185=_0x1578fe['window'],_0x1f5eff=_0x1578fe['document']['location']['href'],_0x51ca75=new _0x373185['URL'](_0x422c62['getAttribute']('src'),_0x1f5eff);if('data:'===_0x51ca75['protocol']){const _0x2cd2d3=_0x51ca75['href']['split'](','),_0x542fb5=_0x2cd2d3[0x0]['match'](/:(.*?);/)[0x1],_0x39e4ba=_0x542fb5['split']('/')[0x1],_0xa66c76=_0x373185['atob'](_0x2cd2d3[_0x2cd2d3['length']-0x1]);let _0x3b4d8b=_0xa66c76['length'];const _0x35da19=new _0x373185['Uint8Array'](_0x3b4d8b);for(;_0x3b4d8b--;)_0x35da19[_0x3b4d8b]=_0xa66c76['charCodeAt'](_0x3b4d8b);return new _0x373185['File']([_0x35da19],'image.'+_0x39e4ba,{'type':_0x542fb5});}const _0x179b52=_0x51ca75['href']['split']('/'),_0x1d4e2f=_0x179b52[_0x179b52['length']-0x1],_0x43f542=_0x1d4e2f['split']('.')[0x1];return _0x373185['fetch'](_0x51ca75['href'])['then'](_0x2fba3f=>_0x2fba3f['clone']()['blob']())['then'](_0x29830f=>new _0x373185['File']([_0x29830f],_0x1d4e2f,{'type':'image/'+_0x43f542}));}}class J extends _0x32bdc0{['imageEditController'];static get['requires'](){return[_0x25b26d];}['_isEditable'];constructor(_0x4fe3df){super(_0x4fe3df),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x46190f){const _0x23b09d=V(_0x46190f);return _0x2840a0=>!(!_0x2840a0||!_0x2840a0['is']('element','imageBlock')&&!_0x2840a0['is']('element','imageInline'))&&(!!_0x2840a0['hasAttribute']('uploadcareImageId')||!!_0x2840a0['hasAttribute']('src')&&_0x23b09d(_0x2840a0['getAttribute']('src')));}(_0x4fe3df['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xa0efb2=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xa0efb2);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x33da0c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x33da0c&&(_0x33da0c['is']('element','imageBlock')||_0x33da0c['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x25b26d),_0x33da0c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x32bdc0{['refresh'](){const _0x96a347=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x96a347&&(_0x96a347['is']('element','imageBlock')||_0x96a347['is']('element','imageInline')));}['execute'](_0x28fc7b){const _0x264e24=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5d991a=>{_0x5d991a['setAttributes'](_0x28fc7b,_0x264e24),_0x5d991a['removeAttribute']('srcset',_0x264e24),_0x5d991a['removeAttribute']('sizes',_0x264e24);});}}class g extends _0x1769d3{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x51efc6,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3561c5}=this;_0x3561c5['commands']['add']('uploadcareImageEdit',new J(_0x3561c5)),_0x3561c5['commands']['add']('uploadcareImageReplace',new O(_0x3561c5));}}class j extends _0x1769d3{['_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 _0x5be57f=this['editor'];_0x5be57f['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3c0a5b=>{const _0x17c20c=_0x5be57f['commands']['get']('uploadcareImageEdit'),_0x5525ea=new _0x48aa9e(_0x3c0a5b),t=_0x3c0a5b['t'];return _0x5525ea['set']({'icon':_0x39f740,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5525ea['bind']('isEnabled')['to'](_0x17c20c),_0x5525ea['bind']('isOn')['to'](_0x17c20c,'isActive'),this['listenTo'](_0x5525ea,'execute',()=>{_0x5be57f['execute']('uploadcareImageEdit'),_0x5be57f['editing']['view']['focus']();}),_0x5525ea;}),this['_initConfig']();}['_initConfig'](){const _0x740e10=_0x73f991(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x740e10),this['listenTo'](this['editor'],'destroy',()=>{_0x740e10['remove']();});}}class P extends _0x1769d3{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':_0x5adc27=>0x1!=_0x5adc27}};
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':_0x353e68=>0x1!=_0x353e68}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x537c83=>{const {af:{dictionary:_0x218cce,getPluralForm:_0xf6ebc0}}={'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':_0x1afd75=>0x1!=_0x1afd75}};_0x537c83['af']||={'dictionary':{},'getPluralForm':null},_0x537c83['af']['dictionary']=Object['assign'](_0x537c83['af']['dictionary'],_0x218cce),_0x537c83['af']['getPluralForm']=_0xf6ebc0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5e52a7=>{const {af:{dictionary:_0x4cb4a0,getPluralForm:_0x1c112c}}={'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':_0x54e321=>0x1!=_0x54e321}};_0x5e52a7['af']||={'dictionary':{},'getPluralForm':null},_0x5e52a7['af']['dictionary']=Object['assign'](_0x5e52a7['af']['dictionary'],_0x4cb4a0),_0x5e52a7['af']['getPluralForm']=_0x1c112c;})(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':_0x19d3ca=>0x0==_0x19d3ca?0x0:0x1==_0x19d3ca?0x1:0x2==_0x19d3ca?0x2:_0x19d3ca%0x64>=0x3&&_0x19d3ca%0x64<=0xa?0x3:_0x19d3ca%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':_0x5052d5=>0x0==_0x5052d5?0x0:0x1==_0x5052d5?0x1:0x2==_0x5052d5?0x2:_0x5052d5%0x64>=0x3&&_0x5052d5%0x64<=0xa?0x3:_0x5052d5%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1a1783=>{const {ar:{dictionary:_0x314548,getPluralForm:_0x2bfe61}}={'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':_0x2f37db=>0x0==_0x2f37db?0x0:0x1==_0x2f37db?0x1:0x2==_0x2f37db?0x2:_0x2f37db%0x64>=0x3&&_0x2f37db%0x64<=0xa?0x3:_0x2f37db%0x64>=0xb?0x4:0x5}};_0x1a1783['ar']||={'dictionary':{},'getPluralForm':null},_0x1a1783['ar']['dictionary']=Object['assign'](_0x1a1783['ar']['dictionary'],_0x314548),_0x1a1783['ar']['getPluralForm']=_0x2bfe61;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x58e866=>{const {ar:{dictionary:_0x27a532,getPluralForm:_0x26da1a}}={'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':_0xae759b=>0x0==_0xae759b?0x0:0x1==_0xae759b?0x1:0x2==_0xae759b?0x2:_0xae759b%0x64>=0x3&&_0xae759b%0x64<=0xa?0x3:_0xae759b%0x64>=0xb?0x4:0x5}};_0x58e866['ar']||={'dictionary':{},'getPluralForm':null},_0x58e866['ar']['dictionary']=Object['assign'](_0x58e866['ar']['dictionary'],_0x27a532),_0x58e866['ar']['getPluralForm']=_0x26da1a;})(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':_0x2763e2=>0x1!=_0x2763e2}};
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':_0x4497ea=>0x1!=_0x4497ea}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3041b2=>{const {ast:{dictionary:_0x3e0fba,getPluralForm:_0x57519b}}={'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':_0x3e5812=>0x1!=_0x3e5812}};_0x3041b2['ast']||={'dictionary':{},'getPluralForm':null},_0x3041b2['ast']['dictionary']=Object['assign'](_0x3041b2['ast']['dictionary'],_0x3e0fba),_0x3041b2['ast']['getPluralForm']=_0x57519b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x293897=>{const {ast:{dictionary:_0x5194b1,getPluralForm:_0x13b08f}}={'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':_0x596a30=>0x1!=_0x596a30}};_0x293897['ast']||={'dictionary':{},'getPluralForm':null},_0x293897['ast']['dictionary']=Object['assign'](_0x293897['ast']['dictionary'],_0x5194b1),_0x293897['ast']['getPluralForm']=_0x13b08f;})(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':_0x561e96=>0x1!=_0x561e96}};
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':_0x4a623e=>0x1!=_0x4a623e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xc49465=>{const {az:{dictionary:_0x655416,getPluralForm:_0x18d53c}}={'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':_0x384a60=>0x1!=_0x384a60}};_0xc49465['az']||={'dictionary':{},'getPluralForm':null},_0xc49465['az']['dictionary']=Object['assign'](_0xc49465['az']['dictionary'],_0x655416),_0xc49465['az']['getPluralForm']=_0x18d53c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x179293=>{const {az:{dictionary:_0x5436ff,getPluralForm:_0x3a19d0}}={'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':_0x129364=>0x1!=_0x129364}};_0x179293['az']||={'dictionary':{},'getPluralForm':null},_0x179293['az']['dictionary']=Object['assign'](_0x179293['az']['dictionary'],_0x5436ff),_0x179293['az']['getPluralForm']=_0x3a19d0;})(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':_0x476ff6=>_0x476ff6%0xa==0x1&&_0x476ff6%0x64!=0xb?0x0:_0x476ff6%0xa>=0x2&&_0x476ff6%0xa<=0x4&&(_0x476ff6%0x64<0xa||_0x476ff6%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':_0x20f807=>_0x20f807%0xa==0x1&&_0x20f807%0x64!=0xb?0x0:_0x20f807%0xa>=0x2&&_0x20f807%0xa<=0x4&&(_0x20f807%0x64<0xa||_0x20f807%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x52418f=>{const {be:{dictionary:_0x12b853,getPluralForm:_0x422188}}={'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':_0x39fcc2=>_0x39fcc2%0xa==0x1&&_0x39fcc2%0x64!=0xb?0x0:_0x39fcc2%0xa>=0x2&&_0x39fcc2%0xa<=0x4&&(_0x39fcc2%0x64<0xa||_0x39fcc2%0x64>=0x14)?0x1:0x2}};_0x52418f['be']||={'dictionary':{},'getPluralForm':null},_0x52418f['be']['dictionary']=Object['assign'](_0x52418f['be']['dictionary'],_0x12b853),_0x52418f['be']['getPluralForm']=_0x422188;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x386e61=>{const {be:{dictionary:_0x2de051,getPluralForm:_0xf854c6}}={'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':_0x4f5361=>_0x4f5361%0xa==0x1&&_0x4f5361%0x64!=0xb?0x0:_0x4f5361%0xa>=0x2&&_0x4f5361%0xa<=0x4&&(_0x4f5361%0x64<0xa||_0x4f5361%0x64>=0x14)?0x1:0x2}};_0x386e61['be']||={'dictionary':{},'getPluralForm':null},_0x386e61['be']['dictionary']=Object['assign'](_0x386e61['be']['dictionary'],_0x2de051),_0x386e61['be']['getPluralForm']=_0xf854c6;})(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':_0x18840=>0x1!=_0x18840}};
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':_0x523fb8=>0x1!=_0x523fb8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x508b50=>{const {bg:{dictionary:_0x1bed30,getPluralForm:_0x26ea1e}}={'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':_0x243596=>0x1!=_0x243596}};_0x508b50['bg']||={'dictionary':{},'getPluralForm':null},_0x508b50['bg']['dictionary']=Object['assign'](_0x508b50['bg']['dictionary'],_0x1bed30),_0x508b50['bg']['getPluralForm']=_0x26ea1e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4e5802=>{const {bg:{dictionary:_0x2d0acb,getPluralForm:_0x5e3fe5}}={'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':_0x540a0f=>0x1!=_0x540a0f}};_0x4e5802['bg']||={'dictionary':{},'getPluralForm':null},_0x4e5802['bg']['dictionary']=Object['assign'](_0x4e5802['bg']['dictionary'],_0x2d0acb),_0x4e5802['bg']['getPluralForm']=_0x5e3fe5;})(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':_0x56815e=>0x1!=_0x56815e}};
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':_0x131250=>0x1!=_0x131250}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5edceb=>{const {bn:{dictionary:_0x51d72f,getPluralForm:_0x326138}}={'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':_0x2a9ae4=>0x1!=_0x2a9ae4}};_0x5edceb['bn']||={'dictionary':{},'getPluralForm':null},_0x5edceb['bn']['dictionary']=Object['assign'](_0x5edceb['bn']['dictionary'],_0x51d72f),_0x5edceb['bn']['getPluralForm']=_0x326138;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x274e4d=>{const {bn:{dictionary:_0x40cf74,getPluralForm:_0x59d144}}={'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':_0x3980c4=>0x1!=_0x3980c4}};_0x274e4d['bn']||={'dictionary':{},'getPluralForm':null},_0x274e4d['bn']['dictionary']=Object['assign'](_0x274e4d['bn']['dictionary'],_0x40cf74),_0x274e4d['bn']['getPluralForm']=_0x59d144;})(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':_0x4e5769=>_0x4e5769%0xa==0x1&&_0x4e5769%0x64!=0xb?0x0:_0x4e5769%0xa>=0x2&&_0x4e5769%0xa<=0x4&&(_0x4e5769%0x64<0xa||_0x4e5769%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':_0x231ae2=>_0x231ae2%0xa==0x1&&_0x231ae2%0x64!=0xb?0x0:_0x231ae2%0xa>=0x2&&_0x231ae2%0xa<=0x4&&(_0x231ae2%0x64<0xa||_0x231ae2%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x25c4ff=>{const {bs:{dictionary:_0x3ca1d4,getPluralForm:_0x2e1328}}={'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':_0x8e91c2=>_0x8e91c2%0xa==0x1&&_0x8e91c2%0x64!=0xb?0x0:_0x8e91c2%0xa>=0x2&&_0x8e91c2%0xa<=0x4&&(_0x8e91c2%0x64<0xa||_0x8e91c2%0x64>=0x14)?0x1:0x2}};_0x25c4ff['bs']||={'dictionary':{},'getPluralForm':null},_0x25c4ff['bs']['dictionary']=Object['assign'](_0x25c4ff['bs']['dictionary'],_0x3ca1d4),_0x25c4ff['bs']['getPluralForm']=_0x2e1328;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x326595=>{const {bs:{dictionary:_0x1347da,getPluralForm:_0x41e444}}={'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':_0x1c8fb1=>_0x1c8fb1%0xa==0x1&&_0x1c8fb1%0x64!=0xb?0x0:_0x1c8fb1%0xa>=0x2&&_0x1c8fb1%0xa<=0x4&&(_0x1c8fb1%0x64<0xa||_0x1c8fb1%0x64>=0x14)?0x1:0x2}};_0x326595['bs']||={'dictionary':{},'getPluralForm':null},_0x326595['bs']['dictionary']=Object['assign'](_0x326595['bs']['dictionary'],_0x1347da),_0x326595['bs']['getPluralForm']=_0x41e444;})(window['CKEDITOR_TRANSLATIONS']||={});