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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  8. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  9. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  10. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  11. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  12. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  13. package/src/aiassistant/ui/form/aiformview.js +1 -1
  14. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  15. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  16. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  17. package/src/aiballoon/aiballoon.js +1 -1
  18. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  19. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  20. package/src/aiballoon/ui/aiballoonview.js +1 -1
  21. package/src/aichat/aichat.js +1 -1
  22. package/src/aichat/aichatcontroller.js +1 -1
  23. package/src/aichat/aichatui.js +1 -1
  24. package/src/aichat/model/aichatcontext.js +1 -1
  25. package/src/aichat/model/aichatconversation.js +1 -1
  26. package/src/aichat/model/aichatinteraction.js +1 -1
  27. package/src/aichat/model/aichatmodels.js +1 -1
  28. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  29. package/src/aichat/ui/aichatfeedview.js +1 -1
  30. package/src/aichat/ui/aichatheaderview.js +1 -1
  31. package/src/aichat/ui/aichatview.js +1 -1
  32. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  33. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  34. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  35. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  36. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  37. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  38. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  39. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  40. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  41. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  42. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  43. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  44. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  45. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  46. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  47. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  48. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  49. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  53. package/src/aichat/utils/eventnames.js +1 -1
  54. package/src/aichat/utils/promisequeue.js +1 -1
  55. package/src/aichathistory/aichathistory.js +1 -1
  56. package/src/aichathistory/aichathistorycontroller.js +1 -1
  57. package/src/aichathistory/aichathistoryui.js +1 -1
  58. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  59. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  60. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  61. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  62. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  63. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  64. package/src/aicore/aiconnector.js +1 -1
  65. package/src/aicore/aiediting.js +1 -1
  66. package/src/aicore/model/aicapabilities.js +1 -1
  67. package/src/aicore/model/aiinteraction.js +1 -1
  68. package/src/aicore/model/aireply.js +1 -1
  69. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  70. package/src/aicore/pipeline/airesponseparser.js +2 -2
  71. package/src/aicore/ui/aidisclaimerview.js +1 -1
  72. package/src/aicore/ui/aiskeleton.js +1 -1
  73. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  74. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  75. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  76. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  77. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  78. package/src/aicore/utils/createresizebutton.js +1 -1
  79. package/src/aicore/utils/documentposition.js +1 -1
  80. package/src/aicore/utils/documentrange.js +1 -1
  81. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  82. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  83. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  84. package/src/aicore/utils/htmlparser.js +1 -1
  85. package/src/aicore/utils/htmlstreamer.js +1 -1
  86. package/src/aieditorintegration/aieditorintegration.js +1 -1
  87. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  88. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  89. package/src/aiquickactions/aiquickactions.js +1 -1
  90. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  91. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  92. package/src/aiquickactions/aiquickactionsui.js +1 -1
  93. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  94. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  95. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  96. package/src/aireviewmode/aireviewmode.js +1 -1
  97. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  98. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  99. package/src/aireviewmode/aireviewmodeui.js +1 -1
  100. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  101. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  102. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  103. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  104. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  105. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  106. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  107. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  108. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  109. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  110. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  111. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  112. package/src/aitabs/aitabs.js +1 -1
  113. package/src/aitabs/tabs/aitabsview.js +1 -1
  114. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3c5cff,_0x2f610c){const _0x157d03=_0x23ab,_0x4ec403=_0x3c5cff();while(!![]){try{const _0xf5e337=-parseInt(_0x157d03(0x1b1))/0x1*(-parseInt(_0x157d03(0x1af))/0x2)+parseInt(_0x157d03(0x1b2))/0x3*(-parseInt(_0x157d03(0x1b6))/0x4)+parseInt(_0x157d03(0x1aa))/0x5+-parseInt(_0x157d03(0x1b4))/0x6*(parseInt(_0x157d03(0x1c0))/0x7)+-parseInt(_0x157d03(0x1ba))/0x8+parseInt(_0x157d03(0x1b5))/0x9+parseInt(_0x157d03(0x1a9))/0xa;if(_0xf5e337===_0x2f610c)break;else _0x4ec403['push'](_0x4ec403['shift']());}catch(_0x508e0c){_0x4ec403['push'](_0x4ec403['shift']());}}}(_0x59b5,0x54974));import{parseDocument as _0x99e315}from'htmlparser2';import{append as _0x47e6c9,appendChild as _0x27a6b3,find as _0x410bd1,findAll as _0x29de4c,findOne as _0x1b2f08,getChildren as _0x324971,isComment as _0x3f47c0,isTag as _0x4ac4e0,prepend as _0x5e4a80,prependChild as _0x1248be,removeElement as _0x34d92e,replaceElement as _0x752cb4,textContent as _0x11a81e,getParent as _0x19fdd7,hasChildren as _0x1031bb}from'domutils';import _0x33173c from'dom-serializer';import{cloneNode as _0x4b6d2c,isDocument as _0x1e9d06,isText as _0x4613a7,Element as _0x1f0770,Text as _0x5892e6,Document as _0x33547a,NodeWithChildren as _0x1ad80c}from'domhandler';export{_0x4b6d2c as cloneNode,_0x410bd1 as find,_0x1b2f08 as findOne,_0x29de4c as findAll,_0x324971 as getChildren,_0x19fdd7 as getParent,_0x3f47c0 as isComment,_0x1e9d06 as isDocument,_0x4ac4e0 as isTag,_0x4613a7 as isText,_0x47e6c9 as append,_0x27a6b3 as appendChild,_0x5e4a80 as prepend,_0x1248be as prependChild,_0x33173c as render,_0x34d92e as removeElement,_0x752cb4 as replaceElement,_0x11a81e as textContent,_0x1031bb as hasChildren,_0x1f0770 as Element,_0x33547a as Document,_0x1ad80c as NodeWithChildren,_0x5892e6 as Text};export function parse(_0x1099e8){return _0x99e315(_0x1099e8);}export function serialize(_0x984522){return _0x33173c(_0x984522);}export function findByAttribute(_0x25d7da,_0x3f839e,_0x5a37ef){const _0x5fc985=_0x23ab,_0x5caa75=null!==_0x3f839e?_0x540c23=>_0x540c23[_0x5fc985(0x1b0)][_0x25d7da]===_0x3f839e:_0x5b3108=>Boolean(_0x5b3108[_0x5fc985(0x1b0)][_0x25d7da]);return _0x1b2f08(_0x60e2e2=>_0x4ac4e0(_0x60e2e2)&&_0x5caa75(_0x60e2e2),_0x5a37ef);}export function findAllByAttribute(_0xe51600,_0x3a2476,_0x293774){const _0xbff832=_0x23ab,_0xb3f29c=null!==_0x3a2476?_0x3b014f=>_0x3b014f[_0xbff832(0x1b0)][_0xe51600]===_0x3a2476:_0x3a3014=>Boolean(_0x3a3014[_0xbff832(0x1b0)][_0xe51600]);return _0x29de4c(_0x1e93bb=>_0x4ac4e0(_0x1e93bb)&&_0xb3f29c(_0x1e93bb),_0x293774);}export function findAllComments(_0x5ea17b){return _0x410bd1(_0x52287d=>_0x3f47c0(_0x52287d),_0x5ea17b,!0x0,0x1/0x0);}export function getAttribute(_0x1c627d,_0x30d709){const _0x45968e=_0x23ab;return _0x1c627d&&_0x4ac4e0(_0x1c627d)?_0x1c627d[_0x45968e(0x1b0)][_0x30d709]:null;}export function setAttribute(_0x16c68e,_0xe9d8b7,_0x4bbaf7){const _0x10b948=_0x23ab;_0x4ac4e0(_0x16c68e)&&(null===_0x4bbaf7?delete _0x16c68e[_0x10b948(0x1b0)][_0xe9d8b7]:_0x16c68e[_0x10b948(0x1b0)][_0xe9d8b7]=_0x4bbaf7);}export function insertElement(_0x14689e,_0x3ca713,_0x317baa){const _0x4bc32c=_0x23ab,_0x2142b4=_0x3ca713[_0x4bc32c(0x1ac)](!0x0);_0x4bc32c(0x1a8)===_0x317baa?_0x5e4a80(_0x14689e,_0x2142b4):_0x4bc32c(0x1b3)===_0x317baa?_0x1248be(_0x14689e,_0x2142b4):_0x4bc32c(0x1bf)===_0x317baa?_0x27a6b3(_0x14689e,_0x2142b4):_0x4bc32c(0x1bd)===_0x317baa&&_0x47e6c9(_0x14689e,_0x2142b4);}export function moveElement(_0x3bbf99,_0x493f7a){_0x34d92e(_0x3bbf99),_0x752cb4(_0x493f7a,_0x3bbf99);}export function clone(_0x3d5906){const _0x4316f0=_0x23ab;return _0x3d5906[_0x4316f0(0x1ac)](!0x0);}function _0x59b5(){const _0x334835=['map','beforeend','10423RQASIr','beforebegin','4104390oaIqjb','1993595MJDPKD','forEach','cloneNode','push','nextSibling','39486VcoFHA','attribs','9TDApbm','1253391qiPWVc','afterbegin','1692boTreV','3155373tTcvXU','4DOUEfA','slice','replace','reverse','1226104oLqQpt','parentNode','indexOf','afterend'];_0x59b5=function(){return _0x334835;};return _0x59b5();}export function getParents(_0x4ac6e0){const _0x48ec7b=_0x23ab,_0x998a79=[];let _0x2a74a1=_0x4ac6e0;for(;_0x2a74a1;)_0x2a74a1=_0x19fdd7(_0x2a74a1),_0x2a74a1&&_0x998a79[_0x48ec7b(0x1ad)](_0x2a74a1);return _0x998a79;}export function normalizeHTML(_0x2ac537){const _0x52465a=_0x23ab;return _0x2ac537[_0x52465a(0x1b8)](/^\s+/gm,'')[_0x52465a(0x1b8)](/\s+$/gm,'')[_0x52465a(0x1b8)](/\n*/g,'')[_0x52465a(0x1b8)](/\s+/g,'\x20')[_0x52465a(0x1b8)](/>\s*</g,'><');}export function areNodesSame(_0x1081a6,_0x360c21){return normalizeHTML(serialize(_0x1081a6))===normalizeHTML(serialize(_0x360c21));}export function getNodeNestingLevel(_0x4f116e){const _0x533932=_0x23ab;let _0xc2f02=0x0;for(;_0x4f116e[_0x533932(0x1bb)];)_0x4f116e=_0x4f116e[_0x533932(0x1bb)],_0xc2f02++;return _0xc2f02;}function _0x23ab(_0x966fc8,_0x3e12ea){const _0x59b54e=_0x59b5();return _0x23ab=function(_0x23abd7,_0x2ef479){_0x23abd7=_0x23abd7-0x1a8;let _0x1fc430=_0x59b54e[_0x23abd7];return _0x1fc430;},_0x23ab(_0x966fc8,_0x3e12ea);}export function removeElementsAfter(_0x2ad265){const _0x4366a9=_0x23ab,_0x317d2e=[];let _0x2951a3=_0x2ad265[_0x4366a9(0x1ae)];for(;_0x2951a3;)_0x317d2e[_0x4366a9(0x1ad)](_0x2951a3),_0x2951a3=_0x2951a3[_0x4366a9(0x1ae)];_0x317d2e[_0x4366a9(0x1ab)](_0x7ceca8=>{_0x34d92e(_0x7ceca8);});}export function getNodePath(_0x427495){const _0x1952ad=_0x23ab;return[_0x427495,...getParents(_0x427495)][_0x1952ad(0x1b7)](0x0,-0x1)[_0x1952ad(0x1be)](_0x2f25e6=>{const _0x572983=_0x1952ad,_0x8bcd95=_0x19fdd7(_0x2f25e6);return _0x324971(_0x8bcd95)[_0x572983(0x1bc)](_0x2f25e6);})[_0x1952ad(0x1b9)]();}
