@ckeditor/ckeditor5-uploadcare 47.4.0-alpha.0 → 47.4.0-alpha.2

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 _0x57f734,Command as _0x299966}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x59154c,IconGooglePhotos as _0x452593,IconGoogleDrive as _0x62a441,IconFacebook as _0x2844ac,IconDropbox as _0x545df9,IconUploadcareLink as _0x10fef5,IconUploadcareImageUpload as _0x2447f5,IconError as _0x9b358b,IconUploadcareImageEdit as _0x10ce09}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x483c24,MenuBarMenuListItemButtonView as _0x50fa87,View as _0x57f55b,FocusCycler as _0x513394,Dialog as _0x1cd250,DialogViewPosition as _0x578bde,SpinnerView as _0x27bad2,IconView as _0x196399,Notification as _0x4813e8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5a8f67,DomEmitterMixin as _0x1af71d,global as _0x5a3218,getAncestors as _0x2eb877,ObservableMixin as _0x603685,uid as _0xbf0ac1,createElement as _0x379042}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x22f14f}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1f8aa2,info as _0x336f99}from'@uploadcare/upload-client';import*as _0xb41320 from'@uploadcare/file-uploader';var i=function(_0x3f2f74){return _0x3f2f74['Local']='local',_0x3f2f74['URL']='url',_0x3f2f74['Dropbox']='dropbox',_0x3f2f74['GDrive']='gdrive',_0x3f2f74['Facebook']='facebook',_0x3f2f74['GPhotos']='gphotos',_0x3f2f74['OneDrive']='onedrive',_0x3f2f74;}({});function _(_0x5e50c4,_0xe4ac22,_0x10d5bc){const t=_0x5e50c4['t'],_0x1bda40=_0x5e50c4['t'];switch(_0xe4ac22){case i['Local']:return{'text':_0x1bda40('Insert'===_0x10d5bc?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1bda40('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x10d5bc?_0x1bda40('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1bda40('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x10d5bc?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x10d5bc?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x10d5bc?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x10d5bc?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x10d5bc?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xe4ac22;}}class e extends _0x57f734{['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 _0xdc0578=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xe9b661;for(const _0x585665 in _0xdc0578){const _0x2f4e5a=_0x585665,_0x2ee705=_0xdc0578[_0x2f4e5a];if('uploadcareLicenseKeyValid'==_0x2ee705||'uploadcareLicenseKeyInvalid'==_0x2ee705||'uploadcareLicenseKeyExpired'==_0x2ee705||'uploadcareLicenseKeyDomainLimit'==_0x2ee705||'uploadcareLicenseKeyNotAllowed'==_0x2ee705||'uploadcareLicenseKeyEvaluationLimit'==_0x2ee705||'uploadcareLicenseKeyUsageLimit'==_0x2ee705){delete _0xdc0578[_0x2f4e5a],_0xe9b661=_0x2ee705,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xe9b661&&_0xdc0578['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xe9b661&&_0xdc0578['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xe9b661&&_0xdc0578['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xe9b661&&_0xdc0578['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xe9b661&&_0xdc0578['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0xe9b661&&_0xdc0578['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x24aaa4}=this,_0xab2cd8=_0x24aaa4['commands']['get']('uploadcare');if(!_0xab2cd8)return;const _0x4f8dbf=this['_normalizeConfigSourceList'](_0x24aaa4['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2b7e9c,_0xd57335)=>{const _0x58f75a=this['_getIntegrationKey'](_0xd57335['type']);return _0x2b7e9c[_0x58f75a]||(_0x2b7e9c[_0x58f75a]=[]),_0x2b7e9c[_0x58f75a]['push'](_0xd57335),_0x2b7e9c;},{});_0x24aaa4['plugins']['has']('ImageInsertUI')&&_0x24aaa4['commands']['get']('uploadcare')&&Object['entries'](_0x4f8dbf)['forEach'](([_0x59b3b7,_0x2f6d6e])=>{_0x24aaa4['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x59b3b7,'observable':()=>_0xab2cd8,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2f6d6e),'formViewCreator':()=>this['_createDropdownButtons'](_0x2f6d6e),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2f6d6e),'override':'assetManager'!==_0x59b3b7});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x36a968){const {locale:_0x4835f1}=this['editor'];return _0x36a968['map'](_0x4c914a=>{const _0x57e5c2=_(_0x4835f1,_0x4c914a,'Insert');switch(_0x4c914a){case i['Local']:return{'icon':_0x2447f5,'type':i['Local'],..._0x57e5c2};case i['URL']:return{'icon':_0x10fef5,'type':i['URL'],..._0x57e5c2};case i['Dropbox']:return{'icon':_0x545df9,'type':i['Dropbox'],..._0x57e5c2};case i['Facebook']:return{'icon':_0x2844ac,'type':i['Facebook'],..._0x57e5c2};case i['GDrive']:return{'icon':_0x62a441,'type':i['GDrive'],..._0x57e5c2};case i['GPhotos']:return{'icon':_0x452593,'type':i['GPhotos'],..._0x57e5c2};case i['OneDrive']:return{'icon':_0x59154c,'type':i['OneDrive'],..._0x57e5c2};}});}['_getIntegrationKey'](_0xbb430e){switch(_0xbb430e){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x36e876,_0x39e2a4){const _0x7a824e=this['editor'],_0x407f0f=new _0x36e876(_0x7a824e['locale']),_0x2c47cd=_0x7a824e['commands']['get']('uploadcare');return _0x407f0f['bind']('isEnabled')['to'](_0x2c47cd),_0x407f0f['on']('execute',()=>{_0x2c47cd['execute'](_0x39e2a4);}),_0x407f0f;}['_createToolbarButton'](_0x1ff553){const {locale:_0x1d10cb}=this['editor'],_0x448a46=this['editor']['plugins']['get']('ImageInsertUI'),_0x51cd1f=_0x1ff553[0x0],_0x130935=this['_createButton'](_0x483c24,_0x51cd1f['type']);return _0x130935['icon']=_0x51cd1f['icon'],_0x130935['bind']('label')['to'](_0x448a46,'isImageSelected',_0x39cec2=>_(_0x1d10cb,_0x51cd1f['type'],_0x39cec2?'Replace':'Insert')['text']),_0x130935['tooltip']=!0x0,_0x130935;}['_createDropdownButtons'](_0x4a6e9e){const {locale:_0x2c7ab2}=this['editor'],_0x3c2c0c=this['editor']['plugins']['get']('ImageInsertUI');return _0x4a6e9e['map'](_0x58b221=>{const _0x252c6b=this['_createButton'](_0x483c24,_0x58b221['type']);return _0x252c6b['withText']=!0x0,_0x252c6b['icon']=_0x58b221['icon'],_0x252c6b['bind']('label')['to'](_0x3c2c0c,'isImageSelected',_0x2e85cc=>_(_0x2c7ab2,_0x58b221['type'],_0x2e85cc?'Replace':'Insert')['text']),_0x252c6b;});}['_createMenuBarButtons'](_0x3a3ca1){return _0x3a3ca1['map'](_0x25e6b2=>{const _0x5c04ca=this['_createButton'](_0x50fa87,_0x25e6b2['type']);return _0x5c04ca['icon']=_0x25e6b2['icon'],_0x5c04ca['label']=_0x25e6b2['shortText'],_0x5c04ca;});}}class F extends _0x57f55b{['focusTracker'];['focusCycler'];constructor(_0x1c320e){super(_0x1c320e),this['focusTracker']=new _0x5a8f67(),this['focusCycler']=new _0x513394({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x5d0c1f,_0x5a7639){super(_0x5d0c1f),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-'+_0x5a7639}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x5216a5,_0x1e3520){const _0xcecd0f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x58ae3a=>_0x58ae3a<=_0x1e3520)['map'](_0x16a021=>_0x5216a5['replace'](/\/$/,'')+'/-/resize/'+_0x16a021+'x/\x20'+_0x16a021+'w');return{'imageFallbackUrl':_0x5216a5,'imageSources':[{'srcset':_0xcecd0f['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1e3520+'px)\x20100vw,\x20'+_0x1e3520+'px','type':'image/webp'}]};}function S(_0xad3fec,_0x38d606,_0x1f67d7){const _0x9b55aa=_0xad3fec['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x9b55aa?parseInt(_0x9b55aa[0x1],0xa):_0x38d606,'height':_0x9b55aa?parseInt(_0x9b55aa[0x2],0xa):_0x1f67d7};}function p(_0x2d5efa,_0x1f4d85){const _0x4ce602=new(_0x1af71d())(),_0x18614f=_0x2d5efa['plugins']['get']('ImageUtils'),_0x1b5e85=_0x2d5efa['editing']['mapper']['toViewElement'](_0x1f4d85),_0x211d8e=_0x18614f['findViewImgElement'](_0x1b5e85),_0x38f569=_0x2d5efa['editing']['view']['domConverter']['viewToDom'](_0x211d8e),_0xa65fc7=_0x1f4d85['getAttribute']('width'),_0x5079a7=_0x1f4d85['getAttribute']('height'),_0x32d768='image-processing';_0x2d5efa['editing']['view']['change'](_0xda95a7=>{_0xda95a7['addClass'](_0x32d768,_0x1b5e85),_0xda95a7['setStyle']('aspect-ratio',_0xa65fc7+'/'+_0x5079a7,_0x211d8e);}),_0x4ce602['listenTo'](_0x38f569,'load',()=>{_0x4ce602['stopListening'](_0x38f569,'load'),_0x2d5efa['editing']['view']['change'](_0xe5b018=>{_0xe5b018['removeClass'](_0x32d768,_0x1b5e85),_0xe5b018['removeStyle']('aspect-ratio',_0x211d8e);});});}function z(_0x21fe78){if(Array['isArray'](_0x21fe78)){const _0xc688e3=_0x21fe78['map'](z);return _0x2f12b3=>_0xc688e3['some'](_0x7ff5b=>_0x7ff5b(_0x2f12b3));}if('origin'==_0x21fe78){const _0x4c1a61=_0x5a3218['window']['location']['origin'];return _0x48ba80=>new URL(_0x48ba80,_0x5a3218['document']['baseURI'])['origin']==_0x4c1a61;}return'function'==typeof _0x21fe78?_0x21fe78:_0x21fe78 instanceof RegExp?_0x17cdfa=>!(!_0x17cdfa['match'](_0x21fe78)&&!_0x17cdfa['replace'](/^https?:\/\//,'')['match'](_0x21fe78)):()=>!0x1;}function A(_0x34fbc0,_0x151526){return _0x2eb877(_0x34fbc0['target'])['includes'](_0x151526);}class n extends/* #__PURE__ -- @preserve */
24
- _0x603685(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5548d7,_0x377ebe,_0x2704eb){super(),this['_editor']=_0x5548d7,this['_editing']=_0x377ebe,this['_dialog']=_0x5548d7['plugins']['get'](_0x1cd250),this['_api']=_0x377ebe['ctxElement']['getAPI'](),this['_type']=_0x2704eb,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:_0x311b64,model:_0x2ad431}=this['_editor'],_0x49a82d=_0x2ad431['document']['selection']['getSelectedElement'](),_0x33c821=_0x49a82d&&(_0x49a82d['is']('element','imageBlock')||_0x49a82d['is']('element','imageInline'));this['_formView']=new x(_0x311b64,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x2447f5,'title':_(_0x311b64,this['_type'],_0x33c821?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x578bde['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x502092=>!A(_0x502092,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x30635a}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xcfcc74=>{const _0x19293a=_0x30635a['length'];for(const _0x4c94e2 of _0x30635a){const _0x401d9b=_0x4c94e2===_0x30635a[_0x19293a-0x1],{cdnUrl:_0x47565c,fileInfo:_0x18e7a7}=_0x4c94e2;if(!_0x47565c||!_0x18e7a7)continue;const {width:_0x24efa1,height:_0x276ee7}=_0x18e7a7['imageInfo'],_0x36ca71=S(_0x47565c,_0x24efa1,_0x276ee7),_0xaa2182=C(_0x47565c,_0x36ca71['width']),_0x9fb294={'id':_0x18e7a7['uuid'],'type':'image','attributes':{'imageDimension':_0x36ca71,..._0xaa2182}};this['_insertAsset'](_0x9fb294,_0x401d9b,_0xcfcc74);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x234567=>{'idle'===_0x234567['detail']['status']&&!_0x234567['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x322eac,_0x17df47,_0x5e1d19){const _0x508719=this['_editor']['model']['document']['selection'],_0x20cd7a=_0x508719['getSelectedElement'](),_0x1a232e=!(!_0x20cd7a||!_0x20cd7a['is']('element','imageInline'));_0x5e1d19['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x322eac,_0x1a232e),_0x17df47||_0x5e1d19['setSelection'](_0x508719['getLastPosition']());}['_insertImage'](_0x56cb4e,_0x3ef6f9){const _0x1fed0b=this['_editor'],{imageDimension:_0x2e6162,imageFallbackUrl:_0x42ed7a,imageSources:_0x4e2cb4}=_0x56cb4e['attributes'];_0x1fed0b['execute']('insertImage',{'imageType':_0x3ef6f9?'imageInline':null,'source':{'uploadcareImageId':_0x56cb4e['id'],'src':_0x42ed7a,'sources':_0x4e2cb4,..._0x2e6162}});}}class w extends _0x299966{['_editing'];['_controller']=null;static get['requires'](){return[_0x1cd250,o];}constructor(_0x1e90e5){super(_0x1e90e5),this['_editing']=_0x1e90e5['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x227b56){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x227b56);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x189d38,..._0x12d24b}){return _0x1f8aa2(_0x189d38,_0x12d24b);}static['getInfo'](_0x32abcc,_0x3e68d6){return _0x336f99(_0x32abcc,_0x3e68d6);}}class f extends _0x57f734{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x22f14f,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x13e246=this['editor'];if(!!!_0x13e246['config']['get']('uploadcare'))return;_0x13e246['plugins']['get'](_0x22f14f)['createUploadAdapter']=_0x3e5fdb=>new k(_0x3e5fdb,_0x13e246),_0x13e246['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x16e910,{imageElement:_0x4babdd,data:_0x3af787})=>{_0x13e246['model']['change'](_0x10f8b0=>{_0x10f8b0['setAttribute']('uploadcareImageId',_0x3af787['uploadcareImageId'],_0x4babdd);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5ca72a,_0x1fbd44){this['loader']=_0x5ca72a,this['editor']=_0x1fbd44,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xeb7971=await this['loader']['file'];return j['upload']({'file':_0xeb7971,'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':_0x1945a1=>{_0x1945a1&&_0x1945a1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1945a1['value']);}})['then'](async _0x4f2a1c=>{const {imageFallbackUrl:_0x5d59bd,imageSources:_0x576bc4}=C(_0x4f2a1c['cdnUrl'],_0x4f2a1c['imageInfo']['width']);return{'uploadcareImageId':_0x4f2a1c['uuid'],'default':_0x5d59bd,'sources':_0x576bc4};})['catch'](()=>{const _0x4e874e=t('Cannot\x20upload\x20file:')+('\x20'+_0xeb7971['name']+'.');return Promise['reject'](_0x4e874e);});}['abort'](){this['controller']['abort']();}}class o extends _0x57f734{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x1cd250];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x85486f){super(_0x85486f),this['ucContextId']=_0xbf0ac1();}['init'](){const _0x436a52=this['editor'];_0x436a52['commands']['add']('uploadcare',new w(_0x436a52));}['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 _0x5e9f4e=_0x5a3218['document']['querySelector']('input[uploadcare-file-input]');_0x5e9f4e&&_0x5e9f4e['remove']();}),async function(_0x461613){const _0x47feed=_0x3edf9a([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]),_0x4d9b1a=0x535f8c3a,_0x24cdf4=0x5358f202^_0x4d9b1a,_0x2a0e64=window[_0x3edf9a([0x44,0x61,0x74,0x65])][_0x3edf9a([0x6e,0x6f,0x77])](),_0x48e8a4=_0x461613[_0x3edf9a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e8eab=new window[(_0x3edf9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16cae6=>{_0x48e8a4[_0x3edf9a([0x6f,0x6e,0x63,0x65])](_0x3edf9a([0x72,0x65,0x61,0x64,0x79]),_0x16cae6);}),_0x3c77ad={[_0x3edf9a([0x6b,0x74,0x79])]:_0x3edf9a([0x45,0x43]),[_0x3edf9a([0x75,0x73,0x65])]:_0x3edf9a([0x73,0x69,0x67]),[_0x3edf9a([0x63,0x72,0x76])]:_0x3edf9a([0x50,0x2d,0x32,0x35,0x36]),[_0x3edf9a([0x78])]:_0x3edf9a([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]),[_0x3edf9a([0x79])]:_0x3edf9a([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]),[_0x3edf9a([0x61,0x6c,0x67])]:_0x3edf9a([0x45,0x53,0x32,0x35,0x36])},_0x3b0837=_0x48e8a4[_0x3edf9a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3edf9a([0x67,0x65,0x74])](_0x3edf9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f47e0(){let _0x26e485,_0x450bea=null,_0x25af66=null;try{if(_0x3b0837==_0x3edf9a([0x47,0x50,0x4c]))return _0x3edf9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x26e485=_0xee7c77(),!_0x26e485)return _0x3edf9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x26e485[_0x3edf9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x25af66=_0x81b75f(_0x26e485[_0x3edf9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x26e485[_0x3edf9a([0x6a,0x74,0x69])])),await _0x172a8c()?_0x990d4e()?_0x4ac3a1()?_0x3edf9a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x117520()?(_0x26e485[_0x3edf9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3edf9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x450bea=_0x213b59(_0x3edf9a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x47a4dc()):_0x3edf9a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3edf9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3edf9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3edf9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ac3a1(){const _0x37e779=[_0x3edf9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3edf9a([0x74,0x72,0x69,0x61,0x6c])][_0x3edf9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26e485[_0x3edf9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a0e64/0x3e8:0xe10*_0x24cdf4;return _0x26e485[_0x3edf9a([0x65,0x78,0x70])]<_0x37e779;}function _0x990d4e(){const _0x3c8976=_0x26e485[_0x3edf9a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c8976&&(!!_0x3c8976[_0x3edf9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3edf9a([0x2a]))||!!_0x3c8976[_0x3edf9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3edf9a([0x55,0x50,0x4c,0x43])));}function _0x117520(){const _0xbc87b6=_0x26e485[_0x3edf9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xbc87b6||0x0==_0xbc87b6[_0x3edf9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c1504}=new URL(window[_0x3edf9a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xbc87b6[_0x3edf9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c1504))return!0x0;const _0x558c9a=_0x3c1504[_0x3edf9a([0x73,0x70,0x6c,0x69,0x74])](_0x3edf9a([0x2e]));return _0xbc87b6[_0x3edf9a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5551ff=>_0x5551ff[_0x3edf9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3edf9a([0x2a])))[_0x3edf9a([0x6d,0x61,0x70])](_0x304571=>_0x304571[_0x3edf9a([0x73,0x70,0x6c,0x69,0x74])](_0x3edf9a([0x2e])))[_0x3edf9a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34d51b=>_0x34d51b[_0x3edf9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x558c9a[_0x3edf9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3edf9a([0x6d,0x61,0x70])](_0x966a86=>Array(_0x558c9a[_0x3edf9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x966a86[_0x3edf9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3edf9a([0x66,0x69,0x6c,0x6c])](_0x966a86[0x0]===_0x3edf9a([0x2a])?_0x3edf9a([0x2a]):'')[_0x3edf9a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x966a86))[_0x3edf9a([0x73,0x6f,0x6d,0x65])](_0x5a7f8a=>_0x558c9a[_0x3edf9a([0x65,0x76,0x65,0x72,0x79])]((_0xcc7a6c,_0x212724)=>_0x5a7f8a[_0x212724]===_0xcc7a6c||_0x5a7f8a[_0x212724]===_0x3edf9a([0x2a])));}function _0x47a4dc(){return _0x450bea&&_0x25af66?new window[(_0x3edf9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b4876,_0x123f31)=>{_0x450bea[_0x3edf9a([0x74,0x68,0x65,0x6e])](_0x3b4876,_0x123f31),_0x25af66[_0x3edf9a([0x74,0x68,0x65,0x6e])](_0x391400=>{_0x391400!=_0x3edf9a([0x56,0x61,0x6c,0x69,0x64])&&_0x3b4876(_0x391400);},_0x123f31);}):_0x450bea||_0x25af66||_0x3edf9a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x81b75f(_0x4aa9bc,_0x539ed7){return new window[(_0x3edf9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3be991=>{if(_0x147df1())return _0x3be991(_0x3edf9a([0x56,0x61,0x6c,0x69,0x64]));_0x5a22ff(),_0x48e8a4[_0x3edf9a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3edf9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20069c=!0x1;const _0xab995=_0xbf0ac1();function _0x43e528(_0x49e67f){return!!_0x49e67f&&(typeof _0x49e67f===_0x3edf9a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x49e67f===_0x3edf9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x49e67f[_0x3edf9a([0x74,0x68,0x65,0x6e])]===_0x3edf9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x49e67f[_0x3edf9a([0x63,0x61,0x74,0x63,0x68])]===_0x3edf9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f4f21(_0x458384){_0x361d3f(_0x458384)[_0x3edf9a([0x74,0x68,0x65,0x6e])](_0x4cec98=>{if(!_0x4cec98||_0x4cec98[_0x3edf9a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3edf9a([0x6f,0x6b]))return _0x3edf9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x6a2d00(_0x286fdb(_0xab995+_0x539ed7))!=_0x4cec98[_0x3edf9a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3edf9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3edf9a([0x56,0x61,0x6c,0x69,0x64]);})[_0x3edf9a([0x74,0x68,0x65,0x6e])](_0x27bd3b=>(_0x5a09d9(),_0x27bd3b),()=>{const _0x14e45f=_0x520d0e();return null==_0x14e45f?(_0x5a09d9(),_0x3edf9a([0x56,0x61,0x6c,0x69,0x64])):_0x3edf9a(_0x2a0e64-_0x14e45f>(0x7753083a^_0x4d9b1a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3edf9a([0x74,0x68,0x65,0x6e])](_0x3be991)[_0x3edf9a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3be991(_0x3edf9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x32c19e=0x536962ba^_0x4d9b1a;function _0x5a09d9(){const _0x53665c=_0x3edf9a([0x6c,0x6c,0x63,0x74,0x2d])+_0x6a2d00(_0x286fdb(_0x4aa9bc)),_0x3ce505=_0x51e90e(_0x6a2d00(window[_0x3edf9a([0x4d,0x61,0x74,0x68])][_0x3edf9a([0x63,0x65,0x69,0x6c])](_0x2a0e64/_0x32c19e)));window[_0x3edf9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3edf9a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53665c,_0x3ce505);}function _0x520d0e(){const _0x240924=_0x3edf9a([0x6c,0x6c,0x63,0x74,0x2d])+_0x6a2d00(_0x286fdb(_0x4aa9bc)),_0x2004c2=window[_0x3edf9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3edf9a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x240924);return _0x2004c2?window[_0x3edf9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51e90e(_0x2004c2),0x10)*_0x32c19e:null;}function _0x361d3f(_0x968991){return new window[(_0x3edf9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57fd51,_0x23319b)=>{_0x968991[_0x3edf9a([0x74,0x68,0x65,0x6e])](_0x57fd51,_0x23319b),window[_0x3edf9a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23319b,0x535e58fa^_0x4d9b1a);});}}_0x48e8a4[_0x3edf9a([0x6f,0x6e])](_0x3edf9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13840b,_0xb9cb7c)=>{if(_0xb9cb7c[0x0]!=_0x4aa9bc)return _0x3be991(_0x3edf9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb9cb7c[0x1]={..._0xb9cb7c[0x1],[_0x3edf9a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xab995};},{[_0x3edf9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3edf9a([0x68,0x69,0x67,0x68])}),_0x48e8a4[_0x3edf9a([0x6f,0x6e])](_0x3edf9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3058b8=>{_0x43e528(_0x3058b8[_0x3edf9a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20069c=!0x0,_0x3f4f21(_0x3058b8[_0x3edf9a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3edf9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3edf9a([0x6c,0x6f,0x77])}),_0x2e8eab[_0x3edf9a([0x74,0x68,0x65,0x6e])](()=>{_0x20069c||_0x3be991(_0x3edf9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x147df1(){return _0x48e8a4[_0x3edf9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3edf9a([0x76,0x69,0x65,0x77])][_0x3edf9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3edf9a([0x61,0x75,0x74,0x6f]);}function _0x5a22ff(){_0x48e8a4[_0x3edf9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3edf9a([0x76,0x69,0x65,0x77])][_0x3edf9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3edf9a([0x61,0x75,0x74,0x6f]);}}function _0x213b59(_0x12767c){const _0x4e0cf9=[new window[(_0x3edf9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23df9c=>setTimeout(_0x23df9c,0x5356b2f6^_0x4d9b1a)),_0x2e8eab[_0x3edf9a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3edf9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34d9f1=>{let _0x47e494=0x0;_0x48e8a4[_0x3edf9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3edf9a([0x6f,0x6e])](_0x3edf9a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x53d9b8,_0x3c943f)=>{_0x3c943f[0x0][_0x3edf9a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x47e494++,_0x47e494==(0x535f89d2^_0x4d9b1a)&&(_0x34d9f1(),_0x53d9b8[_0x3edf9a([0x6f,0x66,0x66])]());});}))];return window[_0x3edf9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3edf9a([0x72,0x61,0x63,0x65])](_0x4e0cf9)[_0x3edf9a([0x74,0x68,0x65,0x6e])](()=>_0x12767c);}async function _0x264959(){await _0x2e8eab,_0x48e8a4[_0x3edf9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3edf9a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d6244,_0x48e8a4[_0x3edf9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3edf9a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d6244,_0x48e8a4[_0x3edf9a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3edf9a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29d75b(_0x4a29ec){const _0x38dd1e=_0x5a0ee3();_0x48e8a4[_0x38dd1e]=_0x3edf9a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a29ec,_0x4a29ec!=_0x3edf9a([0x56,0x61,0x6c,0x69,0x64])&&_0x264959();}function _0x5a0ee3(){const _0x5c6ab1=window[_0x3edf9a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3edf9a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3edf9a([0x6e,0x6f,0x77])]())[_0x3edf9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3edf9a([0x2e]),'');let _0x2bb44d=_0x3edf9a([0x68]);for(let _0x3ceca8=0x0;_0x3ceca8<_0x5c6ab1[_0x3edf9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ceca8+=0x2){let _0x4ff3b7=window[_0x3edf9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c6ab1[_0x3edf9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ceca8,_0x3ceca8+0x2));_0x4ff3b7>=_0x47feed[_0x3edf9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ff3b7-=_0x47feed[_0x3edf9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2bb44d+=_0x47feed[_0x4ff3b7];}return _0x2bb44d;}function _0xee7c77(){const _0x192a63=_0x3b0837[_0x3edf9a([0x73,0x70,0x6c,0x69,0x74])](_0x3edf9a([0x2e]));if(0x3!=_0x192a63[_0x3edf9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a328d(_0x192a63[0x1]);function _0x4a328d(_0x2408ed){const _0x1a527d=_0x16dc26(_0x2408ed);return _0x1a527d&&_0x366acf()?_0x1a527d:null;function _0x366acf(){const _0x59f834=_0x1a527d[_0x3edf9a([0x6a,0x74,0x69])],_0x57e790=window[_0x3edf9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59f834[_0x3edf9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59f834[_0x3edf9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a0f2a={..._0x1a527d,[_0x3edf9a([0x6a,0x74,0x69])]:_0x59f834[_0x3edf9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59f834[_0x3edf9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a0f2a[_0x3edf9a([0x76,0x63])],_0x286fdb(_0x4a0f2a)==_0x57e790;}}}async function _0x172a8c(){let _0x21aeca=!0x0;try{const _0x414335=_0x3b0837[_0x3edf9a([0x73,0x70,0x6c,0x69,0x74])](_0x3edf9a([0x2e])),[_0x3eedcb,_0x387692,_0x2ba812]=_0x414335;return _0x1f15e8(_0x3eedcb),await _0x564451(_0x3eedcb,_0x387692,_0x2ba812),_0x21aeca;}catch{return!0x1;}function _0x1f15e8(_0xededd0){const _0x349676=_0x16dc26(_0xededd0);_0x349676&&_0x349676[_0x3edf9a([0x61,0x6c,0x67])]==_0x3edf9a([0x45,0x53,0x32,0x35,0x36])||(_0x21aeca=!0x1);}async function _0x564451(_0x2326f7,_0x586c8b,_0x5ca713){const _0x44a9e1=window[_0x3edf9a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3edf9a([0x66,0x72,0x6f,0x6d])](_0x4e73b4(_0x5ca713),_0xbd7cf1=>_0xbd7cf1[_0x3edf9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1fcbcc=new window[(_0x3edf9a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3edf9a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2326f7+_0x3edf9a([0x2e])+_0x586c8b),_0x24e497=window[_0x3edf9a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3edf9a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24e497)return;const _0x14f552=await _0x24e497[_0x3edf9a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3edf9a([0x6a,0x77,0x6b]),_0x3c77ad,{[_0x3edf9a([0x6e,0x61,0x6d,0x65])]:_0x3edf9a([0x45,0x43,0x44,0x53,0x41]),[_0x3edf9a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3edf9a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3edf9a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24e497[_0x3edf9a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3edf9a([0x6e,0x61,0x6d,0x65])]:_0x3edf9a([0x45,0x43,0x44,0x53,0x41]),[_0x3edf9a([0x68,0x61,0x73,0x68])]:{[_0x3edf9a([0x6e,0x61,0x6d,0x65])]:_0x3edf9a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14f552,_0x44a9e1,_0x1fcbcc)||(_0x21aeca=!0x1);}}function _0x16dc26(_0x1ca0cd){return _0x1ca0cd[_0x3edf9a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3edf9a([0x65,0x79]))?JSON[_0x3edf9a([0x70,0x61,0x72,0x73,0x65])](_0x4e73b4(_0x1ca0cd)):null;}function _0x4e73b4(_0x1c6f3f){return window[_0x3edf9a([0x61,0x74,0x6f,0x62])](_0x1c6f3f[_0x3edf9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3edf9a([0x2b]))[_0x3edf9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3edf9a([0x2f])));}function _0x286fdb(_0x35ab07){let _0x5adc20=0x1505;function _0x42353d(_0x241ffa){for(let _0x5499c7=0x0;_0x5499c7<_0x241ffa[_0x3edf9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5499c7++){const _0x58f994=_0x241ffa[_0x3edf9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5499c7);_0x5adc20=(_0x5adc20<<0x5)+_0x5adc20+_0x58f994,_0x5adc20&=_0x5adc20;}}function _0x20e40d(_0x56184a){Array[_0x3edf9a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x56184a)?_0x56184a[_0x3edf9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20e40d):_0x56184a&&typeof _0x56184a==_0x3edf9a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3edf9a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x56184a)[_0x3edf9a([0x73,0x6f,0x72,0x74])]()[_0x3edf9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x426a4d,_0x7d2296])=>{_0x42353d(_0x426a4d),_0x20e40d(_0x7d2296);}):_0x42353d(window[_0x3edf9a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x56184a));}return _0x20e40d(_0x35ab07),_0x5adc20>>>0x0;}function _0x6a2d00(_0x3acf7e){return _0x3acf7e[_0x3edf9a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3edf9a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3edf9a([0x30]));}function _0x51e90e(_0x2bc74b){return _0x2bc74b[_0x3edf9a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3edf9a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3edf9a([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d6244(){}function _0x3edf9a(_0x38d0dc){return _0x38d0dc['map'](_0x424682=>String['fromCharCode'](_0x424682))['join']('');}_0x29d75b(await _0x3f47e0());}(this);}['_initSchema'](){const _0xa90614=this['editor']['model']['schema'];_0xa90614['isRegistered']('imageBlock')&&_0xa90614['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xa90614['isRegistered']('imageInline')&&_0xa90614['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x473e79=this['editor'];_0x473e79['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x473e79['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4c907d=>_0x4c907d['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x59c29=_0x473e79['commands']['get']('replaceImageSource');_0x59c29&&this['listenTo'](_0x59c29,'cleanupImage',(_0x518d2a,[_0x53219e,_0x136043])=>{_0x53219e['removeAttribute']('uploadcareImageId',_0x136043);});}['_initConfig'](){const _0x56f46e=this['editor']['config']['get']('uploadcare.uploader')||{},_0x14b891=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x379042(_0x5a3218['document'],'uc-config',{..._0x56f46e,'pubkey':_0x14b891,'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']=_0x259fc1=>{if('closeMax'==_0x259fc1)return'#uc-icon-arrow-down';},_0x5a3218['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x379042(_0x5a3218['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5a3218['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1c9ffa=this['editor']['commands']['get']('insertImage');_0x1c9ffa&&this['listenTo'](_0x1c9ffa,'execute',()=>{const _0x8b3d07=this['editor']['model']['document']['selection']['getSelectedElement']();_0x8b3d07&&_0x8b3d07['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x8b3d07);});});const _0x3d5725=this['editor']['commands']['get']('uploadcareImageReplace');_0x3d5725&&this['listenTo'](_0x3d5725,'execute',()=>{const _0x6c8d32=this['editor']['model']['document']['selection']['getSelectedElement']();_0x6c8d32&&_0x6c8d32['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x6c8d32);});});}}class tt extends _0x57f734{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x177d80){super(_0x177d80),_0x177d80['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0xb41320['defineComponents'](_0xb41320),this['_defineLocale']();}['_defineLocale'](){const _0x812166=this['editor']['config']['get']('uploadcare.locale'),_0x87788f=this['editor']['locale']['contentLanguage'];_0x812166&&_0xb41320['defineLocale'](_0x87788f,_0x812166);}}class ii extends _0x57f55b{constructor(_0x23219d){super(_0x23219d);const t=_0x23219d['t'],_0x2a9e0d=this['bindTemplate'],_0x2a4050=new _0x27bad2();_0x2a4050['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':[_0x2a4050,{'text':_0x2a9e0d['to']('imageUploadProgress',_0x389c8d=>t('Loading\x20image...')+'\x20('+(_0x389c8d||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 _0x57f55b{constructor(_0x3412c0){super(_0x3412c0);const t=_0x3412c0['t'];this['set']('errorType',null);const _0x361bee=new _0x483c24(_0x3412c0);_0x361bee['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x361bee['withText']=!0x0,_0x361bee['class']='ck-button-action',_0x361bee['on']('execute',()=>{this['fire']('retry');}),_0x361bee['bind']('isVisible')['to'](this,'errorType',_0x31c2cd=>'NotFound'!==_0x31c2cd);const _0x322af2=new _0x196399();_0x322af2['content']=_0x9b358b,_0x322af2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x33c6b=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':[_0x322af2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x33c6b['to']('errorType',_0x1f08ff=>t('NotFound'!==_0x1f08ff?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x361bee]},{'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 _0x57f55b{constructor(_0x598636,_0x3e796e){super(_0x598636);const _0x4588d8=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3e796e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4588d8['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x359d25,_0x3080d7,_0x49c6c9){super(_0x359d25),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x359d25),this['_errorView']=new ti(_0x359d25),this['_editingView']=new ei(_0x359d25,_0x49c6c9),this['_focusableView']=new _0x57f55b(_0x359d25),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3080d7),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'],_0x49cfab=>{this['_addUploadcareImageEditorListeners'](_0x49cfab);});}),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'](_0x4904f5,_0x286cab){const _0x145c77='uc-cloud-image-editor',_0x35d979=_0x4904f5['querySelector'](_0x145c77);if(_0x35d979)return _0x286cab(_0x35d979);const _0x3dc0b7=new MutationObserver(_0x1f32b1=>{const _0x296cde=_0x1f32b1['filter'](_0x4a667e=>_0x4a667e['target']===_0x4904f5&&_0x4a667e['addedNodes']['length']>0x0&&_0x4a667e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x145c77);_0x296cde['length']&&(_0x3dc0b7['disconnect'](),_0x286cab(_0x296cde[0x0]['addedNodes'][0x0]));});_0x3dc0b7['observe'](_0x4904f5,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x18fdbf){_0x18fdbf['addEventListener']('apply',_0x4d71ac=>{this['fire']('apply',{'imageSrc':_0x4d71ac['detail']['cdnUrl']});}),_0x18fdbf['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x603685(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x608cee,_0x5524d3,_0x4113f7){super(),this['_editor']=_0x608cee,this['_dialog']=_0x5524d3,this['_imageElement']=_0x4113f7,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 _0x912dfb=this['_imageElement'],_0x1464b=_0x912dfb['getAttribute']('uploadcareImageId'),_0x5ac715=_0x912dfb['getAttribute']('src');if(_0x1464b)await this['_loadImageInfo'](_0x1464b,_0x5ac715);else{if(this['_imageCache']['has'](_0x5ac715)){const _0x526fe7=this['_imageCache']['get'](_0x5ac715);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x526fe7['url'],this['imageDimension']=_0x526fe7['dimension'],this['imageId']=_0x526fe7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x13436c}=this['_editor'],t=_0x13436c['t'],_0x82f9b8=new X(_0x13436c,this['imageStatus'],this['_attributes']);_0x82f9b8['bind']('status')['to'](this,'imageStatus'),_0x82f9b8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x82f9b8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x82f9b8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x82f9b8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x10ce09,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x82f9b8,'position':_0x578bde['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x82f9b8['focus']();},'onHide':()=>{_0x82f9b8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xc8c263=>!A(_0xc8c263,_0x82f9b8['element'])}});}['_loadImageInfo'](_0x275f0c,_0x535ecf){return j['getInfo'](_0x275f0c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5edeef=>{const {width:_0x2ab97a,height:_0x22b1a8}=_0x5edeef['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x535ecf,this['imageDimension']={'width':_0x2ab97a,'height':_0x22b1a8},this['imageId']=_0x275f0c;})['catch'](_0x270680=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x270680['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2c1308,_0x2f10c7){return this['_getImageAsFile'](_0x2c1308)['then'](_0x2f3653=>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':_0x2f10c7['signal'],'file':_0x2f3653,'onProgress':_0x37938a=>{_0x37938a&&_0x37938a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x37938a['value']));}}))['then'](_0x50afde=>{const {width:_0x3dd713,height:_0x554d15}=_0x50afde['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x50afde['cdnUrl'],this['imageDimension']={'width':_0x3dd713,'height':_0x554d15},this['imageId']=_0x50afde['uuid'],this['imageUploadProgress']=null;const _0xf9ce9d=_0x2c1308['getAttribute']('src');this['_imageCache']['set'](_0xf9ce9d,{'id':_0x50afde['uuid'],'url':_0x50afde['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xee4776=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xee4776['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x324d8e,_0x18874d){_0x324d8e['on']('apply',(_0x48d85f,_0x353db8)=>{this['_replaceImage'](_0x18874d,_0x353db8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x324d8e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x324d8e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1a52a9,_0x2e343e,_0x370f25){const _0x3f9cce=this['_editor'],{width:_0x2d12f3,height:_0x3ade2a}=S(_0x2e343e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xbd327c,imageSources:_0x32418b}=C(_0x2e343e,_0x2d12f3);_0x3f9cce['model']['change'](_0x151712=>{if('$graveyard'===_0x1a52a9['root']['rootName']){_0x3f9cce['execute']('insertImage',{'imageType':_0x1a52a9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1a52a9['getAttributes']()),'uploadcareImageId':_0x370f25,'src':_0xbd327c,'sources':_0x32418b,'width':_0x2d12f3,'height':_0x3ade2a}});const _0x4af648=_0x1a52a9['getChildren']();_0x1a52a9=_0x3f9cce['model']['document']['selection']['getSelectedElement']();for(const _0x5ec54c of _0x4af648)_0x151712['append'](_0x151712['cloneElement'](_0x5ec54c),_0x1a52a9);}else _0x151712['setSelection'](_0x1a52a9,'on'),_0x3f9cce['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1a52a9['getAttributes']()),'uploadcareImageId':_0x370f25,'src':_0xbd327c,'sources':_0x32418b,'width':_0x2d12f3,'height':_0x3ade2a},_0x1a52a9);_0x151712['setSelection'](_0x1a52a9,'on');});}async['_getImageAsFile'](_0x414a10){const _0xec7c4b=_0x5a3218['window'],_0x802361=_0x5a3218['document']['location']['href'],_0x313040=new _0xec7c4b['URL'](_0x414a10['getAttribute']('src'),_0x802361);if('data:'===_0x313040['protocol']){const _0x5ea3a9=_0x313040['href']['split'](','),_0x1eefde=_0x5ea3a9[0x0]['match'](/:(.*?);/)[0x1],_0x505873=_0x1eefde['split']('/')[0x1],_0x2f315e=_0xec7c4b['atob'](_0x5ea3a9[_0x5ea3a9['length']-0x1]);let _0x5b3b75=_0x2f315e['length'];const _0xc35554=new _0xec7c4b['Uint8Array'](_0x5b3b75);for(;_0x5b3b75--;)_0xc35554[_0x5b3b75]=_0x2f315e['charCodeAt'](_0x5b3b75);return new _0xec7c4b['File']([_0xc35554],'image.'+_0x505873,{'type':_0x1eefde});}const _0x9a40bc=_0x313040['href']['split']('/'),_0x2291ef=_0x9a40bc[_0x9a40bc['length']-0x1],_0x50288a=_0x2291ef['split']('.')[0x1];return _0xec7c4b['fetch'](_0x313040['href'])['then'](_0x264faf=>_0x264faf['clone']()['blob']())['then'](_0x4eef72=>new _0xec7c4b['File']([_0x4eef72],_0x2291ef,{'type':'image/'+_0x50288a}));}}class Q extends _0x299966{['imageEditController'];static get['requires'](){return[_0x1cd250];}['_isEditable'];constructor(_0x2120ce){super(_0x2120ce),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x254320){const _0x28f447=z(_0x254320);return _0xc96164=>!(!_0xc96164||!_0xc96164['is']('element','imageBlock')&&!_0xc96164['is']('element','imageInline'))&&(!!_0xc96164['hasAttribute']('uploadcareImageId')||!!_0xc96164['hasAttribute']('src')&&_0x28f447(_0xc96164['getAttribute']('src')));}(_0x2120ce['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1dcc2f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1dcc2f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4241f2=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4241f2&&(_0x4241f2['is']('element','imageBlock')||_0x4241f2['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x1cd250),_0x4241f2),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x299966{['refresh'](){const _0x3b6182=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3b6182&&(_0x3b6182['is']('element','imageBlock')||_0x3b6182['is']('element','imageInline')));}['execute'](_0xaad40f){const _0xa274c0=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x243838=>{_0x243838['setAttributes'](_0xaad40f,_0xa274c0),_0x243838['removeAttribute']('srcset',_0xa274c0),_0x243838['removeAttribute']('sizes',_0xa274c0);});}}class m extends _0x57f734{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x4813e8,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1e6236}=this;_0x1e6236['commands']['add']('uploadcareImageEdit',new Q(_0x1e6236)),_0x1e6236['commands']['add']('uploadcareImageReplace',new V(_0x1e6236));}}class g extends _0x57f734{['_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 _0x43c911=this['editor'];_0x43c911['ui']['componentFactory']['add']('uploadcareImageEdit',_0x496150=>{const _0x33d360=_0x43c911['commands']['get']('uploadcareImageEdit'),_0x947d5f=new _0x483c24(_0x496150),t=_0x496150['t'];return _0x947d5f['set']({'icon':_0x10ce09,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x947d5f['bind']('isEnabled')['to'](_0x33d360),_0x947d5f['bind']('isOn')['to'](_0x33d360,'isActive'),this['listenTo'](_0x947d5f,'execute',()=>{_0x43c911['execute']('uploadcareImageEdit'),_0x43c911['editing']['view']['focus']();}),_0x947d5f;}),this['_initConfig']();}['_initConfig'](){const _0x553182=_0x379042(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x553182),this['listenTo'](this['editor'],'destroy',()=>{_0x553182['remove']();});}}class et extends _0x57f734{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x2c9ec5,Command as _0x340ba3}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2487e4,IconGooglePhotos as _0x4795c0,IconGoogleDrive as _0x3f9010,IconFacebook as _0x16d930,IconDropbox as _0x1013a5,IconUploadcareLink as _0x379d01,IconUploadcareImageUpload as _0x4fca51,IconError as _0x367b8c,IconUploadcareImageEdit as _0x4ba6e4}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1f56a3,MenuBarMenuListItemButtonView as _0x29e4df,View as _0x56856a,FocusCycler as _0x166141,Dialog as _0x53818d,DialogViewPosition as _0xdf23b5,SpinnerView as _0x49c774,IconView as _0x36c794,Notification as _0x258fba}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2af186,DomEmitterMixin as _0xd9e5e8,global as _0x391e65,getAncestors as _0x48e23b,ObservableMixin as _0x553239,uid as _0x379c4a,createElement as _0x4c768c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3e7ba4}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2a9864,info as _0x3ab88b}from'@uploadcare/upload-client';import*as _0x40bc2f from'@uploadcare/file-uploader';var i=function(_0x338f0b){return _0x338f0b['Local']='local',_0x338f0b['URL']='url',_0x338f0b['Dropbox']='dropbox',_0x338f0b['GDrive']='gdrive',_0x338f0b['Facebook']='facebook',_0x338f0b['GPhotos']='gphotos',_0x338f0b['OneDrive']='onedrive',_0x338f0b;}({});function _(_0x2e58c2,_0x52b36c,_0x296d97){const t=_0x2e58c2['t'],_0x235e5d=_0x2e58c2['t'];switch(_0x52b36c){case i['Local']:return{'text':_0x235e5d('Insert'===_0x296d97?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x235e5d('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x296d97?_0x235e5d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x235e5d('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x296d97?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x296d97?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x296d97?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x296d97?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x296d97?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x52b36c;}}class e extends _0x2c9ec5{['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 _0x42120f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x17f7b5;for(const _0x4e5bc8 in _0x42120f){const _0x5dd3b0=_0x4e5bc8,_0x47d709=_0x42120f[_0x5dd3b0];if('uploadcareLicenseKeyValid'==_0x47d709||'uploadcareLicenseKeyInvalid'==_0x47d709||'uploadcareLicenseKeyExpired'==_0x47d709||'uploadcareLicenseKeyDomainLimit'==_0x47d709||'uploadcareLicenseKeyNotAllowed'==_0x47d709||'uploadcareLicenseKeyEvaluationLimit'==_0x47d709||'uploadcareLicenseKeyUsageLimit'==_0x47d709){delete _0x42120f[_0x5dd3b0],_0x17f7b5=_0x47d709,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x17f7b5&&_0x42120f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x17f7b5&&_0x42120f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x17f7b5&&_0x42120f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x17f7b5&&_0x42120f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x17f7b5&&_0x42120f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x17f7b5&&_0x42120f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x514e6d}=this,_0x30339d=_0x514e6d['commands']['get']('uploadcare');if(!_0x30339d)return;const _0x5507da=this['_normalizeConfigSourceList'](_0x514e6d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1d8102,_0x3f0816)=>{const _0x21b7b5=this['_getIntegrationKey'](_0x3f0816['type']);return _0x1d8102[_0x21b7b5]||(_0x1d8102[_0x21b7b5]=[]),_0x1d8102[_0x21b7b5]['push'](_0x3f0816),_0x1d8102;},{});_0x514e6d['plugins']['has']('ImageInsertUI')&&_0x514e6d['commands']['get']('uploadcare')&&Object['entries'](_0x5507da)['forEach'](([_0x24dc2f,_0x4eafa9])=>{_0x514e6d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x24dc2f,'observable':()=>_0x30339d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4eafa9),'formViewCreator':()=>this['_createDropdownButtons'](_0x4eafa9),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4eafa9),'override':'assetManager'!==_0x24dc2f});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5e78c0){const {locale:_0x1e184d}=this['editor'];return _0x5e78c0['map'](_0x2ffd0c=>{const _0x4a99dd=_(_0x1e184d,_0x2ffd0c,'Insert');switch(_0x2ffd0c){case i['Local']:return{'icon':_0x4fca51,'type':i['Local'],..._0x4a99dd};case i['URL']:return{'icon':_0x379d01,'type':i['URL'],..._0x4a99dd};case i['Dropbox']:return{'icon':_0x1013a5,'type':i['Dropbox'],..._0x4a99dd};case i['Facebook']:return{'icon':_0x16d930,'type':i['Facebook'],..._0x4a99dd};case i['GDrive']:return{'icon':_0x3f9010,'type':i['GDrive'],..._0x4a99dd};case i['GPhotos']:return{'icon':_0x4795c0,'type':i['GPhotos'],..._0x4a99dd};case i['OneDrive']:return{'icon':_0x2487e4,'type':i['OneDrive'],..._0x4a99dd};}});}['_getIntegrationKey'](_0x537064){switch(_0x537064){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x592572,_0x4f4216){const _0x360a95=this['editor'],_0x2d5ab8=new _0x592572(_0x360a95['locale']),_0x5037c1=_0x360a95['commands']['get']('uploadcare');return _0x2d5ab8['bind']('isEnabled')['to'](_0x5037c1),_0x2d5ab8['on']('execute',()=>{_0x5037c1['execute'](_0x4f4216);}),_0x2d5ab8;}['_createToolbarButton'](_0x1cfc0b){const {locale:_0x2ab8d7}=this['editor'],_0x2d9bf5=this['editor']['plugins']['get']('ImageInsertUI'),_0x29c39b=_0x1cfc0b[0x0],_0x27cdd1=this['_createButton'](_0x1f56a3,_0x29c39b['type']);return _0x27cdd1['icon']=_0x29c39b['icon'],_0x27cdd1['bind']('label')['to'](_0x2d9bf5,'isImageSelected',_0x4ceffe=>_(_0x2ab8d7,_0x29c39b['type'],_0x4ceffe?'Replace':'Insert')['text']),_0x27cdd1['tooltip']=!0x0,_0x27cdd1;}['_createDropdownButtons'](_0x26c527){const {locale:_0x977894}=this['editor'],_0x296f5c=this['editor']['plugins']['get']('ImageInsertUI');return _0x26c527['map'](_0x3da9e6=>{const _0x4b4cad=this['_createButton'](_0x1f56a3,_0x3da9e6['type']);return _0x4b4cad['withText']=!0x0,_0x4b4cad['icon']=_0x3da9e6['icon'],_0x4b4cad['bind']('label')['to'](_0x296f5c,'isImageSelected',_0x1990d8=>_(_0x977894,_0x3da9e6['type'],_0x1990d8?'Replace':'Insert')['text']),_0x4b4cad;});}['_createMenuBarButtons'](_0x2ff2e8){return _0x2ff2e8['map'](_0x477f76=>{const _0x485840=this['_createButton'](_0x29e4df,_0x477f76['type']);return _0x485840['icon']=_0x477f76['icon'],_0x485840['label']=_0x477f76['shortText'],_0x485840;});}}class F extends _0x56856a{['focusTracker'];['focusCycler'];constructor(_0x55e261){super(_0x55e261),this['focusTracker']=new _0x2af186(),this['focusCycler']=new _0x166141({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x2046ad,_0x493490){super(_0x2046ad),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-'+_0x493490}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x46c2b5,_0x557f22){const _0x341d50=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x43d81e=>_0x43d81e<=_0x557f22)['map'](_0x2a7b7f=>_0x46c2b5['replace'](/\/$/,'')+'/-/resize/'+_0x2a7b7f+'x/\x20'+_0x2a7b7f+'w');return{'imageFallbackUrl':_0x46c2b5,'imageSources':[{'srcset':_0x341d50['join'](',\x20'),'sizes':'(max-width:\x20'+_0x557f22+'px)\x20100vw,\x20'+_0x557f22+'px','type':'image/webp'}]};}function S(_0x4994dc,_0x109bee,_0xe90e35){const _0xce24bf=_0x4994dc['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xce24bf?parseInt(_0xce24bf[0x1],0xa):_0x109bee,'height':_0xce24bf?parseInt(_0xce24bf[0x2],0xa):_0xe90e35};}function p(_0x5dc235,_0x381d29){const _0x5b3764=new(_0xd9e5e8())(),_0x23a06a=_0x5dc235['plugins']['get']('ImageUtils'),_0x4a1f47=_0x5dc235['editing']['mapper']['toViewElement'](_0x381d29),_0x2b5dbd=_0x23a06a['findViewImgElement'](_0x4a1f47),_0x27d40e=_0x5dc235['editing']['view']['domConverter']['viewToDom'](_0x2b5dbd),_0x4ce95f=_0x381d29['getAttribute']('width'),_0x544307=_0x381d29['getAttribute']('height'),_0x394e34='image-processing';_0x5dc235['editing']['view']['change'](_0x38aa27=>{_0x38aa27['addClass'](_0x394e34,_0x4a1f47),_0x38aa27['setStyle']('aspect-ratio',_0x4ce95f+'/'+_0x544307,_0x2b5dbd);}),_0x5b3764['listenTo'](_0x27d40e,'load',()=>{_0x5b3764['stopListening'](_0x27d40e,'load'),_0x5dc235['editing']['view']['change'](_0x220d8b=>{_0x220d8b['removeClass'](_0x394e34,_0x4a1f47),_0x220d8b['removeStyle']('aspect-ratio',_0x2b5dbd);});});}function G(_0x4e836b){if(Array['isArray'](_0x4e836b)){const _0x54d988=_0x4e836b['map'](G);return _0xf39895=>_0x54d988['some'](_0x31d0b5=>_0x31d0b5(_0xf39895));}if('origin'==_0x4e836b){const _0x4bb54c=_0x391e65['window']['location']['origin'];return _0x28b820=>new URL(_0x28b820,_0x391e65['document']['baseURI'])['origin']==_0x4bb54c;}return'function'==typeof _0x4e836b?_0x4e836b:_0x4e836b instanceof RegExp?_0x2b9755=>!(!_0x2b9755['match'](_0x4e836b)&&!_0x2b9755['replace'](/^https?:\/\//,'')['match'](_0x4e836b)):()=>!0x1;}function A(_0x577145,_0x5ea058){return _0x48e23b(_0x577145['target'])['includes'](_0x5ea058);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x553239(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x55cbeb,_0x3b4bc4,_0x41199d){super(),this['_editor']=_0x55cbeb,this['_editing']=_0x3b4bc4,this['_dialog']=_0x55cbeb['plugins']['get'](_0x53818d),this['_api']=_0x3b4bc4['ctxElement']['getAPI'](),this['_type']=_0x41199d,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:_0x1f59a5,model:_0xe142dd}=this['_editor'],_0x2ac62c=_0xe142dd['document']['selection']['getSelectedElement'](),_0x1d21cb=_0x2ac62c&&(_0x2ac62c['is']('element','imageBlock')||_0x2ac62c['is']('element','imageInline'));this['_formView']=new x(_0x1f59a5,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4fca51,'title':_(_0x1f59a5,this['_type'],_0x1d21cb?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xdf23b5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x177afe=>!A(_0x177afe,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x21c5a0}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x8d7c01=>{const _0x3b31b4=_0x21c5a0['length'];for(const _0x5525dd of _0x21c5a0){const _0x9eba88=_0x5525dd===_0x21c5a0[_0x3b31b4-0x1],{cdnUrl:_0x1d2340,fileInfo:_0x598c85}=_0x5525dd;if(!_0x1d2340||!_0x598c85)continue;const {width:_0x3e0b87,height:_0x54ac79}=_0x598c85['imageInfo'],_0x37abac=S(_0x1d2340,_0x3e0b87,_0x54ac79),_0x1f15fc=C(_0x1d2340,_0x37abac['width']),_0x439368={'id':_0x598c85['uuid'],'type':'image','attributes':{'imageDimension':_0x37abac,..._0x1f15fc}};this['_insertAsset'](_0x439368,_0x9eba88,_0x8d7c01);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1694c4=>{'idle'===_0x1694c4['detail']['status']&&!_0x1694c4['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4dab0e,_0x5c1ce5,_0x33af2b){const _0x499498=this['_editor']['model']['document']['selection'],_0x3d371a=_0x499498['getSelectedElement'](),_0x364f4f=!(!_0x3d371a||!_0x3d371a['is']('element','imageInline'));_0x33af2b['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4dab0e,_0x364f4f),_0x5c1ce5||_0x33af2b['setSelection'](_0x499498['getLastPosition']());}['_insertImage'](_0x23198a,_0x3bfba6){const _0x19be75=this['_editor'],{imageDimension:_0x41a812,imageFallbackUrl:_0x394647,imageSources:_0x3f60c6}=_0x23198a['attributes'];_0x19be75['execute']('insertImage',{'imageType':_0x3bfba6?'imageInline':null,'source':{'uploadcareImageId':_0x23198a['id'],'src':_0x394647,'sources':_0x3f60c6,..._0x41a812}});}}class w extends _0x340ba3{['_editing'];['_controller']=null;static get['requires'](){return[_0x53818d,o];}constructor(_0x6c650){super(_0x6c650),this['_editing']=_0x6c650['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x845361){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x845361);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x30e146,..._0x10b58b}){return _0x2a9864(_0x30e146,_0x10b58b);}static['getInfo'](_0x1cb687,_0xf5fe54){return _0x3ab88b(_0x1cb687,_0xf5fe54);}}class f extends _0x2c9ec5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3e7ba4,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x9bfea5=this['editor'];if(!!!_0x9bfea5['config']['get']('uploadcare'))return;_0x9bfea5['plugins']['get'](_0x3e7ba4)['createUploadAdapter']=_0x4d749b=>new k(_0x4d749b,_0x9bfea5),_0x9bfea5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4c9125,{imageElement:_0x43f27c,data:_0x59accf})=>{_0x9bfea5['model']['change'](_0x1f7b94=>{_0x1f7b94['setAttribute']('uploadcareImageId',_0x59accf['uploadcareImageId'],_0x43f27c);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x41fff7,_0x21313c){this['loader']=_0x41fff7,this['editor']=_0x21313c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3a8266=await this['loader']['file'];return j['upload']({'file':_0x3a8266,'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':_0x4d4831=>{_0x4d4831&&_0x4d4831['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4d4831['value']);}})['then'](async _0x3163ce=>{const {imageFallbackUrl:_0x114150,imageSources:_0xeed8dc}=C(_0x3163ce['cdnUrl'],_0x3163ce['imageInfo']['width']);return{'uploadcareImageId':_0x3163ce['uuid'],'default':_0x114150,'sources':_0xeed8dc};})['catch'](()=>{const _0x4aa0c4=t('Cannot\x20upload\x20file:')+('\x20'+_0x3a8266['name']+'.');return Promise['reject'](_0x4aa0c4);});}['abort'](){this['controller']['abort']();}}class o extends _0x2c9ec5{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x53818d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x76a733){super(_0x76a733),this['ucContextId']=_0x379c4a();}['init'](){const _0x4141e8=this['editor'];_0x4141e8['commands']['add']('uploadcare',new w(_0x4141e8));}['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 _0x476f5a=_0x391e65['document']['querySelector']('input[uploadcare-file-input]');_0x476f5a&&_0x476f5a['remove']();}),async function(_0x584050){const _0x735bf1=_0x45c2fe([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]),_0x430c93=0x535f8c3a,_0x57e004=0x5358f252^_0x430c93,_0x1a0483=window[_0x45c2fe([0x44,0x61,0x74,0x65])][_0x45c2fe([0x6e,0x6f,0x77])](),_0x3e1ad8=_0x584050[_0x45c2fe([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4310d1=new window[(_0x45c2fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17d991=>{_0x3e1ad8[_0x45c2fe([0x6f,0x6e,0x63,0x65])](_0x45c2fe([0x72,0x65,0x61,0x64,0x79]),_0x17d991);}),_0xf2fe0b={[_0x45c2fe([0x6b,0x74,0x79])]:_0x45c2fe([0x45,0x43]),[_0x45c2fe([0x75,0x73,0x65])]:_0x45c2fe([0x73,0x69,0x67]),[_0x45c2fe([0x63,0x72,0x76])]:_0x45c2fe([0x50,0x2d,0x32,0x35,0x36]),[_0x45c2fe([0x78])]:_0x45c2fe([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]),[_0x45c2fe([0x79])]:_0x45c2fe([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]),[_0x45c2fe([0x61,0x6c,0x67])]:_0x45c2fe([0x45,0x53,0x32,0x35,0x36])},_0x4961dc=_0x3e1ad8[_0x45c2fe([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x45c2fe([0x67,0x65,0x74])](_0x45c2fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3386fb(){let _0x4ab03f,_0x484e3b=null,_0x260696=null;try{if(_0x4961dc==_0x45c2fe([0x47,0x50,0x4c]))return _0x45c2fe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ab03f=_0x33bc18(),!_0x4ab03f)return _0x45c2fe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4ab03f[_0x45c2fe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x260696=_0x4c64d3(_0x4ab03f[_0x45c2fe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ab03f[_0x45c2fe([0x6a,0x74,0x69])])),await _0x2e6635()?_0x2613b4()?_0x3387c3()?_0x45c2fe([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31e7f5()?(_0x4ab03f[_0x45c2fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45c2fe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x484e3b=_0x3d77c2(_0x45c2fe([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x298f44()):_0x45c2fe([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x45c2fe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x45c2fe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x45c2fe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3387c3(){const _0x85e950=[_0x45c2fe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x45c2fe([0x74,0x72,0x69,0x61,0x6c])][_0x45c2fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ab03f[_0x45c2fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a0483/0x3e8:0xe10*_0x57e004;return _0x4ab03f[_0x45c2fe([0x65,0x78,0x70])]<_0x85e950;}function _0x2613b4(){const _0x363193=_0x4ab03f[_0x45c2fe([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x363193&&(!!_0x363193[_0x45c2fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45c2fe([0x2a]))||!!_0x363193[_0x45c2fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45c2fe([0x55,0x50,0x4c,0x43])));}function _0x31e7f5(){const _0xa39fde=_0x4ab03f[_0x45c2fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa39fde||0x0==_0xa39fde[_0x45c2fe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20514a}=new URL(window[_0x45c2fe([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa39fde[_0x45c2fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20514a))return!0x0;const _0x30a8b6=_0x20514a[_0x45c2fe([0x73,0x70,0x6c,0x69,0x74])](_0x45c2fe([0x2e]));return _0xa39fde[_0x45c2fe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5627f3=>_0x5627f3[_0x45c2fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45c2fe([0x2a])))[_0x45c2fe([0x6d,0x61,0x70])](_0x2258b2=>_0x2258b2[_0x45c2fe([0x73,0x70,0x6c,0x69,0x74])](_0x45c2fe([0x2e])))[_0x45c2fe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x389ecd=>_0x389ecd[_0x45c2fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30a8b6[_0x45c2fe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45c2fe([0x6d,0x61,0x70])](_0x44a066=>Array(_0x30a8b6[_0x45c2fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44a066[_0x45c2fe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45c2fe([0x66,0x69,0x6c,0x6c])](_0x44a066[0x0]===_0x45c2fe([0x2a])?_0x45c2fe([0x2a]):'')[_0x45c2fe([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44a066))[_0x45c2fe([0x73,0x6f,0x6d,0x65])](_0x2847ed=>_0x30a8b6[_0x45c2fe([0x65,0x76,0x65,0x72,0x79])]((_0x8813e3,_0x1a7da3)=>_0x2847ed[_0x1a7da3]===_0x8813e3||_0x2847ed[_0x1a7da3]===_0x45c2fe([0x2a])));}function _0x298f44(){return _0x484e3b&&_0x260696?new window[(_0x45c2fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57391e,_0x1e32fb)=>{_0x484e3b[_0x45c2fe([0x74,0x68,0x65,0x6e])](_0x57391e,_0x1e32fb),_0x260696[_0x45c2fe([0x74,0x68,0x65,0x6e])](_0x425a87=>{_0x425a87!=_0x45c2fe([0x56,0x61,0x6c,0x69,0x64])&&_0x57391e(_0x425a87);},_0x1e32fb);}):_0x484e3b||_0x260696||_0x45c2fe([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c64d3(_0x363481,_0x5ce32d){return new window[(_0x45c2fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x405939=>{if(_0x1b6c53())return _0x405939(_0x45c2fe([0x56,0x61,0x6c,0x69,0x64]));_0xbf23a6(),_0x3e1ad8[_0x45c2fe([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x45c2fe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54e196=!0x1;const _0x28cc13=_0x379c4a();function _0x3f3dc6(_0x3f7814){return!!_0x3f7814&&(typeof _0x3f7814===_0x45c2fe([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f7814===_0x45c2fe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f7814[_0x45c2fe([0x74,0x68,0x65,0x6e])]===_0x45c2fe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f7814[_0x45c2fe([0x63,0x61,0x74,0x63,0x68])]===_0x45c2fe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x35bbb0(_0x4156b0){_0x8ac2a7(_0x4156b0)[_0x45c2fe([0x74,0x68,0x65,0x6e])](_0xf70176=>{if(!_0xf70176||_0xf70176[_0x45c2fe([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x45c2fe([0x6f,0x6b]))return _0x45c2fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c8e19(_0x39f88c(_0x28cc13+_0x5ce32d))!=_0xf70176[_0x45c2fe([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x45c2fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x45c2fe([0x56,0x61,0x6c,0x69,0x64]);})[_0x45c2fe([0x74,0x68,0x65,0x6e])](_0xf49578=>(_0x1593fa(),_0xf49578),()=>{const _0x7fcb75=_0x1cfc05();return null==_0x7fcb75?(_0x1593fa(),_0x45c2fe([0x56,0x61,0x6c,0x69,0x64])):_0x45c2fe(_0x1a0483-_0x7fcb75>(0x7753083a^_0x430c93)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x45c2fe([0x74,0x68,0x65,0x6e])](_0x405939)[_0x45c2fe([0x63,0x61,0x74,0x63,0x68])](()=>{_0x405939(_0x45c2fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x379341=0x536962ba^_0x430c93;function _0x1593fa(){const _0x50ae0f=_0x45c2fe([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c8e19(_0x39f88c(_0x363481)),_0xfd4af0=_0x55f9a3(_0x5c8e19(window[_0x45c2fe([0x4d,0x61,0x74,0x68])][_0x45c2fe([0x63,0x65,0x69,0x6c])](_0x1a0483/_0x379341)));window[_0x45c2fe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45c2fe([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50ae0f,_0xfd4af0);}function _0x1cfc05(){const _0x35f18a=_0x45c2fe([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c8e19(_0x39f88c(_0x363481)),_0x56cf19=window[_0x45c2fe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45c2fe([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35f18a);return _0x56cf19?window[_0x45c2fe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55f9a3(_0x56cf19),0x10)*_0x379341:null;}function _0x8ac2a7(_0x29f415){return new window[(_0x45c2fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21eb1e,_0x12007b)=>{_0x29f415[_0x45c2fe([0x74,0x68,0x65,0x6e])](_0x21eb1e,_0x12007b),window[_0x45c2fe([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12007b,0x535e58fa^_0x430c93);});}}_0x3e1ad8[_0x45c2fe([0x6f,0x6e])](_0x45c2fe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15d491,_0x22dc12)=>{if(_0x22dc12[0x0]!=_0x363481)return _0x405939(_0x45c2fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22dc12[0x1]={..._0x22dc12[0x1],[_0x45c2fe([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x28cc13};},{[_0x45c2fe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45c2fe([0x68,0x69,0x67,0x68])}),_0x3e1ad8[_0x45c2fe([0x6f,0x6e])](_0x45c2fe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x150860=>{_0x3f3dc6(_0x150860[_0x45c2fe([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54e196=!0x0,_0x35bbb0(_0x150860[_0x45c2fe([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x45c2fe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45c2fe([0x6c,0x6f,0x77])}),_0x4310d1[_0x45c2fe([0x74,0x68,0x65,0x6e])](()=>{_0x54e196||_0x405939(_0x45c2fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b6c53(){return _0x3e1ad8[_0x45c2fe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45c2fe([0x76,0x69,0x65,0x77])][_0x45c2fe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x45c2fe([0x61,0x75,0x74,0x6f]);}function _0xbf23a6(){_0x3e1ad8[_0x45c2fe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45c2fe([0x76,0x69,0x65,0x77])][_0x45c2fe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x45c2fe([0x61,0x75,0x74,0x6f]);}}function _0x3d77c2(_0x391407){const _0x47086c=[new window[(_0x45c2fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f774a=>setTimeout(_0x2f774a,0x5356b2f6^_0x430c93)),_0x4310d1[_0x45c2fe([0x74,0x68,0x65,0x6e])](()=>new window[(_0x45c2fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31652c=>{let _0xfcaa95=0x0;_0x3e1ad8[_0x45c2fe([0x6d,0x6f,0x64,0x65,0x6c])][_0x45c2fe([0x6f,0x6e])](_0x45c2fe([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x236513,_0x917922)=>{_0x917922[0x0][_0x45c2fe([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xfcaa95++,_0xfcaa95==(0x535f89d2^_0x430c93)&&(_0x31652c(),_0x236513[_0x45c2fe([0x6f,0x66,0x66])]());});}))];return window[_0x45c2fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x45c2fe([0x72,0x61,0x63,0x65])](_0x47086c)[_0x45c2fe([0x74,0x68,0x65,0x6e])](()=>_0x391407);}async function _0x3e61ea(){await _0x4310d1,_0x3e1ad8[_0x45c2fe([0x6d,0x6f,0x64,0x65,0x6c])][_0x45c2fe([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x44c079,_0x3e1ad8[_0x45c2fe([0x6d,0x6f,0x64,0x65,0x6c])][_0x45c2fe([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x44c079,_0x3e1ad8[_0x45c2fe([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45c2fe([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4683a5(_0x48a0a3){const _0x13c5a8=_0x538d03();_0x3e1ad8[_0x13c5a8]=_0x45c2fe([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x48a0a3,_0x48a0a3!=_0x45c2fe([0x56,0x61,0x6c,0x69,0x64])&&_0x3e61ea();}function _0x538d03(){const _0x5e0eb7=window[_0x45c2fe([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x45c2fe([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45c2fe([0x6e,0x6f,0x77])]())[_0x45c2fe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45c2fe([0x2e]),'');let _0x42fe52=_0x45c2fe([0x68]);for(let _0x1e1561=0x0;_0x1e1561<_0x5e0eb7[_0x45c2fe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e1561+=0x2){let _0x5edd53=window[_0x45c2fe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e0eb7[_0x45c2fe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e1561,_0x1e1561+0x2));_0x5edd53>=_0x735bf1[_0x45c2fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5edd53-=_0x735bf1[_0x45c2fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42fe52+=_0x735bf1[_0x5edd53];}return _0x42fe52;}function _0x33bc18(){const _0x298682=_0x4961dc[_0x45c2fe([0x73,0x70,0x6c,0x69,0x74])](_0x45c2fe([0x2e]));if(0x3!=_0x298682[_0x45c2fe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2eecf9(_0x298682[0x1]);function _0x2eecf9(_0x51381c){const _0x544ccc=_0x17c4f6(_0x51381c);return _0x544ccc&&_0x577af7()?_0x544ccc:null;function _0x577af7(){const _0x15f2c6=_0x544ccc[_0x45c2fe([0x6a,0x74,0x69])],_0x2c2817=window[_0x45c2fe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15f2c6[_0x45c2fe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15f2c6[_0x45c2fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x28a0b3={..._0x544ccc,[_0x45c2fe([0x6a,0x74,0x69])]:_0x15f2c6[_0x45c2fe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15f2c6[_0x45c2fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x28a0b3[_0x45c2fe([0x76,0x63])],_0x39f88c(_0x28a0b3)==_0x2c2817;}}}async function _0x2e6635(){let _0x5577c6=!0x0;try{const _0x593ad=_0x4961dc[_0x45c2fe([0x73,0x70,0x6c,0x69,0x74])](_0x45c2fe([0x2e])),[_0x4a54f6,_0x373846,_0x33690e]=_0x593ad;return _0x273640(_0x4a54f6),await _0xa514bb(_0x4a54f6,_0x373846,_0x33690e),_0x5577c6;}catch{return!0x1;}function _0x273640(_0xc20ba3){const _0x26535b=_0x17c4f6(_0xc20ba3);_0x26535b&&_0x26535b[_0x45c2fe([0x61,0x6c,0x67])]==_0x45c2fe([0x45,0x53,0x32,0x35,0x36])||(_0x5577c6=!0x1);}async function _0xa514bb(_0x23cf0e,_0x4c98ed,_0x19fd2f){const _0x5efa8a=window[_0x45c2fe([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x45c2fe([0x66,0x72,0x6f,0x6d])](_0x4be939(_0x19fd2f),_0x4766ac=>_0x4766ac[_0x45c2fe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x52d160=new window[(_0x45c2fe([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x45c2fe([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23cf0e+_0x45c2fe([0x2e])+_0x4c98ed),_0x1e1f14=window[_0x45c2fe([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x45c2fe([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e1f14)return;const _0x12d703=await _0x1e1f14[_0x45c2fe([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x45c2fe([0x6a,0x77,0x6b]),_0xf2fe0b,{[_0x45c2fe([0x6e,0x61,0x6d,0x65])]:_0x45c2fe([0x45,0x43,0x44,0x53,0x41]),[_0x45c2fe([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x45c2fe([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x45c2fe([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e1f14[_0x45c2fe([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x45c2fe([0x6e,0x61,0x6d,0x65])]:_0x45c2fe([0x45,0x43,0x44,0x53,0x41]),[_0x45c2fe([0x68,0x61,0x73,0x68])]:{[_0x45c2fe([0x6e,0x61,0x6d,0x65])]:_0x45c2fe([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12d703,_0x5efa8a,_0x52d160)||(_0x5577c6=!0x1);}}function _0x17c4f6(_0x3856b0){return _0x3856b0[_0x45c2fe([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x45c2fe([0x65,0x79]))?JSON[_0x45c2fe([0x70,0x61,0x72,0x73,0x65])](_0x4be939(_0x3856b0)):null;}function _0x4be939(_0x582974){return window[_0x45c2fe([0x61,0x74,0x6f,0x62])](_0x582974[_0x45c2fe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x45c2fe([0x2b]))[_0x45c2fe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x45c2fe([0x2f])));}function _0x39f88c(_0x45e12b){let _0x1e3361=0x1505;function _0x193f2c(_0x489e99){for(let _0x360ad8=0x0;_0x360ad8<_0x489e99[_0x45c2fe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x360ad8++){const _0x5334ac=_0x489e99[_0x45c2fe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x360ad8);_0x1e3361=(_0x1e3361<<0x5)+_0x1e3361+_0x5334ac,_0x1e3361&=_0x1e3361;}}function _0x2d6c05(_0x4fcc04){Array[_0x45c2fe([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4fcc04)?_0x4fcc04[_0x45c2fe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d6c05):_0x4fcc04&&typeof _0x4fcc04==_0x45c2fe([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x45c2fe([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4fcc04)[_0x45c2fe([0x73,0x6f,0x72,0x74])]()[_0x45c2fe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f9c67,_0x97a805])=>{_0x193f2c(_0x1f9c67),_0x2d6c05(_0x97a805);}):_0x193f2c(window[_0x45c2fe([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4fcc04));}return _0x2d6c05(_0x45e12b),_0x1e3361>>>0x0;}function _0x5c8e19(_0x542592){return _0x542592[_0x45c2fe([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x45c2fe([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x45c2fe([0x30]));}function _0x55f9a3(_0x42802f){return _0x42802f[_0x45c2fe([0x73,0x70,0x6c,0x69,0x74])]('')[_0x45c2fe([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x45c2fe([0x6a,0x6f,0x69,0x6e])]('');}function _0x44c079(){}function _0x45c2fe(_0x3747a2){return _0x3747a2['map'](_0x411122=>String['fromCharCode'](_0x411122))['join']('');}_0x4683a5(await _0x3386fb());}(this);}['_initSchema'](){const _0x95490e=this['editor']['model']['schema'];_0x95490e['isRegistered']('imageBlock')&&_0x95490e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x95490e['isRegistered']('imageInline')&&_0x95490e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x53f4bb=this['editor'];_0x53f4bb['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x53f4bb['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x6a69b3=>_0x6a69b3['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2f931d=_0x53f4bb['commands']['get']('replaceImageSource');_0x2f931d&&this['listenTo'](_0x2f931d,'cleanupImage',(_0x2bc013,[_0x5d1f51,_0x121e8b])=>{_0x5d1f51['removeAttribute']('uploadcareImageId',_0x121e8b);});}['_initConfig'](){const _0x14bb72=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2b1dbc=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4c768c(_0x391e65['document'],'uc-config',{..._0x14bb72,'pubkey':_0x2b1dbc,'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']=_0x2b039c=>{if('closeMax'==_0x2b039c)return'#uc-icon-arrow-down';},_0x391e65['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4c768c(_0x391e65['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x391e65['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xd591fa=this['editor']['commands']['get']('insertImage');_0xd591fa&&this['listenTo'](_0xd591fa,'execute',()=>{const _0x17e220=this['editor']['model']['document']['selection']['getSelectedElement']();_0x17e220&&_0x17e220['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x17e220);});});const _0x1b6604=this['editor']['commands']['get']('uploadcareImageReplace');_0x1b6604&&this['listenTo'](_0x1b6604,'execute',()=>{const _0x32aa86=this['editor']['model']['document']['selection']['getSelectedElement']();_0x32aa86&&_0x32aa86['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x32aa86);});});}}class tt extends _0x2c9ec5{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x151ee2){super(_0x151ee2),_0x151ee2['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x40bc2f['defineComponents'](_0x40bc2f),this['_defineLocale']();}['_defineLocale'](){const _0x39e909=this['editor']['config']['get']('uploadcare.locale'),_0x4c30b5=this['editor']['locale']['contentLanguage'];_0x39e909&&_0x40bc2f['defineLocale'](_0x4c30b5,_0x39e909);}}class ii extends _0x56856a{constructor(_0x9440c8){super(_0x9440c8);const t=_0x9440c8['t'],_0x4db71d=this['bindTemplate'],_0x540d88=new _0x49c774();_0x540d88['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':[_0x540d88,{'text':_0x4db71d['to']('imageUploadProgress',_0x3a0bfa=>t('Loading\x20image...')+'\x20('+(_0x3a0bfa||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 _0x56856a{constructor(_0x2b3fe3){super(_0x2b3fe3);const t=_0x2b3fe3['t'];this['set']('errorType',null);const _0x575e8d=new _0x1f56a3(_0x2b3fe3);_0x575e8d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x575e8d['withText']=!0x0,_0x575e8d['class']='ck-button-action',_0x575e8d['on']('execute',()=>{this['fire']('retry');}),_0x575e8d['bind']('isVisible')['to'](this,'errorType',_0x3de963=>'NotFound'!==_0x3de963);const _0xf932ee=new _0x36c794();_0xf932ee['content']=_0x367b8c,_0xf932ee['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3b9fd8=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':[_0xf932ee,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3b9fd8['to']('errorType',_0x47a6a2=>t('NotFound'!==_0x47a6a2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x575e8d]},{'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 _0x56856a{constructor(_0x23522a,_0x200e87){super(_0x23522a);const _0x405691=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x200e87,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x405691['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4f943c,_0x69d467,_0x538a5f){super(_0x4f943c),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x4f943c),this['_errorView']=new ti(_0x4f943c),this['_editingView']=new ei(_0x4f943c,_0x538a5f),this['_focusableView']=new _0x56856a(_0x4f943c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x69d467),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'],_0x5c9fde=>{this['_addUploadcareImageEditorListeners'](_0x5c9fde);});}),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'](_0x57b224,_0x1b52ae){const _0x3bf474='uc-cloud-image-editor',_0x20989e=_0x57b224['querySelector'](_0x3bf474);if(_0x20989e)return _0x1b52ae(_0x20989e);const _0x4f2bdb=new MutationObserver(_0x2d8203=>{const _0x2b96db=_0x2d8203['filter'](_0x48eb5b=>_0x48eb5b['target']===_0x57b224&&_0x48eb5b['addedNodes']['length']>0x0&&_0x48eb5b['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3bf474);_0x2b96db['length']&&(_0x4f2bdb['disconnect'](),_0x1b52ae(_0x2b96db[0x0]['addedNodes'][0x0]));});_0x4f2bdb['observe'](_0x57b224,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3d8906){_0x3d8906['addEventListener']('apply',_0x232f45=>{this['fire']('apply',{'imageSrc':_0x232f45['detail']['cdnUrl']});}),_0x3d8906['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x553239(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4cfb91,_0x16d3eb,_0x5d8270){super(),this['_editor']=_0x4cfb91,this['_dialog']=_0x16d3eb,this['_imageElement']=_0x5d8270,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 _0x211fd1=this['_imageElement'],_0x49c6f3=_0x211fd1['getAttribute']('uploadcareImageId'),_0x39a3e6=_0x211fd1['getAttribute']('src');if(_0x49c6f3)await this['_loadImageInfo'](_0x49c6f3,_0x39a3e6);else{if(this['_imageCache']['has'](_0x39a3e6)){const _0x3d75bd=this['_imageCache']['get'](_0x39a3e6);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d75bd['url'],this['imageDimension']=_0x3d75bd['dimension'],this['imageId']=_0x3d75bd['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x52597c}=this['_editor'],t=_0x52597c['t'],_0x515c09=new X(_0x52597c,this['imageStatus'],this['_attributes']);_0x515c09['bind']('status')['to'](this,'imageStatus'),_0x515c09['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x515c09['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x515c09['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x515c09,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4ba6e4,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x515c09,'position':_0xdf23b5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x515c09['focus']();},'onHide':()=>{_0x515c09['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2e5a6b=>!A(_0x2e5a6b,_0x515c09['element'])}});}['_loadImageInfo'](_0x3b8f25,_0x639e27){return j['getInfo'](_0x3b8f25,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x41793e=>{const {width:_0x2afddd,height:_0x23c8de}=_0x41793e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x639e27,this['imageDimension']={'width':_0x2afddd,'height':_0x23c8de},this['imageId']=_0x3b8f25;})['catch'](_0x2cd916=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2cd916['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4b001d,_0x12f820){return this['_getImageAsFile'](_0x4b001d)['then'](_0x51f68d=>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':_0x12f820['signal'],'file':_0x51f68d,'onProgress':_0x625b6d=>{_0x625b6d&&_0x625b6d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x625b6d['value']));}}))['then'](_0x3f824e=>{const {width:_0x63d3cc,height:_0x38dc14}=_0x3f824e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f824e['cdnUrl'],this['imageDimension']={'width':_0x63d3cc,'height':_0x38dc14},this['imageId']=_0x3f824e['uuid'],this['imageUploadProgress']=null;const _0xe15deb=_0x4b001d['getAttribute']('src');this['_imageCache']['set'](_0xe15deb,{'id':_0x3f824e['uuid'],'url':_0x3f824e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3c551a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3c551a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4907c0,_0x587d91){_0x4907c0['on']('apply',(_0x10fcf5,_0x2499b4)=>{this['_replaceImage'](_0x587d91,_0x2499b4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4907c0['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4907c0['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x44b1fd,_0x84bbf2,_0x3c9af7){const _0x2fffe1=this['_editor'],{width:_0x40e7fe,height:_0x8849c5}=S(_0x84bbf2,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1ffb99,imageSources:_0x3d3224}=C(_0x84bbf2,_0x40e7fe);_0x2fffe1['model']['change'](_0x46bf0d=>{if('$graveyard'===_0x44b1fd['root']['rootName']){_0x2fffe1['execute']('insertImage',{'imageType':_0x44b1fd['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x44b1fd['getAttributes']()),'uploadcareImageId':_0x3c9af7,'src':_0x1ffb99,'sources':_0x3d3224,'width':_0x40e7fe,'height':_0x8849c5}});const _0x5be425=_0x44b1fd['getChildren']();_0x44b1fd=_0x2fffe1['model']['document']['selection']['getSelectedElement']();for(const _0x18b22f of _0x5be425)_0x46bf0d['append'](_0x46bf0d['cloneElement'](_0x18b22f),_0x44b1fd);}else _0x46bf0d['setSelection'](_0x44b1fd,'on'),_0x2fffe1['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x44b1fd['getAttributes']()),'uploadcareImageId':_0x3c9af7,'src':_0x1ffb99,'sources':_0x3d3224,'width':_0x40e7fe,'height':_0x8849c5},_0x44b1fd);_0x46bf0d['setSelection'](_0x44b1fd,'on');});}async['_getImageAsFile'](_0x1d8224){const _0x4275aa=_0x391e65['window'],_0x46ec3e=_0x391e65['document']['location']['href'],_0x10a0c0=new _0x4275aa['URL'](_0x1d8224['getAttribute']('src'),_0x46ec3e);if('data:'===_0x10a0c0['protocol']){const _0x3e0903=_0x10a0c0['href']['split'](','),_0x24548b=_0x3e0903[0x0]['match'](/:(.*?);/)[0x1],_0x38f7fe=_0x24548b['split']('/')[0x1],_0x3aed16=_0x4275aa['atob'](_0x3e0903[_0x3e0903['length']-0x1]);let _0x462203=_0x3aed16['length'];const _0x4155fd=new _0x4275aa['Uint8Array'](_0x462203);for(;_0x462203--;)_0x4155fd[_0x462203]=_0x3aed16['charCodeAt'](_0x462203);return new _0x4275aa['File']([_0x4155fd],'image.'+_0x38f7fe,{'type':_0x24548b});}const _0x48e6e8=_0x10a0c0['href']['split']('/'),_0x2182bd=_0x48e6e8[_0x48e6e8['length']-0x1],_0x1072c3=_0x2182bd['split']('.')[0x1];return _0x4275aa['fetch'](_0x10a0c0['href'])['then'](_0x153fd2=>_0x153fd2['clone']()['blob']())['then'](_0xfb02b8=>new _0x4275aa['File']([_0xfb02b8],_0x2182bd,{'type':'image/'+_0x1072c3}));}}class O extends _0x340ba3{['imageEditController'];static get['requires'](){return[_0x53818d];}['_isEditable'];constructor(_0x9b2bed){super(_0x9b2bed),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xa1e46a){const _0x2cf1d6=G(_0xa1e46a);return _0x1cea7b=>!(!_0x1cea7b||!_0x1cea7b['is']('element','imageBlock')&&!_0x1cea7b['is']('element','imageInline'))&&(!!_0x1cea7b['hasAttribute']('uploadcareImageId')||!!_0x1cea7b['hasAttribute']('src')&&_0x2cf1d6(_0x1cea7b['getAttribute']('src')));}(_0x9b2bed['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2d2d98=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2d2d98);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4d68e8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4d68e8&&(_0x4d68e8['is']('element','imageBlock')||_0x4d68e8['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x53818d),_0x4d68e8),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x340ba3{['refresh'](){const _0x2446b7=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2446b7&&(_0x2446b7['is']('element','imageBlock')||_0x2446b7['is']('element','imageInline')));}['execute'](_0x7b4d00){const _0x1240f3=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1fb91b=>{_0x1fb91b['setAttributes'](_0x7b4d00,_0x1240f3),_0x1fb91b['removeAttribute']('srcset',_0x1240f3),_0x1fb91b['removeAttribute']('sizes',_0x1240f3);});}}class m extends _0x2c9ec5{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x258fba,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xcdd39c}=this;_0xcdd39c['commands']['add']('uploadcareImageEdit',new O(_0xcdd39c)),_0xcdd39c['commands']['add']('uploadcareImageReplace',new R(_0xcdd39c));}}class g extends _0x2c9ec5{['_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 _0x4446cf=this['editor'];_0x4446cf['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5670f2=>{const _0x3b54ef=_0x4446cf['commands']['get']('uploadcareImageEdit'),_0x3758f1=new _0x1f56a3(_0x5670f2),t=_0x5670f2['t'];return _0x3758f1['set']({'icon':_0x4ba6e4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3758f1['bind']('isEnabled')['to'](_0x3b54ef),_0x3758f1['bind']('isOn')['to'](_0x3b54ef,'isActive'),this['listenTo'](_0x3758f1,'execute',()=>{_0x4446cf['execute']('uploadcareImageEdit'),_0x4446cf['editing']['view']['focus']();}),_0x3758f1;}),this['_initConfig']();}['_initConfig'](){const _0x4317b3=_0x4c768c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4317b3),this['listenTo'](this['editor'],'destroy',()=>{_0x4317b3['remove']();});}}class et extends _0x2c9ec5{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x192c47=>0x1!=_0x192c47}};
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':_0xe70439=>0x1!=_0xe70439}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x368583=>{const {af:{dictionary:_0x203681,getPluralForm:_0x192b1f}}={'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':_0x4a33fa=>0x1!=_0x4a33fa}};_0x368583['af']||={'dictionary':{},'getPluralForm':null},_0x368583['af']['dictionary']=Object['assign'](_0x368583['af']['dictionary'],_0x203681),_0x368583['af']['getPluralForm']=_0x192b1f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3706cd=>{const {af:{dictionary:_0x41a22f,getPluralForm:_0x5148e3}}={'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':_0x4b6569=>0x1!=_0x4b6569}};_0x3706cd['af']||={'dictionary':{},'getPluralForm':null},_0x3706cd['af']['dictionary']=Object['assign'](_0x3706cd['af']['dictionary'],_0x41a22f),_0x3706cd['af']['getPluralForm']=_0x5148e3;})(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':_0x4b3efd=>0x0==_0x4b3efd?0x0:0x1==_0x4b3efd?0x1:0x2==_0x4b3efd?0x2:_0x4b3efd%0x64>=0x3&&_0x4b3efd%0x64<=0xa?0x3:_0x4b3efd%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':_0x368e60=>0x0==_0x368e60?0x0:0x1==_0x368e60?0x1:0x2==_0x368e60?0x2:_0x368e60%0x64>=0x3&&_0x368e60%0x64<=0xa?0x3:_0x368e60%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xe3972e=>{const {ar:{dictionary:_0x2c8d33,getPluralForm:_0x1f4037}}={'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':_0x185ed6=>0x0==_0x185ed6?0x0:0x1==_0x185ed6?0x1:0x2==_0x185ed6?0x2:_0x185ed6%0x64>=0x3&&_0x185ed6%0x64<=0xa?0x3:_0x185ed6%0x64>=0xb?0x4:0x5}};_0xe3972e['ar']||={'dictionary':{},'getPluralForm':null},_0xe3972e['ar']['dictionary']=Object['assign'](_0xe3972e['ar']['dictionary'],_0x2c8d33),_0xe3972e['ar']['getPluralForm']=_0x1f4037;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x38e41b=>{const {ar:{dictionary:_0x511531,getPluralForm:_0xfc8b2a}}={'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':_0xb35def=>0x0==_0xb35def?0x0:0x1==_0xb35def?0x1:0x2==_0xb35def?0x2:_0xb35def%0x64>=0x3&&_0xb35def%0x64<=0xa?0x3:_0xb35def%0x64>=0xb?0x4:0x5}};_0x38e41b['ar']||={'dictionary':{},'getPluralForm':null},_0x38e41b['ar']['dictionary']=Object['assign'](_0x38e41b['ar']['dictionary'],_0x511531),_0x38e41b['ar']['getPluralForm']=_0xfc8b2a;})(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':_0x549c8e=>0x1!=_0x549c8e}};
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':_0x3f44af=>0x1!=_0x3f44af}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf57cef=>{const {ast:{dictionary:_0x1c4994,getPluralForm:_0x18ff71}}={'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':_0x1e3448=>0x1!=_0x1e3448}};_0xf57cef['ast']||={'dictionary':{},'getPluralForm':null},_0xf57cef['ast']['dictionary']=Object['assign'](_0xf57cef['ast']['dictionary'],_0x1c4994),_0xf57cef['ast']['getPluralForm']=_0x18ff71;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5d1c38=>{const {ast:{dictionary:_0x7b95bc,getPluralForm:_0x4fb3df}}={'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':_0x29dcc3=>0x1!=_0x29dcc3}};_0x5d1c38['ast']||={'dictionary':{},'getPluralForm':null},_0x5d1c38['ast']['dictionary']=Object['assign'](_0x5d1c38['ast']['dictionary'],_0x7b95bc),_0x5d1c38['ast']['getPluralForm']=_0x4fb3df;})(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':_0x55f3bb=>0x1!=_0x55f3bb}};
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':_0xfe413c=>0x1!=_0xfe413c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa6517e=>{const {az:{dictionary:_0x160c0d,getPluralForm:_0x1b4f9c}}={'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':_0x46e091=>0x1!=_0x46e091}};_0xa6517e['az']||={'dictionary':{},'getPluralForm':null},_0xa6517e['az']['dictionary']=Object['assign'](_0xa6517e['az']['dictionary'],_0x160c0d),_0xa6517e['az']['getPluralForm']=_0x1b4f9c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4d1ca0=>{const {az:{dictionary:_0x56d9a7,getPluralForm:_0x199fdd}}={'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':_0x3d08fd=>0x1!=_0x3d08fd}};_0x4d1ca0['az']||={'dictionary':{},'getPluralForm':null},_0x4d1ca0['az']['dictionary']=Object['assign'](_0x4d1ca0['az']['dictionary'],_0x56d9a7),_0x4d1ca0['az']['getPluralForm']=_0x199fdd;})(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':_0x1331ef=>_0x1331ef%0xa==0x1&&_0x1331ef%0x64!=0xb?0x0:_0x1331ef%0xa>=0x2&&_0x1331ef%0xa<=0x4&&(_0x1331ef%0x64<0xa||_0x1331ef%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':_0x3fa965=>_0x3fa965%0xa==0x1&&_0x3fa965%0x64!=0xb?0x0:_0x3fa965%0xa>=0x2&&_0x3fa965%0xa<=0x4&&(_0x3fa965%0x64<0xa||_0x3fa965%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2ac798=>{const {be:{dictionary:_0x5973d8,getPluralForm:_0x19e7ad}}={'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':_0x3f6935=>_0x3f6935%0xa==0x1&&_0x3f6935%0x64!=0xb?0x0:_0x3f6935%0xa>=0x2&&_0x3f6935%0xa<=0x4&&(_0x3f6935%0x64<0xa||_0x3f6935%0x64>=0x14)?0x1:0x2}};_0x2ac798['be']||={'dictionary':{},'getPluralForm':null},_0x2ac798['be']['dictionary']=Object['assign'](_0x2ac798['be']['dictionary'],_0x5973d8),_0x2ac798['be']['getPluralForm']=_0x19e7ad;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2fd400=>{const {be:{dictionary:_0x45b473,getPluralForm:_0x36d443}}={'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':_0x255a3c=>_0x255a3c%0xa==0x1&&_0x255a3c%0x64!=0xb?0x0:_0x255a3c%0xa>=0x2&&_0x255a3c%0xa<=0x4&&(_0x255a3c%0x64<0xa||_0x255a3c%0x64>=0x14)?0x1:0x2}};_0x2fd400['be']||={'dictionary':{},'getPluralForm':null},_0x2fd400['be']['dictionary']=Object['assign'](_0x2fd400['be']['dictionary'],_0x45b473),_0x2fd400['be']['getPluralForm']=_0x36d443;})(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':_0x3fd332=>0x1!=_0x3fd332}};
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':_0x46f2fc=>0x1!=_0x46f2fc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x58b499=>{const {bg:{dictionary:_0x53a94e,getPluralForm:_0x446952}}={'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':_0x1ad8b7=>0x1!=_0x1ad8b7}};_0x58b499['bg']||={'dictionary':{},'getPluralForm':null},_0x58b499['bg']['dictionary']=Object['assign'](_0x58b499['bg']['dictionary'],_0x53a94e),_0x58b499['bg']['getPluralForm']=_0x446952;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x519ca5=>{const {bg:{dictionary:_0x334ebd,getPluralForm:_0x479be9}}={'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':_0x3c863e=>0x1!=_0x3c863e}};_0x519ca5['bg']||={'dictionary':{},'getPluralForm':null},_0x519ca5['bg']['dictionary']=Object['assign'](_0x519ca5['bg']['dictionary'],_0x334ebd),_0x519ca5['bg']['getPluralForm']=_0x479be9;})(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':_0x579818=>0x1!=_0x579818}};
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':_0x5a7ae7=>0x1!=_0x5a7ae7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x538615=>{const {bn:{dictionary:_0x4062e4,getPluralForm:_0x2d028d}}={'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':_0x2a6652=>0x1!=_0x2a6652}};_0x538615['bn']||={'dictionary':{},'getPluralForm':null},_0x538615['bn']['dictionary']=Object['assign'](_0x538615['bn']['dictionary'],_0x4062e4),_0x538615['bn']['getPluralForm']=_0x2d028d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5b14ff=>{const {bn:{dictionary:_0x568340,getPluralForm:_0x45ef86}}={'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':_0x10687b=>0x1!=_0x10687b}};_0x5b14ff['bn']||={'dictionary':{},'getPluralForm':null},_0x5b14ff['bn']['dictionary']=Object['assign'](_0x5b14ff['bn']['dictionary'],_0x568340),_0x5b14ff['bn']['getPluralForm']=_0x45ef86;})(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':_0x52de70=>_0x52de70%0xa==0x1&&_0x52de70%0x64!=0xb?0x0:_0x52de70%0xa>=0x2&&_0x52de70%0xa<=0x4&&(_0x52de70%0x64<0xa||_0x52de70%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':_0x373d16=>_0x373d16%0xa==0x1&&_0x373d16%0x64!=0xb?0x0:_0x373d16%0xa>=0x2&&_0x373d16%0xa<=0x4&&(_0x373d16%0x64<0xa||_0x373d16%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf9ebd2=>{const {bs:{dictionary:_0xdb5d75,getPluralForm:_0x54bb37}}={'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':_0x47ea8e=>_0x47ea8e%0xa==0x1&&_0x47ea8e%0x64!=0xb?0x0:_0x47ea8e%0xa>=0x2&&_0x47ea8e%0xa<=0x4&&(_0x47ea8e%0x64<0xa||_0x47ea8e%0x64>=0x14)?0x1:0x2}};_0xf9ebd2['bs']||={'dictionary':{},'getPluralForm':null},_0xf9ebd2['bs']['dictionary']=Object['assign'](_0xf9ebd2['bs']['dictionary'],_0xdb5d75),_0xf9ebd2['bs']['getPluralForm']=_0x54bb37;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x40689c=>{const {bs:{dictionary:_0x13415a,getPluralForm:_0x260fc7}}={'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':_0x6e6f12=>_0x6e6f12%0xa==0x1&&_0x6e6f12%0x64!=0xb?0x0:_0x6e6f12%0xa>=0x2&&_0x6e6f12%0xa<=0x4&&(_0x6e6f12%0x64<0xa||_0x6e6f12%0x64>=0x14)?0x1:0x2}};_0x40689c['bs']||={'dictionary':{},'getPluralForm':null},_0x40689c['bs']['dictionary']=Object['assign'](_0x40689c['bs']['dictionary'],_0x13415a),_0x40689c['bs']['getPluralForm']=_0x260fc7;})(window['CKEDITOR_TRANSLATIONS']||={});