@ckeditor/ckeditor5-ai 43.2.0-alpha.7 → 43.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) 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/bg.js +1 -1
  8. package/dist/translations/bg.umd.js +1 -1
  9. package/dist/translations/bn.js +1 -1
  10. package/dist/translations/bn.umd.js +1 -1
  11. package/dist/translations/bs.js +1 -1
  12. package/dist/translations/bs.umd.js +1 -1
  13. package/dist/translations/ca.js +1 -1
  14. package/dist/translations/ca.umd.js +1 -1
  15. package/dist/translations/cs.js +1 -1
  16. package/dist/translations/cs.umd.js +1 -1
  17. package/dist/translations/da.js +1 -1
  18. package/dist/translations/da.umd.js +1 -1
  19. package/dist/translations/de-ch.js +1 -1
  20. package/dist/translations/de-ch.umd.js +1 -1
  21. package/dist/translations/de.js +1 -1
  22. package/dist/translations/de.umd.js +1 -1
  23. package/dist/translations/el.js +1 -1
  24. package/dist/translations/el.umd.js +1 -1
  25. package/dist/translations/en-au.js +1 -1
  26. package/dist/translations/en-au.umd.js +1 -1
  27. package/dist/translations/en.umd.js +1 -1
  28. package/dist/translations/es-co.js +1 -1
  29. package/dist/translations/es-co.umd.js +1 -1
  30. package/dist/translations/es.js +1 -1
  31. package/dist/translations/es.umd.js +1 -1
  32. package/dist/translations/et.js +1 -1
  33. package/dist/translations/et.umd.js +1 -1
  34. package/dist/translations/fa.js +1 -1
  35. package/dist/translations/fa.umd.js +1 -1
  36. package/dist/translations/fi.js +1 -1
  37. package/dist/translations/fi.umd.js +1 -1
  38. package/dist/translations/fr.js +1 -1
  39. package/dist/translations/fr.umd.js +1 -1
  40. package/dist/translations/gl.js +1 -1
  41. package/dist/translations/gl.umd.js +1 -1
  42. package/dist/translations/he.js +1 -1
  43. package/dist/translations/he.umd.js +1 -1
  44. package/dist/translations/hi.js +1 -1
  45. package/dist/translations/hi.umd.js +1 -1
  46. package/dist/translations/hr.js +1 -1
  47. package/dist/translations/hr.umd.js +1 -1
  48. package/dist/translations/hu.js +1 -1
  49. package/dist/translations/hu.umd.js +1 -1
  50. package/dist/translations/id.js +1 -1
  51. package/dist/translations/id.umd.js +1 -1
  52. package/dist/translations/it.js +1 -1
  53. package/dist/translations/it.umd.js +1 -1
  54. package/dist/translations/ja.js +1 -1
  55. package/dist/translations/ja.umd.js +1 -1
  56. package/dist/translations/jv.js +1 -1
  57. package/dist/translations/jv.umd.js +1 -1
  58. package/dist/translations/ko.js +1 -1
  59. package/dist/translations/ko.umd.js +1 -1
  60. package/dist/translations/lt.js +1 -1
  61. package/dist/translations/lt.umd.js +1 -1
  62. package/dist/translations/lv.js +1 -1
  63. package/dist/translations/lv.umd.js +1 -1
  64. package/dist/translations/ms.js +1 -1
  65. package/dist/translations/ms.umd.js +1 -1
  66. package/dist/translations/nl.js +1 -1
  67. package/dist/translations/nl.umd.js +1 -1
  68. package/dist/translations/no.js +1 -1
  69. package/dist/translations/no.umd.js +1 -1
  70. package/dist/translations/pl.js +1 -1
  71. package/dist/translations/pl.umd.js +1 -1
  72. package/dist/translations/pt-br.js +1 -1
  73. package/dist/translations/pt-br.umd.js +1 -1
  74. package/dist/translations/pt.js +1 -1
  75. package/dist/translations/pt.umd.js +1 -1
  76. package/dist/translations/ro.js +1 -1
  77. package/dist/translations/ro.umd.js +1 -1
  78. package/dist/translations/ru.js +1 -1
  79. package/dist/translations/ru.umd.js +1 -1
  80. package/dist/translations/sk.js +1 -1
  81. package/dist/translations/sk.umd.js +1 -1
  82. package/dist/translations/sr-latn.js +1 -1
  83. package/dist/translations/sr-latn.umd.js +1 -1
  84. package/dist/translations/sr.js +1 -1
  85. package/dist/translations/sr.umd.js +1 -1
  86. package/dist/translations/sv.js +1 -1
  87. package/dist/translations/sv.umd.js +1 -1
  88. package/dist/translations/th.js +1 -1
  89. package/dist/translations/th.umd.js +1 -1
  90. package/dist/translations/ti.js +1 -1
  91. package/dist/translations/ti.umd.js +1 -1
  92. package/dist/translations/tk.js +1 -1
  93. package/dist/translations/tk.umd.js +1 -1
  94. package/dist/translations/tr.js +1 -1
  95. package/dist/translations/tr.umd.js +1 -1
  96. package/dist/translations/tt.js +1 -1
  97. package/dist/translations/tt.umd.js +1 -1
  98. package/dist/translations/ug.js +1 -1
  99. package/dist/translations/ug.umd.js +1 -1
  100. package/dist/translations/uk.js +1 -1
  101. package/dist/translations/uk.umd.js +1 -1
  102. package/dist/translations/ur.js +1 -1
  103. package/dist/translations/ur.umd.js +1 -1
  104. package/dist/translations/uz.js +1 -1
  105. package/dist/translations/uz.umd.js +1 -1
  106. package/dist/translations/vi.js +1 -1
  107. package/dist/translations/vi.umd.js +1 -1
  108. package/dist/translations/zh-cn.js +1 -1
  109. package/dist/translations/zh-cn.umd.js +1 -1
  110. package/dist/translations/zh.js +1 -1
  111. package/dist/translations/zh.umd.js +1 -1
  112. package/package.json +8 -8
  113. package/src/adapters/aiadapter.js +1 -1
  114. package/src/adapters/aitextadapter.js +1 -1
  115. package/src/adapters/awstextadapter.js +1 -1
  116. package/src/adapters/openaitextadapter.js +1 -1
  117. package/src/aiassistant.js +1 -1
  118. package/src/aiassistantediting.js +1 -1
  119. package/src/aiassistantui.js +1 -1
  120. package/src/index.js +1 -1
  121. package/src/ui/aiassistantcontroller.js +2 -2
  122. package/src/ui/form/aiformcontentarea.js +1 -1
  123. package/src/ui/form/aiformerrorview.js +1 -1
  124. package/src/ui/form/aiformpromptview.js +1 -1
  125. package/src/ui/form/aiformtoolbarview.js +1 -1
  126. package/src/ui/form/aiformview.js +1 -1
  127. package/src/ui/form/aihistorylistitemview.js +1 -1
  128. package/src/ui/form/aihistorylistview.js +1 -1
  129. package/src/ui/form/prompthistory.js +1 -1
  130. package/src/ui/showaiassistantcommand.js +1 -1
  131. package/src/utils/common-translations.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d9b25=_0x1139;(function(_0x48b3f0,_0x26b615){const _0x2a9114=_0x1139,_0x1fc156=_0x48b3f0();while(!![]){try{const _0x2da285=parseInt(_0x2a9114(0x107))/0x1+parseInt(_0x2a9114(0x110))/0x2+parseInt(_0x2a9114(0x137))/0x3+parseInt(_0x2a9114(0xf0))/0x4+parseInt(_0x2a9114(0x105))/0x5+-parseInt(_0x2a9114(0x10e))/0x6+-parseInt(_0x2a9114(0x114))/0x7;if(_0x2da285===_0x26b615)break;else _0x1fc156['push'](_0x1fc156['shift']());}catch(_0x1ca295){_0x1fc156['push'](_0x1fc156['shift']());}}}(_0xf163,0xee4e4));import{ObservableMixin as _0x52a1bc}from'ckeditor5/src/utils.js';import{AIRequestError as _0x3f917e}from'../adapters/aiadapter.js';import{Matcher as _0xc1b7f3,UpcastWriter as _0x3f6571}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x1139(_0x50242e,_0x669462){const _0xf1634b=_0xf163();return _0x1139=function(_0x11396d,_0x15fa28){_0x11396d=_0x11396d-0xea;let _0x2b3b4f=_0xf1634b[_0x11396d];return _0x2b3b4f;},_0x1139(_0x50242e,_0x669462);}export default class y extends/* #__PURE__ -- @preserve */
