@ckeditor/ckeditor5-ai 47.7.0-alpha.0 → 47.7.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  5. package/src/aiactions/model/aiactionsreply.js +1 -1
  6. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  7. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  8. package/src/aiassistant/aiassistant.js +1 -1
  9. package/src/aiassistant/aiassistantediting.js +1 -1
  10. package/src/aiassistant/aiassistantui.js +1 -1
  11. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  12. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  13. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  14. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  15. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  16. package/src/aiassistant/ui/form/aiformview.js +1 -1
  17. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  18. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  19. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  20. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  21. package/src/aiballoon/aiballoon.js +1 -1
  22. package/src/aiballoon/ui/aiballoonview.js +1 -1
  23. package/src/aichat/aichat.js +1 -1
  24. package/src/aichat/aichatballoon.js +1 -1
  25. package/src/aichat/aichatcontroller.js +1 -1
  26. package/src/aichat/aichatui.js +1 -1
  27. package/src/aichat/model/aichatcontext.js +1 -1
  28. package/src/aichat/model/aichatconversation.js +1 -1
  29. package/src/aichat/model/aichatinteraction.js +1 -1
  30. package/src/aichat/ui/aichatballoonview.js +1 -1
  31. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  32. package/src/aichat/ui/aichatfeedview.js +1 -1
  33. package/src/aichat/ui/aichatheaderview.js +1 -1
  34. package/src/aichat/ui/aichatview.js +1 -1
  35. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  36. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  37. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  38. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  40. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  41. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  43. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  44. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  48. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  49. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  57. package/src/aichat/utils/eventnames.js +1 -1
  58. package/src/aichat/utils/promisequeue.js +1 -1
  59. package/src/aichathistory/aichathistory.js +1 -1
  60. package/src/aichathistory/aichathistorycontroller.js +1 -1
  61. package/src/aichathistory/aichathistoryui.js +1 -1
  62. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  63. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  64. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  65. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  66. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  67. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  68. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  69. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  70. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  71. package/src/aicore/aiconnector.js +1 -1
  72. package/src/aicore/aiediting.js +1 -1
  73. package/src/aicore/model/aicapabilities.js +1 -1
  74. package/src/aicore/model/aiinteraction.js +1 -1
  75. package/src/aicore/model/aimodels.js +1 -1
  76. package/src/aicore/model/aireply.js +1 -1
  77. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  78. package/src/aicore/pipeline/airesponseparser.js +2 -2
  79. package/src/aicore/ui/aidisclaimerview.js +1 -1
  80. package/src/aicore/ui/aiskeleton.js +1 -1
  81. package/src/aicore/ui/aispinner.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  87. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  88. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  89. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  90. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  91. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  92. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  93. package/src/aicore/utils/createresizebutton.js +1 -1
  94. package/src/aicore/utils/documentrange.js +1 -1
  95. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  96. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  97. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  98. package/src/aicore/utils/htmlparser.js +1 -1
  99. package/src/aicore/utils/htmlstreamer.js +1 -1
  100. package/src/aieditorintegration/aieditorintegration.js +1 -1
  101. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  102. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  103. package/src/aiquickactions/aiquickactions.js +1 -1
  104. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  105. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  106. package/src/aiquickactions/aiquickactionsui.js +1 -1
  107. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  108. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  109. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  110. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  111. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  112. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  113. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  114. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  115. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  116. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  117. package/src/aireviewcore/aireviewcoreui.js +1 -1
  118. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  119. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  120. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  121. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  122. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  123. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  124. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  125. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  126. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  127. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  128. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  129. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  130. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  131. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  132. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  133. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  134. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  135. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  136. package/src/aireviewmode/aireviewmode.js +1 -1
  137. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  138. package/src/aireviewmode/aireviewmodeui.js +1 -1
  139. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  140. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  141. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  142. package/src/aitabs/aitabs.js +1 -1
  143. package/src/aitabs/tabs/aitabsview.js +1 -1
  144. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  145. package/src/aitabs/tabs/tabpanelview.js +1 -1
  146. package/src/aitranslate/aitranslate.js +1 -1
  147. package/src/aitranslate/aitranslatecontroller.js +1 -1
  148. package/src/aitranslate/aitranslateui.js +1 -1
  149. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  150. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  151. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4dcf(_0x40e671,_0x486d5d){var _0x22d935=_0x22d9();return _0x4dcf=function(_0x4dcf28,_0x381dea){_0x4dcf28=_0x4dcf28-0x1ec;var _0x7c2884=_0x22d935[_0x4dcf28];return _0x7c2884;},_0x4dcf(_0x40e671,_0x486d5d);}var _0x14c516=_0x4dcf;(function(_0x3fe92d,_0xab1c82){var _0xb90154=_0x4dcf,_0x4788e3=_0x3fe92d();while(!![]){try{var _0x5c559c=parseInt(_0xb90154(0x1f7))/0x1+-parseInt(_0xb90154(0x1f0))/0x2*(parseInt(_0xb90154(0x1ed))/0x3)+-parseInt(_0xb90154(0x1f4))/0x4*(-parseInt(_0xb90154(0x1f2))/0x5)+parseInt(_0xb90154(0x1f5))/0x6+parseInt(_0xb90154(0x1f3))/0x7*(-parseInt(_0xb90154(0x1f8))/0x8)+parseInt(_0xb90154(0x1ef))/0x9+parseInt(_0xb90154(0x1f9))/0xa*(-parseInt(_0xb90154(0x1ee))/0xb);if(_0x5c559c===_0xab1c82)break;else _0x4788e3['push'](_0x4788e3['shift']());}catch(_0x3b23ce){_0x4788e3['push'](_0x4788e3['shift']());}}}(_0x22d9,0xa460a));import{EmitterMixin as _0x47bc46}from'ckeditor5/src/utils.js';function _0x22d9(){var _0x260f92=['407wgeSOo','8457156CBSIWZ','142rPwhcQ','contentInitial','6534905YiIWlT','210fQKpZe','4HTNsoA','6482556bUBjHn','documentVersion','688541MUhvgi','18664tFuVuh','820270Ikuqgc','contentNew','10029cmKlOj'];_0x22d9=function(){return _0x260f92;};return _0x22d9();}export class AIReviewCheckResult extends _0x47bc46(){['id'];[_0x14c516(0x1ec)];[_0x14c516(0x1f1)];[_0x14c516(0x1f6)];constructor({id:_0x4d1829,contentNew:_0x24f494,contentInitial:_0x2ba39a,documentVersion:_0x96f690}){var _0x92ed16=_0x14c516;super(),this['id']=_0x4d1829,this[_0x92ed16(0x1ec)]=_0x24f494,this[_0x92ed16(0x1f1)]=_0x2ba39a,this[_0x92ed16(0x1f6)]=_0x96f690;}}
