@ckeditor/ckeditor5-uploadcare 47.7.4 → 47.7.5

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 _0x384b05,Command as _0x5163d4}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x10dcd1,IconGooglePhotos as _0x233023,IconGoogleDrive as _0x4b4509,IconFacebook as _0x438a28,IconDropbox as _0x574277,IconUploadcareLink as _0x32594f,IconUploadcareImageUpload as _0x475b9f,IconError as _0x5a9918,IconUploadcareImageEdit as _0x3194c0}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x586a1a,MenuBarMenuListItemButtonView as _0x316074,View as _0x50309c,FocusCycler as _0x415612,Dialog as _0x4af5cd,DialogViewPosition as _0x3caf1c,SpinnerView as _0x1b9c2e,IconView as _0xc7ecbe,Notification as _0x56a37f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xa2702b,DomEmitterMixin as _0x106bbc,global as _0x338233,getAncestors as _0x55687f,ObservableMixin as _0x288475,uid as _0x195b79,createElement as _0x1f8550}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1d11e6}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5e8699,info as _0x7d58b1}from'@uploadcare/upload-client';import*as _0xa30f48 from'@uploadcare/file-uploader';var i=function(_0x39751d){return _0x39751d['Local']='local',_0x39751d['URL']='url',_0x39751d['Dropbox']='dropbox',_0x39751d['GDrive']='gdrive',_0x39751d['Facebook']='facebook',_0x39751d['GPhotos']='gphotos',_0x39751d['OneDrive']='onedrive',_0x39751d;}({});function _(_0x239b53,_0x5d8a18,_0x112edf){const t=_0x239b53['t'],_0x202fe9=_0x239b53['t'];switch(_0x5d8a18){case i['Local']:return{'text':_0x202fe9('Insert'===_0x112edf?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x202fe9('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x112edf?_0x202fe9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x202fe9('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x112edf?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x112edf?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x112edf?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x112edf?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x112edf?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5d8a18;}}class e extends _0x384b05{['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 _0x428d53=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1c53a2;for(const _0x26ef01 in _0x428d53){const _0x1c1f08=_0x26ef01,_0x564163=_0x428d53[_0x1c1f08];if('uploadcareLicenseKeyValid'==_0x564163||'uploadcareLicenseKeyInvalid'==_0x564163||'uploadcareLicenseKeyExpired'==_0x564163||'uploadcareLicenseKeyDomainLimit'==_0x564163||'uploadcareLicenseKeyNotAllowed'==_0x564163||'uploadcareLicenseKeyEvaluationLimit'==_0x564163||'uploadcareLicenseKeyUsageLimit'==_0x564163){delete _0x428d53[_0x1c1f08],_0x1c53a2=_0x564163,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1c53a2&&_0x428d53['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1c53a2&&_0x428d53['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1c53a2&&_0x428d53['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1c53a2&&_0x428d53['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1c53a2&&_0x428d53['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1c53a2&&_0x428d53['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5b99cb}=this,_0x101ece=_0x5b99cb['commands']['get']('uploadcare');if(!_0x101ece)return;const _0x4aa1bf=this['_normalizeConfigSourceList'](_0x5b99cb['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3c8fa4,_0x4a6843)=>{const _0x34cf3a=this['_getIntegrationKey'](_0x4a6843['type']);return _0x3c8fa4[_0x34cf3a]||(_0x3c8fa4[_0x34cf3a]=[]),_0x3c8fa4[_0x34cf3a]['push'](_0x4a6843),_0x3c8fa4;},{});_0x5b99cb['plugins']['has']('ImageInsertUI')&&_0x5b99cb['commands']['get']('uploadcare')&&Object['entries'](_0x4aa1bf)['forEach'](([_0x5b0747,_0x553741])=>{_0x5b99cb['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5b0747,'observable':()=>_0x101ece,'buttonViewCreator':()=>this['_createToolbarButton'](_0x553741),'formViewCreator':()=>this['_createDropdownButtons'](_0x553741),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x553741),'override':'assetManager'!==_0x5b0747});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1c9503){const {locale:_0x59ee07}=this['editor'];return _0x1c9503['map'](_0x4f3522=>{const _0x3659a7=_(_0x59ee07,_0x4f3522,'Insert');switch(_0x4f3522){case i['Local']:return{'icon':_0x475b9f,'type':i['Local'],..._0x3659a7};case i['URL']:return{'icon':_0x32594f,'type':i['URL'],..._0x3659a7};case i['Dropbox']:return{'icon':_0x574277,'type':i['Dropbox'],..._0x3659a7};case i['Facebook']:return{'icon':_0x438a28,'type':i['Facebook'],..._0x3659a7};case i['GDrive']:return{'icon':_0x4b4509,'type':i['GDrive'],..._0x3659a7};case i['GPhotos']:return{'icon':_0x233023,'type':i['GPhotos'],..._0x3659a7};case i['OneDrive']:return{'icon':_0x10dcd1,'type':i['OneDrive'],..._0x3659a7};}});}['_getIntegrationKey'](_0x442ad6){switch(_0x442ad6){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3df638,_0x1ca8b1){const _0x2d1225=this['editor'],_0x32b5c8=new _0x3df638(_0x2d1225['locale']),_0x304b0c=_0x2d1225['commands']['get']('uploadcare');return _0x32b5c8['bind']('isEnabled')['to'](_0x304b0c),_0x32b5c8['on']('execute',()=>{_0x304b0c['execute'](_0x1ca8b1);}),_0x32b5c8;}['_createToolbarButton'](_0x30bae2){const {locale:_0x5c52c4}=this['editor'],_0x5517ad=this['editor']['plugins']['get']('ImageInsertUI'),_0xe3f2f3=_0x30bae2[0x0],_0xf51606=this['_createButton'](_0x586a1a,_0xe3f2f3['type']);return _0xf51606['icon']=_0xe3f2f3['icon'],_0xf51606['bind']('label')['to'](_0x5517ad,'isImageSelected',_0x937d56=>_(_0x5c52c4,_0xe3f2f3['type'],_0x937d56?'Replace':'Insert')['text']),_0xf51606['tooltip']=!0x0,_0xf51606;}['_createDropdownButtons'](_0x2fd422){const {locale:_0x1058cd}=this['editor'],_0x92c9e8=this['editor']['plugins']['get']('ImageInsertUI');return _0x2fd422['map'](_0x26d7dd=>{const _0x52f3b1=this['_createButton'](_0x586a1a,_0x26d7dd['type']);return _0x52f3b1['withText']=!0x0,_0x52f3b1['icon']=_0x26d7dd['icon'],_0x52f3b1['bind']('label')['to'](_0x92c9e8,'isImageSelected',_0x12f772=>_(_0x1058cd,_0x26d7dd['type'],_0x12f772?'Replace':'Insert')['text']),_0x52f3b1;});}['_createMenuBarButtons'](_0x3f29c5){return _0x3f29c5['map'](_0x577319=>{const _0x9f0f8c=this['_createButton'](_0x316074,_0x577319['type']);return _0x9f0f8c['icon']=_0x577319['icon'],_0x9f0f8c['label']=_0x577319['shortText'],_0x9f0f8c;});}}class F extends _0x50309c{['focusTracker'];['focusCycler'];constructor(_0x53bbf8){super(_0x53bbf8),this['focusTracker']=new _0xa2702b(),this['focusCycler']=new _0x415612({'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 H extends F{constructor(_0x411758,_0x24e9dd){super(_0x411758),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-'+_0x24e9dd}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function A(_0x5dd990,_0x4fe51f){const _0x3251f7=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xea67fa=>_0xea67fa<=_0x4fe51f)['map'](_0x45c7d7=>_0x5dd990['replace'](/\/$/,'')+'/-/resize/'+_0x45c7d7+'x/\x20'+_0x45c7d7+'w');return{'imageFallbackUrl':_0x5dd990,'imageSources':[{'srcset':_0x3251f7['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4fe51f+'px)\x20100vw,\x20'+_0x4fe51f+'px','type':'image/webp'}]};}function x(_0x3a9d56,_0xb54f03,_0x509256){const _0x146638=_0x3a9d56['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x146638?parseInt(_0x146638[0x1],0xa):_0xb54f03,'height':_0x146638?parseInt(_0x146638[0x2],0xa):_0x509256};}function p(_0x245aa1,_0x32e389){const _0x1629d9=new(_0x106bbc())(),_0x2b9e0d=_0x245aa1['plugins']['get']('ImageUtils'),_0x4316b7=_0x245aa1['editing']['mapper']['toViewElement'](_0x32e389),_0x31e33b=_0x2b9e0d['findViewImgElement'](_0x4316b7),_0x2658f2=_0x245aa1['editing']['view']['domConverter']['viewToDom'](_0x31e33b),_0x5ba3c2=_0x32e389['getAttribute']('width'),_0xe997a9=_0x32e389['getAttribute']('height'),_0x54ebaa='image-processing';_0x245aa1['editing']['view']['change'](_0x12d5a0=>{_0x12d5a0['addClass'](_0x54ebaa,_0x4316b7),_0x12d5a0['setStyle']('aspect-ratio',_0x5ba3c2+'/'+_0xe997a9,_0x31e33b);}),_0x1629d9['listenTo'](_0x2658f2,'load',()=>{_0x1629d9['stopListening'](_0x2658f2,'load'),_0x245aa1['editing']['view']['change'](_0x44925e=>{_0x44925e['removeClass'](_0x54ebaa,_0x4316b7),_0x44925e['removeStyle']('aspect-ratio',_0x31e33b);});});}function S(_0x23d8b8){if(Array['isArray'](_0x23d8b8)){const _0x79374=_0x23d8b8['map'](S);return _0x3942e0=>_0x79374['some'](_0x3c476b=>_0x3c476b(_0x3942e0));}if('origin'==_0x23d8b8){const _0x464a82=_0x338233['window']['location']['origin'];return _0x18b3bc=>new URL(_0x18b3bc,_0x338233['document']['baseURI'])['origin']==_0x464a82;}return'function'==typeof _0x23d8b8?_0x23d8b8:_0x23d8b8 instanceof RegExp?_0x3e3c1c=>!(!_0x3e3c1c['match'](_0x23d8b8)&&!_0x3e3c1c['replace'](/^https?:\/\//,'')['match'](_0x23d8b8)):()=>!0x1;}function C(_0x5a189e,_0x14b6bf){return _0x55687f(_0x5a189e['target'])['includes'](_0x14b6bf);}class n extends/* #__PURE__ -- @preserve */
24
- _0x288475(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4a5a57,_0x1db378,_0x5f1d73){super(),this['_editor']=_0x4a5a57,this['_editing']=_0x1db378,this['_dialog']=_0x4a5a57['plugins']['get'](_0x4af5cd),this['_api']=_0x1db378['ctxElement']['getAPI'](),this['_type']=_0x5f1d73,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:_0x5a19eb,model:_0x56414b}=this['_editor'],_0x37eb56=_0x56414b['document']['selection']['getSelectedElement'](),_0x3d1340=_0x37eb56&&(_0x37eb56['is']('element','imageBlock')||_0x37eb56['is']('element','imageInline'));this['_formView']=new H(_0x5a19eb,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x475b9f,'title':_(_0x5a19eb,this['_type'],_0x3d1340?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3caf1c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x37cba0=>!C(_0x37cba0,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x444e02}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x194892=>{const _0x4e1095=_0x444e02['length'];for(const _0x56075c of _0x444e02){const _0x40d917=_0x56075c===_0x444e02[_0x4e1095-0x1],{cdnUrl:_0x1a6d52,fileInfo:_0x13ecfd}=_0x56075c;if(!_0x1a6d52||!_0x13ecfd)continue;const {width:_0x279cd0,height:_0x7c1013}=_0x13ecfd['imageInfo'],_0x119618=x(_0x1a6d52,_0x279cd0,_0x7c1013),_0x9ec3da=A(_0x1a6d52,_0x119618['width']),_0x12ac10={'id':_0x13ecfd['uuid'],'type':'image','attributes':{'imageDimension':_0x119618,..._0x9ec3da}};this['_insertAsset'](_0x12ac10,_0x40d917,_0x194892);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x347466=>{'idle'===_0x347466['detail']['status']&&!_0x347466['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1b7dce,_0x326a6c,_0x7bc858){const _0x30e626=this['_editor']['model']['document']['selection'],_0x32fc28=_0x30e626['getSelectedElement'](),_0x2bf4d8=!(!_0x32fc28||!_0x32fc28['is']('element','imageInline'));_0x7bc858['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1b7dce,_0x2bf4d8),_0x326a6c||_0x7bc858['setSelection'](_0x30e626['getLastPosition']());}['_insertImage'](_0x14e827,_0x2eb465){const _0x5ed8f4=this['_editor'],{imageDimension:_0x382c13,imageFallbackUrl:_0x297c10,imageSources:_0x45a952}=_0x14e827['attributes'];_0x5ed8f4['execute']('insertImage',{'imageType':_0x2eb465?'imageInline':null,'source':{'uploadcareImageId':_0x14e827['id'],'src':_0x297c10,'sources':_0x45a952,..._0x382c13}});}}class w extends _0x5163d4{['_editing'];['_controller']=null;static get['requires'](){return[_0x4af5cd,o];}constructor(_0x542366){super(_0x542366),this['_editing']=_0x542366['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x58ce06){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x58ce06);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5dc2b0,..._0x4ac71e}){return _0x5e8699(_0x5dc2b0,_0x4ac71e);}static['getInfo'](_0x52b487,_0x24bcb4){return _0x7d58b1(_0x52b487,_0x24bcb4);}}class f extends _0x384b05{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1d11e6,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x42af55=this['editor'];if(!!!_0x42af55['config']['get']('uploadcare'))return;_0x42af55['plugins']['get'](_0x1d11e6)['createUploadAdapter']=_0x10fc3a=>new Adapter(_0x10fc3a,_0x42af55),_0x42af55['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x114fe7,{imageElement:_0x45f4b8,data:_0x44c513})=>{_0x42af55['model']['change'](_0x58c441=>{_0x58c441['setAttribute']('uploadcareImageId',_0x44c513['uploadcareImageId'],_0x45f4b8);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x1e396c,_0x5b4706){this['loader']=_0x1e396c,this['editor']=_0x5b4706,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2a19bb=await this['loader']['file'];return j['upload']({'file':_0x2a19bb,'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':_0xf496a8=>{_0xf496a8&&_0xf496a8['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xf496a8['value']);}})['then'](async _0x5c84e4=>{const {imageFallbackUrl:_0x37e5fb,imageSources:_0x3d0086}=A(_0x5c84e4['cdnUrl'],_0x5c84e4['imageInfo']['width']);return{'uploadcareImageId':_0x5c84e4['uuid'],'default':_0x37e5fb,'sources':_0x3d0086};})['catch'](()=>{const _0x1d525a=t('Cannot\x20upload\x20file:')+('\x20'+_0x2a19bb['name']+'.');return Promise['reject'](_0x1d525a);});}['abort'](){this['controller']['abort']();}}class o extends _0x384b05{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4af5cd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5d9f11){super(_0x5d9f11),this['ucContextId']=_0x195b79();}['init'](){const _0x4198b5=this['editor'];_0x4198b5['commands']['add']('uploadcare',new w(_0x4198b5));}['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 _0x40f44b=_0x338233['document']['querySelector']('input[uploadcare-file-input]');_0x40f44b&&_0x40f44b['remove']();}),async function(_0xfbec30){const _0x43825f=_0x42b4d6([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]),_0x274b86=0x535f8c3a,_0x2d97df=0x535819fa^_0x274b86,_0x421156=window[_0x42b4d6([0x44,0x61,0x74,0x65])][_0x42b4d6([0x6e,0x6f,0x77])](),_0x26dc7e=_0xfbec30[_0x42b4d6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x345698=new window[(_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ca277=>{_0x26dc7e[_0x42b4d6([0x6f,0x6e,0x63,0x65])](_0x42b4d6([0x72,0x65,0x61,0x64,0x79]),_0x5ca277);}),_0x51e58c={[_0x42b4d6([0x6b,0x74,0x79])]:_0x42b4d6([0x45,0x43]),[_0x42b4d6([0x75,0x73,0x65])]:_0x42b4d6([0x73,0x69,0x67]),[_0x42b4d6([0x63,0x72,0x76])]:_0x42b4d6([0x50,0x2d,0x32,0x35,0x36]),[_0x42b4d6([0x78])]:_0x42b4d6([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]),[_0x42b4d6([0x79])]:_0x42b4d6([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]),[_0x42b4d6([0x61,0x6c,0x67])]:_0x42b4d6([0x45,0x53,0x32,0x35,0x36])},_0x105d55=_0x26dc7e[_0x42b4d6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42b4d6([0x67,0x65,0x74])](_0x42b4d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c054a(){let _0x36d00,_0x3a66b3=null,_0x2297a4=null;try{if(_0x105d55==_0x42b4d6([0x47,0x50,0x4c]))return _0x42b4d6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36d00=_0x3e5125(),!_0x36d00)return _0x42b4d6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36d00[_0x42b4d6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2297a4=_0x3cbf14(_0x36d00[_0x42b4d6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36d00[_0x42b4d6([0x6a,0x74,0x69])])),await _0x42d22a()?_0x2294da()?_0x521068()?_0x42b4d6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x233912()?(_0x36d00[_0x42b4d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42b4d6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a66b3=_0x20d920(_0x42b4d6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28181e()):_0x42b4d6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42b4d6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42b4d6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42b4d6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x521068(){const _0x38c758=[_0x42b4d6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42b4d6([0x74,0x72,0x69,0x61,0x6c])][_0x42b4d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36d00[_0x42b4d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x421156/0x3e8:0xe10*_0x2d97df;return _0x36d00[_0x42b4d6([0x65,0x78,0x70])]<_0x38c758;}function _0x2294da(){const _0x29d34c=_0x36d00[_0x42b4d6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x29d34c&&(!!_0x29d34c[_0x42b4d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42b4d6([0x2a]))||!!_0x29d34c[_0x42b4d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42b4d6([0x55,0x50,0x4c,0x43])));}function _0x233912(){const _0x5629ac=_0x36d00[_0x42b4d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5629ac||0x0==_0x5629ac[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x388d61}=new URL(window[_0x42b4d6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5629ac[_0x42b4d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x388d61))return!0x0;const _0x40366d=_0x388d61[_0x42b4d6([0x73,0x70,0x6c,0x69,0x74])](_0x42b4d6([0x2e]));return _0x5629ac[_0x42b4d6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x563f99=>_0x563f99[_0x42b4d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42b4d6([0x2a])))[_0x42b4d6([0x6d,0x61,0x70])](_0x458e63=>_0x458e63[_0x42b4d6([0x73,0x70,0x6c,0x69,0x74])](_0x42b4d6([0x2e])))[_0x42b4d6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x221561=>_0x221561[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40366d[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42b4d6([0x6d,0x61,0x70])](_0x5d3a8c=>Array(_0x40366d[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d3a8c[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42b4d6([0x66,0x69,0x6c,0x6c])](_0x5d3a8c[0x0]===_0x42b4d6([0x2a])?_0x42b4d6([0x2a]):'')[_0x42b4d6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d3a8c))[_0x42b4d6([0x73,0x6f,0x6d,0x65])](_0xeefcae=>_0x40366d[_0x42b4d6([0x65,0x76,0x65,0x72,0x79])]((_0x1b5233,_0x1ec128)=>_0xeefcae[_0x1ec128]===_0x1b5233||_0xeefcae[_0x1ec128]===_0x42b4d6([0x2a])));}function _0x28181e(){return _0x3a66b3&&_0x2297a4?new window[(_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4299dd,_0x3ec2eb)=>{_0x3a66b3[_0x42b4d6([0x74,0x68,0x65,0x6e])](_0x4299dd,_0x3ec2eb),_0x2297a4[_0x42b4d6([0x74,0x68,0x65,0x6e])](_0x3ff74f=>{_0x3ff74f!=_0x42b4d6([0x56,0x61,0x6c,0x69,0x64])&&_0x4299dd(_0x3ff74f);},_0x3ec2eb);}):_0x3a66b3||_0x2297a4||_0x42b4d6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cbf14(_0x1ec520,_0x626a2a){return new window[(_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3452aa=>{if(_0x28ad0c())return _0x3452aa(_0x42b4d6([0x56,0x61,0x6c,0x69,0x64]));_0x39852b(),_0x26dc7e[_0x42b4d6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42b4d6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x9a0e47=!0x1;const _0x3a7c1f=_0x195b79();function _0x12604a(_0x349e0b){return!!_0x349e0b&&(typeof _0x349e0b===_0x42b4d6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x349e0b===_0x42b4d6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x349e0b[_0x42b4d6([0x74,0x68,0x65,0x6e])]===_0x42b4d6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x349e0b[_0x42b4d6([0x63,0x61,0x74,0x63,0x68])]===_0x42b4d6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x279ee0(_0x338442){_0x2c1114(_0x338442)[_0x42b4d6([0x74,0x68,0x65,0x6e])](_0x55c1b6=>{if(!_0x55c1b6||_0x55c1b6[_0x42b4d6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42b4d6([0x6f,0x6b]))return _0x42b4d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1556ef(_0x34ec95(_0x3a7c1f+_0x626a2a))!=_0x55c1b6[_0x42b4d6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42b4d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42b4d6([0x56,0x61,0x6c,0x69,0x64]);})[_0x42b4d6([0x74,0x68,0x65,0x6e])](_0x1d146d=>(_0x583604(),_0x1d146d),()=>{const _0x2fadd0=_0x2c162c();return null==_0x2fadd0?(_0x583604(),_0x42b4d6([0x56,0x61,0x6c,0x69,0x64])):_0x42b4d6(_0x421156-_0x2fadd0>(0x7753083a^_0x274b86)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42b4d6([0x74,0x68,0x65,0x6e])](_0x3452aa)[_0x42b4d6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3452aa(_0x42b4d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2beae6=0x536962ba^_0x274b86;function _0x583604(){const _0x5d4087=_0x42b4d6([0x6c,0x6c,0x63,0x74,0x2d])+_0x1556ef(_0x34ec95(_0x1ec520)),_0x453c7d=_0xbd054b(_0x1556ef(window[_0x42b4d6([0x4d,0x61,0x74,0x68])][_0x42b4d6([0x63,0x65,0x69,0x6c])](_0x421156/_0x2beae6)));window[_0x42b4d6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42b4d6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d4087,_0x453c7d);}function _0x2c162c(){const _0x18a707=_0x42b4d6([0x6c,0x6c,0x63,0x74,0x2d])+_0x1556ef(_0x34ec95(_0x1ec520)),_0x27d906=window[_0x42b4d6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42b4d6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18a707);return _0x27d906?window[_0x42b4d6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbd054b(_0x27d906),0x10)*_0x2beae6:null;}function _0x2c1114(_0x11006a){return new window[(_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b0684,_0x48b8a1)=>{_0x11006a[_0x42b4d6([0x74,0x68,0x65,0x6e])](_0x3b0684,_0x48b8a1),window[_0x42b4d6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48b8a1,0x535e58fa^_0x274b86);});}}_0x26dc7e[_0x42b4d6([0x6f,0x6e])](_0x42b4d6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d2398,_0x56a748)=>{if(_0x56a748[0x0]!=_0x1ec520)return _0x3452aa(_0x42b4d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x56a748[0x1]={..._0x56a748[0x1],[_0x42b4d6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3a7c1f};},{[_0x42b4d6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42b4d6([0x68,0x69,0x67,0x68])}),_0x26dc7e[_0x42b4d6([0x6f,0x6e])](_0x42b4d6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e4e97=>{_0x12604a(_0x3e4e97[_0x42b4d6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x9a0e47=!0x0,_0x279ee0(_0x3e4e97[_0x42b4d6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42b4d6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42b4d6([0x6c,0x6f,0x77])}),_0x345698[_0x42b4d6([0x74,0x68,0x65,0x6e])](()=>{_0x9a0e47||_0x3452aa(_0x42b4d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28ad0c(){return _0x26dc7e[_0x42b4d6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42b4d6([0x76,0x69,0x65,0x77])][_0x42b4d6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42b4d6([0x61,0x75,0x74,0x6f]);}function _0x39852b(){_0x26dc7e[_0x42b4d6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42b4d6([0x76,0x69,0x65,0x77])][_0x42b4d6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42b4d6([0x61,0x75,0x74,0x6f]);}}function _0x20d920(_0xb8fd9b){const _0x13469f=[new window[(_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x503b2e=>setTimeout(_0x503b2e,0x5356b2f6^_0x274b86)),_0x345698[_0x42b4d6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x182cf2=>{let _0x56bcff=0x0;_0x26dc7e[_0x42b4d6([0x6d,0x6f,0x64,0x65,0x6c])][_0x42b4d6([0x6f,0x6e])](_0x42b4d6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x225a03,_0x98a618)=>{_0x98a618[0x0][_0x42b4d6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56bcff++,_0x56bcff==(0x535f89d2^_0x274b86)&&(_0x182cf2(),_0x225a03[_0x42b4d6([0x6f,0x66,0x66])]());});}))];return window[_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42b4d6([0x72,0x61,0x63,0x65])](_0x13469f)[_0x42b4d6([0x74,0x68,0x65,0x6e])](()=>_0xb8fd9b);}async function _0x1e8298(){await _0x345698,_0x26dc7e[_0x42b4d6([0x6d,0x6f,0x64,0x65,0x6c])][_0x42b4d6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4dbd4f,_0x26dc7e[_0x42b4d6([0x6d,0x6f,0x64,0x65,0x6c])][_0x42b4d6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4dbd4f,_0x26dc7e[_0x42b4d6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42b4d6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x148e0e(_0x4612c6){const _0x2d7bd3=_0x1b5e32();_0x26dc7e[_0x2d7bd3]=_0x42b4d6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4612c6,_0x4612c6!=_0x42b4d6([0x56,0x61,0x6c,0x69,0x64])&&_0x1e8298();}function _0x1b5e32(){const _0x109531=window[_0x42b4d6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42b4d6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42b4d6([0x6e,0x6f,0x77])]())[_0x42b4d6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42b4d6([0x2e]),'');let _0x445455=_0x42b4d6([0x68]);for(let _0xdd6810=0x0;_0xdd6810<_0x109531[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdd6810+=0x2){let _0x2ab80a=window[_0x42b4d6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x109531[_0x42b4d6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdd6810,_0xdd6810+0x2));_0x2ab80a>=_0x43825f[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ab80a-=_0x43825f[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x445455+=_0x43825f[_0x2ab80a];}return _0x445455;}function _0x3e5125(){const _0x435b9f=_0x105d55[_0x42b4d6([0x73,0x70,0x6c,0x69,0x74])](_0x42b4d6([0x2e]));if(0x3!=_0x435b9f[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x233809(_0x435b9f[0x1]);function _0x233809(_0x4e8715){const _0xf6db00=_0x678a11(_0x4e8715);return _0xf6db00&&_0x150b8b()?_0xf6db00:null;function _0x150b8b(){const _0x584330=_0xf6db00[_0x42b4d6([0x6a,0x74,0x69])],_0x2ea649=window[_0x42b4d6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x584330[_0x42b4d6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x584330[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x8f7102={..._0xf6db00,[_0x42b4d6([0x6a,0x74,0x69])]:_0x584330[_0x42b4d6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x584330[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x8f7102[_0x42b4d6([0x76,0x63])],_0x34ec95(_0x8f7102)==_0x2ea649;}}}async function _0x42d22a(){let _0x25e7fe=!0x0;try{const _0x11ffa6=_0x105d55[_0x42b4d6([0x73,0x70,0x6c,0x69,0x74])](_0x42b4d6([0x2e])),[_0x2849e2,_0x788cf4,_0x30e848]=_0x11ffa6;return _0x5f485d(_0x2849e2),await _0x4665b8(_0x2849e2,_0x788cf4,_0x30e848),_0x25e7fe;}catch{return!0x1;}function _0x5f485d(_0x3412c5){const _0x9aa15a=_0x678a11(_0x3412c5);_0x9aa15a&&_0x9aa15a[_0x42b4d6([0x61,0x6c,0x67])]==_0x42b4d6([0x45,0x53,0x32,0x35,0x36])||(_0x25e7fe=!0x1);}async function _0x4665b8(_0x429af0,_0x58a879,_0x15d060){const _0x8a52f2=window[_0x42b4d6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42b4d6([0x66,0x72,0x6f,0x6d])](_0xc0e53(_0x15d060),_0x40aebc=>_0x40aebc[_0x42b4d6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d21a6=new window[(_0x42b4d6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42b4d6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x429af0+_0x42b4d6([0x2e])+_0x58a879),_0x32cca4=window[_0x42b4d6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42b4d6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x32cca4)return;const _0x1cc3da=await _0x32cca4[_0x42b4d6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42b4d6([0x6a,0x77,0x6b]),_0x51e58c,{[_0x42b4d6([0x6e,0x61,0x6d,0x65])]:_0x42b4d6([0x45,0x43,0x44,0x53,0x41]),[_0x42b4d6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42b4d6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42b4d6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x32cca4[_0x42b4d6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42b4d6([0x6e,0x61,0x6d,0x65])]:_0x42b4d6([0x45,0x43,0x44,0x53,0x41]),[_0x42b4d6([0x68,0x61,0x73,0x68])]:{[_0x42b4d6([0x6e,0x61,0x6d,0x65])]:_0x42b4d6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1cc3da,_0x8a52f2,_0x5d21a6)||(_0x25e7fe=!0x1);}}function _0x678a11(_0x272bbc){return _0x272bbc[_0x42b4d6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42b4d6([0x65,0x79]))?JSON[_0x42b4d6([0x70,0x61,0x72,0x73,0x65])](_0xc0e53(_0x272bbc)):null;}function _0xc0e53(_0x49e943){return window[_0x42b4d6([0x61,0x74,0x6f,0x62])](_0x49e943[_0x42b4d6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42b4d6([0x2b]))[_0x42b4d6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42b4d6([0x2f])));}function _0x34ec95(_0x29b354){let _0x30cd5e=0x1505;function _0x161bf0(_0x227a15){for(let _0x1ebe78=0x0;_0x1ebe78<_0x227a15[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ebe78++){const _0x5c1441=_0x227a15[_0x42b4d6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ebe78);_0x30cd5e=(_0x30cd5e<<0x5)+_0x30cd5e+_0x5c1441,_0x30cd5e&=_0x30cd5e;}}function _0x5b401e(_0x4c83af){Array[_0x42b4d6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4c83af)?_0x4c83af[_0x42b4d6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b401e):_0x4c83af&&typeof _0x4c83af==_0x42b4d6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42b4d6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4c83af)[_0x42b4d6([0x73,0x6f,0x72,0x74])]()[_0x42b4d6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15a84f,_0x50235c])=>{_0x161bf0(_0x15a84f),_0x5b401e(_0x50235c);}):_0x161bf0(window[_0x42b4d6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4c83af));}return _0x5b401e(_0x29b354),_0x30cd5e>>>0x0;}function _0x1556ef(_0x3648e6){return _0x3648e6[_0x42b4d6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42b4d6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42b4d6([0x30]));}function _0xbd054b(_0x55b24c){return _0x55b24c[_0x42b4d6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42b4d6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42b4d6([0x6a,0x6f,0x69,0x6e])]('');}function _0x4dbd4f(){}function _0x42b4d6(_0x7b6404){return _0x7b6404['map'](_0x2b830a=>String['fromCharCode'](_0x2b830a))['join']('');}_0x148e0e(await _0x2c054a());}(this);}['_initSchema'](){const _0x40c704=this['editor']['model']['schema'];_0x40c704['isRegistered']('imageBlock')&&_0x40c704['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x40c704['isRegistered']('imageInline')&&_0x40c704['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1c2605=this['editor'];_0x1c2605['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1c2605['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1d48b0=>_0x1d48b0['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5aa1bb=_0x1c2605['commands']['get']('replaceImageSource');_0x5aa1bb&&this['listenTo'](_0x5aa1bb,'cleanupImage',(_0x46e032,[_0x1d8d65,_0x1a2e47])=>{_0x1d8d65['removeAttribute']('uploadcareImageId',_0x1a2e47);});}['_initConfig'](){const _0x1efdac=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2c8775=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1f8550(_0x338233['document'],'uc-config',{..._0x1efdac,'pubkey':_0x2c8775,'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']=_0xaf8499=>{if('closeMax'==_0xaf8499)return'#uc-icon-arrow-down';},_0x338233['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1f8550(_0x338233['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x338233['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4faf3b=this['editor']['commands']['get']('insertImage');_0x4faf3b&&this['listenTo'](_0x4faf3b,'execute',()=>{const _0x4b9da6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4b9da6&&_0x4b9da6['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4b9da6);});});const _0x48a42f=this['editor']['commands']['get']('uploadcareImageReplace');_0x48a42f&&this['listenTo'](_0x48a42f,'execute',()=>{const _0x3b5b3e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3b5b3e&&_0x3b5b3e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3b5b3e);});});}}class Uploadcare extends _0x384b05{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x24c706){super(_0x24c706),_0x24c706['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0xa30f48['defineComponents'](_0xa30f48),this['_defineLocale']();}['_defineLocale'](){const _0x1d68c2=this['editor']['config']['get']('uploadcare.locale'),_0x3b6a6c=this['editor']['locale']['contentLanguage'];_0x1d68c2&&_0xa30f48['defineLocale'](_0x3b6a6c,_0x1d68c2);}}class ii extends _0x50309c{constructor(_0x3ee113){super(_0x3ee113);const t=_0x3ee113['t'],_0x35ed1f=this['bindTemplate'],_0xfc097b=new _0x1b9c2e();_0xfc097b['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':[_0xfc097b,{'text':_0x35ed1f['to']('imageUploadProgress',_0x4eefc1=>t('Loading\x20image...')+'\x20('+(_0x4eefc1||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 _0x50309c{constructor(_0x13f8fa){super(_0x13f8fa);const t=_0x13f8fa['t'];this['set']('errorType',null);const _0x5a7aa5=new _0x586a1a(_0x13f8fa);_0x5a7aa5['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5a7aa5['withText']=!0x0,_0x5a7aa5['class']='ck-button-action',_0x5a7aa5['on']('execute',()=>{this['fire']('retry');}),_0x5a7aa5['bind']('isVisible')['to'](this,'errorType',_0xbd4002=>'NotFound'!==_0xbd4002);const _0x2824fb=new _0xc7ecbe();_0x2824fb['content']=_0x5a9918,_0x2824fb['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5f28e6=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':[_0x2824fb,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5f28e6['to']('errorType',_0x3056e4=>t('NotFound'!==_0x3056e4?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5a7aa5]},{'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 _0x50309c{constructor(_0x5f186b,_0x31d18d){super(_0x5f186b);const _0xc49faa=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x31d18d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xc49faa['to']('imageSrc')}});}}class W extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x171d38,_0x179bf4,_0x4798b8){super(_0x171d38),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x171d38),this['_errorView']=new ti(_0x171d38),this['_editingView']=new ei(_0x171d38,_0x4798b8),this['_focusableView']=new _0x50309c(_0x171d38),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x179bf4),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'],_0xf35384=>{this['_addUploadcareImageEditorListeners'](_0xf35384);});}),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'](_0x52541e,_0x3e345d){const _0x590b68='uc-cloud-image-editor',_0x41a9d7=_0x52541e['querySelector'](_0x590b68);if(_0x41a9d7)return _0x3e345d(_0x41a9d7);const _0xfca188=new MutationObserver(_0xfb1ee4=>{const _0x38150f=_0xfb1ee4['filter'](_0x28f896=>_0x28f896['target']===_0x52541e&&_0x28f896['addedNodes']['length']>0x0&&_0x28f896['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x590b68);_0x38150f['length']&&(_0xfca188['disconnect'](),_0x3e345d(_0x38150f[0x0]['addedNodes'][0x0]));});_0xfca188['observe'](_0x52541e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x373873){_0x373873['addEventListener']('apply',_0x33c1dd=>{this['fire']('apply',{'imageSrc':_0x33c1dd['detail']['cdnUrl']});}),_0x373873['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x288475(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2fe790,_0x1e48c4,_0x5c5eb0){super(),this['_editor']=_0x2fe790,this['_dialog']=_0x1e48c4,this['_imageElement']=_0x5c5eb0,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 _0x4866c5=this['_imageElement'],_0x26480f=_0x4866c5['getAttribute']('uploadcareImageId'),_0x59b1a9=_0x4866c5['getAttribute']('src');if(_0x26480f)await this['_loadImageInfo'](_0x26480f,_0x59b1a9);else{if(this['_imageCache']['has'](_0x59b1a9)){const _0xe7414c=this['_imageCache']['get'](_0x59b1a9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe7414c['url'],this['imageDimension']=_0xe7414c['dimension'],this['imageId']=_0xe7414c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5ceadf}=this['_editor'],t=_0x5ceadf['t'],_0x5587bf=new W(_0x5ceadf,this['imageStatus'],this['_attributes']);_0x5587bf['bind']('status')['to'](this,'imageStatus'),_0x5587bf['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5587bf['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5587bf['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5587bf,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3194c0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5587bf,'position':_0x3caf1c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5587bf['focus']();},'onHide':()=>{_0x5587bf['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x27fc72=>!C(_0x27fc72,_0x5587bf['element'])}});}['_loadImageInfo'](_0x26fc7a,_0x4d596a){return j['getInfo'](_0x26fc7a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xd35e1a=>{const {width:_0xc9f44a,height:_0x2e2215}=_0xd35e1a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4d596a,this['imageDimension']={'width':_0xc9f44a,'height':_0x2e2215},this['imageId']=_0x26fc7a;})['catch'](_0x33e40f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x33e40f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x42f515,_0x5c558d){return this['_getImageAsFile'](_0x42f515)['then'](_0x48b96f=>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':_0x5c558d['signal'],'file':_0x48b96f,'onProgress':_0x4f4c73=>{_0x4f4c73&&_0x4f4c73['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4f4c73['value']));}}))['then'](_0x2f0466=>{const {width:_0x588813,height:_0xf9c1c2}=_0x2f0466['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2f0466['cdnUrl'],this['imageDimension']={'width':_0x588813,'height':_0xf9c1c2},this['imageId']=_0x2f0466['uuid'],this['imageUploadProgress']=null;const _0x3264f8=_0x42f515['getAttribute']('src');this['_imageCache']['set'](_0x3264f8,{'id':_0x2f0466['uuid'],'url':_0x2f0466['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x14df9c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x14df9c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1e61ac,_0x376c27){_0x1e61ac['on']('apply',(_0xcc46bb,_0x124471)=>{this['_replaceImage'](_0x376c27,_0x124471['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1e61ac['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1e61ac['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5ec343,_0x243931,_0x3f55a1){const _0x1ec8cf=this['_editor'],{width:_0x28d7f7,height:_0x3f0e08}=x(_0x243931,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x216871,imageSources:_0x2bc859}=A(_0x243931,_0x28d7f7);_0x1ec8cf['model']['change'](_0x5e98e5=>{if('$graveyard'===_0x5ec343['root']['rootName']){_0x1ec8cf['execute']('insertImage',{'imageType':_0x5ec343['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5ec343['getAttributes']()),'uploadcareImageId':_0x3f55a1,'src':_0x216871,'sources':_0x2bc859,'width':_0x28d7f7,'height':_0x3f0e08}});const _0x1cf65b=_0x5ec343['getChildren']();_0x5ec343=_0x1ec8cf['model']['document']['selection']['getSelectedElement']();for(const _0x559334 of _0x1cf65b)_0x5e98e5['append'](_0x5e98e5['cloneElement'](_0x559334),_0x5ec343);}else _0x5e98e5['setSelection'](_0x5ec343,'on'),_0x1ec8cf['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5ec343['getAttributes']()),'uploadcareImageId':_0x3f55a1,'src':_0x216871,'sources':_0x2bc859,'width':_0x28d7f7,'height':_0x3f0e08},_0x5ec343);_0x5e98e5['setSelection'](_0x5ec343,'on');});}async['_getImageAsFile'](_0x52805d){const _0x3edbaa=_0x338233['window'],_0x4e39f2=_0x338233['document']['location']['href'],_0x6d3f9b=new _0x3edbaa['URL'](_0x52805d['getAttribute']('src'),_0x4e39f2);if('data:'===_0x6d3f9b['protocol']){const _0x3ed339=_0x6d3f9b['href']['split'](','),_0x2304a3=_0x3ed339[0x0]['match'](/:(.*?);/)[0x1],_0x447573=_0x2304a3['split']('/')[0x1],_0x175734=_0x3edbaa['atob'](_0x3ed339[_0x3ed339['length']-0x1]);let _0x1dcff6=_0x175734['length'];const _0x1b3f43=new _0x3edbaa['Uint8Array'](_0x1dcff6);for(;_0x1dcff6--;)_0x1b3f43[_0x1dcff6]=_0x175734['charCodeAt'](_0x1dcff6);return new _0x3edbaa['File']([_0x1b3f43],'image.'+_0x447573,{'type':_0x2304a3});}const _0x6b66ae=_0x6d3f9b['href']['split']('/'),_0x15eb75=_0x6b66ae[_0x6b66ae['length']-0x1],_0x2a53a2=_0x15eb75['split']('.')[0x1];return _0x3edbaa['fetch'](_0x6d3f9b['href'])['then'](_0x473123=>_0x473123['clone']()['blob']())['then'](_0x22ed5b=>new _0x3edbaa['File']([_0x22ed5b],_0x15eb75,{'type':'image/'+_0x2a53a2}));}}class O extends _0x5163d4{['imageEditController'];static get['requires'](){return[_0x4af5cd];}['_isEditable'];constructor(_0x5404e0){super(_0x5404e0),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x14c9f1){const _0x371cb5=S(_0x14c9f1);return _0x21286c=>!(!_0x21286c||!_0x21286c['is']('element','imageBlock')&&!_0x21286c['is']('element','imageInline'))&&(!!_0x21286c['hasAttribute']('uploadcareImageId')||!!_0x21286c['hasAttribute']('src')&&_0x371cb5(_0x21286c['getAttribute']('src')));}(_0x5404e0['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x38e5ea=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x38e5ea);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2830c1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2830c1&&(_0x2830c1['is']('element','imageBlock')||_0x2830c1['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4af5cd),_0x2830c1),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x5163d4{['refresh'](){const _0xc5df39=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xc5df39&&(_0xc5df39['is']('element','imageBlock')||_0xc5df39['is']('element','imageInline')));}['execute'](_0x194ca9){const _0x42fb06=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x941249=>{_0x941249['setAttributes'](_0x194ca9,_0x42fb06),_0x941249['removeAttribute']('srcset',_0x42fb06),_0x941249['removeAttribute']('sizes',_0x42fb06);});}}class m extends _0x384b05{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x56a37f,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5534cd}=this;_0x5534cd['commands']['add']('uploadcareImageEdit',new O(_0x5534cd)),_0x5534cd['commands']['add']('uploadcareImageReplace',new R(_0x5534cd));}}class g extends _0x384b05{['_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 _0x3fac4b=this['editor'];_0x3fac4b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5ed331=>{const _0x3972bb=_0x3fac4b['commands']['get']('uploadcareImageEdit'),_0xfecd36=new _0x586a1a(_0x5ed331),t=_0x5ed331['t'];return _0xfecd36['set']({'icon':_0x3194c0,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xfecd36['bind']('isEnabled')['to'](_0x3972bb),_0xfecd36['bind']('isOn')['to'](_0x3972bb,'isActive'),this['listenTo'](_0xfecd36,'execute',()=>{_0x3fac4b['execute']('uploadcareImageEdit'),_0x3fac4b['editing']['view']['focus']();}),_0xfecd36;}),this['_initConfig']();}['_initConfig'](){const _0x331773=_0x1f8550(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x331773),this['listenTo'](this['editor'],'destroy',()=>{_0x331773['remove']();});}}class UploadcareImageEdit extends _0x384b05{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Uploadcare,w as UploadcareCommand,o as UploadcareEditing,UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x3f24eb,Command as _0x20cebd}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2d9215,IconGooglePhotos as _0xabacf4,IconGoogleDrive as _0x36b566,IconFacebook as _0x4e83ef,IconDropbox as _0xccaf8b,IconUploadcareLink as _0x202355,IconUploadcareImageUpload as _0x477e33,IconError as _0x35978e,IconUploadcareImageEdit as _0x1dd950}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4f6c4d,MenuBarMenuListItemButtonView as _0x5ee339,View as _0x1132d6,FocusCycler as _0x56ffb3,Dialog as _0x14f625,DialogViewPosition as _0x4dd6eb,SpinnerView as _0x8d7994,IconView as _0x19230f,Notification as _0xb51471}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x598d61,DomEmitterMixin as _0x56ea0e,global as _0x47f282,getAncestors as _0x56eaae,ObservableMixin as _0x1b41a7,uid as _0xe64b68,createElement as _0x118256}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2573fa}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x179e1b,info as _0x3859b4}from'@uploadcare/upload-client';import*as _0x3e7b35 from'@uploadcare/file-uploader';var i=function(_0x312ae0){return _0x312ae0['Local']='local',_0x312ae0['URL']='url',_0x312ae0['Dropbox']='dropbox',_0x312ae0['GDrive']='gdrive',_0x312ae0['Facebook']='facebook',_0x312ae0['GPhotos']='gphotos',_0x312ae0['OneDrive']='onedrive',_0x312ae0;}({});function _(_0x10cd58,_0x95d07f,_0x2fc5fe){const t=_0x10cd58['t'],_0xb10b88=_0x10cd58['t'];switch(_0x95d07f){case i['Local']:return{'text':_0xb10b88('Insert'===_0x2fc5fe?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xb10b88('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2fc5fe?_0xb10b88('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xb10b88('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2fc5fe?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2fc5fe?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2fc5fe?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2fc5fe?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2fc5fe?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x95d07f;}}class e extends _0x3f24eb{['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 _0x21d12e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x35c765;for(const _0xefdbe4 in _0x21d12e){const _0x77adcb=_0xefdbe4,_0x53d66d=_0x21d12e[_0x77adcb];if('uploadcareLicenseKeyValid'==_0x53d66d||'uploadcareLicenseKeyInvalid'==_0x53d66d||'uploadcareLicenseKeyExpired'==_0x53d66d||'uploadcareLicenseKeyDomainLimit'==_0x53d66d||'uploadcareLicenseKeyNotAllowed'==_0x53d66d||'uploadcareLicenseKeyEvaluationLimit'==_0x53d66d||'uploadcareLicenseKeyUsageLimit'==_0x53d66d){delete _0x21d12e[_0x77adcb],_0x35c765=_0x53d66d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x35c765&&_0x21d12e['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x35c765&&_0x21d12e['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x35c765&&_0x21d12e['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x35c765&&_0x21d12e['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x35c765&&_0x21d12e['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x35c765&&_0x21d12e['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x426601}=this,_0x390c4a=_0x426601['commands']['get']('uploadcare');if(!_0x390c4a)return;const _0x358e4c=this['_normalizeConfigSourceList'](_0x426601['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x131a97,_0x51ca6f)=>{const _0xcbd775=this['_getIntegrationKey'](_0x51ca6f['type']);return _0x131a97[_0xcbd775]||(_0x131a97[_0xcbd775]=[]),_0x131a97[_0xcbd775]['push'](_0x51ca6f),_0x131a97;},{});_0x426601['plugins']['has']('ImageInsertUI')&&_0x426601['commands']['get']('uploadcare')&&Object['entries'](_0x358e4c)['forEach'](([_0x965722,_0x3e9516])=>{_0x426601['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x965722,'observable':()=>_0x390c4a,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3e9516),'formViewCreator':()=>this['_createDropdownButtons'](_0x3e9516),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3e9516),'override':'assetManager'!==_0x965722});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x24356e){const {locale:_0x1b7495}=this['editor'];return _0x24356e['map'](_0x904ea1=>{const _0x5a8120=_(_0x1b7495,_0x904ea1,'Insert');switch(_0x904ea1){case i['Local']:return{'icon':_0x477e33,'type':i['Local'],..._0x5a8120};case i['URL']:return{'icon':_0x202355,'type':i['URL'],..._0x5a8120};case i['Dropbox']:return{'icon':_0xccaf8b,'type':i['Dropbox'],..._0x5a8120};case i['Facebook']:return{'icon':_0x4e83ef,'type':i['Facebook'],..._0x5a8120};case i['GDrive']:return{'icon':_0x36b566,'type':i['GDrive'],..._0x5a8120};case i['GPhotos']:return{'icon':_0xabacf4,'type':i['GPhotos'],..._0x5a8120};case i['OneDrive']:return{'icon':_0x2d9215,'type':i['OneDrive'],..._0x5a8120};}});}['_getIntegrationKey'](_0x2b0bd8){switch(_0x2b0bd8){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x569a75,_0x235e22){const _0x343a72=this['editor'],_0x3dea38=new _0x569a75(_0x343a72['locale']),_0x511ea2=_0x343a72['commands']['get']('uploadcare');return _0x3dea38['bind']('isEnabled')['to'](_0x511ea2),_0x3dea38['on']('execute',()=>{_0x511ea2['execute'](_0x235e22);}),_0x3dea38;}['_createToolbarButton'](_0x1a6f9a){const {locale:_0x2e7280}=this['editor'],_0x204914=this['editor']['plugins']['get']('ImageInsertUI'),_0x55aefd=_0x1a6f9a[0x0],_0x18557d=this['_createButton'](_0x4f6c4d,_0x55aefd['type']);return _0x18557d['icon']=_0x55aefd['icon'],_0x18557d['bind']('label')['to'](_0x204914,'isImageSelected',_0x1ce18d=>_(_0x2e7280,_0x55aefd['type'],_0x1ce18d?'Replace':'Insert')['text']),_0x18557d['tooltip']=!0x0,_0x18557d;}['_createDropdownButtons'](_0x510db5){const {locale:_0x212f24}=this['editor'],_0x46eb5b=this['editor']['plugins']['get']('ImageInsertUI');return _0x510db5['map'](_0x1f25fe=>{const _0x46756c=this['_createButton'](_0x4f6c4d,_0x1f25fe['type']);return _0x46756c['withText']=!0x0,_0x46756c['icon']=_0x1f25fe['icon'],_0x46756c['bind']('label')['to'](_0x46eb5b,'isImageSelected',_0x319df7=>_(_0x212f24,_0x1f25fe['type'],_0x319df7?'Replace':'Insert')['text']),_0x46756c;});}['_createMenuBarButtons'](_0x180f24){return _0x180f24['map'](_0x5db560=>{const _0x5ead56=this['_createButton'](_0x5ee339,_0x5db560['type']);return _0x5ead56['icon']=_0x5db560['icon'],_0x5ead56['label']=_0x5db560['shortText'],_0x5ead56;});}}class F extends _0x1132d6{['focusTracker'];['focusCycler'];constructor(_0x45cc18){super(_0x45cc18),this['focusTracker']=new _0x598d61(),this['focusCycler']=new _0x56ffb3({'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 H extends F{constructor(_0x620066,_0x4e2538){super(_0x620066),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-'+_0x4e2538}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function A(_0x3fce7c,_0x2639a1){const _0x15297e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xfc56ef=>_0xfc56ef<=_0x2639a1)['map'](_0x46c19a=>_0x3fce7c['replace'](/\/$/,'')+'/-/resize/'+_0x46c19a+'x/\x20'+_0x46c19a+'w');return{'imageFallbackUrl':_0x3fce7c,'imageSources':[{'srcset':_0x15297e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2639a1+'px)\x20100vw,\x20'+_0x2639a1+'px','type':'image/webp'}]};}function x(_0x3c52d,_0x1c6047,_0x4390bb){const _0x57b187=_0x3c52d['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x57b187?parseInt(_0x57b187[0x1],0xa):_0x1c6047,'height':_0x57b187?parseInt(_0x57b187[0x2],0xa):_0x4390bb};}function p(_0x41a7b7,_0x46c6e2){const _0x4c48ad=new(_0x56ea0e())(),_0x505903=_0x41a7b7['plugins']['get']('ImageUtils'),_0x4270d7=_0x41a7b7['editing']['mapper']['toViewElement'](_0x46c6e2),_0x5b05c1=_0x505903['findViewImgElement'](_0x4270d7),_0x1544e8=_0x41a7b7['editing']['view']['domConverter']['viewToDom'](_0x5b05c1),_0x5274ca=_0x46c6e2['getAttribute']('width'),_0x1454fe=_0x46c6e2['getAttribute']('height'),_0x5c4285='image-processing';_0x41a7b7['editing']['view']['change'](_0x4c87b1=>{_0x4c87b1['addClass'](_0x5c4285,_0x4270d7),_0x4c87b1['setStyle']('aspect-ratio',_0x5274ca+'/'+_0x1454fe,_0x5b05c1);}),_0x4c48ad['listenTo'](_0x1544e8,'load',()=>{_0x4c48ad['stopListening'](_0x1544e8,'load'),_0x41a7b7['editing']['view']['change'](_0x403fe4=>{_0x403fe4['removeClass'](_0x5c4285,_0x4270d7),_0x403fe4['removeStyle']('aspect-ratio',_0x5b05c1);});});}function S(_0x421645){if(Array['isArray'](_0x421645)){const _0xf2a066=_0x421645['map'](S);return _0x481546=>_0xf2a066['some'](_0x28b3f4=>_0x28b3f4(_0x481546));}if('origin'==_0x421645){const _0x57f173=_0x47f282['window']['location']['origin'];return _0x55564b=>new URL(_0x55564b,_0x47f282['document']['baseURI'])['origin']==_0x57f173;}return'function'==typeof _0x421645?_0x421645:_0x421645 instanceof RegExp?_0xcb67ab=>!(!_0xcb67ab['match'](_0x421645)&&!_0xcb67ab['replace'](/^https?:\/\//,'')['match'](_0x421645)):()=>!0x1;}function C(_0x2360b9,_0x39093f){return _0x56eaae(_0x2360b9['target'])['includes'](_0x39093f);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x1b41a7(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4164b2,_0xafb879,_0x3c5696){super(),this['_editor']=_0x4164b2,this['_editing']=_0xafb879,this['_dialog']=_0x4164b2['plugins']['get'](_0x14f625),this['_api']=_0xafb879['ctxElement']['getAPI'](),this['_type']=_0x3c5696,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:_0x2e2fdf,model:_0x48abaa}=this['_editor'],_0x53d04d=_0x48abaa['document']['selection']['getSelectedElement'](),_0x5c6777=_0x53d04d&&(_0x53d04d['is']('element','imageBlock')||_0x53d04d['is']('element','imageInline'));this['_formView']=new H(_0x2e2fdf,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x477e33,'title':_(_0x2e2fdf,this['_type'],_0x5c6777?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4dd6eb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x333fcb=>!C(_0x333fcb,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x487ebb}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x263b9c=>{const _0x6f36b4=_0x487ebb['length'];for(const _0x49e124 of _0x487ebb){const _0x1a1bcf=_0x49e124===_0x487ebb[_0x6f36b4-0x1],{cdnUrl:_0x2d139b,fileInfo:_0x570452}=_0x49e124;if(!_0x2d139b||!_0x570452)continue;const {width:_0x2cc04e,height:_0x13799f}=_0x570452['imageInfo'],_0x5a0c18=x(_0x2d139b,_0x2cc04e,_0x13799f),_0x44d64a=A(_0x2d139b,_0x5a0c18['width']),_0x59b080={'id':_0x570452['uuid'],'type':'image','attributes':{'imageDimension':_0x5a0c18,..._0x44d64a}};this['_insertAsset'](_0x59b080,_0x1a1bcf,_0x263b9c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x22d1df=>{'idle'===_0x22d1df['detail']['status']&&!_0x22d1df['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x5cfbc5,_0x55d56e,_0x4826e4){const _0x4d40c7=this['_editor']['model']['document']['selection'],_0x15f99b=_0x4d40c7['getSelectedElement'](),_0x1f07c6=!(!_0x15f99b||!_0x15f99b['is']('element','imageInline'));_0x4826e4['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x5cfbc5,_0x1f07c6),_0x55d56e||_0x4826e4['setSelection'](_0x4d40c7['getLastPosition']());}['_insertImage'](_0x25243f,_0x335c06){const _0x35cf3e=this['_editor'],{imageDimension:_0xe46597,imageFallbackUrl:_0x19520d,imageSources:_0x3de017}=_0x25243f['attributes'];_0x35cf3e['execute']('insertImage',{'imageType':_0x335c06?'imageInline':null,'source':{'uploadcareImageId':_0x25243f['id'],'src':_0x19520d,'sources':_0x3de017,..._0xe46597}});}}class w extends _0x20cebd{['_editing'];['_controller']=null;static get['requires'](){return[_0x14f625,o];}constructor(_0x257bc8){super(_0x257bc8),this['_editing']=_0x257bc8['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x352749){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x352749);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x1405de,..._0x286bd2}){return _0x179e1b(_0x1405de,_0x286bd2);}static['getInfo'](_0x5e0661,_0x2a797f){return _0x3859b4(_0x5e0661,_0x2a797f);}}class f extends _0x3f24eb{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2573fa,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4387ca=this['editor'];if(!!!_0x4387ca['config']['get']('uploadcare'))return;_0x4387ca['plugins']['get'](_0x2573fa)['createUploadAdapter']=_0x3ee84a=>new Adapter(_0x3ee84a,_0x4387ca),_0x4387ca['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1e0ac0,{imageElement:_0x1c28fd,data:_0x4c1239})=>{_0x4387ca['model']['change'](_0xa56d2d=>{_0xa56d2d['setAttribute']('uploadcareImageId',_0x4c1239['uploadcareImageId'],_0x1c28fd);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x587d4c,_0x4c1baf){this['loader']=_0x587d4c,this['editor']=_0x4c1baf,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4e99d5=await this['loader']['file'];return j['upload']({'file':_0x4e99d5,'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':_0x5e8dcd=>{_0x5e8dcd&&_0x5e8dcd['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5e8dcd['value']);}})['then'](async _0x46ae1d=>{const {imageFallbackUrl:_0x27b56a,imageSources:_0x1d4be8}=A(_0x46ae1d['cdnUrl'],_0x46ae1d['imageInfo']['width']);return{'uploadcareImageId':_0x46ae1d['uuid'],'default':_0x27b56a,'sources':_0x1d4be8};})['catch'](()=>{const _0xa7c5d0=t('Cannot\x20upload\x20file:')+('\x20'+_0x4e99d5['name']+'.');return Promise['reject'](_0xa7c5d0);});}['abort'](){this['controller']['abort']();}}class o extends _0x3f24eb{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x14f625];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3e5d3a){super(_0x3e5d3a),this['ucContextId']=_0xe64b68();}['init'](){const _0x4ff0c9=this['editor'];_0x4ff0c9['commands']['add']('uploadcare',new w(_0x4ff0c9));}['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 _0x19fdf8=_0x47f282['document']['querySelector']('input[uploadcare-file-input]');_0x19fdf8&&_0x19fdf8['remove']();}),async function(_0x4c4e05){const _0x2dcf2c=_0x51c225([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]),_0x4de280=0x535f8c3a,_0x4f7860=0x53581a6a^_0x4de280,_0xbcb7e2=window[_0x51c225([0x44,0x61,0x74,0x65])][_0x51c225([0x6e,0x6f,0x77])](),_0xf8ae5e=_0x4c4e05[_0x51c225([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x96747=new window[(_0x51c225([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x137b10=>{_0xf8ae5e[_0x51c225([0x6f,0x6e,0x63,0x65])](_0x51c225([0x72,0x65,0x61,0x64,0x79]),_0x137b10);}),_0x1ffab0={[_0x51c225([0x6b,0x74,0x79])]:_0x51c225([0x45,0x43]),[_0x51c225([0x75,0x73,0x65])]:_0x51c225([0x73,0x69,0x67]),[_0x51c225([0x63,0x72,0x76])]:_0x51c225([0x50,0x2d,0x32,0x35,0x36]),[_0x51c225([0x78])]:_0x51c225([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]),[_0x51c225([0x79])]:_0x51c225([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]),[_0x51c225([0x61,0x6c,0x67])]:_0x51c225([0x45,0x53,0x32,0x35,0x36])},_0x4829c5=_0xf8ae5e[_0x51c225([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x51c225([0x67,0x65,0x74])](_0x51c225([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a25cc(){let _0x201dc6,_0x580e71=null,_0x2ebb2d=null;try{if(_0x4829c5==_0x51c225([0x47,0x50,0x4c]))return _0x51c225([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x201dc6=_0x21e6ff(),!_0x201dc6)return _0x51c225([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x201dc6[_0x51c225([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ebb2d=_0x275e56(_0x201dc6[_0x51c225([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x201dc6[_0x51c225([0x6a,0x74,0x69])])),await _0x257dce()?_0x3eaadb()?_0x192978()?_0x51c225([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f7bef()?(_0x201dc6[_0x51c225([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51c225([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x580e71=_0x34b3ff(_0x51c225([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x64ed34()):_0x51c225([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x51c225([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x51c225([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x51c225([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x192978(){const _0x25c23f=[_0x51c225([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x51c225([0x74,0x72,0x69,0x61,0x6c])][_0x51c225([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x201dc6[_0x51c225([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xbcb7e2/0x3e8:0xe10*_0x4f7860;return _0x201dc6[_0x51c225([0x65,0x78,0x70])]<_0x25c23f;}function _0x3eaadb(){const _0x593c88=_0x201dc6[_0x51c225([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x593c88&&(!!_0x593c88[_0x51c225([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51c225([0x2a]))||!!_0x593c88[_0x51c225([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51c225([0x55,0x50,0x4c,0x43])));}function _0x1f7bef(){const _0x2efe58=_0x201dc6[_0x51c225([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2efe58||0x0==_0x2efe58[_0x51c225([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x44c786}=new URL(window[_0x51c225([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2efe58[_0x51c225([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44c786))return!0x0;const _0xf29196=_0x44c786[_0x51c225([0x73,0x70,0x6c,0x69,0x74])](_0x51c225([0x2e]));return _0x2efe58[_0x51c225([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48bc5b=>_0x48bc5b[_0x51c225([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51c225([0x2a])))[_0x51c225([0x6d,0x61,0x70])](_0x44e0df=>_0x44e0df[_0x51c225([0x73,0x70,0x6c,0x69,0x74])](_0x51c225([0x2e])))[_0x51c225([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x491254=>_0x491254[_0x51c225([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xf29196[_0x51c225([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51c225([0x6d,0x61,0x70])](_0x39401c=>Array(_0xf29196[_0x51c225([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x39401c[_0x51c225([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51c225([0x66,0x69,0x6c,0x6c])](_0x39401c[0x0]===_0x51c225([0x2a])?_0x51c225([0x2a]):'')[_0x51c225([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x39401c))[_0x51c225([0x73,0x6f,0x6d,0x65])](_0x484606=>_0xf29196[_0x51c225([0x65,0x76,0x65,0x72,0x79])]((_0x225485,_0x2cd971)=>_0x484606[_0x2cd971]===_0x225485||_0x484606[_0x2cd971]===_0x51c225([0x2a])));}function _0x64ed34(){return _0x580e71&&_0x2ebb2d?new window[(_0x51c225([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3aa576,_0x58f804)=>{_0x580e71[_0x51c225([0x74,0x68,0x65,0x6e])](_0x3aa576,_0x58f804),_0x2ebb2d[_0x51c225([0x74,0x68,0x65,0x6e])](_0x2dc271=>{_0x2dc271!=_0x51c225([0x56,0x61,0x6c,0x69,0x64])&&_0x3aa576(_0x2dc271);},_0x58f804);}):_0x580e71||_0x2ebb2d||_0x51c225([0x56,0x61,0x6c,0x69,0x64]);}}function _0x275e56(_0x49f0d0,_0x468615){return new window[(_0x51c225([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3da9e4=>{if(_0x1873ca())return _0x3da9e4(_0x51c225([0x56,0x61,0x6c,0x69,0x64]));_0x1212b6(),_0xf8ae5e[_0x51c225([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x51c225([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x135e98=!0x1;const _0x33c439=_0xe64b68();function _0x2a6545(_0x4ccb73){return!!_0x4ccb73&&(typeof _0x4ccb73===_0x51c225([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ccb73===_0x51c225([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ccb73[_0x51c225([0x74,0x68,0x65,0x6e])]===_0x51c225([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ccb73[_0x51c225([0x63,0x61,0x74,0x63,0x68])]===_0x51c225([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xb7d13b(_0x1e2109){_0x20194f(_0x1e2109)[_0x51c225([0x74,0x68,0x65,0x6e])](_0x4b19f1=>{if(!_0x4b19f1||_0x4b19f1[_0x51c225([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x51c225([0x6f,0x6b]))return _0x51c225([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x53a77f(_0x34d6c4(_0x33c439+_0x468615))!=_0x4b19f1[_0x51c225([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x51c225([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x51c225([0x56,0x61,0x6c,0x69,0x64]);})[_0x51c225([0x74,0x68,0x65,0x6e])](_0x481755=>(_0x56c560(),_0x481755),()=>{const _0x513dce=_0x43e035();return null==_0x513dce?(_0x56c560(),_0x51c225([0x56,0x61,0x6c,0x69,0x64])):_0x51c225(_0xbcb7e2-_0x513dce>(0x7753083a^_0x4de280)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x51c225([0x74,0x68,0x65,0x6e])](_0x3da9e4)[_0x51c225([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3da9e4(_0x51c225([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4746ef=0x536962ba^_0x4de280;function _0x56c560(){const _0x422de7=_0x51c225([0x6c,0x6c,0x63,0x74,0x2d])+_0x53a77f(_0x34d6c4(_0x49f0d0)),_0x1f11e4=_0x47e35b(_0x53a77f(window[_0x51c225([0x4d,0x61,0x74,0x68])][_0x51c225([0x63,0x65,0x69,0x6c])](_0xbcb7e2/_0x4746ef)));window[_0x51c225([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51c225([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x422de7,_0x1f11e4);}function _0x43e035(){const _0x2fff63=_0x51c225([0x6c,0x6c,0x63,0x74,0x2d])+_0x53a77f(_0x34d6c4(_0x49f0d0)),_0x5622ef=window[_0x51c225([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51c225([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fff63);return _0x5622ef?window[_0x51c225([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47e35b(_0x5622ef),0x10)*_0x4746ef:null;}function _0x20194f(_0x277916){return new window[(_0x51c225([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b281a,_0x1deb29)=>{_0x277916[_0x51c225([0x74,0x68,0x65,0x6e])](_0x2b281a,_0x1deb29),window[_0x51c225([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1deb29,0x535e58fa^_0x4de280);});}}_0xf8ae5e[_0x51c225([0x6f,0x6e])](_0x51c225([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3a23f2,_0x4fa0f2)=>{if(_0x4fa0f2[0x0]!=_0x49f0d0)return _0x3da9e4(_0x51c225([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4fa0f2[0x1]={..._0x4fa0f2[0x1],[_0x51c225([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33c439};},{[_0x51c225([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51c225([0x68,0x69,0x67,0x68])}),_0xf8ae5e[_0x51c225([0x6f,0x6e])](_0x51c225([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c4b5e=>{_0x2a6545(_0x1c4b5e[_0x51c225([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x135e98=!0x0,_0xb7d13b(_0x1c4b5e[_0x51c225([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x51c225([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51c225([0x6c,0x6f,0x77])}),_0x96747[_0x51c225([0x74,0x68,0x65,0x6e])](()=>{_0x135e98||_0x3da9e4(_0x51c225([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1873ca(){return _0xf8ae5e[_0x51c225([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51c225([0x76,0x69,0x65,0x77])][_0x51c225([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x51c225([0x61,0x75,0x74,0x6f]);}function _0x1212b6(){_0xf8ae5e[_0x51c225([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51c225([0x76,0x69,0x65,0x77])][_0x51c225([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x51c225([0x61,0x75,0x74,0x6f]);}}function _0x34b3ff(_0x4cbdf3){const _0x2c2ad3=[new window[(_0x51c225([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51247a=>setTimeout(_0x51247a,0x5356b2f6^_0x4de280)),_0x96747[_0x51c225([0x74,0x68,0x65,0x6e])](()=>new window[(_0x51c225([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x866905=>{let _0x3fee3f=0x0;_0xf8ae5e[_0x51c225([0x6d,0x6f,0x64,0x65,0x6c])][_0x51c225([0x6f,0x6e])](_0x51c225([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x147f2e,_0x5cf9bf)=>{_0x5cf9bf[0x0][_0x51c225([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3fee3f++,_0x3fee3f==(0x535f89d2^_0x4de280)&&(_0x866905(),_0x147f2e[_0x51c225([0x6f,0x66,0x66])]());});}))];return window[_0x51c225([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x51c225([0x72,0x61,0x63,0x65])](_0x2c2ad3)[_0x51c225([0x74,0x68,0x65,0x6e])](()=>_0x4cbdf3);}async function _0x3ca4c1(){await _0x96747,_0xf8ae5e[_0x51c225([0x6d,0x6f,0x64,0x65,0x6c])][_0x51c225([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e9080,_0xf8ae5e[_0x51c225([0x6d,0x6f,0x64,0x65,0x6c])][_0x51c225([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e9080,_0xf8ae5e[_0x51c225([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51c225([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c6cd0(_0x370405){const _0x4984aa=_0x33ce3c();_0xf8ae5e[_0x4984aa]=_0x51c225([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x370405,_0x370405!=_0x51c225([0x56,0x61,0x6c,0x69,0x64])&&_0x3ca4c1();}function _0x33ce3c(){const _0x59fec8=window[_0x51c225([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x51c225([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x51c225([0x6e,0x6f,0x77])]())[_0x51c225([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x51c225([0x2e]),'');let _0x50cd7e=_0x51c225([0x68]);for(let _0x1890f5=0x0;_0x1890f5<_0x59fec8[_0x51c225([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1890f5+=0x2){let _0x305885=window[_0x51c225([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59fec8[_0x51c225([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1890f5,_0x1890f5+0x2));_0x305885>=_0x2dcf2c[_0x51c225([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x305885-=_0x2dcf2c[_0x51c225([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50cd7e+=_0x2dcf2c[_0x305885];}return _0x50cd7e;}function _0x21e6ff(){const _0x1f6a87=_0x4829c5[_0x51c225([0x73,0x70,0x6c,0x69,0x74])](_0x51c225([0x2e]));if(0x3!=_0x1f6a87[_0x51c225([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x26c071(_0x1f6a87[0x1]);function _0x26c071(_0x747ad0){const _0xb525f5=_0xa92611(_0x747ad0);return _0xb525f5&&_0x2acd5d()?_0xb525f5:null;function _0x2acd5d(){const _0x978bb9=_0xb525f5[_0x51c225([0x6a,0x74,0x69])],_0x41d36c=window[_0x51c225([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x978bb9[_0x51c225([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x978bb9[_0x51c225([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x551144={..._0xb525f5,[_0x51c225([0x6a,0x74,0x69])]:_0x978bb9[_0x51c225([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x978bb9[_0x51c225([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x551144[_0x51c225([0x76,0x63])],_0x34d6c4(_0x551144)==_0x41d36c;}}}async function _0x257dce(){let _0x16b937=!0x0;try{const _0x555030=_0x4829c5[_0x51c225([0x73,0x70,0x6c,0x69,0x74])](_0x51c225([0x2e])),[_0x42233d,_0x40e017,_0x278fd9]=_0x555030;return _0x210c25(_0x42233d),await _0x47e888(_0x42233d,_0x40e017,_0x278fd9),_0x16b937;}catch{return!0x1;}function _0x210c25(_0x5b3b89){const _0x4239b9=_0xa92611(_0x5b3b89);_0x4239b9&&_0x4239b9[_0x51c225([0x61,0x6c,0x67])]==_0x51c225([0x45,0x53,0x32,0x35,0x36])||(_0x16b937=!0x1);}async function _0x47e888(_0x8ed36f,_0x41f96e,_0x2f7270){const _0x2298e4=window[_0x51c225([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x51c225([0x66,0x72,0x6f,0x6d])](_0x32617f(_0x2f7270),_0x47abe8=>_0x47abe8[_0x51c225([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xd8d021=new window[(_0x51c225([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x51c225([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8ed36f+_0x51c225([0x2e])+_0x41f96e),_0x39f245=window[_0x51c225([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x51c225([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x39f245)return;const _0x398fd2=await _0x39f245[_0x51c225([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x51c225([0x6a,0x77,0x6b]),_0x1ffab0,{[_0x51c225([0x6e,0x61,0x6d,0x65])]:_0x51c225([0x45,0x43,0x44,0x53,0x41]),[_0x51c225([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x51c225([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x51c225([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x39f245[_0x51c225([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x51c225([0x6e,0x61,0x6d,0x65])]:_0x51c225([0x45,0x43,0x44,0x53,0x41]),[_0x51c225([0x68,0x61,0x73,0x68])]:{[_0x51c225([0x6e,0x61,0x6d,0x65])]:_0x51c225([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x398fd2,_0x2298e4,_0xd8d021)||(_0x16b937=!0x1);}}function _0xa92611(_0x4c18ce){return _0x4c18ce[_0x51c225([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x51c225([0x65,0x79]))?JSON[_0x51c225([0x70,0x61,0x72,0x73,0x65])](_0x32617f(_0x4c18ce)):null;}function _0x32617f(_0x2af06e){return window[_0x51c225([0x61,0x74,0x6f,0x62])](_0x2af06e[_0x51c225([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x51c225([0x2b]))[_0x51c225([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x51c225([0x2f])));}function _0x34d6c4(_0x3601d8){let _0x4d2e98=0x1505;function _0x16a6eb(_0x1cca9e){for(let _0x230404=0x0;_0x230404<_0x1cca9e[_0x51c225([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x230404++){const _0x56b60f=_0x1cca9e[_0x51c225([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x230404);_0x4d2e98=(_0x4d2e98<<0x5)+_0x4d2e98+_0x56b60f,_0x4d2e98&=_0x4d2e98;}}function _0x414be1(_0x370c6b){Array[_0x51c225([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x370c6b)?_0x370c6b[_0x51c225([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x414be1):_0x370c6b&&typeof _0x370c6b==_0x51c225([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x51c225([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x370c6b)[_0x51c225([0x73,0x6f,0x72,0x74])]()[_0x51c225([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10490d,_0x2f2f5d])=>{_0x16a6eb(_0x10490d),_0x414be1(_0x2f2f5d);}):_0x16a6eb(window[_0x51c225([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x370c6b));}return _0x414be1(_0x3601d8),_0x4d2e98>>>0x0;}function _0x53a77f(_0x194ed5){return _0x194ed5[_0x51c225([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x51c225([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x51c225([0x30]));}function _0x47e35b(_0x1bdc8c){return _0x1bdc8c[_0x51c225([0x73,0x70,0x6c,0x69,0x74])]('')[_0x51c225([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x51c225([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e9080(){}function _0x51c225(_0x243061){return _0x243061['map'](_0x355dd5=>String['fromCharCode'](_0x355dd5))['join']('');}_0x1c6cd0(await _0x5a25cc());}(this);}['_initSchema'](){const _0x3eb679=this['editor']['model']['schema'];_0x3eb679['isRegistered']('imageBlock')&&_0x3eb679['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3eb679['isRegistered']('imageInline')&&_0x3eb679['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2f39f8=this['editor'];_0x2f39f8['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2f39f8['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x500d25=>_0x500d25['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3a3ed8=_0x2f39f8['commands']['get']('replaceImageSource');_0x3a3ed8&&this['listenTo'](_0x3a3ed8,'cleanupImage',(_0x43082b,[_0xa541c7,_0x13b602])=>{_0xa541c7['removeAttribute']('uploadcareImageId',_0x13b602);});}['_initConfig'](){const _0xdbd933=this['editor']['config']['get']('uploadcare.uploader')||{},_0x224f82=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x118256(_0x47f282['document'],'uc-config',{..._0xdbd933,'pubkey':_0x224f82,'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']=_0x5bb155=>{if('closeMax'==_0x5bb155)return'#uc-icon-arrow-down';},_0x47f282['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x118256(_0x47f282['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x47f282['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1c6364=this['editor']['commands']['get']('insertImage');_0x1c6364&&this['listenTo'](_0x1c6364,'execute',()=>{const _0x4b74ca=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4b74ca&&_0x4b74ca['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4b74ca);});});const _0x40ee0c=this['editor']['commands']['get']('uploadcareImageReplace');_0x40ee0c&&this['listenTo'](_0x40ee0c,'execute',()=>{const _0x242ba5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x242ba5&&_0x242ba5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x242ba5);});});}}class Uploadcare extends _0x3f24eb{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3d311b){super(_0x3d311b),_0x3d311b['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3e7b35['defineComponents'](_0x3e7b35),this['_defineLocale']();}['_defineLocale'](){const _0x9d0d39=this['editor']['config']['get']('uploadcare.locale'),_0x43d737=this['editor']['locale']['contentLanguage'];_0x9d0d39&&_0x3e7b35['defineLocale'](_0x43d737,_0x9d0d39);}}class ii extends _0x1132d6{constructor(_0xa6e865){super(_0xa6e865);const t=_0xa6e865['t'],_0x305080=this['bindTemplate'],_0x3fd3a7=new _0x8d7994();_0x3fd3a7['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':[_0x3fd3a7,{'text':_0x305080['to']('imageUploadProgress',_0x135800=>t('Loading\x20image...')+'\x20('+(_0x135800||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 _0x1132d6{constructor(_0xddc0c2){super(_0xddc0c2);const t=_0xddc0c2['t'];this['set']('errorType',null);const _0x29afcc=new _0x4f6c4d(_0xddc0c2);_0x29afcc['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x29afcc['withText']=!0x0,_0x29afcc['class']='ck-button-action',_0x29afcc['on']('execute',()=>{this['fire']('retry');}),_0x29afcc['bind']('isVisible')['to'](this,'errorType',_0x18c125=>'NotFound'!==_0x18c125);const _0x292c99=new _0x19230f();_0x292c99['content']=_0x35978e,_0x292c99['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x558a0b=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':[_0x292c99,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x558a0b['to']('errorType',_0x4d4ea=>t('NotFound'!==_0x4d4ea?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x29afcc]},{'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 _0x1132d6{constructor(_0xc8bbca,_0x703c51){super(_0xc8bbca);const _0x3677b6=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x703c51,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3677b6['to']('imageSrc')}});}}class W extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x988e4a,_0x2d6fe9,_0x195147){super(_0x988e4a),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x988e4a),this['_errorView']=new ti(_0x988e4a),this['_editingView']=new ei(_0x988e4a,_0x195147),this['_focusableView']=new _0x1132d6(_0x988e4a),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2d6fe9),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'],_0x2e0011=>{this['_addUploadcareImageEditorListeners'](_0x2e0011);});}),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'](_0x40c866,_0x4b8a1f){const _0x109ca2='uc-cloud-image-editor',_0x13d05b=_0x40c866['querySelector'](_0x109ca2);if(_0x13d05b)return _0x4b8a1f(_0x13d05b);const _0x3f2dbf=new MutationObserver(_0x3747ae=>{const _0x2eb7da=_0x3747ae['filter'](_0x79f310=>_0x79f310['target']===_0x40c866&&_0x79f310['addedNodes']['length']>0x0&&_0x79f310['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x109ca2);_0x2eb7da['length']&&(_0x3f2dbf['disconnect'](),_0x4b8a1f(_0x2eb7da[0x0]['addedNodes'][0x0]));});_0x3f2dbf['observe'](_0x40c866,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5b3b32){_0x5b3b32['addEventListener']('apply',_0x543f66=>{this['fire']('apply',{'imageSrc':_0x543f66['detail']['cdnUrl']});}),_0x5b3b32['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x1b41a7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x12a084,_0x360ea0,_0x17105c){super(),this['_editor']=_0x12a084,this['_dialog']=_0x360ea0,this['_imageElement']=_0x17105c,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 _0x4cd37c=this['_imageElement'],_0x866572=_0x4cd37c['getAttribute']('uploadcareImageId'),_0x1e1f56=_0x4cd37c['getAttribute']('src');if(_0x866572)await this['_loadImageInfo'](_0x866572,_0x1e1f56);else{if(this['_imageCache']['has'](_0x1e1f56)){const _0x1a7776=this['_imageCache']['get'](_0x1e1f56);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a7776['url'],this['imageDimension']=_0x1a7776['dimension'],this['imageId']=_0x1a7776['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x225245}=this['_editor'],t=_0x225245['t'],_0x2476c3=new W(_0x225245,this['imageStatus'],this['_attributes']);_0x2476c3['bind']('status')['to'](this,'imageStatus'),_0x2476c3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2476c3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2476c3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2476c3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1dd950,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2476c3,'position':_0x4dd6eb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2476c3['focus']();},'onHide':()=>{_0x2476c3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x226550=>!C(_0x226550,_0x2476c3['element'])}});}['_loadImageInfo'](_0x3926e8,_0x1014f2){return j['getInfo'](_0x3926e8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4b6d1c=>{const {width:_0x4bc87d,height:_0x2e0149}=_0x4b6d1c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1014f2,this['imageDimension']={'width':_0x4bc87d,'height':_0x2e0149},this['imageId']=_0x3926e8;})['catch'](_0x58fe99=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x58fe99['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3e8af5,_0x27a9b7){return this['_getImageAsFile'](_0x3e8af5)['then'](_0xad066e=>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':_0x27a9b7['signal'],'file':_0xad066e,'onProgress':_0x53b4d0=>{_0x53b4d0&&_0x53b4d0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x53b4d0['value']));}}))['then'](_0x361987=>{const {width:_0x4ac8cf,height:_0x1f8ec7}=_0x361987['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x361987['cdnUrl'],this['imageDimension']={'width':_0x4ac8cf,'height':_0x1f8ec7},this['imageId']=_0x361987['uuid'],this['imageUploadProgress']=null;const _0x5ce92d=_0x3e8af5['getAttribute']('src');this['_imageCache']['set'](_0x5ce92d,{'id':_0x361987['uuid'],'url':_0x361987['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1806f7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1806f7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x29ada4,_0x276ea4){_0x29ada4['on']('apply',(_0x537d7e,_0x588fc9)=>{this['_replaceImage'](_0x276ea4,_0x588fc9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x29ada4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x29ada4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x55ae78,_0x501024,_0x4b75a8){const _0xc7c00b=this['_editor'],{width:_0x1f88cc,height:_0x18bd3a}=x(_0x501024,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x22eb0f,imageSources:_0x311fa9}=A(_0x501024,_0x1f88cc);_0xc7c00b['model']['change'](_0x52f2e3=>{if('$graveyard'===_0x55ae78['root']['rootName']){_0xc7c00b['execute']('insertImage',{'imageType':_0x55ae78['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x55ae78['getAttributes']()),'uploadcareImageId':_0x4b75a8,'src':_0x22eb0f,'sources':_0x311fa9,'width':_0x1f88cc,'height':_0x18bd3a}});const _0x45add0=_0x55ae78['getChildren']();_0x55ae78=_0xc7c00b['model']['document']['selection']['getSelectedElement']();for(const _0x284563 of _0x45add0)_0x52f2e3['append'](_0x52f2e3['cloneElement'](_0x284563),_0x55ae78);}else _0x52f2e3['setSelection'](_0x55ae78,'on'),_0xc7c00b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x55ae78['getAttributes']()),'uploadcareImageId':_0x4b75a8,'src':_0x22eb0f,'sources':_0x311fa9,'width':_0x1f88cc,'height':_0x18bd3a},_0x55ae78);_0x52f2e3['setSelection'](_0x55ae78,'on');});}async['_getImageAsFile'](_0x250fe0){const _0x204ee0=_0x47f282['window'],_0x365eef=_0x47f282['document']['location']['href'],_0x3f5d8b=new _0x204ee0['URL'](_0x250fe0['getAttribute']('src'),_0x365eef);if('data:'===_0x3f5d8b['protocol']){const _0x22a8a2=_0x3f5d8b['href']['split'](','),_0x6ecc20=_0x22a8a2[0x0]['match'](/:(.*?);/)[0x1],_0x39f5cc=_0x6ecc20['split']('/')[0x1],_0x1f2072=_0x204ee0['atob'](_0x22a8a2[_0x22a8a2['length']-0x1]);let _0x33c447=_0x1f2072['length'];const _0x5d38ab=new _0x204ee0['Uint8Array'](_0x33c447);for(;_0x33c447--;)_0x5d38ab[_0x33c447]=_0x1f2072['charCodeAt'](_0x33c447);return new _0x204ee0['File']([_0x5d38ab],'image.'+_0x39f5cc,{'type':_0x6ecc20});}const _0x863c87=_0x3f5d8b['href']['split']('/'),_0x258c6a=_0x863c87[_0x863c87['length']-0x1],_0x6cf8f8=_0x258c6a['split']('.')[0x1];return _0x204ee0['fetch'](_0x3f5d8b['href'])['then'](_0x46756e=>_0x46756e['clone']()['blob']())['then'](_0x3ffc54=>new _0x204ee0['File']([_0x3ffc54],_0x258c6a,{'type':'image/'+_0x6cf8f8}));}}class O extends _0x20cebd{['imageEditController'];static get['requires'](){return[_0x14f625];}['_isEditable'];constructor(_0x5e145f){super(_0x5e145f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x659603){const _0x37c004=S(_0x659603);return _0x20c9c1=>!(!_0x20c9c1||!_0x20c9c1['is']('element','imageBlock')&&!_0x20c9c1['is']('element','imageInline'))&&(!!_0x20c9c1['hasAttribute']('uploadcareImageId')||!!_0x20c9c1['hasAttribute']('src')&&_0x37c004(_0x20c9c1['getAttribute']('src')));}(_0x5e145f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x349d7b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x349d7b);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5786e1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5786e1&&(_0x5786e1['is']('element','imageBlock')||_0x5786e1['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x14f625),_0x5786e1),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x20cebd{['refresh'](){const _0x354713=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x354713&&(_0x354713['is']('element','imageBlock')||_0x354713['is']('element','imageInline')));}['execute'](_0x9e6ba3){const _0xcaf7bd=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x27ef65=>{_0x27ef65['setAttributes'](_0x9e6ba3,_0xcaf7bd),_0x27ef65['removeAttribute']('srcset',_0xcaf7bd),_0x27ef65['removeAttribute']('sizes',_0xcaf7bd);});}}class m extends _0x3f24eb{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xb51471,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x35a049}=this;_0x35a049['commands']['add']('uploadcareImageEdit',new O(_0x35a049)),_0x35a049['commands']['add']('uploadcareImageReplace',new R(_0x35a049));}}class g extends _0x3f24eb{['_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 _0x44b7c7=this['editor'];_0x44b7c7['ui']['componentFactory']['add']('uploadcareImageEdit',_0xba0de=>{const _0x585b60=_0x44b7c7['commands']['get']('uploadcareImageEdit'),_0x31f936=new _0x4f6c4d(_0xba0de),t=_0xba0de['t'];return _0x31f936['set']({'icon':_0x1dd950,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x31f936['bind']('isEnabled')['to'](_0x585b60),_0x31f936['bind']('isOn')['to'](_0x585b60,'isActive'),this['listenTo'](_0x31f936,'execute',()=>{_0x44b7c7['execute']('uploadcareImageEdit'),_0x44b7c7['editing']['view']['focus']();}),_0x31f936;}),this['_initConfig']();}['_initConfig'](){const _0x397bb1=_0x118256(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x397bb1),this['listenTo'](this['editor'],'destroy',()=>{_0x397bb1['remove']();});}}class UploadcareImageEdit extends _0x3f24eb{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Uploadcare,w as UploadcareCommand,o as UploadcareEditing,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':_0x8af871=>0x1!=_0x8af871}};
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':_0x19dfd7=>0x1!=_0x19dfd7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x33e3dc=>{const {af:{dictionary:_0x56ed72,getPluralForm:_0x3c3c0a}}={'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':_0x1d207c=>0x1!=_0x1d207c}};_0x33e3dc['af']||={'dictionary':{},'getPluralForm':null},_0x33e3dc['af']['dictionary']=Object['assign'](_0x33e3dc['af']['dictionary'],_0x56ed72),_0x33e3dc['af']['getPluralForm']=_0x3c3c0a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2c8e25=>{const {af:{dictionary:_0x196feb,getPluralForm:_0x318a78}}={'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':_0x5bf3ee=>0x1!=_0x5bf3ee}};_0x2c8e25['af']||={'dictionary':{},'getPluralForm':null},_0x2c8e25['af']['dictionary']=Object['assign'](_0x2c8e25['af']['dictionary'],_0x196feb),_0x2c8e25['af']['getPluralForm']=_0x318a78;})(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':_0x356b22=>0x0==_0x356b22?0x0:0x1==_0x356b22?0x1:0x2==_0x356b22?0x2:_0x356b22%0x64>=0x3&&_0x356b22%0x64<=0xa?0x3:_0x356b22%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':_0x272425=>0x0==_0x272425?0x0:0x1==_0x272425?0x1:0x2==_0x272425?0x2:_0x272425%0x64>=0x3&&_0x272425%0x64<=0xa?0x3:_0x272425%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x13ad6f=>{const {ar:{dictionary:_0x40e9b0,getPluralForm:_0x29bf1a}}={'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':_0x1260a6=>0x0==_0x1260a6?0x0:0x1==_0x1260a6?0x1:0x2==_0x1260a6?0x2:_0x1260a6%0x64>=0x3&&_0x1260a6%0x64<=0xa?0x3:_0x1260a6%0x64>=0xb?0x4:0x5}};_0x13ad6f['ar']||={'dictionary':{},'getPluralForm':null},_0x13ad6f['ar']['dictionary']=Object['assign'](_0x13ad6f['ar']['dictionary'],_0x40e9b0),_0x13ad6f['ar']['getPluralForm']=_0x29bf1a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3e986c=>{const {ar:{dictionary:_0x32f40b,getPluralForm:_0x48b542}}={'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':_0x588c13=>0x0==_0x588c13?0x0:0x1==_0x588c13?0x1:0x2==_0x588c13?0x2:_0x588c13%0x64>=0x3&&_0x588c13%0x64<=0xa?0x3:_0x588c13%0x64>=0xb?0x4:0x5}};_0x3e986c['ar']||={'dictionary':{},'getPluralForm':null},_0x3e986c['ar']['dictionary']=Object['assign'](_0x3e986c['ar']['dictionary'],_0x32f40b),_0x3e986c['ar']['getPluralForm']=_0x48b542;})(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':_0x539d97=>0x1!=_0x539d97}};
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':_0x2765bc=>0x1!=_0x2765bc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xb84952=>{const {ast:{dictionary:_0x12a748,getPluralForm:_0x5a5d56}}={'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':_0x444606=>0x1!=_0x444606}};_0xb84952['ast']||={'dictionary':{},'getPluralForm':null},_0xb84952['ast']['dictionary']=Object['assign'](_0xb84952['ast']['dictionary'],_0x12a748),_0xb84952['ast']['getPluralForm']=_0x5a5d56;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x24e205=>{const {ast:{dictionary:_0x1e578c,getPluralForm:_0x3406b8}}={'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':_0x3eb86a=>0x1!=_0x3eb86a}};_0x24e205['ast']||={'dictionary':{},'getPluralForm':null},_0x24e205['ast']['dictionary']=Object['assign'](_0x24e205['ast']['dictionary'],_0x1e578c),_0x24e205['ast']['getPluralForm']=_0x3406b8;})(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':_0x25adb9=>0x1!=_0x25adb9}};
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':_0x145c21=>0x1!=_0x145c21}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x472bd0=>{const {az:{dictionary:_0x51cae5,getPluralForm:_0x50ca59}}={'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':_0x4c144b=>0x1!=_0x4c144b}};_0x472bd0['az']||={'dictionary':{},'getPluralForm':null},_0x472bd0['az']['dictionary']=Object['assign'](_0x472bd0['az']['dictionary'],_0x51cae5),_0x472bd0['az']['getPluralForm']=_0x50ca59;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2030e8=>{const {az:{dictionary:_0x5a8f45,getPluralForm:_0x38a7a5}}={'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':_0x7e735c=>0x1!=_0x7e735c}};_0x2030e8['az']||={'dictionary':{},'getPluralForm':null},_0x2030e8['az']['dictionary']=Object['assign'](_0x2030e8['az']['dictionary'],_0x5a8f45),_0x2030e8['az']['getPluralForm']=_0x38a7a5;})(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':_0x55370d=>_0x55370d%0xa==0x1&&_0x55370d%0x64!=0xb?0x0:_0x55370d%0xa>=0x2&&_0x55370d%0xa<=0x4&&(_0x55370d%0x64<0xa||_0x55370d%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':_0xf89fee=>_0xf89fee%0xa==0x1&&_0xf89fee%0x64!=0xb?0x0:_0xf89fee%0xa>=0x2&&_0xf89fee%0xa<=0x4&&(_0xf89fee%0x64<0xa||_0xf89fee%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x32ab20=>{const {be:{dictionary:_0x31b2e5,getPluralForm:_0x39c75f}}={'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':_0x3f87af=>_0x3f87af%0xa==0x1&&_0x3f87af%0x64!=0xb?0x0:_0x3f87af%0xa>=0x2&&_0x3f87af%0xa<=0x4&&(_0x3f87af%0x64<0xa||_0x3f87af%0x64>=0x14)?0x1:0x2}};_0x32ab20['be']||={'dictionary':{},'getPluralForm':null},_0x32ab20['be']['dictionary']=Object['assign'](_0x32ab20['be']['dictionary'],_0x31b2e5),_0x32ab20['be']['getPluralForm']=_0x39c75f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5f0ef5=>{const {be:{dictionary:_0x20bd9a,getPluralForm:_0x2563ba}}={'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':_0x5c8f96=>_0x5c8f96%0xa==0x1&&_0x5c8f96%0x64!=0xb?0x0:_0x5c8f96%0xa>=0x2&&_0x5c8f96%0xa<=0x4&&(_0x5c8f96%0x64<0xa||_0x5c8f96%0x64>=0x14)?0x1:0x2}};_0x5f0ef5['be']||={'dictionary':{},'getPluralForm':null},_0x5f0ef5['be']['dictionary']=Object['assign'](_0x5f0ef5['be']['dictionary'],_0x20bd9a),_0x5f0ef5['be']['getPluralForm']=_0x2563ba;})(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':_0x43f7b1=>0x1!=_0x43f7b1}};
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':_0x55e54f=>0x1!=_0x55e54f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x16b6e5=>{const {bg:{dictionary:_0x5aa572,getPluralForm:_0x8cea09}}={'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':_0x32b9c8=>0x1!=_0x32b9c8}};_0x16b6e5['bg']||={'dictionary':{},'getPluralForm':null},_0x16b6e5['bg']['dictionary']=Object['assign'](_0x16b6e5['bg']['dictionary'],_0x5aa572),_0x16b6e5['bg']['getPluralForm']=_0x8cea09;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3b2cad=>{const {bg:{dictionary:_0x2205c7,getPluralForm:_0xaea066}}={'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':_0x5d601a=>0x1!=_0x5d601a}};_0x3b2cad['bg']||={'dictionary':{},'getPluralForm':null},_0x3b2cad['bg']['dictionary']=Object['assign'](_0x3b2cad['bg']['dictionary'],_0x2205c7),_0x3b2cad['bg']['getPluralForm']=_0xaea066;})(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':_0x21d46a=>0x1!=_0x21d46a}};
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':_0x59ee7b=>0x1!=_0x59ee7b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xd004f3=>{const {bn:{dictionary:_0x4669ab,getPluralForm:_0x38a45f}}={'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':_0xa99441=>0x1!=_0xa99441}};_0xd004f3['bn']||={'dictionary':{},'getPluralForm':null},_0xd004f3['bn']['dictionary']=Object['assign'](_0xd004f3['bn']['dictionary'],_0x4669ab),_0xd004f3['bn']['getPluralForm']=_0x38a45f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xe6cae7=>{const {bn:{dictionary:_0x29fb51,getPluralForm:_0x4e4fe8}}={'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':_0x368aab=>0x1!=_0x368aab}};_0xe6cae7['bn']||={'dictionary':{},'getPluralForm':null},_0xe6cae7['bn']['dictionary']=Object['assign'](_0xe6cae7['bn']['dictionary'],_0x29fb51),_0xe6cae7['bn']['getPluralForm']=_0x4e4fe8;})(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':_0x55fba7=>_0x55fba7%0xa==0x1&&_0x55fba7%0x64!=0xb?0x0:_0x55fba7%0xa>=0x2&&_0x55fba7%0xa<=0x4&&(_0x55fba7%0x64<0xa||_0x55fba7%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':_0x443518=>_0x443518%0xa==0x1&&_0x443518%0x64!=0xb?0x0:_0x443518%0xa>=0x2&&_0x443518%0xa<=0x4&&(_0x443518%0x64<0xa||_0x443518%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22d749=>{const {bs:{dictionary:_0x47fa7a,getPluralForm:_0x8b0183}}={'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':_0x2259d6=>_0x2259d6%0xa==0x1&&_0x2259d6%0x64!=0xb?0x0:_0x2259d6%0xa>=0x2&&_0x2259d6%0xa<=0x4&&(_0x2259d6%0x64<0xa||_0x2259d6%0x64>=0x14)?0x1:0x2}};_0x22d749['bs']||={'dictionary':{},'getPluralForm':null},_0x22d749['bs']['dictionary']=Object['assign'](_0x22d749['bs']['dictionary'],_0x47fa7a),_0x22d749['bs']['getPluralForm']=_0x8b0183;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5c9a40=>{const {bs:{dictionary:_0x1c2f7b,getPluralForm:_0x435629}}={'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':_0x53bb1d=>_0x53bb1d%0xa==0x1&&_0x53bb1d%0x64!=0xb?0x0:_0x53bb1d%0xa>=0x2&&_0x53bb1d%0xa<=0x4&&(_0x53bb1d%0x64<0xa||_0x53bb1d%0x64>=0x14)?0x1:0x2}};_0x5c9a40['bs']||={'dictionary':{},'getPluralForm':null},_0x5c9a40['bs']['dictionary']=Object['assign'](_0x5c9a40['bs']['dictionary'],_0x1c2f7b),_0x5c9a40['bs']['getPluralForm']=_0x435629;})(window['CKEDITOR_TRANSLATIONS']||={});