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

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 _0x51d2c2,Command as _0x53a992}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x34bda8,IconGooglePhotos as _0xb28644,IconGoogleDrive as _0x5ccc89,IconFacebook as _0x1ce038,IconDropbox as _0x4b808f,IconUploadcareLink as _0x55ebaf,IconUploadcareImageUpload as _0x503133,IconError as et,IconUploadcareImageEdit as _0x5168cc}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xb353b7,MenuBarMenuListItemButtonView as _0x426d7b,View as _0xc7085c,FocusCycler as _0x4ca061,Dialog as _0x54803f,DialogViewPosition as _0x1727e4,SpinnerView as _0x26790e,IconView as at,Notification as _0x16cbba}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xa8411e,DomEmitterMixin as _0x35653e,global as _0x229b46,getAncestors as _0x478211,ObservableMixin as _0x4207ba,createElement as _0x57394b,uid as _0x31aef3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x309f36}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xf405ce,info as _0x34960e}from'@uploadcare/upload-client';import*as _0x121411 from'@uploadcare/file-uploader';var o=function(_0x4c1d16){return _0x4c1d16['Local']='local',_0x4c1d16['URL']='url',_0x4c1d16['Dropbox']='dropbox',_0x4c1d16['GDrive']='gdrive',_0x4c1d16['Facebook']='facebook',_0x4c1d16['GPhotos']='gphotos',_0x4c1d16['OneDrive']='onedrive',_0x4c1d16;}({});function _(_0x55aebb,_0x5c0368,_0x498de5){const t=_0x55aebb['t'],_0x26a1a1=_0x55aebb['t'];switch(_0x5c0368){case o['Local']:return{'text':_0x26a1a1('Insert'===_0x498de5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x26a1a1('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x498de5?_0x26a1a1('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x26a1a1('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x498de5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x498de5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x498de5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x498de5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x498de5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5c0368;}}class e extends _0x51d2c2{['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 _0x4204c5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x389b2e;for(const _0x5e8ffd in _0x4204c5){const _0x3e18d2=_0x5e8ffd,_0x30865d=_0x4204c5[_0x3e18d2];if('uploadcareLicenseKeyValid'==_0x30865d||'uploadcareLicenseKeyInvalid'==_0x30865d||'uploadcareLicenseKeyExpired'==_0x30865d||'uploadcareLicenseKeyDomainLimit'==_0x30865d||'uploadcareLicenseKeyNotAllowed'==_0x30865d||'uploadcareLicenseKeyEvaluationLimit'==_0x30865d||'uploadcareLicenseKeyTrialLimit'==_0x30865d||'uploadcareLicenseKeyUsageLimit'==_0x30865d){delete _0x4204c5[_0x3e18d2],_0x389b2e=_0x30865d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x389b2e&&_0x4204c5['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x389b2e&&_0x4204c5['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x389b2e&&_0x4204c5['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x389b2e&&_0x4204c5['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x389b2e&&_0x4204c5['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x389b2e&&_0x4204c5['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x389b2e&&_0x4204c5['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x462ac9}=this,_0x374ed6=_0x462ac9['commands']['get']('uploadcare');if(!_0x374ed6)return;const _0x51979d=this['_normalizeConfigSourceList'](_0x462ac9['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3dd520,_0x1a1b53)=>{const _0x3eb8e3=this['_getIntegrationKey'](_0x1a1b53['type']);return _0x3dd520[_0x3eb8e3]||(_0x3dd520[_0x3eb8e3]=[]),_0x3dd520[_0x3eb8e3]['push'](_0x1a1b53),_0x3dd520;},{});_0x462ac9['plugins']['has']('ImageInsertUI')&&_0x462ac9['commands']['get']('uploadcare')&&Object['entries'](_0x51979d)['forEach'](([_0xaa2a4d,_0x30d07d])=>{_0x462ac9['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xaa2a4d,'observable':()=>_0x374ed6,'buttonViewCreator':()=>this['_createToolbarButton'](_0x30d07d),'formViewCreator':()=>this['_createDropdownButtons'](_0x30d07d),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x30d07d),'override':'assetManager'!==_0xaa2a4d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x271da4){const {locale:_0xce9c71}=this['editor'];return _0x271da4['map'](_0x1ff064=>{const _0x15dfa3=_(_0xce9c71,_0x1ff064,'Insert');switch(_0x1ff064){case o['Local']:return{'icon':_0x503133,'type':o['Local'],..._0x15dfa3};case o['URL']:return{'icon':_0x55ebaf,'type':o['URL'],..._0x15dfa3};case o['Dropbox']:return{'icon':_0x4b808f,'type':o['Dropbox'],..._0x15dfa3};case o['Facebook']:return{'icon':_0x1ce038,'type':o['Facebook'],..._0x15dfa3};case o['GDrive']:return{'icon':_0x5ccc89,'type':o['GDrive'],..._0x15dfa3};case o['GPhotos']:return{'icon':_0xb28644,'type':o['GPhotos'],..._0x15dfa3};case o['OneDrive']:return{'icon':_0x34bda8,'type':o['OneDrive'],..._0x15dfa3};}});}['_getIntegrationKey'](_0x5e5369){switch(_0x5e5369){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x359da5,_0x43be3c){const _0x643d60=this['editor'],_0x3d469b=new _0x359da5(_0x643d60['locale']),_0x581b5b=_0x643d60['commands']['get']('uploadcare');return _0x3d469b['bind']('isEnabled')['to'](_0x581b5b),_0x3d469b['on']('execute',()=>{_0x581b5b['execute'](_0x43be3c);}),_0x3d469b;}['_createToolbarButton'](_0x4ae028){const {locale:_0x2caae7}=this['editor'],_0x1eb80d=this['editor']['plugins']['get']('ImageInsertUI'),_0x240452=_0x4ae028[0x0],_0x10f72f=this['_createButton'](_0xb353b7,_0x240452['type']);return _0x10f72f['icon']=_0x240452['icon'],_0x10f72f['bind']('label')['to'](_0x1eb80d,'isImageSelected',_0xe86278=>_(_0x2caae7,_0x240452['type'],_0xe86278?'Replace':'Insert')['text']),_0x10f72f['tooltip']=!0x0,_0x10f72f;}['_createDropdownButtons'](_0x57d312){const {locale:_0x2613d0}=this['editor'],_0x44bed2=this['editor']['plugins']['get']('ImageInsertUI');return _0x57d312['map'](_0x49ecc3=>{const _0x513126=this['_createButton'](_0xb353b7,_0x49ecc3['type']);return _0x513126['withText']=!0x0,_0x513126['icon']=_0x49ecc3['icon'],_0x513126['bind']('label')['to'](_0x44bed2,'isImageSelected',_0x84ffcd=>_(_0x2613d0,_0x49ecc3['type'],_0x84ffcd?'Replace':'Insert')['text']),_0x513126;});}['_createMenuBarButtons'](_0x59f196){return _0x59f196['map'](_0x56a00f=>{const _0x461a8c=this['_createButton'](_0x426d7b,_0x56a00f['type']);return _0x461a8c['icon']=_0x56a00f['icon'],_0x461a8c['label']=_0x56a00f['shortText'],_0x461a8c;});}}class q extends _0xc7085c{['focusTracker'];['focusCycler'];constructor(_0x121c0d){super(_0x121c0d),this['focusTracker']=new _0xa8411e(),this['focusCycler']=new _0x4ca061({'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(_0x32f840){super(_0x32f840),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(_0x5267ca,_0x55d8dd){const _0x276ffb=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x153d48=>_0x153d48<=_0x55d8dd)['map'](_0x196ffb=>_0x5267ca['replace'](/\/$/,'')+'/-/resize/'+_0x196ffb+'x/\x20'+_0x196ffb+'w');return{'imageFallbackUrl':_0x5267ca,'imageSources':[{'srcset':_0x276ffb['join'](',\x20'),'sizes':'(max-width:\x20'+_0x55d8dd+'px)\x20100vw,\x20'+_0x55d8dd+'px','type':'image/webp'}]};}function A(_0x43e7d5,_0x5a3b1c,_0x509f83){const _0x95ea3e=_0x43e7d5['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x95ea3e?parseInt(_0x95ea3e[0x1],0xa):_0x5a3b1c,'height':_0x95ea3e?parseInt(_0x95ea3e[0x2],0xa):_0x509f83};}function m(_0x1894a8,_0x25eecf){const _0xa6701e=Object['create'](_0x35653e),_0x24c930=_0x1894a8['plugins']['get']('ImageUtils'),_0x1f5e92=_0x1894a8['editing']['mapper']['toViewElement'](_0x25eecf),_0x26e174=_0x24c930['findViewImgElement'](_0x1f5e92),_0x48806b=_0x1894a8['editing']['view']['domConverter']['viewToDom'](_0x26e174),_0x3e5046=_0x25eecf['getAttribute']('width'),_0x1b5b3f=_0x25eecf['getAttribute']('height'),_0x2dfb89='image-processing';_0x1894a8['editing']['view']['change'](_0x410c57=>{_0x410c57['addClass'](_0x2dfb89,_0x1f5e92),_0x410c57['setStyle']('aspect-ratio',_0x3e5046+'/'+_0x1b5b3f,_0x26e174);}),_0xa6701e['listenTo'](_0x48806b,'load',()=>{_0xa6701e['stopListening'](_0x48806b,'load'),_0x1894a8['editing']['view']['change'](_0x492e23=>{_0x492e23['removeClass'](_0x2dfb89,_0x1f5e92),_0x492e23['removeStyle']('aspect-ratio',_0x26e174);});});}function V(_0xc207a2){if(Array['isArray'](_0xc207a2)){const _0x32cf6b=_0xc207a2['map'](V);return _0x2ce710=>_0x32cf6b['some'](_0x746a82=>_0x746a82(_0x2ce710));}if('origin'==_0xc207a2){const _0xab7101=_0x229b46['window']['location']['origin'];return _0x244f3f=>new URL(_0x244f3f,_0x229b46['document']['baseURI'])['origin']==_0xab7101;}return'function'==typeof _0xc207a2?_0xc207a2:_0xc207a2 instanceof RegExp?_0x53b86a=>!(!_0x53b86a['match'](_0xc207a2)&&!_0x53b86a['replace'](/^https?:\/\//,'')['match'](_0xc207a2)):()=>!0x1;}function F(_0x5307de,_0x6e8436){return _0x478211(_0x5307de['target'])['includes'](_0x6e8436);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x4207ba(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x110353,_0x5ac942,_0x5d5dba){super(),this['_editor']=_0x110353,this['_editing']=_0x5ac942,this['_dialog']=_0x110353['plugins']['get'](_0x54803f),this['_api']=_0x5ac942['ctxElement']['getAPI'](),this['_type']=_0x5d5dba,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:_0x3bba9d,model:_0x16016b}=this['_editor'],_0x1edec9=_0x16016b['document']['selection']['getSelectedElement'](),_0x2074b8=_0x1edec9&&(_0x1edec9['is']('element','imageBlock')||_0x1edec9['is']('element','imageInline'));this['_formView']=new S(_0x3bba9d),this['_dialog']['show']({'id':'uploadCare','icon':_0x503133,'title':_(_0x3bba9d,this['_type'],_0x2074b8?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1727e4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x29f501=>!F(_0x29f501,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x56871b}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5f3b1c=>{const _0x36109f=_0x56871b['length'];for(const _0x14f4dd of _0x56871b){const _0x3a6a28=_0x14f4dd===_0x56871b[_0x36109f-0x1],{cdnUrl:_0x27b171,fileInfo:_0x5e63c5}=_0x14f4dd;if(!_0x27b171||!_0x5e63c5)continue;const {width:_0x4af2eb,height:_0x464720}=_0x5e63c5['imageInfo'],_0x458292=A(_0x27b171,_0x4af2eb,_0x464720),_0x2511b4=E(_0x27b171,_0x458292['width']),_0x116591={'id':_0x5e63c5['uuid'],'type':'image','attributes':{'imageDimension':_0x458292,..._0x2511b4}};this['_insertAsset'](_0x116591,_0x3a6a28,_0x5f3b1c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3a4e1f=>{'idle'===_0x3a4e1f['detail']['status']&&!_0x3a4e1f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x163c15,_0x2c06d0,_0x30fb2c){const _0x20216d=this['_editor']['model']['document']['selection'],_0x2a0371=_0x20216d['getSelectedElement'](),_0x87dfba=!(!_0x2a0371||!_0x2a0371['is']('element','imageInline'));_0x30fb2c['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x163c15,_0x87dfba),_0x2c06d0||_0x30fb2c['setSelection'](_0x20216d['getLastPosition']());}['_insertImage'](_0x1a8c33,_0x236f19){const _0x25d17e=this['_editor'],{imageDimension:_0x49476a,imageFallbackUrl:_0x1a8d8e,imageSources:_0x4a870b}=_0x1a8c33['attributes'];_0x25d17e['execute']('insertImage',{'imageType':_0x236f19?'imageInline':null,'source':{'uploadcareImageId':_0x1a8c33['id'],'src':_0x1a8d8e,'sources':_0x4a870b,..._0x49476a}});}}class n extends _0x53a992{['_editing'];['_controller']=null;static get['requires'](){return[_0x54803f,i];}constructor(_0x27ac9f){super(_0x27ac9f),this['_editing']=_0x27ac9f['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2917f7){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x2917f7);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x11c4d6,publicKey:_0x4ed533,signal:_0x30465e,onProgress:_0x2d8273}){return _0xf405ce(_0x11c4d6,{'publicKey':_0x4ed533,'store':'auto','signal':_0x30465e,'onProgress':_0x2d8273});}static['getInfo'](_0x30a776,_0x503620){return _0x34960e(_0x30a776,_0x503620);}}class p extends _0x51d2c2{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x309f36,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1fcefc=this['editor'];if(!!!_0x1fcefc['config']['get']('uploadcare'))return;_0x1fcefc['plugins']['get'](_0x309f36)['createUploadAdapter']=_0x2d0060=>new x(_0x2d0060,_0x1fcefc),_0x1fcefc['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x37de26,{imageElement:_0x4848dd,data:_0x333940})=>{_0x1fcefc['model']['change'](_0x740a1f=>{_0x740a1f['setAttribute']('uploadcareImageId',_0x333940['uploadcareImageId'],_0x4848dd);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x15a711,_0x28c22d){this['loader']=_0x15a711,this['editor']=_0x28c22d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x37559b=this['editor']['config']['get']('uploadcare.pubkey'),_0x56805d=await this['loader']['file'];return C['upload']({'file':_0x56805d,'publicKey':_0x37559b,'signal':this['controller']['signal'],'onProgress':_0x372a89=>{_0x372a89&&_0x372a89['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x372a89['value']);}})['then'](async _0x6dd62b=>{const {imageFallbackUrl:_0x28c232,imageSources:_0x5748e7}=E(_0x6dd62b['cdnUrl'],_0x6dd62b['imageInfo']['width']);return{'uploadcareImageId':_0x6dd62b['uuid'],'default':_0x28c232,'sources':_0x5748e7};})['catch'](()=>{const _0x201c81=t('Cannot\x20upload\x20file:')+('\x20'+_0x56805d['name']+'.');return Promise['reject'](_0x201c81);});}['abort'](){this['controller']['abort']();}}class i extends _0x51d2c2{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x54803f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x191f9e=this['editor'];_0x191f9e['commands']['add']('uploadcare',new n(_0x191f9e));}['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 _0x1c7088=_0x229b46['document']['querySelector']('input[uploadcare-file-input]');_0x1c7088&&_0x1c7088['remove']();}),async function(_0x5aa2b4){const _0x49d51f=_0x168fb4([0x6a,0x55,0x33,0x38,0x65,0x4a,0x5a,0x71,0x36,0x56,0x74,0x59,0x6f,0x35,0x4c,0x63,0x75,0x72,0x50,0x78,0x76,0x7a,0x49,0x30,0x47,0x68,0x32,0x6c,0x4d,0x43,0x62,0x46,0x79,0x45,0x41,0x39,0x57,0x61,0x53,0x51,0x6d,0x58,0x31,0x69,0x4b,0x66,0x6b,0x34,0x77,0x42,0x73,0x64,0x54,0x44,0x6e,0x37,0x52,0x70,0x4e,0x48,0x4f,0x67]),_0x280df6=0x7ad1b780,_0x1afe14=0x7ad6dcc8^_0x280df6,_0x28605e=window[_0x168fb4([0x44,0x61,0x74,0x65])][_0x168fb4([0x6e,0x6f,0x77])](),_0x3a5429=_0x5aa2b4[_0x168fb4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x349785=new window[(_0x168fb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29db8a=>{_0x3a5429[_0x168fb4([0x6f,0x6e,0x63,0x65])](_0x168fb4([0x72,0x65,0x61,0x64,0x79]),_0x29db8a);}),_0x5a6abc={[_0x168fb4([0x6b,0x74,0x79])]:_0x168fb4([0x45,0x43]),[_0x168fb4([0x75,0x73,0x65])]:_0x168fb4([0x73,0x69,0x67]),[_0x168fb4([0x63,0x72,0x76])]:_0x168fb4([0x50,0x2d,0x32,0x35,0x36]),[_0x168fb4([0x78])]:_0x168fb4([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]),[_0x168fb4([0x79])]:_0x168fb4([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]),[_0x168fb4([0x61,0x6c,0x67])]:_0x168fb4([0x45,0x53,0x32,0x35,0x36])},_0x50c232=_0x3a5429[_0x168fb4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x168fb4([0x67,0x65,0x74])](_0x168fb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c5285(){let _0x8950dc,_0x1c289b=null,_0x10a74e=null;try{if(_0x50c232==_0x168fb4([0x47,0x50,0x4c]))return _0x168fb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8950dc=_0x1010d2(),!_0x8950dc)return _0x168fb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8950dc[_0x168fb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10a74e=_0x1222e3(_0x8950dc[_0x168fb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8950dc[_0x168fb4([0x6a,0x74,0x69])])),await _0x4fb8c9()?_0x5e3f5e()?_0x5ef6b4()?_0x168fb4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1c6e93()?(_0x8950dc[_0x168fb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x168fb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c289b=_0x1bb0ce(_0x168fb4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8950dc[_0x168fb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x168fb4([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c289b=_0x1bb0ce(_0x168fb4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1eb8b7()):_0x168fb4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x168fb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x168fb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x168fb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5ef6b4(){const _0x2bb7a5=[_0x168fb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x168fb4([0x74,0x72,0x69,0x61,0x6c])][_0x168fb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8950dc[_0x168fb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x28605e/0x3e8:0xe10*_0x1afe14;return _0x8950dc[_0x168fb4([0x65,0x78,0x70])]<_0x2bb7a5;}function _0x5e3f5e(){const _0x3cdfd0=_0x8950dc[_0x168fb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3cdfd0&&(!!_0x3cdfd0[_0x168fb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x168fb4([0x2a]))||!!_0x3cdfd0[_0x168fb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x168fb4([0x55,0x50,0x4c,0x43])));}function _0x1c6e93(){const _0x2ab8ad=_0x8950dc[_0x168fb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ab8ad||0x0==_0x2ab8ad[_0x168fb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d4100}=new URL(window[_0x168fb4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2ab8ad[_0x168fb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d4100))return!0x0;const _0x1a1772=_0x3d4100[_0x168fb4([0x73,0x70,0x6c,0x69,0x74])](_0x168fb4([0x2e]));return _0x2ab8ad[_0x168fb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45955b=>_0x45955b[_0x168fb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x168fb4([0x2a])))[_0x168fb4([0x6d,0x61,0x70])](_0x566745=>_0x566745[_0x168fb4([0x73,0x70,0x6c,0x69,0x74])](_0x168fb4([0x2e])))[_0x168fb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ad6d8=>_0x5ad6d8[_0x168fb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a1772[_0x168fb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x168fb4([0x6d,0x61,0x70])](_0x16ceb8=>Array(_0x1a1772[_0x168fb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x16ceb8[_0x168fb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x168fb4([0x66,0x69,0x6c,0x6c])](_0x16ceb8[0x0]===_0x168fb4([0x2a])?_0x168fb4([0x2a]):'')[_0x168fb4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x16ceb8))[_0x168fb4([0x73,0x6f,0x6d,0x65])](_0x28734a=>_0x1a1772[_0x168fb4([0x65,0x76,0x65,0x72,0x79])]((_0x280fed,_0x59bf93)=>_0x28734a[_0x59bf93]===_0x280fed||_0x28734a[_0x59bf93]===_0x168fb4([0x2a])));}function _0x1eb8b7(){return _0x1c289b&&_0x10a74e?new window[(_0x168fb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x334b1a,_0x149777)=>{_0x1c289b[_0x168fb4([0x74,0x68,0x65,0x6e])](_0x334b1a,_0x149777),_0x10a74e[_0x168fb4([0x74,0x68,0x65,0x6e])](_0x12362a=>{_0x12362a!=_0x168fb4([0x56,0x61,0x6c,0x69,0x64])&&_0x334b1a(_0x12362a);},_0x149777);}):_0x1c289b||_0x10a74e||_0x168fb4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1222e3(_0x189b69,_0x425efd){return new window[(_0x168fb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56b522=>{if(_0x435116())return _0x56b522(_0x168fb4([0x56,0x61,0x6c,0x69,0x64]));_0x12543e(),_0x3a5429[_0x168fb4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x168fb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8713fb=!0x1;const _0x56a9d5=_0x31aef3();function _0x136389(_0x4f17de){return!!_0x4f17de&&(typeof _0x4f17de===_0x168fb4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f17de===_0x168fb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f17de[_0x168fb4([0x74,0x68,0x65,0x6e])]===_0x168fb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f17de[_0x168fb4([0x63,0x61,0x74,0x63,0x68])]===_0x168fb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57ecd6(_0x3de8da){_0x58ad2d(_0x3de8da)[_0x168fb4([0x74,0x68,0x65,0x6e])](_0x3f8116=>{if(!_0x3f8116||_0x3f8116[_0x168fb4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x168fb4([0x6f,0x6b]))return _0x168fb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e6239(_0x446097(_0x56a9d5+_0x425efd))!=_0x3f8116[_0x168fb4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x168fb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x168fb4([0x56,0x61,0x6c,0x69,0x64]);})[_0x168fb4([0x74,0x68,0x65,0x6e])](_0x20896e=>(_0x5e8701(),_0x20896e),()=>{const _0x206d18=_0x252fb3();return null==_0x206d18?(_0x5e8701(),_0x168fb4([0x56,0x61,0x6c,0x69,0x64])):_0x168fb4(_0x28605e-_0x206d18>(0x5edd3380^_0x280df6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x168fb4([0x74,0x68,0x65,0x6e])](_0x56b522)[_0x168fb4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x56b522(_0x168fb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x325d67=0x7ae75900^_0x280df6;function _0x5e8701(){const _0x4d42be=_0x168fb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e6239(_0x446097(_0x189b69)),_0x3f5cfc=_0x5d7868(_0x5e6239(window[_0x168fb4([0x4d,0x61,0x74,0x68])][_0x168fb4([0x63,0x65,0x69,0x6c])](_0x28605e/_0x325d67)));window[_0x168fb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x168fb4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d42be,_0x3f5cfc);}function _0x252fb3(){const _0x4dd2ea=_0x168fb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e6239(_0x446097(_0x189b69)),_0x433903=window[_0x168fb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x168fb4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4dd2ea);return _0x433903?window[_0x168fb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d7868(_0x433903),0x10)*_0x325d67:null;}function _0x58ad2d(_0x55a448){return new window[(_0x168fb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xdb6fca,_0x2584ab)=>{_0x55a448[_0x168fb4([0x74,0x68,0x65,0x6e])](_0xdb6fca,_0x2584ab),window[_0x168fb4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2584ab,0x7ad06340^_0x280df6);});}}_0x3a5429[_0x168fb4([0x6f,0x6e])](_0x168fb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ca33a,_0x2bd692)=>{if(_0x2bd692[0x0]!=_0x189b69)return _0x56b522(_0x168fb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2bd692[0x1]={..._0x2bd692[0x1],[_0x168fb4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x56a9d5};},{[_0x168fb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x168fb4([0x68,0x69,0x67,0x68])}),_0x3a5429[_0x168fb4([0x6f,0x6e])](_0x168fb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x23c34c=>{_0x136389(_0x23c34c[_0x168fb4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8713fb=!0x0,_0x57ecd6(_0x23c34c[_0x168fb4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x168fb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x168fb4([0x6c,0x6f,0x77])}),_0x349785[_0x168fb4([0x74,0x68,0x65,0x6e])](()=>{_0x8713fb||_0x56b522(_0x168fb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x435116(){return _0x3a5429[_0x168fb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x168fb4([0x76,0x69,0x65,0x77])][_0x168fb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x168fb4([0x61,0x75,0x74,0x6f]);}function _0x12543e(){_0x3a5429[_0x168fb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x168fb4([0x76,0x69,0x65,0x77])][_0x168fb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x168fb4([0x61,0x75,0x74,0x6f]);}}function _0x1bb0ce(_0x4413b4){const _0x319281=[new window[(_0x168fb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4de790=>setTimeout(_0x4de790,0x7ad8894c^_0x280df6)),_0x349785[_0x168fb4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x168fb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54bee8=>{let _0x1cd5c3=0x0;_0x3a5429[_0x168fb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x168fb4([0x6f,0x6e])](_0x168fb4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4cea8c,_0x2be2b3)=>{_0x2be2b3[0x0][_0x168fb4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1cd5c3++,_0x1cd5c3==(0x7ad1b678^_0x280df6)&&(_0x54bee8(),_0x4cea8c[_0x168fb4([0x6f,0x66,0x66])]());});}))];return window[_0x168fb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x168fb4([0x72,0x61,0x63,0x65])](_0x319281)[_0x168fb4([0x74,0x68,0x65,0x6e])](()=>_0x4413b4);}async function _0x2fc465(){await _0x349785,_0x3a5429[_0x168fb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x168fb4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x452615,_0x3a5429[_0x168fb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x168fb4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x452615,_0x3a5429[_0x168fb4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x168fb4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x228be5(_0x134734){const _0x38ff27=_0x933f48();_0x3a5429[_0x38ff27]=_0x168fb4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x134734,_0x134734!=_0x168fb4([0x56,0x61,0x6c,0x69,0x64])&&_0x2fc465();}function _0x933f48(){const _0x10f020=window[_0x168fb4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x168fb4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x168fb4([0x6e,0x6f,0x77])]())[_0x168fb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x168fb4([0x2e]),'');let _0x3b3ec9=_0x168fb4([0x6a]);for(let _0x4ec164=0x0;_0x4ec164<_0x10f020[_0x168fb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ec164+=0x2){let _0x4120a9=window[_0x168fb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10f020[_0x168fb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ec164,_0x4ec164+0x2));_0x4120a9>=_0x49d51f[_0x168fb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4120a9-=_0x49d51f[_0x168fb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b3ec9+=_0x49d51f[_0x4120a9];}return _0x3b3ec9;}function _0x1010d2(){const _0x4783a0=_0x50c232[_0x168fb4([0x73,0x70,0x6c,0x69,0x74])](_0x168fb4([0x2e]));if(0x3!=_0x4783a0[_0x168fb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3195bd(_0x4783a0[0x1]);function _0x3195bd(_0x2d1efc){const _0xb85e90=_0x405474(_0x2d1efc);return _0xb85e90&&_0x458558()?_0xb85e90:null;function _0x458558(){const _0x557266=_0xb85e90[_0x168fb4([0x6a,0x74,0x69])],_0x33ebfd=window[_0x168fb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x557266[_0x168fb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x557266[_0x168fb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3a3da6={..._0xb85e90,[_0x168fb4([0x6a,0x74,0x69])]:_0x557266[_0x168fb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x557266[_0x168fb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3a3da6[_0x168fb4([0x76,0x63])],_0x446097(_0x3a3da6)==_0x33ebfd;}}}async function _0x4fb8c9(){let _0x1be8b6=!0x0;try{const _0x8b5f47=_0x50c232[_0x168fb4([0x73,0x70,0x6c,0x69,0x74])](_0x168fb4([0x2e])),[_0x5cdfd5,_0x3dfc5d,_0x3280cd]=_0x8b5f47;return _0x335579(_0x5cdfd5),await _0x45357e(_0x5cdfd5,_0x3dfc5d,_0x3280cd),_0x1be8b6;}catch{return!0x1;}function _0x335579(_0x5afdf9){const _0x279c87=_0x405474(_0x5afdf9);_0x279c87&&_0x279c87[_0x168fb4([0x61,0x6c,0x67])]==_0x168fb4([0x45,0x53,0x32,0x35,0x36])||(_0x1be8b6=!0x1);}async function _0x45357e(_0x4a6482,_0x503802,_0x570273){const _0x56145b=window[_0x168fb4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x168fb4([0x66,0x72,0x6f,0x6d])](_0xdb8569(_0x570273),_0x42383b=>_0x42383b[_0x168fb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x37033f=new window[(_0x168fb4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x168fb4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a6482+_0x168fb4([0x2e])+_0x503802),_0x2e7b2e=window[_0x168fb4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x168fb4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e7b2e)return;const _0x166ab8=await _0x2e7b2e[_0x168fb4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x168fb4([0x6a,0x77,0x6b]),_0x5a6abc,{[_0x168fb4([0x6e,0x61,0x6d,0x65])]:_0x168fb4([0x45,0x43,0x44,0x53,0x41]),[_0x168fb4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x168fb4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x168fb4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e7b2e[_0x168fb4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x168fb4([0x6e,0x61,0x6d,0x65])]:_0x168fb4([0x45,0x43,0x44,0x53,0x41]),[_0x168fb4([0x68,0x61,0x73,0x68])]:{[_0x168fb4([0x6e,0x61,0x6d,0x65])]:_0x168fb4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x166ab8,_0x56145b,_0x37033f)||(_0x1be8b6=!0x1);}}function _0x405474(_0x386db7){return _0x386db7[_0x168fb4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x168fb4([0x65,0x79]))?JSON[_0x168fb4([0x70,0x61,0x72,0x73,0x65])](_0xdb8569(_0x386db7)):null;}function _0xdb8569(_0x25000a){return window[_0x168fb4([0x61,0x74,0x6f,0x62])](_0x25000a[_0x168fb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x168fb4([0x2b]))[_0x168fb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x168fb4([0x2f])));}function _0x446097(_0x22bdc5){let _0x37733d=0x1505;function _0x53ee6a(_0x4c5ace){for(let _0x302e2e=0x0;_0x302e2e<_0x4c5ace[_0x168fb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x302e2e++){const _0x108164=_0x4c5ace[_0x168fb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x302e2e);_0x37733d=(_0x37733d<<0x5)+_0x37733d+_0x108164,_0x37733d&=_0x37733d;}}function _0x389f8a(_0x4e844c){Array[_0x168fb4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e844c)?_0x4e844c[_0x168fb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x389f8a):_0x4e844c&&typeof _0x4e844c==_0x168fb4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x168fb4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e844c)[_0x168fb4([0x73,0x6f,0x72,0x74])]()[_0x168fb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37e907,_0x1028fb])=>{_0x53ee6a(_0x37e907),_0x389f8a(_0x1028fb);}):_0x53ee6a(window[_0x168fb4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e844c));}return _0x389f8a(_0x22bdc5),_0x37733d>>>0x0;}function _0x5e6239(_0x577aac){return _0x577aac[_0x168fb4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x168fb4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x168fb4([0x30]));}function _0x5d7868(_0x1cf66b){return _0x1cf66b[_0x168fb4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x168fb4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x168fb4([0x6a,0x6f,0x69,0x6e])]('');}function _0x452615(){}function _0x168fb4(_0x30d1ba){return _0x30d1ba['map'](_0x42b851=>String['fromCharCode'](_0x42b851))['join']('');}_0x228be5(await _0x4c5285());}(this);}['_initSchema'](){const _0xb96ddb=this['editor']['model']['schema'];_0xb96ddb['isRegistered']('imageBlock')&&_0xb96ddb['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xb96ddb['isRegistered']('imageInline')&&_0xb96ddb['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x28fee6=this['editor'];_0x28fee6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x28fee6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4130e1=>_0x4130e1['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x414715=_0x28fee6['commands']['get']('replaceImageSource');_0x414715&&this['listenTo'](_0x414715,'cleanupImage',(_0x5c739f,[_0x24f4e0,_0x4153b4])=>{_0x24f4e0['removeAttribute']('uploadcareImageId',_0x4153b4);});}['_initConfig'](){const _0x3d8ef2=this['editor']['config']['get']('uploadcare.uploader')||{},_0x413f31=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x57394b(_0x229b46['document'],'uc-config',{..._0x3d8ef2,'pubkey':_0x413f31,'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']=_0x5c7c9e=>{if('closeMax'==_0x5c7c9e)return'#uc-icon-arrow-down';},_0x229b46['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x57394b(_0x229b46['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x229b46['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5d1217=this['editor']['commands']['get']('insertImage');_0x5d1217&&this['listenTo'](_0x5d1217,'execute',()=>{const _0x3fda6e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3fda6e&&_0x3fda6e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x3fda6e);});});const _0x473bf2=this['editor']['commands']['get']('uploadcareImageReplace');_0x473bf2&&this['listenTo'](_0x473bf2,'execute',()=>{const _0x1c3ce8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1c3ce8&&_0x1c3ce8['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1c3ce8);});});}}class u extends _0x51d2c2{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x375c7c){super(_0x375c7c),_0x375c7c['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x121411['defineComponents'](_0x121411);}}class ta extends _0xc7085c{constructor(_0x15c9ff){super(_0x15c9ff);const t=_0x15c9ff['t'],_0x2b5429=this['bindTemplate'],_0x3f7644=new _0x26790e();_0x3f7644['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':[_0x3f7644,{'text':_0x2b5429['to']('imageUploadProgress',_0x78bbf7=>t('Loading\x20image...')+'\x20('+(_0x78bbf7||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 _0xc7085c{constructor(_0x41d031){super(_0x41d031);const t=_0x41d031['t'];this['set']('errorType',null);const _0x38cf11=new _0xb353b7(_0x41d031);_0x38cf11['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x38cf11['withText']=!0x0,_0x38cf11['class']='ck-button-action',_0x38cf11['on']('execute',()=>{this['fire']('retry');}),_0x38cf11['bind']('isVisible')['to'](this,'errorType',_0x169dc2=>'NotFound'!==_0x169dc2);const _0x4f1853=new at();_0x4f1853['content']=et,_0x4f1853['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x12b3cd=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':[_0x4f1853,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x12b3cd['to']('errorType',_0x245bd2=>t('NotFound'!==_0x245bd2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x38cf11]},{'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 _0xc7085c{constructor(_0x231c2a,_0xe7577f){super(_0x231c2a);const _0x38b013=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xe7577f,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x38b013['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x277343,_0x39ee0f,_0x42c098){super(_0x277343),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x277343),this['_errorView']=new rt(_0x277343),this['_editingView']=new tt(_0x277343,_0x42c098),this['_focusableView']=new _0xc7085c(_0x277343),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x39ee0f),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'],_0x4ec642=>{this['_addUploadcareImageEditorListeners'](_0x4ec642);});}),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'](_0x31e0fb,_0x74080a){const _0x3da75d='uc-cloud-image-editor',_0x3a991c=_0x31e0fb['querySelector'](_0x3da75d);if(_0x3a991c)return _0x74080a(_0x3a991c);const _0x55cd21=new MutationObserver(_0xa823cd=>{const _0xfaf558=_0xa823cd['filter'](_0x9acd36=>_0x9acd36['target']===_0x31e0fb&&_0x9acd36['addedNodes']['length']>0x0&&_0x9acd36['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3da75d);_0xfaf558['length']&&(_0x55cd21['disconnect'](),_0x74080a(_0xfaf558[0x0]['addedNodes'][0x0]));});_0x55cd21['observe'](_0x31e0fb,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3daf68){_0x3daf68['addEventListener']('apply',_0x5aa314=>{this['fire']('apply',{'imageSrc':_0x5aa314['detail']['cdnUrl']});}),_0x3daf68['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x4207ba(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3bd34c,_0x1d9cb9,_0x8fd551){super(),this['_editor']=_0x3bd34c,this['_dialog']=_0x1d9cb9,this['_imageElement']=_0x8fd551,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 _0x3711da=this['_imageElement'],_0x1ba996=_0x3711da['getAttribute']('uploadcareImageId'),_0x329ef7=_0x3711da['getAttribute']('src');if(_0x1ba996)await this['_loadImageInfo'](_0x1ba996,_0x329ef7);else{if(this['_imageCache']['has'](_0x329ef7)){const _0x349667=this['_imageCache']['get'](_0x329ef7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x349667['url'],this['imageDimension']=_0x349667['dimension'],this['imageId']=_0x349667['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3d41b8}=this['_editor'],t=_0x3d41b8['t'],_0x34c5b1=new Z(_0x3d41b8,this['imageStatus'],this['_attributes']);_0x34c5b1['bind']('status')['to'](this,'imageStatus'),_0x34c5b1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x34c5b1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x34c5b1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x34c5b1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5168cc,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x34c5b1,'position':_0x1727e4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x34c5b1['focus']();},'onHide':()=>{_0x34c5b1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x24bd9d=>!F(_0x24bd9d,_0x34c5b1['element'])}});}['_loadImageInfo'](_0x270e28,_0x3cf27d){return C['getInfo'](_0x270e28,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4ea365=>{const {width:_0x278879,height:_0xb7d160}=_0x4ea365['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3cf27d,this['imageDimension']={'width':_0x278879,'height':_0xb7d160},this['imageId']=_0x270e28;})['catch'](_0x2ce9a0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2ce9a0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5bd98e,_0x1ca668){return this['_getImageAsFile'](_0x5bd98e)['then'](_0x30e4b2=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1ca668['signal'],'file':_0x30e4b2,'onProgress':_0x439d43=>{_0x439d43&&_0x439d43['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x439d43['value']));}}))['then'](_0x36c192=>{const {width:_0x3a6dac,height:_0x1f12d9}=_0x36c192['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36c192['cdnUrl'],this['imageDimension']={'width':_0x3a6dac,'height':_0x1f12d9},this['imageId']=_0x36c192['uuid'],this['imageUploadProgress']=null;const _0x57b325=_0x5bd98e['getAttribute']('src');this['_imageCache']['set'](_0x57b325,{'id':_0x36c192['uuid'],'url':_0x36c192['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x26c362=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x26c362['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x111acf,_0x20a377){_0x111acf['on']('apply',(_0x1a281c,_0x32e2de)=>{this['_replaceImage'](_0x20a377,_0x32e2de['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x111acf['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x111acf['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3d8db2,_0x3e5a2c,_0x31a69d){const _0x18aa99=this['_editor'],{width:_0x2eab8a,height:_0x2833e7}=A(_0x3e5a2c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2c38c5,imageSources:_0xb2651e}=E(_0x3e5a2c,_0x2eab8a);_0x18aa99['model']['change'](_0x3e4654=>{if('$graveyard'===_0x3d8db2['root']['rootName']){_0x18aa99['execute']('insertImage',{'imageType':_0x3d8db2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3d8db2['getAttributes']()),'uploadcareImageId':_0x31a69d,'src':_0x2c38c5,'sources':_0xb2651e,'width':_0x2eab8a,'height':_0x2833e7}});const _0x99dbf7=_0x3d8db2['getChildren']();_0x3d8db2=_0x18aa99['model']['document']['selection']['getSelectedElement']();for(const _0x37753c of _0x99dbf7)_0x3e4654['append'](_0x3e4654['cloneElement'](_0x37753c),_0x3d8db2);}else _0x3e4654['setSelection'](_0x3d8db2,'on'),_0x18aa99['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3d8db2['getAttributes']()),'uploadcareImageId':_0x31a69d,'src':_0x2c38c5,'sources':_0xb2651e,'width':_0x2eab8a,'height':_0x2833e7},_0x3d8db2);_0x3e4654['setSelection'](_0x3d8db2,'on');});}async['_getImageAsFile'](_0x3e28af){const _0x2a715e=_0x229b46['window'],_0x325186=_0x229b46['document']['location']['href'],_0x31ef80=new _0x2a715e['URL'](_0x3e28af['getAttribute']('src'),_0x325186);if('data:'===_0x31ef80['protocol']){const _0x3f8342=_0x31ef80['href']['split'](','),_0xce3cc9=_0x3f8342[0x0]['match'](/:(.*?);/)[0x1],_0x1afe0a=_0xce3cc9['split']('/')[0x1],_0x42685f=_0x2a715e['atob'](_0x3f8342[_0x3f8342['length']-0x1]);let _0x14857b=_0x42685f['length'];const _0x170f61=new _0x2a715e['Uint8Array'](_0x14857b);for(;_0x14857b--;)_0x170f61[_0x14857b]=_0x42685f['charCodeAt'](_0x14857b);return new _0x2a715e['File']([_0x170f61],'image.'+_0x1afe0a,{'type':_0xce3cc9});}const _0x217887=_0x31ef80['href']['split']('/'),_0x246ea1=_0x217887[_0x217887['length']-0x1],_0x2155e1=_0x246ea1['split']('.')[0x1];return _0x2a715e['fetch'](_0x31ef80['href'])['then'](_0x50cb97=>_0x50cb97['clone']()['blob']())['then'](_0x2385c7=>new _0x2a715e['File']([_0x2385c7],_0x246ea1,{'type':'image/'+_0x2155e1}));}}class J extends _0x53a992{['imageEditController'];static get['requires'](){return[_0x54803f];}['_isEditable'];constructor(_0x5456bc){super(_0x5456bc),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5e1ce8){const _0x171eeb=V(_0x5e1ce8);return _0x315b75=>!(!_0x315b75||!_0x315b75['is']('element','imageBlock')&&!_0x315b75['is']('element','imageInline'))&&(!!_0x315b75['hasAttribute']('uploadcareImageId')||!!_0x315b75['hasAttribute']('src')&&_0x171eeb(_0x315b75['getAttribute']('src')));}(_0x5456bc['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1a2b70=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1a2b70);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x766096=this['editor']['model']['document']['selection']['getSelectedElement']();_0x766096&&(_0x766096['is']('element','imageBlock')||_0x766096['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x54803f),_0x766096),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x53a992{['refresh'](){const _0x595c2e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x595c2e&&(_0x595c2e['is']('element','imageBlock')||_0x595c2e['is']('element','imageInline')));}['execute'](_0x3e103c){const _0x26f79a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3c4d4b=>{_0x3c4d4b['setAttributes'](_0x3e103c,_0x26f79a),_0x3c4d4b['removeAttribute']('srcset',_0x26f79a),_0x3c4d4b['removeAttribute']('sizes',_0x26f79a);});}}class g extends _0x51d2c2{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x16cbba,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4b11be}=this;_0x4b11be['commands']['add']('uploadcareImageEdit',new J(_0x4b11be)),_0x4b11be['commands']['add']('uploadcareImageReplace',new O(_0x4b11be));}}class j extends _0x51d2c2{['_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 _0x3b158b=this['editor'];_0x3b158b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3a83ba=>{const _0x33ef21=_0x3b158b['commands']['get']('uploadcareImageEdit'),_0x47aa1d=new _0xb353b7(_0x3a83ba),t=_0x3a83ba['t'];return _0x47aa1d['set']({'icon':_0x5168cc,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x47aa1d['bind']('isEnabled')['to'](_0x33ef21),_0x47aa1d['bind']('isOn')['to'](_0x33ef21,'isActive'),this['listenTo'](_0x47aa1d,'execute',()=>{_0x3b158b['execute']('uploadcareImageEdit'),_0x3b158b['editing']['view']['focus']();}),_0x47aa1d;}),this['_initConfig']();}['_initConfig'](){const _0x2908ae=_0x57394b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2908ae),this['listenTo'](this['editor'],'destroy',()=>{_0x2908ae['remove']();});}}class P extends _0x51d2c2{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']||={});