23
+ var _0x492670=_0x4f93;(function(_0x48e3a5,_0x4cff23){var _0x513a60=_0x4f93,_0x30ca82=_0x48e3a5();while(!![]){try{var _0x1480ae=parseInt(_0x513a60(0x1ed))/0x1+-parseInt(_0x513a60(0x1ee))/0x2+parseInt(_0x513a60(0x1ea))/0x3+-parseInt(_0x513a60(0x1e8))/0x4*(-parseInt(_0x513a60(0x1e6))/0x5)+parseInt(_0x513a60(0x1ef))/0x6*(-parseInt(_0x513a60(0x1e9))/0x7)+parseInt(_0x513a60(0x1f1))/0x8+parseInt(_0x513a60(0x1e7))/0x9;if(_0x1480ae===_0x4cff23)break;else _0x30ca82['push'](_0x30ca82['shift']());}catch(_0x493ea3){_0x30ca82['push'](_0x30ca82['shift']());}}}(_0x2757,0x42511));import{EmitterMixin as _0x38e513}from'ckeditor5/src/utils.js';function _0x2757(){var _0x1a7acd=['207711KUzHta','402504nkLqhV','contentNew','documentVersion','49594Asjofn','809670BQhpgf','18FTGOeW','contentInitial','921304pEdFUE','19070mXrgRf','2105172jONbUS','244sqesSm'];_0x2757=function(){return _0x1a7acd;};return _0x2757();}function _0x4f93(_0x47f672,_0x18ba7d){var _0x27571b=_0x2757();return _0x4f93=function(_0x4f9373,_0x11fb54){_0x4f9373=_0x4f9373-0x1e6;var _0x3c0780=_0x27571b[_0x4f9373];return _0x3c0780;},_0x4f93(_0x47f672,_0x18ba7d);}export class AIReviewCheckResult extends _0x38e513(){['id'];[_0x492670(0x1eb)];[_0x492670(0x1f0)];[_0x492670(0x1ec)];constructor({id:_0x56cf65,contentNew:_0x319f85,contentInitial:_0x18d030,documentVersion:_0x2625f9}){var _0x309238=_0x492670;super(),this['id']=_0x56cf65,this[_0x309238(0x1eb)]=_0x319f85,this[_0x309238(0x1f0)]=_0x18d030,this[_0x309238(0x1ec)]=_0x2625f9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1503c8=_0x23e5;(function(_0x5a45d5,_0x2b07d6){var _0x28c74f=_0x23e5,_0x3f8990=_0x5a45d5();while(!![]){try{var _0x126402=parseInt(_0x28c74f(0x1a7))/0x1+-parseInt(_0x28c74f(0x1a3))/0x2*(-parseInt(_0x28c74f(0x19e))/0x3)+parseInt(_0x28c74f(0x197))/0x4+parseInt(_0x28c74f(0x195))/0x5+-parseInt(_0x28c74f(0x19c))/0x6*(parseInt(_0x28c74f(0x19f))/0x7)+parseInt(_0x28c74f(0x194))/0x8*(-parseInt(_0x28c74f(0x19b))/0x9)+-parseInt(_0x28c74f(0x198))/0xa*(parseInt(_0x28c74f(0x1a5))/0xb);if(_0x126402===_0x2b07d6)break;else _0x3f8990['push'](_0x3f8990['shift']());}catch(_0x238d05){_0x3f8990['push'](_0x3f8990['shift']());}}}(_0xeb78,0x9b9c6));import{ObservableMixin as _0x271516}from'ckeditor5/src/utils.js';function _0x23e5(_0x54832c,_0x4be260){var _0xeb7885=_0xeb78();return _0x23e5=function(_0x23e5e0,_0xb9f2b1){_0x23e5e0=_0x23e5e0-0x194;var _0x2f3e99=_0xeb7885[_0x23e5e0];return _0x2f3e99;},_0x23e5(_0x54832c,_0x4be260);}export class AIReviewCheckResultChange extends _0x271516(){['id'];[_0x1503c8(0x199)];[_0x1503c8(0x1a2)];[_0x1503c8(0x1a1)]=[];constructor(_0x39e237,_0xb5fec4,_0x2a120e){var _0x5e1f0d=_0x1503c8;super(),this['id']=_0x39e237,this[_0x5e1f0d(0x199)]=_0x2a120e,this[_0x5e1f0d(0x1a2)]=_0xb5fec4,this[_0x5e1f0d(0x1a0)](_0x5e1f0d(0x19d),!0x1),this[_0x5e1f0d(0x1a0)](_0x5e1f0d(0x1aa),!0x1),this[_0x5e1f0d(0x1a0)](_0x5e1f0d(0x1a9),_0x5e1f0d(0x19a)),this['on'](_0x5e1f0d(0x1ab),()=>{var _0x10ae88=_0x5e1f0d;_0x10ae88(0x19a)!==this[_0x10ae88(0x1a9)]&&this[_0x10ae88(0x19d)]&&(this[_0x10ae88(0x19d)]=!0x1);});}get[_0x1503c8(0x1a4)](){var _0x136679=_0x1503c8;return this[_0x136679(0x1a2)][_0x136679(0x196)]();}get[_0x1503c8(0x1a8)](){var _0x68a5d0=_0x1503c8;return this[_0x68a5d0(0x1a2)][_0x68a5d0(0x1a8)];}get[_0x1503c8(0x1a6)](){var _0x59c5a8=_0x1503c8;return this[_0x59c5a8(0x1a2)][_0x59c5a8(0x1a6)];}}function _0xeb78(){var _0x497ec1=['4746364QPRBBb','10HoEGFy','parent','pending','999ZdThot','18Dlejmi','isActivated','596661SbGVTt','380135alIiCj','set','_editorOperations','_data','2PMRXeG','contentDiffed','23471921OeZqtl','operationsIsolated','1099548uWIZIk','operations','status','isRated','change:status','17048AuBoFZ','3428115LmZimG','context'];_0xeb78=function(){return _0x497ec1;};return _0xeb78();}
23
+ function _0x5449(_0x4c6d98,_0x3bd702){var _0x4466b0=_0x4466();return _0x5449=function(_0x544924,_0x4da7c0){_0x544924=_0x544924-0x18c;var _0x17374a=_0x4466b0[_0x544924];return _0x17374a;},_0x5449(_0x4c6d98,_0x3bd702);}var _0x1f7961=_0x5449;(function(_0x3bf034,_0x3aace9){var _0x4c3d01=_0x5449,_0x2c76e9=_0x3bf034();while(!![]){try{var _0xbe0803=parseInt(_0x4c3d01(0x196))/0x1*(-parseInt(_0x4c3d01(0x18d))/0x2)+parseInt(_0x4c3d01(0x18f))/0x3*(-parseInt(_0x4c3d01(0x1a3))/0x4)+parseInt(_0x4c3d01(0x197))/0x5+parseInt(_0x4c3d01(0x199))/0x6*(-parseInt(_0x4c3d01(0x19c))/0x7)+-parseInt(_0x4c3d01(0x18c))/0x8+-parseInt(_0x4c3d01(0x19b))/0x9*(parseInt(_0x4c3d01(0x18e))/0xa)+parseInt(_0x4c3d01(0x191))/0xb;if(_0xbe0803===_0x3aace9)break;else _0x2c76e9['push'](_0x2c76e9['shift']());}catch(_0x5daab9){_0x2c76e9['push'](_0x2c76e9['shift']());}}}(_0x4466,0x2127a));function _0x4466(){var _0x2b022e=['10BckjYf','15uRAGhM','status','4705558eezhaF','isRated','operations','set','change:status','2pOTsMM','795885vgYmUn','operationsIsolated','6lpFDam','context','584235vAndax','265307WbfDES','contentDiffed','parent','_editorOperations','pending','_data','isActivated','173656jUrimK','892072BVjmNn','19758hhoevd'];_0x4466=function(){return _0x2b022e;};return _0x4466();}import{ObservableMixin as _0x5241a7}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x5241a7(){['id'];[_0x1f7961(0x19e)];[_0x1f7961(0x1a1)];[_0x1f7961(0x19f)]=[];constructor(_0x1ce825,_0x12b026,_0xd31b20){var _0xe4b1a7=_0x1f7961;super(),this['id']=_0x1ce825,this[_0xe4b1a7(0x19e)]=_0xd31b20,this[_0xe4b1a7(0x1a1)]=_0x12b026,this[_0xe4b1a7(0x194)](_0xe4b1a7(0x1a2),!0x1),this[_0xe4b1a7(0x194)](_0xe4b1a7(0x192),!0x1),this[_0xe4b1a7(0x194)](_0xe4b1a7(0x190),_0xe4b1a7(0x1a0)),this['on'](_0xe4b1a7(0x195),()=>{var _0x1515e2=_0xe4b1a7;_0x1515e2(0x1a0)!==this[_0x1515e2(0x190)]&&this[_0x1515e2(0x1a2)]&&(this[_0x1515e2(0x1a2)]=!0x1);});}get[_0x1f7961(0x19d)](){var _0x2375fe=_0x1f7961;return this[_0x2375fe(0x1a1)][_0x2375fe(0x19a)]();}get[_0x1f7961(0x193)](){var _0x37e3aa=_0x1f7961;return this[_0x37e3aa(0x1a1)][_0x37e3aa(0x193)];}get[_0x1f7961(0x198)](){var _0x3fc3c1=_0x1f7961;return this[_0x3fc3c1(0x1a1)][_0x3fc3c1(0x198)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4973(){const _0x4fbdcb=['getStream','_wasAborted','pending','1546844CByssK','_sendRatingRequest','unmodified','_currentError','_reviewArgs','reviewCheckResultAdded','reviewCheckResultChangeStatusUpdated','push','find','_sourceCheck','reviewCheckResultActivated','parent','forceReadyState','size','reviewCheckResultReady','callId','reviewCheckResultDeactivated','activateChange','error-general','fire','_changes','restart','getChangeById','finished','set','subTitle','data','error-chunk','change:isActivated','status','markAllChangesAsAccepted','processedResultsCount','getActiveChanges','reviewCheckRunUpdated','3081480pcSWcC','version','some','isActivated','750858nlaGMr','abort','markChangeAsPending','sendRating','_aiConnector','error','isAnyChangeActivated','operation','forEach','start','isRated','_addReviewCheckResult','hasModifications','filter','ai-request-aborted','initialized','elements','markChangeAsOutdated','_activeRequest','addResultChanges','markChangeAsRejected','ready','review-metadata','outdated','6YaqKeC','aborted','title','1557850yiGKkV','change:status','1405191WwKsrq','80609npkcfT','event','includes','loading','_results','deactivateChange','rejected','accepted','markChangeAsAccepted','_documentData','isChangeActive','message','length','1477700NmFQTq','every','currentError','reviewName','get','documentData','_createApiRequest','clear','_reviewParams','getContent','abortController','_checkIfFinished','textDelta','updateDocumentData','dataId'];_0x4973=function(){return _0x4fbdcb;};return _0x4973();}const _0x5925e0=_0x46cc;(function(_0x15c3d0,_0x22b34f){const _0x455e63=_0x46cc,_0x448155=_0x15c3d0();while(!![]){try{const _0x50bba4=-parseInt(_0x455e63(0x13e))/0x1*(parseInt(_0x455e63(0x138))/0x2)+parseInt(_0x455e63(0x13d))/0x3+-parseInt(_0x455e63(0x15d))/0x4+-parseInt(_0x455e63(0x13b))/0x5+parseInt(_0x455e63(0x183))/0x6+parseInt(_0x455e63(0x14b))/0x7+parseInt(_0x455e63(0x17f))/0x8;if(_0x50bba4===_0x22b34f)break;else _0x448155['push'](_0x448155['shift']());}catch(_0x19244b){_0x448155['push'](_0x448155['shift']());}}}(_0x4973,0x3cf75));function _0x46cc(_0x447a2a,_0x4462cb){const _0x4973df=_0x4973();return _0x46cc=function(_0x46cc33,_0x4a368e){_0x46cc33=_0x46cc33-0x12d;let _0x3eb1b2=_0x4973df[_0x46cc33];return _0x3eb1b2;},_0x46cc(_0x447a2a,_0x4462cb);}import{ObservableMixin as _0x391050,uid as _0x258e89}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x43f6ca}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x3dd345}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x391050(){['id']=_0x258e89();[_0x5925e0(0x16c)];[_0x5925e0(0x142)]=new Map();[_0x5925e0(0x171)]=[];[_0x5925e0(0x166)];[_0x5925e0(0x147)];[_0x5925e0(0x187)];[_0x5925e0(0x153)];[_0x5925e0(0x161)];[_0x5925e0(0x132)]=null;[_0x5925e0(0x160)];[_0x5925e0(0x15b)]=!0x1;constructor(_0x5d4570,_0x13622c,_0x586a55,_0x4c80ae,_0x15a61a){const _0x2a9a7f=_0x5925e0;super(),this[_0x2a9a7f(0x166)]=_0x13622c,this[_0x2a9a7f(0x147)]=_0x5d4570,this[_0x2a9a7f(0x187)]=_0x586a55,this[_0x2a9a7f(0x153)]=_0x4c80ae,this[_0x2a9a7f(0x161)]=_0x15a61a,this['on'](_0x2a9a7f(0x13c),(_0x4ff9a5,_0x2a5841,_0x397574)=>{const _0x3e5c18=_0x2a9a7f;_0x3e5c18(0x139)==_0x397574&&(this[_0x3e5c18(0x15b)]=!0x0),this[_0x3e5c18(0x170)](_0x3e5c18(0x17e),{'status':_0x397574,'run':this,'error':this[_0x3e5c18(0x160)]});}),this[_0x2a9a7f(0x175)](_0x2a9a7f(0x17a),_0x2a9a7f(0x12f));}get[_0x5925e0(0x150)](){const _0x281ebf=_0x5925e0;return this[_0x281ebf(0x147)];}get[_0x5925e0(0x17c)](){const _0x1d167c=_0x5925e0;return this[_0x1d167c(0x142)][_0x1d167c(0x16a)];}get[_0x5925e0(0x13a)](){const _0x3e7e09=_0x5925e0;return this[_0x3e7e09(0x166)][_0x3e7e09(0x13a)];}get[_0x5925e0(0x176)](){return'';}get[_0x5925e0(0x14e)](){const _0x29eefd=_0x5925e0;return this[_0x29eefd(0x166)]['id'];}get[_0x5925e0(0x18f)](){const _0x507661=_0x5925e0;return!this[_0x507661(0x171)][_0x507661(0x14c)](_0x274911=>_0x507661(0x15c)===_0x274911[_0x507661(0x17a)]);}get[_0x5925e0(0x14d)](){const _0x52e7c8=_0x5925e0;return this[_0x52e7c8(0x160)];}[_0x5925e0(0x158)](_0x691ddb){const _0x1781a9=_0x5925e0;this[_0x1781a9(0x147)]=_0x691ddb;}async[_0x5925e0(0x18c)](){const _0x4b9f03=_0x5925e0;this[_0x4b9f03(0x17a)]=_0x4b9f03(0x141),this[_0x4b9f03(0x160)]=void 0x0;try{this[_0x4b9f03(0x132)]=this[_0x4b9f03(0x151)]();const _0x104e4f=await this[_0x4b9f03(0x132)][_0x4b9f03(0x15a)]();this[_0x4b9f03(0x17a)]=_0x4b9f03(0x177);for await(const _0x1ef371 of _0x104e4f)_0x4b9f03(0x15f)!==_0x1ef371[_0x4b9f03(0x177)][_0x4b9f03(0x18a)]&&(_0x4b9f03(0x188)!==_0x1ef371[_0x4b9f03(0x177)][_0x4b9f03(0x18a)]?_0x4b9f03(0x136)!==_0x1ef371[_0x4b9f03(0x13f)]?this[_0x4b9f03(0x18e)](_0x1ef371[_0x4b9f03(0x177)][_0x4b9f03(0x159)],_0x1ef371[_0x4b9f03(0x177)][_0x4b9f03(0x157)]):this[_0x4b9f03(0x16c)]=_0x1ef371[_0x4b9f03(0x177)][_0x4b9f03(0x16c)]:this[_0x4b9f03(0x17a)]=_0x4b9f03(0x178));_0x4b9f03(0x178)!==this[_0x4b9f03(0x17a)]&&(0x0===this[_0x4b9f03(0x142)][_0x4b9f03(0x16a)]||0x0===this[_0x4b9f03(0x171)][_0x4b9f03(0x14a)]?this[_0x4b9f03(0x17a)]=_0x4b9f03(0x15f):this[_0x4b9f03(0x17a)]=_0x4b9f03(0x135));}catch(_0x123336){this[_0x4b9f03(0x160)]=_0x123336,_0x123336 instanceof Error&&_0x123336[_0x4b9f03(0x149)][_0x4b9f03(0x140)](_0x4b9f03(0x12e))?this[_0x4b9f03(0x17a)]=_0x4b9f03(0x139):this[_0x4b9f03(0x17a)]=_0x4b9f03(0x16f);}finally{this[_0x4b9f03(0x132)]=null;}}async[_0x5925e0(0x172)](){const _0x292069=_0x5925e0;this[_0x292069(0x142)][_0x292069(0x152)](),this[_0x292069(0x171)][_0x292069(0x14a)]=0x0,this[_0x292069(0x160)]=void 0x0,await this[_0x292069(0x18c)]();}[_0x5925e0(0x133)](_0x57f9e8,_0x549559){const _0x3e2164=_0x5925e0,_0x1daa74=this[_0x3e2164(0x142)][_0x3e2164(0x14f)](_0x57f9e8);if(!_0x1daa74)return;if(0x0===_0x549559[_0x3e2164(0x14a)])return;const _0x3e872c=[];_0x549559[_0x3e2164(0x18b)]((_0x1dc8da,_0x117911)=>{const _0x17171d=_0x3e2164,_0x4bf5e7=new _0x3dd345(_0x1daa74['id']+'-'+_0x117911,_0x1dc8da,_0x1daa74);_0x4bf5e7['on'](_0x17171d(0x13c),()=>{const _0x254b61=_0x17171d;this[_0x254b61(0x170)](_0x254b61(0x163),{'change':_0x4bf5e7,'status':_0x4bf5e7[_0x254b61(0x17a)]});}),_0x4bf5e7['on'](_0x17171d(0x179),()=>{const _0xfcc946=_0x17171d;_0x4bf5e7[_0xfcc946(0x182)]?this[_0xfcc946(0x170)](_0xfcc946(0x167),{'change':_0x4bf5e7}):this[_0xfcc946(0x170)](_0xfcc946(0x16d),{'change':_0x4bf5e7});}),this[_0x17171d(0x171)][_0x17171d(0x164)](_0x4bf5e7),_0x3e872c[_0x17171d(0x164)](_0x4bf5e7);}),this[_0x3e2164(0x170)](_0x3e2164(0x16b),{'changes':_0x3e872c,'result':_0x1daa74,'source':this});}[_0x5925e0(0x184)](){const _0x39df29=_0x5925e0;this[_0x39df29(0x132)]&&(this[_0x39df29(0x132)][_0x39df29(0x155)][_0x39df29(0x184)](),this[_0x39df29(0x132)]=null,this[_0x39df29(0x17a)]=_0x39df29(0x139));}[_0x5925e0(0x148)](_0x54dbc6){const _0xac6cea=_0x5925e0,_0x4846a7=this[_0xac6cea(0x171)][_0xac6cea(0x165)](_0x266ee0=>_0x266ee0['id']===_0x54dbc6);return!(!_0x4846a7||_0xac6cea(0x15c)!==_0x4846a7[_0xac6cea(0x17a)]);}[_0x5925e0(0x189)](){const _0x633897=_0x5925e0;return this[_0x633897(0x171)][_0x633897(0x181)](_0x4036cb=>!0x0===_0x4036cb[_0x633897(0x182)]);}[_0x5925e0(0x17d)](){const _0x11e4bb=_0x5925e0;return this[_0x11e4bb(0x171)][_0x11e4bb(0x12d)](_0x1dea3d=>_0x11e4bb(0x15c)===_0x1dea3d[_0x11e4bb(0x17a)]);}[_0x5925e0(0x173)](_0x329276){const _0x4ecb9b=_0x5925e0;return this[_0x4ecb9b(0x171)][_0x4ecb9b(0x165)](_0x6e57b3=>_0x6e57b3['id']===_0x329276);}[_0x5925e0(0x17b)](){const _0x56fa60=_0x5925e0;for(const _0x3c85e1 of this[_0x56fa60(0x171)])_0x56fa60(0x15c)===_0x3c85e1[_0x56fa60(0x17a)]&&(_0x3c85e1[_0x56fa60(0x17a)]=_0x56fa60(0x145));this[_0x56fa60(0x156)]();}[_0x5925e0(0x146)](_0x15cb96){const _0x356182=_0x5925e0,_0x564a98=this[_0x356182(0x171)][_0x356182(0x165)](_0x245a9e=>_0x245a9e['id']===_0x15cb96);_0x564a98&&_0x356182(0x15c)===_0x564a98[_0x356182(0x17a)]&&(_0x564a98[_0x356182(0x17a)]=_0x356182(0x145)),this[_0x356182(0x156)]();}[_0x5925e0(0x134)](_0x2f097a){const _0x56b510=_0x5925e0,_0x56aef7=this[_0x56b510(0x171)][_0x56b510(0x165)](_0x3a80cf=>_0x3a80cf['id']===_0x2f097a);_0x56aef7&&_0x56b510(0x15c)===_0x56aef7[_0x56b510(0x17a)]&&(_0x56aef7[_0x56b510(0x17a)]=_0x56b510(0x144)),this[_0x56b510(0x156)]();}[_0x5925e0(0x131)](_0x332998){const _0x5ac2ea=_0x5925e0,_0x3b6b09=this[_0x5ac2ea(0x171)][_0x5ac2ea(0x165)](_0x346024=>_0x346024['id']===_0x332998);_0x3b6b09&&_0x5ac2ea(0x15c)===_0x3b6b09[_0x5ac2ea(0x17a)]&&(_0x3b6b09[_0x5ac2ea(0x17a)]=_0x5ac2ea(0x137)),this[_0x5ac2ea(0x156)]();}[_0x5925e0(0x185)](_0x175705){const _0x398d10=_0x5925e0,_0x2e07c5=this[_0x398d10(0x171)][_0x398d10(0x165)](_0x5d75b3=>_0x5d75b3['id']===_0x175705);_0x2e07c5&&_0x398d10(0x137)===_0x2e07c5[_0x398d10(0x17a)]&&(_0x2e07c5[_0x398d10(0x17a)]=_0x398d10(0x15c)),this[_0x398d10(0x156)]();}[_0x5925e0(0x16e)](_0x2ad23a){const _0x5160a1=_0x5925e0;this[_0x5160a1(0x171)][_0x5160a1(0x12d)](_0x12469f=>_0x12469f[_0x5160a1(0x182)]&&_0x12469f['id']!==_0x2ad23a)[_0x5160a1(0x18b)](_0x4b38ad=>{const _0x5c3e69=_0x5160a1;_0x4b38ad[_0x5c3e69(0x182)]=!0x1;});const _0x50bc4c=this[_0x5160a1(0x171)][_0x5160a1(0x165)](_0x48e86b=>_0x48e86b['id']===_0x2ad23a);_0x50bc4c&&_0x5160a1(0x15c)===_0x50bc4c[_0x5160a1(0x17a)]&&(_0x50bc4c[_0x5160a1(0x182)]=!0x0);}[_0x5925e0(0x143)](){const _0xdf830=_0x5925e0;this[_0xdf830(0x171)][_0xdf830(0x12d)](_0x4f4d7b=>_0x4f4d7b[_0xdf830(0x182)])[_0xdf830(0x18b)](_0x5b5043=>{const _0x2a43f9=_0xdf830;_0x5b5043[_0x2a43f9(0x182)]=!0x1;});}[_0x5925e0(0x169)](){const _0x52d77c=_0x5925e0;this[_0x52d77c(0x17a)]=_0x52d77c(0x135);}async[_0x5925e0(0x186)](_0x18a574){const _0x1a3002=_0x5925e0;if(_0x1a3002(0x12f)===this[_0x1a3002(0x17a)]||_0x1a3002(0x141)===this[_0x1a3002(0x17a)]||_0x1a3002(0x177)===this[_0x1a3002(0x17a)]||this[_0x1a3002(0x15b)])return;if(!this[_0x1a3002(0x16c)]||0x0===this[_0x1a3002(0x171)][_0x1a3002(0x14a)])return;let _0x3e46d6;if(_0x18a574){const _0x5993d8=this[_0x1a3002(0x171)][_0x1a3002(0x165)](_0x4d2623=>_0x4d2623['id']===_0x18a574);if(_0x5993d8&&_0x5993d8[_0x1a3002(0x18d)])return;_0x5993d8&&(_0x3e46d6=_0x5993d8[_0x1a3002(0x168)]['id'],_0x5993d8[_0x1a3002(0x18d)]=!0x0);}const _0x31feba={'positiveCount':this[_0x1a3002(0x171)][_0x1a3002(0x12d)](_0x2ee46e=>_0x1a3002(0x145)===_0x2ee46e[_0x1a3002(0x17a)])[_0x1a3002(0x14a)],'totalCount':this[_0x1a3002(0x171)][_0x1a3002(0x14a)]};this[_0x1a3002(0x15e)](_0x31feba,this[_0x1a3002(0x16c)],_0x3e46d6);}[_0x5925e0(0x18e)](_0x3fd287,_0x389364){const _0x5c69c6=_0x5925e0,_0x3c34f6=this[_0x5c69c6(0x147)][_0x5c69c6(0x130)][_0x5c69c6(0x14f)](_0x3fd287);if(!_0x3c34f6)return;const _0x7b85e0=_0x3c34f6[_0x5c69c6(0x154)]();if(_0x7b85e0===_0x389364)return;const _0x2b12dc=new _0x43f6ca({'id':_0x3fd287,'contentInitial':_0x7b85e0,'contentNew':_0x389364,'documentVersion':this[_0x5c69c6(0x147)][_0x5c69c6(0x180)]});this[_0x5c69c6(0x142)][_0x5c69c6(0x175)](_0x2b12dc['id'],_0x2b12dc),this[_0x5c69c6(0x170)](_0x5c69c6(0x162),{'result':_0x2b12dc,'source':this});}[_0x5925e0(0x156)](){const _0x41a819=_0x5925e0;_0x41a819(0x174)===this[_0x41a819(0x17a)]&&(this[_0x41a819(0x171)][_0x41a819(0x12d)](_0x31ad79=>_0x41a819(0x15c)===_0x31ad79[_0x41a819(0x17a)])[_0x41a819(0x14a)]>0x0&&(this[_0x41a819(0x17a)]=_0x41a819(0x135))),_0x41a819(0x135)===this[_0x41a819(0x17a)]&&(0x0===this[_0x41a819(0x171)][_0x41a819(0x12d)](_0x2f9ef0=>_0x41a819(0x15c)===_0x2f9ef0[_0x41a819(0x17a)])[_0x41a819(0x14a)]&&(this[_0x41a819(0x17a)]=_0x41a819(0x174)));}}
23
+ const _0x1245af=_0x4e88;(function(_0x5c5a1b,_0x5c315b){const _0x15dcdb=_0x4e88,_0x3f39ec=_0x5c5a1b();while(!![]){try{const _0x179606=-parseInt(_0x15dcdb(0x16a))/0x1*(parseInt(_0x15dcdb(0x1b9))/0x2)+parseInt(_0x15dcdb(0x1a6))/0x3+-parseInt(_0x15dcdb(0x1c4))/0x4*(-parseInt(_0x15dcdb(0x19b))/0x5)+parseInt(_0x15dcdb(0x16f))/0x6+-parseInt(_0x15dcdb(0x183))/0x7*(-parseInt(_0x15dcdb(0x1a3))/0x8)+-parseInt(_0x15dcdb(0x1a1))/0x9+parseInt(_0x15dcdb(0x1a5))/0xa;if(_0x179606===_0x5c315b)break;else _0x3f39ec['push'](_0x3f39ec['shift']());}catch(_0x2030b6){_0x3f39ec['push'](_0x3f39ec['shift']());}}}(_0x5680,0xb9b98));function _0x4e88(_0x17aae1,_0x339daf){const _0x5680e5=_0x5680();return _0x4e88=function(_0x4e8896,_0x38ea15){_0x4e8896=_0x4e8896-0x167;let _0x234d7e=_0x5680e5[_0x4e8896];return _0x234d7e;},_0x4e88(_0x17aae1,_0x339daf);}import{ObservableMixin as _0x59a304,uid as _0x13b4c1}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x2b815d}from'./aireviewcheckresult.js';function _0x5680(){const _0x883a42=['_results','some','forEach','change:isActivated','filter','ai-request-aborted','event','every','addResultChanges','finished','reviewCheckResultActivated','markChangeAsRejected','clear','aborted','get','20795JHTxQs','length','accepted','_addReviewCheckResult','processedResultsCount','reviewCheckResultDeactivated','8051985nJxkcI','find','1032Xszoip','_aiConnector','1978100zuJWMf','1404102wvwPgU','loading','abortController','_createApiRequest','reviewCheckRunUpdated','title','pending','unmodified','includes','version','fire','textDelta','deactivateChange','dataId','documentData','error','reviewCheckResultAdded','operation','markChangeAsAccepted','63718wvMNeX','_reviewParams','start','markChangeAsOutdated','markChangeAsPending','getContent','isChangeActive','data','_changes','reviewCheckResultReady','reviewCheckResultChangeStatusUpdated','1048JpqfxC','ready','sendRating','parent','_sourceCheck','change:status','forceReadyState','rejected','markAllChangesAsAccepted','_reviewArgs','_currentError','26tHPOkf','currentError','updateDocumentData','_checkIfFinished','subTitle','840684AWuoXY','elements','status','set','initialized','error-general','hasModifications','outdated','_documentData','activateChange','reviewName','isActivated','abort','getChangeById','message','callId','getActiveChanges','restart','isRated','_sendRatingRequest','31913SWDXAY','review-metadata','_wasAborted','error-chunk','_activeRequest','push','isAnyChangeActivated','size','getStream'];_0x5680=function(){return _0x883a42;};return _0x5680();}import{AIReviewCheckResultChange as _0x23d0df}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x59a304(){['id']=_0x13b4c1();[_0x1245af(0x17e)];[_0x1245af(0x18c)]=new Map();[_0x1245af(0x1c1)]=[];[_0x1245af(0x1c8)];[_0x1245af(0x177)];[_0x1245af(0x1a4)];[_0x1245af(0x1ba)];[_0x1245af(0x168)];[_0x1245af(0x187)]=null;[_0x1245af(0x169)];[_0x1245af(0x185)]=!0x1;constructor(_0xf36878,_0x5395c8,_0x76cfce,_0x20b640,_0x4177df){const _0x254f5e=_0x1245af;super(),this[_0x254f5e(0x1c8)]=_0x5395c8,this[_0x254f5e(0x177)]=_0xf36878,this[_0x254f5e(0x1a4)]=_0x76cfce,this[_0x254f5e(0x1ba)]=_0x20b640,this[_0x254f5e(0x168)]=_0x4177df,this['on'](_0x254f5e(0x1c9),(_0x621cab,_0x1b39d1,_0x3785e8)=>{const _0x505083=_0x254f5e;_0x505083(0x199)==_0x3785e8&&(this[_0x505083(0x185)]=!0x0),this[_0x505083(0x1b0)](_0x505083(0x1aa),{'status':_0x3785e8,'run':this,'error':this[_0x505083(0x169)]});}),this[_0x254f5e(0x172)](_0x254f5e(0x171),_0x254f5e(0x173));}get[_0x1245af(0x1b4)](){const _0x6e8acf=_0x1245af;return this[_0x6e8acf(0x177)];}get[_0x1245af(0x19f)](){const _0x2539ff=_0x1245af;return this[_0x2539ff(0x18c)][_0x2539ff(0x18a)];}get[_0x1245af(0x1ab)](){const _0x2e84cf=_0x1245af;return this[_0x2e84cf(0x1c8)][_0x2e84cf(0x1ab)];}get[_0x1245af(0x16e)](){return'';}get[_0x1245af(0x179)](){const _0x46cb4d=_0x1245af;return this[_0x46cb4d(0x1c8)]['id'];}get[_0x1245af(0x175)](){const _0x530360=_0x1245af;return!this[_0x530360(0x1c1)][_0x530360(0x193)](_0x122acf=>_0x530360(0x1ac)===_0x122acf[_0x530360(0x171)]);}get[_0x1245af(0x16b)](){const _0x974046=_0x1245af;return this[_0x974046(0x169)];}[_0x1245af(0x16c)](_0x432764){const _0x4fa419=_0x1245af;this[_0x4fa419(0x177)]=_0x432764;}async[_0x1245af(0x1bb)](){const _0xb95179=_0x1245af;this[_0xb95179(0x171)]=_0xb95179(0x1a7),this[_0xb95179(0x169)]=void 0x0;try{this[_0xb95179(0x187)]=this[_0xb95179(0x1a9)]();const _0x51691a=await this[_0xb95179(0x187)][_0xb95179(0x18b)]();this[_0xb95179(0x171)]=_0xb95179(0x1c0);for await(const _0x292260 of _0x51691a)_0xb95179(0x1ad)!==_0x292260[_0xb95179(0x1c0)][_0xb95179(0x1b7)]&&(_0xb95179(0x1b5)!==_0x292260[_0xb95179(0x1c0)][_0xb95179(0x1b7)]?_0xb95179(0x184)!==_0x292260[_0xb95179(0x192)]?this[_0xb95179(0x19e)](_0x292260[_0xb95179(0x1c0)][_0xb95179(0x1b3)],_0x292260[_0xb95179(0x1c0)][_0xb95179(0x1b1)]):this[_0xb95179(0x17e)]=_0x292260[_0xb95179(0x1c0)][_0xb95179(0x17e)]:this[_0xb95179(0x171)]=_0xb95179(0x186));_0xb95179(0x186)!==this[_0xb95179(0x171)]&&(0x0===this[_0xb95179(0x18c)][_0xb95179(0x18a)]||0x0===this[_0xb95179(0x1c1)][_0xb95179(0x19c)]?this[_0xb95179(0x171)]=_0xb95179(0x1ad):this[_0xb95179(0x171)]=_0xb95179(0x1c5));}catch(_0x22c28f){this[_0xb95179(0x169)]=_0x22c28f,_0x22c28f instanceof Error&&_0x22c28f[_0xb95179(0x17d)][_0xb95179(0x1ae)](_0xb95179(0x191))?this[_0xb95179(0x171)]=_0xb95179(0x199):this[_0xb95179(0x171)]=_0xb95179(0x174);}finally{this[_0xb95179(0x187)]=null;}}async[_0x1245af(0x180)](){const _0x573523=_0x1245af;this[_0x573523(0x18c)][_0x573523(0x198)](),this[_0x573523(0x1c1)][_0x573523(0x19c)]=0x0,this[_0x573523(0x169)]=void 0x0,await this[_0x573523(0x1bb)]();}[_0x1245af(0x194)](_0x484f87,_0x2d895e){const _0x3341db=_0x1245af,_0x3f8c53=this[_0x3341db(0x18c)][_0x3341db(0x19a)](_0x484f87);if(!_0x3f8c53)return;if(0x0===_0x2d895e[_0x3341db(0x19c)])return;const _0x4347c9=[];_0x2d895e[_0x3341db(0x18e)]((_0x5585cb,_0x1facf8)=>{const _0x11e2b8=_0x3341db,_0x251941=new _0x23d0df(_0x3f8c53['id']+'-'+_0x1facf8,_0x5585cb,_0x3f8c53);_0x251941['on'](_0x11e2b8(0x1c9),()=>{const _0x3c2472=_0x11e2b8;this[_0x3c2472(0x1b0)](_0x3c2472(0x1c3),{'change':_0x251941,'status':_0x251941[_0x3c2472(0x171)]});}),_0x251941['on'](_0x11e2b8(0x18f),()=>{const _0x2dbaa9=_0x11e2b8;_0x251941[_0x2dbaa9(0x17a)]?this[_0x2dbaa9(0x1b0)](_0x2dbaa9(0x196),{'change':_0x251941}):this[_0x2dbaa9(0x1b0)](_0x2dbaa9(0x1a0),{'change':_0x251941});}),this[_0x11e2b8(0x1c1)][_0x11e2b8(0x188)](_0x251941),_0x4347c9[_0x11e2b8(0x188)](_0x251941);}),this[_0x3341db(0x1b0)](_0x3341db(0x1c2),{'changes':_0x4347c9,'result':_0x3f8c53,'source':this});}[_0x1245af(0x17b)](){const _0x2b2486=_0x1245af;this[_0x2b2486(0x187)]&&(this[_0x2b2486(0x187)][_0x2b2486(0x1a8)][_0x2b2486(0x17b)](),this[_0x2b2486(0x187)]=null,this[_0x2b2486(0x171)]=_0x2b2486(0x199));}[_0x1245af(0x1bf)](_0x3e77c2){const _0x35559c=_0x1245af,_0x102404=this[_0x35559c(0x1c1)][_0x35559c(0x1a2)](_0x4c277c=>_0x4c277c['id']===_0x3e77c2);return!(!_0x102404||_0x35559c(0x1ac)!==_0x102404[_0x35559c(0x171)]);}[_0x1245af(0x189)](){const _0x4f6ee1=_0x1245af;return this[_0x4f6ee1(0x1c1)][_0x4f6ee1(0x18d)](_0x178247=>!0x0===_0x178247[_0x4f6ee1(0x17a)]);}[_0x1245af(0x17f)](){const _0x48f31c=_0x1245af;return this[_0x48f31c(0x1c1)][_0x48f31c(0x190)](_0x1eb3be=>_0x48f31c(0x1ac)===_0x1eb3be[_0x48f31c(0x171)]);}[_0x1245af(0x17c)](_0x1ff65d){const _0x54c412=_0x1245af;return this[_0x54c412(0x1c1)][_0x54c412(0x1a2)](_0x11e795=>_0x11e795['id']===_0x1ff65d);}[_0x1245af(0x167)](){const _0xe1ca90=_0x1245af;for(const _0x42e899 of this[_0xe1ca90(0x1c1)])_0xe1ca90(0x1ac)===_0x42e899[_0xe1ca90(0x171)]&&(_0x42e899[_0xe1ca90(0x171)]=_0xe1ca90(0x19d));this[_0xe1ca90(0x16d)]();}[_0x1245af(0x1b8)](_0x1f0dd3){const _0x319e2a=_0x1245af,_0x38beaf=this[_0x319e2a(0x1c1)][_0x319e2a(0x1a2)](_0x491d71=>_0x491d71['id']===_0x1f0dd3);_0x38beaf&&_0x319e2a(0x1ac)===_0x38beaf[_0x319e2a(0x171)]&&(_0x38beaf[_0x319e2a(0x171)]=_0x319e2a(0x19d)),this[_0x319e2a(0x16d)]();}[_0x1245af(0x197)](_0x1f55d2){const _0x2f4aab=_0x1245af,_0x304860=this[_0x2f4aab(0x1c1)][_0x2f4aab(0x1a2)](_0x145f97=>_0x145f97['id']===_0x1f55d2);_0x304860&&_0x2f4aab(0x1ac)===_0x304860[_0x2f4aab(0x171)]&&(_0x304860[_0x2f4aab(0x171)]=_0x2f4aab(0x1cb)),this[_0x2f4aab(0x16d)]();}[_0x1245af(0x1bc)](_0x5d2109){const _0xb0972c=_0x1245af,_0x185e51=this[_0xb0972c(0x1c1)][_0xb0972c(0x1a2)](_0x24acfb=>_0x24acfb['id']===_0x5d2109);_0x185e51&&_0xb0972c(0x1ac)===_0x185e51[_0xb0972c(0x171)]&&(_0x185e51[_0xb0972c(0x171)]=_0xb0972c(0x176)),this[_0xb0972c(0x16d)]();}[_0x1245af(0x1bd)](_0x2a3b33){const _0x41af74=_0x1245af,_0x372d71=this[_0x41af74(0x1c1)][_0x41af74(0x1a2)](_0x595f2e=>_0x595f2e['id']===_0x2a3b33);_0x372d71&&_0x41af74(0x176)===_0x372d71[_0x41af74(0x171)]&&(_0x372d71[_0x41af74(0x171)]=_0x41af74(0x1ac)),this[_0x41af74(0x16d)]();}[_0x1245af(0x178)](_0x27a29a){const _0x498d2c=_0x1245af;this[_0x498d2c(0x1c1)][_0x498d2c(0x190)](_0x2fad06=>_0x2fad06[_0x498d2c(0x17a)]&&_0x2fad06['id']!==_0x27a29a)[_0x498d2c(0x18e)](_0x3a378b=>{const _0x1ba3fb=_0x498d2c;_0x3a378b[_0x1ba3fb(0x17a)]=!0x1;});const _0x5f50b3=this[_0x498d2c(0x1c1)][_0x498d2c(0x1a2)](_0x57571c=>_0x57571c['id']===_0x27a29a);_0x5f50b3&&_0x498d2c(0x1ac)===_0x5f50b3[_0x498d2c(0x171)]&&(_0x5f50b3[_0x498d2c(0x17a)]=!0x0);}[_0x1245af(0x1b2)](){const _0x69cdd3=_0x1245af;this[_0x69cdd3(0x1c1)][_0x69cdd3(0x190)](_0x1a39e7=>_0x1a39e7[_0x69cdd3(0x17a)])[_0x69cdd3(0x18e)](_0x5c33d3=>{const _0x22d674=_0x69cdd3;_0x5c33d3[_0x22d674(0x17a)]=!0x1;});}[_0x1245af(0x1ca)](){const _0xbdd1f=_0x1245af;this[_0xbdd1f(0x171)]=_0xbdd1f(0x1c5);}async[_0x1245af(0x1c6)](_0x33cc5a){const _0x1323cf=_0x1245af;if(_0x1323cf(0x173)===this[_0x1323cf(0x171)]||_0x1323cf(0x1a7)===this[_0x1323cf(0x171)]||_0x1323cf(0x1c0)===this[_0x1323cf(0x171)]||this[_0x1323cf(0x185)])return;if(!this[_0x1323cf(0x17e)]||0x0===this[_0x1323cf(0x1c1)][_0x1323cf(0x19c)])return;let _0x310d74;if(_0x33cc5a){const _0x53128b=this[_0x1323cf(0x1c1)][_0x1323cf(0x1a2)](_0x3da09c=>_0x3da09c['id']===_0x33cc5a);if(_0x53128b&&_0x53128b[_0x1323cf(0x181)])return;_0x53128b&&(_0x310d74=_0x53128b[_0x1323cf(0x1c7)]['id'],_0x53128b[_0x1323cf(0x181)]=!0x0);}const _0x484888={'positiveCount':this[_0x1323cf(0x1c1)][_0x1323cf(0x190)](_0x29e732=>_0x1323cf(0x19d)===_0x29e732[_0x1323cf(0x171)])[_0x1323cf(0x19c)],'totalCount':this[_0x1323cf(0x1c1)][_0x1323cf(0x19c)]};this[_0x1323cf(0x182)](_0x484888,this[_0x1323cf(0x17e)],_0x310d74);}[_0x1245af(0x19e)](_0x1814c3,_0x186631){const _0x30a1b3=_0x1245af,_0x252003=this[_0x30a1b3(0x177)][_0x30a1b3(0x170)][_0x30a1b3(0x19a)](_0x1814c3);if(!_0x252003)return;const _0x5d8931=_0x252003[_0x30a1b3(0x1be)]();if(_0x5d8931===_0x186631)return;const _0x19b5a6=new _0x2b815d({'id':_0x1814c3,'contentInitial':_0x5d8931,'contentNew':_0x186631,'documentVersion':this[_0x30a1b3(0x177)][_0x30a1b3(0x1af)]});this[_0x30a1b3(0x18c)][_0x30a1b3(0x172)](_0x19b5a6['id'],_0x19b5a6),this[_0x30a1b3(0x1b0)](_0x30a1b3(0x1b6),{'result':_0x19b5a6,'source':this});}[_0x1245af(0x16d)](){const _0x1f25f8=_0x1245af;_0x1f25f8(0x195)===this[_0x1f25f8(0x171)]&&(this[_0x1f25f8(0x1c1)][_0x1f25f8(0x190)](_0xe1414f=>_0x1f25f8(0x1ac)===_0xe1414f[_0x1f25f8(0x171)])[_0x1f25f8(0x19c)]>0x0&&(this[_0x1f25f8(0x171)]=_0x1f25f8(0x1c5))),_0x1f25f8(0x1c5)===this[_0x1f25f8(0x171)]&&(0x0===this[_0x1f25f8(0x1c1)][_0x1f25f8(0x190)](_0x102dea=>_0x1f25f8(0x1ac)===_0x102dea[_0x1f25f8(0x171)])[_0x1f25f8(0x19c)]&&(this[_0x1f25f8(0x171)]=_0x1f25f8(0x195)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3110c1=_0x5c6c;(function(_0x2352b4,_0x3cbc9c){const _0x5290bc=_0x5c6c,_0x35bd29=_0x2352b4();while(!![]){try{const _0x37c4d8=parseInt(_0x5290bc(0x108))/0x1*(parseInt(_0x5290bc(0x10a))/0x2)+-parseInt(_0x5290bc(0x111))/0x3*(-parseInt(_0x5290bc(0x114))/0x4)+-parseInt(_0x5290bc(0x109))/0x5+parseInt(_0x5290bc(0xf9))/0x6*(parseInt(_0x5290bc(0x10b))/0x7)+parseInt(_0x5290bc(0xfc))/0x8+-parseInt(_0x5290bc(0xff))/0x9*(-parseInt(_0x5290bc(0xf7))/0xa)+parseInt(_0x5290bc(0x10f))/0xb*(-parseInt(_0x5290bc(0xfb))/0xc);if(_0x37c4d8===_0x3cbc9c)break;else _0x35bd29['push'](_0x35bd29['shift']());}catch(_0xdbb3cd){_0x35bd29['push'](_0x35bd29['shift']());}}}(_0x33a8,0x7b594));import{AIReviewCheckRun as _0xcb8980}from'./aireviewcheckrun.js';function _0x5c6c(_0x51c20c,_0x220705){const _0x33a8d2=_0x33a8();return _0x5c6c=function(_0x5c6cce,_0x5700d8){_0x5c6cce=_0x5c6cce-0xf6;let _0x5c5b3c=_0x33a8d2[_0x5c6cce];return _0x5c5b3c;},_0x5c6c(_0x51c20c,_0x220705);}export class AIReviewSystemCheckRun extends _0xcb8980{get[_0x3110c1(0x107)](){const _0x4767ca=_0x3110c1;if(!this[_0x4767ca(0xfa)]||0x0===this[_0x4767ca(0xfa)][_0x4767ca(0x104)])return'';const _0x1c6eb4=[];if(this[_0x4767ca(0xfa)][_0x4767ca(0x104)]>0x0&&this[_0x4767ca(0xf6)][_0x4767ca(0x10e)])for(let _0x5fe357=0x0;_0x5fe357<this[_0x4767ca(0xfa)][_0x4767ca(0x104)];_0x5fe357++){if(!this[_0x4767ca(0xfa)][_0x5fe357]||!this[_0x4767ca(0xf6)][_0x4767ca(0x10e)][_0x5fe357])continue;const _0x5dae23=this[_0x4767ca(0xf6)][_0x4767ca(0x10e)][_0x5fe357],_0x1846c4=_0x5dae23[_0x4767ca(0x112)]?.[_0x4767ca(0xfd)](_0x156ae3=>_0x156ae3['id']===this[_0x4767ca(0xfa)][_0x5fe357]);_0x1846c4&&_0x1c6eb4[_0x4767ca(0xfe)](_0x1846c4[_0x4767ca(0x101)]);}return _0x1c6eb4[_0x4767ca(0x105)](',\x20');}get[_0x3110c1(0x106)](){const _0x5b7ff6=_0x3110c1;return this[_0x5b7ff6(0x113)]();}[_0x3110c1(0x10c)](){const _0x12f966=_0x3110c1;return this[_0x12f966(0x110)][_0x12f966(0x103)]({'reviewName':this[_0x12f966(0x113)](),'content':this[_0x12f966(0xf8)][_0x12f966(0x117)],'args':this[_0x12f966(0x10d)]});}[_0x3110c1(0x115)](_0x12ce8d,_0x217d2b,_0x37b131){const _0x3e0a26=_0x3110c1;return this[_0x3e0a26(0x110)][_0x3e0a26(0x116)](this[_0x3e0a26(0x106)],_0x217d2b,_0x12ce8d,_0x37b131);}[_0x3110c1(0x113)](){const _0x4e56df=_0x3110c1;return!this[_0x4e56df(0xfa)]||0x0===this[_0x4e56df(0xfa)][_0x4e56df(0x104)]||this[_0x4e56df(0xf6)][_0x4e56df(0x100)]?this[_0x4e56df(0xf6)][_0x4e56df(0x102)]:[this[_0x4e56df(0xf6)][_0x4e56df(0x102)],...this[_0x4e56df(0xfa)]][_0x4e56df(0x105)]('-');}}function _0x33a8(){const _0x445bbc=['1250007JCoUdo','_aiConnector','5682CdjDzn','data','_composeReviewName','588KuAJAq','_sendRatingRequest','upsertAIReviewRating','content','_sourceCheck','50ixCWls','_documentData','6ckEFrX','_reviewParams','12PAxUPM','1391528QvcWJW','find','push','746433ZdyaMf','useArgs','label','apiId','callSystemReview','length','join','reviewName','subTitle','8587tJmhxi','2516850KFELxd','38NqiGzU','644322udEVww','_createApiRequest','_reviewArgs','options'];_0x33a8=function(){return _0x445bbc;};return _0x33a8();}
23
+ const _0x46add6=_0x5071;function _0x535d(){const _0x24d694=['_aiConnector','45201hGvJXo','2325522wGACYl','subTitle','find','_composeReviewName','_documentData','length','4pgTDYQ','_createApiRequest','2903992pvhQSb','content','1071801VUEuRb','upsertAIReviewRating','join','push','callSystemReview','121091WXhbFT','8wwHnZc','reviewName','apiId','_sendRatingRequest','250220UhFCZO','12560280tSaErg','options','data','_reviewParams','label','20eoLsGp','_reviewArgs','useArgs','_sourceCheck'];_0x535d=function(){return _0x24d694;};return _0x535d();}(function(_0xd87fa1,_0x54e4ea){const _0x1ac218=_0x5071,_0x596054=_0xd87fa1();while(!![]){try{const _0x308f63=parseInt(_0x1ac218(0x181))/0x1+parseInt(_0x1ac218(0x16c))/0x2*(-parseInt(_0x1ac218(0x171))/0x3)+parseInt(_0x1ac218(0x178))/0x4*(parseInt(_0x1ac218(0x186))/0x5)+-parseInt(_0x1ac218(0x172))/0x6+-parseInt(_0x1ac218(0x17a))/0x7+-parseInt(_0x1ac218(0x182))/0x8*(parseInt(_0x1ac218(0x17c))/0x9)+parseInt(_0x1ac218(0x187))/0xa;if(_0x308f63===_0x54e4ea)break;else _0x596054['push'](_0x596054['shift']());}catch(_0x210a3c){_0x596054['push'](_0x596054['shift']());}}}(_0x535d,0x56a91));function _0x5071(_0x21860f,_0x2e66c9){const _0x535d93=_0x535d();return _0x5071=function(_0x507157,_0x4a0c4b){_0x507157=_0x507157-0x168;let _0x590d07=_0x535d93[_0x507157];return _0x590d07;},_0x5071(_0x21860f,_0x2e66c9);}import{AIReviewCheckRun as _0x3368f7}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x3368f7{get[_0x46add6(0x173)](){const _0x56e296=_0x46add6;if(!this[_0x56e296(0x16a)]||0x0===this[_0x56e296(0x16a)][_0x56e296(0x177)])return'';const _0x4804f6=[];if(this[_0x56e296(0x16a)][_0x56e296(0x177)]>0x0&&this[_0x56e296(0x16f)][_0x56e296(0x168)])for(let _0x164c1c=0x0;_0x164c1c<this[_0x56e296(0x16a)][_0x56e296(0x177)];_0x164c1c++){if(!this[_0x56e296(0x16a)][_0x164c1c]||!this[_0x56e296(0x16f)][_0x56e296(0x168)][_0x164c1c])continue;const _0x46d5fb=this[_0x56e296(0x16f)][_0x56e296(0x168)][_0x164c1c],_0x5c086a=_0x46d5fb[_0x56e296(0x169)]?.[_0x56e296(0x174)](_0x28bbcd=>_0x28bbcd['id']===this[_0x56e296(0x16a)][_0x164c1c]);_0x5c086a&&_0x4804f6[_0x56e296(0x17f)](_0x5c086a[_0x56e296(0x16b)]);}return _0x4804f6[_0x56e296(0x17e)](',\x20');}get[_0x46add6(0x183)](){const _0x59b3fe=_0x46add6;return this[_0x59b3fe(0x175)]();}[_0x46add6(0x179)](){const _0x1a84c1=_0x46add6;return this[_0x1a84c1(0x170)][_0x1a84c1(0x180)]({'reviewName':this[_0x1a84c1(0x175)](),'content':this[_0x1a84c1(0x176)][_0x1a84c1(0x17b)],'args':this[_0x1a84c1(0x16d)]});}[_0x46add6(0x185)](_0x4bcc6a,_0x555c85,_0x3aff66){const _0x1b28da=_0x46add6;return this[_0x1b28da(0x170)][_0x1b28da(0x17d)](this[_0x1b28da(0x183)],_0x555c85,_0x4bcc6a,_0x3aff66);}[_0x46add6(0x175)](){const _0x13d84c=_0x46add6;return!this[_0x13d84c(0x16a)]||0x0===this[_0x13d84c(0x16a)][_0x13d84c(0x177)]||this[_0x13d84c(0x16f)][_0x13d84c(0x16e)]?this[_0x13d84c(0x16f)][_0x13d84c(0x184)]:[this[_0x13d84c(0x16f)][_0x13d84c(0x184)],...this[_0x13d84c(0x16a)]][_0x13d84c(0x17e)]('-');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2775(){const _0x3755b5=['contentDiffed','showDiffInBalloon','ck-ai_review__suggestion-text','1834104fjUHrd','3246824aPirHK','isDiffActive','hideBalloon','reverse','locale','click','deactivateChange','14112270wIAEri','ck-reset','arrow_se','div','extendTemplate','_getBestRectPositionOnClick','set','hover','balloon','445378cOQQtB','ck-ai_review-balloon-panel-suggestion_diff-active','changeId','content','setTemplate','getIntersection','_pinnedTargetChangeId','dismissChange','delegate','402qgSvSE','10048mYkMlR','updateContent','_isPinnedRectVisible','show','documentElement','showDiff','ck-ai_review-balloon-panel-suggestion','right','_createContentView','_getBestRectPositionOnHover','replace','bottom','hide','position','unpin','arrow_','forEach','6bbhASz','resultResponseView','pin','innerHTML','from','render','_pinnedRectIndex','fire','_setupClickOutsideHandler','add','top','resultItemView','2327591pRvjOx','clientX','bindTemplate','acceptChange','showBalloon','push','clientY','_getPointedRectIndexFromEvent','left','6906190OXKFeA','getClientRects','length','_pinnedTargetElement','width','ck-content','getBoundingClientRect','element','isVisible','hideDiffInBalloon'];_0x2775=function(){return _0x3755b5;};return _0x2775();}const _0x3a6a42=_0x3334;(function(_0x15bd3f,_0x154b27){const _0x4d2dd2=_0x3334,_0x28e350=_0x15bd3f();while(!![]){try{const _0x5bfd5d=-parseInt(_0x4d2dd2(0x114))/0x1+parseInt(_0x4d2dd2(0x11e))/0x2*(parseInt(_0x4d2dd2(0x11d))/0x3)+-parseInt(_0x4d2dd2(0x103))/0x4+-parseInt(_0x4d2dd2(0xf6))/0x5*(parseInt(_0x4d2dd2(0xe1))/0x6)+parseInt(_0x4d2dd2(0xed))/0x7+parseInt(_0x4d2dd2(0x104))/0x8+parseInt(_0x4d2dd2(0x10b))/0x9;if(_0x5bfd5d===_0x154b27)break;else _0x28e350['push'](_0x28e350['shift']());}catch(_0x5c7795){_0x28e350['push'](_0x28e350['shift']());}}}(_0x2775,0xa98c6));function _0x3334(_0x90d0a2,_0x350c36){const _0x2775ce=_0x2775();return _0x3334=function(_0x3334c6,_0x45a192){_0x3334c6=_0x3334c6-0xd1;let _0x39cb24=_0x2775ce[_0x3334c6];return _0x39cb24;},_0x3334(_0x90d0a2,_0x350c36);}import{Rect as _0x4c0272,getConstrainedViewportRect as _0x55cf2a}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x120c27,View as _0x3d1f74,clickOutsideHandler as _0x129f8b}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x34559f}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x120c27{[_0x3a6a42(0xec)];[_0x3a6a42(0xe7)]=void 0x0;[_0x3a6a42(0xf9)]=void 0x0;[_0x3a6a42(0x11a)]=void 0x0;constructor(_0x52786a,_0x44633c){const _0x4af1ba=_0x3a6a42;super(_0x52786a),this[_0x4af1ba(0x111)]({'isVisible':!0x1,'position':_0x4af1ba(0x10d),'class':null,'top':0x0,'left':0x0}),this[_0x4af1ba(0x10f)]({'tag':_0x4af1ba(0x10e),'attributes':{'class':[_0x4af1ba(0x10c)],'tabindex':'-1'}}),this[_0x4af1ba(0x111)](_0x4af1ba(0x105),!0x1),this[_0x4af1ba(0x117)][_0x4af1ba(0xea)](this[_0x4af1ba(0xd8)]()),_0x44633c[_0x4af1ba(0xea)](this);}[_0x3a6a42(0xe6)](){const _0x4cfe1b=_0x3a6a42;super[_0x4cfe1b(0xe6)](),this[_0x4cfe1b(0xe9)]();}[_0x3a6a42(0xd1)](_0x330c14){const _0x25437a=_0x3a6a42;this[_0x25437a(0xec)][_0x25437a(0x116)]=_0x330c14['id'],this[_0x25437a(0xec)][_0x25437a(0xe2)][_0x25437a(0xfd)][_0x25437a(0xe4)]=_0x330c14[_0x25437a(0x100)];}[_0x3a6a42(0xf1)](_0x1888ec,_0x5228a7,_0x4f023d,_0x584463,_0x225938,_0x32bf4d){const _0x152469=_0x3a6a42,_0x5d1921=_0x5228a7();if(!_0x5d1921)return;this[_0x152469(0xd1)](_0x1888ec),this[_0x152469(0xd3)]();const _0x4da659=Array[_0x152469(0xe5)](_0x5d1921[_0x152469(0xf7)]())[_0x152469(0x107)](),_0x4fa5a7=this[_0x152469(0xf4)](_0x4f023d,_0x4da659),_0x526359=_0x4da659[_0x4fa5a7??0x0];_0x152469(0x109)===_0x584463?(this[_0x152469(0x105)]=!0x0,this[_0x152469(0xe3)]({'target':()=>this[_0x152469(0x110)](_0x5228a7(),_0x4fa5a7,_0x1888ec['id'],_0x225938,_0x32bf4d)||_0x526359})):_0x152469(0x112)===_0x584463&&(this[_0x152469(0x105)]=!0x1,this[_0x152469(0xe3)]({'target':()=>this[_0x152469(0xd9)](_0x5228a7(),_0x4fa5a7,_0x1888ec['id'])||_0x526359}));}[_0x3a6a42(0x106)](){const _0x4e7324=_0x3a6a42;this[_0x4e7324(0xdc)](),this[_0x4e7324(0xde)](),this[_0x4e7324(0xe7)]=void 0x0,this[_0x4e7324(0xf9)]=void 0x0,this[_0x4e7324(0x11a)]=void 0x0;}[_0x3a6a42(0xff)](){const _0x563bf8=_0x3a6a42;this[_0x563bf8(0xec)][_0x563bf8(0xd5)]=!0x1;}[_0x3a6a42(0x101)](){const _0x46d1a3=_0x3a6a42;this[_0x46d1a3(0xec)][_0x46d1a3(0xd5)]=!0x0;}[_0x3a6a42(0x10a)](){const _0x55e405=_0x3a6a42;this[_0x55e405(0xe8)](_0x55e405(0x10a),{'origin':_0x55e405(0x113)});}[_0x3a6a42(0xe9)](){const _0x233d35=_0x3a6a42;_0x129f8b({'emitter':this,'activator':()=>this[_0x233d35(0xfe)],'contextElements':()=>{const _0x2ebf8f=_0x233d35,_0x3a2519=[this[_0x2ebf8f(0xfd)]];return this[_0x2ebf8f(0xf9)]&&_0x3a2519[_0x2ebf8f(0xf2)](this[_0x2ebf8f(0xf9)]),_0x3a2519;},'callback':()=>{const _0x271ac9=_0x233d35;this[_0x271ac9(0xdc)](),this[_0x271ac9(0xde)](),this[_0x271ac9(0x10a)](),this[_0x271ac9(0xf9)]=void 0x0,this[_0x271ac9(0xe7)]=void 0x0,this[_0x271ac9(0x11a)]=void 0x0;}});}[_0x3a6a42(0xd8)](){const _0x3bd046=_0x3a6a42,_0x2b8396=new _0x3d1f74();return this[_0x3bd046(0xec)]=new _0x34559f(this[_0x3bd046(0x108)],''),this[_0x3bd046(0xec)][_0x3bd046(0xe2)][_0x3bd046(0x10f)]({'attributes':{'class':[_0x3bd046(0xfb)]}}),this[_0x3bd046(0xec)][_0x3bd046(0x11c)](_0x3bd046(0xf0),_0x3bd046(0x11b))['to'](this),_0x2b8396[_0x3bd046(0x118)]({'tag':_0x3bd046(0x10e),'attributes':{'class':[_0x3bd046(0x10c),_0x3bd046(0xd6),this[_0x3bd046(0xef)]['if'](_0x3bd046(0x105),_0x3bd046(0x115))]},'children':[{'tag':'p','attributes':{'class':[_0x3bd046(0x102)]},'children':[this[_0x3bd046(0xec)]]}]}),_0x2b8396;}[_0x3a6a42(0x110)](_0x4136a4,_0x19f996,_0x3a56be,_0x5f4abb,_0x5cb923){const _0x2c6cc8=_0x3a6a42;if(!_0x4136a4)return null;const _0x548c79=this[_0x2c6cc8(0xdd)][_0x2c6cc8(0xda)](_0x2c6cc8(0xdf),''),_0x5c9fb4=Array[_0x2c6cc8(0xe5)](_0x4136a4[_0x2c6cc8(0xf7)]());let _0x1a1393,_0x28089e=_0x5c9fb4[_0x2c6cc8(0x107)]();return void 0x0!==_0x19f996&&this[_0x2c6cc8(0xd2)](_0x28089e[_0x19f996],_0x5f4abb,_0x5cb923)?(_0x1a1393=_0x28089e[_0x19f996],this[_0x2c6cc8(0xe7)]=_0x19f996):this[_0x2c6cc8(0xd2)](_0x28089e[0x0],_0x5f4abb,_0x5cb923)&&void 0x0===_0x19f996?_0x1a1393=_0x28089e[0x0]:(_0x28089e='s'==_0x548c79[0x0]?[..._0x5c9fb4][_0x2c6cc8(0x107)]():_0x5c9fb4,_0x28089e[_0x2c6cc8(0xe0)](_0x3336e4=>{const _0x1b498a=_0x2c6cc8;this[_0x1b498a(0xd2)](_0x3336e4,_0x5f4abb,_0x5cb923)&&(_0x1a1393=_0x3336e4);})),this[_0x2c6cc8(0x11a)]=_0x3a56be,this[_0x2c6cc8(0xf9)]=_0x4136a4,_0x1a1393||_0x4136a4[_0x2c6cc8(0xfc)]();}[_0x3a6a42(0xd9)](_0x19b00a,_0xbf182,_0x1ac081){const _0x47765d=_0x3a6a42;if(!_0x19b00a)return null;const _0x3226e4=Array[_0x47765d(0xe5)](_0x19b00a[_0x47765d(0xf7)]())[_0x47765d(0x107)]();if(void 0x0===this[_0x47765d(0xe7)]&&void 0x0!==_0xbf182&&this[_0x47765d(0x11a)]!==_0x1ac081)return this[_0x47765d(0xe7)]=_0xbf182,this[_0x47765d(0xf9)]=_0x19b00a,this[_0x47765d(0x11a)]=_0x1ac081,_0x3226e4[_0xbf182];if(void 0x0!==this[_0x47765d(0xe7)]&&this[_0x47765d(0x11a)]===_0x1ac081){if(_0x19b00a!==this[_0x47765d(0xf9)])return Array[_0x47765d(0xe5)](this[_0x47765d(0xf9)][_0x47765d(0xf7)]())[_0x47765d(0x107)]()[this[_0x47765d(0xe7)]];return _0x3226e4[this[_0x47765d(0xe7)]];}return void 0x0!==_0xbf182&&this[_0x47765d(0x11a)]!==_0x1ac081?(this[_0x47765d(0xe7)]=_0xbf182,this[_0x47765d(0xf9)]=_0x19b00a,this[_0x47765d(0x11a)]=_0x1ac081,_0x3226e4[_0xbf182]):_0x19b00a[_0x47765d(0xfc)]();}[_0x3a6a42(0xf4)](_0x202dab,_0x46195d){const _0x1547f0=_0x3a6a42;if(_0x202dab)for(let _0x1b43c4=0x0;_0x1b43c4<_0x46195d[_0x1547f0(0xf8)];_0x1b43c4++){const _0x809561=_0x46195d[_0x1b43c4];if(_0x202dab[_0x1547f0(0xee)]>=_0x809561[_0x1547f0(0xf5)]-0x3&&_0x202dab[_0x1547f0(0xee)]<=_0x809561[_0x1547f0(0xd7)]+0x3&&_0x202dab[_0x1547f0(0xf3)]>=_0x809561[_0x1547f0(0xeb)]-0x3&&_0x202dab[_0x1547f0(0xf3)]<=_0x809561[_0x1547f0(0xdb)]+0x3)return _0x1b43c4;}}[_0x3a6a42(0xd2)](_0x35d26c,_0x4f8576,_0x5dff9e){const _0x525a46=_0x3a6a42,_0x1e3f19=new _0x4c0272(_0x35d26c),_0x4b3171=_0x4f8576||document[_0x525a46(0xd4)],_0x2c1f41=_0x1e3f19[_0x525a46(0x119)](_0x55cf2a(_0x5dff9e)),_0x5b2c2f=new _0x4c0272(_0x4b3171)[_0x525a46(0x119)](_0x1e3f19);return!!(_0x2c1f41&&_0x5b2c2f&&_0x1e3f19[_0x525a46(0xfa)]>0x0);}}
23
+ const _0x3d098e=_0x4a73;(function(_0x32b805,_0x568708){const _0xf4331f=_0x4a73,_0x401032=_0x32b805();while(!![]){try{const _0x4a625e=-parseInt(_0xf4331f(0x111))/0x1*(-parseInt(_0xf4331f(0x11c))/0x2)+parseInt(_0xf4331f(0xf8))/0x3+parseInt(_0xf4331f(0xdb))/0x4*(parseInt(_0xf4331f(0xe5))/0x5)+-parseInt(_0xf4331f(0xea))/0x6*(-parseInt(_0xf4331f(0x101))/0x7)+parseInt(_0xf4331f(0xf0))/0x8+-parseInt(_0xf4331f(0xee))/0x9+-parseInt(_0xf4331f(0xfc))/0xa;if(_0x4a625e===_0x568708)break;else _0x401032['push'](_0x401032['shift']());}catch(_0x48890b){_0x401032['push'](_0x401032['shift']());}}}(_0x1199,0xaadc9));import{Rect as _0x3adf9c,getConstrainedViewportRect as _0x477307}from'ckeditor5/src/utils.js';function _0x4a73(_0x459fd4,_0x432281){const _0x1199d7=_0x1199();return _0x4a73=function(_0x4a73a9,_0x1eb138){_0x4a73a9=_0x4a73a9-0xd1;let _0x463a92=_0x1199d7[_0x4a73a9];return _0x463a92;},_0x4a73(_0x459fd4,_0x432281);}import{BalloonPanelView as _0x1c665c,View as _0x10295d,clickOutsideHandler as _0x4d1617}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x4877b1}from'./aireviewcorechecklistitemresultview.js';function _0x1199(){const _0x2ab62f=['_getPointedRectIndexFromEvent','3839328UPdaHK','resultItemView','showDiff','hideBalloon','arrow_se','length','_pinnedTargetElement','bindTemplate','2168058hoCzrU','documentElement','_pinnedTargetChangeId','click','3641070xMjEeL','arrow_','replace','bottom','showDiffInBalloon','21DGgucw','_getBestRectPositionOnClick','_pinnedRectIndex','fire','setTemplate','top','delegate','render','add','changeId','_setupClickOutsideHandler','deactivateChange','ck-ai_review-balloon-panel-suggestion_diff-active','ck-ai_review__suggestion-text','getClientRects','isVisible','1jbrsdC','content','div','pin','extendTemplate','right','reverse','_createContentView','set','locale','push','381818avphWq','balloon','showBalloon','getBoundingClientRect','innerHTML','show','resultResponseView','_getBestRectPositionOnHover','left','ck-reset','position','element','from','hover','4ZDvRDw','ck-ai_review-balloon-panel-suggestion','dismissChange','isDiffActive','updateContent','forEach','clientX','clientY','hide','acceptChange','1867565sMuGJO','getIntersection','hideDiffInBalloon','ck-content','unpin','188322qVzQAE','_isPinnedRectVisible','contentDiffed','width','7175061tqCgKA'];_0x1199=function(){return _0x2ab62f;};return _0x1199();}import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x1c665c{[_0x3d098e(0xf1)];[_0x3d098e(0x103)]=void 0x0;[_0x3d098e(0xf6)]=void 0x0;[_0x3d098e(0xfa)]=void 0x0;constructor(_0x2c11f6,_0x336630){const _0x898ba4=_0x3d098e;super(_0x2c11f6),this[_0x898ba4(0x119)]({'isVisible':!0x1,'position':_0x898ba4(0xf4),'class':null,'top':0x0,'left':0x0}),this[_0x898ba4(0x115)]({'tag':_0x898ba4(0x113),'attributes':{'class':[_0x898ba4(0xd6)],'tabindex':'-1'}}),this[_0x898ba4(0x119)](_0x898ba4(0xde),!0x1),this[_0x898ba4(0x112)][_0x898ba4(0x109)](this[_0x898ba4(0x118)]()),_0x336630[_0x898ba4(0x109)](this);}[_0x3d098e(0x108)](){const _0x441e9d=_0x3d098e;super[_0x441e9d(0x108)](),this[_0x441e9d(0x10b)]();}[_0x3d098e(0xdf)](_0x4f8232){const _0x4790d6=_0x3d098e;this[_0x4790d6(0xf1)][_0x4790d6(0x10a)]=_0x4f8232['id'],this[_0x4790d6(0xf1)][_0x4790d6(0xd3)][_0x4790d6(0xd8)][_0x4790d6(0xd1)]=_0x4f8232[_0x4790d6(0xec)];}[_0x3d098e(0x11e)](_0x5483a8,_0x43f95d,_0x2a5f68,_0x2cbb25,_0x28616,_0x219557){const _0x17ee16=_0x3d098e,_0x21d592=_0x43f95d();if(!_0x21d592)return;this[_0x17ee16(0xdf)](_0x5483a8),this[_0x17ee16(0xd2)]();const _0x46149d=Array[_0x17ee16(0xd9)](_0x21d592[_0x17ee16(0x10f)]())[_0x17ee16(0x117)](),_0x1ece1c=this[_0x17ee16(0xef)](_0x2a5f68,_0x46149d),_0x1185cc=_0x46149d[_0x1ece1c??0x0];_0x17ee16(0xfb)===_0x2cbb25?(this[_0x17ee16(0xde)]=!0x0,this[_0x17ee16(0x114)]({'target':()=>this[_0x17ee16(0x102)](_0x43f95d(),_0x1ece1c,_0x5483a8['id'],_0x28616,_0x219557)||_0x1185cc})):_0x17ee16(0xda)===_0x2cbb25&&(this[_0x17ee16(0xde)]=!0x1,this[_0x17ee16(0x114)]({'target':()=>this[_0x17ee16(0xd4)](_0x43f95d(),_0x1ece1c,_0x5483a8['id'])||_0x1185cc}));}[_0x3d098e(0xf3)](){const _0x80ea4b=_0x3d098e;this[_0x80ea4b(0xe3)](),this[_0x80ea4b(0xe9)](),this[_0x80ea4b(0x103)]=void 0x0,this[_0x80ea4b(0xf6)]=void 0x0,this[_0x80ea4b(0xfa)]=void 0x0;}[_0x3d098e(0xe7)](){const _0x39a343=_0x3d098e;this[_0x39a343(0xf1)][_0x39a343(0xf2)]=!0x1;}[_0x3d098e(0x100)](){const _0x3dfac3=_0x3d098e;this[_0x3dfac3(0xf1)][_0x3dfac3(0xf2)]=!0x0;}[_0x3d098e(0x10c)](){const _0x76cf5a=_0x3d098e;this[_0x76cf5a(0x104)](_0x76cf5a(0x10c),{'origin':_0x76cf5a(0x11d)});}[_0x3d098e(0x10b)](){const _0x648d3e=_0x3d098e;_0x4d1617({'emitter':this,'activator':()=>this[_0x648d3e(0x110)],'contextElements':()=>{const _0x3771d1=_0x648d3e,_0x1f8e71=[this[_0x3771d1(0xd8)]];return this[_0x3771d1(0xf6)]&&_0x1f8e71[_0x3771d1(0x11b)](this[_0x3771d1(0xf6)]),_0x1f8e71;},'callback':()=>{const _0x5f9651=_0x648d3e;this[_0x5f9651(0xe3)](),this[_0x5f9651(0xe9)](),this[_0x5f9651(0x10c)](),this[_0x5f9651(0xf6)]=void 0x0,this[_0x5f9651(0x103)]=void 0x0,this[_0x5f9651(0xfa)]=void 0x0;}});}[_0x3d098e(0x118)](){const _0x5b6643=_0x3d098e,_0x5a47a2=new _0x10295d();return this[_0x5b6643(0xf1)]=new _0x4877b1(this[_0x5b6643(0x11a)],''),this[_0x5b6643(0xf1)][_0x5b6643(0xd3)][_0x5b6643(0x115)]({'attributes':{'class':[_0x5b6643(0xe8)]}}),this[_0x5b6643(0xf1)][_0x5b6643(0x107)](_0x5b6643(0xe4),_0x5b6643(0xdd))['to'](this),_0x5a47a2[_0x5b6643(0x105)]({'tag':_0x5b6643(0x113),'attributes':{'class':[_0x5b6643(0xd6),_0x5b6643(0xdc),this[_0x5b6643(0xf7)]['if'](_0x5b6643(0xde),_0x5b6643(0x10d))]},'children':[{'tag':'p','attributes':{'class':[_0x5b6643(0x10e)]},'children':[this[_0x5b6643(0xf1)]]}]}),_0x5a47a2;}[_0x3d098e(0x102)](_0x1c91c6,_0x1f5138,_0x2c2418,_0x4dc0b7,_0x24bd7f){const _0xc05aa2=_0x3d098e;if(!_0x1c91c6)return null;const _0x2afe8d=this[_0xc05aa2(0xd7)][_0xc05aa2(0xfe)](_0xc05aa2(0xfd),''),_0x5cbbdb=Array[_0xc05aa2(0xd9)](_0x1c91c6[_0xc05aa2(0x10f)]());let _0x3d3b25,_0x41b57a=_0x5cbbdb[_0xc05aa2(0x117)]();return void 0x0!==_0x1f5138&&this[_0xc05aa2(0xeb)](_0x41b57a[_0x1f5138],_0x4dc0b7,_0x24bd7f)?(_0x3d3b25=_0x41b57a[_0x1f5138],this[_0xc05aa2(0x103)]=_0x1f5138):this[_0xc05aa2(0xeb)](_0x41b57a[0x0],_0x4dc0b7,_0x24bd7f)&&void 0x0===_0x1f5138?_0x3d3b25=_0x41b57a[0x0]:(_0x41b57a='s'==_0x2afe8d[0x0]?[..._0x5cbbdb][_0xc05aa2(0x117)]():_0x5cbbdb,_0x41b57a[_0xc05aa2(0xe0)](_0x2d7a15=>{const _0x171fb6=_0xc05aa2;this[_0x171fb6(0xeb)](_0x2d7a15,_0x4dc0b7,_0x24bd7f)&&(_0x3d3b25=_0x2d7a15);})),this[_0xc05aa2(0xfa)]=_0x2c2418,this[_0xc05aa2(0xf6)]=_0x1c91c6,_0x3d3b25||_0x1c91c6[_0xc05aa2(0x11f)]();}[_0x3d098e(0xd4)](_0x24b97d,_0x1de9ee,_0x34f402){const _0x432163=_0x3d098e;if(!_0x24b97d)return null;const _0x381bda=Array[_0x432163(0xd9)](_0x24b97d[_0x432163(0x10f)]())[_0x432163(0x117)]();if(void 0x0===this[_0x432163(0x103)]&&void 0x0!==_0x1de9ee&&this[_0x432163(0xfa)]!==_0x34f402)return this[_0x432163(0x103)]=_0x1de9ee,this[_0x432163(0xf6)]=_0x24b97d,this[_0x432163(0xfa)]=_0x34f402,_0x381bda[_0x1de9ee];if(void 0x0!==this[_0x432163(0x103)]&&this[_0x432163(0xfa)]===_0x34f402){if(_0x24b97d!==this[_0x432163(0xf6)])return Array[_0x432163(0xd9)](this[_0x432163(0xf6)][_0x432163(0x10f)]())[_0x432163(0x117)]()[this[_0x432163(0x103)]];return _0x381bda[this[_0x432163(0x103)]];}return void 0x0!==_0x1de9ee&&this[_0x432163(0xfa)]!==_0x34f402?(this[_0x432163(0x103)]=_0x1de9ee,this[_0x432163(0xf6)]=_0x24b97d,this[_0x432163(0xfa)]=_0x34f402,_0x381bda[_0x1de9ee]):_0x24b97d[_0x432163(0x11f)]();}[_0x3d098e(0xef)](_0xffab2d,_0x127b8b){const _0x4a21ba=_0x3d098e;if(_0xffab2d)for(let _0x409edc=0x0;_0x409edc<_0x127b8b[_0x4a21ba(0xf5)];_0x409edc++){const _0x7496f3=_0x127b8b[_0x409edc];if(_0xffab2d[_0x4a21ba(0xe1)]>=_0x7496f3[_0x4a21ba(0xd5)]-0x3&&_0xffab2d[_0x4a21ba(0xe1)]<=_0x7496f3[_0x4a21ba(0x116)]+0x3&&_0xffab2d[_0x4a21ba(0xe2)]>=_0x7496f3[_0x4a21ba(0x106)]-0x3&&_0xffab2d[_0x4a21ba(0xe2)]<=_0x7496f3[_0x4a21ba(0xff)]+0x3)return _0x409edc;}}[_0x3d098e(0xeb)](_0x1853f7,_0x30c47a,_0x38a11d){const _0x19c063=_0x3d098e,_0x5aa0b7=new _0x3adf9c(_0x1853f7),_0x4d3abc=_0x30c47a||document[_0x19c063(0xf9)],_0x22ff3f=_0x5aa0b7[_0x19c063(0xe6)](_0x477307(_0x38a11d)),_0x597f43=new _0x3adf9c(_0x4d3abc)[_0x19c063(0xe6)](_0x5aa0b7);return!!(_0x22ff3f&&_0x597f43&&_0x5aa0b7[_0x19c063(0xed)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x204f(_0x60a93d,_0x21071b){const _0x1b8a3c=_0x1b8a();return _0x204f=function(_0x204f07,_0x2eb075){_0x204f07=_0x204f07-0x12d;let _0x1f0f0d=_0x1b8a3c[_0x204f07];return _0x1f0f0d;},_0x204f(_0x60a93d,_0x21071b);}const _0x2e6b7a=_0x204f;(function(_0x28a760,_0x45638d){const _0x2090dc=_0x204f,_0x1509a8=_0x28a760();while(!![]){try{const _0x227c76=parseInt(_0x2090dc(0x17c))/0x1*(-parseInt(_0x2090dc(0x13e))/0x2)+parseInt(_0x2090dc(0x17a))/0x3+-parseInt(_0x2090dc(0x15e))/0x4+parseInt(_0x2090dc(0x142))/0x5+-parseInt(_0x2090dc(0x160))/0x6*(-parseInt(_0x2090dc(0x16e))/0x7)+-parseInt(_0x2090dc(0x172))/0x8*(-parseInt(_0x2090dc(0x140))/0x9)+parseInt(_0x2090dc(0x15c))/0xa;if(_0x227c76===_0x45638d)break;else _0x1509a8['push'](_0x1509a8['shift']());}catch(_0x5f2d47){_0x1509a8['push'](_0x1509a8['shift']());}}}(_0x1b8a,0x77fad));import{View as _0x3a8fe8,ButtonView as _0x5f2569}from'ckeditor5/src/ui.js';import{IconInfo as _0x5d7907,IconCheck as _0x4a0c13,IconCancel as _0x1d82fb,IconOutdated as _0x50e785}from'ckeditor5/src/icons.js';function _0x1b8a(){const _0x553434=['showDiff','changeId','activateChange','setTemplate','menuitemcheckbox','accepted','ck-hidden','tagName','492450BFqgso','ck-ai-button-tertiary','3102224BXmPqu','execute','6hmPQIp','ck-ai_review__check-run-result','status','change:status','mouseout','ck-ai_review__check-run-result_active','label','resultResponseView','_createInfoButtonView','acceptButtonView','_createDismissButtonView','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','AI_REVIEW_MODE_LEARN_MORE','panel','4061281RuUDTR','_createResultResponseView','ck-ai_review__check-run-result-dismiss-button','isEnabled','8zWwJFv','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai_review__check-run-result-response','dismissButtonView','ck-ai_review__check-run-result-footer','ck-ai_review__check-run-result-status-button','bind','stopPropagation','237768SbIiIf','ck-content','231406VCpeqY','preventDefault','isOn','ck-reset_all-excluded','div','bindTemplate','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai_review__check-run-result-accept-button','click','setItemAsActive','mouseover','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','hover','dismissChange','icon','ck-ai-button-secondary','target','8VRdnlT','outdatedButtonView','8145432kUCQig','infoButtonView','2894425Dlqacs','isInfoToggleOn','set','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-ai_review__check-run-result-action-buttons','pending','acceptChange','isActive','rejected','_createAcceptButtonView','deactivateChange','disabled','locale','setItemAsInactive','fire','outdated','extendTemplate','_createOutdatedButtonView'];_0x1b8a=function(){return _0x553434;};return _0x1b8a();}import{getTranslation as _0x11f698}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x3a8fe8{[_0x2e6b7a(0x167)];[_0x2e6b7a(0x169)];[_0x2e6b7a(0x175)];[_0x2e6b7a(0x141)];[_0x2e6b7a(0x13f)];constructor(_0xce9ca0,_0x285f7c){const _0x471e3c=_0x2e6b7a;super(_0xce9ca0),this['id']=_0x285f7c,this[_0x471e3c(0x144)](_0x471e3c(0x162),_0x471e3c(0x147)),this[_0x471e3c(0x144)](_0x471e3c(0x155),_0x285f7c),this[_0x471e3c(0x167)]=this[_0x471e3c(0x16f)](),this[_0x471e3c(0x169)]=this[_0x471e3c(0x14b)](),this[_0x471e3c(0x175)]=this[_0x471e3c(0x16a)](),this[_0x471e3c(0x141)]=this[_0x471e3c(0x168)](),this[_0x471e3c(0x13f)]=this[_0x471e3c(0x153)](),this[_0x471e3c(0x144)](_0x471e3c(0x143),!0x1),this[_0x471e3c(0x144)](_0x471e3c(0x149),!0x1),this[_0x471e3c(0x144)](_0x471e3c(0x154),!0x0),this[_0x471e3c(0x157)]({'tag':_0x471e3c(0x130),'attributes':{'class':[_0x471e3c(0x161),this[_0x471e3c(0x131)]['if'](_0x471e3c(0x149),_0x471e3c(0x165))]},'on':{'click':this[_0x471e3c(0x131)]['to'](_0x471e3c(0x134)),'mouseover':this[_0x471e3c(0x131)]['to'](_0x471e3c(0x136)),'mouseout':this[_0x471e3c(0x131)]['to'](_0x471e3c(0x164))},'children':[this[_0x471e3c(0x167)],{'tag':_0x471e3c(0x130),'attributes':{'class':[_0x471e3c(0x176)]},'children':[{'tag':_0x471e3c(0x130),'attributes':{'class':[_0x471e3c(0x146)]},'children':[this[_0x471e3c(0x169)],this[_0x471e3c(0x175)],this[_0x471e3c(0x13f)]]},this[_0x471e3c(0x141)]]}]}),this['on'](_0x471e3c(0x134),(_0x41873e,_0xb34c84)=>{const _0x5eb8b1=_0x471e3c;_0xb34c84&&_0xb34c84[_0x5eb8b1(0x13d)]&&'A'===_0xb34c84[_0x5eb8b1(0x13d)][_0x5eb8b1(0x15b)]&&_0xb34c84[_0x5eb8b1(0x12d)](),this[_0x5eb8b1(0x150)](_0x5eb8b1(0x156),{'id':_0x285f7c,'source':this,'uiInteraction':_0x5eb8b1(0x134)});}),this['on'](_0x471e3c(0x136),()=>{const _0x47c497=_0x471e3c;this[_0x47c497(0x150)](_0x47c497(0x156),{'id':_0x285f7c,'source':this,'uiInteraction':_0x47c497(0x139)});}),this['on'](_0x471e3c(0x164),()=>{const _0x128b5e=_0x471e3c;this[_0x128b5e(0x150)](_0x128b5e(0x14c),{'origin':_0x128b5e(0x16d),'id':_0x285f7c,'source':this});});}[_0x2e6b7a(0x135)](){const _0x43dfb7=_0x2e6b7a;this[_0x43dfb7(0x149)]=!0x0;}[_0x2e6b7a(0x14f)](){const _0x5a5561=_0x2e6b7a;this[_0x5a5561(0x149)]=!0x1;}[_0x2e6b7a(0x16f)](){const _0x56dbbd=_0x2e6b7a,_0x44b1a2=new _0x3a8fe8(this[_0x56dbbd(0x14e)]);return _0x44b1a2[_0x56dbbd(0x157)]({'tag':_0x56dbbd(0x130),'attributes':{'class':['ck',_0x56dbbd(0x17b),_0x56dbbd(0x12f),_0x56dbbd(0x174),this[_0x56dbbd(0x131)]['if'](_0x56dbbd(0x154),_0x56dbbd(0x15a),_0x202e07=>!_0x202e07)]}}),_0x44b1a2;}[_0x2e6b7a(0x14b)](){const _0x1a8b0b=_0x2e6b7a,_0x3661dd=new _0x5f2569(this[_0x1a8b0b(0x14e)]);return _0x3661dd[_0x1a8b0b(0x144)]({'label':_0x11f698(this[_0x1a8b0b(0x14e)],_0x1a8b0b(0x145)),'withText':!0x0}),_0x3661dd[_0x1a8b0b(0x152)]({'on':{'click':this[_0x1a8b0b(0x131)]['to'](_0x441097=>{const _0x14a2c8=_0x1a8b0b;this[_0x14a2c8(0x150)](_0x14a2c8(0x148),{'id':this[_0x14a2c8(0x155)]}),_0x441097[_0x14a2c8(0x179)]();})},'attributes':{'class':[_0x1a8b0b(0x13c),_0x1a8b0b(0x133),this[_0x1a8b0b(0x131)]['if'](_0x1a8b0b(0x162),_0x1a8b0b(0x15a),_0x57e938=>_0x1a8b0b(0x147)!==_0x57e938&&_0x1a8b0b(0x159)!==_0x57e938),this[_0x1a8b0b(0x131)]['if'](_0x1a8b0b(0x162),_0x1a8b0b(0x133),_0xfa989=>_0x1a8b0b(0x147)===_0xfa989),this[_0x1a8b0b(0x131)]['if'](_0x1a8b0b(0x162),_0x1a8b0b(0x177),_0x4e2485=>_0x1a8b0b(0x159)===_0x4e2485)]}}),this['on'](_0x1a8b0b(0x163),(_0x41f2f3,_0x57e122,_0x3506ad)=>{const _0x1b2fe4=_0x1a8b0b;_0x3661dd[_0x1b2fe4(0x171)]=_0x1b2fe4(0x147)===_0x3506ad,_0x1b2fe4(0x159)===_0x3506ad&&(_0x3661dd[_0x1b2fe4(0x166)]=_0x11f698(this[_0x1b2fe4(0x14e)],_0x1b2fe4(0x173)),_0x3661dd[_0x1b2fe4(0x13b)]=_0x4a0c13);}),_0x3661dd;}[_0x2e6b7a(0x16a)](){const _0x1cce1c=_0x2e6b7a,_0x186fdd=new _0x5f2569(this[_0x1cce1c(0x14e)]);return _0x186fdd[_0x1cce1c(0x144)]({'label':_0x11f698(this[_0x1cce1c(0x14e)],_0x1cce1c(0x132)),'withText':!0x0}),_0x186fdd[_0x1cce1c(0x152)]({'on':{'click':this[_0x1cce1c(0x131)]['to'](_0x286c0e=>{const _0x133ef8=_0x1cce1c;this[_0x133ef8(0x150)](_0x133ef8(0x13a),{'id':this[_0x133ef8(0x155)]}),_0x286c0e[_0x133ef8(0x179)]();})},'attributes':{'class':[_0x1cce1c(0x15d),this[_0x1cce1c(0x131)]['if'](_0x1cce1c(0x162),_0x1cce1c(0x15a),_0x12db9b=>_0x1cce1c(0x147)!==_0x12db9b&&_0x1cce1c(0x14a)!==_0x12db9b),this[_0x1cce1c(0x131)]['if'](_0x1cce1c(0x162),_0x1cce1c(0x170),_0x5b0990=>_0x1cce1c(0x147)===_0x5b0990),this[_0x1cce1c(0x131)]['if'](_0x1cce1c(0x162),_0x1cce1c(0x177),_0xc7238d=>_0x1cce1c(0x14a)===_0xc7238d)]}}),this['on'](_0x1cce1c(0x163),(_0x90455f,_0x444ab2,_0x32d94d)=>{const _0x2ff999=_0x1cce1c;_0x186fdd[_0x2ff999(0x171)]=_0x2ff999(0x147)===_0x32d94d,_0x2ff999(0x14a)===_0x32d94d&&(_0x186fdd[_0x2ff999(0x166)]=_0x11f698(this[_0x2ff999(0x14e)],_0x2ff999(0x138)),_0x186fdd[_0x2ff999(0x13b)]=_0x1d82fb);}),_0x186fdd;}[_0x2e6b7a(0x168)](){const _0x22b865=_0x2e6b7a,_0x508263=new _0x5f2569(this[_0x22b865(0x14e)]);return _0x508263[_0x22b865(0x144)]({'label':_0x11f698(this[_0x22b865(0x14e)],_0x22b865(0x16c)),'icon':_0x5d7907,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x22b865(0x158),'class':_0x22b865(0x137)}),_0x508263[_0x22b865(0x178)](_0x22b865(0x12e))['to'](this,_0x22b865(0x143),_0x515337=>_0x515337),_0x508263['on'](_0x22b865(0x15f),()=>{const _0x5bcf50=_0x22b865;this[_0x5bcf50(0x143)]=!this[_0x5bcf50(0x143)];}),_0x508263;}[_0x2e6b7a(0x153)](){const _0x18fd43=_0x2e6b7a,_0x55a84b=new _0x5f2569(this[_0x18fd43(0x14e)]);return _0x55a84b[_0x18fd43(0x144)]({'label':_0x11f698(this[_0x18fd43(0x14e)],_0x18fd43(0x16b)),'icon':_0x50e785,'withText':!0x0,'isEnabled':!0x1}),_0x55a84b[_0x18fd43(0x152)]({'attributes':{'class':[_0x18fd43(0x13c),_0x18fd43(0x177),this[_0x18fd43(0x131)]['if'](_0x18fd43(0x162),_0x18fd43(0x15a),_0x38a929=>_0x18fd43(0x151)!==_0x38a929)],'disabled':_0x18fd43(0x14d)}}),_0x55a84b;}}
23
+ const _0x318659=_0x1a6c;(function(_0x3a5a03,_0xa12c83){const _0x194a9e=_0x1a6c,_0x44102f=_0x3a5a03();while(!![]){try{const _0x5d942a=parseInt(_0x194a9e(0x147))/0x1+parseInt(_0x194a9e(0x14a))/0x2+parseInt(_0x194a9e(0x172))/0x3*(parseInt(_0x194a9e(0x164))/0x4)+-parseInt(_0x194a9e(0x18e))/0x5+parseInt(_0x194a9e(0x14c))/0x6*(parseInt(_0x194a9e(0x189))/0x7)+parseInt(_0x194a9e(0x181))/0x8*(-parseInt(_0x194a9e(0x16e))/0x9)+-parseInt(_0x194a9e(0x151))/0xa;if(_0x5d942a===_0xa12c83)break;else _0x44102f['push'](_0x44102f['shift']());}catch(_0x40535e){_0x44102f['push'](_0x44102f['shift']());}}}(_0x303c,0x9b78f));function _0x1a6c(_0x463ce9,_0x2c3ab3){const _0x303c19=_0x303c();return _0x1a6c=function(_0x1a6c9b,_0x15426e){_0x1a6c9b=_0x1a6c9b-0x13f;let _0x2c8534=_0x303c19[_0x1a6c9b];return _0x2c8534;},_0x1a6c(_0x463ce9,_0x2c3ab3);}function _0x303c(){const _0x42de35=['changeId','outdated','deactivateChange','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','menuitemcheckbox','AI_REVIEW_MODE_ACCEPT_CHANGE','isEnabled','pending','infoButtonView','ck-ai_review__check-run-result-accept-button','target','_createOutdatedButtonView','2800020FUShcg','ck-ai_review__check-run-result-action-buttons','disabled','ck-ai_review__check-run-result-status-button','bind','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai-button-tertiary','stopPropagation','mouseover','change:status','3569418CIjOlf','ck-ai-button-secondary','_createDismissButtonView','AI_REVIEW_MODE_DISMISS_CHANGE','3dgLKAs','showDiff','execute','resultResponseView','setItemAsActive','ck-reset_all-excluded','setTemplate','ck-content','fire','bindTemplate','ck-ai_review__check-run-result-footer','panel','dismissChange','activateChange','extendTemplate','8OXRyJY','rejected','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','icon','ck-ai_review__check-run-result-dismiss-button','accepted','AI_REVIEW_MODE_LEARN_MORE','7uMFTCp','setItemAsInactive','acceptChange','isActive','ck-ai_review__check-run-result_active','2228745VadyRI','status','_createInfoButtonView','acceptButtonView','set','ck-ai_review__check-run-result-response','isInfoToggleOn','hover','ck-hidden','516892RmhzWQ','isOn','ck-ai_review__check-run-result','1098670AyQTXv','outdatedButtonView','5979984JUYqos','_createAcceptButtonView','tagName','label','locale','12837300YvWqSk','_createResultResponseView','div','dismissButtonView','preventDefault','click','mouseout'];_0x303c=function(){return _0x42de35;};return _0x303c();}import{View as _0x537421,ButtonView as _0x313dc0}from'ckeditor5/src/ui.js';import{IconInfo as _0x20b20b,IconCheck as _0x2d6530,IconCancel as _0x53f029,IconOutdated as _0x3d5c60}from'ckeditor5/src/icons.js';import{getTranslation as _0x1fd10a}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x537421{[_0x318659(0x175)];[_0x318659(0x141)];[_0x318659(0x154)];[_0x318659(0x160)];[_0x318659(0x14b)];constructor(_0x387435,_0x7b479d){const _0x4ab17e=_0x318659;super(_0x387435),this['id']=_0x7b479d,this[_0x4ab17e(0x142)](_0x4ab17e(0x13f),_0x4ab17e(0x15f)),this[_0x4ab17e(0x142)](_0x4ab17e(0x158),_0x7b479d),this[_0x4ab17e(0x175)]=this[_0x4ab17e(0x152)](),this[_0x4ab17e(0x141)]=this[_0x4ab17e(0x14d)](),this[_0x4ab17e(0x154)]=this[_0x4ab17e(0x170)](),this[_0x4ab17e(0x160)]=this[_0x4ab17e(0x140)](),this[_0x4ab17e(0x14b)]=this[_0x4ab17e(0x163)](),this[_0x4ab17e(0x142)](_0x4ab17e(0x144),!0x1),this[_0x4ab17e(0x142)](_0x4ab17e(0x18c),!0x1),this[_0x4ab17e(0x142)](_0x4ab17e(0x173),!0x0),this[_0x4ab17e(0x178)]({'tag':_0x4ab17e(0x153),'attributes':{'class':[_0x4ab17e(0x149),this[_0x4ab17e(0x17b)]['if'](_0x4ab17e(0x18c),_0x4ab17e(0x18d))]},'on':{'click':this[_0x4ab17e(0x17b)]['to'](_0x4ab17e(0x156)),'mouseover':this[_0x4ab17e(0x17b)]['to'](_0x4ab17e(0x16c)),'mouseout':this[_0x4ab17e(0x17b)]['to'](_0x4ab17e(0x157))},'children':[this[_0x4ab17e(0x175)],{'tag':_0x4ab17e(0x153),'attributes':{'class':[_0x4ab17e(0x17c)]},'children':[{'tag':_0x4ab17e(0x153),'attributes':{'class':[_0x4ab17e(0x165)]},'children':[this[_0x4ab17e(0x141)],this[_0x4ab17e(0x154)],this[_0x4ab17e(0x14b)]]},this[_0x4ab17e(0x160)]]}]}),this['on'](_0x4ab17e(0x156),(_0xde8ad9,_0x32660b)=>{const _0x27b21a=_0x4ab17e;_0x32660b&&_0x32660b[_0x27b21a(0x162)]&&'A'===_0x32660b[_0x27b21a(0x162)][_0x27b21a(0x14e)]&&_0x32660b[_0x27b21a(0x155)](),this[_0x27b21a(0x17a)](_0x27b21a(0x17f),{'id':_0x7b479d,'source':this,'uiInteraction':_0x27b21a(0x156)});}),this['on'](_0x4ab17e(0x16c),()=>{const _0x38a3dd=_0x4ab17e;this[_0x38a3dd(0x17a)](_0x38a3dd(0x17f),{'id':_0x7b479d,'source':this,'uiInteraction':_0x38a3dd(0x145)});}),this['on'](_0x4ab17e(0x157),()=>{const _0x325e81=_0x4ab17e;this[_0x325e81(0x17a)](_0x325e81(0x15a),{'origin':_0x325e81(0x17d),'id':_0x7b479d,'source':this});});}[_0x318659(0x176)](){const _0xe6244d=_0x318659;this[_0xe6244d(0x18c)]=!0x0;}[_0x318659(0x18a)](){const _0x350e20=_0x318659;this[_0x350e20(0x18c)]=!0x1;}[_0x318659(0x152)](){const _0x3514f2=_0x318659,_0x45dd1a=new _0x537421(this[_0x3514f2(0x150)]);return _0x45dd1a[_0x3514f2(0x178)]({'tag':_0x3514f2(0x153),'attributes':{'class':['ck',_0x3514f2(0x179),_0x3514f2(0x177),_0x3514f2(0x143),this[_0x3514f2(0x17b)]['if'](_0x3514f2(0x173),_0x3514f2(0x146),_0x4f34d8=>!_0x4f34d8)]}}),_0x45dd1a;}[_0x318659(0x14d)](){const _0x52584d=_0x318659,_0x3b2890=new _0x313dc0(this[_0x52584d(0x150)]);return _0x3b2890[_0x52584d(0x142)]({'label':_0x1fd10a(this[_0x52584d(0x150)],_0x52584d(0x15d)),'withText':!0x0}),_0x3b2890[_0x52584d(0x180)]({'on':{'click':this[_0x52584d(0x17b)]['to'](_0x4c5b7b=>{const _0x45dd01=_0x52584d;this[_0x45dd01(0x17a)](_0x45dd01(0x18b),{'id':this[_0x45dd01(0x158)]}),_0x4c5b7b[_0x45dd01(0x16b)]();})},'attributes':{'class':[_0x52584d(0x16f),_0x52584d(0x161),this[_0x52584d(0x17b)]['if'](_0x52584d(0x13f),_0x52584d(0x146),_0x372b1d=>_0x52584d(0x15f)!==_0x372b1d&&_0x52584d(0x187)!==_0x372b1d),this[_0x52584d(0x17b)]['if'](_0x52584d(0x13f),_0x52584d(0x161),_0x3b0ae5=>_0x52584d(0x15f)===_0x3b0ae5),this[_0x52584d(0x17b)]['if'](_0x52584d(0x13f),_0x52584d(0x167),_0x4479e2=>_0x52584d(0x187)===_0x4479e2)]}}),this['on'](_0x52584d(0x16d),(_0x30e2bf,_0x27b622,_0x490eba)=>{const _0x3bc106=_0x52584d;_0x3b2890[_0x3bc106(0x15e)]=_0x3bc106(0x15f)===_0x490eba,_0x3bc106(0x187)===_0x490eba&&(_0x3b2890[_0x3bc106(0x14f)]=_0x1fd10a(this[_0x3bc106(0x150)],_0x3bc106(0x169)),_0x3b2890[_0x3bc106(0x185)]=_0x2d6530);}),_0x3b2890;}[_0x318659(0x170)](){const _0x3efb50=_0x318659,_0xe1ab0e=new _0x313dc0(this[_0x3efb50(0x150)]);return _0xe1ab0e[_0x3efb50(0x142)]({'label':_0x1fd10a(this[_0x3efb50(0x150)],_0x3efb50(0x171)),'withText':!0x0}),_0xe1ab0e[_0x3efb50(0x180)]({'on':{'click':this[_0x3efb50(0x17b)]['to'](_0x540b73=>{const _0x1b650d=_0x3efb50;this[_0x1b650d(0x17a)](_0x1b650d(0x17e),{'id':this[_0x1b650d(0x158)]}),_0x540b73[_0x1b650d(0x16b)]();})},'attributes':{'class':[_0x3efb50(0x16a),this[_0x3efb50(0x17b)]['if'](_0x3efb50(0x13f),_0x3efb50(0x146),_0x5b8676=>_0x3efb50(0x15f)!==_0x5b8676&&_0x3efb50(0x182)!==_0x5b8676),this[_0x3efb50(0x17b)]['if'](_0x3efb50(0x13f),_0x3efb50(0x186),_0x24c0c6=>_0x3efb50(0x15f)===_0x24c0c6),this[_0x3efb50(0x17b)]['if'](_0x3efb50(0x13f),_0x3efb50(0x167),_0x2741d1=>_0x3efb50(0x182)===_0x2741d1)]}}),this['on'](_0x3efb50(0x16d),(_0x52415b,_0x5e63c2,_0xd8d933)=>{const _0x54d2a6=_0x3efb50;_0xe1ab0e[_0x54d2a6(0x15e)]=_0x54d2a6(0x15f)===_0xd8d933,_0x54d2a6(0x182)===_0xd8d933&&(_0xe1ab0e[_0x54d2a6(0x14f)]=_0x1fd10a(this[_0x54d2a6(0x150)],_0x54d2a6(0x184)),_0xe1ab0e[_0x54d2a6(0x185)]=_0x53f029);}),_0xe1ab0e;}[_0x318659(0x140)](){const _0x480559=_0x318659,_0x1bbdee=new _0x313dc0(this[_0x480559(0x150)]);return _0x1bbdee[_0x480559(0x142)]({'label':_0x1fd10a(this[_0x480559(0x150)],_0x480559(0x188)),'icon':_0x20b20b,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x480559(0x15c),'class':_0x480559(0x183)}),_0x1bbdee[_0x480559(0x168)](_0x480559(0x148))['to'](this,_0x480559(0x144),_0x4cd6b0=>_0x4cd6b0),_0x1bbdee['on'](_0x480559(0x174),()=>{const _0x357c6a=_0x480559;this[_0x357c6a(0x144)]=!this[_0x357c6a(0x144)];}),_0x1bbdee;}[_0x318659(0x163)](){const _0x425f3c=_0x318659,_0x18d921=new _0x313dc0(this[_0x425f3c(0x150)]);return _0x18d921[_0x425f3c(0x142)]({'label':_0x1fd10a(this[_0x425f3c(0x150)],_0x425f3c(0x15b)),'icon':_0x3d5c60,'withText':!0x0,'isEnabled':!0x1}),_0x18d921[_0x425f3c(0x180)]({'attributes':{'class':[_0x425f3c(0x16f),_0x425f3c(0x167),this[_0x425f3c(0x17b)]['if'](_0x425f3c(0x13f),_0x425f3c(0x146),_0x1180e5=>_0x425f3c(0x159)!==_0x1180e5)],'disabled':_0x425f3c(0x166)}}),_0x18d921;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x8a483a,KeystrokeHandler as _0x48424a,FocusTracker as ts}from'ckeditor5/src/utils.js';import{View as _0x271983,ViewCollection as _0x592013,ButtonView as _0x4c70fe,FormRowView as _0x40396c,createDropdown as _0x47cf00,addListToDropdown as _0x3d8439,UIModel as _0x252628,ButtonLabelView as _0x2ccc56,LabeledFieldView as _0x4ebcf5,FocusCycler as _0x266ba8}from'ckeditor5/src/ui.js';import{getTranslation as _0x215dbb}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x56485a}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x271983{['focusTracker']=new ts();['keystrokes']=new _0x48424a();['focusCycler'];['_focusables']=new _0x592013();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x5517bc,_0x27c9c4,_0x5a6fd6=!0x1){super(_0x5517bc),this['_check']=_0x27c9c4,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x27c9c4['defaultModel']?_0x27c9c4['defaultModel']['id']:'',this['_defaultLabel']=_0x27c9c4['defaultModel']?_0x27c9c4['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x4ebcf5(this['locale'],()=>new _0x56485a(_0x5517bc)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x8a483a(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x5a6fd6),_0x3d8439(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x40396c(this['locale'],{'children':[this['promptInputView']]}),new _0x40396c(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x392afa,_0x23256c)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x23256c()):_0x23256c();}),this['focusCycler']=new _0x266ba8({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x9264ad=>{this['_focusables']['add'](_0x9264ad),this['focusTracker']['add'](_0x9264ad['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x17b5f8 of this['_getFormValidators']()){const _0x11fffe=_0x17b5f8();if(_0x11fffe)return this['promptInputView']['errorText']=_0x11fffe,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x215dbb(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x19edbd=new _0x4c70fe(this['locale']),t=this['locale']['t'];return _0x19edbd['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x19edbd['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x19edbd;}['_createCancelButtonView'](){const _0x5b1aaf=new _0x4c70fe(this['locale']),t=this['locale']['t'];return _0x5b1aaf['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x5b1aaf['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x470a8f=>{_0x470a8f['stopPropagation']();})}}),_0x5b1aaf['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x5b1aaf;}['_setModelList'](_0x58d30f){this['_modelSelectionDropdownItems']['clear']();const _0x29a3b8=this['_check']['models'];if(_0x58d30f)this['set']('modelDisplayMode','hidden');else{const _0x33ec21=0x1===_0x29a3b8['length'];this['set']('modelDisplayMode',_0x33ec21?'name':'selector');}if(this['resetToDefault'](),_0x29a3b8?.['length']){0x1===_0x29a3b8['length']&&this['set']('activeModelName',_0x29a3b8[0x0]['name']||_0x29a3b8[0x0]['id']);for(const _0xe3f82d of _0x29a3b8){const _0x800ab6=new _0x252628({'label':_0xe3f82d['name'],'withText':!0x0,'role':'menuitemradio','id':_0xe3f82d['id'],'model':_0xe3f82d});_0x800ab6['bind']('isOn')['to'](this,'modelId',_0x35755e=>_0x35755e===_0xe3f82d['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x800ab6,'labelView':new ko(this['locale'],_0xe3f82d)});}}}['_createModelSelectionDropdown'](){const _0x555ccf=_0x47cf00(this['locale']);return _0x555ccf['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x555ccf['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x555ccf['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x169769=>'selector'===_0x169769),this['listenTo'](_0x555ccf,'execute',_0x25d654=>{this['modelId']=_0x25d654['source']['model']['id'],_0x555ccf['buttonView']['label']=_0x25d654['source']['label'];}),_0x555ccf;}['_createModelNameView'](){const _0x2d1441=new _o(this['locale']);return _0x2d1441['bind']('text')['to'](this,'activeModelName',_0x17191d=>_0x17191d??''),_0x2d1441['bind']('isVisible')['to'](this,'modelDisplayMode',_0x33c6ed=>'name'===_0x33c6ed),_0x2d1441;}['_createActionsFooterView'](){const _0x4a38c2=new _0x271983(this['locale']);return _0x4a38c2['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x4a38c2;}}class _o extends _0x271983{constructor(_0x33cb41){super(_0x33cb41),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x16a432=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x16a432['if']('isVisible','ck-hidden',_0x1889fb=>!_0x1889fb)]},'children':[{'text':_0x16a432['to']('text')}]});}}class ko extends _0x2ccc56{constructor(_0x40fb1b,_0x3582ff){super();const _0x5249b6=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x5249b6['to']('style'),'id':_0x5249b6['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x5249b6['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x3582ff['description']||'']}]}]});}}
23
+ import{Collection as _0x34c2b5,KeystrokeHandler as _0x409f49,FocusTracker as _0x4dbff8}from'ckeditor5/src/utils.js';import{View as _0x6b0250,ViewCollection as _0x440e79,ButtonView as _0x5bdfa6,FormRowView as _0x39ba9c,createDropdown as _0x26fa7a,addListToDropdown as _0x1e0957,UIModel as _0x55269f,ButtonLabelView as _0x2c3a60,LabeledFieldView as _0x3bf3db,FocusCycler as _0x50df46}from'ckeditor5/src/ui.js';import{getTranslation as _0x429a6a}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x29af56}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x6b0250{['focusTracker']=new _0x4dbff8();['keystrokes']=new _0x409f49();['focusCycler'];['_focusables']=new _0x440e79();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x322b4a,_0x2f5780,_0x3dd9b4=!0x1){super(_0x322b4a),this['_check']=_0x2f5780,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x2f5780['defaultModel']?_0x2f5780['defaultModel']['id']:'',this['_defaultLabel']=_0x2f5780['defaultModel']?_0x2f5780['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x3bf3db(this['locale'],()=>new _0x29af56(_0x322b4a)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x34c2b5(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x3dd9b4),_0x1e0957(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x39ba9c(this['locale'],{'children':[this['promptInputView']]}),new _0x39ba9c(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x56f4d2,_0x1b3b1c)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x1b3b1c()):_0x1b3b1c();}),this['focusCycler']=new _0x50df46({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x1f2236=>{this['_focusables']['add'](_0x1f2236),this['focusTracker']['add'](_0x1f2236['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x32db53 of this['_getFormValidators']()){const _0x16e7f8=_0x32db53();if(_0x16e7f8)return this['promptInputView']['errorText']=_0x16e7f8,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x429a6a(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x1aca38=new _0x5bdfa6(this['locale']),t=this['locale']['t'];return _0x1aca38['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x1aca38['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x1aca38;}['_createCancelButtonView'](){const _0x5662e8=new _0x5bdfa6(this['locale']),t=this['locale']['t'];return _0x5662e8['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x5662e8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x54e709=>{_0x54e709['stopPropagation']();})}}),_0x5662e8['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x5662e8;}['_setModelList'](_0xe445fb){this['_modelSelectionDropdownItems']['clear']();const _0x26d0e0=this['_check']['models'];if(_0xe445fb)this['set']('modelDisplayMode','hidden');else{const _0x327885=0x1===_0x26d0e0['length'];this['set']('modelDisplayMode',_0x327885?'name':'selector');}if(this['resetToDefault'](),_0x26d0e0?.['length']){0x1===_0x26d0e0['length']&&this['set']('activeModelName',_0x26d0e0[0x0]['name']||_0x26d0e0[0x0]['id']);for(const _0x47dafc of _0x26d0e0){const _0xc5d808=new _0x55269f({'label':_0x47dafc['name'],'withText':!0x0,'role':'menuitemradio','id':_0x47dafc['id'],'model':_0x47dafc});_0xc5d808['bind']('isOn')['to'](this,'modelId',_0x4456e8=>_0x4456e8===_0x47dafc['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0xc5d808,'labelView':new ko(this['locale'],_0x47dafc)});}}}['_createModelSelectionDropdown'](){const _0x370982=_0x26fa7a(this['locale']);return _0x370982['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x370982['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x370982['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x596470=>'selector'===_0x596470),this['listenTo'](_0x370982,'execute',_0x4172b6=>{this['modelId']=_0x4172b6['source']['model']['id'],_0x370982['buttonView']['label']=_0x4172b6['source']['label'];}),_0x370982;}['_createModelNameView'](){const _0x85d4ae=new _o(this['locale']);return _0x85d4ae['bind']('text')['to'](this,'activeModelName',_0x1e771c=>_0x1e771c??''),_0x85d4ae['bind']('isVisible')['to'](this,'modelDisplayMode',_0x1a912d=>'name'===_0x1a912d),_0x85d4ae;}['_createActionsFooterView'](){const _0x541821=new _0x6b0250(this['locale']);return _0x541821['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x541821;}}class _o extends _0x6b0250{constructor(_0x90d584){super(_0x90d584),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x9d8280=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x9d8280['if']('isVisible','ck-hidden',_0x2f868d=>!_0x2f868d)]},'children':[{'text':_0x9d8280['to']('text')}]});}}class ko extends _0x2c3a60{constructor(_0x4c8ec8,_0x3e12e0){super();const _0x1aeee9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x1aeee9['to']('style'),'id':_0x1aeee9['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x1aeee9['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x3e12e0['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x13e8cc,_0x5c07b7){var _0x2131d3=_0x306a,_0x1cdc53=_0x13e8cc();while(!![]){try{var _0x122bcb=-parseInt(_0x2131d3(0x1a0))/0x1+parseInt(_0x2131d3(0x196))/0x2+-parseInt(_0x2131d3(0x1a2))/0x3*(parseInt(_0x2131d3(0x199))/0x4)+parseInt(_0x2131d3(0x198))/0x5+-parseInt(_0x2131d3(0x19a))/0x6*(-parseInt(_0x2131d3(0x19b))/0x7)+-parseInt(_0x2131d3(0x19c))/0x8+-parseInt(_0x2131d3(0x19e))/0x9*(-parseInt(_0x2131d3(0x197))/0xa);if(_0x122bcb===_0x5c07b7)break;else _0x1cdc53['push'](_0x1cdc53['shift']());}catch(_0x40f71c){_0x1cdc53['push'](_0x1cdc53['shift']());}}}(_0x4e8e,0x415d8));import{ButtonView as _0x2a0c8a}from'ckeditor5/src/ui.js';function _0x306a(_0x59303b,_0x107a24){var _0x4e8e13=_0x4e8e();return _0x306a=function(_0x306a0d,_0x1a8b72){_0x306a0d=_0x306a0d-0x196;var _0x50ddf1=_0x4e8e13[_0x306a0d];return _0x50ddf1;},_0x306a(_0x59303b,_0x107a24);}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x2a0c8a{constructor(_0x4670f7,_0x54c7f6){var _0x5aa579=_0x306a;super(_0x54c7f6),this[_0x5aa579(0x1a4)]({'label':_0x4670f7,'withText':!0x0,'class':_0x5aa579(0x19d)}),this['on'](_0x5aa579(0x1a1),()=>{var _0x55f74f=_0x5aa579;this[_0x55f74f(0x19f)](_0x55f74f(0x1a3));});}}function _0x4e8e(){var _0x5d40d9=['389983MQVfkB','execute','254187zadJSM','finishReview','set','791486uZuONC','616730QeeHzr','1500555BcDetq','20kVxBBq','1815810reMuGA','7vcIMyy','2790688wvIoSl','ck-ai-button-primary','63xrsAuh','fire'];_0x4e8e=function(){return _0x5d40d9;};return _0x4e8e();}
23
+ function _0x2d72(_0x2125ee,_0x33953f){var _0x3750a=_0x3750();return _0x2d72=function(_0x2d7223,_0x404308){_0x2d7223=_0x2d7223-0x1b6;var _0x244cf6=_0x3750a[_0x2d7223];return _0x244cf6;},_0x2d72(_0x2125ee,_0x33953f);}(function(_0x5eee65,_0x6df0c9){var _0x4acb4b=_0x2d72,_0x58d39f=_0x5eee65();while(!![]){try{var _0x2cde72=parseInt(_0x4acb4b(0x1bf))/0x1*(parseInt(_0x4acb4b(0x1bd))/0x2)+-parseInt(_0x4acb4b(0x1be))/0x3*(-parseInt(_0x4acb4b(0x1c4))/0x4)+parseInt(_0x4acb4b(0x1ba))/0x5+parseInt(_0x4acb4b(0x1b9))/0x6+-parseInt(_0x4acb4b(0x1b7))/0x7*(-parseInt(_0x4acb4b(0x1b8))/0x8)+parseInt(_0x4acb4b(0x1bc))/0x9*(parseInt(_0x4acb4b(0x1c0))/0xa)+-parseInt(_0x4acb4b(0x1b6))/0xb;if(_0x2cde72===_0x6df0c9)break;else _0x58d39f['push'](_0x58d39f['shift']());}catch(_0x1f259a){_0x58d39f['push'](_0x58d39f['shift']());}}}(_0x3750,0x8c3e6));import{ButtonView as _0x39a568}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x39a568{constructor(_0x4c3e10,_0x1301d4){var _0x56fab3=_0x2d72;super(_0x1301d4),this[_0x56fab3(0x1c3)]({'label':_0x4c3e10,'withText':!0x0,'class':_0x56fab3(0x1bb)}),this['on'](_0x56fab3(0x1c2),()=>{var _0x57910a=_0x56fab3;this[_0x57910a(0x1c1)](_0x57910a(0x1c5));});}}function _0x3750(){var _0x53d4a6=['839FeqaTX','10dMeulE','fire','execute','set','4030024ktRKpj','finishReview','30466513KlafiI','192885sQaItH','8hJpFIC','4864680loJDlG','2494420pqMGel','ck-ai-button-primary','1164177KwNteM','2074WjuFpj','3lWRvCv'];_0x3750=function(){return _0x53d4a6;};return _0x3750();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x178a(_0x42a20a,_0x1554ff){const _0x1734ed=_0x1734();return _0x178a=function(_0x178a1f,_0x330639){_0x178a1f=_0x178a1f-0x11f;let _0x190ae2=_0x1734ed[_0x178a1f];return _0x190ae2;},_0x178a(_0x42a20a,_0x1554ff);}(function(_0x44b6e2,_0xa4cff0){const _0x207ac6=_0x178a,_0x1352aa=_0x44b6e2();while(!![]){try{const _0x70587=-parseInt(_0x207ac6(0x12a))/0x1+parseInt(_0x207ac6(0x127))/0x2*(-parseInt(_0x207ac6(0x11f))/0x3)+parseInt(_0x207ac6(0x132))/0x4*(-parseInt(_0x207ac6(0x12c))/0x5)+parseInt(_0x207ac6(0x120))/0x6+-parseInt(_0x207ac6(0x124))/0x7*(parseInt(_0x207ac6(0x128))/0x8)+parseInt(_0x207ac6(0x126))/0x9*(-parseInt(_0x207ac6(0x122))/0xa)+-parseInt(_0x207ac6(0x12f))/0xb*(-parseInt(_0x207ac6(0x12b))/0xc);if(_0x70587===_0xa4cff0)break;else _0x1352aa['push'](_0x1352aa['shift']());}catch(_0x372d81){_0x1352aa['push'](_0x1352aa['shift']());}}}(_0x1734,0x35b05));import{View as _0xb0ca3e}from'ckeditor5/src/ui.js';function _0x1734(){const _0x1029dc=['ck-ai_review__general-error-container','3560TeeAFx','errorMessage','196007EMsxpf','ck\x20ck-ai-notification\x20ck-ai-notification_error','6444Ivibsn','136WoaKtR','112tSLkUe','ck-hidden','406784xJgyol','12uHwnBm','5WNbBUg','set','setTemplate','16830341VxwXsF','div','isVisible','431036OlpqAk','bindTemplate','12795uslUiK','848106UwbucA'];_0x1734=function(){return _0x1029dc;};return _0x1734();}export class AIReviewCoreGeneralErrorView extends _0xb0ca3e{constructor(_0x286b9b){const _0x908e1c=_0x178a;super(_0x286b9b),this[_0x908e1c(0x12d)](_0x908e1c(0x131),!0x1),this[_0x908e1c(0x12d)](_0x908e1c(0x123),'');const _0x47e291=this[_0x908e1c(0x133)];this[_0x908e1c(0x12e)]({'tag':_0x908e1c(0x130),'attributes':{'class':['ck',_0x908e1c(0x121),_0x47e291['if'](_0x908e1c(0x131),_0x908e1c(0x129),_0x1a7447=>!_0x1a7447)]},'children':[{'tag':'p','attributes':{'class':_0x908e1c(0x125)},'children':[{'text':_0x47e291['to'](_0x908e1c(0x123))}]}]});}}
23
+ (function(_0x3b037e,_0x5bfe23){const _0x4e4f37=_0x308c,_0x22bd8d=_0x3b037e();while(!![]){try{const _0x19fd9f=-parseInt(_0x4e4f37(0x162))/0x1+-parseInt(_0x4e4f37(0x166))/0x2*(parseInt(_0x4e4f37(0x171))/0x3)+-parseInt(_0x4e4f37(0x168))/0x4+parseInt(_0x4e4f37(0x167))/0x5+-parseInt(_0x4e4f37(0x169))/0x6+-parseInt(_0x4e4f37(0x163))/0x7*(-parseInt(_0x4e4f37(0x16b))/0x8)+parseInt(_0x4e4f37(0x170))/0x9;if(_0x19fd9f===_0x5bfe23)break;else _0x22bd8d['push'](_0x22bd8d['shift']());}catch(_0x443d8e){_0x22bd8d['push'](_0x22bd8d['shift']());}}}(_0x141d,0x6c9f7));import{View as _0x44b544}from'ckeditor5/src/ui.js';function _0x308c(_0x58be47,_0xa95b46){const _0x141dc3=_0x141d();return _0x308c=function(_0x308c9,_0x4d7acc){_0x308c9=_0x308c9-0x160;let _0x534b0f=_0x141dc3[_0x308c9];return _0x534b0f;},_0x308c(_0x58be47,_0xa95b46);}export class AIReviewCoreGeneralErrorView extends _0x44b544{constructor(_0xce226e){const _0x4bb571=_0x308c;super(_0xce226e),this[_0x4bb571(0x16d)](_0x4bb571(0x164),!0x1),this[_0x4bb571(0x16d)](_0x4bb571(0x165),'');const _0x5f9a4e=this[_0x4bb571(0x161)];this[_0x4bb571(0x160)]({'tag':_0x4bb571(0x16f),'attributes':{'class':['ck',_0x4bb571(0x16e),_0x5f9a4e['if'](_0x4bb571(0x164),_0x4bb571(0x16c),_0x36d122=>!_0x36d122)]},'children':[{'tag':'p','attributes':{'class':_0x4bb571(0x16a)},'children':[{'text':_0x5f9a4e['to'](_0x4bb571(0x165))}]}]});}}function _0x141d(){const _0x17296e=['div','18401868pBfUrP','7947uBzZli','setTemplate','bindTemplate','409811KqRzEw','896889Couscp','isVisible','errorMessage','390GdGPgN','270440PQLWRI','2678520zaLmcW','2653236pUZLwz','ck\x20ck-ai-notification\x20ck-ai-notification_error','24KctmUy','ck-hidden','set','ck-ai_review__general-error-container'];_0x141d=function(){return _0x17296e;};return _0x141d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4d3029=_0x4b55;(function(_0x3790fa,_0x32fa30){var _0x6545eb=_0x4b55,_0x5128ec=_0x3790fa();while(!![]){try{var _0x8b22f5=parseInt(_0x6545eb(0x7c))/0x1+-parseInt(_0x6545eb(0x88))/0x2*(-parseInt(_0x6545eb(0x89))/0x3)+-parseInt(_0x6545eb(0x87))/0x4*(parseInt(_0x6545eb(0x8e))/0x5)+parseInt(_0x6545eb(0x80))/0x6*(-parseInt(_0x6545eb(0x8a))/0x7)+parseInt(_0x6545eb(0x79))/0x8*(-parseInt(_0x6545eb(0x76))/0x9)+parseInt(_0x6545eb(0x7b))/0xa+parseInt(_0x6545eb(0x84))/0xb*(parseInt(_0x6545eb(0x83))/0xc);if(_0x8b22f5===_0x32fa30)break;else _0x5128ec['push'](_0x5128ec['shift']());}catch(_0xe6d9c6){_0x5128ec['push'](_0x5128ec['shift']());}}}(_0x2b8b,0x28e79));function _0x2b8b(){var _0x580b35=['ck-review__prompt-input','24PHJkDX','isEmpty','263640GsZIzt','87788rVLrsN','trim','listenTo','value','338532ZcbeVU','set','MAX_ROWS','492hoMqJT','95513mkxVen','keystrokes','update','8zlXbLu','22882BzCpfs','15ueAvxM','14EDRCXH','ai-review-prompt-input','MIN_ROWS','maxRows','303500QqzYQB','minRows','render','extendTemplate','376713ZzKEeq','element'];_0x2b8b=function(){return _0x580b35;};return _0x2b8b();}import{TextareaView as _0x25e4b4}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1724b2}from'ckeditor5/src/utils.js';function _0x4b55(_0x4db9ee,_0x53de99){var _0x2b8b5c=_0x2b8b();return _0x4b55=function(_0x4b5536,_0x1c32a1){_0x4b5536=_0x4b5536-0x73;var _0x1c9d47=_0x2b8b5c[_0x4b5536];return _0x1c9d47;},_0x4b55(_0x4db9ee,_0x53de99);}export class AIReviewCorePromptInputView extends _0x25e4b4{[_0x4d3029(0x85)];static [_0x4d3029(0x8c)]=0x1;static [_0x4d3029(0x82)]=0xc;constructor(_0x54dda7){var _0x350b87=_0x4d3029;super(_0x54dda7),this[_0x350b87(0x81)](_0x350b87(0x7a),!0x0),this[_0x350b87(0x85)]=new _0x1724b2(),this[_0x350b87(0x73)]=AIReviewCorePromptInputView[_0x350b87(0x8c)],this[_0x350b87(0x8d)]=AIReviewCorePromptInputView[_0x350b87(0x82)],this[_0x350b87(0x75)]({'attributes':{'id':_0x350b87(0x8b),'class':['ck',_0x350b87(0x78)]}});}[_0x4d3029(0x74)](){var _0x343414=_0x4d3029;super[_0x343414(0x74)](),this['on'](_0x343414(0x86),()=>{var _0x2ab432=_0x343414;this[_0x2ab432(0x7a)]=''===this[_0x2ab432(0x77)][_0x2ab432(0x7f)]?.[_0x2ab432(0x7d)]();}),this[_0x343414(0x85)][_0x343414(0x7e)](this[_0x343414(0x77)]);}}
23
+ function _0x1efb(_0x7f8241,_0x121fb7){var _0x16cd10=_0x16cd();return _0x1efb=function(_0x1efbb0,_0xa0a5ac){_0x1efbb0=_0x1efbb0-0xf3;var _0x56dea6=_0x16cd10[_0x1efbb0];return _0x56dea6;},_0x1efb(_0x7f8241,_0x121fb7);}var _0x522634=_0x1efb;(function(_0x585eb2,_0x578bd1){var _0x2ac46a=_0x1efb,_0x60526f=_0x585eb2();while(!![]){try{var _0x54c6ab=parseInt(_0x2ac46a(0xf9))/0x1+-parseInt(_0x2ac46a(0xfe))/0x2+parseInt(_0x2ac46a(0xfb))/0x3+-parseInt(_0x2ac46a(0x104))/0x4+parseInt(_0x2ac46a(0x105))/0x5*(parseInt(_0x2ac46a(0xf5))/0x6)+-parseInt(_0x2ac46a(0x108))/0x7*(-parseInt(_0x2ac46a(0x103))/0x8)+parseInt(_0x2ac46a(0x109))/0x9;if(_0x54c6ab===_0x578bd1)break;else _0x60526f['push'](_0x60526f['shift']());}catch(_0x1a0365){_0x60526f['push'](_0x60526f['shift']());}}}(_0x16cd,0x69911));import{TextareaView as _0x38cfb8}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xa59a57}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x38cfb8{[_0x522634(0xff)];static [_0x522634(0xfa)]=0x1;static [_0x522634(0xfc)]=0xc;constructor(_0x236f65){var _0x2acf93=_0x522634;super(_0x236f65),this[_0x2acf93(0x106)](_0x2acf93(0x10a),!0x0),this[_0x2acf93(0xff)]=new _0xa59a57(),this[_0x2acf93(0xf4)]=AIReviewCorePromptInputView[_0x2acf93(0xfa)],this[_0x2acf93(0x10b)]=AIReviewCorePromptInputView[_0x2acf93(0xfc)],this[_0x2acf93(0xfd)]({'attributes':{'id':_0x2acf93(0xf7),'class':['ck',_0x2acf93(0xf8)]}});}[_0x522634(0x102)](){var _0x55b9e3=_0x522634;super[_0x55b9e3(0x102)](),this['on'](_0x55b9e3(0xf3),()=>{var _0x5350bb=_0x55b9e3;this[_0x5350bb(0x10a)]=''===this[_0x5350bb(0x101)][_0x5350bb(0xf6)]?.[_0x5350bb(0x107)]();}),this[_0x55b9e3(0xff)][_0x55b9e3(0x100)](this[_0x55b9e3(0x101)]);}}function _0x16cd(){var _0x4a5e7d=['5uvsbRI','set','trim','607271NejUzE','262620OvNzKC','isEmpty','maxRows','update','minRows','744792kcXjSX','value','ai-review-prompt-input','ck-review__prompt-input','772277xlJkwE','MIN_ROWS','576819gJSMwG','MAX_ROWS','extendTemplate','371614asTkOi','keystrokes','listenTo','element','render','24MHOGRI','3039652ZcNxVG'];_0x16cd=function(){return _0x4a5e7d;};return _0x16cd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ebad4=_0x310f;(function(_0x4bac1a,_0x50aef7){const _0x13fbcf=_0x310f,_0x1f2d1d=_0x4bac1a();while(!![]){try{const _0x46d4b9=parseInt(_0x13fbcf(0x129))/0x1*(-parseInt(_0x13fbcf(0x132))/0x2)+parseInt(_0x13fbcf(0x126))/0x3+parseInt(_0x13fbcf(0x128))/0x4*(parseInt(_0x13fbcf(0x123))/0x5)+-parseInt(_0x13fbcf(0x12a))/0x6+parseInt(_0x13fbcf(0x11a))/0x7+parseInt(_0x13fbcf(0x12c))/0x8*(parseInt(_0x13fbcf(0x11e))/0x9)+-parseInt(_0x13fbcf(0x125))/0xa;if(_0x46d4b9===_0x50aef7)break;else _0x1f2d1d['push'](_0x1f2d1d['shift']());}catch(_0x207e45){_0x1f2d1d['push'](_0x1f2d1d['shift']());}}}(_0x1a0e,0xa5204));function _0x1a0e(){const _0x7221c7=['1483623TlaDwk','ck-hidden','233712aCJlhj','5858UtsQnd','4164360ZvyGgw','length','232NqcSbl','add','_checkViews','locale','runReviewCheck','resetAllParameterizedChecks','90zXREeU','setTemplate','_setupTemplate','entries','hasChecks','9059540TJjPnP','isVisible','setChecks','ck-ai_review__check-list','231597ZrCbrj','div','resetToDefault','delegate','clear','45JNRCUJ','bindTemplate','14268440ABvJyJ'];_0x1a0e=function(){return _0x7221c7;};return _0x1a0e();}import{ListItemView as _0x167681,ViewCollection as _0x3bdb2c}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x385e32}from'./aireviewcorereviewcommandlistitemview.js';function _0x310f(_0x427394,_0xbf070d){const _0x1a0e37=_0x1a0e();return _0x310f=function(_0x310fd8,_0x580089){_0x310fd8=_0x310fd8-0x116;let _0x3162e5=_0x1a0e37[_0x310fd8];return _0x3162e5;},_0x310f(_0x427394,_0xbf070d);}import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x167681{[_0x5ebad4(0x12e)];constructor(_0x18d9cd){const _0x372a49=_0x5ebad4;super(_0x18d9cd),this[_0x372a49(0x12e)]=new _0x3bdb2c(),this[_0x372a49(0x117)]();}[_0x5ebad4(0x11c)](_0x468f21,_0x1b6678=!0x1){const _0x2a8c3f=_0x5ebad4;this[_0x2a8c3f(0x12e)][_0x2a8c3f(0x122)]();for(const [_0xfffdee,_0x456a54]of _0x468f21[_0x2a8c3f(0x118)]()){const _0x55e296=new _0x385e32(this[_0x2a8c3f(0x12f)],_0x456a54,_0xfffdee,_0x1b6678);_0x55e296[_0x2a8c3f(0x121)](_0x2a8c3f(0x130))['to'](this),this[_0x2a8c3f(0x12e)][_0x2a8c3f(0x12d)](_0x55e296);}}[_0x5ebad4(0x119)](){const _0x18bf2e=_0x5ebad4;return this[_0x18bf2e(0x12e)][_0x18bf2e(0x12b)]>0x0;}[_0x5ebad4(0x131)](){const _0x5492d0=_0x5ebad4;for(const _0x13d550 of this[_0x5492d0(0x12e)])_0x13d550 instanceof _0x385e32&&_0x13d550[_0x5492d0(0x120)]();}[_0x5ebad4(0x117)](){const _0x26f590=_0x5ebad4,_0x5a7f54=this[_0x26f590(0x124)];this[_0x26f590(0x116)]({'tag':_0x26f590(0x11f),'attributes':{'class':[_0x26f590(0x11d),_0x5a7f54['if'](_0x26f590(0x11b),_0x26f590(0x127),_0x4cf88e=>!_0x4cf88e)]},'children':this[_0x26f590(0x12e)]});}}
23
+ function _0x335a(){const _0x378188=['add','setChecks','ck-hidden','680CpMKTW','50wyptoe','hasChecks','175AdIhPr','resetToDefault','isVisible','length','div','169052BhQFZN','268247jLeVHq','22408KTGhJU','runReviewCheck','locale','14649qOfQkP','1403347SOurVx','setTemplate','58382616ejozDM','_setupTemplate','clear','282AyazSe','ck-ai_review__check-list','bindTemplate','entries','245059oXIJpC','_checkViews','delegate','2151OTrDUm','resetAllParameterizedChecks'];_0x335a=function(){return _0x378188;};return _0x335a();}const _0xa0fac9=_0x3e1c;(function(_0x175db7,_0x523bc0){const _0x5bbaf0=_0x3e1c,_0x214d8d=_0x175db7();while(!![]){try{const _0x10f04e=-parseInt(_0x5bbaf0(0xc7))/0x1+parseInt(_0x5bbaf0(0xcf))/0x2*(-parseInt(_0x5bbaf0(0xbd))/0x3)+-parseInt(_0x5bbaf0(0xd7))/0x4*(parseInt(_0x5bbaf0(0xd2))/0x5)+-parseInt(_0x5bbaf0(0xc3))/0x6*(parseInt(_0x5bbaf0(0xd8))/0x7)+parseInt(_0x5bbaf0(0xd9))/0x8*(parseInt(_0x5bbaf0(0xca))/0x9)+parseInt(_0x5bbaf0(0xd0))/0xa*(parseInt(_0x5bbaf0(0xbe))/0xb)+parseInt(_0x5bbaf0(0xc0))/0xc;if(_0x10f04e===_0x523bc0)break;else _0x214d8d['push'](_0x214d8d['shift']());}catch(_0x2e75b3){_0x214d8d['push'](_0x214d8d['shift']());}}}(_0x335a,0xf0f5b));import{ListItemView as _0x358b2b,ViewCollection as _0x312271}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x3413de}from'./aireviewcorereviewcommandlistitemview.js';function _0x3e1c(_0x41c3a1,_0x5bd712){const _0x335ac2=_0x335a();return _0x3e1c=function(_0x3e1c16,_0x35f5eb){_0x3e1c16=_0x3e1c16-0xbd;let _0x5eaf39=_0x335ac2[_0x3e1c16];return _0x5eaf39;},_0x3e1c(_0x41c3a1,_0x5bd712);}import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x358b2b{[_0xa0fac9(0xc8)];constructor(_0x1bd313){const _0x3b26fc=_0xa0fac9;super(_0x1bd313),this[_0x3b26fc(0xc8)]=new _0x312271(),this[_0x3b26fc(0xc1)]();}[_0xa0fac9(0xcd)](_0x534efb,_0x4449fb=!0x1){const _0x529f93=_0xa0fac9;this[_0x529f93(0xc8)][_0x529f93(0xc2)]();for(const [_0x24a7a3,_0x935fd]of _0x534efb[_0x529f93(0xc6)]()){const _0x2a4a0f=new _0x3413de(this[_0x529f93(0xdb)],_0x935fd,_0x24a7a3,_0x4449fb);_0x2a4a0f[_0x529f93(0xc9)](_0x529f93(0xda))['to'](this),this[_0x529f93(0xc8)][_0x529f93(0xcc)](_0x2a4a0f);}}[_0xa0fac9(0xd1)](){const _0xf4391d=_0xa0fac9;return this[_0xf4391d(0xc8)][_0xf4391d(0xd5)]>0x0;}[_0xa0fac9(0xcb)](){const _0x4ea1c1=_0xa0fac9;for(const _0x2d773e of this[_0x4ea1c1(0xc8)])_0x2d773e instanceof _0x3413de&&_0x2d773e[_0x4ea1c1(0xd3)]();}[_0xa0fac9(0xc1)](){const _0x1cb016=_0xa0fac9,_0x48cb02=this[_0x1cb016(0xc5)];this[_0x1cb016(0xbf)]({'tag':_0x1cb016(0xd6),'attributes':{'class':[_0x1cb016(0xc4),_0x48cb02['if'](_0x1cb016(0xd4),_0x1cb016(0xce),_0x432c46=>!_0x432c46)]},'children':this[_0x1cb016(0xc8)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0xe035cd,IconView as _0x317f43,View as _0x5285b4,ViewCollection as _0x5c4d6a,ButtonView as _0x32e25b,clickOutsideHandler as _0x4351ed}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x5f047b}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0xf523c3}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x331d16}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0xe035cd{['_formItemsCollection']=new _0x5c4d6a();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x2643dc,_0xac097b,_0x2f89b9,_0xb7385b=!0x1){super(_0x2643dc),this['_hideModels']=_0xb7385b,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0xac097b['isParameterized']);const _0x530cd0=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x106ed1=>_0x106ed1),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x202bf3=>_0x202bf3)],'style':{'--ck-ai-review-check-list-item-index':_0x2f89b9}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0xac097b['title']}]},_0x530cd0]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0xac097b['description']?[{'text':_0xac097b['description']}]:[]}]}]},..._0xac097b['isParameterized']?[this['_createParameterizedView'](_0xac097b)]:[],...'custom'===_0xac097b['id']?[this['_createCustomView'](_0xac097b,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0xac097b['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0xac097b['id'],'args':_0xac097b['useArgs']?_0xac097b['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x4351ed({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x2aaa7d=>{_0x2aaa7d['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x1f29a5=new _0x317f43();return _0x1f29a5['content']=_0x5f047b,_0x1f29a5['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x1f29a5;}['_createParameterizedView'](_0x3f6b78){const _0x2edf48=new _0x5285b4(),_0xeccbf1=this['_createFormView'](_0x3f6b78);return _0x2edf48['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x31069f=>!_0x31069f)]},'children':[_0xeccbf1]}),_0x2edf48;}['_createFormView'](_0x53faac){const _0x19c2cc=new _0x5285b4(),_0xfdc82b=Array['isArray'](_0x53faac['options'])?_0x53faac['options']:[],_0x3b29d3=new _0x32e25b(this['locale']),t=this['locale']['t'];_0x3b29d3['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3b29d3['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x411832=>{_0x411832['stopPropagation']();})}}),_0x3b29d3['on']('execute',()=>{const _0x460147=[],_0x2fb295={};this['_formItemsCollection']['forEach'](_0x11949e=>{_0x460147['push'](_0x11949e['value']),_0x53faac['useArgs']&&_0x53faac['options']&&(_0x2fb295[_0x11949e['argsKey']]=_0x11949e['value']);}),this['fire']('runReviewCheck',{'id':_0x53faac['id'],'params':_0x460147['length']?_0x460147:void 0x0,'args':Object['keys'](_0x2fb295)['length']?_0x2fb295:void 0x0});});const _0x357646=_0xfdc82b['length'];return _0xfdc82b['forEach']((_0x5f017f,_0x1a0ce6)=>{const _0x3faa62=_0x1a0ce6===_0x357646-0x1;this['_formItemsCollection']['add'](new _0xf523c3(this['locale'],_0x5f017f,_0x3faa62?_0x3b29d3:null));}),_0x19c2cc['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x19c2cc;}['_createCustomView'](_0x950220,_0x23917b=!0x1){return this['_customCheckView']=new _0x331d16(this['locale'],_0x950220,_0x23917b),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x4bab65=>!_0x4bab65)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x27963c,_0x45706e,_0x434211)=>{_0x434211||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
23
+ import{ListItemView as _0x53ad62,IconView as _0x148121,View as _0x39c222,ViewCollection as _0x5daa06,ButtonView as _0x36c6ba,clickOutsideHandler as _0x2a5d96}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x2e74f2}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x5e7971}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x3a32eb}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x53ad62{['_formItemsCollection']=new _0x5daa06();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x366268,_0x30fd35,_0x206a5a,_0x29703a=!0x1){super(_0x366268),this['_hideModels']=_0x29703a,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x30fd35['isParameterized']);const _0xd64f0e=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x5e0abe=>_0x5e0abe),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x51dc14=>_0x51dc14)],'style':{'--ck-ai-review-check-list-item-index':_0x206a5a}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x30fd35['title']}]},_0xd64f0e]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x30fd35['description']?[{'text':_0x30fd35['description']}]:[]}]}]},..._0x30fd35['isParameterized']?[this['_createParameterizedView'](_0x30fd35)]:[],...'custom'===_0x30fd35['id']?[this['_createCustomView'](_0x30fd35,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x30fd35['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x30fd35['id'],'args':_0x30fd35['useArgs']?_0x30fd35['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x2a5d96({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x5f5aac=>{_0x5f5aac['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x204c0f=new _0x148121();return _0x204c0f['content']=_0x2e74f2,_0x204c0f['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x204c0f;}['_createParameterizedView'](_0x20ffd5){const _0x391e45=new _0x39c222(),_0x2403db=this['_createFormView'](_0x20ffd5);return _0x391e45['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x55a244=>!_0x55a244)]},'children':[_0x2403db]}),_0x391e45;}['_createFormView'](_0x3d7f64){const _0x1ec55e=new _0x39c222(),_0x7ccd80=Array['isArray'](_0x3d7f64['options'])?_0x3d7f64['options']:[],_0x3c575a=new _0x36c6ba(this['locale']),t=this['locale']['t'];_0x3c575a['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3c575a['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1b52c5=>{_0x1b52c5['stopPropagation']();})}}),_0x3c575a['on']('execute',()=>{const _0x499ce2=[],_0x2ddd6c={};this['_formItemsCollection']['forEach'](_0x5af515=>{_0x499ce2['push'](_0x5af515['value']),_0x3d7f64['useArgs']&&_0x3d7f64['options']&&(_0x2ddd6c[_0x5af515['argsKey']]=_0x5af515['value']);}),this['fire']('runReviewCheck',{'id':_0x3d7f64['id'],'params':_0x499ce2['length']?_0x499ce2:void 0x0,'args':Object['keys'](_0x2ddd6c)['length']?_0x2ddd6c:void 0x0});});const _0x1e14c0=_0x7ccd80['length'];return _0x7ccd80['forEach']((_0x32ecac,_0x2cabcb)=>{const _0x3ccf0e=_0x2cabcb===_0x1e14c0-0x1;this['_formItemsCollection']['add'](new _0x5e7971(this['locale'],_0x32ecac,_0x3ccf0e?_0x3c575a:null));}),_0x1ec55e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x1ec55e;}['_createCustomView'](_0x26057d,_0x11b8c2=!0x1){return this['_customCheckView']=new _0x3a32eb(this['locale'],_0x26057d,_0x11b8c2),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x12ee1f=>!_0x12ee1f)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x535057,_0x2f69b8,_0x3c3c8d)=>{_0x3c3c8d||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ad635=_0x1116;function _0x1116(_0x3e931d,_0x5c5a18){const _0x379df7=_0x379d();return _0x1116=function(_0x11168d,_0x4d7e11){_0x11168d=_0x11168d-0x97;let _0x56b8b3=_0x379df7[_0x11168d];return _0x56b8b3;},_0x1116(_0x3e931d,_0x5c5a18);}(function(_0x17574a,_0x22cffa){const _0x54f62e=_0x1116,_0x242fce=_0x17574a();while(!![]){try{const _0x214844=-parseInt(_0x54f62e(0xad))/0x1*(-parseInt(_0x54f62e(0xa5))/0x2)+-parseInt(_0x54f62e(0x99))/0x3+-parseInt(_0x54f62e(0xa2))/0x4*(-parseInt(_0x54f62e(0xb2))/0x5)+-parseInt(_0x54f62e(0x9b))/0x6+parseInt(_0x54f62e(0xa8))/0x7+parseInt(_0x54f62e(0xb4))/0x8+-parseInt(_0x54f62e(0xb6))/0x9;if(_0x214844===_0x22cffa)break;else _0x242fce['push'](_0x242fce['shift']());}catch(_0x457065){_0x242fce['push'](_0x242fce['shift']());}}}(_0x379d,0x94184));function _0x379d(){const _0x2586b6=['3442383zpfoSf','ck-ai_review__review-completed-header-title','6485004uYutZL','ck-ai_review__review-completed-header','isVisible','_resultsHeader','finishReview','delegate','ck-hidden','619516UGmKRq','ck-ai_review__review-completed','bindTemplate','2KnJlTV','ck-ai_review__review-completed-content-text','div','8326850hrBQLA','ck-ai_review__review-completed-header-buttons','_finishReviewButtonView','span','headerText','684773WRGTXo','_createFinishReviewButtonView','locale','ck-ai_review__review-completed-content','setTemplate','5AkWFxJ','emptyResultsText','8693544aIOCWd','ck-ai_review__review-completed-content-icon','2529036JJbcCS','_createResultHeaderView','buttonText'];_0x379d=function(){return _0x2586b6;};return _0x379d();}import{ListItemView as _0x3e4e75,View as _0x4e7193}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x33d5f5}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x3e4e75{[_0x5ad635(0x9e)];[_0x5ad635(0xaa)];constructor(_0x5309d9,_0x12dc73){const _0x48d96a=_0x5ad635;super(_0x5309d9),this[_0x48d96a(0xaa)]=this[_0x48d96a(0xae)](_0x12dc73[_0x48d96a(0x98)]),this[_0x48d96a(0x9e)]=this[_0x48d96a(0x97)](_0x12dc73[_0x48d96a(0xac)]);const _0x2e45d9=this[_0x48d96a(0xa4)];this[_0x48d96a(0xb1)]({'tag':_0x48d96a(0xa7),'attributes':{'class':[_0x48d96a(0xa3),_0x2e45d9['if'](_0x48d96a(0x9d),_0x48d96a(0xa1),_0x3093b6=>!_0x3093b6)]},'children':[this[_0x48d96a(0x9e)],{'tag':_0x48d96a(0xa7),'attributes':{'class':[_0x48d96a(0xb0)]},'children':[{'tag':_0x48d96a(0xab),'attributes':{'class':[_0x48d96a(0xb5)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x48d96a(0xa6)]},'children':[{'text':_0x12dc73[_0x48d96a(0xb3)]}]}]}]});}[_0x5ad635(0xae)](_0x2e5b6b){const _0x5cb3ea=_0x5ad635,_0x468091=new _0x33d5f5(_0x2e5b6b,this[_0x5cb3ea(0xaf)]);return _0x468091[_0x5cb3ea(0xa0)](_0x5cb3ea(0x9f))['to'](this),_0x468091;}[_0x5ad635(0x97)](_0x1e6a3d){const _0x365de7=_0x5ad635,_0x4a3b0e=new _0x4e7193(this[_0x365de7(0xaf)]);return _0x4a3b0e[_0x365de7(0xb1)]({'tag':_0x365de7(0xa7),'attributes':{'class':[_0x365de7(0x9c)]},'children':[{'tag':_0x365de7(0xab),'attributes':{'class':[_0x365de7(0x9a)]},'children':[{'text':_0x1e6a3d}]},{'tag':_0x365de7(0xa7),'attributes':{'class':[_0x365de7(0xa9)]},'children':[this[_0x365de7(0xaa)]]}]}),_0x4a3b0e;}}
23
+ const _0x39cd86=_0x9c31;(function(_0x4817b2,_0x50dc9f){const _0x16fa26=_0x9c31,_0x590fa3=_0x4817b2();while(!![]){try{const _0x11af07=parseInt(_0x16fa26(0xc9))/0x1*(parseInt(_0x16fa26(0xc3))/0x2)+parseInt(_0x16fa26(0xd6))/0x3*(parseInt(_0x16fa26(0xb4))/0x4)+-parseInt(_0x16fa26(0xc5))/0x5*(-parseInt(_0x16fa26(0xcb))/0x6)+-parseInt(_0x16fa26(0xb6))/0x7*(-parseInt(_0x16fa26(0xbc))/0x8)+parseInt(_0x16fa26(0xca))/0x9+-parseInt(_0x16fa26(0xbb))/0xa+-parseInt(_0x16fa26(0xc4))/0xb*(parseInt(_0x16fa26(0xcd))/0xc);if(_0x11af07===_0x50dc9f)break;else _0x590fa3['push'](_0x590fa3['shift']());}catch(_0x2af083){_0x590fa3['push'](_0x590fa3['shift']());}}}(_0x4e44,0xe63fe));import{ListItemView as _0x4de054,View as _0x221534}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x2cf32f}from'./aireviewcorefinishreviewbuttonview.js';function _0x9c31(_0x1131a2,_0x3621d9){const _0x4e449c=_0x4e44();return _0x9c31=function(_0x9c315f,_0x13d8ec){_0x9c315f=_0x9c315f-0xb4;let _0x11abed=_0x4e449c[_0x9c315f];return _0x11abed;},_0x9c31(_0x1131a2,_0x3621d9);}function _0x4e44(){const _0x1ec8cb=['ck-hidden','2367996MRvXKH','ck-ai_review__review-completed-content-icon','_finishReviewButtonView','setTemplate','headerText','ck-ai_review__review-completed-header-title','emptyResultsText','_resultsHeader','span','12CuoJRp','632580JvavrD','ck-ai_review__review-completed-content','7BhMRhq','_createResultHeaderView','bindTemplate','ck-ai_review__review-completed','ck-ai_review__review-completed-content-text','11666540tmyyyf','11274392TdsobJ','delegate','_createFinishReviewButtonView','buttonText','ck-ai_review__review-completed-header-buttons','ck-ai_review__review-completed-header','div','19478iyztHj','154AJEgNU','11965rNeQGB','isVisible','locale','finishReview','71GBKJJS','3658842msNXbh','4344raWflM'];_0x4e44=function(){return _0x1ec8cb;};return _0x4e44();}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x4de054{[_0x39cd86(0xd4)];[_0x39cd86(0xcf)];constructor(_0x261e1c,_0x58b2a3){const _0x1f6fbd=_0x39cd86;super(_0x261e1c),this[_0x1f6fbd(0xcf)]=this[_0x1f6fbd(0xbe)](_0x58b2a3[_0x1f6fbd(0xbf)]),this[_0x1f6fbd(0xd4)]=this[_0x1f6fbd(0xb7)](_0x58b2a3[_0x1f6fbd(0xd1)]);const _0x48e15f=this[_0x1f6fbd(0xb8)];this[_0x1f6fbd(0xd0)]({'tag':_0x1f6fbd(0xc2),'attributes':{'class':[_0x1f6fbd(0xb9),_0x48e15f['if'](_0x1f6fbd(0xc6),_0x1f6fbd(0xcc),_0x1b1b05=>!_0x1b1b05)]},'children':[this[_0x1f6fbd(0xd4)],{'tag':_0x1f6fbd(0xc2),'attributes':{'class':[_0x1f6fbd(0xb5)]},'children':[{'tag':_0x1f6fbd(0xd5),'attributes':{'class':[_0x1f6fbd(0xce)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x1f6fbd(0xba)]},'children':[{'text':_0x58b2a3[_0x1f6fbd(0xd3)]}]}]}]});}[_0x39cd86(0xbe)](_0x1b2c1c){const _0x30ef09=_0x39cd86,_0x3a431d=new _0x2cf32f(_0x1b2c1c,this[_0x30ef09(0xc7)]);return _0x3a431d[_0x30ef09(0xbd)](_0x30ef09(0xc8))['to'](this),_0x3a431d;}[_0x39cd86(0xb7)](_0x3a7a61){const _0x439570=_0x39cd86,_0x430d7d=new _0x221534(this[_0x439570(0xc7)]);return _0x430d7d[_0x439570(0xd0)]({'tag':_0x439570(0xc2),'attributes':{'class':[_0x439570(0xc1)]},'children':[{'tag':_0x439570(0xd5),'attributes':{'class':[_0x439570(0xd2)]},'children':[{'text':_0x3a7a61}]},{'tag':_0x439570(0xc2),'attributes':{'class':[_0x439570(0xc0)]},'children':[this[_0x439570(0xcf)]]}]}),_0x430d7d;}}