@ckeditor/ckeditor5-ai 43.3.1-alpha.0 → 43.3.1

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 (167) 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/ui/aiassistantcontroller.js +2 -2
  157. package/src/ui/form/aiformcontentarea.js +1 -1
  158. package/src/ui/form/aiformerrorview.js +1 -1
  159. package/src/ui/form/aiformpromptview.js +1 -1
  160. package/src/ui/form/aiformtoolbarview.js +1 -1
  161. package/src/ui/form/aiformview.js +1 -1
  162. package/src/ui/form/aihistorylistitemview.js +1 -1
  163. package/src/ui/form/aihistorylistview.js +1 -1
  164. package/src/ui/form/prompthistory.js +1 -1
  165. package/src/ui/showaiassistantcommand.js +1 -1
  166. package/src/utils/common-translations.js +1 -1
  167. package/src/utils/normalizecommandsconfig.js +1 -1
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x7b13b7,_0x3007e0){var _0x51576e=_0x21ca,_0x522008=_0x7b13b7();while(!![]){try{var _0x3f4673=-parseInt(_0x51576e(0x91))/0x1+parseInt(_0x51576e(0x93))/0x2+-parseInt(_0x51576e(0x8e))/0x3*(-parseInt(_0x51576e(0x96))/0x4)+parseInt(_0x51576e(0x94))/0x5*(-parseInt(_0x51576e(0x92))/0x6)+-parseInt(_0x51576e(0x8d))/0x7+parseInt(_0x51576e(0x90))/0x8*(parseInt(_0x51576e(0x8f))/0x9)+parseInt(_0x51576e(0x95))/0xa;if(_0x3f4673===_0x3007e0)break;else _0x522008['push'](_0x522008['shift']());}catch(_0x30dde0){_0x522008['push'](_0x522008['shift']());}}}(_0x57a1,0xafca6));function _0x21ca(_0xf0b6b9,_0x2cc063){var _0x57a190=_0x57a1();return _0x21ca=function(_0x21ca00,_0x572cee){_0x21ca00=_0x21ca00-0x8d;var _0xf49c92=_0x57a190[_0x21ca00];return _0xf49c92;},_0x21ca(_0xf0b6b9,_0x2cc063);}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x57a1(){var _0x17fad3=['2427510wFpjHz','10aKFBft','15673920rGpYfe','4kdUpUp','2489767BiXPAz','677427bTbbgM','591309KLYMvs','56CqSCYD','1353196yBNdWe','3113844pWpvvy'];_0x57a1=function(){return _0x17fad3;};return _0x57a1();}export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
23
+ (function(_0x13ce19,_0xff17b){var _0x1554c0=_0x4e7d,_0x1c65be=_0x13ce19();while(!![]){try{var _0x14ce02=-parseInt(_0x1554c0(0x169))/0x1+-parseInt(_0x1554c0(0x168))/0x2*(-parseInt(_0x1554c0(0x161))/0x3)+parseInt(_0x1554c0(0x160))/0x4+-parseInt(_0x1554c0(0x166))/0x5*(-parseInt(_0x1554c0(0x165))/0x6)+-parseInt(_0x1554c0(0x16a))/0x7*(parseInt(_0x1554c0(0x164))/0x8)+parseInt(_0x1554c0(0x162))/0x9+parseInt(_0x1554c0(0x167))/0xa*(parseInt(_0x1554c0(0x163))/0xb);if(_0x14ce02===_0xff17b)break;else _0x1c65be['push'](_0x1c65be['shift']());}catch(_0x16b25c){_0x1c65be['push'](_0x1c65be['shift']());}}}(_0x47c9,0xd5697));export{default as AIAssistant}from'./aiassistant.js';function _0x4e7d(_0xf827c4,_0x3d712d){var _0x47c97b=_0x47c9();return _0x4e7d=function(_0x4e7ddc,_0x583a63){_0x4e7ddc=_0x4e7ddc-0x160;var _0x74303b=_0x47c97b[_0x4e7ddc];return _0x74303b;},_0x4e7d(_0xf827c4,_0x3d712d);}export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';function _0x47c9(){var _0x56b981=['5NUBIhy','4395540mWWUEz','14WsQdBv','1343281HaZkub','8172311mPwgQm','4799476PiRcxg','536043EVvNnX','3113784qxhLRs','11ZkFLhR','8QGLIac','892338DlKIoy'];_0x47c9=function(){return _0x56b981;};return _0x47c9();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3954(_0x1cdf43,_0x3d2f75){const _0x21e43e=_0x21e4();return _0x3954=function(_0x395483,_0x78e6e3){_0x395483=_0x395483-0x198;let _0x1e75e9=_0x21e43e[_0x395483];return _0x1e75e9;},_0x3954(_0x1cdf43,_0x3d2f75);}const _0x2e07de=_0x3954;(function(_0xb6b78c,_0x3ad561){const _0x28370c=_0x3954,_0x420993=_0xb6b78c();while(!![]){try{const _0x161af4=parseInt(_0x28370c(0x1aa))/0x1*(-parseInt(_0x28370c(0x1c3))/0x2)+parseInt(_0x28370c(0x1be))/0x3+parseInt(_0x28370c(0x1da))/0x4+parseInt(_0x28370c(0x1ed))/0x5+parseInt(_0x28370c(0x1d9))/0x6+parseInt(_0x28370c(0x19e))/0x7*(-parseInt(_0x28370c(0x1d1))/0x8)+-parseInt(_0x28370c(0x1d3))/0x9*(parseInt(_0x28370c(0x1c7))/0xa);if(_0x161af4===_0x3ad561)break;else _0x420993['push'](_0x420993['shift']());}catch(_0x4d116f){_0x420993['push'](_0x420993['shift']());}}}(_0x21e4,0xd7adb));import{ObservableMixin as _0x2766d7}from'ckeditor5/src/utils.js';import{AIRequestError as _0x4ea767}from'../adapters/aiadapter.js';import{Matcher as _0x2d8123,UpcastWriter as _0x35afd4}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x21e4(){const _0x1bcbe7=['finally','previousContext','htmlProcessor','isProcessing','makeRequest','_normalizeResponseHeadings','isRendered','parseFromString','toModel','textAdapter','_sanitizeHTML','element','_domParser','2363475frdGJO','view','name','currentResponse','tryAgainEvent','abort','reset','text/html','submitPrompt','catch','rename','listenTo','body','push','_stripMarkdownSyntax','handleError','49931BDofHO','domConverter','innerHTML','editing','processor','startProcessing','serializeToString','document','viewToDom','from','```html','reverse','2243ESxxlF','_parseAndNormalizeContent','value','data','childNodes','finishProcessing','previousQuery','_sanitizationContainer','createElement','ELEMENT_NODE','previousLabel','div','startsWith','match','then','```','message','querySelector','_isH1TagSupportEnabled','prompt','3576771FdFCkE','toView','set','<h1></h1>','render','170JfXYOF','_xmlSerializer','initialContext','stringify','2526470ufwlvf','_handleQuery','trim','stopProcessing','set:currentContext','nodeType','stopListening','previousActionId','remove','updateView','1912LGbYEJ','substring','9xhOyby','exec','length','once','custom','endsWith','6605178cwSbXv','1062772mVDwHP','editor','mainAction','currentContext','destroy','setContentOf'];_0x21e4=function(){return _0x1bcbe7;};return _0x21e4();}export default class v extends/* #__PURE__ -- @preserve */
24
- _0x2766d7(){constructor(_0x81f690,_0x33a5a6,_0x3c6cc9){const _0xba6d65=_0x3954;super(),this[_0xba6d65(0x1db)]=_0x81f690,this[_0xba6d65(0x1e9)]=_0x33a5a6,this[_0xba6d65(0x1b1)]=document[_0xba6d65(0x1b2)](_0xba6d65(0x1b5)),this[_0xba6d65(0x1ec)]=new DOMParser(),this[_0xba6d65(0x1c4)]=new XMLSerializer(),this[_0xba6d65(0x1ee)]=_0x3c6cc9,this[_0xba6d65(0x1c0)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0xba6d65(0x1cb),(_0xf009fa,_0x1b65e3,_0x5a92c1)=>{const _0x393799=_0xba6d65;this[_0x393799(0x1ee)][_0x393799(0x1ac)]=this[_0x393799(0x1ea)](_0x5a92c1);}),this[_0xba6d65(0x199)](this[_0xba6d65(0x1ee)],_0xba6d65(0x1f5),(_0xe69771,_0x52d5f1)=>{const _0x3d39f3=_0xba6d65,_0x53a3fb=this[_0x3d39f3(0x1dd)]||this[_0x3d39f3(0x1c5)];this[_0x3d39f3(0x1c8)](_0x52d5f1,_0x53a3fb,_0x3d39f3(0x1d7));}),this[_0xba6d65(0x199)](this[_0xba6d65(0x1ee)],_0xba6d65(0x1f1),()=>{const _0x1319db=_0xba6d65;this[_0x1319db(0x1ee)][_0x1319db(0x1bd)]=this[_0x1319db(0x1b4)],this[_0x1319db(0x1c8)](this[_0x1319db(0x1b0)],this[_0x1319db(0x1e1)],this[_0x1319db(0x1ce)],this[_0x1319db(0x1b4)]);}),this[_0xba6d65(0x199)](this[_0xba6d65(0x1ee)],_0xba6d65(0x1ca),()=>{const _0xd16e61=_0xba6d65;this[_0xd16e61(0x1ca)]();});}[_0x2e07de(0x1de)](){const _0x313146=_0x2e07de;this[_0x313146(0x1cd)]();}async[_0x2e07de(0x1d0)]({actionId:_0x379ce3,query:_0x4b0b60,htmlContent:_0x701b8a,label:_0x48b1e3,mainActionLabel:_0x701012}){const _0x33a246=_0x2e07de;this[_0x33a246(0x1ee)][_0x33a246(0x1bd)]=_0x48b1e3,this[_0x33a246(0x1ee)][_0x33a246(0x1dc)]=_0x701012,this[_0x33a246(0x1c5)]=_0x701b8a,_0x4b0b60&&(this[_0x33a246(0x1ee)][_0x33a246(0x1e6)]?this[_0x33a246(0x1c8)](_0x4b0b60,_0x701b8a,_0x379ce3,_0x48b1e3):this[_0x33a246(0x1ee)][_0x33a246(0x1d6)](_0x33a246(0x1c2),()=>{const _0x5a0863=_0x33a246;this[_0x5a0863(0x1c8)](_0x4b0b60,_0x701b8a,_0x379ce3,_0x48b1e3);}));}[_0x2e07de(0x1ca)](){const _0x246fba=_0x2e07de;this[_0x246fba(0x1e3)]&&(this[_0x246fba(0x1e3)]=!0x1,this[_0x246fba(0x1ee)][_0x246fba(0x1af)](),this[_0x246fba(0x1e9)][_0x246fba(0x1f2)]());}[_0x2e07de(0x1f3)](){const _0x344da8=_0x2e07de;this[_0x344da8(0x1c5)]='',this[_0x344da8(0x1dd)]='',this[_0x344da8(0x1f0)]='',this[_0x344da8(0x1e1)]='',this[_0x344da8(0x1b0)]='',this[_0x344da8(0x1b4)]='',this[_0x344da8(0x1ce)]=void 0x0,this[_0x344da8(0x1ee)][_0x344da8(0x1f3)](),this[_0x344da8(0x1ca)]();}async[_0x2e07de(0x1c8)](_0x51900f,_0x4df375,_0x383d06,_0x3c46b4){const _0x461a4f=_0x2e07de;return this[_0x461a4f(0x1e3)]=!0x0,this[_0x461a4f(0x1ee)][_0x461a4f(0x1a3)](),this[_0x461a4f(0x1e1)]=_0x4df375,this[_0x461a4f(0x1b0)]=_0x51900f,this[_0x461a4f(0x1b4)]=_0x3c46b4||_0x51900f,this[_0x461a4f(0x1ce)]=_0x383d06,new Promise(_0x42f5ac=>{const _0x1b3400=_0x461a4f;this[_0x1b3400(0x1e9)][_0x1b3400(0x1e4)]({'query':_0x51900f,'context':_0x4df375,'onData':_0x1dabd0=>{const _0x1cd360=_0x1b3400;this[_0x1cd360(0x1f0)]=_0x1dabd0,this[_0x1cd360(0x1dd)]=this[_0x1cd360(0x1ab)](this[_0x1cd360(0x1f0)]);},'actionId':_0x383d06})[_0x1b3400(0x1b8)](()=>{const _0xbfa4df=_0x1b3400;!this[_0xbfa4df(0x1dd)]&&this[_0xbfa4df(0x1f0)]&&(this[_0xbfa4df(0x1dd)]=this[_0xbfa4df(0x1ab)](this[_0xbfa4df(0x1f0)],!0x0));})[_0x1b3400(0x1f6)](_0xe41bb=>{const _0x4fa572=_0x1b3400;_0xe41bb instanceof _0x4ea767?this[_0x4fa572(0x1ee)][_0x4fa572(0x19d)](_0xe41bb[_0x4fa572(0x1ba)]):this[_0x4fa572(0x1ee)][_0x4fa572(0x19d)](),_0x42f5ac();})[_0x1b3400(0x1e0)](()=>{const _0x37f316=_0x1b3400;this[_0x37f316(0x1ca)](),_0x42f5ac();});});}[_0x2e07de(0x1ab)](_0x57f570,_0x4cca55=!0x1){const _0x148429=_0x2e07de,_0x130fb6=Z[_0x148429(0x1d4)](_0x57f570);_0x57f570=_0x130fb6?_0x57f570[_0x148429(0x1d2)](_0x130fb6[0x1][_0x148429(0x1d5)]):_0x57f570[_0x148429(0x1d5)]<0x64&&!_0x4cca55?'':this[_0x148429(0x19c)](_0x57f570);const _0x31857c=this[_0x148429(0x1ec)][_0x148429(0x1e7)](_0x57f570,_0x148429(0x1f4));if(_0x130fb6){const _0x1f1711=Array[_0x148429(0x1a7)](_0x31857c[_0x148429(0x19a)][_0x148429(0x1ae)]);_0x1f1711[_0x148429(0x1a9)]();for(const _0x47f4d2 of _0x1f1711){if(_0x47f4d2[_0x148429(0x1cc)]==Node[_0x148429(0x1b3)])break;_0x47f4d2[_0x148429(0x1cf)]();}}const _0x222165=this[_0x148429(0x1db)][_0x148429(0x1ad)][_0x148429(0x1a2)][_0x148429(0x1bf)](this[_0x148429(0x1c4)][_0x148429(0x1a4)](_0x31857c[_0x148429(0x19a)]));return this[_0x148429(0x1bc)]()||this[_0x148429(0x1e5)](_0x222165),this[_0x148429(0x1db)][_0x148429(0x1ad)][_0x148429(0x1c6)](this[_0x148429(0x1db)][_0x148429(0x1ad)][_0x148429(0x1e8)](_0x222165));}[_0x2e07de(0x1e5)](_0x18deb4){const _0x3d299a=_0x2e07de,_0x18b617=new _0x35afd4(this[_0x3d299a(0x1db)][_0x3d299a(0x1a1)][_0x3d299a(0x1ee)][_0x3d299a(0x1a5)]),_0x4f7d85=new _0x2d8123({'name':/^h[1-5]$/}),_0x4a0fd9=[];let _0x39c691=!0x1;for(const _0x44f6d5 of _0x18deb4)_0x44f6d5['is'](_0x3d299a(0x1eb))&&_0x4f7d85[_0x3d299a(0x1b7)](_0x44f6d5)&&(_0x4a0fd9[_0x3d299a(0x19b)](_0x44f6d5),'h1'==_0x44f6d5[_0x3d299a(0x1ef)]&&(_0x39c691=!0x0));if(_0x39c691){for(const _0x1dd9ba of _0x4a0fd9)_0x18b617[_0x3d299a(0x198)]('h'+(parseInt(_0x1dd9ba[_0x3d299a(0x1ef)][0x1])+0x1),_0x1dd9ba);}}[_0x2e07de(0x1bc)](){const _0x25339f=_0x2e07de,{data:_0x32136c,editing:_0x1f7d4f}=this[_0x25339f(0x1db)],_0x3c0b37=_0x32136c[_0x25339f(0x1e2)][_0x25339f(0x1bf)](_0x25339f(0x1c1)),_0x37eaa1=_0x32136c[_0x25339f(0x1bf)](_0x32136c[_0x25339f(0x1e8)](_0x3c0b37));return!!_0x1f7d4f[_0x25339f(0x1ee)][_0x25339f(0x19f)][_0x25339f(0x1a6)](_0x37eaa1)[_0x25339f(0x1bb)]('h1');}[_0x2e07de(0x1ea)](_0x572b22){const _0x217147=_0x2e07de;return this[_0x217147(0x1db)][_0x217147(0x1a1)][_0x217147(0x1ee)][_0x217147(0x19f)][_0x217147(0x1df)](this[_0x217147(0x1b1)],_0x572b22),this[_0x217147(0x1b1)][_0x217147(0x1a0)];}[_0x2e07de(0x19c)](_0x4e584d){const _0x3a9ea5=_0x2e07de,_0xf8e621=_0x4e584d[_0x3a9ea5(0x1c9)]();return _0xf8e621[_0x3a9ea5(0x1b6)](_0x3a9ea5(0x1a8))?_0xf8e621[_0x3a9ea5(0x1d8)](_0x3a9ea5(0x1b9))?_0xf8e621[_0x3a9ea5(0x1d2)](0x7,_0xf8e621[_0x3a9ea5(0x1d5)]-0x3):_0xf8e621[_0x3a9ea5(0x1d2)](0x7):_0x4e584d;}}
23
+ const _0x419af2=_0x48b0;(function(_0x2b976d,_0x5c5b28){const _0x22dda4=_0x48b0,_0x4d513c=_0x2b976d();while(!![]){try{const _0x13bf4c=parseInt(_0x22dda4(0x66))/0x1*(-parseInt(_0x22dda4(0x99))/0x2)+parseInt(_0x22dda4(0xa3))/0x3*(parseInt(_0x22dda4(0xc4))/0x4)+parseInt(_0x22dda4(0x9e))/0x5+parseInt(_0x22dda4(0xa5))/0x6*(parseInt(_0x22dda4(0x67))/0x7)+parseInt(_0x22dda4(0xb6))/0x8*(parseInt(_0x22dda4(0xa1))/0x9)+-parseInt(_0x22dda4(0xab))/0xa*(parseInt(_0x22dda4(0xa4))/0xb)+-parseInt(_0x22dda4(0x73))/0xc;if(_0x13bf4c===_0x5c5b28)break;else _0x4d513c['push'](_0x4d513c['shift']());}catch(_0x2f4a89){_0x4d513c['push'](_0x4d513c['shift']());}}}(_0x3189,0x64e19));import{ObservableMixin as _0x5fd9ec}from'ckeditor5/src/utils.js';function _0x3189(){const _0x13421b=['rename','2753660YYlUFB','querySelector','isProcessing','89595lWRuWF','<h1></h1>','5862EZrdUH','4206510YPeaSF','1525110MHhvLx','destroy','viewToDom','htmlProcessor','custom','previousQuery','10tPpjTy','stopProcessing','```html','startsWith','view','previousContext','ELEMENT_NODE','div','nodeType','stringify','currentResponse','32lgwVZp','once','_parseAndNormalizeContent','updateView','message','length','previousActionId','_isH1TagSupportEnabled','finally','_normalizeResponseHeadings','from','textAdapter','abort','prompt','1264bPSysx','exec','render','1RYFMOD','7KaLaAi','makeRequest','serializeToString','text/html','value','handleError','element','set','innerHTML','currentContext','submitPrompt','_stripMarkdownSyntax','2794752CZvqam','mainAction','push','```','toModel','_handleQuery','toView','finishProcessing','_sanitizeHTML','endsWith','data','startProcessing','name','catch','parseFromString','match','set:currentContext','listenTo','body','_domParser','setContentOf','stopListening','childNodes','_xmlSerializer','_sanitizationContainer','initialContext','isRendered','processor','createElement','reset','editor','then','previousLabel','reverse','remove','document','editing','domConverter','867372WAlTnf','trim','substring','tryAgainEvent'];_0x3189=function(){return _0x13421b;};return _0x3189();}import{AIRequestError as _0x4d9fe6}from'../adapters/aiadapter.js';import{Matcher as _0x2da2ee,UpcastWriter as _0x5a82e5}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x48b0(_0x1ae779,_0x30aced){const _0x318960=_0x3189();return _0x48b0=function(_0x48b0ad,_0x101bb8){_0x48b0ad=_0x48b0ad-0x64;let _0x1e3af2=_0x318960[_0x48b0ad];return _0x1e3af2;},_0x48b0(_0x1ae779,_0x30aced);}export default class v extends/* #__PURE__ -- @preserve */
24
+ _0x5fd9ec(){constructor(_0x3ecbd4,_0x92587d,_0x4fa14f){const _0x41a46d=_0x48b0;super(),this[_0x41a46d(0x91)]=_0x3ecbd4,this[_0x41a46d(0xc1)]=_0x92587d,this[_0x41a46d(0x8b)]=document[_0x41a46d(0x8f)](_0x41a46d(0xb2)),this[_0x41a46d(0x86)]=new DOMParser(),this[_0x41a46d(0x8a)]=new XMLSerializer(),this[_0x41a46d(0xaf)]=_0x4fa14f,this[_0x41a46d(0x6e)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x41a46d(0x83),(_0x547ade,_0x35304c,_0x5d21e2)=>{const _0x297bf3=_0x41a46d;this[_0x297bf3(0xaf)][_0x297bf3(0x6b)]=this[_0x297bf3(0x7b)](_0x5d21e2);}),this[_0x41a46d(0x84)](this[_0x41a46d(0xaf)],_0x41a46d(0x71),(_0x329ff1,_0x428e52)=>{const _0x288245=_0x41a46d,_0x50ef4b=this[_0x288245(0x70)]||this[_0x288245(0x8c)];this[_0x288245(0x78)](_0x428e52,_0x50ef4b,_0x288245(0xa9));}),this[_0x41a46d(0x84)](this[_0x41a46d(0xaf)],_0x41a46d(0x9c),()=>{const _0xa8d698=_0x41a46d;this[_0xa8d698(0xaf)][_0xa8d698(0xc3)]=this[_0xa8d698(0x93)],this[_0xa8d698(0x78)](this[_0xa8d698(0xaa)],this[_0xa8d698(0xb0)],this[_0xa8d698(0xbc)],this[_0xa8d698(0x93)]);}),this[_0x41a46d(0x84)](this[_0x41a46d(0xaf)],_0x41a46d(0xac),()=>{const _0x158e84=_0x41a46d;this[_0x158e84(0xac)]();});}[_0x419af2(0xa6)](){const _0x3c477b=_0x419af2;this[_0x3c477b(0x88)]();}async[_0x419af2(0xb9)]({actionId:_0x6a08d4,query:_0x28977c,htmlContent:_0x274162,label:_0x11003f,mainActionLabel:_0x2d19d7}){const _0x5688bf=_0x419af2;this[_0x5688bf(0xaf)][_0x5688bf(0xc3)]=_0x11003f,this[_0x5688bf(0xaf)][_0x5688bf(0x74)]=_0x2d19d7,this[_0x5688bf(0x8c)]=_0x274162,_0x28977c&&(this[_0x5688bf(0xaf)][_0x5688bf(0x8d)]?this[_0x5688bf(0x78)](_0x28977c,_0x274162,_0x6a08d4,_0x11003f):this[_0x5688bf(0xaf)][_0x5688bf(0xb7)](_0x5688bf(0x65),()=>{const _0x53a456=_0x5688bf;this[_0x53a456(0x78)](_0x28977c,_0x274162,_0x6a08d4,_0x11003f);}));}[_0x419af2(0xac)](){const _0x575710=_0x419af2;this[_0x575710(0xa0)]&&(this[_0x575710(0xa0)]=!0x1,this[_0x575710(0xaf)][_0x575710(0x7a)](),this[_0x575710(0xc1)][_0x575710(0xc2)]());}[_0x419af2(0x90)](){const _0x42d104=_0x419af2;this[_0x42d104(0x8c)]='',this[_0x42d104(0x70)]='',this[_0x42d104(0xb5)]='',this[_0x42d104(0xb0)]='',this[_0x42d104(0xaa)]='',this[_0x42d104(0x93)]='',this[_0x42d104(0xbc)]=void 0x0,this[_0x42d104(0xaf)][_0x42d104(0x90)](),this[_0x42d104(0xac)]();}async[_0x419af2(0x78)](_0x201c36,_0x2d0c2a,_0x38e7d9,_0x1a80e8){const _0x306e33=_0x419af2;return this[_0x306e33(0xa0)]=!0x0,this[_0x306e33(0xaf)][_0x306e33(0x7e)](),this[_0x306e33(0xb0)]=_0x2d0c2a,this[_0x306e33(0xaa)]=_0x201c36,this[_0x306e33(0x93)]=_0x1a80e8||_0x201c36,this[_0x306e33(0xbc)]=_0x38e7d9,new Promise(_0x3f7b0b=>{const _0x50a508=_0x306e33;this[_0x50a508(0xc1)][_0x50a508(0x68)]({'query':_0x201c36,'context':_0x2d0c2a,'onData':_0x580724=>{const _0x9f0d8e=_0x50a508;this[_0x9f0d8e(0xb5)]=_0x580724,this[_0x9f0d8e(0x70)]=this[_0x9f0d8e(0xb8)](this[_0x9f0d8e(0xb5)]);},'actionId':_0x38e7d9})[_0x50a508(0x92)](()=>{const _0x3612aa=_0x50a508;!this[_0x3612aa(0x70)]&&this[_0x3612aa(0xb5)]&&(this[_0x3612aa(0x70)]=this[_0x3612aa(0xb8)](this[_0x3612aa(0xb5)],!0x0));})[_0x50a508(0x80)](_0x170fb7=>{const _0x4a58eb=_0x50a508;_0x170fb7 instanceof _0x4d9fe6?this[_0x4a58eb(0xaf)][_0x4a58eb(0x6c)](_0x170fb7[_0x4a58eb(0xba)]):this[_0x4a58eb(0xaf)][_0x4a58eb(0x6c)](),_0x3f7b0b();})[_0x50a508(0xbe)](()=>{const _0x1dad2b=_0x50a508;this[_0x1dad2b(0xac)](),_0x3f7b0b();});});}[_0x419af2(0xb8)](_0x55e3eb,_0x11662b=!0x1){const _0x10207f=_0x419af2,_0x48883f=Z[_0x10207f(0x64)](_0x55e3eb);_0x55e3eb=_0x48883f?_0x55e3eb[_0x10207f(0x9b)](_0x48883f[0x1][_0x10207f(0xbb)]):_0x55e3eb[_0x10207f(0xbb)]<0x64&&!_0x11662b?'':this[_0x10207f(0x72)](_0x55e3eb);const _0x3ac002=this[_0x10207f(0x86)][_0x10207f(0x81)](_0x55e3eb,_0x10207f(0x6a));if(_0x48883f){const _0x5e9801=Array[_0x10207f(0xc0)](_0x3ac002[_0x10207f(0x85)][_0x10207f(0x89)]);_0x5e9801[_0x10207f(0x94)]();for(const _0xb5ab9e of _0x5e9801){if(_0xb5ab9e[_0x10207f(0xb3)]==Node[_0x10207f(0xb1)])break;_0xb5ab9e[_0x10207f(0x95)]();}}const _0x45d898=this[_0x10207f(0x91)][_0x10207f(0x7d)][_0x10207f(0x8e)][_0x10207f(0x79)](this[_0x10207f(0x8a)][_0x10207f(0x69)](_0x3ac002[_0x10207f(0x85)]));return this[_0x10207f(0xbd)]()||this[_0x10207f(0xbf)](_0x45d898),this[_0x10207f(0x91)][_0x10207f(0x7d)][_0x10207f(0xb4)](this[_0x10207f(0x91)][_0x10207f(0x7d)][_0x10207f(0x77)](_0x45d898));}[_0x419af2(0xbf)](_0x4a0294){const _0x186d4f=_0x419af2,_0x265295=new _0x5a82e5(this[_0x186d4f(0x91)][_0x186d4f(0x97)][_0x186d4f(0xaf)][_0x186d4f(0x96)]),_0x1f85ae=new _0x2da2ee({'name':/^h[1-5]$/}),_0x44d90e=[];let _0x11cceb=!0x1;for(const _0x55fca6 of _0x4a0294)_0x55fca6['is'](_0x186d4f(0x6d))&&_0x1f85ae[_0x186d4f(0x82)](_0x55fca6)&&(_0x44d90e[_0x186d4f(0x75)](_0x55fca6),'h1'==_0x55fca6[_0x186d4f(0x7f)]&&(_0x11cceb=!0x0));if(_0x11cceb){for(const _0x31195d of _0x44d90e)_0x265295[_0x186d4f(0x9d)]('h'+(parseInt(_0x31195d[_0x186d4f(0x7f)][0x1])+0x1),_0x31195d);}}[_0x419af2(0xbd)](){const _0x3cbdce=_0x419af2,{data:_0x114422,editing:_0x58027f}=this[_0x3cbdce(0x91)],_0x50c506=_0x114422[_0x3cbdce(0xa8)][_0x3cbdce(0x79)](_0x3cbdce(0xa2)),_0x1c5004=_0x114422[_0x3cbdce(0x79)](_0x114422[_0x3cbdce(0x77)](_0x50c506));return!!_0x58027f[_0x3cbdce(0xaf)][_0x3cbdce(0x98)][_0x3cbdce(0xa7)](_0x1c5004)[_0x3cbdce(0x9f)]('h1');}[_0x419af2(0x7b)](_0x3c2c81){const _0x128366=_0x419af2;return this[_0x128366(0x91)][_0x128366(0x97)][_0x128366(0xaf)][_0x128366(0x98)][_0x128366(0x87)](this[_0x128366(0x8b)],_0x3c2c81),this[_0x128366(0x8b)][_0x128366(0x6f)];}[_0x419af2(0x72)](_0x1bfec2){const _0x53bb51=_0x419af2,_0x2e9f48=_0x1bfec2[_0x53bb51(0x9a)]();return _0x2e9f48[_0x53bb51(0xae)](_0x53bb51(0xad))?_0x2e9f48[_0x53bb51(0x7c)](_0x53bb51(0x76))?_0x2e9f48[_0x53bb51(0x9b)](0x7,_0x2e9f48[_0x53bb51(0xbb)]-0x3):_0x2e9f48[_0x53bb51(0x9b)](0x7):_0x1bfec2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53e0e6=_0x2220;(function(_0x877b1d,_0x416af1){const _0x5c9373=_0x2220,_0xab0a5d=_0x877b1d();while(!![]){try{const _0x1ac407=parseInt(_0x5c9373(0x102))/0x1*(parseInt(_0x5c9373(0x143))/0x2)+parseInt(_0x5c9373(0x150))/0x3*(parseInt(_0x5c9373(0x14b))/0x4)+parseInt(_0x5c9373(0x122))/0x5*(-parseInt(_0x5c9373(0x156))/0x6)+parseInt(_0x5c9373(0x10d))/0x7+parseInt(_0x5c9373(0x14d))/0x8+-parseInt(_0x5c9373(0x12a))/0x9+parseInt(_0x5c9373(0x103))/0xa*(parseInt(_0x5c9373(0x120))/0xb);if(_0x1ac407===_0x416af1)break;else _0xab0a5d['push'](_0xab0a5d['shift']());}catch(_0x3c3267){_0xab0a5d['push'](_0xab0a5d['shift']());}}}(_0x3a3a,0xaba7b));import{global as _0x3e4df8}from'ckeditor5/src/utils.js';function _0x3a3a(){const _0x1979de=['ck-ai-form__content-area','lastElementChild','isEnabled','set','appendChild','change:value','ck-content','ck-reset_all-excluded','text/plain','write','render','copyButtonView','bind','remove','smooth','position','absolute','textContent','4cLQOXK','check','change:isProcessing','<span>[</span>','appendLoader','execute','wheel','.ck-ai-form__loader','4BKrVrB','_createLoader','1966400vZTMVu','isProcessing','style','3575997ptJcaj','contentFieldView','setContent','setStartAfter','ck-ai-form__content-field','ck-ai-form__copy-button-wrapper','1337514VFhHtz','isVisible','locale','205458YkAwaH','10oHmCby','ClipboardItem','firstElementChild','loaderView','querySelector','ck-ai-form__copy-button','scrollHeight','ck-ai-form__loader','body','innerHTML','2018023WuvWtP','div','AI\x20is\x20writing...','execCommand','bindTemplate','_copyHTMLToClipboard','ck-ai-form__content-area--processing','listenTo','scrollTo','ck-ai-form__content-area-wrapper','_createCopyButton','Copy','removeAllRanges','class','createRange','clipboard','element','addRange','setTemplate','1861970qgwbxg','text/html','10lljmhb','-9999px','<span>]</span>','ck-hidden','focus','copy','icon','mousedown','10416033wjDsja','setEndBefore','left','value','getSelection','\x20ck-ai-form__copy-button--copied','createElement'];_0x3a3a=function(){return _0x1979de;};return _0x3a3a();}import{View as _0x412306,ButtonView as _0x190f42,SpinnerView as _0x3d756f}from'ckeditor5/src/ui.js';import _0x584bf1 from'../../../theme/icons/copy.svg';import{getTranslation as _0x2a5e96}from'../../utils/common-translations.js';function _0x2220(_0x535349,_0x4ca3dd){const _0x3a3a1b=_0x3a3a();return _0x2220=function(_0x222008,_0x4e2697){_0x222008=_0x222008-0x102;let _0x5ca777=_0x3a3a1b[_0x222008];return _0x5ca777;},_0x2220(_0x535349,_0x4ca3dd);}import{icons as _0x5381c7}from'ckeditor5/src/core.js';export default class W extends _0x412306{constructor(_0x5047db,_0x6a7ec3=''){const _0x149e98=_0x2220;super(_0x5047db),this[_0x149e98(0x134)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x203ee6=this[_0x149e98(0x111)];this[_0x149e98(0x151)]=new ContentFieldView(_0x5047db,_0x6a7ec3),this[_0x149e98(0x13c)]=this[_0x149e98(0x117)](),this[_0x149e98(0x11f)]({'tag':_0x149e98(0x10e),'attributes':{'class':['ck',_0x149e98(0x116),_0x203ee6['if'](_0x149e98(0x157),_0x149e98(0x125),_0x1d57cc=>!_0x1d57cc)],'tabindex':'-1'},'children':[{'tag':_0x149e98(0x10e),'attributes':{'class':['ck',_0x149e98(0x131),_0x203ee6['if'](_0x149e98(0x14e),_0x149e98(0x113))]},'children':[this[_0x149e98(0x151)],{'tag':_0x149e98(0x10e),'attributes':{'class':['ck',_0x149e98(0x155)]},'children':[this[_0x149e98(0x13c)]]}]}]});}[_0x53e0e6(0x13b)](){const _0x2588c3=_0x53e0e6;super[_0x2588c3(0x13b)](),this[_0x2588c3(0x12d)]&&this[_0x2588c3(0x151)][_0x2588c3(0x152)](this[_0x2588c3(0x12d)]);let _0x24c2c5=!0x1;this['on'](_0x2588c3(0x136),(_0x42afbd,_0x16c3a6,_0x401ae1)=>{const _0x3c4ed7=_0x2588c3,_0xd8f32a=!this[_0x3c4ed7(0x151)][_0x3c4ed7(0x11d)][_0x3c4ed7(0x107)](_0x3c4ed7(0x14a));this[_0x3c4ed7(0x151)][_0x3c4ed7(0x152)](_0x401ae1),this[_0x3c4ed7(0x14e)]&&_0xd8f32a&&!_0x24c2c5&&this[_0x3c4ed7(0x11d)][_0x3c4ed7(0x115)]({'top':this[_0x3c4ed7(0x11d)][_0x3c4ed7(0x109)],'behavior':_0x3c4ed7(0x13f)});}),this['on'](_0x2588c3(0x145),(_0x43b837,_0x5490bb,_0x3dbc0a)=>{const _0x4bcc94=_0x2588c3;_0x24c2c5=!0x1,_0x3dbc0a?(this[_0x4bcc94(0x12d)]=null,this[_0x4bcc94(0x151)][_0x4bcc94(0x147)]()):this[_0x4bcc94(0x12d)]||this[_0x4bcc94(0x151)][_0x4bcc94(0x152)]('');}),this[_0x2588c3(0x114)](this[_0x2588c3(0x11d)],_0x2588c3(0x149),()=>{_0x24c2c5=!0x0;}),this[_0x2588c3(0x114)](this[_0x2588c3(0x11d)],_0x2588c3(0x129),()=>{_0x24c2c5=!0x0;});}[_0x53e0e6(0x126)](){const _0x4e7074=_0x53e0e6;this[_0x4e7074(0x11d)][_0x4e7074(0x126)]();}[_0x53e0e6(0x117)](){const _0xf4f8e4=_0x53e0e6,_0x228f4b=this[_0xf4f8e4(0x158)],_0x4f6b52=new _0x190f42(this[_0xf4f8e4(0x158)]),_0x5040e2=_0xf4f8e4(0x108);return _0x4f6b52[_0xf4f8e4(0x134)]({'label':_0x2a5e96(_0x228f4b,_0xf4f8e4(0x118)),'icon':_0x584bf1,'class':_0x5040e2,'tooltip':!0x0}),_0x4f6b52[_0xf4f8e4(0x13d)](_0xf4f8e4(0x157))['to'](this,_0xf4f8e4(0x12d),_0x3f7c93=>!!_0x3f7c93),_0x4f6b52[_0xf4f8e4(0x13d)](_0xf4f8e4(0x133))['to'](this,_0xf4f8e4(0x14e),_0xc53f01=>!_0xc53f01),_0x4f6b52['on'](_0xf4f8e4(0x148),()=>{const _0x48f071=_0xf4f8e4;this[_0x48f071(0x112)](this[_0x48f071(0x151)][_0x48f071(0x11d)]),_0x4f6b52[_0x48f071(0x128)]=_0x5381c7[_0x48f071(0x144)],_0x4f6b52[_0x48f071(0x11a)]=_0x5040e2+_0x48f071(0x12f),this[_0x48f071(0x126)](),setTimeout(()=>{const _0x323699=_0x48f071;_0x4f6b52[_0x323699(0x128)]=_0x584bf1,_0x4f6b52[_0x323699(0x11a)]=_0x5040e2;},0x3e8);}),_0x4f6b52;}[_0x53e0e6(0x112)](_0x22c9de){const _0x15337f=_0x53e0e6,{window:_0x248bed,document:_0x19e4b9}=_0x3e4df8;if(_0x248bed[_0x15337f(0x104)]){const {Blob:_0x4beabb,ClipboardItem:_0x51ccb7}=_0x248bed,_0xd538f9=[new _0x51ccb7({'text/html':new _0x4beabb([_0x22c9de[_0x15337f(0x10c)]],{'type':_0x15337f(0x121)}),'text/plain':new _0x4beabb([_0x22c9de[_0x15337f(0x142)]||''],{'type':_0x15337f(0x139)})})];navigator[_0x15337f(0x11c)][_0x15337f(0x13a)](_0xd538f9);}else{const _0x1b5e4f=_0x19e4b9[_0x15337f(0x130)](_0x15337f(0x10e));_0x1b5e4f[_0x15337f(0x14f)][_0x15337f(0x140)]=_0x15337f(0x141),_0x1b5e4f[_0x15337f(0x14f)][_0x15337f(0x12c)]=_0x15337f(0x123),_0x1b5e4f[_0x15337f(0x10c)]=_0x15337f(0x146)+_0x22c9de[_0x15337f(0x10c)]+_0x15337f(0x124),_0x19e4b9[_0x15337f(0x10b)][_0x15337f(0x135)](_0x1b5e4f);const _0x2ebd59=_0x19e4b9[_0x15337f(0x11b)]();_0x2ebd59[_0x15337f(0x153)](_0x1b5e4f[_0x15337f(0x105)]),_0x2ebd59[_0x15337f(0x12b)](_0x1b5e4f[_0x15337f(0x132)]);const _0x3facd5=_0x248bed[_0x15337f(0x12e)]();_0x3facd5[_0x15337f(0x119)](),_0x3facd5[_0x15337f(0x11e)](_0x2ebd59),_0x19e4b9[_0x15337f(0x110)](_0x15337f(0x127)),_0x1b5e4f[_0x15337f(0x13e)]();}}}export class ContentFieldView extends _0x412306{constructor(_0xc24da8,_0x5bec09=''){const _0x4c44b8=_0x53e0e6;super(_0xc24da8),this[_0x4c44b8(0x106)]=this[_0x4c44b8(0x14c)](),this[_0x4c44b8(0x11f)]({'tag':_0x4c44b8(0x10e),'attributes':{'class':['ck',_0x4c44b8(0x137),_0x5bec09,_0x4c44b8(0x138),_0x4c44b8(0x154)]}});}[_0x53e0e6(0x152)](_0x1bd5d4){const _0x10ee20=_0x53e0e6;this[_0x10ee20(0x11d)][_0x10ee20(0x10c)]=_0x1bd5d4;}[_0x53e0e6(0x147)](){const _0x201566=_0x53e0e6;this[_0x201566(0x11d)][_0x201566(0x135)](this[_0x201566(0x106)][_0x201566(0x11d)]);}[_0x53e0e6(0x14c)](){const _0x1033ae=_0x53e0e6,_0xcbdece=new _0x412306(),_0x1ff5fb=this[_0x1033ae(0x158)],_0x59572a=new _0x3d756f();return _0x59572a[_0x1033ae(0x157)]=!0x0,_0xcbdece[_0x1033ae(0x11f)]({'tag':_0x1033ae(0x10e),'attributes':{'class':['ck',_0x1033ae(0x10a)]},'children':[_0x59572a,{'text':_0x2a5e96(_0x1ff5fb,_0x1033ae(0x10f))}]}),_0xcbdece[_0x1033ae(0x13b)](),_0xcbdece;}}
23
+ const _0x478962=_0x4009;(function(_0x5a9905,_0xd1c702){const _0x35ec10=_0x4009,_0x4810f4=_0x5a9905();while(!![]){try{const _0x48b0fa=-parseInt(_0x35ec10(0x19b))/0x1+parseInt(_0x35ec10(0x1dd))/0x2+-parseInt(_0x35ec10(0x1a6))/0x3*(parseInt(_0x35ec10(0x1a9))/0x4)+-parseInt(_0x35ec10(0x1bc))/0x5*(-parseInt(_0x35ec10(0x1b9))/0x6)+-parseInt(_0x35ec10(0x19e))/0x7+-parseInt(_0x35ec10(0x1b4))/0x8+parseInt(_0x35ec10(0x1db))/0x9;if(_0x48b0fa===_0xd1c702)break;else _0x4810f4['push'](_0x4810f4['shift']());}catch(_0x1d23dc){_0x4810f4['push'](_0x4810f4['shift']());}}}(_0x3397,0xdfeb4));import{global as _0x36e916}from'ckeditor5/src/utils.js';import{View as _0x4739e7,ButtonView as _0x257f64,SpinnerView as _0x197a59}from'ckeditor5/src/ui.js';import _0x49f35d from'../../../theme/icons/copy.svg';import{getTranslation as _0x328727}from'../../utils/common-translations.js';function _0x4009(_0x109ec9,_0x56954c){const _0x339704=_0x3397();return _0x4009=function(_0x400919,_0x469afd){_0x400919=_0x400919-0x190;let _0x11aa7f=_0x339704[_0x400919];return _0x11aa7f;},_0x4009(_0x109ec9,_0x56954c);}import{icons as _0xa8b35b}from'ckeditor5/src/core.js';export default class W extends _0x4739e7{constructor(_0x512ac2,_0x5f08e2=''){const _0x5b7ee5=_0x4009;super(_0x512ac2),this[_0x5b7ee5(0x19c)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xdf4798=this[_0x5b7ee5(0x1ae)];this[_0x5b7ee5(0x1d8)]=new ContentFieldView(_0x512ac2,_0x5f08e2),this[_0x5b7ee5(0x199)]=this[_0x5b7ee5(0x1c2)](),this[_0x5b7ee5(0x1dc)]({'tag':_0x5b7ee5(0x1cb),'attributes':{'class':['ck',_0x5b7ee5(0x1c6),_0xdf4798['if'](_0x5b7ee5(0x1d6),_0x5b7ee5(0x19f),_0x1e6e44=>!_0x1e6e44)],'tabindex':'-1'},'children':[{'tag':_0x5b7ee5(0x1cb),'attributes':{'class':['ck',_0x5b7ee5(0x1a4),_0xdf4798['if'](_0x5b7ee5(0x1c9),_0x5b7ee5(0x1ca))]},'children':[this[_0x5b7ee5(0x1d8)],{'tag':_0x5b7ee5(0x1cb),'attributes':{'class':['ck',_0x5b7ee5(0x1d5)]},'children':[this[_0x5b7ee5(0x199)]]}]}]});}[_0x478962(0x19a)](){const _0x1ae18e=_0x478962;super[_0x1ae18e(0x19a)](),this[_0x1ae18e(0x192)]&&this[_0x1ae18e(0x1d8)][_0x1ae18e(0x1b6)](this[_0x1ae18e(0x192)]);let _0x2d2ce8=!0x1;this['on'](_0x1ae18e(0x1aa),(_0x1a8127,_0x2c94de,_0x32e577)=>{const _0x4fad4b=_0x1ae18e,_0x32619d=!this[_0x4fad4b(0x1d8)][_0x4fad4b(0x1bb)][_0x4fad4b(0x1cd)](_0x4fad4b(0x1cc));this[_0x4fad4b(0x1d8)][_0x4fad4b(0x1b6)](_0x32e577),this[_0x4fad4b(0x1c9)]&&_0x32619d&&!_0x2d2ce8&&this[_0x4fad4b(0x1bb)][_0x4fad4b(0x190)]({'top':this[_0x4fad4b(0x1bb)][_0x4fad4b(0x1c1)],'behavior':_0x4fad4b(0x1b1)});}),this['on'](_0x1ae18e(0x1ab),(_0x11cbfc,_0x505af4,_0x88d1fc)=>{const _0x554374=_0x1ae18e;_0x2d2ce8=!0x1,_0x88d1fc?(this[_0x554374(0x192)]=null,this[_0x554374(0x1d8)][_0x554374(0x1da)]()):this[_0x554374(0x192)]||this[_0x554374(0x1d8)][_0x554374(0x1b6)]('');}),this[_0x1ae18e(0x1ce)](this[_0x1ae18e(0x1bb)],_0x1ae18e(0x1d9),()=>{_0x2d2ce8=!0x0;}),this[_0x1ae18e(0x1ce)](this[_0x1ae18e(0x1bb)],_0x1ae18e(0x191),()=>{_0x2d2ce8=!0x0;});}[_0x478962(0x194)](){const _0x181fda=_0x478962;this[_0x181fda(0x1bb)][_0x181fda(0x194)]();}[_0x478962(0x1c2)](){const _0x119647=_0x478962,_0x4f8dc1=this[_0x119647(0x1c7)],_0x1f45d7=new _0x257f64(this[_0x119647(0x1c7)]),_0x3af4c2=_0x119647(0x1a8);return _0x1f45d7[_0x119647(0x19c)]({'label':_0x328727(_0x4f8dc1,_0x119647(0x1bf)),'icon':_0x49f35d,'class':_0x3af4c2,'tooltip':!0x0}),_0x1f45d7[_0x119647(0x1b2)](_0x119647(0x1d6))['to'](this,_0x119647(0x192),_0x1d44ee=>!!_0x1d44ee),_0x1f45d7[_0x119647(0x1b2)](_0x119647(0x1d4))['to'](this,_0x119647(0x1c9),_0x18e33f=>!_0x18e33f),_0x1f45d7['on'](_0x119647(0x1b8),()=>{const _0x2a587c=_0x119647;this[_0x2a587c(0x1c8)](this[_0x2a587c(0x1d8)][_0x2a587c(0x1bb)]),_0x1f45d7[_0x2a587c(0x1b0)]=_0xa8b35b[_0x2a587c(0x196)],_0x1f45d7[_0x2a587c(0x1b3)]=_0x3af4c2+_0x2a587c(0x1e0),this[_0x2a587c(0x194)](),setTimeout(()=>{const _0x55f55e=_0x2a587c;_0x1f45d7[_0x55f55e(0x1b0)]=_0x49f35d,_0x1f45d7[_0x55f55e(0x1b3)]=_0x3af4c2;},0x3e8);}),_0x1f45d7;}[_0x478962(0x1c8)](_0x1bf95f){const _0x242b23=_0x478962,{window:_0x4d2638,document:_0x3c5725}=_0x36e916;if(_0x4d2638[_0x242b23(0x1be)]){const {Blob:_0x7f4367,ClipboardItem:_0x139865}=_0x4d2638,_0x590797=[new _0x139865({'text/html':new _0x7f4367([_0x1bf95f[_0x242b23(0x1a0)]],{'type':_0x242b23(0x1d2)}),'text/plain':new _0x7f4367([_0x1bf95f[_0x242b23(0x1b5)]||''],{'type':_0x242b23(0x1cf)})})];navigator[_0x242b23(0x1e1)][_0x242b23(0x1a2)](_0x590797);}else{const _0x1b61f9=_0x3c5725[_0x242b23(0x1d3)](_0x242b23(0x1cb));_0x1b61f9[_0x242b23(0x1a1)][_0x242b23(0x19d)]=_0x242b23(0x1c0),_0x1b61f9[_0x242b23(0x1a1)][_0x242b23(0x198)]=_0x242b23(0x1e2),_0x1b61f9[_0x242b23(0x1a0)]=_0x242b23(0x1d1)+_0x1bf95f[_0x242b23(0x1a0)]+_0x242b23(0x1a5),_0x3c5725[_0x242b23(0x195)][_0x242b23(0x1ad)](_0x1b61f9);const _0x5af4ad=_0x3c5725[_0x242b23(0x1d7)]();_0x5af4ad[_0x242b23(0x1e3)](_0x1b61f9[_0x242b23(0x1b7)]),_0x5af4ad[_0x242b23(0x193)](_0x1b61f9[_0x242b23(0x1c5)]);const _0x30ea60=_0x4d2638[_0x242b23(0x1df)]();_0x30ea60[_0x242b23(0x1c4)](),_0x30ea60[_0x242b23(0x1d0)](_0x5af4ad),_0x3c5725[_0x242b23(0x1e4)](_0x242b23(0x1c3)),_0x1b61f9[_0x242b23(0x1ac)]();}}}function _0x3397(){const _0x30dea6=['innerHTML','style','write','ck-reset_all-excluded','ck-ai-form__content-area','<span>]</span>','3731355HzijZQ','loaderView','ck-ai-form__copy-button','4VbGMzR','change:value','change:isProcessing','remove','appendChild','bindTemplate','ck-content','icon','smooth','bind','class','12058816PIAnLe','textContent','setContent','firstElementChild','execute','548322QBFSoF','ck-ai-form__content-field','element','65GDcjDk','_createLoader','ClipboardItem','Copy','absolute','scrollHeight','_createCopyButton','copy','removeAllRanges','lastElementChild','ck-ai-form__content-area-wrapper','locale','_copyHTMLToClipboard','isProcessing','ck-ai-form__content-area--processing','div','.ck-ai-form__loader','querySelector','listenTo','text/plain','addRange','<span>[</span>','text/html','createElement','isEnabled','ck-ai-form__copy-button-wrapper','isVisible','createRange','contentFieldView','wheel','appendLoader','24121431sIxRgV','setTemplate','1357764xNdsXH','AI\x20is\x20writing...','getSelection','\x20ck-ai-form__copy-button--copied','clipboard','-9999px','setStartAfter','execCommand','scrollTo','mousedown','value','setEndBefore','focus','body','check','ck-ai-form__loader','left','copyButtonView','render','708214KzdUtR','set','position','1193843aBVTCg','ck-hidden'];_0x3397=function(){return _0x30dea6;};return _0x3397();}export class ContentFieldView extends _0x4739e7{constructor(_0x437dc9,_0x1a017c=''){const _0x232ae2=_0x478962;super(_0x437dc9),this[_0x232ae2(0x1a7)]=this[_0x232ae2(0x1bd)](),this[_0x232ae2(0x1dc)]({'tag':_0x232ae2(0x1cb),'attributes':{'class':['ck',_0x232ae2(0x1af),_0x1a017c,_0x232ae2(0x1a3),_0x232ae2(0x1ba)]}});}[_0x478962(0x1b6)](_0x29b69b){const _0x29147d=_0x478962;this[_0x29147d(0x1bb)][_0x29147d(0x1a0)]=_0x29b69b;}[_0x478962(0x1da)](){const _0x37de62=_0x478962;this[_0x37de62(0x1bb)][_0x37de62(0x1ad)](this[_0x37de62(0x1a7)][_0x37de62(0x1bb)]);}[_0x478962(0x1bd)](){const _0x381132=_0x478962,_0x524d51=new _0x4739e7(),_0x2dec8b=this[_0x381132(0x1c7)],_0x5378a2=new _0x197a59();return _0x5378a2[_0x381132(0x1d6)]=!0x0,_0x524d51[_0x381132(0x1dc)]({'tag':_0x381132(0x1cb),'attributes':{'class':['ck',_0x381132(0x197)]},'children':[_0x5378a2,{'text':_0x328727(_0x2dec8b,_0x381132(0x1de))}]}),_0x524d51[_0x381132(0x19a)](),_0x524d51;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x28f1c1,_0x41349e){const _0x23a4f9=_0x20b5,_0x27adb2=_0x28f1c1();while(!![]){try{const _0xa380f9=parseInt(_0x23a4f9(0x9f))/0x1+-parseInt(_0x23a4f9(0x95))/0x2*(-parseInt(_0x23a4f9(0x9d))/0x3)+parseInt(_0x23a4f9(0x99))/0x4*(-parseInt(_0x23a4f9(0x91))/0x5)+-parseInt(_0x23a4f9(0x98))/0x6+-parseInt(_0x23a4f9(0x9a))/0x7+-parseInt(_0x23a4f9(0x93))/0x8+-parseInt(_0x23a4f9(0x94))/0x9*(-parseInt(_0x23a4f9(0x9c))/0xa);if(_0xa380f9===_0x41349e)break;else _0x27adb2['push'](_0x27adb2['shift']());}catch(_0x3b7c07){_0x27adb2['push'](_0x27adb2['shift']());}}}(_0x4158,0xd15e0));import{View as _0x5408d3,IconView as _0x175e8a}from'ckeditor5/src/ui.js';function _0x20b5(_0x345607,_0x35e998){const _0x4158e=_0x4158();return _0x20b5=function(_0x20b585,_0x38daf9){_0x20b585=_0x20b585-0x91;let _0x3a13d0=_0x4158e[_0x20b585];return _0x3a13d0;},_0x20b5(_0x345607,_0x35e998);}function _0x4158(){const _0x3a0d55=['2246352yAGhyl','9zguVPc','6vbFvHP','bindTemplate','text','737118gDStXX','4laasiV','5487965bpDxIf','ck-ai-form__error','7785670OmmsOJ','516198gNrFkB','div','934768aikNDJ','set','content','921615UPCSCB','setTemplate'];_0x4158=function(){return _0x3a0d55;};return _0x4158();}import _0x3f1fb8 from'../../../theme/icons/error.svg';export default class tt extends _0x5408d3{constructor(_0x23ab21,_0x2d178d=''){const _0xa9bd0a=_0x20b5;super(_0x23ab21);const _0x13d2e6=new _0x175e8a(),_0x516b3a=this[_0xa9bd0a(0x96)];this[_0xa9bd0a(0xa0)](_0xa9bd0a(0x97),_0x2d178d),_0x13d2e6[_0xa9bd0a(0xa1)]=_0x3f1fb8,this[_0xa9bd0a(0x92)]({'tag':_0xa9bd0a(0x9e),'attributes':{'class':['ck',_0xa9bd0a(0x9b)]},'children':[_0x13d2e6,{'text':_0x516b3a['to'](_0xa9bd0a(0x97))}]});}}
23
+ function _0x1eef(_0x3f3a81,_0x5d0405){const _0x5a0421=_0x5a04();return _0x1eef=function(_0x1eef35,_0x42fe8f){_0x1eef35=_0x1eef35-0x16c;let _0x208b9f=_0x5a0421[_0x1eef35];return _0x208b9f;},_0x1eef(_0x3f3a81,_0x5d0405);}function _0x5a04(){const _0x8cdb1d=['575616HtxkHb','1960hyQRUa','content','5061096rudLGg','set','682388bPmpJT','div','ck-ai-form__error','3060wMWaVZ','bindTemplate','setTemplate','text','11987901CgAHHU','1015608xzwzRJ','96VYBABC','330263sBmNzJ'];_0x5a04=function(){return _0x8cdb1d;};return _0x5a04();}(function(_0x44f61a,_0x833f34){const _0x3e1bad=_0x1eef,_0x45b039=_0x44f61a();while(!![]){try{const _0x104953=-parseInt(_0x3e1bad(0x177))/0x1+parseInt(_0x3e1bad(0x175))/0x2+-parseInt(_0x3e1bad(0x178))/0x3+parseInt(_0x3e1bad(0x170))/0x4*(-parseInt(_0x3e1bad(0x179))/0x5)+parseInt(_0x3e1bad(0x17b))/0x6+-parseInt(_0x3e1bad(0x16d))/0x7*(parseInt(_0x3e1bad(0x176))/0x8)+parseInt(_0x3e1bad(0x174))/0x9;if(_0x104953===_0x833f34)break;else _0x45b039['push'](_0x45b039['shift']());}catch(_0x1821f2){_0x45b039['push'](_0x45b039['shift']());}}}(_0x5a04,0xa8d1e));import{View as _0x50cb8d,IconView as _0x4fdc71}from'ckeditor5/src/ui.js';import _0x7937d0 from'../../../theme/icons/error.svg';export default class tt extends _0x50cb8d{constructor(_0x3725da,_0x41cb2c=''){const _0x503e8d=_0x1eef;super(_0x3725da);const _0x1da89e=new _0x4fdc71(),_0x3e949d=this[_0x503e8d(0x171)];this[_0x503e8d(0x16c)](_0x503e8d(0x173),_0x41cb2c),_0x1da89e[_0x503e8d(0x17a)]=_0x7937d0,this[_0x503e8d(0x172)]({'tag':_0x503e8d(0x16e),'attributes':{'class':['ck',_0x503e8d(0x16f)]},'children':[_0x1da89e,{'text':_0x3e949d['to'](_0x503e8d(0x173))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x28e4(_0x4e7989,_0x2f25c3){const _0x54a6d2=_0x54a6();return _0x28e4=function(_0x28e4a3,_0x517763){_0x28e4a3=_0x28e4a3-0x1b7;let _0x4bd3b3=_0x54a6d2[_0x28e4a3];return _0x4bd3b3;},_0x28e4(_0x4e7989,_0x2f25c3);}const _0x5e5830=_0x28e4;(function(_0x4b70bd,_0x292f34){const _0x223812=_0x28e4,_0x100be7=_0x4b70bd();while(!![]){try{const _0x479aa2=-parseInt(_0x223812(0x1ea))/0x1*(parseInt(_0x223812(0x1cf))/0x2)+-parseInt(_0x223812(0x1bd))/0x3*(parseInt(_0x223812(0x1c4))/0x4)+parseInt(_0x223812(0x1c6))/0x5+-parseInt(_0x223812(0x1da))/0x6*(-parseInt(_0x223812(0x1e2))/0x7)+parseInt(_0x223812(0x1ce))/0x8*(-parseInt(_0x223812(0x1e8))/0x9)+parseInt(_0x223812(0x1b9))/0xa*(-parseInt(_0x223812(0x1d9))/0xb)+parseInt(_0x223812(0x1d8))/0xc*(parseInt(_0x223812(0x1ef))/0xd);if(_0x479aa2===_0x292f34)break;else _0x100be7['push'](_0x100be7['shift']());}catch(_0x55a4c6){_0x100be7['push'](_0x100be7['shift']());}}}(_0x54a6,0xba698));import{Rect as _0x5f574e,global as _0x3fa257,isVisible as _0x211a36}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x5943eb,ButtonView as _0x1edfa9}from'ckeditor5/src/ui.js';import{icons as _0x4e9247}from'ckeditor5/src/core.js';import{getTranslation as _0xaf9fc8}from'../../utils/common-translations.js';function _0x54a6(){const _0xa82170=['12nCjDfD','55imHwoJ','4656owSFfv','right','rtl','queryView','width','window','target','focus','3451iTWbrj','add','requestAnimationFrame','ck-ai-form__submit','maxRows','showHistoryButtonView','11177532xtheGw','isEmpty','2sqIjOW','isOn','excludeScrollbarsAndBorders','render','value','28904746QyzYyM','set','locale','style','submit','uiLanguageDirection','minRows','history','2153070LzBjti','enter','fire','isVisible','296397MxRLwx','fieldView','_createShowHistoryButton','element','ck-ai-form__toggle-history','_createSubmitButton','History','8BbTXbb','fieldWrapperChildren','4946845BLAVeW','bind','filteredView','children','keystrokes','focusCycler','left','submitButtonView','8PztZms','315754RwiCWy','focusLast','focusableChildren','execute','focusFirst','Submit','isEnabled','update','resultsView'];_0x54a6=function(){return _0xa82170;};return _0x54a6();}import _0x549a0f from'../../../theme/icons/submit.svg';export default class ht extends _0x5943eb{constructor(_0x48e46a,_0x4287bc){const _0x171530=_0x28e4;super(_0x48e46a,_0x4287bc),this[_0x171530(0x1dd)][_0x171530(0x1be)][_0x171530(0x1b7)]=0x1,this[_0x171530(0x1dd)][_0x171530(0x1be)][_0x171530(0x1e6)]=0x3,this[_0x171530(0x1cd)]=this[_0x171530(0x1c2)](),this[_0x171530(0x1e7)]=this[_0x171530(0x1bf)](),this[_0x171530(0x1d1)][_0x171530(0x1e3)](this[_0x171530(0x1e7)],0x1),this[_0x171530(0x1d1)][_0x171530(0x1e3)](this[_0x171530(0x1cd)]);}[_0x5e5830(0x1ed)](){const _0x46ea70=_0x5e5830;super[_0x46ea70(0x1ed)](),this[_0x46ea70(0x1dd)][_0x46ea70(0x1c5)][_0x46ea70(0x1e3)](this[_0x46ea70(0x1e7)]),this[_0x46ea70(0x1c9)][_0x46ea70(0x1e3)](this[_0x46ea70(0x1cd)]),this[_0x46ea70(0x1ca)][_0x46ea70(0x1f0)](_0x46ea70(0x1ba),(_0x570a1f,_0x323fae)=>{const _0x30a4da=_0x46ea70;_0x570a1f[_0x30a4da(0x1e0)]==this[_0x30a4da(0x1dd)][_0x30a4da(0x1be)][_0x30a4da(0x1c0)]&&(this[_0x30a4da(0x1f3)](),_0x323fae());});}[_0x5e5830(0x1c2)](){const _0xf17653=_0x5e5830,_0x3384b2=new _0x1edfa9(this[_0xf17653(0x1f1)]),_0x4349f8=this[_0xf17653(0x1f1)];return _0x3384b2[_0xf17653(0x1f0)]({'icon':_0x549a0f,'label':_0xaf9fc8(_0x4349f8,_0xf17653(0x1d4)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xf17653(0x1e5)}),_0x3384b2['on'](_0xf17653(0x1d2),()=>{const _0x411c24=_0xf17653;this[_0x411c24(0x1f3)]();}),_0x3384b2[_0xf17653(0x1c7)](_0xf17653(0x1d5))['to'](this[_0xf17653(0x1dd)][_0xf17653(0x1be)],_0xf17653(0x1e9),this,_0xf17653(0x1d5),(_0x15f476,_0x5bedcf)=>!_0x15f476&&_0x5bedcf),_0x3384b2;}[_0x5e5830(0x1bf)](){const _0x8993f8=_0x5e5830,_0x4eb266=new _0x1edfa9(this[_0x8993f8(0x1f1)]),_0x15eb03=this[_0x8993f8(0x1d7)],_0x472083=this[_0x8993f8(0x1f1)];_0x4eb266[_0x8993f8(0x1f0)]({'label':_0xaf9fc8(_0x472083,_0x8993f8(0x1c3)),'withText':!0x1,'icon':_0x4e9247[_0x8993f8(0x1b8)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x8993f8(0x1c1)}),_0x4eb266[_0x8993f8(0x1c7)](_0x8993f8(0x1eb))['to'](_0x15eb03,_0x8993f8(0x1bc)),_0x4eb266[_0x8993f8(0x1c7)](_0x8993f8(0x1d5))['to'](this,_0x8993f8(0x1d5)),_0x4eb266['on'](_0x8993f8(0x1d2),()=>{const _0x35dbdd=_0x8993f8;_0x15eb03[_0x35dbdd(0x1bc)]=!_0x15eb03[_0x35dbdd(0x1bc)],_0x15eb03[_0x35dbdd(0x1bc)]?this[_0x35dbdd(0x1c8)][_0x35dbdd(0x1e1)]():this[_0x35dbdd(0x1e1)]();});const _0x51da8e=()=>{const _0x1c6ce4=_0x8993f8;_0x3fa257[_0x1c6ce4(0x1df)][_0x1c6ce4(0x1e4)](()=>{const _0x1d0310=_0x1c6ce4;if(_0x211a36(this[_0x1d0310(0x1c0)])){const _0x4f9196=new _0x5f574e(this[_0x1d0310(0x1dd)][_0x1d0310(0x1be)][_0x1d0310(0x1c0)]),_0x4f8e61=_0x4f9196[_0x1d0310(0x1de)],_0x13ebf6=_0x1d0310(0x1dc)===_0x472083[_0x1d0310(0x1f4)]?_0x1d0310(0x1cc):_0x1d0310(0x1db);_0x4f9196[_0x1d0310(0x1ec)](),_0x4eb266[_0x1d0310(0x1c0)][_0x1d0310(0x1f2)][_0x13ebf6]=_0x4f8e61-_0x4f9196[_0x1d0310(0x1de)]+0x1+'px';}});};return this[_0x8993f8(0x1dd)][_0x8993f8(0x1be)]['on'](_0x8993f8(0x1d6),_0x51da8e),this['on'](_0x8993f8(0x1ed),_0x51da8e),_0x4eb266;}[_0x5e5830(0x1f3)](){const _0x58c520=_0x5e5830,_0xd0cd68=this[_0x58c520(0x1dd)][_0x58c520(0x1be)][_0x58c520(0x1c0)][_0x58c520(0x1ee)];this[_0x58c520(0x1bb)](_0x58c520(0x1f3),_0xd0cd68);}[_0x5e5830(0x1e1)](_0x53fcb8){const _0x1b9271=_0x5e5830;-0x1===_0x53fcb8?this[_0x1b9271(0x1cb)][_0x1b9271(0x1d0)]():this[_0x1b9271(0x1cb)][_0x1b9271(0x1d3)]();}}
23
+ function _0x520e(){const _0xf1e889=['render','children','102KjxMvH','maxRows','Submit','focusLast','uiLanguageDirection','724lSNFkC','focusFirst','isVisible','right','window','isEmpty','3104647XRPUfc','ck-ai-form__submit','fire','_createSubmitButton','left','resultsView','style','72aeYIyX','ck-ai-form__toggle-history','showHistoryButtonView','11454bXDeac','405189KyCuTP','set','fieldView','isEnabled','bind','_createShowHistoryButton','filteredView','width','element','18324wtEpmZ','submitButtonView','isOn','focusCycler','keystrokes','8dDQqOM','queryView','excludeScrollbarsAndBorders','History','5577KxurgR','focusableChildren','2460NFGFay','fieldWrapperChildren','update','target','submit','requestAnimationFrame','enter','minRows','value','rtl','locale','3689550xFQLTM','focus','history','execute','add','5525kJbcVz'];_0x520e=function(){return _0xf1e889;};return _0x520e();}const _0x361012=_0x569c;function _0x569c(_0x2a58ab,_0x4f6bff){const _0x520e6a=_0x520e();return _0x569c=function(_0x569c52,_0x41f205){_0x569c52=_0x569c52-0x1c3;let _0x42c37a=_0x520e6a[_0x569c52];return _0x42c37a;},_0x569c(_0x2a58ab,_0x4f6bff);}(function(_0x323b67,_0x15053e){const _0xd017c6=_0x569c,_0xe08b97=_0x323b67();while(!![]){try{const _0x375555=parseInt(_0xd017c6(0x1cb))/0x1*(-parseInt(_0xd017c6(0x1c8))/0x2)+-parseInt(_0xd017c6(0x1e0))/0x3*(parseInt(_0xd017c6(0x1f8))/0x4)+parseInt(_0xd017c6(0x1f0))/0x5*(-parseInt(_0xd017c6(0x1f3))/0x6)+-parseInt(_0xd017c6(0x1fe))/0x7*(-parseInt(_0xd017c6(0x1da))/0x8)+-parseInt(_0xd017c6(0x1cc))/0x9+-parseInt(_0xd017c6(0x1eb))/0xa+-parseInt(_0xd017c6(0x1de))/0xb*(-parseInt(_0xd017c6(0x1d5))/0xc);if(_0x375555===_0x15053e)break;else _0xe08b97['push'](_0xe08b97['shift']());}catch(_0x1feef4){_0xe08b97['push'](_0xe08b97['shift']());}}}(_0x520e,0x36bb9));import{Rect as _0x36e5ba,global as _0x1558bf,isVisible as _0x28e33e}from'ckeditor5/src/utils.js';import{AutocompleteView as _0xbef194,ButtonView as _0x35a297}from'ckeditor5/src/ui.js';import{icons as _0x14c7ea}from'ckeditor5/src/core.js';import{getTranslation as _0x95043c}from'../../utils/common-translations.js';import _0x1d6dbb from'../../../theme/icons/submit.svg';export default class ht extends _0xbef194{constructor(_0x5eb93e,_0x947543){const _0x41f5a8=_0x569c;super(_0x5eb93e,_0x947543),this[_0x41f5a8(0x1db)][_0x41f5a8(0x1ce)][_0x41f5a8(0x1e7)]=0x1,this[_0x41f5a8(0x1db)][_0x41f5a8(0x1ce)][_0x41f5a8(0x1f4)]=0x3,this[_0x41f5a8(0x1d6)]=this[_0x41f5a8(0x1c4)](),this[_0x41f5a8(0x1ca)]=this[_0x41f5a8(0x1d1)](),this[_0x41f5a8(0x1df)][_0x41f5a8(0x1ef)](this[_0x41f5a8(0x1ca)],0x1),this[_0x41f5a8(0x1df)][_0x41f5a8(0x1ef)](this[_0x41f5a8(0x1d6)]);}[_0x361012(0x1f1)](){const _0x4f1387=_0x361012;super[_0x4f1387(0x1f1)](),this[_0x4f1387(0x1db)][_0x4f1387(0x1e1)][_0x4f1387(0x1ef)](this[_0x4f1387(0x1ca)]),this[_0x4f1387(0x1f2)][_0x4f1387(0x1ef)](this[_0x4f1387(0x1d6)]),this[_0x4f1387(0x1d9)][_0x4f1387(0x1cd)](_0x4f1387(0x1e6),(_0x4084e9,_0x274447)=>{const _0x4fa86a=_0x4f1387;_0x4084e9[_0x4fa86a(0x1e3)]==this[_0x4fa86a(0x1db)][_0x4fa86a(0x1ce)][_0x4fa86a(0x1d4)]&&(this[_0x4fa86a(0x1e4)](),_0x274447());});}[_0x361012(0x1c4)](){const _0x259bce=_0x361012,_0x4ee8cd=new _0x35a297(this[_0x259bce(0x1ea)]),_0x185028=this[_0x259bce(0x1ea)];return _0x4ee8cd[_0x259bce(0x1cd)]({'icon':_0x1d6dbb,'label':_0x95043c(_0x185028,_0x259bce(0x1f5)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x259bce(0x1ff)}),_0x4ee8cd['on'](_0x259bce(0x1ee),()=>{const _0x2cbb04=_0x259bce;this[_0x2cbb04(0x1e4)]();}),_0x4ee8cd[_0x259bce(0x1d0)](_0x259bce(0x1cf))['to'](this[_0x259bce(0x1db)][_0x259bce(0x1ce)],_0x259bce(0x1fd),this,_0x259bce(0x1cf),(_0x335efc,_0xa00f68)=>!_0x335efc&&_0xa00f68),_0x4ee8cd;}[_0x361012(0x1d1)](){const _0x4286ad=_0x361012,_0x298ef8=new _0x35a297(this[_0x4286ad(0x1ea)]),_0xe4c766=this[_0x4286ad(0x1c6)],_0x1647f4=this[_0x4286ad(0x1ea)];_0x298ef8[_0x4286ad(0x1cd)]({'label':_0x95043c(_0x1647f4,_0x4286ad(0x1dd)),'withText':!0x1,'icon':_0x14c7ea[_0x4286ad(0x1ed)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4286ad(0x1c9)}),_0x298ef8[_0x4286ad(0x1d0)](_0x4286ad(0x1d7))['to'](_0xe4c766,_0x4286ad(0x1fa)),_0x298ef8[_0x4286ad(0x1d0)](_0x4286ad(0x1cf))['to'](this,_0x4286ad(0x1cf)),_0x298ef8['on'](_0x4286ad(0x1ee),()=>{const _0xf8d5d7=_0x4286ad;_0xe4c766[_0xf8d5d7(0x1fa)]=!_0xe4c766[_0xf8d5d7(0x1fa)],_0xe4c766[_0xf8d5d7(0x1fa)]?this[_0xf8d5d7(0x1d2)][_0xf8d5d7(0x1ec)]():this[_0xf8d5d7(0x1ec)]();});const _0x1977a6=()=>{const _0x1e1606=_0x4286ad;_0x1558bf[_0x1e1606(0x1fc)][_0x1e1606(0x1e5)](()=>{const _0x11b869=_0x1e1606;if(_0x28e33e(this[_0x11b869(0x1d4)])){const _0x3fadb7=new _0x36e5ba(this[_0x11b869(0x1db)][_0x11b869(0x1ce)][_0x11b869(0x1d4)]),_0x1dc6eb=_0x3fadb7[_0x11b869(0x1d3)],_0x3318db=_0x11b869(0x1e9)===_0x1647f4[_0x11b869(0x1f7)]?_0x11b869(0x1c5):_0x11b869(0x1fb);_0x3fadb7[_0x11b869(0x1dc)](),_0x298ef8[_0x11b869(0x1d4)][_0x11b869(0x1c7)][_0x3318db]=_0x1dc6eb-_0x3fadb7[_0x11b869(0x1d3)]+0x1+'px';}});};return this[_0x4286ad(0x1db)][_0x4286ad(0x1ce)]['on'](_0x4286ad(0x1e2),_0x1977a6),this['on'](_0x4286ad(0x1f1),_0x1977a6),_0x298ef8;}[_0x361012(0x1e4)](){const _0x350b04=_0x361012,_0x52db98=this[_0x350b04(0x1db)][_0x350b04(0x1ce)][_0x350b04(0x1d4)][_0x350b04(0x1e8)];this[_0x350b04(0x1c3)](_0x350b04(0x1e4),_0x52db98);}[_0x361012(0x1ec)](_0x25bb14){const _0x1e7b5b=_0x361012;-0x1===_0x25bb14?this[_0x1e7b5b(0x1d8)][_0x1e7b5b(0x1f6)]():this[_0x1e7b5b(0x1d8)][_0x1e7b5b(0x1f9)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x587a(_0x2835ac,_0x249106){const _0x5b8d38=_0x5b8d();return _0x587a=function(_0x587a2b,_0x476f48){_0x587a2b=_0x587a2b-0xe7;let _0x2eb707=_0x5b8d38[_0x587a2b];return _0x2eb707;},_0x587a(_0x2835ac,_0x249106);}const _0xe679ad=_0x587a;(function(_0x570fbc,_0x1e37f3){const _0x44474f=_0x587a,_0x248143=_0x570fbc();while(!![]){try{const _0x183ca9=-parseInt(_0x44474f(0xed))/0x1+-parseInt(_0x44474f(0x107))/0x2*(-parseInt(_0x44474f(0xf3))/0x3)+-parseInt(_0x44474f(0xea))/0x4*(-parseInt(_0x44474f(0xfe))/0x5)+-parseInt(_0x44474f(0x100))/0x6+-parseInt(_0x44474f(0xf2))/0x7*(-parseInt(_0x44474f(0xef))/0x8)+-parseInt(_0x44474f(0xf6))/0x9+parseInt(_0x44474f(0x101))/0xa;if(_0x183ca9===_0x1e37f3)break;else _0x248143['push'](_0x248143['shift']());}catch(_0x2c4b52){_0x248143['push'](_0x248143['shift']());}}}(_0x5b8d,0x29658));function _0x5b8d(){const _0x57bf92=['1107624EseYmt','4989310RveQwy','bind','ck-hidden','ck-ai-form__toolbar','REPLACE','AI_','562434UNMbxg','Stop','items','_CONTENT','_createButton','isVisible','addMany','label','162668uuXwwS','mainAction','replace','290188ySVfUn','insertButton','136EJMFxC','ck-button-action','bindTemplate','2681dLbtrm','3NhHOFi','set','locale','1646766pWrfrg','stopButton','toUpperCase','extendTemplate','replaceButton','Try\x20again','insert','Insert\x20below','5yVUXrl','tryAgainButton'];_0x5b8d=function(){return _0x57bf92;};return _0x5b8d();}import{ToolbarView as _0x3a4c69,ButtonView as _0x162d14}from'ckeditor5/src/ui.js';import{getTranslation as _0x23b356}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xe679ad(0xec),'INSERT':_0xe679ad(0xfc)};export default class nt extends _0x3a4c69{constructor(_0xa09f31){const _0x42659e=_0xe679ad;super(_0xa09f31),this[_0x42659e(0xf4)](_0x42659e(0xe7),!0x1),this[_0x42659e(0xf4)](_0x42659e(0xeb),AIFormToolbarViewMainActionLabel[_0x42659e(0x105)]),this[_0x42659e(0xfa)]=this[_0x42659e(0x10b)]('',_0x42659e(0xf0)),this[_0x42659e(0xfa)][_0x42659e(0x102)](_0x42659e(0xe9))['to'](this,_0x42659e(0xeb),_0x4a48c6=>_0x23b356(_0xa09f31,_0x42659e(0x106)+_0x4a48c6[_0x42659e(0xf8)]()+_0x42659e(0x10a))),this[_0x42659e(0xee)]=this[_0x42659e(0x10b)](_0x23b356(_0xa09f31,_0x42659e(0xfd))),this[_0x42659e(0xff)]=this[_0x42659e(0x10b)](_0x23b356(_0xa09f31,_0x42659e(0xfb))),this[_0x42659e(0xf7)]=this[_0x42659e(0x10b)](_0x23b356(_0xa09f31,_0x42659e(0x108)));const _0x39eb14=this[_0x42659e(0xf1)];this[_0x42659e(0xf9)]({'attributes':{'class':[_0x42659e(0x104),_0x39eb14['if'](_0x42659e(0xe7),_0x42659e(0x103),_0x5c3e0d=>!_0x5c3e0d)]}}),this[_0x42659e(0x109)][_0x42659e(0xe8)]([this[_0x42659e(0xfa)],this[_0x42659e(0xee)],this[_0x42659e(0xff)],this[_0x42659e(0xf7)]]);}[_0xe679ad(0x10b)](_0x1a30c7,_0x4cfaad){const _0x385295=_0xe679ad,_0x4e852a=new _0x162d14(this[_0x385295(0xf5)]);return _0x4e852a[_0x385295(0xf4)]({'label':_0x1a30c7,'class':_0x4cfaad||'','isVisible':!0x0,'withText':!0x0}),_0x4e852a;}}
23
+ const _0x34ca51=_0x139e;function _0x43a4(){const _0x5198c7=['set','locale','insertButton','Stop','bindTemplate','bind','isVisible','12038334qsXJTK','_CONTENT','addMany','AI_','ck-ai-form__toolbar','Insert\x20below','ck-button-action','12JDPQwi','tryAgainButton','replace','stopButton','items','mainAction','3512088jSiZwx','_createButton','2862100MPOuyV','Try\x20again','toUpperCase','label','REPLACE','replaceButton','1526352rWsvPC','779630vgVVbq','insert','extendTemplate','1050600OeDyoA','ck-hidden','8072082lXrKIx'];_0x43a4=function(){return _0x5198c7;};return _0x43a4();}(function(_0x233c75,_0x23ef3c){const _0x2d495a=_0x139e,_0x39c241=_0x233c75();while(!![]){try{const _0x229486=parseInt(_0x2d495a(0xc3))/0x1+parseInt(_0x2d495a(0xbd))/0x2+parseInt(_0x2d495a(0xa4))/0x3*(-parseInt(_0x2d495a(0xb5))/0x4)+-parseInt(_0x2d495a(0xc4))/0x5+parseInt(_0x2d495a(0xa6))/0x6+-parseInt(_0x2d495a(0xae))/0x7+-parseInt(_0x2d495a(0xbb))/0x8;if(_0x229486===_0x23ef3c)break;else _0x39c241['push'](_0x39c241['shift']());}catch(_0x401e3c){_0x39c241['push'](_0x39c241['shift']());}}}(_0x43a4,0xe4dea));import{ToolbarView as _0x49d8f1,ButtonView as _0x43f7f1}from'ckeditor5/src/ui.js';import{getTranslation as _0x288519}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x34ca51(0xb7),'INSERT':_0x34ca51(0xc5)};function _0x139e(_0xd81be4,_0x9941af){const _0x43a443=_0x43a4();return _0x139e=function(_0x139ee2,_0x74ec85){_0x139ee2=_0x139ee2-0xa4;let _0x43472a=_0x43a443[_0x139ee2];return _0x43472a;},_0x139e(_0xd81be4,_0x9941af);}export default class nt extends _0x49d8f1{constructor(_0x5f02ff){const _0x2fd26e=_0x34ca51;super(_0x5f02ff),this[_0x2fd26e(0xa7)](_0x2fd26e(0xad),!0x1),this[_0x2fd26e(0xa7)](_0x2fd26e(0xba),AIFormToolbarViewMainActionLabel[_0x2fd26e(0xc1)]),this[_0x2fd26e(0xc2)]=this[_0x2fd26e(0xbc)]('',_0x2fd26e(0xb4)),this[_0x2fd26e(0xc2)][_0x2fd26e(0xac)](_0x2fd26e(0xc0))['to'](this,_0x2fd26e(0xba),_0x2490a6=>_0x288519(_0x5f02ff,_0x2fd26e(0xb1)+_0x2490a6[_0x2fd26e(0xbf)]()+_0x2fd26e(0xaf))),this[_0x2fd26e(0xa9)]=this[_0x2fd26e(0xbc)](_0x288519(_0x5f02ff,_0x2fd26e(0xb3))),this[_0x2fd26e(0xb6)]=this[_0x2fd26e(0xbc)](_0x288519(_0x5f02ff,_0x2fd26e(0xbe))),this[_0x2fd26e(0xb8)]=this[_0x2fd26e(0xbc)](_0x288519(_0x5f02ff,_0x2fd26e(0xaa)));const _0x1fe19a=this[_0x2fd26e(0xab)];this[_0x2fd26e(0xc6)]({'attributes':{'class':[_0x2fd26e(0xb2),_0x1fe19a['if'](_0x2fd26e(0xad),_0x2fd26e(0xa5),_0x1ad253=>!_0x1ad253)]}}),this[_0x2fd26e(0xb9)][_0x2fd26e(0xb0)]([this[_0x2fd26e(0xc2)],this[_0x2fd26e(0xa9)],this[_0x2fd26e(0xb6)],this[_0x2fd26e(0xb8)]]);}[_0x34ca51(0xbc)](_0x36ac7d,_0x458ec4){const _0x26e19b=_0x34ca51,_0x73769c=new _0x43f7f1(this[_0x26e19b(0xa8)]);return _0x73769c[_0x26e19b(0xa7)]({'label':_0x36ac7d,'class':_0x458ec4||'','isVisible':!0x0,'withText':!0x0}),_0x73769c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1145d5=_0x4ce1;(function(_0x27ab94,_0x4781f1){const _0x374548=_0x4ce1,_0x39456c=_0x27ab94();while(!![]){try{const _0x58d926=parseInt(_0x374548(0xe9))/0x1*(parseInt(_0x374548(0xca))/0x2)+parseInt(_0x374548(0xb9))/0x3*(parseInt(_0x374548(0xb8))/0x4)+parseInt(_0x374548(0xb6))/0x5*(-parseInt(_0x374548(0xee))/0x6)+parseInt(_0x374548(0x101))/0x7+parseInt(_0x374548(0xc8))/0x8+parseInt(_0x374548(0xb7))/0x9*(-parseInt(_0x374548(0xf1))/0xa)+-parseInt(_0x374548(0xf4))/0xb*(parseInt(_0x374548(0xcb))/0xc);if(_0x58d926===_0x4781f1)break;else _0x39456c['push'](_0x39456c['shift']());}catch(_0x300581){_0x39456c['push'](_0x39456c['shift']());}}}(_0x571d,0xbbbf8));import{FocusTracker as _0x38e143,KeystrokeHandler as _0x129af6}from'ckeditor5/src/utils.js';import{View as _0x56ae1b,FocusCycler as _0x3ca60b,createLabeledTextarea as _0x311829}from'ckeditor5/src/ui.js';import _0x54b795,{AIFormToolbarViewMainActionLabel as _0x23c1a2}from'./aiformtoolbarview.js';function _0x4ce1(_0x3e34c9,_0x293735){const _0x571d27=_0x571d();return _0x4ce1=function(_0x4ce10b,_0x3f9698){_0x4ce10b=_0x4ce10b-0xb2;let _0x33938e=_0x571d27[_0x4ce10b];return _0x33938e;},_0x4ce1(_0x3e34c9,_0x293735);}import _0x33e5fc from'./aiformcontentarea.js';function _0x571d(){const _0x248959=['queryView','stopProcessing','execute','REPLACE','keystrokes','reset','ck-ai-form-content','487494TuyZnH','replaceContent','insertContentBelow','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','Empty\x20history','tab','errorView','_promptHistory','locale','historyGroupView','focusFirst','AI_ERROR_FAILED','70OSakaF','45909XWFIxY','92bKkCmD','143184pVsqsj','label','toolbar','isEnabled','ck-hidden','shift\x20+\x20tab','stopButton','promptView','_focusables','prompt','high','clear','add','chain','isError','7166040VVyfNq','focusCycler','266732TwREfn','4956VbUvjk','contentArea','isProcessing','focusLast','bind','handleError','replaceButton','bindTo','bindTemplate','ck-ai-form','focus','trim','render','focusTracker','mainAction','copyButtonView','setTemplate','_createPromptView','_createHistoryView','value','_createToolbar','finishProcessing','Ask\x20AI\x20to\x20edit\x20or\x20generate','fieldView','fire','element','div','tryAgainEvent','text','set','8BnxIqI','items','insertButton','clearHistory','Ask\x20AI\x20to\x20improve\x20generated\x20text','356718XEKVVy','startProcessing','isVisible','270zEEIwV','search','tryAgainButton','37048VxHgvM','listenTo','submit','delegate','submitPrompt','createCollection'];_0x571d=function(){return _0x248959;};return _0x571d();}import _0x501a0d from'./aiformerrorview.js';import _0xa78b71 from'./aiformpromptview.js';import _0x3f06d4 from'./aihistorylistview.js';import _0x24396d from'./aihistorylistitemview.js';import _0x4c0356 from'./prompthistory.js';import{getTranslation as _0x4e4bd9}from'../../utils/common-translations.js';import{escape as _0x4e2c5c}from'lodash-es';export default class k extends _0x56ae1b{constructor(_0x44365f,_0x17ceb6,_0x2a0dae=''){const _0x287cb3=_0x4ce1;super(_0x44365f),this[_0x287cb3(0xe8)](_0x287cb3(0xbc),!0x0),this[_0x287cb3(0xe8)](_0x287cb3(0xcd),!0x1),this[_0x287cb3(0xe8)](_0x287cb3(0xc2),''),this[_0x287cb3(0xe8)](_0x287cb3(0xde),''),this[_0x287cb3(0xe8)](_0x287cb3(0xc7),!0x1),this[_0x287cb3(0xe8)](_0x287cb3(0xd9),_0x23c1a2[_0x287cb3(0xfd)]),this[_0x287cb3(0x108)]=new _0x4c0356(),this[_0x287cb3(0x107)]=new _0x501a0d(_0x44365f),this[_0x287cb3(0xcc)]=new _0x33e5fc(_0x44365f,_0x2a0dae),this[_0x287cb3(0xcc)][_0x287cb3(0xcf)](_0x287cb3(0xcd))['to'](this),this[_0x287cb3(0xcc)][_0x287cb3(0xcf)](_0x287cb3(0xde))['to'](this),this[_0x287cb3(0xbb)]=this[_0x287cb3(0xdf)](),this[_0x287cb3(0xbb)][_0x287cb3(0xcf)](_0x287cb3(0xd9))['to'](this),this[_0x287cb3(0xc0)]=this[_0x287cb3(0xdc)](),this[_0x287cb3(0xd8)]=new _0x38e143(),this[_0x287cb3(0xfe)]=new _0x129af6(),this[_0x287cb3(0xc1)]=this[_0x287cb3(0xf9)]([this[_0x287cb3(0xcc)],this[_0x287cb3(0xcc)][_0x287cb3(0xda)],this[_0x287cb3(0xbb)],this[_0x287cb3(0xc0)]]),this[_0x287cb3(0xc9)]=new _0x3ca60b({'focusables':this[_0x287cb3(0xc1)],'focusTracker':this[_0x287cb3(0xd8)],'keystrokeHandler':this[_0x287cb3(0xfe)],'actions':{'focusPrevious':_0x287cb3(0xbe),'focusNext':_0x287cb3(0x106)}}),this[_0x287cb3(0xc9)][_0x287cb3(0xc6)](this[_0x287cb3(0xc0)][_0x287cb3(0xc9)]),this[_0x287cb3(0xc0)][_0x287cb3(0xfa)][_0x287cb3(0xe2)][_0x287cb3(0xcf)](_0x287cb3(0xde))['to'](this,_0x287cb3(0xc2));const _0x4d224d=this[_0x287cb3(0xd3)];this[_0x287cb3(0xdb)]({'tag':_0x287cb3(0xe5),'attributes':{'class':['ck',_0x287cb3(0xd4),_0x17ceb6],'tabindex':'-1'},'children':[{'tag':_0x287cb3(0xe5),'attributes':{'class':['ck',_0x287cb3(0x100)]},'children':[{'tag':_0x287cb3(0xe5),'attributes':{'class':[_0x4d224d['if'](_0x287cb3(0xc7),_0x287cb3(0xbd),_0x3d1666=>!_0x3d1666)]},'children':[this[_0x287cb3(0x107)]]},this[_0x287cb3(0xcc)],this[_0x287cb3(0xbb)],this[_0x287cb3(0xc0)]]}]});}[_0x1145d5(0xd7)](){const _0x4e61f9=_0x1145d5;super[_0x4e61f9(0xd7)](),this[_0x4e61f9(0xd8)][_0x4e61f9(0xc5)](this[_0x4e61f9(0xcc)][_0x4e61f9(0xe4)]),this[_0x4e61f9(0xd8)][_0x4e61f9(0xc5)](this[_0x4e61f9(0xcc)][_0x4e61f9(0xda)][_0x4e61f9(0xe4)]),this[_0x4e61f9(0xd8)][_0x4e61f9(0xc5)](this[_0x4e61f9(0xbb)][_0x4e61f9(0xe4)]),this[_0x4e61f9(0xd8)][_0x4e61f9(0xc5)](this[_0x4e61f9(0xc0)][_0x4e61f9(0xe4)]),this[_0x4e61f9(0xfe)][_0x4e61f9(0xf5)](this[_0x4e61f9(0xe4)]);}[_0x1145d5(0xd5)](_0x3a4c30=0x1){const _0x31d8cb=_0x1145d5;-0x1===_0x3a4c30?this[_0x31d8cb(0xc9)][_0x31d8cb(0xce)]():this[_0x31d8cb(0xc9)][_0x31d8cb(0xb4)]();}[_0x1145d5(0xff)](){const _0x3ab9c7=_0x1145d5;this[_0x3ab9c7(0xc2)]='',this[_0x3ab9c7(0xde)]='',this[_0x3ab9c7(0xc7)]=!0x1,this[_0x3ab9c7(0xc0)][_0x3ab9c7(0xff)](),this[_0x3ab9c7(0xcc)][_0x3ab9c7(0xf0)]=!0x1,this[_0x3ab9c7(0xbb)][_0x3ab9c7(0xf0)]=!0x1;}[_0x1145d5(0xdc)](){const _0x1cfae0=_0x1145d5,_0x387ea5=this[_0x1cfae0(0xb2)],_0x5de5c4=new _0xa78b71(_0x387ea5,{'queryView':{'label':_0x4e4bd9(_0x387ea5,_0x1cfae0(0xe1)),'creator':_0x311829,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x4e4bd9(_0x387ea5,_0x1cfae0(0x105)),'secondary':_0x4e4bd9(_0x387ea5,_0x1cfae0(0x104))}}},'filteredView':this[_0x1cfae0(0xdd)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5de5c4[_0x1cfae0(0xcf)](_0x1cfae0(0xbc))['to'](this,_0x1cfae0(0xbc),this,_0x1cfae0(0xcd),(_0xc5cb8,_0x1139cd)=>_0xc5cb8&&!_0x1139cd),this[_0x1cfae0(0xf5)](_0x5de5c4,_0x1cfae0(0xf6),(_0x24cc1b,_0x380d1e)=>{const _0x17e50d=_0x1cfae0;this[_0x17e50d(0xc2)]=_0x380d1e;const _0x144159=_0x4e2c5c(_0x380d1e);this[_0x17e50d(0xe3)](_0x17e50d(0xf8),_0x144159),_0x380d1e[_0x17e50d(0xd6)]()&&this[_0x17e50d(0x108)][_0x17e50d(0xc5)]({'prompt':_0x144159},0x0);},{'priority':_0x1cfae0(0xc3)}),_0x5de5c4;}[_0x1145d5(0xdd)](){const _0x513704=_0x1145d5,_0x11d07f=new _0x3f06d4(this[_0x513704(0xb2)]);return _0x11d07f[_0x513704(0xb3)][_0x513704(0xea)][_0x513704(0xd2)](this[_0x513704(0x108)])['as'](_0x24396d),_0x11d07f['on'](_0x513704(0xec),()=>{const _0x3d850a=_0x513704;this[_0x3d850a(0x108)][_0x3d850a(0xc4)](),this[_0x3d850a(0xc0)][_0x3d850a(0xf2)](''),this[_0x3d850a(0xc0)][_0x3d850a(0xd5)]();}),_0x11d07f;}[_0x1145d5(0xdf)](){const _0x3b82cb=_0x1145d5,_0x44c309=new _0x54b795(this[_0x3b82cb(0xb2)]);return _0x44c309[_0x3b82cb(0xd1)][_0x3b82cb(0xcf)](_0x3b82cb(0xbc))['to'](this,_0x3b82cb(0xbc),this,_0x3b82cb(0xcd),this,_0x3b82cb(0xde),(_0x28c3f8,_0x2444ea,_0x500812)=>_0x28c3f8&&!_0x2444ea&&!!_0x500812),_0x44c309[_0x3b82cb(0xd1)][_0x3b82cb(0xf7)](_0x3b82cb(0xfc))['to'](this,_0x3b82cb(0x102)),_0x44c309[_0x3b82cb(0xeb)][_0x3b82cb(0xcf)](_0x3b82cb(0xbc))['to'](this,_0x3b82cb(0xbc),this,_0x3b82cb(0xcd),this,_0x3b82cb(0xde),(_0x262dda,_0x5df3c7,_0xd37af7)=>_0x262dda&&!_0x5df3c7&&!!_0xd37af7),_0x44c309[_0x3b82cb(0xeb)][_0x3b82cb(0xf7)](_0x3b82cb(0xfc))['to'](this,_0x3b82cb(0x103)),_0x44c309[_0x3b82cb(0xf3)][_0x3b82cb(0xcf)](_0x3b82cb(0xbc))['to'](this,_0x3b82cb(0xbc),this,_0x3b82cb(0xcd),(_0x2408ef,_0x3e4177)=>_0x2408ef&&!_0x3e4177),_0x44c309[_0x3b82cb(0xf3)][_0x3b82cb(0xf7)](_0x3b82cb(0xfc))['to'](this,_0x3b82cb(0xe6)),_0x44c309[_0x3b82cb(0xbf)][_0x3b82cb(0xcf)](_0x3b82cb(0xbc))['to'](this,_0x3b82cb(0xcd)),_0x44c309[_0x3b82cb(0xbf)][_0x3b82cb(0xf7)](_0x3b82cb(0xfc))['to'](this,_0x3b82cb(0xfb)),_0x44c309;}[_0x1145d5(0xef)](){const _0x313908=_0x1145d5;this[_0x313908(0xde)]='',this[_0x313908(0xc7)]=!0x1,this[_0x313908(0xcd)]=!0x0,this[_0x313908(0xcc)][_0x313908(0xf0)]=!0x0,this[_0x313908(0xbb)][_0x313908(0xf0)]=!0x0,this[_0x313908(0xcc)][_0x313908(0xd5)]();}[_0x1145d5(0xe0)](){const _0x18937b=_0x1145d5,_0x310aab=this[_0x18937b(0xb2)];this[_0x18937b(0xcd)]=!0x1,this[_0x18937b(0xc2)]='',this[_0x18937b(0xc0)][_0x18937b(0xff)](),this[_0x18937b(0xde)]&&(this[_0x18937b(0xc0)][_0x18937b(0xfa)][_0x18937b(0xba)]=_0x4e4bd9(_0x310aab,_0x18937b(0xed)));}[_0x1145d5(0xd0)](_0x14b229){const _0x3f8afa=_0x1145d5,_0x3801a8=this[_0x3f8afa(0xb2)];this[_0x3f8afa(0xe0)](),this[_0x3f8afa(0xc7)]=!0x0,this[_0x3f8afa(0x107)][_0x3f8afa(0xe7)]=_0x14b229||_0x4e4bd9(_0x3801a8,_0x3f8afa(0xb5)),this[_0x3f8afa(0xde)]||(this[_0x3f8afa(0xcc)][_0x3f8afa(0xf0)]=!0x1);}}
23
+ const _0x3b788f=_0x1ed6;(function(_0x47138b,_0x1b2d35){const _0x3c3548=_0x1ed6,_0x32473f=_0x47138b();while(!![]){try{const _0x5c5321=parseInt(_0x3c3548(0x1a0))/0x1*(-parseInt(_0x3c3548(0x1b0))/0x2)+parseInt(_0x3c3548(0x1e8))/0x3+-parseInt(_0x3c3548(0x19e))/0x4+parseInt(_0x3c3548(0x1cf))/0x5+parseInt(_0x3c3548(0x1a1))/0x6+-parseInt(_0x3c3548(0x1cb))/0x7+parseInt(_0x3c3548(0x1cc))/0x8;if(_0x5c5321===_0x1b2d35)break;else _0x32473f['push'](_0x32473f['shift']());}catch(_0x2dac70){_0x32473f['push'](_0x32473f['shift']());}}}(_0x2626,0xb05dd));import{FocusTracker as _0x23d169,KeystrokeHandler as _0x249368}from'ckeditor5/src/utils.js';import{View as _0x355d83,FocusCycler as _0x198a83,createLabeledTextarea as _0x2ae4d1}from'ckeditor5/src/ui.js';function _0x2626(){const _0x45ea28=['replaceContent','_createPromptView','submitPrompt','div','ck-hidden','2973453FqJsjS','insertContentBelow','fieldView','stopProcessing','_promptHistory','isError','clear','locale','ck-ai-form','5246452kXUwIu','createCollection','4LCddiQ','1757556WBVvvn','stopButton','bindTemplate','startProcessing','text','search','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','Ask\x20AI\x20to\x20improve\x20generated\x20text','set','copyButtonView','items','ck-ai-form-content','_focusables','handleError','tryAgainButton','15286EPzHTq','contentArea','prompt','chain','focusCycler','submit','element','fire','bindTo','trim','clearHistory','mainAction','focusFirst','tab','execute','isProcessing','focus','label','promptView','high','_createHistoryView','REPLACE','queryView','listenTo','bind','keystrokes','AI_ERROR_FAILED','2485322dUzcYf','471144BeVFKG','delegate','setTemplate','5383290FQYatm','isEnabled','Ask\x20AI\x20to\x20edit\x20or\x20generate','reset','finishProcessing','Empty\x20history','replaceButton','historyGroupView','_createToolbar','render','errorView','add','tryAgainEvent','shift\x20+\x20tab','insertButton','value','isVisible','focusTracker','focusLast','toolbar'];_0x2626=function(){return _0x45ea28;};return _0x2626();}import _0x1fe2bf,{AIFormToolbarViewMainActionLabel as _0x230830}from'./aiformtoolbarview.js';import _0x3e5e89 from'./aiformcontentarea.js';import _0x2dcba from'./aiformerrorview.js';function _0x1ed6(_0x332cc5,_0x3a16f5){const _0x26261b=_0x2626();return _0x1ed6=function(_0x1ed67f,_0x20ba79){_0x1ed67f=_0x1ed67f-0x19e;let _0x5e76a5=_0x26261b[_0x1ed67f];return _0x5e76a5;},_0x1ed6(_0x332cc5,_0x3a16f5);}import _0x2b7cd4 from'./aiformpromptview.js';import _0xc4b99 from'./aihistorylistview.js';import _0x33159c from'./aihistorylistitemview.js';import _0x44c9ed from'./prompthistory.js';import{getTranslation as _0x173f4c}from'../../utils/common-translations.js';import{escape as _0x192991}from'lodash-es';export default class k extends _0x355d83{constructor(_0x2c987a,_0x14bfe7,_0x5ae2eb=''){const _0x7914a3=_0x1ed6;super(_0x2c987a),this[_0x7914a3(0x1a9)](_0x7914a3(0x1d0),!0x0),this[_0x7914a3(0x1a9)](_0x7914a3(0x1bf),!0x1),this[_0x7914a3(0x1a9)](_0x7914a3(0x1b2),''),this[_0x7914a3(0x1a9)](_0x7914a3(0x1de),''),this[_0x7914a3(0x1a9)](_0x7914a3(0x1ed),!0x1),this[_0x7914a3(0x1a9)](_0x7914a3(0x1bb),_0x230830[_0x7914a3(0x1c5)]),this[_0x7914a3(0x1ec)]=new _0x44c9ed(),this[_0x7914a3(0x1d9)]=new _0x2dcba(_0x2c987a),this[_0x7914a3(0x1b1)]=new _0x3e5e89(_0x2c987a,_0x5ae2eb),this[_0x7914a3(0x1b1)][_0x7914a3(0x1c8)](_0x7914a3(0x1bf))['to'](this),this[_0x7914a3(0x1b1)][_0x7914a3(0x1c8)](_0x7914a3(0x1de))['to'](this),this[_0x7914a3(0x1e2)]=this[_0x7914a3(0x1d7)](),this[_0x7914a3(0x1e2)][_0x7914a3(0x1c8)](_0x7914a3(0x1bb))['to'](this),this[_0x7914a3(0x1c2)]=this[_0x7914a3(0x1e4)](),this[_0x7914a3(0x1e0)]=new _0x23d169(),this[_0x7914a3(0x1c9)]=new _0x249368(),this[_0x7914a3(0x1ad)]=this[_0x7914a3(0x19f)]([this[_0x7914a3(0x1b1)],this[_0x7914a3(0x1b1)][_0x7914a3(0x1aa)],this[_0x7914a3(0x1e2)],this[_0x7914a3(0x1c2)]]),this[_0x7914a3(0x1b4)]=new _0x198a83({'focusables':this[_0x7914a3(0x1ad)],'focusTracker':this[_0x7914a3(0x1e0)],'keystrokeHandler':this[_0x7914a3(0x1c9)],'actions':{'focusPrevious':_0x7914a3(0x1dc),'focusNext':_0x7914a3(0x1bd)}}),this[_0x7914a3(0x1b4)][_0x7914a3(0x1b3)](this[_0x7914a3(0x1c2)][_0x7914a3(0x1b4)]),this[_0x7914a3(0x1c2)][_0x7914a3(0x1c6)][_0x7914a3(0x1ea)][_0x7914a3(0x1c8)](_0x7914a3(0x1de))['to'](this,_0x7914a3(0x1b2));const _0x318232=this[_0x7914a3(0x1a3)];this[_0x7914a3(0x1ce)]({'tag':_0x7914a3(0x1e6),'attributes':{'class':['ck',_0x7914a3(0x1f0),_0x14bfe7],'tabindex':'-1'},'children':[{'tag':_0x7914a3(0x1e6),'attributes':{'class':['ck',_0x7914a3(0x1ac)]},'children':[{'tag':_0x7914a3(0x1e6),'attributes':{'class':[_0x318232['if'](_0x7914a3(0x1ed),_0x7914a3(0x1e7),_0x3de74f=>!_0x3de74f)]},'children':[this[_0x7914a3(0x1d9)]]},this[_0x7914a3(0x1b1)],this[_0x7914a3(0x1e2)],this[_0x7914a3(0x1c2)]]}]});}[_0x3b788f(0x1d8)](){const _0x18e445=_0x3b788f;super[_0x18e445(0x1d8)](),this[_0x18e445(0x1e0)][_0x18e445(0x1da)](this[_0x18e445(0x1b1)][_0x18e445(0x1b6)]),this[_0x18e445(0x1e0)][_0x18e445(0x1da)](this[_0x18e445(0x1b1)][_0x18e445(0x1aa)][_0x18e445(0x1b6)]),this[_0x18e445(0x1e0)][_0x18e445(0x1da)](this[_0x18e445(0x1e2)][_0x18e445(0x1b6)]),this[_0x18e445(0x1e0)][_0x18e445(0x1da)](this[_0x18e445(0x1c2)][_0x18e445(0x1b6)]),this[_0x18e445(0x1c9)][_0x18e445(0x1c7)](this[_0x18e445(0x1b6)]);}[_0x3b788f(0x1c0)](_0x16b30b=0x1){const _0xbf2501=_0x3b788f;-0x1===_0x16b30b?this[_0xbf2501(0x1b4)][_0xbf2501(0x1e1)]():this[_0xbf2501(0x1b4)][_0xbf2501(0x1bc)]();}[_0x3b788f(0x1d2)](){const _0x350526=_0x3b788f;this[_0x350526(0x1b2)]='',this[_0x350526(0x1de)]='',this[_0x350526(0x1ed)]=!0x1,this[_0x350526(0x1c2)][_0x350526(0x1d2)](),this[_0x350526(0x1b1)][_0x350526(0x1df)]=!0x1,this[_0x350526(0x1e2)][_0x350526(0x1df)]=!0x1;}[_0x3b788f(0x1e4)](){const _0x3c47b0=_0x3b788f,_0x1d790d=this[_0x3c47b0(0x1ef)],_0x17743c=new _0x2b7cd4(_0x1d790d,{'queryView':{'label':_0x173f4c(_0x1d790d,_0x3c47b0(0x1d1)),'creator':_0x2ae4d1,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x173f4c(_0x1d790d,_0x3c47b0(0x1d4)),'secondary':_0x173f4c(_0x1d790d,_0x3c47b0(0x1a7))}}},'filteredView':this[_0x3c47b0(0x1c4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x17743c[_0x3c47b0(0x1c8)](_0x3c47b0(0x1d0))['to'](this,_0x3c47b0(0x1d0),this,_0x3c47b0(0x1bf),(_0xc1e439,_0x59ad5c)=>_0xc1e439&&!_0x59ad5c),this[_0x3c47b0(0x1c7)](_0x17743c,_0x3c47b0(0x1b5),(_0xc4d9ee,_0x5f1a79)=>{const _0x24b429=_0x3c47b0;this[_0x24b429(0x1b2)]=_0x5f1a79;const _0x48381c=_0x192991(_0x5f1a79);this[_0x24b429(0x1b7)](_0x24b429(0x1e5),_0x48381c),_0x5f1a79[_0x24b429(0x1b9)]()&&this[_0x24b429(0x1ec)][_0x24b429(0x1da)]({'prompt':_0x48381c},0x0);},{'priority':_0x3c47b0(0x1c3)}),_0x17743c;}[_0x3b788f(0x1c4)](){const _0x5df0b7=_0x3b788f,_0x4f7f1a=new _0xc4b99(this[_0x5df0b7(0x1ef)]);return _0x4f7f1a[_0x5df0b7(0x1d6)][_0x5df0b7(0x1ab)][_0x5df0b7(0x1b8)](this[_0x5df0b7(0x1ec)])['as'](_0x33159c),_0x4f7f1a['on'](_0x5df0b7(0x1ba),()=>{const _0x58b115=_0x5df0b7;this[_0x58b115(0x1ec)][_0x58b115(0x1ee)](),this[_0x58b115(0x1c2)][_0x58b115(0x1a6)](''),this[_0x58b115(0x1c2)][_0x58b115(0x1c0)]();}),_0x4f7f1a;}[_0x3b788f(0x1d7)](){const _0x23bb86=_0x3b788f,_0x48f4cb=new _0x1fe2bf(this[_0x23bb86(0x1ef)]);return _0x48f4cb[_0x23bb86(0x1d5)][_0x23bb86(0x1c8)](_0x23bb86(0x1d0))['to'](this,_0x23bb86(0x1d0),this,_0x23bb86(0x1bf),this,_0x23bb86(0x1de),(_0x7ee1e3,_0x29934d,_0x31baa5)=>_0x7ee1e3&&!_0x29934d&&!!_0x31baa5),_0x48f4cb[_0x23bb86(0x1d5)][_0x23bb86(0x1cd)](_0x23bb86(0x1be))['to'](this,_0x23bb86(0x1e3)),_0x48f4cb[_0x23bb86(0x1dd)][_0x23bb86(0x1c8)](_0x23bb86(0x1d0))['to'](this,_0x23bb86(0x1d0),this,_0x23bb86(0x1bf),this,_0x23bb86(0x1de),(_0x49d84e,_0x5352c5,_0x4f803e)=>_0x49d84e&&!_0x5352c5&&!!_0x4f803e),_0x48f4cb[_0x23bb86(0x1dd)][_0x23bb86(0x1cd)](_0x23bb86(0x1be))['to'](this,_0x23bb86(0x1e9)),_0x48f4cb[_0x23bb86(0x1af)][_0x23bb86(0x1c8)](_0x23bb86(0x1d0))['to'](this,_0x23bb86(0x1d0),this,_0x23bb86(0x1bf),(_0x4cf0b9,_0x7026f6)=>_0x4cf0b9&&!_0x7026f6),_0x48f4cb[_0x23bb86(0x1af)][_0x23bb86(0x1cd)](_0x23bb86(0x1be))['to'](this,_0x23bb86(0x1db)),_0x48f4cb[_0x23bb86(0x1a2)][_0x23bb86(0x1c8)](_0x23bb86(0x1d0))['to'](this,_0x23bb86(0x1bf)),_0x48f4cb[_0x23bb86(0x1a2)][_0x23bb86(0x1cd)](_0x23bb86(0x1be))['to'](this,_0x23bb86(0x1eb)),_0x48f4cb;}[_0x3b788f(0x1a4)](){const _0x544c5a=_0x3b788f;this[_0x544c5a(0x1de)]='',this[_0x544c5a(0x1ed)]=!0x1,this[_0x544c5a(0x1bf)]=!0x0,this[_0x544c5a(0x1b1)][_0x544c5a(0x1df)]=!0x0,this[_0x544c5a(0x1e2)][_0x544c5a(0x1df)]=!0x0,this[_0x544c5a(0x1b1)][_0x544c5a(0x1c0)]();}[_0x3b788f(0x1d3)](){const _0x53ffed=_0x3b788f,_0x44ef85=this[_0x53ffed(0x1ef)];this[_0x53ffed(0x1bf)]=!0x1,this[_0x53ffed(0x1b2)]='',this[_0x53ffed(0x1c2)][_0x53ffed(0x1d2)](),this[_0x53ffed(0x1de)]&&(this[_0x53ffed(0x1c2)][_0x53ffed(0x1c6)][_0x53ffed(0x1c1)]=_0x173f4c(_0x44ef85,_0x53ffed(0x1a8)));}[_0x3b788f(0x1ae)](_0x543261){const _0x1748a8=_0x3b788f,_0x59fde9=this[_0x1748a8(0x1ef)];this[_0x1748a8(0x1d3)](),this[_0x1748a8(0x1ed)]=!0x0,this[_0x1748a8(0x1d9)][_0x1748a8(0x1a5)]=_0x543261||_0x173f4c(_0x59fde9,_0x1748a8(0x1ca)),this[_0x1748a8(0x1de)]||(this[_0x1748a8(0x1b1)][_0x1748a8(0x1df)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xeb70(_0x29a3f3,_0x5a72b8){const _0x2fec1b=_0x2fec();return _0xeb70=function(_0xeb70c9,_0x8da01d){_0xeb70c9=_0xeb70c9-0x19f;let _0x440961=_0x2fec1b[_0xeb70c9];return _0x440961;},_0xeb70(_0x29a3f3,_0x5a72b8);}(function(_0x30c4f7,_0x1eb48d){const _0x2c6815=_0xeb70,_0x10b8bb=_0x30c4f7();while(!![]){try{const _0x13b0bd=parseInt(_0x2c6815(0x1a3))/0x1+-parseInt(_0x2c6815(0x1a1))/0x2*(parseInt(_0x2c6815(0x1ac))/0x3)+-parseInt(_0x2c6815(0x1aa))/0x4+parseInt(_0x2c6815(0x1a2))/0x5+-parseInt(_0x2c6815(0x1ad))/0x6+-parseInt(_0x2c6815(0x1ae))/0x7*(parseInt(_0x2c6815(0x1a4))/0x8)+-parseInt(_0x2c6815(0x1a7))/0x9*(-parseInt(_0x2c6815(0x1ab))/0xa);if(_0x13b0bd===_0x1eb48d)break;else _0x10b8bb['push'](_0x10b8bb['shift']());}catch(_0xa80463){_0x10b8bb['push'](_0x10b8bb['shift']());}}}(_0x2fec,0xc31f2));function _0x2fec(){const _0x8dee21=['133TupyAD','prompt','set','fire','452086sZtCgI','6335145fsggXI','692527wshYyK','392248eTkXna','add','execute','27qSJhCG','children','locale','6062512AanNmD','5794930rIDEDT','3QrVByJ','1353342iKULuU'];_0x2fec=function(){return _0x8dee21;};return _0x2fec();}import{ListItemView as _0x50f65e,ButtonView as _0x506c22,ButtonLabelView as _0x1ae1dd}from'ckeditor5/src/ui.js';import{unescape as _0x38d26f}from'lodash-es';export default class hs extends _0x50f65e{constructor(_0x141eb1){const _0x58b204=_0xeb70;super();const _0x48352b=new _0x1ae1dd(),_0x11a0f4=new _0x506c22(this[_0x58b204(0x1a9)],_0x48352b);this[_0x58b204(0x1a8)][_0x58b204(0x1a5)](_0x11a0f4),_0x11a0f4[_0x58b204(0x19f)]({'label':_0x141eb1[_0x58b204(0x1af)],'withText':!0x0}),_0x11a0f4['on'](_0x58b204(0x1a6),()=>{const _0x57c630=_0x58b204;this[_0x57c630(0x1a0)](_0x57c630(0x1a6),{'value':_0x38d26f(_0x141eb1[_0x57c630(0x1af)])});});}}
23
+ (function(_0x5af416,_0x3863d5){const _0x3dc3c9=_0x2e43,_0x3439fc=_0x5af416();while(!![]){try{const _0x5ca60d=-parseInt(_0x3dc3c9(0x156))/0x1+parseInt(_0x3dc3c9(0x149))/0x2+parseInt(_0x3dc3c9(0x154))/0x3*(parseInt(_0x3dc3c9(0x152))/0x4)+parseInt(_0x3dc3c9(0x14d))/0x5*(parseInt(_0x3dc3c9(0x155))/0x6)+-parseInt(_0x3dc3c9(0x151))/0x7+-parseInt(_0x3dc3c9(0x153))/0x8*(parseInt(_0x3dc3c9(0x14e))/0x9)+parseInt(_0x3dc3c9(0x14b))/0xa;if(_0x5ca60d===_0x3863d5)break;else _0x3439fc['push'](_0x3439fc['shift']());}catch(_0xdd1b43){_0x3439fc['push'](_0x3439fc['shift']());}}}(_0x4c86,0x3f629));import{ListItemView as _0x2bef06,ButtonView as _0x2d58ff,ButtonLabelView as _0x344abd}from'ckeditor5/src/ui.js';function _0x2e43(_0x39703c,_0x1d8a90){const _0x4c865f=_0x4c86();return _0x2e43=function(_0x2e43d2,_0x590d64){_0x2e43d2=_0x2e43d2-0x148;let _0x5be4d7=_0x4c865f[_0x2e43d2];return _0x5be4d7;},_0x2e43(_0x39703c,_0x1d8a90);}function _0x4c86(){const _0x396c2f=['816CiLLPk','495376zUwthz','execute','set','children','93898epebTx','add','5342250lmuRAs','locale','13015QPWRsu','9gZfslf','fire','prompt','2598176CIntzr','912920hurxOC','297944CgkGCl','3vPpfZw'];_0x4c86=function(){return _0x396c2f;};return _0x4c86();}import{unescape as _0x86c431}from'lodash-es';export default class hs extends _0x2bef06{constructor(_0x2265b4){const _0x9d1d9d=_0x2e43;super();const _0x46b1a7=new _0x344abd(),_0x401538=new _0x2d58ff(this[_0x9d1d9d(0x14c)],_0x46b1a7);this[_0x9d1d9d(0x148)][_0x9d1d9d(0x14a)](_0x401538),_0x401538[_0x9d1d9d(0x158)]({'label':_0x2265b4[_0x9d1d9d(0x150)],'withText':!0x0}),_0x401538['on'](_0x9d1d9d(0x157),()=>{const _0xa16d3=_0x9d1d9d;this[_0xa16d3(0x14f)](_0xa16d3(0x157),{'value':_0x86c431(_0x2265b4[_0xa16d3(0x150)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x274e(){const _0x38ac76=['2453346uNkmsT','label','locale','clearHistory','fire','Clear','historyGroupView','1513556bkTkuw','length','delegate','clearHistoryButton','18UCkTZC','children','_createClearHistoryButton','6ZTHvVs','set','execute','2943112vWZrJa','5141020qrKRvS','1930797iqqLwk','Prompt\x20history','add','374786pKIcPb','2990635OUXjNY','filter','items'];_0x274e=function(){return _0x38ac76;};return _0x274e();}const _0xcc8c1d=_0x1aec;(function(_0x71ebd0,_0x4e343b){const _0x3b84ef=_0x1aec,_0x4d1445=_0x71ebd0();while(!![]){try{const _0x2b16cb=parseInt(_0x3b84ef(0x17f))/0x1+-parseInt(_0x3b84ef(0x18a))/0x2+parseInt(_0x3b84ef(0x17c))/0x3+-parseInt(_0x3b84ef(0x17b))/0x4+-parseInt(_0x3b84ef(0x180))/0x5*(-parseInt(_0x3b84ef(0x177))/0x6)+parseInt(_0x3b84ef(0x183))/0x7+parseInt(_0x3b84ef(0x17a))/0x8*(parseInt(_0x3b84ef(0x174))/0x9);if(_0x2b16cb===_0x4e343b)break;else _0x4d1445['push'](_0x4d1445['shift']());}catch(_0x4db8ce){_0x4d1445['push'](_0x4d1445['shift']());}}}(_0x274e,0xa14ff));import{ListView as _0x418325,ListItemGroupView as _0x36303e,ButtonView as _0x3a630a}from'ckeditor5/src/ui.js';function _0x1aec(_0x543233,_0xd04a5){const _0x274e67=_0x274e();return _0x1aec=function(_0x1aec15,_0x418a64){_0x1aec15=_0x1aec15-0x174;let _0x130d87=_0x274e67[_0x1aec15];return _0x130d87;},_0x1aec(_0x543233,_0xd04a5);}import{getTranslation as _0x3c8d98}from'../../utils/common-translations.js';export default class rs extends _0x418325{constructor(_0xb1b628){const _0x515dbc=_0x1aec;super(_0xb1b628),this[_0x515dbc(0x18d)]=this[_0x515dbc(0x176)](),this[_0x515dbc(0x189)]=new _0x36303e(),this[_0x515dbc(0x189)][_0x515dbc(0x175)][_0x515dbc(0x17e)](this[_0x515dbc(0x18d)],0x1),this[_0x515dbc(0x189)][_0x515dbc(0x184)]=_0x3c8d98(_0xb1b628,_0x515dbc(0x17d)),this[_0x515dbc(0x189)][_0x515dbc(0x182)][_0x515dbc(0x18c)](_0x515dbc(0x179))['to'](this),this[_0x515dbc(0x182)][_0x515dbc(0x17e)](this[_0x515dbc(0x189)]);}[_0xcc8c1d(0x181)](){const _0x28f863=_0xcc8c1d;let _0x36e598=0x0;for(const _0x49b31b of this[_0x28f863(0x182)])_0x36e598+=_0x49b31b[_0x28f863(0x182)][_0x28f863(0x18b)];return{'resultsCount':_0x36e598,'totalItemsCount':_0x36e598};}[_0xcc8c1d(0x176)](){const _0xb694b2=_0xcc8c1d,_0xc31214=this[_0xb694b2(0x185)],_0x506cf9=new _0x3a630a(this[_0xb694b2(0x185)]);return _0x506cf9[_0xb694b2(0x178)]({'label':'('+_0x3c8d98(_0xc31214,_0xb694b2(0x188))+')','withText':!0x0}),_0x506cf9['on'](_0xb694b2(0x179),()=>this[_0xb694b2(0x187)](_0xb694b2(0x186))),_0x506cf9;}}
23
+ function _0x5607(_0x5d3c96,_0x3492c9){const _0x10b571=_0x10b5();return _0x5607=function(_0x5607da,_0x18dc8c){_0x5607da=_0x5607da-0x1a0;let _0x2fa3a2=_0x10b571[_0x5607da];return _0x2fa3a2;},_0x5607(_0x5d3c96,_0x3492c9);}const _0x49d724=_0x5607;(function(_0xaff666,_0x11e618){const _0x5283e1=_0x5607,_0x470c79=_0xaff666();while(!![]){try{const _0x1bc2c6=parseInt(_0x5283e1(0x1a4))/0x1*(parseInt(_0x5283e1(0x1bc))/0x2)+-parseInt(_0x5283e1(0x1a6))/0x3*(-parseInt(_0x5283e1(0x1a9))/0x4)+parseInt(_0x5283e1(0x1bb))/0x5*(-parseInt(_0x5283e1(0x1aa))/0x6)+parseInt(_0x5283e1(0x1b9))/0x7*(parseInt(_0x5283e1(0x1b8))/0x8)+parseInt(_0x5283e1(0x1b1))/0x9+-parseInt(_0x5283e1(0x1a8))/0xa*(-parseInt(_0x5283e1(0x1b5))/0xb)+-parseInt(_0x5283e1(0x1b0))/0xc;if(_0x1bc2c6===_0x11e618)break;else _0x470c79['push'](_0x470c79['shift']());}catch(_0x31d2bc){_0x470c79['push'](_0x470c79['shift']());}}}(_0x10b5,0x97ea8));function _0x10b5(){const _0x561823=['items','20WQsyhM','88uabIOw','historyGroupView','add','_createClearHistoryButton','fire','4079QfWJDe','clearHistory','33UlAnOE','set','4240060MiltXV','191028UwtUQg','1741260QBDyue','children','delegate','Prompt\x20history','filter','clearHistoryButton','12448524OHAVju','9170037IwObkI','Clear','label','length','22jannad','locale','execute','6792uaCYjW','2051FliEZr'];_0x10b5=function(){return _0x561823;};return _0x10b5();}import{ListView as _0x5958ca,ListItemGroupView as _0x565cd0,ButtonView as _0x268c08}from'ckeditor5/src/ui.js';import{getTranslation as _0x3c35dd}from'../../utils/common-translations.js';export default class rs extends _0x5958ca{constructor(_0x5b34c9){const _0x530ba7=_0x5607;super(_0x5b34c9),this[_0x530ba7(0x1af)]=this[_0x530ba7(0x1a2)](),this[_0x530ba7(0x1a0)]=new _0x565cd0(),this[_0x530ba7(0x1a0)][_0x530ba7(0x1ab)][_0x530ba7(0x1a1)](this[_0x530ba7(0x1af)],0x1),this[_0x530ba7(0x1a0)][_0x530ba7(0x1b3)]=_0x3c35dd(_0x5b34c9,_0x530ba7(0x1ad)),this[_0x530ba7(0x1a0)][_0x530ba7(0x1ba)][_0x530ba7(0x1ac)](_0x530ba7(0x1b7))['to'](this),this[_0x530ba7(0x1ba)][_0x530ba7(0x1a1)](this[_0x530ba7(0x1a0)]);}[_0x49d724(0x1ae)](){const _0x21fbea=_0x49d724;let _0x1e4e1b=0x0;for(const _0x20fc2e of this[_0x21fbea(0x1ba)])_0x1e4e1b+=_0x20fc2e[_0x21fbea(0x1ba)][_0x21fbea(0x1b4)];return{'resultsCount':_0x1e4e1b,'totalItemsCount':_0x1e4e1b};}[_0x49d724(0x1a2)](){const _0x36eb38=_0x49d724,_0x4aae81=this[_0x36eb38(0x1b6)],_0x427b72=new _0x268c08(this[_0x36eb38(0x1b6)]);return _0x427b72[_0x36eb38(0x1a7)]({'label':'('+_0x3c35dd(_0x4aae81,_0x36eb38(0x1b2))+')','withText':!0x0}),_0x427b72['on'](_0x36eb38(0x1b7),()=>this[_0x36eb38(0x1a3)](_0x36eb38(0x1a5))),_0x427b72;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44b611=_0x3f39;(function(_0x19954b,_0xccc8a2){const _0x24f822=_0x3f39,_0x5e4f8a=_0x19954b();while(!![]){try{const _0x58483f=parseInt(_0x24f822(0x169))/0x1*(-parseInt(_0x24f822(0x178))/0x2)+-parseInt(_0x24f822(0x174))/0x3*(-parseInt(_0x24f822(0x177))/0x4)+-parseInt(_0x24f822(0x161))/0x5+-parseInt(_0x24f822(0x171))/0x6*(parseInt(_0x24f822(0x16f))/0x7)+parseInt(_0x24f822(0x168))/0x8+parseInt(_0x24f822(0x16b))/0x9*(-parseInt(_0x24f822(0x172))/0xa)+-parseInt(_0x24f822(0x16d))/0xb*(-parseInt(_0x24f822(0x173))/0xc);if(_0x58483f===_0xccc8a2)break;else _0x5e4f8a['push'](_0x5e4f8a['shift']());}catch(_0x17fa58){_0x5e4f8a['push'](_0x5e4f8a['shift']());}}}(_0x50c3,0x58bda));import{Collection as _0xeb10c7}from'ckeditor5/src/utils.js';const cs=_0x44b611(0x166);export default class os extends _0xeb10c7{constructor(){const _0x477c0e=_0x44b611;super(),this[_0x477c0e(0x179)](),this['on'](_0x477c0e(0x170),(_0x11f355,_0x334858)=>{const _0x119940=_0x477c0e,_0x4325a6=Ss(_0x334858[_0x119940(0x165)]);for(const _0x2c050c of this)if(_0x2c050c!=_0x334858&&Ss(_0x2c050c[_0x119940(0x165)])===_0x4325a6){this[_0x119940(0x16e)](_0x2c050c);break;}this[_0x119940(0x15e)]>0x14&&this[_0x119940(0x16e)](this[_0x119940(0x16a)]),this[_0x119940(0x162)]();}),this['on'](_0x477c0e(0x16e),()=>{const _0x21a27a=_0x477c0e;this[_0x21a27a(0x162)]();});}[_0x44b611(0x179)](){const _0x5e45d9=_0x44b611,_0x2684d9=sessionStorage[_0x5e45d9(0x163)](cs)||'[]';this[_0x5e45d9(0x164)](JSON[_0x5e45d9(0x15f)](_0x2684d9));}[_0x44b611(0x162)](){const _0x4afbcf=_0x44b611;sessionStorage[_0x4afbcf(0x160)](cs,JSON[_0x4afbcf(0x176)](this[_0x4afbcf(0x16c)](_0x22fc9b=>_0x22fc9b)));}}function _0x3f39(_0x5f2cf2,_0x3df1be){const _0x50c397=_0x50c3();return _0x3f39=function(_0x3f39a4,_0xc18756){_0x3f39a4=_0x3f39a4-0x15e;let _0x29f340=_0x50c397[_0x3f39a4];return _0x29f340;},_0x3f39(_0x5f2cf2,_0x3df1be);}function _0x50c3(){const _0x184df2=['227043tzyccz','toLowerCase','stringify','4CanBDh','582694zViUmK','_loadFromSessionStorage','length','parse','setItem','336915DtkCxD','_saveToSessionStorage','getItem','addMany','prompt','CKEditor/AIFormView/PromptHistory','trim','1879520pjJfKk','1uKVziJ','last','18yzTTMZ','map','110DToRUW','remove','203UZvDJc','add','16458MZtfbT','296910OduUgu','660624cYVnyk'];_0x50c3=function(){return _0x184df2;};return _0x50c3();}function Ss(_0x4d79f9){const _0x4750af=_0x44b611;return _0x4d79f9[_0x4750af(0x175)]()[_0x4750af(0x167)]();}
23
+ function _0x1bbc(_0x52eddf,_0xb0d06){const _0xbb8ec6=_0xbb8e();return _0x1bbc=function(_0x1bbc96,_0x5dae98){_0x1bbc96=_0x1bbc96-0x19a;let _0x21bacd=_0xbb8ec6[_0x1bbc96];return _0x21bacd;},_0x1bbc(_0x52eddf,_0xb0d06);}const _0x4477b6=_0x1bbc;(function(_0x4367af,_0x531c64){const _0x2cc5fe=_0x1bbc,_0x49f35f=_0x4367af();while(!![]){try{const _0x4aa857=-parseInt(_0x2cc5fe(0x1a0))/0x1*(-parseInt(_0x2cc5fe(0x1b4))/0x2)+-parseInt(_0x2cc5fe(0x1b1))/0x3*(-parseInt(_0x2cc5fe(0x1ae))/0x4)+-parseInt(_0x2cc5fe(0x1a6))/0x5*(-parseInt(_0x2cc5fe(0x1a3))/0x6)+parseInt(_0x2cc5fe(0x1b2))/0x7+parseInt(_0x2cc5fe(0x1a7))/0x8*(parseInt(_0x2cc5fe(0x1a8))/0x9)+-parseInt(_0x2cc5fe(0x1b3))/0xa+-parseInt(_0x2cc5fe(0x1a1))/0xb;if(_0x4aa857===_0x531c64)break;else _0x49f35f['push'](_0x49f35f['shift']());}catch(_0x47d027){_0x49f35f['push'](_0x49f35f['shift']());}}}(_0xbb8e,0xbb951));function _0xbb8e(){const _0x20972b=['132078PLJGmm','prompt','length','250aCoGDu','3320fDuVIv','10053EdeCos','toLowerCase','CKEditor/AIFormView/PromptHistory','parse','trim','stringify','2906808GRhsph','getItem','setItem','6dhFwyB','7938693BoWoTy','9381820DtkyIl','2740822mnzFhp','add','_saveToSessionStorage','_loadFromSessionStorage','addMany','last','remove','1hxHQtF','41971600AyZKHS','map'];_0xbb8e=function(){return _0x20972b;};return _0xbb8e();}import{Collection as _0x332fae}from'ckeditor5/src/utils.js';const cs=_0x4477b6(0x1aa);export default class os extends _0x332fae{constructor(){const _0x27e8cb=_0x4477b6;super(),this[_0x27e8cb(0x19c)](),this['on'](_0x27e8cb(0x19a),(_0x20f223,_0xdbccf0)=>{const _0x56e196=_0x27e8cb,_0x1a77b3=Ss(_0xdbccf0[_0x56e196(0x1a4)]);for(const _0x3ee328 of this)if(_0x3ee328!=_0xdbccf0&&Ss(_0x3ee328[_0x56e196(0x1a4)])===_0x1a77b3){this[_0x56e196(0x19f)](_0x3ee328);break;}this[_0x56e196(0x1a5)]>0x14&&this[_0x56e196(0x19f)](this[_0x56e196(0x19e)]),this[_0x56e196(0x19b)]();}),this['on'](_0x27e8cb(0x19f),()=>{const _0x33c5db=_0x27e8cb;this[_0x33c5db(0x19b)]();});}[_0x4477b6(0x19c)](){const _0x2c80e7=_0x4477b6,_0x51de37=sessionStorage[_0x2c80e7(0x1af)](cs)||'[]';this[_0x2c80e7(0x19d)](JSON[_0x2c80e7(0x1ab)](_0x51de37));}[_0x4477b6(0x19b)](){const _0x4f4dff=_0x4477b6;sessionStorage[_0x4f4dff(0x1b0)](cs,JSON[_0x4f4dff(0x1ad)](this[_0x4f4dff(0x1a2)](_0x34f7ef=>_0x34f7ef)));}}function Ss(_0xde28cb){const _0x131169=_0x4477b6;return _0xde28cb[_0x131169(0x1a9)]()[_0x131169(0x1ac)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34d558=_0x1d4e;(function(_0x1e556a,_0x28b31c){const _0x55b99e=_0x1d4e,_0x3c76c7=_0x1e556a();while(!![]){try{const _0x56cea4=-parseInt(_0x55b99e(0x1db))/0x1*(-parseInt(_0x55b99e(0x1dc))/0x2)+parseInt(_0x55b99e(0x1d3))/0x3*(parseInt(_0x55b99e(0x1e4))/0x4)+-parseInt(_0x55b99e(0x1cb))/0x5*(parseInt(_0x55b99e(0x1d6))/0x6)+-parseInt(_0x55b99e(0x1c7))/0x7+parseInt(_0x55b99e(0x1c5))/0x8*(-parseInt(_0x55b99e(0x1e1))/0x9)+-parseInt(_0x55b99e(0x1cc))/0xa*(parseInt(_0x55b99e(0x1e6))/0xb)+parseInt(_0x55b99e(0x1e2))/0xc;if(_0x56cea4===_0x28b31c)break;else _0x3c76c7['push'](_0x3c76c7['shift']());}catch(_0x38a3a7){_0x3c76c7['push'](_0x3c76c7['shift']());}}}(_0x10bd,0x1e774));function _0x1d4e(_0x5646e9,_0x43b753){const _0x10bd24=_0x10bd();return _0x1d4e=function(_0x1d4e18,_0x61c711){_0x1d4e18=_0x1d4e18-0x1c0;let _0x2f9e36=_0x10bd24[_0x1d4e18];return _0x2f9e36;},_0x1d4e(_0x5646e9,_0x43b753);}import{Command as _0x25c9f5}from'ckeditor5/src/core.js';import _0x3e461e from'../aiassistantui.js';function _0x10bd(){const _0x1c6547=['_hasContext','252tKcrdA','2981976GGDprE','get','4wLPqAH','document','1892HbQmjC','change:isEnabled','getSelectedBlocks','custom','plugins','values','set','from','includes','isCollapsed','showUI','_commandDefinitions','editor','42728CWBDSA','getRanges','847154NlAthK','getItems','model','enabledCommandsIds','95OcubcJ','4570xVsvip','ai.aiAssistant.disabledElements','add','config','refresh','getFirstRange','requiresContent','423663vAfTgG','element','execute','50766wpulYO','name','change:_hasContext','length','isEnabled','245002cJMCNA','2AWXRch','selection','isEmpty','hasContent'];_0x10bd=function(){return _0x1c6547;};return _0x10bd();}export default class j extends _0x25c9f5{constructor(_0x4c581c,_0x3c2d89){const _0x2890f0=_0x1d4e;super(_0x4c581c),this[_0x2890f0(0x1c3)]=_0x3c2d89,this[_0x2890f0(0x1ec)](_0x2890f0(0x1ca),[]),this['on'](_0x2890f0(0x1d8),(_0x5f43ed,_0xe0e6b0,_0x345c84)=>{const _0x372da0=_0x2890f0;this[_0x372da0(0x1da)]&&(this[_0x372da0(0x1ca)]=G(this[_0x372da0(0x1c3)],_0x345c84));}),this[_0x2890f0(0x1ec)](_0x2890f0(0x1e0),!0x1),this['on'](_0x2890f0(0x1e7),(_0x1a5e2d,_0xe3b1df,_0x7fcd3)=>{const _0x24860c=_0x2890f0;this[_0x24860c(0x1ca)]=_0x7fcd3?G(this[_0x24860c(0x1c3)],this[_0x24860c(0x1e0)]):[];});}[_0x34d558(0x1d0)](){const _0x4d8959=_0x34d558,_0x45ece0=this[_0x4d8959(0x1c4)][_0x4d8959(0x1c9)];this[_0x4d8959(0x1e0)]=function(_0x859f0b){const _0x115071=_0x4d8959,_0x7d09d4=_0x859f0b[_0x115071(0x1e5)][_0x115071(0x1dd)];return _0x7d09d4[_0x115071(0x1c1)]?0x0!==[..._0x7d09d4[_0x115071(0x1e8)]()][_0x115071(0x1d9)]&&![..._0x7d09d4[_0x115071(0x1e8)]()][0x0][_0x115071(0x1de)]:!!_0x859f0b[_0x115071(0x1df)](_0x7d09d4[_0x115071(0x1d1)]());}(_0x45ece0);const _0x5255cd=_0x45ece0[_0x4d8959(0x1e5)][_0x4d8959(0x1dd)],_0x596803=this[_0x4d8959(0x1c4)][_0x4d8959(0x1cf)][_0x4d8959(0x1e3)](_0x4d8959(0x1cd));for(const _0x263d88 of _0x5255cd[_0x4d8959(0x1c6)]())for(const _0x43fbb2 of _0x263d88[_0x4d8959(0x1c8)]())if(_0x43fbb2['is'](_0x4d8959(0x1d4))&&_0x596803[_0x4d8959(0x1c0)](_0x43fbb2[_0x4d8959(0x1d7)]))return void(this[_0x4d8959(0x1da)]=!0x1);this[_0x4d8959(0x1da)]=!0x0;}[_0x34d558(0x1d5)](_0x208677='',_0x4ddb95='',_0xb00add=_0x34d558(0x1e9)){const _0x23d6c4=_0x34d558;this[_0x23d6c4(0x1c4)][_0x23d6c4(0x1ea)][_0x23d6c4(0x1e3)](_0x3e461e)[_0x23d6c4(0x1c2)](_0x208677,_0x4ddb95,_0xb00add);}}function G(_0x32a55b,_0x1701d5){const _0x134b69=_0x34d558,_0x487b6c=new Set();for(const _0x10dfbd of _0x32a55b[_0x134b69(0x1eb)]())(_0x1701d5||!0x1===_0x10dfbd[_0x134b69(0x1d2)])&&_0x487b6c[_0x134b69(0x1ce)](_0x10dfbd['id']);return Array[_0x134b69(0x1ed)](_0x487b6c);}
23
+ function _0x3c5e(){const _0x3e4f94=['document','requiresContent','3802870RVdLoB','name','getFirstRange','from','getItems','isCollapsed','showUI','ai.aiAssistant.disabledElements','editor','set','selection','change:isEnabled','9vCLcmQ','get','add','78843dVRVaf','_commandDefinitions','enabledCommandsIds','115059VGPfoz','plugins','2906281hwvTwW','config','execute','isEmpty','_hasContext','4IIYLxi','hasContent','model','custom','change:_hasContext','2699295toMQpJ','4KReapo','element','6744840OPirMm','isEnabled','values','length','getRanges','5177922qlnUzP','refresh','includes','getSelectedBlocks'];_0x3c5e=function(){return _0x3e4f94;};return _0x3c5e();}function _0x41d7(_0x1dd2b3,_0x3a4753){const _0x3c5e85=_0x3c5e();return _0x41d7=function(_0x41d7d5,_0x6a6a28){_0x41d7d5=_0x41d7d5-0x1cc;let _0x266a8e=_0x3c5e85[_0x41d7d5];return _0x266a8e;},_0x41d7(_0x1dd2b3,_0x3a4753);}const _0x5bc470=_0x41d7;(function(_0x147c19,_0x4295a1){const _0x2173ec=_0x41d7,_0x352898=_0x147c19();while(!![]){try{const _0x58871a=-parseInt(_0x2173ec(0x1d9))/0x1*(-parseInt(_0x2173ec(0x1e9))/0x2)+-parseInt(_0x2173ec(0x1dc))/0x3+-parseInt(_0x2173ec(0x1e3))/0x4*(parseInt(_0x2173ec(0x1e8))/0x5)+parseInt(_0x2173ec(0x1f0))/0x6+-parseInt(_0x2173ec(0x1de))/0x7+parseInt(_0x2173ec(0x1eb))/0x8+-parseInt(_0x2173ec(0x1d6))/0x9*(parseInt(_0x2173ec(0x1f6))/0xa);if(_0x58871a===_0x4295a1)break;else _0x352898['push'](_0x352898['shift']());}catch(_0x5a5e20){_0x352898['push'](_0x352898['shift']());}}}(_0x3c5e,0x77a70));import{Command as _0x50c484}from'ckeditor5/src/core.js';import _0x5ebc0d from'../aiassistantui.js';export default class j extends _0x50c484{constructor(_0x4d0775,_0x114f03){const _0x471fcb=_0x41d7;super(_0x4d0775),this[_0x471fcb(0x1da)]=_0x114f03,this[_0x471fcb(0x1d3)](_0x471fcb(0x1db),[]),this['on'](_0x471fcb(0x1e7),(_0x139f2a,_0x3cfffc,_0x105dcb)=>{const _0x3aae4d=_0x471fcb;this[_0x3aae4d(0x1ec)]&&(this[_0x3aae4d(0x1db)]=G(this[_0x3aae4d(0x1da)],_0x105dcb));}),this[_0x471fcb(0x1d3)](_0x471fcb(0x1e2),!0x1),this['on'](_0x471fcb(0x1d5),(_0x49c52f,_0x3c6027,_0x4cb8d4)=>{const _0x455688=_0x471fcb;this[_0x455688(0x1db)]=_0x4cb8d4?G(this[_0x455688(0x1da)],this[_0x455688(0x1e2)]):[];});}[_0x5bc470(0x1f1)](){const _0x479766=_0x5bc470,_0x3c4f8e=this[_0x479766(0x1d2)][_0x479766(0x1e5)];this[_0x479766(0x1e2)]=function(_0x6d8e67){const _0x4070eb=_0x479766,_0x22b881=_0x6d8e67[_0x4070eb(0x1f4)][_0x4070eb(0x1d4)];return _0x22b881[_0x4070eb(0x1cf)]?0x0!==[..._0x22b881[_0x4070eb(0x1f3)]()][_0x4070eb(0x1ee)]&&![..._0x22b881[_0x4070eb(0x1f3)]()][0x0][_0x4070eb(0x1e1)]:!!_0x6d8e67[_0x4070eb(0x1e4)](_0x22b881[_0x4070eb(0x1cc)]());}(_0x3c4f8e);const _0x49365c=_0x3c4f8e[_0x479766(0x1f4)][_0x479766(0x1d4)],_0xae8f66=this[_0x479766(0x1d2)][_0x479766(0x1df)][_0x479766(0x1d7)](_0x479766(0x1d1));for(const _0x2426de of _0x49365c[_0x479766(0x1ef)]())for(const _0x53e7e2 of _0x2426de[_0x479766(0x1ce)]())if(_0x53e7e2['is'](_0x479766(0x1ea))&&_0xae8f66[_0x479766(0x1f2)](_0x53e7e2[_0x479766(0x1f7)]))return void(this[_0x479766(0x1ec)]=!0x1);this[_0x479766(0x1ec)]=!0x0;}[_0x5bc470(0x1e0)](_0x4dbcd1='',_0x53b41d='',_0x2ab7be=_0x5bc470(0x1e6)){const _0x296ae0=_0x5bc470;this[_0x296ae0(0x1d2)][_0x296ae0(0x1dd)][_0x296ae0(0x1d7)](_0x5ebc0d)[_0x296ae0(0x1d0)](_0x4dbcd1,_0x53b41d,_0x2ab7be);}}function G(_0x5c46f8,_0x2a282b){const _0x242bfe=_0x5bc470,_0x12d4d7=new Set();for(const _0x208288 of _0x5c46f8[_0x242bfe(0x1ed)]())(_0x2a282b||!0x1===_0x208288[_0x242bfe(0x1f5)])&&_0x12d4d7[_0x242bfe(0x1d8)](_0x208288['id']);return Array[_0x242bfe(0x1cd)](_0x12d4d7);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x37187e,_0x5db96d,_0x326917){const t=_0x37187e['t'];switch(_0x5db96d){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',_0x326917);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x326917);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'},_0x326917);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 _0x5db96d;}}
23
+ export function getTranslation(_0x4d6d69,_0x4014e8,_0x493d50){const t=_0x4d6d69['t'];switch(_0x4014e8){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',_0x493d50);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x493d50);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'},_0x493d50);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 _0x4014e8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x5ef18d,_0x5426d7){const _0x514f6b=(0x0,_0x5426d7['t'])('Other');return _0x5ef18d['length']?'groupId'in _0x5ef18d[0x0]?_0x5ef18d:[{'groupId':'_ungrouppedCommands','groupLabel':_0x514f6b,'order':0x1/0x0,'commands':_0x5ef18d}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x514f6b,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0xc7376d,_0x55b3fa){const _0x2473c4=(0x0,_0x55b3fa['t'])('Other');return _0xc7376d['length']?'groupId'in _0xc7376d[0x0]?_0xc7376d:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2473c4,'order':0x1/0x0,'commands':_0xc7376d}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2473c4,'order':0x1/0x0,'commands':[]}];}