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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x344ed6,Command as _0x42b5db}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2c30c3,IconGooglePhotos as _0x5670d7,IconGoogleDrive as _0x4a0ee0,IconFacebook as _0x221eb1,IconDropbox as _0x362268,IconUploadcareLink as _0x34f87e,IconUploadcareImageUpload as _0x3e9e6f,IconError as _0x18998f,IconUploadcareImageEdit as _0x2924e9}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x597784,MenuBarMenuListItemButtonView as _0x4b058d,View as _0x26b0af,FocusCycler as _0x3ce357,Dialog as _0x4f5368,DialogViewPosition as _0x124e3d,SpinnerView as _0x490eb2,IconView as _0xe91e28,Notification as _0x1b1ea9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3ac273,DomEmitterMixin as _0x12b8fe,global as _0x51581a,getAncestors as _0x317417,ObservableMixin as _0x270d47,uid as _0xf6f8c3,createElement as _0xadd63b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2ef861}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4f54dd,info as _0x2df524}from'@uploadcare/upload-client';import*as _0x5285c7 from'@uploadcare/file-uploader';var i=function(_0x3872cd){return _0x3872cd['Local']='local',_0x3872cd['URL']='url',_0x3872cd['Dropbox']='dropbox',_0x3872cd['GDrive']='gdrive',_0x3872cd['Facebook']='facebook',_0x3872cd['GPhotos']='gphotos',_0x3872cd['OneDrive']='onedrive',_0x3872cd;}({});function _(_0x416dfc,_0x3021f4,_0x3c7ca0){const t=_0x416dfc['t'],_0xfe2ddf=_0x416dfc['t'];switch(_0x3021f4){case i['Local']:return{'text':_0xfe2ddf('Insert'===_0x3c7ca0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xfe2ddf('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x3c7ca0?_0xfe2ddf('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xfe2ddf('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x3c7ca0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x3c7ca0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x3c7ca0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x3c7ca0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x3c7ca0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3021f4;}}class e extends _0x344ed6{['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 _0x100cb2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2772fa;for(const _0x13f117 in _0x100cb2){const _0x2d55d8=_0x13f117,_0x64ee3d=_0x100cb2[_0x2d55d8];if('uploadcareLicenseKeyValid'==_0x64ee3d||'uploadcareLicenseKeyInvalid'==_0x64ee3d||'uploadcareLicenseKeyExpired'==_0x64ee3d||'uploadcareLicenseKeyDomainLimit'==_0x64ee3d||'uploadcareLicenseKeyNotAllowed'==_0x64ee3d||'uploadcareLicenseKeyEvaluationLimit'==_0x64ee3d||'uploadcareLicenseKeyTrialLimit'==_0x64ee3d||'uploadcareLicenseKeyUsageLimit'==_0x64ee3d){delete _0x100cb2[_0x2d55d8],_0x2772fa=_0x64ee3d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2772fa&&_0x100cb2['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2772fa&&_0x100cb2['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2772fa&&_0x100cb2['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2772fa&&_0x100cb2['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2772fa&&_0x100cb2['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2772fa&&_0x100cb2['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2772fa&&_0x100cb2['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x44b848}=this,_0x58bfa7=_0x44b848['commands']['get']('uploadcare');if(!_0x58bfa7)return;const _0x72c845=this['_normalizeConfigSourceList'](_0x44b848['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x36c354,_0x5cb109)=>{const _0xddc5e9=this['_getIntegrationKey'](_0x5cb109['type']);return _0x36c354[_0xddc5e9]||(_0x36c354[_0xddc5e9]=[]),_0x36c354[_0xddc5e9]['push'](_0x5cb109),_0x36c354;},{});_0x44b848['plugins']['has']('ImageInsertUI')&&_0x44b848['commands']['get']('uploadcare')&&Object['entries'](_0x72c845)['forEach'](([_0x40834f,_0x32c47d])=>{_0x44b848['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x40834f,'observable':()=>_0x58bfa7,'buttonViewCreator':()=>this['_createToolbarButton'](_0x32c47d),'formViewCreator':()=>this['_createDropdownButtons'](_0x32c47d),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x32c47d),'override':'assetManager'!==_0x40834f});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x59dbda){const {locale:_0x2e4afd}=this['editor'];return _0x59dbda['map'](_0x2fc64e=>{const _0x712950=_(_0x2e4afd,_0x2fc64e,'Insert');switch(_0x2fc64e){case i['Local']:return{'icon':_0x3e9e6f,'type':i['Local'],..._0x712950};case i['URL']:return{'icon':_0x34f87e,'type':i['URL'],..._0x712950};case i['Dropbox']:return{'icon':_0x362268,'type':i['Dropbox'],..._0x712950};case i['Facebook']:return{'icon':_0x221eb1,'type':i['Facebook'],..._0x712950};case i['GDrive']:return{'icon':_0x4a0ee0,'type':i['GDrive'],..._0x712950};case i['GPhotos']:return{'icon':_0x5670d7,'type':i['GPhotos'],..._0x712950};case i['OneDrive']:return{'icon':_0x2c30c3,'type':i['OneDrive'],..._0x712950};}});}['_getIntegrationKey'](_0x326cd0){switch(_0x326cd0){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x553e36,_0xf264f2){const _0x1ea50f=this['editor'],_0x2b5495=new _0x553e36(_0x1ea50f['locale']),_0x21fa0c=_0x1ea50f['commands']['get']('uploadcare');return _0x2b5495['bind']('isEnabled')['to'](_0x21fa0c),_0x2b5495['on']('execute',()=>{_0x21fa0c['execute'](_0xf264f2);}),_0x2b5495;}['_createToolbarButton'](_0x4f4669){const {locale:_0x4ff076}=this['editor'],_0x859d29=this['editor']['plugins']['get']('ImageInsertUI'),_0xc10670=_0x4f4669[0x0],_0x340d50=this['_createButton'](_0x597784,_0xc10670['type']);return _0x340d50['icon']=_0xc10670['icon'],_0x340d50['bind']('label')['to'](_0x859d29,'isImageSelected',_0x9d5d75=>_(_0x4ff076,_0xc10670['type'],_0x9d5d75?'Replace':'Insert')['text']),_0x340d50['tooltip']=!0x0,_0x340d50;}['_createDropdownButtons'](_0x77e40a){const {locale:_0x5ecec7}=this['editor'],_0x2f0bb0=this['editor']['plugins']['get']('ImageInsertUI');return _0x77e40a['map'](_0x2c2a5c=>{const _0x2bd224=this['_createButton'](_0x597784,_0x2c2a5c['type']);return _0x2bd224['withText']=!0x0,_0x2bd224['icon']=_0x2c2a5c['icon'],_0x2bd224['bind']('label')['to'](_0x2f0bb0,'isImageSelected',_0x513bd7=>_(_0x5ecec7,_0x2c2a5c['type'],_0x513bd7?'Replace':'Insert')['text']),_0x2bd224;});}['_createMenuBarButtons'](_0x56f02e){return _0x56f02e['map'](_0x248e0f=>{const _0x33b7c0=this['_createButton'](_0x4b058d,_0x248e0f['type']);return _0x33b7c0['icon']=_0x248e0f['icon'],_0x33b7c0['label']=_0x248e0f['shortText'],_0x33b7c0;});}}class W extends _0x26b0af{['focusTracker'];['focusCycler'];constructor(_0x3651e2){super(_0x3651e2),this['focusTracker']=new _0x3ac273(),this['focusCycler']=new _0x3ce357({'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 R extends W{constructor(_0x232d3a,_0x3618c5){super(_0x232d3a),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-'+_0x3618c5}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x497f03,_0x323c90){const _0x539fa3=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1bb2c9=>_0x1bb2c9<=_0x323c90)['map'](_0xc3fa58=>_0x497f03['replace'](/\/$/,'')+'/-/resize/'+_0xc3fa58+'x/\x20'+_0xc3fa58+'w');return{'imageFallbackUrl':_0x497f03,'imageSources':[{'srcset':_0x539fa3['join'](',\x20'),'sizes':'(max-width:\x20'+_0x323c90+'px)\x20100vw,\x20'+_0x323c90+'px','type':'image/webp'}]};}function V(_0x19f284,_0x92dd26,_0x240399){const _0x22d8ed=_0x19f284['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x22d8ed?parseInt(_0x22d8ed[0x1],0xa):_0x92dd26,'height':_0x22d8ed?parseInt(_0x22d8ed[0x2],0xa):_0x240399};}function p(_0x157255,_0x29abde){const _0x2b8af5=new(_0x12b8fe())(),_0xa241fb=_0x157255['plugins']['get']('ImageUtils'),_0x1de905=_0x157255['editing']['mapper']['toViewElement'](_0x29abde),_0x4e9716=_0xa241fb['findViewImgElement'](_0x1de905),_0x143c0c=_0x157255['editing']['view']['domConverter']['viewToDom'](_0x4e9716),_0x4066c8=_0x29abde['getAttribute']('width'),_0x6a7fd2=_0x29abde['getAttribute']('height'),_0x19adbc='image-processing';_0x157255['editing']['view']['change'](_0x2c1486=>{_0x2c1486['addClass'](_0x19adbc,_0x1de905),_0x2c1486['setStyle']('aspect-ratio',_0x4066c8+'/'+_0x6a7fd2,_0x4e9716);}),_0x2b8af5['listenTo'](_0x143c0c,'load',()=>{_0x2b8af5['stopListening'](_0x143c0c,'load'),_0x157255['editing']['view']['change'](_0x14f840=>{_0x14f840['removeClass'](_0x19adbc,_0x1de905),_0x14f840['removeStyle']('aspect-ratio',_0x4e9716);});});}function z(_0x22dd62){if(Array['isArray'](_0x22dd62)){const _0x5c1617=_0x22dd62['map'](z);return _0x5f10ba=>_0x5c1617['some'](_0x39cf41=>_0x39cf41(_0x5f10ba));}if('origin'==_0x22dd62){const _0x539642=_0x51581a['window']['location']['origin'];return _0x528bfa=>new URL(_0x528bfa,_0x51581a['document']['baseURI'])['origin']==_0x539642;}return'function'==typeof _0x22dd62?_0x22dd62:_0x22dd62 instanceof RegExp?_0x43feda=>!(!_0x43feda['match'](_0x22dd62)&&!_0x43feda['replace'](/^https?:\/\//,'')['match'](_0x22dd62)):()=>!0x1;}function Q(_0x1c8567,_0x2d86ea){return _0x317417(_0x1c8567['target'])['includes'](_0x2d86ea);}class n extends/* #__PURE__ -- @preserve */
24
- _0x270d47(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x3b43fe,_0x57efe7,_0x2d6de6){super(),this['_editor']=_0x3b43fe,this['_editing']=_0x57efe7,this['_dialog']=_0x3b43fe['plugins']['get'](_0x4f5368),this['_api']=_0x57efe7['ctxElement']['getAPI'](),this['_type']=_0x2d6de6,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:_0x5e7271,model:_0x65afe}=this['_editor'],_0x3779d9=_0x65afe['document']['selection']['getSelectedElement'](),_0x141043=_0x3779d9&&(_0x3779d9['is']('element','imageBlock')||_0x3779d9['is']('element','imageInline'));this['_formView']=new R(_0x5e7271,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3e9e6f,'title':_(_0x5e7271,this['_type'],_0x141043?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x124e3d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3e8465=>!Q(_0x3e8465,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xa64e69}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x180f44=>{const _0x31ea03=_0xa64e69['length'];for(const _0x2ff27b of _0xa64e69){const _0x46525d=_0x2ff27b===_0xa64e69[_0x31ea03-0x1],{cdnUrl:_0x3a2d93,fileInfo:_0x21c356}=_0x2ff27b;if(!_0x3a2d93||!_0x21c356)continue;const {width:_0x33e286,height:_0x39054e}=_0x21c356['imageInfo'],_0x52f106=V(_0x3a2d93,_0x33e286,_0x39054e),_0x5c5901=C(_0x3a2d93,_0x52f106['width']),_0x1687f2={'id':_0x21c356['uuid'],'type':'image','attributes':{'imageDimension':_0x52f106,..._0x5c5901}};this['_insertAsset'](_0x1687f2,_0x46525d,_0x180f44);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5116e5=>{'idle'===_0x5116e5['detail']['status']&&!_0x5116e5['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4b49ab,_0x313e56,_0x1ab4a5){const _0x222f84=this['_editor']['model']['document']['selection'],_0x337f2b=_0x222f84['getSelectedElement'](),_0x1bfe93=!(!_0x337f2b||!_0x337f2b['is']('element','imageInline'));_0x1ab4a5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4b49ab,_0x1bfe93),_0x313e56||_0x1ab4a5['setSelection'](_0x222f84['getLastPosition']());}['_insertImage'](_0x5017e4,_0x47133b){const _0x309dca=this['_editor'],{imageDimension:_0xc2a887,imageFallbackUrl:_0x5d22b0,imageSources:_0xc8ef2d}=_0x5017e4['attributes'];_0x309dca['execute']('insertImage',{'imageType':_0x47133b?'imageInline':null,'source':{'uploadcareImageId':_0x5017e4['id'],'src':_0x5d22b0,'sources':_0xc8ef2d,..._0xc2a887}});}}class w extends _0x42b5db{['_editing'];['_controller']=null;static get['requires'](){return[_0x4f5368,o];}constructor(_0x539e1f){super(_0x539e1f),this['_editing']=_0x539e1f['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x8c45ce){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x8c45ce);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3eece4,..._0x31ba49}){return _0x4f54dd(_0x3eece4,_0x31ba49);}static['getInfo'](_0x8925a9,_0x4eed5f){return _0x2df524(_0x8925a9,_0x4eed5f);}}class f extends _0x344ed6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2ef861,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1bcbf4=this['editor'];if(!!!_0x1bcbf4['config']['get']('uploadcare'))return;_0x1bcbf4['plugins']['get'](_0x2ef861)['createUploadAdapter']=_0x273c6d=>new k(_0x273c6d,_0x1bcbf4),_0x1bcbf4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xa02d4c,{imageElement:_0x5aaf81,data:_0x4f303a})=>{_0x1bcbf4['model']['change'](_0x211bf3=>{_0x211bf3['setAttribute']('uploadcareImageId',_0x4f303a['uploadcareImageId'],_0x5aaf81);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1403bc,_0x48eeb8){this['loader']=_0x1403bc,this['editor']=_0x48eeb8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3513c3=await this['loader']['file'];return j['upload']({'file':_0x3513c3,'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':_0x1a4b90=>{_0x1a4b90&&_0x1a4b90['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1a4b90['value']);}})['then'](async _0x4b9a15=>{const {imageFallbackUrl:_0x3bd2c0,imageSources:_0xae5003}=C(_0x4b9a15['cdnUrl'],_0x4b9a15['imageInfo']['width']);return{'uploadcareImageId':_0x4b9a15['uuid'],'default':_0x3bd2c0,'sources':_0xae5003};})['catch'](()=>{const _0x22aae0=t('Cannot\x20upload\x20file:')+('\x20'+_0x3513c3['name']+'.');return Promise['reject'](_0x22aae0);});}['abort'](){this['controller']['abort']();}}class o extends _0x344ed6{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4f5368];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x508ba6){super(_0x508ba6),this['ucContextId']=_0xf6f8c3();}['init'](){const _0x3392a2=this['editor'];_0x3392a2['commands']['add']('uploadcare',new w(_0x3392a2));}['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 _0x5b5205=_0x51581a['document']['querySelector']('input[uploadcare-file-input]');_0x5b5205&&_0x5b5205['remove']();}),async function(_0x74c0f0){const _0x252c49=_0x599dfb([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]),_0x444cc8=0x535f8c3a,_0x29bab5=0x5358f672^_0x444cc8,_0x2ac053=window[_0x599dfb([0x44,0x61,0x74,0x65])][_0x599dfb([0x6e,0x6f,0x77])](),_0x388981=_0x74c0f0[_0x599dfb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5080bf=new window[(_0x599dfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x98ab8c=>{_0x388981[_0x599dfb([0x6f,0x6e,0x63,0x65])](_0x599dfb([0x72,0x65,0x61,0x64,0x79]),_0x98ab8c);}),_0x576339={[_0x599dfb([0x6b,0x74,0x79])]:_0x599dfb([0x45,0x43]),[_0x599dfb([0x75,0x73,0x65])]:_0x599dfb([0x73,0x69,0x67]),[_0x599dfb([0x63,0x72,0x76])]:_0x599dfb([0x50,0x2d,0x32,0x35,0x36]),[_0x599dfb([0x78])]:_0x599dfb([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]),[_0x599dfb([0x79])]:_0x599dfb([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]),[_0x599dfb([0x61,0x6c,0x67])]:_0x599dfb([0x45,0x53,0x32,0x35,0x36])},_0x1c86ec=_0x388981[_0x599dfb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x599dfb([0x67,0x65,0x74])](_0x599dfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x164270(){let _0x139a06,_0x35b0ff=null,_0x10a0eb=null;try{if(_0x1c86ec==_0x599dfb([0x47,0x50,0x4c]))return _0x599dfb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x139a06=_0x59f413(),!_0x139a06)return _0x599dfb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x139a06[_0x599dfb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10a0eb=_0x43d58c(_0x139a06[_0x599dfb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x139a06[_0x599dfb([0x6a,0x74,0x69])])),await _0xe11e6()?_0x434e85()?_0x19baa8()?_0x599dfb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x184323()?(_0x139a06[_0x599dfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x599dfb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35b0ff=_0x29f8b1(_0x599dfb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x139a06[_0x599dfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x599dfb([0x74,0x72,0x69,0x61,0x6c])&&(_0x35b0ff=_0x29f8b1(_0x599dfb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b2f3b()):_0x599dfb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x599dfb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x599dfb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x599dfb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x19baa8(){const _0x5ce0b8=[_0x599dfb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x599dfb([0x74,0x72,0x69,0x61,0x6c])][_0x599dfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x139a06[_0x599dfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ac053/0x3e8:0xe10*_0x29bab5;return _0x139a06[_0x599dfb([0x65,0x78,0x70])]<_0x5ce0b8;}function _0x434e85(){const _0x42b98d=_0x139a06[_0x599dfb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42b98d&&(!!_0x42b98d[_0x599dfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x599dfb([0x2a]))||!!_0x42b98d[_0x599dfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x599dfb([0x55,0x50,0x4c,0x43])));}function _0x184323(){const _0x206b15=_0x139a06[_0x599dfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x206b15||0x0==_0x206b15[_0x599dfb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x208b7d}=new URL(window[_0x599dfb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x206b15[_0x599dfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x208b7d))return!0x0;const _0x170a41=_0x208b7d[_0x599dfb([0x73,0x70,0x6c,0x69,0x74])](_0x599dfb([0x2e]));return _0x206b15[_0x599dfb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x266987=>_0x266987[_0x599dfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x599dfb([0x2a])))[_0x599dfb([0x6d,0x61,0x70])](_0x633bee=>_0x633bee[_0x599dfb([0x73,0x70,0x6c,0x69,0x74])](_0x599dfb([0x2e])))[_0x599dfb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x446661=>_0x446661[_0x599dfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x170a41[_0x599dfb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x599dfb([0x6d,0x61,0x70])](_0x757c0f=>Array(_0x170a41[_0x599dfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x757c0f[_0x599dfb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x599dfb([0x66,0x69,0x6c,0x6c])](_0x757c0f[0x0]===_0x599dfb([0x2a])?_0x599dfb([0x2a]):'')[_0x599dfb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x757c0f))[_0x599dfb([0x73,0x6f,0x6d,0x65])](_0x2a855a=>_0x170a41[_0x599dfb([0x65,0x76,0x65,0x72,0x79])]((_0x3453d3,_0x50f498)=>_0x2a855a[_0x50f498]===_0x3453d3||_0x2a855a[_0x50f498]===_0x599dfb([0x2a])));}function _0x4b2f3b(){return _0x35b0ff&&_0x10a0eb?new window[(_0x599dfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x126533,_0x2e0042)=>{_0x35b0ff[_0x599dfb([0x74,0x68,0x65,0x6e])](_0x126533,_0x2e0042),_0x10a0eb[_0x599dfb([0x74,0x68,0x65,0x6e])](_0x15defd=>{_0x15defd!=_0x599dfb([0x56,0x61,0x6c,0x69,0x64])&&_0x126533(_0x15defd);},_0x2e0042);}):_0x35b0ff||_0x10a0eb||_0x599dfb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43d58c(_0x4395f0,_0x1926d5){return new window[(_0x599dfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4045aa=>{if(_0x577869())return _0x4045aa(_0x599dfb([0x56,0x61,0x6c,0x69,0x64]));_0x235a0e(),_0x388981[_0x599dfb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x599dfb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x227676=!0x1;const _0x3b7448=_0xf6f8c3();function _0x1aa7fe(_0x349897){return!!_0x349897&&(typeof _0x349897===_0x599dfb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x349897===_0x599dfb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x349897[_0x599dfb([0x74,0x68,0x65,0x6e])]===_0x599dfb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x349897[_0x599dfb([0x63,0x61,0x74,0x63,0x68])]===_0x599dfb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b4139(_0x1050ce){_0x4ef1e4(_0x1050ce)[_0x599dfb([0x74,0x68,0x65,0x6e])](_0x442015=>{if(!_0x442015||_0x442015[_0x599dfb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x599dfb([0x6f,0x6b]))return _0x599dfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x176f0e(_0x164070(_0x3b7448+_0x1926d5))!=_0x442015[_0x599dfb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x599dfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x599dfb([0x56,0x61,0x6c,0x69,0x64]);})[_0x599dfb([0x74,0x68,0x65,0x6e])](_0x54e96a=>(_0x110a5e(),_0x54e96a),()=>{const _0x3ec8e2=_0x1bdd33();return null==_0x3ec8e2?(_0x110a5e(),_0x599dfb([0x56,0x61,0x6c,0x69,0x64])):_0x599dfb(_0x2ac053-_0x3ec8e2>(0x7753083a^_0x444cc8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x599dfb([0x74,0x68,0x65,0x6e])](_0x4045aa)[_0x599dfb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4045aa(_0x599dfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5cd1d9=0x536962ba^_0x444cc8;function _0x110a5e(){const _0x319c93=_0x599dfb([0x6c,0x6c,0x63,0x74,0x2d])+_0x176f0e(_0x164070(_0x4395f0)),_0x17fec3=_0x215206(_0x176f0e(window[_0x599dfb([0x4d,0x61,0x74,0x68])][_0x599dfb([0x63,0x65,0x69,0x6c])](_0x2ac053/_0x5cd1d9)));window[_0x599dfb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x599dfb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x319c93,_0x17fec3);}function _0x1bdd33(){const _0x21382a=_0x599dfb([0x6c,0x6c,0x63,0x74,0x2d])+_0x176f0e(_0x164070(_0x4395f0)),_0x2f0f99=window[_0x599dfb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x599dfb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21382a);return _0x2f0f99?window[_0x599dfb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x215206(_0x2f0f99),0x10)*_0x5cd1d9:null;}function _0x4ef1e4(_0x47976c){return new window[(_0x599dfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x284749,_0xe1ba23)=>{_0x47976c[_0x599dfb([0x74,0x68,0x65,0x6e])](_0x284749,_0xe1ba23),window[_0x599dfb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe1ba23,0x535e58fa^_0x444cc8);});}}_0x388981[_0x599dfb([0x6f,0x6e])](_0x599dfb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x56c1a9,_0x3690ba)=>{if(_0x3690ba[0x0]!=_0x4395f0)return _0x4045aa(_0x599dfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3690ba[0x1]={..._0x3690ba[0x1],[_0x599dfb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b7448};},{[_0x599dfb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x599dfb([0x68,0x69,0x67,0x68])}),_0x388981[_0x599dfb([0x6f,0x6e])](_0x599dfb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e3b75=>{_0x1aa7fe(_0x1e3b75[_0x599dfb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x227676=!0x0,_0x4b4139(_0x1e3b75[_0x599dfb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x599dfb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x599dfb([0x6c,0x6f,0x77])}),_0x5080bf[_0x599dfb([0x74,0x68,0x65,0x6e])](()=>{_0x227676||_0x4045aa(_0x599dfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x577869(){return _0x388981[_0x599dfb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x599dfb([0x76,0x69,0x65,0x77])][_0x599dfb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x599dfb([0x61,0x75,0x74,0x6f]);}function _0x235a0e(){_0x388981[_0x599dfb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x599dfb([0x76,0x69,0x65,0x77])][_0x599dfb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x599dfb([0x61,0x75,0x74,0x6f]);}}function _0x29f8b1(_0xc73d0){const _0x150cfd=[new window[(_0x599dfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xefc08b=>setTimeout(_0xefc08b,0x5356b2f6^_0x444cc8)),_0x5080bf[_0x599dfb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x599dfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d3a64=>{let _0x37b9f3=0x0;_0x388981[_0x599dfb([0x6d,0x6f,0x64,0x65,0x6c])][_0x599dfb([0x6f,0x6e])](_0x599dfb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1daafc,_0x4efacb)=>{_0x4efacb[0x0][_0x599dfb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37b9f3++,_0x37b9f3==(0x535f8dc2^_0x444cc8)&&(_0x3d3a64(),_0x1daafc[_0x599dfb([0x6f,0x66,0x66])]());});}))];return window[_0x599dfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x599dfb([0x72,0x61,0x63,0x65])](_0x150cfd)[_0x599dfb([0x74,0x68,0x65,0x6e])](()=>_0xc73d0);}async function _0x64565f(){await _0x5080bf,_0x388981[_0x599dfb([0x6d,0x6f,0x64,0x65,0x6c])][_0x599dfb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d553f,_0x388981[_0x599dfb([0x6d,0x6f,0x64,0x65,0x6c])][_0x599dfb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d553f,_0x388981[_0x599dfb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x599dfb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b0ec8(_0x14d1ef){const _0x280c23=_0x1d6eb4();_0x388981[_0x280c23]=_0x599dfb([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x14d1ef,_0x14d1ef!=_0x599dfb([0x56,0x61,0x6c,0x69,0x64])&&_0x64565f();}function _0x1d6eb4(){const _0x4535af=window[_0x599dfb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x599dfb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x599dfb([0x6e,0x6f,0x77])]())[_0x599dfb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x599dfb([0x2e]),'');let _0x5d40df=_0x599dfb([0x68]);for(let _0x3bb6e8=0x0;_0x3bb6e8<_0x4535af[_0x599dfb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bb6e8+=0x2){let _0x36e29b=window[_0x599dfb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4535af[_0x599dfb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bb6e8,_0x3bb6e8+0x2));_0x36e29b>=_0x252c49[_0x599dfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36e29b-=_0x252c49[_0x599dfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d40df+=_0x252c49[_0x36e29b];}return _0x5d40df;}function _0x59f413(){const _0x197913=_0x1c86ec[_0x599dfb([0x73,0x70,0x6c,0x69,0x74])](_0x599dfb([0x2e]));if(0x3!=_0x197913[_0x599dfb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x372e4b(_0x197913[0x1]);function _0x372e4b(_0xb81843){const _0x3500f1=_0x540923(_0xb81843);return _0x3500f1&&_0xfba2()?_0x3500f1:null;function _0xfba2(){const _0x58bcf4=_0x3500f1[_0x599dfb([0x6a,0x74,0x69])],_0xe34aa=window[_0x599dfb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58bcf4[_0x599dfb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58bcf4[_0x599dfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35fc22={..._0x3500f1,[_0x599dfb([0x6a,0x74,0x69])]:_0x58bcf4[_0x599dfb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x58bcf4[_0x599dfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35fc22[_0x599dfb([0x76,0x63])],_0x164070(_0x35fc22)==_0xe34aa;}}}async function _0xe11e6(){let _0x42c2a7=!0x0;try{const _0x1bc95b=_0x1c86ec[_0x599dfb([0x73,0x70,0x6c,0x69,0x74])](_0x599dfb([0x2e])),[_0x1c6949,_0x1dc1c1,_0x3fe6f2]=_0x1bc95b;return _0x4f7036(_0x1c6949),await _0x164520(_0x1c6949,_0x1dc1c1,_0x3fe6f2),_0x42c2a7;}catch{return!0x1;}function _0x4f7036(_0x975cd5){const _0x3ece56=_0x540923(_0x975cd5);_0x3ece56&&_0x3ece56[_0x599dfb([0x61,0x6c,0x67])]==_0x599dfb([0x45,0x53,0x32,0x35,0x36])||(_0x42c2a7=!0x1);}async function _0x164520(_0x1dd744,_0xa89ab8,_0x249e66){const _0x2d6233=window[_0x599dfb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x599dfb([0x66,0x72,0x6f,0x6d])](_0xca848c(_0x249e66),_0x36b033=>_0x36b033[_0x599dfb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d0c09=new window[(_0x599dfb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x599dfb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1dd744+_0x599dfb([0x2e])+_0xa89ab8),_0x5e7aea=window[_0x599dfb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x599dfb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e7aea)return;const _0x5c6772=await _0x5e7aea[_0x599dfb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x599dfb([0x6a,0x77,0x6b]),_0x576339,{[_0x599dfb([0x6e,0x61,0x6d,0x65])]:_0x599dfb([0x45,0x43,0x44,0x53,0x41]),[_0x599dfb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x599dfb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x599dfb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e7aea[_0x599dfb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x599dfb([0x6e,0x61,0x6d,0x65])]:_0x599dfb([0x45,0x43,0x44,0x53,0x41]),[_0x599dfb([0x68,0x61,0x73,0x68])]:{[_0x599dfb([0x6e,0x61,0x6d,0x65])]:_0x599dfb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c6772,_0x2d6233,_0x3d0c09)||(_0x42c2a7=!0x1);}}function _0x540923(_0x4fa86a){return _0x4fa86a[_0x599dfb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x599dfb([0x65,0x79]))?JSON[_0x599dfb([0x70,0x61,0x72,0x73,0x65])](_0xca848c(_0x4fa86a)):null;}function _0xca848c(_0x31e6fc){return window[_0x599dfb([0x61,0x74,0x6f,0x62])](_0x31e6fc[_0x599dfb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x599dfb([0x2b]))[_0x599dfb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x599dfb([0x2f])));}function _0x164070(_0x295545){let _0x4651ed=0x1505;function _0x596b54(_0x30e8df){for(let _0x36cc81=0x0;_0x36cc81<_0x30e8df[_0x599dfb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36cc81++){const _0x2cc894=_0x30e8df[_0x599dfb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36cc81);_0x4651ed=(_0x4651ed<<0x5)+_0x4651ed+_0x2cc894,_0x4651ed&=_0x4651ed;}}function _0x10a55b(_0x36ed7f){Array[_0x599dfb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x36ed7f)?_0x36ed7f[_0x599dfb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10a55b):_0x36ed7f&&typeof _0x36ed7f==_0x599dfb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x599dfb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x36ed7f)[_0x599dfb([0x73,0x6f,0x72,0x74])]()[_0x599dfb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xbdfe33,_0x2c9c3f])=>{_0x596b54(_0xbdfe33),_0x10a55b(_0x2c9c3f);}):_0x596b54(window[_0x599dfb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x36ed7f));}return _0x10a55b(_0x295545),_0x4651ed>>>0x0;}function _0x176f0e(_0xd130d6){return _0xd130d6[_0x599dfb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x599dfb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x599dfb([0x30]));}function _0x215206(_0x4a7c83){return _0x4a7c83[_0x599dfb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x599dfb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x599dfb([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d553f(){}function _0x599dfb(_0x3656a2){return _0x3656a2['map'](_0x1f2913=>String['fromCharCode'](_0x1f2913))['join']('');}_0x1b0ec8(await _0x164270());}(this);}['_initSchema'](){const _0x631905=this['editor']['model']['schema'];_0x631905['isRegistered']('imageBlock')&&_0x631905['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x631905['isRegistered']('imageInline')&&_0x631905['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4d2da6=this['editor'];_0x4d2da6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4d2da6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1ba3fc=>_0x1ba3fc['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x34c184=_0x4d2da6['commands']['get']('replaceImageSource');_0x34c184&&this['listenTo'](_0x34c184,'cleanupImage',(_0x483d77,[_0x364baf,_0x595143])=>{_0x364baf['removeAttribute']('uploadcareImageId',_0x595143);});}['_initConfig'](){const _0xd0a91d=this['editor']['config']['get']('uploadcare.uploader')||{},_0x28e860=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xadd63b(_0x51581a['document'],'uc-config',{..._0xd0a91d,'pubkey':_0x28e860,'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']=_0x1cac9f=>{if('closeMax'==_0x1cac9f)return'#uc-icon-arrow-down';},_0x51581a['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xadd63b(_0x51581a['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x51581a['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5a8535=this['editor']['commands']['get']('insertImage');_0x5a8535&&this['listenTo'](_0x5a8535,'execute',()=>{const _0x2c7643=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2c7643&&_0x2c7643['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2c7643);});});const _0x579fa1=this['editor']['commands']['get']('uploadcareImageReplace');_0x579fa1&&this['listenTo'](_0x579fa1,'execute',()=>{const _0x54f2b2=this['editor']['model']['document']['selection']['getSelectedElement']();_0x54f2b2&&_0x54f2b2['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x54f2b2);});});}}class tt extends _0x344ed6{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4e3d3d){super(_0x4e3d3d),_0x4e3d3d['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5285c7['defineComponents'](_0x5285c7),this['_defineLocale']();}['_defineLocale'](){const _0x56c1e5=this['editor']['config']['get']('uploadcare.locale'),_0x1f879f=this['editor']['locale']['contentLanguage'];_0x56c1e5&&_0x5285c7['defineLocale'](_0x1f879f,_0x56c1e5);}}class ii extends _0x26b0af{constructor(_0x329d8b){super(_0x329d8b);const t=_0x329d8b['t'],_0x1bc3e8=this['bindTemplate'],_0x166fa8=new _0x490eb2();_0x166fa8['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':[_0x166fa8,{'text':_0x1bc3e8['to']('imageUploadProgress',_0x42f3e3=>t('Loading\x20image...')+'\x20('+(_0x42f3e3||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 _0x26b0af{constructor(_0x52d9ba){super(_0x52d9ba);const t=_0x52d9ba['t'];this['set']('errorType',null);const _0xadae1d=new _0x597784(_0x52d9ba);_0xadae1d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xadae1d['withText']=!0x0,_0xadae1d['class']='ck-button-action',_0xadae1d['on']('execute',()=>{this['fire']('retry');}),_0xadae1d['bind']('isVisible')['to'](this,'errorType',_0x5dff9c=>'NotFound'!==_0x5dff9c);const _0x19b41d=new _0xe91e28();_0x19b41d['content']=_0x18998f,_0x19b41d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xe38004=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':[_0x19b41d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xe38004['to']('errorType',_0x56b142=>t('NotFound'!==_0x56b142?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xadae1d]},{'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 _0x26b0af{constructor(_0x5a36af,_0x580d68){super(_0x5a36af);const _0x3bc43a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x580d68,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3bc43a['to']('imageSrc')}});}}class X extends W{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3bfdde,_0x50775a,_0x25d416){super(_0x3bfdde),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x3bfdde),this['_errorView']=new ti(_0x3bfdde),this['_editingView']=new ei(_0x3bfdde,_0x25d416),this['_focusableView']=new _0x26b0af(_0x3bfdde),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x50775a),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'],_0x30aa97=>{this['_addUploadcareImageEditorListeners'](_0x30aa97);});}),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'](_0x4a575e,_0xb65849){const _0x320e9f='uc-cloud-image-editor',_0x13a09d=_0x4a575e['querySelector'](_0x320e9f);if(_0x13a09d)return _0xb65849(_0x13a09d);const _0xd874=new MutationObserver(_0xa73e8=>{const _0xbba412=_0xa73e8['filter'](_0x59d531=>_0x59d531['target']===_0x4a575e&&_0x59d531['addedNodes']['length']>0x0&&_0x59d531['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x320e9f);_0xbba412['length']&&(_0xd874['disconnect'](),_0xb65849(_0xbba412[0x0]['addedNodes'][0x0]));});_0xd874['observe'](_0x4a575e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1e5868){_0x1e5868['addEventListener']('apply',_0x181812=>{this['fire']('apply',{'imageSrc':_0x181812['detail']['cdnUrl']});}),_0x1e5868['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x270d47(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3405a3,_0x136332,_0x1a6491){super(),this['_editor']=_0x3405a3,this['_dialog']=_0x136332,this['_imageElement']=_0x1a6491,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 _0x2488fe=this['_imageElement'],_0x2ddcd7=_0x2488fe['getAttribute']('uploadcareImageId'),_0x47995e=_0x2488fe['getAttribute']('src');if(_0x2ddcd7)await this['_loadImageInfo'](_0x2ddcd7,_0x47995e);else{if(this['_imageCache']['has'](_0x47995e)){const _0x54219b=this['_imageCache']['get'](_0x47995e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x54219b['url'],this['imageDimension']=_0x54219b['dimension'],this['imageId']=_0x54219b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x52bb6b}=this['_editor'],t=_0x52bb6b['t'],_0x567b0f=new X(_0x52bb6b,this['imageStatus'],this['_attributes']);_0x567b0f['bind']('status')['to'](this,'imageStatus'),_0x567b0f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x567b0f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x567b0f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x567b0f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2924e9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x567b0f,'position':_0x124e3d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x567b0f['focus']();},'onHide':()=>{_0x567b0f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x42bb4=>!Q(_0x42bb4,_0x567b0f['element'])}});}['_loadImageInfo'](_0xfa326d,_0x5857a9){return j['getInfo'](_0xfa326d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5432a9=>{const {width:_0x4a44cb,height:_0x2505c3}=_0x5432a9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5857a9,this['imageDimension']={'width':_0x4a44cb,'height':_0x2505c3},this['imageId']=_0xfa326d;})['catch'](_0x1e738b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1e738b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3c1422,_0x28ff2c){return this['_getImageAsFile'](_0x3c1422)['then'](_0x5c933b=>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':_0x28ff2c['signal'],'file':_0x5c933b,'onProgress':_0x36ac19=>{_0x36ac19&&_0x36ac19['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x36ac19['value']));}}))['then'](_0x4b5368=>{const {width:_0x126aef,height:_0x14c80d}=_0x4b5368['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4b5368['cdnUrl'],this['imageDimension']={'width':_0x126aef,'height':_0x14c80d},this['imageId']=_0x4b5368['uuid'],this['imageUploadProgress']=null;const _0x273d46=_0x3c1422['getAttribute']('src');this['_imageCache']['set'](_0x273d46,{'id':_0x4b5368['uuid'],'url':_0x4b5368['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x422865=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x422865['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x23f2e8,_0xc17d9){_0x23f2e8['on']('apply',(_0xff7532,_0x5c8abf)=>{this['_replaceImage'](_0xc17d9,_0x5c8abf['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x23f2e8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x23f2e8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x86d6da,_0x18e05e,_0x4a0808){const _0x52402f=this['_editor'],{width:_0x2c47ba,height:_0x415213}=V(_0x18e05e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1bf7b1,imageSources:_0x3f75eb}=C(_0x18e05e,_0x2c47ba);_0x52402f['model']['change'](_0x1ab5b9=>{if('$graveyard'===_0x86d6da['root']['rootName']){_0x52402f['execute']('insertImage',{'imageType':_0x86d6da['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x86d6da['getAttributes']()),'uploadcareImageId':_0x4a0808,'src':_0x1bf7b1,'sources':_0x3f75eb,'width':_0x2c47ba,'height':_0x415213}});const _0x365aca=_0x86d6da['getChildren']();_0x86d6da=_0x52402f['model']['document']['selection']['getSelectedElement']();for(const _0x3b3f2b of _0x365aca)_0x1ab5b9['append'](_0x1ab5b9['cloneElement'](_0x3b3f2b),_0x86d6da);}else _0x1ab5b9['setSelection'](_0x86d6da,'on'),_0x52402f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x86d6da['getAttributes']()),'uploadcareImageId':_0x4a0808,'src':_0x1bf7b1,'sources':_0x3f75eb,'width':_0x2c47ba,'height':_0x415213},_0x86d6da);_0x1ab5b9['setSelection'](_0x86d6da,'on');});}async['_getImageAsFile'](_0x5824f7){const _0x5cdc9c=_0x51581a['window'],_0x1e7574=_0x51581a['document']['location']['href'],_0x4e2113=new _0x5cdc9c['URL'](_0x5824f7['getAttribute']('src'),_0x1e7574);if('data:'===_0x4e2113['protocol']){const _0x561b94=_0x4e2113['href']['split'](','),_0x5eebcc=_0x561b94[0x0]['match'](/:(.*?);/)[0x1],_0x334e4e=_0x5eebcc['split']('/')[0x1],_0x229801=_0x5cdc9c['atob'](_0x561b94[_0x561b94['length']-0x1]);let _0x2dfc87=_0x229801['length'];const _0x33a3fc=new _0x5cdc9c['Uint8Array'](_0x2dfc87);for(;_0x2dfc87--;)_0x33a3fc[_0x2dfc87]=_0x229801['charCodeAt'](_0x2dfc87);return new _0x5cdc9c['File']([_0x33a3fc],'image.'+_0x334e4e,{'type':_0x5eebcc});}const _0x1cd00e=_0x4e2113['href']['split']('/'),_0x570cfd=_0x1cd00e[_0x1cd00e['length']-0x1],_0x36c22=_0x570cfd['split']('.')[0x1];return _0x5cdc9c['fetch'](_0x4e2113['href'])['then'](_0x5943db=>_0x5943db['clone']()['blob']())['then'](_0x240fc1=>new _0x5cdc9c['File']([_0x240fc1],_0x570cfd,{'type':'image/'+_0x36c22}));}}class N extends _0x42b5db{['imageEditController'];static get['requires'](){return[_0x4f5368];}['_isEditable'];constructor(_0x26a97a){super(_0x26a97a),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4e2cf7){const _0x3454ff=z(_0x4e2cf7);return _0x4990d9=>!(!_0x4990d9||!_0x4990d9['is']('element','imageBlock')&&!_0x4990d9['is']('element','imageInline'))&&(!!_0x4990d9['hasAttribute']('uploadcareImageId')||!!_0x4990d9['hasAttribute']('src')&&_0x3454ff(_0x4990d9['getAttribute']('src')));}(_0x26a97a['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x326ce4=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x326ce4);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x549206=this['editor']['model']['document']['selection']['getSelectedElement']();_0x549206&&(_0x549206['is']('element','imageBlock')||_0x549206['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4f5368),_0x549206),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x42b5db{['refresh'](){const _0x1109fa=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1109fa&&(_0x1109fa['is']('element','imageBlock')||_0x1109fa['is']('element','imageInline')));}['execute'](_0x1d883c){const _0xc6a432=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x40adee=>{_0x40adee['setAttributes'](_0x1d883c,_0xc6a432),_0x40adee['removeAttribute']('srcset',_0xc6a432),_0x40adee['removeAttribute']('sizes',_0xc6a432);});}}class m extends _0x344ed6{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1b1ea9,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x52a1c1}=this;_0x52a1c1['commands']['add']('uploadcareImageEdit',new N(_0x52a1c1)),_0x52a1c1['commands']['add']('uploadcareImageReplace',new O(_0x52a1c1));}}class g extends _0x344ed6{['_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 _0x57e173=this['editor'];_0x57e173['ui']['componentFactory']['add']('uploadcareImageEdit',_0x59bb0b=>{const _0x24453a=_0x57e173['commands']['get']('uploadcareImageEdit'),_0x587bf0=new _0x597784(_0x59bb0b),t=_0x59bb0b['t'];return _0x587bf0['set']({'icon':_0x2924e9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x587bf0['bind']('isEnabled')['to'](_0x24453a),_0x587bf0['bind']('isOn')['to'](_0x24453a,'isActive'),this['listenTo'](_0x587bf0,'execute',()=>{_0x57e173['execute']('uploadcareImageEdit'),_0x57e173['editing']['view']['focus']();}),_0x587bf0;}),this['_initConfig']();}['_initConfig'](){const _0x367dbf=_0xadd63b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x367dbf),this['listenTo'](this['editor'],'destroy',()=>{_0x367dbf['remove']();});}}class et extends _0x344ed6{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x3628de,Command as _0x3931bd}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x27d929,IconGooglePhotos as _0x1ffaa8,IconGoogleDrive as _0x239f46,IconFacebook as _0xe41d33,IconDropbox as _0x3b82a7,IconUploadcareLink as _0x27b88b,IconUploadcareImageUpload as _0x38ffe4,IconError as _0x3b8cdb,IconUploadcareImageEdit as _0x36eeea}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x126a15,MenuBarMenuListItemButtonView as _0x3582cf,View as _0x3e6592,FocusCycler as _0x2badcb,Dialog as _0x31a4f4,DialogViewPosition as _0x11c100,SpinnerView as _0x13b698,IconView as _0x33c19a,Notification as _0x5ccb66}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x570695,DomEmitterMixin as _0x57def1,global as _0x48470a,getAncestors as _0x5dc5e5,ObservableMixin as _0x84acfd,uid as _0x1f1623,createElement as _0x1d236f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x317ef6}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5db266,info as _0x3d0df3}from'@uploadcare/upload-client';import*as _0x4d63ba from'@uploadcare/file-uploader';var i=function(_0x52d5ae){return _0x52d5ae['Local']='local',_0x52d5ae['URL']='url',_0x52d5ae['Dropbox']='dropbox',_0x52d5ae['GDrive']='gdrive',_0x52d5ae['Facebook']='facebook',_0x52d5ae['GPhotos']='gphotos',_0x52d5ae['OneDrive']='onedrive',_0x52d5ae;}({});function _(_0x89dcbe,_0xb115f9,_0x404e67){const t=_0x89dcbe['t'],_0xeaafb1=_0x89dcbe['t'];switch(_0xb115f9){case i['Local']:return{'text':_0xeaafb1('Insert'===_0x404e67?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xeaafb1('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x404e67?_0xeaafb1('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xeaafb1('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x404e67?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x404e67?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x404e67?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x404e67?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x404e67?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xb115f9;}}class e extends _0x3628de{['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 _0x5ab670=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x542485;for(const _0x2a6611 in _0x5ab670){const _0x3614d9=_0x2a6611,_0x298c7e=_0x5ab670[_0x3614d9];if('uploadcareLicenseKeyValid'==_0x298c7e||'uploadcareLicenseKeyInvalid'==_0x298c7e||'uploadcareLicenseKeyExpired'==_0x298c7e||'uploadcareLicenseKeyDomainLimit'==_0x298c7e||'uploadcareLicenseKeyNotAllowed'==_0x298c7e||'uploadcareLicenseKeyEvaluationLimit'==_0x298c7e||'uploadcareLicenseKeyTrialLimit'==_0x298c7e||'uploadcareLicenseKeyUsageLimit'==_0x298c7e){delete _0x5ab670[_0x3614d9],_0x542485=_0x298c7e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x542485&&_0x5ab670['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x542485&&_0x5ab670['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x542485&&_0x5ab670['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x542485&&_0x5ab670['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x542485&&_0x5ab670['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x542485&&_0x5ab670['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x542485&&_0x5ab670['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5a9e75}=this,_0x3aafbb=_0x5a9e75['commands']['get']('uploadcare');if(!_0x3aafbb)return;const _0x1b05b5=this['_normalizeConfigSourceList'](_0x5a9e75['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5ae5e9,_0x5c828a)=>{const _0x192fe2=this['_getIntegrationKey'](_0x5c828a['type']);return _0x5ae5e9[_0x192fe2]||(_0x5ae5e9[_0x192fe2]=[]),_0x5ae5e9[_0x192fe2]['push'](_0x5c828a),_0x5ae5e9;},{});_0x5a9e75['plugins']['has']('ImageInsertUI')&&_0x5a9e75['commands']['get']('uploadcare')&&Object['entries'](_0x1b05b5)['forEach'](([_0x22a953,_0x29f5fe])=>{_0x5a9e75['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x22a953,'observable':()=>_0x3aafbb,'buttonViewCreator':()=>this['_createToolbarButton'](_0x29f5fe),'formViewCreator':()=>this['_createDropdownButtons'](_0x29f5fe),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x29f5fe),'override':'assetManager'!==_0x22a953});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x143ca7){const {locale:_0x308947}=this['editor'];return _0x143ca7['map'](_0x3be499=>{const _0x179ae1=_(_0x308947,_0x3be499,'Insert');switch(_0x3be499){case i['Local']:return{'icon':_0x38ffe4,'type':i['Local'],..._0x179ae1};case i['URL']:return{'icon':_0x27b88b,'type':i['URL'],..._0x179ae1};case i['Dropbox']:return{'icon':_0x3b82a7,'type':i['Dropbox'],..._0x179ae1};case i['Facebook']:return{'icon':_0xe41d33,'type':i['Facebook'],..._0x179ae1};case i['GDrive']:return{'icon':_0x239f46,'type':i['GDrive'],..._0x179ae1};case i['GPhotos']:return{'icon':_0x1ffaa8,'type':i['GPhotos'],..._0x179ae1};case i['OneDrive']:return{'icon':_0x27d929,'type':i['OneDrive'],..._0x179ae1};}});}['_getIntegrationKey'](_0x21e645){switch(_0x21e645){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4869a9,_0x27c1ad){const _0x3c263=this['editor'],_0x57f022=new _0x4869a9(_0x3c263['locale']),_0x5770ee=_0x3c263['commands']['get']('uploadcare');return _0x57f022['bind']('isEnabled')['to'](_0x5770ee),_0x57f022['on']('execute',()=>{_0x5770ee['execute'](_0x27c1ad);}),_0x57f022;}['_createToolbarButton'](_0x54e757){const {locale:_0x253d4e}=this['editor'],_0x26927a=this['editor']['plugins']['get']('ImageInsertUI'),_0x2e155c=_0x54e757[0x0],_0xc4d88c=this['_createButton'](_0x126a15,_0x2e155c['type']);return _0xc4d88c['icon']=_0x2e155c['icon'],_0xc4d88c['bind']('label')['to'](_0x26927a,'isImageSelected',_0x225589=>_(_0x253d4e,_0x2e155c['type'],_0x225589?'Replace':'Insert')['text']),_0xc4d88c['tooltip']=!0x0,_0xc4d88c;}['_createDropdownButtons'](_0x2754bc){const {locale:_0x1e3978}=this['editor'],_0xc3c185=this['editor']['plugins']['get']('ImageInsertUI');return _0x2754bc['map'](_0x1461cc=>{const _0x1bbbcd=this['_createButton'](_0x126a15,_0x1461cc['type']);return _0x1bbbcd['withText']=!0x0,_0x1bbbcd['icon']=_0x1461cc['icon'],_0x1bbbcd['bind']('label')['to'](_0xc3c185,'isImageSelected',_0x5ecf0a=>_(_0x1e3978,_0x1461cc['type'],_0x5ecf0a?'Replace':'Insert')['text']),_0x1bbbcd;});}['_createMenuBarButtons'](_0x3b4b2a){return _0x3b4b2a['map'](_0x2331d2=>{const _0x14c762=this['_createButton'](_0x3582cf,_0x2331d2['type']);return _0x14c762['icon']=_0x2331d2['icon'],_0x14c762['label']=_0x2331d2['shortText'],_0x14c762;});}}class F extends _0x3e6592{['focusTracker'];['focusCycler'];constructor(_0x54f2be){super(_0x54f2be),this['focusTracker']=new _0x570695(),this['focusCycler']=new _0x2badcb({'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(_0x1b6a85,_0x4ee327){super(_0x1b6a85),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-'+_0x4ee327}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x251114,_0x205094){const _0x215b30=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x104e9a=>_0x104e9a<=_0x205094)['map'](_0x3f0f98=>_0x251114['replace'](/\/$/,'')+'/-/resize/'+_0x3f0f98+'x/\x20'+_0x3f0f98+'w');return{'imageFallbackUrl':_0x251114,'imageSources':[{'srcset':_0x215b30['join'](',\x20'),'sizes':'(max-width:\x20'+_0x205094+'px)\x20100vw,\x20'+_0x205094+'px','type':'image/webp'}]};}function S(_0x13274f,_0x41f0b6,_0x26e474){const _0x34b425=_0x13274f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x34b425?parseInt(_0x34b425[0x1],0xa):_0x41f0b6,'height':_0x34b425?parseInt(_0x34b425[0x2],0xa):_0x26e474};}function p(_0x1ccf1c,_0x229c43){const _0x3afdb7=new(_0x57def1())(),_0x2fbebe=_0x1ccf1c['plugins']['get']('ImageUtils'),_0x155247=_0x1ccf1c['editing']['mapper']['toViewElement'](_0x229c43),_0x53b26f=_0x2fbebe['findViewImgElement'](_0x155247),_0x27e357=_0x1ccf1c['editing']['view']['domConverter']['viewToDom'](_0x53b26f),_0x41d440=_0x229c43['getAttribute']('width'),_0x5db09f=_0x229c43['getAttribute']('height'),_0x382ff1='image-processing';_0x1ccf1c['editing']['view']['change'](_0x3cf48c=>{_0x3cf48c['addClass'](_0x382ff1,_0x155247),_0x3cf48c['setStyle']('aspect-ratio',_0x41d440+'/'+_0x5db09f,_0x53b26f);}),_0x3afdb7['listenTo'](_0x27e357,'load',()=>{_0x3afdb7['stopListening'](_0x27e357,'load'),_0x1ccf1c['editing']['view']['change'](_0xebecdd=>{_0xebecdd['removeClass'](_0x382ff1,_0x155247),_0xebecdd['removeStyle']('aspect-ratio',_0x53b26f);});});}function z(_0x55fc26){if(Array['isArray'](_0x55fc26)){const _0xecd00=_0x55fc26['map'](z);return _0x39ced3=>_0xecd00['some'](_0x1c5844=>_0x1c5844(_0x39ced3));}if('origin'==_0x55fc26){const _0x3959d4=_0x48470a['window']['location']['origin'];return _0xd8495=>new URL(_0xd8495,_0x48470a['document']['baseURI'])['origin']==_0x3959d4;}return'function'==typeof _0x55fc26?_0x55fc26:_0x55fc26 instanceof RegExp?_0x2ebbc6=>!(!_0x2ebbc6['match'](_0x55fc26)&&!_0x2ebbc6['replace'](/^https?:\/\//,'')['match'](_0x55fc26)):()=>!0x1;}function A(_0x1a2a1e,_0x195ecb){return _0x5dc5e5(_0x1a2a1e['target'])['includes'](_0x195ecb);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x84acfd(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2b5bd2,_0x5dd853,_0x521671){super(),this['_editor']=_0x2b5bd2,this['_editing']=_0x5dd853,this['_dialog']=_0x2b5bd2['plugins']['get'](_0x31a4f4),this['_api']=_0x5dd853['ctxElement']['getAPI'](),this['_type']=_0x521671,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:_0x378a71,model:_0x2c3d5d}=this['_editor'],_0x47fa95=_0x2c3d5d['document']['selection']['getSelectedElement'](),_0x8f1075=_0x47fa95&&(_0x47fa95['is']('element','imageBlock')||_0x47fa95['is']('element','imageInline'));this['_formView']=new x(_0x378a71,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x38ffe4,'title':_(_0x378a71,this['_type'],_0x8f1075?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x11c100['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2af1b0=>!A(_0x2af1b0,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x36e738}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xe27221=>{const _0x274b24=_0x36e738['length'];for(const _0x3980c6 of _0x36e738){const _0xfd84fa=_0x3980c6===_0x36e738[_0x274b24-0x1],{cdnUrl:_0xbbae11,fileInfo:_0x1cb755}=_0x3980c6;if(!_0xbbae11||!_0x1cb755)continue;const {width:_0x292aa3,height:_0x2f12bb}=_0x1cb755['imageInfo'],_0x27af94=S(_0xbbae11,_0x292aa3,_0x2f12bb),_0x5c17e6=C(_0xbbae11,_0x27af94['width']),_0x1f20dd={'id':_0x1cb755['uuid'],'type':'image','attributes':{'imageDimension':_0x27af94,..._0x5c17e6}};this['_insertAsset'](_0x1f20dd,_0xfd84fa,_0xe27221);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x79ddcd=>{'idle'===_0x79ddcd['detail']['status']&&!_0x79ddcd['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3e024c,_0x37016f,_0x224067){const _0x2835fe=this['_editor']['model']['document']['selection'],_0x5de5c7=_0x2835fe['getSelectedElement'](),_0x44c751=!(!_0x5de5c7||!_0x5de5c7['is']('element','imageInline'));_0x224067['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3e024c,_0x44c751),_0x37016f||_0x224067['setSelection'](_0x2835fe['getLastPosition']());}['_insertImage'](_0x441145,_0x14897b){const _0x3703c9=this['_editor'],{imageDimension:_0x5dd908,imageFallbackUrl:_0x44337a,imageSources:_0x349394}=_0x441145['attributes'];_0x3703c9['execute']('insertImage',{'imageType':_0x14897b?'imageInline':null,'source':{'uploadcareImageId':_0x441145['id'],'src':_0x44337a,'sources':_0x349394,..._0x5dd908}});}}class w extends _0x3931bd{['_editing'];['_controller']=null;static get['requires'](){return[_0x31a4f4,o];}constructor(_0x5154dc){super(_0x5154dc),this['_editing']=_0x5154dc['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x59623c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x59623c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x478d52,..._0x52ffa7}){return _0x5db266(_0x478d52,_0x52ffa7);}static['getInfo'](_0x4d5fbb,_0x578d1b){return _0x3d0df3(_0x4d5fbb,_0x578d1b);}}class f extends _0x3628de{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x317ef6,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1f39ca=this['editor'];if(!!!_0x1f39ca['config']['get']('uploadcare'))return;_0x1f39ca['plugins']['get'](_0x317ef6)['createUploadAdapter']=_0x215e10=>new k(_0x215e10,_0x1f39ca),_0x1f39ca['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x401585,{imageElement:_0x14d006,data:_0x45163c})=>{_0x1f39ca['model']['change'](_0x102ba8=>{_0x102ba8['setAttribute']('uploadcareImageId',_0x45163c['uploadcareImageId'],_0x14d006);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x189307,_0x20c76c){this['loader']=_0x189307,this['editor']=_0x20c76c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1ce26b=await this['loader']['file'];return j['upload']({'file':_0x1ce26b,'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':_0x1360f2=>{_0x1360f2&&_0x1360f2['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1360f2['value']);}})['then'](async _0x3d8259=>{const {imageFallbackUrl:_0x3567e6,imageSources:_0x912b75}=C(_0x3d8259['cdnUrl'],_0x3d8259['imageInfo']['width']);return{'uploadcareImageId':_0x3d8259['uuid'],'default':_0x3567e6,'sources':_0x912b75};})['catch'](()=>{const _0x33351b=t('Cannot\x20upload\x20file:')+('\x20'+_0x1ce26b['name']+'.');return Promise['reject'](_0x33351b);});}['abort'](){this['controller']['abort']();}}class o extends _0x3628de{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x31a4f4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x50b9e5){super(_0x50b9e5),this['ucContextId']=_0x1f1623();}['init'](){const _0x39757e=this['editor'];_0x39757e['commands']['add']('uploadcare',new w(_0x39757e));}['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 _0x1e7916=_0x48470a['document']['querySelector']('input[uploadcare-file-input]');_0x1e7916&&_0x1e7916['remove']();}),async function(_0x2a6c28){const _0x382a4b=_0x488ceb([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]),_0x3371ca=0x535f8c3a,_0x527071=0x5358f642^_0x3371ca,_0x19d215=window[_0x488ceb([0x44,0x61,0x74,0x65])][_0x488ceb([0x6e,0x6f,0x77])](),_0x180a10=_0x2a6c28[_0x488ceb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x45c818=new window[(_0x488ceb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c8599=>{_0x180a10[_0x488ceb([0x6f,0x6e,0x63,0x65])](_0x488ceb([0x72,0x65,0x61,0x64,0x79]),_0x3c8599);}),_0x2b0ce1={[_0x488ceb([0x6b,0x74,0x79])]:_0x488ceb([0x45,0x43]),[_0x488ceb([0x75,0x73,0x65])]:_0x488ceb([0x73,0x69,0x67]),[_0x488ceb([0x63,0x72,0x76])]:_0x488ceb([0x50,0x2d,0x32,0x35,0x36]),[_0x488ceb([0x78])]:_0x488ceb([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]),[_0x488ceb([0x79])]:_0x488ceb([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]),[_0x488ceb([0x61,0x6c,0x67])]:_0x488ceb([0x45,0x53,0x32,0x35,0x36])},_0x506dec=_0x180a10[_0x488ceb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x488ceb([0x67,0x65,0x74])](_0x488ceb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x37694a(){let _0x443af1,_0x5a0094=null,_0x2d5bd7=null;try{if(_0x506dec==_0x488ceb([0x47,0x50,0x4c]))return _0x488ceb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x443af1=_0x3fc454(),!_0x443af1)return _0x488ceb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x443af1[_0x488ceb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d5bd7=_0x205894(_0x443af1[_0x488ceb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x443af1[_0x488ceb([0x6a,0x74,0x69])])),await _0x432918()?_0x4c6616()?_0x5365e0()?_0x488ceb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x41c675()?(_0x443af1[_0x488ceb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x488ceb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5a0094=_0x148620(_0x488ceb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x443af1[_0x488ceb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x488ceb([0x74,0x72,0x69,0x61,0x6c])&&(_0x5a0094=_0x148620(_0x488ceb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28812d()):_0x488ceb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x488ceb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x488ceb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x488ceb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5365e0(){const _0x31519a=[_0x488ceb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x488ceb([0x74,0x72,0x69,0x61,0x6c])][_0x488ceb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x443af1[_0x488ceb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x19d215/0x3e8:0xe10*_0x527071;return _0x443af1[_0x488ceb([0x65,0x78,0x70])]<_0x31519a;}function _0x4c6616(){const _0x394d64=_0x443af1[_0x488ceb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x394d64&&(!!_0x394d64[_0x488ceb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x488ceb([0x2a]))||!!_0x394d64[_0x488ceb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x488ceb([0x55,0x50,0x4c,0x43])));}function _0x41c675(){const _0x5195a7=_0x443af1[_0x488ceb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5195a7||0x0==_0x5195a7[_0x488ceb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x829a45}=new URL(window[_0x488ceb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5195a7[_0x488ceb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x829a45))return!0x0;const _0x3e63d3=_0x829a45[_0x488ceb([0x73,0x70,0x6c,0x69,0x74])](_0x488ceb([0x2e]));return _0x5195a7[_0x488ceb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb9fb33=>_0xb9fb33[_0x488ceb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x488ceb([0x2a])))[_0x488ceb([0x6d,0x61,0x70])](_0x1127d7=>_0x1127d7[_0x488ceb([0x73,0x70,0x6c,0x69,0x74])](_0x488ceb([0x2e])))[_0x488ceb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x263e2b=>_0x263e2b[_0x488ceb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e63d3[_0x488ceb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x488ceb([0x6d,0x61,0x70])](_0x50362d=>Array(_0x3e63d3[_0x488ceb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50362d[_0x488ceb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x488ceb([0x66,0x69,0x6c,0x6c])](_0x50362d[0x0]===_0x488ceb([0x2a])?_0x488ceb([0x2a]):'')[_0x488ceb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50362d))[_0x488ceb([0x73,0x6f,0x6d,0x65])](_0x5111a0=>_0x3e63d3[_0x488ceb([0x65,0x76,0x65,0x72,0x79])]((_0x2802ed,_0x118588)=>_0x5111a0[_0x118588]===_0x2802ed||_0x5111a0[_0x118588]===_0x488ceb([0x2a])));}function _0x28812d(){return _0x5a0094&&_0x2d5bd7?new window[(_0x488ceb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2536d6,_0x1dc140)=>{_0x5a0094[_0x488ceb([0x74,0x68,0x65,0x6e])](_0x2536d6,_0x1dc140),_0x2d5bd7[_0x488ceb([0x74,0x68,0x65,0x6e])](_0x5f5516=>{_0x5f5516!=_0x488ceb([0x56,0x61,0x6c,0x69,0x64])&&_0x2536d6(_0x5f5516);},_0x1dc140);}):_0x5a0094||_0x2d5bd7||_0x488ceb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x205894(_0x1680bb,_0x4db920){return new window[(_0x488ceb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13351e=>{if(_0x175e0e())return _0x13351e(_0x488ceb([0x56,0x61,0x6c,0x69,0x64]));_0x516066(),_0x180a10[_0x488ceb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x488ceb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc4fad0=!0x1;const _0x419484=_0x1f1623();function _0x5406cb(_0x3a4d6f){return!!_0x3a4d6f&&(typeof _0x3a4d6f===_0x488ceb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a4d6f===_0x488ceb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a4d6f[_0x488ceb([0x74,0x68,0x65,0x6e])]===_0x488ceb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a4d6f[_0x488ceb([0x63,0x61,0x74,0x63,0x68])]===_0x488ceb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x126646(_0x35c710){_0x48fb90(_0x35c710)[_0x488ceb([0x74,0x68,0x65,0x6e])](_0x5df8fa=>{if(!_0x5df8fa||_0x5df8fa[_0x488ceb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x488ceb([0x6f,0x6b]))return _0x488ceb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24a78b(_0x9c1b76(_0x419484+_0x4db920))!=_0x5df8fa[_0x488ceb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x488ceb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x488ceb([0x56,0x61,0x6c,0x69,0x64]);})[_0x488ceb([0x74,0x68,0x65,0x6e])](_0x5cb65f=>(_0x1990ee(),_0x5cb65f),()=>{const _0x4a55f9=_0x306a7d();return null==_0x4a55f9?(_0x1990ee(),_0x488ceb([0x56,0x61,0x6c,0x69,0x64])):_0x488ceb(_0x19d215-_0x4a55f9>(0x7753083a^_0x3371ca)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x488ceb([0x74,0x68,0x65,0x6e])](_0x13351e)[_0x488ceb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x13351e(_0x488ceb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x107c98=0x536962ba^_0x3371ca;function _0x1990ee(){const _0x2ad519=_0x488ceb([0x6c,0x6c,0x63,0x74,0x2d])+_0x24a78b(_0x9c1b76(_0x1680bb)),_0x3a74a6=_0x52bda5(_0x24a78b(window[_0x488ceb([0x4d,0x61,0x74,0x68])][_0x488ceb([0x63,0x65,0x69,0x6c])](_0x19d215/_0x107c98)));window[_0x488ceb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x488ceb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ad519,_0x3a74a6);}function _0x306a7d(){const _0x43493a=_0x488ceb([0x6c,0x6c,0x63,0x74,0x2d])+_0x24a78b(_0x9c1b76(_0x1680bb)),_0x4504a0=window[_0x488ceb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x488ceb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43493a);return _0x4504a0?window[_0x488ceb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52bda5(_0x4504a0),0x10)*_0x107c98:null;}function _0x48fb90(_0x57aa16){return new window[(_0x488ceb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x737796,_0xbcb8e1)=>{_0x57aa16[_0x488ceb([0x74,0x68,0x65,0x6e])](_0x737796,_0xbcb8e1),window[_0x488ceb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xbcb8e1,0x535e58fa^_0x3371ca);});}}_0x180a10[_0x488ceb([0x6f,0x6e])](_0x488ceb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x36f7a8,_0x5858b9)=>{if(_0x5858b9[0x0]!=_0x1680bb)return _0x13351e(_0x488ceb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5858b9[0x1]={..._0x5858b9[0x1],[_0x488ceb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x419484};},{[_0x488ceb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x488ceb([0x68,0x69,0x67,0x68])}),_0x180a10[_0x488ceb([0x6f,0x6e])](_0x488ceb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19e7e0=>{_0x5406cb(_0x19e7e0[_0x488ceb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc4fad0=!0x0,_0x126646(_0x19e7e0[_0x488ceb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x488ceb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x488ceb([0x6c,0x6f,0x77])}),_0x45c818[_0x488ceb([0x74,0x68,0x65,0x6e])](()=>{_0xc4fad0||_0x13351e(_0x488ceb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x175e0e(){return _0x180a10[_0x488ceb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x488ceb([0x76,0x69,0x65,0x77])][_0x488ceb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x488ceb([0x61,0x75,0x74,0x6f]);}function _0x516066(){_0x180a10[_0x488ceb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x488ceb([0x76,0x69,0x65,0x77])][_0x488ceb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x488ceb([0x61,0x75,0x74,0x6f]);}}function _0x148620(_0x2f4d44){const _0x3e64d2=[new window[(_0x488ceb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ff8ad=>setTimeout(_0x4ff8ad,0x5356b2f6^_0x3371ca)),_0x45c818[_0x488ceb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x488ceb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23edd3=>{let _0xf17ee6=0x0;_0x180a10[_0x488ceb([0x6d,0x6f,0x64,0x65,0x6c])][_0x488ceb([0x6f,0x6e])](_0x488ceb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x37f6d5,_0x127584)=>{_0x127584[0x0][_0x488ceb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf17ee6++,_0xf17ee6==(0x535f8dc2^_0x3371ca)&&(_0x23edd3(),_0x37f6d5[_0x488ceb([0x6f,0x66,0x66])]());});}))];return window[_0x488ceb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x488ceb([0x72,0x61,0x63,0x65])](_0x3e64d2)[_0x488ceb([0x74,0x68,0x65,0x6e])](()=>_0x2f4d44);}async function _0x1b3459(){await _0x45c818,_0x180a10[_0x488ceb([0x6d,0x6f,0x64,0x65,0x6c])][_0x488ceb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x49f617,_0x180a10[_0x488ceb([0x6d,0x6f,0x64,0x65,0x6c])][_0x488ceb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x49f617,_0x180a10[_0x488ceb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x488ceb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19319d(_0x453377){const _0x5238d6=_0x4fc5de();_0x180a10[_0x5238d6]=_0x488ceb([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x453377,_0x453377!=_0x488ceb([0x56,0x61,0x6c,0x69,0x64])&&_0x1b3459();}function _0x4fc5de(){const _0x31f310=window[_0x488ceb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x488ceb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x488ceb([0x6e,0x6f,0x77])]())[_0x488ceb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x488ceb([0x2e]),'');let _0x1c1282=_0x488ceb([0x68]);for(let _0x15348e=0x0;_0x15348e<_0x31f310[_0x488ceb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15348e+=0x2){let _0x4bca53=window[_0x488ceb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31f310[_0x488ceb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15348e,_0x15348e+0x2));_0x4bca53>=_0x382a4b[_0x488ceb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4bca53-=_0x382a4b[_0x488ceb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c1282+=_0x382a4b[_0x4bca53];}return _0x1c1282;}function _0x3fc454(){const _0x502e04=_0x506dec[_0x488ceb([0x73,0x70,0x6c,0x69,0x74])](_0x488ceb([0x2e]));if(0x3!=_0x502e04[_0x488ceb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x461825(_0x502e04[0x1]);function _0x461825(_0x3758f9){const _0x353fbf=_0x5c63a1(_0x3758f9);return _0x353fbf&&_0x3f319d()?_0x353fbf:null;function _0x3f319d(){const _0x3a3f28=_0x353fbf[_0x488ceb([0x6a,0x74,0x69])],_0x3ecb90=window[_0x488ceb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a3f28[_0x488ceb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a3f28[_0x488ceb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x270224={..._0x353fbf,[_0x488ceb([0x6a,0x74,0x69])]:_0x3a3f28[_0x488ceb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3a3f28[_0x488ceb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x270224[_0x488ceb([0x76,0x63])],_0x9c1b76(_0x270224)==_0x3ecb90;}}}async function _0x432918(){let _0x3e6576=!0x0;try{const _0x1f39ef=_0x506dec[_0x488ceb([0x73,0x70,0x6c,0x69,0x74])](_0x488ceb([0x2e])),[_0x40bf7b,_0x37a184,_0x2968ab]=_0x1f39ef;return _0x3cd551(_0x40bf7b),await _0x561d79(_0x40bf7b,_0x37a184,_0x2968ab),_0x3e6576;}catch{return!0x1;}function _0x3cd551(_0x198b6b){const _0xde1179=_0x5c63a1(_0x198b6b);_0xde1179&&_0xde1179[_0x488ceb([0x61,0x6c,0x67])]==_0x488ceb([0x45,0x53,0x32,0x35,0x36])||(_0x3e6576=!0x1);}async function _0x561d79(_0x11a8e1,_0x5a5e05,_0x10acf1){const _0x9f5fa1=window[_0x488ceb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x488ceb([0x66,0x72,0x6f,0x6d])](_0x50c95c(_0x10acf1),_0x4fccd7=>_0x4fccd7[_0x488ceb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x256404=new window[(_0x488ceb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x488ceb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11a8e1+_0x488ceb([0x2e])+_0x5a5e05),_0x1289e0=window[_0x488ceb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x488ceb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1289e0)return;const _0x339eeb=await _0x1289e0[_0x488ceb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x488ceb([0x6a,0x77,0x6b]),_0x2b0ce1,{[_0x488ceb([0x6e,0x61,0x6d,0x65])]:_0x488ceb([0x45,0x43,0x44,0x53,0x41]),[_0x488ceb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x488ceb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x488ceb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1289e0[_0x488ceb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x488ceb([0x6e,0x61,0x6d,0x65])]:_0x488ceb([0x45,0x43,0x44,0x53,0x41]),[_0x488ceb([0x68,0x61,0x73,0x68])]:{[_0x488ceb([0x6e,0x61,0x6d,0x65])]:_0x488ceb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x339eeb,_0x9f5fa1,_0x256404)||(_0x3e6576=!0x1);}}function _0x5c63a1(_0x1ad01c){return _0x1ad01c[_0x488ceb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x488ceb([0x65,0x79]))?JSON[_0x488ceb([0x70,0x61,0x72,0x73,0x65])](_0x50c95c(_0x1ad01c)):null;}function _0x50c95c(_0x565fce){return window[_0x488ceb([0x61,0x74,0x6f,0x62])](_0x565fce[_0x488ceb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x488ceb([0x2b]))[_0x488ceb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x488ceb([0x2f])));}function _0x9c1b76(_0x44b544){let _0x4cd5c8=0x1505;function _0x34ddf7(_0xbf1913){for(let _0xd69cd=0x0;_0xd69cd<_0xbf1913[_0x488ceb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd69cd++){const _0x2e2ad6=_0xbf1913[_0x488ceb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd69cd);_0x4cd5c8=(_0x4cd5c8<<0x5)+_0x4cd5c8+_0x2e2ad6,_0x4cd5c8&=_0x4cd5c8;}}function _0x5042ca(_0x6b01c9){Array[_0x488ceb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6b01c9)?_0x6b01c9[_0x488ceb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5042ca):_0x6b01c9&&typeof _0x6b01c9==_0x488ceb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x488ceb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6b01c9)[_0x488ceb([0x73,0x6f,0x72,0x74])]()[_0x488ceb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5df11b,_0x2fe904])=>{_0x34ddf7(_0x5df11b),_0x5042ca(_0x2fe904);}):_0x34ddf7(window[_0x488ceb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6b01c9));}return _0x5042ca(_0x44b544),_0x4cd5c8>>>0x0;}function _0x24a78b(_0x5b5934){return _0x5b5934[_0x488ceb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x488ceb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x488ceb([0x30]));}function _0x52bda5(_0x173d46){return _0x173d46[_0x488ceb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x488ceb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x488ceb([0x6a,0x6f,0x69,0x6e])]('');}function _0x49f617(){}function _0x488ceb(_0x57a1e5){return _0x57a1e5['map'](_0x41a78a=>String['fromCharCode'](_0x41a78a))['join']('');}_0x19319d(await _0x37694a());}(this);}['_initSchema'](){const _0x4d2c99=this['editor']['model']['schema'];_0x4d2c99['isRegistered']('imageBlock')&&_0x4d2c99['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4d2c99['isRegistered']('imageInline')&&_0x4d2c99['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2ac166=this['editor'];_0x2ac166['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2ac166['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x9d75ba=>_0x9d75ba['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xd68d3d=_0x2ac166['commands']['get']('replaceImageSource');_0xd68d3d&&this['listenTo'](_0xd68d3d,'cleanupImage',(_0x378886,[_0x17ac60,_0x507c65])=>{_0x17ac60['removeAttribute']('uploadcareImageId',_0x507c65);});}['_initConfig'](){const _0x591680=this['editor']['config']['get']('uploadcare.uploader')||{},_0xfab20b=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1d236f(_0x48470a['document'],'uc-config',{..._0x591680,'pubkey':_0xfab20b,'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']=_0x523558=>{if('closeMax'==_0x523558)return'#uc-icon-arrow-down';},_0x48470a['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1d236f(_0x48470a['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x48470a['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1bf9c7=this['editor']['commands']['get']('insertImage');_0x1bf9c7&&this['listenTo'](_0x1bf9c7,'execute',()=>{const _0x3b60c1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3b60c1&&_0x3b60c1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3b60c1);});});const _0x121fae=this['editor']['commands']['get']('uploadcareImageReplace');_0x121fae&&this['listenTo'](_0x121fae,'execute',()=>{const _0x641809=this['editor']['model']['document']['selection']['getSelectedElement']();_0x641809&&_0x641809['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x641809);});});}}class tt extends _0x3628de{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x511bab){super(_0x511bab),_0x511bab['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4d63ba['defineComponents'](_0x4d63ba),this['_defineLocale']();}['_defineLocale'](){const _0x35081d=this['editor']['config']['get']('uploadcare.locale'),_0x2bd3ce=this['editor']['locale']['contentLanguage'];_0x35081d&&_0x4d63ba['defineLocale'](_0x2bd3ce,_0x35081d);}}class ii extends _0x3e6592{constructor(_0x352644){super(_0x352644);const t=_0x352644['t'],_0x3c9444=this['bindTemplate'],_0x4e68c6=new _0x13b698();_0x4e68c6['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':[_0x4e68c6,{'text':_0x3c9444['to']('imageUploadProgress',_0x20dcc2=>t('Loading\x20image...')+'\x20('+(_0x20dcc2||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 _0x3e6592{constructor(_0x43c96a){super(_0x43c96a);const t=_0x43c96a['t'];this['set']('errorType',null);const _0x415d39=new _0x126a15(_0x43c96a);_0x415d39['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x415d39['withText']=!0x0,_0x415d39['class']='ck-button-action',_0x415d39['on']('execute',()=>{this['fire']('retry');}),_0x415d39['bind']('isVisible')['to'](this,'errorType',_0x24bb4c=>'NotFound'!==_0x24bb4c);const _0x41b557=new _0x33c19a();_0x41b557['content']=_0x3b8cdb,_0x41b557['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3de148=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':[_0x41b557,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3de148['to']('errorType',_0x273b5d=>t('NotFound'!==_0x273b5d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x415d39]},{'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 _0x3e6592{constructor(_0x1bef2a,_0x3c3975){super(_0x1bef2a);const _0x31d6e7=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3c3975,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x31d6e7['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5acadf,_0x3c0c92,_0x21903a){super(_0x5acadf),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5acadf),this['_errorView']=new ti(_0x5acadf),this['_editingView']=new ei(_0x5acadf,_0x21903a),this['_focusableView']=new _0x3e6592(_0x5acadf),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3c0c92),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'],_0x84f2d1=>{this['_addUploadcareImageEditorListeners'](_0x84f2d1);});}),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'](_0x43e558,_0x260f53){const _0x410e4b='uc-cloud-image-editor',_0x2a124a=_0x43e558['querySelector'](_0x410e4b);if(_0x2a124a)return _0x260f53(_0x2a124a);const _0x599266=new MutationObserver(_0x4a52b=>{const _0x3f3e58=_0x4a52b['filter'](_0xedac9=>_0xedac9['target']===_0x43e558&&_0xedac9['addedNodes']['length']>0x0&&_0xedac9['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x410e4b);_0x3f3e58['length']&&(_0x599266['disconnect'](),_0x260f53(_0x3f3e58[0x0]['addedNodes'][0x0]));});_0x599266['observe'](_0x43e558,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xb1e74d){_0xb1e74d['addEventListener']('apply',_0x47c387=>{this['fire']('apply',{'imageSrc':_0x47c387['detail']['cdnUrl']});}),_0xb1e74d['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x84acfd(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1c1de1,_0x52b778,_0x169513){super(),this['_editor']=_0x1c1de1,this['_dialog']=_0x52b778,this['_imageElement']=_0x169513,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 _0x24b6c0=this['_imageElement'],_0x10bb50=_0x24b6c0['getAttribute']('uploadcareImageId'),_0x4222f8=_0x24b6c0['getAttribute']('src');if(_0x10bb50)await this['_loadImageInfo'](_0x10bb50,_0x4222f8);else{if(this['_imageCache']['has'](_0x4222f8)){const _0x54aace=this['_imageCache']['get'](_0x4222f8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x54aace['url'],this['imageDimension']=_0x54aace['dimension'],this['imageId']=_0x54aace['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x244d16}=this['_editor'],t=_0x244d16['t'],_0x19dcc1=new X(_0x244d16,this['imageStatus'],this['_attributes']);_0x19dcc1['bind']('status')['to'](this,'imageStatus'),_0x19dcc1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x19dcc1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x19dcc1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x19dcc1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x36eeea,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x19dcc1,'position':_0x11c100['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x19dcc1['focus']();},'onHide':()=>{_0x19dcc1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x221a59=>!A(_0x221a59,_0x19dcc1['element'])}});}['_loadImageInfo'](_0xa1d261,_0x5a57a2){return j['getInfo'](_0xa1d261,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x18fb9e=>{const {width:_0x1381ea,height:_0x4c65ec}=_0x18fb9e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a57a2,this['imageDimension']={'width':_0x1381ea,'height':_0x4c65ec},this['imageId']=_0xa1d261;})['catch'](_0xc9806e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xc9806e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3fb5cc,_0x5c2f93){return this['_getImageAsFile'](_0x3fb5cc)['then'](_0x5e2f5f=>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':_0x5c2f93['signal'],'file':_0x5e2f5f,'onProgress':_0x31655b=>{_0x31655b&&_0x31655b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x31655b['value']));}}))['then'](_0x10fa02=>{const {width:_0x47e5c2,height:_0x42c527}=_0x10fa02['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10fa02['cdnUrl'],this['imageDimension']={'width':_0x47e5c2,'height':_0x42c527},this['imageId']=_0x10fa02['uuid'],this['imageUploadProgress']=null;const _0xd2895a=_0x3fb5cc['getAttribute']('src');this['_imageCache']['set'](_0xd2895a,{'id':_0x10fa02['uuid'],'url':_0x10fa02['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x337978=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x337978['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1a501d,_0x2c2604){_0x1a501d['on']('apply',(_0x531243,_0xe7d140)=>{this['_replaceImage'](_0x2c2604,_0xe7d140['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1a501d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1a501d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3a58e2,_0x13119e,_0x1e8e80){const _0xf72cba=this['_editor'],{width:_0x21b1df,height:_0x282e89}=S(_0x13119e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x434a85,imageSources:_0x133e1c}=C(_0x13119e,_0x21b1df);_0xf72cba['model']['change'](_0x5d1a77=>{if('$graveyard'===_0x3a58e2['root']['rootName']){_0xf72cba['execute']('insertImage',{'imageType':_0x3a58e2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3a58e2['getAttributes']()),'uploadcareImageId':_0x1e8e80,'src':_0x434a85,'sources':_0x133e1c,'width':_0x21b1df,'height':_0x282e89}});const _0x21b10f=_0x3a58e2['getChildren']();_0x3a58e2=_0xf72cba['model']['document']['selection']['getSelectedElement']();for(const _0x2010b2 of _0x21b10f)_0x5d1a77['append'](_0x5d1a77['cloneElement'](_0x2010b2),_0x3a58e2);}else _0x5d1a77['setSelection'](_0x3a58e2,'on'),_0xf72cba['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3a58e2['getAttributes']()),'uploadcareImageId':_0x1e8e80,'src':_0x434a85,'sources':_0x133e1c,'width':_0x21b1df,'height':_0x282e89},_0x3a58e2);_0x5d1a77['setSelection'](_0x3a58e2,'on');});}async['_getImageAsFile'](_0x59cae2){const _0x272efe=_0x48470a['window'],_0x3f64e4=_0x48470a['document']['location']['href'],_0x50022a=new _0x272efe['URL'](_0x59cae2['getAttribute']('src'),_0x3f64e4);if('data:'===_0x50022a['protocol']){const _0xa7347e=_0x50022a['href']['split'](','),_0xbb0dd0=_0xa7347e[0x0]['match'](/:(.*?);/)[0x1],_0x2b1dfc=_0xbb0dd0['split']('/')[0x1],_0x3bfb96=_0x272efe['atob'](_0xa7347e[_0xa7347e['length']-0x1]);let _0x25087b=_0x3bfb96['length'];const _0x529381=new _0x272efe['Uint8Array'](_0x25087b);for(;_0x25087b--;)_0x529381[_0x25087b]=_0x3bfb96['charCodeAt'](_0x25087b);return new _0x272efe['File']([_0x529381],'image.'+_0x2b1dfc,{'type':_0xbb0dd0});}const _0x561581=_0x50022a['href']['split']('/'),_0x281a6c=_0x561581[_0x561581['length']-0x1],_0xe230a8=_0x281a6c['split']('.')[0x1];return _0x272efe['fetch'](_0x50022a['href'])['then'](_0x41e36a=>_0x41e36a['clone']()['blob']())['then'](_0x1fcc9a=>new _0x272efe['File']([_0x1fcc9a],_0x281a6c,{'type':'image/'+_0xe230a8}));}}class Q extends _0x3931bd{['imageEditController'];static get['requires'](){return[_0x31a4f4];}['_isEditable'];constructor(_0x48babd){super(_0x48babd),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x626458){const _0x4d8c72=z(_0x626458);return _0x5b7077=>!(!_0x5b7077||!_0x5b7077['is']('element','imageBlock')&&!_0x5b7077['is']('element','imageInline'))&&(!!_0x5b7077['hasAttribute']('uploadcareImageId')||!!_0x5b7077['hasAttribute']('src')&&_0x4d8c72(_0x5b7077['getAttribute']('src')));}(_0x48babd['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x271c9c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x271c9c);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x151be4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x151be4&&(_0x151be4['is']('element','imageBlock')||_0x151be4['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x31a4f4),_0x151be4),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x3931bd{['refresh'](){const _0x2bff97=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2bff97&&(_0x2bff97['is']('element','imageBlock')||_0x2bff97['is']('element','imageInline')));}['execute'](_0x9e2ea1){const _0x2bedc3=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x14b30e=>{_0x14b30e['setAttributes'](_0x9e2ea1,_0x2bedc3),_0x14b30e['removeAttribute']('srcset',_0x2bedc3),_0x14b30e['removeAttribute']('sizes',_0x2bedc3);});}}class m extends _0x3628de{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x5ccb66,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x55e3cd}=this;_0x55e3cd['commands']['add']('uploadcareImageEdit',new Q(_0x55e3cd)),_0x55e3cd['commands']['add']('uploadcareImageReplace',new V(_0x55e3cd));}}class g extends _0x3628de{['_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 _0x1957f8=this['editor'];_0x1957f8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x27dea9=>{const _0x6b5487=_0x1957f8['commands']['get']('uploadcareImageEdit'),_0x4b77c1=new _0x126a15(_0x27dea9),t=_0x27dea9['t'];return _0x4b77c1['set']({'icon':_0x36eeea,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4b77c1['bind']('isEnabled')['to'](_0x6b5487),_0x4b77c1['bind']('isOn')['to'](_0x6b5487,'isActive'),this['listenTo'](_0x4b77c1,'execute',()=>{_0x1957f8['execute']('uploadcareImageEdit'),_0x1957f8['editing']['view']['focus']();}),_0x4b77c1;}),this['_initConfig']();}['_initConfig'](){const _0x4857cc=_0x1d236f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4857cc),this['listenTo'](this['editor'],'destroy',()=>{_0x4857cc['remove']();});}}class et extends _0x3628de{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};
@@ -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':_0x17a0e2=>0x1!=_0x17a0e2}};
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':_0x2f8221=>0x1!=_0x2f8221}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4ee85c=>{const {af:{dictionary:_0x1f33b4,getPluralForm:_0x487d02}}={'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':_0x232613=>0x1!=_0x232613}};_0x4ee85c['af']||={'dictionary':{},'getPluralForm':null},_0x4ee85c['af']['dictionary']=Object['assign'](_0x4ee85c['af']['dictionary'],_0x1f33b4),_0x4ee85c['af']['getPluralForm']=_0x487d02;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4630ac=>{const {af:{dictionary:_0x2f7c55,getPluralForm:_0x1afdd5}}={'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':_0x45353f=>0x1!=_0x45353f}};_0x4630ac['af']||={'dictionary':{},'getPluralForm':null},_0x4630ac['af']['dictionary']=Object['assign'](_0x4630ac['af']['dictionary'],_0x2f7c55),_0x4630ac['af']['getPluralForm']=_0x1afdd5;})(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':_0xa93593=>0x0==_0xa93593?0x0:0x1==_0xa93593?0x1:0x2==_0xa93593?0x2:_0xa93593%0x64>=0x3&&_0xa93593%0x64<=0xa?0x3:_0xa93593%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':_0xcd30d0=>0x0==_0xcd30d0?0x0:0x1==_0xcd30d0?0x1:0x2==_0xcd30d0?0x2:_0xcd30d0%0x64>=0x3&&_0xcd30d0%0x64<=0xa?0x3:_0xcd30d0%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3a3b16=>{const {ar:{dictionary:_0x10a875,getPluralForm:_0x2e943c}}={'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':_0x59953a=>0x0==_0x59953a?0x0:0x1==_0x59953a?0x1:0x2==_0x59953a?0x2:_0x59953a%0x64>=0x3&&_0x59953a%0x64<=0xa?0x3:_0x59953a%0x64>=0xb?0x4:0x5}};_0x3a3b16['ar']||={'dictionary':{},'getPluralForm':null},_0x3a3b16['ar']['dictionary']=Object['assign'](_0x3a3b16['ar']['dictionary'],_0x10a875),_0x3a3b16['ar']['getPluralForm']=_0x2e943c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xb5eddb=>{const {ar:{dictionary:_0x4eaab5,getPluralForm:_0xf1b748}}={'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':_0x2eae1f=>0x0==_0x2eae1f?0x0:0x1==_0x2eae1f?0x1:0x2==_0x2eae1f?0x2:_0x2eae1f%0x64>=0x3&&_0x2eae1f%0x64<=0xa?0x3:_0x2eae1f%0x64>=0xb?0x4:0x5}};_0xb5eddb['ar']||={'dictionary':{},'getPluralForm':null},_0xb5eddb['ar']['dictionary']=Object['assign'](_0xb5eddb['ar']['dictionary'],_0x4eaab5),_0xb5eddb['ar']['getPluralForm']=_0xf1b748;})(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':_0x528739=>0x1!=_0x528739}};
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':_0xa704e7=>0x1!=_0xa704e7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2d2cc1=>{const {ast:{dictionary:_0x2597d7,getPluralForm:_0xecbe84}}={'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':_0x3e2136=>0x1!=_0x3e2136}};_0x2d2cc1['ast']||={'dictionary':{},'getPluralForm':null},_0x2d2cc1['ast']['dictionary']=Object['assign'](_0x2d2cc1['ast']['dictionary'],_0x2597d7),_0x2d2cc1['ast']['getPluralForm']=_0xecbe84;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3d0b7a=>{const {ast:{dictionary:_0x30d5d4,getPluralForm:_0x2cda76}}={'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':_0x167f21=>0x1!=_0x167f21}};_0x3d0b7a['ast']||={'dictionary':{},'getPluralForm':null},_0x3d0b7a['ast']['dictionary']=Object['assign'](_0x3d0b7a['ast']['dictionary'],_0x30d5d4),_0x3d0b7a['ast']['getPluralForm']=_0x2cda76;})(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':_0x4486d6=>0x1!=_0x4486d6}};
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':_0x140f1a=>0x1!=_0x140f1a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x180132=>{const {az:{dictionary:_0x26a1d2,getPluralForm:_0x2bd920}}={'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':_0x459f03=>0x1!=_0x459f03}};_0x180132['az']||={'dictionary':{},'getPluralForm':null},_0x180132['az']['dictionary']=Object['assign'](_0x180132['az']['dictionary'],_0x26a1d2),_0x180132['az']['getPluralForm']=_0x2bd920;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x12efaa=>{const {az:{dictionary:_0x180cc2,getPluralForm:_0x49823d}}={'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':_0x2595ca=>0x1!=_0x2595ca}};_0x12efaa['az']||={'dictionary':{},'getPluralForm':null},_0x12efaa['az']['dictionary']=Object['assign'](_0x12efaa['az']['dictionary'],_0x180cc2),_0x12efaa['az']['getPluralForm']=_0x49823d;})(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':_0x3c15f8=>_0x3c15f8%0xa==0x1&&_0x3c15f8%0x64!=0xb?0x0:_0x3c15f8%0xa>=0x2&&_0x3c15f8%0xa<=0x4&&(_0x3c15f8%0x64<0xa||_0x3c15f8%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':_0x4ea23d=>_0x4ea23d%0xa==0x1&&_0x4ea23d%0x64!=0xb?0x0:_0x4ea23d%0xa>=0x2&&_0x4ea23d%0xa<=0x4&&(_0x4ea23d%0x64<0xa||_0x4ea23d%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1da3c7=>{const {be:{dictionary:_0x5901b2,getPluralForm:_0x4b21ea}}={'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':_0x1a9fb2=>_0x1a9fb2%0xa==0x1&&_0x1a9fb2%0x64!=0xb?0x0:_0x1a9fb2%0xa>=0x2&&_0x1a9fb2%0xa<=0x4&&(_0x1a9fb2%0x64<0xa||_0x1a9fb2%0x64>=0x14)?0x1:0x2}};_0x1da3c7['be']||={'dictionary':{},'getPluralForm':null},_0x1da3c7['be']['dictionary']=Object['assign'](_0x1da3c7['be']['dictionary'],_0x5901b2),_0x1da3c7['be']['getPluralForm']=_0x4b21ea;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x587cda=>{const {be:{dictionary:_0x1ac9b5,getPluralForm:_0x121ba3}}={'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':_0x5f8a47=>_0x5f8a47%0xa==0x1&&_0x5f8a47%0x64!=0xb?0x0:_0x5f8a47%0xa>=0x2&&_0x5f8a47%0xa<=0x4&&(_0x5f8a47%0x64<0xa||_0x5f8a47%0x64>=0x14)?0x1:0x2}};_0x587cda['be']||={'dictionary':{},'getPluralForm':null},_0x587cda['be']['dictionary']=Object['assign'](_0x587cda['be']['dictionary'],_0x1ac9b5),_0x587cda['be']['getPluralForm']=_0x121ba3;})(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':_0x3d5b2d=>0x1!=_0x3d5b2d}};
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':_0x1b8d35=>0x1!=_0x1b8d35}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5ae7e1=>{const {bg:{dictionary:_0x1b9eea,getPluralForm:_0x56806d}}={'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':_0x43ae89=>0x1!=_0x43ae89}};_0x5ae7e1['bg']||={'dictionary':{},'getPluralForm':null},_0x5ae7e1['bg']['dictionary']=Object['assign'](_0x5ae7e1['bg']['dictionary'],_0x1b9eea),_0x5ae7e1['bg']['getPluralForm']=_0x56806d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x36abbb=>{const {bg:{dictionary:_0x433dcf,getPluralForm:_0x39da99}}={'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':_0x38c3d4=>0x1!=_0x38c3d4}};_0x36abbb['bg']||={'dictionary':{},'getPluralForm':null},_0x36abbb['bg']['dictionary']=Object['assign'](_0x36abbb['bg']['dictionary'],_0x433dcf),_0x36abbb['bg']['getPluralForm']=_0x39da99;})(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':_0x56acf2=>0x1!=_0x56acf2}};
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':_0x288519=>0x1!=_0x288519}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x570103=>{const {bn:{dictionary:_0x18c0c8,getPluralForm:_0x439a6f}}={'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':_0x2017a3=>0x1!=_0x2017a3}};_0x570103['bn']||={'dictionary':{},'getPluralForm':null},_0x570103['bn']['dictionary']=Object['assign'](_0x570103['bn']['dictionary'],_0x18c0c8),_0x570103['bn']['getPluralForm']=_0x439a6f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1c8365=>{const {bn:{dictionary:_0x3a43ae,getPluralForm:_0x20921d}}={'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':_0x239596=>0x1!=_0x239596}};_0x1c8365['bn']||={'dictionary':{},'getPluralForm':null},_0x1c8365['bn']['dictionary']=Object['assign'](_0x1c8365['bn']['dictionary'],_0x3a43ae),_0x1c8365['bn']['getPluralForm']=_0x20921d;})(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':_0x4326cd=>_0x4326cd%0xa==0x1&&_0x4326cd%0x64!=0xb?0x0:_0x4326cd%0xa>=0x2&&_0x4326cd%0xa<=0x4&&(_0x4326cd%0x64<0xa||_0x4326cd%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':_0x36e7da=>_0x36e7da%0xa==0x1&&_0x36e7da%0x64!=0xb?0x0:_0x36e7da%0xa>=0x2&&_0x36e7da%0xa<=0x4&&(_0x36e7da%0x64<0xa||_0x36e7da%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1e05d0=>{const {bs:{dictionary:_0x146f4f,getPluralForm:_0x156748}}={'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':_0x2c7fda=>_0x2c7fda%0xa==0x1&&_0x2c7fda%0x64!=0xb?0x0:_0x2c7fda%0xa>=0x2&&_0x2c7fda%0xa<=0x4&&(_0x2c7fda%0x64<0xa||_0x2c7fda%0x64>=0x14)?0x1:0x2}};_0x1e05d0['bs']||={'dictionary':{},'getPluralForm':null},_0x1e05d0['bs']['dictionary']=Object['assign'](_0x1e05d0['bs']['dictionary'],_0x146f4f),_0x1e05d0['bs']['getPluralForm']=_0x156748;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x10ac11=>{const {bs:{dictionary:_0x2fbd52,getPluralForm:_0x273d93}}={'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':_0x399f8=>_0x399f8%0xa==0x1&&_0x399f8%0x64!=0xb?0x0:_0x399f8%0xa>=0x2&&_0x399f8%0xa<=0x4&&(_0x399f8%0x64<0xa||_0x399f8%0x64>=0x14)?0x1:0x2}};_0x10ac11['bs']||={'dictionary':{},'getPluralForm':null},_0x10ac11['bs']['dictionary']=Object['assign'](_0x10ac11['bs']['dictionary'],_0x2fbd52),_0x10ac11['bs']['getPluralForm']=_0x273d93;})(window['CKEDITOR_TRANSLATIONS']||={});