@ckeditor/ckeditor5-ai 44.3.0-alpha.1 → 44.3.0-alpha.2

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 (168) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  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/adapters/aiadapter.js +1 -1
  149. package/src/adapters/aitextadapter.js +1 -1
  150. package/src/adapters/awstextadapter.js +1 -1
  151. package/src/adapters/openaitextadapter.js +1 -1
  152. package/src/aiassistant.js +1 -1
  153. package/src/aiassistantediting.js +1 -1
  154. package/src/aiassistantui.js +1 -1
  155. package/src/index.js +1 -1
  156. package/src/legacyerrors.js +1 -1
  157. package/src/ui/aiassistantcontroller.js +2 -2
  158. package/src/ui/form/aiformcontentarea.js +1 -1
  159. package/src/ui/form/aiformerrorview.js +1 -1
  160. package/src/ui/form/aiformpromptview.js +1 -1
  161. package/src/ui/form/aiformtoolbarview.js +1 -1
  162. package/src/ui/form/aiformview.js +1 -1
  163. package/src/ui/form/aihistorylistitemview.js +1 -1
  164. package/src/ui/form/aihistorylistview.js +1 -1
  165. package/src/ui/form/prompthistory.js +1 -1
  166. package/src/ui/showaiassistantcommand.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xba8d2a=_0x2036;(function(_0x4b5972,_0x1a059b){const _0x1720ce=_0x2036,_0x4111f7=_0x4b5972();while(!![]){try{const _0x159093=parseInt(_0x1720ce(0xe2))/0x1+-parseInt(_0x1720ce(0xda))/0x2+-parseInt(_0x1720ce(0xd4))/0x3*(parseInt(_0x1720ce(0xf0))/0x4)+-parseInt(_0x1720ce(0xf9))/0x5*(-parseInt(_0x1720ce(0xd6))/0x6)+-parseInt(_0x1720ce(0xe1))/0x7*(-parseInt(_0x1720ce(0xfa))/0x8)+-parseInt(_0x1720ce(0xe6))/0x9*(-parseInt(_0x1720ce(0xe0))/0xa)+parseInt(_0x1720ce(0xe4))/0xb*(parseInt(_0x1720ce(0xee))/0xc);if(_0x159093===_0x1a059b)break;else _0x4111f7['push'](_0x4111f7['shift']());}catch(_0x3fad3d){_0x4111f7['push'](_0x4111f7['shift']());}}}(_0x3bfb,0x37f95));function _0x3bfb(){const _0x3d4eb6=['REPLACE','40855DnJmCi','663056wIJIpy','3aHkSta','insertButton','294xQFBNG','mainAction','toUpperCase','label','672124BzvcjQ','stopButton','insert','ck-button-action','Insert\x20below','_createButton','10gVoQXF','14FDJQHD','34752vzzRWx','ck-hidden','423577RlrUfg','addMany','1969389pihEAj','Stop','ck-ai-form__toolbar','AI_','replaceButton','set','locale','bind','24cDSrhp','items','1325596xoIUQk','replace','Try\x20again','_CONTENT','tryAgainButton','extendTemplate','bindTemplate','isVisible'];_0x3bfb=function(){return _0x3d4eb6;};return _0x3bfb();}function _0x2036(_0x3894f0,_0x32fd9a){const _0x3bfbab=_0x3bfb();return _0x2036=function(_0x203691,_0x2c3108){_0x203691=_0x203691-0xd4;let _0x303ff3=_0x3bfbab[_0x203691];return _0x303ff3;},_0x2036(_0x3894f0,_0x32fd9a);}import{ToolbarView as _0x4a5bfc,ButtonView as _0x3a29d1}from'ckeditor5/src/ui.js';import{getTranslation as _0x32bf44}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xba8d2a(0xf1),'INSERT':_0xba8d2a(0xdc)};export default class at extends _0x4a5bfc{constructor(_0x226ac0){const _0x47516e=_0xba8d2a;super(_0x226ac0),this[_0x47516e(0xeb)](_0x47516e(0xf7),!0x1),this[_0x47516e(0xeb)](_0x47516e(0xd7),AIFormToolbarViewMainActionLabel[_0x47516e(0xf8)]),this[_0x47516e(0xea)]=this[_0x47516e(0xdf)]('',_0x47516e(0xdd)),this[_0x47516e(0xea)][_0x47516e(0xed)](_0x47516e(0xd9))['to'](this,_0x47516e(0xd7),_0x2a26f4=>_0x32bf44(_0x226ac0,_0x47516e(0xe9)+_0x2a26f4[_0x47516e(0xd8)]()+_0x47516e(0xf3))),this[_0x47516e(0xd5)]=this[_0x47516e(0xdf)](_0x32bf44(_0x226ac0,_0x47516e(0xde))),this[_0x47516e(0xf4)]=this[_0x47516e(0xdf)](_0x32bf44(_0x226ac0,_0x47516e(0xf2))),this[_0x47516e(0xdb)]=this[_0x47516e(0xdf)](_0x32bf44(_0x226ac0,_0x47516e(0xe7)));const _0x1edee3=this[_0x47516e(0xf6)];this[_0x47516e(0xf5)]({'attributes':{'class':[_0x47516e(0xe8),_0x1edee3['if'](_0x47516e(0xf7),_0x47516e(0xe3),_0x1b541b=>!_0x1b541b)]}}),this[_0x47516e(0xef)][_0x47516e(0xe5)]([this[_0x47516e(0xea)],this[_0x47516e(0xd5)],this[_0x47516e(0xf4)],this[_0x47516e(0xdb)]]);}[_0xba8d2a(0xdf)](_0xb33823,_0x64d300){const _0x5aea0c=_0xba8d2a,_0x2dfecb=new _0x3a29d1(this[_0x5aea0c(0xec)]);return _0x2dfecb[_0x5aea0c(0xeb)]({'label':_0xb33823,'class':_0x64d300||'','isVisible':!0x0,'withText':!0x0}),_0x2dfecb;}}
