@ckeditor/ckeditor5-ai 44.0.0-alpha.0 → 44.0.0-alpha.10

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 (170) hide show
  1. package/LICENSE.md +3 -3
  2. package/README.md +6 -5
  3. package/build/ai.js +1 -1
  4. package/dist/index.js +2 -2
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +8 -8
  150. package/src/adapters/aiadapter.js +1 -1
  151. package/src/adapters/aitextadapter.js +1 -1
  152. package/src/adapters/awstextadapter.js +1 -1
  153. package/src/adapters/openaitextadapter.js +1 -1
  154. package/src/aiassistant.js +1 -1
  155. package/src/aiassistantediting.js +1 -1
  156. package/src/aiassistantui.js +1 -1
  157. package/src/index.js +1 -1
  158. package/src/legacyerrors.js +1 -1
  159. package/src/ui/aiassistantcontroller.js +2 -2
  160. package/src/ui/form/aiformcontentarea.js +1 -1
  161. package/src/ui/form/aiformerrorview.js +1 -1
  162. package/src/ui/form/aiformpromptview.js +1 -1
  163. package/src/ui/form/aiformtoolbarview.js +1 -1
  164. package/src/ui/form/aiformview.js +1 -1
  165. package/src/ui/form/aihistorylistitemview.js +1 -1
  166. package/src/ui/form/aihistorylistview.js +1 -1
  167. package/src/ui/form/prompthistory.js +1 -1
  168. package/src/ui/showaiassistantcommand.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4201a8=_0x3119;(function(_0x578910,_0x1aa856){const _0x1cd7db=_0x3119,_0x3a1777=_0x578910();while(!![]){try{const _0x5c427b=parseInt(_0x1cd7db(0x155))/0x1*(-parseInt(_0x1cd7db(0x165))/0x2)+parseInt(_0x1cd7db(0x10c))/0x3+parseInt(_0x1cd7db(0x16b))/0x4+parseInt(_0x1cd7db(0x159))/0x5+parseInt(_0x1cd7db(0x11c))/0x6*(parseInt(_0x1cd7db(0x167))/0x7)+-parseInt(_0x1cd7db(0x154))/0x8*(-parseInt(_0x1cd7db(0x11f))/0x9)+parseInt(_0x1cd7db(0x123))/0xa*(-parseInt(_0x1cd7db(0x128))/0xb);if(_0x5c427b===_0x1aa856)break;else _0x3a1777['push'](_0x3a1777['shift']());}catch(_0x3c64ef){_0x3a1777['push'](_0x3a1777['shift']());}}}(_0x4651,0x7ff00));function _0x4651(){const _0x1e8269=['60HwpJFl','Portuguese','concat','9JSqQnl','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Translate\x20the\x20content\x20to\x20French\x20language.','translateChinese','5778410tiqgof','AIAssistant','Translate','Casual','Arabic','11hNKPxj','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','translateHindi','isPremiumPlugin','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','locale','improveWriting','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Legal','generate','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','forEach','push','groupId','Make\x20longer','Poetic','friendly','legal','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Direct','changeTone','Professional','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','Make\x20shorter','Edit\x20or\x20review','ai.aiAssistant.removeCommands','Change\x20style','professional','set','pluginName','poetic','business','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Friendly','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','confident','config','Change\x20tone','direct','Business','commands','Confident','continue','2424056qxfBpy','1yCZeLy','get','simplifyLanguage','makeShorter','5138825YKvpfR','Simplify\x20language','find','includes','summarize','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Improve\x20writing','translate','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','ai.aiAssistant.commands','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','ai.aiAssistant.extraCommandGroups','1834814DCiTAh','journalism','254282ppNIVs','makeLonger','translateArabic','requires','330132sCppxT','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Translate\x20the\x20content\x20to\x20German\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','filter','translatePortuguese','editOrReview','translateSpanish','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Continue','define','Spanish','Generate\x20from\x20selection','728145mgqMnf','translateFrench','translateGerman','German','Simplified\x20Chinese','isOfficialPlugin','English','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','translateEnglish','casual','Summarize','Journalism','Hindi','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','French','changeStyle'];_0x4651=function(){return _0x1e8269;};return _0x4651();}import{Plugin as _0x5b13d0}from'ckeditor5/src/core.js';import _0x41ef94 from'./aiassistantui.js';import _0x515ec7 from'./aiassistantediting.js';import{getTranslation as _0x37ee41}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x461916}from'./utils/normalizecommandsconfig.js';export default class r extends _0x5b13d0{static get[_0x4201a8(0x16a)](){return[_0x41ef94,_0x515ec7];}static get[_0x4201a8(0x146)](){const _0x21572a=_0x4201a8;return _0x21572a(0x124);}static get[_0x4201a8(0x111)](){return!0x0;}static get[_0x4201a8(0x12b)](){return!0x0;}constructor(_0x426e24){const _0x3325a7=_0x4201a8;super(_0x426e24);const _0x28f516=_0x426e24[_0x3325a7(0x14d)],_0x37db02=_0x426e24[_0x3325a7(0x12d)];_0x28f516[_0x3325a7(0x178)](_0x3325a7(0x162),getDefaultCommands(_0x37db02)),_0x28f516[_0x3325a7(0x178)](_0x3325a7(0x164),[]),_0x28f516[_0x3325a7(0x178)](_0x3325a7(0x142),[]);const _0x5c663d=_0x461916(_0x28f516[_0x3325a7(0x156)](_0x3325a7(0x162)),_0x37db02),_0x467cbb=_0x28f516[_0x3325a7(0x156)](_0x3325a7(0x164)),_0x23469e=_0x28f516[_0x3325a7(0x156)](_0x3325a7(0x142));_0x467cbb[_0x3325a7(0x133)](_0x1b9c6c=>{const _0x3e4237=_0x3325a7,_0x323e48=_0x5c663d[_0x3e4237(0x15b)](_0x2a3d04=>_0x2a3d04[_0x3e4237(0x135)]===_0x1b9c6c[_0x3e4237(0x135)]);_0x323e48?_0x323e48[_0x3e4237(0x151)]=_0x323e48[_0x3e4237(0x151)][_0x3e4237(0x11e)](_0x1b9c6c[_0x3e4237(0x151)]):_0x5c663d[_0x3e4237(0x134)](_0x1b9c6c);}),_0x5c663d[_0x3325a7(0x133)](_0x1bacf4=>{const _0x16c8e1=_0x3325a7;_0x1bacf4[_0x16c8e1(0x151)]=_0x1bacf4[_0x16c8e1(0x151)][_0x16c8e1(0x172)](_0xc22b4e=>!_0x23469e[_0x16c8e1(0x15c)](_0xc22b4e['id']));}),_0x28f516[_0x3325a7(0x145)](_0x3325a7(0x162),_0x5c663d);}}function _0x3119(_0x4914c4,_0x1ffafa){const _0x465194=_0x4651();return _0x3119=function(_0x311945,_0x42621f){_0x311945=_0x311945-0x10b;let _0x1167c6=_0x465194[_0x311945];return _0x1167c6;},_0x3119(_0x4914c4,_0x1ffafa);}export function getDefaultCommands(_0x13be20){const _0x191472=_0x4201a8;return[{'groupId':_0x191472(0x174),'groupLabel':_0x37ee41(_0x13be20,_0x191472(0x141)),'commands':[{'id':_0x191472(0x12e),'label':_0x37ee41(_0x13be20,_0x191472(0x15f)),'prompt':_0x191472(0x16d)},{'id':_0x191472(0x158),'label':_0x37ee41(_0x13be20,_0x191472(0x140)),'prompt':_0x191472(0x170)},{'id':_0x191472(0x168),'label':_0x37ee41(_0x13be20,_0x191472(0x136)),'prompt':_0x191472(0x119)},{'id':_0x191472(0x157),'label':_0x37ee41(_0x13be20,_0x191472(0x15a)),'prompt':_0x191472(0x171)}]},{'groupId':_0x191472(0x131),'groupLabel':_0x37ee41(_0x13be20,_0x191472(0x10b)),'commands':[{'id':_0x191472(0x15d),'label':_0x37ee41(_0x13be20,_0x191472(0x116)),'prompt':_0x191472(0x132)},{'id':_0x191472(0x153),'label':_0x37ee41(_0x13be20,_0x191472(0x177)),'prompt':_0x191472(0x163)}]},{'groupId':_0x191472(0x13c),'groupLabel':_0x37ee41(_0x13be20,_0x191472(0x14e)),'commands':[{'id':_0x191472(0x144),'label':_0x37ee41(_0x13be20,_0x191472(0x13d)),'prompt':_0x191472(0x13a)},{'id':_0x191472(0x115),'label':_0x37ee41(_0x13be20,_0x191472(0x126)),'prompt':_0x191472(0x129)},{'id':_0x191472(0x14f),'label':_0x37ee41(_0x13be20,_0x191472(0x13b)),'prompt':_0x191472(0x16e)},{'id':_0x191472(0x14c),'label':_0x37ee41(_0x13be20,_0x191472(0x152)),'prompt':_0x191472(0x161)},{'id':_0x191472(0x138),'label':_0x37ee41(_0x13be20,_0x191472(0x14a)),'prompt':_0x191472(0x12c)}]},{'groupId':_0x191472(0x11b),'groupLabel':_0x37ee41(_0x13be20,_0x191472(0x143)),'commands':[{'id':_0x191472(0x148),'label':_0x37ee41(_0x13be20,_0x191472(0x150)),'prompt':_0x191472(0x113)},{'id':_0x191472(0x139),'label':_0x37ee41(_0x13be20,_0x191472(0x130)),'prompt':_0x191472(0x120)},{'id':_0x191472(0x166),'label':_0x37ee41(_0x13be20,_0x191472(0x117)),'prompt':_0x191472(0x15e)},{'id':_0x191472(0x147),'label':_0x37ee41(_0x13be20,_0x191472(0x137)),'prompt':_0x191472(0x149)}]},{'groupId':_0x191472(0x160),'groupLabel':_0x37ee41(_0x13be20,_0x191472(0x125)),'commands':[{'id':_0x191472(0x114),'label':_0x37ee41(_0x13be20,_0x191472(0x112)),'prompt':_0x191472(0x13f)},{'id':_0x191472(0x175),'label':_0x37ee41(_0x13be20,_0x191472(0x179)),'prompt':_0x191472(0x16c)},{'id':_0x191472(0x173),'label':_0x37ee41(_0x13be20,_0x191472(0x11d)),'prompt':_0x191472(0x14b)},{'id':_0x191472(0x10e),'label':_0x37ee41(_0x13be20,_0x191472(0x10f)),'prompt':_0x191472(0x16f)},{'id':_0x191472(0x10d),'label':_0x37ee41(_0x13be20,_0x191472(0x11a)),'prompt':_0x191472(0x121)},{'id':_0x191472(0x122),'label':_0x37ee41(_0x13be20,_0x191472(0x110)),'prompt':_0x191472(0x176)},{'id':_0x191472(0x12a),'label':_0x37ee41(_0x13be20,_0x191472(0x118)),'prompt':_0x191472(0x13e)},{'id':_0x191472(0x169),'label':_0x37ee41(_0x13be20,_0x191472(0x127)),'prompt':_0x191472(0x12f)}]}];}