23
+ (function(_0x362019,_0x3fa191){const _0xaab70d=_0x5b74,_0x545861=_0x362019();while(!![]){try{const _0x5cac39=parseInt(_0xaab70d(0x1fa))/0x1*(-parseInt(_0xaab70d(0x1f7))/0x2)+-parseInt(_0xaab70d(0x1ef))/0x3*(parseInt(_0xaab70d(0x1ee))/0x4)+-parseInt(_0xaab70d(0x1f8))/0x5+-parseInt(_0xaab70d(0x1f4))/0x6+parseInt(_0xaab70d(0x200))/0x7+-parseInt(_0xaab70d(0x1fb))/0x8*(parseInt(_0xaab70d(0x1f5))/0x9)+parseInt(_0xaab70d(0x1f6))/0xa;if(_0x5cac39===_0x3fa191)break;else _0x545861['push'](_0x545861['shift']());}catch(_0x415417){_0x545861['push'](_0x545861['shift']());}}}(_0x5ded,0x6178b));import{parseDocument as _0x3d07fd}from'htmlparser2';import{append as _0xf37949,appendChild as _0x3a51b9,find as _0xd3843e,findAll as _0xc11413,findOne as _0x3ad8cd,getChildren as _0x11573f,isComment as _0x438be9,isTag as _0xc14ea3,prepend as _0x17498a,prependChild as _0x25f22f,removeElement as _0x150a29,replaceElement as _0x73096,textContent as _0xe1a7ae,getParent as _0x2e6e66,hasChildren as _0x21bcd6}from'domutils';import _0x150d80 from'dom-serializer';import{cloneNode as _0x5dd80a,isDocument as _0x5a03e6,isText as _0x354f0b,Element as _0x4af97e,Text as _0x5427d0,Document as _0x1d0677,NodeWithChildren as _0x35b01b}from'domhandler';export{_0x5dd80a as cloneNode,_0xd3843e as find,_0x3ad8cd as findOne,_0xc11413 as findAll,_0x11573f as getChildren,_0x2e6e66 as getParent,_0x438be9 as isComment,_0x5a03e6 as isDocument,_0xc14ea3 as isTag,_0x354f0b as isText,_0xf37949 as append,_0x3a51b9 as appendChild,_0x17498a as prepend,_0x25f22f as prependChild,_0x150d80 as render,_0x150a29 as removeElement,_0x73096 as replaceElement,_0xe1a7ae as textContent,_0x21bcd6 as hasChildren,_0x4af97e as Element,_0x1d0677 as Document,_0x35b01b as NodeWithChildren,_0x5427d0 as Text};export function parse(_0x5d607a){return _0x3d07fd(_0x5d607a);}export function serialize(_0x232bfb){return _0x150d80(_0x232bfb);}export function findByAttribute(_0x9e4b76,_0x57e080,_0x123ff4){const _0x3cde91=_0x5b74,_0x297427=null!==_0x57e080?_0x4fd3ad=>_0x4fd3ad[_0x3cde91(0x1f1)][_0x9e4b76]===_0x57e080:_0x2f4dde=>Boolean(_0x2f4dde[_0x3cde91(0x1f1)][_0x9e4b76]);return _0x3ad8cd(_0x2f17c9=>_0xc14ea3(_0x2f17c9)&&_0x297427(_0x2f17c9),_0x123ff4);}export function findAllByAttribute(_0x5bdaa5,_0x2f72eb,_0x570a1f){const _0x31c479=_0x5b74,_0xb1d8d1=null!==_0x2f72eb?_0xaf365d=>_0xaf365d[_0x31c479(0x1f1)][_0x5bdaa5]===_0x2f72eb:_0x41ad88=>Boolean(_0x41ad88[_0x31c479(0x1f1)][_0x5bdaa5]);return _0xc11413(_0x250c5b=>_0xc14ea3(_0x250c5b)&&_0xb1d8d1(_0x250c5b),_0x570a1f);}export function findAllComments(_0x1e5632){return _0xd3843e(_0x164e6d=>_0x438be9(_0x164e6d),_0x1e5632,!0x0,0x1/0x0);}export function getAttribute(_0xb413dc,_0x5592bc){const _0x2b7c53=_0x5b74;return _0xb413dc&&_0xc14ea3(_0xb413dc)?_0xb413dc[_0x2b7c53(0x1f1)][_0x5592bc]:null;}export function setAttribute(_0x47ed68,_0x3ead1b,_0x1f2a85){const _0x31d394=_0x5b74;_0xc14ea3(_0x47ed68)&&(null===_0x1f2a85?delete _0x47ed68[_0x31d394(0x1f1)][_0x3ead1b]:_0x47ed68[_0x31d394(0x1f1)][_0x3ead1b]=_0x1f2a85);}export function insertElement(_0x3252bd,_0x3625b3,_0x28ea6b){const _0x1090f8=_0x5b74,_0x4cf204=_0x3625b3[_0x1090f8(0x1e9)](!0x0);_0x1090f8(0x1ec)===_0x28ea6b?_0x17498a(_0x3252bd,_0x4cf204):_0x1090f8(0x1fe)===_0x28ea6b?_0x25f22f(_0x3252bd,_0x4cf204):_0x1090f8(0x1e8)===_0x28ea6b?_0x3a51b9(_0x3252bd,_0x4cf204):_0x1090f8(0x1ea)===_0x28ea6b&&_0xf37949(_0x3252bd,_0x4cf204);}export function moveElement(_0x556705,_0x3c8469){_0x150a29(_0x556705),_0x73096(_0x3c8469,_0x556705);}export function clone(_0x56ceaf){const _0x4f8e04=_0x5b74;return _0x56ceaf[_0x4f8e04(0x1e9)](!0x0);}function _0x5b74(_0x3d9c2a,_0x4e818d){const _0x5ded05=_0x5ded();return _0x5b74=function(_0x5b742f,_0x4af0a7){_0x5b742f=_0x5b742f-0x1e8;let _0x2a4ff2=_0x5ded05[_0x5b742f];return _0x2a4ff2;},_0x5b74(_0x3d9c2a,_0x4e818d);}function _0x5ded(){const _0x2fa9ad=['beforebegin','nextSibling','4ZMUDDn','2077563WPkDfe','map','attribs','replace','forEach','3753726rNmQGu','2565702aKowMq','35308890WPCxmN','2nAbcDz','3036210fYLsqd','indexOf','636113nHNNAi','16DPXiav','slice','reverse','afterbegin','push','49wUSrhZ','beforeend','cloneNode','afterend','parentNode'];_0x5ded=function(){return _0x2fa9ad;};return _0x5ded();}export function getParents(_0x49a39d){const _0x5395d4=_0x5b74,_0x109c6c=[];let _0x2b58f7=_0x49a39d;for(;_0x2b58f7;)_0x2b58f7=_0x2e6e66(_0x2b58f7),_0x2b58f7&&_0x109c6c[_0x5395d4(0x1ff)](_0x2b58f7);return _0x109c6c;}export function normalizeHTML(_0x429c84){const _0x3c772f=_0x5b74;return _0x429c84[_0x3c772f(0x1f2)](/^\s+/gm,'')[_0x3c772f(0x1f2)](/\s+$/gm,'')[_0x3c772f(0x1f2)](/\n*/g,'')[_0x3c772f(0x1f2)](/\s+/g,'\x20')[_0x3c772f(0x1f2)](/>\s*</g,'><');}export function areNodesSame(_0x1b4585,_0x3dad52){return normalizeHTML(serialize(_0x1b4585))===normalizeHTML(serialize(_0x3dad52));}export function getNodeNestingLevel(_0x14c2d6){const _0x20a4f0=_0x5b74;let _0x902be5=0x0;for(;_0x14c2d6[_0x20a4f0(0x1eb)];)_0x14c2d6=_0x14c2d6[_0x20a4f0(0x1eb)],_0x902be5++;return _0x902be5;}export function removeElementsAfter(_0x200ff3){const _0x3bec8f=_0x5b74,_0x141aef=[];let _0x57e0eb=_0x200ff3[_0x3bec8f(0x1ed)];for(;_0x57e0eb;)_0x141aef[_0x3bec8f(0x1ff)](_0x57e0eb),_0x57e0eb=_0x57e0eb[_0x3bec8f(0x1ed)];_0x141aef[_0x3bec8f(0x1f3)](_0x5b8dd1=>{_0x150a29(_0x5b8dd1);});}export function getNodePath(_0x169952){const _0xc7b0eb=_0x5b74;return[_0x169952,...getParents(_0x169952)][_0xc7b0eb(0x1fc)](0x0,-0x1)[_0xc7b0eb(0x1f0)](_0x139024=>{const _0x235cd0=_0xc7b0eb,_0x1bc9e6=_0x2e6e66(_0x139024);return _0x11573f(_0x1bc9e6)[_0x235cd0(0x1f9)](_0x139024);})[_0xc7b0eb(0x1fd)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x160a22=_0x4956;function _0x52aa(){const _0x3636f7=['timeoutAbortController','tagName','strong','shouldBeStreamed','bind','children','isWordSplitResult','4WTfFRF','forEach','push','stop','now','delay','getParsedDocumentNodeList','363025fZnQfi','div','join','addEventListener','del','length','querySelectorAll','842912jcvmkN','71264SJnBEi','reverse','abort','595347ivffZV','from','sup','textNodeStyle','nodesList','document','signal','match','code','includes','span','ins','stream','isStreaming','currentIndex','onStreamUpdate','childNodes','mark','cleanUpAnimations','replaceWith','attribs','options','87752kQgowN','renderNode','parent','map','1116444xxNHfR','entries','splitTextNodeIntoWordNodes','141989XcJNuI','span[data-ck-html-streamer-word-chunk]','ai-html-streamer-current-index-out-of-bounds','isWordSplitSource','sub'];_0x52aa=function(){return _0x3636f7;};return _0x52aa();}(function(_0x3965ff,_0x193c03){const _0x1d8887=_0x4956,_0x44bef4=_0x3965ff();while(!![]){try{const _0x154566=parseInt(_0x1d8887(0x11a))/0x1+parseInt(_0x1d8887(0xfa))/0x2+-parseInt(_0x1d8887(0xfd))/0x3+-parseInt(_0x1d8887(0x126))/0x4*(-parseInt(_0x1d8887(0xf2))/0x5)+parseInt(_0x1d8887(0x117))/0x6+-parseInt(_0x1d8887(0x113))/0x7+-parseInt(_0x1d8887(0xf9))/0x8;if(_0x154566===_0x193c03)break;else _0x44bef4['push'](_0x44bef4['shift']());}catch(_0x30b10d){_0x44bef4['push'](_0x44bef4['shift']());}}}(_0x52aa,0x1d48f));import _0x11d643 from'morphdom';function _0x4956(_0x31d695,_0x789f4d){const _0x52aace=_0x52aa();return _0x4956=function(_0x495692,_0x51311a){_0x495692=_0x495692-0xf0;let _0x55eb20=_0x52aace[_0x495692];return _0x55eb20;},_0x4956(_0x31d695,_0x789f4d);}import{NodeWithChildren as _0x1ab141,Text as _0x1c58bf,Element as _0x27852a,isText as _0x287541,isDocument as _0x196f1c,isTag as _0x583041,cloneNode as _0x444dfb,getChildren as _0x3a4cd5,prepend as _0x36c700,removeElement as _0x393a3a,textContent as _0x297937,render as _0x5dbea0}from'./htmlparser.js';import{logWarning as _0x3d5e5e}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x160a22(0x112)];[_0x160a22(0x10a)]=!0x1;[_0x160a22(0x102)]=null;[_0x160a22(0x101)]=[];[_0x160a22(0x10b)]=0x0;[_0x160a22(0x11f)]=null;constructor(_0x4d9482){const _0x2360c4=_0x160a22;this[_0x2360c4(0x112)]={'delay':_0x4d9482[_0x2360c4(0xf0)]??0x14,'textNodeStyle':_0x4d9482[_0x2360c4(0x100)],'onStreamUpdate':_0x4d9482[_0x2360c4(0x10c)]||(()=>{})};}async[_0x160a22(0x109)]({document:_0x2154a6,targetElement:_0x43a3a3,abortSignal:_0x4aaef9}){const _0x2051cb=_0x160a22;this[_0x2051cb(0x10a)]&&this[_0x2051cb(0x129)](),_0x4aaef9?.[_0x2051cb(0xf5)](_0x2051cb(0xfc),this[_0x2051cb(0x129)][_0x2051cb(0x123)](this)),this[_0x2051cb(0x102)]=_0x444dfb(_0x2154a6,!0x0),this[_0x2051cb(0x101)]=this[_0x2051cb(0xf1)](),this[_0x2051cb(0x10a)]=!0x0,this[_0x2051cb(0x10b)]>this[_0x2051cb(0x101)][_0x2051cb(0xf7)]&&(_0x3d5e5e(_0x2051cb(0x11c),{'currentIndex':this[_0x2051cb(0x10b)],'nodeList':this[_0x2051cb(0x101)]}),this[_0x2051cb(0x10b)]=this[_0x2051cb(0x101)][_0x2051cb(0xf7)]);for(let _0x2d5e85=0x0;_0x2d5e85<this[_0x2051cb(0x10b)];_0x2d5e85++)this[_0x2051cb(0x101)][_0x2d5e85][_0x2051cb(0x122)]=!0x0;let _0x4ba0e2=0x0;for(let _0x4d7190=this[_0x2051cb(0x10b)];_0x4d7190<this[_0x2051cb(0x101)][_0x2051cb(0xf7)];_0x4d7190++){const _0x1aced5=Date[_0x2051cb(0x12a)](),_0x151991=this[_0x2051cb(0x101)][_0x4d7190],_0x492878=_0x1aced5-_0x4ba0e2;_0x151991[_0x2051cb(0x122)]=!0x0;let _0x56aeba=_0x151991[_0x2051cb(0x115)];for(;_0x56aeba;)_0x56aeba[_0x2051cb(0x122)]=!0x0,_0x56aeba=_0x56aeba[_0x2051cb(0x115)];if(_0x492878<this[_0x2051cb(0x112)][_0x2051cb(0xf0)])try{const {promise:_0x3e6924,abortController:_0x2d9442}=dr(this[_0x2051cb(0x112)][_0x2051cb(0xf0)]-_0x492878);this[_0x2051cb(0x11f)]=_0x2d9442,await _0x3e6924;}catch(_0x47d93a){return;}_0x11d643(_0x43a3a3,'<'+_0x43a3a3[_0x2051cb(0x120)]+'>'+this[_0x2051cb(0x114)](this[_0x2051cb(0x102)])+'</'+_0x43a3a3[_0x2051cb(0x120)]+'>',{'childrenOnly':!0x0}),this[_0x2051cb(0x112)][_0x2051cb(0x10c)]&&this[_0x2051cb(0x112)][_0x2051cb(0x10c)](),this[_0x2051cb(0x10b)]=_0x4d7190,_0x4ba0e2=Date[_0x2051cb(0x12a)]();}this[_0x2051cb(0x10a)]=!0x1;}[_0x160a22(0x10f)]({targetElement:_0x5c0535}){const _0x5dd3ed=_0x160a22;Array[_0x5dd3ed(0xfe)](_0x5c0535[_0x5dd3ed(0xf8)](_0x5dd3ed(0x11b)))[_0x5dd3ed(0xfb)]()[_0x5dd3ed(0x127)](_0x51ebca=>{const _0x21f6ff=_0x5dd3ed;_0x51ebca[_0x21f6ff(0x110)](_0x51ebca[_0x21f6ff(0x10d)][0x0]);});}[_0x160a22(0x129)](){const _0x1735c6=_0x160a22;this[_0x1735c6(0x10a)]=!0x1,this[_0x1735c6(0x11f)]&&(this[_0x1735c6(0x11f)][_0x1735c6(0xfc)](),this[_0x1735c6(0x11f)]=null);}[_0x160a22(0x114)](_0x5155c4){const _0x100dd9=_0x160a22;let _0x283a66='';if(function(_0x2ec49d){return _0x196f1c(_0x2ec49d);}(_0x5155c4)){for(const _0x4b1f3e of _0x5155c4[_0x100dd9(0x124)])_0x283a66+=this[_0x100dd9(0x114)](_0x4b1f3e);}else{if(mr(_0x5155c4)){if(!_0x5155c4[_0x100dd9(0x122)])return'';const _0x5f02d4=_0x5155c4,_0x5259b1=Object[_0x100dd9(0x118)](_0x5f02d4[_0x100dd9(0x111)])[_0x100dd9(0x116)](([_0x4ef9fd,_0x251abe])=>_0x4ef9fd+'=\x22'+_0x251abe+'\x22')[_0x100dd9(0xf4)]('\x20');_0x283a66+='<'+_0x5f02d4[_0x100dd9(0x120)]+(_0x5259b1?'\x20'+_0x5259b1:'')+'>';for(const _0xe22d22 of _0x3a4cd5(_0x5f02d4))_0x283a66+=this[_0x100dd9(0x114)](_0xe22d22);_0x283a66+='</'+_0x5f02d4[_0x100dd9(0x120)]+'>';}else{if(!ar(_0x5155c4))return'';if(!_0x5155c4[_0x100dd9(0x122)])return'';!function(_0x343a7a){const _0x3b73d5=_0x100dd9;if(!_0x343a7a[_0x3b73d5(0x115)]||!mr(_0x343a7a[_0x3b73d5(0x115)]))return!0x1;if(!cr[_0x3b73d5(0x106)](_0x343a7a[_0x3b73d5(0x115)][_0x3b73d5(0x120)]))return!0x1;return!_0x297937(_0x343a7a)[_0x3b73d5(0x104)](/^\s*[<>]\s*$/);}(_0x5155c4)?_0x283a66+=_0x5dbea0(_0x5155c4):_0x283a66+=_0x5dbea0(new _0x27852a(_0x100dd9(0x107),{'data-ck-html-streamer-word-chunk':'','style':this[_0x100dd9(0x112)][_0x100dd9(0x100)]},[_0x5155c4]));}}return _0x283a66;}[_0x160a22(0xf1)](){const _0x49c394=_0x160a22,_0x31664c=[];return function(_0x1f40c4,_0x288d41){const _0x926338=_0x4956,_0x1d71dd=_0x22c9aa=>{const _0xd39dd3=_0x4956;if(_0x288d41(_0x22c9aa),_0x22c9aa instanceof _0x1ab141)for(let _0x1d93c4=0x0;_0x1d93c4<_0x22c9aa[_0xd39dd3(0x124)][_0xd39dd3(0xf7)];_0x1d93c4++){const _0x558f0d=_0x22c9aa[_0xd39dd3(0x124)][_0x1d93c4];_0x1d71dd(_0x558f0d);}};for(let _0x16d8e8=0x0;_0x16d8e8<_0x1f40c4[_0x926338(0x124)][_0x926338(0xf7)];_0x16d8e8++)_0x1d71dd(_0x1f40c4[_0x926338(0x124)][_0x16d8e8]);}(this[_0x49c394(0x102)],_0x3fa778=>{const _0xc8ea63=_0x49c394;if(ar(_0x3fa778)){const _0x59e220=this[_0xc8ea63(0x119)](_0x3fa778);_0x59e220[_0xc8ea63(0xf7)]&&_0x31664c[_0xc8ea63(0x128)](..._0x59e220);}_0x3fa778[_0xc8ea63(0x11d)]||_0x3fa778[_0xc8ea63(0x125)]||_0x31664c[_0xc8ea63(0x128)](_0x3fa778);}),_0x31664c;}[_0x160a22(0x119)](_0x1fa5ed){const _0x202875=_0x160a22;if(_0x1fa5ed[_0x202875(0x11d)]||_0x1fa5ed[_0x202875(0x125)])return[];const _0x3e3fd4=_0x297937(_0x1fa5ed)[_0x202875(0x104)](/(?:\s*\S+\s*)/g),_0xe1c5f3=[];if(_0x3e3fd4&&_0x3e3fd4[_0x202875(0xf7)]>0x1){for(const _0xe111b1 of _0x3e3fd4){const _0x409471=new _0x1c58bf(_0xe111b1);_0x409471[_0x202875(0x125)]=!0x0,_0x36c700(_0x1fa5ed,_0x409471),_0xe1c5f3[_0x202875(0x128)](_0x409471);}_0x1fa5ed[_0x202875(0x11d)]=!0x0,_0x393a3a(_0x1fa5ed);}return _0xe1c5f3;}}const cr=['p','li','td','th',_0x160a22(0x107),'h1','h2','h3','h4','h5','h6','b',_0x160a22(0x121),'i','em',_0x160a22(0x10e),_0x160a22(0xf6),_0x160a22(0x108),_0x160a22(0xff),_0x160a22(0x11e),'a',_0x160a22(0x105),_0x160a22(0xf3)];function ar(_0x3c1014){return _0x287541(_0x3c1014);}function mr(_0x385058){return _0x583041(_0x385058);}function dr(_0x1a8d0f){const _0x545f61=new AbortController();return{'promise':new Promise((_0x17a5b7,_0x5b3fae)=>{const _0x3cd8de=_0x4956,_0x53ade8=setTimeout(_0x17a5b7,_0x1a8d0f);_0x545f61[_0x3cd8de(0x103)][_0x3cd8de(0xf5)](_0x3cd8de(0xfc),()=>{clearTimeout(_0x53ade8),_0x5b3fae();});}),'abortController':_0x545f61};}
23
+ function _0x517d(){const _0x517760=['match','ai-html-streamer-current-index-out-of-bounds','currentIndex','mark','30IoHiFz','getParsedDocumentNodeList','replaceWith','div','document','393198cBXMuI','code','reverse','textNodeStyle','forEach','abort','push','212872XYpeIY','nodesList','strong','span[data-ck-html-streamer-word-chunk]','bind','sup','splitTextNodeIntoWordNodes','1604274fDYfQT','2076020CcIiPI','ins','length','delay','timeoutAbortController','childNodes','sub','renderNode','attribs','querySelectorAll','shouldBeStreamed','span','options','stream','9237512CINKYG','signal','parent','isStreaming','stop','join','entries','cleanUpAnimations','987395axsjZr','isWordSplitResult','3TWbVNQ','onStreamUpdate','10608363DSbxPp','from','map','del','includes','children','now','isWordSplitSource','addEventListener','10fOrkGM','tagName'];_0x517d=function(){return _0x517760;};return _0x517d();}const _0x325413=_0x2175;(function(_0x4e0c76,_0x41092f){const _0x72eb65=_0x2175,_0x570d9f=_0x4e0c76();while(!![]){try{const _0x45a43d=-parseInt(_0x72eb65(0xd6))/0x1+parseInt(_0x72eb65(0xc0))/0x2+parseInt(_0x72eb65(0xd8))/0x3*(-parseInt(_0x72eb65(0xb8))/0x4)+-parseInt(_0x72eb65(0xac))/0x5*(-parseInt(_0x72eb65(0xb1))/0x6)+parseInt(_0x72eb65(0xbf))/0x7+parseInt(_0x72eb65(0xce))/0x8+parseInt(_0x72eb65(0xda))/0x9*(-parseInt(_0x72eb65(0xa6))/0xa);if(_0x45a43d===_0x41092f)break;else _0x570d9f['push'](_0x570d9f['shift']());}catch(_0x154ccf){_0x570d9f['push'](_0x570d9f['shift']());}}}(_0x517d,0x9172f));import _0x32708f from'morphdom';import{NodeWithChildren as _0xc77718,Text as _0x10af63,Element as _0x25e46a,isText as _0x2c85d6,isDocument as _0x13f7a5,isTag as _0x4923f1,cloneNode as _0x684441,getChildren as _0x13b0c2,prepend as _0x91ee0c,removeElement as _0x405553,textContent as _0x3c8bf9,render as _0x4f29ac}from'./htmlparser.js';import{logWarning as _0x3b4df0}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x325413(0xcc)];[_0x325413(0xd1)]=!0x1;[_0x325413(0xb0)]=null;[_0x325413(0xb9)]=[];[_0x325413(0xaa)]=0x0;[_0x325413(0xc4)]=null;constructor(_0x472426){const _0x4387a3=_0x325413;this[_0x4387a3(0xcc)]={'delay':_0x472426[_0x4387a3(0xc3)]??0x14,'textNodeStyle':_0x472426[_0x4387a3(0xb4)],'onStreamUpdate':_0x472426[_0x4387a3(0xd9)]||(()=>{})};}async[_0x325413(0xcd)]({document:_0x25ab76,targetElement:_0x37362e,abortSignal:_0x4eda18}){const _0x49834b=_0x325413;this[_0x49834b(0xd1)]&&this[_0x49834b(0xd2)](),_0x4eda18?.[_0x49834b(0xa5)](_0x49834b(0xb6),this[_0x49834b(0xd2)][_0x49834b(0xbc)](this)),this[_0x49834b(0xb0)]=_0x684441(_0x25ab76,!0x0),this[_0x49834b(0xb9)]=this[_0x49834b(0xad)](),this[_0x49834b(0xd1)]=!0x0,this[_0x49834b(0xaa)]>this[_0x49834b(0xb9)][_0x49834b(0xc2)]&&(_0x3b4df0(_0x49834b(0xa9),{'currentIndex':this[_0x49834b(0xaa)],'nodeList':this[_0x49834b(0xb9)]}),this[_0x49834b(0xaa)]=this[_0x49834b(0xb9)][_0x49834b(0xc2)]);for(let _0x876693=0x0;_0x876693<this[_0x49834b(0xaa)];_0x876693++)this[_0x49834b(0xb9)][_0x876693][_0x49834b(0xca)]=!0x0;let _0x10a6f3=0x0;for(let _0x380f2f=this[_0x49834b(0xaa)];_0x380f2f<this[_0x49834b(0xb9)][_0x49834b(0xc2)];_0x380f2f++){const _0x23a0e3=Date[_0x49834b(0xa3)](),_0x5672f0=this[_0x49834b(0xb9)][_0x380f2f],_0x28ed6e=_0x23a0e3-_0x10a6f3;_0x5672f0[_0x49834b(0xca)]=!0x0;let _0x14a0fc=_0x5672f0[_0x49834b(0xd0)];for(;_0x14a0fc;)_0x14a0fc[_0x49834b(0xca)]=!0x0,_0x14a0fc=_0x14a0fc[_0x49834b(0xd0)];if(_0x28ed6e<this[_0x49834b(0xcc)][_0x49834b(0xc3)])try{const {promise:_0x4d3621,abortController:_0x14743b}=mr(this[_0x49834b(0xcc)][_0x49834b(0xc3)]-_0x28ed6e);this[_0x49834b(0xc4)]=_0x14743b,await _0x4d3621;}catch(_0x305284){return;}_0x32708f(_0x37362e,'<'+_0x37362e[_0x49834b(0xa7)]+'>'+this[_0x49834b(0xc7)](this[_0x49834b(0xb0)])+'</'+_0x37362e[_0x49834b(0xa7)]+'>',{'childrenOnly':!0x0}),this[_0x49834b(0xcc)][_0x49834b(0xd9)]&&this[_0x49834b(0xcc)][_0x49834b(0xd9)](),this[_0x49834b(0xaa)]=_0x380f2f,_0x10a6f3=Date[_0x49834b(0xa3)]();}this[_0x49834b(0xd1)]=!0x1;}[_0x325413(0xd5)]({targetElement:_0x868350}){const _0x6dfb6c=_0x325413;Array[_0x6dfb6c(0xdb)](_0x868350[_0x6dfb6c(0xc9)](_0x6dfb6c(0xbb)))[_0x6dfb6c(0xb3)]()[_0x6dfb6c(0xb5)](_0x1a86bf=>{const _0x178f89=_0x6dfb6c;_0x1a86bf[_0x178f89(0xae)](_0x1a86bf[_0x178f89(0xc5)][0x0]);});}[_0x325413(0xd2)](){const _0x2f5fb9=_0x325413;this[_0x2f5fb9(0xd1)]=!0x1,this[_0x2f5fb9(0xc4)]&&(this[_0x2f5fb9(0xc4)][_0x2f5fb9(0xb6)](),this[_0x2f5fb9(0xc4)]=null);}[_0x325413(0xc7)](_0x1cb102){const _0x3334e6=_0x325413;let _0x3bc37a='';if(function(_0x268c8e){return _0x13f7a5(_0x268c8e);}(_0x1cb102)){for(const _0x81d2df of _0x1cb102[_0x3334e6(0xa2)])_0x3bc37a+=this[_0x3334e6(0xc7)](_0x81d2df);}else{if(ar(_0x1cb102)){if(!_0x1cb102[_0x3334e6(0xca)])return'';const _0x2c5981=_0x1cb102,_0x7a3b09=Object[_0x3334e6(0xd4)](_0x2c5981[_0x3334e6(0xc8)])[_0x3334e6(0xdc)](([_0x42858a,_0x3f72b4])=>_0x42858a+'=\x22'+_0x3f72b4+'\x22')[_0x3334e6(0xd3)]('\x20');_0x3bc37a+='<'+_0x2c5981[_0x3334e6(0xa7)]+(_0x7a3b09?'\x20'+_0x7a3b09:'')+'>';for(const _0x54b96d of _0x13b0c2(_0x2c5981))_0x3bc37a+=this[_0x3334e6(0xc7)](_0x54b96d);_0x3bc37a+='</'+_0x2c5981[_0x3334e6(0xa7)]+'>';}else{if(!cr(_0x1cb102))return'';if(!_0x1cb102[_0x3334e6(0xca)])return'';!function(_0x551e50){const _0x4ac303=_0x3334e6;if(!_0x551e50[_0x4ac303(0xd0)]||!ar(_0x551e50[_0x4ac303(0xd0)]))return!0x1;if(!hr[_0x4ac303(0xde)](_0x551e50[_0x4ac303(0xd0)][_0x4ac303(0xa7)]))return!0x1;return!_0x3c8bf9(_0x551e50)[_0x4ac303(0xa8)](/^\s*[<>]\s*$/);}(_0x1cb102)?_0x3bc37a+=_0x4f29ac(_0x1cb102):_0x3bc37a+=_0x4f29ac(new _0x25e46a(_0x3334e6(0xcb),{'data-ck-html-streamer-word-chunk':'','style':this[_0x3334e6(0xcc)][_0x3334e6(0xb4)]},[_0x1cb102]));}}return _0x3bc37a;}[_0x325413(0xad)](){const _0x50aff4=_0x325413,_0x10962d=[];return function(_0x395f16,_0x77b364){const _0x9c416d=_0x2175,_0x50dd51=_0x3dc1d8=>{const _0x3b4d37=_0x2175;if(_0x77b364(_0x3dc1d8),_0x3dc1d8 instanceof _0xc77718)for(let _0x58f9a7=0x0;_0x58f9a7<_0x3dc1d8[_0x3b4d37(0xa2)][_0x3b4d37(0xc2)];_0x58f9a7++){const _0x28961b=_0x3dc1d8[_0x3b4d37(0xa2)][_0x58f9a7];_0x50dd51(_0x28961b);}};for(let _0x4b7e61=0x0;_0x4b7e61<_0x395f16[_0x9c416d(0xa2)][_0x9c416d(0xc2)];_0x4b7e61++)_0x50dd51(_0x395f16[_0x9c416d(0xa2)][_0x4b7e61]);}(this[_0x50aff4(0xb0)],_0x544613=>{const _0x2e0e81=_0x50aff4;if(cr(_0x544613)){const _0x3496f2=this[_0x2e0e81(0xbe)](_0x544613);_0x3496f2[_0x2e0e81(0xc2)]&&_0x10962d[_0x2e0e81(0xb7)](..._0x3496f2);}_0x544613[_0x2e0e81(0xa4)]||_0x544613[_0x2e0e81(0xd7)]||_0x10962d[_0x2e0e81(0xb7)](_0x544613);}),_0x10962d;}[_0x325413(0xbe)](_0x131ad1){const _0x26fd71=_0x325413;if(_0x131ad1[_0x26fd71(0xa4)]||_0x131ad1[_0x26fd71(0xd7)])return[];const _0x53b7c9=_0x3c8bf9(_0x131ad1)[_0x26fd71(0xa8)](/(?:\s*\S+\s*)/g),_0x541d05=[];if(_0x53b7c9&&_0x53b7c9[_0x26fd71(0xc2)]>0x1){for(const _0x84dfd5 of _0x53b7c9){const _0x6a61ac=new _0x10af63(_0x84dfd5);_0x6a61ac[_0x26fd71(0xd7)]=!0x0,_0x91ee0c(_0x131ad1,_0x6a61ac),_0x541d05[_0x26fd71(0xb7)](_0x6a61ac);}_0x131ad1[_0x26fd71(0xa4)]=!0x0,_0x405553(_0x131ad1);}return _0x541d05;}}const hr=['p','li','td','th',_0x325413(0xcb),'h1','h2','h3','h4','h5','h6','b',_0x325413(0xba),'i','em',_0x325413(0xab),_0x325413(0xdd),_0x325413(0xc1),_0x325413(0xbd),_0x325413(0xc6),'a',_0x325413(0xb2),_0x325413(0xaf)];function cr(_0x3fb154){return _0x2c85d6(_0x3fb154);}function _0x2175(_0x39e825,_0x272217){const _0x517d66=_0x517d();return _0x2175=function(_0x2175ec,_0x25ac83){_0x2175ec=_0x2175ec-0xa2;let _0x114781=_0x517d66[_0x2175ec];return _0x114781;},_0x2175(_0x39e825,_0x272217);}function ar(_0x4a8582){return _0x4923f1(_0x4a8582);}function mr(_0x379481){const _0x41510a=new AbortController();return{'promise':new Promise((_0x5b23df,_0x67a6c3)=>{const _0x2a295b=_0x2175,_0x3f527f=setTimeout(_0x5b23df,_0x379481);_0x41510a[_0x2a295b(0xcf)][_0x2a295b(0xa5)](_0x2a295b(0xb6),()=>{clearTimeout(_0x3f527f),_0x67a6c3();});}),'abortController':_0x41510a};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xa9fe(){var _0x314c04=['isPremiumPlugin','7567866bPWXOL','1649932EvIUwJ','24DcgLCM','1437754GWWWoD','requires','AIEditorIntegration','5132232mHRqER','1964240oHqoyS','isOfficialPlugin','4449408eaEQaI','8ImBgDe','1009491GMVbzI','pluginName'];_0xa9fe=function(){return _0x314c04;};return _0xa9fe();}function _0x4822(_0x3252ba,_0x1809e9){var _0xa9fe7=_0xa9fe();return _0x4822=function(_0x482207,_0xadf69){_0x482207=_0x482207-0x119;var _0x5bda4f=_0xa9fe7[_0x482207];return _0x5bda4f;},_0x4822(_0x3252ba,_0x1809e9);}var _0x4ea16c=_0x4822;(function(_0x1984c5,_0x2300d2){var _0x2ba1b4=_0x4822,_0x2a89c6=_0x1984c5();while(!![]){try{var _0x40845e=parseInt(_0x2ba1b4(0x125))/0x1+parseInt(_0x2ba1b4(0x119))/0x2+-parseInt(_0x2ba1b4(0x11c))/0x3+-parseInt(_0x2ba1b4(0x120))/0x4*(-parseInt(_0x2ba1b4(0x11d))/0x5)+parseInt(_0x2ba1b4(0x11f))/0x6+-parseInt(_0x2ba1b4(0x121))/0x7*(parseInt(_0x2ba1b4(0x126))/0x8)+-parseInt(_0x2ba1b4(0x124))/0x9;if(_0x40845e===_0x2300d2)break;else _0x2a89c6['push'](_0x2a89c6['shift']());}catch(_0x453171){_0x2a89c6['push'](_0x2a89c6['shift']());}}}(_0xa9fe,0xde9c8));import{Plugin as _0xf15702}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x8c5486}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0xf15702{static get[_0x4ea16c(0x11a)](){return[_0x8c5486];}static get[_0x4ea16c(0x122)](){var _0x183f15=_0x4ea16c;return _0x183f15(0x11b);}static get[_0x4ea16c(0x11e)](){return!0x0;}static get[_0x4ea16c(0x123)](){return!0x0;}}
23
+ var _0x1ccaae=_0x354e;(function(_0x41a397,_0x1d09c3){var _0x46dc2e=_0x354e,_0x7aec35=_0x41a397();while(!![]){try{var _0x3e00de=parseInt(_0x46dc2e(0xb3))/0x1*(-parseInt(_0x46dc2e(0xb1))/0x2)+-parseInt(_0x46dc2e(0xb5))/0x3*(parseInt(_0x46dc2e(0xad))/0x4)+-parseInt(_0x46dc2e(0xb0))/0x5*(-parseInt(_0x46dc2e(0xa9))/0x6)+parseInt(_0x46dc2e(0xb7))/0x7*(parseInt(_0x46dc2e(0xaf))/0x8)+-parseInt(_0x46dc2e(0xb8))/0x9*(parseInt(_0x46dc2e(0xb6))/0xa)+parseInt(_0x46dc2e(0xb2))/0xb+parseInt(_0x46dc2e(0xaa))/0xc*(parseInt(_0x46dc2e(0xb9))/0xd);if(_0x3e00de===_0x1d09c3)break;else _0x7aec35['push'](_0x7aec35['shift']());}catch(_0x14b733){_0x7aec35['push'](_0x7aec35['shift']());}}}(_0x4ea1,0x4a40f));function _0x4ea1(){var _0x4e6301=['4373AyCBoV','isOfficialPlugin','78mmLEwX','10aALoJv','917sSYvuu','1031661xVyYWn','1552174aNyCBY','requires','5826eFbqnZ','12GkQvjD','AIEditorIntegration','isPremiumPlugin','51856VtlOnQ','pluginName','4408CVutkp','1260JUloUg','122YDFueS','6449498uFSNLn'];_0x4ea1=function(){return _0x4e6301;};return _0x4ea1();}function _0x354e(_0x365165,_0x25331e){var _0x4ea161=_0x4ea1();return _0x354e=function(_0x354e0e,_0xae8049){_0x354e0e=_0x354e0e-0xa9;var _0x3d2650=_0x4ea161[_0x354e0e];return _0x3d2650;},_0x354e(_0x365165,_0x25331e);}import{Plugin as _0xfe3ae0}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x3a9f3d}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0xfe3ae0{static get[_0x1ccaae(0xba)](){return[_0x3a9f3d];}static get[_0x1ccaae(0xae)](){var _0xf0b529=_0x1ccaae;return _0xf0b529(0xab);}static get[_0x1ccaae(0xb4)](){return!0x0;}static get[_0x1ccaae(0xac)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x553f60=_0x5296;(function(_0x878b77,_0x58ea54){const _0x276185=_0x5296,_0x527ab3=_0x878b77();while(!![]){try{const _0x44a6ea=-parseInt(_0x276185(0xe8))/0x1+parseInt(_0x276185(0xf2))/0x2*(-parseInt(_0x276185(0xec))/0x3)+parseInt(_0x276185(0xf6))/0x4+-parseInt(_0x276185(0xeb))/0x5*(-parseInt(_0x276185(0xd6))/0x6)+parseInt(_0x276185(0xe7))/0x7*(-parseInt(_0x276185(0xe6))/0x8)+-parseInt(_0x276185(0xdb))/0x9+-parseInt(_0x276185(0xf4))/0xa*(-parseInt(_0x276185(0xe0))/0xb);if(_0x44a6ea===_0x58ea54)break;else _0x527ab3['push'](_0x527ab3['shift']());}catch(_0x1366ed){_0x527ab3['push'](_0x527ab3['shift']());}}}(_0xff6f,0x4ba05));import{Plugin as _0x53fd59}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x3236ff}from'./toggleaicommand.js';function _0x5296(_0x41a4a7,_0x52274e){const _0x5296dc=_0xff6f();return _0x5296=function(_0x444dcb,_0x5a27f5){_0x444dcb=_0x444dcb-0xd4;let _0x33955d=_0x5296dc[_0x444dcb];return _0x33955d;},_0x5296(_0x41a4a7,_0x52274e);}import{ButtonView as _0x130b57,MenuBarMenuListItemButtonView as _0x58b841}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x49f683}from'@ckeditor/ckeditor5-icons';function _0xff6f(){const _0x3b5f6f=['ck-ai-toggle-button','isOfficialPlugin','AIToggleButtonUI','669207OUXajj','editor','isPremiumPlugin','AI_TOGGLE_BUTTON_LABEL','_createAIUIButton','listenTo','168FnEhfi','102438NtZAcG','366880BRWdjg','add','isOn','59845sTusOA','6sxvMOG','set','requires','menuBar:toggleAi','locale','bind','160174Gilitz','isEnabled','50sYyHwr','pluginName','1593324YprLcm','menuitemcheckbox','componentFactory','toggleAi','294ZGTqXQ','commands','execute','init','value','1303776KSDkdK','get'];_0xff6f=function(){return _0x3b5f6f;};return _0xff6f();}import{getTranslation as _0x23af0a}from'../../aicore/utils/common-translations.js';import{AITabs as _0xb0f4e3}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x53fd59{static get[_0x553f60(0xee)](){return[_0xb0f4e3];}static get[_0x553f60(0xf5)](){const _0x4eb7b5=_0x553f60;return _0x4eb7b5(0xdf);}static get[_0x553f60(0xde)](){return!0x0;}static get[_0x553f60(0xe2)](){return!0x0;}[_0x553f60(0xd9)](){const _0x1d0b2a=_0x553f60,_0x2ce14f=this[_0x1d0b2a(0xe1)];_0x2ce14f[_0x1d0b2a(0xd7)][_0x1d0b2a(0xe9)](_0x1d0b2a(0xd5),new _0x3236ff(_0x2ce14f)),_0x2ce14f['ui'][_0x1d0b2a(0xd4)][_0x1d0b2a(0xe9)](_0x1d0b2a(0xd5),()=>{const _0x55102f=_0x1d0b2a,_0x3c0d32=this[_0x55102f(0xe4)](_0x130b57);return _0x3c0d32[_0x55102f(0xed)]({'tooltip':!0x0,'class':_0x55102f(0xdd)}),_0x3c0d32;}),_0x2ce14f['ui'][_0x1d0b2a(0xd4)][_0x1d0b2a(0xe9)](_0x1d0b2a(0xef),()=>{const _0x54515b=_0x1d0b2a,_0x2d9b8a=this[_0x54515b(0xe4)](_0x58b841);return _0x2d9b8a[_0x54515b(0xed)]({'role':_0x54515b(0xf7)}),_0x2d9b8a;});}[_0x553f60(0xe4)](_0x1041b5){const _0x2272e9=_0x553f60,_0x58b8fb=this[_0x2272e9(0xe1)],_0x54a9a8=_0x58b8fb[_0x2272e9(0xd7)][_0x2272e9(0xdc)](_0x2272e9(0xd5)),_0x5ac049=new _0x1041b5(_0x58b8fb[_0x2272e9(0xf0)]);return _0x5ac049[_0x2272e9(0xed)]({'label':_0x23af0a(_0x58b8fb[_0x2272e9(0xf0)],_0x2272e9(0xe3)),'icon':_0x49f683,'isToggleable':!0x0}),_0x5ac049[_0x2272e9(0xf1)](_0x2272e9(0xf3))['to'](_0x54a9a8),_0x5ac049[_0x2272e9(0xf1)](_0x2272e9(0xea))['to'](_0x54a9a8,_0x2272e9(0xda),_0x59ab07=>!!_0x59ab07),this[_0x2272e9(0xe5)](_0x5ac049,_0x2272e9(0xd8),()=>{const _0x536da0=_0x2272e9;_0x54a9a8[_0x536da0(0xd8)]();}),_0x5ac049;}}
23
+ const _0x44f9c9=_0x2619;(function(_0x473eb2,_0x11442f){const _0x3ce113=_0x2619,_0x131f38=_0x473eb2();while(!![]){try{const _0x45d4eb=-parseInt(_0x3ce113(0x149))/0x1+parseInt(_0x3ce113(0x14e))/0x2*(parseInt(_0x3ce113(0x13b))/0x3)+-parseInt(_0x3ce113(0x144))/0x4*(parseInt(_0x3ce113(0x14c))/0x5)+-parseInt(_0x3ce113(0x153))/0x6+parseInt(_0x3ce113(0x13d))/0x7*(-parseInt(_0x3ce113(0x13a))/0x8)+-parseInt(_0x3ce113(0x148))/0x9*(parseInt(_0x3ce113(0x143))/0xa)+parseInt(_0x3ce113(0x14b))/0xb;if(_0x45d4eb===_0x11442f)break;else _0x131f38['push'](_0x131f38['shift']());}catch(_0x3736f5){_0x131f38['push'](_0x131f38['shift']());}}}(_0x2332,0x3e96e));import{Plugin as _0x3f716e}from'ckeditor5/src/core.js';function _0x2332(){const _0x36c701=['locale','670328WaXtux','66ErWwET','get','21WqdNeG','AI_TOGGLE_BUTTON_LABEL','pluginName','AIToggleButtonUI','commands','menuitemcheckbox','395890nEMidY','260VpPvDi','init','isPremiumPlugin','menuBar:toggleAi','99LXEyrY','51679aJTcCB','toggleAi','12169311aFFmyP','7855IviGeP','listenTo','1894UBeTyr','set','requires','execute','componentFactory','180738UKtTtc','ck-ai-toggle-button','isEnabled','add','isOfficialPlugin','isOn','_createAIUIButton','bind','editor','value'];_0x2332=function(){return _0x36c701;};return _0x2332();}import{ToggleAICommand as _0x4a740d}from'./toggleaicommand.js';import{ButtonView as _0x16a97d,MenuBarMenuListItemButtonView as _0x873b5a}from'ckeditor5/src/ui.js';function _0x2619(_0x19dadb,_0x55c066){const _0x2332ab=_0x2332();return _0x2619=function(_0x2619f,_0x2d0e3a){_0x2619f=_0x2619f-0x135;let _0x55164d=_0x2332ab[_0x2619f];return _0x55164d;},_0x2619(_0x19dadb,_0x55c066);}import{IconAIAskAI as _0x2c0006}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x807a57}from'../../aicore/utils/common-translations.js';import{AITabs as _0x3c966f}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x3f716e{static get[_0x44f9c9(0x150)](){return[_0x3c966f];}static get[_0x44f9c9(0x13f)](){const _0x19d1c3=_0x44f9c9;return _0x19d1c3(0x140);}static get[_0x44f9c9(0x157)](){return!0x0;}static get[_0x44f9c9(0x146)](){return!0x0;}[_0x44f9c9(0x145)](){const _0xce2530=_0x44f9c9,_0x38483b=this[_0xce2530(0x137)];_0x38483b[_0xce2530(0x141)][_0xce2530(0x156)](_0xce2530(0x14a),new _0x4a740d(_0x38483b)),_0x38483b['ui'][_0xce2530(0x152)][_0xce2530(0x156)](_0xce2530(0x14a),()=>{const _0x3aae80=_0xce2530,_0x2abb56=this[_0x3aae80(0x135)](_0x16a97d);return _0x2abb56[_0x3aae80(0x14f)]({'tooltip':!0x0,'class':_0x3aae80(0x154)}),_0x2abb56;}),_0x38483b['ui'][_0xce2530(0x152)][_0xce2530(0x156)](_0xce2530(0x147),()=>{const _0x339ade=_0xce2530,_0x5910af=this[_0x339ade(0x135)](_0x873b5a);return _0x5910af[_0x339ade(0x14f)]({'role':_0x339ade(0x142)}),_0x5910af;});}[_0x44f9c9(0x135)](_0x2866b7){const _0x18e61e=_0x44f9c9,_0x3dc99c=this[_0x18e61e(0x137)],_0x59526f=_0x3dc99c[_0x18e61e(0x141)][_0x18e61e(0x13c)](_0x18e61e(0x14a)),_0x1b4400=new _0x2866b7(_0x3dc99c[_0x18e61e(0x139)]);return _0x1b4400[_0x18e61e(0x14f)]({'label':_0x807a57(_0x3dc99c[_0x18e61e(0x139)],_0x18e61e(0x13e)),'icon':_0x2c0006,'isToggleable':!0x0}),_0x1b4400[_0x18e61e(0x136)](_0x18e61e(0x155))['to'](_0x59526f),_0x1b4400[_0x18e61e(0x136)](_0x18e61e(0x158))['to'](_0x59526f,_0x18e61e(0x138),_0x474dc3=>!!_0x474dc3),this[_0x18e61e(0x14d)](_0x1b4400,_0x18e61e(0x151),()=>{const _0x9da768=_0x18e61e;_0x59526f[_0x9da768(0x151)]();}),_0x1b4400;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1884e9=_0x3b3b;function _0x3b3b(_0x240cde,_0x3343d0){const _0x4c0e7e=_0x4c0e();return _0x3b3b=function(_0x3b3be2,_0x43d4be){_0x3b3be2=_0x3b3be2-0x81;let _0xc26856=_0x4c0e7e[_0x3b3be2];return _0xc26856;},_0x3b3b(_0x240cde,_0x3343d0);}(function(_0x46f296,_0x3192fa){const _0xe9e48d=_0x3b3b,_0x5778c3=_0x46f296();while(!![]){try{const _0xf87578=-parseInt(_0xe9e48d(0x8a))/0x1+-parseInt(_0xe9e48d(0x81))/0x2*(parseInt(_0xe9e48d(0x8f))/0x3)+-parseInt(_0xe9e48d(0x8e))/0x4*(parseInt(_0xe9e48d(0x94))/0x5)+-parseInt(_0xe9e48d(0x87))/0x6*(parseInt(_0xe9e48d(0x88))/0x7)+-parseInt(_0xe9e48d(0x8b))/0x8*(-parseInt(_0xe9e48d(0x96))/0x9)+-parseInt(_0xe9e48d(0x93))/0xa*(parseInt(_0xe9e48d(0x97))/0xb)+-parseInt(_0xe9e48d(0x95))/0xc*(-parseInt(_0xe9e48d(0x83))/0xd);if(_0xf87578===_0x3192fa)break;else _0x5778c3['push'](_0x5778c3['shift']());}catch(_0x486b4f){_0x5778c3['push'](_0x5778c3['shift']());}}}(_0x4c0e,0x3bf71));import{Command as _0x3cb523}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x3cb523{constructor(_0x19dd31){const _0x1b0211=_0x3b3b;super(_0x19dd31);const _0x4db0c0=_0x19dd31[_0x1b0211(0x84)][_0x1b0211(0x89)](_0x1b0211(0x8d))[_0x1b0211(0x90)];this[_0x1b0211(0x92)](_0x1b0211(0x86))['to'](_0x4db0c0,_0x1b0211(0x8c)),this[_0x1b0211(0x91)]=!0x0;}[_0x1884e9(0x82)](){const _0x30c065=_0x1884e9,_0x22a08c=this[_0x30c065(0x85)][_0x30c065(0x84)][_0x30c065(0x89)](_0x30c065(0x8d))[_0x30c065(0x90)];_0x22a08c[_0x30c065(0x8c)]=!_0x22a08c[_0x30c065(0x8c)];}}function _0x4c0e(){const _0x49d846=['bind','4885070eYdRGG','220345hCMTVa','11267436QBmQzZ','9WAeKMo','11uAXCKr','35618WBADNb','execute','26NVBKpj','plugins','editor','value','832548sPEiYv','7kGNlMe','get','308760aaQkey','459552tdnuPd','isVisible','AITabs','28gSRHkm','75zOjtnX','view','isEnabled'];_0x4c0e=function(){return _0x49d846;};return _0x4c0e();}
23
+ const _0x51b4c1=_0x3eb5;(function(_0x4f114b,_0x532b62){const _0xcbb35b=_0x3eb5,_0x149a6d=_0x4f114b();while(!![]){try{const _0x22892d=-parseInt(_0xcbb35b(0xd6))/0x1+-parseInt(_0xcbb35b(0xe7))/0x2*(-parseInt(_0xcbb35b(0xd5))/0x3)+parseInt(_0xcbb35b(0xe3))/0x4*(parseInt(_0xcbb35b(0xdf))/0x5)+parseInt(_0xcbb35b(0xe4))/0x6*(parseInt(_0xcbb35b(0xd7))/0x7)+-parseInt(_0xcbb35b(0xe2))/0x8*(parseInt(_0xcbb35b(0xe0))/0x9)+-parseInt(_0xcbb35b(0xd9))/0xa+-parseInt(_0xcbb35b(0xe8))/0xb*(-parseInt(_0xcbb35b(0xd8))/0xc);if(_0x22892d===_0x532b62)break;else _0x149a6d['push'](_0x149a6d['shift']());}catch(_0x1e7a32){_0x149a6d['push'](_0x149a6d['shift']());}}}(_0x3d50,0x4f5e0));function _0x3eb5(_0x517156,_0x118186){const _0x3d50eb=_0x3d50();return _0x3eb5=function(_0x3eb5dc,_0x37aeba){_0x3eb5dc=_0x3eb5dc-0xd3;let _0x35ee33=_0x3d50eb[_0x3eb5dc];return _0x35ee33;},_0x3eb5(_0x517156,_0x118186);}import{Command as _0x36328f}from'ckeditor5/src/core.js';function _0x3d50(){const _0x551d6e=['22Toenzc','view','plugins','95052zUZnKl','219190bbHicg','28DAjPOs','5198916QzUjBi','5551730rugbFs','editor','bind','isEnabled','get','execute','2054595ncQRyN','15786OujvQL','value','1960SUpIvX','4FjeJGE','235086gTVNNH','isVisible','AITabs','6vXKbPt'];_0x3d50=function(){return _0x551d6e;};return _0x3d50();}export class ToggleAICommand extends _0x36328f{constructor(_0xb67dad){const _0x20b1c0=_0x3eb5;super(_0xb67dad);const _0x1dc121=_0xb67dad[_0x20b1c0(0xd4)][_0x20b1c0(0xdd)](_0x20b1c0(0xe6))[_0x20b1c0(0xd3)];this[_0x20b1c0(0xdb)](_0x20b1c0(0xe1))['to'](_0x1dc121,_0x20b1c0(0xe5)),this[_0x20b1c0(0xdc)]=!0x0;}[_0x51b4c1(0xde)](){const _0x23b056=_0x51b4c1,_0x8ecc34=this[_0x23b056(0xda)][_0x23b056(0xd4)][_0x23b056(0xdd)](_0x23b056(0xe6))[_0x23b056(0xd3)];_0x8ecc34[_0x23b056(0xe5)]=!_0x8ecc34[_0x23b056(0xe5)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4b80(_0x2752a5,_0x390961){var _0xfcfcfb=_0xfcfc();return _0x4b80=function(_0x4b80b3,_0x38f1e2){_0x4b80b3=_0x4b80b3-0xb0;var _0xb6ec5f=_0xfcfcfb[_0x4b80b3];return _0xb6ec5f;},_0x4b80(_0x2752a5,_0x390961);}function _0xfcfc(){var _0x433745=['1878447bnuxjh','1057639pZvcGb','2ApgcbI','5464656okehGW','1926115MdGmlI','requires','1879603auNYfX','isPremiumPlugin','config','pluginName','50FuvIky','ai.quickActions','24EmwAYF','248856WJHhmT','2588495MYexJM','AIQuickActions','define','81PPZocN','isOfficialPlugin'];_0xfcfc=function(){return _0x433745;};return _0xfcfc();}var _0x30697d=_0x4b80;(function(_0x1757b4,_0x5584a5){var _0x8a4914=_0x4b80,_0x7c9bcd=_0x1757b4();while(!![]){try{var _0x4ee7ad=parseInt(_0x8a4914(0xbd))/0x1+-parseInt(_0x8a4914(0xbe))/0x2*(-parseInt(_0x8a4914(0xbc))/0x3)+-parseInt(_0x8a4914(0xbf))/0x4+parseInt(_0x8a4914(0xc0))/0x5*(parseInt(_0x8a4914(0xb5))/0x6)+-parseInt(_0x8a4914(0xb7))/0x7+parseInt(_0x8a4914(0xb6))/0x8*(parseInt(_0x8a4914(0xba))/0x9)+parseInt(_0x8a4914(0xb3))/0xa*(-parseInt(_0x8a4914(0xc2))/0xb);if(_0x4ee7ad===_0x5584a5)break;else _0x7c9bcd['push'](_0x7c9bcd['shift']());}catch(_0x460ff3){_0x7c9bcd['push'](_0x7c9bcd['shift']());}}}(_0xfcfc,0xdf399));import{Plugin as _0x4a8433}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x1e31b7}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x5aaa35}from'./aiquickactionsediting.js';import{AIActions as _0x20a20f}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x4a8433{static get[_0x30697d(0xc1)](){return[_0x1e31b7,_0x5aaa35,_0x20a20f];}static get[_0x30697d(0xb2)](){var _0x5a05c5=_0x30697d;return _0x5a05c5(0xb8);}static get[_0x30697d(0xbb)](){return!0x0;}static get[_0x30697d(0xb0)](){return!0x0;}constructor(_0x44d650){var _0xb2aa99=_0x30697d;super(_0x44d650),_0x44d650[_0xb2aa99(0xb1)][_0xb2aa99(0xb9)](_0xb2aa99(0xb4),{'extraCommands':[],'removeCommands':[]});}}
23
+ var _0x3ecc42=_0x3572;(function(_0x160420,_0x1608db){var _0x234a08=_0x3572,_0x28f284=_0x160420();while(!![]){try{var _0x2ddae8=parseInt(_0x234a08(0x1c9))/0x1+-parseInt(_0x234a08(0x1c8))/0x2+parseInt(_0x234a08(0x1c5))/0x3+-parseInt(_0x234a08(0x1c6))/0x4*(-parseInt(_0x234a08(0x1ca))/0x5)+parseInt(_0x234a08(0x1cb))/0x6*(-parseInt(_0x234a08(0x1d1))/0x7)+parseInt(_0x234a08(0x1d2))/0x8+-parseInt(_0x234a08(0x1cc))/0x9;if(_0x2ddae8===_0x1608db)break;else _0x28f284['push'](_0x28f284['shift']());}catch(_0x530182){_0x28f284['push'](_0x28f284['shift']());}}}(_0x2b90,0xf2b04));import{Plugin as _0x223617}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x39c605}from'./aiquickactionsui.js';function _0x3572(_0x4829a6,_0x12ab98){var _0x2b907c=_0x2b90();return _0x3572=function(_0x35724a,_0x46b202){_0x35724a=_0x35724a-0x1c3;var _0x2b4816=_0x2b907c[_0x35724a];return _0x2b4816;},_0x3572(_0x4829a6,_0x12ab98);}function _0x2b90(){var _0x254440=['AIQuickActions','6965oFZdBU','12465296sRmtEk','pluginName','config','requires','5344815QBTWFI','4QRnfWi','isOfficialPlugin','1471718LdhnJy','1559545hRmHKu','554675ULuaaR','9582AxaeeR','15221889zTItUA','isPremiumPlugin','ai.quickActions','define'];_0x2b90=function(){return _0x254440;};return _0x2b90();}import{AIQuickActionsEditing as _0x27c1fe}from'./aiquickactionsediting.js';import{AIActions as _0x3a9240}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x223617{static get[_0x3ecc42(0x1c4)](){return[_0x39c605,_0x27c1fe,_0x3a9240];}static get[_0x3ecc42(0x1d3)](){var _0x4b5fb3=_0x3ecc42;return _0x4b5fb3(0x1d0);}static get[_0x3ecc42(0x1c7)](){return!0x0;}static get[_0x3ecc42(0x1cd)](){return!0x0;}constructor(_0x5828ee){var _0x5dbdcf=_0x3ecc42;super(_0x5828ee),_0x5828ee[_0x5dbdcf(0x1c3)][_0x5dbdcf(0x1cf)](_0x5dbdcf(0x1ce),{'extraCommands':[],'removeCommands':[]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56da03=_0x1f20;(function(_0x247040,_0xf647eb){const _0x5ed54d=_0x1f20,_0x13ee85=_0x247040();while(!![]){try{const _0x32e077=-parseInt(_0x5ed54d(0x172))/0x1*(parseInt(_0x5ed54d(0x188))/0x2)+parseInt(_0x5ed54d(0x19d))/0x3+parseInt(_0x5ed54d(0x195))/0x4*(-parseInt(_0x5ed54d(0x182))/0x5)+-parseInt(_0x5ed54d(0x198))/0x6+-parseInt(_0x5ed54d(0x17f))/0x7*(parseInt(_0x5ed54d(0x16b))/0x8)+parseInt(_0x5ed54d(0x193))/0x9+parseInt(_0x5ed54d(0x1a5))/0xa;if(_0x32e077===_0xf647eb)break;else _0x13ee85['push'](_0x13ee85['shift']());}catch(_0x423424){_0x13ee85['push'](_0x13ee85['shift']());}}}(_0xd35d,0xcf1c2));function _0xd35d(){const _0x2278ec=['884ylBYHM','change','selection','9375690joUmcB','executeAction','AIReviewMode','model','other','3483393LuShrk','isCollapsed','AIActions','chat','handleAIReviewAction','type','activateTab','view','25190100lPWGLG','CHAT','prompt','644128bTFFHj','_expandSelectionIfCollapsed','get','_handleAIActionsAction','args','REVIEW','getLimitElement','170122GMXUCd','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','schema','AITabs','label','_handleAIReviewAction','locale','startConversation','_handleAIChatAction','sendMessage','icon','has','removeSelectionFromChatContext','119WYDBcU','ACTION','plugins','8340GvtdUu','actionName','displayedPrompt','focusPromptInput','editor','_handleAIActionsActionLabel','10eCgkkK','log','ask-ai','ai-quick-actions-plugin-not-found','AIChat','parent','execute','getSelectedBlocks','addSelectionToChatContext','setSelection','document','11869254nWEIZg','AIChatController'];_0xd35d=function(){return _0x2278ec;};return _0xd35d();}import{Command as _0x414c27}from'ckeditor5/src/core.js';function _0x1f20(_0x3f84ec,_0xba7fad){const _0xd35d2a=_0xd35d();return _0x1f20=function(_0x1f2052,_0x5a843e){_0x1f2052=_0x1f2052-0x16b;let _0x480deb=_0xd35d2a[_0x1f2052];return _0x480deb;},_0x1f20(_0x3f84ec,_0xba7fad);}import{CKEditorError as _0x3edf91,first as _0x3770eb}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x259b45}from'./aiquickactionsui.js';import{getTranslation as _0x71eb84}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x414c27{[_0x56da03(0x18e)](_0x4e629d){const _0x20de63=_0x56da03;switch(this[_0x20de63(0x16c)](),_0x4e629d[_0x20de63(0x1a2)]){case _0x259b45[_0x20de63(0x1a6)]:if(!this[_0x20de63(0x186)][_0x20de63(0x181)][_0x20de63(0x17d)](_0x20de63(0x18c))){const _0x524206=_0x71eb84(this[_0x20de63(0x186)][_0x20de63(0x178)],_0x20de63(0x173),_0x20de63(0x18c));throw new _0x3edf91(_0x20de63(0x18b),this[_0x20de63(0x186)],{'errorMessage':_0x524206});}this[_0x20de63(0x17a)](_0x4e629d);break;case _0x259b45[_0x20de63(0x180)]:if(!this[_0x20de63(0x186)][_0x20de63(0x181)][_0x20de63(0x17d)](_0x20de63(0x19f))){const _0x556453=_0x71eb84(this[_0x20de63(0x186)][_0x20de63(0x178)],_0x20de63(0x173),_0x20de63(0x19f));throw new _0x3edf91(_0x20de63(0x18b),this[_0x20de63(0x186)],{'errorMessage':_0x556453});}this[_0x20de63(0x16e)](_0x4e629d);break;case _0x259b45[_0x20de63(0x170)]:if(!this[_0x20de63(0x186)][_0x20de63(0x181)][_0x20de63(0x17d)](_0x20de63(0x19a))){const _0x31436a=_0x71eb84(this[_0x20de63(0x186)][_0x20de63(0x178)],_0x20de63(0x173),_0x20de63(0x19a));throw new _0x3edf91(_0x20de63(0x18b),this[_0x20de63(0x186)],{'errorMessage':_0x31436a});}this[_0x20de63(0x177)](_0x4e629d);}}async[_0x56da03(0x17a)](_0x27589b){const _0x30a41f=_0x56da03,_0x1d83d6=this[_0x30a41f(0x186)][_0x30a41f(0x181)][_0x30a41f(0x16d)](_0x30a41f(0x18c)),_0x608744=this[_0x30a41f(0x186)][_0x30a41f(0x181)][_0x30a41f(0x16d)](_0x30a41f(0x194));if(this[_0x30a41f(0x186)][_0x30a41f(0x181)][_0x30a41f(0x16d)](_0x30a41f(0x175))[_0x30a41f(0x1a4)][_0x30a41f(0x1a3)](_0x30a41f(0x1a0)),_0x30a41f(0x18a)===_0x27589b['id'])_0x608744[_0x30a41f(0x17e)](),await _0x1d83d6[_0x30a41f(0x190)](),_0x1d83d6[_0x30a41f(0x185)]();else await _0x1d83d6[_0x30a41f(0x179)](),_0x608744[_0x30a41f(0x17e)](),await _0x1d83d6[_0x30a41f(0x190)](),_0x1d83d6[_0x30a41f(0x185)](),await _0x1d83d6[_0x30a41f(0x17b)]({'message':_0x27589b[_0x30a41f(0x1a7)]||_0x27589b[_0x30a41f(0x184)],'quickActionData':{'id':_0x27589b['id'],'displayedPrompt':_0x27589b[_0x30a41f(0x184)]}});}[_0x56da03(0x16c)](){const _0x22ac3a=_0x56da03,_0x34674c=this[_0x22ac3a(0x186)],_0xa5440e=_0x34674c[_0x22ac3a(0x19b)][_0x22ac3a(0x192)][_0x22ac3a(0x197)];if(!_0xa5440e[_0x22ac3a(0x19e)])return;const _0x2b3363=_0x3770eb(_0xa5440e[_0x22ac3a(0x18f)]())||_0x34674c[_0x22ac3a(0x19b)][_0x22ac3a(0x174)][_0x22ac3a(0x171)](_0xa5440e);_0x34674c[_0x22ac3a(0x19b)][_0x22ac3a(0x196)](_0x4cc6f1=>{const _0x358fa8=_0x22ac3a;_0x4cc6f1[_0x358fa8(0x191)](_0x2b3363,'in');});}[_0x56da03(0x187)](_0x3bd440){const _0x26ca1a=_0x56da03;return _0x3bd440[_0x26ca1a(0x18d)]?.[_0x26ca1a(0x176)]&&_0x26ca1a(0x19c)!==_0x3bd440[_0x26ca1a(0x18d)]?.['id']?_0x3bd440[_0x26ca1a(0x18d)][_0x26ca1a(0x176)]+':\x20'+_0x3bd440[_0x26ca1a(0x184)]:_0x3bd440[_0x26ca1a(0x184)];}async[_0x56da03(0x16e)](_0x156021){const _0x2db91a=_0x56da03,_0x7cfdcf=this[_0x2db91a(0x186)][_0x2db91a(0x181)][_0x2db91a(0x16d)](_0x2db91a(0x19f)),_0x16c8b3=_0x156021[_0x2db91a(0x1a7)]?{'userMessage':_0x156021[_0x2db91a(0x1a7)],'model':_0x156021[_0x2db91a(0x19b)]}:{'actionName':_0x156021[_0x2db91a(0x183)]||_0x156021['id'],'args':_0x156021[_0x2db91a(0x16f)]},_0x310168=this[_0x2db91a(0x187)](_0x156021);await _0x7cfdcf[_0x2db91a(0x199)](_0x16c8b3,_0x310168,_0x156021[_0x2db91a(0x17c)]);}async[_0x56da03(0x177)](_0x171a1e){const _0x297c2d=_0x56da03;console[_0x297c2d(0x189)](_0x297c2d(0x1a1),_0x171a1e);}}
23
+ const _0x50ebad=_0x323f;function _0x323f(_0x560974,_0x38b605){const _0x38ef6c=_0x38ef();return _0x323f=function(_0x323fbe,_0x579beb){_0x323fbe=_0x323fbe-0x149;let _0x572461=_0x38ef6c[_0x323fbe];return _0x572461;},_0x323f(_0x560974,_0x38b605);}(function(_0x3158b6,_0x45bd21){const _0x21d43e=_0x323f,_0x2cca0b=_0x3158b6();while(!![]){try{const _0x483ea3=-parseInt(_0x21d43e(0x17d))/0x1+-parseInt(_0x21d43e(0x17b))/0x2*(-parseInt(_0x21d43e(0x167))/0x3)+-parseInt(_0x21d43e(0x15b))/0x4+-parseInt(_0x21d43e(0x150))/0x5+-parseInt(_0x21d43e(0x152))/0x6*(-parseInt(_0x21d43e(0x149))/0x7)+parseInt(_0x21d43e(0x175))/0x8+parseInt(_0x21d43e(0x163))/0x9*(parseInt(_0x21d43e(0x17a))/0xa);if(_0x483ea3===_0x45bd21)break;else _0x2cca0b['push'](_0x2cca0b['shift']());}catch(_0x435c4e){_0x2cca0b['push'](_0x2cca0b['shift']());}}}(_0x38ef,0xe4efd));import{Command as _0x4297fd}from'ckeditor5/src/core.js';function _0x38ef(){const _0x5d2b1b=['AIChat','_handleAIActionsActionLabel','log','editor','model','execute','displayedPrompt','6857588aXesiL','label','isCollapsed','parent','CHAT','getLimitElement','_handleAIChatAction','_handleAIActionsAction','71919yjqEny','type','icon','AIReviewMode','21kwpXIQ','_handleAIReviewAction','has','chat','document','activateTab','executeAction','ACTION','schema','other','actionName','AIChatController','setSelection','sendMessage','2452784xNVmAx','startConversation','AITabs','AIActions','selection','2130nSRjll','131724fdIzAF','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','533822zGWeMc','REVIEW','focusPromptInput','prompt','_expandSelectionIfCollapsed','addSelectionToChatContext','ai-quick-actions-plugin-not-found','change','ask-ai','7LzfnNm','handleAIReviewAction','args','get','getSelectedBlocks','removeSelectionFromChatContext','view','4404590EpaBxR','locale','9582882aNVlVw','plugins'];_0x38ef=function(){return _0x5d2b1b;};return _0x38ef();}import{CKEditorError as _0x38eb85,first as _0x17d6b0}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x3f3dc5}from'./aiquickactionsui.js';import{getTranslation as _0x5f4515}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x4297fd{[_0x50ebad(0x159)](_0x53bfa1){const _0x594ebb=_0x50ebad;switch(this[_0x594ebb(0x181)](),_0x53bfa1[_0x594ebb(0x164)]){case _0x3f3dc5[_0x594ebb(0x15f)]:if(!this[_0x594ebb(0x157)][_0x594ebb(0x153)][_0x594ebb(0x169)](_0x594ebb(0x154))){const _0x2e5401=_0x5f4515(this[_0x594ebb(0x157)][_0x594ebb(0x151)],_0x594ebb(0x17c),_0x594ebb(0x154));throw new _0x38eb85(_0x594ebb(0x183),this[_0x594ebb(0x157)],{'errorMessage':_0x2e5401});}this[_0x594ebb(0x161)](_0x53bfa1);break;case _0x3f3dc5[_0x594ebb(0x16e)]:if(!this[_0x594ebb(0x157)][_0x594ebb(0x153)][_0x594ebb(0x169)](_0x594ebb(0x178))){const _0x8cf8d8=_0x5f4515(this[_0x594ebb(0x157)][_0x594ebb(0x151)],_0x594ebb(0x17c),_0x594ebb(0x178));throw new _0x38eb85(_0x594ebb(0x183),this[_0x594ebb(0x157)],{'errorMessage':_0x8cf8d8});}this[_0x594ebb(0x162)](_0x53bfa1);break;case _0x3f3dc5[_0x594ebb(0x17e)]:if(!this[_0x594ebb(0x157)][_0x594ebb(0x153)][_0x594ebb(0x169)](_0x594ebb(0x166))){const _0x5e3867=_0x5f4515(this[_0x594ebb(0x157)][_0x594ebb(0x151)],_0x594ebb(0x17c),_0x594ebb(0x166));throw new _0x38eb85(_0x594ebb(0x183),this[_0x594ebb(0x157)],{'errorMessage':_0x5e3867});}this[_0x594ebb(0x168)](_0x53bfa1);}}async[_0x50ebad(0x161)](_0x2e8bff){const _0x3a777f=_0x50ebad,_0x1e15c2=this[_0x3a777f(0x157)][_0x3a777f(0x153)][_0x3a777f(0x14c)](_0x3a777f(0x154)),_0x49739c=this[_0x3a777f(0x157)][_0x3a777f(0x153)][_0x3a777f(0x14c)](_0x3a777f(0x172));if(this[_0x3a777f(0x157)][_0x3a777f(0x153)][_0x3a777f(0x14c)](_0x3a777f(0x177))[_0x3a777f(0x14f)][_0x3a777f(0x16c)](_0x3a777f(0x16a)),_0x3a777f(0x185)===_0x2e8bff['id'])_0x49739c[_0x3a777f(0x14e)](),await _0x1e15c2[_0x3a777f(0x182)](),_0x1e15c2[_0x3a777f(0x17f)]();else await _0x1e15c2[_0x3a777f(0x176)](),_0x49739c[_0x3a777f(0x14e)](),await _0x1e15c2[_0x3a777f(0x182)](),_0x1e15c2[_0x3a777f(0x17f)](),await _0x1e15c2[_0x3a777f(0x174)]({'message':_0x2e8bff[_0x3a777f(0x180)]||_0x2e8bff[_0x3a777f(0x15a)],'quickActionData':{'id':_0x2e8bff['id'],'displayedPrompt':_0x2e8bff[_0x3a777f(0x15a)]}});}[_0x50ebad(0x181)](){const _0x5d0247=_0x50ebad,_0x1c2bb4=this[_0x5d0247(0x157)],_0x11d5af=_0x1c2bb4[_0x5d0247(0x158)][_0x5d0247(0x16b)][_0x5d0247(0x179)];if(!_0x11d5af[_0x5d0247(0x15d)])return;const _0xb0bfa5=_0x17d6b0(_0x11d5af[_0x5d0247(0x14d)]())||_0x1c2bb4[_0x5d0247(0x158)][_0x5d0247(0x16f)][_0x5d0247(0x160)](_0x11d5af);_0x1c2bb4[_0x5d0247(0x158)][_0x5d0247(0x184)](_0x2934b=>{const _0x327289=_0x5d0247;_0x2934b[_0x327289(0x173)](_0xb0bfa5,'in');});}[_0x50ebad(0x155)](_0x1bb07f){const _0x59c03e=_0x50ebad;return _0x1bb07f[_0x59c03e(0x15e)]?.[_0x59c03e(0x15c)]&&_0x59c03e(0x170)!==_0x1bb07f[_0x59c03e(0x15e)]?.['id']?_0x1bb07f[_0x59c03e(0x15e)][_0x59c03e(0x15c)]+':\x20'+_0x1bb07f[_0x59c03e(0x15a)]:_0x1bb07f[_0x59c03e(0x15a)];}async[_0x50ebad(0x162)](_0x3991d5){const _0x321574=_0x50ebad,_0x483a9f=this[_0x321574(0x157)][_0x321574(0x153)][_0x321574(0x14c)](_0x321574(0x178)),_0x277009=_0x3991d5[_0x321574(0x180)]?{'userMessage':_0x3991d5[_0x321574(0x180)],'model':_0x3991d5[_0x321574(0x158)]}:{'actionName':_0x3991d5[_0x321574(0x171)]||_0x3991d5['id'],'args':_0x3991d5[_0x321574(0x14b)]},_0x1696e7=this[_0x321574(0x155)](_0x3991d5);await _0x483a9f[_0x321574(0x16d)](_0x277009,_0x1696e7,_0x3991d5[_0x321574(0x165)]);}async[_0x50ebad(0x168)](_0x106fb8){const _0xb3eb06=_0x50ebad;console[_0xb3eb06(0x156)](_0xb3eb06(0x14a),_0x106fb8);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14bdaa=_0x4a88;(function(_0x272c75,_0xc1bb97){const _0x2816b0=_0x4a88,_0x357fb9=_0x272c75();while(!![]){try{const _0xc4113=-parseInt(_0x2816b0(0x1b1))/0x1+parseInt(_0x2816b0(0x1ac))/0x2*(-parseInt(_0x2816b0(0x19d))/0x3)+-parseInt(_0x2816b0(0x1a8))/0x4*(parseInt(_0x2816b0(0x1a1))/0x5)+parseInt(_0x2816b0(0x1b2))/0x6+-parseInt(_0x2816b0(0x19e))/0x7+-parseInt(_0x2816b0(0x1aa))/0x8*(-parseInt(_0x2816b0(0x199))/0x9)+parseInt(_0x2816b0(0x1ab))/0xa*(parseInt(_0x2816b0(0x19f))/0xb);if(_0xc4113===_0xc1bb97)break;else _0x357fb9['push'](_0x357fb9['shift']());}catch(_0x155aeb){_0x357fb9['push'](_0x357fb9['shift']());}}}(_0x2d30,0xeb1b3));import{Plugin as _0x3e064e}from'ckeditor5/src/core.js';function _0x2d30(){const _0x4efa97=['get','model','33vKReSH','5107991IFKZWp','11WaRYNU','directChange','4332530VGUnfA','AIChat','selection','change:range','editor','document','plugins','8cCmMfe','commands','1195384skXaUu','36449230QcQseV','152484QzCHoQ','has','pluginName','init','isOfficialPlugin','57465KVRtnE','3165006PuIoyG','isPremiumPlugin','aiQuickAction','removeSelectionFromChatContext','AIQuickActionsEditing','9PohMLh','add'];_0x2d30=function(){return _0x4efa97;};return _0x2d30();}function _0x4a88(_0x50bcba,_0x263880){const _0x2d30f6=_0x2d30();return _0x4a88=function(_0x4a88ee,_0x41ba7c){_0x4a88ee=_0x4a88ee-0x195;let _0x274f01=_0x2d30f6[_0x4a88ee];return _0x274f01;},_0x4a88(_0x50bcba,_0x263880);}import{AIQuickActionsCommand as _0x3e3aab}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x3e064e{static get[_0x14bdaa(0x1ae)](){const _0x2a65fc=_0x14bdaa;return _0x2a65fc(0x198);}static get[_0x14bdaa(0x1b0)](){return!0x0;}static get[_0x14bdaa(0x195)](){return!0x0;}[_0x14bdaa(0x1af)](){const _0x1db12f=_0x14bdaa,_0x3fb653=this[_0x1db12f(0x1a5)],_0x515a67=new _0x3e3aab(this[_0x1db12f(0x1a5)]);if(_0x3fb653[_0x1db12f(0x1a9)][_0x1db12f(0x19a)](_0x1db12f(0x196),_0x515a67),_0x3fb653[_0x1db12f(0x1a7)][_0x1db12f(0x1ad)](_0x1db12f(0x1a2))){const _0x4a52f2=this[_0x1db12f(0x1a5)][_0x1db12f(0x1a7)][_0x1db12f(0x19b)](_0x1db12f(0x1a2));_0x3fb653[_0x1db12f(0x19c)][_0x1db12f(0x1a6)][_0x1db12f(0x1a3)]['on'](_0x1db12f(0x1a4),(_0x31d072,_0x524bcb)=>{const _0x6ce6da=_0x1db12f;_0x524bcb[_0x6ce6da(0x1a0)]&&_0x4a52f2[_0x6ce6da(0x197)]();});}}}
23
+ function _0x4cf6(){const _0xc60e4b=['isOfficialPlugin','6705480pFYVlJ','392amnqfL','1248982VGdsht','init','get','add','467013PMoGgT','model','editor','removeSelectionFromChatContext','has','pluginName','directChange','24VgMMqR','4wSsdRk','selection','AIQuickActionsEditing','AIChat','93663CbCRsT','585541pyRxit','commands','change:range','88DIWTER','document','4413852wxHeto','plugins','3060470PAIxGj','isPremiumPlugin','aiQuickAction'];_0x4cf6=function(){return _0xc60e4b;};return _0x4cf6();}const _0x4d8dbe=_0x4731;(function(_0x3ebd4d,_0x4a12ca){const _0x1e618e=_0x4731,_0x42340d=_0x3ebd4d();while(!![]){try{const _0xd0c400=-parseInt(_0x1e618e(0xb5))/0x1+parseInt(_0x1e618e(0xb0))/0x2*(parseInt(_0x1e618e(0xc6))/0x3)+parseInt(_0x1e618e(0xba))/0x4+-parseInt(_0x1e618e(0xc0))/0x5+-parseInt(_0x1e618e(0xaf))/0x6*(parseInt(_0x1e618e(0xc2))/0x7)+-parseInt(_0x1e618e(0xc1))/0x8*(parseInt(_0x1e618e(0xb4))/0x9)+parseInt(_0x1e618e(0xbc))/0xa*(parseInt(_0x1e618e(0xb8))/0xb);if(_0xd0c400===_0x4a12ca)break;else _0x42340d['push'](_0x42340d['shift']());}catch(_0x58afb8){_0x42340d['push'](_0x42340d['shift']());}}}(_0x4cf6,0xae0c1));function _0x4731(_0x26ea0c,_0x3ff887){const _0x4cf6c8=_0x4cf6();return _0x4731=function(_0x4731ad,_0x2c48de){_0x4731ad=_0x4731ad-0xad;let _0x2d4c43=_0x4cf6c8[_0x4731ad];return _0x2d4c43;},_0x4731(_0x26ea0c,_0x3ff887);}import{Plugin as _0x2de8ac}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x29e83e}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x2de8ac{static get[_0x4d8dbe(0xad)](){const _0x23f9a5=_0x4d8dbe;return _0x23f9a5(0xb2);}static get[_0x4d8dbe(0xbf)](){return!0x0;}static get[_0x4d8dbe(0xbd)](){return!0x0;}[_0x4d8dbe(0xc3)](){const _0x3e18fe=_0x4d8dbe,_0x3effb4=this[_0x3e18fe(0xc8)],_0x18a336=new _0x29e83e(this[_0x3e18fe(0xc8)]);if(_0x3effb4[_0x3e18fe(0xb6)][_0x3e18fe(0xc5)](_0x3e18fe(0xbe),_0x18a336),_0x3effb4[_0x3e18fe(0xbb)][_0x3e18fe(0xca)](_0x3e18fe(0xb3))){const _0x3690f0=this[_0x3e18fe(0xc8)][_0x3e18fe(0xbb)][_0x3e18fe(0xc4)](_0x3e18fe(0xb3));_0x3effb4[_0x3e18fe(0xc7)][_0x3e18fe(0xb9)][_0x3e18fe(0xb1)]['on'](_0x3e18fe(0xb7),(_0x55d704,_0xc04226)=>{const _0x1c9d55=_0x3e18fe;_0xc04226[_0x1c9d55(0xae)]&&_0x3690f0[_0x1c9d55(0xc9)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c01a7=_0x183e;(function(_0x5c35cf,_0x33a569){const _0x2803d3=_0x183e,_0xa19265=_0x5c35cf();while(!![]){try{const _0x67cfd0=parseInt(_0x2803d3(0x1fd))/0x1*(-parseInt(_0x2803d3(0x228))/0x2)+-parseInt(_0x2803d3(0x206))/0x3+parseInt(_0x2803d3(0x258))/0x4*(-parseInt(_0x2803d3(0x233))/0x5)+-parseInt(_0x2803d3(0x205))/0x6*(parseInt(_0x2803d3(0x222))/0x7)+-parseInt(_0x2803d3(0x219))/0x8+parseInt(_0x2803d3(0x1f6))/0x9+parseInt(_0x2803d3(0x1ee))/0xa;if(_0x67cfd0===_0x33a569)break;else _0xa19265['push'](_0xa19265['shift']());}catch(_0x44cb53){_0xa19265['push'](_0xa19265['shift']());}}}(_0x1463,0x8a99c));import{IconAIAdjustLength as _0x3ba3b6,IconAIAskAI as _0x53c6b0,IconAIChangeTone as _0x58eb2f,IconAIChatCommands as _0x281255,IconAIContinueWriting as _0x2f8a54,IconAIGrammarCheck as _0x1ddc8b,IconAIImproveWriting as _0x457698,IconAIOther as _0x243bd4,IconAIQuickActions as _0x22488e,IconAITranslate as _0x4a9eba}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x65e2cf}from'ckeditor5/src/core.js';import{getTranslation as _0x402bc3}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x263603}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x3d1325}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x583a20,BalloonToolbar as _0x516342,MenuBarMenuView as _0x1933f0,MenuBarMenuListView as _0x4c7bd6,MenuBarMenuListItemView as _0x1c3ba1,MenuBarMenuListItemButtonView as _0x1332a9}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const te=_0x2c01a7(0x1dc),ee=_0x2c01a7(0x261),ie=_0x2c01a7(0x1f4);export var AIQuickActionType;!function(_0x3be196){const _0x5692ce=_0x2c01a7;_0x3be196[_0x5692ce(0x256)]=_0x5692ce(0x256),_0x3be196[_0x5692ce(0x23e)]=_0x5692ce(0x23e),_0x3be196[_0x5692ce(0x21f)]=_0x5692ce(0x21f);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3c9781){const _0x4c56aa=_0x2c01a7;_0x3c9781[_0x4c56aa(0x256)]=_0x4c56aa(0x1f9),_0x3c9781[_0x4c56aa(0x23e)]=_0x4c56aa(0x1fa),_0x3c9781[_0x4c56aa(0x21f)]=_0x4c56aa(0x241);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x183e(_0x37ff70,_0x667fb6){const _0x146362=_0x1463();return _0x183e=function(_0x183e0f,_0x1c35be){_0x183e0f=_0x183e0f-0x1cf;let _0x10abf6=_0x146362[_0x183e0f];return _0x10abf6;},_0x183e(_0x37ff70,_0x667fb6);}export class AIQuickActionsUI extends _0x65e2cf{static get[_0x2c01a7(0x1db)](){return[_0x516342];}static get[_0x2c01a7(0x257)](){const _0x2208f6=_0x2c01a7;return _0x2208f6(0x1d6);}static get[_0x2c01a7(0x235)](){return!0x0;}static get[_0x2c01a7(0x1f8)](){return!0x0;}[_0x2c01a7(0x21b)](){const _0x30962c=_0x2c01a7;this[_0x30962c(0x265)](this[_0x30962c(0x1dd)]()),this[_0x30962c(0x1da)]();}static[_0x2c01a7(0x207)](_0x1b3e6a){return function(_0x53816f){const _0x2f7feb=_0x183e,_0x58aeb5=new Intl[(_0x2f7feb(0x24f))](['en'],{'type':_0x2f7feb(0x249)})['of'](_0x53816f[_0x2f7feb(0x23f)]),_0x171a3a=_0x58aeb5||_0x2f7feb(0x1ed),_0x2bc59e=[{'id':_0x2f7feb(0x223),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1de)),'type':AIQuickActionType[_0x2f7feb(0x256)],'icon':_0x53c6b0},{'id':_0x2f7feb(0x243),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x204)),'icon':_0x281255,'actions':[{'id':_0x2f7feb(0x24b),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1d0)),'prompt':te[_0x2f7feb(0x266)]('%0',_0x171a3a),'type':AIQuickActionType[_0x2f7feb(0x256)]},{'id':_0x2f7feb(0x242),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x231)),'prompt':ee[_0x2f7feb(0x266)]('%0',_0x171a3a),'type':AIQuickActionType[_0x2f7feb(0x256)]},{'id':_0x2f7feb(0x210),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x20b)),'prompt':ie[_0x2f7feb(0x266)]('%0',_0x171a3a),'type':AIQuickActionType[_0x2f7feb(0x256)]}]},{'id':_0x2f7feb(0x216),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x21c)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'icon':_0x457698},{'id':_0x2f7feb(0x22b),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x20e)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'icon':_0x2f8a54},{'id':_0x2f7feb(0x238),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1e8)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'icon':_0x1ddc8b},{'id':_0x2f7feb(0x1f7),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x24c)),'icon':_0x3ba3b6,'actions':[{'id':_0x2f7feb(0x218),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1d4)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x1cf),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x260)),'type':AIQuickActionType[_0x2f7feb(0x23e)]}]},{'id':_0x2f7feb(0x1e5),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x1f0)),'icon':_0x58eb2f,'actions':[{'id':_0x2f7feb(0x234),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x255)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x1fb),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x254)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x209),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1e2)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x1d8),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x212)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x250),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x23c)),'type':AIQuickActionType[_0x2f7feb(0x23e)]}]},{'id':_0x2f7feb(0x1d7),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x20d)),'icon':_0x4a9eba,'actions':[{'id':_0x2f7feb(0x1ec),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x252)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x22c)}},{'id':_0x2f7feb(0x24a),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x239)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x1df)}},{'id':_0x2f7feb(0x236),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x245)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x21d)}},{'id':_0x2f7feb(0x244),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1f5)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x237)}},{'id':_0x2f7feb(0x1ff),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x25f)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x1d2)}},{'id':_0x2f7feb(0x227),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x262)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x22d)}},{'id':_0x2f7feb(0x263),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x20f)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x1e0)}},{'id':_0x2f7feb(0x240),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x251)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x264)}},{'id':_0x2f7feb(0x246),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x200)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x20c)}},{'id':_0x2f7feb(0x22e),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x25b)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x21e)}}]},{'id':_0x2f7feb(0x1e3),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x1d9)),'icon':_0x243bd4,'actions':[]}];return _0x2bc59e;}(_0x1b3e6a);}[_0x2c01a7(0x1dd)](){const _0x5ab2ef=_0x2c01a7,_0x4ac350=AIQuickActionsUI[_0x5ab2ef(0x207)](this[_0x5ab2ef(0x23b)][_0x5ab2ef(0x22f)]),_0x12455b=(this[_0x5ab2ef(0x23b)][_0x5ab2ef(0x214)][_0x5ab2ef(0x1e4)](_0x5ab2ef(0x23a))||[])[_0x5ab2ef(0x224)](_0x3dc64e=>({..._0x3dc64e,'icon':void 0x0}));return _0x4ac350[_0x5ab2ef(0x220)](_0x2192b6=>_0x5ab2ef(0x1e3)===_0x2192b6['id'])[_0x5ab2ef(0x23d)][_0x5ab2ef(0x1ea)](..._0x12455b),_0x4ac350;}[_0x2c01a7(0x1da)](){const _0x2963f4=_0x2c01a7,_0x313a3a=new _0x583a20(this[_0x2963f4(0x23b)][_0x2963f4(0x22f)]);_0x313a3a[_0x2963f4(0x259)](),this[_0x2963f4(0x1e7)](_0x313a3a),this[_0x2963f4(0x25d)](),this[_0x2963f4(0x203)](_0x313a3a);}[_0x2c01a7(0x1e7)](_0x14352d){const _0x353a43=_0x2c01a7;this[_0x353a43(0x23b)]['ui'][_0x353a43(0x1e1)][_0x353a43(0x201)](_0x353a43(0x1e6),_0x263603(this[_0x353a43(0x23b)],this[_0x353a43(0x24d)],{'icon':_0x22488e,'label':_0x402bc3(this[_0x353a43(0x23b)][_0x353a43(0x22f)],_0x353a43(0x229))},_0x14352d));}[_0x2c01a7(0x265)](_0xa8e3c3){const _0x18a125=_0x2c01a7;this[_0x18a125(0x24d)]=_0xa8e3c3[_0x18a125(0x224)](_0x41dd42=>{const _0x2e1d3c=_0x18a125;if(_0x2e1d3c(0x23d)in _0x41dd42){const _0x8bce3e=_0x41dd42;return{..._0x8bce3e,'actions':_0x8bce3e[_0x2e1d3c(0x23d)][_0x2e1d3c(0x224)](_0x38097d=>{const {actions:_0x22a680,..._0x2151d8}=_0x8bce3e;return{..._0x38097d,'parent':_0x2151d8};})[_0x2e1d3c(0x213)](_0x2c690d=>this[_0x2e1d3c(0x221)](_0x2c690d))};}return _0x41dd42;})[_0x18a125(0x213)](_0xd42e73=>_0x18a125(0x23d)in _0xd42e73?_0xd42e73[_0x18a125(0x23d)][_0x18a125(0x1ef)]>0x0:this[_0x18a125(0x221)](_0xd42e73));}[_0x2c01a7(0x221)](_0x3e08ce){const _0xa4fd6e=_0x2c01a7,_0x38223a=this[_0xa4fd6e(0x23b)][_0xa4fd6e(0x214)][_0xa4fd6e(0x1e4)](_0xa4fd6e(0x247))||[];return this[_0xa4fd6e(0x23b)][_0xa4fd6e(0x1d3)][_0xa4fd6e(0x1e9)](AIQuickActionTypeToPluginName[_0x3e08ce[_0xa4fd6e(0x232)]])&&!_0x38223a[_0xa4fd6e(0x20a)](_0x3e08ce['id']);}[_0x2c01a7(0x203)](_0x53c8ff){const _0x15b7a1=_0x2c01a7;this[_0x15b7a1(0x24d)][_0x15b7a1(0x202)](_0x409bc6=>{const _0x4da1a1=_0x15b7a1;if(_0x4da1a1(0x23d)in _0x409bc6){const _0x17991b=_0x263603(this[_0x4da1a1(0x23b)],_0x409bc6[_0x4da1a1(0x23d)],_0x409bc6,_0x53c8ff);this[_0x4da1a1(0x23b)]['ui'][_0x4da1a1(0x1e1)][_0x4da1a1(0x201)](_0x409bc6['id'],_0x17991b),_0x409bc6[_0x4da1a1(0x23d)][_0x4da1a1(0x202)](_0x56f1d0=>{const _0x5a3fd4=_0x4da1a1,_0x2bec44=_0x3d1325(this[_0x5a3fd4(0x23b)],_0x56f1d0);this[_0x5a3fd4(0x23b)]['ui'][_0x5a3fd4(0x1e1)][_0x5a3fd4(0x201)](_0x56f1d0['id'],_0x2bec44);});}else{const _0x2c1bf5=_0x3d1325(this[_0x4da1a1(0x23b)],_0x409bc6,!0x1,!0x0,!0x1);this[_0x4da1a1(0x23b)]['ui'][_0x4da1a1(0x1e1)][_0x4da1a1(0x201)](_0x409bc6['id'],_0x2c1bf5);}});}[_0x2c01a7(0x25d)](){const _0x599cf1=_0x2c01a7;this[_0x599cf1(0x23b)]['ui'][_0x599cf1(0x1e1)][_0x599cf1(0x201)](_0x599cf1(0x208),_0x243cfc=>{const _0x153814=_0x599cf1,_0x2ea7e8=new _0x1933f0(_0x243cfc),_0x1f6afe=_0x402bc3(_0x243cfc,_0x153814(0x229));_0x2ea7e8[_0x153814(0x22a)][_0x153814(0x253)]({'label':_0x1f6afe,'icon':_0x22488e});const _0x463e5e=new _0x4c7bd6(_0x243cfc);_0x463e5e[_0x153814(0x253)]({'ariaLabel':_0x1f6afe,'role':_0x153814(0x1fc)}),this[_0x153814(0x24d)][_0x153814(0x202)](_0x3067ab=>{const _0x308b77=_0x153814;if(_0x308b77(0x23d)in _0x3067ab){const _0x5b4fb2=_0x3067ab,_0x3d82c9=new _0x1c3ba1(_0x243cfc,_0x2ea7e8),_0x533512=new _0x1933f0(_0x243cfc),_0xc28cf9=new _0x4c7bd6(_0x243cfc);_0x533512[_0x308b77(0x22a)][_0x308b77(0x253)]({'label':_0x5b4fb2[_0x308b77(0x217)],'icon':_0x5b4fb2[_0x308b77(0x1fe)]}),_0x5b4fb2[_0x308b77(0x23d)][_0x308b77(0x202)](_0x372d72=>{const _0x1b2b19=_0x308b77,_0x13feb8=new _0x1c3ba1(_0x243cfc,_0x533512),_0x48182e=new _0x1332a9(_0x243cfc);_0x48182e[_0x1b2b19(0x253)]({'label':_0x372d72[_0x1b2b19(0x226)],'icon':_0x372d72[_0x1b2b19(0x1fe)],'role':_0x1b2b19(0x1d5)}),_0x48182e['on'](_0x1b2b19(0x211),()=>{const _0x18801e=_0x1b2b19;this[_0x18801e(0x24e)](_0x372d72);}),_0x48182e[_0x1b2b19(0x225)](_0x1b2b19(0x211))['to'](_0x533512),_0x13feb8[_0x1b2b19(0x1f2)][_0x1b2b19(0x201)](_0x48182e),_0xc28cf9[_0x1b2b19(0x21a)][_0x1b2b19(0x201)](_0x13feb8);}),_0x533512[_0x308b77(0x215)][_0x308b77(0x1f2)][_0x308b77(0x201)](_0xc28cf9),_0x3d82c9[_0x308b77(0x1f2)][_0x308b77(0x201)](_0x533512),_0x463e5e[_0x308b77(0x21a)][_0x308b77(0x201)](_0x3d82c9);}else{const _0x4a9e4a=_0x3067ab,_0x4211a2=new _0x1c3ba1(_0x243cfc,_0x2ea7e8),_0xfbd5a1=new _0x1332a9(_0x243cfc);_0xfbd5a1[_0x308b77(0x253)]({'label':_0x4a9e4a[_0x308b77(0x226)],'icon':_0x4a9e4a[_0x308b77(0x1fe)],'role':_0x308b77(0x1d5)}),_0xfbd5a1['on'](_0x308b77(0x211),()=>{const _0x31ffee=_0x308b77;this[_0x31ffee(0x24e)](_0x4a9e4a);}),_0xfbd5a1[_0x308b77(0x225)](_0x308b77(0x211))['to'](_0x2ea7e8),_0x4211a2[_0x308b77(0x1f2)][_0x308b77(0x201)](_0xfbd5a1),_0x463e5e[_0x308b77(0x21a)][_0x308b77(0x201)](_0x4211a2);}});const _0x559056=Object[_0x153814(0x25e)](AIQuickActionTypeToPluginName)[_0x153814(0x230)](_0x1d87cf=>this[_0x153814(0x23b)][_0x153814(0x1d3)][_0x153814(0x1e9)](_0x1d87cf));return _0x2ea7e8[_0x153814(0x253)]({'isEnabled':_0x559056}),_0x2ea7e8[_0x153814(0x215)][_0x153814(0x1f2)][_0x153814(0x201)](_0x463e5e),_0x2ea7e8;});}[_0x2c01a7(0x24e)](_0x46b21c){const _0x34ba69=_0x2c01a7,_0x158735=this[_0x34ba69(0x23b)];_0x158735[_0x34ba69(0x1d1)][_0x34ba69(0x1f1)][_0x34ba69(0x1f3)](),_0x158735[_0x34ba69(0x248)][_0x34ba69(0x211)](_0x34ba69(0x25c),_0x46b21c);const _0x519b6f=_0x158735['ui'][_0x34ba69(0x1f1)][_0x34ba69(0x1eb)];_0x519b6f&&_0x519b6f[_0x34ba69(0x25a)]&&_0x519b6f[_0x34ba69(0x25a)]();}}function _0x1463(){const _0x3a5a63=['AI_QUICK_ACTIONS_OTHER','_initializeQuickActionsComponentsAndCommands','requires','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_ASK_AI','chinese','portuguese','componentFactory','AI_QUICK_ACTIONS_MORE_FRIENDLY','other','get','change-tone','aiQuickActions','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','has','push','menuBarView','translate-to-english','English','31940870dHbRRW','length','AI_QUICK_ACTIONS_CHANGE_TONE','view','children','focus','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','2309211GBonYO','adjust-length','isPremiumPlugin','AIChat','AIActions','make-tone-direct','menu','413ZivrTQ','icon','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','add','forEach','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_CHAT_COMMANDS','108EAIRkP','1424454gJXDpe','getDefaultQuickActions','menuBar:aiQuickActions','make-tone-friendly','includes','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','italian','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','highlight-key-points','execute','AI_QUICK_ACTIONS_MORE_CONFIDENT','filter','config','panelView','improve-writing','label','make-shorter','7068336wZmfMo','items','init','AI_QUICK_ACTIONS_IMPROVE_WRITING','spanish','russian','REVIEW','find','_shouldIncludeAction','224868TGMJYY','ask-ai','map','delegate','displayedPrompt','translate-to-japanese','2844nvEUvP','AI_QUICK_ACTIONS_HEADING','buttonView','continue','english','japanese','translate-to-russian','locale','some','AI_QUICK_ACTIONS_SUMMARIZE','type','897700utjWSk','make-tone-casual','isOfficialPlugin','translate-to-spanish','german','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','ai.quickActions.extraCommands','editor','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','actions','ACTION','uiLanguage','translate-to-korean','AIReviewMode','summarize','chat-commands','translate-to-german','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate-to-italian','ai.quickActions.removeCommands','commands','language','translate-to-chinese','explain','AI_QUICK_ACTIONS_ADJUST_LENGTH','_quickActionsDefinition','_executeQuickAction','DisplayNames','make-tone-professional','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','set','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_MORE_CASUAL','CHAT','pluginName','8aOxndc','attachToDom','close','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','aiQuickAction','_initializeQuickActionsMenuBar','values','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_MAKE_LONGER','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-portuguese','korean','_prepareQuickActionsDefinition','replace','make-longer','AI_QUICK_ACTIONS_EXPLAIN','editing','french','plugins','AI_QUICK_ACTIONS_MAKE_SHORTER','menuitem','AIQuickActionsUI','translate','make-tone-confident'];_0x1463=function(){return _0x3a5a63;};return _0x1463();}
23
+ const _0x324abe=_0x4163;(function(_0x3cc483,_0x5f4be8){const _0xfc17e=_0x4163,_0x4a3c4d=_0x3cc483();while(!![]){try{const _0x361f75=parseInt(_0xfc17e(0x112))/0x1*(-parseInt(_0xfc17e(0xd5))/0x2)+-parseInt(_0xfc17e(0x160))/0x3*(parseInt(_0xfc17e(0xe1))/0x4)+parseInt(_0xfc17e(0x114))/0x5*(parseInt(_0xfc17e(0x135))/0x6)+parseInt(_0xfc17e(0xf2))/0x7+-parseInt(_0xfc17e(0x15e))/0x8*(parseInt(_0xfc17e(0x167))/0x9)+parseInt(_0xfc17e(0x156))/0xa*(-parseInt(_0xfc17e(0x14f))/0xb)+parseInt(_0xfc17e(0xfe))/0xc;if(_0x361f75===_0x5f4be8)break;else _0x4a3c4d['push'](_0x4a3c4d['shift']());}catch(_0x541283){_0x4a3c4d['push'](_0x4a3c4d['shift']());}}}(_0x39c1,0x97fe1));import{IconAIAdjustLength as _0x254508,IconAIAskAI as _0x24f731,IconAIChangeTone as _0x34ffa9,IconAIChatCommands as _0x212549,IconAIContinueWriting as _0x191889,IconAIGrammarCheck as _0xaef611,IconAIImproveWriting as _0x352611,IconAIOther as _0x44fdfa,IconAIQuickActions as _0x418ef1,IconAITranslate as _0x592dcc}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x12d320}from'ckeditor5/src/core.js';import{getTranslation as _0x3613a8}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4e8e1f}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x14f495}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x2ca207,BalloonToolbar as _0x2e136d,MenuBarMenuView as _0x25c3ac,MenuBarMenuListView as _0x21ca6d,MenuBarMenuListItemView as _0x45325e,MenuBarMenuListItemButtonView as _0x4b630c}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Bt=_0x324abe(0x13f),Jt=_0x324abe(0x16d),Vt=_0x324abe(0xf0);export var AIQuickActionType;function _0x4163(_0x1daa07,_0x5b337a){const _0x39c1b3=_0x39c1();return _0x4163=function(_0x4163b7,_0x1c62bc){_0x4163b7=_0x4163b7-0xd4;let _0x3d23c1=_0x39c1b3[_0x4163b7];return _0x3d23c1;},_0x4163(_0x1daa07,_0x5b337a);}!function(_0x2d2b9d){const _0x45aabc=_0x324abe;_0x2d2b9d[_0x45aabc(0x117)]=_0x45aabc(0x117),_0x2d2b9d[_0x45aabc(0x111)]=_0x45aabc(0x111),_0x2d2b9d[_0x45aabc(0x140)]=_0x45aabc(0x140);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x21c663){const _0x55b327=_0x324abe;_0x21c663[_0x55b327(0x117)]=_0x55b327(0x11b),_0x21c663[_0x55b327(0x111)]=_0x55b327(0xe9),_0x21c663[_0x55b327(0x140)]=_0x55b327(0x120);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x39c1(){const _0xee24b3=['AI_QUICK_ACTIONS_TRANSLATE_FRENCH','DisplayNames','buttonView','make-tone-confident','pluginName','AI_QUICK_ACTIONS_EXPLAIN','translate-to-spanish','_executeQuickAction','AI_QUICK_ACTIONS_MORE_CONFIDENT','continue','1396NJAFBz','uiLanguage','get','add','language','close','has','make-tone-friendly','AIActions','make-shorter','children','ai.quickActions.removeCommands','portuguese','ai.quickActions.extraCommands','highlight-key-points','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AIQuickActionsUI','5413737sdJgGF','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','_shouldIncludeAction','displayedPrompt','editor','make-tone-professional','AI_QUICK_ACTIONS_TRANSLATE','translate-to-chinese','make-longer','delegate','menuitem','aiQuickActions','23298828yegBDd','set','russian','aiQuickAction','other','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_CHAT_COMMANDS','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','init','locale','translate','isOfficialPlugin','AI_QUICK_ACTIONS_SUMMARIZE','isPremiumPlugin','_initializeQuickActionsDropdown','ACTION','7bVaYdK','filter','1637385RVRBoh','chat-commands','translate-to-italian','CHAT','_initializeQuickActionsComponents','translate-to-korean','AI_QUICK_ACTIONS_MAKE_SHORTER','AIChat','_prepareQuickActionsDefinition','panelView','focus','change-tone','AIReviewMode','translate-to-japanese','make-tone-casual','korean','improve-writing','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_HEADING','menu','length','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_ADJUST_LENGTH','spanish','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-english','values','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','summarize','translate-to-portuguese','label','12qQZzFG','_quickActionsDefinition','plugins','chinese','commands','menuBar:aiQuickActions','_initializeQuickActionsComponentsAndCommands','japanese','AI_QUICK_ACTIONS_MORE_FRIENDLY','execute','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','REVIEW','items','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','adjust-length','push','italian','find','map','config','attachToDom','AI_QUICK_ACTIONS_IMPROVE_WRITING','includes','type','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','componentFactory','55ooFtHP','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-russian','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','_initializeQuickActionsMenuBar','some','forEach','995050BzEQfx','explain','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','view','translate-to-german','requires','672ieQqsC','editing','7434rKLuvr','replace','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','English','icon','getDefaultQuickActions','69219viEQnb','actions','german','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','make-tone-direct','ask-ai','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','french','211132WUuVXF','english'];_0x39c1=function(){return _0xee24b3;};return _0x39c1();}export class AIQuickActionsUI extends _0x12d320{static get[_0x324abe(0x15d)](){return[_0x2e136d];}static get[_0x324abe(0xdb)](){const _0x4aff2a=_0x324abe;return _0x4aff2a(0xf1);}static get[_0x324abe(0x10d)](){return!0x0;}static get[_0x324abe(0x10f)](){return!0x0;}[_0x324abe(0x10a)](){const _0x9d8f85=_0x324abe;this[_0x9d8f85(0x11c)](this[_0x9d8f85(0x12a)]()),this[_0x9d8f85(0x13b)]();}static[_0x324abe(0x166)](_0xeebc27){return function(_0x3d57ca){const _0x1baf8b=_0x4163,_0x5a0c35=new Intl[(_0x1baf8b(0xd8))](['en'],{'type':_0x1baf8b(0xe5)})['of'](_0x3d57ca[_0x1baf8b(0xe2)]),_0x5850fa=_0x5a0c35||_0x1baf8b(0x164),_0x5ac2a7=[{'id':_0x1baf8b(0x16c),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x158)),'type':AIQuickActionType[_0x1baf8b(0x117)],'icon':_0x24f731},{'id':_0x1baf8b(0x115),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x105)),'icon':_0x212549,'actions':[{'id':_0x1baf8b(0x157),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xdc)),'prompt':Bt[_0x1baf8b(0x161)]('%0',_0x5850fa),'type':AIQuickActionType[_0x1baf8b(0x117)]},{'id':_0x1baf8b(0x132),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x10e)),'prompt':Jt[_0x1baf8b(0x161)]('%0',_0x5850fa),'type':AIQuickActionType[_0x1baf8b(0x117)]},{'id':_0x1baf8b(0xef),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x15a)),'prompt':Vt[_0x1baf8b(0x161)]('%0',_0x5850fa),'type':AIQuickActionType[_0x1baf8b(0x117)]}]},{'id':_0x1baf8b(0x124),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x14a)),'type':AIQuickActionType[_0x1baf8b(0x111)],'icon':_0x352611},{'id':_0x1baf8b(0xe0),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x103)),'type':AIQuickActionType[_0x1baf8b(0x111)],'icon':_0x191889},{'id':_0x1baf8b(0x162),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xf3)),'type':AIQuickActionType[_0x1baf8b(0x111)],'icon':_0xaef611},{'id':_0x1baf8b(0x143),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x12c)),'icon':_0x254508,'actions':[{'id':_0x1baf8b(0xea),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x11a)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xfa),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x150)),'type':AIQuickActionType[_0x1baf8b(0x111)]}]},{'id':_0x1baf8b(0x11f),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x126)),'icon':_0x34ffa9,'actions':[{'id':_0x1baf8b(0x122),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x12e)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0x16b),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x104)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xe8),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x13d)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xda),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xdf)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xf7),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x125)),'type':AIQuickActionType[_0x1baf8b(0x111)]}]},{'id':_0x1baf8b(0x10c),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0xf8)),'icon':_0x592dcc,'actions':[{'id':_0x1baf8b(0x12f),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x152)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0xd6)}},{'id':_0x1baf8b(0xf9),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x12b)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x138)}},{'id':_0x1baf8b(0xdd),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x142)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x12d)}},{'id':_0x1baf8b(0x15c),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x131)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x169)}},{'id':_0x1baf8b(0x108),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xd7)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0xd4)}},{'id':_0x1baf8b(0x121),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x14d)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x13c)}},{'id':_0x1baf8b(0x133),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x107)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0xed)}},{'id':_0x1baf8b(0x119),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x109)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x123)}},{'id':_0x1baf8b(0x116),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x16a)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x145)}},{'id':_0x1baf8b(0x151),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x163)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x100)}}]},{'id':_0x1baf8b(0x102),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x159)),'icon':_0x44fdfa,'actions':[]}];return _0x5ac2a7;}(_0xeebc27);}[_0x324abe(0x12a)](){const _0x7eede9=_0x324abe,_0x58e3ef=AIQuickActionsUI[_0x7eede9(0x166)](this[_0x7eede9(0xf6)][_0x7eede9(0x10b)]),_0x57b4e7=(this[_0x7eede9(0xf6)][_0x7eede9(0x148)][_0x7eede9(0xe3)](_0x7eede9(0xee))||[])[_0x7eede9(0x147)](_0x3412a6=>({..._0x3412a6,'icon':void 0x0}));return _0x58e3ef[_0x7eede9(0x146)](_0x32423b=>_0x7eede9(0x102)===_0x32423b['id'])[_0x7eede9(0x168)][_0x7eede9(0x144)](..._0x57b4e7),_0x58e3ef;}[_0x324abe(0x13b)](){const _0x44c5c1=_0x324abe,_0xc2f981=new _0x2ca207(this[_0x44c5c1(0xf6)][_0x44c5c1(0x10b)]);_0xc2f981[_0x44c5c1(0x149)](),this[_0x44c5c1(0x110)](_0xc2f981),this[_0x44c5c1(0x153)](),this[_0x44c5c1(0x118)](_0xc2f981);}[_0x324abe(0x110)](_0x228cce){const _0x7352c0=_0x324abe;this[_0x7352c0(0xf6)]['ui'][_0x7352c0(0x14e)][_0x7352c0(0xe4)](_0x7352c0(0xfd),_0x4e8e1f(this[_0x7352c0(0xf6)],this[_0x7352c0(0x136)],{'icon':_0x418ef1,'label':_0x3613a8(this[_0x7352c0(0xf6)][_0x7352c0(0x10b)],_0x7352c0(0x127))},_0x228cce));}[_0x324abe(0x11c)](_0xc7da15){const _0x54dd9a=_0x324abe;this[_0x54dd9a(0x136)]=_0xc7da15[_0x54dd9a(0x147)](_0x3d81fd=>{const _0x1a2ad0=_0x54dd9a;if(_0x1a2ad0(0x168)in _0x3d81fd){const _0x4231d4=_0x3d81fd;return{..._0x4231d4,'actions':_0x4231d4[_0x1a2ad0(0x168)][_0x1a2ad0(0x147)](_0xcbbdca=>{const {actions:_0x3de6bd,..._0x44a343}=_0x4231d4;return{..._0xcbbdca,'parent':_0x44a343};})[_0x1a2ad0(0x113)](_0x5583a6=>this[_0x1a2ad0(0xf4)](_0x5583a6))};}return _0x3d81fd;})[_0x54dd9a(0x113)](_0x41d3f7=>_0x54dd9a(0x168)in _0x41d3f7?_0x41d3f7[_0x54dd9a(0x168)][_0x54dd9a(0x129)]>0x0:this[_0x54dd9a(0xf4)](_0x41d3f7));}[_0x324abe(0xf4)](_0x35ffe7){const _0xf44fd9=_0x324abe,_0x144fef=this[_0xf44fd9(0xf6)][_0xf44fd9(0x148)][_0xf44fd9(0xe3)](_0xf44fd9(0xec))||[];return this[_0xf44fd9(0xf6)][_0xf44fd9(0x137)][_0xf44fd9(0xe7)](AIQuickActionTypeToPluginName[_0x35ffe7[_0xf44fd9(0x14c)]])&&!_0x144fef[_0xf44fd9(0x14b)](_0x35ffe7['id']);}[_0x324abe(0x118)](_0xe044f8){const _0x2dca1b=_0x324abe;this[_0x2dca1b(0x136)][_0x2dca1b(0x155)](_0x221711=>{const _0x22052e=_0x2dca1b;if(_0x22052e(0x168)in _0x221711){const _0x4dd335=_0x4e8e1f(this[_0x22052e(0xf6)],_0x221711[_0x22052e(0x168)],_0x221711,_0xe044f8);this[_0x22052e(0xf6)]['ui'][_0x22052e(0x14e)][_0x22052e(0xe4)](_0x221711['id'],_0x4dd335),_0x221711[_0x22052e(0x168)][_0x22052e(0x155)](_0x3447eb=>{const _0x39e97e=_0x22052e,_0x4a429c=_0x14f495(this[_0x39e97e(0xf6)],_0x3447eb);this[_0x39e97e(0xf6)]['ui'][_0x39e97e(0x14e)][_0x39e97e(0xe4)](_0x3447eb['id'],_0x4a429c);});}else{const _0x370cb7=_0x14f495(this[_0x22052e(0xf6)],_0x221711,!0x1,!0x0,!0x1);this[_0x22052e(0xf6)]['ui'][_0x22052e(0x14e)][_0x22052e(0xe4)](_0x221711['id'],_0x370cb7);}});}[_0x324abe(0x153)](){const _0x5b5c15=_0x324abe;this[_0x5b5c15(0xf6)]['ui'][_0x5b5c15(0x14e)][_0x5b5c15(0xe4)](_0x5b5c15(0x13a),_0x4889d9=>{const _0x40ec80=_0x5b5c15,_0x53c082=new _0x25c3ac(_0x4889d9),_0x2f4323=_0x3613a8(_0x4889d9,_0x40ec80(0x127));_0x53c082[_0x40ec80(0xd9)][_0x40ec80(0xff)]({'label':_0x2f4323,'icon':_0x418ef1});const _0x3d51ee=new _0x21ca6d(_0x4889d9);_0x3d51ee[_0x40ec80(0xff)]({'ariaLabel':_0x2f4323,'role':_0x40ec80(0x128)}),this[_0x40ec80(0x136)][_0x40ec80(0x155)](_0xc08101=>{const _0x2c8011=_0x40ec80;if(_0x2c8011(0x168)in _0xc08101){const _0x1f5203=_0xc08101,_0x390662=new _0x45325e(_0x4889d9,_0x53c082),_0x428055=new _0x25c3ac(_0x4889d9),_0x58db9d=new _0x21ca6d(_0x4889d9);_0x428055[_0x2c8011(0xd9)][_0x2c8011(0xff)]({'label':_0x1f5203[_0x2c8011(0x134)],'icon':_0x1f5203[_0x2c8011(0x165)]}),_0x1f5203[_0x2c8011(0x168)][_0x2c8011(0x155)](_0x4eab46=>{const _0x443d37=_0x2c8011,_0x36f758=new _0x45325e(_0x4889d9,_0x428055),_0x3ee9b0=new _0x4b630c(_0x4889d9);_0x3ee9b0[_0x443d37(0xff)]({'label':_0x4eab46[_0x443d37(0xf5)],'icon':_0x4eab46[_0x443d37(0x165)],'role':_0x443d37(0xfc)}),_0x3ee9b0['on'](_0x443d37(0x13e),()=>{const _0x489871=_0x443d37;this[_0x489871(0xde)](_0x4eab46);}),_0x3ee9b0[_0x443d37(0xfb)](_0x443d37(0x13e))['to'](_0x428055),_0x36f758[_0x443d37(0xeb)][_0x443d37(0xe4)](_0x3ee9b0),_0x58db9d[_0x443d37(0x141)][_0x443d37(0xe4)](_0x36f758);}),_0x428055[_0x2c8011(0x11d)][_0x2c8011(0xeb)][_0x2c8011(0xe4)](_0x58db9d),_0x390662[_0x2c8011(0xeb)][_0x2c8011(0xe4)](_0x428055),_0x3d51ee[_0x2c8011(0x141)][_0x2c8011(0xe4)](_0x390662);}else{const _0x810244=_0xc08101,_0x347202=new _0x45325e(_0x4889d9,_0x53c082),_0x5861f0=new _0x4b630c(_0x4889d9);_0x5861f0[_0x2c8011(0xff)]({'label':_0x810244[_0x2c8011(0xf5)],'icon':_0x810244[_0x2c8011(0x165)],'role':_0x2c8011(0xfc)}),_0x5861f0['on'](_0x2c8011(0x13e),()=>{const _0x452beb=_0x2c8011;this[_0x452beb(0xde)](_0x810244);}),_0x5861f0[_0x2c8011(0xfb)](_0x2c8011(0x13e))['to'](_0x53c082),_0x347202[_0x2c8011(0xeb)][_0x2c8011(0xe4)](_0x5861f0),_0x3d51ee[_0x2c8011(0x141)][_0x2c8011(0xe4)](_0x347202);}});const _0x54271c=Object[_0x40ec80(0x130)](AIQuickActionTypeToPluginName)[_0x40ec80(0x154)](_0x27a620=>this[_0x40ec80(0xf6)][_0x40ec80(0x137)][_0x40ec80(0xe7)](_0x27a620));return _0x53c082[_0x40ec80(0xff)]({'isEnabled':_0x54271c}),_0x53c082[_0x40ec80(0x11d)][_0x40ec80(0xeb)][_0x40ec80(0xe4)](_0x3d51ee),_0x53c082;});}[_0x324abe(0xde)](_0x2bd0cb){const _0x4ed14d=_0x324abe,_0x4410b1=this[_0x4ed14d(0xf6)];_0x4410b1[_0x4ed14d(0x15f)][_0x4ed14d(0x15b)][_0x4ed14d(0x11e)](),_0x4410b1[_0x4ed14d(0x139)][_0x4ed14d(0x13e)](_0x4ed14d(0x101),_0x2bd0cb);const _0x50e1b3=_0x4410b1['ui'][_0x4ed14d(0x15b)][_0x4ed14d(0x106)];_0x50e1b3&&_0x50e1b3[_0x4ed14d(0xe6)]&&_0x50e1b3[_0x4ed14d(0xe6)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1a6daa,_0x17fb66){const _0xa1b7d3=_0x3a19,_0x3e816b=_0x1a6daa();while(!![]){try{const _0x1dbf79=-parseInt(_0xa1b7d3(0xb0))/0x1+parseInt(_0xa1b7d3(0x9c))/0x2*(-parseInt(_0xa1b7d3(0xa7))/0x3)+parseInt(_0xa1b7d3(0x99))/0x4+parseInt(_0xa1b7d3(0xa0))/0x5*(-parseInt(_0xa1b7d3(0xa9))/0x6)+-parseInt(_0xa1b7d3(0xa1))/0x7+parseInt(_0xa1b7d3(0x9f))/0x8+parseInt(_0xa1b7d3(0x9b))/0x9*(parseInt(_0xa1b7d3(0x9d))/0xa);if(_0x1dbf79===_0x17fb66)break;else _0x3e816b['push'](_0x3e816b['shift']());}catch(_0x166ab8){_0x3e816b['push'](_0x3e816b['shift']());}}}(_0x2818,0xa07d7));function _0x2818(){const _0x2fc262=['set','commands','1083141COUiSf','view','3402848TyqNEq','icon','38223qSNbly','78JPsHtp','4610YMZoBu','menuitem','4026824yvWPhQ','81970mdaAau','8640289tCuHTT','bindTemplate','execute','parent','editing','ck-ai-quick-actions-button','17103nnkHqQ','locale','42empwuc','aiQuickAction','extendTemplate','focus','displayedPrompt'];_0x2818=function(){return _0x2fc262;};return _0x2818();}import{ButtonView as _0x3ff379}from'ckeditor5/src/ui.js';function _0x3a19(_0x87a3c,_0x340da5){const _0x2818b0=_0x2818();return _0x3a19=function(_0x3a1951,_0x35c69f){_0x3a1951=_0x3a1951-0x99;let _0x50f7c3=_0x2818b0[_0x3a1951];return _0x50f7c3;},_0x3a19(_0x87a3c,_0x340da5);}import{IconAIQuickActions as _0x32ec92}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x875ff3,_0x33aebd,_0x1c45b4=!0x1,_0x246760=!0x0,_0x574ea2=!0x0){return()=>{const _0x56e225=_0x3a19,_0x40fdeb=_0x875ff3[_0x56e225(0xa8)],_0x5d821f=new _0x3ff379(_0x40fdeb),_0x367757=_0x5d821f[_0x56e225(0xa2)];_0x574ea2&&_0x5d821f[_0x56e225(0xab)]({'on':{'mouseenter':_0x367757['to'](()=>{const _0x4b4300=_0x56e225;_0x5d821f[_0x4b4300(0xac)]();})}});const _0x5eb94e=_0x33aebd[_0x56e225(0x9a)]??_0x33aebd[_0x56e225(0xa4)]?.[_0x56e225(0x9a)];return _0x5d821f[_0x56e225(0xae)]({'label':_0x33aebd[_0x56e225(0xad)],'withText':_0x1c45b4,'role':_0x56e225(0x9e),'icon':_0x246760?_0x5eb94e??_0x32ec92:void 0x0,'tooltip':!_0x1c45b4,'class':_0x56e225(0xa6)}),_0x5d821f['on'](_0x56e225(0xa3),()=>{const _0x442130=_0x56e225;_0x875ff3[_0x442130(0xa5)][_0x442130(0xb1)][_0x442130(0xac)](),_0x875ff3[_0x442130(0xaf)][_0x442130(0xa3)](_0x442130(0xaa),_0x33aebd);}),_0x5d821f;};}
23
+ (function(_0x47a4f9,_0x49813f){const _0x1758cb=_0x5d0e,_0x13ba92=_0x47a4f9();while(!![]){try{const _0xb52799=-parseInt(_0x1758cb(0x164))/0x1+parseInt(_0x1758cb(0x154))/0x2+-parseInt(_0x1758cb(0x15d))/0x3+parseInt(_0x1758cb(0x156))/0x4*(parseInt(_0x1758cb(0x161))/0x5)+-parseInt(_0x1758cb(0x157))/0x6+parseInt(_0x1758cb(0x15a))/0x7*(parseInt(_0x1758cb(0x160))/0x8)+parseInt(_0x1758cb(0x15c))/0x9;if(_0xb52799===_0x49813f)break;else _0x13ba92['push'](_0x13ba92['shift']());}catch(_0xb40007){_0x13ba92['push'](_0x13ba92['shift']());}}}(_0x60c7,0xf40aa));function _0x60c7(){const _0x402f6c=['commands','ck-ai-quick-actions-button','2382604goGKTe','editing','16qAkwHN','1586208HcvPSl','view','icon','193193GwBfwX','locale','7250886JcjuDy','2144556hwBIjx','displayedPrompt','bindTemplate','64Iipgyi','926995KjuiIn','menuitem','set','980530ncEGGD','focus','aiQuickAction','parent','extendTemplate','execute'];_0x60c7=function(){return _0x402f6c;};return _0x60c7();}import{ButtonView as _0x4a0f04}from'ckeditor5/src/ui.js';function _0x5d0e(_0x2b3807,_0x5355ca){const _0x60c792=_0x60c7();return _0x5d0e=function(_0x5d0e7c,_0x52a52f){_0x5d0e7c=_0x5d0e7c-0x150;let _0x19fa82=_0x60c792[_0x5d0e7c];return _0x19fa82;},_0x5d0e(_0x2b3807,_0x5355ca);}import{IconAIQuickActions as _0x1306f4}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x246758,_0x513900,_0x39242a=!0x1,_0x2bdaea=!0x0,_0x303c56=!0x0){return()=>{const _0xaadaed=_0x5d0e,_0x289bb5=_0x246758[_0xaadaed(0x15b)],_0x1df24b=new _0x4a0f04(_0x289bb5),_0x5b569c=_0x1df24b[_0xaadaed(0x15f)];_0x303c56&&_0x1df24b[_0xaadaed(0x150)]({'on':{'mouseenter':_0x5b569c['to'](()=>{const _0x24deb3=_0xaadaed;_0x1df24b[_0x24deb3(0x165)]();})}});const _0x1010ed=_0x513900[_0xaadaed(0x159)]??_0x513900[_0xaadaed(0x167)]?.[_0xaadaed(0x159)];return _0x1df24b[_0xaadaed(0x163)]({'label':_0x513900[_0xaadaed(0x15e)],'withText':_0x39242a,'role':_0xaadaed(0x162),'icon':_0x2bdaea?_0x1010ed??_0x1306f4:void 0x0,'tooltip':!_0x39242a,'class':_0xaadaed(0x153)}),_0x1df24b['on'](_0xaadaed(0x151),()=>{const _0x7f0606=_0xaadaed;_0x246758[_0x7f0606(0x155)][_0x7f0606(0x158)][_0x7f0606(0x165)](),_0x246758[_0x7f0606(0x152)][_0x7f0606(0x151)](_0x7f0606(0x166),_0x513900);}),_0x1df24b;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41e953=_0x19b7;(function(_0x33508f,_0x1dc542){const _0x4b890d=_0x19b7,_0x40a396=_0x33508f();while(!![]){try{const _0x159f5d=parseInt(_0x4b890d(0x1c9))/0x1*(-parseInt(_0x4b890d(0x1b8))/0x2)+-parseInt(_0x4b890d(0x1c4))/0x3*(parseInt(_0x4b890d(0x1ec))/0x4)+parseInt(_0x4b890d(0x1c5))/0x5+parseInt(_0x4b890d(0x1c8))/0x6+-parseInt(_0x4b890d(0x1cb))/0x7*(-parseInt(_0x4b890d(0x1df))/0x8)+-parseInt(_0x4b890d(0x1b5))/0x9+-parseInt(_0x4b890d(0x1b6))/0xa*(-parseInt(_0x4b890d(0x1cc))/0xb);if(_0x159f5d===_0x1dc542)break;else _0x40a396['push'](_0x40a396['shift']());}catch(_0x294148){_0x40a396['push'](_0x40a396['shift']());}}}(_0x3078,0xc8b97));function _0x19b7(_0x5b46e1,_0x2743f3){const _0x3078bd=_0x3078();return _0x19b7=function(_0x19b77b,_0x2c2d27){_0x19b77b=_0x19b77b-0x1a8;let _0x323da2=_0x3078bd[_0x19b77b];return _0x323da2;},_0x19b7(_0x5b46e1,_0x2743f3);}import{View as _0x16beb2,ListItemView as _0x158edd,ListView as _0x6e7718,BalloonPanelView as _0x5f59bd,DropdownMenuPanelPositioningFunctions as _0x29df13,DropdownMenuButtonView as _0x40ae8c,ViewCollection as _0x48abde,FocusCycler as _0x11f8cd}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x27301b}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x25af55,KeystrokeHandler as _0x85ff6}from'ckeditor5/src/utils.js';function _0x3078(){const _0x504ce0=['label','hide','set','ck-ai-quick-actions-group-panel','_createListItems','ck-ai-quick-actions','children','focusTracker','_openNestedPanels','4517721youVbo','130vcZebn','_showNestedPanel','2510234mUWteS','items','actions','ck-dropdown-menu-list','relatedTarget','.ck-ai-quick-actions-group-list','_createGroupActionsList','closest','.ck-ai-quick-actions-group-panel','key','setTemplate','role','60612udUJdm','3428950AkICWB','focusCycler','contains','4285950eCYbys','1zVVAnR','uiLanguageDirection','155505aUlAfV','1560427LMxbbH','show','ck-ai-quick-actions-group-list','_bodyCollection','delete','_hideNestedPanel','get','rtl','destroy','ck-dropdown-menu__nested-menu__panel','_createActionButton','keystrokes','icon','menu','ck-reset_all','menuitem','forEach','render','bindTemplate','248vGvXBk','.ck-ai-quick-actions-group-button','focus','isOn','extendTemplate','ck-ai-quick-actions-group-button','optionsListView','detachFromDom','_hideAllNestedPanels','_focusables','div','isVisible','eastSouth','268NtVVJb','_createActionGroupButton','content','_setupGroupMenuBehavior','pin','locale','ArrowRight','element','bind','add','ArrowLeft','_isMovingToNestedMenu','mouseleave','ck-rounded-corners','clear','addEventListener','addMany'];_0x3078=function(){return _0x504ce0;};return _0x3078();}import{aiQuickActionsButtonCreator as _0x35eb85}from'./aiquickactionsbuttoncreator.js';const Ls=_0x41e953(0x1d9),Ns=_0x41e953(0x1db);export class AIQuickActionsDropdownContentView extends _0x16beb2{[_0x41e953(0x1cf)];[_0x41e953(0x1e5)];[_0x41e953(0x1b3)];[_0x41e953(0x1d7)];[_0x41e953(0x1e8)];[_0x41e953(0x1c6)];[_0x41e953(0x1b4)]=new Set();constructor(_0x16cb8d,_0xfb434e,_0x3ace9b,_0x332f9c){const _0x9d7a2e=_0x41e953,_0x39cdc7=_0x16cb8d[_0x9d7a2e(0x1f1)];super(_0x39cdc7),this[_0x9d7a2e(0x1cf)]=_0x332f9c;const _0x36408f=this[_0x9d7a2e(0x1b0)](_0x16cb8d,_0xfb434e,_0x3ace9b);this[_0x9d7a2e(0x1e5)]=new _0x6e7718(_0x39cdc7),this[_0x9d7a2e(0x1e5)][_0x9d7a2e(0x1c3)]=Ls,this[_0x9d7a2e(0x1e5)][_0x9d7a2e(0x1b9)][_0x9d7a2e(0x1ab)](_0x36408f),this[_0x9d7a2e(0x1b3)]=new _0x25af55(),this[_0x9d7a2e(0x1d7)]=new _0x85ff6(),this[_0x9d7a2e(0x1e8)]=_0x36408f,this[_0x9d7a2e(0x1c6)]=new _0x11f8cd({'focusables':this[_0x9d7a2e(0x1e8)],'focusTracker':this[_0x9d7a2e(0x1b3)],'keystrokeHandler':this[_0x9d7a2e(0x1d7)]}),this[_0x9d7a2e(0x1c2)]({'tag':_0x9d7a2e(0x1e9),'attributes':{'class':['ck',_0x9d7a2e(0x1da),_0x9d7a2e(0x1b1),_0x9d7a2e(0x1a8)],'dir':_0x39cdc7[_0x9d7a2e(0x1ca)]},'children':[this[_0x9d7a2e(0x1e5)]]});}[_0x41e953(0x1b0)](_0x186670,_0x4f5bbf,_0x5bbee4){const _0x578213=_0x41e953,_0x411ec7=new _0x48abde();return _0x4f5bbf[_0x578213(0x1dc)](_0x540a1f=>{const _0x2f8266=_0x578213;_0x2f8266(0x1ba)in _0x540a1f?_0x411ec7[_0x2f8266(0x1f5)](this[_0x2f8266(0x1ed)](_0x186670,_0x540a1f,_0x5bbee4)):_0x411ec7[_0x2f8266(0x1f5)](this[_0x2f8266(0x1d6)](_0x186670,_0x540a1f));}),_0x411ec7;}[_0x41e953(0x1d6)](_0x50b614,_0x4718b8){const _0x33ba0f=_0x41e953,_0x4df38e=new _0x158edd(this[_0x33ba0f(0x1f1)]),_0x33f347=_0x35eb85(_0x50b614,_0x4718b8,!0x0,void 0x0!==_0x4718b8[_0x33ba0f(0x1d8)])();return _0x4df38e[_0x33ba0f(0x1b2)][_0x33ba0f(0x1f5)](_0x33f347),_0x4df38e;}[_0x41e953(0x1ed)](_0x77af24,_0x2ff905,_0x4c21bf){const _0x52ed1e=_0x41e953,_0x17b336=new _0x158edd(this[_0x52ed1e(0x1f1)]),_0x32e255=new _0x40ae8c(this[_0x52ed1e(0x1f1)]),_0x458398=_0x32e255[_0x52ed1e(0x1de)],_0xcdceb1=_0x52ed1e(0x1d3)===_0x4c21bf[_0x52ed1e(0x1f1)][_0x52ed1e(0x1ca)]?_0x52ed1e(0x1f2):_0x52ed1e(0x1f6),_0x54e23c=this[_0x52ed1e(0x1be)](_0x77af24,_0x2ff905[_0x52ed1e(0x1ba)],_0x4c21bf);_0x32e255[_0x52ed1e(0x1ae)]({'label':_0x2ff905[_0x52ed1e(0x1ac)],'withText':!0x0,'role':Ns,'icon':_0x2ff905[_0x52ed1e(0x1d8)]??_0x27301b}),_0x32e255[_0x52ed1e(0x1e3)]({'on':{'mouseenter':_0x458398['to'](()=>{const _0x283101=_0x52ed1e;_0x32e255[_0x283101(0x1e1)]();})}});const _0x13980d=new _0x5f59bd(this[_0x52ed1e(0x1f1)]);return _0x13980d[_0x52ed1e(0x1e3)]({'attributes':{'class':['ck',_0x52ed1e(0x1da),_0x52ed1e(0x1af),_0x52ed1e(0x1d5)]},'on':{'keydown':_0x458398['to'](_0x211bee=>{const _0x41266f=_0x52ed1e;_0x211bee[_0x41266f(0x1c1)]==_0xcdceb1&&(_0x32e255[_0x41266f(0x1e1)](),this[_0x41266f(0x1d1)](_0x13980d));})}}),_0x32e255[_0x52ed1e(0x1f4)](_0x52ed1e(0x1e2))['to'](_0x13980d,_0x52ed1e(0x1ea)),this[_0x52ed1e(0x1cf)][_0x52ed1e(0x1f5)](_0x13980d),_0x13980d[_0x52ed1e(0x1ee)][_0x52ed1e(0x1f5)](_0x54e23c),this[_0x52ed1e(0x1ef)](_0x32e255,_0x13980d),_0x17b336[_0x52ed1e(0x1b2)][_0x52ed1e(0x1f5)](_0x32e255),_0x17b336;}[_0x41e953(0x1be)](_0x343a3c,_0x4eab27,_0x497a76){const _0x5513d7=_0x41e953,_0x54ff94=new _0x6e7718(this[_0x5513d7(0x1f1)]);return _0x54ff94[_0x5513d7(0x1e3)]({'attributes':{'class':['ck',_0x5513d7(0x1da),_0x5513d7(0x1ce),_0x5513d7(0x1bb)]}}),_0x4eab27[_0x5513d7(0x1dc)](_0x3e4a7d=>{const _0x5248e0=_0x5513d7,_0x3f5c58=new _0x158edd(this[_0x5248e0(0x1f1)]),_0x2d44dd=_0x35eb85(_0x343a3c,_0x3e4a7d,!0x0,!0x1)();_0x3f5c58[_0x5248e0(0x1b2)][_0x5248e0(0x1f5)](_0x2d44dd),_0x497a76[_0x5248e0(0x1b3)][_0x5248e0(0x1f5)](_0x2d44dd),_0x54ff94[_0x5248e0(0x1b9)][_0x5248e0(0x1f5)](_0x3f5c58);}),_0x54ff94;}[_0x41e953(0x1ef)](_0x54c89f,_0x1431d2){const _0x329b7e=_0x41e953,_0x32991f=_0x54c89f[_0x329b7e(0x1de)],_0x2a01e3=_0x329b7e(0x1d3)===_0x54c89f[_0x329b7e(0x1f1)][_0x329b7e(0x1ca)]?_0x329b7e(0x1f6):_0x329b7e(0x1f2);_0x54c89f[_0x329b7e(0x1e3)]({'attributes':{'class':[_0x329b7e(0x1e4)]},'on':{'mouseenter':_0x32991f['to'](()=>{const _0x374601=_0x329b7e;this[_0x374601(0x1b7)](_0x1431d2,_0x54c89f);}),'mouseleave':_0x32991f['to'](_0x439661=>{const _0x483d40=_0x329b7e,_0x5f496c=_0x439661[_0x483d40(0x1bc)];this[_0x483d40(0x1f7)](_0x5f496c,_0x1431d2)||this[_0x483d40(0x1d1)](_0x1431d2);}),'keydown':_0x32991f['to'](_0x17d2db=>{const _0x558e6a=_0x329b7e;_0x17d2db[_0x558e6a(0x1c1)]==_0x2a01e3&&(this[_0x558e6a(0x1b7)](_0x1431d2,_0x54c89f),_0x1431d2[_0x558e6a(0x1ee)][_0x558e6a(0x1d2)](0x0)[_0x558e6a(0x1e1)]());})}}),_0x1431d2['on'](_0x329b7e(0x1dd),()=>{const _0x38bf6a=_0x329b7e;_0x1431d2[_0x38bf6a(0x1f3)]?.[_0x38bf6a(0x1aa)](_0x38bf6a(0x1f8),_0x26e8c2=>{const _0x3da1e6=_0x38bf6a,_0x25aa3a=_0x26e8c2[_0x3da1e6(0x1bc)];_0x54c89f[_0x3da1e6(0x1f3)]?.[_0x3da1e6(0x1c7)](_0x25aa3a)||this[_0x3da1e6(0x1f7)](_0x25aa3a,_0x1431d2)||this[_0x3da1e6(0x1d1)](_0x1431d2);});});}[_0x41e953(0x1b7)](_0x137498,_0x3db64f){const _0x4182b1=_0x41e953;this[_0x4182b1(0x1b4)][_0x4182b1(0x1dc)](_0x101544=>{const _0x57a9df=_0x4182b1;_0x101544!==_0x137498&&_0x101544[_0x57a9df(0x1ea)]&&_0x101544[_0x57a9df(0x1ad)]();}),_0x137498[_0x4182b1(0x1cd)](),_0x137498[_0x4182b1(0x1f0)]({'positions':[_0x29df13[_0x4182b1(0x1eb)]],'target':_0x3db64f[_0x4182b1(0x1f3)],'fitInViewport':!0x0}),this[_0x4182b1(0x1b4)][_0x4182b1(0x1f5)](_0x137498);}[_0x41e953(0x1d1)](_0x40f55e){const _0x2a5036=_0x41e953;_0x40f55e[_0x2a5036(0x1ad)](),this[_0x2a5036(0x1b4)][_0x2a5036(0x1d0)](_0x40f55e);}[_0x41e953(0x1e7)](){const _0x366f3c=_0x41e953;this[_0x366f3c(0x1b4)][_0x366f3c(0x1dc)](_0x15a3cd=>_0x15a3cd[_0x366f3c(0x1ad)]()),this[_0x366f3c(0x1b4)][_0x366f3c(0x1a9)]();}[_0x41e953(0x1f7)](_0x38c57f,_0xf165fe){const _0x472e6f=_0x41e953;if(!_0x38c57f)return!0x1;if(_0xf165fe[_0x472e6f(0x1f3)]?.[_0x472e6f(0x1c7)](_0x38c57f))return!0x0;const _0xd01af3=_0x38c57f;return _0xd01af3[_0x472e6f(0x1bf)]&&(null!==_0xd01af3[_0x472e6f(0x1bf)](_0x472e6f(0x1c0))||null!==_0xd01af3[_0x472e6f(0x1bf)](_0x472e6f(0x1bd))||null!==_0xd01af3[_0x472e6f(0x1bf)](_0x472e6f(0x1e0)));}[_0x41e953(0x1d4)](){const _0x33afed=_0x41e953;this[_0x33afed(0x1e7)](),this[_0x33afed(0x1cf)][_0x33afed(0x1e6)](),super[_0x33afed(0x1d4)]();}[_0x41e953(0x1e1)](){const _0x1d279e=_0x41e953;this[_0x1d279e(0x1e5)][_0x1d279e(0x1e1)]();}}
23
+ const _0x6506cb=_0x1dcc;(function(_0x34c009,_0x3e8fa9){const _0x318353=_0x1dcc,_0x1983ca=_0x34c009();while(!![]){try{const _0x10e3fe=parseInt(_0x318353(0x1a2))/0x1*(-parseInt(_0x318353(0x174))/0x2)+-parseInt(_0x318353(0x176))/0x3+-parseInt(_0x318353(0x197))/0x4*(parseInt(_0x318353(0x177))/0x5)+-parseInt(_0x318353(0x19f))/0x6+-parseInt(_0x318353(0x185))/0x7*(-parseInt(_0x318353(0x19e))/0x8)+-parseInt(_0x318353(0x1bb))/0x9*(-parseInt(_0x318353(0x17f))/0xa)+parseInt(_0x318353(0x17a))/0xb;if(_0x10e3fe===_0x3e8fa9)break;else _0x1983ca['push'](_0x1983ca['shift']());}catch(_0xac53d){_0x1983ca['push'](_0x1983ca['shift']());}}}(_0x3035,0xaed10));function _0x1dcc(_0x592e91,_0x4cf1d8){const _0x303505=_0x3035();return _0x1dcc=function(_0x1dccc5,_0x2683b3){_0x1dccc5=_0x1dccc5-0x16b;let _0x559183=_0x303505[_0x1dccc5];return _0x559183;},_0x1dcc(_0x592e91,_0x4cf1d8);}import{View as _0x3f891c,ListItemView as _0x57221d,ListView as _0x2b56c4,BalloonPanelView as _0x45215a,DropdownMenuPanelPositioningFunctions as _0x264328,DropdownMenuButtonView as _0x300f47,ViewCollection as _0x2b3470,FocusCycler as _0x116114}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4b8b5e}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x160ee6,KeystrokeHandler as _0x5b49a5}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x355af4}from'./aiquickactionsbuttoncreator.js';const Ls=_0x6506cb(0x17e),Ns=_0x6506cb(0x1a8);export class AIQuickActionsDropdownContentView extends _0x3f891c{[_0x6506cb(0x1a4)];[_0x6506cb(0x179)];[_0x6506cb(0x198)];[_0x6506cb(0x1a6)];[_0x6506cb(0x175)];[_0x6506cb(0x19c)];[_0x6506cb(0x1b9)]=new Set();constructor(_0x5e5b48,_0x45a325,_0x4ade16,_0x464eab){const _0x4ef05c=_0x6506cb,_0x3b953e=_0x5e5b48[_0x4ef05c(0x1ae)];super(_0x3b953e),this[_0x4ef05c(0x1a4)]=_0x464eab;const _0x2a58d6=this[_0x4ef05c(0x18f)](_0x5e5b48,_0x45a325,_0x4ade16);this[_0x4ef05c(0x179)]=new _0x2b56c4(_0x3b953e),this[_0x4ef05c(0x179)][_0x4ef05c(0x184)]=Ls,this[_0x4ef05c(0x179)][_0x4ef05c(0x182)][_0x4ef05c(0x18a)](_0x2a58d6),this[_0x4ef05c(0x198)]=new _0x160ee6(),this[_0x4ef05c(0x1a6)]=new _0x5b49a5(),this[_0x4ef05c(0x175)]=_0x2a58d6,this[_0x4ef05c(0x19c)]=new _0x116114({'focusables':this[_0x4ef05c(0x175)],'focusTracker':this[_0x4ef05c(0x198)],'keystrokeHandler':this[_0x4ef05c(0x1a6)]}),this[_0x4ef05c(0x1b0)]({'tag':_0x4ef05c(0x17d),'attributes':{'class':['ck',_0x4ef05c(0x196),_0x4ef05c(0x16e),_0x4ef05c(0x18d)],'dir':_0x3b953e[_0x4ef05c(0x18b)]},'children':[this[_0x4ef05c(0x179)]]});}[_0x6506cb(0x18f)](_0x426868,_0x26f087,_0x13ec33){const _0x2bf450=_0x6506cb,_0x2445aa=new _0x2b3470();return _0x26f087[_0x2bf450(0x188)](_0x6e83c3=>{const _0x5d4e9b=_0x2bf450;_0x5d4e9b(0x17b)in _0x6e83c3?_0x2445aa[_0x5d4e9b(0x1a0)](this[_0x5d4e9b(0x1a3)](_0x426868,_0x6e83c3,_0x13ec33)):_0x2445aa[_0x5d4e9b(0x1a0)](this[_0x5d4e9b(0x16b)](_0x426868,_0x6e83c3));}),_0x2445aa;}[_0x6506cb(0x16b)](_0x58fa8a,_0xa217b4){const _0xc640be=_0x6506cb,_0x3ed017=new _0x57221d(this[_0xc640be(0x1ae)]),_0x3bca71=_0x355af4(_0x58fa8a,_0xa217b4,!0x0,void 0x0!==_0xa217b4[_0xc640be(0x180)])();return _0x3ed017[_0xc640be(0x1b8)][_0xc640be(0x1a0)](_0x3bca71),_0x3ed017;}[_0x6506cb(0x1a3)](_0x287497,_0x14b861,_0x4ab20e){const _0x2aff89=_0x6506cb,_0x478063=new _0x57221d(this[_0x2aff89(0x1ae)]),_0x486125=new _0x300f47(this[_0x2aff89(0x1ae)]),_0x1be5f7=_0x486125[_0x2aff89(0x181)],_0x2aa4da=_0x2aff89(0x191)===_0x4ab20e[_0x2aff89(0x1ae)][_0x2aff89(0x18b)]?_0x2aff89(0x18e):_0x2aff89(0x190),_0x3214f0=this[_0x2aff89(0x19d)](_0x287497,_0x14b861[_0x2aff89(0x17b)],_0x4ab20e);_0x486125[_0x2aff89(0x192)]({'label':_0x14b861[_0x2aff89(0x16f)],'withText':!0x0,'role':Ns,'icon':_0x14b861[_0x2aff89(0x180)]??_0x4b8b5e}),_0x486125[_0x2aff89(0x1af)]({'on':{'mouseenter':_0x1be5f7['to'](()=>{const _0xee7710=_0x2aff89;_0x486125[_0xee7710(0x1ad)]();})}});const _0x339019=new _0x45215a(this[_0x2aff89(0x1ae)]);return _0x339019[_0x2aff89(0x1af)]({'attributes':{'class':['ck',_0x2aff89(0x196),_0x2aff89(0x193),_0x2aff89(0x17c)]},'on':{'keydown':_0x1be5f7['to'](_0x33525d=>{const _0x14ba25=_0x2aff89;_0x33525d[_0x14ba25(0x1b1)]==_0x2aa4da&&(_0x486125[_0x14ba25(0x1ad)](),this[_0x14ba25(0x1a9)](_0x339019));})}}),_0x486125[_0x2aff89(0x195)](_0x2aff89(0x1b7))['to'](_0x339019,_0x2aff89(0x1b4)),this[_0x2aff89(0x1a4)][_0x2aff89(0x1a0)](_0x339019),_0x339019[_0x2aff89(0x19a)][_0x2aff89(0x1a0)](_0x3214f0),this[_0x2aff89(0x172)](_0x486125,_0x339019),_0x478063[_0x2aff89(0x1b8)][_0x2aff89(0x1a0)](_0x486125),_0x478063;}[_0x6506cb(0x19d)](_0xb5301f,_0x4b8858,_0x478142){const _0xd0fc74=_0x6506cb,_0x448f4c=new _0x2b56c4(this[_0xd0fc74(0x1ae)]);return _0x448f4c[_0xd0fc74(0x1af)]({'attributes':{'class':['ck',_0xd0fc74(0x196),_0xd0fc74(0x1b5),_0xd0fc74(0x1b2)]}}),_0x4b8858[_0xd0fc74(0x188)](_0x518038=>{const _0x59d653=_0xd0fc74,_0x5c78b9=new _0x57221d(this[_0x59d653(0x1ae)]),_0x2caa27=_0x355af4(_0xb5301f,_0x518038,!0x0,!0x1)();_0x5c78b9[_0x59d653(0x1b8)][_0x59d653(0x1a0)](_0x2caa27),_0x478142[_0x59d653(0x198)][_0x59d653(0x1a0)](_0x2caa27),_0x448f4c[_0x59d653(0x182)][_0x59d653(0x1a0)](_0x5c78b9);}),_0x448f4c;}[_0x6506cb(0x172)](_0x338ea6,_0x370258){const _0x409c71=_0x6506cb,_0x346221=_0x338ea6[_0x409c71(0x181)],_0x4605b7=_0x409c71(0x191)===_0x338ea6[_0x409c71(0x1ae)][_0x409c71(0x18b)]?_0x409c71(0x190):_0x409c71(0x18e);_0x338ea6[_0x409c71(0x1af)]({'attributes':{'class':[_0x409c71(0x1ab)]},'on':{'mouseenter':_0x346221['to'](()=>{const _0x59fdb4=_0x409c71;this[_0x59fdb4(0x183)](_0x370258,_0x338ea6);}),'mouseleave':_0x346221['to'](_0x4c805c=>{const _0xaf219=_0x409c71,_0x3eef45=_0x4c805c[_0xaf219(0x1a5)];this[_0xaf219(0x1a1)](_0x3eef45,_0x370258)||this[_0xaf219(0x1a9)](_0x370258);}),'keydown':_0x346221['to'](_0x4aaff7=>{const _0x516e3e=_0x409c71;_0x4aaff7[_0x516e3e(0x1b1)]==_0x4605b7&&(this[_0x516e3e(0x183)](_0x370258,_0x338ea6),_0x370258[_0x516e3e(0x19a)][_0x516e3e(0x19b)](0x0)[_0x516e3e(0x1ad)]());})}}),_0x370258['on'](_0x409c71(0x1aa),()=>{const _0x5bf496=_0x409c71;_0x370258[_0x5bf496(0x186)]?.[_0x5bf496(0x189)](_0x5bf496(0x18c),_0x6e1ea=>{const _0x4d02ec=_0x5bf496,_0x561829=_0x6e1ea[_0x4d02ec(0x1a5)];_0x338ea6[_0x4d02ec(0x186)]?.[_0x4d02ec(0x171)](_0x561829)||this[_0x4d02ec(0x1a1)](_0x561829,_0x370258)||this[_0x4d02ec(0x1a9)](_0x370258);});});}[_0x6506cb(0x183)](_0x4a66cb,_0x3a1c28){const _0x2989f7=_0x6506cb;this[_0x2989f7(0x1b9)][_0x2989f7(0x188)](_0x2cc178=>{const _0x21e09e=_0x2989f7;_0x2cc178!==_0x4a66cb&&_0x2cc178[_0x21e09e(0x1b4)]&&_0x2cc178[_0x21e09e(0x170)]();}),_0x4a66cb[_0x2989f7(0x16c)](),_0x4a66cb[_0x2989f7(0x199)]({'positions':[_0x264328[_0x2989f7(0x173)]],'target':_0x3a1c28[_0x2989f7(0x186)],'fitInViewport':!0x0}),this[_0x2989f7(0x1b9)][_0x2989f7(0x1a0)](_0x4a66cb);}[_0x6506cb(0x1a9)](_0x1445a8){const _0x1241f9=_0x6506cb;_0x1445a8[_0x1241f9(0x170)](),this[_0x1241f9(0x1b9)][_0x1241f9(0x178)](_0x1445a8);}[_0x6506cb(0x187)](){const _0x468b45=_0x6506cb;this[_0x468b45(0x1b9)][_0x468b45(0x188)](_0x3adb37=>_0x3adb37[_0x468b45(0x170)]()),this[_0x468b45(0x1b9)][_0x468b45(0x1a7)]();}[_0x6506cb(0x1a1)](_0x1f6075,_0x384a71){const _0x21e4db=_0x6506cb;if(!_0x1f6075)return!0x1;if(_0x384a71[_0x21e4db(0x186)]?.[_0x21e4db(0x171)](_0x1f6075))return!0x0;const _0x3362f4=_0x1f6075;return _0x3362f4[_0x21e4db(0x1ac)]&&(null!==_0x3362f4[_0x21e4db(0x1ac)](_0x21e4db(0x1ba))||null!==_0x3362f4[_0x21e4db(0x1ac)](_0x21e4db(0x1b3))||null!==_0x3362f4[_0x21e4db(0x1ac)](_0x21e4db(0x194)));}[_0x6506cb(0x1b6)](){const _0xdbd55e=_0x6506cb;this[_0xdbd55e(0x187)](),this[_0xdbd55e(0x1a4)][_0xdbd55e(0x16d)](),super[_0xdbd55e(0x1b6)]();}[_0x6506cb(0x1ad)](){const _0x23149d=_0x6506cb;this[_0x23149d(0x179)][_0x23149d(0x1ad)]();}}function _0x3035(){const _0x27a1da=['clear','menuitem','_hideNestedPanel','render','ck-ai-quick-actions-group-button','closest','focus','locale','extendTemplate','setTemplate','key','ck-dropdown-menu-list','.ck-ai-quick-actions-group-list','isVisible','ck-ai-quick-actions-group-list','destroy','isOn','children','_openNestedPanels','.ck-ai-quick-actions-group-panel','99uuEmAp','_createActionButton','show','detachFromDom','ck-ai-quick-actions','label','hide','contains','_setupGroupMenuBehavior','eastSouth','9346VwjWtK','_focusables','2481573hdBwQS','761705VeLwCH','delete','optionsListView','9780496NHungp','actions','ck-dropdown-menu__nested-menu__panel','div','menu','1204380lNnvpn','icon','bindTemplate','items','_showNestedPanel','role','154UlZhLk','element','_hideAllNestedPanels','forEach','addEventListener','addMany','uiLanguageDirection','mouseleave','ck-rounded-corners','ArrowRight','_createListItems','ArrowLeft','rtl','set','ck-ai-quick-actions-group-panel','.ck-ai-quick-actions-group-button','bind','ck-reset_all','28fVvznI','focusTracker','pin','content','get','focusCycler','_createGroupActionsList','517336KpPuGD','2489034iEpncG','add','_isMovingToNestedMenu','131NUnWWP','_createActionGroupButton','_bodyCollection','relatedTarget','keystrokes'];_0x3035=function(){return _0x27a1da;};return _0x3035();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x6f60f9,_0x57f458){const _0x3e0e25=_0x507f,_0x41ad75=_0x6f60f9();while(!![]){try{const _0x272277=-parseInt(_0x3e0e25(0x1d9))/0x1*(parseInt(_0x3e0e25(0x1cd))/0x2)+-parseInt(_0x3e0e25(0x1d5))/0x3+-parseInt(_0x3e0e25(0x1d1))/0x4*(parseInt(_0x3e0e25(0x1ca))/0x5)+parseInt(_0x3e0e25(0x1d2))/0x6*(-parseInt(_0x3e0e25(0x1cb))/0x7)+-parseInt(_0x3e0e25(0x1c8))/0x8+parseInt(_0x3e0e25(0x1d8))/0x9+parseInt(_0x3e0e25(0x1d0))/0xa;if(_0x272277===_0x57f458)break;else _0x41ad75['push'](_0x41ad75['shift']());}catch(_0x18c9e7){_0x41ad75['push'](_0x41ad75['shift']());}}}(_0x445b,0x804a5));import{createDropdown as _0x555924}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4488ad}from'@ckeditor/ckeditor5-icons';function _0x507f(_0x45b300,_0x411fa8){const _0x445b01=_0x445b();return _0x507f=function(_0x507f05,_0x47f2c5){_0x507f05=_0x507f05-0x1c7;let _0x245f4f=_0x445b01[_0x507f05];return _0x245f4f;},_0x507f(_0x45b300,_0x411fa8);}function _0x445b(){const _0x5390e0=['buttonView','1975437yKNRUx','add','set','470862fcjPxS','3073nGFryd','ck-ai-quick-actions-dropdown','4168072lGoFxJ','children','65905kJvJBm','141498gXgloU','label','374NqyUkE','panelView','locale','32370190QcCvXn','196NzXGjC','108RNRSzy','icon'];_0x445b=function(){return _0x5390e0;};return _0x445b();}import{AIQuickActionsDropdownContentView as _0x5d4465}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x244016,_0x43b536,_0x546186,_0x30a152){return()=>{const _0x27528d=_0x507f,_0x427f5b=_0x244016[_0x27528d(0x1cf)],_0x3ea738=_0x555924(_0x427f5b);_0x3ea738[_0x27528d(0x1d4)][_0x27528d(0x1d7)]({'icon':_0x546186[_0x27528d(0x1d3)]??_0x4488ad,'label':_0x546186[_0x27528d(0x1cc)],'tooltip':!0x0}),_0x3ea738[_0x27528d(0x1d7)]({'class':_0x27528d(0x1c7)});const _0x3eb429=new _0x5d4465(_0x244016,_0x43b536,_0x3ea738,_0x30a152);return _0x3ea738[_0x27528d(0x1ce)][_0x27528d(0x1c9)][_0x27528d(0x1d6)](_0x3eb429),_0x3ea738;};}
23
+ function _0x3196(_0x341787,_0x2c7214){const _0x5d140f=_0x5d14();return _0x3196=function(_0x3196a6,_0x582652){_0x3196a6=_0x3196a6-0xc1;let _0x2a63b5=_0x5d140f[_0x3196a6];return _0x2a63b5;},_0x3196(_0x341787,_0x2c7214);}function _0x5d14(){const _0x5c0f61=['set','buttonView','61746zdWWyv','locale','140336icCMyf','78846nfQMPl','387388PsvgmV','icon','ck-ai-quick-actions-dropdown','2980DbgMhT','panelView','201249FsCSkb','add','label','56365kKwTZB','5IDxoNp','98yKDzPu','5401tVBOWG','children','104YSLgeh'];_0x5d14=function(){return _0x5c0f61;};return _0x5d14();}(function(_0x3c73bd,_0x48c529){const _0x55b8f7=_0x3196,_0x1ee83b=_0x3c73bd();while(!![]){try{const _0x2e1570=parseInt(_0x55b8f7(0xca))/0x1+-parseInt(_0x55b8f7(0xd4))/0x2+-parseInt(_0x55b8f7(0xc1))/0x3+-parseInt(_0x55b8f7(0xc2))/0x4*(parseInt(_0x55b8f7(0xcb))/0x5)+-parseInt(_0x55b8f7(0xd2))/0x6*(parseInt(_0x55b8f7(0xcc))/0x7)+parseInt(_0x55b8f7(0xcf))/0x8*(parseInt(_0x55b8f7(0xc7))/0x9)+parseInt(_0x55b8f7(0xc5))/0xa*(parseInt(_0x55b8f7(0xcd))/0xb);if(_0x2e1570===_0x48c529)break;else _0x1ee83b['push'](_0x1ee83b['shift']());}catch(_0x15c52c){_0x1ee83b['push'](_0x1ee83b['shift']());}}}(_0x5d14,0x26165));import{createDropdown as _0x5723cb}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3848a7}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x2adc3e}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x7eaf2d,_0x289e02,_0x1bf3a6,_0xbd2979){return()=>{const _0x475112=_0x3196,_0x3debda=_0x7eaf2d[_0x475112(0xd3)],_0x33b368=_0x5723cb(_0x3debda);_0x33b368[_0x475112(0xd1)][_0x475112(0xd0)]({'icon':_0x1bf3a6[_0x475112(0xc3)]??_0x3848a7,'label':_0x1bf3a6[_0x475112(0xc9)],'tooltip':!0x0}),_0x33b368[_0x475112(0xd0)]({'class':_0x475112(0xc4)});const _0x5bced0=new _0x2adc3e(_0x7eaf2d,_0x289e02,_0x33b368,_0xbd2979);return _0x33b368[_0x475112(0xc6)][_0x475112(0xce)][_0x475112(0xc8)](_0x5bced0),_0x33b368;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x13e857=_0x1c88;(function(_0x4cddd0,_0x513641){var _0x2fffa2=_0x1c88,_0x576c87=_0x4cddd0();while(!![]){try{var _0x5b05be=-parseInt(_0x2fffa2(0xff))/0x1*(-parseInt(_0x2fffa2(0x108))/0x2)+parseInt(_0x2fffa2(0x106))/0x3*(parseInt(_0x2fffa2(0x10b))/0x4)+-parseInt(_0x2fffa2(0x105))/0x5+-parseInt(_0x2fffa2(0x100))/0x6*(parseInt(_0x2fffa2(0x10c))/0x7)+-parseInt(_0x2fffa2(0x102))/0x8+parseInt(_0x2fffa2(0x103))/0x9*(parseInt(_0x2fffa2(0x104))/0xa)+parseInt(_0x2fffa2(0x109))/0xb;if(_0x5b05be===_0x513641)break;else _0x576c87['push'](_0x576c87['shift']());}catch(_0x3c1ece){_0x576c87['push'](_0x576c87['shift']());}}}(_0x3607,0x3bd78));import{ContextPlugin as _0x4ad5b8}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4de9bc}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x25a11f}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x160598}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x4ad5b8{static get[_0x13e857(0x107)](){return[_0x4de9bc,_0x25a11f,_0x160598];}static get[_0x13e857(0x10d)](){var _0x59f6e5=_0x13e857;return _0x59f6e5(0x10e);}static get[_0x13e857(0x10a)](){return!0x0;}static get[_0x13e857(0x101)](){return!0x0;}}function _0x1c88(_0x524ae1,_0x211d21){var _0x3607a4=_0x3607();return _0x1c88=function(_0x1c883f,_0x268681){_0x1c883f=_0x1c883f-0xff;var _0x42f4a4=_0x3607a4[_0x1c883f];return _0x42f4a4;},_0x1c88(_0x524ae1,_0x211d21);}function _0x3607(){var _0x149163=['20KOEJcf','1083130KIDvMV','45NdYbSN','requires','628780AngODn','116259fZJOJv','isOfficialPlugin','100120NmYBkD','679693jggfxz','pluginName','AIReviewMode','1qwvHgW','18ZFWBHM','isPremiumPlugin','3139168qsLXDs','2002599npnDKw'];_0x3607=function(){return _0x149163;};return _0x3607();}
23
+ var _0x5e6ab6=_0x4085;(function(_0x42d061,_0x28fa98){var _0x5cabe4=_0x4085,_0xc10109=_0x42d061();while(!![]){try{var _0x2f114b=parseInt(_0x5cabe4(0xc0))/0x1*(-parseInt(_0x5cabe4(0xbe))/0x2)+parseInt(_0x5cabe4(0xb7))/0x3+parseInt(_0x5cabe4(0xbc))/0x4*(parseInt(_0x5cabe4(0xbf))/0x5)+-parseInt(_0x5cabe4(0xb6))/0x6+-parseInt(_0x5cabe4(0xb8))/0x7+parseInt(_0x5cabe4(0xc2))/0x8+parseInt(_0x5cabe4(0xba))/0x9*(parseInt(_0x5cabe4(0xb9))/0xa);if(_0x2f114b===_0x28fa98)break;else _0xc10109['push'](_0xc10109['shift']());}catch(_0x36e72f){_0xc10109['push'](_0xc10109['shift']());}}}(_0x4477,0xca3a8));import{ContextPlugin as _0x512afd}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x62d115}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x3f0c14}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x28ca36}from'./aireviewmodeediting.js';function _0x4085(_0x1beeae,_0x256eb4){var _0x447764=_0x4477();return _0x4085=function(_0x4085ff,_0x35cd5b){_0x4085ff=_0x4085ff-0xb4;var _0x42ee02=_0x447764[_0x4085ff];return _0x42ee02;},_0x4085(_0x1beeae,_0x256eb4);}export class AIReviewMode extends _0x512afd{static get[_0x5e6ab6(0xbd)](){return[_0x62d115,_0x3f0c14,_0x28ca36];}static get[_0x5e6ab6(0xbb)](){var _0xa83e52=_0x5e6ab6;return _0xa83e52(0xb4);}static get[_0x5e6ab6(0xb5)](){return!0x0;}static get[_0x5e6ab6(0xc1)](){return!0x0;}}function _0x4477(){var _0x2a3ecc=['75906orUUgn','pluginName','352mnpMig','requires','3112742WqyssX','62160rCvTgo','1rIJJNR','isPremiumPlugin','939968sHcEpA','AIReviewMode','isOfficialPlugin','5053824IGFIsR','876981ucBxGe','4645606GqXZvz','2830AtcbzY'];_0x4477=function(){return _0x2a3ecc;};return _0x4477();}