24
- _0x52a1bc(){constructor(_0x592d22,_0x4ea4bb,_0x4f6a65){const _0x44d1f8=_0x1139;super(),this[_0x44d1f8(0x135)]=_0x592d22,this[_0x44d1f8(0x138)]=_0x4ea4bb,this[_0x44d1f8(0x117)]=document[_0x44d1f8(0x11b)](_0x44d1f8(0x142)),this[_0x44d1f8(0x10a)]=new DOMParser(),this[_0x44d1f8(0x104)]=new XMLSerializer(),this[_0x44d1f8(0xff)]=_0x4f6a65,this[_0x44d1f8(0xf2)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x44d1f8(0xfc),(_0x2b19e8,_0x291caf,_0x30c9cd)=>{const _0x46dc54=_0x44d1f8;this[_0x46dc54(0xff)][_0x46dc54(0xf8)]=this[_0x46dc54(0xef)](_0x30c9cd);}),this[_0x44d1f8(0x116)](this[_0x44d1f8(0xff)],_0x44d1f8(0xed),(_0x35cb77,_0x4b3884)=>{const _0x33c126=_0x44d1f8,_0x23bc76=this[_0x33c126(0x125)]||this[_0x33c126(0x12c)];this[_0x33c126(0x100)](_0x4b3884,_0x23bc76,_0x33c126(0x13e));}),this[_0x44d1f8(0x116)](this[_0x44d1f8(0xff)],_0x44d1f8(0x106),()=>{const _0x4c4602=_0x44d1f8;this[_0x4c4602(0xff)][_0x4c4602(0x129)]=this[_0x4c4602(0xf7)],this[_0x4c4602(0x100)](this[_0x4c4602(0x140)],this[_0x4c4602(0x144)],this[_0x4c4602(0x13b)],this[_0x4c4602(0xf7)]);}),this[_0x44d1f8(0x116)](this[_0x44d1f8(0xff)],_0x44d1f8(0x130),()=>{const _0x3702ea=_0x44d1f8;this[_0x3702ea(0x130)]();});}[_0x5d9b25(0x123)](){const _0x2d13de=_0x5d9b25;this[_0x2d13de(0x131)]();}async[_0x5d9b25(0xf6)]({actionId:_0x363793,query:_0x40cef3,htmlContent:_0x4770b5,label:_0x4b7717,mainActionLabel:_0x2f2f87}){const _0x23919a=_0x5d9b25;this[_0x23919a(0xff)][_0x23919a(0x129)]=_0x4b7717,this[_0x23919a(0xff)][_0x23919a(0xfb)]=_0x2f2f87,this[_0x23919a(0x12c)]=_0x4770b5,_0x40cef3&&(this[_0x23919a(0xff)][_0x23919a(0xfe)]?this[_0x23919a(0x100)](_0x40cef3,_0x4770b5,_0x363793,_0x4b7717):this[_0x23919a(0xff)][_0x23919a(0x10f)](_0x23919a(0xf5),()=>{const _0x302c60=_0x23919a;this[_0x302c60(0x100)](_0x40cef3,_0x4770b5,_0x363793,_0x4b7717);}));}[_0x5d9b25(0x130)](){const _0x270eef=_0x5d9b25;this[_0x270eef(0xf3)]&&(this[_0x270eef(0xf3)]=!0x1,this[_0x270eef(0xff)][_0x270eef(0xf1)](),this[_0x270eef(0x138)][_0x270eef(0x10b)]());}[_0x5d9b25(0x113)](){const _0x577706=_0x5d9b25;this[_0x577706(0x12c)]='',this[_0x577706(0x125)]='',this[_0x577706(0x121)]='',this[_0x577706(0x144)]='',this[_0x577706(0x140)]='',this[_0x577706(0xf7)]='',this[_0x577706(0x13b)]=void 0x0,this[_0x577706(0xff)][_0x577706(0x113)](),this[_0x577706(0x130)]();}async[_0x5d9b25(0x100)](_0x3331d1,_0x4beabc,_0x445c3f,_0x473412){const _0x1c7381=_0x5d9b25;return this[_0x1c7381(0xf3)]=!0x0,this[_0x1c7381(0xff)][_0x1c7381(0x101)](),this[_0x1c7381(0x144)]=_0x4beabc,this[_0x1c7381(0x140)]=_0x3331d1,this[_0x1c7381(0xf7)]=_0x473412||_0x3331d1,this[_0x1c7381(0x13b)]=_0x445c3f,new Promise(_0x38ec0c=>{const _0x128569=_0x1c7381;this[_0x128569(0x138)][_0x128569(0x11d)]({'query':_0x3331d1,'context':_0x4beabc,'onData':_0x63773a=>{const _0x58fed6=_0x128569;this[_0x58fed6(0x121)]=_0x63773a,this[_0x58fed6(0x125)]=this[_0x58fed6(0x12f)](this[_0x58fed6(0x121)]);},'actionId':_0x445c3f})[_0x128569(0x13c)](()=>{const _0x18875b=_0x128569;!this[_0x18875b(0x125)]&&this[_0x18875b(0x121)]&&(this[_0x18875b(0x125)]=this[_0x18875b(0x12f)](this[_0x18875b(0x121)],!0x0));})[_0x128569(0x115)](_0x10fbdc=>{const _0x3e8897=_0x128569;_0x10fbdc instanceof _0x3f917e?this[_0x3e8897(0xff)][_0x3e8897(0x111)](_0x10fbdc[_0x3e8897(0x132)]):this[_0x3e8897(0xff)][_0x3e8897(0x111)](),_0x38ec0c();})[_0x128569(0x122)](()=>{const _0x38f7f0=_0x128569;this[_0x38f7f0(0x130)](),_0x38ec0c();});});}[_0x5d9b25(0x12f)](_0xe39ca3,_0x55cfc9=!0x1){const _0x510f0c=_0x5d9b25,_0x21a2fd=Q[_0x510f0c(0x11c)](_0xe39ca3);_0xe39ca3=_0x21a2fd?_0xe39ca3[_0x510f0c(0x127)](_0x21a2fd[0x1][_0x510f0c(0x12e)]):_0xe39ca3[_0x510f0c(0x12e)]<0x64&&!_0x55cfc9?'':this[_0x510f0c(0xfd)](_0xe39ca3);const _0x5570e9=this[_0x510f0c(0x10a)][_0x510f0c(0x145)](_0xe39ca3,_0x510f0c(0xeb));if(_0x21a2fd){const _0x3a541e=Array[_0x510f0c(0x143)](_0x5570e9[_0x510f0c(0x136)][_0x510f0c(0x133)]);_0x3a541e[_0x510f0c(0x120)]();for(const _0x431eae of _0x3a541e){if(_0x431eae[_0x510f0c(0x109)]==Node[_0x510f0c(0x13a)])break;_0x431eae[_0x510f0c(0x118)]();}}const _0x28b647=this[_0x510f0c(0x135)][_0x510f0c(0x141)][_0x510f0c(0x126)][_0x510f0c(0x12d)](this[_0x510f0c(0x104)][_0x510f0c(0xf4)](_0x5570e9[_0x510f0c(0x136)]));return this[_0x510f0c(0xec)]()||this[_0x510f0c(0x119)](_0x28b647),this[_0x510f0c(0x135)][_0x510f0c(0x141)][_0x510f0c(0x102)](this[_0x510f0c(0x135)][_0x510f0c(0x141)][_0x510f0c(0x10c)](_0x28b647));}[_0x5d9b25(0x119)](_0x26cc77){const _0x175b14=_0x5d9b25,_0x3bb5cd=new _0x3f6571(this[_0x175b14(0x135)][_0x175b14(0x11f)][_0x175b14(0xff)][_0x175b14(0x12a)]),_0x206625=new _0xc1b7f3({'name':/^h[1-5]$/}),_0x92d85=[];let _0x4ecb29=!0x1;for(const _0x4e21cd of _0x26cc77)_0x4e21cd['is'](_0x175b14(0xee))&&_0x206625[_0x175b14(0x139)](_0x4e21cd)&&(_0x92d85[_0x175b14(0x13d)](_0x4e21cd),'h1'==_0x4e21cd[_0x175b14(0x108)]&&(_0x4ecb29=!0x0));if(_0x4ecb29){for(const _0x229a10 of _0x92d85)_0x3bb5cd[_0x175b14(0xf9)]('h'+(parseInt(_0x229a10[_0x175b14(0x108)][0x1])+0x1),_0x229a10);}}[_0x5d9b25(0xec)](){const _0x627920=_0x5d9b25,{data:_0x42e5de,editing:_0xc97687}=this[_0x627920(0x135)],_0x1b4815=_0x42e5de[_0x627920(0x134)][_0x627920(0x12d)](_0x627920(0x10d)),_0x166f00=_0x42e5de[_0x627920(0x12d)](_0x42e5de[_0x627920(0x10c)](_0x1b4815));return!!_0xc97687[_0x627920(0xff)][_0x627920(0x128)][_0x627920(0x13f)](_0x166f00)[_0x627920(0x11e)]('h1');}[_0x5d9b25(0xef)](_0x17d4c7){const _0x2b24f2=_0x5d9b25;return this[_0x2b24f2(0x135)][_0x2b24f2(0x11f)][_0x2b24f2(0xff)][_0x2b24f2(0x128)][_0x2b24f2(0xea)](this[_0x2b24f2(0x117)],_0x17d4c7),this[_0x2b24f2(0x117)][_0x2b24f2(0x12b)];}[_0x5d9b25(0xfd)](_0x1433b5){const _0x3cc884=_0x5d9b25,_0x1649ab=_0x1433b5[_0x3cc884(0x11a)]();return _0x1649ab[_0x3cc884(0x124)](_0x3cc884(0x103))?_0x1649ab[_0x3cc884(0xfa)](_0x3cc884(0x112))?_0x1649ab[_0x3cc884(0x127)](0x7,_0x1649ab[_0x3cc884(0x12e)]-0x3):_0x1649ab[_0x3cc884(0x127)](0x7):_0x1433b5;}}function _0xf163(){const _0x2f1a4f=['1430612UbFQAN','handleError','```','reset','15705326Euxcfc','catch','listenTo','_sanitizationContainer','remove','_normalizeResponseHeadings','trim','createElement','exec','makeRequest','querySelector','editing','reverse','currentResponse','finally','destroy','startsWith','currentContext','processor','substring','domConverter','prompt','document','innerHTML','initialContext','toView','length','_parseAndNormalizeContent','stopProcessing','stopListening','message','childNodes','htmlProcessor','editor','body','1223679ZtzhGg','textAdapter','match','ELEMENT_NODE','previousActionId','then','push','custom','viewToDom','previousQuery','data','div','from','previousContext','parseFromString','setContentOf','text/html','_isH1TagSupportEnabled','submitPrompt','element','_sanitizeHTML','464960LxxszS','finishProcessing','set','isProcessing','serializeToString','render','updateView','previousLabel','value','rename','endsWith','mainAction','set:currentContext','_stripMarkdownSyntax','isRendered','view','_handleQuery','startProcessing','stringify','```html','_xmlSerializer','9177155UxiQkV','tryAgainEvent','1879274lwZeMb','name','nodeType','_domParser','abort','toModel','<h1></h1>','10406556obRtJP','once'];_0xf163=function(){return _0x2f1a4f;};return _0xf163();}
23
+ const _0x435545=_0x91d3;(function(_0x27d4c0,_0xf95ab6){const _0x3a4237=_0x91d3,_0x1223ca=_0x27d4c0();while(!![]){try{const _0x323432=parseInt(_0x3a4237(0xe0))/0x1*(-parseInt(_0x3a4237(0xa6))/0x2)+parseInt(_0x3a4237(0xcf))/0x3+-parseInt(_0x3a4237(0xe5))/0x4+parseInt(_0x3a4237(0xd6))/0x5*(parseInt(_0x3a4237(0xc0))/0x6)+-parseInt(_0x3a4237(0xb8))/0x7+parseInt(_0x3a4237(0xdc))/0x8+parseInt(_0x3a4237(0xe9))/0x9*(parseInt(_0x3a4237(0xd1))/0xa);if(_0x323432===_0xf95ab6)break;else _0x1223ca['push'](_0x1223ca['shift']());}catch(_0xdfa0d9){_0x1223ca['push'](_0x1223ca['shift']());}}}(_0x4cf0,0xa821d));import{ObservableMixin as _0x4cf290}from'ckeditor5/src/utils.js';import{AIRequestError as _0x394515}from'../adapters/aiadapter.js';function _0x4cf0(){const _0x3e5ffa=['data','childNodes','```html','_parseAndNormalizeContent','isRendered','isProcessing','29878YVsTMm','htmlProcessor','push','length','currentResponse','editing','textAdapter','domConverter','view','makeRequest','body','toModel','stopListening','_stripMarkdownSyntax','submitPrompt','then','handleError','_domParser','6452222SBLPGV','document','render','stringify','_normalizeResponseHeadings','text/html','div','from','630642btwsEy','mainAction','serializeToString','<h1></h1>','```','value','_sanitizeHTML','prompt','finally','message','_handleQuery','abort','stopProcessing','toView','startsWith','342945BRAwvJ','querySelector','57480qyRBYk','viewToDom','finishProcessing','once','previousActionId','5JxQyNL','custom','startProcessing','listenTo','match','ELEMENT_NODE','10827360XsaZSw','updateView','set','catch','65gmYrEG','exec','processor','remove','currentContext','2702224qdyAYo','name','nodeType','endsWith','2637wCxHuc','parseFromString','tryAgainEvent','initialContext','reset','setContentOf','innerHTML','substring','destroy','reverse','element','_isH1TagSupportEnabled','previousContext','set:currentContext','rename','editor','previousQuery','createElement','_sanitizationContainer','trim','_xmlSerializer','previousLabel'];_0x4cf0=function(){return _0x3e5ffa;};return _0x4cf0();}import{Matcher as _0x2045db,UpcastWriter as _0x6b6855}from'ckeditor5/src/engine.js';function _0x91d3(_0x5e7df6,_0x4f72c0){const _0x4cf0b3=_0x4cf0();return _0x91d3=function(_0x91d354,_0x43359c){_0x91d354=_0x91d354-0xa4;let _0x5c345c=_0x4cf0b3[_0x91d354];return _0x5c345c;},_0x91d3(_0x5e7df6,_0x4f72c0);}const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class y extends/* #__PURE__ -- @preserve */
24
+ _0x4cf290(){constructor(_0x5cee52,_0x4f9ad5,_0x54c52f){const _0x206cdd=_0x91d3;super(),this[_0x206cdd(0xf8)]=_0x5cee52,this[_0x206cdd(0xac)]=_0x4f9ad5,this[_0x206cdd(0xfb)]=document[_0x206cdd(0xfa)](_0x206cdd(0xbe)),this[_0x206cdd(0xb7)]=new DOMParser(),this[_0x206cdd(0xfd)]=new XMLSerializer(),this[_0x206cdd(0xae)]=_0x54c52f,this[_0x206cdd(0xde)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x206cdd(0xf6),(_0x22e79e,_0x214d4d,_0x24f49a)=>{const _0x28e3de=_0x206cdd;this[_0x28e3de(0xae)][_0x28e3de(0xc5)]=this[_0x28e3de(0xc6)](_0x24f49a);}),this[_0x206cdd(0xd9)](this[_0x206cdd(0xae)],_0x206cdd(0xb4),(_0x493b97,_0x20ab9e)=>{const _0x42ef6b=_0x206cdd,_0x3b7c90=this[_0x42ef6b(0xe4)]||this[_0x42ef6b(0xec)];this[_0x42ef6b(0xca)](_0x20ab9e,_0x3b7c90,_0x42ef6b(0xd7));}),this[_0x206cdd(0xd9)](this[_0x206cdd(0xae)],_0x206cdd(0xeb),()=>{const _0x173fa1=_0x206cdd;this[_0x173fa1(0xae)][_0x173fa1(0xc7)]=this[_0x173fa1(0xfe)],this[_0x173fa1(0xca)](this[_0x173fa1(0xf9)],this[_0x173fa1(0xf5)],this[_0x173fa1(0xd5)],this[_0x173fa1(0xfe)]);}),this[_0x206cdd(0xd9)](this[_0x206cdd(0xae)],_0x206cdd(0xcc),()=>{const _0x57424d=_0x206cdd;this[_0x57424d(0xcc)]();});}[_0x435545(0xf1)](){const _0x1d7436=_0x435545;this[_0x1d7436(0xb2)]();}async[_0x435545(0xdd)]({actionId:_0xe9a800,query:_0x199d8f,htmlContent:_0x2f5f15,label:_0x1dabfc,mainActionLabel:_0x58c074}){const _0x298b96=_0x435545;this[_0x298b96(0xae)][_0x298b96(0xc7)]=_0x1dabfc,this[_0x298b96(0xae)][_0x298b96(0xc1)]=_0x58c074,this[_0x298b96(0xec)]=_0x2f5f15,_0x199d8f&&(this[_0x298b96(0xae)][_0x298b96(0xa4)]?this[_0x298b96(0xca)](_0x199d8f,_0x2f5f15,_0xe9a800,_0x1dabfc):this[_0x298b96(0xae)][_0x298b96(0xd4)](_0x298b96(0xba),()=>{const _0x114b03=_0x298b96;this[_0x114b03(0xca)](_0x199d8f,_0x2f5f15,_0xe9a800,_0x1dabfc);}));}[_0x435545(0xcc)](){const _0x120552=_0x435545;this[_0x120552(0xa5)]&&(this[_0x120552(0xa5)]=!0x1,this[_0x120552(0xae)][_0x120552(0xd3)](),this[_0x120552(0xac)][_0x120552(0xcb)]());}[_0x435545(0xed)](){const _0x2c4dd0=_0x435545;this[_0x2c4dd0(0xec)]='',this[_0x2c4dd0(0xe4)]='',this[_0x2c4dd0(0xaa)]='',this[_0x2c4dd0(0xf5)]='',this[_0x2c4dd0(0xf9)]='',this[_0x2c4dd0(0xfe)]='',this[_0x2c4dd0(0xd5)]=void 0x0,this[_0x2c4dd0(0xae)][_0x2c4dd0(0xed)](),this[_0x2c4dd0(0xcc)]();}async[_0x435545(0xca)](_0x4aa18b,_0x2736a7,_0x2cd019,_0x5c270b){const _0x4a80f4=_0x435545;return this[_0x4a80f4(0xa5)]=!0x0,this[_0x4a80f4(0xae)][_0x4a80f4(0xd8)](),this[_0x4a80f4(0xf5)]=_0x2736a7,this[_0x4a80f4(0xf9)]=_0x4aa18b,this[_0x4a80f4(0xfe)]=_0x5c270b||_0x4aa18b,this[_0x4a80f4(0xd5)]=_0x2cd019,new Promise(_0x175734=>{const _0x486ebe=_0x4a80f4;this[_0x486ebe(0xac)][_0x486ebe(0xaf)]({'query':_0x4aa18b,'context':_0x2736a7,'onData':_0x3cd9f2=>{const _0x3185c1=_0x486ebe;this[_0x3185c1(0xaa)]=_0x3cd9f2,this[_0x3185c1(0xe4)]=this[_0x3185c1(0x102)](this[_0x3185c1(0xaa)]);},'actionId':_0x2cd019})[_0x486ebe(0xb5)](()=>{const _0x132f99=_0x486ebe;!this[_0x132f99(0xe4)]&&this[_0x132f99(0xaa)]&&(this[_0x132f99(0xe4)]=this[_0x132f99(0x102)](this[_0x132f99(0xaa)],!0x0));})[_0x486ebe(0xdf)](_0x28e7d9=>{const _0x4153a6=_0x486ebe;_0x28e7d9 instanceof _0x394515?this[_0x4153a6(0xae)][_0x4153a6(0xb6)](_0x28e7d9[_0x4153a6(0xc9)]):this[_0x4153a6(0xae)][_0x4153a6(0xb6)](),_0x175734();})[_0x486ebe(0xc8)](()=>{const _0x5e379e=_0x486ebe;this[_0x5e379e(0xcc)](),_0x175734();});});}[_0x435545(0x102)](_0x4ae485,_0x3574bb=!0x1){const _0x3d2368=_0x435545,_0x1e45cb=Q[_0x3d2368(0xe1)](_0x4ae485);_0x4ae485=_0x1e45cb?_0x4ae485[_0x3d2368(0xf0)](_0x1e45cb[0x1][_0x3d2368(0xa9)]):_0x4ae485[_0x3d2368(0xa9)]<0x64&&!_0x3574bb?'':this[_0x3d2368(0xb3)](_0x4ae485);const _0x50f7cf=this[_0x3d2368(0xb7)][_0x3d2368(0xea)](_0x4ae485,_0x3d2368(0xbd));if(_0x1e45cb){const _0xc98dde=Array[_0x3d2368(0xbf)](_0x50f7cf[_0x3d2368(0xb0)][_0x3d2368(0x100)]);_0xc98dde[_0x3d2368(0xf2)]();for(const _0x2f056f of _0xc98dde){if(_0x2f056f[_0x3d2368(0xe7)]==Node[_0x3d2368(0xdb)])break;_0x2f056f[_0x3d2368(0xe3)]();}}const _0x3beec8=this[_0x3d2368(0xf8)][_0x3d2368(0xff)][_0x3d2368(0xe2)][_0x3d2368(0xcd)](this[_0x3d2368(0xfd)][_0x3d2368(0xc2)](_0x50f7cf[_0x3d2368(0xb0)]));return this[_0x3d2368(0xf4)]()||this[_0x3d2368(0xbc)](_0x3beec8),this[_0x3d2368(0xf8)][_0x3d2368(0xff)][_0x3d2368(0xbb)](this[_0x3d2368(0xf8)][_0x3d2368(0xff)][_0x3d2368(0xb1)](_0x3beec8));}[_0x435545(0xbc)](_0x3fc389){const _0x5989b5=_0x435545,_0x22c6ed=new _0x6b6855(this[_0x5989b5(0xf8)][_0x5989b5(0xab)][_0x5989b5(0xae)][_0x5989b5(0xb9)]),_0x30516c=new _0x2045db({'name':/^h[1-5]$/}),_0x544bed=[];let _0x44f1e4=!0x1;for(const _0x37ed63 of _0x3fc389)_0x37ed63['is'](_0x5989b5(0xf3))&&_0x30516c[_0x5989b5(0xda)](_0x37ed63)&&(_0x544bed[_0x5989b5(0xa8)](_0x37ed63),'h1'==_0x37ed63[_0x5989b5(0xe6)]&&(_0x44f1e4=!0x0));if(_0x44f1e4){for(const _0x3e9d2e of _0x544bed)_0x22c6ed[_0x5989b5(0xf7)]('h'+(parseInt(_0x3e9d2e[_0x5989b5(0xe6)][0x1])+0x1),_0x3e9d2e);}}[_0x435545(0xf4)](){const _0x7ebc33=_0x435545,{data:_0x49f57c,editing:_0xf6ff18}=this[_0x7ebc33(0xf8)],_0x5dc64c=_0x49f57c[_0x7ebc33(0xa7)][_0x7ebc33(0xcd)](_0x7ebc33(0xc3)),_0x3955c2=_0x49f57c[_0x7ebc33(0xcd)](_0x49f57c[_0x7ebc33(0xb1)](_0x5dc64c));return!!_0xf6ff18[_0x7ebc33(0xae)][_0x7ebc33(0xad)][_0x7ebc33(0xd2)](_0x3955c2)[_0x7ebc33(0xd0)]('h1');}[_0x435545(0xc6)](_0x359830){const _0x56da16=_0x435545;return this[_0x56da16(0xf8)][_0x56da16(0xab)][_0x56da16(0xae)][_0x56da16(0xad)][_0x56da16(0xee)](this[_0x56da16(0xfb)],_0x359830),this[_0x56da16(0xfb)][_0x56da16(0xef)];}[_0x435545(0xb3)](_0x11808b){const _0x40774c=_0x435545,_0x34f8e3=_0x11808b[_0x40774c(0xfc)]();return _0x34f8e3[_0x40774c(0xce)](_0x40774c(0x101))?_0x34f8e3[_0x40774c(0xe8)](_0x40774c(0xc4))?_0x34f8e3[_0x40774c(0xf0)](0x7,_0x34f8e3[_0x40774c(0xa9)]-0x3):_0x34f8e3[_0x40774c(0xf0)](0x7):_0x11808b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23e78d=_0x30d8;(function(_0x800b0f,_0x14e4f4){const _0x43fedf=_0x30d8,_0x413e16=_0x800b0f();while(!![]){try{const _0x16de20=parseInt(_0x43fedf(0x226))/0x1*(-parseInt(_0x43fedf(0x22c))/0x2)+-parseInt(_0x43fedf(0x235))/0x3+parseInt(_0x43fedf(0x1eb))/0x4*(-parseInt(_0x43fedf(0x22f))/0x5)+parseInt(_0x43fedf(0x228))/0x6*(parseInt(_0x43fedf(0x1e1))/0x7)+parseInt(_0x43fedf(0x1e5))/0x8+-parseInt(_0x43fedf(0x222))/0x9*(parseInt(_0x43fedf(0x1ee))/0xa)+parseInt(_0x43fedf(0x1ea))/0xb*(parseInt(_0x43fedf(0x1f4))/0xc);if(_0x16de20===_0x14e4f4)break;else _0x413e16['push'](_0x413e16['shift']());}catch(_0x25826c){_0x413e16['push'](_0x413e16['shift']());}}}(_0x13e4,0xacb29));import{global as _0x3bd1a6}from'ckeditor5/src/utils.js';import{View as _0x23c141,ButtonView as _0x43226f,SpinnerView as _0x5e2e1a}from'ckeditor5/src/ui.js';import _0x182f84 from'../../../theme/icons/copy.svg';function _0x30d8(_0x2a318c,_0x4e0673){const _0x13e40c=_0x13e4();return _0x30d8=function(_0x30d8e4,_0x1f02e5){_0x30d8e4=_0x30d8e4-0x1df;let _0x3a1885=_0x13e40c[_0x30d8e4];return _0x3a1885;},_0x30d8(_0x2a318c,_0x4e0673);}import{getTranslation as _0x1bc5ac}from'../../utils/common-translations.js';import{icons as _0x46dc8a}from'ckeditor5/src/core.js';export default class K extends _0x23c141{constructor(_0x46deaf,_0x5a3039=''){const _0x161361=_0x30d8;super(_0x46deaf),this[_0x161361(0x1ef)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3dc492=this[_0x161361(0x20e)];this[_0x161361(0x215)]=new ContentFieldView(_0x46deaf,_0x5a3039),this[_0x161361(0x225)]=this[_0x161361(0x1f8)](),this[_0x161361(0x21a)]({'tag':_0x161361(0x20f),'attributes':{'class':['ck',_0x161361(0x234),_0x3dc492['if'](_0x161361(0x1e7),_0x161361(0x22e),_0x4024f3=>!_0x4024f3)],'tabindex':'-1'},'children':[{'tag':_0x161361(0x20f),'attributes':{'class':['ck',_0x161361(0x232),_0x3dc492['if'](_0x161361(0x1fa),_0x161361(0x1e4))]},'children':[this[_0x161361(0x215)],{'tag':_0x161361(0x20f),'attributes':{'class':['ck',_0x161361(0x227)]},'children':[this[_0x161361(0x225)]]}]}]});}[_0x23e78d(0x1e6)](){const _0x35b3d2=_0x23e78d;super[_0x35b3d2(0x1e6)](),this[_0x35b3d2(0x1fb)]&&this[_0x35b3d2(0x215)][_0x35b3d2(0x200)](this[_0x35b3d2(0x1fb)]);let _0x1c5600=!0x1;this['on'](_0x35b3d2(0x1ff),(_0x5eb7ce,_0xc5af8a,_0x5bc070)=>{const _0x18aefd=_0x35b3d2,_0x592bd0=!this[_0x18aefd(0x215)][_0x18aefd(0x209)][_0x18aefd(0x21d)](_0x18aefd(0x1ed));this[_0x18aefd(0x215)][_0x18aefd(0x200)](_0x5bc070),this[_0x18aefd(0x1fa)]&&_0x592bd0&&!_0x1c5600&&this[_0x18aefd(0x209)][_0x18aefd(0x233)]({'top':this[_0x18aefd(0x209)][_0x18aefd(0x22d)],'behavior':_0x18aefd(0x220)});}),this['on'](_0x35b3d2(0x214),(_0x2211f7,_0x295f56,_0x5a8197)=>{const _0x3530d6=_0x35b3d2;_0x1c5600=!0x1,_0x5a8197?(this[_0x3530d6(0x1fb)]=null,this[_0x3530d6(0x215)][_0x3530d6(0x223)]()):this[_0x3530d6(0x1fb)]||this[_0x3530d6(0x215)][_0x3530d6(0x200)]('');}),this[_0x35b3d2(0x211)](this[_0x35b3d2(0x209)],_0x35b3d2(0x1f9),()=>{_0x1c5600=!0x0;}),this[_0x35b3d2(0x211)](this[_0x35b3d2(0x209)],_0x35b3d2(0x206),()=>{_0x1c5600=!0x0;});}[_0x23e78d(0x1f3)](){const _0x2c25ea=_0x23e78d;this[_0x2c25ea(0x209)][_0x2c25ea(0x1f3)]();}[_0x23e78d(0x1f8)](){const _0x390de7=_0x23e78d,_0x1646ad=this[_0x390de7(0x231)],_0x4070d8=new _0x43226f(this[_0x390de7(0x231)]),_0xdcc5d9=_0x390de7(0x221);return _0x4070d8[_0x390de7(0x1ef)]({'label':_0x1bc5ac(_0x1646ad,_0x390de7(0x20c)),'icon':_0x182f84,'class':_0xdcc5d9,'tooltip':!0x0}),_0x4070d8[_0x390de7(0x1fc)](_0x390de7(0x1e7))['to'](this,_0x390de7(0x1fb),_0x4b1f68=>!!_0x4b1f68),_0x4070d8[_0x390de7(0x1fc)](_0x390de7(0x229))['to'](this,_0x390de7(0x1fa),_0x5bb8ff=>!_0x5bb8ff),_0x4070d8['on'](_0x390de7(0x1f1),()=>{const _0x7bcdf1=_0x390de7;this[_0x7bcdf1(0x219)](this[_0x7bcdf1(0x215)][_0x7bcdf1(0x209)]),_0x4070d8[_0x7bcdf1(0x205)]=_0x46dc8a[_0x7bcdf1(0x22b)],_0x4070d8[_0x7bcdf1(0x1e9)]=_0xdcc5d9+_0x7bcdf1(0x1f2),this[_0x7bcdf1(0x1f3)](),setTimeout(()=>{const _0x31d21b=_0x7bcdf1;_0x4070d8[_0x31d21b(0x205)]=_0x182f84,_0x4070d8[_0x31d21b(0x1e9)]=_0xdcc5d9;},0x3e8);}),_0x4070d8;}[_0x23e78d(0x219)](_0x126670){const _0x32c666=_0x23e78d,{window:_0x309fe6,document:_0x120732}=_0x3bd1a6;if(_0x309fe6[_0x32c666(0x1fe)]){const {Blob:_0x483b5e,ClipboardItem:_0x216307}=_0x309fe6,_0x5b42f6=[new _0x216307({'text/html':new _0x483b5e([_0x126670[_0x32c666(0x21b)]],{'type':_0x32c666(0x1e2)}),'text/plain':new _0x483b5e([_0x126670[_0x32c666(0x21c)]||''],{'type':_0x32c666(0x217)})})];navigator[_0x32c666(0x22a)][_0x32c666(0x1fd)](_0x5b42f6);}else{const _0x1dc0ec=_0x120732[_0x32c666(0x218)](_0x32c666(0x20f));_0x1dc0ec[_0x32c666(0x1e8)][_0x32c666(0x213)]=_0x32c666(0x20d),_0x1dc0ec[_0x32c666(0x1e8)][_0x32c666(0x1f0)]=_0x32c666(0x201),_0x1dc0ec[_0x32c666(0x21b)]=_0x32c666(0x1f7)+_0x126670[_0x32c666(0x21b)]+_0x32c666(0x20a),_0x120732[_0x32c666(0x1df)][_0x32c666(0x210)](_0x1dc0ec);const _0x3a027a=_0x120732[_0x32c666(0x21e)]();_0x3a027a[_0x32c666(0x224)](_0x1dc0ec[_0x32c666(0x204)]),_0x3a027a[_0x32c666(0x1e3)](_0x1dc0ec[_0x32c666(0x216)]);const _0x56c2eb=_0x309fe6[_0x32c666(0x236)]();_0x56c2eb[_0x32c666(0x1e0)](),_0x56c2eb[_0x32c666(0x21f)](_0x3a027a),_0x120732[_0x32c666(0x1ec)](_0x32c666(0x207)),_0x1dc0ec[_0x32c666(0x202)]();}}}export class ContentFieldView extends _0x23c141{constructor(_0x91026f,_0x256383=''){const _0x367317=_0x23e78d;super(_0x91026f),this[_0x367317(0x1f6)]=this[_0x367317(0x203)](),this[_0x367317(0x21a)]({'tag':_0x367317(0x20f),'attributes':{'class':['ck',_0x367317(0x20b),_0x256383,_0x367317(0x212),_0x367317(0x208)]}});}[_0x23e78d(0x200)](_0x3219ff){const _0x16fa8f=_0x23e78d;this[_0x16fa8f(0x209)][_0x16fa8f(0x21b)]=_0x3219ff;}[_0x23e78d(0x223)](){const _0x4f224d=_0x23e78d;this[_0x4f224d(0x209)][_0x4f224d(0x210)](this[_0x4f224d(0x1f6)][_0x4f224d(0x209)]);}[_0x23e78d(0x203)](){const _0x304e22=_0x23e78d,_0x275ed3=new _0x23c141(),_0x3d935a=this[_0x304e22(0x231)],_0x37a42f=new _0x5e2e1a();return _0x37a42f[_0x304e22(0x1e7)]=!0x0,_0x275ed3[_0x304e22(0x21a)]({'tag':_0x304e22(0x20f),'attributes':{'class':['ck',_0x304e22(0x1f5)]},'children':[_0x37a42f,{'text':_0x1bc5ac(_0x3d935a,_0x304e22(0x230))}]}),_0x275ed3[_0x304e22(0x1e6)](),_0x275ed3;}}function _0x13e4(){const _0x3d7a6a=['354498hyWVFR','isEnabled','clipboard','check','176fSnKlY','scrollHeight','ck-hidden','5oTGNRZ','AI\x20is\x20writing...','locale','ck-ai-form__content-area','scrollTo','ck-ai-form__content-area-wrapper','2994873oKnxxE','getSelection','body','removeAllRanges','133fUDZWg','text/html','setEndBefore','ck-ai-form__content-area--processing','4117632jwdfJt','render','isVisible','style','class','593593yTZADF','2545980fWPPae','execCommand','.ck-ai-form__loader','705730qOXNTv','set','left','execute','\x20ck-ai-form__copy-button--copied','focus','372NGbpAL','ck-ai-form__loader','loaderView','<span>[</span>','_createCopyButton','wheel','isProcessing','value','bind','write','ClipboardItem','change:value','setContent','-9999px','remove','_createLoader','firstElementChild','icon','mousedown','copy','ck-ai-form__content-field','element','<span>]</span>','ck-content','Copy','absolute','bindTemplate','div','appendChild','listenTo','ck-reset_all-excluded','position','change:isProcessing','contentFieldView','lastElementChild','text/plain','createElement','_copyHTMLToClipboard','setTemplate','innerHTML','textContent','querySelector','createRange','addRange','smooth','ck-ai-form__copy-button','63wElXId','appendLoader','setStartAfter','copyButtonView','5386lDvIrj','ck-ai-form__copy-button-wrapper'];_0x13e4=function(){return _0x3d7a6a;};return _0x13e4();}
23
+ function _0x2736(_0x26d8ab,_0x106e3f){const _0x707efa=_0x707e();return _0x2736=function(_0x2736bf,_0x24d2e2){_0x2736bf=_0x2736bf-0x192;let _0x553c3d=_0x707efa[_0x2736bf];return _0x553c3d;},_0x2736(_0x26d8ab,_0x106e3f);}const _0x220a0f=_0x2736;(function(_0x5c99ea,_0x34c0bf){const _0x4a3a50=_0x2736,_0x306eae=_0x5c99ea();while(!![]){try{const _0x206126=parseInt(_0x4a3a50(0x19a))/0x1+-parseInt(_0x4a3a50(0x197))/0x2*(-parseInt(_0x4a3a50(0x1af))/0x3)+-parseInt(_0x4a3a50(0x1d9))/0x4+parseInt(_0x4a3a50(0x19d))/0x5+parseInt(_0x4a3a50(0x1ad))/0x6*(parseInt(_0x4a3a50(0x1b8))/0x7)+-parseInt(_0x4a3a50(0x1b5))/0x8+-parseInt(_0x4a3a50(0x1d7))/0x9;if(_0x206126===_0x34c0bf)break;else _0x306eae['push'](_0x306eae['shift']());}catch(_0x3b93f4){_0x306eae['push'](_0x306eae['shift']());}}}(_0x707e,0xe4a4a));import{global as _0x497460}from'ckeditor5/src/utils.js';import{View as _0x5a53c6,ButtonView as _0x3d0f16,SpinnerView as _0x1c2d38}from'ckeditor5/src/ui.js';import _0x14f090 from'../../../theme/icons/copy.svg';import{getTranslation as _0x2f8d99}from'../../utils/common-translations.js';import{icons as _0x2d46fb}from'ckeditor5/src/core.js';export default class K extends _0x5a53c6{constructor(_0x25ce1d,_0x45c752=''){const _0x3a69d9=_0x2736;super(_0x25ce1d),this[_0x3a69d9(0x198)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x32fdff=this[_0x3a69d9(0x1b9)];this[_0x3a69d9(0x1df)]=new ContentFieldView(_0x25ce1d,_0x45c752),this[_0x3a69d9(0x1ca)]=this[_0x3a69d9(0x1d8)](),this[_0x3a69d9(0x1ce)]({'tag':_0x3a69d9(0x1c4),'attributes':{'class':['ck',_0x3a69d9(0x1e3),_0x32fdff['if'](_0x3a69d9(0x1bc),_0x3a69d9(0x1da),_0x31ee94=>!_0x31ee94)],'tabindex':'-1'},'children':[{'tag':_0x3a69d9(0x1c4),'attributes':{'class':['ck',_0x3a69d9(0x1e2),_0x32fdff['if'](_0x3a69d9(0x1a5),_0x3a69d9(0x1d1))]},'children':[this[_0x3a69d9(0x1df)],{'tag':_0x3a69d9(0x1c4),'attributes':{'class':['ck',_0x3a69d9(0x1a0)]},'children':[this[_0x3a69d9(0x1ca)]]}]}]});}[_0x220a0f(0x1cc)](){const _0x3f7a3f=_0x220a0f;super[_0x3f7a3f(0x1cc)](),this[_0x3f7a3f(0x1c7)]&&this[_0x3f7a3f(0x1df)][_0x3f7a3f(0x1e5)](this[_0x3f7a3f(0x1c7)]);let _0x300558=!0x1;this['on'](_0x3f7a3f(0x1cb),(_0x46dc53,_0x3a06ac,_0x321714)=>{const _0x18b404=_0x3f7a3f,_0x52ce3d=!this[_0x18b404(0x1df)][_0x18b404(0x1c1)][_0x18b404(0x1e1)](_0x18b404(0x1dc));this[_0x18b404(0x1df)][_0x18b404(0x1e5)](_0x321714),this[_0x18b404(0x1a5)]&&_0x52ce3d&&!_0x300558&&this[_0x18b404(0x1c1)][_0x18b404(0x1ae)]({'top':this[_0x18b404(0x1c1)][_0x18b404(0x1d2)],'behavior':_0x18b404(0x1aa)});}),this['on'](_0x3f7a3f(0x1d0),(_0x554916,_0x5dea81,_0x170c42)=>{const _0x319ff1=_0x3f7a3f;_0x300558=!0x1,_0x170c42?(this[_0x319ff1(0x1c7)]=null,this[_0x319ff1(0x1df)][_0x319ff1(0x1cf)]()):this[_0x319ff1(0x1c7)]||this[_0x319ff1(0x1df)][_0x319ff1(0x1e5)]('');}),this[_0x3f7a3f(0x1e0)](this[_0x3f7a3f(0x1c1)],_0x3f7a3f(0x1be),()=>{_0x300558=!0x0;}),this[_0x3f7a3f(0x1e0)](this[_0x3f7a3f(0x1c1)],_0x3f7a3f(0x1bb),()=>{_0x300558=!0x0;});}[_0x220a0f(0x1a1)](){const _0x1da402=_0x220a0f;this[_0x1da402(0x1c1)][_0x1da402(0x1a1)]();}[_0x220a0f(0x1d8)](){const _0x233b55=_0x220a0f,_0x2605fd=this[_0x233b55(0x1e4)],_0x1be091=new _0x3d0f16(this[_0x233b55(0x1e4)]),_0x146eb1=_0x233b55(0x1b3);return _0x1be091[_0x233b55(0x198)]({'label':_0x2f8d99(_0x2605fd,_0x233b55(0x1c0)),'icon':_0x14f090,'class':_0x146eb1,'tooltip':!0x0}),_0x1be091[_0x233b55(0x1a7)](_0x233b55(0x1bc))['to'](this,_0x233b55(0x1c7),_0x547e9f=>!!_0x547e9f),_0x1be091[_0x233b55(0x1a7)](_0x233b55(0x1a2))['to'](this,_0x233b55(0x1a5),_0x5566a0=>!_0x5566a0),_0x1be091['on'](_0x233b55(0x1c5),()=>{const _0x499ff2=_0x233b55;this[_0x499ff2(0x1b6)](this[_0x499ff2(0x1df)][_0x499ff2(0x1c1)]),_0x1be091[_0x499ff2(0x193)]=_0x2d46fb[_0x499ff2(0x1de)],_0x1be091[_0x499ff2(0x1a6)]=_0x146eb1+_0x499ff2(0x1ba),this[_0x499ff2(0x1a1)](),setTimeout(()=>{const _0x348df5=_0x499ff2;_0x1be091[_0x348df5(0x193)]=_0x14f090,_0x1be091[_0x348df5(0x1a6)]=_0x146eb1;},0x3e8);}),_0x1be091;}[_0x220a0f(0x1b6)](_0x582416){const _0x30b3cf=_0x220a0f,{window:_0x12151b,document:_0x4c01f1}=_0x497460;if(_0x12151b[_0x30b3cf(0x192)]){const {Blob:_0x149fc6,ClipboardItem:_0x5e008f}=_0x12151b,_0x14b197=[new _0x5e008f({'text/html':new _0x149fc6([_0x582416[_0x30b3cf(0x1db)]],{'type':_0x30b3cf(0x1c2)}),'text/plain':new _0x149fc6([_0x582416[_0x30b3cf(0x199)]||''],{'type':_0x30b3cf(0x196)})})];navigator[_0x30b3cf(0x1e6)][_0x30b3cf(0x1b0)](_0x14b197);}else{const _0xb3c9ee=_0x4c01f1[_0x30b3cf(0x1c6)](_0x30b3cf(0x1c4));_0xb3c9ee[_0x30b3cf(0x1c9)][_0x30b3cf(0x1d5)]=_0x30b3cf(0x1b4),_0xb3c9ee[_0x30b3cf(0x1c9)][_0x30b3cf(0x1b2)]=_0x30b3cf(0x19c),_0xb3c9ee[_0x30b3cf(0x1db)]=_0x30b3cf(0x1cd)+_0x582416[_0x30b3cf(0x1db)]+_0x30b3cf(0x1b1),_0x4c01f1[_0x30b3cf(0x1a8)][_0x30b3cf(0x195)](_0xb3c9ee);const _0x114eef=_0x4c01f1[_0x30b3cf(0x1a3)]();_0x114eef[_0x30b3cf(0x1d4)](_0xb3c9ee[_0x30b3cf(0x1a4)]),_0x114eef[_0x30b3cf(0x1bd)](_0xb3c9ee[_0x30b3cf(0x1c8)]);const _0x5c751a=_0x12151b[_0x30b3cf(0x1b7)]();_0x5c751a[_0x30b3cf(0x19f)](),_0x5c751a[_0x30b3cf(0x1bf)](_0x114eef),_0x4c01f1[_0x30b3cf(0x1ac)](_0x30b3cf(0x1a9)),_0xb3c9ee[_0x30b3cf(0x19e)]();}}}export class ContentFieldView extends _0x5a53c6{constructor(_0x350c36,_0x121c66=''){const _0x1e3965=_0x220a0f;super(_0x350c36),this[_0x1e3965(0x1c3)]=this[_0x1e3965(0x1d3)](),this[_0x1e3965(0x1ce)]({'tag':_0x1e3965(0x1c4),'attributes':{'class':['ck',_0x1e3965(0x194),_0x121c66,_0x1e3965(0x1ab),_0x1e3965(0x1dd)]}});}[_0x220a0f(0x1e5)](_0x5007db){const _0x1e3985=_0x220a0f;this[_0x1e3985(0x1c1)][_0x1e3985(0x1db)]=_0x5007db;}[_0x220a0f(0x1cf)](){const _0x4202a9=_0x220a0f;this[_0x4202a9(0x1c1)][_0x4202a9(0x195)](this[_0x4202a9(0x1c3)][_0x4202a9(0x1c1)]);}[_0x220a0f(0x1d3)](){const _0x5e7c06=_0x220a0f,_0x3a2be4=new _0x5a53c6(),_0x5f0248=this[_0x5e7c06(0x1e4)],_0x44d4c9=new _0x1c2d38();return _0x44d4c9[_0x5e7c06(0x1bc)]=!0x0,_0x3a2be4[_0x5e7c06(0x1ce)]({'tag':_0x5e7c06(0x1c4),'attributes':{'class':['ck',_0x5e7c06(0x1d6)]},'children':[_0x44d4c9,{'text':_0x2f8d99(_0x5f0248,_0x5e7c06(0x19b))}]}),_0x3a2be4[_0x5e7c06(0x1cc)](),_0x3a2be4;}}function _0x707e(){const _0x27879c=['div','execute','createElement','value','lastElementChild','style','copyButtonView','change:value','render','<span>[</span>','setTemplate','appendLoader','change:isProcessing','ck-ai-form__content-area--processing','scrollHeight','_createLoader','setStartAfter','position','ck-ai-form__loader','23860620lKNgsx','_createCopyButton','5149104igpdPL','ck-hidden','innerHTML','.ck-ai-form__loader','ck-ai-form__content-field','check','contentFieldView','listenTo','querySelector','ck-ai-form__content-area','ck-ai-form__content-area-wrapper','locale','setContent','clipboard','ClipboardItem','icon','ck-content','appendChild','text/plain','34sHidFt','set','textContent','1347753fDKRPK','AI\x20is\x20writing...','-9999px','4177430OWwWYO','remove','removeAllRanges','ck-ai-form__copy-button-wrapper','focus','isEnabled','createRange','firstElementChild','isProcessing','class','bind','body','copy','smooth','ck-reset_all-excluded','execCommand','102ByltbM','scrollTo','324099YOdIcI','write','<span>]</span>','left','ck-ai-form__copy-button','absolute','4133912fdVvXb','_copyHTMLToClipboard','getSelection','564907ARpEqF','bindTemplate','\x20ck-ai-form__copy-button--copied','mousedown','isVisible','setEndBefore','wheel','addRange','Copy','element','text/html','loaderView'];_0x707e=function(){return _0x27879c;};return _0x707e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5a11c0,_0x17aeb5){const _0x4c7f04=_0x11e2,_0x103410=_0x5a11c0();while(!![]){try{const _0x32b22c=-parseInt(_0x4c7f04(0x1b6))/0x1+parseInt(_0x4c7f04(0x1b7))/0x2+-parseInt(_0x4c7f04(0x1ae))/0x3+-parseInt(_0x4c7f04(0x1af))/0x4*(parseInt(_0x4c7f04(0x1b3))/0x5)+-parseInt(_0x4c7f04(0x1ad))/0x6+parseInt(_0x4c7f04(0x1b0))/0x7*(-parseInt(_0x4c7f04(0x1bd))/0x8)+-parseInt(_0x4c7f04(0x1b8))/0x9*(-parseInt(_0x4c7f04(0x1bb))/0xa);if(_0x32b22c===_0x17aeb5)break;else _0x103410['push'](_0x103410['shift']());}catch(_0x456c34){_0x103410['push'](_0x103410['shift']());}}}(_0x2e10,0xe4345));import{View as _0x3e1290,IconView as _0x4fc2be}from'ckeditor5/src/ui.js';import _0x2227bc from'../../../theme/icons/error.svg';function _0x11e2(_0x5c85ca,_0x223b55){const _0x2e1033=_0x2e10();return _0x11e2=function(_0x11e2ab,_0x1eb2f7){_0x11e2ab=_0x11e2ab-0x1ad;let _0x5c7311=_0x2e1033[_0x11e2ab];return _0x5c7311;},_0x11e2(_0x5c85ca,_0x223b55);}export default class Y extends _0x3e1290{constructor(_0x3619bd,_0x2a9d04=''){const _0x1d96b8=_0x11e2;super(_0x3619bd);const _0x52a9bd=new _0x4fc2be(),_0x3f07cf=this[_0x1d96b8(0x1bc)];this[_0x1d96b8(0x1b1)](_0x1d96b8(0x1b2),_0x2a9d04),_0x52a9bd[_0x1d96b8(0x1b9)]=_0x2227bc,this[_0x1d96b8(0x1b4)]({'tag':_0x1d96b8(0x1ba),'attributes':{'class':['ck',_0x1d96b8(0x1b5)]},'children':[_0x52a9bd,{'text':_0x3f07cf['to'](_0x1d96b8(0x1b2))}]});}}function _0x2e10(){const _0x2c862c=['1849914kJIiBp','1393161IdupOI','239152FALwIq','7FFMSUH','set','text','40VClMCC','setTemplate','ck-ai-form__error','387309FcVBVm','975346AyNFzZ','1252530kRbTas','content','div','220thdzah','bindTemplate','7810952PaeLoU'];_0x2e10=function(){return _0x2c862c;};return _0x2e10();}
23
+ (function(_0x42f8e6,_0x210d05){const _0x483d1d=_0x5fcc,_0x590b5d=_0x42f8e6();while(!![]){try{const _0xf8f21b=-parseInt(_0x483d1d(0x1d8))/0x1+parseInt(_0x483d1d(0x1d6))/0x2+-parseInt(_0x483d1d(0x1d9))/0x3+parseInt(_0x483d1d(0x1d1))/0x4*(-parseInt(_0x483d1d(0x1cf))/0x5)+parseInt(_0x483d1d(0x1d2))/0x6*(parseInt(_0x483d1d(0x1dd))/0x7)+-parseInt(_0x483d1d(0x1d5))/0x8+parseInt(_0x483d1d(0x1d3))/0x9*(parseInt(_0x483d1d(0x1ce))/0xa);if(_0xf8f21b===_0x210d05)break;else _0x590b5d['push'](_0x590b5d['shift']());}catch(_0x532903){_0x590b5d['push'](_0x590b5d['shift']());}}}(_0x54a5,0x3ae2a));function _0x54a5(){const _0x25b07a=['set','text','7geAMmS','div','959690EHQSTG','20QrlICs','setTemplate','83272QynjNs','1813662ZgiHqQ','63zUIrou','bindTemplate','3335624mSmGka','587480mKzpyh','content','68438GfKYln','1373829jQAiQb','ck-ai-form__error'];_0x54a5=function(){return _0x25b07a;};return _0x54a5();}import{View as _0x5d8fcc,IconView as _0x1cb2bf}from'ckeditor5/src/ui.js';import _0x5b9b16 from'../../../theme/icons/error.svg';function _0x5fcc(_0x34b40a,_0x52f399){const _0x54a5d2=_0x54a5();return _0x5fcc=function(_0x5fcc03,_0x30e7a3){_0x5fcc03=_0x5fcc03-0x1ce;let _0x2c5831=_0x54a5d2[_0x5fcc03];return _0x2c5831;},_0x5fcc(_0x34b40a,_0x52f399);}export default class Y extends _0x5d8fcc{constructor(_0x191247,_0x1f127f=''){const _0x24739e=_0x5fcc;super(_0x191247);const _0x1bf43e=new _0x1cb2bf(),_0x2f51e2=this[_0x24739e(0x1d4)];this[_0x24739e(0x1db)](_0x24739e(0x1dc),_0x1f127f),_0x1bf43e[_0x24739e(0x1d7)]=_0x5b9b16,this[_0x24739e(0x1d0)]({'tag':_0x24739e(0x1de),'attributes':{'class':['ck',_0x24739e(0x1da)]},'children':[_0x1bf43e,{'text':_0x2f51e2['to'](_0x24739e(0x1dc))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a2dbe=_0x1f1d;(function(_0x1962f5,_0xff76d6){const _0x437ce7=_0x1f1d,_0x3d75fa=_0x1962f5();while(!![]){try{const _0x259f06=parseInt(_0x437ce7(0x1d4))/0x1*(-parseInt(_0x437ce7(0x19f))/0x2)+-parseInt(_0x437ce7(0x1d6))/0x3+-parseInt(_0x437ce7(0x1bf))/0x4*(parseInt(_0x437ce7(0x1cc))/0x5)+-parseInt(_0x437ce7(0x1c0))/0x6+parseInt(_0x437ce7(0x1d7))/0x7*(parseInt(_0x437ce7(0x1a9))/0x8)+parseInt(_0x437ce7(0x1a5))/0x9+parseInt(_0x437ce7(0x1cf))/0xa;if(_0x259f06===_0xff76d6)break;else _0x3d75fa['push'](_0x3d75fa['shift']());}catch(_0x13843f){_0x3d75fa['push'](_0x3d75fa['shift']());}}}(_0x1149,0x9583e));import{Rect as _0xca0f7b,global as _0xaa97c0,isVisible as _0x14dd8a}from'ckeditor5/src/utils.js';function _0x1f1d(_0x5c3f53,_0x529abe){const _0x114955=_0x1149();return _0x1f1d=function(_0x1f1d62,_0x509b91){_0x1f1d62=_0x1f1d62-0x19d;let _0x22dd73=_0x114955[_0x1f1d62];return _0x22dd73;},_0x1f1d(_0x5c3f53,_0x529abe);}import{AutocompleteView as _0x31493e,ButtonView as _0x54d9e9}from'ckeditor5/src/ui.js';import{icons as _0x5c8ab6}from'ckeditor5/src/core.js';import{getTranslation as _0x2d0744}from'../../utils/common-translations.js';function _0x1149(){const _0x26a43c=['children','excludeScrollbarsAndBorders','ck-ai-form__submit','History','_createSubmitButton','focusableChildren','showHistoryButtonView','minRows','2615436vZmrqM','4388874uATIvV','enter','fieldView','render','uiLanguageDirection','focusCycler','target','keystrokes','submit','locale','isEmpty','width','5bTLMhj','_createShowHistoryButton','focusLast','16240390hWnNNx','element','execute','submitButtonView','maxRows','1LjmcIB','isOn','1741914QJOzsF','7yucGYU','focus','value','1366198CNogPZ','focusFirst','queryView','isVisible','add','rtl','8264763dwWqUk','fieldWrapperChildren','fire','history','5753144eOLmTO','bind','resultsView','set','style','Submit','right','update','filteredView','isEnabled','ck-ai-form__toggle-history','window','requestAnimationFrame','left'];_0x1149=function(){return _0x26a43c;};return _0x1149();}import _0x3171a8 from'../../../theme/icons/submit.svg';export default class ot extends _0x31493e{constructor(_0x444aff,_0x22d554){const _0x2ad852=_0x1f1d;super(_0x444aff,_0x22d554),this[_0x2ad852(0x1a1)][_0x2ad852(0x1c2)][_0x2ad852(0x1be)]=0x1,this[_0x2ad852(0x1a1)][_0x2ad852(0x1c2)][_0x2ad852(0x1d3)]=0x3,this[_0x2ad852(0x1d2)]=this[_0x2ad852(0x1bb)](),this[_0x2ad852(0x1bd)]=this[_0x2ad852(0x1cd)](),this[_0x2ad852(0x1bc)][_0x2ad852(0x1a3)](this[_0x2ad852(0x1bd)],0x1),this[_0x2ad852(0x1bc)][_0x2ad852(0x1a3)](this[_0x2ad852(0x1d2)]);}[_0x2a2dbe(0x1c3)](){const _0x34cdfd=_0x2a2dbe;super[_0x34cdfd(0x1c3)](),this[_0x34cdfd(0x1a1)][_0x34cdfd(0x1a6)][_0x34cdfd(0x1a3)](this[_0x34cdfd(0x1bd)]),this[_0x34cdfd(0x1b7)][_0x34cdfd(0x1a3)](this[_0x34cdfd(0x1d2)]),this[_0x34cdfd(0x1c7)][_0x34cdfd(0x1ac)](_0x34cdfd(0x1c1),(_0x5577bd,_0x14ce6e)=>{const _0x1f50b4=_0x34cdfd;_0x5577bd[_0x1f50b4(0x1c6)]==this[_0x1f50b4(0x1a1)][_0x1f50b4(0x1c2)][_0x1f50b4(0x1d0)]&&(this[_0x1f50b4(0x1c8)](),_0x14ce6e());});}[_0x2a2dbe(0x1bb)](){const _0xeb51d6=_0x2a2dbe,_0x5c0ea0=new _0x54d9e9(this[_0xeb51d6(0x1c9)]),_0x31618b=this[_0xeb51d6(0x1c9)];return _0x5c0ea0[_0xeb51d6(0x1ac)]({'icon':_0x3171a8,'label':_0x2d0744(_0x31618b,_0xeb51d6(0x1ae)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xeb51d6(0x1b9)}),_0x5c0ea0['on'](_0xeb51d6(0x1d1),()=>{const _0x3c3762=_0xeb51d6;this[_0x3c3762(0x1c8)]();}),_0x5c0ea0[_0xeb51d6(0x1aa)](_0xeb51d6(0x1b2))['to'](this[_0xeb51d6(0x1a1)][_0xeb51d6(0x1c2)],_0xeb51d6(0x1ca),this,_0xeb51d6(0x1b2),(_0x430532,_0x5ed805)=>!_0x430532&&_0x5ed805),_0x5c0ea0;}[_0x2a2dbe(0x1cd)](){const _0x1462f5=_0x2a2dbe,_0x914a4e=new _0x54d9e9(this[_0x1462f5(0x1c9)]),_0x1a0fa6=this[_0x1462f5(0x1ab)],_0x4744c8=this[_0x1462f5(0x1c9)];_0x914a4e[_0x1462f5(0x1ac)]({'label':_0x2d0744(_0x4744c8,_0x1462f5(0x1ba)),'withText':!0x1,'icon':_0x5c8ab6[_0x1462f5(0x1a8)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1462f5(0x1b3)}),_0x914a4e[_0x1462f5(0x1aa)](_0x1462f5(0x1d5))['to'](_0x1a0fa6,_0x1462f5(0x1a2)),_0x914a4e[_0x1462f5(0x1aa)](_0x1462f5(0x1b2))['to'](this,_0x1462f5(0x1b2)),_0x914a4e['on'](_0x1462f5(0x1d1),()=>{const _0x4670d3=_0x1462f5;_0x1a0fa6[_0x4670d3(0x1a2)]=!_0x1a0fa6[_0x4670d3(0x1a2)],_0x1a0fa6[_0x4670d3(0x1a2)]?this[_0x4670d3(0x1b1)][_0x4670d3(0x19d)]():this[_0x4670d3(0x19d)]();});const _0x50d289=()=>{const _0x1031d4=_0x1462f5;_0xaa97c0[_0x1031d4(0x1b4)][_0x1031d4(0x1b5)](()=>{const _0x5659ec=_0x1031d4;if(_0x14dd8a(this[_0x5659ec(0x1d0)])){const _0x10f852=new _0xca0f7b(this[_0x5659ec(0x1a1)][_0x5659ec(0x1c2)][_0x5659ec(0x1d0)]),_0x405f92=_0x10f852[_0x5659ec(0x1cb)],_0x1b83ad=_0x5659ec(0x1a4)===_0x4744c8[_0x5659ec(0x1c4)]?_0x5659ec(0x1b6):_0x5659ec(0x1af);_0x10f852[_0x5659ec(0x1b8)](),_0x914a4e[_0x5659ec(0x1d0)][_0x5659ec(0x1ad)][_0x1b83ad]=_0x405f92-_0x10f852[_0x5659ec(0x1cb)]+0x1+'px';}});};return this[_0x1462f5(0x1a1)][_0x1462f5(0x1c2)]['on'](_0x1462f5(0x1b0),_0x50d289),this['on'](_0x1462f5(0x1c3),_0x50d289),_0x914a4e;}[_0x2a2dbe(0x1c8)](){const _0x3fa086=_0x2a2dbe,_0x16f134=this[_0x3fa086(0x1a1)][_0x3fa086(0x1c2)][_0x3fa086(0x1d0)][_0x3fa086(0x19e)];this[_0x3fa086(0x1a7)](_0x3fa086(0x1c8),_0x16f134);}[_0x2a2dbe(0x19d)](_0x3fdf0b){const _0x24a302=_0x2a2dbe;-0x1===_0x3fdf0b?this[_0x24a302(0x1c5)][_0x24a302(0x1ce)]():this[_0x24a302(0x1c5)][_0x24a302(0x1a0)]();}}
23
+ const _0x11f8c8=_0x37cb;(function(_0x1d0a77,_0x40b459){const _0x126198=_0x37cb,_0x31b3f6=_0x1d0a77();while(!![]){try{const _0x333869=parseInt(_0x126198(0xe6))/0x1*(-parseInt(_0x126198(0xfb))/0x2)+-parseInt(_0x126198(0xdb))/0x3*(-parseInt(_0x126198(0x10b))/0x4)+-parseInt(_0x126198(0xf0))/0x5+-parseInt(_0x126198(0xfc))/0x6*(-parseInt(_0x126198(0xea))/0x7)+-parseInt(_0x126198(0xe8))/0x8+-parseInt(_0x126198(0xf9))/0x9*(-parseInt(_0x126198(0xed))/0xa)+parseInt(_0x126198(0x10a))/0xb;if(_0x333869===_0x40b459)break;else _0x31b3f6['push'](_0x31b3f6['shift']());}catch(_0x354deb){_0x31b3f6['push'](_0x31b3f6['shift']());}}}(_0x5f5a,0x6a014));import{Rect as _0x2f2ac2,global as _0x512d32,isVisible as _0x2d3b3f}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x50af6c,ButtonView as _0x2a0363}from'ckeditor5/src/ui.js';import{icons as _0xe35fad}from'ckeditor5/src/core.js';import{getTranslation as _0x927993}from'../../utils/common-translations.js';import _0xf33269 from'../../../theme/icons/submit.svg';export default class ot extends _0x50af6c{constructor(_0x5795c9,_0x1914ad){const _0x125efa=_0x37cb;super(_0x5795c9,_0x1914ad),this[_0x125efa(0x10d)][_0x125efa(0xf5)][_0x125efa(0xe3)]=0x1,this[_0x125efa(0x10d)][_0x125efa(0xf5)][_0x125efa(0xdf)]=0x3,this[_0x125efa(0xde)]=this[_0x125efa(0xf1)](),this[_0x125efa(0xdd)]=this[_0x125efa(0xe0)](),this[_0x125efa(0xe9)][_0x125efa(0xda)](this[_0x125efa(0xdd)],0x1),this[_0x125efa(0xe9)][_0x125efa(0xda)](this[_0x125efa(0xde)]);}[_0x11f8c8(0x109)](){const _0x46f372=_0x11f8c8;super[_0x46f372(0x109)](),this[_0x46f372(0x10d)][_0x46f372(0xf3)][_0x46f372(0xda)](this[_0x46f372(0xdd)]),this[_0x46f372(0xe5)][_0x46f372(0xda)](this[_0x46f372(0xde)]),this[_0x46f372(0xdc)][_0x46f372(0xf8)](_0x46f372(0xd9),(_0x5408fa,_0x58c623)=>{const _0x1d861e=_0x46f372;_0x5408fa[_0x1d861e(0xeb)]==this[_0x1d861e(0x10d)][_0x1d861e(0xf5)][_0x1d861e(0xf7)]&&(this[_0x1d861e(0xd2)](),_0x58c623());});}[_0x11f8c8(0xf1)](){const _0x45286f=_0x11f8c8,_0x5d1004=new _0x2a0363(this[_0x45286f(0xd7)]),_0x30c53f=this[_0x45286f(0xd7)];return _0x5d1004[_0x45286f(0xf8)]({'icon':_0xf33269,'label':_0x927993(_0x30c53f,_0x45286f(0xd4)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x45286f(0xf4)}),_0x5d1004['on'](_0x45286f(0x105),()=>{const _0x255d14=_0x45286f;this[_0x255d14(0xd2)]();}),_0x5d1004[_0x45286f(0xe7)](_0x45286f(0x106))['to'](this[_0x45286f(0x10d)][_0x45286f(0xf5)],_0x45286f(0xe2),this,_0x45286f(0x106),(_0x1e4a0a,_0x4cb428)=>!_0x1e4a0a&&_0x4cb428),_0x5d1004;}[_0x11f8c8(0xe0)](){const _0x1b04a9=_0x11f8c8,_0x2ed139=new _0x2a0363(this[_0x1b04a9(0xd7)]),_0x45527c=this[_0x1b04a9(0xfd)],_0x5c9895=this[_0x1b04a9(0xd7)];_0x2ed139[_0x1b04a9(0xf8)]({'label':_0x927993(_0x5c9895,_0x1b04a9(0xf6)),'withText':!0x1,'icon':_0xe35fad[_0x1b04a9(0x104)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1b04a9(0xff)}),_0x2ed139[_0x1b04a9(0xe7)](_0x1b04a9(0xd6))['to'](_0x45527c,_0x1b04a9(0x103)),_0x2ed139[_0x1b04a9(0xe7)](_0x1b04a9(0x106))['to'](this,_0x1b04a9(0x106)),_0x2ed139['on'](_0x1b04a9(0x105),()=>{const _0x78b73e=_0x1b04a9;_0x45527c[_0x78b73e(0x103)]=!_0x45527c[_0x78b73e(0x103)],_0x45527c[_0x78b73e(0x103)]?this[_0x78b73e(0x10c)][_0x78b73e(0xf2)]():this[_0x78b73e(0xf2)]();});const _0x57520d=()=>{const _0x1e9773=_0x1b04a9;_0x512d32[_0x1e9773(0xe1)][_0x1e9773(0xfa)](()=>{const _0x5b8738=_0x1e9773;if(_0x2d3b3f(this[_0x5b8738(0xf7)])){const _0x5de64d=new _0x2f2ac2(this[_0x5b8738(0x10d)][_0x5b8738(0xf5)][_0x5b8738(0xf7)]),_0x1bc8cb=_0x5de64d[_0x5b8738(0xec)],_0x5580d2=_0x5b8738(0x102)===_0x5c9895[_0x5b8738(0x100)]?_0x5b8738(0xfe):_0x5b8738(0x107);_0x5de64d[_0x5b8738(0xd5)](),_0x2ed139[_0x5b8738(0xf7)][_0x5b8738(0x108)][_0x5580d2]=_0x1bc8cb-_0x5de64d[_0x5b8738(0xec)]+0x1+'px';}});};return this[_0x1b04a9(0x10d)][_0x1b04a9(0xf5)]['on'](_0x1b04a9(0xee),_0x57520d),this['on'](_0x1b04a9(0x109),_0x57520d),_0x2ed139;}[_0x11f8c8(0xd2)](){const _0x1b890a=_0x11f8c8,_0x3dfe63=this[_0x1b890a(0x10d)][_0x1b890a(0xf5)][_0x1b890a(0xf7)][_0x1b890a(0x101)];this[_0x1b890a(0xef)](_0x1b890a(0xd2),_0x3dfe63);}[_0x11f8c8(0xf2)](_0x1140e2){const _0xf685b0=_0x11f8c8;-0x1===_0x1140e2?this[_0xf685b0(0xd3)][_0xf685b0(0xd8)]():this[_0xf685b0(0xd3)][_0xf685b0(0xe4)]();}}function _0x37cb(_0x341493,_0x2a72df){const _0x5f5a80=_0x5f5a();return _0x37cb=function(_0x37cb98,_0x4da7e6){_0x37cb98=_0x37cb98-0xd2;let _0x441313=_0x5f5a80[_0x37cb98];return _0x441313;},_0x37cb(_0x341493,_0x2a72df);}function _0x5f5a(){const _0x1184ad=['rtl','isVisible','history','execute','isEnabled','right','style','render','8561520NLKsOL','217180hgsfjy','filteredView','queryView','submit','focusCycler','Submit','excludeScrollbarsAndBorders','isOn','locale','focusLast','enter','add','3VatCuf','keystrokes','showHistoryButtonView','submitButtonView','maxRows','_createShowHistoryButton','window','isEmpty','minRows','focusFirst','children','737417rUnbWi','bind','2172088YPRgtj','focusableChildren','1185989mlBiWR','target','width','80QlUFHm','update','fire','3875730lvyJtN','_createSubmitButton','focus','fieldWrapperChildren','ck-ai-form__submit','fieldView','History','element','set','605835lkHeZr','requestAnimationFrame','2DXWWoV','30Yaaxff','resultsView','left','ck-ai-form__toggle-history','uiLanguageDirection','value'];_0x5f5a=function(){return _0x1184ad;};return _0x5f5a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d78(_0x221879,_0x4aa573){const _0x125466=_0x1254();return _0x4d78=function(_0x4d788,_0x327ceb){_0x4d788=_0x4d788-0x1c0;let _0x17b7c8=_0x125466[_0x4d788];return _0x17b7c8;},_0x4d78(_0x221879,_0x4aa573);}const _0x3cedce=_0x4d78;(function(_0x27edf8,_0x3310b7){const _0xaafcdf=_0x4d78,_0x257905=_0x27edf8();while(!![]){try{const _0x103db1=-parseInt(_0xaafcdf(0x1c6))/0x1*(-parseInt(_0xaafcdf(0x1d5))/0x2)+parseInt(_0xaafcdf(0x1c7))/0x3*(parseInt(_0xaafcdf(0x1d4))/0x4)+parseInt(_0xaafcdf(0x1d7))/0x5+-parseInt(_0xaafcdf(0x1ce))/0x6+parseInt(_0xaafcdf(0x1d6))/0x7+parseInt(_0xaafcdf(0x1d0))/0x8+parseInt(_0xaafcdf(0x1df))/0x9*(-parseInt(_0xaafcdf(0x1d3))/0xa);if(_0x103db1===_0x3310b7)break;else _0x257905['push'](_0x257905['shift']());}catch(_0x1b1656){_0x257905['push'](_0x257905['shift']());}}}(_0x1254,0x55fd7));function _0x1254(){const _0x323180=['label','insertButton','Stop','toUpperCase','256dEXtWc','237108hftWNd','replace','addMany','ck-button-action','_createButton','AI_','locale','281292YlXXWl','extendTemplate','333592aFlfSe','replaceButton','isVisible','80WfeGey','4ZMVAMh','788zsjcUx','3722782PEBtWw','548000zhsnMr','REPLACE','Try\x20again','insert','bind','mainAction','set','bindTemplate','521919URELUP','items','ck-ai-form__toolbar','_CONTENT','stopButton','tryAgainButton','Insert\x20below','ck-hidden'];_0x1254=function(){return _0x323180;};return _0x1254();}import{ToolbarView as _0x381e59,ButtonView as _0x225fe0}from'ckeditor5/src/ui.js';import{getTranslation as _0x3341fc}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3cedce(0x1c8),'INSERT':_0x3cedce(0x1da)};export default class rt extends _0x381e59{constructor(_0x38ea43){const _0x515caa=_0x3cedce;super(_0x38ea43),this[_0x515caa(0x1dd)](_0x515caa(0x1d2),!0x1),this[_0x515caa(0x1dd)](_0x515caa(0x1dc),AIFormToolbarViewMainActionLabel[_0x515caa(0x1d8)]),this[_0x515caa(0x1d1)]=this[_0x515caa(0x1cb)]('',_0x515caa(0x1ca)),this[_0x515caa(0x1d1)][_0x515caa(0x1db)](_0x515caa(0x1c2))['to'](this,_0x515caa(0x1dc),_0x54bfb5=>_0x3341fc(_0x38ea43,_0x515caa(0x1cc)+_0x54bfb5[_0x515caa(0x1c5)]()+_0x515caa(0x1e2))),this[_0x515caa(0x1c3)]=this[_0x515caa(0x1cb)](_0x3341fc(_0x38ea43,_0x515caa(0x1c0))),this[_0x515caa(0x1e4)]=this[_0x515caa(0x1cb)](_0x3341fc(_0x38ea43,_0x515caa(0x1d9))),this[_0x515caa(0x1e3)]=this[_0x515caa(0x1cb)](_0x3341fc(_0x38ea43,_0x515caa(0x1c4)));const _0x5d5c4e=this[_0x515caa(0x1de)];this[_0x515caa(0x1cf)]({'attributes':{'class':[_0x515caa(0x1e1),_0x5d5c4e['if'](_0x515caa(0x1d2),_0x515caa(0x1c1),_0x2e7c6f=>!_0x2e7c6f)]}}),this[_0x515caa(0x1e0)][_0x515caa(0x1c9)]([this[_0x515caa(0x1d1)],this[_0x515caa(0x1c3)],this[_0x515caa(0x1e4)],this[_0x515caa(0x1e3)]]);}[_0x3cedce(0x1cb)](_0x591dfe,_0x3d3b1d){const _0x2e65c2=_0x3cedce,_0x720079=new _0x225fe0(this[_0x2e65c2(0x1cd)]);return _0x720079[_0x2e65c2(0x1dd)]({'label':_0x591dfe,'class':_0x3d3b1d||'','isVisible':!0x0,'withText':!0x0}),_0x720079;}}
23
+ const _0x383a4f=_0x3471;(function(_0x42f208,_0x36d4d1){const _0x2f0674=_0x3471,_0x243c26=_0x42f208();while(!![]){try{const _0x45dad3=-parseInt(_0x2f0674(0x116))/0x1+-parseInt(_0x2f0674(0x11e))/0x2*(parseInt(_0x2f0674(0x122))/0x3)+-parseInt(_0x2f0674(0x11d))/0x4+-parseInt(_0x2f0674(0x124))/0x5+-parseInt(_0x2f0674(0x128))/0x6*(-parseInt(_0x2f0674(0x11c))/0x7)+-parseInt(_0x2f0674(0x125))/0x8+parseInt(_0x2f0674(0x110))/0x9*(parseInt(_0x2f0674(0x127))/0xa);if(_0x45dad3===_0x36d4d1)break;else _0x243c26['push'](_0x243c26['shift']());}catch(_0x3c5efc){_0x243c26['push'](_0x243c26['shift']());}}}(_0x2f25,0x55996));import{ToolbarView as _0x16a3ec,ButtonView as _0x1599c8}from'ckeditor5/src/ui.js';import{getTranslation as _0x24fc19}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x383a4f(0x12f),'INSERT':_0x383a4f(0x11a)};function _0x3471(_0x13e06d,_0x4b3636){const _0x2f25af=_0x2f25();return _0x3471=function(_0x347144,_0x2d018b){_0x347144=_0x347144-0x110;let _0x2273df=_0x2f25af[_0x347144];return _0x2273df;},_0x3471(_0x13e06d,_0x4b3636);}function _0x2f25(){const _0x2d0c59=['70677FqTDQw','label','addMany','_CONTENT','locale','set','567238LFsCMA','extendTemplate','Try\x20again','items','insert','bindTemplate','7ZTIOHW','2112244idDljc','380ctUDxC','stopButton','Insert\x20below','ck-ai-form__toolbar','7083SvKELc','ck-hidden','2316350jmFdWN','3555088PoGWft','bind','3370KLjgig','934188huMKOt','tryAgainButton','Stop','AI_','REPLACE','replaceButton','toUpperCase','replace','mainAction','ck-button-action','_createButton','isVisible','insertButton'];_0x2f25=function(){return _0x2d0c59;};return _0x2f25();}export default class rt extends _0x16a3ec{constructor(_0x1ede4e){const _0x1667a8=_0x383a4f;super(_0x1ede4e),this[_0x1667a8(0x115)](_0x1667a8(0x133),!0x1),this[_0x1667a8(0x115)](_0x1667a8(0x130),AIFormToolbarViewMainActionLabel[_0x1667a8(0x12c)]),this[_0x1667a8(0x12d)]=this[_0x1667a8(0x132)]('',_0x1667a8(0x131)),this[_0x1667a8(0x12d)][_0x1667a8(0x126)](_0x1667a8(0x111))['to'](this,_0x1667a8(0x130),_0x51d115=>_0x24fc19(_0x1ede4e,_0x1667a8(0x12b)+_0x51d115[_0x1667a8(0x12e)]()+_0x1667a8(0x113))),this[_0x1667a8(0x134)]=this[_0x1667a8(0x132)](_0x24fc19(_0x1ede4e,_0x1667a8(0x120))),this[_0x1667a8(0x129)]=this[_0x1667a8(0x132)](_0x24fc19(_0x1ede4e,_0x1667a8(0x118))),this[_0x1667a8(0x11f)]=this[_0x1667a8(0x132)](_0x24fc19(_0x1ede4e,_0x1667a8(0x12a)));const _0x41ba1a=this[_0x1667a8(0x11b)];this[_0x1667a8(0x117)]({'attributes':{'class':[_0x1667a8(0x121),_0x41ba1a['if'](_0x1667a8(0x133),_0x1667a8(0x123),_0x5b97ba=>!_0x5b97ba)]}}),this[_0x1667a8(0x119)][_0x1667a8(0x112)]([this[_0x1667a8(0x12d)],this[_0x1667a8(0x134)],this[_0x1667a8(0x129)],this[_0x1667a8(0x11f)]]);}[_0x383a4f(0x132)](_0x51689a,_0x20adee){const _0x10bc5d=_0x383a4f,_0x19f637=new _0x1599c8(this[_0x10bc5d(0x114)]);return _0x19f637[_0x10bc5d(0x115)]({'label':_0x51689a,'class':_0x20adee||'','isVisible':!0x0,'withText':!0x0}),_0x19f637;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a09ff=_0x54b9;(function(_0x3fd328,_0x593241){const _0x123df9=_0x54b9,_0x272db7=_0x3fd328();while(!![]){try{const _0x2c6eee=parseInt(_0x123df9(0x164))/0x1*(parseInt(_0x123df9(0x175))/0x2)+-parseInt(_0x123df9(0x17b))/0x3+parseInt(_0x123df9(0x169))/0x4*(-parseInt(_0x123df9(0x198))/0x5)+-parseInt(_0x123df9(0x18d))/0x6+-parseInt(_0x123df9(0x182))/0x7+parseInt(_0x123df9(0x16a))/0x8+parseInt(_0x123df9(0x157))/0x9;if(_0x2c6eee===_0x593241)break;else _0x272db7['push'](_0x272db7['shift']());}catch(_0x40e1b3){_0x272db7['push'](_0x272db7['shift']());}}}(_0x2715,0x69e8e));import{FocusTracker as _0x18a194,KeystrokeHandler as _0x1238e6}from'ckeditor5/src/utils.js';import{View as _0x3a7514,FocusCycler as _0x21eb1f,createLabeledTextarea as _0x3be9c9}from'ckeditor5/src/ui.js';function _0x54b9(_0x582d61,_0x417477){const _0x2715dc=_0x2715();return _0x54b9=function(_0x54b9b6,_0x5c8703){_0x54b9b6=_0x54b9b6-0x14a;let _0x3afb54=_0x2715dc[_0x54b9b6];return _0x3afb54;},_0x54b9(_0x582d61,_0x417477);}import _0x5b5f3e,{AIFormToolbarViewMainActionLabel as _0x16d1ee}from'./aiformtoolbarview.js';import _0x4b1675 from'./aiformcontentarea.js';import _0x141fe9 from'./aiformerrorview.js';import _0xdbc7e5 from'./aiformpromptview.js';import _0x3bce81 from'./aihistorylistview.js';import _0x5e390b from'./aihistorylistitemview.js';function _0x2715(){const _0x50f3f9=['copyButtonView','fire','replaceButton','replaceContent','chain','set','bindTemplate','submitPrompt','isEnabled','isError','800985neppNG','prompt','value','clearHistory','search','_createPromptView','AI_ERROR_FAILED','stopButton','add','submit','tab','execute','focusTracker','_promptHistory','locale','reset','listenTo','setTemplate','finishProcessing','10273311cXqBDF','toolbar','ck-ai-form','render','promptView','bind','Ask\x20AI\x20to\x20edit\x20or\x20generate','handleError','_createToolbar','focus','element','label','REPLACE','277892FLRsiX','focusCycler','focusFirst','focusLast','_focusables','4qwKESq','5645464Xstblc','isVisible','mainAction','stopProcessing','text','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','ck-ai-form-content','insertButton','createCollection','startProcessing','contentArea','2pSmpng','trim','items','historyGroupView','keystrokes','ck-hidden','1362405MvqbYK','queryView','Empty\x20history','tryAgainEvent','errorView','delegate','bindTo','4263042kKLihy','tryAgainButton','high','insertContentBelow','shift\x20+\x20tab','fieldView','div','isProcessing','clear','_createHistoryView','Ask\x20AI\x20to\x20improve\x20generated\x20text','2807460LtwBGT'];_0x2715=function(){return _0x50f3f9;};return _0x2715();}import _0x4990c8 from'./prompthistory.js';import{getTranslation as _0x405dac}from'../../utils/common-translations.js';import{escape as _0x4e864b}from'lodash-es';export default class v extends _0x3a7514{constructor(_0x2e07fe,_0x453993,_0x427a44=''){const _0x34b4fb=_0x54b9;super(_0x2e07fe),this[_0x34b4fb(0x193)](_0x34b4fb(0x196),!0x0),this[_0x34b4fb(0x193)](_0x34b4fb(0x189),!0x1),this[_0x34b4fb(0x193)](_0x34b4fb(0x199),''),this[_0x34b4fb(0x193)](_0x34b4fb(0x19a),''),this[_0x34b4fb(0x193)](_0x34b4fb(0x197),!0x1),this[_0x34b4fb(0x193)](_0x34b4fb(0x16c),_0x16d1ee[_0x34b4fb(0x163)]),this[_0x34b4fb(0x151)]=new _0x4990c8(),this[_0x34b4fb(0x17f)]=new _0x141fe9(_0x2e07fe),this[_0x34b4fb(0x174)]=new _0x4b1675(_0x2e07fe,_0x427a44),this[_0x34b4fb(0x174)][_0x34b4fb(0x15c)](_0x34b4fb(0x189))['to'](this),this[_0x34b4fb(0x174)][_0x34b4fb(0x15c)](_0x34b4fb(0x19a))['to'](this),this[_0x34b4fb(0x158)]=this[_0x34b4fb(0x15f)](),this[_0x34b4fb(0x158)][_0x34b4fb(0x15c)](_0x34b4fb(0x16c))['to'](this),this[_0x34b4fb(0x15b)]=this[_0x34b4fb(0x19d)](),this[_0x34b4fb(0x150)]=new _0x18a194(),this[_0x34b4fb(0x179)]=new _0x1238e6(),this[_0x34b4fb(0x168)]=this[_0x34b4fb(0x172)]([this[_0x34b4fb(0x174)],this[_0x34b4fb(0x174)][_0x34b4fb(0x18e)],this[_0x34b4fb(0x158)],this[_0x34b4fb(0x15b)]]),this[_0x34b4fb(0x165)]=new _0x21eb1f({'focusables':this[_0x34b4fb(0x168)],'focusTracker':this[_0x34b4fb(0x150)],'keystrokeHandler':this[_0x34b4fb(0x179)],'actions':{'focusPrevious':_0x34b4fb(0x186),'focusNext':_0x34b4fb(0x14e)}}),this[_0x34b4fb(0x165)][_0x34b4fb(0x192)](this[_0x34b4fb(0x15b)][_0x34b4fb(0x165)]),this[_0x34b4fb(0x15b)][_0x34b4fb(0x17c)][_0x34b4fb(0x187)][_0x34b4fb(0x15c)](_0x34b4fb(0x19a))['to'](this,_0x34b4fb(0x199));const _0x396113=this[_0x34b4fb(0x194)];this[_0x34b4fb(0x155)]({'tag':_0x34b4fb(0x188),'attributes':{'class':['ck',_0x34b4fb(0x159),_0x453993],'tabindex':'-1'},'children':[{'tag':_0x34b4fb(0x188),'attributes':{'class':['ck',_0x34b4fb(0x170)]},'children':[{'tag':_0x34b4fb(0x188),'attributes':{'class':[_0x396113['if'](_0x34b4fb(0x197),_0x34b4fb(0x17a),_0x440648=>!_0x440648)]},'children':[this[_0x34b4fb(0x17f)]]},this[_0x34b4fb(0x174)],this[_0x34b4fb(0x158)],this[_0x34b4fb(0x15b)]]}]});}[_0x2a09ff(0x15a)](){const _0x285b20=_0x2a09ff;super[_0x285b20(0x15a)](),this[_0x285b20(0x150)][_0x285b20(0x14c)](this[_0x285b20(0x174)][_0x285b20(0x161)]),this[_0x285b20(0x150)][_0x285b20(0x14c)](this[_0x285b20(0x174)][_0x285b20(0x18e)][_0x285b20(0x161)]),this[_0x285b20(0x150)][_0x285b20(0x14c)](this[_0x285b20(0x158)][_0x285b20(0x161)]),this[_0x285b20(0x150)][_0x285b20(0x14c)](this[_0x285b20(0x15b)][_0x285b20(0x161)]),this[_0x285b20(0x179)][_0x285b20(0x154)](this[_0x285b20(0x161)]);}[_0x2a09ff(0x160)](_0x5e0265=0x1){const _0x1cfab0=_0x2a09ff;-0x1===_0x5e0265?this[_0x1cfab0(0x165)][_0x1cfab0(0x167)]():this[_0x1cfab0(0x165)][_0x1cfab0(0x166)]();}[_0x2a09ff(0x153)](){const _0x1c746d=_0x2a09ff;this[_0x1c746d(0x199)]='',this[_0x1c746d(0x19a)]='',this[_0x1c746d(0x197)]=!0x1,this[_0x1c746d(0x15b)][_0x1c746d(0x153)](),this[_0x1c746d(0x174)][_0x1c746d(0x16b)]=!0x1,this[_0x1c746d(0x158)][_0x1c746d(0x16b)]=!0x1;}[_0x2a09ff(0x19d)](){const _0x3befdc=_0x2a09ff,_0x2cd74a=this[_0x3befdc(0x152)],_0xd9e67b=new _0xdbc7e5(_0x2cd74a,{'queryView':{'label':_0x405dac(_0x2cd74a,_0x3befdc(0x15d)),'creator':_0x3be9c9,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x405dac(_0x2cd74a,_0x3befdc(0x17d)),'secondary':_0x405dac(_0x2cd74a,_0x3befdc(0x16f))}}},'filteredView':this[_0x3befdc(0x18b)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xd9e67b[_0x3befdc(0x15c)](_0x3befdc(0x196))['to'](this,_0x3befdc(0x196),this,_0x3befdc(0x189),(_0x3dd16c,_0x262f7e)=>_0x3dd16c&&!_0x262f7e),this[_0x3befdc(0x154)](_0xd9e67b,_0x3befdc(0x14d),(_0x366e43,_0x3bba1f)=>{const _0x59ffdb=_0x3befdc;this[_0x59ffdb(0x199)]=_0x3bba1f;const _0x1895d8=_0x4e864b(_0x3bba1f);this[_0x59ffdb(0x18f)](_0x59ffdb(0x195),_0x1895d8),_0x3bba1f[_0x59ffdb(0x176)]()&&this[_0x59ffdb(0x151)][_0x59ffdb(0x14c)]({'prompt':_0x1895d8},0x0);},{'priority':_0x3befdc(0x184)}),_0xd9e67b;}[_0x2a09ff(0x18b)](){const _0x455113=_0x2a09ff,_0x581027=new _0x3bce81(this[_0x455113(0x152)]);return _0x581027[_0x455113(0x178)][_0x455113(0x177)][_0x455113(0x181)](this[_0x455113(0x151)])['as'](_0x5e390b),_0x581027['on'](_0x455113(0x19b),()=>{const _0x196222=_0x455113;this[_0x196222(0x151)][_0x196222(0x18a)](),this[_0x196222(0x15b)][_0x196222(0x19c)](''),this[_0x196222(0x15b)][_0x196222(0x160)]();}),_0x581027;}[_0x2a09ff(0x15f)](){const _0x51c8a4=_0x2a09ff,_0xd06e42=new _0x5b5f3e(this[_0x51c8a4(0x152)]);return _0xd06e42[_0x51c8a4(0x190)][_0x51c8a4(0x15c)](_0x51c8a4(0x196))['to'](this,_0x51c8a4(0x196),this,_0x51c8a4(0x189),this,_0x51c8a4(0x19a),(_0x25ac84,_0x1195f0,_0x2d38d9)=>_0x25ac84&&!_0x1195f0&&!!_0x2d38d9),_0xd06e42[_0x51c8a4(0x190)][_0x51c8a4(0x180)](_0x51c8a4(0x14f))['to'](this,_0x51c8a4(0x191)),_0xd06e42[_0x51c8a4(0x171)][_0x51c8a4(0x15c)](_0x51c8a4(0x196))['to'](this,_0x51c8a4(0x196),this,_0x51c8a4(0x189),this,_0x51c8a4(0x19a),(_0x37d17f,_0x113418,_0x2f1b68)=>_0x37d17f&&!_0x113418&&!!_0x2f1b68),_0xd06e42[_0x51c8a4(0x171)][_0x51c8a4(0x180)](_0x51c8a4(0x14f))['to'](this,_0x51c8a4(0x185)),_0xd06e42[_0x51c8a4(0x183)][_0x51c8a4(0x15c)](_0x51c8a4(0x196))['to'](this,_0x51c8a4(0x196),this,_0x51c8a4(0x189),(_0x1c1ce7,_0x9d2344)=>_0x1c1ce7&&!_0x9d2344),_0xd06e42[_0x51c8a4(0x183)][_0x51c8a4(0x180)](_0x51c8a4(0x14f))['to'](this,_0x51c8a4(0x17e)),_0xd06e42[_0x51c8a4(0x14b)][_0x51c8a4(0x15c)](_0x51c8a4(0x196))['to'](this,_0x51c8a4(0x189)),_0xd06e42[_0x51c8a4(0x14b)][_0x51c8a4(0x180)](_0x51c8a4(0x14f))['to'](this,_0x51c8a4(0x16d)),_0xd06e42;}[_0x2a09ff(0x173)](){const _0x7d5f1d=_0x2a09ff;this[_0x7d5f1d(0x19a)]='',this[_0x7d5f1d(0x197)]=!0x1,this[_0x7d5f1d(0x189)]=!0x0,this[_0x7d5f1d(0x174)][_0x7d5f1d(0x16b)]=!0x0,this[_0x7d5f1d(0x158)][_0x7d5f1d(0x16b)]=!0x0,this[_0x7d5f1d(0x174)][_0x7d5f1d(0x160)]();}[_0x2a09ff(0x156)](){const _0x21bd65=_0x2a09ff,_0x1b0f7a=this[_0x21bd65(0x152)];this[_0x21bd65(0x189)]=!0x1,this[_0x21bd65(0x199)]='',this[_0x21bd65(0x15b)][_0x21bd65(0x153)](),this[_0x21bd65(0x19a)]&&(this[_0x21bd65(0x15b)][_0x21bd65(0x17c)][_0x21bd65(0x162)]=_0x405dac(_0x1b0f7a,_0x21bd65(0x18c)));}[_0x2a09ff(0x15e)](_0x4013ff){const _0x13470c=_0x2a09ff,_0x428b52=this[_0x13470c(0x152)];this[_0x13470c(0x156)](),this[_0x13470c(0x197)]=!0x0,this[_0x13470c(0x17f)][_0x13470c(0x16e)]=_0x4013ff||_0x405dac(_0x428b52,_0x13470c(0x14a)),this[_0x13470c(0x19a)]||(this[_0x13470c(0x174)][_0x13470c(0x16b)]=!0x1);}}
23
+ const _0x479965=_0xdcc4;(function(_0x361c9b,_0x2dc1cb){const _0x3e1d20=_0xdcc4,_0xcb4e3a=_0x361c9b();while(!![]){try{const _0x530a2a=parseInt(_0x3e1d20(0xb0))/0x1*(parseInt(_0x3e1d20(0xdc))/0x2)+parseInt(_0x3e1d20(0xc9))/0x3*(parseInt(_0x3e1d20(0xc5))/0x4)+-parseInt(_0x3e1d20(0xbc))/0x5+parseInt(_0x3e1d20(0xf1))/0x6*(-parseInt(_0x3e1d20(0xf3))/0x7)+-parseInt(_0x3e1d20(0xda))/0x8*(-parseInt(_0x3e1d20(0xc7))/0x9)+-parseInt(_0x3e1d20(0xbb))/0xa+parseInt(_0x3e1d20(0xe4))/0xb*(-parseInt(_0x3e1d20(0xed))/0xc);if(_0x530a2a===_0x2dc1cb)break;else _0xcb4e3a['push'](_0xcb4e3a['shift']());}catch(_0x5d4fc8){_0xcb4e3a['push'](_0xcb4e3a['shift']());}}}(_0x1db1,0xa2514));import{FocusTracker as _0x1c989e,KeystrokeHandler as _0x17e8e1}from'ckeditor5/src/utils.js';import{View as _0x14041f,FocusCycler as _0x508c3c,createLabeledTextarea as _0x34fff}from'ckeditor5/src/ui.js';function _0xdcc4(_0x59db3b,_0x21596e){const _0x1db1cf=_0x1db1();return _0xdcc4=function(_0xdcc495,_0x5447bf){_0xdcc495=_0xdcc495-0x9d;let _0x130f1d=_0x1db1cf[_0xdcc495];return _0x130f1d;},_0xdcc4(_0x59db3b,_0x21596e);}function _0x1db1(){const _0x26abeb=['103022nrTuNq','_focusables','items','bindTo','replaceButton','replaceContent','isVisible','REPLACE','11fACjPd','AI_ERROR_FAILED','stopButton','set','finishProcessing','ck-hidden','element','createCollection','value','2622924vzRyjW','contentArea','locale','trim','7746NGBAQd','high','2779tkDGgR','clearHistory','insertButton','isEnabled','isProcessing','render','_createHistoryView','tab','insertContentBelow','chain','tryAgainEvent','isError','focusTracker','execute','toolbar','add','clear','stopProcessing','keystrokes','focusLast','19WfHMYM','search','submit','focusFirst','bindTemplate','focusCycler','copyButtonView','bind','promptView','setTemplate','label','4870400tfbYVw','4871980CLpFrC','tryAgainButton','reset','mainAction','errorView','Empty\x20history','Ask\x20AI\x20to\x20improve\x20generated\x20text','Ask\x20AI\x20to\x20edit\x20or\x20generate','ck-ai-form-content','16ILmqMy','startProcessing','45sjieaI','fieldView','993921tyOHxA','prompt','focus','handleError','fire','submitPrompt','shift\x20+\x20tab','div','listenTo','_createPromptView','historyGroupView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','_promptHistory','ck-ai-form','text','queryView','_createToolbar','885528xeLtdd','delegate'];_0x1db1=function(){return _0x26abeb;};return _0x1db1();}import _0x3e1b83,{AIFormToolbarViewMainActionLabel as _0x1acc56}from'./aiformtoolbarview.js';import _0x5ec9e3 from'./aiformcontentarea.js';import _0x1affd5 from'./aiformerrorview.js';import _0x3c7bc8 from'./aiformpromptview.js';import _0x4eed38 from'./aihistorylistview.js';import _0x2505ce from'./aihistorylistitemview.js';import _0x102777 from'./prompthistory.js';import{getTranslation as _0x3b1821}from'../../utils/common-translations.js';import{escape as _0x5485d2}from'lodash-es';export default class v extends _0x14041f{constructor(_0x66dc4d,_0x29ab9f,_0x23452e=''){const _0x52961b=_0xdcc4;super(_0x66dc4d),this[_0x52961b(0xe7)](_0x52961b(0x9f),!0x0),this[_0x52961b(0xe7)](_0x52961b(0xa0),!0x1),this[_0x52961b(0xe7)](_0x52961b(0xca),''),this[_0x52961b(0xe7)](_0x52961b(0xec),''),this[_0x52961b(0xe7)](_0x52961b(0xa7),!0x1),this[_0x52961b(0xe7)](_0x52961b(0xbf),_0x1acc56[_0x52961b(0xe3)]),this[_0x52961b(0xd5)]=new _0x102777(),this[_0x52961b(0xc0)]=new _0x1affd5(_0x66dc4d),this[_0x52961b(0xee)]=new _0x5ec9e3(_0x66dc4d,_0x23452e),this[_0x52961b(0xee)][_0x52961b(0xb7)](_0x52961b(0xa0))['to'](this),this[_0x52961b(0xee)][_0x52961b(0xb7)](_0x52961b(0xec))['to'](this),this[_0x52961b(0xaa)]=this[_0x52961b(0xd9)](),this[_0x52961b(0xaa)][_0x52961b(0xb7)](_0x52961b(0xbf))['to'](this),this[_0x52961b(0xb8)]=this[_0x52961b(0xd2)](),this[_0x52961b(0xa8)]=new _0x1c989e(),this[_0x52961b(0xae)]=new _0x17e8e1(),this[_0x52961b(0xdd)]=this[_0x52961b(0xeb)]([this[_0x52961b(0xee)],this[_0x52961b(0xee)][_0x52961b(0xb6)],this[_0x52961b(0xaa)],this[_0x52961b(0xb8)]]),this[_0x52961b(0xb5)]=new _0x508c3c({'focusables':this[_0x52961b(0xdd)],'focusTracker':this[_0x52961b(0xa8)],'keystrokeHandler':this[_0x52961b(0xae)],'actions':{'focusPrevious':_0x52961b(0xcf),'focusNext':_0x52961b(0xa3)}}),this[_0x52961b(0xb5)][_0x52961b(0xa5)](this[_0x52961b(0xb8)][_0x52961b(0xb5)]),this[_0x52961b(0xb8)][_0x52961b(0xd8)][_0x52961b(0xc8)][_0x52961b(0xb7)](_0x52961b(0xec))['to'](this,_0x52961b(0xca));const _0x31acca=this[_0x52961b(0xb4)];this[_0x52961b(0xb9)]({'tag':_0x52961b(0xd0),'attributes':{'class':['ck',_0x52961b(0xd6),_0x29ab9f],'tabindex':'-1'},'children':[{'tag':_0x52961b(0xd0),'attributes':{'class':['ck',_0x52961b(0xc4)]},'children':[{'tag':_0x52961b(0xd0),'attributes':{'class':[_0x31acca['if'](_0x52961b(0xa7),_0x52961b(0xe9),_0x1b3888=>!_0x1b3888)]},'children':[this[_0x52961b(0xc0)]]},this[_0x52961b(0xee)],this[_0x52961b(0xaa)],this[_0x52961b(0xb8)]]}]});}[_0x479965(0xa1)](){const _0x2b8acf=_0x479965;super[_0x2b8acf(0xa1)](),this[_0x2b8acf(0xa8)][_0x2b8acf(0xab)](this[_0x2b8acf(0xee)][_0x2b8acf(0xea)]),this[_0x2b8acf(0xa8)][_0x2b8acf(0xab)](this[_0x2b8acf(0xee)][_0x2b8acf(0xb6)][_0x2b8acf(0xea)]),this[_0x2b8acf(0xa8)][_0x2b8acf(0xab)](this[_0x2b8acf(0xaa)][_0x2b8acf(0xea)]),this[_0x2b8acf(0xa8)][_0x2b8acf(0xab)](this[_0x2b8acf(0xb8)][_0x2b8acf(0xea)]),this[_0x2b8acf(0xae)][_0x2b8acf(0xd1)](this[_0x2b8acf(0xea)]);}[_0x479965(0xcb)](_0x330a04=0x1){const _0x44a23f=_0x479965;-0x1===_0x330a04?this[_0x44a23f(0xb5)][_0x44a23f(0xaf)]():this[_0x44a23f(0xb5)][_0x44a23f(0xb3)]();}[_0x479965(0xbe)](){const _0x34c38c=_0x479965;this[_0x34c38c(0xca)]='',this[_0x34c38c(0xec)]='',this[_0x34c38c(0xa7)]=!0x1,this[_0x34c38c(0xb8)][_0x34c38c(0xbe)](),this[_0x34c38c(0xee)][_0x34c38c(0xe2)]=!0x1,this[_0x34c38c(0xaa)][_0x34c38c(0xe2)]=!0x1;}[_0x479965(0xd2)](){const _0x2a903e=_0x479965,_0x3fc376=this[_0x2a903e(0xef)],_0x1222df=new _0x3c7bc8(_0x3fc376,{'queryView':{'label':_0x3b1821(_0x3fc376,_0x2a903e(0xc3)),'creator':_0x34fff,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3b1821(_0x3fc376,_0x2a903e(0xc1)),'secondary':_0x3b1821(_0x3fc376,_0x2a903e(0xd4))}}},'filteredView':this[_0x2a903e(0xa2)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1222df[_0x2a903e(0xb7)](_0x2a903e(0x9f))['to'](this,_0x2a903e(0x9f),this,_0x2a903e(0xa0),(_0x5627db,_0x2cd17c)=>_0x5627db&&!_0x2cd17c),this[_0x2a903e(0xd1)](_0x1222df,_0x2a903e(0xb2),(_0x1da3e0,_0x356159)=>{const _0xfef11b=_0x2a903e;this[_0xfef11b(0xca)]=_0x356159;const _0x1eedd6=_0x5485d2(_0x356159);this[_0xfef11b(0xcd)](_0xfef11b(0xce),_0x1eedd6),_0x356159[_0xfef11b(0xf0)]()&&this[_0xfef11b(0xd5)][_0xfef11b(0xab)]({'prompt':_0x1eedd6},0x0);},{'priority':_0x2a903e(0xf2)}),_0x1222df;}[_0x479965(0xa2)](){const _0x15aaa1=_0x479965,_0x2852a2=new _0x4eed38(this[_0x15aaa1(0xef)]);return _0x2852a2[_0x15aaa1(0xd3)][_0x15aaa1(0xde)][_0x15aaa1(0xdf)](this[_0x15aaa1(0xd5)])['as'](_0x2505ce),_0x2852a2['on'](_0x15aaa1(0x9d),()=>{const _0x54f54e=_0x15aaa1;this[_0x54f54e(0xd5)][_0x54f54e(0xac)](),this[_0x54f54e(0xb8)][_0x54f54e(0xb1)](''),this[_0x54f54e(0xb8)][_0x54f54e(0xcb)]();}),_0x2852a2;}[_0x479965(0xd9)](){const _0xd06ee=_0x479965,_0x58b729=new _0x3e1b83(this[_0xd06ee(0xef)]);return _0x58b729[_0xd06ee(0xe0)][_0xd06ee(0xb7)](_0xd06ee(0x9f))['to'](this,_0xd06ee(0x9f),this,_0xd06ee(0xa0),this,_0xd06ee(0xec),(_0x145913,_0x3e2b21,_0x1f0122)=>_0x145913&&!_0x3e2b21&&!!_0x1f0122),_0x58b729[_0xd06ee(0xe0)][_0xd06ee(0xdb)](_0xd06ee(0xa9))['to'](this,_0xd06ee(0xe1)),_0x58b729[_0xd06ee(0x9e)][_0xd06ee(0xb7)](_0xd06ee(0x9f))['to'](this,_0xd06ee(0x9f),this,_0xd06ee(0xa0),this,_0xd06ee(0xec),(_0x4671f6,_0x49e201,_0x1728c3)=>_0x4671f6&&!_0x49e201&&!!_0x1728c3),_0x58b729[_0xd06ee(0x9e)][_0xd06ee(0xdb)](_0xd06ee(0xa9))['to'](this,_0xd06ee(0xa4)),_0x58b729[_0xd06ee(0xbd)][_0xd06ee(0xb7)](_0xd06ee(0x9f))['to'](this,_0xd06ee(0x9f),this,_0xd06ee(0xa0),(_0x531870,_0x5319d2)=>_0x531870&&!_0x5319d2),_0x58b729[_0xd06ee(0xbd)][_0xd06ee(0xdb)](_0xd06ee(0xa9))['to'](this,_0xd06ee(0xa6)),_0x58b729[_0xd06ee(0xe6)][_0xd06ee(0xb7)](_0xd06ee(0x9f))['to'](this,_0xd06ee(0xa0)),_0x58b729[_0xd06ee(0xe6)][_0xd06ee(0xdb)](_0xd06ee(0xa9))['to'](this,_0xd06ee(0xad)),_0x58b729;}[_0x479965(0xc6)](){const _0x4f9af4=_0x479965;this[_0x4f9af4(0xec)]='',this[_0x4f9af4(0xa7)]=!0x1,this[_0x4f9af4(0xa0)]=!0x0,this[_0x4f9af4(0xee)][_0x4f9af4(0xe2)]=!0x0,this[_0x4f9af4(0xaa)][_0x4f9af4(0xe2)]=!0x0,this[_0x4f9af4(0xee)][_0x4f9af4(0xcb)]();}[_0x479965(0xe8)](){const _0x2a1e11=_0x479965,_0x497283=this[_0x2a1e11(0xef)];this[_0x2a1e11(0xa0)]=!0x1,this[_0x2a1e11(0xca)]='',this[_0x2a1e11(0xb8)][_0x2a1e11(0xbe)](),this[_0x2a1e11(0xec)]&&(this[_0x2a1e11(0xb8)][_0x2a1e11(0xd8)][_0x2a1e11(0xba)]=_0x3b1821(_0x497283,_0x2a1e11(0xc2)));}[_0x479965(0xcc)](_0x26e7ce){const _0x12def8=_0x479965,_0x48fbab=this[_0x12def8(0xef)];this[_0x12def8(0xe8)](),this[_0x12def8(0xa7)]=!0x0,this[_0x12def8(0xc0)][_0x12def8(0xd7)]=_0x26e7ce||_0x3b1821(_0x48fbab,_0x12def8(0xe5)),this[_0x12def8(0xec)]||(this[_0x12def8(0xee)][_0x12def8(0xe2)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x82ca36,_0x371b50){const _0x57bd83=_0x1811,_0x367e73=_0x82ca36();while(!![]){try{const _0x590726=parseInt(_0x57bd83(0x1ce))/0x1+parseInt(_0x57bd83(0x1cf))/0x2*(-parseInt(_0x57bd83(0x1c9))/0x3)+-parseInt(_0x57bd83(0x1c6))/0x4+-parseInt(_0x57bd83(0x1d4))/0x5+parseInt(_0x57bd83(0x1d2))/0x6*(parseInt(_0x57bd83(0x1c7))/0x7)+parseInt(_0x57bd83(0x1cd))/0x8+parseInt(_0x57bd83(0x1cc))/0x9;if(_0x590726===_0x371b50)break;else _0x367e73['push'](_0x367e73['shift']());}catch(_0x1a13f6){_0x367e73['push'](_0x367e73['shift']());}}}(_0x56d4,0x75769));import{ListItemView as _0x20f75a,ButtonView as _0x44182d,ButtonLabelView as _0x4a575c}from'ckeditor5/src/ui.js';function _0x1811(_0x452adb,_0x582962){const _0x56d49d=_0x56d4();return _0x1811=function(_0x1811f2,_0x400c8d){_0x1811f2=_0x1811f2-0x1c6;let _0x24128d=_0x56d49d[_0x1811f2];return _0x24128d;},_0x1811(_0x452adb,_0x582962);}import{unescape as _0x2393c7}from'lodash-es';function _0x56d4(){const _0x85a48b=['9423864PZUlEg','483904ygPORv','746297qGfZkE','1278OLiJQZ','add','fire','11874XSUZHK','locale','11695uxoEnv','children','2679380tdRNKg','119rJvSUW','set','3447CleMAR','prompt','execute'];_0x56d4=function(){return _0x85a48b;};return _0x56d4();}export default class hs extends _0x20f75a{constructor(_0x22182){const _0xe37ffc=_0x1811;super();const _0x1dc6aa=new _0x4a575c(),_0x12369d=new _0x44182d(this[_0xe37ffc(0x1d3)],_0x1dc6aa);this[_0xe37ffc(0x1d5)][_0xe37ffc(0x1d0)](_0x12369d),_0x12369d[_0xe37ffc(0x1c8)]({'label':_0x22182[_0xe37ffc(0x1ca)],'withText':!0x0}),_0x12369d['on'](_0xe37ffc(0x1cb),()=>{const _0x40fcfb=_0xe37ffc;this[_0x40fcfb(0x1d1)](_0x40fcfb(0x1cb),{'value':_0x2393c7(_0x22182[_0x40fcfb(0x1ca)])});});}}
23
+ (function(_0x2d4166,_0x36efae){const _0xce4a2c=_0x29ef,_0x161275=_0x2d4166();while(!![]){try{const _0x1fc4b9=parseInt(_0xce4a2c(0x17d))/0x1+parseInt(_0xce4a2c(0x179))/0x2+-parseInt(_0xce4a2c(0x177))/0x3*(-parseInt(_0xce4a2c(0x17e))/0x4)+-parseInt(_0xce4a2c(0x178))/0x5+-parseInt(_0xce4a2c(0x185))/0x6*(-parseInt(_0xce4a2c(0x184))/0x7)+-parseInt(_0xce4a2c(0x180))/0x8*(parseInt(_0xce4a2c(0x17f))/0x9)+-parseInt(_0xce4a2c(0x186))/0xa*(parseInt(_0xce4a2c(0x17b))/0xb);if(_0x1fc4b9===_0x36efae)break;else _0x161275['push'](_0x161275['shift']());}catch(_0x41e14d){_0x161275['push'](_0x161275['shift']());}}}(_0x31ce,0xc07a2));function _0x29ef(_0x4a18fb,_0x4c0575){const _0x31ce3d=_0x31ce();return _0x29ef=function(_0x29ef46,_0x31e1f8){_0x29ef46=_0x29ef46-0x177;let _0x2b8f91=_0x31ce3d[_0x29ef46];return _0x2b8f91;},_0x29ef(_0x4a18fb,_0x4c0575);}import{ListItemView as _0x17e629,ButtonView as _0x2c3dbd,ButtonLabelView as _0x331f5e}from'ckeditor5/src/ui.js';function _0x31ce(){const _0x2747d3=['975dPkhYF','2255805kedVfh','2776374qufxUt','execute','23243lAwnRE','prompt','90768LoGKjb','13156uEhsoW','1035mVxJGN','22384EAAodC','fire','children','set','7781522dSboQl','6cClVib','9930zjqDvi','add','locale'];_0x31ce=function(){return _0x2747d3;};return _0x31ce();}import{unescape as _0x17741a}from'lodash-es';export default class hs extends _0x17e629{constructor(_0x1db049){const _0x25e157=_0x29ef;super();const _0x3a26f7=new _0x331f5e(),_0xbc4938=new _0x2c3dbd(this[_0x25e157(0x188)],_0x3a26f7);this[_0x25e157(0x182)][_0x25e157(0x187)](_0xbc4938),_0xbc4938[_0x25e157(0x183)]({'label':_0x1db049[_0x25e157(0x17c)],'withText':!0x0}),_0xbc4938['on'](_0x25e157(0x17a),()=>{const _0x309164=_0x25e157;this[_0x309164(0x181)](_0x309164(0x17a),{'value':_0x17741a(_0x1db049[_0x309164(0x17c)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a6680=_0x7681;function _0x107b(){const _0x2ec22f=['execute','1907592qnIPCP','children','fire','Prompt\x20history','1465yaAcPJ','historyGroupView','filter','Clear','3617787SBkcUh','label','24456SjgmzQ','locale','delegate','28007952wMrpfA','length','_createClearHistoryButton','clearHistoryButton','add','4551239NXZlij','set','items','clearHistory','1275ARGHQE','1522100lYakYG'];_0x107b=function(){return _0x2ec22f;};return _0x107b();}function _0x7681(_0x568b65,_0x5de20c){const _0x107b15=_0x107b();return _0x7681=function(_0x768106,_0x31a759){_0x768106=_0x768106-0x1a1;let _0x1b2e08=_0x107b15[_0x768106];return _0x1b2e08;},_0x7681(_0x568b65,_0x5de20c);}(function(_0x2f6bd5,_0x21d1e9){const _0x571109=_0x7681,_0x4e75ab=_0x2f6bd5();while(!![]){try{const _0x2de5ea=parseInt(_0x571109(0x1b5))/0x1+parseInt(_0x571109(0x1b1))/0x2+parseInt(_0x571109(0x1b9))/0x3+parseInt(_0x571109(0x1af))/0x4+-parseInt(_0x571109(0x1ae))/0x5*(-parseInt(_0x571109(0x1a2))/0x6)+parseInt(_0x571109(0x1aa))/0x7+-parseInt(_0x571109(0x1a5))/0x8;if(_0x2de5ea===_0x21d1e9)break;else _0x4e75ab['push'](_0x4e75ab['shift']());}catch(_0x5daec1){_0x4e75ab['push'](_0x4e75ab['shift']());}}}(_0x107b,0xb24a6));import{ListView as _0x24376b,ListItemGroupView as _0x5729d6,ButtonView as _0x374c45}from'ckeditor5/src/ui.js';import{getTranslation as _0x149b91}from'../../utils/common-translations.js';export default class rs extends _0x24376b{constructor(_0x53e0ea){const _0xf2193d=_0x7681;super(_0x53e0ea),this[_0xf2193d(0x1a8)]=this[_0xf2193d(0x1a7)](),this[_0xf2193d(0x1b6)]=new _0x5729d6(),this[_0xf2193d(0x1b6)][_0xf2193d(0x1b2)][_0xf2193d(0x1a9)](this[_0xf2193d(0x1a8)],0x1),this[_0xf2193d(0x1b6)][_0xf2193d(0x1a1)]=_0x149b91(_0x53e0ea,_0xf2193d(0x1b4)),this[_0xf2193d(0x1b6)][_0xf2193d(0x1ac)][_0xf2193d(0x1a4)](_0xf2193d(0x1b0))['to'](this),this[_0xf2193d(0x1ac)][_0xf2193d(0x1a9)](this[_0xf2193d(0x1b6)]);}[_0x4a6680(0x1b7)](){const _0x52c381=_0x4a6680;let _0xc5cc63=0x0;for(const _0x2a2ffd of this[_0x52c381(0x1ac)])_0xc5cc63+=_0x2a2ffd[_0x52c381(0x1ac)][_0x52c381(0x1a6)];return{'resultsCount':_0xc5cc63,'totalItemsCount':_0xc5cc63};}[_0x4a6680(0x1a7)](){const _0x46c7c0=_0x4a6680,_0x21e372=this[_0x46c7c0(0x1a3)],_0x4c22dd=new _0x374c45(this[_0x46c7c0(0x1a3)]);return _0x4c22dd[_0x46c7c0(0x1ab)]({'label':'('+_0x149b91(_0x21e372,_0x46c7c0(0x1b8))+')','withText':!0x0}),_0x4c22dd['on'](_0x46c7c0(0x1b0),()=>this[_0x46c7c0(0x1b3)](_0x46c7c0(0x1ad))),_0x4c22dd;}}
23
+ function _0x2589(_0x161a27,_0x3c7987){const _0x13d912=_0x13d9();return _0x2589=function(_0x258921,_0x47ade0){_0x258921=_0x258921-0x136;let _0x17a98e=_0x13d912[_0x258921];return _0x17a98e;},_0x2589(_0x161a27,_0x3c7987);}const _0x5c56da=_0x2589;(function(_0x4f26e7,_0x208d3f){const _0x2564ae=_0x2589,_0x371a35=_0x4f26e7();while(!![]){try{const _0x1c6077=parseInt(_0x2564ae(0x14c))/0x1*(parseInt(_0x2564ae(0x13d))/0x2)+-parseInt(_0x2564ae(0x146))/0x3*(parseInt(_0x2564ae(0x142))/0x4)+-parseInt(_0x2564ae(0x13e))/0x5+-parseInt(_0x2564ae(0x149))/0x6+-parseInt(_0x2564ae(0x13a))/0x7+-parseInt(_0x2564ae(0x14b))/0x8+parseInt(_0x2564ae(0x143))/0x9;if(_0x1c6077===_0x208d3f)break;else _0x371a35['push'](_0x371a35['shift']());}catch(_0x1c854c){_0x371a35['push'](_0x371a35['shift']());}}}(_0x13d9,0x2c01b));function _0x13d9(){const _0xff455f=['2168848QTlbfe','1aUObzl','clearHistoryButton','items','Clear','execute','length','Prompt\x20history','set','361641SkECSE','historyGroupView','clearHistory','454622WaZxGh','39545tGlZZd','filter','label','fire','29448MgGVcK','6175647ltJmNP','children','_createClearHistoryButton','87gapiCV','delegate','locale','1134402CLSBCr','add'];_0x13d9=function(){return _0xff455f;};return _0x13d9();}import{ListView as _0x1a7872,ListItemGroupView as _0x56bfcc,ButtonView as _0x4171f6}from'ckeditor5/src/ui.js';import{getTranslation as _0x314c45}from'../../utils/common-translations.js';export default class rs extends _0x1a7872{constructor(_0x54e793){const _0x230c6a=_0x2589;super(_0x54e793),this[_0x230c6a(0x14d)]=this[_0x230c6a(0x145)](),this[_0x230c6a(0x13b)]=new _0x56bfcc(),this[_0x230c6a(0x13b)][_0x230c6a(0x144)][_0x230c6a(0x14a)](this[_0x230c6a(0x14d)],0x1),this[_0x230c6a(0x13b)][_0x230c6a(0x140)]=_0x314c45(_0x54e793,_0x230c6a(0x138)),this[_0x230c6a(0x13b)][_0x230c6a(0x14e)][_0x230c6a(0x147)](_0x230c6a(0x136))['to'](this),this[_0x230c6a(0x14e)][_0x230c6a(0x14a)](this[_0x230c6a(0x13b)]);}[_0x5c56da(0x13f)](){const _0x410b51=_0x5c56da;let _0x178073=0x0;for(const _0x545fe5 of this[_0x410b51(0x14e)])_0x178073+=_0x545fe5[_0x410b51(0x14e)][_0x410b51(0x137)];return{'resultsCount':_0x178073,'totalItemsCount':_0x178073};}[_0x5c56da(0x145)](){const _0x2a8bf2=_0x5c56da,_0x4a55e7=this[_0x2a8bf2(0x148)],_0x935188=new _0x4171f6(this[_0x2a8bf2(0x148)]);return _0x935188[_0x2a8bf2(0x139)]({'label':'('+_0x314c45(_0x4a55e7,_0x2a8bf2(0x14f))+')','withText':!0x0}),_0x935188['on'](_0x2a8bf2(0x136),()=>this[_0x2a8bf2(0x141)](_0x2a8bf2(0x13c))),_0x935188;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d9d23=_0x5715;(function(_0x105512,_0x3dafc5){const _0x18f06e=_0x5715,_0x3bd4c9=_0x105512();while(!![]){try{const _0x76a880=parseInt(_0x18f06e(0x16d))/0x1*(-parseInt(_0x18f06e(0x172))/0x2)+-parseInt(_0x18f06e(0x182))/0x3+-parseInt(_0x18f06e(0x170))/0x4*(-parseInt(_0x18f06e(0x171))/0x5)+-parseInt(_0x18f06e(0x175))/0x6*(parseInt(_0x18f06e(0x184))/0x7)+-parseInt(_0x18f06e(0x17f))/0x8*(-parseInt(_0x18f06e(0x16b))/0x9)+parseInt(_0x18f06e(0x176))/0xa*(-parseInt(_0x18f06e(0x178))/0xb)+parseInt(_0x18f06e(0x177))/0xc;if(_0x76a880===_0x3dafc5)break;else _0x3bd4c9['push'](_0x3bd4c9['shift']());}catch(_0x430a65){_0x3bd4c9['push'](_0x3bd4c9['shift']());}}}(_0x2b3e,0x3a13a));import{Collection as _0x176112}from'ckeditor5/src/utils.js';const cs=_0x1d9d23(0x16c);function _0x2b3e(){const _0x2ddc5f=['146636LbCDtu','map','stringify','4329NuhMOM','CKEditor/AIFormView/PromptHistory','1xbegWE','setItem','addMany','72KjPzlk','69640ReuPlf','240624YveFcX','_loadFromSessionStorage','last','24Imqbby','10KChYaa','6417168IFsNmv','124036DVTblR','getItem','prompt','_saveToSessionStorage','parse','add','remove','728KvPCvw','trim','toLowerCase','1127931NvWrvG','length'];_0x2b3e=function(){return _0x2ddc5f;};return _0x2b3e();}export default class os extends _0x176112{constructor(){const _0x2fe785=_0x1d9d23;super(),this[_0x2fe785(0x173)](),this['on'](_0x2fe785(0x17d),(_0xc76007,_0x4c6f8f)=>{const _0x45fdde=_0x2fe785,_0x22b533=Ss(_0x4c6f8f[_0x45fdde(0x17a)]);for(const _0x30ada0 of this)if(_0x30ada0!=_0x4c6f8f&&Ss(_0x30ada0[_0x45fdde(0x17a)])===_0x22b533){this[_0x45fdde(0x17e)](_0x30ada0);break;}this[_0x45fdde(0x183)]>0x14&&this[_0x45fdde(0x17e)](this[_0x45fdde(0x174)]),this[_0x45fdde(0x17b)]();}),this['on'](_0x2fe785(0x17e),()=>{const _0x45e57f=_0x2fe785;this[_0x45e57f(0x17b)]();});}[_0x1d9d23(0x173)](){const _0x263377=_0x1d9d23,_0x333fc3=sessionStorage[_0x263377(0x179)](cs)||'[]';this[_0x263377(0x16f)](JSON[_0x263377(0x17c)](_0x333fc3));}[_0x1d9d23(0x17b)](){const _0x50c181=_0x1d9d23;sessionStorage[_0x50c181(0x16e)](cs,JSON[_0x50c181(0x186)](this[_0x50c181(0x185)](_0x3db63e=>_0x3db63e)));}}function _0x5715(_0x29c841,_0x1c9198){const _0x2b3ef9=_0x2b3e();return _0x5715=function(_0x57153e,_0x3f901b){_0x57153e=_0x57153e-0x16b;let _0x1641f9=_0x2b3ef9[_0x57153e];return _0x1641f9;},_0x5715(_0x29c841,_0x1c9198);}function Ss(_0x11b077){const _0x12ebca=_0x1d9d23;return _0x11b077[_0x12ebca(0x181)]()[_0x12ebca(0x180)]();}
23
+ function _0xae94(_0x4fda1f,_0x3900da){const _0x4c9ccb=_0x4c9c();return _0xae94=function(_0xae94dd,_0x56139b){_0xae94dd=_0xae94dd-0x6a;let _0xe6cb0e=_0x4c9ccb[_0xae94dd];return _0xe6cb0e;},_0xae94(_0x4fda1f,_0x3900da);}const _0x338244=_0xae94;(function(_0x3c7354,_0x1abb44){const _0x4174fe=_0xae94,_0x14d370=_0x3c7354();while(!![]){try{const _0x53ad6a=parseInt(_0x4174fe(0x6b))/0x1*(-parseInt(_0x4174fe(0x75))/0x2)+-parseInt(_0x4174fe(0x71))/0x3*(-parseInt(_0x4174fe(0x6f))/0x4)+-parseInt(_0x4174fe(0x6a))/0x5*(-parseInt(_0x4174fe(0x80))/0x6)+-parseInt(_0x4174fe(0x6c))/0x7+-parseInt(_0x4174fe(0x79))/0x8+parseInt(_0x4174fe(0x7d))/0x9+parseInt(_0x4174fe(0x81))/0xa;if(_0x53ad6a===_0x1abb44)break;else _0x14d370['push'](_0x14d370['shift']());}catch(_0x1345ad){_0x14d370['push'](_0x14d370['shift']());}}}(_0x4c9c,0xa4d2a));import{Collection as _0x9ce487}from'ckeditor5/src/utils.js';const cs=_0x338244(0x73);export default class os extends _0x9ce487{constructor(){const _0x39a1c6=_0x338244;super(),this[_0x39a1c6(0x82)](),this['on'](_0x39a1c6(0x7e),(_0x461ef0,_0x1d60bb)=>{const _0x134f6a=_0x39a1c6,_0x2bc34b=Ss(_0x1d60bb[_0x134f6a(0x74)]);for(const _0x1168d0 of this)if(_0x1168d0!=_0x1d60bb&&Ss(_0x1168d0[_0x134f6a(0x74)])===_0x2bc34b){this[_0x134f6a(0x76)](_0x1168d0);break;}this[_0x134f6a(0x72)]>0x14&&this[_0x134f6a(0x76)](this[_0x134f6a(0x70)]),this[_0x134f6a(0x83)]();}),this['on'](_0x39a1c6(0x76),()=>{const _0x4975b4=_0x39a1c6;this[_0x4975b4(0x83)]();});}[_0x338244(0x82)](){const _0xebb445=_0x338244,_0x5acfb8=sessionStorage[_0xebb445(0x7f)](cs)||'[]';this[_0xebb445(0x7c)](JSON[_0xebb445(0x7b)](_0x5acfb8));}[_0x338244(0x83)](){const _0x40d1b7=_0x338244;sessionStorage[_0x40d1b7(0x6e)](cs,JSON[_0x40d1b7(0x78)](this[_0x40d1b7(0x7a)](_0x144146=>_0x144146)));}}function Ss(_0x19a7d4){const _0x45b670=_0x338244;return _0x19a7d4[_0x45b670(0x77)]()[_0x45b670(0x6d)]();}function _0x4c9c(){const _0x4ff983=['prompt','38YVfXJq','remove','toLowerCase','stringify','5993568wUvQEY','map','parse','addMany','3625893zDMsvB','add','getItem','6431382uoCeeu','4008820FZrqOu','_loadFromSessionStorage','_saveToSessionStorage','5dutLTw','18803upCgZv','661297FqJKXy','trim','setItem','8Wyifpi','last','573DwQPJV','length','CKEditor/AIFormView/PromptHistory'];_0x4c9c=function(){return _0x4ff983;};return _0x4c9c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x6cf3(_0x1b066a,_0x300658){const _0xf9dd25=_0xf9dd();return _0x6cf3=function(_0x6cf39c,_0x32008e){_0x6cf39c=_0x6cf39c-0x1dc;let _0x2af883=_0xf9dd25[_0x6cf39c];return _0x2af883;},_0x6cf3(_0x1b066a,_0x300658);}const _0x2341d3=_0x6cf3;(function(_0x28d59f,_0x25e381){const _0x14858f=_0x6cf3,_0x529788=_0x28d59f();while(!![]){try{const _0x530315=-parseInt(_0x14858f(0x1eb))/0x1+parseInt(_0x14858f(0x1fc))/0x2+-parseInt(_0x14858f(0x1de))/0x3+-parseInt(_0x14858f(0x1f4))/0x4*(-parseInt(_0x14858f(0x1e1))/0x5)+parseInt(_0x14858f(0x1ed))/0x6*(parseInt(_0x14858f(0x1ef))/0x7)+-parseInt(_0x14858f(0x206))/0x8+-parseInt(_0x14858f(0x1f5))/0x9;if(_0x530315===_0x25e381)break;else _0x529788['push'](_0x529788['shift']());}catch(_0x5ac0f9){_0x529788['push'](_0x529788['shift']());}}}(_0xf9dd,0x4f950));import{Command as _0xa0c742}from'ckeditor5/src/core.js';import _0x2268c7 from'../aiassistantui.js';export default class C extends _0xa0c742{constructor(_0x39c8d6,_0x11bd16){const _0x178772=_0x6cf3;super(_0x39c8d6),this[_0x178772(0x1f9)]=_0x11bd16,this[_0x178772(0x202)](_0x178772(0x1e2),[]),this['on'](_0x178772(0x205),(_0x701e12,_0x1c56a0,_0x4f2910)=>{const _0x22bfad=_0x178772;this[_0x22bfad(0x1ee)]&&(this[_0x22bfad(0x1e2)]=F(this[_0x22bfad(0x1f9)],_0x4f2910));}),this[_0x178772(0x202)](_0x178772(0x204),!0x1),this['on'](_0x178772(0x1e0),(_0x3c1530,_0x5b9a43,_0x79cd87)=>{const _0x5d3707=_0x178772;this[_0x5d3707(0x1e2)]=_0x79cd87?F(this[_0x5d3707(0x1f9)],this[_0x5d3707(0x204)]):[];});}[_0x2341d3(0x1e3)](){const _0x13775c=_0x2341d3,_0x1499a6=this[_0x13775c(0x1ff)][_0x13775c(0x1f2)];this[_0x13775c(0x204)]=function(_0x2bc148){const _0x354525=_0x13775c,_0x28e747=_0x2bc148[_0x354525(0x1e5)][_0x354525(0x1e8)];return _0x28e747[_0x354525(0x1f0)]?0x0!==[..._0x28e747[_0x354525(0x1f8)]()][_0x354525(0x1dc)]&&![..._0x28e747[_0x354525(0x1f8)]()][0x0][_0x354525(0x1ec)]:!!_0x2bc148[_0x354525(0x1fd)](_0x28e747[_0x354525(0x201)]());}(_0x1499a6);const _0x51cd48=_0x1499a6[_0x13775c(0x1e5)][_0x13775c(0x1e8)],_0x21d77c=this[_0x13775c(0x1ff)][_0x13775c(0x1f3)][_0x13775c(0x1fb)](_0x13775c(0x1f1));for(const _0x52636b of _0x51cd48[_0x13775c(0x203)]())for(const _0x38237d of _0x52636b[_0x13775c(0x1e4)]())if(_0x38237d['is'](_0x13775c(0x200))&&_0x21d77c[_0x13775c(0x1e6)](_0x38237d[_0x13775c(0x1f7)]))return void(this[_0x13775c(0x1ee)]=!0x1);this[_0x13775c(0x1ee)]=!0x0;}[_0x2341d3(0x1ea)](_0x1a7236='',_0x32b526='',_0x5d9289=_0x2341d3(0x1dd)){const _0x1881b4=_0x2341d3;this[_0x1881b4(0x1ff)][_0x1881b4(0x1df)][_0x1881b4(0x1fb)](_0x2268c7)[_0x1881b4(0x1e7)](_0x1a7236,_0x32b526,_0x5d9289);}}function _0xf9dd(){const _0xe71052=['element','getFirstRange','set','getRanges','_hasContext','change:_hasContext','2644584MDVGNF','length','custom','476271nFedYb','plugins','change:isEnabled','1089130zdTLoa','enabledCommandsIds','refresh','getItems','document','includes','showUI','selection','values','execute','414264BDlSjb','isEmpty','336tpgrHH','isEnabled','59668Bpotdp','isCollapsed','ai.aiAssistant.disabledElements','model','config','8lWTnIv','943290HBVOXc','from','name','getSelectedBlocks','_commandDefinitions','add','get','842752gqoOTd','hasContent','requiresContent','editor'];_0xf9dd=function(){return _0xe71052;};return _0xf9dd();}function F(_0x28f6cb,_0x376e3e){const _0x27e394=_0x2341d3,_0x56d456=new Set();for(const _0xaaf46f of _0x28f6cb[_0x27e394(0x1e9)]())(_0x376e3e||!0x1===_0xaaf46f[_0x27e394(0x1fe)])&&_0x56d456[_0x27e394(0x1fa)](_0xaaf46f['id']);return Array[_0x27e394(0x1f6)](_0x56d456);}
23
+ const _0x73fb8c=_0x53f2;(function(_0x34e8ab,_0x569fe6){const _0x54cd66=_0x53f2,_0x578690=_0x34e8ab();while(!![]){try{const _0x122277=-parseInt(_0x54cd66(0x1e9))/0x1*(-parseInt(_0x54cd66(0x1e8))/0x2)+-parseInt(_0x54cd66(0x1f5))/0x3+-parseInt(_0x54cd66(0x213))/0x4*(-parseInt(_0x54cd66(0x1fa))/0x5)+parseInt(_0x54cd66(0x1f3))/0x6*(parseInt(_0x54cd66(0x1f0))/0x7)+-parseInt(_0x54cd66(0x1f2))/0x8*(parseInt(_0x54cd66(0x1f9))/0x9)+-parseInt(_0x54cd66(0x20a))/0xa+parseInt(_0x54cd66(0x210))/0xb;if(_0x122277===_0x569fe6)break;else _0x578690['push'](_0x578690['shift']());}catch(_0x1ac701){_0x578690['push'](_0x578690['shift']());}}}(_0x287a,0x4cdd7));import{Command as _0x1fffab}from'ckeditor5/src/core.js';import _0x5daed6 from'../aiassistantui.js';function _0x287a(){const _0x519689=['from','requiresContent','getSelectedBlocks','values','_commandDefinitions','plugins','isEmpty','document','editor','6202640QtgNuu','custom','getFirstRange','element','get','refresh','2357520vgujaO','isCollapsed','showUI','1983484ezYpAq','includes','6fWGaaN','164083SbfskL','getRanges','execute','getItems','change:isEnabled','name','hasContent','7YfBqAa','_hasContext','8JQfzbr','160698ZhoEKf','isEnabled','352527lBLYVB','length','add','selection','1589499wLwJYE','5OQQUlp','enabledCommandsIds','model','set','ai.aiAssistant.disabledElements','change:_hasContext','config'];_0x287a=function(){return _0x519689;};return _0x287a();}function _0x53f2(_0x383958,_0x53887b){const _0x287ae7=_0x287a();return _0x53f2=function(_0x53f282,_0x1366bf){_0x53f282=_0x53f282-0x1e7;let _0x381c77=_0x287ae7[_0x53f282];return _0x381c77;},_0x53f2(_0x383958,_0x53887b);}export default class C extends _0x1fffab{constructor(_0x49404b,_0x536841){const _0x110584=_0x53f2;super(_0x49404b),this[_0x110584(0x205)]=_0x536841,this[_0x110584(0x1fd)](_0x110584(0x1fb),[]),this['on'](_0x110584(0x1ff),(_0x77c994,_0xb7265e,_0x267db9)=>{const _0x4d74c1=_0x110584;this[_0x4d74c1(0x1f4)]&&(this[_0x4d74c1(0x1fb)]=F(this[_0x4d74c1(0x205)],_0x267db9));}),this[_0x110584(0x1fd)](_0x110584(0x1f1),!0x1),this['on'](_0x110584(0x1ed),(_0x2684a4,_0x3548b8,_0x1cb125)=>{const _0x5f4595=_0x110584;this[_0x5f4595(0x1fb)]=_0x1cb125?F(this[_0x5f4595(0x205)],this[_0x5f4595(0x1f1)]):[];});}[_0x73fb8c(0x20f)](){const _0x45bdb5=_0x73fb8c,_0x2f2781=this[_0x45bdb5(0x209)][_0x45bdb5(0x1fc)];this[_0x45bdb5(0x1f1)]=function(_0x296f2c){const _0x231357=_0x45bdb5,_0x38f715=_0x296f2c[_0x231357(0x208)][_0x231357(0x1f8)];return _0x38f715[_0x231357(0x211)]?0x0!==[..._0x38f715[_0x231357(0x203)]()][_0x231357(0x1f6)]&&![..._0x38f715[_0x231357(0x203)]()][0x0][_0x231357(0x207)]:!!_0x296f2c[_0x231357(0x1ef)](_0x38f715[_0x231357(0x20c)]());}(_0x2f2781);const _0x8171ab=_0x2f2781[_0x45bdb5(0x208)][_0x45bdb5(0x1f8)],_0x19a279=this[_0x45bdb5(0x209)][_0x45bdb5(0x200)][_0x45bdb5(0x20e)](_0x45bdb5(0x1fe));for(const _0x2935e5 of _0x8171ab[_0x45bdb5(0x1ea)]())for(const _0x3e37a2 of _0x2935e5[_0x45bdb5(0x1ec)]())if(_0x3e37a2['is'](_0x45bdb5(0x20d))&&_0x19a279[_0x45bdb5(0x1e7)](_0x3e37a2[_0x45bdb5(0x1ee)]))return void(this[_0x45bdb5(0x1f4)]=!0x1);this[_0x45bdb5(0x1f4)]=!0x0;}[_0x73fb8c(0x1eb)](_0x55c721='',_0x48dadb='',_0x21c7a8=_0x73fb8c(0x20b)){const _0x4c20c8=_0x73fb8c;this[_0x4c20c8(0x209)][_0x4c20c8(0x206)][_0x4c20c8(0x20e)](_0x5daed6)[_0x4c20c8(0x212)](_0x55c721,_0x48dadb,_0x21c7a8);}}function F(_0x9233fc,_0x1477ec){const _0x261440=_0x73fb8c,_0x51d6f8=new Set();for(const _0x59ecfa of _0x9233fc[_0x261440(0x204)]())(_0x1477ec||!0x1===_0x59ecfa[_0x261440(0x202)])&&_0x51d6f8[_0x261440(0x1f7)](_0x59ecfa['id']);return Array[_0x261440(0x201)](_0x51d6f8);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x25384f,_0x1995a3,_0x14248d){const t=_0x25384f['t'];switch(_0x1995a3){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',_0x14248d);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x14248d);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'},_0x14248d);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 _0x1995a3;}}
23
+ export function getTranslation(_0x348400,_0x4ac43c,_0x1cf6e2){const t=_0x348400['t'];switch(_0x4ac43c){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',_0x1cf6e2);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1cf6e2);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'},_0x1cf6e2);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 _0x4ac43c;}}