@ckeditor/ckeditor5-comments 47.3.0-alpha.1 → 47.3.0-alpha.3

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 (194) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/index.js +11 -11
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +19 -19
  150. package/src/annotations/annotation.js +2 -2
  151. package/src/annotations/annotationcollection.js +1 -1
  152. package/src/annotations/annotations.js +1 -1
  153. package/src/annotations/annotationsuis.js +1 -1
  154. package/src/annotations/editorannotations.js +1 -1
  155. package/src/annotations/inlineannotations.js +1 -1
  156. package/src/annotations/narrowsidebar.js +1 -1
  157. package/src/annotations/sidebar.js +1 -1
  158. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  159. package/src/annotations/view/annotationview.js +1 -1
  160. package/src/annotations/view/sidebaritemview.js +2 -2
  161. package/src/annotations/view/sidebarview.js +2 -2
  162. package/src/annotations/widesidebar.js +1 -1
  163. package/src/comments/addcommentthreadcommand.js +1 -1
  164. package/src/comments/commentsarchive.js +1 -1
  165. package/src/comments/commentsarchiveui.js +1 -1
  166. package/src/comments/commentsediting.js +1 -1
  167. package/src/comments/commentsrepository.js +3 -3
  168. package/src/comments/commentsui.js +1 -1
  169. package/src/comments/integrations/clipboard.js +1 -1
  170. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  171. package/src/comments/integrations/importword.js +1 -1
  172. package/src/comments/integrations/showcommenthighlights.js +1 -1
  173. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  174. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  175. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  176. package/src/comments/ui/commentthreadcontroller.js +2 -2
  177. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  178. package/src/comments/ui/view/basecommentview.js +1 -1
  179. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  180. package/src/comments/ui/view/commentcontentview.js +1 -1
  181. package/src/comments/ui/view/commentinputview.js +1 -1
  182. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  183. package/src/comments/ui/view/commentslistview.js +1 -1
  184. package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
  185. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  186. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  187. package/src/comments/ui/view/commentthreadview.js +2 -2
  188. package/src/comments/ui/view/commentview.js +2 -2
  189. package/src/comments.js +1 -1
  190. package/src/commentsonly.js +1 -1
  191. package/src/index.js +1 -1
  192. package/src/utils/common-translations.js +1 -1
  193. package/src/utils/createmutationobserver.js +1 -1
  194. package/src/utils/splitmarkername.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x288f(_0x1538a8,_0x2663c5){const _0x14cffa=_0x14cf();return _0x288f=function(_0x288ff4,_0x5b1c4e){_0x288ff4=_0x288ff4-0x1df;let _0x58a988=_0x14cffa[_0x288ff4];return _0x58a988;},_0x288f(_0x1538a8,_0x2663c5);}const _0x173b56=_0x288f;(function(_0xac0cd1,_0xf22da2){const _0x4104c6=_0x288f,_0x347333=_0xac0cd1();while(!![]){try{const _0x873051=parseInt(_0x4104c6(0x23d))/0x1*(-parseInt(_0x4104c6(0x1ea))/0x2)+parseInt(_0x4104c6(0x1f3))/0x3*(-parseInt(_0x4104c6(0x214))/0x4)+parseInt(_0x4104c6(0x1df))/0x5+parseInt(_0x4104c6(0x24d))/0x6*(-parseInt(_0x4104c6(0x245))/0x7)+-parseInt(_0x4104c6(0x206))/0x8+parseInt(_0x4104c6(0x225))/0x9+parseInt(_0x4104c6(0x230))/0xa;if(_0x873051===_0xf22da2)break;else _0x347333['push'](_0x347333['shift']());}catch(_0x136b60){_0x347333['push'](_0x347333['shift']());}}}(_0x14cf,0xd8e7f));import{Plugin as _0x1ea073}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x149865,scrollViewportToShowTarget as _0x36c883,uid as _0x28b448}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x3d6e1e}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x2414f8}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x248181,getAllMarkersDomElementsSorted as _0x272688,FOCUS_ANNOTATION_KEYSTROKE as _0x110555,Users as _0x1b76cc}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x32ebc4}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x72d2fd}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x2475de}from'./integrations/importword.js';import{CommentsClipboard as _0x500f90}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x2b10c2}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0xaef2b5}from'../annotations/annotations.js';import{getTranslation as _0x7a52c8}from'../utils/common-translations.js';import{splitMarkerName as _0x16b9e8}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x1ea073{static get[_0x173b56(0x21e)](){return[_0x3d6e1e,_0x32ebc4,_0x1b76cc,_0x72d2fd,_0x2475de,_0x500f90,_0x2b10c2];}static get[_0x173b56(0x26f)](){const _0x5a7785=_0x173b56;return _0x5a7785(0x219);}static get[_0x173b56(0x267)](){return!0x0;}static get[_0x173b56(0x1e4)](){return!0x0;}constructor(_0x230d37){const _0xf603c5=_0x173b56;super(_0x230d37),this[_0xf603c5(0x281)](_0xf603c5(0x23c),!0x0),_0x230d37[_0xf603c5(0x255)][_0xf603c5(0x265)](_0xf603c5(0x236),()=>this[_0xf603c5(0x23c)]=!0x1),this[_0xf603c5(0x281)](_0xf603c5(0x1ff),null),this['on'](_0xf603c5(0x251),(_0x2ad053,_0x302c2e,_0x16e866,_0x4099a9)=>{const _0x2d5d5e=_0xf603c5,_0x1c3f45=_0x230d37[_0x2d5d5e(0x228)][_0x2d5d5e(0x266)](_0x3d6e1e),_0x5c95f0=_0x16e866?_0x16b9e8(_0x16e866)['id']:null;_0x230d37[_0x2d5d5e(0x204)][_0x2d5d5e(0x27d)](()=>{const _0x324a29=_0x2d5d5e;if(_0x5c95f0){const _0x4d766d=this[_0x324a29(0x263)](_0x5c95f0);for(const _0xa096dd of _0x4d766d)_0x230d37[_0x324a29(0x1ec)][_0x324a29(0x235)](_0xa096dd);}if(_0x4099a9){const {id:_0x1db967}=_0x16b9e8(_0x4099a9),_0x4d9fb9=_0x1c3f45[_0x324a29(0x209)](_0x1db967);if(_0x4d9fb9&&_0x4d9fb9[_0x324a29(0x231)])return;if(_0x4d9fb9&&!_0x4d9fb9[_0x324a29(0x237)])return;const _0x1e7e9c=this[_0x324a29(0x263)](_0x1db967);for(const _0x17dc08 of _0x1e7e9c)_0x230d37[_0x324a29(0x1ec)][_0x324a29(0x235)](_0x17dc08);}}),_0x5c95f0&&this[_0x2d5d5e(0x201)](_0x5c95f0);}),this[_0xf603c5(0x27f)]();}[_0x173b56(0x24e)](){const _0x3fc960=_0x173b56,_0x3931d1=this[_0x3fc960(0x25b)],_0x4e8a51=_0x3931d1[_0x3fc960(0x228)][_0x3fc960(0x266)](_0x3d6e1e),_0x3af237=_0x3931d1[_0x3fc960(0x22a)][_0x3fc960(0x266)](_0x3fc960(0x1fd)),_0x39345c=_0x4e8a51[_0x3fc960(0x259)]()[_0x3fc960(0x26b)](_0x15e21b=>_0x15e21b[_0x3fc960(0x25a)]!==_0x3af237);_0x3931d1[_0x3fc960(0x22b)][_0x3fc960(0x232)](_0x3fc960(0x221),new _0x2414f8(_0x3931d1)),this[_0x3fc960(0x1ee)](_0x3931d1,_0x3fc960(0x24c),(_0x24616d,_0x5c126,_0x32423f)=>{const _0x1fd615=_0x3fc960;_0x4e8a51[_0x1fd615(0x273)](_0x32423f,_0x3931d1[_0x1fd615(0x22a)][_0x1fd615(0x266)](_0x1fd615(0x1fd)));}),this[_0x3fc960(0x1ee)](_0x4e8a51,dt(_0x3fc960(0x221),_0x3af237),(_0x26439a,{threadId:_0x3f8c2c})=>{const _0x47a63c=_0x3fc960,_0x24a12b=this[_0x47a63c(0x25b)][_0x47a63c(0x228)][_0x47a63c(0x266)](_0x3d6e1e)[_0x47a63c(0x209)](_0x3f8c2c);_0x24a12b?.[_0x47a63c(0x231)]&&this[_0x47a63c(0x1f0)](_0x3f8c2c);}),this[_0x3fc960(0x1ee)](_0x4e8a51,dt(_0x3fc960(0x279),_0x3af237),(_0x44fc80,{threadId:_0x10fee8})=>{const _0x3b29b4=_0x3fc960;_0x3931d1[_0x3b29b4(0x204)][_0x3b29b4(0x242)]({'isUndoable':!0x1},_0x5cd90e=>{const _0x449355=_0x3b29b4,_0x2d3c14=this[_0x449355(0x263)](_0x10fee8);for(const _0x57daf2 of _0x2d3c14)_0x5cd90e[_0x449355(0x256)](_0x57daf2);});}),this[_0x3fc960(0x1ee)](_0x4e8a51,dt(_0x3fc960(0x1e1),_0x3af237),(_0x30658f,{threadId:_0xbc8aa9})=>{const _0x20c504=_0x3fc960;(this[_0x20c504(0x243)](_0xbc8aa9),this[_0x20c504(0x25b)][_0x20c504(0x1ec)][_0x20c504(0x27b)][_0x20c504(0x26c)])&&(this[_0x20c504(0x25b)][_0x20c504(0x228)][_0x20c504(0x266)](_0x3d6e1e)[_0x20c504(0x209)](_0xbc8aa9)[_0x20c504(0x231)]||this[_0x20c504(0x25b)][_0x20c504(0x1ec)][_0x20c504(0x27b)][_0x20c504(0x21d)]());},{'priority':_0x3fc960(0x280)}),this[_0x3fc960(0x1ee)](_0x4e8a51,dt(_0x3fc960(0x27a),_0x3af237),(_0x589ce1,{threadId:_0x3f316a})=>{const _0x2bad94=_0x3fc960;this[_0x2bad94(0x243)](_0x3f316a);},{'priority':_0x3fc960(0x280)}),this[_0x3fc960(0x1ee)](_0x4e8a51,dt(_0x3fc960(0x23e),_0x3af237),(_0x1de212,{threadId:_0xd7c7f1,isFromAdapter:_0x13d69f})=>{const _0x27ef0a=_0x3fc960,_0x12acb7=this[_0x27ef0a(0x263)](_0xd7c7f1);if(_0x13d69f||0x0==_0x12acb7[_0x27ef0a(0x21a)]||!_0x4e8a51[_0x27ef0a(0x250)](_0xd7c7f1))return;0x1===_0x4e8a51[_0x27ef0a(0x209)](_0xd7c7f1)[_0x27ef0a(0x21a)]&&_0x3931d1[_0x27ef0a(0x204)][_0x27ef0a(0x242)]({'isUndoable':!0x1},_0x9e8c58=>{const _0x4bcce1=_0x27ef0a;for(const _0x41f8cf of _0x12acb7)_0x9e8c58[_0x4bcce1(0x20b)](_0x41f8cf,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3fc960(0x280)}),this[_0x3fc960(0x24f)](),this[_0x3fc960(0x262)](),this[_0x3fc960(0x21c)](_0x39345c);}[_0x173b56(0x254)](){!async function(_0x1b204c){const _0xe99fb2=_0x40a60a([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x57415e=0x73460ab3,_0x3cbeef=0x734170fb^_0x57415e,_0x218c82=window[_0x40a60a([0x44,0x61,0x74,0x65])][_0x40a60a([0x6e,0x6f,0x77])](),_0x525e90=_0x1b204c[_0x40a60a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d9f59=new window[(_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x165771=>{_0x525e90[_0x40a60a([0x6f,0x6e,0x63,0x65])](_0x40a60a([0x72,0x65,0x61,0x64,0x79]),_0x165771);}),_0x1ed215={[_0x40a60a([0x6b,0x74,0x79])]:_0x40a60a([0x45,0x43]),[_0x40a60a([0x75,0x73,0x65])]:_0x40a60a([0x73,0x69,0x67]),[_0x40a60a([0x63,0x72,0x76])]:_0x40a60a([0x50,0x2d,0x32,0x35,0x36]),[_0x40a60a([0x78])]:_0x40a60a([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x40a60a([0x79])]:_0x40a60a([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x40a60a([0x61,0x6c,0x67])]:_0x40a60a([0x45,0x53,0x32,0x35,0x36])},_0x5dbd35=_0x525e90[_0x40a60a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40a60a([0x67,0x65,0x74])](_0x40a60a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a4abe(){let _0x9a197b,_0x3af108=null,_0x59529d=null;try{if(_0x5dbd35==_0x40a60a([0x47,0x50,0x4c]))return _0x40a60a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9a197b=_0x21df0c(),!_0x9a197b)return _0x40a60a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9a197b[_0x40a60a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59529d=_0x1dc802(_0x9a197b[_0x40a60a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9a197b[_0x40a60a([0x6a,0x74,0x69])])),await _0x899a3c()?_0x4c8dd5()?_0x4de53d()?_0x40a60a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x480713()?(_0x9a197b[_0x40a60a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40a60a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3af108=_0x328539(_0x40a60a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9a197b[_0x40a60a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40a60a([0x74,0x72,0x69,0x61,0x6c])&&(_0x3af108=_0x328539(_0x40a60a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d8de4()):_0x40a60a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40a60a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40a60a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40a60a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4de53d(){const _0x2caee4=[_0x40a60a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40a60a([0x74,0x72,0x69,0x61,0x6c])][_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9a197b[_0x40a60a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x218c82/0x3e8:0xe10*_0x3cbeef;return _0x9a197b[_0x40a60a([0x65,0x78,0x70])]<_0x2caee4;}function _0x4c8dd5(){const _0x1b9f4e=_0x9a197b[_0x40a60a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1b9f4e)return!0x1;if(_0x1b9f4e[_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a60a([0x2a])))return!0x0;if(_0x1b9f4e[_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a60a([0x43,0x4d,0x54])))return!0x0;if(_0x1b9f4e[_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a60a([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x4eb2e9())return!0x0;if(_0x1b9f4e[_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a60a([0x52,0x43,0x4d,0x54]))){if(_0x58b54e())return!0x0;if(_0x257ebd()||_0x293071())return!0x0;}return!0x1;}function _0x480713(){const _0x578553=_0x288f,_0x5f2fac=_0x9a197b[_0x40a60a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f2fac||0x0==_0x5f2fac[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b96d0}=new URL(window[_0x40a60a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x578553(0x1fe)]);if(_0x5f2fac[_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b96d0))return!0x0;const _0x38c648=_0x3b96d0[_0x40a60a([0x73,0x70,0x6c,0x69,0x74])](_0x40a60a([0x2e]));return _0x5f2fac[_0x40a60a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40561d=>_0x40561d[_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a60a([0x2a])))[_0x40a60a([0x6d,0x61,0x70])](_0x109d3b=>_0x109d3b[_0x40a60a([0x73,0x70,0x6c,0x69,0x74])](_0x40a60a([0x2e])))[_0x40a60a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x366005=>_0x366005[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38c648[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40a60a([0x6d,0x61,0x70])](_0x32bec1=>Array(_0x38c648[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x32bec1[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40a60a([0x66,0x69,0x6c,0x6c])](_0x32bec1[0x0]===_0x40a60a([0x2a])?_0x40a60a([0x2a]):'')[_0x40a60a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x32bec1))[_0x40a60a([0x73,0x6f,0x6d,0x65])](_0x356a81=>_0x38c648[_0x40a60a([0x65,0x76,0x65,0x72,0x79])]((_0x5c6ca5,_0x2ffe0f)=>_0x356a81[_0x2ffe0f]===_0x5c6ca5||_0x356a81[_0x2ffe0f]===_0x40a60a([0x2a])));}function _0x4d8de4(){return _0x3af108&&_0x59529d?new window[(_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1abfde,_0x1528ca)=>{_0x3af108[_0x40a60a([0x74,0x68,0x65,0x6e])](_0x1abfde,_0x1528ca),_0x59529d[_0x40a60a([0x74,0x68,0x65,0x6e])](_0x1a9a7d=>{_0x1a9a7d!=_0x40a60a([0x56,0x61,0x6c,0x69,0x64])&&_0x1abfde(_0x1a9a7d);},_0x1528ca);}):_0x3af108||_0x59529d||_0x40a60a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1dc802(_0x541776,_0x6c96d9){return new window[(_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27bc00=>{if(_0x167f3b())return _0x27bc00(_0x40a60a([0x56,0x61,0x6c,0x69,0x64]));_0x2cbabf(),_0x525e90[_0x40a60a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40a60a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a8828=!0x1;const _0x1ecd41=_0x28b448();function _0x329165(_0x3525f0){return!!_0x3525f0&&(typeof _0x3525f0===_0x40a60a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3525f0===_0x40a60a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3525f0[_0x40a60a([0x74,0x68,0x65,0x6e])]===_0x40a60a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3525f0[_0x40a60a([0x63,0x61,0x74,0x63,0x68])]===_0x40a60a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c838a(_0x2443f2){_0x3c46b1(_0x2443f2)[_0x40a60a([0x74,0x68,0x65,0x6e])](_0x324ecf=>{if(!_0x324ecf||_0x324ecf[_0x40a60a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40a60a([0x6f,0x6b]))return _0x40a60a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40348e(_0x2a4f62(_0x1ecd41+_0x6c96d9))!=_0x324ecf[_0x40a60a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40a60a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40a60a([0x56,0x61,0x6c,0x69,0x64]);})[_0x40a60a([0x74,0x68,0x65,0x6e])](_0x4973c6=>(_0x3e7459(),_0x4973c6),()=>{const _0x546dcf=_0xb211de();return null==_0x546dcf?(_0x3e7459(),_0x40a60a([0x56,0x61,0x6c,0x69,0x64])):_0x40a60a(_0x218c82-_0x546dcf>(0x574a8eb3^_0x57415e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40a60a([0x74,0x68,0x65,0x6e])](_0x27bc00)[_0x40a60a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27bc00(_0x40a60a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e7ca0=0x7370e433^_0x57415e;function _0x3e7459(){const _0x1d7065=_0x40a60a([0x6c,0x6c,0x63,0x74,0x2d])+_0x40348e(_0x2a4f62(_0x541776)),_0x5bb9b1=_0x454f75(_0x40348e(window[_0x40a60a([0x4d,0x61,0x74,0x68])][_0x40a60a([0x63,0x65,0x69,0x6c])](_0x218c82/_0x3e7ca0)));window[_0x40a60a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40a60a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d7065,_0x5bb9b1);}function _0xb211de(){const _0x52bcac=_0x40a60a([0x6c,0x6c,0x63,0x74,0x2d])+_0x40348e(_0x2a4f62(_0x541776)),_0x2c8107=window[_0x40a60a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40a60a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52bcac);return _0x2c8107?window[_0x40a60a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x454f75(_0x2c8107),0x10)*_0x3e7ca0:null;}function _0x3c46b1(_0x49b022){return new window[(_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d5f4f,_0x2529e8)=>{_0x49b022[_0x40a60a([0x74,0x68,0x65,0x6e])](_0x1d5f4f,_0x2529e8),window[_0x40a60a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2529e8,0x7347de73^_0x57415e);});}}_0x525e90[_0x40a60a([0x6f,0x6e])](_0x40a60a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x419d6e,_0xa32cfe)=>{if(_0xa32cfe[0x0]!=_0x541776)return _0x27bc00(_0x40a60a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa32cfe[0x1]={..._0xa32cfe[0x1],[_0x40a60a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ecd41};},{[_0x40a60a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40a60a([0x68,0x69,0x67,0x68])}),_0x525e90[_0x40a60a([0x6f,0x6e])](_0x40a60a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf91352=>{_0x329165(_0xf91352[_0x40a60a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a8828=!0x0,_0x3c838a(_0xf91352[_0x40a60a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40a60a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40a60a([0x6c,0x6f,0x77])}),_0x1d9f59[_0x40a60a([0x74,0x68,0x65,0x6e])](()=>{_0x2a8828||_0x27bc00(_0x40a60a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x167f3b(){return _0x525e90[_0x40a60a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40a60a([0x76,0x69,0x65,0x77])][_0x40a60a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40a60a([0x61,0x75,0x74,0x6f]);}function _0x2cbabf(){_0x525e90[_0x40a60a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40a60a([0x76,0x69,0x65,0x77])][_0x40a60a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40a60a([0x61,0x75,0x74,0x6f]);}}function _0x328539(_0x59be8b){const _0x1a0747=[new window[(_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50fc55=>setTimeout(_0x50fc55,0x734f347f^_0x57415e)),_0x1d9f59[_0x40a60a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc234fb=>{let _0xaca145=0x0;_0x525e90[_0x40a60a([0x6d,0x6f,0x64,0x65,0x6c])][_0x40a60a([0x6f,0x6e])](_0x40a60a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x25a8b8,_0x1a9af6)=>{_0x1a9af6[0x0][_0x40a60a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xaca145++,_0xaca145==(0x73460b4b^_0x57415e)&&(_0xc234fb(),_0x25a8b8[_0x40a60a([0x6f,0x66,0x66])]());});}))];return window[_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40a60a([0x72,0x61,0x63,0x65])](_0x1a0747)[_0x40a60a([0x74,0x68,0x65,0x6e])](()=>_0x59be8b);}async function _0x505a2a(){await _0x1d9f59,_0x525e90[_0x40a60a([0x6d,0x6f,0x64,0x65,0x6c])][_0x40a60a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x269d30,_0x525e90[_0x40a60a([0x6d,0x6f,0x64,0x65,0x6c])][_0x40a60a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x269d30,_0x525e90[_0x40a60a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40a60a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4eb2e9(){return window[_0x40a60a([0x67,0x6c,0x6f,0x62])]&&window[_0x40a60a([0x67,0x6c,0x6f,0x62])][_0x40a60a([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x58b54e(){return _0x1ca26c(_0x40a60a([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x520916(_0x40a60a([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x40a60a([0x73,0x74,0x61,0x74,0x65])]==_0x40a60a([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x257ebd(){return _0x1ca26c(_0x40a60a([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x293071(){return _0x1ca26c(_0x40a60a([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x6a17d6(_0x238c65){const _0x10cc76=_0x24b225();_0x525e90[_0x10cc76]=_0x40a60a([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x238c65,_0x238c65!=_0x40a60a([0x56,0x61,0x6c,0x69,0x64])&&_0x505a2a();}function _0x24b225(){const _0x12604f=window[_0x40a60a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40a60a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40a60a([0x6e,0x6f,0x77])]())[_0x40a60a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40a60a([0x2e]),'');let _0x33995d=_0x40a60a([0x4b]);for(let _0x4ea11f=0x0;_0x4ea11f<_0x12604f[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ea11f+=0x2){let _0x319700=window[_0x40a60a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12604f[_0x40a60a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ea11f,_0x4ea11f+0x2));_0x319700>=_0xe99fb2[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x319700-=_0xe99fb2[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x33995d+=_0xe99fb2[_0x319700];}return _0x33995d;}function _0x21df0c(){const _0xff11ac=_0x5dbd35[_0x40a60a([0x73,0x70,0x6c,0x69,0x74])](_0x40a60a([0x2e]));if(0x3!=_0xff11ac[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x19fca1(_0xff11ac[0x1]);function _0x19fca1(_0x2b8e6e){const _0x437863=_0x362b9b(_0x2b8e6e);return _0x437863&&_0x4ea14b()?_0x437863:null;function _0x4ea14b(){const _0x13ce92=_0x437863[_0x40a60a([0x6a,0x74,0x69])],_0x4118ae=window[_0x40a60a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13ce92[_0x40a60a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13ce92[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf884bf={..._0x437863,[_0x40a60a([0x6a,0x74,0x69])]:_0x13ce92[_0x40a60a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13ce92[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf884bf[_0x40a60a([0x76,0x63])],_0x2a4f62(_0xf884bf)==_0x4118ae;}}}async function _0x899a3c(){let _0x5614b0=!0x0;try{const _0x37ec10=_0x5dbd35[_0x40a60a([0x73,0x70,0x6c,0x69,0x74])](_0x40a60a([0x2e])),[_0x37b437,_0x29fe58,_0x44506b]=_0x37ec10;return _0x26e9af(_0x37b437),await _0x151191(_0x37b437,_0x29fe58,_0x44506b),_0x5614b0;}catch{return!0x1;}function _0x26e9af(_0xc744f2){const _0x2fbc91=_0x362b9b(_0xc744f2);_0x2fbc91&&_0x2fbc91[_0x40a60a([0x61,0x6c,0x67])]==_0x40a60a([0x45,0x53,0x32,0x35,0x36])||(_0x5614b0=!0x1);}async function _0x151191(_0x4d0593,_0x107063,_0x21523b){const _0x529fd3=window[_0x40a60a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40a60a([0x66,0x72,0x6f,0x6d])](_0x29957d(_0x21523b),_0x3f587f=>_0x3f587f[_0x40a60a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2209d7=new window[(_0x40a60a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40a60a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4d0593+_0x40a60a([0x2e])+_0x107063),_0x3a4ac9=window[_0x40a60a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40a60a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a4ac9)return;const _0x4dd41b=await _0x3a4ac9[_0x40a60a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40a60a([0x6a,0x77,0x6b]),_0x1ed215,{[_0x40a60a([0x6e,0x61,0x6d,0x65])]:_0x40a60a([0x45,0x43,0x44,0x53,0x41]),[_0x40a60a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40a60a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40a60a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a4ac9[_0x40a60a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40a60a([0x6e,0x61,0x6d,0x65])]:_0x40a60a([0x45,0x43,0x44,0x53,0x41]),[_0x40a60a([0x68,0x61,0x73,0x68])]:{[_0x40a60a([0x6e,0x61,0x6d,0x65])]:_0x40a60a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4dd41b,_0x529fd3,_0x2209d7)||(_0x5614b0=!0x1);}}function _0x362b9b(_0x25fc88){return _0x25fc88[_0x40a60a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40a60a([0x65,0x79]))?JSON[_0x40a60a([0x70,0x61,0x72,0x73,0x65])](_0x29957d(_0x25fc88)):null;}function _0x29957d(_0xd455ed){return window[_0x40a60a([0x61,0x74,0x6f,0x62])](_0xd455ed[_0x40a60a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40a60a([0x2b]))[_0x40a60a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40a60a([0x2f])));}function _0x2a4f62(_0x44a537){let _0x5adab0=0x1505;function _0x128a3b(_0x11a558){for(let _0x2c5e68=0x0;_0x2c5e68<_0x11a558[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c5e68++){const _0x55867a=_0x11a558[_0x40a60a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c5e68);_0x5adab0=(_0x5adab0<<0x5)+_0x5adab0+_0x55867a,_0x5adab0&=_0x5adab0;}}function _0x91fb3c(_0x467929){Array[_0x40a60a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x467929)?_0x467929[_0x40a60a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x91fb3c):_0x467929&&typeof _0x467929==_0x40a60a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40a60a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x467929)[_0x40a60a([0x73,0x6f,0x72,0x74])]()[_0x40a60a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b2def,_0xe26c1])=>{_0x128a3b(_0x3b2def),_0x91fb3c(_0xe26c1);}):_0x128a3b(window[_0x40a60a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x467929));}return _0x91fb3c(_0x44a537),_0x5adab0>>>0x0;}function _0x40348e(_0x138afd){return _0x138afd[_0x40a60a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40a60a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40a60a([0x30]));}function _0x454f75(_0x16167f){return _0x16167f[_0x40a60a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40a60a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40a60a([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ca26c(_0x4732bd){return _0x525e90[_0x40a60a([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x40a60a([0x68,0x61,0x73])](_0x4732bd);}function _0x520916(_0x33fbf1){return _0x525e90[_0x40a60a([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x40a60a([0x67,0x65,0x74])](_0x33fbf1);}function _0x269d30(){}function _0x40a60a(_0x31b69f){const _0x2c9576=_0x288f;return _0x31b69f[_0x2c9576(0x1e8)](_0x5c476d=>String[_0x2c9576(0x249)](_0x5c476d))[_0x2c9576(0x1e7)]('');}_0x6a17d6(await _0x3a4abe());}(this);}[_0x173b56(0x208)](){const _0x1911e5=_0x173b56,_0x46f084=this[_0x1911e5(0x25b)][_0x1911e5(0x228)][_0x1911e5(0x266)](_0x3d6e1e),_0x3822c3=this[_0x1911e5(0x25b)][_0x1911e5(0x22a)][_0x1911e5(0x266)](_0x1911e5(0x1fd));for(const _0x1d3f4c of _0x46f084[_0x1911e5(0x259)]({'channelId':_0x3822c3}))_0x46f084[_0x1911e5(0x239)](_0x1d3f4c['id']),_0x46f084[_0x1911e5(0x213)][_0x1911e5(0x1f5)](_0x1d3f4c['id']);super[_0x1911e5(0x208)]();}[_0x173b56(0x205)](_0x25897f){const _0x283b90=_0x173b56;return this[_0x283b90(0x263)](_0x25897f)[_0x283b90(0x21a)]>0x0;}[_0x173b56(0x263)](_0x4f010f){const _0x217580=_0x173b56,_0x8d89bd=[];for(const _0x267848 of this[_0x217580(0x25b)][_0x217580(0x204)][_0x217580(0x226)])_0x267848[_0x217580(0x1eb)][_0x217580(0x229)](_0x217580(0x1f8)+_0x4f010f)&&_0x8d89bd[_0x217580(0x22d)](_0x267848);return _0x8d89bd;}[_0x173b56(0x201)](_0x524943){setTimeout(()=>{const _0x5a012a=_0x288f,_0x4989eb=this[_0x5a012a(0x224)](_0x524943);if(!_0x4989eb)return;this[_0x5a012a(0x1ff)]&&_0x16b9e8(this[_0x5a012a(0x1ff)])['id']===_0x524943&&_0x36c883({'target':_0x4989eb[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x173b56(0x243)](_0x341a1a){const _0x13601f=_0x173b56;this[_0x13601f(0x25b)][_0x13601f(0x204)][_0x13601f(0x27d)](()=>{const _0x340a9f=_0x13601f;for(const _0x2af97c of this[_0x340a9f(0x263)](_0x341a1a))this[_0x340a9f(0x25b)][_0x340a9f(0x1ec)][_0x340a9f(0x235)](_0x2af97c);});}[_0x173b56(0x1f0)](_0x444464){const _0x5510c0=_0x173b56,_0x450da6=this[_0x5510c0(0x25b)][_0x5510c0(0x228)][_0x5510c0(0x266)](_0x3d6e1e),_0x32441e=this[_0x5510c0(0x25b)][_0x5510c0(0x228)][_0x5510c0(0x266)](_0x32ebc4),_0x3118e4=_0x450da6[_0x5510c0(0x209)](_0x444464);if(!_0x3118e4[_0x5510c0(0x237)]){const _0x3944c5=_0x3118e4[_0x5510c0(0x257)](()=>this[_0x5510c0(0x224)](_0x3118e4['id']));_0x32441e[_0x5510c0(0x25d)](_0x3944c5),_0x3118e4[_0x5510c0(0x26d)]=!0x1;}}[_0x173b56(0x24f)](){const _0x2739d8=_0x173b56,_0x176e3b=this[_0x2739d8(0x25b)],_0x4a0047=_0x176e3b[_0x2739d8(0x228)][_0x2739d8(0x266)](_0x1b76cc);_0x176e3b[_0x2739d8(0x261)][_0x2739d8(0x211)](_0x2739d8(0x260))[_0x2739d8(0x24a)]({'model':_0x2739d8(0x271),'view':(_0x4fb68,_0x1d5330)=>{const _0x5d10e8=_0x2739d8,{id:_0x2705f7}=_0x16b9e8(_0x4fb68[_0x5d10e8(0x238)]),_0x8c1eb1=_0x176e3b[_0x5d10e8(0x228)][_0x5d10e8(0x266)](_0x3d6e1e)[_0x5d10e8(0x209)](_0x2705f7),_0x390397=this[_0x5d10e8(0x1ff)]&&_0x16b9e8(this[_0x5d10e8(0x1ff)])['id']===_0x2705f7;let _0x2dc437;if(_0x8c1eb1&&_0x8c1eb1[_0x5d10e8(0x277)]&&!_0x390397&&_0x4fb68[_0x5d10e8(0x268)])return _0x1d5330[_0x5d10e8(0x240)][_0x5d10e8(0x1fc)](_0x4fb68[_0x5d10e8(0x268)],_0x5d10e8(0x264)+_0x4fb68[_0x5d10e8(0x238)]),_0x1d5330[_0x5d10e8(0x240)][_0x5d10e8(0x1fc)](_0x4fb68[_0x5d10e8(0x268)],_0x5d10e8(0x1f4)+_0x4fb68[_0x5d10e8(0x238)]),null;const _0x152ece=[_0x5d10e8(0x1e0)];return _0x390397&&_0x152ece[_0x5d10e8(0x22d)](_0x5d10e8(0x203)),_0x2dc437=_0x8c1eb1?.[_0x5d10e8(0x21a)]?_0x8c1eb1[_0x5d10e8(0x272)][_0x5d10e8(0x25c)][_0x5d10e8(0x21f)]['id']:_0x4a0047['me']['id'],{'classes':_0x152ece,'attributes':{'data-comment':_0x2705f7,'data-author-id':_0x2dc437}};}}),_0x176e3b[_0x2739d8(0x261)][_0x2739d8(0x211)](_0x2739d8(0x26a))[_0x2739d8(0x1e2)]({'model':_0x2739d8(0x271),'view':(_0x101703,{options:_0x3a45ce})=>{const _0x69af3=_0x2739d8;if(_0x3a45ce[_0x69af3(0x27c)])return null;const _0xa9a65b=_0x176e3b[_0x69af3(0x228)][_0x69af3(0x266)](_0x3d6e1e),_0x53bce9=_0x176e3b[_0x69af3(0x204)][_0x69af3(0x226)][_0x69af3(0x266)](_0x101703),{id:_0x336cfa,part:_0x3b3012}=_0x16b9e8(_0x101703);return _0x53bce9&&!_0x53bce9[_0x69af3(0x212)]||_0x3a45ce[_0x69af3(0x1e9)]&&_0xa9a65b[_0x69af3(0x209)](_0x336cfa)?.[_0x69af3(0x277)]?null:{'group':_0x69af3(0x271),'name':_0x3b3012?_0x336cfa+':'+_0x3b3012:_0x336cfa};}}),_0x176e3b[_0x2739d8(0x261)][_0x2739d8(0x211)](_0x2739d8(0x25f))[_0x2739d8(0x207)]({'view':{'name':_0x2739d8(0x271),'attributes':{'id':/^\w/}},'model':(_0xb3edc,{writer:_0x3680b3})=>_0x3680b3[_0x2739d8(0x1fb)](_0x2739d8(0x247),{'data-name':_0x2739d8(0x1f8)+_0xb3edc[_0x2739d8(0x1f9)]('id')})}),_0x176e3b[_0x2739d8(0x261)][_0x2739d8(0x211)](_0x2739d8(0x25f))[_0x2739d8(0x220)]({'view':_0x2739d8(0x271)});}[_0x173b56(0x262)](){const _0x3e7863=_0x173b56,_0x45e0e5=this[_0x3e7863(0x25b)],_0x2366e4=_0x45e0e5[_0x3e7863(0x228)][_0x3e7863(0x266)](_0x3d6e1e),_0x568361=new Set(),_0x253477=new Set();_0x45e0e5[_0x3e7863(0x204)][_0x3e7863(0x25e)][_0x3e7863(0x1f6)](_0x47996e=>{const _0x176728=_0x3e7863;let _0x29da34=!0x1;for(const {name:_0x2ed38c,data:_0x195018}of _0x45e0e5[_0x176728(0x204)][_0x176728(0x25e)][_0x176728(0x244)][_0x176728(0x222)]()){const {group:_0x2d915a,id:_0x2941a0}=_0x16b9e8(_0x2ed38c);let _0x5e4874=_0x195018[_0x176728(0x253)];if(_0x176728(0x271)!==_0x2d915a||!_0x5e4874)continue;const _0x5deeb6=_0x176728(0x22f)===_0x5e4874[_0x176728(0x215)][_0x176728(0x275)];_0x5deeb6||(_0x5e4874=ht(_0x5e4874,_0x45e0e5[_0x176728(0x204)]),!_0x5e4874||_0x5e4874[_0x176728(0x26e)]||!_0x195018[_0x176728(0x253)]||_0x5e4874[_0x176728(0x278)](_0x195018[_0x176728(0x253)]))?_0x45e0e5[_0x176728(0x204)][_0x176728(0x241)](_0x5e4874)&&!_0x5deeb6?this[_0x176728(0x23c)]?_0x568361[_0x176728(0x232)](_0x2ed38c):this[_0x176728(0x22e)](_0x2ed38c,_0x2941a0):(_0x253477[_0x176728(0x232)](_0x2ed38c),_0x568361[_0x176728(0x1f5)](_0x2ed38c),_0x47996e[_0x176728(0x256)](_0x2ed38c),_0x29da34=!0x0):(_0x47996e[_0x176728(0x20b)](_0x2ed38c,{'range':_0x5e4874}),_0x29da34=!0x0);}return _0x29da34;}),this['on'](_0x3e7863(0x210),(_0x47bdf2,_0x2adcd2,_0x9f9912)=>{const _0x169b28=_0x3e7863;if(!_0x9f9912&&_0x568361[_0x169b28(0x20a)])for(const _0x287253 of _0x568361){const {id:_0x4cf800}=_0x16b9e8(_0x287253);_0x568361[_0x169b28(0x1f5)](_0x287253),_0x45e0e5[_0x169b28(0x204)][_0x169b28(0x226)][_0x169b28(0x266)](_0x287253)&&this[_0x169b28(0x22e)](_0x287253,_0x4cf800);}}),this[_0x3e7863(0x1ee)](_0x45e0e5[_0x3e7863(0x204)][_0x3e7863(0x25e)],_0x3e7863(0x27d),()=>{const _0x1d3793=_0x3e7863;for(const {name:_0x5bcf5a,data:{newRange:_0x429693}}of _0x45e0e5[_0x1d3793(0x204)][_0x1d3793(0x25e)][_0x1d3793(0x244)][_0x1d3793(0x222)]()){const {group:_0x13b3ba,id:_0x422a31}=_0x16b9e8(_0x5bcf5a);if(_0x1d3793(0x271)!==_0x13b3ba)continue;const _0x50aac3=_0x2366e4[_0x1d3793(0x209)](_0x422a31),_0x3cab9f=this[_0x1d3793(0x205)](_0x422a31);_0x50aac3&&(!_0x50aac3[_0x1d3793(0x26d)]&&_0x429693&&_0x45e0e5[_0x1d3793(0x1ec)][_0x1d3793(0x27b)][_0x1d3793(0x265)](_0x1d3793(0x282),()=>{const _0x5792b5=_0x1d3793,_0x1c29b=_0x45e0e5[_0x5792b5(0x228)][_0x5792b5(0x266)](_0xaef2b5),_0x28b207=_0x2366e4[_0x5792b5(0x200)][_0x5792b5(0x266)](_0x50aac3)[_0x5792b5(0x27b)];_0x1c29b[_0x5792b5(0x258)](_0x28b207)[_0x5792b5(0x270)]();},{'priority':_0x1d3793(0x280)}),_0x50aac3[_0x1d3793(0x26d)]=_0x3cab9f||!!_0x429693),_0x429693||(_0x253477[_0x1d3793(0x232)](_0x5bcf5a),_0x568361[_0x1d3793(0x1f5)](_0x5bcf5a));}for(const _0x39927a of _0x253477){const {id:_0x4a446c}=_0x16b9e8(_0x39927a),_0x189859=_0x2366e4[_0x1d3793(0x209)](_0x4a446c);if(_0x568361[_0x1d3793(0x1f5)](_0x39927a),!_0x189859)continue;const _0x38d504=this[_0x1d3793(0x205)](_0x4a446c);_0x38d504||_0x189859[_0x1d3793(0x269)]?_0x38d504||_0x189859[_0x1d3793(0x231)]||_0x189859[_0x1d3793(0x218)](new Date()):_0x189859[_0x1d3793(0x276)]();}_0x253477[_0x1d3793(0x246)]();});}[_0x173b56(0x21c)](_0x260a8d){const _0xff30ee=_0x173b56;_0x260a8d[_0xff30ee(0x1fa)](_0xd32a8a=>{const _0x1f8270=_0xff30ee;_0xd32a8a[_0x1f8270(0x231)]&&this[_0x1f8270(0x1f0)](_0xd32a8a['id']);});}[_0x173b56(0x224)](_0x1cecf3){const _0x33b626=_0x173b56,_0x8ccfff=this[_0x33b626(0x25b)],_0x4aaca9=this[_0x33b626(0x263)](_0x1cecf3);return _0x272688(_0x8ccfff[_0x33b626(0x1ec)],_0x4aaca9);}[_0x173b56(0x227)](_0x54810b){const _0x896df1=_0x173b56,_0xc47665=this[_0x896df1(0x263)](_0x54810b);let _0x4be016='',_0x5437e1=!0x1;for(const _0x5b52a8 of _0xc47665){const _0x1a4350=_0x5b52a8[_0x896df1(0x23a)]();for(const _0x564b79 of Array[_0x896df1(0x1f2)](_0x1a4350[_0x896df1(0x1e6)]()))_0x564b79['is'](_0x896df1(0x20e))?(_0x4be016&&_0x5437e1&&(_0x4be016+='\x20',_0x5437e1=!0x1),_0x4be016+=_0x564b79[_0x896df1(0x255)]):_0x5437e1=!0x0;_0x5437e1=!0x0;}return _0x4be016[_0x896df1(0x1f7)](0x0,0x96);}[_0x173b56(0x1e5)](_0x188208,_0x3e2e08){const _0x134b43=_0x173b56,_0x5028d7=this[_0x134b43(0x25b)],_0x15a6d8=_0x5028d7[_0x134b43(0x228)][_0x134b43(0x266)](_0x3d6e1e);let _0x2efceb=_0x15a6d8[_0x134b43(0x209)](_0x3e2e08);const _0x248162=_0x5028d7[_0x134b43(0x22a)][_0x134b43(0x266)](_0x134b43(0x1fd)),_0x35539a=_0x5028d7[_0x134b43(0x228)][_0x134b43(0x266)](_0x32ebc4);if(_0x2efceb&&(_0x2efceb[_0x134b43(0x231)]&&_0x2efceb[_0x134b43(0x218)](null),_0x2efceb[_0x134b43(0x237)]))return _0x2efceb;return!this[_0x134b43(0x263)](_0x3e2e08)[0x0][_0x134b43(0x216)]?_0x5028d7[_0x134b43(0x1ec)][_0x134b43(0x27b)][_0x134b43(0x265)](_0x134b43(0x282),()=>{const _0xbb6958=_0x134b43;if(_0x15a6d8[_0xbb6958(0x209)](_0x3e2e08))return;const _0x46a166=_0x5028d7[_0xbb6958(0x228)][_0xbb6958(0x266)](_0xaef2b5);_0x2efceb=_0x15a6d8[_0xbb6958(0x233)]({'channelId':_0x248162,'threadId':_0x3e2e08,'target':()=>this[_0xbb6958(0x224)](_0x3e2e08),'context':{'type':_0xbb6958(0x20d),'value':this[_0xbb6958(0x227)](_0x3e2e08)}});const _0x44f59d=_0x15a6d8[_0xbb6958(0x200)][_0xbb6958(0x266)](_0x2efceb)[_0xbb6958(0x27b)],_0x558103=_0x46a166[_0xbb6958(0x258)](_0x44f59d);_0x558103&&_0x35539a[_0xbb6958(0x25d)](_0x558103);},{'priority':_0x134b43(0x280)}):_0x15a6d8[_0x134b43(0x22c)]({'channelId':_0x248162,'threadId':_0x3e2e08})[_0x134b43(0x1ef)](_0x322bbd=>{const _0x4e4deb=_0x134b43;if(_0x4e4deb(0x202)!==_0x5028d7[_0x4e4deb(0x1f1)]){if(_0x2efceb=_0x322bbd,_0x2efceb&&!_0x2efceb[_0x4e4deb(0x237)]){const _0x65a207=_0x2efceb[_0x4e4deb(0x257)](()=>this[_0x4e4deb(0x224)](_0x3e2e08));_0x35539a[_0x4e4deb(0x25d)](_0x65a207),_0x2efceb[_0x4e4deb(0x277)]&&this[_0x4e4deb(0x243)](_0x3e2e08);}else{if(!_0x2efceb){const _0x36af08=this[_0x4e4deb(0x263)](_0x3e2e08);_0x5028d7[_0x4e4deb(0x204)][_0x4e4deb(0x27d)](_0x4ad938=>{const _0x244aff=_0x4e4deb;for(const _0xa1d7ee of _0x36af08)_0x4ad938[_0x244aff(0x256)](_0xa1d7ee);});}}}}),_0x2efceb;}[_0x173b56(0x22e)](_0x504207,_0x1319f){const _0x4ce554=_0x173b56,_0x3a7ba2=this[_0x4ce554(0x1e5)](_0x504207,_0x1319f);_0x3a7ba2&&!_0x3a7ba2[_0x4ce554(0x248)]&&_0x3a7ba2[_0x4ce554(0x23f)]({'type':_0x4ce554(0x20d),'value':this[_0x4ce554(0x227)](_0x1319f)});}[_0x173b56(0x27f)](){const _0x2f9768=_0x173b56,_0x25c075=this[_0x2f9768(0x25b)];_0x248181(_0x25c075[_0x2f9768(0x204)],({left:_0x45c5bd,entered:_0x39f9f6})=>{const _0x374607=_0x2f9768;for(const _0x2d5621 of _0x45c5bd)if(mt(_0x2d5621)){_0x25c075['ui'][_0x374607(0x20c)][_0x374607(0x20f)](_0x7a52c8(_0x25c075[_0x374607(0x24b)],_0x374607(0x1e3)));break;}for(const _0x746d64 of _0x39f9f6)if(mt(_0x746d64)){_0x25c075['ui'][_0x374607(0x20c)][_0x374607(0x20f)](_0x7a52c8(_0x25c075[_0x374607(0x24b)],_0x374607(0x27e),_0x149865(_0x110555)));break;}});}}function dt(_0x9a8216,_0x54d946){return _0x54d946?_0x9a8216+':'+_0x54d946:_0x9a8216;}function ht(_0x2d8f8e,_0x107337){const _0x1da917=_0x173b56,_0x1c0b0f=_0x107337[_0x1da917(0x223)],_0x2509af=_0x107337[_0x1da917(0x252)](_0x2d8f8e[_0x1da917(0x23b)]);for(const _0x4a9ac6 of _0x2d8f8e[_0x1da917(0x234)]()){const {type:_0x40f9d4,item:_0x2a35ba,nextPosition:_0x429b21}=_0x4a9ac6;if(_0x1da917(0x20d)===_0x40f9d4||_0x1c0b0f[_0x1da917(0x21b)](_0x2a35ba)){const _0x35dbb9=_0x107337[_0x1da917(0x1ed)](_0x2a35ba);_0x2509af[_0x1da917(0x26e)]&&(_0x2509af[_0x1da917(0x23b)]=_0x35dbb9),_0x2509af[_0x1da917(0x217)]=_0x429b21;}}return _0x2509af;}function mt(_0x11d723){const _0x275515=_0x173b56;return _0x275515(0x271)===_0x16b9e8(_0x11d723[_0x275515(0x1eb)])[_0x275515(0x274)];}function _0x14cf(){const _0xecae0=['plugins','startsWith','config','commands','fetchCommentThread','push','_handleThreadMarker','$graveyard','9200120amkrHU','unlinkedAt','add','openNewCommentThread','getWalker','reconvertMarker','ready','isAttached','markerName','_detachCommentThread','getRange','start','isThreadsLoadingPaused','3eizXht','addComment','setContext','consumable','hasContent','enqueueChange','_reconvertMarkers','differ','1579697TwBgIX','clear','$marker','context','fromCharCode','markerToHighlight','locale','change:isReadOnly','18rUpKsW','init','_initializeMarkerConverters','hasCommentThread','change:activeMarker','createRange','newRange','afterInit','data','removeMarker','attachTo','getByInnerView','getCommentThreads','channelId','editor','first','registerAnnotation','document','upcast','editingDowncast','conversion','_handleMarkerAddAndRemove','getAllMarkersForId','addMarker:','once','get','isOfficialPlugin','item','isSubmitted','dataDowncast','filter','hasDomSelection','_hasTargetInContent','isCollapsed','pluginName','refreshVisibility','comment','comments','switchReadOnly','group','rootName','remove','isResolved','isEqual','removeCommentThread','reopenCommentThread','view','showCommentHighlights','change','ENTER_COMMENT_ANNOUNCEMENT','_initAriaMarkerChangeAnnouncements','low','set','render','3818745RXtIwa','ck-comment-marker','resolveCommentThread','markerToData','LEAVE_COMMENT_ANNOUNCEMENT','isPremiumPlugin','_attachMarkerToThread','getItems','join','map','ignoreResolvedComments','79906hprORi','name','editing','createPositionBefore','listenTo','then','_attachArchivedThread','state','from','231SwgRtl','removeMarker:','delete','registerPostFixer','substring','comment:','getAttribute','forEach','createElement','consume','collaboration.channelId','href','activeMarker','_threadToController','scrollToThreadMarker','destroyed','ck-comment-marker--active','model','hasMarkerForId','9348944BDAXYC','elementToElement','destroy','getCommentThread','size','updateMarker','ariaLiveAnnouncer','text','$textProxy','announce','change:isThreadsLoadingPaused','for','affectsData','_threads','13484nFecWO','root','managedUsingOperations','end','setUnlinkedAt','CommentsEditing','length','isObject','_handleInitialThreads','focus','requires','author','dataToMarker','addCommentThread','getChangedMarkers','schema','_getTargetForId','12867687qmqrRd','markers','_getTextContext'];_0x14cf=function(){return _0xecae0;};return _0x14cf();}
23
+ const _0xe062d7=_0x14ed;(function(_0x5c8b54,_0x20c034){const _0xa067cd=_0x14ed,_0x51e6c6=_0x5c8b54();while(!![]){try{const _0x4a89e7=-parseInt(_0xa067cd(0xe8))/0x1*(parseInt(_0xa067cd(0x8a))/0x2)+parseInt(_0xa067cd(0xdb))/0x3+-parseInt(_0xa067cd(0xd8))/0x4*(-parseInt(_0xa067cd(0xc2))/0x5)+-parseInt(_0xa067cd(0xa7))/0x6+-parseInt(_0xa067cd(0x120))/0x7*(-parseInt(_0xa067cd(0xcf))/0x8)+-parseInt(_0xa067cd(0xae))/0x9+parseInt(_0xa067cd(0xad))/0xa;if(_0x4a89e7===_0x20c034)break;else _0x51e6c6['push'](_0x51e6c6['shift']());}catch(_0x4d7c28){_0x51e6c6['push'](_0x51e6c6['shift']());}}}(_0x1ad3,0x198a9));function _0x1ad3(){const _0x2e4289=['locale','data','delete','getAllMarkersForId','pluginName','_reconvertMarkers','requires','isObject','dataDowncast','elementToElement','upcast','removeMarker','hasContent','for','clear','ck-comment-marker--active','group','root','_threadToController','managedUsingOperations','setUnlinkedAt','activeMarker','href','28csjilp','_handleThreadMarker','from','change:activeMarker','commands','dataToMarker','_hasTargetInContent','ready','push','context','hasMarkerForId','isResolved','differ','refreshVisibility','6LOqbXv','init','openNewCommentThread','getRange','isThreadsLoadingPaused','_getTargetForId','name','affectsData','editing','markerToHighlight','getCommentThread','fromCharCode','_detachCommentThread','markers','change:isReadOnly','hasCommentThread','change:isThreadsLoadingPaused','newRange','addComment','destroyed','isOfficialPlugin','CommentsEditing','rootName','getWalker','destroy','ariaLiveAnnouncer','remove','getCommentThreads','removeCommentThread','359772Gccxlc','$textProxy','channelId','comment','getByInnerView','schema','2441180xGNaUk','1852704tOtiFo','isPremiumPlugin','comments','switchReadOnly','reconvertMarker','start','set','consume','getChangedMarkers','render','state','plugins','add','$graveyard','end','registerAnnotation','ignoreResolvedComments','addMarker:','startsWith','reopenCommentThread','18740PbHRtI','view','_threads','enqueueChange','conversion','low','_initializeMarkerConverters','consumable','scrollToThreadMarker','get','unlinkedAt','_handleMarkerAddAndRemove','_attachArchivedThread','187640IxULxR','filter','getAttribute','resolveCommentThread','markerToData','editor','change','comment:','markerName','96ZFxQbg','hasDomSelection','updateMarker','237738WbGniB','text','collaboration.channelId','getItems','ENTER_COMMENT_ANNOUNCEMENT','showCommentHighlights','first','createPositionBefore','focus','document','listenTo','substring','isAttached','45567LjJLCm','_getTextContext','editingDowncast','length','createRange','_handleInitialThreads','author','setContext','config','_attachMarkerToThread','map','attachTo','createElement','item','isSubmitted','join','forEach','_initAriaMarkerChangeAnnouncements','isEqual','afterInit','LEAVE_COMMENT_ANNOUNCEMENT','addCommentThread','size','fetchCommentThread','once','ck-comment-marker','announce','$marker','isCollapsed','model','then','registerPostFixer','removeMarker:'];_0x1ad3=function(){return _0x2e4289;};return _0x1ad3();}import{Plugin as _0x56ce3a}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0xef4c60,scrollViewportToShowTarget as _0x59127b,uid as _0x513c5c}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x152e59}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x3117ba}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x2df986,getAllMarkersDomElementsSorted as _0x3f87ba,FOCUS_ANNOTATION_KEYSTROKE as _0x35d111,Users as _0x58b6d7}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x2ea96b}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x39fb1e}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x219ae5}from'./integrations/importword.js';import{CommentsClipboard as _0x25b0bf}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x5e2414}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x99525c}from'../annotations/annotations.js';import{getTranslation as _0x173bb2}from'../utils/common-translations.js';import{splitMarkerName as _0x50a9fa}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x56ce3a{static get[_0xe062d7(0x10f)](){return[_0x152e59,_0x2ea96b,_0x58b6d7,_0x39fb1e,_0x219ae5,_0x25b0bf,_0x5e2414];}static get[_0xe062d7(0x10d)](){const _0x570e3d=_0xe062d7;return _0x570e3d(0x9f);}static get[_0xe062d7(0x9e)](){return!0x0;}static get[_0xe062d7(0xaf)](){return!0x0;}constructor(_0x2ec40a){const _0x2808a0=_0xe062d7;super(_0x2ec40a),this[_0x2808a0(0xb4)](_0x2808a0(0x8e),!0x0),_0x2ec40a[_0x2808a0(0x10a)][_0x2808a0(0x100)](_0x2808a0(0x83),()=>this[_0x2808a0(0x8e)]=!0x1),this[_0x2808a0(0xb4)](_0x2808a0(0x11e),null),this['on'](_0x2808a0(0x7f),(_0x29ceab,_0x36949b,_0x1d81a0,_0xf2901d)=>{const _0x5b0c1f=_0x2808a0,_0x137be7=_0x2ec40a[_0x5b0c1f(0xb9)][_0x5b0c1f(0xcb)](_0x152e59),_0x2b6e0e=_0x1d81a0?_0x50a9fa(_0x1d81a0)['id']:null;_0x2ec40a[_0x5b0c1f(0x105)][_0x5b0c1f(0xd5)](()=>{const _0x36cd1f=_0x5b0c1f;if(_0x2b6e0e){const _0x1c719e=this[_0x36cd1f(0x10c)](_0x2b6e0e);for(const _0x1e2aa1 of _0x1c719e)_0x2ec40a[_0x36cd1f(0x92)][_0x36cd1f(0xb2)](_0x1e2aa1);}if(_0xf2901d){const {id:_0x1ef697}=_0x50a9fa(_0xf2901d),_0x3f7b9e=_0x137be7[_0x36cd1f(0x94)](_0x1ef697);if(_0x3f7b9e&&_0x3f7b9e[_0x36cd1f(0xcc)])return;if(_0x3f7b9e&&!_0x3f7b9e[_0x36cd1f(0xe7)])return;const _0x60680d=this[_0x36cd1f(0x10c)](_0x1ef697);for(const _0x3a01e5 of _0x60680d)_0x2ec40a[_0x36cd1f(0x92)][_0x36cd1f(0xb2)](_0x3a01e5);}}),_0x2b6e0e&&this[_0x5b0c1f(0xca)](_0x2b6e0e);}),this[_0x2808a0(0xf9)]();}[_0xe062d7(0x8b)](){const _0x399d3c=_0xe062d7,_0x3b8574=this[_0x399d3c(0xd4)],_0x178a34=_0x3b8574[_0x399d3c(0xb9)][_0x399d3c(0xcb)](_0x152e59),_0x449f27=_0x3b8574[_0x399d3c(0xf0)][_0x399d3c(0xcb)](_0x399d3c(0xdd)),_0xab240b=_0x178a34[_0x399d3c(0xa5)]()[_0x399d3c(0xd0)](_0xc65a3f=>_0xc65a3f[_0x399d3c(0xa9)]!==_0x449f27);_0x3b8574[_0x399d3c(0x80)][_0x399d3c(0xba)](_0x399d3c(0xfd),new _0x3117ba(_0x3b8574)),this[_0x399d3c(0xe5)](_0x3b8574,_0x399d3c(0x98),(_0x16f284,_0x29ac48,_0x194064)=>{const _0x455486=_0x399d3c;_0x178a34[_0x455486(0xb1)](_0x194064,_0x3b8574[_0x455486(0xf0)][_0x455486(0xcb)](_0x455486(0xdd)));}),this[_0x399d3c(0xe5)](_0x178a34,dt(_0x399d3c(0xfd),_0x449f27),(_0x29ca16,{threadId:_0x48fb81})=>{const _0x598e8f=_0x399d3c,_0x5bea9f=this[_0x598e8f(0xd4)][_0x598e8f(0xb9)][_0x598e8f(0xcb)](_0x152e59)[_0x598e8f(0x94)](_0x48fb81);_0x5bea9f?.[_0x598e8f(0xcc)]&&this[_0x598e8f(0xce)](_0x48fb81);}),this[_0x399d3c(0xe5)](_0x178a34,dt(_0x399d3c(0xa6),_0x449f27),(_0x26b515,{threadId:_0x35c4fb})=>{const _0xfc0c97=_0x399d3c;_0x3b8574[_0xfc0c97(0x105)][_0xfc0c97(0xc5)]({'isUndoable':!0x1},_0x1bdd18=>{const _0x242f16=_0xfc0c97,_0x4c2849=this[_0x242f16(0x10c)](_0x35c4fb);for(const _0x37f5fe of _0x4c2849)_0x1bdd18[_0x242f16(0x114)](_0x37f5fe);});}),this[_0x399d3c(0xe5)](_0x178a34,dt(_0x399d3c(0xd2),_0x449f27),(_0x4ecd16,{threadId:_0x558451})=>{const _0x378b09=_0x399d3c;(this[_0x378b09(0x10e)](_0x558451),this[_0x378b09(0xd4)][_0x378b09(0x92)][_0x378b09(0xc3)][_0x378b09(0xd9)])&&(this[_0x378b09(0xd4)][_0x378b09(0xb9)][_0x378b09(0xcb)](_0x152e59)[_0x378b09(0x94)](_0x558451)[_0x378b09(0xcc)]||this[_0x378b09(0xd4)][_0x378b09(0x92)][_0x378b09(0xc3)][_0x378b09(0xe3)]());},{'priority':_0x399d3c(0xc7)}),this[_0x399d3c(0xe5)](_0x178a34,dt(_0x399d3c(0xc1),_0x449f27),(_0xd746f8,{threadId:_0x10ae18})=>{const _0x52f947=_0x399d3c;this[_0x52f947(0x10e)](_0x10ae18);},{'priority':_0x399d3c(0xc7)}),this[_0x399d3c(0xe5)](_0x178a34,dt(_0x399d3c(0x9c),_0x449f27),(_0x3fc781,{threadId:_0x586309,isFromAdapter:_0x26410b})=>{const _0x43f04e=_0x399d3c,_0x1f98ca=this[_0x43f04e(0x10c)](_0x586309);if(_0x26410b||0x0==_0x1f98ca[_0x43f04e(0xeb)]||!_0x178a34[_0x43f04e(0x99)](_0x586309))return;0x1===_0x178a34[_0x43f04e(0x94)](_0x586309)[_0x43f04e(0xeb)]&&_0x3b8574[_0x43f04e(0x105)][_0x43f04e(0xc5)]({'isUndoable':!0x1},_0x321cac=>{const _0x554742=_0x43f04e;for(const _0x222b34 of _0x1f98ca)_0x321cac[_0x554742(0xda)](_0x222b34,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x399d3c(0xc7)}),this[_0x399d3c(0xc8)](),this[_0x399d3c(0xcd)](),this[_0x399d3c(0xed)](_0xab240b);}[_0xe062d7(0xfb)](){!async function(_0x33c180){const _0x4aecfc=_0xf8f50f([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x4d7810=0x73460ab3,_0x261fdf=0x734170cb^_0x4d7810,_0x29e91e=window[_0xf8f50f([0x44,0x61,0x74,0x65])][_0xf8f50f([0x6e,0x6f,0x77])](),_0x171a3e=_0x33c180[_0xf8f50f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe60c83=new window[(_0xf8f50f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38e39a=>{_0x171a3e[_0xf8f50f([0x6f,0x6e,0x63,0x65])](_0xf8f50f([0x72,0x65,0x61,0x64,0x79]),_0x38e39a);}),_0x30625f={[_0xf8f50f([0x6b,0x74,0x79])]:_0xf8f50f([0x45,0x43]),[_0xf8f50f([0x75,0x73,0x65])]:_0xf8f50f([0x73,0x69,0x67]),[_0xf8f50f([0x63,0x72,0x76])]:_0xf8f50f([0x50,0x2d,0x32,0x35,0x36]),[_0xf8f50f([0x78])]:_0xf8f50f([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xf8f50f([0x79])]:_0xf8f50f([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xf8f50f([0x61,0x6c,0x67])]:_0xf8f50f([0x45,0x53,0x32,0x35,0x36])},_0x5c2cb7=_0x171a3e[_0xf8f50f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf8f50f([0x67,0x65,0x74])](_0xf8f50f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x843ec7(){let _0x4cc9c1,_0x531b5a=null,_0x4cc44a=null;try{if(_0x5c2cb7==_0xf8f50f([0x47,0x50,0x4c]))return _0xf8f50f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4cc9c1=_0x4f159a(),!_0x4cc9c1)return _0xf8f50f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4cc9c1[_0xf8f50f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4cc44a=_0x1fe644(_0x4cc9c1[_0xf8f50f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4cc9c1[_0xf8f50f([0x6a,0x74,0x69])])),await _0x7438b0()?_0x54fd4c()?_0x53290a()?_0xf8f50f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35db9f()?(_0x4cc9c1[_0xf8f50f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf8f50f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x531b5a=_0x3186d2(_0xf8f50f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4cc9c1[_0xf8f50f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf8f50f([0x74,0x72,0x69,0x61,0x6c])&&(_0x531b5a=_0x3186d2(_0xf8f50f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5bcab0()):_0xf8f50f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf8f50f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf8f50f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf8f50f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53290a(){const _0x46d7ff=[_0xf8f50f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf8f50f([0x74,0x72,0x69,0x61,0x6c])][_0xf8f50f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cc9c1[_0xf8f50f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x29e91e/0x3e8:0xe10*_0x261fdf;return _0x4cc9c1[_0xf8f50f([0x65,0x78,0x70])]<_0x46d7ff;}function _0x54fd4c(){const _0x57594e=_0x4cc9c1[_0xf8f50f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x57594e)return!0x1;if(_0x57594e[_0xf8f50f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf8f50f([0x2a])))return!0x0;if(_0x57594e[_0xf8f50f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf8f50f([0x43,0x4d,0x54])))return!0x0;if(_0x57594e[_0xf8f50f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf8f50f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x364b14())return!0x0;if(_0x57594e[_0xf8f50f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf8f50f([0x52,0x43,0x4d,0x54]))){if(_0x57e05c())return!0x0;if(_0x2cb557()||_0x27bc85())return!0x0;}return!0x1;}function _0x35db9f(){const _0x1c5678=_0x14ed,_0x478c3f=_0x4cc9c1[_0xf8f50f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x478c3f||0x0==_0x478c3f[_0xf8f50f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x423afa}=new URL(window[_0xf8f50f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1c5678(0x11f)]);if(_0x478c3f[_0xf8f50f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x423afa))return!0x0;const _0x17653d=_0x423afa[_0xf8f50f([0x73,0x70,0x6c,0x69,0x74])](_0xf8f50f([0x2e]));return _0x478c3f[_0xf8f50f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a1658=>_0x5a1658[_0xf8f50f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf8f50f([0x2a])))[_0xf8f50f([0x6d,0x61,0x70])](_0x510306=>_0x510306[_0xf8f50f([0x73,0x70,0x6c,0x69,0x74])](_0xf8f50f([0x2e])))[_0xf8f50f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x88bba2=>_0x88bba2[_0xf8f50f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x17653d[_0xf8f50f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf8f50f([0x6d,0x61,0x70])](_0x11badf=>Array(_0x17653d[_0xf8f50f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11badf[_0xf8f50f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf8f50f([0x66,0x69,0x6c,0x6c])](_0x11badf[0x0]===_0xf8f50f([0x2a])?_0xf8f50f([0x2a]):'')[_0xf8f50f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11badf))[_0xf8f50f([0x73,0x6f,0x6d,0x65])](_0x4ee669=>_0x17653d[_0xf8f50f([0x65,0x76,0x65,0x72,0x79])]((_0x58ac08,_0x3a831e)=>_0x4ee669[_0x3a831e]===_0x58ac08||_0x4ee669[_0x3a831e]===_0xf8f50f([0x2a])));}function _0x5bcab0(){return _0x531b5a&&_0x4cc44a?new window[(_0xf8f50f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9c3f2a,_0x5aaa12)=>{_0x531b5a[_0xf8f50f([0x74,0x68,0x65,0x6e])](_0x9c3f2a,_0x5aaa12),_0x4cc44a[_0xf8f50f([0x74,0x68,0x65,0x6e])](_0x15eca9=>{_0x15eca9!=_0xf8f50f([0x56,0x61,0x6c,0x69,0x64])&&_0x9c3f2a(_0x15eca9);},_0x5aaa12);}):_0x531b5a||_0x4cc44a||_0xf8f50f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1fe644(_0x458ffd,_0x34a2d6){return new window[(_0xf8f50f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2139a0=>{if(_0x19aee1())return _0x2139a0(_0xf8f50f([0x56,0x61,0x6c,0x69,0x64]));_0x547c3e(),_0x171a3e[_0xf8f50f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf8f50f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x112932=!0x1;const _0x8956d=_0x513c5c();function _0x3b4b44(_0x3b981f){return!!_0x3b981f&&(typeof _0x3b981f===_0xf8f50f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b981f===_0xf8f50f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b981f[_0xf8f50f([0x74,0x68,0x65,0x6e])]===_0xf8f50f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b981f[_0xf8f50f([0x63,0x61,0x74,0x63,0x68])]===_0xf8f50f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf177bd(_0x1d9f04){_0xfdafd1(_0x1d9f04)[_0xf8f50f([0x74,0x68,0x65,0x6e])](_0x18bddb=>{if(!_0x18bddb||_0x18bddb[_0xf8f50f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf8f50f([0x6f,0x6b]))return _0xf8f50f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d657b(_0x29d7a1(_0x8956d+_0x34a2d6))!=_0x18bddb[_0xf8f50f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf8f50f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf8f50f([0x56,0x61,0x6c,0x69,0x64]);})[_0xf8f50f([0x74,0x68,0x65,0x6e])](_0x40ad14=>(_0x10e90e(),_0x40ad14),()=>{const _0x2a5152=_0x54df83();return null==_0x2a5152?(_0x10e90e(),_0xf8f50f([0x56,0x61,0x6c,0x69,0x64])):_0xf8f50f(_0x29e91e-_0x2a5152>(0x574a8eb3^_0x4d7810)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf8f50f([0x74,0x68,0x65,0x6e])](_0x2139a0)[_0xf8f50f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2139a0(_0xf8f50f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x47d323=0x7370e433^_0x4d7810;function _0x10e90e(){const _0x29ccad=_0xf8f50f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d657b(_0x29d7a1(_0x458ffd)),_0x1291d3=_0x4af875(_0x1d657b(window[_0xf8f50f([0x4d,0x61,0x74,0x68])][_0xf8f50f([0x63,0x65,0x69,0x6c])](_0x29e91e/_0x47d323)));window[_0xf8f50f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf8f50f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29ccad,_0x1291d3);}function _0x54df83(){const _0x18ce15=_0xf8f50f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d657b(_0x29d7a1(_0x458ffd)),_0x196b98=window[_0xf8f50f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf8f50f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18ce15);return _0x196b98?window[_0xf8f50f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4af875(_0x196b98),0x10)*_0x47d323:null;}function _0xfdafd1(_0x2813fe){return new window[(_0xf8f50f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b794f,_0x1e06e3)=>{_0x2813fe[_0xf8f50f([0x74,0x68,0x65,0x6e])](_0x1b794f,_0x1e06e3),window[_0xf8f50f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e06e3,0x7347de73^_0x4d7810);});}}_0x171a3e[_0xf8f50f([0x6f,0x6e])](_0xf8f50f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9d24f4,_0x4e1144)=>{if(_0x4e1144[0x0]!=_0x458ffd)return _0x2139a0(_0xf8f50f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e1144[0x1]={..._0x4e1144[0x1],[_0xf8f50f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x8956d};},{[_0xf8f50f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf8f50f([0x68,0x69,0x67,0x68])}),_0x171a3e[_0xf8f50f([0x6f,0x6e])](_0xf8f50f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x557e6f=>{_0x3b4b44(_0x557e6f[_0xf8f50f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x112932=!0x0,_0xf177bd(_0x557e6f[_0xf8f50f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf8f50f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf8f50f([0x6c,0x6f,0x77])}),_0xe60c83[_0xf8f50f([0x74,0x68,0x65,0x6e])](()=>{_0x112932||_0x2139a0(_0xf8f50f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19aee1(){return _0x171a3e[_0xf8f50f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf8f50f([0x76,0x69,0x65,0x77])][_0xf8f50f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf8f50f([0x61,0x75,0x74,0x6f]);}function _0x547c3e(){_0x171a3e[_0xf8f50f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf8f50f([0x76,0x69,0x65,0x77])][_0xf8f50f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf8f50f([0x61,0x75,0x74,0x6f]);}}function _0x3186d2(_0x33c75c){const _0x6cbd48=[new window[(_0xf8f50f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a8426=>setTimeout(_0x1a8426,0x734f347f^_0x4d7810)),_0xe60c83[_0xf8f50f([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf8f50f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ff916=>{let _0x2270ee=0x0;_0x171a3e[_0xf8f50f([0x6d,0x6f,0x64,0x65,0x6c])][_0xf8f50f([0x6f,0x6e])](_0xf8f50f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x30d3c4,_0x12fb7f)=>{_0x12fb7f[0x0][_0xf8f50f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2270ee++,_0x2270ee==(0x73460b4b^_0x4d7810)&&(_0x2ff916(),_0x30d3c4[_0xf8f50f([0x6f,0x66,0x66])]());});}))];return window[_0xf8f50f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf8f50f([0x72,0x61,0x63,0x65])](_0x6cbd48)[_0xf8f50f([0x74,0x68,0x65,0x6e])](()=>_0x33c75c);}async function _0x19e93d(){await _0xe60c83,_0x171a3e[_0xf8f50f([0x6d,0x6f,0x64,0x65,0x6c])][_0xf8f50f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x31f1f1,_0x171a3e[_0xf8f50f([0x6d,0x6f,0x64,0x65,0x6c])][_0xf8f50f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x31f1f1,_0x171a3e[_0xf8f50f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf8f50f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x364b14(){return window[_0xf8f50f([0x67,0x6c,0x6f,0x62])]&&window[_0xf8f50f([0x67,0x6c,0x6f,0x62])][_0xf8f50f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x57e05c(){return _0x41dcc1(_0xf8f50f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x58d42c(_0xf8f50f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xf8f50f([0x73,0x74,0x61,0x74,0x65])]==_0xf8f50f([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x2cb557(){return _0x41dcc1(_0xf8f50f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x27bc85(){return _0x41dcc1(_0xf8f50f([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x3e4f76(_0x1b0310){const _0x53d809=_0x3850d7();_0x171a3e[_0x53d809]=_0xf8f50f([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1b0310,_0x1b0310!=_0xf8f50f([0x56,0x61,0x6c,0x69,0x64])&&_0x19e93d();}function _0x3850d7(){const _0x3b36ac=window[_0xf8f50f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf8f50f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf8f50f([0x6e,0x6f,0x77])]())[_0xf8f50f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf8f50f([0x2e]),'');let _0x4c7c2f=_0xf8f50f([0x4b]);for(let _0x5f0526=0x0;_0x5f0526<_0x3b36ac[_0xf8f50f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f0526+=0x2){let _0x16665c=window[_0xf8f50f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b36ac[_0xf8f50f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f0526,_0x5f0526+0x2));_0x16665c>=_0x4aecfc[_0xf8f50f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16665c-=_0x4aecfc[_0xf8f50f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c7c2f+=_0x4aecfc[_0x16665c];}return _0x4c7c2f;}function _0x4f159a(){const _0x293870=_0x5c2cb7[_0xf8f50f([0x73,0x70,0x6c,0x69,0x74])](_0xf8f50f([0x2e]));if(0x3!=_0x293870[_0xf8f50f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x22629c(_0x293870[0x1]);function _0x22629c(_0xcfa5fb){const _0xa2376d=_0x4a0cff(_0xcfa5fb);return _0xa2376d&&_0x174417()?_0xa2376d:null;function _0x174417(){const _0x2b314d=_0xa2376d[_0xf8f50f([0x6a,0x74,0x69])],_0x4e258c=window[_0xf8f50f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b314d[_0xf8f50f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b314d[_0xf8f50f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18a54e={..._0xa2376d,[_0xf8f50f([0x6a,0x74,0x69])]:_0x2b314d[_0xf8f50f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b314d[_0xf8f50f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18a54e[_0xf8f50f([0x76,0x63])],_0x29d7a1(_0x18a54e)==_0x4e258c;}}}async function _0x7438b0(){let _0x2ebf31=!0x0;try{const _0x5aa9b8=_0x5c2cb7[_0xf8f50f([0x73,0x70,0x6c,0x69,0x74])](_0xf8f50f([0x2e])),[_0x4dbea3,_0x34155f,_0x41b588]=_0x5aa9b8;return _0x423ff4(_0x4dbea3),await _0x47d0ae(_0x4dbea3,_0x34155f,_0x41b588),_0x2ebf31;}catch{return!0x1;}function _0x423ff4(_0x54d7c1){const _0x4c94ce=_0x4a0cff(_0x54d7c1);_0x4c94ce&&_0x4c94ce[_0xf8f50f([0x61,0x6c,0x67])]==_0xf8f50f([0x45,0x53,0x32,0x35,0x36])||(_0x2ebf31=!0x1);}async function _0x47d0ae(_0xed75fa,_0x3faa0a,_0x3e36c7){const _0x33fe71=window[_0xf8f50f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf8f50f([0x66,0x72,0x6f,0x6d])](_0x4b68b9(_0x3e36c7),_0x63612=>_0x63612[_0xf8f50f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43b410=new window[(_0xf8f50f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf8f50f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xed75fa+_0xf8f50f([0x2e])+_0x3faa0a),_0x38c65e=window[_0xf8f50f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf8f50f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x38c65e)return;const _0x2e493d=await _0x38c65e[_0xf8f50f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf8f50f([0x6a,0x77,0x6b]),_0x30625f,{[_0xf8f50f([0x6e,0x61,0x6d,0x65])]:_0xf8f50f([0x45,0x43,0x44,0x53,0x41]),[_0xf8f50f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf8f50f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf8f50f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x38c65e[_0xf8f50f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf8f50f([0x6e,0x61,0x6d,0x65])]:_0xf8f50f([0x45,0x43,0x44,0x53,0x41]),[_0xf8f50f([0x68,0x61,0x73,0x68])]:{[_0xf8f50f([0x6e,0x61,0x6d,0x65])]:_0xf8f50f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e493d,_0x33fe71,_0x43b410)||(_0x2ebf31=!0x1);}}function _0x4a0cff(_0x5f2f8d){return _0x5f2f8d[_0xf8f50f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf8f50f([0x65,0x79]))?JSON[_0xf8f50f([0x70,0x61,0x72,0x73,0x65])](_0x4b68b9(_0x5f2f8d)):null;}function _0x4b68b9(_0x2affe6){return window[_0xf8f50f([0x61,0x74,0x6f,0x62])](_0x2affe6[_0xf8f50f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf8f50f([0x2b]))[_0xf8f50f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf8f50f([0x2f])));}function _0x29d7a1(_0x27a299){let _0x215782=0x1505;function _0x46dfa4(_0x55a930){for(let _0x27f257=0x0;_0x27f257<_0x55a930[_0xf8f50f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27f257++){const _0x4f94e6=_0x55a930[_0xf8f50f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27f257);_0x215782=(_0x215782<<0x5)+_0x215782+_0x4f94e6,_0x215782&=_0x215782;}}function _0x2d1479(_0x264bc9){Array[_0xf8f50f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x264bc9)?_0x264bc9[_0xf8f50f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d1479):_0x264bc9&&typeof _0x264bc9==_0xf8f50f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf8f50f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x264bc9)[_0xf8f50f([0x73,0x6f,0x72,0x74])]()[_0xf8f50f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51f0e2,_0x24de80])=>{_0x46dfa4(_0x51f0e2),_0x2d1479(_0x24de80);}):_0x46dfa4(window[_0xf8f50f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x264bc9));}return _0x2d1479(_0x27a299),_0x215782>>>0x0;}function _0x1d657b(_0x282eba){return _0x282eba[_0xf8f50f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf8f50f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf8f50f([0x30]));}function _0x4af875(_0x74f563){return _0x74f563[_0xf8f50f([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf8f50f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf8f50f([0x6a,0x6f,0x69,0x6e])]('');}function _0x41dcc1(_0xab7e06){return _0x171a3e[_0xf8f50f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xf8f50f([0x68,0x61,0x73])](_0xab7e06);}function _0x58d42c(_0x121572){return _0x171a3e[_0xf8f50f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xf8f50f([0x67,0x65,0x74])](_0x121572);}function _0x31f1f1(){}function _0xf8f50f(_0x1ebff9){const _0x4658bc=_0x14ed;return _0x1ebff9[_0x4658bc(0xf2)](_0x20a7d9=>String[_0x4658bc(0x95)](_0x20a7d9))[_0x4658bc(0xf7)]('');}_0x3e4f76(await _0x843ec7());}(this);}[_0xe062d7(0xa2)](){const _0x2368d9=_0xe062d7,_0x510d00=this[_0x2368d9(0xd4)][_0x2368d9(0xb9)][_0x2368d9(0xcb)](_0x152e59),_0x4a25ee=this[_0x2368d9(0xd4)][_0x2368d9(0xf0)][_0x2368d9(0xcb)](_0x2368d9(0xdd));for(const _0x259001 of _0x510d00[_0x2368d9(0xa5)]({'channelId':_0x4a25ee}))_0x510d00[_0x2368d9(0x96)](_0x259001['id']),_0x510d00[_0x2368d9(0xc4)][_0x2368d9(0x10b)](_0x259001['id']);super[_0x2368d9(0xa2)]();}[_0xe062d7(0x86)](_0x1304d2){const _0x566b93=_0xe062d7;return this[_0x566b93(0x10c)](_0x1304d2)[_0x566b93(0xeb)]>0x0;}[_0xe062d7(0x10c)](_0x360959){const _0x37af78=_0xe062d7,_0x4416d6=[];for(const _0x1eb3ff of this[_0x37af78(0xd4)][_0x37af78(0x105)][_0x37af78(0x97)])_0x1eb3ff[_0x37af78(0x90)][_0x37af78(0xc0)](_0x37af78(0xd6)+_0x360959)&&_0x4416d6[_0x37af78(0x84)](_0x1eb3ff);return _0x4416d6;}[_0xe062d7(0xca)](_0x53ed88){setTimeout(()=>{const _0x505199=_0x14ed,_0x493093=this[_0x505199(0x8f)](_0x53ed88);if(!_0x493093)return;this[_0x505199(0x11e)]&&_0x50a9fa(this[_0x505199(0x11e)])['id']===_0x53ed88&&_0x59127b({'target':_0x493093[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0xe062d7(0x10e)](_0x20ef82){const _0x3e1d2d=_0xe062d7;this[_0x3e1d2d(0xd4)][_0x3e1d2d(0x105)][_0x3e1d2d(0xd5)](()=>{const _0x441ea9=_0x3e1d2d;for(const _0x1089a1 of this[_0x441ea9(0x10c)](_0x20ef82))this[_0x441ea9(0xd4)][_0x441ea9(0x92)][_0x441ea9(0xb2)](_0x1089a1);});}[_0xe062d7(0xce)](_0x46e1f7){const _0x145591=_0xe062d7,_0x3f66bb=this[_0x145591(0xd4)][_0x145591(0xb9)][_0x145591(0xcb)](_0x152e59),_0xd6b7f5=this[_0x145591(0xd4)][_0x145591(0xb9)][_0x145591(0xcb)](_0x2ea96b),_0x7b0a95=_0x3f66bb[_0x145591(0x94)](_0x46e1f7);if(!_0x7b0a95[_0x145591(0xe7)]){const _0x12cc29=_0x7b0a95[_0x145591(0xf3)](()=>this[_0x145591(0x8f)](_0x7b0a95['id']));_0xd6b7f5[_0x145591(0xbd)](_0x12cc29),_0x7b0a95[_0x145591(0x82)]=!0x1;}}[_0xe062d7(0xc8)](){const _0x585381=_0xe062d7,_0x219df3=this[_0x585381(0xd4)],_0x7a4e82=_0x219df3[_0x585381(0xb9)][_0x585381(0xcb)](_0x58b6d7);_0x219df3[_0x585381(0xc6)][_0x585381(0x116)](_0x585381(0xea))[_0x585381(0x93)]({'model':_0x585381(0xaa),'view':(_0x559635,_0x2dd9c9)=>{const _0x403d17=_0x585381,{id:_0x3caafb}=_0x50a9fa(_0x559635[_0x403d17(0xd7)]),_0xcc4ed6=_0x219df3[_0x403d17(0xb9)][_0x403d17(0xcb)](_0x152e59)[_0x403d17(0x94)](_0x3caafb),_0x2378da=this[_0x403d17(0x11e)]&&_0x50a9fa(this[_0x403d17(0x11e)])['id']===_0x3caafb;let _0x403afe;if(_0xcc4ed6&&_0xcc4ed6[_0x403d17(0x87)]&&!_0x2378da&&_0x559635[_0x403d17(0xf5)])return _0x2dd9c9[_0x403d17(0xc9)][_0x403d17(0xb5)](_0x559635[_0x403d17(0xf5)],_0x403d17(0xbf)+_0x559635[_0x403d17(0xd7)]),_0x2dd9c9[_0x403d17(0xc9)][_0x403d17(0xb5)](_0x559635[_0x403d17(0xf5)],_0x403d17(0x108)+_0x559635[_0x403d17(0xd7)]),null;const _0x5b3203=[_0x403d17(0x101)];return _0x2378da&&_0x5b3203[_0x403d17(0x84)](_0x403d17(0x118)),_0x403afe=_0xcc4ed6?.[_0x403d17(0xeb)]?_0xcc4ed6[_0x403d17(0xb0)][_0x403d17(0xe1)][_0x403d17(0xee)]['id']:_0x7a4e82['me']['id'],{'classes':_0x5b3203,'attributes':{'data-comment':_0x3caafb,'data-author-id':_0x403afe}};}}),_0x219df3[_0x585381(0xc6)][_0x585381(0x116)](_0x585381(0x111))[_0x585381(0xd3)]({'model':_0x585381(0xaa),'view':(_0x1b45d4,{options:_0x22e965})=>{const _0x4ec651=_0x585381;if(_0x22e965[_0x4ec651(0xe0)])return null;const _0x4e3a74=_0x219df3[_0x4ec651(0xb9)][_0x4ec651(0xcb)](_0x152e59),_0x5f1105=_0x219df3[_0x4ec651(0x105)][_0x4ec651(0x97)][_0x4ec651(0xcb)](_0x1b45d4),{id:_0x57da25,part:_0x516c5c}=_0x50a9fa(_0x1b45d4);return _0x5f1105&&!_0x5f1105[_0x4ec651(0x91)]||_0x22e965[_0x4ec651(0xbe)]&&_0x4e3a74[_0x4ec651(0x94)](_0x57da25)?.[_0x4ec651(0x87)]?null:{'group':_0x4ec651(0xaa),'name':_0x516c5c?_0x57da25+':'+_0x516c5c:_0x57da25};}}),_0x219df3[_0x585381(0xc6)][_0x585381(0x116)](_0x585381(0x113))[_0x585381(0x112)]({'view':{'name':_0x585381(0xaa),'attributes':{'id':/^\w/}},'model':(_0x5a1a6e,{writer:_0x120ad8})=>_0x120ad8[_0x585381(0xf4)](_0x585381(0x103),{'data-name':_0x585381(0xd6)+_0x5a1a6e[_0x585381(0xd1)]('id')})}),_0x219df3[_0x585381(0xc6)][_0x585381(0x116)](_0x585381(0x113))[_0x585381(0x81)]({'view':_0x585381(0xaa)});}[_0xe062d7(0xcd)](){const _0x183b1a=_0xe062d7,_0x3bcf5b=this[_0x183b1a(0xd4)],_0x335eb7=_0x3bcf5b[_0x183b1a(0xb9)][_0x183b1a(0xcb)](_0x152e59),_0x5dab74=new Set(),_0x3d3774=new Set();_0x3bcf5b[_0x183b1a(0x105)][_0x183b1a(0xe4)][_0x183b1a(0x107)](_0x496749=>{const _0x398a93=_0x183b1a;let _0x4b8144=!0x1;for(const {name:_0x56cd1f,data:_0x3d6c34}of _0x3bcf5b[_0x398a93(0x105)][_0x398a93(0xe4)][_0x398a93(0x88)][_0x398a93(0xb6)]()){const {group:_0x1f566d,id:_0x2180e5}=_0x50a9fa(_0x56cd1f);let _0x4ec0fc=_0x3d6c34[_0x398a93(0x9b)];if(_0x398a93(0xaa)!==_0x1f566d||!_0x4ec0fc)continue;const _0x352e32=_0x398a93(0xbb)===_0x4ec0fc[_0x398a93(0x11a)][_0x398a93(0xa0)];_0x352e32||(_0x4ec0fc=ht(_0x4ec0fc,_0x3bcf5b[_0x398a93(0x105)]),!_0x4ec0fc||_0x4ec0fc[_0x398a93(0x104)]||!_0x3d6c34[_0x398a93(0x9b)]||_0x4ec0fc[_0x398a93(0xfa)](_0x3d6c34[_0x398a93(0x9b)]))?_0x3bcf5b[_0x398a93(0x105)][_0x398a93(0x115)](_0x4ec0fc)&&!_0x352e32?this[_0x398a93(0x8e)]?_0x5dab74[_0x398a93(0xba)](_0x56cd1f):this[_0x398a93(0x121)](_0x56cd1f,_0x2180e5):(_0x3d3774[_0x398a93(0xba)](_0x56cd1f),_0x5dab74[_0x398a93(0x10b)](_0x56cd1f),_0x496749[_0x398a93(0x114)](_0x56cd1f),_0x4b8144=!0x0):(_0x496749[_0x398a93(0xda)](_0x56cd1f,{'range':_0x4ec0fc}),_0x4b8144=!0x0);}return _0x4b8144;}),this['on'](_0x183b1a(0x9a),(_0x8b9f71,_0x4017e2,_0x3a02b9)=>{const _0x13aac6=_0x183b1a;if(!_0x3a02b9&&_0x5dab74[_0x13aac6(0xfe)])for(const _0x47b1ea of _0x5dab74){const {id:_0x52d385}=_0x50a9fa(_0x47b1ea);_0x5dab74[_0x13aac6(0x10b)](_0x47b1ea),_0x3bcf5b[_0x13aac6(0x105)][_0x13aac6(0x97)][_0x13aac6(0xcb)](_0x47b1ea)&&this[_0x13aac6(0x121)](_0x47b1ea,_0x52d385);}}),this[_0x183b1a(0xe5)](_0x3bcf5b[_0x183b1a(0x105)][_0x183b1a(0xe4)],_0x183b1a(0xd5),()=>{const _0x50b4c9=_0x183b1a;for(const {name:_0x5eb2ef,data:{newRange:_0x447044}}of _0x3bcf5b[_0x50b4c9(0x105)][_0x50b4c9(0xe4)][_0x50b4c9(0x88)][_0x50b4c9(0xb6)]()){const {group:_0x55a62c,id:_0x3de9e4}=_0x50a9fa(_0x5eb2ef);if(_0x50b4c9(0xaa)!==_0x55a62c)continue;const _0x55dc08=_0x335eb7[_0x50b4c9(0x94)](_0x3de9e4),_0x51afe7=this[_0x50b4c9(0x86)](_0x3de9e4);_0x55dc08&&(!_0x55dc08[_0x50b4c9(0x82)]&&_0x447044&&_0x3bcf5b[_0x50b4c9(0x92)][_0x50b4c9(0xc3)][_0x50b4c9(0x100)](_0x50b4c9(0xb7),()=>{const _0x480442=_0x50b4c9,_0x22df4d=_0x3bcf5b[_0x480442(0xb9)][_0x480442(0xcb)](_0x99525c),_0x159533=_0x335eb7[_0x480442(0x11b)][_0x480442(0xcb)](_0x55dc08)[_0x480442(0xc3)];_0x22df4d[_0x480442(0xab)](_0x159533)[_0x480442(0x89)]();},{'priority':_0x50b4c9(0xc7)}),_0x55dc08[_0x50b4c9(0x82)]=_0x51afe7||!!_0x447044),_0x447044||(_0x3d3774[_0x50b4c9(0xba)](_0x5eb2ef),_0x5dab74[_0x50b4c9(0x10b)](_0x5eb2ef));}for(const _0x3051d5 of _0x3d3774){const {id:_0x49796f}=_0x50a9fa(_0x3051d5),_0xc2ec55=_0x335eb7[_0x50b4c9(0x94)](_0x49796f);if(_0x5dab74[_0x50b4c9(0x10b)](_0x3051d5),!_0xc2ec55)continue;const _0x2c01f3=this[_0x50b4c9(0x86)](_0x49796f);_0x2c01f3||_0xc2ec55[_0x50b4c9(0xf6)]?_0x2c01f3||_0xc2ec55[_0x50b4c9(0xcc)]||_0xc2ec55[_0x50b4c9(0x11d)](new Date()):_0xc2ec55[_0x50b4c9(0xa4)]();}_0x3d3774[_0x50b4c9(0x117)]();});}[_0xe062d7(0xed)](_0x122313){const _0x8804ef=_0xe062d7;_0x122313[_0x8804ef(0xf8)](_0x4d61d4=>{const _0x5dc06e=_0x8804ef;_0x4d61d4[_0x5dc06e(0xcc)]&&this[_0x5dc06e(0xce)](_0x4d61d4['id']);});}[_0xe062d7(0x8f)](_0x535ca0){const _0x40c052=_0xe062d7,_0x16f1fe=this[_0x40c052(0xd4)],_0x30ece5=this[_0x40c052(0x10c)](_0x535ca0);return _0x3f87ba(_0x16f1fe[_0x40c052(0x92)],_0x30ece5);}[_0xe062d7(0xe9)](_0x6242d){const _0x30f493=_0xe062d7,_0x362559=this[_0x30f493(0x10c)](_0x6242d);let _0x5331ac='',_0x36e081=!0x1;for(const _0x23ddac of _0x362559){const _0x5e1f44=_0x23ddac[_0x30f493(0x8d)]();for(const _0x5798b6 of Array[_0x30f493(0x122)](_0x5e1f44[_0x30f493(0xde)]()))_0x5798b6['is'](_0x30f493(0xa8))?(_0x5331ac&&_0x36e081&&(_0x5331ac+='\x20',_0x36e081=!0x1),_0x5331ac+=_0x5798b6[_0x30f493(0x10a)]):_0x36e081=!0x0;_0x36e081=!0x0;}return _0x5331ac[_0x30f493(0xe6)](0x0,0x96);}[_0xe062d7(0xf1)](_0x363464,_0x20eb82){const _0x14480a=_0xe062d7,_0x55a09b=this[_0x14480a(0xd4)],_0x1a428a=_0x55a09b[_0x14480a(0xb9)][_0x14480a(0xcb)](_0x152e59);let _0x2a1292=_0x1a428a[_0x14480a(0x94)](_0x20eb82);const _0x409c53=_0x55a09b[_0x14480a(0xf0)][_0x14480a(0xcb)](_0x14480a(0xdd)),_0xd3417a=_0x55a09b[_0x14480a(0xb9)][_0x14480a(0xcb)](_0x2ea96b);if(_0x2a1292&&(_0x2a1292[_0x14480a(0xcc)]&&_0x2a1292[_0x14480a(0x11d)](null),_0x2a1292[_0x14480a(0xe7)]))return _0x2a1292;return!this[_0x14480a(0x10c)](_0x20eb82)[0x0][_0x14480a(0x11c)]?_0x55a09b[_0x14480a(0x92)][_0x14480a(0xc3)][_0x14480a(0x100)](_0x14480a(0xb7),()=>{const _0x329656=_0x14480a;if(_0x1a428a[_0x329656(0x94)](_0x20eb82))return;const _0x3d83af=_0x55a09b[_0x329656(0xb9)][_0x329656(0xcb)](_0x99525c);_0x2a1292=_0x1a428a[_0x329656(0x8c)]({'channelId':_0x409c53,'threadId':_0x20eb82,'target':()=>this[_0x329656(0x8f)](_0x20eb82),'context':{'type':_0x329656(0xdc),'value':this[_0x329656(0xe9)](_0x20eb82)}});const _0x2dd213=_0x1a428a[_0x329656(0x11b)][_0x329656(0xcb)](_0x2a1292)[_0x329656(0xc3)],_0x550870=_0x3d83af[_0x329656(0xab)](_0x2dd213);_0x550870&&_0xd3417a[_0x329656(0xbd)](_0x550870);},{'priority':_0x14480a(0xc7)}):_0x1a428a[_0x14480a(0xff)]({'channelId':_0x409c53,'threadId':_0x20eb82})[_0x14480a(0x106)](_0x56d915=>{const _0xae6e27=_0x14480a;if(_0xae6e27(0x9d)!==_0x55a09b[_0xae6e27(0xb8)]){if(_0x2a1292=_0x56d915,_0x2a1292&&!_0x2a1292[_0xae6e27(0xe7)]){const _0x3984c7=_0x2a1292[_0xae6e27(0xf3)](()=>this[_0xae6e27(0x8f)](_0x20eb82));_0xd3417a[_0xae6e27(0xbd)](_0x3984c7),_0x2a1292[_0xae6e27(0x87)]&&this[_0xae6e27(0x10e)](_0x20eb82);}else{if(!_0x2a1292){const _0x411cfb=this[_0xae6e27(0x10c)](_0x20eb82);_0x55a09b[_0xae6e27(0x105)][_0xae6e27(0xd5)](_0x573610=>{const _0x34bcbf=_0xae6e27;for(const _0x61fb15 of _0x411cfb)_0x573610[_0x34bcbf(0x114)](_0x61fb15);});}}}}),_0x2a1292;}[_0xe062d7(0x121)](_0x375484,_0x2a0568){const _0x4215b9=_0xe062d7,_0xc4360a=this[_0x4215b9(0xf1)](_0x375484,_0x2a0568);_0xc4360a&&!_0xc4360a[_0x4215b9(0x85)]&&_0xc4360a[_0x4215b9(0xef)]({'type':_0x4215b9(0xdc),'value':this[_0x4215b9(0xe9)](_0x2a0568)});}[_0xe062d7(0xf9)](){const _0x478f82=_0xe062d7,_0x4c5676=this[_0x478f82(0xd4)];_0x2df986(_0x4c5676[_0x478f82(0x105)],({left:_0xbee6f6,entered:_0x1d9882})=>{const _0x51e8e7=_0x478f82;for(const _0x3f616a of _0xbee6f6)if(mt(_0x3f616a)){_0x4c5676['ui'][_0x51e8e7(0xa3)][_0x51e8e7(0x102)](_0x173bb2(_0x4c5676[_0x51e8e7(0x109)],_0x51e8e7(0xfc)));break;}for(const _0xba667a of _0x1d9882)if(mt(_0xba667a)){_0x4c5676['ui'][_0x51e8e7(0xa3)][_0x51e8e7(0x102)](_0x173bb2(_0x4c5676[_0x51e8e7(0x109)],_0x51e8e7(0xdf),_0xef4c60(_0x35d111)));break;}});}}function dt(_0x26a30c,_0x1ca5e1){return _0x1ca5e1?_0x26a30c+':'+_0x1ca5e1:_0x26a30c;}function _0x14ed(_0x1b1607,_0x356adf){const _0x1ad394=_0x1ad3();return _0x14ed=function(_0x14ed08,_0x1e5b36){_0x14ed08=_0x14ed08-0x7f;let _0x1b36f1=_0x1ad394[_0x14ed08];return _0x1b36f1;},_0x14ed(_0x1b1607,_0x356adf);}function ht(_0x18663c,_0x4c09ba){const _0x3bc946=_0xe062d7,_0x56c1ea=_0x4c09ba[_0x3bc946(0xac)],_0x11a8dc=_0x4c09ba[_0x3bc946(0xec)](_0x18663c[_0x3bc946(0xb3)]);for(const _0x4d9271 of _0x18663c[_0x3bc946(0xa1)]()){const {type:_0x583ef6,item:_0x511a00,nextPosition:_0x12f695}=_0x4d9271;if(_0x3bc946(0xdc)===_0x583ef6||_0x56c1ea[_0x3bc946(0x110)](_0x511a00)){const _0x52cbf5=_0x4c09ba[_0x3bc946(0xe2)](_0x511a00);_0x11a8dc[_0x3bc946(0x104)]&&(_0x11a8dc[_0x3bc946(0xb3)]=_0x52cbf5),_0x11a8dc[_0x3bc946(0xbc)]=_0x12f695;}}return _0x11a8dc;}function mt(_0xa9a02b){const _0x264269=_0xe062d7;return _0x264269(0xaa)===_0x50a9fa(_0xa9a02b[_0x264269(0x90)])[_0x264269(0x119)];}
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf607(){const _0x54e2e8=['_threadToController','_addCommentThread','toJSON','stopListening','set','_attachCommentThread','isDirty','resolvedAt','commentsrepository-active-not-attached','removeComment','resolveCommentThread','isResolvable','author','change:isDirty','change:_readOnlyChannels','_viewToController','setAttribute','warn','change:_permissions','comments.editorConfig','@external','getCommentThreads','commentsrepository-add-comment-user-not-exists','lowest','resolve','getUser','_getExternalAuthor','_removeComment','comments','commentsrepository-active-missing-comment-thread','PENDING_ACTION_COMMENT_THREAD','commentInputView','attributes','comments.CommentView','resolvedBy','_reopenCommentThread','isOfficialPlugin','getCommentThreadForAnnotation','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','editorReady','createCommentThreadController','_bindAnnotationToEditors','requires','view','comment','getCommentThread','_add','addComment','innerHTML','map','_detachCommentThread','isPremiumPlugin','PendingActions','addCommentThread','_resolveCommentThread','isActive','reopen','remove','commentsrepository-remove-comment-missing-comment-thread','getComment','_isAttached','bodyCollectionContainer','_submitCommentThread','getIndex','commentsrepository-missing-comment-thread','commentsrepository-update-comment-internal-error','delete','archivedAt','attachTo','unlinkedAt','comments.CommentThreadView','setUnlinkedAt','isEditable','catch','updateComment','commentsrepository-adapter-already-set','commentsrepository-resolved-comment-thread','licenseKey','_remove','focusTracker','createdAt','commentsrepository-resolve-comment-thread-internal-error','commentsrepository-invalid-commentid','getByInnerView','activeCommentThread','focusableElements','commentsrepository-add-comment-to-missing-comment-thread','then','4200861TLRPLn','get','commentsrepository-add-comment-internal-error','setActiveCommentThread','has','focus','push','commentsrepository-update-comment-missing-comment-thread','submit','commentsrepository-remove-missing-comment','updateCommentThread','commentsrepository-remove-comment-internal-error','listenTo','fire','_adapter','isResolved','setContext','5YCndex','comments.maxCommentCharsWhenCollapsed','noChannel','model','editorDestroyed','threadId','_removeCommentThread','getAnnotationForCommentThread','find','12364qtQyjf','escape','destroy','commentsrepository-remove-comment-thread-internal-error','commentsrepository-add-comment-thread-internal-error','4ZpYTdl','creator','admin','modifyAll','authorName','commentsrepository-missing-target','commentUpdated','_isSubmitted','CommentView','type','reduce','getPermissions','innerView','change:authoredAt','string','isExternal','commentsrepository-update-missing-comment','createElement','canComment','commentThreadInputView','260apTiAb','607978GIgnhj','commentsrepository-invalid-comment-content','bind','trim','_findOptimalIndex','authoredAt','_createNewComment','commentId','_unbindEditors','_permissions','content','addUser','5581048lgtIqe','_createCommentThreadView','commentsrepository-get-comment-invalid-id','adapter','openNewCommentThread','channelId','activate','commentsrepository-update-comment-invalid-content','reopenCommentThread','isFromAdapter','comments.maxCommentsWhenCollapsed','removeAttribute','refreshVisibility','isReadOnly','function','commentsrepository-fetch-comment-thread','context','config','removeCommentThread','weight','hasCommentThread','submitCommentThread','max','commentsrepository-remove-missing-comment-thread','12938418FRZMfe','textContent','commentsrepository-attach-missing-comment-thread','commentsrepository-reopen-comment-thread-internal-error','_threads','deactivateAll','locale','_readOnlyChannels','_updateCommentThread','commentsrepository-reopen-comment-thread','plugins','filter','switchReadOnly','div','commentsrepository-invalid-comment-authorid','73576QAKGEk','CommentsRepository','pluginName','error','4109382DxfsDt','commentsrepository-update-comment-thread-internal-error','isAttached','write','isSubmitted','assign','change:activeAnnotations','_hasTargetInContent','add','isRemovable','_repository','_updateActiveAnnotation','values','commentsListView','update','_removeActiveAnnotation','external:','_addComment','commentsrepository-duplicated-comment-thread-id','isVisible','body','getTime','_update','length','once','define','setPermissions','commentsrepository-missing-thread-and-adapter-method','201fvBUAO','highest','init','from','CommentThreadView','commentsrepository-invalid-comment-thread-id','comments.copyMarkers','fetchCommentThread','_updateComment','comments.maxThreadTotalWeight'];_0xf607=function(){return _0x54e2e8;};return _0xf607();}const _0x1058e0=_0x2fb6;(function(_0x3be549,_0x3cbbed){const _0x4e4c0e=_0x2fb6,_0x1a7f48=_0x3be549();while(!![]){try{const _0x207754=-parseInt(_0x4e4c0e(0x114))/0x1*(-parseInt(_0x4e4c0e(0xff))/0x2)+-parseInt(_0x4e4c0e(0x167))/0x3*(parseInt(_0x4e4c0e(0x147))/0x4)+-parseInt(_0x4e4c0e(0x1da))/0x5*(parseInt(_0x4e4c0e(0x14b))/0x6)+-parseInt(_0x4e4c0e(0x1c9))/0x7+parseInt(_0x4e4c0e(0x120))/0x8+parseInt(_0x4e4c0e(0x138))/0x9+-parseInt(_0x4e4c0e(0x113))/0xa*(parseInt(_0x4e4c0e(0x1e3))/0xb);if(_0x207754===_0x3cbbed)break;else _0x1a7f48['push'](_0x1a7f48['shift']());}catch(_0x4c45cf){_0x1a7f48['push'](_0x1a7f48['shift']());}}}(_0xf607,0xc46c3));import{PendingActions as _0x5eaaa1,ContextPlugin as _0x4d0ba1,Editor as _0x55bab1}from'ckeditor5/src/core.js';import{Collection as _0x4cf71a,uid as _0x417b7d,CKEditorError as _0x38e8fb,ObservableMixin as _0x4d3b17}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x248b65,hashObject as _0x2ad631,Users as _0x9db1fc}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x281b88,isEqual as _0xdfad98,set as _0x4abe96,unset as _0x429a56}from'es-toolkit/compat';import{CommentThreadController as _0x2ac20e}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x5242d3}from'./ui/view/commentthreadview.js';import{CommentView as _0x520592}from'./ui/view/commentview.js';import{getTranslation as _0x59f0ce}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x48f904}from'../annotations/view/annotationview.js';import{Annotation as _0x547de1}from'../annotations/annotation.js';import{Annotations as _0x158a1c}from'../annotations/annotations.js';const _t=Symbol(_0x1058e0(0x1dc)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x4d0ba1{[_0x1058e0(0x13c)];[_0x1058e0(0x171)];[_0x1058e0(0x180)];static get[_0x1058e0(0x19b)](){return[_0x158a1c,_0x5eaaa1,_0x9db1fc];}static get[_0x1058e0(0x149)](){const _0x1f4bcb=_0x1058e0;return _0x1f4bcb(0x148);}static get[_0x1058e0(0x195)](){return!0x0;}static get[_0x1058e0(0x1a4)](){return!0x0;}constructor(_0x4c359c){const _0x4a0a72=_0x1058e0;super(_0x4c359c),this[_0x4a0a72(0x13c)]=new Map(),this[_0x4a0a72(0x171)]=new Map(),this[_0x4a0a72(0x180)]=new Map(),this[_0x4a0a72(0x175)](_0x4a0a72(0x13f),new Set()),this[_0x4a0a72(0x175)](_0x4a0a72(0x11d),new Map());const _0x421e36=this[_0x4a0a72(0x130)][_0x4a0a72(0x131)];_0x421e36[_0x4a0a72(0x164)](_0x4a0a72(0x12a),0x2),_0x421e36[_0x4a0a72(0x164)](_0x4a0a72(0x170),0x1f4),_0x421e36[_0x4a0a72(0x164)](_0x4a0a72(0x1db),0x8c),_0x421e36[_0x4a0a72(0x164)](_0x4a0a72(0x1b7),_0x5242d3),_0x421e36[_0x4a0a72(0x164)](_0x4a0a72(0x192),_0x520592),_0x421e36[_0x4a0a72(0x1ca)](_0x4a0a72(0x184))||console[_0x4a0a72(0x182)](_0x4a0a72(0x197));}[_0x1058e0(0x169)](){const _0x378b48=_0x1058e0,_0x457574=this[_0x378b48(0x130)][_0x378b48(0x142)][_0x378b48(0x1ca)](_0x158a1c);this[_0x378b48(0x175)](_0x378b48(0x1c5),null),this['on'](_0x378b48(0x1a6),(_0x1a2e13,_0x562bad)=>this[_0x378b48(0x172)](_0x562bad)),this['on'](_0x378b48(0x135),(_0x1ac5f6,_0x4ec992)=>this[_0x378b48(0x1af)](_0x4ec992)),this['on'](_0x378b48(0x17b),(_0x108022,_0x2452a4)=>this[_0x378b48(0x1a7)](_0x2452a4)),this['on'](_0x378b48(0x17b),(_0x4433d1,_0x563b60)=>this[_0x378b48(0x156)](_0x563b60),{'priority':_0x378b48(0x188)}),this['on'](_0x378b48(0x128),(_0x5958b0,_0x889cb6)=>this[_0x378b48(0x194)](_0x889cb6)),this['on'](_0x378b48(0x128),(_0xf3dea2,_0x27a4ad)=>this[_0x378b48(0x156)](_0x27a4ad),{'priority':_0x378b48(0x188)}),this['on'](_0x378b48(0x132),(_0x2f28e0,_0x4861a5)=>this[_0x378b48(0x1e0)](_0x4861a5)),this['on'](_0x378b48(0x1d3),(_0x352a7e,_0x3b6eaa)=>this[_0x378b48(0x140)](_0x3b6eaa)),this['on'](_0x378b48(0x1d3),(_0xaf2514,_0x4c16fb)=>this[_0x378b48(0x156)](_0x4c16fb),{'priority':_0x378b48(0x188)}),this['on'](_0x378b48(0x1a0),(_0x3205a6,_0x3b49f9)=>this[_0x378b48(0x15c)](_0x3b49f9)),this['on'](_0x378b48(0x1bb),(_0xc2fa84,_0x49fd50)=>this[_0x378b48(0x16f)](_0x49fd50)),this['on'](_0x378b48(0x17a),(_0x323d81,_0xdd93e6)=>this[_0x378b48(0x18c)](_0xdd93e6)),this['on'](_0x378b48(0x1a0),(_0x4b3ea6,{threadId:_0x1e474a,isFromAdapter:_0x32fa9f})=>{const _0x3e7c88=_0x378b48;if(_0x32fa9f)return;const _0x5458c7=this[_0x3e7c88(0x19e)](_0x1e474a),_0x24b415=_0x5458c7&&this[_0x3e7c88(0x171)][_0x3e7c88(0x1ca)](_0x5458c7);_0x24b415&&_0x24b415[_0x3e7c88(0x19c)][_0x3e7c88(0x158)][_0x3e7c88(0x1ce)](-0x1);},{'priority':_0x378b48(0x188)}),this[_0x378b48(0x1d5)](_0x457574,_0x378b48(0x151),(_0x24d746,_0x5f1ce3,_0x2a5fb0)=>{const _0x5d3f62=_0x378b48,_0x2e16ce=Array[_0x5d3f62(0x16a)](_0x2a5fb0)[_0x5d3f62(0x1a2)](_0x179041=>this[_0x5d3f62(0x180)][_0x5d3f62(0x1ca)](_0x179041[_0x5d3f62(0x10b)]))[_0x5d3f62(0x143)](Boolean)[0x0];this[_0x5d3f62(0x1c5)]=_0x2e16ce?_0x2e16ce[_0x5d3f62(0x1dd)]:null;});}set[_0x1058e0(0x123)](_0x28ce76){const _0x588c0c=_0x1058e0;if(this[_0x588c0c(0x1d7)])throw new _0x38e8fb(_0x588c0c(0x1bc));this[_0x588c0c(0x1d7)]=_0x28ce76;}get[_0x1058e0(0x123)](){const _0x49c326=_0x1058e0;return this[_0x49c326(0x1d7)];}[_0x1058e0(0x1a6)]({channelId:_0x59f28e=_t,threadId:_0x7ac71=_0x417b7d(),comments:_0x3062aa=[],unlinkedAt:_0x461341=null,resolvedAt:_0x5d35c3=null,resolvedBy:_0x3166b8=null,target:_0xea1630=null,context:_0x27a771=null,attributes:_0x4bd7ac={},isResolvable:_0x378d92=!0x0,isSubmitted:_0x5d0c1a=!0x1,isFromAdapter:_0x139eb2=!0x1}={}){const _0x1e8ee9=_0x1058e0;return this[_0x1e8ee9(0x1d6)](Nt(_0x1e8ee9(0x1a6),_0x59f28e),{'channelId':_0x59f28e,'threadId':_0x7ac71,'comments':_0x3062aa,'unlinkedAt':_0x461341,'resolvedAt':_0x5d35c3,'resolvedBy':_0x3166b8,'target':_0xea1630,'context':_0x27a771,'attributes':_0x4bd7ac,'isFromAdapter':_0x139eb2,'isResolvable':_0x378d92,'isSubmitted':_0x5d0c1a}),this[_0x1e8ee9(0x19e)](_0x7ac71);}[_0x1058e0(0x124)]({channelId:_0x4f92a6=_t,threadId:_0xf8816a=_0x417b7d(),target:_0x5390aa,context:_0x3ca3d8=null,isResolvable:_0xf2228c=!0x0}){const _0x594ac0=_0x1058e0;if(this[_0x594ac0(0x13f)][_0x594ac0(0x1cd)](_0x4f92a6)||this[_0x594ac0(0x13f)][_0x594ac0(0x1cd)](void 0x0))return null;if(!_0x5390aa)throw new _0x38e8fb(_0x594ac0(0x104));const _0x3fac87=this[_0x594ac0(0x1a6)]({'channelId':_0x4f92a6,'threadId':_0xf8816a,'target':_0x5390aa,'context':_0x3ca3d8,'isResolvable':_0xf2228c});if(!_0x3fac87)return null;const _0x45f8d8=this[_0x594ac0(0x171)][_0x594ac0(0x1ca)](_0x3fac87),_0xb08136=_0x45f8d8[_0x594ac0(0x19c)][_0x594ac0(0x112)][_0x594ac0(0x190)],_0x54fd4b=this[_0x594ac0(0x130)][_0x594ac0(0x142)][_0x594ac0(0x1ca)](_0x158a1c),_0x24be0b=_0x54fd4b[_0x594ac0(0x1c4)](_0x45f8d8[_0x594ac0(0x19c)]);return _0x54fd4b[_0x594ac0(0x126)](_0x24be0b),_0xb08136[_0x594ac0(0x163)](_0x594ac0(0x198),()=>_0xb08136[_0x594ac0(0x1ce)]()),_0x3fac87;}[_0x1058e0(0x134)](_0x5af0f1){const _0x1b8feb=_0x1058e0;if(_0x1b8feb(0x10d)!=typeof _0x5af0f1)throw new _0x38e8fb(_0x1b8feb(0x16c));return this[_0x1b8feb(0x13c)][_0x1b8feb(0x1cd)](_0x5af0f1);}[_0x1058e0(0x1d3)]({channelId:_0x5c37a7=_t,threadId:_0x1d424a,context:_0x528a35,unlinkedAt:_0xe98d1c,attributes:_0x5b7ddc,isFromAdapter:_0x3cc6cc=!0x1}){const _0x3cc4a7=_0x1058e0;return this[_0x3cc4a7(0x1d6)](Nt(_0x3cc4a7(0x1d3),_0x5c37a7),{'channelId':_0x5c37a7,'threadId':_0x1d424a,'context':_0x528a35,'unlinkedAt':_0xe98d1c,'attributes':_0x5b7ddc,'isFromAdapter':_0x3cc6cc}),this[_0x3cc4a7(0x19e)](_0x1d424a);}[_0x1058e0(0x19e)](_0x309452){const _0x35f883=_0x1058e0;if(_0x35f883(0x10d)!=typeof _0x309452)throw new _0x38e8fb(_0x35f883(0x16c));return this[_0x35f883(0x13c)][_0x35f883(0x1ca)](_0x309452);}[_0x1058e0(0x16e)]({channelId:_0x23098c,threadId:_0x1a127e}={}){const _0x4f7a6d=_0x1058e0,_0x4251c4=this[_0x4f7a6d(0x19e)](_0x1a127e);if(_0x4251c4)return Promise[_0x4f7a6d(0x189)](_0x4251c4);if(!this[_0x4f7a6d(0x123)])return Promise[_0x4f7a6d(0x189)](void 0x0);if(_0x4f7a6d(0x12e)!=typeof this[_0x4f7a6d(0x123)][_0x4f7a6d(0x19e)])throw new _0x38e8fb(_0x4f7a6d(0x166),this[_0x4f7a6d(0x130)]);return this[_0x4f7a6d(0x123)][_0x4f7a6d(0x19e)]({'channelId':_0x23098c,'threadId':_0x1a127e})[_0x4f7a6d(0x1c8)](_0x5b2343=>this[_0x4f7a6d(0x134)](_0x1a127e)?this[_0x4f7a6d(0x19e)](_0x1a127e):_0x5b2343?this[_0x4f7a6d(0x1a6)](Object[_0x4f7a6d(0x150)]({'isFromAdapter':!0x0,'channelId':_0x23098c},_0x5b2343)):void 0x0)[_0x4f7a6d(0x1ba)](_0x52126d=>{const _0x48aec0=_0x4f7a6d;throw console[_0x48aec0(0x14a)](_0x52126d),new _0x38e8fb(_0x48aec0(0x12f),this[_0x48aec0(0x130)]);});}[_0x1058e0(0x186)]({channelId:_0x4a6883,skipNotAttached:_0x4bac9d=!0x1,skipEmpty:_0x4d7de8=!0x1,toJSON:_0x194c35=!0x1}={}){const _0x24ed43=_0x1058e0,_0xd0039b=[];for(const _0x1dffc9 of this[_0x24ed43(0x13c)][_0x24ed43(0x157)]())_0x4a6883&&_0x1dffc9[_0x24ed43(0x125)]!==_0x4a6883||_0x4bac9d&&!_0x1dffc9[_0x24ed43(0x14d)]||_0x4d7de8&&0x0===_0x1dffc9[_0x24ed43(0x162)]||_0xd0039b[_0x24ed43(0x1cf)](_0x1dffc9);return _0x194c35?_0xd0039b[_0x24ed43(0x1a2)](_0x595433=>_0x595433[_0x24ed43(0x173)]()):_0xd0039b;}[_0x1058e0(0x1e1)](_0xb0d621){const _0x58a177=_0x1058e0,_0x37a8b3=this[_0x58a177(0x171)][_0x58a177(0x1ca)](_0xb0d621);if(!_0x37a8b3)return null;return this[_0x58a177(0x130)][_0x58a177(0x142)][_0x58a177(0x1ca)](_0x158a1c)[_0x58a177(0x1c4)](_0x37a8b3[_0x58a177(0x19c)])||null;}[_0x1058e0(0x196)](_0x42d958){const _0x40b290=_0x1058e0,_0x48ab81=this[_0x40b290(0x180)][_0x40b290(0x1ca)](_0x42d958[_0x40b290(0x10b)]);return _0x48ab81?_0x48ab81[_0x40b290(0x1dd)]:null;}[_0x1058e0(0x1cc)](_0x13d5c3){const _0x3639f7=_0x1058e0,_0x3aea13=this[_0x3639f7(0x130)][_0x3639f7(0x142)][_0x3639f7(0x1ca)](_0x158a1c);if(!_0x13d5c3)return void(this[_0x3639f7(0x1c5)]&&_0x3aea13[_0x3639f7(0x13d)]());const _0x1accfb=this[_0x3639f7(0x19e)](_0x13d5c3);if(!_0x1accfb)throw new _0x38e8fb(_0x3639f7(0x18e),null,{'threadId':_0x13d5c3});if(!this[_0x3639f7(0x171)][_0x3639f7(0x1cd)](_0x1accfb))throw new _0x38e8fb(_0x3639f7(0x179),null,{'threadId':_0x13d5c3});const _0x241284=_0x3aea13[_0x3639f7(0x1c4)](this[_0x3639f7(0x171)][_0x3639f7(0x1ca)](_0x1accfb)[_0x3639f7(0x19c)]);_0x3aea13[_0x3639f7(0x126)](_0x241284);}[_0x1058e0(0x144)](_0x1186e1,_0x477ff2){const _0x27aab0=_0x1058e0;_0x1186e1?this[_0x27aab0(0x13f)][_0x27aab0(0x153)](_0x477ff2):this[_0x27aab0(0x13f)][_0x27aab0(0x1b3)](_0x477ff2),this[_0x27aab0(0x1d6)](_0x27aab0(0x17f),_0x27aab0(0x13f),this[_0x27aab0(0x13f)],this[_0x27aab0(0x13f)]);}[_0x1058e0(0x12d)](_0x1efc3){const _0x343a7e=_0x1058e0;return this[_0x343a7e(0x13f)][_0x343a7e(0x1cd)](_0x1efc3)||this[_0x343a7e(0x13f)][_0x343a7e(0x1cd)](void 0x0);}[_0x1058e0(0x199)](_0x1369df,_0x9e4295){return new _0x2ac20e(_0x1369df,_0x9e4295);}[_0x1058e0(0x165)](_0x2f0e39,_0x4d5c9a=_t){const _0x198352=_0x1058e0;this[_0x198352(0x11d)][_0x198352(0x175)](_0x4d5c9a,_0x2f0e39),this[_0x198352(0x1d6)](_0x198352(0x183),_0x198352(0x11d),this[_0x198352(0x11d)],this[_0x198352(0x11d)]);}[_0x1058e0(0x10a)](_0x55b095=_t){const _0x3a8192=_0x1058e0;return this[_0x3a8192(0x11d)][_0x3a8192(0x1cd)](_0x55b095)?this[_0x3a8192(0x11d)][_0x3a8192(0x1ca)](_0x55b095):bt;}[_0x1058e0(0x172)]({channelId:_0x560d76,threadId:_0x26a86e,comments:_0x265ba6,unlinkedAt:_0x41aac5,resolvedAt:_0x453ee3,resolvedBy:_0x1295c5,target:_0x358a80,context:_0x1d6912,attributes:_0x47b1de,isFromAdapter:_0x5bcd29,isResolvable:_0x57db56,isSubmitted:_0x42cd7}){const _0x2d5088=_0x1058e0;if(_0x2d5088(0x10d)!=typeof _0x26a86e)throw new _0x38e8fb(_0x2d5088(0x16c),null,{'threadId':_0x26a86e});if(this[_0x2d5088(0x134)](_0x26a86e))throw new _0x38e8fb(_0x2d5088(0x15d),null,{'threadId':_0x26a86e});const _0x12648c=new CommentThread(this,{'channelId':_0x560d76,'id':_0x26a86e,'context':_0x1d6912,'attributes':_0x47b1de,'unlinkedAt':_0x41aac5,'resolvedAt':_0x453ee3,'resolvedBy':_0x1295c5?this[_0x2d5088(0x130)][_0x2d5088(0x142)][_0x2d5088(0x1ca)](_0x9db1fc)[_0x2d5088(0x18a)](_0x1295c5):null,'isResolvable':_0x57db56,'isSubmitted':_0x42cd7||_0x5bcd29});this[_0x2d5088(0x13c)][_0x2d5088(0x175)](_0x26a86e,_0x12648c);for(const _0x162650 of _0x265ba6)_0x12648c[_0x2d5088(0x19f)](this[_0x2d5088(0x11a)]({'threadId':_0x26a86e,..._0x162650}));return _0x358a80&&_0x12648c[_0x2d5088(0x1b5)](_0x358a80),_0x5bcd29||!_0x12648c[_0x2d5088(0x162)]?Promise[_0x2d5088(0x189)]():this[_0x2d5088(0x1af)]({'channelId':_0x560d76,'threadId':_0x26a86e});}[_0x1058e0(0x1af)]({channelId:_0x249822,threadId:_0x35a520}){const _0x311449=_0x1058e0;if(!this[_0x311449(0x134)](_0x35a520))throw new _0x38e8fb(_0x311449(0x1b1),this);const _0x12debc=this[_0x311449(0x19e)](_0x35a520);if(_0x12debc[_0x311449(0x106)]=!0x0,!this[_0x311449(0x123)]||_0x311449(0x12e)!=typeof this[_0x311449(0x123)][_0x311449(0x1a6)])return Promise[_0x311449(0x189)]();const {id:_0x58d2be,comments:_0xe606fe,resolvedAt:_0x5f5808,resolvedBy:_0x45256a,context:_0xf009c1,attributes:_0xf8a4b}=_0x12debc,_0x59e708=this[_0x311449(0x130)][_0x311449(0x142)][_0x311449(0x1ca)](_0x311449(0x1a5)),_0x48f11c=_0x59e708[_0x311449(0x153)](_0x59f0ce(this[_0x311449(0x130)][_0x311449(0x13e)],_0x311449(0x18f)));return this[_0x311449(0x123)][_0x311449(0x1a6)]({'channelId':_0x249822,'threadId':_0x58d2be,'comments':_0xe606fe[_0x311449(0x1a2)](_0x7bd591=>_0x7bd591[_0x311449(0x173)]()),'resolvedAt':_0x5f5808,'resolvedBy':_0x45256a?_0x45256a['id']:_0x45256a,'context':_0xf009c1,'attributes':_0xf8a4b})[_0x311449(0x1c8)](({comments:_0x232e10})=>{const _0x58dad2=_0x311449;_0x59e708[_0x58dad2(0x1aa)](_0x48f11c);for(const _0x13b324 of _0x232e10)this[_0x58dad2(0x16f)]({'channelId':_0x249822,'threadId':_0x35a520,'commentId':_0x13b324[_0x58dad2(0x11b)],'createdAt':_0x13b324[_0x58dad2(0x1c1)],'isFromAdapter':!0x0});})[_0x311449(0x1ba)](_0x342633=>{const _0x23aec3=_0x311449;throw console[_0x23aec3(0x14a)](_0x342633),new _0x38e8fb(_0x23aec3(0xfe),this);});}[_0x1058e0(0x176)]({threadId:_0xfc3a2b,target:_0x183eef}){const _0x2dd564=_0x1058e0,_0x559063=this[_0x2dd564(0x19e)](_0xfc3a2b);if(!_0x559063)throw new _0x38e8fb(_0x2dd564(0x13a),this);const _0x235742=this[_0x2dd564(0x130)][_0x2dd564(0x142)][_0x2dd564(0x1ca)](_0x2dd564(0x1a5)),_0x57ffe7=this[_0x2dd564(0x130)][_0x2dd564(0x142)][_0x2dd564(0x1ca)](_0x158a1c),_0x247be6=this[_0x2dd564(0x121)](_0x559063),_0x2b1848=new _0x2ac20e(_0x559063,_0x247be6);let _0xdff11e=null;_0x247be6['on'](_0x2dd564(0x17e),(_0x1c2c3e,_0x349d41,_0x2acf73)=>{const _0x2c161f=_0x2dd564;_0x2acf73?_0xdff11e=_0x235742[_0x2c161f(0x153)](_0x59f0ce(this[_0x2c161f(0x130)][_0x2c161f(0x13e)],_0x2c161f(0x18f))):_0xdff11e&&(_0x235742[_0x2c161f(0x1aa)](_0xdff11e),_0xdff11e=null);}),this[_0x2dd564(0x171)][_0x2dd564(0x175)](_0x559063,_0x2b1848),this[_0x2dd564(0x180)][_0x2dd564(0x175)](_0x247be6,_0x2b1848);const _0x2f058a=new _0x48f904(this[_0x2dd564(0x130)][_0x2dd564(0x13e)],_0x247be6);_0x2f058a[_0x2dd564(0x116)](_0x2dd564(0x162))['to'](_0x247be6),_0x2f058a[_0x2dd564(0x116)](_0x2dd564(0x177))['to'](_0x247be6,_0x2dd564(0x177),_0x247be6,_0x2dd564(0x162),(_0x18d9ee,_0xd192f7)=>_0x18d9ee||!_0xd192f7),_0x2f058a[_0x2dd564(0x116)](_0x2dd564(0x1a8))['to'](_0x247be6),_0x2f058a[_0x2dd564(0x108)]=_0x2dd564(0x19d);const _0x118029=new _0x547de1({'view':_0x2f058a,'target':_0x183eef,'type':_0x2dd564(0x19d),'isVisible':!_0x559063[_0x2dd564(0x1b4)]&&!!(_0x2dd564(0x12e)==typeof _0x183eef?_0x183eef():_0x183eef)});return _0x247be6['on'](_0x2dd564(0x1e4),()=>{const _0x487ff1=_0x2dd564;_0x118029[_0x487ff1(0x1d6)](_0x487ff1(0x1e4));}),this[_0x2dd564(0x19a)](_0x247be6,_0x118029),_0x57ffe7[_0x2dd564(0x153)](_0x118029),_0x118029;}[_0x1058e0(0x19a)](_0x34ee09,_0x416b80){const _0x4be885=_0x1058e0;this[_0x4be885(0x1d5)](_0x34ee09,_0x4be885(0x198),(_0x296c73,_0x18418b)=>{const _0x5e4a6b=_0x4be885,_0x528655=_0x18418b['ui'][_0x5e4a6b(0x19c)][_0x5e4a6b(0x15f)][_0x5e4a6b(0x1ae)];_0x416b80[_0x5e4a6b(0x1c6)][_0x5e4a6b(0x153)](_0x528655),this[_0x5e4a6b(0x130)]instanceof _0x55bab1&&this[_0x5e4a6b(0x130)]['ui'][_0x5e4a6b(0x1c0)][_0x5e4a6b(0x153)](_0x528655);},{'priority':_0x4be885(0x168)}),this[_0x4be885(0x1d5)](_0x34ee09,_0x4be885(0x1de),(_0x21450b,_0x1eef46)=>{const _0x589321=_0x4be885,_0x57e7f1=_0x1eef46['ui'][_0x589321(0x19c)][_0x589321(0x15f)][_0x589321(0x1ae)];_0x416b80[_0x589321(0x1c6)][_0x589321(0x1cd)](_0x57e7f1)&&_0x416b80[_0x589321(0x1c6)][_0x589321(0x1aa)](_0x57e7f1),this[_0x589321(0x130)]instanceof _0x55bab1&&this[_0x589321(0x130)]['ui'][_0x589321(0x1c0)][_0x589321(0x1aa)](_0x57e7f1);});}[_0x1058e0(0x11c)](_0x3a9166){const _0x4acaf2=_0x1058e0;this[_0x4acaf2(0x174)](_0x3a9166,_0x4acaf2(0x198)),this[_0x4acaf2(0x174)](_0x3a9166,_0x4acaf2(0x1de));}[_0x1058e0(0x121)](_0x18438b){const _0x46200f=_0x1058e0,_0x4a79fb=this[_0x46200f(0x130)][_0x46200f(0x142)][_0x46200f(0x1ca)](_0x9db1fc),{config:_0x421d77,locale:_0xb7d0e0}=this[_0x46200f(0x130)],_0xad83ab=_0x248b65(_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x13e)),_0xb7d0e0);return new(0x0,(_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x18d)))[(_0x46200f(0x16b))])(_0xb7d0e0,_0x18438b,_0x4a79fb['me'],{'editorConfig':{..._0x421d77[_0x46200f(0x1ca)](_0x46200f(0x184)),'licenseKey':this[_0x46200f(0x130)][_0x46200f(0x131)][_0x46200f(0x1ca)](_0x46200f(0x1be))},'copyMarkers':_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x16d)),'maxCommentsWhenCollapsed':_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x12a)),'maxThreadTotalWeight':_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x170)),'maxCommentCharsWhenCollapsed':_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x1db)),'formatDateTime':_0xad83ab,'CommentView':_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x18d))[_0x46200f(0x107)]});}[_0x1058e0(0x1a7)]({threadId:_0x34d765,channelId:_0x4c13e8,resolvedAt:_0x48d0c1,resolvedBy:_0x1db4cf,isFromAdapter:_0x379737}){const _0x4a22aa=_0x1058e0;if(!this[_0x4a22aa(0x134)](_0x34d765))throw new _0x38e8fb(_0x4a22aa(0x1b1),null,{'threadId':_0x34d765});const _0x14a559=this[_0x4a22aa(0x19e)](_0x34d765);if(_0x14a559[_0x4a22aa(0x1d8)])throw new _0x38e8fb(_0x4a22aa(0x1bd),null,{'threadId':_0x34d765});const _0xb43ea9=this[_0x4a22aa(0x130)][_0x4a22aa(0x142)][_0x4a22aa(0x1ca)](_0x9db1fc);if(_0x14a559[_0x4a22aa(0x193)]=_0xb43ea9[_0x4a22aa(0x18a)](_0x1db4cf),_0x14a559[_0x4a22aa(0x178)]=_0x48d0c1,_0x379737||!this[_0x4a22aa(0x123)]||_0x4a22aa(0x12e)!=typeof this[_0x4a22aa(0x123)][_0x4a22aa(0x17b)])return Promise[_0x4a22aa(0x189)]();const _0x16f46d=this[_0x4a22aa(0x130)][_0x4a22aa(0x142)][_0x4a22aa(0x1ca)](_0x4a22aa(0x1a5)),_0x5b9c34=_0x16f46d[_0x4a22aa(0x153)](_0x59f0ce(this[_0x4a22aa(0x130)][_0x4a22aa(0x13e)],_0x4a22aa(0x18f)));return this[_0x4a22aa(0x123)][_0x4a22aa(0x17b)]({'channelId':_0x4c13e8,'threadId':_0x34d765})[_0x4a22aa(0x1c8)](({resolvedAt:_0x47c705,resolvedBy:_0x247e3a})=>{const _0x30a8cd=_0x4a22aa;_0x16f46d[_0x30a8cd(0x1aa)](_0x5b9c34),_0x14a559[_0x30a8cd(0x193)]['id']!==_0x247e3a&&(_0x14a559[_0x30a8cd(0x193)]=_0xb43ea9[_0x30a8cd(0x18a)](_0x247e3a)),_0x14a559[_0x30a8cd(0x178)]=_0x47c705;})[_0x4a22aa(0x1ba)](_0x5d092e=>{const _0x50d460=_0x4a22aa;throw console[_0x50d460(0x14a)](_0x5d092e),new _0x38e8fb(_0x50d460(0x1c2),this);});}[_0x1058e0(0x194)]({threadId:_0x1327fa,channelId:_0x17228d,isFromAdapter:_0x33f0f3}){const _0xcf147e=_0x1058e0;if(!this[_0xcf147e(0x134)](_0x1327fa))throw new _0x38e8fb(_0xcf147e(0x1b1),null,{'threadId':_0x1327fa});const _0x5c8af5=this[_0xcf147e(0x19e)](_0x1327fa);if(!_0x5c8af5[_0xcf147e(0x1d8)])throw new _0x38e8fb(_0xcf147e(0x141),null,{'threadId':_0x1327fa});if(_0x5c8af5[_0xcf147e(0x193)]=null,_0x5c8af5[_0xcf147e(0x178)]=null,_0x33f0f3||!this[_0xcf147e(0x123)]||_0xcf147e(0x12e)!=typeof this[_0xcf147e(0x123)][_0xcf147e(0x128)])return Promise[_0xcf147e(0x189)]();const _0x555a43=this[_0xcf147e(0x130)][_0xcf147e(0x142)][_0xcf147e(0x1ca)](_0xcf147e(0x1a5)),_0x3ccae1=_0x555a43[_0xcf147e(0x153)](_0x59f0ce(this[_0xcf147e(0x130)][_0xcf147e(0x13e)],_0xcf147e(0x18f)));return this[_0xcf147e(0x123)][_0xcf147e(0x128)]({'channelId':_0x17228d,'threadId':_0x1327fa})[_0xcf147e(0x1c8)](()=>_0x555a43[_0xcf147e(0x1aa)](_0x3ccae1))[_0xcf147e(0x1ba)](_0x3a226e=>{const _0xc87287=_0xcf147e;throw console[_0xc87287(0x14a)](_0x3a226e),new _0x38e8fb(_0xc87287(0x13b),this);});}[_0x1058e0(0x1e0)]({threadId:_0x40fe96,isFromAdapter:_0x58e2ca}){const _0x545218=_0x1058e0,_0x4152ce=this[_0x545218(0x19e)](_0x40fe96);if(!_0x4152ce)throw new _0x38e8fb(_0x545218(0x137),this);if(this[_0x545218(0x1a3)](_0x40fe96),this[_0x545218(0x13c)][_0x545218(0x1b3)](_0x40fe96),!_0x4152ce[_0x545218(0x14f)]||_0x58e2ca||!this[_0x545218(0x123)]||_0x545218(0x12e)!=typeof this[_0x545218(0x123)][_0x545218(0x132)])return Promise[_0x545218(0x189)]();const _0x317a67=this[_0x545218(0x130)][_0x545218(0x142)][_0x545218(0x1ca)](_0x545218(0x1a5)),{channelId:_0x538844}=_0x4152ce,_0x15b210=_0x317a67[_0x545218(0x153)](_0x59f0ce(this[_0x545218(0x130)][_0x545218(0x13e)],_0x545218(0x18f)));return this[_0x545218(0x123)][_0x545218(0x132)]({'channelId':_0x538844,'threadId':_0x40fe96})[_0x545218(0x1c8)](()=>_0x317a67[_0x545218(0x1aa)](_0x15b210))[_0x545218(0x1ba)](_0xbaeb6f=>{const _0x332d9f=_0x545218;throw console[_0x332d9f(0x14a)](_0xbaeb6f),new _0x38e8fb(_0x332d9f(0xfd),this);});}[_0x1058e0(0x140)]({threadId:_0x5d7e55,unlinkedAt:_0x3cee1f,context:_0x287110,attributes:_0x1297cf,isFromAdapter:_0x5c7f0c}){const _0x14c78f=_0x1058e0;if(_0x14c78f(0x10d)!=typeof _0x5d7e55)throw new _0x38e8fb(_0x14c78f(0x16c),null,{'threadId':_0x5d7e55});if(!this[_0x14c78f(0x134)](_0x5d7e55))throw new _0x38e8fb(_0x14c78f(0x1b1),null,{'threadId':_0x5d7e55});const _0x5256be=this[_0x14c78f(0x19e)](_0x5d7e55);let _0x4ecc8c=!0x1;if(void 0x0!==_0x287110&&_0x5256be[_0x14c78f(0x130)]!==_0x287110&&(_0x5256be[_0x14c78f(0x130)]=_0x287110,_0x4ecc8c=!0x0),void 0x0!==_0x3cee1f&&_0x5256be[_0x14c78f(0x1b6)]!==_0x3cee1f&&(_0x5256be[_0x14c78f(0x1b6)]=_0x3cee1f,_0x4ecc8c=!0x0),_0x1297cf&&!_0xdfad98(_0x1297cf,_0x5256be[_0x14c78f(0x191)])&&(_0x5256be[_0x14c78f(0x191)]=_0x1297cf,_0x4ecc8c=!0x0),!_0x4ecc8c)return Promise[_0x14c78f(0x189)]();if(!_0x5256be[_0x14c78f(0x14f)]||_0x5c7f0c||!this[_0x14c78f(0x123)]||_0x14c78f(0x12e)!=typeof this[_0x14c78f(0x123)][_0x14c78f(0x1d3)])return Promise[_0x14c78f(0x189)]();const _0x3c7d49=this[_0x14c78f(0x130)][_0x14c78f(0x142)][_0x14c78f(0x1ca)](_0x14c78f(0x1a5)),{channelId:_0x4aab13}=_0x5256be,_0x34a362=_0x3c7d49[_0x14c78f(0x153)](_0x59f0ce(this[_0x14c78f(0x130)][_0x14c78f(0x13e)],_0x14c78f(0x18f)));return this[_0x14c78f(0x123)][_0x14c78f(0x1d3)]({'channelId':_0x4aab13,'threadId':_0x5d7e55,'context':_0x287110,'unlinkedAt':_0x3cee1f,'attributes':_0x1297cf})[_0x14c78f(0x1c8)](()=>_0x3c7d49[_0x14c78f(0x1aa)](_0x34a362))[_0x14c78f(0x1ba)](_0x4a8e65=>{const _0x5624eb=_0x14c78f;throw console[_0x5624eb(0x14a)](_0x4a8e65),new _0x38e8fb(_0x5624eb(0x14c),this);});}[_0x1058e0(0x1a3)](_0x58bc60){const _0x317e5b=_0x1058e0,_0x46539e=this[_0x317e5b(0x130)][_0x317e5b(0x142)][_0x317e5b(0x1ca)](_0x158a1c),_0xdf8ef=this[_0x317e5b(0x19e)](_0x58bc60);if(_0xdf8ef[_0x317e5b(0x1ad)]=!0x1,this[_0x317e5b(0x171)][_0x317e5b(0x1cd)](_0xdf8ef)){const _0x3ab48d=this[_0x317e5b(0x171)][_0x317e5b(0x1ca)](_0xdf8ef),_0x2c7cd3=_0x3ab48d[_0x317e5b(0x19c)],_0x385ac4=_0x46539e[_0x317e5b(0x1c4)](_0x2c7cd3);this[_0x317e5b(0x171)][_0x317e5b(0x1b3)](_0xdf8ef),this[_0x317e5b(0x180)][_0x317e5b(0x1b3)](_0x2c7cd3),_0x385ac4&&_0x46539e[_0x317e5b(0x1aa)](_0x385ac4),_0x3ab48d[_0x317e5b(0xfc)](),_0x2c7cd3[_0x317e5b(0xfc)]()[_0x317e5b(0x1c8)](()=>{const _0x49c8db=_0x317e5b;this[_0x49c8db(0x11c)](_0x2c7cd3);});}}[_0x1058e0(0x156)]({threadId:_0x569416,resolvedAt:_0x1afa57,unlinkedAt:_0x6d716b}){const _0x56e3ba=_0x1058e0,_0x1418b9=!!_0x1afa57,_0x2d96bd=this[_0x56e3ba(0x130)][_0x56e3ba(0x142)][_0x56e3ba(0x1ca)](_0x158a1c),_0x5f2d49=this[_0x56e3ba(0x19e)](_0x569416);if(this[_0x56e3ba(0x171)][_0x56e3ba(0x1cd)](_0x5f2d49)){const _0x4a9083=this[_0x56e3ba(0x171)][_0x56e3ba(0x1ca)](_0x5f2d49)[_0x56e3ba(0x19c)],_0x26db4b=_0x2d96bd[_0x56e3ba(0x1c4)](_0x4a9083);_0x26db4b&&(_0x1418b9&&_0x2d96bd[_0x56e3ba(0x15a)](_0x26db4b),_0x6d716b?_0x26db4b[_0x56e3ba(0x15e)]=!0x1:_0x26db4b[_0x56e3ba(0x12c)]());}}[_0x1058e0(0x18b)](_0x4b18c8){const _0x1a2d8f=_0x1058e0,_0x430e53=this[_0x1a2d8f(0x130)][_0x1a2d8f(0x142)][_0x1a2d8f(0x1ca)](_0x9db1fc),_0x2c2037=_0x2ad631(_0x1a2d8f(0x15b)+_0x4b18c8),_0x365a84=_0x430e53[_0x1a2d8f(0x18a)](_0x2c2037);return _0x365a84||_0x430e53[_0x1a2d8f(0x11f)]({'id':_0x2c2037,'name':_0x4b18c8});}[_0x1058e0(0x11a)]({threadId:_0x2db880,commentId:_0x2fa48d=_0x417b7d(),content:_0x22b8ae,authorId:_0xf87c13,createdAt:_0x442a24,attributes:_0x279439}){const _0x428cae=_0x1058e0;if(_0x428cae(0x10d)!=typeof _0x2fa48d)throw new _0x38e8fb(_0x428cae(0x1c3));if(_0x428cae(0x10d)!=typeof _0xf87c13)throw new _0x38e8fb(_0x428cae(0x146));if(_0x428cae(0x10d)!=typeof _0x22b8ae||!_0x22b8ae[_0x428cae(0x117)]())throw new _0x38e8fb(_0x428cae(0x115));const _0x3cba80=this[_0x428cae(0x130)][_0x428cae(0x142)][_0x428cae(0x1ca)](_0x9db1fc)[_0x428cae(0x18a)](_0xf87c13);if(!_0x3cba80)throw new _0x38e8fb(_0x428cae(0x187),null,{'authorId':_0xf87c13});let _0x472898=null,_0xb1f204=_0x442a24;return _0x279439?.[_0x428cae(0x185)]&&(_0x472898=this[_0x428cae(0x18b)](_0x279439[_0x428cae(0x185)][_0x428cae(0x103)]),_0xb1f204=new Date(_0x279439[_0x428cae(0x185)][_0x428cae(0x1c1)])),new Comment(this,{'threadId':_0x2db880,'id':_0x2fa48d,'author':_0x472898||_0x3cba80,'creator':_0x3cba80,'content':_0x22b8ae,'createdAt':_0x442a24,'authoredAt':_0xb1f204,'attributes':_0x279439});}[_0x1058e0(0x15c)](_0x7c77eb){const _0x6aaece=_0x1058e0;let {threadId:_0x4a128e,content:_0x3542a7,attributes:_0xd5ce00,isFromAdapter:_0x4db193}=_0x7c77eb;const _0x599c11=this[_0x6aaece(0x19e)](_0x7c77eb[_0x6aaece(0x1df)]);if(!_0x599c11)throw new _0x38e8fb(_0x6aaece(0x1c7),this);const _0x5f2ef8=this[_0x6aaece(0x11a)](_0x7c77eb),{id:_0x2e6dd9}=_0x5f2ef8;if(_0x599c11[_0x6aaece(0x19f)](_0x5f2ef8),_0x4db193||!this[_0x6aaece(0x123)]||_0x6aaece(0x12e)!=typeof this[_0x6aaece(0x123)][_0x6aaece(0x1a0)]||!_0x599c11[_0x6aaece(0x14f)])return Promise[_0x6aaece(0x189)]();const _0x1c272f=this[_0x6aaece(0x130)][_0x6aaece(0x142)][_0x6aaece(0x1ca)](_0x6aaece(0x1a5)),{channelId:_0x295478}=_0x599c11,_0x22697a=_0x1c272f[_0x6aaece(0x153)](_0x59f0ce(this[_0x6aaece(0x130)][_0x6aaece(0x13e)],_0x6aaece(0x18f)));return _0xd5ce00||(_0xd5ce00={}),this[_0x6aaece(0x123)][_0x6aaece(0x1a0)]({'channelId':_0x295478,'threadId':_0x4a128e,'commentId':_0x2e6dd9,'content':_0x3542a7,'attributes':_0xd5ce00})[_0x6aaece(0x1c8)](_0x1a88ed=>{const _0x46e47f=_0x6aaece;_0x1c272f[_0x46e47f(0x1aa)](_0x22697a),_0x1a88ed&&this[_0x46e47f(0x16f)]({'channelId':_0x295478,'threadId':_0x4a128e,'commentId':_0x2e6dd9,'createdAt':_0x1a88ed[_0x46e47f(0x1c1)],'isFromAdapter':!0x0});})[_0x6aaece(0x1ba)](_0x52333b=>{const _0x1eb390=_0x6aaece;throw console[_0x1eb390(0x14a)](_0x52333b),new _0x38e8fb(_0x1eb390(0x1cb),this);});}[_0x1058e0(0x16f)]({threadId:_0x842665,commentId:_0x35b2d7,content:_0x2031f5,createdAt:_0x10d9f0,attributes:_0x1c8483,isFromAdapter:_0x7e94ec}){const _0x556c92=_0x1058e0;if(void 0x0!==_0x2031f5&&(_0x556c92(0x10d)!=typeof _0x2031f5||!_0x2031f5[_0x556c92(0x117)]()[_0x556c92(0x162)]))throw new _0x38e8fb(_0x556c92(0x127));const _0x218807=this[_0x556c92(0x19e)](_0x842665),_0x5dbf7f=_0x218807[_0x556c92(0x1ac)](_0x35b2d7);if(!_0x5dbf7f)throw new _0x38e8fb(_0x556c92(0x10f),this);let _0x3e935b=!0x1;if(_0x2031f5&&_0x2031f5!==_0x5dbf7f[_0x556c92(0x11e)]&&(_0x5dbf7f[_0x556c92(0x1b9)]||_0x7e94ec)&&(_0x5dbf7f[_0x556c92(0x11e)]=_0x2031f5,_0x3e935b=!0x0),_0x10d9f0&&_0x10d9f0!==_0x5dbf7f[_0x556c92(0x1c1)]&&(_0x5dbf7f[_0x556c92(0x1c1)]=_0x10d9f0,_0x5dbf7f[_0x556c92(0x191)]&&_0x5dbf7f[_0x556c92(0x191)][_0x556c92(0x185)]||(_0x5dbf7f[_0x556c92(0x119)]=_0x10d9f0),_0x3e935b=!0x0),_0x1c8483&&!_0xdfad98(_0x1c8483,_0x5dbf7f[_0x556c92(0x191)])&&(_0x5dbf7f[_0x556c92(0x191)]=_0x1c8483,_0x3e935b=!0x0),!_0x3e935b)return Promise[_0x556c92(0x189)]();if(_0x218807[_0x556c92(0x1d6)](_0x556c92(0x105)),_0x7e94ec||!this[_0x556c92(0x123)]||_0x556c92(0x12e)!=typeof this[_0x556c92(0x123)][_0x556c92(0x1bb)])return Promise[_0x556c92(0x189)]();const _0xc2aa64=this[_0x556c92(0x130)][_0x556c92(0x142)][_0x556c92(0x1ca)](_0x556c92(0x1a5)),{channelId:_0x404c55}=this[_0x556c92(0x19e)](_0x5dbf7f[_0x556c92(0x1df)]),_0x2f7bd1=_0xc2aa64[_0x556c92(0x153)](_0x59f0ce(this[_0x556c92(0x130)][_0x556c92(0x13e)],_0x556c92(0x18f)));return this[_0x556c92(0x123)][_0x556c92(0x1bb)]({'channelId':_0x404c55,'threadId':_0x842665,'commentId':_0x35b2d7,'content':_0x2031f5,'attributes':_0x1c8483})[_0x556c92(0x1c8)](()=>_0xc2aa64[_0x556c92(0x1aa)](_0x2f7bd1))[_0x556c92(0x1ba)](_0x365353=>{const _0x291789=_0x556c92;throw console[_0x291789(0x14a)](_0x365353),new _0x38e8fb(_0x291789(0x1b2),this);});}[_0x1058e0(0x18c)]({threadId:_0x1477bb,commentId:_0x6aba80,isFromAdapter:_0x3b9ff4}){const _0x236112=_0x1058e0,_0x5f1678=this[_0x236112(0x19e)](_0x1477bb),_0x7dc5e0=_0x5f1678[_0x236112(0x1ac)](_0x6aba80);if(!_0x7dc5e0)throw new _0x38e8fb(_0x236112(0x1d2),this);if(_0x5f1678[_0x236112(0x1bf)](_0x7dc5e0),_0x3b9ff4||!this[_0x236112(0x123)]||_0x236112(0x12e)!=typeof this[_0x236112(0x123)][_0x236112(0x17a)])return Promise[_0x236112(0x189)]();const _0xb059f2=this[_0x236112(0x130)][_0x236112(0x142)][_0x236112(0x1ca)](_0x236112(0x1a5)),{channelId:_0x6331bd}=_0x5f1678,_0x13bd80=_0xb059f2[_0x236112(0x153)](_0x59f0ce(this[_0x236112(0x130)][_0x236112(0x13e)],_0x236112(0x18f)));return this[_0x236112(0x123)][_0x236112(0x17a)]({'channelId':_0x6331bd,'threadId':_0x1477bb,'commentId':_0x6aba80})[_0x236112(0x1c8)](()=>_0xb059f2[_0x236112(0x1aa)](_0x13bd80))[_0x236112(0x1ba)](_0x38fbba=>{const _0x4ce58=_0x236112;throw console[_0x4ce58(0x14a)](_0x38fbba),new _0x38e8fb(_0x4ce58(0x1d4),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
- _0x4d3b17(){[_0x1058e0(0x125)];['id'];[_0x1058e0(0x1ad)];[_0x1058e0(0x106)];[_0x1058e0(0x18d)];[_0x1058e0(0x155)];constructor(_0x23f999,_0x12b1e2){const _0x379dfe=_0x1058e0;super();const _0x2aba92=_0x12b1e2[_0x379dfe(0x17c)];this[_0x379dfe(0x125)]=_0x12b1e2[_0x379dfe(0x125)],this['id']=_0x12b1e2['id'],this[_0x379dfe(0x18d)]=new _0x4cf71a(),this[_0x379dfe(0x155)]=_0x23f999,this[_0x379dfe(0x1ad)]=!0x1,this[_0x379dfe(0x106)]=_0x12b1e2[_0x379dfe(0x14f)],this[_0x379dfe(0x175)](_0x379dfe(0x152),!0x0),this[_0x379dfe(0x116)](_0x379dfe(0x12d))['to'](_0x23f999,_0x379dfe(0x11d),_0x23f999,_0x379dfe(0x13f),()=>_0x23f999[_0x379dfe(0x12d)](this[_0x379dfe(0x125)])),this[_0x379dfe(0x116)](_0x379dfe(0x154))['to'](_0x23f999,_0x379dfe(0x11d),()=>_0x23f999[_0x379dfe(0x10a)](this[_0x379dfe(0x125)])[_0x379dfe(0x101)]),this[_0x379dfe(0x116)](_0x379dfe(0x111))['to'](_0x23f999,_0x379dfe(0x11d),()=>{const _0x5a822d=_0x379dfe,_0x33609a=_0x23f999[_0x5a822d(0x10a)](this[_0x5a822d(0x125)]);return _0x33609a[_0x5a822d(0x14e)]||_0x33609a[_0x5a822d(0x101)];}),this[_0x379dfe(0x116)](_0x379dfe(0x17c))['to'](_0x23f999,_0x379dfe(0x11d),()=>_0x2aba92&&_0x23f999[_0x379dfe(0x10a)](this[_0x379dfe(0x125)])[_0x379dfe(0x189)]),this[_0x379dfe(0x175)](_0x379dfe(0x130),_0x12b1e2[_0x379dfe(0x130)]),this[_0x379dfe(0x116)](_0x379dfe(0x1b4))['to'](this,_0x379dfe(0x178),this,_0x379dfe(0x1b6),(_0x99171,_0x302765)=>_0x99171?_0x302765?_0x99171<_0x302765?_0x99171:_0x302765:_0x99171:_0x302765),this[_0x379dfe(0x175)](_0x379dfe(0x1b6),_0x12b1e2[_0x379dfe(0x1b6)]||null),this[_0x379dfe(0x175)](_0x379dfe(0x178),_0x12b1e2[_0x379dfe(0x178)]||null),this[_0x379dfe(0x175)](_0x379dfe(0x193),_0x12b1e2[_0x379dfe(0x193)]||null),this[_0x379dfe(0x116)](_0x379dfe(0x1d8))['to'](this,_0x379dfe(0x178),_0xec33cf=>!!_0xec33cf),this[_0x379dfe(0x175)](_0x379dfe(0x191),_0x12b1e2[_0x379dfe(0x191)]||{});}get[_0x1058e0(0x133)](){const _0xb95bb7=_0x1058e0;return Array[_0xb95bb7(0x16a)](this[_0xb95bb7(0x18d)])[_0xb95bb7(0x109)]((_0x1f1b34,_0x4ab93a)=>_0x1f1b34+_0x4ab93a[_0xb95bb7(0x133)],0x0);}get[_0x1058e0(0x162)](){const _0x4d6f2f=_0x1058e0;return this[_0x4d6f2f(0x18d)][_0x4d6f2f(0x162)];}get[_0x1058e0(0x14d)](){const _0x495cc4=_0x1058e0;return this[_0x495cc4(0x1ad)];}get[_0x1058e0(0x14f)](){const _0x1b94dd=_0x1058e0;return this[_0x1b94dd(0x106)];}[_0x1058e0(0x1d1)](){const _0x47a417=_0x1058e0,{channelId:_0x20a13b,id:_0x1d921c}=this;this[_0x47a417(0x155)][_0x47a417(0x1d6)](Nt(_0x47a417(0x135),_0x20a13b),{'channelId':_0x20a13b,'threadId':_0x1d921c});}[_0x1058e0(0x1b8)](_0x249440){const _0x398e3b=_0x1058e0;this[_0x398e3b(0x161)]({'unlinkedAt':_0x249440});}[_0x1058e0(0x189)]({resolvedAt:_0x40e43f=new Date(),resolvedBy:_0x1e310b='',isFromAdapter:_0x3df2f0=!0x1}={}){const _0x1a03e5=_0x1058e0,_0x410bbc=this[_0x1a03e5(0x155)][_0x1a03e5(0x130)][_0x1a03e5(0x142)][_0x1a03e5(0x1ca)](_0x9db1fc)['me'],{channelId:_0x2578ec,id:_0x2d179b}=this;this[_0x1a03e5(0x155)][_0x1a03e5(0x1d6)](Nt(_0x1a03e5(0x17b),_0x2578ec),{'channelId':_0x2578ec,'threadId':_0x2d179b,'resolvedAt':_0x40e43f,'resolvedBy':_0x1e310b||_0x410bbc['id'],'isFromAdapter':_0x3df2f0});}[_0x1058e0(0x1a9)]({isFromAdapter:_0x24a289=!0x1}={}){const _0x406b5e=_0x1058e0,{channelId:_0x247b00,id:_0x15460b}=this;this[_0x406b5e(0x155)][_0x406b5e(0x1d6)](Nt(_0x406b5e(0x128),_0x247b00),{'channelId':_0x247b00,'threadId':_0x15460b,'isFromAdapter':_0x24a289});}[_0x1058e0(0x1d9)](_0x475a77){const _0x318165=_0x1058e0;this[_0x318165(0x130)]||this[_0x318165(0x161)]({'context':_0x475a77});}[_0x1058e0(0x181)](_0x36794d,_0x1f0c7a){const _0x46e0d0=_0x1058e0,_0x1dee6e=_0x281b88(this[_0x46e0d0(0x191)]);_0x4abe96(_0x1dee6e,_0x36794d,_0x1f0c7a),this[_0x46e0d0(0x161)]({'attributes':_0x1dee6e});}[_0x1058e0(0x12b)](_0x445311){const _0x257239=_0x1058e0,_0x33a613=_0x281b88(this[_0x257239(0x191)]);_0x429a56(_0x33a613,_0x445311),this[_0x257239(0x161)]({'attributes':_0x33a613});}[_0x1058e0(0x1aa)]({isFromAdapter:_0x5a271b=!0x1}={}){const _0x161d6e=_0x1058e0,{channelId:_0x328d3a,id:_0x5e7da1}=this;this[_0x161d6e(0x155)][_0x161d6e(0x1d6)](Nt(_0x161d6e(0x132),_0x328d3a),{'channelId':_0x328d3a,'threadId':_0x5e7da1,'isFromAdapter':_0x5a271b});}[_0x1058e0(0x1b5)](_0x2a3f58){const _0xcc5303=_0x1058e0;return this[_0xcc5303(0x155)][_0xcc5303(0x176)]({'threadId':this['id'],'target':_0x2a3f58});}[_0x1058e0(0x1a0)](_0x5825f9){const _0x2f5381=_0x1058e0,{channelId:_0x6e08bb,id:_0x356059}=this;this[_0x2f5381(0x155)][_0x2f5381(0x1d6)](Nt(_0x2f5381(0x1a0),_0x6e08bb,_0x356059),Object[_0x2f5381(0x150)]({'channelId':_0x6e08bb,'threadId':_0x356059},_0x5825f9));}[_0x1058e0(0x1ac)](_0x48ae52){const _0x4585de=_0x1058e0;if(_0x4585de(0x10d)!=typeof _0x48ae52)throw new _0x38e8fb(_0x4585de(0x122),null,{'commentId':_0x48ae52});return this[_0x4585de(0x18d)][_0x4585de(0x1ca)](_0x48ae52);}[_0x1058e0(0x173)](){const _0x16a32d=_0x1058e0;return{'threadId':this['id'],'context':this[_0x16a32d(0x130)],'unlinkedAt':this[_0x16a32d(0x1b6)],'resolvedAt':this[_0x16a32d(0x178)],'resolvedBy':this[_0x16a32d(0x193)]?this[_0x16a32d(0x193)]['id']:null,'archivedAt':this[_0x16a32d(0x1b4)],'comments':this[_0x16a32d(0x18d)][_0x16a32d(0x1a2)](_0x55900d=>_0x55900d[_0x16a32d(0x173)]()),'attributes':this[_0x16a32d(0x191)]};}[_0x1058e0(0x19f)](_0x1bdc58){const _0x421cd8=_0x1058e0;return this[_0x421cd8(0x1d5)](_0x1bdc58,_0x421cd8(0x10c),()=>{const _0x229b00=_0x421cd8,_0x119111=this[_0x229b00(0x118)](_0x1bdc58),_0x2a920a=this[_0x229b00(0x18d)];_0x119111-0x1!=_0x2a920a[_0x229b00(0x1b0)](_0x1bdc58)&&_0x119111+0x1!=_0x2a920a[_0x229b00(0x1b0)](_0x1bdc58)&&(this[_0x229b00(0x1bf)](_0x1bdc58),this[_0x229b00(0x19f)](_0x1bdc58));}),this[_0x421cd8(0x18d)][_0x421cd8(0x153)](_0x1bdc58,this[_0x421cd8(0x118)](_0x1bdc58));}[_0x1058e0(0x161)](_0x5d2cd6){const _0x4bf47f=_0x1058e0,{channelId:_0x7bc385,id:_0x9041d3}=this;this[_0x4bf47f(0x155)][_0x4bf47f(0x1d6)](Nt(_0x4bf47f(0x1d3),_0x7bc385),{..._0x5d2cd6,'channelId':_0x7bc385,'threadId':_0x9041d3});}[_0x1058e0(0x1bf)](_0x3e09c9){const _0xef0f71=_0x1058e0;return this[_0xef0f71(0x174)](_0x3e09c9),_0x3e09c9[_0xef0f71(0xfc)](),this[_0xef0f71(0x18d)][_0xef0f71(0x1aa)](_0x3e09c9);}[_0x1058e0(0x118)](_0x5da4ee){const _0x1da344=_0x1058e0,_0x3e23d0=this[_0x1da344(0x18d)][_0x1da344(0x1e2)](_0x4dd352=>new Date(_0x4dd352[_0x1da344(0x119)])[_0x1da344(0x160)]()>new Date(_0x5da4ee[_0x1da344(0x119)])[_0x1da344(0x160)]());return _0x3e23d0?this[_0x1da344(0x18d)][_0x1da344(0x1b0)](_0x3e23d0):this[_0x1da344(0x162)];}}function _0x2fb6(_0x21c171,_0x1e7943){const _0xf60738=_0xf607();return _0x2fb6=function(_0x2fb68,_0x2c5c3a){_0x2fb68=_0x2fb68-0xfc;let _0x437298=_0xf60738[_0x2fb68];return _0x437298;},_0x2fb6(_0x21c171,_0x1e7943);}export class Comment extends/* #__PURE__ -- @preserve */
25
- _0x4d3b17(){['id'];[_0x1058e0(0x1df)];[_0x1058e0(0x17d)];[_0x1058e0(0x100)];[_0x1058e0(0x10e)];[_0x1058e0(0x1c1)];[_0x1058e0(0x155)];constructor(_0x467a57,_0x21335c){const _0x4104bc=_0x1058e0;super();const _0x23af80=_0x467a57[_0x4104bc(0x130)][_0x4104bc(0x142)][_0x4104bc(0x1ca)](_0x9db1fc)['me'],_0x5a0bb9=_0x467a57[_0x4104bc(0x19e)](_0x21335c[_0x4104bc(0x1df)]),_0x19bbe2=0x0===_0x5a0bb9[_0x4104bc(0x18d)][_0x4104bc(0x162)],_0x2b1b37=_0x23af80===_0x21335c[_0x4104bc(0x17d)];this['id']=_0x21335c['id'],this[_0x4104bc(0x1df)]=_0x21335c[_0x4104bc(0x1df)],this[_0x4104bc(0x17d)]=_0x21335c[_0x4104bc(0x17d)],this[_0x4104bc(0x100)]=_0x21335c[_0x4104bc(0x100)],this[_0x4104bc(0x10e)]=Boolean(_0x21335c[_0x4104bc(0x191)]&&_0x21335c[_0x4104bc(0x191)][_0x4104bc(0x185)]),this[_0x4104bc(0x175)](_0x4104bc(0x11e),_0x21335c[_0x4104bc(0x11e)]),this[_0x4104bc(0x1c1)]=_0x21335c[_0x4104bc(0x1c1)]||new Date(),this[_0x4104bc(0x175)](_0x4104bc(0x119),_0x21335c[_0x4104bc(0x119)]||new Date()),this[_0x4104bc(0x116)](_0x4104bc(0x178))['to'](_0x5a0bb9,_0x4104bc(0x178)),this[_0x4104bc(0x175)](_0x4104bc(0x191),_0x21335c[_0x4104bc(0x191)]||{}),this[_0x4104bc(0x116)](_0x4104bc(0x1b9))['to'](_0x467a57,_0x4104bc(0x11d),()=>{const _0x5dfa60=_0x4104bc,_0x4d4db4=_0x467a57[_0x5dfa60(0x10a)](_0x5a0bb9[_0x5dfa60(0x125)])[_0x5dfa60(0x14e)],_0x19afeb=_0x467a57[_0x5dfa60(0x10a)](_0x5a0bb9[_0x5dfa60(0x125)])[_0x5dfa60(0x102)];return _0x2b1b37&&_0x4d4db4||!_0x2b1b37&&_0x19afeb;}),this[_0x4104bc(0x116)](_0x4104bc(0x154))['to'](_0x5a0bb9,_0x4104bc(0x154),_0x467a57,_0x4104bc(0x11d),_0x3f2268=>{const _0x252710=_0x4104bc,_0x14309a=_0x467a57[_0x252710(0x10a)](_0x5a0bb9[_0x252710(0x125)])[_0x252710(0x14e)],_0xe7001f=_0x467a57[_0x252710(0x10a)](_0x5a0bb9[_0x252710(0x125)])[_0x252710(0x102)];return _0x2b1b37&&_0x14309a||_0x3f2268&&_0x19bbe2||!_0x2b1b37&&_0xe7001f&&!_0x19bbe2;}),this[_0x4104bc(0x116)](_0x4104bc(0x12d))['to'](_0x5a0bb9,_0x4104bc(0x12d)),this[_0x4104bc(0x155)]=_0x467a57;}get[_0x1058e0(0x133)](){const _0x538f1c=_0x1058e0;return Math[_0x538f1c(0x136)](function(_0xa743de){const _0x226bf8=_0x538f1c,_0x438fac=document[_0x226bf8(0x110)](_0x226bf8(0x145));return _0x438fac[_0x226bf8(0x1a1)]=_0xa743de,_0x438fac[_0x226bf8(0x139)][_0x226bf8(0x162)];}(this[_0x538f1c(0x11e)]),0xc8);}[_0x1058e0(0x159)](_0xeef277){const _0x395bb3=_0x1058e0,{threadId:_0x5e363b,id:_0x25b226}=this;if(!this[_0x395bb3(0x155)][_0x395bb3(0x134)](_0x5e363b))throw new _0x38e8fb(_0x395bb3(0x1d0),this);const {channelId:_0x298bdf}=this[_0x395bb3(0x155)][_0x395bb3(0x19e)](_0x5e363b);this[_0x395bb3(0x155)][_0x395bb3(0x1d6)](Nt(_0x395bb3(0x1bb),_0x298bdf,_0x5e363b),{'channelId':_0x298bdf,'threadId':_0x5e363b,'commentId':_0x25b226,..._0xeef277});}[_0x1058e0(0x181)](_0x3d712c,_0x376b3e){const _0x272534=_0x1058e0,_0x1233ff=_0x281b88(this[_0x272534(0x191)]);_0x4abe96(_0x1233ff,_0x3d712c,_0x376b3e),this[_0x272534(0x159)]({'attributes':_0x1233ff});}[_0x1058e0(0x12b)](_0x5793ba){const _0x46c2bf=_0x1058e0,_0x253326=_0x281b88(this[_0x46c2bf(0x191)]);_0x429a56(_0x253326,_0x5793ba),this[_0x46c2bf(0x159)]({'attributes':_0x253326});}[_0x1058e0(0x1aa)](_0x44285e={}){const _0x1c22e1=_0x1058e0;if(!_0x44285e[_0x1c22e1(0x129)]&&!this[_0x1c22e1(0x154)])return;const {threadId:_0x10e75a,id:_0x51d3a8}=this;if(!this[_0x1c22e1(0x155)][_0x1c22e1(0x134)](_0x10e75a))throw new _0x38e8fb(_0x1c22e1(0x1ab),this);const {channelId:_0x334603}=this[_0x1c22e1(0x155)][_0x1c22e1(0x19e)](_0x10e75a);this[_0x1c22e1(0x155)][_0x1c22e1(0x1d6)](Nt(_0x1c22e1(0x17a),_0x334603,_0x10e75a),{'channelId':_0x334603,'threadId':_0x10e75a,'commentId':_0x51d3a8,..._0x44285e});}[_0x1058e0(0x173)](){const _0x1fe5f3=_0x1058e0;return{'commentId':this['id'],'content':this[_0x1fe5f3(0x11e)],'createdAt':this[_0x1fe5f3(0x1c1)],'authorId':this[_0x1fe5f3(0x100)]['id'],'attributes':this[_0x1fe5f3(0x191)]};}[_0x1058e0(0xfc)](){const _0x1be202=_0x1058e0;this[_0x1be202(0x174)]();}}function Nt(_0x1f0c26,..._0xece080){for(const _0xe156cd of _0xece080)void 0x0!==_0xe156cd&&(_0x1f0c26+=':'+String(_0xe156cd));return _0x1f0c26;}
23
+ const _0x3f0bc2=_0x3e70;(function(_0x760bde,_0x4ad661){const _0x1103dd=_0x3e70,_0x40b23a=_0x760bde();while(!![]){try{const _0x155f9d=parseInt(_0x1103dd(0x2aa))/0x1*(-parseInt(_0x1103dd(0x267))/0x2)+parseInt(_0x1103dd(0x2b3))/0x3*(-parseInt(_0x1103dd(0x241))/0x4)+parseInt(_0x1103dd(0x25e))/0x5*(-parseInt(_0x1103dd(0x256))/0x6)+-parseInt(_0x1103dd(0x26f))/0x7+-parseInt(_0x1103dd(0x26a))/0x8*(-parseInt(_0x1103dd(0x1e9))/0x9)+-parseInt(_0x1103dd(0x242))/0xa+parseInt(_0x1103dd(0x21b))/0xb*(parseInt(_0x1103dd(0x222))/0xc);if(_0x155f9d===_0x4ad661)break;else _0x40b23a['push'](_0x40b23a['shift']());}catch(_0x1c3a83){_0x40b23a['push'](_0x40b23a['shift']());}}}(_0x72f7,0x60bab));import{PendingActions as _0x5b53d4,ContextPlugin as _0x1410f9,Editor as _0x196146}from'ckeditor5/src/core.js';import{Collection as _0x459cde,uid as _0x36a791,CKEditorError as _0x3e7f46,ObservableMixin as _0x4db5d5}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x165f57,hashObject as _0x2ae03d,Users as _0x438037}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x72f7(){const _0x3671ef=['_repository','content','toJSON','_getExternalAuthor','isEditable','setActiveCommentThread','reduce','commentsrepository-remove-comment-internal-error','once','PENDING_ACTION_COMMENT_THREAD','_hasTargetInContent','innerView','licenseKey','commentsrepository-remove-comment-missing-comment-thread','bodyCollectionContainer','has','_isAttached','commentsrepository-add-comment-user-not-exists','highest','253wltJRe','change:authoredAt','_readOnlyChannels','@external','commentsrepository-update-missing-comment','function','_updateComment','isVisible','fetchCommentThread','33dpLeUj','_add','canComment','comment','delete','_remove','reopen','getPermissions','_resolveCommentThread','commentsrepository-invalid-commentid','values','resolveCommentThread','addUser','createElement','_permissions','escape','comments.editorConfig','isExternal','setContext','commentsrepository-invalid-comment-thread-id','comments.copyMarkers','context','destroy','_adapter','external:','locale','commentsrepository-update-comment-thread-internal-error','string','threadId','editorReady','fire','removeCommentThread','6966RYQuzX','body','resolve','_submitCommentThread','isResolvable','_findOptimalIndex','getCommentThreads','commentsrepository-resolve-comment-thread-internal-error','commentsrepository-remove-missing-comment-thread','_threadToController','commentsrepository-remove-comment-thread-internal-error','commentsListView','attachTo','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-update-comment-missing-comment-thread','updateComment','deactivateAll','commentsrepository-missing-target','updateCommentThread','refreshVisibility','commentsrepository-remove-missing-comment','commentsrepository-add-comment-internal-error','type','submit','modifyAll','commentsrepository-update-comment-invalid-content','commentsrepository-fetch-comment-thread','define','isPremiumPlugin','pluginName','_update','commentsrepository-reopen-comment-thread','authoredAt','requires','commentsrepository-update-comment-internal-error','change:activeAnnotations','find','createCommentThreadController','commentsrepository-attach-missing-comment-thread','admin','commentsrepository-duplicated-comment-thread-id','isSubmitted','adapter','comments.maxCommentsWhenCollapsed','commentsrepository-add-comment-thread-internal-error','setAttribute','reopenCommentThread','_attachCommentThread','removeComment','activeCommentThread','22ermSzb','isAttached','commentsrepository-active-not-attached','commentUpdated','getAnnotationForCommentThread','addComment','commentsrepository-get-comment-invalid-id','10880436dkgpzE','author','_threads','change:_readOnlyChannels','comments.maxThreadTotalWeight','from','isReadOnly','CommentsRepository','change:isDirty','_removeCommentThread','setPermissions','init','textContent','resolvedAt','editorDestroyed','getComment','_addCommentThread','authorName','focusableElements','_viewToController','_createCommentThreadView','commentsrepository-reopen-comment-thread-internal-error','add','set','commentsrepository-missing-thread-and-adapter-method','getUser','get','lowest','commentThreadInputView','_reopenCommentThread','write','143236aFLaUt','107370lMdcRc','view','resolvedBy','hasCommentThread','focus','PendingActions','getCommentThread','commentsrepository-invalid-comment-content','comments.CommentThreadView','CommentThreadView','comments','stopListening','attributes','getIndex','then','focusTracker','isActive','map','push','assign','6kDHxqr','error','config','weight','isResolved','_addComment','model','addCommentThread','2541430uPnDlP','removeAttribute','commentsrepository-adapter-already-set','creator','getByInnerView','comments.maxCommentCharsWhenCollapsed','_bindAnnotationToEditors','commentsrepository-active-missing-comment-thread','change:_permissions','5432kUrsYc','isOfficialPlugin','unlinkedAt','5584ohcYFD','activate','commentsrepository-missing-comment-thread','_detachCommentThread','_isSubmitted','2501695uhuCzS','getTime','_updateActiveAnnotation','openNewCommentThread','_unbindEditors','createdAt','submitCommentThread','switchReadOnly','remove','catch','div','isFromAdapter','commentId','isDirty','getCommentThreadForAnnotation','innerHTML','filter','archivedAt','commentsrepository-resolved-comment-thread','_removeActiveAnnotation','length','trim','plugins','channelId','commentsrepository-invalid-comment-authorid','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','listenTo','commentInputView','_removeComment','_createNewComment','CommentView','max','setUnlinkedAt','bind','warn','comments.CommentView','isRemovable','noChannel','update','_updateCommentThread'];_0x72f7=function(){return _0x3671ef;};return _0x72f7();}import{cloneDeep as _0x5adb5b,isEqual as _0x31a6ff,set as _0x21efd8,unset as _0xdaa279}from'es-toolkit/compat';import{CommentThreadController as _0xa538eb}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x54def0}from'./ui/view/commentthreadview.js';import{CommentView as _0x28c955}from'./ui/view/commentview.js';import{getTranslation as _0x19a76a}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';function _0x3e70(_0x35d9cf,_0x578132){const _0x72f793=_0x72f7();return _0x3e70=function(_0x3e700e,_0x4261a6){_0x3e700e=_0x3e700e-0x1dd;let _0x475a14=_0x72f793[_0x3e700e];return _0x475a14;},_0x3e70(_0x35d9cf,_0x578132);}import{AnnotationView as _0x43772d}from'../annotations/view/annotationview.js';import{Annotation as _0x233479}from'../annotations/annotation.js';import{Annotations as _0x4e142a}from'../annotations/annotations.js';const _t=Symbol(_0x3f0bc2(0x294)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x1410f9{[_0x3f0bc2(0x224)];[_0x3f0bc2(0x1f2)];[_0x3f0bc2(0x235)];static get[_0x3f0bc2(0x20a)](){return[_0x4e142a,_0x5b53d4,_0x438037];}static get[_0x3f0bc2(0x206)](){const _0x519f75=_0x3f0bc2;return _0x519f75(0x229);}static get[_0x3f0bc2(0x268)](){return!0x0;}static get[_0x3f0bc2(0x205)](){return!0x0;}constructor(_0x9493c4){const _0x204c4d=_0x3f0bc2;super(_0x9493c4),this[_0x204c4d(0x224)]=new Map(),this[_0x204c4d(0x1f2)]=new Map(),this[_0x204c4d(0x235)]=new Map(),this[_0x204c4d(0x239)](_0x204c4d(0x2ac),new Set()),this[_0x204c4d(0x239)](_0x204c4d(0x2c1),new Map());const _0x2bbcae=this[_0x204c4d(0x1de)][_0x204c4d(0x258)];_0x2bbcae[_0x204c4d(0x204)](_0x204c4d(0x214),0x2),_0x2bbcae[_0x204c4d(0x204)](_0x204c4d(0x226),0x1f4),_0x2bbcae[_0x204c4d(0x204)](_0x204c4d(0x263),0x8c),_0x2bbcae[_0x204c4d(0x204)](_0x204c4d(0x24a),_0x54def0),_0x2bbcae[_0x204c4d(0x204)](_0x204c4d(0x292),_0x28c955),_0x2bbcae[_0x204c4d(0x23c)](_0x204c4d(0x2c3))||console[_0x204c4d(0x291)](_0x204c4d(0x288));}[_0x3f0bc2(0x22d)](){const _0x30591a=_0x3f0bc2,_0x305253=this[_0x30591a(0x1de)][_0x30591a(0x285)][_0x30591a(0x23c)](_0x4e142a);this[_0x30591a(0x239)](_0x30591a(0x21a),null),this['on'](_0x30591a(0x25d),(_0xc17411,_0x3cc308)=>this[_0x30591a(0x232)](_0x3cc308)),this['on'](_0x30591a(0x275),(_0x1cb3d6,_0x3fc02e)=>this[_0x30591a(0x1ec)](_0x3fc02e)),this['on'](_0x30591a(0x2be),(_0x3c85bd,_0x435ed8)=>this[_0x30591a(0x2bb)](_0x435ed8)),this['on'](_0x30591a(0x2be),(_0x455f59,_0x3dace1)=>this[_0x30591a(0x271)](_0x3dace1),{'priority':_0x30591a(0x23d)}),this['on'](_0x30591a(0x217),(_0x15e3bf,_0x43f079)=>this[_0x30591a(0x23f)](_0x43f079)),this['on'](_0x30591a(0x217),(_0x45deb3,_0x1426ef)=>this[_0x30591a(0x271)](_0x1426ef),{'priority':_0x30591a(0x23d)}),this['on'](_0x30591a(0x1e8),(_0xdac0bd,_0xae4dac)=>this[_0x30591a(0x22b)](_0xae4dac)),this['on'](_0x30591a(0x1fb),(_0x2ef554,_0x3b5060)=>this[_0x30591a(0x296)](_0x3b5060)),this['on'](_0x30591a(0x1fb),(_0x748602,_0x11ca6a)=>this[_0x30591a(0x271)](_0x11ca6a),{'priority':_0x30591a(0x23d)}),this['on'](_0x30591a(0x220),(_0x3f4bd9,_0x401da2)=>this[_0x30591a(0x25b)](_0x401da2)),this['on'](_0x30591a(0x1f8),(_0x11d9cf,_0xf78187)=>this[_0x30591a(0x2b0)](_0xf78187)),this['on'](_0x30591a(0x219),(_0x4c7832,_0x55d6f6)=>this[_0x30591a(0x28b)](_0x55d6f6)),this['on'](_0x30591a(0x220),(_0x3cc729,{threadId:_0x16896b,isFromAdapter:_0x4e2ba2})=>{const _0x47f840=_0x30591a;if(_0x4e2ba2)return;const _0x343ea1=this[_0x47f840(0x248)](_0x16896b),_0x220866=_0x343ea1&&this[_0x47f840(0x1f2)][_0x47f840(0x23c)](_0x343ea1);_0x220866&&_0x220866[_0x47f840(0x243)][_0x47f840(0x1f4)][_0x47f840(0x246)](-0x1);},{'priority':_0x30591a(0x23d)}),this[_0x30591a(0x289)](_0x305253,_0x30591a(0x20c),(_0x1b5167,_0x27b0ad,_0x55e174)=>{const _0xb446bf=_0x30591a,_0x554c15=Array[_0xb446bf(0x227)](_0x55e174)[_0xb446bf(0x253)](_0x5ac169=>this[_0xb446bf(0x235)][_0xb446bf(0x23c)](_0x5ac169[_0xb446bf(0x2a2)]))[_0xb446bf(0x27f)](Boolean)[0x0];this[_0xb446bf(0x21a)]=_0x554c15?_0x554c15[_0xb446bf(0x25c)]:null;});}set[_0x3f0bc2(0x213)](_0x3c6a5e){const _0xbcaf30=_0x3f0bc2;if(this[_0xbcaf30(0x1e0)])throw new _0x3e7f46(_0xbcaf30(0x260));this[_0xbcaf30(0x1e0)]=_0x3c6a5e;}get[_0x3f0bc2(0x213)](){const _0x70390=_0x3f0bc2;return this[_0x70390(0x1e0)];}[_0x3f0bc2(0x25d)]({channelId:_0x572127=_t,threadId:_0x5d74e7=_0x36a791(),comments:_0x1cf5a7=[],unlinkedAt:_0x12a53f=null,resolvedAt:_0x444d8e=null,resolvedBy:_0x5c45ff=null,target:_0x1118b5=null,context:_0x29ffef=null,attributes:_0x595408={},isResolvable:_0x932625=!0x0,isSubmitted:_0x531ab8=!0x1,isFromAdapter:_0x39f0c0=!0x1}={}){const _0x1173f3=_0x3f0bc2;return this[_0x1173f3(0x1e7)](Nt(_0x1173f3(0x25d),_0x572127),{'channelId':_0x572127,'threadId':_0x5d74e7,'comments':_0x1cf5a7,'unlinkedAt':_0x12a53f,'resolvedAt':_0x444d8e,'resolvedBy':_0x5c45ff,'target':_0x1118b5,'context':_0x29ffef,'attributes':_0x595408,'isFromAdapter':_0x39f0c0,'isResolvable':_0x932625,'isSubmitted':_0x531ab8}),this[_0x1173f3(0x248)](_0x5d74e7);}[_0x3f0bc2(0x272)]({channelId:_0x232232=_t,threadId:_0x37b415=_0x36a791(),target:_0x103fe2,context:_0x113b1d=null,isResolvable:_0xeb002d=!0x0}){const _0x46a7a5=_0x3f0bc2;if(this[_0x46a7a5(0x2ac)][_0x46a7a5(0x2a6)](_0x232232)||this[_0x46a7a5(0x2ac)][_0x46a7a5(0x2a6)](void 0x0))return null;if(!_0x103fe2)throw new _0x3e7f46(_0x46a7a5(0x1fa));const _0x1c26b3=this[_0x46a7a5(0x25d)]({'channelId':_0x232232,'threadId':_0x37b415,'target':_0x103fe2,'context':_0x113b1d,'isResolvable':_0xeb002d});if(!_0x1c26b3)return null;const _0x3fb5ec=this[_0x46a7a5(0x1f2)][_0x46a7a5(0x23c)](_0x1c26b3),_0x130dc5=_0x3fb5ec[_0x46a7a5(0x243)][_0x46a7a5(0x23e)][_0x46a7a5(0x28a)],_0x3c2007=this[_0x46a7a5(0x1de)][_0x46a7a5(0x285)][_0x46a7a5(0x23c)](_0x4e142a),_0x39bd6c=_0x3c2007[_0x46a7a5(0x262)](_0x3fb5ec[_0x46a7a5(0x243)]);return _0x3c2007[_0x46a7a5(0x26b)](_0x39bd6c),_0x130dc5[_0x46a7a5(0x29f)](_0x46a7a5(0x1e6),()=>_0x130dc5[_0x46a7a5(0x246)]()),_0x1c26b3;}[_0x3f0bc2(0x245)](_0x2d534f){const _0x5ba29d=_0x3f0bc2;if(_0x5ba29d(0x1e4)!=typeof _0x2d534f)throw new _0x3e7f46(_0x5ba29d(0x2c6));return this[_0x5ba29d(0x224)][_0x5ba29d(0x2a6)](_0x2d534f);}[_0x3f0bc2(0x1fb)]({channelId:_0x7a56fd=_t,threadId:_0x4d42fa,context:_0x245e1d,unlinkedAt:_0x27570d,attributes:_0x34ec58,isFromAdapter:_0x2f6b1b=!0x1}){const _0x4401b6=_0x3f0bc2;return this[_0x4401b6(0x1e7)](Nt(_0x4401b6(0x1fb),_0x7a56fd),{'channelId':_0x7a56fd,'threadId':_0x4d42fa,'context':_0x245e1d,'unlinkedAt':_0x27570d,'attributes':_0x34ec58,'isFromAdapter':_0x2f6b1b}),this[_0x4401b6(0x248)](_0x4d42fa);}[_0x3f0bc2(0x248)](_0x2fb55c){const _0x4ac363=_0x3f0bc2;if(_0x4ac363(0x1e4)!=typeof _0x2fb55c)throw new _0x3e7f46(_0x4ac363(0x2c6));return this[_0x4ac363(0x224)][_0x4ac363(0x23c)](_0x2fb55c);}[_0x3f0bc2(0x2b2)]({channelId:_0x199c51,threadId:_0x407a34}={}){const _0x1518ca=_0x3f0bc2,_0x50b7f0=this[_0x1518ca(0x248)](_0x407a34);if(_0x50b7f0)return Promise[_0x1518ca(0x1eb)](_0x50b7f0);if(!this[_0x1518ca(0x213)])return Promise[_0x1518ca(0x1eb)](void 0x0);if(_0x1518ca(0x2af)!=typeof this[_0x1518ca(0x213)][_0x1518ca(0x248)])throw new _0x3e7f46(_0x1518ca(0x23a),this[_0x1518ca(0x1de)]);return this[_0x1518ca(0x213)][_0x1518ca(0x248)]({'channelId':_0x199c51,'threadId':_0x407a34})[_0x1518ca(0x250)](_0x1b6fa7=>this[_0x1518ca(0x245)](_0x407a34)?this[_0x1518ca(0x248)](_0x407a34):_0x1b6fa7?this[_0x1518ca(0x25d)](Object[_0x1518ca(0x255)]({'isFromAdapter':!0x0,'channelId':_0x199c51},_0x1b6fa7)):void 0x0)[_0x1518ca(0x278)](_0x3b43dc=>{const _0x1f9903=_0x1518ca;throw console[_0x1f9903(0x257)](_0x3b43dc),new _0x3e7f46(_0x1f9903(0x203),this[_0x1f9903(0x1de)]);});}[_0x3f0bc2(0x1ef)]({channelId:_0x2df004,skipNotAttached:_0x520e77=!0x1,skipEmpty:_0x300430=!0x1,toJSON:_0x21c772=!0x1}={}){const _0x452989=_0x3f0bc2,_0x1c8441=[];for(const _0x3ccb13 of this[_0x452989(0x224)][_0x452989(0x2bd)]())_0x2df004&&_0x3ccb13[_0x452989(0x286)]!==_0x2df004||_0x520e77&&!_0x3ccb13[_0x452989(0x21c)]||_0x300430&&0x0===_0x3ccb13[_0x452989(0x283)]||_0x1c8441[_0x452989(0x254)](_0x3ccb13);return _0x21c772?_0x1c8441[_0x452989(0x253)](_0x50d8a5=>_0x50d8a5[_0x452989(0x299)]()):_0x1c8441;}[_0x3f0bc2(0x21f)](_0x319906){const _0x329d04=_0x3f0bc2,_0x4390b0=this[_0x329d04(0x1f2)][_0x329d04(0x23c)](_0x319906);if(!_0x4390b0)return null;return this[_0x329d04(0x1de)][_0x329d04(0x285)][_0x329d04(0x23c)](_0x4e142a)[_0x329d04(0x262)](_0x4390b0[_0x329d04(0x243)])||null;}[_0x3f0bc2(0x27d)](_0x2de434){const _0x2864c5=_0x3f0bc2,_0x547c1c=this[_0x2864c5(0x235)][_0x2864c5(0x23c)](_0x2de434[_0x2864c5(0x2a2)]);return _0x547c1c?_0x547c1c[_0x2864c5(0x25c)]:null;}[_0x3f0bc2(0x29c)](_0x393977){const _0x50cfbe=_0x3f0bc2,_0x1feb80=this[_0x50cfbe(0x1de)][_0x50cfbe(0x285)][_0x50cfbe(0x23c)](_0x4e142a);if(!_0x393977)return void(this[_0x50cfbe(0x21a)]&&_0x1feb80[_0x50cfbe(0x1f9)]());const _0x5ebdea=this[_0x50cfbe(0x248)](_0x393977);if(!_0x5ebdea)throw new _0x3e7f46(_0x50cfbe(0x265),null,{'threadId':_0x393977});if(!this[_0x50cfbe(0x1f2)][_0x50cfbe(0x2a6)](_0x5ebdea))throw new _0x3e7f46(_0x50cfbe(0x21d),null,{'threadId':_0x393977});const _0x1f4fc5=_0x1feb80[_0x50cfbe(0x262)](this[_0x50cfbe(0x1f2)][_0x50cfbe(0x23c)](_0x5ebdea)[_0x50cfbe(0x243)]);_0x1feb80[_0x50cfbe(0x26b)](_0x1f4fc5);}[_0x3f0bc2(0x276)](_0x738316,_0x531d12){const _0x44932a=_0x3f0bc2;_0x738316?this[_0x44932a(0x2ac)][_0x44932a(0x238)](_0x531d12):this[_0x44932a(0x2ac)][_0x44932a(0x2b7)](_0x531d12),this[_0x44932a(0x1e7)](_0x44932a(0x225),_0x44932a(0x2ac),this[_0x44932a(0x2ac)],this[_0x44932a(0x2ac)]);}[_0x3f0bc2(0x228)](_0x327cf7){const _0x1b51ce=_0x3f0bc2;return this[_0x1b51ce(0x2ac)][_0x1b51ce(0x2a6)](_0x327cf7)||this[_0x1b51ce(0x2ac)][_0x1b51ce(0x2a6)](void 0x0);}[_0x3f0bc2(0x20e)](_0x566e99,_0x26d146){return new _0xa538eb(_0x566e99,_0x26d146);}[_0x3f0bc2(0x22c)](_0x19ec6a,_0x180a43=_t){const _0x18077e=_0x3f0bc2;this[_0x18077e(0x2c1)][_0x18077e(0x239)](_0x180a43,_0x19ec6a),this[_0x18077e(0x1e7)](_0x18077e(0x266),_0x18077e(0x2c1),this[_0x18077e(0x2c1)],this[_0x18077e(0x2c1)]);}[_0x3f0bc2(0x2ba)](_0x2d1207=_t){const _0x51f9bf=_0x3f0bc2;return this[_0x51f9bf(0x2c1)][_0x51f9bf(0x2a6)](_0x2d1207)?this[_0x51f9bf(0x2c1)][_0x51f9bf(0x23c)](_0x2d1207):bt;}[_0x3f0bc2(0x232)]({channelId:_0x18d893,threadId:_0x570167,comments:_0x1d355c,unlinkedAt:_0x5ab96f,resolvedAt:_0x27b05a,resolvedBy:_0x49c522,target:_0xdfde80,context:_0x21f136,attributes:_0x45f13c,isFromAdapter:_0x369400,isResolvable:_0x333dd7,isSubmitted:_0x4ac586}){const _0x35ff27=_0x3f0bc2;if(_0x35ff27(0x1e4)!=typeof _0x570167)throw new _0x3e7f46(_0x35ff27(0x2c6),null,{'threadId':_0x570167});if(this[_0x35ff27(0x245)](_0x570167))throw new _0x3e7f46(_0x35ff27(0x211),null,{'threadId':_0x570167});const _0x26faaf=new CommentThread(this,{'channelId':_0x18d893,'id':_0x570167,'context':_0x21f136,'attributes':_0x45f13c,'unlinkedAt':_0x5ab96f,'resolvedAt':_0x27b05a,'resolvedBy':_0x49c522?this[_0x35ff27(0x1de)][_0x35ff27(0x285)][_0x35ff27(0x23c)](_0x438037)[_0x35ff27(0x23b)](_0x49c522):null,'isResolvable':_0x333dd7,'isSubmitted':_0x4ac586||_0x369400});this[_0x35ff27(0x224)][_0x35ff27(0x239)](_0x570167,_0x26faaf);for(const _0x376cf5 of _0x1d355c)_0x26faaf[_0x35ff27(0x2b4)](this[_0x35ff27(0x28c)]({'threadId':_0x570167,..._0x376cf5}));return _0xdfde80&&_0x26faaf[_0x35ff27(0x1f5)](_0xdfde80),_0x369400||!_0x26faaf[_0x35ff27(0x283)]?Promise[_0x35ff27(0x1eb)]():this[_0x35ff27(0x1ec)]({'channelId':_0x18d893,'threadId':_0x570167});}[_0x3f0bc2(0x1ec)]({channelId:_0x194e81,threadId:_0x1c3b9f}){const _0x24fbf7=_0x3f0bc2;if(!this[_0x24fbf7(0x245)](_0x1c3b9f))throw new _0x3e7f46(_0x24fbf7(0x26c),this);const _0x22e80a=this[_0x24fbf7(0x248)](_0x1c3b9f);if(_0x22e80a[_0x24fbf7(0x26e)]=!0x0,!this[_0x24fbf7(0x213)]||_0x24fbf7(0x2af)!=typeof this[_0x24fbf7(0x213)][_0x24fbf7(0x25d)])return Promise[_0x24fbf7(0x1eb)]();const {id:_0x167aa3,comments:_0x2cbba4,resolvedAt:_0x2bb485,resolvedBy:_0x5cbea1,context:_0x175e87,attributes:_0x18b7f}=_0x22e80a,_0x2b0642=this[_0x24fbf7(0x1de)][_0x24fbf7(0x285)][_0x24fbf7(0x23c)](_0x24fbf7(0x247)),_0x1e94a9=_0x2b0642[_0x24fbf7(0x238)](_0x19a76a(this[_0x24fbf7(0x1de)][_0x24fbf7(0x1e2)],_0x24fbf7(0x2a0)));return this[_0x24fbf7(0x213)][_0x24fbf7(0x25d)]({'channelId':_0x194e81,'threadId':_0x167aa3,'comments':_0x2cbba4[_0x24fbf7(0x253)](_0xca0114=>_0xca0114[_0x24fbf7(0x299)]()),'resolvedAt':_0x2bb485,'resolvedBy':_0x5cbea1?_0x5cbea1['id']:_0x5cbea1,'context':_0x175e87,'attributes':_0x18b7f})[_0x24fbf7(0x250)](({comments:_0x37d39e})=>{const _0x44673e=_0x24fbf7;_0x2b0642[_0x44673e(0x277)](_0x1e94a9);for(const _0x2a52fb of _0x37d39e)this[_0x44673e(0x2b0)]({'channelId':_0x194e81,'threadId':_0x1c3b9f,'commentId':_0x2a52fb[_0x44673e(0x27b)],'createdAt':_0x2a52fb[_0x44673e(0x274)],'isFromAdapter':!0x0});})[_0x24fbf7(0x278)](_0x1e095a=>{const _0x14a5a9=_0x24fbf7;throw console[_0x14a5a9(0x257)](_0x1e095a),new _0x3e7f46(_0x14a5a9(0x215),this);});}[_0x3f0bc2(0x218)]({threadId:_0x1284ce,target:_0x22fa8a}){const _0x598d40=_0x3f0bc2,_0x31917f=this[_0x598d40(0x248)](_0x1284ce);if(!_0x31917f)throw new _0x3e7f46(_0x598d40(0x20f),this);const _0x21ad7c=this[_0x598d40(0x1de)][_0x598d40(0x285)][_0x598d40(0x23c)](_0x598d40(0x247)),_0x587fef=this[_0x598d40(0x1de)][_0x598d40(0x285)][_0x598d40(0x23c)](_0x4e142a),_0x49c83e=this[_0x598d40(0x236)](_0x31917f),_0x47c85e=new _0xa538eb(_0x31917f,_0x49c83e);let _0x3e46fd=null;_0x49c83e['on'](_0x598d40(0x22a),(_0x59d802,_0x2a057f,_0xcb3d5a)=>{const _0xc5afb6=_0x598d40;_0xcb3d5a?_0x3e46fd=_0x21ad7c[_0xc5afb6(0x238)](_0x19a76a(this[_0xc5afb6(0x1de)][_0xc5afb6(0x1e2)],_0xc5afb6(0x2a0))):_0x3e46fd&&(_0x21ad7c[_0xc5afb6(0x277)](_0x3e46fd),_0x3e46fd=null);}),this[_0x598d40(0x1f2)][_0x598d40(0x239)](_0x31917f,_0x47c85e),this[_0x598d40(0x235)][_0x598d40(0x239)](_0x49c83e,_0x47c85e);const _0xfb2750=new _0x43772d(this[_0x598d40(0x1de)][_0x598d40(0x1e2)],_0x49c83e);_0xfb2750[_0x598d40(0x290)](_0x598d40(0x283))['to'](_0x49c83e),_0xfb2750[_0x598d40(0x290)](_0x598d40(0x27c))['to'](_0x49c83e,_0x598d40(0x27c),_0x49c83e,_0x598d40(0x283),(_0x4680a3,_0x139b06)=>_0x4680a3||!_0x139b06),_0xfb2750[_0x598d40(0x290)](_0x598d40(0x252))['to'](_0x49c83e),_0xfb2750[_0x598d40(0x1ff)]=_0x598d40(0x2b6);const _0x22328a=new _0x233479({'view':_0xfb2750,'target':_0x22fa8a,'type':_0x598d40(0x2b6),'isVisible':!_0x31917f[_0x598d40(0x280)]&&!!(_0x598d40(0x2af)==typeof _0x22fa8a?_0x22fa8a():_0x22fa8a)});return _0x49c83e['on'](_0x598d40(0x2c2),()=>{const _0x2bfddc=_0x598d40;_0x22328a[_0x2bfddc(0x1e7)](_0x2bfddc(0x2c2));}),this[_0x598d40(0x264)](_0x49c83e,_0x22328a),_0x587fef[_0x598d40(0x238)](_0x22328a),_0x22328a;}[_0x3f0bc2(0x264)](_0x505447,_0x4a122a){const _0x2302c0=_0x3f0bc2;this[_0x2302c0(0x289)](_0x505447,_0x2302c0(0x1e6),(_0x3f4611,_0x47d253)=>{const _0x154329=_0x2302c0,_0x22d2ba=_0x47d253['ui'][_0x154329(0x243)][_0x154329(0x1ea)][_0x154329(0x2a5)];_0x4a122a[_0x154329(0x234)][_0x154329(0x238)](_0x22d2ba),this[_0x154329(0x1de)]instanceof _0x196146&&this[_0x154329(0x1de)]['ui'][_0x154329(0x251)][_0x154329(0x238)](_0x22d2ba);},{'priority':_0x2302c0(0x2a9)}),this[_0x2302c0(0x289)](_0x505447,_0x2302c0(0x230),(_0x15086d,_0x3fd9ff)=>{const _0x3e401c=_0x2302c0,_0x15e248=_0x3fd9ff['ui'][_0x3e401c(0x243)][_0x3e401c(0x1ea)][_0x3e401c(0x2a5)];_0x4a122a[_0x3e401c(0x234)][_0x3e401c(0x2a6)](_0x15e248)&&_0x4a122a[_0x3e401c(0x234)][_0x3e401c(0x277)](_0x15e248),this[_0x3e401c(0x1de)]instanceof _0x196146&&this[_0x3e401c(0x1de)]['ui'][_0x3e401c(0x251)][_0x3e401c(0x277)](_0x15e248);});}[_0x3f0bc2(0x273)](_0xdfebf5){const _0x158c60=_0x3f0bc2;this[_0x158c60(0x24d)](_0xdfebf5,_0x158c60(0x1e6)),this[_0x158c60(0x24d)](_0xdfebf5,_0x158c60(0x230));}[_0x3f0bc2(0x236)](_0x340941){const _0x26a744=_0x3f0bc2,_0x3ef901=this[_0x26a744(0x1de)][_0x26a744(0x285)][_0x26a744(0x23c)](_0x438037),{config:_0x441034,locale:_0x67cef3}=this[_0x26a744(0x1de)],_0x5bb629=_0x165f57(_0x441034[_0x26a744(0x23c)](_0x26a744(0x1e2)),_0x67cef3);return new(0x0,(_0x441034[_0x26a744(0x23c)](_0x26a744(0x24c)))[(_0x26a744(0x24b))])(_0x67cef3,_0x340941,_0x3ef901['me'],{'editorConfig':{..._0x441034[_0x26a744(0x23c)](_0x26a744(0x2c3)),'licenseKey':this[_0x26a744(0x1de)][_0x26a744(0x258)][_0x26a744(0x23c)](_0x26a744(0x2a3))},'copyMarkers':_0x441034[_0x26a744(0x23c)](_0x26a744(0x1dd)),'maxCommentsWhenCollapsed':_0x441034[_0x26a744(0x23c)](_0x26a744(0x214)),'maxThreadTotalWeight':_0x441034[_0x26a744(0x23c)](_0x26a744(0x226)),'maxCommentCharsWhenCollapsed':_0x441034[_0x26a744(0x23c)](_0x26a744(0x263)),'formatDateTime':_0x5bb629,'CommentView':_0x441034[_0x26a744(0x23c)](_0x26a744(0x24c))[_0x26a744(0x28d)]});}[_0x3f0bc2(0x2bb)]({threadId:_0x40b3aa,channelId:_0xd33ba0,resolvedAt:_0x588f17,resolvedBy:_0x388264,isFromAdapter:_0x32690c}){const _0x4bff56=_0x3f0bc2;if(!this[_0x4bff56(0x245)](_0x40b3aa))throw new _0x3e7f46(_0x4bff56(0x26c),null,{'threadId':_0x40b3aa});const _0x3bd66d=this[_0x4bff56(0x248)](_0x40b3aa);if(_0x3bd66d[_0x4bff56(0x25a)])throw new _0x3e7f46(_0x4bff56(0x281),null,{'threadId':_0x40b3aa});const _0xf50e64=this[_0x4bff56(0x1de)][_0x4bff56(0x285)][_0x4bff56(0x23c)](_0x438037);if(_0x3bd66d[_0x4bff56(0x244)]=_0xf50e64[_0x4bff56(0x23b)](_0x388264),_0x3bd66d[_0x4bff56(0x22f)]=_0x588f17,_0x32690c||!this[_0x4bff56(0x213)]||_0x4bff56(0x2af)!=typeof this[_0x4bff56(0x213)][_0x4bff56(0x2be)])return Promise[_0x4bff56(0x1eb)]();const _0x5e250b=this[_0x4bff56(0x1de)][_0x4bff56(0x285)][_0x4bff56(0x23c)](_0x4bff56(0x247)),_0xb863a2=_0x5e250b[_0x4bff56(0x238)](_0x19a76a(this[_0x4bff56(0x1de)][_0x4bff56(0x1e2)],_0x4bff56(0x2a0)));return this[_0x4bff56(0x213)][_0x4bff56(0x2be)]({'channelId':_0xd33ba0,'threadId':_0x40b3aa})[_0x4bff56(0x250)](({resolvedAt:_0x271db7,resolvedBy:_0x167b5f})=>{const _0x599dea=_0x4bff56;_0x5e250b[_0x599dea(0x277)](_0xb863a2),_0x3bd66d[_0x599dea(0x244)]['id']!==_0x167b5f&&(_0x3bd66d[_0x599dea(0x244)]=_0xf50e64[_0x599dea(0x23b)](_0x167b5f)),_0x3bd66d[_0x599dea(0x22f)]=_0x271db7;})[_0x4bff56(0x278)](_0x1de983=>{const _0x2eb282=_0x4bff56;throw console[_0x2eb282(0x257)](_0x1de983),new _0x3e7f46(_0x2eb282(0x1f0),this);});}[_0x3f0bc2(0x23f)]({threadId:_0x542148,channelId:_0x149a88,isFromAdapter:_0x3c371a}){const _0x587dd8=_0x3f0bc2;if(!this[_0x587dd8(0x245)](_0x542148))throw new _0x3e7f46(_0x587dd8(0x26c),null,{'threadId':_0x542148});const _0x149aef=this[_0x587dd8(0x248)](_0x542148);if(!_0x149aef[_0x587dd8(0x25a)])throw new _0x3e7f46(_0x587dd8(0x208),null,{'threadId':_0x542148});if(_0x149aef[_0x587dd8(0x244)]=null,_0x149aef[_0x587dd8(0x22f)]=null,_0x3c371a||!this[_0x587dd8(0x213)]||_0x587dd8(0x2af)!=typeof this[_0x587dd8(0x213)][_0x587dd8(0x217)])return Promise[_0x587dd8(0x1eb)]();const _0x5f19e9=this[_0x587dd8(0x1de)][_0x587dd8(0x285)][_0x587dd8(0x23c)](_0x587dd8(0x247)),_0x297239=_0x5f19e9[_0x587dd8(0x238)](_0x19a76a(this[_0x587dd8(0x1de)][_0x587dd8(0x1e2)],_0x587dd8(0x2a0)));return this[_0x587dd8(0x213)][_0x587dd8(0x217)]({'channelId':_0x149a88,'threadId':_0x542148})[_0x587dd8(0x250)](()=>_0x5f19e9[_0x587dd8(0x277)](_0x297239))[_0x587dd8(0x278)](_0x3d8749=>{const _0x582e74=_0x587dd8;throw console[_0x582e74(0x257)](_0x3d8749),new _0x3e7f46(_0x582e74(0x237),this);});}[_0x3f0bc2(0x22b)]({threadId:_0x2745d2,isFromAdapter:_0xe6cbdf}){const _0x4597b0=_0x3f0bc2,_0x452ebb=this[_0x4597b0(0x248)](_0x2745d2);if(!_0x452ebb)throw new _0x3e7f46(_0x4597b0(0x1f1),this);if(this[_0x4597b0(0x26d)](_0x2745d2),this[_0x4597b0(0x224)][_0x4597b0(0x2b7)](_0x2745d2),!_0x452ebb[_0x4597b0(0x212)]||_0xe6cbdf||!this[_0x4597b0(0x213)]||_0x4597b0(0x2af)!=typeof this[_0x4597b0(0x213)][_0x4597b0(0x1e8)])return Promise[_0x4597b0(0x1eb)]();const _0x6a41b6=this[_0x4597b0(0x1de)][_0x4597b0(0x285)][_0x4597b0(0x23c)](_0x4597b0(0x247)),{channelId:_0x299ade}=_0x452ebb,_0x46b4dd=_0x6a41b6[_0x4597b0(0x238)](_0x19a76a(this[_0x4597b0(0x1de)][_0x4597b0(0x1e2)],_0x4597b0(0x2a0)));return this[_0x4597b0(0x213)][_0x4597b0(0x1e8)]({'channelId':_0x299ade,'threadId':_0x2745d2})[_0x4597b0(0x250)](()=>_0x6a41b6[_0x4597b0(0x277)](_0x46b4dd))[_0x4597b0(0x278)](_0x2fc69c=>{const _0x14c680=_0x4597b0;throw console[_0x14c680(0x257)](_0x2fc69c),new _0x3e7f46(_0x14c680(0x1f3),this);});}[_0x3f0bc2(0x296)]({threadId:_0x158e74,unlinkedAt:_0x3c1836,context:_0xec977b,attributes:_0x46fff4,isFromAdapter:_0x4f04c9}){const _0x23703b=_0x3f0bc2;if(_0x23703b(0x1e4)!=typeof _0x158e74)throw new _0x3e7f46(_0x23703b(0x2c6),null,{'threadId':_0x158e74});if(!this[_0x23703b(0x245)](_0x158e74))throw new _0x3e7f46(_0x23703b(0x26c),null,{'threadId':_0x158e74});const _0x3292b9=this[_0x23703b(0x248)](_0x158e74);let _0x569265=!0x1;if(void 0x0!==_0xec977b&&_0x3292b9[_0x23703b(0x1de)]!==_0xec977b&&(_0x3292b9[_0x23703b(0x1de)]=_0xec977b,_0x569265=!0x0),void 0x0!==_0x3c1836&&_0x3292b9[_0x23703b(0x269)]!==_0x3c1836&&(_0x3292b9[_0x23703b(0x269)]=_0x3c1836,_0x569265=!0x0),_0x46fff4&&!_0x31a6ff(_0x46fff4,_0x3292b9[_0x23703b(0x24e)])&&(_0x3292b9[_0x23703b(0x24e)]=_0x46fff4,_0x569265=!0x0),!_0x569265)return Promise[_0x23703b(0x1eb)]();if(!_0x3292b9[_0x23703b(0x212)]||_0x4f04c9||!this[_0x23703b(0x213)]||_0x23703b(0x2af)!=typeof this[_0x23703b(0x213)][_0x23703b(0x1fb)])return Promise[_0x23703b(0x1eb)]();const _0x1e5e73=this[_0x23703b(0x1de)][_0x23703b(0x285)][_0x23703b(0x23c)](_0x23703b(0x247)),{channelId:_0x1c8ad9}=_0x3292b9,_0x418bcf=_0x1e5e73[_0x23703b(0x238)](_0x19a76a(this[_0x23703b(0x1de)][_0x23703b(0x1e2)],_0x23703b(0x2a0)));return this[_0x23703b(0x213)][_0x23703b(0x1fb)]({'channelId':_0x1c8ad9,'threadId':_0x158e74,'context':_0xec977b,'unlinkedAt':_0x3c1836,'attributes':_0x46fff4})[_0x23703b(0x250)](()=>_0x1e5e73[_0x23703b(0x277)](_0x418bcf))[_0x23703b(0x278)](_0x576e6f=>{const _0x2ea29f=_0x23703b;throw console[_0x2ea29f(0x257)](_0x576e6f),new _0x3e7f46(_0x2ea29f(0x1e3),this);});}[_0x3f0bc2(0x26d)](_0x3b6943){const _0xbbc447=_0x3f0bc2,_0x41efb4=this[_0xbbc447(0x1de)][_0xbbc447(0x285)][_0xbbc447(0x23c)](_0x4e142a),_0x452593=this[_0xbbc447(0x248)](_0x3b6943);if(_0x452593[_0xbbc447(0x2a7)]=!0x1,this[_0xbbc447(0x1f2)][_0xbbc447(0x2a6)](_0x452593)){const _0x1dc807=this[_0xbbc447(0x1f2)][_0xbbc447(0x23c)](_0x452593),_0x394d66=_0x1dc807[_0xbbc447(0x243)],_0x530ac3=_0x41efb4[_0xbbc447(0x262)](_0x394d66);this[_0xbbc447(0x1f2)][_0xbbc447(0x2b7)](_0x452593),this[_0xbbc447(0x235)][_0xbbc447(0x2b7)](_0x394d66),_0x530ac3&&_0x41efb4[_0xbbc447(0x277)](_0x530ac3),_0x1dc807[_0xbbc447(0x1df)](),_0x394d66[_0xbbc447(0x1df)]()[_0xbbc447(0x250)](()=>{const _0x53a831=_0xbbc447;this[_0x53a831(0x273)](_0x394d66);});}}[_0x3f0bc2(0x271)]({threadId:_0x1f9490,resolvedAt:_0x14d57a,unlinkedAt:_0x13fb2f}){const _0x21d66c=_0x3f0bc2,_0x26cdf3=!!_0x14d57a,_0x513978=this[_0x21d66c(0x1de)][_0x21d66c(0x285)][_0x21d66c(0x23c)](_0x4e142a),_0x5b5cf2=this[_0x21d66c(0x248)](_0x1f9490);if(this[_0x21d66c(0x1f2)][_0x21d66c(0x2a6)](_0x5b5cf2)){const _0x37fe61=this[_0x21d66c(0x1f2)][_0x21d66c(0x23c)](_0x5b5cf2)[_0x21d66c(0x243)],_0x343455=_0x513978[_0x21d66c(0x262)](_0x37fe61);_0x343455&&(_0x26cdf3&&_0x513978[_0x21d66c(0x282)](_0x343455),_0x13fb2f?_0x343455[_0x21d66c(0x2b1)]=!0x1:_0x343455[_0x21d66c(0x1fc)]());}}[_0x3f0bc2(0x29a)](_0x4f3e7a){const _0xf9ef6a=_0x3f0bc2,_0x3df77b=this[_0xf9ef6a(0x1de)][_0xf9ef6a(0x285)][_0xf9ef6a(0x23c)](_0x438037),_0x5e48aa=_0x2ae03d(_0xf9ef6a(0x1e1)+_0x4f3e7a),_0x153819=_0x3df77b[_0xf9ef6a(0x23b)](_0x5e48aa);return _0x153819||_0x3df77b[_0xf9ef6a(0x2bf)]({'id':_0x5e48aa,'name':_0x4f3e7a});}[_0x3f0bc2(0x28c)]({threadId:_0x14f5e3,commentId:_0x44c574=_0x36a791(),content:_0x52840f,authorId:_0x228f64,createdAt:_0x2772a7,attributes:_0x92888e}){const _0x29f34b=_0x3f0bc2;if(_0x29f34b(0x1e4)!=typeof _0x44c574)throw new _0x3e7f46(_0x29f34b(0x2bc));if(_0x29f34b(0x1e4)!=typeof _0x228f64)throw new _0x3e7f46(_0x29f34b(0x287));if(_0x29f34b(0x1e4)!=typeof _0x52840f||!_0x52840f[_0x29f34b(0x284)]())throw new _0x3e7f46(_0x29f34b(0x249));const _0x2e8b0d=this[_0x29f34b(0x1de)][_0x29f34b(0x285)][_0x29f34b(0x23c)](_0x438037)[_0x29f34b(0x23b)](_0x228f64);if(!_0x2e8b0d)throw new _0x3e7f46(_0x29f34b(0x2a8),null,{'authorId':_0x228f64});let _0x72888f=null,_0x3cbb68=_0x2772a7;return _0x92888e?.[_0x29f34b(0x2ad)]&&(_0x72888f=this[_0x29f34b(0x29a)](_0x92888e[_0x29f34b(0x2ad)][_0x29f34b(0x233)]),_0x3cbb68=new Date(_0x92888e[_0x29f34b(0x2ad)][_0x29f34b(0x274)])),new Comment(this,{'threadId':_0x14f5e3,'id':_0x44c574,'author':_0x72888f||_0x2e8b0d,'creator':_0x2e8b0d,'content':_0x52840f,'createdAt':_0x2772a7,'authoredAt':_0x3cbb68,'attributes':_0x92888e});}[_0x3f0bc2(0x25b)](_0x88f619){const _0x5681d6=_0x3f0bc2;let {threadId:_0x2735b5,content:_0x3a98e4,attributes:_0x1db5b5,isFromAdapter:_0x3a763d}=_0x88f619;const _0x2ea1e0=this[_0x5681d6(0x248)](_0x88f619[_0x5681d6(0x1e5)]);if(!_0x2ea1e0)throw new _0x3e7f46(_0x5681d6(0x1f6),this);const _0x3427a0=this[_0x5681d6(0x28c)](_0x88f619),{id:_0x49036e}=_0x3427a0;if(_0x2ea1e0[_0x5681d6(0x2b4)](_0x3427a0),_0x3a763d||!this[_0x5681d6(0x213)]||_0x5681d6(0x2af)!=typeof this[_0x5681d6(0x213)][_0x5681d6(0x220)]||!_0x2ea1e0[_0x5681d6(0x212)])return Promise[_0x5681d6(0x1eb)]();const _0x479e99=this[_0x5681d6(0x1de)][_0x5681d6(0x285)][_0x5681d6(0x23c)](_0x5681d6(0x247)),{channelId:_0x321e22}=_0x2ea1e0,_0x2032c5=_0x479e99[_0x5681d6(0x238)](_0x19a76a(this[_0x5681d6(0x1de)][_0x5681d6(0x1e2)],_0x5681d6(0x2a0)));return _0x1db5b5||(_0x1db5b5={}),this[_0x5681d6(0x213)][_0x5681d6(0x220)]({'channelId':_0x321e22,'threadId':_0x2735b5,'commentId':_0x49036e,'content':_0x3a98e4,'attributes':_0x1db5b5})[_0x5681d6(0x250)](_0x51b08d=>{const _0x114eca=_0x5681d6;_0x479e99[_0x114eca(0x277)](_0x2032c5),_0x51b08d&&this[_0x114eca(0x2b0)]({'channelId':_0x321e22,'threadId':_0x2735b5,'commentId':_0x49036e,'createdAt':_0x51b08d[_0x114eca(0x274)],'isFromAdapter':!0x0});})[_0x5681d6(0x278)](_0x3ced90=>{const _0x1c8a3f=_0x5681d6;throw console[_0x1c8a3f(0x257)](_0x3ced90),new _0x3e7f46(_0x1c8a3f(0x1fe),this);});}[_0x3f0bc2(0x2b0)]({threadId:_0x748fa6,commentId:_0x39e774,content:_0x54a193,createdAt:_0x53209f,attributes:_0x30f31,isFromAdapter:_0x1f8795}){const _0x4489bb=_0x3f0bc2;if(void 0x0!==_0x54a193&&(_0x4489bb(0x1e4)!=typeof _0x54a193||!_0x54a193[_0x4489bb(0x284)]()[_0x4489bb(0x283)]))throw new _0x3e7f46(_0x4489bb(0x202));const _0x4e0b49=this[_0x4489bb(0x248)](_0x748fa6),_0xc30d07=_0x4e0b49[_0x4489bb(0x231)](_0x39e774);if(!_0xc30d07)throw new _0x3e7f46(_0x4489bb(0x2ae),this);let _0x3efc71=!0x1;if(_0x54a193&&_0x54a193!==_0xc30d07[_0x4489bb(0x298)]&&(_0xc30d07[_0x4489bb(0x29b)]||_0x1f8795)&&(_0xc30d07[_0x4489bb(0x298)]=_0x54a193,_0x3efc71=!0x0),_0x53209f&&_0x53209f!==_0xc30d07[_0x4489bb(0x274)]&&(_0xc30d07[_0x4489bb(0x274)]=_0x53209f,_0xc30d07[_0x4489bb(0x24e)]&&_0xc30d07[_0x4489bb(0x24e)][_0x4489bb(0x2ad)]||(_0xc30d07[_0x4489bb(0x209)]=_0x53209f),_0x3efc71=!0x0),_0x30f31&&!_0x31a6ff(_0x30f31,_0xc30d07[_0x4489bb(0x24e)])&&(_0xc30d07[_0x4489bb(0x24e)]=_0x30f31,_0x3efc71=!0x0),!_0x3efc71)return Promise[_0x4489bb(0x1eb)]();if(_0x4e0b49[_0x4489bb(0x1e7)](_0x4489bb(0x21e)),_0x1f8795||!this[_0x4489bb(0x213)]||_0x4489bb(0x2af)!=typeof this[_0x4489bb(0x213)][_0x4489bb(0x1f8)])return Promise[_0x4489bb(0x1eb)]();const _0x256288=this[_0x4489bb(0x1de)][_0x4489bb(0x285)][_0x4489bb(0x23c)](_0x4489bb(0x247)),{channelId:_0x1ac422}=this[_0x4489bb(0x248)](_0xc30d07[_0x4489bb(0x1e5)]),_0x5be5f1=_0x256288[_0x4489bb(0x238)](_0x19a76a(this[_0x4489bb(0x1de)][_0x4489bb(0x1e2)],_0x4489bb(0x2a0)));return this[_0x4489bb(0x213)][_0x4489bb(0x1f8)]({'channelId':_0x1ac422,'threadId':_0x748fa6,'commentId':_0x39e774,'content':_0x54a193,'attributes':_0x30f31})[_0x4489bb(0x250)](()=>_0x256288[_0x4489bb(0x277)](_0x5be5f1))[_0x4489bb(0x278)](_0x1013ba=>{const _0x23df61=_0x4489bb;throw console[_0x23df61(0x257)](_0x1013ba),new _0x3e7f46(_0x23df61(0x20b),this);});}[_0x3f0bc2(0x28b)]({threadId:_0x4446c9,commentId:_0x516c88,isFromAdapter:_0x3d67e7}){const _0x54559f=_0x3f0bc2,_0x59eb69=this[_0x54559f(0x248)](_0x4446c9),_0x19c5a2=_0x59eb69[_0x54559f(0x231)](_0x516c88);if(!_0x19c5a2)throw new _0x3e7f46(_0x54559f(0x1fd),this);if(_0x59eb69[_0x54559f(0x2b8)](_0x19c5a2),_0x3d67e7||!this[_0x54559f(0x213)]||_0x54559f(0x2af)!=typeof this[_0x54559f(0x213)][_0x54559f(0x219)])return Promise[_0x54559f(0x1eb)]();const _0x2c7334=this[_0x54559f(0x1de)][_0x54559f(0x285)][_0x54559f(0x23c)](_0x54559f(0x247)),{channelId:_0x50fdbe}=_0x59eb69,_0x54bd2=_0x2c7334[_0x54559f(0x238)](_0x19a76a(this[_0x54559f(0x1de)][_0x54559f(0x1e2)],_0x54559f(0x2a0)));return this[_0x54559f(0x213)][_0x54559f(0x219)]({'channelId':_0x50fdbe,'threadId':_0x4446c9,'commentId':_0x516c88})[_0x54559f(0x250)](()=>_0x2c7334[_0x54559f(0x277)](_0x54bd2))[_0x54559f(0x278)](_0x488940=>{const _0x147109=_0x54559f;throw console[_0x147109(0x257)](_0x488940),new _0x3e7f46(_0x147109(0x29e),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
+ _0x4db5d5(){[_0x3f0bc2(0x286)];['id'];[_0x3f0bc2(0x2a7)];[_0x3f0bc2(0x26e)];[_0x3f0bc2(0x24c)];[_0x3f0bc2(0x297)];constructor(_0x588d0e,_0x3ca743){const _0x72010=_0x3f0bc2;super();const _0x316055=_0x3ca743[_0x72010(0x1ed)];this[_0x72010(0x286)]=_0x3ca743[_0x72010(0x286)],this['id']=_0x3ca743['id'],this[_0x72010(0x24c)]=new _0x459cde(),this[_0x72010(0x297)]=_0x588d0e,this[_0x72010(0x2a7)]=!0x1,this[_0x72010(0x26e)]=_0x3ca743[_0x72010(0x212)],this[_0x72010(0x239)](_0x72010(0x2a1),!0x0),this[_0x72010(0x290)](_0x72010(0x228))['to'](_0x588d0e,_0x72010(0x2c1),_0x588d0e,_0x72010(0x2ac),()=>_0x588d0e[_0x72010(0x228)](this[_0x72010(0x286)])),this[_0x72010(0x290)](_0x72010(0x293))['to'](_0x588d0e,_0x72010(0x2c1),()=>_0x588d0e[_0x72010(0x2ba)](this[_0x72010(0x286)])[_0x72010(0x210)]),this[_0x72010(0x290)](_0x72010(0x2b5))['to'](_0x588d0e,_0x72010(0x2c1),()=>{const _0x5eddbe=_0x72010,_0x54e14c=_0x588d0e[_0x5eddbe(0x2ba)](this[_0x5eddbe(0x286)]);return _0x54e14c[_0x5eddbe(0x240)]||_0x54e14c[_0x5eddbe(0x210)];}),this[_0x72010(0x290)](_0x72010(0x1ed))['to'](_0x588d0e,_0x72010(0x2c1),()=>_0x316055&&_0x588d0e[_0x72010(0x2ba)](this[_0x72010(0x286)])[_0x72010(0x1eb)]),this[_0x72010(0x239)](_0x72010(0x1de),_0x3ca743[_0x72010(0x1de)]),this[_0x72010(0x290)](_0x72010(0x280))['to'](this,_0x72010(0x22f),this,_0x72010(0x269),(_0x561ff6,_0x1bb9b3)=>_0x561ff6?_0x1bb9b3?_0x561ff6<_0x1bb9b3?_0x561ff6:_0x1bb9b3:_0x561ff6:_0x1bb9b3),this[_0x72010(0x239)](_0x72010(0x269),_0x3ca743[_0x72010(0x269)]||null),this[_0x72010(0x239)](_0x72010(0x22f),_0x3ca743[_0x72010(0x22f)]||null),this[_0x72010(0x239)](_0x72010(0x244),_0x3ca743[_0x72010(0x244)]||null),this[_0x72010(0x290)](_0x72010(0x25a))['to'](this,_0x72010(0x22f),_0x2a6d5f=>!!_0x2a6d5f),this[_0x72010(0x239)](_0x72010(0x24e),_0x3ca743[_0x72010(0x24e)]||{});}get[_0x3f0bc2(0x259)](){const _0x506b97=_0x3f0bc2;return Array[_0x506b97(0x227)](this[_0x506b97(0x24c)])[_0x506b97(0x29d)]((_0x3ff7dd,_0x5317fd)=>_0x3ff7dd+_0x5317fd[_0x506b97(0x259)],0x0);}get[_0x3f0bc2(0x283)](){const _0x1eb119=_0x3f0bc2;return this[_0x1eb119(0x24c)][_0x1eb119(0x283)];}get[_0x3f0bc2(0x21c)](){const _0x17a6b6=_0x3f0bc2;return this[_0x17a6b6(0x2a7)];}get[_0x3f0bc2(0x212)](){const _0x3a7870=_0x3f0bc2;return this[_0x3a7870(0x26e)];}[_0x3f0bc2(0x200)](){const _0x47b4c3=_0x3f0bc2,{channelId:_0x2f7688,id:_0x64b975}=this;this[_0x47b4c3(0x297)][_0x47b4c3(0x1e7)](Nt(_0x47b4c3(0x275),_0x2f7688),{'channelId':_0x2f7688,'threadId':_0x64b975});}[_0x3f0bc2(0x28f)](_0x32c14d){const _0x34d664=_0x3f0bc2;this[_0x34d664(0x207)]({'unlinkedAt':_0x32c14d});}[_0x3f0bc2(0x1eb)]({resolvedAt:_0x5f0a5c=new Date(),resolvedBy:_0x5917a6='',isFromAdapter:_0x466a2b=!0x1}={}){const _0x463cf1=_0x3f0bc2,_0x1b17e8=this[_0x463cf1(0x297)][_0x463cf1(0x1de)][_0x463cf1(0x285)][_0x463cf1(0x23c)](_0x438037)['me'],{channelId:_0x3b731c,id:_0x2bdd08}=this;this[_0x463cf1(0x297)][_0x463cf1(0x1e7)](Nt(_0x463cf1(0x2be),_0x3b731c),{'channelId':_0x3b731c,'threadId':_0x2bdd08,'resolvedAt':_0x5f0a5c,'resolvedBy':_0x5917a6||_0x1b17e8['id'],'isFromAdapter':_0x466a2b});}[_0x3f0bc2(0x2b9)]({isFromAdapter:_0x575f07=!0x1}={}){const _0x31bfaa=_0x3f0bc2,{channelId:_0x5be93a,id:_0x28624d}=this;this[_0x31bfaa(0x297)][_0x31bfaa(0x1e7)](Nt(_0x31bfaa(0x217),_0x5be93a),{'channelId':_0x5be93a,'threadId':_0x28624d,'isFromAdapter':_0x575f07});}[_0x3f0bc2(0x2c5)](_0x1fe58d){const _0x28e021=_0x3f0bc2;this[_0x28e021(0x1de)]||this[_0x28e021(0x207)]({'context':_0x1fe58d});}[_0x3f0bc2(0x216)](_0x4005ec,_0x985f32){const _0x7be2b0=_0x3f0bc2,_0x23476a=_0x5adb5b(this[_0x7be2b0(0x24e)]);_0x21efd8(_0x23476a,_0x4005ec,_0x985f32),this[_0x7be2b0(0x207)]({'attributes':_0x23476a});}[_0x3f0bc2(0x25f)](_0x3d7c78){const _0x8b9b72=_0x3f0bc2,_0x1b7e4d=_0x5adb5b(this[_0x8b9b72(0x24e)]);_0xdaa279(_0x1b7e4d,_0x3d7c78),this[_0x8b9b72(0x207)]({'attributes':_0x1b7e4d});}[_0x3f0bc2(0x277)]({isFromAdapter:_0x289260=!0x1}={}){const _0x221bed=_0x3f0bc2,{channelId:_0x282866,id:_0x566503}=this;this[_0x221bed(0x297)][_0x221bed(0x1e7)](Nt(_0x221bed(0x1e8),_0x282866),{'channelId':_0x282866,'threadId':_0x566503,'isFromAdapter':_0x289260});}[_0x3f0bc2(0x1f5)](_0xbe9ae0){const _0x2c2d5e=_0x3f0bc2;return this[_0x2c2d5e(0x297)][_0x2c2d5e(0x218)]({'threadId':this['id'],'target':_0xbe9ae0});}[_0x3f0bc2(0x220)](_0x3125e6){const _0x3d0ffe=_0x3f0bc2,{channelId:_0x4edefa,id:_0x2daffc}=this;this[_0x3d0ffe(0x297)][_0x3d0ffe(0x1e7)](Nt(_0x3d0ffe(0x220),_0x4edefa,_0x2daffc),Object[_0x3d0ffe(0x255)]({'channelId':_0x4edefa,'threadId':_0x2daffc},_0x3125e6));}[_0x3f0bc2(0x231)](_0x18df14){const _0x302dc7=_0x3f0bc2;if(_0x302dc7(0x1e4)!=typeof _0x18df14)throw new _0x3e7f46(_0x302dc7(0x221),null,{'commentId':_0x18df14});return this[_0x302dc7(0x24c)][_0x302dc7(0x23c)](_0x18df14);}[_0x3f0bc2(0x299)](){const _0x30d91b=_0x3f0bc2;return{'threadId':this['id'],'context':this[_0x30d91b(0x1de)],'unlinkedAt':this[_0x30d91b(0x269)],'resolvedAt':this[_0x30d91b(0x22f)],'resolvedBy':this[_0x30d91b(0x244)]?this[_0x30d91b(0x244)]['id']:null,'archivedAt':this[_0x30d91b(0x280)],'comments':this[_0x30d91b(0x24c)][_0x30d91b(0x253)](_0x355179=>_0x355179[_0x30d91b(0x299)]()),'attributes':this[_0x30d91b(0x24e)]};}[_0x3f0bc2(0x2b4)](_0x1a4c4b){const _0x425036=_0x3f0bc2;return this[_0x425036(0x289)](_0x1a4c4b,_0x425036(0x2ab),()=>{const _0x3089f4=_0x425036,_0x26e9e1=this[_0x3089f4(0x1ee)](_0x1a4c4b),_0x12e957=this[_0x3089f4(0x24c)];_0x26e9e1-0x1!=_0x12e957[_0x3089f4(0x24f)](_0x1a4c4b)&&_0x26e9e1+0x1!=_0x12e957[_0x3089f4(0x24f)](_0x1a4c4b)&&(this[_0x3089f4(0x2b8)](_0x1a4c4b),this[_0x3089f4(0x2b4)](_0x1a4c4b));}),this[_0x425036(0x24c)][_0x425036(0x238)](_0x1a4c4b,this[_0x425036(0x1ee)](_0x1a4c4b));}[_0x3f0bc2(0x207)](_0x36d4cc){const _0x2b252f=_0x3f0bc2,{channelId:_0x395acd,id:_0x24a6e1}=this;this[_0x2b252f(0x297)][_0x2b252f(0x1e7)](Nt(_0x2b252f(0x1fb),_0x395acd),{..._0x36d4cc,'channelId':_0x395acd,'threadId':_0x24a6e1});}[_0x3f0bc2(0x2b8)](_0x4da3fc){const _0x2c0aad=_0x3f0bc2;return this[_0x2c0aad(0x24d)](_0x4da3fc),_0x4da3fc[_0x2c0aad(0x1df)](),this[_0x2c0aad(0x24c)][_0x2c0aad(0x277)](_0x4da3fc);}[_0x3f0bc2(0x1ee)](_0x2c4540){const _0x1ee577=_0x3f0bc2,_0xa63e96=this[_0x1ee577(0x24c)][_0x1ee577(0x20d)](_0x5c4987=>new Date(_0x5c4987[_0x1ee577(0x209)])[_0x1ee577(0x270)]()>new Date(_0x2c4540[_0x1ee577(0x209)])[_0x1ee577(0x270)]());return _0xa63e96?this[_0x1ee577(0x24c)][_0x1ee577(0x24f)](_0xa63e96):this[_0x1ee577(0x283)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
+ _0x4db5d5(){['id'];[_0x3f0bc2(0x1e5)];[_0x3f0bc2(0x223)];[_0x3f0bc2(0x261)];[_0x3f0bc2(0x2c4)];[_0x3f0bc2(0x274)];[_0x3f0bc2(0x297)];constructor(_0x2d9202,_0x545346){const _0x15fb84=_0x3f0bc2;super();const _0x18871a=_0x2d9202[_0x15fb84(0x1de)][_0x15fb84(0x285)][_0x15fb84(0x23c)](_0x438037)['me'],_0x16fbe9=_0x2d9202[_0x15fb84(0x248)](_0x545346[_0x15fb84(0x1e5)]),_0xb3a57d=0x0===_0x16fbe9[_0x15fb84(0x24c)][_0x15fb84(0x283)],_0x3cb558=_0x18871a===_0x545346[_0x15fb84(0x223)];this['id']=_0x545346['id'],this[_0x15fb84(0x1e5)]=_0x545346[_0x15fb84(0x1e5)],this[_0x15fb84(0x223)]=_0x545346[_0x15fb84(0x223)],this[_0x15fb84(0x261)]=_0x545346[_0x15fb84(0x261)],this[_0x15fb84(0x2c4)]=Boolean(_0x545346[_0x15fb84(0x24e)]&&_0x545346[_0x15fb84(0x24e)][_0x15fb84(0x2ad)]),this[_0x15fb84(0x239)](_0x15fb84(0x298),_0x545346[_0x15fb84(0x298)]),this[_0x15fb84(0x274)]=_0x545346[_0x15fb84(0x274)]||new Date(),this[_0x15fb84(0x239)](_0x15fb84(0x209),_0x545346[_0x15fb84(0x209)]||new Date()),this[_0x15fb84(0x290)](_0x15fb84(0x22f))['to'](_0x16fbe9,_0x15fb84(0x22f)),this[_0x15fb84(0x239)](_0x15fb84(0x24e),_0x545346[_0x15fb84(0x24e)]||{}),this[_0x15fb84(0x290)](_0x15fb84(0x29b))['to'](_0x2d9202,_0x15fb84(0x2c1),()=>{const _0x1d32e9=_0x15fb84,_0x3bbc1e=_0x2d9202[_0x1d32e9(0x2ba)](_0x16fbe9[_0x1d32e9(0x286)])[_0x1d32e9(0x240)],_0x3b9ab3=_0x2d9202[_0x1d32e9(0x2ba)](_0x16fbe9[_0x1d32e9(0x286)])[_0x1d32e9(0x201)];return _0x3cb558&&_0x3bbc1e||!_0x3cb558&&_0x3b9ab3;}),this[_0x15fb84(0x290)](_0x15fb84(0x293))['to'](_0x16fbe9,_0x15fb84(0x293),_0x2d9202,_0x15fb84(0x2c1),_0x4666ae=>{const _0x25d0a7=_0x15fb84,_0xe13d62=_0x2d9202[_0x25d0a7(0x2ba)](_0x16fbe9[_0x25d0a7(0x286)])[_0x25d0a7(0x240)],_0x5b9eb6=_0x2d9202[_0x25d0a7(0x2ba)](_0x16fbe9[_0x25d0a7(0x286)])[_0x25d0a7(0x201)];return _0x3cb558&&_0xe13d62||_0x4666ae&&_0xb3a57d||!_0x3cb558&&_0x5b9eb6&&!_0xb3a57d;}),this[_0x15fb84(0x290)](_0x15fb84(0x228))['to'](_0x16fbe9,_0x15fb84(0x228)),this[_0x15fb84(0x297)]=_0x2d9202;}get[_0x3f0bc2(0x259)](){const _0x1fbf74=_0x3f0bc2;return Math[_0x1fbf74(0x28e)](function(_0x37d3d5){const _0x4909a0=_0x1fbf74,_0x15968d=document[_0x4909a0(0x2c0)](_0x4909a0(0x279));return _0x15968d[_0x4909a0(0x27e)]=_0x37d3d5,_0x15968d[_0x4909a0(0x22e)][_0x4909a0(0x283)];}(this[_0x1fbf74(0x298)]),0xc8);}[_0x3f0bc2(0x295)](_0x11c9f1){const _0x542aa6=_0x3f0bc2,{threadId:_0x233558,id:_0x1e661a}=this;if(!this[_0x542aa6(0x297)][_0x542aa6(0x245)](_0x233558))throw new _0x3e7f46(_0x542aa6(0x1f7),this);const {channelId:_0x34c7f0}=this[_0x542aa6(0x297)][_0x542aa6(0x248)](_0x233558);this[_0x542aa6(0x297)][_0x542aa6(0x1e7)](Nt(_0x542aa6(0x1f8),_0x34c7f0,_0x233558),{'channelId':_0x34c7f0,'threadId':_0x233558,'commentId':_0x1e661a,..._0x11c9f1});}[_0x3f0bc2(0x216)](_0x5e0438,_0x3cb0fd){const _0x31b896=_0x3f0bc2,_0x3bf7ca=_0x5adb5b(this[_0x31b896(0x24e)]);_0x21efd8(_0x3bf7ca,_0x5e0438,_0x3cb0fd),this[_0x31b896(0x295)]({'attributes':_0x3bf7ca});}[_0x3f0bc2(0x25f)](_0x102df1){const _0x5ec15e=_0x3f0bc2,_0x316d95=_0x5adb5b(this[_0x5ec15e(0x24e)]);_0xdaa279(_0x316d95,_0x102df1),this[_0x5ec15e(0x295)]({'attributes':_0x316d95});}[_0x3f0bc2(0x277)](_0x85de6={}){const _0xbef85a=_0x3f0bc2;if(!_0x85de6[_0xbef85a(0x27a)]&&!this[_0xbef85a(0x293)])return;const {threadId:_0x20386c,id:_0x32e9b7}=this;if(!this[_0xbef85a(0x297)][_0xbef85a(0x245)](_0x20386c))throw new _0x3e7f46(_0xbef85a(0x2a4),this);const {channelId:_0x57cd9f}=this[_0xbef85a(0x297)][_0xbef85a(0x248)](_0x20386c);this[_0xbef85a(0x297)][_0xbef85a(0x1e7)](Nt(_0xbef85a(0x219),_0x57cd9f,_0x20386c),{'channelId':_0x57cd9f,'threadId':_0x20386c,'commentId':_0x32e9b7,..._0x85de6});}[_0x3f0bc2(0x299)](){const _0x34dd23=_0x3f0bc2;return{'commentId':this['id'],'content':this[_0x34dd23(0x298)],'createdAt':this[_0x34dd23(0x274)],'authorId':this[_0x34dd23(0x261)]['id'],'attributes':this[_0x34dd23(0x24e)]};}[_0x3f0bc2(0x1df)](){const _0x37b746=_0x3f0bc2;this[_0x37b746(0x24d)]();}}function Nt(_0x49769d,..._0x24284d){for(const _0x532332 of _0x24284d)void 0x0!==_0x532332&&(_0x49769d+=':'+String(_0x532332));return _0x49769d;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c67e6=_0x47df;function _0x5214(){const _0x5edd2a=['isOfficialPlugin','commentsLicenseKeyTrialLimit','listenTo','editor','Comments','comment:','licenseKey','removeCommentThread','4761393rKIzvE','destroy','innerView','getRange','change:activeAnnotations','view','stop','highest','5SKxRGf','commentsLicenseKeyValid','commentsLicenseKeyUsageLimit','config','push','isPremiumPlugin','commentsLicenseKeyDomainLimit','pluginName','commentsLicenseKeyEvaluationLimit','11wOlJOF','1056LzDOeA','Comment','addComment','invalid','domainLimit','hasCommentThread','expired','isEnabled','commands','menuBar:comment','isFocused','36327730nhxEKX','editing','length','CommentsUI','model','low','commentsLicenseKeyExpired','getCommentThread','_showLicenseError','locale','featureNotAllowed','get','plugins','addCommentThread','componentFactory','587RjaHLm','commentsLicenseKeyNotAllowed','1996844mYGDWn','trialLimit','commentsLicenseKeyInvalid','bind','comment','has','activeMarker','add','CommentsListView','_licenseKeyCheckInterval','_createUIButton','tooltip','3856272gdCgCU','_viewToController','_threadToController','addSourceCollector','hasContent','113364ziItnK','requires','11436YHYscX','focus','hasMarkerForId','focusTracker','map','evaluationLimit','execute','init','from','CommentThreadInputView','getAllMarkersForId','734cFrQsr','usageLimit','set','find'];_0x5214=function(){return _0x5edd2a;};return _0x5214();}(function(_0x28a43e,_0x3645cf){const _0x52ca2a=_0x47df,_0x45e14f=_0x28a43e();while(!![]){try{const _0x435c79=parseInt(_0x52ca2a(0xfd))/0x1*(parseInt(_0x52ca2a(0x11d))/0x2)+parseInt(_0x52ca2a(0xd1))/0x3+-parseInt(_0x52ca2a(0xff))/0x4*(-parseInt(_0x52ca2a(0xd9))/0x5)+-parseInt(_0x52ca2a(0x112))/0x6+parseInt(_0x52ca2a(0x10b))/0x7+parseInt(_0x52ca2a(0xe3))/0x8*(parseInt(_0x52ca2a(0x110))/0x9)+-parseInt(_0x52ca2a(0xee))/0xa*(parseInt(_0x52ca2a(0xe2))/0xb);if(_0x435c79===_0x3645cf)break;else _0x45e14f['push'](_0x45e14f['shift']());}catch(_0x1bcdf5){_0x45e14f['push'](_0x45e14f['shift']());}}}(_0x5214,0xd7014));import{Plugin as _0x184251}from'ckeditor5/src/core.js';import{IconAddComment as _0x1a04ec}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x33e1bb}from'./commentsrepository.js';function _0x47df(_0x358140,_0x69d5dd){const _0x52143c=_0x5214();return _0x47df=function(_0x47df16,_0x5be974){_0x47df16=_0x47df16-0xc6;let _0x40ad82=_0x52143c[_0x47df16];return _0x40ad82;},_0x47df(_0x358140,_0x69d5dd);}import{CommentsEditing as _0x58dc99}from'./commentsediting.js';import{EditorAnnotations as _0x29a4cc}from'../annotations/editorannotations.js';import{ButtonView as _0x7bc6bc,MenuBarMenuListItemButtonView as _0xd29efa}from'ckeditor5/src/ui.js';import{Annotations as _0x465dfa}from'../annotations/annotations.js';import{CommentsListView as _0x5e9b98}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x393969}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x10c877}from'../utils/common-translations.js';export class CommentsUI extends _0x184251{[_0x5c67e6(0xcf)];[_0x5c67e6(0x108)];static get[_0x5c67e6(0xe0)](){const _0x159574=_0x5c67e6;return _0x159574(0xf1);}static get[_0x5c67e6(0xc9)](){return!0x0;}static get[_0x5c67e6(0xde)](){return!0x0;}static get[_0x5c67e6(0x111)](){return[_0x33e1bb,_0x58dc99,_0x29a4cc,_0x465dfa];}get[_0x5c67e6(0x107)](){return _0x5e9b98;}get[_0x5c67e6(0x11b)](){return _0x393969;}[_0x5c67e6(0x119)](){const _0x3820a7=_0x5c67e6,_0x198b37=this[_0x3820a7(0xcc)],_0x16e425=_0x198b37[_0x3820a7(0xfa)][_0x3820a7(0xf9)](_0x33e1bb),_0x3f338c=_0x198b37[_0x3820a7(0xfa)][_0x3820a7(0xf9)](_0x58dc99),_0x338885=_0x198b37[_0x3820a7(0xfa)][_0x3820a7(0xf9)](_0x465dfa),_0x219532=_0x198b37[_0x3820a7(0xfa)][_0x3820a7(0xf9)](_0x29a4cc);_0x198b37['ui'][_0x3820a7(0xfc)][_0x3820a7(0x106)](_0x3820a7(0x103),()=>{const _0x57b6c7=_0x3820a7,_0x11202d=this[_0x57b6c7(0x109)](_0x7bc6bc);return _0x11202d[_0x57b6c7(0x10a)]=!0x0,_0x11202d;}),_0x198b37['ui'][_0x3820a7(0xfc)][_0x3820a7(0x106)](_0x3820a7(0xec),()=>this[_0x3820a7(0x109)](_0xd29efa)),_0x219532[_0x3820a7(0x10e)](()=>{const _0x4459c0=_0x3820a7,_0x1c5d8f=[];for(const [_0x1ca675,_0x565e58]of _0x16e425[_0x4459c0(0x10d)]){const _0x103311=_0x3f338c[_0x4459c0(0x11c)](_0x1ca675['id']),_0x69dac7=_0x103311[_0x4459c0(0x116)](_0x3f4f2e=>_0x3f4f2e[_0x4459c0(0xd4)]());_0x103311[_0x4459c0(0xf0)]>0x0&&_0x1c5d8f[_0x4459c0(0xdd)]([_0x565e58[_0x4459c0(0xd6)],_0x69dac7]);}return _0x1c5d8f;}),this[_0x3820a7(0xcb)](_0x338885,_0x3820a7(0xd5),(_0x385a85,_0x62c523,_0x183ee7)=>{const _0x417be8=_0x3820a7,_0x500a2c=Array[_0x417be8(0x11a)](_0x183ee7)[_0x417be8(0x116)](_0x46364b=>_0x46364b[_0x417be8(0xd3)])[_0x417be8(0xc8)](_0x5f10f0=>_0x16e425[_0x417be8(0x10c)][_0x417be8(0x104)](_0x5f10f0));if(!_0x500a2c)return void(_0x3f338c[_0x417be8(0x105)]=null);const _0x2c379a=_0x16e425[_0x417be8(0x10c)][_0x417be8(0xf9)](_0x500a2c)[_0x417be8(0xf2)]['id'],_0x11e1d7=_0x417be8(0xce)+_0x2c379a;_0x2c379a&&_0x3f338c[_0x417be8(0x114)](_0x2c379a)?_0x3f338c[_0x417be8(0x105)]=_0x11e1d7:_0x3f338c[_0x417be8(0x105)]&&(_0x3f338c[_0x417be8(0x105)]=null);}),this[_0x3820a7(0xcb)](_0x16e425,_0x3820a7(0xd0),(_0x5db645,{threadId:_0x3ef550,isFromAdapter:_0x3fd6e6})=>{const _0x2299e2=_0x3820a7;!_0x3fd6e6&&_0x198b37['ui'][_0x2299e2(0x115)][_0x2299e2(0xed)]&&_0x3f338c[_0x2299e2(0x114)](_0x3ef550)&&_0x198b37[_0x2299e2(0xef)][_0x2299e2(0xd6)][_0x2299e2(0x113)]();},{'priority':_0x3820a7(0xd8)}),this[_0x3820a7(0xcb)](_0x16e425,_0x3820a7(0xe5),(_0x5cfdf3,{threadId:_0x4dacd4,isFromAdapter:_0x3f13ff})=>{const _0x538377=_0x3820a7;if(_0x3f13ff||!_0x3f338c[_0x538377(0x114)](_0x4dacd4)||!_0x16e425[_0x538377(0xe8)](_0x4dacd4))return;0x1===_0x16e425[_0x538377(0xf5)](_0x4dacd4)[_0x538377(0xf0)]&&(_0x198b37[_0x538377(0xef)][_0x538377(0xd6)][_0x538377(0x113)](),_0x5cfdf3[_0x538377(0xd7)]());},{'priority':_0x3820a7(0xf3)}),this[_0x3820a7(0xcf)]=this[_0x3820a7(0xcc)][_0x3820a7(0xdc)][_0x3820a7(0xf9)](_0x3820a7(0xcf));const _0x57b1c8=this[_0x3820a7(0xcc)];this[_0x3820a7(0x108)]=setInterval(()=>{const _0x213c7e=_0x3820a7;let _0xdf20e;for(const _0x346933 in _0x57b1c8){const _0x18a3fb=_0x346933,_0x27ac6d=_0x57b1c8[_0x18a3fb];if(_0x213c7e(0xda)==_0x27ac6d||_0x213c7e(0x101)==_0x27ac6d||_0x213c7e(0xf4)==_0x27ac6d||_0x213c7e(0xdf)==_0x27ac6d||_0x213c7e(0xfe)==_0x27ac6d||_0x213c7e(0xe1)==_0x27ac6d||_0x213c7e(0xca)==_0x27ac6d||_0x213c7e(0xdb)==_0x27ac6d){delete _0x57b1c8[_0x18a3fb],_0xdf20e=_0x27ac6d,clearInterval(this[_0x213c7e(0x108)]),this[_0x213c7e(0x108)]=void 0x0;break;}}_0x213c7e(0x101)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0xe6)),_0x213c7e(0xf4)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0xe9)),_0x213c7e(0xdf)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0xe7)),_0x213c7e(0xfe)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0xf8),_0x213c7e(0xcd)),_0x213c7e(0xe1)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0x117)),_0x213c7e(0xca)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0x100)),_0x213c7e(0xdb)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0xc6));},0x3e8);}[_0x5c67e6(0xd2)](){const _0x408739=_0x5c67e6;super[_0x408739(0xd2)](),this[_0x408739(0x108)]&&clearInterval(this[_0x408739(0x108)]);}[_0x5c67e6(0x109)](_0x88d018){const _0x4da517=_0x5c67e6,_0x1a1939=this[_0x4da517(0xcc)],_0x27dfef=new _0x88d018(_0x1a1939[_0x4da517(0xf7)]),_0x55f5be=_0x1a1939[_0x4da517(0xeb)][_0x4da517(0xf9)](_0x4da517(0xfb));return _0x27dfef[_0x4da517(0xc7)]({'label':_0x10c877(_0x1a1939[_0x4da517(0xf7)],_0x4da517(0xe4)),'icon':_0x1a04ec}),_0x27dfef[_0x4da517(0x102)](_0x4da517(0xea))['to'](_0x55f5be,_0x4da517(0xea),_0x55f5be,_0x4da517(0x10f),(_0x1247f2,_0x259c36)=>_0x1247f2&&_0x259c36),this[_0x4da517(0xcb)](_0x27dfef,_0x4da517(0x118),()=>{const _0x2a691d=_0x4da517;_0x55f5be[_0x2a691d(0x118)]();}),_0x27dfef;}}
23
+ const _0x41c082=_0x13ae;function _0x9355(){const _0x13c0d3=['add','commentsLicenseKeyExpired','comment:','commands','usageLimit','domainLimit','invalid','addSourceCollector','stop','3096pEcdJE','3870kZEEEE','2033980ebJPLq','pluginName','getRange','commentsLicenseKeyTrialLimit','low','hasMarkerForId','view','length','30685TpHVCV','execute','activeMarker','commentsLicenseKeyUsageLimit','focusTracker','has','menuBar:comment','12kwBGeB','commentsLicenseKeyNotAllowed','set','focus','_threadToController','bind','addComment','editor','170568bUsiUy','licenseKey','commentsLicenseKeyEvaluationLimit','hasCommentThread','2171818FTKchP','677126apYbsX','listenTo','map','commentsLicenseKeyValid','getAllMarkersForId','112fjVxEL','evaluationLimit','hasContent','plugins','config','isFocused','_viewToController','comment','getCommentThread','18mCGMCl','3WBvqfN','find','Comments','Comment','isPremiumPlugin','get','from','commentsLicenseKeyDomainLimit','trialLimit','innerView','destroy','model','_showLicenseError','featureNotAllowed','push','isOfficialPlugin','change:activeAnnotations','CommentsUI','_createUIButton','commentsLicenseKeyInvalid','tooltip','removeCommentThread','init','767770ahXBSw','editing','addCommentThread','CommentThreadInputView','locale','_licenseKeyCheckInterval','CommentsListView','isEnabled','componentFactory','highest','expired','requires'];_0x9355=function(){return _0x13c0d3;};return _0x9355();}(function(_0x1a25f1,_0x446821){const _0x34117e=_0x13ae,_0x391eef=_0x1a25f1();while(!![]){try{const _0x3ee23f=-parseInt(_0x34117e(0x197))/0x1+parseInt(_0x34117e(0x152))/0x2+parseInt(_0x34117e(0x161))/0x3*(-parseInt(_0x34117e(0x18f))/0x4)+parseInt(_0x34117e(0x178))/0x5*(parseInt(_0x34117e(0x160))/0x6)+-parseInt(_0x34117e(0x157))/0x7*(-parseInt(_0x34117e(0x14d))/0x8)+-parseInt(_0x34117e(0x18d))/0x9*(parseInt(_0x34117e(0x18e))/0xa)+-parseInt(_0x34117e(0x151))/0xb*(parseInt(_0x34117e(0x145))/0xc);if(_0x3ee23f===_0x446821)break;else _0x391eef['push'](_0x391eef['shift']());}catch(_0x2e88ca){_0x391eef['push'](_0x391eef['shift']());}}}(_0x9355,0x42117));import{Plugin as _0x1265a5}from'ckeditor5/src/core.js';import{IconAddComment as _0x41f72e}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x2447f1}from'./commentsrepository.js';import{CommentsEditing as _0x2792ed}from'./commentsediting.js';import{EditorAnnotations as _0x2ae508}from'../annotations/editorannotations.js';import{ButtonView as _0x3c714c,MenuBarMenuListItemButtonView as _0x432fd3}from'ckeditor5/src/ui.js';import{Annotations as _0x1d8c84}from'../annotations/annotations.js';function _0x13ae(_0x477ac3,_0x1baf74){const _0x93553a=_0x9355();return _0x13ae=function(_0x13aea0,_0x1b8c8d){_0x13aea0=_0x13aea0-0x141;let _0x1e1eb0=_0x93553a[_0x13aea0];return _0x1e1eb0;},_0x13ae(_0x477ac3,_0x1baf74);}import{CommentsListView as _0x190d49}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x3e43a4}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x1c425e}from'../utils/common-translations.js';export class CommentsUI extends _0x1265a5{[_0x41c082(0x14e)];[_0x41c082(0x17d)];static get[_0x41c082(0x190)](){const _0x1d5d05=_0x41c082;return _0x1d5d05(0x172);}static get[_0x41c082(0x170)](){return!0x0;}static get[_0x41c082(0x165)](){return!0x0;}static get[_0x41c082(0x183)](){return[_0x2447f1,_0x2792ed,_0x2ae508,_0x1d8c84];}get[_0x41c082(0x17e)](){return _0x190d49;}get[_0x41c082(0x17b)](){return _0x3e43a4;}[_0x41c082(0x177)](){const _0xa09446=_0x41c082,_0x180e2b=this[_0xa09446(0x14c)],_0x366edc=_0x180e2b[_0xa09446(0x15a)][_0xa09446(0x166)](_0x2447f1),_0xdc5aa3=_0x180e2b[_0xa09446(0x15a)][_0xa09446(0x166)](_0x2792ed),_0x463614=_0x180e2b[_0xa09446(0x15a)][_0xa09446(0x166)](_0x1d8c84),_0x101bc9=_0x180e2b[_0xa09446(0x15a)][_0xa09446(0x166)](_0x2ae508);_0x180e2b['ui'][_0xa09446(0x180)][_0xa09446(0x184)](_0xa09446(0x15e),()=>{const _0x1a34ad=_0xa09446,_0x31f03a=this[_0x1a34ad(0x173)](_0x3c714c);return _0x31f03a[_0x1a34ad(0x175)]=!0x0,_0x31f03a;}),_0x180e2b['ui'][_0xa09446(0x180)][_0xa09446(0x184)](_0xa09446(0x144),()=>this[_0xa09446(0x173)](_0x432fd3)),_0x101bc9[_0xa09446(0x18b)](()=>{const _0xe04d41=_0xa09446,_0x434b46=[];for(const [_0x38425c,_0x2bc365]of _0x366edc[_0xe04d41(0x149)]){const _0x103af9=_0xdc5aa3[_0xe04d41(0x156)](_0x38425c['id']),_0x4ad443=_0x103af9[_0xe04d41(0x154)](_0x346007=>_0x346007[_0xe04d41(0x191)]());_0x103af9[_0xe04d41(0x196)]>0x0&&_0x434b46[_0xe04d41(0x16f)]([_0x2bc365[_0xe04d41(0x195)],_0x4ad443]);}return _0x434b46;}),this[_0xa09446(0x153)](_0x463614,_0xa09446(0x171),(_0x590f52,_0xe184fa,_0x3df1f5)=>{const _0x568470=_0xa09446,_0x162f93=Array[_0x568470(0x167)](_0x3df1f5)[_0x568470(0x154)](_0x1e9a8e=>_0x1e9a8e[_0x568470(0x16a)])[_0x568470(0x162)](_0x18193e=>_0x366edc[_0x568470(0x15d)][_0x568470(0x143)](_0x18193e));if(!_0x162f93)return void(_0xdc5aa3[_0x568470(0x199)]=null);const _0x3fcdb9=_0x366edc[_0x568470(0x15d)][_0x568470(0x166)](_0x162f93)[_0x568470(0x16c)]['id'],_0x11dd3c=_0x568470(0x186)+_0x3fcdb9;_0x3fcdb9&&_0xdc5aa3[_0x568470(0x194)](_0x3fcdb9)?_0xdc5aa3[_0x568470(0x199)]=_0x11dd3c:_0xdc5aa3[_0x568470(0x199)]&&(_0xdc5aa3[_0x568470(0x199)]=null);}),this[_0xa09446(0x153)](_0x366edc,_0xa09446(0x176),(_0x190a6d,{threadId:_0x181ae4,isFromAdapter:_0x891790})=>{const _0x192ce3=_0xa09446;!_0x891790&&_0x180e2b['ui'][_0x192ce3(0x142)][_0x192ce3(0x15c)]&&_0xdc5aa3[_0x192ce3(0x194)](_0x181ae4)&&_0x180e2b[_0x192ce3(0x179)][_0x192ce3(0x195)][_0x192ce3(0x148)]();},{'priority':_0xa09446(0x181)}),this[_0xa09446(0x153)](_0x366edc,_0xa09446(0x14b),(_0x3874c5,{threadId:_0x23f3ff,isFromAdapter:_0x4ef567})=>{const _0xe747b8=_0xa09446;if(_0x4ef567||!_0xdc5aa3[_0xe747b8(0x194)](_0x23f3ff)||!_0x366edc[_0xe747b8(0x150)](_0x23f3ff))return;0x1===_0x366edc[_0xe747b8(0x15f)](_0x23f3ff)[_0xe747b8(0x196)]&&(_0x180e2b[_0xe747b8(0x179)][_0xe747b8(0x195)][_0xe747b8(0x148)](),_0x3874c5[_0xe747b8(0x18c)]());},{'priority':_0xa09446(0x193)}),this[_0xa09446(0x14e)]=this[_0xa09446(0x14c)][_0xa09446(0x15b)][_0xa09446(0x166)](_0xa09446(0x14e));const _0x2ad594=this[_0xa09446(0x14c)];this[_0xa09446(0x17d)]=setInterval(()=>{const _0x194659=_0xa09446;let _0x42b286;for(const _0x24ae8e in _0x2ad594){const _0x3bf0c8=_0x24ae8e,_0xb54429=_0x2ad594[_0x3bf0c8];if(_0x194659(0x155)==_0xb54429||_0x194659(0x174)==_0xb54429||_0x194659(0x185)==_0xb54429||_0x194659(0x168)==_0xb54429||_0x194659(0x146)==_0xb54429||_0x194659(0x14f)==_0xb54429||_0x194659(0x192)==_0xb54429||_0x194659(0x141)==_0xb54429){delete _0x2ad594[_0x3bf0c8],_0x42b286=_0xb54429,clearInterval(this[_0x194659(0x17d)]),this[_0x194659(0x17d)]=void 0x0;break;}}_0x194659(0x174)==_0x42b286&&_0x2ad594[_0x194659(0x16d)](_0x194659(0x18a)),_0x194659(0x185)==_0x42b286&&_0x2ad594[_0x194659(0x16d)](_0x194659(0x182)),_0x194659(0x168)==_0x42b286&&_0x2ad594[_0x194659(0x16d)](_0x194659(0x189)),_0x194659(0x146)==_0x42b286&&_0x2ad594[_0x194659(0x16d)](_0x194659(0x16e),_0x194659(0x163)),_0x194659(0x14f)==_0x42b286&&_0x2ad594[_0x194659(0x16d)](_0x194659(0x158)),_0x194659(0x192)==_0x42b286&&_0x2ad594[_0x194659(0x16d)](_0x194659(0x169)),_0x194659(0x141)==_0x42b286&&_0x2ad594[_0x194659(0x16d)](_0x194659(0x188));},0x3e8);}[_0x41c082(0x16b)](){const _0x95ac=_0x41c082;super[_0x95ac(0x16b)](),this[_0x95ac(0x17d)]&&clearInterval(this[_0x95ac(0x17d)]);}[_0x41c082(0x173)](_0x5ad861){const _0x38d553=_0x41c082,_0x19387e=this[_0x38d553(0x14c)],_0x1813ee=new _0x5ad861(_0x19387e[_0x38d553(0x17c)]),_0xaef422=_0x19387e[_0x38d553(0x187)][_0x38d553(0x166)](_0x38d553(0x17a));return _0x1813ee[_0x38d553(0x147)]({'label':_0x1c425e(_0x19387e[_0x38d553(0x17c)],_0x38d553(0x164)),'icon':_0x41f72e}),_0x1813ee[_0x38d553(0x14a)](_0x38d553(0x17f))['to'](_0xaef422,_0x38d553(0x17f),_0xaef422,_0x38d553(0x159),(_0x373e6b,_0x4b4bf0)=>_0x373e6b&&_0x4b4bf0),this[_0x38d553(0x153)](_0x1813ee,_0x38d553(0x198),()=>{const _0x237cad=_0x38d553;_0xaef422[_0x237cad(0x198)]();}),_0x1813ee;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42f3a5=_0x49e0;(function(_0x12a32e,_0x57b4b6){const _0x325667=_0x49e0,_0x1c17d1=_0x12a32e();while(!![]){try{const _0x1b7e5a=-parseInt(_0x325667(0xf1))/0x1+-parseInt(_0x325667(0x107))/0x2*(parseInt(_0x325667(0x101))/0x3)+-parseInt(_0x325667(0xf8))/0x4*(-parseInt(_0x325667(0x114))/0x5)+-parseInt(_0x325667(0x100))/0x6*(-parseInt(_0x325667(0x113))/0x7)+parseInt(_0x325667(0x10c))/0x8+parseInt(_0x325667(0xfe))/0x9*(-parseInt(_0x325667(0xfa))/0xa)+-parseInt(_0x325667(0x110))/0xb;if(_0x1b7e5a===_0x57b4b6)break;else _0x1c17d1['push'](_0x1c17d1['shift']());}catch(_0x4c65fc){_0x1c17d1['push'](_0x1c17d1['shift']());}}}(_0x16d9,0x1ab74));import{Plugin as _0x140da8}from'ckeditor5/src/core.js';function _0x49e0(_0x256db1,_0x33a565){const _0x16d9e8=_0x16d9();return _0x49e0=function(_0x49e020,_0x143077){_0x49e020=_0x49e020-0xf0;let _0x47281b=_0x16d9e8[_0x49e020];return _0x47281b;},_0x49e0(_0x256db1,_0x33a565);}function _0x16d9(){const _0x5143e8=['split','579480DmDNiL','hasCommentThread','config','_mapCommentsCopyConfigToRegisterConfiguration','1039269llKEnA','afterInit','never','134792evpdWU','556190uzLvSt','ClipboardMarkersUtils','_removeMarkersWithoutThreads','_registerMarkerToCopy','CommentsRepository','markers','listenTo','comments.copyMarkers','3295UfYhrk','highest','_registerMarkerInClipboardPipeline','default','always','ClipboardPipeline','all','4dOaSHK','editor','23930ZDbQXd','cut','dragstart','keys','216nMHJsV','requires','60vyWVvh','334797tJFucu','plugins','comment','content','get','delete','2YyXjFO','has','contentInsertion','define'];_0x16d9=function(){return _0x5143e8;};return _0x16d9();}import{ClipboardPipeline as _0x205026,ClipboardMarkersUtils as _0x47782a}from'ckeditor5/src/clipboard.js';export class CommentsClipboard extends _0x140da8{constructor(_0x127b1a){const _0x328f02=_0x49e0;super(_0x127b1a),this[_0x328f02(0xf9)][_0x328f02(0x10e)][_0x328f02(0x10a)](_0x328f02(0xf0),_0x328f02(0xf4));}static get[_0x42f3a5(0xff)](){return[_0x47782a,_0x205026];}[_0x42f3a5(0x111)](){const _0x5a49ca=_0x42f3a5,_0x181ad7=this[_0x5a49ca(0xf9)][_0x5a49ca(0x102)][_0x5a49ca(0x105)](_0x5a49ca(0xf6));this[_0x5a49ca(0xf3)](),this[_0x5a49ca(0x11a)](_0x181ad7,_0x5a49ca(0x109),(_0x113339,_0x179a26)=>this[_0x5a49ca(0x116)](_0x179a26[_0x5a49ca(0x104)][_0x5a49ca(0x119)]),{'priority':_0x5a49ca(0xf2)});}[_0x42f3a5(0x116)](_0x5555f7){const _0x24fa29=_0x42f3a5;if(!this[_0x24fa29(0xf9)][_0x24fa29(0x102)][_0x24fa29(0x108)](_0x24fa29(0x118)))return _0x5555f7;const _0x4c66b1=this[_0x24fa29(0xf9)][_0x24fa29(0x102)][_0x24fa29(0x105)](_0x24fa29(0x118));for(const _0x5c741b of _0x5555f7[_0x24fa29(0xfd)]()){const [_0x2c50b8,_0x1ef73d]=_0x5c741b[_0x24fa29(0x10b)](':');_0x24fa29(0x103)!=_0x2c50b8||_0x4c66b1[_0x24fa29(0x10d)](_0x1ef73d)||_0x5555f7[_0x24fa29(0x106)](_0x5c741b);}return _0x5555f7;}[_0x42f3a5(0xf3)](){const _0x462f76=_0x42f3a5,_0x3f07b8=this[_0x462f76(0xf9)][_0x462f76(0x102)][_0x462f76(0x105)](_0x462f76(0x115)),_0x8a4645=this[_0x462f76(0x10f)](this[_0x462f76(0xf9)][_0x462f76(0x10e)][_0x462f76(0x105)](_0x462f76(0xf0)));_0x8a4645&&_0x3f07b8[_0x462f76(0x117)](_0x462f76(0x103),_0x8a4645);}[_0x42f3a5(0x10f)](_0x53a538){const _0xa7051b=_0x42f3a5;switch(_0x53a538){case _0xa7051b(0xf5):return{'allowedActions':_0xa7051b(0xf7),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0xa7051b(0xf4):return{'allowedActions':[_0xa7051b(0xfb),_0xa7051b(0xfc)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0xa7051b(0x112):return null;default:return null;}}}
23
+ const _0x55c848=_0x37fb;function _0x37fb(_0x55e259,_0x1abb0e){const _0x2d9383=_0x2d93();return _0x37fb=function(_0x37fbf8,_0x3deb83){_0x37fbf8=_0x37fbf8-0x167;let _0x57b78c=_0x2d9383[_0x37fbf8];return _0x57b78c;},_0x37fb(_0x55e259,_0x1abb0e);}(function(_0x27f90d,_0x56844d){const _0x41adad=_0x37fb,_0x234e3a=_0x27f90d();while(!![]){try{const _0x5ebab3=-parseInt(_0x41adad(0x16d))/0x1+-parseInt(_0x41adad(0x172))/0x2+-parseInt(_0x41adad(0x16b))/0x3+-parseInt(_0x41adad(0x168))/0x4+-parseInt(_0x41adad(0x187))/0x5*(parseInt(_0x41adad(0x18f))/0x6)+parseInt(_0x41adad(0x171))/0x7+parseInt(_0x41adad(0x18a))/0x8*(parseInt(_0x41adad(0x179))/0x9);if(_0x5ebab3===_0x56844d)break;else _0x234e3a['push'](_0x234e3a['shift']());}catch(_0x16ed69){_0x234e3a['push'](_0x234e3a['shift']());}}}(_0x2d93,0x7861a));import{Plugin as _0x20abf9}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x1db10a,ClipboardMarkersUtils as _0x4471e7}from'ckeditor5/src/clipboard.js';export class CommentsClipboard extends _0x20abf9{constructor(_0x40d827){const _0x4994cd=_0x37fb;super(_0x40d827),this[_0x4994cd(0x17e)][_0x4994cd(0x17c)][_0x4994cd(0x169)](_0x4994cd(0x18e),_0x4994cd(0x16e));}static get[_0x55c848(0x17f)](){return[_0x4471e7,_0x1db10a];}[_0x55c848(0x16f)](){const _0x3e293d=_0x55c848,_0x596b20=this[_0x3e293d(0x17e)][_0x3e293d(0x170)][_0x3e293d(0x17b)](_0x3e293d(0x17a));this[_0x3e293d(0x188)](),this[_0x3e293d(0x18c)](_0x596b20,_0x3e293d(0x184),(_0x5acec0,_0x3bd10f)=>this[_0x3e293d(0x182)](_0x3bd10f[_0x3e293d(0x186)][_0x3e293d(0x178)]),{'priority':_0x3e293d(0x18d)});}[_0x55c848(0x182)](_0xd29c8b){const _0x15dda8=_0x55c848;if(!this[_0x15dda8(0x17e)][_0x15dda8(0x170)][_0x15dda8(0x17d)](_0x15dda8(0x181)))return _0xd29c8b;const _0x32fafb=this[_0x15dda8(0x17e)][_0x15dda8(0x170)][_0x15dda8(0x17b)](_0x15dda8(0x181));for(const _0x3c736b of _0xd29c8b[_0x15dda8(0x183)]()){const [_0x5df114,_0x589759]=_0x3c736b[_0x15dda8(0x16c)](':');_0x15dda8(0x173)!=_0x5df114||_0x32fafb[_0x15dda8(0x174)](_0x589759)||_0xd29c8b[_0x15dda8(0x180)](_0x3c736b);}return _0xd29c8b;}[_0x55c848(0x188)](){const _0x2c1857=_0x55c848,_0x34f06=this[_0x2c1857(0x17e)][_0x2c1857(0x170)][_0x2c1857(0x17b)](_0x2c1857(0x167)),_0x44d510=this[_0x2c1857(0x185)](this[_0x2c1857(0x17e)][_0x2c1857(0x17c)][_0x2c1857(0x17b)](_0x2c1857(0x18e)));_0x44d510&&_0x34f06[_0x2c1857(0x18b)](_0x2c1857(0x173),_0x44d510);}[_0x55c848(0x185)](_0x42ec3a){const _0x46182d=_0x55c848;switch(_0x42ec3a){case _0x46182d(0x175):return{'allowedActions':_0x46182d(0x177),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x46182d(0x16e):return{'allowedActions':[_0x46182d(0x189),_0x46182d(0x16a)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x46182d(0x176):return null;default:return null;}}}function _0x2d93(){const _0x5e0fad=['9RIrjGg','ClipboardPipeline','get','config','has','editor','requires','delete','CommentsRepository','_removeMarkersWithoutThreads','keys','contentInsertion','_mapCommentsCopyConfigToRegisterConfiguration','content','110oIRhbe','_registerMarkerInClipboardPipeline','cut','10428296USnaKa','_registerMarkerToCopy','listenTo','highest','comments.copyMarkers','156318NCvhWI','ClipboardMarkersUtils','2808572ECeJnz','define','dragstart','192537rKJzCM','split','181790BeOfWe','default','afterInit','plugins','5354811OerYfA','108300ZLEMoy','comment','hasCommentThread','always','never','all','markers'];_0x2d93=function(){return _0x5e0fad;};return _0x2d93();}