23
+ function _0x37cd(){const _0x10dc28=['AI_','2504CKszsC','bindTemplate','1230061oMGVpD','REPLACE','items','298677obfwLG','isVisible','addMany','1737IVPxaj','stopButton','extendTemplate','mainAction','ck-ai-form__toolbar','Try\x20again','12wdFYld','Insert\x20below','bind','763910ivnVus','set','locale','20EwsYhJ','replaceButton','ck-hidden','5400530RZOkrI','_CONTENT','_createButton','insert','insertButton','toUpperCase','71162KHsChb','replace','Stop','tryAgainButton','label','ck-button-action','93325uZHESW'];_0x37cd=function(){return _0x10dc28;};return _0x37cd();}const _0x513d2f=_0x366c;(function(_0x200e55,_0xe969cb){const _0x1527ab=_0x366c,_0x544f6f=_0x200e55();while(!![]){try{const _0x2a4f15=parseInt(_0x1527ab(0x1eb))/0x1+-parseInt(_0x1527ab(0x1df))/0x2+-parseInt(_0x1527ab(0x1d3))/0x3+parseInt(_0x1527ab(0x1e2))/0x4*(-parseInt(_0x1527ab(0x1cc))/0x5)+parseInt(_0x1527ab(0x1dc))/0x6*(parseInt(_0x1527ab(0x1d0))/0x7)+-parseInt(_0x1527ab(0x1ce))/0x8*(parseInt(_0x1527ab(0x1d6))/0x9)+parseInt(_0x1527ab(0x1e5))/0xa;if(_0x2a4f15===_0xe969cb)break;else _0x544f6f['push'](_0x544f6f['shift']());}catch(_0x303677){_0x544f6f['push'](_0x544f6f['shift']());}}}(_0x37cd,0x4fef5));function _0x366c(_0x321291,_0x3a2dfa){const _0x37cdee=_0x37cd();return _0x366c=function(_0x366cf6,_0x16fdf5){_0x366cf6=_0x366cf6-0x1c8;let _0x5d6b4e=_0x37cdee[_0x366cf6];return _0x5d6b4e;},_0x366c(_0x321291,_0x3a2dfa);}import{ToolbarView as _0xd30779,ButtonView as _0x476ed3}from'ckeditor5/src/ui.js';import{getTranslation as _0x2f7bc8}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x513d2f(0x1ec),'INSERT':_0x513d2f(0x1e8)};export default class at extends _0xd30779{constructor(_0x3a543a){const _0x1b0317=_0x513d2f;super(_0x3a543a),this[_0x1b0317(0x1e0)](_0x1b0317(0x1d4),!0x1),this[_0x1b0317(0x1e0)](_0x1b0317(0x1d9),AIFormToolbarViewMainActionLabel[_0x1b0317(0x1d1)]),this[_0x1b0317(0x1e3)]=this[_0x1b0317(0x1e7)]('',_0x1b0317(0x1cb)),this[_0x1b0317(0x1e3)][_0x1b0317(0x1de)](_0x1b0317(0x1ca))['to'](this,_0x1b0317(0x1d9),_0x58d31c=>_0x2f7bc8(_0x3a543a,_0x1b0317(0x1cd)+_0x58d31c[_0x1b0317(0x1ea)]()+_0x1b0317(0x1e6))),this[_0x1b0317(0x1e9)]=this[_0x1b0317(0x1e7)](_0x2f7bc8(_0x3a543a,_0x1b0317(0x1dd))),this[_0x1b0317(0x1c9)]=this[_0x1b0317(0x1e7)](_0x2f7bc8(_0x3a543a,_0x1b0317(0x1db))),this[_0x1b0317(0x1d7)]=this[_0x1b0317(0x1e7)](_0x2f7bc8(_0x3a543a,_0x1b0317(0x1c8)));const _0x3ad27f=this[_0x1b0317(0x1cf)];this[_0x1b0317(0x1d8)]({'attributes':{'class':[_0x1b0317(0x1da),_0x3ad27f['if'](_0x1b0317(0x1d4),_0x1b0317(0x1e4),_0x2cd9c4=>!_0x2cd9c4)]}}),this[_0x1b0317(0x1d2)][_0x1b0317(0x1d5)]([this[_0x1b0317(0x1e3)],this[_0x1b0317(0x1e9)],this[_0x1b0317(0x1c9)],this[_0x1b0317(0x1d7)]]);}[_0x513d2f(0x1e7)](_0x568ab6,_0xc02117){const _0x3407be=_0x513d2f,_0x187c9d=new _0x476ed3(this[_0x3407be(0x1e1)]);return _0x187c9d[_0x3407be(0x1e0)]({'label':_0x568ab6,'class':_0xc02117||'','isVisible':!0x0,'withText':!0x0}),_0x187c9d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b3707=_0x4b12;function _0x4916(){const _0x3a9b40=['_focusables','setTemplate','ck-ai-form','bindTo','insertContentBelow','items','text','copyButtonView','contentArea','ck-ai-form-content','div','errorView','handleError','reset','prompt','value','toolbar','_promptHistory','historyGroupView','add','createCollection','high','focus','Empty\x20history','render','Ask\x20AI\x20to\x20edit\x20or\x20generate','replaceContent','fieldView','2662565wYrZUK','startProcessing','11RvGXFh','10792FdYHVi','Ask\x20AI\x20to\x20improve\x20generated\x20text','bindTemplate','delegate','execute','set','shift\x20+\x20tab','tryAgainEvent','474KQBTFO','4501980cwzhSe','keystrokes','isError','focusLast','focusFirst','1MZiNuw','9hTVDzc','replaceButton','isEnabled','clearHistory','5403540SHavJm','_createHistoryView','submitPrompt','14ZIqVas','focusCycler','AI_ERROR_FAILED','finishProcessing','stopProcessing','_createToolbar','REPLACE','search','tab','promptView','ck-hidden','isProcessing','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','isVisible','listenTo','199860DFTwmd','label','fire','3022560nXnBHl','_createPromptView','bind','queryView','tryAgainButton','element','trim','locale','stopButton','571678KRkAXO','chain','focusTracker','mainAction','submit','insertButton','clear'];_0x4916=function(){return _0x3a9b40;};return _0x4916();}(function(_0x57fd4a,_0x1c8514){const _0x5afa0b=_0x4b12,_0x555884=_0x57fd4a();while(!![]){try{const _0x8fb1bf=-parseInt(_0x5afa0b(0x160))/0x1*(-parseInt(_0x5afa0b(0x183))/0x2)+-parseInt(_0x5afa0b(0x1b1))/0x3*(parseInt(_0x5afa0b(0x1a9))/0x4)+-parseInt(_0x5afa0b(0x1a6))/0x5+parseInt(_0x5afa0b(0x1b2))/0x6+-parseInt(_0x5afa0b(0x168))/0x7*(-parseInt(_0x5afa0b(0x17a))/0x8)+parseInt(_0x5afa0b(0x161))/0x9*(parseInt(_0x5afa0b(0x177))/0xa)+parseInt(_0x5afa0b(0x1a8))/0xb*(-parseInt(_0x5afa0b(0x165))/0xc);if(_0x8fb1bf===_0x1c8514)break;else _0x555884['push'](_0x555884['shift']());}catch(_0xe19c16){_0x555884['push'](_0x555884['shift']());}}}(_0x4916,0x6250f));import{FocusTracker as _0x3de17f,KeystrokeHandler as _0x348eff}from'ckeditor5/src/utils.js';import{View as _0xf715d3,FocusCycler as _0x3a281f,createLabeledTextarea as _0xb4a152}from'ckeditor5/src/ui.js';import _0x3b516c,{AIFormToolbarViewMainActionLabel as _0x2a46bd}from'./aiformtoolbarview.js';import _0x298123 from'./aiformcontentarea.js';import _0x4e4ce1 from'./aiformerrorview.js';import _0x1599cb from'./aiformpromptview.js';import _0x8332ee from'./aihistorylistview.js';import _0x251fea from'./aihistorylistitemview.js';function _0x4b12(_0xa1d26c,_0x2d1581){const _0x491629=_0x4916();return _0x4b12=function(_0x4b12ba,_0x9eb45b){_0x4b12ba=_0x4b12ba-0x15c;let _0x6c6934=_0x491629[_0x4b12ba];return _0x6c6934;},_0x4b12(_0xa1d26c,_0x2d1581);}import _0x3cb0f0 from'./prompthistory.js';import{getTranslation as _0x26fb23}from'../../utils/common-translations.js';import{escape as _0x5d1b97}from'lodash-es';export default class k extends _0xf715d3{constructor(_0x1220ab,_0x54ff3b,_0xabe137=''){const _0x5d99dd=_0x4b12;super(_0x1220ab),this[_0x5d99dd(0x1ae)](_0x5d99dd(0x163),!0x0),this[_0x5d99dd(0x1ae)](_0x5d99dd(0x173),!0x1),this[_0x5d99dd(0x1ae)](_0x5d99dd(0x198),''),this[_0x5d99dd(0x1ae)](_0x5d99dd(0x199),''),this[_0x5d99dd(0x1ae)](_0x5d99dd(0x15d),!0x1),this[_0x5d99dd(0x1ae)](_0x5d99dd(0x186),_0x2a46bd[_0x5d99dd(0x16e)]),this[_0x5d99dd(0x19b)]=new _0x3cb0f0(),this[_0x5d99dd(0x195)]=new _0x4e4ce1(_0x1220ab),this[_0x5d99dd(0x192)]=new _0x298123(_0x1220ab,_0xabe137),this[_0x5d99dd(0x192)][_0x5d99dd(0x17c)](_0x5d99dd(0x173))['to'](this),this[_0x5d99dd(0x192)][_0x5d99dd(0x17c)](_0x5d99dd(0x199))['to'](this),this[_0x5d99dd(0x19a)]=this[_0x5d99dd(0x16d)](),this[_0x5d99dd(0x19a)][_0x5d99dd(0x17c)](_0x5d99dd(0x186))['to'](this),this[_0x5d99dd(0x171)]=this[_0x5d99dd(0x17b)](),this[_0x5d99dd(0x185)]=new _0x3de17f(),this[_0x5d99dd(0x15c)]=new _0x348eff(),this[_0x5d99dd(0x18a)]=this[_0x5d99dd(0x19e)]([this[_0x5d99dd(0x192)],this[_0x5d99dd(0x192)][_0x5d99dd(0x191)],this[_0x5d99dd(0x19a)],this[_0x5d99dd(0x171)]]),this[_0x5d99dd(0x169)]=new _0x3a281f({'focusables':this[_0x5d99dd(0x18a)],'focusTracker':this[_0x5d99dd(0x185)],'keystrokeHandler':this[_0x5d99dd(0x15c)],'actions':{'focusPrevious':_0x5d99dd(0x1af),'focusNext':_0x5d99dd(0x170)}}),this[_0x5d99dd(0x169)][_0x5d99dd(0x184)](this[_0x5d99dd(0x171)][_0x5d99dd(0x169)]),this[_0x5d99dd(0x171)][_0x5d99dd(0x17d)][_0x5d99dd(0x1a5)][_0x5d99dd(0x17c)](_0x5d99dd(0x199))['to'](this,_0x5d99dd(0x198));const _0x415633=this[_0x5d99dd(0x1ab)];this[_0x5d99dd(0x18b)]({'tag':_0x5d99dd(0x194),'attributes':{'class':['ck',_0x5d99dd(0x18c),_0x54ff3b],'tabindex':'-1'},'children':[{'tag':_0x5d99dd(0x194),'attributes':{'class':['ck',_0x5d99dd(0x193)]},'children':[{'tag':_0x5d99dd(0x194),'attributes':{'class':[_0x415633['if'](_0x5d99dd(0x15d),_0x5d99dd(0x172),_0xe75acd=>!_0xe75acd)]},'children':[this[_0x5d99dd(0x195)]]},this[_0x5d99dd(0x192)],this[_0x5d99dd(0x19a)],this[_0x5d99dd(0x171)]]}]});}[_0x1b3707(0x1a2)](){const _0x413e6a=_0x1b3707;super[_0x413e6a(0x1a2)](),this[_0x413e6a(0x185)][_0x413e6a(0x19d)](this[_0x413e6a(0x192)][_0x413e6a(0x17f)]),this[_0x413e6a(0x185)][_0x413e6a(0x19d)](this[_0x413e6a(0x192)][_0x413e6a(0x191)][_0x413e6a(0x17f)]),this[_0x413e6a(0x185)][_0x413e6a(0x19d)](this[_0x413e6a(0x19a)][_0x413e6a(0x17f)]),this[_0x413e6a(0x185)][_0x413e6a(0x19d)](this[_0x413e6a(0x171)][_0x413e6a(0x17f)]),this[_0x413e6a(0x15c)][_0x413e6a(0x176)](this[_0x413e6a(0x17f)]);}[_0x1b3707(0x1a0)](_0x2074b2=0x1){const _0x5e0ac4=_0x1b3707;-0x1===_0x2074b2?this[_0x5e0ac4(0x169)][_0x5e0ac4(0x15e)]():this[_0x5e0ac4(0x169)][_0x5e0ac4(0x15f)]();}[_0x1b3707(0x197)](){const _0x2e1b92=_0x1b3707;this[_0x2e1b92(0x198)]='',this[_0x2e1b92(0x199)]='',this[_0x2e1b92(0x15d)]=!0x1,this[_0x2e1b92(0x171)][_0x2e1b92(0x197)](),this[_0x2e1b92(0x192)][_0x2e1b92(0x175)]=!0x1,this[_0x2e1b92(0x19a)][_0x2e1b92(0x175)]=!0x1;}[_0x1b3707(0x17b)](){const _0x42fb79=_0x1b3707,_0x3ae1ce=this[_0x42fb79(0x181)],_0xac8842=new _0x1599cb(_0x3ae1ce,{'queryView':{'label':_0x26fb23(_0x3ae1ce,_0x42fb79(0x1a3)),'creator':_0xb4a152,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x26fb23(_0x3ae1ce,_0x42fb79(0x1a1)),'secondary':_0x26fb23(_0x3ae1ce,_0x42fb79(0x174))}}},'filteredView':this[_0x42fb79(0x166)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xac8842[_0x42fb79(0x17c)](_0x42fb79(0x163))['to'](this,_0x42fb79(0x163),this,_0x42fb79(0x173),(_0x569df8,_0x1b94b2)=>_0x569df8&&!_0x1b94b2),this[_0x42fb79(0x176)](_0xac8842,_0x42fb79(0x187),(_0x472808,_0x4ff41a)=>{const _0x3a5af6=_0x42fb79;this[_0x3a5af6(0x198)]=_0x4ff41a;const _0x1c512e=_0x5d1b97(_0x4ff41a);this[_0x3a5af6(0x179)](_0x3a5af6(0x167),_0x1c512e),_0x4ff41a[_0x3a5af6(0x180)]()&&this[_0x3a5af6(0x19b)][_0x3a5af6(0x19d)]({'prompt':_0x1c512e},0x0);},{'priority':_0x42fb79(0x19f)}),_0xac8842;}[_0x1b3707(0x166)](){const _0x306eb3=_0x1b3707,_0x290ef6=new _0x8332ee(this[_0x306eb3(0x181)]);return _0x290ef6[_0x306eb3(0x19c)][_0x306eb3(0x18f)][_0x306eb3(0x18d)](this[_0x306eb3(0x19b)])['as'](_0x251fea),_0x290ef6['on'](_0x306eb3(0x164),()=>{const _0x1432c6=_0x306eb3;this[_0x1432c6(0x19b)][_0x1432c6(0x189)](),this[_0x1432c6(0x171)][_0x1432c6(0x16f)](''),this[_0x1432c6(0x171)][_0x1432c6(0x1a0)]();}),_0x290ef6;}[_0x1b3707(0x16d)](){const _0x5e6e5a=_0x1b3707,_0xa0e814=new _0x3b516c(this[_0x5e6e5a(0x181)]);return _0xa0e814[_0x5e6e5a(0x162)][_0x5e6e5a(0x17c)](_0x5e6e5a(0x163))['to'](this,_0x5e6e5a(0x163),this,_0x5e6e5a(0x173),this,_0x5e6e5a(0x199),(_0x2ced2d,_0x327072,_0x10071b)=>_0x2ced2d&&!_0x327072&&!!_0x10071b),_0xa0e814[_0x5e6e5a(0x162)][_0x5e6e5a(0x1ac)](_0x5e6e5a(0x1ad))['to'](this,_0x5e6e5a(0x1a4)),_0xa0e814[_0x5e6e5a(0x188)][_0x5e6e5a(0x17c)](_0x5e6e5a(0x163))['to'](this,_0x5e6e5a(0x163),this,_0x5e6e5a(0x173),this,_0x5e6e5a(0x199),(_0x515e45,_0x439a5a,_0x407fa5)=>_0x515e45&&!_0x439a5a&&!!_0x407fa5),_0xa0e814[_0x5e6e5a(0x188)][_0x5e6e5a(0x1ac)](_0x5e6e5a(0x1ad))['to'](this,_0x5e6e5a(0x18e)),_0xa0e814[_0x5e6e5a(0x17e)][_0x5e6e5a(0x17c)](_0x5e6e5a(0x163))['to'](this,_0x5e6e5a(0x163),this,_0x5e6e5a(0x173),(_0x23f5c1,_0x270515)=>_0x23f5c1&&!_0x270515),_0xa0e814[_0x5e6e5a(0x17e)][_0x5e6e5a(0x1ac)](_0x5e6e5a(0x1ad))['to'](this,_0x5e6e5a(0x1b0)),_0xa0e814[_0x5e6e5a(0x182)][_0x5e6e5a(0x17c)](_0x5e6e5a(0x163))['to'](this,_0x5e6e5a(0x173)),_0xa0e814[_0x5e6e5a(0x182)][_0x5e6e5a(0x1ac)](_0x5e6e5a(0x1ad))['to'](this,_0x5e6e5a(0x16c)),_0xa0e814;}[_0x1b3707(0x1a7)](){const _0x3fd212=_0x1b3707;this[_0x3fd212(0x199)]='',this[_0x3fd212(0x15d)]=!0x1,this[_0x3fd212(0x173)]=!0x0,this[_0x3fd212(0x192)][_0x3fd212(0x175)]=!0x0,this[_0x3fd212(0x19a)][_0x3fd212(0x175)]=!0x0,this[_0x3fd212(0x192)][_0x3fd212(0x1a0)]();}[_0x1b3707(0x16b)](){const _0x4e8dfc=_0x1b3707,_0x35b2e2=this[_0x4e8dfc(0x181)];this[_0x4e8dfc(0x173)]=!0x1,this[_0x4e8dfc(0x198)]='',this[_0x4e8dfc(0x171)][_0x4e8dfc(0x197)](),this[_0x4e8dfc(0x199)]&&(this[_0x4e8dfc(0x171)][_0x4e8dfc(0x17d)][_0x4e8dfc(0x178)]=_0x26fb23(_0x35b2e2,_0x4e8dfc(0x1aa)));}[_0x1b3707(0x196)](_0x59a2a6){const _0x203d00=_0x1b3707,_0x1e620c=this[_0x203d00(0x181)];this[_0x203d00(0x16b)](),this[_0x203d00(0x15d)]=!0x0,this[_0x203d00(0x195)][_0x203d00(0x190)]=_0x59a2a6||_0x26fb23(_0x1e620c,_0x203d00(0x16a)),this[_0x203d00(0x199)]||(this[_0x203d00(0x192)][_0x203d00(0x175)]=!0x1);}}
23
+ const _0x4d962f=_0x1520;(function(_0x3fb963,_0x359420){const _0x2ab2db=_0x1520,_0x24c96e=_0x3fb963();while(!![]){try{const _0x39429f=-parseInt(_0x2ab2db(0x1cb))/0x1*(parseInt(_0x2ab2db(0x1dd))/0x2)+-parseInt(_0x2ab2db(0x1db))/0x3+parseInt(_0x2ab2db(0x1a8))/0x4*(parseInt(_0x2ab2db(0x1dc))/0x5)+-parseInt(_0x2ab2db(0x1d8))/0x6+-parseInt(_0x2ab2db(0x1ca))/0x7+-parseInt(_0x2ab2db(0x19e))/0x8+-parseInt(_0x2ab2db(0x1ec))/0x9*(-parseInt(_0x2ab2db(0x1aa))/0xa);if(_0x39429f===_0x359420)break;else _0x24c96e['push'](_0x24c96e['shift']());}catch(_0x391dab){_0x24c96e['push'](_0x24c96e['shift']());}}}(_0x1bde,0xb2336));import{FocusTracker as _0x510692,KeystrokeHandler as _0x3b52fc}from'ckeditor5/src/utils.js';function _0x1bde(){const _0x3ad127=['reset','handleError','finishProcessing','isEnabled','copyButtonView','render','high','focusTracker','setTemplate','focusFirst','fieldView','focus','ck-hidden','locale','errorView','contentArea','Ask\x20AI\x20to\x20improve\x20generated\x20text','_createToolbar','div','chain','tab','value','Ask\x20AI\x20to\x20edit\x20or\x20generate','focusCycler','clearHistory','prompt','add','bindTemplate','submit','899668dcUjWk','533716SNXHjo','text','bind','isVisible','tryAgainEvent','set','isError','replaceButton','replaceContent','_createHistoryView','_promptHistory','stopProcessing','AI_ERROR_FAILED','5708640DIlkou','stopButton','ck-ai-form','1876386ShAEfM','15335AXdMrg','4TxFxwQ','trim','queryView','search','delegate','items','mainAction','keystrokes','label','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','element','ck-ai-form-content','_focusables','bindTo','startProcessing','956511bjUraw','_createPromptView','insertButton','submitPrompt','clear','shift\x20+\x20tab','createCollection','6095904pcJiww','execute','focusLast','toolbar','fire','Empty\x20history','promptView','insertContentBelow','REPLACE','historyGroupView','988sjdTFh','isProcessing','330yBqPeT','tryAgainButton','listenTo'];_0x1bde=function(){return _0x3ad127;};return _0x1bde();}import{View as _0x14fabf,FocusCycler as _0x2e3dca,createLabeledTextarea as _0x258c0b}from'ckeditor5/src/ui.js';function _0x1520(_0x1eba7f,_0x228834){const _0x1bde0a=_0x1bde();return _0x1520=function(_0x152071,_0x465eae){_0x152071=_0x152071-0x199;let _0x474889=_0x1bde0a[_0x152071];return _0x474889;},_0x1520(_0x1eba7f,_0x228834);}import _0x96bbda,{AIFormToolbarViewMainActionLabel as _0x257236}from'./aiformtoolbarview.js';import _0x461212 from'./aiformcontentarea.js';import _0x204e01 from'./aiformerrorview.js';import _0x1cc056 from'./aiformpromptview.js';import _0x19c032 from'./aihistorylistview.js';import _0x23fb45 from'./aihistorylistitemview.js';import _0x53ea4d from'./prompthistory.js';import{getTranslation as _0x35e8e2}from'../../utils/common-translations.js';import{escape as _0x55f848}from'lodash-es';export default class k extends _0x14fabf{constructor(_0x100ddb,_0x219315,_0x10c802=''){const _0x354e61=_0x1520;super(_0x100ddb),this[_0x354e61(0x1d0)](_0x354e61(0x1b0),!0x0),this[_0x354e61(0x1d0)](_0x354e61(0x1a9),!0x1),this[_0x354e61(0x1d0)](_0x354e61(0x1c6),''),this[_0x354e61(0x1d0)](_0x354e61(0x1c2),''),this[_0x354e61(0x1d0)](_0x354e61(0x1d1),!0x1),this[_0x354e61(0x1d0)](_0x354e61(0x1e3),_0x257236[_0x354e61(0x1a6)]),this[_0x354e61(0x1d5)]=new _0x53ea4d(),this[_0x354e61(0x1bb)]=new _0x204e01(_0x100ddb),this[_0x354e61(0x1bc)]=new _0x461212(_0x100ddb,_0x10c802),this[_0x354e61(0x1bc)][_0x354e61(0x1cd)](_0x354e61(0x1a9))['to'](this),this[_0x354e61(0x1bc)][_0x354e61(0x1cd)](_0x354e61(0x1c2))['to'](this),this[_0x354e61(0x1a1)]=this[_0x354e61(0x1be)](),this[_0x354e61(0x1a1)][_0x354e61(0x1cd)](_0x354e61(0x1e3))['to'](this),this[_0x354e61(0x1a4)]=this[_0x354e61(0x1ed)](),this[_0x354e61(0x1b4)]=new _0x510692(),this[_0x354e61(0x1e4)]=new _0x3b52fc(),this[_0x354e61(0x1e9)]=this[_0x354e61(0x19d)]([this[_0x354e61(0x1bc)],this[_0x354e61(0x1bc)][_0x354e61(0x1b1)],this[_0x354e61(0x1a1)],this[_0x354e61(0x1a4)]]),this[_0x354e61(0x1c4)]=new _0x2e3dca({'focusables':this[_0x354e61(0x1e9)],'focusTracker':this[_0x354e61(0x1b4)],'keystrokeHandler':this[_0x354e61(0x1e4)],'actions':{'focusPrevious':_0x354e61(0x19c),'focusNext':_0x354e61(0x1c1)}}),this[_0x354e61(0x1c4)][_0x354e61(0x1c0)](this[_0x354e61(0x1a4)][_0x354e61(0x1c4)]),this[_0x354e61(0x1a4)][_0x354e61(0x1df)][_0x354e61(0x1b7)][_0x354e61(0x1cd)](_0x354e61(0x1c2))['to'](this,_0x354e61(0x1c6));const _0x2df178=this[_0x354e61(0x1c8)];this[_0x354e61(0x1b5)]({'tag':_0x354e61(0x1bf),'attributes':{'class':['ck',_0x354e61(0x1da),_0x219315],'tabindex':'-1'},'children':[{'tag':_0x354e61(0x1bf),'attributes':{'class':['ck',_0x354e61(0x1e8)]},'children':[{'tag':_0x354e61(0x1bf),'attributes':{'class':[_0x2df178['if'](_0x354e61(0x1d1),_0x354e61(0x1b9),_0xc35aea=>!_0xc35aea)]},'children':[this[_0x354e61(0x1bb)]]},this[_0x354e61(0x1bc)],this[_0x354e61(0x1a1)],this[_0x354e61(0x1a4)]]}]});}[_0x4d962f(0x1b2)](){const _0x1df8e2=_0x4d962f;super[_0x1df8e2(0x1b2)](),this[_0x1df8e2(0x1b4)][_0x1df8e2(0x1c7)](this[_0x1df8e2(0x1bc)][_0x1df8e2(0x1e7)]),this[_0x1df8e2(0x1b4)][_0x1df8e2(0x1c7)](this[_0x1df8e2(0x1bc)][_0x1df8e2(0x1b1)][_0x1df8e2(0x1e7)]),this[_0x1df8e2(0x1b4)][_0x1df8e2(0x1c7)](this[_0x1df8e2(0x1a1)][_0x1df8e2(0x1e7)]),this[_0x1df8e2(0x1b4)][_0x1df8e2(0x1c7)](this[_0x1df8e2(0x1a4)][_0x1df8e2(0x1e7)]),this[_0x1df8e2(0x1e4)][_0x1df8e2(0x1ac)](this[_0x1df8e2(0x1e7)]);}[_0x4d962f(0x1b8)](_0x1fa11f=0x1){const _0x580cd8=_0x4d962f;-0x1===_0x1fa11f?this[_0x580cd8(0x1c4)][_0x580cd8(0x1a0)]():this[_0x580cd8(0x1c4)][_0x580cd8(0x1b6)]();}[_0x4d962f(0x1ad)](){const _0x30fd35=_0x4d962f;this[_0x30fd35(0x1c6)]='',this[_0x30fd35(0x1c2)]='',this[_0x30fd35(0x1d1)]=!0x1,this[_0x30fd35(0x1a4)][_0x30fd35(0x1ad)](),this[_0x30fd35(0x1bc)][_0x30fd35(0x1ce)]=!0x1,this[_0x30fd35(0x1a1)][_0x30fd35(0x1ce)]=!0x1;}[_0x4d962f(0x1ed)](){const _0x3f723c=_0x4d962f,_0x3412c6=this[_0x3f723c(0x1ba)],_0x1be6bb=new _0x1cc056(_0x3412c6,{'queryView':{'label':_0x35e8e2(_0x3412c6,_0x3f723c(0x1c3)),'creator':_0x258c0b,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x35e8e2(_0x3412c6,_0x3f723c(0x1a3)),'secondary':_0x35e8e2(_0x3412c6,_0x3f723c(0x1e6))}}},'filteredView':this[_0x3f723c(0x1d4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1be6bb[_0x3f723c(0x1cd)](_0x3f723c(0x1b0))['to'](this,_0x3f723c(0x1b0),this,_0x3f723c(0x1a9),(_0x4b7776,_0x5539f8)=>_0x4b7776&&!_0x5539f8),this[_0x3f723c(0x1ac)](_0x1be6bb,_0x3f723c(0x1c9),(_0x54eeff,_0x3935fd)=>{const _0x31144d=_0x3f723c;this[_0x31144d(0x1c6)]=_0x3935fd;const _0x406bb1=_0x55f848(_0x3935fd);this[_0x31144d(0x1a2)](_0x31144d(0x19a),_0x406bb1),_0x3935fd[_0x31144d(0x1de)]()&&this[_0x31144d(0x1d5)][_0x31144d(0x1c7)]({'prompt':_0x406bb1},0x0);},{'priority':_0x3f723c(0x1b3)}),_0x1be6bb;}[_0x4d962f(0x1d4)](){const _0x1e5cad=_0x4d962f,_0x590676=new _0x19c032(this[_0x1e5cad(0x1ba)]);return _0x590676[_0x1e5cad(0x1a7)][_0x1e5cad(0x1e2)][_0x1e5cad(0x1ea)](this[_0x1e5cad(0x1d5)])['as'](_0x23fb45),_0x590676['on'](_0x1e5cad(0x1c5),()=>{const _0x2bcc9b=_0x1e5cad;this[_0x2bcc9b(0x1d5)][_0x2bcc9b(0x19b)](),this[_0x2bcc9b(0x1a4)][_0x2bcc9b(0x1e0)](''),this[_0x2bcc9b(0x1a4)][_0x2bcc9b(0x1b8)]();}),_0x590676;}[_0x4d962f(0x1be)](){const _0x2c6793=_0x4d962f,_0x189861=new _0x96bbda(this[_0x2c6793(0x1ba)]);return _0x189861[_0x2c6793(0x1d2)][_0x2c6793(0x1cd)](_0x2c6793(0x1b0))['to'](this,_0x2c6793(0x1b0),this,_0x2c6793(0x1a9),this,_0x2c6793(0x1c2),(_0x9b22ff,_0x24ea77,_0x59665c)=>_0x9b22ff&&!_0x24ea77&&!!_0x59665c),_0x189861[_0x2c6793(0x1d2)][_0x2c6793(0x1e1)](_0x2c6793(0x19f))['to'](this,_0x2c6793(0x1d3)),_0x189861[_0x2c6793(0x199)][_0x2c6793(0x1cd)](_0x2c6793(0x1b0))['to'](this,_0x2c6793(0x1b0),this,_0x2c6793(0x1a9),this,_0x2c6793(0x1c2),(_0x356e74,_0x52f441,_0x2e4eac)=>_0x356e74&&!_0x52f441&&!!_0x2e4eac),_0x189861[_0x2c6793(0x199)][_0x2c6793(0x1e1)](_0x2c6793(0x19f))['to'](this,_0x2c6793(0x1a5)),_0x189861[_0x2c6793(0x1ab)][_0x2c6793(0x1cd)](_0x2c6793(0x1b0))['to'](this,_0x2c6793(0x1b0),this,_0x2c6793(0x1a9),(_0x46c24d,_0x517f73)=>_0x46c24d&&!_0x517f73),_0x189861[_0x2c6793(0x1ab)][_0x2c6793(0x1e1)](_0x2c6793(0x19f))['to'](this,_0x2c6793(0x1cf)),_0x189861[_0x2c6793(0x1d9)][_0x2c6793(0x1cd)](_0x2c6793(0x1b0))['to'](this,_0x2c6793(0x1a9)),_0x189861[_0x2c6793(0x1d9)][_0x2c6793(0x1e1)](_0x2c6793(0x19f))['to'](this,_0x2c6793(0x1d6)),_0x189861;}[_0x4d962f(0x1eb)](){const _0x584fad=_0x4d962f;this[_0x584fad(0x1c2)]='',this[_0x584fad(0x1d1)]=!0x1,this[_0x584fad(0x1a9)]=!0x0,this[_0x584fad(0x1bc)][_0x584fad(0x1ce)]=!0x0,this[_0x584fad(0x1a1)][_0x584fad(0x1ce)]=!0x0,this[_0x584fad(0x1bc)][_0x584fad(0x1b8)]();}[_0x4d962f(0x1af)](){const _0x56e665=_0x4d962f,_0x2ea59e=this[_0x56e665(0x1ba)];this[_0x56e665(0x1a9)]=!0x1,this[_0x56e665(0x1c6)]='',this[_0x56e665(0x1a4)][_0x56e665(0x1ad)](),this[_0x56e665(0x1c2)]&&(this[_0x56e665(0x1a4)][_0x56e665(0x1df)][_0x56e665(0x1e5)]=_0x35e8e2(_0x2ea59e,_0x56e665(0x1bd)));}[_0x4d962f(0x1ae)](_0x59ac8b){const _0x19f1a9=_0x4d962f,_0x1838a2=this[_0x19f1a9(0x1ba)];this[_0x19f1a9(0x1af)](),this[_0x19f1a9(0x1d1)]=!0x0,this[_0x19f1a9(0x1bb)][_0x19f1a9(0x1cc)]=_0x59ac8b||_0x35e8e2(_0x1838a2,_0x19f1a9(0x1d7)),this[_0x19f1a9(0x1c2)]||(this[_0x19f1a9(0x1bc)][_0x19f1a9(0x1ce)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3ddfdf,_0x153910){const _0x29b10f=_0x1153,_0x3c9505=_0x3ddfdf();while(!![]){try{const _0x4986e3=-parseInt(_0x29b10f(0x1aa))/0x1*(parseInt(_0x29b10f(0x1b8))/0x2)+-parseInt(_0x29b10f(0x1ba))/0x3*(-parseInt(_0x29b10f(0x1b7))/0x4)+parseInt(_0x29b10f(0x1b2))/0x5*(-parseInt(_0x29b10f(0x1bb))/0x6)+parseInt(_0x29b10f(0x1b3))/0x7*(-parseInt(_0x29b10f(0x1ad))/0x8)+parseInt(_0x29b10f(0x1b4))/0x9*(-parseInt(_0x29b10f(0x1b6))/0xa)+parseInt(_0x29b10f(0x1b5))/0xb+-parseInt(_0x29b10f(0x1b0))/0xc*(parseInt(_0x29b10f(0x1ae))/0xd);if(_0x4986e3===_0x153910)break;else _0x3c9505['push'](_0x3c9505['shift']());}catch(_0x2b1430){_0x3c9505['push'](_0x3c9505['shift']());}}}(_0x3064,0x53584));function _0x1153(_0x49ba3d,_0x592245){const _0x306419=_0x3064();return _0x1153=function(_0x11530e,_0x1a06a3){_0x11530e=_0x11530e-0x1aa;let _0x4de8f8=_0x306419[_0x11530e];return _0x4de8f8;},_0x1153(_0x49ba3d,_0x592245);}import{ListItemView as _0x2ef317,ButtonView as _0xa104e,ButtonLabelView as _0x33c6ff}from'ckeditor5/src/ui.js';import{unescape as _0x40896e}from'lodash-es';export default class hs extends _0x2ef317{constructor(_0x18eb0b){const _0x1cb88d=_0x1153;super();const _0x53fd9b=new _0x33c6ff(),_0x5cec19=new _0xa104e(this[_0x1cb88d(0x1b1)],_0x53fd9b);this[_0x1cb88d(0x1bc)][_0x1cb88d(0x1af)](_0x5cec19),_0x5cec19[_0x1cb88d(0x1ac)]({'label':_0x18eb0b[_0x1cb88d(0x1bd)],'withText':!0x0}),_0x5cec19['on'](_0x1cb88d(0x1b9),()=>{const _0x3cf6f7=_0x1cb88d;this[_0x3cf6f7(0x1ab)](_0x3cf6f7(0x1b9),{'value':_0x40896e(_0x18eb0b[_0x3cf6f7(0x1bd)])});});}}function _0x3064(){const _0x64cd8f=['756290vljbZd','3794bKOIxK','54AkZhZc','5261102FWhMWM','395340byFNCA','284rANTUP','39392bReXIW','execute','26355KbNJTC','6wDdenb','children','prompt','2SbjZLY','fire','set','3112iUoCeA','10933ErmRrL','add','1740gVJykd','locale'];_0x3064=function(){return _0x64cd8f;};return _0x3064();}
23
+ (function(_0x48b549,_0x5d6ff9){const _0xcd09cd=_0x299c,_0x282c64=_0x48b549();while(!![]){try{const _0x1a34f2=-parseInt(_0xcd09cd(0xfb))/0x1+parseInt(_0xcd09cd(0x109))/0x2+parseInt(_0xcd09cd(0x102))/0x3+parseInt(_0xcd09cd(0x10b))/0x4*(parseInt(_0xcd09cd(0xfe))/0x5)+parseInt(_0xcd09cd(0x103))/0x6*(parseInt(_0xcd09cd(0x100))/0x7)+-parseInt(_0xcd09cd(0x106))/0x8*(-parseInt(_0xcd09cd(0xfd))/0x9)+-parseInt(_0xcd09cd(0x105))/0xa*(parseInt(_0xcd09cd(0x101))/0xb);if(_0x1a34f2===_0x5d6ff9)break;else _0x282c64['push'](_0x282c64['shift']());}catch(_0x350e5b){_0x282c64['push'](_0x282c64['shift']());}}}(_0x3c35,0x21a0b));import{ListItemView as _0x1da7f7,ButtonView as _0x3b3150,ButtonLabelView as _0x39527e}from'ckeditor5/src/ui.js';import{unescape as _0x115b2c}from'lodash-es';export default class hs extends _0x1da7f7{constructor(_0x356577){const _0x544106=_0x299c;super();const _0x5e2386=new _0x39527e(),_0x578a8b=new _0x3b3150(this[_0x544106(0x10a)],_0x5e2386);this[_0x544106(0x107)][_0x544106(0x108)](_0x578a8b),_0x578a8b[_0x544106(0xfa)]({'label':_0x356577[_0x544106(0xff)],'withText':!0x0}),_0x578a8b['on'](_0x544106(0xfc),()=>{const _0x4a0980=_0x544106;this[_0x4a0980(0x104)](_0x4a0980(0xfc),{'value':_0x115b2c(_0x356577[_0x4a0980(0xff)])});});}}function _0x299c(_0x2e527c,_0x19e71d){const _0x3c35f8=_0x3c35();return _0x299c=function(_0x299c89,_0x4ac592){_0x299c89=_0x299c89-0xfa;let _0x5358d2=_0x3c35f8[_0x299c89];return _0x5358d2;},_0x299c(_0x2e527c,_0x19e71d);}function _0x3c35(){const _0x1e07ad=['prompt','86639onvqaL','22brwrAv','554424KgvsjM','120JgCRFo','fire','2526740aMvVev','768dgBoHy','children','add','256924JWzcuC','locale','412sUiFKd','set','229137yZegwC','execute','18747UsgJov','5410NlJlow'];_0x3c35=function(){return _0x1e07ad;};return _0x3c35();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5cf4(_0x159809,_0x5875cb){const _0x2bad11=_0x2bad();return _0x5cf4=function(_0x5cf438,_0x451b78){_0x5cf438=_0x5cf438-0x16d;let _0x24aeb3=_0x2bad11[_0x5cf438];return _0x24aeb3;},_0x5cf4(_0x159809,_0x5875cb);}const _0x59bfff=_0x5cf4;(function(_0x9ae1eb,_0x58d299){const _0x1f2548=_0x5cf4,_0x3db703=_0x9ae1eb();while(!![]){try{const _0x430d81=-parseInt(_0x1f2548(0x17c))/0x1+-parseInt(_0x1f2548(0x17e))/0x2*(-parseInt(_0x1f2548(0x175))/0x3)+parseInt(_0x1f2548(0x173))/0x4+-parseInt(_0x1f2548(0x182))/0x5+parseInt(_0x1f2548(0x187))/0x6*(-parseInt(_0x1f2548(0x185))/0x7)+parseInt(_0x1f2548(0x17f))/0x8*(parseInt(_0x1f2548(0x183))/0x9)+parseInt(_0x1f2548(0x177))/0xa;if(_0x430d81===_0x58d299)break;else _0x3db703['push'](_0x3db703['shift']());}catch(_0xf3dc94){_0x3db703['push'](_0x3db703['shift']());}}}(_0x2bad,0x5234d));function _0x2bad(){const _0x190423=['7Qgmxfw','clearHistoryButton','3182676rBUVBd','filter','historyGroupView','fire','Clear','delegate','_createClearHistoryButton','747144DLuZPP','locale','102TBGImP','length','10641790hYDRlP','execute','items','set','add','484606DQaDrr','children','23846oFQqWj','2907624lXuvZw','clearHistory','Prompt\x20history','3340155UCrkLc','9UJDDdo','label'];_0x2bad=function(){return _0x190423;};return _0x2bad();}import{ListView as _0x526a63,ListItemGroupView as _0x26f2de,ButtonView as _0xb9ee4c}from'ckeditor5/src/ui.js';import{getTranslation as _0x180348}from'../../utils/common-translations.js';export default class rs extends _0x526a63{constructor(_0xa137c7){const _0x146661=_0x5cf4;super(_0xa137c7),this[_0x146661(0x186)]=this[_0x146661(0x172)](),this[_0x146661(0x16e)]=new _0x26f2de(),this[_0x146661(0x16e)][_0x146661(0x17d)][_0x146661(0x17b)](this[_0x146661(0x186)],0x1),this[_0x146661(0x16e)][_0x146661(0x184)]=_0x180348(_0xa137c7,_0x146661(0x181)),this[_0x146661(0x16e)][_0x146661(0x179)][_0x146661(0x171)](_0x146661(0x178))['to'](this),this[_0x146661(0x179)][_0x146661(0x17b)](this[_0x146661(0x16e)]);}[_0x59bfff(0x16d)](){const _0xefd44a=_0x59bfff;let _0x62a5de=0x0;for(const _0x3eb43e of this[_0xefd44a(0x179)])_0x62a5de+=_0x3eb43e[_0xefd44a(0x179)][_0xefd44a(0x176)];return{'resultsCount':_0x62a5de,'totalItemsCount':_0x62a5de};}[_0x59bfff(0x172)](){const _0x3679e0=_0x59bfff,_0x4408c9=this[_0x3679e0(0x174)],_0x274e8d=new _0xb9ee4c(this[_0x3679e0(0x174)]);return _0x274e8d[_0x3679e0(0x17a)]({'label':'('+_0x180348(_0x4408c9,_0x3679e0(0x170))+')','withText':!0x0}),_0x274e8d['on'](_0x3679e0(0x178),()=>this[_0x3679e0(0x16f)](_0x3679e0(0x180))),_0x274e8d;}}
23
+ const _0x535a52=_0x2509;(function(_0x528f2a,_0x3dfcf8){const _0x4be7ec=_0x2509,_0x481a52=_0x528f2a();while(!![]){try{const _0x588117=parseInt(_0x4be7ec(0x1d8))/0x1*(-parseInt(_0x4be7ec(0x1f1))/0x2)+parseInt(_0x4be7ec(0x1e5))/0x3+-parseInt(_0x4be7ec(0x1e6))/0x4*(parseInt(_0x4be7ec(0x1dd))/0x5)+parseInt(_0x4be7ec(0x1f3))/0x6+-parseInt(_0x4be7ec(0x1e3))/0x7*(parseInt(_0x4be7ec(0x1e2))/0x8)+parseInt(_0x4be7ec(0x1ed))/0x9*(parseInt(_0x4be7ec(0x1da))/0xa)+-parseInt(_0x4be7ec(0x1d9))/0xb*(-parseInt(_0x4be7ec(0x1de))/0xc);if(_0x588117===_0x3dfcf8)break;else _0x481a52['push'](_0x481a52['shift']());}catch(_0x4d29f1){_0x481a52['push'](_0x481a52['shift']());}}}(_0xdbc3,0x6fd17));import{ListView as _0x44b05a,ListItemGroupView as _0x10e11a,ButtonView as _0x34d90f}from'ckeditor5/src/ui.js';function _0xdbc3(){const _0x5443cb=['1636227WKzwLj','724DfFCBH','_createClearHistoryButton','historyGroupView','locale','execute','clearHistoryButton','filter','9VDzEPA','delegate','clearHistory','add','7164LrMTDt','Clear','3130356FjCaOK','items','81hAblIy','219307tuTDmI','1139360szTVbE','children','length','11995eDxOGk','24nTFffo','Prompt\x20history','fire','label','1848eOxDVZ','1169JPEONX','set'];_0xdbc3=function(){return _0x5443cb;};return _0xdbc3();}function _0x2509(_0x59dc94,_0x7e29c8){const _0xdbc3ca=_0xdbc3();return _0x2509=function(_0x2509b0,_0x27ab23){_0x2509b0=_0x2509b0-0x1d7;let _0x3615be=_0xdbc3ca[_0x2509b0];return _0x3615be;},_0x2509(_0x59dc94,_0x7e29c8);}import{getTranslation as _0x39eb3e}from'../../utils/common-translations.js';export default class rs extends _0x44b05a{constructor(_0x18817f){const _0x1b84a3=_0x2509;super(_0x18817f),this[_0x1b84a3(0x1eb)]=this[_0x1b84a3(0x1e7)](),this[_0x1b84a3(0x1e8)]=new _0x10e11a(),this[_0x1b84a3(0x1e8)][_0x1b84a3(0x1db)][_0x1b84a3(0x1f0)](this[_0x1b84a3(0x1eb)],0x1),this[_0x1b84a3(0x1e8)][_0x1b84a3(0x1e1)]=_0x39eb3e(_0x18817f,_0x1b84a3(0x1df)),this[_0x1b84a3(0x1e8)][_0x1b84a3(0x1d7)][_0x1b84a3(0x1ee)](_0x1b84a3(0x1ea))['to'](this),this[_0x1b84a3(0x1d7)][_0x1b84a3(0x1f0)](this[_0x1b84a3(0x1e8)]);}[_0x535a52(0x1ec)](){const _0x28710=_0x535a52;let _0x347f7a=0x0;for(const _0x449c5c of this[_0x28710(0x1d7)])_0x347f7a+=_0x449c5c[_0x28710(0x1d7)][_0x28710(0x1dc)];return{'resultsCount':_0x347f7a,'totalItemsCount':_0x347f7a};}[_0x535a52(0x1e7)](){const _0x5318e1=_0x535a52,_0x4e6379=this[_0x5318e1(0x1e9)],_0x459b34=new _0x34d90f(this[_0x5318e1(0x1e9)]);return _0x459b34[_0x5318e1(0x1e4)]({'label':'('+_0x39eb3e(_0x4e6379,_0x5318e1(0x1f2))+')','withText':!0x0}),_0x459b34['on'](_0x5318e1(0x1ea),()=>this[_0x5318e1(0x1e0)](_0x5318e1(0x1ef))),_0x459b34;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38d582=_0x146a;(function(_0x1f7096,_0x374a3f){const _0x54917d=_0x146a,_0x408b98=_0x1f7096();while(!![]){try{const _0x58b670=-parseInt(_0x54917d(0x100))/0x1+parseInt(_0x54917d(0xf7))/0x2+-parseInt(_0x54917d(0x104))/0x3+-parseInt(_0x54917d(0x102))/0x4+-parseInt(_0x54917d(0xfc))/0x5*(-parseInt(_0x54917d(0xfb))/0x6)+parseInt(_0x54917d(0xfe))/0x7*(-parseInt(_0x54917d(0x109))/0x8)+parseInt(_0x54917d(0x10a))/0x9*(-parseInt(_0x54917d(0xf3))/0xa);if(_0x58b670===_0x374a3f)break;else _0x408b98['push'](_0x408b98['shift']());}catch(_0x26b5f6){_0x408b98['push'](_0x408b98['shift']());}}}(_0x46d5,0x4dc00));function _0x146a(_0x1a66c0,_0x145d5d){const _0x46d5ab=_0x46d5();return _0x146a=function(_0x146a93,_0x46690b){_0x146a93=_0x146a93-0xf1;let _0x131e90=_0x46d5ab[_0x146a93];return _0x131e90;},_0x146a(_0x1a66c0,_0x145d5d);}import{Collection as _0x2d1ca1}from'ckeditor5/src/utils.js';const cs=_0x38d582(0x108);function _0x46d5(){const _0x2cef09=['CKEditor/AIFormView/PromptHistory','556744CcwuZO','288NePWGF','trim','_loadFromSessionStorage','45460kCxkHG','addMany','setItem','toLowerCase','1102072giLAjZ','map','parse','getItem','1482lMEsBC','11985hyPNhV','_saveToSessionStorage','28siGCBN','remove','167009QXyLya','length','565800FjgRCV','stringify','276984cQQwEz','prompt','add','last'];_0x46d5=function(){return _0x2cef09;};return _0x46d5();}export default class os extends _0x2d1ca1{constructor(){const _0x570fe9=_0x38d582;super(),this[_0x570fe9(0xf2)](),this['on'](_0x570fe9(0x106),(_0x1d33c9,_0x2fd8aa)=>{const _0x37fcf7=_0x570fe9,_0x455198=Ss(_0x2fd8aa[_0x37fcf7(0x105)]);for(const _0x23a81c of this)if(_0x23a81c!=_0x2fd8aa&&Ss(_0x23a81c[_0x37fcf7(0x105)])===_0x455198){this[_0x37fcf7(0xff)](_0x23a81c);break;}this[_0x37fcf7(0x101)]>0x14&&this[_0x37fcf7(0xff)](this[_0x37fcf7(0x107)]),this[_0x37fcf7(0xfd)]();}),this['on'](_0x570fe9(0xff),()=>{const _0x4c13cb=_0x570fe9;this[_0x4c13cb(0xfd)]();});}[_0x38d582(0xf2)](){const _0x2d111d=_0x38d582,_0x528092=sessionStorage[_0x2d111d(0xfa)](cs)||'[]';this[_0x2d111d(0xf4)](JSON[_0x2d111d(0xf9)](_0x528092));}[_0x38d582(0xfd)](){const _0x53c85e=_0x38d582;sessionStorage[_0x53c85e(0xf5)](cs,JSON[_0x53c85e(0x103)](this[_0x53c85e(0xf8)](_0x532e41=>_0x532e41)));}}function Ss(_0x449831){const _0x3c1cb2=_0x38d582;return _0x449831[_0x3c1cb2(0xf6)]()[_0x3c1cb2(0xf1)]();}
23
+ const _0x4db1db=_0x11b7;function _0x11b7(_0x1aa295,_0xfa034e){const _0x310d38=_0x310d();return _0x11b7=function(_0x11b73f,_0x584eeb){_0x11b73f=_0x11b73f-0x19e;let _0x57e004=_0x310d38[_0x11b73f];return _0x57e004;},_0x11b7(_0x1aa295,_0xfa034e);}(function(_0x37c342,_0x2b4043){const _0x3912ce=_0x11b7,_0x1ea5b5=_0x37c342();while(!![]){try{const _0x5bfab4=parseInt(_0x3912ce(0x1b3))/0x1*(-parseInt(_0x3912ce(0x1a4))/0x2)+parseInt(_0x3912ce(0x1af))/0x3+parseInt(_0x3912ce(0x1b6))/0x4*(parseInt(_0x3912ce(0x1a7))/0x5)+parseInt(_0x3912ce(0x1b0))/0x6*(parseInt(_0x3912ce(0x1a1))/0x7)+parseInt(_0x3912ce(0x1a0))/0x8*(-parseInt(_0x3912ce(0x1aa))/0x9)+parseInt(_0x3912ce(0x1ac))/0xa*(parseInt(_0x3912ce(0x1ad))/0xb)+-parseInt(_0x3912ce(0x1b1))/0xc;if(_0x5bfab4===_0x2b4043)break;else _0x1ea5b5['push'](_0x1ea5b5['shift']());}catch(_0x5ccaf8){_0x1ea5b5['push'](_0x1ea5b5['shift']());}}}(_0x310d,0xdbd55));import{Collection as _0xabb23a}from'ckeditor5/src/utils.js';const cs=_0x4db1db(0x1b7);export default class os extends _0xabb23a{constructor(){const _0x22a769=_0x4db1db;super(),this[_0x22a769(0x1b4)](),this['on'](_0x22a769(0x1ab),(_0x68025a,_0x639898)=>{const _0x38e4c1=_0x22a769,_0x58031e=Ss(_0x639898[_0x38e4c1(0x1a5)]);for(const _0x319878 of this)if(_0x319878!=_0x639898&&Ss(_0x319878[_0x38e4c1(0x1a5)])===_0x58031e){this[_0x38e4c1(0x1b8)](_0x319878);break;}this[_0x38e4c1(0x1ae)]>0x14&&this[_0x38e4c1(0x1b8)](this[_0x38e4c1(0x19f)]),this[_0x38e4c1(0x1a6)]();}),this['on'](_0x22a769(0x1b8),()=>{const _0x561a86=_0x22a769;this[_0x561a86(0x1a6)]();});}[_0x4db1db(0x1b4)](){const _0x1ba02a=_0x4db1db,_0x43cede=sessionStorage[_0x1ba02a(0x19e)](cs)||'[]';this[_0x1ba02a(0x1a9)](JSON[_0x1ba02a(0x1b5)](_0x43cede));}[_0x4db1db(0x1a6)](){const _0x530d8c=_0x4db1db;sessionStorage[_0x530d8c(0x1a2)](cs,JSON[_0x530d8c(0x1b9)](this[_0x530d8c(0x1b2)](_0x389d4c=>_0x389d4c)));}}function Ss(_0x26559b){const _0x3830c0=_0x4db1db;return _0x26559b[_0x3830c0(0x1a8)]()[_0x3830c0(0x1a3)]();}function _0x310d(){const _0x4d405b=['4453245wkiNeM','161562tgKfWS','15944208TjKnRN','map','13TjjrPg','_loadFromSessionStorage','parse','4mbuYej','CKEditor/AIFormView/PromptHistory','remove','stringify','getItem','last','40aASjBf','140ExoEvx','setItem','trim','76676bgsGmn','prompt','_saveToSessionStorage','2234185nzdkSt','toLowerCase','addMany','1558971KOBNDL','add','60VtmvXX','2060333jVKeRH','length'];_0x310d=function(){return _0x4d405b;};return _0x310d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5546(_0x36a7b9,_0x149c81){const _0x181530=_0x1815();return _0x5546=function(_0x5546d6,_0x3a435c){_0x5546d6=_0x5546d6-0xa1;let _0x2d2b34=_0x181530[_0x5546d6];return _0x2d2b34;},_0x5546(_0x36a7b9,_0x149c81);}const _0xd1936d=_0x5546;(function(_0x3bab26,_0x3d1c90){const _0x16eec9=_0x5546,_0x2baa65=_0x3bab26();while(!![]){try{const _0x2ca828=-parseInt(_0x16eec9(0xba))/0x1*(parseInt(_0x16eec9(0xa9))/0x2)+-parseInt(_0x16eec9(0xad))/0x3*(parseInt(_0x16eec9(0xc2))/0x4)+parseInt(_0x16eec9(0xbf))/0x5+parseInt(_0x16eec9(0xb3))/0x6*(parseInt(_0x16eec9(0xc3))/0x7)+-parseInt(_0x16eec9(0xc5))/0x8+-parseInt(_0x16eec9(0xab))/0x9*(parseInt(_0x16eec9(0xce))/0xa)+-parseInt(_0x16eec9(0xc6))/0xb*(-parseInt(_0x16eec9(0xbb))/0xc);if(_0x2ca828===_0x3d1c90)break;else _0x2baa65['push'](_0x2baa65['shift']());}catch(_0x1ccc59){_0x2baa65['push'](_0x2baa65['shift']());}}}(_0x1815,0x54fac));import{Command as _0x3def26}from'ckeditor5/src/core.js';import _0x1924b4 from'../aiassistantui.js';export default class E extends _0x3def26{constructor(_0x3d51fd,_0x3d74c1){const _0xa25771=_0x5546;super(_0x3d51fd),this[_0xa25771(0xa1)]=_0x3d74c1,this[_0xa25771(0xa5)](_0xa25771(0xa6),[]),this['on'](_0xa25771(0xc4),(_0x5f5be2,_0x50c6a5,_0x2c1d3a)=>{const _0x24ae1b=_0xa25771;this[_0x24ae1b(0xbe)]&&(this[_0x24ae1b(0xa6)]=G(this[_0x24ae1b(0xa1)],_0x2c1d3a));}),this[_0xa25771(0xa5)](_0xa25771(0xb9),!0x1),this['on'](_0xa25771(0xcc),(_0x31e8fd,_0x2e4fa8,_0x2138f8)=>{const _0x3f91ec=_0xa25771;this[_0x3f91ec(0xa6)]=_0x2138f8?G(this[_0x3f91ec(0xa1)],this[_0x3f91ec(0xb9)]):[];});}[_0xd1936d(0xc9)](){const _0x22458f=_0xd1936d,_0x2f5625=this[_0x22458f(0xa2)][_0x22458f(0xb1)];this[_0x22458f(0xb9)]=function(_0x5de69b){const _0x5e3886=_0x22458f,_0x2d39b5=_0x5de69b[_0x5e3886(0xa3)][_0x5e3886(0xb0)];return _0x2d39b5[_0x5e3886(0xb8)]?0x0!==[..._0x2d39b5[_0x5e3886(0xa7)]()][_0x5e3886(0xac)]&&![..._0x2d39b5[_0x5e3886(0xa7)]()][0x0][_0x5e3886(0xcb)]:!!_0x5de69b[_0x5e3886(0xb4)](_0x2d39b5[_0x5e3886(0xc8)]());}(_0x2f5625);const _0x48e3a2=_0x2f5625[_0x22458f(0xa3)][_0x22458f(0xb0)],_0x23ef5d=this[_0x22458f(0xa2)][_0x22458f(0xc0)][_0x22458f(0xbc)](_0x22458f(0xc1));for(const _0x3a65eb of _0x48e3a2[_0x22458f(0xb7)]())for(const _0x598fda of _0x3a65eb[_0x22458f(0xa4)]())if(_0x598fda['is'](_0x22458f(0xca))&&_0x23ef5d[_0x22458f(0xb5)](_0x598fda[_0x22458f(0xb2)]))return void(this[_0x22458f(0xbe)]=!0x1);this[_0x22458f(0xbe)]=!0x0;}[_0xd1936d(0xa8)](_0x14ca33='',_0x21d2b0='',_0x2453de=_0xd1936d(0xaa)){const _0x2dc434=_0xd1936d;this[_0x2dc434(0xa2)][_0x2dc434(0xaf)][_0x2dc434(0xbc)](_0x1924b4)[_0x2dc434(0xb6)](_0x14ca33,_0x21d2b0,_0x2453de);}}function G(_0x4486d9,_0x40a7b0){const _0x39bd13=_0xd1936d,_0x23bbf6=new Set();for(const _0x21d40c of _0x4486d9[_0x39bd13(0xae)]())(_0x40a7b0||!0x1===_0x21d40c[_0x39bd13(0xc7)])&&_0x23bbf6[_0x39bd13(0xcd)](_0x21d40c['id']);return Array[_0x39bd13(0xbd)](_0x23bbf6);}function _0x1815(){const _0x3e9a1c=['isEnabled','3465155tFIEVH','config','ai.aiAssistant.disabledElements','956VTTbQO','14469ZGXzMk','change:_hasContext','2590544BZaCcZ','11gQFboC','requiresContent','getFirstRange','refresh','element','isEmpty','change:isEnabled','add','10QzVpmc','_commandDefinitions','editor','document','getItems','set','enabledCommandsIds','getSelectedBlocks','execute','13782ZSQWAS','custom','1234665XfCNnl','length','3921cIZnrN','values','plugins','selection','model','name','1278ODqSQX','hasContent','includes','showUI','getRanges','isCollapsed','_hasContext','43sflVtG','3413556tWrEZR','get','from'];_0x1815=function(){return _0x3e9a1c;};return _0x1815();}
23
+ const _0x13142a=_0x3959;function _0x198f(){const _0x516446=['showUI','change:_hasContext','custom','config','isEnabled','editor','12901pYxsyQ','_commandDefinitions','model','ai.aiAssistant.disabledElements','264kkpbqf','refresh','enabledCommandsIds','execute','10pXoTow','getSelectedBlocks','5482269PXLqeM','change:isEnabled','1006786jJBzOj','1609080cGAQsT','6908QSIbdT','document','get','2994453ueLigL','name','plugins','_hasContext','getRanges','set','length','requiresContent','8BXcrNQ','values','selection','getItems','75413wYAldk','132ZOcQpJ','342dODApQ','isCollapsed','hasContent','includes','isEmpty','add','element','from','1wtvQfh','getFirstRange'];_0x198f=function(){return _0x516446;};return _0x198f();}function _0x3959(_0x4d7373,_0x2c9863){const _0x198f77=_0x198f();return _0x3959=function(_0x395961,_0x2e8ba5){_0x395961=_0x395961-0x8c;let _0x595212=_0x198f77[_0x395961];return _0x595212;},_0x3959(_0x4d7373,_0x2c9863);}(function(_0x52aa1e,_0x397523){const _0x545142=_0x3959,_0xbb8a0f=_0x52aa1e();while(!![]){try{const _0x7e1c62=parseInt(_0x545142(0x9c))/0x1*(parseInt(_0x545142(0xb0))/0x2)+-parseInt(_0x545142(0x94))/0x3*(parseInt(_0x545142(0xb2))/0x4)+parseInt(_0x545142(0xb1))/0x5+parseInt(_0x545142(0x93))/0x6*(-parseInt(_0x545142(0xa4))/0x7)+-parseInt(_0x545142(0x8e))/0x8*(parseInt(_0x545142(0xae))/0x9)+parseInt(_0x545142(0xac))/0xa*(parseInt(_0x545142(0xb5))/0xb)+parseInt(_0x545142(0xa8))/0xc*(parseInt(_0x545142(0x92))/0xd);if(_0x7e1c62===_0x397523)break;else _0xbb8a0f['push'](_0xbb8a0f['shift']());}catch(_0x16aebe){_0xbb8a0f['push'](_0xbb8a0f['shift']());}}}(_0x198f,0x5c679));import{Command as _0x581344}from'ckeditor5/src/core.js';import _0x2884e5 from'../aiassistantui.js';export default class E extends _0x581344{constructor(_0x51de60,_0x355e69){const _0x4eb5ab=_0x3959;super(_0x51de60),this[_0x4eb5ab(0xa5)]=_0x355e69,this[_0x4eb5ab(0xba)](_0x4eb5ab(0xaa),[]),this['on'](_0x4eb5ab(0x9f),(_0x3afc7a,_0x3e7edf,_0xad7709)=>{const _0x3db43a=_0x4eb5ab;this[_0x3db43a(0xa2)]&&(this[_0x3db43a(0xaa)]=G(this[_0x3db43a(0xa5)],_0xad7709));}),this[_0x4eb5ab(0xba)](_0x4eb5ab(0xb8),!0x1),this['on'](_0x4eb5ab(0xaf),(_0x11a986,_0x1ef541,_0x542a5a)=>{const _0x29cfc0=_0x4eb5ab;this[_0x29cfc0(0xaa)]=_0x542a5a?G(this[_0x29cfc0(0xa5)],this[_0x29cfc0(0xb8)]):[];});}[_0x13142a(0xa9)](){const _0x4942f8=_0x13142a,_0x6825f9=this[_0x4942f8(0xa3)][_0x4942f8(0xa6)];this[_0x4942f8(0xb8)]=function(_0x129a19){const _0x287503=_0x4942f8,_0x239358=_0x129a19[_0x287503(0xb3)][_0x287503(0x90)];return _0x239358[_0x287503(0x95)]?0x0!==[..._0x239358[_0x287503(0xad)]()][_0x287503(0x8c)]&&![..._0x239358[_0x287503(0xad)]()][0x0][_0x287503(0x98)]:!!_0x129a19[_0x287503(0x96)](_0x239358[_0x287503(0x9d)]());}(_0x6825f9);const _0x4bf34f=_0x6825f9[_0x4942f8(0xb3)][_0x4942f8(0x90)],_0x130a3d=this[_0x4942f8(0xa3)][_0x4942f8(0xa1)][_0x4942f8(0xb4)](_0x4942f8(0xa7));for(const _0x128ce2 of _0x4bf34f[_0x4942f8(0xb9)]())for(const _0x5385b0 of _0x128ce2[_0x4942f8(0x91)]())if(_0x5385b0['is'](_0x4942f8(0x9a))&&_0x130a3d[_0x4942f8(0x97)](_0x5385b0[_0x4942f8(0xb6)]))return void(this[_0x4942f8(0xa2)]=!0x1);this[_0x4942f8(0xa2)]=!0x0;}[_0x13142a(0xab)](_0x369ff5='',_0x402bc6='',_0x25fcaf=_0x13142a(0xa0)){const _0xa0e0cd=_0x13142a;this[_0xa0e0cd(0xa3)][_0xa0e0cd(0xb7)][_0xa0e0cd(0xb4)](_0x2884e5)[_0xa0e0cd(0x9e)](_0x369ff5,_0x402bc6,_0x25fcaf);}}function G(_0x293566,_0x1a5d4f){const _0x5df867=_0x13142a,_0x1f3f15=new Set();for(const _0x69693c of _0x293566[_0x5df867(0x8f)]())(_0x1a5d4f||!0x1===_0x69693c[_0x5df867(0x8d)])&&_0x1f3f15[_0x5df867(0x99)](_0x69693c['id']);return Array[_0x5df867(0x9b)](_0x1f3f15);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x1f67a0,_0x47cc11,_0x57acbd){const t=_0x1f67a0['t'];switch(_0x47cc11){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x57acbd);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x57acbd);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x57acbd);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x47cc11;}}
23
+ export function getTranslation(_0x4b996d,_0x5c9e9b,_0x1a71ca){const t=_0x4b996d['t'];switch(_0x5c9e9b){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x1a71ca);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1a71ca);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x1a71ca);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x5c9e9b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x628302,_0x4a2b33){const _0x2727be=(0x0,_0x4a2b33['t'])('Other');return _0x628302['length']?'groupId'in _0x628302[0x0]?_0x628302:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2727be,'order':0x1/0x0,'commands':_0x628302}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2727be,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0xe95f5b,_0x2bfec0){const _0x19b701=(0x0,_0x2bfec0['t'])('Other');return _0xe95f5b['length']?'groupId'in _0xe95f5b[0x0]?_0xe95f5b:[{'groupId':'_ungrouppedCommands','groupLabel':_0x19b701,'order':0x1/0x0,'commands':_0xe95f5b}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x19b701,'order':0x1/0x0,'commands':[]}];}