23
+ const _0xf8aa4=_0x5ccb;(function(_0x52e26e,_0x18fc79){const _0x572310=_0x5ccb,_0x2f1b52=_0x52e26e();while(!![]){try{const _0x124dd7=parseInt(_0x572310(0x1c0))/0x1*(parseInt(_0x572310(0x1f1))/0x2)+parseInt(_0x572310(0x1b3))/0x3+parseInt(_0x572310(0x1b0))/0x4*(-parseInt(_0x572310(0x199))/0x5)+-parseInt(_0x572310(0x1da))/0x6*(parseInt(_0x572310(0x1fd))/0x7)+parseInt(_0x572310(0x1b8))/0x8+-parseInt(_0x572310(0x1ab))/0x9*(-parseInt(_0x572310(0x1f5))/0xa)+-parseInt(_0x572310(0x1ea))/0xb;if(_0x124dd7===_0x18fc79)break;else _0x2f1b52['push'](_0x2f1b52['shift']());}catch(_0x5d9c76){_0x2f1b52['push'](_0x2f1b52['shift']());}}}(_0x15f8,0xba524));import{Plugin as _0x75fcbd}from'ckeditor5/src/core.js';import _0x9fc1ad from'./aiassistantui.js';import _0xf8f970 from'./aiassistantediting.js';import{getTranslation as _0x4be997}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x2093c0}from'./utils/normalizecommandsconfig.js';export default class r extends _0x75fcbd{static get[_0xf8aa4(0x1c9)](){return[_0x9fc1ad,_0xf8f970];}static get[_0xf8aa4(0x1fe)](){const _0x5ac0d4=_0xf8aa4;return _0x5ac0d4(0x1aa);}static get[_0xf8aa4(0x1b2)](){return!0x0;}static get[_0xf8aa4(0x1c6)](){return!0x0;}constructor(_0x541b26){const _0xa7d40f=_0xf8aa4;super(_0x541b26);const _0x395a5e=_0x541b26[_0xa7d40f(0x1e6)],_0x24c1a1=_0x541b26[_0xa7d40f(0x1a5)];_0x395a5e[_0xa7d40f(0x1c5)](_0xa7d40f(0x1d9),getDefaultCommands(_0x24c1a1)),_0x395a5e[_0xa7d40f(0x1c5)](_0xa7d40f(0x19a),[]),_0x395a5e[_0xa7d40f(0x1c5)](_0xa7d40f(0x1ad),[]);const _0x34e644=_0x2093c0(_0x395a5e[_0xa7d40f(0x1fb)](_0xa7d40f(0x1d9)),_0x24c1a1),_0x2bf69b=_0x395a5e[_0xa7d40f(0x1fb)](_0xa7d40f(0x19a)),_0x1d96f4=_0x395a5e[_0xa7d40f(0x1fb)](_0xa7d40f(0x1ad));_0x2bf69b[_0xa7d40f(0x1c7)](_0x294a8f=>{const _0x5d9200=_0xa7d40f,_0x3f38cf=_0x34e644[_0x5d9200(0x1a7)](_0x1c68be=>_0x1c68be[_0x5d9200(0x1dd)]===_0x294a8f[_0x5d9200(0x1dd)]);_0x3f38cf?_0x3f38cf[_0x5d9200(0x1ec)]=_0x3f38cf[_0x5d9200(0x1ec)][_0x5d9200(0x1bc)](_0x294a8f[_0x5d9200(0x1ec)]):_0x34e644[_0x5d9200(0x1b6)](_0x294a8f);}),_0x34e644[_0xa7d40f(0x1c7)](_0xc937f1=>{const _0x30348d=_0xa7d40f;_0xc937f1[_0x30348d(0x1ec)]=_0xc937f1[_0x30348d(0x1ec)][_0x30348d(0x1ce)](_0x4be7d3=>!_0x1d96f4[_0x30348d(0x1a3)](_0x4be7d3['id']));}),_0x395a5e[_0xa7d40f(0x1e5)](_0xa7d40f(0x1d9),_0x34e644);}}export function getDefaultCommands(_0x2c30f7){const _0x5345c2=_0xf8aa4;return[{'groupId':_0x5345c2(0x1f0),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1c3)),'commands':[{'id':_0x5345c2(0x19e),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1ed)),'prompt':_0x5345c2(0x19f)},{'id':_0x5345c2(0x1c8),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1c1)),'prompt':_0x5345c2(0x1f9)},{'id':_0x5345c2(0x1ef),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1b5)),'prompt':_0x5345c2(0x1d1)},{'id':_0x5345c2(0x1e3),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1ae)),'prompt':_0x5345c2(0x1af)}]},{'groupId':_0x5345c2(0x1f6),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1a6)),'commands':[{'id':_0x5345c2(0x193),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1e9)),'prompt':_0x5345c2(0x1e1)},{'id':_0x5345c2(0x1d2),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1f8)),'prompt':_0x5345c2(0x1de)}]},{'groupId':_0x5345c2(0x1bd),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1e8)),'commands':[{'id':_0x5345c2(0x1d8),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1e0)),'prompt':_0x5345c2(0x1d6)},{'id':_0x5345c2(0x1f7),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1d3)),'prompt':_0x5345c2(0x1f4)},{'id':_0x5345c2(0x1c2),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x19b)),'prompt':_0x5345c2(0x1a0)},{'id':_0x5345c2(0x1a8),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1ac)),'prompt':_0x5345c2(0x1ee)},{'id':_0x5345c2(0x1bb),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1c4)),'prompt':_0x5345c2(0x1b9)}]},{'groupId':_0x5345c2(0x1bf),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1ca)),'commands':[{'id':_0x5345c2(0x1cb),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1f2)),'prompt':_0x5345c2(0x1f3)},{'id':_0x5345c2(0x1d0),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x195)),'prompt':_0x5345c2(0x1e4)},{'id':_0x5345c2(0x1ff),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1eb)),'prompt':_0x5345c2(0x1d5)},{'id':_0x5345c2(0x1dc),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x194)),'prompt':_0x5345c2(0x1ba)}]},{'groupId':_0x5345c2(0x1db),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1d7)),'commands':[{'id':_0x5345c2(0x1cc),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1a9)),'prompt':_0x5345c2(0x197)},{'id':_0x5345c2(0x1be),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1b4)),'prompt':_0x5345c2(0x1cd)},{'id':_0x5345c2(0x1fa),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1fc)),'prompt':_0x5345c2(0x191)},{'id':_0x5345c2(0x1e7),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x19d)),'prompt':_0x5345c2(0x19c)},{'id':_0x5345c2(0x1b7),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1d4)),'prompt':_0x5345c2(0x1a1)},{'id':_0x5345c2(0x1b1),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1a2)),'prompt':_0x5345c2(0x1a4)},{'id':_0x5345c2(0x1e2),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1cf)),'prompt':_0x5345c2(0x196)},{'id':_0x5345c2(0x192),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x198)),'prompt':_0x5345c2(0x1df)}]}];}function _0x5ccb(_0x51f465,_0x4e7b1e){const _0x15f860=_0x15f8();return _0x5ccb=function(_0x5ccb7e,_0xe84ec8){_0x5ccb7e=_0x5ccb7e-0x191;let _0x40c83c=_0x15f860[_0x5ccb7e];return _0x40c83c;},_0x5ccb(_0x51f465,_0x4e7b1e);}function _0x15f8(){const _0x59abeb=['translateChinese','isOfficialPlugin','2370072OfDcdA','Spanish','Make\x20longer','push','translateFrench','4888872dLzFrq','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','friendly','concat','changeTone','translateSpanish','changeStyle','79ApmabT','Make\x20shorter','direct','Edit\x20or\x20review','Friendly','define','isPremiumPlugin','forEach','makeShorter','requires','Change\x20style','business','translateEnglish','Translate\x20the\x20content\x20to\x20Spanish\x20language.','filter','Hindi','legal','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','continue','Casual','French','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate','professional','ai.aiAssistant.commands','6tybKNd','translate','poetic','groupId','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Professional','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateHindi','simplifyLanguage','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','set','config','translateGerman','Change\x20tone','Summarize','14082409KbAVGe','Journalism','commands','Improve\x20writing','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','makeLonger','editOrReview','10866hyWTFU','Business','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','10coYffl','generate','casual','Continue','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translatePortuguese','get','Portuguese','1085735MmkOhv','pluginName','journalism','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','translateArabic','summarize','Poetic','Legal','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','Arabic','1795pJHumf','ai.aiAssistant.extraCommandGroups','Direct','Translate\x20the\x20content\x20to\x20German\x20language.','German','improveWriting','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Translate\x20the\x20content\x20to\x20French\x20language.','Simplified\x20Chinese','includes','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','locale','Generate\x20from\x20selection','find','confident','English','AIAssistant','13145337EtggUl','Confident','ai.aiAssistant.removeCommands','Simplify\x20language','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','12172gEtGBR'];_0x15f8=function(){return _0x59abeb;};return _0x15f8();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51caba=_0x4da7;(function(_0x5f0d83,_0x216a7c){const _0x39ffd3=_0x4da7,_0x29d0b7=_0x5f0d83();while(!![]){try{const _0x26d3db=-parseInt(_0x39ffd3(0x16d))/0x1+-parseInt(_0x39ffd3(0x151))/0x2+-parseInt(_0x39ffd3(0x14f))/0x3+-parseInt(_0x39ffd3(0x17c))/0x4*(parseInt(_0x39ffd3(0x160))/0x5)+-parseInt(_0x39ffd3(0x161))/0x6+parseInt(_0x39ffd3(0x17e))/0x7*(parseInt(_0x39ffd3(0x159))/0x8)+-parseInt(_0x39ffd3(0x173))/0x9*(-parseInt(_0x39ffd3(0x172))/0xa);if(_0x26d3db===_0x216a7c)break;else _0x29d0b7['push'](_0x29d0b7['shift']());}catch(_0x3d09c9){_0x29d0b7['push'](_0x29d0b7['shift']());}}}(_0x4741,0x82fcf));import{uid as _0x4d02f3}from'ckeditor5/src/utils.js';import{Plugin as _0x55db75}from'ckeditor5/src/core.js';const u=_0x51caba(0x174);function _0x4741(){const _0x52f07f=['schema','markerToHighlight','has','start','isPremiumPlugin','change','document','fromCharCode','markerRange','toView','isContent','model','conversion','addMarker','isCollapsed','setSelection','pluginName','selection','afterInit','getRange','ai.useTheme','join','get','for','hideFakeVisualSelection','href','1189518hZFusa','createPositionAfter','186456nzAaLE','toModel','markerToElement','ck-ai-assistant-ui_theme','editor','createSelection','createRange','processor','967016lgxYSU','addClass','ck-fake-ai-selection','editingDowncast','length','getSelectedBlocks','showFakeVisualSelection','130NTOpTr','4608894jFXaIz','config','pop','getFirstRange','markers','updateMarker','from','canEditAt','end','insertContentBelow','getLastMatchingPosition','isAtEnd','657820KtFOiT','createUIElement','getLastPosition','insertContent','ck-fake-ai-selection_collapsed','360110rXkNvX','801iBkYFR','ai-ui','AIAssistantEditing','init','span','map','push','removeMarker','isOfficialPlugin','134404DPBdmL','data','7FVqzcm'];_0x4741=function(){return _0x52f07f;};return _0x4741();}function _0x4da7(_0x51235b,_0x104811){const _0x474195=_0x4741();return _0x4da7=function(_0x4da73e,_0x31c49c){_0x4da73e=_0x4da73e-0x14f;let _0x293c65=_0x474195[_0x4da73e];return _0x293c65;},_0x4da7(_0x51235b,_0x104811);}export default class a extends _0x55db75{static get[_0x51caba(0x18f)](){const _0x43e675=_0x51caba;return _0x43e675(0x175);}static get[_0x51caba(0x17b)](){return!0x0;}static get[_0x51caba(0x183)](){return!0x0;}[_0x51caba(0x176)](){const _0x4bac82=_0x51caba,{editor:_0x4f858d}=this,_0x53c72a=[_0x4bac82(0x15b)];_0x4f858d[_0x4bac82(0x162)][_0x4bac82(0x195)](_0x4bac82(0x193))&&_0x53c72a[_0x4bac82(0x179)](_0x4bac82(0x154)),_0x4f858d[_0x4bac82(0x18b)][_0x4bac82(0x196)](_0x4bac82(0x15c))[_0x4bac82(0x180)]({'model':u,'view':{'classes':_0x53c72a,'priority':0xc}}),_0x4f858d[_0x4bac82(0x18b)][_0x4bac82(0x196)](_0x4bac82(0x15c))[_0x4bac82(0x153)]({'model':u,'view':(_0x4bac36,{writer:_0x26149e})=>{const _0x3cfe3c=_0x4bac82;if(!_0x4bac36[_0x3cfe3c(0x187)][_0x3cfe3c(0x18d)])return null;const _0x70ff4=_0x26149e[_0x3cfe3c(0x16e)](_0x3cfe3c(0x177));return _0x26149e[_0x3cfe3c(0x15a)]([_0x3cfe3c(0x15b),_0x3cfe3c(0x171)],_0x70ff4),_0x70ff4;}});}[_0x51caba(0x191)](){!async function(_0x3b85fe){const _0x3af36a=_0x1ebaeb([0x70,0x75,0x57,0x4f,0x45,0x58,0x33,0x6a,0x6b,0x36,0x42,0x79,0x37,0x7a,0x30,0x32,0x76,0x54,0x4b,0x41,0x31,0x66,0x59,0x63,0x35,0x64,0x34,0x62,0x53,0x48,0x49,0x6f,0x4e,0x77,0x69,0x67,0x73,0x43,0x71,0x56,0x38,0x47,0x61,0x6c,0x5a,0x65,0x68,0x46,0x74,0x50,0x72,0x4a,0x44,0x51,0x4d,0x52,0x4c,0x6d,0x39,0x78,0x55,0x6e]),_0x5764c0=0x196c5508,_0x54f199=0x196b0260^_0x5764c0,_0x3cb320=window[_0x1ebaeb([0x44,0x61,0x74,0x65])][_0x1ebaeb([0x6e,0x6f,0x77])](),_0x5e5243=_0x3b85fe[_0x1ebaeb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33490a=new window[(_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4adcc8=>{_0x5e5243[_0x1ebaeb([0x6f,0x6e,0x63,0x65])](_0x1ebaeb([0x72,0x65,0x61,0x64,0x79]),_0x4adcc8);}),_0x55c51a={[_0x1ebaeb([0x6b,0x74,0x79])]:_0x1ebaeb([0x45,0x43]),[_0x1ebaeb([0x75,0x73,0x65])]:_0x1ebaeb([0x73,0x69,0x67]),[_0x1ebaeb([0x63,0x72,0x76])]:_0x1ebaeb([0x50,0x2d,0x32,0x35,0x36]),[_0x1ebaeb([0x78])]:_0x1ebaeb([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1ebaeb([0x79])]:_0x1ebaeb([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1ebaeb([0x61,0x6c,0x67])]:_0x1ebaeb([0x45,0x53,0x32,0x35,0x36])},_0x266a8b=_0x5e5243[_0x1ebaeb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ebaeb([0x67,0x65,0x74])](_0x1ebaeb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x346589(){let _0x1b6cfa,_0x2eb863=null,_0x4377f1=null;try{if(_0x266a8b==_0x1ebaeb([0x47,0x50,0x4c]))return _0x1ebaeb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b6cfa=_0x1d1300(),!_0x1b6cfa)return _0x1ebaeb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b6cfa[_0x1ebaeb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4377f1=_0x17cf09(_0x1b6cfa[_0x1ebaeb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b6cfa[_0x1ebaeb([0x6a,0x74,0x69])])),await _0x19fcc6()?_0x2cde15()?_0x50b07b()?_0x1ebaeb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f592d()?(_0x1b6cfa[_0x1ebaeb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ebaeb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2eb863=_0x59d966(_0x1ebaeb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b6cfa[_0x1ebaeb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ebaeb([0x74,0x72,0x69,0x61,0x6c])&&(_0x2eb863=_0x59d966(_0x1ebaeb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b6cfa[_0x1ebaeb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ebaeb([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x2eb863=_0x59d966(_0x1ebaeb([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x586b57()):_0x1ebaeb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ebaeb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ebaeb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3a3642){return _0x1ebaeb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50b07b(){const _0x520107=[_0x1ebaeb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ebaeb([0x74,0x72,0x69,0x61,0x6c])][_0x1ebaeb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b6cfa[_0x1ebaeb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3cb320/0x3e8:0xe10*_0x54f199;return _0x1b6cfa[_0x1ebaeb([0x65,0x78,0x70])]<_0x520107;}function _0x2cde15(){const _0xdfd907=_0x1b6cfa[_0x1ebaeb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xdfd907&&(!!_0xdfd907[_0x1ebaeb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebaeb([0x2a]))||!!_0xdfd907[_0x1ebaeb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebaeb([0x41,0x49])));}function _0x2f592d(){const _0x19699b=_0x4da7,_0x2a652f=_0x1b6cfa[_0x1ebaeb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a652f||0x0==_0x2a652f[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc5e479}=new URL(window[_0x1ebaeb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x19699b(0x198)]);if(_0x2a652f[_0x1ebaeb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc5e479))return!0x0;const _0x962f4d=_0xc5e479[_0x1ebaeb([0x73,0x70,0x6c,0x69,0x74])](_0x1ebaeb([0x2e]));return _0x2a652f[_0x1ebaeb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2929a8=>_0x2929a8[_0x1ebaeb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebaeb([0x2a])))[_0x1ebaeb([0x6d,0x61,0x70])](_0x25a858=>_0x25a858[_0x1ebaeb([0x73,0x70,0x6c,0x69,0x74])](_0x1ebaeb([0x2e])))[_0x1ebaeb([0x73,0x6f,0x6d,0x65])](_0x2f73a9=>_0x962f4d[_0x1ebaeb([0x65,0x76,0x65,0x72,0x79])]((_0x329ce2,_0x32724c)=>_0x2f73a9[_0x32724c]===_0x329ce2||_0x2f73a9[_0x32724c]===_0x1ebaeb([0x2a])));}function _0x586b57(){return _0x2eb863&&_0x4377f1?new window[(_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a17b5,_0x52fa19)=>{_0x2eb863[_0x1ebaeb([0x74,0x68,0x65,0x6e])](_0x4a17b5,_0x52fa19),_0x4377f1[_0x1ebaeb([0x74,0x68,0x65,0x6e])](_0x5e365e=>{_0x5e365e!=_0x1ebaeb([0x56,0x61,0x6c,0x69,0x64])&&_0x4a17b5(_0x5e365e);},_0x52fa19);}):_0x2eb863||_0x4377f1||_0x1ebaeb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17cf09(_0x352a10,_0x484c6c){return new window[(_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53e8fd=>{if(_0x315e9a())return _0x53e8fd(_0x1ebaeb([0x56,0x61,0x6c,0x69,0x64]));_0x19f8b7(),_0x5e5243[_0x1ebaeb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ebaeb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x372c41=!0x1;const _0xddead4=_0x4d02f3();function _0x1a1146(_0x3af70a){return!!_0x3af70a&&(typeof _0x3af70a===_0x1ebaeb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3af70a===_0x1ebaeb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3af70a[_0x1ebaeb([0x74,0x68,0x65,0x6e])]===_0x1ebaeb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3af70a[_0x1ebaeb([0x63,0x61,0x74,0x63,0x68])]===_0x1ebaeb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x541113(_0x19e46a){_0x13e2a4(_0x19e46a)[_0x1ebaeb([0x74,0x68,0x65,0x6e])](_0x48b65c=>{if(!_0x48b65c||_0x48b65c[_0x1ebaeb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ebaeb([0x6f,0x6b]))return _0x1ebaeb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x340fed(_0x413351(_0xddead4+_0x484c6c))!=_0x48b65c[_0x1ebaeb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ebaeb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ebaeb([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ebaeb([0x74,0x68,0x65,0x6e])](_0x5ee445=>(_0x4c4b82(),_0x5ee445),()=>{const _0x13a440=_0x1bef9d();return null==_0x13a440?(_0x4c4b82(),_0x1ebaeb([0x56,0x61,0x6c,0x69,0x64])):_0x1ebaeb(_0x3cb320-_0x13a440>(0x3d60d108^_0x5764c0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ebaeb([0x74,0x68,0x65,0x6e])](_0x53e8fd)[_0x1ebaeb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53e8fd(_0x1ebaeb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x257642=0x195abb88^_0x5764c0;function _0x4c4b82(){const _0x18f6e1=_0x1ebaeb([0x6c,0x6c,0x63,0x74,0x2d])+_0x340fed(_0x413351(_0x352a10)),_0x46bda7=_0x4f629f(_0x340fed(window[_0x1ebaeb([0x4d,0x61,0x74,0x68])][_0x1ebaeb([0x63,0x65,0x69,0x6c])](_0x3cb320/_0x257642)));window[_0x1ebaeb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ebaeb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18f6e1,_0x46bda7);}function _0x1bef9d(){const _0x1e62c6=_0x1ebaeb([0x6c,0x6c,0x63,0x74,0x2d])+_0x340fed(_0x413351(_0x352a10)),_0x21d381=window[_0x1ebaeb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ebaeb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e62c6);return _0x21d381?window[_0x1ebaeb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f629f(_0x21d381),0x10)*_0x257642:null;}function _0x13e2a4(_0x303bd8){return new window[(_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b3708,_0xad80a3)=>{_0x303bd8[_0x1ebaeb([0x74,0x68,0x65,0x6e])](_0x4b3708,_0xad80a3),window[_0x1ebaeb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xad80a3,0x196d81c8^_0x5764c0);});}}_0x5e5243[_0x1ebaeb([0x6f,0x6e])](_0x1ebaeb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42fa76,_0x40673b)=>{if(_0x40673b[0x0]!=_0x352a10)return _0x53e8fd(_0x1ebaeb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40673b[0x1]={..._0x40673b[0x1],[_0x1ebaeb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xddead4};},{[_0x1ebaeb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ebaeb([0x68,0x69,0x67,0x68])}),_0x5e5243[_0x1ebaeb([0x6f,0x6e])](_0x1ebaeb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x590f4d=>{_0x1a1146(_0x590f4d[_0x1ebaeb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x372c41=!0x0,_0x541113(_0x590f4d[_0x1ebaeb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ebaeb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ebaeb([0x6c,0x6f,0x77])}),_0x33490a[_0x1ebaeb([0x74,0x68,0x65,0x6e])](()=>{_0x372c41||_0x53e8fd(_0x1ebaeb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x315e9a(){return _0x5e5243[_0x1ebaeb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ebaeb([0x76,0x69,0x65,0x77])][_0x1ebaeb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ebaeb([0x61,0x75,0x74,0x6f]);}function _0x19f8b7(){_0x5e5243[_0x1ebaeb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ebaeb([0x76,0x69,0x65,0x77])][_0x1ebaeb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ebaeb([0x61,0x75,0x74,0x6f]);}}function _0x59d966(_0x59333e){const _0xa5a152=[new window[(_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x404cbe=>setTimeout(_0x404cbe,0x19656bc4^_0x5764c0)),_0x33490a[_0x1ebaeb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x321a4b=>{let _0x42c387=0x0;_0x5e5243[_0x1ebaeb([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ebaeb([0x6f,0x6e])](_0x1ebaeb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20134f,_0x30c772)=>{_0x30c772[0x0][_0x1ebaeb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42c387++,_0x42c387==(0x196c54f0^_0x5764c0)&&(_0x321a4b(),_0x20134f[_0x1ebaeb([0x6f,0x66,0x66])]());});}))];return window[_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ebaeb([0x72,0x61,0x63,0x65])](_0xa5a152)[_0x1ebaeb([0x74,0x68,0x65,0x6e])](()=>_0x59333e);}async function _0x3d1c2e(){await _0x33490a,_0x5e5243[_0x1ebaeb([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ebaeb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x579474,_0x5e5243[_0x1ebaeb([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ebaeb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x579474,_0x5e5243[_0x1ebaeb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ebaeb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x433c6b(_0x50afb1){const _0x39a619=_0x32e88f();_0x5e5243[_0x39a619]=_0x1ebaeb([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x50afb1,_0x50afb1!=_0x1ebaeb([0x56,0x61,0x6c,0x69,0x64])&&_0x3d1c2e();}function _0x32e88f(){const _0x50a720=window[_0x1ebaeb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ebaeb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ebaeb([0x6e,0x6f,0x77])]())[_0x1ebaeb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ebaeb([0x2e]),'');let _0x23cf87=_0x1ebaeb([0x70]);for(let _0x38ee17=0x0;_0x38ee17<_0x50a720[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38ee17+=0x2){let _0x1b4c93=window[_0x1ebaeb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50a720[_0x1ebaeb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38ee17,_0x38ee17+0x2));_0x1b4c93>=_0x3af36a[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1b4c93-=_0x3af36a[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23cf87+=_0x3af36a[_0x1b4c93];}return _0x23cf87;}function _0x1d1300(){const _0x6c7a76=_0x266a8b[_0x1ebaeb([0x73,0x70,0x6c,0x69,0x74])](_0x1ebaeb([0x2e]));if(0x3!=_0x6c7a76[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x25c1cd(_0x6c7a76[0x1]);function _0x25c1cd(_0xbf5eb7){const _0x5c56d1=_0x256f96(_0xbf5eb7);return _0x5c56d1&&_0x28c76f()?_0x5c56d1:null;function _0x28c76f(){const _0x1a5d6f=_0x5c56d1[_0x1ebaeb([0x6a,0x74,0x69])],_0x10287a=window[_0x1ebaeb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a5d6f[_0x1ebaeb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a5d6f[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x803f32={..._0x5c56d1,[_0x1ebaeb([0x6a,0x74,0x69])]:_0x1a5d6f[_0x1ebaeb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a5d6f[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x803f32[_0x1ebaeb([0x76,0x63])],_0x413351(_0x803f32)==_0x10287a;}}}async function _0x19fcc6(){let _0x285a25=!0x0;try{const _0x86d265=_0x266a8b[_0x1ebaeb([0x73,0x70,0x6c,0x69,0x74])](_0x1ebaeb([0x2e])),[_0x4e617d,_0x59a92f,_0x484c7b]=_0x86d265;return _0x54fb26(_0x4e617d),await _0x52a0f6(_0x4e617d,_0x59a92f,_0x484c7b),_0x285a25;}catch(_0x4807bb){return!0x1;}function _0x54fb26(_0x119dc2){const _0x3fc0c0=_0x256f96(_0x119dc2);_0x3fc0c0&&_0x3fc0c0[_0x1ebaeb([0x61,0x6c,0x67])]==_0x1ebaeb([0x45,0x53,0x32,0x35,0x36])||(_0x285a25=!0x1);}async function _0x52a0f6(_0x19b197,_0x5ac350,_0x4e2700){const _0x3475e4=window[_0x1ebaeb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ebaeb([0x66,0x72,0x6f,0x6d])](_0x175e19(_0x4e2700),_0x53f76e=>_0x53f76e[_0x1ebaeb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17483d=new window[(_0x1ebaeb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ebaeb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x19b197+_0x1ebaeb([0x2e])+_0x5ac350),_0x27e0b4=window[_0x1ebaeb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ebaeb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x27e0b4)return;const _0x49cea3=await _0x27e0b4[_0x1ebaeb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ebaeb([0x6a,0x77,0x6b]),_0x55c51a,{[_0x1ebaeb([0x6e,0x61,0x6d,0x65])]:_0x1ebaeb([0x45,0x43,0x44,0x53,0x41]),[_0x1ebaeb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ebaeb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ebaeb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x27e0b4[_0x1ebaeb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ebaeb([0x6e,0x61,0x6d,0x65])]:_0x1ebaeb([0x45,0x43,0x44,0x53,0x41]),[_0x1ebaeb([0x68,0x61,0x73,0x68])]:{[_0x1ebaeb([0x6e,0x61,0x6d,0x65])]:_0x1ebaeb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49cea3,_0x3475e4,_0x17483d)||(_0x285a25=!0x1);}}function _0x256f96(_0x270564){return _0x270564[_0x1ebaeb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ebaeb([0x65,0x79]))?JSON[_0x1ebaeb([0x70,0x61,0x72,0x73,0x65])](_0x175e19(_0x270564)):null;}function _0x175e19(_0x4b5d08){return window[_0x1ebaeb([0x61,0x74,0x6f,0x62])](_0x4b5d08[_0x1ebaeb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ebaeb([0x2b]))[_0x1ebaeb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ebaeb([0x2f])));}function _0x413351(_0x3fe9fc){let _0x21bb1c=0x1505;function _0x2a5a49(_0x40ba6d){for(let _0x30e87b=0x0;_0x30e87b<_0x40ba6d[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30e87b++){const _0x6195b3=_0x40ba6d[_0x1ebaeb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30e87b);_0x21bb1c=(_0x21bb1c<<0x5)+_0x21bb1c+_0x6195b3,_0x21bb1c&=_0x21bb1c;}}function _0x328ccc(_0x2bacd5){Array[_0x1ebaeb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2bacd5)?_0x2bacd5[_0x1ebaeb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x328ccc):_0x2bacd5&&typeof _0x2bacd5==_0x1ebaeb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ebaeb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2bacd5)[_0x1ebaeb([0x73,0x6f,0x72,0x74])]()[_0x1ebaeb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ef00c,_0x3cf1ee])=>{_0x2a5a49(_0x2ef00c),_0x328ccc(_0x3cf1ee);}):_0x2a5a49(window[_0x1ebaeb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2bacd5));}return _0x328ccc(_0x3fe9fc),_0x21bb1c>>>0x0;}function _0x340fed(_0x1dd3b4){return _0x1dd3b4[_0x1ebaeb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ebaeb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ebaeb([0x30]));}function _0x4f629f(_0x52371a){return _0x52371a[_0x1ebaeb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ebaeb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ebaeb([0x6a,0x6f,0x69,0x6e])]('');}function _0x579474(){}function _0x1ebaeb(_0x58a202){const _0x48ed9b=_0x4da7;return _0x58a202[_0x48ed9b(0x178)](_0x10736c=>String[_0x48ed9b(0x186)](_0x10736c))[_0x48ed9b(0x194)]('');}_0x433c6b(await _0x346589());}(this);}[_0x51caba(0x15f)](){const _0x26b821=_0x51caba,_0x14856b=this[_0x26b821(0x155)][_0x26b821(0x18a)];_0x14856b[_0x26b821(0x184)](_0x117a97=>{const _0x3c68ad=_0x26b821,_0x55860d=_0x14856b[_0x3c68ad(0x185)][_0x3c68ad(0x190)][_0x3c68ad(0x164)]();if(_0x14856b[_0x3c68ad(0x165)][_0x3c68ad(0x181)](u))_0x117a97[_0x3c68ad(0x166)](u,{'range':_0x55860d});else{if(_0x55860d[_0x3c68ad(0x182)][_0x3c68ad(0x16c)]){const _0x3cad5f=_0x55860d[_0x3c68ad(0x182)][_0x3c68ad(0x16b)](({item:_0x11aeb9})=>!_0x14856b[_0x3c68ad(0x17f)][_0x3c68ad(0x189)](_0x11aeb9),{'boundaries':_0x55860d});_0x117a97[_0x3c68ad(0x18c)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x117a97[_0x3c68ad(0x157)](_0x3cad5f,_0x55860d[_0x3c68ad(0x169)])});}else _0x117a97[_0x3c68ad(0x18c)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x55860d});}});}[_0x51caba(0x197)](){const _0x54fbda=_0x51caba,_0x564a6f=this[_0x54fbda(0x155)][_0x54fbda(0x18a)];_0x564a6f[_0x54fbda(0x165)][_0x54fbda(0x181)](u)&&_0x564a6f[_0x54fbda(0x184)](_0x985e40=>{const _0x1bfe0c=_0x54fbda;_0x985e40[_0x1bfe0c(0x17a)](u);});}[_0x51caba(0x170)](_0x18bd42,_0x2db3c1){const _0x578f56=_0x51caba,_0x426361=_0x2db3c1||this[_0x578f56(0x155)][_0x578f56(0x18a)][_0x578f56(0x165)][_0x578f56(0x195)](u)[_0x578f56(0x192)]();if(!this[_0x578f56(0x155)][_0x578f56(0x18a)][_0x578f56(0x168)](_0x426361))return;const _0x2d819f=this[_0x578f56(0x155)][_0x578f56(0x17d)][_0x578f56(0x158)][_0x578f56(0x188)](_0x18bd42),_0x4fa97a=this[_0x578f56(0x155)][_0x578f56(0x17d)][_0x578f56(0x152)](_0x2d819f);this[_0x578f56(0x155)][_0x578f56(0x18a)][_0x578f56(0x184)](_0x4dacd0=>{const _0x194b2e=_0x578f56;this[_0x194b2e(0x197)]();const _0x5f38a5=this[_0x194b2e(0x155)][_0x194b2e(0x18a)][_0x194b2e(0x170)](_0x4fa97a,_0x426361);_0x5f38a5&&_0x4dacd0[_0x194b2e(0x18e)](_0x5f38a5);});}[_0x51caba(0x16a)](_0x929625){const _0x54f79e=_0x51caba,{model:_0x3d0be7}=this[_0x54f79e(0x155)],_0x34f5eb=Array[_0x54f79e(0x167)](_0x3d0be7[_0x54f79e(0x156)](this[_0x54f79e(0x155)][_0x54f79e(0x18a)][_0x54f79e(0x165)][_0x54f79e(0x195)](u)[_0x54f79e(0x192)]())[_0x54f79e(0x15e)]()),_0x4fe518=_0x34f5eb[_0x54f79e(0x15d)]?_0x3d0be7[_0x54f79e(0x150)](_0x34f5eb[_0x54f79e(0x163)]()):_0x3d0be7[_0x54f79e(0x185)][_0x54f79e(0x190)][_0x54f79e(0x16f)]();this[_0x54f79e(0x170)](_0x929625,_0x4fe518);}}
23
+ const _0x19d515=_0x2073;function _0x2073(_0x50d159,_0x19ce19){const _0x2082b7=_0x2082();return _0x2073=function(_0x207376,_0x8279a5){_0x207376=_0x207376-0xc9;let _0x3d03ea=_0x2082b7[_0x207376];return _0x3d03ea;},_0x2073(_0x50d159,_0x19ce19);}(function(_0x2a8288,_0xa13d90){const _0x1d8f58=_0x2073,_0x397b47=_0x2a8288();while(!![]){try{const _0xf3652e=-parseInt(_0x1d8f58(0xd5))/0x1*(parseInt(_0x1d8f58(0xfd))/0x2)+parseInt(_0x1d8f58(0xf9))/0x3*(-parseInt(_0x1d8f58(0xd7))/0x4)+parseInt(_0x1d8f58(0x107))/0x5*(parseInt(_0x1d8f58(0xed))/0x6)+-parseInt(_0x1d8f58(0xfb))/0x7*(-parseInt(_0x1d8f58(0xe2))/0x8)+-parseInt(_0x1d8f58(0x10f))/0x9+-parseInt(_0x1d8f58(0xe0))/0xa*(parseInt(_0x1d8f58(0x10e))/0xb)+-parseInt(_0x1d8f58(0x10b))/0xc*(-parseInt(_0x1d8f58(0x113))/0xd);if(_0xf3652e===_0xa13d90)break;else _0x397b47['push'](_0x397b47['shift']());}catch(_0x1215af){_0x397b47['push'](_0x397b47['shift']());}}}(_0x2082,0x7b8fc));import{uid as _0x339ed2}from'ckeditor5/src/utils.js';function _0x2082(){const _0x508c80=['2471mBXqeS','from','2KtUVhT','change','markerToElement','document','toModel','removeMarker','data','insertContent','join','addMarker','5LqqZFb','fromCharCode','selection','updateMarker','23580fltpbL','isCollapsed','ai.useTheme','19063RtfiQu','5465322ZDPQki','ck-fake-ai-selection','conversion','init','6877gBFJQE','processor','getRange','for','createPositionAfter','push','getLastPosition','showFakeVisualSelection','get','canEditAt','pluginName','has','ck-ai-assistant-ui_theme','markerRange','hideFakeVisualSelection','267644QLLFIA','isAtEnd','4kfSjXW','span','createSelection','map','getLastMatchingPosition','AIAssistantEditing','model','isContent','length','3440GElzeO','afterInit','21176FkSGKf','href','getSelectedBlocks','markerToHighlight','createUIElement','ck-fake-ai-selection_collapsed','pop','editor','schema','end','createRange','765768gyTIFr','editingDowncast','insertContentBelow','isOfficialPlugin','ai-ui','setSelection','getFirstRange','isPremiumPlugin','addClass','start','config','markers','373026FPybUw','toView'];_0x2082=function(){return _0x508c80;};return _0x2082();}import{Plugin as _0x1aa609}from'ckeditor5/src/core.js';const u=_0x19d515(0xf1);export default class a extends _0x1aa609{static get[_0x19d515(0xd0)](){const _0x38d854=_0x19d515;return _0x38d854(0xdc);}static get[_0x19d515(0xf0)](){return!0x0;}static get[_0x19d515(0xf4)](){return!0x0;}[_0x19d515(0x112)](){const _0x39a485=_0x19d515,{editor:_0x56c682}=this,_0x3b3785=[_0x39a485(0x110)];_0x56c682[_0x39a485(0xf7)][_0x39a485(0xce)](_0x39a485(0x10d))&&_0x3b3785[_0x39a485(0xcb)](_0x39a485(0xd2)),_0x56c682[_0x39a485(0x111)][_0x39a485(0xc9)](_0x39a485(0xee))[_0x39a485(0xe5)]({'model':u,'view':{'classes':_0x3b3785,'priority':0xc}}),_0x56c682[_0x39a485(0x111)][_0x39a485(0xc9)](_0x39a485(0xee))[_0x39a485(0xff)]({'model':u,'view':(_0x2167eb,{writer:_0x3ee561})=>{const _0x5ab8db=_0x39a485;if(!_0x2167eb[_0x5ab8db(0xd3)][_0x5ab8db(0x10c)])return null;const _0x2f3c57=_0x3ee561[_0x5ab8db(0xe6)](_0x5ab8db(0xd8));return _0x3ee561[_0x5ab8db(0xf5)]([_0x5ab8db(0x110),_0x5ab8db(0xe7)],_0x2f3c57),_0x2f3c57;}});}[_0x19d515(0xe1)](){!async function(_0x127d11){const _0x12be7d=_0x591979([0x58,0x55,0x6f,0x4c,0x41,0x42,0x37,0x78,0x5a,0x44,0x54,0x64,0x49,0x50,0x66,0x38,0x65,0x76,0x47,0x67,0x63,0x51,0x4d,0x70,0x32,0x69,0x73,0x31,0x4f,0x74,0x4a,0x36,0x61,0x34,0x43,0x45,0x77,0x57,0x4e,0x48,0x4b,0x53,0x6b,0x6a,0x6d,0x75,0x71,0x56,0x39,0x33,0x6e,0x6c,0x68,0x79,0x7a,0x35,0x62,0x59,0x46,0x30,0x72,0x52]),_0x49fe1f=0x2ca9d0db,_0x2bac67=0x2cae8883^_0x49fe1f,_0x1761e2=window[_0x591979([0x44,0x61,0x74,0x65])][_0x591979([0x6e,0x6f,0x77])](),_0x4037dc=_0x127d11[_0x591979([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5f10ca=new window[(_0x591979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x562425=>{_0x4037dc[_0x591979([0x6f,0x6e,0x63,0x65])](_0x591979([0x72,0x65,0x61,0x64,0x79]),_0x562425);}),_0x5eaa5c={[_0x591979([0x6b,0x74,0x79])]:_0x591979([0x45,0x43]),[_0x591979([0x75,0x73,0x65])]:_0x591979([0x73,0x69,0x67]),[_0x591979([0x63,0x72,0x76])]:_0x591979([0x50,0x2d,0x32,0x35,0x36]),[_0x591979([0x78])]:_0x591979([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x591979([0x79])]:_0x591979([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x591979([0x61,0x6c,0x67])]:_0x591979([0x45,0x53,0x32,0x35,0x36])},_0x11b121=_0x4037dc[_0x591979([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x591979([0x67,0x65,0x74])](_0x591979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x115b1f(){let _0x4b2102,_0xf01fda=null,_0x5891c1=null;try{if(_0x11b121==_0x591979([0x47,0x50,0x4c]))return _0x591979([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b2102=_0x34b91f(),!_0x4b2102)return _0x591979([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b2102[_0x591979([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5891c1=_0xe5415e(_0x4b2102[_0x591979([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b2102[_0x591979([0x6a,0x74,0x69])])),await _0x5ab052()?_0x2a7149()?_0x3e46a2()?_0x591979([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1eb410()?(_0x4b2102[_0x591979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x591979([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf01fda=_0xceea0f(_0x591979([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b2102[_0x591979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x591979([0x74,0x72,0x69,0x61,0x6c])&&(_0xf01fda=_0xceea0f(_0x591979([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b2102[_0x591979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x591979([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0xf01fda=_0xceea0f(_0x591979([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2aa14c()):_0x591979([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x591979([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x591979([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x55fbf9){return _0x591979([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3e46a2(){const _0x548679=[_0x591979([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x591979([0x74,0x72,0x69,0x61,0x6c])][_0x591979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b2102[_0x591979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1761e2/0x3e8:0xe10*_0x2bac67;return _0x4b2102[_0x591979([0x65,0x78,0x70])]<_0x548679;}function _0x2a7149(){const _0x5ba2b7=_0x4b2102[_0x591979([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ba2b7&&(!!_0x5ba2b7[_0x591979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x591979([0x2a]))||!!_0x5ba2b7[_0x591979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x591979([0x41,0x49])));}function _0x1eb410(){const _0x326fb3=_0x2073,_0x2f1047=_0x4b2102[_0x591979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2f1047||0x0==_0x2f1047[_0x591979([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5aa0e4}=new URL(window[_0x591979([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x326fb3(0xe3)]);if(_0x2f1047[_0x591979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aa0e4))return!0x0;const _0x4d22c0=_0x5aa0e4[_0x591979([0x73,0x70,0x6c,0x69,0x74])](_0x591979([0x2e]));return _0x2f1047[_0x591979([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x434f28=>_0x434f28[_0x591979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x591979([0x2a])))[_0x591979([0x6d,0x61,0x70])](_0x14914e=>_0x14914e[_0x591979([0x73,0x70,0x6c,0x69,0x74])](_0x591979([0x2e])))[_0x591979([0x73,0x6f,0x6d,0x65])](_0x393c6e=>_0x4d22c0[_0x591979([0x65,0x76,0x65,0x72,0x79])]((_0x1c6461,_0x5243c0)=>_0x393c6e[_0x5243c0]===_0x1c6461||_0x393c6e[_0x5243c0]===_0x591979([0x2a])));}function _0x2aa14c(){return _0xf01fda&&_0x5891c1?new window[(_0x591979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17e3d8,_0xddd2b6)=>{_0xf01fda[_0x591979([0x74,0x68,0x65,0x6e])](_0x17e3d8,_0xddd2b6),_0x5891c1[_0x591979([0x74,0x68,0x65,0x6e])](_0x488834=>{_0x488834!=_0x591979([0x56,0x61,0x6c,0x69,0x64])&&_0x17e3d8(_0x488834);},_0xddd2b6);}):_0xf01fda||_0x5891c1||_0x591979([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe5415e(_0x58ce97,_0x3bd8f0){return new window[(_0x591979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc453b0=>{if(_0x4a92a8())return _0xc453b0(_0x591979([0x56,0x61,0x6c,0x69,0x64]));_0x46b100(),_0x4037dc[_0x591979([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x591979([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4838ba=!0x1;const _0x54c6f9=_0x339ed2();function _0x20d18e(_0x88d941){return!!_0x88d941&&(typeof _0x88d941===_0x591979([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x88d941===_0x591979([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x88d941[_0x591979([0x74,0x68,0x65,0x6e])]===_0x591979([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x88d941[_0x591979([0x63,0x61,0x74,0x63,0x68])]===_0x591979([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c0fbd(_0x2acd99){_0x54b2c4(_0x2acd99)[_0x591979([0x74,0x68,0x65,0x6e])](_0x5c2ce1=>{if(!_0x5c2ce1||_0x5c2ce1[_0x591979([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x591979([0x6f,0x6b]))return _0x591979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x520f08(_0x17c328(_0x54c6f9+_0x3bd8f0))!=_0x5c2ce1[_0x591979([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x591979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x591979([0x56,0x61,0x6c,0x69,0x64]);})[_0x591979([0x74,0x68,0x65,0x6e])](_0xb17fad=>(_0x245b09(),_0xb17fad),()=>{const _0x39dfd4=_0x722cb7();return null==_0x39dfd4?(_0x245b09(),_0x591979([0x56,0x61,0x6c,0x69,0x64])):_0x591979(_0x1761e2-_0x39dfd4>(0x8a554db^_0x49fe1f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x591979([0x74,0x68,0x65,0x6e])](_0xc453b0)[_0x591979([0x63,0x61,0x74,0x63,0x68])](()=>{_0xc453b0(_0x591979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x7ddd2b=0x2c9f3e5b^_0x49fe1f;function _0x245b09(){const _0x11e60e=_0x591979([0x6c,0x6c,0x63,0x74,0x2d])+_0x520f08(_0x17c328(_0x58ce97)),_0x5428f2=_0x2461cf(_0x520f08(window[_0x591979([0x4d,0x61,0x74,0x68])][_0x591979([0x63,0x65,0x69,0x6c])](_0x1761e2/_0x7ddd2b)));window[_0x591979([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x591979([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11e60e,_0x5428f2);}function _0x722cb7(){const _0x302107=_0x591979([0x6c,0x6c,0x63,0x74,0x2d])+_0x520f08(_0x17c328(_0x58ce97)),_0x3022cb=window[_0x591979([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x591979([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x302107);return _0x3022cb?window[_0x591979([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2461cf(_0x3022cb),0x10)*_0x7ddd2b:null;}function _0x54b2c4(_0xad5bc5){return new window[(_0x591979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3597a0,_0x309149)=>{_0xad5bc5[_0x591979([0x74,0x68,0x65,0x6e])](_0x3597a0,_0x309149),window[_0x591979([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x309149,0x2ca8041b^_0x49fe1f);});}}_0x4037dc[_0x591979([0x6f,0x6e])](_0x591979([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f02bd,_0x4ff9b1)=>{if(_0x4ff9b1[0x0]!=_0x58ce97)return _0xc453b0(_0x591979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ff9b1[0x1]={..._0x4ff9b1[0x1],[_0x591979([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x54c6f9};},{[_0x591979([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x591979([0x68,0x69,0x67,0x68])}),_0x4037dc[_0x591979([0x6f,0x6e])](_0x591979([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3139da=>{_0x20d18e(_0x3139da[_0x591979([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4838ba=!0x0,_0x3c0fbd(_0x3139da[_0x591979([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x591979([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x591979([0x6c,0x6f,0x77])}),_0x5f10ca[_0x591979([0x74,0x68,0x65,0x6e])](()=>{_0x4838ba||_0xc453b0(_0x591979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a92a8(){return _0x4037dc[_0x591979([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x591979([0x76,0x69,0x65,0x77])][_0x591979([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x591979([0x61,0x75,0x74,0x6f]);}function _0x46b100(){_0x4037dc[_0x591979([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x591979([0x76,0x69,0x65,0x77])][_0x591979([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x591979([0x61,0x75,0x74,0x6f]);}}function _0xceea0f(_0x176df2){const _0x7f310=[new window[(_0x591979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ba100=>setTimeout(_0x3ba100,0x2ca0ee17^_0x49fe1f)),_0x5f10ca[_0x591979([0x74,0x68,0x65,0x6e])](()=>new window[(_0x591979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29ebf8=>{let _0x49e754=0x0;_0x4037dc[_0x591979([0x6d,0x6f,0x64,0x65,0x6c])][_0x591979([0x6f,0x6e])](_0x591979([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xeef3ef,_0xbce058)=>{_0xbce058[0x0][_0x591979([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49e754++,_0x49e754==(0x2ca9d123^_0x49fe1f)&&(_0x29ebf8(),_0xeef3ef[_0x591979([0x6f,0x66,0x66])]());});}))];return window[_0x591979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x591979([0x72,0x61,0x63,0x65])](_0x7f310)[_0x591979([0x74,0x68,0x65,0x6e])](()=>_0x176df2);}async function _0xf4221f(){await _0x5f10ca,_0x4037dc[_0x591979([0x6d,0x6f,0x64,0x65,0x6c])][_0x591979([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54bab1,_0x4037dc[_0x591979([0x6d,0x6f,0x64,0x65,0x6c])][_0x591979([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54bab1,_0x4037dc[_0x591979([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x591979([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x422287(_0x5d0273){const _0x583923=_0x46f20b();_0x4037dc[_0x583923]=_0x591979([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d0273,_0x5d0273!=_0x591979([0x56,0x61,0x6c,0x69,0x64])&&_0xf4221f();}function _0x46f20b(){const _0x5b7fc6=window[_0x591979([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x591979([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x591979([0x6e,0x6f,0x77])]())[_0x591979([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x591979([0x2e]),'');let _0x3a7698=_0x591979([0x58]);for(let _0x350259=0x0;_0x350259<_0x5b7fc6[_0x591979([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x350259+=0x2){let _0x4b427a=window[_0x591979([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b7fc6[_0x591979([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x350259,_0x350259+0x2));_0x4b427a>=_0x12be7d[_0x591979([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b427a-=_0x12be7d[_0x591979([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a7698+=_0x12be7d[_0x4b427a];}return _0x3a7698;}function _0x34b91f(){const _0x17a17=_0x11b121[_0x591979([0x73,0x70,0x6c,0x69,0x74])](_0x591979([0x2e]));if(0x3!=_0x17a17[_0x591979([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x280afb(_0x17a17[0x1]);function _0x280afb(_0x4de131){const _0x4c27f1=_0x2f163d(_0x4de131);return _0x4c27f1&&_0x584c70()?_0x4c27f1:null;function _0x584c70(){const _0x32e9ec=_0x4c27f1[_0x591979([0x6a,0x74,0x69])],_0x1c5f90=window[_0x591979([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32e9ec[_0x591979([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32e9ec[_0x591979([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ea129={..._0x4c27f1,[_0x591979([0x6a,0x74,0x69])]:_0x32e9ec[_0x591979([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x32e9ec[_0x591979([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ea129[_0x591979([0x76,0x63])],_0x17c328(_0x4ea129)==_0x1c5f90;}}}async function _0x5ab052(){let _0x556add=!0x0;try{const _0xd3283d=_0x11b121[_0x591979([0x73,0x70,0x6c,0x69,0x74])](_0x591979([0x2e])),[_0x5b999e,_0x140e9d,_0x248c0c]=_0xd3283d;return _0x61f85a(_0x5b999e),await _0x51c946(_0x5b999e,_0x140e9d,_0x248c0c),_0x556add;}catch(_0x2e97da){return!0x1;}function _0x61f85a(_0x5de437){const _0xb60c20=_0x2f163d(_0x5de437);_0xb60c20&&_0xb60c20[_0x591979([0x61,0x6c,0x67])]==_0x591979([0x45,0x53,0x32,0x35,0x36])||(_0x556add=!0x1);}async function _0x51c946(_0x3e58ff,_0x3c88ff,_0x2786de){const _0x2cfd3a=window[_0x591979([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x591979([0x66,0x72,0x6f,0x6d])](_0x194187(_0x2786de),_0x5d30c1=>_0x5d30c1[_0x591979([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xf47377=new window[(_0x591979([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x591979([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e58ff+_0x591979([0x2e])+_0x3c88ff),_0x443875=window[_0x591979([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x591979([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x443875)return;const _0xb94abf=await _0x443875[_0x591979([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x591979([0x6a,0x77,0x6b]),_0x5eaa5c,{[_0x591979([0x6e,0x61,0x6d,0x65])]:_0x591979([0x45,0x43,0x44,0x53,0x41]),[_0x591979([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x591979([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x591979([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x443875[_0x591979([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x591979([0x6e,0x61,0x6d,0x65])]:_0x591979([0x45,0x43,0x44,0x53,0x41]),[_0x591979([0x68,0x61,0x73,0x68])]:{[_0x591979([0x6e,0x61,0x6d,0x65])]:_0x591979([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb94abf,_0x2cfd3a,_0xf47377)||(_0x556add=!0x1);}}function _0x2f163d(_0x1d8ece){return _0x1d8ece[_0x591979([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x591979([0x65,0x79]))?JSON[_0x591979([0x70,0x61,0x72,0x73,0x65])](_0x194187(_0x1d8ece)):null;}function _0x194187(_0x1c297b){return window[_0x591979([0x61,0x74,0x6f,0x62])](_0x1c297b[_0x591979([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x591979([0x2b]))[_0x591979([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x591979([0x2f])));}function _0x17c328(_0x76341d){let _0x37370f=0x1505;function _0x1b2ebc(_0x101af3){for(let _0xbfdeba=0x0;_0xbfdeba<_0x101af3[_0x591979([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xbfdeba++){const _0x481772=_0x101af3[_0x591979([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xbfdeba);_0x37370f=(_0x37370f<<0x5)+_0x37370f+_0x481772,_0x37370f&=_0x37370f;}}function _0x568df1(_0x2d3cf1){Array[_0x591979([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d3cf1)?_0x2d3cf1[_0x591979([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x568df1):_0x2d3cf1&&typeof _0x2d3cf1==_0x591979([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x591979([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d3cf1)[_0x591979([0x73,0x6f,0x72,0x74])]()[_0x591979([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x561677,_0x4021c6])=>{_0x1b2ebc(_0x561677),_0x568df1(_0x4021c6);}):_0x1b2ebc(window[_0x591979([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d3cf1));}return _0x568df1(_0x76341d),_0x37370f>>>0x0;}function _0x520f08(_0x2aa041){return _0x2aa041[_0x591979([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x591979([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x591979([0x30]));}function _0x2461cf(_0x3a69ff){return _0x3a69ff[_0x591979([0x73,0x70,0x6c,0x69,0x74])]('')[_0x591979([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x591979([0x6a,0x6f,0x69,0x6e])]('');}function _0x54bab1(){}function _0x591979(_0x4f80bd){const _0x3dc393=_0x2073;return _0x4f80bd[_0x3dc393(0xda)](_0x3ba6bf=>String[_0x3dc393(0x108)](_0x3ba6bf))[_0x3dc393(0x105)]('');}_0x422287(await _0x115b1f());}(this);}[_0x19d515(0xcd)](){const _0x11a518=_0x19d515,_0x1a0b31=this[_0x11a518(0xe9)][_0x11a518(0xdd)];_0x1a0b31[_0x11a518(0xfe)](_0x5ddf18=>{const _0x1d4e72=_0x11a518,_0x421ea7=_0x1a0b31[_0x1d4e72(0x100)][_0x1d4e72(0x109)][_0x1d4e72(0xf3)]();if(_0x1a0b31[_0x1d4e72(0xf8)][_0x1d4e72(0xd1)](u))_0x5ddf18[_0x1d4e72(0x10a)](u,{'range':_0x421ea7});else{if(_0x421ea7[_0x1d4e72(0xf6)][_0x1d4e72(0xd6)]){const _0x8715ee=_0x421ea7[_0x1d4e72(0xf6)][_0x1d4e72(0xdb)](({item:_0x8493e3})=>!_0x1a0b31[_0x1d4e72(0xea)][_0x1d4e72(0xde)](_0x8493e3),{'boundaries':_0x421ea7});_0x5ddf18[_0x1d4e72(0x106)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5ddf18[_0x1d4e72(0xec)](_0x8715ee,_0x421ea7[_0x1d4e72(0xeb)])});}else _0x5ddf18[_0x1d4e72(0x106)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x421ea7});}});}[_0x19d515(0xd4)](){const _0x4d9622=_0x19d515,_0x3b6e00=this[_0x4d9622(0xe9)][_0x4d9622(0xdd)];_0x3b6e00[_0x4d9622(0xf8)][_0x4d9622(0xd1)](u)&&_0x3b6e00[_0x4d9622(0xfe)](_0x297b92=>{const _0x14adca=_0x4d9622;_0x297b92[_0x14adca(0x102)](u);});}[_0x19d515(0x104)](_0x1dd34e,_0x2b5ace){const _0x22bfde=_0x19d515,_0xf1de8=_0x2b5ace||this[_0x22bfde(0xe9)][_0x22bfde(0xdd)][_0x22bfde(0xf8)][_0x22bfde(0xce)](u)[_0x22bfde(0x115)]();if(!this[_0x22bfde(0xe9)][_0x22bfde(0xdd)][_0x22bfde(0xcf)](_0xf1de8))return;const _0x5c918b=this[_0x22bfde(0xe9)][_0x22bfde(0x103)][_0x22bfde(0x114)][_0x22bfde(0xfa)](_0x1dd34e),_0x3be2af=this[_0x22bfde(0xe9)][_0x22bfde(0x103)][_0x22bfde(0x101)](_0x5c918b);this[_0x22bfde(0xe9)][_0x22bfde(0xdd)][_0x22bfde(0xfe)](_0x5d956c=>{const _0xf4ff82=_0x22bfde;this[_0xf4ff82(0xd4)]();const _0x1bb6f3=this[_0xf4ff82(0xe9)][_0xf4ff82(0xdd)][_0xf4ff82(0x104)](_0x3be2af,_0xf1de8);_0x1bb6f3&&_0x5d956c[_0xf4ff82(0xf2)](_0x1bb6f3);});}[_0x19d515(0xef)](_0x1caf76){const _0x45e7fa=_0x19d515,{model:_0x568cde}=this[_0x45e7fa(0xe9)],_0x872531=Array[_0x45e7fa(0xfc)](_0x568cde[_0x45e7fa(0xd9)](this[_0x45e7fa(0xe9)][_0x45e7fa(0xdd)][_0x45e7fa(0xf8)][_0x45e7fa(0xce)](u)[_0x45e7fa(0x115)]())[_0x45e7fa(0xe4)]()),_0xf2ae42=_0x872531[_0x45e7fa(0xdf)]?_0x568cde[_0x45e7fa(0xca)](_0x872531[_0x45e7fa(0xe8)]()):_0x568cde[_0x45e7fa(0x100)][_0x45e7fa(0x109)][_0x45e7fa(0xcc)]();this[_0x45e7fa(0x104)](_0x1caf76,_0xf2ae42);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x383d3b=_0x576a;(function(_0x3f77cc,_0x3dfd0f){const _0x3ab06f=_0x576a,_0x48cde8=_0x3f77cc();while(!![]){try{const _0x37b856=parseInt(_0x3ab06f(0xbe))/0x1+parseInt(_0x3ab06f(0xd8))/0x2*(parseInt(_0x3ab06f(0x12b))/0x3)+-parseInt(_0x3ab06f(0xff))/0x4+parseInt(_0x3ab06f(0xd1))/0x5*(-parseInt(_0x3ab06f(0xee))/0x6)+-parseInt(_0x3ab06f(0x8d))/0x7+parseInt(_0x3ab06f(0xd7))/0x8*(parseInt(_0x3ab06f(0xb3))/0x9)+-parseInt(_0x3ab06f(0xae))/0xa*(-parseInt(_0x3ab06f(0x11d))/0xb);if(_0x37b856===_0x3dfd0f)break;else _0x48cde8['push'](_0x48cde8['shift']());}catch(_0x1873c6){_0x48cde8['push'](_0x48cde8['shift']());}}}(_0x5e21,0x78d1e));import{Plugin as _0xc3e7ab}from'ckeditor5/src/core.js';import{first as _0x3bb70c,CKEditorError as _0x30071d}from'ckeditor5/src/utils.js';function _0x576a(_0x46a0bb,_0x142bdd){const _0x5e215d=_0x5e21();return _0x576a=function(_0x576a4,_0x41a42d){_0x576a4=_0x576a4-0x7c;let _0xd1dc05=_0x5e215d[_0x576a4];return _0xd1dc05;},_0x576a(_0x46a0bb,_0x142bdd);}import{createDropdown as _0x50e0b8,addMenuToDropdown as _0x4326ac,ButtonView as _0xb0d3cd,MenuBarMenuListItemButtonView as _0x5724c5,Dialog as _0x4cebb0,DialogViewPosition as _0x4250e2,MenuBarMenuView as _0x21beae,MenuBarMenuListView as _0x4749f8,MenuBarMenuListItemView as _0xd89848}from'ckeditor5/src/ui.js';import{icons as _0x48f080}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x331507,UNGROUPED_COMMANDS_GROUP_ID as _0x11204e}from'./utils/normalizecommandsconfig.js';import _0x3643f4 from'./aiassistantediting.js';import _0x292c4a from'./adapters/aiadapter.js';import{getTranslation as _0x240ae9}from'./utils/common-translations.js';function _0x5e21(){const _0x26280f=['replaceContent','430734IBEMQu','enabledCommandsIds','bind','aiLicenseKeyDomainLimit','aiCommands','ck-ai-assistant-ui','errorView','AI\x20is\x20writing','values','AI\x20Assistant','command:','source','selection','push','groupLabel','polite','add','forEach','ai.aiAssistant.contentAreaCssClass','266795YUisIm','hide','change:isProcessing','trim','_populateMenuBarMenu','text/html','160mIOngy','1031354GYSdQb','plugins','updateView','invalid','delegate','_dialog','featureNotAllowed','robotPencil','getRanges','AIAssistantUI','addMany','tableOfContents','get','isFlat','_aiAdapter','showFakeVisualSelection','REPLACE','AIAssistant','insertContent','splice','comment','getSelectedElement','42qWVXIO','children','requires','_initView','ai.aiAssistant.disabledElements','aiLicenseKeyDevelopmentLimit','render','aiLicenseKeyUsageLimit','_onExecute','sort','aiLicenseKeyValid','_initAriaAiStatusChangeAnnouncements','custom','includes','Generated\x20content:\x20%0','menuBar:aiCommands','replace','2989488fBkkqt','order','aiAssistant','editor','reset','currentContext','length','fire','schema','AI\x20Commands','isPremiumPlugin','set','announce','setSelection','buttons','change:enabledCommandsIds','aiLicenseKeyTrialLimit','prompt','_commandDefinitions','commands','menuView','</p>','ck-ai-commands-dropdown\x20','\x20ck-ai-assistant-ui_theme','queryView','pluginName','_getMenuBarGroupButtons','items','media','label','22pYXtuJ','<p>','map','showAIAssistant','trialLimit','_licenseKeyCheckInterval','ai-commands-config-order-collision','Error\x20during\x20AI\x20content\x20generation:\x20%0','once','aiLicenseKeyExpired','document','updatePosition','model','isCollapsed','3ZXUeLW','destroy','expired','isOn','panelView','EDITOR_TOP_SIDE','define','buttonView','locale','insertContentBelow','getLimitElement','wasMoved','_showLicenseError','change','menuBar:aiAssistant','isEnabled','getData','showUI','text','editing','requiresContent','update','1785266VtWKWl','config','ai.aiAssistant.commands','body','aiLicenseKeyNotAllowed','usageLimit','contentArea','_forceMarkersCopy','fieldView','menuitemcheckbox','execute','licenseKey','evaluationLimit','ck-ai-assistant-button\x20','DataTransfer','rawHtml','_createAIAssistantUIButton','hideUI','INSERT','_aiAssistantController','groupId','filter','menuPanelClass','view','change:isError','show','hideFakeVisualSelection','ai.useTheme','isOfficialPlugin','init','aiLicenseKeyEvaluationLimit','promptView','focus','3778850yGWijC','getSelectedBlocks','developmentLimit','_getResolvedCommandsDefinitions','listenTo','75879wDicIY','_formView','_uiCssClasses','domainLimit','aiLicenseKeyInvalid','textAdapter','change:value','componentFactory','copy','from'];_0x5e21=function(){return _0x26280f;};return _0x5e21();}import _0x11bbca from'./ui/showaiassistantcommand.js';import _0x3ce08f from'./ui/aiassistantcontroller.js';import _0xf962f1 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xe2661f}from'./ui/form/aiformtoolbarview.js';import _0x2f6a3e from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x383d3b(0x9b)];import{ClipboardMarkersUtils as _0x54e25d}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3f635b,DataTransfer as _0x19a995}from'ckeditor5/src/engine.js';export default class n extends _0xc3e7ab{static get[_0x383d3b(0x118)](){const _0x175cf1=_0x383d3b;return _0x175cf1(0xe1);}static get[_0x383d3b(0xa9)](){return!0x0;}static get[_0x383d3b(0x109)](){return!0x0;}static get[_0x383d3b(0xf0)](){return[_0x54e25d,_0x3643f4,_0x292c4a,_0x4cebb0];}constructor(_0x406420){const _0x2ff8f5=_0x383d3b;super(_0x406420),this[_0x2ff8f5(0xb5)]='',_0x406420[_0x2ff8f5(0x8e)][_0x2ff8f5(0x7d)](_0x2ff8f5(0xf2),[_0x2ff8f5(0x11b),_0x2ff8f5(0x9c),_0x2ff8f5(0xe3)]),_0x406420[_0x2ff8f5(0x8e)][_0x2ff8f5(0x7d)](_0x2ff8f5(0xd0),''),_0x406420[_0x2ff8f5(0x8e)][_0x2ff8f5(0x7d)](_0x2ff8f5(0xa8),!0x0),this[_0x2ff8f5(0xb5)]=_0x2ff8f5(0xc3)+(_0x406420[_0x2ff8f5(0x8e)][_0x2ff8f5(0xe4)](_0x2ff8f5(0xa8))?_0x2ff8f5(0x116):'');}[_0x383d3b(0xaa)](){const _0x3afbfd=_0x383d3b,{editor:_0x547325}=this;this[_0x3afbfd(0xe6)]=_0x547325[_0x3afbfd(0xd9)][_0x3afbfd(0xe4)](_0x292c4a),this[_0x3afbfd(0xdd)]=_0x547325[_0x3afbfd(0xd9)][_0x3afbfd(0xe4)](_0x4cebb0),this[_0x3afbfd(0xb4)]=null,this[_0x3afbfd(0x111)]=this[_0x3afbfd(0xb1)]();const _0x58ebcc=new _0x11bbca(_0x547325,Array[_0x3afbfd(0xbc)](this[_0x3afbfd(0x111)][_0x3afbfd(0xc6)]()));_0x547325[_0x3afbfd(0x112)][_0x3afbfd(0xce)](_0x3afbfd(0x120),_0x58ebcc),_0x547325['ui'][_0x3afbfd(0xba)][_0x3afbfd(0xce)](_0x3afbfd(0xc2),_0x435f44=>{const _0x3eae22=_0x3afbfd,_0x522a7a=_0x50e0b8(_0x435f44);return _0x522a7a[_0x3eae22(0x10a)]({'class':_0x3eae22(0x115)+this[_0x3eae22(0xb5)]}),_0x522a7a[_0x3eae22(0x7e)][_0x3eae22(0x10a)]({'label':_0x240ae9(_0x435f44,_0x3eae22(0x108)),'icon':_0x2f6a3e,'tooltip':!0x0}),_0x522a7a['on'](_0x3eae22(0x97),_0x2e8b04=>this[_0x3eae22(0xf6)](_0x2e8b04[_0x3eae22(0xc9)]['id'])),_0x4326ac(_0x522a7a,_0x547325['ui'][_0x3eae22(0xa4)][_0x3eae22(0x90)],function(_0x197f82){const _0x53fbcf=_0x3eae22,_0x1a8b6e=_0x331507(_0x197f82[_0x53fbcf(0x8e)][_0x53fbcf(0xe4)](_0x53fbcf(0x8f)),_0x197f82[_0x53fbcf(0x7f)]),_0x1504b9=B(_0x197f82,_0x1a8b6e)[_0x53fbcf(0xa2)](_0x4a8f70=>_0x4a8f70[_0x53fbcf(0x112)][_0x53fbcf(0x105)]);if(0x1===_0x1504b9[_0x53fbcf(0x105)])return B(_0x197f82,_0x1504b9[0x0][_0x53fbcf(0x112)])[_0x53fbcf(0x11f)](_0x4a3698=>({'id':_0x4a3698['id'],'label':_0x4a3698[_0x53fbcf(0x11c)]}));return _0x1504b9[_0x53fbcf(0x11f)](_0x8b82df=>{const _0x16b0df=_0x53fbcf,{groupId:_0x549f5d,groupLabel:_0xbdfd1d,commands:_0x2cb009}=_0x8b82df,_0x3c2b1b=B(_0x197f82,_0x2cb009)[_0x16b0df(0x11f)](_0x4e4174=>({'id':_0x4e4174['id'],'label':_0x4e4174[_0x16b0df(0x11c)]}));return{'id':_0x549f5d,'menu':_0xbdfd1d||_0x549f5d,'children':_0x3c2b1b};});}(_0x547325),{'ariaLabel':_0x240ae9(_0x435f44,_0x3eae22(0x108))}),_0x522a7a[_0x3eae22(0x113)][_0x3eae22(0xa3)]=_0x3eae22(0x115)+this[_0x3eae22(0xb5)],_0x58ebcc['on'](_0x3eae22(0x10e),_0x4b5d79),_0x522a7a[_0x3eae22(0x113)][_0x3eae22(0x125)](_0x3eae22(0xf4),_0x4b5d79),_0x522a7a;function _0x4b5d79(){const _0xaa032d=_0x3eae22;_0x522a7a[_0xaa032d(0x86)]=_0x58ebcc[_0xaa032d(0xbf)][_0xaa032d(0x105)]>0x0;for(const _0x5e6d85 of _0x522a7a[_0xaa032d(0x113)][_0xaa032d(0x10d)])_0x5e6d85[_0xaa032d(0x86)]=_0x58ebcc[_0xaa032d(0xbf)][_0xaa032d(0xfb)](_0x5e6d85['id']);}}),_0x547325['ui'][_0x3afbfd(0xba)][_0x3afbfd(0xce)](_0x3afbfd(0xfd),_0x2e7d82=>{const _0x400266=_0x3afbfd,_0x3da60d=new _0x21beae(_0x2e7d82);_0x3da60d[_0x400266(0x7e)][_0x400266(0x10a)]({'label':_0x240ae9(_0x2e7d82,_0x400266(0x108)),'icon':_0x2f6a3e}),_0x3da60d[_0x400266(0xc0)](_0x400266(0x86))['to'](_0x58ebcc,_0x400266(0xbf),_0x337669=>_0x337669[_0x400266(0x105)]>0x0);const _0x128c35=_0x331507(_0x547325[_0x400266(0x8e)][_0x400266(0xe4)](_0x400266(0x8f)),_0x2e7d82);return this[_0x400266(0xd5)](_0x58ebcc,_0x3da60d,_0x128c35,_0x32b182=>this[_0x400266(0xf6)](_0x32b182)),_0x3da60d;}),_0x547325['ui'][_0x3afbfd(0xba)][_0x3afbfd(0xce)](_0x3afbfd(0x101),()=>{const _0x30998b=_0x3afbfd,_0x1da8e1=this[_0x30998b(0x9d)](_0xb0d3cd);return _0x1da8e1[_0x30998b(0x10a)]({'tooltip':!0x0,'class':_0x30998b(0x9a)+this[_0x30998b(0xb5)]}),_0x1da8e1;}),_0x547325['ui'][_0x3afbfd(0xba)][_0x3afbfd(0xce)](_0x3afbfd(0x85),()=>{const _0x53bac9=_0x3afbfd,_0x44c390=this[_0x53bac9(0x9d)](_0x5724c5);return _0x44c390[_0x53bac9(0x10a)]({'role':_0x53bac9(0x96)}),_0x44c390;}),this[_0x3afbfd(0x98)]=this[_0x3afbfd(0x102)][_0x3afbfd(0x8e)][_0x3afbfd(0xe4)](_0x3afbfd(0x98));const _0x3c4bff=this[_0x3afbfd(0x102)];this[_0x3afbfd(0x122)]=setInterval(()=>{const _0x4c8395=_0x3afbfd;let _0x1909cf;for(const _0x309404 in _0x3c4bff){const _0x747ffc=_0x309404,_0x12c5dc=_0x3c4bff[_0x747ffc];if(_0x4c8395(0xf8)==_0x12c5dc||_0x4c8395(0xb7)==_0x12c5dc||_0x4c8395(0x126)==_0x12c5dc||_0x4c8395(0xc1)==_0x12c5dc||_0x4c8395(0x91)==_0x12c5dc||_0x4c8395(0xab)==_0x12c5dc||_0x4c8395(0x10f)==_0x12c5dc||_0x4c8395(0xf3)==_0x12c5dc||_0x4c8395(0xf5)==_0x12c5dc){delete _0x3c4bff[_0x747ffc],_0x1909cf=_0x12c5dc,clearInterval(this[_0x4c8395(0x122)]),this[_0x4c8395(0x122)]=void 0x0;break;}}_0x4c8395(0xb7)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0xdb)),_0x4c8395(0x126)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0x12d)),_0x4c8395(0xc1)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0xb6)),_0x4c8395(0x91)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0xde),_0x4c8395(0xe9)),_0x4c8395(0xab)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0x99)),_0x4c8395(0x10f)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0x121)),_0x4c8395(0xf3)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0xb0)),_0x4c8395(0xf5)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0x92));},0x3e8);}[_0x383d3b(0x12c)](){const _0x3c2b6c=_0x383d3b;super[_0x3c2b6c(0x12c)](),this[_0x3c2b6c(0x122)]&&clearInterval(this[_0x3c2b6c(0x122)]);}[_0x383d3b(0x88)](_0x1783ac='',_0x1afa1b='',_0xe6ad96=_0x383d3b(0xfa)){const _0x3785a2=_0x383d3b,_0x12b86f=this[_0x3785a2(0x102)],_0x3341da=_0x12b86f[_0x3785a2(0x8a)][_0x3785a2(0xa4)],_0x48f1a9=_0x12b86f[_0x3785a2(0xd9)][_0x3785a2(0xe4)](_0x3643f4),_0x382c46=_0x12b86f[_0x3785a2(0xd9)][_0x3785a2(0xe4)](_0x54e25d);_0x48f1a9[_0x3785a2(0xe7)]();const _0x4d563f=new j(),_0x1e03b1=new ClipboardEvent(_0x3785a2(0xbb),{'clipboardData':_0x4d563f}),_0x2d2037=new _0x19a995(_0x4d563f),_0x18e967=new _0x3f635b(_0x3341da,_0x1e03b1,{'dataTransfer':_0x2d2037});_0x382c46[_0x3785a2(0x94)](_0x3785a2(0xec),()=>{const _0x46c73e=_0x3785a2;_0x3341da[_0x46c73e(0x127)][_0x46c73e(0x106)](_0x46c73e(0xbb),_0x18e967);}),this[_0x3785a2(0xb4)]||(this[_0x3785a2(0xf1)](),this[_0x3785a2(0xa0)]=new _0x3ce08f(_0x12b86f,this[_0x3785a2(0xe6)][_0x3785a2(0xb8)],this[_0x3785a2(0xb4)]));let _0x3c6fed=_0x2d2037[_0x3785a2(0x87)](_0x3785a2(0xd6));const _0x2abe67=_0x12b86f[_0x3785a2(0x129)][_0x3785a2(0x127)][_0x3785a2(0xca)],_0x56d9bb=Array[_0x3785a2(0xbc)](_0x2abe67[_0x3785a2(0xe0)]());0x1===_0x56d9bb[_0x3785a2(0x105)]&&_0x56d9bb[0x0][_0x3785a2(0xe5)]&&!_0x2abe67[_0x3785a2(0xed)]()&&''!==_0x3c6fed[_0x3785a2(0xfe)](/&nbsp;/g,'')[_0x3785a2(0xd4)]()&&(_0x3c6fed=_0x3785a2(0x11e)+_0x3c6fed+_0x3785a2(0x114)),this[_0x3785a2(0xa0)][_0x3785a2(0xda)]({'actionId':_0xe6ad96,'query':_0x1783ac,'htmlContent':_0x3c6fed,'label':_0x1afa1b,'mainActionLabel':_0xe2661f[_0x12b86f[_0x3785a2(0x129)][_0x3785a2(0x127)][_0x3785a2(0xca)][_0x3785a2(0x12a)]?_0x3785a2(0x9f):_0x3785a2(0xe8)]}),_0x3785a2(0x101)!==this[_0x3785a2(0xdd)]['id']?this[_0x3785a2(0xdd)][_0x3785a2(0xa6)]({'id':_0x3785a2(0x101),'icon':_0x48f080[_0x3785a2(0xdf)],'title':_0x240ae9(this[_0x3785a2(0x102)][_0x3785a2(0x7f)],_0x3785a2(0xc7)),'content':this[_0x3785a2(0xb4)],'position':_0x4250e2[_0x3785a2(0x7c)],'onShow':()=>{const _0x586123=_0x3785a2;this[_0x586123(0xb4)][_0x586123(0xad)]();},'onHide':()=>{const _0x2138b2=_0x3785a2;this[_0x2138b2(0xa0)][_0x2138b2(0x103)](),_0x48f1a9[_0x2138b2(0xa7)]();}}):this[_0x3785a2(0xdd)][_0x3785a2(0xa4)][_0x3785a2(0x82)]||this[_0x3785a2(0xdd)][_0x3785a2(0xa4)][_0x3785a2(0x128)]();}[_0x383d3b(0x9e)](){const _0x52d1be=_0x383d3b;this[_0x52d1be(0xdd)][_0x52d1be(0xd2)]();}[_0x383d3b(0xb1)](){const _0x40adc0=_0x383d3b,_0xb341cf=new Map(),_0x384604=_0x331507(this[_0x40adc0(0x102)][_0x40adc0(0x8e)][_0x40adc0(0xe4)](_0x40adc0(0x8f)),this[_0x40adc0(0x102)][_0x40adc0(0x7f)]);for(const _0x5d7444 of _0x384604)for(const _0x3df99f of _0x5d7444[_0x40adc0(0x112)])_0xb341cf[_0x40adc0(0x10a)](_0x3df99f['id'],{..._0x3df99f,'groupId':_0x5d7444[_0x40adc0(0xa1)],'groupLabel':_0x5d7444[_0x40adc0(0xcc)]||_0x5d7444[_0x40adc0(0xa1)]});return _0xb341cf;}[_0x383d3b(0x9d)](_0xbe3282){const _0x183a3f=_0x383d3b,_0x199dc2=this[_0x183a3f(0x102)],_0x5d9be6=_0x199dc2[_0x183a3f(0x112)][_0x183a3f(0xe4)](_0x183a3f(0x120)),_0x48d525=new _0xbe3282(_0x199dc2[_0x183a3f(0x7f)]);return _0x48d525[_0x183a3f(0x10a)]({'label':_0x240ae9(_0x199dc2[_0x183a3f(0x7f)],_0x183a3f(0xc7)),'icon':_0x48f080[_0x183a3f(0xdf)],'isToggleable':!0x0}),_0x48d525[_0x183a3f(0xc0)](_0x183a3f(0x86))['to'](_0x5d9be6),_0x48d525[_0x183a3f(0xc0)](_0x183a3f(0x12e))['to'](this[_0x183a3f(0xdd)],'id',_0x2bb579=>_0x183a3f(0x101)===_0x2bb579),this[_0x183a3f(0xb2)](_0x48d525,_0x183a3f(0x97),()=>{const _0x157e59=_0x183a3f;_0x48d525[_0x157e59(0x12e)]?this[_0x157e59(0x9e)]():_0x5d9be6[_0x157e59(0x97)]();}),_0x48d525;}[_0x383d3b(0xf1)](){const _0x568063=_0x383d3b,_0x53e854=this[_0x568063(0x102)][_0x568063(0xd9)][_0x568063(0xe4)](_0x3643f4);this[_0x568063(0xb4)]=new _0xf962f1(this[_0x568063(0x102)][_0x568063(0x7f)],this[_0x568063(0xb5)],this[_0x568063(0x102)][_0x568063(0x8e)][_0x568063(0xe4)](_0x568063(0xd0))),this[_0x568063(0xb4)]['on'](_0x568063(0xb9),()=>{const _0x2ba173=_0x568063;this[_0x2ba173(0xdd)][_0x2ba173(0xa4)][_0x2ba173(0x82)]||this[_0x2ba173(0xdd)][_0x2ba173(0xa4)][_0x2ba173(0x128)]();}),this[_0x568063(0xb4)][_0x568063(0xac)][_0x568063(0x117)][_0x568063(0x95)]['on'](_0x568063(0x8c),()=>{const _0x14fa7e=_0x568063;this[_0x14fa7e(0xdd)][_0x14fa7e(0xa4)][_0x14fa7e(0x82)]||this[_0x14fa7e(0xdd)][_0x14fa7e(0xa4)][_0x14fa7e(0x128)]();}),this[_0x568063(0xb2)](this[_0x568063(0xb4)],_0x568063(0xbd),()=>{const _0x3bfdb3=_0x568063;_0x53e854[_0x3bfdb3(0xea)](this[_0x3bfdb3(0xa0)][_0x3bfdb3(0x104)]),this[_0x3bfdb3(0x9e)]();}),this[_0x568063(0xb2)](this[_0x568063(0xb4)],_0x568063(0x80),()=>{const _0x46be9a=_0x568063;_0x53e854[_0x46be9a(0x80)](this[_0x46be9a(0xa0)][_0x46be9a(0x104)]),this[_0x46be9a(0x9e)]();}),this[_0x568063(0xf9)]();}[_0x383d3b(0xf9)](){const _0x32ff62=_0x383d3b,{locale:_0x5a2c29,ui:{ariaLiveAnnouncer:_0x562094}}=this[_0x32ff62(0x102)];this[_0x32ff62(0xb4)][_0x32ff62(0x93)]['on'](_0x32ff62(0xd3),(_0x5238a8,_0x2258be,_0x26a657)=>{const _0x56875b=_0x32ff62,_0x246622=this[_0x56875b(0xa0)][_0x56875b(0x104)];_0x26a657?_0x562094[_0x56875b(0x10b)](_0x240ae9(_0x5a2c29,_0x56875b(0xc5))):_0x246622&&_0x562094[_0x56875b(0x10b)](_0x240ae9(_0x5a2c29,_0x56875b(0xfc),_0x246622),{'politeness':_0x56875b(0xcd),'isUnsafeHTML':!0x0});}),this[_0x32ff62(0xb4)]['on'](_0x32ff62(0xa5),(_0x4b35c6,_0x195038,_0x5b568c)=>{const _0x184884=_0x32ff62;if(_0x5b568c){const _0x4c6af2=this[_0x184884(0xb4)][_0x184884(0xc4)][_0x184884(0x89)];_0x562094[_0x184884(0x10b)](_0x240ae9(_0x5a2c29,_0x184884(0x124),_0x4c6af2));}});}[_0x383d3b(0xf6)](_0x3fc0f6){const _0x59e776=_0x383d3b,_0x506e3c=this[_0x59e776(0x111)][_0x59e776(0xe4)](_0x3fc0f6),_0x32db0f=this[_0x59e776(0x102)],_0x33ab4a=_0x32db0f[_0x59e776(0x129)][_0x59e776(0x127)][_0x59e776(0xca)],_0x581cb2=_0x32db0f[_0x59e776(0x112)][_0x59e776(0xe4)](_0x59e776(0x120)),_0x512688=_0x32db0f[_0x59e776(0xd9)][_0x59e776(0xe4)](_0x3643f4),_0x418bec=''+(_0x506e3c[_0x59e776(0xa1)]!==_0x11204e?_0x506e3c[_0x59e776(0xcc)]+':\x20':'')+_0x506e3c[_0x59e776(0x11c)];if(!0x1!==_0x506e3c[_0x59e776(0x8b)]&&_0x33ab4a[_0x59e776(0x12a)]){const _0x4a6e8b=_0x3bb70c(_0x33ab4a[_0x59e776(0xaf)]())||_0x32db0f[_0x59e776(0x129)][_0x59e776(0x107)][_0x59e776(0x81)](_0x33ab4a);_0x32db0f[_0x59e776(0x129)][_0x59e776(0x84)](_0x83b96b=>{const _0x22e4c9=_0x59e776;_0x83b96b[_0x22e4c9(0x10c)](_0x4a6e8b,'in');});}_0x512688[_0x59e776(0xe7)](),_0x581cb2[_0x59e776(0x97)](_0x506e3c[_0x59e776(0x110)],_0x418bec,_0x59e776(0xc8)+_0x3fc0f6);}[_0x383d3b(0xd5)](_0x247d74,_0x248e28,_0x48ccf9,_0x53a6e5){const _0x36f354=_0x383d3b,_0x475038=this[_0x36f354(0x102)],_0x59d58f=_0x475038[_0x36f354(0x7f)],_0x384ac1=new _0x4749f8(_0x59d58f),_0x525013=B(_0x475038,_0x48ccf9)[_0x36f354(0xa2)](_0x3aca07=>_0x3aca07[_0x36f354(0x112)][_0x36f354(0x105)]);0x1===_0x525013[_0x36f354(0x105)]?this[_0x36f354(0x119)]({'command':_0x247d74,'commands':_0x525013[0x0][_0x36f354(0x112)],'parentMenuView':_0x248e28,'onExecute':_0x53a6e5})[_0x36f354(0xcf)](_0x284fb8=>_0x384ac1[_0x36f354(0x11a)][_0x36f354(0xce)](_0x284fb8)):_0x525013[_0x36f354(0xcf)](({groupId:_0x1afdf2,groupLabel:_0x3ecbf8,commands:_0x337c21})=>{const _0x335b03=_0x36f354,_0x3ecc37=new _0xd89848(_0x59d58f,_0x248e28),_0x35e1bc=new _0x21beae(_0x59d58f),_0x719070=new _0x4749f8(_0x59d58f),_0x27d3e3=this[_0x335b03(0x119)]({'command':_0x247d74,'commands':_0x337c21,'parentMenuView':_0x35e1bc,'onExecute':_0x53a6e5});_0x35e1bc[_0x335b03(0x7e)][_0x335b03(0x10a)]({'label':_0x3ecbf8||_0x1afdf2}),_0x35e1bc[_0x335b03(0xdc)](_0x335b03(0x97))['to'](_0x248e28),_0x719070[_0x335b03(0x11a)][_0x335b03(0xe2)](_0x27d3e3),_0x35e1bc[_0x335b03(0x12f)][_0x335b03(0xef)][_0x335b03(0xce)](_0x719070),_0x3ecc37[_0x335b03(0xef)][_0x335b03(0xce)](_0x35e1bc),_0x384ac1[_0x335b03(0x11a)][_0x335b03(0xce)](_0x3ecc37);}),_0x248e28[_0x36f354(0x12f)][_0x36f354(0xef)][_0x36f354(0xce)](_0x384ac1);}[_0x383d3b(0x119)]({command:_0x299b6b,commands:_0x39a46f,parentMenuView:_0x5f0866,onExecute:_0x52aaf9}){const _0x4c5d0e=_0x383d3b,_0x50681d=this[_0x4c5d0e(0x102)],_0x468dbf=_0x50681d[_0x4c5d0e(0x7f)];return B(_0x50681d,_0x39a46f)[_0x4c5d0e(0x11f)](_0x33949a=>{const _0xd59b04=_0x4c5d0e,_0x8f7d43=new _0xd89848(_0x468dbf,_0x5f0866),_0x5f1a17=new _0x5724c5(_0x468dbf);return _0x5f1a17[_0xd59b04(0x10a)]({'label':_0x33949a[_0xd59b04(0x11c)]}),_0x5f1a17[_0xd59b04(0xdc)](_0xd59b04(0x97))['to'](_0x5f0866),_0x5f1a17['on'](_0xd59b04(0x97),()=>_0x52aaf9(_0x33949a['id'])),_0x5f1a17[_0xd59b04(0xc0)](_0xd59b04(0x86))['to'](_0x299b6b,_0xd59b04(0xbf),_0x296d1a=>_0x296d1a[_0xd59b04(0xfb)](_0x33949a['id'])),_0x8f7d43[_0xd59b04(0xef)][_0xd59b04(0xce)](_0x5f1a17),_0x8f7d43;});}}function _(_0x20c731,_0x4cc1de){const _0x62569c=_0x383d3b;return void 0x0!==_0x20c731[_0x62569c(0x100)]&&void 0x0===_0x4cc1de[_0x62569c(0x100)]?0x1:void 0x0===_0x20c731[_0x62569c(0x100)]&&void 0x0!==_0x4cc1de[_0x62569c(0x100)]?-0x1:void 0x0!==_0x20c731[_0x62569c(0x100)]&&void 0x0!==_0x4cc1de[_0x62569c(0x100)]?_0x20c731[_0x62569c(0x100)]-_0x4cc1de[_0x62569c(0x100)]:0x0;}function B(_0x21eb1a,_0x3ee53e){const _0x232533=_0x383d3b;_0x3ee53e[_0x232533(0xf7)](_);const _0x1bcc2d={},_0x19dc7d=[];for(const _0x322929 of _0x3ee53e)if(void 0x0!==_0x322929[_0x232533(0x100)]){if(_0x322929[_0x232533(0x100)]in _0x1bcc2d)throw new _0x30071d(_0x232533(0x123),_0x21eb1a,{'conflictingDefinitions':[_0x322929,_0x1bcc2d[_0x322929[_0x232533(0x100)]]]});_0x1bcc2d[_0x322929[_0x232533(0x100)]]=_0x322929,_0x19dc7d[_0x232533(0xeb)](_0x322929[_0x232533(0x100)],0x0,_0x322929);}else _0x19dc7d[_0x232533(0xcb)](_0x322929);return _0x19dc7d;}
23
+ const _0x1cca25=_0x1f7a;(function(_0x29e6c1,_0x70acf0){const _0xc54f02=_0x1f7a,_0x2f3479=_0x29e6c1();while(!![]){try{const _0x247bc2=parseInt(_0xc54f02(0x152))/0x1+parseInt(_0xc54f02(0xfa))/0x2+parseInt(_0xc54f02(0x166))/0x3+parseInt(_0xc54f02(0xd3))/0x4+parseInt(_0xc54f02(0x106))/0x5+parseInt(_0xc54f02(0x10d))/0x6*(-parseInt(_0xc54f02(0x108))/0x7)+-parseInt(_0xc54f02(0x147))/0x8*(parseInt(_0xc54f02(0x15f))/0x9);if(_0x247bc2===_0x70acf0)break;else _0x2f3479['push'](_0x2f3479['shift']());}catch(_0x209b70){_0x2f3479['push'](_0x2f3479['shift']());}}}(_0x5d9a,0x33162));import{Plugin as _0x1fc734}from'ckeditor5/src/core.js';import{first as _0x41c662,CKEditorError as _0x252d75}from'ckeditor5/src/utils.js';import{createDropdown as _0x1a1541,addMenuToDropdown as _0x3351e1,ButtonView as _0x28e560,MenuBarMenuListItemButtonView as _0x4da10a,Dialog as _0x91b924,DialogViewPosition as _0x146ac0,MenuBarMenuView as _0x2172e8,MenuBarMenuListView as _0x1e3d0c,MenuBarMenuListItemView as _0x32d0b8}from'ckeditor5/src/ui.js';import{icons as _0x60fd85}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x311eea,UNGROUPED_COMMANDS_GROUP_ID as _0x87c976}from'./utils/normalizecommandsconfig.js';import _0x21828f from'./aiassistantediting.js';import _0x11efce from'./adapters/aiadapter.js';function _0x5d9a(){const _0x41e116=['developmentLimit','_aiAdapter','plugins','AI\x20Assistant','change:enabledCommandsIds','isFlat','tableOfContents','source','usageLimit','<p>','expired','delegate','licenseKey','aiLicenseKeyNotAllowed','722054ElnNYi','_licenseKeyCheckInterval','splice','aiAssistant','get','model','schema','evaluationLimit','config','pluginName','aiLicenseKeyUsageLimit','menuView','1338670zSXtid','updateView','125566THkvEe','panelView','command:','_initAriaAiStatusChangeAnnouncements','aiLicenseKeyDomainLimit','18RUdhSe','isOn','_aiAssistantController','_forceMarkersCopy','buttonView','getData','_initView','hideFakeVisualSelection','items','add','bind','requiresContent','isOfficialPlugin','getRanges','robotPencil','init','aiLicenseKeyInvalid','commands','editor','replace','change','map','ck-ai-assistant-button\x20','update','setSelection','once','reset','announce','execute','aiLicenseKeyExpired','updatePosition','getSelectedElement','trim','aiLicenseKeyValid','AIAssistant','change:isError','_uiCssClasses','listenTo','componentFactory','aiLicenseKeyTrialLimit','includes','aiLicenseKeyDevelopmentLimit','_populateMenuBarMenu','menuBar:aiCommands','view','ck-ai-commands-dropdown\x20','replaceContent','buttons','aiLicenseKeyEvaluationLimit','_onExecute','children','text','polite','_createAIAssistantUIButton','ai.aiAssistant.commands','selection','hideUI','change:value','186512JpzNnK','promptView','Generated\x20content:\x20%0','render','AI\x20is\x20writing','body','isCollapsed','ai.aiAssistant.contentAreaCssClass','sort','menuPanelClass','currentContext','359389CjRVWU','length','_commandDefinitions','text/html','label','contentArea','focus','isEnabled','showAIAssistant','isPremiumPlugin','menuitemcheckbox','EDITOR_TOP_SIDE','wasMoved','441FDHoIu','destroy','custom','show','addMany','_dialog','showFakeVisualSelection','1026831DXsBBx','getLimitElement','fieldView','menuBar:aiAssistant','ai.useTheme','getSelectedBlocks','aiCommands','</p>','\x20ck-ai-assistant-ui_theme','AI\x20Commands','featureNotAllowed','showUI','locale','ai.aiAssistant.disabledElements','editing','requires','set','rawHtml','_getMenuBarGroupButtons','groupId','_showLicenseError','fire','groupLabel','AIAssistantUI','enabledCommandsIds','Error\x20during\x20AI\x20content\x20generation:\x20%0','textAdapter','ai-commands-config-order-collision','forEach','queryView','comment','300092FQjfjM','document','change:isProcessing','copy','INSERT','prompt','values','errorView','push','REPLACE','ck-ai-assistant-ui','order','trialLimit','DataTransfer','filter','_getResolvedCommandsDefinitions','_formView','domainLimit','from','insertContent','insertContentBelow','invalid','hide','define','media'];_0x5d9a=function(){return _0x41e116;};return _0x5d9a();}import{getTranslation as _0x19c2a6}from'./utils/common-translations.js';import _0x60c90c from'./ui/showaiassistantcommand.js';import _0x177d52 from'./ui/aiassistantcontroller.js';import _0x406ca2 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x37d494}from'./ui/form/aiformtoolbarview.js';import _0x261a71 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x1cca25(0xe0)];import{ClipboardMarkersUtils as _0x335ed7}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x267c5a,DataTransfer as _0x1e35fd}from'ckeditor5/src/engine.js';export default class n extends _0x1fc734{static get[_0x1cca25(0x103)](){const _0x41c429=_0x1cca25;return _0x41c429(0xcb);}static get[_0x1cca25(0x119)](){return!0x0;}static get[_0x1cca25(0x15b)](){return!0x0;}static get[_0x1cca25(0xc3)](){return[_0x335ed7,_0x21828f,_0x11efce,_0x91b924];}constructor(_0x5ce44f){const _0x55b6e1=_0x1cca25;super(_0x5ce44f),this[_0x55b6e1(0x131)]='',_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xea)](_0x55b6e1(0xc1),[_0x55b6e1(0xeb),_0x55b6e1(0xc5),_0x55b6e1(0xf2)]),_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xea)](_0x55b6e1(0x14e),''),_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xea)](_0x55b6e1(0x16a),!0x0),this[_0x55b6e1(0x131)]=_0x55b6e1(0xdd)+(_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xfe)](_0x55b6e1(0x16a))?_0x55b6e1(0xbc):'');}[_0x1cca25(0x11c)](){const _0x290192=_0x1cca25,{editor:_0x137481}=this;this[_0x290192(0xed)]=_0x137481[_0x290192(0xee)][_0x290192(0xfe)](_0x11efce),this[_0x290192(0x164)]=_0x137481[_0x290192(0xee)][_0x290192(0xfe)](_0x91b924),this[_0x290192(0xe3)]=null,this[_0x290192(0x154)]=this[_0x290192(0xe2)]();const _0x2eebc8=new _0x60c90c(_0x137481,Array[_0x290192(0xe5)](this[_0x290192(0x154)][_0x290192(0xd9)]()));_0x137481[_0x290192(0x11e)][_0x290192(0x116)](_0x290192(0x15a),_0x2eebc8),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0xba),_0x2c58ef=>{const _0x30b797=_0x290192,_0x2eeb43=_0x1a1541(_0x2c58ef);return _0x2eeb43[_0x30b797(0xc4)]({'class':_0x30b797(0x13a)+this[_0x30b797(0x131)]}),_0x2eeb43[_0x30b797(0x111)][_0x30b797(0xc4)]({'label':_0x19c2a6(_0x2c58ef,_0x30b797(0xbd)),'icon':_0x261a71,'tooltip':!0x0}),_0x2eeb43['on'](_0x30b797(0x129),_0xc17bbf=>this[_0x30b797(0x13e)](_0xc17bbf[_0x30b797(0xf3)]['id'])),_0x3351e1(_0x2eeb43,_0x137481['ui'][_0x30b797(0x139)][_0x30b797(0x14c)],function(_0x20f0af){const _0x4e26b4=_0x30b797,_0x1fc917=_0x311eea(_0x20f0af[_0x4e26b4(0x102)][_0x4e26b4(0xfe)](_0x4e26b4(0x143)),_0x20f0af[_0x4e26b4(0xc0)]),_0x5321bf=B(_0x20f0af,_0x1fc917)[_0x4e26b4(0xe1)](_0x58ca4e=>_0x58ca4e[_0x4e26b4(0x11e)][_0x4e26b4(0x153)]);if(0x1===_0x5321bf[_0x4e26b4(0x153)])return B(_0x20f0af,_0x5321bf[0x0][_0x4e26b4(0x11e)])[_0x4e26b4(0x122)](_0x3172c4=>({'id':_0x3172c4['id'],'label':_0x3172c4[_0x4e26b4(0x156)]}));return _0x5321bf[_0x4e26b4(0x122)](_0x501f1a=>{const _0x5321d0=_0x4e26b4,{groupId:_0xb0ebea,groupLabel:_0x461910,commands:_0x39646a}=_0x501f1a,_0x3e3670=B(_0x20f0af,_0x39646a)[_0x5321d0(0x122)](_0x4e2d5e=>({'id':_0x4e2d5e['id'],'label':_0x4e2d5e[_0x5321d0(0x156)]}));return{'id':_0xb0ebea,'menu':_0x461910||_0xb0ebea,'children':_0x3e3670};});}(_0x137481),{'ariaLabel':_0x19c2a6(_0x2c58ef,_0x30b797(0xbd))}),_0x2eeb43[_0x30b797(0x105)][_0x30b797(0x150)]=_0x30b797(0x13a)+this[_0x30b797(0x131)],_0x2eebc8['on'](_0x30b797(0xf0),_0x23d8a8),_0x2eeb43[_0x30b797(0x105)][_0x30b797(0x126)](_0x30b797(0x14a),_0x23d8a8),_0x2eeb43;function _0x23d8a8(){const _0x440988=_0x30b797;_0x2eeb43[_0x440988(0x159)]=_0x2eebc8[_0x440988(0xcc)][_0x440988(0x153)]>0x0;for(const _0x36433b of _0x2eeb43[_0x440988(0x105)][_0x440988(0x13c)])_0x36433b[_0x440988(0x159)]=_0x2eebc8[_0x440988(0xcc)][_0x440988(0x135)](_0x36433b['id']);}}),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0x138),_0x5aee28=>{const _0x41acd8=_0x290192,_0x4151c1=new _0x2172e8(_0x5aee28);_0x4151c1[_0x41acd8(0x111)][_0x41acd8(0xc4)]({'label':_0x19c2a6(_0x5aee28,_0x41acd8(0xbd)),'icon':_0x261a71}),_0x4151c1[_0x41acd8(0x117)](_0x41acd8(0x159))['to'](_0x2eebc8,_0x41acd8(0xcc),_0xafa074=>_0xafa074[_0x41acd8(0x153)]>0x0);const _0x354b1a=_0x311eea(_0x137481[_0x41acd8(0x102)][_0x41acd8(0xfe)](_0x41acd8(0x143)),_0x5aee28);return this[_0x41acd8(0x137)](_0x2eebc8,_0x4151c1,_0x354b1a,_0x357c9b=>this[_0x41acd8(0x13e)](_0x357c9b)),_0x4151c1;}),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0xfd),()=>{const _0x4b8dfe=_0x290192,_0xdb9521=this[_0x4b8dfe(0x142)](_0x28e560);return _0xdb9521[_0x4b8dfe(0xc4)]({'tooltip':!0x0,'class':_0x4b8dfe(0x123)+this[_0x4b8dfe(0x131)]}),_0xdb9521;}),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0x169),()=>{const _0x2f3971=_0x290192,_0x5b4f5b=this[_0x2f3971(0x142)](_0x4da10a);return _0x5b4f5b[_0x2f3971(0xc4)]({'role':_0x2f3971(0x15c)}),_0x5b4f5b;}),this[_0x290192(0xf8)]=this[_0x290192(0x11f)][_0x290192(0x102)][_0x290192(0xfe)](_0x290192(0xf8));const _0x16cd85=this[_0x290192(0x11f)];this[_0x290192(0xfb)]=setInterval(()=>{const _0x1b8a2e=_0x290192;let _0x18f716;for(const _0xc302e3 in _0x16cd85){const _0x37d633=_0xc302e3,_0x33e4e2=_0x16cd85[_0x37d633];if(_0x1b8a2e(0x12e)==_0x33e4e2||_0x1b8a2e(0x11d)==_0x33e4e2||_0x1b8a2e(0x12a)==_0x33e4e2||_0x1b8a2e(0x10c)==_0x33e4e2||_0x1b8a2e(0xf9)==_0x33e4e2||_0x1b8a2e(0x13d)==_0x33e4e2||_0x1b8a2e(0x134)==_0x33e4e2||_0x1b8a2e(0x136)==_0x33e4e2||_0x1b8a2e(0x104)==_0x33e4e2){delete _0x16cd85[_0x37d633],_0x18f716=_0x33e4e2,clearInterval(this[_0x1b8a2e(0xfb)]),this[_0x1b8a2e(0xfb)]=void 0x0;break;}}_0x1b8a2e(0x11d)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xe8)),_0x1b8a2e(0x12a)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xf6)),_0x1b8a2e(0x10c)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xe4)),_0x1b8a2e(0xf9)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xbe),_0x1b8a2e(0x12f)),_0x1b8a2e(0x13d)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0x101)),_0x1b8a2e(0x134)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xdf)),_0x1b8a2e(0x136)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xec)),_0x1b8a2e(0x104)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xf4));},0x3e8);}[_0x1cca25(0x160)](){const _0x17fcd4=_0x1cca25;super[_0x17fcd4(0x160)](),this[_0x17fcd4(0xfb)]&&clearInterval(this[_0x17fcd4(0xfb)]);}[_0x1cca25(0xbf)](_0x23b12f='',_0x48db0e='',_0x4d72a3=_0x1cca25(0x161)){const _0x3523dd=_0x1cca25,_0x1f1940=this[_0x3523dd(0x11f)],_0x5234d0=_0x1f1940[_0x3523dd(0xc2)][_0x3523dd(0x139)],_0xc8fcb=_0x1f1940[_0x3523dd(0xee)][_0x3523dd(0xfe)](_0x21828f),_0x2a9a42=_0x1f1940[_0x3523dd(0xee)][_0x3523dd(0xfe)](_0x335ed7);_0xc8fcb[_0x3523dd(0x165)]();const _0x39c2d9=new j(),_0xf2c9d0=new ClipboardEvent(_0x3523dd(0xd6),{'clipboardData':_0x39c2d9}),_0x1a45b2=new _0x1e35fd(_0x39c2d9),_0x31eef3=new _0x267c5a(_0x5234d0,_0xf2c9d0,{'dataTransfer':_0x1a45b2});_0x2a9a42[_0x3523dd(0x110)](_0x3523dd(0xd2),()=>{const _0x3e1a86=_0x3523dd;_0x5234d0[_0x3e1a86(0xd4)][_0x3e1a86(0xc9)](_0x3e1a86(0xd6),_0x31eef3);}),this[_0x3523dd(0xe3)]||(this[_0x3523dd(0x113)](),this[_0x3523dd(0x10f)]=new _0x177d52(_0x1f1940,this[_0x3523dd(0xed)][_0x3523dd(0xce)],this[_0x3523dd(0xe3)]));let _0x480fd9=_0x1a45b2[_0x3523dd(0x112)](_0x3523dd(0x155));const _0x3a7e7a=_0x1f1940[_0x3523dd(0xff)][_0x3523dd(0xd4)][_0x3523dd(0x144)],_0x224ebd=Array[_0x3523dd(0xe5)](_0x3a7e7a[_0x3523dd(0x11a)]());0x1===_0x224ebd[_0x3523dd(0x153)]&&_0x224ebd[0x0][_0x3523dd(0xf1)]&&!_0x3a7e7a[_0x3523dd(0x12c)]()&&''!==_0x480fd9[_0x3523dd(0x120)](/&nbsp;/g,'')[_0x3523dd(0x12d)]()&&(_0x480fd9=_0x3523dd(0xf5)+_0x480fd9+_0x3523dd(0xbb)),this[_0x3523dd(0x10f)][_0x3523dd(0x107)]({'actionId':_0x4d72a3,'query':_0x23b12f,'htmlContent':_0x480fd9,'label':_0x48db0e,'mainActionLabel':_0x37d494[_0x1f1940[_0x3523dd(0xff)][_0x3523dd(0xd4)][_0x3523dd(0x144)][_0x3523dd(0x14d)]?_0x3523dd(0xd7):_0x3523dd(0xdc)]}),_0x3523dd(0xfd)!==this[_0x3523dd(0x164)]['id']?this[_0x3523dd(0x164)][_0x3523dd(0x162)]({'id':_0x3523dd(0xfd),'icon':_0x60fd85[_0x3523dd(0x11b)],'title':_0x19c2a6(this[_0x3523dd(0x11f)][_0x3523dd(0xc0)],_0x3523dd(0xef)),'content':this[_0x3523dd(0xe3)],'position':_0x146ac0[_0x3523dd(0x15d)],'onShow':()=>{const _0x4ab126=_0x3523dd;this[_0x4ab126(0xe3)][_0x4ab126(0x158)]();},'onHide':()=>{const _0x33c97a=_0x3523dd;this[_0x33c97a(0x10f)][_0x33c97a(0x127)](),_0xc8fcb[_0x33c97a(0x114)]();}}):this[_0x3523dd(0x164)][_0x3523dd(0x139)][_0x3523dd(0x15e)]||this[_0x3523dd(0x164)][_0x3523dd(0x139)][_0x3523dd(0x12b)]();}[_0x1cca25(0x145)](){const _0x1a50b7=_0x1cca25;this[_0x1a50b7(0x164)][_0x1a50b7(0xe9)]();}[_0x1cca25(0xe2)](){const _0x54ab89=_0x1cca25,_0x2edbdb=new Map(),_0x3c5701=_0x311eea(this[_0x54ab89(0x11f)][_0x54ab89(0x102)][_0x54ab89(0xfe)](_0x54ab89(0x143)),this[_0x54ab89(0x11f)][_0x54ab89(0xc0)]);for(const _0xe0d367 of _0x3c5701)for(const _0x5e6487 of _0xe0d367[_0x54ab89(0x11e)])_0x2edbdb[_0x54ab89(0xc4)](_0x5e6487['id'],{..._0x5e6487,'groupId':_0xe0d367[_0x54ab89(0xc7)],'groupLabel':_0xe0d367[_0x54ab89(0xca)]||_0xe0d367[_0x54ab89(0xc7)]});return _0x2edbdb;}[_0x1cca25(0x142)](_0x5587f5){const _0x80cfba=_0x1cca25,_0x5985e2=this[_0x80cfba(0x11f)],_0x13d9a9=_0x5985e2[_0x80cfba(0x11e)][_0x80cfba(0xfe)](_0x80cfba(0x15a)),_0x14c4ed=new _0x5587f5(_0x5985e2[_0x80cfba(0xc0)]);return _0x14c4ed[_0x80cfba(0xc4)]({'label':_0x19c2a6(_0x5985e2[_0x80cfba(0xc0)],_0x80cfba(0xef)),'icon':_0x60fd85[_0x80cfba(0x11b)],'isToggleable':!0x0}),_0x14c4ed[_0x80cfba(0x117)](_0x80cfba(0x159))['to'](_0x13d9a9),_0x14c4ed[_0x80cfba(0x117)](_0x80cfba(0x10e))['to'](this[_0x80cfba(0x164)],'id',_0xc91704=>_0x80cfba(0xfd)===_0xc91704),this[_0x80cfba(0x132)](_0x14c4ed,_0x80cfba(0x129),()=>{const _0xd23585=_0x80cfba;_0x14c4ed[_0xd23585(0x10e)]?this[_0xd23585(0x145)]():_0x13d9a9[_0xd23585(0x129)]();}),_0x14c4ed;}[_0x1cca25(0x113)](){const _0x9ead4d=_0x1cca25,_0x1295b3=this[_0x9ead4d(0x11f)][_0x9ead4d(0xee)][_0x9ead4d(0xfe)](_0x21828f);this[_0x9ead4d(0xe3)]=new _0x406ca2(this[_0x9ead4d(0x11f)][_0x9ead4d(0xc0)],this[_0x9ead4d(0x131)],this[_0x9ead4d(0x11f)][_0x9ead4d(0x102)][_0x9ead4d(0xfe)](_0x9ead4d(0x14e))),this[_0x9ead4d(0xe3)]['on'](_0x9ead4d(0x146),()=>{const _0x1ff8a7=_0x9ead4d;this[_0x1ff8a7(0x164)][_0x1ff8a7(0x139)][_0x1ff8a7(0x15e)]||this[_0x1ff8a7(0x164)][_0x1ff8a7(0x139)][_0x1ff8a7(0x12b)]();}),this[_0x9ead4d(0xe3)][_0x9ead4d(0x148)][_0x9ead4d(0xd1)][_0x9ead4d(0x168)]['on'](_0x9ead4d(0x124),()=>{const _0x1bad00=_0x9ead4d;this[_0x1bad00(0x164)][_0x1bad00(0x139)][_0x1bad00(0x15e)]||this[_0x1bad00(0x164)][_0x1bad00(0x139)][_0x1bad00(0x12b)]();}),this[_0x9ead4d(0x132)](this[_0x9ead4d(0xe3)],_0x9ead4d(0x13b),()=>{const _0x348b46=_0x9ead4d;_0x1295b3[_0x348b46(0xe6)](this[_0x348b46(0x10f)][_0x348b46(0x151)]),this[_0x348b46(0x145)]();}),this[_0x9ead4d(0x132)](this[_0x9ead4d(0xe3)],_0x9ead4d(0xe7),()=>{const _0x30266a=_0x9ead4d;_0x1295b3[_0x30266a(0xe7)](this[_0x30266a(0x10f)][_0x30266a(0x151)]),this[_0x30266a(0x145)]();}),this[_0x9ead4d(0x10b)]();}[_0x1cca25(0x10b)](){const _0x1138c8=_0x1cca25,{locale:_0xf5d8f4,ui:{ariaLiveAnnouncer:_0x414520}}=this[_0x1138c8(0x11f)];this[_0x1138c8(0xe3)][_0x1138c8(0x157)]['on'](_0x1138c8(0xd5),(_0xb1a9ba,_0x586ae5,_0x2e7349)=>{const _0x1bde44=_0x1138c8,_0x4251ac=this[_0x1bde44(0x10f)][_0x1bde44(0x151)];_0x2e7349?_0x414520[_0x1bde44(0x128)](_0x19c2a6(_0xf5d8f4,_0x1bde44(0x14b))):_0x4251ac&&_0x414520[_0x1bde44(0x128)](_0x19c2a6(_0xf5d8f4,_0x1bde44(0x149),_0x4251ac),{'politeness':_0x1bde44(0x141),'isUnsafeHTML':!0x0});}),this[_0x1138c8(0xe3)]['on'](_0x1138c8(0x130),(_0x24bfd1,_0x17fc7c,_0x474437)=>{const _0x430e1c=_0x1138c8;if(_0x474437){const _0x30347c=this[_0x430e1c(0xe3)][_0x430e1c(0xda)][_0x430e1c(0x140)];_0x414520[_0x430e1c(0x128)](_0x19c2a6(_0xf5d8f4,_0x430e1c(0xcd),_0x30347c));}});}[_0x1cca25(0x13e)](_0x1bbec3){const _0x5b4efa=_0x1cca25,_0x464df1=this[_0x5b4efa(0x154)][_0x5b4efa(0xfe)](_0x1bbec3),_0xca0763=this[_0x5b4efa(0x11f)],_0x372788=_0xca0763[_0x5b4efa(0xff)][_0x5b4efa(0xd4)][_0x5b4efa(0x144)],_0x282a77=_0xca0763[_0x5b4efa(0x11e)][_0x5b4efa(0xfe)](_0x5b4efa(0x15a)),_0x11be7e=_0xca0763[_0x5b4efa(0xee)][_0x5b4efa(0xfe)](_0x21828f),_0x4ab2e4=''+(_0x464df1[_0x5b4efa(0xc7)]!==_0x87c976?_0x464df1[_0x5b4efa(0xca)]+':\x20':'')+_0x464df1[_0x5b4efa(0x156)];if(!0x1!==_0x464df1[_0x5b4efa(0x118)]&&_0x372788[_0x5b4efa(0x14d)]){const _0x530683=_0x41c662(_0x372788[_0x5b4efa(0x16b)]())||_0xca0763[_0x5b4efa(0xff)][_0x5b4efa(0x100)][_0x5b4efa(0x167)](_0x372788);_0xca0763[_0x5b4efa(0xff)][_0x5b4efa(0x121)](_0x1d9b9d=>{const _0x466528=_0x5b4efa;_0x1d9b9d[_0x466528(0x125)](_0x530683,'in');});}_0x11be7e[_0x5b4efa(0x165)](),_0x282a77[_0x5b4efa(0x129)](_0x464df1[_0x5b4efa(0xd8)],_0x4ab2e4,_0x5b4efa(0x10a)+_0x1bbec3);}[_0x1cca25(0x137)](_0x4c9e20,_0x19f314,_0x5a2059,_0x440207){const _0x51f61c=_0x1cca25,_0x10f947=this[_0x51f61c(0x11f)],_0x31ba21=_0x10f947[_0x51f61c(0xc0)],_0x49d5eb=new _0x1e3d0c(_0x31ba21),_0x55e1ea=B(_0x10f947,_0x5a2059)[_0x51f61c(0xe1)](_0x10b5a4=>_0x10b5a4[_0x51f61c(0x11e)][_0x51f61c(0x153)]);0x1===_0x55e1ea[_0x51f61c(0x153)]?this[_0x51f61c(0xc6)]({'command':_0x4c9e20,'commands':_0x55e1ea[0x0][_0x51f61c(0x11e)],'parentMenuView':_0x19f314,'onExecute':_0x440207})[_0x51f61c(0xd0)](_0xf40f21=>_0x49d5eb[_0x51f61c(0x115)][_0x51f61c(0x116)](_0xf40f21)):_0x55e1ea[_0x51f61c(0xd0)](({groupId:_0x3e4f3d,groupLabel:_0x54aecb,commands:_0x129b20})=>{const _0x5f2de2=_0x51f61c,_0x117d54=new _0x32d0b8(_0x31ba21,_0x19f314),_0xf08e74=new _0x2172e8(_0x31ba21),_0xd6d4cf=new _0x1e3d0c(_0x31ba21),_0x22dd45=this[_0x5f2de2(0xc6)]({'command':_0x4c9e20,'commands':_0x129b20,'parentMenuView':_0xf08e74,'onExecute':_0x440207});_0xf08e74[_0x5f2de2(0x111)][_0x5f2de2(0xc4)]({'label':_0x54aecb||_0x3e4f3d}),_0xf08e74[_0x5f2de2(0xf7)](_0x5f2de2(0x129))['to'](_0x19f314),_0xd6d4cf[_0x5f2de2(0x115)][_0x5f2de2(0x163)](_0x22dd45),_0xf08e74[_0x5f2de2(0x109)][_0x5f2de2(0x13f)][_0x5f2de2(0x116)](_0xd6d4cf),_0x117d54[_0x5f2de2(0x13f)][_0x5f2de2(0x116)](_0xf08e74),_0x49d5eb[_0x5f2de2(0x115)][_0x5f2de2(0x116)](_0x117d54);}),_0x19f314[_0x51f61c(0x109)][_0x51f61c(0x13f)][_0x51f61c(0x116)](_0x49d5eb);}[_0x1cca25(0xc6)]({command:_0xbbcce6,commands:_0x56f2a5,parentMenuView:_0x55dfce,onExecute:_0x3b8b10}){const _0x4e7aa9=_0x1cca25,_0x5e318c=this[_0x4e7aa9(0x11f)],_0x111dac=_0x5e318c[_0x4e7aa9(0xc0)];return B(_0x5e318c,_0x56f2a5)[_0x4e7aa9(0x122)](_0x4418ff=>{const _0x1b811e=_0x4e7aa9,_0x55125d=new _0x32d0b8(_0x111dac,_0x55dfce),_0x312afd=new _0x4da10a(_0x111dac);return _0x312afd[_0x1b811e(0xc4)]({'label':_0x4418ff[_0x1b811e(0x156)]}),_0x312afd[_0x1b811e(0xf7)](_0x1b811e(0x129))['to'](_0x55dfce),_0x312afd['on'](_0x1b811e(0x129),()=>_0x3b8b10(_0x4418ff['id'])),_0x312afd[_0x1b811e(0x117)](_0x1b811e(0x159))['to'](_0xbbcce6,_0x1b811e(0xcc),_0x2c978c=>_0x2c978c[_0x1b811e(0x135)](_0x4418ff['id'])),_0x55125d[_0x1b811e(0x13f)][_0x1b811e(0x116)](_0x312afd),_0x55125d;});}}function _0x1f7a(_0x32fb49,_0x196577){const _0x5d9ac8=_0x5d9a();return _0x1f7a=function(_0x1f7ada,_0x16bc21){_0x1f7ada=_0x1f7ada-0xba;let _0x27b26d=_0x5d9ac8[_0x1f7ada];return _0x27b26d;},_0x1f7a(_0x32fb49,_0x196577);}function _(_0x56a3bd,_0x4dd29e){const _0x384abf=_0x1cca25;return void 0x0!==_0x56a3bd[_0x384abf(0xde)]&&void 0x0===_0x4dd29e[_0x384abf(0xde)]?0x1:void 0x0===_0x56a3bd[_0x384abf(0xde)]&&void 0x0!==_0x4dd29e[_0x384abf(0xde)]?-0x1:void 0x0!==_0x56a3bd[_0x384abf(0xde)]&&void 0x0!==_0x4dd29e[_0x384abf(0xde)]?_0x56a3bd[_0x384abf(0xde)]-_0x4dd29e[_0x384abf(0xde)]:0x0;}function B(_0x223e15,_0x1718a2){const _0x3c89e3=_0x1cca25;_0x1718a2[_0x3c89e3(0x14f)](_);const _0x125b1c={},_0x44efbb=[];for(const _0x3db9b7 of _0x1718a2)if(void 0x0!==_0x3db9b7[_0x3c89e3(0xde)]){if(_0x3db9b7[_0x3c89e3(0xde)]in _0x125b1c)throw new _0x252d75(_0x3c89e3(0xcf),_0x223e15,{'conflictingDefinitions':[_0x3db9b7,_0x125b1c[_0x3db9b7[_0x3c89e3(0xde)]]]});_0x125b1c[_0x3db9b7[_0x3c89e3(0xde)]]=_0x3db9b7,_0x44efbb[_0x3c89e3(0xfc)](_0x3db9b7[_0x3c89e3(0xde)],0x0,_0x3db9b7);}else _0x44efbb[_0x3c89e3(0xdb)](_0x3db9b7);return _0x44efbb;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3aab6a,_0x92facf){var _0x2a0f91=_0x35c8,_0x5dc153=_0x3aab6a();while(!![]){try{var _0x17604e=parseInt(_0x2a0f91(0x1ab))/0x1+parseInt(_0x2a0f91(0x1ae))/0x2+parseInt(_0x2a0f91(0x1aa))/0x3+parseInt(_0x2a0f91(0x1a7))/0x4*(parseInt(_0x2a0f91(0x1ac))/0x5)+parseInt(_0x2a0f91(0x1ad))/0x6+parseInt(_0x2a0f91(0x1a8))/0x7+-parseInt(_0x2a0f91(0x1a9))/0x8;if(_0x17604e===_0x92facf)break;else _0x5dc153['push'](_0x5dc153['shift']());}catch(_0x28409b){_0x5dc153['push'](_0x5dc153['shift']());}}}(_0x3cd4,0x6741c));function _0x35c8(_0x154e1b,_0x1a3494){var _0x3cd471=_0x3cd4();return _0x35c8=function(_0x35c8c9,_0x3b1b28){_0x35c8c9=_0x35c8c9-0x1a7;var _0x1c7d12=_0x3cd471[_0x35c8c9];return _0x1c7d12;},_0x35c8(_0x154e1b,_0x1a3494);}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';function _0x3cd4(){var _0x5d88dd=['1343762DCictK','15241752LfOTqy','331650ttBAOI','674639ojrjmi','1315Cindth','3921864EDyaHw','475798dyssYs','6988SMhiot'];_0x3cd4=function(){return _0x5d88dd;};return _0x3cd4();}export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
23
+ (function(_0x1cca12,_0x35c58a){var _0x405800=_0x4812,_0x1c81d9=_0x1cca12();while(!![]){try{var _0x4e6dda=-parseInt(_0x405800(0x1b5))/0x1*(parseInt(_0x405800(0x1b0))/0x2)+parseInt(_0x405800(0x1b1))/0x3*(-parseInt(_0x405800(0x1b2))/0x4)+parseInt(_0x405800(0x1b3))/0x5+parseInt(_0x405800(0x1af))/0x6+parseInt(_0x405800(0x1ac))/0x7+parseInt(_0x405800(0x1ae))/0x8+-parseInt(_0x405800(0x1b4))/0x9*(-parseInt(_0x405800(0x1ad))/0xa);if(_0x4e6dda===_0x35c58a)break;else _0x1c81d9['push'](_0x1c81d9['shift']());}catch(_0x284b76){_0x1c81d9['push'](_0x1c81d9['shift']());}}}(_0x56ba,0xdca61));function _0x4812(_0x31b162,_0x3476ef){var _0x56bace=_0x56ba();return _0x4812=function(_0x48128a,_0x1bf8d8){_0x48128a=_0x48128a-0x1ac;var _0x410c82=_0x56bace[_0x48128a];return _0x410c82;},_0x4812(_0x31b162,_0x3476ef);}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x56ba(){var _0x36eae7=['5362336DkZIXj','20EUEWKx','9860600oMcVbG','1124376denkUZ','286430Jlpxji','324eBdvsE','62312PGFHZg','7256225QZzhUS','2359359VIwJip','11ZyjswN'];_0x56ba=function(){return _0x36eae7;};return _0x56ba();}export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5286c1,_0x241df8){var _0x48604a=_0x592f,_0x42017e=_0x5286c1();while(!![]){try{var _0x2576db=parseInt(_0x48604a(0x105))/0x1*(parseInt(_0x48604a(0x10c))/0x2)+parseInt(_0x48604a(0x109))/0x3+-parseInt(_0x48604a(0x10d))/0x4*(parseInt(_0x48604a(0x108))/0x5)+parseInt(_0x48604a(0x10a))/0x6*(parseInt(_0x48604a(0x103))/0x7)+parseInt(_0x48604a(0x107))/0x8*(-parseInt(_0x48604a(0x10e))/0x9)+parseInt(_0x48604a(0x10b))/0xa+parseInt(_0x48604a(0x104))/0xb*(-parseInt(_0x48604a(0x106))/0xc);if(_0x2576db===_0x241df8)break;else _0x42017e['push'](_0x42017e['shift']());}catch(_0x13908a){_0x42017e['push'](_0x42017e['shift']());}}}(_0x25bb,0x97356));function _0x592f(_0x791700,_0x45de40){var _0x25bb48=_0x25bb();return _0x592f=function(_0x592fe1,_0x5bb5be){_0x592fe1=_0x592fe1-0x103;var _0x5c1758=_0x25bb48[_0x592fe1];return _0x5c1758;},_0x592f(_0x791700,_0x45de40);}import{CKEditorError as _0x1e3db5}from'ckeditor5/src/utils.js';function _0x25bb(){var _0x1e404e=['2904192mqfeDs','12UVGcOH','7849280LvjifR','1485764bFpWhw','36cmfFlS','9igmhfx','2760639HuzTHG','4279715GYFhTg','1NhPWCh','48kyJAqU','161152epOYad','604930HFxPMY'];_0x25bb=function(){return _0x1e404e;};return _0x25bb();}
23
+ (function(_0x507e91,_0x51f99a){var _0x571e30=_0x3137,_0x14793d=_0x507e91();while(!![]){try{var _0x21ddf5=parseInt(_0x571e30(0x1d3))/0x1+parseInt(_0x571e30(0x1d4))/0x2+parseInt(_0x571e30(0x1d5))/0x3+parseInt(_0x571e30(0x1d7))/0x4+-parseInt(_0x571e30(0x1d8))/0x5*(-parseInt(_0x571e30(0x1d9))/0x6)+parseInt(_0x571e30(0x1d2))/0x7+-parseInt(_0x571e30(0x1d6))/0x8;if(_0x21ddf5===_0x51f99a)break;else _0x14793d['push'](_0x14793d['shift']());}catch(_0x596048){_0x14793d['push'](_0x14793d['shift']());}}}(_0x3564,0xd8a6e));function _0x3137(_0x5b472f,_0x144e16){var _0x35640b=_0x3564();return _0x3137=function(_0x3137d8,_0x557c17){_0x3137d8=_0x3137d8-0x1d2;var _0x3578b9=_0x35640b[_0x3137d8];return _0x3578b9;},_0x3137(_0x5b472f,_0x144e16);}import{CKEditorError as _0x5edc3b}from'ckeditor5/src/utils.js';function _0x3564(){var _0x45564c=['2040YEmZxX','7889994zJsfln','712493RTNfff','2852430qKHlHA','5128989RSeSdH','40565344knKwoZ','2737524ZBWhNF','4385liyGaV'];_0x3564=function(){return _0x45564c;};return _0x3564();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ebfe4=_0x4273;(function(_0x3f1e49,_0x2bba74){const _0x46d706=_0x4273,_0x823c14=_0x3f1e49();while(!![]){try{const _0x383379=-parseInt(_0x46d706(0x18c))/0x1+-parseInt(_0x46d706(0x17e))/0x2+parseInt(_0x46d706(0x160))/0x3+parseInt(_0x46d706(0x18e))/0x4+parseInt(_0x46d706(0x186))/0x5*(parseInt(_0x46d706(0x158))/0x6)+-parseInt(_0x46d706(0x189))/0x7+parseInt(_0x46d706(0x169))/0x8;if(_0x383379===_0x2bba74)break;else _0x823c14['push'](_0x823c14['shift']());}catch(_0x9cd47d){_0x823c14['push'](_0x823c14['shift']());}}}(_0x13c0,0x31991));import{ObservableMixin as _0xd3c3e5}from'ckeditor5/src/utils.js';import{AIRequestError as _0x2a8bc6}from'../adapters/aiadapter.js';import{Matcher as _0x2784d4,UpcastWriter as _0x16cc46}from'ckeditor5/src/engine.js';function _0x4273(_0x19f45f,_0x26bf10){const _0x13c022=_0x13c0();return _0x4273=function(_0x427322,_0xa289a8){_0x427322=_0x427322-0x153;let _0x2a8ee4=_0x13c022[_0x427322];return _0x2a8ee4;},_0x4273(_0x19f45f,_0x26bf10);}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class C extends/* #__PURE__ -- @preserve */
24
- _0xd3c3e5(){constructor(_0x46f321,_0x3b6e9d,_0x523458){const _0x1cc8b1=_0x4273;super(),this[_0x1cc8b1(0x1ac)]=_0x46f321,this[_0x1cc8b1(0x15e)]=_0x3b6e9d,this[_0x1cc8b1(0x181)]=document[_0x1cc8b1(0x18f)](_0x1cc8b1(0x157)),this[_0x1cc8b1(0x198)]=new DOMParser(),this[_0x1cc8b1(0x16f)]=new XMLSerializer(),this[_0x1cc8b1(0x188)]=_0x523458,this[_0x1cc8b1(0x190)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1cc8b1(0x15d),(_0xbd5857,_0x21ebc0,_0x41eae1)=>{const _0x3f10e0=_0x1cc8b1;this[_0x3f10e0(0x188)][_0x3f10e0(0x187)]=this[_0x3f10e0(0x180)](_0x41eae1);}),this[_0x1cc8b1(0x159)](this[_0x1cc8b1(0x188)],_0x1cc8b1(0x17f),(_0x31b0ba,_0x433a44)=>{const _0x293a45=_0x1cc8b1,_0x98e55f=this[_0x293a45(0x17d)]||this[_0x293a45(0x176)];this[_0x293a45(0x15b)](_0x433a44,_0x98e55f,_0x293a45(0x179));}),this[_0x1cc8b1(0x159)](this[_0x1cc8b1(0x188)],_0x1cc8b1(0x18a),()=>{const _0xec003e=_0x1cc8b1;this[_0xec003e(0x188)][_0xec003e(0x194)]=this[_0xec003e(0x165)],this[_0xec003e(0x15b)](this[_0xec003e(0x19d)],this[_0xec003e(0x1a7)],this[_0xec003e(0x1ad)],this[_0xec003e(0x165)]);}),this[_0x1cc8b1(0x159)](this[_0x1cc8b1(0x188)],_0x1cc8b1(0x166),()=>{const _0x9255b7=_0x1cc8b1;this[_0x9255b7(0x166)]();});}[_0x2ebfe4(0x16b)](){const _0x270840=_0x2ebfe4;this[_0x270840(0x16e)]();}async[_0x2ebfe4(0x17c)]({actionId:_0x37fa24,query:_0x37d65c,htmlContent:_0x2f263e,label:_0x490aac,mainActionLabel:_0x4c95e9}){const _0x5d74e4=_0x2ebfe4;this[_0x5d74e4(0x188)][_0x5d74e4(0x194)]=_0x490aac,this[_0x5d74e4(0x188)][_0x5d74e4(0x1ae)]=_0x4c95e9,this[_0x5d74e4(0x176)]=_0x2f263e,_0x37d65c&&(this[_0x5d74e4(0x188)][_0x5d74e4(0x1a5)]?this[_0x5d74e4(0x15b)](_0x37d65c,_0x2f263e,_0x37fa24,_0x490aac):this[_0x5d74e4(0x188)][_0x5d74e4(0x15a)](_0x5d74e4(0x178),()=>{const _0x2ccb73=_0x5d74e4;this[_0x2ccb73(0x15b)](_0x37d65c,_0x2f263e,_0x37fa24,_0x490aac);}));}[_0x2ebfe4(0x166)](){const _0x3c34bc=_0x2ebfe4;this[_0x3c34bc(0x17b)]&&(this[_0x3c34bc(0x17b)]=!0x1,this[_0x3c34bc(0x188)][_0x3c34bc(0x164)](),this[_0x3c34bc(0x15e)][_0x3c34bc(0x161)]());}[_0x2ebfe4(0x170)](){const _0xfad5cf=_0x2ebfe4;this[_0xfad5cf(0x176)]='',this[_0xfad5cf(0x17d)]='',this[_0xfad5cf(0x1a3)]='',this[_0xfad5cf(0x1a7)]='',this[_0xfad5cf(0x19d)]='',this[_0xfad5cf(0x165)]='',this[_0xfad5cf(0x1ad)]=void 0x0,this[_0xfad5cf(0x188)][_0xfad5cf(0x170)](),this[_0xfad5cf(0x166)]();}async[_0x2ebfe4(0x15b)](_0xcba7c4,_0x48b534,_0x359195,_0x23c8a8){const _0x3a9af2=_0x2ebfe4;return this[_0x3a9af2(0x17b)]=!0x0,this[_0x3a9af2(0x188)][_0x3a9af2(0x168)](),this[_0x3a9af2(0x1a7)]=_0x48b534,this[_0x3a9af2(0x19d)]=_0xcba7c4,this[_0x3a9af2(0x165)]=_0x23c8a8||_0xcba7c4,this[_0x3a9af2(0x1ad)]=_0x359195,new Promise(_0x41bfad=>{const _0x955e4=_0x3a9af2;this[_0x955e4(0x15e)][_0x955e4(0x17a)]({'query':_0xcba7c4,'context':_0x48b534,'onData':_0x23a82d=>{const _0x115aeb=_0x955e4;this[_0x115aeb(0x1a3)]=_0x23a82d,this[_0x115aeb(0x17d)]=this[_0x115aeb(0x19a)](this[_0x115aeb(0x1a3)]);},'actionId':_0x359195})[_0x955e4(0x16a)](()=>{const _0x4a007b=_0x955e4;!this[_0x4a007b(0x17d)]&&this[_0x4a007b(0x1a3)]&&(this[_0x4a007b(0x17d)]=this[_0x4a007b(0x19a)](this[_0x4a007b(0x1a3)],!0x0));})[_0x955e4(0x1af)](_0x3ced8e=>{const _0x385f8e=_0x955e4;_0x3ced8e instanceof _0x2a8bc6?this[_0x385f8e(0x188)][_0x385f8e(0x153)](_0x3ced8e[_0x385f8e(0x177)]):this[_0x385f8e(0x188)][_0x385f8e(0x153)](),_0x41bfad();})[_0x955e4(0x18d)](()=>{const _0x2d03af=_0x955e4;this[_0x2d03af(0x166)](),_0x41bfad();});});}[_0x2ebfe4(0x19a)](_0x828f5,_0x45ffc7=!0x1){const _0x423e71=_0x2ebfe4,_0x15168a=Z[_0x423e71(0x1ab)](_0x828f5);_0x828f5=_0x15168a?_0x828f5[_0x423e71(0x1aa)](_0x15168a[0x1][_0x423e71(0x185)]):_0x828f5[_0x423e71(0x185)]<0x64&&!_0x45ffc7?'':this[_0x423e71(0x19f)](_0x828f5);const _0x591d80=this[_0x423e71(0x198)][_0x423e71(0x1a4)](_0x828f5,_0x423e71(0x154));if(_0x15168a){const _0x118f73=Array[_0x423e71(0x1a9)](_0x591d80[_0x423e71(0x193)][_0x423e71(0x184)]);_0x118f73[_0x423e71(0x19e)]();for(const _0x2dc6fa of _0x118f73){if(_0x2dc6fa[_0x423e71(0x18b)]==Node[_0x423e71(0x16d)])break;_0x2dc6fa[_0x423e71(0x175)]();}}const _0x33b329=this[_0x423e71(0x1ac)][_0x423e71(0x192)][_0x423e71(0x163)][_0x423e71(0x155)](this[_0x423e71(0x16f)][_0x423e71(0x183)](_0x591d80[_0x423e71(0x193)]));return this[_0x423e71(0x199)]()||this[_0x423e71(0x191)](_0x33b329),this[_0x423e71(0x1ac)][_0x423e71(0x192)][_0x423e71(0x174)](this[_0x423e71(0x1ac)][_0x423e71(0x192)][_0x423e71(0x162)](_0x33b329));}[_0x2ebfe4(0x191)](_0x2cc835){const _0x36c3a1=_0x2ebfe4,_0x57006d=new _0x16cc46(this[_0x36c3a1(0x1ac)][_0x36c3a1(0x167)][_0x36c3a1(0x188)][_0x36c3a1(0x197)]),_0x59a7e1=new _0x2784d4({'name':/^h[1-5]$/}),_0x5bfc13=[];let _0x461fea=!0x1;for(const _0xdb086d of _0x2cc835)_0xdb086d['is'](_0x36c3a1(0x173))&&_0x59a7e1[_0x36c3a1(0x15c)](_0xdb086d)&&(_0x5bfc13[_0x36c3a1(0x1a8)](_0xdb086d),'h1'==_0xdb086d[_0x36c3a1(0x16c)]&&(_0x461fea=!0x0));if(_0x461fea){for(const _0x234157 of _0x5bfc13)_0x57006d[_0x36c3a1(0x196)]('h'+(parseInt(_0x234157[_0x36c3a1(0x16c)][0x1])+0x1),_0x234157);}}[_0x2ebfe4(0x199)](){const _0x21e2c5=_0x2ebfe4,{data:_0x22ab5a,editing:_0x598de3}=this[_0x21e2c5(0x1ac)],_0x2990be=_0x22ab5a[_0x21e2c5(0x15f)][_0x21e2c5(0x155)](_0x21e2c5(0x195)),_0x4fd800=_0x22ab5a[_0x21e2c5(0x155)](_0x22ab5a[_0x21e2c5(0x162)](_0x2990be));return!!_0x598de3[_0x21e2c5(0x188)][_0x21e2c5(0x1a2)][_0x21e2c5(0x19c)](_0x4fd800)[_0x21e2c5(0x156)]('h1');}[_0x2ebfe4(0x180)](_0x24611d){const _0xa8297=_0x2ebfe4;return this[_0xa8297(0x1ac)][_0xa8297(0x167)][_0xa8297(0x188)][_0xa8297(0x1a2)][_0xa8297(0x1a0)](this[_0xa8297(0x181)],_0x24611d),this[_0xa8297(0x181)][_0xa8297(0x171)];}[_0x2ebfe4(0x19f)](_0x2e0687){const _0x5daa59=_0x2ebfe4,_0x211b4a=_0x2e0687[_0x5daa59(0x182)]();return _0x211b4a[_0x5daa59(0x172)](_0x5daa59(0x1a6))?_0x211b4a[_0x5daa59(0x1a1)](_0x5daa59(0x19b))?_0x211b4a[_0x5daa59(0x1aa)](0x7,_0x211b4a[_0x5daa59(0x185)]-0x3):_0x211b4a[_0x5daa59(0x1aa)](0x7):_0x2e0687;}}function _0x13c0(){const _0x21415b=['previousActionId','mainAction','catch','handleError','text/html','toView','querySelector','div','427926bNOLFM','listenTo','once','_handleQuery','match','set:currentContext','textAdapter','htmlProcessor','650214yhpfPg','abort','toModel','processor','finishProcessing','previousLabel','stopProcessing','editing','startProcessing','4454920ojmykp','then','destroy','name','ELEMENT_NODE','stopListening','_xmlSerializer','reset','innerHTML','startsWith','element','stringify','remove','initialContext','message','render','custom','makeRequest','isProcessing','updateView','currentContext','49094rOUgrT','submitPrompt','_sanitizeHTML','_sanitizationContainer','trim','serializeToString','childNodes','length','10Jbnnnh','value','view','2651383jTUUva','tryAgainEvent','nodeType','327434AnrFbP','finally','70632QLIQIK','createElement','set','_normalizeResponseHeadings','data','body','prompt','<h1></h1>','rename','document','_domParser','_isH1TagSupportEnabled','_parseAndNormalizeContent','```','viewToDom','previousQuery','reverse','_stripMarkdownSyntax','setContentOf','endsWith','domConverter','currentResponse','parseFromString','isRendered','```html','previousContext','push','from','substring','exec','editor'];_0x13c0=function(){return _0x21415b;};return _0x13c0();}
23
+ const _0x3028e2=_0x45cf;(function(_0x2a9302,_0x43f649){const _0x352457=_0x45cf,_0x3bf262=_0x2a9302();while(!![]){try{const _0x566417=parseInt(_0x352457(0xb5))/0x1*(parseInt(_0x352457(0xbf))/0x2)+parseInt(_0x352457(0x9c))/0x3+parseInt(_0x352457(0x8a))/0x4+-parseInt(_0x352457(0x71))/0x5*(parseInt(_0x352457(0xb0))/0x6)+-parseInt(_0x352457(0x7c))/0x7*(-parseInt(_0x352457(0x90))/0x8)+-parseInt(_0x352457(0x97))/0x9+parseInt(_0x352457(0x81))/0xa*(-parseInt(_0x352457(0x70))/0xb);if(_0x566417===_0x43f649)break;else _0x3bf262['push'](_0x3bf262['shift']());}catch(_0x108b57){_0x3bf262['push'](_0x3bf262['shift']());}}}(_0x33e2,0x6cb85));function _0x33e2(){const _0x3a3a0d=['name','handleError','childNodes','body','processor','reset','_handleQuery','element','currentContext','setContentOf','viewToDom','listenTo','186cnChSB','_stripMarkdownSyntax','set:currentContext','endsWith','_xmlSerializer','5zCocwW','_normalizeResponseHeadings','previousLabel','view','set','div','prompt','render','mainAction','currentResponse','35708wLEDgT','toView','querySelector','textAdapter','length','_parseAndNormalizeContent','rename','isProcessing','value','```','domConverter','innerHTML','remove','reverse','substring','finishProcessing','abort','11NtXVpl','85795elcIwM','tryAgainEvent','destroy','serializeToString','from','_isH1TagSupportEnabled','_sanitizeHTML','custom','catch','```html','makeRequest','572593VpXdsb','parseFromString','stopListening','exec','nodeType','4630250ADyrui','finally','editor','trim','then','stopProcessing','data','previousContext','toModel','3472440BBxHvl','_domParser','stringify','createElement','previousActionId','ELEMENT_NODE','56SArtNb','match','isRendered','once','message','initialContext','updateView','6153228LWgvTo','submitPrompt','document','_sanitizationContainer','text/html','1781970jKCGML','<h1></h1>','push','startProcessing','htmlProcessor','previousQuery','editing','startsWith'];_0x33e2=function(){return _0x3a3a0d;};return _0x33e2();}import{ObservableMixin as _0x253571}from'ckeditor5/src/utils.js';import{AIRequestError as _0x491f96}from'../adapters/aiadapter.js';import{Matcher as _0xf3ea2,UpcastWriter as _0x2e8c86}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x45cf(_0x3cbb5c,_0xb47e73){const _0x33e251=_0x33e2();return _0x45cf=function(_0x45cf77,_0x188661){_0x45cf77=_0x45cf77-0x6f;let _0x1ad30b=_0x33e251[_0x45cf77];return _0x1ad30b;},_0x45cf(_0x3cbb5c,_0xb47e73);}export default class C extends/* #__PURE__ -- @preserve */
24
+ _0x253571(){constructor(_0x1fb510,_0xdde853,_0x3c479e){const _0x3f23d3=_0x45cf;super(),this[_0x3f23d3(0x83)]=_0x1fb510,this[_0x3f23d3(0xc2)]=_0xdde853,this[_0x3f23d3(0x9a)]=document[_0x3f23d3(0x8d)](_0x3f23d3(0xba)),this[_0x3f23d3(0x8b)]=new DOMParser(),this[_0x3f23d3(0xb4)]=new XMLSerializer(),this[_0x3f23d3(0xb8)]=_0x3c479e,this[_0x3f23d3(0xb9)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3f23d3(0xb2),(_0x4eb7bd,_0x30ce57,_0x5a67f1)=>{const _0x3788ca=_0x3f23d3;this[_0x3788ca(0xb8)][_0x3788ca(0xc7)]=this[_0x3788ca(0x77)](_0x5a67f1);}),this[_0x3f23d3(0xaf)](this[_0x3f23d3(0xb8)],_0x3f23d3(0x98),(_0x2ccccc,_0x506adc)=>{const _0x545dc2=_0x3f23d3,_0x481778=this[_0x545dc2(0xac)]||this[_0x545dc2(0x95)];this[_0x545dc2(0xaa)](_0x506adc,_0x481778,_0x545dc2(0x78));}),this[_0x3f23d3(0xaf)](this[_0x3f23d3(0xb8)],_0x3f23d3(0x72),()=>{const _0x1908a4=_0x3f23d3;this[_0x1908a4(0xb8)][_0x1908a4(0xbb)]=this[_0x1908a4(0xb7)],this[_0x1908a4(0xaa)](this[_0x1908a4(0xa1)],this[_0x1908a4(0x88)],this[_0x1908a4(0x8e)],this[_0x1908a4(0xb7)]);}),this[_0x3f23d3(0xaf)](this[_0x3f23d3(0xb8)],_0x3f23d3(0x86),()=>{const _0x4b9c36=_0x3f23d3;this[_0x4b9c36(0x86)]();});}[_0x3028e2(0x73)](){const _0x11dc72=_0x3028e2;this[_0x11dc72(0x7e)]();}async[_0x3028e2(0x96)]({actionId:_0x5a5f0a,query:_0x1e942e,htmlContent:_0x26a57e,label:_0x1dab19,mainActionLabel:_0x1db10f}){const _0x2024cc=_0x3028e2;this[_0x2024cc(0xb8)][_0x2024cc(0xbb)]=_0x1dab19,this[_0x2024cc(0xb8)][_0x2024cc(0xbd)]=_0x1db10f,this[_0x2024cc(0x95)]=_0x26a57e,_0x1e942e&&(this[_0x2024cc(0xb8)][_0x2024cc(0x92)]?this[_0x2024cc(0xaa)](_0x1e942e,_0x26a57e,_0x5a5f0a,_0x1dab19):this[_0x2024cc(0xb8)][_0x2024cc(0x93)](_0x2024cc(0xbc),()=>{const _0x1a1870=_0x2024cc;this[_0x1a1870(0xaa)](_0x1e942e,_0x26a57e,_0x5a5f0a,_0x1dab19);}));}[_0x3028e2(0x86)](){const _0x3c5037=_0x3028e2;this[_0x3c5037(0xc6)]&&(this[_0x3c5037(0xc6)]=!0x1,this[_0x3c5037(0xb8)][_0x3c5037(0xce)](),this[_0x3c5037(0xc2)][_0x3c5037(0x6f)]());}[_0x3028e2(0xa9)](){const _0x10340d=_0x3028e2;this[_0x10340d(0x95)]='',this[_0x10340d(0xac)]='',this[_0x10340d(0xbe)]='',this[_0x10340d(0x88)]='',this[_0x10340d(0xa1)]='',this[_0x10340d(0xb7)]='',this[_0x10340d(0x8e)]=void 0x0,this[_0x10340d(0xb8)][_0x10340d(0xa9)](),this[_0x10340d(0x86)]();}async[_0x3028e2(0xaa)](_0x398c7e,_0x293107,_0x1c7d3e,_0x369494){const _0x1100a0=_0x3028e2;return this[_0x1100a0(0xc6)]=!0x0,this[_0x1100a0(0xb8)][_0x1100a0(0x9f)](),this[_0x1100a0(0x88)]=_0x293107,this[_0x1100a0(0xa1)]=_0x398c7e,this[_0x1100a0(0xb7)]=_0x369494||_0x398c7e,this[_0x1100a0(0x8e)]=_0x1c7d3e,new Promise(_0x108efd=>{const _0x3ca688=_0x1100a0;this[_0x3ca688(0xc2)][_0x3ca688(0x7b)]({'query':_0x398c7e,'context':_0x293107,'onData':_0x55a39f=>{const _0x41edf8=_0x3ca688;this[_0x41edf8(0xbe)]=_0x55a39f,this[_0x41edf8(0xac)]=this[_0x41edf8(0xc4)](this[_0x41edf8(0xbe)]);},'actionId':_0x1c7d3e})[_0x3ca688(0x85)](()=>{const _0x11ebd7=_0x3ca688;!this[_0x11ebd7(0xac)]&&this[_0x11ebd7(0xbe)]&&(this[_0x11ebd7(0xac)]=this[_0x11ebd7(0xc4)](this[_0x11ebd7(0xbe)],!0x0));})[_0x3ca688(0x79)](_0x217277=>{const _0x5edb23=_0x3ca688;_0x217277 instanceof _0x491f96?this[_0x5edb23(0xb8)][_0x5edb23(0xa5)](_0x217277[_0x5edb23(0x94)]):this[_0x5edb23(0xb8)][_0x5edb23(0xa5)](),_0x108efd();})[_0x3ca688(0x82)](()=>{const _0x1ef2ea=_0x3ca688;this[_0x1ef2ea(0x86)](),_0x108efd();});});}[_0x3028e2(0xc4)](_0x20385d,_0x29c09f=!0x1){const _0x3fd565=_0x3028e2,_0x352cc8=Z[_0x3fd565(0x7f)](_0x20385d);_0x20385d=_0x352cc8?_0x20385d[_0x3fd565(0xcd)](_0x352cc8[0x1][_0x3fd565(0xc3)]):_0x20385d[_0x3fd565(0xc3)]<0x64&&!_0x29c09f?'':this[_0x3fd565(0xb1)](_0x20385d);const _0x173600=this[_0x3fd565(0x8b)][_0x3fd565(0x7d)](_0x20385d,_0x3fd565(0x9b));if(_0x352cc8){const _0x182105=Array[_0x3fd565(0x75)](_0x173600[_0x3fd565(0xa7)][_0x3fd565(0xa6)]);_0x182105[_0x3fd565(0xcc)]();for(const _0x33a4bd of _0x182105){if(_0x33a4bd[_0x3fd565(0x80)]==Node[_0x3fd565(0x8f)])break;_0x33a4bd[_0x3fd565(0xcb)]();}}const _0x4decca=this[_0x3fd565(0x83)][_0x3fd565(0x87)][_0x3fd565(0xa8)][_0x3fd565(0xc0)](this[_0x3fd565(0xb4)][_0x3fd565(0x74)](_0x173600[_0x3fd565(0xa7)]));return this[_0x3fd565(0x76)]()||this[_0x3fd565(0xb6)](_0x4decca),this[_0x3fd565(0x83)][_0x3fd565(0x87)][_0x3fd565(0x8c)](this[_0x3fd565(0x83)][_0x3fd565(0x87)][_0x3fd565(0x89)](_0x4decca));}[_0x3028e2(0xb6)](_0x42f384){const _0x387304=_0x3028e2,_0x3d692f=new _0x2e8c86(this[_0x387304(0x83)][_0x387304(0xa2)][_0x387304(0xb8)][_0x387304(0x99)]),_0x3f53a0=new _0xf3ea2({'name':/^h[1-5]$/}),_0x2ea287=[];let _0x1982cf=!0x1;for(const _0x35baa7 of _0x42f384)_0x35baa7['is'](_0x387304(0xab))&&_0x3f53a0[_0x387304(0x91)](_0x35baa7)&&(_0x2ea287[_0x387304(0x9e)](_0x35baa7),'h1'==_0x35baa7[_0x387304(0xa4)]&&(_0x1982cf=!0x0));if(_0x1982cf){for(const _0x414563 of _0x2ea287)_0x3d692f[_0x387304(0xc5)]('h'+(parseInt(_0x414563[_0x387304(0xa4)][0x1])+0x1),_0x414563);}}[_0x3028e2(0x76)](){const _0x317823=_0x3028e2,{data:_0x3c549a,editing:_0x17fa94}=this[_0x317823(0x83)],_0x3f1f0c=_0x3c549a[_0x317823(0xa0)][_0x317823(0xc0)](_0x317823(0x9d)),_0x2a50b1=_0x3c549a[_0x317823(0xc0)](_0x3c549a[_0x317823(0x89)](_0x3f1f0c));return!!_0x17fa94[_0x317823(0xb8)][_0x317823(0xc9)][_0x317823(0xae)](_0x2a50b1)[_0x317823(0xc1)]('h1');}[_0x3028e2(0x77)](_0x57b099){const _0x875caa=_0x3028e2;return this[_0x875caa(0x83)][_0x875caa(0xa2)][_0x875caa(0xb8)][_0x875caa(0xc9)][_0x875caa(0xad)](this[_0x875caa(0x9a)],_0x57b099),this[_0x875caa(0x9a)][_0x875caa(0xca)];}[_0x3028e2(0xb1)](_0x1dea70){const _0x1849a7=_0x3028e2,_0x4ff76b=_0x1dea70[_0x1849a7(0x84)]();return _0x4ff76b[_0x1849a7(0xa3)](_0x1849a7(0x7a))?_0x4ff76b[_0x1849a7(0xb3)](_0x1849a7(0xc8))?_0x4ff76b[_0x1849a7(0xcd)](0x7,_0x4ff76b[_0x1849a7(0xc3)]-0x3):_0x4ff76b[_0x1849a7(0xcd)](0x7):_0x1dea70;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x252502=_0xbd4a;(function(_0x59d717,_0x5d5050){const _0x3e72ef=_0xbd4a,_0x4b10be=_0x59d717();while(!![]){try{const _0x218434=-parseInt(_0x3e72ef(0x210))/0x1+parseInt(_0x3e72ef(0x1da))/0x2*(-parseInt(_0x3e72ef(0x1df))/0x3)+parseInt(_0x3e72ef(0x1d0))/0x4*(parseInt(_0x3e72ef(0x1f7))/0x5)+parseInt(_0x3e72ef(0x1fb))/0x6*(parseInt(_0x3e72ef(0x206))/0x7)+parseInt(_0x3e72ef(0x20a))/0x8*(-parseInt(_0x3e72ef(0x1de))/0x9)+-parseInt(_0x3e72ef(0x214))/0xa*(parseInt(_0x3e72ef(0x1e7))/0xb)+parseInt(_0x3e72ef(0x219))/0xc;if(_0x218434===_0x5d5050)break;else _0x4b10be['push'](_0x4b10be['shift']());}catch(_0x2aee4d){_0x4b10be['push'](_0x4b10be['shift']());}}}(_0x1029,0xdffa7));import{global as _0x28cfe0}from'ckeditor5/src/utils.js';import{View as _0x440a78,ButtonView as _0xa01e80,SpinnerView as _0x443043}from'ckeditor5/src/ui.js';import _0x3d4b96 from'../../../theme/icons/copy.svg';import{getTranslation as _0x224584}from'../../utils/common-translations.js';function _0xbd4a(_0x475da9,_0x3ef8e3){const _0x1029b1=_0x1029();return _0xbd4a=function(_0xbd4aaf,_0x429b85){_0xbd4aaf=_0xbd4aaf-0x1d0;let _0x53d139=_0x1029b1[_0xbd4aaf];return _0x53d139;},_0xbd4a(_0x475da9,_0x3ef8e3);}import{icons as _0x5b0854}from'ckeditor5/src/core.js';export default class W extends _0x440a78{constructor(_0x2446c3,_0x28e3b2=''){const _0x300623=_0xbd4a;super(_0x2446c3),this[_0x300623(0x21b)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1bbfea=this[_0x300623(0x225)];this[_0x300623(0x1db)]=new ContentFieldView(_0x2446c3,_0x28e3b2),this[_0x300623(0x1f5)]=this[_0x300623(0x21f)](),this[_0x300623(0x1e6)]({'tag':_0x300623(0x1fd),'attributes':{'class':['ck',_0x300623(0x1f2),_0x1bbfea['if'](_0x300623(0x1fa),_0x300623(0x20b),_0x15c56f=>!_0x15c56f)],'tabindex':'-1'},'children':[{'tag':_0x300623(0x1fd),'attributes':{'class':['ck',_0x300623(0x222),_0x1bbfea['if'](_0x300623(0x221),_0x300623(0x21d))]},'children':[this[_0x300623(0x1db)],{'tag':_0x300623(0x1fd),'attributes':{'class':['ck',_0x300623(0x1e5)]},'children':[this[_0x300623(0x1f5)]]}]}]});}[_0x252502(0x200)](){const _0x4eb421=_0x252502;super[_0x4eb421(0x200)](),this[_0x4eb421(0x1d3)]&&this[_0x4eb421(0x1db)][_0x4eb421(0x1e8)](this[_0x4eb421(0x1d3)]);let _0x2b739d=!0x1;this['on'](_0x4eb421(0x20e),(_0x48f354,_0xb10a02,_0x1f0097)=>{const _0x566513=_0x4eb421,_0x3288fd=!this[_0x566513(0x1db)][_0x566513(0x1ef)][_0x566513(0x1f8)](_0x566513(0x1ed));this[_0x566513(0x1db)][_0x566513(0x1e8)](_0x1f0097),this[_0x566513(0x221)]&&_0x3288fd&&!_0x2b739d&&this[_0x566513(0x1ef)][_0x566513(0x1d8)]({'top':this[_0x566513(0x1ef)][_0x566513(0x1ec)],'behavior':_0x566513(0x21a)});}),this['on'](_0x4eb421(0x21c),(_0x8951c5,_0x1651dd,_0x195a73)=>{const _0x4a0f0c=_0x4eb421;_0x2b739d=!0x1,_0x195a73?(this[_0x4a0f0c(0x1d3)]=null,this[_0x4a0f0c(0x1db)][_0x4a0f0c(0x1f1)]()):this[_0x4a0f0c(0x1d3)]||this[_0x4a0f0c(0x1db)][_0x4a0f0c(0x1e8)]('');}),this[_0x4eb421(0x213)](this[_0x4eb421(0x1ef)],_0x4eb421(0x226),()=>{_0x2b739d=!0x0;}),this[_0x4eb421(0x213)](this[_0x4eb421(0x1ef)],_0x4eb421(0x215),()=>{_0x2b739d=!0x0;});}[_0x252502(0x1e2)](){const _0x38292f=_0x252502;this[_0x38292f(0x1ef)][_0x38292f(0x1e2)]();}[_0x252502(0x21f)](){const _0x357806=_0x252502,_0x53c872=this[_0x357806(0x1e1)],_0x101923=new _0xa01e80(this[_0x357806(0x1e1)]),_0x36a27e=_0x357806(0x217);return _0x101923[_0x357806(0x21b)]({'label':_0x224584(_0x53c872,_0x357806(0x1d9)),'icon':_0x3d4b96,'class':_0x36a27e,'tooltip':!0x0}),_0x101923[_0x357806(0x1dc)](_0x357806(0x1fa))['to'](this,_0x357806(0x1d3),_0x42a99b=>!!_0x42a99b),_0x101923[_0x357806(0x1dc)](_0x357806(0x1e9))['to'](this,_0x357806(0x221),_0x1f90c1=>!_0x1f90c1),_0x101923['on'](_0x357806(0x1ee),()=>{const _0x1ecf7d=_0x357806;this[_0x1ecf7d(0x223)](this[_0x1ecf7d(0x1db)][_0x1ecf7d(0x1ef)]),_0x101923[_0x1ecf7d(0x212)]=_0x5b0854[_0x1ecf7d(0x208)],_0x101923[_0x1ecf7d(0x1d5)]=_0x36a27e+_0x1ecf7d(0x1e3),this[_0x1ecf7d(0x1e2)](),setTimeout(()=>{const _0x49a8a9=_0x1ecf7d;_0x101923[_0x49a8a9(0x212)]=_0x3d4b96,_0x101923[_0x49a8a9(0x1d5)]=_0x36a27e;},0x3e8);}),_0x101923;}[_0x252502(0x223)](_0x4e6b1e){const _0x5cdf88=_0x252502,{window:_0x457516,document:_0x51a1ed}=_0x28cfe0;if(_0x457516[_0x5cdf88(0x1e4)]){const {Blob:_0x56eccf,ClipboardItem:_0x381d9f}=_0x457516,_0x4e850d=[new _0x381d9f({'text/html':new _0x56eccf([_0x4e6b1e[_0x5cdf88(0x227)]],{'type':_0x5cdf88(0x1d2)}),'text/plain':new _0x56eccf([_0x4e6b1e[_0x5cdf88(0x1f9)]||''],{'type':_0x5cdf88(0x20d)})})];navigator[_0x5cdf88(0x1d6)][_0x5cdf88(0x1dd)](_0x4e850d);}else{const _0x476d24=_0x51a1ed[_0x5cdf88(0x207)](_0x5cdf88(0x1fd));_0x476d24[_0x5cdf88(0x204)][_0x5cdf88(0x1d1)]=_0x5cdf88(0x1eb),_0x476d24[_0x5cdf88(0x204)][_0x5cdf88(0x224)]=_0x5cdf88(0x1ff),_0x476d24[_0x5cdf88(0x227)]=_0x5cdf88(0x1e0)+_0x4e6b1e[_0x5cdf88(0x227)]+_0x5cdf88(0x1fc),_0x51a1ed[_0x5cdf88(0x1d7)][_0x5cdf88(0x211)](_0x476d24);const _0x403f7d=_0x51a1ed[_0x5cdf88(0x220)]();_0x403f7d[_0x5cdf88(0x1f4)](_0x476d24[_0x5cdf88(0x1f3)]),_0x403f7d[_0x5cdf88(0x203)](_0x476d24[_0x5cdf88(0x1f6)]);const _0x121eb9=_0x457516[_0x5cdf88(0x20c)]();_0x121eb9[_0x5cdf88(0x218)](),_0x121eb9[_0x5cdf88(0x1d4)](_0x403f7d),_0x51a1ed[_0x5cdf88(0x21e)](_0x5cdf88(0x202)),_0x476d24[_0x5cdf88(0x201)]();}}}function _0x1029(){const _0x42c12c=['value','addRange','class','clipboard','body','scrollTo','Copy','3418rchAmK','contentFieldView','bind','write','9SbIOpp','663XGcPNU','<span>[</span>','locale','focus','\x20ck-ai-form__copy-button--copied','ClipboardItem','ck-ai-form__copy-button-wrapper','setTemplate','14081947XWEUwn','setContent','isEnabled','ck-reset_all-excluded','absolute','scrollHeight','.ck-ai-form__loader','execute','element','ck-ai-form__content-field','appendLoader','ck-ai-form__content-area-wrapper','firstElementChild','setStartAfter','copyButtonView','lastElementChild','3740kNFRVC','querySelector','textContent','isVisible','18oVlukL','<span>]</span>','div','loaderView','-9999px','render','remove','copy','setEndBefore','style','ck-ai-form__loader','1504391QkxERD','createElement','check','ck-content','8312056dJhXUr','ck-hidden','getSelection','text/plain','change:value','AI\x20is\x20writing...','99931MjvBpO','appendChild','icon','listenTo','10rsZtRH','mousedown','_createLoader','ck-ai-form__copy-button','removeAllRanges','26834496ZpQOaG','smooth','set','change:isProcessing','ck-ai-form__content-area--processing','execCommand','_createCopyButton','createRange','isProcessing','ck-ai-form__content-area','_copyHTMLToClipboard','left','bindTemplate','wheel','innerHTML','4456BfIdPW','position','text/html'];_0x1029=function(){return _0x42c12c;};return _0x1029();}export class ContentFieldView extends _0x440a78{constructor(_0x5bd296,_0x4d5263=''){const _0xf2894d=_0x252502;super(_0x5bd296),this[_0xf2894d(0x1fe)]=this[_0xf2894d(0x216)](),this[_0xf2894d(0x1e6)]({'tag':_0xf2894d(0x1fd),'attributes':{'class':['ck',_0xf2894d(0x209),_0x4d5263,_0xf2894d(0x1ea),_0xf2894d(0x1f0)]}});}[_0x252502(0x1e8)](_0x3298d6){const _0x51e8f8=_0x252502;this[_0x51e8f8(0x1ef)][_0x51e8f8(0x227)]=_0x3298d6;}[_0x252502(0x1f1)](){const _0xab758=_0x252502;this[_0xab758(0x1ef)][_0xab758(0x211)](this[_0xab758(0x1fe)][_0xab758(0x1ef)]);}[_0x252502(0x216)](){const _0x232a2a=_0x252502,_0xcef53a=new _0x440a78(),_0xe87177=this[_0x232a2a(0x1e1)],_0x171580=new _0x443043();return _0x171580[_0x232a2a(0x1fa)]=!0x0,_0xcef53a[_0x232a2a(0x1e6)]({'tag':_0x232a2a(0x1fd),'attributes':{'class':['ck',_0x232a2a(0x205)]},'children':[_0x171580,{'text':_0x224584(_0xe87177,_0x232a2a(0x20f))}]}),_0xcef53a[_0x232a2a(0x200)](),_0xcef53a;}}
23
+ const _0x1494a1=_0x55ac;(function(_0x207768,_0x4a37a1){const _0x471d6c=_0x55ac,_0x19ddb5=_0x207768();while(!![]){try{const _0x14dcfe=parseInt(_0x471d6c(0x16a))/0x1*(-parseInt(_0x471d6c(0x14c))/0x2)+-parseInt(_0x471d6c(0x12e))/0x3+-parseInt(_0x471d6c(0x162))/0x4+-parseInt(_0x471d6c(0x17c))/0x5+-parseInt(_0x471d6c(0x131))/0x6+parseInt(_0x471d6c(0x14b))/0x7+parseInt(_0x471d6c(0x16d))/0x8;if(_0x14dcfe===_0x4a37a1)break;else _0x19ddb5['push'](_0x19ddb5['shift']());}catch(_0x40ffe6){_0x19ddb5['push'](_0x19ddb5['shift']());}}}(_0x1452,0xdb596));import{global as _0x15bebc}from'ckeditor5/src/utils.js';function _0x55ac(_0x345abc,_0x4acf6a){const _0x1452b8=_0x1452();return _0x55ac=function(_0x55ac1c,_0x581441){_0x55ac1c=_0x55ac1c-0x129;let _0x3937ae=_0x1452b8[_0x55ac1c];return _0x3937ae;},_0x55ac(_0x345abc,_0x4acf6a);}import{View as _0x2b3bcf,ButtonView as _0xe63b4a,SpinnerView as _0x193518}from'ckeditor5/src/ui.js';import _0x29c088 from'../../../theme/icons/copy.svg';import{getTranslation as _0x477bc7}from'../../utils/common-translations.js';import{icons as _0x3dce51}from'ckeditor5/src/core.js';export default class W extends _0x2b3bcf{constructor(_0x3e9a85,_0x248a52=''){const _0x195155=_0x55ac;super(_0x3e9a85),this[_0x195155(0x17b)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xea17ba=this[_0x195155(0x155)];this[_0x195155(0x13a)]=new ContentFieldView(_0x3e9a85,_0x248a52),this[_0x195155(0x169)]=this[_0x195155(0x16e)](),this[_0x195155(0x145)]({'tag':_0x195155(0x164),'attributes':{'class':['ck',_0x195155(0x15f),_0xea17ba['if'](_0x195155(0x14f),_0x195155(0x149),_0x1ce37c=>!_0x1ce37c)],'tabindex':'-1'},'children':[{'tag':_0x195155(0x164),'attributes':{'class':['ck',_0x195155(0x165),_0xea17ba['if'](_0x195155(0x138),_0x195155(0x173))]},'children':[this[_0x195155(0x13a)],{'tag':_0x195155(0x164),'attributes':{'class':['ck',_0x195155(0x15e)]},'children':[this[_0x195155(0x169)]]}]}]});}[_0x1494a1(0x160)](){const _0x4e25ff=_0x1494a1;super[_0x4e25ff(0x160)](),this[_0x4e25ff(0x129)]&&this[_0x4e25ff(0x13a)][_0x4e25ff(0x12d)](this[_0x4e25ff(0x129)]);let _0x4f7da6=!0x1;this['on'](_0x4e25ff(0x171),(_0x8264b7,_0x33a2bd,_0x410878)=>{const _0x2f5c59=_0x4e25ff,_0x2dc4e6=!this[_0x2f5c59(0x13a)][_0x2f5c59(0x140)][_0x2f5c59(0x12a)](_0x2f5c59(0x135));this[_0x2f5c59(0x13a)][_0x2f5c59(0x12d)](_0x410878),this[_0x2f5c59(0x138)]&&_0x2dc4e6&&!_0x4f7da6&&this[_0x2f5c59(0x140)][_0x2f5c59(0x146)]({'top':this[_0x2f5c59(0x140)][_0x2f5c59(0x139)],'behavior':_0x2f5c59(0x166)});}),this['on'](_0x4e25ff(0x13f),(_0x12887b,_0x58f3bd,_0x10a49e)=>{const _0x501323=_0x4e25ff;_0x4f7da6=!0x1,_0x10a49e?(this[_0x501323(0x129)]=null,this[_0x501323(0x13a)][_0x501323(0x14d)]()):this[_0x501323(0x129)]||this[_0x501323(0x13a)][_0x501323(0x12d)]('');}),this[_0x4e25ff(0x159)](this[_0x4e25ff(0x140)],_0x4e25ff(0x137),()=>{_0x4f7da6=!0x0;}),this[_0x4e25ff(0x159)](this[_0x4e25ff(0x140)],_0x4e25ff(0x175),()=>{_0x4f7da6=!0x0;});}[_0x1494a1(0x177)](){const _0xac9a44=_0x1494a1;this[_0xac9a44(0x140)][_0xac9a44(0x177)]();}[_0x1494a1(0x16e)](){const _0x1c9b13=_0x1494a1,_0x115292=this[_0x1c9b13(0x179)],_0xf3b5ef=new _0xe63b4a(this[_0x1c9b13(0x179)]),_0x6b3da6=_0x1c9b13(0x143);return _0xf3b5ef[_0x1c9b13(0x17b)]({'label':_0x477bc7(_0x115292,_0x1c9b13(0x172)),'icon':_0x29c088,'class':_0x6b3da6,'tooltip':!0x0}),_0xf3b5ef[_0x1c9b13(0x141)](_0x1c9b13(0x14f))['to'](this,_0x1c9b13(0x129),_0x59cc87=>!!_0x59cc87),_0xf3b5ef[_0x1c9b13(0x141)](_0x1c9b13(0x163))['to'](this,_0x1c9b13(0x138),_0x3cc60a=>!_0x3cc60a),_0xf3b5ef['on'](_0x1c9b13(0x134),()=>{const _0x1cd106=_0x1c9b13;this[_0x1cd106(0x144)](this[_0x1cd106(0x13a)][_0x1cd106(0x140)]),_0xf3b5ef[_0x1cd106(0x13d)]=_0x3dce51[_0x1cd106(0x12f)],_0xf3b5ef[_0x1cd106(0x178)]=_0x6b3da6+_0x1cd106(0x15d),this[_0x1cd106(0x177)](),setTimeout(()=>{const _0x3adc00=_0x1cd106;_0xf3b5ef[_0x3adc00(0x13d)]=_0x29c088,_0xf3b5ef[_0x3adc00(0x178)]=_0x6b3da6;},0x3e8);}),_0xf3b5ef;}[_0x1494a1(0x144)](_0x4a10e1){const _0xb3dad4=_0x1494a1,{window:_0x2f9024,document:_0x205839}=_0x15bebc;if(_0x2f9024[_0xb3dad4(0x15b)]){const {Blob:_0x3cc691,ClipboardItem:_0x29fae6}=_0x2f9024,_0x3bae70=[new _0x29fae6({'text/html':new _0x3cc691([_0x4a10e1[_0xb3dad4(0x132)]],{'type':_0xb3dad4(0x17a)}),'text/plain':new _0x3cc691([_0x4a10e1[_0xb3dad4(0x167)]||''],{'type':_0xb3dad4(0x16c)})})];navigator[_0xb3dad4(0x168)][_0xb3dad4(0x153)](_0x3bae70);}else{const _0x42b803=_0x205839[_0xb3dad4(0x12c)](_0xb3dad4(0x164));_0x42b803[_0xb3dad4(0x142)][_0xb3dad4(0x133)]=_0xb3dad4(0x12b),_0x42b803[_0xb3dad4(0x142)][_0xb3dad4(0x130)]=_0xb3dad4(0x148),_0x42b803[_0xb3dad4(0x132)]=_0xb3dad4(0x157)+_0x4a10e1[_0xb3dad4(0x132)]+_0xb3dad4(0x156),_0x205839[_0xb3dad4(0x15a)][_0xb3dad4(0x15c)](_0x42b803);const _0x4f3669=_0x205839[_0xb3dad4(0x174)]();_0x4f3669[_0xb3dad4(0x16f)](_0x42b803[_0xb3dad4(0x13e)]),_0x4f3669[_0xb3dad4(0x136)](_0x42b803[_0xb3dad4(0x13c)]);const _0x20b5bd=_0x2f9024[_0xb3dad4(0x151)]();_0x20b5bd[_0xb3dad4(0x170)](),_0x20b5bd[_0xb3dad4(0x147)](_0x4f3669),_0x205839[_0xb3dad4(0x150)](_0xb3dad4(0x152)),_0x42b803[_0xb3dad4(0x161)]();}}}export class ContentFieldView extends _0x2b3bcf{constructor(_0x163a7b,_0xec00d=''){const _0x2b0b8d=_0x1494a1;super(_0x163a7b),this[_0x2b0b8d(0x14e)]=this[_0x2b0b8d(0x14a)](),this[_0x2b0b8d(0x145)]({'tag':_0x2b0b8d(0x164),'attributes':{'class':['ck',_0x2b0b8d(0x16b),_0xec00d,_0x2b0b8d(0x13b),_0x2b0b8d(0x158)]}});}[_0x1494a1(0x12d)](_0x1410b9){const _0x55e329=_0x1494a1;this[_0x55e329(0x140)][_0x55e329(0x132)]=_0x1410b9;}[_0x1494a1(0x14d)](){const _0x49c551=_0x1494a1;this[_0x49c551(0x140)][_0x49c551(0x15c)](this[_0x49c551(0x14e)][_0x49c551(0x140)]);}[_0x1494a1(0x14a)](){const _0x5cdd6d=_0x1494a1,_0x5ac1d5=new _0x2b3bcf(),_0xfcc15d=this[_0x5cdd6d(0x179)],_0x543e2b=new _0x193518();return _0x543e2b[_0x5cdd6d(0x14f)]=!0x0,_0x5ac1d5[_0x5cdd6d(0x145)]({'tag':_0x5cdd6d(0x164),'attributes':{'class':['ck',_0x5cdd6d(0x154)]},'children':[_0x543e2b,{'text':_0x477bc7(_0xfcc15d,_0x5cdd6d(0x176))}]}),_0x5ac1d5[_0x5cdd6d(0x160)](),_0x5ac1d5;}}function _0x1452(){const _0x7f52a=['6703557PKAjoe','919822xKPXQb','appendLoader','loaderView','isVisible','execCommand','getSelection','copy','write','ck-ai-form__loader','bindTemplate','<span>]</span>','<span>[</span>','ck-ai-form__content-field','listenTo','body','ClipboardItem','appendChild','\x20ck-ai-form__copy-button--copied','ck-ai-form__copy-button-wrapper','ck-ai-form__content-area-wrapper','render','remove','1660540uqkXBm','isEnabled','div','ck-ai-form__content-area','smooth','textContent','clipboard','copyButtonView','1gMaibx','ck-content','text/plain','23936280tkQutr','_createCopyButton','setStartAfter','removeAllRanges','change:value','Copy','ck-ai-form__content-area--processing','createRange','mousedown','AI\x20is\x20writing...','focus','class','locale','text/html','set','4489935NZweFv','value','querySelector','absolute','createElement','setContent','773793HswvBy','check','left','6121608NAMiNl','innerHTML','position','execute','.ck-ai-form__loader','setEndBefore','wheel','isProcessing','scrollHeight','contentFieldView','ck-reset_all-excluded','lastElementChild','icon','firstElementChild','change:isProcessing','element','bind','style','ck-ai-form__copy-button','_copyHTMLToClipboard','setTemplate','scrollTo','addRange','-9999px','ck-hidden','_createLoader'];_0x1452=function(){return _0x7f52a;};return _0x1452();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x33ceea,_0x1524ae){const _0x5bd883=_0x4d15,_0x2ab8fc=_0x33ceea();while(!![]){try{const _0x5299e0=-parseInt(_0x5bd883(0x1cd))/0x1*(-parseInt(_0x5bd883(0x1d6))/0x2)+parseInt(_0x5bd883(0x1da))/0x3*(parseInt(_0x5bd883(0x1d8))/0x4)+-parseInt(_0x5bd883(0x1d0))/0x5+parseInt(_0x5bd883(0x1ce))/0x6+-parseInt(_0x5bd883(0x1cf))/0x7*(-parseInt(_0x5bd883(0x1d2))/0x8)+-parseInt(_0x5bd883(0x1dd))/0x9*(parseInt(_0x5bd883(0x1de))/0xa)+parseInt(_0x5bd883(0x1d9))/0xb*(parseInt(_0x5bd883(0x1dc))/0xc);if(_0x5299e0===_0x1524ae)break;else _0x2ab8fc['push'](_0x2ab8fc['shift']());}catch(_0x148d11){_0x2ab8fc['push'](_0x2ab8fc['shift']());}}}(_0x20f8,0x2e0d2));function _0x20f8(){const _0x2db620=['bindTemplate','46TfsZIH','content','1240752CCpVsC','366872rjIzgd','3RZqeEg','set','84dUPRsh','9szsudp','2896780eLXpIM','ck-ai-form__error','519NpBTPR','619566biyNJm','1056181QEWKqg','1657145YZCXWH','text','8bgWqYB','div','setTemplate'];_0x20f8=function(){return _0x2db620;};return _0x20f8();}function _0x4d15(_0x2b0af5,_0xa30238){const _0x20f8fa=_0x20f8();return _0x4d15=function(_0x4d156a,_0x37f643){_0x4d156a=_0x4d156a-0x1cd;let _0x2ba814=_0x20f8fa[_0x4d156a];return _0x2ba814;},_0x4d15(_0x2b0af5,_0xa30238);}import{View as _0x3b158d,IconView as _0x5d2d48}from'ckeditor5/src/ui.js';import _0x2ccad4 from'../../../theme/icons/error.svg';export default class tt extends _0x3b158d{constructor(_0x4d0c4c,_0x458a2b=''){const _0x1237e9=_0x4d15;super(_0x4d0c4c);const _0x508b29=new _0x5d2d48(),_0x3cdbc=this[_0x1237e9(0x1d5)];this[_0x1237e9(0x1db)](_0x1237e9(0x1d1),_0x458a2b),_0x508b29[_0x1237e9(0x1d7)]=_0x2ccad4,this[_0x1237e9(0x1d4)]({'tag':_0x1237e9(0x1d3),'attributes':{'class':['ck',_0x1237e9(0x1df)]},'children':[_0x508b29,{'text':_0x3cdbc['to'](_0x1237e9(0x1d1))}]});}}
23
+ (function(_0x55e206,_0x5c12a7){const _0x5b5ee9=_0x5567,_0x5cc4f5=_0x55e206();while(!![]){try{const _0x1235e8=-parseInt(_0x5b5ee9(0x1cf))/0x1+-parseInt(_0x5b5ee9(0x1ce))/0x2*(parseInt(_0x5b5ee9(0x1cb))/0x3)+-parseInt(_0x5b5ee9(0x1cc))/0x4*(-parseInt(_0x5b5ee9(0x1d8))/0x5)+-parseInt(_0x5b5ee9(0x1d3))/0x6+parseInt(_0x5b5ee9(0x1cd))/0x7*(-parseInt(_0x5b5ee9(0x1d1))/0x8)+parseInt(_0x5b5ee9(0x1d5))/0x9+parseInt(_0x5b5ee9(0x1d9))/0xa;if(_0x1235e8===_0x5c12a7)break;else _0x5cc4f5['push'](_0x5cc4f5['shift']());}catch(_0x587c40){_0x5cc4f5['push'](_0x5cc4f5['shift']());}}}(_0x72df,0xc1316));function _0x72df(){const _0x2add90=['8826768ezsRGD','text','10549395WvKNfI','set','content','25rmuQIU','29669070WVVcLt','bindTemplate','ck-ai-form__error','668757qEKmTX','274612lITSUY','3899721PSakIF','14aDTgmD','102345DVpXus','setTemplate','8EBUwfh','div'];_0x72df=function(){return _0x2add90;};return _0x72df();}import{View as _0x3a3839,IconView as _0x351bef}from'ckeditor5/src/ui.js';function _0x5567(_0xc6e3c2,_0xa7809c){const _0x72df04=_0x72df();return _0x5567=function(_0x5567ba,_0x4d62db){_0x5567ba=_0x5567ba-0x1cb;let _0x1b3aab=_0x72df04[_0x5567ba];return _0x1b3aab;},_0x5567(_0xc6e3c2,_0xa7809c);}import _0x4c0ca5 from'../../../theme/icons/error.svg';export default class tt extends _0x3a3839{constructor(_0x4b022e,_0x2a0787=''){const _0x3bf0ef=_0x5567;super(_0x4b022e);const _0x52f64c=new _0x351bef(),_0x441831=this[_0x3bf0ef(0x1da)];this[_0x3bf0ef(0x1d6)](_0x3bf0ef(0x1d4),_0x2a0787),_0x52f64c[_0x3bf0ef(0x1d7)]=_0x4c0ca5,this[_0x3bf0ef(0x1d0)]({'tag':_0x3bf0ef(0x1d2),'attributes':{'class':['ck',_0x3bf0ef(0x1db)]},'children':[_0x52f64c,{'text':_0x441831['to'](_0x3bf0ef(0x1d4))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ed488=_0x3f17;(function(_0x2e672a,_0x1a8de2){const _0x45d97c=_0x3f17,_0x870900=_0x2e672a();while(!![]){try{const _0x935f51=-parseInt(_0x45d97c(0x76))/0x1*(parseInt(_0x45d97c(0x6a))/0x2)+parseInt(_0x45d97c(0x99))/0x3*(parseInt(_0x45d97c(0x69))/0x4)+-parseInt(_0x45d97c(0x6f))/0x5*(-parseInt(_0x45d97c(0x97))/0x6)+-parseInt(_0x45d97c(0x98))/0x7+-parseInt(_0x45d97c(0x7d))/0x8+-parseInt(_0x45d97c(0x6c))/0x9+-parseInt(_0x45d97c(0x6e))/0xa*(-parseInt(_0x45d97c(0x77))/0xb);if(_0x935f51===_0x1a8de2)break;else _0x870900['push'](_0x870900['shift']());}catch(_0x3f0eb7){_0x870900['push'](_0x870900['shift']());}}}(_0x5da4,0xd5975));import{Rect as _0x2ac2ae,global as _0x311300,isVisible as _0x278df4}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x19e5af,ButtonView as _0x5df408}from'ckeditor5/src/ui.js';import{icons as _0x312e79}from'ckeditor5/src/core.js';import{getTranslation as _0x4a98bf}from'../../utils/common-translations.js';import _0x2a63b0 from'../../../theme/icons/submit.svg';function _0x3f17(_0x1f7eb5,_0xed05a){const _0x5da4f3=_0x5da4();return _0x3f17=function(_0x3f17cf,_0x223150){_0x3f17cf=_0x3f17cf-0x69;let _0x32edd5=_0x5da4f3[_0x3f17cf];return _0x32edd5;},_0x3f17(_0x1f7eb5,_0xed05a);}export default class ht extends _0x19e5af{constructor(_0x6d392e,_0x5583f2){const _0x589dda=_0x3f17;super(_0x6d392e,_0x5583f2),this[_0x589dda(0x89)][_0x589dda(0x9d)][_0x589dda(0x6d)]=0x1,this[_0x589dda(0x89)][_0x589dda(0x9d)][_0x589dda(0x6b)]=0x3,this[_0x589dda(0x75)]=this[_0x589dda(0x90)](),this[_0x589dda(0x81)]=this[_0x589dda(0x87)](),this[_0x589dda(0xa2)][_0x589dda(0x83)](this[_0x589dda(0x81)],0x1),this[_0x589dda(0xa2)][_0x589dda(0x83)](this[_0x589dda(0x75)]);}[_0x3ed488(0x7f)](){const _0xa2c3b9=_0x3ed488;super[_0xa2c3b9(0x7f)](),this[_0xa2c3b9(0x89)][_0xa2c3b9(0x8b)][_0xa2c3b9(0x83)](this[_0xa2c3b9(0x81)]),this[_0xa2c3b9(0x71)][_0xa2c3b9(0x83)](this[_0xa2c3b9(0x75)]),this[_0xa2c3b9(0x96)][_0xa2c3b9(0x9b)](_0xa2c3b9(0x7c),(_0x4384e4,_0x277b29)=>{const _0x412179=_0xa2c3b9;_0x4384e4[_0x412179(0x91)]==this[_0x412179(0x89)][_0x412179(0x9d)][_0x412179(0x9a)]&&(this[_0x412179(0xa1)](),_0x277b29());});}[_0x3ed488(0x90)](){const _0x1409a2=_0x3ed488,_0x50b371=new _0x5df408(this[_0x1409a2(0x93)]),_0xd92d29=this[_0x1409a2(0x93)];return _0x50b371[_0x1409a2(0x9b)]({'icon':_0x2a63b0,'label':_0x4a98bf(_0xd92d29,_0x1409a2(0x79)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1409a2(0x84)}),_0x50b371['on'](_0x1409a2(0x80),()=>{const _0x3cf3da=_0x1409a2;this[_0x3cf3da(0xa1)]();}),_0x50b371[_0x1409a2(0x92)](_0x1409a2(0x8d))['to'](this[_0x1409a2(0x89)][_0x1409a2(0x9d)],_0x1409a2(0x78),this,_0x1409a2(0x8d),(_0x5f1f5a,_0x1b857d)=>!_0x5f1f5a&&_0x1b857d),_0x50b371;}[_0x3ed488(0x87)](){const _0x44ee7=_0x3ed488,_0x294707=new _0x5df408(this[_0x44ee7(0x93)]),_0x39753b=this[_0x44ee7(0x7b)],_0x1619f9=this[_0x44ee7(0x93)];_0x294707[_0x44ee7(0x9b)]({'label':_0x4a98bf(_0x1619f9,_0x44ee7(0x7a)),'withText':!0x1,'icon':_0x312e79[_0x44ee7(0x95)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x44ee7(0x7e)}),_0x294707[_0x44ee7(0x92)](_0x44ee7(0x8e))['to'](_0x39753b,_0x44ee7(0x85)),_0x294707[_0x44ee7(0x92)](_0x44ee7(0x8d))['to'](this,_0x44ee7(0x8d)),_0x294707['on'](_0x44ee7(0x80),()=>{const _0x350ea3=_0x44ee7;_0x39753b[_0x350ea3(0x85)]=!_0x39753b[_0x350ea3(0x85)],_0x39753b[_0x350ea3(0x85)]?this[_0x350ea3(0x73)][_0x350ea3(0x72)]():this[_0x350ea3(0x72)]();});const _0x2fe102=()=>{const _0x3d5c0f=_0x44ee7;_0x311300[_0x3d5c0f(0x82)][_0x3d5c0f(0x8c)](()=>{const _0x4b9d77=_0x3d5c0f;if(_0x278df4(this[_0x4b9d77(0x9a)])){const _0x4890f7=new _0x2ac2ae(this[_0x4b9d77(0x89)][_0x4b9d77(0x9d)][_0x4b9d77(0x9a)]),_0x4a7106=_0x4890f7[_0x4b9d77(0x74)],_0x5733c8=_0x4b9d77(0x9e)===_0x1619f9[_0x4b9d77(0x94)]?_0x4b9d77(0x88):_0x4b9d77(0x8f);_0x4890f7[_0x4b9d77(0x9f)](),_0x294707[_0x4b9d77(0x9a)][_0x4b9d77(0xa0)][_0x5733c8]=_0x4a7106-_0x4890f7[_0x4b9d77(0x74)]+0x1+'px';}});};return this[_0x44ee7(0x89)][_0x44ee7(0x9d)]['on'](_0x44ee7(0xa3),_0x2fe102),this['on'](_0x44ee7(0x7f),_0x2fe102),_0x294707;}[_0x3ed488(0xa1)](){const _0x105aad=_0x3ed488,_0x5ba3f9=this[_0x105aad(0x89)][_0x105aad(0x9d)][_0x105aad(0x9a)][_0x105aad(0x86)];this[_0x105aad(0x70)](_0x105aad(0xa1),_0x5ba3f9);}[_0x3ed488(0x72)](_0x7f2de6){const _0x215c2a=_0x3ed488;-0x1===_0x7f2de6?this[_0x215c2a(0xa4)][_0x215c2a(0x8a)]():this[_0x215c2a(0xa4)][_0x215c2a(0x9c)]();}}function _0x5da4(){const _0x4e8be4=['isEmpty','Submit','History','resultsView','enter','5596176ePGaJm','ck-ai-form__toggle-history','render','execute','showHistoryButtonView','window','add','ck-ai-form__submit','isVisible','value','_createShowHistoryButton','left','queryView','focusLast','fieldWrapperChildren','requestAnimationFrame','isEnabled','isOn','right','_createSubmitButton','target','bind','locale','uiLanguageDirection','history','keystrokes','6DYBlyS','8282141FEInzt','459FzmyjY','element','set','focusFirst','fieldView','rtl','excludeScrollbarsAndBorders','style','submit','focusableChildren','update','focusCycler','8844CnulZy','2VDYxFA','maxRows','8038854GdLTmF','minRows','614330tUvaxw','583985CTKwHO','fire','children','focus','filteredView','width','submitButtonView','920331dbhDLg','737ekfOAf'];_0x5da4=function(){return _0x4e8be4;};return _0x5da4();}
23
+ const _0x469857=_0x1ef2;(function(_0x75314d,_0x1b8636){const _0x495d11=_0x1ef2,_0x5bb37f=_0x75314d();while(!![]){try{const _0x32a075=parseInt(_0x495d11(0xec))/0x1+parseInt(_0x495d11(0xf8))/0x2*(-parseInt(_0x495d11(0x10b))/0x3)+parseInt(_0x495d11(0xf6))/0x4+parseInt(_0x495d11(0xe2))/0x5+parseInt(_0x495d11(0x105))/0x6*(parseInt(_0x495d11(0xf9))/0x7)+-parseInt(_0x495d11(0x117))/0x8+-parseInt(_0x495d11(0xf7))/0x9;if(_0x32a075===_0x1b8636)break;else _0x5bb37f['push'](_0x5bb37f['shift']());}catch(_0x2f0026){_0x5bb37f['push'](_0x5bb37f['shift']());}}}(_0x501d,0xe352f));import{Rect as _0x4d0e31,global as _0xd74b92,isVisible as _0x3de73d}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x21a7e0,ButtonView as _0x16fcfd}from'ckeditor5/src/ui.js';function _0x1ef2(_0xc4df09,_0x524dcd){const _0x501d0d=_0x501d();return _0x1ef2=function(_0x1ef23e,_0x4501f7){_0x1ef23e=_0x1ef23e-0xe0;let _0x2aa693=_0x501d0d[_0x1ef23e];return _0x2aa693;},_0x1ef2(_0xc4df09,_0x524dcd);}import{icons as _0x401568}from'ckeditor5/src/core.js';import{getTranslation as _0xe102b5}from'../../utils/common-translations.js';import _0x1f818e from'../../../theme/icons/submit.svg';function _0x501d(){const _0x526937=['_createSubmitButton','1580280YhivYv','11013345xXnubw','441266yquizt','1240169dwnfZl','focusFirst','minRows','right','Submit','focusCycler','ck-ai-form__toggle-history','isEnabled','element','rtl','history','locale','12TBKwRC','width','bind','value','render','_createShowHistoryButton','3Ubjaec','History','submitButtonView','isVisible','queryView','isEmpty','update','fieldView','filteredView','fieldWrapperChildren','add','requestAnimationFrame','683832EPoJQj','ck-ai-form__submit','enter','submit','excludeScrollbarsAndBorders','4016485DvTiCj','set','children','resultsView','isOn','keystrokes','showHistoryButtonView','window','target','fire','908235xfdAbl','execute','style','left','uiLanguageDirection','maxRows','focus','focusLast','focusableChildren'];_0x501d=function(){return _0x526937;};return _0x501d();}export default class ht extends _0x21a7e0{constructor(_0x518e12,_0x27d800){const _0x90aa5b=_0x1ef2;super(_0x518e12,_0x27d800),this[_0x90aa5b(0x10f)][_0x90aa5b(0x112)][_0x90aa5b(0xfb)]=0x1,this[_0x90aa5b(0x10f)][_0x90aa5b(0x112)][_0x90aa5b(0xf1)]=0x3,this[_0x90aa5b(0x10d)]=this[_0x90aa5b(0xf5)](),this[_0x90aa5b(0xe8)]=this[_0x90aa5b(0x10a)](),this[_0x90aa5b(0xf4)][_0x90aa5b(0x115)](this[_0x90aa5b(0xe8)],0x1),this[_0x90aa5b(0xf4)][_0x90aa5b(0x115)](this[_0x90aa5b(0x10d)]);}[_0x469857(0x109)](){const _0x38e71c=_0x469857;super[_0x38e71c(0x109)](),this[_0x38e71c(0x10f)][_0x38e71c(0x114)][_0x38e71c(0x115)](this[_0x38e71c(0xe8)]),this[_0x38e71c(0xe4)][_0x38e71c(0x115)](this[_0x38e71c(0x10d)]),this[_0x38e71c(0xe7)][_0x38e71c(0xe3)](_0x38e71c(0x119),(_0x351bb8,_0x7dfa94)=>{const _0x294b1a=_0x38e71c;_0x351bb8[_0x294b1a(0xea)]==this[_0x294b1a(0x10f)][_0x294b1a(0x112)][_0x294b1a(0x101)]&&(this[_0x294b1a(0xe0)](),_0x7dfa94());});}[_0x469857(0xf5)](){const _0x1a77bb=_0x469857,_0x50e18b=new _0x16fcfd(this[_0x1a77bb(0x104)]),_0x572705=this[_0x1a77bb(0x104)];return _0x50e18b[_0x1a77bb(0xe3)]({'icon':_0x1f818e,'label':_0xe102b5(_0x572705,_0x1a77bb(0xfd)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1a77bb(0x118)}),_0x50e18b['on'](_0x1a77bb(0xed),()=>{const _0x38a948=_0x1a77bb;this[_0x38a948(0xe0)]();}),_0x50e18b[_0x1a77bb(0x107)](_0x1a77bb(0x100))['to'](this[_0x1a77bb(0x10f)][_0x1a77bb(0x112)],_0x1a77bb(0x110),this,_0x1a77bb(0x100),(_0x50a2d9,_0x4063a6)=>!_0x50a2d9&&_0x4063a6),_0x50e18b;}[_0x469857(0x10a)](){const _0x403d6c=_0x469857,_0x17a823=new _0x16fcfd(this[_0x403d6c(0x104)]),_0x4326f8=this[_0x403d6c(0xe5)],_0x46bb86=this[_0x403d6c(0x104)];_0x17a823[_0x403d6c(0xe3)]({'label':_0xe102b5(_0x46bb86,_0x403d6c(0x10c)),'withText':!0x1,'icon':_0x401568[_0x403d6c(0x103)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x403d6c(0xff)}),_0x17a823[_0x403d6c(0x107)](_0x403d6c(0xe6))['to'](_0x4326f8,_0x403d6c(0x10e)),_0x17a823[_0x403d6c(0x107)](_0x403d6c(0x100))['to'](this,_0x403d6c(0x100)),_0x17a823['on'](_0x403d6c(0xed),()=>{const _0x53e54c=_0x403d6c;_0x4326f8[_0x53e54c(0x10e)]=!_0x4326f8[_0x53e54c(0x10e)],_0x4326f8[_0x53e54c(0x10e)]?this[_0x53e54c(0x113)][_0x53e54c(0xf2)]():this[_0x53e54c(0xf2)]();});const _0x4c3ffd=()=>{const _0x59074e=_0x403d6c;_0xd74b92[_0x59074e(0xe9)][_0x59074e(0x116)](()=>{const _0x4b7b87=_0x59074e;if(_0x3de73d(this[_0x4b7b87(0x101)])){const _0x924bc1=new _0x4d0e31(this[_0x4b7b87(0x10f)][_0x4b7b87(0x112)][_0x4b7b87(0x101)]),_0x50dac6=_0x924bc1[_0x4b7b87(0x106)],_0x1f7534=_0x4b7b87(0x102)===_0x46bb86[_0x4b7b87(0xf0)]?_0x4b7b87(0xef):_0x4b7b87(0xfc);_0x924bc1[_0x4b7b87(0xe1)](),_0x17a823[_0x4b7b87(0x101)][_0x4b7b87(0xee)][_0x1f7534]=_0x50dac6-_0x924bc1[_0x4b7b87(0x106)]+0x1+'px';}});};return this[_0x403d6c(0x10f)][_0x403d6c(0x112)]['on'](_0x403d6c(0x111),_0x4c3ffd),this['on'](_0x403d6c(0x109),_0x4c3ffd),_0x17a823;}[_0x469857(0xe0)](){const _0x2aca20=_0x469857,_0x565142=this[_0x2aca20(0x10f)][_0x2aca20(0x112)][_0x2aca20(0x101)][_0x2aca20(0x108)];this[_0x2aca20(0xeb)](_0x2aca20(0xe0),_0x565142);}[_0x469857(0xf2)](_0x14fb20){const _0x4a1c92=_0x469857;-0x1===_0x14fb20?this[_0x4a1c92(0xfe)][_0x4a1c92(0xf3)]():this[_0x4a1c92(0xfe)][_0x4a1c92(0xfa)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd3ff06=_0x368f;(function(_0x2b2436,_0x18fc3b){const _0x5816dd=_0x368f,_0x4a0bf3=_0x2b2436();while(!![]){try{const _0x52efd7=parseInt(_0x5816dd(0x10f))/0x1+parseInt(_0x5816dd(0x108))/0x2*(-parseInt(_0x5816dd(0x124))/0x3)+parseInt(_0x5816dd(0x112))/0x4+-parseInt(_0x5816dd(0x114))/0x5+parseInt(_0x5816dd(0x11f))/0x6+-parseInt(_0x5816dd(0x10c))/0x7*(parseInt(_0x5816dd(0x116))/0x8)+-parseInt(_0x5816dd(0x105))/0x9*(-parseInt(_0x5816dd(0x111))/0xa);if(_0x52efd7===_0x18fc3b)break;else _0x4a0bf3['push'](_0x4a0bf3['shift']());}catch(_0x27996f){_0x4a0bf3['push'](_0x4a0bf3['shift']());}}}(_0x45ca,0x5c5b7));import{ToolbarView as _0x39cc9a,ButtonView as _0x1b6ef5}from'ckeditor5/src/ui.js';import{getTranslation as _0x4ae34f}from'../../utils/common-translations.js';function _0x368f(_0x5f09d3,_0x5f140b){const _0x45ca00=_0x45ca();return _0x368f=function(_0x368f1c,_0x345a3a){_0x368f1c=_0x368f1c-0x104;let _0x519240=_0x45ca00[_0x368f1c];return _0x519240;},_0x368f(_0x5f09d3,_0x5f140b);}function _0x45ca(){const _0x11aff6=['Stop','9SPwvOQ','Insert\x20below','set','4JJxuJC','isVisible','extendTemplate','insert','176533wqjpMw','mainAction','_createButton','364975uXijbb','bindTemplate','6569690uimKoP','2472864jvHXex','addMany','1845555LSOOpq','REPLACE','184xMWVKn','label','_CONTENT','bind','replaceButton','locale','toUpperCase','insertButton','ck-button-action','359814wlRNBP','stopButton','ck-hidden','tryAgainButton','items','559029prHuFd','replace','AI_','ck-ai-form__toolbar','Try\x20again'];_0x45ca=function(){return _0x11aff6;};return _0x45ca();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xd3ff06(0x125),'INSERT':_0xd3ff06(0x10b)};export default class nt extends _0x39cc9a{constructor(_0x1ea643){const _0x529ce6=_0xd3ff06;super(_0x1ea643),this[_0x529ce6(0x107)](_0x529ce6(0x109),!0x1),this[_0x529ce6(0x107)](_0x529ce6(0x10d),AIFormToolbarViewMainActionLabel[_0x529ce6(0x115)]),this[_0x529ce6(0x11a)]=this[_0x529ce6(0x10e)]('',_0x529ce6(0x11e)),this[_0x529ce6(0x11a)][_0x529ce6(0x119)](_0x529ce6(0x117))['to'](this,_0x529ce6(0x10d),_0x4b84b0=>_0x4ae34f(_0x1ea643,_0x529ce6(0x126)+_0x4b84b0[_0x529ce6(0x11c)]()+_0x529ce6(0x118))),this[_0x529ce6(0x11d)]=this[_0x529ce6(0x10e)](_0x4ae34f(_0x1ea643,_0x529ce6(0x106))),this[_0x529ce6(0x122)]=this[_0x529ce6(0x10e)](_0x4ae34f(_0x1ea643,_0x529ce6(0x128))),this[_0x529ce6(0x120)]=this[_0x529ce6(0x10e)](_0x4ae34f(_0x1ea643,_0x529ce6(0x104)));const _0x425d04=this[_0x529ce6(0x110)];this[_0x529ce6(0x10a)]({'attributes':{'class':[_0x529ce6(0x127),_0x425d04['if'](_0x529ce6(0x109),_0x529ce6(0x121),_0x3df72=>!_0x3df72)]}}),this[_0x529ce6(0x123)][_0x529ce6(0x113)]([this[_0x529ce6(0x11a)],this[_0x529ce6(0x11d)],this[_0x529ce6(0x122)],this[_0x529ce6(0x120)]]);}[_0xd3ff06(0x10e)](_0x4dc97f,_0x363aa5){const _0x2e7353=_0xd3ff06,_0x5a6dfb=new _0x1b6ef5(this[_0x2e7353(0x11b)]);return _0x5a6dfb[_0x2e7353(0x107)]({'label':_0x4dc97f,'class':_0x363aa5||'','isVisible':!0x0,'withText':!0x0}),_0x5a6dfb;}}
23
+ function _0x1369(){const _0xe27241=['5611240kDeVJD','insert','extendTemplate','replaceButton','ck-button-action','set','5052550gvbuAf','bindTemplate','label','_CONTENT','tryAgainButton','toUpperCase','3667644gVsRJD','Try\x20again','isVisible','REPLACE','_createButton','1454645nkQDuz','addMany','stopButton','Insert\x20below','AI_','replace','112vagxzr','9FZLRIZ','items','locale','Stop','insertButton','ck-hidden','758991DSAYQD','ck-ai-form__toolbar','1281609PGVQRl','10956dtyoNH','mainAction','bind','4tGSGFB'];_0x1369=function(){return _0xe27241;};return _0x1369();}const _0x5dbc10=_0x2fd4;(function(_0x14fe91,_0x169f7c){const _0x30cb13=_0x2fd4,_0x4fe7bb=_0x14fe91();while(!![]){try{const _0x375f31=-parseInt(_0x30cb13(0x163))/0x1*(-parseInt(_0x30cb13(0x159))/0x2)+-parseInt(_0x30cb13(0x160))/0x3+-parseInt(_0x30cb13(0x166))/0x4*(-parseInt(_0x30cb13(0x153))/0x5)+-parseInt(_0x30cb13(0x173))/0x6+parseInt(_0x30cb13(0x162))/0x7+-parseInt(_0x30cb13(0x167))/0x8*(-parseInt(_0x30cb13(0x15a))/0x9)+-parseInt(_0x30cb13(0x16d))/0xa;if(_0x375f31===_0x169f7c)break;else _0x4fe7bb['push'](_0x4fe7bb['shift']());}catch(_0x53fc82){_0x4fe7bb['push'](_0x4fe7bb['shift']());}}}(_0x1369,0x66667));import{ToolbarView as _0x5c1941,ButtonView as _0x2bce9a}from'ckeditor5/src/ui.js';import{getTranslation as _0x131a62}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x5dbc10(0x158),'INSERT':_0x5dbc10(0x168)};function _0x2fd4(_0x268fd3,_0x186d53){const _0x1369af=_0x1369();return _0x2fd4=function(_0x2fd4fa,_0x937a94){_0x2fd4fa=_0x2fd4fa-0x150;let _0x3eb81c=_0x1369af[_0x2fd4fa];return _0x3eb81c;},_0x2fd4(_0x268fd3,_0x186d53);}export default class nt extends _0x5c1941{constructor(_0x286834){const _0x3be708=_0x5dbc10;super(_0x286834),this[_0x3be708(0x16c)](_0x3be708(0x150),!0x1),this[_0x3be708(0x16c)](_0x3be708(0x164),AIFormToolbarViewMainActionLabel[_0x3be708(0x151)]),this[_0x3be708(0x16a)]=this[_0x3be708(0x152)]('',_0x3be708(0x16b)),this[_0x3be708(0x16a)][_0x3be708(0x165)](_0x3be708(0x16f))['to'](this,_0x3be708(0x164),_0x22d10b=>_0x131a62(_0x286834,_0x3be708(0x157)+_0x22d10b[_0x3be708(0x172)]()+_0x3be708(0x170))),this[_0x3be708(0x15e)]=this[_0x3be708(0x152)](_0x131a62(_0x286834,_0x3be708(0x156))),this[_0x3be708(0x171)]=this[_0x3be708(0x152)](_0x131a62(_0x286834,_0x3be708(0x174))),this[_0x3be708(0x155)]=this[_0x3be708(0x152)](_0x131a62(_0x286834,_0x3be708(0x15d)));const _0x3b0c20=this[_0x3be708(0x16e)];this[_0x3be708(0x169)]({'attributes':{'class':[_0x3be708(0x161),_0x3b0c20['if'](_0x3be708(0x150),_0x3be708(0x15f),_0x4111e1=>!_0x4111e1)]}}),this[_0x3be708(0x15b)][_0x3be708(0x154)]([this[_0x3be708(0x16a)],this[_0x3be708(0x15e)],this[_0x3be708(0x171)],this[_0x3be708(0x155)]]);}[_0x5dbc10(0x152)](_0x491951,_0x137ccc){const _0x18ae2d=_0x5dbc10,_0xa64116=new _0x2bce9a(this[_0x18ae2d(0x15c)]);return _0xa64116[_0x18ae2d(0x16c)]({'label':_0x491951,'class':_0x137ccc||'','isVisible':!0x0,'withText':!0x0}),_0xa64116;}}