@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250313.0 → 0.0.0-nightly-20250315.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 (171) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. 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 _0x6c7a53,Command as _0x4747ce}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1eec09,IconGooglePhotos as _0x279ba0,IconGoogleDrive as _0x5f2efc,IconFacebook as _0xc05235,IconDropbox as _0x37f88d,IconUploadcareLink as _0x852bd9,IconUploadcareImageUpload as _0xe5600d,IconError as et,IconUploadcareImageEdit as _0x325b69}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x46ade5,MenuBarMenuListItemButtonView as _0x1e7b16,View as _0x3fc0ab,FocusCycler as _0x33b087,Dialog as _0xccfd17,DialogViewPosition as _0x39cb18,SpinnerView as _0x5599ff,IconView as at,Notification as _0x3f6480}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3e2d48,DomEmitterMixin as _0x23a23f,global as _0x555b30,getAncestors as _0x452aab,ObservableMixin as _0x486dad,createElement as _0xa99512,uid as _0x5c8050}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x579eba}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2ba8b5,info as _0x3c6e6e}from'@uploadcare/upload-client';import*as _0x10462f from'@uploadcare/file-uploader';var o=function(_0x176e47){return _0x176e47['Local']='local',_0x176e47['URL']='url',_0x176e47['Dropbox']='dropbox',_0x176e47['GDrive']='gdrive',_0x176e47['Facebook']='facebook',_0x176e47['GPhotos']='gphotos',_0x176e47['OneDrive']='onedrive',_0x176e47;}({});function _(_0x29139f,_0x33aad3,_0x176419){const t=_0x29139f['t'],_0x4c4916=_0x29139f['t'];switch(_0x33aad3){case o['Local']:return{'text':_0x4c4916('Insert'===_0x176419?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4c4916('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x176419?_0x4c4916('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4c4916('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x176419?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x176419?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x176419?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x176419?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x176419?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x33aad3;}}class e extends _0x6c7a53{['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 _0x30a047=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2bff01;for(const _0x1f3068 in _0x30a047){const _0x5c6428=_0x1f3068,_0x5b524c=_0x30a047[_0x5c6428];if('uploadcareLicenseKeyValid'==_0x5b524c||'uploadcareLicenseKeyInvalid'==_0x5b524c||'uploadcareLicenseKeyExpired'==_0x5b524c||'uploadcareLicenseKeyDomainLimit'==_0x5b524c||'uploadcareLicenseKeyNotAllowed'==_0x5b524c||'uploadcareLicenseKeyEvaluationLimit'==_0x5b524c||'uploadcareLicenseKeyTrialLimit'==_0x5b524c||'uploadcareLicenseKeyUsageLimit'==_0x5b524c){delete _0x30a047[_0x5c6428],_0x2bff01=_0x5b524c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2bff01&&_0x30a047['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2bff01&&_0x30a047['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2bff01&&_0x30a047['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2bff01&&_0x30a047['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2bff01&&_0x30a047['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2bff01&&_0x30a047['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2bff01&&_0x30a047['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x24b0a7}=this,_0x489461=_0x24b0a7['commands']['get']('uploadcare');if(!_0x489461)return;const _0x336eb8=this['_normalizeConfigSourceList'](_0x24b0a7['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2cd2cd,_0x222d09)=>{const _0x6ed2e=this['_getIntegrationKey'](_0x222d09['type']);return _0x2cd2cd[_0x6ed2e]||(_0x2cd2cd[_0x6ed2e]=[]),_0x2cd2cd[_0x6ed2e]['push'](_0x222d09),_0x2cd2cd;},{});_0x24b0a7['plugins']['has']('ImageInsertUI')&&_0x24b0a7['commands']['get']('uploadcare')&&Object['entries'](_0x336eb8)['forEach'](([_0x3278e0,_0x4a4996])=>{_0x24b0a7['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3278e0,'observable':()=>_0x489461,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4a4996),'formViewCreator':()=>this['_createDropdownButtons'](_0x4a4996),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4a4996),'override':'assetManager'!==_0x3278e0});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4dbb46){const {locale:_0x1349ea}=this['editor'];return _0x4dbb46['map'](_0x340bd2=>{const _0x421832=_(_0x1349ea,_0x340bd2,'Insert');switch(_0x340bd2){case o['Local']:return{'icon':_0xe5600d,'type':o['Local'],..._0x421832};case o['URL']:return{'icon':_0x852bd9,'type':o['URL'],..._0x421832};case o['Dropbox']:return{'icon':_0x37f88d,'type':o['Dropbox'],..._0x421832};case o['Facebook']:return{'icon':_0xc05235,'type':o['Facebook'],..._0x421832};case o['GDrive']:return{'icon':_0x5f2efc,'type':o['GDrive'],..._0x421832};case o['GPhotos']:return{'icon':_0x279ba0,'type':o['GPhotos'],..._0x421832};case o['OneDrive']:return{'icon':_0x1eec09,'type':o['OneDrive'],..._0x421832};}});}['_getIntegrationKey'](_0x59b846){switch(_0x59b846){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x48000a,_0x145bcc){const _0x336041=this['editor'],_0x2a9bbf=new _0x48000a(_0x336041['locale']),_0x2f07a9=_0x336041['commands']['get']('uploadcare');return _0x2a9bbf['bind']('isEnabled')['to'](_0x2f07a9),_0x2a9bbf['on']('execute',()=>{_0x2f07a9['execute'](_0x145bcc);}),_0x2a9bbf;}['_createToolbarButton'](_0x3abcb3){const {locale:_0x58e231}=this['editor'],_0x3b649d=this['editor']['plugins']['get']('ImageInsertUI'),_0x494139=_0x3abcb3[0x0],_0x4ae302=this['_createButton'](_0x46ade5,_0x494139['type']);return _0x4ae302['icon']=_0x494139['icon'],_0x4ae302['bind']('label')['to'](_0x3b649d,'isImageSelected',_0x3bda9d=>_(_0x58e231,_0x494139['type'],_0x3bda9d?'Replace':'Insert')['text']),_0x4ae302['tooltip']=!0x0,_0x4ae302;}['_createDropdownButtons'](_0xa929a2){const {locale:_0xc3c5bc}=this['editor'],_0x2df615=this['editor']['plugins']['get']('ImageInsertUI');return _0xa929a2['map'](_0x10bd95=>{const _0x50c80e=this['_createButton'](_0x46ade5,_0x10bd95['type']);return _0x50c80e['withText']=!0x0,_0x50c80e['icon']=_0x10bd95['icon'],_0x50c80e['bind']('label')['to'](_0x2df615,'isImageSelected',_0x56aae4=>_(_0xc3c5bc,_0x10bd95['type'],_0x56aae4?'Replace':'Insert')['text']),_0x50c80e;});}['_createMenuBarButtons'](_0x482c3c){return _0x482c3c['map'](_0x565029=>{const _0x5dbedd=this['_createButton'](_0x1e7b16,_0x565029['type']);return _0x5dbedd['icon']=_0x565029['icon'],_0x5dbedd['label']=_0x565029['shortText'],_0x5dbedd;});}}class q extends _0x3fc0ab{['focusTracker'];['focusCycler'];constructor(_0x5e5ec8){super(_0x5e5ec8),this['focusTracker']=new _0x3e2d48(),this['focusCycler']=new _0x33b087({'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(_0x4f8e2f){super(_0x4f8e2f),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(_0x413b79,_0x240e9e){const _0x510124=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1e096f=>_0x1e096f<=_0x240e9e)['map'](_0x19fb6d=>_0x413b79['replace'](/\/$/,'')+'/-/resize/'+_0x19fb6d+'x/\x20'+_0x19fb6d+'w');return{'imageFallbackUrl':_0x413b79,'imageSources':[{'srcset':_0x510124['join'](',\x20'),'sizes':'(max-width:\x20'+_0x240e9e+'px)\x20100vw,\x20'+_0x240e9e+'px','type':'image/webp'}]};}function A(_0x52662b,_0xf3bb18,_0x5b8973){const _0x16e614=_0x52662b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x16e614?parseInt(_0x16e614[0x1],0xa):_0xf3bb18,'height':_0x16e614?parseInt(_0x16e614[0x2],0xa):_0x5b8973};}function m(_0x494462,_0x21103f){const _0x2a37a2=Object['create'](_0x23a23f),_0x2341c0=_0x494462['plugins']['get']('ImageUtils'),_0x317cc8=_0x494462['editing']['mapper']['toViewElement'](_0x21103f),_0x55ab5e=_0x2341c0['findViewImgElement'](_0x317cc8),_0x265688=_0x494462['editing']['view']['domConverter']['viewToDom'](_0x55ab5e),_0x44a35e=_0x21103f['getAttribute']('width'),_0x2edee5=_0x21103f['getAttribute']('height'),_0x125d8e='image-processing';_0x494462['editing']['view']['change'](_0x5a4f94=>{_0x5a4f94['addClass'](_0x125d8e,_0x317cc8),_0x5a4f94['setStyle']('aspect-ratio',_0x44a35e+'/'+_0x2edee5,_0x55ab5e);}),_0x2a37a2['listenTo'](_0x265688,'load',()=>{_0x2a37a2['stopListening'](_0x265688,'load'),_0x494462['editing']['view']['change'](_0x4dcc39=>{_0x4dcc39['removeClass'](_0x125d8e,_0x317cc8),_0x4dcc39['removeStyle']('aspect-ratio',_0x55ab5e);});});}function R(_0x5c82e1){if(Array['isArray'](_0x5c82e1)){const _0x2c82aa=_0x5c82e1['map'](R);return _0x20e644=>_0x2c82aa['some'](_0x483549=>_0x483549(_0x20e644));}if('origin'==_0x5c82e1){const _0x1312ea=_0x555b30['window']['location']['origin'];return _0x36ea29=>new URL(_0x36ea29,_0x555b30['document']['baseURI'])['origin']==_0x1312ea;}return'function'==typeof _0x5c82e1?_0x5c82e1:_0x5c82e1 instanceof RegExp?_0x2dd858=>!(!_0x2dd858['match'](_0x5c82e1)&&!_0x2dd858['replace'](/^https?:\/\//,'')['match'](_0x5c82e1)):()=>!0x1;}function F(_0x53f2cd,_0x309628){return _0x452aab(_0x53f2cd['target'])['includes'](_0x309628);}class l extends/* #__PURE__ -- @preserve */
24
- _0x486dad(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0xa4ad75,_0x1fff98,_0x3aec84){super(),this['_editor']=_0xa4ad75,this['_editing']=_0x1fff98,this['_dialog']=_0xa4ad75['plugins']['get'](_0xccfd17),this['_api']=_0x1fff98['ctxElement']['getAPI'](),this['_type']=_0x3aec84,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:_0x3c9420,model:_0x461dae}=this['_editor'],_0x2f0078=_0x461dae['document']['selection']['getSelectedElement'](),_0x5bafc6=_0x2f0078&&(_0x2f0078['is']('element','imageBlock')||_0x2f0078['is']('element','imageInline'));this['_formView']=new S(_0x3c9420),this['_dialog']['show']({'id':'uploadCare','icon':_0xe5600d,'title':_(_0x3c9420,this['_type'],_0x5bafc6?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x39cb18['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2faad7=>!F(_0x2faad7,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x281da3}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x114d36=>{const _0x145e96=_0x281da3['length'];for(const _0x54ba8b of _0x281da3){const _0x5cf3e1=_0x54ba8b===_0x281da3[_0x145e96-0x1],{cdnUrl:_0x53c4d0,fileInfo:_0x527158}=_0x54ba8b;if(!_0x53c4d0||!_0x527158)continue;const {width:_0x215137,height:_0x182eb6}=_0x527158['imageInfo'],_0x4cb9a6=A(_0x53c4d0,_0x215137,_0x182eb6),_0x369613=E(_0x53c4d0,_0x4cb9a6['width']),_0x427d58={'id':_0x527158['uuid'],'type':'image','attributes':{'imageDimension':_0x4cb9a6,..._0x369613}};this['_insertAsset'](_0x427d58,_0x5cf3e1,_0x114d36);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3a1a18=>{'idle'===_0x3a1a18['detail']['status']&&!_0x3a1a18['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3e5f65,_0x831c90,_0x491cbc){const _0x2f4da0=this['_editor']['model']['document']['selection'],_0x52db62=_0x2f4da0['getSelectedElement'](),_0x479cce=!(!_0x52db62||!_0x52db62['is']('element','imageInline'));_0x491cbc['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3e5f65,_0x479cce),_0x831c90||_0x491cbc['setSelection'](_0x2f4da0['getLastPosition']());}['_insertImage'](_0x4c8acd,_0x58cfa2){const _0x44cef1=this['_editor'],{imageDimension:_0x1b726f,imageFallbackUrl:_0x1483ec,imageSources:_0x59f4ed}=_0x4c8acd['attributes'];_0x44cef1['execute']('insertImage',{'imageType':_0x58cfa2?'imageInline':null,'source':{'uploadcareImageId':_0x4c8acd['id'],'src':_0x1483ec,'sources':_0x59f4ed,..._0x1b726f}});}}class n extends _0x4747ce{['_editing'];['_controller']=null;static get['requires'](){return[_0xccfd17,i];}constructor(_0x63b108){super(_0x63b108),this['_editing']=_0x63b108['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x11f0a7){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x11f0a7);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x15653c,publicKey:_0x58dbfa,signal:_0x2a834a,onProgress:_0x583c38}){return _0x2ba8b5(_0x15653c,{'publicKey':_0x58dbfa,'store':'auto','signal':_0x2a834a,'onProgress':_0x583c38});}static['getInfo'](_0x1518fc,_0x356069){return _0x3c6e6e(_0x1518fc,_0x356069);}}class p extends _0x6c7a53{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x579eba,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4c3cdd=this['editor'];if(!!!_0x4c3cdd['config']['get']('uploadcare'))return;_0x4c3cdd['plugins']['get'](_0x579eba)['createUploadAdapter']=_0x5e3350=>new x(_0x5e3350,_0x4c3cdd),_0x4c3cdd['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x257ccf,{imageElement:_0x3cfd13,data:_0x1ec9c0})=>{_0x4c3cdd['model']['change'](_0x187600=>{_0x187600['setAttribute']('uploadcareImageId',_0x1ec9c0['uploadcareImageId'],_0x3cfd13);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2a0191,_0x3d827f){this['loader']=_0x2a0191,this['editor']=_0x3d827f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x587643=this['editor']['config']['get']('uploadcare.pubkey'),_0x2c6071=await this['loader']['file'];return C['upload']({'file':_0x2c6071,'publicKey':_0x587643,'signal':this['controller']['signal'],'onProgress':_0x436f16=>{_0x436f16&&_0x436f16['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x436f16['value']);}})['then'](async _0x3a0add=>{const {imageFallbackUrl:_0x1dc4b5,imageSources:_0x499f01}=E(_0x3a0add['cdnUrl'],_0x3a0add['imageInfo']['width']);return{'uploadcareImageId':_0x3a0add['uuid'],'default':_0x1dc4b5,'sources':_0x499f01};})['catch'](()=>{const _0xe41509=t('Cannot\x20upload\x20file:')+('\x20'+_0x2c6071['name']+'.');return Promise['reject'](_0xe41509);});}['abort'](){this['controller']['abort']();}}class i extends _0x6c7a53{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0xccfd17];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x25d1ae=this['editor'];_0x25d1ae['commands']['add']('uploadcare',new n(_0x25d1ae));}['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 _0x28afb7=_0x555b30['document']['querySelector']('input[uploadcare-file-input]');_0x28afb7&&_0x28afb7['remove']();}),async function(_0x24ce00){const _0x3dd9f5=_0x2bfbca([0x4b,0x66,0x4d,0x71,0x76,0x37,0x62,0x4e,0x4f,0x41,0x44,0x63,0x6b,0x7a,0x6f,0x74,0x58,0x45,0x70,0x5a,0x4c,0x61,0x53,0x75,0x55,0x35,0x52,0x34,0x42,0x67,0x47,0x30,0x43,0x33,0x77,0x6e,0x46,0x48,0x38,0x32,0x59,0x50,0x78,0x6d,0x65,0x64,0x31,0x73,0x36,0x51,0x54,0x6a,0x56,0x57,0x39,0x4a,0x49,0x68,0x6c,0x72,0x79,0x69]),_0x53de7f=0x2b1110d1,_0x1f5e34=0x2b1672d1^_0x53de7f,_0x43abc1=window[_0x2bfbca([0x44,0x61,0x74,0x65])][_0x2bfbca([0x6e,0x6f,0x77])](),_0x29ee75=_0x24ce00[_0x2bfbca([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x405323=new window[(_0x2bfbca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b1276=>{_0x29ee75[_0x2bfbca([0x6f,0x6e,0x63,0x65])](_0x2bfbca([0x72,0x65,0x61,0x64,0x79]),_0x3b1276);}),_0x5795cd={[_0x2bfbca([0x6b,0x74,0x79])]:_0x2bfbca([0x45,0x43]),[_0x2bfbca([0x75,0x73,0x65])]:_0x2bfbca([0x73,0x69,0x67]),[_0x2bfbca([0x63,0x72,0x76])]:_0x2bfbca([0x50,0x2d,0x32,0x35,0x36]),[_0x2bfbca([0x78])]:_0x2bfbca([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]),[_0x2bfbca([0x79])]:_0x2bfbca([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]),[_0x2bfbca([0x61,0x6c,0x67])]:_0x2bfbca([0x45,0x53,0x32,0x35,0x36])},_0x4a85ae=_0x29ee75[_0x2bfbca([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2bfbca([0x67,0x65,0x74])](_0x2bfbca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5919c5(){let _0x23e4c3,_0x126ecb=null,_0x1c8418=null;try{if(_0x4a85ae==_0x2bfbca([0x47,0x50,0x4c]))return _0x2bfbca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23e4c3=_0x533056(),!_0x23e4c3)return _0x2bfbca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23e4c3[_0x2bfbca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c8418=_0x3993dd(_0x23e4c3[_0x2bfbca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23e4c3[_0x2bfbca([0x6a,0x74,0x69])])),await _0x45e9f8()?_0x518c7e()?_0x42ad9e()?_0x2bfbca([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2ac02d()?(_0x23e4c3[_0x2bfbca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2bfbca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x126ecb=_0x300799(_0x2bfbca([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23e4c3[_0x2bfbca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2bfbca([0x74,0x72,0x69,0x61,0x6c])&&(_0x126ecb=_0x300799(_0x2bfbca([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4fa674()):_0x2bfbca([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2bfbca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2bfbca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x291e59){return _0x2bfbca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42ad9e(){const _0x26dc93=[_0x2bfbca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2bfbca([0x74,0x72,0x69,0x61,0x6c])][_0x2bfbca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23e4c3[_0x2bfbca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x43abc1/0x3e8:0xe10*_0x1f5e34;return _0x23e4c3[_0x2bfbca([0x65,0x78,0x70])]<_0x26dc93;}function _0x518c7e(){const _0x112b79=_0x23e4c3[_0x2bfbca([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x112b79&&(!!_0x112b79[_0x2bfbca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bfbca([0x2a]))||!!_0x112b79[_0x2bfbca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bfbca([0x55,0x50,0x4c,0x43])));}function _0x2ac02d(){const _0x3ed10a=_0x23e4c3[_0x2bfbca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ed10a||0x0==_0x3ed10a[_0x2bfbca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46d050}=new URL(window[_0x2bfbca([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3ed10a[_0x2bfbca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46d050))return!0x0;const _0x38a3cd=_0x46d050[_0x2bfbca([0x73,0x70,0x6c,0x69,0x74])](_0x2bfbca([0x2e]));return _0x3ed10a[_0x2bfbca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xcc4225=>_0xcc4225[_0x2bfbca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bfbca([0x2a])))[_0x2bfbca([0x6d,0x61,0x70])](_0x504839=>_0x504839[_0x2bfbca([0x73,0x70,0x6c,0x69,0x74])](_0x2bfbca([0x2e])))[_0x2bfbca([0x73,0x6f,0x6d,0x65])](_0x358965=>_0x38a3cd[_0x2bfbca([0x65,0x76,0x65,0x72,0x79])]((_0x4f2ba8,_0x555faf)=>_0x358965[_0x555faf]===_0x4f2ba8||_0x358965[_0x555faf]===_0x2bfbca([0x2a])));}function _0x4fa674(){return _0x126ecb&&_0x1c8418?new window[(_0x2bfbca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37f5cb,_0xab2cb0)=>{_0x126ecb[_0x2bfbca([0x74,0x68,0x65,0x6e])](_0x37f5cb,_0xab2cb0),_0x1c8418[_0x2bfbca([0x74,0x68,0x65,0x6e])](_0x366a4c=>{_0x366a4c!=_0x2bfbca([0x56,0x61,0x6c,0x69,0x64])&&_0x37f5cb(_0x366a4c);},_0xab2cb0);}):_0x126ecb||_0x1c8418||_0x2bfbca([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3993dd(_0x129e00,_0x373692){return new window[(_0x2bfbca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x224438=>{if(_0x151613())return _0x224438(_0x2bfbca([0x56,0x61,0x6c,0x69,0x64]));_0x2bd84e(),_0x29ee75[_0x2bfbca([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2bfbca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e66e7=!0x1;const _0x1cb353=_0x5c8050();function _0x4a1b99(_0x2de904){return!!_0x2de904&&(typeof _0x2de904===_0x2bfbca([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2de904===_0x2bfbca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2de904[_0x2bfbca([0x74,0x68,0x65,0x6e])]===_0x2bfbca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2de904[_0x2bfbca([0x63,0x61,0x74,0x63,0x68])]===_0x2bfbca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1aeae5(_0x59ea26){_0x4557a2(_0x59ea26)[_0x2bfbca([0x74,0x68,0x65,0x6e])](_0x49a416=>{if(!_0x49a416||_0x49a416[_0x2bfbca([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2bfbca([0x6f,0x6b]))return _0x2bfbca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b9a9a(_0x493d3d(_0x1cb353+_0x373692))!=_0x49a416[_0x2bfbca([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2bfbca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2bfbca([0x56,0x61,0x6c,0x69,0x64]);})[_0x2bfbca([0x74,0x68,0x65,0x6e])](_0x1bd48f=>(_0x503fea(),_0x1bd48f),()=>{const _0x2d4c31=_0x3c549d();return null==_0x2d4c31?(_0x503fea(),_0x2bfbca([0x56,0x61,0x6c,0x69,0x64])):_0x2bfbca(_0x43abc1-_0x2d4c31>(0xf1d94d1^_0x53de7f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2bfbca([0x74,0x68,0x65,0x6e])](_0x224438)[_0x2bfbca([0x63,0x61,0x74,0x63,0x68])](()=>{_0x224438(_0x2bfbca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54c626=0x2b27fe51^_0x53de7f;function _0x503fea(){const _0x5931f6=_0x2bfbca([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b9a9a(_0x493d3d(_0x129e00)),_0x48c56f=_0x1803d3(_0x1b9a9a(window[_0x2bfbca([0x4d,0x61,0x74,0x68])][_0x2bfbca([0x63,0x65,0x69,0x6c])](_0x43abc1/_0x54c626)));window[_0x2bfbca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2bfbca([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5931f6,_0x48c56f);}function _0x3c549d(){const _0x13fb62=_0x2bfbca([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b9a9a(_0x493d3d(_0x129e00)),_0x4614c4=window[_0x2bfbca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2bfbca([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13fb62);return _0x4614c4?window[_0x2bfbca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1803d3(_0x4614c4),0x10)*_0x54c626:null;}function _0x4557a2(_0x1bc6d2){return new window[(_0x2bfbca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45f717,_0x44f5ea)=>{_0x1bc6d2[_0x2bfbca([0x74,0x68,0x65,0x6e])](_0x45f717,_0x44f5ea),window[_0x2bfbca([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x44f5ea,0x2b10c411^_0x53de7f);});}}_0x29ee75[_0x2bfbca([0x6f,0x6e])](_0x2bfbca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1dcaef,_0x59a259)=>{if(_0x59a259[0x0]!=_0x129e00)return _0x224438(_0x2bfbca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x59a259[0x1]={..._0x59a259[0x1],[_0x2bfbca([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1cb353};},{[_0x2bfbca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2bfbca([0x68,0x69,0x67,0x68])}),_0x29ee75[_0x2bfbca([0x6f,0x6e])](_0x2bfbca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e45f7=>{_0x4a1b99(_0x4e45f7[_0x2bfbca([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e66e7=!0x0,_0x1aeae5(_0x4e45f7[_0x2bfbca([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2bfbca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2bfbca([0x6c,0x6f,0x77])}),_0x405323[_0x2bfbca([0x74,0x68,0x65,0x6e])](()=>{_0x1e66e7||_0x224438(_0x2bfbca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x151613(){return _0x29ee75[_0x2bfbca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2bfbca([0x76,0x69,0x65,0x77])][_0x2bfbca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2bfbca([0x61,0x75,0x74,0x6f]);}function _0x2bd84e(){_0x29ee75[_0x2bfbca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2bfbca([0x76,0x69,0x65,0x77])][_0x2bfbca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2bfbca([0x61,0x75,0x74,0x6f]);}}function _0x300799(_0x1a880d){const _0x22546a=[new window[(_0x2bfbca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3efb81=>setTimeout(_0x3efb81,0x2b182e1d^_0x53de7f)),_0x405323[_0x2bfbca([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2bfbca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49c287=>{let _0xe31808=0x0;_0x29ee75[_0x2bfbca([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bfbca([0x6f,0x6e])](_0x2bfbca([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e908f,_0x428890)=>{_0x428890[0x0][_0x2bfbca([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe31808++,_0xe31808==(0x2b111129^_0x53de7f)&&(_0x49c287(),_0x4e908f[_0x2bfbca([0x6f,0x66,0x66])]());});}))];return window[_0x2bfbca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2bfbca([0x72,0x61,0x63,0x65])](_0x22546a)[_0x2bfbca([0x74,0x68,0x65,0x6e])](()=>_0x1a880d);}async function _0xe60e06(){await _0x405323,_0x29ee75[_0x2bfbca([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bfbca([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2bd8c2,_0x29ee75[_0x2bfbca([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bfbca([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2bd8c2,_0x29ee75[_0x2bfbca([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2bfbca([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x520537(_0x3bba90){const _0x3c68f0=_0x480134();_0x29ee75[_0x3c68f0]=_0x2bfbca([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3bba90,_0x3bba90!=_0x2bfbca([0x56,0x61,0x6c,0x69,0x64])&&_0xe60e06();}function _0x480134(){const _0x574227=window[_0x2bfbca([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2bfbca([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2bfbca([0x6e,0x6f,0x77])]())[_0x2bfbca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2bfbca([0x2e]),'');let _0x160054=_0x2bfbca([0x4b]);for(let _0x1c035f=0x0;_0x1c035f<_0x574227[_0x2bfbca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c035f+=0x2){let _0x48db35=window[_0x2bfbca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x574227[_0x2bfbca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c035f,_0x1c035f+0x2));_0x48db35>=_0x3dd9f5[_0x2bfbca([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48db35-=_0x3dd9f5[_0x2bfbca([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x160054+=_0x3dd9f5[_0x48db35];}return _0x160054;}function _0x533056(){const _0x19665b=_0x4a85ae[_0x2bfbca([0x73,0x70,0x6c,0x69,0x74])](_0x2bfbca([0x2e]));if(0x3!=_0x19665b[_0x2bfbca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e1f99(_0x19665b[0x1]);function _0x5e1f99(_0xd6d68){const _0x4cbcd3=_0x3a7348(_0xd6d68);return _0x4cbcd3&&_0x3a1d16()?_0x4cbcd3:null;function _0x3a1d16(){const _0x4c9047=_0x4cbcd3[_0x2bfbca([0x6a,0x74,0x69])],_0x34005e=window[_0x2bfbca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c9047[_0x2bfbca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c9047[_0x2bfbca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x540c22={..._0x4cbcd3,[_0x2bfbca([0x6a,0x74,0x69])]:_0x4c9047[_0x2bfbca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c9047[_0x2bfbca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x540c22[_0x2bfbca([0x76,0x63])],_0x493d3d(_0x540c22)==_0x34005e;}}}async function _0x45e9f8(){let _0x3755fb=!0x0;try{const _0x33adab=_0x4a85ae[_0x2bfbca([0x73,0x70,0x6c,0x69,0x74])](_0x2bfbca([0x2e])),[_0x5e3078,_0x1ee091,_0x57a0b0]=_0x33adab;return _0x397a31(_0x5e3078),await _0xaa595b(_0x5e3078,_0x1ee091,_0x57a0b0),_0x3755fb;}catch(_0x185c97){return!0x1;}function _0x397a31(_0x3b0022){const _0x29298c=_0x3a7348(_0x3b0022);_0x29298c&&_0x29298c[_0x2bfbca([0x61,0x6c,0x67])]==_0x2bfbca([0x45,0x53,0x32,0x35,0x36])||(_0x3755fb=!0x1);}async function _0xaa595b(_0x5b0a40,_0x5dc4d9,_0x2ec90c){const _0x345b79=window[_0x2bfbca([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2bfbca([0x66,0x72,0x6f,0x6d])](_0x219ecc(_0x2ec90c),_0x5435f0=>_0x5435f0[_0x2bfbca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3261e4=new window[(_0x2bfbca([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2bfbca([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b0a40+_0x2bfbca([0x2e])+_0x5dc4d9),_0x41acf6=window[_0x2bfbca([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2bfbca([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41acf6)return;const _0x72ec8d=await _0x41acf6[_0x2bfbca([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2bfbca([0x6a,0x77,0x6b]),_0x5795cd,{[_0x2bfbca([0x6e,0x61,0x6d,0x65])]:_0x2bfbca([0x45,0x43,0x44,0x53,0x41]),[_0x2bfbca([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2bfbca([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2bfbca([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41acf6[_0x2bfbca([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2bfbca([0x6e,0x61,0x6d,0x65])]:_0x2bfbca([0x45,0x43,0x44,0x53,0x41]),[_0x2bfbca([0x68,0x61,0x73,0x68])]:{[_0x2bfbca([0x6e,0x61,0x6d,0x65])]:_0x2bfbca([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x72ec8d,_0x345b79,_0x3261e4)||(_0x3755fb=!0x1);}}function _0x3a7348(_0xb43054){return _0xb43054[_0x2bfbca([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2bfbca([0x65,0x79]))?JSON[_0x2bfbca([0x70,0x61,0x72,0x73,0x65])](_0x219ecc(_0xb43054)):null;}function _0x219ecc(_0x4c1ed9){return window[_0x2bfbca([0x61,0x74,0x6f,0x62])](_0x4c1ed9[_0x2bfbca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2bfbca([0x2b]))[_0x2bfbca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2bfbca([0x2f])));}function _0x493d3d(_0x2ca0e3){let _0x3df993=0x1505;function _0x5a9cf6(_0x2cfc95){for(let _0x2c48f5=0x0;_0x2c48f5<_0x2cfc95[_0x2bfbca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c48f5++){const _0x46962c=_0x2cfc95[_0x2bfbca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c48f5);_0x3df993=(_0x3df993<<0x5)+_0x3df993+_0x46962c,_0x3df993&=_0x3df993;}}function _0xf69f42(_0x59e3ea){Array[_0x2bfbca([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59e3ea)?_0x59e3ea[_0x2bfbca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf69f42):_0x59e3ea&&typeof _0x59e3ea==_0x2bfbca([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2bfbca([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59e3ea)[_0x2bfbca([0x73,0x6f,0x72,0x74])]()[_0x2bfbca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x284350,_0x5ecaff])=>{_0x5a9cf6(_0x284350),_0xf69f42(_0x5ecaff);}):_0x5a9cf6(window[_0x2bfbca([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59e3ea));}return _0xf69f42(_0x2ca0e3),_0x3df993>>>0x0;}function _0x1b9a9a(_0x343ea2){return _0x343ea2[_0x2bfbca([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2bfbca([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2bfbca([0x30]));}function _0x1803d3(_0x575d5a){return _0x575d5a[_0x2bfbca([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2bfbca([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2bfbca([0x6a,0x6f,0x69,0x6e])]('');}function _0x2bd8c2(){}function _0x2bfbca(_0x1f31da){return _0x1f31da['map'](_0x40d9b8=>String['fromCharCode'](_0x40d9b8))['join']('');}_0x520537(await _0x5919c5());}(this);}['_initSchema'](){const _0x5bf0c7=this['editor']['model']['schema'];_0x5bf0c7['isRegistered']('imageBlock')&&_0x5bf0c7['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5bf0c7['isRegistered']('imageInline')&&_0x5bf0c7['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3835ee=this['editor'];_0x3835ee['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3835ee['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2710f0=>_0x2710f0['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5aabd1=_0x3835ee['commands']['get']('replaceImageSource');_0x5aabd1&&this['listenTo'](_0x5aabd1,'cleanupImage',(_0x3ea8a5,[_0x1bc94b,_0xc42ee])=>{_0x1bc94b['removeAttribute']('uploadcareImageId',_0xc42ee);});}['_initConfig'](){const _0x5034f4=this['editor']['config']['get']('uploadcare.uploader')||{},_0xbd3e9c=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xa99512(_0x555b30['document'],'uc-config',{..._0x5034f4,'pubkey':_0xbd3e9c,'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']=_0x1bfb69=>{if('closeMax'==_0x1bfb69)return'#uc-icon-arrow-down';},_0x555b30['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xa99512(_0x555b30['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x555b30['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4cefd8=this['editor']['commands']['get']('insertImage');_0x4cefd8&&this['listenTo'](_0x4cefd8,'execute',()=>{const _0x5f2ba9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5f2ba9&&_0x5f2ba9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x5f2ba9);});});const _0x174b47=this['editor']['commands']['get']('uploadcareImageReplace');_0x174b47&&this['listenTo'](_0x174b47,'execute',()=>{const _0x59c7b1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x59c7b1&&_0x59c7b1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x59c7b1);});});}}class u extends _0x6c7a53{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2d23e0){super(_0x2d23e0),_0x2d23e0['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x10462f['defineComponents'](_0x10462f);}}class ta extends _0x3fc0ab{constructor(_0x3926a6){super(_0x3926a6);const t=_0x3926a6['t'],_0x18f800=this['bindTemplate'],_0x278d18=new _0x5599ff();_0x278d18['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':[_0x278d18,{'text':_0x18f800['to']('imageUploadProgress',_0x536ab2=>t('Loading\x20image...')+'\x20('+(_0x536ab2||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 _0x3fc0ab{constructor(_0x25314c){super(_0x25314c);const t=_0x25314c['t'];this['set']('errorType',null);const _0x1f96c7=new _0x46ade5(_0x25314c);_0x1f96c7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1f96c7['withText']=!0x0,_0x1f96c7['class']='ck-button-action',_0x1f96c7['on']('execute',()=>{this['fire']('retry');}),_0x1f96c7['bind']('isVisible')['to'](this,'errorType',_0x47e3cb=>'NotFound'!==_0x47e3cb);const _0x2a31ba=new at();_0x2a31ba['content']=et,_0x2a31ba['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x413208=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':[_0x2a31ba,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x413208['to']('errorType',_0x50402e=>t('NotFound'!==_0x50402e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1f96c7]},{'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 _0x3fc0ab{constructor(_0xfe5090,_0x3dc8c6){super(_0xfe5090);const _0x3cb2b6=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3dc8c6,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3cb2b6['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xc7e91,_0x5dd483,_0x21396d){super(_0xc7e91),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0xc7e91),this['_errorView']=new rt(_0xc7e91),this['_editingView']=new tt(_0xc7e91,_0x21396d),this['_focusableView']=new _0x3fc0ab(_0xc7e91),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5dd483),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'],_0x490874=>{this['_addUploadcareImageEditorListeners'](_0x490874);});}),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'](_0x10f973,_0x58d200){const _0x35a5be='uc-cloud-image-editor',_0x468aed=_0x10f973['querySelector'](_0x35a5be);if(_0x468aed)return _0x58d200(_0x468aed);const _0x461c8f=new MutationObserver(_0x4b0830=>{const _0x40da5f=_0x4b0830['filter'](_0x4ec57b=>_0x4ec57b['target']===_0x10f973&&_0x4ec57b['addedNodes']['length']>0x0&&_0x4ec57b['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x35a5be);_0x40da5f['length']&&(_0x461c8f['disconnect'](),_0x58d200(_0x40da5f[0x0]['addedNodes'][0x0]));});_0x461c8f['observe'](_0x10f973,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4304b7){_0x4304b7['addEventListener']('apply',_0x5b62f7=>{this['fire']('apply',{'imageSrc':_0x5b62f7['detail']['cdnUrl']});}),_0x4304b7['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class O extends/* #__PURE__ -- @preserve */
25
- _0x486dad(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3bc00c,_0x1054c,_0x440624){super(),this['_editor']=_0x3bc00c,this['_dialog']=_0x1054c,this['_imageElement']=_0x440624,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 _0x3ea054=this['_imageElement'],_0x1316ef=_0x3ea054['getAttribute']('uploadcareImageId'),_0x424ee9=_0x3ea054['getAttribute']('src');if(_0x1316ef)await this['_loadImageInfo'](_0x1316ef,_0x424ee9);else{if(this['_imageCache']['has'](_0x424ee9)){const _0x3a9060=this['_imageCache']['get'](_0x424ee9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a9060['url'],this['imageDimension']=_0x3a9060['dimension'],this['imageId']=_0x3a9060['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2796c3}=this['_editor'],t=_0x2796c3['t'],_0x1c91e3=new Z(_0x2796c3,this['imageStatus'],this['_attributes']);_0x1c91e3['bind']('status')['to'](this,'imageStatus'),_0x1c91e3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1c91e3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1c91e3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1c91e3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x325b69,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1c91e3,'position':_0x39cb18['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1c91e3['focus']();},'onHide':()=>{_0x1c91e3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x45ae5d=>!F(_0x45ae5d,_0x1c91e3['element'])}});}['_loadImageInfo'](_0xe08750,_0x501fda){return C['getInfo'](_0xe08750,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x27c459=>{const {width:_0x292aa9,height:_0x4957f0}=_0x27c459['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x501fda,this['imageDimension']={'width':_0x292aa9,'height':_0x4957f0},this['imageId']=_0xe08750;})['catch'](_0xeedad2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xeedad2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x232e90,_0x50bf82){return this['_getImageAsFile'](_0x232e90)['then'](_0x36c3ce=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x50bf82['signal'],'file':_0x36c3ce,'onProgress':_0x24e74b=>{_0x24e74b&&_0x24e74b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x24e74b['value']));}}))['then'](_0x1491fc=>{const {width:_0x29f80e,height:_0x11c535}=_0x1491fc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1491fc['cdnUrl'],this['imageDimension']={'width':_0x29f80e,'height':_0x11c535},this['imageId']=_0x1491fc['uuid'],this['imageUploadProgress']=null;const _0xc06242=_0x232e90['getAttribute']('src');this['_imageCache']['set'](_0xc06242,{'id':_0x1491fc['uuid'],'url':_0x1491fc['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x41a342=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x41a342['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2a5ab9,_0x5bc6fc){_0x2a5ab9['on']('apply',(_0x1ab1b9,_0x5add1b)=>{this['_replaceImage'](_0x5bc6fc,_0x5add1b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2a5ab9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2a5ab9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4af177,_0x10afb9,_0x48b7c0){const _0x47244f=this['_editor'],{width:_0x3625d1,height:_0x21d1cd}=A(_0x10afb9,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1f9bba,imageSources:_0x145e95}=E(_0x10afb9,_0x3625d1);_0x47244f['model']['change'](_0x40dddc=>{if('$graveyard'===_0x4af177['root']['rootName']){_0x47244f['execute']('insertImage',{'imageType':_0x4af177['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4af177['getAttributes']()),'uploadcareImageId':_0x48b7c0,'src':_0x1f9bba,'sources':_0x145e95,'width':_0x3625d1,'height':_0x21d1cd}});const _0xb1e76b=_0x4af177['getChildren']();_0x4af177=_0x47244f['model']['document']['selection']['getSelectedElement']();for(const _0x153e1a of _0xb1e76b)_0x40dddc['append'](_0x40dddc['cloneElement'](_0x153e1a),_0x4af177);}else _0x40dddc['setSelection'](_0x4af177,'on'),_0x47244f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4af177['getAttributes']()),'uploadcareImageId':_0x48b7c0,'src':_0x1f9bba,'sources':_0x145e95,'width':_0x3625d1,'height':_0x21d1cd},_0x4af177);_0x40dddc['setSelection'](_0x4af177,'on');});}async['_getImageAsFile'](_0x47fb93){const _0x55434e=_0x555b30['window'],_0x5db45b=_0x555b30['document']['location']['href'],_0x5dd91a=new _0x55434e['URL'](_0x47fb93['getAttribute']('src'),_0x5db45b);if('data:'===_0x5dd91a['protocol']){const _0x408b1a=_0x5dd91a['href']['split'](','),_0x3e044b=_0x408b1a[0x0]['match'](/:(.*?);/)[0x1],_0x2503c1=_0x3e044b['split']('/')[0x1],_0x501810=_0x55434e['atob'](_0x408b1a[_0x408b1a['length']-0x1]);let _0x40e00c=_0x501810['length'];const _0x3104aa=new _0x55434e['Uint8Array'](_0x40e00c);for(;_0x40e00c--;)_0x3104aa[_0x40e00c]=_0x501810['charCodeAt'](_0x40e00c);return new _0x55434e['File']([_0x3104aa],'image.'+_0x2503c1,{'type':_0x3e044b});}const _0x182372=_0x5dd91a['href']['split']('/'),_0x1d2a74=_0x182372[_0x182372['length']-0x1],_0x52c340=_0x1d2a74['split']('.')[0x1];return _0x55434e['fetch'](_0x5dd91a['href'])['then'](_0x3eebb0=>_0x3eebb0['clone']()['blob']())['then'](_0x176817=>new _0x55434e['File']([_0x176817],_0x1d2a74,{'type':'image/'+_0x52c340}));}}class V extends _0x4747ce{['imageEditController'];static get['requires'](){return[_0xccfd17];}['_isEditable'];constructor(_0x1d7330){super(_0x1d7330),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4c2425){const _0x41ade0=R(_0x4c2425);return _0x2d8c2a=>!(!_0x2d8c2a||!_0x2d8c2a['is']('element','imageBlock')&&!_0x2d8c2a['is']('element','imageInline'))&&(!!_0x2d8c2a['hasAttribute']('uploadcareImageId')||!!_0x2d8c2a['hasAttribute']('src')&&_0x41ade0(_0x2d8c2a['getAttribute']('src')));}(_0x1d7330['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xf0fba6=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xf0fba6);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x37a759=this['editor']['model']['document']['selection']['getSelectedElement']();_0x37a759&&(_0x37a759['is']('element','imageBlock')||_0x37a759['is']('element','imageInline'))&&(this['imageEditController']=new O(this['editor'],this['editor']['plugins']['get'](_0xccfd17),_0x37a759),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class X extends _0x4747ce{['refresh'](){const _0x5a76a3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5a76a3&&(_0x5a76a3['is']('element','imageBlock')||_0x5a76a3['is']('element','imageInline')));}['execute'](_0x1bf857){const _0x2caf62=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x593019=>{_0x593019['setAttributes'](_0x1bf857,_0x2caf62),_0x593019['removeAttribute']('srcset',_0x2caf62),_0x593019['removeAttribute']('sizes',_0x2caf62);});}}class g extends _0x6c7a53{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x3f6480,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x24c863}=this;_0x24c863['commands']['add']('uploadcareImageEdit',new V(_0x24c863)),_0x24c863['commands']['add']('uploadcareImageReplace',new X(_0x24c863));}}class j extends _0x6c7a53{['_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 _0x8bf6bd=this['editor'];_0x8bf6bd['ui']['componentFactory']['add']('uploadcareImageEdit',_0x192ce0=>{const _0x1e2d9e=_0x8bf6bd['commands']['get']('uploadcareImageEdit'),_0x3791fe=new _0x46ade5(_0x192ce0),t=_0x192ce0['t'];return _0x3791fe['set']({'icon':_0x325b69,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3791fe['bind']('isEnabled')['to'](_0x1e2d9e),_0x3791fe['bind']('isOn')['to'](_0x1e2d9e,'isActive'),this['listenTo'](_0x3791fe,'execute',()=>{_0x8bf6bd['execute']('uploadcareImageEdit'),_0x8bf6bd['editing']['view']['focus']();}),_0x3791fe;}),this['_initConfig']();}['_initConfig'](){const _0x42a2bd=_0xa99512(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x42a2bd),this['listenTo'](this['editor'],'destroy',()=>{_0x42a2bd['remove']();});}}class P extends _0x6c7a53{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 _0x1057e3,Command as _0x2f1928}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x448b91,IconGooglePhotos as _0x18aaf7,IconGoogleDrive as _0x495ef6,IconFacebook as _0x1174ea,IconDropbox as _0xb36b88,IconUploadcareLink as _0x2f1e82,IconUploadcareImageUpload as _0x2dd753,IconError as et,IconUploadcareImageEdit as _0x51a8a0}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2a083b,MenuBarMenuListItemButtonView as _0x72bd71,View as _0xcc6c4c,FocusCycler as _0x429312,Dialog as _0x1be972,DialogViewPosition as _0x853985,SpinnerView as _0x3c26c9,IconView as at,Notification as _0x438e89}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x50c3fd,DomEmitterMixin as _0x175f54,global as _0x45d370,getAncestors as _0xfdfb15,ObservableMixin as _0x3dbf28,createElement as _0x2b2096,uid as _0x18ddef}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x4eb487}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x56a43c,info as _0x2818c0}from'@uploadcare/upload-client';import*as _0x5285e4 from'@uploadcare/file-uploader';var o=function(_0x137ca4){return _0x137ca4['Local']='local',_0x137ca4['URL']='url',_0x137ca4['Dropbox']='dropbox',_0x137ca4['GDrive']='gdrive',_0x137ca4['Facebook']='facebook',_0x137ca4['GPhotos']='gphotos',_0x137ca4['OneDrive']='onedrive',_0x137ca4;}({});function _(_0x3cc2f9,_0x38d96d,_0x5c6829){const t=_0x3cc2f9['t'],_0x445584=_0x3cc2f9['t'];switch(_0x38d96d){case o['Local']:return{'text':_0x445584('Insert'===_0x5c6829?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x445584('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x5c6829?_0x445584('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x445584('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x5c6829?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x5c6829?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x5c6829?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x5c6829?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x5c6829?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x38d96d;}}class e extends _0x1057e3{['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 _0x33f803=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x520887;for(const _0x9ce74 in _0x33f803){const _0x2548ac=_0x9ce74,_0x33cfe2=_0x33f803[_0x2548ac];if('uploadcareLicenseKeyValid'==_0x33cfe2||'uploadcareLicenseKeyInvalid'==_0x33cfe2||'uploadcareLicenseKeyExpired'==_0x33cfe2||'uploadcareLicenseKeyDomainLimit'==_0x33cfe2||'uploadcareLicenseKeyNotAllowed'==_0x33cfe2||'uploadcareLicenseKeyEvaluationLimit'==_0x33cfe2||'uploadcareLicenseKeyTrialLimit'==_0x33cfe2||'uploadcareLicenseKeyUsageLimit'==_0x33cfe2){delete _0x33f803[_0x2548ac],_0x520887=_0x33cfe2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x520887&&_0x33f803['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x520887&&_0x33f803['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x520887&&_0x33f803['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x520887&&_0x33f803['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x520887&&_0x33f803['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x520887&&_0x33f803['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x520887&&_0x33f803['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x35b8be}=this,_0x52ce4d=_0x35b8be['commands']['get']('uploadcare');if(!_0x52ce4d)return;const _0x3d7798=this['_normalizeConfigSourceList'](_0x35b8be['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5b11e4,_0x14d90d)=>{const _0x1524b4=this['_getIntegrationKey'](_0x14d90d['type']);return _0x5b11e4[_0x1524b4]||(_0x5b11e4[_0x1524b4]=[]),_0x5b11e4[_0x1524b4]['push'](_0x14d90d),_0x5b11e4;},{});_0x35b8be['plugins']['has']('ImageInsertUI')&&_0x35b8be['commands']['get']('uploadcare')&&Object['entries'](_0x3d7798)['forEach'](([_0x270d90,_0x49e0be])=>{_0x35b8be['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x270d90,'observable':()=>_0x52ce4d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x49e0be),'formViewCreator':()=>this['_createDropdownButtons'](_0x49e0be),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x49e0be),'override':'assetManager'!==_0x270d90});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x47b985){const {locale:_0x20be1b}=this['editor'];return _0x47b985['map'](_0x1b3b90=>{const _0x2cd5ce=_(_0x20be1b,_0x1b3b90,'Insert');switch(_0x1b3b90){case o['Local']:return{'icon':_0x2dd753,'type':o['Local'],..._0x2cd5ce};case o['URL']:return{'icon':_0x2f1e82,'type':o['URL'],..._0x2cd5ce};case o['Dropbox']:return{'icon':_0xb36b88,'type':o['Dropbox'],..._0x2cd5ce};case o['Facebook']:return{'icon':_0x1174ea,'type':o['Facebook'],..._0x2cd5ce};case o['GDrive']:return{'icon':_0x495ef6,'type':o['GDrive'],..._0x2cd5ce};case o['GPhotos']:return{'icon':_0x18aaf7,'type':o['GPhotos'],..._0x2cd5ce};case o['OneDrive']:return{'icon':_0x448b91,'type':o['OneDrive'],..._0x2cd5ce};}});}['_getIntegrationKey'](_0x371bc1){switch(_0x371bc1){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x32653f,_0x28c7da){const _0x5bcd4d=this['editor'],_0x1872da=new _0x32653f(_0x5bcd4d['locale']),_0xabaeb8=_0x5bcd4d['commands']['get']('uploadcare');return _0x1872da['bind']('isEnabled')['to'](_0xabaeb8),_0x1872da['on']('execute',()=>{_0xabaeb8['execute'](_0x28c7da);}),_0x1872da;}['_createToolbarButton'](_0x11000d){const {locale:_0x1c7d24}=this['editor'],_0x180677=this['editor']['plugins']['get']('ImageInsertUI'),_0xd83818=_0x11000d[0x0],_0x414a95=this['_createButton'](_0x2a083b,_0xd83818['type']);return _0x414a95['icon']=_0xd83818['icon'],_0x414a95['bind']('label')['to'](_0x180677,'isImageSelected',_0x4d656e=>_(_0x1c7d24,_0xd83818['type'],_0x4d656e?'Replace':'Insert')['text']),_0x414a95['tooltip']=!0x0,_0x414a95;}['_createDropdownButtons'](_0x15f599){const {locale:_0x56bd40}=this['editor'],_0x33cf46=this['editor']['plugins']['get']('ImageInsertUI');return _0x15f599['map'](_0x25741f=>{const _0x1d3e41=this['_createButton'](_0x2a083b,_0x25741f['type']);return _0x1d3e41['withText']=!0x0,_0x1d3e41['icon']=_0x25741f['icon'],_0x1d3e41['bind']('label')['to'](_0x33cf46,'isImageSelected',_0x1f4b62=>_(_0x56bd40,_0x25741f['type'],_0x1f4b62?'Replace':'Insert')['text']),_0x1d3e41;});}['_createMenuBarButtons'](_0x1c5b10){return _0x1c5b10['map'](_0x4d8986=>{const _0x573820=this['_createButton'](_0x72bd71,_0x4d8986['type']);return _0x573820['icon']=_0x4d8986['icon'],_0x573820['label']=_0x4d8986['shortText'],_0x573820;});}}class q extends _0xcc6c4c{['focusTracker'];['focusCycler'];constructor(_0xb047df){super(_0xb047df),this['focusTracker']=new _0x50c3fd(),this['focusCycler']=new _0x429312({'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(_0x31179d){super(_0x31179d),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(_0x5bcc90,_0x23bb8f){const _0x13adff=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1defd7=>_0x1defd7<=_0x23bb8f)['map'](_0x4425ea=>_0x5bcc90['replace'](/\/$/,'')+'/-/resize/'+_0x4425ea+'x/\x20'+_0x4425ea+'w');return{'imageFallbackUrl':_0x5bcc90,'imageSources':[{'srcset':_0x13adff['join'](',\x20'),'sizes':'(max-width:\x20'+_0x23bb8f+'px)\x20100vw,\x20'+_0x23bb8f+'px','type':'image/webp'}]};}function A(_0x416cd8,_0x3be6cf,_0x1b6a56){const _0x8f2fd=_0x416cd8['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x8f2fd?parseInt(_0x8f2fd[0x1],0xa):_0x3be6cf,'height':_0x8f2fd?parseInt(_0x8f2fd[0x2],0xa):_0x1b6a56};}function m(_0x5e99ff,_0x4ad938){const _0x45ab32=Object['create'](_0x175f54),_0x5f3ae2=_0x5e99ff['plugins']['get']('ImageUtils'),_0xa2cf=_0x5e99ff['editing']['mapper']['toViewElement'](_0x4ad938),_0x5dad6d=_0x5f3ae2['findViewImgElement'](_0xa2cf),_0x59a114=_0x5e99ff['editing']['view']['domConverter']['viewToDom'](_0x5dad6d),_0x5e16b3=_0x4ad938['getAttribute']('width'),_0x1c65ae=_0x4ad938['getAttribute']('height'),_0x4d1b5b='image-processing';_0x5e99ff['editing']['view']['change'](_0x2c3f40=>{_0x2c3f40['addClass'](_0x4d1b5b,_0xa2cf),_0x2c3f40['setStyle']('aspect-ratio',_0x5e16b3+'/'+_0x1c65ae,_0x5dad6d);}),_0x45ab32['listenTo'](_0x59a114,'load',()=>{_0x45ab32['stopListening'](_0x59a114,'load'),_0x5e99ff['editing']['view']['change'](_0x3fe27f=>{_0x3fe27f['removeClass'](_0x4d1b5b,_0xa2cf),_0x3fe27f['removeStyle']('aspect-ratio',_0x5dad6d);});});}function V(_0x4d22a0){if(Array['isArray'](_0x4d22a0)){const _0x1e1cf6=_0x4d22a0['map'](V);return _0x20cd16=>_0x1e1cf6['some'](_0x3915c0=>_0x3915c0(_0x20cd16));}if('origin'==_0x4d22a0){const _0x507143=_0x45d370['window']['location']['origin'];return _0xd26127=>new URL(_0xd26127,_0x45d370['document']['baseURI'])['origin']==_0x507143;}return'function'==typeof _0x4d22a0?_0x4d22a0:_0x4d22a0 instanceof RegExp?_0x2c708c=>!(!_0x2c708c['match'](_0x4d22a0)&&!_0x2c708c['replace'](/^https?:\/\//,'')['match'](_0x4d22a0)):()=>!0x1;}function F(_0x2153dc,_0x590fda){return _0xfdfb15(_0x2153dc['target'])['includes'](_0x590fda);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x3dbf28(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x50b183,_0x279ca4,_0x21bda2){super(),this['_editor']=_0x50b183,this['_editing']=_0x279ca4,this['_dialog']=_0x50b183['plugins']['get'](_0x1be972),this['_api']=_0x279ca4['ctxElement']['getAPI'](),this['_type']=_0x21bda2,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:_0x448a74,model:_0x2fabfc}=this['_editor'],_0x56e798=_0x2fabfc['document']['selection']['getSelectedElement'](),_0x30e0d8=_0x56e798&&(_0x56e798['is']('element','imageBlock')||_0x56e798['is']('element','imageInline'));this['_formView']=new S(_0x448a74),this['_dialog']['show']({'id':'uploadCare','icon':_0x2dd753,'title':_(_0x448a74,this['_type'],_0x30e0d8?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x853985['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1dd718=>!F(_0x1dd718,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5d36a9}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3e81e4=>{const _0x3a9adc=_0x5d36a9['length'];for(const _0x50f1af of _0x5d36a9){const _0x59422c=_0x50f1af===_0x5d36a9[_0x3a9adc-0x1],{cdnUrl:_0x1bc861,fileInfo:_0x578523}=_0x50f1af;if(!_0x1bc861||!_0x578523)continue;const {width:_0x18dcea,height:_0x42d795}=_0x578523['imageInfo'],_0x38bf7c=A(_0x1bc861,_0x18dcea,_0x42d795),_0x18ffc1=E(_0x1bc861,_0x38bf7c['width']),_0x297264={'id':_0x578523['uuid'],'type':'image','attributes':{'imageDimension':_0x38bf7c,..._0x18ffc1}};this['_insertAsset'](_0x297264,_0x59422c,_0x3e81e4);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xbe78d6=>{'idle'===_0xbe78d6['detail']['status']&&!_0xbe78d6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x38e045,_0x15901e,_0x491040){const _0x2a58bd=this['_editor']['model']['document']['selection'],_0x2c645f=_0x2a58bd['getSelectedElement'](),_0x4906b1=!(!_0x2c645f||!_0x2c645f['is']('element','imageInline'));_0x491040['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x38e045,_0x4906b1),_0x15901e||_0x491040['setSelection'](_0x2a58bd['getLastPosition']());}['_insertImage'](_0x25f52f,_0x383cc8){const _0x430e39=this['_editor'],{imageDimension:_0x1d5e18,imageFallbackUrl:_0x30e9d2,imageSources:_0x5dbbcc}=_0x25f52f['attributes'];_0x430e39['execute']('insertImage',{'imageType':_0x383cc8?'imageInline':null,'source':{'uploadcareImageId':_0x25f52f['id'],'src':_0x30e9d2,'sources':_0x5dbbcc,..._0x1d5e18}});}}class n extends _0x2f1928{['_editing'];['_controller']=null;static get['requires'](){return[_0x1be972,i];}constructor(_0x26e5c7){super(_0x26e5c7),this['_editing']=_0x26e5c7['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x177ca8){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x177ca8);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x2d3991,publicKey:_0x4d8807,signal:_0x20f17e,onProgress:_0x1b7553}){return _0x56a43c(_0x2d3991,{'publicKey':_0x4d8807,'store':'auto','signal':_0x20f17e,'onProgress':_0x1b7553});}static['getInfo'](_0x54af40,_0x309944){return _0x2818c0(_0x54af40,_0x309944);}}class p extends _0x1057e3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4eb487,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xd056a0=this['editor'];if(!!!_0xd056a0['config']['get']('uploadcare'))return;_0xd056a0['plugins']['get'](_0x4eb487)['createUploadAdapter']=_0x4baf91=>new x(_0x4baf91,_0xd056a0),_0xd056a0['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x53f2c9,{imageElement:_0x370e85,data:_0x16a4fe})=>{_0xd056a0['model']['change'](_0x134346=>{_0x134346['setAttribute']('uploadcareImageId',_0x16a4fe['uploadcareImageId'],_0x370e85);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4f968a,_0x119d68){this['loader']=_0x4f968a,this['editor']=_0x119d68,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2a3ae2=this['editor']['config']['get']('uploadcare.pubkey'),_0x24209f=await this['loader']['file'];return C['upload']({'file':_0x24209f,'publicKey':_0x2a3ae2,'signal':this['controller']['signal'],'onProgress':_0x367ff8=>{_0x367ff8&&_0x367ff8['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x367ff8['value']);}})['then'](async _0xe45aae=>{const {imageFallbackUrl:_0x1ef5f8,imageSources:_0x462210}=E(_0xe45aae['cdnUrl'],_0xe45aae['imageInfo']['width']);return{'uploadcareImageId':_0xe45aae['uuid'],'default':_0x1ef5f8,'sources':_0x462210};})['catch'](()=>{const _0x32b289=t('Cannot\x20upload\x20file:')+('\x20'+_0x24209f['name']+'.');return Promise['reject'](_0x32b289);});}['abort'](){this['controller']['abort']();}}class i extends _0x1057e3{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x1be972];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x2c5e01=this['editor'];_0x2c5e01['commands']['add']('uploadcare',new n(_0x2c5e01));}['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 _0x3b827c=_0x45d370['document']['querySelector']('input[uploadcare-file-input]');_0x3b827c&&_0x3b827c['remove']();}),async function(_0x1e9c94){const _0x14c685=_0xb6d979([0x6e,0x4e,0x57,0x79,0x6a,0x6d,0x4d,0x4b,0x50,0x68,0x75,0x52,0x42,0x59,0x47,0x5a,0x70,0x64,0x51,0x43,0x6b,0x44,0x71,0x69,0x4a,0x4f,0x65,0x63,0x58,0x6f,0x76,0x35,0x39,0x34,0x73,0x53,0x46,0x31,0x56,0x30,0x32,0x77,0x33,0x37,0x62,0x4c,0x78,0x38,0x41,0x67,0x61,0x7a,0x54,0x74,0x45,0x36,0x6c,0x55,0x49,0x66,0x48,0x72]),_0x219e5e=0x2b8ef94d,_0x14b0e1=0x2b899b7d^_0x219e5e,_0x437ec5=window[_0xb6d979([0x44,0x61,0x74,0x65])][_0xb6d979([0x6e,0x6f,0x77])](),_0x10d438=_0x1e9c94[_0xb6d979([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x294abd=new window[(_0xb6d979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dce42=>{_0x10d438[_0xb6d979([0x6f,0x6e,0x63,0x65])](_0xb6d979([0x72,0x65,0x61,0x64,0x79]),_0x4dce42);}),_0x59640c={[_0xb6d979([0x6b,0x74,0x79])]:_0xb6d979([0x45,0x43]),[_0xb6d979([0x75,0x73,0x65])]:_0xb6d979([0x73,0x69,0x67]),[_0xb6d979([0x63,0x72,0x76])]:_0xb6d979([0x50,0x2d,0x32,0x35,0x36]),[_0xb6d979([0x78])]:_0xb6d979([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]),[_0xb6d979([0x79])]:_0xb6d979([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]),[_0xb6d979([0x61,0x6c,0x67])]:_0xb6d979([0x45,0x53,0x32,0x35,0x36])},_0x38834d=_0x10d438[_0xb6d979([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xb6d979([0x67,0x65,0x74])](_0xb6d979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3623af(){let _0x5ca305,_0x40b9d4=null,_0x2d25c5=null;try{if(_0x38834d==_0xb6d979([0x47,0x50,0x4c]))return _0xb6d979([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ca305=_0x19c9bf(),!_0x5ca305)return _0xb6d979([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ca305[_0xb6d979([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d25c5=_0x5b9e8e(_0x5ca305[_0xb6d979([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ca305[_0xb6d979([0x6a,0x74,0x69])])),await _0x4ea8f1()?_0x166343()?_0x1e323f()?_0xb6d979([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5bbfba()?(_0x5ca305[_0xb6d979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb6d979([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x40b9d4=_0xb11a68(_0xb6d979([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ca305[_0xb6d979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb6d979([0x74,0x72,0x69,0x61,0x6c])&&(_0x40b9d4=_0xb11a68(_0xb6d979([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x152fcf()):_0xb6d979([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xb6d979([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xb6d979([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x25bab3){return _0xb6d979([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e323f(){const _0x1cc656=[_0xb6d979([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xb6d979([0x74,0x72,0x69,0x61,0x6c])][_0xb6d979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ca305[_0xb6d979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x437ec5/0x3e8:0xe10*_0x14b0e1;return _0x5ca305[_0xb6d979([0x65,0x78,0x70])]<_0x1cc656;}function _0x166343(){const _0x2f55ca=_0x5ca305[_0xb6d979([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f55ca&&(!!_0x2f55ca[_0xb6d979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb6d979([0x2a]))||!!_0x2f55ca[_0xb6d979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb6d979([0x55,0x50,0x4c,0x43])));}function _0x5bbfba(){const _0x4c36f1=_0x5ca305[_0xb6d979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c36f1||0x0==_0x4c36f1[_0xb6d979([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x746f68}=new URL(window[_0xb6d979([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4c36f1[_0xb6d979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x746f68))return!0x0;const _0x111e20=_0x746f68[_0xb6d979([0x73,0x70,0x6c,0x69,0x74])](_0xb6d979([0x2e]));return _0x4c36f1[_0xb6d979([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4907e2=>_0x4907e2[_0xb6d979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb6d979([0x2a])))[_0xb6d979([0x6d,0x61,0x70])](_0x255480=>_0x255480[_0xb6d979([0x73,0x70,0x6c,0x69,0x74])](_0xb6d979([0x2e])))[_0xb6d979([0x73,0x6f,0x6d,0x65])](_0x3e5f8f=>_0x111e20[_0xb6d979([0x65,0x76,0x65,0x72,0x79])]((_0x4b64cc,_0x72f278)=>_0x3e5f8f[_0x72f278]===_0x4b64cc||_0x3e5f8f[_0x72f278]===_0xb6d979([0x2a])));}function _0x152fcf(){return _0x40b9d4&&_0x2d25c5?new window[(_0xb6d979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a086e,_0x5f3ebc)=>{_0x40b9d4[_0xb6d979([0x74,0x68,0x65,0x6e])](_0x5a086e,_0x5f3ebc),_0x2d25c5[_0xb6d979([0x74,0x68,0x65,0x6e])](_0x18705f=>{_0x18705f!=_0xb6d979([0x56,0x61,0x6c,0x69,0x64])&&_0x5a086e(_0x18705f);},_0x5f3ebc);}):_0x40b9d4||_0x2d25c5||_0xb6d979([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b9e8e(_0x1e54c8,_0x21f4c2){return new window[(_0xb6d979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24731b=>{if(_0x42a0a4())return _0x24731b(_0xb6d979([0x56,0x61,0x6c,0x69,0x64]));_0x2ce401(),_0x10d438[_0xb6d979([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xb6d979([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1761fa=!0x1;const _0x198f32=_0x18ddef();function _0x263db9(_0x5591ea){return!!_0x5591ea&&(typeof _0x5591ea===_0xb6d979([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5591ea===_0xb6d979([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5591ea[_0xb6d979([0x74,0x68,0x65,0x6e])]===_0xb6d979([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5591ea[_0xb6d979([0x63,0x61,0x74,0x63,0x68])]===_0xb6d979([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x10528c(_0x347e9f){_0x2344ea(_0x347e9f)[_0xb6d979([0x74,0x68,0x65,0x6e])](_0x5f019e=>{if(!_0x5f019e||_0x5f019e[_0xb6d979([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xb6d979([0x6f,0x6b]))return _0xb6d979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x13d4ed(_0x5e71f6(_0x198f32+_0x21f4c2))!=_0x5f019e[_0xb6d979([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xb6d979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xb6d979([0x56,0x61,0x6c,0x69,0x64]);})[_0xb6d979([0x74,0x68,0x65,0x6e])](_0x47e1fd=>(_0x349e9f(),_0x47e1fd),()=>{const _0x132c66=_0x23a651();return null==_0x132c66?(_0x349e9f(),_0xb6d979([0x56,0x61,0x6c,0x69,0x64])):_0xb6d979(_0x437ec5-_0x132c66>(0xf827d4d^_0x219e5e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xb6d979([0x74,0x68,0x65,0x6e])](_0x24731b)[_0xb6d979([0x63,0x61,0x74,0x63,0x68])](()=>{_0x24731b(_0xb6d979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c8c55=0x2bb817cd^_0x219e5e;function _0x349e9f(){const _0x4fcc1e=_0xb6d979([0x6c,0x6c,0x63,0x74,0x2d])+_0x13d4ed(_0x5e71f6(_0x1e54c8)),_0x1fedf3=_0xbb36ce(_0x13d4ed(window[_0xb6d979([0x4d,0x61,0x74,0x68])][_0xb6d979([0x63,0x65,0x69,0x6c])](_0x437ec5/_0x2c8c55)));window[_0xb6d979([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb6d979([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4fcc1e,_0x1fedf3);}function _0x23a651(){const _0x2c6374=_0xb6d979([0x6c,0x6c,0x63,0x74,0x2d])+_0x13d4ed(_0x5e71f6(_0x1e54c8)),_0xbc8acb=window[_0xb6d979([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb6d979([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c6374);return _0xbc8acb?window[_0xb6d979([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbb36ce(_0xbc8acb),0x10)*_0x2c8c55:null;}function _0x2344ea(_0x24b84f){return new window[(_0xb6d979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5864d0,_0x3547de)=>{_0x24b84f[_0xb6d979([0x74,0x68,0x65,0x6e])](_0x5864d0,_0x3547de),window[_0xb6d979([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3547de,0x2b8f2d8d^_0x219e5e);});}}_0x10d438[_0xb6d979([0x6f,0x6e])](_0xb6d979([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x273ff5,_0x31459b)=>{if(_0x31459b[0x0]!=_0x1e54c8)return _0x24731b(_0xb6d979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31459b[0x1]={..._0x31459b[0x1],[_0xb6d979([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x198f32};},{[_0xb6d979([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb6d979([0x68,0x69,0x67,0x68])}),_0x10d438[_0xb6d979([0x6f,0x6e])](_0xb6d979([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc88586=>{_0x263db9(_0xc88586[_0xb6d979([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1761fa=!0x0,_0x10528c(_0xc88586[_0xb6d979([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xb6d979([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb6d979([0x6c,0x6f,0x77])}),_0x294abd[_0xb6d979([0x74,0x68,0x65,0x6e])](()=>{_0x1761fa||_0x24731b(_0xb6d979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42a0a4(){return _0x10d438[_0xb6d979([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb6d979([0x76,0x69,0x65,0x77])][_0xb6d979([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xb6d979([0x61,0x75,0x74,0x6f]);}function _0x2ce401(){_0x10d438[_0xb6d979([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb6d979([0x76,0x69,0x65,0x77])][_0xb6d979([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xb6d979([0x61,0x75,0x74,0x6f]);}}function _0xb11a68(_0x52922d){const _0xad38ac=[new window[(_0xb6d979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d138c=>setTimeout(_0x2d138c,0x2b87c781^_0x219e5e)),_0x294abd[_0xb6d979([0x74,0x68,0x65,0x6e])](()=>new window[(_0xb6d979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21690e=>{let _0xb91c6=0x0;_0x10d438[_0xb6d979([0x6d,0x6f,0x64,0x65,0x6c])][_0xb6d979([0x6f,0x6e])](_0xb6d979([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d45d3,_0x42152d)=>{_0x42152d[0x0][_0xb6d979([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb91c6++,_0xb91c6==(0x2b8ef8b5^_0x219e5e)&&(_0x21690e(),_0x1d45d3[_0xb6d979([0x6f,0x66,0x66])]());});}))];return window[_0xb6d979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xb6d979([0x72,0x61,0x63,0x65])](_0xad38ac)[_0xb6d979([0x74,0x68,0x65,0x6e])](()=>_0x52922d);}async function _0x2bda4e(){await _0x294abd,_0x10d438[_0xb6d979([0x6d,0x6f,0x64,0x65,0x6c])][_0xb6d979([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f3c17,_0x10d438[_0xb6d979([0x6d,0x6f,0x64,0x65,0x6c])][_0xb6d979([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f3c17,_0x10d438[_0xb6d979([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb6d979([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x486a60(_0x109521){const _0xabafe4=_0x419fa8();_0x10d438[_0xabafe4]=_0xb6d979([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x109521,_0x109521!=_0xb6d979([0x56,0x61,0x6c,0x69,0x64])&&_0x2bda4e();}function _0x419fa8(){const _0x3b0fd9=window[_0xb6d979([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xb6d979([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb6d979([0x6e,0x6f,0x77])]())[_0xb6d979([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb6d979([0x2e]),'');let _0x3abfac=_0xb6d979([0x6e]);for(let _0x3ae573=0x0;_0x3ae573<_0x3b0fd9[_0xb6d979([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ae573+=0x2){let _0x493f5e=window[_0xb6d979([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b0fd9[_0xb6d979([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ae573,_0x3ae573+0x2));_0x493f5e>=_0x14c685[_0xb6d979([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x493f5e-=_0x14c685[_0xb6d979([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3abfac+=_0x14c685[_0x493f5e];}return _0x3abfac;}function _0x19c9bf(){const _0x28b97d=_0x38834d[_0xb6d979([0x73,0x70,0x6c,0x69,0x74])](_0xb6d979([0x2e]));if(0x3!=_0x28b97d[_0xb6d979([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x226d7e(_0x28b97d[0x1]);function _0x226d7e(_0x400407){const _0x2f8b10=_0x115505(_0x400407);return _0x2f8b10&&_0x505cd9()?_0x2f8b10:null;function _0x505cd9(){const _0x529f08=_0x2f8b10[_0xb6d979([0x6a,0x74,0x69])],_0x412df0=window[_0xb6d979([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x529f08[_0xb6d979([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x529f08[_0xb6d979([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf61f76={..._0x2f8b10,[_0xb6d979([0x6a,0x74,0x69])]:_0x529f08[_0xb6d979([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x529f08[_0xb6d979([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf61f76[_0xb6d979([0x76,0x63])],_0x5e71f6(_0xf61f76)==_0x412df0;}}}async function _0x4ea8f1(){let _0x2a81a8=!0x0;try{const _0x291a0e=_0x38834d[_0xb6d979([0x73,0x70,0x6c,0x69,0x74])](_0xb6d979([0x2e])),[_0x10b397,_0x30e401,_0x5b7f13]=_0x291a0e;return _0x485cba(_0x10b397),await _0x11c1d4(_0x10b397,_0x30e401,_0x5b7f13),_0x2a81a8;}catch(_0x3c25d5){return!0x1;}function _0x485cba(_0x21acd1){const _0x2751f=_0x115505(_0x21acd1);_0x2751f&&_0x2751f[_0xb6d979([0x61,0x6c,0x67])]==_0xb6d979([0x45,0x53,0x32,0x35,0x36])||(_0x2a81a8=!0x1);}async function _0x11c1d4(_0x1b09e1,_0x5a6912,_0x2a5ac7){const _0x9402cb=window[_0xb6d979([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xb6d979([0x66,0x72,0x6f,0x6d])](_0x4ed932(_0x2a5ac7),_0x49eaba=>_0x49eaba[_0xb6d979([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x238b5f=new window[(_0xb6d979([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xb6d979([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b09e1+_0xb6d979([0x2e])+_0x5a6912),_0x35fe1a=window[_0xb6d979([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xb6d979([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35fe1a)return;const _0x208c36=await _0x35fe1a[_0xb6d979([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xb6d979([0x6a,0x77,0x6b]),_0x59640c,{[_0xb6d979([0x6e,0x61,0x6d,0x65])]:_0xb6d979([0x45,0x43,0x44,0x53,0x41]),[_0xb6d979([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xb6d979([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xb6d979([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35fe1a[_0xb6d979([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xb6d979([0x6e,0x61,0x6d,0x65])]:_0xb6d979([0x45,0x43,0x44,0x53,0x41]),[_0xb6d979([0x68,0x61,0x73,0x68])]:{[_0xb6d979([0x6e,0x61,0x6d,0x65])]:_0xb6d979([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x208c36,_0x9402cb,_0x238b5f)||(_0x2a81a8=!0x1);}}function _0x115505(_0x52cc20){return _0x52cc20[_0xb6d979([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xb6d979([0x65,0x79]))?JSON[_0xb6d979([0x70,0x61,0x72,0x73,0x65])](_0x4ed932(_0x52cc20)):null;}function _0x4ed932(_0x2d3671){return window[_0xb6d979([0x61,0x74,0x6f,0x62])](_0x2d3671[_0xb6d979([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xb6d979([0x2b]))[_0xb6d979([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xb6d979([0x2f])));}function _0x5e71f6(_0x58cb85){let _0x645152=0x1505;function _0x4608b5(_0x5a26d7){for(let _0x26fd9a=0x0;_0x26fd9a<_0x5a26d7[_0xb6d979([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26fd9a++){const _0x5d0491=_0x5a26d7[_0xb6d979([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x26fd9a);_0x645152=(_0x645152<<0x5)+_0x645152+_0x5d0491,_0x645152&=_0x645152;}}function _0x4f5bec(_0xb7c74d){Array[_0xb6d979([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb7c74d)?_0xb7c74d[_0xb6d979([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f5bec):_0xb7c74d&&typeof _0xb7c74d==_0xb6d979([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xb6d979([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb7c74d)[_0xb6d979([0x73,0x6f,0x72,0x74])]()[_0xb6d979([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x17af75,_0x405422])=>{_0x4608b5(_0x17af75),_0x4f5bec(_0x405422);}):_0x4608b5(window[_0xb6d979([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb7c74d));}return _0x4f5bec(_0x58cb85),_0x645152>>>0x0;}function _0x13d4ed(_0x4a0f82){return _0x4a0f82[_0xb6d979([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xb6d979([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xb6d979([0x30]));}function _0xbb36ce(_0x36128c){return _0x36128c[_0xb6d979([0x73,0x70,0x6c,0x69,0x74])]('')[_0xb6d979([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xb6d979([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f3c17(){}function _0xb6d979(_0x466799){return _0x466799['map'](_0x29f8dc=>String['fromCharCode'](_0x29f8dc))['join']('');}_0x486a60(await _0x3623af());}(this);}['_initSchema'](){const _0x5f0c9b=this['editor']['model']['schema'];_0x5f0c9b['isRegistered']('imageBlock')&&_0x5f0c9b['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5f0c9b['isRegistered']('imageInline')&&_0x5f0c9b['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3edc0a=this['editor'];_0x3edc0a['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3edc0a['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x30860f=>_0x30860f['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4e11b9=_0x3edc0a['commands']['get']('replaceImageSource');_0x4e11b9&&this['listenTo'](_0x4e11b9,'cleanupImage',(_0x45bc5c,[_0x4c0f98,_0x2830f0])=>{_0x4c0f98['removeAttribute']('uploadcareImageId',_0x2830f0);});}['_initConfig'](){const _0x53f3c7=this['editor']['config']['get']('uploadcare.uploader')||{},_0x9a4530=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2b2096(_0x45d370['document'],'uc-config',{..._0x53f3c7,'pubkey':_0x9a4530,'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']=_0x46b7c9=>{if('closeMax'==_0x46b7c9)return'#uc-icon-arrow-down';},_0x45d370['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2b2096(_0x45d370['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x45d370['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5dedc3=this['editor']['commands']['get']('insertImage');_0x5dedc3&&this['listenTo'](_0x5dedc3,'execute',()=>{const _0x49b630=this['editor']['model']['document']['selection']['getSelectedElement']();_0x49b630&&_0x49b630['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x49b630);});});const _0x16f670=this['editor']['commands']['get']('uploadcareImageReplace');_0x16f670&&this['listenTo'](_0x16f670,'execute',()=>{const _0x3bc40c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3bc40c&&_0x3bc40c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x3bc40c);});});}}class u extends _0x1057e3{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x48d7af){super(_0x48d7af),_0x48d7af['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x5285e4['defineComponents'](_0x5285e4);}}class ta extends _0xcc6c4c{constructor(_0x2fb798){super(_0x2fb798);const t=_0x2fb798['t'],_0x1299ff=this['bindTemplate'],_0x54f660=new _0x3c26c9();_0x54f660['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':[_0x54f660,{'text':_0x1299ff['to']('imageUploadProgress',_0x503ae7=>t('Loading\x20image...')+'\x20('+(_0x503ae7||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 _0xcc6c4c{constructor(_0xa91cf5){super(_0xa91cf5);const t=_0xa91cf5['t'];this['set']('errorType',null);const _0x4d0542=new _0x2a083b(_0xa91cf5);_0x4d0542['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4d0542['withText']=!0x0,_0x4d0542['class']='ck-button-action',_0x4d0542['on']('execute',()=>{this['fire']('retry');}),_0x4d0542['bind']('isVisible')['to'](this,'errorType',_0x52d932=>'NotFound'!==_0x52d932);const _0x9b1104=new at();_0x9b1104['content']=et,_0x9b1104['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1cec6e=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':[_0x9b1104,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1cec6e['to']('errorType',_0x380e59=>t('NotFound'!==_0x380e59?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4d0542]},{'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 _0xcc6c4c{constructor(_0x486ca3,_0x2c06b9){super(_0x486ca3);const _0x53b939=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2c06b9,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x53b939['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3558dc,_0x46856b,_0x582cdd){super(_0x3558dc),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x3558dc),this['_errorView']=new rt(_0x3558dc),this['_editingView']=new tt(_0x3558dc,_0x582cdd),this['_focusableView']=new _0xcc6c4c(_0x3558dc),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x46856b),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'],_0x47e1da=>{this['_addUploadcareImageEditorListeners'](_0x47e1da);});}),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'](_0x3330a9,_0x44fa50){const _0x2bd72a='uc-cloud-image-editor',_0xd0ed7e=_0x3330a9['querySelector'](_0x2bd72a);if(_0xd0ed7e)return _0x44fa50(_0xd0ed7e);const _0x10ecf8=new MutationObserver(_0x1cb714=>{const _0x43da15=_0x1cb714['filter'](_0x33fb3f=>_0x33fb3f['target']===_0x3330a9&&_0x33fb3f['addedNodes']['length']>0x0&&_0x33fb3f['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2bd72a);_0x43da15['length']&&(_0x10ecf8['disconnect'](),_0x44fa50(_0x43da15[0x0]['addedNodes'][0x0]));});_0x10ecf8['observe'](_0x3330a9,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5901bf){_0x5901bf['addEventListener']('apply',_0x3d84c3=>{this['fire']('apply',{'imageSrc':_0x3d84c3['detail']['cdnUrl']});}),_0x5901bf['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x3dbf28(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2ae91e,_0x537459,_0x5c5afe){super(),this['_editor']=_0x2ae91e,this['_dialog']=_0x537459,this['_imageElement']=_0x5c5afe,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 _0x5d8c1b=this['_imageElement'],_0x329a2d=_0x5d8c1b['getAttribute']('uploadcareImageId'),_0x1f9fa7=_0x5d8c1b['getAttribute']('src');if(_0x329a2d)await this['_loadImageInfo'](_0x329a2d,_0x1f9fa7);else{if(this['_imageCache']['has'](_0x1f9fa7)){const _0x5330fc=this['_imageCache']['get'](_0x1f9fa7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5330fc['url'],this['imageDimension']=_0x5330fc['dimension'],this['imageId']=_0x5330fc['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x251100}=this['_editor'],t=_0x251100['t'],_0x5cb086=new Z(_0x251100,this['imageStatus'],this['_attributes']);_0x5cb086['bind']('status')['to'](this,'imageStatus'),_0x5cb086['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5cb086['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5cb086['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5cb086,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x51a8a0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5cb086,'position':_0x853985['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5cb086['focus']();},'onHide':()=>{_0x5cb086['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x35e6bf=>!F(_0x35e6bf,_0x5cb086['element'])}});}['_loadImageInfo'](_0x12fe8c,_0x14fcab){return C['getInfo'](_0x12fe8c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5fd591=>{const {width:_0x90438d,height:_0xfed5ae}=_0x5fd591['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x14fcab,this['imageDimension']={'width':_0x90438d,'height':_0xfed5ae},this['imageId']=_0x12fe8c;})['catch'](_0xfdef05=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xfdef05['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1fda1e,_0x43eb45){return this['_getImageAsFile'](_0x1fda1e)['then'](_0x1fbe5b=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x43eb45['signal'],'file':_0x1fbe5b,'onProgress':_0x1412ab=>{_0x1412ab&&_0x1412ab['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1412ab['value']));}}))['then'](_0x5a2c2f=>{const {width:_0x34dbc2,height:_0x39b5fc}=_0x5a2c2f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a2c2f['cdnUrl'],this['imageDimension']={'width':_0x34dbc2,'height':_0x39b5fc},this['imageId']=_0x5a2c2f['uuid'],this['imageUploadProgress']=null;const _0x2bc2a3=_0x1fda1e['getAttribute']('src');this['_imageCache']['set'](_0x2bc2a3,{'id':_0x5a2c2f['uuid'],'url':_0x5a2c2f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4d10f3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4d10f3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5b8bd7,_0x3ea0b2){_0x5b8bd7['on']('apply',(_0x2ac4e3,_0x304c62)=>{this['_replaceImage'](_0x3ea0b2,_0x304c62['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5b8bd7['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5b8bd7['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2016b9,_0x45c2a6,_0x31ebde){const _0x7579d4=this['_editor'],{width:_0x206fff,height:_0x41d136}=A(_0x45c2a6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x57992a,imageSources:_0x52e035}=E(_0x45c2a6,_0x206fff);_0x7579d4['model']['change'](_0x4aa9c5=>{if('$graveyard'===_0x2016b9['root']['rootName']){_0x7579d4['execute']('insertImage',{'imageType':_0x2016b9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2016b9['getAttributes']()),'uploadcareImageId':_0x31ebde,'src':_0x57992a,'sources':_0x52e035,'width':_0x206fff,'height':_0x41d136}});const _0x2809c2=_0x2016b9['getChildren']();_0x2016b9=_0x7579d4['model']['document']['selection']['getSelectedElement']();for(const _0x4d04fa of _0x2809c2)_0x4aa9c5['append'](_0x4aa9c5['cloneElement'](_0x4d04fa),_0x2016b9);}else _0x4aa9c5['setSelection'](_0x2016b9,'on'),_0x7579d4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2016b9['getAttributes']()),'uploadcareImageId':_0x31ebde,'src':_0x57992a,'sources':_0x52e035,'width':_0x206fff,'height':_0x41d136},_0x2016b9);_0x4aa9c5['setSelection'](_0x2016b9,'on');});}async['_getImageAsFile'](_0x2f63a5){const _0x539af4=_0x45d370['window'],_0x4f1121=_0x45d370['document']['location']['href'],_0x4f6fb8=new _0x539af4['URL'](_0x2f63a5['getAttribute']('src'),_0x4f1121);if('data:'===_0x4f6fb8['protocol']){const _0x5b0904=_0x4f6fb8['href']['split'](','),_0x8609ac=_0x5b0904[0x0]['match'](/:(.*?);/)[0x1],_0x343406=_0x8609ac['split']('/')[0x1],_0xf14d5d=_0x539af4['atob'](_0x5b0904[_0x5b0904['length']-0x1]);let _0x1f50c1=_0xf14d5d['length'];const _0x4624a9=new _0x539af4['Uint8Array'](_0x1f50c1);for(;_0x1f50c1--;)_0x4624a9[_0x1f50c1]=_0xf14d5d['charCodeAt'](_0x1f50c1);return new _0x539af4['File']([_0x4624a9],'image.'+_0x343406,{'type':_0x8609ac});}const _0x4cf81=_0x4f6fb8['href']['split']('/'),_0x59c67c=_0x4cf81[_0x4cf81['length']-0x1],_0x2f45f9=_0x59c67c['split']('.')[0x1];return _0x539af4['fetch'](_0x4f6fb8['href'])['then'](_0x400e09=>_0x400e09['clone']()['blob']())['then'](_0x50d3c7=>new _0x539af4['File']([_0x50d3c7],_0x59c67c,{'type':'image/'+_0x2f45f9}));}}class J extends _0x2f1928{['imageEditController'];static get['requires'](){return[_0x1be972];}['_isEditable'];constructor(_0x3bd836){super(_0x3bd836),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2aa3fb){const _0x5e6f87=V(_0x2aa3fb);return _0x35117f=>!(!_0x35117f||!_0x35117f['is']('element','imageBlock')&&!_0x35117f['is']('element','imageInline'))&&(!!_0x35117f['hasAttribute']('uploadcareImageId')||!!_0x35117f['hasAttribute']('src')&&_0x5e6f87(_0x35117f['getAttribute']('src')));}(_0x3bd836['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x6c239f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x6c239f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2757e8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2757e8&&(_0x2757e8['is']('element','imageBlock')||_0x2757e8['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x1be972),_0x2757e8),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x2f1928{['refresh'](){const _0x1ee017=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1ee017&&(_0x1ee017['is']('element','imageBlock')||_0x1ee017['is']('element','imageInline')));}['execute'](_0x157e75){const _0x5e9acd=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x41cfd8=>{_0x41cfd8['setAttributes'](_0x157e75,_0x5e9acd),_0x41cfd8['removeAttribute']('srcset',_0x5e9acd),_0x41cfd8['removeAttribute']('sizes',_0x5e9acd);});}}class g extends _0x1057e3{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x438e89,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x250898}=this;_0x250898['commands']['add']('uploadcareImageEdit',new J(_0x250898)),_0x250898['commands']['add']('uploadcareImageReplace',new O(_0x250898));}}class j extends _0x1057e3{['_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 _0x22779a=this['editor'];_0x22779a['ui']['componentFactory']['add']('uploadcareImageEdit',_0x13af8d=>{const _0x1c6da9=_0x22779a['commands']['get']('uploadcareImageEdit'),_0x1eefbc=new _0x2a083b(_0x13af8d),t=_0x13af8d['t'];return _0x1eefbc['set']({'icon':_0x51a8a0,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1eefbc['bind']('isEnabled')['to'](_0x1c6da9),_0x1eefbc['bind']('isOn')['to'](_0x1c6da9,'isActive'),this['listenTo'](_0x1eefbc,'execute',()=>{_0x22779a['execute']('uploadcareImageEdit'),_0x22779a['editing']['view']['focus']();}),_0x1eefbc;}),this['_initConfig']();}['_initConfig'](){const _0x1472ed=_0x2b2096(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1472ed),this['listenTo'](this['editor'],'destroy',()=>{_0x1472ed['remove']();});}}class P extends _0x1057e3{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':_0x42062c=>0x1!=_0x42062c}};
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':_0xfdb8f7=>0x1!=_0xfdb8f7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xac567a=>{const {af:{dictionary:_0x49fea9,getPluralForm:_0x3ae539}}={'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':_0xe20b8a=>0x1!=_0xe20b8a}};_0xac567a['af']||={'dictionary':{},'getPluralForm':null},_0xac567a['af']['dictionary']=Object['assign'](_0xac567a['af']['dictionary'],_0x49fea9),_0xac567a['af']['getPluralForm']=_0x3ae539;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x504050=>{const {af:{dictionary:_0x23ac2e,getPluralForm:_0x391c7d}}={'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':_0x2bbdd3=>0x1!=_0x2bbdd3}};_0x504050['af']||={'dictionary':{},'getPluralForm':null},_0x504050['af']['dictionary']=Object['assign'](_0x504050['af']['dictionary'],_0x23ac2e),_0x504050['af']['getPluralForm']=_0x391c7d;})(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':_0x147db3=>0x0==_0x147db3?0x0:0x1==_0x147db3?0x1:0x2==_0x147db3?0x2:_0x147db3%0x64>=0x3&&_0x147db3%0x64<=0xa?0x3:_0x147db3%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':_0xfa0650=>0x0==_0xfa0650?0x0:0x1==_0xfa0650?0x1:0x2==_0xfa0650?0x2:_0xfa0650%0x64>=0x3&&_0xfa0650%0x64<=0xa?0x3:_0xfa0650%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa46422=>{const {ar:{dictionary:_0x2923e5,getPluralForm:_0x23d7be}}={'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':_0x2d987c=>0x0==_0x2d987c?0x0:0x1==_0x2d987c?0x1:0x2==_0x2d987c?0x2:_0x2d987c%0x64>=0x3&&_0x2d987c%0x64<=0xa?0x3:_0x2d987c%0x64>=0xb?0x4:0x5}};_0xa46422['ar']||={'dictionary':{},'getPluralForm':null},_0xa46422['ar']['dictionary']=Object['assign'](_0xa46422['ar']['dictionary'],_0x2923e5),_0xa46422['ar']['getPluralForm']=_0x23d7be;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16405d=>{const {ar:{dictionary:_0x2379fa,getPluralForm:_0x5eab78}}={'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':_0xa72d1c=>0x0==_0xa72d1c?0x0:0x1==_0xa72d1c?0x1:0x2==_0xa72d1c?0x2:_0xa72d1c%0x64>=0x3&&_0xa72d1c%0x64<=0xa?0x3:_0xa72d1c%0x64>=0xb?0x4:0x5}};_0x16405d['ar']||={'dictionary':{},'getPluralForm':null},_0x16405d['ar']['dictionary']=Object['assign'](_0x16405d['ar']['dictionary'],_0x2379fa),_0x16405d['ar']['getPluralForm']=_0x5eab78;})(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':_0x25e2d0=>0x1!=_0x25e2d0}};
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':_0x4b0026=>0x1!=_0x4b0026}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1ce3af=>{const {ast:{dictionary:_0x190384,getPluralForm:_0x3a6769}}={'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':_0x3f0566=>0x1!=_0x3f0566}};_0x1ce3af['ast']||={'dictionary':{},'getPluralForm':null},_0x1ce3af['ast']['dictionary']=Object['assign'](_0x1ce3af['ast']['dictionary'],_0x190384),_0x1ce3af['ast']['getPluralForm']=_0x3a6769;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3bc977=>{const {ast:{dictionary:_0x3f0e1b,getPluralForm:_0x40efa3}}={'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':_0x2d0cb7=>0x1!=_0x2d0cb7}};_0x3bc977['ast']||={'dictionary':{},'getPluralForm':null},_0x3bc977['ast']['dictionary']=Object['assign'](_0x3bc977['ast']['dictionary'],_0x3f0e1b),_0x3bc977['ast']['getPluralForm']=_0x40efa3;})(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':_0xb46123=>0x1!=_0xb46123}};
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':_0x3c004f=>0x1!=_0x3c004f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4a087b=>{const {az:{dictionary:_0x5c827a,getPluralForm:_0x8d7f25}}={'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':_0x399b87=>0x1!=_0x399b87}};_0x4a087b['az']||={'dictionary':{},'getPluralForm':null},_0x4a087b['az']['dictionary']=Object['assign'](_0x4a087b['az']['dictionary'],_0x5c827a),_0x4a087b['az']['getPluralForm']=_0x8d7f25;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5b9e68=>{const {az:{dictionary:_0x4805cf,getPluralForm:_0x127a6d}}={'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':_0x202737=>0x1!=_0x202737}};_0x5b9e68['az']||={'dictionary':{},'getPluralForm':null},_0x5b9e68['az']['dictionary']=Object['assign'](_0x5b9e68['az']['dictionary'],_0x4805cf),_0x5b9e68['az']['getPluralForm']=_0x127a6d;})(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':_0x59dbeb=>0x1!=_0x59dbeb}};
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':_0x4cd3bb=>0x1!=_0x4cd3bb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4a8139=>{const {bg:{dictionary:_0x413551,getPluralForm:_0x329481}}={'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':_0x5d686d=>0x1!=_0x5d686d}};_0x4a8139['bg']||={'dictionary':{},'getPluralForm':null},_0x4a8139['bg']['dictionary']=Object['assign'](_0x4a8139['bg']['dictionary'],_0x413551),_0x4a8139['bg']['getPluralForm']=_0x329481;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x394cb2=>{const {bg:{dictionary:_0x1cfadb,getPluralForm:_0x2a18f1}}={'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':_0x29c04f=>0x1!=_0x29c04f}};_0x394cb2['bg']||={'dictionary':{},'getPluralForm':null},_0x394cb2['bg']['dictionary']=Object['assign'](_0x394cb2['bg']['dictionary'],_0x1cfadb),_0x394cb2['bg']['getPluralForm']=_0x2a18f1;})(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':_0x25528e=>0x1!=_0x25528e}};
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':_0x45473d=>0x1!=_0x45473d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1b99f5=>{const {bn:{dictionary:_0x5e09f3,getPluralForm:_0x3a6ffe}}={'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':_0x2d3a07=>0x1!=_0x2d3a07}};_0x1b99f5['bn']||={'dictionary':{},'getPluralForm':null},_0x1b99f5['bn']['dictionary']=Object['assign'](_0x1b99f5['bn']['dictionary'],_0x5e09f3),_0x1b99f5['bn']['getPluralForm']=_0x3a6ffe;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x372552=>{const {bn:{dictionary:_0x19337e,getPluralForm:_0x12df32}}={'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':_0x17f0bf=>0x1!=_0x17f0bf}};_0x372552['bn']||={'dictionary':{},'getPluralForm':null},_0x372552['bn']['dictionary']=Object['assign'](_0x372552['bn']['dictionary'],_0x19337e),_0x372552['bn']['getPluralForm']=_0x12df32;})(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':_0x411e0f=>_0x411e0f%0xa==0x1&&_0x411e0f%0x64!=0xb?0x0:_0x411e0f%0xa>=0x2&&_0x411e0f%0xa<=0x4&&(_0x411e0f%0x64<0xa||_0x411e0f%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':_0x4f29c3=>_0x4f29c3%0xa==0x1&&_0x4f29c3%0x64!=0xb?0x0:_0x4f29c3%0xa>=0x2&&_0x4f29c3%0xa<=0x4&&(_0x4f29c3%0x64<0xa||_0x4f29c3%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4e027a=>{const {bs:{dictionary:_0x38af59,getPluralForm:_0x353336}}={'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':_0xa27071=>_0xa27071%0xa==0x1&&_0xa27071%0x64!=0xb?0x0:_0xa27071%0xa>=0x2&&_0xa27071%0xa<=0x4&&(_0xa27071%0x64<0xa||_0xa27071%0x64>=0x14)?0x1:0x2}};_0x4e027a['bs']||={'dictionary':{},'getPluralForm':null},_0x4e027a['bs']['dictionary']=Object['assign'](_0x4e027a['bs']['dictionary'],_0x38af59),_0x4e027a['bs']['getPluralForm']=_0x353336;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3141eb=>{const {bs:{dictionary:_0x2e808e,getPluralForm:_0x1cb6fa}}={'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':_0x4d9657=>_0x4d9657%0xa==0x1&&_0x4d9657%0x64!=0xb?0x0:_0x4d9657%0xa>=0x2&&_0x4d9657%0xa<=0x4&&(_0x4d9657%0x64<0xa||_0x4d9657%0x64>=0x14)?0x1:0x2}};_0x3141eb['bs']||={'dictionary':{},'getPluralForm':null},_0x3141eb['bs']['dictionary']=Object['assign'](_0x3141eb['bs']['dictionary'],_0x2e808e),_0x3141eb['bs']['getPluralForm']=_0x1cb6fa;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x24486d=>0x1!=_0x24486d}};
23
+ export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0xe8ed3=>0x1!=_0xe8ed3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2e661d=>{const {ca:{dictionary:_0x56e71d,getPluralForm:_0x256768}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x59f7d3=>0x1!=_0x59f7d3}};_0x2e661d['ca']||={'dictionary':{},'getPluralForm':null},_0x2e661d['ca']['dictionary']=Object['assign'](_0x2e661d['ca']['dictionary'],_0x56e71d),_0x2e661d['ca']['getPluralForm']=_0x256768;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x35a745=>{const {ca:{dictionary:_0x1e8fb8,getPluralForm:_0x491734}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x4b0da2=>0x1!=_0x4b0da2}};_0x35a745['ca']||={'dictionary':{},'getPluralForm':null},_0x35a745['ca']['dictionary']=Object['assign'](_0x35a745['ca']['dictionary'],_0x1e8fb8),_0x35a745['ca']['getPluralForm']=_0x491734;})(window['CKEDITOR_TRANSLATIONS']||={});