@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250428.0 → 0.0.0-nightly-20250429.0

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 _0x28820f,Command as _0x465f3e}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0xf67961,IconGooglePhotos as _0x4b6074,IconGoogleDrive as _0xb0fbab,IconFacebook as _0x469fb0,IconDropbox as _0x371009,IconUploadcareLink as _0x9a28fe,IconUploadcareImageUpload as _0x1d7e4f,IconError as et,IconUploadcareImageEdit as _0x190c13}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2a2428,MenuBarMenuListItemButtonView as _0x1cc84e,View as _0x44eb68,FocusCycler as _0x39bfa3,Dialog as _0x42c054,DialogViewPosition as _0x35468e,SpinnerView as _0x5e7759,IconView as at,Notification as _0x3616ca}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x102d2e,DomEmitterMixin as _0x57cb66,global as _0x4e8585,getAncestors as _0x15431d,ObservableMixin as _0x10eb65,createElement as _0xe57b1b,uid as _0x317352}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2d0214}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x30d847,info as _0x1f28eb}from'@uploadcare/upload-client';import*as _0x4f2d2d from'@uploadcare/file-uploader';var o=function(_0x30284c){return _0x30284c['Local']='local',_0x30284c['URL']='url',_0x30284c['Dropbox']='dropbox',_0x30284c['GDrive']='gdrive',_0x30284c['Facebook']='facebook',_0x30284c['GPhotos']='gphotos',_0x30284c['OneDrive']='onedrive',_0x30284c;}({});function _(_0x260ff4,_0xb8f319,_0x3d1e74){const t=_0x260ff4['t'],_0x3fd9fc=_0x260ff4['t'];switch(_0xb8f319){case o['Local']:return{'text':_0x3fd9fc('Insert'===_0x3d1e74?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3fd9fc('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x3d1e74?_0x3fd9fc('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3fd9fc('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x3d1e74?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x3d1e74?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x3d1e74?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x3d1e74?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x3d1e74?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xb8f319;}}class e extends _0x28820f{['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 _0x585af1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x44000e;for(const _0x10429f in _0x585af1){const _0x329da7=_0x10429f,_0x271b07=_0x585af1[_0x329da7];if('uploadcareLicenseKeyValid'==_0x271b07||'uploadcareLicenseKeyInvalid'==_0x271b07||'uploadcareLicenseKeyExpired'==_0x271b07||'uploadcareLicenseKeyDomainLimit'==_0x271b07||'uploadcareLicenseKeyNotAllowed'==_0x271b07||'uploadcareLicenseKeyEvaluationLimit'==_0x271b07||'uploadcareLicenseKeyTrialLimit'==_0x271b07||'uploadcareLicenseKeyUsageLimit'==_0x271b07){delete _0x585af1[_0x329da7],_0x44000e=_0x271b07,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x44000e&&_0x585af1['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x44000e&&_0x585af1['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x44000e&&_0x585af1['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x44000e&&_0x585af1['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x44000e&&_0x585af1['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x44000e&&_0x585af1['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x44000e&&_0x585af1['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x54915c}=this,_0x2eabef=_0x54915c['commands']['get']('uploadcare');if(!_0x2eabef)return;const _0x22cdc0=this['_normalizeConfigSourceList'](_0x54915c['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x43fde2,_0x4227bc)=>{const _0x4e4b0b=this['_getIntegrationKey'](_0x4227bc['type']);return _0x43fde2[_0x4e4b0b]||(_0x43fde2[_0x4e4b0b]=[]),_0x43fde2[_0x4e4b0b]['push'](_0x4227bc),_0x43fde2;},{});_0x54915c['plugins']['has']('ImageInsertUI')&&_0x54915c['commands']['get']('uploadcare')&&Object['entries'](_0x22cdc0)['forEach'](([_0x4f35d2,_0x9fce8f])=>{_0x54915c['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4f35d2,'observable':()=>_0x2eabef,'buttonViewCreator':()=>this['_createToolbarButton'](_0x9fce8f),'formViewCreator':()=>this['_createDropdownButtons'](_0x9fce8f),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x9fce8f),'override':'assetManager'!==_0x4f35d2});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x426d1c){const {locale:_0x519485}=this['editor'];return _0x426d1c['map'](_0x1eaf5f=>{const _0x2a03c9=_(_0x519485,_0x1eaf5f,'Insert');switch(_0x1eaf5f){case o['Local']:return{'icon':_0x1d7e4f,'type':o['Local'],..._0x2a03c9};case o['URL']:return{'icon':_0x9a28fe,'type':o['URL'],..._0x2a03c9};case o['Dropbox']:return{'icon':_0x371009,'type':o['Dropbox'],..._0x2a03c9};case o['Facebook']:return{'icon':_0x469fb0,'type':o['Facebook'],..._0x2a03c9};case o['GDrive']:return{'icon':_0xb0fbab,'type':o['GDrive'],..._0x2a03c9};case o['GPhotos']:return{'icon':_0x4b6074,'type':o['GPhotos'],..._0x2a03c9};case o['OneDrive']:return{'icon':_0xf67961,'type':o['OneDrive'],..._0x2a03c9};}});}['_getIntegrationKey'](_0x13eeb7){switch(_0x13eeb7){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xc0bc96,_0x5702d3){const _0xf07087=this['editor'],_0x5867d4=new _0xc0bc96(_0xf07087['locale']),_0x563297=_0xf07087['commands']['get']('uploadcare');return _0x5867d4['bind']('isEnabled')['to'](_0x563297),_0x5867d4['on']('execute',()=>{_0x563297['execute'](_0x5702d3);}),_0x5867d4;}['_createToolbarButton'](_0x5c6b4d){const {locale:_0x4dc0ce}=this['editor'],_0x52b75c=this['editor']['plugins']['get']('ImageInsertUI'),_0x79ae93=_0x5c6b4d[0x0],_0x7f7918=this['_createButton'](_0x2a2428,_0x79ae93['type']);return _0x7f7918['icon']=_0x79ae93['icon'],_0x7f7918['bind']('label')['to'](_0x52b75c,'isImageSelected',_0x8ee42=>_(_0x4dc0ce,_0x79ae93['type'],_0x8ee42?'Replace':'Insert')['text']),_0x7f7918['tooltip']=!0x0,_0x7f7918;}['_createDropdownButtons'](_0x168d57){const {locale:_0x3244e6}=this['editor'],_0x15f9bd=this['editor']['plugins']['get']('ImageInsertUI');return _0x168d57['map'](_0x116f81=>{const _0x54c790=this['_createButton'](_0x2a2428,_0x116f81['type']);return _0x54c790['withText']=!0x0,_0x54c790['icon']=_0x116f81['icon'],_0x54c790['bind']('label')['to'](_0x15f9bd,'isImageSelected',_0x2e7cff=>_(_0x3244e6,_0x116f81['type'],_0x2e7cff?'Replace':'Insert')['text']),_0x54c790;});}['_createMenuBarButtons'](_0x142786){return _0x142786['map'](_0x47aa6e=>{const _0x39f801=this['_createButton'](_0x1cc84e,_0x47aa6e['type']);return _0x39f801['icon']=_0x47aa6e['icon'],_0x39f801['label']=_0x47aa6e['shortText'],_0x39f801;});}}class q extends _0x44eb68{['focusTracker'];['focusCycler'];constructor(_0x1a8586){super(_0x1a8586),this['focusTracker']=new _0x102d2e(),this['focusCycler']=new _0x39bfa3({'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(_0x4d8e3e){super(_0x4d8e3e),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(_0x470f94,_0x368cb9){const _0x41ca8a=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2419bf=>_0x2419bf<=_0x368cb9)['map'](_0x55cab0=>_0x470f94['replace'](/\/$/,'')+'/-/resize/'+_0x55cab0+'x/\x20'+_0x55cab0+'w');return{'imageFallbackUrl':_0x470f94,'imageSources':[{'srcset':_0x41ca8a['join'](',\x20'),'sizes':'(max-width:\x20'+_0x368cb9+'px)\x20100vw,\x20'+_0x368cb9+'px','type':'image/webp'}]};}function A(_0x114868,_0x1cc8eb,_0x54f2ad){const _0x4737d9=_0x114868['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4737d9?parseInt(_0x4737d9[0x1],0xa):_0x1cc8eb,'height':_0x4737d9?parseInt(_0x4737d9[0x2],0xa):_0x54f2ad};}function m(_0x4b1e7f,_0x4484b5){const _0x46de83=Object['create'](_0x57cb66),_0x58c810=_0x4b1e7f['plugins']['get']('ImageUtils'),_0x23f650=_0x4b1e7f['editing']['mapper']['toViewElement'](_0x4484b5),_0x4577d8=_0x58c810['findViewImgElement'](_0x23f650),_0x387b6d=_0x4b1e7f['editing']['view']['domConverter']['viewToDom'](_0x4577d8),_0x1d33b7=_0x4484b5['getAttribute']('width'),_0x507709=_0x4484b5['getAttribute']('height'),_0x52a111='image-processing';_0x4b1e7f['editing']['view']['change'](_0x8eaac5=>{_0x8eaac5['addClass'](_0x52a111,_0x23f650),_0x8eaac5['setStyle']('aspect-ratio',_0x1d33b7+'/'+_0x507709,_0x4577d8);}),_0x46de83['listenTo'](_0x387b6d,'load',()=>{_0x46de83['stopListening'](_0x387b6d,'load'),_0x4b1e7f['editing']['view']['change'](_0x2e86a2=>{_0x2e86a2['removeClass'](_0x52a111,_0x23f650),_0x2e86a2['removeStyle']('aspect-ratio',_0x4577d8);});});}function R(_0x1b9374){if(Array['isArray'](_0x1b9374)){const _0x525ba4=_0x1b9374['map'](R);return _0x433f9e=>_0x525ba4['some'](_0xb40892=>_0xb40892(_0x433f9e));}if('origin'==_0x1b9374){const _0x21b4e1=_0x4e8585['window']['location']['origin'];return _0x3b97a0=>new URL(_0x3b97a0,_0x4e8585['document']['baseURI'])['origin']==_0x21b4e1;}return'function'==typeof _0x1b9374?_0x1b9374:_0x1b9374 instanceof RegExp?_0x367922=>!(!_0x367922['match'](_0x1b9374)&&!_0x367922['replace'](/^https?:\/\//,'')['match'](_0x1b9374)):()=>!0x1;}function F(_0x53a375,_0x282420){return _0x15431d(_0x53a375['target'])['includes'](_0x282420);}class l extends/* #__PURE__ -- @preserve */
24
- _0x10eb65(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x27276d,_0x21b41c,_0x6e5135){super(),this['_editor']=_0x27276d,this['_editing']=_0x21b41c,this['_dialog']=_0x27276d['plugins']['get'](_0x42c054),this['_api']=_0x21b41c['ctxElement']['getAPI'](),this['_type']=_0x6e5135,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:_0x9556da,model:_0x2806e}=this['_editor'],_0x3f2235=_0x2806e['document']['selection']['getSelectedElement'](),_0x1c7a88=_0x3f2235&&(_0x3f2235['is']('element','imageBlock')||_0x3f2235['is']('element','imageInline'));this['_formView']=new S(_0x9556da),this['_dialog']['show']({'id':'uploadCare','icon':_0x1d7e4f,'title':_(_0x9556da,this['_type'],_0x1c7a88?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x35468e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x245136=>!F(_0x245136,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2d37fb}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x34bc8c=>{const _0x2f321a=_0x2d37fb['length'];for(const _0x541387 of _0x2d37fb){const _0x72dff4=_0x541387===_0x2d37fb[_0x2f321a-0x1],{cdnUrl:_0x2df3f5,fileInfo:_0x46d0fa}=_0x541387;if(!_0x2df3f5||!_0x46d0fa)continue;const {width:_0x86f1c7,height:_0x4b4aba}=_0x46d0fa['imageInfo'],_0x165bc1=A(_0x2df3f5,_0x86f1c7,_0x4b4aba),_0x42033b=E(_0x2df3f5,_0x165bc1['width']),_0x565e2f={'id':_0x46d0fa['uuid'],'type':'image','attributes':{'imageDimension':_0x165bc1,..._0x42033b}};this['_insertAsset'](_0x565e2f,_0x72dff4,_0x34bc8c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x316faa=>{'idle'===_0x316faa['detail']['status']&&!_0x316faa['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1e390a,_0x419970,_0x4c1033){const _0x3e0eb2=this['_editor']['model']['document']['selection'],_0x3e9eaa=_0x3e0eb2['getSelectedElement'](),_0x50d772=!(!_0x3e9eaa||!_0x3e9eaa['is']('element','imageInline'));_0x4c1033['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1e390a,_0x50d772),_0x419970||_0x4c1033['setSelection'](_0x3e0eb2['getLastPosition']());}['_insertImage'](_0x19f7f3,_0x27255a){const _0x33f550=this['_editor'],{imageDimension:_0xdf5fd8,imageFallbackUrl:_0x3e1ec9,imageSources:_0x27c2ec}=_0x19f7f3['attributes'];_0x33f550['execute']('insertImage',{'imageType':_0x27255a?'imageInline':null,'source':{'uploadcareImageId':_0x19f7f3['id'],'src':_0x3e1ec9,'sources':_0x27c2ec,..._0xdf5fd8}});}}class n extends _0x465f3e{['_editing'];['_controller']=null;static get['requires'](){return[_0x42c054,i];}constructor(_0x16b3d7){super(_0x16b3d7),this['_editing']=_0x16b3d7['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x336507){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x336507);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x14bd33,publicKey:_0xf1f6a0,signal:_0xb3ff30,onProgress:_0x3e6ede}){return _0x30d847(_0x14bd33,{'publicKey':_0xf1f6a0,'store':'auto','signal':_0xb3ff30,'onProgress':_0x3e6ede});}static['getInfo'](_0x17ebc2,_0x4b6393){return _0x1f28eb(_0x17ebc2,_0x4b6393);}}class p extends _0x28820f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2d0214,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x30aaf4=this['editor'];if(!!!_0x30aaf4['config']['get']('uploadcare'))return;_0x30aaf4['plugins']['get'](_0x2d0214)['createUploadAdapter']=_0xcbc5f9=>new x(_0xcbc5f9,_0x30aaf4),_0x30aaf4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xdfddcf,{imageElement:_0x2bb329,data:_0x4b2c0d})=>{_0x30aaf4['model']['change'](_0x29c93c=>{_0x29c93c['setAttribute']('uploadcareImageId',_0x4b2c0d['uploadcareImageId'],_0x2bb329);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x15127b,_0x4b4f92){this['loader']=_0x15127b,this['editor']=_0x4b4f92,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1d5583=this['editor']['config']['get']('uploadcare.pubkey'),_0x429103=await this['loader']['file'];return C['upload']({'file':_0x429103,'publicKey':_0x1d5583,'signal':this['controller']['signal'],'onProgress':_0x1f4f00=>{_0x1f4f00&&_0x1f4f00['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1f4f00['value']);}})['then'](async _0x569e62=>{const {imageFallbackUrl:_0x189d5d,imageSources:_0x55b79e}=E(_0x569e62['cdnUrl'],_0x569e62['imageInfo']['width']);return{'uploadcareImageId':_0x569e62['uuid'],'default':_0x189d5d,'sources':_0x55b79e};})['catch'](()=>{const _0x5f4d9c=t('Cannot\x20upload\x20file:')+('\x20'+_0x429103['name']+'.');return Promise['reject'](_0x5f4d9c);});}['abort'](){this['controller']['abort']();}}class i extends _0x28820f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x42c054];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x1be256=this['editor'];_0x1be256['commands']['add']('uploadcare',new n(_0x1be256));}['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 _0x3190ce=_0x4e8585['document']['querySelector']('input[uploadcare-file-input]');_0x3190ce&&_0x3190ce['remove']();}),async function(_0x579a05){const _0x4fb93c=_0x2b2ca5([0x43,0x6b,0x32,0x6d,0x54,0x46,0x59,0x44,0x45,0x4d,0x4b,0x72,0x79,0x31,0x58,0x6c,0x69,0x70,0x39,0x35,0x6f,0x47,0x78,0x61,0x33,0x55,0x4e,0x4c,0x74,0x52,0x51,0x50,0x7a,0x6a,0x64,0x4a,0x42,0x73,0x53,0x38,0x30,0x66,0x36,0x67,0x41,0x34,0x56,0x75,0x5a,0x4f,0x77,0x37,0x68,0x62,0x76,0x65,0x49,0x6e,0x48,0x71,0x57,0x63]),_0x1abafb=0x7bb9a8a,_0x1e6827=0x7bcfcda^_0x1abafb,_0x2a1a1c=window[_0x2b2ca5([0x44,0x61,0x74,0x65])][_0x2b2ca5([0x6e,0x6f,0x77])](),_0x393544=_0x579a05[_0x2b2ca5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x30a5f6=new window[(_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x403c79=>{_0x393544[_0x2b2ca5([0x6f,0x6e,0x63,0x65])](_0x2b2ca5([0x72,0x65,0x61,0x64,0x79]),_0x403c79);}),_0x339f17={[_0x2b2ca5([0x6b,0x74,0x79])]:_0x2b2ca5([0x45,0x43]),[_0x2b2ca5([0x75,0x73,0x65])]:_0x2b2ca5([0x73,0x69,0x67]),[_0x2b2ca5([0x63,0x72,0x76])]:_0x2b2ca5([0x50,0x2d,0x32,0x35,0x36]),[_0x2b2ca5([0x78])]:_0x2b2ca5([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]),[_0x2b2ca5([0x79])]:_0x2b2ca5([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]),[_0x2b2ca5([0x61,0x6c,0x67])]:_0x2b2ca5([0x45,0x53,0x32,0x35,0x36])},_0x4dd796=_0x393544[_0x2b2ca5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b2ca5([0x67,0x65,0x74])](_0x2b2ca5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ca6fe(){let _0x48d404,_0x50b396=null,_0x571f29=null;try{if(_0x4dd796==_0x2b2ca5([0x47,0x50,0x4c]))return _0x2b2ca5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x48d404=_0x449662(),!_0x48d404)return _0x2b2ca5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x48d404[_0x2b2ca5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x571f29=_0x1198aa(_0x48d404[_0x2b2ca5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x48d404[_0x2b2ca5([0x6a,0x74,0x69])])),await _0x2b0065()?_0x42c6bf()?_0x3314eb()?_0x2b2ca5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5dc714()?(_0x48d404[_0x2b2ca5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b2ca5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50b396=_0x51f9a9(_0x2b2ca5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x48d404[_0x2b2ca5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b2ca5([0x74,0x72,0x69,0x61,0x6c])&&(_0x50b396=_0x51f9a9(_0x2b2ca5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x138c91()):_0x2b2ca5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b2ca5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b2ca5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1c1c96){return _0x2b2ca5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3314eb(){const _0x4dc64a=[_0x2b2ca5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b2ca5([0x74,0x72,0x69,0x61,0x6c])][_0x2b2ca5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48d404[_0x2b2ca5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a1a1c/0x3e8:0xe10*_0x1e6827;return _0x48d404[_0x2b2ca5([0x65,0x78,0x70])]<_0x4dc64a;}function _0x42c6bf(){const _0x50026d=_0x48d404[_0x2b2ca5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x50026d&&(!!_0x50026d[_0x2b2ca5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b2ca5([0x2a]))||!!_0x50026d[_0x2b2ca5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b2ca5([0x55,0x50,0x4c,0x43])));}function _0x5dc714(){const _0x5c404a=_0x48d404[_0x2b2ca5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c404a||0x0==_0x5c404a[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49e379}=new URL(window[_0x2b2ca5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5c404a[_0x2b2ca5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49e379))return!0x0;const _0x29b30b=_0x49e379[_0x2b2ca5([0x73,0x70,0x6c,0x69,0x74])](_0x2b2ca5([0x2e]));return _0x5c404a[_0x2b2ca5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e6ddf=>_0x5e6ddf[_0x2b2ca5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b2ca5([0x2a])))[_0x2b2ca5([0x6d,0x61,0x70])](_0x488463=>_0x488463[_0x2b2ca5([0x73,0x70,0x6c,0x69,0x74])](_0x2b2ca5([0x2e])))[_0x2b2ca5([0x73,0x6f,0x6d,0x65])](_0x7407d7=>_0x29b30b[_0x2b2ca5([0x65,0x76,0x65,0x72,0x79])]((_0x1b6ee6,_0x4034b1)=>_0x7407d7[_0x4034b1]===_0x1b6ee6||_0x7407d7[_0x4034b1]===_0x2b2ca5([0x2a])));}function _0x138c91(){return _0x50b396&&_0x571f29?new window[(_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42d583,_0x3a6959)=>{_0x50b396[_0x2b2ca5([0x74,0x68,0x65,0x6e])](_0x42d583,_0x3a6959),_0x571f29[_0x2b2ca5([0x74,0x68,0x65,0x6e])](_0x3a2015=>{_0x3a2015!=_0x2b2ca5([0x56,0x61,0x6c,0x69,0x64])&&_0x42d583(_0x3a2015);},_0x3a6959);}):_0x50b396||_0x571f29||_0x2b2ca5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1198aa(_0x3c34a7,_0xa79023){return new window[(_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x382373=>{if(_0x88eadd())return _0x382373(_0x2b2ca5([0x56,0x61,0x6c,0x69,0x64]));_0x1859fc(),_0x393544[_0x2b2ca5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b2ca5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a63f3=!0x1;const _0xf954eb=_0x317352();function _0x1f96f5(_0x20e7d9){return!!_0x20e7d9&&(typeof _0x20e7d9===_0x2b2ca5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x20e7d9===_0x2b2ca5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x20e7d9[_0x2b2ca5([0x74,0x68,0x65,0x6e])]===_0x2b2ca5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x20e7d9[_0x2b2ca5([0x63,0x61,0x74,0x63,0x68])]===_0x2b2ca5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5f0aca(_0x2e6d19){_0x43fa85(_0x2e6d19)[_0x2b2ca5([0x74,0x68,0x65,0x6e])](_0x41903c=>{if(!_0x41903c||_0x41903c[_0x2b2ca5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b2ca5([0x6f,0x6b]))return _0x2b2ca5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x212cf0(_0x1e18b8(_0xf954eb+_0xa79023))!=_0x41903c[_0x2b2ca5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b2ca5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b2ca5([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b2ca5([0x74,0x68,0x65,0x6e])](_0x48b154=>(_0x180634(),_0x48b154),()=>{const _0x5ace33=_0x41d908();return null==_0x5ace33?(_0x180634(),_0x2b2ca5([0x56,0x61,0x6c,0x69,0x64])):_0x2b2ca5(_0x2a1a1c-_0x5ace33>(0x23b71e8a^_0x1abafb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b2ca5([0x74,0x68,0x65,0x6e])](_0x382373)[_0x2b2ca5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x382373(_0x2b2ca5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1637a4=0x78d740a^_0x1abafb;function _0x180634(){const _0x3291fa=_0x2b2ca5([0x6c,0x6c,0x63,0x74,0x2d])+_0x212cf0(_0x1e18b8(_0x3c34a7)),_0x4e5905=_0x44f7aa(_0x212cf0(window[_0x2b2ca5([0x4d,0x61,0x74,0x68])][_0x2b2ca5([0x63,0x65,0x69,0x6c])](_0x2a1a1c/_0x1637a4)));window[_0x2b2ca5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b2ca5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3291fa,_0x4e5905);}function _0x41d908(){const _0x63c026=_0x2b2ca5([0x6c,0x6c,0x63,0x74,0x2d])+_0x212cf0(_0x1e18b8(_0x3c34a7)),_0xd18312=window[_0x2b2ca5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b2ca5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x63c026);return _0xd18312?window[_0x2b2ca5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44f7aa(_0xd18312),0x10)*_0x1637a4:null;}function _0x43fa85(_0x164f19){return new window[(_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ab64f,_0x549115)=>{_0x164f19[_0x2b2ca5([0x74,0x68,0x65,0x6e])](_0x1ab64f,_0x549115),window[_0x2b2ca5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x549115,0x7ba4e4a^_0x1abafb);});}}_0x393544[_0x2b2ca5([0x6f,0x6e])](_0x2b2ca5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x56d0a7,_0x1ef3d6)=>{if(_0x1ef3d6[0x0]!=_0x3c34a7)return _0x382373(_0x2b2ca5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ef3d6[0x1]={..._0x1ef3d6[0x1],[_0x2b2ca5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf954eb};},{[_0x2b2ca5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b2ca5([0x68,0x69,0x67,0x68])}),_0x393544[_0x2b2ca5([0x6f,0x6e])](_0x2b2ca5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d9e33=>{_0x1f96f5(_0x5d9e33[_0x2b2ca5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a63f3=!0x0,_0x5f0aca(_0x5d9e33[_0x2b2ca5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b2ca5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b2ca5([0x6c,0x6f,0x77])}),_0x30a5f6[_0x2b2ca5([0x74,0x68,0x65,0x6e])](()=>{_0x2a63f3||_0x382373(_0x2b2ca5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x88eadd(){return _0x393544[_0x2b2ca5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b2ca5([0x76,0x69,0x65,0x77])][_0x2b2ca5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b2ca5([0x61,0x75,0x74,0x6f]);}function _0x1859fc(){_0x393544[_0x2b2ca5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b2ca5([0x76,0x69,0x65,0x77])][_0x2b2ca5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b2ca5([0x61,0x75,0x74,0x6f]);}}function _0x51f9a9(_0x2cbf42){const _0x1fafae=[new window[(_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4708e3=>setTimeout(_0x4708e3,0x7b2a446^_0x1abafb)),_0x30a5f6[_0x2b2ca5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44a60a=>{let _0x38b8b9=0x0;_0x393544[_0x2b2ca5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b2ca5([0x6f,0x6e])](_0x2b2ca5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b2018,_0x2a96c7)=>{_0x2a96c7[0x0][_0x2b2ca5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x38b8b9++,_0x38b8b9==(0x7bb9b72^_0x1abafb)&&(_0x44a60a(),_0x1b2018[_0x2b2ca5([0x6f,0x66,0x66])]());});}))];return window[_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b2ca5([0x72,0x61,0x63,0x65])](_0x1fafae)[_0x2b2ca5([0x74,0x68,0x65,0x6e])](()=>_0x2cbf42);}async function _0x38349c(){await _0x30a5f6,_0x393544[_0x2b2ca5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b2ca5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b667a,_0x393544[_0x2b2ca5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b2ca5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b667a,_0x393544[_0x2b2ca5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b2ca5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2269de(_0x5883ef){const _0x2681d6=_0x187b02();_0x393544[_0x2681d6]=_0x2b2ca5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5883ef,_0x5883ef!=_0x2b2ca5([0x56,0x61,0x6c,0x69,0x64])&&_0x38349c();}function _0x187b02(){const _0x949476=window[_0x2b2ca5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b2ca5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b2ca5([0x6e,0x6f,0x77])]())[_0x2b2ca5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b2ca5([0x2e]),'');let _0x37c316=_0x2b2ca5([0x43]);for(let _0x1bac2f=0x0;_0x1bac2f<_0x949476[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bac2f+=0x2){let _0x41d1b5=window[_0x2b2ca5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x949476[_0x2b2ca5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bac2f,_0x1bac2f+0x2));_0x41d1b5>=_0x4fb93c[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41d1b5-=_0x4fb93c[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37c316+=_0x4fb93c[_0x41d1b5];}return _0x37c316;}function _0x449662(){const _0x3c37a2=_0x4dd796[_0x2b2ca5([0x73,0x70,0x6c,0x69,0x74])](_0x2b2ca5([0x2e]));if(0x3!=_0x3c37a2[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e9b5f(_0x3c37a2[0x1]);function _0x3e9b5f(_0x51d2a6){const _0x3e3ea2=_0x2fe201(_0x51d2a6);return _0x3e3ea2&&_0x45f9f9()?_0x3e3ea2:null;function _0x45f9f9(){const _0x1b56ef=_0x3e3ea2[_0x2b2ca5([0x6a,0x74,0x69])],_0x3b4f51=window[_0x2b2ca5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b56ef[_0x2b2ca5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b56ef[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3682b1={..._0x3e3ea2,[_0x2b2ca5([0x6a,0x74,0x69])]:_0x1b56ef[_0x2b2ca5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b56ef[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3682b1[_0x2b2ca5([0x76,0x63])],_0x1e18b8(_0x3682b1)==_0x3b4f51;}}}async function _0x2b0065(){let _0x5962bf=!0x0;try{const _0x8d4729=_0x4dd796[_0x2b2ca5([0x73,0x70,0x6c,0x69,0x74])](_0x2b2ca5([0x2e])),[_0x3526d5,_0x364ace,_0x2ddc80]=_0x8d4729;return _0x10e32e(_0x3526d5),await _0x9c0722(_0x3526d5,_0x364ace,_0x2ddc80),_0x5962bf;}catch(_0x54cbf2){return!0x1;}function _0x10e32e(_0x4a9b30){const _0x3340e9=_0x2fe201(_0x4a9b30);_0x3340e9&&_0x3340e9[_0x2b2ca5([0x61,0x6c,0x67])]==_0x2b2ca5([0x45,0x53,0x32,0x35,0x36])||(_0x5962bf=!0x1);}async function _0x9c0722(_0x49b927,_0x279c94,_0xb3e69c){const _0x29daad=window[_0x2b2ca5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b2ca5([0x66,0x72,0x6f,0x6d])](_0x44d3ab(_0xb3e69c),_0x450af5=>_0x450af5[_0x2b2ca5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e27ae=new window[(_0x2b2ca5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b2ca5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x49b927+_0x2b2ca5([0x2e])+_0x279c94),_0x2262a2=window[_0x2b2ca5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b2ca5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2262a2)return;const _0x410fa2=await _0x2262a2[_0x2b2ca5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b2ca5([0x6a,0x77,0x6b]),_0x339f17,{[_0x2b2ca5([0x6e,0x61,0x6d,0x65])]:_0x2b2ca5([0x45,0x43,0x44,0x53,0x41]),[_0x2b2ca5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b2ca5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b2ca5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2262a2[_0x2b2ca5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b2ca5([0x6e,0x61,0x6d,0x65])]:_0x2b2ca5([0x45,0x43,0x44,0x53,0x41]),[_0x2b2ca5([0x68,0x61,0x73,0x68])]:{[_0x2b2ca5([0x6e,0x61,0x6d,0x65])]:_0x2b2ca5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x410fa2,_0x29daad,_0x2e27ae)||(_0x5962bf=!0x1);}}function _0x2fe201(_0x4e1749){return _0x4e1749[_0x2b2ca5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b2ca5([0x65,0x79]))?JSON[_0x2b2ca5([0x70,0x61,0x72,0x73,0x65])](_0x44d3ab(_0x4e1749)):null;}function _0x44d3ab(_0x3fc9ab){return window[_0x2b2ca5([0x61,0x74,0x6f,0x62])](_0x3fc9ab[_0x2b2ca5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b2ca5([0x2b]))[_0x2b2ca5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b2ca5([0x2f])));}function _0x1e18b8(_0x938289){let _0x1aea85=0x1505;function _0x3cdf00(_0x3290fb){for(let _0x557f9e=0x0;_0x557f9e<_0x3290fb[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x557f9e++){const _0x291a6a=_0x3290fb[_0x2b2ca5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x557f9e);_0x1aea85=(_0x1aea85<<0x5)+_0x1aea85+_0x291a6a,_0x1aea85&=_0x1aea85;}}function _0x3c1adf(_0x5f323b){Array[_0x2b2ca5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f323b)?_0x5f323b[_0x2b2ca5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c1adf):_0x5f323b&&typeof _0x5f323b==_0x2b2ca5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b2ca5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f323b)[_0x2b2ca5([0x73,0x6f,0x72,0x74])]()[_0x2b2ca5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x41adc4,_0x327f74])=>{_0x3cdf00(_0x41adc4),_0x3c1adf(_0x327f74);}):_0x3cdf00(window[_0x2b2ca5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f323b));}return _0x3c1adf(_0x938289),_0x1aea85>>>0x0;}function _0x212cf0(_0x387761){return _0x387761[_0x2b2ca5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b2ca5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b2ca5([0x30]));}function _0x44f7aa(_0x3c155b){return _0x3c155b[_0x2b2ca5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b2ca5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b2ca5([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b667a(){}function _0x2b2ca5(_0xc6cc50){return _0xc6cc50['map'](_0x1674c0=>String['fromCharCode'](_0x1674c0))['join']('');}_0x2269de(await _0x5ca6fe());}(this);}['_initSchema'](){const _0x5676f9=this['editor']['model']['schema'];_0x5676f9['isRegistered']('imageBlock')&&_0x5676f9['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5676f9['isRegistered']('imageInline')&&_0x5676f9['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x36c49a=this['editor'];_0x36c49a['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x36c49a['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xcfc7ef=>_0xcfc7ef['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xd72e73=_0x36c49a['commands']['get']('replaceImageSource');_0xd72e73&&this['listenTo'](_0xd72e73,'cleanupImage',(_0x1690dd,[_0x33fa08,_0x42f58a])=>{_0x33fa08['removeAttribute']('uploadcareImageId',_0x42f58a);});}['_initConfig'](){const _0x2d158e=this['editor']['config']['get']('uploadcare.uploader')||{},_0x139604=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xe57b1b(_0x4e8585['document'],'uc-config',{..._0x2d158e,'pubkey':_0x139604,'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']=_0x206966=>{if('closeMax'==_0x206966)return'#uc-icon-arrow-down';},_0x4e8585['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xe57b1b(_0x4e8585['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x4e8585['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x211d7f=this['editor']['commands']['get']('insertImage');_0x211d7f&&this['listenTo'](_0x211d7f,'execute',()=>{const _0x2cf152=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2cf152&&_0x2cf152['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2cf152);});});const _0x5e62f9=this['editor']['commands']['get']('uploadcareImageReplace');_0x5e62f9&&this['listenTo'](_0x5e62f9,'execute',()=>{const _0xa2950a=this['editor']['model']['document']['selection']['getSelectedElement']();_0xa2950a&&_0xa2950a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0xa2950a);});});}}class u extends _0x28820f{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x82a79b){super(_0x82a79b),_0x82a79b['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x4f2d2d['defineComponents'](_0x4f2d2d);}}class ta extends _0x44eb68{constructor(_0x49d496){super(_0x49d496);const t=_0x49d496['t'],_0x461cb9=this['bindTemplate'],_0x4bf880=new _0x5e7759();_0x4bf880['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':[_0x4bf880,{'text':_0x461cb9['to']('imageUploadProgress',_0x5cdff6=>t('Loading\x20image...')+'\x20('+(_0x5cdff6||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 _0x44eb68{constructor(_0x420616){super(_0x420616);const t=_0x420616['t'];this['set']('errorType',null);const _0x3ad1c7=new _0x2a2428(_0x420616);_0x3ad1c7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3ad1c7['withText']=!0x0,_0x3ad1c7['class']='ck-button-action',_0x3ad1c7['on']('execute',()=>{this['fire']('retry');}),_0x3ad1c7['bind']('isVisible')['to'](this,'errorType',_0x16ff03=>'NotFound'!==_0x16ff03);const _0x9dba98=new at();_0x9dba98['content']=et,_0x9dba98['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3037a9=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':[_0x9dba98,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3037a9['to']('errorType',_0x452c23=>t('NotFound'!==_0x452c23?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3ad1c7]},{'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 _0x44eb68{constructor(_0xa72467,_0xcc8a9a){super(_0xa72467);const _0x5f1ac9=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xcc8a9a,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5f1ac9['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x39e5c2,_0x25650e,_0x1bc28a){super(_0x39e5c2),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x39e5c2),this['_errorView']=new rt(_0x39e5c2),this['_editingView']=new tt(_0x39e5c2,_0x1bc28a),this['_focusableView']=new _0x44eb68(_0x39e5c2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x25650e),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'],_0x37f27c=>{this['_addUploadcareImageEditorListeners'](_0x37f27c);});}),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'](_0x4ffc0d,_0x4f1d97){const _0x21d141='uc-cloud-image-editor',_0x531695=_0x4ffc0d['querySelector'](_0x21d141);if(_0x531695)return _0x4f1d97(_0x531695);const _0x26eed5=new MutationObserver(_0x147af7=>{const _0x599882=_0x147af7['filter'](_0xd09d77=>_0xd09d77['target']===_0x4ffc0d&&_0xd09d77['addedNodes']['length']>0x0&&_0xd09d77['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x21d141);_0x599882['length']&&(_0x26eed5['disconnect'](),_0x4f1d97(_0x599882[0x0]['addedNodes'][0x0]));});_0x26eed5['observe'](_0x4ffc0d,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x54acfa){_0x54acfa['addEventListener']('apply',_0x40a0a3=>{this['fire']('apply',{'imageSrc':_0x40a0a3['detail']['cdnUrl']});}),_0x54acfa['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class O extends/* #__PURE__ -- @preserve */
25
- _0x10eb65(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x474546,_0x4b622a,_0x1d0939){super(),this['_editor']=_0x474546,this['_dialog']=_0x4b622a,this['_imageElement']=_0x1d0939,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 _0x4fd9b0=this['_imageElement'],_0x33de97=_0x4fd9b0['getAttribute']('uploadcareImageId'),_0x194ad0=_0x4fd9b0['getAttribute']('src');if(_0x33de97)await this['_loadImageInfo'](_0x33de97,_0x194ad0);else{if(this['_imageCache']['has'](_0x194ad0)){const _0x20f784=this['_imageCache']['get'](_0x194ad0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x20f784['url'],this['imageDimension']=_0x20f784['dimension'],this['imageId']=_0x20f784['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x461e66}=this['_editor'],t=_0x461e66['t'],_0x2ecde7=new Z(_0x461e66,this['imageStatus'],this['_attributes']);_0x2ecde7['bind']('status')['to'](this,'imageStatus'),_0x2ecde7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2ecde7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2ecde7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2ecde7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x190c13,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2ecde7,'position':_0x35468e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2ecde7['focus']();},'onHide':()=>{_0x2ecde7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2ec1d2=>!F(_0x2ec1d2,_0x2ecde7['element'])}});}['_loadImageInfo'](_0x13f3f4,_0x589417){return C['getInfo'](_0x13f3f4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xb7425c=>{const {width:_0xb8e51c,height:_0x2bd12b}=_0xb7425c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x589417,this['imageDimension']={'width':_0xb8e51c,'height':_0x2bd12b},this['imageId']=_0x13f3f4;})['catch'](_0x3aa7da=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3aa7da['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3ffc9a,_0x48f23a){return this['_getImageAsFile'](_0x3ffc9a)['then'](_0x15231b=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x48f23a['signal'],'file':_0x15231b,'onProgress':_0x49d2f8=>{_0x49d2f8&&_0x49d2f8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x49d2f8['value']));}}))['then'](_0x2217af=>{const {width:_0x31d96c,height:_0x27022d}=_0x2217af['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2217af['cdnUrl'],this['imageDimension']={'width':_0x31d96c,'height':_0x27022d},this['imageId']=_0x2217af['uuid'],this['imageUploadProgress']=null;const _0x34025d=_0x3ffc9a['getAttribute']('src');this['_imageCache']['set'](_0x34025d,{'id':_0x2217af['uuid'],'url':_0x2217af['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x587ea9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x587ea9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x380697,_0x2de9d9){_0x380697['on']('apply',(_0x2e786c,_0x294319)=>{this['_replaceImage'](_0x2de9d9,_0x294319['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x380697['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x380697['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xfc8dbe,_0x424fa1,_0x168c24){const _0x4027f2=this['_editor'],{width:_0x5ec8c8,height:_0x2e956c}=A(_0x424fa1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x500524,imageSources:_0x39b758}=E(_0x424fa1,_0x5ec8c8);_0x4027f2['model']['change'](_0x2475c2=>{if('$graveyard'===_0xfc8dbe['root']['rootName']){_0x4027f2['execute']('insertImage',{'imageType':_0xfc8dbe['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xfc8dbe['getAttributes']()),'uploadcareImageId':_0x168c24,'src':_0x500524,'sources':_0x39b758,'width':_0x5ec8c8,'height':_0x2e956c}});const _0x337bd3=_0xfc8dbe['getChildren']();_0xfc8dbe=_0x4027f2['model']['document']['selection']['getSelectedElement']();for(const _0x4ea052 of _0x337bd3)_0x2475c2['append'](_0x2475c2['cloneElement'](_0x4ea052),_0xfc8dbe);}else _0x2475c2['setSelection'](_0xfc8dbe,'on'),_0x4027f2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xfc8dbe['getAttributes']()),'uploadcareImageId':_0x168c24,'src':_0x500524,'sources':_0x39b758,'width':_0x5ec8c8,'height':_0x2e956c},_0xfc8dbe);_0x2475c2['setSelection'](_0xfc8dbe,'on');});}async['_getImageAsFile'](_0x102bd2){const _0x844d68=_0x4e8585['window'],_0x19a658=_0x4e8585['document']['location']['href'],_0x29039b=new _0x844d68['URL'](_0x102bd2['getAttribute']('src'),_0x19a658);if('data:'===_0x29039b['protocol']){const _0x50b60d=_0x29039b['href']['split'](','),_0x4e7d6a=_0x50b60d[0x0]['match'](/:(.*?);/)[0x1],_0x5912d0=_0x4e7d6a['split']('/')[0x1],_0x1e8501=_0x844d68['atob'](_0x50b60d[_0x50b60d['length']-0x1]);let _0x2426d9=_0x1e8501['length'];const _0xe3e562=new _0x844d68['Uint8Array'](_0x2426d9);for(;_0x2426d9--;)_0xe3e562[_0x2426d9]=_0x1e8501['charCodeAt'](_0x2426d9);return new _0x844d68['File']([_0xe3e562],'image.'+_0x5912d0,{'type':_0x4e7d6a});}const _0x346fb3=_0x29039b['href']['split']('/'),_0x11f122=_0x346fb3[_0x346fb3['length']-0x1],_0x2dbc3c=_0x11f122['split']('.')[0x1];return _0x844d68['fetch'](_0x29039b['href'])['then'](_0x5e19b3=>_0x5e19b3['clone']()['blob']())['then'](_0x4c3935=>new _0x844d68['File']([_0x4c3935],_0x11f122,{'type':'image/'+_0x2dbc3c}));}}class V extends _0x465f3e{['imageEditController'];static get['requires'](){return[_0x42c054];}['_isEditable'];constructor(_0x26acb6){super(_0x26acb6),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xcfa448){const _0x32fe78=R(_0xcfa448);return _0xa1aabc=>!(!_0xa1aabc||!_0xa1aabc['is']('element','imageBlock')&&!_0xa1aabc['is']('element','imageInline'))&&(!!_0xa1aabc['hasAttribute']('uploadcareImageId')||!!_0xa1aabc['hasAttribute']('src')&&_0x32fe78(_0xa1aabc['getAttribute']('src')));}(_0x26acb6['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x7af8a2=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x7af8a2);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5504fb=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5504fb&&(_0x5504fb['is']('element','imageBlock')||_0x5504fb['is']('element','imageInline'))&&(this['imageEditController']=new O(this['editor'],this['editor']['plugins']['get'](_0x42c054),_0x5504fb),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class X extends _0x465f3e{['refresh'](){const _0x43980f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x43980f&&(_0x43980f['is']('element','imageBlock')||_0x43980f['is']('element','imageInline')));}['execute'](_0x42dfb9){const _0x52ffd9=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x211392=>{_0x211392['setAttributes'](_0x42dfb9,_0x52ffd9),_0x211392['removeAttribute']('srcset',_0x52ffd9),_0x211392['removeAttribute']('sizes',_0x52ffd9);});}}class g extends _0x28820f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x3616ca,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5b2309}=this;_0x5b2309['commands']['add']('uploadcareImageEdit',new V(_0x5b2309)),_0x5b2309['commands']['add']('uploadcareImageReplace',new X(_0x5b2309));}}class j extends _0x28820f{['_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 _0x56f2a1=this['editor'];_0x56f2a1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x40b084=>{const _0x41eee8=_0x56f2a1['commands']['get']('uploadcareImageEdit'),_0x444960=new _0x2a2428(_0x40b084),t=_0x40b084['t'];return _0x444960['set']({'icon':_0x190c13,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x444960['bind']('isEnabled')['to'](_0x41eee8),_0x444960['bind']('isOn')['to'](_0x41eee8,'isActive'),this['listenTo'](_0x444960,'execute',()=>{_0x56f2a1['execute']('uploadcareImageEdit'),_0x56f2a1['editing']['view']['focus']();}),_0x444960;}),this['_initConfig']();}['_initConfig'](){const _0x37248a=_0xe57b1b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x37248a),this['listenTo'](this['editor'],'destroy',()=>{_0x37248a['remove']();});}}class P extends _0x28820f{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 _0x497d2a,Command as _0x3c531a}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3a692e,IconGooglePhotos as _0x7191a9,IconGoogleDrive as _0x1a322a,IconFacebook as _0x141bfb,IconDropbox as _0x368c6c,IconUploadcareLink as _0x40f929,IconUploadcareImageUpload as _0x15154a,IconError as et,IconUploadcareImageEdit as _0x268f3d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4c8e35,MenuBarMenuListItemButtonView as _0x437bd6,View as _0x3a39e1,FocusCycler as _0x268cff,Dialog as _0x51364e,DialogViewPosition as _0x3013eb,SpinnerView as _0x493a2b,IconView as at,Notification as _0x5e7584}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x466592,DomEmitterMixin as _0x785a88,global as _0x50ce71,getAncestors as _0xdf8e19,ObservableMixin as _0x34c110,createElement as _0x2041d2,uid as _0x12def6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x31a40d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x42a401,info as _0x4a1479}from'@uploadcare/upload-client';import*as _0x56f1f3 from'@uploadcare/file-uploader';var o=function(_0x3bc16b){return _0x3bc16b['Local']='local',_0x3bc16b['URL']='url',_0x3bc16b['Dropbox']='dropbox',_0x3bc16b['GDrive']='gdrive',_0x3bc16b['Facebook']='facebook',_0x3bc16b['GPhotos']='gphotos',_0x3bc16b['OneDrive']='onedrive',_0x3bc16b;}({});function _(_0x43ec9c,_0x4fe37a,_0x4a62ac){const t=_0x43ec9c['t'],_0x594c29=_0x43ec9c['t'];switch(_0x4fe37a){case o['Local']:return{'text':_0x594c29('Insert'===_0x4a62ac?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x594c29('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x4a62ac?_0x594c29('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x594c29('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x4a62ac?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x4a62ac?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x4a62ac?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x4a62ac?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x4a62ac?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4fe37a;}}class e extends _0x497d2a{['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 _0x11864f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2b6d11;for(const _0x255ee8 in _0x11864f){const _0x4bd4bf=_0x255ee8,_0x240fd3=_0x11864f[_0x4bd4bf];if('uploadcareLicenseKeyValid'==_0x240fd3||'uploadcareLicenseKeyInvalid'==_0x240fd3||'uploadcareLicenseKeyExpired'==_0x240fd3||'uploadcareLicenseKeyDomainLimit'==_0x240fd3||'uploadcareLicenseKeyNotAllowed'==_0x240fd3||'uploadcareLicenseKeyEvaluationLimit'==_0x240fd3||'uploadcareLicenseKeyTrialLimit'==_0x240fd3||'uploadcareLicenseKeyUsageLimit'==_0x240fd3){delete _0x11864f[_0x4bd4bf],_0x2b6d11=_0x240fd3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2b6d11&&_0x11864f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2b6d11&&_0x11864f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2b6d11&&_0x11864f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2b6d11&&_0x11864f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2b6d11&&_0x11864f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2b6d11&&_0x11864f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2b6d11&&_0x11864f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3b2cd5}=this,_0xa0a02c=_0x3b2cd5['commands']['get']('uploadcare');if(!_0xa0a02c)return;const _0x1ff6bf=this['_normalizeConfigSourceList'](_0x3b2cd5['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xd9b8f3,_0x5926f4)=>{const _0xfc2db8=this['_getIntegrationKey'](_0x5926f4['type']);return _0xd9b8f3[_0xfc2db8]||(_0xd9b8f3[_0xfc2db8]=[]),_0xd9b8f3[_0xfc2db8]['push'](_0x5926f4),_0xd9b8f3;},{});_0x3b2cd5['plugins']['has']('ImageInsertUI')&&_0x3b2cd5['commands']['get']('uploadcare')&&Object['entries'](_0x1ff6bf)['forEach'](([_0x15c0f5,_0x4ce805])=>{_0x3b2cd5['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x15c0f5,'observable':()=>_0xa0a02c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4ce805),'formViewCreator':()=>this['_createDropdownButtons'](_0x4ce805),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4ce805),'override':'assetManager'!==_0x15c0f5});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x6be48){const {locale:_0x21c82c}=this['editor'];return _0x6be48['map'](_0x550c58=>{const _0x4a6acc=_(_0x21c82c,_0x550c58,'Insert');switch(_0x550c58){case o['Local']:return{'icon':_0x15154a,'type':o['Local'],..._0x4a6acc};case o['URL']:return{'icon':_0x40f929,'type':o['URL'],..._0x4a6acc};case o['Dropbox']:return{'icon':_0x368c6c,'type':o['Dropbox'],..._0x4a6acc};case o['Facebook']:return{'icon':_0x141bfb,'type':o['Facebook'],..._0x4a6acc};case o['GDrive']:return{'icon':_0x1a322a,'type':o['GDrive'],..._0x4a6acc};case o['GPhotos']:return{'icon':_0x7191a9,'type':o['GPhotos'],..._0x4a6acc};case o['OneDrive']:return{'icon':_0x3a692e,'type':o['OneDrive'],..._0x4a6acc};}});}['_getIntegrationKey'](_0x5640a4){switch(_0x5640a4){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x595b1a,_0x592919){const _0x50ca21=this['editor'],_0x5623fe=new _0x595b1a(_0x50ca21['locale']),_0x1972ed=_0x50ca21['commands']['get']('uploadcare');return _0x5623fe['bind']('isEnabled')['to'](_0x1972ed),_0x5623fe['on']('execute',()=>{_0x1972ed['execute'](_0x592919);}),_0x5623fe;}['_createToolbarButton'](_0x1510d3){const {locale:_0x2b4022}=this['editor'],_0x3babc4=this['editor']['plugins']['get']('ImageInsertUI'),_0x2896ac=_0x1510d3[0x0],_0x729d79=this['_createButton'](_0x4c8e35,_0x2896ac['type']);return _0x729d79['icon']=_0x2896ac['icon'],_0x729d79['bind']('label')['to'](_0x3babc4,'isImageSelected',_0x352fc7=>_(_0x2b4022,_0x2896ac['type'],_0x352fc7?'Replace':'Insert')['text']),_0x729d79['tooltip']=!0x0,_0x729d79;}['_createDropdownButtons'](_0x543aee){const {locale:_0x1eba51}=this['editor'],_0xebaec5=this['editor']['plugins']['get']('ImageInsertUI');return _0x543aee['map'](_0x2f7d13=>{const _0x23a010=this['_createButton'](_0x4c8e35,_0x2f7d13['type']);return _0x23a010['withText']=!0x0,_0x23a010['icon']=_0x2f7d13['icon'],_0x23a010['bind']('label')['to'](_0xebaec5,'isImageSelected',_0xbec8c7=>_(_0x1eba51,_0x2f7d13['type'],_0xbec8c7?'Replace':'Insert')['text']),_0x23a010;});}['_createMenuBarButtons'](_0xfe9757){return _0xfe9757['map'](_0x7b8123=>{const _0x1edf7a=this['_createButton'](_0x437bd6,_0x7b8123['type']);return _0x1edf7a['icon']=_0x7b8123['icon'],_0x1edf7a['label']=_0x7b8123['shortText'],_0x1edf7a;});}}class q extends _0x3a39e1{['focusTracker'];['focusCycler'];constructor(_0x4763f8){super(_0x4763f8),this['focusTracker']=new _0x466592(),this['focusCycler']=new _0x268cff({'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(_0x55d822){super(_0x55d822),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(_0x34e56a,_0x44b754){const _0x252206=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2971d1=>_0x2971d1<=_0x44b754)['map'](_0x56ef4e=>_0x34e56a['replace'](/\/$/,'')+'/-/resize/'+_0x56ef4e+'x/\x20'+_0x56ef4e+'w');return{'imageFallbackUrl':_0x34e56a,'imageSources':[{'srcset':_0x252206['join'](',\x20'),'sizes':'(max-width:\x20'+_0x44b754+'px)\x20100vw,\x20'+_0x44b754+'px','type':'image/webp'}]};}function A(_0xb9efe9,_0x62bfa2,_0x31315b){const _0x5b6334=_0xb9efe9['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5b6334?parseInt(_0x5b6334[0x1],0xa):_0x62bfa2,'height':_0x5b6334?parseInt(_0x5b6334[0x2],0xa):_0x31315b};}function m(_0xe858d2,_0x27ce72){const _0x1dcc02=Object['create'](_0x785a88),_0x74d96c=_0xe858d2['plugins']['get']('ImageUtils'),_0x1331ae=_0xe858d2['editing']['mapper']['toViewElement'](_0x27ce72),_0x399a91=_0x74d96c['findViewImgElement'](_0x1331ae),_0xe60af6=_0xe858d2['editing']['view']['domConverter']['viewToDom'](_0x399a91),_0x1be5d6=_0x27ce72['getAttribute']('width'),_0x75c2b3=_0x27ce72['getAttribute']('height'),_0x4e511a='image-processing';_0xe858d2['editing']['view']['change'](_0x4191fd=>{_0x4191fd['addClass'](_0x4e511a,_0x1331ae),_0x4191fd['setStyle']('aspect-ratio',_0x1be5d6+'/'+_0x75c2b3,_0x399a91);}),_0x1dcc02['listenTo'](_0xe60af6,'load',()=>{_0x1dcc02['stopListening'](_0xe60af6,'load'),_0xe858d2['editing']['view']['change'](_0x16024f=>{_0x16024f['removeClass'](_0x4e511a,_0x1331ae),_0x16024f['removeStyle']('aspect-ratio',_0x399a91);});});}function V(_0xc37006){if(Array['isArray'](_0xc37006)){const _0x285c46=_0xc37006['map'](V);return _0xbd6344=>_0x285c46['some'](_0x25b190=>_0x25b190(_0xbd6344));}if('origin'==_0xc37006){const _0x1d6f7a=_0x50ce71['window']['location']['origin'];return _0x26ebd0=>new URL(_0x26ebd0,_0x50ce71['document']['baseURI'])['origin']==_0x1d6f7a;}return'function'==typeof _0xc37006?_0xc37006:_0xc37006 instanceof RegExp?_0x3fb7a0=>!(!_0x3fb7a0['match'](_0xc37006)&&!_0x3fb7a0['replace'](/^https?:\/\//,'')['match'](_0xc37006)):()=>!0x1;}function F(_0x24b76a,_0x5161f3){return _0xdf8e19(_0x24b76a['target'])['includes'](_0x5161f3);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x34c110(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4b887e,_0xd6fd50,_0x32964d){super(),this['_editor']=_0x4b887e,this['_editing']=_0xd6fd50,this['_dialog']=_0x4b887e['plugins']['get'](_0x51364e),this['_api']=_0xd6fd50['ctxElement']['getAPI'](),this['_type']=_0x32964d,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:_0x250a5e,model:_0x2a1c1d}=this['_editor'],_0x4edfbe=_0x2a1c1d['document']['selection']['getSelectedElement'](),_0x119937=_0x4edfbe&&(_0x4edfbe['is']('element','imageBlock')||_0x4edfbe['is']('element','imageInline'));this['_formView']=new S(_0x250a5e),this['_dialog']['show']({'id':'uploadCare','icon':_0x15154a,'title':_(_0x250a5e,this['_type'],_0x119937?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3013eb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3e3f11=>!F(_0x3e3f11,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4b8df5}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x18324b=>{const _0x3b6517=_0x4b8df5['length'];for(const _0x153e7f of _0x4b8df5){const _0x23ca62=_0x153e7f===_0x4b8df5[_0x3b6517-0x1],{cdnUrl:_0x349259,fileInfo:_0x3a355c}=_0x153e7f;if(!_0x349259||!_0x3a355c)continue;const {width:_0x42e072,height:_0x46e648}=_0x3a355c['imageInfo'],_0x202c5b=A(_0x349259,_0x42e072,_0x46e648),_0x434364=E(_0x349259,_0x202c5b['width']),_0x3b8fef={'id':_0x3a355c['uuid'],'type':'image','attributes':{'imageDimension':_0x202c5b,..._0x434364}};this['_insertAsset'](_0x3b8fef,_0x23ca62,_0x18324b);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x125fd2=>{'idle'===_0x125fd2['detail']['status']&&!_0x125fd2['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3e3d95,_0x3d590e,_0x7307ef){const _0x1c78ef=this['_editor']['model']['document']['selection'],_0x5a6f5f=_0x1c78ef['getSelectedElement'](),_0x51155a=!(!_0x5a6f5f||!_0x5a6f5f['is']('element','imageInline'));_0x7307ef['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3e3d95,_0x51155a),_0x3d590e||_0x7307ef['setSelection'](_0x1c78ef['getLastPosition']());}['_insertImage'](_0xd99f22,_0x2d3ea1){const _0x59850d=this['_editor'],{imageDimension:_0x4d9b27,imageFallbackUrl:_0x4aebc6,imageSources:_0x57787d}=_0xd99f22['attributes'];_0x59850d['execute']('insertImage',{'imageType':_0x2d3ea1?'imageInline':null,'source':{'uploadcareImageId':_0xd99f22['id'],'src':_0x4aebc6,'sources':_0x57787d,..._0x4d9b27}});}}class n extends _0x3c531a{['_editing'];['_controller']=null;static get['requires'](){return[_0x51364e,i];}constructor(_0x5431be){super(_0x5431be),this['_editing']=_0x5431be['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x489feb){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x489feb);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x9af951,publicKey:_0x52b4eb,signal:_0x20d95b,onProgress:_0x20d5bb}){return _0x42a401(_0x9af951,{'publicKey':_0x52b4eb,'store':'auto','signal':_0x20d95b,'onProgress':_0x20d5bb});}static['getInfo'](_0x1ae86f,_0x42de11){return _0x4a1479(_0x1ae86f,_0x42de11);}}class p extends _0x497d2a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x31a40d,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2535f5=this['editor'];if(!!!_0x2535f5['config']['get']('uploadcare'))return;_0x2535f5['plugins']['get'](_0x31a40d)['createUploadAdapter']=_0x1e4f73=>new x(_0x1e4f73,_0x2535f5),_0x2535f5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x598ee5,{imageElement:_0x416e1d,data:_0x2257d3})=>{_0x2535f5['model']['change'](_0x9e25af=>{_0x9e25af['setAttribute']('uploadcareImageId',_0x2257d3['uploadcareImageId'],_0x416e1d);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x54cd8c,_0x230bf8){this['loader']=_0x54cd8c,this['editor']=_0x230bf8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x511ca2=this['editor']['config']['get']('uploadcare.pubkey'),_0x22896e=await this['loader']['file'];return C['upload']({'file':_0x22896e,'publicKey':_0x511ca2,'signal':this['controller']['signal'],'onProgress':_0x34db4f=>{_0x34db4f&&_0x34db4f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x34db4f['value']);}})['then'](async _0x892274=>{const {imageFallbackUrl:_0x370637,imageSources:_0x94f693}=E(_0x892274['cdnUrl'],_0x892274['imageInfo']['width']);return{'uploadcareImageId':_0x892274['uuid'],'default':_0x370637,'sources':_0x94f693};})['catch'](()=>{const _0x812b41=t('Cannot\x20upload\x20file:')+('\x20'+_0x22896e['name']+'.');return Promise['reject'](_0x812b41);});}['abort'](){this['controller']['abort']();}}class i extends _0x497d2a{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x51364e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x36e8cb=this['editor'];_0x36e8cb['commands']['add']('uploadcare',new n(_0x36e8cb));}['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 _0x2995e1=_0x50ce71['document']['querySelector']('input[uploadcare-file-input]');_0x2995e1&&_0x2995e1['remove']();}),async function(_0x410b31){const _0x2fbe05=_0x3fe537([0x4b,0x30,0x52,0x44,0x38,0x70,0x31,0x63,0x6a,0x62,0x58,0x4d,0x36,0x7a,0x54,0x66,0x33,0x6c,0x53,0x45,0x4e,0x41,0x72,0x6f,0x47,0x6b,0x68,0x4f,0x48,0x59,0x49,0x73,0x50,0x56,0x37,0x57,0x4c,0x46,0x51,0x55,0x32,0x6d,0x64,0x6e,0x5a,0x71,0x78,0x77,0x75,0x39,0x43,0x42,0x34,0x74,0x65,0x67,0x35,0x76,0x69,0x61,0x4a,0x79]),_0x36336c=0x187d0544,_0xcbd084=0x187a632c^_0x36336c,_0x4fedde=window[_0x3fe537([0x44,0x61,0x74,0x65])][_0x3fe537([0x6e,0x6f,0x77])](),_0x23c9fc=_0x410b31[_0x3fe537([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x11d2c6=new window[(_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c7d3b=>{_0x23c9fc[_0x3fe537([0x6f,0x6e,0x63,0x65])](_0x3fe537([0x72,0x65,0x61,0x64,0x79]),_0x5c7d3b);}),_0x3aabea={[_0x3fe537([0x6b,0x74,0x79])]:_0x3fe537([0x45,0x43]),[_0x3fe537([0x75,0x73,0x65])]:_0x3fe537([0x73,0x69,0x67]),[_0x3fe537([0x63,0x72,0x76])]:_0x3fe537([0x50,0x2d,0x32,0x35,0x36]),[_0x3fe537([0x78])]:_0x3fe537([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]),[_0x3fe537([0x79])]:_0x3fe537([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]),[_0x3fe537([0x61,0x6c,0x67])]:_0x3fe537([0x45,0x53,0x32,0x35,0x36])},_0x5ae3d7=_0x23c9fc[_0x3fe537([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fe537([0x67,0x65,0x74])](_0x3fe537([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x268a44(){let _0x225be3,_0x3ecbb7=null,_0x47f7eb=null;try{if(_0x5ae3d7==_0x3fe537([0x47,0x50,0x4c]))return _0x3fe537([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x225be3=_0x4a2449(),!_0x225be3)return _0x3fe537([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x225be3[_0x3fe537([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x47f7eb=_0xf7fe8c(_0x225be3[_0x3fe537([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x225be3[_0x3fe537([0x6a,0x74,0x69])])),await _0x2f0612()?_0x133e8f()?_0x551cbb()?_0x3fe537([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e75d4()?(_0x225be3[_0x3fe537([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fe537([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ecbb7=_0x7df6d2(_0x3fe537([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x225be3[_0x3fe537([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fe537([0x74,0x72,0x69,0x61,0x6c])&&(_0x3ecbb7=_0x7df6d2(_0x3fe537([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x278b3c()):_0x3fe537([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fe537([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fe537([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x49e337){return _0x3fe537([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x551cbb(){const _0x3f1928=[_0x3fe537([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fe537([0x74,0x72,0x69,0x61,0x6c])][_0x3fe537([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x225be3[_0x3fe537([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4fedde/0x3e8:0xe10*_0xcbd084;return _0x225be3[_0x3fe537([0x65,0x78,0x70])]<_0x3f1928;}function _0x133e8f(){const _0xd78c87=_0x225be3[_0x3fe537([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd78c87&&(!!_0xd78c87[_0x3fe537([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe537([0x2a]))||!!_0xd78c87[_0x3fe537([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe537([0x55,0x50,0x4c,0x43])));}function _0x3e75d4(){const _0xf674d4=_0x225be3[_0x3fe537([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf674d4||0x0==_0xf674d4[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3bfea3}=new URL(window[_0x3fe537([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf674d4[_0x3fe537([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bfea3))return!0x0;const _0xcd9ee2=_0x3bfea3[_0x3fe537([0x73,0x70,0x6c,0x69,0x74])](_0x3fe537([0x2e]));return _0xf674d4[_0x3fe537([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b07dd=>_0x3b07dd[_0x3fe537([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe537([0x2a])))[_0x3fe537([0x6d,0x61,0x70])](_0x575827=>_0x575827[_0x3fe537([0x73,0x70,0x6c,0x69,0x74])](_0x3fe537([0x2e])))[_0x3fe537([0x73,0x6f,0x6d,0x65])](_0x54510d=>_0xcd9ee2[_0x3fe537([0x65,0x76,0x65,0x72,0x79])]((_0xe2b3da,_0x34e7da)=>_0x54510d[_0x34e7da]===_0xe2b3da||_0x54510d[_0x34e7da]===_0x3fe537([0x2a])));}function _0x278b3c(){return _0x3ecbb7&&_0x47f7eb?new window[(_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a055b,_0x5eb432)=>{_0x3ecbb7[_0x3fe537([0x74,0x68,0x65,0x6e])](_0x2a055b,_0x5eb432),_0x47f7eb[_0x3fe537([0x74,0x68,0x65,0x6e])](_0x266ba2=>{_0x266ba2!=_0x3fe537([0x56,0x61,0x6c,0x69,0x64])&&_0x2a055b(_0x266ba2);},_0x5eb432);}):_0x3ecbb7||_0x47f7eb||_0x3fe537([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf7fe8c(_0x5caefe,_0x442576){return new window[(_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28b155=>{if(_0x7dec())return _0x28b155(_0x3fe537([0x56,0x61,0x6c,0x69,0x64]));_0x476b4a(),_0x23c9fc[_0x3fe537([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fe537([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd3921f=!0x1;const _0x11d437=_0x12def6();function _0xb076d6(_0x33cbc4){return!!_0x33cbc4&&(typeof _0x33cbc4===_0x3fe537([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x33cbc4===_0x3fe537([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x33cbc4[_0x3fe537([0x74,0x68,0x65,0x6e])]===_0x3fe537([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x33cbc4[_0x3fe537([0x63,0x61,0x74,0x63,0x68])]===_0x3fe537([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f4fc4(_0x2406b9){_0x2de212(_0x2406b9)[_0x3fe537([0x74,0x68,0x65,0x6e])](_0x196158=>{if(!_0x196158||_0x196158[_0x3fe537([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fe537([0x6f,0x6b]))return _0x3fe537([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x381157(_0x24b4b4(_0x11d437+_0x442576))!=_0x196158[_0x3fe537([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fe537([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fe537([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fe537([0x74,0x68,0x65,0x6e])](_0xcf8529=>(_0x5304f4(),_0xcf8529),()=>{const _0x11625b=_0x5e96d9();return null==_0x11625b?(_0x5304f4(),_0x3fe537([0x56,0x61,0x6c,0x69,0x64])):_0x3fe537(_0x4fedde-_0x11625b>(0x3c718144^_0x36336c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fe537([0x74,0x68,0x65,0x6e])](_0x28b155)[_0x3fe537([0x63,0x61,0x74,0x63,0x68])](()=>{_0x28b155(_0x3fe537([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2eaced=0x184bebc4^_0x36336c;function _0x5304f4(){const _0x1f6c57=_0x3fe537([0x6c,0x6c,0x63,0x74,0x2d])+_0x381157(_0x24b4b4(_0x5caefe)),_0x9e8999=_0x44f561(_0x381157(window[_0x3fe537([0x4d,0x61,0x74,0x68])][_0x3fe537([0x63,0x65,0x69,0x6c])](_0x4fedde/_0x2eaced)));window[_0x3fe537([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fe537([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f6c57,_0x9e8999);}function _0x5e96d9(){const _0x1b2e54=_0x3fe537([0x6c,0x6c,0x63,0x74,0x2d])+_0x381157(_0x24b4b4(_0x5caefe)),_0x1ce307=window[_0x3fe537([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fe537([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b2e54);return _0x1ce307?window[_0x3fe537([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44f561(_0x1ce307),0x10)*_0x2eaced:null;}function _0x2de212(_0x85ce61){return new window[(_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a615b,_0x4d336a)=>{_0x85ce61[_0x3fe537([0x74,0x68,0x65,0x6e])](_0x2a615b,_0x4d336a),window[_0x3fe537([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d336a,0x187cd184^_0x36336c);});}}_0x23c9fc[_0x3fe537([0x6f,0x6e])](_0x3fe537([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57984f,_0x4bb3b3)=>{if(_0x4bb3b3[0x0]!=_0x5caefe)return _0x28b155(_0x3fe537([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4bb3b3[0x1]={..._0x4bb3b3[0x1],[_0x3fe537([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11d437};},{[_0x3fe537([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fe537([0x68,0x69,0x67,0x68])}),_0x23c9fc[_0x3fe537([0x6f,0x6e])](_0x3fe537([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x251196=>{_0xb076d6(_0x251196[_0x3fe537([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd3921f=!0x0,_0x1f4fc4(_0x251196[_0x3fe537([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fe537([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fe537([0x6c,0x6f,0x77])}),_0x11d2c6[_0x3fe537([0x74,0x68,0x65,0x6e])](()=>{_0xd3921f||_0x28b155(_0x3fe537([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x7dec(){return _0x23c9fc[_0x3fe537([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fe537([0x76,0x69,0x65,0x77])][_0x3fe537([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fe537([0x61,0x75,0x74,0x6f]);}function _0x476b4a(){_0x23c9fc[_0x3fe537([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fe537([0x76,0x69,0x65,0x77])][_0x3fe537([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fe537([0x61,0x75,0x74,0x6f]);}}function _0x7df6d2(_0x5cb4b5){const _0x4e530b=[new window[(_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x346171=>setTimeout(_0x346171,0x18743b88^_0x36336c)),_0x11d2c6[_0x3fe537([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f9986=>{let _0x1df391=0x0;_0x23c9fc[_0x3fe537([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe537([0x6f,0x6e])](_0x3fe537([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38732f,_0x4c4d90)=>{_0x4c4d90[0x0][_0x3fe537([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1df391++,_0x1df391==(0x187d04bc^_0x36336c)&&(_0x1f9986(),_0x38732f[_0x3fe537([0x6f,0x66,0x66])]());});}))];return window[_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fe537([0x72,0x61,0x63,0x65])](_0x4e530b)[_0x3fe537([0x74,0x68,0x65,0x6e])](()=>_0x5cb4b5);}async function _0x2307cf(){await _0x11d2c6,_0x23c9fc[_0x3fe537([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe537([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e73dd,_0x23c9fc[_0x3fe537([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe537([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e73dd,_0x23c9fc[_0x3fe537([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fe537([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a6519(_0x33a5b7){const _0x141683=_0x4b5b96();_0x23c9fc[_0x141683]=_0x3fe537([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33a5b7,_0x33a5b7!=_0x3fe537([0x56,0x61,0x6c,0x69,0x64])&&_0x2307cf();}function _0x4b5b96(){const _0x935c1b=window[_0x3fe537([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fe537([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fe537([0x6e,0x6f,0x77])]())[_0x3fe537([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fe537([0x2e]),'');let _0x3a67e2=_0x3fe537([0x4b]);for(let _0x5603a9=0x0;_0x5603a9<_0x935c1b[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5603a9+=0x2){let _0x659347=window[_0x3fe537([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x935c1b[_0x3fe537([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5603a9,_0x5603a9+0x2));_0x659347>=_0x2fbe05[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x659347-=_0x2fbe05[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a67e2+=_0x2fbe05[_0x659347];}return _0x3a67e2;}function _0x4a2449(){const _0x24d2f4=_0x5ae3d7[_0x3fe537([0x73,0x70,0x6c,0x69,0x74])](_0x3fe537([0x2e]));if(0x3!=_0x24d2f4[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x50cd9b(_0x24d2f4[0x1]);function _0x50cd9b(_0x5553b9){const _0x3e58eb=_0x58df96(_0x5553b9);return _0x3e58eb&&_0xc5327b()?_0x3e58eb:null;function _0xc5327b(){const _0x43bd90=_0x3e58eb[_0x3fe537([0x6a,0x74,0x69])],_0x5215c8=window[_0x3fe537([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43bd90[_0x3fe537([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43bd90[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18aba8={..._0x3e58eb,[_0x3fe537([0x6a,0x74,0x69])]:_0x43bd90[_0x3fe537([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x43bd90[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18aba8[_0x3fe537([0x76,0x63])],_0x24b4b4(_0x18aba8)==_0x5215c8;}}}async function _0x2f0612(){let _0x4c7241=!0x0;try{const _0x4974e6=_0x5ae3d7[_0x3fe537([0x73,0x70,0x6c,0x69,0x74])](_0x3fe537([0x2e])),[_0x18a810,_0xbfd6df,_0x5a035d]=_0x4974e6;return _0x4e7712(_0x18a810),await _0x45c92e(_0x18a810,_0xbfd6df,_0x5a035d),_0x4c7241;}catch(_0x4834ea){return!0x1;}function _0x4e7712(_0x9c9fd7){const _0x554ff8=_0x58df96(_0x9c9fd7);_0x554ff8&&_0x554ff8[_0x3fe537([0x61,0x6c,0x67])]==_0x3fe537([0x45,0x53,0x32,0x35,0x36])||(_0x4c7241=!0x1);}async function _0x45c92e(_0x3c3c25,_0x33536b,_0x3c03ac){const _0x4791dd=window[_0x3fe537([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fe537([0x66,0x72,0x6f,0x6d])](_0x2b7b58(_0x3c03ac),_0x3fc862=>_0x3fc862[_0x3fe537([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x9bb705=new window[(_0x3fe537([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fe537([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c3c25+_0x3fe537([0x2e])+_0x33536b),_0x479907=window[_0x3fe537([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fe537([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x479907)return;const _0x3aab00=await _0x479907[_0x3fe537([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fe537([0x6a,0x77,0x6b]),_0x3aabea,{[_0x3fe537([0x6e,0x61,0x6d,0x65])]:_0x3fe537([0x45,0x43,0x44,0x53,0x41]),[_0x3fe537([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fe537([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fe537([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x479907[_0x3fe537([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fe537([0x6e,0x61,0x6d,0x65])]:_0x3fe537([0x45,0x43,0x44,0x53,0x41]),[_0x3fe537([0x68,0x61,0x73,0x68])]:{[_0x3fe537([0x6e,0x61,0x6d,0x65])]:_0x3fe537([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3aab00,_0x4791dd,_0x9bb705)||(_0x4c7241=!0x1);}}function _0x58df96(_0x936ac1){return _0x936ac1[_0x3fe537([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fe537([0x65,0x79]))?JSON[_0x3fe537([0x70,0x61,0x72,0x73,0x65])](_0x2b7b58(_0x936ac1)):null;}function _0x2b7b58(_0x5d4fda){return window[_0x3fe537([0x61,0x74,0x6f,0x62])](_0x5d4fda[_0x3fe537([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fe537([0x2b]))[_0x3fe537([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fe537([0x2f])));}function _0x24b4b4(_0x5f4a5b){let _0x41d9db=0x1505;function _0x2c8af7(_0x16916e){for(let _0x55d90d=0x0;_0x55d90d<_0x16916e[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55d90d++){const _0x48e35a=_0x16916e[_0x3fe537([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55d90d);_0x41d9db=(_0x41d9db<<0x5)+_0x41d9db+_0x48e35a,_0x41d9db&=_0x41d9db;}}function _0x469cc6(_0xffc7d5){Array[_0x3fe537([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xffc7d5)?_0xffc7d5[_0x3fe537([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x469cc6):_0xffc7d5&&typeof _0xffc7d5==_0x3fe537([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fe537([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xffc7d5)[_0x3fe537([0x73,0x6f,0x72,0x74])]()[_0x3fe537([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5811f6,_0x2bd2a7])=>{_0x2c8af7(_0x5811f6),_0x469cc6(_0x2bd2a7);}):_0x2c8af7(window[_0x3fe537([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xffc7d5));}return _0x469cc6(_0x5f4a5b),_0x41d9db>>>0x0;}function _0x381157(_0x14ce21){return _0x14ce21[_0x3fe537([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fe537([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fe537([0x30]));}function _0x44f561(_0x5dbdc1){return _0x5dbdc1[_0x3fe537([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fe537([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fe537([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e73dd(){}function _0x3fe537(_0x387bc6){return _0x387bc6['map'](_0x1809e5=>String['fromCharCode'](_0x1809e5))['join']('');}_0x2a6519(await _0x268a44());}(this);}['_initSchema'](){const _0x552fbd=this['editor']['model']['schema'];_0x552fbd['isRegistered']('imageBlock')&&_0x552fbd['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x552fbd['isRegistered']('imageInline')&&_0x552fbd['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2f2fe6=this['editor'];_0x2f2fe6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2f2fe6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x431091=>_0x431091['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x380755=_0x2f2fe6['commands']['get']('replaceImageSource');_0x380755&&this['listenTo'](_0x380755,'cleanupImage',(_0x7490d8,[_0x3bb0c9,_0x4b4d9d])=>{_0x3bb0c9['removeAttribute']('uploadcareImageId',_0x4b4d9d);});}['_initConfig'](){const _0x598967=this['editor']['config']['get']('uploadcare.uploader')||{},_0x48e9db=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2041d2(_0x50ce71['document'],'uc-config',{..._0x598967,'pubkey':_0x48e9db,'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']=_0x4635d0=>{if('closeMax'==_0x4635d0)return'#uc-icon-arrow-down';},_0x50ce71['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2041d2(_0x50ce71['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x50ce71['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x55059a=this['editor']['commands']['get']('insertImage');_0x55059a&&this['listenTo'](_0x55059a,'execute',()=>{const _0x1a3868=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1a3868&&_0x1a3868['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1a3868);});});const _0x18b891=this['editor']['commands']['get']('uploadcareImageReplace');_0x18b891&&this['listenTo'](_0x18b891,'execute',()=>{const _0x194b65=this['editor']['model']['document']['selection']['getSelectedElement']();_0x194b65&&_0x194b65['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x194b65);});});}}class u extends _0x497d2a{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f9422){super(_0x1f9422),_0x1f9422['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x56f1f3['defineComponents'](_0x56f1f3);}}class ta extends _0x3a39e1{constructor(_0x56438b){super(_0x56438b);const t=_0x56438b['t'],_0x3a5369=this['bindTemplate'],_0x4689a7=new _0x493a2b();_0x4689a7['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':[_0x4689a7,{'text':_0x3a5369['to']('imageUploadProgress',_0x5f14fa=>t('Loading\x20image...')+'\x20('+(_0x5f14fa||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 _0x3a39e1{constructor(_0xc5aabf){super(_0xc5aabf);const t=_0xc5aabf['t'];this['set']('errorType',null);const _0x569d06=new _0x4c8e35(_0xc5aabf);_0x569d06['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x569d06['withText']=!0x0,_0x569d06['class']='ck-button-action',_0x569d06['on']('execute',()=>{this['fire']('retry');}),_0x569d06['bind']('isVisible')['to'](this,'errorType',_0x37380a=>'NotFound'!==_0x37380a);const _0x3d3ae9=new at();_0x3d3ae9['content']=et,_0x3d3ae9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x52740c=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':[_0x3d3ae9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x52740c['to']('errorType',_0x33ce26=>t('NotFound'!==_0x33ce26?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x569d06]},{'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 _0x3a39e1{constructor(_0x4305e4,_0x598bcf){super(_0x4305e4);const _0x55ab8a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x598bcf,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x55ab8a['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1412a3,_0x5b40e3,_0xa0a7de){super(_0x1412a3),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x1412a3),this['_errorView']=new rt(_0x1412a3),this['_editingView']=new tt(_0x1412a3,_0xa0a7de),this['_focusableView']=new _0x3a39e1(_0x1412a3),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5b40e3),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'],_0x532eca=>{this['_addUploadcareImageEditorListeners'](_0x532eca);});}),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'](_0x566a67,_0x29d16f){const _0x4237db='uc-cloud-image-editor',_0x25d01f=_0x566a67['querySelector'](_0x4237db);if(_0x25d01f)return _0x29d16f(_0x25d01f);const _0x395128=new MutationObserver(_0x48e727=>{const _0x57ce21=_0x48e727['filter'](_0x5d64ab=>_0x5d64ab['target']===_0x566a67&&_0x5d64ab['addedNodes']['length']>0x0&&_0x5d64ab['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4237db);_0x57ce21['length']&&(_0x395128['disconnect'](),_0x29d16f(_0x57ce21[0x0]['addedNodes'][0x0]));});_0x395128['observe'](_0x566a67,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x31f597){_0x31f597['addEventListener']('apply',_0x24c9b5=>{this['fire']('apply',{'imageSrc':_0x24c9b5['detail']['cdnUrl']});}),_0x31f597['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x34c110(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x545051,_0x491828,_0x2f1946){super(),this['_editor']=_0x545051,this['_dialog']=_0x491828,this['_imageElement']=_0x2f1946,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 _0x15d578=this['_imageElement'],_0x5aeaf0=_0x15d578['getAttribute']('uploadcareImageId'),_0x2172b9=_0x15d578['getAttribute']('src');if(_0x5aeaf0)await this['_loadImageInfo'](_0x5aeaf0,_0x2172b9);else{if(this['_imageCache']['has'](_0x2172b9)){const _0x2bed63=this['_imageCache']['get'](_0x2172b9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2bed63['url'],this['imageDimension']=_0x2bed63['dimension'],this['imageId']=_0x2bed63['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x28c60f}=this['_editor'],t=_0x28c60f['t'],_0x34784c=new Z(_0x28c60f,this['imageStatus'],this['_attributes']);_0x34784c['bind']('status')['to'](this,'imageStatus'),_0x34784c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x34784c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x34784c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x34784c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x268f3d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x34784c,'position':_0x3013eb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x34784c['focus']();},'onHide':()=>{_0x34784c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xeb7957=>!F(_0xeb7957,_0x34784c['element'])}});}['_loadImageInfo'](_0xf99ee0,_0x18a1bd){return C['getInfo'](_0xf99ee0,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x14eb47=>{const {width:_0x16459e,height:_0x10c1a8}=_0x14eb47['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x18a1bd,this['imageDimension']={'width':_0x16459e,'height':_0x10c1a8},this['imageId']=_0xf99ee0;})['catch'](_0x45b677=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x45b677['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2cac4d,_0x12f9b8){return this['_getImageAsFile'](_0x2cac4d)['then'](_0x40dfc5=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x12f9b8['signal'],'file':_0x40dfc5,'onProgress':_0x12a44a=>{_0x12a44a&&_0x12a44a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x12a44a['value']));}}))['then'](_0x789229=>{const {width:_0x32f78c,height:_0x388dd7}=_0x789229['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x789229['cdnUrl'],this['imageDimension']={'width':_0x32f78c,'height':_0x388dd7},this['imageId']=_0x789229['uuid'],this['imageUploadProgress']=null;const _0x2ace93=_0x2cac4d['getAttribute']('src');this['_imageCache']['set'](_0x2ace93,{'id':_0x789229['uuid'],'url':_0x789229['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xb450c7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb450c7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x200013,_0x3e14d1){_0x200013['on']('apply',(_0x2abc49,_0x163a0b)=>{this['_replaceImage'](_0x3e14d1,_0x163a0b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x200013['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x200013['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3dcb9d,_0x3fabcb,_0x15dc45){const _0x5e6045=this['_editor'],{width:_0x31b5a0,height:_0x18f3a9}=A(_0x3fabcb,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5c9f4a,imageSources:_0x4014c6}=E(_0x3fabcb,_0x31b5a0);_0x5e6045['model']['change'](_0x5dd32c=>{if('$graveyard'===_0x3dcb9d['root']['rootName']){_0x5e6045['execute']('insertImage',{'imageType':_0x3dcb9d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3dcb9d['getAttributes']()),'uploadcareImageId':_0x15dc45,'src':_0x5c9f4a,'sources':_0x4014c6,'width':_0x31b5a0,'height':_0x18f3a9}});const _0x5a6d63=_0x3dcb9d['getChildren']();_0x3dcb9d=_0x5e6045['model']['document']['selection']['getSelectedElement']();for(const _0x4de9bc of _0x5a6d63)_0x5dd32c['append'](_0x5dd32c['cloneElement'](_0x4de9bc),_0x3dcb9d);}else _0x5dd32c['setSelection'](_0x3dcb9d,'on'),_0x5e6045['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3dcb9d['getAttributes']()),'uploadcareImageId':_0x15dc45,'src':_0x5c9f4a,'sources':_0x4014c6,'width':_0x31b5a0,'height':_0x18f3a9},_0x3dcb9d);_0x5dd32c['setSelection'](_0x3dcb9d,'on');});}async['_getImageAsFile'](_0x244853){const _0x282e17=_0x50ce71['window'],_0x501cfa=_0x50ce71['document']['location']['href'],_0x33a3ba=new _0x282e17['URL'](_0x244853['getAttribute']('src'),_0x501cfa);if('data:'===_0x33a3ba['protocol']){const _0x312b80=_0x33a3ba['href']['split'](','),_0x1a0621=_0x312b80[0x0]['match'](/:(.*?);/)[0x1],_0x4b39fa=_0x1a0621['split']('/')[0x1],_0xf3e75e=_0x282e17['atob'](_0x312b80[_0x312b80['length']-0x1]);let _0x418911=_0xf3e75e['length'];const _0xf782db=new _0x282e17['Uint8Array'](_0x418911);for(;_0x418911--;)_0xf782db[_0x418911]=_0xf3e75e['charCodeAt'](_0x418911);return new _0x282e17['File']([_0xf782db],'image.'+_0x4b39fa,{'type':_0x1a0621});}const _0x14a06a=_0x33a3ba['href']['split']('/'),_0x3162e4=_0x14a06a[_0x14a06a['length']-0x1],_0x56f54a=_0x3162e4['split']('.')[0x1];return _0x282e17['fetch'](_0x33a3ba['href'])['then'](_0x1bf1b0=>_0x1bf1b0['clone']()['blob']())['then'](_0xa7d208=>new _0x282e17['File']([_0xa7d208],_0x3162e4,{'type':'image/'+_0x56f54a}));}}class J extends _0x3c531a{['imageEditController'];static get['requires'](){return[_0x51364e];}['_isEditable'];constructor(_0xdace43){super(_0xdace43),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x537837){const _0x41bdac=V(_0x537837);return _0x4c1935=>!(!_0x4c1935||!_0x4c1935['is']('element','imageBlock')&&!_0x4c1935['is']('element','imageInline'))&&(!!_0x4c1935['hasAttribute']('uploadcareImageId')||!!_0x4c1935['hasAttribute']('src')&&_0x41bdac(_0x4c1935['getAttribute']('src')));}(_0xdace43['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x37fef0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x37fef0);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4950f6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4950f6&&(_0x4950f6['is']('element','imageBlock')||_0x4950f6['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x51364e),_0x4950f6),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x3c531a{['refresh'](){const _0x5c5b4=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5c5b4&&(_0x5c5b4['is']('element','imageBlock')||_0x5c5b4['is']('element','imageInline')));}['execute'](_0x49661c){const _0x7e1c5a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2d40cc=>{_0x2d40cc['setAttributes'](_0x49661c,_0x7e1c5a),_0x2d40cc['removeAttribute']('srcset',_0x7e1c5a),_0x2d40cc['removeAttribute']('sizes',_0x7e1c5a);});}}class g extends _0x497d2a{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x5e7584,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5dec9b}=this;_0x5dec9b['commands']['add']('uploadcareImageEdit',new J(_0x5dec9b)),_0x5dec9b['commands']['add']('uploadcareImageReplace',new O(_0x5dec9b));}}class j extends _0x497d2a{['_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 _0x46e165=this['editor'];_0x46e165['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2ec6f8=>{const _0x24afad=_0x46e165['commands']['get']('uploadcareImageEdit'),_0x184e9d=new _0x4c8e35(_0x2ec6f8),t=_0x2ec6f8['t'];return _0x184e9d['set']({'icon':_0x268f3d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x184e9d['bind']('isEnabled')['to'](_0x24afad),_0x184e9d['bind']('isOn')['to'](_0x24afad,'isActive'),this['listenTo'](_0x184e9d,'execute',()=>{_0x46e165['execute']('uploadcareImageEdit'),_0x46e165['editing']['view']['focus']();}),_0x184e9d;}),this['_initConfig']();}['_initConfig'](){const _0x3c46ab=_0x2041d2(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3c46ab),this['listenTo'](this['editor'],'destroy',()=>{_0x3c46ab['remove']();});}}class P extends _0x497d2a{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':_0x51ff78=>0x1!=_0x51ff78}};
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':_0x359947=>0x1!=_0x359947}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x9d1a60=>{const {af:{dictionary:_0x236c5b,getPluralForm:_0x419811}}={'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':_0x4e74b1=>0x1!=_0x4e74b1}};_0x9d1a60['af']||={'dictionary':{},'getPluralForm':null},_0x9d1a60['af']['dictionary']=Object['assign'](_0x9d1a60['af']['dictionary'],_0x236c5b),_0x9d1a60['af']['getPluralForm']=_0x419811;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2da122=>{const {af:{dictionary:_0x473cbb,getPluralForm:_0x1ebed3}}={'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':_0x5bc1b0=>0x1!=_0x5bc1b0}};_0x2da122['af']||={'dictionary':{},'getPluralForm':null},_0x2da122['af']['dictionary']=Object['assign'](_0x2da122['af']['dictionary'],_0x473cbb),_0x2da122['af']['getPluralForm']=_0x1ebed3;})(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':_0x1ee0b2=>0x0==_0x1ee0b2?0x0:0x1==_0x1ee0b2?0x1:0x2==_0x1ee0b2?0x2:_0x1ee0b2%0x64>=0x3&&_0x1ee0b2%0x64<=0xa?0x3:_0x1ee0b2%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':_0x20df4a=>0x0==_0x20df4a?0x0:0x1==_0x20df4a?0x1:0x2==_0x20df4a?0x2:_0x20df4a%0x64>=0x3&&_0x20df4a%0x64<=0xa?0x3:_0x20df4a%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x6dc66e=>{const {ar:{dictionary:_0xb632c7,getPluralForm:_0x2e263c}}={'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':_0x58336e=>0x0==_0x58336e?0x0:0x1==_0x58336e?0x1:0x2==_0x58336e?0x2:_0x58336e%0x64>=0x3&&_0x58336e%0x64<=0xa?0x3:_0x58336e%0x64>=0xb?0x4:0x5}};_0x6dc66e['ar']||={'dictionary':{},'getPluralForm':null},_0x6dc66e['ar']['dictionary']=Object['assign'](_0x6dc66e['ar']['dictionary'],_0xb632c7),_0x6dc66e['ar']['getPluralForm']=_0x2e263c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x149a0c=>{const {ar:{dictionary:_0x1f1af8,getPluralForm:_0x5b3397}}={'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':_0x5af632=>0x0==_0x5af632?0x0:0x1==_0x5af632?0x1:0x2==_0x5af632?0x2:_0x5af632%0x64>=0x3&&_0x5af632%0x64<=0xa?0x3:_0x5af632%0x64>=0xb?0x4:0x5}};_0x149a0c['ar']||={'dictionary':{},'getPluralForm':null},_0x149a0c['ar']['dictionary']=Object['assign'](_0x149a0c['ar']['dictionary'],_0x1f1af8),_0x149a0c['ar']['getPluralForm']=_0x5b3397;})(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':_0x31eb1b=>0x1!=_0x31eb1b}};
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':_0x3d112e=>0x1!=_0x3d112e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x24c453=>{const {ast:{dictionary:_0x12c6d3,getPluralForm:_0x2e781a}}={'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':_0x371ba7=>0x1!=_0x371ba7}};_0x24c453['ast']||={'dictionary':{},'getPluralForm':null},_0x24c453['ast']['dictionary']=Object['assign'](_0x24c453['ast']['dictionary'],_0x12c6d3),_0x24c453['ast']['getPluralForm']=_0x2e781a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x345629=>{const {ast:{dictionary:_0x19d47d,getPluralForm:_0x5ea8c0}}={'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':_0x48e568=>0x1!=_0x48e568}};_0x345629['ast']||={'dictionary':{},'getPluralForm':null},_0x345629['ast']['dictionary']=Object['assign'](_0x345629['ast']['dictionary'],_0x19d47d),_0x345629['ast']['getPluralForm']=_0x5ea8c0;})(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':_0xff4f03=>0x1!=_0xff4f03}};
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':_0x4ee8f3=>0x1!=_0x4ee8f3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x428d30=>{const {az:{dictionary:_0x2bc268,getPluralForm:_0x59cc72}}={'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':_0x1e591e=>0x1!=_0x1e591e}};_0x428d30['az']||={'dictionary':{},'getPluralForm':null},_0x428d30['az']['dictionary']=Object['assign'](_0x428d30['az']['dictionary'],_0x2bc268),_0x428d30['az']['getPluralForm']=_0x59cc72;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x31c928=>{const {az:{dictionary:_0x39e5d1,getPluralForm:_0x2b20cd}}={'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':_0x55c4a4=>0x1!=_0x55c4a4}};_0x31c928['az']||={'dictionary':{},'getPluralForm':null},_0x31c928['az']['dictionary']=Object['assign'](_0x31c928['az']['dictionary'],_0x39e5d1),_0x31c928['az']['getPluralForm']=_0x2b20cd;})(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':_0x52b670=>_0x52b670%0xa==0x1&&_0x52b670%0x64!=0xb?0x0:_0x52b670%0xa>=0x2&&_0x52b670%0xa<=0x4&&(_0x52b670%0x64<0xa||_0x52b670%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':_0x3439d9=>_0x3439d9%0xa==0x1&&_0x3439d9%0x64!=0xb?0x0:_0x3439d9%0xa>=0x2&&_0x3439d9%0xa<=0x4&&(_0x3439d9%0x64<0xa||_0x3439d9%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x7017e0=>{const {be:{dictionary:_0x3aa78b,getPluralForm:_0x3bce0e}}={'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':_0x562cf5=>_0x562cf5%0xa==0x1&&_0x562cf5%0x64!=0xb?0x0:_0x562cf5%0xa>=0x2&&_0x562cf5%0xa<=0x4&&(_0x562cf5%0x64<0xa||_0x562cf5%0x64>=0x14)?0x1:0x2}};_0x7017e0['be']||={'dictionary':{},'getPluralForm':null},_0x7017e0['be']['dictionary']=Object['assign'](_0x7017e0['be']['dictionary'],_0x3aa78b),_0x7017e0['be']['getPluralForm']=_0x3bce0e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xe8a71f=>{const {be:{dictionary:_0x2ccf25,getPluralForm:_0x93ca}}={'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':_0x1190d4=>_0x1190d4%0xa==0x1&&_0x1190d4%0x64!=0xb?0x0:_0x1190d4%0xa>=0x2&&_0x1190d4%0xa<=0x4&&(_0x1190d4%0x64<0xa||_0x1190d4%0x64>=0x14)?0x1:0x2}};_0xe8a71f['be']||={'dictionary':{},'getPluralForm':null},_0xe8a71f['be']['dictionary']=Object['assign'](_0xe8a71f['be']['dictionary'],_0x2ccf25),_0xe8a71f['be']['getPluralForm']=_0x93ca;})(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':_0x1a6a6c=>0x1!=_0x1a6a6c}};
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':_0x23055b=>0x1!=_0x23055b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x162f32=>{const {bg:{dictionary:_0x5e1b3a,getPluralForm:_0x537cb0}}={'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':_0x485d05=>0x1!=_0x485d05}};_0x162f32['bg']||={'dictionary':{},'getPluralForm':null},_0x162f32['bg']['dictionary']=Object['assign'](_0x162f32['bg']['dictionary'],_0x5e1b3a),_0x162f32['bg']['getPluralForm']=_0x537cb0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x14ade7=>{const {bg:{dictionary:_0xf663b8,getPluralForm:_0xcf4464}}={'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':_0x18c194=>0x1!=_0x18c194}};_0x14ade7['bg']||={'dictionary':{},'getPluralForm':null},_0x14ade7['bg']['dictionary']=Object['assign'](_0x14ade7['bg']['dictionary'],_0xf663b8),_0x14ade7['bg']['getPluralForm']=_0xcf4464;})(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':_0x34f057=>0x1!=_0x34f057}};
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':_0x19f552=>0x1!=_0x19f552}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4bb311=>{const {bn:{dictionary:_0x15ac61,getPluralForm:_0x3dcd9d}}={'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':_0x40065d=>0x1!=_0x40065d}};_0x4bb311['bn']||={'dictionary':{},'getPluralForm':null},_0x4bb311['bn']['dictionary']=Object['assign'](_0x4bb311['bn']['dictionary'],_0x15ac61),_0x4bb311['bn']['getPluralForm']=_0x3dcd9d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x55baaa=>{const {bn:{dictionary:_0x153aa1,getPluralForm:_0x4996d1}}={'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':_0x5c6dbc=>0x1!=_0x5c6dbc}};_0x55baaa['bn']||={'dictionary':{},'getPluralForm':null},_0x55baaa['bn']['dictionary']=Object['assign'](_0x55baaa['bn']['dictionary'],_0x153aa1),_0x55baaa['bn']['getPluralForm']=_0x4996d1;})(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':_0x24ff78=>_0x24ff78%0xa==0x1&&_0x24ff78%0x64!=0xb?0x0:_0x24ff78%0xa>=0x2&&_0x24ff78%0xa<=0x4&&(_0x24ff78%0x64<0xa||_0x24ff78%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':_0x498b0a=>_0x498b0a%0xa==0x1&&_0x498b0a%0x64!=0xb?0x0:_0x498b0a%0xa>=0x2&&_0x498b0a%0xa<=0x4&&(_0x498b0a%0x64<0xa||_0x498b0a%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x50c39f=>{const {bs:{dictionary:_0x27ba28,getPluralForm:_0x377275}}={'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':_0x5aa85f=>_0x5aa85f%0xa==0x1&&_0x5aa85f%0x64!=0xb?0x0:_0x5aa85f%0xa>=0x2&&_0x5aa85f%0xa<=0x4&&(_0x5aa85f%0x64<0xa||_0x5aa85f%0x64>=0x14)?0x1:0x2}};_0x50c39f['bs']||={'dictionary':{},'getPluralForm':null},_0x50c39f['bs']['dictionary']=Object['assign'](_0x50c39f['bs']['dictionary'],_0x27ba28),_0x50c39f['bs']['getPluralForm']=_0x377275;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4b261d=>{const {bs:{dictionary:_0x4493b2,getPluralForm:_0x3a6ddd}}={'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':_0x7e3fbb=>_0x7e3fbb%0xa==0x1&&_0x7e3fbb%0x64!=0xb?0x0:_0x7e3fbb%0xa>=0x2&&_0x7e3fbb%0xa<=0x4&&(_0x7e3fbb%0x64<0xa||_0x7e3fbb%0x64>=0x14)?0x1:0x2}};_0x4b261d['bs']||={'dictionary':{},'getPluralForm':null},_0x4b261d['bs']['dictionary']=Object['assign'](_0x4b261d['bs']['dictionary'],_0x4493b2),_0x4b261d['bs']['getPluralForm']=_0x3a6ddd;})(window['CKEDITOR_TRANSLATIONS']||={});