@ckeditor/ckeditor5-ai 46.1.1-alpha.2 → 46.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.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 +9 -9
  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
- function _0xb193(){const _0x2a07a8=['translateFrench','Confident','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','makeLonger','ai.aiAssistant.extraCommandGroups','188155lXhdkF','translateEnglish','forEach','poetic','Professional','isPremiumPlugin','Translate\x20the\x20content\x20to\x20Hindi\x20language.','simplifyLanguage','direct','Translate','business','Direct','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','groupId','requires','legal','ai.aiAssistant.commands','ai.aiAssistant.removeCommands','filter','Make\x20shorter','config','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','casual','Change\x20style','Continue','Arabic','ai.aiAssistant.preserveComments','translateArabic','translateChinese','isOfficialPlugin','includes','Generate\x20from\x20selection','Simplified\x20Chinese','Simplify\x20language','Change\x20tone','summarize','commands','1609536QynorX','Translate\x20the\x20content\x20to\x20German\x20language.','10jrhuch','translatePortuguese','pluginName','Poetic','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','set','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Portuguese','Spanish','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','translateGerman','professional','generate','translateSpanish','Edit\x20or\x20review','Make\x20longer','French','Translate\x20the\x20content\x20to\x20English\x20language.','locale','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','2284758PEATxB','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Friendly','editOrReview','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Journalism','876452vIJtsJ','changeTone','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','English','546021JlRTkx','concat','journalism','Translate\x20the\x20content\x20to\x20Arabic\x20language.','makeShorter','Hindi','Legal','AIAssistant','Casual','Translate\x20the\x20content\x20to\x20French\x20language.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','friendly','translate','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','German','Improve\x20writing','Summarize','2054304iLsDFL','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','push','improveWriting','get','Translate\x20the\x20content\x20to\x20Spanish\x20language.','confident','3026436zijnBa','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','continue','define','translateHindi','find','Business','changeStyle'];_0xb193=function(){return _0x2a07a8;};return _0xb193();}const _0x119f90=_0xb3c9;(function(_0x4f84b9,_0x3fc22c){const _0x18573d=_0xb3c9,_0x55a801=_0x4f84b9();while(!![]){try{const _0x4d8dc5=-parseInt(_0x18573d(0x11a))/0x1+-parseInt(_0x18573d(0x15e))/0x2+parseInt(_0x18573d(0x155))/0x3+-parseInt(_0x18573d(0x173))/0x4+parseInt(_0x18573d(0x141))/0x5*(parseInt(_0x18573d(0x17a))/0x6)+parseInt(_0x18573d(0x162))/0x7+-parseInt(_0x18573d(0x13f))/0x8;if(_0x4d8dc5===_0x3fc22c)break;else _0x55a801['push'](_0x55a801['shift']());}catch(_0x303b78){_0x55a801['push'](_0x55a801['shift']());}}}(_0xb193,0x7bd74));import{Plugin as _0x4049ee}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x56bd44}from'./aiassistantui.js';import{AIAssistantEditing as _0x288535}from'./aiassistantediting.js';import{getTranslation as _0x478b28}from'./utils/common-translations.js';function _0xb3c9(_0x1c9016,_0x53e7c4){const _0xb193f8=_0xb193();return _0xb3c9=function(_0xb3c94c,_0x5ad5a3){_0xb3c94c=_0xb3c94c-0x116;let _0x3d7574=_0xb193f8[_0xb3c94c];return _0x3d7574;},_0xb3c9(_0x1c9016,_0x53e7c4);}import{normalizeCommandsConfig as _0xd039e6}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x4049ee{static get[_0x119f90(0x128)](){return[_0x56bd44,_0x288535];}static get[_0x119f90(0x143)](){const _0x5157bd=_0x119f90;return _0x5157bd(0x169);}static get[_0x119f90(0x137)](){return!0x0;}static get[_0x119f90(0x11f)](){return!0x0;}constructor(_0x34d079){const _0x2238a4=_0x119f90;super(_0x34d079);const _0x5a9aec=_0x34d079[_0x2238a4(0x12e)],_0x3aaf37=_0x34d079[_0x2238a4(0x153)];_0x5a9aec[_0x2238a4(0x17d)](_0x2238a4(0x134),!0x0),_0x5a9aec[_0x2238a4(0x17d)](_0x2238a4(0x12a),getDefaultAICommands(_0x3aaf37)),_0x5a9aec[_0x2238a4(0x17d)](_0x2238a4(0x119),[]),_0x5a9aec[_0x2238a4(0x17d)](_0x2238a4(0x12b),[]);let _0x573fa8=_0xd039e6(_0x5a9aec[_0x2238a4(0x177)](_0x2238a4(0x12a)),_0x3aaf37);const _0x1a7c1e=_0x5a9aec[_0x2238a4(0x177)](_0x2238a4(0x119)),_0x148640=_0x5a9aec[_0x2238a4(0x177)](_0x2238a4(0x12b));_0x1a7c1e[_0x2238a4(0x11c)](_0x39da65=>{const _0x3637e1=_0x2238a4,_0x229980=_0x573fa8[_0x3637e1(0x17f)](_0x4395e0=>_0x4395e0[_0x3637e1(0x127)]===_0x39da65[_0x3637e1(0x127)]);_0x229980?_0x229980[_0x3637e1(0x13e)]=_0x229980[_0x3637e1(0x13e)][_0x3637e1(0x163)](_0x39da65[_0x3637e1(0x13e)]):_0x573fa8[_0x3637e1(0x175)](_0x39da65);}),_0x573fa8=_0x573fa8[_0x2238a4(0x12c)](_0x5c0de8=>!_0x148640[_0x2238a4(0x138)](_0x5c0de8[_0x2238a4(0x127)])),_0x573fa8[_0x2238a4(0x11c)](_0x4112c9=>{const _0x5492fc=_0x2238a4;_0x4112c9[_0x5492fc(0x13e)]=_0x4112c9[_0x5492fc(0x13e)][_0x5492fc(0x12c)](_0x11ad33=>!_0x148640[_0x5492fc(0x138)](_0x11ad33['id']));}),_0x5a9aec[_0x2238a4(0x146)](_0x2238a4(0x12a),_0x573fa8);}}export function getDefaultAICommands(_0x40b73c){const _0x463e85=_0x119f90;return[{'groupId':_0x463e85(0x159),'groupLabel':_0x478b28(_0x40b73c,_0x463e85(0x14f)),'commands':[{'id':_0x463e85(0x176),'label':_0x478b28(_0x40b73c,_0x463e85(0x171)),'prompt':_0x463e85(0x14a)},{'id':_0x463e85(0x166),'label':_0x478b28(_0x40b73c,_0x463e85(0x12d)),'prompt':_0x463e85(0x157)},{'id':_0x463e85(0x118),'label':_0x478b28(_0x40b73c,_0x463e85(0x150)),'prompt':_0x463e85(0x154)},{'id':_0x463e85(0x121),'label':_0x478b28(_0x40b73c,_0x463e85(0x13b)),'prompt':_0x463e85(0x12f)}]},{'groupId':_0x463e85(0x14d),'groupLabel':_0x478b28(_0x40b73c,_0x463e85(0x139)),'commands':[{'id':_0x463e85(0x13d),'label':_0x478b28(_0x40b73c,_0x463e85(0x172)),'prompt':_0x463e85(0x17b)},{'id':_0x463e85(0x17c),'label':_0x478b28(_0x40b73c,_0x463e85(0x132)),'prompt':_0x463e85(0x117)}]},{'groupId':_0x463e85(0x15f),'groupLabel':_0x478b28(_0x40b73c,_0x463e85(0x13c)),'commands':[{'id':_0x463e85(0x14c),'label':_0x478b28(_0x40b73c,_0x463e85(0x11e)),'prompt':_0x463e85(0x15b)},{'id':_0x463e85(0x130),'label':_0x478b28(_0x40b73c,_0x463e85(0x16a)),'prompt':_0x463e85(0x174)},{'id':_0x463e85(0x122),'label':_0x478b28(_0x40b73c,_0x463e85(0x125)),'prompt':_0x463e85(0x16c)},{'id':_0x463e85(0x179),'label':_0x478b28(_0x40b73c,_0x463e85(0x116)),'prompt':_0x463e85(0x156)},{'id':_0x463e85(0x16d),'label':_0x478b28(_0x40b73c,_0x463e85(0x158)),'prompt':_0x463e85(0x126)}]},{'groupId':_0x463e85(0x181),'groupLabel':_0x478b28(_0x40b73c,_0x463e85(0x131)),'commands':[{'id':_0x463e85(0x124),'label':_0x478b28(_0x40b73c,_0x463e85(0x180)),'prompt':_0x463e85(0x147)},{'id':_0x463e85(0x129),'label':_0x478b28(_0x40b73c,_0x463e85(0x168)),'prompt':_0x463e85(0x15c)},{'id':_0x463e85(0x164),'label':_0x478b28(_0x40b73c,_0x463e85(0x15d)),'prompt':_0x463e85(0x16f)},{'id':_0x463e85(0x11d),'label':_0x478b28(_0x40b73c,_0x463e85(0x144)),'prompt':_0x463e85(0x145)}]},{'groupId':_0x463e85(0x16e),'groupLabel':_0x478b28(_0x40b73c,_0x463e85(0x123)),'commands':[{'id':_0x463e85(0x11b),'label':_0x478b28(_0x40b73c,_0x463e85(0x161)),'prompt':_0x463e85(0x152)},{'id':_0x463e85(0x14e),'label':_0x478b28(_0x40b73c,_0x463e85(0x149)),'prompt':_0x463e85(0x178)},{'id':_0x463e85(0x142),'label':_0x478b28(_0x40b73c,_0x463e85(0x148)),'prompt':_0x463e85(0x160)},{'id':_0x463e85(0x14b),'label':_0x478b28(_0x40b73c,_0x463e85(0x170)),'prompt':_0x463e85(0x140)},{'id':_0x463e85(0x182),'label':_0x478b28(_0x40b73c,_0x463e85(0x151)),'prompt':_0x463e85(0x16b)},{'id':_0x463e85(0x136),'label':_0x478b28(_0x40b73c,_0x463e85(0x13a)),'prompt':_0x463e85(0x15a)},{'id':_0x463e85(0x17e),'label':_0x478b28(_0x40b73c,_0x463e85(0x167)),'prompt':_0x463e85(0x120)},{'id':_0x463e85(0x135),'label':_0x478b28(_0x40b73c,_0x463e85(0x133)),'prompt':_0x463e85(0x165)}]}];}
23
+ const _0x5bd129=_0x44a7;(function(_0x26352e,_0x1417c7){const _0x310847=_0x44a7,_0x424620=_0x26352e();while(!![]){try{const _0x2b12a4=parseInt(_0x310847(0x197))/0x1*(parseInt(_0x310847(0x1ce))/0x2)+-parseInt(_0x310847(0x19e))/0x3*(-parseInt(_0x310847(0x1c5))/0x4)+-parseInt(_0x310847(0x1d7))/0x5*(parseInt(_0x310847(0x1ec))/0x6)+parseInt(_0x310847(0x1c4))/0x7+parseInt(_0x310847(0x1ab))/0x8+parseInt(_0x310847(0x1c6))/0x9+-parseInt(_0x310847(0x18e))/0xa;if(_0x2b12a4===_0x1417c7)break;else _0x424620['push'](_0x424620['shift']());}catch(_0x77eec3){_0x424620['push'](_0x424620['shift']());}}}(_0x5e39,0x8535e));function _0x44a7(_0x38ea63,_0x105cbd){const _0x5e39af=_0x5e39();return _0x44a7=function(_0x44a7e5,_0x596787){_0x44a7e5=_0x44a7e5-0x181;let _0x293b96=_0x5e39af[_0x44a7e5];return _0x293b96;},_0x44a7(_0x38ea63,_0x105cbd);}import{Plugin as _0x24b27c}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x6ce8e9}from'./aiassistantui.js';import{AIAssistantEditing as _0x5f0324}from'./aiassistantediting.js';function _0x5e39(){const _0x3bfbcc=['Casual','locale','Change\x20style','ai.aiAssistant.commands','forEach','translateChinese','improveWriting','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','groupId','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Continue','generate','business','changeTone','2873220ImNyiY','Translate\x20the\x20content\x20to\x20Arabic\x20language.','push','German','friendly','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','translate','Simplify\x20language','Legal','Friendly','simplifyLanguage','makeLonger','casual','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','get','Translate\x20the\x20content\x20to\x20German\x20language.','French','5773570jodmaI','Summarize','English','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Make\x20shorter','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','requires','isOfficialPlugin','14987qCbmrP','AIAssistant','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Spanish','changeStyle','Poetic','summarize','18lYYnZQ','Confident','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','ai.aiAssistant.removeCommands','professional','Change\x20tone','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','direct','ai.aiAssistant.extraCommandGroups','commands','translateArabic','confident','config','1518128HpYhcf','Translate','translateEnglish','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','continue','poetic','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Direct','Improve\x20writing','Simplified\x20Chinese','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','pluginName','translateFrench','makeShorter','isPremiumPlugin','journalism','Translate\x20the\x20content\x20to\x20French\x20language.','translateSpanish','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Professional','define','filter','Arabic','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','6897072QqAnnj','13560HUDQcj','3388329uJAktV','find','Translate\x20the\x20content\x20to\x20English\x20language.','Hindi','Make\x20longer','set','translatePortuguese','Edit\x20or\x20review','4gtgpfk','Generate\x20from\x20selection','Journalism','editOrReview','translateGerman','ai.aiAssistant.preserveComments','legal','concat','includes','5TKDFhD','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Business','Portuguese','translateHindi','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'];_0x5e39=function(){return _0x3bfbcc;};return _0x5e39();}import{getTranslation as _0x21ae89}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x201ae8}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x24b27c{static get[_0x5bd129(0x195)](){return[_0x6ce8e9,_0x5f0324];}static get[_0x5bd129(0x1b7)](){const _0x50f1f4=_0x5bd129;return _0x50f1f4(0x198);}static get[_0x5bd129(0x196)](){return!0x0;}static get[_0x5bd129(0x1ba)](){return!0x0;}constructor(_0x496958){const _0x5d00a9=_0x5bd129;super(_0x496958);const _0xe448d=_0x496958[_0x5d00a9(0x1aa)],_0x1b915b=_0x496958[_0x5d00a9(0x1df)];_0xe448d[_0x5d00a9(0x1c0)](_0x5d00a9(0x1d3),!0x0),_0xe448d[_0x5d00a9(0x1c0)](_0x5d00a9(0x1e1),getDefaultAICommands(_0x1b915b)),_0xe448d[_0x5d00a9(0x1c0)](_0x5d00a9(0x1a6),[]),_0xe448d[_0x5d00a9(0x1c0)](_0x5d00a9(0x1a1),[]);let _0x20ca00=_0x201ae8(_0xe448d[_0x5d00a9(0x18b)](_0x5d00a9(0x1e1)),_0x1b915b);const _0x13d70a=_0xe448d[_0x5d00a9(0x18b)](_0x5d00a9(0x1a6)),_0x295351=_0xe448d[_0x5d00a9(0x18b)](_0x5d00a9(0x1a1));_0x13d70a[_0x5d00a9(0x1e2)](_0x243263=>{const _0x61d0ea=_0x5d00a9,_0x499f6b=_0x20ca00[_0x61d0ea(0x1c7)](_0x4a309d=>_0x4a309d[_0x61d0ea(0x1e6)]===_0x243263[_0x61d0ea(0x1e6)]);_0x499f6b?_0x499f6b[_0x61d0ea(0x1a7)]=_0x499f6b[_0x61d0ea(0x1a7)][_0x61d0ea(0x1d5)](_0x243263[_0x61d0ea(0x1a7)]):_0x20ca00[_0x61d0ea(0x1ee)](_0x243263);}),_0x20ca00=_0x20ca00[_0x5d00a9(0x1c1)](_0x54cdc6=>!_0x295351[_0x5d00a9(0x1d6)](_0x54cdc6[_0x5d00a9(0x1e6)])),_0x20ca00[_0x5d00a9(0x1e2)](_0x58ed1a=>{const _0x7451e2=_0x5d00a9;_0x58ed1a[_0x7451e2(0x1a7)]=_0x58ed1a[_0x7451e2(0x1a7)][_0x7451e2(0x1c1)](_0x24e7a6=>!_0x295351[_0x7451e2(0x1d6)](_0x24e7a6['id']));}),_0xe448d[_0x5d00a9(0x1cb)](_0x5d00a9(0x1e1),_0x20ca00);}}export function getDefaultAICommands(_0x1e0ee5){const _0x5bd6c3=_0x5bd129;return[{'groupId':_0x5bd6c3(0x1d1),'groupLabel':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1cd)),'commands':[{'id':_0x5bd6c3(0x1e4),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1b4)),'prompt':_0x5bd6c3(0x1b2)},{'id':_0x5bd6c3(0x1b9),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x193)),'prompt':_0x5bd6c3(0x1be)},{'id':_0x5bd6c3(0x188),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1ca)),'prompt':_0x5bd6c3(0x1a0)},{'id':_0x5bd6c3(0x187),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x184)),'prompt':_0x5bd6c3(0x1b6)}]},{'groupId':_0x5bd6c3(0x1e9),'groupLabel':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1cf)),'commands':[{'id':_0x5bd6c3(0x19d),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x18f)),'prompt':_0x5bd6c3(0x199)},{'id':_0x5bd6c3(0x1b0),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1e8)),'prompt':_0x5bd6c3(0x1c3)}]},{'groupId':_0x5bd6c3(0x1eb),'groupLabel':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1a3)),'commands':[{'id':_0x5bd6c3(0x1a2),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1bf)),'prompt':_0x5bd6c3(0x191)},{'id':_0x5bd6c3(0x189),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1de)),'prompt':_0x5bd6c3(0x1a4)},{'id':_0x5bd6c3(0x1a5),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1b3)),'prompt':_0x5bd6c3(0x1e7)},{'id':_0x5bd6c3(0x1a9),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x19f)),'prompt':_0x5bd6c3(0x192)},{'id':_0x5bd6c3(0x181),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x186)),'prompt':_0x5bd6c3(0x1e5)}]},{'groupId':_0x5bd6c3(0x19b),'groupLabel':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1e0)),'commands':[{'id':_0x5bd6c3(0x1ea),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1d9)),'prompt':_0x5bd6c3(0x182)},{'id':_0x5bd6c3(0x1d4),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x185)),'prompt':_0x5bd6c3(0x18a)},{'id':_0x5bd6c3(0x1bb),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1d0)),'prompt':_0x5bd6c3(0x1af)},{'id':_0x5bd6c3(0x1b1),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x19c)),'prompt':_0x5bd6c3(0x1dd)}]},{'groupId':_0x5bd6c3(0x183),'groupLabel':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1ac)),'commands':[{'id':_0x5bd6c3(0x1ad),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x190)),'prompt':_0x5bd6c3(0x1c8)},{'id':_0x5bd6c3(0x1bd),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x19a)),'prompt':_0x5bd6c3(0x1d8)},{'id':_0x5bd6c3(0x1cc),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1da)),'prompt':_0x5bd6c3(0x194)},{'id':_0x5bd6c3(0x1d2),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1ef)),'prompt':_0x5bd6c3(0x18c)},{'id':_0x5bd6c3(0x1b8),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x18d)),'prompt':_0x5bd6c3(0x1bc)},{'id':_0x5bd6c3(0x1e3),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1b5)),'prompt':_0x5bd6c3(0x1dc)},{'id':_0x5bd6c3(0x1db),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1c9)),'prompt':_0x5bd6c3(0x1ae)},{'id':_0x5bd6c3(0x1a8),'label':_0x21ae89(_0x1e0ee5,_0x5bd6c3(0x1c2)),'prompt':_0x5bd6c3(0x1ed)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x450e4a=_0x10d8;(function(_0x58551b,_0x48ae6c){const _0x2a09eb=_0x10d8,_0x54394=_0x58551b();while(!![]){try{const _0x41b5ee=parseInt(_0x2a09eb(0x184))/0x1*(parseInt(_0x2a09eb(0x135))/0x2)+parseInt(_0x2a09eb(0x176))/0x3*(parseInt(_0x2a09eb(0x14e))/0x4)+-parseInt(_0x2a09eb(0x17d))/0x5+parseInt(_0x2a09eb(0x155))/0x6*(-parseInt(_0x2a09eb(0x1a1))/0x7)+parseInt(_0x2a09eb(0x14a))/0x8+-parseInt(_0x2a09eb(0x152))/0x9+-parseInt(_0x2a09eb(0x189))/0xa*(-parseInt(_0x2a09eb(0x14f))/0xb);if(_0x41b5ee===_0x48ae6c)break;else _0x54394['push'](_0x54394['shift']());}catch(_0x26a08b){_0x54394['push'](_0x54394['shift']());}}}(_0x56ec,0x7b752));import{uid as _0x5b7e55}from'ckeditor5/src/utils.js';import{Plugin as _0x537076}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x30b612}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x22a206,ViewDataTransfer as _0x5ec3e6}from'ckeditor5/src/engine.js';const l=globalThis[_0x450e4a(0x168)],w=_0x450e4a(0x19d);function _0x10d8(_0x1f4f99,_0x417d04){const _0x56ec88=_0x56ec();return _0x10d8=function(_0x10d8fc,_0x1a9b2d){_0x10d8fc=_0x10d8fc-0x134;let _0x28cf01=_0x56ec88[_0x10d8fc];return _0x28cf01;},_0x10d8(_0x1f4f99,_0x417d04);}function _0x56ec(){const _0x1a125e=['removeMarker','getRows','span','pop','setSelection','TableUtils','getMarkersGroup','editor','ai-ui','getLastPosition','canEditAt','length','14wrUneb','markerRange','_getAISelection','2hYAssJ','hideFakeVisualSelection','selection','createUIElement','schema','parse','fire','AIAssistantEditing','ck-fake-ai-selection_collapsed','editingDowncast','markerToHighlight','_getTableRowCountFromContent','first','getRowIndexes','_resetContentOfSelectedTableCells','createPositionAt','addMarker','paste','deleteContent','config','conversion','2892984sHMLEe','table','showFakeVisualSelection','createPositionAfter','4ZojAJN','770781BSzGQZ','model','start','2655810mfeDcu','createSelection','createRange','807486kYbdQg','init','insertContentBelow','isContent','document','map','afterInit','findAncestor','element','href','end','data','off','pluginName','resultRange','insertContent','getChildren','editing','_createEmptyTableRows','DataTransfer','getRange','has','getSelectedTableCells','plugins','getLastMatchingPosition','join','lowest','getColumnIndexes','getFirstRange','change','fromCharCode','setData','markerToElement','2535051stbsvk','getSelectedBlocks','addClass','push','once','ck-fake-ai-selection','_getDefaultInsertBelowPosition','4722370eYWLDu','isOfficialPlugin','markers','for','getChild','isCollapsed','_prepareTableInsertBelowPosition','737697CNLrir','insertRows','last','isAtEnd','getRanges','10hUwfOg','_pasteHTMLUsingClipboard','ck-ai-assistant-ui_theme','ai.useTheme','get','text/html','isPremiumPlugin','updateMarker','forEach','contentInsertion','filter','from'];_0x56ec=function(){return _0x1a125e;};return _0x56ec();}export class AIAssistantEditing extends _0x537076{static get[_0x450e4a(0x162)](){const _0x4146ae=_0x450e4a;return _0x4146ae(0x13c);}static get[_0x450e4a(0x17e)](){return!0x0;}static get[_0x450e4a(0x18f)](){return!0x0;}[_0x450e4a(0x156)](){const _0xb2e6ed=_0x450e4a,{editor:_0x13270b}=this,_0x93ab63=[_0xb2e6ed(0x17b)];_0x13270b[_0xb2e6ed(0x148)][_0xb2e6ed(0x18d)](_0xb2e6ed(0x18c))&&_0x93ab63[_0xb2e6ed(0x179)](_0xb2e6ed(0x18b)),_0x13270b[_0xb2e6ed(0x149)][_0xb2e6ed(0x180)](_0xb2e6ed(0x13e))[_0xb2e6ed(0x13f)]({'model':w,'view':{'classes':_0x93ab63,'priority':0xc}}),_0x13270b[_0xb2e6ed(0x149)][_0xb2e6ed(0x180)](_0xb2e6ed(0x13e))[_0xb2e6ed(0x175)]({'model':w,'view':(_0x277df1,{writer:_0x5b6087})=>{const _0x906697=_0xb2e6ed;if(!_0x277df1[_0x906697(0x1a2)][_0x906697(0x182)])return null;const _0x347603=_0x5b6087[_0x906697(0x138)](_0x906697(0x197));return _0x5b6087[_0x906697(0x178)]([_0x906697(0x17b),_0x906697(0x13d)],_0x347603),_0x347603;}});}[_0x450e4a(0x15b)](){!async function(_0x1238e0){const _0x5719b6=_0x45df91([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x4e676c=0x3dffc4e1,_0x208cb0=0x3df8b7b9^_0x4e676c,_0x15c69f=window[_0x45df91([0x44,0x61,0x74,0x65])][_0x45df91([0x6e,0x6f,0x77])](),_0x5530c8=_0x1238e0[_0x45df91([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e3026=new window[(_0x45df91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f545c=>{_0x5530c8[_0x45df91([0x6f,0x6e,0x63,0x65])](_0x45df91([0x72,0x65,0x61,0x64,0x79]),_0x2f545c);}),_0x1a943e={[_0x45df91([0x6b,0x74,0x79])]:_0x45df91([0x45,0x43]),[_0x45df91([0x75,0x73,0x65])]:_0x45df91([0x73,0x69,0x67]),[_0x45df91([0x63,0x72,0x76])]:_0x45df91([0x50,0x2d,0x32,0x35,0x36]),[_0x45df91([0x78])]:_0x45df91([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]),[_0x45df91([0x79])]:_0x45df91([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]),[_0x45df91([0x61,0x6c,0x67])]:_0x45df91([0x45,0x53,0x32,0x35,0x36])},_0x4dd841=_0x5530c8[_0x45df91([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x45df91([0x67,0x65,0x74])](_0x45df91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x566ffa(){let _0xf193dc,_0x539779=null,_0x361cf3=null;try{if(_0x4dd841==_0x45df91([0x47,0x50,0x4c]))return _0x45df91([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf193dc=_0x37908a(),!_0xf193dc)return _0x45df91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf193dc[_0x45df91([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x361cf3=_0x1844d9(_0xf193dc[_0x45df91([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf193dc[_0x45df91([0x6a,0x74,0x69])])),await _0x3cbf69()?_0x5721e2()?_0x59657e()?_0x45df91([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c1bf8()?(_0xf193dc[_0x45df91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45df91([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x539779=_0x5f1510(_0x45df91([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf193dc[_0x45df91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45df91([0x74,0x72,0x69,0x61,0x6c])&&(_0x539779=_0x5f1510(_0x45df91([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52ba6b()):_0x45df91([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x45df91([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x45df91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x45df91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59657e(){const _0x5d284a=[_0x45df91([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x45df91([0x74,0x72,0x69,0x61,0x6c])][_0x45df91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf193dc[_0x45df91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x15c69f/0x3e8:0xe10*_0x208cb0;return _0xf193dc[_0x45df91([0x65,0x78,0x70])]<_0x5d284a;}function _0x5721e2(){const _0x4d236c=_0xf193dc[_0x45df91([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d236c&&(!!_0x4d236c[_0x45df91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45df91([0x2a]))||!!_0x4d236c[_0x45df91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45df91([0x41,0x49])));}function _0x4c1bf8(){const _0x2dba4d=_0x10d8,_0x35f568=_0xf193dc[_0x45df91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35f568||0x0==_0x35f568[_0x45df91([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4808fa}=new URL(window[_0x45df91([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2dba4d(0x15e)]);if(_0x35f568[_0x45df91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4808fa))return!0x0;const _0xeab528=_0x4808fa[_0x45df91([0x73,0x70,0x6c,0x69,0x74])](_0x45df91([0x2e]));return _0x35f568[_0x45df91([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f43af=>_0x1f43af[_0x45df91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45df91([0x2a])))[_0x45df91([0x6d,0x61,0x70])](_0x13ab75=>_0x13ab75[_0x45df91([0x73,0x70,0x6c,0x69,0x74])](_0x45df91([0x2e])))[_0x45df91([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11d1e5=>_0x11d1e5[_0x45df91([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xeab528[_0x45df91([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45df91([0x6d,0x61,0x70])](_0x5cc87d=>Array(_0xeab528[_0x45df91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5cc87d[_0x45df91([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45df91([0x66,0x69,0x6c,0x6c])](_0x5cc87d[0x0]===_0x45df91([0x2a])?_0x45df91([0x2a]):'')[_0x45df91([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5cc87d))[_0x45df91([0x73,0x6f,0x6d,0x65])](_0x4256a6=>_0xeab528[_0x45df91([0x65,0x76,0x65,0x72,0x79])]((_0x32a776,_0x59f4a7)=>_0x4256a6[_0x59f4a7]===_0x32a776||_0x4256a6[_0x59f4a7]===_0x45df91([0x2a])));}function _0x52ba6b(){return _0x539779&&_0x361cf3?new window[(_0x45df91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18fcb6,_0x4621d1)=>{_0x539779[_0x45df91([0x74,0x68,0x65,0x6e])](_0x18fcb6,_0x4621d1),_0x361cf3[_0x45df91([0x74,0x68,0x65,0x6e])](_0x37f646=>{_0x37f646!=_0x45df91([0x56,0x61,0x6c,0x69,0x64])&&_0x18fcb6(_0x37f646);},_0x4621d1);}):_0x539779||_0x361cf3||_0x45df91([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1844d9(_0x77ac11,_0x8e0b08){return new window[(_0x45df91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x648ea4=>{if(_0x13a691())return _0x648ea4(_0x45df91([0x56,0x61,0x6c,0x69,0x64]));_0x535b44(),_0x5530c8[_0x45df91([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x45df91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x399652=!0x1;const _0x4b5883=_0x5b7e55();function _0x4f9a29(_0x4b733e){return!!_0x4b733e&&(typeof _0x4b733e===_0x45df91([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b733e===_0x45df91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b733e[_0x45df91([0x74,0x68,0x65,0x6e])]===_0x45df91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b733e[_0x45df91([0x63,0x61,0x74,0x63,0x68])]===_0x45df91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf38353(_0x2a5988){_0x5295bc(_0x2a5988)[_0x45df91([0x74,0x68,0x65,0x6e])](_0x40a8b3=>{if(!_0x40a8b3||_0x40a8b3[_0x45df91([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x45df91([0x6f,0x6b]))return _0x45df91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c9186(_0x465105(_0x4b5883+_0x8e0b08))!=_0x40a8b3[_0x45df91([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x45df91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x45df91([0x56,0x61,0x6c,0x69,0x64]);})[_0x45df91([0x74,0x68,0x65,0x6e])](_0x279b51=>(_0x39cc92(),_0x279b51),()=>{const _0x2fab1b=_0xc0d396();return null==_0x2fab1b?(_0x39cc92(),_0x45df91([0x56,0x61,0x6c,0x69,0x64])):_0x45df91(_0x15c69f-_0x2fab1b>(0x19f340e1^_0x4e676c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x45df91([0x74,0x68,0x65,0x6e])](_0x648ea4)[_0x45df91([0x63,0x61,0x74,0x63,0x68])](()=>{_0x648ea4(_0x45df91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x312f59=0x3dc92a61^_0x4e676c;function _0x39cc92(){const _0x10b342=_0x45df91([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c9186(_0x465105(_0x77ac11)),_0x3294af=_0x419a66(_0x4c9186(window[_0x45df91([0x4d,0x61,0x74,0x68])][_0x45df91([0x63,0x65,0x69,0x6c])](_0x15c69f/_0x312f59)));window[_0x45df91([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45df91([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10b342,_0x3294af);}function _0xc0d396(){const _0x1864cc=_0x45df91([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c9186(_0x465105(_0x77ac11)),_0x17b090=window[_0x45df91([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45df91([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1864cc);return _0x17b090?window[_0x45df91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x419a66(_0x17b090),0x10)*_0x312f59:null;}function _0x5295bc(_0x4f7b3f){return new window[(_0x45df91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4226c8,_0x3320fd)=>{_0x4f7b3f[_0x45df91([0x74,0x68,0x65,0x6e])](_0x4226c8,_0x3320fd),window[_0x45df91([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3320fd,0x3dfe1021^_0x4e676c);});}}_0x5530c8[_0x45df91([0x6f,0x6e])](_0x45df91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb2d3c,_0x183985)=>{if(_0x183985[0x0]!=_0x77ac11)return _0x648ea4(_0x45df91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x183985[0x1]={..._0x183985[0x1],[_0x45df91([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4b5883};},{[_0x45df91([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45df91([0x68,0x69,0x67,0x68])}),_0x5530c8[_0x45df91([0x6f,0x6e])](_0x45df91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x418aeb=>{_0x4f9a29(_0x418aeb[_0x45df91([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x399652=!0x0,_0xf38353(_0x418aeb[_0x45df91([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x45df91([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45df91([0x6c,0x6f,0x77])}),_0x2e3026[_0x45df91([0x74,0x68,0x65,0x6e])](()=>{_0x399652||_0x648ea4(_0x45df91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x13a691(){return _0x5530c8[_0x45df91([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45df91([0x76,0x69,0x65,0x77])][_0x45df91([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x45df91([0x61,0x75,0x74,0x6f]);}function _0x535b44(){_0x5530c8[_0x45df91([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45df91([0x76,0x69,0x65,0x77])][_0x45df91([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x45df91([0x61,0x75,0x74,0x6f]);}}function _0x5f1510(_0x45ae52){const _0x176cc1=[new window[(_0x45df91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x157981=>setTimeout(_0x157981,0x3df6fa2d^_0x4e676c)),_0x2e3026[_0x45df91([0x74,0x68,0x65,0x6e])](()=>new window[(_0x45df91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x222f1a=>{let _0x14dbca=0x0;_0x5530c8[_0x45df91([0x6d,0x6f,0x64,0x65,0x6c])][_0x45df91([0x6f,0x6e])](_0x45df91([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x105dd9,_0x3a2a5c)=>{_0x3a2a5c[0x0][_0x45df91([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14dbca++,_0x14dbca==(0x3dffc519^_0x4e676c)&&(_0x222f1a(),_0x105dd9[_0x45df91([0x6f,0x66,0x66])]());});}))];return window[_0x45df91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x45df91([0x72,0x61,0x63,0x65])](_0x176cc1)[_0x45df91([0x74,0x68,0x65,0x6e])](()=>_0x45ae52);}async function _0x4b7259(){await _0x2e3026,_0x5530c8[_0x45df91([0x6d,0x6f,0x64,0x65,0x6c])][_0x45df91([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x318a9e,_0x5530c8[_0x45df91([0x6d,0x6f,0x64,0x65,0x6c])][_0x45df91([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x318a9e,_0x5530c8[_0x45df91([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45df91([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x30921e(_0x8dd2a6){const _0x4eda5e=_0x2df479();_0x5530c8[_0x4eda5e]=_0x45df91([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x8dd2a6,_0x8dd2a6!=_0x45df91([0x56,0x61,0x6c,0x69,0x64])&&_0x4b7259();}function _0x2df479(){const _0x36c9db=window[_0x45df91([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x45df91([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45df91([0x6e,0x6f,0x77])]())[_0x45df91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45df91([0x2e]),'');let _0x9f35db=_0x45df91([0x6e]);for(let _0x2f1c5b=0x0;_0x2f1c5b<_0x36c9db[_0x45df91([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f1c5b+=0x2){let _0x1be9cc=window[_0x45df91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36c9db[_0x45df91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f1c5b,_0x2f1c5b+0x2));_0x1be9cc>=_0x5719b6[_0x45df91([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1be9cc-=_0x5719b6[_0x45df91([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9f35db+=_0x5719b6[_0x1be9cc];}return _0x9f35db;}function _0x37908a(){const _0x3243bb=_0x4dd841[_0x45df91([0x73,0x70,0x6c,0x69,0x74])](_0x45df91([0x2e]));if(0x3!=_0x3243bb[_0x45df91([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x540c99(_0x3243bb[0x1]);function _0x540c99(_0x51090d){const _0x1ba3f8=_0x239e29(_0x51090d);return _0x1ba3f8&&_0x24b497()?_0x1ba3f8:null;function _0x24b497(){const _0x1ea1b2=_0x1ba3f8[_0x45df91([0x6a,0x74,0x69])],_0xcae68f=window[_0x45df91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ea1b2[_0x45df91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ea1b2[_0x45df91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3fa23e={..._0x1ba3f8,[_0x45df91([0x6a,0x74,0x69])]:_0x1ea1b2[_0x45df91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ea1b2[_0x45df91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3fa23e[_0x45df91([0x76,0x63])],_0x465105(_0x3fa23e)==_0xcae68f;}}}async function _0x3cbf69(){let _0x3ea563=!0x0;try{const _0x1b8f66=_0x4dd841[_0x45df91([0x73,0x70,0x6c,0x69,0x74])](_0x45df91([0x2e])),[_0x62335,_0x14fb0c,_0x2cfcd1]=_0x1b8f66;return _0x3671cc(_0x62335),await _0x5eae3f(_0x62335,_0x14fb0c,_0x2cfcd1),_0x3ea563;}catch{return!0x1;}function _0x3671cc(_0x555094){const _0x24ed96=_0x239e29(_0x555094);_0x24ed96&&_0x24ed96[_0x45df91([0x61,0x6c,0x67])]==_0x45df91([0x45,0x53,0x32,0x35,0x36])||(_0x3ea563=!0x1);}async function _0x5eae3f(_0x371df2,_0x4dd70a,_0xbb33cd){const _0x1a8fbb=window[_0x45df91([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x45df91([0x66,0x72,0x6f,0x6d])](_0x461781(_0xbb33cd),_0x4eb78d=>_0x4eb78d[_0x45df91([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2809fd=new window[(_0x45df91([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x45df91([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x371df2+_0x45df91([0x2e])+_0x4dd70a),_0x56a75c=window[_0x45df91([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x45df91([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56a75c)return;const _0x798228=await _0x56a75c[_0x45df91([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x45df91([0x6a,0x77,0x6b]),_0x1a943e,{[_0x45df91([0x6e,0x61,0x6d,0x65])]:_0x45df91([0x45,0x43,0x44,0x53,0x41]),[_0x45df91([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x45df91([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x45df91([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56a75c[_0x45df91([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x45df91([0x6e,0x61,0x6d,0x65])]:_0x45df91([0x45,0x43,0x44,0x53,0x41]),[_0x45df91([0x68,0x61,0x73,0x68])]:{[_0x45df91([0x6e,0x61,0x6d,0x65])]:_0x45df91([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x798228,_0x1a8fbb,_0x2809fd)||(_0x3ea563=!0x1);}}function _0x239e29(_0x50ab8a){return _0x50ab8a[_0x45df91([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x45df91([0x65,0x79]))?JSON[_0x45df91([0x70,0x61,0x72,0x73,0x65])](_0x461781(_0x50ab8a)):null;}function _0x461781(_0x5ba361){return window[_0x45df91([0x61,0x74,0x6f,0x62])](_0x5ba361[_0x45df91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x45df91([0x2b]))[_0x45df91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x45df91([0x2f])));}function _0x465105(_0x38221b){let _0x26bc8f=0x1505;function _0xf8c702(_0x569c3d){for(let _0xec9ba8=0x0;_0xec9ba8<_0x569c3d[_0x45df91([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xec9ba8++){const _0x564e5c=_0x569c3d[_0x45df91([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xec9ba8);_0x26bc8f=(_0x26bc8f<<0x5)+_0x26bc8f+_0x564e5c,_0x26bc8f&=_0x26bc8f;}}function _0x68f279(_0x4325f3){Array[_0x45df91([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4325f3)?_0x4325f3[_0x45df91([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x68f279):_0x4325f3&&typeof _0x4325f3==_0x45df91([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x45df91([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4325f3)[_0x45df91([0x73,0x6f,0x72,0x74])]()[_0x45df91([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d62ac,_0x5df65e])=>{_0xf8c702(_0x5d62ac),_0x68f279(_0x5df65e);}):_0xf8c702(window[_0x45df91([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4325f3));}return _0x68f279(_0x38221b),_0x26bc8f>>>0x0;}function _0x4c9186(_0x58e9f9){return _0x58e9f9[_0x45df91([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x45df91([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x45df91([0x30]));}function _0x419a66(_0x4db100){return _0x4db100[_0x45df91([0x73,0x70,0x6c,0x69,0x74])]('')[_0x45df91([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x45df91([0x6a,0x6f,0x69,0x6e])]('');}function _0x318a9e(){}function _0x45df91(_0x2af5cf){const _0x13014e=_0x10d8;return _0x2af5cf[_0x13014e(0x15a)](_0x15d78a=>String[_0x13014e(0x173)](_0x15d78a))[_0x13014e(0x16e)]('');}_0x30921e(await _0x566ffa());}(this);}[_0x450e4a(0x14c)](){const _0x44561e=_0x450e4a,_0x10ae66=this[_0x44561e(0x19c)][_0x44561e(0x150)];_0x10ae66[_0x44561e(0x172)](_0x2f501e=>{const _0x520acb=_0x44561e,_0x270742=_0x10ae66[_0x520acb(0x159)][_0x520acb(0x137)][_0x520acb(0x188)]();let _0x492081=0x0;for(const _0x1ee4ac of _0x270742){const _0x5b38e1=w+':'+_0x492081;if(_0x10ae66[_0x520acb(0x17f)][_0x520acb(0x16a)](_0x5b38e1))_0x2f501e[_0x520acb(0x190)](_0x5b38e1,{'range':_0x1ee4ac});else{if(_0x1ee4ac[_0x520acb(0x151)][_0x520acb(0x187)]){const _0x4d81a9=_0x1ee4ac[_0x520acb(0x151)][_0x520acb(0x16d)](({item:_0x28a7c7})=>!_0x10ae66[_0x520acb(0x139)][_0x520acb(0x158)](_0x28a7c7),{'boundaries':_0x1ee4ac});_0x2f501e[_0x520acb(0x145)](_0x5b38e1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2f501e[_0x520acb(0x154)](_0x4d81a9,_0x1ee4ac[_0x520acb(0x15f)])});}else _0x2f501e[_0x520acb(0x145)](_0x5b38e1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1ee4ac});}_0x492081++;}});}[_0x450e4a(0x136)](){const _0x50dc51=_0x450e4a,_0xace35e=this[_0x50dc51(0x19c)][_0x50dc51(0x150)],_0x5e4392=Array[_0x50dc51(0x194)](this[_0x50dc51(0x19c)][_0x50dc51(0x150)][_0x50dc51(0x17f)][_0x50dc51(0x19b)](w));_0x5e4392[_0x50dc51(0x1a0)]&&_0xace35e[_0x50dc51(0x172)](_0x54e7c9=>{const _0xcedcd4=_0x50dc51;_0x5e4392[_0xcedcd4(0x191)](_0x191002=>{const _0x1ab5a6=_0xcedcd4;_0x54e7c9[_0x1ab5a6(0x195)](_0x191002);});});}[_0x450e4a(0x164)](_0x3c9f9d,_0x58822d){const _0x4dbc98=_0x450e4a,_0x40f5db=this[_0x4dbc98(0x134)](),_0x493eb1=_0x58822d||_0x40f5db[_0x4dbc98(0x171)]();this[_0x4dbc98(0x19c)][_0x4dbc98(0x150)][_0x4dbc98(0x19f)](_0x493eb1)&&this[_0x4dbc98(0x19c)][_0x4dbc98(0x150)][_0x4dbc98(0x172)](_0x49a0d1=>{const _0x304b7e=_0x4dbc98;this[_0x304b7e(0x136)](),_0x58822d||this[_0x304b7e(0x143)](_0x49a0d1,_0x40f5db),this[_0x304b7e(0x18a)]({'insertAt':_0x493eb1,'writer':_0x49a0d1,'html':_0x3c9f9d});});}[_0x450e4a(0x157)](_0x1bff5e){const _0x1fe413=_0x450e4a,{model:_0x1e6105}=this[_0x1fe413(0x19c)],_0x243e48=this[_0x1fe413(0x134)]();_0x1e6105[_0x1fe413(0x172)](()=>{const _0x1bc0fc=_0x1fe413,_0x464b17=this[_0x1bc0fc(0x183)](_0x1bff5e,_0x243e48)||this[_0x1bc0fc(0x17c)](_0x243e48);this[_0x1bc0fc(0x164)](_0x1bff5e,_0x464b17);});}[_0x450e4a(0x134)](){const _0x20ab50=_0x450e4a,_0x4495a5=this[_0x20ab50(0x19c)][_0x20ab50(0x150)],_0x112c4f=Array[_0x20ab50(0x194)](_0x4495a5[_0x20ab50(0x17f)][_0x20ab50(0x19b)](w))[_0x20ab50(0x15a)](_0x35a6fe=>_0x35a6fe[_0x20ab50(0x169)]());return _0x4495a5[_0x20ab50(0x153)](_0x112c4f);}[_0x450e4a(0x18a)]({writer:_0x380715,html:_0x1c7e44,insertAt:_0x5e5e01}){const _0x1da628=_0x450e4a,{view:_0x84f46c}=this[_0x1da628(0x19c)][_0x1da628(0x166)],_0x5218c6=this[_0x1da628(0x19c)][_0x1da628(0x16c)][_0x1da628(0x18d)](_0x30b612),_0x5b19d5=new l();_0x5b19d5[_0x1da628(0x174)](_0x1da628(0x18e),_0x1c7e44);const _0xbb90b6=new ClipboardEvent(_0x1da628(0x146),{'clipboardData':_0x5b19d5}),_0x4f14dd=new _0x22a206(_0x84f46c,_0xbb90b6,{'dataTransfer':new _0x5ec3e6(_0x5b19d5)});_0x380715[_0x1da628(0x199)](_0x5e5e01);const _0x2f03a9=(_0x36c63c,_0x347cf3)=>{const _0x638211=_0x1da628;_0x347cf3[_0x638211(0x163)]&&_0x380715[_0x638211(0x199)](_0x347cf3[_0x638211(0x163)]);};_0x5218c6[_0x1da628(0x17a)](_0x1da628(0x192),_0x2f03a9,{'priority':_0x1da628(0x16f)}),_0x84f46c[_0x1da628(0x159)][_0x1da628(0x13b)](_0x1da628(0x146),_0x4f14dd),_0x5218c6[_0x1da628(0x161)](_0x1da628(0x192),_0x2f03a9);}[_0x450e4a(0x17c)](_0x3e87b7){const _0x922e8f=_0x450e4a,{model:_0x28e68e}=this[_0x922e8f(0x19c)],_0x268b15=Array[_0x922e8f(0x194)](_0x3e87b7[_0x922e8f(0x177)]());return _0x268b15[_0x922e8f(0x1a0)]?_0x28e68e[_0x922e8f(0x14d)](_0x268b15[_0x922e8f(0x198)]()):_0x3e87b7[_0x922e8f(0x19e)]();}[_0x450e4a(0x183)](_0x3aedf3,_0xf22dfb){const _0x25f990=_0x450e4a,{model:_0x36c9e6,plugins:_0x4d1173}=this[_0x25f990(0x19c)];if(_0x4d1173[_0x25f990(0x16a)](_0x25f990(0x19a))){const _0x27016c=_0x4d1173[_0x25f990(0x18d)](_0x25f990(0x19a))[_0x25f990(0x16b)](_0xf22dfb);if(_0x27016c[_0x25f990(0x1a0)]){const _0x58e58f=this[_0x25f990(0x140)](_0x3aedf3),_0x451cf9=this[_0x25f990(0x167)](_0x27016c,_0x58e58f);return _0x36c9e6[_0x25f990(0x144)](_0x451cf9,0x0);}}return null;}[_0x450e4a(0x140)](_0x425c0c){const _0x10cb1e=_0x450e4a,_0x418762=this[_0x10cb1e(0x19c)][_0x10cb1e(0x16c)][_0x10cb1e(0x18d)](_0x10cb1e(0x19a)),_0x345938=this[_0x10cb1e(0x19c)][_0x10cb1e(0x160)][_0x10cb1e(0x13a)](_0x425c0c),_0xa6eb9d=Array[_0x10cb1e(0x194)](_0x345938[_0x10cb1e(0x165)]())[_0x10cb1e(0x193)](_0x16e451=>_0x16e451['is'](_0x10cb1e(0x15d),_0x10cb1e(0x14b)));let _0x219844=0x0;return _0xa6eb9d[_0x10cb1e(0x191)](_0x3bf57f=>{const _0x8df7ee=_0x10cb1e;_0x219844+=_0x418762[_0x8df7ee(0x196)](_0x3bf57f);}),_0x219844;}[_0x450e4a(0x167)](_0x3f96f3,_0x280d0e){const _0x330203=_0x450e4a,_0x5b27d2=this[_0x330203(0x19c)][_0x330203(0x16c)][_0x330203(0x18d)](_0x330203(0x19a)),_0x1e7b09=_0x5b27d2[_0x330203(0x142)](_0x3f96f3),_0x2131fe=_0x5b27d2[_0x330203(0x170)](_0x3f96f3),_0x34f3f6=_0x1e7b09[_0x330203(0x186)]+0x1,_0x15cd11=_0x2131fe[_0x330203(0x141)],_0x51532e=_0x3f96f3[0x0][_0x330203(0x15c)](_0x330203(0x14b));for(let _0x23ad08=0x0;_0x23ad08<_0x280d0e;_0x23ad08++)_0x5b27d2[_0x330203(0x185)](_0x51532e,{'at':_0x34f3f6});return _0x51532e[_0x330203(0x181)](_0x34f3f6)[_0x330203(0x181)](_0x15cd11);}[_0x450e4a(0x143)](_0x1239e3,_0x2996ba){const _0x53b62c=_0x450e4a,{plugins:_0x9cb429}=this[_0x53b62c(0x19c)],{model:_0x1511ca}=_0x1239e3;if(!_0x9cb429[_0x53b62c(0x16a)](_0x53b62c(0x19a)))return;_0x9cb429[_0x53b62c(0x18d)](_0x53b62c(0x19a))[_0x53b62c(0x16b)](_0x2996ba)[_0x53b62c(0x1a0)]&&_0x1511ca[_0x53b62c(0x147)](_0x2996ba);}}
23
+ const _0x1f1314=_0x484b;function _0x3117(){const _0x2330c3=['AIAssistantEditing','has','getSelectedBlocks','model','2796342RGxKUW','isContent','hideFakeVisualSelection','pop','forEach','getRanges','last','first','TableUtils','DataTransfer','element','join','getChild','getChildren','insertContentBelow','updateMarker','getMarkersGroup','createPositionAfter','deleteContent','push','findAncestor','_createEmptyTableRows','markers','13475sSDQxq','end','markerToElement','from','config','data','for','getRowIndexes','ai-ui','addClass','once','1188783XuRAaT','get','3599637fDOHRz','fromCharCode','ck-fake-ai-selection','markerRange','_prepareTableInsertBelowPosition','document','getFirstRange','table','change','schema','isAtEnd','editingDowncast','isPremiumPlugin','pluginName','fire','_getTableRowCountFromContent','markerToHighlight','getRange','off','_resetContentOfSelectedTableCells','selection','createSelection','editing','54iyhEaU','init','start','ai.useTheme','plugins','isOfficialPlugin','text/html','showFakeVisualSelection','7750498yNYFMV','paste','getLastMatchingPosition','isCollapsed','href','_getDefaultInsertBelowPosition','getColumnIndexes','length','editor','afterInit','setData','1052xTvziQ','span','getSelectedTableCells','insertContent','map','ck-fake-ai-selection_collapsed','addMarker','parse','lowest','4123686dYVOBA','setSelection','getRows','contentInsertion','filter','getLastPosition','createUIElement','insertRows','createPositionAt','removeMarker','createRange','canEditAt','ck-ai-assistant-ui_theme','resultRange','conversion','4801240aqymGn','_pasteHTMLUsingClipboard','_getAISelection'];_0x3117=function(){return _0x2330c3;};return _0x3117();}(function(_0x56f5df,_0x47595f){const _0xf07e5f=_0x484b,_0x38f11e=_0x56f5df();while(!![]){try{const _0xfba190=-parseInt(_0xf07e5f(0x7f))/0x1+-parseInt(_0xf07e5f(0xca))/0x2+-parseInt(_0xf07e5f(0x81))/0x3+-parseInt(_0xf07e5f(0xab))/0x4*(parseInt(_0xf07e5f(0xe1))/0x5)+parseInt(_0xf07e5f(0xb4))/0x6+parseInt(_0xf07e5f(0xa0))/0x7+parseInt(_0xf07e5f(0xc3))/0x8*(parseInt(_0xf07e5f(0x98))/0x9);if(_0xfba190===_0x47595f)break;else _0x38f11e['push'](_0x38f11e['shift']());}catch(_0x222968){_0x38f11e['push'](_0x38f11e['shift']());}}}(_0x3117,0xdbadf));import{uid as _0x1fe575}from'ckeditor5/src/utils.js';import{Plugin as _0x4e91cb}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2305c6}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3c12c8,ViewDataTransfer as _0x869f3f}from'ckeditor5/src/engine.js';const l=globalThis[_0x1f1314(0xd3)],w=_0x1f1314(0x7c);function _0x484b(_0xc6bf63,_0x4eef9a){const _0x31178c=_0x3117();return _0x484b=function(_0x484b06,_0xf63e64){_0x484b06=_0x484b06-0x78;let _0x5ec1b5=_0x31178c[_0x484b06];return _0x5ec1b5;},_0x484b(_0xc6bf63,_0x4eef9a);}export class AIAssistantEditing extends _0x4e91cb{static get[_0x1f1314(0x8e)](){const _0x10dc20=_0x1f1314;return _0x10dc20(0xc6);}static get[_0x1f1314(0x9d)](){return!0x0;}static get[_0x1f1314(0x8d)](){return!0x0;}[_0x1f1314(0x99)](){const _0x5240f4=_0x1f1314,{editor:_0x41b903}=this,_0x11b23e=[_0x5240f4(0x83)];_0x41b903[_0x5240f4(0x78)][_0x5240f4(0x80)](_0x5240f4(0x9b))&&_0x11b23e[_0x5240f4(0xdd)](_0x5240f4(0xc0)),_0x41b903[_0x5240f4(0xc2)][_0x5240f4(0x7a)](_0x5240f4(0x8c))[_0x5240f4(0x91)]({'model':w,'view':{'classes':_0x11b23e,'priority':0xc}}),_0x41b903[_0x5240f4(0xc2)][_0x5240f4(0x7a)](_0x5240f4(0x8c))[_0x5240f4(0xe3)]({'model':w,'view':(_0x1829ea,{writer:_0xbfc94e})=>{const _0x8223f0=_0x5240f4;if(!_0x1829ea[_0x8223f0(0x84)][_0x8223f0(0xa3)])return null;const _0x5196f7=_0xbfc94e[_0x8223f0(0xba)](_0x8223f0(0xac));return _0xbfc94e[_0x8223f0(0x7d)]([_0x8223f0(0x83),_0x8223f0(0xb0)],_0x5196f7),_0x5196f7;}});}[_0x1f1314(0xa9)](){!async function(_0x5c17e9){const _0x1ef3c3=_0x43a76b([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x42251e=0x3dffc4e1,_0x44c8ed=0x3df8b791^_0x42251e,_0x350a3c=window[_0x43a76b([0x44,0x61,0x74,0x65])][_0x43a76b([0x6e,0x6f,0x77])](),_0x3161e4=_0x5c17e9[_0x43a76b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d3c3f=new window[(_0x43a76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x789f27=>{_0x3161e4[_0x43a76b([0x6f,0x6e,0x63,0x65])](_0x43a76b([0x72,0x65,0x61,0x64,0x79]),_0x789f27);}),_0x1ec19d={[_0x43a76b([0x6b,0x74,0x79])]:_0x43a76b([0x45,0x43]),[_0x43a76b([0x75,0x73,0x65])]:_0x43a76b([0x73,0x69,0x67]),[_0x43a76b([0x63,0x72,0x76])]:_0x43a76b([0x50,0x2d,0x32,0x35,0x36]),[_0x43a76b([0x78])]:_0x43a76b([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]),[_0x43a76b([0x79])]:_0x43a76b([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]),[_0x43a76b([0x61,0x6c,0x67])]:_0x43a76b([0x45,0x53,0x32,0x35,0x36])},_0xa2161f=_0x3161e4[_0x43a76b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x43a76b([0x67,0x65,0x74])](_0x43a76b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x452abe(){let _0x4072d6,_0x369901=null,_0x559fc6=null;try{if(_0xa2161f==_0x43a76b([0x47,0x50,0x4c]))return _0x43a76b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4072d6=_0x45e84e(),!_0x4072d6)return _0x43a76b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4072d6[_0x43a76b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x559fc6=_0x3164e9(_0x4072d6[_0x43a76b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4072d6[_0x43a76b([0x6a,0x74,0x69])])),await _0x59b75d()?_0x29adb0()?_0x23cbf1()?_0x43a76b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ea5b7()?(_0x4072d6[_0x43a76b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43a76b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x369901=_0x5b5d41(_0x43a76b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4072d6[_0x43a76b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43a76b([0x74,0x72,0x69,0x61,0x6c])&&(_0x369901=_0x5b5d41(_0x43a76b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdbb37a()):_0x43a76b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x43a76b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x43a76b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x43a76b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23cbf1(){const _0x2f1545=[_0x43a76b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x43a76b([0x74,0x72,0x69,0x61,0x6c])][_0x43a76b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4072d6[_0x43a76b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x350a3c/0x3e8:0xe10*_0x44c8ed;return _0x4072d6[_0x43a76b([0x65,0x78,0x70])]<_0x2f1545;}function _0x29adb0(){const _0x18fd6b=_0x4072d6[_0x43a76b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x18fd6b&&(!!_0x18fd6b[_0x43a76b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43a76b([0x2a]))||!!_0x18fd6b[_0x43a76b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43a76b([0x41,0x49])));}function _0x1ea5b7(){const _0x54ce65=_0x484b,_0x49af9a=_0x4072d6[_0x43a76b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49af9a||0x0==_0x49af9a[_0x43a76b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x195caf}=new URL(window[_0x43a76b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x54ce65(0xa4)]);if(_0x49af9a[_0x43a76b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x195caf))return!0x0;const _0x5b857a=_0x195caf[_0x43a76b([0x73,0x70,0x6c,0x69,0x74])](_0x43a76b([0x2e]));return _0x49af9a[_0x43a76b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc7bd08=>_0xc7bd08[_0x43a76b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43a76b([0x2a])))[_0x43a76b([0x6d,0x61,0x70])](_0x23d07b=>_0x23d07b[_0x43a76b([0x73,0x70,0x6c,0x69,0x74])](_0x43a76b([0x2e])))[_0x43a76b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45d4e8=>_0x45d4e8[_0x43a76b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b857a[_0x43a76b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x43a76b([0x6d,0x61,0x70])](_0x231115=>Array(_0x5b857a[_0x43a76b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x231115[_0x43a76b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x43a76b([0x66,0x69,0x6c,0x6c])](_0x231115[0x0]===_0x43a76b([0x2a])?_0x43a76b([0x2a]):'')[_0x43a76b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x231115))[_0x43a76b([0x73,0x6f,0x6d,0x65])](_0x13f855=>_0x5b857a[_0x43a76b([0x65,0x76,0x65,0x72,0x79])]((_0x4abaa6,_0x43c6e4)=>_0x13f855[_0x43c6e4]===_0x4abaa6||_0x13f855[_0x43c6e4]===_0x43a76b([0x2a])));}function _0xdbb37a(){return _0x369901&&_0x559fc6?new window[(_0x43a76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x27f9f4,_0x55f57f)=>{_0x369901[_0x43a76b([0x74,0x68,0x65,0x6e])](_0x27f9f4,_0x55f57f),_0x559fc6[_0x43a76b([0x74,0x68,0x65,0x6e])](_0x1a91e6=>{_0x1a91e6!=_0x43a76b([0x56,0x61,0x6c,0x69,0x64])&&_0x27f9f4(_0x1a91e6);},_0x55f57f);}):_0x369901||_0x559fc6||_0x43a76b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3164e9(_0x4212a4,_0x49c28b){return new window[(_0x43a76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58fd23=>{if(_0x734f53())return _0x58fd23(_0x43a76b([0x56,0x61,0x6c,0x69,0x64]));_0x44240d(),_0x3161e4[_0x43a76b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x43a76b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6f4c94=!0x1;const _0x8c0f3=_0x1fe575();function _0x46806e(_0x525bfb){return!!_0x525bfb&&(typeof _0x525bfb===_0x43a76b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x525bfb===_0x43a76b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x525bfb[_0x43a76b([0x74,0x68,0x65,0x6e])]===_0x43a76b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x525bfb[_0x43a76b([0x63,0x61,0x74,0x63,0x68])]===_0x43a76b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f1830(_0x243c62){_0x4ae715(_0x243c62)[_0x43a76b([0x74,0x68,0x65,0x6e])](_0x535519=>{if(!_0x535519||_0x535519[_0x43a76b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x43a76b([0x6f,0x6b]))return _0x43a76b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2444bf(_0x2e9b6e(_0x8c0f3+_0x49c28b))!=_0x535519[_0x43a76b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x43a76b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x43a76b([0x56,0x61,0x6c,0x69,0x64]);})[_0x43a76b([0x74,0x68,0x65,0x6e])](_0x2020fc=>(_0x107700(),_0x2020fc),()=>{const _0x4085f7=_0x360d61();return null==_0x4085f7?(_0x107700(),_0x43a76b([0x56,0x61,0x6c,0x69,0x64])):_0x43a76b(_0x350a3c-_0x4085f7>(0x19f340e1^_0x42251e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x43a76b([0x74,0x68,0x65,0x6e])](_0x58fd23)[_0x43a76b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58fd23(_0x43a76b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x420711=0x3dc92a61^_0x42251e;function _0x107700(){const _0x1dace8=_0x43a76b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2444bf(_0x2e9b6e(_0x4212a4)),_0x422114=_0x5da12c(_0x2444bf(window[_0x43a76b([0x4d,0x61,0x74,0x68])][_0x43a76b([0x63,0x65,0x69,0x6c])](_0x350a3c/_0x420711)));window[_0x43a76b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43a76b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1dace8,_0x422114);}function _0x360d61(){const _0x18f4fb=_0x43a76b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2444bf(_0x2e9b6e(_0x4212a4)),_0x35318d=window[_0x43a76b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43a76b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18f4fb);return _0x35318d?window[_0x43a76b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5da12c(_0x35318d),0x10)*_0x420711:null;}function _0x4ae715(_0x3762d7){return new window[(_0x43a76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x427789,_0x49bc50)=>{_0x3762d7[_0x43a76b([0x74,0x68,0x65,0x6e])](_0x427789,_0x49bc50),window[_0x43a76b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49bc50,0x3dfe1021^_0x42251e);});}}_0x3161e4[_0x43a76b([0x6f,0x6e])](_0x43a76b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x228a19,_0x2f68a9)=>{if(_0x2f68a9[0x0]!=_0x4212a4)return _0x58fd23(_0x43a76b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2f68a9[0x1]={..._0x2f68a9[0x1],[_0x43a76b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x8c0f3};},{[_0x43a76b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43a76b([0x68,0x69,0x67,0x68])}),_0x3161e4[_0x43a76b([0x6f,0x6e])](_0x43a76b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c3360=>{_0x46806e(_0x1c3360[_0x43a76b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6f4c94=!0x0,_0x1f1830(_0x1c3360[_0x43a76b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x43a76b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43a76b([0x6c,0x6f,0x77])}),_0x2d3c3f[_0x43a76b([0x74,0x68,0x65,0x6e])](()=>{_0x6f4c94||_0x58fd23(_0x43a76b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x734f53(){return _0x3161e4[_0x43a76b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43a76b([0x76,0x69,0x65,0x77])][_0x43a76b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x43a76b([0x61,0x75,0x74,0x6f]);}function _0x44240d(){_0x3161e4[_0x43a76b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43a76b([0x76,0x69,0x65,0x77])][_0x43a76b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x43a76b([0x61,0x75,0x74,0x6f]);}}function _0x5b5d41(_0x33d528){const _0xcff86=[new window[(_0x43a76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ef15d=>setTimeout(_0x1ef15d,0x3df6fa2d^_0x42251e)),_0x2d3c3f[_0x43a76b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x43a76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47daeb=>{let _0x6ff054=0x0;_0x3161e4[_0x43a76b([0x6d,0x6f,0x64,0x65,0x6c])][_0x43a76b([0x6f,0x6e])](_0x43a76b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x518e0d,_0x3f5bb0)=>{_0x3f5bb0[0x0][_0x43a76b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6ff054++,_0x6ff054==(0x3dffc519^_0x42251e)&&(_0x47daeb(),_0x518e0d[_0x43a76b([0x6f,0x66,0x66])]());});}))];return window[_0x43a76b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x43a76b([0x72,0x61,0x63,0x65])](_0xcff86)[_0x43a76b([0x74,0x68,0x65,0x6e])](()=>_0x33d528);}async function _0x330c49(){await _0x2d3c3f,_0x3161e4[_0x43a76b([0x6d,0x6f,0x64,0x65,0x6c])][_0x43a76b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5450c0,_0x3161e4[_0x43a76b([0x6d,0x6f,0x64,0x65,0x6c])][_0x43a76b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5450c0,_0x3161e4[_0x43a76b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x43a76b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x220167(_0x1bbcc2){const _0x4ebc12=_0x55d78c();_0x3161e4[_0x4ebc12]=_0x43a76b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1bbcc2,_0x1bbcc2!=_0x43a76b([0x56,0x61,0x6c,0x69,0x64])&&_0x330c49();}function _0x55d78c(){const _0x113217=window[_0x43a76b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x43a76b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x43a76b([0x6e,0x6f,0x77])]())[_0x43a76b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x43a76b([0x2e]),'');let _0x568ce2=_0x43a76b([0x6e]);for(let _0x4bd6fb=0x0;_0x4bd6fb<_0x113217[_0x43a76b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bd6fb+=0x2){let _0xa6364e=window[_0x43a76b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x113217[_0x43a76b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bd6fb,_0x4bd6fb+0x2));_0xa6364e>=_0x1ef3c3[_0x43a76b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa6364e-=_0x1ef3c3[_0x43a76b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x568ce2+=_0x1ef3c3[_0xa6364e];}return _0x568ce2;}function _0x45e84e(){const _0x36cc71=_0xa2161f[_0x43a76b([0x73,0x70,0x6c,0x69,0x74])](_0x43a76b([0x2e]));if(0x3!=_0x36cc71[_0x43a76b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x426ff9(_0x36cc71[0x1]);function _0x426ff9(_0x4fcd66){const _0x3e3d41=_0x1cbcf1(_0x4fcd66);return _0x3e3d41&&_0xc5127()?_0x3e3d41:null;function _0xc5127(){const _0xc2f30f=_0x3e3d41[_0x43a76b([0x6a,0x74,0x69])],_0x200939=window[_0x43a76b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc2f30f[_0x43a76b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc2f30f[_0x43a76b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x313272={..._0x3e3d41,[_0x43a76b([0x6a,0x74,0x69])]:_0xc2f30f[_0x43a76b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc2f30f[_0x43a76b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x313272[_0x43a76b([0x76,0x63])],_0x2e9b6e(_0x313272)==_0x200939;}}}async function _0x59b75d(){let _0x3e7d90=!0x0;try{const _0x3f0811=_0xa2161f[_0x43a76b([0x73,0x70,0x6c,0x69,0x74])](_0x43a76b([0x2e])),[_0x5a266b,_0x6a14e6,_0x4036e5]=_0x3f0811;return _0x584ce8(_0x5a266b),await _0x2b321d(_0x5a266b,_0x6a14e6,_0x4036e5),_0x3e7d90;}catch{return!0x1;}function _0x584ce8(_0x2879ac){const _0x3c5140=_0x1cbcf1(_0x2879ac);_0x3c5140&&_0x3c5140[_0x43a76b([0x61,0x6c,0x67])]==_0x43a76b([0x45,0x53,0x32,0x35,0x36])||(_0x3e7d90=!0x1);}async function _0x2b321d(_0x9b135c,_0xff0b6a,_0x5aa9b1){const _0x295fe=window[_0x43a76b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x43a76b([0x66,0x72,0x6f,0x6d])](_0x58539a(_0x5aa9b1),_0x19f540=>_0x19f540[_0x43a76b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x474589=new window[(_0x43a76b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x43a76b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x9b135c+_0x43a76b([0x2e])+_0xff0b6a),_0x4f68ad=window[_0x43a76b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x43a76b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f68ad)return;const _0x2a7ccb=await _0x4f68ad[_0x43a76b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x43a76b([0x6a,0x77,0x6b]),_0x1ec19d,{[_0x43a76b([0x6e,0x61,0x6d,0x65])]:_0x43a76b([0x45,0x43,0x44,0x53,0x41]),[_0x43a76b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x43a76b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x43a76b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f68ad[_0x43a76b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x43a76b([0x6e,0x61,0x6d,0x65])]:_0x43a76b([0x45,0x43,0x44,0x53,0x41]),[_0x43a76b([0x68,0x61,0x73,0x68])]:{[_0x43a76b([0x6e,0x61,0x6d,0x65])]:_0x43a76b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2a7ccb,_0x295fe,_0x474589)||(_0x3e7d90=!0x1);}}function _0x1cbcf1(_0x368fad){return _0x368fad[_0x43a76b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x43a76b([0x65,0x79]))?JSON[_0x43a76b([0x70,0x61,0x72,0x73,0x65])](_0x58539a(_0x368fad)):null;}function _0x58539a(_0x3b2099){return window[_0x43a76b([0x61,0x74,0x6f,0x62])](_0x3b2099[_0x43a76b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x43a76b([0x2b]))[_0x43a76b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x43a76b([0x2f])));}function _0x2e9b6e(_0x2659a5){let _0x1f9db8=0x1505;function _0x22ca61(_0x56ce15){for(let _0xd3e004=0x0;_0xd3e004<_0x56ce15[_0x43a76b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd3e004++){const _0x2e54f7=_0x56ce15[_0x43a76b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd3e004);_0x1f9db8=(_0x1f9db8<<0x5)+_0x1f9db8+_0x2e54f7,_0x1f9db8&=_0x1f9db8;}}function _0x462bdf(_0x2e6ece){Array[_0x43a76b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e6ece)?_0x2e6ece[_0x43a76b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x462bdf):_0x2e6ece&&typeof _0x2e6ece==_0x43a76b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x43a76b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e6ece)[_0x43a76b([0x73,0x6f,0x72,0x74])]()[_0x43a76b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3d57b8,_0x1b4b12])=>{_0x22ca61(_0x3d57b8),_0x462bdf(_0x1b4b12);}):_0x22ca61(window[_0x43a76b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e6ece));}return _0x462bdf(_0x2659a5),_0x1f9db8>>>0x0;}function _0x2444bf(_0x3257f3){return _0x3257f3[_0x43a76b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x43a76b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x43a76b([0x30]));}function _0x5da12c(_0x13b473){return _0x13b473[_0x43a76b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x43a76b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x43a76b([0x6a,0x6f,0x69,0x6e])]('');}function _0x5450c0(){}function _0x43a76b(_0x2236db){const _0x3985e0=_0x484b;return _0x2236db[_0x3985e0(0xaf)](_0x5dbd07=>String[_0x3985e0(0x82)](_0x5dbd07))[_0x3985e0(0xd5)]('');}_0x220167(await _0x452abe());}(this);}[_0x1f1314(0x9f)](){const _0x3f921c=_0x1f1314,_0x4deac9=this[_0x3f921c(0xa8)][_0x3f921c(0xc9)];_0x4deac9[_0x3f921c(0x89)](_0x3f8f9b=>{const _0x27cb2d=_0x3f921c,_0x146887=_0x4deac9[_0x27cb2d(0x86)][_0x27cb2d(0x95)][_0x27cb2d(0xcf)]();let _0x203bc5=0x0;for(const _0x434193 of _0x146887){const _0x1d9825=w+':'+_0x203bc5;if(_0x4deac9[_0x27cb2d(0xe0)][_0x27cb2d(0xc7)](_0x1d9825))_0x3f8f9b[_0x27cb2d(0xd9)](_0x1d9825,{'range':_0x434193});else{if(_0x434193[_0x27cb2d(0x9a)][_0x27cb2d(0x8b)]){const _0xd44d43=_0x434193[_0x27cb2d(0x9a)][_0x27cb2d(0xa2)](({item:_0x2b6250})=>!_0x4deac9[_0x27cb2d(0x8a)][_0x27cb2d(0xcb)](_0x2b6250),{'boundaries':_0x434193});_0x3f8f9b[_0x27cb2d(0xb1)](_0x1d9825,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3f8f9b[_0x27cb2d(0xbe)](_0xd44d43,_0x434193[_0x27cb2d(0xe2)])});}else _0x3f8f9b[_0x27cb2d(0xb1)](_0x1d9825,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x434193});}_0x203bc5++;}});}[_0x1f1314(0xcc)](){const _0xb27351=_0x1f1314,_0x27f16a=this[_0xb27351(0xa8)][_0xb27351(0xc9)],_0x4fe3f8=Array[_0xb27351(0xe4)](this[_0xb27351(0xa8)][_0xb27351(0xc9)][_0xb27351(0xe0)][_0xb27351(0xda)](w));_0x4fe3f8[_0xb27351(0xa7)]&&_0x27f16a[_0xb27351(0x89)](_0x404aa3=>{const _0x178122=_0xb27351;_0x4fe3f8[_0x178122(0xce)](_0x2dcf33=>{const _0x29e0e8=_0x178122;_0x404aa3[_0x29e0e8(0xbd)](_0x2dcf33);});});}[_0x1f1314(0xae)](_0x1bee58,_0x383fd2){const _0x2577dd=_0x1f1314,_0x3d41c0=this[_0x2577dd(0xc5)](),_0x267ce7=_0x383fd2||_0x3d41c0[_0x2577dd(0x87)]();this[_0x2577dd(0xa8)][_0x2577dd(0xc9)][_0x2577dd(0xbf)](_0x267ce7)&&this[_0x2577dd(0xa8)][_0x2577dd(0xc9)][_0x2577dd(0x89)](_0x32e5f7=>{const _0x1f56a4=_0x2577dd;this[_0x1f56a4(0xcc)](),_0x383fd2||this[_0x1f56a4(0x94)](_0x32e5f7,_0x3d41c0),this[_0x1f56a4(0xc4)]({'insertAt':_0x267ce7,'writer':_0x32e5f7,'html':_0x1bee58});});}[_0x1f1314(0xd8)](_0x35139b){const _0x20f64f=_0x1f1314,{model:_0x29f8f9}=this[_0x20f64f(0xa8)],_0x50562b=this[_0x20f64f(0xc5)]();_0x29f8f9[_0x20f64f(0x89)](()=>{const _0xd8c5b5=_0x20f64f,_0x30ff94=this[_0xd8c5b5(0x85)](_0x35139b,_0x50562b)||this[_0xd8c5b5(0xa5)](_0x50562b);this[_0xd8c5b5(0xae)](_0x35139b,_0x30ff94);});}[_0x1f1314(0xc5)](){const _0x2529e1=_0x1f1314,_0x3c565b=this[_0x2529e1(0xa8)][_0x2529e1(0xc9)],_0x267290=Array[_0x2529e1(0xe4)](_0x3c565b[_0x2529e1(0xe0)][_0x2529e1(0xda)](w))[_0x2529e1(0xaf)](_0x5ee868=>_0x5ee868[_0x2529e1(0x92)]());return _0x3c565b[_0x2529e1(0x96)](_0x267290);}[_0x1f1314(0xc4)]({writer:_0x2d89a1,html:_0x1df7d3,insertAt:_0x26d9bd}){const _0x24fa63=_0x1f1314,{view:_0x1f86d5}=this[_0x24fa63(0xa8)][_0x24fa63(0x97)],_0x3c0371=this[_0x24fa63(0xa8)][_0x24fa63(0x9c)][_0x24fa63(0x80)](_0x2305c6),_0x38e9a5=new l();_0x38e9a5[_0x24fa63(0xaa)](_0x24fa63(0x9e),_0x1df7d3);const _0x46e543=new ClipboardEvent(_0x24fa63(0xa1),{'clipboardData':_0x38e9a5}),_0x49d280=new _0x3c12c8(_0x1f86d5,_0x46e543,{'dataTransfer':new _0x869f3f(_0x38e9a5)});_0x2d89a1[_0x24fa63(0xb5)](_0x26d9bd);const _0x4d3478=(_0xb1a3b6,_0x4b6b3a)=>{const _0x182d30=_0x24fa63;_0x4b6b3a[_0x182d30(0xc1)]&&_0x2d89a1[_0x182d30(0xb5)](_0x4b6b3a[_0x182d30(0xc1)]);};_0x3c0371[_0x24fa63(0x7e)](_0x24fa63(0xb7),_0x4d3478,{'priority':_0x24fa63(0xb3)}),_0x1f86d5[_0x24fa63(0x86)][_0x24fa63(0x8f)](_0x24fa63(0xa1),_0x49d280),_0x3c0371[_0x24fa63(0x93)](_0x24fa63(0xb7),_0x4d3478);}[_0x1f1314(0xa5)](_0x9a2d73){const _0x101b9c=_0x1f1314,{model:_0x3ac148}=this[_0x101b9c(0xa8)],_0x209ebc=Array[_0x101b9c(0xe4)](_0x9a2d73[_0x101b9c(0xc8)]());return _0x209ebc[_0x101b9c(0xa7)]?_0x3ac148[_0x101b9c(0xdb)](_0x209ebc[_0x101b9c(0xcd)]()):_0x9a2d73[_0x101b9c(0xb9)]();}[_0x1f1314(0x85)](_0x5dd24f,_0x4cb30e){const _0x310979=_0x1f1314,{model:_0x3a962d,plugins:_0x198d4}=this[_0x310979(0xa8)];if(_0x198d4[_0x310979(0xc7)](_0x310979(0xd2))){const _0x54b2ac=_0x198d4[_0x310979(0x80)](_0x310979(0xd2))[_0x310979(0xad)](_0x4cb30e);if(_0x54b2ac[_0x310979(0xa7)]){const _0x51a41a=this[_0x310979(0x90)](_0x5dd24f),_0x563e19=this[_0x310979(0xdf)](_0x54b2ac,_0x51a41a);return _0x3a962d[_0x310979(0xbc)](_0x563e19,0x0);}}return null;}[_0x1f1314(0x90)](_0xff000d){const _0x3f352=_0x1f1314,_0x464e17=this[_0x3f352(0xa8)][_0x3f352(0x9c)][_0x3f352(0x80)](_0x3f352(0xd2)),_0x1d8cb3=this[_0x3f352(0xa8)][_0x3f352(0x79)][_0x3f352(0xb2)](_0xff000d),_0x349541=Array[_0x3f352(0xe4)](_0x1d8cb3[_0x3f352(0xd7)]())[_0x3f352(0xb8)](_0x13b81a=>_0x13b81a['is'](_0x3f352(0xd4),_0x3f352(0x88)));let _0x34b5b5=0x0;return _0x349541[_0x3f352(0xce)](_0x333cd1=>{const _0x2a4da0=_0x3f352;_0x34b5b5+=_0x464e17[_0x2a4da0(0xb6)](_0x333cd1);}),_0x34b5b5;}[_0x1f1314(0xdf)](_0x2de413,_0x41215b){const _0x335a69=_0x1f1314,_0xd07198=this[_0x335a69(0xa8)][_0x335a69(0x9c)][_0x335a69(0x80)](_0x335a69(0xd2)),_0x4425df=_0xd07198[_0x335a69(0x7b)](_0x2de413),_0x47b272=_0xd07198[_0x335a69(0xa6)](_0x2de413),_0x28a86f=_0x4425df[_0x335a69(0xd0)]+0x1,_0x5adb5e=_0x47b272[_0x335a69(0xd1)],_0x92fc4e=_0x2de413[0x0][_0x335a69(0xde)](_0x335a69(0x88));for(let _0x291c26=0x0;_0x291c26<_0x41215b;_0x291c26++)_0xd07198[_0x335a69(0xbb)](_0x92fc4e,{'at':_0x28a86f});return _0x92fc4e[_0x335a69(0xd6)](_0x28a86f)[_0x335a69(0xd6)](_0x5adb5e);}[_0x1f1314(0x94)](_0x448eef,_0x424f4b){const _0x1b6ef6=_0x1f1314,{plugins:_0x144879}=this[_0x1b6ef6(0xa8)],{model:_0x3e708c}=_0x448eef;if(!_0x144879[_0x1b6ef6(0xc7)](_0x1b6ef6(0xd2)))return;_0x144879[_0x1b6ef6(0x80)](_0x1b6ef6(0xd2))[_0x1b6ef6(0xad)](_0x424f4b)[_0x1b6ef6(0xa7)]&&_0x3e708c[_0x1b6ef6(0xdc)](_0x424f4b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53788c=_0x2aa6;(function(_0x528a0b,_0x426e51){const _0x4343be=_0x2aa6,_0x5f5560=_0x528a0b();while(!![]){try{const _0x510a19=parseInt(_0x4343be(0x1cf))/0x1+-parseInt(_0x4343be(0x19e))/0x2+parseInt(_0x4343be(0x1a9))/0x3*(parseInt(_0x4343be(0x164))/0x4)+parseInt(_0x4343be(0x179))/0x5*(parseInt(_0x4343be(0x1a2))/0x6)+parseInt(_0x4343be(0x19c))/0x7*(-parseInt(_0x4343be(0x1e4))/0x8)+parseInt(_0x4343be(0x18b))/0x9+-parseInt(_0x4343be(0x163))/0xa*(parseInt(_0x4343be(0x1f1))/0xb);if(_0x510a19===_0x426e51)break;else _0x5f5560['push'](_0x5f5560['shift']());}catch(_0x507d28){_0x5f5560['push'](_0x5f5560['shift']());}}}(_0x2219,0x7704b));function _0x2aa6(_0x1501a8,_0x28dc50){const _0x22198d=_0x2219();return _0x2aa6=function(_0x2aa650,_0x3defe0){_0x2aa650=_0x2aa650-0x157;let _0x5d4053=_0x22198d[_0x2aa650];return _0x5d4053;},_0x2aa6(_0x1501a8,_0x28dc50);}import{Plugin as _0xd644f0}from'ckeditor5/src/core.js';import{IconMagicWand as _0x52bfcb,IconRobotPencil as _0x159451}from'ckeditor5/src/icons.js';import{first as _0x4e33dd,CKEditorError as _0x502507}from'ckeditor5/src/utils.js';import{createDropdown as _0x5865a0,addMenuToDropdown as _0x163d0d,ButtonView as _0x28b27f,MenuBarMenuListItemButtonView as _0x435105,Dialog as _0x1acef7,DialogViewPosition as _0x56856d,MenuBarMenuView as _0x2490e3,MenuBarMenuListView as _0x3f89f1,MenuBarMenuListItemView as _0x405b6f}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0xb68271,UNGROUPED_COMMANDS_GROUP_ID as _0x37219a}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2b4523}from'./aiassistantediting.js';import{AIAdapter as _0x26bd54}from'./adapters/aiadapter.js';import{getTranslation as _0x5e449e}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x56bd51}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4aaeb4}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x6ce093}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x1c402d}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';function _0x2219(){const _0x1a69b3=['<p>','insertContentBelow','_dialog','errorView','_aiAdapter','init','commands','55jujRfV','hideFakeVisualSelection','promptView','contentArea','comment','label','splice','announce','aiLicenseKeyExpired','aiCommands','command:','ai.aiAssistant.contentAreaCssClass','Error\x20during\x20AI\x20content\x20generation:\x20%0','isPremiumPlugin','componentFactory','getRanges','buttons','_initView','set','view','from','sort','wasMoved','aiAssistant','_populateMenuBarMenu','change:isProcessing','selection','editing','_uiCssClasses','updatePosition','ai-commands-config-order-collision','hideUI','_commandDefinitions','AIAssistantUI','_onExecute','4019190FAwSbM','252ZvTLdC','map','setSelection','_formView','_getResolvedCommandsDefinitions','enabledCommandsIds','copy','aiLicenseKeyValid','add','ck-ai-commands-dropdown\x20','addMany','\x20ck-ai-assistant-ui_theme','values','replaceContent','buttonView','change:enabledCommandsIds','ai.useTheme','featureNotAllowed','ai.aiAssistant.disabledElements','ai.aiAssistant.commands','prompt','28965ZAKnjt','textAdapter','trialLimit','polite','evaluationLimit','queryView','get','custom','showUI','isEnabled','length','updateView','licenseKey','trim','menuBar:aiAssistant','hide','showAIAssistant','</p>','8007561kIKwQQ','filter','_forceMarkersCopy','forEach','push','plugins','isFlat','text','model','menuBar:aiCommands','editor','document','bind','_getMenuBarGroupButtons','render','ck-ai-assistant-ui','aiLicenseKeyTrialLimit','7ulDEpi','fieldView','247370yCnbtn','update','media','_aiAssistantController','114ryOnTI','Generated\x20content:\x20%0','panelView','isOfficialPlugin','execute','delegate','_initAriaAiStatusChangeAnnouncements','38949rduSqp','children','schema','getSelectedBlocks','pluginName','getLimitElement','usageLimit','show','isCollapsed','groupLabel','destroy','source','requires','locale','reset','expired','rawHtml','_createAIAssistantUIButton','domainLimit','replace','menuPanelClass','showFakeVisualSelection','order','invalid','EDITOR_TOP_SIDE','text/html','requiresContent','fire','aiLicenseKeyEvaluationLimit','_showLicenseError','change','define','isOn','AI\x20Commands','items','AIAssistant','AI\x20is\x20writing','aiLicenseKeyInvalid','925833tpNnIT','once','menuitemcheckbox','REPLACE','tableOfContents','_licenseKeyCheckInterval','focus','body','groupId','aiLicenseKeyDomainLimit','change:isError','config','insertContent','getData','DataTransfer','ck-ai-assistant-button\x20','getSelectedElement','aiLicenseKeyNotAllowed','currentContext','includes','aiLicenseKeyUsageLimit','982232zIhCws','change:value','AI\x20Assistant','INSERT','listenTo','menuView'];_0x2219=function(){return _0x1a69b3;};return _0x2219();}const l=globalThis[_0x53788c(0x1dd)];import{ClipboardMarkersUtils as _0x57b99a}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3db746,ViewDataTransfer as _0x3db066}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0xd644f0{[_0x53788c(0x185)];[_0x53788c(0x1d4)];[_0x53788c(0x1ec)];[_0x53788c(0x167)];[_0x53788c(0x1ee)];[_0x53788c(0x1a1)];[_0x53788c(0x15c)]='';static get[_0x53788c(0x1ad)](){const _0x1669d5=_0x53788c;return _0x1669d5(0x161);}static get[_0x53788c(0x1a5)](){return!0x0;}static get[_0x53788c(0x1fe)](){return!0x0;}static get[_0x53788c(0x1b5)](){return[_0x57b99a,_0x2b4523,_0x26bd54,_0x1acef7];}constructor(_0x41e404){const _0x54fef0=_0x53788c;super(_0x41e404),_0x41e404[_0x54fef0(0x1da)][_0x54fef0(0x1c8)](_0x54fef0(0x176),[_0x54fef0(0x1a0),_0x54fef0(0x1b9),_0x54fef0(0x1d3)]),_0x41e404[_0x54fef0(0x1da)][_0x54fef0(0x1c8)](_0x54fef0(0x1fc),''),_0x41e404[_0x54fef0(0x1da)][_0x54fef0(0x1c8)](_0x54fef0(0x174),!0x0),this[_0x54fef0(0x15c)]=_0x54fef0(0x19a)+(_0x41e404[_0x54fef0(0x1da)][_0x54fef0(0x17f)](_0x54fef0(0x174))?_0x54fef0(0x16f):'');}[_0x53788c(0x1ef)](){const _0x3492f6=_0x53788c,{editor:_0x193d44}=this;this[_0x3492f6(0x1ee)]=_0x193d44[_0x3492f6(0x190)][_0x3492f6(0x17f)](_0x26bd54),this[_0x3492f6(0x1ec)]=_0x193d44[_0x3492f6(0x190)][_0x3492f6(0x17f)](_0x1acef7),this[_0x3492f6(0x167)]=null,this[_0x3492f6(0x160)]=this[_0x3492f6(0x168)]();const _0x5db2d5=new _0x56bd51(_0x193d44,Array[_0x3492f6(0x205)](this[_0x3492f6(0x160)][_0x3492f6(0x170)]()));_0x193d44[_0x3492f6(0x1f0)][_0x3492f6(0x16c)](_0x3492f6(0x189),_0x5db2d5),_0x193d44['ui'][_0x3492f6(0x1ff)][_0x3492f6(0x16c)](_0x3492f6(0x1fa),_0x4e64de=>{const _0x598c32=_0x3492f6,_0x78b831=_0x5865a0(_0x4e64de);return _0x78b831[_0x598c32(0x203)]({'class':_0x598c32(0x16d)+this[_0x598c32(0x15c)]}),_0x78b831[_0x598c32(0x172)][_0x598c32(0x203)]({'label':_0x5e449e(_0x4e64de,_0x598c32(0x1ca)),'icon':_0x52bfcb,'tooltip':!0x0}),_0x78b831['on'](_0x598c32(0x1a6),_0x336ce6=>this[_0x598c32(0x162)](_0x336ce6[_0x598c32(0x1b4)]['id'])),_0x163d0d(_0x78b831,_0x193d44['ui'][_0x598c32(0x204)][_0x598c32(0x1d6)],function(_0x2ea7fa){const _0x39bb86=_0x598c32,_0x339dfb=_0xb68271(_0x2ea7fa[_0x39bb86(0x1da)][_0x39bb86(0x17f)](_0x39bb86(0x177)),_0x2ea7fa[_0x39bb86(0x1b6)]),_0x282db1=U(_0x2ea7fa,_0x339dfb)[_0x39bb86(0x18c)](_0x1ba455=>_0x1ba455[_0x39bb86(0x1f0)][_0x39bb86(0x183)]);if(0x1===_0x282db1[_0x39bb86(0x183)])return U(_0x2ea7fa,_0x282db1[0x0][_0x39bb86(0x1f0)])[_0x39bb86(0x165)](_0x5f0f89=>({'id':_0x5f0f89['id'],'label':_0x5f0f89[_0x39bb86(0x1f6)]}));return _0x282db1[_0x39bb86(0x165)](_0x2f37fe=>{const _0x44cb7a=_0x39bb86,{groupId:_0x2f593d,groupLabel:_0x2561c1,commands:_0x5306bb}=_0x2f37fe,_0x4a67f6=U(_0x2ea7fa,_0x5306bb)[_0x44cb7a(0x165)](_0x2c7a36=>({'id':_0x2c7a36['id'],'label':_0x2c7a36[_0x44cb7a(0x1f6)]}));return{'id':_0x2f593d,'menu':_0x2561c1||_0x2f593d,'children':_0x4a67f6};});}(_0x193d44),{'ariaLabel':_0x5e449e(_0x4e64de,_0x598c32(0x1ca))}),_0x78b831[_0x598c32(0x1e9)][_0x598c32(0x1bd)]=_0x598c32(0x16d)+this[_0x598c32(0x15c)],_0x5db2d5['on'](_0x598c32(0x173),_0x466fae),_0x78b831[_0x598c32(0x1e9)][_0x598c32(0x1d0)](_0x598c32(0x199),_0x466fae),_0x78b831;function _0x466fae(){const _0x536267=_0x598c32;_0x78b831[_0x536267(0x182)]=_0x5db2d5[_0x536267(0x169)][_0x536267(0x183)]>0x0;for(const _0x196f4b of _0x78b831[_0x536267(0x1e9)][_0x536267(0x201)])_0x196f4b[_0x536267(0x182)]=_0x5db2d5[_0x536267(0x169)][_0x536267(0x1e2)](_0x196f4b['id']);}}),_0x193d44['ui'][_0x3492f6(0x1ff)][_0x3492f6(0x16c)](_0x3492f6(0x194),_0x3fb343=>{const _0x24fcd3=_0x3492f6,_0x2e8556=new _0x2490e3(_0x3fb343);_0x2e8556[_0x24fcd3(0x172)][_0x24fcd3(0x203)]({'label':_0x5e449e(_0x3fb343,_0x24fcd3(0x1ca)),'icon':_0x52bfcb}),_0x2e8556[_0x24fcd3(0x197)](_0x24fcd3(0x182))['to'](_0x5db2d5,_0x24fcd3(0x169),_0x31d525=>_0x31d525[_0x24fcd3(0x183)]>0x0);const _0x4eeda6=_0xb68271(_0x193d44[_0x24fcd3(0x1da)][_0x24fcd3(0x17f)](_0x24fcd3(0x177)),_0x3fb343);return this[_0x24fcd3(0x158)](_0x5db2d5,_0x2e8556,_0x4eeda6,_0x5e9a36=>this[_0x24fcd3(0x162)](_0x5e9a36)),_0x2e8556;}),_0x193d44['ui'][_0x3492f6(0x1ff)][_0x3492f6(0x16c)](_0x3492f6(0x157),()=>{const _0x1a8451=_0x3492f6,_0x23cb5f=this[_0x1a8451(0x1ba)](_0x28b27f);return _0x23cb5f[_0x1a8451(0x203)]({'tooltip':!0x0,'class':_0x1a8451(0x1de)+this[_0x1a8451(0x15c)]}),_0x23cb5f;}),_0x193d44['ui'][_0x3492f6(0x1ff)][_0x3492f6(0x16c)](_0x3492f6(0x187),()=>{const _0x3c7f7b=_0x3492f6,_0x1b8091=this[_0x3c7f7b(0x1ba)](_0x435105);return _0x1b8091[_0x3c7f7b(0x203)]({'role':_0x3c7f7b(0x1d1)}),_0x1b8091;}),this[_0x3492f6(0x185)]=this[_0x3492f6(0x195)][_0x3492f6(0x1da)][_0x3492f6(0x17f)](_0x3492f6(0x185));const _0x126e9c=this[_0x3492f6(0x195)];this[_0x3492f6(0x1d4)]=setInterval(()=>{const _0x4a5903=_0x3492f6;let _0x14226f;for(const _0xf6033d in _0x126e9c){const _0x382aa3=_0xf6033d,_0x508345=_0x126e9c[_0x382aa3];if(_0x4a5903(0x16b)==_0x508345||_0x4a5903(0x1ce)==_0x508345||_0x4a5903(0x1f9)==_0x508345||_0x4a5903(0x1d8)==_0x508345||_0x4a5903(0x1e0)==_0x508345||_0x4a5903(0x1c5)==_0x508345||_0x4a5903(0x19b)==_0x508345||_0x4a5903(0x1e3)==_0x508345){delete _0x126e9c[_0x382aa3],_0x14226f=_0x508345,clearInterval(this[_0x4a5903(0x1d4)]),this[_0x4a5903(0x1d4)]=void 0x0;break;}}_0x4a5903(0x1ce)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x1c0)),_0x4a5903(0x1f9)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x1b8)),_0x4a5903(0x1d8)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x1bb)),_0x4a5903(0x1e0)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x175),_0x4a5903(0x1cc)),_0x4a5903(0x1c5)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x17d)),_0x4a5903(0x19b)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x17b)),_0x4a5903(0x1e3)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x1af));},0x3e8);}[_0x53788c(0x1b3)](){const _0x21f8da=_0x53788c;super[_0x21f8da(0x1b3)](),this[_0x21f8da(0x1d4)]&&clearInterval(this[_0x21f8da(0x1d4)]);}[_0x53788c(0x181)](_0x3dab88='',_0x4240bc='',_0x4a798e=_0x53788c(0x180)){const _0x232c6f=_0x53788c,_0x22397f=this[_0x232c6f(0x195)],_0x563b5a=_0x22397f[_0x232c6f(0x15b)][_0x232c6f(0x204)],_0x5a8ad4=_0x22397f[_0x232c6f(0x190)][_0x232c6f(0x17f)](_0x2b4523),_0x1ff2c0=_0x22397f[_0x232c6f(0x190)][_0x232c6f(0x17f)](_0x57b99a);_0x5a8ad4[_0x232c6f(0x1be)]();const _0x6afb22=new l(),_0x2c0b28=new ClipboardEvent(_0x232c6f(0x16a),{'clipboardData':_0x6afb22}),_0x2257df=new _0x3db066(_0x6afb22),_0x53a702=new _0x3db746(_0x563b5a,_0x2c0b28,{'dataTransfer':_0x2257df});_0x1ff2c0[_0x232c6f(0x18d)](_0x232c6f(0x1f5),()=>{const _0x3bbd67=_0x232c6f;_0x563b5a[_0x3bbd67(0x196)][_0x3bbd67(0x1c4)](_0x3bbd67(0x16a),_0x53a702);}),this[_0x232c6f(0x167)]||(this[_0x232c6f(0x202)](),this[_0x232c6f(0x1a1)]=new _0x4aaeb4(_0x22397f,this[_0x232c6f(0x1ee)][_0x232c6f(0x17a)],this[_0x232c6f(0x167)]));let _0x54b2d5=_0x2257df[_0x232c6f(0x1dc)](_0x232c6f(0x1c2));const _0x305df3=_0x22397f[_0x232c6f(0x193)][_0x232c6f(0x196)][_0x232c6f(0x15a)],_0x2ef395=Array[_0x232c6f(0x205)](_0x305df3[_0x232c6f(0x200)]());0x1===_0x2ef395[_0x232c6f(0x183)]&&_0x2ef395[0x0][_0x232c6f(0x191)]&&!_0x305df3[_0x232c6f(0x1df)]()&&''!==_0x54b2d5[_0x232c6f(0x1bc)](/&nbsp;/g,'')[_0x232c6f(0x186)]()&&(_0x54b2d5=_0x232c6f(0x1ea)+_0x54b2d5+_0x232c6f(0x18a)),this[_0x232c6f(0x1a1)][_0x232c6f(0x184)]({'actionId':_0x4a798e,'query':_0x3dab88,'htmlContent':_0x54b2d5,'label':_0x4240bc,'mainActionLabel':_0x1c402d[_0x22397f[_0x232c6f(0x193)][_0x232c6f(0x196)][_0x232c6f(0x15a)][_0x232c6f(0x1b1)]?_0x232c6f(0x1e7):_0x232c6f(0x1d2)]}),_0x232c6f(0x157)!==this[_0x232c6f(0x1ec)]['id']?this[_0x232c6f(0x1ec)][_0x232c6f(0x1b0)]({'id':_0x232c6f(0x157),'icon':_0x159451,'title':_0x5e449e(this[_0x232c6f(0x195)][_0x232c6f(0x1b6)],_0x232c6f(0x1e6)),'content':this[_0x232c6f(0x167)],'position':_0x56856d[_0x232c6f(0x1c1)],'onShow':()=>{const _0x5d303a=_0x232c6f;this[_0x5d303a(0x167)][_0x5d303a(0x1d5)]();},'onHide':()=>{const _0x358bf2=_0x232c6f;this[_0x358bf2(0x1a1)][_0x358bf2(0x1b7)](),_0x5a8ad4[_0x358bf2(0x1f2)]();}}):this[_0x232c6f(0x1ec)][_0x232c6f(0x204)][_0x232c6f(0x207)]||this[_0x232c6f(0x1ec)][_0x232c6f(0x204)][_0x232c6f(0x15d)]();}[_0x53788c(0x15f)](){const _0x58dae8=_0x53788c;this[_0x58dae8(0x1ec)][_0x58dae8(0x188)]();}[_0x53788c(0x168)](){const _0x2a3e28=_0x53788c,_0x4d45e4=new Map(),_0x32e291=_0xb68271(this[_0x2a3e28(0x195)][_0x2a3e28(0x1da)][_0x2a3e28(0x17f)](_0x2a3e28(0x177)),this[_0x2a3e28(0x195)][_0x2a3e28(0x1b6)]);for(const _0x3be3fc of _0x32e291)for(const _0x35365d of _0x3be3fc[_0x2a3e28(0x1f0)])_0x4d45e4[_0x2a3e28(0x203)](_0x35365d['id'],{..._0x35365d,'groupId':_0x3be3fc[_0x2a3e28(0x1d7)],'groupLabel':_0x3be3fc[_0x2a3e28(0x1b2)]||_0x3be3fc[_0x2a3e28(0x1d7)]});return _0x4d45e4;}[_0x53788c(0x1ba)](_0x335b07){const _0x190a65=_0x53788c,_0x1220af=this[_0x190a65(0x195)],_0x23ed37=_0x1220af[_0x190a65(0x1f0)][_0x190a65(0x17f)](_0x190a65(0x189)),_0x317e85=new _0x335b07(_0x1220af[_0x190a65(0x1b6)]);return _0x317e85[_0x190a65(0x203)]({'label':_0x5e449e(_0x1220af[_0x190a65(0x1b6)],_0x190a65(0x1e6)),'icon':_0x159451,'isToggleable':!0x0}),_0x317e85[_0x190a65(0x197)](_0x190a65(0x182))['to'](_0x23ed37),_0x317e85[_0x190a65(0x197)](_0x190a65(0x1c9))['to'](this[_0x190a65(0x1ec)],'id',_0x42aa6b=>_0x190a65(0x157)===_0x42aa6b),this[_0x190a65(0x1e8)](_0x317e85,_0x190a65(0x1a6),()=>{const _0x5f288b=_0x190a65;_0x317e85[_0x5f288b(0x1c9)]?this[_0x5f288b(0x15f)]():_0x23ed37[_0x5f288b(0x1a6)]();}),_0x317e85;}[_0x53788c(0x202)](){const _0x341275=_0x53788c,_0x525be7=this[_0x341275(0x195)][_0x341275(0x190)][_0x341275(0x17f)](_0x2b4523);this[_0x341275(0x167)]=new _0x6ce093(this[_0x341275(0x195)][_0x341275(0x1b6)],this[_0x341275(0x15c)],this[_0x341275(0x195)][_0x341275(0x1da)][_0x341275(0x17f)](_0x341275(0x1fc))),this[_0x341275(0x167)]['on'](_0x341275(0x1e5),()=>{const _0xc30f49=_0x341275;this[_0xc30f49(0x1ec)][_0xc30f49(0x204)][_0xc30f49(0x207)]||this[_0xc30f49(0x1ec)][_0xc30f49(0x204)][_0xc30f49(0x15d)]();}),this[_0x341275(0x167)][_0x341275(0x1f3)][_0x341275(0x17e)][_0x341275(0x19d)]['on'](_0x341275(0x19f),()=>{const _0x5cd37b=_0x341275;this[_0x5cd37b(0x1ec)][_0x5cd37b(0x204)][_0x5cd37b(0x207)]||this[_0x5cd37b(0x1ec)][_0x5cd37b(0x204)][_0x5cd37b(0x15d)]();}),this[_0x341275(0x1e8)](this[_0x341275(0x167)],_0x341275(0x171),()=>{const _0x39bad2=_0x341275;_0x525be7[_0x39bad2(0x1db)](this[_0x39bad2(0x1a1)][_0x39bad2(0x1e1)]),this[_0x39bad2(0x15f)]();}),this[_0x341275(0x1e8)](this[_0x341275(0x167)],_0x341275(0x1eb),()=>{const _0x1083d9=_0x341275;_0x525be7[_0x1083d9(0x1eb)](this[_0x1083d9(0x1a1)][_0x1083d9(0x1e1)]),this[_0x1083d9(0x15f)]();}),this[_0x341275(0x1a8)]();}[_0x53788c(0x1a8)](){const _0x43faff=_0x53788c,{locale:_0x1f5c28,ui:{ariaLiveAnnouncer:_0x7e80f3}}=this[_0x43faff(0x195)];this[_0x43faff(0x167)][_0x43faff(0x1f4)]['on'](_0x43faff(0x159),(_0x466f7d,_0x526ffc,_0x93bd31)=>{const _0xd0c224=_0x43faff,_0x5407c7=this[_0xd0c224(0x1a1)][_0xd0c224(0x1e1)];_0x93bd31?_0x7e80f3[_0xd0c224(0x1f8)](_0x5e449e(_0x1f5c28,_0xd0c224(0x1cd))):_0x5407c7&&_0x7e80f3[_0xd0c224(0x1f8)](_0x5e449e(_0x1f5c28,_0xd0c224(0x1a3),_0x5407c7),{'politeness':_0xd0c224(0x17c),'isUnsafeHTML':!0x0});}),this[_0x43faff(0x167)]['on'](_0x43faff(0x1d9),(_0x5c526f,_0x5aa05b,_0xf08a2c)=>{const _0x2d3751=_0x43faff;if(_0xf08a2c){const _0x3e93e2=this[_0x2d3751(0x167)][_0x2d3751(0x1ed)][_0x2d3751(0x192)];_0x7e80f3[_0x2d3751(0x1f8)](_0x5e449e(_0x1f5c28,_0x2d3751(0x1fd),_0x3e93e2));}});}[_0x53788c(0x162)](_0xaaf836){const _0x5f1d77=_0x53788c,_0x1cd5b1=this[_0x5f1d77(0x160)][_0x5f1d77(0x17f)](_0xaaf836),_0xf0bd8d=this[_0x5f1d77(0x195)],_0x263c52=_0xf0bd8d[_0x5f1d77(0x193)][_0x5f1d77(0x196)][_0x5f1d77(0x15a)],_0x19de53=_0xf0bd8d[_0x5f1d77(0x1f0)][_0x5f1d77(0x17f)](_0x5f1d77(0x189)),_0x2b04e5=_0xf0bd8d[_0x5f1d77(0x190)][_0x5f1d77(0x17f)](_0x2b4523),_0x571f0f=''+(_0x1cd5b1[_0x5f1d77(0x1d7)]!==_0x37219a?_0x1cd5b1[_0x5f1d77(0x1b2)]+':\x20':'')+_0x1cd5b1[_0x5f1d77(0x1f6)];if(!0x1!==_0x1cd5b1[_0x5f1d77(0x1c3)]&&_0x263c52[_0x5f1d77(0x1b1)]){const _0x3236d7=_0x4e33dd(_0x263c52[_0x5f1d77(0x1ac)]())||_0xf0bd8d[_0x5f1d77(0x193)][_0x5f1d77(0x1ab)][_0x5f1d77(0x1ae)](_0x263c52);_0xf0bd8d[_0x5f1d77(0x193)][_0x5f1d77(0x1c7)](_0x4daac4=>{const _0x5df1c6=_0x5f1d77;_0x4daac4[_0x5df1c6(0x166)](_0x3236d7,'in');});}_0x2b04e5[_0x5f1d77(0x1be)](),_0x19de53[_0x5f1d77(0x1a6)](_0x1cd5b1[_0x5f1d77(0x178)],_0x571f0f,_0x5f1d77(0x1fb)+_0xaaf836);}[_0x53788c(0x158)](_0x34d6c5,_0xd72846,_0x803598,_0xe4d894){const _0x1deb7a=_0x53788c,_0x481280=this[_0x1deb7a(0x195)],_0x4586fb=_0x481280[_0x1deb7a(0x1b6)],_0x2871ac=new _0x3f89f1(_0x4586fb),_0x587838=U(_0x481280,_0x803598)[_0x1deb7a(0x18c)](_0x570c11=>_0x570c11[_0x1deb7a(0x1f0)][_0x1deb7a(0x183)]);0x1===_0x587838[_0x1deb7a(0x183)]?this[_0x1deb7a(0x198)]({'command':_0x34d6c5,'commands':_0x587838[0x0][_0x1deb7a(0x1f0)],'parentMenuView':_0xd72846,'onExecute':_0xe4d894})[_0x1deb7a(0x18e)](_0x2b6b49=>_0x2871ac[_0x1deb7a(0x1cb)][_0x1deb7a(0x16c)](_0x2b6b49)):_0x587838[_0x1deb7a(0x18e)](({groupId:_0x11a8c9,groupLabel:_0x3136fb,commands:_0x20e920})=>{const _0x5e8709=_0x1deb7a,_0x3b24ce=new _0x405b6f(_0x4586fb,_0xd72846),_0x28cc36=new _0x2490e3(_0x4586fb),_0x1bdbb4=new _0x3f89f1(_0x4586fb),_0x1602f3=this[_0x5e8709(0x198)]({'command':_0x34d6c5,'commands':_0x20e920,'parentMenuView':_0x28cc36,'onExecute':_0xe4d894});_0x28cc36[_0x5e8709(0x172)][_0x5e8709(0x203)]({'label':_0x3136fb||_0x11a8c9}),_0x28cc36[_0x5e8709(0x1a7)](_0x5e8709(0x1a6))['to'](_0xd72846),_0x1bdbb4[_0x5e8709(0x1cb)][_0x5e8709(0x16e)](_0x1602f3),_0x28cc36[_0x5e8709(0x1a4)][_0x5e8709(0x1aa)][_0x5e8709(0x16c)](_0x1bdbb4),_0x3b24ce[_0x5e8709(0x1aa)][_0x5e8709(0x16c)](_0x28cc36),_0x2871ac[_0x5e8709(0x1cb)][_0x5e8709(0x16c)](_0x3b24ce);}),_0xd72846[_0x1deb7a(0x1a4)][_0x1deb7a(0x1aa)][_0x1deb7a(0x16c)](_0x2871ac);}[_0x53788c(0x198)]({command:_0x231bb3,commands:_0x149384,parentMenuView:_0x1067b9,onExecute:_0x4fc57b}){const _0x31f9e8=_0x53788c,_0x58b266=this[_0x31f9e8(0x195)],_0x566297=_0x58b266[_0x31f9e8(0x1b6)];return U(_0x58b266,_0x149384)[_0x31f9e8(0x165)](_0x2e6467=>{const _0x3b4a98=_0x31f9e8,_0x412335=new _0x405b6f(_0x566297,_0x1067b9),_0xca98d5=new _0x435105(_0x566297);return _0xca98d5[_0x3b4a98(0x203)]({'label':_0x2e6467[_0x3b4a98(0x1f6)]}),_0xca98d5[_0x3b4a98(0x1a7)](_0x3b4a98(0x1a6))['to'](_0x1067b9),_0xca98d5['on'](_0x3b4a98(0x1a6),()=>_0x4fc57b(_0x2e6467['id'])),_0xca98d5[_0x3b4a98(0x197)](_0x3b4a98(0x182))['to'](_0x231bb3,_0x3b4a98(0x169),_0x3d52f2=>_0x3d52f2[_0x3b4a98(0x1e2)](_0x2e6467['id'])),_0x412335[_0x3b4a98(0x1aa)][_0x3b4a98(0x16c)](_0xca98d5),_0x412335;});}}function T(_0x278470,_0x1177f3){const _0x54226a=_0x53788c;return void 0x0!==_0x278470[_0x54226a(0x1bf)]&&void 0x0===_0x1177f3[_0x54226a(0x1bf)]?0x1:void 0x0===_0x278470[_0x54226a(0x1bf)]&&void 0x0!==_0x1177f3[_0x54226a(0x1bf)]?-0x1:void 0x0!==_0x278470[_0x54226a(0x1bf)]&&void 0x0!==_0x1177f3[_0x54226a(0x1bf)]?_0x278470[_0x54226a(0x1bf)]-_0x1177f3[_0x54226a(0x1bf)]:0x0;}function U(_0x3cdfbb,_0x499f57){const _0x16fcce=_0x53788c;_0x499f57[_0x16fcce(0x206)](T);const _0x4739bc={},_0x131ccc=[];for(const _0x462411 of _0x499f57)if(void 0x0!==_0x462411[_0x16fcce(0x1bf)]){if(_0x462411[_0x16fcce(0x1bf)]in _0x4739bc)throw new _0x502507(_0x16fcce(0x15e),_0x3cdfbb,{'conflictingDefinitions':[_0x462411,_0x4739bc[_0x462411[_0x16fcce(0x1bf)]]]});_0x4739bc[_0x462411[_0x16fcce(0x1bf)]]=_0x462411,_0x131ccc[_0x16fcce(0x1f7)](_0x462411[_0x16fcce(0x1bf)],0x0,_0x462411);}else _0x131ccc[_0x16fcce(0x18f)](_0x462411);return _0x131ccc;}
23
+ const _0x5426a0=_0x33a5;(function(_0x5d6483,_0x5436d8){const _0xeec4a2=_0x33a5,_0x40874f=_0x5d6483();while(!![]){try{const _0x25aea2=-parseInt(_0xeec4a2(0x1f7))/0x1*(parseInt(_0xeec4a2(0x1f1))/0x2)+-parseInt(_0xeec4a2(0x1c4))/0x3*(parseInt(_0xeec4a2(0x17d))/0x4)+parseInt(_0xeec4a2(0x183))/0x5+parseInt(_0xeec4a2(0x1af))/0x6+-parseInt(_0xeec4a2(0x196))/0x7+-parseInt(_0xeec4a2(0x18f))/0x8+parseInt(_0xeec4a2(0x1b0))/0x9*(parseInt(_0xeec4a2(0x200))/0xa);if(_0x25aea2===_0x5436d8)break;else _0x40874f['push'](_0x40874f['shift']());}catch(_0x77d7d7){_0x40874f['push'](_0x40874f['shift']());}}}(_0xa5bb,0x31521));import{Plugin as _0x2a3991}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4c0a0b,IconRobotPencil as _0x1e2d81}from'ckeditor5/src/icons.js';import{first as _0x356077,CKEditorError as _0x37918c}from'ckeditor5/src/utils.js';import{createDropdown as _0x2f52cb,addMenuToDropdown as _0x1a815f,ButtonView as _0xe3c951,MenuBarMenuListItemButtonView as _0x20b754,Dialog as _0x5971e2,DialogViewPosition as _0x1070a2,MenuBarMenuView as _0x1b0b27,MenuBarMenuListView as _0x452bc6,MenuBarMenuListItemView as _0x5a24f9}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4f8b0e,UNGROUPED_COMMANDS_GROUP_ID as _0x2e7f98}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x1b47f6}from'./aiassistantediting.js';import{AIAdapter as _0x3bf4e4}from'./adapters/aiadapter.js';import{getTranslation as _0x342412}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x5b7f95}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x42ef3d}from'./ui/aiassistantcontroller.js';import{AIFormView as _0xe4c09e}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x17ae2d}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';function _0xa5bb(){const _0x2e9142=['map','showFakeVisualSelection','errorView','EDITOR_TOP_SIDE','bind','execute','focus','updateView','AIAssistantUI','<p>','_commandDefinitions','media','order','isPremiumPlugin','hideUI','showAIAssistant','get','replaceContent','model','values','reset','getLimitElement','locale','menuitemcheckbox','editing','view','isCollapsed','REPLACE','menuView','change','ck-ai-assistant-ui','isOfficialPlugin','polite','forEach','render','rawHtml','ck-ai-assistant-button\x20','editor','listenTo','show','_licenseKeyCheckInterval','items','fieldView','includes','36QyxoMW','fire','replace','trim','aiLicenseKeyValid','Error\x20during\x20AI\x20content\x20generation:\x20%0','82545BkEnqA','aiAssistant','label','usageLimit','buttons','queryView','text','set','ai-commands-config-order-collision','evaluationLimit','sort','_formView','488960goZtHq','ai.aiAssistant.disabledElements','text/html','groupId','isFlat','aiCommands','children','967988akxQTD','change:enabledCommandsIds','aiLicenseKeyUsageLimit','panelView','groupLabel','_initView','setSelection','INSERT','aiLicenseKeyExpired','menuBar:aiAssistant','delegate','DataTransfer','addMany','getSelectedBlocks','splice','licenseKey','document','custom','textAdapter','buttonView','requiresContent','aiLicenseKeyNotAllowed','_onExecute','change:isError','insertContent','1429764ClTAoN','9BQzBoK','_forceMarkersCopy','hide','currentContext','_showLicenseError','Generated\x20content:\x20%0','_getMenuBarGroupButtons','update','wasMoved','_aiAssistantController','featureNotAllowed','isEnabled','filter','announce','_createAIAssistantUIButton','selection','getData','plugins','from','aiLicenseKeyEvaluationLimit','15327IOPwTb','enabledCommandsIds','aiLicenseKeyInvalid','requires','\x20ck-ai-assistant-ui_theme','expired','contentArea','destroy','push','commands','promptView','change:value','menuBar:aiCommands','aiLicenseKeyDomainLimit','once','source','command:','</p>','_getResolvedCommandsDefinitions','AI\x20is\x20writing','config','insertContentBelow','ai.aiAssistant.contentAreaCssClass','showUI','copy','getRanges','AIAssistant','updatePosition','tableOfContents','invalid','_initAriaAiStatusChangeAnnouncements','trialLimit','getSelectedElement','aiLicenseKeyTrialLimit','define','isOn','add','_populateMenuBarMenu','length','_aiAdapter','change:isProcessing','_uiCssClasses','menuPanelClass','AI\x20Assistant','body','136bmCaLC','ck-ai-commands-dropdown\x20','_dialog','prompt','comment','componentFactory','1877fSWCQW','pluginName','init','ai.aiAssistant.commands','domainLimit','schema','ai.useTheme','hideFakeVisualSelection','AI\x20Commands','3202350hGZHym'];_0xa5bb=function(){return _0x2e9142;};return _0xa5bb();}const l=globalThis[_0x5426a0(0x1a1)];import{ClipboardMarkersUtils as _0x524eb7}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x41d50a,ViewDataTransfer as _0x423d52}from'ckeditor5/src/engine.js';function _0x33a5(_0xdd3b19,_0xb0b2de){const _0xa5bba1=_0xa5bb();return _0x33a5=function(_0x33a523,_0x5e668b){_0x33a523=_0x33a523-0x166;let _0x31dcbf=_0xa5bba1[_0x33a523];return _0x31dcbf;},_0x33a5(_0xdd3b19,_0xb0b2de);}export class AIAssistantUI extends _0x2a3991{[_0x5426a0(0x1a5)];[_0x5426a0(0x179)];[_0x5426a0(0x1f3)];[_0x5426a0(0x18e)];[_0x5426a0(0x1eb)];[_0x5426a0(0x1b9)];[_0x5426a0(0x1ed)]='';static get[_0x5426a0(0x1f8)](){const _0x298ec4=_0x5426a0;return _0x298ec4(0x209);}static get[_0x5426a0(0x170)](){return!0x0;}static get[_0x5426a0(0x20e)](){return!0x0;}static get[_0x5426a0(0x1c7)](){return[_0x524eb7,_0x1b47f6,_0x3bf4e4,_0x5971e2];}constructor(_0x3378c8){const _0x26aad3=_0x5426a0;super(_0x3378c8),_0x3378c8[_0x26aad3(0x1d8)][_0x26aad3(0x1e6)](_0x26aad3(0x190),[_0x26aad3(0x20c),_0x26aad3(0x174),_0x26aad3(0x1e0)]),_0x3378c8[_0x26aad3(0x1d8)][_0x26aad3(0x1e6)](_0x26aad3(0x1da),''),_0x3378c8[_0x26aad3(0x1d8)][_0x26aad3(0x1e6)](_0x26aad3(0x1fd),!0x0),this[_0x26aad3(0x1ed)]=_0x26aad3(0x16f)+(_0x3378c8[_0x26aad3(0x1d8)][_0x26aad3(0x211)](_0x26aad3(0x1fd))?_0x26aad3(0x1c8):'');}[_0x5426a0(0x1f9)](){const _0x3930aa=_0x5426a0,{editor:_0xd54d8b}=this;this[_0x3930aa(0x1eb)]=_0xd54d8b[_0x3930aa(0x1c1)][_0x3930aa(0x211)](_0x3bf4e4),this[_0x3930aa(0x1f3)]=_0xd54d8b[_0x3930aa(0x1c1)][_0x3930aa(0x211)](_0x5971e2),this[_0x3930aa(0x18e)]=null,this[_0x3930aa(0x20b)]=this[_0x3930aa(0x1d6)]();const _0x5b5448=new _0x5b7f95(_0xd54d8b,Array[_0x3930aa(0x1c2)](this[_0x3930aa(0x20b)][_0x3930aa(0x214)]()));_0xd54d8b[_0x3930aa(0x1cd)][_0x3930aa(0x1e8)](_0x3930aa(0x210),_0x5b5448),_0xd54d8b['ui'][_0x3930aa(0x1f6)][_0x3930aa(0x1e8)](_0x3930aa(0x194),_0x495f2a=>{const _0x36bce3=_0x3930aa,_0x4326d3=_0x2f52cb(_0x495f2a);return _0x4326d3[_0x36bce3(0x18a)]({'class':_0x36bce3(0x1f2)+this[_0x36bce3(0x1ed)]}),_0x4326d3[_0x36bce3(0x1a9)][_0x36bce3(0x18a)]({'label':_0x342412(_0x495f2a,_0x36bce3(0x1ff)),'icon':_0x4c0a0b,'tooltip':!0x0}),_0x4326d3['on'](_0x36bce3(0x206),_0x43b4d6=>this[_0x36bce3(0x1ac)](_0x43b4d6[_0x36bce3(0x1d3)]['id'])),_0x1a815f(_0x4326d3,_0xd54d8b['ui'][_0x36bce3(0x16a)][_0x36bce3(0x1f0)],function(_0xd2a6fc){const _0x1a0997=_0x36bce3,_0x181f1c=_0x4f8b0e(_0xd2a6fc[_0x1a0997(0x1d8)][_0x1a0997(0x211)](_0x1a0997(0x1fa)),_0xd2a6fc[_0x1a0997(0x167)]),_0x85c746=U(_0xd2a6fc,_0x181f1c)[_0x1a0997(0x1bc)](_0x313d78=>_0x313d78[_0x1a0997(0x1cd)][_0x1a0997(0x1ea)]);if(0x1===_0x85c746[_0x1a0997(0x1ea)])return U(_0xd2a6fc,_0x85c746[0x0][_0x1a0997(0x1cd)])[_0x1a0997(0x201)](_0x3f04c6=>({'id':_0x3f04c6['id'],'label':_0x3f04c6[_0x1a0997(0x185)]}));return _0x85c746[_0x1a0997(0x201)](_0x16f3f7=>{const _0x592ce1=_0x1a0997,{groupId:_0x26bbab,groupLabel:_0x56c81d,commands:_0x30e2e1}=_0x16f3f7,_0xee2213=U(_0xd2a6fc,_0x30e2e1)[_0x592ce1(0x201)](_0x4c382f=>({'id':_0x4c382f['id'],'label':_0x4c382f[_0x592ce1(0x185)]}));return{'id':_0x26bbab,'menu':_0x56c81d||_0x26bbab,'children':_0xee2213};});}(_0xd54d8b),{'ariaLabel':_0x342412(_0x495f2a,_0x36bce3(0x1ff))}),_0x4326d3[_0x36bce3(0x16d)][_0x36bce3(0x1ee)]=_0x36bce3(0x1f2)+this[_0x36bce3(0x1ed)],_0x5b5448['on'](_0x36bce3(0x197),_0x33405c),_0x4326d3[_0x36bce3(0x16d)][_0x36bce3(0x1d2)](_0x36bce3(0x173),_0x33405c),_0x4326d3;function _0x33405c(){const _0x3cc1cd=_0x36bce3;_0x4326d3[_0x3cc1cd(0x1bb)]=_0x5b5448[_0x3cc1cd(0x1c5)][_0x3cc1cd(0x1ea)]>0x0;for(const _0x21bd90 of _0x4326d3[_0x3cc1cd(0x16d)][_0x3cc1cd(0x187)])_0x21bd90[_0x3cc1cd(0x1bb)]=_0x5b5448[_0x3cc1cd(0x1c5)][_0x3cc1cd(0x17c)](_0x21bd90['id']);}}),_0xd54d8b['ui'][_0x3930aa(0x1f6)][_0x3930aa(0x1e8)](_0x3930aa(0x1d0),_0x55acf0=>{const _0x2754ad=_0x3930aa,_0x17ecb3=new _0x1b0b27(_0x55acf0);_0x17ecb3[_0x2754ad(0x1a9)][_0x2754ad(0x18a)]({'label':_0x342412(_0x55acf0,_0x2754ad(0x1ff)),'icon':_0x4c0a0b}),_0x17ecb3[_0x2754ad(0x205)](_0x2754ad(0x1bb))['to'](_0x5b5448,_0x2754ad(0x1c5),_0x221673=>_0x221673[_0x2754ad(0x1ea)]>0x0);const _0x103f1b=_0x4f8b0e(_0xd54d8b[_0x2754ad(0x1d8)][_0x2754ad(0x211)](_0x2754ad(0x1fa)),_0x55acf0);return this[_0x2754ad(0x1e9)](_0x5b5448,_0x17ecb3,_0x103f1b,_0x61d8a6=>this[_0x2754ad(0x1ac)](_0x61d8a6)),_0x17ecb3;}),_0xd54d8b['ui'][_0x3930aa(0x1f6)][_0x3930aa(0x1e8)](_0x3930aa(0x184),()=>{const _0x1d36d9=_0x3930aa,_0x41bb97=this[_0x1d36d9(0x1be)](_0xe3c951);return _0x41bb97[_0x1d36d9(0x18a)]({'tooltip':!0x0,'class':_0x1d36d9(0x175)+this[_0x1d36d9(0x1ed)]}),_0x41bb97;}),_0xd54d8b['ui'][_0x3930aa(0x1f6)][_0x3930aa(0x1e8)](_0x3930aa(0x19f),()=>{const _0x462238=_0x3930aa,_0x427846=this[_0x462238(0x1be)](_0x20b754);return _0x427846[_0x462238(0x18a)]({'role':_0x462238(0x168)}),_0x427846;}),this[_0x3930aa(0x1a5)]=this[_0x3930aa(0x176)][_0x3930aa(0x1d8)][_0x3930aa(0x211)](_0x3930aa(0x1a5));const _0x4b12fc=this[_0x3930aa(0x176)];this[_0x3930aa(0x179)]=setInterval(()=>{const _0x1d9814=_0x3930aa;let _0x548782;for(const _0x26ec3a in _0x4b12fc){const _0x369d3e=_0x26ec3a,_0x3e52b7=_0x4b12fc[_0x369d3e];if(_0x1d9814(0x181)==_0x3e52b7||_0x1d9814(0x1c6)==_0x3e52b7||_0x1d9814(0x19e)==_0x3e52b7||_0x1d9814(0x1d1)==_0x3e52b7||_0x1d9814(0x1ab)==_0x3e52b7||_0x1d9814(0x1c3)==_0x3e52b7||_0x1d9814(0x1e5)==_0x3e52b7||_0x1d9814(0x198)==_0x3e52b7){delete _0x4b12fc[_0x369d3e],_0x548782=_0x3e52b7,clearInterval(this[_0x1d9814(0x179)]),this[_0x1d9814(0x179)]=void 0x0;break;}}_0x1d9814(0x1c6)==_0x548782&&_0x4b12fc[_0x1d9814(0x1b4)](_0x1d9814(0x1e1)),_0x1d9814(0x19e)==_0x548782&&_0x4b12fc[_0x1d9814(0x1b4)](_0x1d9814(0x1c9)),_0x1d9814(0x1d1)==_0x548782&&_0x4b12fc[_0x1d9814(0x1b4)](_0x1d9814(0x1fb)),_0x1d9814(0x1ab)==_0x548782&&_0x4b12fc[_0x1d9814(0x1b4)](_0x1d9814(0x1ba),_0x1d9814(0x1de)),_0x1d9814(0x1c3)==_0x548782&&_0x4b12fc[_0x1d9814(0x1b4)](_0x1d9814(0x18c)),_0x1d9814(0x1e5)==_0x548782&&_0x4b12fc[_0x1d9814(0x1b4)](_0x1d9814(0x1e3)),_0x1d9814(0x198)==_0x548782&&_0x4b12fc[_0x1d9814(0x1b4)](_0x1d9814(0x186));},0x3e8);}[_0x5426a0(0x1cb)](){const _0x2548d6=_0x5426a0;super[_0x2548d6(0x1cb)](),this[_0x2548d6(0x179)]&&clearInterval(this[_0x2548d6(0x179)]);}[_0x5426a0(0x1db)](_0x288a50='',_0xae931a='',_0x58878e=_0x5426a0(0x1a7)){const _0x3028d5=_0x5426a0,_0x3c2849=this[_0x3028d5(0x176)],_0x304fbd=_0x3c2849[_0x3028d5(0x169)][_0x3028d5(0x16a)],_0x251202=_0x3c2849[_0x3028d5(0x1c1)][_0x3028d5(0x211)](_0x1b47f6),_0x46d758=_0x3c2849[_0x3028d5(0x1c1)][_0x3028d5(0x211)](_0x524eb7);_0x251202[_0x3028d5(0x202)]();const _0x4328cd=new l(),_0x3c735a=new ClipboardEvent(_0x3028d5(0x1dc),{'clipboardData':_0x4328cd}),_0xdd7718=new _0x423d52(_0x4328cd),_0x23d88f=new _0x41d50a(_0x304fbd,_0x3c735a,{'dataTransfer':_0xdd7718});_0x46d758[_0x3028d5(0x1b1)](_0x3028d5(0x1f5),()=>{const _0x152bf1=_0x3028d5;_0x304fbd[_0x152bf1(0x1a6)][_0x152bf1(0x17e)](_0x152bf1(0x1dc),_0x23d88f);}),this[_0x3028d5(0x18e)]||(this[_0x3028d5(0x19b)](),this[_0x3028d5(0x1b9)]=new _0x42ef3d(_0x3c2849,this[_0x3028d5(0x1eb)][_0x3028d5(0x1a8)],this[_0x3028d5(0x18e)]));let _0x16d088=_0xdd7718[_0x3028d5(0x1c0)](_0x3028d5(0x191));const _0x3023c4=_0x3c2849[_0x3028d5(0x213)][_0x3028d5(0x1a6)][_0x3028d5(0x1bf)],_0x2aedb0=Array[_0x3028d5(0x1c2)](_0x3023c4[_0x3028d5(0x1dd)]());0x1===_0x2aedb0[_0x3028d5(0x1ea)]&&_0x2aedb0[0x0][_0x3028d5(0x193)]&&!_0x3023c4[_0x3028d5(0x1e4)]()&&''!==_0x16d088[_0x3028d5(0x17f)](/&nbsp;/g,'')[_0x3028d5(0x180)]()&&(_0x16d088=_0x3028d5(0x20a)+_0x16d088+_0x3028d5(0x1d5)),this[_0x3028d5(0x1b9)][_0x3028d5(0x208)]({'actionId':_0x58878e,'query':_0x288a50,'htmlContent':_0x16d088,'label':_0xae931a,'mainActionLabel':_0x17ae2d[_0x3c2849[_0x3028d5(0x213)][_0x3028d5(0x1a6)][_0x3028d5(0x1bf)][_0x3028d5(0x16b)]?_0x3028d5(0x19d):_0x3028d5(0x16c)]}),_0x3028d5(0x184)!==this[_0x3028d5(0x1f3)]['id']?this[_0x3028d5(0x1f3)][_0x3028d5(0x178)]({'id':_0x3028d5(0x184),'icon':_0x1e2d81,'title':_0x342412(this[_0x3028d5(0x176)][_0x3028d5(0x167)],_0x3028d5(0x1ef)),'content':this[_0x3028d5(0x18e)],'position':_0x1070a2[_0x3028d5(0x204)],'onShow':()=>{const _0x542e1b=_0x3028d5;this[_0x542e1b(0x18e)][_0x542e1b(0x207)]();},'onHide':()=>{const _0x477487=_0x3028d5;this[_0x477487(0x1b9)][_0x477487(0x215)](),_0x251202[_0x477487(0x1fe)]();}}):this[_0x3028d5(0x1f3)][_0x3028d5(0x16a)][_0x3028d5(0x1b8)]||this[_0x3028d5(0x1f3)][_0x3028d5(0x16a)][_0x3028d5(0x1df)]();}[_0x5426a0(0x20f)](){const _0x343e31=_0x5426a0;this[_0x343e31(0x1f3)][_0x343e31(0x1b2)]();}[_0x5426a0(0x1d6)](){const _0x1fb16f=_0x5426a0,_0x4b2ca8=new Map(),_0x5025c6=_0x4f8b0e(this[_0x1fb16f(0x176)][_0x1fb16f(0x1d8)][_0x1fb16f(0x211)](_0x1fb16f(0x1fa)),this[_0x1fb16f(0x176)][_0x1fb16f(0x167)]);for(const _0x6d427a of _0x5025c6)for(const _0x2e3b82 of _0x6d427a[_0x1fb16f(0x1cd)])_0x4b2ca8[_0x1fb16f(0x18a)](_0x2e3b82['id'],{..._0x2e3b82,'groupId':_0x6d427a[_0x1fb16f(0x192)],'groupLabel':_0x6d427a[_0x1fb16f(0x19a)]||_0x6d427a[_0x1fb16f(0x192)]});return _0x4b2ca8;}[_0x5426a0(0x1be)](_0x142a61){const _0x30bf29=_0x5426a0,_0x5ee3a1=this[_0x30bf29(0x176)],_0x57e1a1=_0x5ee3a1[_0x30bf29(0x1cd)][_0x30bf29(0x211)](_0x30bf29(0x210)),_0x398302=new _0x142a61(_0x5ee3a1[_0x30bf29(0x167)]);return _0x398302[_0x30bf29(0x18a)]({'label':_0x342412(_0x5ee3a1[_0x30bf29(0x167)],_0x30bf29(0x1ef)),'icon':_0x1e2d81,'isToggleable':!0x0}),_0x398302[_0x30bf29(0x205)](_0x30bf29(0x1bb))['to'](_0x57e1a1),_0x398302[_0x30bf29(0x205)](_0x30bf29(0x1e7))['to'](this[_0x30bf29(0x1f3)],'id',_0x5a116b=>_0x30bf29(0x184)===_0x5a116b),this[_0x30bf29(0x177)](_0x398302,_0x30bf29(0x206),()=>{const _0x1338f0=_0x30bf29;_0x398302[_0x1338f0(0x1e7)]?this[_0x1338f0(0x20f)]():_0x57e1a1[_0x1338f0(0x206)]();}),_0x398302;}[_0x5426a0(0x19b)](){const _0x5b52d3=_0x5426a0,_0x2aed37=this[_0x5b52d3(0x176)][_0x5b52d3(0x1c1)][_0x5b52d3(0x211)](_0x1b47f6);this[_0x5b52d3(0x18e)]=new _0xe4c09e(this[_0x5b52d3(0x176)][_0x5b52d3(0x167)],this[_0x5b52d3(0x1ed)],this[_0x5b52d3(0x176)][_0x5b52d3(0x1d8)][_0x5b52d3(0x211)](_0x5b52d3(0x1da))),this[_0x5b52d3(0x18e)]['on'](_0x5b52d3(0x1cf),()=>{const _0x52413a=_0x5b52d3;this[_0x52413a(0x1f3)][_0x52413a(0x16a)][_0x52413a(0x1b8)]||this[_0x52413a(0x1f3)][_0x52413a(0x16a)][_0x52413a(0x1df)]();}),this[_0x5b52d3(0x18e)][_0x5b52d3(0x1ce)][_0x5b52d3(0x188)][_0x5b52d3(0x17b)]['on'](_0x5b52d3(0x1b7),()=>{const _0x409c12=_0x5b52d3;this[_0x409c12(0x1f3)][_0x409c12(0x16a)][_0x409c12(0x1b8)]||this[_0x409c12(0x1f3)][_0x409c12(0x16a)][_0x409c12(0x1df)]();}),this[_0x5b52d3(0x177)](this[_0x5b52d3(0x18e)],_0x5b52d3(0x212),()=>{const _0x215b7a=_0x5b52d3;_0x2aed37[_0x215b7a(0x1ae)](this[_0x215b7a(0x1b9)][_0x215b7a(0x1b3)]),this[_0x215b7a(0x20f)]();}),this[_0x5b52d3(0x177)](this[_0x5b52d3(0x18e)],_0x5b52d3(0x1d9),()=>{const _0x3b3d0f=_0x5b52d3;_0x2aed37[_0x3b3d0f(0x1d9)](this[_0x3b3d0f(0x1b9)][_0x3b3d0f(0x1b3)]),this[_0x3b3d0f(0x20f)]();}),this[_0x5b52d3(0x1e2)]();}[_0x5426a0(0x1e2)](){const _0x48af15=_0x5426a0,{locale:_0x4cd2d2,ui:{ariaLiveAnnouncer:_0x5267f5}}=this[_0x48af15(0x176)];this[_0x48af15(0x18e)][_0x48af15(0x1ca)]['on'](_0x48af15(0x1ec),(_0x3d9d11,_0x54e552,_0x34c255)=>{const _0x49b49=_0x48af15,_0x1e364a=this[_0x49b49(0x1b9)][_0x49b49(0x1b3)];_0x34c255?_0x5267f5[_0x49b49(0x1bd)](_0x342412(_0x4cd2d2,_0x49b49(0x1d7))):_0x1e364a&&_0x5267f5[_0x49b49(0x1bd)](_0x342412(_0x4cd2d2,_0x49b49(0x1b5),_0x1e364a),{'politeness':_0x49b49(0x171),'isUnsafeHTML':!0x0});}),this[_0x48af15(0x18e)]['on'](_0x48af15(0x1ad),(_0x575fbf,_0x26e6c9,_0x26d49c)=>{const _0x3647c5=_0x48af15;if(_0x26d49c){const _0x561f9b=this[_0x3647c5(0x18e)][_0x3647c5(0x203)][_0x3647c5(0x189)];_0x5267f5[_0x3647c5(0x1bd)](_0x342412(_0x4cd2d2,_0x3647c5(0x182),_0x561f9b));}});}[_0x5426a0(0x1ac)](_0x382ac4){const _0x3df713=_0x5426a0,_0x3ecefd=this[_0x3df713(0x20b)][_0x3df713(0x211)](_0x382ac4),_0x52f771=this[_0x3df713(0x176)],_0x28ad5b=_0x52f771[_0x3df713(0x213)][_0x3df713(0x1a6)][_0x3df713(0x1bf)],_0x30ff9f=_0x52f771[_0x3df713(0x1cd)][_0x3df713(0x211)](_0x3df713(0x210)),_0x293430=_0x52f771[_0x3df713(0x1c1)][_0x3df713(0x211)](_0x1b47f6),_0x2a339b=''+(_0x3ecefd[_0x3df713(0x192)]!==_0x2e7f98?_0x3ecefd[_0x3df713(0x19a)]+':\x20':'')+_0x3ecefd[_0x3df713(0x185)];if(!0x1!==_0x3ecefd[_0x3df713(0x1aa)]&&_0x28ad5b[_0x3df713(0x16b)]){const _0xc9f3e2=_0x356077(_0x28ad5b[_0x3df713(0x1a3)]())||_0x52f771[_0x3df713(0x213)][_0x3df713(0x1fc)][_0x3df713(0x166)](_0x28ad5b);_0x52f771[_0x3df713(0x213)][_0x3df713(0x16e)](_0x2a95ea=>{const _0x17be85=_0x3df713;_0x2a95ea[_0x17be85(0x19c)](_0xc9f3e2,'in');});}_0x293430[_0x3df713(0x202)](),_0x30ff9f[_0x3df713(0x206)](_0x3ecefd[_0x3df713(0x1f4)],_0x2a339b,_0x3df713(0x1d4)+_0x382ac4);}[_0x5426a0(0x1e9)](_0x38465d,_0x8b3bb,_0x3733af,_0x14e3ff){const _0x4c7eb1=_0x5426a0,_0x510231=this[_0x4c7eb1(0x176)],_0x597661=_0x510231[_0x4c7eb1(0x167)],_0xf95423=new _0x452bc6(_0x597661),_0x100226=U(_0x510231,_0x3733af)[_0x4c7eb1(0x1bc)](_0x2a6d7b=>_0x2a6d7b[_0x4c7eb1(0x1cd)][_0x4c7eb1(0x1ea)]);0x1===_0x100226[_0x4c7eb1(0x1ea)]?this[_0x4c7eb1(0x1b6)]({'command':_0x38465d,'commands':_0x100226[0x0][_0x4c7eb1(0x1cd)],'parentMenuView':_0x8b3bb,'onExecute':_0x14e3ff})[_0x4c7eb1(0x172)](_0x48f365=>_0xf95423[_0x4c7eb1(0x17a)][_0x4c7eb1(0x1e8)](_0x48f365)):_0x100226[_0x4c7eb1(0x172)](({groupId:_0x4cb883,groupLabel:_0x345e90,commands:_0x121b7d})=>{const _0x339934=_0x4c7eb1,_0x3b6249=new _0x5a24f9(_0x597661,_0x8b3bb),_0xc9943e=new _0x1b0b27(_0x597661),_0x5b1605=new _0x452bc6(_0x597661),_0x59090b=this[_0x339934(0x1b6)]({'command':_0x38465d,'commands':_0x121b7d,'parentMenuView':_0xc9943e,'onExecute':_0x14e3ff});_0xc9943e[_0x339934(0x1a9)][_0x339934(0x18a)]({'label':_0x345e90||_0x4cb883}),_0xc9943e[_0x339934(0x1a0)](_0x339934(0x206))['to'](_0x8b3bb),_0x5b1605[_0x339934(0x17a)][_0x339934(0x1a2)](_0x59090b),_0xc9943e[_0x339934(0x199)][_0x339934(0x195)][_0x339934(0x1e8)](_0x5b1605),_0x3b6249[_0x339934(0x195)][_0x339934(0x1e8)](_0xc9943e),_0xf95423[_0x339934(0x17a)][_0x339934(0x1e8)](_0x3b6249);}),_0x8b3bb[_0x4c7eb1(0x199)][_0x4c7eb1(0x195)][_0x4c7eb1(0x1e8)](_0xf95423);}[_0x5426a0(0x1b6)]({command:_0x5a7b80,commands:_0x4a3bb3,parentMenuView:_0x2a64ff,onExecute:_0x1ed1bf}){const _0x3e1891=_0x5426a0,_0x28832d=this[_0x3e1891(0x176)],_0x450c80=_0x28832d[_0x3e1891(0x167)];return U(_0x28832d,_0x4a3bb3)[_0x3e1891(0x201)](_0x854089=>{const _0x91e0a7=_0x3e1891,_0x41ada1=new _0x5a24f9(_0x450c80,_0x2a64ff),_0x1a396c=new _0x20b754(_0x450c80);return _0x1a396c[_0x91e0a7(0x18a)]({'label':_0x854089[_0x91e0a7(0x185)]}),_0x1a396c[_0x91e0a7(0x1a0)](_0x91e0a7(0x206))['to'](_0x2a64ff),_0x1a396c['on'](_0x91e0a7(0x206),()=>_0x1ed1bf(_0x854089['id'])),_0x1a396c[_0x91e0a7(0x205)](_0x91e0a7(0x1bb))['to'](_0x5a7b80,_0x91e0a7(0x1c5),_0x11a8fd=>_0x11a8fd[_0x91e0a7(0x17c)](_0x854089['id'])),_0x41ada1[_0x91e0a7(0x195)][_0x91e0a7(0x1e8)](_0x1a396c),_0x41ada1;});}}function T(_0x44bde6,_0x16f35c){const _0x39f6a2=_0x5426a0;return void 0x0!==_0x44bde6[_0x39f6a2(0x20d)]&&void 0x0===_0x16f35c[_0x39f6a2(0x20d)]?0x1:void 0x0===_0x44bde6[_0x39f6a2(0x20d)]&&void 0x0!==_0x16f35c[_0x39f6a2(0x20d)]?-0x1:void 0x0!==_0x44bde6[_0x39f6a2(0x20d)]&&void 0x0!==_0x16f35c[_0x39f6a2(0x20d)]?_0x44bde6[_0x39f6a2(0x20d)]-_0x16f35c[_0x39f6a2(0x20d)]:0x0;}function U(_0x2d64ec,_0x3cafcf){const _0x48ee17=_0x5426a0;_0x3cafcf[_0x48ee17(0x18d)](T);const _0x2ede31={},_0x139c07=[];for(const _0xeb356c of _0x3cafcf)if(void 0x0!==_0xeb356c[_0x48ee17(0x20d)]){if(_0xeb356c[_0x48ee17(0x20d)]in _0x2ede31)throw new _0x37918c(_0x48ee17(0x18b),_0x2d64ec,{'conflictingDefinitions':[_0xeb356c,_0x2ede31[_0xeb356c[_0x48ee17(0x20d)]]]});_0x2ede31[_0xeb356c[_0x48ee17(0x20d)]]=_0xeb356c,_0x139c07[_0x48ee17(0x1a4)](_0xeb356c[_0x48ee17(0x20d)],0x0,_0xeb356c);}else _0x139c07[_0x48ee17(0x1cc)](_0xeb356c);return _0x139c07;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4008e0,_0x31dd98){var _0x52590e=_0x3793,_0x170a40=_0x4008e0();while(!![]){try{var _0x3f23b7=-parseInt(_0x52590e(0x1d1))/0x1*(-parseInt(_0x52590e(0x1cd))/0x2)+parseInt(_0x52590e(0x1d7))/0x3+-parseInt(_0x52590e(0x1ce))/0x4*(-parseInt(_0x52590e(0x1d2))/0x5)+parseInt(_0x52590e(0x1d5))/0x6*(parseInt(_0x52590e(0x1cf))/0x7)+parseInt(_0x52590e(0x1d0))/0x8+-parseInt(_0x52590e(0x1d3))/0x9*(parseInt(_0x52590e(0x1cc))/0xa)+-parseInt(_0x52590e(0x1d4))/0xb*(parseInt(_0x52590e(0x1d6))/0xc);if(_0x3f23b7===_0x31dd98)break;else _0x170a40['push'](_0x170a40['shift']());}catch(_0x233a24){_0x170a40['push'](_0x170a40['shift']());}}}(_0x1a9a,0xc5960));function _0x3793(_0x4000d6,_0x5b1073){var _0x1a9a08=_0x1a9a();return _0x3793=function(_0x37930f,_0x2293e9){_0x37930f=_0x37930f-0x1cc;var _0x4fe19a=_0x1a9a08[_0x37930f];return _0x4fe19a;},_0x3793(_0x4000d6,_0x5b1073);}export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';function _0x1a9a(){var _0x4b8b5f=['926916vtcCgJ','2931405YvDhJo','40pkBNjx','32MGuBNT','4HEWJzh','1001btutVy','2552512vyhigo','53645KSLxGb','4000670iKThUg','2750310yforco','165ZLAmFh','9888uBrBBT'];_0x1a9a=function(){return _0x4b8b5f;};return _0x1a9a();}
23
+ (function(_0x52539d,_0x273379){var _0x3a3ff4=_0x3cc0,_0x29a296=_0x52539d();while(!![]){try{var _0x13d5c2=-parseInt(_0x3a3ff4(0x166))/0x1+-parseInt(_0x3a3ff4(0x167))/0x2+parseInt(_0x3a3ff4(0x16d))/0x3+parseInt(_0x3a3ff4(0x16c))/0x4+-parseInt(_0x3a3ff4(0x16b))/0x5*(-parseInt(_0x3a3ff4(0x169))/0x6)+parseInt(_0x3a3ff4(0x16e))/0x7+-parseInt(_0x3a3ff4(0x168))/0x8*(parseInt(_0x3a3ff4(0x16a))/0x9);if(_0x13d5c2===_0x273379)break;else _0x29a296['push'](_0x29a296['shift']());}catch(_0x24188e){_0x29a296['push'](_0x29a296['shift']());}}}(_0x584d,0xa796d));export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';function _0x584d(){var _0x37c171=['2004072ovuHEh','2834235aANNqp','5914601UyhFfI','968609kooFtO','1356742BEiMPp','10517720IJdhpN','156AJpaZn','9yITHUp','261045SZLjpR'];_0x584d=function(){return _0x37c171;};return _0x584d();}export{AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x3cc0(_0x12f895,_0x2fd53d){var _0x584d5e=_0x584d();return _0x3cc0=function(_0x3cc036,_0x1acb23){_0x3cc036=_0x3cc036-0x166;var _0x352874=_0x584d5e[_0x3cc036];return _0x352874;},_0x3cc0(_0x12f895,_0x2fd53d);}export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1938(_0x46c41a,_0x1fdbb8){var _0x3ec4e3=_0x3ec4();return _0x1938=function(_0x19387c,_0x4f1f1d){_0x19387c=_0x19387c-0x116;var _0x32a519=_0x3ec4e3[_0x19387c];return _0x32a519;},_0x1938(_0x46c41a,_0x1fdbb8);}function _0x3ec4(){var _0x55b65f=['3201532olrAJo','13836152JZlPUb','957279xspVCp','6KYIxWm','18924hvqotP','10744937IuuqMR','10BWKndG','53056521ovVLVe','406929qVslhI'];_0x3ec4=function(){return _0x55b65f;};return _0x3ec4();}(function(_0x2109a3,_0x23f8ff){var _0xe37e40=_0x1938,_0x34f5df=_0x2109a3();while(!![]){try{var _0x1d576f=-parseInt(_0xe37e40(0x11e))/0x1+-parseInt(_0xe37e40(0x11a))/0x2+parseInt(_0xe37e40(0x118))/0x3+-parseInt(_0xe37e40(0x116))/0x4*(parseInt(_0xe37e40(0x11c))/0x5)+parseInt(_0xe37e40(0x119))/0x6*(-parseInt(_0xe37e40(0x11b))/0x7)+-parseInt(_0xe37e40(0x117))/0x8+parseInt(_0xe37e40(0x11d))/0x9;if(_0x1d576f===_0x23f8ff)break;else _0x34f5df['push'](_0x34f5df['shift']());}catch(_0x1cc9ab){_0x34f5df['push'](_0x34f5df['shift']());}}}(_0x3ec4,0xe3af3));import{CKEditorError as _0x2c897b}from'ckeditor5/src/utils.js';
23
+ function _0x256e(){var _0x566a33=['1dpAVcd','36lrbFEc','72388MiJOlW','1587664DXLMoO','48780dIKSks','109428qlFyoj','5LZttDQ','7050vYcMof','30CZesJz','575386DQczOe','55WFzUnG','48200mNAGyV'];_0x256e=function(){return _0x566a33;};return _0x256e();}function _0x16c8(_0x78617b,_0x51e232){var _0x256ec2=_0x256e();return _0x16c8=function(_0x16c89d,_0x13d37d){_0x16c89d=_0x16c89d-0x18b;var _0x633cbe=_0x256ec2[_0x16c89d];return _0x633cbe;},_0x16c8(_0x78617b,_0x51e232);}(function(_0x450933,_0x494295){var _0x23140a=_0x16c8,_0xf4bf73=_0x450933();while(!![]){try{var _0xb93b84=-parseInt(_0x23140a(0x194))/0x1*(-parseInt(_0x23140a(0x196))/0x2)+-parseInt(_0x23140a(0x195))/0x3*(parseInt(_0x23140a(0x193))/0x4)+-parseInt(_0x23140a(0x18e))/0x5*(parseInt(_0x23140a(0x18f))/0x6)+parseInt(_0x23140a(0x191))/0x7+parseInt(_0x23140a(0x18b))/0x8+-parseInt(_0x23140a(0x18c))/0x9*(parseInt(_0x23140a(0x190))/0xa)+-parseInt(_0x23140a(0x192))/0xb*(parseInt(_0x23140a(0x18d))/0xc);if(_0xb93b84===_0x494295)break;else _0xf4bf73['push'](_0xf4bf73['shift']());}catch(_0x1cb1a0){_0xf4bf73['push'](_0xf4bf73['shift']());}}}(_0x256e,0x1aaa4));import{CKEditorError as _0x40552f}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b5e49=_0x95a7;(function(_0x7e5bc9,_0x2a76f1){const _0x159f2c=_0x95a7,_0x25caf5=_0x7e5bc9();while(!![]){try{const _0x131dbf=parseInt(_0x159f2c(0x14d))/0x1+-parseInt(_0x159f2c(0x159))/0x2*(-parseInt(_0x159f2c(0x139))/0x3)+parseInt(_0x159f2c(0x18d))/0x4*(parseInt(_0x159f2c(0x137))/0x5)+parseInt(_0x159f2c(0x15b))/0x6+parseInt(_0x159f2c(0x182))/0x7*(parseInt(_0x159f2c(0x179))/0x8)+-parseInt(_0x159f2c(0x13d))/0x9+parseInt(_0x159f2c(0x134))/0xa*(-parseInt(_0x159f2c(0x14b))/0xb);if(_0x131dbf===_0x2a76f1)break;else _0x25caf5['push'](_0x25caf5['shift']());}catch(_0x4688ee){_0x25caf5['push'](_0x25caf5['shift']());}}}(_0x261c,0xe205b));import{ObservableMixin as _0xef5223}from'ckeditor5/src/utils.js';function _0x261c(){const _0x438d79=['_parseAndNormalizeContent','finishProcessing','render','editing','value','length','exec','innerHTML','remove','body','markers','document','stopProcessing','previousLabel','toModel','createElement','name','prompt','endsWith','childNodes','_sanitizationContainer','config','textAdapter','domConverter','previousContext','set','listenTo','previousActionId','853536ytwybO','processor','toView','_isH1TagSupportEnabled','submitPrompt','rename','_domParser','serializeToString','initialContext','35biXPnl','destroy','from','updateView','isRendered','match','handleError','stringify','querySelector','_xmlSerializer','trim','14708vgXNcU','text/html','message','currentContext','substring','div','clear','reverse','tryAgainEvent','```html','setContentOf','abort','60NITshR','then','once','35VmAjTT','makeRequest','258tetuRv','previousQuery','<h1></h1>','viewToDom','13313322chZjHt','ai.aiAssistant.preserveComments','isProcessing','nodeType','htmlProcessor','custom','get','set:currentContext','```','element','_sanitizeHTML','startProcessing','_handleQuery','data','1393150xIbnJn','startsWith','143801nivhnF','ELEMENT_NODE','currentResponse','view','parseFromString','_normalizeResponseHeadings','mainAction','finally','stopListening','push','editor','reset','32626sulJwY','_stripMarkdownSyntax','6354162gMldoC','catch'];_0x261c=function(){return _0x438d79;};return _0x261c();}import{AIRequestError as _0x266d3e}from'../adapters/aiadapter.js';import{Matcher as _0x31e744,ViewUpcastWriter as _0x44dbcd}from'ckeditor5/src/engine.js';function _0x95a7(_0x4b6f3b,_0x201c0e){const _0x261cf3=_0x261c();return _0x95a7=function(_0x95a78a,_0x563281){_0x95a78a=_0x95a78a-0x12b;let _0x134d22=_0x261cf3[_0x95a78a];return _0x134d22;},_0x95a7(_0x4b6f3b,_0x201c0e);}const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0xef5223(){[_0x1b5e49(0x157)];[_0x1b5e49(0x173)];[_0x1b5e49(0x150)];[_0x1b5e49(0x171)];[_0x1b5e49(0x17f)];[_0x1b5e49(0x18b)];constructor(_0x34564b,_0x355f2a,_0x5dfb7e){const _0x9e78fa=_0x1b5e49;super(),this[_0x9e78fa(0x157)]=_0x34564b,this[_0x9e78fa(0x173)]=_0x355f2a,this[_0x9e78fa(0x171)]=document[_0x9e78fa(0x16c)](_0x9e78fa(0x12d)),this[_0x9e78fa(0x17f)]=new DOMParser(),this[_0x9e78fa(0x18b)]=new XMLSerializer(),this[_0x9e78fa(0x150)]=_0x5dfb7e,this[_0x9e78fa(0x176)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x9e78fa(0x144),(_0x4d3c73,_0x2135cf,_0x3837b3)=>{const _0x5753bc=_0x9e78fa;this[_0x5753bc(0x150)][_0x5753bc(0x161)]=this[_0x5753bc(0x147)](_0x3837b3);}),this[_0x9e78fa(0x177)](this[_0x9e78fa(0x150)],_0x9e78fa(0x17d),(_0x5b10fb,_0x3cf365)=>{const _0x1b602e=_0x9e78fa,_0x435423=this[_0x1b602e(0x12b)]||this[_0x1b602e(0x181)];this[_0x1b602e(0x149)](_0x3cf365,_0x435423,_0x1b602e(0x142));}),this[_0x9e78fa(0x177)](this[_0x9e78fa(0x150)],_0x9e78fa(0x130),()=>{const _0x420c6c=_0x9e78fa;this[_0x420c6c(0x150)][_0x420c6c(0x16e)]=this[_0x420c6c(0x16a)],this[_0x420c6c(0x149)](this[_0x420c6c(0x13a)],this[_0x420c6c(0x175)],this[_0x420c6c(0x178)],this[_0x420c6c(0x16a)]);}),this[_0x9e78fa(0x177)](this[_0x9e78fa(0x150)],_0x9e78fa(0x169),()=>{const _0x55bb15=_0x9e78fa;this[_0x55bb15(0x169)]();});}[_0x1b5e49(0x183)](){const _0x517731=_0x1b5e49;this[_0x517731(0x155)]();}async[_0x1b5e49(0x185)]({actionId:_0x5e84d4,query:_0xde17c7,htmlContent:_0x3185fd,label:_0x2fdde1,mainActionLabel:_0x41cc58}){const _0x5b934e=_0x1b5e49;this[_0x5b934e(0x150)][_0x5b934e(0x16e)]=_0x2fdde1,this[_0x5b934e(0x150)][_0x5b934e(0x153)]=_0x41cc58,this[_0x5b934e(0x181)]=_0x3185fd,_0xde17c7&&(this[_0x5b934e(0x150)][_0x5b934e(0x186)]?this[_0x5b934e(0x149)](_0xde17c7,_0x3185fd,_0x5e84d4,_0x2fdde1):this[_0x5b934e(0x150)][_0x5b934e(0x136)](_0x5b934e(0x15f),()=>{const _0x59e3c3=_0x5b934e;this[_0x59e3c3(0x149)](_0xde17c7,_0x3185fd,_0x5e84d4,_0x2fdde1);}));}[_0x1b5e49(0x169)](){const _0x3992fa=_0x1b5e49;this[_0x3992fa(0x13f)]&&(this[_0x3992fa(0x13f)]=!0x1,this[_0x3992fa(0x150)][_0x3992fa(0x15e)](),this[_0x3992fa(0x173)][_0x3992fa(0x133)]());}[_0x1b5e49(0x158)](){const _0x3600af=_0x1b5e49;this[_0x3600af(0x181)]='',this[_0x3600af(0x12b)]='',this[_0x3600af(0x14f)]='',this[_0x3600af(0x175)]='',this[_0x3600af(0x13a)]='',this[_0x3600af(0x16a)]='',this[_0x3600af(0x178)]=void 0x0,this[_0x3600af(0x150)][_0x3600af(0x158)](),this[_0x3600af(0x169)]();}async[_0x1b5e49(0x149)](_0x283722,_0x241c3c,_0xbc872,_0x481e0b){const _0x5cb01f=_0x1b5e49;return this[_0x5cb01f(0x13f)]=!0x0,this[_0x5cb01f(0x150)][_0x5cb01f(0x148)](),this[_0x5cb01f(0x175)]=_0x241c3c,this[_0x5cb01f(0x13a)]=_0x283722,this[_0x5cb01f(0x16a)]=_0x481e0b||_0x283722,this[_0x5cb01f(0x178)]=_0xbc872,new Promise(_0x19562c=>{const _0x59008=_0x5cb01f;this[_0x59008(0x173)][_0x59008(0x138)]({'query':_0x283722,'context':_0x241c3c,'onData':_0x33b1b0=>{const _0x14a889=_0x59008;this[_0x14a889(0x14f)]=_0x33b1b0,this[_0x14a889(0x12b)]=this[_0x14a889(0x15d)](this[_0x14a889(0x14f)]);},'actionId':_0xbc872})[_0x59008(0x135)](()=>{const _0x5a30b8=_0x59008;!this[_0x5a30b8(0x12b)]&&this[_0x5a30b8(0x14f)]&&(this[_0x5a30b8(0x12b)]=this[_0x5a30b8(0x15d)](this[_0x5a30b8(0x14f)],!0x0));})[_0x59008(0x15c)](_0x24cde7=>{const _0xb555e1=_0x59008;_0x24cde7 instanceof _0x266d3e?this[_0xb555e1(0x150)][_0xb555e1(0x188)](_0x24cde7[_0xb555e1(0x18f)]):this[_0xb555e1(0x150)][_0xb555e1(0x188)](),_0x19562c();})[_0x59008(0x154)](()=>{const _0x3e3bdd=_0x59008;this[_0x3e3bdd(0x169)](),_0x19562c();});});}[_0x1b5e49(0x15d)](_0x1c2c14,_0x11a21f=!0x1){const _0xba2145=_0x1b5e49,_0x1fdd00=Q[_0xba2145(0x163)](_0x1c2c14);_0x1c2c14=_0x1fdd00?_0x1c2c14[_0xba2145(0x12c)](_0x1fdd00[0x1][_0xba2145(0x162)]):_0x1c2c14[_0xba2145(0x162)]<0x64&&!_0x11a21f?'':this[_0xba2145(0x15a)](_0x1c2c14);const _0x109b4b=this[_0xba2145(0x17f)][_0xba2145(0x151)](_0x1c2c14,_0xba2145(0x18e));if(_0x1fdd00){const _0x2ae988=Array[_0xba2145(0x184)](_0x109b4b[_0xba2145(0x166)][_0xba2145(0x170)]);_0x2ae988[_0xba2145(0x12f)]();for(const _0x263522 of _0x2ae988){if(_0x263522[_0xba2145(0x140)]==Node[_0xba2145(0x14e)])break;_0x263522[_0xba2145(0x165)]();}}const _0x1ee309=this[_0xba2145(0x157)][_0xba2145(0x14a)][_0xba2145(0x17a)][_0xba2145(0x17b)](this[_0xba2145(0x18b)][_0xba2145(0x180)](_0x109b4b[_0xba2145(0x166)]));this[_0xba2145(0x17c)]()||this[_0xba2145(0x152)](_0x1ee309);const _0x52290d=this[_0xba2145(0x157)][_0xba2145(0x172)][_0xba2145(0x143)](_0xba2145(0x13e)),_0x467309=this[_0xba2145(0x157)][_0xba2145(0x14a)][_0xba2145(0x16b)](_0x1ee309);return _0x52290d||_0x467309[_0xba2145(0x167)][_0xba2145(0x12e)](),this[_0xba2145(0x157)][_0xba2145(0x14a)][_0xba2145(0x189)](_0x467309);}[_0x1b5e49(0x152)](_0x10ec32){const _0x2ca2e9=_0x1b5e49,_0x224169=new _0x44dbcd(this[_0x2ca2e9(0x157)][_0x2ca2e9(0x160)][_0x2ca2e9(0x150)][_0x2ca2e9(0x168)]),_0x163e8b=new _0x31e744({'name':/^h[1-5]$/}),_0xe32477=[];let _0x20a5c3=!0x1;for(const _0x2ad5e3 of _0x10ec32)_0x2ad5e3['is'](_0x2ca2e9(0x146))&&_0x163e8b[_0x2ca2e9(0x187)](_0x2ad5e3)&&(_0xe32477[_0x2ca2e9(0x156)](_0x2ad5e3),'h1'==_0x2ad5e3[_0x2ca2e9(0x16d)]&&(_0x20a5c3=!0x0));if(_0x20a5c3){for(const _0x36695b of _0xe32477)_0x224169[_0x2ca2e9(0x17e)]('h'+(parseInt(_0x36695b[_0x2ca2e9(0x16d)][0x1])+0x1),_0x36695b);}}[_0x1b5e49(0x17c)](){const _0x1e692f=_0x1b5e49,{data:_0x5105a2,editing:_0x3ef39b}=this[_0x1e692f(0x157)],_0x4591a6=_0x5105a2[_0x1e692f(0x141)][_0x1e692f(0x17b)](_0x1e692f(0x13b)),_0x471070=_0x5105a2[_0x1e692f(0x17b)](_0x5105a2[_0x1e692f(0x16b)](_0x4591a6));return!!_0x3ef39b[_0x1e692f(0x150)][_0x1e692f(0x174)][_0x1e692f(0x13c)](_0x471070)[_0x1e692f(0x18a)]('h1');}[_0x1b5e49(0x147)](_0x5ab4b9){const _0x200bc3=_0x1b5e49;return this[_0x200bc3(0x157)][_0x200bc3(0x160)][_0x200bc3(0x150)][_0x200bc3(0x174)][_0x200bc3(0x132)](this[_0x200bc3(0x171)],_0x5ab4b9),this[_0x200bc3(0x171)][_0x200bc3(0x164)];}[_0x1b5e49(0x15a)](_0x43fd5e){const _0x5594cf=_0x1b5e49,_0x1f7f01=_0x43fd5e[_0x5594cf(0x18c)]();return _0x1f7f01[_0x5594cf(0x14c)](_0x5594cf(0x131))?_0x1f7f01[_0x5594cf(0x16f)](_0x5594cf(0x145))?_0x1f7f01[_0x5594cf(0x12c)](0x7,_0x1f7f01[_0x5594cf(0x162)]-0x3):_0x1f7f01[_0x5594cf(0x12c)](0x7):_0x43fd5e;}}
23
+ const _0x47daee=_0x194b;(function(_0x38e2ff,_0x53ebc1){const _0x5a803f=_0x194b,_0x248b06=_0x38e2ff();while(!![]){try{const _0xe4e02f=parseInt(_0x5a803f(0xba))/0x1+parseInt(_0x5a803f(0xe3))/0x2+-parseInt(_0x5a803f(0x109))/0x3*(-parseInt(_0x5a803f(0xed))/0x4)+-parseInt(_0x5a803f(0xe9))/0x5*(-parseInt(_0x5a803f(0xf2))/0x6)+-parseInt(_0x5a803f(0xfa))/0x7*(parseInt(_0x5a803f(0x101))/0x8)+-parseInt(_0x5a803f(0xd9))/0x9+-parseInt(_0x5a803f(0xfd))/0xa*(-parseInt(_0x5a803f(0x115))/0xb);if(_0xe4e02f===_0x53ebc1)break;else _0x248b06['push'](_0x248b06['shift']());}catch(_0xe03da){_0x248b06['push'](_0x248b06['shift']());}}}(_0x3ef6,0x2da84));function _0x194b(_0x428799,_0x4ee18a){const _0x3ef606=_0x3ef6();return _0x194b=function(_0x194b48,_0x1de4f9){_0x194b48=_0x194b48-0xb9;let _0x88960b=_0x3ef606[_0x194b48];return _0x88960b;},_0x194b(_0x428799,_0x4ee18a);}import{ObservableMixin as _0x9be882}from'ckeditor5/src/utils.js';function _0x3ef6(){const _0x37e67=['body','set:currentContext','ai.aiAssistant.preserveComments','67616PACRbO','config','initialContext','previousQuery','processor','2214XHIzHv','domConverter','_xmlSerializer','custom','match','createElement','_stripMarkdownSyntax','data','17829PUjvoM','_normalizeResponseHeadings','catch','6200vFkatn','previousActionId','name','value','528FjtznR','querySelector','currentContext','toView','once','abort','innerHTML','finishProcessing','6GVrRVP','view','prompt','get','finally','stopListening','_parseAndNormalizeContent','exec','editing','text/html','startProcessing','_sanitizationContainer','2156cgwWsG','element','toModel','_sanitizeHTML','updateView','previousContext','ELEMENT_NODE','div','makeRequest','startsWith','171844rPbZtT','nodeType','markers','tryAgainEvent','set','isRendered','<h1></h1>','trim','reset','remove','length','reverse','editor','parseFromString','currentResponse','viewToDom','_isH1TagSupportEnabled','serializeToString','```','clear','childNodes','message','htmlProcessor','destroy','push','from','mainAction','endsWith','_domParser','render','isProcessing','1376316FVkbKX','textAdapter','previousLabel','handleError','stopProcessing','```html','submitPrompt','substring','_handleQuery','rename','211918oDQeHa','document','listenTo','setContentOf','then','stringify','1015HufMaW'];_0x3ef6=function(){return _0x37e67;};return _0x3ef6();}import{AIRequestError as _0x5cadfb}from'../adapters/aiadapter.js';import{Matcher as _0x1a0359,ViewUpcastWriter as _0x16a4ae}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x9be882(){[_0x47daee(0xc6)];[_0x47daee(0xda)];[_0x47daee(0x10a)];[_0x47daee(0x114)];[_0x47daee(0xd6)];[_0x47daee(0xf4)];constructor(_0x6322ad,_0xb589d,_0x5a83e1){const _0xc7f9ff=_0x47daee;super(),this[_0xc7f9ff(0xc6)]=_0x6322ad,this[_0xc7f9ff(0xda)]=_0xb589d,this[_0xc7f9ff(0x114)]=document[_0xc7f9ff(0xf7)](_0xc7f9ff(0x11c)),this[_0xc7f9ff(0xd6)]=new DOMParser(),this[_0xc7f9ff(0xf4)]=new XMLSerializer(),this[_0xc7f9ff(0x10a)]=_0x5a83e1,this[_0xc7f9ff(0xbe)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0xc7f9ff(0xeb),(_0x20607d,_0xf571c2,_0x2ac24d)=>{const _0x3937a2=_0xc7f9ff;this[_0x3937a2(0x10a)][_0x3937a2(0x100)]=this[_0x3937a2(0x118)](_0x2ac24d);}),this[_0xc7f9ff(0xe5)](this[_0xc7f9ff(0x10a)],_0xc7f9ff(0xdf),(_0x5f4ddc,_0x2718a0)=>{const _0x541864=_0xc7f9ff,_0x23eb27=this[_0x541864(0x103)]||this[_0x541864(0xef)];this[_0x541864(0xe1)](_0x2718a0,_0x23eb27,_0x541864(0xf5));}),this[_0xc7f9ff(0xe5)](this[_0xc7f9ff(0x10a)],_0xc7f9ff(0xbd),()=>{const _0x2e2d65=_0xc7f9ff;this[_0x2e2d65(0x10a)][_0x2e2d65(0x10b)]=this[_0x2e2d65(0xdb)],this[_0x2e2d65(0xe1)](this[_0x2e2d65(0xf0)],this[_0x2e2d65(0x11a)],this[_0x2e2d65(0xfe)],this[_0x2e2d65(0xdb)]);}),this[_0xc7f9ff(0xe5)](this[_0xc7f9ff(0x10a)],_0xc7f9ff(0xdd),()=>{const _0x19715e=_0xc7f9ff;this[_0x19715e(0xdd)]();});}[_0x47daee(0xd1)](){const _0x165766=_0x47daee;this[_0x165766(0x10e)]();}async[_0x47daee(0x119)]({actionId:_0xf194e0,query:_0x576db7,htmlContent:_0x403f1b,label:_0x3984dc,mainActionLabel:_0x2f106b}){const _0x1f9d35=_0x47daee;this[_0x1f9d35(0x10a)][_0x1f9d35(0x10b)]=_0x3984dc,this[_0x1f9d35(0x10a)][_0x1f9d35(0xd4)]=_0x2f106b,this[_0x1f9d35(0xef)]=_0x403f1b,_0x576db7&&(this[_0x1f9d35(0x10a)][_0x1f9d35(0xbf)]?this[_0x1f9d35(0xe1)](_0x576db7,_0x403f1b,_0xf194e0,_0x3984dc):this[_0x1f9d35(0x10a)][_0x1f9d35(0x105)](_0x1f9d35(0xd7),()=>{const _0x5259d4=_0x1f9d35;this[_0x5259d4(0xe1)](_0x576db7,_0x403f1b,_0xf194e0,_0x3984dc);}));}[_0x47daee(0xdd)](){const _0x219841=_0x47daee;this[_0x219841(0xd8)]&&(this[_0x219841(0xd8)]=!0x1,this[_0x219841(0x10a)][_0x219841(0x108)](),this[_0x219841(0xda)][_0x219841(0x106)]());}[_0x47daee(0xc2)](){const _0x4844a4=_0x47daee;this[_0x4844a4(0xef)]='',this[_0x4844a4(0x103)]='',this[_0x4844a4(0xc8)]='',this[_0x4844a4(0x11a)]='',this[_0x4844a4(0xf0)]='',this[_0x4844a4(0xdb)]='',this[_0x4844a4(0xfe)]=void 0x0,this[_0x4844a4(0x10a)][_0x4844a4(0xc2)](),this[_0x4844a4(0xdd)]();}async[_0x47daee(0xe1)](_0x341e80,_0x41229e,_0x4e093d,_0x17c222){const _0x218005=_0x47daee;return this[_0x218005(0xd8)]=!0x0,this[_0x218005(0x10a)][_0x218005(0x113)](),this[_0x218005(0x11a)]=_0x41229e,this[_0x218005(0xf0)]=_0x341e80,this[_0x218005(0xdb)]=_0x17c222||_0x341e80,this[_0x218005(0xfe)]=_0x4e093d,new Promise(_0x4188bf=>{const _0x45b809=_0x218005;this[_0x45b809(0xda)][_0x45b809(0x11d)]({'query':_0x341e80,'context':_0x41229e,'onData':_0x1d0ebf=>{const _0x32c2bd=_0x45b809;this[_0x32c2bd(0xc8)]=_0x1d0ebf,this[_0x32c2bd(0x103)]=this[_0x32c2bd(0x10f)](this[_0x32c2bd(0xc8)]);},'actionId':_0x4e093d})[_0x45b809(0xe7)](()=>{const _0x1344d2=_0x45b809;!this[_0x1344d2(0x103)]&&this[_0x1344d2(0xc8)]&&(this[_0x1344d2(0x103)]=this[_0x1344d2(0x10f)](this[_0x1344d2(0xc8)],!0x0));})[_0x45b809(0xfc)](_0x6ef3da=>{const _0x8eeddd=_0x45b809;_0x6ef3da instanceof _0x5cadfb?this[_0x8eeddd(0x10a)][_0x8eeddd(0xdc)](_0x6ef3da[_0x8eeddd(0xcf)]):this[_0x8eeddd(0x10a)][_0x8eeddd(0xdc)](),_0x4188bf();})[_0x45b809(0x10d)](()=>{const _0x37e965=_0x45b809;this[_0x37e965(0xdd)](),_0x4188bf();});});}[_0x47daee(0x10f)](_0x2011ba,_0x170601=!0x1){const _0x5a7b7c=_0x47daee,_0x1ba280=Q[_0x5a7b7c(0x110)](_0x2011ba);_0x2011ba=_0x1ba280?_0x2011ba[_0x5a7b7c(0xe0)](_0x1ba280[0x1][_0x5a7b7c(0xc4)]):_0x2011ba[_0x5a7b7c(0xc4)]<0x64&&!_0x170601?'':this[_0x5a7b7c(0xf8)](_0x2011ba);const _0x1bdc39=this[_0x5a7b7c(0xd6)][_0x5a7b7c(0xc7)](_0x2011ba,_0x5a7b7c(0x112));if(_0x1ba280){const _0x57767d=Array[_0x5a7b7c(0xd3)](_0x1bdc39[_0x5a7b7c(0xea)][_0x5a7b7c(0xce)]);_0x57767d[_0x5a7b7c(0xc5)]();for(const _0x4a3ddb of _0x57767d){if(_0x4a3ddb[_0x5a7b7c(0xbb)]==Node[_0x5a7b7c(0x11b)])break;_0x4a3ddb[_0x5a7b7c(0xc3)]();}}const _0x3f3cd3=this[_0x5a7b7c(0xc6)][_0x5a7b7c(0xf9)][_0x5a7b7c(0xf1)][_0x5a7b7c(0x104)](this[_0x5a7b7c(0xf4)][_0x5a7b7c(0xcb)](_0x1bdc39[_0x5a7b7c(0xea)]));this[_0x5a7b7c(0xca)]()||this[_0x5a7b7c(0xfb)](_0x3f3cd3);const _0xf1e2af=this[_0x5a7b7c(0xc6)][_0x5a7b7c(0xee)][_0x5a7b7c(0x10c)](_0x5a7b7c(0xec)),_0x31735d=this[_0x5a7b7c(0xc6)][_0x5a7b7c(0xf9)][_0x5a7b7c(0x117)](_0x3f3cd3);return _0xf1e2af||_0x31735d[_0x5a7b7c(0xbc)][_0x5a7b7c(0xcd)](),this[_0x5a7b7c(0xc6)][_0x5a7b7c(0xf9)][_0x5a7b7c(0xe8)](_0x31735d);}[_0x47daee(0xfb)](_0x18ebc1){const _0x24a13f=_0x47daee,_0x3fa7fc=new _0x16a4ae(this[_0x24a13f(0xc6)][_0x24a13f(0x111)][_0x24a13f(0x10a)][_0x24a13f(0xe4)]),_0x44a292=new _0x1a0359({'name':/^h[1-5]$/}),_0x2b1c9a=[];let _0x1b888e=!0x1;for(const _0x4ea46d of _0x18ebc1)_0x4ea46d['is'](_0x24a13f(0x116))&&_0x44a292[_0x24a13f(0xf6)](_0x4ea46d)&&(_0x2b1c9a[_0x24a13f(0xd2)](_0x4ea46d),'h1'==_0x4ea46d[_0x24a13f(0xff)]&&(_0x1b888e=!0x0));if(_0x1b888e){for(const _0x3ff517 of _0x2b1c9a)_0x3fa7fc[_0x24a13f(0xe2)]('h'+(parseInt(_0x3ff517[_0x24a13f(0xff)][0x1])+0x1),_0x3ff517);}}[_0x47daee(0xca)](){const _0x49e1c8=_0x47daee,{data:_0x502bbe,editing:_0x5751a5}=this[_0x49e1c8(0xc6)],_0x1f32c6=_0x502bbe[_0x49e1c8(0xd0)][_0x49e1c8(0x104)](_0x49e1c8(0xc0)),_0x526e7e=_0x502bbe[_0x49e1c8(0x104)](_0x502bbe[_0x49e1c8(0x117)](_0x1f32c6));return!!_0x5751a5[_0x49e1c8(0x10a)][_0x49e1c8(0xf3)][_0x49e1c8(0xc9)](_0x526e7e)[_0x49e1c8(0x102)]('h1');}[_0x47daee(0x118)](_0x767bb9){const _0x51febd=_0x47daee;return this[_0x51febd(0xc6)][_0x51febd(0x111)][_0x51febd(0x10a)][_0x51febd(0xf3)][_0x51febd(0xe6)](this[_0x51febd(0x114)],_0x767bb9),this[_0x51febd(0x114)][_0x51febd(0x107)];}[_0x47daee(0xf8)](_0x237942){const _0x15cbbe=_0x47daee,_0x402fe9=_0x237942[_0x15cbbe(0xc1)]();return _0x402fe9[_0x15cbbe(0xb9)](_0x15cbbe(0xde))?_0x402fe9[_0x15cbbe(0xd5)](_0x15cbbe(0xcc))?_0x402fe9[_0x15cbbe(0xe0)](0x7,_0x402fe9[_0x15cbbe(0xc4)]-0x3):_0x402fe9[_0x15cbbe(0xe0)](0x7):_0x237942;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c93(_0x252477,_0x5ca7fe){const _0x4725d2=_0x4725();return _0x2c93=function(_0x2c93fc,_0x2f4e8b){_0x2c93fc=_0x2c93fc-0xfe;let _0x119b7f=_0x4725d2[_0x2c93fc];return _0x119b7f;},_0x2c93(_0x252477,_0x5ca7fe);}const _0x11d49b=_0x2c93;(function(_0x1621ee,_0x4d2b48){const _0x35632f=_0x2c93,_0x489ad8=_0x1621ee();while(!![]){try{const _0x58386a=parseInt(_0x35632f(0x14a))/0x1+parseInt(_0x35632f(0x11d))/0x2*(parseInt(_0x35632f(0x14b))/0x3)+-parseInt(_0x35632f(0x121))/0x4+-parseInt(_0x35632f(0x13c))/0x5*(parseInt(_0x35632f(0xfe))/0x6)+-parseInt(_0x35632f(0x114))/0x7*(-parseInt(_0x35632f(0x101))/0x8)+-parseInt(_0x35632f(0x136))/0x9*(parseInt(_0x35632f(0x100))/0xa)+-parseInt(_0x35632f(0x125))/0xb*(-parseInt(_0x35632f(0x11a))/0xc);if(_0x58386a===_0x4d2b48)break;else _0x489ad8['push'](_0x489ad8['shift']());}catch(_0x5617c3){_0x489ad8['push'](_0x489ad8['shift']());}}}(_0x4725,0x7fd94));import{global as _0x33461c}from'ckeditor5/src/utils.js';import{View as _0x53008a,ButtonView as _0x289df2,SpinnerView as _0x6a040f}from'ckeditor5/src/ui.js';import{IconCheck as _0x54cc25,IconCopy as _0x21d126}from'ckeditor5/src/icons.js';import{getTranslation as _0x11a9b2}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x53008a{[_0x11d49b(0x12d)];[_0x11d49b(0x14d)];constructor(_0x4ce221,_0x47bf26=''){const _0x3db808=_0x11d49b;super(_0x4ce221),this[_0x3db808(0x103)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2c19cf=this[_0x3db808(0x120)];this[_0x3db808(0x12d)]=new ContentFieldView(_0x4ce221,_0x47bf26),this[_0x3db808(0x14d)]=this[_0x3db808(0x12f)](),this[_0x3db808(0x12b)]({'tag':_0x3db808(0x13f),'attributes':{'class':['ck',_0x3db808(0x137),_0x2c19cf['if'](_0x3db808(0x105),_0x3db808(0x118),_0x1e822b=>!_0x1e822b)],'tabindex':'-1'},'children':[{'tag':_0x3db808(0x13f),'attributes':{'class':['ck',_0x3db808(0x131),_0x2c19cf['if'](_0x3db808(0x122),_0x3db808(0xff))]},'children':[this[_0x3db808(0x12d)],{'tag':_0x3db808(0x13f),'attributes':{'class':['ck',_0x3db808(0x127)]},'children':[this[_0x3db808(0x14d)]]}]}]});}[_0x11d49b(0x139)](){const _0x40907f=_0x11d49b;super[_0x40907f(0x139)](),this[_0x40907f(0x112)]&&this[_0x40907f(0x12d)][_0x40907f(0x150)](this[_0x40907f(0x112)]);let _0x16d311=!0x1;this['on'](_0x40907f(0x153),(_0x4d357c,_0x2a0772,_0x55101c)=>{const _0x1c73e0=_0x40907f,_0x114d16=!this[_0x1c73e0(0x12d)][_0x1c73e0(0x10d)][_0x1c73e0(0x11c)](_0x1c73e0(0x12c));this[_0x1c73e0(0x12d)][_0x1c73e0(0x150)](_0x55101c),this[_0x1c73e0(0x122)]&&_0x114d16&&!_0x16d311&&this[_0x1c73e0(0x10d)][_0x1c73e0(0x115)]({'top':this[_0x1c73e0(0x10d)][_0x1c73e0(0x11e)],'behavior':_0x1c73e0(0x117)});}),this['on'](_0x40907f(0x149),(_0x48b865,_0x3efc44,_0x4219f4)=>{const _0x4daffc=_0x40907f;_0x16d311=!0x1,_0x4219f4?(this[_0x4daffc(0x112)]=null,this[_0x4daffc(0x12d)][_0x4daffc(0x130)]()):this[_0x4daffc(0x112)]||this[_0x4daffc(0x12d)][_0x4daffc(0x150)]('');}),this[_0x40907f(0x12e)](this[_0x40907f(0x10d)],_0x40907f(0x13a),()=>{_0x16d311=!0x0;}),this[_0x40907f(0x12e)](this[_0x40907f(0x10d)],_0x40907f(0x10f),()=>{_0x16d311=!0x0;});}[_0x11d49b(0x12a)](){const _0x24ca10=_0x11d49b;this[_0x24ca10(0x10d)][_0x24ca10(0x12a)]();}[_0x11d49b(0x12f)](){const _0x1c2450=_0x11d49b,_0x2d057d=this[_0x1c2450(0x132)],_0x591d1e=new _0x289df2(this[_0x1c2450(0x132)]),_0x1fd9d7=_0x1c2450(0x11b);return _0x591d1e[_0x1c2450(0x103)]({'label':_0x11a9b2(_0x2d057d,_0x1c2450(0x14e)),'icon':_0x21d126,'class':_0x1fd9d7,'tooltip':!0x0}),_0x591d1e[_0x1c2450(0x10a)](_0x1c2450(0x105))['to'](this,_0x1c2450(0x112),_0xdba961=>!!_0xdba961),_0x591d1e[_0x1c2450(0x10a)](_0x1c2450(0x133))['to'](this,_0x1c2450(0x122),_0x25740b=>!_0x25740b),_0x591d1e['on'](_0x1c2450(0x126),()=>{const _0x564078=_0x1c2450;this[_0x564078(0x110)](this[_0x564078(0x12d)][_0x564078(0x10d)]),_0x591d1e[_0x564078(0x104)]=_0x54cc25,_0x591d1e[_0x564078(0x152)]=_0x1fd9d7+_0x564078(0x140),this[_0x564078(0x12a)](),setTimeout(()=>{const _0x129ceb=_0x564078;_0x591d1e[_0x129ceb(0x104)]=_0x21d126,_0x591d1e[_0x129ceb(0x152)]=_0x1fd9d7;},0x3e8);}),_0x591d1e;}[_0x11d49b(0x110)](_0x286567){const _0x1b999f=_0x11d49b,{window:_0x5a957c,document:_0x1695e7}=_0x33461c;if(_0x5a957c[_0x1b999f(0x14f)]){const {Blob:_0x306a20,ClipboardItem:_0x4bd603}=_0x5a957c,_0x1b3708=[new _0x4bd603({'text/html':new _0x306a20([_0x286567[_0x1b999f(0x138)]],{'type':_0x1b999f(0x142)}),'text/plain':new _0x306a20([_0x286567[_0x1b999f(0x146)]||''],{'type':_0x1b999f(0x141)})})];navigator[_0x1b999f(0x106)][_0x1b999f(0x151)](_0x1b3708);}else{const _0x205fca=_0x1695e7[_0x1b999f(0x13e)](_0x1b999f(0x13f));_0x205fca[_0x1b999f(0x148)][_0x1b999f(0x154)]=_0x1b999f(0x13b),_0x205fca[_0x1b999f(0x148)][_0x1b999f(0x11f)]=_0x1b999f(0x134),_0x205fca[_0x1b999f(0x138)]=_0x1b999f(0x102)+_0x286567[_0x1b999f(0x138)]+_0x1b999f(0x10b),_0x1695e7[_0x1b999f(0x111)][_0x1b999f(0x10e)](_0x205fca);const _0x5738d9=_0x1695e7[_0x1b999f(0x108)]();_0x5738d9[_0x1b999f(0x129)](_0x205fca[_0x1b999f(0x119)]),_0x5738d9[_0x1b999f(0x13d)](_0x205fca[_0x1b999f(0x14c)]);const _0x4456c0=_0x5a957c[_0x1b999f(0x144)]();_0x4456c0[_0x1b999f(0x128)](),_0x4456c0[_0x1b999f(0x116)](_0x5738d9),_0x1695e7[_0x1b999f(0x113)](_0x1b999f(0x124)),_0x205fca[_0x1b999f(0x109)]();}}}function _0x4725(){const _0x2938f0=['wheel','absolute','1585XtenAt','setEndBefore','createElement','div','\x20ck-ai-form__copy-button--copied','text/plain','text/html','ck-ai-form__content-field','getSelection','AI\x20is\x20writing...','textContent','ck-content','style','change:isProcessing','354580QEKxif','3tfOchY','lastElementChild','copyButtonView','Copy','ClipboardItem','setContent','write','class','change:value','position','12066XlTXUp','ck-ai-form__content-area--processing','470DbiBwm','84144KyYjFS','<span>[</span>','set','icon','isVisible','clipboard','loaderView','createRange','remove','bind','<span>]</span>','_createLoader','element','appendChild','mousedown','_copyHTMLToClipboard','body','value','execCommand','77LNkQUe','scrollTo','addRange','smooth','ck-hidden','firstElementChild','6688404ctGXvJ','ck-ai-form__copy-button','querySelector','1828474ITcFYo','scrollHeight','left','bindTemplate','116600nRGKTm','isProcessing','ck-reset_all-excluded','copy','11CrJyyt','execute','ck-ai-form__copy-button-wrapper','removeAllRanges','setStartAfter','focus','setTemplate','.ck-ai-form__loader','contentFieldView','listenTo','_createCopyButton','appendLoader','ck-ai-form__content-area','locale','isEnabled','-9999px','ck-ai-form__loader','143919bKmlMR','ck-ai-form__content-area-wrapper','innerHTML','render'];_0x4725=function(){return _0x2938f0;};return _0x4725();}export class ContentFieldView extends _0x53008a{constructor(_0xbeed00,_0x54d74d=''){const _0x47bc7f=_0x11d49b;super(_0xbeed00),this[_0x47bc7f(0x107)]=this[_0x47bc7f(0x10c)](),this[_0x47bc7f(0x12b)]({'tag':_0x47bc7f(0x13f),'attributes':{'class':['ck',_0x47bc7f(0x147),_0x54d74d,_0x47bc7f(0x123),_0x47bc7f(0x143)]}});}[_0x11d49b(0x150)](_0x4840d0){const _0x2d4914=_0x11d49b;this[_0x2d4914(0x10d)][_0x2d4914(0x138)]=_0x4840d0;}[_0x11d49b(0x130)](){const _0xddefc0=_0x11d49b;this[_0xddefc0(0x10d)][_0xddefc0(0x10e)](this[_0xddefc0(0x107)][_0xddefc0(0x10d)]);}[_0x11d49b(0x10c)](){const _0x5ead24=_0x11d49b,_0x17a895=new _0x53008a(),_0x2954d3=this[_0x5ead24(0x132)],_0x40a791=new _0x6a040f();return _0x40a791[_0x5ead24(0x105)]=!0x0,_0x17a895[_0x5ead24(0x12b)]({'tag':_0x5ead24(0x13f),'attributes':{'class':['ck',_0x5ead24(0x135)]},'children':[_0x40a791,{'text':_0x11a9b2(_0x2954d3,_0x5ead24(0x145))}]}),_0x17a895[_0x5ead24(0x139)](),_0x17a895;}}
23
+ const _0x2d44e8=_0x48ad;(function(_0x22c6d6,_0x2cd454){const _0x511c16=_0x48ad,_0x424b2c=_0x22c6d6();while(!![]){try{const _0x40d3b0=-parseInt(_0x511c16(0x193))/0x1*(-parseInt(_0x511c16(0x1c9))/0x2)+parseInt(_0x511c16(0x1cf))/0x3+parseInt(_0x511c16(0x1ab))/0x4+-parseInt(_0x511c16(0x1cc))/0x5*(-parseInt(_0x511c16(0x1bf))/0x6)+-parseInt(_0x511c16(0x19f))/0x7*(parseInt(_0x511c16(0x1a8))/0x8)+-parseInt(_0x511c16(0x1d4))/0x9*(parseInt(_0x511c16(0x1b0))/0xa)+-parseInt(_0x511c16(0x1af))/0xb*(-parseInt(_0x511c16(0x195))/0xc);if(_0x40d3b0===_0x2cd454)break;else _0x424b2c['push'](_0x424b2c['shift']());}catch(_0x18a36b){_0x424b2c['push'](_0x424b2c['shift']());}}}(_0x46bd,0xc65da));import{global as _0x474387}from'ckeditor5/src/utils.js';import{View as _0x8eacc6,ButtonView as _0x4219ec,SpinnerView as _0x3ccb12}from'ckeditor5/src/ui.js';import{IconCheck as _0x505fae,IconCopy as _0x15e74f}from'ckeditor5/src/icons.js';function _0x46bd(){const _0xf12ce=['3144UkfCBN','<span>[</span>','bind','isVisible','ck-content','textContent','appendChild','write','_copyHTMLToClipboard','ck-reset_all-excluded','2upZZCC','position','ck-ai-form__copy-button-wrapper','13305ODhbRs','createRange','ck-ai-form__content-field','2470800scQbCh','ck-ai-form__loader','text/html','text/plain','locale','1237869owGptO','Copy','_createCopyButton','clipboard','querySelector','removeAllRanges','isEnabled','setContent','execute','setEndBefore','smooth','createElement','style','addRange','absolute','ck-ai-form__content-area-wrapper','AI\x20is\x20writing...','set','copy','element','contentFieldView','loaderView','527099QSvVUV','\x20ck-ai-form__copy-button--copied','8118012xTzpJX','change:isProcessing','listenTo','remove','setStartAfter','mousedown','copyButtonView','appendLoader','-9999px','render','72737yNMPLg','.ck-ai-form__loader','scrollTo','scrollHeight','body','value','<span>]</span>','lastElementChild','change:value','1136WpFAYE','ck-ai-form__content-area--processing','bindTemplate','967496juLwHW','ck-ai-form__content-area','getSelection','ck-hidden','11HCgdOV','100zCDxCB','class','left','icon','ck-ai-form__copy-button','_createLoader','wheel','innerHTML','setTemplate','div','execCommand','focus','ClipboardItem','firstElementChild','isProcessing'];_0x46bd=function(){return _0xf12ce;};return _0x46bd();}function _0x48ad(_0x542248,_0x564802){const _0x46bd68=_0x46bd();return _0x48ad=function(_0x48ad27,_0x222295){_0x48ad27=_0x48ad27-0x18a;let _0x5d63f0=_0x46bd68[_0x48ad27];return _0x5d63f0;},_0x48ad(_0x542248,_0x564802);}import{getTranslation as _0x2ad7c3}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x8eacc6{[_0x2d44e8(0x191)];[_0x2d44e8(0x19b)];constructor(_0xed6892,_0x496b03=''){const _0x15a147=_0x2d44e8;super(_0xed6892),this[_0x15a147(0x18e)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x31ed73=this[_0x15a147(0x1aa)];this[_0x15a147(0x191)]=new ContentFieldView(_0xed6892,_0x496b03),this[_0x15a147(0x19b)]=this[_0x15a147(0x1d6)](),this[_0x15a147(0x1b8)]({'tag':_0x15a147(0x1b9),'attributes':{'class':['ck',_0x15a147(0x18c),_0x31ed73['if'](_0x15a147(0x1c2),_0x15a147(0x1ae),_0x405823=>!_0x405823)],'tabindex':'-1'},'children':[{'tag':_0x15a147(0x1b9),'attributes':{'class':['ck',_0x15a147(0x1ac),_0x31ed73['if'](_0x15a147(0x1be),_0x15a147(0x1a9))]},'children':[this[_0x15a147(0x191)],{'tag':_0x15a147(0x1b9),'attributes':{'class':['ck',_0x15a147(0x1cb)]},'children':[this[_0x15a147(0x19b)]]}]}]});}[_0x2d44e8(0x19e)](){const _0x13bd5d=_0x2d44e8;super[_0x13bd5d(0x19e)](),this[_0x13bd5d(0x1a4)]&&this[_0x13bd5d(0x191)][_0x13bd5d(0x1db)](this[_0x13bd5d(0x1a4)]);let _0x42efdb=!0x1;this['on'](_0x13bd5d(0x1a7),(_0x39b2f1,_0xa06468,_0x3f53ea)=>{const _0x3789ae=_0x13bd5d,_0x380389=!this[_0x3789ae(0x191)][_0x3789ae(0x190)][_0x3789ae(0x1d8)](_0x3789ae(0x1a0));this[_0x3789ae(0x191)][_0x3789ae(0x1db)](_0x3f53ea),this[_0x3789ae(0x1be)]&&_0x380389&&!_0x42efdb&&this[_0x3789ae(0x190)][_0x3789ae(0x1a1)]({'top':this[_0x3789ae(0x190)][_0x3789ae(0x1a2)],'behavior':_0x3789ae(0x1de)});}),this['on'](_0x13bd5d(0x196),(_0x64c821,_0x53df66,_0x1b0499)=>{const _0x29ae1f=_0x13bd5d;_0x42efdb=!0x1,_0x1b0499?(this[_0x29ae1f(0x1a4)]=null,this[_0x29ae1f(0x191)][_0x29ae1f(0x19c)]()):this[_0x29ae1f(0x1a4)]||this[_0x29ae1f(0x191)][_0x29ae1f(0x1db)]('');}),this[_0x13bd5d(0x197)](this[_0x13bd5d(0x190)],_0x13bd5d(0x1b6),()=>{_0x42efdb=!0x0;}),this[_0x13bd5d(0x197)](this[_0x13bd5d(0x190)],_0x13bd5d(0x19a),()=>{_0x42efdb=!0x0;});}[_0x2d44e8(0x1bb)](){const _0x1df0df=_0x2d44e8;this[_0x1df0df(0x190)][_0x1df0df(0x1bb)]();}[_0x2d44e8(0x1d6)](){const _0x841b75=_0x2d44e8,_0x59820a=this[_0x841b75(0x1d3)],_0x3808e3=new _0x4219ec(this[_0x841b75(0x1d3)]),_0x248807=_0x841b75(0x1b4);return _0x3808e3[_0x841b75(0x18e)]({'label':_0x2ad7c3(_0x59820a,_0x841b75(0x1d5)),'icon':_0x15e74f,'class':_0x248807,'tooltip':!0x0}),_0x3808e3[_0x841b75(0x1c1)](_0x841b75(0x1c2))['to'](this,_0x841b75(0x1a4),_0xb6b07e=>!!_0xb6b07e),_0x3808e3[_0x841b75(0x1c1)](_0x841b75(0x1da))['to'](this,_0x841b75(0x1be),_0x16c17c=>!_0x16c17c),_0x3808e3['on'](_0x841b75(0x1dc),()=>{const _0x4a3cef=_0x841b75;this[_0x4a3cef(0x1c7)](this[_0x4a3cef(0x191)][_0x4a3cef(0x190)]),_0x3808e3[_0x4a3cef(0x1b3)]=_0x505fae,_0x3808e3[_0x4a3cef(0x1b1)]=_0x248807+_0x4a3cef(0x194),this[_0x4a3cef(0x1bb)](),setTimeout(()=>{const _0x1771f9=_0x4a3cef;_0x3808e3[_0x1771f9(0x1b3)]=_0x15e74f,_0x3808e3[_0x1771f9(0x1b1)]=_0x248807;},0x3e8);}),_0x3808e3;}[_0x2d44e8(0x1c7)](_0x3a814f){const _0xb03e9f=_0x2d44e8,{window:_0x54d492,document:_0x355333}=_0x474387;if(_0x54d492[_0xb03e9f(0x1bc)]){const {Blob:_0x297450,ClipboardItem:_0x528c12}=_0x54d492,_0x594446=[new _0x528c12({'text/html':new _0x297450([_0x3a814f[_0xb03e9f(0x1b7)]],{'type':_0xb03e9f(0x1d1)}),'text/plain':new _0x297450([_0x3a814f[_0xb03e9f(0x1c4)]||''],{'type':_0xb03e9f(0x1d2)})})];navigator[_0xb03e9f(0x1d7)][_0xb03e9f(0x1c6)](_0x594446);}else{const _0x277895=_0x355333[_0xb03e9f(0x1df)](_0xb03e9f(0x1b9));_0x277895[_0xb03e9f(0x1e0)][_0xb03e9f(0x1ca)]=_0xb03e9f(0x18b),_0x277895[_0xb03e9f(0x1e0)][_0xb03e9f(0x1b2)]=_0xb03e9f(0x19d),_0x277895[_0xb03e9f(0x1b7)]=_0xb03e9f(0x1c0)+_0x3a814f[_0xb03e9f(0x1b7)]+_0xb03e9f(0x1a5),_0x355333[_0xb03e9f(0x1a3)][_0xb03e9f(0x1c5)](_0x277895);const _0xa3a209=_0x355333[_0xb03e9f(0x1cd)]();_0xa3a209[_0xb03e9f(0x199)](_0x277895[_0xb03e9f(0x1bd)]),_0xa3a209[_0xb03e9f(0x1dd)](_0x277895[_0xb03e9f(0x1a6)]);const _0x131fae=_0x54d492[_0xb03e9f(0x1ad)]();_0x131fae[_0xb03e9f(0x1d9)](),_0x131fae[_0xb03e9f(0x18a)](_0xa3a209),_0x355333[_0xb03e9f(0x1ba)](_0xb03e9f(0x18f)),_0x277895[_0xb03e9f(0x198)]();}}}export class ContentFieldView extends _0x8eacc6{constructor(_0x462ed7,_0x238986=''){const _0x3e9b23=_0x2d44e8;super(_0x462ed7),this[_0x3e9b23(0x192)]=this[_0x3e9b23(0x1b5)](),this[_0x3e9b23(0x1b8)]({'tag':_0x3e9b23(0x1b9),'attributes':{'class':['ck',_0x3e9b23(0x1c3),_0x238986,_0x3e9b23(0x1c8),_0x3e9b23(0x1ce)]}});}[_0x2d44e8(0x1db)](_0x4acdaf){const _0x494f99=_0x2d44e8;this[_0x494f99(0x190)][_0x494f99(0x1b7)]=_0x4acdaf;}[_0x2d44e8(0x19c)](){const _0x522142=_0x2d44e8;this[_0x522142(0x190)][_0x522142(0x1c5)](this[_0x522142(0x192)][_0x522142(0x190)]);}[_0x2d44e8(0x1b5)](){const _0x344c44=_0x2d44e8,_0x3c0d70=new _0x8eacc6(),_0x15f187=this[_0x344c44(0x1d3)],_0x426c11=new _0x3ccb12();return _0x426c11[_0x344c44(0x1c2)]=!0x0,_0x3c0d70[_0x344c44(0x1b8)]({'tag':_0x344c44(0x1b9),'attributes':{'class':['ck',_0x344c44(0x1d0)]},'children':[_0x426c11,{'text':_0x2ad7c3(_0x15f187,_0x344c44(0x18d))}]}),_0x3c0d70[_0x344c44(0x19e)](),_0x3c0d70;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5e8c(){const _0x3ae10b=['614298CPFSbc','259zdIGke','div','content','setTemplate','set','8665992wiZbmU','2234756JTjlCY','bindTemplate','text','2940960cDSnFM','566160mbBGJQ','96090IvRaUp','ck-ai-form__error','17274xYFNtq','50ieJPQg'];_0x5e8c=function(){return _0x3ae10b;};return _0x5e8c();}(function(_0x427f3e,_0x19809a){const _0x416c92=_0x1e5e,_0x289b8c=_0x427f3e();while(!![]){try{const _0x3d084e=-parseInt(_0x416c92(0x112))/0x1*(-parseInt(_0x416c92(0x111))/0x2)+parseInt(_0x416c92(0x113))/0x3+parseInt(_0x416c92(0x11a))/0x4+parseInt(_0x416c92(0x10d))/0x5+-parseInt(_0x416c92(0x10f))/0x6*(parseInt(_0x416c92(0x114))/0x7)+parseInt(_0x416c92(0x10e))/0x8+-parseInt(_0x416c92(0x119))/0x9;if(_0x3d084e===_0x19809a)break;else _0x289b8c['push'](_0x289b8c['shift']());}catch(_0x418636){_0x289b8c['push'](_0x289b8c['shift']());}}}(_0x5e8c,0x48f48));import{IconError as _0x106416}from'ckeditor5/src/icons.js';function _0x1e5e(_0x3a8971,_0x18d49a){const _0x5e8c90=_0x5e8c();return _0x1e5e=function(_0x1e5eb8,_0x1ea042){_0x1e5eb8=_0x1e5eb8-0x10d;let _0x14595c=_0x5e8c90[_0x1e5eb8];return _0x14595c;},_0x1e5e(_0x3a8971,_0x18d49a);}import{View as _0x3c2b4e,IconView as _0xabd653}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x3c2b4e{constructor(_0xe53387,_0x56d986=''){const _0x4b0845=_0x1e5e;super(_0xe53387);const _0x34c637=new _0xabd653(),_0x3ef7d1=this[_0x4b0845(0x11b)];this[_0x4b0845(0x118)](_0x4b0845(0x11c),_0x56d986),_0x34c637[_0x4b0845(0x116)]=_0x106416,this[_0x4b0845(0x117)]({'tag':_0x4b0845(0x115),'attributes':{'class':['ck',_0x4b0845(0x110)]},'children':[_0x34c637,{'text':_0x3ef7d1['to'](_0x4b0845(0x11c))}]});}}
23
+ (function(_0x393a0e,_0x131d4f){const _0x497730=_0x5e4c,_0x205ee9=_0x393a0e();while(!![]){try{const _0x20cfc0=parseInt(_0x497730(0x136))/0x1+parseInt(_0x497730(0x131))/0x2*(-parseInt(_0x497730(0x133))/0x3)+-parseInt(_0x497730(0x13c))/0x4+-parseInt(_0x497730(0x130))/0x5+parseInt(_0x497730(0x13a))/0x6+parseInt(_0x497730(0x12f))/0x7*(-parseInt(_0x497730(0x13b))/0x8)+parseInt(_0x497730(0x132))/0x9*(parseInt(_0x497730(0x138))/0xa);if(_0x20cfc0===_0x131d4f)break;else _0x205ee9['push'](_0x205ee9['shift']());}catch(_0x7e3a98){_0x205ee9['push'](_0x205ee9['shift']());}}}(_0x8ecf,0x8665b));import{IconError as _0x6653d0}from'ckeditor5/src/icons.js';function _0x8ecf(){const _0x48ee2a=['18IUZmoL','7089jgeMJY','div','setTemplate','218913qESJjC','text','2363780kwfRrF','content','4937166cZVlgU','338536deMObE','1293184VANNjN','set','bindTemplate','ck-ai-form__error','42UGHWFa','929930OibCWI','170BQwosq'];_0x8ecf=function(){return _0x48ee2a;};return _0x8ecf();}function _0x5e4c(_0x40bcdb,_0x496761){const _0x8ecf16=_0x8ecf();return _0x5e4c=function(_0x5e4cea,_0x951d9e){_0x5e4cea=_0x5e4cea-0x12d;let _0x1cd8a7=_0x8ecf16[_0x5e4cea];return _0x1cd8a7;},_0x5e4c(_0x40bcdb,_0x496761);}import{View as _0x5d8c0a,IconView as _0x59a7fa}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x5d8c0a{constructor(_0x118954,_0x278f94=''){const _0x333f49=_0x5e4c;super(_0x118954);const _0x1ba1fb=new _0x59a7fa(),_0x1895cb=this[_0x333f49(0x12d)];this[_0x333f49(0x13d)](_0x333f49(0x137),_0x278f94),_0x1ba1fb[_0x333f49(0x139)]=_0x6653d0,this[_0x333f49(0x135)]({'tag':_0x333f49(0x134),'attributes':{'class':['ck',_0x333f49(0x12e)]},'children':[_0x1ba1fb,{'text':_0x1895cb['to'](_0x333f49(0x137))}]});}}