@ckeditor/ckeditor5-uploadcare 47.5.0 → 47.6.0-alpha.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 _0x290a13,Command as _0x363393}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1ab90f,IconGooglePhotos as _0x221734,IconGoogleDrive as _0x8680f8,IconFacebook as _0xf08c8b,IconDropbox as _0x1ace9a,IconUploadcareLink as _0x2a5a50,IconUploadcareImageUpload as _0x97b9fb,IconError as _0x282d90,IconUploadcareImageEdit as _0x4734ee}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x32a0e5,MenuBarMenuListItemButtonView as _0x65d622,View as _0x2d9fc0,FocusCycler as _0x1c3554,Dialog as _0x12553a,DialogViewPosition as _0x170076,SpinnerView as _0x1f177b,IconView as _0x25c422,Notification as _0x533009}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3819d4,DomEmitterMixin as _0x17c636,global as _0x4bd362,getAncestors as _0x55c5bf,ObservableMixin as _0x3dae52,uid as _0x48f027,createElement as _0x171505}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x48694d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x238baa,info as _0x2f187}from'@uploadcare/upload-client';import*as _0x5b5b58 from'@uploadcare/file-uploader';var i=function(_0x40e216){return _0x40e216['Local']='local',_0x40e216['URL']='url',_0x40e216['Dropbox']='dropbox',_0x40e216['GDrive']='gdrive',_0x40e216['Facebook']='facebook',_0x40e216['GPhotos']='gphotos',_0x40e216['OneDrive']='onedrive',_0x40e216;}({});function _(_0x555849,_0x5edd72,_0x16cdcf){const t=_0x555849['t'],_0xdf1aa6=_0x555849['t'];switch(_0x5edd72){case i['Local']:return{'text':_0xdf1aa6('Insert'===_0x16cdcf?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xdf1aa6('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x16cdcf?_0xdf1aa6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xdf1aa6('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x16cdcf?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x16cdcf?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x16cdcf?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x16cdcf?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x16cdcf?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5edd72;}}class e extends _0x290a13{['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 _0x2cd56a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x28565b;for(const _0x10b245 in _0x2cd56a){const _0x2d8ef1=_0x10b245,_0x446472=_0x2cd56a[_0x2d8ef1];if('uploadcareLicenseKeyValid'==_0x446472||'uploadcareLicenseKeyInvalid'==_0x446472||'uploadcareLicenseKeyExpired'==_0x446472||'uploadcareLicenseKeyDomainLimit'==_0x446472||'uploadcareLicenseKeyNotAllowed'==_0x446472||'uploadcareLicenseKeyEvaluationLimit'==_0x446472||'uploadcareLicenseKeyUsageLimit'==_0x446472){delete _0x2cd56a[_0x2d8ef1],_0x28565b=_0x446472,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x28565b&&_0x2cd56a['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x28565b&&_0x2cd56a['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x28565b&&_0x2cd56a['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x28565b&&_0x2cd56a['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x28565b&&_0x2cd56a['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x28565b&&_0x2cd56a['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1ca530}=this,_0x583671=_0x1ca530['commands']['get']('uploadcare');if(!_0x583671)return;const _0xf8d128=this['_normalizeConfigSourceList'](_0x1ca530['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x12ab32,_0x3708fd)=>{const _0x1a5d5e=this['_getIntegrationKey'](_0x3708fd['type']);return _0x12ab32[_0x1a5d5e]||(_0x12ab32[_0x1a5d5e]=[]),_0x12ab32[_0x1a5d5e]['push'](_0x3708fd),_0x12ab32;},{});_0x1ca530['plugins']['has']('ImageInsertUI')&&_0x1ca530['commands']['get']('uploadcare')&&Object['entries'](_0xf8d128)['forEach'](([_0x1c4aa1,_0x51ebcf])=>{_0x1ca530['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1c4aa1,'observable':()=>_0x583671,'buttonViewCreator':()=>this['_createToolbarButton'](_0x51ebcf),'formViewCreator':()=>this['_createDropdownButtons'](_0x51ebcf),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x51ebcf),'override':'assetManager'!==_0x1c4aa1});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x362a9a){const {locale:_0x1dbf04}=this['editor'];return _0x362a9a['map'](_0xbefb7a=>{const _0x516c4d=_(_0x1dbf04,_0xbefb7a,'Insert');switch(_0xbefb7a){case i['Local']:return{'icon':_0x97b9fb,'type':i['Local'],..._0x516c4d};case i['URL']:return{'icon':_0x2a5a50,'type':i['URL'],..._0x516c4d};case i['Dropbox']:return{'icon':_0x1ace9a,'type':i['Dropbox'],..._0x516c4d};case i['Facebook']:return{'icon':_0xf08c8b,'type':i['Facebook'],..._0x516c4d};case i['GDrive']:return{'icon':_0x8680f8,'type':i['GDrive'],..._0x516c4d};case i['GPhotos']:return{'icon':_0x221734,'type':i['GPhotos'],..._0x516c4d};case i['OneDrive']:return{'icon':_0x1ab90f,'type':i['OneDrive'],..._0x516c4d};}});}['_getIntegrationKey'](_0x7751dd){switch(_0x7751dd){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5b14bc,_0xb56ab5){const _0x4120cf=this['editor'],_0x573044=new _0x5b14bc(_0x4120cf['locale']),_0x289983=_0x4120cf['commands']['get']('uploadcare');return _0x573044['bind']('isEnabled')['to'](_0x289983),_0x573044['on']('execute',()=>{_0x289983['execute'](_0xb56ab5);}),_0x573044;}['_createToolbarButton'](_0x4ab8c8){const {locale:_0x1666da}=this['editor'],_0x29d21d=this['editor']['plugins']['get']('ImageInsertUI'),_0x3fd89d=_0x4ab8c8[0x0],_0x570487=this['_createButton'](_0x32a0e5,_0x3fd89d['type']);return _0x570487['icon']=_0x3fd89d['icon'],_0x570487['bind']('label')['to'](_0x29d21d,'isImageSelected',_0x173ef7=>_(_0x1666da,_0x3fd89d['type'],_0x173ef7?'Replace':'Insert')['text']),_0x570487['tooltip']=!0x0,_0x570487;}['_createDropdownButtons'](_0x28584c){const {locale:_0x4a7261}=this['editor'],_0x4db377=this['editor']['plugins']['get']('ImageInsertUI');return _0x28584c['map'](_0x58a709=>{const _0x1e72ec=this['_createButton'](_0x32a0e5,_0x58a709['type']);return _0x1e72ec['withText']=!0x0,_0x1e72ec['icon']=_0x58a709['icon'],_0x1e72ec['bind']('label')['to'](_0x4db377,'isImageSelected',_0xd4bc3e=>_(_0x4a7261,_0x58a709['type'],_0xd4bc3e?'Replace':'Insert')['text']),_0x1e72ec;});}['_createMenuBarButtons'](_0x76a515){return _0x76a515['map'](_0x1a347d=>{const _0x21fee2=this['_createButton'](_0x65d622,_0x1a347d['type']);return _0x21fee2['icon']=_0x1a347d['icon'],_0x21fee2['label']=_0x1a347d['shortText'],_0x21fee2;});}}class V extends _0x2d9fc0{['focusTracker'];['focusCycler'];constructor(_0x220401){super(_0x220401),this['focusTracker']=new _0x3819d4(),this['focusCycler']=new _0x1c3554({'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 V{constructor(_0x12e055,_0x2e2c04){super(_0x12e055),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-'+_0x2e2c04}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0xac2da3,_0x436751){const _0xe13635=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3c8168=>_0x3c8168<=_0x436751)['map'](_0x425b3e=>_0xac2da3['replace'](/\/$/,'')+'/-/resize/'+_0x425b3e+'x/\x20'+_0x425b3e+'w');return{'imageFallbackUrl':_0xac2da3,'imageSources':[{'srcset':_0xe13635['join'](',\x20'),'sizes':'(max-width:\x20'+_0x436751+'px)\x20100vw,\x20'+_0x436751+'px','type':'image/webp'}]};}function F(_0x3ecd14,_0x53f9dd,_0x1d3442){const _0x3d5228=_0x3ecd14['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3d5228?parseInt(_0x3d5228[0x1],0xa):_0x53f9dd,'height':_0x3d5228?parseInt(_0x3d5228[0x2],0xa):_0x1d3442};}function p(_0x3a3a10,_0x390ba8){const _0x46490b=new(_0x17c636())(),_0x4a056c=_0x3a3a10['plugins']['get']('ImageUtils'),_0x26151f=_0x3a3a10['editing']['mapper']['toViewElement'](_0x390ba8),_0x45359e=_0x4a056c['findViewImgElement'](_0x26151f),_0x59e79e=_0x3a3a10['editing']['view']['domConverter']['viewToDom'](_0x45359e),_0x3c5871=_0x390ba8['getAttribute']('width'),_0x4dfb61=_0x390ba8['getAttribute']('height'),_0x41686e='image-processing';_0x3a3a10['editing']['view']['change'](_0x442ed6=>{_0x442ed6['addClass'](_0x41686e,_0x26151f),_0x442ed6['setStyle']('aspect-ratio',_0x3c5871+'/'+_0x4dfb61,_0x45359e);}),_0x46490b['listenTo'](_0x59e79e,'load',()=>{_0x46490b['stopListening'](_0x59e79e,'load'),_0x3a3a10['editing']['view']['change'](_0x51ec76=>{_0x51ec76['removeClass'](_0x41686e,_0x26151f),_0x51ec76['removeStyle']('aspect-ratio',_0x45359e);});});}function R(_0x1fe42b){if(Array['isArray'](_0x1fe42b)){const _0x3a98ab=_0x1fe42b['map'](R);return _0x56c94f=>_0x3a98ab['some'](_0x192545=>_0x192545(_0x56c94f));}if('origin'==_0x1fe42b){const _0x1113cd=_0x4bd362['window']['location']['origin'];return _0x718749=>new URL(_0x718749,_0x4bd362['document']['baseURI'])['origin']==_0x1113cd;}return'function'==typeof _0x1fe42b?_0x1fe42b:_0x1fe42b instanceof RegExp?_0x22f718=>!(!_0x22f718['match'](_0x1fe42b)&&!_0x22f718['replace'](/^https?:\/\//,'')['match'](_0x1fe42b)):()=>!0x1;}function M(_0x44039c,_0x1132b0){return _0x55c5bf(_0x44039c['target'])['includes'](_0x1132b0);}class n extends/* #__PURE__ -- @preserve */
24
- _0x3dae52(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x11b667,_0x35ffd4,_0xf7adb3){super(),this['_editor']=_0x11b667,this['_editing']=_0x35ffd4,this['_dialog']=_0x11b667['plugins']['get'](_0x12553a),this['_api']=_0x35ffd4['ctxElement']['getAPI'](),this['_type']=_0xf7adb3,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:_0x2c3d76,model:_0x66538b}=this['_editor'],_0x572400=_0x66538b['document']['selection']['getSelectedElement'](),_0xddc67b=_0x572400&&(_0x572400['is']('element','imageBlock')||_0x572400['is']('element','imageInline'));this['_formView']=new S(_0x2c3d76,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x97b9fb,'title':_(_0x2c3d76,this['_type'],_0xddc67b?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x170076['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x29e994=>!M(_0x29e994,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x535f31}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x32cd5f=>{const _0xfd2acd=_0x535f31['length'];for(const _0x496536 of _0x535f31){const _0x466afd=_0x496536===_0x535f31[_0xfd2acd-0x1],{cdnUrl:_0x114778,fileInfo:_0x53e5ec}=_0x496536;if(!_0x114778||!_0x53e5ec)continue;const {width:_0x45b425,height:_0x1450c4}=_0x53e5ec['imageInfo'],_0x56c59a=F(_0x114778,_0x45b425,_0x1450c4),_0x46ad07=C(_0x114778,_0x56c59a['width']),_0x3a3021={'id':_0x53e5ec['uuid'],'type':'image','attributes':{'imageDimension':_0x56c59a,..._0x46ad07}};this['_insertAsset'](_0x3a3021,_0x466afd,_0x32cd5f);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x17ba4e=>{'idle'===_0x17ba4e['detail']['status']&&!_0x17ba4e['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x351b53,_0x47c6e0,_0x334546){const _0x206fc1=this['_editor']['model']['document']['selection'],_0x187484=_0x206fc1['getSelectedElement'](),_0x52283e=!(!_0x187484||!_0x187484['is']('element','imageInline'));_0x334546['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x351b53,_0x52283e),_0x47c6e0||_0x334546['setSelection'](_0x206fc1['getLastPosition']());}['_insertImage'](_0x14360d,_0x226ba1){const _0xbc78b8=this['_editor'],{imageDimension:_0x2645b9,imageFallbackUrl:_0x8a16d,imageSources:_0x368254}=_0x14360d['attributes'];_0xbc78b8['execute']('insertImage',{'imageType':_0x226ba1?'imageInline':null,'source':{'uploadcareImageId':_0x14360d['id'],'src':_0x8a16d,'sources':_0x368254,..._0x2645b9}});}}class w extends _0x363393{['_editing'];['_controller']=null;static get['requires'](){return[_0x12553a,o];}constructor(_0x68962){super(_0x68962),this['_editing']=_0x68962['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x29ed06){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x29ed06);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x45adca,..._0x50f9b1}){return _0x238baa(_0x45adca,_0x50f9b1);}static['getInfo'](_0x30463f,_0x36470e){return _0x2f187(_0x30463f,_0x36470e);}}class f extends _0x290a13{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x48694d,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x159c9a=this['editor'];if(!!!_0x159c9a['config']['get']('uploadcare'))return;_0x159c9a['plugins']['get'](_0x48694d)['createUploadAdapter']=_0x5e1bd9=>new k(_0x5e1bd9,_0x159c9a),_0x159c9a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x372471,{imageElement:_0x354f0a,data:_0x2536a8})=>{_0x159c9a['model']['change'](_0x3705b2=>{_0x3705b2['setAttribute']('uploadcareImageId',_0x2536a8['uploadcareImageId'],_0x354f0a);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2ffd1f,_0x5f0a98){this['loader']=_0x2ffd1f,this['editor']=_0x5f0a98,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x217020=await this['loader']['file'];return j['upload']({'file':_0x217020,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x5e3080=>{_0x5e3080&&_0x5e3080['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5e3080['value']);}})['then'](async _0x3d5457=>{const {imageFallbackUrl:_0xbdbce2,imageSources:_0x5a4b26}=C(_0x3d5457['cdnUrl'],_0x3d5457['imageInfo']['width']);return{'uploadcareImageId':_0x3d5457['uuid'],'default':_0xbdbce2,'sources':_0x5a4b26};})['catch'](()=>{const _0x32e637=t('Cannot\x20upload\x20file:')+('\x20'+_0x217020['name']+'.');return Promise['reject'](_0x32e637);});}['abort'](){this['controller']['abort']();}}class o extends _0x290a13{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x12553a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x242557){super(_0x242557),this['ucContextId']=_0x48f027();}['init'](){const _0x68a93f=this['editor'];_0x68a93f['commands']['add']('uploadcare',new w(_0x68a93f));}['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 _0x3ef9cc=_0x4bd362['document']['querySelector']('input[uploadcare-file-input]');_0x3ef9cc&&_0x3ef9cc['remove']();}),async function(_0x1e65eb){const _0x35117c=_0x52c214([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x195922=0x535f8c3a,_0xebc906=0x53580d52^_0x195922,_0xec7660=window[_0x52c214([0x44,0x61,0x74,0x65])][_0x52c214([0x6e,0x6f,0x77])](),_0x2893f2=_0x1e65eb[_0x52c214([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x335f5c=new window[(_0x52c214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5520e0=>{_0x2893f2[_0x52c214([0x6f,0x6e,0x63,0x65])](_0x52c214([0x72,0x65,0x61,0x64,0x79]),_0x5520e0);}),_0x115967={[_0x52c214([0x6b,0x74,0x79])]:_0x52c214([0x45,0x43]),[_0x52c214([0x75,0x73,0x65])]:_0x52c214([0x73,0x69,0x67]),[_0x52c214([0x63,0x72,0x76])]:_0x52c214([0x50,0x2d,0x32,0x35,0x36]),[_0x52c214([0x78])]:_0x52c214([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]),[_0x52c214([0x79])]:_0x52c214([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]),[_0x52c214([0x61,0x6c,0x67])]:_0x52c214([0x45,0x53,0x32,0x35,0x36])},_0x75923e=_0x2893f2[_0x52c214([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52c214([0x67,0x65,0x74])](_0x52c214([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5eb471(){let _0x1e6107,_0x5b4867=null,_0x30e0c4=null;try{if(_0x75923e==_0x52c214([0x47,0x50,0x4c]))return _0x52c214([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e6107=_0x3634cf(),!_0x1e6107)return _0x52c214([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1e6107[_0x52c214([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30e0c4=_0x54e203(_0x1e6107[_0x52c214([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e6107[_0x52c214([0x6a,0x74,0x69])])),await _0x46bdca()?_0x2ada76()?_0x2ab800()?_0x52c214([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4be13a()?(_0x1e6107[_0x52c214([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52c214([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b4867=_0x2e53f6(_0x52c214([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3c61f9()):_0x52c214([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52c214([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52c214([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52c214([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ab800(){const _0x4a3fbb=[_0x52c214([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52c214([0x74,0x72,0x69,0x61,0x6c])][_0x52c214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e6107[_0x52c214([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xec7660/0x3e8:0xe10*_0xebc906;return _0x1e6107[_0x52c214([0x65,0x78,0x70])]<_0x4a3fbb;}function _0x2ada76(){const _0x15109b=_0x1e6107[_0x52c214([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x15109b&&(!!_0x15109b[_0x52c214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52c214([0x2a]))||!!_0x15109b[_0x52c214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52c214([0x55,0x50,0x4c,0x43])));}function _0x4be13a(){const _0x20a129=_0x1e6107[_0x52c214([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x20a129||0x0==_0x20a129[_0x52c214([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x446759}=new URL(window[_0x52c214([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x20a129[_0x52c214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x446759))return!0x0;const _0x5e1f84=_0x446759[_0x52c214([0x73,0x70,0x6c,0x69,0x74])](_0x52c214([0x2e]));return _0x20a129[_0x52c214([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56a42c=>_0x56a42c[_0x52c214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52c214([0x2a])))[_0x52c214([0x6d,0x61,0x70])](_0x10ad83=>_0x10ad83[_0x52c214([0x73,0x70,0x6c,0x69,0x74])](_0x52c214([0x2e])))[_0x52c214([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55c8ff=>_0x55c8ff[_0x52c214([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e1f84[_0x52c214([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52c214([0x6d,0x61,0x70])](_0x7a8112=>Array(_0x5e1f84[_0x52c214([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x7a8112[_0x52c214([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52c214([0x66,0x69,0x6c,0x6c])](_0x7a8112[0x0]===_0x52c214([0x2a])?_0x52c214([0x2a]):'')[_0x52c214([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x7a8112))[_0x52c214([0x73,0x6f,0x6d,0x65])](_0x49deb0=>_0x5e1f84[_0x52c214([0x65,0x76,0x65,0x72,0x79])]((_0x5b24d7,_0x93bfca)=>_0x49deb0[_0x93bfca]===_0x5b24d7||_0x49deb0[_0x93bfca]===_0x52c214([0x2a])));}function _0x3c61f9(){return _0x5b4867&&_0x30e0c4?new window[(_0x52c214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a6801,_0x5c5241)=>{_0x5b4867[_0x52c214([0x74,0x68,0x65,0x6e])](_0x5a6801,_0x5c5241),_0x30e0c4[_0x52c214([0x74,0x68,0x65,0x6e])](_0x17d350=>{_0x17d350!=_0x52c214([0x56,0x61,0x6c,0x69,0x64])&&_0x5a6801(_0x17d350);},_0x5c5241);}):_0x5b4867||_0x30e0c4||_0x52c214([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54e203(_0x307d06,_0x9fb671){return new window[(_0x52c214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d2203=>{if(_0x50dfeb())return _0x4d2203(_0x52c214([0x56,0x61,0x6c,0x69,0x64]));_0x310860(),_0x2893f2[_0x52c214([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52c214([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x9cf17=!0x1;const _0x529946=_0x48f027();function _0x37f0ce(_0x25a87a){return!!_0x25a87a&&(typeof _0x25a87a===_0x52c214([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x25a87a===_0x52c214([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x25a87a[_0x52c214([0x74,0x68,0x65,0x6e])]===_0x52c214([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x25a87a[_0x52c214([0x63,0x61,0x74,0x63,0x68])]===_0x52c214([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ab416(_0x3f449f){_0x265d43(_0x3f449f)[_0x52c214([0x74,0x68,0x65,0x6e])](_0x58635c=>{if(!_0x58635c||_0x58635c[_0x52c214([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52c214([0x6f,0x6b]))return _0x52c214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x370eaf(_0x4ff008(_0x529946+_0x9fb671))!=_0x58635c[_0x52c214([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52c214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52c214([0x56,0x61,0x6c,0x69,0x64]);})[_0x52c214([0x74,0x68,0x65,0x6e])](_0x32af10=>(_0x44adf1(),_0x32af10),()=>{const _0x546329=_0x275d6d();return null==_0x546329?(_0x44adf1(),_0x52c214([0x56,0x61,0x6c,0x69,0x64])):_0x52c214(_0xec7660-_0x546329>(0x7753083a^_0x195922)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52c214([0x74,0x68,0x65,0x6e])](_0x4d2203)[_0x52c214([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d2203(_0x52c214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x137058=0x536962ba^_0x195922;function _0x44adf1(){const _0x4242be=_0x52c214([0x6c,0x6c,0x63,0x74,0x2d])+_0x370eaf(_0x4ff008(_0x307d06)),_0xe9bda=_0x185ecf(_0x370eaf(window[_0x52c214([0x4d,0x61,0x74,0x68])][_0x52c214([0x63,0x65,0x69,0x6c])](_0xec7660/_0x137058)));window[_0x52c214([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52c214([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4242be,_0xe9bda);}function _0x275d6d(){const _0x3df680=_0x52c214([0x6c,0x6c,0x63,0x74,0x2d])+_0x370eaf(_0x4ff008(_0x307d06)),_0x13f068=window[_0x52c214([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52c214([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3df680);return _0x13f068?window[_0x52c214([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x185ecf(_0x13f068),0x10)*_0x137058:null;}function _0x265d43(_0x1e4083){return new window[(_0x52c214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51a2a5,_0x1c5e1b)=>{_0x1e4083[_0x52c214([0x74,0x68,0x65,0x6e])](_0x51a2a5,_0x1c5e1b),window[_0x52c214([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c5e1b,0x535e58fa^_0x195922);});}}_0x2893f2[_0x52c214([0x6f,0x6e])](_0x52c214([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2429a6,_0x3e31dd)=>{if(_0x3e31dd[0x0]!=_0x307d06)return _0x4d2203(_0x52c214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e31dd[0x1]={..._0x3e31dd[0x1],[_0x52c214([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x529946};},{[_0x52c214([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52c214([0x68,0x69,0x67,0x68])}),_0x2893f2[_0x52c214([0x6f,0x6e])](_0x52c214([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3163ba=>{_0x37f0ce(_0x3163ba[_0x52c214([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x9cf17=!0x0,_0x2ab416(_0x3163ba[_0x52c214([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52c214([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52c214([0x6c,0x6f,0x77])}),_0x335f5c[_0x52c214([0x74,0x68,0x65,0x6e])](()=>{_0x9cf17||_0x4d2203(_0x52c214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50dfeb(){return _0x2893f2[_0x52c214([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52c214([0x76,0x69,0x65,0x77])][_0x52c214([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52c214([0x61,0x75,0x74,0x6f]);}function _0x310860(){_0x2893f2[_0x52c214([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52c214([0x76,0x69,0x65,0x77])][_0x52c214([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52c214([0x61,0x75,0x74,0x6f]);}}function _0x2e53f6(_0x58fe10){const _0xf4762=[new window[(_0x52c214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41f585=>setTimeout(_0x41f585,0x5356b2f6^_0x195922)),_0x335f5c[_0x52c214([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52c214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2af330=>{let _0x586d00=0x0;_0x2893f2[_0x52c214([0x6d,0x6f,0x64,0x65,0x6c])][_0x52c214([0x6f,0x6e])](_0x52c214([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20f74a,_0x22fbac)=>{_0x22fbac[0x0][_0x52c214([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x586d00++,_0x586d00==(0x535f89d2^_0x195922)&&(_0x2af330(),_0x20f74a[_0x52c214([0x6f,0x66,0x66])]());});}))];return window[_0x52c214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52c214([0x72,0x61,0x63,0x65])](_0xf4762)[_0x52c214([0x74,0x68,0x65,0x6e])](()=>_0x58fe10);}async function _0xe9321(){await _0x335f5c,_0x2893f2[_0x52c214([0x6d,0x6f,0x64,0x65,0x6c])][_0x52c214([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x49b211,_0x2893f2[_0x52c214([0x6d,0x6f,0x64,0x65,0x6c])][_0x52c214([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x49b211,_0x2893f2[_0x52c214([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52c214([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17163e(_0x3cc20c){const _0x39ea33=_0x218bc4();_0x2893f2[_0x39ea33]=_0x52c214([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3cc20c,_0x3cc20c!=_0x52c214([0x56,0x61,0x6c,0x69,0x64])&&_0xe9321();}function _0x218bc4(){const _0xd628c1=window[_0x52c214([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52c214([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52c214([0x6e,0x6f,0x77])]())[_0x52c214([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52c214([0x2e]),'');let _0xf20f6c=_0x52c214([0x68]);for(let _0x3c9394=0x0;_0x3c9394<_0xd628c1[_0x52c214([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c9394+=0x2){let _0x24468c=window[_0x52c214([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd628c1[_0x52c214([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c9394,_0x3c9394+0x2));_0x24468c>=_0x35117c[_0x52c214([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24468c-=_0x35117c[_0x52c214([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf20f6c+=_0x35117c[_0x24468c];}return _0xf20f6c;}function _0x3634cf(){const _0x2df24d=_0x75923e[_0x52c214([0x73,0x70,0x6c,0x69,0x74])](_0x52c214([0x2e]));if(0x3!=_0x2df24d[_0x52c214([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x307143(_0x2df24d[0x1]);function _0x307143(_0x34f3e1){const _0xd342b2=_0x265025(_0x34f3e1);return _0xd342b2&&_0xf47440()?_0xd342b2:null;function _0xf47440(){const _0xbc6a92=_0xd342b2[_0x52c214([0x6a,0x74,0x69])],_0xafc524=window[_0x52c214([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbc6a92[_0x52c214([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbc6a92[_0x52c214([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5157cc={..._0xd342b2,[_0x52c214([0x6a,0x74,0x69])]:_0xbc6a92[_0x52c214([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xbc6a92[_0x52c214([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5157cc[_0x52c214([0x76,0x63])],_0x4ff008(_0x5157cc)==_0xafc524;}}}async function _0x46bdca(){let _0x4a2374=!0x0;try{const _0x164765=_0x75923e[_0x52c214([0x73,0x70,0x6c,0x69,0x74])](_0x52c214([0x2e])),[_0x45ff8e,_0x66d5a8,_0x14d018]=_0x164765;return _0x3d8246(_0x45ff8e),await _0x318b04(_0x45ff8e,_0x66d5a8,_0x14d018),_0x4a2374;}catch{return!0x1;}function _0x3d8246(_0x58b209){const _0x1cdcd9=_0x265025(_0x58b209);_0x1cdcd9&&_0x1cdcd9[_0x52c214([0x61,0x6c,0x67])]==_0x52c214([0x45,0x53,0x32,0x35,0x36])||(_0x4a2374=!0x1);}async function _0x318b04(_0x4a0927,_0x3fdedf,_0x50ed48){const _0x3b8d62=window[_0x52c214([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52c214([0x66,0x72,0x6f,0x6d])](_0x34a758(_0x50ed48),_0x12f520=>_0x12f520[_0x52c214([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x16baed=new window[(_0x52c214([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52c214([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a0927+_0x52c214([0x2e])+_0x3fdedf),_0x574b6f=window[_0x52c214([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52c214([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x574b6f)return;const _0x30b415=await _0x574b6f[_0x52c214([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52c214([0x6a,0x77,0x6b]),_0x115967,{[_0x52c214([0x6e,0x61,0x6d,0x65])]:_0x52c214([0x45,0x43,0x44,0x53,0x41]),[_0x52c214([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52c214([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52c214([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x574b6f[_0x52c214([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52c214([0x6e,0x61,0x6d,0x65])]:_0x52c214([0x45,0x43,0x44,0x53,0x41]),[_0x52c214([0x68,0x61,0x73,0x68])]:{[_0x52c214([0x6e,0x61,0x6d,0x65])]:_0x52c214([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x30b415,_0x3b8d62,_0x16baed)||(_0x4a2374=!0x1);}}function _0x265025(_0x10c797){return _0x10c797[_0x52c214([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52c214([0x65,0x79]))?JSON[_0x52c214([0x70,0x61,0x72,0x73,0x65])](_0x34a758(_0x10c797)):null;}function _0x34a758(_0x3c110c){return window[_0x52c214([0x61,0x74,0x6f,0x62])](_0x3c110c[_0x52c214([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52c214([0x2b]))[_0x52c214([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52c214([0x2f])));}function _0x4ff008(_0x119a60){let _0x43d253=0x1505;function _0x50e2ac(_0x4b59a9){for(let _0x46ac3f=0x0;_0x46ac3f<_0x4b59a9[_0x52c214([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46ac3f++){const _0x2d2e6b=_0x4b59a9[_0x52c214([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x46ac3f);_0x43d253=(_0x43d253<<0x5)+_0x43d253+_0x2d2e6b,_0x43d253&=_0x43d253;}}function _0x36fc8f(_0x1e9f47){Array[_0x52c214([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e9f47)?_0x1e9f47[_0x52c214([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36fc8f):_0x1e9f47&&typeof _0x1e9f47==_0x52c214([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52c214([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e9f47)[_0x52c214([0x73,0x6f,0x72,0x74])]()[_0x52c214([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ee191,_0x4411c6])=>{_0x50e2ac(_0x1ee191),_0x36fc8f(_0x4411c6);}):_0x50e2ac(window[_0x52c214([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e9f47));}return _0x36fc8f(_0x119a60),_0x43d253>>>0x0;}function _0x370eaf(_0x5971e8){return _0x5971e8[_0x52c214([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52c214([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52c214([0x30]));}function _0x185ecf(_0x4e0500){return _0x4e0500[_0x52c214([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52c214([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52c214([0x6a,0x6f,0x69,0x6e])]('');}function _0x49b211(){}function _0x52c214(_0x4b04f8){return _0x4b04f8['map'](_0x511262=>String['fromCharCode'](_0x511262))['join']('');}_0x17163e(await _0x5eb471());}(this);}['_initSchema'](){const _0xdb03d=this['editor']['model']['schema'];_0xdb03d['isRegistered']('imageBlock')&&_0xdb03d['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xdb03d['isRegistered']('imageInline')&&_0xdb03d['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5b2cb3=this['editor'];_0x5b2cb3['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5b2cb3['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x9ebfac=>_0x9ebfac['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3b7bf7=_0x5b2cb3['commands']['get']('replaceImageSource');_0x3b7bf7&&this['listenTo'](_0x3b7bf7,'cleanupImage',(_0x43c37c,[_0x39f09d,_0x2d4ffd])=>{_0x39f09d['removeAttribute']('uploadcareImageId',_0x2d4ffd);});}['_initConfig'](){const _0x18e4f7=this['editor']['config']['get']('uploadcare.uploader')||{},_0x23ca11=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x171505(_0x4bd362['document'],'uc-config',{..._0x18e4f7,'pubkey':_0x23ca11,'ctx-name':'uploader-'+this['ucContextId'],'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']=_0x4e8e0e=>{if('closeMax'==_0x4e8e0e)return'#uc-icon-arrow-down';},_0x4bd362['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x171505(_0x4bd362['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x4bd362['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4a5b0f=this['editor']['commands']['get']('insertImage');_0x4a5b0f&&this['listenTo'](_0x4a5b0f,'execute',()=>{const _0x297c9a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x297c9a&&_0x297c9a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x297c9a);});});const _0x569d07=this['editor']['commands']['get']('uploadcareImageReplace');_0x569d07&&this['listenTo'](_0x569d07,'execute',()=>{const _0x5e750e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5e750e&&_0x5e750e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5e750e);});});}}class tt extends _0x290a13{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x53bd72){super(_0x53bd72),_0x53bd72['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5b5b58['defineComponents'](_0x5b5b58),this['_defineLocale']();}['_defineLocale'](){const _0x2fdfeb=this['editor']['config']['get']('uploadcare.locale'),_0x2c88a6=this['editor']['locale']['contentLanguage'];_0x2fdfeb&&_0x5b5b58['defineLocale'](_0x2c88a6,_0x2fdfeb);}}class ii extends _0x2d9fc0{constructor(_0x51cc2a){super(_0x51cc2a);const t=_0x51cc2a['t'],_0x4e9dab=this['bindTemplate'],_0x239d5a=new _0x1f177b();_0x239d5a['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':[_0x239d5a,{'text':_0x4e9dab['to']('imageUploadProgress',_0x1ed658=>t('Loading\x20image...')+'\x20('+(_0x1ed658||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 ti extends _0x2d9fc0{constructor(_0x107485){super(_0x107485);const t=_0x107485['t'];this['set']('errorType',null);const _0x1c59a0=new _0x32a0e5(_0x107485);_0x1c59a0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1c59a0['withText']=!0x0,_0x1c59a0['class']='ck-button-action',_0x1c59a0['on']('execute',()=>{this['fire']('retry');}),_0x1c59a0['bind']('isVisible')['to'](this,'errorType',_0x360c64=>'NotFound'!==_0x360c64);const _0x5434b7=new _0x25c422();_0x5434b7['content']=_0x282d90,_0x5434b7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1649a0=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':[_0x5434b7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1649a0['to']('errorType',_0x5cb024=>t('NotFound'!==_0x5cb024?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1c59a0]},{'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 ei extends _0x2d9fc0{constructor(_0x41811b,_0x1eda13){super(_0x41811b);const _0x4f1f93=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1eda13,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4f1f93['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x494c2f,_0x1352aa,_0xbcddb3){super(_0x494c2f),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x494c2f),this['_errorView']=new ti(_0x494c2f),this['_editingView']=new ei(_0x494c2f,_0xbcddb3),this['_focusableView']=new _0x2d9fc0(_0x494c2f),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1352aa),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'],_0x55837e=>{this['_addUploadcareImageEditorListeners'](_0x55837e);});}),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'](_0x43e6e6,_0x36efd0){const _0x2f59ce='uc-cloud-image-editor',_0x5eee66=_0x43e6e6['querySelector'](_0x2f59ce);if(_0x5eee66)return _0x36efd0(_0x5eee66);const _0x167766=new MutationObserver(_0x1bf087=>{const _0x1d70a2=_0x1bf087['filter'](_0x7616dc=>_0x7616dc['target']===_0x43e6e6&&_0x7616dc['addedNodes']['length']>0x0&&_0x7616dc['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2f59ce);_0x1d70a2['length']&&(_0x167766['disconnect'](),_0x36efd0(_0x1d70a2[0x0]['addedNodes'][0x0]));});_0x167766['observe'](_0x43e6e6,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4cd592){_0x4cd592['addEventListener']('apply',_0x2cd298=>{this['fire']('apply',{'imageSrc':_0x2cd298['detail']['cdnUrl']});}),_0x4cd592['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x3dae52(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4bb00d,_0x4e74d6,_0xae9ec5){super(),this['_editor']=_0x4bb00d,this['_dialog']=_0x4e74d6,this['_imageElement']=_0xae9ec5,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 _0x4ac157=this['_imageElement'],_0x36a203=_0x4ac157['getAttribute']('uploadcareImageId'),_0x2f03d6=_0x4ac157['getAttribute']('src');if(_0x36a203)await this['_loadImageInfo'](_0x36a203,_0x2f03d6);else{if(this['_imageCache']['has'](_0x2f03d6)){const _0x5dcf2d=this['_imageCache']['get'](_0x2f03d6);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5dcf2d['url'],this['imageDimension']=_0x5dcf2d['dimension'],this['imageId']=_0x5dcf2d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x29546}=this['_editor'],t=_0x29546['t'],_0x5454e5=new X(_0x29546,this['imageStatus'],this['_attributes']);_0x5454e5['bind']('status')['to'](this,'imageStatus'),_0x5454e5['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5454e5['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5454e5['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5454e5,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4734ee,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5454e5,'position':_0x170076['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5454e5['focus']();},'onHide':()=>{_0x5454e5['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4cedfc=>!M(_0x4cedfc,_0x5454e5['element'])}});}['_loadImageInfo'](_0x47975e,_0x245cc3){return j['getInfo'](_0x47975e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x512f38=>{const {width:_0x44870a,height:_0x54855d}=_0x512f38['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x245cc3,this['imageDimension']={'width':_0x44870a,'height':_0x54855d},this['imageId']=_0x47975e;})['catch'](_0x1e4a02=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1e4a02['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x42652a,_0x301b5e){return this['_getImageAsFile'](_0x42652a)['then'](_0x4b3339=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x301b5e['signal'],'file':_0x4b3339,'onProgress':_0x159b20=>{_0x159b20&&_0x159b20['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x159b20['value']));}}))['then'](_0xbfdb50=>{const {width:_0x155e7a,height:_0x50b7f7}=_0xbfdb50['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbfdb50['cdnUrl'],this['imageDimension']={'width':_0x155e7a,'height':_0x50b7f7},this['imageId']=_0xbfdb50['uuid'],this['imageUploadProgress']=null;const _0x2b26f9=_0x42652a['getAttribute']('src');this['_imageCache']['set'](_0x2b26f9,{'id':_0xbfdb50['uuid'],'url':_0xbfdb50['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x6118b1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x6118b1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x14d71f,_0x55e5a4){_0x14d71f['on']('apply',(_0x41f0b1,_0xf4916e)=>{this['_replaceImage'](_0x55e5a4,_0xf4916e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x14d71f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x14d71f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5e93a7,_0x41983e,_0x2e9ea1){const _0x340f92=this['_editor'],{width:_0x24e656,height:_0x4df284}=F(_0x41983e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5296ec,imageSources:_0x3de05a}=C(_0x41983e,_0x24e656);_0x340f92['model']['change'](_0x32503d=>{if('$graveyard'===_0x5e93a7['root']['rootName']){_0x340f92['execute']('insertImage',{'imageType':_0x5e93a7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5e93a7['getAttributes']()),'uploadcareImageId':_0x2e9ea1,'src':_0x5296ec,'sources':_0x3de05a,'width':_0x24e656,'height':_0x4df284}});const _0x2e799e=_0x5e93a7['getChildren']();_0x5e93a7=_0x340f92['model']['document']['selection']['getSelectedElement']();for(const _0x2a6383 of _0x2e799e)_0x32503d['append'](_0x32503d['cloneElement'](_0x2a6383),_0x5e93a7);}else _0x32503d['setSelection'](_0x5e93a7,'on'),_0x340f92['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5e93a7['getAttributes']()),'uploadcareImageId':_0x2e9ea1,'src':_0x5296ec,'sources':_0x3de05a,'width':_0x24e656,'height':_0x4df284},_0x5e93a7);_0x32503d['setSelection'](_0x5e93a7,'on');});}async['_getImageAsFile'](_0x57cc7d){const _0x4fdba6=_0x4bd362['window'],_0x4e243b=_0x4bd362['document']['location']['href'],_0x29f149=new _0x4fdba6['URL'](_0x57cc7d['getAttribute']('src'),_0x4e243b);if('data:'===_0x29f149['protocol']){const _0x416cd9=_0x29f149['href']['split'](','),_0x4162ee=_0x416cd9[0x0]['match'](/:(.*?);/)[0x1],_0x321f01=_0x4162ee['split']('/')[0x1],_0xe4a1ff=_0x4fdba6['atob'](_0x416cd9[_0x416cd9['length']-0x1]);let _0x5f17b4=_0xe4a1ff['length'];const _0x5b8dce=new _0x4fdba6['Uint8Array'](_0x5f17b4);for(;_0x5f17b4--;)_0x5b8dce[_0x5f17b4]=_0xe4a1ff['charCodeAt'](_0x5f17b4);return new _0x4fdba6['File']([_0x5b8dce],'image.'+_0x321f01,{'type':_0x4162ee});}const _0x25a162=_0x29f149['href']['split']('/'),_0x2b890e=_0x25a162[_0x25a162['length']-0x1],_0x4f7566=_0x2b890e['split']('.')[0x1];return _0x4fdba6['fetch'](_0x29f149['href'])['then'](_0xb1f164=>_0xb1f164['clone']()['blob']())['then'](_0x3ac71d=>new _0x4fdba6['File']([_0x3ac71d],_0x2b890e,{'type':'image/'+_0x4f7566}));}}class N extends _0x363393{['imageEditController'];static get['requires'](){return[_0x12553a];}['_isEditable'];constructor(_0x884d4a){super(_0x884d4a),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4bf0b1){const _0x14bb1a=R(_0x4bf0b1);return _0x4d4764=>!(!_0x4d4764||!_0x4d4764['is']('element','imageBlock')&&!_0x4d4764['is']('element','imageInline'))&&(!!_0x4d4764['hasAttribute']('uploadcareImageId')||!!_0x4d4764['hasAttribute']('src')&&_0x14bb1a(_0x4d4764['getAttribute']('src')));}(_0x884d4a['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x56f640=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x56f640);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x554b81=this['editor']['model']['document']['selection']['getSelectedElement']();_0x554b81&&(_0x554b81['is']('element','imageBlock')||_0x554b81['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x12553a),_0x554b81),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x363393{['refresh'](){const _0x20e00e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x20e00e&&(_0x20e00e['is']('element','imageBlock')||_0x20e00e['is']('element','imageInline')));}['execute'](_0x11f946){const _0x5aa670=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x56c727=>{_0x56c727['setAttributes'](_0x11f946,_0x5aa670),_0x56c727['removeAttribute']('srcset',_0x5aa670),_0x56c727['removeAttribute']('sizes',_0x5aa670);});}}class m extends _0x290a13{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x533009,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4ffdcc}=this;_0x4ffdcc['commands']['add']('uploadcareImageEdit',new N(_0x4ffdcc)),_0x4ffdcc['commands']['add']('uploadcareImageReplace',new O(_0x4ffdcc));}}class g extends _0x290a13{['_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 _0x172daf=this['editor'];_0x172daf['ui']['componentFactory']['add']('uploadcareImageEdit',_0x504b78=>{const _0x56950c=_0x172daf['commands']['get']('uploadcareImageEdit'),_0x5258f4=new _0x32a0e5(_0x504b78),t=_0x504b78['t'];return _0x5258f4['set']({'icon':_0x4734ee,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5258f4['bind']('isEnabled')['to'](_0x56950c),_0x5258f4['bind']('isOn')['to'](_0x56950c,'isActive'),this['listenTo'](_0x5258f4,'execute',()=>{_0x172daf['execute']('uploadcareImageEdit'),_0x172daf['editing']['view']['focus']();}),_0x5258f4;}),this['_initConfig']();}['_initConfig'](){const _0x4409f9=_0x171505(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4409f9),this['listenTo'](this['editor'],'destroy',()=>{_0x4409f9['remove']();});}}class et extends _0x290a13{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x1eea7e,Command as _0x558a10}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1e5bba,IconGooglePhotos as _0x8276b1,IconGoogleDrive as _0x5f4d62,IconFacebook as _0x4a5251,IconDropbox as _0x2ace31,IconUploadcareLink as _0x4249b0,IconUploadcareImageUpload as _0x156b56,IconError as _0x17f0b7,IconUploadcareImageEdit as _0x35066c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x54fc29,MenuBarMenuListItemButtonView as _0x217630,View as _0x415ec2,FocusCycler as _0x574a18,Dialog as _0x3cb663,DialogViewPosition as _0x890bec,SpinnerView as _0x2d75a9,IconView as _0x11803a,Notification as _0x37b239}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2c19dd,DomEmitterMixin as _0x19b8ee,global as _0x411394,getAncestors as _0x89cc9,ObservableMixin as _0xebfaf0,uid as _0x30019e,createElement as _0x3f0ee6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3edb1d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2d74d8,info as _0x5740cb}from'@uploadcare/upload-client';import*as _0x15b88a from'@uploadcare/file-uploader';var i=function(_0x3008e0){return _0x3008e0['Local']='local',_0x3008e0['URL']='url',_0x3008e0['Dropbox']='dropbox',_0x3008e0['GDrive']='gdrive',_0x3008e0['Facebook']='facebook',_0x3008e0['GPhotos']='gphotos',_0x3008e0['OneDrive']='onedrive',_0x3008e0;}({});function _(_0x30d832,_0x256a6e,_0x3a2e20){const t=_0x30d832['t'],_0x377aa9=_0x30d832['t'];switch(_0x256a6e){case i['Local']:return{'text':_0x377aa9('Insert'===_0x3a2e20?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x377aa9('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x3a2e20?_0x377aa9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x377aa9('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x3a2e20?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x3a2e20?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x3a2e20?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x3a2e20?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x3a2e20?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x256a6e;}}class e extends _0x1eea7e{['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 _0x533726=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5b41dd;for(const _0x130015 in _0x533726){const _0x1d1ecc=_0x130015,_0x576d23=_0x533726[_0x1d1ecc];if('uploadcareLicenseKeyValid'==_0x576d23||'uploadcareLicenseKeyInvalid'==_0x576d23||'uploadcareLicenseKeyExpired'==_0x576d23||'uploadcareLicenseKeyDomainLimit'==_0x576d23||'uploadcareLicenseKeyNotAllowed'==_0x576d23||'uploadcareLicenseKeyEvaluationLimit'==_0x576d23||'uploadcareLicenseKeyUsageLimit'==_0x576d23){delete _0x533726[_0x1d1ecc],_0x5b41dd=_0x576d23,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5b41dd&&_0x533726['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5b41dd&&_0x533726['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5b41dd&&_0x533726['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5b41dd&&_0x533726['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5b41dd&&_0x533726['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5b41dd&&_0x533726['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x44a95c}=this,_0x46ece2=_0x44a95c['commands']['get']('uploadcare');if(!_0x46ece2)return;const _0x2bd4e8=this['_normalizeConfigSourceList'](_0x44a95c['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x16c335,_0x1ccbfc)=>{const _0x37f37a=this['_getIntegrationKey'](_0x1ccbfc['type']);return _0x16c335[_0x37f37a]||(_0x16c335[_0x37f37a]=[]),_0x16c335[_0x37f37a]['push'](_0x1ccbfc),_0x16c335;},{});_0x44a95c['plugins']['has']('ImageInsertUI')&&_0x44a95c['commands']['get']('uploadcare')&&Object['entries'](_0x2bd4e8)['forEach'](([_0x28927c,_0x125f20])=>{_0x44a95c['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x28927c,'observable':()=>_0x46ece2,'buttonViewCreator':()=>this['_createToolbarButton'](_0x125f20),'formViewCreator':()=>this['_createDropdownButtons'](_0x125f20),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x125f20),'override':'assetManager'!==_0x28927c});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x752122){const {locale:_0x47880a}=this['editor'];return _0x752122['map'](_0x5337a5=>{const _0x26cff8=_(_0x47880a,_0x5337a5,'Insert');switch(_0x5337a5){case i['Local']:return{'icon':_0x156b56,'type':i['Local'],..._0x26cff8};case i['URL']:return{'icon':_0x4249b0,'type':i['URL'],..._0x26cff8};case i['Dropbox']:return{'icon':_0x2ace31,'type':i['Dropbox'],..._0x26cff8};case i['Facebook']:return{'icon':_0x4a5251,'type':i['Facebook'],..._0x26cff8};case i['GDrive']:return{'icon':_0x5f4d62,'type':i['GDrive'],..._0x26cff8};case i['GPhotos']:return{'icon':_0x8276b1,'type':i['GPhotos'],..._0x26cff8};case i['OneDrive']:return{'icon':_0x1e5bba,'type':i['OneDrive'],..._0x26cff8};}});}['_getIntegrationKey'](_0x4cc0f0){switch(_0x4cc0f0){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x11372a,_0x2528d7){const _0x42a4c2=this['editor'],_0x582b42=new _0x11372a(_0x42a4c2['locale']),_0x4884ae=_0x42a4c2['commands']['get']('uploadcare');return _0x582b42['bind']('isEnabled')['to'](_0x4884ae),_0x582b42['on']('execute',()=>{_0x4884ae['execute'](_0x2528d7);}),_0x582b42;}['_createToolbarButton'](_0x3ccb1b){const {locale:_0x26a0b1}=this['editor'],_0x2cb3d7=this['editor']['plugins']['get']('ImageInsertUI'),_0x179e33=_0x3ccb1b[0x0],_0x5b04fb=this['_createButton'](_0x54fc29,_0x179e33['type']);return _0x5b04fb['icon']=_0x179e33['icon'],_0x5b04fb['bind']('label')['to'](_0x2cb3d7,'isImageSelected',_0x4b7d76=>_(_0x26a0b1,_0x179e33['type'],_0x4b7d76?'Replace':'Insert')['text']),_0x5b04fb['tooltip']=!0x0,_0x5b04fb;}['_createDropdownButtons'](_0x29498c){const {locale:_0x29ebd2}=this['editor'],_0x26e7cf=this['editor']['plugins']['get']('ImageInsertUI');return _0x29498c['map'](_0x2719b1=>{const _0x442b27=this['_createButton'](_0x54fc29,_0x2719b1['type']);return _0x442b27['withText']=!0x0,_0x442b27['icon']=_0x2719b1['icon'],_0x442b27['bind']('label')['to'](_0x26e7cf,'isImageSelected',_0x26b10c=>_(_0x29ebd2,_0x2719b1['type'],_0x26b10c?'Replace':'Insert')['text']),_0x442b27;});}['_createMenuBarButtons'](_0x289bd2){return _0x289bd2['map'](_0x29a90e=>{const _0x2bc9d4=this['_createButton'](_0x217630,_0x29a90e['type']);return _0x2bc9d4['icon']=_0x29a90e['icon'],_0x2bc9d4['label']=_0x29a90e['shortText'],_0x2bc9d4;});}}class F extends _0x415ec2{['focusTracker'];['focusCycler'];constructor(_0x59a74d){super(_0x59a74d),this['focusTracker']=new _0x2c19dd(),this['focusCycler']=new _0x574a18({'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 x extends F{constructor(_0x4ce561,_0x38ccec){super(_0x4ce561),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-'+_0x38ccec}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x52e9e4,_0x58ef03){const _0x4857bb=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x41107a=>_0x41107a<=_0x58ef03)['map'](_0x2e1e47=>_0x52e9e4['replace'](/\/$/,'')+'/-/resize/'+_0x2e1e47+'x/\x20'+_0x2e1e47+'w');return{'imageFallbackUrl':_0x52e9e4,'imageSources':[{'srcset':_0x4857bb['join'](',\x20'),'sizes':'(max-width:\x20'+_0x58ef03+'px)\x20100vw,\x20'+_0x58ef03+'px','type':'image/webp'}]};}function S(_0x49a365,_0x24d137,_0x301d26){const _0x3663c6=_0x49a365['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3663c6?parseInt(_0x3663c6[0x1],0xa):_0x24d137,'height':_0x3663c6?parseInt(_0x3663c6[0x2],0xa):_0x301d26};}function p(_0x5cbfbb,_0x32f1dc){const _0x174592=new(_0x19b8ee())(),_0xac6c87=_0x5cbfbb['plugins']['get']('ImageUtils'),_0x12c41e=_0x5cbfbb['editing']['mapper']['toViewElement'](_0x32f1dc),_0x55b1e7=_0xac6c87['findViewImgElement'](_0x12c41e),_0x46272e=_0x5cbfbb['editing']['view']['domConverter']['viewToDom'](_0x55b1e7),_0x3e25ea=_0x32f1dc['getAttribute']('width'),_0x1c0134=_0x32f1dc['getAttribute']('height'),_0x270880='image-processing';_0x5cbfbb['editing']['view']['change'](_0x46eb2f=>{_0x46eb2f['addClass'](_0x270880,_0x12c41e),_0x46eb2f['setStyle']('aspect-ratio',_0x3e25ea+'/'+_0x1c0134,_0x55b1e7);}),_0x174592['listenTo'](_0x46272e,'load',()=>{_0x174592['stopListening'](_0x46272e,'load'),_0x5cbfbb['editing']['view']['change'](_0x291c0e=>{_0x291c0e['removeClass'](_0x270880,_0x12c41e),_0x291c0e['removeStyle']('aspect-ratio',_0x55b1e7);});});}function G(_0x30affa){if(Array['isArray'](_0x30affa)){const _0xa147b8=_0x30affa['map'](G);return _0x4ea71e=>_0xa147b8['some'](_0x556b28=>_0x556b28(_0x4ea71e));}if('origin'==_0x30affa){const _0x35adf8=_0x411394['window']['location']['origin'];return _0x14bc46=>new URL(_0x14bc46,_0x411394['document']['baseURI'])['origin']==_0x35adf8;}return'function'==typeof _0x30affa?_0x30affa:_0x30affa instanceof RegExp?_0xfb98d0=>!(!_0xfb98d0['match'](_0x30affa)&&!_0xfb98d0['replace'](/^https?:\/\//,'')['match'](_0x30affa)):()=>!0x1;}function A(_0x41ce5a,_0x8443fe){return _0x89cc9(_0x41ce5a['target'])['includes'](_0x8443fe);}class n extends/* #__PURE__ -- @preserve */
24
+ _0xebfaf0(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x110496,_0xddc761,_0x408d25){super(),this['_editor']=_0x110496,this['_editing']=_0xddc761,this['_dialog']=_0x110496['plugins']['get'](_0x3cb663),this['_api']=_0xddc761['ctxElement']['getAPI'](),this['_type']=_0x408d25,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:_0x55df02,model:_0x2adcc6}=this['_editor'],_0x3f0eaa=_0x2adcc6['document']['selection']['getSelectedElement'](),_0x5ac568=_0x3f0eaa&&(_0x3f0eaa['is']('element','imageBlock')||_0x3f0eaa['is']('element','imageInline'));this['_formView']=new x(_0x55df02,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x156b56,'title':_(_0x55df02,this['_type'],_0x5ac568?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x890bec['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5576e4=>!A(_0x5576e4,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4a86e2}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3bf423=>{const _0x558b7d=_0x4a86e2['length'];for(const _0x565442 of _0x4a86e2){const _0x4de899=_0x565442===_0x4a86e2[_0x558b7d-0x1],{cdnUrl:_0x5c5e0a,fileInfo:_0x2a8676}=_0x565442;if(!_0x5c5e0a||!_0x2a8676)continue;const {width:_0x4bbcc0,height:_0x256e03}=_0x2a8676['imageInfo'],_0xbf64ec=S(_0x5c5e0a,_0x4bbcc0,_0x256e03),_0x4aa22d=C(_0x5c5e0a,_0xbf64ec['width']),_0x30581b={'id':_0x2a8676['uuid'],'type':'image','attributes':{'imageDimension':_0xbf64ec,..._0x4aa22d}};this['_insertAsset'](_0x30581b,_0x4de899,_0x3bf423);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3547fd=>{'idle'===_0x3547fd['detail']['status']&&!_0x3547fd['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2461a0,_0x414569,_0x501470){const _0x4b4989=this['_editor']['model']['document']['selection'],_0x4679aa=_0x4b4989['getSelectedElement'](),_0x692c2=!(!_0x4679aa||!_0x4679aa['is']('element','imageInline'));_0x501470['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2461a0,_0x692c2),_0x414569||_0x501470['setSelection'](_0x4b4989['getLastPosition']());}['_insertImage'](_0x550b37,_0xcdeca3){const _0x357181=this['_editor'],{imageDimension:_0x3a49c7,imageFallbackUrl:_0x5951cf,imageSources:_0x4e63b2}=_0x550b37['attributes'];_0x357181['execute']('insertImage',{'imageType':_0xcdeca3?'imageInline':null,'source':{'uploadcareImageId':_0x550b37['id'],'src':_0x5951cf,'sources':_0x4e63b2,..._0x3a49c7}});}}class w extends _0x558a10{['_editing'];['_controller']=null;static get['requires'](){return[_0x3cb663,o];}constructor(_0x1c4df6){super(_0x1c4df6),this['_editing']=_0x1c4df6['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x40cf3b){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x40cf3b);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x49787c,..._0x330cac}){return _0x2d74d8(_0x49787c,_0x330cac);}static['getInfo'](_0x5392e9,_0x2294dd){return _0x5740cb(_0x5392e9,_0x2294dd);}}class f extends _0x1eea7e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3edb1d,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x496041=this['editor'];if(!!!_0x496041['config']['get']('uploadcare'))return;_0x496041['plugins']['get'](_0x3edb1d)['createUploadAdapter']=_0x4744db=>new k(_0x4744db,_0x496041),_0x496041['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x23f6a7,{imageElement:_0x3fea27,data:_0x43300f})=>{_0x496041['model']['change'](_0x408d67=>{_0x408d67['setAttribute']('uploadcareImageId',_0x43300f['uploadcareImageId'],_0x3fea27);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4ae43b,_0x3abb26){this['loader']=_0x4ae43b,this['editor']=_0x3abb26,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x494311=await this['loader']['file'];return j['upload']({'file':_0x494311,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x498b4c=>{_0x498b4c&&_0x498b4c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x498b4c['value']);}})['then'](async _0x4b9124=>{const {imageFallbackUrl:_0x448f2e,imageSources:_0xe1d406}=C(_0x4b9124['cdnUrl'],_0x4b9124['imageInfo']['width']);return{'uploadcareImageId':_0x4b9124['uuid'],'default':_0x448f2e,'sources':_0xe1d406};})['catch'](()=>{const _0x342323=t('Cannot\x20upload\x20file:')+('\x20'+_0x494311['name']+'.');return Promise['reject'](_0x342323);});}['abort'](){this['controller']['abort']();}}class o extends _0x1eea7e{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x3cb663];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x38e7f2){super(_0x38e7f2),this['ucContextId']=_0x30019e();}['init'](){const _0x432917=this['editor'];_0x432917['commands']['add']('uploadcare',new w(_0x432917));}['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 _0x12e2fb=_0x411394['document']['querySelector']('input[uploadcare-file-input]');_0x12e2fb&&_0x12e2fb['remove']();}),async function(_0x474de3){const _0x1d5f7a=_0xa8724a([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0xc111cf=0x535f8c3a,_0x235c2f=0x53580eea^_0xc111cf,_0x152089=window[_0xa8724a([0x44,0x61,0x74,0x65])][_0xa8724a([0x6e,0x6f,0x77])](),_0x5d73e6=_0x474de3[_0xa8724a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x163564=new window[(_0xa8724a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a6dbf=>{_0x5d73e6[_0xa8724a([0x6f,0x6e,0x63,0x65])](_0xa8724a([0x72,0x65,0x61,0x64,0x79]),_0x2a6dbf);}),_0x14688b={[_0xa8724a([0x6b,0x74,0x79])]:_0xa8724a([0x45,0x43]),[_0xa8724a([0x75,0x73,0x65])]:_0xa8724a([0x73,0x69,0x67]),[_0xa8724a([0x63,0x72,0x76])]:_0xa8724a([0x50,0x2d,0x32,0x35,0x36]),[_0xa8724a([0x78])]:_0xa8724a([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]),[_0xa8724a([0x79])]:_0xa8724a([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]),[_0xa8724a([0x61,0x6c,0x67])]:_0xa8724a([0x45,0x53,0x32,0x35,0x36])},_0x51418c=_0x5d73e6[_0xa8724a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa8724a([0x67,0x65,0x74])](_0xa8724a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x286cc0(){let _0x272870,_0x51d9ea=null,_0x43c1de=null;try{if(_0x51418c==_0xa8724a([0x47,0x50,0x4c]))return _0xa8724a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x272870=_0x9805f5(),!_0x272870)return _0xa8724a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x272870[_0xa8724a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43c1de=_0x2ffbcb(_0x272870[_0xa8724a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x272870[_0xa8724a([0x6a,0x74,0x69])])),await _0x588d35()?_0x2dc55e()?_0x2a5075()?_0xa8724a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4eb6cb()?(_0x272870[_0xa8724a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa8724a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x51d9ea=_0xbbd2ca(_0xa8724a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1d9e03()):_0xa8724a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa8724a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa8724a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa8724a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a5075(){const _0x1c4d78=[_0xa8724a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa8724a([0x74,0x72,0x69,0x61,0x6c])][_0xa8724a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x272870[_0xa8724a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x152089/0x3e8:0xe10*_0x235c2f;return _0x272870[_0xa8724a([0x65,0x78,0x70])]<_0x1c4d78;}function _0x2dc55e(){const _0x854430=_0x272870[_0xa8724a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x854430&&(!!_0x854430[_0xa8724a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa8724a([0x2a]))||!!_0x854430[_0xa8724a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa8724a([0x55,0x50,0x4c,0x43])));}function _0x4eb6cb(){const _0x19a5e5=_0x272870[_0xa8724a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x19a5e5||0x0==_0x19a5e5[_0xa8724a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x51e302}=new URL(window[_0xa8724a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x19a5e5[_0xa8724a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51e302))return!0x0;const _0x3fa0c9=_0x51e302[_0xa8724a([0x73,0x70,0x6c,0x69,0x74])](_0xa8724a([0x2e]));return _0x19a5e5[_0xa8724a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9f75b6=>_0x9f75b6[_0xa8724a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa8724a([0x2a])))[_0xa8724a([0x6d,0x61,0x70])](_0x82057c=>_0x82057c[_0xa8724a([0x73,0x70,0x6c,0x69,0x74])](_0xa8724a([0x2e])))[_0xa8724a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3613cf=>_0x3613cf[_0xa8724a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3fa0c9[_0xa8724a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa8724a([0x6d,0x61,0x70])](_0x45083e=>Array(_0x3fa0c9[_0xa8724a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x45083e[_0xa8724a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa8724a([0x66,0x69,0x6c,0x6c])](_0x45083e[0x0]===_0xa8724a([0x2a])?_0xa8724a([0x2a]):'')[_0xa8724a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x45083e))[_0xa8724a([0x73,0x6f,0x6d,0x65])](_0x4e2fc0=>_0x3fa0c9[_0xa8724a([0x65,0x76,0x65,0x72,0x79])]((_0x424b0a,_0x158948)=>_0x4e2fc0[_0x158948]===_0x424b0a||_0x4e2fc0[_0x158948]===_0xa8724a([0x2a])));}function _0x1d9e03(){return _0x51d9ea&&_0x43c1de?new window[(_0xa8724a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18d836,_0x1b80c3)=>{_0x51d9ea[_0xa8724a([0x74,0x68,0x65,0x6e])](_0x18d836,_0x1b80c3),_0x43c1de[_0xa8724a([0x74,0x68,0x65,0x6e])](_0x11a5a5=>{_0x11a5a5!=_0xa8724a([0x56,0x61,0x6c,0x69,0x64])&&_0x18d836(_0x11a5a5);},_0x1b80c3);}):_0x51d9ea||_0x43c1de||_0xa8724a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ffbcb(_0x503d85,_0x1b64d3){return new window[(_0xa8724a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x514ae5=>{if(_0x539782())return _0x514ae5(_0xa8724a([0x56,0x61,0x6c,0x69,0x64]));_0x1790a9(),_0x5d73e6[_0xa8724a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa8724a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1104cc=!0x1;const _0x1dcb97=_0x30019e();function _0x27f086(_0x1588cf){return!!_0x1588cf&&(typeof _0x1588cf===_0xa8724a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1588cf===_0xa8724a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1588cf[_0xa8724a([0x74,0x68,0x65,0x6e])]===_0xa8724a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1588cf[_0xa8724a([0x63,0x61,0x74,0x63,0x68])]===_0xa8724a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12a8a3(_0x498c9a){_0x442e21(_0x498c9a)[_0xa8724a([0x74,0x68,0x65,0x6e])](_0x209a1f=>{if(!_0x209a1f||_0x209a1f[_0xa8724a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa8724a([0x6f,0x6b]))return _0xa8724a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16f631(_0x48fe58(_0x1dcb97+_0x1b64d3))!=_0x209a1f[_0xa8724a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa8724a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa8724a([0x56,0x61,0x6c,0x69,0x64]);})[_0xa8724a([0x74,0x68,0x65,0x6e])](_0x56c91d=>(_0x7cf594(),_0x56c91d),()=>{const _0x4746ca=_0x4c1ad7();return null==_0x4746ca?(_0x7cf594(),_0xa8724a([0x56,0x61,0x6c,0x69,0x64])):_0xa8724a(_0x152089-_0x4746ca>(0x7753083a^_0xc111cf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa8724a([0x74,0x68,0x65,0x6e])](_0x514ae5)[_0xa8724a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x514ae5(_0xa8724a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a4855=0x536962ba^_0xc111cf;function _0x7cf594(){const _0x59d081=_0xa8724a([0x6c,0x6c,0x63,0x74,0x2d])+_0x16f631(_0x48fe58(_0x503d85)),_0x2cb9f3=_0x2af1d4(_0x16f631(window[_0xa8724a([0x4d,0x61,0x74,0x68])][_0xa8724a([0x63,0x65,0x69,0x6c])](_0x152089/_0x5a4855)));window[_0xa8724a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa8724a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59d081,_0x2cb9f3);}function _0x4c1ad7(){const _0xac0be5=_0xa8724a([0x6c,0x6c,0x63,0x74,0x2d])+_0x16f631(_0x48fe58(_0x503d85)),_0x32e5c0=window[_0xa8724a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa8724a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xac0be5);return _0x32e5c0?window[_0xa8724a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2af1d4(_0x32e5c0),0x10)*_0x5a4855:null;}function _0x442e21(_0x2d4aa5){return new window[(_0xa8724a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbfb048,_0x39b7fa)=>{_0x2d4aa5[_0xa8724a([0x74,0x68,0x65,0x6e])](_0xbfb048,_0x39b7fa),window[_0xa8724a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39b7fa,0x535e58fa^_0xc111cf);});}}_0x5d73e6[_0xa8724a([0x6f,0x6e])](_0xa8724a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a30fe,_0xad103d)=>{if(_0xad103d[0x0]!=_0x503d85)return _0x514ae5(_0xa8724a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xad103d[0x1]={..._0xad103d[0x1],[_0xa8724a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1dcb97};},{[_0xa8724a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa8724a([0x68,0x69,0x67,0x68])}),_0x5d73e6[_0xa8724a([0x6f,0x6e])](_0xa8724a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x485a23=>{_0x27f086(_0x485a23[_0xa8724a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1104cc=!0x0,_0x12a8a3(_0x485a23[_0xa8724a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa8724a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa8724a([0x6c,0x6f,0x77])}),_0x163564[_0xa8724a([0x74,0x68,0x65,0x6e])](()=>{_0x1104cc||_0x514ae5(_0xa8724a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x539782(){return _0x5d73e6[_0xa8724a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa8724a([0x76,0x69,0x65,0x77])][_0xa8724a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa8724a([0x61,0x75,0x74,0x6f]);}function _0x1790a9(){_0x5d73e6[_0xa8724a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa8724a([0x76,0x69,0x65,0x77])][_0xa8724a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa8724a([0x61,0x75,0x74,0x6f]);}}function _0xbbd2ca(_0x4a927){const _0x2b9fbb=[new window[(_0xa8724a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b2bc6=>setTimeout(_0x2b2bc6,0x5356b2f6^_0xc111cf)),_0x163564[_0xa8724a([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa8724a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb6286c=>{let _0x2ef0c3=0x0;_0x5d73e6[_0xa8724a([0x6d,0x6f,0x64,0x65,0x6c])][_0xa8724a([0x6f,0x6e])](_0xa8724a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2f421e,_0x47a77b)=>{_0x47a77b[0x0][_0xa8724a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ef0c3++,_0x2ef0c3==(0x535f89d2^_0xc111cf)&&(_0xb6286c(),_0x2f421e[_0xa8724a([0x6f,0x66,0x66])]());});}))];return window[_0xa8724a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa8724a([0x72,0x61,0x63,0x65])](_0x2b9fbb)[_0xa8724a([0x74,0x68,0x65,0x6e])](()=>_0x4a927);}async function _0x3b0d8c(){await _0x163564,_0x5d73e6[_0xa8724a([0x6d,0x6f,0x64,0x65,0x6c])][_0xa8724a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5689bf,_0x5d73e6[_0xa8724a([0x6d,0x6f,0x64,0x65,0x6c])][_0xa8724a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5689bf,_0x5d73e6[_0xa8724a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa8724a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1dd9bc(_0x1e086d){const _0x26a5d4=_0x478e6a();_0x5d73e6[_0x26a5d4]=_0xa8724a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1e086d,_0x1e086d!=_0xa8724a([0x56,0x61,0x6c,0x69,0x64])&&_0x3b0d8c();}function _0x478e6a(){const _0x45cefe=window[_0xa8724a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa8724a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa8724a([0x6e,0x6f,0x77])]())[_0xa8724a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa8724a([0x2e]),'');let _0x1169cf=_0xa8724a([0x68]);for(let _0x4aecca=0x0;_0x4aecca<_0x45cefe[_0xa8724a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4aecca+=0x2){let _0x480cfc=window[_0xa8724a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45cefe[_0xa8724a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4aecca,_0x4aecca+0x2));_0x480cfc>=_0x1d5f7a[_0xa8724a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x480cfc-=_0x1d5f7a[_0xa8724a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1169cf+=_0x1d5f7a[_0x480cfc];}return _0x1169cf;}function _0x9805f5(){const _0x540bf2=_0x51418c[_0xa8724a([0x73,0x70,0x6c,0x69,0x74])](_0xa8724a([0x2e]));if(0x3!=_0x540bf2[_0xa8724a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x371f89(_0x540bf2[0x1]);function _0x371f89(_0x47059a){const _0x2330f1=_0x18119b(_0x47059a);return _0x2330f1&&_0x2f7ff3()?_0x2330f1:null;function _0x2f7ff3(){const _0x5c6ed5=_0x2330f1[_0xa8724a([0x6a,0x74,0x69])],_0x4550af=window[_0xa8724a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c6ed5[_0xa8724a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c6ed5[_0xa8724a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30beca={..._0x2330f1,[_0xa8724a([0x6a,0x74,0x69])]:_0x5c6ed5[_0xa8724a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5c6ed5[_0xa8724a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30beca[_0xa8724a([0x76,0x63])],_0x48fe58(_0x30beca)==_0x4550af;}}}async function _0x588d35(){let _0x4c2c93=!0x0;try{const _0xfb61d3=_0x51418c[_0xa8724a([0x73,0x70,0x6c,0x69,0x74])](_0xa8724a([0x2e])),[_0x354ea5,_0x2f4801,_0x23eed5]=_0xfb61d3;return _0x2dfcf9(_0x354ea5),await _0x1d1ac8(_0x354ea5,_0x2f4801,_0x23eed5),_0x4c2c93;}catch{return!0x1;}function _0x2dfcf9(_0x16b325){const _0x26a900=_0x18119b(_0x16b325);_0x26a900&&_0x26a900[_0xa8724a([0x61,0x6c,0x67])]==_0xa8724a([0x45,0x53,0x32,0x35,0x36])||(_0x4c2c93=!0x1);}async function _0x1d1ac8(_0x25bc5c,_0x57c474,_0x24afa6){const _0x1af3fe=window[_0xa8724a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa8724a([0x66,0x72,0x6f,0x6d])](_0x3997c1(_0x24afa6),_0x14614c=>_0x14614c[_0xa8724a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x40ddcb=new window[(_0xa8724a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa8724a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x25bc5c+_0xa8724a([0x2e])+_0x57c474),_0x37ea67=window[_0xa8724a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa8724a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37ea67)return;const _0x41954b=await _0x37ea67[_0xa8724a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa8724a([0x6a,0x77,0x6b]),_0x14688b,{[_0xa8724a([0x6e,0x61,0x6d,0x65])]:_0xa8724a([0x45,0x43,0x44,0x53,0x41]),[_0xa8724a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa8724a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa8724a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37ea67[_0xa8724a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa8724a([0x6e,0x61,0x6d,0x65])]:_0xa8724a([0x45,0x43,0x44,0x53,0x41]),[_0xa8724a([0x68,0x61,0x73,0x68])]:{[_0xa8724a([0x6e,0x61,0x6d,0x65])]:_0xa8724a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41954b,_0x1af3fe,_0x40ddcb)||(_0x4c2c93=!0x1);}}function _0x18119b(_0x4cb7b1){return _0x4cb7b1[_0xa8724a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa8724a([0x65,0x79]))?JSON[_0xa8724a([0x70,0x61,0x72,0x73,0x65])](_0x3997c1(_0x4cb7b1)):null;}function _0x3997c1(_0x55a8cc){return window[_0xa8724a([0x61,0x74,0x6f,0x62])](_0x55a8cc[_0xa8724a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa8724a([0x2b]))[_0xa8724a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa8724a([0x2f])));}function _0x48fe58(_0x3b3ed7){let _0x58a614=0x1505;function _0xb51fa3(_0x5ebdd0){for(let _0x31d195=0x0;_0x31d195<_0x5ebdd0[_0xa8724a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31d195++){const _0x2c6ef0=_0x5ebdd0[_0xa8724a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x31d195);_0x58a614=(_0x58a614<<0x5)+_0x58a614+_0x2c6ef0,_0x58a614&=_0x58a614;}}function _0x51fee7(_0x46bd46){Array[_0xa8724a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46bd46)?_0x46bd46[_0xa8724a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51fee7):_0x46bd46&&typeof _0x46bd46==_0xa8724a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa8724a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46bd46)[_0xa8724a([0x73,0x6f,0x72,0x74])]()[_0xa8724a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c382c,_0x43c2c4])=>{_0xb51fa3(_0x5c382c),_0x51fee7(_0x43c2c4);}):_0xb51fa3(window[_0xa8724a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46bd46));}return _0x51fee7(_0x3b3ed7),_0x58a614>>>0x0;}function _0x16f631(_0x131730){return _0x131730[_0xa8724a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa8724a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa8724a([0x30]));}function _0x2af1d4(_0x4a2658){return _0x4a2658[_0xa8724a([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa8724a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa8724a([0x6a,0x6f,0x69,0x6e])]('');}function _0x5689bf(){}function _0xa8724a(_0x266f66){return _0x266f66['map'](_0x47ec17=>String['fromCharCode'](_0x47ec17))['join']('');}_0x1dd9bc(await _0x286cc0());}(this);}['_initSchema'](){const _0x300164=this['editor']['model']['schema'];_0x300164['isRegistered']('imageBlock')&&_0x300164['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x300164['isRegistered']('imageInline')&&_0x300164['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x32b7db=this['editor'];_0x32b7db['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x32b7db['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x31b8ec=>_0x31b8ec['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4e571f=_0x32b7db['commands']['get']('replaceImageSource');_0x4e571f&&this['listenTo'](_0x4e571f,'cleanupImage',(_0xe4db82,[_0x38e970,_0x2af430])=>{_0x38e970['removeAttribute']('uploadcareImageId',_0x2af430);});}['_initConfig'](){const _0x375887=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3a5bf9=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3f0ee6(_0x411394['document'],'uc-config',{..._0x375887,'pubkey':_0x3a5bf9,'ctx-name':'uploader-'+this['ucContextId'],'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']=_0x38e5e4=>{if('closeMax'==_0x38e5e4)return'#uc-icon-arrow-down';},_0x411394['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3f0ee6(_0x411394['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x411394['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xa782b3=this['editor']['commands']['get']('insertImage');_0xa782b3&&this['listenTo'](_0xa782b3,'execute',()=>{const _0x1ce2e1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1ce2e1&&_0x1ce2e1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1ce2e1);});});const _0x2b18a6=this['editor']['commands']['get']('uploadcareImageReplace');_0x2b18a6&&this['listenTo'](_0x2b18a6,'execute',()=>{const _0x36fcf2=this['editor']['model']['document']['selection']['getSelectedElement']();_0x36fcf2&&_0x36fcf2['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x36fcf2);});});}}class tt extends _0x1eea7e{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3fc393){super(_0x3fc393),_0x3fc393['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x15b88a['defineComponents'](_0x15b88a),this['_defineLocale']();}['_defineLocale'](){const _0x40af6a=this['editor']['config']['get']('uploadcare.locale'),_0x326005=this['editor']['locale']['contentLanguage'];_0x40af6a&&_0x15b88a['defineLocale'](_0x326005,_0x40af6a);}}class ii extends _0x415ec2{constructor(_0x4c0456){super(_0x4c0456);const t=_0x4c0456['t'],_0x64cd44=this['bindTemplate'],_0x401d91=new _0x2d75a9();_0x401d91['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':[_0x401d91,{'text':_0x64cd44['to']('imageUploadProgress',_0x303afe=>t('Loading\x20image...')+'\x20('+(_0x303afe||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 ti extends _0x415ec2{constructor(_0x942f04){super(_0x942f04);const t=_0x942f04['t'];this['set']('errorType',null);const _0x1f2143=new _0x54fc29(_0x942f04);_0x1f2143['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1f2143['withText']=!0x0,_0x1f2143['class']='ck-button-action',_0x1f2143['on']('execute',()=>{this['fire']('retry');}),_0x1f2143['bind']('isVisible')['to'](this,'errorType',_0x4e3d89=>'NotFound'!==_0x4e3d89);const _0x1fd847=new _0x11803a();_0x1fd847['content']=_0x17f0b7,_0x1fd847['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2a888a=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':[_0x1fd847,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2a888a['to']('errorType',_0x3e45d9=>t('NotFound'!==_0x3e45d9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1f2143]},{'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 ei extends _0x415ec2{constructor(_0x546596,_0x125f1c){super(_0x546596);const _0x4582b6=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x125f1c,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4582b6['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1e013c,_0x5dacfd,_0x31925f){super(_0x1e013c),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1e013c),this['_errorView']=new ti(_0x1e013c),this['_editingView']=new ei(_0x1e013c,_0x31925f),this['_focusableView']=new _0x415ec2(_0x1e013c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5dacfd),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'],_0x4cb1e7=>{this['_addUploadcareImageEditorListeners'](_0x4cb1e7);});}),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'](_0x27b99f,_0x2de021){const _0x4fa102='uc-cloud-image-editor',_0x93d2ff=_0x27b99f['querySelector'](_0x4fa102);if(_0x93d2ff)return _0x2de021(_0x93d2ff);const _0x43e3ce=new MutationObserver(_0x2e06f5=>{const _0x2e3de8=_0x2e06f5['filter'](_0x144975=>_0x144975['target']===_0x27b99f&&_0x144975['addedNodes']['length']>0x0&&_0x144975['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4fa102);_0x2e3de8['length']&&(_0x43e3ce['disconnect'](),_0x2de021(_0x2e3de8[0x0]['addedNodes'][0x0]));});_0x43e3ce['observe'](_0x27b99f,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1d3fb3){_0x1d3fb3['addEventListener']('apply',_0x2319fa=>{this['fire']('apply',{'imageSrc':_0x2319fa['detail']['cdnUrl']});}),_0x1d3fb3['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0xebfaf0(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x435d22,_0xe4059f,_0x11a848){super(),this['_editor']=_0x435d22,this['_dialog']=_0xe4059f,this['_imageElement']=_0x11a848,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 _0x357bf0=this['_imageElement'],_0x3c01e4=_0x357bf0['getAttribute']('uploadcareImageId'),_0x2bd846=_0x357bf0['getAttribute']('src');if(_0x3c01e4)await this['_loadImageInfo'](_0x3c01e4,_0x2bd846);else{if(this['_imageCache']['has'](_0x2bd846)){const _0x3a519a=this['_imageCache']['get'](_0x2bd846);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a519a['url'],this['imageDimension']=_0x3a519a['dimension'],this['imageId']=_0x3a519a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4e130c}=this['_editor'],t=_0x4e130c['t'],_0x516c8b=new X(_0x4e130c,this['imageStatus'],this['_attributes']);_0x516c8b['bind']('status')['to'](this,'imageStatus'),_0x516c8b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x516c8b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x516c8b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x516c8b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x35066c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x516c8b,'position':_0x890bec['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x516c8b['focus']();},'onHide':()=>{_0x516c8b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x594c64=>!A(_0x594c64,_0x516c8b['element'])}});}['_loadImageInfo'](_0x4a058d,_0x43a7fe){return j['getInfo'](_0x4a058d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x54615a=>{const {width:_0x21193c,height:_0x476377}=_0x54615a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x43a7fe,this['imageDimension']={'width':_0x21193c,'height':_0x476377},this['imageId']=_0x4a058d;})['catch'](_0x34d124=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x34d124['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5546c0,_0x4ee93f){return this['_getImageAsFile'](_0x5546c0)['then'](_0x24e969=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x4ee93f['signal'],'file':_0x24e969,'onProgress':_0x4cbbac=>{_0x4cbbac&&_0x4cbbac['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4cbbac['value']));}}))['then'](_0x61cc93=>{const {width:_0x4b9b9a,height:_0x34dd85}=_0x61cc93['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x61cc93['cdnUrl'],this['imageDimension']={'width':_0x4b9b9a,'height':_0x34dd85},this['imageId']=_0x61cc93['uuid'],this['imageUploadProgress']=null;const _0x13ae99=_0x5546c0['getAttribute']('src');this['_imageCache']['set'](_0x13ae99,{'id':_0x61cc93['uuid'],'url':_0x61cc93['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x49759d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x49759d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x428766,_0x5375e1){_0x428766['on']('apply',(_0x4c321b,_0x2283fb)=>{this['_replaceImage'](_0x5375e1,_0x2283fb['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x428766['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x428766['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5e8838,_0x21c90a,_0x14845b){const _0x326b2d=this['_editor'],{width:_0x142273,height:_0x2a8be1}=S(_0x21c90a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x9e6029,imageSources:_0x5156b6}=C(_0x21c90a,_0x142273);_0x326b2d['model']['change'](_0x5e0d32=>{if('$graveyard'===_0x5e8838['root']['rootName']){_0x326b2d['execute']('insertImage',{'imageType':_0x5e8838['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5e8838['getAttributes']()),'uploadcareImageId':_0x14845b,'src':_0x9e6029,'sources':_0x5156b6,'width':_0x142273,'height':_0x2a8be1}});const _0xe807c0=_0x5e8838['getChildren']();_0x5e8838=_0x326b2d['model']['document']['selection']['getSelectedElement']();for(const _0x3994ea of _0xe807c0)_0x5e0d32['append'](_0x5e0d32['cloneElement'](_0x3994ea),_0x5e8838);}else _0x5e0d32['setSelection'](_0x5e8838,'on'),_0x326b2d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5e8838['getAttributes']()),'uploadcareImageId':_0x14845b,'src':_0x9e6029,'sources':_0x5156b6,'width':_0x142273,'height':_0x2a8be1},_0x5e8838);_0x5e0d32['setSelection'](_0x5e8838,'on');});}async['_getImageAsFile'](_0x11b930){const _0x356b82=_0x411394['window'],_0x2de3f8=_0x411394['document']['location']['href'],_0x46e1cf=new _0x356b82['URL'](_0x11b930['getAttribute']('src'),_0x2de3f8);if('data:'===_0x46e1cf['protocol']){const _0x2c7e08=_0x46e1cf['href']['split'](','),_0x447fe6=_0x2c7e08[0x0]['match'](/:(.*?);/)[0x1],_0x456b25=_0x447fe6['split']('/')[0x1],_0x427e62=_0x356b82['atob'](_0x2c7e08[_0x2c7e08['length']-0x1]);let _0x39148c=_0x427e62['length'];const _0x369174=new _0x356b82['Uint8Array'](_0x39148c);for(;_0x39148c--;)_0x369174[_0x39148c]=_0x427e62['charCodeAt'](_0x39148c);return new _0x356b82['File']([_0x369174],'image.'+_0x456b25,{'type':_0x447fe6});}const _0x24ff2e=_0x46e1cf['href']['split']('/'),_0x263e3a=_0x24ff2e[_0x24ff2e['length']-0x1],_0x1daa57=_0x263e3a['split']('.')[0x1];return _0x356b82['fetch'](_0x46e1cf['href'])['then'](_0x2af7ed=>_0x2af7ed['clone']()['blob']())['then'](_0x398654=>new _0x356b82['File']([_0x398654],_0x263e3a,{'type':'image/'+_0x1daa57}));}}class O extends _0x558a10{['imageEditController'];static get['requires'](){return[_0x3cb663];}['_isEditable'];constructor(_0x1479ab){super(_0x1479ab),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x166bc9){const _0x4c5823=G(_0x166bc9);return _0x40cb93=>!(!_0x40cb93||!_0x40cb93['is']('element','imageBlock')&&!_0x40cb93['is']('element','imageInline'))&&(!!_0x40cb93['hasAttribute']('uploadcareImageId')||!!_0x40cb93['hasAttribute']('src')&&_0x4c5823(_0x40cb93['getAttribute']('src')));}(_0x1479ab['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x592070=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x592070);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3c5e13=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3c5e13&&(_0x3c5e13['is']('element','imageBlock')||_0x3c5e13['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x3cb663),_0x3c5e13),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x558a10{['refresh'](){const _0x59be4f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x59be4f&&(_0x59be4f['is']('element','imageBlock')||_0x59be4f['is']('element','imageInline')));}['execute'](_0x4a5b12){const _0x1bc937=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x360294=>{_0x360294['setAttributes'](_0x4a5b12,_0x1bc937),_0x360294['removeAttribute']('srcset',_0x1bc937),_0x360294['removeAttribute']('sizes',_0x1bc937);});}}class m extends _0x1eea7e{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x37b239,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a1932}=this;_0x2a1932['commands']['add']('uploadcareImageEdit',new O(_0x2a1932)),_0x2a1932['commands']['add']('uploadcareImageReplace',new R(_0x2a1932));}}class g extends _0x1eea7e{['_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 _0xe0a220=this['editor'];_0xe0a220['ui']['componentFactory']['add']('uploadcareImageEdit',_0x565dad=>{const _0x1bcb18=_0xe0a220['commands']['get']('uploadcareImageEdit'),_0x1eee84=new _0x54fc29(_0x565dad),t=_0x565dad['t'];return _0x1eee84['set']({'icon':_0x35066c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1eee84['bind']('isEnabled')['to'](_0x1bcb18),_0x1eee84['bind']('isOn')['to'](_0x1bcb18,'isActive'),this['listenTo'](_0x1eee84,'execute',()=>{_0xe0a220['execute']('uploadcareImageEdit'),_0xe0a220['editing']['view']['focus']();}),_0x1eee84;}),this['_initConfig']();}['_initConfig'](){const _0x486366=_0x3f0ee6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x486366),this['listenTo'](this['editor'],'destroy',()=>{_0x486366['remove']();});}}class et extends _0x1eea7e{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -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':_0x160eee=>0x1!=_0x160eee}};
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':_0x44ea0f=>0x1!=_0x44ea0f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5a4160=>{const {af:{dictionary:_0x272706,getPluralForm:_0x224830}}={'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':_0x1c86dd=>0x1!=_0x1c86dd}};_0x5a4160['af']||={'dictionary':{},'getPluralForm':null},_0x5a4160['af']['dictionary']=Object['assign'](_0x5a4160['af']['dictionary'],_0x272706),_0x5a4160['af']['getPluralForm']=_0x224830;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2fbf0c=>{const {af:{dictionary:_0x172085,getPluralForm:_0x256724}}={'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':_0x164d64=>0x1!=_0x164d64}};_0x2fbf0c['af']||={'dictionary':{},'getPluralForm':null},_0x2fbf0c['af']['dictionary']=Object['assign'](_0x2fbf0c['af']['dictionary'],_0x172085),_0x2fbf0c['af']['getPluralForm']=_0x256724;})(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':_0x58efe7=>0x0==_0x58efe7?0x0:0x1==_0x58efe7?0x1:0x2==_0x58efe7?0x2:_0x58efe7%0x64>=0x3&&_0x58efe7%0x64<=0xa?0x3:_0x58efe7%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':_0xea7f55=>0x0==_0xea7f55?0x0:0x1==_0xea7f55?0x1:0x2==_0xea7f55?0x2:_0xea7f55%0x64>=0x3&&_0xea7f55%0x64<=0xa?0x3:_0xea7f55%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2d997b=>{const {ar:{dictionary:_0x39923d,getPluralForm:_0x38575f}}={'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':_0x23ba48=>0x0==_0x23ba48?0x0:0x1==_0x23ba48?0x1:0x2==_0x23ba48?0x2:_0x23ba48%0x64>=0x3&&_0x23ba48%0x64<=0xa?0x3:_0x23ba48%0x64>=0xb?0x4:0x5}};_0x2d997b['ar']||={'dictionary':{},'getPluralForm':null},_0x2d997b['ar']['dictionary']=Object['assign'](_0x2d997b['ar']['dictionary'],_0x39923d),_0x2d997b['ar']['getPluralForm']=_0x38575f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4b9921=>{const {ar:{dictionary:_0x11e679,getPluralForm:_0x211db7}}={'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':_0x574a71=>0x0==_0x574a71?0x0:0x1==_0x574a71?0x1:0x2==_0x574a71?0x2:_0x574a71%0x64>=0x3&&_0x574a71%0x64<=0xa?0x3:_0x574a71%0x64>=0xb?0x4:0x5}};_0x4b9921['ar']||={'dictionary':{},'getPluralForm':null},_0x4b9921['ar']['dictionary']=Object['assign'](_0x4b9921['ar']['dictionary'],_0x11e679),_0x4b9921['ar']['getPluralForm']=_0x211db7;})(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':_0x2f80a3=>0x1!=_0x2f80a3}};
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':_0x47bbdf=>0x1!=_0x47bbdf}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x292e81=>{const {ast:{dictionary:_0x5e1abd,getPluralForm:_0x40d3a8}}={'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':_0x456971=>0x1!=_0x456971}};_0x292e81['ast']||={'dictionary':{},'getPluralForm':null},_0x292e81['ast']['dictionary']=Object['assign'](_0x292e81['ast']['dictionary'],_0x5e1abd),_0x292e81['ast']['getPluralForm']=_0x40d3a8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x47715c=>{const {ast:{dictionary:_0x5c90d0,getPluralForm:_0x270d86}}={'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':_0x482b22=>0x1!=_0x482b22}};_0x47715c['ast']||={'dictionary':{},'getPluralForm':null},_0x47715c['ast']['dictionary']=Object['assign'](_0x47715c['ast']['dictionary'],_0x5c90d0),_0x47715c['ast']['getPluralForm']=_0x270d86;})(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':_0x4a2c0c=>0x1!=_0x4a2c0c}};
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':_0x76c209=>0x1!=_0x76c209}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x23dd34=>{const {az:{dictionary:_0x1e8867,getPluralForm:_0x33f1b0}}={'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':_0x4e96dc=>0x1!=_0x4e96dc}};_0x23dd34['az']||={'dictionary':{},'getPluralForm':null},_0x23dd34['az']['dictionary']=Object['assign'](_0x23dd34['az']['dictionary'],_0x1e8867),_0x23dd34['az']['getPluralForm']=_0x33f1b0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3e41c9=>{const {az:{dictionary:_0x2ed56a,getPluralForm:_0x72146a}}={'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':_0x400ca5=>0x1!=_0x400ca5}};_0x3e41c9['az']||={'dictionary':{},'getPluralForm':null},_0x3e41c9['az']['dictionary']=Object['assign'](_0x3e41c9['az']['dictionary'],_0x2ed56a),_0x3e41c9['az']['getPluralForm']=_0x72146a;})(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':_0x2d4f5f=>_0x2d4f5f%0xa==0x1&&_0x2d4f5f%0x64!=0xb?0x0:_0x2d4f5f%0xa>=0x2&&_0x2d4f5f%0xa<=0x4&&(_0x2d4f5f%0x64<0xa||_0x2d4f5f%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':_0x1aee31=>_0x1aee31%0xa==0x1&&_0x1aee31%0x64!=0xb?0x0:_0x1aee31%0xa>=0x2&&_0x1aee31%0xa<=0x4&&(_0x1aee31%0x64<0xa||_0x1aee31%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x48bc8a=>{const {be:{dictionary:_0x1f8d9d,getPluralForm:_0x5edb7f}}={'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':_0x4d73dd=>_0x4d73dd%0xa==0x1&&_0x4d73dd%0x64!=0xb?0x0:_0x4d73dd%0xa>=0x2&&_0x4d73dd%0xa<=0x4&&(_0x4d73dd%0x64<0xa||_0x4d73dd%0x64>=0x14)?0x1:0x2}};_0x48bc8a['be']||={'dictionary':{},'getPluralForm':null},_0x48bc8a['be']['dictionary']=Object['assign'](_0x48bc8a['be']['dictionary'],_0x1f8d9d),_0x48bc8a['be']['getPluralForm']=_0x5edb7f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x32bab6=>{const {be:{dictionary:_0x4fa21e,getPluralForm:_0x35c941}}={'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':_0x190d3a=>_0x190d3a%0xa==0x1&&_0x190d3a%0x64!=0xb?0x0:_0x190d3a%0xa>=0x2&&_0x190d3a%0xa<=0x4&&(_0x190d3a%0x64<0xa||_0x190d3a%0x64>=0x14)?0x1:0x2}};_0x32bab6['be']||={'dictionary':{},'getPluralForm':null},_0x32bab6['be']['dictionary']=Object['assign'](_0x32bab6['be']['dictionary'],_0x4fa21e),_0x32bab6['be']['getPluralForm']=_0x35c941;})(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':_0x48d529=>0x1!=_0x48d529}};
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':_0x4430d0=>0x1!=_0x4430d0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5552f6=>{const {bg:{dictionary:_0x1bbaee,getPluralForm:_0x1a9e1a}}={'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':_0x4e27bc=>0x1!=_0x4e27bc}};_0x5552f6['bg']||={'dictionary':{},'getPluralForm':null},_0x5552f6['bg']['dictionary']=Object['assign'](_0x5552f6['bg']['dictionary'],_0x1bbaee),_0x5552f6['bg']['getPluralForm']=_0x1a9e1a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x151bd1=>{const {bg:{dictionary:_0x2fec41,getPluralForm:_0x1cc34a}}={'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':_0x49e852=>0x1!=_0x49e852}};_0x151bd1['bg']||={'dictionary':{},'getPluralForm':null},_0x151bd1['bg']['dictionary']=Object['assign'](_0x151bd1['bg']['dictionary'],_0x2fec41),_0x151bd1['bg']['getPluralForm']=_0x1cc34a;})(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':_0x5e0001=>0x1!=_0x5e0001}};
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':_0x3e0038=>0x1!=_0x3e0038}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x581eb3=>{const {bn:{dictionary:_0xa22750,getPluralForm:_0xd9493c}}={'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':_0x253635=>0x1!=_0x253635}};_0x581eb3['bn']||={'dictionary':{},'getPluralForm':null},_0x581eb3['bn']['dictionary']=Object['assign'](_0x581eb3['bn']['dictionary'],_0xa22750),_0x581eb3['bn']['getPluralForm']=_0xd9493c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x12c7c6=>{const {bn:{dictionary:_0x12785d,getPluralForm:_0x54fce2}}={'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':_0x162764=>0x1!=_0x162764}};_0x12c7c6['bn']||={'dictionary':{},'getPluralForm':null},_0x12c7c6['bn']['dictionary']=Object['assign'](_0x12c7c6['bn']['dictionary'],_0x12785d),_0x12c7c6['bn']['getPluralForm']=_0x54fce2;})(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':_0x301cf4=>_0x301cf4%0xa==0x1&&_0x301cf4%0x64!=0xb?0x0:_0x301cf4%0xa>=0x2&&_0x301cf4%0xa<=0x4&&(_0x301cf4%0x64<0xa||_0x301cf4%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':_0x261d70=>_0x261d70%0xa==0x1&&_0x261d70%0x64!=0xb?0x0:_0x261d70%0xa>=0x2&&_0x261d70%0xa<=0x4&&(_0x261d70%0x64<0xa||_0x261d70%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2bfd10=>{const {bs:{dictionary:_0x26b531,getPluralForm:_0x26c4bb}}={'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':_0x168903=>_0x168903%0xa==0x1&&_0x168903%0x64!=0xb?0x0:_0x168903%0xa>=0x2&&_0x168903%0xa<=0x4&&(_0x168903%0x64<0xa||_0x168903%0x64>=0x14)?0x1:0x2}};_0x2bfd10['bs']||={'dictionary':{},'getPluralForm':null},_0x2bfd10['bs']['dictionary']=Object['assign'](_0x2bfd10['bs']['dictionary'],_0x26b531),_0x2bfd10['bs']['getPluralForm']=_0x26c4bb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x37cc80=>{const {bs:{dictionary:_0x449ddb,getPluralForm:_0x3e20b2}}={'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':_0x180fa3=>_0x180fa3%0xa==0x1&&_0x180fa3%0x64!=0xb?0x0:_0x180fa3%0xa>=0x2&&_0x180fa3%0xa<=0x4&&(_0x180fa3%0x64<0xa||_0x180fa3%0x64>=0x14)?0x1:0x2}};_0x37cc80['bs']||={'dictionary':{},'getPluralForm':null},_0x37cc80['bs']['dictionary']=Object['assign'](_0x37cc80['bs']['dictionary'],_0x449ddb),_0x37cc80['bs']['getPluralForm']=_0x3e20b2;})(window['CKEDITOR_TRANSLATIONS']||={});