@ckeditor/ckeditor5-ai 44.0.0-alpha.9 → 44.0.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 (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 +8 -8
  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
- function _0x1369(){const _0xe27241=['5611240kDeVJD','insert','extendTemplate','replaceButton','ck-button-action','set','5052550gvbuAf','bindTemplate','label','_CONTENT','tryAgainButton','toUpperCase','3667644gVsRJD','Try\x20again','isVisible','REPLACE','_createButton','1454645nkQDuz','addMany','stopButton','Insert\x20below','AI_','replace','112vagxzr','9FZLRIZ','items','locale','Stop','insertButton','ck-hidden','758991DSAYQD','ck-ai-form__toolbar','1281609PGVQRl','10956dtyoNH','mainAction','bind','4tGSGFB'];_0x1369=function(){return _0xe27241;};return _0x1369();}const _0x5dbc10=_0x2fd4;(function(_0x14fe91,_0x169f7c){const _0x30cb13=_0x2fd4,_0x4fe7bb=_0x14fe91();while(!![]){try{const _0x375f31=-parseInt(_0x30cb13(0x163))/0x1*(-parseInt(_0x30cb13(0x159))/0x2)+-parseInt(_0x30cb13(0x160))/0x3+-parseInt(_0x30cb13(0x166))/0x4*(-parseInt(_0x30cb13(0x153))/0x5)+-parseInt(_0x30cb13(0x173))/0x6+parseInt(_0x30cb13(0x162))/0x7+-parseInt(_0x30cb13(0x167))/0x8*(-parseInt(_0x30cb13(0x15a))/0x9)+-parseInt(_0x30cb13(0x16d))/0xa;if(_0x375f31===_0x169f7c)break;else _0x4fe7bb['push'](_0x4fe7bb['shift']());}catch(_0x53fc82){_0x4fe7bb['push'](_0x4fe7bb['shift']());}}}(_0x1369,0x66667));import{ToolbarView as _0x5c1941,ButtonView as _0x2bce9a}from'ckeditor5/src/ui.js';import{getTranslation as _0x131a62}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x5dbc10(0x158),'INSERT':_0x5dbc10(0x168)};function _0x2fd4(_0x268fd3,_0x186d53){const _0x1369af=_0x1369();return _0x2fd4=function(_0x2fd4fa,_0x937a94){_0x2fd4fa=_0x2fd4fa-0x150;let _0x3eb81c=_0x1369af[_0x2fd4fa];return _0x3eb81c;},_0x2fd4(_0x268fd3,_0x186d53);}export default class nt extends _0x5c1941{constructor(_0x286834){const _0x3be708=_0x5dbc10;super(_0x286834),this[_0x3be708(0x16c)](_0x3be708(0x150),!0x1),this[_0x3be708(0x16c)](_0x3be708(0x164),AIFormToolbarViewMainActionLabel[_0x3be708(0x151)]),this[_0x3be708(0x16a)]=this[_0x3be708(0x152)]('',_0x3be708(0x16b)),this[_0x3be708(0x16a)][_0x3be708(0x165)](_0x3be708(0x16f))['to'](this,_0x3be708(0x164),_0x22d10b=>_0x131a62(_0x286834,_0x3be708(0x157)+_0x22d10b[_0x3be708(0x172)]()+_0x3be708(0x170))),this[_0x3be708(0x15e)]=this[_0x3be708(0x152)](_0x131a62(_0x286834,_0x3be708(0x156))),this[_0x3be708(0x171)]=this[_0x3be708(0x152)](_0x131a62(_0x286834,_0x3be708(0x174))),this[_0x3be708(0x155)]=this[_0x3be708(0x152)](_0x131a62(_0x286834,_0x3be708(0x15d)));const _0x3b0c20=this[_0x3be708(0x16e)];this[_0x3be708(0x169)]({'attributes':{'class':[_0x3be708(0x161),_0x3b0c20['if'](_0x3be708(0x150),_0x3be708(0x15f),_0x4111e1=>!_0x4111e1)]}}),this[_0x3be708(0x15b)][_0x3be708(0x154)]([this[_0x3be708(0x16a)],this[_0x3be708(0x15e)],this[_0x3be708(0x171)],this[_0x3be708(0x155)]]);}[_0x5dbc10(0x152)](_0x491951,_0x137ccc){const _0x18ae2d=_0x5dbc10,_0xa64116=new _0x2bce9a(this[_0x18ae2d(0x15c)]);return _0xa64116[_0x18ae2d(0x16c)]({'label':_0x491951,'class':_0x137ccc||'','isVisible':!0x0,'withText':!0x0}),_0xa64116;}}
23
+ function _0x360e(){const _0x28bf47=['AI_','Try\x20again','insertButton','locale','ck-hidden','items','label','537463kegSqb','isVisible','bindTemplate','2498870rFpECF','extendTemplate','replace','ck-button-action','247653YdvqxB','stopButton','_createButton','45oRgqco','REPLACE','insert','Stop','mainAction','4483984ptVWgB','replaceButton','137364sybHKW','_CONTENT','ck-ai-form__toolbar','addMany','set','bind','tryAgainButton','57STvjFr','Insert\x20below','1449880pvZuGs','96ibFKac','122284IRHiRB','toUpperCase'];_0x360e=function(){return _0x28bf47;};return _0x360e();}const _0x18c71c=_0x137b;(function(_0x30089d,_0x37fed4){const _0x3b96ee=_0x137b,_0x4c8a8e=_0x30089d();while(!![]){try{const _0x2901ce=-parseInt(_0x3b96ee(0x109))/0x1+-parseInt(_0x3b96ee(0xf5))/0x2+-parseInt(_0x3b96ee(0xfc))/0x3*(parseInt(_0x3b96ee(0x100))/0x4)+parseInt(_0x3b96ee(0xfe))/0x5+parseInt(_0x3b96ee(0xff))/0x6*(-parseInt(_0x3b96ee(0x110))/0x7)+parseInt(_0x3b96ee(0xf3))/0x8+parseInt(_0x3b96ee(0xee))/0x9*(parseInt(_0x3b96ee(0x10c))/0xa);if(_0x2901ce===_0x37fed4)break;else _0x4c8a8e['push'](_0x4c8a8e['shift']());}catch(_0x22a3b5){_0x4c8a8e['push'](_0x4c8a8e['shift']());}}}(_0x360e,0x54ae3));import{ToolbarView as _0x2557bc,ButtonView as _0x393efc}from'ckeditor5/src/ui.js';import{getTranslation as _0x460746}from'../../utils/common-translations.js';function _0x137b(_0xca6435,_0x46f19d){const _0x360eac=_0x360e();return _0x137b=function(_0x137b79,_0x5760ff){_0x137b79=_0x137b79-0xed;let _0x1e299a=_0x360eac[_0x137b79];return _0x1e299a;},_0x137b(_0xca6435,_0x46f19d);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x18c71c(0x10e),'INSERT':_0x18c71c(0xf0)};export default class nt extends _0x2557bc{constructor(_0x4974ed){const _0x1ea445=_0x18c71c;super(_0x4974ed),this[_0x1ea445(0xf9)](_0x1ea445(0x10a),!0x1),this[_0x1ea445(0xf9)](_0x1ea445(0xf2),AIFormToolbarViewMainActionLabel[_0x1ea445(0xef)]),this[_0x1ea445(0xf4)]=this[_0x1ea445(0xed)]('',_0x1ea445(0x10f)),this[_0x1ea445(0xf4)][_0x1ea445(0xfa)](_0x1ea445(0x108))['to'](this,_0x1ea445(0xf2),_0x3ff24c=>_0x460746(_0x4974ed,_0x1ea445(0x102)+_0x3ff24c[_0x1ea445(0x101)]()+_0x1ea445(0xf6))),this[_0x1ea445(0x104)]=this[_0x1ea445(0xed)](_0x460746(_0x4974ed,_0x1ea445(0xfd))),this[_0x1ea445(0xfb)]=this[_0x1ea445(0xed)](_0x460746(_0x4974ed,_0x1ea445(0x103))),this[_0x1ea445(0x111)]=this[_0x1ea445(0xed)](_0x460746(_0x4974ed,_0x1ea445(0xf1)));const _0x3c260e=this[_0x1ea445(0x10b)];this[_0x1ea445(0x10d)]({'attributes':{'class':[_0x1ea445(0xf7),_0x3c260e['if'](_0x1ea445(0x10a),_0x1ea445(0x106),_0x9eb967=>!_0x9eb967)]}}),this[_0x1ea445(0x107)][_0x1ea445(0xf8)]([this[_0x1ea445(0xf4)],this[_0x1ea445(0x104)],this[_0x1ea445(0xfb)],this[_0x1ea445(0x111)]]);}[_0x18c71c(0xed)](_0x7cb652,_0x44ebd9){const _0x58a47f=_0x18c71c,_0x4a547b=new _0x393efc(this[_0x58a47f(0x105)]);return _0x4a547b[_0x58a47f(0xf9)]({'label':_0x7cb652,'class':_0x44ebd9||'','isVisible':!0x0,'withText':!0x0}),_0x4a547b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a8f89=_0x80aa;(function(_0x8a443b,_0x269708){const _0x56a138=_0x80aa,_0x750a3f=_0x8a443b();while(!![]){try{const _0x48b532=-parseInt(_0x56a138(0x1c9))/0x1+parseInt(_0x56a138(0x18a))/0x2*(parseInt(_0x56a138(0x1d2))/0x3)+parseInt(_0x56a138(0x19b))/0x4+parseInt(_0x56a138(0x190))/0x5*(-parseInt(_0x56a138(0x1bb))/0x6)+-parseInt(_0x56a138(0x18d))/0x7+-parseInt(_0x56a138(0x1c4))/0x8*(parseInt(_0x56a138(0x1d4))/0x9)+parseInt(_0x56a138(0x192))/0xa*(parseInt(_0x56a138(0x1b5))/0xb);if(_0x48b532===_0x269708)break;else _0x750a3f['push'](_0x750a3f['shift']());}catch(_0x16137f){_0x750a3f['push'](_0x750a3f['shift']());}}}(_0x33c6,0xf0bfe));import{FocusTracker as _0x3a2891,KeystrokeHandler as _0xadb5e}from'ckeditor5/src/utils.js';function _0x80aa(_0x4a788d,_0x8f1395){const _0x33c6e7=_0x33c6();return _0x80aa=function(_0x80aa4f,_0x52ba23){_0x80aa4f=_0x80aa4f-0x189;let _0x47bd0b=_0x33c6e7[_0x80aa4f];return _0x47bd0b;},_0x80aa(_0x4a788d,_0x8f1395);}import{View as _0x5984e1,FocusCycler as _0x27627b,createLabeledTextarea as _0x1cce32}from'ckeditor5/src/ui.js';import _0x5a75cb,{AIFormToolbarViewMainActionLabel as _0x56da28}from'./aiformtoolbarview.js';import _0xca33bf from'./aiformcontentarea.js';import _0x30ee44 from'./aiformerrorview.js';import _0x53ae46 from'./aiformpromptview.js';function _0x33c6(){const _0x220130=['delegate','replaceButton','3256JFmDhd','isProcessing','shift\x20+\x20tab','errorView','trim','1635168QUCJRZ','Ask\x20AI\x20to\x20improve\x20generated\x20text','bindTemplate','render','_createHistoryView','createCollection','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','setTemplate','_createToolbar','28437Sdczwb','div','24174rFqnSC','element','locale','isEnabled','fire','Empty\x20history','_focusables','ck-hidden','execute','reset','submit','isError','36qjRETe','add','insertContentBelow','10320926JDIKLf','listenTo','_createPromptView','66785YDhvnt','keystrokes','4610QoAkpi','clear','bindTo','prompt','toolbar','copyButtonView','Ask\x20AI\x20to\x20edit\x20or\x20generate','bind','focusFirst','1597828WQEQxu','ck-ai-form','focusLast','startProcessing','mainAction','contentArea','label','tryAgainButton','focusCycler','AI_ERROR_FAILED','focusTracker','tryAgainEvent','REPLACE','_promptHistory','finishProcessing','ck-ai-form-content','clearHistory','insertButton','set','replaceContent','high','promptView','focus','chain','stopProcessing','queryView','111804cENSSr','items','stopButton','text','fieldView','search','30olgeNR','submitPrompt','value','historyGroupView','handleError','isVisible','tab'];_0x33c6=function(){return _0x220130;};return _0x33c6();}import _0x5c212c from'./aihistorylistview.js';import _0x35a2f0 from'./aihistorylistitemview.js';import _0x37fb19 from'./prompthistory.js';import{getTranslation as _0xa38b2}from'../../utils/common-translations.js';import{escape as _0x30ae77}from'lodash-es';export default class K extends _0x5984e1{constructor(_0x3f5a2b,_0x566904,_0x1ae2d1=''){const _0x414378=_0x80aa;super(_0x3f5a2b),this[_0x414378(0x1ad)](_0x414378(0x1d7),!0x0),this[_0x414378(0x1ad)](_0x414378(0x1c5),!0x1),this[_0x414378(0x1ad)](_0x414378(0x195),''),this[_0x414378(0x1ad)](_0x414378(0x1bd),''),this[_0x414378(0x1ad)](_0x414378(0x189),!0x1),this[_0x414378(0x1ad)](_0x414378(0x19f),_0x56da28[_0x414378(0x1a7)]),this[_0x414378(0x1a8)]=new _0x37fb19(),this[_0x414378(0x1c7)]=new _0x30ee44(_0x3f5a2b),this[_0x414378(0x1a0)]=new _0xca33bf(_0x3f5a2b,_0x1ae2d1),this[_0x414378(0x1a0)][_0x414378(0x199)](_0x414378(0x1c5))['to'](this),this[_0x414378(0x1a0)][_0x414378(0x199)](_0x414378(0x1bd))['to'](this),this[_0x414378(0x196)]=this[_0x414378(0x1d1)](),this[_0x414378(0x196)][_0x414378(0x199)](_0x414378(0x19f))['to'](this),this[_0x414378(0x1b0)]=this[_0x414378(0x18f)](),this[_0x414378(0x1a5)]=new _0x3a2891(),this[_0x414378(0x191)]=new _0xadb5e(),this[_0x414378(0x1da)]=this[_0x414378(0x1ce)]([this[_0x414378(0x1a0)],this[_0x414378(0x1a0)][_0x414378(0x197)],this[_0x414378(0x196)],this[_0x414378(0x1b0)]]),this[_0x414378(0x1a3)]=new _0x27627b({'focusables':this[_0x414378(0x1da)],'focusTracker':this[_0x414378(0x1a5)],'keystrokeHandler':this[_0x414378(0x191)],'actions':{'focusPrevious':_0x414378(0x1c6),'focusNext':_0x414378(0x1c1)}}),this[_0x414378(0x1a3)][_0x414378(0x1b2)](this[_0x414378(0x1b0)][_0x414378(0x1a3)]),this[_0x414378(0x1b0)][_0x414378(0x1b4)][_0x414378(0x1b9)][_0x414378(0x199)](_0x414378(0x1bd))['to'](this,_0x414378(0x195));const _0x2edffd=this[_0x414378(0x1cb)];this[_0x414378(0x1d0)]({'tag':_0x414378(0x1d3),'attributes':{'class':['ck',_0x414378(0x19c),_0x566904],'tabindex':'-1'},'children':[{'tag':_0x414378(0x1d3),'attributes':{'class':['ck',_0x414378(0x1aa)]},'children':[{'tag':_0x414378(0x1d3),'attributes':{'class':[_0x2edffd['if'](_0x414378(0x189),_0x414378(0x1db),_0x38e867=>!_0x38e867)]},'children':[this[_0x414378(0x1c7)]]},this[_0x414378(0x1a0)],this[_0x414378(0x196)],this[_0x414378(0x1b0)]]}]});}[_0x2a8f89(0x1cc)](){const _0x15f513=_0x2a8f89;super[_0x15f513(0x1cc)](),this[_0x15f513(0x1a5)][_0x15f513(0x18b)](this[_0x15f513(0x1a0)][_0x15f513(0x1d5)]),this[_0x15f513(0x1a5)][_0x15f513(0x18b)](this[_0x15f513(0x1a0)][_0x15f513(0x197)][_0x15f513(0x1d5)]),this[_0x15f513(0x1a5)][_0x15f513(0x18b)](this[_0x15f513(0x196)][_0x15f513(0x1d5)]),this[_0x15f513(0x1a5)][_0x15f513(0x18b)](this[_0x15f513(0x1b0)][_0x15f513(0x1d5)]),this[_0x15f513(0x191)][_0x15f513(0x18e)](this[_0x15f513(0x1d5)]);}[_0x2a8f89(0x1b1)](_0x37ee5d=0x1){const _0x3104db=_0x2a8f89;-0x1===_0x37ee5d?this[_0x3104db(0x1a3)][_0x3104db(0x19d)]():this[_0x3104db(0x1a3)][_0x3104db(0x19a)]();}[_0x2a8f89(0x1dd)](){const _0x274c2d=_0x2a8f89;this[_0x274c2d(0x195)]='',this[_0x274c2d(0x1bd)]='',this[_0x274c2d(0x189)]=!0x1,this[_0x274c2d(0x1b0)][_0x274c2d(0x1dd)](),this[_0x274c2d(0x1a0)][_0x274c2d(0x1c0)]=!0x1,this[_0x274c2d(0x196)][_0x274c2d(0x1c0)]=!0x1;}[_0x2a8f89(0x18f)](){const _0x3df808=_0x2a8f89,_0x393443=this[_0x3df808(0x1d6)],_0x47d5ea=new _0x53ae46(_0x393443,{'queryView':{'label':_0xa38b2(_0x393443,_0x3df808(0x198)),'creator':_0x1cce32,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0xa38b2(_0x393443,_0x3df808(0x1d9)),'secondary':_0xa38b2(_0x393443,_0x3df808(0x1cf))}}},'filteredView':this[_0x3df808(0x1cd)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x47d5ea[_0x3df808(0x199)](_0x3df808(0x1d7))['to'](this,_0x3df808(0x1d7),this,_0x3df808(0x1c5),(_0x42ad68,_0x1ea56a)=>_0x42ad68&&!_0x1ea56a),this[_0x3df808(0x18e)](_0x47d5ea,_0x3df808(0x1de),(_0x441153,_0x2a4ee9)=>{const _0x3b7cde=_0x3df808;this[_0x3b7cde(0x195)]=_0x2a4ee9;const _0x5bca0d=_0x30ae77(_0x2a4ee9);this[_0x3b7cde(0x1d8)](_0x3b7cde(0x1bc),_0x5bca0d),_0x2a4ee9[_0x3b7cde(0x1c8)]()&&this[_0x3b7cde(0x1a8)][_0x3b7cde(0x18b)]({'prompt':_0x5bca0d},0x0);},{'priority':_0x3df808(0x1af)}),_0x47d5ea;}[_0x2a8f89(0x1cd)](){const _0x1ad987=_0x2a8f89,_0x4171c4=new _0x5c212c(this[_0x1ad987(0x1d6)]);return _0x4171c4[_0x1ad987(0x1be)][_0x1ad987(0x1b6)][_0x1ad987(0x194)](this[_0x1ad987(0x1a8)])['as'](_0x35a2f0),_0x4171c4['on'](_0x1ad987(0x1ab),()=>{const _0x654f20=_0x1ad987;this[_0x654f20(0x1a8)][_0x654f20(0x193)](),this[_0x654f20(0x1b0)][_0x654f20(0x1ba)](''),this[_0x654f20(0x1b0)][_0x654f20(0x1b1)]();}),_0x4171c4;}[_0x2a8f89(0x1d1)](){const _0x5bc4f4=_0x2a8f89,_0x3ea7c1=new _0x5a75cb(this[_0x5bc4f4(0x1d6)]);return _0x3ea7c1[_0x5bc4f4(0x1c3)][_0x5bc4f4(0x199)](_0x5bc4f4(0x1d7))['to'](this,_0x5bc4f4(0x1d7),this,_0x5bc4f4(0x1c5),this,_0x5bc4f4(0x1bd),(_0x2ca04f,_0x513533,_0x48a2ec)=>_0x2ca04f&&!_0x513533&&!!_0x48a2ec),_0x3ea7c1[_0x5bc4f4(0x1c3)][_0x5bc4f4(0x1c2)](_0x5bc4f4(0x1dc))['to'](this,_0x5bc4f4(0x1ae)),_0x3ea7c1[_0x5bc4f4(0x1ac)][_0x5bc4f4(0x199)](_0x5bc4f4(0x1d7))['to'](this,_0x5bc4f4(0x1d7),this,_0x5bc4f4(0x1c5),this,_0x5bc4f4(0x1bd),(_0x3f3ccf,_0x563a04,_0x565233)=>_0x3f3ccf&&!_0x563a04&&!!_0x565233),_0x3ea7c1[_0x5bc4f4(0x1ac)][_0x5bc4f4(0x1c2)](_0x5bc4f4(0x1dc))['to'](this,_0x5bc4f4(0x18c)),_0x3ea7c1[_0x5bc4f4(0x1a2)][_0x5bc4f4(0x199)](_0x5bc4f4(0x1d7))['to'](this,_0x5bc4f4(0x1d7),this,_0x5bc4f4(0x1c5),(_0x49691d,_0x4967ea)=>_0x49691d&&!_0x4967ea),_0x3ea7c1[_0x5bc4f4(0x1a2)][_0x5bc4f4(0x1c2)](_0x5bc4f4(0x1dc))['to'](this,_0x5bc4f4(0x1a6)),_0x3ea7c1[_0x5bc4f4(0x1b7)][_0x5bc4f4(0x199)](_0x5bc4f4(0x1d7))['to'](this,_0x5bc4f4(0x1c5)),_0x3ea7c1[_0x5bc4f4(0x1b7)][_0x5bc4f4(0x1c2)](_0x5bc4f4(0x1dc))['to'](this,_0x5bc4f4(0x1b3)),_0x3ea7c1;}[_0x2a8f89(0x19e)](){const _0x548c74=_0x2a8f89;this[_0x548c74(0x1bd)]='',this[_0x548c74(0x189)]=!0x1,this[_0x548c74(0x1c5)]=!0x0,this[_0x548c74(0x1a0)][_0x548c74(0x1c0)]=!0x0,this[_0x548c74(0x196)][_0x548c74(0x1c0)]=!0x0,this[_0x548c74(0x1a0)][_0x548c74(0x1b1)]();}[_0x2a8f89(0x1a9)](){const _0x428f39=_0x2a8f89,_0x401ea3=this[_0x428f39(0x1d6)];this[_0x428f39(0x1c5)]=!0x1,this[_0x428f39(0x195)]='',this[_0x428f39(0x1b0)][_0x428f39(0x1dd)](),this[_0x428f39(0x1bd)]&&(this[_0x428f39(0x1b0)][_0x428f39(0x1b4)][_0x428f39(0x1a1)]=_0xa38b2(_0x401ea3,_0x428f39(0x1ca)));}[_0x2a8f89(0x1bf)](_0x3420dd){const _0x5a5f48=_0x2a8f89,_0x479c44=this[_0x5a5f48(0x1d6)];this[_0x5a5f48(0x1a9)](),this[_0x5a5f48(0x189)]=!0x0,this[_0x5a5f48(0x1c7)][_0x5a5f48(0x1b8)]=_0x3420dd||_0xa38b2(_0x479c44,_0x5a5f48(0x1a4)),this[_0x5a5f48(0x1bd)]||(this[_0x5a5f48(0x1a0)][_0x5a5f48(0x1c0)]=!0x1);}}
23
+ const _0x19d7a8=_0x3aee;(function(_0x4d0297,_0x4bf2fb){const _0x45b9f0=_0x3aee,_0x435094=_0x4d0297();while(!![]){try{const _0x29d240=-parseInt(_0x45b9f0(0xf7))/0x1*(parseInt(_0x45b9f0(0xde))/0x2)+parseInt(_0x45b9f0(0x100))/0x3*(-parseInt(_0x45b9f0(0xf8))/0x4)+-parseInt(_0x45b9f0(0xc2))/0x5*(-parseInt(_0x45b9f0(0xec))/0x6)+-parseInt(_0x45b9f0(0xd4))/0x7+parseInt(_0x45b9f0(0xbe))/0x8+-parseInt(_0x45b9f0(0xe0))/0x9+parseInt(_0x45b9f0(0xc3))/0xa*(parseInt(_0x45b9f0(0xc9))/0xb);if(_0x29d240===_0x4bf2fb)break;else _0x435094['push'](_0x435094['shift']());}catch(_0x24cc27){_0x435094['push'](_0x435094['shift']());}}}(_0x5833,0x99ceb));import{FocusTracker as _0x5d1c7b,KeystrokeHandler as _0x36c7cf}from'ckeditor5/src/utils.js';import{View as _0x3f3bb5,FocusCycler as _0x439d6b,createLabeledTextarea as _0x104aeb}from'ckeditor5/src/ui.js';import _0x7e72c3,{AIFormToolbarViewMainActionLabel as _0x159c03}from'./aiformtoolbarview.js';import _0x234b4e from'./aiformcontentarea.js';import _0x418d92 from'./aiformerrorview.js';function _0x3aee(_0x12efa9,_0x277349){const _0x58330a=_0x5833();return _0x3aee=function(_0x3aeebf,_0x4c629e){_0x3aeebf=_0x3aeebf-0xb5;let _0x14d007=_0x58330a[_0x3aeebf];return _0x14d007;},_0x3aee(_0x12efa9,_0x277349);}import _0x1c28b8 from'./aiformpromptview.js';import _0xede455 from'./aihistorylistview.js';function _0x5833(){const _0x54e29a=['9405495nugsVn','toolbar','bind','_promptHistory','fire','focusFirst','fieldView','queryView','search','ck-ai-form','tryAgainButton','element','3666lYkzhn','createCollection','Ask\x20AI\x20to\x20edit\x20or\x20generate','replaceButton','_createToolbar','contentArea','set','render','ck-hidden','copyButtonView','historyGroupView','1RzqYzU','212cORWuE','errorView','_createPromptView','items','prompt','shift\x20+\x20tab','execute','Ask\x20AI\x20to\x20improve\x20generated\x20text','6423RGfMcA','focusLast','tryAgainEvent','stopButton','isProcessing','Empty\x20history','bindTo','startProcessing','_createHistoryView','insertContentBelow','replaceContent','submitPrompt','isVisible','bindTemplate','isError','delegate','focus','finishProcessing','reset','keystrokes','4410704RqxaJx','label','handleError','clearHistory','2275ssgfLj','6649950eEIVYM','locale','ck-ai-form-content','trim','mainAction','focusTracker','33xKDKRv','value','isEnabled','chain','promptView','insertButton','setTemplate','tab','_focusables','clear','REPLACE','2089164JRksuB','high','stopProcessing','focusCycler','submit','add','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','div','listenTo','AI_ERROR_FAILED','1474706wKgnGh','text'];_0x5833=function(){return _0x54e29a;};return _0x5833();}import _0x32b641 from'./aihistorylistitemview.js';import _0x395568 from'./prompthistory.js';import{getTranslation as _0x42846f}from'../../utils/common-translations.js';import{escape as _0x3c0e3a}from'lodash-es';export default class K extends _0x3f3bb5{constructor(_0x23ff81,_0x6160db,_0x1639cd=''){const _0x425b1c=_0x3aee;super(_0x23ff81),this[_0x425b1c(0xf2)](_0x425b1c(0xcb),!0x0),this[_0x425b1c(0xf2)](_0x425b1c(0x104),!0x1),this[_0x425b1c(0xf2)](_0x425b1c(0xfc),''),this[_0x425b1c(0xf2)](_0x425b1c(0xca),''),this[_0x425b1c(0xf2)](_0x425b1c(0xb8),!0x1),this[_0x425b1c(0xf2)](_0x425b1c(0xc7),_0x159c03[_0x425b1c(0xd3)]),this[_0x425b1c(0xe3)]=new _0x395568(),this[_0x425b1c(0xf9)]=new _0x418d92(_0x23ff81),this[_0x425b1c(0xf1)]=new _0x234b4e(_0x23ff81,_0x1639cd),this[_0x425b1c(0xf1)][_0x425b1c(0xe2)](_0x425b1c(0x104))['to'](this),this[_0x425b1c(0xf1)][_0x425b1c(0xe2)](_0x425b1c(0xca))['to'](this),this[_0x425b1c(0xe1)]=this[_0x425b1c(0xf0)](),this[_0x425b1c(0xe1)][_0x425b1c(0xe2)](_0x425b1c(0xc7))['to'](this),this[_0x425b1c(0xcd)]=this[_0x425b1c(0xfa)](),this[_0x425b1c(0xc8)]=new _0x5d1c7b(),this[_0x425b1c(0xbd)]=new _0x36c7cf(),this[_0x425b1c(0xd1)]=this[_0x425b1c(0xed)]([this[_0x425b1c(0xf1)],this[_0x425b1c(0xf1)][_0x425b1c(0xf5)],this[_0x425b1c(0xe1)],this[_0x425b1c(0xcd)]]),this[_0x425b1c(0xd7)]=new _0x439d6b({'focusables':this[_0x425b1c(0xd1)],'focusTracker':this[_0x425b1c(0xc8)],'keystrokeHandler':this[_0x425b1c(0xbd)],'actions':{'focusPrevious':_0x425b1c(0xfd),'focusNext':_0x425b1c(0xd0)}}),this[_0x425b1c(0xd7)][_0x425b1c(0xcc)](this[_0x425b1c(0xcd)][_0x425b1c(0xd7)]),this[_0x425b1c(0xcd)][_0x425b1c(0xe7)][_0x425b1c(0xe6)][_0x425b1c(0xe2)](_0x425b1c(0xca))['to'](this,_0x425b1c(0xfc));const _0x4d155b=this[_0x425b1c(0xb7)];this[_0x425b1c(0xcf)]({'tag':_0x425b1c(0xdb),'attributes':{'class':['ck',_0x425b1c(0xe9),_0x6160db],'tabindex':'-1'},'children':[{'tag':_0x425b1c(0xdb),'attributes':{'class':['ck',_0x425b1c(0xc5)]},'children':[{'tag':_0x425b1c(0xdb),'attributes':{'class':[_0x4d155b['if'](_0x425b1c(0xb8),_0x425b1c(0xf4),_0x34a0c6=>!_0x34a0c6)]},'children':[this[_0x425b1c(0xf9)]]},this[_0x425b1c(0xf1)],this[_0x425b1c(0xe1)],this[_0x425b1c(0xcd)]]}]});}[_0x19d7a8(0xf3)](){const _0x13c21f=_0x19d7a8;super[_0x13c21f(0xf3)](),this[_0x13c21f(0xc8)][_0x13c21f(0xd9)](this[_0x13c21f(0xf1)][_0x13c21f(0xeb)]),this[_0x13c21f(0xc8)][_0x13c21f(0xd9)](this[_0x13c21f(0xf1)][_0x13c21f(0xf5)][_0x13c21f(0xeb)]),this[_0x13c21f(0xc8)][_0x13c21f(0xd9)](this[_0x13c21f(0xe1)][_0x13c21f(0xeb)]),this[_0x13c21f(0xc8)][_0x13c21f(0xd9)](this[_0x13c21f(0xcd)][_0x13c21f(0xeb)]),this[_0x13c21f(0xbd)][_0x13c21f(0xdc)](this[_0x13c21f(0xeb)]);}[_0x19d7a8(0xba)](_0x28bcb5=0x1){const _0x53d399=_0x19d7a8;-0x1===_0x28bcb5?this[_0x53d399(0xd7)][_0x53d399(0x101)]():this[_0x53d399(0xd7)][_0x53d399(0xe5)]();}[_0x19d7a8(0xbc)](){const _0x337004=_0x19d7a8;this[_0x337004(0xfc)]='',this[_0x337004(0xca)]='',this[_0x337004(0xb8)]=!0x1,this[_0x337004(0xcd)][_0x337004(0xbc)](),this[_0x337004(0xf1)][_0x337004(0xb6)]=!0x1,this[_0x337004(0xe1)][_0x337004(0xb6)]=!0x1;}[_0x19d7a8(0xfa)](){const _0x5c50c0=_0x19d7a8,_0x358458=this[_0x5c50c0(0xc4)],_0x525e2f=new _0x1c28b8(_0x358458,{'queryView':{'label':_0x42846f(_0x358458,_0x5c50c0(0xee)),'creator':_0x104aeb,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x42846f(_0x358458,_0x5c50c0(0x105)),'secondary':_0x42846f(_0x358458,_0x5c50c0(0xda))}}},'filteredView':this[_0x5c50c0(0x108)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x525e2f[_0x5c50c0(0xe2)](_0x5c50c0(0xcb))['to'](this,_0x5c50c0(0xcb),this,_0x5c50c0(0x104),(_0x4861b0,_0x46c504)=>_0x4861b0&&!_0x46c504),this[_0x5c50c0(0xdc)](_0x525e2f,_0x5c50c0(0xd8),(_0x3f3e16,_0x386ac1)=>{const _0x34e617=_0x5c50c0;this[_0x34e617(0xfc)]=_0x386ac1;const _0x28c2aa=_0x3c0e3a(_0x386ac1);this[_0x34e617(0xe4)](_0x34e617(0xb5),_0x28c2aa),_0x386ac1[_0x34e617(0xc6)]()&&this[_0x34e617(0xe3)][_0x34e617(0xd9)]({'prompt':_0x28c2aa},0x0);},{'priority':_0x5c50c0(0xd5)}),_0x525e2f;}[_0x19d7a8(0x108)](){const _0xbcd3b5=_0x19d7a8,_0x1dac5d=new _0xede455(this[_0xbcd3b5(0xc4)]);return _0x1dac5d[_0xbcd3b5(0xf6)][_0xbcd3b5(0xfb)][_0xbcd3b5(0x106)](this[_0xbcd3b5(0xe3)])['as'](_0x32b641),_0x1dac5d['on'](_0xbcd3b5(0xc1),()=>{const _0x33b5b1=_0xbcd3b5;this[_0x33b5b1(0xe3)][_0x33b5b1(0xd2)](),this[_0x33b5b1(0xcd)][_0x33b5b1(0xe8)](''),this[_0x33b5b1(0xcd)][_0x33b5b1(0xba)]();}),_0x1dac5d;}[_0x19d7a8(0xf0)](){const _0x217b96=_0x19d7a8,_0x138c56=new _0x7e72c3(this[_0x217b96(0xc4)]);return _0x138c56[_0x217b96(0xef)][_0x217b96(0xe2)](_0x217b96(0xcb))['to'](this,_0x217b96(0xcb),this,_0x217b96(0x104),this,_0x217b96(0xca),(_0x5240de,_0x1dc570,_0x32783d)=>_0x5240de&&!_0x1dc570&&!!_0x32783d),_0x138c56[_0x217b96(0xef)][_0x217b96(0xb9)](_0x217b96(0xfe))['to'](this,_0x217b96(0x10a)),_0x138c56[_0x217b96(0xce)][_0x217b96(0xe2)](_0x217b96(0xcb))['to'](this,_0x217b96(0xcb),this,_0x217b96(0x104),this,_0x217b96(0xca),(_0x53fbf1,_0x536987,_0x4f68e4)=>_0x53fbf1&&!_0x536987&&!!_0x4f68e4),_0x138c56[_0x217b96(0xce)][_0x217b96(0xb9)](_0x217b96(0xfe))['to'](this,_0x217b96(0x109)),_0x138c56[_0x217b96(0xea)][_0x217b96(0xe2)](_0x217b96(0xcb))['to'](this,_0x217b96(0xcb),this,_0x217b96(0x104),(_0xdfc48e,_0x3bd01c)=>_0xdfc48e&&!_0x3bd01c),_0x138c56[_0x217b96(0xea)][_0x217b96(0xb9)](_0x217b96(0xfe))['to'](this,_0x217b96(0x102)),_0x138c56[_0x217b96(0x103)][_0x217b96(0xe2)](_0x217b96(0xcb))['to'](this,_0x217b96(0x104)),_0x138c56[_0x217b96(0x103)][_0x217b96(0xb9)](_0x217b96(0xfe))['to'](this,_0x217b96(0xd6)),_0x138c56;}[_0x19d7a8(0x107)](){const _0x43bc82=_0x19d7a8;this[_0x43bc82(0xca)]='',this[_0x43bc82(0xb8)]=!0x1,this[_0x43bc82(0x104)]=!0x0,this[_0x43bc82(0xf1)][_0x43bc82(0xb6)]=!0x0,this[_0x43bc82(0xe1)][_0x43bc82(0xb6)]=!0x0,this[_0x43bc82(0xf1)][_0x43bc82(0xba)]();}[_0x19d7a8(0xbb)](){const _0x40180e=_0x19d7a8,_0x53d8ef=this[_0x40180e(0xc4)];this[_0x40180e(0x104)]=!0x1,this[_0x40180e(0xfc)]='',this[_0x40180e(0xcd)][_0x40180e(0xbc)](),this[_0x40180e(0xca)]&&(this[_0x40180e(0xcd)][_0x40180e(0xe7)][_0x40180e(0xbf)]=_0x42846f(_0x53d8ef,_0x40180e(0xff)));}[_0x19d7a8(0xc0)](_0x529fa8){const _0xa575a8=_0x19d7a8,_0x17fbce=this[_0xa575a8(0xc4)];this[_0xa575a8(0xbb)](),this[_0xa575a8(0xb8)]=!0x0,this[_0xa575a8(0xf9)][_0xa575a8(0xdf)]=_0x529fa8||_0x42846f(_0x17fbce,_0xa575a8(0xdd)),this[_0xa575a8(0xca)]||(this[_0xa575a8(0xf1)][_0xa575a8(0xb6)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x50583d,_0x5e2e7c){const _0x1192b9=_0x52c3,_0x112fc1=_0x50583d();while(!![]){try{const _0x2e65cf=-parseInt(_0x1192b9(0x141))/0x1+parseInt(_0x1192b9(0x13f))/0x2+-parseInt(_0x1192b9(0x13e))/0x3*(parseInt(_0x1192b9(0x13d))/0x4)+-parseInt(_0x1192b9(0x147))/0x5*(parseInt(_0x1192b9(0x139))/0x6)+parseInt(_0x1192b9(0x140))/0x7*(parseInt(_0x1192b9(0x138))/0x8)+-parseInt(_0x1192b9(0x137))/0x9*(parseInt(_0x1192b9(0x136))/0xa)+parseInt(_0x1192b9(0x145))/0xb;if(_0x2e65cf===_0x5e2e7c)break;else _0x112fc1['push'](_0x112fc1['shift']());}catch(_0xf8effe){_0x112fc1['push'](_0x112fc1['shift']());}}}(_0x23a3,0x707a0));import{ListItemView as _0xb143e4,ButtonView as _0x27654e,ButtonLabelView as _0x7285ea}from'ckeditor5/src/ui.js';import{unescape as _0x440982}from'lodash-es';function _0x23a3(){const _0x61e5a1=['150324ghWLeY','set','prompt','fire','1545724rvHtky','3JtDwjb','1165008zSlZya','7qxiGaU','463775HdxsSw','add','children','locale','8485917rSTyev','execute','15SfwAXr','160rQRQHt','371367VANdbf','5538632eMRCIl'];_0x23a3=function(){return _0x61e5a1;};return _0x23a3();}function _0x52c3(_0x826358,_0x595427){const _0x23a32f=_0x23a3();return _0x52c3=function(_0x52c333,_0xa70f2){_0x52c333=_0x52c333-0x136;let _0x5b9589=_0x23a32f[_0x52c333];return _0x5b9589;},_0x52c3(_0x826358,_0x595427);}export default class hs extends _0xb143e4{constructor(_0x12841b){const _0x269b14=_0x52c3;super();const _0x575f87=new _0x7285ea(),_0x412259=new _0x27654e(this[_0x269b14(0x144)],_0x575f87);this[_0x269b14(0x143)][_0x269b14(0x142)](_0x412259),_0x412259[_0x269b14(0x13a)]({'label':_0x12841b[_0x269b14(0x13b)],'withText':!0x0}),_0x412259['on'](_0x269b14(0x146),()=>{const _0x206463=_0x269b14;this[_0x206463(0x13c)](_0x206463(0x146),{'value':_0x440982(_0x12841b[_0x206463(0x13b)])});});}}
23
+ (function(_0x125aa5,_0x2ec65e){const _0x216e1c=_0x2bec,_0x15c5c7=_0x125aa5();while(!![]){try{const _0x20bc01=-parseInt(_0x216e1c(0x114))/0x1*(-parseInt(_0x216e1c(0x10d))/0x2)+-parseInt(_0x216e1c(0x10e))/0x3*(parseInt(_0x216e1c(0x112))/0x4)+-parseInt(_0x216e1c(0x10f))/0x5+parseInt(_0x216e1c(0x108))/0x6+parseInt(_0x216e1c(0x106))/0x7+-parseInt(_0x216e1c(0x105))/0x8+parseInt(_0x216e1c(0x10c))/0x9*(-parseInt(_0x216e1c(0x10b))/0xa);if(_0x20bc01===_0x2ec65e)break;else _0x15c5c7['push'](_0x15c5c7['shift']());}catch(_0x1da23b){_0x15c5c7['push'](_0x15c5c7['shift']());}}}(_0x1ee3,0xdcd26));function _0x1ee3(){const _0x51eecf=['28LwaXRH','set','1PpHOFL','fire','905312aABRdp','6455323EsJTSg','prompt','10286154jLHcNX','execute','locale','11680gwZBBn','20997obZmfB','3340418AsMyRF','218532qfyprF','271275UYKXYK','add','children'];_0x1ee3=function(){return _0x51eecf;};return _0x1ee3();}import{ListItemView as _0x49b62a,ButtonView as _0x2583af,ButtonLabelView as _0x279ea3}from'ckeditor5/src/ui.js';function _0x2bec(_0x155204,_0x2f0174){const _0x1ee35d=_0x1ee3();return _0x2bec=function(_0x2becdb,_0x486265){_0x2becdb=_0x2becdb-0x104;let _0x5363fa=_0x1ee35d[_0x2becdb];return _0x5363fa;},_0x2bec(_0x155204,_0x2f0174);}import{unescape as _0x4f69b2}from'lodash-es';export default class hs extends _0x49b62a{constructor(_0x4ae6ef){const _0x5700bb=_0x2bec;super();const _0x13cf4e=new _0x279ea3(),_0x172150=new _0x2583af(this[_0x5700bb(0x10a)],_0x13cf4e);this[_0x5700bb(0x111)][_0x5700bb(0x110)](_0x172150),_0x172150[_0x5700bb(0x113)]({'label':_0x4ae6ef[_0x5700bb(0x107)],'withText':!0x0}),_0x172150['on'](_0x5700bb(0x109),()=>{const _0x41c316=_0x5700bb;this[_0x41c316(0x104)](_0x41c316(0x109),{'value':_0x4f69b2(_0x4ae6ef[_0x41c316(0x107)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x21a7(_0x1ad4a3,_0x5a22fd){const _0x56a54f=_0x56a5();return _0x21a7=function(_0x21a7fd,_0x43e331){_0x21a7fd=_0x21a7fd-0xd1;let _0x4ec797=_0x56a54f[_0x21a7fd];return _0x4ec797;},_0x21a7(_0x1ad4a3,_0x5a22fd);}function _0x56a5(){const _0x26b679=['5zKAeHX','21544SwYvSt','clearHistoryButton','add','historyGroupView','Prompt\x20history','label','Clear','1239lcNnYF','filter','549IMTOXp','12708GPQifP','_createClearHistoryButton','2xcgXFs','2541030yzelVX','54vrLelX','locale','clearHistory','items','fire','9875690ucHqKU','87924Jictbb','1580538EADFmE','3523MqzeBn','set','delegate','length','execute','children','1808882DCcZtj'];_0x56a5=function(){return _0x26b679;};return _0x56a5();}const _0x502b74=_0x21a7;(function(_0x1f521a,_0x279196){const _0xd0ec22=_0x21a7,_0x53e921=_0x1f521a();while(!![]){try{const _0x4b2f64=-parseInt(_0xd0ec22(0xd4))/0x1*(-parseInt(_0xd0ec22(0xe2))/0x2)+-parseInt(_0xd0ec22(0xdf))/0x3*(parseInt(_0xd0ec22(0xe0))/0x4)+parseInt(_0xd0ec22(0xd5))/0x5*(-parseInt(_0xd0ec22(0xeb))/0x6)+-parseInt(_0xd0ec22(0xdd))/0x7*(parseInt(_0xd0ec22(0xd6))/0x8)+parseInt(_0xd0ec22(0xe4))/0x9*(parseInt(_0xd0ec22(0xe3))/0xa)+parseInt(_0xd0ec22(0xe9))/0xb+parseInt(_0xd0ec22(0xea))/0xc*(-parseInt(_0xd0ec22(0xec))/0xd);if(_0x4b2f64===_0x279196)break;else _0x53e921['push'](_0x53e921['shift']());}catch(_0x42154b){_0x53e921['push'](_0x53e921['shift']());}}}(_0x56a5,0xe1a26));import{ListView as _0x428171,ListItemGroupView as _0x515dcc,ButtonView as _0x108a5f}from'ckeditor5/src/ui.js';import{getTranslation as _0x26fc77}from'../../utils/common-translations.js';export default class rs extends _0x428171{constructor(_0x3ce480){const _0x53ef01=_0x21a7;super(_0x3ce480),this[_0x53ef01(0xd7)]=this[_0x53ef01(0xe1)](),this[_0x53ef01(0xd9)]=new _0x515dcc(),this[_0x53ef01(0xd9)][_0x53ef01(0xd3)][_0x53ef01(0xd8)](this[_0x53ef01(0xd7)],0x1),this[_0x53ef01(0xd9)][_0x53ef01(0xdb)]=_0x26fc77(_0x3ce480,_0x53ef01(0xda)),this[_0x53ef01(0xd9)][_0x53ef01(0xe7)][_0x53ef01(0xee)](_0x53ef01(0xd2))['to'](this),this[_0x53ef01(0xe7)][_0x53ef01(0xd8)](this[_0x53ef01(0xd9)]);}[_0x502b74(0xde)](){const _0x1c95d0=_0x502b74;let _0x18bb14=0x0;for(const _0x547da9 of this[_0x1c95d0(0xe7)])_0x18bb14+=_0x547da9[_0x1c95d0(0xe7)][_0x1c95d0(0xd1)];return{'resultsCount':_0x18bb14,'totalItemsCount':_0x18bb14};}[_0x502b74(0xe1)](){const _0x103d98=_0x502b74,_0x4a52d7=this[_0x103d98(0xe5)],_0x36e703=new _0x108a5f(this[_0x103d98(0xe5)]);return _0x36e703[_0x103d98(0xed)]({'label':'('+_0x26fc77(_0x4a52d7,_0x103d98(0xdc))+')','withText':!0x0}),_0x36e703['on'](_0x103d98(0xd2),()=>this[_0x103d98(0xe8)](_0x103d98(0xe6))),_0x36e703;}}
23
+ function _0x59e8(_0x4c8565,_0x39035b){const _0x2b6725=_0x2b67();return _0x59e8=function(_0x59e89e,_0x11b787){_0x59e89e=_0x59e89e-0x17d;let _0x329742=_0x2b6725[_0x59e89e];return _0x329742;},_0x59e8(_0x4c8565,_0x39035b);}const _0x1e97b2=_0x59e8;(function(_0x1910c3,_0x3f14cf){const _0x553876=_0x59e8,_0x19c589=_0x1910c3();while(!![]){try{const _0x464e52=-parseInt(_0x553876(0x192))/0x1+-parseInt(_0x553876(0x195))/0x2+-parseInt(_0x553876(0x180))/0x3*(parseInt(_0x553876(0x18d))/0x4)+-parseInt(_0x553876(0x18e))/0x5+-parseInt(_0x553876(0x181))/0x6*(parseInt(_0x553876(0x17f))/0x7)+-parseInt(_0x553876(0x182))/0x8*(-parseInt(_0x553876(0x190))/0x9)+parseInt(_0x553876(0x187))/0xa*(parseInt(_0x553876(0x183))/0xb);if(_0x464e52===_0x3f14cf)break;else _0x19c589['push'](_0x19c589['shift']());}catch(_0x257cbf){_0x19c589['push'](_0x19c589['shift']());}}}(_0x2b67,0x48cc5));import{ListView as _0x460e47,ListItemGroupView as _0x38b1e5,ButtonView as _0x1e45fc}from'ckeditor5/src/ui.js';function _0x2b67(){const _0x1aeb1d=['140MIZXux','138OkaDLF','71088QEvvex','1616oAArzO','14047sOqLLx','delegate','Clear','items','9390QwrgpR','children','length','Prompt\x20history','filter','historyGroupView','37288vKPlmG','2023725jtGZWP','clearHistoryButton','25560FiOzhV','_createClearHistoryButton','241767fgTVgX','add','locale','324636WFjgCU','set','clearHistory','label','fire','execute'];_0x2b67=function(){return _0x1aeb1d;};return _0x2b67();}import{getTranslation as _0x3ed1f2}from'../../utils/common-translations.js';export default class rs extends _0x460e47{constructor(_0x17d94e){const _0x49553d=_0x59e8;super(_0x17d94e),this[_0x49553d(0x18f)]=this[_0x49553d(0x191)](),this[_0x49553d(0x18c)]=new _0x38b1e5(),this[_0x49553d(0x18c)][_0x49553d(0x188)][_0x49553d(0x193)](this[_0x49553d(0x18f)],0x1),this[_0x49553d(0x18c)][_0x49553d(0x198)]=_0x3ed1f2(_0x17d94e,_0x49553d(0x18a)),this[_0x49553d(0x18c)][_0x49553d(0x186)][_0x49553d(0x184)](_0x49553d(0x17e))['to'](this),this[_0x49553d(0x186)][_0x49553d(0x193)](this[_0x49553d(0x18c)]);}[_0x1e97b2(0x18b)](){const _0x3994d6=_0x1e97b2;let _0x587f66=0x0;for(const _0x19ec83 of this[_0x3994d6(0x186)])_0x587f66+=_0x19ec83[_0x3994d6(0x186)][_0x3994d6(0x189)];return{'resultsCount':_0x587f66,'totalItemsCount':_0x587f66};}[_0x1e97b2(0x191)](){const _0x1ed2a1=_0x1e97b2,_0x1cf8ce=this[_0x1ed2a1(0x194)],_0x27601a=new _0x1e45fc(this[_0x1ed2a1(0x194)]);return _0x27601a[_0x1ed2a1(0x196)]({'label':'('+_0x3ed1f2(_0x1cf8ce,_0x1ed2a1(0x185))+')','withText':!0x0}),_0x27601a['on'](_0x1ed2a1(0x17e),()=>this[_0x1ed2a1(0x17d)](_0x1ed2a1(0x197))),_0x27601a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1729b1=_0x22a2;(function(_0x31232f,_0x42bcdc){const _0x4d422f=_0x22a2,_0x93f3cf=_0x31232f();while(!![]){try{const _0x5ec84b=-parseInt(_0x4d422f(0x100))/0x1*(parseInt(_0x4d422f(0x10a))/0x2)+parseInt(_0x4d422f(0x108))/0x3*(-parseInt(_0x4d422f(0xf5))/0x4)+-parseInt(_0x4d422f(0x101))/0x5*(parseInt(_0x4d422f(0xfe))/0x6)+parseInt(_0x4d422f(0xfb))/0x7+parseInt(_0x4d422f(0xf4))/0x8*(parseInt(_0x4d422f(0x10e))/0x9)+parseInt(_0x4d422f(0x105))/0xa*(-parseInt(_0x4d422f(0x107))/0xb)+-parseInt(_0x4d422f(0x104))/0xc;if(_0x5ec84b===_0x42bcdc)break;else _0x93f3cf['push'](_0x93f3cf['shift']());}catch(_0x1d2dad){_0x93f3cf['push'](_0x93f3cf['shift']());}}}(_0x1c12,0x754c0));function _0x22a2(_0x21b3a9,_0x3f9dd8){const _0x1c120b=_0x1c12();return _0x22a2=function(_0x22a218,_0x2c8d4e){_0x22a218=_0x22a218-0xf4;let _0x1e0c5a=_0x1c120b[_0x22a218];return _0x1e0c5a;},_0x22a2(_0x21b3a9,_0x3f9dd8);}import{Collection as _0x5a828c}from'ckeditor5/src/utils.js';const cs=_0x1729b1(0x10b);export default class os extends _0x5a828c{constructor(){const _0x1f3892=_0x1729b1;super(),this[_0x1f3892(0xfd)](),this['on'](_0x1f3892(0x103),(_0x2c0fc8,_0x21bcc4)=>{const _0x16c97d=_0x1f3892,_0x3b96a9=Ss(_0x21bcc4[_0x16c97d(0xf8)]);for(const _0x281dd1 of this)if(_0x281dd1!=_0x21bcc4&&Ss(_0x281dd1[_0x16c97d(0xf8)])===_0x3b96a9){this[_0x16c97d(0x109)](_0x281dd1);break;}this[_0x16c97d(0x10f)]>0x14&&this[_0x16c97d(0x109)](this[_0x16c97d(0xff)]),this[_0x16c97d(0x10c)]();}),this['on'](_0x1f3892(0x109),()=>{const _0x45c7ed=_0x1f3892;this[_0x45c7ed(0x10c)]();});}[_0x1729b1(0xfd)](){const _0x364ece=_0x1729b1,_0x4b3324=sessionStorage[_0x364ece(0x106)](cs)||'[]';this[_0x364ece(0x102)](JSON[_0x364ece(0xf9)](_0x4b3324));}[_0x1729b1(0x10c)](){const _0x432d3a=_0x1729b1;sessionStorage[_0x432d3a(0xf6)](cs,JSON[_0x432d3a(0xfa)](this[_0x432d3a(0xf7)](_0x40efa1=>_0x40efa1)));}}function Ss(_0x409fef){const _0x43f07e=_0x1729b1;return _0x409fef[_0x43f07e(0x10d)]()[_0x43f07e(0xfc)]();}function _0x1c12(){const _0x17a3e6=['32RPkKns','86100dIdBnj','setItem','map','prompt','parse','stringify','5663098kJEGEf','trim','_loadFromSessionStorage','76404tkzBut','last','1ULfUDR','95MRETnP','addMany','add','2223408LdkQPn','3108790YBRLuY','getItem','11kxprlD','15vMnFpl','remove','725600hGRjSH','CKEditor/AIFormView/PromptHistory','_saveToSessionStorage','toLowerCase','1979928GsLYPr','length'];_0x1c12=function(){return _0x17a3e6;};return _0x1c12();}
23
+ const _0x339c23=_0x347c;(function(_0x2f6d58,_0x317133){const _0x2cea86=_0x347c,_0x558e38=_0x2f6d58();while(!![]){try{const _0x1293e3=parseInt(_0x2cea86(0xd0))/0x1+-parseInt(_0x2cea86(0xbd))/0x2*(-parseInt(_0x2cea86(0xce))/0x3)+-parseInt(_0x2cea86(0xc1))/0x4*(parseInt(_0x2cea86(0xbc))/0x5)+-parseInt(_0x2cea86(0xd4))/0x6*(-parseInt(_0x2cea86(0xcc))/0x7)+-parseInt(_0x2cea86(0xcf))/0x8*(-parseInt(_0x2cea86(0xcd))/0x9)+-parseInt(_0x2cea86(0xcb))/0xa+parseInt(_0x2cea86(0xc5))/0xb;if(_0x1293e3===_0x317133)break;else _0x558e38['push'](_0x558e38['shift']());}catch(_0x54f656){_0x558e38['push'](_0x558e38['shift']());}}}(_0xf596,0x794dd));function _0xf596(){const _0x573d93=['8SLauVB','478349NPFaDJ','_loadFromSessionStorage','setItem','last','81858BLAajJ','getItem','add','695futRgE','66gnSkcZ','trim','stringify','_saveToSessionStorage','9488mdpMqL','parse','remove','toLowerCase','176132jxXJjw','length','prompt','map','addMany','CKEditor/AIFormView/PromptHistory','8826540yZrSvO','203jUWOqb','8226TUKeCs','74391hSIIFQ'];_0xf596=function(){return _0x573d93;};return _0xf596();}function _0x347c(_0x7e5729,_0x324939){const _0xf596ad=_0xf596();return _0x347c=function(_0x347ccf,_0x2191a1){_0x347ccf=_0x347ccf-0xba;let _0x2aa509=_0xf596ad[_0x347ccf];return _0x2aa509;},_0x347c(_0x7e5729,_0x324939);}import{Collection as _0xc3fa17}from'ckeditor5/src/utils.js';const cs=_0x339c23(0xca);export default class os extends _0xc3fa17{constructor(){const _0x26967f=_0x339c23;super(),this[_0x26967f(0xd1)](),this['on'](_0x26967f(0xbb),(_0x5e2ae8,_0x52150c)=>{const _0x2255d8=_0x26967f,_0x2e1d2d=Ss(_0x52150c[_0x2255d8(0xc7)]);for(const _0x2d554c of this)if(_0x2d554c!=_0x52150c&&Ss(_0x2d554c[_0x2255d8(0xc7)])===_0x2e1d2d){this[_0x2255d8(0xc3)](_0x2d554c);break;}this[_0x2255d8(0xc6)]>0x14&&this[_0x2255d8(0xc3)](this[_0x2255d8(0xd3)]),this[_0x2255d8(0xc0)]();}),this['on'](_0x26967f(0xc3),()=>{const _0x2ceaf3=_0x26967f;this[_0x2ceaf3(0xc0)]();});}[_0x339c23(0xd1)](){const _0x1d51e2=_0x339c23,_0x3db20b=sessionStorage[_0x1d51e2(0xba)](cs)||'[]';this[_0x1d51e2(0xc9)](JSON[_0x1d51e2(0xc2)](_0x3db20b));}[_0x339c23(0xc0)](){const _0x4c37b2=_0x339c23;sessionStorage[_0x4c37b2(0xd2)](cs,JSON[_0x4c37b2(0xbf)](this[_0x4c37b2(0xc8)](_0x136be7=>_0x136be7)));}}function Ss(_0xc3b941){const _0x384d6f=_0x339c23;return _0xc3b941[_0x384d6f(0xc4)]()[_0x384d6f(0xbe)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x311a(){const _0x2a7cad=['2020iefTbB','4756167qTQvlr','7612mxpEzQ','isCollapsed','document','plugins','10260XbrfmW','name','isEmpty','isEnabled','enabledCommandsIds','selection','getRanges','4223865MJTVDE','element','change:_hasContext','8007168KWAeos','hasContent','values','execute','7vdkQMn','model','custom','set','requiresContent','2850rwzyPZ','155410pjaAAB','includes','config','getFirstRange','from','get','10bcDmuL','1409586htvhRR','_hasContext','change:isEnabled','refresh','showUI','ai.aiAssistant.disabledElements','length','_commandDefinitions','getItems','editor','getSelectedBlocks','add'];_0x311a=function(){return _0x2a7cad;};return _0x311a();}const _0x458b76=_0x3ddc;(function(_0x12d624,_0x47c0bd){const _0x244fe3=_0x3ddc,_0x2be477=_0x12d624();while(!![]){try{const _0x43e362=parseInt(_0x244fe3(0x134))/0x1*(-parseInt(_0x244fe3(0x15b))/0x2)+parseInt(_0x244fe3(0x15a))/0x3*(-parseInt(_0x244fe3(0x141))/0x4)+parseInt(_0x244fe3(0x14e))/0x5+-parseInt(_0x244fe3(0x135))/0x6*(parseInt(_0x244fe3(0x155))/0x7)+parseInt(_0x244fe3(0x151))/0x8+-parseInt(_0x244fe3(0x142))/0x9+-parseInt(_0x244fe3(0x147))/0xa*(-parseInt(_0x244fe3(0x143))/0xb);if(_0x43e362===_0x47c0bd)break;else _0x2be477['push'](_0x2be477['shift']());}catch(_0x264a49){_0x2be477['push'](_0x2be477['shift']());}}}(_0x311a,0x82bab));import{Command as _0x29753}from'ckeditor5/src/core.js';import _0x13a81d from'../aiassistantui.js';export default class y extends _0x29753{constructor(_0x62ac5a,_0x2d0142){const _0x3058d3=_0x3ddc;super(_0x62ac5a),this[_0x3058d3(0x13c)]=_0x2d0142,this[_0x3058d3(0x158)](_0x3058d3(0x14b),[]),this['on'](_0x3058d3(0x150),(_0x56a973,_0x568453,_0x2c0ebe)=>{const _0x40f20e=_0x3058d3;this[_0x40f20e(0x14a)]&&(this[_0x40f20e(0x14b)]=G(this[_0x40f20e(0x13c)],_0x2c0ebe));}),this[_0x3058d3(0x158)](_0x3058d3(0x136),!0x1),this['on'](_0x3058d3(0x137),(_0x52939a,_0x45a3ae,_0x4eb11f)=>{const _0x2c3c0e=_0x3058d3;this[_0x2c3c0e(0x14b)]=_0x4eb11f?G(this[_0x2c3c0e(0x13c)],this[_0x2c3c0e(0x136)]):[];});}[_0x458b76(0x138)](){const _0xa539b0=_0x458b76,_0x3f414d=this[_0xa539b0(0x13e)][_0xa539b0(0x156)];this[_0xa539b0(0x136)]=function(_0x4b51c2){const _0x1770d1=_0xa539b0,_0x10a17a=_0x4b51c2[_0x1770d1(0x145)][_0x1770d1(0x14c)];return _0x10a17a[_0x1770d1(0x144)]?0x0!==[..._0x10a17a[_0x1770d1(0x13f)]()][_0x1770d1(0x13b)]&&![..._0x10a17a[_0x1770d1(0x13f)]()][0x0][_0x1770d1(0x149)]:!!_0x4b51c2[_0x1770d1(0x152)](_0x10a17a[_0x1770d1(0x131)]());}(_0x3f414d);const _0x5399ee=_0x3f414d[_0xa539b0(0x145)][_0xa539b0(0x14c)],_0x144178=this[_0xa539b0(0x13e)][_0xa539b0(0x130)][_0xa539b0(0x133)](_0xa539b0(0x13a));for(const _0xd5e028 of _0x5399ee[_0xa539b0(0x14d)]())for(const _0x4a94f0 of _0xd5e028[_0xa539b0(0x13d)]())if(_0x4a94f0['is'](_0xa539b0(0x14f))&&_0x144178[_0xa539b0(0x15c)](_0x4a94f0[_0xa539b0(0x148)]))return void(this[_0xa539b0(0x14a)]=!0x1);this[_0xa539b0(0x14a)]=!0x0;}[_0x458b76(0x154)](_0xdb3687='',_0x3f339e='',_0x5e49cf=_0x458b76(0x157)){const _0x483313=_0x458b76;this[_0x483313(0x13e)][_0x483313(0x146)][_0x483313(0x133)](_0x13a81d)[_0x483313(0x139)](_0xdb3687,_0x3f339e,_0x5e49cf);}}function _0x3ddc(_0x127f4e,_0x42a2d4){const _0x311a83=_0x311a();return _0x3ddc=function(_0x3ddc64,_0x12dd56){_0x3ddc64=_0x3ddc64-0x130;let _0x3fd49e=_0x311a83[_0x3ddc64];return _0x3fd49e;},_0x3ddc(_0x127f4e,_0x42a2d4);}function G(_0x184d9e,_0x4ed7dc){const _0x2eca95=_0x458b76,_0x28d799=new Set();for(const _0x35e07c of _0x184d9e[_0x2eca95(0x153)]())(_0x4ed7dc||!0x1===_0x35e07c[_0x2eca95(0x159)])&&_0x28d799[_0x2eca95(0x140)](_0x35e07c['id']);return Array[_0x2eca95(0x132)](_0x28d799);}
23
+ const _0x3210b3=_0x6f21;function _0x6f21(_0xc48293,_0x137f1d){const _0x4bfcb3=_0x4bfc();return _0x6f21=function(_0x6f215,_0x1c15b4){_0x6f215=_0x6f215-0x168;let _0x36f52d=_0x4bfcb3[_0x6f215];return _0x36f52d;},_0x6f21(_0xc48293,_0x137f1d);}(function(_0x1b99f5,_0x2afba3){const _0xdf5efd=_0x6f21,_0xd4a7ed=_0x1b99f5();while(!![]){try{const _0x28719f=parseInt(_0xdf5efd(0x18d))/0x1*(-parseInt(_0xdf5efd(0x171))/0x2)+parseInt(_0xdf5efd(0x182))/0x3*(parseInt(_0xdf5efd(0x185))/0x4)+-parseInt(_0xdf5efd(0x17b))/0x5*(parseInt(_0xdf5efd(0x194))/0x6)+parseInt(_0xdf5efd(0x186))/0x7*(parseInt(_0xdf5efd(0x184))/0x8)+-parseInt(_0xdf5efd(0x169))/0x9+-parseInt(_0xdf5efd(0x189))/0xa+parseInt(_0xdf5efd(0x18b))/0xb*(parseInt(_0xdf5efd(0x18f))/0xc);if(_0x28719f===_0x2afba3)break;else _0xd4a7ed['push'](_0xd4a7ed['shift']());}catch(_0x54a1d4){_0xd4a7ed['push'](_0xd4a7ed['shift']());}}}(_0x4bfc,0x5a7bd));import{Command as _0x1c39b3}from'ckeditor5/src/core.js';import _0x3e3890 from'../aiassistantui.js';export default class y extends _0x1c39b3{constructor(_0x244e27,_0xc2e093){const _0xb77adb=_0x6f21;super(_0x244e27),this[_0xb77adb(0x18e)]=_0xc2e093,this[_0xb77adb(0x16f)](_0xb77adb(0x179),[]),this['on'](_0xb77adb(0x191),(_0x125b13,_0x2b66c4,_0x125722)=>{const _0x51658e=_0xb77adb;this[_0x51658e(0x192)]&&(this[_0x51658e(0x179)]=G(this[_0x51658e(0x18e)],_0x125722));}),this[_0xb77adb(0x16f)](_0xb77adb(0x178),!0x1),this['on'](_0xb77adb(0x176),(_0x10510e,_0x2ea94f,_0x5308d1)=>{const _0x201676=_0xb77adb;this[_0x201676(0x179)]=_0x5308d1?G(this[_0x201676(0x18e)],this[_0x201676(0x178)]):[];});}[_0x3210b3(0x16a)](){const _0x3991b4=_0x3210b3,_0x19125b=this[_0x3991b4(0x172)][_0x3991b4(0x168)];this[_0x3991b4(0x178)]=function(_0x22de5a){const _0x1169b8=_0x3991b4,_0x36938a=_0x22de5a[_0x1169b8(0x187)][_0x1169b8(0x183)];return _0x36938a[_0x1169b8(0x18c)]?0x0!==[..._0x36938a[_0x1169b8(0x17f)]()][_0x1169b8(0x190)]&&![..._0x36938a[_0x1169b8(0x17f)]()][0x0][_0x1169b8(0x177)]:!!_0x22de5a[_0x1169b8(0x17a)](_0x36938a[_0x1169b8(0x17e)]());}(_0x19125b);const _0x544ab5=_0x19125b[_0x3991b4(0x187)][_0x3991b4(0x183)],_0x5cbf1f=this[_0x3991b4(0x172)][_0x3991b4(0x174)][_0x3991b4(0x17d)](_0x3991b4(0x181));for(const _0x3f7d07 of _0x544ab5[_0x3991b4(0x193)]())for(const _0x3ffdbf of _0x3f7d07[_0x3991b4(0x175)]())if(_0x3ffdbf['is'](_0x3991b4(0x16b))&&_0x5cbf1f[_0x3991b4(0x195)](_0x3ffdbf[_0x3991b4(0x170)]))return void(this[_0x3991b4(0x192)]=!0x1);this[_0x3991b4(0x192)]=!0x0;}[_0x3210b3(0x18a)](_0x4f02ee='',_0x5ae940='',_0x43fda6=_0x3210b3(0x16e)){const _0x4471cb=_0x3210b3;this[_0x4471cb(0x172)][_0x4471cb(0x180)][_0x4471cb(0x17d)](_0x3e3890)[_0x4471cb(0x188)](_0x4f02ee,_0x5ae940,_0x43fda6);}}function _0x4bfc(){const _0x29456a=['99189NEFchD','selection','423240JjZDWX','12ARSzWP','21HijuXY','document','showUI','2975430lLpgWl','execute','21466577HYpekP','isCollapsed','7814foKxFb','_commandDefinitions','12ZGZHoV','length','change:_hasContext','isEnabled','getRanges','398484vsXvgv','includes','model','5116041xUDRuX','refresh','element','requiresContent','values','custom','set','name','96hiQjIh','editor','add','config','getItems','change:isEnabled','isEmpty','_hasContext','enabledCommandsIds','hasContent','45UMKfvJ','from','get','getFirstRange','getSelectedBlocks','plugins','ai.aiAssistant.disabledElements'];_0x4bfc=function(){return _0x29456a;};return _0x4bfc();}function G(_0xf89d4f,_0x4bb9cd){const _0x57588a=_0x3210b3,_0x44163a=new Set();for(const _0x4d6090 of _0xf89d4f[_0x57588a(0x16d)]())(_0x4bb9cd||!0x1===_0x4d6090[_0x57588a(0x16c)])&&_0x44163a[_0x57588a(0x173)](_0x4d6090['id']);return Array[_0x57588a(0x17c)](_0x44163a);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x57f10d,_0xf180e3,_0x3e8f5a){const t=_0x57f10d['t'];switch(_0xf180e3){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',_0x3e8f5a);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3e8f5a);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'},_0x3e8f5a);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 _0xf180e3;}}
23
+ export function getTranslation(_0x20fc03,_0x3dc1df,_0x51da77){const t=_0x20fc03['t'];switch(_0x3dc1df){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',_0x51da77);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x51da77);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'},_0x51da77);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 _0x3dc1df;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x578e25,_0x21d636){const _0xaf3423=(0x0,_0x21d636['t'])('Other');return _0x578e25['length']?'groupId'in _0x578e25[0x0]?_0x578e25:[{'groupId':'_ungrouppedCommands','groupLabel':_0xaf3423,'order':0x1/0x0,'commands':_0x578e25}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0xaf3423,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x28a736,_0x8acf66){const _0x33b750=(0x0,_0x8acf66['t'])('Other');return _0x28a736['length']?'groupId'in _0x28a736[0x0]?_0x28a736:[{'groupId':'_ungrouppedCommands','groupLabel':_0x33b750,'order':0x1/0x0,'commands':_0x28a736}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x33b750,'order':0x1/0x0,'commands':[]}];}