@ckeditor/ckeditor5-uploadcare 45.2.1-alpha.4 → 45.2.1-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x83f380,Command as _0x284ce4}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x24ebb6,IconGooglePhotos as _0x4a803e,IconGoogleDrive as _0x45bf31,IconFacebook as _0x46f917,IconDropbox as _0x1a6a2,IconUploadcareLink as _0x766550,IconUploadcareImageUpload as _0x567a2a,IconError as et,IconUploadcareImageEdit as _0x4fbabd}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x9b1d43,MenuBarMenuListItemButtonView as _0x3517e8,View as _0x33a16c,FocusCycler as _0x1255d5,Dialog as _0x3085c1,DialogViewPosition as _0x3b5578,SpinnerView as _0x431700,IconView as at,Notification as _0x3e8221}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x142e2c,DomEmitterMixin as _0x1f5d80,global as _0x320a56,getAncestors as _0x39cfb9,ObservableMixin as _0x31e656,createElement as _0x40596b,uid as _0x12184a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x41a768}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3c5c7f,info as _0x395983}from'@uploadcare/upload-client';import*as _0x1ea6bb from'@uploadcare/file-uploader';var o=function(_0xf0acca){return _0xf0acca['Local']='local',_0xf0acca['URL']='url',_0xf0acca['Dropbox']='dropbox',_0xf0acca['GDrive']='gdrive',_0xf0acca['Facebook']='facebook',_0xf0acca['GPhotos']='gphotos',_0xf0acca['OneDrive']='onedrive',_0xf0acca;}({});function _(_0x249523,_0x701a29,_0x3a4b6f){const t=_0x249523['t'],_0x375656=_0x249523['t'];switch(_0x701a29){case o['Local']:return{'text':_0x375656('Insert'===_0x3a4b6f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x375656('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x3a4b6f?_0x375656('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x375656('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x3a4b6f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x3a4b6f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x3a4b6f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x3a4b6f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x3a4b6f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x701a29;}}class e extends _0x83f380{['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 _0x59cbc6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ec0df;for(const _0x100b75 in _0x59cbc6){const _0xbe1e2e=_0x100b75,_0x5d19c8=_0x59cbc6[_0xbe1e2e];if('uploadcareLicenseKeyValid'==_0x5d19c8||'uploadcareLicenseKeyInvalid'==_0x5d19c8||'uploadcareLicenseKeyExpired'==_0x5d19c8||'uploadcareLicenseKeyDomainLimit'==_0x5d19c8||'uploadcareLicenseKeyNotAllowed'==_0x5d19c8||'uploadcareLicenseKeyEvaluationLimit'==_0x5d19c8||'uploadcareLicenseKeyTrialLimit'==_0x5d19c8||'uploadcareLicenseKeyUsageLimit'==_0x5d19c8){delete _0x59cbc6[_0xbe1e2e],_0x1ec0df=_0x5d19c8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1ec0df&&_0x59cbc6['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1ec0df&&_0x59cbc6['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1ec0df&&_0x59cbc6['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1ec0df&&_0x59cbc6['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1ec0df&&_0x59cbc6['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1ec0df&&_0x59cbc6['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1ec0df&&_0x59cbc6['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1edab7}=this,_0x2539d9=_0x1edab7['commands']['get']('uploadcare');if(!_0x2539d9)return;const _0x5b219c=this['_normalizeConfigSourceList'](_0x1edab7['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x34a0c2,_0x3088bf)=>{const _0x48bda9=this['_getIntegrationKey'](_0x3088bf['type']);return _0x34a0c2[_0x48bda9]||(_0x34a0c2[_0x48bda9]=[]),_0x34a0c2[_0x48bda9]['push'](_0x3088bf),_0x34a0c2;},{});_0x1edab7['plugins']['has']('ImageInsertUI')&&_0x1edab7['commands']['get']('uploadcare')&&Object['entries'](_0x5b219c)['forEach'](([_0x793460,_0x330a69])=>{_0x1edab7['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x793460,'observable':()=>_0x2539d9,'buttonViewCreator':()=>this['_createToolbarButton'](_0x330a69),'formViewCreator':()=>this['_createDropdownButtons'](_0x330a69),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x330a69),'override':'assetManager'!==_0x793460});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x293ca0){const {locale:_0xcdda4}=this['editor'];return _0x293ca0['map'](_0x3c4de7=>{const _0x41c3c9=_(_0xcdda4,_0x3c4de7,'Insert');switch(_0x3c4de7){case o['Local']:return{'icon':_0x567a2a,'type':o['Local'],..._0x41c3c9};case o['URL']:return{'icon':_0x766550,'type':o['URL'],..._0x41c3c9};case o['Dropbox']:return{'icon':_0x1a6a2,'type':o['Dropbox'],..._0x41c3c9};case o['Facebook']:return{'icon':_0x46f917,'type':o['Facebook'],..._0x41c3c9};case o['GDrive']:return{'icon':_0x45bf31,'type':o['GDrive'],..._0x41c3c9};case o['GPhotos']:return{'icon':_0x4a803e,'type':o['GPhotos'],..._0x41c3c9};case o['OneDrive']:return{'icon':_0x24ebb6,'type':o['OneDrive'],..._0x41c3c9};}});}['_getIntegrationKey'](_0x5e029e){switch(_0x5e029e){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x26c433,_0x5d1145){const _0x4c856c=this['editor'],_0x14e656=new _0x26c433(_0x4c856c['locale']),_0x2f1fb3=_0x4c856c['commands']['get']('uploadcare');return _0x14e656['bind']('isEnabled')['to'](_0x2f1fb3),_0x14e656['on']('execute',()=>{_0x2f1fb3['execute'](_0x5d1145);}),_0x14e656;}['_createToolbarButton'](_0x447011){const {locale:_0x5c53be}=this['editor'],_0x56fcb9=this['editor']['plugins']['get']('ImageInsertUI'),_0x5d0472=_0x447011[0x0],_0x2ea636=this['_createButton'](_0x9b1d43,_0x5d0472['type']);return _0x2ea636['icon']=_0x5d0472['icon'],_0x2ea636['bind']('label')['to'](_0x56fcb9,'isImageSelected',_0x832fa0=>_(_0x5c53be,_0x5d0472['type'],_0x832fa0?'Replace':'Insert')['text']),_0x2ea636['tooltip']=!0x0,_0x2ea636;}['_createDropdownButtons'](_0x53efe7){const {locale:_0x3ed98e}=this['editor'],_0x5a17d3=this['editor']['plugins']['get']('ImageInsertUI');return _0x53efe7['map'](_0x32cfa6=>{const _0x373f94=this['_createButton'](_0x9b1d43,_0x32cfa6['type']);return _0x373f94['withText']=!0x0,_0x373f94['icon']=_0x32cfa6['icon'],_0x373f94['bind']('label')['to'](_0x5a17d3,'isImageSelected',_0x137218=>_(_0x3ed98e,_0x32cfa6['type'],_0x137218?'Replace':'Insert')['text']),_0x373f94;});}['_createMenuBarButtons'](_0x1e8725){return _0x1e8725['map'](_0x1d1667=>{const _0x4ec332=this['_createButton'](_0x3517e8,_0x1d1667['type']);return _0x4ec332['icon']=_0x1d1667['icon'],_0x4ec332['label']=_0x1d1667['shortText'],_0x4ec332;});}}class q extends _0x33a16c{['focusTracker'];['focusCycler'];constructor(_0x4a6e93){super(_0x4a6e93),this['focusTracker']=new _0x142e2c(),this['focusCycler']=new _0x1255d5({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x17dc7b){super(_0x17dc7b),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x50414d,_0x10f784){const _0x43fe90=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x12659b=>_0x12659b<=_0x10f784)['map'](_0x1d55f3=>_0x50414d['replace'](/\/$/,'')+'/-/resize/'+_0x1d55f3+'x/\x20'+_0x1d55f3+'w');return{'imageFallbackUrl':_0x50414d,'imageSources':[{'srcset':_0x43fe90['join'](',\x20'),'sizes':'(max-width:\x20'+_0x10f784+'px)\x20100vw,\x20'+_0x10f784+'px','type':'image/webp'}]};}function A(_0x16cb2e,_0x3222be,_0x11a009){const _0x5ac207=_0x16cb2e['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5ac207?parseInt(_0x5ac207[0x1],0xa):_0x3222be,'height':_0x5ac207?parseInt(_0x5ac207[0x2],0xa):_0x11a009};}function m(_0x2d1ef9,_0xc15914){const _0x2f811a=Object['create'](_0x1f5d80),_0x190d8d=_0x2d1ef9['plugins']['get']('ImageUtils'),_0x3d4911=_0x2d1ef9['editing']['mapper']['toViewElement'](_0xc15914),_0xf7d9f=_0x190d8d['findViewImgElement'](_0x3d4911),_0x2eabfa=_0x2d1ef9['editing']['view']['domConverter']['viewToDom'](_0xf7d9f),_0xc5ad91=_0xc15914['getAttribute']('width'),_0x235eef=_0xc15914['getAttribute']('height'),_0x4bb4ce='image-processing';_0x2d1ef9['editing']['view']['change'](_0x4e6547=>{_0x4e6547['addClass'](_0x4bb4ce,_0x3d4911),_0x4e6547['setStyle']('aspect-ratio',_0xc5ad91+'/'+_0x235eef,_0xf7d9f);}),_0x2f811a['listenTo'](_0x2eabfa,'load',()=>{_0x2f811a['stopListening'](_0x2eabfa,'load'),_0x2d1ef9['editing']['view']['change'](_0x1e8e64=>{_0x1e8e64['removeClass'](_0x4bb4ce,_0x3d4911),_0x1e8e64['removeStyle']('aspect-ratio',_0xf7d9f);});});}function V(_0x2dd21b){if(Array['isArray'](_0x2dd21b)){const _0x13b675=_0x2dd21b['map'](V);return _0x458f19=>_0x13b675['some'](_0x200f01=>_0x200f01(_0x458f19));}if('origin'==_0x2dd21b){const _0x4c4ae5=_0x320a56['window']['location']['origin'];return _0x16cb64=>new URL(_0x16cb64,_0x320a56['document']['baseURI'])['origin']==_0x4c4ae5;}return'function'==typeof _0x2dd21b?_0x2dd21b:_0x2dd21b instanceof RegExp?_0x166e75=>!(!_0x166e75['match'](_0x2dd21b)&&!_0x166e75['replace'](/^https?:\/\//,'')['match'](_0x2dd21b)):()=>!0x1;}function F(_0x5a327e,_0x31dbe1){return _0x39cfb9(_0x5a327e['target'])['includes'](_0x31dbe1);}class l extends/* #__PURE__ -- @preserve */
24
- _0x31e656(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4c9898,_0x3574e1,_0x26a27d){super(),this['_editor']=_0x4c9898,this['_editing']=_0x3574e1,this['_dialog']=_0x4c9898['plugins']['get'](_0x3085c1),this['_api']=_0x3574e1['ctxElement']['getAPI'](),this['_type']=_0x26a27d,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:_0x207bfb,model:_0x1eda66}=this['_editor'],_0x7c440a=_0x1eda66['document']['selection']['getSelectedElement'](),_0x210ad2=_0x7c440a&&(_0x7c440a['is']('element','imageBlock')||_0x7c440a['is']('element','imageInline'));this['_formView']=new S(_0x207bfb),this['_dialog']['show']({'id':'uploadCare','icon':_0x567a2a,'title':_(_0x207bfb,this['_type'],_0x210ad2?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3b5578['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3d08a1=>!F(_0x3d08a1,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x57b8e4}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x715040=>{const _0x396e70=_0x57b8e4['length'];for(const _0x4fabe4 of _0x57b8e4){const _0x4ef295=_0x4fabe4===_0x57b8e4[_0x396e70-0x1],{cdnUrl:_0x3f3f57,fileInfo:_0x4407af}=_0x4fabe4;if(!_0x3f3f57||!_0x4407af)continue;const {width:_0x2917a1,height:_0x2bb5ef}=_0x4407af['imageInfo'],_0x3f4efc=A(_0x3f3f57,_0x2917a1,_0x2bb5ef),_0x276847=E(_0x3f3f57,_0x3f4efc['width']),_0x18bb78={'id':_0x4407af['uuid'],'type':'image','attributes':{'imageDimension':_0x3f4efc,..._0x276847}};this['_insertAsset'](_0x18bb78,_0x4ef295,_0x715040);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xe88d88=>{'idle'===_0xe88d88['detail']['status']&&!_0xe88d88['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1eba2f,_0x4b150f,_0x3b9b0b){const _0x1692a5=this['_editor']['model']['document']['selection'],_0x2605bc=_0x1692a5['getSelectedElement'](),_0x2a200b=!(!_0x2605bc||!_0x2605bc['is']('element','imageInline'));_0x3b9b0b['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1eba2f,_0x2a200b),_0x4b150f||_0x3b9b0b['setSelection'](_0x1692a5['getLastPosition']());}['_insertImage'](_0x19deb3,_0x32c099){const _0x5933b1=this['_editor'],{imageDimension:_0x83ee92,imageFallbackUrl:_0xf9a021,imageSources:_0x39b1ce}=_0x19deb3['attributes'];_0x5933b1['execute']('insertImage',{'imageType':_0x32c099?'imageInline':null,'source':{'uploadcareImageId':_0x19deb3['id'],'src':_0xf9a021,'sources':_0x39b1ce,..._0x83ee92}});}}class n extends _0x284ce4{['_editing'];['_controller']=null;static get['requires'](){return[_0x3085c1,i];}constructor(_0x522b56){super(_0x522b56),this['_editing']=_0x522b56['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1ca6e9){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x1ca6e9);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x5b08bd,publicKey:_0x1c1cd3,signal:_0x44f0a8,onProgress:_0x3878f8}){return _0x3c5c7f(_0x5b08bd,{'publicKey':_0x1c1cd3,'store':'auto','signal':_0x44f0a8,'onProgress':_0x3878f8});}static['getInfo'](_0x1fd471,_0x66b0f6){return _0x395983(_0x1fd471,_0x66b0f6);}}class p extends _0x83f380{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x41a768,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1e1e3b=this['editor'];if(!!!_0x1e1e3b['config']['get']('uploadcare'))return;_0x1e1e3b['plugins']['get'](_0x41a768)['createUploadAdapter']=_0x3dd037=>new x(_0x3dd037,_0x1e1e3b),_0x1e1e3b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5b0a9e,{imageElement:_0x3f12ea,data:_0x5942b9})=>{_0x1e1e3b['model']['change'](_0x376ed0=>{_0x376ed0['setAttribute']('uploadcareImageId',_0x5942b9['uploadcareImageId'],_0x3f12ea);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x5af5cc,_0x3ea5c1){this['loader']=_0x5af5cc,this['editor']=_0x3ea5c1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x187368=this['editor']['config']['get']('uploadcare.pubkey'),_0x23c34d=await this['loader']['file'];return C['upload']({'file':_0x23c34d,'publicKey':_0x187368,'signal':this['controller']['signal'],'onProgress':_0x16b820=>{_0x16b820&&_0x16b820['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x16b820['value']);}})['then'](async _0x57b347=>{const {imageFallbackUrl:_0x17febd,imageSources:_0x27796a}=E(_0x57b347['cdnUrl'],_0x57b347['imageInfo']['width']);return{'uploadcareImageId':_0x57b347['uuid'],'default':_0x17febd,'sources':_0x27796a};})['catch'](()=>{const _0x19d1e0=t('Cannot\x20upload\x20file:')+('\x20'+_0x23c34d['name']+'.');return Promise['reject'](_0x19d1e0);});}['abort'](){this['controller']['abort']();}}class i extends _0x83f380{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x3085c1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x131b58=this['editor'];_0x131b58['commands']['add']('uploadcare',new n(_0x131b58));}['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 _0x1def09=_0x320a56['document']['querySelector']('input[uploadcare-file-input]');_0x1def09&&_0x1def09['remove']();}),async function(_0x4d94de){const _0x550951=_0x2000f0([0x44,0x61,0x72,0x78,0x6a,0x4a,0x41,0x36,0x42,0x4f,0x30,0x49,0x55,0x74,0x67,0x65,0x77,0x51,0x38,0x63,0x35,0x56,0x52,0x4b,0x32,0x50,0x4c,0x54,0x70,0x7a,0x71,0x75,0x58,0x4d,0x46,0x6f,0x79,0x69,0x48,0x43,0x66,0x34,0x6c,0x76,0x57,0x39,0x6e,0x6b,0x73,0x59,0x5a,0x31,0x4e,0x53,0x45,0x6d,0x33,0x64,0x68,0x37,0x47,0x62]),_0x307d84=0x3c5472bd,_0x4f6047=0x3c5319bd^_0x307d84,_0x78593e=window[_0x2000f0([0x44,0x61,0x74,0x65])][_0x2000f0([0x6e,0x6f,0x77])](),_0x5b0a3e=_0x4d94de[_0x2000f0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd6c1ab=new window[(_0x2000f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x237d91=>{_0x5b0a3e[_0x2000f0([0x6f,0x6e,0x63,0x65])](_0x2000f0([0x72,0x65,0x61,0x64,0x79]),_0x237d91);}),_0x3221d1={[_0x2000f0([0x6b,0x74,0x79])]:_0x2000f0([0x45,0x43]),[_0x2000f0([0x75,0x73,0x65])]:_0x2000f0([0x73,0x69,0x67]),[_0x2000f0([0x63,0x72,0x76])]:_0x2000f0([0x50,0x2d,0x32,0x35,0x36]),[_0x2000f0([0x78])]:_0x2000f0([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]),[_0x2000f0([0x79])]:_0x2000f0([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]),[_0x2000f0([0x61,0x6c,0x67])]:_0x2000f0([0x45,0x53,0x32,0x35,0x36])},_0x13d7e3=_0x5b0a3e[_0x2000f0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2000f0([0x67,0x65,0x74])](_0x2000f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x58f002(){let _0x9a5bc,_0x104c77=null,_0x22dfc4=null;try{if(_0x13d7e3==_0x2000f0([0x47,0x50,0x4c]))return _0x2000f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9a5bc=_0x193f0b(),!_0x9a5bc)return _0x2000f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9a5bc[_0x2000f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x22dfc4=_0x39b761(_0x9a5bc[_0x2000f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9a5bc[_0x2000f0([0x6a,0x74,0x69])])),await _0x13eaf3()?_0x4505f9()?_0x183639()?_0x2000f0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x58b63e()?(_0x9a5bc[_0x2000f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2000f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x104c77=_0x2870d0(_0x2000f0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9a5bc[_0x2000f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2000f0([0x74,0x72,0x69,0x61,0x6c])&&(_0x104c77=_0x2870d0(_0x2000f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19ad5d()):_0x2000f0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2000f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2000f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2000f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x183639(){const _0x8a0bb1=[_0x2000f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2000f0([0x74,0x72,0x69,0x61,0x6c])][_0x2000f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9a5bc[_0x2000f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x78593e/0x3e8:0xe10*_0x4f6047;return _0x9a5bc[_0x2000f0([0x65,0x78,0x70])]<_0x8a0bb1;}function _0x4505f9(){const _0x8cce2d=_0x9a5bc[_0x2000f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x8cce2d&&(!!_0x8cce2d[_0x2000f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2000f0([0x2a]))||!!_0x8cce2d[_0x2000f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2000f0([0x55,0x50,0x4c,0x43])));}function _0x58b63e(){const _0x5073db=_0x9a5bc[_0x2000f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5073db||0x0==_0x5073db[_0x2000f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46c9fb}=new URL(window[_0x2000f0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5073db[_0x2000f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46c9fb))return!0x0;const _0x4851d0=_0x46c9fb[_0x2000f0([0x73,0x70,0x6c,0x69,0x74])](_0x2000f0([0x2e]));return _0x5073db[_0x2000f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2375c3=>_0x2375c3[_0x2000f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2000f0([0x2a])))[_0x2000f0([0x6d,0x61,0x70])](_0x4351ca=>_0x4351ca[_0x2000f0([0x73,0x70,0x6c,0x69,0x74])](_0x2000f0([0x2e])))[_0x2000f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x209654=>_0x209654[_0x2000f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4851d0[_0x2000f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2000f0([0x6d,0x61,0x70])](_0x39dbcc=>Array(_0x4851d0[_0x2000f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x39dbcc[_0x2000f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2000f0([0x66,0x69,0x6c,0x6c])](_0x39dbcc[0x0]===_0x2000f0([0x2a])?_0x2000f0([0x2a]):'')[_0x2000f0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x39dbcc))[_0x2000f0([0x73,0x6f,0x6d,0x65])](_0x27f602=>_0x4851d0[_0x2000f0([0x65,0x76,0x65,0x72,0x79])]((_0x534e99,_0x39111d)=>_0x27f602[_0x39111d]===_0x534e99||_0x27f602[_0x39111d]===_0x2000f0([0x2a])));}function _0x19ad5d(){return _0x104c77&&_0x22dfc4?new window[(_0x2000f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfa994b,_0x275262)=>{_0x104c77[_0x2000f0([0x74,0x68,0x65,0x6e])](_0xfa994b,_0x275262),_0x22dfc4[_0x2000f0([0x74,0x68,0x65,0x6e])](_0x5c9f16=>{_0x5c9f16!=_0x2000f0([0x56,0x61,0x6c,0x69,0x64])&&_0xfa994b(_0x5c9f16);},_0x275262);}):_0x104c77||_0x22dfc4||_0x2000f0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x39b761(_0x1198ea,_0x5d4c5d){return new window[(_0x2000f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45e59a=>{if(_0x5a6dc7())return _0x45e59a(_0x2000f0([0x56,0x61,0x6c,0x69,0x64]));_0x2ab5e0(),_0x5b0a3e[_0x2000f0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2000f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13c61c=!0x1;const _0x10cb35=_0x12184a();function _0x1d2aa0(_0x457114){return!!_0x457114&&(typeof _0x457114===_0x2000f0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x457114===_0x2000f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x457114[_0x2000f0([0x74,0x68,0x65,0x6e])]===_0x2000f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x457114[_0x2000f0([0x63,0x61,0x74,0x63,0x68])]===_0x2000f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x120d6a(_0x43ca60){_0x5e55c4(_0x43ca60)[_0x2000f0([0x74,0x68,0x65,0x6e])](_0x4c400a=>{if(!_0x4c400a||_0x4c400a[_0x2000f0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2000f0([0x6f,0x6b]))return _0x2000f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4b41c3(_0x35c195(_0x10cb35+_0x5d4c5d))!=_0x4c400a[_0x2000f0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2000f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2000f0([0x56,0x61,0x6c,0x69,0x64]);})[_0x2000f0([0x74,0x68,0x65,0x6e])](_0x34bab3=>(_0x212d01(),_0x34bab3),()=>{const _0x32b2c6=_0x4f6a29();return null==_0x32b2c6?(_0x212d01(),_0x2000f0([0x56,0x61,0x6c,0x69,0x64])):_0x2000f0(_0x78593e-_0x32b2c6>(0x1858f6bd^_0x307d84)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2000f0([0x74,0x68,0x65,0x6e])](_0x45e59a)[_0x2000f0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x45e59a(_0x2000f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2cc94f=0x3c629c3d^_0x307d84;function _0x212d01(){const _0x177459=_0x2000f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b41c3(_0x35c195(_0x1198ea)),_0x4f0ffb=_0x4857ac(_0x4b41c3(window[_0x2000f0([0x4d,0x61,0x74,0x68])][_0x2000f0([0x63,0x65,0x69,0x6c])](_0x78593e/_0x2cc94f)));window[_0x2000f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2000f0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x177459,_0x4f0ffb);}function _0x4f6a29(){const _0x55a4cb=_0x2000f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b41c3(_0x35c195(_0x1198ea)),_0x39a3bb=window[_0x2000f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2000f0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55a4cb);return _0x39a3bb?window[_0x2000f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4857ac(_0x39a3bb),0x10)*_0x2cc94f:null;}function _0x5e55c4(_0x39f49a){return new window[(_0x2000f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14d187,_0x2d793f)=>{_0x39f49a[_0x2000f0([0x74,0x68,0x65,0x6e])](_0x14d187,_0x2d793f),window[_0x2000f0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d793f,0x3c55a67d^_0x307d84);});}}_0x5b0a3e[_0x2000f0([0x6f,0x6e])](_0x2000f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x25100b,_0x5548a6)=>{if(_0x5548a6[0x0]!=_0x1198ea)return _0x45e59a(_0x2000f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5548a6[0x1]={..._0x5548a6[0x1],[_0x2000f0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10cb35};},{[_0x2000f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2000f0([0x68,0x69,0x67,0x68])}),_0x5b0a3e[_0x2000f0([0x6f,0x6e])](_0x2000f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x33695d=>{_0x1d2aa0(_0x33695d[_0x2000f0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13c61c=!0x0,_0x120d6a(_0x33695d[_0x2000f0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2000f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2000f0([0x6c,0x6f,0x77])}),_0xd6c1ab[_0x2000f0([0x74,0x68,0x65,0x6e])](()=>{_0x13c61c||_0x45e59a(_0x2000f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a6dc7(){return _0x5b0a3e[_0x2000f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2000f0([0x76,0x69,0x65,0x77])][_0x2000f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2000f0([0x61,0x75,0x74,0x6f]);}function _0x2ab5e0(){_0x5b0a3e[_0x2000f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2000f0([0x76,0x69,0x65,0x77])][_0x2000f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2000f0([0x61,0x75,0x74,0x6f]);}}function _0x2870d0(_0x3a0ac1){const _0x2bb0ae=[new window[(_0x2000f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9b6f2d=>setTimeout(_0x9b6f2d,0x3c5d4c71^_0x307d84)),_0xd6c1ab[_0x2000f0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2000f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5487b5=>{let _0x228e50=0x0;_0x5b0a3e[_0x2000f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2000f0([0x6f,0x6e])](_0x2000f0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39acc1,_0x2e2919)=>{_0x2e2919[0x0][_0x2000f0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x228e50++,_0x228e50==(0x3c547345^_0x307d84)&&(_0x5487b5(),_0x39acc1[_0x2000f0([0x6f,0x66,0x66])]());});}))];return window[_0x2000f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2000f0([0x72,0x61,0x63,0x65])](_0x2bb0ae)[_0x2000f0([0x74,0x68,0x65,0x6e])](()=>_0x3a0ac1);}async function _0x3a31d9(){await _0xd6c1ab,_0x5b0a3e[_0x2000f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2000f0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ee00f,_0x5b0a3e[_0x2000f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2000f0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ee00f,_0x5b0a3e[_0x2000f0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2000f0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x24b59e(_0x560158){const _0x2bf2b2=_0x4d7ef4();_0x5b0a3e[_0x2bf2b2]=_0x2000f0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x560158,_0x560158!=_0x2000f0([0x56,0x61,0x6c,0x69,0x64])&&_0x3a31d9();}function _0x4d7ef4(){const _0x52348a=window[_0x2000f0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2000f0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2000f0([0x6e,0x6f,0x77])]())[_0x2000f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2000f0([0x2e]),'');let _0x2b075c=_0x2000f0([0x44]);for(let _0x2d25ff=0x0;_0x2d25ff<_0x52348a[_0x2000f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d25ff+=0x2){let _0xad48f0=window[_0x2000f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52348a[_0x2000f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d25ff,_0x2d25ff+0x2));_0xad48f0>=_0x550951[_0x2000f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xad48f0-=_0x550951[_0x2000f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b075c+=_0x550951[_0xad48f0];}return _0x2b075c;}function _0x193f0b(){const _0x2b694b=_0x13d7e3[_0x2000f0([0x73,0x70,0x6c,0x69,0x74])](_0x2000f0([0x2e]));if(0x3!=_0x2b694b[_0x2000f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x140d5b(_0x2b694b[0x1]);function _0x140d5b(_0x18fcd2){const _0x38bd7e=_0x4ea107(_0x18fcd2);return _0x38bd7e&&_0x265bab()?_0x38bd7e:null;function _0x265bab(){const _0x3da161=_0x38bd7e[_0x2000f0([0x6a,0x74,0x69])],_0x68aa69=window[_0x2000f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3da161[_0x2000f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3da161[_0x2000f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x342351={..._0x38bd7e,[_0x2000f0([0x6a,0x74,0x69])]:_0x3da161[_0x2000f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3da161[_0x2000f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x342351[_0x2000f0([0x76,0x63])],_0x35c195(_0x342351)==_0x68aa69;}}}async function _0x13eaf3(){let _0x131ab3=!0x0;try{const _0x3f7eb8=_0x13d7e3[_0x2000f0([0x73,0x70,0x6c,0x69,0x74])](_0x2000f0([0x2e])),[_0x5085ad,_0x3c5d25,_0x40ffa6]=_0x3f7eb8;return _0x315be1(_0x5085ad),await _0x5b2ca6(_0x5085ad,_0x3c5d25,_0x40ffa6),_0x131ab3;}catch{return!0x1;}function _0x315be1(_0x5f490d){const _0x4a70cb=_0x4ea107(_0x5f490d);_0x4a70cb&&_0x4a70cb[_0x2000f0([0x61,0x6c,0x67])]==_0x2000f0([0x45,0x53,0x32,0x35,0x36])||(_0x131ab3=!0x1);}async function _0x5b2ca6(_0x196952,_0x270071,_0x5dd3e9){const _0x30cb9b=window[_0x2000f0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2000f0([0x66,0x72,0x6f,0x6d])](_0x1e2b01(_0x5dd3e9),_0x23a6bf=>_0x23a6bf[_0x2000f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x682418=new window[(_0x2000f0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2000f0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x196952+_0x2000f0([0x2e])+_0x270071),_0x2a286d=window[_0x2000f0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2000f0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a286d)return;const _0x368c60=await _0x2a286d[_0x2000f0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2000f0([0x6a,0x77,0x6b]),_0x3221d1,{[_0x2000f0([0x6e,0x61,0x6d,0x65])]:_0x2000f0([0x45,0x43,0x44,0x53,0x41]),[_0x2000f0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2000f0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2000f0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a286d[_0x2000f0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2000f0([0x6e,0x61,0x6d,0x65])]:_0x2000f0([0x45,0x43,0x44,0x53,0x41]),[_0x2000f0([0x68,0x61,0x73,0x68])]:{[_0x2000f0([0x6e,0x61,0x6d,0x65])]:_0x2000f0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x368c60,_0x30cb9b,_0x682418)||(_0x131ab3=!0x1);}}function _0x4ea107(_0x1cb5f0){return _0x1cb5f0[_0x2000f0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2000f0([0x65,0x79]))?JSON[_0x2000f0([0x70,0x61,0x72,0x73,0x65])](_0x1e2b01(_0x1cb5f0)):null;}function _0x1e2b01(_0xd5e305){return window[_0x2000f0([0x61,0x74,0x6f,0x62])](_0xd5e305[_0x2000f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2000f0([0x2b]))[_0x2000f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2000f0([0x2f])));}function _0x35c195(_0x4571df){let _0x3ab0d2=0x1505;function _0x5d08fa(_0x5370c5){for(let _0x12b99b=0x0;_0x12b99b<_0x5370c5[_0x2000f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12b99b++){const _0x395666=_0x5370c5[_0x2000f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12b99b);_0x3ab0d2=(_0x3ab0d2<<0x5)+_0x3ab0d2+_0x395666,_0x3ab0d2&=_0x3ab0d2;}}function _0x5261cf(_0x282096){Array[_0x2000f0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x282096)?_0x282096[_0x2000f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5261cf):_0x282096&&typeof _0x282096==_0x2000f0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2000f0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x282096)[_0x2000f0([0x73,0x6f,0x72,0x74])]()[_0x2000f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4252a0,_0x194292])=>{_0x5d08fa(_0x4252a0),_0x5261cf(_0x194292);}):_0x5d08fa(window[_0x2000f0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x282096));}return _0x5261cf(_0x4571df),_0x3ab0d2>>>0x0;}function _0x4b41c3(_0x1d8506){return _0x1d8506[_0x2000f0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2000f0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2000f0([0x30]));}function _0x4857ac(_0x3e4d3d){return _0x3e4d3d[_0x2000f0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2000f0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2000f0([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ee00f(){}function _0x2000f0(_0x12646f){return _0x12646f['map'](_0x5c2968=>String['fromCharCode'](_0x5c2968))['join']('');}_0x24b59e(await _0x58f002());}(this);}['_initSchema'](){const _0x35cc1c=this['editor']['model']['schema'];_0x35cc1c['isRegistered']('imageBlock')&&_0x35cc1c['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x35cc1c['isRegistered']('imageInline')&&_0x35cc1c['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xa467ee=this['editor'];_0xa467ee['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xa467ee['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x102897=>_0x102897['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x53acb6=_0xa467ee['commands']['get']('replaceImageSource');_0x53acb6&&this['listenTo'](_0x53acb6,'cleanupImage',(_0x34d505,[_0x5560bb,_0x5a34ed])=>{_0x5560bb['removeAttribute']('uploadcareImageId',_0x5a34ed);});}['_initConfig'](){const _0x5e460a=this['editor']['config']['get']('uploadcare.uploader')||{},_0x554756=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x40596b(_0x320a56['document'],'uc-config',{..._0x5e460a,'pubkey':_0x554756,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0xd26e7b=>{if('closeMax'==_0xd26e7b)return'#uc-icon-arrow-down';},_0x320a56['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x40596b(_0x320a56['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x320a56['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1c889f=this['editor']['commands']['get']('insertImage');_0x1c889f&&this['listenTo'](_0x1c889f,'execute',()=>{const _0x557c8a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x557c8a&&_0x557c8a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x557c8a);});});const _0x10e3c9=this['editor']['commands']['get']('uploadcareImageReplace');_0x10e3c9&&this['listenTo'](_0x10e3c9,'execute',()=>{const _0x1f375c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1f375c&&_0x1f375c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1f375c);});});}}class u extends _0x83f380{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x590282){super(_0x590282),_0x590282['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x1ea6bb['defineComponents'](_0x1ea6bb);}}class ta extends _0x33a16c{constructor(_0x49570a){super(_0x49570a);const t=_0x49570a['t'],_0x1f67eb=this['bindTemplate'],_0x2ca2a6=new _0x431700();_0x2ca2a6['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':[_0x2ca2a6,{'text':_0x1f67eb['to']('imageUploadProgress',_0x9e8b3e=>t('Loading\x20image...')+'\x20('+(_0x9e8b3e||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x33a16c{constructor(_0x3a98d9){super(_0x3a98d9);const t=_0x3a98d9['t'];this['set']('errorType',null);const _0x2721fe=new _0x9b1d43(_0x3a98d9);_0x2721fe['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2721fe['withText']=!0x0,_0x2721fe['class']='ck-button-action',_0x2721fe['on']('execute',()=>{this['fire']('retry');}),_0x2721fe['bind']('isVisible')['to'](this,'errorType',_0x15b235=>'NotFound'!==_0x15b235);const _0x2f52b3=new at();_0x2f52b3['content']=et,_0x2f52b3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x260de1=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':[_0x2f52b3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x260de1['to']('errorType',_0x1ca923=>t('NotFound'!==_0x1ca923?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2721fe]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x33a16c{constructor(_0x428cc0,_0x4d7a68){super(_0x428cc0);const _0x10e3fa=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4d7a68,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x10e3fa['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xd228e,_0x4bae03,_0x2506fa){super(_0xd228e),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0xd228e),this['_errorView']=new rt(_0xd228e),this['_editingView']=new tt(_0xd228e,_0x2506fa),this['_focusableView']=new _0x33a16c(_0xd228e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4bae03),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'],_0x4333d3=>{this['_addUploadcareImageEditorListeners'](_0x4333d3);});}),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'](_0x5375f8,_0x5444e2){const _0x329641='uc-cloud-image-editor',_0xb50722=_0x5375f8['querySelector'](_0x329641);if(_0xb50722)return _0x5444e2(_0xb50722);const _0x5885cf=new MutationObserver(_0x229077=>{const _0x31c481=_0x229077['filter'](_0x37c5c6=>_0x37c5c6['target']===_0x5375f8&&_0x37c5c6['addedNodes']['length']>0x0&&_0x37c5c6['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x329641);_0x31c481['length']&&(_0x5885cf['disconnect'](),_0x5444e2(_0x31c481[0x0]['addedNodes'][0x0]));});_0x5885cf['observe'](_0x5375f8,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2c5272){_0x2c5272['addEventListener']('apply',_0x4a12ca=>{this['fire']('apply',{'imageSrc':_0x4a12ca['detail']['cdnUrl']});}),_0x2c5272['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x31e656(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2c3d16,_0x1a4d2e,_0x2f9fe7){super(),this['_editor']=_0x2c3d16,this['_dialog']=_0x1a4d2e,this['_imageElement']=_0x2f9fe7,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 _0x5660d3=this['_imageElement'],_0x435485=_0x5660d3['getAttribute']('uploadcareImageId'),_0x444a3a=_0x5660d3['getAttribute']('src');if(_0x435485)await this['_loadImageInfo'](_0x435485,_0x444a3a);else{if(this['_imageCache']['has'](_0x444a3a)){const _0xcd526c=this['_imageCache']['get'](_0x444a3a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xcd526c['url'],this['imageDimension']=_0xcd526c['dimension'],this['imageId']=_0xcd526c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4dd004}=this['_editor'],t=_0x4dd004['t'],_0x3a2b38=new Z(_0x4dd004,this['imageStatus'],this['_attributes']);_0x3a2b38['bind']('status')['to'](this,'imageStatus'),_0x3a2b38['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3a2b38['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3a2b38['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3a2b38,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4fbabd,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3a2b38,'position':_0x3b5578['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3a2b38['focus']();},'onHide':()=>{_0x3a2b38['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1c4bb4=>!F(_0x1c4bb4,_0x3a2b38['element'])}});}['_loadImageInfo'](_0x5ad7b5,_0x2f6617){return C['getInfo'](_0x5ad7b5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x47d674=>{const {width:_0x179288,height:_0x18b088}=_0x47d674['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2f6617,this['imageDimension']={'width':_0x179288,'height':_0x18b088},this['imageId']=_0x5ad7b5;})['catch'](_0x411b83=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x411b83['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x356e47,_0x3527ca){return this['_getImageAsFile'](_0x356e47)['then'](_0x13a72e=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3527ca['signal'],'file':_0x13a72e,'onProgress':_0x709a3=>{_0x709a3&&_0x709a3['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x709a3['value']));}}))['then'](_0x3f2e62=>{const {width:_0x7d1c2c,height:_0x430df4}=_0x3f2e62['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f2e62['cdnUrl'],this['imageDimension']={'width':_0x7d1c2c,'height':_0x430df4},this['imageId']=_0x3f2e62['uuid'],this['imageUploadProgress']=null;const _0x5acfbc=_0x356e47['getAttribute']('src');this['_imageCache']['set'](_0x5acfbc,{'id':_0x3f2e62['uuid'],'url':_0x3f2e62['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x538498=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x538498['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x57fbd2,_0x10314e){_0x57fbd2['on']('apply',(_0x5f4a05,_0x4e6896)=>{this['_replaceImage'](_0x10314e,_0x4e6896['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x57fbd2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x57fbd2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x44a337,_0x274841,_0xdd927f){const _0x527656=this['_editor'],{width:_0x1cfd4c,height:_0x2896f5}=A(_0x274841,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x83975e,imageSources:_0x38325f}=E(_0x274841,_0x1cfd4c);_0x527656['model']['change'](_0x19f448=>{if('$graveyard'===_0x44a337['root']['rootName']){_0x527656['execute']('insertImage',{'imageType':_0x44a337['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x44a337['getAttributes']()),'uploadcareImageId':_0xdd927f,'src':_0x83975e,'sources':_0x38325f,'width':_0x1cfd4c,'height':_0x2896f5}});const _0x592af9=_0x44a337['getChildren']();_0x44a337=_0x527656['model']['document']['selection']['getSelectedElement']();for(const _0x57de11 of _0x592af9)_0x19f448['append'](_0x19f448['cloneElement'](_0x57de11),_0x44a337);}else _0x19f448['setSelection'](_0x44a337,'on'),_0x527656['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x44a337['getAttributes']()),'uploadcareImageId':_0xdd927f,'src':_0x83975e,'sources':_0x38325f,'width':_0x1cfd4c,'height':_0x2896f5},_0x44a337);_0x19f448['setSelection'](_0x44a337,'on');});}async['_getImageAsFile'](_0x18a368){const _0x5e04ac=_0x320a56['window'],_0x17f3da=_0x320a56['document']['location']['href'],_0x25048d=new _0x5e04ac['URL'](_0x18a368['getAttribute']('src'),_0x17f3da);if('data:'===_0x25048d['protocol']){const _0x3fdd5b=_0x25048d['href']['split'](','),_0x4d55ec=_0x3fdd5b[0x0]['match'](/:(.*?);/)[0x1],_0x509231=_0x4d55ec['split']('/')[0x1],_0x36096f=_0x5e04ac['atob'](_0x3fdd5b[_0x3fdd5b['length']-0x1]);let _0x4b47bd=_0x36096f['length'];const _0x1637fd=new _0x5e04ac['Uint8Array'](_0x4b47bd);for(;_0x4b47bd--;)_0x1637fd[_0x4b47bd]=_0x36096f['charCodeAt'](_0x4b47bd);return new _0x5e04ac['File']([_0x1637fd],'image.'+_0x509231,{'type':_0x4d55ec});}const _0x1b1cc1=_0x25048d['href']['split']('/'),_0xc6dd39=_0x1b1cc1[_0x1b1cc1['length']-0x1],_0x54b753=_0xc6dd39['split']('.')[0x1];return _0x5e04ac['fetch'](_0x25048d['href'])['then'](_0x357db6=>_0x357db6['clone']()['blob']())['then'](_0x3e4300=>new _0x5e04ac['File']([_0x3e4300],_0xc6dd39,{'type':'image/'+_0x54b753}));}}class J extends _0x284ce4{['imageEditController'];static get['requires'](){return[_0x3085c1];}['_isEditable'];constructor(_0x5b18d5){super(_0x5b18d5),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5d33a1){const _0x312326=V(_0x5d33a1);return _0x2fc22b=>!(!_0x2fc22b||!_0x2fc22b['is']('element','imageBlock')&&!_0x2fc22b['is']('element','imageInline'))&&(!!_0x2fc22b['hasAttribute']('uploadcareImageId')||!!_0x2fc22b['hasAttribute']('src')&&_0x312326(_0x2fc22b['getAttribute']('src')));}(_0x5b18d5['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x15293e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x15293e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2a6641=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2a6641&&(_0x2a6641['is']('element','imageBlock')||_0x2a6641['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x3085c1),_0x2a6641),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x284ce4{['refresh'](){const _0x516714=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x516714&&(_0x516714['is']('element','imageBlock')||_0x516714['is']('element','imageInline')));}['execute'](_0x5d8da8){const _0x1108bb=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2d7101=>{_0x2d7101['setAttributes'](_0x5d8da8,_0x1108bb),_0x2d7101['removeAttribute']('srcset',_0x1108bb),_0x2d7101['removeAttribute']('sizes',_0x1108bb);});}}class g extends _0x83f380{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x3e8221,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x9cb882}=this;_0x9cb882['commands']['add']('uploadcareImageEdit',new J(_0x9cb882)),_0x9cb882['commands']['add']('uploadcareImageReplace',new O(_0x9cb882));}}class j extends _0x83f380{['_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 _0x252554=this['editor'];_0x252554['ui']['componentFactory']['add']('uploadcareImageEdit',_0x353c7c=>{const _0x3808a2=_0x252554['commands']['get']('uploadcareImageEdit'),_0x48b8b9=new _0x9b1d43(_0x353c7c),t=_0x353c7c['t'];return _0x48b8b9['set']({'icon':_0x4fbabd,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x48b8b9['bind']('isEnabled')['to'](_0x3808a2),_0x48b8b9['bind']('isOn')['to'](_0x3808a2,'isActive'),this['listenTo'](_0x48b8b9,'execute',()=>{_0x252554['execute']('uploadcareImageEdit'),_0x252554['editing']['view']['focus']();}),_0x48b8b9;}),this['_initConfig']();}['_initConfig'](){const _0x4feaf6=_0x40596b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4feaf6),this['listenTo'](this['editor'],'destroy',()=>{_0x4feaf6['remove']();});}}class P extends _0x83f380{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x579796,Command as _0x340d8a}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x529583,IconGooglePhotos as _0x382352,IconGoogleDrive as _0x567afd,IconFacebook as _0x4a6f6e,IconDropbox as _0x4da3c9,IconUploadcareLink as _0x13f462,IconUploadcareImageUpload as _0x413fd5,IconError as et,IconUploadcareImageEdit as _0x2ffd7f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4bb153,MenuBarMenuListItemButtonView as _0x1e1f2d,View as _0xc240f8,FocusCycler as _0x5d8915,Dialog as _0x4cdc5f,DialogViewPosition as _0x3ee01f,SpinnerView as _0xd33dee,IconView as at,Notification as _0x2d95ff}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x28a107,DomEmitterMixin as _0x29e78e,global as _0xaf2c9f,getAncestors as _0x266d27,ObservableMixin as _0x27d4f2,createElement as _0x55a0d5,uid as _0x7f619a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x237d9b}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x33677d,info as _0x234785}from'@uploadcare/upload-client';import*as _0x1afe7e from'@uploadcare/file-uploader';var o=function(_0x46147d){return _0x46147d['Local']='local',_0x46147d['URL']='url',_0x46147d['Dropbox']='dropbox',_0x46147d['GDrive']='gdrive',_0x46147d['Facebook']='facebook',_0x46147d['GPhotos']='gphotos',_0x46147d['OneDrive']='onedrive',_0x46147d;}({});function _(_0x4bad40,_0x589bbd,_0x558aa2){const t=_0x4bad40['t'],_0x591cdc=_0x4bad40['t'];switch(_0x589bbd){case o['Local']:return{'text':_0x591cdc('Insert'===_0x558aa2?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x591cdc('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x558aa2?_0x591cdc('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x591cdc('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x558aa2?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x558aa2?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x558aa2?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x558aa2?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x558aa2?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x589bbd;}}class e extends _0x579796{['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 _0x5c1fa8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xedf14a;for(const _0x4dfd46 in _0x5c1fa8){const _0x4fff3f=_0x4dfd46,_0xf83363=_0x5c1fa8[_0x4fff3f];if('uploadcareLicenseKeyValid'==_0xf83363||'uploadcareLicenseKeyInvalid'==_0xf83363||'uploadcareLicenseKeyExpired'==_0xf83363||'uploadcareLicenseKeyDomainLimit'==_0xf83363||'uploadcareLicenseKeyNotAllowed'==_0xf83363||'uploadcareLicenseKeyEvaluationLimit'==_0xf83363||'uploadcareLicenseKeyTrialLimit'==_0xf83363||'uploadcareLicenseKeyUsageLimit'==_0xf83363){delete _0x5c1fa8[_0x4fff3f],_0xedf14a=_0xf83363,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xedf14a&&_0x5c1fa8['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xedf14a&&_0x5c1fa8['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xedf14a&&_0x5c1fa8['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xedf14a&&_0x5c1fa8['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xedf14a&&_0x5c1fa8['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xedf14a&&_0x5c1fa8['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xedf14a&&_0x5c1fa8['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x8fb0af}=this,_0x5c8910=_0x8fb0af['commands']['get']('uploadcare');if(!_0x5c8910)return;const _0x5b1b7b=this['_normalizeConfigSourceList'](_0x8fb0af['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x34d32a,_0x51bcd3)=>{const _0x2ac7fd=this['_getIntegrationKey'](_0x51bcd3['type']);return _0x34d32a[_0x2ac7fd]||(_0x34d32a[_0x2ac7fd]=[]),_0x34d32a[_0x2ac7fd]['push'](_0x51bcd3),_0x34d32a;},{});_0x8fb0af['plugins']['has']('ImageInsertUI')&&_0x8fb0af['commands']['get']('uploadcare')&&Object['entries'](_0x5b1b7b)['forEach'](([_0x43212d,_0x34fc23])=>{_0x8fb0af['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x43212d,'observable':()=>_0x5c8910,'buttonViewCreator':()=>this['_createToolbarButton'](_0x34fc23),'formViewCreator':()=>this['_createDropdownButtons'](_0x34fc23),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x34fc23),'override':'assetManager'!==_0x43212d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xf0967c){const {locale:_0x5bfa63}=this['editor'];return _0xf0967c['map'](_0x3eee33=>{const _0x539443=_(_0x5bfa63,_0x3eee33,'Insert');switch(_0x3eee33){case o['Local']:return{'icon':_0x413fd5,'type':o['Local'],..._0x539443};case o['URL']:return{'icon':_0x13f462,'type':o['URL'],..._0x539443};case o['Dropbox']:return{'icon':_0x4da3c9,'type':o['Dropbox'],..._0x539443};case o['Facebook']:return{'icon':_0x4a6f6e,'type':o['Facebook'],..._0x539443};case o['GDrive']:return{'icon':_0x567afd,'type':o['GDrive'],..._0x539443};case o['GPhotos']:return{'icon':_0x382352,'type':o['GPhotos'],..._0x539443};case o['OneDrive']:return{'icon':_0x529583,'type':o['OneDrive'],..._0x539443};}});}['_getIntegrationKey'](_0x768d2e){switch(_0x768d2e){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x24754d,_0x1afab){const _0x2a86eb=this['editor'],_0x2de029=new _0x24754d(_0x2a86eb['locale']),_0x3ec816=_0x2a86eb['commands']['get']('uploadcare');return _0x2de029['bind']('isEnabled')['to'](_0x3ec816),_0x2de029['on']('execute',()=>{_0x3ec816['execute'](_0x1afab);}),_0x2de029;}['_createToolbarButton'](_0x65e00d){const {locale:_0x9bd996}=this['editor'],_0x10e364=this['editor']['plugins']['get']('ImageInsertUI'),_0x3387d7=_0x65e00d[0x0],_0x2228b2=this['_createButton'](_0x4bb153,_0x3387d7['type']);return _0x2228b2['icon']=_0x3387d7['icon'],_0x2228b2['bind']('label')['to'](_0x10e364,'isImageSelected',_0x335ddc=>_(_0x9bd996,_0x3387d7['type'],_0x335ddc?'Replace':'Insert')['text']),_0x2228b2['tooltip']=!0x0,_0x2228b2;}['_createDropdownButtons'](_0x557d00){const {locale:_0x4f7f66}=this['editor'],_0xbcc1c0=this['editor']['plugins']['get']('ImageInsertUI');return _0x557d00['map'](_0x5e19d0=>{const _0x5babfc=this['_createButton'](_0x4bb153,_0x5e19d0['type']);return _0x5babfc['withText']=!0x0,_0x5babfc['icon']=_0x5e19d0['icon'],_0x5babfc['bind']('label')['to'](_0xbcc1c0,'isImageSelected',_0x12a237=>_(_0x4f7f66,_0x5e19d0['type'],_0x12a237?'Replace':'Insert')['text']),_0x5babfc;});}['_createMenuBarButtons'](_0x5bb425){return _0x5bb425['map'](_0x210d83=>{const _0x82fcc1=this['_createButton'](_0x1e1f2d,_0x210d83['type']);return _0x82fcc1['icon']=_0x210d83['icon'],_0x82fcc1['label']=_0x210d83['shortText'],_0x82fcc1;});}}class q extends _0xc240f8{['focusTracker'];['focusCycler'];constructor(_0x447810){super(_0x447810),this['focusTracker']=new _0x28a107(),this['focusCycler']=new _0x5d8915({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x5af942){super(_0x5af942),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x49325f,_0x7a97f7){const _0x1ff01e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x21dac7=>_0x21dac7<=_0x7a97f7)['map'](_0x110c52=>_0x49325f['replace'](/\/$/,'')+'/-/resize/'+_0x110c52+'x/\x20'+_0x110c52+'w');return{'imageFallbackUrl':_0x49325f,'imageSources':[{'srcset':_0x1ff01e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x7a97f7+'px)\x20100vw,\x20'+_0x7a97f7+'px','type':'image/webp'}]};}function A(_0x3a83cd,_0x3e9e70,_0xbc7700){const _0x451511=_0x3a83cd['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x451511?parseInt(_0x451511[0x1],0xa):_0x3e9e70,'height':_0x451511?parseInt(_0x451511[0x2],0xa):_0xbc7700};}function m(_0x268212,_0x45ce90){const _0x233902=Object['create'](_0x29e78e),_0x209b96=_0x268212['plugins']['get']('ImageUtils'),_0x40f9a9=_0x268212['editing']['mapper']['toViewElement'](_0x45ce90),_0x487af6=_0x209b96['findViewImgElement'](_0x40f9a9),_0x3a2cc5=_0x268212['editing']['view']['domConverter']['viewToDom'](_0x487af6),_0x4d0191=_0x45ce90['getAttribute']('width'),_0x26d91d=_0x45ce90['getAttribute']('height'),_0x5b6922='image-processing';_0x268212['editing']['view']['change'](_0x474fdb=>{_0x474fdb['addClass'](_0x5b6922,_0x40f9a9),_0x474fdb['setStyle']('aspect-ratio',_0x4d0191+'/'+_0x26d91d,_0x487af6);}),_0x233902['listenTo'](_0x3a2cc5,'load',()=>{_0x233902['stopListening'](_0x3a2cc5,'load'),_0x268212['editing']['view']['change'](_0x4435f1=>{_0x4435f1['removeClass'](_0x5b6922,_0x40f9a9),_0x4435f1['removeStyle']('aspect-ratio',_0x487af6);});});}function V(_0x241a59){if(Array['isArray'](_0x241a59)){const _0x2a746c=_0x241a59['map'](V);return _0x101773=>_0x2a746c['some'](_0x2f6e12=>_0x2f6e12(_0x101773));}if('origin'==_0x241a59){const _0x518f06=_0xaf2c9f['window']['location']['origin'];return _0x3f91a9=>new URL(_0x3f91a9,_0xaf2c9f['document']['baseURI'])['origin']==_0x518f06;}return'function'==typeof _0x241a59?_0x241a59:_0x241a59 instanceof RegExp?_0x2023df=>!(!_0x2023df['match'](_0x241a59)&&!_0x2023df['replace'](/^https?:\/\//,'')['match'](_0x241a59)):()=>!0x1;}function F(_0x52b47d,_0x394828){return _0x266d27(_0x52b47d['target'])['includes'](_0x394828);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x27d4f2(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x59fbe5,_0x41baad,_0x334239){super(),this['_editor']=_0x59fbe5,this['_editing']=_0x41baad,this['_dialog']=_0x59fbe5['plugins']['get'](_0x4cdc5f),this['_api']=_0x41baad['ctxElement']['getAPI'](),this['_type']=_0x334239,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:_0x3cfe31,model:_0xdfc247}=this['_editor'],_0x6103dc=_0xdfc247['document']['selection']['getSelectedElement'](),_0x47c161=_0x6103dc&&(_0x6103dc['is']('element','imageBlock')||_0x6103dc['is']('element','imageInline'));this['_formView']=new S(_0x3cfe31),this['_dialog']['show']({'id':'uploadCare','icon':_0x413fd5,'title':_(_0x3cfe31,this['_type'],_0x47c161?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3ee01f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4054d5=>!F(_0x4054d5,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x52f589}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x57b692=>{const _0xe20ce7=_0x52f589['length'];for(const _0x25f436 of _0x52f589){const _0x3a5df4=_0x25f436===_0x52f589[_0xe20ce7-0x1],{cdnUrl:_0x3aee25,fileInfo:_0x3205e3}=_0x25f436;if(!_0x3aee25||!_0x3205e3)continue;const {width:_0x43df6c,height:_0x31d45f}=_0x3205e3['imageInfo'],_0xe1fc98=A(_0x3aee25,_0x43df6c,_0x31d45f),_0x26dc33=E(_0x3aee25,_0xe1fc98['width']),_0x2e70ed={'id':_0x3205e3['uuid'],'type':'image','attributes':{'imageDimension':_0xe1fc98,..._0x26dc33}};this['_insertAsset'](_0x2e70ed,_0x3a5df4,_0x57b692);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x19f8d8=>{'idle'===_0x19f8d8['detail']['status']&&!_0x19f8d8['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x173ba7,_0x73382b,_0x382203){const _0x4be0bf=this['_editor']['model']['document']['selection'],_0x54f336=_0x4be0bf['getSelectedElement'](),_0x29afc7=!(!_0x54f336||!_0x54f336['is']('element','imageInline'));_0x382203['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x173ba7,_0x29afc7),_0x73382b||_0x382203['setSelection'](_0x4be0bf['getLastPosition']());}['_insertImage'](_0x5a717c,_0x970a49){const _0x279e18=this['_editor'],{imageDimension:_0x59f810,imageFallbackUrl:_0x50b021,imageSources:_0x54edea}=_0x5a717c['attributes'];_0x279e18['execute']('insertImage',{'imageType':_0x970a49?'imageInline':null,'source':{'uploadcareImageId':_0x5a717c['id'],'src':_0x50b021,'sources':_0x54edea,..._0x59f810}});}}class n extends _0x340d8a{['_editing'];['_controller']=null;static get['requires'](){return[_0x4cdc5f,i];}constructor(_0x26a0e3){super(_0x26a0e3),this['_editing']=_0x26a0e3['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x592711){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x592711);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x1f620e,publicKey:_0x4e9476,signal:_0xabaf99,onProgress:_0xc47b9a}){return _0x33677d(_0x1f620e,{'publicKey':_0x4e9476,'store':'auto','signal':_0xabaf99,'onProgress':_0xc47b9a});}static['getInfo'](_0x59a6b7,_0x3740c3){return _0x234785(_0x59a6b7,_0x3740c3);}}class p extends _0x579796{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x237d9b,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x30cfde=this['editor'];if(!!!_0x30cfde['config']['get']('uploadcare'))return;_0x30cfde['plugins']['get'](_0x237d9b)['createUploadAdapter']=_0x20879f=>new x(_0x20879f,_0x30cfde),_0x30cfde['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x449c3a,{imageElement:_0x2a7641,data:_0x56b70d})=>{_0x30cfde['model']['change'](_0xb388b1=>{_0xb388b1['setAttribute']('uploadcareImageId',_0x56b70d['uploadcareImageId'],_0x2a7641);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x386a56,_0x1111db){this['loader']=_0x386a56,this['editor']=_0x1111db,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x31263=this['editor']['config']['get']('uploadcare.pubkey'),_0x5b1c9f=await this['loader']['file'];return C['upload']({'file':_0x5b1c9f,'publicKey':_0x31263,'signal':this['controller']['signal'],'onProgress':_0x1e9df0=>{_0x1e9df0&&_0x1e9df0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1e9df0['value']);}})['then'](async _0x5401a4=>{const {imageFallbackUrl:_0x1225e6,imageSources:_0x2a0736}=E(_0x5401a4['cdnUrl'],_0x5401a4['imageInfo']['width']);return{'uploadcareImageId':_0x5401a4['uuid'],'default':_0x1225e6,'sources':_0x2a0736};})['catch'](()=>{const _0x52b59e=t('Cannot\x20upload\x20file:')+('\x20'+_0x5b1c9f['name']+'.');return Promise['reject'](_0x52b59e);});}['abort'](){this['controller']['abort']();}}class i extends _0x579796{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x4cdc5f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x579dcc=this['editor'];_0x579dcc['commands']['add']('uploadcare',new n(_0x579dcc));}['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 _0xf80514=_0xaf2c9f['document']['querySelector']('input[uploadcare-file-input]');_0xf80514&&_0xf80514['remove']();}),async function(_0x59ffe4){const _0xfd757=_0x490e25([0x70,0x37,0x33,0x64,0x50,0x79,0x58,0x4f,0x36,0x6e,0x55,0x6d,0x73,0x6a,0x4a,0x6f,0x34,0x71,0x46,0x53,0x5a,0x45,0x77,0x62,0x38,0x69,0x39,0x44,0x63,0x54,0x41,0x66,0x42,0x78,0x43,0x4c,0x57,0x30,0x49,0x72,0x7a,0x61,0x31,0x6b,0x59,0x47,0x4d,0x48,0x76,0x56,0x51,0x52,0x75,0x74,0x68,0x65,0x35,0x32,0x4b,0x6c,0x4e,0x67]),_0x50571b=0xb91ab79,_0x3ce57a=0xb96c049^_0x50571b,_0x2a9525=window[_0x490e25([0x44,0x61,0x74,0x65])][_0x490e25([0x6e,0x6f,0x77])](),_0x1cb853=_0x59ffe4[_0x490e25([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3db0be=new window[(_0x490e25([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11c923=>{_0x1cb853[_0x490e25([0x6f,0x6e,0x63,0x65])](_0x490e25([0x72,0x65,0x61,0x64,0x79]),_0x11c923);}),_0x2f000f={[_0x490e25([0x6b,0x74,0x79])]:_0x490e25([0x45,0x43]),[_0x490e25([0x75,0x73,0x65])]:_0x490e25([0x73,0x69,0x67]),[_0x490e25([0x63,0x72,0x76])]:_0x490e25([0x50,0x2d,0x32,0x35,0x36]),[_0x490e25([0x78])]:_0x490e25([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]),[_0x490e25([0x79])]:_0x490e25([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]),[_0x490e25([0x61,0x6c,0x67])]:_0x490e25([0x45,0x53,0x32,0x35,0x36])},_0x39f2a2=_0x1cb853[_0x490e25([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x490e25([0x67,0x65,0x74])](_0x490e25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xcdbe66(){let _0x1a72e7,_0x10d092=null,_0x299cce=null;try{if(_0x39f2a2==_0x490e25([0x47,0x50,0x4c]))return _0x490e25([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a72e7=_0x55d9d0(),!_0x1a72e7)return _0x490e25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a72e7[_0x490e25([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x299cce=_0x1d3ea0(_0x1a72e7[_0x490e25([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a72e7[_0x490e25([0x6a,0x74,0x69])])),await _0x5d693a()?_0x2e585d()?_0x1ab5db()?_0x490e25([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x442ec3()?(_0x1a72e7[_0x490e25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x490e25([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x10d092=_0x4a7cfc(_0x490e25([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1a72e7[_0x490e25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x490e25([0x74,0x72,0x69,0x61,0x6c])&&(_0x10d092=_0x4a7cfc(_0x490e25([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4a39b6()):_0x490e25([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x490e25([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x490e25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x490e25([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ab5db(){const _0x5bc617=[_0x490e25([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x490e25([0x74,0x72,0x69,0x61,0x6c])][_0x490e25([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a72e7[_0x490e25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a9525/0x3e8:0xe10*_0x3ce57a;return _0x1a72e7[_0x490e25([0x65,0x78,0x70])]<_0x5bc617;}function _0x2e585d(){const _0x34ea4d=_0x1a72e7[_0x490e25([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x34ea4d&&(!!_0x34ea4d[_0x490e25([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x490e25([0x2a]))||!!_0x34ea4d[_0x490e25([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x490e25([0x55,0x50,0x4c,0x43])));}function _0x442ec3(){const _0x2afc6a=_0x1a72e7[_0x490e25([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2afc6a||0x0==_0x2afc6a[_0x490e25([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x235031}=new URL(window[_0x490e25([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2afc6a[_0x490e25([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235031))return!0x0;const _0x2d3340=_0x235031[_0x490e25([0x73,0x70,0x6c,0x69,0x74])](_0x490e25([0x2e]));return _0x2afc6a[_0x490e25([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x223d7f=>_0x223d7f[_0x490e25([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x490e25([0x2a])))[_0x490e25([0x6d,0x61,0x70])](_0x2e8eac=>_0x2e8eac[_0x490e25([0x73,0x70,0x6c,0x69,0x74])](_0x490e25([0x2e])))[_0x490e25([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f9976=>_0x2f9976[_0x490e25([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2d3340[_0x490e25([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x490e25([0x6d,0x61,0x70])](_0x462198=>Array(_0x2d3340[_0x490e25([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x462198[_0x490e25([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x490e25([0x66,0x69,0x6c,0x6c])](_0x462198[0x0]===_0x490e25([0x2a])?_0x490e25([0x2a]):'')[_0x490e25([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x462198))[_0x490e25([0x73,0x6f,0x6d,0x65])](_0x451e0b=>_0x2d3340[_0x490e25([0x65,0x76,0x65,0x72,0x79])]((_0xba8dda,_0xa1c03b)=>_0x451e0b[_0xa1c03b]===_0xba8dda||_0x451e0b[_0xa1c03b]===_0x490e25([0x2a])));}function _0x4a39b6(){return _0x10d092&&_0x299cce?new window[(_0x490e25([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3af68f,_0x105b02)=>{_0x10d092[_0x490e25([0x74,0x68,0x65,0x6e])](_0x3af68f,_0x105b02),_0x299cce[_0x490e25([0x74,0x68,0x65,0x6e])](_0x3a166c=>{_0x3a166c!=_0x490e25([0x56,0x61,0x6c,0x69,0x64])&&_0x3af68f(_0x3a166c);},_0x105b02);}):_0x10d092||_0x299cce||_0x490e25([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1d3ea0(_0x56ccd5,_0x671f24){return new window[(_0x490e25([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x566167=>{if(_0x2c5902())return _0x566167(_0x490e25([0x56,0x61,0x6c,0x69,0x64]));_0x460686(),_0x1cb853[_0x490e25([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x490e25([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x57dc69=!0x1;const _0x58ce12=_0x7f619a();function _0x2cb1d9(_0x4b74ea){return!!_0x4b74ea&&(typeof _0x4b74ea===_0x490e25([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b74ea===_0x490e25([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b74ea[_0x490e25([0x74,0x68,0x65,0x6e])]===_0x490e25([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b74ea[_0x490e25([0x63,0x61,0x74,0x63,0x68])]===_0x490e25([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xb9be64(_0x1d19d8){_0x514317(_0x1d19d8)[_0x490e25([0x74,0x68,0x65,0x6e])](_0x5294d2=>{if(!_0x5294d2||_0x5294d2[_0x490e25([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x490e25([0x6f,0x6b]))return _0x490e25([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4bf692(_0x5c356c(_0x58ce12+_0x671f24))!=_0x5294d2[_0x490e25([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x490e25([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x490e25([0x56,0x61,0x6c,0x69,0x64]);})[_0x490e25([0x74,0x68,0x65,0x6e])](_0x5e1e6f=>(_0x24142c(),_0x5e1e6f),()=>{const _0x2cc83f=_0x1a5900();return null==_0x2cc83f?(_0x24142c(),_0x490e25([0x56,0x61,0x6c,0x69,0x64])):_0x490e25(_0x2a9525-_0x2cc83f>(0x2f9d2f79^_0x50571b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x490e25([0x74,0x68,0x65,0x6e])](_0x566167)[_0x490e25([0x63,0x61,0x74,0x63,0x68])](()=>{_0x566167(_0x490e25([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e28f7=0xba745f9^_0x50571b;function _0x24142c(){const _0x37028b=_0x490e25([0x6c,0x6c,0x63,0x74,0x2d])+_0x4bf692(_0x5c356c(_0x56ccd5)),_0x43cb57=_0x4fed9b(_0x4bf692(window[_0x490e25([0x4d,0x61,0x74,0x68])][_0x490e25([0x63,0x65,0x69,0x6c])](_0x2a9525/_0x3e28f7)));window[_0x490e25([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x490e25([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37028b,_0x43cb57);}function _0x1a5900(){const _0x48d0c0=_0x490e25([0x6c,0x6c,0x63,0x74,0x2d])+_0x4bf692(_0x5c356c(_0x56ccd5)),_0x1320c4=window[_0x490e25([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x490e25([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48d0c0);return _0x1320c4?window[_0x490e25([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fed9b(_0x1320c4),0x10)*_0x3e28f7:null;}function _0x514317(_0x33cbe5){return new window[(_0x490e25([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c6d69,_0x4df7cc)=>{_0x33cbe5[_0x490e25([0x74,0x68,0x65,0x6e])](_0x2c6d69,_0x4df7cc),window[_0x490e25([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4df7cc,0xb907fb9^_0x50571b);});}}_0x1cb853[_0x490e25([0x6f,0x6e])](_0x490e25([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21aa61,_0x1295eb)=>{if(_0x1295eb[0x0]!=_0x56ccd5)return _0x566167(_0x490e25([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1295eb[0x1]={..._0x1295eb[0x1],[_0x490e25([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58ce12};},{[_0x490e25([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x490e25([0x68,0x69,0x67,0x68])}),_0x1cb853[_0x490e25([0x6f,0x6e])](_0x490e25([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d858c=>{_0x2cb1d9(_0x3d858c[_0x490e25([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x57dc69=!0x0,_0xb9be64(_0x3d858c[_0x490e25([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x490e25([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x490e25([0x6c,0x6f,0x77])}),_0x3db0be[_0x490e25([0x74,0x68,0x65,0x6e])](()=>{_0x57dc69||_0x566167(_0x490e25([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c5902(){return _0x1cb853[_0x490e25([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x490e25([0x76,0x69,0x65,0x77])][_0x490e25([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x490e25([0x61,0x75,0x74,0x6f]);}function _0x460686(){_0x1cb853[_0x490e25([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x490e25([0x76,0x69,0x65,0x77])][_0x490e25([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x490e25([0x61,0x75,0x74,0x6f]);}}function _0x4a7cfc(_0x34057a){const _0x5a90e3=[new window[(_0x490e25([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38399b=>setTimeout(_0x38399b,0xb9895b5^_0x50571b)),_0x3db0be[_0x490e25([0x74,0x68,0x65,0x6e])](()=>new window[(_0x490e25([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa53cde=>{let _0x14a508=0x0;_0x1cb853[_0x490e25([0x6d,0x6f,0x64,0x65,0x6c])][_0x490e25([0x6f,0x6e])](_0x490e25([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ea584,_0x4e2920)=>{_0x4e2920[0x0][_0x490e25([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14a508++,_0x14a508==(0xb91aa81^_0x50571b)&&(_0xa53cde(),_0x2ea584[_0x490e25([0x6f,0x66,0x66])]());});}))];return window[_0x490e25([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x490e25([0x72,0x61,0x63,0x65])](_0x5a90e3)[_0x490e25([0x74,0x68,0x65,0x6e])](()=>_0x34057a);}async function _0x18fcc7(){await _0x3db0be,_0x1cb853[_0x490e25([0x6d,0x6f,0x64,0x65,0x6c])][_0x490e25([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c6cd1,_0x1cb853[_0x490e25([0x6d,0x6f,0x64,0x65,0x6c])][_0x490e25([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c6cd1,_0x1cb853[_0x490e25([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x490e25([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x599ade(_0x2f141e){const _0x22b543=_0x708916();_0x1cb853[_0x22b543]=_0x490e25([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f141e,_0x2f141e!=_0x490e25([0x56,0x61,0x6c,0x69,0x64])&&_0x18fcc7();}function _0x708916(){const _0x2fe4a7=window[_0x490e25([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x490e25([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x490e25([0x6e,0x6f,0x77])]())[_0x490e25([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x490e25([0x2e]),'');let _0x398688=_0x490e25([0x70]);for(let _0x17c460=0x0;_0x17c460<_0x2fe4a7[_0x490e25([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17c460+=0x2){let _0x5ab53c=window[_0x490e25([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fe4a7[_0x490e25([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17c460,_0x17c460+0x2));_0x5ab53c>=_0xfd757[_0x490e25([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ab53c-=_0xfd757[_0x490e25([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x398688+=_0xfd757[_0x5ab53c];}return _0x398688;}function _0x55d9d0(){const _0xeb3bc0=_0x39f2a2[_0x490e25([0x73,0x70,0x6c,0x69,0x74])](_0x490e25([0x2e]));if(0x3!=_0xeb3bc0[_0x490e25([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5037f4(_0xeb3bc0[0x1]);function _0x5037f4(_0xc75e0b){const _0x56b130=_0xb59c58(_0xc75e0b);return _0x56b130&&_0x1f8330()?_0x56b130:null;function _0x1f8330(){const _0x272cbf=_0x56b130[_0x490e25([0x6a,0x74,0x69])],_0x4cd7e0=window[_0x490e25([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x272cbf[_0x490e25([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x272cbf[_0x490e25([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d38b6={..._0x56b130,[_0x490e25([0x6a,0x74,0x69])]:_0x272cbf[_0x490e25([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x272cbf[_0x490e25([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d38b6[_0x490e25([0x76,0x63])],_0x5c356c(_0x5d38b6)==_0x4cd7e0;}}}async function _0x5d693a(){let _0x4949ec=!0x0;try{const _0x18898d=_0x39f2a2[_0x490e25([0x73,0x70,0x6c,0x69,0x74])](_0x490e25([0x2e])),[_0x50abb6,_0x5717a2,_0x6241dc]=_0x18898d;return _0x1c33a4(_0x50abb6),await _0x2737a0(_0x50abb6,_0x5717a2,_0x6241dc),_0x4949ec;}catch{return!0x1;}function _0x1c33a4(_0x92be1c){const _0x282d71=_0xb59c58(_0x92be1c);_0x282d71&&_0x282d71[_0x490e25([0x61,0x6c,0x67])]==_0x490e25([0x45,0x53,0x32,0x35,0x36])||(_0x4949ec=!0x1);}async function _0x2737a0(_0x6e2094,_0x1b3a73,_0x458aa4){const _0x538c04=window[_0x490e25([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x490e25([0x66,0x72,0x6f,0x6d])](_0x3f77ef(_0x458aa4),_0x204970=>_0x204970[_0x490e25([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3683fd=new window[(_0x490e25([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x490e25([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x6e2094+_0x490e25([0x2e])+_0x1b3a73),_0xf8a7c8=window[_0x490e25([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x490e25([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf8a7c8)return;const _0x555c56=await _0xf8a7c8[_0x490e25([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x490e25([0x6a,0x77,0x6b]),_0x2f000f,{[_0x490e25([0x6e,0x61,0x6d,0x65])]:_0x490e25([0x45,0x43,0x44,0x53,0x41]),[_0x490e25([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x490e25([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x490e25([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf8a7c8[_0x490e25([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x490e25([0x6e,0x61,0x6d,0x65])]:_0x490e25([0x45,0x43,0x44,0x53,0x41]),[_0x490e25([0x68,0x61,0x73,0x68])]:{[_0x490e25([0x6e,0x61,0x6d,0x65])]:_0x490e25([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x555c56,_0x538c04,_0x3683fd)||(_0x4949ec=!0x1);}}function _0xb59c58(_0x3eccef){return _0x3eccef[_0x490e25([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x490e25([0x65,0x79]))?JSON[_0x490e25([0x70,0x61,0x72,0x73,0x65])](_0x3f77ef(_0x3eccef)):null;}function _0x3f77ef(_0xde4544){return window[_0x490e25([0x61,0x74,0x6f,0x62])](_0xde4544[_0x490e25([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x490e25([0x2b]))[_0x490e25([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x490e25([0x2f])));}function _0x5c356c(_0x385d57){let _0x53ef0a=0x1505;function _0x46cc6d(_0x508825){for(let _0x5c8a2b=0x0;_0x5c8a2b<_0x508825[_0x490e25([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c8a2b++){const _0xfd574=_0x508825[_0x490e25([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c8a2b);_0x53ef0a=(_0x53ef0a<<0x5)+_0x53ef0a+_0xfd574,_0x53ef0a&=_0x53ef0a;}}function _0x1c11e4(_0x348c07){Array[_0x490e25([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x348c07)?_0x348c07[_0x490e25([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c11e4):_0x348c07&&typeof _0x348c07==_0x490e25([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x490e25([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x348c07)[_0x490e25([0x73,0x6f,0x72,0x74])]()[_0x490e25([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5461b0,_0x2cc982])=>{_0x46cc6d(_0x5461b0),_0x1c11e4(_0x2cc982);}):_0x46cc6d(window[_0x490e25([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x348c07));}return _0x1c11e4(_0x385d57),_0x53ef0a>>>0x0;}function _0x4bf692(_0x2e15a6){return _0x2e15a6[_0x490e25([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x490e25([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x490e25([0x30]));}function _0x4fed9b(_0x8f5a40){return _0x8f5a40[_0x490e25([0x73,0x70,0x6c,0x69,0x74])]('')[_0x490e25([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x490e25([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c6cd1(){}function _0x490e25(_0x49d2c6){return _0x49d2c6['map'](_0x4b9fcd=>String['fromCharCode'](_0x4b9fcd))['join']('');}_0x599ade(await _0xcdbe66());}(this);}['_initSchema'](){const _0x4e316e=this['editor']['model']['schema'];_0x4e316e['isRegistered']('imageBlock')&&_0x4e316e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4e316e['isRegistered']('imageInline')&&_0x4e316e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x46d52f=this['editor'];_0x46d52f['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x46d52f['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x30446f=>_0x30446f['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1a14ef=_0x46d52f['commands']['get']('replaceImageSource');_0x1a14ef&&this['listenTo'](_0x1a14ef,'cleanupImage',(_0x50eb21,[_0x3693ce,_0x5bc22d])=>{_0x3693ce['removeAttribute']('uploadcareImageId',_0x5bc22d);});}['_initConfig'](){const _0x4a6c24=this['editor']['config']['get']('uploadcare.uploader')||{},_0x499217=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x55a0d5(_0xaf2c9f['document'],'uc-config',{..._0x4a6c24,'pubkey':_0x499217,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x27cdcb=>{if('closeMax'==_0x27cdcb)return'#uc-icon-arrow-down';},_0xaf2c9f['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x55a0d5(_0xaf2c9f['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0xaf2c9f['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xc6c980=this['editor']['commands']['get']('insertImage');_0xc6c980&&this['listenTo'](_0xc6c980,'execute',()=>{const _0x3c845c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3c845c&&_0x3c845c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x3c845c);});});const _0x25b165=this['editor']['commands']['get']('uploadcareImageReplace');_0x25b165&&this['listenTo'](_0x25b165,'execute',()=>{const _0x56af88=this['editor']['model']['document']['selection']['getSelectedElement']();_0x56af88&&_0x56af88['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x56af88);});});}}class u extends _0x579796{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3141d3){super(_0x3141d3),_0x3141d3['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x1afe7e['defineComponents'](_0x1afe7e);}}class ta extends _0xc240f8{constructor(_0x382008){super(_0x382008);const t=_0x382008['t'],_0x228189=this['bindTemplate'],_0x22860c=new _0xd33dee();_0x22860c['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':[_0x22860c,{'text':_0x228189['to']('imageUploadProgress',_0x204d58=>t('Loading\x20image...')+'\x20('+(_0x204d58||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0xc240f8{constructor(_0x3236be){super(_0x3236be);const t=_0x3236be['t'];this['set']('errorType',null);const _0x1d12e5=new _0x4bb153(_0x3236be);_0x1d12e5['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1d12e5['withText']=!0x0,_0x1d12e5['class']='ck-button-action',_0x1d12e5['on']('execute',()=>{this['fire']('retry');}),_0x1d12e5['bind']('isVisible')['to'](this,'errorType',_0x4c2db4=>'NotFound'!==_0x4c2db4);const _0x3c4817=new at();_0x3c4817['content']=et,_0x3c4817['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3832b7=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':[_0x3c4817,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3832b7['to']('errorType',_0x3b3add=>t('NotFound'!==_0x3b3add?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1d12e5]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0xc240f8{constructor(_0x58eea1,_0x32a329){super(_0x58eea1);const _0x124a43=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x32a329,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x124a43['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x104956,_0x22909d,_0x18b895){super(_0x104956),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x104956),this['_errorView']=new rt(_0x104956),this['_editingView']=new tt(_0x104956,_0x18b895),this['_focusableView']=new _0xc240f8(_0x104956),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x22909d),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'],_0x324022=>{this['_addUploadcareImageEditorListeners'](_0x324022);});}),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'](_0x836186,_0x1fc49b){const _0x586993='uc-cloud-image-editor',_0x19c36d=_0x836186['querySelector'](_0x586993);if(_0x19c36d)return _0x1fc49b(_0x19c36d);const _0x1f9c69=new MutationObserver(_0x29dc5e=>{const _0x36a5e8=_0x29dc5e['filter'](_0x58cc39=>_0x58cc39['target']===_0x836186&&_0x58cc39['addedNodes']['length']>0x0&&_0x58cc39['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x586993);_0x36a5e8['length']&&(_0x1f9c69['disconnect'](),_0x1fc49b(_0x36a5e8[0x0]['addedNodes'][0x0]));});_0x1f9c69['observe'](_0x836186,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x437860){_0x437860['addEventListener']('apply',_0x257f64=>{this['fire']('apply',{'imageSrc':_0x257f64['detail']['cdnUrl']});}),_0x437860['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x27d4f2(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5aa29b,_0x1cfc19,_0x531264){super(),this['_editor']=_0x5aa29b,this['_dialog']=_0x1cfc19,this['_imageElement']=_0x531264,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 _0x2e7967=this['_imageElement'],_0x407982=_0x2e7967['getAttribute']('uploadcareImageId'),_0x19438a=_0x2e7967['getAttribute']('src');if(_0x407982)await this['_loadImageInfo'](_0x407982,_0x19438a);else{if(this['_imageCache']['has'](_0x19438a)){const _0x24ff75=this['_imageCache']['get'](_0x19438a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x24ff75['url'],this['imageDimension']=_0x24ff75['dimension'],this['imageId']=_0x24ff75['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x31858b}=this['_editor'],t=_0x31858b['t'],_0x5b4d89=new Z(_0x31858b,this['imageStatus'],this['_attributes']);_0x5b4d89['bind']('status')['to'](this,'imageStatus'),_0x5b4d89['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5b4d89['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5b4d89['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5b4d89,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2ffd7f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5b4d89,'position':_0x3ee01f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5b4d89['focus']();},'onHide':()=>{_0x5b4d89['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5119d2=>!F(_0x5119d2,_0x5b4d89['element'])}});}['_loadImageInfo'](_0x5e5def,_0x3bb76a){return C['getInfo'](_0x5e5def,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4c2f14=>{const {width:_0x216911,height:_0x25d18a}=_0x4c2f14['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3bb76a,this['imageDimension']={'width':_0x216911,'height':_0x25d18a},this['imageId']=_0x5e5def;})['catch'](_0x5ccb81=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5ccb81['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x44ea20,_0x4a3f66){return this['_getImageAsFile'](_0x44ea20)['then'](_0x1796c2=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4a3f66['signal'],'file':_0x1796c2,'onProgress':_0x30b743=>{_0x30b743&&_0x30b743['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x30b743['value']));}}))['then'](_0x23517d=>{const {width:_0x54ad4,height:_0x5709ac}=_0x23517d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23517d['cdnUrl'],this['imageDimension']={'width':_0x54ad4,'height':_0x5709ac},this['imageId']=_0x23517d['uuid'],this['imageUploadProgress']=null;const _0x5336c0=_0x44ea20['getAttribute']('src');this['_imageCache']['set'](_0x5336c0,{'id':_0x23517d['uuid'],'url':_0x23517d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1701af=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1701af['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x473abd,_0xa18fe4){_0x473abd['on']('apply',(_0xb9469d,_0x5ccafb)=>{this['_replaceImage'](_0xa18fe4,_0x5ccafb['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x473abd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x473abd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5606a6,_0xfc8805,_0x1757fc){const _0x51f051=this['_editor'],{width:_0x137917,height:_0x55ee95}=A(_0xfc8805,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2d166f,imageSources:_0x573cee}=E(_0xfc8805,_0x137917);_0x51f051['model']['change'](_0x425ca7=>{if('$graveyard'===_0x5606a6['root']['rootName']){_0x51f051['execute']('insertImage',{'imageType':_0x5606a6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5606a6['getAttributes']()),'uploadcareImageId':_0x1757fc,'src':_0x2d166f,'sources':_0x573cee,'width':_0x137917,'height':_0x55ee95}});const _0x58f9e4=_0x5606a6['getChildren']();_0x5606a6=_0x51f051['model']['document']['selection']['getSelectedElement']();for(const _0x486ec7 of _0x58f9e4)_0x425ca7['append'](_0x425ca7['cloneElement'](_0x486ec7),_0x5606a6);}else _0x425ca7['setSelection'](_0x5606a6,'on'),_0x51f051['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5606a6['getAttributes']()),'uploadcareImageId':_0x1757fc,'src':_0x2d166f,'sources':_0x573cee,'width':_0x137917,'height':_0x55ee95},_0x5606a6);_0x425ca7['setSelection'](_0x5606a6,'on');});}async['_getImageAsFile'](_0x4bcaaf){const _0x3d4ee4=_0xaf2c9f['window'],_0x3dc27d=_0xaf2c9f['document']['location']['href'],_0x39e7a1=new _0x3d4ee4['URL'](_0x4bcaaf['getAttribute']('src'),_0x3dc27d);if('data:'===_0x39e7a1['protocol']){const _0x55ee1c=_0x39e7a1['href']['split'](','),_0x561743=_0x55ee1c[0x0]['match'](/:(.*?);/)[0x1],_0x18a93b=_0x561743['split']('/')[0x1],_0x36102d=_0x3d4ee4['atob'](_0x55ee1c[_0x55ee1c['length']-0x1]);let _0x178e16=_0x36102d['length'];const _0x29292c=new _0x3d4ee4['Uint8Array'](_0x178e16);for(;_0x178e16--;)_0x29292c[_0x178e16]=_0x36102d['charCodeAt'](_0x178e16);return new _0x3d4ee4['File']([_0x29292c],'image.'+_0x18a93b,{'type':_0x561743});}const _0x3f49c4=_0x39e7a1['href']['split']('/'),_0xf4c0ef=_0x3f49c4[_0x3f49c4['length']-0x1],_0x553ab2=_0xf4c0ef['split']('.')[0x1];return _0x3d4ee4['fetch'](_0x39e7a1['href'])['then'](_0x480f7a=>_0x480f7a['clone']()['blob']())['then'](_0x15ceee=>new _0x3d4ee4['File']([_0x15ceee],_0xf4c0ef,{'type':'image/'+_0x553ab2}));}}class J extends _0x340d8a{['imageEditController'];static get['requires'](){return[_0x4cdc5f];}['_isEditable'];constructor(_0x31f6d7){super(_0x31f6d7),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x292bb0){const _0x2c5265=V(_0x292bb0);return _0x35c9bc=>!(!_0x35c9bc||!_0x35c9bc['is']('element','imageBlock')&&!_0x35c9bc['is']('element','imageInline'))&&(!!_0x35c9bc['hasAttribute']('uploadcareImageId')||!!_0x35c9bc['hasAttribute']('src')&&_0x2c5265(_0x35c9bc['getAttribute']('src')));}(_0x31f6d7['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x52cd20=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x52cd20);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x46d64f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x46d64f&&(_0x46d64f['is']('element','imageBlock')||_0x46d64f['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x4cdc5f),_0x46d64f),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x340d8a{['refresh'](){const _0x4bd047=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4bd047&&(_0x4bd047['is']('element','imageBlock')||_0x4bd047['is']('element','imageInline')));}['execute'](_0x34ffef){const _0x4b68b2=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x57e6df=>{_0x57e6df['setAttributes'](_0x34ffef,_0x4b68b2),_0x57e6df['removeAttribute']('srcset',_0x4b68b2),_0x57e6df['removeAttribute']('sizes',_0x4b68b2);});}}class g extends _0x579796{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x2d95ff,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4c8ed8}=this;_0x4c8ed8['commands']['add']('uploadcareImageEdit',new J(_0x4c8ed8)),_0x4c8ed8['commands']['add']('uploadcareImageReplace',new O(_0x4c8ed8));}}class j extends _0x579796{['_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 _0xd88a0d=this['editor'];_0xd88a0d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2173be=>{const _0x35bdb7=_0xd88a0d['commands']['get']('uploadcareImageEdit'),_0x25d816=new _0x4bb153(_0x2173be),t=_0x2173be['t'];return _0x25d816['set']({'icon':_0x2ffd7f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x25d816['bind']('isEnabled')['to'](_0x35bdb7),_0x25d816['bind']('isOn')['to'](_0x35bdb7,'isActive'),this['listenTo'](_0x25d816,'execute',()=>{_0xd88a0d['execute']('uploadcareImageEdit'),_0xd88a0d['editing']['view']['focus']();}),_0x25d816;}),this['_initConfig']();}['_initConfig'](){const _0x1d3a91=_0x55a0d5(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1d3a91),this['listenTo'](this['editor'],'destroy',()=>{_0x1d3a91['remove']();});}}class P extends _0x579796{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x364a31=>0x1!=_0x364a31}};
23
+ export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5adc27=>0x1!=_0x5adc27}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x40ae36=>{const {af:{dictionary:_0x3b7007,getPluralForm:_0x2abb77}}={'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':_0x56c5b3=>0x1!=_0x56c5b3}};_0x40ae36['af']||={'dictionary':{},'getPluralForm':null},_0x40ae36['af']['dictionary']=Object['assign'](_0x40ae36['af']['dictionary'],_0x3b7007),_0x40ae36['af']['getPluralForm']=_0x2abb77;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x537c83=>{const {af:{dictionary:_0x218cce,getPluralForm:_0xf6ebc0}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1afd75=>0x1!=_0x1afd75}};_0x537c83['af']||={'dictionary':{},'getPluralForm':null},_0x537c83['af']['dictionary']=Object['assign'](_0x537c83['af']['dictionary'],_0x218cce),_0x537c83['af']['getPluralForm']=_0xf6ebc0;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x408652=>0x0==_0x408652?0x0:0x1==_0x408652?0x1:0x2==_0x408652?0x2:_0x408652%0x64>=0x3&&_0x408652%0x64<=0xa?0x3:_0x408652%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':_0x19d3ca=>0x0==_0x19d3ca?0x0:0x1==_0x19d3ca?0x1:0x2==_0x19d3ca?0x2:_0x19d3ca%0x64>=0x3&&_0x19d3ca%0x64<=0xa?0x3:_0x19d3ca%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1b964a=>{const {ar:{dictionary:_0xe9f35a,getPluralForm:_0xfe7a8c}}={'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':_0x237ff6=>0x0==_0x237ff6?0x0:0x1==_0x237ff6?0x1:0x2==_0x237ff6?0x2:_0x237ff6%0x64>=0x3&&_0x237ff6%0x64<=0xa?0x3:_0x237ff6%0x64>=0xb?0x4:0x5}};_0x1b964a['ar']||={'dictionary':{},'getPluralForm':null},_0x1b964a['ar']['dictionary']=Object['assign'](_0x1b964a['ar']['dictionary'],_0xe9f35a),_0x1b964a['ar']['getPluralForm']=_0xfe7a8c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1a1783=>{const {ar:{dictionary:_0x314548,getPluralForm:_0x2bfe61}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x2f37db=>0x0==_0x2f37db?0x0:0x1==_0x2f37db?0x1:0x2==_0x2f37db?0x2:_0x2f37db%0x64>=0x3&&_0x2f37db%0x64<=0xa?0x3:_0x2f37db%0x64>=0xb?0x4:0x5}};_0x1a1783['ar']||={'dictionary':{},'getPluralForm':null},_0x1a1783['ar']['dictionary']=Object['assign'](_0x1a1783['ar']['dictionary'],_0x314548),_0x1a1783['ar']['getPluralForm']=_0x2bfe61;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x2fed79=>0x1!=_0x2fed79}};
23
+ export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2763e2=>0x1!=_0x2763e2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4d99ff=>{const {ast:{dictionary:_0x18d9ca,getPluralForm:_0x39c179}}={'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':_0x12ac84=>0x1!=_0x12ac84}};_0x4d99ff['ast']||={'dictionary':{},'getPluralForm':null},_0x4d99ff['ast']['dictionary']=Object['assign'](_0x4d99ff['ast']['dictionary'],_0x18d9ca),_0x4d99ff['ast']['getPluralForm']=_0x39c179;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3041b2=>{const {ast:{dictionary:_0x3e0fba,getPluralForm:_0x57519b}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3e5812=>0x1!=_0x3e5812}};_0x3041b2['ast']||={'dictionary':{},'getPluralForm':null},_0x3041b2['ast']['dictionary']=Object['assign'](_0x3041b2['ast']['dictionary'],_0x3e0fba),_0x3041b2['ast']['getPluralForm']=_0x57519b;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x475b0d=>0x1!=_0x475b0d}};
23
+ export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x561e96=>0x1!=_0x561e96}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2a513c=>{const {az:{dictionary:_0x316615,getPluralForm:_0x4462f0}}={'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':_0x122249=>0x1!=_0x122249}};_0x2a513c['az']||={'dictionary':{},'getPluralForm':null},_0x2a513c['az']['dictionary']=Object['assign'](_0x2a513c['az']['dictionary'],_0x316615),_0x2a513c['az']['getPluralForm']=_0x4462f0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xc49465=>{const {az:{dictionary:_0x655416,getPluralForm:_0x18d53c}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x384a60=>0x1!=_0x384a60}};_0xc49465['az']||={'dictionary':{},'getPluralForm':null},_0xc49465['az']['dictionary']=Object['assign'](_0xc49465['az']['dictionary'],_0x655416),_0xc49465['az']['getPluralForm']=_0x18d53c;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x38650a=>_0x38650a%0xa==0x1&&_0x38650a%0x64!=0xb?0x0:_0x38650a%0xa>=0x2&&_0x38650a%0xa<=0x4&&(_0x38650a%0x64<0xa||_0x38650a%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':_0x476ff6=>_0x476ff6%0xa==0x1&&_0x476ff6%0x64!=0xb?0x0:_0x476ff6%0xa>=0x2&&_0x476ff6%0xa<=0x4&&(_0x476ff6%0x64<0xa||_0x476ff6%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1d210e=>{const {be:{dictionary:_0x16bf36,getPluralForm:_0x3bd9fb}}={'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':_0x9a5d65=>_0x9a5d65%0xa==0x1&&_0x9a5d65%0x64!=0xb?0x0:_0x9a5d65%0xa>=0x2&&_0x9a5d65%0xa<=0x4&&(_0x9a5d65%0x64<0xa||_0x9a5d65%0x64>=0x14)?0x1:0x2}};_0x1d210e['be']||={'dictionary':{},'getPluralForm':null},_0x1d210e['be']['dictionary']=Object['assign'](_0x1d210e['be']['dictionary'],_0x16bf36),_0x1d210e['be']['getPluralForm']=_0x3bd9fb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x52418f=>{const {be:{dictionary:_0x12b853,getPluralForm:_0x422188}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x39fcc2=>_0x39fcc2%0xa==0x1&&_0x39fcc2%0x64!=0xb?0x0:_0x39fcc2%0xa>=0x2&&_0x39fcc2%0xa<=0x4&&(_0x39fcc2%0x64<0xa||_0x39fcc2%0x64>=0x14)?0x1:0x2}};_0x52418f['be']||={'dictionary':{},'getPluralForm':null},_0x52418f['be']['dictionary']=Object['assign'](_0x52418f['be']['dictionary'],_0x12b853),_0x52418f['be']['getPluralForm']=_0x422188;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x5420ac=>0x1!=_0x5420ac}};
23
+ export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x18840=>0x1!=_0x18840}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3f2a56=>{const {bg:{dictionary:_0x559dcc,getPluralForm:_0x569c88}}={'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':_0x3bc0bb=>0x1!=_0x3bc0bb}};_0x3f2a56['bg']||={'dictionary':{},'getPluralForm':null},_0x3f2a56['bg']['dictionary']=Object['assign'](_0x3f2a56['bg']['dictionary'],_0x559dcc),_0x3f2a56['bg']['getPluralForm']=_0x569c88;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x508b50=>{const {bg:{dictionary:_0x1bed30,getPluralForm:_0x26ea1e}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x243596=>0x1!=_0x243596}};_0x508b50['bg']||={'dictionary':{},'getPluralForm':null},_0x508b50['bg']['dictionary']=Object['assign'](_0x508b50['bg']['dictionary'],_0x1bed30),_0x508b50['bg']['getPluralForm']=_0x26ea1e;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x347494=>0x1!=_0x347494}};
23
+ export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x56815e=>0x1!=_0x56815e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x48b934=>{const {bn:{dictionary:_0xb6aa2b,getPluralForm:_0x433967}}={'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':_0x430cb6=>0x1!=_0x430cb6}};_0x48b934['bn']||={'dictionary':{},'getPluralForm':null},_0x48b934['bn']['dictionary']=Object['assign'](_0x48b934['bn']['dictionary'],_0xb6aa2b),_0x48b934['bn']['getPluralForm']=_0x433967;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5edceb=>{const {bn:{dictionary:_0x51d72f,getPluralForm:_0x326138}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x2a9ae4=>0x1!=_0x2a9ae4}};_0x5edceb['bn']||={'dictionary':{},'getPluralForm':null},_0x5edceb['bn']['dictionary']=Object['assign'](_0x5edceb['bn']['dictionary'],_0x51d72f),_0x5edceb['bn']['getPluralForm']=_0x326138;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0xe7ee07=>_0xe7ee07%0xa==0x1&&_0xe7ee07%0x64!=0xb?0x0:_0xe7ee07%0xa>=0x2&&_0xe7ee07%0xa<=0x4&&(_0xe7ee07%0x64<0xa||_0xe7ee07%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':_0x4e5769=>_0x4e5769%0xa==0x1&&_0x4e5769%0x64!=0xb?0x0:_0x4e5769%0xa>=0x2&&_0x4e5769%0xa<=0x4&&(_0x4e5769%0x64<0xa||_0x4e5769%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x36d66f=>{const {bs:{dictionary:_0x3e1129,getPluralForm:_0x55583b}}={'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':_0x35f57e=>_0x35f57e%0xa==0x1&&_0x35f57e%0x64!=0xb?0x0:_0x35f57e%0xa>=0x2&&_0x35f57e%0xa<=0x4&&(_0x35f57e%0x64<0xa||_0x35f57e%0x64>=0x14)?0x1:0x2}};_0x36d66f['bs']||={'dictionary':{},'getPluralForm':null},_0x36d66f['bs']['dictionary']=Object['assign'](_0x36d66f['bs']['dictionary'],_0x3e1129),_0x36d66f['bs']['getPluralForm']=_0x55583b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x25c4ff=>{const {bs:{dictionary:_0x3ca1d4,getPluralForm:_0x2e1328}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x8e91c2=>_0x8e91c2%0xa==0x1&&_0x8e91c2%0x64!=0xb?0x0:_0x8e91c2%0xa>=0x2&&_0x8e91c2%0xa<=0x4&&(_0x8e91c2%0x64<0xa||_0x8e91c2%0x64>=0x14)?0x1:0x2}};_0x25c4ff['bs']||={'dictionary':{},'getPluralForm':null},_0x25c4ff['bs']['dictionary']=Object['assign'](_0x25c4ff['bs']['dictionary'],_0x3ca1d4),_0x25c4ff['bs']['getPluralForm']=_0x2e1328;})(window['CKEDITOR_TRANSLATIONS']||={});